@imperium/layout 10.3.4 → 10.3.6-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/datahooks/Permissions.js +26 -0
- package/dist/esm/datahooks/Permissions.js.map +1 -0
- package/dist/esm/layout/types.js.map +1 -1
- package/dist/esm/layout/withLayout.js +5 -0
- package/dist/esm/layout/withLayout.js.map +1 -1
- package/dist/esm/types.js.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/types/datahooks/Permissions.d.ts +6 -0
- package/dist/types/layout/types.d.ts +2 -1
- package/dist/types/types.d.ts +1 -0
- package/package.json +3 -3
- package/dist/stats.txt +0 -92
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { useContext, useEffect } from 'react';
|
|
2
|
+
import { AuthContext } from '@imperium/auth-client';
|
|
3
|
+
import debug from 'debug';
|
|
4
|
+
import { useDispatch } from 'react-redux';
|
|
5
|
+
import { useLayoutState, actions } from '../state.js';
|
|
6
|
+
|
|
7
|
+
debug("imperium.layout.datahooks.Permissions");
|
|
8
|
+
function Permissions({ permissions }) {
|
|
9
|
+
const ctx = useContext(AuthContext);
|
|
10
|
+
const layoutState = useLayoutState();
|
|
11
|
+
const dispatch = useDispatch();
|
|
12
|
+
useEffect(() => {
|
|
13
|
+
(async function iife() {
|
|
14
|
+
permissions.forEach((permission) => {
|
|
15
|
+
const data = Object.keys(layoutState.params).length > 0 ? layoutState.params : void 0;
|
|
16
|
+
ctx.authorization.can(permission, data).then((result) => {
|
|
17
|
+
dispatch(actions.setPermission({ permission, result }));
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
})();
|
|
21
|
+
}, [dispatch, permissions, ctx.authorization, layoutState.params]);
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export { Permissions };
|
|
26
|
+
//# sourceMappingURL=Permissions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Permissions.js","sources":["../../../src/datahooks/Permissions.tsx"],"sourcesContent":["import {AuthContext} from '@imperium/auth-client';\nimport type {IAuthContext} from '@imperium/auth-client';\nimport debug from 'debug';\nimport {useContext, useEffect} from 'react';\nimport {useDispatch} from 'react-redux';\nimport {actions, useLayoutState} from '../state';\nimport type {PermissionSelector} from '../types';\n\nconst d = debug('imperium.layout.datahooks.Permissions');\n\ninterface PermissionsProps {\n\tpermissions: PermissionSelector;\n}\n\nexport function Permissions({permissions}: PermissionsProps) {\n\tconst ctx = useContext<IAuthContext>(AuthContext);\n\tconst layoutState = useLayoutState();\n\tconst dispatch = useDispatch();\n\n\tuseEffect(() => {\n\t\t(async function iife() {\n\t\t\tpermissions.forEach(permission => {\n\t\t\t\tconst data = Object.keys(layoutState.params).length > 0 ? layoutState.params : undefined;\n\t\t\t\tctx.authorization.can(permission, data).then(result => {\n\t\t\t\t\tdispatch(actions.setPermission({permission, result}));\n\t\t\t\t});\n\t\t\t});\n\t\t})();\n\t}, [dispatch, permissions, ctx.authorization, layoutState.params]);\n\n\treturn null;\n}\n"],"names":[],"mappings":";;;;;;AAQU,MAAM,uCAAuC,EAAA;AAMhD,SAAA,WAAA,CAAqB,EAAC,WAAgC,EAAA,EAAA;AAC5D,EAAM,MAAA,GAAA,GAAM,WAAyB,WAAW,CAAA,CAAA;AAChD,EAAA,MAAM,cAAc,cAAe,EAAA,CAAA;AACnC,EAAA,MAAM,WAAW,WAAY,EAAA,CAAA;AAE7B,EAAA,SAAA,CAAU,MAAM;AACf,IAAC,CAAsB,eAAA,IAAA,GAAA;AACtB,MAAA,WAAA,CAAY,QAAQ,CAAc,UAAA,KAAA;AACjC,QAAM,MAAA,IAAA,GAAO,OAAO,IAAK,CAAA,WAAA,CAAY,MAAM,CAAE,CAAA,MAAA,GAAS,CAAI,GAAA,WAAA,CAAY,MAAS,GAAA,KAAA,CAAA,CAAA;AAC/E,QAAA,GAAA,CAAI,cAAc,GAAI,CAAA,UAAA,EAAY,IAAI,CAAA,CAAE,KAAK,CAAU,MAAA,KAAA;AACtD,UAAA,QAAA,CAAS,QAAQ,aAAc,CAAA,EAAC,UAAY,EAAA,MAAA,EAAO,CAAC,CAAA,CAAA;AAAA,SACpD,CAAA,CAAA;AAAA,OACD,CAAA,CAAA;AAAA,KACC,GAAA,CAAA;AAAA,GACJ,EAAG,CAAC,QAAU,EAAA,WAAA,EAAa,IAAI,aAAe,EAAA,WAAA,CAAY,MAAM,CAAC,CAAA,CAAA;AAEjE,EAAO,OAAA,IAAA,CAAA;AACR;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sources":["../../../src/layout/types.ts"],"sourcesContent":["import type {SemanticICONS} from 'semantic-ui-react';\nimport type {HorizontalPositionedItem, RouteItem, VisibilityItem, WeightedItem} from '../commonItems';\nimport type {DataHookItem} from '../datahooks/types';\nimport type {Data, PermissionSelectorHook} from '../types';\n\n/**\n * Describes a basic weighted, possibly visible item\n */\nexport interface BaseLayoutItem extends WeightedItem, VisibilityItem {\n\ttext: string | ((data: Data) => string);\n\ticon?: SemanticICONS | ((data: Data) => SemanticICONS);\n\tmoveToKey?: string;\n}\n\nexport interface CustomLayoutItem extends WeightedItem, VisibilityItem {\n\trender: (data: Data) => JSX.Element | null;\n\tmoveToKey?: string;\n}\n\n/**\n * Describes a menu that displays a dropdown list of items\n */\nexport interface DropdownLayoutItem extends BaseLayoutItem {\n\tdropdown: ((BaseLayoutItem & RouteItem<Data>) | CustomLayoutItem)[];\n\tkey?: string;\n}\n\n/**\n * Describes a menu that displays a sub menu (not a dropdown list)\n */\nexport interface MenuLayoutItem extends BaseLayoutItem {\n\tmenu: ((BaseLayoutItem & RouteItem<Data>) | CustomLayoutItem)[];\n\tkey?: string;\n}\n\n/**\n * Describes a horizontal menu item which is either a route item or dropdown menu\n */\nexport type LayoutItem = (BaseLayoutItem & RouteItem<Data>) | DropdownLayoutItem | MenuLayoutItem | CustomLayoutItem;\n\nexport interface LayoutData {\n\tpermissionSelectorHooks?: PermissionSelectorHook[];\n\tdataHooks?: DataHookItem[];\n\tprimaryMenu?: (LayoutItem & HorizontalPositionedItem)[]; // primary menu\n\tstatusbar?: (LayoutItem & HorizontalPositionedItem)[];\n\tsecondaryMenu?: LayoutItem[]; // secondary menu\n\tfooter?: (LayoutItem & HorizontalPositionedItem)[]; // footer\n}\n\nexport function isCustomLayoutItem(value: any): value is CustomLayoutItem {\n\treturn !!(value as CustomLayoutItem).render;\n}\n\nexport function isDropdownLayoutItem(value: any): value is DropdownLayoutItem {\n\treturn !!(value as DropdownLayoutItem).dropdown;\n}\n\nexport function isMenuLayoutItem(value: any): value is MenuLayoutItem {\n\treturn !!(value as MenuLayoutItem).menu;\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sources":["../../../src/layout/types.ts"],"sourcesContent":["import type {SemanticICONS} from 'semantic-ui-react';\nimport type {HorizontalPositionedItem, RouteItem, VisibilityItem, WeightedItem} from '../commonItems';\nimport type {DataHookItem} from '../datahooks/types';\nimport type {Data, PermissionSelector, PermissionSelectorHook} from '../types';\n\n/**\n * Describes a basic weighted, possibly visible item\n */\nexport interface BaseLayoutItem extends WeightedItem, VisibilityItem {\n\ttext: string | ((data: Data) => string);\n\ticon?: SemanticICONS | ((data: Data) => SemanticICONS);\n\tmoveToKey?: string;\n}\n\nexport interface CustomLayoutItem extends WeightedItem, VisibilityItem {\n\trender: (data: Data) => JSX.Element | null;\n\tmoveToKey?: string;\n}\n\n/**\n * Describes a menu that displays a dropdown list of items\n */\nexport interface DropdownLayoutItem extends BaseLayoutItem {\n\tdropdown: ((BaseLayoutItem & RouteItem<Data>) | CustomLayoutItem)[];\n\tkey?: string;\n}\n\n/**\n * Describes a menu that displays a sub menu (not a dropdown list)\n */\nexport interface MenuLayoutItem extends BaseLayoutItem {\n\tmenu: ((BaseLayoutItem & RouteItem<Data>) | CustomLayoutItem)[];\n\tkey?: string;\n}\n\n/**\n * Describes a horizontal menu item which is either a route item or dropdown menu\n */\nexport type LayoutItem = (BaseLayoutItem & RouteItem<Data>) | DropdownLayoutItem | MenuLayoutItem | CustomLayoutItem;\n\nexport interface LayoutData {\n\tpermissionSelectorHooks?: PermissionSelectorHook[];\n\tpermissions?: PermissionSelector;\n\tdataHooks?: DataHookItem[];\n\tprimaryMenu?: (LayoutItem & HorizontalPositionedItem)[]; // primary menu\n\tstatusbar?: (LayoutItem & HorizontalPositionedItem)[];\n\tsecondaryMenu?: LayoutItem[]; // secondary menu\n\tfooter?: (LayoutItem & HorizontalPositionedItem)[]; // footer\n}\n\nexport function isCustomLayoutItem(value: any): value is CustomLayoutItem {\n\treturn !!(value as CustomLayoutItem).render;\n}\n\nexport function isDropdownLayoutItem(value: any): value is DropdownLayoutItem {\n\treturn !!(value as DropdownLayoutItem).dropdown;\n}\n\nexport function isMenuLayoutItem(value: any): value is MenuLayoutItem {\n\treturn !!(value as MenuLayoutItem).menu;\n}\n"],"names":[],"mappings":"AAkDO,SAAA,kBAAA,CAA4B,KAAuC,EAAA;AACzE,EAAO,OAAA,CAAC,CAAE,KAA2B,CAAA,MAAA,CAAA;AACtC,CAAA;AAEO,SAAA,oBAAA,CAA8B,KAAyC,EAAA;AAC7E,EAAO,OAAA,CAAC,CAAE,KAA6B,CAAA,QAAA,CAAA;AACxC,CAAA;AAEO,SAAA,gBAAA,CAA0B,KAAqC,EAAA;AACrE,EAAO,OAAA,CAAC,CAAE,KAAyB,CAAA,IAAA,CAAA;AACpC;;;;"}
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import debug from 'debug';
|
|
3
3
|
import { DataHooks } from '../datahooks/DataHooks.js';
|
|
4
4
|
import { PermissionHooks } from '../datahooks/PermissionHooks.js';
|
|
5
|
+
import { Permissions } from '../datahooks/Permissions.js';
|
|
5
6
|
import { isImperiumLayoutClientModule } from '../types.js';
|
|
6
7
|
import { Layout } from './components/Layout.js';
|
|
7
8
|
|
|
@@ -9,6 +10,7 @@ const d = debug("imperium.layout.withLayout");
|
|
|
9
10
|
const initialLayoutModuleData = {
|
|
10
11
|
dataHooks: [],
|
|
11
12
|
permissionSelectorHooks: [],
|
|
13
|
+
permissions: [],
|
|
12
14
|
primaryMenu: [],
|
|
13
15
|
statusbar: [],
|
|
14
16
|
secondaryMenu: [],
|
|
@@ -20,6 +22,7 @@ function withLayout(client) {
|
|
|
20
22
|
return {
|
|
21
23
|
dataHooks: [...memo.dataHooks || [], ...module.layout.dataHooks || []],
|
|
22
24
|
permissionSelectorHooks: [...memo.permissionSelectorHooks || [], ...module.layout.permissionSelectorHooks || []],
|
|
25
|
+
permissions: [...memo.permissions || [], ...module.layout.permissions || []],
|
|
23
26
|
primaryMenu: [...memo.primaryMenu || [], ...module.layout.primaryMenu || []],
|
|
24
27
|
statusbar: [...memo.statusbar || [], ...module.layout.statusbar || []],
|
|
25
28
|
secondaryMenu: [...memo.secondaryMenu || [], ...module.layout.secondaryMenu || []],
|
|
@@ -39,6 +42,8 @@ function withLayout(client) {
|
|
|
39
42
|
layout: layoutModuleData
|
|
40
43
|
})), /* @__PURE__ */ React.createElement(DataHooks, {
|
|
41
44
|
dataHooks: layoutModuleData.dataHooks
|
|
45
|
+
}), /* @__PURE__ */ React.createElement(Permissions, {
|
|
46
|
+
permissions: layoutModuleData.permissions
|
|
42
47
|
}), /* @__PURE__ */ React.createElement(PermissionHooks, {
|
|
43
48
|
permissionHooks: layoutModuleData.permissionSelectorHooks
|
|
44
49
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withLayout.js","sources":["../../../src/layout/withLayout.tsx"],"sourcesContent":["import type {Hoc, ImperiumClient} from '@imperium/client';\nimport debug from 'debug';\nimport type {ComponentType} from 'react';\nimport {DataHooks} from '../datahooks/DataHooks';\nimport {PermissionHooks} from '../datahooks/PermissionHooks';\nimport {isImperiumLayoutClientModule} from '../types';\nimport {Layout} from './components/Layout';\nimport type {LayoutData} from './types';\n\nconst d = debug('imperium.layout.withLayout');\n\nconst initialLayoutModuleData: Required<LayoutData> = {\n\tdataHooks: [],\n\tpermissionSelectorHooks: [],\n\tprimaryMenu: [],\n\tstatusbar: [],\n\tsecondaryMenu: [],\n\tfooter: [],\n};\n\nexport function withLayout(client: ImperiumClient): Hoc {\n\tconst layoutModuleData = client.modules.reduce((memo, module) => {\n\t\tif (isImperiumLayoutClientModule(module)) {\n\t\t\treturn {\n\t\t\t\tdataHooks: [...(memo.dataHooks || []), ...(module.layout.dataHooks || [])],\n\t\t\t\tpermissionSelectorHooks: [...(memo.permissionSelectorHooks || []), ...(module.layout.permissionSelectorHooks || [])],\n\t\t\t\tprimaryMenu: [...(memo.primaryMenu || []), ...(module.layout.primaryMenu || [])],\n\t\t\t\tstatusbar: [...(memo.statusbar || []), ...(module.layout.statusbar || [])],\n\t\t\t\tsecondaryMenu: [...(memo.secondaryMenu || []), ...(module.layout.secondaryMenu || [])],\n\t\t\t\tfooter: [...(memo.footer || []), ...(module.layout.footer || [])],\n\t\t\t} as Required<LayoutData>;\n\t\t}\n\t\treturn memo;\n\t}, initialLayoutModuleData);\n\td('Layout items processed', layoutModuleData);\n\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treturn function layoutHoc(Wrapped: ComponentType<any>) {\n\t\tconst displayName = Wrapped.displayName || Wrapped.name || '';\n\n\t\tfunction WithLayout(props: unknown) {\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t<Layout {...layoutModuleData}>\n\t\t\t\t\t\t<Wrapped {...props} layout={layoutModuleData} />\n\t\t\t\t\t</Layout>\n\t\t\t\t\t<DataHooks dataHooks={layoutModuleData.dataHooks} />\n\t\t\t\t\t<PermissionHooks permissionHooks={layoutModuleData.permissionSelectorHooks} />\n\t\t\t\t</>\n\t\t\t);\n\t\t}\n\n\t\tWithLayout.displayName = `withLayout(${displayName})`;\n\n\t\treturn WithLayout;\n\t};\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"withLayout.js","sources":["../../../src/layout/withLayout.tsx"],"sourcesContent":["import type {Hoc, ImperiumClient} from '@imperium/client';\nimport debug from 'debug';\nimport type {ComponentType} from 'react';\nimport {DataHooks} from '../datahooks/DataHooks';\nimport {PermissionHooks} from '../datahooks/PermissionHooks';\nimport {Permissions} from '../datahooks/Permissions';\nimport {isImperiumLayoutClientModule} from '../types';\nimport {Layout} from './components/Layout';\nimport type {LayoutData} from './types';\n\nconst d = debug('imperium.layout.withLayout');\n\nconst initialLayoutModuleData: Required<LayoutData> = {\n\tdataHooks: [],\n\tpermissionSelectorHooks: [],\n\tpermissions: [],\n\tprimaryMenu: [],\n\tstatusbar: [],\n\tsecondaryMenu: [],\n\tfooter: [],\n};\n\nexport function withLayout(client: ImperiumClient): Hoc {\n\tconst layoutModuleData = client.modules.reduce((memo, module) => {\n\t\tif (isImperiumLayoutClientModule(module)) {\n\t\t\treturn {\n\t\t\t\tdataHooks: [...(memo.dataHooks || []), ...(module.layout.dataHooks || [])],\n\t\t\t\tpermissionSelectorHooks: [...(memo.permissionSelectorHooks || []), ...(module.layout.permissionSelectorHooks || [])],\n\t\t\t\tpermissions: [...(memo.permissions || []), ...(module.layout.permissions || [])],\n\t\t\t\tprimaryMenu: [...(memo.primaryMenu || []), ...(module.layout.primaryMenu || [])],\n\t\t\t\tstatusbar: [...(memo.statusbar || []), ...(module.layout.statusbar || [])],\n\t\t\t\tsecondaryMenu: [...(memo.secondaryMenu || []), ...(module.layout.secondaryMenu || [])],\n\t\t\t\tfooter: [...(memo.footer || []), ...(module.layout.footer || [])],\n\t\t\t} as Required<LayoutData>;\n\t\t}\n\t\treturn memo;\n\t}, initialLayoutModuleData);\n\td('Layout items processed', layoutModuleData);\n\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treturn function layoutHoc(Wrapped: ComponentType<any>) {\n\t\tconst displayName = Wrapped.displayName || Wrapped.name || '';\n\n\t\tfunction WithLayout(props: unknown) {\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t<Layout {...layoutModuleData}>\n\t\t\t\t\t\t<Wrapped {...props} layout={layoutModuleData} />\n\t\t\t\t\t</Layout>\n\t\t\t\t\t<DataHooks dataHooks={layoutModuleData.dataHooks} />\n\t\t\t\t\t<Permissions permissions={layoutModuleData.permissions} />\n\t\t\t\t\t<PermissionHooks permissionHooks={layoutModuleData.permissionSelectorHooks} />\n\t\t\t\t</>\n\t\t\t);\n\t\t}\n\n\t\tWithLayout.displayName = `withLayout(${displayName})`;\n\n\t\treturn WithLayout;\n\t};\n}\n"],"names":[],"mappings":";;;;;;;;AAUA,MAAM,CAAA,GAAI,MAAM,4BAA4B,CAAA,CAAA;AAE5C,MAAM,uBAAgD,GAAA;AAAA,EACrD,WAAW,EAAC;AAAA,EACZ,yBAAyB,EAAC;AAAA,EAC1B,aAAa,EAAC;AAAA,EACd,aAAa,EAAC;AAAA,EACd,WAAW,EAAC;AAAA,EACZ,eAAe,EAAC;AAAA,EAChB,QAAQ,EAAC;AACV,CAAA,CAAA;AAEO,SAAA,UAAA,CAAoB,MAA6B,EAAA;AACvD,EAAA,MAAM,mBAAmB,MAAO,CAAA,OAAA,CAAQ,MAAO,CAAA,CAAC,MAAM,MAAW,KAAA;AAChE,IAAI,IAAA,4BAAA,CAA6B,MAAM,CAAG,EAAA;AACzC,MAAO,OAAA;AAAA,QACN,SAAW,EAAA,CAAC,GAAI,IAAA,CAAK,SAAa,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,SAAa,IAAA,EAAG,CAAA;AAAA,QACzE,uBAAyB,EAAA,CAAC,GAAI,IAAA,CAAK,uBAA2B,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,uBAA2B,IAAA,EAAG,CAAA;AAAA,QACnH,WAAa,EAAA,CAAC,GAAI,IAAA,CAAK,WAAe,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,WAAe,IAAA,EAAG,CAAA;AAAA,QAC/E,WAAa,EAAA,CAAC,GAAI,IAAA,CAAK,WAAe,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,WAAe,IAAA,EAAG,CAAA;AAAA,QAC/E,SAAW,EAAA,CAAC,GAAI,IAAA,CAAK,SAAa,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,SAAa,IAAA,EAAG,CAAA;AAAA,QACzE,aAAe,EAAA,CAAC,GAAI,IAAA,CAAK,aAAiB,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,aAAiB,IAAA,EAAG,CAAA;AAAA,QACrF,MAAQ,EAAA,CAAC,GAAI,IAAA,CAAK,MAAU,IAAA,EAAK,EAAA,GAAI,MAAO,CAAA,MAAA,CAAO,MAAU,IAAA,EAAG,CAAA;AAAA,OACjE,CAAA;AAAA,KACD;AACA,IAAO,OAAA,IAAA,CAAA;AAAA,KACL,uBAAuB,CAAA,CAAA;AAC1B,EAAA,CAAA,CAAE,0BAA0B,gBAAgB,CAAA,CAAA;AAG5C,EAAA,OAAO,mBAAmB,OAA6B,EAAA;AACtD,IAAA,MAAM,WAAc,GAAA,OAAA,CAAQ,WAAe,IAAA,OAAA,CAAQ,IAAQ,IAAA,EAAA,CAAA;AAE3D,IAAA,SAAA,UAAA,CAAoB,KAAgB,EAAA;AACnC,MAAA,iFAEG,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA;AAAA,QAAW,GAAA,gBAAA;AAAA,OAAA,kBACV,KAAA,CAAA,aAAA,CAAA,OAAA,EAAA;AAAA,QAAY,GAAA,KAAA;AAAA,QAAO,MAAQ,EAAA,gBAAA;AAAA,OAAkB,CAC/C,mBACC,KAAA,CAAA,aAAA,CAAA,SAAA,EAAA;AAAA,QAAU,WAAW,gBAAiB,CAAA,SAAA;AAAA,OAAW,mBACjD,KAAA,CAAA,aAAA,CAAA,WAAA,EAAA;AAAA,QAAY,aAAa,gBAAiB,CAAA,WAAA;AAAA,OAAa,mBACvD,KAAA,CAAA,aAAA,CAAA,eAAA,EAAA;AAAA,QAAgB,iBAAiB,gBAAiB,CAAA,uBAAA;AAAA,OAAyB,CAC7E,CAAA,CAAA;AAAA,KAEF;AAEA,IAAA,UAAA,CAAW,cAAc,CAAc,WAAA,EAAA,WAAA,CAAA,CAAA,CAAA,CAAA;AAEvC,IAAO,OAAA,UAAA,CAAA;AAAA,GACR,CAAA;AACD;;;;"}
|
package/dist/esm/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sources":["../../src/types.ts"],"sourcesContent":["import type {ImperiumClientModule} from '@imperium/client';\nimport type {Location} from 'history';\nimport type {LayoutData} from './layout/types';\n\nexport type State = Record<string, any>;\n/**\n * A hook that selects from redux state.\n */\nexport type StateSelectorHook = () => State;\n\nexport type PermissionResults = Record<string, boolean>;\n\nexport type PermissionSelectorHook = (data: Data) => PermissionResults;\n\n/**\n * The visibility query can either be a mingo query or a function that returns a boolean. The data is an object with the router path merged with any state selector hook data.\n */\nexport type VisibilityQueryFn = (data: Data) => boolean;\n\nexport interface Data extends Record<string, unknown> {\n\tloc: Location;\n\troute: {\n\t\tpath: string[];\n\t\thash: string;\n\t\tsearch: Record<string, any>;\n\t};\n\tstate: State;\n\tactive: boolean;\n\tpermissions: PermissionResults;\n\tid?: string;\n}\n\nexport interface ImperiumLayoutClientModule extends ImperiumClientModule {\n\tlayout: LayoutData;\n}\n\nexport function isImperiumLayoutClientModule(module: ImperiumClientModule): module is ImperiumLayoutClientModule {\n\tconst layoutModule = module as ImperiumLayoutClientModule;\n\treturn layoutModule.layout !== undefined;\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sources":["../../src/types.ts"],"sourcesContent":["import type {ImperiumClientModule} from '@imperium/client';\nimport type {Location} from 'history';\nimport type {LayoutData} from './layout/types';\n\nexport type State = Record<string, any>;\n/**\n * A hook that selects from redux state.\n */\nexport type StateSelectorHook = () => State;\n\nexport type PermissionResults = Record<string, boolean>;\n\nexport type PermissionSelectorHook = (data: Data) => PermissionResults;\nexport type PermissionSelector = string[];\n\n/**\n * The visibility query can either be a mingo query or a function that returns a boolean. The data is an object with the router path merged with any state selector hook data.\n */\nexport type VisibilityQueryFn = (data: Data) => boolean;\n\nexport interface Data extends Record<string, unknown> {\n\tloc: Location;\n\troute: {\n\t\tpath: string[];\n\t\thash: string;\n\t\tsearch: Record<string, any>;\n\t};\n\tstate: State;\n\tactive: boolean;\n\tpermissions: PermissionResults;\n\tid?: string;\n}\n\nexport interface ImperiumLayoutClientModule extends ImperiumClientModule {\n\tlayout: LayoutData;\n}\n\nexport function isImperiumLayoutClientModule(module: ImperiumClientModule): module is ImperiumLayoutClientModule {\n\tconst layoutModule = module as ImperiumLayoutClientModule;\n\treturn layoutModule.layout !== undefined;\n}\n"],"names":[],"mappings":"AAqCO,SAAA,4BAAA,CAAsC,MAAoE,EAAA;AAChH,EAAA,MAAM,YAAe,GAAA,MAAA,CAAA;AACrB,EAAA,OAAO,aAAa,MAAW,KAAA,KAAA,CAAA,CAAA;AAChC;;;;"}
|
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":"5aef-1"}]},{"name":"state.js","children":[{"name":"src/state.ts","uid":"5aef-3"}]},{"name":"content/dividerSidebarItem.js","children":[{"name":"src/content/dividerSidebarItem.ts","uid":"5aef-5"}]},{"name":"layout/withLayout.js","children":[{"name":"src/layout/withLayout.tsx","uid":"5aef-7"}]},{"name":"content/createPages.js","children":[{"name":"src/content/createPages.tsx","uid":"5aef-9"}]},{"name":"layout/hooks/useMobileLayout.js","children":[{"name":"src/layout/hooks/useMobileLayout.ts","uid":"5aef-11"}]},{"name":"types.js","children":[{"name":"src/types.ts","uid":"5aef-13"}]},{"name":"content/types.js","children":[{"name":"src/content/types.ts","uid":"5aef-15"}]},{"name":"datahooks/DataHooks.js","children":[{"name":"src/datahooks/DataHooks.tsx","uid":"5aef-17"}]},{"name":"datahooks/PermissionHooks.js","children":[{"name":"src/datahooks/PermissionHooks.tsx","uid":"5aef-19"}]},{"name":"layout/components/Layout.js","children":[{"name":"src/layout/components/Layout.tsx","uid":"5aef-21"}]},{"name":"content/components/ContentComponent.js","children":[{"name":"src/content/components/ContentComponent.tsx","uid":"5aef-23"}]},{"name":"datahooks/ExecutePermissionHook.js","children":[{"name":"src/datahooks/ExecutePermissionHook.tsx","uid":"5aef-25"}]},{"name":"datahooks/ExecuteDataHook.js","children":[{"name":"src/datahooks/ExecuteDataHook.tsx","uid":"5aef-27"}]},{"name":"utils.js","children":[{"name":"src/utils.ts","uid":"5aef-29"}]},{"name":"layout/moveItems.js","children":[{"name":"src/layout/moveItems.ts","uid":"5aef-31"}]},{"name":"layout/components/styles.module.css.js","children":[{"name":"src/layout/components/styles.module.css","uid":"5aef-33"}]},{"name":"content/components/styles.module.css.js","children":[{"name":"src/content/components/styles.module.css","uid":"5aef-35"}]},{"name":"layout/components/LayoutItemBar.js","children":[{"name":"src/layout/components/LayoutItemBar.tsx","uid":"5aef-37"}]},{"name":"layout/components/SecondaryMenuToggleItem.js","children":[{"name":"src/layout/components/SecondaryMenuToggleItem.tsx","uid":"5aef-39"}]},{"name":"content/hooks/useBuildContentData.js","children":[{"name":"src/content/hooks/useBuildContentData.ts","uid":"5aef-41"}]},{"name":"content/components/Header.js","children":[{"name":"src/content/components/Header.tsx","uid":"5aef-43"}]},{"name":"content/components/SidebarItemWrapper.js","children":[{"name":"src/content/components/SidebarItemWrapper.tsx","uid":"5aef-45"}]},{"name":"layout/types.js","children":[{"name":"src/layout/types.ts","uid":"5aef-47"}]},{"name":"layout/utils.js","children":[{"name":"src/layout/utils.tsx","uid":"5aef-49"}]},{"name":"hooks/useBuildData.js","children":[{"name":"src/hooks/useBuildData.ts","uid":"5aef-51"}]},{"name":"layout/components/LayoutItemWrapper.js","children":[{"name":"src/layout/components/LayoutItemWrapper.tsx","uid":"5aef-53"}]},{"name":"content/components/ActionFormSidebarItemComponent.js","children":[{"name":"src/content/components/ActionFormSidebarItemComponent.tsx","uid":"5aef-55"}]},{"name":"content/components/ActionSidebarItemComponent.js","children":[{"name":"src/content/components/ActionSidebarItemComponent.tsx","uid":"5aef-57"}]},{"name":"content/components/CustomSidebarItemComponent.js","children":[{"name":"src/content/components/CustomSidebarItemComponent.tsx","uid":"5aef-59"}]},{"name":"content/components/PlainSidebarItem.js","children":[{"name":"src/content/components/PlainSidebarItem.tsx","uid":"5aef-61"}]},{"name":"commonItems.js","children":[{"name":"src/commonItems.ts","uid":"5aef-63"}]},{"name":"hooks/useIsActiveRoute.js","children":[{"name":"src/hooks/useIsActiveRoute.ts","uid":"5aef-65"}]},{"name":"hooks/useSelectPermission.js","children":[{"name":"src/hooks/useSelectPermission.ts","uid":"5aef-67"}]},{"name":"hooks/useSelectState.js","children":[{"name":"src/hooks/useSelectState.ts","uid":"5aef-69"}]},{"name":"content/utils.js","children":[{"name":"src/content/utils.tsx","uid":"5aef-71"}]},{"name":"layout/components/CustomLayoutItemComponent.js","children":[{"name":"src/layout/components/CustomLayoutItemComponent.tsx","uid":"5aef-73"}]},{"name":"layout/components/DropdownItem.js","children":[{"name":"src/layout/components/DropdownItem.tsx","uid":"5aef-75"}]},{"name":"layout/components/MenuItem.js","children":[{"name":"src/layout/components/MenuItem.tsx","uid":"5aef-77"}]},{"name":"layout/components/PlainItem.js","children":[{"name":"src/layout/components/PlainItem.tsx","uid":"5aef-79"}]},{"name":"content/components/ActionForm.js","children":[{"name":"src/content/components/ActionForm.tsx","uid":"5aef-81"}]},{"name":"external/style-inject/dist/style-inject.es.js","children":[{"name":"home/darkadept/dev/imperium/node_modules/style-inject/dist/style-inject.es.js","uid":"5aef-83"}]}],"isRoot":true},"nodeParts":{"5aef-1":{"renderedLength":184,"gzipLength":151,"brotliLength":131,"mainUid":"5aef-0"},"5aef-3":{"renderedLength":489,"gzipLength":251,"brotliLength":217,"mainUid":"5aef-2"},"5aef-5":{"renderedLength":59,"gzipLength":71,"brotliLength":63,"mainUid":"5aef-4"},"5aef-7":{"renderedLength":1739,"gzipLength":543,"brotliLength":469,"mainUid":"5aef-6"},"5aef-9":{"renderedLength":650,"gzipLength":300,"brotliLength":268,"mainUid":"5aef-8"},"5aef-11":{"renderedLength":445,"gzipLength":266,"brotliLength":229,"mainUid":"5aef-10"},"5aef-13":{"renderedLength":121,"gzipLength":110,"brotliLength":90,"mainUid":"5aef-12"},"5aef-15":{"renderedLength":315,"gzipLength":141,"brotliLength":99,"mainUid":"5aef-14"},"5aef-17":{"renderedLength":997,"gzipLength":371,"brotliLength":309,"mainUid":"5aef-16"},"5aef-19":{"renderedLength":339,"gzipLength":201,"brotliLength":164,"mainUid":"5aef-18"},"5aef-21":{"renderedLength":2629,"gzipLength":741,"brotliLength":631,"mainUid":"5aef-20"},"5aef-23":{"renderedLength":1970,"gzipLength":651,"brotliLength":565,"mainUid":"5aef-22"},"5aef-25":{"renderedLength":345,"gzipLength":206,"brotliLength":172,"mainUid":"5aef-24"},"5aef-27":{"renderedLength":95,"gzipLength":91,"brotliLength":75,"mainUid":"5aef-26"},"5aef-29":{"renderedLength":145,"gzipLength":117,"brotliLength":116,"mainUid":"5aef-28"},"5aef-31":{"renderedLength":1401,"gzipLength":377,"brotliLength":347,"mainUid":"5aef-30"},"5aef-33":{"renderedLength":3176,"gzipLength":933,"brotliLength":762,"mainUid":"5aef-32"},"5aef-35":{"renderedLength":1469,"gzipLength":528,"brotliLength":431,"mainUid":"5aef-34"},"5aef-37":{"renderedLength":726,"gzipLength":295,"brotliLength":252,"mainUid":"5aef-36"},"5aef-39":{"renderedLength":335,"gzipLength":222,"brotliLength":169,"mainUid":"5aef-38"},"5aef-41":{"renderedLength":257,"gzipLength":158,"brotliLength":122,"mainUid":"5aef-40"},"5aef-43":{"renderedLength":556,"gzipLength":286,"brotliLength":215,"mainUid":"5aef-42"},"5aef-45":{"renderedLength":1189,"gzipLength":399,"brotliLength":314,"mainUid":"5aef-44"},"5aef-47":{"renderedLength":191,"gzipLength":111,"brotliLength":89,"mainUid":"5aef-46"},"5aef-49":{"renderedLength":915,"gzipLength":392,"brotliLength":328,"mainUid":"5aef-48"},"5aef-51":{"renderedLength":785,"gzipLength":362,"brotliLength":321,"mainUid":"5aef-50"},"5aef-53":{"renderedLength":1503,"gzipLength":488,"brotliLength":399,"mainUid":"5aef-52"},"5aef-55":{"renderedLength":663,"gzipLength":344,"brotliLength":277,"mainUid":"5aef-54"},"5aef-57":{"renderedLength":362,"gzipLength":244,"brotliLength":185,"mainUid":"5aef-56"},"5aef-59":{"renderedLength":83,"gzipLength":96,"brotliLength":66,"mainUid":"5aef-58"},"5aef-61":{"renderedLength":344,"gzipLength":235,"brotliLength":186,"mainUid":"5aef-60"},"5aef-63":{"renderedLength":203,"gzipLength":136,"brotliLength":97,"mainUid":"5aef-62"},"5aef-65":{"renderedLength":514,"gzipLength":229,"brotliLength":187,"mainUid":"5aef-64"},"5aef-67":{"renderedLength":294,"gzipLength":154,"brotliLength":114,"mainUid":"5aef-66"},"5aef-69":{"renderedLength":254,"gzipLength":142,"brotliLength":108,"mainUid":"5aef-68"},"5aef-71":{"renderedLength":628,"gzipLength":259,"brotliLength":219,"mainUid":"5aef-70"},"5aef-73":{"renderedLength":82,"gzipLength":95,"brotliLength":66,"mainUid":"5aef-72"},"5aef-75":{"renderedLength":1179,"gzipLength":451,"brotliLength":362,"mainUid":"5aef-74"},"5aef-77":{"renderedLength":252,"gzipLength":159,"brotliLength":116,"mainUid":"5aef-76"},"5aef-79":{"renderedLength":244,"gzipLength":178,"brotliLength":145,"mainUid":"5aef-78"},"5aef-81":{"renderedLength":1667,"gzipLength":625,"brotliLength":519,"mainUid":"5aef-80"},"5aef-83":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"5aef-82"}},"nodeMetas":{"5aef-0":{"id":"/src/index.ts","moduleParts":{"index.js":"5aef-1"},"imported":[{"uid":"5aef-10"},{"uid":"5aef-6"},{"uid":"5aef-2"},{"uid":"5aef-8"},{"uid":"5aef-4"}],"importedBy":[],"isEntry":true},"5aef-2":{"id":"/src/state.ts","moduleParts":{"state.js":"5aef-3"},"imported":[{"uid":"5aef-88"},{"uid":"5aef-89"}],"importedBy":[{"uid":"5aef-0"},{"uid":"5aef-10"},{"uid":"5aef-20"},{"uid":"5aef-22"},{"uid":"5aef-24"},{"uid":"5aef-50"}]},"5aef-4":{"id":"/src/content/dividerSidebarItem.ts","moduleParts":{"content/dividerSidebarItem.js":"5aef-5"},"imported":[],"importedBy":[{"uid":"5aef-0"}]},"5aef-6":{"id":"/src/layout/withLayout.tsx","moduleParts":{"layout/withLayout.js":"5aef-7"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-84"},{"uid":"5aef-16"},{"uid":"5aef-18"},{"uid":"5aef-12"},{"uid":"5aef-20"}],"importedBy":[{"uid":"5aef-0"}]},"5aef-8":{"id":"/src/content/createPages.tsx","moduleParts":{"content/createPages.js":"5aef-9"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-84"},{"uid":"5aef-22"},{"uid":"5aef-14"}],"importedBy":[{"uid":"5aef-0"}]},"5aef-10":{"id":"/src/layout/hooks/useMobileLayout.ts","moduleParts":{"layout/hooks/useMobileLayout.js":"5aef-11"},"imported":[{"uid":"5aef-84"},{"uid":"5aef-85"},{"uid":"5aef-86"},{"uid":"5aef-87"},{"uid":"5aef-2"}],"importedBy":[{"uid":"5aef-0"}]},"5aef-12":{"id":"/src/types.ts","moduleParts":{"types.js":"5aef-13"},"imported":[],"importedBy":[{"uid":"5aef-6"}]},"5aef-14":{"id":"/src/content/types.ts","moduleParts":{"content/types.js":"5aef-15"},"imported":[],"importedBy":[{"uid":"5aef-8"},{"uid":"5aef-44"}]},"5aef-16":{"id":"/src/datahooks/DataHooks.tsx","moduleParts":{"datahooks/DataHooks.js":"5aef-17"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-84"},{"uid":"5aef-90"},{"uid":"5aef-91"},{"uid":"5aef-26"}],"importedBy":[{"uid":"5aef-6"},{"uid":"5aef-22"}]},"5aef-18":{"id":"/src/datahooks/PermissionHooks.tsx","moduleParts":{"datahooks/PermissionHooks.js":"5aef-19"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-84"},{"uid":"5aef-24"}],"importedBy":[{"uid":"5aef-6"}]},"5aef-20":{"id":"/src/layout/components/Layout.tsx","moduleParts":{"layout/components/Layout.js":"5aef-21"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-84"},{"uid":"5aef-92"},{"uid":"5aef-2"},{"uid":"5aef-30"},{"uid":"5aef-36"},{"uid":"5aef-38"},{"uid":"5aef-32"}],"importedBy":[{"uid":"5aef-6"}]},"5aef-22":{"id":"/src/content/components/ContentComponent.tsx","moduleParts":{"content/components/ContentComponent.js":"5aef-23"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-84"},{"uid":"5aef-93"},{"uid":"5aef-86"},{"uid":"5aef-16"},{"uid":"5aef-2"},{"uid":"5aef-28"},{"uid":"5aef-40"},{"uid":"5aef-42"},{"uid":"5aef-44"},{"uid":"5aef-34"}],"importedBy":[{"uid":"5aef-8"}]},"5aef-24":{"id":"/src/datahooks/ExecutePermissionHook.tsx","moduleParts":{"datahooks/ExecutePermissionHook.js":"5aef-25"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-86"},{"uid":"5aef-2"}],"importedBy":[{"uid":"5aef-18"}]},"5aef-26":{"id":"/src/datahooks/ExecuteDataHook.tsx","moduleParts":{"datahooks/ExecuteDataHook.js":"5aef-27"},"imported":[{"uid":"5aef-85"}],"importedBy":[{"uid":"5aef-16"}]},"5aef-28":{"id":"/src/utils.ts","moduleParts":{"utils.js":"5aef-29"},"imported":[{"uid":"5aef-93"}],"importedBy":[{"uid":"5aef-22"},{"uid":"5aef-36"},{"uid":"5aef-52"}]},"5aef-30":{"id":"/src/layout/moveItems.ts","moduleParts":{"layout/moveItems.js":"5aef-31"},"imported":[{"uid":"5aef-84"},{"uid":"5aef-93"},{"uid":"5aef-46"}],"importedBy":[{"uid":"5aef-20"}]},"5aef-32":{"id":"/src/layout/components/styles.module.css","moduleParts":{"layout/components/styles.module.css.js":"5aef-33"},"imported":[{"uid":"5aef-82"}],"importedBy":[{"uid":"5aef-20"},{"uid":"5aef-38"},{"uid":"5aef-74"}]},"5aef-34":{"id":"/src/content/components/styles.module.css","moduleParts":{"content/components/styles.module.css.js":"5aef-35"},"imported":[{"uid":"5aef-82"}],"importedBy":[{"uid":"5aef-22"},{"uid":"5aef-42"}]},"5aef-36":{"id":"/src/layout/components/LayoutItemBar.tsx","moduleParts":{"layout/components/LayoutItemBar.js":"5aef-37"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-84"},{"uid":"5aef-92"},{"uid":"5aef-28"},{"uid":"5aef-48"},{"uid":"5aef-52"}],"importedBy":[{"uid":"5aef-20"}]},"5aef-38":{"id":"/src/layout/components/SecondaryMenuToggleItem.tsx","moduleParts":{"layout/components/SecondaryMenuToggleItem.js":"5aef-39"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-92"},{"uid":"5aef-32"}],"importedBy":[{"uid":"5aef-20"}]},"5aef-40":{"id":"/src/content/hooks/useBuildContentData.ts","moduleParts":{"content/hooks/useBuildContentData.js":"5aef-41"},"imported":[{"uid":"5aef-50"}],"importedBy":[{"uid":"5aef-22"},{"uid":"5aef-44"}]},"5aef-42":{"id":"/src/content/components/Header.tsx","moduleParts":{"content/components/Header.js":"5aef-43"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-84"},{"uid":"5aef-34"}],"importedBy":[{"uid":"5aef-22"}]},"5aef-44":{"id":"/src/content/components/SidebarItemWrapper.tsx","moduleParts":{"content/components/SidebarItemWrapper.js":"5aef-45"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-84"},{"uid":"5aef-94"},{"uid":"5aef-92"},{"uid":"5aef-40"},{"uid":"5aef-14"},{"uid":"5aef-54"},{"uid":"5aef-56"},{"uid":"5aef-58"},{"uid":"5aef-60"}],"importedBy":[{"uid":"5aef-22"}]},"5aef-46":{"id":"/src/layout/types.ts","moduleParts":{"layout/types.js":"5aef-47"},"imported":[],"importedBy":[{"uid":"5aef-30"},{"uid":"5aef-52"}]},"5aef-48":{"id":"/src/layout/utils.tsx","moduleParts":{"layout/utils.js":"5aef-49"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-91"},{"uid":"5aef-92"},{"uid":"5aef-62"}],"importedBy":[{"uid":"5aef-36"},{"uid":"5aef-74"},{"uid":"5aef-78"}]},"5aef-50":{"id":"/src/hooks/useBuildData.ts","moduleParts":{"hooks/useBuildData.js":"5aef-51"},"imported":[{"uid":"5aef-95"},{"uid":"5aef-84"},{"uid":"5aef-93"},{"uid":"5aef-91"},{"uid":"5aef-2"},{"uid":"5aef-64"},{"uid":"5aef-66"},{"uid":"5aef-68"}],"importedBy":[{"uid":"5aef-40"},{"uid":"5aef-52"}]},"5aef-52":{"id":"/src/layout/components/LayoutItemWrapper.tsx","moduleParts":{"layout/components/LayoutItemWrapper.js":"5aef-53"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-84"},{"uid":"5aef-94"},{"uid":"5aef-92"},{"uid":"5aef-50"},{"uid":"5aef-28"},{"uid":"5aef-46"},{"uid":"5aef-72"},{"uid":"5aef-74"},{"uid":"5aef-76"},{"uid":"5aef-78"}],"importedBy":[{"uid":"5aef-36"}]},"5aef-54":{"id":"/src/content/components/ActionFormSidebarItemComponent.tsx","moduleParts":{"content/components/ActionFormSidebarItemComponent.js":"5aef-55"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-84"},{"uid":"5aef-92"},{"uid":"5aef-70"},{"uid":"5aef-80"}],"importedBy":[{"uid":"5aef-44"}]},"5aef-56":{"id":"/src/content/components/ActionSidebarItemComponent.tsx","moduleParts":{"content/components/ActionSidebarItemComponent.js":"5aef-57"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-92"},{"uid":"5aef-70"}],"importedBy":[{"uid":"5aef-44"}]},"5aef-58":{"id":"/src/content/components/CustomSidebarItemComponent.tsx","moduleParts":{"content/components/CustomSidebarItemComponent.js":"5aef-59"},"imported":[{"uid":"5aef-85"}],"importedBy":[{"uid":"5aef-44"}]},"5aef-60":{"id":"/src/content/components/PlainSidebarItem.tsx","moduleParts":{"content/components/PlainSidebarItem.js":"5aef-61"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-91"},{"uid":"5aef-92"},{"uid":"5aef-70"}],"importedBy":[{"uid":"5aef-44"}]},"5aef-62":{"id":"/src/commonItems.ts","moduleParts":{"commonItems.js":"5aef-63"},"imported":[],"importedBy":[{"uid":"5aef-48"},{"uid":"5aef-64"}]},"5aef-64":{"id":"/src/hooks/useIsActiveRoute.ts","moduleParts":{"hooks/useIsActiveRoute.js":"5aef-65"},"imported":[{"uid":"5aef-96"},{"uid":"5aef-62"}],"importedBy":[{"uid":"5aef-50"}]},"5aef-66":{"id":"/src/hooks/useSelectPermission.ts","moduleParts":{"hooks/useSelectPermission.js":"5aef-67"},"imported":[{"uid":"5aef-93"}],"importedBy":[{"uid":"5aef-50"}]},"5aef-68":{"id":"/src/hooks/useSelectState.ts","moduleParts":{"hooks/useSelectState.js":"5aef-69"},"imported":[{"uid":"5aef-93"}],"importedBy":[{"uid":"5aef-50"}]},"5aef-70":{"id":"/src/content/utils.tsx","moduleParts":{"content/utils.js":"5aef-71"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-92"}],"importedBy":[{"uid":"5aef-54"},{"uid":"5aef-56"},{"uid":"5aef-60"}]},"5aef-72":{"id":"/src/layout/components/CustomLayoutItemComponent.tsx","moduleParts":{"layout/components/CustomLayoutItemComponent.js":"5aef-73"},"imported":[{"uid":"5aef-85"}],"importedBy":[{"uid":"5aef-52"}]},"5aef-74":{"id":"/src/layout/components/DropdownItem.tsx","moduleParts":{"layout/components/DropdownItem.js":"5aef-75"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-84"},{"uid":"5aef-92"},{"uid":"5aef-48"},{"uid":"5aef-32"}],"importedBy":[{"uid":"5aef-52"}]},"5aef-76":{"id":"/src/layout/components/MenuItem.tsx","moduleParts":{"layout/components/MenuItem.js":"5aef-77"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-92"}],"importedBy":[{"uid":"5aef-52"}]},"5aef-78":{"id":"/src/layout/components/PlainItem.tsx","moduleParts":{"layout/components/PlainItem.js":"5aef-79"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-92"},{"uid":"5aef-48"}],"importedBy":[{"uid":"5aef-52"}]},"5aef-80":{"id":"/src/content/components/ActionForm.tsx","moduleParts":{"content/components/ActionForm.js":"5aef-81"},"imported":[{"uid":"5aef-85"},{"uid":"5aef-97"},{"uid":"5aef-84"},{"uid":"5aef-92"}],"importedBy":[{"uid":"5aef-54"}]},"5aef-82":{"id":"/home/darkadept/dev/imperium/node_modules/style-inject/dist/style-inject.es.js","moduleParts":{"external/style-inject/dist/style-inject.es.js":"5aef-83"},"imported":[],"importedBy":[{"uid":"5aef-32"},{"uid":"5aef-34"}]},"5aef-84":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"5aef-10"},{"uid":"5aef-6"},{"uid":"5aef-8"},{"uid":"5aef-16"},{"uid":"5aef-18"},{"uid":"5aef-20"},{"uid":"5aef-22"},{"uid":"5aef-30"},{"uid":"5aef-36"},{"uid":"5aef-42"},{"uid":"5aef-44"},{"uid":"5aef-52"},{"uid":"5aef-50"},{"uid":"5aef-54"},{"uid":"5aef-74"},{"uid":"5aef-80"}],"isExternal":true},"5aef-85":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"5aef-10"},{"uid":"5aef-6"},{"uid":"5aef-8"},{"uid":"5aef-16"},{"uid":"5aef-18"},{"uid":"5aef-20"},{"uid":"5aef-22"},{"uid":"5aef-26"},{"uid":"5aef-24"},{"uid":"5aef-36"},{"uid":"5aef-38"},{"uid":"5aef-42"},{"uid":"5aef-44"},{"uid":"5aef-48"},{"uid":"5aef-52"},{"uid":"5aef-54"},{"uid":"5aef-56"},{"uid":"5aef-58"},{"uid":"5aef-60"},{"uid":"5aef-72"},{"uid":"5aef-74"},{"uid":"5aef-76"},{"uid":"5aef-78"},{"uid":"5aef-70"},{"uid":"5aef-80"}],"isExternal":true},"5aef-86":{"id":"react-redux","moduleParts":{},"imported":[],"importedBy":[{"uid":"5aef-10"},{"uid":"5aef-22"},{"uid":"5aef-24"}],"isExternal":true},"5aef-87":{"id":"react-responsive","moduleParts":{},"imported":[],"importedBy":[{"uid":"5aef-10"}],"isExternal":true},"5aef-88":{"id":"@imperium/state","moduleParts":{},"imported":[],"importedBy":[{"uid":"5aef-2"}],"isExternal":true},"5aef-89":{"id":"@reduxjs/toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"5aef-2"}],"isExternal":true},"5aef-90":{"id":"lodash/fp/compose.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"5aef-16"}],"isExternal":true},"5aef-91":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"5aef-16"},{"uid":"5aef-48"},{"uid":"5aef-50"},{"uid":"5aef-60"}],"isExternal":true},"5aef-92":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"5aef-20"},{"uid":"5aef-36"},{"uid":"5aef-38"},{"uid":"5aef-44"},{"uid":"5aef-48"},{"uid":"5aef-52"},{"uid":"5aef-54"},{"uid":"5aef-56"},{"uid":"5aef-60"},{"uid":"5aef-74"},{"uid":"5aef-76"},{"uid":"5aef-78"},{"uid":"5aef-70"},{"uid":"5aef-80"}],"isExternal":true},"5aef-93":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"5aef-22"},{"uid":"5aef-30"},{"uid":"5aef-28"},{"uid":"5aef-50"},{"uid":"5aef-66"},{"uid":"5aef-68"}],"isExternal":true},"5aef-94":{"id":"mingo","moduleParts":{},"imported":[],"importedBy":[{"uid":"5aef-44"},{"uid":"5aef-52"}],"isExternal":true},"5aef-95":{"id":"@imperium/auth-client","moduleParts":{},"imported":[],"importedBy":[{"uid":"5aef-50"}],"isExternal":true},"5aef-96":{"id":"react-router","moduleParts":{},"imported":[],"importedBy":[{"uid":"5aef-64"}],"isExternal":true},"5aef-97":{"id":"@thx/controls","moduleParts":{},"imported":[],"importedBy":[{"uid":"5aef-80"}],"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":"0300-1"}]},{"name":"state.js","children":[{"name":"src/state.ts","uid":"0300-3"}]},{"name":"content/dividerSidebarItem.js","children":[{"name":"src/content/dividerSidebarItem.ts","uid":"0300-5"}]},{"name":"layout/withLayout.js","children":[{"name":"src/layout/withLayout.tsx","uid":"0300-7"}]},{"name":"content/createPages.js","children":[{"name":"src/content/createPages.tsx","uid":"0300-9"}]},{"name":"layout/hooks/useMobileLayout.js","children":[{"name":"src/layout/hooks/useMobileLayout.ts","uid":"0300-11"}]},{"name":"types.js","children":[{"name":"src/types.ts","uid":"0300-13"}]},{"name":"content/types.js","children":[{"name":"src/content/types.ts","uid":"0300-15"}]},{"name":"datahooks/DataHooks.js","children":[{"name":"src/datahooks/DataHooks.tsx","uid":"0300-17"}]},{"name":"datahooks/PermissionHooks.js","children":[{"name":"src/datahooks/PermissionHooks.tsx","uid":"0300-19"}]},{"name":"datahooks/Permissions.js","children":[{"name":"src/datahooks/Permissions.tsx","uid":"0300-21"}]},{"name":"layout/components/Layout.js","children":[{"name":"src/layout/components/Layout.tsx","uid":"0300-23"}]},{"name":"content/components/ContentComponent.js","children":[{"name":"src/content/components/ContentComponent.tsx","uid":"0300-25"}]},{"name":"datahooks/ExecuteDataHook.js","children":[{"name":"src/datahooks/ExecuteDataHook.tsx","uid":"0300-27"}]},{"name":"datahooks/ExecutePermissionHook.js","children":[{"name":"src/datahooks/ExecutePermissionHook.tsx","uid":"0300-29"}]},{"name":"utils.js","children":[{"name":"src/utils.ts","uid":"0300-31"}]},{"name":"layout/moveItems.js","children":[{"name":"src/layout/moveItems.ts","uid":"0300-33"}]},{"name":"layout/components/styles.module.css.js","children":[{"name":"src/layout/components/styles.module.css","uid":"0300-35"}]},{"name":"content/components/styles.module.css.js","children":[{"name":"src/content/components/styles.module.css","uid":"0300-37"}]},{"name":"layout/components/LayoutItemBar.js","children":[{"name":"src/layout/components/LayoutItemBar.tsx","uid":"0300-39"}]},{"name":"layout/components/SecondaryMenuToggleItem.js","children":[{"name":"src/layout/components/SecondaryMenuToggleItem.tsx","uid":"0300-41"}]},{"name":"content/hooks/useBuildContentData.js","children":[{"name":"src/content/hooks/useBuildContentData.ts","uid":"0300-43"}]},{"name":"content/components/Header.js","children":[{"name":"src/content/components/Header.tsx","uid":"0300-45"}]},{"name":"content/components/SidebarItemWrapper.js","children":[{"name":"src/content/components/SidebarItemWrapper.tsx","uid":"0300-47"}]},{"name":"layout/types.js","children":[{"name":"src/layout/types.ts","uid":"0300-49"}]},{"name":"layout/utils.js","children":[{"name":"src/layout/utils.tsx","uid":"0300-51"}]},{"name":"hooks/useBuildData.js","children":[{"name":"src/hooks/useBuildData.ts","uid":"0300-53"}]},{"name":"layout/components/LayoutItemWrapper.js","children":[{"name":"src/layout/components/LayoutItemWrapper.tsx","uid":"0300-55"}]},{"name":"content/components/ActionFormSidebarItemComponent.js","children":[{"name":"src/content/components/ActionFormSidebarItemComponent.tsx","uid":"0300-57"}]},{"name":"content/components/ActionSidebarItemComponent.js","children":[{"name":"src/content/components/ActionSidebarItemComponent.tsx","uid":"0300-59"}]},{"name":"content/components/CustomSidebarItemComponent.js","children":[{"name":"src/content/components/CustomSidebarItemComponent.tsx","uid":"0300-61"}]},{"name":"content/components/PlainSidebarItem.js","children":[{"name":"src/content/components/PlainSidebarItem.tsx","uid":"0300-63"}]},{"name":"commonItems.js","children":[{"name":"src/commonItems.ts","uid":"0300-65"}]},{"name":"hooks/useIsActiveRoute.js","children":[{"name":"src/hooks/useIsActiveRoute.ts","uid":"0300-67"}]},{"name":"hooks/useSelectPermission.js","children":[{"name":"src/hooks/useSelectPermission.ts","uid":"0300-69"}]},{"name":"hooks/useSelectState.js","children":[{"name":"src/hooks/useSelectState.ts","uid":"0300-71"}]},{"name":"content/utils.js","children":[{"name":"src/content/utils.tsx","uid":"0300-73"}]},{"name":"layout/components/CustomLayoutItemComponent.js","children":[{"name":"src/layout/components/CustomLayoutItemComponent.tsx","uid":"0300-75"}]},{"name":"layout/components/DropdownItem.js","children":[{"name":"src/layout/components/DropdownItem.tsx","uid":"0300-77"}]},{"name":"layout/components/MenuItem.js","children":[{"name":"src/layout/components/MenuItem.tsx","uid":"0300-79"}]},{"name":"layout/components/PlainItem.js","children":[{"name":"src/layout/components/PlainItem.tsx","uid":"0300-81"}]},{"name":"content/components/ActionForm.js","children":[{"name":"src/content/components/ActionForm.tsx","uid":"0300-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":"0300-85"}]}],"isRoot":true},"nodeParts":{"0300-1":{"renderedLength":184,"gzipLength":151,"brotliLength":131,"mainUid":"0300-0"},"0300-3":{"renderedLength":489,"gzipLength":251,"brotliLength":217,"mainUid":"0300-2"},"0300-5":{"renderedLength":59,"gzipLength":71,"brotliLength":63,"mainUid":"0300-4"},"0300-7":{"renderedLength":1955,"gzipLength":564,"brotliLength":488,"mainUid":"0300-6"},"0300-9":{"renderedLength":650,"gzipLength":300,"brotliLength":268,"mainUid":"0300-8"},"0300-11":{"renderedLength":445,"gzipLength":266,"brotliLength":229,"mainUid":"0300-10"},"0300-13":{"renderedLength":121,"gzipLength":110,"brotliLength":90,"mainUid":"0300-12"},"0300-15":{"renderedLength":315,"gzipLength":141,"brotliLength":99,"mainUid":"0300-14"},"0300-17":{"renderedLength":997,"gzipLength":371,"brotliLength":309,"mainUid":"0300-16"},"0300-19":{"renderedLength":339,"gzipLength":201,"brotliLength":164,"mainUid":"0300-18"},"0300-21":{"renderedLength":641,"gzipLength":323,"brotliLength":284,"mainUid":"0300-20"},"0300-23":{"renderedLength":2629,"gzipLength":741,"brotliLength":631,"mainUid":"0300-22"},"0300-25":{"renderedLength":1970,"gzipLength":651,"brotliLength":565,"mainUid":"0300-24"},"0300-27":{"renderedLength":95,"gzipLength":91,"brotliLength":75,"mainUid":"0300-26"},"0300-29":{"renderedLength":345,"gzipLength":206,"brotliLength":172,"mainUid":"0300-28"},"0300-31":{"renderedLength":145,"gzipLength":117,"brotliLength":116,"mainUid":"0300-30"},"0300-33":{"renderedLength":1401,"gzipLength":377,"brotliLength":347,"mainUid":"0300-32"},"0300-35":{"renderedLength":3176,"gzipLength":933,"brotliLength":762,"mainUid":"0300-34"},"0300-37":{"renderedLength":1469,"gzipLength":528,"brotliLength":431,"mainUid":"0300-36"},"0300-39":{"renderedLength":726,"gzipLength":295,"brotliLength":252,"mainUid":"0300-38"},"0300-41":{"renderedLength":335,"gzipLength":222,"brotliLength":169,"mainUid":"0300-40"},"0300-43":{"renderedLength":257,"gzipLength":158,"brotliLength":122,"mainUid":"0300-42"},"0300-45":{"renderedLength":556,"gzipLength":286,"brotliLength":215,"mainUid":"0300-44"},"0300-47":{"renderedLength":1189,"gzipLength":399,"brotliLength":314,"mainUid":"0300-46"},"0300-49":{"renderedLength":191,"gzipLength":111,"brotliLength":89,"mainUid":"0300-48"},"0300-51":{"renderedLength":915,"gzipLength":392,"brotliLength":328,"mainUid":"0300-50"},"0300-53":{"renderedLength":785,"gzipLength":362,"brotliLength":321,"mainUid":"0300-52"},"0300-55":{"renderedLength":1503,"gzipLength":488,"brotliLength":399,"mainUid":"0300-54"},"0300-57":{"renderedLength":663,"gzipLength":344,"brotliLength":277,"mainUid":"0300-56"},"0300-59":{"renderedLength":362,"gzipLength":244,"brotliLength":185,"mainUid":"0300-58"},"0300-61":{"renderedLength":83,"gzipLength":96,"brotliLength":66,"mainUid":"0300-60"},"0300-63":{"renderedLength":344,"gzipLength":235,"brotliLength":186,"mainUid":"0300-62"},"0300-65":{"renderedLength":203,"gzipLength":136,"brotliLength":97,"mainUid":"0300-64"},"0300-67":{"renderedLength":514,"gzipLength":229,"brotliLength":187,"mainUid":"0300-66"},"0300-69":{"renderedLength":294,"gzipLength":154,"brotliLength":114,"mainUid":"0300-68"},"0300-71":{"renderedLength":254,"gzipLength":142,"brotliLength":108,"mainUid":"0300-70"},"0300-73":{"renderedLength":628,"gzipLength":259,"brotliLength":219,"mainUid":"0300-72"},"0300-75":{"renderedLength":82,"gzipLength":95,"brotliLength":66,"mainUid":"0300-74"},"0300-77":{"renderedLength":1179,"gzipLength":451,"brotliLength":362,"mainUid":"0300-76"},"0300-79":{"renderedLength":252,"gzipLength":159,"brotliLength":116,"mainUid":"0300-78"},"0300-81":{"renderedLength":244,"gzipLength":178,"brotliLength":145,"mainUid":"0300-80"},"0300-83":{"renderedLength":1667,"gzipLength":625,"brotliLength":519,"mainUid":"0300-82"},"0300-85":{"renderedLength":636,"gzipLength":318,"brotliLength":242,"mainUid":"0300-84"}},"nodeMetas":{"0300-0":{"id":"/src/index.ts","moduleParts":{"index.js":"0300-1"},"imported":[{"uid":"0300-10"},{"uid":"0300-6"},{"uid":"0300-2"},{"uid":"0300-8"},{"uid":"0300-4"}],"importedBy":[],"isEntry":true},"0300-2":{"id":"/src/state.ts","moduleParts":{"state.js":"0300-3"},"imported":[{"uid":"0300-90"},{"uid":"0300-91"}],"importedBy":[{"uid":"0300-0"},{"uid":"0300-10"},{"uid":"0300-20"},{"uid":"0300-22"},{"uid":"0300-24"},{"uid":"0300-28"},{"uid":"0300-52"}]},"0300-4":{"id":"/src/content/dividerSidebarItem.ts","moduleParts":{"content/dividerSidebarItem.js":"0300-5"},"imported":[],"importedBy":[{"uid":"0300-0"}]},"0300-6":{"id":"/src/layout/withLayout.tsx","moduleParts":{"layout/withLayout.js":"0300-7"},"imported":[{"uid":"0300-87"},{"uid":"0300-86"},{"uid":"0300-16"},{"uid":"0300-18"},{"uid":"0300-20"},{"uid":"0300-12"},{"uid":"0300-22"}],"importedBy":[{"uid":"0300-0"}]},"0300-8":{"id":"/src/content/createPages.tsx","moduleParts":{"content/createPages.js":"0300-9"},"imported":[{"uid":"0300-87"},{"uid":"0300-86"},{"uid":"0300-24"},{"uid":"0300-14"}],"importedBy":[{"uid":"0300-0"}]},"0300-10":{"id":"/src/layout/hooks/useMobileLayout.ts","moduleParts":{"layout/hooks/useMobileLayout.js":"0300-11"},"imported":[{"uid":"0300-86"},{"uid":"0300-87"},{"uid":"0300-88"},{"uid":"0300-89"},{"uid":"0300-2"}],"importedBy":[{"uid":"0300-0"}]},"0300-12":{"id":"/src/types.ts","moduleParts":{"types.js":"0300-13"},"imported":[],"importedBy":[{"uid":"0300-6"}]},"0300-14":{"id":"/src/content/types.ts","moduleParts":{"content/types.js":"0300-15"},"imported":[],"importedBy":[{"uid":"0300-8"},{"uid":"0300-46"}]},"0300-16":{"id":"/src/datahooks/DataHooks.tsx","moduleParts":{"datahooks/DataHooks.js":"0300-17"},"imported":[{"uid":"0300-87"},{"uid":"0300-86"},{"uid":"0300-92"},{"uid":"0300-93"},{"uid":"0300-26"}],"importedBy":[{"uid":"0300-6"},{"uid":"0300-24"}]},"0300-18":{"id":"/src/datahooks/PermissionHooks.tsx","moduleParts":{"datahooks/PermissionHooks.js":"0300-19"},"imported":[{"uid":"0300-87"},{"uid":"0300-86"},{"uid":"0300-28"}],"importedBy":[{"uid":"0300-6"}]},"0300-20":{"id":"/src/datahooks/Permissions.tsx","moduleParts":{"datahooks/Permissions.js":"0300-21"},"imported":[{"uid":"0300-87"},{"uid":"0300-94"},{"uid":"0300-86"},{"uid":"0300-88"},{"uid":"0300-2"}],"importedBy":[{"uid":"0300-6"}]},"0300-22":{"id":"/src/layout/components/Layout.tsx","moduleParts":{"layout/components/Layout.js":"0300-23"},"imported":[{"uid":"0300-87"},{"uid":"0300-86"},{"uid":"0300-95"},{"uid":"0300-2"},{"uid":"0300-32"},{"uid":"0300-38"},{"uid":"0300-40"},{"uid":"0300-34"}],"importedBy":[{"uid":"0300-6"}]},"0300-24":{"id":"/src/content/components/ContentComponent.tsx","moduleParts":{"content/components/ContentComponent.js":"0300-25"},"imported":[{"uid":"0300-87"},{"uid":"0300-86"},{"uid":"0300-96"},{"uid":"0300-88"},{"uid":"0300-16"},{"uid":"0300-2"},{"uid":"0300-30"},{"uid":"0300-42"},{"uid":"0300-44"},{"uid":"0300-46"},{"uid":"0300-36"}],"importedBy":[{"uid":"0300-8"}]},"0300-26":{"id":"/src/datahooks/ExecuteDataHook.tsx","moduleParts":{"datahooks/ExecuteDataHook.js":"0300-27"},"imported":[{"uid":"0300-87"}],"importedBy":[{"uid":"0300-16"}]},"0300-28":{"id":"/src/datahooks/ExecutePermissionHook.tsx","moduleParts":{"datahooks/ExecutePermissionHook.js":"0300-29"},"imported":[{"uid":"0300-87"},{"uid":"0300-88"},{"uid":"0300-2"}],"importedBy":[{"uid":"0300-18"}]},"0300-30":{"id":"/src/utils.ts","moduleParts":{"utils.js":"0300-31"},"imported":[{"uid":"0300-96"}],"importedBy":[{"uid":"0300-24"},{"uid":"0300-38"},{"uid":"0300-54"}]},"0300-32":{"id":"/src/layout/moveItems.ts","moduleParts":{"layout/moveItems.js":"0300-33"},"imported":[{"uid":"0300-86"},{"uid":"0300-96"},{"uid":"0300-48"}],"importedBy":[{"uid":"0300-22"}]},"0300-34":{"id":"/src/layout/components/styles.module.css","moduleParts":{"layout/components/styles.module.css.js":"0300-35"},"imported":[{"uid":"0300-84"}],"importedBy":[{"uid":"0300-22"},{"uid":"0300-40"},{"uid":"0300-76"}]},"0300-36":{"id":"/src/content/components/styles.module.css","moduleParts":{"content/components/styles.module.css.js":"0300-37"},"imported":[{"uid":"0300-84"}],"importedBy":[{"uid":"0300-24"},{"uid":"0300-44"}]},"0300-38":{"id":"/src/layout/components/LayoutItemBar.tsx","moduleParts":{"layout/components/LayoutItemBar.js":"0300-39"},"imported":[{"uid":"0300-87"},{"uid":"0300-86"},{"uid":"0300-95"},{"uid":"0300-30"},{"uid":"0300-50"},{"uid":"0300-54"}],"importedBy":[{"uid":"0300-22"}]},"0300-40":{"id":"/src/layout/components/SecondaryMenuToggleItem.tsx","moduleParts":{"layout/components/SecondaryMenuToggleItem.js":"0300-41"},"imported":[{"uid":"0300-87"},{"uid":"0300-95"},{"uid":"0300-34"}],"importedBy":[{"uid":"0300-22"}]},"0300-42":{"id":"/src/content/hooks/useBuildContentData.ts","moduleParts":{"content/hooks/useBuildContentData.js":"0300-43"},"imported":[{"uid":"0300-52"}],"importedBy":[{"uid":"0300-24"},{"uid":"0300-46"}]},"0300-44":{"id":"/src/content/components/Header.tsx","moduleParts":{"content/components/Header.js":"0300-45"},"imported":[{"uid":"0300-87"},{"uid":"0300-86"},{"uid":"0300-36"}],"importedBy":[{"uid":"0300-24"}]},"0300-46":{"id":"/src/content/components/SidebarItemWrapper.tsx","moduleParts":{"content/components/SidebarItemWrapper.js":"0300-47"},"imported":[{"uid":"0300-87"},{"uid":"0300-86"},{"uid":"0300-97"},{"uid":"0300-95"},{"uid":"0300-42"},{"uid":"0300-14"},{"uid":"0300-56"},{"uid":"0300-58"},{"uid":"0300-60"},{"uid":"0300-62"}],"importedBy":[{"uid":"0300-24"}]},"0300-48":{"id":"/src/layout/types.ts","moduleParts":{"layout/types.js":"0300-49"},"imported":[],"importedBy":[{"uid":"0300-32"},{"uid":"0300-54"}]},"0300-50":{"id":"/src/layout/utils.tsx","moduleParts":{"layout/utils.js":"0300-51"},"imported":[{"uid":"0300-87"},{"uid":"0300-93"},{"uid":"0300-95"},{"uid":"0300-64"}],"importedBy":[{"uid":"0300-38"},{"uid":"0300-76"},{"uid":"0300-80"}]},"0300-52":{"id":"/src/hooks/useBuildData.ts","moduleParts":{"hooks/useBuildData.js":"0300-53"},"imported":[{"uid":"0300-94"},{"uid":"0300-86"},{"uid":"0300-96"},{"uid":"0300-93"},{"uid":"0300-2"},{"uid":"0300-66"},{"uid":"0300-68"},{"uid":"0300-70"}],"importedBy":[{"uid":"0300-42"},{"uid":"0300-54"}]},"0300-54":{"id":"/src/layout/components/LayoutItemWrapper.tsx","moduleParts":{"layout/components/LayoutItemWrapper.js":"0300-55"},"imported":[{"uid":"0300-87"},{"uid":"0300-86"},{"uid":"0300-97"},{"uid":"0300-95"},{"uid":"0300-52"},{"uid":"0300-30"},{"uid":"0300-48"},{"uid":"0300-74"},{"uid":"0300-76"},{"uid":"0300-78"},{"uid":"0300-80"}],"importedBy":[{"uid":"0300-38"}]},"0300-56":{"id":"/src/content/components/ActionFormSidebarItemComponent.tsx","moduleParts":{"content/components/ActionFormSidebarItemComponent.js":"0300-57"},"imported":[{"uid":"0300-87"},{"uid":"0300-86"},{"uid":"0300-95"},{"uid":"0300-72"},{"uid":"0300-82"}],"importedBy":[{"uid":"0300-46"}]},"0300-58":{"id":"/src/content/components/ActionSidebarItemComponent.tsx","moduleParts":{"content/components/ActionSidebarItemComponent.js":"0300-59"},"imported":[{"uid":"0300-87"},{"uid":"0300-95"},{"uid":"0300-72"}],"importedBy":[{"uid":"0300-46"}]},"0300-60":{"id":"/src/content/components/CustomSidebarItemComponent.tsx","moduleParts":{"content/components/CustomSidebarItemComponent.js":"0300-61"},"imported":[{"uid":"0300-87"}],"importedBy":[{"uid":"0300-46"}]},"0300-62":{"id":"/src/content/components/PlainSidebarItem.tsx","moduleParts":{"content/components/PlainSidebarItem.js":"0300-63"},"imported":[{"uid":"0300-87"},{"uid":"0300-93"},{"uid":"0300-95"},{"uid":"0300-72"}],"importedBy":[{"uid":"0300-46"}]},"0300-64":{"id":"/src/commonItems.ts","moduleParts":{"commonItems.js":"0300-65"},"imported":[],"importedBy":[{"uid":"0300-50"},{"uid":"0300-66"}]},"0300-66":{"id":"/src/hooks/useIsActiveRoute.ts","moduleParts":{"hooks/useIsActiveRoute.js":"0300-67"},"imported":[{"uid":"0300-98"},{"uid":"0300-64"}],"importedBy":[{"uid":"0300-52"}]},"0300-68":{"id":"/src/hooks/useSelectPermission.ts","moduleParts":{"hooks/useSelectPermission.js":"0300-69"},"imported":[{"uid":"0300-96"}],"importedBy":[{"uid":"0300-52"}]},"0300-70":{"id":"/src/hooks/useSelectState.ts","moduleParts":{"hooks/useSelectState.js":"0300-71"},"imported":[{"uid":"0300-96"}],"importedBy":[{"uid":"0300-52"}]},"0300-72":{"id":"/src/content/utils.tsx","moduleParts":{"content/utils.js":"0300-73"},"imported":[{"uid":"0300-87"},{"uid":"0300-95"}],"importedBy":[{"uid":"0300-56"},{"uid":"0300-58"},{"uid":"0300-62"}]},"0300-74":{"id":"/src/layout/components/CustomLayoutItemComponent.tsx","moduleParts":{"layout/components/CustomLayoutItemComponent.js":"0300-75"},"imported":[{"uid":"0300-87"}],"importedBy":[{"uid":"0300-54"}]},"0300-76":{"id":"/src/layout/components/DropdownItem.tsx","moduleParts":{"layout/components/DropdownItem.js":"0300-77"},"imported":[{"uid":"0300-87"},{"uid":"0300-86"},{"uid":"0300-95"},{"uid":"0300-50"},{"uid":"0300-34"}],"importedBy":[{"uid":"0300-54"}]},"0300-78":{"id":"/src/layout/components/MenuItem.tsx","moduleParts":{"layout/components/MenuItem.js":"0300-79"},"imported":[{"uid":"0300-87"},{"uid":"0300-95"}],"importedBy":[{"uid":"0300-54"}]},"0300-80":{"id":"/src/layout/components/PlainItem.tsx","moduleParts":{"layout/components/PlainItem.js":"0300-81"},"imported":[{"uid":"0300-87"},{"uid":"0300-95"},{"uid":"0300-50"}],"importedBy":[{"uid":"0300-54"}]},"0300-82":{"id":"/src/content/components/ActionForm.tsx","moduleParts":{"content/components/ActionForm.js":"0300-83"},"imported":[{"uid":"0300-87"},{"uid":"0300-99"},{"uid":"0300-86"},{"uid":"0300-95"}],"importedBy":[{"uid":"0300-56"}]},"0300-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":"0300-85"},"imported":[],"importedBy":[{"uid":"0300-34"},{"uid":"0300-36"}]},"0300-86":{"id":"debug","moduleParts":{},"imported":[],"importedBy":[{"uid":"0300-10"},{"uid":"0300-6"},{"uid":"0300-8"},{"uid":"0300-16"},{"uid":"0300-18"},{"uid":"0300-20"},{"uid":"0300-22"},{"uid":"0300-24"},{"uid":"0300-32"},{"uid":"0300-38"},{"uid":"0300-44"},{"uid":"0300-46"},{"uid":"0300-54"},{"uid":"0300-52"},{"uid":"0300-56"},{"uid":"0300-76"},{"uid":"0300-82"}],"isExternal":true},"0300-87":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"0300-10"},{"uid":"0300-6"},{"uid":"0300-8"},{"uid":"0300-16"},{"uid":"0300-18"},{"uid":"0300-20"},{"uid":"0300-22"},{"uid":"0300-24"},{"uid":"0300-26"},{"uid":"0300-28"},{"uid":"0300-38"},{"uid":"0300-40"},{"uid":"0300-44"},{"uid":"0300-46"},{"uid":"0300-50"},{"uid":"0300-54"},{"uid":"0300-56"},{"uid":"0300-58"},{"uid":"0300-60"},{"uid":"0300-62"},{"uid":"0300-74"},{"uid":"0300-76"},{"uid":"0300-78"},{"uid":"0300-80"},{"uid":"0300-72"},{"uid":"0300-82"}],"isExternal":true},"0300-88":{"id":"react-redux","moduleParts":{},"imported":[],"importedBy":[{"uid":"0300-10"},{"uid":"0300-20"},{"uid":"0300-24"},{"uid":"0300-28"}],"isExternal":true},"0300-89":{"id":"react-responsive","moduleParts":{},"imported":[],"importedBy":[{"uid":"0300-10"}],"isExternal":true},"0300-90":{"id":"@imperium/state","moduleParts":{},"imported":[],"importedBy":[{"uid":"0300-2"}],"isExternal":true},"0300-91":{"id":"@reduxjs/toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"0300-2"}],"isExternal":true},"0300-92":{"id":"lodash/fp/compose.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"0300-16"}],"isExternal":true},"0300-93":{"id":"react-router-dom","moduleParts":{},"imported":[],"importedBy":[{"uid":"0300-16"},{"uid":"0300-50"},{"uid":"0300-52"},{"uid":"0300-62"}],"isExternal":true},"0300-94":{"id":"@imperium/auth-client","moduleParts":{},"imported":[],"importedBy":[{"uid":"0300-20"},{"uid":"0300-52"}],"isExternal":true},"0300-95":{"id":"semantic-ui-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"0300-22"},{"uid":"0300-38"},{"uid":"0300-40"},{"uid":"0300-46"},{"uid":"0300-50"},{"uid":"0300-54"},{"uid":"0300-56"},{"uid":"0300-58"},{"uid":"0300-62"},{"uid":"0300-76"},{"uid":"0300-78"},{"uid":"0300-80"},{"uid":"0300-72"},{"uid":"0300-82"}],"isExternal":true},"0300-96":{"id":"lodash-es","moduleParts":{},"imported":[],"importedBy":[{"uid":"0300-24"},{"uid":"0300-32"},{"uid":"0300-30"},{"uid":"0300-52"},{"uid":"0300-68"},{"uid":"0300-70"}],"isExternal":true},"0300-97":{"id":"mingo","moduleParts":{},"imported":[],"importedBy":[{"uid":"0300-46"},{"uid":"0300-54"}],"isExternal":true},"0300-98":{"id":"react-router","moduleParts":{},"imported":[],"importedBy":[{"uid":"0300-66"}],"isExternal":true},"0300-99":{"id":"@thx/controls","moduleParts":{},"imported":[],"importedBy":[{"uid":"0300-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;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { SemanticICONS } from 'semantic-ui-react';
|
|
3
3
|
import type { HorizontalPositionedItem, RouteItem, VisibilityItem, WeightedItem } from '../commonItems';
|
|
4
4
|
import type { DataHookItem } from '../datahooks/types';
|
|
5
|
-
import type { Data, PermissionSelectorHook } from '../types';
|
|
5
|
+
import type { Data, PermissionSelector, PermissionSelectorHook } from '../types';
|
|
6
6
|
/**
|
|
7
7
|
* Describes a basic weighted, possibly visible item
|
|
8
8
|
*/
|
|
@@ -35,6 +35,7 @@ export interface MenuLayoutItem extends BaseLayoutItem {
|
|
|
35
35
|
export declare type LayoutItem = (BaseLayoutItem & RouteItem<Data>) | DropdownLayoutItem | MenuLayoutItem | CustomLayoutItem;
|
|
36
36
|
export interface LayoutData {
|
|
37
37
|
permissionSelectorHooks?: PermissionSelectorHook[];
|
|
38
|
+
permissions?: PermissionSelector;
|
|
38
39
|
dataHooks?: DataHookItem[];
|
|
39
40
|
primaryMenu?: (LayoutItem & HorizontalPositionedItem)[];
|
|
40
41
|
statusbar?: (LayoutItem & HorizontalPositionedItem)[];
|
package/dist/types/types.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare type State = Record<string, any>;
|
|
|
8
8
|
export declare type StateSelectorHook = () => State;
|
|
9
9
|
export declare type PermissionResults = Record<string, boolean>;
|
|
10
10
|
export declare type PermissionSelectorHook = (data: Data) => PermissionResults;
|
|
11
|
+
export declare type PermissionSelector = string[];
|
|
11
12
|
/**
|
|
12
13
|
* The visibility query can either be a mingo query or a function that returns a boolean. The data is an object with the router path merged with any state selector hook data.
|
|
13
14
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imperium/layout",
|
|
3
|
-
"version": "10.3.
|
|
3
|
+
"version": "10.3.6-alpha.0+3959b28",
|
|
4
4
|
"description": "Imperium Layout package",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/darkadept/imperium/issues"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@imperium/auth-client": "^10.3.
|
|
34
|
+
"@imperium/auth-client": "^10.3.6-alpha.0+3959b28",
|
|
35
35
|
"@imperium/client": "^10.0.3",
|
|
36
36
|
"@imperium/router": "^10.0.3",
|
|
37
37
|
"@imperium/state": "^10.0.3",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "3959b287c03bcc6fbc021d24b020290fba610365"
|
|
62
62
|
}
|
package/dist/stats.txt
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
-----------------------------
|
|
2
|
-
Rollup File Analysis
|
|
3
|
-
-----------------------------
|
|
4
|
-
bundle size: 30.43 KB
|
|
5
|
-
original size: 50.265 KB
|
|
6
|
-
code reduction: 39.46 %
|
|
7
|
-
module count: 42
|
|
8
|
-
|
|
9
|
-
/src/layout/components/styles.module.css
|
|
10
|
-
█████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 10.44 % (3.176 KB)
|
|
11
|
-
/src/layout/components/Layout.tsx
|
|
12
|
-
████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 8.64 % (2.629 KB)
|
|
13
|
-
/src/content/components/ContentComponent.tsx
|
|
14
|
-
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.47 % (1.97 KB)
|
|
15
|
-
/src/layout/withLayout.tsx
|
|
16
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.71 % (1.739 KB)
|
|
17
|
-
/src/content/components/ActionForm.tsx
|
|
18
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.48 % (1.667 KB)
|
|
19
|
-
/src/layout/components/LayoutItemWrapper.tsx
|
|
20
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.94 % (1.503 KB)
|
|
21
|
-
/src/content/components/styles.module.css
|
|
22
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.83 % (1.469 KB)
|
|
23
|
-
/src/layout/moveItems.ts
|
|
24
|
-
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.6 % (1.401 KB)
|
|
25
|
-
/src/content/components/SidebarItemWrapper.tsx
|
|
26
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.91 % (1.189 KB)
|
|
27
|
-
/src/layout/components/DropdownItem.tsx
|
|
28
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.87 % (1.179 KB)
|
|
29
|
-
/src/datahooks/DataHooks.tsx
|
|
30
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.28 % (997 Bytes)
|
|
31
|
-
/src/layout/utils.tsx
|
|
32
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.01 % (915 Bytes)
|
|
33
|
-
/src/hooks/useBuildData.ts
|
|
34
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.58 % (785 Bytes)
|
|
35
|
-
/src/layout/components/LayoutItemBar.tsx
|
|
36
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.39 % (726 Bytes)
|
|
37
|
-
/src/content/components/ActionFormSidebarItemComponent.tsx
|
|
38
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.18 % (663 Bytes)
|
|
39
|
-
/src/content/createPages.tsx
|
|
40
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.14 % (650 Bytes)
|
|
41
|
-
/home/darkadept/dev/imperium/node_modules/style-inject/dist/style-inject.es.js
|
|
42
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.09 % (636 Bytes)
|
|
43
|
-
/src/content/utils.tsx
|
|
44
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.06 % (628 Bytes)
|
|
45
|
-
/src/content/components/Header.tsx
|
|
46
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.83 % (556 Bytes)
|
|
47
|
-
/src/hooks/useIsActiveRoute.ts
|
|
48
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.69 % (514 Bytes)
|
|
49
|
-
/src/state.ts
|
|
50
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.61 % (489 Bytes)
|
|
51
|
-
/src/layout/hooks/useMobileLayout.ts
|
|
52
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.46 % (445 Bytes)
|
|
53
|
-
/src/content/components/ActionSidebarItemComponent.tsx
|
|
54
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.19 % (362 Bytes)
|
|
55
|
-
/src/datahooks/ExecutePermissionHook.tsx
|
|
56
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.13 % (345 Bytes)
|
|
57
|
-
/src/content/components/PlainSidebarItem.tsx
|
|
58
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.13 % (344 Bytes)
|
|
59
|
-
/src/datahooks/PermissionHooks.tsx
|
|
60
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.11 % (339 Bytes)
|
|
61
|
-
/src/layout/components/SecondaryMenuToggleItem.tsx
|
|
62
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.1 % (335 Bytes)
|
|
63
|
-
/src/content/types.ts
|
|
64
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.04 % (315 Bytes)
|
|
65
|
-
/src/hooks/useSelectPermission.ts
|
|
66
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.97 % (294 Bytes)
|
|
67
|
-
/src/content/hooks/useBuildContentData.ts
|
|
68
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.84 % (257 Bytes)
|
|
69
|
-
/src/hooks/useSelectState.ts
|
|
70
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.83 % (254 Bytes)
|
|
71
|
-
/src/layout/components/MenuItem.tsx
|
|
72
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.83 % (252 Bytes)
|
|
73
|
-
/src/layout/components/PlainItem.tsx
|
|
74
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.8 % (244 Bytes)
|
|
75
|
-
/src/commonItems.ts
|
|
76
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.67 % (203 Bytes)
|
|
77
|
-
/src/layout/types.ts
|
|
78
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.63 % (191 Bytes)
|
|
79
|
-
/src/index.ts
|
|
80
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.6 % (184 Bytes)
|
|
81
|
-
/src/utils.ts
|
|
82
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.48 % (145 Bytes)
|
|
83
|
-
/src/types.ts
|
|
84
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.4 % (121 Bytes)
|
|
85
|
-
/src/datahooks/ExecuteDataHook.tsx
|
|
86
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.31 % (95 Bytes)
|
|
87
|
-
/src/content/components/CustomSidebarItemComponent.tsx
|
|
88
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.27 % (83 Bytes)
|
|
89
|
-
/src/layout/components/CustomLayoutItemComponent.tsx
|
|
90
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.27 % (82 Bytes)
|
|
91
|
-
/src/content/dividerSidebarItem.ts
|
|
92
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.19 % (59 Bytes)
|