@imperium/layout 13.0.8 → 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.
- package/dist/esm/layout/withLayout.js.map +1 -1
- package/dist/stats.html +1 -1
- 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/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/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 +4 -4
- package/dist/stats.txt +0 -92
- package/dist/types/datahooks/StateHooks.d.ts +0 -7
- package/dist/types/layout/hooks/useMobileLayout.d.ts +0 -1
|
@@ -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":"68df-1"}]},{"name":"state.js","children":[{"name":"src/state.ts","uid":"68df-3"}]},{"name":"content/dividerSidebarItem.js","children":[{"name":"src/content/dividerSidebarItem.ts","uid":"68df-5"}]},{"name":"layout/withLayout.js","children":[{"name":"src/layout/withLayout.tsx","uid":"68df-7"}]},{"name":"content/createPages.js","children":[{"name":"src/content/createPages.tsx","uid":"68df-9"}]},{"name":"types.js","children":[{"name":"src/types.ts","uid":"68df-11"}]},{"name":"content/types.js","children":[{"name":"src/content/types.ts","uid":"68df-13"}]},{"name":"datahooks/DataHooks.js","children":[{"name":"src/datahooks/DataHooks.tsx","uid":"68df-15"}]},{"name":"datahooks/PermissionHooks.js","children":[{"name":"src/datahooks/PermissionHooks.tsx","uid":"68df-17"}]},{"name":"datahooks/Permissions.js","children":[{"name":"src/datahooks/Permissions.tsx","uid":"68df-19"}]},{"name":"content/components/ContentComponent.js","children":[{"name":"src/content/components/ContentComponent.tsx","uid":"68df-21"}]},{"name":"layout/components/Layout.js","children":[{"name":"src/layout/components/Layout.tsx","uid":"68df-23"}]},{"name":"datahooks/ExecutePermissionHook.js","children":[{"name":"src/datahooks/ExecutePermissionHook.tsx","uid":"68df-25"}]},{"name":"datahooks/ExecuteDataHook.js","children":[{"name":"src/datahooks/ExecuteDataHook.tsx","uid":"68df-27"}]},{"name":"utils.js","children":[{"name":"src/utils.ts","uid":"68df-29"}]},{"name":"layout/moveItems.js","children":[{"name":"src/layout/moveItems.ts","uid":"68df-31"}]},{"name":"layout/components/styles.module.css.js","children":[{"name":"src/layout/components/styles.module.css","uid":"68df-33"}]},{"name":"content/components/styles.module.css.js","children":[{"name":"src/content/components/styles.module.css","uid":"68df-35"}]},{"name":"layout/components/LayoutItemBar.js","children":[{"name":"src/layout/components/LayoutItemBar.tsx","uid":"68df-37"}]},{"name":"layout/components/SecondaryMenuToggleItem.js","children":[{"name":"src/layout/components/SecondaryMenuToggleItem.tsx","uid":"68df-39"}]},{"name":"content/hooks/useBuildContentData.js","children":[{"name":"src/content/hooks/useBuildContentData.ts","uid":"68df-41"}]},{"name":"content/components/SidebarItemWrapper.js","children":[{"name":"src/content/components/SidebarItemWrapper.tsx","uid":"68df-43"}]},{"name":"content/components/Header.js","children":[{"name":"src/content/components/Header.tsx","uid":"68df-45"}]},{"name":"layout/types.js","children":[{"name":"src/layout/types.ts","uid":"68df-47"}]},{"name":"layout/utils.js","children":[{"name":"src/layout/utils.tsx","uid":"68df-49"}]},{"name":"hooks/useBuildData.js","children":[{"name":"src/hooks/useBuildData.ts","uid":"68df-51"}]},{"name":"layout/components/LayoutItemWrapper.js","children":[{"name":"src/layout/components/LayoutItemWrapper.tsx","uid":"68df-53"}]},{"name":"content/components/ActionFormSidebarItemComponent.js","children":[{"name":"src/content/components/ActionFormSidebarItemComponent.tsx","uid":"68df-55"}]},{"name":"content/components/ActionSidebarItemComponent.js","children":[{"name":"src/content/components/ActionSidebarItemComponent.tsx","uid":"68df-57"}]},{"name":"content/components/CustomSidebarItemComponent.js","children":[{"name":"src/content/components/CustomSidebarItemComponent.tsx","uid":"68df-59"}]},{"name":"content/components/PlainSidebarItem.js","children":[{"name":"src/content/components/PlainSidebarItem.tsx","uid":"68df-61"}]},{"name":"commonItems.js","children":[{"name":"src/commonItems.ts","uid":"68df-63"}]},{"name":"hooks/useIsActiveRoute.js","children":[{"name":"src/hooks/useIsActiveRoute.ts","uid":"68df-65"}]},{"name":"hooks/useSelectPermission.js","children":[{"name":"src/hooks/useSelectPermission.ts","uid":"68df-67"}]},{"name":"hooks/useSelectState.js","children":[{"name":"src/hooks/useSelectState.ts","uid":"68df-69"}]},{"name":"content/utils.js","children":[{"name":"src/content/utils.tsx","uid":"68df-71"}]},{"name":"layout/components/CustomLayoutItemComponent.js","children":[{"name":"src/layout/components/CustomLayoutItemComponent.tsx","uid":"68df-73"}]},{"name":"layout/components/DropdownItem.js","children":[{"name":"src/layout/components/DropdownItem.tsx","uid":"68df-75"}]},{"name":"layout/components/MenuItem.js","children":[{"name":"src/layout/components/MenuItem.tsx","uid":"68df-77"}]},{"name":"layout/components/PlainItem.js","children":[{"name":"src/layout/components/PlainItem.tsx","uid":"68df-79"}]},{"name":"content/components/ActionForm.js","children":[{"name":"src/content/components/ActionForm.tsx","uid":"68df-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":"68df-83"}]}],"isRoot":true},"nodeParts":{"68df-1":{"renderedLength":144,"gzipLength":131,"brotliLength":106,"mainUid":"68df-0"},"68df-3":{"renderedLength":489,"gzipLength":250,"brotliLength":217,"mainUid":"68df-2"},"68df-5":{"renderedLength":59,"gzipLength":73,"brotliLength":63,"mainUid":"68df-4"},"68df-7":{"renderedLength":1955,"gzipLength":562,"brotliLength":488,"mainUid":"68df-6"},"68df-9":{"renderedLength":650,"gzipLength":301,"brotliLength":268,"mainUid":"68df-8"},"68df-11":{"renderedLength":121,"gzipLength":111,"brotliLength":90,"mainUid":"68df-10"},"68df-13":{"renderedLength":388,"gzipLength":167,"brotliLength":111,"mainUid":"68df-12"},"68df-15":{"renderedLength":1058,"gzipLength":390,"brotliLength":330,"mainUid":"68df-14"},"68df-17":{"renderedLength":339,"gzipLength":202,"brotliLength":164,"mainUid":"68df-16"},"68df-19":{"renderedLength":808,"gzipLength":351,"brotliLength":306,"mainUid":"68df-18"},"68df-21":{"renderedLength":3376,"gzipLength":879,"brotliLength":768,"mainUid":"68df-20"},"68df-23":{"renderedLength":2512,"gzipLength":751,"brotliLength":636,"mainUid":"68df-22"},"68df-25":{"renderedLength":345,"gzipLength":207,"brotliLength":172,"mainUid":"68df-24"},"68df-27":{"renderedLength":123,"gzipLength":111,"brotliLength":93,"mainUid":"68df-26"},"68df-29":{"renderedLength":145,"gzipLength":117,"brotliLength":116,"mainUid":"68df-28"},"68df-31":{"renderedLength":1401,"gzipLength":376,"brotliLength":347,"mainUid":"68df-30"},"68df-33":{"renderedLength":3176,"gzipLength":928,"brotliLength":762,"mainUid":"68df-32"},"68df-35":{"renderedLength":2119,"gzipLength":680,"brotliLength":565,"mainUid":"68df-34"},"68df-37":{"renderedLength":726,"gzipLength":294,"brotliLength":252,"mainUid":"68df-36"},"68df-39":{"renderedLength":356,"gzipLength":233,"brotliLength":176,"mainUid":"68df-38"},"68df-41":{"renderedLength":257,"gzipLength":158,"brotliLength":122,"mainUid":"68df-40"},"68df-43":{"renderedLength":1189,"gzipLength":399,"brotliLength":314,"mainUid":"68df-42"},"68df-45":{"renderedLength":1042,"gzipLength":377,"brotliLength":323,"mainUid":"68df-44"},"68df-47":{"renderedLength":191,"gzipLength":113,"brotliLength":89,"mainUid":"68df-46"},"68df-49":{"renderedLength":915,"gzipLength":393,"brotliLength":328,"mainUid":"68df-48"},"68df-51":{"renderedLength":799,"gzipLength":370,"brotliLength":330,"mainUid":"68df-50"},"68df-53":{"renderedLength":1503,"gzipLength":487,"brotliLength":399,"mainUid":"68df-52"},"68df-55":{"renderedLength":663,"gzipLength":346,"brotliLength":277,"mainUid":"68df-54"},"68df-57":{"renderedLength":362,"gzipLength":246,"brotliLength":185,"mainUid":"68df-56"},"68df-59":{"renderedLength":83,"gzipLength":97,"brotliLength":66,"mainUid":"68df-58"},"68df-61":{"renderedLength":344,"gzipLength":236,"brotliLength":186,"mainUid":"68df-60"},"68df-63":{"renderedLength":203,"gzipLength":136,"brotliLength":97,"mainUid":"68df-62"},"68df-65":{"renderedLength":514,"gzipLength":227,"brotliLength":187,"mainUid":"68df-64"},"68df-67":{"renderedLength":294,"gzipLength":155,"brotliLength":114,"mainUid":"68df-66"},"68df-69":{"renderedLength":326,"gzipLength":176,"brotliLength":141,"mainUid":"68df-68"},"68df-71":{"renderedLength":628,"gzipLength":259,"brotliLength":219,"mainUid":"68df-70"},"68df-73":{"renderedLength":82,"gzipLength":96,"brotliLength":66,"mainUid":"68df-72"},"68df-75":{"renderedLength":1179,"gzipLength":450,"brotliLength":362,"mainUid":"68df-74"},"68df-77":{"renderedLength":252,"gzipLength":157,"brotliLength":116,"mainUid":"68df-76"},"68df-79":{"renderedLength":379,"gzipLength":264,"brotliLength":224,"mainUid":"68df-78"},"68df-81":{"renderedLength":1667,"gzipLength":624,"brotliLength":519,"mainUid":"68df-80"},"68df-83":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"68df-82"}},"nodeMetas":{"68df-0":{"id":"/src/index.ts","moduleParts":{"index.js":"68df-1"},"imported":[{"uid":"68df-6"},{"uid":"68df-2"},{"uid":"68df-8"},{"uid":"68df-4"}],"importedBy":[],"isEntry":true},"68df-2":{"id":"/src/state.ts","moduleParts":{"state.js":"68df-3"},"imported":[{"uid":"68df-86"},{"uid":"68df-87"}],"importedBy":[{"uid":"68df-0"},{"uid":"68df-18"},{"uid":"68df-20"},{"uid":"68df-24"},{"uid":"68df-50"}]},"68df-4":{"id":"/src/content/dividerSidebarItem.ts","moduleParts":{"content/dividerSidebarItem.js":"68df-5"},"imported":[],"importedBy":[{"uid":"68df-0"}]},"68df-6":{"id":"/src/layout/withLayout.tsx","moduleParts":{"layout/withLayout.js":"68df-7"},"imported":[{"uid":"68df-84"},{"uid":"68df-85"},{"uid":"68df-14"},{"uid":"68df-16"},{"uid":"68df-18"},{"uid":"68df-10"},{"uid":"68df-22"}],"importedBy":[{"uid":"68df-0"}]},"68df-8":{"id":"/src/content/createPages.tsx","moduleParts":{"content/createPages.js":"68df-9"},"imported":[{"uid":"68df-84"},{"uid":"68df-85"},{"uid":"68df-20"},{"uid":"68df-12"}],"importedBy":[{"uid":"68df-0"}]},"68df-10":{"id":"/src/types.ts","moduleParts":{"types.js":"68df-11"},"imported":[],"importedBy":[{"uid":"68df-6"}]},"68df-12":{"id":"/src/content/types.ts","moduleParts":{"content/types.js":"68df-13"},"imported":[],"importedBy":[{"uid":"68df-8"},{"uid":"68df-44"},{"uid":"68df-42"}]},"68df-14":{"id":"/src/datahooks/DataHooks.tsx","moduleParts":{"datahooks/DataHooks.js":"68df-15"},"imported":[{"uid":"68df-84"},{"uid":"68df-85"},{"uid":"68df-88"},{"uid":"68df-26"}],"importedBy":[{"uid":"68df-6"},{"uid":"68df-20"}]},"68df-16":{"id":"/src/datahooks/PermissionHooks.tsx","moduleParts":{"datahooks/PermissionHooks.js":"68df-17"},"imported":[{"uid":"68df-84"},{"uid":"68df-85"},{"uid":"68df-24"}],"importedBy":[{"uid":"68df-6"}]},"68df-18":{"id":"/src/datahooks/Permissions.tsx","moduleParts":{"datahooks/Permissions.js":"68df-19"},"imported":[{"uid":"68df-84"},{"uid":"68df-89"},{"uid":"68df-85"},{"uid":"68df-90"},{"uid":"68df-2"}],"importedBy":[{"uid":"68df-6"}]},"68df-20":{"id":"/src/content/components/ContentComponent.tsx","moduleParts":{"content/components/ContentComponent.js":"68df-21"},"imported":[{"uid":"68df-84"},{"uid":"68df-85"},{"uid":"68df-93"},{"uid":"68df-90"},{"uid":"68df-92"},{"uid":"68df-91"},{"uid":"68df-14"},{"uid":"68df-2"},{"uid":"68df-28"},{"uid":"68df-40"},{"uid":"68df-44"},{"uid":"68df-42"},{"uid":"68df-34"}],"importedBy":[{"uid":"68df-8"}]},"68df-22":{"id":"/src/layout/components/Layout.tsx","moduleParts":{"layout/components/Layout.js":"68df-23"},"imported":[{"uid":"68df-84"},{"uid":"68df-85"},{"uid":"68df-91"},{"uid":"68df-92"},{"uid":"68df-30"},{"uid":"68df-36"},{"uid":"68df-38"},{"uid":"68df-32"}],"importedBy":[{"uid":"68df-6"}]},"68df-24":{"id":"/src/datahooks/ExecutePermissionHook.tsx","moduleParts":{"datahooks/ExecutePermissionHook.js":"68df-25"},"imported":[{"uid":"68df-84"},{"uid":"68df-90"},{"uid":"68df-2"}],"importedBy":[{"uid":"68df-16"}]},"68df-26":{"id":"/src/datahooks/ExecuteDataHook.tsx","moduleParts":{"datahooks/ExecuteDataHook.js":"68df-27"},"imported":[{"uid":"68df-84"}],"importedBy":[{"uid":"68df-14"}]},"68df-28":{"id":"/src/utils.ts","moduleParts":{"utils.js":"68df-29"},"imported":[{"uid":"68df-93"}],"importedBy":[{"uid":"68df-20"},{"uid":"68df-36"},{"uid":"68df-52"}]},"68df-30":{"id":"/src/layout/moveItems.ts","moduleParts":{"layout/moveItems.js":"68df-31"},"imported":[{"uid":"68df-85"},{"uid":"68df-93"},{"uid":"68df-46"}],"importedBy":[{"uid":"68df-22"}]},"68df-32":{"id":"/src/layout/components/styles.module.css","moduleParts":{"layout/components/styles.module.css.js":"68df-33"},"imported":[{"uid":"68df-82"}],"importedBy":[{"uid":"68df-22"},{"uid":"68df-38"},{"uid":"68df-74"}]},"68df-34":{"id":"/src/content/components/styles.module.css","moduleParts":{"content/components/styles.module.css.js":"68df-35"},"imported":[{"uid":"68df-82"}],"importedBy":[{"uid":"68df-20"},{"uid":"68df-44"}]},"68df-36":{"id":"/src/layout/components/LayoutItemBar.tsx","moduleParts":{"layout/components/LayoutItemBar.js":"68df-37"},"imported":[{"uid":"68df-84"},{"uid":"68df-85"},{"uid":"68df-92"},{"uid":"68df-28"},{"uid":"68df-48"},{"uid":"68df-52"}],"importedBy":[{"uid":"68df-22"}]},"68df-38":{"id":"/src/layout/components/SecondaryMenuToggleItem.tsx","moduleParts":{"layout/components/SecondaryMenuToggleItem.js":"68df-39"},"imported":[{"uid":"68df-84"},{"uid":"68df-92"},{"uid":"68df-32"}],"importedBy":[{"uid":"68df-22"}]},"68df-40":{"id":"/src/content/hooks/useBuildContentData.ts","moduleParts":{"content/hooks/useBuildContentData.js":"68df-41"},"imported":[{"uid":"68df-50"}],"importedBy":[{"uid":"68df-20"},{"uid":"68df-42"}]},"68df-42":{"id":"/src/content/components/SidebarItemWrapper.tsx","moduleParts":{"content/components/SidebarItemWrapper.js":"68df-43"},"imported":[{"uid":"68df-84"},{"uid":"68df-85"},{"uid":"68df-94"},{"uid":"68df-92"},{"uid":"68df-40"},{"uid":"68df-12"},{"uid":"68df-54"},{"uid":"68df-56"},{"uid":"68df-58"},{"uid":"68df-60"}],"importedBy":[{"uid":"68df-20"}]},"68df-44":{"id":"/src/content/components/Header.tsx","moduleParts":{"content/components/Header.js":"68df-45"},"imported":[{"uid":"68df-84"},{"uid":"68df-85"},{"uid":"68df-92"},{"uid":"68df-12"},{"uid":"68df-34"}],"importedBy":[{"uid":"68df-20"}]},"68df-46":{"id":"/src/layout/types.ts","moduleParts":{"layout/types.js":"68df-47"},"imported":[],"importedBy":[{"uid":"68df-30"},{"uid":"68df-52"}]},"68df-48":{"id":"/src/layout/utils.tsx","moduleParts":{"layout/utils.js":"68df-49"},"imported":[{"uid":"68df-84"},{"uid":"68df-88"},{"uid":"68df-92"},{"uid":"68df-62"}],"importedBy":[{"uid":"68df-36"},{"uid":"68df-74"},{"uid":"68df-78"}]},"68df-50":{"id":"/src/hooks/useBuildData.ts","moduleParts":{"hooks/useBuildData.js":"68df-51"},"imported":[{"uid":"68df-89"},{"uid":"68df-85"},{"uid":"68df-93"},{"uid":"68df-88"},{"uid":"68df-2"},{"uid":"68df-64"},{"uid":"68df-66"},{"uid":"68df-68"}],"importedBy":[{"uid":"68df-40"},{"uid":"68df-52"}]},"68df-52":{"id":"/src/layout/components/LayoutItemWrapper.tsx","moduleParts":{"layout/components/LayoutItemWrapper.js":"68df-53"},"imported":[{"uid":"68df-84"},{"uid":"68df-85"},{"uid":"68df-94"},{"uid":"68df-92"},{"uid":"68df-50"},{"uid":"68df-28"},{"uid":"68df-46"},{"uid":"68df-72"},{"uid":"68df-74"},{"uid":"68df-76"},{"uid":"68df-78"}],"importedBy":[{"uid":"68df-36"}]},"68df-54":{"id":"/src/content/components/ActionFormSidebarItemComponent.tsx","moduleParts":{"content/components/ActionFormSidebarItemComponent.js":"68df-55"},"imported":[{"uid":"68df-84"},{"uid":"68df-85"},{"uid":"68df-92"},{"uid":"68df-70"},{"uid":"68df-80"}],"importedBy":[{"uid":"68df-42"}]},"68df-56":{"id":"/src/content/components/ActionSidebarItemComponent.tsx","moduleParts":{"content/components/ActionSidebarItemComponent.js":"68df-57"},"imported":[{"uid":"68df-84"},{"uid":"68df-92"},{"uid":"68df-70"}],"importedBy":[{"uid":"68df-42"}]},"68df-58":{"id":"/src/content/components/CustomSidebarItemComponent.tsx","moduleParts":{"content/components/CustomSidebarItemComponent.js":"68df-59"},"imported":[{"uid":"68df-84"}],"importedBy":[{"uid":"68df-42"}]},"68df-60":{"id":"/src/content/components/PlainSidebarItem.tsx","moduleParts":{"content/components/PlainSidebarItem.js":"68df-61"},"imported":[{"uid":"68df-84"},{"uid":"68df-88"},{"uid":"68df-92"},{"uid":"68df-70"}],"importedBy":[{"uid":"68df-42"}]},"68df-62":{"id":"/src/commonItems.ts","moduleParts":{"commonItems.js":"68df-63"},"imported":[],"importedBy":[{"uid":"68df-48"},{"uid":"68df-64"}]},"68df-64":{"id":"/src/hooks/useIsActiveRoute.ts","moduleParts":{"hooks/useIsActiveRoute.js":"68df-65"},"imported":[{"uid":"68df-95"},{"uid":"68df-62"}],"importedBy":[{"uid":"68df-50"}]},"68df-66":{"id":"/src/hooks/useSelectPermission.ts","moduleParts":{"hooks/useSelectPermission.js":"68df-67"},"imported":[{"uid":"68df-93"}],"importedBy":[{"uid":"68df-50"}]},"68df-68":{"id":"/src/hooks/useSelectState.ts","moduleParts":{"hooks/useSelectState.js":"68df-69"},"imported":[{"uid":"68df-93"}],"importedBy":[{"uid":"68df-50"}]},"68df-70":{"id":"/src/content/utils.tsx","moduleParts":{"content/utils.js":"68df-71"},"imported":[{"uid":"68df-84"},{"uid":"68df-92"}],"importedBy":[{"uid":"68df-54"},{"uid":"68df-56"},{"uid":"68df-60"}]},"68df-72":{"id":"/src/layout/components/CustomLayoutItemComponent.tsx","moduleParts":{"layout/components/CustomLayoutItemComponent.js":"68df-73"},"imported":[{"uid":"68df-84"}],"importedBy":[{"uid":"68df-52"}]},"68df-74":{"id":"/src/layout/components/DropdownItem.tsx","moduleParts":{"layout/components/DropdownItem.js":"68df-75"},"imported":[{"uid":"68df-84"},{"uid":"68df-85"},{"uid":"68df-92"},{"uid":"68df-48"},{"uid":"68df-32"}],"importedBy":[{"uid":"68df-52"}]},"68df-76":{"id":"/src/layout/components/MenuItem.tsx","moduleParts":{"layout/components/MenuItem.js":"68df-77"},"imported":[{"uid":"68df-84"},{"uid":"68df-92"}],"importedBy":[{"uid":"68df-52"}]},"68df-78":{"id":"/src/layout/components/PlainItem.tsx","moduleParts":{"layout/components/PlainItem.js":"68df-79"},"imported":[{"uid":"68df-84"},{"uid":"68df-91"},{"uid":"68df-92"},{"uid":"68df-48"}],"importedBy":[{"uid":"68df-52"}]},"68df-80":{"id":"/src/content/components/ActionForm.tsx","moduleParts":{"content/components/ActionForm.js":"68df-81"},"imported":[{"uid":"68df-84"},{"uid":"68df-96"},{"uid":"68df-85"},{"uid":"68df-92"}],"importedBy":[{"uid":"68df-54"}]},"68df-82":{"id":"/home/artemis/GitHub/imperium/node_modules/style-inject/dist/style-inject.es.js","moduleParts":{"external/style-inject/dist/style-inject.es.js":"68df-83"},"imported":[],"importedBy":[{"uid":"68df-32"},{"uid":"68df-34"}]},"68df-84":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"68df-6"},{"uid":"68df-8"},{"uid":"68df-14"},{"uid":"68df-16"},{"uid":"68df-18"},{"uid":"68df-22"},{"uid":"68df-20"},{"uid":"68df-26"},{"uid":"68df-24"},{"uid":"68df-36"},{"uid":"68df-38"},{"uid":"68df-44"},{"uid":"68df-42"},{"uid":"68df-48"},{"uid":"68df-52"},{"uid":"68df-54"},{"uid":"68df-56"},{"uid":"68df-58"},{"uid":"68df-60"},{"uid":"68df-72"},{"uid":"68df-74"},{"uid":"68df-76"},{"uid":"68df-78"},{"uid":"68df-70"},{"uid":"68df-80"}],"isExternal":true},"68df-85":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"68df-6"},{"uid":"68df-8"},{"uid":"68df-14"},{"uid":"68df-16"},{"uid":"68df-18"},{"uid":"68df-22"},{"uid":"68df-20"},{"uid":"68df-30"},{"uid":"68df-36"},{"uid":"68df-44"},{"uid":"68df-42"},{"uid":"68df-52"},{"uid":"68df-50"},{"uid":"68df-54"},{"uid":"68df-74"},{"uid":"68df-80"}],"isExternal":true},"68df-86":{"id":"@imperium/state","moduleParts":{},"imported":[],"importedBy":[{"uid":"68df-2"}],"isExternal":true},"68df-87":{"id":"@reduxjs/toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"68df-2"}],"isExternal":true},"68df-88":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"68df-14"},{"uid":"68df-48"},{"uid":"68df-50"},{"uid":"68df-60"}],"isExternal":true},"68df-89":{"id":"@imperium/auth-client","moduleParts":{},"imported":[],"importedBy":[{"uid":"68df-18"},{"uid":"68df-50"}],"isExternal":true},"68df-90":{"id":"react-redux","moduleParts":{},"imported":[],"importedBy":[{"uid":"68df-18"},{"uid":"68df-20"},{"uid":"68df-24"}],"isExternal":true},"68df-91":{"id":"react-responsive","moduleParts":{},"imported":[],"importedBy":[{"uid":"68df-22"},{"uid":"68df-20"},{"uid":"68df-78"}],"isExternal":true},"68df-92":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"68df-22"},{"uid":"68df-20"},{"uid":"68df-36"},{"uid":"68df-38"},{"uid":"68df-44"},{"uid":"68df-42"},{"uid":"68df-48"},{"uid":"68df-52"},{"uid":"68df-54"},{"uid":"68df-56"},{"uid":"68df-60"},{"uid":"68df-74"},{"uid":"68df-76"},{"uid":"68df-78"},{"uid":"68df-70"},{"uid":"68df-80"}],"isExternal":true},"68df-93":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"68df-20"},{"uid":"68df-30"},{"uid":"68df-28"},{"uid":"68df-50"},{"uid":"68df-66"},{"uid":"68df-68"}],"isExternal":true},"68df-94":{"id":"mingo","moduleParts":{},"imported":[],"importedBy":[{"uid":"68df-42"},{"uid":"68df-52"}],"isExternal":true},"68df-95":{"id":"react-router","moduleParts":{},"imported":[],"importedBy":[{"uid":"68df-64"}],"isExternal":true},"68df-96":{"id":"@thx/controls","moduleParts":{},"imported":[],"importedBy":[{"uid":"68df-80"}],"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, 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;
|
|
@@ -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.0.
|
|
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.
|
|
34
|
+
"@imperium/auth-client": "^13.0.9-alpha.0+0d54fc6",
|
|
35
35
|
"@imperium/client": "^13.0.8",
|
|
36
36
|
"@imperium/router": "^13.0.8",
|
|
37
|
-
"@imperium/state": "^13.0.
|
|
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": "
|
|
63
|
+
"gitHead": "0d54fc6b71479a0e6ae2eb4fe8c3e3e3fc7222b7"
|
|
64
64
|
}
|
package/dist/stats.txt
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
-----------------------------
|
|
2
|
-
Rollup File Analysis
|
|
3
|
-
-----------------------------
|
|
4
|
-
bundle size: 33.798 KB
|
|
5
|
-
original size: 53.307 KB
|
|
6
|
-
code reduction: 36.6 %
|
|
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 +0,0 @@
|
|
|
1
|
-
export declare function useMobileLayout(): void;
|