@imperium/layout 13.0.8-alpha.0 → 13.1.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.
- package/dist/esm/layout/withLayout.js.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/stats.txt +92 -0
- package/dist/types/content/components/ActionForm.d.ts +0 -1
- package/dist/types/content/components/ActionFormSidebarItemComponent.d.ts +0 -1
- package/dist/types/content/components/ActionSidebarItemComponent.d.ts +0 -1
- package/dist/types/content/components/ContentComponent.d.ts +0 -1
- package/dist/types/content/components/CustomSidebarItemComponent.d.ts +0 -1
- package/dist/types/content/components/Header.d.ts +0 -1
- package/dist/types/content/components/PlainSidebarItem.d.ts +0 -1
- package/dist/types/content/components/SidebarItemWrapper.d.ts +0 -1
- package/dist/types/content/hooks/useBuildContentData.d.ts +1 -1
- package/dist/types/content/types.d.ts +5 -5
- package/dist/types/content/utils.d.ts +0 -1
- package/dist/types/datahooks/DataHooks.d.ts +0 -1
- package/dist/types/datahooks/PermissionHooks.d.ts +0 -1
- package/dist/types/datahooks/StateHooks.d.ts +7 -0
- package/dist/types/datahooks/types.d.ts +4 -4
- package/dist/types/layout/components/CustomLayoutItemComponent.d.ts +0 -1
- package/dist/types/layout/components/DropdownItem.d.ts +0 -1
- package/dist/types/layout/components/LayoutItemBar.d.ts +0 -1
- package/dist/types/layout/components/MenuItem.d.ts +0 -1
- package/dist/types/layout/components/SecondaryMenuToggleItem.d.ts +0 -1
- package/dist/types/layout/hooks/useMobileLayout.d.ts +1 -0
- package/dist/types/layout/types.d.ts +1 -2
- package/dist/types/layout/utils.d.ts +0 -1
- package/dist/types/types.d.ts +6 -6
- package/package.json +6 -6
|
@@ -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,
|
|
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":"5add-1"}]},{"name":"state.js","children":[{"name":"src/state.ts","uid":"5add-3"}]},{"name":"content/dividerSidebarItem.js","children":[{"name":"src/content/dividerSidebarItem.ts","uid":"5add-5"}]},{"name":"layout/withLayout.js","children":[{"name":"src/layout/withLayout.tsx","uid":"5add-7"}]},{"name":"content/createPages.js","children":[{"name":"src/content/createPages.tsx","uid":"5add-9"}]},{"name":"types.js","children":[{"name":"src/types.ts","uid":"5add-11"}]},{"name":"content/types.js","children":[{"name":"src/content/types.ts","uid":"5add-13"}]},{"name":"datahooks/DataHooks.js","children":[{"name":"src/datahooks/DataHooks.tsx","uid":"5add-15"}]},{"name":"datahooks/Permissions.js","children":[{"name":"src/datahooks/Permissions.tsx","uid":"5add-17"}]},{"name":"datahooks/PermissionHooks.js","children":[{"name":"src/datahooks/PermissionHooks.tsx","uid":"5add-19"}]},{"name":"content/components/ContentComponent.js","children":[{"name":"src/content/components/ContentComponent.tsx","uid":"5add-21"}]},{"name":"layout/components/Layout.js","children":[{"name":"src/layout/components/Layout.tsx","uid":"5add-23"}]},{"name":"utils.js","children":[{"name":"src/utils.ts","uid":"5add-25"}]},{"name":"datahooks/ExecuteDataHook.js","children":[{"name":"src/datahooks/ExecuteDataHook.tsx","uid":"5add-27"}]},{"name":"datahooks/ExecutePermissionHook.js","children":[{"name":"src/datahooks/ExecutePermissionHook.tsx","uid":"5add-29"}]},{"name":"layout/moveItems.js","children":[{"name":"src/layout/moveItems.ts","uid":"5add-31"}]},{"name":"content/components/styles.module.css.js","children":[{"name":"src/content/components/styles.module.css","uid":"5add-33"}]},{"name":"layout/components/styles.module.css.js","children":[{"name":"src/layout/components/styles.module.css","uid":"5add-35"}]},{"name":"content/components/SidebarItemWrapper.js","children":[{"name":"src/content/components/SidebarItemWrapper.tsx","uid":"5add-37"}]},{"name":"content/components/Header.js","children":[{"name":"src/content/components/Header.tsx","uid":"5add-39"}]},{"name":"content/hooks/useBuildContentData.js","children":[{"name":"src/content/hooks/useBuildContentData.ts","uid":"5add-41"}]},{"name":"layout/components/LayoutItemBar.js","children":[{"name":"src/layout/components/LayoutItemBar.tsx","uid":"5add-43"}]},{"name":"layout/components/SecondaryMenuToggleItem.js","children":[{"name":"src/layout/components/SecondaryMenuToggleItem.tsx","uid":"5add-45"}]},{"name":"layout/types.js","children":[{"name":"src/layout/types.ts","uid":"5add-47"}]},{"name":"layout/utils.js","children":[{"name":"src/layout/utils.tsx","uid":"5add-49"}]},{"name":"hooks/useBuildData.js","children":[{"name":"src/hooks/useBuildData.ts","uid":"5add-51"}]},{"name":"content/components/ActionFormSidebarItemComponent.js","children":[{"name":"src/content/components/ActionFormSidebarItemComponent.tsx","uid":"5add-53"}]},{"name":"content/components/ActionSidebarItemComponent.js","children":[{"name":"src/content/components/ActionSidebarItemComponent.tsx","uid":"5add-55"}]},{"name":"content/components/CustomSidebarItemComponent.js","children":[{"name":"src/content/components/CustomSidebarItemComponent.tsx","uid":"5add-57"}]},{"name":"content/components/PlainSidebarItem.js","children":[{"name":"src/content/components/PlainSidebarItem.tsx","uid":"5add-59"}]},{"name":"layout/components/LayoutItemWrapper.js","children":[{"name":"src/layout/components/LayoutItemWrapper.tsx","uid":"5add-61"}]},{"name":"commonItems.js","children":[{"name":"src/commonItems.ts","uid":"5add-63"}]},{"name":"hooks/useIsActiveRoute.js","children":[{"name":"src/hooks/useIsActiveRoute.ts","uid":"5add-65"}]},{"name":"hooks/useSelectPermission.js","children":[{"name":"src/hooks/useSelectPermission.ts","uid":"5add-67"}]},{"name":"hooks/useSelectState.js","children":[{"name":"src/hooks/useSelectState.ts","uid":"5add-69"}]},{"name":"content/utils.js","children":[{"name":"src/content/utils.tsx","uid":"5add-71"}]},{"name":"content/components/ActionForm.js","children":[{"name":"src/content/components/ActionForm.tsx","uid":"5add-73"}]},{"name":"layout/components/CustomLayoutItemComponent.js","children":[{"name":"src/layout/components/CustomLayoutItemComponent.tsx","uid":"5add-75"}]},{"name":"layout/components/DropdownItem.js","children":[{"name":"src/layout/components/DropdownItem.tsx","uid":"5add-77"}]},{"name":"layout/components/MenuItem.js","children":[{"name":"src/layout/components/MenuItem.tsx","uid":"5add-79"}]},{"name":"layout/components/PlainItem.js","children":[{"name":"src/layout/components/PlainItem.tsx","uid":"5add-81"}]},{"name":"external/style-inject/dist/style-inject.es.js","children":[{"name":"home/artemis/GitHub/imperium/node_modules/style-inject/dist/style-inject.es.js","uid":"5add-83"}]}],"isRoot":true},"nodeParts":{"5add-1":{"renderedLength":144,"gzipLength":131,"brotliLength":106,"mainUid":"5add-0"},"5add-3":{"renderedLength":489,"gzipLength":250,"brotliLength":217,"mainUid":"5add-2"},"5add-5":{"renderedLength":59,"gzipLength":73,"brotliLength":63,"mainUid":"5add-4"},"5add-7":{"renderedLength":1955,"gzipLength":562,"brotliLength":488,"mainUid":"5add-6"},"5add-9":{"renderedLength":650,"gzipLength":301,"brotliLength":268,"mainUid":"5add-8"},"5add-11":{"renderedLength":121,"gzipLength":111,"brotliLength":90,"mainUid":"5add-10"},"5add-13":{"renderedLength":388,"gzipLength":167,"brotliLength":111,"mainUid":"5add-12"},"5add-15":{"renderedLength":1058,"gzipLength":390,"brotliLength":330,"mainUid":"5add-14"},"5add-17":{"renderedLength":808,"gzipLength":351,"brotliLength":306,"mainUid":"5add-16"},"5add-19":{"renderedLength":339,"gzipLength":202,"brotliLength":164,"mainUid":"5add-18"},"5add-21":{"renderedLength":3376,"gzipLength":879,"brotliLength":768,"mainUid":"5add-20"},"5add-23":{"renderedLength":2512,"gzipLength":751,"brotliLength":636,"mainUid":"5add-22"},"5add-25":{"renderedLength":145,"gzipLength":117,"brotliLength":116,"mainUid":"5add-24"},"5add-27":{"renderedLength":123,"gzipLength":111,"brotliLength":93,"mainUid":"5add-26"},"5add-29":{"renderedLength":345,"gzipLength":207,"brotliLength":172,"mainUid":"5add-28"},"5add-31":{"renderedLength":1401,"gzipLength":376,"brotliLength":347,"mainUid":"5add-30"},"5add-33":{"renderedLength":2119,"gzipLength":680,"brotliLength":565,"mainUid":"5add-32"},"5add-35":{"renderedLength":3176,"gzipLength":928,"brotliLength":762,"mainUid":"5add-34"},"5add-37":{"renderedLength":1189,"gzipLength":399,"brotliLength":314,"mainUid":"5add-36"},"5add-39":{"renderedLength":1042,"gzipLength":377,"brotliLength":323,"mainUid":"5add-38"},"5add-41":{"renderedLength":257,"gzipLength":158,"brotliLength":122,"mainUid":"5add-40"},"5add-43":{"renderedLength":726,"gzipLength":294,"brotliLength":252,"mainUid":"5add-42"},"5add-45":{"renderedLength":356,"gzipLength":233,"brotliLength":176,"mainUid":"5add-44"},"5add-47":{"renderedLength":191,"gzipLength":113,"brotliLength":89,"mainUid":"5add-46"},"5add-49":{"renderedLength":915,"gzipLength":393,"brotliLength":328,"mainUid":"5add-48"},"5add-51":{"renderedLength":799,"gzipLength":370,"brotliLength":330,"mainUid":"5add-50"},"5add-53":{"renderedLength":663,"gzipLength":346,"brotliLength":277,"mainUid":"5add-52"},"5add-55":{"renderedLength":362,"gzipLength":246,"brotliLength":185,"mainUid":"5add-54"},"5add-57":{"renderedLength":83,"gzipLength":97,"brotliLength":66,"mainUid":"5add-56"},"5add-59":{"renderedLength":344,"gzipLength":236,"brotliLength":186,"mainUid":"5add-58"},"5add-61":{"renderedLength":1503,"gzipLength":487,"brotliLength":399,"mainUid":"5add-60"},"5add-63":{"renderedLength":203,"gzipLength":136,"brotliLength":97,"mainUid":"5add-62"},"5add-65":{"renderedLength":514,"gzipLength":227,"brotliLength":187,"mainUid":"5add-64"},"5add-67":{"renderedLength":294,"gzipLength":155,"brotliLength":114,"mainUid":"5add-66"},"5add-69":{"renderedLength":326,"gzipLength":176,"brotliLength":141,"mainUid":"5add-68"},"5add-71":{"renderedLength":628,"gzipLength":259,"brotliLength":219,"mainUid":"5add-70"},"5add-73":{"renderedLength":1667,"gzipLength":624,"brotliLength":519,"mainUid":"5add-72"},"5add-75":{"renderedLength":82,"gzipLength":96,"brotliLength":66,"mainUid":"5add-74"},"5add-77":{"renderedLength":1179,"gzipLength":450,"brotliLength":362,"mainUid":"5add-76"},"5add-79":{"renderedLength":252,"gzipLength":157,"brotliLength":116,"mainUid":"5add-78"},"5add-81":{"renderedLength":379,"gzipLength":264,"brotliLength":224,"mainUid":"5add-80"},"5add-83":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"5add-82"}},"nodeMetas":{"5add-0":{"id":"/src/index.ts","moduleParts":{"index.js":"5add-1"},"imported":[{"uid":"5add-6"},{"uid":"5add-2"},{"uid":"5add-8"},{"uid":"5add-4"}],"importedBy":[],"isEntry":true},"5add-2":{"id":"/src/state.ts","moduleParts":{"state.js":"5add-3"},"imported":[{"uid":"5add-86"},{"uid":"5add-87"}],"importedBy":[{"uid":"5add-0"},{"uid":"5add-16"},{"uid":"5add-20"},{"uid":"5add-28"},{"uid":"5add-50"}]},"5add-4":{"id":"/src/content/dividerSidebarItem.ts","moduleParts":{"content/dividerSidebarItem.js":"5add-5"},"imported":[],"importedBy":[{"uid":"5add-0"}]},"5add-6":{"id":"/src/layout/withLayout.tsx","moduleParts":{"layout/withLayout.js":"5add-7"},"imported":[{"uid":"5add-84"},{"uid":"5add-85"},{"uid":"5add-14"},{"uid":"5add-18"},{"uid":"5add-16"},{"uid":"5add-10"},{"uid":"5add-22"}],"importedBy":[{"uid":"5add-0"}]},"5add-8":{"id":"/src/content/createPages.tsx","moduleParts":{"content/createPages.js":"5add-9"},"imported":[{"uid":"5add-84"},{"uid":"5add-85"},{"uid":"5add-20"},{"uid":"5add-12"}],"importedBy":[{"uid":"5add-0"}]},"5add-10":{"id":"/src/types.ts","moduleParts":{"types.js":"5add-11"},"imported":[],"importedBy":[{"uid":"5add-6"}]},"5add-12":{"id":"/src/content/types.ts","moduleParts":{"content/types.js":"5add-13"},"imported":[],"importedBy":[{"uid":"5add-8"},{"uid":"5add-38"},{"uid":"5add-36"}]},"5add-14":{"id":"/src/datahooks/DataHooks.tsx","moduleParts":{"datahooks/DataHooks.js":"5add-15"},"imported":[{"uid":"5add-84"},{"uid":"5add-85"},{"uid":"5add-88"},{"uid":"5add-26"}],"importedBy":[{"uid":"5add-6"},{"uid":"5add-20"}]},"5add-16":{"id":"/src/datahooks/Permissions.tsx","moduleParts":{"datahooks/Permissions.js":"5add-17"},"imported":[{"uid":"5add-84"},{"uid":"5add-89"},{"uid":"5add-85"},{"uid":"5add-90"},{"uid":"5add-2"}],"importedBy":[{"uid":"5add-6"}]},"5add-18":{"id":"/src/datahooks/PermissionHooks.tsx","moduleParts":{"datahooks/PermissionHooks.js":"5add-19"},"imported":[{"uid":"5add-84"},{"uid":"5add-85"},{"uid":"5add-28"}],"importedBy":[{"uid":"5add-6"}]},"5add-20":{"id":"/src/content/components/ContentComponent.tsx","moduleParts":{"content/components/ContentComponent.js":"5add-21"},"imported":[{"uid":"5add-84"},{"uid":"5add-85"},{"uid":"5add-93"},{"uid":"5add-90"},{"uid":"5add-92"},{"uid":"5add-91"},{"uid":"5add-14"},{"uid":"5add-2"},{"uid":"5add-24"},{"uid":"5add-40"},{"uid":"5add-38"},{"uid":"5add-36"},{"uid":"5add-32"}],"importedBy":[{"uid":"5add-8"}]},"5add-22":{"id":"/src/layout/components/Layout.tsx","moduleParts":{"layout/components/Layout.js":"5add-23"},"imported":[{"uid":"5add-84"},{"uid":"5add-85"},{"uid":"5add-91"},{"uid":"5add-92"},{"uid":"5add-30"},{"uid":"5add-42"},{"uid":"5add-44"},{"uid":"5add-34"}],"importedBy":[{"uid":"5add-6"}]},"5add-24":{"id":"/src/utils.ts","moduleParts":{"utils.js":"5add-25"},"imported":[{"uid":"5add-93"}],"importedBy":[{"uid":"5add-20"},{"uid":"5add-42"},{"uid":"5add-60"}]},"5add-26":{"id":"/src/datahooks/ExecuteDataHook.tsx","moduleParts":{"datahooks/ExecuteDataHook.js":"5add-27"},"imported":[{"uid":"5add-84"}],"importedBy":[{"uid":"5add-14"}]},"5add-28":{"id":"/src/datahooks/ExecutePermissionHook.tsx","moduleParts":{"datahooks/ExecutePermissionHook.js":"5add-29"},"imported":[{"uid":"5add-84"},{"uid":"5add-90"},{"uid":"5add-2"}],"importedBy":[{"uid":"5add-18"}]},"5add-30":{"id":"/src/layout/moveItems.ts","moduleParts":{"layout/moveItems.js":"5add-31"},"imported":[{"uid":"5add-85"},{"uid":"5add-93"},{"uid":"5add-46"}],"importedBy":[{"uid":"5add-22"}]},"5add-32":{"id":"/src/content/components/styles.module.css","moduleParts":{"content/components/styles.module.css.js":"5add-33"},"imported":[{"uid":"5add-82"}],"importedBy":[{"uid":"5add-20"},{"uid":"5add-38"}]},"5add-34":{"id":"/src/layout/components/styles.module.css","moduleParts":{"layout/components/styles.module.css.js":"5add-35"},"imported":[{"uid":"5add-82"}],"importedBy":[{"uid":"5add-22"},{"uid":"5add-44"},{"uid":"5add-76"}]},"5add-36":{"id":"/src/content/components/SidebarItemWrapper.tsx","moduleParts":{"content/components/SidebarItemWrapper.js":"5add-37"},"imported":[{"uid":"5add-84"},{"uid":"5add-85"},{"uid":"5add-94"},{"uid":"5add-92"},{"uid":"5add-40"},{"uid":"5add-12"},{"uid":"5add-52"},{"uid":"5add-54"},{"uid":"5add-56"},{"uid":"5add-58"}],"importedBy":[{"uid":"5add-20"}]},"5add-38":{"id":"/src/content/components/Header.tsx","moduleParts":{"content/components/Header.js":"5add-39"},"imported":[{"uid":"5add-84"},{"uid":"5add-85"},{"uid":"5add-92"},{"uid":"5add-12"},{"uid":"5add-32"}],"importedBy":[{"uid":"5add-20"}]},"5add-40":{"id":"/src/content/hooks/useBuildContentData.ts","moduleParts":{"content/hooks/useBuildContentData.js":"5add-41"},"imported":[{"uid":"5add-50"}],"importedBy":[{"uid":"5add-20"},{"uid":"5add-36"}]},"5add-42":{"id":"/src/layout/components/LayoutItemBar.tsx","moduleParts":{"layout/components/LayoutItemBar.js":"5add-43"},"imported":[{"uid":"5add-84"},{"uid":"5add-85"},{"uid":"5add-92"},{"uid":"5add-24"},{"uid":"5add-48"},{"uid":"5add-60"}],"importedBy":[{"uid":"5add-22"}]},"5add-44":{"id":"/src/layout/components/SecondaryMenuToggleItem.tsx","moduleParts":{"layout/components/SecondaryMenuToggleItem.js":"5add-45"},"imported":[{"uid":"5add-84"},{"uid":"5add-92"},{"uid":"5add-34"}],"importedBy":[{"uid":"5add-22"}]},"5add-46":{"id":"/src/layout/types.ts","moduleParts":{"layout/types.js":"5add-47"},"imported":[],"importedBy":[{"uid":"5add-30"},{"uid":"5add-60"}]},"5add-48":{"id":"/src/layout/utils.tsx","moduleParts":{"layout/utils.js":"5add-49"},"imported":[{"uid":"5add-84"},{"uid":"5add-88"},{"uid":"5add-92"},{"uid":"5add-62"}],"importedBy":[{"uid":"5add-42"},{"uid":"5add-76"},{"uid":"5add-80"}]},"5add-50":{"id":"/src/hooks/useBuildData.ts","moduleParts":{"hooks/useBuildData.js":"5add-51"},"imported":[{"uid":"5add-89"},{"uid":"5add-85"},{"uid":"5add-93"},{"uid":"5add-88"},{"uid":"5add-2"},{"uid":"5add-64"},{"uid":"5add-66"},{"uid":"5add-68"}],"importedBy":[{"uid":"5add-40"},{"uid":"5add-60"}]},"5add-52":{"id":"/src/content/components/ActionFormSidebarItemComponent.tsx","moduleParts":{"content/components/ActionFormSidebarItemComponent.js":"5add-53"},"imported":[{"uid":"5add-84"},{"uid":"5add-85"},{"uid":"5add-92"},{"uid":"5add-70"},{"uid":"5add-72"}],"importedBy":[{"uid":"5add-36"}]},"5add-54":{"id":"/src/content/components/ActionSidebarItemComponent.tsx","moduleParts":{"content/components/ActionSidebarItemComponent.js":"5add-55"},"imported":[{"uid":"5add-84"},{"uid":"5add-92"},{"uid":"5add-70"}],"importedBy":[{"uid":"5add-36"}]},"5add-56":{"id":"/src/content/components/CustomSidebarItemComponent.tsx","moduleParts":{"content/components/CustomSidebarItemComponent.js":"5add-57"},"imported":[{"uid":"5add-84"}],"importedBy":[{"uid":"5add-36"}]},"5add-58":{"id":"/src/content/components/PlainSidebarItem.tsx","moduleParts":{"content/components/PlainSidebarItem.js":"5add-59"},"imported":[{"uid":"5add-84"},{"uid":"5add-88"},{"uid":"5add-92"},{"uid":"5add-70"}],"importedBy":[{"uid":"5add-36"}]},"5add-60":{"id":"/src/layout/components/LayoutItemWrapper.tsx","moduleParts":{"layout/components/LayoutItemWrapper.js":"5add-61"},"imported":[{"uid":"5add-84"},{"uid":"5add-85"},{"uid":"5add-94"},{"uid":"5add-92"},{"uid":"5add-50"},{"uid":"5add-24"},{"uid":"5add-46"},{"uid":"5add-74"},{"uid":"5add-76"},{"uid":"5add-78"},{"uid":"5add-80"}],"importedBy":[{"uid":"5add-42"}]},"5add-62":{"id":"/src/commonItems.ts","moduleParts":{"commonItems.js":"5add-63"},"imported":[],"importedBy":[{"uid":"5add-48"},{"uid":"5add-64"}]},"5add-64":{"id":"/src/hooks/useIsActiveRoute.ts","moduleParts":{"hooks/useIsActiveRoute.js":"5add-65"},"imported":[{"uid":"5add-95"},{"uid":"5add-62"}],"importedBy":[{"uid":"5add-50"}]},"5add-66":{"id":"/src/hooks/useSelectPermission.ts","moduleParts":{"hooks/useSelectPermission.js":"5add-67"},"imported":[{"uid":"5add-93"}],"importedBy":[{"uid":"5add-50"}]},"5add-68":{"id":"/src/hooks/useSelectState.ts","moduleParts":{"hooks/useSelectState.js":"5add-69"},"imported":[{"uid":"5add-93"}],"importedBy":[{"uid":"5add-50"}]},"5add-70":{"id":"/src/content/utils.tsx","moduleParts":{"content/utils.js":"5add-71"},"imported":[{"uid":"5add-84"},{"uid":"5add-92"}],"importedBy":[{"uid":"5add-52"},{"uid":"5add-54"},{"uid":"5add-58"}]},"5add-72":{"id":"/src/content/components/ActionForm.tsx","moduleParts":{"content/components/ActionForm.js":"5add-73"},"imported":[{"uid":"5add-84"},{"uid":"5add-96"},{"uid":"5add-85"},{"uid":"5add-92"}],"importedBy":[{"uid":"5add-52"}]},"5add-74":{"id":"/src/layout/components/CustomLayoutItemComponent.tsx","moduleParts":{"layout/components/CustomLayoutItemComponent.js":"5add-75"},"imported":[{"uid":"5add-84"}],"importedBy":[{"uid":"5add-60"}]},"5add-76":{"id":"/src/layout/components/DropdownItem.tsx","moduleParts":{"layout/components/DropdownItem.js":"5add-77"},"imported":[{"uid":"5add-84"},{"uid":"5add-85"},{"uid":"5add-92"},{"uid":"5add-48"},{"uid":"5add-34"}],"importedBy":[{"uid":"5add-60"}]},"5add-78":{"id":"/src/layout/components/MenuItem.tsx","moduleParts":{"layout/components/MenuItem.js":"5add-79"},"imported":[{"uid":"5add-84"},{"uid":"5add-92"}],"importedBy":[{"uid":"5add-60"}]},"5add-80":{"id":"/src/layout/components/PlainItem.tsx","moduleParts":{"layout/components/PlainItem.js":"5add-81"},"imported":[{"uid":"5add-84"},{"uid":"5add-91"},{"uid":"5add-92"},{"uid":"5add-48"}],"importedBy":[{"uid":"5add-60"}]},"5add-82":{"id":"/home/artemis/GitHub/imperium/node_modules/style-inject/dist/style-inject.es.js","moduleParts":{"external/style-inject/dist/style-inject.es.js":"5add-83"},"imported":[],"importedBy":[{"uid":"5add-34"},{"uid":"5add-32"}]},"5add-84":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"5add-6"},{"uid":"5add-8"},{"uid":"5add-14"},{"uid":"5add-18"},{"uid":"5add-16"},{"uid":"5add-22"},{"uid":"5add-20"},{"uid":"5add-26"},{"uid":"5add-28"},{"uid":"5add-42"},{"uid":"5add-44"},{"uid":"5add-38"},{"uid":"5add-36"},{"uid":"5add-48"},{"uid":"5add-60"},{"uid":"5add-52"},{"uid":"5add-54"},{"uid":"5add-56"},{"uid":"5add-58"},{"uid":"5add-74"},{"uid":"5add-76"},{"uid":"5add-78"},{"uid":"5add-80"},{"uid":"5add-70"},{"uid":"5add-72"}],"isExternal":true},"5add-85":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"5add-6"},{"uid":"5add-8"},{"uid":"5add-14"},{"uid":"5add-18"},{"uid":"5add-16"},{"uid":"5add-22"},{"uid":"5add-20"},{"uid":"5add-30"},{"uid":"5add-42"},{"uid":"5add-38"},{"uid":"5add-36"},{"uid":"5add-60"},{"uid":"5add-50"},{"uid":"5add-52"},{"uid":"5add-76"},{"uid":"5add-72"}],"isExternal":true},"5add-86":{"id":"@imperium/state","moduleParts":{},"imported":[],"importedBy":[{"uid":"5add-2"}],"isExternal":true},"5add-87":{"id":"@reduxjs/toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"5add-2"}],"isExternal":true},"5add-88":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"5add-14"},{"uid":"5add-48"},{"uid":"5add-50"},{"uid":"5add-58"}],"isExternal":true},"5add-89":{"id":"@imperium/auth-client","moduleParts":{},"imported":[],"importedBy":[{"uid":"5add-16"},{"uid":"5add-50"}],"isExternal":true},"5add-90":{"id":"react-redux","moduleParts":{},"imported":[],"importedBy":[{"uid":"5add-16"},{"uid":"5add-20"},{"uid":"5add-28"}],"isExternal":true},"5add-91":{"id":"react-responsive","moduleParts":{},"imported":[],"importedBy":[{"uid":"5add-22"},{"uid":"5add-20"},{"uid":"5add-80"}],"isExternal":true},"5add-92":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"5add-22"},{"uid":"5add-20"},{"uid":"5add-42"},{"uid":"5add-44"},{"uid":"5add-38"},{"uid":"5add-36"},{"uid":"5add-48"},{"uid":"5add-60"},{"uid":"5add-52"},{"uid":"5add-54"},{"uid":"5add-58"},{"uid":"5add-76"},{"uid":"5add-78"},{"uid":"5add-80"},{"uid":"5add-70"},{"uid":"5add-72"}],"isExternal":true},"5add-93":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"5add-20"},{"uid":"5add-30"},{"uid":"5add-24"},{"uid":"5add-50"},{"uid":"5add-66"},{"uid":"5add-68"}],"isExternal":true},"5add-94":{"id":"mingo","moduleParts":{},"imported":[],"importedBy":[{"uid":"5add-36"},{"uid":"5add-60"}],"isExternal":true},"5add-95":{"id":"react-router","moduleParts":{},"imported":[],"importedBy":[{"uid":"5add-64"}],"isExternal":true},"5add-96":{"id":"@thx/controls","moduleParts":{},"imported":[],"importedBy":[{"uid":"5add-72"}],"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;
|
package/dist/stats.txt
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
-----------------------------
|
|
2
|
+
Rollup File Analysis
|
|
3
|
+
-----------------------------
|
|
4
|
+
bundle size: 33.798 KB
|
|
5
|
+
original size: 53.323 KB
|
|
6
|
+
code reduction: 36.62 %
|
|
7
|
+
module count: 42
|
|
8
|
+
|
|
9
|
+
/src/content/components/ContentComponent.tsx
|
|
10
|
+
████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 9.99 % (3.376 KB)
|
|
11
|
+
/src/layout/components/styles.module.css
|
|
12
|
+
████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 9.4 % (3.176 KB)
|
|
13
|
+
/src/layout/components/Layout.tsx
|
|
14
|
+
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 7.43 % (2.512 KB)
|
|
15
|
+
/src/content/components/styles.module.css
|
|
16
|
+
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.27 % (2.119 KB)
|
|
17
|
+
/src/layout/withLayout.tsx
|
|
18
|
+
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.78 % (1.955 KB)
|
|
19
|
+
/src/content/components/ActionForm.tsx
|
|
20
|
+
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.93 % (1.667 KB)
|
|
21
|
+
/src/layout/components/LayoutItemWrapper.tsx
|
|
22
|
+
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.45 % (1.503 KB)
|
|
23
|
+
/src/layout/moveItems.ts
|
|
24
|
+
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.15 % (1.401 KB)
|
|
25
|
+
/src/content/components/SidebarItemWrapper.tsx
|
|
26
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.52 % (1.189 KB)
|
|
27
|
+
/src/layout/components/DropdownItem.tsx
|
|
28
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.49 % (1.179 KB)
|
|
29
|
+
/src/datahooks/DataHooks.tsx
|
|
30
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.13 % (1.058 KB)
|
|
31
|
+
/src/content/components/Header.tsx
|
|
32
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.08 % (1.042 KB)
|
|
33
|
+
/src/layout/utils.tsx
|
|
34
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.71 % (915 Bytes)
|
|
35
|
+
/src/datahooks/Permissions.tsx
|
|
36
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.39 % (808 Bytes)
|
|
37
|
+
/src/hooks/useBuildData.ts
|
|
38
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.36 % (799 Bytes)
|
|
39
|
+
/src/layout/components/LayoutItemBar.tsx
|
|
40
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.15 % (726 Bytes)
|
|
41
|
+
/src/content/components/ActionFormSidebarItemComponent.tsx
|
|
42
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.96 % (663 Bytes)
|
|
43
|
+
/src/content/createPages.tsx
|
|
44
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.92 % (650 Bytes)
|
|
45
|
+
/home/artemis/GitHub/imperium/node_modules/style-inject/dist/style-inject.es.js
|
|
46
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.88 % (636 Bytes)
|
|
47
|
+
/src/content/utils.tsx
|
|
48
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.86 % (628 Bytes)
|
|
49
|
+
/src/hooks/useIsActiveRoute.ts
|
|
50
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.52 % (514 Bytes)
|
|
51
|
+
/src/state.ts
|
|
52
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.45 % (489 Bytes)
|
|
53
|
+
/src/content/types.ts
|
|
54
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.15 % (388 Bytes)
|
|
55
|
+
/src/layout/components/PlainItem.tsx
|
|
56
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.12 % (379 Bytes)
|
|
57
|
+
/src/content/components/ActionSidebarItemComponent.tsx
|
|
58
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.07 % (362 Bytes)
|
|
59
|
+
/src/layout/components/SecondaryMenuToggleItem.tsx
|
|
60
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.05 % (356 Bytes)
|
|
61
|
+
/src/datahooks/ExecutePermissionHook.tsx
|
|
62
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.02 % (345 Bytes)
|
|
63
|
+
/src/content/components/PlainSidebarItem.tsx
|
|
64
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.02 % (344 Bytes)
|
|
65
|
+
/src/datahooks/PermissionHooks.tsx
|
|
66
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1 % (339 Bytes)
|
|
67
|
+
/src/hooks/useSelectState.ts
|
|
68
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.96 % (326 Bytes)
|
|
69
|
+
/src/hooks/useSelectPermission.ts
|
|
70
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.87 % (294 Bytes)
|
|
71
|
+
/src/content/hooks/useBuildContentData.ts
|
|
72
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.76 % (257 Bytes)
|
|
73
|
+
/src/layout/components/MenuItem.tsx
|
|
74
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.75 % (252 Bytes)
|
|
75
|
+
/src/commonItems.ts
|
|
76
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.6 % (203 Bytes)
|
|
77
|
+
/src/layout/types.ts
|
|
78
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.57 % (191 Bytes)
|
|
79
|
+
/src/utils.ts
|
|
80
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.43 % (145 Bytes)
|
|
81
|
+
/src/index.ts
|
|
82
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.43 % (144 Bytes)
|
|
83
|
+
/src/datahooks/ExecuteDataHook.tsx
|
|
84
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.36 % (123 Bytes)
|
|
85
|
+
/src/types.ts
|
|
86
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.36 % (121 Bytes)
|
|
87
|
+
/src/content/components/CustomSidebarItemComponent.tsx
|
|
88
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.25 % (83 Bytes)
|
|
89
|
+
/src/layout/components/CustomLayoutItemComponent.tsx
|
|
90
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.24 % (82 Bytes)
|
|
91
|
+
/src/content/dividerSidebarItem.ts
|
|
92
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.17 % (59 Bytes)
|
|
@@ -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> {
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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>;
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
23
|
+
export type DataHookItem = DataHook | DataHookRoute;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useMobileLayout(): 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
|
|
34
|
+
export type LayoutItem = (BaseLayoutItem & RouteItem<Data>) | DropdownLayoutItem | MenuLayoutItem | CustomLayoutItem;
|
|
36
35
|
export interface LayoutData {
|
|
37
36
|
permissionSelectorHooks?: PermissionSelectorHook[];
|
|
38
37
|
permissions?: PermissionSelector;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -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
|
|
4
|
+
export type State = Record<string, any>;
|
|
5
5
|
/**
|
|
6
6
|
* A hook that selects from redux state.
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
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
|
|
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.
|
|
3
|
+
"version": "13.1.0",
|
|
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.
|
|
35
|
-
"@imperium/client": "^13.0.8
|
|
36
|
-
"@imperium/router": "^13.0.8
|
|
37
|
-
"@imperium/state": "^13.
|
|
34
|
+
"@imperium/auth-client": "^13.1.0",
|
|
35
|
+
"@imperium/client": "^13.0.8",
|
|
36
|
+
"@imperium/router": "^13.0.8",
|
|
37
|
+
"@imperium/state": "^13.1.0",
|
|
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": "
|
|
63
|
+
"gitHead": "7009e49c48bc31ee78fedc452b19285328e5ed5c"
|
|
64
64
|
}
|