{"version":3,"sources":["webpack:///./src/components/DocsTree.module.css","webpack:///./src/components/Header.module.css","webpack:///./src/components/PageHeadings.module.css","webpack:///./src/components/DocsTree.js","webpack:///./src/components/PageHeadings.js","webpack:///./src/templates/docs.js","webpack:///./src/images/Logo.png","webpack:///./src/templates/docs.module.css","webpack:///./src/components/Header.js","webpack:///./node_modules/gatsby/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack:///./node_modules/react-simple-tree-menu/dist/main.js"],"names":["module","exports","DocsTree","pathname","data","useStaticQuery","docs","key","label","slug","nodes","order","initOpenKeys","i","allMarkdownRemark","edges","length","node","keys","frontmatter","relativeFilePath","split","slice","obj","j","title","fields","equalsI","releaseNotesSlug","nodesToArray","mapNode","Object","map","k","sort","a","b","buildKeys","activeKey","useState","openKeys","setOpenKeys","window","className","styles","trees","onClickItem","item","navigate","toLowerCase","pos","findIndex","openNodes","String","prototype","compare","this","PageHeadings","props","tableOfContents","showHeadings","searchTerm","setSearchTerm","searchResults","filter","version","indexOf","style","display","marginBottom","ul","id","onThisPage","hrStyles","type","name","value","onChange","e","target","placeholder","width","border","padding","textIndent","marginTop","versions","href","join","dangerouslySetInnerHTML","__html","DocPage","doc","location","yamlReleases","pageContext","docYamlPages","page","markdownRemark","locationPathname","html","textLeft","frontmatterTitle","download","color","wordBreak","fontSize","releaseContent","releases","aria-label","aria-hidden","height","viewBox","fillRule","d","published","other","listStyleType","files","includes","textCenter","Helmet","http-equiv","content","property","logo","Header","boxShadow","rowStyle","docContent","SheetkraftFooter","onScroll","bind","componentDidMount","addEventListener","componentWillUnmount","removeEventListener","x","document","getElementsByClassName","y","pageYOffset","classList","remove","add","render","samePage","skAdaptiveHeader","collapseOnSelect","expand","variant","Brand","to","sklogo","src","alt","sklogosticky","Toggle","aria-controls","Collapse","activeClassName","React","Component","_assertThisInitialized","self","ReferenceError","t","r","n","o","l","call","m","c","defineProperty","enumerable","get","Symbol","toStringTag","__esModule","create","default","hasOwnProperty","p","s","Function","constructor","toString","webpackPolyfill","deprecate","paths","children","u","_a","f","setPrototypeOf","__proto__","Array","_l","assign","arguments","apply","console","log","state","initialOpenNodes","initialActiveKey","onSearch","debounceTime","setState","toggleNode","concat","generateItems","locale","matchSearch","active","onClick","hasSearch","defaultChildren","search","items","defaultProps","Math","max","min","v","h","TypeError","g","O","setTimeout","w","leading","maxWait","trailing","cancel","clearTimeout","flush","Date","now","parseInt","NaN","valueOf","replace","test","_i","getOwnPropertySymbols","parent","level","isArray","reduce","index","nodeName","entries","trim","_","S","T","P","M","hasNodes","isOpen","A","splice","size","push","ArrayBuffer","resolve","RegExp","exec","IE_PROTO","propertyIsEnumerable","nodeType","Buffer","isBuffer","isTypedArray","process","require","types","binding","set","cache","serializer","JSON","stringify","has","strategy","strategies","variadic","monadic","on","createElement","role","cursor","background","borderBottom","position","left","Fragment","paddingLeft","borderTop"],"mappings":"iFACAA,EAAOC,QAAU,CAAC,MAAQ,kC,8CCA1BD,EAAOC,QAAU,CAAC,iBAAmB,yCAAyC,OAAS,+BAA+B,YAAc,sC,uBCApID,EAAOC,QAAU,CAAC,GAAK,iCAAiC,WAAa,yCAAyC,SAAW,yC,gNC4C1G,SAASC,EAAT,GAMX,IAN4C,IAAbC,EAAY,EAAZA,SACzBC,EAAOC,yBAzCN,aA2CHC,EAAO,CAAEC,IAAK,OAAQC,MAAO,OAAQC,KAAM,SAAUC,MAAO,GAAIC,MAAO,GACvEC,EAAe,GAEVC,EAAI,EAAGA,EAAIT,EAAKU,kBAAkBC,MAAMC,OAAQH,IAAK,CAC1D,IAAII,EAAOb,EAAKU,kBAAkBC,MAAMF,GAAGI,KACvCC,EAAOD,EAAKE,YAAYC,iBAAiBC,MAAM,KACnDH,EAAOA,EAAKI,MAAM,EAAGJ,EAAKF,OAAS,GAGnC,IAFA,IAAIO,EAAMjB,EACNkB,EAAI,EACDA,EAAIN,EAAKF,OAAQQ,IAAK,CACzB,IAAIjB,EAAMW,EAAKM,GACO,MAAlBD,EAAIb,MAAMH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O,CACrChO,MAAO,CACLqO,SAAU,WACVC,KAAM,EAAI,KAAOtQ,EAAI,MACrB8C,MAAO,OACP8B,OAAQ,SAET0D,EAAEY,QAAQ8G,cAActH,EAAG,CAC5BqH,GAAIrR,KACDqG,IAGPoD,EAAEoD,gBAAkB,SAAU5I,GAC5B,IAAIwF,EAAIxF,EAAE6I,OACNpD,EAAIzF,EAAE8I,MACV,OAAOnD,EAAEY,QAAQ8G,cAAc1H,EAAEY,QAAQqH,SAAU,KAAMpI,GAAKG,EAAEY,QAAQ8G,cAAc,QAAS,CAC7FhO,MAAO,CACLgB,QAAS,YACTD,OAAQ,OACRD,MAAO,QAET,aAAc,kBACdP,KAAM,SACNM,YAAa,kBACbH,SAAU,SAAkBC,GAC1B,IAAIyF,EAAIzF,EAAEC,OAAOH,MACjB0F,GAAKA,EAAEC,MAEPE,EAAEY,QAAQ8G,cAAc,KAAM,CAChChO,MAAO,CACLkD,cAAe,OACfsL,YAAa,EACbC,UAAW,mBAEZrI,EAAEvI,IAAInB","file":"component---src-templates-docs-js-5fbab73d31e1cf2c1afb.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"trees\":\"DocsTree-module--trees--3ZYY7\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"skAdaptiveHeader\":\"Header-module--skAdaptiveHeader--33rgg\",\"sklogo\":\"Header-module--sklogo--3S59-\",\"versionLink\":\"Header-module--versionLink--3_89w\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"ul\":\"PageHeadings-module--ul--2nb-j\",\"onThisPage\":\"PageHeadings-module--onThisPage--1ZXq0\",\"hrStyles\":\"PageHeadings-module--hrStyles--3Yo3J\"};","import React, { useState } from \"react\"\r\nimport { useStaticQuery, navigate, graphql } from \"gatsby\"\r\nimport TreeMenu from 'react-simple-tree-menu'\r\nimport styles from \"./DocsTree.module.css\"\r\n\r\nconst query = graphql`\r\nquery DocsTreeQuery {\r\n allMarkdownRemark(filter: {fields: {slug: {regex: \"^/docs/\"}}, frontmatter: {draft: {ne: true}}}) {\r\n edges {\r\n node {\r\n frontmatter {\r\n title\r\n published(formatString: \"MMMM DD , YYYY\")\r\n relativeFilePath\r\n order\r\n }\r\n fields {\r\n slug\r\n }\r\n }\r\n }\r\n }\r\n \r\n}\r\n`;\r\n\r\nfunction nodesToArray(mapNode) {\r\n \r\n let nodes = Object.keys(mapNode.nodes).map(k => mapNode.nodes[k]);\r\n nodes.sort((a, b) => a.order - b.order);\r\n mapNode.nodes = nodes;\r\n for (let i = 0; i < nodes.length; i++) {\r\n nodesToArray(nodes[i]);\r\n }\r\n}\r\nfunction buildKeys(keys) {\r\n for (let i = 1; i < keys.length; i++) {\r\n keys[i] = keys[i - 1] + \"/\" + keys[i];\r\n }\r\n}\r\n\r\nString.prototype.equalsI = function (compare) {\r\n return this.toLowerCase() === compare.toLowerCase();\r\n}\r\n\r\nexport default function DocsTree({ pathname }) {\r\n const data = useStaticQuery(query);\r\n //console.log(data.allIndexYaml.edges.length)\r\n let docs = { key: \"Docs\", label: \"Docs\", slug: \"/Docs/\", nodes: {}, order: 0 };\r\n let initOpenKeys = [];\r\n \r\n for (let i = 0; i < data.allMarkdownRemark.edges.length; i++) {\r\n let node = data.allMarkdownRemark.edges[i].node;\r\n let keys = node.frontmatter.relativeFilePath.split('/');\r\n keys = keys.slice(1, keys.length - 1); // first item is expected to be docs and last item index\r\n let obj = docs;\r\n let j = 0;\r\n for (; j < keys.length; j++) {\r\n let key = keys[j];\r\n if (obj.nodes[key] == null)\r\n obj.nodes[key] = { key, label: key, slug: \"\", nodes: {}, order: 0 };\r\n obj = obj.nodes[key];\r\n }\r\n obj.label = node.frontmatter.title;\r\n obj.slug = node.fields.slug;\r\n obj.order = node.frontmatter.order || 0;\r\n if (obj.slug.equalsI(pathname))\r\n initOpenKeys = keys;\r\n }\r\n\r\n const releaseNotesKey = \"release-notes\";\r\n const releaseNotesSlug = docs.slug + releaseNotesKey + \"/\";\r\n docs.nodes[releaseNotesKey] = { key: releaseNotesKey, label: \"Release Notes\", slug: releaseNotesSlug, nodes: {}, order: 0 };\r\n \r\n nodesToArray(docs);\r\n buildKeys(initOpenKeys);\r\n let activeKey = (pathname.equalsI(releaseNotesSlug)) ? releaseNotesKey : initOpenKeys[initOpenKeys.length - 1]; \r\n\r\n let [openKeys, setOpenKeys] = useState(initOpenKeys);\r\n let onClickItem = item => {\r\n // console.log(item.key, open);\r\n if (!pathname.equalsI(item.slug) && item.slug) {\r\n navigate(item.slug.toLowerCase());\r\n }\r\n else {\r\n let pos = openKeys.findIndex(k => k === item.key);\r\n if (pos >= 0)\r\n setOpenKeys(openKeys.slice(0, pos))\r\n else\r\n setOpenKeys([...openKeys, item.key]);\r\n }\r\n }\r\n if (typeof window === 'undefined') return null;\r\n \r\n return (\r\n
Important Note:
\r\nPatches for versions 2.9 and above must be applied using ApplyPatch.ps1. If you have a version lower than 2.9.3, download this file, unblock it and place it in the same folder as Web.config.
\r\n\r\nTo run the script, open a Powershell window with administrative rights. Go to the directory containing the script. Type .\\ApplyPatch.ps1 and hit Enter. Follow any on-screen instructions.
\r\n\r\nIf an error is encountered when attempting to login from the addin, paste dll files from the Addin folder in the full download into %localappdata%\\SheetKraft. Be careful not to replace config files.
\r\n\r\nVersions 2.10 and beyond require the .NET Framework 4.7.2 for all components including the addin. To check if this is installed open a Powershell window and run the command (Get-ItemProperty \"HKLM:SOFTWARE\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full\").Release -ge 461808
\r\n\r\nReleased on {releases.node.published}
\r\nManual Download links (if script based download fails)
\r\n