@imperium/layout 10.4.13-alpha.2 → 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":"0927-1"}]},{"name":"state.js","children":[{"name":"src/state.ts","uid":"0927-3"}]},{"name":"content/dividerSidebarItem.js","children":[{"name":"src/content/dividerSidebarItem.ts","uid":"0927-5"}]},{"name":"layout/withLayout.js","children":[{"name":"src/layout/withLayout.tsx","uid":"0927-7"}]},{"name":"content/createPages.js","children":[{"name":"src/content/createPages.tsx","uid":"0927-9"}]},{"name":"layout/hooks/useMobileLayout.js","children":[{"name":"src/layout/hooks/useMobileLayout.ts","uid":"0927-11"}]},{"name":"types.js","children":[{"name":"src/types.ts","uid":"0927-13"}]},{"name":"content/types.js","children":[{"name":"src/content/types.ts","uid":"0927-15"}]},{"name":"datahooks/DataHooks.js","children":[{"name":"src/datahooks/DataHooks.tsx","uid":"0927-17"}]},{"name":"datahooks/PermissionHooks.js","children":[{"name":"src/datahooks/PermissionHooks.tsx","uid":"0927-19"}]},{"name":"datahooks/Permissions.js","children":[{"name":"src/datahooks/Permissions.tsx","uid":"0927-21"}]},{"name":"layout/components/Layout.js","children":[{"name":"src/layout/components/Layout.tsx","uid":"0927-23"}]},{"name":"content/components/ContentComponent.js","children":[{"name":"src/content/components/ContentComponent.tsx","uid":"0927-25"}]},{"name":"datahooks/ExecuteDataHook.js","children":[{"name":"src/datahooks/ExecuteDataHook.tsx","uid":"0927-27"}]},{"name":"datahooks/ExecutePermissionHook.js","children":[{"name":"src/datahooks/ExecutePermissionHook.tsx","uid":"0927-29"}]},{"name":"utils.js","children":[{"name":"src/utils.ts","uid":"0927-31"}]},{"name":"layout/moveItems.js","children":[{"name":"src/layout/moveItems.ts","uid":"0927-33"}]},{"name":"layout/components/styles.module.css.js","children":[{"name":"src/layout/components/styles.module.css","uid":"0927-35"}]},{"name":"content/components/styles.module.css.js","children":[{"name":"src/content/components/styles.module.css","uid":"0927-37"}]},{"name":"layout/components/LayoutItemBar.js","children":[{"name":"src/layout/components/LayoutItemBar.tsx","uid":"0927-39"}]},{"name":"layout/components/SecondaryMenuToggleItem.js","children":[{"name":"src/layout/components/SecondaryMenuToggleItem.tsx","uid":"0927-41"}]},{"name":"content/hooks/useBuildContentData.js","children":[{"name":"src/content/hooks/useBuildContentData.ts","uid":"0927-43"}]},{"name":"content/components/Header.js","children":[{"name":"src/content/components/Header.tsx","uid":"0927-45"}]},{"name":"content/components/SidebarItemWrapper.js","children":[{"name":"src/content/components/SidebarItemWrapper.tsx","uid":"0927-47"}]},{"name":"layout/types.js","children":[{"name":"src/layout/types.ts","uid":"0927-49"}]},{"name":"layout/utils.js","children":[{"name":"src/layout/utils.tsx","uid":"0927-51"}]},{"name":"hooks/useBuildData.js","children":[{"name":"src/hooks/useBuildData.ts","uid":"0927-53"}]},{"name":"layout/components/LayoutItemWrapper.js","children":[{"name":"src/layout/components/LayoutItemWrapper.tsx","uid":"0927-55"}]},{"name":"content/components/ActionFormSidebarItemComponent.js","children":[{"name":"src/content/components/ActionFormSidebarItemComponent.tsx","uid":"0927-57"}]},{"name":"content/components/ActionSidebarItemComponent.js","children":[{"name":"src/content/components/ActionSidebarItemComponent.tsx","uid":"0927-59"}]},{"name":"content/components/CustomSidebarItemComponent.js","children":[{"name":"src/content/components/CustomSidebarItemComponent.tsx","uid":"0927-61"}]},{"name":"content/components/PlainSidebarItem.js","children":[{"name":"src/content/components/PlainSidebarItem.tsx","uid":"0927-63"}]},{"name":"commonItems.js","children":[{"name":"src/commonItems.ts","uid":"0927-65"}]},{"name":"hooks/useIsActiveRoute.js","children":[{"name":"src/hooks/useIsActiveRoute.ts","uid":"0927-67"}]},{"name":"hooks/useSelectPermission.js","children":[{"name":"src/hooks/useSelectPermission.ts","uid":"0927-69"}]},{"name":"hooks/useSelectState.js","children":[{"name":"src/hooks/useSelectState.ts","uid":"0927-71"}]},{"name":"content/utils.js","children":[{"name":"src/content/utils.tsx","uid":"0927-73"}]},{"name":"layout/components/CustomLayoutItemComponent.js","children":[{"name":"src/layout/components/CustomLayoutItemComponent.tsx","uid":"0927-75"}]},{"name":"layout/components/DropdownItem.js","children":[{"name":"src/layout/components/DropdownItem.tsx","uid":"0927-77"}]},{"name":"layout/components/MenuItem.js","children":[{"name":"src/layout/components/MenuItem.tsx","uid":"0927-79"}]},{"name":"layout/components/PlainItem.js","children":[{"name":"src/layout/components/PlainItem.tsx","uid":"0927-81"}]},{"name":"content/components/ActionForm.js","children":[{"name":"src/content/components/ActionForm.tsx","uid":"0927-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":"0927-85"}]}],"isRoot":true},"nodeParts":{"0927-1":{"renderedLength":184,"gzipLength":151,"brotliLength":131,"mainUid":"0927-0"},"0927-3":{"renderedLength":489,"gzipLength":251,"brotliLength":217,"mainUid":"0927-2"},"0927-5":{"renderedLength":59,"gzipLength":71,"brotliLength":63,"mainUid":"0927-4"},"0927-7":{"renderedLength":1955,"gzipLength":564,"brotliLength":488,"mainUid":"0927-6"},"0927-9":{"renderedLength":650,"gzipLength":300,"brotliLength":268,"mainUid":"0927-8"},"0927-11":{"renderedLength":445,"gzipLength":266,"brotliLength":229,"mainUid":"0927-10"},"0927-13":{"renderedLength":121,"gzipLength":110,"brotliLength":90,"mainUid":"0927-12"},"0927-15":{"renderedLength":315,"gzipLength":141,"brotliLength":99,"mainUid":"0927-14"},"0927-17":{"renderedLength":1058,"gzipLength":392,"brotliLength":330,"mainUid":"0927-16"},"0927-19":{"renderedLength":339,"gzipLength":201,"brotliLength":164,"mainUid":"0927-18"},"0927-21":{"renderedLength":663,"gzipLength":328,"brotliLength":285,"mainUid":"0927-20"},"0927-23":{"renderedLength":2630,"gzipLength":743,"brotliLength":629,"mainUid":"0927-22"},"0927-25":{"renderedLength":1970,"gzipLength":651,"brotliLength":565,"mainUid":"0927-24"},"0927-27":{"renderedLength":123,"gzipLength":107,"brotliLength":93,"mainUid":"0927-26"},"0927-29":{"renderedLength":345,"gzipLength":206,"brotliLength":172,"mainUid":"0927-28"},"0927-31":{"renderedLength":145,"gzipLength":117,"brotliLength":116,"mainUid":"0927-30"},"0927-33":{"renderedLength":1401,"gzipLength":377,"brotliLength":347,"mainUid":"0927-32"},"0927-35":{"renderedLength":3176,"gzipLength":933,"brotliLength":762,"mainUid":"0927-34"},"0927-37":{"renderedLength":1469,"gzipLength":528,"brotliLength":431,"mainUid":"0927-36"},"0927-39":{"renderedLength":726,"gzipLength":295,"brotliLength":252,"mainUid":"0927-38"},"0927-41":{"renderedLength":335,"gzipLength":222,"brotliLength":169,"mainUid":"0927-40"},"0927-43":{"renderedLength":257,"gzipLength":158,"brotliLength":122,"mainUid":"0927-42"},"0927-45":{"renderedLength":556,"gzipLength":286,"brotliLength":215,"mainUid":"0927-44"},"0927-47":{"renderedLength":1189,"gzipLength":399,"brotliLength":314,"mainUid":"0927-46"},"0927-49":{"renderedLength":191,"gzipLength":111,"brotliLength":89,"mainUid":"0927-48"},"0927-51":{"renderedLength":915,"gzipLength":392,"brotliLength":328,"mainUid":"0927-50"},"0927-53":{"renderedLength":785,"gzipLength":362,"brotliLength":321,"mainUid":"0927-52"},"0927-55":{"renderedLength":1503,"gzipLength":488,"brotliLength":399,"mainUid":"0927-54"},"0927-57":{"renderedLength":663,"gzipLength":344,"brotliLength":277,"mainUid":"0927-56"},"0927-59":{"renderedLength":362,"gzipLength":244,"brotliLength":185,"mainUid":"0927-58"},"0927-61":{"renderedLength":83,"gzipLength":96,"brotliLength":66,"mainUid":"0927-60"},"0927-63":{"renderedLength":344,"gzipLength":235,"brotliLength":186,"mainUid":"0927-62"},"0927-65":{"renderedLength":203,"gzipLength":136,"brotliLength":97,"mainUid":"0927-64"},"0927-67":{"renderedLength":514,"gzipLength":229,"brotliLength":187,"mainUid":"0927-66"},"0927-69":{"renderedLength":294,"gzipLength":154,"brotliLength":114,"mainUid":"0927-68"},"0927-71":{"renderedLength":326,"gzipLength":176,"brotliLength":141,"mainUid":"0927-70"},"0927-73":{"renderedLength":628,"gzipLength":259,"brotliLength":219,"mainUid":"0927-72"},"0927-75":{"renderedLength":82,"gzipLength":95,"brotliLength":66,"mainUid":"0927-74"},"0927-77":{"renderedLength":1179,"gzipLength":451,"brotliLength":362,"mainUid":"0927-76"},"0927-79":{"renderedLength":252,"gzipLength":159,"brotliLength":116,"mainUid":"0927-78"},"0927-81":{"renderedLength":244,"gzipLength":178,"brotliLength":145,"mainUid":"0927-80"},"0927-83":{"renderedLength":1667,"gzipLength":625,"brotliLength":519,"mainUid":"0927-82"},"0927-85":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"0927-84"}},"nodeMetas":{"0927-0":{"id":"/src/index.ts","moduleParts":{"index.js":"0927-1"},"imported":[{"uid":"0927-10"},{"uid":"0927-6"},{"uid":"0927-2"},{"uid":"0927-8"},{"uid":"0927-4"}],"importedBy":[],"isEntry":true},"0927-2":{"id":"/src/state.ts","moduleParts":{"state.js":"0927-3"},"imported":[{"uid":"0927-90"},{"uid":"0927-91"}],"importedBy":[{"uid":"0927-0"},{"uid":"0927-10"},{"uid":"0927-20"},{"uid":"0927-22"},{"uid":"0927-24"},{"uid":"0927-28"},{"uid":"0927-52"}]},"0927-4":{"id":"/src/content/dividerSidebarItem.ts","moduleParts":{"content/dividerSidebarItem.js":"0927-5"},"imported":[],"importedBy":[{"uid":"0927-0"}]},"0927-6":{"id":"/src/layout/withLayout.tsx","moduleParts":{"layout/withLayout.js":"0927-7"},"imported":[{"uid":"0927-87"},{"uid":"0927-86"},{"uid":"0927-16"},{"uid":"0927-18"},{"uid":"0927-20"},{"uid":"0927-12"},{"uid":"0927-22"}],"importedBy":[{"uid":"0927-0"}]},"0927-8":{"id":"/src/content/createPages.tsx","moduleParts":{"content/createPages.js":"0927-9"},"imported":[{"uid":"0927-87"},{"uid":"0927-86"},{"uid":"0927-24"},{"uid":"0927-14"}],"importedBy":[{"uid":"0927-0"}]},"0927-10":{"id":"/src/layout/hooks/useMobileLayout.ts","moduleParts":{"layout/hooks/useMobileLayout.js":"0927-11"},"imported":[{"uid":"0927-86"},{"uid":"0927-87"},{"uid":"0927-88"},{"uid":"0927-89"},{"uid":"0927-2"}],"importedBy":[{"uid":"0927-0"}]},"0927-12":{"id":"/src/types.ts","moduleParts":{"types.js":"0927-13"},"imported":[],"importedBy":[{"uid":"0927-6"}]},"0927-14":{"id":"/src/content/types.ts","moduleParts":{"content/types.js":"0927-15"},"imported":[],"importedBy":[{"uid":"0927-8"},{"uid":"0927-46"}]},"0927-16":{"id":"/src/datahooks/DataHooks.tsx","moduleParts":{"datahooks/DataHooks.js":"0927-17"},"imported":[{"uid":"0927-87"},{"uid":"0927-86"},{"uid":"0927-92"},{"uid":"0927-26"}],"importedBy":[{"uid":"0927-6"},{"uid":"0927-24"}]},"0927-18":{"id":"/src/datahooks/PermissionHooks.tsx","moduleParts":{"datahooks/PermissionHooks.js":"0927-19"},"imported":[{"uid":"0927-87"},{"uid":"0927-86"},{"uid":"0927-28"}],"importedBy":[{"uid":"0927-6"}]},"0927-20":{"id":"/src/datahooks/Permissions.tsx","moduleParts":{"datahooks/Permissions.js":"0927-21"},"imported":[{"uid":"0927-87"},{"uid":"0927-93"},{"uid":"0927-86"},{"uid":"0927-88"},{"uid":"0927-2"}],"importedBy":[{"uid":"0927-6"}]},"0927-22":{"id":"/src/layout/components/Layout.tsx","moduleParts":{"layout/components/Layout.js":"0927-23"},"imported":[{"uid":"0927-87"},{"uid":"0927-86"},{"uid":"0927-94"},{"uid":"0927-2"},{"uid":"0927-32"},{"uid":"0927-38"},{"uid":"0927-40"},{"uid":"0927-34"}],"importedBy":[{"uid":"0927-6"}]},"0927-24":{"id":"/src/content/components/ContentComponent.tsx","moduleParts":{"content/components/ContentComponent.js":"0927-25"},"imported":[{"uid":"0927-87"},{"uid":"0927-86"},{"uid":"0927-95"},{"uid":"0927-88"},{"uid":"0927-16"},{"uid":"0927-2"},{"uid":"0927-30"},{"uid":"0927-42"},{"uid":"0927-44"},{"uid":"0927-46"},{"uid":"0927-36"}],"importedBy":[{"uid":"0927-8"}]},"0927-26":{"id":"/src/datahooks/ExecuteDataHook.tsx","moduleParts":{"datahooks/ExecuteDataHook.js":"0927-27"},"imported":[{"uid":"0927-87"}],"importedBy":[{"uid":"0927-16"}]},"0927-28":{"id":"/src/datahooks/ExecutePermissionHook.tsx","moduleParts":{"datahooks/ExecutePermissionHook.js":"0927-29"},"imported":[{"uid":"0927-87"},{"uid":"0927-88"},{"uid":"0927-2"}],"importedBy":[{"uid":"0927-18"}]},"0927-30":{"id":"/src/utils.ts","moduleParts":{"utils.js":"0927-31"},"imported":[{"uid":"0927-95"}],"importedBy":[{"uid":"0927-24"},{"uid":"0927-38"},{"uid":"0927-54"}]},"0927-32":{"id":"/src/layout/moveItems.ts","moduleParts":{"layout/moveItems.js":"0927-33"},"imported":[{"uid":"0927-86"},{"uid":"0927-95"},{"uid":"0927-48"}],"importedBy":[{"uid":"0927-22"}]},"0927-34":{"id":"/src/layout/components/styles.module.css","moduleParts":{"layout/components/styles.module.css.js":"0927-35"},"imported":[{"uid":"0927-84"}],"importedBy":[{"uid":"0927-22"},{"uid":"0927-40"},{"uid":"0927-76"}]},"0927-36":{"id":"/src/content/components/styles.module.css","moduleParts":{"content/components/styles.module.css.js":"0927-37"},"imported":[{"uid":"0927-84"}],"importedBy":[{"uid":"0927-24"},{"uid":"0927-44"}]},"0927-38":{"id":"/src/layout/components/LayoutItemBar.tsx","moduleParts":{"layout/components/LayoutItemBar.js":"0927-39"},"imported":[{"uid":"0927-87"},{"uid":"0927-86"},{"uid":"0927-94"},{"uid":"0927-30"},{"uid":"0927-50"},{"uid":"0927-54"}],"importedBy":[{"uid":"0927-22"}]},"0927-40":{"id":"/src/layout/components/SecondaryMenuToggleItem.tsx","moduleParts":{"layout/components/SecondaryMenuToggleItem.js":"0927-41"},"imported":[{"uid":"0927-87"},{"uid":"0927-94"},{"uid":"0927-34"}],"importedBy":[{"uid":"0927-22"}]},"0927-42":{"id":"/src/content/hooks/useBuildContentData.ts","moduleParts":{"content/hooks/useBuildContentData.js":"0927-43"},"imported":[{"uid":"0927-52"}],"importedBy":[{"uid":"0927-24"},{"uid":"0927-46"}]},"0927-44":{"id":"/src/content/components/Header.tsx","moduleParts":{"content/components/Header.js":"0927-45"},"imported":[{"uid":"0927-87"},{"uid":"0927-86"},{"uid":"0927-36"}],"importedBy":[{"uid":"0927-24"}]},"0927-46":{"id":"/src/content/components/SidebarItemWrapper.tsx","moduleParts":{"content/components/SidebarItemWrapper.js":"0927-47"},"imported":[{"uid":"0927-87"},{"uid":"0927-86"},{"uid":"0927-96"},{"uid":"0927-94"},{"uid":"0927-42"},{"uid":"0927-14"},{"uid":"0927-56"},{"uid":"0927-58"},{"uid":"0927-60"},{"uid":"0927-62"}],"importedBy":[{"uid":"0927-24"}]},"0927-48":{"id":"/src/layout/types.ts","moduleParts":{"layout/types.js":"0927-49"},"imported":[],"importedBy":[{"uid":"0927-32"},{"uid":"0927-54"}]},"0927-50":{"id":"/src/layout/utils.tsx","moduleParts":{"layout/utils.js":"0927-51"},"imported":[{"uid":"0927-87"},{"uid":"0927-92"},{"uid":"0927-94"},{"uid":"0927-64"}],"importedBy":[{"uid":"0927-38"},{"uid":"0927-76"},{"uid":"0927-80"}]},"0927-52":{"id":"/src/hooks/useBuildData.ts","moduleParts":{"hooks/useBuildData.js":"0927-53"},"imported":[{"uid":"0927-93"},{"uid":"0927-86"},{"uid":"0927-95"},{"uid":"0927-92"},{"uid":"0927-2"},{"uid":"0927-66"},{"uid":"0927-68"},{"uid":"0927-70"}],"importedBy":[{"uid":"0927-42"},{"uid":"0927-54"}]},"0927-54":{"id":"/src/layout/components/LayoutItemWrapper.tsx","moduleParts":{"layout/components/LayoutItemWrapper.js":"0927-55"},"imported":[{"uid":"0927-87"},{"uid":"0927-86"},{"uid":"0927-96"},{"uid":"0927-94"},{"uid":"0927-52"},{"uid":"0927-30"},{"uid":"0927-48"},{"uid":"0927-74"},{"uid":"0927-76"},{"uid":"0927-78"},{"uid":"0927-80"}],"importedBy":[{"uid":"0927-38"}]},"0927-56":{"id":"/src/content/components/ActionFormSidebarItemComponent.tsx","moduleParts":{"content/components/ActionFormSidebarItemComponent.js":"0927-57"},"imported":[{"uid":"0927-87"},{"uid":"0927-86"},{"uid":"0927-94"},{"uid":"0927-72"},{"uid":"0927-82"}],"importedBy":[{"uid":"0927-46"}]},"0927-58":{"id":"/src/content/components/ActionSidebarItemComponent.tsx","moduleParts":{"content/components/ActionSidebarItemComponent.js":"0927-59"},"imported":[{"uid":"0927-87"},{"uid":"0927-94"},{"uid":"0927-72"}],"importedBy":[{"uid":"0927-46"}]},"0927-60":{"id":"/src/content/components/CustomSidebarItemComponent.tsx","moduleParts":{"content/components/CustomSidebarItemComponent.js":"0927-61"},"imported":[{"uid":"0927-87"}],"importedBy":[{"uid":"0927-46"}]},"0927-62":{"id":"/src/content/components/PlainSidebarItem.tsx","moduleParts":{"content/components/PlainSidebarItem.js":"0927-63"},"imported":[{"uid":"0927-87"},{"uid":"0927-92"},{"uid":"0927-94"},{"uid":"0927-72"}],"importedBy":[{"uid":"0927-46"}]},"0927-64":{"id":"/src/commonItems.ts","moduleParts":{"commonItems.js":"0927-65"},"imported":[],"importedBy":[{"uid":"0927-50"},{"uid":"0927-66"}]},"0927-66":{"id":"/src/hooks/useIsActiveRoute.ts","moduleParts":{"hooks/useIsActiveRoute.js":"0927-67"},"imported":[{"uid":"0927-97"},{"uid":"0927-64"}],"importedBy":[{"uid":"0927-52"}]},"0927-68":{"id":"/src/hooks/useSelectPermission.ts","moduleParts":{"hooks/useSelectPermission.js":"0927-69"},"imported":[{"uid":"0927-95"}],"importedBy":[{"uid":"0927-52"}]},"0927-70":{"id":"/src/hooks/useSelectState.ts","moduleParts":{"hooks/useSelectState.js":"0927-71"},"imported":[{"uid":"0927-95"}],"importedBy":[{"uid":"0927-52"}]},"0927-72":{"id":"/src/content/utils.tsx","moduleParts":{"content/utils.js":"0927-73"},"imported":[{"uid":"0927-87"},{"uid":"0927-94"}],"importedBy":[{"uid":"0927-56"},{"uid":"0927-58"},{"uid":"0927-62"}]},"0927-74":{"id":"/src/layout/components/CustomLayoutItemComponent.tsx","moduleParts":{"layout/components/CustomLayoutItemComponent.js":"0927-75"},"imported":[{"uid":"0927-87"}],"importedBy":[{"uid":"0927-54"}]},"0927-76":{"id":"/src/layout/components/DropdownItem.tsx","moduleParts":{"layout/components/DropdownItem.js":"0927-77"},"imported":[{"uid":"0927-87"},{"uid":"0927-86"},{"uid":"0927-94"},{"uid":"0927-50"},{"uid":"0927-34"}],"importedBy":[{"uid":"0927-54"}]},"0927-78":{"id":"/src/layout/components/MenuItem.tsx","moduleParts":{"layout/components/MenuItem.js":"0927-79"},"imported":[{"uid":"0927-87"},{"uid":"0927-94"}],"importedBy":[{"uid":"0927-54"}]},"0927-80":{"id":"/src/layout/components/PlainItem.tsx","moduleParts":{"layout/components/PlainItem.js":"0927-81"},"imported":[{"uid":"0927-87"},{"uid":"0927-94"},{"uid":"0927-50"}],"importedBy":[{"uid":"0927-54"}]},"0927-82":{"id":"/src/content/components/ActionForm.tsx","moduleParts":{"content/components/ActionForm.js":"0927-83"},"imported":[{"uid":"0927-87"},{"uid":"0927-98"},{"uid":"0927-86"},{"uid":"0927-94"}],"importedBy":[{"uid":"0927-56"}]},"0927-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":"0927-85"},"imported":[],"importedBy":[{"uid":"0927-34"},{"uid":"0927-36"}]},"0927-86":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"0927-10"},{"uid":"0927-6"},{"uid":"0927-8"},{"uid":"0927-16"},{"uid":"0927-18"},{"uid":"0927-20"},{"uid":"0927-22"},{"uid":"0927-24"},{"uid":"0927-32"},{"uid":"0927-38"},{"uid":"0927-44"},{"uid":"0927-46"},{"uid":"0927-54"},{"uid":"0927-52"},{"uid":"0927-56"},{"uid":"0927-76"},{"uid":"0927-82"}],"isExternal":true},"0927-87":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"0927-10"},{"uid":"0927-6"},{"uid":"0927-8"},{"uid":"0927-16"},{"uid":"0927-18"},{"uid":"0927-20"},{"uid":"0927-22"},{"uid":"0927-24"},{"uid":"0927-26"},{"uid":"0927-28"},{"uid":"0927-38"},{"uid":"0927-40"},{"uid":"0927-44"},{"uid":"0927-46"},{"uid":"0927-50"},{"uid":"0927-54"},{"uid":"0927-56"},{"uid":"0927-58"},{"uid":"0927-60"},{"uid":"0927-62"},{"uid":"0927-74"},{"uid":"0927-76"},{"uid":"0927-78"},{"uid":"0927-80"},{"uid":"0927-72"},{"uid":"0927-82"}],"isExternal":true},"0927-88":{"id":"react-redux","moduleParts":{},"imported":[],"importedBy":[{"uid":"0927-10"},{"uid":"0927-20"},{"uid":"0927-24"},{"uid":"0927-28"}],"isExternal":true},"0927-89":{"id":"react-responsive","moduleParts":{},"imported":[],"importedBy":[{"uid":"0927-10"}],"isExternal":true},"0927-90":{"id":"@imperium/state","moduleParts":{},"imported":[],"importedBy":[{"uid":"0927-2"}],"isExternal":true},"0927-91":{"id":"@reduxjs/toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"0927-2"}],"isExternal":true},"0927-92":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"0927-16"},{"uid":"0927-50"},{"uid":"0927-52"},{"uid":"0927-62"}],"isExternal":true},"0927-93":{"id":"@imperium/auth-client","moduleParts":{},"imported":[],"importedBy":[{"uid":"0927-20"},{"uid":"0927-52"}],"isExternal":true},"0927-94":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"0927-22"},{"uid":"0927-38"},{"uid":"0927-40"},{"uid":"0927-46"},{"uid":"0927-50"},{"uid":"0927-54"},{"uid":"0927-56"},{"uid":"0927-58"},{"uid":"0927-62"},{"uid":"0927-76"},{"uid":"0927-78"},{"uid":"0927-80"},{"uid":"0927-72"},{"uid":"0927-82"}],"isExternal":true},"0927-95":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"0927-24"},{"uid":"0927-32"},{"uid":"0927-30"},{"uid":"0927-52"},{"uid":"0927-68"},{"uid":"0927-70"}],"isExternal":true},"0927-96":{"id":"mingo","moduleParts":{},"imported":[],"importedBy":[{"uid":"0927-46"},{"uid":"0927-54"}],"isExternal":true},"0927-97":{"id":"react-router","moduleParts":{},"imported":[],"importedBy":[{"uid":"0927-66"}],"isExternal":true},"0927-98":{"id":"@thx/controls","moduleParts":{},"imported":[],"importedBy":[{"uid":"0927-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":"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 ADDED
@@ -0,0 +1,94 @@
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)
@@ -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.4.13-alpha.2+0085236",
3
+ "version": "10.5.1",
4
4
  "description": "Imperium Layout package",
5
5
  "bugs": {
6
6
  "url": "https://github.com/darkadept/imperium/issues"
@@ -31,10 +31,10 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@imperium/auth-client": "^10.4.13-alpha.2+0085236",
35
- "@imperium/client": "^10.4.13-alpha.2+0085236",
36
- "@imperium/router": "^10.4.13-alpha.2+0085236",
37
- "@imperium/state": "^10.4.13-alpha.2+0085236",
34
+ "@imperium/auth-client": "^10.5.0",
35
+ "@imperium/client": "^10.5.0",
36
+ "@imperium/router": "^10.5.0",
37
+ "@imperium/state": "^10.5.0",
38
38
  "@thx/controls": "^16.3.10",
39
39
  "debug": "^4.3.3",
40
40
  "history": "^5.0.1",
@@ -60,5 +60,5 @@
60
60
  "publishConfig": {
61
61
  "access": "public"
62
62
  },
63
- "gitHead": "0085236ee3ad27d7d008046e9ce766deefbbb806"
63
+ "gitHead": "d8f1195fc79d9391374e1d1dfeebdad16af7897c"
64
64
  }