@genesislcap/foundation-entity-management 11.3.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/README.md +266 -0
- package/dist/dts/entities/entities.d.ts +550 -0
- package/dist/dts/entities/entities.d.ts.map +1 -0
- package/dist/dts/entities/entities.styles.d.ts +10 -0
- package/dist/dts/entities/entities.styles.d.ts.map +1 -0
- package/dist/dts/entities/entities.template.d.ts +7 -0
- package/dist/dts/entities/entities.template.d.ts.map +1 -0
- package/dist/dts/entities/index.d.ts +4 -0
- package/dist/dts/entities/index.d.ts.map +1 -0
- package/dist/dts/index.d.ts +5 -0
- package/dist/dts/index.d.ts.map +1 -0
- package/dist/dts/index.federated.d.ts +1 -0
- package/dist/dts/index.federated.d.ts.map +1 -0
- package/dist/dts/list/index.d.ts +2 -0
- package/dist/dts/list/index.d.ts.map +1 -0
- package/dist/dts/list/list.d.ts +29 -0
- package/dist/dts/list/list.d.ts.map +1 -0
- package/dist/dts/list/list.styles.d.ts +2 -0
- package/dist/dts/list/list.styles.d.ts.map +1 -0
- package/dist/dts/list/list.template.d.ts +26 -0
- package/dist/dts/list/list.template.d.ts.map +1 -0
- package/dist/dts/profiles/editProfileSchema.d.ts +19 -0
- package/dist/dts/profiles/editProfileSchema.d.ts.map +1 -0
- package/dist/dts/profiles/profiles.d.ts +43 -0
- package/dist/dts/profiles/profiles.d.ts.map +1 -0
- package/dist/dts/types.d.ts +3 -0
- package/dist/dts/types.d.ts.map +1 -0
- package/dist/dts/users/users.d.ts +566 -0
- package/dist/dts/users/users.d.ts.map +1 -0
- package/dist/dts/users/users.template.d.ts +3 -0
- package/dist/dts/users/users.template.d.ts.map +1 -0
- package/dist/dts/utils/formatting.d.ts +7 -0
- package/dist/dts/utils/formatting.d.ts.map +1 -0
- package/dist/dts/utils/index.d.ts +2 -0
- package/dist/dts/utils/index.d.ts.map +1 -0
- package/dist/esm/entities/entities.js +296 -0
- package/dist/esm/entities/entities.styles.js +29 -0
- package/dist/esm/entities/entities.template.js +43 -0
- package/dist/esm/entities/index.js +3 -0
- package/dist/esm/index.federated.js +1 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/list/index.js +1 -0
- package/dist/esm/list/list.js +111 -0
- package/dist/esm/list/list.styles.js +27 -0
- package/dist/esm/list/list.template.js +77 -0
- package/dist/esm/profiles/editProfileSchema.js +40 -0
- package/dist/esm/profiles/profiles.js +88 -0
- package/dist/esm/types.js +3 -0
- package/dist/esm/users/users.js +302 -0
- package/dist/esm/users/users.template.js +90 -0
- package/dist/esm/utils/formatting.js +6 -0
- package/dist/esm/utils/index.js +1 -0
- package/dist/foundation-entity-management.api.json +1727 -0
- package/dist/foundation-entity-management.d.ts +1172 -0
- package/dist/tsdoc-metadata.json +11 -0
- package/docs/.gitattributes +2 -0
- package/docs/api/foundation-entity-management.datasourceconfiguration.md +29 -0
- package/docs/api/foundation-entity-management.entitymanagement.closemodal.md +15 -0
- package/docs/api/foundation-entity-management.entitymanagement.columns.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.connect.md +18 -0
- package/docs/api/foundation-entity-management.entitymanagement.createevent.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.createformuischema.md +11 -0
- package/docs/api/foundation-entity-management.entitymanagement.datasourceconfig.md +18 -0
- package/docs/api/foundation-entity-management.entitymanagement.deepclone.md +17 -0
- package/docs/api/foundation-entity-management.entitymanagement.deleteevent.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.editdialogtitle.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.editedentity.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.editentitymodal.md +11 -0
- package/docs/api/foundation-entity-management.entitymanagement.editmodalvisible.md +11 -0
- package/docs/api/foundation-entity-management.entitymanagement.editmodalvisiblechanged.md +15 -0
- package/docs/api/foundation-entity-management.entitymanagement.enablecellflashing.md +11 -0
- package/docs/api/foundation-entity-management.entitymanagement.enablefilterbar.md +11 -0
- package/docs/api/foundation-entity-management.entitymanagement.entitylabel.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.errornotify.md +24 -0
- package/docs/api/foundation-entity-management.entitymanagement.formuischema.md +11 -0
- package/docs/api/foundation-entity-management.entitymanagement.md +74 -0
- package/docs/api/foundation-entity-management.entitymanagement.persistcolumnstatekey.md +18 -0
- package/docs/api/foundation-entity-management.entitymanagement.readevent.md +11 -0
- package/docs/api/foundation-entity-management.entitymanagement.readeventfn.md +11 -0
- package/docs/api/foundation-entity-management.entitymanagement.readonly.md +11 -0
- package/docs/api/foundation-entity-management.entitymanagement.resourcename.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.selectedentity.md +18 -0
- package/docs/api/foundation-entity-management.entitymanagement.sizecolumnstofit.md +11 -0
- package/docs/api/foundation-entity-management.entitymanagement.submitentitychanges.md +24 -0
- package/docs/api/foundation-entity-management.entitymanagement.submitting.md +11 -0
- package/docs/api/foundation-entity-management.entitymanagement.title.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.updateevent.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.updateformuischema.md +11 -0
- package/docs/api/foundation-entity-management.geterrorformat.md +13 -0
- package/docs/api/foundation-entity-management.md +27 -0
- package/docs/api/foundation-entity-management.profiles._constructor_.md +13 -0
- package/docs/api/foundation-entity-management.profiles.deleteentity.md +22 -0
- package/docs/api/foundation-entity-management.profiles.md +40 -0
- package/docs/api/foundation-entity-management.profiles.readprofiledata.md +26 -0
- package/docs/api/foundation-entity-management.users._constructor_.md +13 -0
- package/docs/api/foundation-entity-management.users.additionalcreatefields.md +11 -0
- package/docs/api/foundation-entity-management.users.additionalupdatefields.md +11 -0
- package/docs/api/foundation-entity-management.users.allaccesstype.md +11 -0
- package/docs/api/foundation-entity-management.users.columns.md +13 -0
- package/docs/api/foundation-entity-management.users.connectedcallback.md +15 -0
- package/docs/api/foundation-entity-management.users.createevent.md +13 -0
- package/docs/api/foundation-entity-management.users.deepclone.md +15 -0
- package/docs/api/foundation-entity-management.users.deleteevent.md +13 -0
- package/docs/api/foundation-entity-management.users.md +69 -0
- package/docs/api/foundation-entity-management.users.updateevent.md +13 -0
- package/docs/api/foundation-entity-management.userscolumnconfig.md +35 -0
- package/docs/api/index.md +12 -0
- package/docs/api-report.md +200 -0
- package/docs/img/foundation-entity-management-form.png +0 -0
- package/docs/img/foundation-entity-management-grid.png +0 -0
- package/docs/img/foundation-profile-management.png +0 -0
- package/docs/img/foundation-user-management.png +0 -0
- package/license.txt +46 -0
- package/package.json +123 -0
|
@@ -0,0 +1,1172 @@
|
|
|
1
|
+
import { ColDef } from '@ag-grid-community/core';
|
|
2
|
+
import { Connect } from '@genesislcap/foundation-comms';
|
|
3
|
+
import { Controller } from '@microsoft/fast-element';
|
|
4
|
+
import { DatasourceOptions } from '@genesislcap/foundation-comms';
|
|
5
|
+
import { FASTElement } from '@microsoft/fast-element';
|
|
6
|
+
import { GridProRendererTypes } from '@genesislcap/grid-pro';
|
|
7
|
+
import { Logger } from '@genesislcap/foundation-utils';
|
|
8
|
+
import { PartialFASTElementDefinition } from '@microsoft/fast-element';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The attribute which is set to configure the resource that the entity manager is working with
|
|
12
|
+
*
|
|
13
|
+
* @public
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```javascript
|
|
17
|
+
* type DatasourceConfiguration = {
|
|
18
|
+
* criteria?: string;
|
|
19
|
+
* fields?: string;
|
|
20
|
+
* isSnapshot?: boolean;
|
|
21
|
+
* maxRows?: number;
|
|
22
|
+
* maxView?: number;
|
|
23
|
+
* orderBy?: string;
|
|
24
|
+
* reverse?: boolean;
|
|
25
|
+
* }
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare type DatasourceConfiguration = Omit<DatasourceOptions, 'resourceName' | 'request'>;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Main class which defines the entity management functionality
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
*
|
|
35
|
+
* Connects to a backend resource and wraps up a grid which is populated
|
|
36
|
+
* with entities from that resource. The different interactions that the user
|
|
37
|
+
* can perform with the entities can be configured, examples being able to
|
|
38
|
+
* update and delete entities.
|
|
39
|
+
*
|
|
40
|
+
* @public
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* Example of using the entity management system to handle counterparties
|
|
44
|
+
* ```
|
|
45
|
+
* <entity-management
|
|
46
|
+
* resourceName="ALL_COUNTERPARTYS"
|
|
47
|
+
* title="Counterparty Management"
|
|
48
|
+
* updateEvent="EVENT_COUNTERPARTY_MODIFY"
|
|
49
|
+
* deleteEvent="EVENT_COUNTERPARTY_DELETE"
|
|
50
|
+
* createEvent="EVENT_COUNTERPARTY_INSERT"
|
|
51
|
+
* ></entity-management>
|
|
52
|
+
* ```
|
|
53
|
+
* Where:<br />
|
|
54
|
+
* - the title of the grid is `Counterparty Management`<br />
|
|
55
|
+
* - the name of the resource in the database to manage is `ALL_COUNTERPARTYS`<br />
|
|
56
|
+
* - the name of the event handler for update events is `EVENT_COUNTERPARTY_MODIFY`<br />
|
|
57
|
+
* - the name of the event handler for create events is `EVENT_COUNTERPARTY_INSERT`<br />
|
|
58
|
+
* - the name of the event handler for delete events is `EVENT_COUNTERPARTY_DELETE`<br />
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
export declare class EntityManagement extends EntityManagement_base {
|
|
62
|
+
/**
|
|
63
|
+
* DI connect object which is used to interact with the backend.
|
|
64
|
+
*
|
|
65
|
+
* @remarks
|
|
66
|
+
*
|
|
67
|
+
* Requires {@link @genesislcap/foundation-comms#Connect | the connect class} to be registered with the
|
|
68
|
+
* DI container
|
|
69
|
+
*/
|
|
70
|
+
protected connect: Connect;
|
|
71
|
+
/**
|
|
72
|
+
* Name of the backend resource which contain the entities to manage
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
resourceName: string;
|
|
76
|
+
readEvent: string;
|
|
77
|
+
readEventFn: (...args: any[]) => {};
|
|
78
|
+
readonly: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Name of the event handler on the Genesis server which handles updating the entity
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
updateEvent: string;
|
|
84
|
+
/**
|
|
85
|
+
* Name of the event handler on the Genesis server which handles deleting the entity
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
deleteEvent: string;
|
|
89
|
+
/**
|
|
90
|
+
* Name of the event handler on the Genesis server which handles creating an entity
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
createEvent: string;
|
|
94
|
+
/**
|
|
95
|
+
* Title of the grid
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
title: string;
|
|
99
|
+
/**
|
|
100
|
+
* Label for the entity which has usages such as being shown in the title of the modal wen editing the entity
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
entityLabel: string;
|
|
104
|
+
/**
|
|
105
|
+
* 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.
|
|
106
|
+
*
|
|
107
|
+
* @remarks
|
|
108
|
+
*
|
|
109
|
+
* 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.
|
|
110
|
+
* This value must be unique for each table in your app otherwise the persisted data will be corrupted.
|
|
111
|
+
* There is an option on the grid for the user to reset the table to the default layout if they wish.
|
|
112
|
+
* If you omit this attribute then nothing is persisted
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
persistColumnStateKey: string;
|
|
116
|
+
/**
|
|
117
|
+
* Array which holds the column definitions.
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
columns: ColDef[];
|
|
121
|
+
/**
|
|
122
|
+
* The configuration which is used when interacting with the resource on the backend
|
|
123
|
+
*
|
|
124
|
+
* @remarks
|
|
125
|
+
*
|
|
126
|
+
* Handles the configuration such as how many rows of entities to fetch at a time
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
datasourceConfig: DatasourceConfiguration;
|
|
130
|
+
formUiSchema: any;
|
|
131
|
+
createFormUiSchema: any;
|
|
132
|
+
updateFormUiSchema: any;
|
|
133
|
+
/**
|
|
134
|
+
* The name of the resource in the backend to interact with when dispatching actions from the update/create modal
|
|
135
|
+
* @internal
|
|
136
|
+
*/
|
|
137
|
+
formResourceName: string;
|
|
138
|
+
/**
|
|
139
|
+
* Reference to the currently selected entity from the grid.
|
|
140
|
+
*
|
|
141
|
+
* @remarks
|
|
142
|
+
*
|
|
143
|
+
* When the user attempts to initiate functionality such as deleting or editing an entity, the entity which will be deleted/edited is the one which is referenced by this variable
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
selectedEntity: any;
|
|
147
|
+
/**
|
|
148
|
+
* Disables the form while enabled to stop the user dispatching a large number of duplicate events
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
editedEntity: any;
|
|
152
|
+
submitting: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* String which contains the text of the popup modal when the user is adding or editing an entity
|
|
155
|
+
*/
|
|
156
|
+
editDialogTitle: string;
|
|
157
|
+
editModalVisible: boolean;
|
|
158
|
+
editModalVisibleChanged(): void;
|
|
159
|
+
editEntityModal: any;
|
|
160
|
+
sizeColumnsToFit: boolean;
|
|
161
|
+
enableFilterBar: boolean;
|
|
162
|
+
enableCellFlashing: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Set up the web component
|
|
165
|
+
* @internal
|
|
166
|
+
*/
|
|
167
|
+
connectedCallback(): Promise<void>;
|
|
168
|
+
/**
|
|
169
|
+
* Override the deepClone method to ensure that observable attributes are cloned
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
deepClone(): Node;
|
|
173
|
+
/**
|
|
174
|
+
* Event handler for when the user submits the action for the currently open form, either editing or adding the entity
|
|
175
|
+
*
|
|
176
|
+
* @param e - CustomEvent which contains the payload for the entity to submit to the backend
|
|
177
|
+
*
|
|
178
|
+
* Emits an event upon error
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
submitEntityChanges(e: CustomEvent): Promise<void>;
|
|
182
|
+
/**
|
|
183
|
+
* Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
|
|
184
|
+
*
|
|
185
|
+
* @param e - CustomEvent which contains data about the selected entity. If the row is not selected then the reference will be set to an empty object.
|
|
186
|
+
* @internal
|
|
187
|
+
*/
|
|
188
|
+
private selectEntity;
|
|
189
|
+
/**
|
|
190
|
+
* Sets up and opens the model to either edit or add an entity. Added as an event listener on the class when receiving the `edit-entity` event.
|
|
191
|
+
*
|
|
192
|
+
* @param e - CustomEvent where `e.detail` is used to deduce whether to edit or add an entity.
|
|
193
|
+
* @internal
|
|
194
|
+
*/
|
|
195
|
+
private editEntity;
|
|
196
|
+
private readEntity;
|
|
197
|
+
closeModal(): void;
|
|
198
|
+
/**
|
|
199
|
+
* Handler for deleting the entity. Added as an event listener on the class when receiving the `delete-entity` event.
|
|
200
|
+
*
|
|
201
|
+
* @param e - CustomEvent where `e.detail` contains data to update the selectedEntity reference with the entity to delete.
|
|
202
|
+
* @internal
|
|
203
|
+
*/
|
|
204
|
+
deleteEntity(e: CustomEvent): Promise<void>;
|
|
205
|
+
/**
|
|
206
|
+
* Show notifications if the executed event returned an error.
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
209
|
+
errorNotify(request: any): void;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
declare const EntityManagement_base: (new (...args: any[]) => {
|
|
213
|
+
"__#1@#_containingLayout": {
|
|
214
|
+
dragging: boolean;
|
|
215
|
+
};
|
|
216
|
+
cloneNode(deep?: boolean): Node;
|
|
217
|
+
deepClone(): Node;
|
|
218
|
+
readonly shouldRunDisconnect: boolean;
|
|
219
|
+
readonly shouldRunConnect: boolean;
|
|
220
|
+
"__#1@#_tryFindContainingLayout"(e: Element): {
|
|
221
|
+
dragging: boolean;
|
|
222
|
+
};
|
|
223
|
+
connectedCallback(): void;
|
|
224
|
+
readonly $fastController: Controller;
|
|
225
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
|
|
226
|
+
disconnectedCallback(): void;
|
|
227
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
228
|
+
accessKey: string;
|
|
229
|
+
readonly accessKeyLabel: string;
|
|
230
|
+
autocapitalize: string;
|
|
231
|
+
dir: string;
|
|
232
|
+
draggable: boolean;
|
|
233
|
+
hidden: boolean;
|
|
234
|
+
inert: boolean;
|
|
235
|
+
innerText: string;
|
|
236
|
+
lang: string;
|
|
237
|
+
readonly offsetHeight: number;
|
|
238
|
+
readonly offsetLeft: number;
|
|
239
|
+
readonly offsetParent: Element;
|
|
240
|
+
readonly offsetTop: number;
|
|
241
|
+
readonly offsetWidth: number;
|
|
242
|
+
outerText: string;
|
|
243
|
+
spellcheck: boolean;
|
|
244
|
+
title: string;
|
|
245
|
+
translate: boolean;
|
|
246
|
+
attachInternals(): ElementInternals;
|
|
247
|
+
click(): void;
|
|
248
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
249
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
250
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
251
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
252
|
+
readonly attributes: NamedNodeMap;
|
|
253
|
+
readonly classList: DOMTokenList;
|
|
254
|
+
className: string;
|
|
255
|
+
readonly clientHeight: number;
|
|
256
|
+
readonly clientLeft: number;
|
|
257
|
+
readonly clientTop: number;
|
|
258
|
+
readonly clientWidth: number;
|
|
259
|
+
id: string;
|
|
260
|
+
readonly localName: string;
|
|
261
|
+
readonly namespaceURI: string;
|
|
262
|
+
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
263
|
+
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
264
|
+
outerHTML: string;
|
|
265
|
+
readonly ownerDocument: Document;
|
|
266
|
+
readonly part: DOMTokenList;
|
|
267
|
+
readonly prefix: string;
|
|
268
|
+
readonly scrollHeight: number;
|
|
269
|
+
scrollLeft: number;
|
|
270
|
+
scrollTop: number;
|
|
271
|
+
readonly scrollWidth: number;
|
|
272
|
+
readonly shadowRoot: ShadowRoot;
|
|
273
|
+
slot: string;
|
|
274
|
+
readonly tagName: string;
|
|
275
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
276
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
277
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
278
|
+
closest<E extends Element = Element>(selectors: string): E;
|
|
279
|
+
getAttribute(qualifiedName: string): string;
|
|
280
|
+
getAttributeNS(namespace: string, localName: string): string;
|
|
281
|
+
getAttributeNames(): string[];
|
|
282
|
+
getAttributeNode(qualifiedName: string): Attr;
|
|
283
|
+
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
284
|
+
getBoundingClientRect(): DOMRect;
|
|
285
|
+
getClientRects(): DOMRectList;
|
|
286
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
287
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
288
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
289
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
290
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
291
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
292
|
+
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
293
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
294
|
+
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
295
|
+
hasAttributes(): boolean;
|
|
296
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
297
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
298
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
299
|
+
insertAdjacentText(where: InsertPosition, data: string): void; /**
|
|
300
|
+
* The name of the resource in the backend to interact with when dispatching actions from the update/create modal
|
|
301
|
+
* @internal
|
|
302
|
+
*/
|
|
303
|
+
matches(selectors: string): boolean;
|
|
304
|
+
releasePointerCapture(pointerId: number): void;
|
|
305
|
+
removeAttribute(qualifiedName: string): void;
|
|
306
|
+
removeAttributeNS(namespace: string, localName: string): void;
|
|
307
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
308
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
309
|
+
requestPointerLock(): void;
|
|
310
|
+
scroll(options?: ScrollToOptions): void;
|
|
311
|
+
scroll(x: number, y: number): void;
|
|
312
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
313
|
+
scrollBy(x: number, y: number): void;
|
|
314
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
315
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
316
|
+
scrollTo(x: number, y: number): void;
|
|
317
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
318
|
+
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
319
|
+
setAttributeNode(attr: Attr): Attr;
|
|
320
|
+
setAttributeNodeNS(attr: Attr): Attr;
|
|
321
|
+
setPointerCapture(pointerId: number): void;
|
|
322
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
323
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
324
|
+
readonly baseURI: string;
|
|
325
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
326
|
+
readonly firstChild: ChildNode;
|
|
327
|
+
readonly isConnected: boolean;
|
|
328
|
+
readonly lastChild: ChildNode;
|
|
329
|
+
readonly nextSibling: ChildNode;
|
|
330
|
+
readonly nodeName: string;
|
|
331
|
+
readonly nodeType: number;
|
|
332
|
+
nodeValue: string;
|
|
333
|
+
readonly parentElement: HTMLElement;
|
|
334
|
+
readonly parentNode: ParentNode;
|
|
335
|
+
readonly previousSibling: ChildNode;
|
|
336
|
+
textContent: string;
|
|
337
|
+
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
338
|
+
compareDocumentPosition(other: Node): number;
|
|
339
|
+
contains(other: Node): boolean;
|
|
340
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
341
|
+
hasChildNodes(): boolean;
|
|
342
|
+
insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
|
|
343
|
+
isDefaultNamespace(namespace: string): boolean;
|
|
344
|
+
isEqualNode(otherNode: Node): boolean;
|
|
345
|
+
isSameNode(otherNode: Node): boolean;
|
|
346
|
+
lookupNamespaceURI(prefix: string): string;
|
|
347
|
+
lookupPrefix(namespace: string): string;
|
|
348
|
+
normalize(): void;
|
|
349
|
+
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
350
|
+
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
351
|
+
readonly ATTRIBUTE_NODE: number;
|
|
352
|
+
readonly CDATA_SECTION_NODE: number;
|
|
353
|
+
readonly COMMENT_NODE: number;
|
|
354
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
355
|
+
readonly DOCUMENT_NODE: number;
|
|
356
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
357
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
358
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
359
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
360
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
361
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
362
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
363
|
+
readonly ELEMENT_NODE: number;
|
|
364
|
+
readonly ENTITY_NODE: number;
|
|
365
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
366
|
+
readonly NOTATION_NODE: number;
|
|
367
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
368
|
+
readonly TEXT_NODE: number;
|
|
369
|
+
dispatchEvent(event: Event): boolean;
|
|
370
|
+
ariaAtomic: string;
|
|
371
|
+
ariaAutoComplete: string;
|
|
372
|
+
ariaBusy: string;
|
|
373
|
+
ariaChecked: string;
|
|
374
|
+
ariaColCount: string;
|
|
375
|
+
ariaColIndex: string;
|
|
376
|
+
ariaColIndexText: string;
|
|
377
|
+
ariaColSpan: string;
|
|
378
|
+
ariaCurrent: string;
|
|
379
|
+
ariaDisabled: string; /**
|
|
380
|
+
* Sets up and opens the model to either edit or add an entity. Added as an event listener on the class when receiving the `edit-entity` event.
|
|
381
|
+
*
|
|
382
|
+
* @param e - CustomEvent where `e.detail` is used to deduce whether to edit or add an entity.
|
|
383
|
+
* @internal
|
|
384
|
+
*/
|
|
385
|
+
ariaExpanded: string;
|
|
386
|
+
ariaHasPopup: string;
|
|
387
|
+
ariaHidden: string;
|
|
388
|
+
ariaInvalid: string;
|
|
389
|
+
ariaKeyShortcuts: string;
|
|
390
|
+
ariaLabel: string;
|
|
391
|
+
ariaLevel: string;
|
|
392
|
+
ariaLive: string;
|
|
393
|
+
ariaModal: string;
|
|
394
|
+
ariaMultiLine: string;
|
|
395
|
+
ariaMultiSelectable: string;
|
|
396
|
+
ariaOrientation: string;
|
|
397
|
+
ariaPlaceholder: string;
|
|
398
|
+
ariaPosInSet: string;
|
|
399
|
+
ariaPressed: string;
|
|
400
|
+
ariaReadOnly: string;
|
|
401
|
+
ariaRequired: string;
|
|
402
|
+
ariaRoleDescription: string;
|
|
403
|
+
ariaRowCount: string;
|
|
404
|
+
ariaRowIndex: string;
|
|
405
|
+
ariaRowIndexText: string;
|
|
406
|
+
ariaRowSpan: string;
|
|
407
|
+
ariaSelected: string;
|
|
408
|
+
ariaSetSize: string;
|
|
409
|
+
ariaSort: string;
|
|
410
|
+
ariaValueMax: string;
|
|
411
|
+
ariaValueMin: string;
|
|
412
|
+
ariaValueNow: string;
|
|
413
|
+
ariaValueText: string;
|
|
414
|
+
role: string;
|
|
415
|
+
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
|
|
416
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
417
|
+
after(...nodes: (string | Node)[]): void;
|
|
418
|
+
before(...nodes: (string | Node)[]): void;
|
|
419
|
+
remove(): void;
|
|
420
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
421
|
+
innerHTML: string;
|
|
422
|
+
readonly nextElementSibling: Element;
|
|
423
|
+
readonly previousElementSibling: Element;
|
|
424
|
+
readonly childElementCount: number;
|
|
425
|
+
readonly children: HTMLCollection;
|
|
426
|
+
readonly firstElementChild: Element;
|
|
427
|
+
readonly lastElementChild: Element;
|
|
428
|
+
append(...nodes: (string | Node)[]): void;
|
|
429
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
430
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
431
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
432
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
433
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
434
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
435
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
436
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
437
|
+
readonly assignedSlot: HTMLSlotElement;
|
|
438
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
439
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
440
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
441
|
+
readonly style: CSSStyleDeclaration;
|
|
442
|
+
contentEditable: string;
|
|
443
|
+
enterKeyHint: string;
|
|
444
|
+
inputMode: string;
|
|
445
|
+
readonly isContentEditable: boolean;
|
|
446
|
+
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
447
|
+
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
448
|
+
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
449
|
+
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
450
|
+
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
451
|
+
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
452
|
+
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
453
|
+
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
454
|
+
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
455
|
+
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
456
|
+
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
457
|
+
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
458
|
+
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
459
|
+
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
460
|
+
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
461
|
+
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
462
|
+
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
463
|
+
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
464
|
+
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
465
|
+
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
466
|
+
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
467
|
+
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
468
|
+
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
469
|
+
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
470
|
+
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
471
|
+
onemptied: (this: GlobalEventHandlers, ev: Event) => any;
|
|
472
|
+
onended: (this: GlobalEventHandlers, ev: Event) => any;
|
|
473
|
+
onerror: OnErrorEventHandlerNonNull;
|
|
474
|
+
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
475
|
+
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
|
|
476
|
+
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
477
|
+
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
478
|
+
oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
|
|
479
|
+
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
480
|
+
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
481
|
+
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
482
|
+
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
483
|
+
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
484
|
+
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
485
|
+
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
486
|
+
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
487
|
+
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
488
|
+
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
489
|
+
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
490
|
+
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
491
|
+
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
492
|
+
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
493
|
+
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
494
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
495
|
+
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
496
|
+
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
497
|
+
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
498
|
+
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
499
|
+
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
500
|
+
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
501
|
+
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
502
|
+
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
503
|
+
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
504
|
+
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
505
|
+
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
|
|
506
|
+
onratechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
507
|
+
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
508
|
+
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
509
|
+
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
510
|
+
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
511
|
+
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
512
|
+
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
513
|
+
onselect: (this: GlobalEventHandlers, ev: Event) => any;
|
|
514
|
+
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
515
|
+
onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
516
|
+
onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
517
|
+
onstalled: (this: GlobalEventHandlers, ev: Event) => any;
|
|
518
|
+
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
|
|
519
|
+
onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
520
|
+
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
|
|
521
|
+
ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
522
|
+
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
523
|
+
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
524
|
+
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
525
|
+
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
526
|
+
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
527
|
+
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
528
|
+
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
529
|
+
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
530
|
+
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
531
|
+
onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
|
|
532
|
+
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
533
|
+
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
|
|
534
|
+
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
535
|
+
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
536
|
+
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
|
|
537
|
+
autofocus: boolean;
|
|
538
|
+
readonly dataset: DOMStringMap;
|
|
539
|
+
nonce?: string;
|
|
540
|
+
tabIndex: number;
|
|
541
|
+
blur(): void;
|
|
542
|
+
focus(options?: FocusOptions): void;
|
|
543
|
+
}) & (new () => HTMLElement & FASTElement) & {
|
|
544
|
+
from<TBase extends {
|
|
545
|
+
new (): HTMLElement;
|
|
546
|
+
prototype: HTMLElement;
|
|
547
|
+
}>(BaseType: TBase): new () => InstanceType<TBase> & FASTElement;
|
|
548
|
+
define<TType extends Function>(type: TType, nameOrDef?: string | PartialFASTElementDefinition): TType;
|
|
549
|
+
};
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* Format the error as a string with a different format depending on whether
|
|
553
|
+
* `err` has a `FIELD` property or not
|
|
554
|
+
* @public
|
|
555
|
+
*/
|
|
556
|
+
export declare const getErrorFormat: (err: any) => string;
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Logger for the entity management suite
|
|
560
|
+
*
|
|
561
|
+
* @privateRemarks TODO: Should we expose a hook to set log level rather than the logger itself
|
|
562
|
+
* @internal
|
|
563
|
+
*/
|
|
564
|
+
export declare const logger: Logger;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Main class which defined the profile management functionality
|
|
568
|
+
*
|
|
569
|
+
* @remarks
|
|
570
|
+
*
|
|
571
|
+
* Under the hood the profile-management is the entity-management micro-frontend configured for use
|
|
572
|
+
* with the `ALL_PROFILES` resource.
|
|
573
|
+
*
|
|
574
|
+
* @public
|
|
575
|
+
*
|
|
576
|
+
* @example
|
|
577
|
+
*
|
|
578
|
+
* You can use this class by forward declaring it in the template file where it is used, and then using
|
|
579
|
+
* it in a html template. It is recommended to wrap it in an error boundary.
|
|
580
|
+
* ```javascript
|
|
581
|
+
* <profile-management></profile-management>
|
|
582
|
+
* ```
|
|
583
|
+
*
|
|
584
|
+
*/
|
|
585
|
+
export declare class Profiles extends EntityManagement {
|
|
586
|
+
/**
|
|
587
|
+
* Auth provider which is used to confirm authorisation of the user for their user management permissions
|
|
588
|
+
*
|
|
589
|
+
* @remarks
|
|
590
|
+
*
|
|
591
|
+
* Requires {@link @genesislcap/foundation-comms#Auth | the auth class} to be registered with the
|
|
592
|
+
* DI container
|
|
593
|
+
* @internal
|
|
594
|
+
*/
|
|
595
|
+
private auth;
|
|
596
|
+
/**
|
|
597
|
+
* Constructor will set the {@link EntityManagement.createEvent} {@link EntityManagement.deleteEvent} {@link EntityManagement.updateEvent} to match the permissions set from the server
|
|
598
|
+
*/
|
|
599
|
+
constructor();
|
|
600
|
+
readProfileData(profile: any): Promise<{
|
|
601
|
+
RIGHT_CODES: any[];
|
|
602
|
+
USER_NAMES: any[];
|
|
603
|
+
NAME: any;
|
|
604
|
+
}>;
|
|
605
|
+
deleteEntity(e: any): Promise<void>;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* Main class which defines the user management functionality
|
|
610
|
+
*
|
|
611
|
+
* @remarks
|
|
612
|
+
*
|
|
613
|
+
* Under the hood the user-management is the entity-management micro-frontend configured for use
|
|
614
|
+
* with the `ALL_USERS` resource.
|
|
615
|
+
*
|
|
616
|
+
* @public
|
|
617
|
+
*
|
|
618
|
+
* @example
|
|
619
|
+
*
|
|
620
|
+
* With no customisation required the user management micro-frontend can simply be dropped into the
|
|
621
|
+
* template as shown. However, it is advised to wrap it in an error boundary component.
|
|
622
|
+
* ```javascript
|
|
623
|
+
* <user-management></user-management>
|
|
624
|
+
* ```
|
|
625
|
+
* With this default example above the columns will be the {@link UsersColumnConfig} as well as the
|
|
626
|
+
* entity and status columns. The entity and status
|
|
627
|
+
* columns are always added regardless of the other columns which are configured.
|
|
628
|
+
*
|
|
629
|
+
* You can add in additional customisation options. For example you can define a custom column and
|
|
630
|
+
* then mix-in with the standard columns
|
|
631
|
+
* ```javascript
|
|
632
|
+
* import { Users, UsersColumnConfig, } from '@genesislcap/foundation-entity-management';
|
|
633
|
+
*
|
|
634
|
+
* const userColumns = [
|
|
635
|
+
* {
|
|
636
|
+
* field: 'ACCESS_TYPE',
|
|
637
|
+
* headerName: 'Access Type',
|
|
638
|
+
* },
|
|
639
|
+
* ];
|
|
640
|
+
*
|
|
641
|
+
* // Definition inside of the html template
|
|
642
|
+
* <user-management :columns=${() => [...UsersColumnConfig, ...userColumns]}></user-management>
|
|
643
|
+
* ```
|
|
644
|
+
*/
|
|
645
|
+
export declare class Users extends Users_base {
|
|
646
|
+
/**
|
|
647
|
+
* DI connect object which is used to interact with the backend.
|
|
648
|
+
*
|
|
649
|
+
* @remarks
|
|
650
|
+
*
|
|
651
|
+
* Requires {@link @genesislcap/foundation-comms#Connect | the connect class} to be registered with the
|
|
652
|
+
* DI container
|
|
653
|
+
* @internal
|
|
654
|
+
*/
|
|
655
|
+
private connect;
|
|
656
|
+
/**
|
|
657
|
+
* Auth provider which is used to confirm authorisation of the user for their user management permissions
|
|
658
|
+
*
|
|
659
|
+
* @remarks
|
|
660
|
+
*
|
|
661
|
+
* Requires {@link @genesislcap/foundation-comms#Auth | the auth class} to be registered with the
|
|
662
|
+
* DI container
|
|
663
|
+
* @internal
|
|
664
|
+
*/
|
|
665
|
+
private auth;
|
|
666
|
+
/**
|
|
667
|
+
* The configuration which is used when interacting with the resource on the backend
|
|
668
|
+
*
|
|
669
|
+
* @remarks
|
|
670
|
+
*
|
|
671
|
+
* Handles the configuration such as how many rows of entities to fetch at a time
|
|
672
|
+
* @internal
|
|
673
|
+
*/
|
|
674
|
+
datasourceConfig: DatasourceConfiguration;
|
|
675
|
+
/**
|
|
676
|
+
* Configuring the resourceName from the entity-management, set to manage the users resource specifically
|
|
677
|
+
* @internal
|
|
678
|
+
*/
|
|
679
|
+
resourceName: string;
|
|
680
|
+
/**
|
|
681
|
+
* Returns a configuration for an optional status column
|
|
682
|
+
*
|
|
683
|
+
* @returns Column configuration for an optional status column
|
|
684
|
+
* @internal
|
|
685
|
+
*/
|
|
686
|
+
statusColumn(): {
|
|
687
|
+
headerName: string;
|
|
688
|
+
field: string;
|
|
689
|
+
minWidth: number;
|
|
690
|
+
width: number;
|
|
691
|
+
suppressSizeToFit: boolean;
|
|
692
|
+
cellRendererSelector: any;
|
|
693
|
+
enableCellChangeFlash: boolean;
|
|
694
|
+
enableRowGroup: boolean;
|
|
695
|
+
enablePivot: boolean;
|
|
696
|
+
enableValue: boolean;
|
|
697
|
+
};
|
|
698
|
+
/**
|
|
699
|
+
* Returns the config for an entity column if the entityID attribute is defined
|
|
700
|
+
*
|
|
701
|
+
* @returns Config for an entity column if the entityID is defined, else an empty array
|
|
702
|
+
* @internal
|
|
703
|
+
*/
|
|
704
|
+
entityColumn(): {
|
|
705
|
+
headerName: string;
|
|
706
|
+
field: string;
|
|
707
|
+
enableCellChangeFlash: boolean;
|
|
708
|
+
enableRowGroup: boolean;
|
|
709
|
+
enablePivot: boolean;
|
|
710
|
+
enableValue: boolean;
|
|
711
|
+
}[];
|
|
712
|
+
/**
|
|
713
|
+
* Column definition, default to the UsersColumnConfig
|
|
714
|
+
*/
|
|
715
|
+
columns: any;
|
|
716
|
+
additionalCreateFields: any;
|
|
717
|
+
additionalUpdateFields: any;
|
|
718
|
+
allAccessType: boolean;
|
|
719
|
+
private entityIdValue;
|
|
720
|
+
/**
|
|
721
|
+
* String which contains event if we have permission to insert user of empty string if not
|
|
722
|
+
*/
|
|
723
|
+
createEvent: string;
|
|
724
|
+
/**
|
|
725
|
+
* String which contains event if we have permission to delete user of empty string if not
|
|
726
|
+
*/
|
|
727
|
+
deleteEvent: string;
|
|
728
|
+
/**
|
|
729
|
+
* String which contains event if we have permission to update user of empty string if not
|
|
730
|
+
*/
|
|
731
|
+
updateEvent: string;
|
|
732
|
+
/**
|
|
733
|
+
* entityID used to control the definition of an optional entity column which is created with the {@link Users.entityColumn} function.
|
|
734
|
+
* @internal
|
|
735
|
+
*/
|
|
736
|
+
entityID: string;
|
|
737
|
+
/**
|
|
738
|
+
* entityID used to display label from the selector of entityID {@link Users.entityColumn} function.
|
|
739
|
+
* @internal
|
|
740
|
+
*/
|
|
741
|
+
entityLabelKey: string;
|
|
742
|
+
/**
|
|
743
|
+
* entityID used to control the definition of an optional entity column which is created with the {@link Users.entityColumn} function.
|
|
744
|
+
* @internal
|
|
745
|
+
*/
|
|
746
|
+
entityLabel: string;
|
|
747
|
+
/**
|
|
748
|
+
* Definition of the `DATASERVER` query which is used when managing Counterpartys
|
|
749
|
+
* @internal
|
|
750
|
+
*/
|
|
751
|
+
availableEntitiesEndpoint: string;
|
|
752
|
+
/**
|
|
753
|
+
* Constructor will set the {@link Users.createEvent} {@link Users.deleteEvent} {@link Users.updateEvent} to match the permissions set from the server
|
|
754
|
+
*/
|
|
755
|
+
constructor();
|
|
756
|
+
connectedCallback(): Promise<void>;
|
|
757
|
+
deepClone(): Node;
|
|
758
|
+
/**
|
|
759
|
+
* Used as the callback function in {@link Users.statusColumn}
|
|
760
|
+
* @internal
|
|
761
|
+
*/
|
|
762
|
+
statusRendererSelector(params: any): {
|
|
763
|
+
component: GridProRendererTypes;
|
|
764
|
+
params: {
|
|
765
|
+
actionClick: () => Promise<void>;
|
|
766
|
+
actionName: string;
|
|
767
|
+
appearance: string;
|
|
768
|
+
};
|
|
769
|
+
};
|
|
770
|
+
/**
|
|
771
|
+
* Changes the status of an entity
|
|
772
|
+
*
|
|
773
|
+
* @remarks
|
|
774
|
+
*
|
|
775
|
+
* The action which is run on the status button from {@link Users.statusRendererSelector}
|
|
776
|
+
*
|
|
777
|
+
* @internal
|
|
778
|
+
*/
|
|
779
|
+
changeStatus(params: any): Promise<void>;
|
|
780
|
+
/**
|
|
781
|
+
* @internal
|
|
782
|
+
*/
|
|
783
|
+
readUserData(user: any): Promise<{
|
|
784
|
+
USER_PROFILES: any[];
|
|
785
|
+
ADDRESS_LINE_1: any;
|
|
786
|
+
ADDRESS_LINE_2: any;
|
|
787
|
+
ADDRESS_LINE_3: any;
|
|
788
|
+
ADDRESS_LINE_4: any;
|
|
789
|
+
ACCESS_TYPE: string;
|
|
790
|
+
} | {
|
|
791
|
+
USER_PROFILES: any[];
|
|
792
|
+
ADDRESS_LINE_1: any;
|
|
793
|
+
ADDRESS_LINE_2: any;
|
|
794
|
+
ADDRESS_LINE_3: any;
|
|
795
|
+
ADDRESS_LINE_4: any;
|
|
796
|
+
ACCESS_TYPE?: undefined;
|
|
797
|
+
}>;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
declare const Users_base: (new (...args: any[]) => {
|
|
801
|
+
"__#1@#_containingLayout": {
|
|
802
|
+
dragging: boolean;
|
|
803
|
+
};
|
|
804
|
+
cloneNode(deep?: boolean): Node;
|
|
805
|
+
deepClone(): Node;
|
|
806
|
+
readonly shouldRunDisconnect: boolean;
|
|
807
|
+
readonly shouldRunConnect: boolean;
|
|
808
|
+
"__#1@#_tryFindContainingLayout"(e: Element): {
|
|
809
|
+
dragging: boolean;
|
|
810
|
+
};
|
|
811
|
+
connectedCallback(): void;
|
|
812
|
+
readonly $fastController: Controller;
|
|
813
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
|
|
814
|
+
disconnectedCallback(): void;
|
|
815
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
816
|
+
accessKey: string;
|
|
817
|
+
readonly accessKeyLabel: string;
|
|
818
|
+
autocapitalize: string;
|
|
819
|
+
dir: string;
|
|
820
|
+
draggable: boolean;
|
|
821
|
+
hidden: boolean;
|
|
822
|
+
inert: boolean;
|
|
823
|
+
innerText: string;
|
|
824
|
+
lang: string;
|
|
825
|
+
readonly offsetHeight: number;
|
|
826
|
+
readonly offsetLeft: number;
|
|
827
|
+
readonly offsetParent: Element;
|
|
828
|
+
readonly offsetTop: number;
|
|
829
|
+
readonly offsetWidth: number;
|
|
830
|
+
outerText: string;
|
|
831
|
+
spellcheck: boolean;
|
|
832
|
+
title: string;
|
|
833
|
+
translate: boolean;
|
|
834
|
+
attachInternals(): ElementInternals;
|
|
835
|
+
click(): void;
|
|
836
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
837
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
838
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
839
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
840
|
+
readonly attributes: NamedNodeMap;
|
|
841
|
+
readonly classList: DOMTokenList;
|
|
842
|
+
className: string;
|
|
843
|
+
readonly clientHeight: number;
|
|
844
|
+
readonly clientLeft: number;
|
|
845
|
+
readonly clientTop: number;
|
|
846
|
+
readonly clientWidth: number;
|
|
847
|
+
id: string;
|
|
848
|
+
readonly localName: string;
|
|
849
|
+
readonly namespaceURI: string;
|
|
850
|
+
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
851
|
+
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
852
|
+
outerHTML: string;
|
|
853
|
+
readonly ownerDocument: Document;
|
|
854
|
+
readonly part: DOMTokenList;
|
|
855
|
+
readonly prefix: string;
|
|
856
|
+
readonly scrollHeight: number;
|
|
857
|
+
scrollLeft: number;
|
|
858
|
+
scrollTop: number;
|
|
859
|
+
readonly scrollWidth: number;
|
|
860
|
+
readonly shadowRoot: ShadowRoot;
|
|
861
|
+
slot: string;
|
|
862
|
+
readonly tagName: string;
|
|
863
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
864
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
865
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
866
|
+
closest<E extends Element = Element>(selectors: string): E;
|
|
867
|
+
getAttribute(qualifiedName: string): string;
|
|
868
|
+
getAttributeNS(namespace: string, localName: string): string;
|
|
869
|
+
getAttributeNames(): string[];
|
|
870
|
+
getAttributeNode(qualifiedName: string): Attr;
|
|
871
|
+
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
872
|
+
getBoundingClientRect(): DOMRect;
|
|
873
|
+
getClientRects(): DOMRectList;
|
|
874
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
875
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
876
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
877
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
878
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
879
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
880
|
+
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
881
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
882
|
+
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
883
|
+
hasAttributes(): boolean;
|
|
884
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
885
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
886
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
887
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
888
|
+
matches(selectors: string): boolean;
|
|
889
|
+
releasePointerCapture(pointerId: number): void;
|
|
890
|
+
removeAttribute(qualifiedName: string): void;
|
|
891
|
+
removeAttributeNS(namespace: string, localName: string): void;
|
|
892
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
893
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
894
|
+
requestPointerLock(): void;
|
|
895
|
+
scroll(options?: ScrollToOptions): void;
|
|
896
|
+
scroll(x: number, y: number): void;
|
|
897
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
898
|
+
scrollBy(x: number, y: number): void;
|
|
899
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
900
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
901
|
+
scrollTo(x: number, y: number): void;
|
|
902
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
903
|
+
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
904
|
+
setAttributeNode(attr: Attr): Attr; /**
|
|
905
|
+
* entityID used to display label from the selector of entityID {@link Users.entityColumn} function.
|
|
906
|
+
* @internal
|
|
907
|
+
*/
|
|
908
|
+
setAttributeNodeNS(attr: Attr): Attr;
|
|
909
|
+
setPointerCapture(pointerId: number): void;
|
|
910
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean; /**
|
|
911
|
+
* entityID used to control the definition of an optional entity column which is created with the {@link Users.entityColumn} function.
|
|
912
|
+
* @internal
|
|
913
|
+
*/
|
|
914
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
915
|
+
readonly baseURI: string;
|
|
916
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
917
|
+
readonly firstChild: ChildNode;
|
|
918
|
+
readonly isConnected: boolean;
|
|
919
|
+
readonly lastChild: ChildNode;
|
|
920
|
+
readonly nextSibling: ChildNode;
|
|
921
|
+
readonly nodeName: string;
|
|
922
|
+
readonly nodeType: number;
|
|
923
|
+
nodeValue: string;
|
|
924
|
+
readonly parentElement: HTMLElement;
|
|
925
|
+
readonly parentNode: ParentNode;
|
|
926
|
+
readonly previousSibling: ChildNode;
|
|
927
|
+
textContent: string;
|
|
928
|
+
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
929
|
+
compareDocumentPosition(other: Node): number;
|
|
930
|
+
contains(other: Node): boolean;
|
|
931
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
932
|
+
hasChildNodes(): boolean;
|
|
933
|
+
insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
|
|
934
|
+
isDefaultNamespace(namespace: string): boolean;
|
|
935
|
+
isEqualNode(otherNode: Node): boolean;
|
|
936
|
+
isSameNode(otherNode: Node): boolean;
|
|
937
|
+
lookupNamespaceURI(prefix: string): string;
|
|
938
|
+
lookupPrefix(namespace: string): string;
|
|
939
|
+
normalize(): void;
|
|
940
|
+
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
941
|
+
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
942
|
+
readonly ATTRIBUTE_NODE: number;
|
|
943
|
+
readonly CDATA_SECTION_NODE: number;
|
|
944
|
+
readonly COMMENT_NODE: number;
|
|
945
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
946
|
+
readonly DOCUMENT_NODE: number;
|
|
947
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
948
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
949
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
950
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
951
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
952
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
953
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
954
|
+
readonly ELEMENT_NODE: number;
|
|
955
|
+
readonly ENTITY_NODE: number;
|
|
956
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
957
|
+
readonly NOTATION_NODE: number;
|
|
958
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
959
|
+
readonly TEXT_NODE: number;
|
|
960
|
+
dispatchEvent(event: Event): boolean;
|
|
961
|
+
ariaAtomic: string;
|
|
962
|
+
ariaAutoComplete: string;
|
|
963
|
+
ariaBusy: string;
|
|
964
|
+
ariaChecked: string;
|
|
965
|
+
ariaColCount: string;
|
|
966
|
+
ariaColIndex: string;
|
|
967
|
+
ariaColIndexText: string;
|
|
968
|
+
ariaColSpan: string;
|
|
969
|
+
ariaCurrent: string;
|
|
970
|
+
ariaDisabled: string; /**
|
|
971
|
+
* Changes the status of an entity
|
|
972
|
+
*
|
|
973
|
+
* @remarks
|
|
974
|
+
*
|
|
975
|
+
* The action which is run on the status button from {@link Users.statusRendererSelector}
|
|
976
|
+
*
|
|
977
|
+
* @internal
|
|
978
|
+
*/
|
|
979
|
+
ariaExpanded: string;
|
|
980
|
+
ariaHasPopup: string;
|
|
981
|
+
ariaHidden: string;
|
|
982
|
+
ariaInvalid: string;
|
|
983
|
+
ariaKeyShortcuts: string;
|
|
984
|
+
ariaLabel: string;
|
|
985
|
+
ariaLevel: string;
|
|
986
|
+
ariaLive: string;
|
|
987
|
+
ariaModal: string;
|
|
988
|
+
ariaMultiLine: string;
|
|
989
|
+
ariaMultiSelectable: string;
|
|
990
|
+
ariaOrientation: string;
|
|
991
|
+
ariaPlaceholder: string;
|
|
992
|
+
ariaPosInSet: string;
|
|
993
|
+
ariaPressed: string;
|
|
994
|
+
ariaReadOnly: string;
|
|
995
|
+
ariaRequired: string;
|
|
996
|
+
ariaRoleDescription: string;
|
|
997
|
+
ariaRowCount: string;
|
|
998
|
+
ariaRowIndex: string;
|
|
999
|
+
ariaRowIndexText: string;
|
|
1000
|
+
ariaRowSpan: string;
|
|
1001
|
+
ariaSelected: string;
|
|
1002
|
+
ariaSetSize: string;
|
|
1003
|
+
ariaSort: string;
|
|
1004
|
+
ariaValueMax: string;
|
|
1005
|
+
ariaValueMin: string;
|
|
1006
|
+
ariaValueNow: string;
|
|
1007
|
+
ariaValueText: string;
|
|
1008
|
+
role: string;
|
|
1009
|
+
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
|
|
1010
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
1011
|
+
after(...nodes: (string | Node)[]): void;
|
|
1012
|
+
before(...nodes: (string | Node)[]): void;
|
|
1013
|
+
remove(): void;
|
|
1014
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
1015
|
+
innerHTML: string;
|
|
1016
|
+
readonly nextElementSibling: Element;
|
|
1017
|
+
readonly previousElementSibling: Element;
|
|
1018
|
+
readonly childElementCount: number;
|
|
1019
|
+
readonly children: HTMLCollection;
|
|
1020
|
+
readonly firstElementChild: Element;
|
|
1021
|
+
readonly lastElementChild: Element;
|
|
1022
|
+
append(...nodes: (string | Node)[]): void;
|
|
1023
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
1024
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
1025
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
1026
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
1027
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
1028
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
1029
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
1030
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
1031
|
+
readonly assignedSlot: HTMLSlotElement;
|
|
1032
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
1033
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
1034
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
1035
|
+
readonly style: CSSStyleDeclaration;
|
|
1036
|
+
contentEditable: string;
|
|
1037
|
+
enterKeyHint: string;
|
|
1038
|
+
inputMode: string;
|
|
1039
|
+
readonly isContentEditable: boolean;
|
|
1040
|
+
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
1041
|
+
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
1042
|
+
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
1043
|
+
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
1044
|
+
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
1045
|
+
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1046
|
+
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
1047
|
+
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
1048
|
+
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1049
|
+
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1050
|
+
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1051
|
+
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1052
|
+
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1053
|
+
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1054
|
+
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1055
|
+
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1056
|
+
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1057
|
+
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1058
|
+
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1059
|
+
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1060
|
+
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1061
|
+
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1062
|
+
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1063
|
+
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
1064
|
+
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1065
|
+
onemptied: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1066
|
+
onended: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1067
|
+
onerror: OnErrorEventHandlerNonNull;
|
|
1068
|
+
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
1069
|
+
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
|
|
1070
|
+
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1071
|
+
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1072
|
+
oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1073
|
+
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
1074
|
+
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
1075
|
+
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
1076
|
+
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1077
|
+
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1078
|
+
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1079
|
+
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1080
|
+
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1081
|
+
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1082
|
+
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1083
|
+
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1084
|
+
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1085
|
+
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1086
|
+
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1087
|
+
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1088
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1089
|
+
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1090
|
+
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1091
|
+
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1092
|
+
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1093
|
+
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1094
|
+
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1095
|
+
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1096
|
+
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1097
|
+
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1098
|
+
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1099
|
+
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
|
|
1100
|
+
onratechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1101
|
+
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1102
|
+
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
1103
|
+
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1104
|
+
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
1105
|
+
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1106
|
+
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1107
|
+
onselect: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1108
|
+
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1109
|
+
onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1110
|
+
onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1111
|
+
onstalled: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1112
|
+
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
|
|
1113
|
+
onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1114
|
+
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1115
|
+
ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1116
|
+
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
1117
|
+
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
1118
|
+
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
1119
|
+
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
1120
|
+
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
1121
|
+
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
1122
|
+
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
1123
|
+
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
1124
|
+
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1125
|
+
onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1126
|
+
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1127
|
+
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1128
|
+
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1129
|
+
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1130
|
+
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
|
|
1131
|
+
autofocus: boolean;
|
|
1132
|
+
readonly dataset: DOMStringMap;
|
|
1133
|
+
nonce?: string;
|
|
1134
|
+
tabIndex: number;
|
|
1135
|
+
blur(): void;
|
|
1136
|
+
focus(options?: FocusOptions): void;
|
|
1137
|
+
}) & (new () => HTMLElement & FASTElement) & {
|
|
1138
|
+
from<TBase extends {
|
|
1139
|
+
new (): HTMLElement;
|
|
1140
|
+
prototype: HTMLElement;
|
|
1141
|
+
}>(BaseType: TBase): new () => InstanceType<TBase> & FASTElement;
|
|
1142
|
+
define<TType extends Function>(type: TType, nameOrDef?: string | PartialFASTElementDefinition): TType;
|
|
1143
|
+
};
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* Defines the default columns which are present on the user management component
|
|
1147
|
+
*
|
|
1148
|
+
* @remarks
|
|
1149
|
+
*
|
|
1150
|
+
* This is exported so you can override and mix-in custom columns along with the default
|
|
1151
|
+
* @public
|
|
1152
|
+
*/
|
|
1153
|
+
export declare const UsersColumnConfig: ({
|
|
1154
|
+
field: string;
|
|
1155
|
+
headerName: string;
|
|
1156
|
+
enableCellChangeFlash: boolean;
|
|
1157
|
+
enableRowGroup: boolean;
|
|
1158
|
+
enablePivot: boolean;
|
|
1159
|
+
enableValue: boolean;
|
|
1160
|
+
} | {
|
|
1161
|
+
field: string;
|
|
1162
|
+
headerName: string;
|
|
1163
|
+
valueFormatter: ({ value }: {
|
|
1164
|
+
value: any;
|
|
1165
|
+
}) => string;
|
|
1166
|
+
enableCellChangeFlash: boolean;
|
|
1167
|
+
enableRowGroup: boolean;
|
|
1168
|
+
enablePivot: boolean;
|
|
1169
|
+
enableValue: boolean;
|
|
1170
|
+
})[];
|
|
1171
|
+
|
|
1172
|
+
export { }
|