@genesislcap/foundation-entity-management 14.428.0 → 14.428.1
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.
|
@@ -12,22 +12,93 @@ import { ActionsMenuStyle, CrudAction, CrudMenuPosition, CustomAction, CustomAct
|
|
|
12
12
|
/**
|
|
13
13
|
* The attribute which is set to configure the resource that the entity manager is working with
|
|
14
14
|
*
|
|
15
|
+
* Because this type is `Omit<DatasourceOptions, 'resourceName'>`, you can configure
|
|
16
|
+
* query behavior (filtering, sort, limits, polling, request payloads), while
|
|
17
|
+
* `resourceName` remains configured directly on `entity-management`.
|
|
18
|
+
*
|
|
19
|
+
* Supported properties:
|
|
20
|
+
* - `criteria`: filter expression applied to the datasource
|
|
21
|
+
* - `disablePolling`: disables polling for request/reply resources
|
|
22
|
+
* - `fields`: comma-separated fields to return (DATASERVER resources)
|
|
23
|
+
* - `isSnapshot`: treat datasource as a snapshot instead of streaming updates
|
|
24
|
+
* - `maxRows`: max rows returned
|
|
25
|
+
* - `maxView`: max rows tracked in the client-side view
|
|
26
|
+
* - `movingView`: controls behavior when real-time rows arrive
|
|
27
|
+
* - `offset`: starting row offset
|
|
28
|
+
* - `pollingInterval`: polling interval in milliseconds
|
|
29
|
+
* - `pollTriggerEvents`: event names that trigger an extra poll
|
|
30
|
+
* - `request`: payload sent to request/reply resources
|
|
31
|
+
* - `requestAutoSetup`: auto-generates request shape from metadata
|
|
32
|
+
* - `viewNumber`: current page/view number
|
|
33
|
+
* - `orderBy`: field used for sorting
|
|
34
|
+
* - `reverse`: reverse sort order
|
|
35
|
+
*
|
|
15
36
|
* @public
|
|
16
37
|
*
|
|
17
38
|
* @example
|
|
18
39
|
* ```javascript
|
|
19
40
|
* type DatasourceConfiguration = {
|
|
20
41
|
* criteria?: string;
|
|
42
|
+
* disablePolling?: boolean;
|
|
21
43
|
* fields?: string;
|
|
22
44
|
* isSnapshot?: boolean;
|
|
23
45
|
* maxRows?: number;
|
|
24
46
|
* maxView?: number;
|
|
25
47
|
* movingView?: boolean;
|
|
48
|
+
* offset?: number;
|
|
26
49
|
* pollingInterval?: number;
|
|
50
|
+
* pollTriggerEvents?: string[];
|
|
51
|
+
* request?: any;
|
|
52
|
+
* requestAutoSetup?: boolean;
|
|
53
|
+
* viewNumber?: number;
|
|
27
54
|
* orderBy?: string;
|
|
28
55
|
* reverse?: boolean;
|
|
29
56
|
* }
|
|
30
57
|
* ```
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```typescript
|
|
61
|
+
* <entity-management
|
|
62
|
+
* resourceName="ALL_COUNTERPARTYS"
|
|
63
|
+
* :datasourceConfig=${() => ({
|
|
64
|
+
* criteria: 'STATUS == "OPEN"',
|
|
65
|
+
* orderBy: 'LAST_UPDATED',
|
|
66
|
+
* reverse: true,
|
|
67
|
+
* maxRows: 200,
|
|
68
|
+
* })}
|
|
69
|
+
* ></entity-management>
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```typescript
|
|
74
|
+
* <entity-management
|
|
75
|
+
* resourceName="PROFILE_USER"
|
|
76
|
+
* :datasourceConfig=${() => ({
|
|
77
|
+
* request: {
|
|
78
|
+
* PROFILE_NAME: 'ADMIN',
|
|
79
|
+
* RIGHT_CODE: '*',
|
|
80
|
+
* },
|
|
81
|
+
* requestAutoSetup: true,
|
|
82
|
+
* disablePolling: true,
|
|
83
|
+
* })}
|
|
84
|
+
* ></entity-management>
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* ```typescript
|
|
89
|
+
* <entity-management
|
|
90
|
+
* resourceName="ALL_COUNTERPARTYS"
|
|
91
|
+
* :datasourceConfig=${() => ({
|
|
92
|
+
* pollingInterval: 10000,
|
|
93
|
+
* pollTriggerEvents: [
|
|
94
|
+
* 'EVENT_COUNTERPARTY_INSERT',
|
|
95
|
+
* 'EVENT_COUNTERPARTY_MODIFY',
|
|
96
|
+
* 'EVENT_COUNTERPARTY_DELETE',
|
|
97
|
+
* 'EVENT_REFERENCE_DATA_REFRESHED',
|
|
98
|
+
* ],
|
|
99
|
+
* })}
|
|
100
|
+
* ></entity-management>
|
|
101
|
+
* ```
|
|
31
102
|
*/
|
|
32
103
|
export type DatasourceConfiguration = Omit<DatasourceOptions, 'resourceName'>;
|
|
33
104
|
declare const EntityManagement_base: (new (...args: any[]) => {
|
|
@@ -142,7 +213,29 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
142
213
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
143
214
|
removeAttributeNode(attr: Attr): Attr;
|
|
144
215
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
145
|
-
requestPointerLock(options
|
|
216
|
+
requestPointerLock(options
|
|
217
|
+
/**
|
|
218
|
+
* This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.
|
|
219
|
+
*
|
|
220
|
+
* @remarks
|
|
221
|
+
*
|
|
222
|
+
* Setting this value will set the entity manager to persist the column states through page refreshes etc. An example of what is stored is when the user resizes or reorders columns.
|
|
223
|
+
* This value must be unique for each table in your app otherwise the persisted data will be corrupted.
|
|
224
|
+
* There is an option on the grid for the user to reset the table to the default layout if they wish.
|
|
225
|
+
* If you omit this attribute then nothing is persisted
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
? /**
|
|
229
|
+
* This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.
|
|
230
|
+
*
|
|
231
|
+
* @remarks
|
|
232
|
+
*
|
|
233
|
+
* Setting this value will set the entity manager to persist the column states through page refreshes etc. An example of what is stored is when the user resizes or reorders columns.
|
|
234
|
+
* This value must be unique for each table in your app otherwise the persisted data will be corrupted.
|
|
235
|
+
* There is an option on the grid for the user to reset the table to the default layout if they wish.
|
|
236
|
+
* If you omit this attribute then nothing is persisted
|
|
237
|
+
* @public
|
|
238
|
+
*/: PointerLockOptions): Promise<void>;
|
|
146
239
|
scroll(options?: ScrollToOptions): void;
|
|
147
240
|
scroll(x: number, y: number): void;
|
|
148
241
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -280,10 +373,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
280
373
|
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
281
374
|
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
282
375
|
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
283
|
-
replaceChildren(...
|
|
284
|
-
* Determines where the filters modal will appear on screen
|
|
285
|
-
* @public
|
|
286
|
-
*/nodes: (Node | string)[]): void;
|
|
376
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
287
377
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
288
378
|
readonly attributeStyleMap: StylePropertyMap;
|
|
289
379
|
get style(): CSSStyleDeclaration;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrF,OAAO,EACL,OAAO,EACP,iBAAiB,EAGjB,YAAY,EAEb,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,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,4B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IACI,gBAAgB,CAAC,KAAK,EAAE,WAAW,CAAC,qBAAqB,CAAC;IAUjE;;;;OAIG;IACU,iBAAiB,CAAC,cAAc,GAAE,OAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAM7E;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IA6BjC,gBAAgB;IACV,eAAe;CAkCtB"}
|
|
@@ -1133,7 +1133,7 @@
|
|
|
1133
1133
|
{
|
|
1134
1134
|
"kind": "TypeAlias",
|
|
1135
1135
|
"canonicalReference": "@genesislcap/foundation-entity-management!DatasourceConfiguration:type",
|
|
1136
|
-
"docComment": "/**\n * The attribute which is set to configure the resource that the entity manager is working with\n *\n * @example\n * ```javascript\n * type DatasourceConfiguration = {\n * criteria?: string;\n * fields?: string;\n * isSnapshot?: boolean;\n * maxRows?: number;\n * maxView?: number;\n * movingView?: boolean;\n * pollingInterval?: number;\n * orderBy?: string;\n * reverse?: boolean;\n * }\n * ```\n *\n * @public\n */\n",
|
|
1136
|
+
"docComment": "/**\n * The attribute which is set to configure the resource that the entity manager is working with\n *\n * Because this type is `Omit<DatasourceOptions, 'resourceName'>`, you can configure query behavior (filtering, sort, limits, polling, request payloads), while `resourceName` remains configured directly on `entity-management`.\n *\n * Supported properties: - `criteria`: filter expression applied to the datasource - `disablePolling`: disables polling for request/reply resources - `fields`: comma-separated fields to return (DATASERVER resources) - `isSnapshot`: treat datasource as a snapshot instead of streaming updates - `maxRows`: max rows returned - `maxView`: max rows tracked in the client-side view - `movingView`: controls behavior when real-time rows arrive - `offset`: starting row offset - `pollingInterval`: polling interval in milliseconds - `pollTriggerEvents`: event names that trigger an extra poll - `request`: payload sent to request/reply resources - `requestAutoSetup`: auto-generates request shape from metadata - `viewNumber`: current page/view number - `orderBy`: field used for sorting - `reverse`: reverse sort order\n *\n * @example\n * ```javascript\n * type DatasourceConfiguration = {\n * criteria?: string;\n * disablePolling?: boolean;\n * fields?: string;\n * isSnapshot?: boolean;\n * maxRows?: number;\n * maxView?: number;\n * movingView?: boolean;\n * offset?: number;\n * pollingInterval?: number;\n * pollTriggerEvents?: string[];\n * request?: any;\n * requestAutoSetup?: boolean;\n * viewNumber?: number;\n * orderBy?: string;\n * reverse?: boolean;\n * }\n * ```\n *\n * @example\n * ```typescript\n * <entity-management\n * resourceName=\"ALL_COUNTERPARTYS\"\n * :datasourceConfig=${() => ({\n * criteria: 'STATUS == \"OPEN\"',\n * orderBy: 'LAST_UPDATED',\n * reverse: true,\n * maxRows: 200,\n * })}\n * ></entity-management>\n * ```\n *\n * @example\n * ```typescript\n * <entity-management\n * resourceName=\"PROFILE_USER\"\n * :datasourceConfig=${() => ({\n * request: {\n * PROFILE_NAME: 'ADMIN',\n * RIGHT_CODE: '*',\n * },\n * requestAutoSetup: true,\n * disablePolling: true,\n * })}\n * ></entity-management>\n * ```\n *\n * @example\n * ```typescript\n * <entity-management\n * resourceName=\"ALL_COUNTERPARTYS\"\n * :datasourceConfig=${() => ({\n * pollingInterval: 10000,\n * pollTriggerEvents: [\n * 'EVENT_COUNTERPARTY_INSERT',\n * 'EVENT_COUNTERPARTY_MODIFY',\n * 'EVENT_COUNTERPARTY_DELETE',\n * 'EVENT_REFERENCE_DATA_REFRESHED',\n * ],\n * })}\n * ></entity-management>\n * ```\n *\n * @public\n */\n",
|
|
1137
1137
|
"excerptTokens": [
|
|
1138
1138
|
{
|
|
1139
1139
|
"kind": "Content",
|
|
@@ -126,22 +126,93 @@ export declare interface CustomActionState {
|
|
|
126
126
|
/**
|
|
127
127
|
* The attribute which is set to configure the resource that the entity manager is working with
|
|
128
128
|
*
|
|
129
|
+
* Because this type is `Omit<DatasourceOptions, 'resourceName'>`, you can configure
|
|
130
|
+
* query behavior (filtering, sort, limits, polling, request payloads), while
|
|
131
|
+
* `resourceName` remains configured directly on `entity-management`.
|
|
132
|
+
*
|
|
133
|
+
* Supported properties:
|
|
134
|
+
* - `criteria`: filter expression applied to the datasource
|
|
135
|
+
* - `disablePolling`: disables polling for request/reply resources
|
|
136
|
+
* - `fields`: comma-separated fields to return (DATASERVER resources)
|
|
137
|
+
* - `isSnapshot`: treat datasource as a snapshot instead of streaming updates
|
|
138
|
+
* - `maxRows`: max rows returned
|
|
139
|
+
* - `maxView`: max rows tracked in the client-side view
|
|
140
|
+
* - `movingView`: controls behavior when real-time rows arrive
|
|
141
|
+
* - `offset`: starting row offset
|
|
142
|
+
* - `pollingInterval`: polling interval in milliseconds
|
|
143
|
+
* - `pollTriggerEvents`: event names that trigger an extra poll
|
|
144
|
+
* - `request`: payload sent to request/reply resources
|
|
145
|
+
* - `requestAutoSetup`: auto-generates request shape from metadata
|
|
146
|
+
* - `viewNumber`: current page/view number
|
|
147
|
+
* - `orderBy`: field used for sorting
|
|
148
|
+
* - `reverse`: reverse sort order
|
|
149
|
+
*
|
|
129
150
|
* @public
|
|
130
151
|
*
|
|
131
152
|
* @example
|
|
132
153
|
* ```javascript
|
|
133
154
|
* type DatasourceConfiguration = {
|
|
134
155
|
* criteria?: string;
|
|
156
|
+
* disablePolling?: boolean;
|
|
135
157
|
* fields?: string;
|
|
136
158
|
* isSnapshot?: boolean;
|
|
137
159
|
* maxRows?: number;
|
|
138
160
|
* maxView?: number;
|
|
139
161
|
* movingView?: boolean;
|
|
162
|
+
* offset?: number;
|
|
140
163
|
* pollingInterval?: number;
|
|
164
|
+
* pollTriggerEvents?: string[];
|
|
165
|
+
* request?: any;
|
|
166
|
+
* requestAutoSetup?: boolean;
|
|
167
|
+
* viewNumber?: number;
|
|
141
168
|
* orderBy?: string;
|
|
142
169
|
* reverse?: boolean;
|
|
143
170
|
* }
|
|
144
171
|
* ```
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* ```typescript
|
|
175
|
+
* <entity-management
|
|
176
|
+
* resourceName="ALL_COUNTERPARTYS"
|
|
177
|
+
* :datasourceConfig=${() => ({
|
|
178
|
+
* criteria: 'STATUS == "OPEN"',
|
|
179
|
+
* orderBy: 'LAST_UPDATED',
|
|
180
|
+
* reverse: true,
|
|
181
|
+
* maxRows: 200,
|
|
182
|
+
* })}
|
|
183
|
+
* ></entity-management>
|
|
184
|
+
* ```
|
|
185
|
+
*
|
|
186
|
+
* @example
|
|
187
|
+
* ```typescript
|
|
188
|
+
* <entity-management
|
|
189
|
+
* resourceName="PROFILE_USER"
|
|
190
|
+
* :datasourceConfig=${() => ({
|
|
191
|
+
* request: {
|
|
192
|
+
* PROFILE_NAME: 'ADMIN',
|
|
193
|
+
* RIGHT_CODE: '*',
|
|
194
|
+
* },
|
|
195
|
+
* requestAutoSetup: true,
|
|
196
|
+
* disablePolling: true,
|
|
197
|
+
* })}
|
|
198
|
+
* ></entity-management>
|
|
199
|
+
* ```
|
|
200
|
+
*
|
|
201
|
+
* @example
|
|
202
|
+
* ```typescript
|
|
203
|
+
* <entity-management
|
|
204
|
+
* resourceName="ALL_COUNTERPARTYS"
|
|
205
|
+
* :datasourceConfig=${() => ({
|
|
206
|
+
* pollingInterval: 10000,
|
|
207
|
+
* pollTriggerEvents: [
|
|
208
|
+
* 'EVENT_COUNTERPARTY_INSERT',
|
|
209
|
+
* 'EVENT_COUNTERPARTY_MODIFY',
|
|
210
|
+
* 'EVENT_COUNTERPARTY_DELETE',
|
|
211
|
+
* 'EVENT_REFERENCE_DATA_REFRESHED',
|
|
212
|
+
* ],
|
|
213
|
+
* })}
|
|
214
|
+
* ></entity-management>
|
|
215
|
+
* ```
|
|
145
216
|
*/
|
|
146
217
|
export declare type DatasourceConfiguration = Omit<DatasourceOptions, 'resourceName'>;
|
|
147
218
|
|
|
@@ -1001,7 +1072,29 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
1001
1072
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
1002
1073
|
removeAttributeNode(attr: Attr): Attr;
|
|
1003
1074
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
1004
|
-
requestPointerLock(options
|
|
1075
|
+
requestPointerLock(options
|
|
1076
|
+
/**
|
|
1077
|
+
* This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.
|
|
1078
|
+
*
|
|
1079
|
+
* @remarks
|
|
1080
|
+
*
|
|
1081
|
+
* Setting this value will set the entity manager to persist the column states through page refreshes etc. An example of what is stored is when the user resizes or reorders columns.
|
|
1082
|
+
* This value must be unique for each table in your app otherwise the persisted data will be corrupted.
|
|
1083
|
+
* There is an option on the grid for the user to reset the table to the default layout if they wish.
|
|
1084
|
+
* If you omit this attribute then nothing is persisted
|
|
1085
|
+
* @public
|
|
1086
|
+
*/
|
|
1087
|
+
? /**
|
|
1088
|
+
* This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.
|
|
1089
|
+
*
|
|
1090
|
+
* @remarks
|
|
1091
|
+
*
|
|
1092
|
+
* Setting this value will set the entity manager to persist the column states through page refreshes etc. An example of what is stored is when the user resizes or reorders columns.
|
|
1093
|
+
* This value must be unique for each table in your app otherwise the persisted data will be corrupted.
|
|
1094
|
+
* There is an option on the grid for the user to reset the table to the default layout if they wish.
|
|
1095
|
+
* If you omit this attribute then nothing is persisted
|
|
1096
|
+
* @public
|
|
1097
|
+
*/: PointerLockOptions): Promise<void>;
|
|
1005
1098
|
scroll(options?: ScrollToOptions): void;
|
|
1006
1099
|
scroll(x: number, y: number): void;
|
|
1007
1100
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -1139,10 +1232,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
1139
1232
|
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
1140
1233
|
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
1141
1234
|
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
1142
|
-
replaceChildren(...
|
|
1143
|
-
* Determines where the filters modal will appear on screen
|
|
1144
|
-
* @public
|
|
1145
|
-
*/nodes: (Node | string)[]): void;
|
|
1235
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
1146
1236
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
1147
1237
|
readonly attributeStyleMap: StylePropertyMap;
|
|
1148
1238
|
get style(): CSSStyleDeclaration;
|
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": "14.428.
|
|
4
|
+
"version": "14.428.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -54,32 +54,32 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@genesislcap/foundation-testing": "14.428.
|
|
58
|
-
"@genesislcap/genx": "14.428.
|
|
59
|
-
"@genesislcap/rollup-builder": "14.428.
|
|
60
|
-
"@genesislcap/ts-builder": "14.428.
|
|
61
|
-
"@genesislcap/uvu-playwright-builder": "14.428.
|
|
62
|
-
"@genesislcap/vite-builder": "14.428.
|
|
63
|
-
"@genesislcap/webpack-builder": "14.428.
|
|
57
|
+
"@genesislcap/foundation-testing": "14.428.1",
|
|
58
|
+
"@genesislcap/genx": "14.428.1",
|
|
59
|
+
"@genesislcap/rollup-builder": "14.428.1",
|
|
60
|
+
"@genesislcap/ts-builder": "14.428.1",
|
|
61
|
+
"@genesislcap/uvu-playwright-builder": "14.428.1",
|
|
62
|
+
"@genesislcap/vite-builder": "14.428.1",
|
|
63
|
+
"@genesislcap/webpack-builder": "14.428.1"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"@ag-grid-community/core": "29.2.0"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@genesislcap/foundation-ai": "14.428.
|
|
70
|
-
"@genesislcap/foundation-comms": "14.428.
|
|
71
|
-
"@genesislcap/foundation-errors": "14.428.
|
|
72
|
-
"@genesislcap/foundation-events": "14.428.
|
|
73
|
-
"@genesislcap/foundation-forms": "14.428.
|
|
74
|
-
"@genesislcap/foundation-logger": "14.428.
|
|
75
|
-
"@genesislcap/foundation-login": "14.428.
|
|
76
|
-
"@genesislcap/foundation-notifications": "14.428.
|
|
77
|
-
"@genesislcap/foundation-ui": "14.428.
|
|
78
|
-
"@genesislcap/foundation-utils": "14.428.
|
|
79
|
-
"@genesislcap/foundation-zero": "14.428.
|
|
80
|
-
"@genesislcap/foundation-zero-grid-pro": "14.428.
|
|
81
|
-
"@genesislcap/grid-pro": "14.428.
|
|
82
|
-
"@genesislcap/web-core": "14.428.
|
|
69
|
+
"@genesislcap/foundation-ai": "14.428.1",
|
|
70
|
+
"@genesislcap/foundation-comms": "14.428.1",
|
|
71
|
+
"@genesislcap/foundation-errors": "14.428.1",
|
|
72
|
+
"@genesislcap/foundation-events": "14.428.1",
|
|
73
|
+
"@genesislcap/foundation-forms": "14.428.1",
|
|
74
|
+
"@genesislcap/foundation-logger": "14.428.1",
|
|
75
|
+
"@genesislcap/foundation-login": "14.428.1",
|
|
76
|
+
"@genesislcap/foundation-notifications": "14.428.1",
|
|
77
|
+
"@genesislcap/foundation-ui": "14.428.1",
|
|
78
|
+
"@genesislcap/foundation-utils": "14.428.1",
|
|
79
|
+
"@genesislcap/foundation-zero": "14.428.1",
|
|
80
|
+
"@genesislcap/foundation-zero-grid-pro": "14.428.1",
|
|
81
|
+
"@genesislcap/grid-pro": "14.428.1",
|
|
82
|
+
"@genesislcap/web-core": "14.428.1",
|
|
83
83
|
"change-case": "^4.1.2"
|
|
84
84
|
},
|
|
85
85
|
"repository": {
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"require": "./dist/react.cjs"
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "d0e41cc5c5065743cafe34d97ccf4a83480436f1"
|
|
106
106
|
}
|