@genesislcap/foundation-entity-management 15.25.1 → 15.26.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/custom-elements.json +95 -49
- package/dist/dts/entities/entities.d.ts +5 -0
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/entities/entities.template.d.ts +5 -0
- package/dist/dts/entities/entities.template.d.ts.map +1 -1
- package/dist/esm/entities/entities.js +8 -0
- package/dist/esm/entities/entities.template.js +14 -2
- package/dist/foundation-entity-management.api.json +30 -0
- package/dist/foundation-entity-management.d.ts +5 -0
- package/package.json +22 -22
|
@@ -754,6 +754,16 @@
|
|
|
754
754
|
"default": "null",
|
|
755
755
|
"description": "Enabling this option will enable a download button in the top-right of the header which will export the data to a csv file when clicked."
|
|
756
756
|
},
|
|
757
|
+
{
|
|
758
|
+
"kind": "field",
|
|
759
|
+
"name": "enableColumnSelection",
|
|
760
|
+
"type": {
|
|
761
|
+
"text": "boolean"
|
|
762
|
+
},
|
|
763
|
+
"default": "false",
|
|
764
|
+
"description": "Shows a Column Selection button in the header.",
|
|
765
|
+
"privacy": "public"
|
|
766
|
+
},
|
|
757
767
|
{
|
|
758
768
|
"kind": "field",
|
|
759
769
|
"name": "setBaseCriteria",
|
|
@@ -1270,6 +1280,15 @@
|
|
|
1270
1280
|
"default": "'⋮'",
|
|
1271
1281
|
"description": "The label of the crud action menu",
|
|
1272
1282
|
"fieldName": "crudActionMenuName"
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
"name": "enable-column-selection",
|
|
1286
|
+
"type": {
|
|
1287
|
+
"text": "boolean"
|
|
1288
|
+
},
|
|
1289
|
+
"default": "false",
|
|
1290
|
+
"description": "Shows a Column Selection button in the header.",
|
|
1291
|
+
"fieldName": "enableColumnSelection"
|
|
1273
1292
|
}
|
|
1274
1293
|
],
|
|
1275
1294
|
"mixins": [
|
|
@@ -2157,6 +2176,20 @@
|
|
|
2157
2176
|
"module": "src/entities/entities.ts"
|
|
2158
2177
|
}
|
|
2159
2178
|
},
|
|
2179
|
+
{
|
|
2180
|
+
"kind": "field",
|
|
2181
|
+
"name": "enableColumnSelection",
|
|
2182
|
+
"type": {
|
|
2183
|
+
"text": "boolean"
|
|
2184
|
+
},
|
|
2185
|
+
"default": "false",
|
|
2186
|
+
"description": "Shows a Column Selection button in the header.",
|
|
2187
|
+
"privacy": "public",
|
|
2188
|
+
"inheritedFrom": {
|
|
2189
|
+
"name": "EntityManagement",
|
|
2190
|
+
"module": "src/entities/entities.ts"
|
|
2191
|
+
}
|
|
2192
|
+
},
|
|
2160
2193
|
{
|
|
2161
2194
|
"kind": "field",
|
|
2162
2195
|
"name": "setBaseCriteria",
|
|
@@ -2949,6 +2982,19 @@
|
|
|
2949
2982
|
"name": "EntityManagement",
|
|
2950
2983
|
"module": "src/entities/entities.ts"
|
|
2951
2984
|
}
|
|
2985
|
+
},
|
|
2986
|
+
{
|
|
2987
|
+
"name": "enable-column-selection",
|
|
2988
|
+
"type": {
|
|
2989
|
+
"text": "boolean"
|
|
2990
|
+
},
|
|
2991
|
+
"default": "false",
|
|
2992
|
+
"description": "Shows a Column Selection button in the header.",
|
|
2993
|
+
"fieldName": "enableColumnSelection",
|
|
2994
|
+
"inheritedFrom": {
|
|
2995
|
+
"name": "EntityManagement",
|
|
2996
|
+
"module": "src/entities/entities.ts"
|
|
2997
|
+
}
|
|
2952
2998
|
}
|
|
2953
2999
|
],
|
|
2954
3000
|
"superclass": {
|
|
@@ -2978,6 +3024,55 @@
|
|
|
2978
3024
|
}
|
|
2979
3025
|
]
|
|
2980
3026
|
},
|
|
3027
|
+
{
|
|
3028
|
+
"kind": "javascript-module",
|
|
3029
|
+
"path": "src/layouts/default.ts",
|
|
3030
|
+
"declarations": [
|
|
3031
|
+
{
|
|
3032
|
+
"kind": "variable",
|
|
3033
|
+
"name": "loginLayout",
|
|
3034
|
+
"default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
3035
|
+
},
|
|
3036
|
+
{
|
|
3037
|
+
"kind": "variable",
|
|
3038
|
+
"name": "defaultLayout",
|
|
3039
|
+
"default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
3040
|
+
}
|
|
3041
|
+
],
|
|
3042
|
+
"exports": [
|
|
3043
|
+
{
|
|
3044
|
+
"kind": "js",
|
|
3045
|
+
"name": "loginLayout",
|
|
3046
|
+
"declaration": {
|
|
3047
|
+
"name": "loginLayout",
|
|
3048
|
+
"module": "src/layouts/default.ts"
|
|
3049
|
+
}
|
|
3050
|
+
},
|
|
3051
|
+
{
|
|
3052
|
+
"kind": "js",
|
|
3053
|
+
"name": "defaultLayout",
|
|
3054
|
+
"declaration": {
|
|
3055
|
+
"name": "defaultLayout",
|
|
3056
|
+
"module": "src/layouts/default.ts"
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
]
|
|
3060
|
+
},
|
|
3061
|
+
{
|
|
3062
|
+
"kind": "javascript-module",
|
|
3063
|
+
"path": "src/layouts/index.ts",
|
|
3064
|
+
"declarations": [],
|
|
3065
|
+
"exports": [
|
|
3066
|
+
{
|
|
3067
|
+
"kind": "js",
|
|
3068
|
+
"name": "*",
|
|
3069
|
+
"declaration": {
|
|
3070
|
+
"name": "*",
|
|
3071
|
+
"package": "./default"
|
|
3072
|
+
}
|
|
3073
|
+
}
|
|
3074
|
+
]
|
|
3075
|
+
},
|
|
2981
3076
|
{
|
|
2982
3077
|
"kind": "javascript-module",
|
|
2983
3078
|
"path": "src/list/index.ts",
|
|
@@ -3903,55 +3998,6 @@
|
|
|
3903
3998
|
}
|
|
3904
3999
|
]
|
|
3905
4000
|
},
|
|
3906
|
-
{
|
|
3907
|
-
"kind": "javascript-module",
|
|
3908
|
-
"path": "src/layouts/default.ts",
|
|
3909
|
-
"declarations": [
|
|
3910
|
-
{
|
|
3911
|
-
"kind": "variable",
|
|
3912
|
-
"name": "loginLayout",
|
|
3913
|
-
"default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
3914
|
-
},
|
|
3915
|
-
{
|
|
3916
|
-
"kind": "variable",
|
|
3917
|
-
"name": "defaultLayout",
|
|
3918
|
-
"default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
3919
|
-
}
|
|
3920
|
-
],
|
|
3921
|
-
"exports": [
|
|
3922
|
-
{
|
|
3923
|
-
"kind": "js",
|
|
3924
|
-
"name": "loginLayout",
|
|
3925
|
-
"declaration": {
|
|
3926
|
-
"name": "loginLayout",
|
|
3927
|
-
"module": "src/layouts/default.ts"
|
|
3928
|
-
}
|
|
3929
|
-
},
|
|
3930
|
-
{
|
|
3931
|
-
"kind": "js",
|
|
3932
|
-
"name": "defaultLayout",
|
|
3933
|
-
"declaration": {
|
|
3934
|
-
"name": "defaultLayout",
|
|
3935
|
-
"module": "src/layouts/default.ts"
|
|
3936
|
-
}
|
|
3937
|
-
}
|
|
3938
|
-
]
|
|
3939
|
-
},
|
|
3940
|
-
{
|
|
3941
|
-
"kind": "javascript-module",
|
|
3942
|
-
"path": "src/layouts/index.ts",
|
|
3943
|
-
"declarations": [],
|
|
3944
|
-
"exports": [
|
|
3945
|
-
{
|
|
3946
|
-
"kind": "js",
|
|
3947
|
-
"name": "*",
|
|
3948
|
-
"declaration": {
|
|
3949
|
-
"name": "*",
|
|
3950
|
-
"package": "./default"
|
|
3951
|
-
}
|
|
3952
|
-
}
|
|
3953
|
-
]
|
|
3954
|
-
},
|
|
3955
4001
|
{
|
|
3956
4002
|
"kind": "javascript-module",
|
|
3957
4003
|
"path": "src/routes/config.ts",
|
|
@@ -969,6 +969,11 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
969
969
|
buttonName?: string;
|
|
970
970
|
fileName?: string;
|
|
971
971
|
} | null;
|
|
972
|
+
/**
|
|
973
|
+
* Shows a Column Selection button in the header.
|
|
974
|
+
* @public
|
|
975
|
+
*/
|
|
976
|
+
enableColumnSelection: boolean;
|
|
972
977
|
/**
|
|
973
978
|
* The Id of the crud buttons wrapper element
|
|
974
979
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EACL,OAAO,EACP,iBAAiB,EAGjB,YAAY,EAEb,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAa,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAEL,eAAe,EAEf,KAAK,EACL,cAAc,EACf,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAChG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAIL,cAAc,EAGf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAoB,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAEjF,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,aAAa,EACd,MAAM,UAAU,CAAC;AAMlB;;;;;GAKG;AACH,eAAO,MAAM,iCA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CAAC;IAM7E;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IA6BjC,gBAAgB;IACV,eAAe;CAkCtB"}
|
|
@@ -10,6 +10,11 @@ export declare const crudButtonsTemplate: (prefix: string, position: CrudMenuPos
|
|
|
10
10
|
*/
|
|
11
11
|
export declare const headerCrudAreaTemplate: (prefix: string) => import("@microsoft/fast-element").ViewTemplate<EntityManagement, any>;
|
|
12
12
|
export declare const exportHeader: (prefix: string) => import("@microsoft/fast-element").ViewTemplate<EntityManagement, any>;
|
|
13
|
+
/**
|
|
14
|
+
* Column Selection button + popover ({@link ColumnSelection}).
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const columnSelectionTemplate: (prefix: string) => import("@microsoft/fast-element").ViewTemplate<EntityManagement, any>;
|
|
13
18
|
/**
|
|
14
19
|
* @internal
|
|
15
20
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAOA,OAAO,EAAiB,gBAAgB,EAAc,MAAM,UAAU,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AA4EnD;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAC9B,QAAQ,MAAM,EACd,UAAU,gBAAgB,0EAmD3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,GAAI,QAAQ,MAAM,0EAiBpD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,0EAU1C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,GAAI,QAAQ,MAAM,0EASrD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,QAAQ,MAAM,0EAuB5C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAAI,QAAQ,MAAM,0EA4BlD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAAI,QAAQ,MAAM,0EAmHjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,QAAQ,uEAEpB,CAAC"}
|
|
@@ -300,6 +300,11 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(GenesisElem
|
|
|
300
300
|
* ```
|
|
301
301
|
*/
|
|
302
302
|
this.enableCsvExport = null;
|
|
303
|
+
/**
|
|
304
|
+
* Shows a Column Selection button in the header.
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
this.enableColumnSelection = false;
|
|
303
308
|
/**
|
|
304
309
|
* Handle custom action events from the grid
|
|
305
310
|
* @param e - CustomEvent containing the action name and row data
|
|
@@ -1414,6 +1419,9 @@ __decorate([
|
|
|
1414
1419
|
__decorate([
|
|
1415
1420
|
observable
|
|
1416
1421
|
], EntityManagement.prototype, "enableCsvExport", void 0);
|
|
1422
|
+
__decorate([
|
|
1423
|
+
attr({ mode: 'boolean', attribute: 'enable-column-selection' })
|
|
1424
|
+
], EntityManagement.prototype, "enableColumnSelection", void 0);
|
|
1417
1425
|
__decorate([
|
|
1418
1426
|
volatile
|
|
1419
1427
|
], EntityManagement.prototype, "currentFormResourceName", null);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { isAIFeatureEnabled } from '@genesislcap/foundation-ai';
|
|
2
2
|
import { Form } from '@genesislcap/foundation-forms';
|
|
3
3
|
import { avoidTreeShaking, sync } from '@genesislcap/foundation-utils';
|
|
4
|
+
import { ColumnSelection } from '@genesislcap/grid-pro';
|
|
4
5
|
import { html, ref, when, repeat } from '@genesislcap/web-core';
|
|
5
6
|
import { List } from '../list';
|
|
6
7
|
import { ModalFormType, CrudMenuPosition, CrudAction } from '../types';
|
|
7
|
-
avoidTreeShaking(List, Form);
|
|
8
|
+
avoidTreeShaking(List, Form, ColumnSelection);
|
|
8
9
|
/**
|
|
9
10
|
* Custom action button template for a specific position
|
|
10
11
|
*/
|
|
@@ -123,6 +124,17 @@ export const exportHeader = (prefix) => html `
|
|
|
123
124
|
>${buttonName}</${prefix}-button>`;
|
|
124
125
|
}}
|
|
125
126
|
`;
|
|
127
|
+
/**
|
|
128
|
+
* Column Selection button + popover ({@link ColumnSelection}).
|
|
129
|
+
* @internal
|
|
130
|
+
*/
|
|
131
|
+
export const columnSelectionTemplate = (prefix) => html `
|
|
132
|
+
${when((x) => x.enableColumnSelection, html `
|
|
133
|
+
<${prefix}-column-selection
|
|
134
|
+
:gridHost="${(x) => { var _a; return (_a = x.entityListRef) === null || _a === void 0 ? void 0 : _a.grid; }}"
|
|
135
|
+
></${prefix}-column-selection>
|
|
136
|
+
`)}
|
|
137
|
+
`;
|
|
126
138
|
/**
|
|
127
139
|
* @internal
|
|
128
140
|
*/
|
|
@@ -141,7 +153,7 @@ export const headerTemplate = (prefix) => html `
|
|
|
141
153
|
placeholder="Describe your search criteria in natural language..."
|
|
142
154
|
></${prefix}-ai-criteria-search>
|
|
143
155
|
`)}
|
|
144
|
-
${exportHeader(prefix)} ${headerCrudAreaTemplate(prefix)}
|
|
156
|
+
${exportHeader(prefix)} ${headerCrudAreaTemplate(prefix)} ${columnSelectionTemplate(prefix)}
|
|
145
157
|
</div>
|
|
146
158
|
`;
|
|
147
159
|
/**
|
|
@@ -1954,6 +1954,36 @@
|
|
|
1954
1954
|
"isProtected": false,
|
|
1955
1955
|
"isAbstract": false
|
|
1956
1956
|
},
|
|
1957
|
+
{
|
|
1958
|
+
"kind": "Property",
|
|
1959
|
+
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#enableColumnSelection:member",
|
|
1960
|
+
"docComment": "/**\n * Shows a Column Selection button in the header.\n *\n * @public\n */\n",
|
|
1961
|
+
"excerptTokens": [
|
|
1962
|
+
{
|
|
1963
|
+
"kind": "Content",
|
|
1964
|
+
"text": "enableColumnSelection: "
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"kind": "Content",
|
|
1968
|
+
"text": "boolean"
|
|
1969
|
+
},
|
|
1970
|
+
{
|
|
1971
|
+
"kind": "Content",
|
|
1972
|
+
"text": ";"
|
|
1973
|
+
}
|
|
1974
|
+
],
|
|
1975
|
+
"isReadonly": false,
|
|
1976
|
+
"isOptional": false,
|
|
1977
|
+
"releaseTag": "Public",
|
|
1978
|
+
"name": "enableColumnSelection",
|
|
1979
|
+
"propertyTypeTokenRange": {
|
|
1980
|
+
"startIndex": 1,
|
|
1981
|
+
"endIndex": 2
|
|
1982
|
+
},
|
|
1983
|
+
"isStatic": false,
|
|
1984
|
+
"isProtected": false,
|
|
1985
|
+
"isAbstract": false
|
|
1986
|
+
},
|
|
1957
1987
|
{
|
|
1958
1988
|
"kind": "Property",
|
|
1959
1989
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#enableCsvExport:member",
|
|
@@ -727,6 +727,11 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
727
727
|
buttonName?: string;
|
|
728
728
|
fileName?: string;
|
|
729
729
|
} | null;
|
|
730
|
+
/**
|
|
731
|
+
* Shows a Column Selection button in the header.
|
|
732
|
+
* @public
|
|
733
|
+
*/
|
|
734
|
+
enableColumnSelection: boolean;
|
|
730
735
|
/**
|
|
731
736
|
* The Id of the crud buttons wrapper element
|
|
732
737
|
* @internal
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-entity-management",
|
|
3
3
|
"description": "Genesis Foundation Entity Management",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.26.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -54,33 +54,33 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@genesislcap/foundation-testing": "15.
|
|
58
|
-
"@genesislcap/genx": "15.
|
|
59
|
-
"@genesislcap/rollup-builder": "15.
|
|
60
|
-
"@genesislcap/ts-builder": "15.
|
|
61
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
62
|
-
"@genesislcap/vite-builder": "15.
|
|
63
|
-
"@genesislcap/webpack-builder": "15.
|
|
57
|
+
"@genesislcap/foundation-testing": "15.26.0",
|
|
58
|
+
"@genesislcap/genx": "15.26.0",
|
|
59
|
+
"@genesislcap/rollup-builder": "15.26.0",
|
|
60
|
+
"@genesislcap/ts-builder": "15.26.0",
|
|
61
|
+
"@genesislcap/uvu-playwright-builder": "15.26.0",
|
|
62
|
+
"@genesislcap/vite-builder": "15.26.0",
|
|
63
|
+
"@genesislcap/webpack-builder": "15.26.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"@ag-grid-community/core": "29.2.0",
|
|
67
67
|
"ag-grid-community": "36.0.0"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@genesislcap/foundation-ai": "15.
|
|
71
|
-
"@genesislcap/foundation-auth": "15.
|
|
72
|
-
"@genesislcap/foundation-comms": "15.
|
|
73
|
-
"@genesislcap/foundation-errors": "15.
|
|
74
|
-
"@genesislcap/foundation-events": "15.
|
|
75
|
-
"@genesislcap/foundation-forms": "15.
|
|
76
|
-
"@genesislcap/foundation-logger": "15.
|
|
77
|
-
"@genesislcap/foundation-notifications": "15.
|
|
78
|
-
"@genesislcap/foundation-ui": "15.
|
|
79
|
-
"@genesislcap/foundation-utils": "15.
|
|
80
|
-
"@genesislcap/foundation-zero": "15.
|
|
81
|
-
"@genesislcap/foundation-zero-grid-pro": "15.
|
|
82
|
-
"@genesislcap/grid-pro": "15.
|
|
83
|
-
"@genesislcap/web-core": "15.
|
|
70
|
+
"@genesislcap/foundation-ai": "15.26.0",
|
|
71
|
+
"@genesislcap/foundation-auth": "15.26.0",
|
|
72
|
+
"@genesislcap/foundation-comms": "15.26.0",
|
|
73
|
+
"@genesislcap/foundation-errors": "15.26.0",
|
|
74
|
+
"@genesislcap/foundation-events": "15.26.0",
|
|
75
|
+
"@genesislcap/foundation-forms": "15.26.0",
|
|
76
|
+
"@genesislcap/foundation-logger": "15.26.0",
|
|
77
|
+
"@genesislcap/foundation-notifications": "15.26.0",
|
|
78
|
+
"@genesislcap/foundation-ui": "15.26.0",
|
|
79
|
+
"@genesislcap/foundation-utils": "15.26.0",
|
|
80
|
+
"@genesislcap/foundation-zero": "15.26.0",
|
|
81
|
+
"@genesislcap/foundation-zero-grid-pro": "15.26.0",
|
|
82
|
+
"@genesislcap/grid-pro": "15.26.0",
|
|
83
|
+
"@genesislcap/web-core": "15.26.0",
|
|
84
84
|
"change-case": "^4.1.2"
|
|
85
85
|
},
|
|
86
86
|
"repository": {
|