@genesislcap/foundation-ui 15.68.1 → 15.70.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.
|
@@ -21,9 +21,10 @@ export type FoundationRouteNavItem = {
|
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
23
|
* Allows nav items to appear conditionally based on the permissions held by the current user.
|
|
24
|
+
* With an array, the item appears when the user holds any of the listed permissions; an empty array always hides it.
|
|
24
25
|
* @beta
|
|
25
26
|
*/
|
|
26
|
-
permission?: string;
|
|
27
|
+
permission?: string | string[];
|
|
27
28
|
/**
|
|
28
29
|
* @remarks
|
|
29
30
|
* Lower numbers move items earlier in navs. If not explicitly assigned, this value defaults to the route mapping
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navItems.d.ts","sourceRoot":"","sources":["../../../src/router/navItems.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE;QACL,IAAI,EAAE,QAAQ,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,SAAS,CAAC;KACrB,CAAC;IACF;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf
|
|
1
|
+
{"version":3,"file":"navItems.d.ts","sourceRoot":"","sources":["../../../src/router/navItems.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG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-
"text": ";\n };\n navId?: string;\n permission?: string;\n placementIndex?: number;\n routePath?: string;\n routeName?: string;\n navItems?: "
|
|
40520
|
+
"text": ";\n };\n navId?: string;\n permission?: string | string[];\n placementIndex?: number;\n routePath?: string;\n routeName?: string;\n navItems?: "
|
|
40521
40521
|
},
|
|
40522
40522
|
{
|
|
40523
40523
|
"kind": "Reference",
|
package/dist/foundation-ui.d.ts
CHANGED
|
@@ -4360,9 +4360,10 @@ export declare type FoundationRouteNavItem = {
|
|
|
4360
4360
|
/**
|
|
4361
4361
|
* @remarks
|
|
4362
4362
|
* Allows nav items to appear conditionally based on the permissions held by the current user.
|
|
4363
|
+
* With an array, the item appears when the user holds any of the listed permissions; an empty array always hides it.
|
|
4363
4364
|
* @beta
|
|
4364
4365
|
*/
|
|
4365
|
-
permission?: string;
|
|
4366
|
+
permission?: string | string[];
|
|
4366
4367
|
/**
|
|
4367
4368
|
* @remarks
|
|
4368
4369
|
* Lower numbers move items earlier in navs. If not explicitly assigned, this value defaults to the route mapping
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-ui",
|
|
3
3
|
"description": "Genesis Foundation UI",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.70.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@genesislcap/foundation-testing": "15.
|
|
86
|
-
"@genesislcap/genx": "15.
|
|
87
|
-
"@genesislcap/ts-builder": "15.
|
|
88
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
89
|
-
"@genesislcap/vite-builder": "15.
|
|
90
|
-
"@genesislcap/webpack-builder": "15.
|
|
85
|
+
"@genesislcap/foundation-testing": "15.70.0",
|
|
86
|
+
"@genesislcap/genx": "15.70.0",
|
|
87
|
+
"@genesislcap/ts-builder": "15.70.0",
|
|
88
|
+
"@genesislcap/uvu-playwright-builder": "15.70.0",
|
|
89
|
+
"@genesislcap/vite-builder": "15.70.0",
|
|
90
|
+
"@genesislcap/webpack-builder": "15.70.0",
|
|
91
91
|
"copyfiles": "^2.4.1"
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
@@ -96,16 +96,16 @@
|
|
|
96
96
|
"@fortawesome/free-regular-svg-icons": "^6.2.1",
|
|
97
97
|
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
|
98
98
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
|
|
99
|
-
"@genesislcap/expression-builder": "15.
|
|
100
|
-
"@genesislcap/foundation-ai": "15.
|
|
101
|
-
"@genesislcap/foundation-comms": "15.
|
|
102
|
-
"@genesislcap/foundation-criteria": "15.
|
|
103
|
-
"@genesislcap/foundation-errors": "15.
|
|
104
|
-
"@genesislcap/foundation-events": "15.
|
|
105
|
-
"@genesislcap/foundation-logger": "15.
|
|
106
|
-
"@genesislcap/foundation-notifications": "15.
|
|
107
|
-
"@genesislcap/foundation-user": "15.
|
|
108
|
-
"@genesislcap/foundation-utils": "15.
|
|
99
|
+
"@genesislcap/expression-builder": "15.70.0",
|
|
100
|
+
"@genesislcap/foundation-ai": "15.70.0",
|
|
101
|
+
"@genesislcap/foundation-comms": "15.70.0",
|
|
102
|
+
"@genesislcap/foundation-criteria": "15.70.0",
|
|
103
|
+
"@genesislcap/foundation-errors": "15.70.0",
|
|
104
|
+
"@genesislcap/foundation-events": "15.70.0",
|
|
105
|
+
"@genesislcap/foundation-logger": "15.70.0",
|
|
106
|
+
"@genesislcap/foundation-notifications": "15.70.0",
|
|
107
|
+
"@genesislcap/foundation-user": "15.70.0",
|
|
108
|
+
"@genesislcap/foundation-utils": "15.70.0",
|
|
109
109
|
"@microsoft/fast-colors": "5.3.1",
|
|
110
110
|
"@microsoft/fast-components": "2.30.6",
|
|
111
111
|
"@microsoft/fast-element": "1.14.0",
|