@imperium/layout 14.0.0 → 14.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/content/components/ContentComponent.js +7 -0
- package/dist/esm/content/components/ContentComponent.js.map +1 -1
- package/dist/esm/state.js +5 -1
- package/dist/esm/state.js.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/types/state.d.ts +22 -0
- package/package.json +3 -3
- package/dist/stats.txt +0 -92
|
@@ -33,6 +33,13 @@ function ContentComponent({ page, params }) {
|
|
|
33
33
|
useDeepCompareEffect(() => {
|
|
34
34
|
dispatch(actions.setParams(params));
|
|
35
35
|
}, [dispatch, params]);
|
|
36
|
+
useEffect(() => {
|
|
37
|
+
if (typeof page.header === "string") {
|
|
38
|
+
dispatch(actions.setPageHeader(page.header));
|
|
39
|
+
} else {
|
|
40
|
+
dispatch(actions.setPageHeader(""));
|
|
41
|
+
}
|
|
42
|
+
}, [dispatch, page.header]);
|
|
36
43
|
const content = page.content(data);
|
|
37
44
|
const sidebarItems = sortWeightedItems(page.sidebar || []);
|
|
38
45
|
const sidebar = sidebarItems.length > 0 ? /* @__PURE__ */ React.createElement("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentComponent.js","sources":["../../../../src/content/components/ContentComponent.tsx"],"sourcesContent":["import type {DefineRouteOptions} from '@imperium/router';\nimport debug from 'debug';\nimport {isEqual} from 'lodash-es';\nimport {type DependencyList, type EffectCallback, useEffect, useRef, useState} from 'react';\nimport {useDispatch} from 'react-redux';\nimport {Button} from 'semantic-ui-react';\nimport {useMediaQuery} from 'react-responsive';\nimport {DataHooks} from '../../datahooks/DataHooks';\nimport {actions} from '../../state';\nimport {sortWeightedItems} from '../../utils';\nimport {useBuildContentData} from '../hooks/useBuildContentData';\nimport type {Page, RouteParameters, SidebarItem} from '../types';\nimport {Header} from './Header';\nimport {SidebarItemWrapper} from './SidebarItemWrapper';\nimport styles from './styles.module.css';\n\nconst d = debug('imperium.layout.content.components.ContentComponent');\n\ninterface ContentComponentProps<T extends DefineRouteOptions, K extends keyof T> {\n\tpage: Page<T, K>;\n\tparams: RouteParameters<T[K]['params']>;\n}\n\nfunction useDeepCompareMemoize(value: any) {\n\tconst ref = useRef();\n\tif (!value && !ref.current) return ref.current;\n\tif (!isEqual(value, ref.current)) {\n\t\tref.current = value;\n\t}\n\treturn ref.current;\n}\n\nfunction useDeepCompareEffect(callback: EffectCallback, deps: DependencyList) {\n\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\tuseEffect(callback, deps.map(useDeepCompareMemoize));\n}\n\nexport function ContentComponent<T extends DefineRouteOptions, K extends keyof T>({page, params}: ContentComponentProps<T, K>) {\n\tconst dispatch = useDispatch();\n\tconst data = useBuildContentData({stateSelectorHook: page.stateSelectorHook, permissionSelectorHook: page.permissionSelectorHook, params});\n\tconst [visible, setVisible] = useState(true);\n\tconst isMobile = useMediaQuery({query: '(max-width: 900px)'});\n\n\tuseDeepCompareEffect(() => {\n\t\tdispatch(actions.setParams(params));\n\t}, [dispatch, params]);\n\n\tconst content = page.content(data);\n\tconst sidebarItems = sortWeightedItems(page.sidebar || []);\n\n\tconst sidebar =\n\t\tsidebarItems.length > 0 ? (\n\t\t\t<div className={`${styles.sidebar} imperiumContentSidebar`}>\n\t\t\t\t<div className={styles.sidebarButton}>\n\t\t\t\t\t<Button icon=\"angle right\" size=\"big\" onClick={() => setVisible(false)} fluid style={{paddingLeft: 0}} />\n\t\t\t\t</div>\n\t\t\t\t<div className={styles.sidebarContent}>\n\t\t\t\t\t<div className={`${styles.actionsHeader} imperiumContentSidebarHeader`}>\n\t\t\t\t\t\t<h3>Actions</h3>\n\t\t\t\t\t</div>\n\t\t\t\t\t{sidebarItems.map((sb, index) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t// eslint-disable-next-line react/no-array-index-key\n\t\t\t\t\t\t\t<div className={styles.sidebarItem} key={index}>\n\t\t\t\t\t\t\t\t<SidebarItemWrapper item={sb as SidebarItem<T, K>} params={params} data={data} />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t) : null;\n\n\tconst mobileSidebar =\n\t\tsidebarItems.length > 0 ? (\n\t\t\t<div className={`${styles.sidebarMobile} imperiumContentSidebar`}>\n\t\t\t\t<div className={`${styles.actionsHeader} imperiumContentSidebarHeader`}>\n\t\t\t\t\t<h3>Actions</h3>\n\t\t\t\t</div>\n\t\t\t\t{sidebarItems.map((sb, index) => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\t// eslint-disable-next-line react/no-array-index-key\n\t\t\t\t\t\t<div className={styles.sidebarItem} key={index}>\n\t\t\t\t\t\t\t<SidebarItemWrapper item={sb as SidebarItem<T, K>} params={params} data={data} />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t</div>\n\t\t) : null;\n\n\treturn (\n\t\t<div className={`${styles.parent} imperiumContentWrapperParent`}>\n\t\t\t<div className={`${styles.wrapper} imperiumContentWrapper`}>\n\t\t\t\t<Header header={page.header} data={data} />\n\t\t\t\t<div className={`${styles.content} imperiumContent ${page.full && styles.contentFull}`}>{content}</div>\n\t\t\t</div>\n\t\t\t{isMobile && mobileSidebar}\n\t\t\t{!isMobile && (\n\t\t\t\t<>\n\t\t\t\t\t{visible && sidebar}\n\t\t\t\t\t{!visible && (\n\t\t\t\t\t\t<Button icon=\"angle left\" size=\"big\" onClick={() => setVisible(true)} className={styles.sidebarButton} style={{paddingLeft: 0}} />\n\t\t\t\t\t)}\n\t\t\t\t</>\n\t\t\t)}\n\t\t\t<DataHooks dataHooks={page.dataHooks || []} />\n\t\t</div>\n\t);\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAgBU,MAAM,qDAAqD,EAAA;AAOrE,SAAA,qBAAA,CAA+B,KAAY,EAAA;AAC1C,EAAA,MAAM,MAAM,MAAO,EAAA,CAA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C,QACD,oBAAA,KAAA,CAAA,aAAA,CAAA,KAAA,CAAA,QAAA,EAAA,IAAA,EACE,OAAW,IAAA,OAAA,EACX,CAAC,OAAA,oBACA,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA;AAAA,IAAO,IAAK,EAAA,YAAA;AAAA,IAAa,IAAK,EAAA,KAAA;AAAA,IAAM,OAAA,EAAS,MAAM,UAAA,CAAW,IAAI,CAAA;AAAA,IAAG,WAAW,MAAO,CAAA,aAAA;AAAA,IAAe,KAAA,EAAO,EAAC,WAAA,EAAa,CAAC,EAAA;AAAA,GAAG,CAElI,mBAEA,KAAA,CAAA,aAAA,CAAA,SAAA,EAAA;AAAA,IAAU,SAAA,EAAW,IAAK,CAAA,SAAA,IAAa,EAAC;AAAA,GAAG,CAC7C,CAAA,CAAA;AAEF;;;;"}
|
|
1
|
+
{"version":3,"file":"ContentComponent.js","sources":["../../../../src/content/components/ContentComponent.tsx"],"sourcesContent":["import type {DefineRouteOptions} from '@imperium/router';\nimport debug from 'debug';\nimport {isEqual} from 'lodash-es';\nimport {type DependencyList, type EffectCallback, useEffect, useRef, useState} from 'react';\nimport {useDispatch} from 'react-redux';\nimport {Button} from 'semantic-ui-react';\nimport {useMediaQuery} from 'react-responsive';\nimport {DataHooks} from '../../datahooks/DataHooks';\nimport {actions} from '../../state';\nimport {sortWeightedItems} from '../../utils';\nimport {useBuildContentData} from '../hooks/useBuildContentData';\nimport type {Page, RouteParameters, SidebarItem} from '../types';\nimport {Header} from './Header';\nimport {SidebarItemWrapper} from './SidebarItemWrapper';\nimport styles from './styles.module.css';\n\nconst d = debug('imperium.layout.content.components.ContentComponent');\n\ninterface ContentComponentProps<T extends DefineRouteOptions, K extends keyof T> {\n\tpage: Page<T, K>;\n\tparams: RouteParameters<T[K]['params']>;\n}\n\nfunction useDeepCompareMemoize(value: any) {\n\tconst ref = useRef();\n\tif (!value && !ref.current) return ref.current;\n\tif (!isEqual(value, ref.current)) {\n\t\tref.current = value;\n\t}\n\treturn ref.current;\n}\n\nfunction useDeepCompareEffect(callback: EffectCallback, deps: DependencyList) {\n\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\tuseEffect(callback, deps.map(useDeepCompareMemoize));\n}\n\nexport function ContentComponent<T extends DefineRouteOptions, K extends keyof T>({page, params}: ContentComponentProps<T, K>) {\n\tconst dispatch = useDispatch();\n\tconst data = useBuildContentData({stateSelectorHook: page.stateSelectorHook, permissionSelectorHook: page.permissionSelectorHook, params});\n\tconst [visible, setVisible] = useState(true);\n\tconst isMobile = useMediaQuery({query: '(max-width: 900px)'});\n\n\tuseDeepCompareEffect(() => {\n\t\tdispatch(actions.setParams(params));\n\t}, [dispatch, params]);\n\n\tuseEffect(() => {\n\t\tif (typeof page.header === 'string') {\n\t\t\tdispatch(actions.setPageHeader(page.header));\n\t\t} else {\n\t\t\tdispatch(actions.setPageHeader(''));\n\t\t}\n\t}, [dispatch, page.header]);\n\n\tconst content = page.content(data);\n\tconst sidebarItems = sortWeightedItems(page.sidebar || []);\n\n\tconst sidebar =\n\t\tsidebarItems.length > 0 ? (\n\t\t\t<div className={`${styles.sidebar} imperiumContentSidebar`}>\n\t\t\t\t<div className={styles.sidebarButton}>\n\t\t\t\t\t<Button icon=\"angle right\" size=\"big\" onClick={() => setVisible(false)} fluid style={{paddingLeft: 0}} />\n\t\t\t\t</div>\n\t\t\t\t<div className={styles.sidebarContent}>\n\t\t\t\t\t<div className={`${styles.actionsHeader} imperiumContentSidebarHeader`}>\n\t\t\t\t\t\t<h3>Actions</h3>\n\t\t\t\t\t</div>\n\t\t\t\t\t{sidebarItems.map((sb, index) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t// eslint-disable-next-line react/no-array-index-key\n\t\t\t\t\t\t\t<div className={styles.sidebarItem} key={index}>\n\t\t\t\t\t\t\t\t<SidebarItemWrapper item={sb as SidebarItem<T, K>} params={params} data={data} />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t) : null;\n\n\tconst mobileSidebar =\n\t\tsidebarItems.length > 0 ? (\n\t\t\t<div className={`${styles.sidebarMobile} imperiumContentSidebar`}>\n\t\t\t\t<div className={`${styles.actionsHeader} imperiumContentSidebarHeader`}>\n\t\t\t\t\t<h3>Actions</h3>\n\t\t\t\t</div>\n\t\t\t\t{sidebarItems.map((sb, index) => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\t// eslint-disable-next-line react/no-array-index-key\n\t\t\t\t\t\t<div className={styles.sidebarItem} key={index}>\n\t\t\t\t\t\t\t<SidebarItemWrapper item={sb as SidebarItem<T, K>} params={params} data={data} />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t</div>\n\t\t) : null;\n\n\treturn (\n\t\t<div className={`${styles.parent} imperiumContentWrapperParent`}>\n\t\t\t<div className={`${styles.wrapper} imperiumContentWrapper`}>\n\t\t\t\t<Header header={page.header} data={data} />\n\t\t\t\t<div className={`${styles.content} imperiumContent ${page.full && styles.contentFull}`}>{content}</div>\n\t\t\t</div>\n\t\t\t{isMobile && mobileSidebar}\n\t\t\t{!isMobile && (\n\t\t\t\t<>\n\t\t\t\t\t{visible && sidebar}\n\t\t\t\t\t{!visible && (\n\t\t\t\t\t\t<Button icon=\"angle left\" size=\"big\" onClick={() => setVisible(true)} className={styles.sidebarButton} style={{paddingLeft: 0}} />\n\t\t\t\t\t)}\n\t\t\t\t</>\n\t\t\t)}\n\t\t\t<DataHooks dataHooks={page.dataHooks || []} />\n\t\t</div>\n\t);\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAgBU,MAAM,qDAAqD,EAAA;AAOrE,SAAA,qBAAA,CAA+B,KAAY,EAAA;AAC1C,EAAA,MAAM,MAAM,MAAO,EAAA,CAAA;AACnB,EAAI,IAAA,CAAC,KAAS,IAAA,CAAC,GAAI,CAAA,OAAA;AAAS,IAAA,OAAO,GAAI,CAAA,OAAA,CAAA;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AAAA,GAAY,mBACxC,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AAAA,IAAI,WAAW,CAAG,EAAA,MAAA,CAAO,OAA2B,CAAA,iBAAA,EAAA,IAAA,CAAK,QAAQ,MAAO,CAAA,WAAA,CAAA,CAAA;AAAA,GAAA,EAAgB,OAAQ,CAClG,CACC,EAAA,QAAA,IAAY,aACZ,EAAA,CAAC,QACD,oBAAA,KAAA,CAAA,aAAA,CAAA,KAAA,CAAA,QAAA,EAAA,IAAA,EACE,OAAW,IAAA,OAAA,EACX,CAAC,OAAA,oBACA,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA;AAAA,IAAO,IAAK,EAAA,YAAA;AAAA,IAAa,IAAK,EAAA,KAAA;AAAA,IAAM,OAAA,EAAS,MAAM,UAAA,CAAW,IAAI,CAAA;AAAA,IAAG,WAAW,MAAO,CAAA,aAAA;AAAA,IAAe,KAAA,EAAO,EAAC,WAAA,EAAa,CAAC,EAAA;AAAA,GAAG,CAElI,mBAEA,KAAA,CAAA,aAAA,CAAA,SAAA,EAAA;AAAA,IAAU,SAAA,EAAW,IAAK,CAAA,SAAA,IAAa,EAAC;AAAA,GAAG,CAC7C,CAAA,CAAA;AAEF;;;;"}
|
package/dist/esm/state.js
CHANGED
|
@@ -6,7 +6,8 @@ const state = createSlice({
|
|
|
6
6
|
initialState: {
|
|
7
7
|
isMobile: false,
|
|
8
8
|
params: {},
|
|
9
|
-
permissions: {}
|
|
9
|
+
permissions: {},
|
|
10
|
+
pageHeader: ""
|
|
10
11
|
},
|
|
11
12
|
reducers: {
|
|
12
13
|
setMobile: (st, action) => ({ ...st, isMobile: action.payload }),
|
|
@@ -15,6 +16,9 @@ const state = createSlice({
|
|
|
15
16
|
},
|
|
16
17
|
setPermission: (st, action) => {
|
|
17
18
|
st.permissions[action.payload.permission] = action.payload.result;
|
|
19
|
+
},
|
|
20
|
+
setPageHeader: (st, action) => {
|
|
21
|
+
st.pageHeader = action.payload;
|
|
18
22
|
}
|
|
19
23
|
}
|
|
20
24
|
});
|
package/dist/esm/state.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sources":["../../src/state.ts"],"sourcesContent":["/* eslint-disable no-param-reassign */\nimport {createSliceHook} from '@imperium/state';\nimport {createSlice, type PayloadAction} from '@reduxjs/toolkit';\n\nexport const state = createSlice({\n\tname: 'imperiumLayout',\n\tinitialState: {\n\t\tisMobile: false,\n\t\tparams: {},\n\t\tpermissions: {} as Record<string, boolean>,\n\t},\n\treducers: {\n\t\tsetMobile: (st, action: PayloadAction<boolean>) => ({...st, isMobile: action.payload}),\n\t\tsetParams: (st, action: PayloadAction<Record<string, string>>) => {\n\t\t\tst.params = action.payload;\n\t\t},\n\t\tsetPermission: (st, action: PayloadAction<{permission: string; result: boolean}>) => {\n\t\t\tst.permissions[action.payload.permission] = action.payload.result;\n\t\t},\n\t},\n});\n\nexport const useLayoutState = createSliceHook(state);\n\nexport const {actions} = state;\n"],"names":[],"mappings":";;;AAIO,MAAM,QAAQ,WAAY,CAAA;AAAA,EAChC,IAAM,EAAA,gBAAA;AAAA,EACN,YAAc,EAAA;AAAA,IACb,QAAU,EAAA,KAAA;AAAA,IACV,QAAQ,EAAC;AAAA,IACT,aAAa,EAAC;AAAA,
|
|
1
|
+
{"version":3,"file":"state.js","sources":["../../src/state.ts"],"sourcesContent":["/* eslint-disable no-param-reassign */\nimport {createSliceHook} from '@imperium/state';\nimport {createSlice, type PayloadAction} from '@reduxjs/toolkit';\n\nexport const state = createSlice({\n\tname: 'imperiumLayout',\n\tinitialState: {\n\t\tisMobile: false,\n\t\tparams: {},\n\t\tpermissions: {} as Record<string, boolean>,\n\t\tpageHeader: '',\n\t},\n\treducers: {\n\t\tsetMobile: (st, action: PayloadAction<boolean>) => ({...st, isMobile: action.payload}),\n\t\tsetParams: (st, action: PayloadAction<Record<string, string>>) => {\n\t\t\tst.params = action.payload;\n\t\t},\n\t\tsetPermission: (st, action: PayloadAction<{permission: string; result: boolean}>) => {\n\t\t\tst.permissions[action.payload.permission] = action.payload.result;\n\t\t},\n\t\tsetPageHeader: (st, action: PayloadAction<string>) => {\n\t\t\tst.pageHeader = action.payload;\n\t\t},\n\t},\n});\n\nexport const useLayoutState = createSliceHook(state);\n\nexport const {actions} = state;\n"],"names":[],"mappings":";;;AAIO,MAAM,QAAQ,WAAY,CAAA;AAAA,EAChC,IAAM,EAAA,gBAAA;AAAA,EACN,YAAc,EAAA;AAAA,IACb,QAAU,EAAA,KAAA;AAAA,IACV,QAAQ,EAAC;AAAA,IACT,aAAa,EAAC;AAAA,IACd,UAAY,EAAA,EAAA;AAAA,GACb;AAAA,EACA,QAAU,EAAA;AAAA,IACT,SAAA,EAAW,CAAC,EAAI,EAAA,MAAA,WAAwC,EAAI,EAAA,QAAA,EAAU,OAAO,OAAO,EAAA,CAAA;AAAA,IACpF,SAAA,EAAW,CAAC,EAAA,EAAI,MAAkD,KAAA;AACjE,MAAA,EAAA,CAAG,SAAS,MAAO,CAAA,OAAA,CAAA;AAAA,KACpB;AAAA,IACA,aAAA,EAAe,CAAC,EAAA,EAAI,MAAiE,KAAA;AACpF,MAAA,EAAA,CAAG,WAAY,CAAA,MAAA,CAAO,OAAQ,CAAA,UAAA,CAAA,GAAc,OAAO,OAAQ,CAAA,MAAA,CAAA;AAAA,KAC5D;AAAA,IACA,aAAA,EAAe,CAAC,EAAA,EAAI,MAAkC,KAAA;AACrD,MAAA,EAAA,CAAG,aAAa,MAAO,CAAA,OAAA,CAAA;AAAA,KACxB;AAAA,GACD;AACD,CAAC,EAAA;AAEY,MAAA,cAAA,GAAiB,gBAAgB,KAAK,EAAA;AAE5C,MAAM,EAAC,OAAW,EAAA,GAAA;;;;"}
|
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":"016a-1"}]},{"name":"state.js","children":[{"name":"src/state.ts","uid":"016a-3"}]},{"name":"content/dividerSidebarItem.js","children":[{"name":"src/content/dividerSidebarItem.ts","uid":"016a-5"}]},{"name":"layout/withLayout.js","children":[{"name":"src/layout/withLayout.tsx","uid":"016a-7"}]},{"name":"content/createPages.js","children":[{"name":"src/content/createPages.tsx","uid":"016a-9"}]},{"name":"types.js","children":[{"name":"src/types.ts","uid":"016a-11"}]},{"name":"content/types.js","children":[{"name":"src/content/types.ts","uid":"016a-13"}]},{"name":"datahooks/DataHooks.js","children":[{"name":"src/datahooks/DataHooks.tsx","uid":"016a-15"}]},{"name":"datahooks/PermissionHooks.js","children":[{"name":"src/datahooks/PermissionHooks.tsx","uid":"016a-17"}]},{"name":"datahooks/Permissions.js","children":[{"name":"src/datahooks/Permissions.tsx","uid":"016a-19"}]},{"name":"content/components/ContentComponent.js","children":[{"name":"src/content/components/ContentComponent.tsx","uid":"016a-21"}]},{"name":"layout/components/Layout.js","children":[{"name":"src/layout/components/Layout.tsx","uid":"016a-23"}]},{"name":"datahooks/ExecuteDataHook.js","children":[{"name":"src/datahooks/ExecuteDataHook.tsx","uid":"016a-25"}]},{"name":"datahooks/ExecutePermissionHook.js","children":[{"name":"src/datahooks/ExecutePermissionHook.tsx","uid":"016a-27"}]},{"name":"utils.js","children":[{"name":"src/utils.ts","uid":"016a-29"}]},{"name":"layout/moveItems.js","children":[{"name":"src/layout/moveItems.ts","uid":"016a-31"}]},{"name":"layout/components/styles.module.css.js","children":[{"name":"src/layout/components/styles.module.css","uid":"016a-33"}]},{"name":"content/components/styles.module.css.js","children":[{"name":"src/content/components/styles.module.css","uid":"016a-35"}]},{"name":"layout/components/SecondaryMenuToggleItem.js","children":[{"name":"src/layout/components/SecondaryMenuToggleItem.tsx","uid":"016a-37"}]},{"name":"layout/components/LayoutItemBar.js","children":[{"name":"src/layout/components/LayoutItemBar.tsx","uid":"016a-39"}]},{"name":"content/hooks/useBuildContentData.js","children":[{"name":"src/content/hooks/useBuildContentData.ts","uid":"016a-41"}]},{"name":"content/components/Header.js","children":[{"name":"src/content/components/Header.tsx","uid":"016a-43"}]},{"name":"content/components/SidebarItemWrapper.js","children":[{"name":"src/content/components/SidebarItemWrapper.tsx","uid":"016a-45"}]},{"name":"layout/types.js","children":[{"name":"src/layout/types.ts","uid":"016a-47"}]},{"name":"layout/utils.js","children":[{"name":"src/layout/utils.tsx","uid":"016a-49"}]},{"name":"hooks/useBuildData.js","children":[{"name":"src/hooks/useBuildData.ts","uid":"016a-51"}]},{"name":"layout/components/LayoutItemWrapper.js","children":[{"name":"src/layout/components/LayoutItemWrapper.tsx","uid":"016a-53"}]},{"name":"content/components/ActionFormSidebarItemComponent.js","children":[{"name":"src/content/components/ActionFormSidebarItemComponent.tsx","uid":"016a-55"}]},{"name":"content/components/PlainSidebarItem.js","children":[{"name":"src/content/components/PlainSidebarItem.tsx","uid":"016a-57"}]},{"name":"content/components/ActionSidebarItemComponent.js","children":[{"name":"src/content/components/ActionSidebarItemComponent.tsx","uid":"016a-59"}]},{"name":"content/components/CustomSidebarItemComponent.js","children":[{"name":"src/content/components/CustomSidebarItemComponent.tsx","uid":"016a-61"}]},{"name":"commonItems.js","children":[{"name":"src/commonItems.ts","uid":"016a-63"}]},{"name":"hooks/useIsActiveRoute.js","children":[{"name":"src/hooks/useIsActiveRoute.ts","uid":"016a-65"}]},{"name":"hooks/useSelectPermission.js","children":[{"name":"src/hooks/useSelectPermission.ts","uid":"016a-67"}]},{"name":"hooks/useSelectState.js","children":[{"name":"src/hooks/useSelectState.ts","uid":"016a-69"}]},{"name":"content/utils.js","children":[{"name":"src/content/utils.tsx","uid":"016a-71"}]},{"name":"layout/components/CustomLayoutItemComponent.js","children":[{"name":"src/layout/components/CustomLayoutItemComponent.tsx","uid":"016a-73"}]},{"name":"layout/components/DropdownItem.js","children":[{"name":"src/layout/components/DropdownItem.tsx","uid":"016a-75"}]},{"name":"layout/components/MenuItem.js","children":[{"name":"src/layout/components/MenuItem.tsx","uid":"016a-77"}]},{"name":"layout/components/PlainItem.js","children":[{"name":"src/layout/components/PlainItem.tsx","uid":"016a-79"}]},{"name":"content/components/ActionForm.js","children":[{"name":"src/content/components/ActionForm.tsx","uid":"016a-81"}]},{"name":"external/style-inject/dist/style-inject.es.js","children":[{"name":"home/artemis/GitHub/imperium/node_modules/style-inject/dist/style-inject.es.js","uid":"016a-83"}]}],"isRoot":true},"nodeParts":{"016a-1":{"renderedLength":144,"gzipLength":131,"brotliLength":106,"mainUid":"016a-0"},"016a-3":{"renderedLength":489,"gzipLength":250,"brotliLength":217,"mainUid":"016a-2"},"016a-5":{"renderedLength":59,"gzipLength":73,"brotliLength":63,"mainUid":"016a-4"},"016a-7":{"renderedLength":1955,"gzipLength":562,"brotliLength":488,"mainUid":"016a-6"},"016a-9":{"renderedLength":650,"gzipLength":301,"brotliLength":268,"mainUid":"016a-8"},"016a-11":{"renderedLength":121,"gzipLength":111,"brotliLength":90,"mainUid":"016a-10"},"016a-13":{"renderedLength":388,"gzipLength":167,"brotliLength":111,"mainUid":"016a-12"},"016a-15":{"renderedLength":1058,"gzipLength":390,"brotliLength":330,"mainUid":"016a-14"},"016a-17":{"renderedLength":339,"gzipLength":202,"brotliLength":164,"mainUid":"016a-16"},"016a-19":{"renderedLength":864,"gzipLength":366,"brotliLength":318,"mainUid":"016a-18"},"016a-21":{"renderedLength":3376,"gzipLength":879,"brotliLength":768,"mainUid":"016a-20"},"016a-23":{"renderedLength":2512,"gzipLength":751,"brotliLength":636,"mainUid":"016a-22"},"016a-25":{"renderedLength":123,"gzipLength":111,"brotliLength":93,"mainUid":"016a-24"},"016a-27":{"renderedLength":345,"gzipLength":207,"brotliLength":172,"mainUid":"016a-26"},"016a-29":{"renderedLength":145,"gzipLength":117,"brotliLength":116,"mainUid":"016a-28"},"016a-31":{"renderedLength":1401,"gzipLength":376,"brotliLength":347,"mainUid":"016a-30"},"016a-33":{"renderedLength":3176,"gzipLength":928,"brotliLength":762,"mainUid":"016a-32"},"016a-35":{"renderedLength":2119,"gzipLength":680,"brotliLength":565,"mainUid":"016a-34"},"016a-37":{"renderedLength":356,"gzipLength":233,"brotliLength":176,"mainUid":"016a-36"},"016a-39":{"renderedLength":726,"gzipLength":294,"brotliLength":252,"mainUid":"016a-38"},"016a-41":{"renderedLength":257,"gzipLength":158,"brotliLength":122,"mainUid":"016a-40"},"016a-43":{"renderedLength":1042,"gzipLength":377,"brotliLength":323,"mainUid":"016a-42"},"016a-45":{"renderedLength":1189,"gzipLength":399,"brotliLength":314,"mainUid":"016a-44"},"016a-47":{"renderedLength":191,"gzipLength":113,"brotliLength":89,"mainUid":"016a-46"},"016a-49":{"renderedLength":915,"gzipLength":393,"brotliLength":328,"mainUid":"016a-48"},"016a-51":{"renderedLength":799,"gzipLength":370,"brotliLength":330,"mainUid":"016a-50"},"016a-53":{"renderedLength":1503,"gzipLength":487,"brotliLength":399,"mainUid":"016a-52"},"016a-55":{"renderedLength":644,"gzipLength":341,"brotliLength":295,"mainUid":"016a-54"},"016a-57":{"renderedLength":325,"gzipLength":230,"brotliLength":183,"mainUid":"016a-56"},"016a-59":{"renderedLength":343,"gzipLength":239,"brotliLength":181,"mainUid":"016a-58"},"016a-61":{"renderedLength":83,"gzipLength":97,"brotliLength":66,"mainUid":"016a-60"},"016a-63":{"renderedLength":203,"gzipLength":136,"brotliLength":97,"mainUid":"016a-62"},"016a-65":{"renderedLength":514,"gzipLength":227,"brotliLength":187,"mainUid":"016a-64"},"016a-67":{"renderedLength":294,"gzipLength":155,"brotliLength":114,"mainUid":"016a-66"},"016a-69":{"renderedLength":326,"gzipLength":176,"brotliLength":141,"mainUid":"016a-68"},"016a-71":{"renderedLength":628,"gzipLength":259,"brotliLength":219,"mainUid":"016a-70"},"016a-73":{"renderedLength":82,"gzipLength":96,"brotliLength":66,"mainUid":"016a-72"},"016a-75":{"renderedLength":1179,"gzipLength":450,"brotliLength":362,"mainUid":"016a-74"},"016a-77":{"renderedLength":252,"gzipLength":157,"brotliLength":116,"mainUid":"016a-76"},"016a-79":{"renderedLength":379,"gzipLength":264,"brotliLength":224,"mainUid":"016a-78"},"016a-81":{"renderedLength":1667,"gzipLength":624,"brotliLength":519,"mainUid":"016a-80"},"016a-83":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"016a-82"}},"nodeMetas":{"016a-0":{"id":"/src/index.ts","moduleParts":{"index.js":"016a-1"},"imported":[{"uid":"016a-6"},{"uid":"016a-2"},{"uid":"016a-8"},{"uid":"016a-4"}],"importedBy":[],"isEntry":true},"016a-2":{"id":"/src/state.ts","moduleParts":{"state.js":"016a-3"},"imported":[{"uid":"016a-86"},{"uid":"016a-87"}],"importedBy":[{"uid":"016a-0"},{"uid":"016a-18"},{"uid":"016a-20"},{"uid":"016a-26"},{"uid":"016a-50"}]},"016a-4":{"id":"/src/content/dividerSidebarItem.ts","moduleParts":{"content/dividerSidebarItem.js":"016a-5"},"imported":[],"importedBy":[{"uid":"016a-0"}]},"016a-6":{"id":"/src/layout/withLayout.tsx","moduleParts":{"layout/withLayout.js":"016a-7"},"imported":[{"uid":"016a-84"},{"uid":"016a-85"},{"uid":"016a-14"},{"uid":"016a-16"},{"uid":"016a-18"},{"uid":"016a-10"},{"uid":"016a-22"}],"importedBy":[{"uid":"016a-0"}]},"016a-8":{"id":"/src/content/createPages.tsx","moduleParts":{"content/createPages.js":"016a-9"},"imported":[{"uid":"016a-84"},{"uid":"016a-85"},{"uid":"016a-20"},{"uid":"016a-12"}],"importedBy":[{"uid":"016a-0"}]},"016a-10":{"id":"/src/types.ts","moduleParts":{"types.js":"016a-11"},"imported":[],"importedBy":[{"uid":"016a-6"}]},"016a-12":{"id":"/src/content/types.ts","moduleParts":{"content/types.js":"016a-13"},"imported":[],"importedBy":[{"uid":"016a-8"},{"uid":"016a-42"},{"uid":"016a-44"}]},"016a-14":{"id":"/src/datahooks/DataHooks.tsx","moduleParts":{"datahooks/DataHooks.js":"016a-15"},"imported":[{"uid":"016a-84"},{"uid":"016a-85"},{"uid":"016a-88"},{"uid":"016a-24"}],"importedBy":[{"uid":"016a-6"},{"uid":"016a-20"}]},"016a-16":{"id":"/src/datahooks/PermissionHooks.tsx","moduleParts":{"datahooks/PermissionHooks.js":"016a-17"},"imported":[{"uid":"016a-84"},{"uid":"016a-85"},{"uid":"016a-26"}],"importedBy":[{"uid":"016a-6"}]},"016a-18":{"id":"/src/datahooks/Permissions.tsx","moduleParts":{"datahooks/Permissions.js":"016a-19"},"imported":[{"uid":"016a-84"},{"uid":"016a-89"},{"uid":"016a-85"},{"uid":"016a-90"},{"uid":"016a-2"}],"importedBy":[{"uid":"016a-6"}]},"016a-20":{"id":"/src/content/components/ContentComponent.tsx","moduleParts":{"content/components/ContentComponent.js":"016a-21"},"imported":[{"uid":"016a-84"},{"uid":"016a-85"},{"uid":"016a-93"},{"uid":"016a-90"},{"uid":"016a-92"},{"uid":"016a-91"},{"uid":"016a-14"},{"uid":"016a-2"},{"uid":"016a-28"},{"uid":"016a-40"},{"uid":"016a-42"},{"uid":"016a-44"},{"uid":"016a-34"}],"importedBy":[{"uid":"016a-8"}]},"016a-22":{"id":"/src/layout/components/Layout.tsx","moduleParts":{"layout/components/Layout.js":"016a-23"},"imported":[{"uid":"016a-84"},{"uid":"016a-85"},{"uid":"016a-91"},{"uid":"016a-92"},{"uid":"016a-30"},{"uid":"016a-38"},{"uid":"016a-36"},{"uid":"016a-32"}],"importedBy":[{"uid":"016a-6"}]},"016a-24":{"id":"/src/datahooks/ExecuteDataHook.tsx","moduleParts":{"datahooks/ExecuteDataHook.js":"016a-25"},"imported":[{"uid":"016a-84"}],"importedBy":[{"uid":"016a-14"}]},"016a-26":{"id":"/src/datahooks/ExecutePermissionHook.tsx","moduleParts":{"datahooks/ExecutePermissionHook.js":"016a-27"},"imported":[{"uid":"016a-84"},{"uid":"016a-90"},{"uid":"016a-2"}],"importedBy":[{"uid":"016a-16"}]},"016a-28":{"id":"/src/utils.ts","moduleParts":{"utils.js":"016a-29"},"imported":[{"uid":"016a-93"}],"importedBy":[{"uid":"016a-20"},{"uid":"016a-38"},{"uid":"016a-52"}]},"016a-30":{"id":"/src/layout/moveItems.ts","moduleParts":{"layout/moveItems.js":"016a-31"},"imported":[{"uid":"016a-85"},{"uid":"016a-93"},{"uid":"016a-46"}],"importedBy":[{"uid":"016a-22"}]},"016a-32":{"id":"/src/layout/components/styles.module.css","moduleParts":{"layout/components/styles.module.css.js":"016a-33"},"imported":[{"uid":"016a-82"}],"importedBy":[{"uid":"016a-22"},{"uid":"016a-36"},{"uid":"016a-74"}]},"016a-34":{"id":"/src/content/components/styles.module.css","moduleParts":{"content/components/styles.module.css.js":"016a-35"},"imported":[{"uid":"016a-82"}],"importedBy":[{"uid":"016a-20"},{"uid":"016a-42"}]},"016a-36":{"id":"/src/layout/components/SecondaryMenuToggleItem.tsx","moduleParts":{"layout/components/SecondaryMenuToggleItem.js":"016a-37"},"imported":[{"uid":"016a-84"},{"uid":"016a-92"},{"uid":"016a-32"}],"importedBy":[{"uid":"016a-22"}]},"016a-38":{"id":"/src/layout/components/LayoutItemBar.tsx","moduleParts":{"layout/components/LayoutItemBar.js":"016a-39"},"imported":[{"uid":"016a-84"},{"uid":"016a-85"},{"uid":"016a-92"},{"uid":"016a-28"},{"uid":"016a-48"},{"uid":"016a-52"}],"importedBy":[{"uid":"016a-22"}]},"016a-40":{"id":"/src/content/hooks/useBuildContentData.ts","moduleParts":{"content/hooks/useBuildContentData.js":"016a-41"},"imported":[{"uid":"016a-50"}],"importedBy":[{"uid":"016a-20"},{"uid":"016a-44"}]},"016a-42":{"id":"/src/content/components/Header.tsx","moduleParts":{"content/components/Header.js":"016a-43"},"imported":[{"uid":"016a-84"},{"uid":"016a-85"},{"uid":"016a-92"},{"uid":"016a-12"},{"uid":"016a-34"}],"importedBy":[{"uid":"016a-20"}]},"016a-44":{"id":"/src/content/components/SidebarItemWrapper.tsx","moduleParts":{"content/components/SidebarItemWrapper.js":"016a-45"},"imported":[{"uid":"016a-84"},{"uid":"016a-85"},{"uid":"016a-94"},{"uid":"016a-92"},{"uid":"016a-40"},{"uid":"016a-12"},{"uid":"016a-54"},{"uid":"016a-58"},{"uid":"016a-60"},{"uid":"016a-56"}],"importedBy":[{"uid":"016a-20"}]},"016a-46":{"id":"/src/layout/types.ts","moduleParts":{"layout/types.js":"016a-47"},"imported":[],"importedBy":[{"uid":"016a-30"},{"uid":"016a-52"}]},"016a-48":{"id":"/src/layout/utils.tsx","moduleParts":{"layout/utils.js":"016a-49"},"imported":[{"uid":"016a-84"},{"uid":"016a-88"},{"uid":"016a-92"},{"uid":"016a-62"}],"importedBy":[{"uid":"016a-38"},{"uid":"016a-74"},{"uid":"016a-78"}]},"016a-50":{"id":"/src/hooks/useBuildData.ts","moduleParts":{"hooks/useBuildData.js":"016a-51"},"imported":[{"uid":"016a-89"},{"uid":"016a-85"},{"uid":"016a-93"},{"uid":"016a-88"},{"uid":"016a-2"},{"uid":"016a-64"},{"uid":"016a-66"},{"uid":"016a-68"}],"importedBy":[{"uid":"016a-40"},{"uid":"016a-52"}]},"016a-52":{"id":"/src/layout/components/LayoutItemWrapper.tsx","moduleParts":{"layout/components/LayoutItemWrapper.js":"016a-53"},"imported":[{"uid":"016a-84"},{"uid":"016a-85"},{"uid":"016a-94"},{"uid":"016a-92"},{"uid":"016a-50"},{"uid":"016a-28"},{"uid":"016a-46"},{"uid":"016a-72"},{"uid":"016a-74"},{"uid":"016a-76"},{"uid":"016a-78"}],"importedBy":[{"uid":"016a-38"}]},"016a-54":{"id":"/src/content/components/ActionFormSidebarItemComponent.tsx","moduleParts":{"content/components/ActionFormSidebarItemComponent.js":"016a-55"},"imported":[{"uid":"016a-84"},{"uid":"016a-85"},{"uid":"016a-92"},{"uid":"016a-70"},{"uid":"016a-80"}],"importedBy":[{"uid":"016a-44"}]},"016a-56":{"id":"/src/content/components/PlainSidebarItem.tsx","moduleParts":{"content/components/PlainSidebarItem.js":"016a-57"},"imported":[{"uid":"016a-84"},{"uid":"016a-88"},{"uid":"016a-92"},{"uid":"016a-70"}],"importedBy":[{"uid":"016a-44"}]},"016a-58":{"id":"/src/content/components/ActionSidebarItemComponent.tsx","moduleParts":{"content/components/ActionSidebarItemComponent.js":"016a-59"},"imported":[{"uid":"016a-84"},{"uid":"016a-92"},{"uid":"016a-70"}],"importedBy":[{"uid":"016a-44"}]},"016a-60":{"id":"/src/content/components/CustomSidebarItemComponent.tsx","moduleParts":{"content/components/CustomSidebarItemComponent.js":"016a-61"},"imported":[{"uid":"016a-84"}],"importedBy":[{"uid":"016a-44"}]},"016a-62":{"id":"/src/commonItems.ts","moduleParts":{"commonItems.js":"016a-63"},"imported":[],"importedBy":[{"uid":"016a-48"},{"uid":"016a-64"}]},"016a-64":{"id":"/src/hooks/useIsActiveRoute.ts","moduleParts":{"hooks/useIsActiveRoute.js":"016a-65"},"imported":[{"uid":"016a-95"},{"uid":"016a-62"}],"importedBy":[{"uid":"016a-50"}]},"016a-66":{"id":"/src/hooks/useSelectPermission.ts","moduleParts":{"hooks/useSelectPermission.js":"016a-67"},"imported":[{"uid":"016a-93"}],"importedBy":[{"uid":"016a-50"}]},"016a-68":{"id":"/src/hooks/useSelectState.ts","moduleParts":{"hooks/useSelectState.js":"016a-69"},"imported":[{"uid":"016a-93"}],"importedBy":[{"uid":"016a-50"}]},"016a-70":{"id":"/src/content/utils.tsx","moduleParts":{"content/utils.js":"016a-71"},"imported":[{"uid":"016a-84"},{"uid":"016a-92"}],"importedBy":[{"uid":"016a-54"},{"uid":"016a-58"},{"uid":"016a-56"}]},"016a-72":{"id":"/src/layout/components/CustomLayoutItemComponent.tsx","moduleParts":{"layout/components/CustomLayoutItemComponent.js":"016a-73"},"imported":[{"uid":"016a-84"}],"importedBy":[{"uid":"016a-52"}]},"016a-74":{"id":"/src/layout/components/DropdownItem.tsx","moduleParts":{"layout/components/DropdownItem.js":"016a-75"},"imported":[{"uid":"016a-84"},{"uid":"016a-85"},{"uid":"016a-92"},{"uid":"016a-48"},{"uid":"016a-32"}],"importedBy":[{"uid":"016a-52"}]},"016a-76":{"id":"/src/layout/components/MenuItem.tsx","moduleParts":{"layout/components/MenuItem.js":"016a-77"},"imported":[{"uid":"016a-84"},{"uid":"016a-92"}],"importedBy":[{"uid":"016a-52"}]},"016a-78":{"id":"/src/layout/components/PlainItem.tsx","moduleParts":{"layout/components/PlainItem.js":"016a-79"},"imported":[{"uid":"016a-84"},{"uid":"016a-91"},{"uid":"016a-92"},{"uid":"016a-48"}],"importedBy":[{"uid":"016a-52"}]},"016a-80":{"id":"/src/content/components/ActionForm.tsx","moduleParts":{"content/components/ActionForm.js":"016a-81"},"imported":[{"uid":"016a-84"},{"uid":"016a-96"},{"uid":"016a-85"},{"uid":"016a-92"}],"importedBy":[{"uid":"016a-54"}]},"016a-82":{"id":"/home/artemis/GitHub/imperium/node_modules/style-inject/dist/style-inject.es.js","moduleParts":{"external/style-inject/dist/style-inject.es.js":"016a-83"},"imported":[],"importedBy":[{"uid":"016a-32"},{"uid":"016a-34"}]},"016a-84":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"016a-6"},{"uid":"016a-8"},{"uid":"016a-14"},{"uid":"016a-16"},{"uid":"016a-18"},{"uid":"016a-22"},{"uid":"016a-20"},{"uid":"016a-24"},{"uid":"016a-26"},{"uid":"016a-38"},{"uid":"016a-36"},{"uid":"016a-42"},{"uid":"016a-44"},{"uid":"016a-48"},{"uid":"016a-52"},{"uid":"016a-54"},{"uid":"016a-58"},{"uid":"016a-60"},{"uid":"016a-56"},{"uid":"016a-72"},{"uid":"016a-74"},{"uid":"016a-76"},{"uid":"016a-78"},{"uid":"016a-70"},{"uid":"016a-80"}],"isExternal":true},"016a-85":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"016a-6"},{"uid":"016a-8"},{"uid":"016a-14"},{"uid":"016a-16"},{"uid":"016a-18"},{"uid":"016a-22"},{"uid":"016a-20"},{"uid":"016a-30"},{"uid":"016a-38"},{"uid":"016a-42"},{"uid":"016a-44"},{"uid":"016a-52"},{"uid":"016a-50"},{"uid":"016a-54"},{"uid":"016a-74"},{"uid":"016a-80"}],"isExternal":true},"016a-86":{"id":"@imperium/state","moduleParts":{},"imported":[],"importedBy":[{"uid":"016a-2"}],"isExternal":true},"016a-87":{"id":"@reduxjs/toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"016a-2"}],"isExternal":true},"016a-88":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"016a-14"},{"uid":"016a-48"},{"uid":"016a-50"},{"uid":"016a-56"}],"isExternal":true},"016a-89":{"id":"@imperium/auth-client","moduleParts":{},"imported":[],"importedBy":[{"uid":"016a-18"},{"uid":"016a-50"}],"isExternal":true},"016a-90":{"id":"react-redux","moduleParts":{},"imported":[],"importedBy":[{"uid":"016a-18"},{"uid":"016a-20"},{"uid":"016a-26"}],"isExternal":true},"016a-91":{"id":"react-responsive","moduleParts":{},"imported":[],"importedBy":[{"uid":"016a-22"},{"uid":"016a-20"},{"uid":"016a-78"}],"isExternal":true},"016a-92":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"016a-22"},{"uid":"016a-20"},{"uid":"016a-38"},{"uid":"016a-36"},{"uid":"016a-42"},{"uid":"016a-44"},{"uid":"016a-48"},{"uid":"016a-52"},{"uid":"016a-54"},{"uid":"016a-58"},{"uid":"016a-56"},{"uid":"016a-74"},{"uid":"016a-76"},{"uid":"016a-78"},{"uid":"016a-70"},{"uid":"016a-80"}],"isExternal":true},"016a-93":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"016a-20"},{"uid":"016a-30"},{"uid":"016a-28"},{"uid":"016a-50"},{"uid":"016a-66"},{"uid":"016a-68"}],"isExternal":true},"016a-94":{"id":"mingo","moduleParts":{},"imported":[],"importedBy":[{"uid":"016a-44"},{"uid":"016a-52"}],"isExternal":true},"016a-95":{"id":"react-router","moduleParts":{},"imported":[],"importedBy":[{"uid":"016a-64"}],"isExternal":true},"016a-96":{"id":"@thx/controls","moduleParts":{},"imported":[],"importedBy":[{"uid":"016a-80"}],"isExternal":true}},"env":{"rollup":"2.79.1"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
|
|
2672
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src/index.ts","uid":"4af4-1"}]},{"name":"state.js","children":[{"name":"src/state.ts","uid":"4af4-3"}]},{"name":"content/dividerSidebarItem.js","children":[{"name":"src/content/dividerSidebarItem.ts","uid":"4af4-5"}]},{"name":"layout/withLayout.js","children":[{"name":"src/layout/withLayout.tsx","uid":"4af4-7"}]},{"name":"content/createPages.js","children":[{"name":"src/content/createPages.tsx","uid":"4af4-9"}]},{"name":"types.js","children":[{"name":"src/types.ts","uid":"4af4-11"}]},{"name":"content/types.js","children":[{"name":"src/content/types.ts","uid":"4af4-13"}]},{"name":"datahooks/DataHooks.js","children":[{"name":"src/datahooks/DataHooks.tsx","uid":"4af4-15"}]},{"name":"datahooks/Permissions.js","children":[{"name":"src/datahooks/Permissions.tsx","uid":"4af4-17"}]},{"name":"datahooks/PermissionHooks.js","children":[{"name":"src/datahooks/PermissionHooks.tsx","uid":"4af4-19"}]},{"name":"content/components/ContentComponent.js","children":[{"name":"src/content/components/ContentComponent.tsx","uid":"4af4-21"}]},{"name":"layout/components/Layout.js","children":[{"name":"src/layout/components/Layout.tsx","uid":"4af4-23"}]},{"name":"datahooks/ExecuteDataHook.js","children":[{"name":"src/datahooks/ExecuteDataHook.tsx","uid":"4af4-25"}]},{"name":"datahooks/ExecutePermissionHook.js","children":[{"name":"src/datahooks/ExecutePermissionHook.tsx","uid":"4af4-27"}]},{"name":"utils.js","children":[{"name":"src/utils.ts","uid":"4af4-29"}]},{"name":"layout/moveItems.js","children":[{"name":"src/layout/moveItems.ts","uid":"4af4-31"}]},{"name":"content/components/styles.module.css.js","children":[{"name":"src/content/components/styles.module.css","uid":"4af4-33"}]},{"name":"layout/components/styles.module.css.js","children":[{"name":"src/layout/components/styles.module.css","uid":"4af4-35"}]},{"name":"content/components/Header.js","children":[{"name":"src/content/components/Header.tsx","uid":"4af4-37"}]},{"name":"content/components/SidebarItemWrapper.js","children":[{"name":"src/content/components/SidebarItemWrapper.tsx","uid":"4af4-39"}]},{"name":"layout/components/LayoutItemBar.js","children":[{"name":"src/layout/components/LayoutItemBar.tsx","uid":"4af4-41"}]},{"name":"content/hooks/useBuildContentData.js","children":[{"name":"src/content/hooks/useBuildContentData.ts","uid":"4af4-43"}]},{"name":"layout/components/SecondaryMenuToggleItem.js","children":[{"name":"src/layout/components/SecondaryMenuToggleItem.tsx","uid":"4af4-45"}]},{"name":"layout/types.js","children":[{"name":"src/layout/types.ts","uid":"4af4-47"}]},{"name":"layout/utils.js","children":[{"name":"src/layout/utils.tsx","uid":"4af4-49"}]},{"name":"hooks/useBuildData.js","children":[{"name":"src/hooks/useBuildData.ts","uid":"4af4-51"}]},{"name":"layout/components/LayoutItemWrapper.js","children":[{"name":"src/layout/components/LayoutItemWrapper.tsx","uid":"4af4-53"}]},{"name":"content/components/ActionFormSidebarItemComponent.js","children":[{"name":"src/content/components/ActionFormSidebarItemComponent.tsx","uid":"4af4-55"}]},{"name":"content/components/ActionSidebarItemComponent.js","children":[{"name":"src/content/components/ActionSidebarItemComponent.tsx","uid":"4af4-57"}]},{"name":"content/components/PlainSidebarItem.js","children":[{"name":"src/content/components/PlainSidebarItem.tsx","uid":"4af4-59"}]},{"name":"content/components/CustomSidebarItemComponent.js","children":[{"name":"src/content/components/CustomSidebarItemComponent.tsx","uid":"4af4-61"}]},{"name":"commonItems.js","children":[{"name":"src/commonItems.ts","uid":"4af4-63"}]},{"name":"hooks/useIsActiveRoute.js","children":[{"name":"src/hooks/useIsActiveRoute.ts","uid":"4af4-65"}]},{"name":"hooks/useSelectState.js","children":[{"name":"src/hooks/useSelectState.ts","uid":"4af4-67"}]},{"name":"hooks/useSelectPermission.js","children":[{"name":"src/hooks/useSelectPermission.ts","uid":"4af4-69"}]},{"name":"content/utils.js","children":[{"name":"src/content/utils.tsx","uid":"4af4-71"}]},{"name":"layout/components/CustomLayoutItemComponent.js","children":[{"name":"src/layout/components/CustomLayoutItemComponent.tsx","uid":"4af4-73"}]},{"name":"layout/components/DropdownItem.js","children":[{"name":"src/layout/components/DropdownItem.tsx","uid":"4af4-75"}]},{"name":"layout/components/MenuItem.js","children":[{"name":"src/layout/components/MenuItem.tsx","uid":"4af4-77"}]},{"name":"layout/components/PlainItem.js","children":[{"name":"src/layout/components/PlainItem.tsx","uid":"4af4-79"}]},{"name":"content/components/ActionForm.js","children":[{"name":"src/content/components/ActionForm.tsx","uid":"4af4-81"}]},{"name":"external/style-inject/dist/style-inject.es.js","children":[{"name":"home/artemis/Github/imperium/node_modules/style-inject/dist/style-inject.es.js","uid":"4af4-83"}]}],"isRoot":true},"nodeParts":{"4af4-1":{"renderedLength":144,"gzipLength":131,"brotliLength":106,"mainUid":"4af4-0"},"4af4-3":{"renderedLength":591,"gzipLength":268,"brotliLength":243,"mainUid":"4af4-2"},"4af4-5":{"renderedLength":59,"gzipLength":73,"brotliLength":63,"mainUid":"4af4-4"},"4af4-7":{"renderedLength":1955,"gzipLength":562,"brotliLength":488,"mainUid":"4af4-6"},"4af4-9":{"renderedLength":650,"gzipLength":301,"brotliLength":268,"mainUid":"4af4-8"},"4af4-11":{"renderedLength":121,"gzipLength":111,"brotliLength":90,"mainUid":"4af4-10"},"4af4-13":{"renderedLength":388,"gzipLength":167,"brotliLength":111,"mainUid":"4af4-12"},"4af4-15":{"renderedLength":1058,"gzipLength":390,"brotliLength":330,"mainUid":"4af4-14"},"4af4-17":{"renderedLength":864,"gzipLength":366,"brotliLength":318,"mainUid":"4af4-16"},"4af4-19":{"renderedLength":339,"gzipLength":202,"brotliLength":164,"mainUid":"4af4-18"},"4af4-21":{"renderedLength":3584,"gzipLength":934,"brotliLength":811,"mainUid":"4af4-20"},"4af4-23":{"renderedLength":2512,"gzipLength":751,"brotliLength":636,"mainUid":"4af4-22"},"4af4-25":{"renderedLength":123,"gzipLength":111,"brotliLength":93,"mainUid":"4af4-24"},"4af4-27":{"renderedLength":345,"gzipLength":207,"brotliLength":172,"mainUid":"4af4-26"},"4af4-29":{"renderedLength":145,"gzipLength":117,"brotliLength":116,"mainUid":"4af4-28"},"4af4-31":{"renderedLength":1401,"gzipLength":376,"brotliLength":347,"mainUid":"4af4-30"},"4af4-33":{"renderedLength":2119,"gzipLength":680,"brotliLength":565,"mainUid":"4af4-32"},"4af4-35":{"renderedLength":3176,"gzipLength":928,"brotliLength":762,"mainUid":"4af4-34"},"4af4-37":{"renderedLength":1042,"gzipLength":377,"brotliLength":323,"mainUid":"4af4-36"},"4af4-39":{"renderedLength":1189,"gzipLength":399,"brotliLength":314,"mainUid":"4af4-38"},"4af4-41":{"renderedLength":726,"gzipLength":294,"brotliLength":252,"mainUid":"4af4-40"},"4af4-43":{"renderedLength":257,"gzipLength":158,"brotliLength":122,"mainUid":"4af4-42"},"4af4-45":{"renderedLength":356,"gzipLength":233,"brotliLength":176,"mainUid":"4af4-44"},"4af4-47":{"renderedLength":191,"gzipLength":113,"brotliLength":89,"mainUid":"4af4-46"},"4af4-49":{"renderedLength":915,"gzipLength":393,"brotliLength":328,"mainUid":"4af4-48"},"4af4-51":{"renderedLength":799,"gzipLength":370,"brotliLength":330,"mainUid":"4af4-50"},"4af4-53":{"renderedLength":1503,"gzipLength":487,"brotliLength":399,"mainUid":"4af4-52"},"4af4-55":{"renderedLength":644,"gzipLength":341,"brotliLength":295,"mainUid":"4af4-54"},"4af4-57":{"renderedLength":343,"gzipLength":239,"brotliLength":181,"mainUid":"4af4-56"},"4af4-59":{"renderedLength":325,"gzipLength":230,"brotliLength":183,"mainUid":"4af4-58"},"4af4-61":{"renderedLength":83,"gzipLength":97,"brotliLength":66,"mainUid":"4af4-60"},"4af4-63":{"renderedLength":203,"gzipLength":136,"brotliLength":97,"mainUid":"4af4-62"},"4af4-65":{"renderedLength":514,"gzipLength":227,"brotliLength":187,"mainUid":"4af4-64"},"4af4-67":{"renderedLength":326,"gzipLength":176,"brotliLength":141,"mainUid":"4af4-66"},"4af4-69":{"renderedLength":294,"gzipLength":155,"brotliLength":114,"mainUid":"4af4-68"},"4af4-71":{"renderedLength":628,"gzipLength":259,"brotliLength":219,"mainUid":"4af4-70"},"4af4-73":{"renderedLength":82,"gzipLength":96,"brotliLength":66,"mainUid":"4af4-72"},"4af4-75":{"renderedLength":1179,"gzipLength":450,"brotliLength":362,"mainUid":"4af4-74"},"4af4-77":{"renderedLength":252,"gzipLength":157,"brotliLength":116,"mainUid":"4af4-76"},"4af4-79":{"renderedLength":379,"gzipLength":264,"brotliLength":224,"mainUid":"4af4-78"},"4af4-81":{"renderedLength":1667,"gzipLength":624,"brotliLength":519,"mainUid":"4af4-80"},"4af4-83":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"4af4-82"}},"nodeMetas":{"4af4-0":{"id":"/src/index.ts","moduleParts":{"index.js":"4af4-1"},"imported":[{"uid":"4af4-6"},{"uid":"4af4-2"},{"uid":"4af4-8"},{"uid":"4af4-4"}],"importedBy":[],"isEntry":true},"4af4-2":{"id":"/src/state.ts","moduleParts":{"state.js":"4af4-3"},"imported":[{"uid":"4af4-86"},{"uid":"4af4-87"}],"importedBy":[{"uid":"4af4-0"},{"uid":"4af4-16"},{"uid":"4af4-20"},{"uid":"4af4-26"},{"uid":"4af4-50"}]},"4af4-4":{"id":"/src/content/dividerSidebarItem.ts","moduleParts":{"content/dividerSidebarItem.js":"4af4-5"},"imported":[],"importedBy":[{"uid":"4af4-0"}]},"4af4-6":{"id":"/src/layout/withLayout.tsx","moduleParts":{"layout/withLayout.js":"4af4-7"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-85"},{"uid":"4af4-14"},{"uid":"4af4-18"},{"uid":"4af4-16"},{"uid":"4af4-10"},{"uid":"4af4-22"}],"importedBy":[{"uid":"4af4-0"}]},"4af4-8":{"id":"/src/content/createPages.tsx","moduleParts":{"content/createPages.js":"4af4-9"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-85"},{"uid":"4af4-20"},{"uid":"4af4-12"}],"importedBy":[{"uid":"4af4-0"}]},"4af4-10":{"id":"/src/types.ts","moduleParts":{"types.js":"4af4-11"},"imported":[],"importedBy":[{"uid":"4af4-6"}]},"4af4-12":{"id":"/src/content/types.ts","moduleParts":{"content/types.js":"4af4-13"},"imported":[],"importedBy":[{"uid":"4af4-8"},{"uid":"4af4-36"},{"uid":"4af4-38"}]},"4af4-14":{"id":"/src/datahooks/DataHooks.tsx","moduleParts":{"datahooks/DataHooks.js":"4af4-15"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-85"},{"uid":"4af4-88"},{"uid":"4af4-24"}],"importedBy":[{"uid":"4af4-6"},{"uid":"4af4-20"}]},"4af4-16":{"id":"/src/datahooks/Permissions.tsx","moduleParts":{"datahooks/Permissions.js":"4af4-17"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-89"},{"uid":"4af4-85"},{"uid":"4af4-90"},{"uid":"4af4-2"}],"importedBy":[{"uid":"4af4-6"}]},"4af4-18":{"id":"/src/datahooks/PermissionHooks.tsx","moduleParts":{"datahooks/PermissionHooks.js":"4af4-19"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-85"},{"uid":"4af4-26"}],"importedBy":[{"uid":"4af4-6"}]},"4af4-20":{"id":"/src/content/components/ContentComponent.tsx","moduleParts":{"content/components/ContentComponent.js":"4af4-21"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-85"},{"uid":"4af4-93"},{"uid":"4af4-90"},{"uid":"4af4-92"},{"uid":"4af4-91"},{"uid":"4af4-14"},{"uid":"4af4-2"},{"uid":"4af4-28"},{"uid":"4af4-42"},{"uid":"4af4-36"},{"uid":"4af4-38"},{"uid":"4af4-32"}],"importedBy":[{"uid":"4af4-8"}]},"4af4-22":{"id":"/src/layout/components/Layout.tsx","moduleParts":{"layout/components/Layout.js":"4af4-23"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-85"},{"uid":"4af4-91"},{"uid":"4af4-92"},{"uid":"4af4-30"},{"uid":"4af4-40"},{"uid":"4af4-44"},{"uid":"4af4-34"}],"importedBy":[{"uid":"4af4-6"}]},"4af4-24":{"id":"/src/datahooks/ExecuteDataHook.tsx","moduleParts":{"datahooks/ExecuteDataHook.js":"4af4-25"},"imported":[{"uid":"4af4-84"}],"importedBy":[{"uid":"4af4-14"}]},"4af4-26":{"id":"/src/datahooks/ExecutePermissionHook.tsx","moduleParts":{"datahooks/ExecutePermissionHook.js":"4af4-27"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-90"},{"uid":"4af4-2"}],"importedBy":[{"uid":"4af4-18"}]},"4af4-28":{"id":"/src/utils.ts","moduleParts":{"utils.js":"4af4-29"},"imported":[{"uid":"4af4-93"}],"importedBy":[{"uid":"4af4-20"},{"uid":"4af4-40"},{"uid":"4af4-52"}]},"4af4-30":{"id":"/src/layout/moveItems.ts","moduleParts":{"layout/moveItems.js":"4af4-31"},"imported":[{"uid":"4af4-85"},{"uid":"4af4-93"},{"uid":"4af4-46"}],"importedBy":[{"uid":"4af4-22"}]},"4af4-32":{"id":"/src/content/components/styles.module.css","moduleParts":{"content/components/styles.module.css.js":"4af4-33"},"imported":[{"uid":"4af4-82"}],"importedBy":[{"uid":"4af4-20"},{"uid":"4af4-36"}]},"4af4-34":{"id":"/src/layout/components/styles.module.css","moduleParts":{"layout/components/styles.module.css.js":"4af4-35"},"imported":[{"uid":"4af4-82"}],"importedBy":[{"uid":"4af4-22"},{"uid":"4af4-44"},{"uid":"4af4-74"}]},"4af4-36":{"id":"/src/content/components/Header.tsx","moduleParts":{"content/components/Header.js":"4af4-37"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-85"},{"uid":"4af4-92"},{"uid":"4af4-12"},{"uid":"4af4-32"}],"importedBy":[{"uid":"4af4-20"}]},"4af4-38":{"id":"/src/content/components/SidebarItemWrapper.tsx","moduleParts":{"content/components/SidebarItemWrapper.js":"4af4-39"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-85"},{"uid":"4af4-94"},{"uid":"4af4-92"},{"uid":"4af4-42"},{"uid":"4af4-12"},{"uid":"4af4-54"},{"uid":"4af4-56"},{"uid":"4af4-60"},{"uid":"4af4-58"}],"importedBy":[{"uid":"4af4-20"}]},"4af4-40":{"id":"/src/layout/components/LayoutItemBar.tsx","moduleParts":{"layout/components/LayoutItemBar.js":"4af4-41"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-85"},{"uid":"4af4-92"},{"uid":"4af4-28"},{"uid":"4af4-48"},{"uid":"4af4-52"}],"importedBy":[{"uid":"4af4-22"}]},"4af4-42":{"id":"/src/content/hooks/useBuildContentData.ts","moduleParts":{"content/hooks/useBuildContentData.js":"4af4-43"},"imported":[{"uid":"4af4-50"}],"importedBy":[{"uid":"4af4-20"},{"uid":"4af4-38"}]},"4af4-44":{"id":"/src/layout/components/SecondaryMenuToggleItem.tsx","moduleParts":{"layout/components/SecondaryMenuToggleItem.js":"4af4-45"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-92"},{"uid":"4af4-34"}],"importedBy":[{"uid":"4af4-22"}]},"4af4-46":{"id":"/src/layout/types.ts","moduleParts":{"layout/types.js":"4af4-47"},"imported":[],"importedBy":[{"uid":"4af4-30"},{"uid":"4af4-52"}]},"4af4-48":{"id":"/src/layout/utils.tsx","moduleParts":{"layout/utils.js":"4af4-49"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-88"},{"uid":"4af4-92"},{"uid":"4af4-62"}],"importedBy":[{"uid":"4af4-40"},{"uid":"4af4-74"},{"uid":"4af4-78"}]},"4af4-50":{"id":"/src/hooks/useBuildData.ts","moduleParts":{"hooks/useBuildData.js":"4af4-51"},"imported":[{"uid":"4af4-89"},{"uid":"4af4-85"},{"uid":"4af4-93"},{"uid":"4af4-88"},{"uid":"4af4-2"},{"uid":"4af4-64"},{"uid":"4af4-68"},{"uid":"4af4-66"}],"importedBy":[{"uid":"4af4-42"},{"uid":"4af4-52"}]},"4af4-52":{"id":"/src/layout/components/LayoutItemWrapper.tsx","moduleParts":{"layout/components/LayoutItemWrapper.js":"4af4-53"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-85"},{"uid":"4af4-94"},{"uid":"4af4-92"},{"uid":"4af4-50"},{"uid":"4af4-28"},{"uid":"4af4-46"},{"uid":"4af4-72"},{"uid":"4af4-74"},{"uid":"4af4-76"},{"uid":"4af4-78"}],"importedBy":[{"uid":"4af4-40"}]},"4af4-54":{"id":"/src/content/components/ActionFormSidebarItemComponent.tsx","moduleParts":{"content/components/ActionFormSidebarItemComponent.js":"4af4-55"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-85"},{"uid":"4af4-92"},{"uid":"4af4-70"},{"uid":"4af4-80"}],"importedBy":[{"uid":"4af4-38"}]},"4af4-56":{"id":"/src/content/components/ActionSidebarItemComponent.tsx","moduleParts":{"content/components/ActionSidebarItemComponent.js":"4af4-57"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-92"},{"uid":"4af4-70"}],"importedBy":[{"uid":"4af4-38"}]},"4af4-58":{"id":"/src/content/components/PlainSidebarItem.tsx","moduleParts":{"content/components/PlainSidebarItem.js":"4af4-59"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-88"},{"uid":"4af4-92"},{"uid":"4af4-70"}],"importedBy":[{"uid":"4af4-38"}]},"4af4-60":{"id":"/src/content/components/CustomSidebarItemComponent.tsx","moduleParts":{"content/components/CustomSidebarItemComponent.js":"4af4-61"},"imported":[{"uid":"4af4-84"}],"importedBy":[{"uid":"4af4-38"}]},"4af4-62":{"id":"/src/commonItems.ts","moduleParts":{"commonItems.js":"4af4-63"},"imported":[],"importedBy":[{"uid":"4af4-48"},{"uid":"4af4-64"}]},"4af4-64":{"id":"/src/hooks/useIsActiveRoute.ts","moduleParts":{"hooks/useIsActiveRoute.js":"4af4-65"},"imported":[{"uid":"4af4-95"},{"uid":"4af4-62"}],"importedBy":[{"uid":"4af4-50"}]},"4af4-66":{"id":"/src/hooks/useSelectState.ts","moduleParts":{"hooks/useSelectState.js":"4af4-67"},"imported":[{"uid":"4af4-93"}],"importedBy":[{"uid":"4af4-50"}]},"4af4-68":{"id":"/src/hooks/useSelectPermission.ts","moduleParts":{"hooks/useSelectPermission.js":"4af4-69"},"imported":[{"uid":"4af4-93"}],"importedBy":[{"uid":"4af4-50"}]},"4af4-70":{"id":"/src/content/utils.tsx","moduleParts":{"content/utils.js":"4af4-71"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-92"}],"importedBy":[{"uid":"4af4-54"},{"uid":"4af4-56"},{"uid":"4af4-58"}]},"4af4-72":{"id":"/src/layout/components/CustomLayoutItemComponent.tsx","moduleParts":{"layout/components/CustomLayoutItemComponent.js":"4af4-73"},"imported":[{"uid":"4af4-84"}],"importedBy":[{"uid":"4af4-52"}]},"4af4-74":{"id":"/src/layout/components/DropdownItem.tsx","moduleParts":{"layout/components/DropdownItem.js":"4af4-75"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-85"},{"uid":"4af4-92"},{"uid":"4af4-48"},{"uid":"4af4-34"}],"importedBy":[{"uid":"4af4-52"}]},"4af4-76":{"id":"/src/layout/components/MenuItem.tsx","moduleParts":{"layout/components/MenuItem.js":"4af4-77"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-92"}],"importedBy":[{"uid":"4af4-52"}]},"4af4-78":{"id":"/src/layout/components/PlainItem.tsx","moduleParts":{"layout/components/PlainItem.js":"4af4-79"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-91"},{"uid":"4af4-92"},{"uid":"4af4-48"}],"importedBy":[{"uid":"4af4-52"}]},"4af4-80":{"id":"/src/content/components/ActionForm.tsx","moduleParts":{"content/components/ActionForm.js":"4af4-81"},"imported":[{"uid":"4af4-84"},{"uid":"4af4-96"},{"uid":"4af4-85"},{"uid":"4af4-92"}],"importedBy":[{"uid":"4af4-54"}]},"4af4-82":{"id":"/home/artemis/Github/imperium/node_modules/style-inject/dist/style-inject.es.js","moduleParts":{"external/style-inject/dist/style-inject.es.js":"4af4-83"},"imported":[],"importedBy":[{"uid":"4af4-34"},{"uid":"4af4-32"}]},"4af4-84":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"4af4-6"},{"uid":"4af4-8"},{"uid":"4af4-14"},{"uid":"4af4-18"},{"uid":"4af4-16"},{"uid":"4af4-22"},{"uid":"4af4-20"},{"uid":"4af4-24"},{"uid":"4af4-26"},{"uid":"4af4-40"},{"uid":"4af4-44"},{"uid":"4af4-36"},{"uid":"4af4-38"},{"uid":"4af4-48"},{"uid":"4af4-52"},{"uid":"4af4-54"},{"uid":"4af4-56"},{"uid":"4af4-60"},{"uid":"4af4-58"},{"uid":"4af4-72"},{"uid":"4af4-74"},{"uid":"4af4-76"},{"uid":"4af4-78"},{"uid":"4af4-70"},{"uid":"4af4-80"}],"isExternal":true},"4af4-85":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"4af4-6"},{"uid":"4af4-8"},{"uid":"4af4-14"},{"uid":"4af4-18"},{"uid":"4af4-16"},{"uid":"4af4-22"},{"uid":"4af4-20"},{"uid":"4af4-30"},{"uid":"4af4-40"},{"uid":"4af4-36"},{"uid":"4af4-38"},{"uid":"4af4-52"},{"uid":"4af4-50"},{"uid":"4af4-54"},{"uid":"4af4-74"},{"uid":"4af4-80"}],"isExternal":true},"4af4-86":{"id":"@imperium/state","moduleParts":{},"imported":[],"importedBy":[{"uid":"4af4-2"}],"isExternal":true},"4af4-87":{"id":"@reduxjs/toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"4af4-2"}],"isExternal":true},"4af4-88":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"4af4-14"},{"uid":"4af4-48"},{"uid":"4af4-50"},{"uid":"4af4-58"}],"isExternal":true},"4af4-89":{"id":"@imperium/auth-client","moduleParts":{},"imported":[],"importedBy":[{"uid":"4af4-16"},{"uid":"4af4-50"}],"isExternal":true},"4af4-90":{"id":"react-redux","moduleParts":{},"imported":[],"importedBy":[{"uid":"4af4-16"},{"uid":"4af4-20"},{"uid":"4af4-26"}],"isExternal":true},"4af4-91":{"id":"react-responsive","moduleParts":{},"imported":[],"importedBy":[{"uid":"4af4-22"},{"uid":"4af4-20"},{"uid":"4af4-78"}],"isExternal":true},"4af4-92":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"4af4-22"},{"uid":"4af4-20"},{"uid":"4af4-40"},{"uid":"4af4-44"},{"uid":"4af4-36"},{"uid":"4af4-38"},{"uid":"4af4-48"},{"uid":"4af4-52"},{"uid":"4af4-54"},{"uid":"4af4-56"},{"uid":"4af4-58"},{"uid":"4af4-74"},{"uid":"4af4-76"},{"uid":"4af4-78"},{"uid":"4af4-70"},{"uid":"4af4-80"}],"isExternal":true},"4af4-93":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"4af4-20"},{"uid":"4af4-30"},{"uid":"4af4-28"},{"uid":"4af4-50"},{"uid":"4af4-68"},{"uid":"4af4-66"}],"isExternal":true},"4af4-94":{"id":"mingo","moduleParts":{},"imported":[],"importedBy":[{"uid":"4af4-38"},{"uid":"4af4-52"}],"isExternal":true},"4af4-95":{"id":"react-router","moduleParts":{},"imported":[],"importedBy":[{"uid":"4af4-64"}],"isExternal":true},"4af4-96":{"id":"@thx/controls","moduleParts":{},"imported":[],"importedBy":[{"uid":"4af4-80"}],"isExternal":true}},"env":{"rollup":"2.79.1"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
|
|
2673
2673
|
|
|
2674
2674
|
const run = () => {
|
|
2675
2675
|
const width = window.innerWidth;
|
package/dist/types/state.d.ts
CHANGED
|
@@ -3,56 +3,78 @@ export declare const state: import("@reduxjs/toolkit").Slice<{
|
|
|
3
3
|
isMobile: boolean;
|
|
4
4
|
params: {};
|
|
5
5
|
permissions: Record<string, boolean>;
|
|
6
|
+
pageHeader: string;
|
|
6
7
|
}, {
|
|
7
8
|
setMobile: (st: import("immer/dist/internal").WritableDraft<{
|
|
8
9
|
isMobile: boolean;
|
|
9
10
|
params: {};
|
|
10
11
|
permissions: Record<string, boolean>;
|
|
12
|
+
pageHeader: string;
|
|
11
13
|
}>, action: PayloadAction<boolean>) => {
|
|
12
14
|
isMobile: boolean;
|
|
13
15
|
params: import("immer/dist/internal").WritableDraft<{}>;
|
|
14
16
|
permissions: import("immer/dist/internal").WritableDraft<Record<string, boolean>>;
|
|
17
|
+
pageHeader: string;
|
|
15
18
|
};
|
|
16
19
|
setParams: (st: import("immer/dist/internal").WritableDraft<{
|
|
17
20
|
isMobile: boolean;
|
|
18
21
|
params: {};
|
|
19
22
|
permissions: Record<string, boolean>;
|
|
23
|
+
pageHeader: string;
|
|
20
24
|
}>, action: PayloadAction<Record<string, string>>) => void;
|
|
21
25
|
setPermission: (st: import("immer/dist/internal").WritableDraft<{
|
|
22
26
|
isMobile: boolean;
|
|
23
27
|
params: {};
|
|
24
28
|
permissions: Record<string, boolean>;
|
|
29
|
+
pageHeader: string;
|
|
25
30
|
}>, action: PayloadAction<{
|
|
26
31
|
permission: string;
|
|
27
32
|
result: boolean;
|
|
28
33
|
}>) => void;
|
|
34
|
+
setPageHeader: (st: import("immer/dist/internal").WritableDraft<{
|
|
35
|
+
isMobile: boolean;
|
|
36
|
+
params: {};
|
|
37
|
+
permissions: Record<string, boolean>;
|
|
38
|
+
pageHeader: string;
|
|
39
|
+
}>, action: PayloadAction<string>) => void;
|
|
29
40
|
}, "imperiumLayout">;
|
|
30
41
|
export declare const useLayoutState: () => {
|
|
31
42
|
isMobile: boolean;
|
|
32
43
|
params: import("immer/dist/internal").WritableDraft<{}>;
|
|
33
44
|
permissions: import("immer/dist/internal").WritableDraft<Record<string, boolean>>;
|
|
45
|
+
pageHeader: string;
|
|
34
46
|
};
|
|
35
47
|
export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
36
48
|
setMobile: (st: import("immer/dist/internal").WritableDraft<{
|
|
37
49
|
isMobile: boolean;
|
|
38
50
|
params: {};
|
|
39
51
|
permissions: Record<string, boolean>;
|
|
52
|
+
pageHeader: string;
|
|
40
53
|
}>, action: PayloadAction<boolean>) => {
|
|
41
54
|
isMobile: boolean;
|
|
42
55
|
params: import("immer/dist/internal").WritableDraft<{}>;
|
|
43
56
|
permissions: import("immer/dist/internal").WritableDraft<Record<string, boolean>>;
|
|
57
|
+
pageHeader: string;
|
|
44
58
|
};
|
|
45
59
|
setParams: (st: import("immer/dist/internal").WritableDraft<{
|
|
46
60
|
isMobile: boolean;
|
|
47
61
|
params: {};
|
|
48
62
|
permissions: Record<string, boolean>;
|
|
63
|
+
pageHeader: string;
|
|
49
64
|
}>, action: PayloadAction<Record<string, string>>) => void;
|
|
50
65
|
setPermission: (st: import("immer/dist/internal").WritableDraft<{
|
|
51
66
|
isMobile: boolean;
|
|
52
67
|
params: {};
|
|
53
68
|
permissions: Record<string, boolean>;
|
|
69
|
+
pageHeader: string;
|
|
54
70
|
}>, action: PayloadAction<{
|
|
55
71
|
permission: string;
|
|
56
72
|
result: boolean;
|
|
57
73
|
}>) => void;
|
|
74
|
+
setPageHeader: (st: import("immer/dist/internal").WritableDraft<{
|
|
75
|
+
isMobile: boolean;
|
|
76
|
+
params: {};
|
|
77
|
+
permissions: Record<string, boolean>;
|
|
78
|
+
pageHeader: string;
|
|
79
|
+
}>, action: PayloadAction<string>) => void;
|
|
58
80
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imperium/layout",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.3.4",
|
|
4
4
|
"description": "Imperium Layout package",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/thr-consulting/imperium/issues"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@imperium/auth-client": "^14.
|
|
34
|
+
"@imperium/auth-client": "^14.3.4",
|
|
35
35
|
"@imperium/client": "^14.0.0",
|
|
36
36
|
"@imperium/router": "^14.0.0",
|
|
37
37
|
"@imperium/state": "^14.0.0",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "3a94952a599bd131c0d62b2cbd5a60e584dd32ca"
|
|
64
64
|
}
|
package/dist/stats.txt
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
-----------------------------
|
|
2
|
-
Rollup File Analysis
|
|
3
|
-
-----------------------------
|
|
4
|
-
bundle size: 33.797 KB
|
|
5
|
-
original size: 53.382 KB
|
|
6
|
-
code reduction: 36.69 %
|
|
7
|
-
module count: 42
|
|
8
|
-
|
|
9
|
-
/src/content/components/ContentComponent.tsx
|
|
10
|
-
████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 9.99 % (3.376 KB)
|
|
11
|
-
/src/layout/components/styles.module.css
|
|
12
|
-
████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 9.4 % (3.176 KB)
|
|
13
|
-
/src/layout/components/Layout.tsx
|
|
14
|
-
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 7.43 % (2.512 KB)
|
|
15
|
-
/src/content/components/styles.module.css
|
|
16
|
-
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.27 % (2.119 KB)
|
|
17
|
-
/src/layout/withLayout.tsx
|
|
18
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.78 % (1.955 KB)
|
|
19
|
-
/src/content/components/ActionForm.tsx
|
|
20
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.93 % (1.667 KB)
|
|
21
|
-
/src/layout/components/LayoutItemWrapper.tsx
|
|
22
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.45 % (1.503 KB)
|
|
23
|
-
/src/layout/moveItems.ts
|
|
24
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.15 % (1.401 KB)
|
|
25
|
-
/src/content/components/SidebarItemWrapper.tsx
|
|
26
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.52 % (1.189 KB)
|
|
27
|
-
/src/layout/components/DropdownItem.tsx
|
|
28
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.49 % (1.179 KB)
|
|
29
|
-
/src/datahooks/DataHooks.tsx
|
|
30
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.13 % (1.058 KB)
|
|
31
|
-
/src/content/components/Header.tsx
|
|
32
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.08 % (1.042 KB)
|
|
33
|
-
/src/layout/utils.tsx
|
|
34
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.71 % (915 Bytes)
|
|
35
|
-
/src/datahooks/Permissions.tsx
|
|
36
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.56 % (864 Bytes)
|
|
37
|
-
/src/hooks/useBuildData.ts
|
|
38
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.36 % (799 Bytes)
|
|
39
|
-
/src/layout/components/LayoutItemBar.tsx
|
|
40
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.15 % (726 Bytes)
|
|
41
|
-
/src/content/createPages.tsx
|
|
42
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.92 % (650 Bytes)
|
|
43
|
-
/src/content/components/ActionFormSidebarItemComponent.tsx
|
|
44
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.91 % (644 Bytes)
|
|
45
|
-
/home/artemis/GitHub/imperium/node_modules/style-inject/dist/style-inject.es.js
|
|
46
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.88 % (636 Bytes)
|
|
47
|
-
/src/content/utils.tsx
|
|
48
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.86 % (628 Bytes)
|
|
49
|
-
/src/hooks/useIsActiveRoute.ts
|
|
50
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.52 % (514 Bytes)
|
|
51
|
-
/src/state.ts
|
|
52
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.45 % (489 Bytes)
|
|
53
|
-
/src/content/types.ts
|
|
54
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.15 % (388 Bytes)
|
|
55
|
-
/src/layout/components/PlainItem.tsx
|
|
56
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.12 % (379 Bytes)
|
|
57
|
-
/src/layout/components/SecondaryMenuToggleItem.tsx
|
|
58
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.05 % (356 Bytes)
|
|
59
|
-
/src/datahooks/ExecutePermissionHook.tsx
|
|
60
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.02 % (345 Bytes)
|
|
61
|
-
/src/content/components/ActionSidebarItemComponent.tsx
|
|
62
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.01 % (343 Bytes)
|
|
63
|
-
/src/datahooks/PermissionHooks.tsx
|
|
64
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1 % (339 Bytes)
|
|
65
|
-
/src/hooks/useSelectState.ts
|
|
66
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.96 % (326 Bytes)
|
|
67
|
-
/src/content/components/PlainSidebarItem.tsx
|
|
68
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.96 % (325 Bytes)
|
|
69
|
-
/src/hooks/useSelectPermission.ts
|
|
70
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.87 % (294 Bytes)
|
|
71
|
-
/src/content/hooks/useBuildContentData.ts
|
|
72
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.76 % (257 Bytes)
|
|
73
|
-
/src/layout/components/MenuItem.tsx
|
|
74
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.75 % (252 Bytes)
|
|
75
|
-
/src/commonItems.ts
|
|
76
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.6 % (203 Bytes)
|
|
77
|
-
/src/layout/types.ts
|
|
78
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.57 % (191 Bytes)
|
|
79
|
-
/src/utils.ts
|
|
80
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.43 % (145 Bytes)
|
|
81
|
-
/src/index.ts
|
|
82
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.43 % (144 Bytes)
|
|
83
|
-
/src/datahooks/ExecuteDataHook.tsx
|
|
84
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.36 % (123 Bytes)
|
|
85
|
-
/src/types.ts
|
|
86
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.36 % (121 Bytes)
|
|
87
|
-
/src/content/components/CustomSidebarItemComponent.tsx
|
|
88
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.25 % (83 Bytes)
|
|
89
|
-
/src/layout/components/CustomLayoutItemComponent.tsx
|
|
90
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.24 % (82 Bytes)
|
|
91
|
-
/src/content/dividerSidebarItem.ts
|
|
92
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.17 % (59 Bytes)
|