@imperium/layout 13.0.8-alpha.0 → 13.0.9-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"withLayout.js","sources":["../../../src/layout/withLayout.tsx"],"sourcesContent":["import type {Hoc, ImperiumClient} from '@imperium/client';\nimport debug from 'debug';\nimport type {ComponentType} from 'react';\nimport {DataHooks} from '../datahooks/DataHooks';\nimport {PermissionHooks} from '../datahooks/PermissionHooks';\nimport {Permissions} from '../datahooks/Permissions';\nimport {isImperiumLayoutClientModule} from '../types';\nimport {Layout} from './components/Layout';\nimport type {LayoutData} from './types';\n\nconst d = debug('imperium.layout.withLayout');\n\nconst initialLayoutModuleData: Required<LayoutData> = {\n\tdataHooks: [],\n\tpermissionSelectorHooks: [],\n\tpermissions: [],\n\tprimaryMenu: [],\n\tstatusbar: [],\n\tsecondaryMenu: [],\n\tfooter: [],\n};\n\nexport function withLayout(client: ImperiumClient): Hoc {\n\tconst layoutModuleData = client.modules.reduce((memo, module) => {\n\t\tif (isImperiumLayoutClientModule(module)) {\n\t\t\treturn {\n\t\t\t\tdataHooks: [...(memo.dataHooks || []), ...(module.layout.dataHooks || [])],\n\t\t\t\tpermissionSelectorHooks: [...(memo.permissionSelectorHooks || []), ...(module.layout.permissionSelectorHooks || [])],\n\t\t\t\tpermissions: [...(memo.permissions || []), ...(module.layout.permissions || [])],\n\t\t\t\tprimaryMenu: [...(memo.primaryMenu || []), ...(module.layout.primaryMenu || [])],\n\t\t\t\tstatusbar: [...(memo.statusbar || []), ...(module.layout.statusbar || [])],\n\t\t\t\tsecondaryMenu: [...(memo.secondaryMenu || []), ...(module.layout.secondaryMenu || [])],\n\t\t\t\tfooter: [...(memo.footer || []), ...(module.layout.footer || [])],\n\t\t\t} as Required<LayoutData>;\n\t\t}\n\t\treturn memo;\n\t}, initialLayoutModuleData);\n\td('Layout items processed', layoutModuleData);\n\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treturn function layoutHoc(Wrapped: ComponentType<any>) {\n\t\tconst displayName = Wrapped.displayName || Wrapped.name || '';\n\n\t\tfunction WithLayout(props: unknown) {\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t<Layout {...layoutModuleData}>\n\t\t\t\t\t\t<Wrapped {...props} layout={layoutModuleData} />\n\t\t\t\t\t</Layout>\n\t\t\t\t\t<DataHooks dataHooks={layoutModuleData.dataHooks} />\n\t\t\t\t\t<Permissions permissions={layoutModuleData.permissions} />\n\t\t\t\t\t<PermissionHooks permissionHooks={layoutModuleData.permissionSelectorHooks} />\n\t\t\t\t</>\n\t\t\t);\n\t\t}\n\n\t\tWithLayout.displayName = `withLayout(${displayName})`;\n\n\t\treturn WithLayout;\n\t};\n}\n"],"names":[],"mappings":";;;;;;;;AAUA,MAAM,CAAA,GAAI,MAAM,4BAA4B,CAAA,CAAA;AAE5C,MAAM,uBAAgD,GAAA;AAAA,EACrD,WAAW,EAAC;AAAA,EACZ,yBAAyB,EAAC;AAAA,EAC1B,aAAa,EAAC;AAAA,EACd,aAAa,EAAC;AAAA,EACd,WAAW,EAAC;AAAA,EACZ,eAAe,EAAC;AAAA,EAChB,QAAQ,EAAC;AACV,CAAA,CAAA;AAEO,SAAA,UAAA,CAAoB,MAA6B,EAAA;AACvD,EAAA,MAAM,mBAAmB,MAAO,CAAA,OAAA,CAAQ,MAAO,CAAA,CAAC,MAAM,MAAW,KAAA;AAChE,IAAI,IAAA,4BAAA,CAA6B,MAAM,CAAG,EAAA;AACzC,MAAO,OAAA;AAAA,QACN,SAAW,EAAA,CAAC,GAAI,IAAA,CAAK,SAAa,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,SAAa,IAAA,EAAG,CAAA;AAAA,QACzE,uBAAyB,EAAA,CAAC,GAAI,IAAA,CAAK,uBAA2B,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,uBAA2B,IAAA,EAAG,CAAA;AAAA,QACnH,WAAa,EAAA,CAAC,GAAI,IAAA,CAAK,WAAe,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,WAAe,IAAA,EAAG,CAAA;AAAA,QAC/E,WAAa,EAAA,CAAC,GAAI,IAAA,CAAK,WAAe,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,WAAe,IAAA,EAAG,CAAA;AAAA,QAC/E,SAAW,EAAA,CAAC,GAAI,IAAA,CAAK,SAAa,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,SAAa,IAAA,EAAG,CAAA;AAAA,QACzE,aAAe,EAAA,CAAC,GAAI,IAAA,CAAK,aAAiB,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,aAAiB,IAAA,EAAG,CAAA;AAAA,QACrF,MAAQ,EAAA,CAAC,GAAI,IAAA,CAAK,MAAU,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,MAAU,IAAA,EAAG,CAAA;AAAA,OACjE,CAAA;AAAA,KACD;AACA,IAAO,OAAA,IAAA,CAAA;AAAA,KACL,uBAAuB,CAAA,CAAA;AAC1B,EAAA,CAAA,CAAE,0BAA0B,gBAAgB,CAAA,CAAA;AAG5C,EAAA,OAAO,mBAAmB,OAA6B,EAAA;AACtD,IAAA,MAAM,WAAc,GAAA,OAAA,CAAQ,WAAe,IAAA,OAAA,CAAQ,IAAQ,IAAA,EAAA,CAAA;AAE3D,IAAA,SAAA,UAAA,CAAoB,KAAgB,EAAA;AACnC,MAAA,iFAEG,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA;AAAA,QAAW,GAAA,gBAAA;AAAA,OAAA,kBACV,KAAA,CAAA,aAAA,CAAA,OAAA,EAAA;AAAA,QAAY,GAAA,KAAA;AAAA,QAAO,MAAQ,EAAA,gBAAA;AAAA,OAAkB,CAC/C,mBACC,KAAA,CAAA,aAAA,CAAA,SAAA,EAAA;AAAA,QAAU,WAAW,gBAAiB,CAAA,SAAA;AAAA,OAAW,mBACjD,KAAA,CAAA,aAAA,CAAA,WAAA,EAAA;AAAA,QAAY,aAAa,gBAAiB,CAAA,WAAA;AAAA,OAAa,mBACvD,KAAA,CAAA,aAAA,CAAA,eAAA,EAAA;AAAA,QAAgB,iBAAiB,gBAAiB,CAAA,uBAAA;AAAA,OAAyB,CAC7E,CAAA,CAAA;AAAA,KAEF;AAEA,IAAA,UAAA,CAAW,cAAc,CAAc,WAAA,EAAA,WAAA,CAAA,CAAA,CAAA,CAAA;AAEvC,IAAO,OAAA,UAAA,CAAA;AAAA,GACR,CAAA;AACD;;;;"}
1
+ {"version":3,"file":"withLayout.js","sources":["../../../src/layout/withLayout.tsx"],"sourcesContent":["import type {Hoc, ImperiumClient} from '@imperium/client';\nimport debug from 'debug';\nimport type {ComponentType} from 'react';\nimport {DataHooks} from '../datahooks/DataHooks';\nimport {PermissionHooks} from '../datahooks/PermissionHooks';\nimport {Permissions} from '../datahooks/Permissions';\nimport {isImperiumLayoutClientModule} from '../types';\nimport {Layout} from './components/Layout';\nimport type {LayoutData} from './types';\n\nconst d = debug('imperium.layout.withLayout');\n\nconst initialLayoutModuleData: Required<LayoutData> = {\n\tdataHooks: [],\n\tpermissionSelectorHooks: [],\n\tpermissions: [],\n\tprimaryMenu: [],\n\tstatusbar: [],\n\tsecondaryMenu: [],\n\tfooter: [],\n};\n\nexport function withLayout(client: ImperiumClient): Hoc {\n\tconst layoutModuleData = client.modules.reduce((memo, module) => {\n\t\tif (isImperiumLayoutClientModule(module)) {\n\t\t\treturn {\n\t\t\t\tdataHooks: [...(memo.dataHooks || []), ...(module.layout.dataHooks || [])],\n\t\t\t\tpermissionSelectorHooks: [...(memo.permissionSelectorHooks || []), ...(module.layout.permissionSelectorHooks || [])],\n\t\t\t\tpermissions: [...(memo.permissions || []), ...(module.layout.permissions || [])],\n\t\t\t\tprimaryMenu: [...(memo.primaryMenu || []), ...(module.layout.primaryMenu || [])],\n\t\t\t\tstatusbar: [...(memo.statusbar || []), ...(module.layout.statusbar || [])],\n\t\t\t\tsecondaryMenu: [...(memo.secondaryMenu || []), ...(module.layout.secondaryMenu || [])],\n\t\t\t\tfooter: [...(memo.footer || []), ...(module.layout.footer || [])],\n\t\t\t} as Required<LayoutData>;\n\t\t}\n\t\treturn memo;\n\t}, initialLayoutModuleData);\n\td('Layout items processed', layoutModuleData);\n\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treturn function layoutHoc(Wrapped: ComponentType<any>) {\n\t\tconst displayName = Wrapped.displayName || Wrapped.name || '';\n\n\t\tfunction WithLayout(props: Record<string, unknown>) {\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t<Layout {...layoutModuleData}>\n\t\t\t\t\t\t<Wrapped {...props} layout={layoutModuleData} />\n\t\t\t\t\t</Layout>\n\t\t\t\t\t<DataHooks dataHooks={layoutModuleData.dataHooks} />\n\t\t\t\t\t<Permissions permissions={layoutModuleData.permissions} />\n\t\t\t\t\t<PermissionHooks permissionHooks={layoutModuleData.permissionSelectorHooks} />\n\t\t\t\t</>\n\t\t\t);\n\t\t}\n\n\t\tWithLayout.displayName = `withLayout(${displayName})`;\n\n\t\treturn WithLayout;\n\t};\n}\n"],"names":[],"mappings":";;;;;;;;AAUA,MAAM,CAAA,GAAI,MAAM,4BAA4B,CAAA,CAAA;AAE5C,MAAM,uBAAgD,GAAA;AAAA,EACrD,WAAW,EAAC;AAAA,EACZ,yBAAyB,EAAC;AAAA,EAC1B,aAAa,EAAC;AAAA,EACd,aAAa,EAAC;AAAA,EACd,WAAW,EAAC;AAAA,EACZ,eAAe,EAAC;AAAA,EAChB,QAAQ,EAAC;AACV,CAAA,CAAA;AAEO,SAAA,UAAA,CAAoB,MAA6B,EAAA;AACvD,EAAA,MAAM,mBAAmB,MAAO,CAAA,OAAA,CAAQ,MAAO,CAAA,CAAC,MAAM,MAAW,KAAA;AAChE,IAAI,IAAA,4BAAA,CAA6B,MAAM,CAAG,EAAA;AACzC,MAAO,OAAA;AAAA,QACN,SAAW,EAAA,CAAC,GAAI,IAAA,CAAK,SAAa,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,SAAa,IAAA,EAAG,CAAA;AAAA,QACzE,uBAAyB,EAAA,CAAC,GAAI,IAAA,CAAK,uBAA2B,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,uBAA2B,IAAA,EAAG,CAAA;AAAA,QACnH,WAAa,EAAA,CAAC,GAAI,IAAA,CAAK,WAAe,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,WAAe,IAAA,EAAG,CAAA;AAAA,QAC/E,WAAa,EAAA,CAAC,GAAI,IAAA,CAAK,WAAe,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,WAAe,IAAA,EAAG,CAAA;AAAA,QAC/E,SAAW,EAAA,CAAC,GAAI,IAAA,CAAK,SAAa,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,SAAa,IAAA,EAAG,CAAA;AAAA,QACzE,aAAe,EAAA,CAAC,GAAI,IAAA,CAAK,aAAiB,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,aAAiB,IAAA,EAAG,CAAA;AAAA,QACrF,MAAQ,EAAA,CAAC,GAAI,IAAA,CAAK,MAAU,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,MAAU,IAAA,EAAG,CAAA;AAAA,OACjE,CAAA;AAAA,KACD;AACA,IAAO,OAAA,IAAA,CAAA;AAAA,KACL,uBAAuB,CAAA,CAAA;AAC1B,EAAA,CAAA,CAAE,0BAA0B,gBAAgB,CAAA,CAAA;AAG5C,EAAA,OAAO,mBAAmB,OAA6B,EAAA;AACtD,IAAA,MAAM,WAAc,GAAA,OAAA,CAAQ,WAAe,IAAA,OAAA,CAAQ,IAAQ,IAAA,EAAA,CAAA;AAE3D,IAAA,SAAA,UAAA,CAAoB,KAAgC,EAAA;AACnD,MAAA,iFAEG,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA;AAAA,QAAW,GAAA,gBAAA;AAAA,OAAA,kBACV,KAAA,CAAA,aAAA,CAAA,OAAA,EAAA;AAAA,QAAY,GAAA,KAAA;AAAA,QAAO,MAAQ,EAAA,gBAAA;AAAA,OAAkB,CAC/C,mBACC,KAAA,CAAA,aAAA,CAAA,SAAA,EAAA;AAAA,QAAU,WAAW,gBAAiB,CAAA,SAAA;AAAA,OAAW,mBACjD,KAAA,CAAA,aAAA,CAAA,WAAA,EAAA;AAAA,QAAY,aAAa,gBAAiB,CAAA,WAAA;AAAA,OAAa,mBACvD,KAAA,CAAA,aAAA,CAAA,eAAA,EAAA;AAAA,QAAgB,iBAAiB,gBAAiB,CAAA,uBAAA;AAAA,OAAyB,CAC7E,CAAA,CAAA;AAAA,KAEF;AAEA,IAAA,UAAA,CAAW,cAAc,CAAc,WAAA,EAAA,WAAA,CAAA,CAAA,CAAA,CAAA;AAEvC,IAAO,OAAA,UAAA,CAAA;AAAA,GACR,CAAA;AACD;;;;"}
package/dist/stats.html CHANGED
@@ -2669,7 +2669,7 @@ var drawChart = (function (exports) {
2669
2669
  </script>
2670
2670
  <script>
2671
2671
  /*<!--*/
2672
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src/index.ts","uid":"7ef5-1"}]},{"name":"state.js","children":[{"name":"src/state.ts","uid":"7ef5-3"}]},{"name":"content/dividerSidebarItem.js","children":[{"name":"src/content/dividerSidebarItem.ts","uid":"7ef5-5"}]},{"name":"layout/withLayout.js","children":[{"name":"src/layout/withLayout.tsx","uid":"7ef5-7"}]},{"name":"content/createPages.js","children":[{"name":"src/content/createPages.tsx","uid":"7ef5-9"}]},{"name":"types.js","children":[{"name":"src/types.ts","uid":"7ef5-11"}]},{"name":"content/types.js","children":[{"name":"src/content/types.ts","uid":"7ef5-13"}]},{"name":"datahooks/DataHooks.js","children":[{"name":"src/datahooks/DataHooks.tsx","uid":"7ef5-15"}]},{"name":"datahooks/PermissionHooks.js","children":[{"name":"src/datahooks/PermissionHooks.tsx","uid":"7ef5-17"}]},{"name":"datahooks/Permissions.js","children":[{"name":"src/datahooks/Permissions.tsx","uid":"7ef5-19"}]},{"name":"layout/components/Layout.js","children":[{"name":"src/layout/components/Layout.tsx","uid":"7ef5-21"}]},{"name":"content/components/ContentComponent.js","children":[{"name":"src/content/components/ContentComponent.tsx","uid":"7ef5-23"}]},{"name":"datahooks/ExecutePermissionHook.js","children":[{"name":"src/datahooks/ExecutePermissionHook.tsx","uid":"7ef5-25"}]},{"name":"datahooks/ExecuteDataHook.js","children":[{"name":"src/datahooks/ExecuteDataHook.tsx","uid":"7ef5-27"}]},{"name":"utils.js","children":[{"name":"src/utils.ts","uid":"7ef5-29"}]},{"name":"layout/moveItems.js","children":[{"name":"src/layout/moveItems.ts","uid":"7ef5-31"}]},{"name":"content/components/styles.module.css.js","children":[{"name":"src/content/components/styles.module.css","uid":"7ef5-33"}]},{"name":"layout/components/styles.module.css.js","children":[{"name":"src/layout/components/styles.module.css","uid":"7ef5-35"}]},{"name":"content/hooks/useBuildContentData.js","children":[{"name":"src/content/hooks/useBuildContentData.ts","uid":"7ef5-37"}]},{"name":"content/components/Header.js","children":[{"name":"src/content/components/Header.tsx","uid":"7ef5-39"}]},{"name":"content/components/SidebarItemWrapper.js","children":[{"name":"src/content/components/SidebarItemWrapper.tsx","uid":"7ef5-41"}]},{"name":"layout/components/LayoutItemBar.js","children":[{"name":"src/layout/components/LayoutItemBar.tsx","uid":"7ef5-43"}]},{"name":"layout/components/SecondaryMenuToggleItem.js","children":[{"name":"src/layout/components/SecondaryMenuToggleItem.tsx","uid":"7ef5-45"}]},{"name":"layout/types.js","children":[{"name":"src/layout/types.ts","uid":"7ef5-47"}]},{"name":"hooks/useBuildData.js","children":[{"name":"src/hooks/useBuildData.ts","uid":"7ef5-49"}]},{"name":"layout/utils.js","children":[{"name":"src/layout/utils.tsx","uid":"7ef5-51"}]},{"name":"content/components/ActionFormSidebarItemComponent.js","children":[{"name":"src/content/components/ActionFormSidebarItemComponent.tsx","uid":"7ef5-53"}]},{"name":"content/components/CustomSidebarItemComponent.js","children":[{"name":"src/content/components/CustomSidebarItemComponent.tsx","uid":"7ef5-55"}]},{"name":"content/components/PlainSidebarItem.js","children":[{"name":"src/content/components/PlainSidebarItem.tsx","uid":"7ef5-57"}]},{"name":"content/components/ActionSidebarItemComponent.js","children":[{"name":"src/content/components/ActionSidebarItemComponent.tsx","uid":"7ef5-59"}]},{"name":"layout/components/LayoutItemWrapper.js","children":[{"name":"src/layout/components/LayoutItemWrapper.tsx","uid":"7ef5-61"}]},{"name":"commonItems.js","children":[{"name":"src/commonItems.ts","uid":"7ef5-63"}]},{"name":"hooks/useIsActiveRoute.js","children":[{"name":"src/hooks/useIsActiveRoute.ts","uid":"7ef5-65"}]},{"name":"hooks/useSelectPermission.js","children":[{"name":"src/hooks/useSelectPermission.ts","uid":"7ef5-67"}]},{"name":"hooks/useSelectState.js","children":[{"name":"src/hooks/useSelectState.ts","uid":"7ef5-69"}]},{"name":"content/utils.js","children":[{"name":"src/content/utils.tsx","uid":"7ef5-71"}]},{"name":"content/components/ActionForm.js","children":[{"name":"src/content/components/ActionForm.tsx","uid":"7ef5-73"}]},{"name":"layout/components/CustomLayoutItemComponent.js","children":[{"name":"src/layout/components/CustomLayoutItemComponent.tsx","uid":"7ef5-75"}]},{"name":"layout/components/DropdownItem.js","children":[{"name":"src/layout/components/DropdownItem.tsx","uid":"7ef5-77"}]},{"name":"layout/components/MenuItem.js","children":[{"name":"src/layout/components/MenuItem.tsx","uid":"7ef5-79"}]},{"name":"layout/components/PlainItem.js","children":[{"name":"src/layout/components/PlainItem.tsx","uid":"7ef5-81"}]},{"name":"external/style-inject/dist/style-inject.es.js","children":[{"name":"home/runner/work/imperium/imperium/node_modules/style-inject/dist/style-inject.es.js","uid":"7ef5-83"}]}],"isRoot":true},"nodeParts":{"7ef5-1":{"renderedLength":144,"gzipLength":131,"brotliLength":106,"mainUid":"7ef5-0"},"7ef5-3":{"renderedLength":489,"gzipLength":250,"brotliLength":217,"mainUid":"7ef5-2"},"7ef5-5":{"renderedLength":59,"gzipLength":73,"brotliLength":63,"mainUid":"7ef5-4"},"7ef5-7":{"renderedLength":1955,"gzipLength":562,"brotliLength":488,"mainUid":"7ef5-6"},"7ef5-9":{"renderedLength":650,"gzipLength":301,"brotliLength":268,"mainUid":"7ef5-8"},"7ef5-11":{"renderedLength":121,"gzipLength":111,"brotliLength":90,"mainUid":"7ef5-10"},"7ef5-13":{"renderedLength":388,"gzipLength":167,"brotliLength":111,"mainUid":"7ef5-12"},"7ef5-15":{"renderedLength":1058,"gzipLength":390,"brotliLength":330,"mainUid":"7ef5-14"},"7ef5-17":{"renderedLength":339,"gzipLength":202,"brotliLength":164,"mainUid":"7ef5-16"},"7ef5-19":{"renderedLength":808,"gzipLength":351,"brotliLength":306,"mainUid":"7ef5-18"},"7ef5-21":{"renderedLength":2512,"gzipLength":751,"brotliLength":636,"mainUid":"7ef5-20"},"7ef5-23":{"renderedLength":3376,"gzipLength":879,"brotliLength":768,"mainUid":"7ef5-22"},"7ef5-25":{"renderedLength":345,"gzipLength":207,"brotliLength":172,"mainUid":"7ef5-24"},"7ef5-27":{"renderedLength":123,"gzipLength":111,"brotliLength":93,"mainUid":"7ef5-26"},"7ef5-29":{"renderedLength":145,"gzipLength":117,"brotliLength":116,"mainUid":"7ef5-28"},"7ef5-31":{"renderedLength":1401,"gzipLength":376,"brotliLength":347,"mainUid":"7ef5-30"},"7ef5-33":{"renderedLength":2119,"gzipLength":680,"brotliLength":565,"mainUid":"7ef5-32"},"7ef5-35":{"renderedLength":3176,"gzipLength":928,"brotliLength":762,"mainUid":"7ef5-34"},"7ef5-37":{"renderedLength":257,"gzipLength":158,"brotliLength":122,"mainUid":"7ef5-36"},"7ef5-39":{"renderedLength":1042,"gzipLength":377,"brotliLength":323,"mainUid":"7ef5-38"},"7ef5-41":{"renderedLength":1189,"gzipLength":399,"brotliLength":314,"mainUid":"7ef5-40"},"7ef5-43":{"renderedLength":726,"gzipLength":294,"brotliLength":252,"mainUid":"7ef5-42"},"7ef5-45":{"renderedLength":356,"gzipLength":233,"brotliLength":176,"mainUid":"7ef5-44"},"7ef5-47":{"renderedLength":191,"gzipLength":113,"brotliLength":89,"mainUid":"7ef5-46"},"7ef5-49":{"renderedLength":799,"gzipLength":370,"brotliLength":330,"mainUid":"7ef5-48"},"7ef5-51":{"renderedLength":915,"gzipLength":393,"brotliLength":328,"mainUid":"7ef5-50"},"7ef5-53":{"renderedLength":663,"gzipLength":346,"brotliLength":277,"mainUid":"7ef5-52"},"7ef5-55":{"renderedLength":83,"gzipLength":97,"brotliLength":66,"mainUid":"7ef5-54"},"7ef5-57":{"renderedLength":344,"gzipLength":236,"brotliLength":186,"mainUid":"7ef5-56"},"7ef5-59":{"renderedLength":362,"gzipLength":246,"brotliLength":185,"mainUid":"7ef5-58"},"7ef5-61":{"renderedLength":1503,"gzipLength":487,"brotliLength":399,"mainUid":"7ef5-60"},"7ef5-63":{"renderedLength":203,"gzipLength":136,"brotliLength":97,"mainUid":"7ef5-62"},"7ef5-65":{"renderedLength":514,"gzipLength":227,"brotliLength":187,"mainUid":"7ef5-64"},"7ef5-67":{"renderedLength":294,"gzipLength":155,"brotliLength":114,"mainUid":"7ef5-66"},"7ef5-69":{"renderedLength":326,"gzipLength":176,"brotliLength":141,"mainUid":"7ef5-68"},"7ef5-71":{"renderedLength":628,"gzipLength":259,"brotliLength":219,"mainUid":"7ef5-70"},"7ef5-73":{"renderedLength":1667,"gzipLength":624,"brotliLength":519,"mainUid":"7ef5-72"},"7ef5-75":{"renderedLength":82,"gzipLength":96,"brotliLength":66,"mainUid":"7ef5-74"},"7ef5-77":{"renderedLength":1179,"gzipLength":450,"brotliLength":362,"mainUid":"7ef5-76"},"7ef5-79":{"renderedLength":252,"gzipLength":157,"brotliLength":116,"mainUid":"7ef5-78"},"7ef5-81":{"renderedLength":379,"gzipLength":264,"brotliLength":224,"mainUid":"7ef5-80"},"7ef5-83":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"7ef5-82"}},"nodeMetas":{"7ef5-0":{"id":"/src/index.ts","moduleParts":{"index.js":"7ef5-1"},"imported":[{"uid":"7ef5-6"},{"uid":"7ef5-2"},{"uid":"7ef5-8"},{"uid":"7ef5-4"}],"importedBy":[],"isEntry":true},"7ef5-2":{"id":"/src/state.ts","moduleParts":{"state.js":"7ef5-3"},"imported":[{"uid":"7ef5-86"},{"uid":"7ef5-87"}],"importedBy":[{"uid":"7ef5-0"},{"uid":"7ef5-18"},{"uid":"7ef5-22"},{"uid":"7ef5-24"},{"uid":"7ef5-48"}]},"7ef5-4":{"id":"/src/content/dividerSidebarItem.ts","moduleParts":{"content/dividerSidebarItem.js":"7ef5-5"},"imported":[],"importedBy":[{"uid":"7ef5-0"}]},"7ef5-6":{"id":"/src/layout/withLayout.tsx","moduleParts":{"layout/withLayout.js":"7ef5-7"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-85"},{"uid":"7ef5-14"},{"uid":"7ef5-16"},{"uid":"7ef5-18"},{"uid":"7ef5-10"},{"uid":"7ef5-20"}],"importedBy":[{"uid":"7ef5-0"}]},"7ef5-8":{"id":"/src/content/createPages.tsx","moduleParts":{"content/createPages.js":"7ef5-9"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-85"},{"uid":"7ef5-22"},{"uid":"7ef5-12"}],"importedBy":[{"uid":"7ef5-0"}]},"7ef5-10":{"id":"/src/types.ts","moduleParts":{"types.js":"7ef5-11"},"imported":[],"importedBy":[{"uid":"7ef5-6"}]},"7ef5-12":{"id":"/src/content/types.ts","moduleParts":{"content/types.js":"7ef5-13"},"imported":[],"importedBy":[{"uid":"7ef5-8"},{"uid":"7ef5-38"},{"uid":"7ef5-40"}]},"7ef5-14":{"id":"/src/datahooks/DataHooks.tsx","moduleParts":{"datahooks/DataHooks.js":"7ef5-15"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-85"},{"uid":"7ef5-88"},{"uid":"7ef5-26"}],"importedBy":[{"uid":"7ef5-6"},{"uid":"7ef5-22"}]},"7ef5-16":{"id":"/src/datahooks/PermissionHooks.tsx","moduleParts":{"datahooks/PermissionHooks.js":"7ef5-17"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-85"},{"uid":"7ef5-24"}],"importedBy":[{"uid":"7ef5-6"}]},"7ef5-18":{"id":"/src/datahooks/Permissions.tsx","moduleParts":{"datahooks/Permissions.js":"7ef5-19"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-89"},{"uid":"7ef5-85"},{"uid":"7ef5-90"},{"uid":"7ef5-2"}],"importedBy":[{"uid":"7ef5-6"}]},"7ef5-20":{"id":"/src/layout/components/Layout.tsx","moduleParts":{"layout/components/Layout.js":"7ef5-21"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-85"},{"uid":"7ef5-91"},{"uid":"7ef5-92"},{"uid":"7ef5-30"},{"uid":"7ef5-42"},{"uid":"7ef5-44"},{"uid":"7ef5-34"}],"importedBy":[{"uid":"7ef5-6"}]},"7ef5-22":{"id":"/src/content/components/ContentComponent.tsx","moduleParts":{"content/components/ContentComponent.js":"7ef5-23"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-85"},{"uid":"7ef5-93"},{"uid":"7ef5-90"},{"uid":"7ef5-92"},{"uid":"7ef5-91"},{"uid":"7ef5-14"},{"uid":"7ef5-2"},{"uid":"7ef5-28"},{"uid":"7ef5-36"},{"uid":"7ef5-38"},{"uid":"7ef5-40"},{"uid":"7ef5-32"}],"importedBy":[{"uid":"7ef5-8"}]},"7ef5-24":{"id":"/src/datahooks/ExecutePermissionHook.tsx","moduleParts":{"datahooks/ExecutePermissionHook.js":"7ef5-25"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-90"},{"uid":"7ef5-2"}],"importedBy":[{"uid":"7ef5-16"}]},"7ef5-26":{"id":"/src/datahooks/ExecuteDataHook.tsx","moduleParts":{"datahooks/ExecuteDataHook.js":"7ef5-27"},"imported":[{"uid":"7ef5-84"}],"importedBy":[{"uid":"7ef5-14"}]},"7ef5-28":{"id":"/src/utils.ts","moduleParts":{"utils.js":"7ef5-29"},"imported":[{"uid":"7ef5-93"}],"importedBy":[{"uid":"7ef5-22"},{"uid":"7ef5-42"},{"uid":"7ef5-60"}]},"7ef5-30":{"id":"/src/layout/moveItems.ts","moduleParts":{"layout/moveItems.js":"7ef5-31"},"imported":[{"uid":"7ef5-85"},{"uid":"7ef5-93"},{"uid":"7ef5-46"}],"importedBy":[{"uid":"7ef5-20"}]},"7ef5-32":{"id":"/src/content/components/styles.module.css","moduleParts":{"content/components/styles.module.css.js":"7ef5-33"},"imported":[{"uid":"7ef5-82"}],"importedBy":[{"uid":"7ef5-22"},{"uid":"7ef5-38"}]},"7ef5-34":{"id":"/src/layout/components/styles.module.css","moduleParts":{"layout/components/styles.module.css.js":"7ef5-35"},"imported":[{"uid":"7ef5-82"}],"importedBy":[{"uid":"7ef5-20"},{"uid":"7ef5-44"},{"uid":"7ef5-76"}]},"7ef5-36":{"id":"/src/content/hooks/useBuildContentData.ts","moduleParts":{"content/hooks/useBuildContentData.js":"7ef5-37"},"imported":[{"uid":"7ef5-48"}],"importedBy":[{"uid":"7ef5-22"},{"uid":"7ef5-40"}]},"7ef5-38":{"id":"/src/content/components/Header.tsx","moduleParts":{"content/components/Header.js":"7ef5-39"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-85"},{"uid":"7ef5-92"},{"uid":"7ef5-12"},{"uid":"7ef5-32"}],"importedBy":[{"uid":"7ef5-22"}]},"7ef5-40":{"id":"/src/content/components/SidebarItemWrapper.tsx","moduleParts":{"content/components/SidebarItemWrapper.js":"7ef5-41"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-85"},{"uid":"7ef5-94"},{"uid":"7ef5-92"},{"uid":"7ef5-36"},{"uid":"7ef5-12"},{"uid":"7ef5-52"},{"uid":"7ef5-58"},{"uid":"7ef5-54"},{"uid":"7ef5-56"}],"importedBy":[{"uid":"7ef5-22"}]},"7ef5-42":{"id":"/src/layout/components/LayoutItemBar.tsx","moduleParts":{"layout/components/LayoutItemBar.js":"7ef5-43"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-85"},{"uid":"7ef5-92"},{"uid":"7ef5-28"},{"uid":"7ef5-50"},{"uid":"7ef5-60"}],"importedBy":[{"uid":"7ef5-20"}]},"7ef5-44":{"id":"/src/layout/components/SecondaryMenuToggleItem.tsx","moduleParts":{"layout/components/SecondaryMenuToggleItem.js":"7ef5-45"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-92"},{"uid":"7ef5-34"}],"importedBy":[{"uid":"7ef5-20"}]},"7ef5-46":{"id":"/src/layout/types.ts","moduleParts":{"layout/types.js":"7ef5-47"},"imported":[],"importedBy":[{"uid":"7ef5-30"},{"uid":"7ef5-60"}]},"7ef5-48":{"id":"/src/hooks/useBuildData.ts","moduleParts":{"hooks/useBuildData.js":"7ef5-49"},"imported":[{"uid":"7ef5-89"},{"uid":"7ef5-85"},{"uid":"7ef5-93"},{"uid":"7ef5-88"},{"uid":"7ef5-2"},{"uid":"7ef5-64"},{"uid":"7ef5-66"},{"uid":"7ef5-68"}],"importedBy":[{"uid":"7ef5-36"},{"uid":"7ef5-60"}]},"7ef5-50":{"id":"/src/layout/utils.tsx","moduleParts":{"layout/utils.js":"7ef5-51"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-88"},{"uid":"7ef5-92"},{"uid":"7ef5-62"}],"importedBy":[{"uid":"7ef5-42"},{"uid":"7ef5-76"},{"uid":"7ef5-80"}]},"7ef5-52":{"id":"/src/content/components/ActionFormSidebarItemComponent.tsx","moduleParts":{"content/components/ActionFormSidebarItemComponent.js":"7ef5-53"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-85"},{"uid":"7ef5-92"},{"uid":"7ef5-70"},{"uid":"7ef5-72"}],"importedBy":[{"uid":"7ef5-40"}]},"7ef5-54":{"id":"/src/content/components/CustomSidebarItemComponent.tsx","moduleParts":{"content/components/CustomSidebarItemComponent.js":"7ef5-55"},"imported":[{"uid":"7ef5-84"}],"importedBy":[{"uid":"7ef5-40"}]},"7ef5-56":{"id":"/src/content/components/PlainSidebarItem.tsx","moduleParts":{"content/components/PlainSidebarItem.js":"7ef5-57"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-88"},{"uid":"7ef5-92"},{"uid":"7ef5-70"}],"importedBy":[{"uid":"7ef5-40"}]},"7ef5-58":{"id":"/src/content/components/ActionSidebarItemComponent.tsx","moduleParts":{"content/components/ActionSidebarItemComponent.js":"7ef5-59"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-92"},{"uid":"7ef5-70"}],"importedBy":[{"uid":"7ef5-40"}]},"7ef5-60":{"id":"/src/layout/components/LayoutItemWrapper.tsx","moduleParts":{"layout/components/LayoutItemWrapper.js":"7ef5-61"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-85"},{"uid":"7ef5-94"},{"uid":"7ef5-92"},{"uid":"7ef5-48"},{"uid":"7ef5-28"},{"uid":"7ef5-46"},{"uid":"7ef5-74"},{"uid":"7ef5-76"},{"uid":"7ef5-78"},{"uid":"7ef5-80"}],"importedBy":[{"uid":"7ef5-42"}]},"7ef5-62":{"id":"/src/commonItems.ts","moduleParts":{"commonItems.js":"7ef5-63"},"imported":[],"importedBy":[{"uid":"7ef5-50"},{"uid":"7ef5-64"}]},"7ef5-64":{"id":"/src/hooks/useIsActiveRoute.ts","moduleParts":{"hooks/useIsActiveRoute.js":"7ef5-65"},"imported":[{"uid":"7ef5-95"},{"uid":"7ef5-62"}],"importedBy":[{"uid":"7ef5-48"}]},"7ef5-66":{"id":"/src/hooks/useSelectPermission.ts","moduleParts":{"hooks/useSelectPermission.js":"7ef5-67"},"imported":[{"uid":"7ef5-93"}],"importedBy":[{"uid":"7ef5-48"}]},"7ef5-68":{"id":"/src/hooks/useSelectState.ts","moduleParts":{"hooks/useSelectState.js":"7ef5-69"},"imported":[{"uid":"7ef5-93"}],"importedBy":[{"uid":"7ef5-48"}]},"7ef5-70":{"id":"/src/content/utils.tsx","moduleParts":{"content/utils.js":"7ef5-71"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-92"}],"importedBy":[{"uid":"7ef5-52"},{"uid":"7ef5-58"},{"uid":"7ef5-56"}]},"7ef5-72":{"id":"/src/content/components/ActionForm.tsx","moduleParts":{"content/components/ActionForm.js":"7ef5-73"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-96"},{"uid":"7ef5-85"},{"uid":"7ef5-92"}],"importedBy":[{"uid":"7ef5-52"}]},"7ef5-74":{"id":"/src/layout/components/CustomLayoutItemComponent.tsx","moduleParts":{"layout/components/CustomLayoutItemComponent.js":"7ef5-75"},"imported":[{"uid":"7ef5-84"}],"importedBy":[{"uid":"7ef5-60"}]},"7ef5-76":{"id":"/src/layout/components/DropdownItem.tsx","moduleParts":{"layout/components/DropdownItem.js":"7ef5-77"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-85"},{"uid":"7ef5-92"},{"uid":"7ef5-50"},{"uid":"7ef5-34"}],"importedBy":[{"uid":"7ef5-60"}]},"7ef5-78":{"id":"/src/layout/components/MenuItem.tsx","moduleParts":{"layout/components/MenuItem.js":"7ef5-79"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-92"}],"importedBy":[{"uid":"7ef5-60"}]},"7ef5-80":{"id":"/src/layout/components/PlainItem.tsx","moduleParts":{"layout/components/PlainItem.js":"7ef5-81"},"imported":[{"uid":"7ef5-84"},{"uid":"7ef5-91"},{"uid":"7ef5-92"},{"uid":"7ef5-50"}],"importedBy":[{"uid":"7ef5-60"}]},"7ef5-82":{"id":"/home/runner/work/imperium/imperium/node_modules/style-inject/dist/style-inject.es.js","moduleParts":{"external/style-inject/dist/style-inject.es.js":"7ef5-83"},"imported":[],"importedBy":[{"uid":"7ef5-34"},{"uid":"7ef5-32"}]},"7ef5-84":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"7ef5-6"},{"uid":"7ef5-8"},{"uid":"7ef5-14"},{"uid":"7ef5-16"},{"uid":"7ef5-18"},{"uid":"7ef5-20"},{"uid":"7ef5-22"},{"uid":"7ef5-26"},{"uid":"7ef5-24"},{"uid":"7ef5-42"},{"uid":"7ef5-44"},{"uid":"7ef5-38"},{"uid":"7ef5-40"},{"uid":"7ef5-50"},{"uid":"7ef5-60"},{"uid":"7ef5-52"},{"uid":"7ef5-58"},{"uid":"7ef5-54"},{"uid":"7ef5-56"},{"uid":"7ef5-74"},{"uid":"7ef5-76"},{"uid":"7ef5-78"},{"uid":"7ef5-80"},{"uid":"7ef5-70"},{"uid":"7ef5-72"}],"isExternal":true},"7ef5-85":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"7ef5-6"},{"uid":"7ef5-8"},{"uid":"7ef5-14"},{"uid":"7ef5-16"},{"uid":"7ef5-18"},{"uid":"7ef5-20"},{"uid":"7ef5-22"},{"uid":"7ef5-30"},{"uid":"7ef5-42"},{"uid":"7ef5-38"},{"uid":"7ef5-40"},{"uid":"7ef5-60"},{"uid":"7ef5-48"},{"uid":"7ef5-52"},{"uid":"7ef5-76"},{"uid":"7ef5-72"}],"isExternal":true},"7ef5-86":{"id":"@imperium/state","moduleParts":{},"imported":[],"importedBy":[{"uid":"7ef5-2"}],"isExternal":true},"7ef5-87":{"id":"@reduxjs/toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"7ef5-2"}],"isExternal":true},"7ef5-88":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"7ef5-14"},{"uid":"7ef5-50"},{"uid":"7ef5-48"},{"uid":"7ef5-56"}],"isExternal":true},"7ef5-89":{"id":"@imperium/auth-client","moduleParts":{},"imported":[],"importedBy":[{"uid":"7ef5-18"},{"uid":"7ef5-48"}],"isExternal":true},"7ef5-90":{"id":"react-redux","moduleParts":{},"imported":[],"importedBy":[{"uid":"7ef5-18"},{"uid":"7ef5-22"},{"uid":"7ef5-24"}],"isExternal":true},"7ef5-91":{"id":"react-responsive","moduleParts":{},"imported":[],"importedBy":[{"uid":"7ef5-20"},{"uid":"7ef5-22"},{"uid":"7ef5-80"}],"isExternal":true},"7ef5-92":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"7ef5-20"},{"uid":"7ef5-22"},{"uid":"7ef5-42"},{"uid":"7ef5-44"},{"uid":"7ef5-38"},{"uid":"7ef5-40"},{"uid":"7ef5-50"},{"uid":"7ef5-60"},{"uid":"7ef5-52"},{"uid":"7ef5-58"},{"uid":"7ef5-56"},{"uid":"7ef5-76"},{"uid":"7ef5-78"},{"uid":"7ef5-80"},{"uid":"7ef5-70"},{"uid":"7ef5-72"}],"isExternal":true},"7ef5-93":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"7ef5-22"},{"uid":"7ef5-30"},{"uid":"7ef5-28"},{"uid":"7ef5-48"},{"uid":"7ef5-66"},{"uid":"7ef5-68"}],"isExternal":true},"7ef5-94":{"id":"mingo","moduleParts":{},"imported":[],"importedBy":[{"uid":"7ef5-40"},{"uid":"7ef5-60"}],"isExternal":true},"7ef5-95":{"id":"react-router","moduleParts":{},"imported":[],"importedBy":[{"uid":"7ef5-64"}],"isExternal":true},"7ef5-96":{"id":"@thx/controls","moduleParts":{},"imported":[],"importedBy":[{"uid":"7ef5-72"}],"isExternal":true}},"env":{"rollup":"2.79.1"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
2672
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src/index.ts","uid":"7f3f-1"}]},{"name":"state.js","children":[{"name":"src/state.ts","uid":"7f3f-3"}]},{"name":"content/createPages.js","children":[{"name":"src/content/createPages.tsx","uid":"7f3f-5"}]},{"name":"content/dividerSidebarItem.js","children":[{"name":"src/content/dividerSidebarItem.ts","uid":"7f3f-7"}]},{"name":"layout/withLayout.js","children":[{"name":"src/layout/withLayout.tsx","uid":"7f3f-9"}]},{"name":"content/types.js","children":[{"name":"src/content/types.ts","uid":"7f3f-11"}]},{"name":"types.js","children":[{"name":"src/types.ts","uid":"7f3f-13"}]},{"name":"content/components/ContentComponent.js","children":[{"name":"src/content/components/ContentComponent.tsx","uid":"7f3f-15"}]},{"name":"datahooks/PermissionHooks.js","children":[{"name":"src/datahooks/PermissionHooks.tsx","uid":"7f3f-17"}]},{"name":"datahooks/DataHooks.js","children":[{"name":"src/datahooks/DataHooks.tsx","uid":"7f3f-19"}]},{"name":"datahooks/Permissions.js","children":[{"name":"src/datahooks/Permissions.tsx","uid":"7f3f-21"}]},{"name":"layout/components/Layout.js","children":[{"name":"src/layout/components/Layout.tsx","uid":"7f3f-23"}]},{"name":"utils.js","children":[{"name":"src/utils.ts","uid":"7f3f-25"}]},{"name":"content/components/styles.module.css.js","children":[{"name":"src/content/components/styles.module.css","uid":"7f3f-27"}]},{"name":"datahooks/ExecutePermissionHook.js","children":[{"name":"src/datahooks/ExecutePermissionHook.tsx","uid":"7f3f-29"}]},{"name":"datahooks/ExecuteDataHook.js","children":[{"name":"src/datahooks/ExecuteDataHook.tsx","uid":"7f3f-31"}]},{"name":"content/components/Header.js","children":[{"name":"src/content/components/Header.tsx","uid":"7f3f-33"}]},{"name":"content/components/SidebarItemWrapper.js","children":[{"name":"src/content/components/SidebarItemWrapper.tsx","uid":"7f3f-35"}]},{"name":"content/hooks/useBuildContentData.js","children":[{"name":"src/content/hooks/useBuildContentData.ts","uid":"7f3f-37"}]},{"name":"layout/moveItems.js","children":[{"name":"src/layout/moveItems.ts","uid":"7f3f-39"}]},{"name":"layout/components/styles.module.css.js","children":[{"name":"src/layout/components/styles.module.css","uid":"7f3f-41"}]},{"name":"layout/components/LayoutItemBar.js","children":[{"name":"src/layout/components/LayoutItemBar.tsx","uid":"7f3f-43"}]},{"name":"layout/components/SecondaryMenuToggleItem.js","children":[{"name":"src/layout/components/SecondaryMenuToggleItem.tsx","uid":"7f3f-45"}]},{"name":"hooks/useBuildData.js","children":[{"name":"src/hooks/useBuildData.ts","uid":"7f3f-47"}]},{"name":"content/components/ActionFormSidebarItemComponent.js","children":[{"name":"src/content/components/ActionFormSidebarItemComponent.tsx","uid":"7f3f-49"}]},{"name":"content/components/CustomSidebarItemComponent.js","children":[{"name":"src/content/components/CustomSidebarItemComponent.tsx","uid":"7f3f-51"}]},{"name":"content/components/ActionSidebarItemComponent.js","children":[{"name":"src/content/components/ActionSidebarItemComponent.tsx","uid":"7f3f-53"}]},{"name":"content/components/PlainSidebarItem.js","children":[{"name":"src/content/components/PlainSidebarItem.tsx","uid":"7f3f-55"}]},{"name":"layout/types.js","children":[{"name":"src/layout/types.ts","uid":"7f3f-57"}]},{"name":"layout/utils.js","children":[{"name":"src/layout/utils.tsx","uid":"7f3f-59"}]},{"name":"layout/components/LayoutItemWrapper.js","children":[{"name":"src/layout/components/LayoutItemWrapper.tsx","uid":"7f3f-61"}]},{"name":"hooks/useSelectPermission.js","children":[{"name":"src/hooks/useSelectPermission.ts","uid":"7f3f-63"}]},{"name":"hooks/useSelectState.js","children":[{"name":"src/hooks/useSelectState.ts","uid":"7f3f-65"}]},{"name":"hooks/useIsActiveRoute.js","children":[{"name":"src/hooks/useIsActiveRoute.ts","uid":"7f3f-67"}]},{"name":"content/utils.js","children":[{"name":"src/content/utils.tsx","uid":"7f3f-69"}]},{"name":"content/components/ActionForm.js","children":[{"name":"src/content/components/ActionForm.tsx","uid":"7f3f-71"}]},{"name":"commonItems.js","children":[{"name":"src/commonItems.ts","uid":"7f3f-73"}]},{"name":"layout/components/CustomLayoutItemComponent.js","children":[{"name":"src/layout/components/CustomLayoutItemComponent.tsx","uid":"7f3f-75"}]},{"name":"layout/components/DropdownItem.js","children":[{"name":"src/layout/components/DropdownItem.tsx","uid":"7f3f-77"}]},{"name":"layout/components/PlainItem.js","children":[{"name":"src/layout/components/PlainItem.tsx","uid":"7f3f-79"}]},{"name":"layout/components/MenuItem.js","children":[{"name":"src/layout/components/MenuItem.tsx","uid":"7f3f-81"}]},{"name":"external/style-inject/dist/style-inject.es.js","children":[{"name":"home/runner/work/imperium/imperium/node_modules/style-inject/dist/style-inject.es.js","uid":"7f3f-83"}]}],"isRoot":true},"nodeParts":{"7f3f-1":{"renderedLength":144,"gzipLength":131,"brotliLength":106,"mainUid":"7f3f-0"},"7f3f-3":{"renderedLength":489,"gzipLength":250,"brotliLength":217,"mainUid":"7f3f-2"},"7f3f-5":{"renderedLength":650,"gzipLength":301,"brotliLength":268,"mainUid":"7f3f-4"},"7f3f-7":{"renderedLength":59,"gzipLength":73,"brotliLength":63,"mainUid":"7f3f-6"},"7f3f-9":{"renderedLength":1955,"gzipLength":562,"brotliLength":488,"mainUid":"7f3f-8"},"7f3f-11":{"renderedLength":388,"gzipLength":167,"brotliLength":111,"mainUid":"7f3f-10"},"7f3f-13":{"renderedLength":121,"gzipLength":111,"brotliLength":90,"mainUid":"7f3f-12"},"7f3f-15":{"renderedLength":3376,"gzipLength":879,"brotliLength":768,"mainUid":"7f3f-14"},"7f3f-17":{"renderedLength":339,"gzipLength":202,"brotliLength":164,"mainUid":"7f3f-16"},"7f3f-19":{"renderedLength":1058,"gzipLength":390,"brotliLength":330,"mainUid":"7f3f-18"},"7f3f-21":{"renderedLength":808,"gzipLength":351,"brotliLength":306,"mainUid":"7f3f-20"},"7f3f-23":{"renderedLength":2512,"gzipLength":751,"brotliLength":636,"mainUid":"7f3f-22"},"7f3f-25":{"renderedLength":145,"gzipLength":117,"brotliLength":116,"mainUid":"7f3f-24"},"7f3f-27":{"renderedLength":2119,"gzipLength":680,"brotliLength":565,"mainUid":"7f3f-26"},"7f3f-29":{"renderedLength":345,"gzipLength":207,"brotliLength":172,"mainUid":"7f3f-28"},"7f3f-31":{"renderedLength":123,"gzipLength":111,"brotliLength":93,"mainUid":"7f3f-30"},"7f3f-33":{"renderedLength":1042,"gzipLength":377,"brotliLength":323,"mainUid":"7f3f-32"},"7f3f-35":{"renderedLength":1189,"gzipLength":399,"brotliLength":314,"mainUid":"7f3f-34"},"7f3f-37":{"renderedLength":257,"gzipLength":158,"brotliLength":122,"mainUid":"7f3f-36"},"7f3f-39":{"renderedLength":1401,"gzipLength":376,"brotliLength":347,"mainUid":"7f3f-38"},"7f3f-41":{"renderedLength":3176,"gzipLength":928,"brotliLength":762,"mainUid":"7f3f-40"},"7f3f-43":{"renderedLength":726,"gzipLength":294,"brotliLength":252,"mainUid":"7f3f-42"},"7f3f-45":{"renderedLength":356,"gzipLength":233,"brotliLength":176,"mainUid":"7f3f-44"},"7f3f-47":{"renderedLength":799,"gzipLength":370,"brotliLength":330,"mainUid":"7f3f-46"},"7f3f-49":{"renderedLength":663,"gzipLength":346,"brotliLength":277,"mainUid":"7f3f-48"},"7f3f-51":{"renderedLength":83,"gzipLength":97,"brotliLength":66,"mainUid":"7f3f-50"},"7f3f-53":{"renderedLength":362,"gzipLength":246,"brotliLength":185,"mainUid":"7f3f-52"},"7f3f-55":{"renderedLength":344,"gzipLength":236,"brotliLength":186,"mainUid":"7f3f-54"},"7f3f-57":{"renderedLength":191,"gzipLength":113,"brotliLength":89,"mainUid":"7f3f-56"},"7f3f-59":{"renderedLength":915,"gzipLength":393,"brotliLength":328,"mainUid":"7f3f-58"},"7f3f-61":{"renderedLength":1503,"gzipLength":487,"brotliLength":399,"mainUid":"7f3f-60"},"7f3f-63":{"renderedLength":294,"gzipLength":155,"brotliLength":114,"mainUid":"7f3f-62"},"7f3f-65":{"renderedLength":326,"gzipLength":176,"brotliLength":141,"mainUid":"7f3f-64"},"7f3f-67":{"renderedLength":514,"gzipLength":227,"brotliLength":187,"mainUid":"7f3f-66"},"7f3f-69":{"renderedLength":628,"gzipLength":259,"brotliLength":219,"mainUid":"7f3f-68"},"7f3f-71":{"renderedLength":1667,"gzipLength":624,"brotliLength":519,"mainUid":"7f3f-70"},"7f3f-73":{"renderedLength":203,"gzipLength":136,"brotliLength":97,"mainUid":"7f3f-72"},"7f3f-75":{"renderedLength":82,"gzipLength":96,"brotliLength":66,"mainUid":"7f3f-74"},"7f3f-77":{"renderedLength":1179,"gzipLength":450,"brotliLength":362,"mainUid":"7f3f-76"},"7f3f-79":{"renderedLength":379,"gzipLength":264,"brotliLength":224,"mainUid":"7f3f-78"},"7f3f-81":{"renderedLength":252,"gzipLength":157,"brotliLength":116,"mainUid":"7f3f-80"},"7f3f-83":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"7f3f-82"}},"nodeMetas":{"7f3f-0":{"id":"/src/index.ts","moduleParts":{"index.js":"7f3f-1"},"imported":[{"uid":"7f3f-8"},{"uid":"7f3f-2"},{"uid":"7f3f-4"},{"uid":"7f3f-6"}],"importedBy":[],"isEntry":true},"7f3f-2":{"id":"/src/state.ts","moduleParts":{"state.js":"7f3f-3"},"imported":[{"uid":"7f3f-86"},{"uid":"7f3f-87"}],"importedBy":[{"uid":"7f3f-0"},{"uid":"7f3f-20"},{"uid":"7f3f-14"},{"uid":"7f3f-28"},{"uid":"7f3f-46"}]},"7f3f-4":{"id":"/src/content/createPages.tsx","moduleParts":{"content/createPages.js":"7f3f-5"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-85"},{"uid":"7f3f-14"},{"uid":"7f3f-10"}],"importedBy":[{"uid":"7f3f-0"}]},"7f3f-6":{"id":"/src/content/dividerSidebarItem.ts","moduleParts":{"content/dividerSidebarItem.js":"7f3f-7"},"imported":[],"importedBy":[{"uid":"7f3f-0"}]},"7f3f-8":{"id":"/src/layout/withLayout.tsx","moduleParts":{"layout/withLayout.js":"7f3f-9"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-85"},{"uid":"7f3f-18"},{"uid":"7f3f-16"},{"uid":"7f3f-20"},{"uid":"7f3f-12"},{"uid":"7f3f-22"}],"importedBy":[{"uid":"7f3f-0"}]},"7f3f-10":{"id":"/src/content/types.ts","moduleParts":{"content/types.js":"7f3f-11"},"imported":[],"importedBy":[{"uid":"7f3f-4"},{"uid":"7f3f-32"},{"uid":"7f3f-34"}]},"7f3f-12":{"id":"/src/types.ts","moduleParts":{"types.js":"7f3f-13"},"imported":[],"importedBy":[{"uid":"7f3f-8"}]},"7f3f-14":{"id":"/src/content/components/ContentComponent.tsx","moduleParts":{"content/components/ContentComponent.js":"7f3f-15"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-85"},{"uid":"7f3f-93"},{"uid":"7f3f-90"},{"uid":"7f3f-92"},{"uid":"7f3f-91"},{"uid":"7f3f-18"},{"uid":"7f3f-2"},{"uid":"7f3f-24"},{"uid":"7f3f-36"},{"uid":"7f3f-32"},{"uid":"7f3f-34"},{"uid":"7f3f-26"}],"importedBy":[{"uid":"7f3f-4"}]},"7f3f-16":{"id":"/src/datahooks/PermissionHooks.tsx","moduleParts":{"datahooks/PermissionHooks.js":"7f3f-17"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-85"},{"uid":"7f3f-28"}],"importedBy":[{"uid":"7f3f-8"}]},"7f3f-18":{"id":"/src/datahooks/DataHooks.tsx","moduleParts":{"datahooks/DataHooks.js":"7f3f-19"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-85"},{"uid":"7f3f-88"},{"uid":"7f3f-30"}],"importedBy":[{"uid":"7f3f-8"},{"uid":"7f3f-14"}]},"7f3f-20":{"id":"/src/datahooks/Permissions.tsx","moduleParts":{"datahooks/Permissions.js":"7f3f-21"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-89"},{"uid":"7f3f-85"},{"uid":"7f3f-90"},{"uid":"7f3f-2"}],"importedBy":[{"uid":"7f3f-8"}]},"7f3f-22":{"id":"/src/layout/components/Layout.tsx","moduleParts":{"layout/components/Layout.js":"7f3f-23"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-85"},{"uid":"7f3f-91"},{"uid":"7f3f-92"},{"uid":"7f3f-38"},{"uid":"7f3f-42"},{"uid":"7f3f-44"},{"uid":"7f3f-40"}],"importedBy":[{"uid":"7f3f-8"}]},"7f3f-24":{"id":"/src/utils.ts","moduleParts":{"utils.js":"7f3f-25"},"imported":[{"uid":"7f3f-93"}],"importedBy":[{"uid":"7f3f-14"},{"uid":"7f3f-42"},{"uid":"7f3f-60"}]},"7f3f-26":{"id":"/src/content/components/styles.module.css","moduleParts":{"content/components/styles.module.css.js":"7f3f-27"},"imported":[{"uid":"7f3f-82"}],"importedBy":[{"uid":"7f3f-14"},{"uid":"7f3f-32"}]},"7f3f-28":{"id":"/src/datahooks/ExecutePermissionHook.tsx","moduleParts":{"datahooks/ExecutePermissionHook.js":"7f3f-29"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-90"},{"uid":"7f3f-2"}],"importedBy":[{"uid":"7f3f-16"}]},"7f3f-30":{"id":"/src/datahooks/ExecuteDataHook.tsx","moduleParts":{"datahooks/ExecuteDataHook.js":"7f3f-31"},"imported":[{"uid":"7f3f-84"}],"importedBy":[{"uid":"7f3f-18"}]},"7f3f-32":{"id":"/src/content/components/Header.tsx","moduleParts":{"content/components/Header.js":"7f3f-33"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-85"},{"uid":"7f3f-92"},{"uid":"7f3f-10"},{"uid":"7f3f-26"}],"importedBy":[{"uid":"7f3f-14"}]},"7f3f-34":{"id":"/src/content/components/SidebarItemWrapper.tsx","moduleParts":{"content/components/SidebarItemWrapper.js":"7f3f-35"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-85"},{"uid":"7f3f-94"},{"uid":"7f3f-92"},{"uid":"7f3f-36"},{"uid":"7f3f-10"},{"uid":"7f3f-48"},{"uid":"7f3f-52"},{"uid":"7f3f-50"},{"uid":"7f3f-54"}],"importedBy":[{"uid":"7f3f-14"}]},"7f3f-36":{"id":"/src/content/hooks/useBuildContentData.ts","moduleParts":{"content/hooks/useBuildContentData.js":"7f3f-37"},"imported":[{"uid":"7f3f-46"}],"importedBy":[{"uid":"7f3f-14"},{"uid":"7f3f-34"}]},"7f3f-38":{"id":"/src/layout/moveItems.ts","moduleParts":{"layout/moveItems.js":"7f3f-39"},"imported":[{"uid":"7f3f-85"},{"uid":"7f3f-93"},{"uid":"7f3f-56"}],"importedBy":[{"uid":"7f3f-22"}]},"7f3f-40":{"id":"/src/layout/components/styles.module.css","moduleParts":{"layout/components/styles.module.css.js":"7f3f-41"},"imported":[{"uid":"7f3f-82"}],"importedBy":[{"uid":"7f3f-22"},{"uid":"7f3f-44"},{"uid":"7f3f-76"}]},"7f3f-42":{"id":"/src/layout/components/LayoutItemBar.tsx","moduleParts":{"layout/components/LayoutItemBar.js":"7f3f-43"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-85"},{"uid":"7f3f-92"},{"uid":"7f3f-24"},{"uid":"7f3f-58"},{"uid":"7f3f-60"}],"importedBy":[{"uid":"7f3f-22"}]},"7f3f-44":{"id":"/src/layout/components/SecondaryMenuToggleItem.tsx","moduleParts":{"layout/components/SecondaryMenuToggleItem.js":"7f3f-45"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-92"},{"uid":"7f3f-40"}],"importedBy":[{"uid":"7f3f-22"}]},"7f3f-46":{"id":"/src/hooks/useBuildData.ts","moduleParts":{"hooks/useBuildData.js":"7f3f-47"},"imported":[{"uid":"7f3f-89"},{"uid":"7f3f-85"},{"uid":"7f3f-93"},{"uid":"7f3f-88"},{"uid":"7f3f-2"},{"uid":"7f3f-66"},{"uid":"7f3f-62"},{"uid":"7f3f-64"}],"importedBy":[{"uid":"7f3f-36"},{"uid":"7f3f-60"}]},"7f3f-48":{"id":"/src/content/components/ActionFormSidebarItemComponent.tsx","moduleParts":{"content/components/ActionFormSidebarItemComponent.js":"7f3f-49"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-85"},{"uid":"7f3f-92"},{"uid":"7f3f-68"},{"uid":"7f3f-70"}],"importedBy":[{"uid":"7f3f-34"}]},"7f3f-50":{"id":"/src/content/components/CustomSidebarItemComponent.tsx","moduleParts":{"content/components/CustomSidebarItemComponent.js":"7f3f-51"},"imported":[{"uid":"7f3f-84"}],"importedBy":[{"uid":"7f3f-34"}]},"7f3f-52":{"id":"/src/content/components/ActionSidebarItemComponent.tsx","moduleParts":{"content/components/ActionSidebarItemComponent.js":"7f3f-53"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-92"},{"uid":"7f3f-68"}],"importedBy":[{"uid":"7f3f-34"}]},"7f3f-54":{"id":"/src/content/components/PlainSidebarItem.tsx","moduleParts":{"content/components/PlainSidebarItem.js":"7f3f-55"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-88"},{"uid":"7f3f-92"},{"uid":"7f3f-68"}],"importedBy":[{"uid":"7f3f-34"}]},"7f3f-56":{"id":"/src/layout/types.ts","moduleParts":{"layout/types.js":"7f3f-57"},"imported":[],"importedBy":[{"uid":"7f3f-38"},{"uid":"7f3f-60"}]},"7f3f-58":{"id":"/src/layout/utils.tsx","moduleParts":{"layout/utils.js":"7f3f-59"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-88"},{"uid":"7f3f-92"},{"uid":"7f3f-72"}],"importedBy":[{"uid":"7f3f-42"},{"uid":"7f3f-76"},{"uid":"7f3f-78"}]},"7f3f-60":{"id":"/src/layout/components/LayoutItemWrapper.tsx","moduleParts":{"layout/components/LayoutItemWrapper.js":"7f3f-61"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-85"},{"uid":"7f3f-94"},{"uid":"7f3f-92"},{"uid":"7f3f-46"},{"uid":"7f3f-24"},{"uid":"7f3f-56"},{"uid":"7f3f-74"},{"uid":"7f3f-76"},{"uid":"7f3f-80"},{"uid":"7f3f-78"}],"importedBy":[{"uid":"7f3f-42"}]},"7f3f-62":{"id":"/src/hooks/useSelectPermission.ts","moduleParts":{"hooks/useSelectPermission.js":"7f3f-63"},"imported":[{"uid":"7f3f-93"}],"importedBy":[{"uid":"7f3f-46"}]},"7f3f-64":{"id":"/src/hooks/useSelectState.ts","moduleParts":{"hooks/useSelectState.js":"7f3f-65"},"imported":[{"uid":"7f3f-93"}],"importedBy":[{"uid":"7f3f-46"}]},"7f3f-66":{"id":"/src/hooks/useIsActiveRoute.ts","moduleParts":{"hooks/useIsActiveRoute.js":"7f3f-67"},"imported":[{"uid":"7f3f-95"},{"uid":"7f3f-72"}],"importedBy":[{"uid":"7f3f-46"}]},"7f3f-68":{"id":"/src/content/utils.tsx","moduleParts":{"content/utils.js":"7f3f-69"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-92"}],"importedBy":[{"uid":"7f3f-48"},{"uid":"7f3f-52"},{"uid":"7f3f-54"}]},"7f3f-70":{"id":"/src/content/components/ActionForm.tsx","moduleParts":{"content/components/ActionForm.js":"7f3f-71"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-96"},{"uid":"7f3f-85"},{"uid":"7f3f-92"}],"importedBy":[{"uid":"7f3f-48"}]},"7f3f-72":{"id":"/src/commonItems.ts","moduleParts":{"commonItems.js":"7f3f-73"},"imported":[],"importedBy":[{"uid":"7f3f-58"},{"uid":"7f3f-66"}]},"7f3f-74":{"id":"/src/layout/components/CustomLayoutItemComponent.tsx","moduleParts":{"layout/components/CustomLayoutItemComponent.js":"7f3f-75"},"imported":[{"uid":"7f3f-84"}],"importedBy":[{"uid":"7f3f-60"}]},"7f3f-76":{"id":"/src/layout/components/DropdownItem.tsx","moduleParts":{"layout/components/DropdownItem.js":"7f3f-77"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-85"},{"uid":"7f3f-92"},{"uid":"7f3f-58"},{"uid":"7f3f-40"}],"importedBy":[{"uid":"7f3f-60"}]},"7f3f-78":{"id":"/src/layout/components/PlainItem.tsx","moduleParts":{"layout/components/PlainItem.js":"7f3f-79"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-91"},{"uid":"7f3f-92"},{"uid":"7f3f-58"}],"importedBy":[{"uid":"7f3f-60"}]},"7f3f-80":{"id":"/src/layout/components/MenuItem.tsx","moduleParts":{"layout/components/MenuItem.js":"7f3f-81"},"imported":[{"uid":"7f3f-84"},{"uid":"7f3f-92"}],"importedBy":[{"uid":"7f3f-60"}]},"7f3f-82":{"id":"/home/runner/work/imperium/imperium/node_modules/style-inject/dist/style-inject.es.js","moduleParts":{"external/style-inject/dist/style-inject.es.js":"7f3f-83"},"imported":[],"importedBy":[{"uid":"7f3f-40"},{"uid":"7f3f-26"}]},"7f3f-84":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"7f3f-8"},{"uid":"7f3f-4"},{"uid":"7f3f-18"},{"uid":"7f3f-16"},{"uid":"7f3f-20"},{"uid":"7f3f-22"},{"uid":"7f3f-14"},{"uid":"7f3f-30"},{"uid":"7f3f-28"},{"uid":"7f3f-42"},{"uid":"7f3f-44"},{"uid":"7f3f-32"},{"uid":"7f3f-34"},{"uid":"7f3f-58"},{"uid":"7f3f-60"},{"uid":"7f3f-48"},{"uid":"7f3f-52"},{"uid":"7f3f-50"},{"uid":"7f3f-54"},{"uid":"7f3f-74"},{"uid":"7f3f-76"},{"uid":"7f3f-80"},{"uid":"7f3f-78"},{"uid":"7f3f-68"},{"uid":"7f3f-70"}],"isExternal":true},"7f3f-85":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"7f3f-8"},{"uid":"7f3f-4"},{"uid":"7f3f-18"},{"uid":"7f3f-16"},{"uid":"7f3f-20"},{"uid":"7f3f-22"},{"uid":"7f3f-14"},{"uid":"7f3f-38"},{"uid":"7f3f-42"},{"uid":"7f3f-32"},{"uid":"7f3f-34"},{"uid":"7f3f-60"},{"uid":"7f3f-46"},{"uid":"7f3f-48"},{"uid":"7f3f-76"},{"uid":"7f3f-70"}],"isExternal":true},"7f3f-86":{"id":"@imperium/state","moduleParts":{},"imported":[],"importedBy":[{"uid":"7f3f-2"}],"isExternal":true},"7f3f-87":{"id":"@reduxjs/toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"7f3f-2"}],"isExternal":true},"7f3f-88":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"7f3f-18"},{"uid":"7f3f-58"},{"uid":"7f3f-46"},{"uid":"7f3f-54"}],"isExternal":true},"7f3f-89":{"id":"@imperium/auth-client","moduleParts":{},"imported":[],"importedBy":[{"uid":"7f3f-20"},{"uid":"7f3f-46"}],"isExternal":true},"7f3f-90":{"id":"react-redux","moduleParts":{},"imported":[],"importedBy":[{"uid":"7f3f-20"},{"uid":"7f3f-14"},{"uid":"7f3f-28"}],"isExternal":true},"7f3f-91":{"id":"react-responsive","moduleParts":{},"imported":[],"importedBy":[{"uid":"7f3f-22"},{"uid":"7f3f-14"},{"uid":"7f3f-78"}],"isExternal":true},"7f3f-92":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"7f3f-22"},{"uid":"7f3f-14"},{"uid":"7f3f-42"},{"uid":"7f3f-44"},{"uid":"7f3f-32"},{"uid":"7f3f-34"},{"uid":"7f3f-58"},{"uid":"7f3f-60"},{"uid":"7f3f-48"},{"uid":"7f3f-52"},{"uid":"7f3f-54"},{"uid":"7f3f-76"},{"uid":"7f3f-80"},{"uid":"7f3f-78"},{"uid":"7f3f-68"},{"uid":"7f3f-70"}],"isExternal":true},"7f3f-93":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"7f3f-14"},{"uid":"7f3f-38"},{"uid":"7f3f-24"},{"uid":"7f3f-46"},{"uid":"7f3f-62"},{"uid":"7f3f-64"}],"isExternal":true},"7f3f-94":{"id":"mingo","moduleParts":{},"imported":[],"importedBy":[{"uid":"7f3f-34"},{"uid":"7f3f-60"}],"isExternal":true},"7f3f-95":{"id":"react-router","moduleParts":{},"imported":[],"importedBy":[{"uid":"7f3f-66"}],"isExternal":true},"7f3f-96":{"id":"@thx/controls","moduleParts":{},"imported":[],"importedBy":[{"uid":"7f3f-70"}],"isExternal":true}},"env":{"rollup":"2.79.1"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
2673
2673
 
2674
2674
  const run = () => {
2675
2675
  const width = window.innerWidth;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DefineRouteOptions } from '@imperium/router';
3
2
  import type { ActionFormSidebarItem, ContentData } from '../types';
4
3
  interface ActionFormProps<T extends DefineRouteOptions, K extends keyof T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DefineRouteOptions } from '@imperium/router';
3
2
  import type { ActionFormSidebarItem, ContentData } from '../types';
4
3
  interface ActionFormSidebarItemComponentProps<T extends DefineRouteOptions, K extends keyof T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DefineRouteOptions } from '@imperium/router';
3
2
  import type { ActionSidebarItem, ContentData } from '../types';
4
3
  interface ActionSidebarItemComponentProps<T extends DefineRouteOptions, K extends keyof T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DefineRouteOptions } from '@imperium/router';
3
2
  import type { Page, RouteParameters } from '../types';
4
3
  interface ContentComponentProps<T extends DefineRouteOptions, K extends keyof T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DefineRouteOptions } from '@imperium/router';
3
2
  import type { ContentData, CustomSidebarItem } from '../types';
4
3
  interface CustomSidebarItemComponentProps<T extends DefineRouteOptions, K extends keyof T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DefineRouteOptions } from '@imperium/router';
3
2
  import type { ContentData, ContentHeader } from '../types';
4
3
  interface HeaderProps<T extends DefineRouteOptions, K extends keyof T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DefineRouteOptions } from '@imperium/router';
3
2
  import type { ActionFormSidebarItem, ActionSidebarItem, ContentData, CustomSidebarItem, DividerSidebarItem, SidebarItem } from '../types';
4
3
  interface PlainSidebarItemProps<T extends DefineRouteOptions, K extends keyof T> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DefineRouteOptions } from '@imperium/router';
3
2
  import type { ContentData, RouteParameters, SidebarItem } from '../types';
4
3
  interface SidebarItemWrapperProps<T extends DefineRouteOptions, K extends keyof T> {
@@ -16,6 +16,6 @@ export declare function useBuildContentData<T extends DefineRouteOptions, K exte
16
16
  state: import("../../types").State;
17
17
  active: boolean;
18
18
  permissions: import("../../types").PermissionResults;
19
- id?: string | undefined;
19
+ id?: string;
20
20
  };
21
21
  export {};
@@ -4,11 +4,11 @@ import type { SemanticCOLORS, SemanticICONS } from 'semantic-ui-react';
4
4
  import type { RouteItem, VisibilityItem, WeightedItem } from '../commonItems';
5
5
  import type { DataHookItem } from '../datahooks/types';
6
6
  import type { Data, PermissionSelectorHook, StateSelectorHook } from '../types';
7
- export declare type RouteParameters<T extends readonly string[] | undefined> = T extends readonly string[] ? ParametersFromAssertion<T> : never;
7
+ export type RouteParameters<T extends readonly string[] | undefined> = T extends readonly string[] ? ParametersFromAssertion<T> : never;
8
8
  export interface ContentData<T extends DefineRouteOptions, K extends keyof T> extends Data {
9
9
  params: RouteParameters<T[K]['params']>;
10
10
  }
11
- export declare type Content<T extends DefineRouteOptions, K extends keyof T> = (data: ContentData<T, K>) => JSX.Element;
11
+ export type Content<T extends DefineRouteOptions, K extends keyof T> = (data: ContentData<T, K>) => JSX.Element;
12
12
  export interface BaseSidebarItem<T extends DefineRouteOptions, K extends keyof T> extends WeightedItem, VisibilityItem {
13
13
  text: string | ((data: ContentData<T, K>) => string);
14
14
  icon?: SemanticICONS | ((data: ContentData<T, K>) => SemanticICONS);
@@ -35,14 +35,14 @@ export interface ActionFormSidebarItem<T extends DefineRouteOptions, K extends k
35
35
  export interface CustomSidebarItem<T extends DefineRouteOptions, K extends keyof T> extends WeightedItem, VisibilityItem {
36
36
  render: (data: ContentData<T, K>) => JSX.Element | null;
37
37
  }
38
- export declare type SidebarItem<T extends DefineRouteOptions, K extends keyof T> = (BaseSidebarItem<T, K> & RouteItem<ContentData<T, K>>) | ActionSidebarItem<T, K> | CustomSidebarItem<T, K> | ActionFormSidebarItem<T, K> | DividerSidebarItem<T, K>;
38
+ export type SidebarItem<T extends DefineRouteOptions, K extends keyof T> = (BaseSidebarItem<T, K> & RouteItem<ContentData<T, K>>) | ActionSidebarItem<T, K> | CustomSidebarItem<T, K> | ActionFormSidebarItem<T, K> | DividerSidebarItem<T, K>;
39
39
  export interface ContentHeaderObject {
40
40
  title: string;
41
41
  icon?: string;
42
42
  size?: 'tiny' | 'small' | 'medium' | 'large' | 'huge';
43
43
  }
44
44
  export declare function isContentHeaderObject(value: any): value is ContentHeaderObject;
45
- export declare type ContentHeader<T extends DefineRouteOptions, K extends keyof T> = string | ContentHeaderObject | ((data: ContentData<T, K>) => ContentHeaderObject) | JSX.Element | ((data: ContentData<T, K>) => JSX.Element) | undefined;
45
+ export type ContentHeader<T extends DefineRouteOptions, K extends keyof T> = string | ContentHeaderObject | ((data: ContentData<T, K>) => ContentHeaderObject) | JSX.Element | ((data: ContentData<T, K>) => JSX.Element) | undefined;
46
46
  export interface Page<T extends DefineRouteOptions, K extends keyof T> {
47
47
  dataHooks?: DataHookItem[];
48
48
  stateSelectorHook?: StateSelectorHook | StateSelectorHook[];
@@ -52,7 +52,7 @@ export interface Page<T extends DefineRouteOptions, K extends keyof T> {
52
52
  sidebar?: SidebarItem<T, K>[];
53
53
  full?: boolean;
54
54
  }
55
- export declare type Pages<T extends DefineRouteOptions> = {
55
+ export type Pages<T extends DefineRouteOptions> = {
56
56
  [key in keyof T]: Page<T, key> | Content<T, key>;
57
57
  };
58
58
  export declare function isPage<T extends DefineRouteOptions, K extends keyof T>(value: any): value is Page<T, K>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DefineRouteOptions } from '@imperium/router';
3
2
  import { SemanticCOLORS } from 'semantic-ui-react';
4
3
  import type { RouteItem } from '../commonItems';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DataHookItem } from './types';
3
2
  interface DataHooksProps {
4
3
  dataHooks: DataHookItem[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { PermissionSelectorHook } from '../types';
3
2
  interface PermissionHooksProps {
4
3
  permissionHooks: PermissionSelectorHook[];
@@ -5,19 +5,19 @@ export interface DataHookParams {
5
5
  /**
6
6
  * A simple hook, that doesn't return anything. If used together with a route match function, the returned route parameters are passed in.
7
7
  */
8
- export declare type DataHook = (params: DataHookParams) => void;
8
+ export type DataHook = (params: DataHookParams) => void;
9
9
  /**
10
10
  * A route match function that can be used by data hooks. Usually is the @imperium/router `routes.match.x()` functions.
11
11
  */
12
- export declare type DataHookRouteMatchFn = (route: string) => any;
12
+ export type DataHookRouteMatchFn = (route: string) => any;
13
13
  /**
14
14
  * An object that can specify one or more data hooks that can receive route parameters from one or more route match functions.
15
15
  */
16
- export declare type DataHookRoute = {
16
+ export type DataHookRoute = {
17
17
  routeMatch: DataHookRouteMatchFn;
18
18
  dataHook: DataHook | DataHook[];
19
19
  };
20
20
  /**
21
21
  * A datahook can either be a simple hook, or one or more hooks dependent on one or more route match functions.
22
22
  */
23
- export declare type DataHookItem = DataHook | DataHookRoute;
23
+ export type DataHookItem = DataHook | DataHookRoute;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Data } from '../../types';
3
2
  import type { CustomLayoutItem } from '../types';
4
3
  interface CustomLayoutItemComponentProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Data } from '../../types';
3
2
  import type { DropdownLayoutItem } from '../types';
4
3
  interface DropdownItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { MenuProps } from 'semantic-ui-react';
3
2
  import type { LayoutItem } from '../types';
4
3
  interface ItemBarProps extends MenuProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { MenuLayoutItem } from '../types';
3
2
  interface MenuItemProps {
4
3
  item: MenuLayoutItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface SecondaryMenuToggleItemProps {
3
2
  menuOpen: boolean;
4
3
  setMenuOpen: (open: boolean) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { SemanticICONS } from 'semantic-ui-react';
3
2
  import type { HorizontalPositionedItem, RouteItem, VisibilityItem, WeightedItem } from '../commonItems';
4
3
  import type { DataHookItem } from '../datahooks/types';
@@ -32,7 +31,7 @@ export interface MenuLayoutItem extends BaseLayoutItem {
32
31
  /**
33
32
  * Describes a horizontal menu item which is either a route item or dropdown menu
34
33
  */
35
- export declare type LayoutItem = (BaseLayoutItem & RouteItem<Data>) | DropdownLayoutItem | MenuLayoutItem | CustomLayoutItem;
34
+ export type LayoutItem = (BaseLayoutItem & RouteItem<Data>) | DropdownLayoutItem | MenuLayoutItem | CustomLayoutItem;
36
35
  export interface LayoutData {
37
36
  permissionSelectorHooks?: PermissionSelectorHook[];
38
37
  permissions?: PermissionSelector;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Link } from 'react-router-dom';
3
2
  import type { RouteItem } from '../commonItems';
4
3
  import type { Data } from '../types';
@@ -1,18 +1,18 @@
1
1
  import type { ImperiumClientModule } from '@imperium/client';
2
2
  import type { Location } from 'history';
3
3
  import type { LayoutData } from './layout/types';
4
- export declare type State = Record<string, any>;
4
+ export type State = Record<string, any>;
5
5
  /**
6
6
  * A hook that selects from redux state.
7
7
  */
8
- export declare type StateSelectorHook = () => State;
9
- export declare type PermissionResults = Record<string, boolean>;
10
- export declare type PermissionSelectorHook = (data: Data) => PermissionResults;
11
- export declare type PermissionSelector = string[];
8
+ export type StateSelectorHook = () => State;
9
+ export type PermissionResults = Record<string, boolean>;
10
+ export type PermissionSelectorHook = (data: Data) => PermissionResults;
11
+ export type PermissionSelector = string[];
12
12
  /**
13
13
  * The visibility query can either be a mingo query or a function that returns a boolean. The data is an object with the router path merged with any state selector hook data.
14
14
  */
15
- export declare type VisibilityQueryFn = (data: Data) => boolean;
15
+ export type VisibilityQueryFn = (data: Data) => boolean;
16
16
  export interface Data extends Record<string, unknown> {
17
17
  loc: Location;
18
18
  route: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imperium/layout",
3
- "version": "13.0.8-alpha.0+001d359",
3
+ "version": "13.0.9-alpha.0+0d54fc6",
4
4
  "description": "Imperium Layout package",
5
5
  "bugs": {
6
6
  "url": "https://github.com/thr-consulting/imperium/issues"
@@ -31,10 +31,10 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@imperium/auth-client": "^13.0.8-alpha.0+001d359",
35
- "@imperium/client": "^13.0.8-alpha.0+001d359",
36
- "@imperium/router": "^13.0.8-alpha.0+001d359",
37
- "@imperium/state": "^13.0.8-alpha.0+001d359",
34
+ "@imperium/auth-client": "^13.0.9-alpha.0+0d54fc6",
35
+ "@imperium/client": "^13.0.8",
36
+ "@imperium/router": "^13.0.8",
37
+ "@imperium/state": "^13.0.9-alpha.0+0d54fc6",
38
38
  "@thx/controls": "^17.1.10",
39
39
  "debug": "^4.4.0",
40
40
  "history": "^5.0.1",
@@ -60,5 +60,5 @@
60
60
  "publishConfig": {
61
61
  "access": "public"
62
62
  },
63
- "gitHead": "001d35962eebf0862f247e5932bd5ca0b1953e26"
63
+ "gitHead": "0d54fc6b71479a0e6ae2eb4fe8c3e3e3fc7222b7"
64
64
  }