@admin-layout/demo-tailwind-browser 10.0.9-alpha.4 → 10.0.9-alpha.6

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/lib/compute.js CHANGED
@@ -1,69 +1,80 @@
1
- import {ORG_STD_ROUTES}from'@adminide-stack/core/lib/constants/urls.js';import {IMenuPosition}from'@common-stack/core';import {getFilteredMenus,getFilteredRoutes}from'@common-stack/client-react/lib/utils/filteredRoutes.js';const MainRoutes = [{
1
+ import { ORG_STD_ROUTES } from '@adminide-stack/core/lib/constants/urls.js';
2
+ import { IMenuPosition } from '@common-stack/core';
3
+ import { getFilteredMenus, getFilteredRoutes } from '@common-stack/client-react/lib/utils/filteredRoutes.js';
4
+ const MainRoutes = [{
2
5
  name: 'Exception',
3
6
  key: 'menu.exception',
4
7
  icon: '',
5
8
  path: `${ORG_STD_ROUTES.ORG_BASE_PATH}/exception`,
6
- component: () => import('./components/exception/exception.js'),
7
9
  position: IMenuPosition.Lower,
8
- exact: false
10
+ exact: false,
11
+ componentPath: "@admin-layout/demo-tailwind-browser/lib/components/exception/exception.js",
12
+ hasComponent: true
9
13
  }, {
10
14
  name: 'Exception 403',
11
15
  key: 'menu.exception.403',
12
16
  path: `${ORG_STD_ROUTES.ORG_BASE_PATH}/exception/403`,
13
17
  auth: true,
14
- component: () => import('./components/exception/403/Component.js'),
15
18
  position: IMenuPosition.Lower,
16
19
  exact: true,
17
- priority: 1
20
+ priority: 1,
21
+ componentPath: "@admin-layout/demo-tailwind-browser/lib/components/exception/403/Component.js",
22
+ hasComponent: true
18
23
  }, {
19
24
  name: 'Exception 404',
20
25
  key: 'menu.exception.404',
21
26
  path: `${ORG_STD_ROUTES.ORG_BASE_PATH}/exception/404`,
22
27
  auth: true,
23
- component: () => import('./components/exception/404/Component.js'),
24
28
  position: IMenuPosition.Lower,
25
29
  exact: true,
26
- priority: 2
30
+ priority: 2,
31
+ componentPath: "@admin-layout/demo-tailwind-browser/lib/components/exception/404/Component.js",
32
+ hasComponent: true
27
33
  }, {
28
34
  name: 'Exception 500',
29
35
  key: 'menu.exception.500',
30
36
  path: `${ORG_STD_ROUTES.ORG_BASE_PATH}/exception/500`,
31
37
  auth: true,
32
- component: () => import('./components/exception/500/Component.js'),
33
38
  position: IMenuPosition.Lower,
34
39
  exact: true,
35
- priority: 3
40
+ priority: 3,
41
+ componentPath: "@admin-layout/demo-tailwind-browser/lib/components/exception/500/Component.js",
42
+ hasComponent: true
36
43
  }, {
37
44
  name: 'Result',
38
45
  key: 'menu.result',
39
46
  icon: '',
40
47
  path: `${ORG_STD_ROUTES.ORG_BASE_PATH}/result`,
41
48
  position: IMenuPosition.Lower,
42
- component: () => import('./components/result/result.js'),
43
49
  auth: true,
44
- exact: false
50
+ exact: false,
51
+ componentPath: "@admin-layout/demo-tailwind-browser/lib/components/result/result.js",
52
+ hasComponent: true
45
53
  }, {
46
54
  name: 'Success',
47
55
  key: 'menu.result.success',
48
56
  path: `${ORG_STD_ROUTES.ORG_BASE_PATH}/result/success`,
49
57
  auth: true,
50
- component: () => import('./components/result/success/Component.js'),
51
58
  position: IMenuPosition.Lower,
52
59
  exact: true,
53
- priority: 1
60
+ priority: 1,
61
+ componentPath: "@admin-layout/demo-tailwind-browser/lib/components/result/success/Component.js",
62
+ hasComponent: true
54
63
  }, {
55
64
  name: 'Fail',
56
65
  key: 'menu.result.fail',
57
66
  path: `${ORG_STD_ROUTES.ORG_BASE_PATH}/result/fail`,
58
67
  auth: true,
59
- component: () => import('./components/result/fail/Component.js'),
60
68
  position: IMenuPosition.Lower,
61
69
  exact: true,
62
- priority: 2
70
+ priority: 2,
71
+ componentPath: "@admin-layout/demo-tailwind-browser/lib/components/result/fail/Component.js",
72
+ hasComponent: true
63
73
  }];
64
74
  // Using '*' to select all routes and menus
65
75
  const selectedAll = '*';
66
76
  // Get menus
67
77
  getFilteredMenus(MainRoutes, selectedAll);
68
78
  // Get routes
69
- const filteredRoutes = getFilteredRoutes(MainRoutes, selectedAll);export{MainRoutes,filteredRoutes};//# sourceMappingURL=compute.js.map
79
+ const filteredRoutes = getFilteredRoutes(MainRoutes, selectedAll);
80
+ export { MainRoutes, filteredRoutes }; //# sourceMappingURL=compute.js.map
@@ -0,0 +1,92 @@
1
+ [
2
+ {
3
+ "/o/:orgName/exception": {
4
+ "name": "Exception",
5
+ "key": "menu.exception",
6
+ "icon": "",
7
+ "path": "/o/:orgName/exception",
8
+ "position": "LOWER",
9
+ "exact": false,
10
+ "componentPath": "@admin-layout/demo-tailwind-browser/lib/components/exception/exception.js",
11
+ "hasComponent": true
12
+ }
13
+ },
14
+ {
15
+ "/o/:orgName/exception/403": {
16
+ "name": "Exception 403",
17
+ "key": "menu.exception.403",
18
+ "path": "/o/:orgName/exception/403",
19
+ "auth": true,
20
+ "position": "LOWER",
21
+ "exact": true,
22
+ "priority": 1,
23
+ "componentPath": "@admin-layout/demo-tailwind-browser/lib/components/exception/403/Component.js",
24
+ "hasComponent": true
25
+ }
26
+ },
27
+ {
28
+ "/o/:orgName/exception/404": {
29
+ "name": "Exception 404",
30
+ "key": "menu.exception.404",
31
+ "path": "/o/:orgName/exception/404",
32
+ "auth": true,
33
+ "position": "LOWER",
34
+ "exact": true,
35
+ "priority": 2,
36
+ "componentPath": "@admin-layout/demo-tailwind-browser/lib/components/exception/404/Component.js",
37
+ "hasComponent": true
38
+ }
39
+ },
40
+ {
41
+ "/o/:orgName/exception/500": {
42
+ "name": "Exception 500",
43
+ "key": "menu.exception.500",
44
+ "path": "/o/:orgName/exception/500",
45
+ "auth": true,
46
+ "position": "LOWER",
47
+ "exact": true,
48
+ "priority": 3,
49
+ "componentPath": "@admin-layout/demo-tailwind-browser/lib/components/exception/500/Component.js",
50
+ "hasComponent": true
51
+ }
52
+ },
53
+ {
54
+ "/o/:orgName/result": {
55
+ "name": "Result",
56
+ "key": "menu.result",
57
+ "icon": "",
58
+ "path": "/o/:orgName/result",
59
+ "position": "LOWER",
60
+ "auth": true,
61
+ "exact": false,
62
+ "componentPath": "@admin-layout/demo-tailwind-browser/lib/components/result/result.js",
63
+ "hasComponent": true
64
+ }
65
+ },
66
+ {
67
+ "/o/:orgName/result/success": {
68
+ "name": "Success",
69
+ "key": "menu.result.success",
70
+ "path": "/o/:orgName/result/success",
71
+ "auth": true,
72
+ "position": "LOWER",
73
+ "exact": true,
74
+ "priority": 1,
75
+ "componentPath": "@admin-layout/demo-tailwind-browser/lib/components/result/success/Component.js",
76
+ "hasComponent": true
77
+ }
78
+ },
79
+ {
80
+ "/o/:orgName/result/fail": {
81
+ "name": "Fail",
82
+ "key": "menu.result.fail",
83
+ "path": "/o/:orgName/result/fail",
84
+ "auth": true,
85
+ "position": "LOWER",
86
+ "exact": true,
87
+ "priority": 2,
88
+ "componentPath": "@admin-layout/demo-tailwind-browser/lib/components/result/fail/Component.js",
89
+ "hasComponent": true
90
+ }
91
+ }
92
+ ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admin-layout/demo-tailwind-browser",
3
- "version": "10.0.9-alpha.4",
3
+ "version": "10.0.9-alpha.6",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@admin-layout/assets": "10.0.9-alpha.4",
25
- "@admin-layout/tailwind-design-pro": "10.0.9-alpha.4",
25
+ "@admin-layout/tailwind-design-pro": "10.0.9-alpha.6",
26
26
  "@pubngo-stack/icons": "8.0.7",
27
27
  "@react-icons/all-files": "^4.1.0",
28
28
  "@xstate/react": "^4.1.1",
@@ -50,7 +50,7 @@
50
50
  "publishConfig": {
51
51
  "access": "public"
52
52
  },
53
- "gitHead": "6d3f67b63bdf37a197375c0e78e0d650088f7c40",
53
+ "gitHead": "ed61f7b01cd32ca51f31c764c78db9470aefce49",
54
54
  "typescript": {
55
55
  "definition": "lib/index.d.ts"
56
56
  }