@imperium/layout 10.5.0 → 10.5.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.
@@ -1,23 +1,41 @@
1
1
  import React from 'react';
2
2
  import debug from 'debug';
3
+ import { Header as Header$1 } from 'semantic-ui-react';
3
4
  import styles from './styles.module.css.js';
5
+ import { isContentHeaderObject } from '../types.js';
4
6
 
5
7
  debug("imperium.layout.content.components.Header");
6
8
  function Header({ data, header }) {
7
9
  if (header) {
8
- let headerInfo = {
9
- title: ""
10
- };
10
+ let headerComp = null;
11
11
  if (typeof header === "string") {
12
- headerInfo.title = header;
12
+ headerComp = /* @__PURE__ */ React.createElement(Header$1, {
13
+ size: "large",
14
+ content: header
15
+ });
13
16
  } else if (typeof header === "function") {
14
- headerInfo = header(data);
17
+ const a = header(data);
18
+ if (isContentHeaderObject(a)) {
19
+ headerComp = /* @__PURE__ */ React.createElement(Header$1, {
20
+ size: a.size || "large",
21
+ content: a.title,
22
+ icon: a.icon
23
+ });
24
+ } else {
25
+ headerComp = a;
26
+ }
27
+ } else if (isContentHeaderObject(header)) {
28
+ headerComp = /* @__PURE__ */ React.createElement(Header$1, {
29
+ size: header.size || "large",
30
+ content: header.title,
31
+ icon: header.icon
32
+ });
15
33
  } else {
16
- headerInfo = header;
34
+ headerComp = header;
17
35
  }
18
36
  return /* @__PURE__ */ React.createElement("div", {
19
37
  className: `${styles.header} imperiumContentHeader`
20
- }, /* @__PURE__ */ React.createElement("h2", null, headerInfo.title));
38
+ }, headerComp);
21
39
  }
22
40
  return null;
23
41
  }
@@ -1 +1 @@
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 {ContentData, ContentHeader} 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 headerInfo = {\n\t\t\ttitle: '',\n\t\t};\n\t\tif (typeof header === 'string') {\n\t\t\theaderInfo.title = header;\n\t\t} else if (typeof header === 'function') {\n\t\t\theaderInfo = header(data);\n\t\t} else {\n\t\t\theaderInfo = header;\n\t\t}\n\t\treturn (\n\t\t\t<div className={`${styles.header} imperiumContentHeader`}>\n\t\t\t\t<h2>{headerInfo.title}</h2>\n\t\t\t</div>\n\t\t);\n\t}\n\treturn null;\n}\n"],"names":[],"mappings":";;;;AAKU,MAAM,2CAA2C,EAAA;AAOa,SAAA,MAAA,CAAA,EAAC,MAAM,MAA4B,EAAA,EAAA;AAC1G,EAAA,IAAI,MAAQ,EAAA;AACX,IAAA,IAAI,UAAa,GAAA;AAAA,MAChB,KAAO,EAAA,EAAA;AAAA,KACR,CAAA;AACA,IAAI,IAAA,OAAO,WAAW,QAAU,EAAA;AAC/B,MAAA,UAAA,CAAW,KAAQ,GAAA,MAAA,CAAA;AAAA,KACpB,MAAA,IAAW,OAAO,MAAA,KAAW,UAAY,EAAA;AACxC,MAAA,UAAA,GAAa,OAAO,IAAI,CAAA,CAAA;AAAA,KAClB,MAAA;AACN,MAAa,UAAA,GAAA,MAAA,CAAA;AAAA,KACd;AACA,IAAA,uBACE,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AAAA,MAAI,SAAA,EAAW,GAAG,MAAO,CAAA,MAAA,CAAA,sBAAA,CAAA;AAAA,KAAA,kBACxB,KAAA,CAAA,aAAA,CAAA,IAAA,EAAA,IAAA,EAAI,UAAW,CAAA,KAAM,CACvB,CAAA,CAAA;AAAA,GAEF;AACA,EAAO,OAAA,IAAA,CAAA;AACR;;;;"}
1
+ {"version":3,"file":"Header.js","sources":["../../../../src/content/components/Header.tsx"],"sourcesContent":["import type {ReactNode} from 'react';\nimport type {DefineRouteOptions} from '@imperium/router';\nimport debug from 'debug';\nimport {Header as H} from 'semantic-ui-react';\nimport type {ContentData, ContentHeader} from '../types';\nimport styles from './styles.module.css';\nimport {isContentHeaderObject} from '../types';\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;;;;"}
@@ -1,3 +1,6 @@
1
+ function isContentHeaderObject(value) {
2
+ return value && value.title;
3
+ }
1
4
  function isPage(value) {
2
5
  return !!value.content;
3
6
  }
@@ -14,5 +17,5 @@ function isDividerSidebarItem(value) {
14
17
  return value.divider;
15
18
  }
16
19
 
17
- export { isActionFormSidebarItem, isActionSidebarItem, isCustomSidebarItem, isDividerSidebarItem, isPage };
20
+ export { isActionFormSidebarItem, isActionSidebarItem, isContentHeaderObject, isCustomSidebarItem, isDividerSidebarItem, isPage };
18
21
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sources":["../../../src/content/types.ts"],"sourcesContent":["import type {DefineRouteOptions, ParametersFromAssertion} from '@imperium/router';\nimport type React from 'react';\nimport type {SemanticCOLORS, SemanticICONS} from 'semantic-ui-react';\nimport type {RouteItem, VisibilityItem, WeightedItem} from '../commonItems';\nimport type {DataHookItem} from '../datahooks/types';\nimport type {Data, PermissionSelectorHook, StateSelectorHook} from '../types';\n\nexport type RouteParameters<T extends readonly string[] | undefined> = T extends readonly string[] ? ParametersFromAssertion<T> : never;\n\nexport interface ContentData<T extends DefineRouteOptions, K extends keyof T> extends Data {\n\tparams: RouteParameters<T[K]['params']>;\n}\n\nexport type Content<T extends DefineRouteOptions, K extends keyof T> = (data: ContentData<T, K>) => JSX.Element;\n\nexport interface BaseSidebarItem<T extends DefineRouteOptions, K extends keyof T> extends WeightedItem, VisibilityItem {\n\ttext: string | ((data: ContentData<T, K>) => string);\n\ticon?: SemanticICONS | ((data: ContentData<T, K>) => SemanticICONS);\n\tcolor?: SemanticCOLORS | ((data: ContentData<T, K>) => SemanticCOLORS);\n}\n\nexport interface DividerSidebarItem<T extends DefineRouteOptions, K extends keyof T> extends BaseSidebarItem<T, K> {\n\tdivider: boolean;\n}\n\nexport interface ActionSidebarItem<T extends DefineRouteOptions, K extends keyof T> extends BaseSidebarItem<T, K> {\n\tonClick: (data: ContentData<T, K>) => void;\n}\n\ninterface ActionFormSidebarItemFormParams<T extends DefineRouteOptions, K extends keyof T> {\n\tvalues: Record<string, any>;\n\thandleChange: (e: React.ChangeEvent<any>) => void;\n\tfieldError: (fieldName: string | number) => boolean;\n\tdata: ContentData<T, K>;\n}\nexport interface ActionFormSidebarItem<T extends DefineRouteOptions, K extends keyof T> extends BaseSidebarItem<T, K> {\n\tform: (params: ActionFormSidebarItemFormParams<T, K>) => JSX.Element | null;\n\tinitialValues?: Record<string, any> | ((data: ContentData<T, K>) => Record<string, any>);\n\tonSubmit?: (values: Record<string, any>, data: ContentData<T, K>) => void;\n\tvalidationSchema?: any;\n}\n\nexport interface CustomSidebarItem<T extends DefineRouteOptions, K extends keyof T> extends WeightedItem, VisibilityItem {\n\trender: (data: ContentData<T, K>) => JSX.Element | null;\n}\n\nexport type SidebarItem<T extends DefineRouteOptions, K extends keyof T> =\n\t| (BaseSidebarItem<T, K> & RouteItem<ContentData<T, K>>)\n\t| ActionSidebarItem<T, K>\n\t| CustomSidebarItem<T, K>\n\t| ActionFormSidebarItem<T, K>\n\t| DividerSidebarItem<T, K>;\n\nexport type ContentHeader<T extends DefineRouteOptions, K extends keyof T> =\n\t| string\n\t| {title: string; icon?: string} // TODO icon should probably be SemanticICONS\n\t| ((data: ContentData<T, K>) => {title: string; icon?: string})\n\t| undefined;\n\nexport interface Page<T extends DefineRouteOptions, K extends keyof T> {\n\tdataHooks?: DataHookItem[];\n\tstateSelectorHook?: StateSelectorHook | StateSelectorHook[];\n\tpermissionSelectorHook?: PermissionSelectorHook | PermissionSelectorHook[];\n\tcontent: Content<T, K>;\n\theader?: ContentHeader<T, K>;\n\tsidebar?: SidebarItem<T, K>[];\n\tfull?: boolean;\n}\n\nexport type Pages<T extends DefineRouteOptions> = {\n\t[key in keyof T]: Page<T, key> | Content<T, key>;\n};\n\nexport function isPage<T extends DefineRouteOptions, K extends keyof T>(value: any): value is Page<T, K> {\n\treturn !!(value as Page<T, K>).content;\n}\n\nexport function isActionSidebarItem<T extends DefineRouteOptions, K extends keyof T>(value: any): value is ActionSidebarItem<T, K> {\n\treturn !!(value as ActionSidebarItem<T, K>).onClick;\n}\n\nexport function isActionFormSidebarItem<T extends DefineRouteOptions, K extends keyof T>(value: any): value is ActionFormSidebarItem<T, K> {\n\treturn !!(value as ActionFormSidebarItem<T, K>).form;\n}\n\nexport function isCustomSidebarItem<T extends DefineRouteOptions, K extends keyof T>(value: any): value is CustomSidebarItem<T, K> {\n\treturn !!(value as CustomSidebarItem<T, K>).render;\n}\n\nexport function isDividerSidebarItem<T extends DefineRouteOptions, K extends keyof T>(value: any): value is DividerSidebarItem<T, K> {\n\treturn (value as DividerSidebarItem<T, K>).divider;\n}\n"],"names":[],"mappings":"AAyEO,SAAA,MAAA,CAAiE,KAAiC,EAAA;AACxG,EAAO,OAAA,CAAC,CAAE,KAAqB,CAAA,OAAA,CAAA;AAChC,CAAA;AAEO,SAAA,mBAAA,CAA8E,KAA8C,EAAA;AAClI,EAAO,OAAA,CAAC,CAAE,KAAkC,CAAA,OAAA,CAAA;AAC7C,CAAA;AAEO,SAAA,uBAAA,CAAkF,KAAkD,EAAA;AAC1I,EAAO,OAAA,CAAC,CAAE,KAAsC,CAAA,IAAA,CAAA;AACjD,CAAA;AAEO,SAAA,mBAAA,CAA8E,KAA8C,EAAA;AAClI,EAAO,OAAA,CAAC,CAAE,KAAkC,CAAA,MAAA,CAAA;AAC7C,CAAA;AAEO,SAAA,oBAAA,CAA+E,KAA+C,EAAA;AACpI,EAAA,OAAQ,KAAmC,CAAA,OAAA,CAAA;AAC5C;;;;"}
1
+ {"version":3,"file":"types.js","sources":["../../../src/content/types.ts"],"sourcesContent":["import type {DefineRouteOptions, ParametersFromAssertion} from '@imperium/router';\nimport type React from 'react';\nimport type {SemanticCOLORS, SemanticICONS} from 'semantic-ui-react';\nimport type {RouteItem, VisibilityItem, WeightedItem} from '../commonItems';\nimport type {DataHookItem} from '../datahooks/types';\nimport type {Data, PermissionSelectorHook, StateSelectorHook} from '../types';\n\nexport type RouteParameters<T extends readonly string[] | undefined> = T extends readonly string[] ? ParametersFromAssertion<T> : never;\n\nexport interface ContentData<T extends DefineRouteOptions, K extends keyof T> extends Data {\n\tparams: RouteParameters<T[K]['params']>;\n}\n\nexport type Content<T extends DefineRouteOptions, K extends keyof T> = (data: ContentData<T, K>) => JSX.Element;\n\nexport interface BaseSidebarItem<T extends DefineRouteOptions, K extends keyof T> extends WeightedItem, VisibilityItem {\n\ttext: string | ((data: ContentData<T, K>) => string);\n\ticon?: SemanticICONS | ((data: ContentData<T, K>) => SemanticICONS);\n\tcolor?: SemanticCOLORS | ((data: ContentData<T, K>) => SemanticCOLORS);\n}\n\nexport interface DividerSidebarItem<T extends DefineRouteOptions, K extends keyof T> extends BaseSidebarItem<T, K> {\n\tdivider: boolean;\n}\n\nexport interface ActionSidebarItem<T extends DefineRouteOptions, K extends keyof T> extends BaseSidebarItem<T, K> {\n\tonClick: (data: ContentData<T, K>) => void;\n}\n\ninterface ActionFormSidebarItemFormParams<T extends DefineRouteOptions, K extends keyof T> {\n\tvalues: Record<string, any>;\n\thandleChange: (e: React.ChangeEvent<any>) => void;\n\tfieldError: (fieldName: string | number) => boolean;\n\tdata: ContentData<T, K>;\n}\nexport interface ActionFormSidebarItem<T extends DefineRouteOptions, K extends keyof T> extends BaseSidebarItem<T, K> {\n\tform: (params: ActionFormSidebarItemFormParams<T, K>) => JSX.Element | null;\n\tinitialValues?: Record<string, any> | ((data: ContentData<T, K>) => Record<string, any>);\n\tonSubmit?: (values: Record<string, any>, data: ContentData<T, K>) => void;\n\tvalidationSchema?: any;\n}\n\nexport interface CustomSidebarItem<T extends DefineRouteOptions, K extends keyof T> extends WeightedItem, VisibilityItem {\n\trender: (data: ContentData<T, K>) => JSX.Element | null;\n}\n\nexport type SidebarItem<T extends DefineRouteOptions, K extends keyof T> =\n\t| (BaseSidebarItem<T, K> & RouteItem<ContentData<T, K>>)\n\t| ActionSidebarItem<T, K>\n\t| CustomSidebarItem<T, K>\n\t| ActionFormSidebarItem<T, K>\n\t| DividerSidebarItem<T, K>;\n\nexport interface ContentHeaderObject {\n\ttitle: string;\n\ticon?: string;\n\tsize?: 'tiny' | 'small' | 'medium' | 'large' | 'huge';\n}\n\nexport function isContentHeaderObject(value: any): value is ContentHeaderObject {\n\treturn value && value.title;\n}\n\nexport type ContentHeader<T extends DefineRouteOptions, K extends keyof T> =\n\t| string\n\t| ContentHeaderObject\n\t| ((data: ContentData<T, K>) => ContentHeaderObject)\n\t| JSX.Element\n\t| ((data: ContentData<T, K>) => JSX.Element)\n\t| undefined;\n\nexport interface Page<T extends DefineRouteOptions, K extends keyof T> {\n\tdataHooks?: DataHookItem[];\n\tstateSelectorHook?: StateSelectorHook | StateSelectorHook[];\n\tpermissionSelectorHook?: PermissionSelectorHook | PermissionSelectorHook[];\n\tcontent: Content<T, K>;\n\theader?: ContentHeader<T, K>;\n\tsidebar?: SidebarItem<T, K>[];\n\tfull?: boolean;\n}\n\nexport type Pages<T extends DefineRouteOptions> = {\n\t[key in keyof T]: Page<T, key> | Content<T, key>;\n};\n\nexport function isPage<T extends DefineRouteOptions, K extends keyof T>(value: any): value is Page<T, K> {\n\treturn !!(value as Page<T, K>).content;\n}\n\nexport function isActionSidebarItem<T extends DefineRouteOptions, K extends keyof T>(value: any): value is ActionSidebarItem<T, K> {\n\treturn !!(value as ActionSidebarItem<T, K>).onClick;\n}\n\nexport function isActionFormSidebarItem<T extends DefineRouteOptions, K extends keyof T>(value: any): value is ActionFormSidebarItem<T, K> {\n\treturn !!(value as ActionFormSidebarItem<T, K>).form;\n}\n\nexport function isCustomSidebarItem<T extends DefineRouteOptions, K extends keyof T>(value: any): value is CustomSidebarItem<T, K> {\n\treturn !!(value as CustomSidebarItem<T, K>).render;\n}\n\nexport function isDividerSidebarItem<T extends DefineRouteOptions, K extends keyof T>(value: any): value is DividerSidebarItem<T, K> {\n\treturn (value as DividerSidebarItem<T, K>).divider;\n}\n"],"names":[],"mappings":"AA2DO,SAAA,qBAAA,CAA+B,KAA0C,EAAA;AAC/E,EAAA,OAAO,SAAS,KAAM,CAAA,KAAA,CAAA;AACvB,CAAA;AAwBO,SAAA,MAAA,CAAiE,KAAiC,EAAA;AACxG,EAAO,OAAA,CAAC,CAAE,KAAqB,CAAA,OAAA,CAAA;AAChC,CAAA;AAEO,SAAA,mBAAA,CAA8E,KAA8C,EAAA;AAClI,EAAO,OAAA,CAAC,CAAE,KAAkC,CAAA,OAAA,CAAA;AAC7C,CAAA;AAEO,SAAA,uBAAA,CAAkF,KAAkD,EAAA;AAC1I,EAAO,OAAA,CAAC,CAAE,KAAsC,CAAA,IAAA,CAAA;AACjD,CAAA;AAEO,SAAA,mBAAA,CAA8E,KAA8C,EAAA;AAClI,EAAO,OAAA,CAAC,CAAE,KAAkC,CAAA,MAAA,CAAA;AAC7C,CAAA;AAEO,SAAA,oBAAA,CAA+E,KAA+C,EAAA;AACpI,EAAA,OAAQ,KAAmC,CAAA,OAAA,CAAA;AAC5C;;;;"}
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":"8d1e-1"}]},{"name":"state.js","children":[{"name":"src/state.ts","uid":"8d1e-3"}]},{"name":"content/dividerSidebarItem.js","children":[{"name":"src/content/dividerSidebarItem.ts","uid":"8d1e-5"}]},{"name":"layout/withLayout.js","children":[{"name":"src/layout/withLayout.tsx","uid":"8d1e-7"}]},{"name":"content/createPages.js","children":[{"name":"src/content/createPages.tsx","uid":"8d1e-9"}]},{"name":"layout/hooks/useMobileLayout.js","children":[{"name":"src/layout/hooks/useMobileLayout.ts","uid":"8d1e-11"}]},{"name":"types.js","children":[{"name":"src/types.ts","uid":"8d1e-13"}]},{"name":"content/types.js","children":[{"name":"src/content/types.ts","uid":"8d1e-15"}]},{"name":"datahooks/PermissionHooks.js","children":[{"name":"src/datahooks/PermissionHooks.tsx","uid":"8d1e-17"}]},{"name":"datahooks/DataHooks.js","children":[{"name":"src/datahooks/DataHooks.tsx","uid":"8d1e-19"}]},{"name":"datahooks/Permissions.js","children":[{"name":"src/datahooks/Permissions.tsx","uid":"8d1e-21"}]},{"name":"layout/components/Layout.js","children":[{"name":"src/layout/components/Layout.tsx","uid":"8d1e-23"}]},{"name":"content/components/ContentComponent.js","children":[{"name":"src/content/components/ContentComponent.tsx","uid":"8d1e-25"}]},{"name":"datahooks/ExecuteDataHook.js","children":[{"name":"src/datahooks/ExecuteDataHook.tsx","uid":"8d1e-27"}]},{"name":"datahooks/ExecutePermissionHook.js","children":[{"name":"src/datahooks/ExecutePermissionHook.tsx","uid":"8d1e-29"}]},{"name":"utils.js","children":[{"name":"src/utils.ts","uid":"8d1e-31"}]},{"name":"layout/moveItems.js","children":[{"name":"src/layout/moveItems.ts","uid":"8d1e-33"}]},{"name":"layout/components/styles.module.css.js","children":[{"name":"src/layout/components/styles.module.css","uid":"8d1e-35"}]},{"name":"content/components/styles.module.css.js","children":[{"name":"src/content/components/styles.module.css","uid":"8d1e-37"}]},{"name":"layout/components/LayoutItemBar.js","children":[{"name":"src/layout/components/LayoutItemBar.tsx","uid":"8d1e-39"}]},{"name":"layout/components/SecondaryMenuToggleItem.js","children":[{"name":"src/layout/components/SecondaryMenuToggleItem.tsx","uid":"8d1e-41"}]},{"name":"content/hooks/useBuildContentData.js","children":[{"name":"src/content/hooks/useBuildContentData.ts","uid":"8d1e-43"}]},{"name":"content/components/Header.js","children":[{"name":"src/content/components/Header.tsx","uid":"8d1e-45"}]},{"name":"content/components/SidebarItemWrapper.js","children":[{"name":"src/content/components/SidebarItemWrapper.tsx","uid":"8d1e-47"}]},{"name":"layout/types.js","children":[{"name":"src/layout/types.ts","uid":"8d1e-49"}]},{"name":"layout/utils.js","children":[{"name":"src/layout/utils.tsx","uid":"8d1e-51"}]},{"name":"hooks/useBuildData.js","children":[{"name":"src/hooks/useBuildData.ts","uid":"8d1e-53"}]},{"name":"layout/components/LayoutItemWrapper.js","children":[{"name":"src/layout/components/LayoutItemWrapper.tsx","uid":"8d1e-55"}]},{"name":"content/components/ActionFormSidebarItemComponent.js","children":[{"name":"src/content/components/ActionFormSidebarItemComponent.tsx","uid":"8d1e-57"}]},{"name":"content/components/ActionSidebarItemComponent.js","children":[{"name":"src/content/components/ActionSidebarItemComponent.tsx","uid":"8d1e-59"}]},{"name":"content/components/CustomSidebarItemComponent.js","children":[{"name":"src/content/components/CustomSidebarItemComponent.tsx","uid":"8d1e-61"}]},{"name":"content/components/PlainSidebarItem.js","children":[{"name":"src/content/components/PlainSidebarItem.tsx","uid":"8d1e-63"}]},{"name":"commonItems.js","children":[{"name":"src/commonItems.ts","uid":"8d1e-65"}]},{"name":"hooks/useIsActiveRoute.js","children":[{"name":"src/hooks/useIsActiveRoute.ts","uid":"8d1e-67"}]},{"name":"hooks/useSelectPermission.js","children":[{"name":"src/hooks/useSelectPermission.ts","uid":"8d1e-69"}]},{"name":"hooks/useSelectState.js","children":[{"name":"src/hooks/useSelectState.ts","uid":"8d1e-71"}]},{"name":"content/utils.js","children":[{"name":"src/content/utils.tsx","uid":"8d1e-73"}]},{"name":"content/components/ActionForm.js","children":[{"name":"src/content/components/ActionForm.tsx","uid":"8d1e-75"}]},{"name":"layout/components/CustomLayoutItemComponent.js","children":[{"name":"src/layout/components/CustomLayoutItemComponent.tsx","uid":"8d1e-77"}]},{"name":"layout/components/DropdownItem.js","children":[{"name":"src/layout/components/DropdownItem.tsx","uid":"8d1e-79"}]},{"name":"layout/components/MenuItem.js","children":[{"name":"src/layout/components/MenuItem.tsx","uid":"8d1e-81"}]},{"name":"layout/components/PlainItem.js","children":[{"name":"src/layout/components/PlainItem.tsx","uid":"8d1e-83"}]},{"name":"external/style-inject/dist/style-inject.es.js","children":[{"name":"home/darkadept/dev/imperium/node_modules/style-inject/dist/style-inject.es.js","uid":"8d1e-85"}]}],"isRoot":true},"nodeParts":{"8d1e-1":{"renderedLength":184,"gzipLength":151,"brotliLength":131,"mainUid":"8d1e-0"},"8d1e-3":{"renderedLength":489,"gzipLength":251,"brotliLength":217,"mainUid":"8d1e-2"},"8d1e-5":{"renderedLength":59,"gzipLength":71,"brotliLength":63,"mainUid":"8d1e-4"},"8d1e-7":{"renderedLength":1955,"gzipLength":564,"brotliLength":488,"mainUid":"8d1e-6"},"8d1e-9":{"renderedLength":650,"gzipLength":300,"brotliLength":268,"mainUid":"8d1e-8"},"8d1e-11":{"renderedLength":445,"gzipLength":266,"brotliLength":229,"mainUid":"8d1e-10"},"8d1e-13":{"renderedLength":121,"gzipLength":110,"brotliLength":90,"mainUid":"8d1e-12"},"8d1e-15":{"renderedLength":315,"gzipLength":141,"brotliLength":99,"mainUid":"8d1e-14"},"8d1e-17":{"renderedLength":339,"gzipLength":201,"brotliLength":164,"mainUid":"8d1e-16"},"8d1e-19":{"renderedLength":1058,"gzipLength":392,"brotliLength":330,"mainUid":"8d1e-18"},"8d1e-21":{"renderedLength":663,"gzipLength":328,"brotliLength":285,"mainUid":"8d1e-20"},"8d1e-23":{"renderedLength":2630,"gzipLength":743,"brotliLength":629,"mainUid":"8d1e-22"},"8d1e-25":{"renderedLength":1970,"gzipLength":651,"brotliLength":565,"mainUid":"8d1e-24"},"8d1e-27":{"renderedLength":123,"gzipLength":107,"brotliLength":93,"mainUid":"8d1e-26"},"8d1e-29":{"renderedLength":345,"gzipLength":206,"brotliLength":172,"mainUid":"8d1e-28"},"8d1e-31":{"renderedLength":145,"gzipLength":117,"brotliLength":116,"mainUid":"8d1e-30"},"8d1e-33":{"renderedLength":1401,"gzipLength":377,"brotliLength":347,"mainUid":"8d1e-32"},"8d1e-35":{"renderedLength":3176,"gzipLength":933,"brotliLength":762,"mainUid":"8d1e-34"},"8d1e-37":{"renderedLength":1469,"gzipLength":528,"brotliLength":431,"mainUid":"8d1e-36"},"8d1e-39":{"renderedLength":726,"gzipLength":295,"brotliLength":252,"mainUid":"8d1e-38"},"8d1e-41":{"renderedLength":335,"gzipLength":222,"brotliLength":169,"mainUid":"8d1e-40"},"8d1e-43":{"renderedLength":257,"gzipLength":158,"brotliLength":122,"mainUid":"8d1e-42"},"8d1e-45":{"renderedLength":556,"gzipLength":286,"brotliLength":215,"mainUid":"8d1e-44"},"8d1e-47":{"renderedLength":1189,"gzipLength":399,"brotliLength":314,"mainUid":"8d1e-46"},"8d1e-49":{"renderedLength":191,"gzipLength":111,"brotliLength":89,"mainUid":"8d1e-48"},"8d1e-51":{"renderedLength":915,"gzipLength":392,"brotliLength":328,"mainUid":"8d1e-50"},"8d1e-53":{"renderedLength":785,"gzipLength":362,"brotliLength":321,"mainUid":"8d1e-52"},"8d1e-55":{"renderedLength":1503,"gzipLength":488,"brotliLength":399,"mainUid":"8d1e-54"},"8d1e-57":{"renderedLength":663,"gzipLength":344,"brotliLength":277,"mainUid":"8d1e-56"},"8d1e-59":{"renderedLength":362,"gzipLength":244,"brotliLength":185,"mainUid":"8d1e-58"},"8d1e-61":{"renderedLength":83,"gzipLength":96,"brotliLength":66,"mainUid":"8d1e-60"},"8d1e-63":{"renderedLength":344,"gzipLength":235,"brotliLength":186,"mainUid":"8d1e-62"},"8d1e-65":{"renderedLength":203,"gzipLength":136,"brotliLength":97,"mainUid":"8d1e-64"},"8d1e-67":{"renderedLength":514,"gzipLength":229,"brotliLength":187,"mainUid":"8d1e-66"},"8d1e-69":{"renderedLength":294,"gzipLength":154,"brotliLength":114,"mainUid":"8d1e-68"},"8d1e-71":{"renderedLength":326,"gzipLength":176,"brotliLength":141,"mainUid":"8d1e-70"},"8d1e-73":{"renderedLength":628,"gzipLength":259,"brotliLength":219,"mainUid":"8d1e-72"},"8d1e-75":{"renderedLength":1667,"gzipLength":625,"brotliLength":519,"mainUid":"8d1e-74"},"8d1e-77":{"renderedLength":82,"gzipLength":95,"brotliLength":66,"mainUid":"8d1e-76"},"8d1e-79":{"renderedLength":1179,"gzipLength":451,"brotliLength":362,"mainUid":"8d1e-78"},"8d1e-81":{"renderedLength":252,"gzipLength":159,"brotliLength":116,"mainUid":"8d1e-80"},"8d1e-83":{"renderedLength":244,"gzipLength":178,"brotliLength":145,"mainUid":"8d1e-82"},"8d1e-85":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"8d1e-84"}},"nodeMetas":{"8d1e-0":{"id":"/src/index.ts","moduleParts":{"index.js":"8d1e-1"},"imported":[{"uid":"8d1e-10"},{"uid":"8d1e-6"},{"uid":"8d1e-2"},{"uid":"8d1e-8"},{"uid":"8d1e-4"}],"importedBy":[],"isEntry":true},"8d1e-2":{"id":"/src/state.ts","moduleParts":{"state.js":"8d1e-3"},"imported":[{"uid":"8d1e-90"},{"uid":"8d1e-91"}],"importedBy":[{"uid":"8d1e-0"},{"uid":"8d1e-10"},{"uid":"8d1e-20"},{"uid":"8d1e-22"},{"uid":"8d1e-24"},{"uid":"8d1e-28"},{"uid":"8d1e-52"}]},"8d1e-4":{"id":"/src/content/dividerSidebarItem.ts","moduleParts":{"content/dividerSidebarItem.js":"8d1e-5"},"imported":[],"importedBy":[{"uid":"8d1e-0"}]},"8d1e-6":{"id":"/src/layout/withLayout.tsx","moduleParts":{"layout/withLayout.js":"8d1e-7"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-86"},{"uid":"8d1e-18"},{"uid":"8d1e-16"},{"uid":"8d1e-20"},{"uid":"8d1e-12"},{"uid":"8d1e-22"}],"importedBy":[{"uid":"8d1e-0"}]},"8d1e-8":{"id":"/src/content/createPages.tsx","moduleParts":{"content/createPages.js":"8d1e-9"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-86"},{"uid":"8d1e-24"},{"uid":"8d1e-14"}],"importedBy":[{"uid":"8d1e-0"}]},"8d1e-10":{"id":"/src/layout/hooks/useMobileLayout.ts","moduleParts":{"layout/hooks/useMobileLayout.js":"8d1e-11"},"imported":[{"uid":"8d1e-86"},{"uid":"8d1e-87"},{"uid":"8d1e-88"},{"uid":"8d1e-89"},{"uid":"8d1e-2"}],"importedBy":[{"uid":"8d1e-0"}]},"8d1e-12":{"id":"/src/types.ts","moduleParts":{"types.js":"8d1e-13"},"imported":[],"importedBy":[{"uid":"8d1e-6"}]},"8d1e-14":{"id":"/src/content/types.ts","moduleParts":{"content/types.js":"8d1e-15"},"imported":[],"importedBy":[{"uid":"8d1e-8"},{"uid":"8d1e-46"}]},"8d1e-16":{"id":"/src/datahooks/PermissionHooks.tsx","moduleParts":{"datahooks/PermissionHooks.js":"8d1e-17"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-86"},{"uid":"8d1e-28"}],"importedBy":[{"uid":"8d1e-6"}]},"8d1e-18":{"id":"/src/datahooks/DataHooks.tsx","moduleParts":{"datahooks/DataHooks.js":"8d1e-19"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-86"},{"uid":"8d1e-92"},{"uid":"8d1e-26"}],"importedBy":[{"uid":"8d1e-6"},{"uid":"8d1e-24"}]},"8d1e-20":{"id":"/src/datahooks/Permissions.tsx","moduleParts":{"datahooks/Permissions.js":"8d1e-21"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-93"},{"uid":"8d1e-86"},{"uid":"8d1e-88"},{"uid":"8d1e-2"}],"importedBy":[{"uid":"8d1e-6"}]},"8d1e-22":{"id":"/src/layout/components/Layout.tsx","moduleParts":{"layout/components/Layout.js":"8d1e-23"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-86"},{"uid":"8d1e-94"},{"uid":"8d1e-2"},{"uid":"8d1e-32"},{"uid":"8d1e-38"},{"uid":"8d1e-40"},{"uid":"8d1e-34"}],"importedBy":[{"uid":"8d1e-6"}]},"8d1e-24":{"id":"/src/content/components/ContentComponent.tsx","moduleParts":{"content/components/ContentComponent.js":"8d1e-25"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-86"},{"uid":"8d1e-95"},{"uid":"8d1e-88"},{"uid":"8d1e-18"},{"uid":"8d1e-2"},{"uid":"8d1e-30"},{"uid":"8d1e-42"},{"uid":"8d1e-44"},{"uid":"8d1e-46"},{"uid":"8d1e-36"}],"importedBy":[{"uid":"8d1e-8"}]},"8d1e-26":{"id":"/src/datahooks/ExecuteDataHook.tsx","moduleParts":{"datahooks/ExecuteDataHook.js":"8d1e-27"},"imported":[{"uid":"8d1e-87"}],"importedBy":[{"uid":"8d1e-18"}]},"8d1e-28":{"id":"/src/datahooks/ExecutePermissionHook.tsx","moduleParts":{"datahooks/ExecutePermissionHook.js":"8d1e-29"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-88"},{"uid":"8d1e-2"}],"importedBy":[{"uid":"8d1e-16"}]},"8d1e-30":{"id":"/src/utils.ts","moduleParts":{"utils.js":"8d1e-31"},"imported":[{"uid":"8d1e-95"}],"importedBy":[{"uid":"8d1e-24"},{"uid":"8d1e-38"},{"uid":"8d1e-54"}]},"8d1e-32":{"id":"/src/layout/moveItems.ts","moduleParts":{"layout/moveItems.js":"8d1e-33"},"imported":[{"uid":"8d1e-86"},{"uid":"8d1e-95"},{"uid":"8d1e-48"}],"importedBy":[{"uid":"8d1e-22"}]},"8d1e-34":{"id":"/src/layout/components/styles.module.css","moduleParts":{"layout/components/styles.module.css.js":"8d1e-35"},"imported":[{"uid":"8d1e-84"}],"importedBy":[{"uid":"8d1e-22"},{"uid":"8d1e-40"},{"uid":"8d1e-78"}]},"8d1e-36":{"id":"/src/content/components/styles.module.css","moduleParts":{"content/components/styles.module.css.js":"8d1e-37"},"imported":[{"uid":"8d1e-84"}],"importedBy":[{"uid":"8d1e-24"},{"uid":"8d1e-44"}]},"8d1e-38":{"id":"/src/layout/components/LayoutItemBar.tsx","moduleParts":{"layout/components/LayoutItemBar.js":"8d1e-39"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-86"},{"uid":"8d1e-94"},{"uid":"8d1e-30"},{"uid":"8d1e-50"},{"uid":"8d1e-54"}],"importedBy":[{"uid":"8d1e-22"}]},"8d1e-40":{"id":"/src/layout/components/SecondaryMenuToggleItem.tsx","moduleParts":{"layout/components/SecondaryMenuToggleItem.js":"8d1e-41"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-94"},{"uid":"8d1e-34"}],"importedBy":[{"uid":"8d1e-22"}]},"8d1e-42":{"id":"/src/content/hooks/useBuildContentData.ts","moduleParts":{"content/hooks/useBuildContentData.js":"8d1e-43"},"imported":[{"uid":"8d1e-52"}],"importedBy":[{"uid":"8d1e-24"},{"uid":"8d1e-46"}]},"8d1e-44":{"id":"/src/content/components/Header.tsx","moduleParts":{"content/components/Header.js":"8d1e-45"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-86"},{"uid":"8d1e-36"}],"importedBy":[{"uid":"8d1e-24"}]},"8d1e-46":{"id":"/src/content/components/SidebarItemWrapper.tsx","moduleParts":{"content/components/SidebarItemWrapper.js":"8d1e-47"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-86"},{"uid":"8d1e-96"},{"uid":"8d1e-94"},{"uid":"8d1e-42"},{"uid":"8d1e-14"},{"uid":"8d1e-56"},{"uid":"8d1e-58"},{"uid":"8d1e-60"},{"uid":"8d1e-62"}],"importedBy":[{"uid":"8d1e-24"}]},"8d1e-48":{"id":"/src/layout/types.ts","moduleParts":{"layout/types.js":"8d1e-49"},"imported":[],"importedBy":[{"uid":"8d1e-32"},{"uid":"8d1e-54"}]},"8d1e-50":{"id":"/src/layout/utils.tsx","moduleParts":{"layout/utils.js":"8d1e-51"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-92"},{"uid":"8d1e-94"},{"uid":"8d1e-64"}],"importedBy":[{"uid":"8d1e-38"},{"uid":"8d1e-78"},{"uid":"8d1e-82"}]},"8d1e-52":{"id":"/src/hooks/useBuildData.ts","moduleParts":{"hooks/useBuildData.js":"8d1e-53"},"imported":[{"uid":"8d1e-93"},{"uid":"8d1e-86"},{"uid":"8d1e-95"},{"uid":"8d1e-92"},{"uid":"8d1e-2"},{"uid":"8d1e-66"},{"uid":"8d1e-68"},{"uid":"8d1e-70"}],"importedBy":[{"uid":"8d1e-42"},{"uid":"8d1e-54"}]},"8d1e-54":{"id":"/src/layout/components/LayoutItemWrapper.tsx","moduleParts":{"layout/components/LayoutItemWrapper.js":"8d1e-55"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-86"},{"uid":"8d1e-96"},{"uid":"8d1e-94"},{"uid":"8d1e-52"},{"uid":"8d1e-30"},{"uid":"8d1e-48"},{"uid":"8d1e-76"},{"uid":"8d1e-78"},{"uid":"8d1e-80"},{"uid":"8d1e-82"}],"importedBy":[{"uid":"8d1e-38"}]},"8d1e-56":{"id":"/src/content/components/ActionFormSidebarItemComponent.tsx","moduleParts":{"content/components/ActionFormSidebarItemComponent.js":"8d1e-57"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-86"},{"uid":"8d1e-94"},{"uid":"8d1e-72"},{"uid":"8d1e-74"}],"importedBy":[{"uid":"8d1e-46"}]},"8d1e-58":{"id":"/src/content/components/ActionSidebarItemComponent.tsx","moduleParts":{"content/components/ActionSidebarItemComponent.js":"8d1e-59"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-94"},{"uid":"8d1e-72"}],"importedBy":[{"uid":"8d1e-46"}]},"8d1e-60":{"id":"/src/content/components/CustomSidebarItemComponent.tsx","moduleParts":{"content/components/CustomSidebarItemComponent.js":"8d1e-61"},"imported":[{"uid":"8d1e-87"}],"importedBy":[{"uid":"8d1e-46"}]},"8d1e-62":{"id":"/src/content/components/PlainSidebarItem.tsx","moduleParts":{"content/components/PlainSidebarItem.js":"8d1e-63"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-92"},{"uid":"8d1e-94"},{"uid":"8d1e-72"}],"importedBy":[{"uid":"8d1e-46"}]},"8d1e-64":{"id":"/src/commonItems.ts","moduleParts":{"commonItems.js":"8d1e-65"},"imported":[],"importedBy":[{"uid":"8d1e-50"},{"uid":"8d1e-66"}]},"8d1e-66":{"id":"/src/hooks/useIsActiveRoute.ts","moduleParts":{"hooks/useIsActiveRoute.js":"8d1e-67"},"imported":[{"uid":"8d1e-97"},{"uid":"8d1e-64"}],"importedBy":[{"uid":"8d1e-52"}]},"8d1e-68":{"id":"/src/hooks/useSelectPermission.ts","moduleParts":{"hooks/useSelectPermission.js":"8d1e-69"},"imported":[{"uid":"8d1e-95"}],"importedBy":[{"uid":"8d1e-52"}]},"8d1e-70":{"id":"/src/hooks/useSelectState.ts","moduleParts":{"hooks/useSelectState.js":"8d1e-71"},"imported":[{"uid":"8d1e-95"}],"importedBy":[{"uid":"8d1e-52"}]},"8d1e-72":{"id":"/src/content/utils.tsx","moduleParts":{"content/utils.js":"8d1e-73"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-94"}],"importedBy":[{"uid":"8d1e-56"},{"uid":"8d1e-58"},{"uid":"8d1e-62"}]},"8d1e-74":{"id":"/src/content/components/ActionForm.tsx","moduleParts":{"content/components/ActionForm.js":"8d1e-75"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-98"},{"uid":"8d1e-86"},{"uid":"8d1e-94"}],"importedBy":[{"uid":"8d1e-56"}]},"8d1e-76":{"id":"/src/layout/components/CustomLayoutItemComponent.tsx","moduleParts":{"layout/components/CustomLayoutItemComponent.js":"8d1e-77"},"imported":[{"uid":"8d1e-87"}],"importedBy":[{"uid":"8d1e-54"}]},"8d1e-78":{"id":"/src/layout/components/DropdownItem.tsx","moduleParts":{"layout/components/DropdownItem.js":"8d1e-79"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-86"},{"uid":"8d1e-94"},{"uid":"8d1e-50"},{"uid":"8d1e-34"}],"importedBy":[{"uid":"8d1e-54"}]},"8d1e-80":{"id":"/src/layout/components/MenuItem.tsx","moduleParts":{"layout/components/MenuItem.js":"8d1e-81"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-94"}],"importedBy":[{"uid":"8d1e-54"}]},"8d1e-82":{"id":"/src/layout/components/PlainItem.tsx","moduleParts":{"layout/components/PlainItem.js":"8d1e-83"},"imported":[{"uid":"8d1e-87"},{"uid":"8d1e-94"},{"uid":"8d1e-50"}],"importedBy":[{"uid":"8d1e-54"}]},"8d1e-84":{"id":"/home/darkadept/dev/imperium/node_modules/style-inject/dist/style-inject.es.js","moduleParts":{"external/style-inject/dist/style-inject.es.js":"8d1e-85"},"imported":[],"importedBy":[{"uid":"8d1e-34"},{"uid":"8d1e-36"}]},"8d1e-86":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d1e-10"},{"uid":"8d1e-6"},{"uid":"8d1e-8"},{"uid":"8d1e-18"},{"uid":"8d1e-16"},{"uid":"8d1e-20"},{"uid":"8d1e-22"},{"uid":"8d1e-24"},{"uid":"8d1e-32"},{"uid":"8d1e-38"},{"uid":"8d1e-44"},{"uid":"8d1e-46"},{"uid":"8d1e-54"},{"uid":"8d1e-52"},{"uid":"8d1e-56"},{"uid":"8d1e-78"},{"uid":"8d1e-74"}],"isExternal":true},"8d1e-87":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d1e-10"},{"uid":"8d1e-6"},{"uid":"8d1e-8"},{"uid":"8d1e-18"},{"uid":"8d1e-16"},{"uid":"8d1e-20"},{"uid":"8d1e-22"},{"uid":"8d1e-24"},{"uid":"8d1e-26"},{"uid":"8d1e-28"},{"uid":"8d1e-38"},{"uid":"8d1e-40"},{"uid":"8d1e-44"},{"uid":"8d1e-46"},{"uid":"8d1e-50"},{"uid":"8d1e-54"},{"uid":"8d1e-56"},{"uid":"8d1e-58"},{"uid":"8d1e-60"},{"uid":"8d1e-62"},{"uid":"8d1e-76"},{"uid":"8d1e-78"},{"uid":"8d1e-80"},{"uid":"8d1e-82"},{"uid":"8d1e-72"},{"uid":"8d1e-74"}],"isExternal":true},"8d1e-88":{"id":"react-redux","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d1e-10"},{"uid":"8d1e-20"},{"uid":"8d1e-24"},{"uid":"8d1e-28"}],"isExternal":true},"8d1e-89":{"id":"react-responsive","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d1e-10"}],"isExternal":true},"8d1e-90":{"id":"@imperium/state","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d1e-2"}],"isExternal":true},"8d1e-91":{"id":"@reduxjs/toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d1e-2"}],"isExternal":true},"8d1e-92":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d1e-18"},{"uid":"8d1e-50"},{"uid":"8d1e-52"},{"uid":"8d1e-62"}],"isExternal":true},"8d1e-93":{"id":"@imperium/auth-client","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d1e-20"},{"uid":"8d1e-52"}],"isExternal":true},"8d1e-94":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d1e-22"},{"uid":"8d1e-38"},{"uid":"8d1e-40"},{"uid":"8d1e-46"},{"uid":"8d1e-50"},{"uid":"8d1e-54"},{"uid":"8d1e-56"},{"uid":"8d1e-58"},{"uid":"8d1e-62"},{"uid":"8d1e-78"},{"uid":"8d1e-80"},{"uid":"8d1e-82"},{"uid":"8d1e-72"},{"uid":"8d1e-74"}],"isExternal":true},"8d1e-95":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d1e-24"},{"uid":"8d1e-32"},{"uid":"8d1e-30"},{"uid":"8d1e-52"},{"uid":"8d1e-68"},{"uid":"8d1e-70"}],"isExternal":true},"8d1e-96":{"id":"mingo","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d1e-46"},{"uid":"8d1e-54"}],"isExternal":true},"8d1e-97":{"id":"react-router","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d1e-66"}],"isExternal":true},"8d1e-98":{"id":"@thx/controls","moduleParts":{},"imported":[],"importedBy":[{"uid":"8d1e-74"}],"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":"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}};
2673
2673
 
2674
2674
  const run = () => {
2675
2675
  const width = window.innerWidth;
package/dist/stats.txt CHANGED
@@ -1,89 +1,89 @@
1
1
  -----------------------------
2
2
  Rollup File Analysis
3
3
  -----------------------------
4
- bundle size: 31.471 KB
5
- original size: 51.87 KB
6
- code reduction: 39.33 %
4
+ bundle size: 32.03 KB
5
+ original size: 52.518 KB
6
+ code reduction: 39.01 %
7
7
  module count: 43
8
8
 
9
9
  /src/layout/components/styles.module.css
10
- █████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 10.09 % (3.176 KB)
10
+ ████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 9.92 % (3.176 KB)
11
11
  /src/layout/components/Layout.tsx
12
- ████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 8.36 % (2.63 KB)
12
+ ████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 8.21 % (2.63 KB)
13
13
  /src/content/components/ContentComponent.tsx
14
- ███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.26 % (1.97 KB)
14
+ ███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.15 % (1.97 KB)
15
15
  /src/layout/withLayout.tsx
16
- ███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.21 % (1.955 KB)
16
+ ███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.1 % (1.955 KB)
17
17
  /src/content/components/ActionForm.tsx
18
- ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.3 % (1.667 KB)
18
+ ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.2 % (1.667 KB)
19
19
  /src/layout/components/LayoutItemWrapper.tsx
20
- ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.78 % (1.503 KB)
20
+ ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.69 % (1.503 KB)
21
21
  /src/content/components/styles.module.css
22
- ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.67 % (1.469 KB)
22
+ ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.59 % (1.469 KB)
23
23
  /src/layout/moveItems.ts
24
- ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.45 % (1.401 KB)
24
+ ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.37 % (1.401 KB)
25
25
  /src/content/components/SidebarItemWrapper.tsx
26
- █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.78 % (1.189 KB)
26
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.71 % (1.189 KB)
27
27
  /src/layout/components/DropdownItem.tsx
28
- █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.75 % (1.179 KB)
28
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.68 % (1.179 KB)
29
29
  /src/datahooks/DataHooks.tsx
30
- █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.36 % (1.058 KB)
30
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.3 % (1.058 KB)
31
+ /src/content/components/Header.tsx
32
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.25 % (1.042 KB)
31
33
  /src/layout/utils.tsx
32
- █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.91 % (915 Bytes)
34
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.86 % (915 Bytes)
33
35
  /src/hooks/useBuildData.ts
34
- █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.49 % (785 Bytes)
36
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.45 % (785 Bytes)
35
37
  /src/layout/components/LayoutItemBar.tsx
36
- █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.31 % (726 Bytes)
38
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.27 % (726 Bytes)
37
39
  /src/datahooks/Permissions.tsx
38
- █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.11 % (663 Bytes)
40
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.07 % (663 Bytes)
39
41
  /src/content/components/ActionFormSidebarItemComponent.tsx
40
- █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.11 % (663 Bytes)
42
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.07 % (663 Bytes)
41
43
  /src/content/createPages.tsx
42
- █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.07 % (650 Bytes)
43
- /home/darkadept/dev/imperium/node_modules/style-inject/dist/style-inject.es.js
44
- █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.02 % (636 Bytes)
44
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.03 % (650 Bytes)
45
+ /home/mike/dev/imperium/node_modules/style-inject/dist/style-inject.es.js
46
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.99 % (636 Bytes)
45
47
  /src/content/utils.tsx
46
- █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2 % (628 Bytes)
47
- /src/content/components/Header.tsx
48
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.77 % (556 Bytes)
48
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.96 % (628 Bytes)
49
49
  /src/hooks/useIsActiveRoute.ts
50
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.63 % (514 Bytes)
50
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.6 % (514 Bytes)
51
51
  /src/state.ts
52
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.55 % (489 Bytes)
52
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.53 % (489 Bytes)
53
53
  /src/layout/hooks/useMobileLayout.ts
54
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.41 % (445 Bytes)
54
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.39 % (445 Bytes)
55
+ /src/content/types.ts
56
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.21 % (388 Bytes)
55
57
  /src/content/components/ActionSidebarItemComponent.tsx
56
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.15 % (362 Bytes)
58
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.13 % (362 Bytes)
57
59
  /src/datahooks/ExecutePermissionHook.tsx
58
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.1 % (345 Bytes)
60
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.08 % (345 Bytes)
59
61
  /src/content/components/PlainSidebarItem.tsx
60
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.09 % (344 Bytes)
62
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.07 % (344 Bytes)
61
63
  /src/datahooks/PermissionHooks.tsx
62
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.08 % (339 Bytes)
64
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.06 % (339 Bytes)
63
65
  /src/layout/components/SecondaryMenuToggleItem.tsx
64
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.06 % (335 Bytes)
66
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.05 % (335 Bytes)
65
67
  /src/hooks/useSelectState.ts
66
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.04 % (326 Bytes)
67
- /src/content/types.ts
68
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1 % (315 Bytes)
68
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.02 % (326 Bytes)
69
69
  /src/hooks/useSelectPermission.ts
70
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.93 % (294 Bytes)
70
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.92 % (294 Bytes)
71
71
  /src/content/hooks/useBuildContentData.ts
72
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.82 % (257 Bytes)
72
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.8 % (257 Bytes)
73
73
  /src/layout/components/MenuItem.tsx
74
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.8 % (252 Bytes)
74
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.79 % (252 Bytes)
75
75
  /src/layout/components/PlainItem.tsx
76
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.78 % (244 Bytes)
76
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.76 % (244 Bytes)
77
77
  /src/commonItems.ts
78
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.65 % (203 Bytes)
78
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.63 % (203 Bytes)
79
79
  /src/layout/types.ts
80
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.61 % (191 Bytes)
80
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.6 % (191 Bytes)
81
81
  /src/index.ts
82
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.58 % (184 Bytes)
82
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.57 % (184 Bytes)
83
83
  /src/utils.ts
84
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.46 % (145 Bytes)
84
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.45 % (145 Bytes)
85
85
  /src/datahooks/ExecuteDataHook.tsx
86
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.39 % (123 Bytes)
86
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.38 % (123 Bytes)
87
87
  /src/types.ts
88
88
  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.38 % (121 Bytes)
89
89
  /src/content/components/CustomSidebarItemComponent.tsx
@@ -91,4 +91,4 @@ module count: 43
91
91
  /src/layout/components/CustomLayoutItemComponent.tsx
92
92
  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.26 % (82 Bytes)
93
93
  /src/content/dividerSidebarItem.ts
94
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.19 % (59 Bytes)
94
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.18 % (59 Bytes)
@@ -36,13 +36,13 @@ export interface CustomSidebarItem<T extends DefineRouteOptions, K extends keyof
36
36
  render: (data: ContentData<T, K>) => JSX.Element | null;
37
37
  }
38
38
  export declare type SidebarItem<T extends DefineRouteOptions, K extends keyof T> = (BaseSidebarItem<T, K> & RouteItem<ContentData<T, K>>) | ActionSidebarItem<T, K> | CustomSidebarItem<T, K> | ActionFormSidebarItem<T, K> | DividerSidebarItem<T, K>;
39
- export declare type ContentHeader<T extends DefineRouteOptions, K extends keyof T> = string | {
39
+ export interface ContentHeaderObject {
40
40
  title: string;
41
41
  icon?: string;
42
- } | ((data: ContentData<T, K>) => {
43
- title: string;
44
- icon?: string;
45
- }) | undefined;
42
+ size?: 'tiny' | 'small' | 'medium' | 'large' | 'huge';
43
+ }
44
+ export declare function isContentHeaderObject(value: any): value is ContentHeaderObject;
45
+ export declare type ContentHeader<T extends DefineRouteOptions, K extends keyof T> = string | ContentHeaderObject | ((data: ContentData<T, K>) => ContentHeaderObject) | JSX.Element | ((data: ContentData<T, K>) => JSX.Element) | undefined;
46
46
  export interface Page<T extends DefineRouteOptions, K extends keyof T> {
47
47
  dataHooks?: DataHookItem[];
48
48
  stateSelectorHook?: StateSelectorHook | StateSelectorHook[];
@@ -0,0 +1 @@
1
+ export declare function useGetItems<T>(a: Record<string, T[]>): any;
@@ -0,0 +1,19 @@
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
+ }
@@ -0,0 +1,14 @@
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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imperium/layout",
3
- "version": "10.5.0",
3
+ "version": "10.5.1",
4
4
  "description": "Imperium Layout package",
5
5
  "bugs": {
6
6
  "url": "https://github.com/darkadept/imperium/issues"
@@ -60,5 +60,5 @@
60
60
  "publishConfig": {
61
61
  "access": "public"
62
62
  },
63
- "gitHead": "3617b376deb2091b3aae67009ff4fce0c8446efb"
63
+ "gitHead": "d8f1195fc79d9391374e1d1dfeebdad16af7897c"
64
64
  }