@genesislcap/foundation-entity-management 14.268.0 → 14.268.2
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 +49 -49
- package/dist/dts/entities/entities.d.ts +43 -28
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/entities/entities.template.d.ts.map +1 -1
- package/dist/esm/entities/entities.js +41 -7
- package/dist/esm/entities/entities.template.js +1 -0
- package/dist/foundation-entity-management.d.ts +436 -29
- package/docs/api-report.md +7 -1
- package/package.json +21 -21
|
@@ -2595,6 +2595,55 @@
|
|
|
2595
2595
|
}
|
|
2596
2596
|
]
|
|
2597
2597
|
},
|
|
2598
|
+
{
|
|
2599
|
+
"kind": "javascript-module",
|
|
2600
|
+
"path": "src/layouts/default.ts",
|
|
2601
|
+
"declarations": [
|
|
2602
|
+
{
|
|
2603
|
+
"kind": "variable",
|
|
2604
|
+
"name": "loginLayout",
|
|
2605
|
+
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
2606
|
+
},
|
|
2607
|
+
{
|
|
2608
|
+
"kind": "variable",
|
|
2609
|
+
"name": "defaultLayout",
|
|
2610
|
+
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
2611
|
+
}
|
|
2612
|
+
],
|
|
2613
|
+
"exports": [
|
|
2614
|
+
{
|
|
2615
|
+
"kind": "js",
|
|
2616
|
+
"name": "loginLayout",
|
|
2617
|
+
"declaration": {
|
|
2618
|
+
"name": "loginLayout",
|
|
2619
|
+
"module": "src/layouts/default.ts"
|
|
2620
|
+
}
|
|
2621
|
+
},
|
|
2622
|
+
{
|
|
2623
|
+
"kind": "js",
|
|
2624
|
+
"name": "defaultLayout",
|
|
2625
|
+
"declaration": {
|
|
2626
|
+
"name": "defaultLayout",
|
|
2627
|
+
"module": "src/layouts/default.ts"
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
]
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
"kind": "javascript-module",
|
|
2634
|
+
"path": "src/layouts/index.ts",
|
|
2635
|
+
"declarations": [],
|
|
2636
|
+
"exports": [
|
|
2637
|
+
{
|
|
2638
|
+
"kind": "js",
|
|
2639
|
+
"name": "*",
|
|
2640
|
+
"declaration": {
|
|
2641
|
+
"name": "*",
|
|
2642
|
+
"package": "./default"
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
]
|
|
2646
|
+
},
|
|
2598
2647
|
{
|
|
2599
2648
|
"kind": "javascript-module",
|
|
2600
2649
|
"path": "src/main/index.ts",
|
|
@@ -2740,55 +2789,6 @@
|
|
|
2740
2789
|
}
|
|
2741
2790
|
]
|
|
2742
2791
|
},
|
|
2743
|
-
{
|
|
2744
|
-
"kind": "javascript-module",
|
|
2745
|
-
"path": "src/layouts/default.ts",
|
|
2746
|
-
"declarations": [
|
|
2747
|
-
{
|
|
2748
|
-
"kind": "variable",
|
|
2749
|
-
"name": "loginLayout",
|
|
2750
|
-
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
2751
|
-
},
|
|
2752
|
-
{
|
|
2753
|
-
"kind": "variable",
|
|
2754
|
-
"name": "defaultLayout",
|
|
2755
|
-
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
2756
|
-
}
|
|
2757
|
-
],
|
|
2758
|
-
"exports": [
|
|
2759
|
-
{
|
|
2760
|
-
"kind": "js",
|
|
2761
|
-
"name": "loginLayout",
|
|
2762
|
-
"declaration": {
|
|
2763
|
-
"name": "loginLayout",
|
|
2764
|
-
"module": "src/layouts/default.ts"
|
|
2765
|
-
}
|
|
2766
|
-
},
|
|
2767
|
-
{
|
|
2768
|
-
"kind": "js",
|
|
2769
|
-
"name": "defaultLayout",
|
|
2770
|
-
"declaration": {
|
|
2771
|
-
"name": "defaultLayout",
|
|
2772
|
-
"module": "src/layouts/default.ts"
|
|
2773
|
-
}
|
|
2774
|
-
}
|
|
2775
|
-
]
|
|
2776
|
-
},
|
|
2777
|
-
{
|
|
2778
|
-
"kind": "javascript-module",
|
|
2779
|
-
"path": "src/layouts/index.ts",
|
|
2780
|
-
"declarations": [],
|
|
2781
|
-
"exports": [
|
|
2782
|
-
{
|
|
2783
|
-
"kind": "js",
|
|
2784
|
-
"name": "*",
|
|
2785
|
-
"declaration": {
|
|
2786
|
-
"name": "*",
|
|
2787
|
-
"package": "./default"
|
|
2788
|
-
}
|
|
2789
|
-
}
|
|
2790
|
-
]
|
|
2791
|
-
},
|
|
2792
2792
|
{
|
|
2793
2793
|
"kind": "javascript-module",
|
|
2794
2794
|
"path": "src/routes/config.ts",
|
|
@@ -6,6 +6,7 @@ import { Modal } from '@genesislcap/foundation-ui';
|
|
|
6
6
|
import { AvailableOption, SelectedOption } from '@genesislcap/foundation-ui';
|
|
7
7
|
import type { DatasourceType, GridProCaseType } from '@genesislcap/grid-pro';
|
|
8
8
|
import { FASTElement } from '@microsoft/fast-element';
|
|
9
|
+
import { List } from '../list';
|
|
9
10
|
import { CrudMenuPosition, ActionsMenuStyle, ModalFormType, CrudAction } from '../types';
|
|
10
11
|
/**
|
|
11
12
|
* The attribute which is set to configure the resource that the entity manager is working with
|
|
@@ -60,10 +61,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
60
61
|
readonly offsetTop: number;
|
|
61
62
|
readonly offsetWidth: number;
|
|
62
63
|
outerText: string;
|
|
63
|
-
spellcheck: boolean;
|
|
64
|
-
* Name of the event handler on the Genesis server which handles creating an entity
|
|
65
|
-
* @public
|
|
66
|
-
*/
|
|
64
|
+
spellcheck: boolean;
|
|
67
65
|
title: string;
|
|
68
66
|
translate: boolean;
|
|
69
67
|
attachInternals(): ElementInternals;
|
|
@@ -74,6 +72,11 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
74
72
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
75
73
|
readonly attributes: NamedNodeMap;
|
|
76
74
|
readonly classList: DOMTokenList;
|
|
75
|
+
/**
|
|
76
|
+
* Whether to use the `applyTransactionAsync` function for *update* transactions
|
|
77
|
+
* @remarks Defaults to true
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
77
80
|
className: string;
|
|
78
81
|
readonly clientHeight: number;
|
|
79
82
|
readonly clientLeft: number;
|
|
@@ -92,10 +95,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
92
95
|
scrollLeft: number;
|
|
93
96
|
scrollTop: number;
|
|
94
97
|
readonly scrollWidth: number;
|
|
95
|
-
readonly shadowRoot: ShadowRoot;
|
|
96
|
-
* If true, will enable row flashing for all rows for `add` transactions
|
|
97
|
-
* @public
|
|
98
|
-
*/
|
|
98
|
+
readonly shadowRoot: ShadowRoot;
|
|
99
99
|
slot: string;
|
|
100
100
|
readonly tagName: string;
|
|
101
101
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
@@ -166,10 +166,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
166
166
|
isDefaultNamespace(namespace: string): boolean;
|
|
167
167
|
isEqualNode(otherNode: Node): boolean;
|
|
168
168
|
isSameNode(otherNode: Node): boolean;
|
|
169
|
-
lookupNamespaceURI(prefix: string): string;
|
|
170
|
-
* Resizes columns to take available space
|
|
171
|
-
* @public
|
|
172
|
-
*/
|
|
169
|
+
lookupNamespaceURI(prefix: string): string;
|
|
173
170
|
lookupPrefix(namespace: string): string;
|
|
174
171
|
normalize(): void;
|
|
175
172
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
@@ -181,32 +178,34 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
181
178
|
readonly DOCUMENT_NODE: number;
|
|
182
179
|
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
183
180
|
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
181
|
+
/**
|
|
182
|
+
* Hides delete button
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
184
185
|
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
185
186
|
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
186
187
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
187
188
|
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
188
189
|
readonly DOCUMENT_TYPE_NODE: number;
|
|
189
190
|
readonly ELEMENT_NODE: number;
|
|
191
|
+
/**
|
|
192
|
+
* The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.
|
|
193
|
+
* @remarks Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.
|
|
194
|
+
* @public
|
|
195
|
+
*/
|
|
190
196
|
readonly ENTITY_NODE: number;
|
|
191
197
|
readonly ENTITY_REFERENCE_NODE: number;
|
|
192
198
|
readonly NOTATION_NODE: number;
|
|
193
199
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
194
200
|
readonly TEXT_NODE: number;
|
|
195
201
|
dispatchEvent(event: Event): boolean;
|
|
196
|
-
/**
|
|
197
|
-
* Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid
|
|
198
|
-
* * @public
|
|
199
|
-
*/
|
|
200
202
|
ariaAtomic: string;
|
|
201
203
|
ariaAutoComplete: string;
|
|
202
204
|
ariaBusy: string;
|
|
203
205
|
ariaChecked: string;
|
|
204
206
|
ariaColCount: string;
|
|
205
207
|
ariaColIndex: string;
|
|
206
|
-
ariaColIndexText: string;
|
|
207
|
-
* Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid
|
|
208
|
-
* * @internal
|
|
209
|
-
*/
|
|
208
|
+
ariaColIndexText: string;
|
|
210
209
|
ariaColSpan: string;
|
|
211
210
|
ariaCurrent: string;
|
|
212
211
|
ariaDisabled: string;
|
|
@@ -217,6 +216,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
217
216
|
ariaKeyShortcuts: string;
|
|
218
217
|
ariaLabel: string;
|
|
219
218
|
ariaLevel: string;
|
|
219
|
+
/**
|
|
220
|
+
* Determines where the modal dialog will appear on screen
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
220
223
|
ariaLive: string;
|
|
221
224
|
ariaModal: string;
|
|
222
225
|
ariaMultiLine: string;
|
|
@@ -235,13 +238,14 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
235
238
|
ariaSelected: string;
|
|
236
239
|
ariaSetSize: string;
|
|
237
240
|
ariaSort: string;
|
|
238
|
-
ariaValueMax: string;
|
|
239
|
-
* The Id of the crud buttons wrapper element
|
|
240
|
-
* @internal
|
|
241
|
-
*/
|
|
241
|
+
ariaValueMax: string;
|
|
242
242
|
ariaValueMin: string;
|
|
243
243
|
ariaValueNow: string;
|
|
244
244
|
ariaValueText: string;
|
|
245
|
+
/**
|
|
246
|
+
* The Id of the crud buttons wrapper element
|
|
247
|
+
* @internal
|
|
248
|
+
*/
|
|
245
249
|
role: string;
|
|
246
250
|
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
|
|
247
251
|
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
@@ -256,6 +260,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
256
260
|
readonly children: HTMLCollection;
|
|
257
261
|
readonly firstElementChild: Element;
|
|
258
262
|
readonly lastElementChild: Element;
|
|
263
|
+
/**
|
|
264
|
+
* Getter for the title of the modal form
|
|
265
|
+
* @internal
|
|
266
|
+
*/
|
|
259
267
|
append(...nodes: (string | Node)[]): void;
|
|
260
268
|
prepend(...nodes: (string | Node)[]): void;
|
|
261
269
|
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
@@ -305,10 +313,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
305
313
|
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
306
314
|
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
|
|
307
315
|
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
308
|
-
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
309
|
-
* Override the deepClone method to ensure that observable attributes are cloned
|
|
310
|
-
* @internal
|
|
311
|
-
*/
|
|
316
|
+
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
312
317
|
oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
|
|
313
318
|
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
314
319
|
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
@@ -618,6 +623,10 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
618
623
|
* @internal
|
|
619
624
|
*/
|
|
620
625
|
submitting: boolean;
|
|
626
|
+
/**
|
|
627
|
+
* @internal
|
|
628
|
+
*/
|
|
629
|
+
entityListRef: List;
|
|
621
630
|
/**
|
|
622
631
|
* The type of form that is currently being displayed in the modal
|
|
623
632
|
* @internal
|
|
@@ -731,6 +740,12 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
731
740
|
* @internal
|
|
732
741
|
*/
|
|
733
742
|
hasContentInSlot(slotName: string): boolean;
|
|
743
|
+
/**
|
|
744
|
+
* Add a property to store the base criteria, so it can be recalled when setting the
|
|
745
|
+
* criteria from the search bar.
|
|
746
|
+
* @internal
|
|
747
|
+
*/
|
|
748
|
+
private baseCriteria;
|
|
734
749
|
/**
|
|
735
750
|
* Set up the web component
|
|
736
751
|
* @internal
|
|
@@ -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,EAEjB,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;AAEzE,OAAO,EAAE,KAAK,EAAe,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE7E,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAIL,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAMzF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC
|
|
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,EAEjB,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;AAEzE,OAAO,EAAE,KAAK,EAAe,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,4BAA4B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@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAKA,OAAO,EAAiB,gBAAgB,EAAc,MAAM,UAAU,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAoBnD;;GAEG;AACH,eAAO,MAAM,mBAAmB,0BAAsB,gBAAgB,0EAkDrE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,wFAgBlC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,wFAQzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,wFAgB3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAKA,OAAO,EAAiB,gBAAgB,EAAc,MAAM,UAAU,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAoBnD;;GAEG;AACH,eAAO,MAAM,mBAAmB,0BAAsB,gBAAgB,0EAkDrE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,wFAgBlC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,wFAQzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,wFAgB3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,wFAiE/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,QAAQ,uEAEpB,CAAC"}
|
|
@@ -160,6 +160,12 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
|
|
|
160
160
|
* The label of the crud action menu
|
|
161
161
|
*/
|
|
162
162
|
this.crudActionMenuName = '⋮';
|
|
163
|
+
/**
|
|
164
|
+
* Add a property to store the base criteria, so it can be recalled when setting the
|
|
165
|
+
* criteria from the search bar.
|
|
166
|
+
* @internal
|
|
167
|
+
*/
|
|
168
|
+
this.baseCriteria = '';
|
|
163
169
|
/**
|
|
164
170
|
* Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
|
|
165
171
|
*
|
|
@@ -245,7 +251,10 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
|
|
|
245
251
|
const _super = Object.create(null, {
|
|
246
252
|
connectedCallback: { get: () => super.connectedCallback }
|
|
247
253
|
});
|
|
254
|
+
var _a;
|
|
248
255
|
return __awaiter(this, void 0, void 0, function* () {
|
|
256
|
+
// Ensure datasourceConfig always has all default fields
|
|
257
|
+
this.datasourceConfig = Object.assign(Object.assign({}, defaultDatasourceConfig.options), this.datasourceConfig);
|
|
249
258
|
_super.connectedCallback.call(this);
|
|
250
259
|
this.addEventListener('rowSelected', this.selectEntity);
|
|
251
260
|
this.addEventListener('delete-entity', this.deleteEntity);
|
|
@@ -262,6 +271,7 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
|
|
|
262
271
|
if (this.crudMenuStyle.includes('actions-')) {
|
|
263
272
|
this.generateCrudActionsMenu();
|
|
264
273
|
}
|
|
274
|
+
this.baseCriteria = ((_a = this.datasourceConfig) === null || _a === void 0 ? void 0 : _a.criteria) || '';
|
|
265
275
|
});
|
|
266
276
|
}
|
|
267
277
|
/**
|
|
@@ -372,20 +382,32 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
|
|
|
372
382
|
* @internal
|
|
373
383
|
*/
|
|
374
384
|
editEntity({ detail }) {
|
|
385
|
+
var _a, _b;
|
|
375
386
|
return __awaiter(this, void 0, void 0, function* () {
|
|
376
387
|
this.modalFormType = ModalFormType.Update;
|
|
377
388
|
this.formUiSchema = this.updateFormUiSchema;
|
|
378
389
|
this.formResourceName = this.updateEvent;
|
|
379
|
-
if
|
|
380
|
-
|
|
381
|
-
|
|
390
|
+
// Always get the freshest selected row from the grid if available
|
|
391
|
+
let formData = detail;
|
|
392
|
+
if (this.entityListRef && ((_b = (_a = this.entityListRef.grid) === null || _a === void 0 ? void 0 : _a.gridApi) === null || _b === void 0 ? void 0 : _b.getSelectedRows)) {
|
|
393
|
+
const selectedRows = this.entityListRef.grid.gridApi.getSelectedRows();
|
|
394
|
+
if (selectedRows && selectedRows.length > 0) {
|
|
395
|
+
formData = selectedRows[0];
|
|
396
|
+
}
|
|
397
|
+
else {
|
|
398
|
+
formData = null;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
if (formData) {
|
|
402
|
+
const { ROW_REF } = formData, rowData = __rest(formData, ["ROW_REF"]);
|
|
403
|
+
this.editedEntity = rowData;
|
|
382
404
|
if (this.readEventFn) {
|
|
383
|
-
const readEntityReq = yield this.readEventFn(
|
|
405
|
+
const readEntityReq = yield this.readEventFn(rowData);
|
|
384
406
|
this.editedEntity = Object.assign(Object.assign({}, this.editedEntity), readEntityReq);
|
|
385
407
|
}
|
|
386
408
|
else if (this.readEvent) {
|
|
387
409
|
const readEventReq = yield this.connect.request(this.readEvent, {
|
|
388
|
-
REQUEST:
|
|
410
|
+
REQUEST: rowData,
|
|
389
411
|
});
|
|
390
412
|
this.editedEntity = Object.assign(Object.assign({}, this.editedEntity), readEventReq.REPLY[0]);
|
|
391
413
|
}
|
|
@@ -459,17 +481,26 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
|
|
|
459
481
|
this.$emit('criteria-changed', criteriaBuilder);
|
|
460
482
|
}
|
|
461
483
|
requestChanged(e) {
|
|
484
|
+
if (!e.detail)
|
|
485
|
+
return;
|
|
462
486
|
this.datasourceConfig = Object.assign(Object.assign({}, this.datasourceConfig), { request: e.detail });
|
|
463
487
|
}
|
|
464
488
|
criteriaChanged(e) {
|
|
465
|
-
|
|
489
|
+
var _a;
|
|
490
|
+
const searchCriteria = e.detail;
|
|
491
|
+
const combinedCriteria = this.baseCriteria && searchCriteria
|
|
492
|
+
? `(${this.baseCriteria}) && (${searchCriteria})`
|
|
493
|
+
: this.baseCriteria || searchCriteria;
|
|
494
|
+
if (((_a = this.datasourceConfig) === null || _a === void 0 ? void 0 : _a.criteria) === combinedCriteria)
|
|
495
|
+
return;
|
|
496
|
+
this.datasourceConfig = Object.assign(Object.assign({}, this.datasourceConfig), { criteria: combinedCriteria });
|
|
466
497
|
}
|
|
467
498
|
submitFailureNotification(e) {
|
|
468
499
|
e.detail.errors.forEach((submitFailureError) => {
|
|
469
500
|
if (submitFailureError.CODE === 'OPTIMISTIC_CONCURRENCY_ERROR') {
|
|
470
501
|
showNotification({
|
|
471
502
|
title: 'Warning',
|
|
472
|
-
body: '
|
|
503
|
+
body: "You're editing an old revision. Please close the form and try editing again",
|
|
473
504
|
config: {
|
|
474
505
|
snackbar: {
|
|
475
506
|
type: 'error',
|
|
@@ -753,6 +784,9 @@ __decorate([
|
|
|
753
784
|
__decorate([
|
|
754
785
|
observable
|
|
755
786
|
], EntityManagement.prototype, "submitting", void 0);
|
|
787
|
+
__decorate([
|
|
788
|
+
observable
|
|
789
|
+
], EntityManagement.prototype, "entityListRef", void 0);
|
|
756
790
|
__decorate([
|
|
757
791
|
observable
|
|
758
792
|
], EntityManagement.prototype, "modalFormType", void 0);
|
|
@@ -109,6 +109,7 @@ export const getPrefixedEntities = (prefix) => html `
|
|
|
109
109
|
<slot name="header" part="header">${(x) => x.headerTempalate}</slot>
|
|
110
110
|
${when((x) => x.gridVisible, html `
|
|
111
111
|
<entity-list
|
|
112
|
+
${ref('entityListRef')}
|
|
112
113
|
title=${(x) => x.title}
|
|
113
114
|
async-add=${(x) => x.asyncAdd}
|
|
114
115
|
async-remove=${(x) => x.asyncRemove}
|
|
@@ -6,13 +6,14 @@ import { Constructable } from '@microsoft/fast-element';
|
|
|
6
6
|
import { Container } from '@microsoft/fast-foundation';
|
|
7
7
|
import { Controller } from '@microsoft/fast-element';
|
|
8
8
|
import { DatasourceOptions } from '@genesislcap/foundation-comms';
|
|
9
|
-
import
|
|
9
|
+
import { DatasourceType } from '@genesislcap/grid-pro';
|
|
10
10
|
import { DOMContainer } from '@genesislcap/foundation-utils';
|
|
11
11
|
import { FASTElement } from '@microsoft/fast-element';
|
|
12
12
|
import { FoundationAnalytics } from '@genesislcap/foundation-comms';
|
|
13
13
|
import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
|
|
14
14
|
import { GridOptions } from '@ag-grid-community/core';
|
|
15
15
|
import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
16
|
+
import { GridProGenesisDatasource } from '@genesislcap/foundation-zero-grid-pro';
|
|
16
17
|
import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
|
|
17
18
|
import { Logger } from '@genesislcap/foundation-logger';
|
|
18
19
|
import { MessageError } from '@genesislcap/foundation-comms';
|
|
@@ -28,6 +29,7 @@ import { UiSchemaElement } from '@genesislcap/foundation-forms';
|
|
|
28
29
|
import { UiSchemaElementType } from '@genesislcap/foundation-forms';
|
|
29
30
|
import { UiSchemaOptions } from '@genesislcap/foundation-forms';
|
|
30
31
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
32
|
+
import { ZeroGridPro } from '@genesislcap/foundation-zero-grid-pro';
|
|
31
33
|
|
|
32
34
|
declare enum ActionsMenuStyle {
|
|
33
35
|
Default = "default",
|
|
@@ -319,6 +321,10 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
319
321
|
* @internal
|
|
320
322
|
*/
|
|
321
323
|
submitting: boolean;
|
|
324
|
+
/**
|
|
325
|
+
* @internal
|
|
326
|
+
*/
|
|
327
|
+
entityListRef: List;
|
|
322
328
|
/**
|
|
323
329
|
* The type of form that is currently being displayed in the modal
|
|
324
330
|
* @internal
|
|
@@ -432,6 +438,12 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
432
438
|
* @internal
|
|
433
439
|
*/
|
|
434
440
|
hasContentInSlot(slotName: string): boolean;
|
|
441
|
+
/**
|
|
442
|
+
* Add a property to store the base criteria, so it can be recalled when setting the
|
|
443
|
+
* criteria from the search bar.
|
|
444
|
+
* @internal
|
|
445
|
+
*/
|
|
446
|
+
private baseCriteria;
|
|
435
447
|
/**
|
|
436
448
|
* Set up the web component
|
|
437
449
|
* @internal
|
|
@@ -573,10 +585,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
573
585
|
readonly offsetTop: number;
|
|
574
586
|
readonly offsetWidth: number;
|
|
575
587
|
outerText: string;
|
|
576
|
-
spellcheck: boolean;
|
|
577
|
-
* Name of the event handler on the Genesis server which handles creating an entity
|
|
578
|
-
* @public
|
|
579
|
-
*/
|
|
588
|
+
spellcheck: boolean;
|
|
580
589
|
title: string;
|
|
581
590
|
translate: boolean;
|
|
582
591
|
attachInternals(): ElementInternals;
|
|
@@ -587,6 +596,11 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
587
596
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
588
597
|
readonly attributes: NamedNodeMap;
|
|
589
598
|
readonly classList: DOMTokenList;
|
|
599
|
+
/**
|
|
600
|
+
* Whether to use the `applyTransactionAsync` function for *update* transactions
|
|
601
|
+
* @remarks Defaults to true
|
|
602
|
+
* @internal
|
|
603
|
+
*/
|
|
590
604
|
className: string;
|
|
591
605
|
readonly clientHeight: number;
|
|
592
606
|
readonly clientLeft: number;
|
|
@@ -605,10 +619,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
605
619
|
scrollLeft: number;
|
|
606
620
|
scrollTop: number;
|
|
607
621
|
readonly scrollWidth: number;
|
|
608
|
-
readonly shadowRoot: ShadowRoot;
|
|
609
|
-
* If true, will enable row flashing for all rows for `add` transactions
|
|
610
|
-
* @public
|
|
611
|
-
*/
|
|
622
|
+
readonly shadowRoot: ShadowRoot;
|
|
612
623
|
slot: string;
|
|
613
624
|
readonly tagName: string;
|
|
614
625
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
@@ -679,10 +690,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
679
690
|
isDefaultNamespace(namespace: string): boolean;
|
|
680
691
|
isEqualNode(otherNode: Node): boolean;
|
|
681
692
|
isSameNode(otherNode: Node): boolean;
|
|
682
|
-
lookupNamespaceURI(prefix: string): string;
|
|
683
|
-
* Resizes columns to take available space
|
|
684
|
-
* @public
|
|
685
|
-
*/
|
|
693
|
+
lookupNamespaceURI(prefix: string): string;
|
|
686
694
|
lookupPrefix(namespace: string): string;
|
|
687
695
|
normalize(): void;
|
|
688
696
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
@@ -694,32 +702,34 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
694
702
|
readonly DOCUMENT_NODE: number;
|
|
695
703
|
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
696
704
|
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
705
|
+
/**
|
|
706
|
+
* Hides delete button
|
|
707
|
+
* @public
|
|
708
|
+
*/
|
|
697
709
|
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
698
710
|
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
699
711
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
700
712
|
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
701
713
|
readonly DOCUMENT_TYPE_NODE: number;
|
|
702
714
|
readonly ELEMENT_NODE: number;
|
|
715
|
+
/**
|
|
716
|
+
* The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.
|
|
717
|
+
* @remarks Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.
|
|
718
|
+
* @public
|
|
719
|
+
*/
|
|
703
720
|
readonly ENTITY_NODE: number;
|
|
704
721
|
readonly ENTITY_REFERENCE_NODE: number;
|
|
705
722
|
readonly NOTATION_NODE: number;
|
|
706
723
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
707
724
|
readonly TEXT_NODE: number;
|
|
708
725
|
dispatchEvent(event: Event): boolean;
|
|
709
|
-
/**
|
|
710
|
-
* Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid
|
|
711
|
-
* * @public
|
|
712
|
-
*/
|
|
713
726
|
ariaAtomic: string;
|
|
714
727
|
ariaAutoComplete: string;
|
|
715
728
|
ariaBusy: string;
|
|
716
729
|
ariaChecked: string;
|
|
717
730
|
ariaColCount: string;
|
|
718
731
|
ariaColIndex: string;
|
|
719
|
-
ariaColIndexText: string;
|
|
720
|
-
* Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid
|
|
721
|
-
* * @internal
|
|
722
|
-
*/
|
|
732
|
+
ariaColIndexText: string;
|
|
723
733
|
ariaColSpan: string;
|
|
724
734
|
ariaCurrent: string;
|
|
725
735
|
ariaDisabled: string;
|
|
@@ -730,6 +740,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
730
740
|
ariaKeyShortcuts: string;
|
|
731
741
|
ariaLabel: string;
|
|
732
742
|
ariaLevel: string;
|
|
743
|
+
/**
|
|
744
|
+
* Determines where the modal dialog will appear on screen
|
|
745
|
+
* @public
|
|
746
|
+
*/
|
|
733
747
|
ariaLive: string;
|
|
734
748
|
ariaModal: string;
|
|
735
749
|
ariaMultiLine: string;
|
|
@@ -748,13 +762,14 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
748
762
|
ariaSelected: string;
|
|
749
763
|
ariaSetSize: string;
|
|
750
764
|
ariaSort: string;
|
|
751
|
-
ariaValueMax: string;
|
|
752
|
-
* The Id of the crud buttons wrapper element
|
|
753
|
-
* @internal
|
|
754
|
-
*/
|
|
765
|
+
ariaValueMax: string;
|
|
755
766
|
ariaValueMin: string;
|
|
756
767
|
ariaValueNow: string;
|
|
757
768
|
ariaValueText: string;
|
|
769
|
+
/**
|
|
770
|
+
* The Id of the crud buttons wrapper element
|
|
771
|
+
* @internal
|
|
772
|
+
*/
|
|
758
773
|
role: string;
|
|
759
774
|
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
|
|
760
775
|
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
@@ -769,6 +784,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
769
784
|
readonly children: HTMLCollection;
|
|
770
785
|
readonly firstElementChild: Element;
|
|
771
786
|
readonly lastElementChild: Element;
|
|
787
|
+
/**
|
|
788
|
+
* Getter for the title of the modal form
|
|
789
|
+
* @internal
|
|
790
|
+
*/
|
|
772
791
|
append(...nodes: (string | Node)[]): void;
|
|
773
792
|
prepend(...nodes: (string | Node)[]): void;
|
|
774
793
|
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
@@ -818,10 +837,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
818
837
|
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
819
838
|
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
|
|
820
839
|
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
821
|
-
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
822
|
-
* Override the deepClone method to ensure that observable attributes are cloned
|
|
823
|
-
* @internal
|
|
824
|
-
*/
|
|
840
|
+
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
825
841
|
oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
|
|
826
842
|
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
827
843
|
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
@@ -902,6 +918,397 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
902
918
|
*/
|
|
903
919
|
export declare const getErrorFormat: (err: any) => string;
|
|
904
920
|
|
|
921
|
+
declare class List extends List_base {
|
|
922
|
+
/**
|
|
923
|
+
* Name of the design system prefix that will be used in renderers.
|
|
924
|
+
* @public
|
|
925
|
+
*/
|
|
926
|
+
prefix: string;
|
|
927
|
+
resourceName: string;
|
|
928
|
+
title: string;
|
|
929
|
+
persistColumnStateKey: string;
|
|
930
|
+
persistFilterModelKey: string;
|
|
931
|
+
sizeColumnsToFit: boolean;
|
|
932
|
+
rowSelection: string;
|
|
933
|
+
enableFilterBar: boolean;
|
|
934
|
+
asyncAdd: boolean;
|
|
935
|
+
asyncRemove: boolean;
|
|
936
|
+
asyncUpdate: boolean;
|
|
937
|
+
enableCellFlashing: boolean;
|
|
938
|
+
enableRowFlashing: boolean;
|
|
939
|
+
hideEdit: boolean;
|
|
940
|
+
hideDelete: boolean;
|
|
941
|
+
datasourceType: DatasourceType;
|
|
942
|
+
headerCaseType: GridProCaseType;
|
|
943
|
+
grid: ZeroGridPro;
|
|
944
|
+
datasource: GridProGenesisDatasource;
|
|
945
|
+
gridOptions: GridOptions;
|
|
946
|
+
columns: ColDef[];
|
|
947
|
+
datasourceConfig: DatasourceConfiguration;
|
|
948
|
+
actionButtonsConfig: any[];
|
|
949
|
+
deleteEvent: string;
|
|
950
|
+
updateEvent: string;
|
|
951
|
+
protected connect: Connect;
|
|
952
|
+
get isServerSideDatasource(): boolean;
|
|
953
|
+
connectedCallback(): void;
|
|
954
|
+
private onCellEditingStopped;
|
|
955
|
+
disconnectedCallback(): Promise<void>;
|
|
956
|
+
get criteria(): string;
|
|
957
|
+
get fields(): string;
|
|
958
|
+
get isSnapshot(): boolean;
|
|
959
|
+
get maxRows(): number;
|
|
960
|
+
get maxView(): number;
|
|
961
|
+
get movingView(): boolean;
|
|
962
|
+
get orderBy(): string;
|
|
963
|
+
get pollingInterval(): number;
|
|
964
|
+
get request(): any;
|
|
965
|
+
get reverse(): boolean;
|
|
966
|
+
get viewNumber(): number;
|
|
967
|
+
get disablePolling(): boolean;
|
|
968
|
+
get requestAutoSetup(): boolean;
|
|
969
|
+
handleRowClicked(e: CustomEvent): void;
|
|
970
|
+
handleRowDblClicked(e: CustomEvent): void;
|
|
971
|
+
handleRowContextMenu(e: CustomEvent): void;
|
|
972
|
+
private handleFilterChanged;
|
|
973
|
+
private handleFilterCleared;
|
|
974
|
+
private select;
|
|
975
|
+
private selectionChanged;
|
|
976
|
+
private edit;
|
|
977
|
+
delete(e: any): Promise<void>;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
declare const List_base: (new (...args: any[]) => {
|
|
981
|
+
"__#1@#_container": FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
|
|
982
|
+
"__#1@#_latestTokenCode": string;
|
|
983
|
+
"__#1@#_hasFirstLoaded": boolean;
|
|
984
|
+
"__#1@#_cleanupTimeout": NodeJS.Timeout;
|
|
985
|
+
"__#1@#_shouldForceLifecycle": boolean;
|
|
986
|
+
cloneNode(deep?: boolean): Node;
|
|
987
|
+
deepClone(): Node;
|
|
988
|
+
readonly shouldRunDisconnect: boolean;
|
|
989
|
+
readonly shouldRunConnect: boolean;
|
|
990
|
+
"__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
|
|
991
|
+
"__#1@#_tryFindContainingLayout"(e: Element): FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
|
|
992
|
+
connectedCallback(): void;
|
|
993
|
+
readonly $fastController: Controller;
|
|
994
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
|
|
995
|
+
disconnectedCallback(): void;
|
|
996
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
997
|
+
accessKey: string;
|
|
998
|
+
readonly accessKeyLabel: string;
|
|
999
|
+
autocapitalize: string;
|
|
1000
|
+
dir: string;
|
|
1001
|
+
draggable: boolean;
|
|
1002
|
+
hidden: boolean;
|
|
1003
|
+
inert: boolean;
|
|
1004
|
+
innerText: string;
|
|
1005
|
+
lang: string;
|
|
1006
|
+
readonly offsetHeight: number;
|
|
1007
|
+
readonly offsetLeft: number;
|
|
1008
|
+
readonly offsetParent: Element;
|
|
1009
|
+
readonly offsetTop: number;
|
|
1010
|
+
readonly offsetWidth: number;
|
|
1011
|
+
outerText: string;
|
|
1012
|
+
spellcheck: boolean;
|
|
1013
|
+
title: string;
|
|
1014
|
+
translate: boolean;
|
|
1015
|
+
attachInternals(): ElementInternals;
|
|
1016
|
+
click(): void;
|
|
1017
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1018
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1019
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
1020
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1021
|
+
readonly attributes: NamedNodeMap;
|
|
1022
|
+
readonly classList: DOMTokenList;
|
|
1023
|
+
className: string;
|
|
1024
|
+
readonly clientHeight: number;
|
|
1025
|
+
readonly clientLeft: number;
|
|
1026
|
+
readonly clientTop: number;
|
|
1027
|
+
readonly clientWidth: number;
|
|
1028
|
+
id: string;
|
|
1029
|
+
readonly localName: string;
|
|
1030
|
+
readonly namespaceURI: string;
|
|
1031
|
+
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
1032
|
+
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
1033
|
+
outerHTML: string;
|
|
1034
|
+
readonly ownerDocument: Document;
|
|
1035
|
+
readonly part: DOMTokenList;
|
|
1036
|
+
readonly prefix: string;
|
|
1037
|
+
readonly scrollHeight: number;
|
|
1038
|
+
scrollLeft: number;
|
|
1039
|
+
scrollTop: number;
|
|
1040
|
+
readonly scrollWidth: number;
|
|
1041
|
+
readonly shadowRoot: ShadowRoot;
|
|
1042
|
+
slot: string;
|
|
1043
|
+
readonly tagName: string;
|
|
1044
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
1045
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
1046
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
1047
|
+
closest<E extends Element = Element>(selectors: string): E;
|
|
1048
|
+
getAttribute(qualifiedName: string): string;
|
|
1049
|
+
getAttributeNS(namespace: string, localName: string): string;
|
|
1050
|
+
getAttributeNames(): string[];
|
|
1051
|
+
getAttributeNode(qualifiedName: string): Attr;
|
|
1052
|
+
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
1053
|
+
getBoundingClientRect(): DOMRect;
|
|
1054
|
+
getClientRects(): DOMRectList;
|
|
1055
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
1056
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
1057
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
1058
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
1059
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
1060
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
1061
|
+
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
1062
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
1063
|
+
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
1064
|
+
hasAttributes(): boolean;
|
|
1065
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
1066
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
1067
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
1068
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
1069
|
+
matches(selectors: string): boolean;
|
|
1070
|
+
releasePointerCapture(pointerId: number): void;
|
|
1071
|
+
removeAttribute(qualifiedName: string): void;
|
|
1072
|
+
removeAttributeNS(namespace: string, localName: string): void;
|
|
1073
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
1074
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
1075
|
+
requestPointerLock(): void;
|
|
1076
|
+
scroll(options?: ScrollToOptions): void;
|
|
1077
|
+
scroll(x: number, y: number): void;
|
|
1078
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
1079
|
+
scrollBy(x: number, y: number): void;
|
|
1080
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
1081
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
1082
|
+
scrollTo(x: number, y: number): void;
|
|
1083
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
1084
|
+
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
1085
|
+
setAttributeNode(attr: Attr): Attr;
|
|
1086
|
+
setAttributeNodeNS(attr: Attr): Attr;
|
|
1087
|
+
setPointerCapture(pointerId: number): void;
|
|
1088
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
1089
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
1090
|
+
readonly baseURI: string;
|
|
1091
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
1092
|
+
readonly firstChild: ChildNode;
|
|
1093
|
+
readonly isConnected: boolean;
|
|
1094
|
+
readonly lastChild: ChildNode;
|
|
1095
|
+
readonly nextSibling: ChildNode;
|
|
1096
|
+
readonly nodeName: string;
|
|
1097
|
+
readonly nodeType: number;
|
|
1098
|
+
nodeValue: string;
|
|
1099
|
+
readonly parentElement: HTMLElement;
|
|
1100
|
+
readonly parentNode: ParentNode;
|
|
1101
|
+
readonly previousSibling: ChildNode;
|
|
1102
|
+
textContent: string;
|
|
1103
|
+
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
1104
|
+
compareDocumentPosition(other: Node): number;
|
|
1105
|
+
contains(other: Node): boolean;
|
|
1106
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
1107
|
+
hasChildNodes(): boolean;
|
|
1108
|
+
insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
|
|
1109
|
+
isDefaultNamespace(namespace: string): boolean;
|
|
1110
|
+
isEqualNode(otherNode: Node): boolean;
|
|
1111
|
+
isSameNode(otherNode: Node): boolean;
|
|
1112
|
+
lookupNamespaceURI(prefix: string): string;
|
|
1113
|
+
lookupPrefix(namespace: string): string;
|
|
1114
|
+
normalize(): void;
|
|
1115
|
+
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
1116
|
+
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
1117
|
+
readonly ATTRIBUTE_NODE: number;
|
|
1118
|
+
readonly CDATA_SECTION_NODE: number;
|
|
1119
|
+
readonly COMMENT_NODE: number;
|
|
1120
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
1121
|
+
readonly DOCUMENT_NODE: number;
|
|
1122
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
1123
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
1124
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
1125
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
1126
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
1127
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
1128
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
1129
|
+
readonly ELEMENT_NODE: number;
|
|
1130
|
+
readonly ENTITY_NODE: number;
|
|
1131
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
1132
|
+
readonly NOTATION_NODE: number;
|
|
1133
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
1134
|
+
readonly TEXT_NODE: number;
|
|
1135
|
+
dispatchEvent(event: Event): boolean;
|
|
1136
|
+
ariaAtomic: string;
|
|
1137
|
+
ariaAutoComplete: string;
|
|
1138
|
+
ariaBusy: string;
|
|
1139
|
+
ariaChecked: string;
|
|
1140
|
+
ariaColCount: string;
|
|
1141
|
+
ariaColIndex: string;
|
|
1142
|
+
ariaColIndexText: string;
|
|
1143
|
+
ariaColSpan: string;
|
|
1144
|
+
ariaCurrent: string;
|
|
1145
|
+
ariaDisabled: string;
|
|
1146
|
+
ariaExpanded: string;
|
|
1147
|
+
ariaHasPopup: string;
|
|
1148
|
+
ariaHidden: string;
|
|
1149
|
+
ariaInvalid: string;
|
|
1150
|
+
ariaKeyShortcuts: string;
|
|
1151
|
+
ariaLabel: string;
|
|
1152
|
+
ariaLevel: string;
|
|
1153
|
+
ariaLive: string;
|
|
1154
|
+
ariaModal: string;
|
|
1155
|
+
ariaMultiLine: string;
|
|
1156
|
+
ariaMultiSelectable: string;
|
|
1157
|
+
ariaOrientation: string;
|
|
1158
|
+
ariaPlaceholder: string;
|
|
1159
|
+
ariaPosInSet: string;
|
|
1160
|
+
ariaPressed: string;
|
|
1161
|
+
ariaReadOnly: string;
|
|
1162
|
+
ariaRequired: string;
|
|
1163
|
+
ariaRoleDescription: string;
|
|
1164
|
+
ariaRowCount: string;
|
|
1165
|
+
ariaRowIndex: string;
|
|
1166
|
+
ariaRowIndexText: string;
|
|
1167
|
+
ariaRowSpan: string;
|
|
1168
|
+
ariaSelected: string;
|
|
1169
|
+
ariaSetSize: string;
|
|
1170
|
+
ariaSort: string;
|
|
1171
|
+
ariaValueMax: string;
|
|
1172
|
+
ariaValueMin: string;
|
|
1173
|
+
ariaValueNow: string;
|
|
1174
|
+
ariaValueText: string;
|
|
1175
|
+
role: string;
|
|
1176
|
+
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
|
|
1177
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
1178
|
+
after(...nodes: (string | Node)[]): void;
|
|
1179
|
+
before(...nodes: (string | Node)[]): void;
|
|
1180
|
+
remove(): void;
|
|
1181
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
1182
|
+
innerHTML: string;
|
|
1183
|
+
readonly nextElementSibling: Element;
|
|
1184
|
+
readonly previousElementSibling: Element;
|
|
1185
|
+
readonly childElementCount: number;
|
|
1186
|
+
readonly children: HTMLCollection;
|
|
1187
|
+
readonly firstElementChild: Element;
|
|
1188
|
+
readonly lastElementChild: Element;
|
|
1189
|
+
append(...nodes: (string | Node)[]): void;
|
|
1190
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
1191
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
1192
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
1193
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
1194
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
1195
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
1196
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
1197
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
1198
|
+
readonly assignedSlot: HTMLSlotElement;
|
|
1199
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
1200
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
1201
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
1202
|
+
readonly style: CSSStyleDeclaration;
|
|
1203
|
+
contentEditable: string;
|
|
1204
|
+
enterKeyHint: string;
|
|
1205
|
+
inputMode: string;
|
|
1206
|
+
readonly isContentEditable: boolean;
|
|
1207
|
+
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
1208
|
+
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
1209
|
+
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
1210
|
+
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
1211
|
+
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
1212
|
+
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1213
|
+
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
1214
|
+
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
1215
|
+
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1216
|
+
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1217
|
+
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1218
|
+
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1219
|
+
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1220
|
+
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1221
|
+
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1222
|
+
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1223
|
+
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1224
|
+
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1225
|
+
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1226
|
+
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1227
|
+
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1228
|
+
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1229
|
+
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1230
|
+
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1231
|
+
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1232
|
+
onemptied: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1233
|
+
onended: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1234
|
+
onerror: OnErrorEventHandlerNonNull;
|
|
1235
|
+
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
1236
|
+
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
|
|
1237
|
+
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1238
|
+
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1239
|
+
oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1240
|
+
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
1241
|
+
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
1242
|
+
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
1243
|
+
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1244
|
+
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1245
|
+
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1246
|
+
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1247
|
+
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1248
|
+
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1249
|
+
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1250
|
+
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1251
|
+
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1252
|
+
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1253
|
+
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1254
|
+
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1255
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1256
|
+
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1257
|
+
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1258
|
+
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1259
|
+
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1260
|
+
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1261
|
+
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1262
|
+
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1263
|
+
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1264
|
+
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1265
|
+
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1266
|
+
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
|
|
1267
|
+
onratechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1268
|
+
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1269
|
+
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
1270
|
+
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1271
|
+
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
1272
|
+
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1273
|
+
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1274
|
+
onselect: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1275
|
+
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1276
|
+
onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1277
|
+
onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1278
|
+
onstalled: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1279
|
+
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
|
|
1280
|
+
onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1281
|
+
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1282
|
+
ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1283
|
+
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
1284
|
+
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
1285
|
+
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
1286
|
+
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
1287
|
+
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
1288
|
+
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
1289
|
+
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
1290
|
+
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
1291
|
+
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1292
|
+
onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1293
|
+
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1294
|
+
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1295
|
+
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1296
|
+
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1297
|
+
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
|
|
1298
|
+
autofocus: boolean;
|
|
1299
|
+
readonly dataset: DOMStringMap;
|
|
1300
|
+
nonce?: string;
|
|
1301
|
+
tabIndex: number;
|
|
1302
|
+
blur(): void;
|
|
1303
|
+
focus(options?: FocusOptions): void;
|
|
1304
|
+
}) & (new () => HTMLElement & FASTElement) & {
|
|
1305
|
+
from<TBase extends {
|
|
1306
|
+
new (): HTMLElement;
|
|
1307
|
+
prototype: HTMLElement;
|
|
1308
|
+
}>(BaseType: TBase): new () => InstanceType<TBase> & FASTElement;
|
|
1309
|
+
define<TType extends Function>(type: TType, nameOrDef?: string | PartialFASTElementDefinition): TType;
|
|
1310
|
+
};
|
|
1311
|
+
|
|
905
1312
|
/**
|
|
906
1313
|
* @internal
|
|
907
1314
|
*/
|
package/docs/api-report.md
CHANGED
|
@@ -12,13 +12,14 @@ import { Constructable } from '@microsoft/fast-element';
|
|
|
12
12
|
import { Container } from '@microsoft/fast-foundation';
|
|
13
13
|
import { Controller } from '@microsoft/fast-element';
|
|
14
14
|
import { DatasourceOptions } from '@genesislcap/foundation-comms';
|
|
15
|
-
import
|
|
15
|
+
import { DatasourceType } from '@genesislcap/grid-pro';
|
|
16
16
|
import { DOMContainer } from '@genesislcap/foundation-utils';
|
|
17
17
|
import { FASTElement } from '@microsoft/fast-element';
|
|
18
18
|
import { FoundationAnalytics } from '@genesislcap/foundation-comms';
|
|
19
19
|
import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
|
|
20
20
|
import { GridOptions } from '@ag-grid-community/core';
|
|
21
21
|
import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
22
|
+
import { GridProGenesisDatasource } from '@genesislcap/foundation-zero-grid-pro';
|
|
22
23
|
import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
|
|
23
24
|
import { Logger } from '@genesislcap/foundation-logger';
|
|
24
25
|
import { MessageError } from '@genesislcap/foundation-comms';
|
|
@@ -34,6 +35,7 @@ import { UiSchemaElement } from '@genesislcap/foundation-forms';
|
|
|
34
35
|
import { UiSchemaElementType } from '@genesislcap/foundation-forms';
|
|
35
36
|
import { UiSchemaOptions } from '@genesislcap/foundation-forms';
|
|
36
37
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
38
|
+
import { ZeroGridPro } from '@genesislcap/foundation-zero-grid-pro';
|
|
37
39
|
|
|
38
40
|
// @public (undocumented)
|
|
39
41
|
export const buttonCellRenderer: (title: any, clickHandler: any, contentTemplate: any) => ColDef;
|
|
@@ -101,6 +103,10 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
101
103
|
enableRowFlashing: boolean;
|
|
102
104
|
enableSearchBar: boolean;
|
|
103
105
|
entityLabel: string;
|
|
106
|
+
// Warning: (ae-forgotten-export) The symbol "List" needs to be exported by the entry point index.d.ts
|
|
107
|
+
//
|
|
108
|
+
// @internal (undocumented)
|
|
109
|
+
entityListRef: List;
|
|
104
110
|
formRenderers: RendererEntry[];
|
|
105
111
|
// @internal
|
|
106
112
|
formResourceName: string;
|
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.268.
|
|
4
|
+
"version": "14.268.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -52,29 +52,29 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@genesislcap/foundation-testing": "14.268.
|
|
56
|
-
"@genesislcap/genx": "14.268.
|
|
57
|
-
"@genesislcap/rollup-builder": "14.268.
|
|
58
|
-
"@genesislcap/ts-builder": "14.268.
|
|
59
|
-
"@genesislcap/uvu-playwright-builder": "14.268.
|
|
60
|
-
"@genesislcap/vite-builder": "14.268.
|
|
61
|
-
"@genesislcap/webpack-builder": "14.268.
|
|
55
|
+
"@genesislcap/foundation-testing": "14.268.2",
|
|
56
|
+
"@genesislcap/genx": "14.268.2",
|
|
57
|
+
"@genesislcap/rollup-builder": "14.268.2",
|
|
58
|
+
"@genesislcap/ts-builder": "14.268.2",
|
|
59
|
+
"@genesislcap/uvu-playwright-builder": "14.268.2",
|
|
60
|
+
"@genesislcap/vite-builder": "14.268.2",
|
|
61
|
+
"@genesislcap/webpack-builder": "14.268.2",
|
|
62
62
|
"rimraf": "^5.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@ag-grid-community/core": "29.2.0",
|
|
66
|
-
"@genesislcap/foundation-comms": "14.268.
|
|
67
|
-
"@genesislcap/foundation-errors": "14.268.
|
|
68
|
-
"@genesislcap/foundation-events": "14.268.
|
|
69
|
-
"@genesislcap/foundation-forms": "14.268.
|
|
70
|
-
"@genesislcap/foundation-logger": "14.268.
|
|
71
|
-
"@genesislcap/foundation-login": "14.268.
|
|
72
|
-
"@genesislcap/foundation-notifications": "14.268.
|
|
73
|
-
"@genesislcap/foundation-ui": "14.268.
|
|
74
|
-
"@genesislcap/foundation-utils": "14.268.
|
|
75
|
-
"@genesislcap/foundation-zero": "14.268.
|
|
76
|
-
"@genesislcap/foundation-zero-grid-pro": "14.268.
|
|
77
|
-
"@genesislcap/grid-pro": "14.268.
|
|
66
|
+
"@genesislcap/foundation-comms": "14.268.2",
|
|
67
|
+
"@genesislcap/foundation-errors": "14.268.2",
|
|
68
|
+
"@genesislcap/foundation-events": "14.268.2",
|
|
69
|
+
"@genesislcap/foundation-forms": "14.268.2",
|
|
70
|
+
"@genesislcap/foundation-logger": "14.268.2",
|
|
71
|
+
"@genesislcap/foundation-login": "14.268.2",
|
|
72
|
+
"@genesislcap/foundation-notifications": "14.268.2",
|
|
73
|
+
"@genesislcap/foundation-ui": "14.268.2",
|
|
74
|
+
"@genesislcap/foundation-utils": "14.268.2",
|
|
75
|
+
"@genesislcap/foundation-zero": "14.268.2",
|
|
76
|
+
"@genesislcap/foundation-zero-grid-pro": "14.268.2",
|
|
77
|
+
"@genesislcap/grid-pro": "14.268.2",
|
|
78
78
|
"@microsoft/fast-components": "2.30.6",
|
|
79
79
|
"@microsoft/fast-element": "1.14.0",
|
|
80
80
|
"@microsoft/fast-foundation": "2.49.6",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"access": "public"
|
|
92
92
|
},
|
|
93
93
|
"customElements": "dist/custom-elements.json",
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "90c3d2bb1f8c4b73942b7bd73cc447a98d0ad2c6"
|
|
95
95
|
}
|