@imperium/layout 10.5.1 → 10.6.1-alpha.1
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/content/components/Header.js +1 -1
- package/dist/esm/content/components/Header.js.map +1 -1
- package/dist/stats.html +1 -1
- package/package.json +3 -3
- package/dist/stats.txt +0 -94
- package/dist/types/layout/hooks/useGetItems.d.ts +0 -1
- package/dist/types/layout/internalTypes.d.ts +0 -19
- package/dist/types/layout/layout.d.ts +0 -14
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import debug from 'debug';
|
|
3
3
|
import { Header as Header$1 } from 'semantic-ui-react';
|
|
4
|
-
import styles from './styles.module.css.js';
|
|
5
4
|
import { isContentHeaderObject } from '../types.js';
|
|
5
|
+
import styles from './styles.module.css.js';
|
|
6
6
|
|
|
7
7
|
debug("imperium.layout.content.components.Header");
|
|
8
8
|
function Header({ data, header }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.js","sources":["../../../../src/content/components/Header.tsx"],"sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"Header.js","sources":["../../../../src/content/components/Header.tsx"],"sourcesContent":["import type {DefineRouteOptions} from '@imperium/router';\nimport debug from 'debug';\nimport type {ReactNode} from 'react';\nimport {Header as H} from 'semantic-ui-react';\nimport type {ContentData, ContentHeader} from '../types';\nimport {isContentHeaderObject} from '../types';\nimport styles from './styles.module.css';\n\nconst d = debug('imperium.layout.content.components.Header');\n\ninterface HeaderProps<T extends DefineRouteOptions, K extends keyof T> {\n\theader: ContentHeader<T, K>;\n\tdata: ContentData<T, K>;\n}\n\nexport function Header<T extends DefineRouteOptions, K extends keyof T>({data, header}: HeaderProps<T, K>) {\n\tif (header) {\n\t\tlet headerComp: ReactNode = null;\n\t\tif (typeof header === 'string') {\n\t\t\theaderComp = <H size=\"large\" content={header} />;\n\t\t} else if (typeof header === 'function') {\n\t\t\tconst a = header(data);\n\t\t\tif (isContentHeaderObject(a)) {\n\t\t\t\theaderComp = <H size={a.size || 'large'} content={a.title} icon={a.icon} />;\n\t\t\t} else {\n\t\t\t\theaderComp = a;\n\t\t\t}\n\t\t} else if (isContentHeaderObject(header)) {\n\t\t\theaderComp = <H size={header.size || 'large'} content={header.title} icon={header.icon} />;\n\t\t} else {\n\t\t\theaderComp = header;\n\t\t}\n\t\treturn <div className={`${styles.header} imperiumContentHeader`}>{headerComp}</div>;\n\t}\n\treturn null;\n}\n"],"names":["H"],"mappings":";;;;;;AAQU,MAAM,2CAA2C,EAAA;AAOa,SAAA,MAAA,CAAA,EAAC,MAAM,MAA4B,EAAA,EAAA;AAC1G,EAAA,IAAI,MAAQ,EAAA;AACX,IAAA,IAAI,UAAwB,GAAA,IAAA,CAAA;AAC5B,IAAI,IAAA,OAAO,WAAW,QAAU,EAAA;AAC/B,MAAA,UAAA,mBAAc,KAAA,CAAA,aAAA,CAAAA,QAAA,EAAA;AAAA,QAAE,IAAK,EAAA,OAAA;AAAA,QAAQ,OAAS,EAAA,MAAA;AAAA,OAAQ,CAAA,CAAA;AAAA,KAC/C,MAAA,IAAW,OAAO,MAAA,KAAW,UAAY,EAAA;AACxC,MAAM,MAAA,CAAA,GAAI,OAAO,IAAI,CAAA,CAAA;AACrB,MAAI,IAAA,qBAAA,CAAsB,CAAC,CAAG,EAAA;AAC7B,QAAA,UAAA,mBAAc,KAAA,CAAA,aAAA,CAAAA,QAAA,EAAA;AAAA,UAAE,IAAA,EAAM,EAAE,IAAQ,IAAA,OAAA;AAAA,UAAS,SAAS,CAAE,CAAA,KAAA;AAAA,UAAO,MAAM,CAAE,CAAA,IAAA;AAAA,SAAM,CAAA,CAAA;AAAA,OACnE,MAAA;AACN,QAAa,UAAA,GAAA,CAAA,CAAA;AAAA,OACd;AAAA,KACD,MAAA,IAAW,qBAAsB,CAAA,MAAM,CAAG,EAAA;AACzC,MAAA,UAAA,mBAAc,KAAA,CAAA,aAAA,CAAAA,QAAA,EAAA;AAAA,QAAE,IAAA,EAAM,OAAO,IAAQ,IAAA,OAAA;AAAA,QAAS,SAAS,MAAO,CAAA,KAAA;AAAA,QAAO,MAAM,MAAO,CAAA,IAAA;AAAA,OAAM,CAAA,CAAA;AAAA,KAClF,MAAA;AACN,MAAa,UAAA,GAAA,MAAA,CAAA;AAAA,KACd;AACA,IAAA,uBAAQ,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AAAA,MAAI,SAAA,EAAW,GAAG,MAAO,CAAA,MAAA,CAAA,sBAAA,CAAA;AAAA,KAAA,EAAiC,UAAW,CAAA,CAAA;AAAA,GAC9E;AACA,EAAO,OAAA,IAAA,CAAA;AACR;;;;"}
|
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":"0fd4-1"}]},{"name":"state.js","children":[{"name":"src/state.ts","uid":"0fd4-3"}]},{"name":"content/dividerSidebarItem.js","children":[{"name":"src/content/dividerSidebarItem.ts","uid":"0fd4-5"}]},{"name":"layout/withLayout.js","children":[{"name":"src/layout/withLayout.tsx","uid":"0fd4-7"}]},{"name":"content/createPages.js","children":[{"name":"src/content/createPages.tsx","uid":"0fd4-9"}]},{"name":"layout/hooks/useMobileLayout.js","children":[{"name":"src/layout/hooks/useMobileLayout.ts","uid":"0fd4-11"}]},{"name":"types.js","children":[{"name":"src/types.ts","uid":"0fd4-13"}]},{"name":"content/types.js","children":[{"name":"src/content/types.ts","uid":"0fd4-15"}]},{"name":"datahooks/DataHooks.js","children":[{"name":"src/datahooks/DataHooks.tsx","uid":"0fd4-17"}]},{"name":"datahooks/PermissionHooks.js","children":[{"name":"src/datahooks/PermissionHooks.tsx","uid":"0fd4-19"}]},{"name":"datahooks/Permissions.js","children":[{"name":"src/datahooks/Permissions.tsx","uid":"0fd4-21"}]},{"name":"layout/components/Layout.js","children":[{"name":"src/layout/components/Layout.tsx","uid":"0fd4-23"}]},{"name":"content/components/ContentComponent.js","children":[{"name":"src/content/components/ContentComponent.tsx","uid":"0fd4-25"}]},{"name":"datahooks/ExecuteDataHook.js","children":[{"name":"src/datahooks/ExecuteDataHook.tsx","uid":"0fd4-27"}]},{"name":"datahooks/ExecutePermissionHook.js","children":[{"name":"src/datahooks/ExecutePermissionHook.tsx","uid":"0fd4-29"}]},{"name":"utils.js","children":[{"name":"src/utils.ts","uid":"0fd4-31"}]},{"name":"layout/moveItems.js","children":[{"name":"src/layout/moveItems.ts","uid":"0fd4-33"}]},{"name":"layout/components/styles.module.css.js","children":[{"name":"src/layout/components/styles.module.css","uid":"0fd4-35"}]},{"name":"content/components/styles.module.css.js","children":[{"name":"src/content/components/styles.module.css","uid":"0fd4-37"}]},{"name":"layout/components/LayoutItemBar.js","children":[{"name":"src/layout/components/LayoutItemBar.tsx","uid":"0fd4-39"}]},{"name":"layout/components/SecondaryMenuToggleItem.js","children":[{"name":"src/layout/components/SecondaryMenuToggleItem.tsx","uid":"0fd4-41"}]},{"name":"content/hooks/useBuildContentData.js","children":[{"name":"src/content/hooks/useBuildContentData.ts","uid":"0fd4-43"}]},{"name":"content/components/Header.js","children":[{"name":"src/content/components/Header.tsx","uid":"0fd4-45"}]},{"name":"content/components/SidebarItemWrapper.js","children":[{"name":"src/content/components/SidebarItemWrapper.tsx","uid":"0fd4-47"}]},{"name":"layout/types.js","children":[{"name":"src/layout/types.ts","uid":"0fd4-49"}]},{"name":"layout/utils.js","children":[{"name":"src/layout/utils.tsx","uid":"0fd4-51"}]},{"name":"hooks/useBuildData.js","children":[{"name":"src/hooks/useBuildData.ts","uid":"0fd4-53"}]},{"name":"layout/components/LayoutItemWrapper.js","children":[{"name":"src/layout/components/LayoutItemWrapper.tsx","uid":"0fd4-55"}]},{"name":"content/components/ActionFormSidebarItemComponent.js","children":[{"name":"src/content/components/ActionFormSidebarItemComponent.tsx","uid":"0fd4-57"}]},{"name":"content/components/ActionSidebarItemComponent.js","children":[{"name":"src/content/components/ActionSidebarItemComponent.tsx","uid":"0fd4-59"}]},{"name":"content/components/CustomSidebarItemComponent.js","children":[{"name":"src/content/components/CustomSidebarItemComponent.tsx","uid":"0fd4-61"}]},{"name":"content/components/PlainSidebarItem.js","children":[{"name":"src/content/components/PlainSidebarItem.tsx","uid":"0fd4-63"}]},{"name":"commonItems.js","children":[{"name":"src/commonItems.ts","uid":"0fd4-65"}]},{"name":"hooks/useIsActiveRoute.js","children":[{"name":"src/hooks/useIsActiveRoute.ts","uid":"0fd4-67"}]},{"name":"hooks/useSelectPermission.js","children":[{"name":"src/hooks/useSelectPermission.ts","uid":"0fd4-69"}]},{"name":"hooks/useSelectState.js","children":[{"name":"src/hooks/useSelectState.ts","uid":"0fd4-71"}]},{"name":"content/utils.js","children":[{"name":"src/content/utils.tsx","uid":"0fd4-73"}]},{"name":"layout/components/CustomLayoutItemComponent.js","children":[{"name":"src/layout/components/CustomLayoutItemComponent.tsx","uid":"0fd4-75"}]},{"name":"layout/components/DropdownItem.js","children":[{"name":"src/layout/components/DropdownItem.tsx","uid":"0fd4-77"}]},{"name":"layout/components/MenuItem.js","children":[{"name":"src/layout/components/MenuItem.tsx","uid":"0fd4-79"}]},{"name":"layout/components/PlainItem.js","children":[{"name":"src/layout/components/PlainItem.tsx","uid":"0fd4-81"}]},{"name":"content/components/ActionForm.js","children":[{"name":"src/content/components/ActionForm.tsx","uid":"0fd4-83"}]},{"name":"external/style-inject/dist/style-inject.es.js","children":[{"name":"home/mike/dev/imperium/node_modules/style-inject/dist/style-inject.es.js","uid":"0fd4-85"}]}],"isRoot":true},"nodeParts":{"0fd4-1":{"renderedLength":184,"gzipLength":151,"brotliLength":131,"mainUid":"0fd4-0"},"0fd4-3":{"renderedLength":489,"gzipLength":251,"brotliLength":217,"mainUid":"0fd4-2"},"0fd4-5":{"renderedLength":59,"gzipLength":71,"brotliLength":63,"mainUid":"0fd4-4"},"0fd4-7":{"renderedLength":1955,"gzipLength":564,"brotliLength":488,"mainUid":"0fd4-6"},"0fd4-9":{"renderedLength":650,"gzipLength":300,"brotliLength":268,"mainUid":"0fd4-8"},"0fd4-11":{"renderedLength":445,"gzipLength":266,"brotliLength":229,"mainUid":"0fd4-10"},"0fd4-13":{"renderedLength":121,"gzipLength":110,"brotliLength":90,"mainUid":"0fd4-12"},"0fd4-15":{"renderedLength":388,"gzipLength":167,"brotliLength":111,"mainUid":"0fd4-14"},"0fd4-17":{"renderedLength":1058,"gzipLength":392,"brotliLength":330,"mainUid":"0fd4-16"},"0fd4-19":{"renderedLength":339,"gzipLength":201,"brotliLength":164,"mainUid":"0fd4-18"},"0fd4-21":{"renderedLength":663,"gzipLength":328,"brotliLength":285,"mainUid":"0fd4-20"},"0fd4-23":{"renderedLength":2630,"gzipLength":743,"brotliLength":629,"mainUid":"0fd4-22"},"0fd4-25":{"renderedLength":1970,"gzipLength":651,"brotliLength":565,"mainUid":"0fd4-24"},"0fd4-27":{"renderedLength":123,"gzipLength":107,"brotliLength":93,"mainUid":"0fd4-26"},"0fd4-29":{"renderedLength":345,"gzipLength":206,"brotliLength":172,"mainUid":"0fd4-28"},"0fd4-31":{"renderedLength":145,"gzipLength":117,"brotliLength":116,"mainUid":"0fd4-30"},"0fd4-33":{"renderedLength":1401,"gzipLength":377,"brotliLength":347,"mainUid":"0fd4-32"},"0fd4-35":{"renderedLength":3176,"gzipLength":933,"brotliLength":762,"mainUid":"0fd4-34"},"0fd4-37":{"renderedLength":1469,"gzipLength":528,"brotliLength":431,"mainUid":"0fd4-36"},"0fd4-39":{"renderedLength":726,"gzipLength":295,"brotliLength":252,"mainUid":"0fd4-38"},"0fd4-41":{"renderedLength":335,"gzipLength":222,"brotliLength":169,"mainUid":"0fd4-40"},"0fd4-43":{"renderedLength":257,"gzipLength":158,"brotliLength":122,"mainUid":"0fd4-42"},"0fd4-45":{"renderedLength":1042,"gzipLength":377,"brotliLength":323,"mainUid":"0fd4-44"},"0fd4-47":{"renderedLength":1189,"gzipLength":399,"brotliLength":314,"mainUid":"0fd4-46"},"0fd4-49":{"renderedLength":191,"gzipLength":111,"brotliLength":89,"mainUid":"0fd4-48"},"0fd4-51":{"renderedLength":915,"gzipLength":392,"brotliLength":328,"mainUid":"0fd4-50"},"0fd4-53":{"renderedLength":785,"gzipLength":362,"brotliLength":321,"mainUid":"0fd4-52"},"0fd4-55":{"renderedLength":1503,"gzipLength":488,"brotliLength":399,"mainUid":"0fd4-54"},"0fd4-57":{"renderedLength":663,"gzipLength":344,"brotliLength":277,"mainUid":"0fd4-56"},"0fd4-59":{"renderedLength":362,"gzipLength":244,"brotliLength":185,"mainUid":"0fd4-58"},"0fd4-61":{"renderedLength":83,"gzipLength":96,"brotliLength":66,"mainUid":"0fd4-60"},"0fd4-63":{"renderedLength":344,"gzipLength":235,"brotliLength":186,"mainUid":"0fd4-62"},"0fd4-65":{"renderedLength":203,"gzipLength":136,"brotliLength":97,"mainUid":"0fd4-64"},"0fd4-67":{"renderedLength":514,"gzipLength":229,"brotliLength":187,"mainUid":"0fd4-66"},"0fd4-69":{"renderedLength":294,"gzipLength":154,"brotliLength":114,"mainUid":"0fd4-68"},"0fd4-71":{"renderedLength":326,"gzipLength":176,"brotliLength":141,"mainUid":"0fd4-70"},"0fd4-73":{"renderedLength":628,"gzipLength":259,"brotliLength":219,"mainUid":"0fd4-72"},"0fd4-75":{"renderedLength":82,"gzipLength":95,"brotliLength":66,"mainUid":"0fd4-74"},"0fd4-77":{"renderedLength":1179,"gzipLength":451,"brotliLength":362,"mainUid":"0fd4-76"},"0fd4-79":{"renderedLength":252,"gzipLength":159,"brotliLength":116,"mainUid":"0fd4-78"},"0fd4-81":{"renderedLength":244,"gzipLength":178,"brotliLength":145,"mainUid":"0fd4-80"},"0fd4-83":{"renderedLength":1667,"gzipLength":625,"brotliLength":519,"mainUid":"0fd4-82"},"0fd4-85":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"0fd4-84"}},"nodeMetas":{"0fd4-0":{"id":"/src/index.ts","moduleParts":{"index.js":"0fd4-1"},"imported":[{"uid":"0fd4-10"},{"uid":"0fd4-6"},{"uid":"0fd4-2"},{"uid":"0fd4-8"},{"uid":"0fd4-4"}],"importedBy":[],"isEntry":true},"0fd4-2":{"id":"/src/state.ts","moduleParts":{"state.js":"0fd4-3"},"imported":[{"uid":"0fd4-90"},{"uid":"0fd4-91"}],"importedBy":[{"uid":"0fd4-0"},{"uid":"0fd4-10"},{"uid":"0fd4-20"},{"uid":"0fd4-22"},{"uid":"0fd4-24"},{"uid":"0fd4-28"},{"uid":"0fd4-52"}]},"0fd4-4":{"id":"/src/content/dividerSidebarItem.ts","moduleParts":{"content/dividerSidebarItem.js":"0fd4-5"},"imported":[],"importedBy":[{"uid":"0fd4-0"}]},"0fd4-6":{"id":"/src/layout/withLayout.tsx","moduleParts":{"layout/withLayout.js":"0fd4-7"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-86"},{"uid":"0fd4-16"},{"uid":"0fd4-18"},{"uid":"0fd4-20"},{"uid":"0fd4-12"},{"uid":"0fd4-22"}],"importedBy":[{"uid":"0fd4-0"}]},"0fd4-8":{"id":"/src/content/createPages.tsx","moduleParts":{"content/createPages.js":"0fd4-9"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-86"},{"uid":"0fd4-24"},{"uid":"0fd4-14"}],"importedBy":[{"uid":"0fd4-0"}]},"0fd4-10":{"id":"/src/layout/hooks/useMobileLayout.ts","moduleParts":{"layout/hooks/useMobileLayout.js":"0fd4-11"},"imported":[{"uid":"0fd4-86"},{"uid":"0fd4-87"},{"uid":"0fd4-88"},{"uid":"0fd4-89"},{"uid":"0fd4-2"}],"importedBy":[{"uid":"0fd4-0"}]},"0fd4-12":{"id":"/src/types.ts","moduleParts":{"types.js":"0fd4-13"},"imported":[],"importedBy":[{"uid":"0fd4-6"}]},"0fd4-14":{"id":"/src/content/types.ts","moduleParts":{"content/types.js":"0fd4-15"},"imported":[],"importedBy":[{"uid":"0fd4-8"},{"uid":"0fd4-44"},{"uid":"0fd4-46"}]},"0fd4-16":{"id":"/src/datahooks/DataHooks.tsx","moduleParts":{"datahooks/DataHooks.js":"0fd4-17"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-86"},{"uid":"0fd4-92"},{"uid":"0fd4-26"}],"importedBy":[{"uid":"0fd4-6"},{"uid":"0fd4-24"}]},"0fd4-18":{"id":"/src/datahooks/PermissionHooks.tsx","moduleParts":{"datahooks/PermissionHooks.js":"0fd4-19"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-86"},{"uid":"0fd4-28"}],"importedBy":[{"uid":"0fd4-6"}]},"0fd4-20":{"id":"/src/datahooks/Permissions.tsx","moduleParts":{"datahooks/Permissions.js":"0fd4-21"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-93"},{"uid":"0fd4-86"},{"uid":"0fd4-88"},{"uid":"0fd4-2"}],"importedBy":[{"uid":"0fd4-6"}]},"0fd4-22":{"id":"/src/layout/components/Layout.tsx","moduleParts":{"layout/components/Layout.js":"0fd4-23"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-86"},{"uid":"0fd4-94"},{"uid":"0fd4-2"},{"uid":"0fd4-32"},{"uid":"0fd4-38"},{"uid":"0fd4-40"},{"uid":"0fd4-34"}],"importedBy":[{"uid":"0fd4-6"}]},"0fd4-24":{"id":"/src/content/components/ContentComponent.tsx","moduleParts":{"content/components/ContentComponent.js":"0fd4-25"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-86"},{"uid":"0fd4-95"},{"uid":"0fd4-88"},{"uid":"0fd4-16"},{"uid":"0fd4-2"},{"uid":"0fd4-30"},{"uid":"0fd4-42"},{"uid":"0fd4-44"},{"uid":"0fd4-46"},{"uid":"0fd4-36"}],"importedBy":[{"uid":"0fd4-8"}]},"0fd4-26":{"id":"/src/datahooks/ExecuteDataHook.tsx","moduleParts":{"datahooks/ExecuteDataHook.js":"0fd4-27"},"imported":[{"uid":"0fd4-87"}],"importedBy":[{"uid":"0fd4-16"}]},"0fd4-28":{"id":"/src/datahooks/ExecutePermissionHook.tsx","moduleParts":{"datahooks/ExecutePermissionHook.js":"0fd4-29"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-88"},{"uid":"0fd4-2"}],"importedBy":[{"uid":"0fd4-18"}]},"0fd4-30":{"id":"/src/utils.ts","moduleParts":{"utils.js":"0fd4-31"},"imported":[{"uid":"0fd4-95"}],"importedBy":[{"uid":"0fd4-24"},{"uid":"0fd4-38"},{"uid":"0fd4-54"}]},"0fd4-32":{"id":"/src/layout/moveItems.ts","moduleParts":{"layout/moveItems.js":"0fd4-33"},"imported":[{"uid":"0fd4-86"},{"uid":"0fd4-95"},{"uid":"0fd4-48"}],"importedBy":[{"uid":"0fd4-22"}]},"0fd4-34":{"id":"/src/layout/components/styles.module.css","moduleParts":{"layout/components/styles.module.css.js":"0fd4-35"},"imported":[{"uid":"0fd4-84"}],"importedBy":[{"uid":"0fd4-22"},{"uid":"0fd4-40"},{"uid":"0fd4-76"}]},"0fd4-36":{"id":"/src/content/components/styles.module.css","moduleParts":{"content/components/styles.module.css.js":"0fd4-37"},"imported":[{"uid":"0fd4-84"}],"importedBy":[{"uid":"0fd4-24"},{"uid":"0fd4-44"}]},"0fd4-38":{"id":"/src/layout/components/LayoutItemBar.tsx","moduleParts":{"layout/components/LayoutItemBar.js":"0fd4-39"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-86"},{"uid":"0fd4-94"},{"uid":"0fd4-30"},{"uid":"0fd4-50"},{"uid":"0fd4-54"}],"importedBy":[{"uid":"0fd4-22"}]},"0fd4-40":{"id":"/src/layout/components/SecondaryMenuToggleItem.tsx","moduleParts":{"layout/components/SecondaryMenuToggleItem.js":"0fd4-41"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-94"},{"uid":"0fd4-34"}],"importedBy":[{"uid":"0fd4-22"}]},"0fd4-42":{"id":"/src/content/hooks/useBuildContentData.ts","moduleParts":{"content/hooks/useBuildContentData.js":"0fd4-43"},"imported":[{"uid":"0fd4-52"}],"importedBy":[{"uid":"0fd4-24"},{"uid":"0fd4-46"}]},"0fd4-44":{"id":"/src/content/components/Header.tsx","moduleParts":{"content/components/Header.js":"0fd4-45"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-86"},{"uid":"0fd4-94"},{"uid":"0fd4-36"},{"uid":"0fd4-14"}],"importedBy":[{"uid":"0fd4-24"}]},"0fd4-46":{"id":"/src/content/components/SidebarItemWrapper.tsx","moduleParts":{"content/components/SidebarItemWrapper.js":"0fd4-47"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-86"},{"uid":"0fd4-96"},{"uid":"0fd4-94"},{"uid":"0fd4-42"},{"uid":"0fd4-14"},{"uid":"0fd4-56"},{"uid":"0fd4-58"},{"uid":"0fd4-60"},{"uid":"0fd4-62"}],"importedBy":[{"uid":"0fd4-24"}]},"0fd4-48":{"id":"/src/layout/types.ts","moduleParts":{"layout/types.js":"0fd4-49"},"imported":[],"importedBy":[{"uid":"0fd4-32"},{"uid":"0fd4-54"}]},"0fd4-50":{"id":"/src/layout/utils.tsx","moduleParts":{"layout/utils.js":"0fd4-51"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-92"},{"uid":"0fd4-94"},{"uid":"0fd4-64"}],"importedBy":[{"uid":"0fd4-38"},{"uid":"0fd4-76"},{"uid":"0fd4-80"}]},"0fd4-52":{"id":"/src/hooks/useBuildData.ts","moduleParts":{"hooks/useBuildData.js":"0fd4-53"},"imported":[{"uid":"0fd4-93"},{"uid":"0fd4-86"},{"uid":"0fd4-95"},{"uid":"0fd4-92"},{"uid":"0fd4-2"},{"uid":"0fd4-66"},{"uid":"0fd4-68"},{"uid":"0fd4-70"}],"importedBy":[{"uid":"0fd4-42"},{"uid":"0fd4-54"}]},"0fd4-54":{"id":"/src/layout/components/LayoutItemWrapper.tsx","moduleParts":{"layout/components/LayoutItemWrapper.js":"0fd4-55"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-86"},{"uid":"0fd4-96"},{"uid":"0fd4-94"},{"uid":"0fd4-52"},{"uid":"0fd4-30"},{"uid":"0fd4-48"},{"uid":"0fd4-74"},{"uid":"0fd4-76"},{"uid":"0fd4-78"},{"uid":"0fd4-80"}],"importedBy":[{"uid":"0fd4-38"}]},"0fd4-56":{"id":"/src/content/components/ActionFormSidebarItemComponent.tsx","moduleParts":{"content/components/ActionFormSidebarItemComponent.js":"0fd4-57"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-86"},{"uid":"0fd4-94"},{"uid":"0fd4-72"},{"uid":"0fd4-82"}],"importedBy":[{"uid":"0fd4-46"}]},"0fd4-58":{"id":"/src/content/components/ActionSidebarItemComponent.tsx","moduleParts":{"content/components/ActionSidebarItemComponent.js":"0fd4-59"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-94"},{"uid":"0fd4-72"}],"importedBy":[{"uid":"0fd4-46"}]},"0fd4-60":{"id":"/src/content/components/CustomSidebarItemComponent.tsx","moduleParts":{"content/components/CustomSidebarItemComponent.js":"0fd4-61"},"imported":[{"uid":"0fd4-87"}],"importedBy":[{"uid":"0fd4-46"}]},"0fd4-62":{"id":"/src/content/components/PlainSidebarItem.tsx","moduleParts":{"content/components/PlainSidebarItem.js":"0fd4-63"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-92"},{"uid":"0fd4-94"},{"uid":"0fd4-72"}],"importedBy":[{"uid":"0fd4-46"}]},"0fd4-64":{"id":"/src/commonItems.ts","moduleParts":{"commonItems.js":"0fd4-65"},"imported":[],"importedBy":[{"uid":"0fd4-50"},{"uid":"0fd4-66"}]},"0fd4-66":{"id":"/src/hooks/useIsActiveRoute.ts","moduleParts":{"hooks/useIsActiveRoute.js":"0fd4-67"},"imported":[{"uid":"0fd4-97"},{"uid":"0fd4-64"}],"importedBy":[{"uid":"0fd4-52"}]},"0fd4-68":{"id":"/src/hooks/useSelectPermission.ts","moduleParts":{"hooks/useSelectPermission.js":"0fd4-69"},"imported":[{"uid":"0fd4-95"}],"importedBy":[{"uid":"0fd4-52"}]},"0fd4-70":{"id":"/src/hooks/useSelectState.ts","moduleParts":{"hooks/useSelectState.js":"0fd4-71"},"imported":[{"uid":"0fd4-95"}],"importedBy":[{"uid":"0fd4-52"}]},"0fd4-72":{"id":"/src/content/utils.tsx","moduleParts":{"content/utils.js":"0fd4-73"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-94"}],"importedBy":[{"uid":"0fd4-56"},{"uid":"0fd4-58"},{"uid":"0fd4-62"}]},"0fd4-74":{"id":"/src/layout/components/CustomLayoutItemComponent.tsx","moduleParts":{"layout/components/CustomLayoutItemComponent.js":"0fd4-75"},"imported":[{"uid":"0fd4-87"}],"importedBy":[{"uid":"0fd4-54"}]},"0fd4-76":{"id":"/src/layout/components/DropdownItem.tsx","moduleParts":{"layout/components/DropdownItem.js":"0fd4-77"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-86"},{"uid":"0fd4-94"},{"uid":"0fd4-50"},{"uid":"0fd4-34"}],"importedBy":[{"uid":"0fd4-54"}]},"0fd4-78":{"id":"/src/layout/components/MenuItem.tsx","moduleParts":{"layout/components/MenuItem.js":"0fd4-79"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-94"}],"importedBy":[{"uid":"0fd4-54"}]},"0fd4-80":{"id":"/src/layout/components/PlainItem.tsx","moduleParts":{"layout/components/PlainItem.js":"0fd4-81"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-94"},{"uid":"0fd4-50"}],"importedBy":[{"uid":"0fd4-54"}]},"0fd4-82":{"id":"/src/content/components/ActionForm.tsx","moduleParts":{"content/components/ActionForm.js":"0fd4-83"},"imported":[{"uid":"0fd4-87"},{"uid":"0fd4-98"},{"uid":"0fd4-86"},{"uid":"0fd4-94"}],"importedBy":[{"uid":"0fd4-56"}]},"0fd4-84":{"id":"/home/mike/dev/imperium/node_modules/style-inject/dist/style-inject.es.js","moduleParts":{"external/style-inject/dist/style-inject.es.js":"0fd4-85"},"imported":[],"importedBy":[{"uid":"0fd4-34"},{"uid":"0fd4-36"}]},"0fd4-86":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"0fd4-10"},{"uid":"0fd4-6"},{"uid":"0fd4-8"},{"uid":"0fd4-16"},{"uid":"0fd4-18"},{"uid":"0fd4-20"},{"uid":"0fd4-22"},{"uid":"0fd4-24"},{"uid":"0fd4-32"},{"uid":"0fd4-38"},{"uid":"0fd4-44"},{"uid":"0fd4-46"},{"uid":"0fd4-54"},{"uid":"0fd4-52"},{"uid":"0fd4-56"},{"uid":"0fd4-76"},{"uid":"0fd4-82"}],"isExternal":true},"0fd4-87":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"0fd4-10"},{"uid":"0fd4-6"},{"uid":"0fd4-8"},{"uid":"0fd4-16"},{"uid":"0fd4-18"},{"uid":"0fd4-20"},{"uid":"0fd4-22"},{"uid":"0fd4-24"},{"uid":"0fd4-26"},{"uid":"0fd4-28"},{"uid":"0fd4-38"},{"uid":"0fd4-40"},{"uid":"0fd4-44"},{"uid":"0fd4-46"},{"uid":"0fd4-50"},{"uid":"0fd4-54"},{"uid":"0fd4-56"},{"uid":"0fd4-58"},{"uid":"0fd4-60"},{"uid":"0fd4-62"},{"uid":"0fd4-74"},{"uid":"0fd4-76"},{"uid":"0fd4-78"},{"uid":"0fd4-80"},{"uid":"0fd4-72"},{"uid":"0fd4-82"}],"isExternal":true},"0fd4-88":{"id":"react-redux","moduleParts":{},"imported":[],"importedBy":[{"uid":"0fd4-10"},{"uid":"0fd4-20"},{"uid":"0fd4-24"},{"uid":"0fd4-28"}],"isExternal":true},"0fd4-89":{"id":"react-responsive","moduleParts":{},"imported":[],"importedBy":[{"uid":"0fd4-10"}],"isExternal":true},"0fd4-90":{"id":"@imperium/state","moduleParts":{},"imported":[],"importedBy":[{"uid":"0fd4-2"}],"isExternal":true},"0fd4-91":{"id":"@reduxjs/toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"0fd4-2"}],"isExternal":true},"0fd4-92":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"0fd4-16"},{"uid":"0fd4-50"},{"uid":"0fd4-52"},{"uid":"0fd4-62"}],"isExternal":true},"0fd4-93":{"id":"@imperium/auth-client","moduleParts":{},"imported":[],"importedBy":[{"uid":"0fd4-20"},{"uid":"0fd4-52"}],"isExternal":true},"0fd4-94":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"0fd4-22"},{"uid":"0fd4-38"},{"uid":"0fd4-40"},{"uid":"0fd4-44"},{"uid":"0fd4-46"},{"uid":"0fd4-50"},{"uid":"0fd4-54"},{"uid":"0fd4-56"},{"uid":"0fd4-58"},{"uid":"0fd4-62"},{"uid":"0fd4-76"},{"uid":"0fd4-78"},{"uid":"0fd4-80"},{"uid":"0fd4-72"},{"uid":"0fd4-82"}],"isExternal":true},"0fd4-95":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"0fd4-24"},{"uid":"0fd4-32"},{"uid":"0fd4-30"},{"uid":"0fd4-52"},{"uid":"0fd4-68"},{"uid":"0fd4-70"}],"isExternal":true},"0fd4-96":{"id":"mingo","moduleParts":{},"imported":[],"importedBy":[{"uid":"0fd4-46"},{"uid":"0fd4-54"}],"isExternal":true},"0fd4-97":{"id":"react-router","moduleParts":{},"imported":[],"importedBy":[{"uid":"0fd4-66"}],"isExternal":true},"0fd4-98":{"id":"@thx/controls","moduleParts":{},"imported":[],"importedBy":[{"uid":"0fd4-82"}],"isExternal":true}},"env":{"rollup":"2.70.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":"ba73-1"}]},{"name":"state.js","children":[{"name":"src/state.ts","uid":"ba73-3"}]},{"name":"content/dividerSidebarItem.js","children":[{"name":"src/content/dividerSidebarItem.ts","uid":"ba73-5"}]},{"name":"layout/withLayout.js","children":[{"name":"src/layout/withLayout.tsx","uid":"ba73-7"}]},{"name":"content/createPages.js","children":[{"name":"src/content/createPages.tsx","uid":"ba73-9"}]},{"name":"layout/hooks/useMobileLayout.js","children":[{"name":"src/layout/hooks/useMobileLayout.ts","uid":"ba73-11"}]},{"name":"types.js","children":[{"name":"src/types.ts","uid":"ba73-13"}]},{"name":"content/types.js","children":[{"name":"src/content/types.ts","uid":"ba73-15"}]},{"name":"datahooks/DataHooks.js","children":[{"name":"src/datahooks/DataHooks.tsx","uid":"ba73-17"}]},{"name":"datahooks/PermissionHooks.js","children":[{"name":"src/datahooks/PermissionHooks.tsx","uid":"ba73-19"}]},{"name":"datahooks/Permissions.js","children":[{"name":"src/datahooks/Permissions.tsx","uid":"ba73-21"}]},{"name":"layout/components/Layout.js","children":[{"name":"src/layout/components/Layout.tsx","uid":"ba73-23"}]},{"name":"content/components/ContentComponent.js","children":[{"name":"src/content/components/ContentComponent.tsx","uid":"ba73-25"}]},{"name":"datahooks/ExecuteDataHook.js","children":[{"name":"src/datahooks/ExecuteDataHook.tsx","uid":"ba73-27"}]},{"name":"datahooks/ExecutePermissionHook.js","children":[{"name":"src/datahooks/ExecutePermissionHook.tsx","uid":"ba73-29"}]},{"name":"utils.js","children":[{"name":"src/utils.ts","uid":"ba73-31"}]},{"name":"layout/moveItems.js","children":[{"name":"src/layout/moveItems.ts","uid":"ba73-33"}]},{"name":"layout/components/styles.module.css.js","children":[{"name":"src/layout/components/styles.module.css","uid":"ba73-35"}]},{"name":"content/components/styles.module.css.js","children":[{"name":"src/content/components/styles.module.css","uid":"ba73-37"}]},{"name":"layout/components/LayoutItemBar.js","children":[{"name":"src/layout/components/LayoutItemBar.tsx","uid":"ba73-39"}]},{"name":"layout/components/SecondaryMenuToggleItem.js","children":[{"name":"src/layout/components/SecondaryMenuToggleItem.tsx","uid":"ba73-41"}]},{"name":"content/hooks/useBuildContentData.js","children":[{"name":"src/content/hooks/useBuildContentData.ts","uid":"ba73-43"}]},{"name":"content/components/Header.js","children":[{"name":"src/content/components/Header.tsx","uid":"ba73-45"}]},{"name":"content/components/SidebarItemWrapper.js","children":[{"name":"src/content/components/SidebarItemWrapper.tsx","uid":"ba73-47"}]},{"name":"layout/types.js","children":[{"name":"src/layout/types.ts","uid":"ba73-49"}]},{"name":"layout/utils.js","children":[{"name":"src/layout/utils.tsx","uid":"ba73-51"}]},{"name":"hooks/useBuildData.js","children":[{"name":"src/hooks/useBuildData.ts","uid":"ba73-53"}]},{"name":"layout/components/LayoutItemWrapper.js","children":[{"name":"src/layout/components/LayoutItemWrapper.tsx","uid":"ba73-55"}]},{"name":"content/components/ActionFormSidebarItemComponent.js","children":[{"name":"src/content/components/ActionFormSidebarItemComponent.tsx","uid":"ba73-57"}]},{"name":"content/components/ActionSidebarItemComponent.js","children":[{"name":"src/content/components/ActionSidebarItemComponent.tsx","uid":"ba73-59"}]},{"name":"content/components/CustomSidebarItemComponent.js","children":[{"name":"src/content/components/CustomSidebarItemComponent.tsx","uid":"ba73-61"}]},{"name":"content/components/PlainSidebarItem.js","children":[{"name":"src/content/components/PlainSidebarItem.tsx","uid":"ba73-63"}]},{"name":"commonItems.js","children":[{"name":"src/commonItems.ts","uid":"ba73-65"}]},{"name":"hooks/useIsActiveRoute.js","children":[{"name":"src/hooks/useIsActiveRoute.ts","uid":"ba73-67"}]},{"name":"hooks/useSelectPermission.js","children":[{"name":"src/hooks/useSelectPermission.ts","uid":"ba73-69"}]},{"name":"hooks/useSelectState.js","children":[{"name":"src/hooks/useSelectState.ts","uid":"ba73-71"}]},{"name":"content/utils.js","children":[{"name":"src/content/utils.tsx","uid":"ba73-73"}]},{"name":"layout/components/CustomLayoutItemComponent.js","children":[{"name":"src/layout/components/CustomLayoutItemComponent.tsx","uid":"ba73-75"}]},{"name":"layout/components/DropdownItem.js","children":[{"name":"src/layout/components/DropdownItem.tsx","uid":"ba73-77"}]},{"name":"layout/components/MenuItem.js","children":[{"name":"src/layout/components/MenuItem.tsx","uid":"ba73-79"}]},{"name":"layout/components/PlainItem.js","children":[{"name":"src/layout/components/PlainItem.tsx","uid":"ba73-81"}]},{"name":"content/components/ActionForm.js","children":[{"name":"src/content/components/ActionForm.tsx","uid":"ba73-83"}]},{"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":"ba73-85"}]}],"isRoot":true},"nodeParts":{"ba73-1":{"renderedLength":184,"gzipLength":151,"brotliLength":131,"mainUid":"ba73-0"},"ba73-3":{"renderedLength":489,"gzipLength":251,"brotliLength":217,"mainUid":"ba73-2"},"ba73-5":{"renderedLength":59,"gzipLength":71,"brotliLength":63,"mainUid":"ba73-4"},"ba73-7":{"renderedLength":1955,"gzipLength":564,"brotliLength":488,"mainUid":"ba73-6"},"ba73-9":{"renderedLength":650,"gzipLength":300,"brotliLength":268,"mainUid":"ba73-8"},"ba73-11":{"renderedLength":445,"gzipLength":266,"brotliLength":229,"mainUid":"ba73-10"},"ba73-13":{"renderedLength":121,"gzipLength":110,"brotliLength":90,"mainUid":"ba73-12"},"ba73-15":{"renderedLength":388,"gzipLength":167,"brotliLength":111,"mainUid":"ba73-14"},"ba73-17":{"renderedLength":1058,"gzipLength":392,"brotliLength":330,"mainUid":"ba73-16"},"ba73-19":{"renderedLength":339,"gzipLength":201,"brotliLength":164,"mainUid":"ba73-18"},"ba73-21":{"renderedLength":663,"gzipLength":328,"brotliLength":285,"mainUid":"ba73-20"},"ba73-23":{"renderedLength":2630,"gzipLength":743,"brotliLength":629,"mainUid":"ba73-22"},"ba73-25":{"renderedLength":1970,"gzipLength":651,"brotliLength":565,"mainUid":"ba73-24"},"ba73-27":{"renderedLength":123,"gzipLength":107,"brotliLength":93,"mainUid":"ba73-26"},"ba73-29":{"renderedLength":345,"gzipLength":206,"brotliLength":172,"mainUid":"ba73-28"},"ba73-31":{"renderedLength":145,"gzipLength":117,"brotliLength":116,"mainUid":"ba73-30"},"ba73-33":{"renderedLength":1401,"gzipLength":377,"brotliLength":347,"mainUid":"ba73-32"},"ba73-35":{"renderedLength":3176,"gzipLength":933,"brotliLength":762,"mainUid":"ba73-34"},"ba73-37":{"renderedLength":1469,"gzipLength":528,"brotliLength":431,"mainUid":"ba73-36"},"ba73-39":{"renderedLength":726,"gzipLength":295,"brotliLength":252,"mainUid":"ba73-38"},"ba73-41":{"renderedLength":335,"gzipLength":222,"brotliLength":169,"mainUid":"ba73-40"},"ba73-43":{"renderedLength":257,"gzipLength":158,"brotliLength":122,"mainUid":"ba73-42"},"ba73-45":{"renderedLength":1042,"gzipLength":377,"brotliLength":323,"mainUid":"ba73-44"},"ba73-47":{"renderedLength":1189,"gzipLength":399,"brotliLength":314,"mainUid":"ba73-46"},"ba73-49":{"renderedLength":191,"gzipLength":111,"brotliLength":89,"mainUid":"ba73-48"},"ba73-51":{"renderedLength":915,"gzipLength":392,"brotliLength":328,"mainUid":"ba73-50"},"ba73-53":{"renderedLength":785,"gzipLength":362,"brotliLength":321,"mainUid":"ba73-52"},"ba73-55":{"renderedLength":1503,"gzipLength":488,"brotliLength":399,"mainUid":"ba73-54"},"ba73-57":{"renderedLength":663,"gzipLength":344,"brotliLength":277,"mainUid":"ba73-56"},"ba73-59":{"renderedLength":362,"gzipLength":244,"brotliLength":185,"mainUid":"ba73-58"},"ba73-61":{"renderedLength":83,"gzipLength":96,"brotliLength":66,"mainUid":"ba73-60"},"ba73-63":{"renderedLength":344,"gzipLength":235,"brotliLength":186,"mainUid":"ba73-62"},"ba73-65":{"renderedLength":203,"gzipLength":136,"brotliLength":97,"mainUid":"ba73-64"},"ba73-67":{"renderedLength":514,"gzipLength":229,"brotliLength":187,"mainUid":"ba73-66"},"ba73-69":{"renderedLength":294,"gzipLength":154,"brotliLength":114,"mainUid":"ba73-68"},"ba73-71":{"renderedLength":326,"gzipLength":176,"brotliLength":141,"mainUid":"ba73-70"},"ba73-73":{"renderedLength":628,"gzipLength":259,"brotliLength":219,"mainUid":"ba73-72"},"ba73-75":{"renderedLength":82,"gzipLength":95,"brotliLength":66,"mainUid":"ba73-74"},"ba73-77":{"renderedLength":1179,"gzipLength":451,"brotliLength":362,"mainUid":"ba73-76"},"ba73-79":{"renderedLength":252,"gzipLength":159,"brotliLength":116,"mainUid":"ba73-78"},"ba73-81":{"renderedLength":244,"gzipLength":178,"brotliLength":145,"mainUid":"ba73-80"},"ba73-83":{"renderedLength":1667,"gzipLength":625,"brotliLength":519,"mainUid":"ba73-82"},"ba73-85":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"ba73-84"}},"nodeMetas":{"ba73-0":{"id":"/src/index.ts","moduleParts":{"index.js":"ba73-1"},"imported":[{"uid":"ba73-10"},{"uid":"ba73-6"},{"uid":"ba73-2"},{"uid":"ba73-8"},{"uid":"ba73-4"}],"importedBy":[],"isEntry":true},"ba73-2":{"id":"/src/state.ts","moduleParts":{"state.js":"ba73-3"},"imported":[{"uid":"ba73-90"},{"uid":"ba73-91"}],"importedBy":[{"uid":"ba73-0"},{"uid":"ba73-10"},{"uid":"ba73-20"},{"uid":"ba73-22"},{"uid":"ba73-24"},{"uid":"ba73-28"},{"uid":"ba73-52"}]},"ba73-4":{"id":"/src/content/dividerSidebarItem.ts","moduleParts":{"content/dividerSidebarItem.js":"ba73-5"},"imported":[],"importedBy":[{"uid":"ba73-0"}]},"ba73-6":{"id":"/src/layout/withLayout.tsx","moduleParts":{"layout/withLayout.js":"ba73-7"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-86"},{"uid":"ba73-16"},{"uid":"ba73-18"},{"uid":"ba73-20"},{"uid":"ba73-12"},{"uid":"ba73-22"}],"importedBy":[{"uid":"ba73-0"}]},"ba73-8":{"id":"/src/content/createPages.tsx","moduleParts":{"content/createPages.js":"ba73-9"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-86"},{"uid":"ba73-24"},{"uid":"ba73-14"}],"importedBy":[{"uid":"ba73-0"}]},"ba73-10":{"id":"/src/layout/hooks/useMobileLayout.ts","moduleParts":{"layout/hooks/useMobileLayout.js":"ba73-11"},"imported":[{"uid":"ba73-86"},{"uid":"ba73-87"},{"uid":"ba73-88"},{"uid":"ba73-89"},{"uid":"ba73-2"}],"importedBy":[{"uid":"ba73-0"}]},"ba73-12":{"id":"/src/types.ts","moduleParts":{"types.js":"ba73-13"},"imported":[],"importedBy":[{"uid":"ba73-6"}]},"ba73-14":{"id":"/src/content/types.ts","moduleParts":{"content/types.js":"ba73-15"},"imported":[],"importedBy":[{"uid":"ba73-8"},{"uid":"ba73-44"},{"uid":"ba73-46"}]},"ba73-16":{"id":"/src/datahooks/DataHooks.tsx","moduleParts":{"datahooks/DataHooks.js":"ba73-17"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-86"},{"uid":"ba73-92"},{"uid":"ba73-26"}],"importedBy":[{"uid":"ba73-6"},{"uid":"ba73-24"}]},"ba73-18":{"id":"/src/datahooks/PermissionHooks.tsx","moduleParts":{"datahooks/PermissionHooks.js":"ba73-19"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-86"},{"uid":"ba73-28"}],"importedBy":[{"uid":"ba73-6"}]},"ba73-20":{"id":"/src/datahooks/Permissions.tsx","moduleParts":{"datahooks/Permissions.js":"ba73-21"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-93"},{"uid":"ba73-86"},{"uid":"ba73-88"},{"uid":"ba73-2"}],"importedBy":[{"uid":"ba73-6"}]},"ba73-22":{"id":"/src/layout/components/Layout.tsx","moduleParts":{"layout/components/Layout.js":"ba73-23"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-86"},{"uid":"ba73-94"},{"uid":"ba73-2"},{"uid":"ba73-32"},{"uid":"ba73-38"},{"uid":"ba73-40"},{"uid":"ba73-34"}],"importedBy":[{"uid":"ba73-6"}]},"ba73-24":{"id":"/src/content/components/ContentComponent.tsx","moduleParts":{"content/components/ContentComponent.js":"ba73-25"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-86"},{"uid":"ba73-95"},{"uid":"ba73-88"},{"uid":"ba73-16"},{"uid":"ba73-2"},{"uid":"ba73-30"},{"uid":"ba73-42"},{"uid":"ba73-44"},{"uid":"ba73-46"},{"uid":"ba73-36"}],"importedBy":[{"uid":"ba73-8"}]},"ba73-26":{"id":"/src/datahooks/ExecuteDataHook.tsx","moduleParts":{"datahooks/ExecuteDataHook.js":"ba73-27"},"imported":[{"uid":"ba73-87"}],"importedBy":[{"uid":"ba73-16"}]},"ba73-28":{"id":"/src/datahooks/ExecutePermissionHook.tsx","moduleParts":{"datahooks/ExecutePermissionHook.js":"ba73-29"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-88"},{"uid":"ba73-2"}],"importedBy":[{"uid":"ba73-18"}]},"ba73-30":{"id":"/src/utils.ts","moduleParts":{"utils.js":"ba73-31"},"imported":[{"uid":"ba73-95"}],"importedBy":[{"uid":"ba73-24"},{"uid":"ba73-38"},{"uid":"ba73-54"}]},"ba73-32":{"id":"/src/layout/moveItems.ts","moduleParts":{"layout/moveItems.js":"ba73-33"},"imported":[{"uid":"ba73-86"},{"uid":"ba73-95"},{"uid":"ba73-48"}],"importedBy":[{"uid":"ba73-22"}]},"ba73-34":{"id":"/src/layout/components/styles.module.css","moduleParts":{"layout/components/styles.module.css.js":"ba73-35"},"imported":[{"uid":"ba73-84"}],"importedBy":[{"uid":"ba73-22"},{"uid":"ba73-40"},{"uid":"ba73-76"}]},"ba73-36":{"id":"/src/content/components/styles.module.css","moduleParts":{"content/components/styles.module.css.js":"ba73-37"},"imported":[{"uid":"ba73-84"}],"importedBy":[{"uid":"ba73-24"},{"uid":"ba73-44"}]},"ba73-38":{"id":"/src/layout/components/LayoutItemBar.tsx","moduleParts":{"layout/components/LayoutItemBar.js":"ba73-39"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-86"},{"uid":"ba73-94"},{"uid":"ba73-30"},{"uid":"ba73-50"},{"uid":"ba73-54"}],"importedBy":[{"uid":"ba73-22"}]},"ba73-40":{"id":"/src/layout/components/SecondaryMenuToggleItem.tsx","moduleParts":{"layout/components/SecondaryMenuToggleItem.js":"ba73-41"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-94"},{"uid":"ba73-34"}],"importedBy":[{"uid":"ba73-22"}]},"ba73-42":{"id":"/src/content/hooks/useBuildContentData.ts","moduleParts":{"content/hooks/useBuildContentData.js":"ba73-43"},"imported":[{"uid":"ba73-52"}],"importedBy":[{"uid":"ba73-24"},{"uid":"ba73-46"}]},"ba73-44":{"id":"/src/content/components/Header.tsx","moduleParts":{"content/components/Header.js":"ba73-45"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-86"},{"uid":"ba73-94"},{"uid":"ba73-14"},{"uid":"ba73-36"}],"importedBy":[{"uid":"ba73-24"}]},"ba73-46":{"id":"/src/content/components/SidebarItemWrapper.tsx","moduleParts":{"content/components/SidebarItemWrapper.js":"ba73-47"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-86"},{"uid":"ba73-96"},{"uid":"ba73-94"},{"uid":"ba73-42"},{"uid":"ba73-14"},{"uid":"ba73-56"},{"uid":"ba73-58"},{"uid":"ba73-60"},{"uid":"ba73-62"}],"importedBy":[{"uid":"ba73-24"}]},"ba73-48":{"id":"/src/layout/types.ts","moduleParts":{"layout/types.js":"ba73-49"},"imported":[],"importedBy":[{"uid":"ba73-32"},{"uid":"ba73-54"}]},"ba73-50":{"id":"/src/layout/utils.tsx","moduleParts":{"layout/utils.js":"ba73-51"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-92"},{"uid":"ba73-94"},{"uid":"ba73-64"}],"importedBy":[{"uid":"ba73-38"},{"uid":"ba73-76"},{"uid":"ba73-80"}]},"ba73-52":{"id":"/src/hooks/useBuildData.ts","moduleParts":{"hooks/useBuildData.js":"ba73-53"},"imported":[{"uid":"ba73-93"},{"uid":"ba73-86"},{"uid":"ba73-95"},{"uid":"ba73-92"},{"uid":"ba73-2"},{"uid":"ba73-66"},{"uid":"ba73-68"},{"uid":"ba73-70"}],"importedBy":[{"uid":"ba73-42"},{"uid":"ba73-54"}]},"ba73-54":{"id":"/src/layout/components/LayoutItemWrapper.tsx","moduleParts":{"layout/components/LayoutItemWrapper.js":"ba73-55"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-86"},{"uid":"ba73-96"},{"uid":"ba73-94"},{"uid":"ba73-52"},{"uid":"ba73-30"},{"uid":"ba73-48"},{"uid":"ba73-74"},{"uid":"ba73-76"},{"uid":"ba73-78"},{"uid":"ba73-80"}],"importedBy":[{"uid":"ba73-38"}]},"ba73-56":{"id":"/src/content/components/ActionFormSidebarItemComponent.tsx","moduleParts":{"content/components/ActionFormSidebarItemComponent.js":"ba73-57"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-86"},{"uid":"ba73-94"},{"uid":"ba73-72"},{"uid":"ba73-82"}],"importedBy":[{"uid":"ba73-46"}]},"ba73-58":{"id":"/src/content/components/ActionSidebarItemComponent.tsx","moduleParts":{"content/components/ActionSidebarItemComponent.js":"ba73-59"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-94"},{"uid":"ba73-72"}],"importedBy":[{"uid":"ba73-46"}]},"ba73-60":{"id":"/src/content/components/CustomSidebarItemComponent.tsx","moduleParts":{"content/components/CustomSidebarItemComponent.js":"ba73-61"},"imported":[{"uid":"ba73-87"}],"importedBy":[{"uid":"ba73-46"}]},"ba73-62":{"id":"/src/content/components/PlainSidebarItem.tsx","moduleParts":{"content/components/PlainSidebarItem.js":"ba73-63"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-92"},{"uid":"ba73-94"},{"uid":"ba73-72"}],"importedBy":[{"uid":"ba73-46"}]},"ba73-64":{"id":"/src/commonItems.ts","moduleParts":{"commonItems.js":"ba73-65"},"imported":[],"importedBy":[{"uid":"ba73-50"},{"uid":"ba73-66"}]},"ba73-66":{"id":"/src/hooks/useIsActiveRoute.ts","moduleParts":{"hooks/useIsActiveRoute.js":"ba73-67"},"imported":[{"uid":"ba73-97"},{"uid":"ba73-64"}],"importedBy":[{"uid":"ba73-52"}]},"ba73-68":{"id":"/src/hooks/useSelectPermission.ts","moduleParts":{"hooks/useSelectPermission.js":"ba73-69"},"imported":[{"uid":"ba73-95"}],"importedBy":[{"uid":"ba73-52"}]},"ba73-70":{"id":"/src/hooks/useSelectState.ts","moduleParts":{"hooks/useSelectState.js":"ba73-71"},"imported":[{"uid":"ba73-95"}],"importedBy":[{"uid":"ba73-52"}]},"ba73-72":{"id":"/src/content/utils.tsx","moduleParts":{"content/utils.js":"ba73-73"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-94"}],"importedBy":[{"uid":"ba73-56"},{"uid":"ba73-58"},{"uid":"ba73-62"}]},"ba73-74":{"id":"/src/layout/components/CustomLayoutItemComponent.tsx","moduleParts":{"layout/components/CustomLayoutItemComponent.js":"ba73-75"},"imported":[{"uid":"ba73-87"}],"importedBy":[{"uid":"ba73-54"}]},"ba73-76":{"id":"/src/layout/components/DropdownItem.tsx","moduleParts":{"layout/components/DropdownItem.js":"ba73-77"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-86"},{"uid":"ba73-94"},{"uid":"ba73-50"},{"uid":"ba73-34"}],"importedBy":[{"uid":"ba73-54"}]},"ba73-78":{"id":"/src/layout/components/MenuItem.tsx","moduleParts":{"layout/components/MenuItem.js":"ba73-79"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-94"}],"importedBy":[{"uid":"ba73-54"}]},"ba73-80":{"id":"/src/layout/components/PlainItem.tsx","moduleParts":{"layout/components/PlainItem.js":"ba73-81"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-94"},{"uid":"ba73-50"}],"importedBy":[{"uid":"ba73-54"}]},"ba73-82":{"id":"/src/content/components/ActionForm.tsx","moduleParts":{"content/components/ActionForm.js":"ba73-83"},"imported":[{"uid":"ba73-87"},{"uid":"ba73-98"},{"uid":"ba73-86"},{"uid":"ba73-94"}],"importedBy":[{"uid":"ba73-56"}]},"ba73-84":{"id":"/home/runner/work/imperium/imperium/node_modules/style-inject/dist/style-inject.es.js","moduleParts":{"external/style-inject/dist/style-inject.es.js":"ba73-85"},"imported":[],"importedBy":[{"uid":"ba73-34"},{"uid":"ba73-36"}]},"ba73-86":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"ba73-10"},{"uid":"ba73-6"},{"uid":"ba73-8"},{"uid":"ba73-16"},{"uid":"ba73-18"},{"uid":"ba73-20"},{"uid":"ba73-22"},{"uid":"ba73-24"},{"uid":"ba73-32"},{"uid":"ba73-38"},{"uid":"ba73-44"},{"uid":"ba73-46"},{"uid":"ba73-54"},{"uid":"ba73-52"},{"uid":"ba73-56"},{"uid":"ba73-76"},{"uid":"ba73-82"}],"isExternal":true},"ba73-87":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"ba73-10"},{"uid":"ba73-6"},{"uid":"ba73-8"},{"uid":"ba73-16"},{"uid":"ba73-18"},{"uid":"ba73-20"},{"uid":"ba73-22"},{"uid":"ba73-24"},{"uid":"ba73-26"},{"uid":"ba73-28"},{"uid":"ba73-38"},{"uid":"ba73-40"},{"uid":"ba73-44"},{"uid":"ba73-46"},{"uid":"ba73-50"},{"uid":"ba73-54"},{"uid":"ba73-56"},{"uid":"ba73-58"},{"uid":"ba73-60"},{"uid":"ba73-62"},{"uid":"ba73-74"},{"uid":"ba73-76"},{"uid":"ba73-78"},{"uid":"ba73-80"},{"uid":"ba73-72"},{"uid":"ba73-82"}],"isExternal":true},"ba73-88":{"id":"react-redux","moduleParts":{},"imported":[],"importedBy":[{"uid":"ba73-10"},{"uid":"ba73-20"},{"uid":"ba73-24"},{"uid":"ba73-28"}],"isExternal":true},"ba73-89":{"id":"react-responsive","moduleParts":{},"imported":[],"importedBy":[{"uid":"ba73-10"}],"isExternal":true},"ba73-90":{"id":"@imperium/state","moduleParts":{},"imported":[],"importedBy":[{"uid":"ba73-2"}],"isExternal":true},"ba73-91":{"id":"@reduxjs/toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"ba73-2"}],"isExternal":true},"ba73-92":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"ba73-16"},{"uid":"ba73-50"},{"uid":"ba73-52"},{"uid":"ba73-62"}],"isExternal":true},"ba73-93":{"id":"@imperium/auth-client","moduleParts":{},"imported":[],"importedBy":[{"uid":"ba73-20"},{"uid":"ba73-52"}],"isExternal":true},"ba73-94":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"ba73-22"},{"uid":"ba73-38"},{"uid":"ba73-40"},{"uid":"ba73-44"},{"uid":"ba73-46"},{"uid":"ba73-50"},{"uid":"ba73-54"},{"uid":"ba73-56"},{"uid":"ba73-58"},{"uid":"ba73-62"},{"uid":"ba73-76"},{"uid":"ba73-78"},{"uid":"ba73-80"},{"uid":"ba73-72"},{"uid":"ba73-82"}],"isExternal":true},"ba73-95":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"ba73-24"},{"uid":"ba73-32"},{"uid":"ba73-30"},{"uid":"ba73-52"},{"uid":"ba73-68"},{"uid":"ba73-70"}],"isExternal":true},"ba73-96":{"id":"mingo","moduleParts":{},"imported":[],"importedBy":[{"uid":"ba73-46"},{"uid":"ba73-54"}],"isExternal":true},"ba73-97":{"id":"react-router","moduleParts":{},"imported":[],"importedBy":[{"uid":"ba73-66"}],"isExternal":true},"ba73-98":{"id":"@thx/controls","moduleParts":{},"imported":[],"importedBy":[{"uid":"ba73-82"}],"isExternal":true}},"env":{"rollup":"2.70.1"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
|
|
2673
2673
|
|
|
2674
2674
|
const run = () => {
|
|
2675
2675
|
const width = window.innerWidth;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imperium/layout",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.6.1-alpha.1+0fd65e1",
|
|
4
4
|
"description": "Imperium Layout package",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/darkadept/imperium/issues"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@imperium/auth-client": "^10.5.0",
|
|
35
35
|
"@imperium/client": "^10.5.0",
|
|
36
|
-
"@imperium/router": "^10.
|
|
36
|
+
"@imperium/router": "^10.6.1-alpha.1+0fd65e1",
|
|
37
37
|
"@imperium/state": "^10.5.0",
|
|
38
38
|
"@thx/controls": "^16.3.10",
|
|
39
39
|
"debug": "^4.3.3",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "0fd65e10e0682a0868766b50e2af1e403e41d122"
|
|
64
64
|
}
|
package/dist/stats.txt
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
-----------------------------
|
|
2
|
-
Rollup File Analysis
|
|
3
|
-
-----------------------------
|
|
4
|
-
bundle size: 32.03 KB
|
|
5
|
-
original size: 52.518 KB
|
|
6
|
-
code reduction: 39.01 %
|
|
7
|
-
module count: 43
|
|
8
|
-
|
|
9
|
-
/src/layout/components/styles.module.css
|
|
10
|
-
████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 9.92 % (3.176 KB)
|
|
11
|
-
/src/layout/components/Layout.tsx
|
|
12
|
-
████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 8.21 % (2.63 KB)
|
|
13
|
-
/src/content/components/ContentComponent.tsx
|
|
14
|
-
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.15 % (1.97 KB)
|
|
15
|
-
/src/layout/withLayout.tsx
|
|
16
|
-
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.1 % (1.955 KB)
|
|
17
|
-
/src/content/components/ActionForm.tsx
|
|
18
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.2 % (1.667 KB)
|
|
19
|
-
/src/layout/components/LayoutItemWrapper.tsx
|
|
20
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.69 % (1.503 KB)
|
|
21
|
-
/src/content/components/styles.module.css
|
|
22
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.59 % (1.469 KB)
|
|
23
|
-
/src/layout/moveItems.ts
|
|
24
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.37 % (1.401 KB)
|
|
25
|
-
/src/content/components/SidebarItemWrapper.tsx
|
|
26
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.71 % (1.189 KB)
|
|
27
|
-
/src/layout/components/DropdownItem.tsx
|
|
28
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.68 % (1.179 KB)
|
|
29
|
-
/src/datahooks/DataHooks.tsx
|
|
30
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.3 % (1.058 KB)
|
|
31
|
-
/src/content/components/Header.tsx
|
|
32
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.25 % (1.042 KB)
|
|
33
|
-
/src/layout/utils.tsx
|
|
34
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.86 % (915 Bytes)
|
|
35
|
-
/src/hooks/useBuildData.ts
|
|
36
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.45 % (785 Bytes)
|
|
37
|
-
/src/layout/components/LayoutItemBar.tsx
|
|
38
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.27 % (726 Bytes)
|
|
39
|
-
/src/datahooks/Permissions.tsx
|
|
40
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.07 % (663 Bytes)
|
|
41
|
-
/src/content/components/ActionFormSidebarItemComponent.tsx
|
|
42
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.07 % (663 Bytes)
|
|
43
|
-
/src/content/createPages.tsx
|
|
44
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.03 % (650 Bytes)
|
|
45
|
-
/home/mike/dev/imperium/node_modules/style-inject/dist/style-inject.es.js
|
|
46
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.99 % (636 Bytes)
|
|
47
|
-
/src/content/utils.tsx
|
|
48
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.96 % (628 Bytes)
|
|
49
|
-
/src/hooks/useIsActiveRoute.ts
|
|
50
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.6 % (514 Bytes)
|
|
51
|
-
/src/state.ts
|
|
52
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.53 % (489 Bytes)
|
|
53
|
-
/src/layout/hooks/useMobileLayout.ts
|
|
54
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.39 % (445 Bytes)
|
|
55
|
-
/src/content/types.ts
|
|
56
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.21 % (388 Bytes)
|
|
57
|
-
/src/content/components/ActionSidebarItemComponent.tsx
|
|
58
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.13 % (362 Bytes)
|
|
59
|
-
/src/datahooks/ExecutePermissionHook.tsx
|
|
60
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.08 % (345 Bytes)
|
|
61
|
-
/src/content/components/PlainSidebarItem.tsx
|
|
62
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.07 % (344 Bytes)
|
|
63
|
-
/src/datahooks/PermissionHooks.tsx
|
|
64
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.06 % (339 Bytes)
|
|
65
|
-
/src/layout/components/SecondaryMenuToggleItem.tsx
|
|
66
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.05 % (335 Bytes)
|
|
67
|
-
/src/hooks/useSelectState.ts
|
|
68
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.02 % (326 Bytes)
|
|
69
|
-
/src/hooks/useSelectPermission.ts
|
|
70
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.92 % (294 Bytes)
|
|
71
|
-
/src/content/hooks/useBuildContentData.ts
|
|
72
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.8 % (257 Bytes)
|
|
73
|
-
/src/layout/components/MenuItem.tsx
|
|
74
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.79 % (252 Bytes)
|
|
75
|
-
/src/layout/components/PlainItem.tsx
|
|
76
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.76 % (244 Bytes)
|
|
77
|
-
/src/commonItems.ts
|
|
78
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.63 % (203 Bytes)
|
|
79
|
-
/src/layout/types.ts
|
|
80
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.6 % (191 Bytes)
|
|
81
|
-
/src/index.ts
|
|
82
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.57 % (184 Bytes)
|
|
83
|
-
/src/utils.ts
|
|
84
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.45 % (145 Bytes)
|
|
85
|
-
/src/datahooks/ExecuteDataHook.tsx
|
|
86
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.38 % (123 Bytes)
|
|
87
|
-
/src/types.ts
|
|
88
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.38 % (121 Bytes)
|
|
89
|
-
/src/content/components/CustomSidebarItemComponent.tsx
|
|
90
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.26 % (83 Bytes)
|
|
91
|
-
/src/layout/components/CustomLayoutItemComponent.tsx
|
|
92
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.26 % (82 Bytes)
|
|
93
|
-
/src/content/dividerSidebarItem.ts
|
|
94
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.18 % (59 Bytes)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useGetItems<T>(a: Record<string, T[]>): any;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { Data } from '../types';
|
|
2
|
-
import type { DataHook } from '../datahooks/types';
|
|
3
|
-
import type { HorizontalPositionedItem } from '../commonItems';
|
|
4
|
-
import type { LayoutItem } from './types';
|
|
5
|
-
export declare type InternalLayoutItem<T> = T & {
|
|
6
|
-
route: string;
|
|
7
|
-
key: string;
|
|
8
|
-
params?: Record<string, string>;
|
|
9
|
-
parent?: string;
|
|
10
|
-
};
|
|
11
|
-
export interface InternalLayoutData<T extends Data = Data> {
|
|
12
|
-
dataHooks: InternalLayoutItem<{
|
|
13
|
-
fn: DataHook;
|
|
14
|
-
}>[];
|
|
15
|
-
primaryMenu: InternalLayoutItem<LayoutItem<T> & HorizontalPositionedItem>[];
|
|
16
|
-
statusbar: InternalLayoutItem<LayoutItem<T> & HorizontalPositionedItem>[];
|
|
17
|
-
secondaryMenu: InternalLayoutItem<LayoutItem<T>>[];
|
|
18
|
-
footer: InternalLayoutItem<LayoutItem<T> & HorizontalPositionedItem>[];
|
|
19
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { useMobileLayout } from './hooks/useMobileLayout';
|
|
3
|
-
declare function MenuToggle(): JSX.Element;
|
|
4
|
-
export declare const layout: {
|
|
5
|
-
dataHooks: (typeof useMobileLayout)[];
|
|
6
|
-
primaryMenu: {
|
|
7
|
-
'/': {
|
|
8
|
-
stickOnMobile: boolean;
|
|
9
|
-
weight: number;
|
|
10
|
-
render: typeof MenuToggle;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export {};
|