@genesislcap/foundation-entity-management 14.177.0 → 14.177.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -261,6 +261,7 @@ export declare class EntityManagement extends EntityManagement_base {
261
261
  * @internal
262
262
  */
263
263
  connectedCallback(): Promise<void>;
264
+ disconnectedCallback(): Promise<void>;
264
265
  /**
265
266
  * Gets the default searchBarConfig if the user has not created their own.
266
267
  * @internal
@@ -365,10 +366,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
365
366
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
366
367
  readonly attributes: NamedNodeMap;
367
368
  readonly classList: DOMTokenList;
368
- className: string; /**
369
- * Array which holds the column definitions.
370
- * @public
371
- */
369
+ className: string;
372
370
  readonly clientHeight: number;
373
371
  readonly clientLeft: number;
374
372
  readonly clientTop: number;
@@ -410,7 +408,11 @@ declare const EntityManagement_base: (new (...args: any[]) => {
410
408
  hasAttribute(qualifiedName: string): boolean;
411
409
  hasAttributeNS(namespace: string, localName: string): boolean;
412
410
  hasAttributes(): boolean;
413
- hasPointerCapture(pointerId: number): boolean;
411
+ hasPointerCapture(pointerId: number): boolean; /**
412
+ * The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.
413
+ * @remarks Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.
414
+ * @public
415
+ */
414
416
  insertAdjacentElement(where: InsertPosition, element: Element): Element;
415
417
  insertAdjacentHTML(position: InsertPosition, text: string): void;
416
418
  insertAdjacentText(where: InsertPosition, data: string): void;
@@ -419,10 +421,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
419
421
  removeAttribute(qualifiedName: string): void;
420
422
  removeAttributeNS(namespace: string, localName: string): void;
421
423
  removeAttributeNode(attr: Attr): Attr;
422
- requestFullscreen(options?: FullscreenOptions): Promise<void>; /**
423
- * Set up the web component
424
- * @internal
425
- */
424
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
426
425
  requestPointerLock(): void;
427
426
  scroll(options?: ScrollToOptions): void;
428
427
  scroll(x: number, y: number): void;
@@ -484,14 +483,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
484
483
  readonly PROCESSING_INSTRUCTION_NODE: number;
485
484
  readonly TEXT_NODE: number;
486
485
  dispatchEvent(event: Event): boolean;
487
- ariaAtomic: string; /**
488
- * Event handler for when the user submits the action for the currently open form, either editing or adding the entity
489
- *
490
- * @param e - CustomEvent which contains the payload for the entity to submit to the backend
491
- *
492
- * Emits an event upon error
493
- * @public
494
- */
486
+ ariaAtomic: string;
495
487
  ariaAutoComplete: string;
496
488
  ariaBusy: string;
497
489
  ariaChecked: string;
@@ -499,17 +491,18 @@ declare const EntityManagement_base: (new (...args: any[]) => {
499
491
  ariaColIndex: string;
500
492
  ariaColIndexText: string;
501
493
  ariaColSpan: string;
502
- ariaCurrent: string;
494
+ ariaCurrent: string; /**
495
+ * Event handler for when the user submits the action for the currently open form, either editing or adding the entity
496
+ *
497
+ * @param e - CustomEvent which contains the payload for the entity to submit to the backend
498
+ *
499
+ * Emits an event upon error
500
+ * @public
501
+ */
503
502
  ariaDisabled: string;
504
503
  ariaExpanded: string;
505
504
  ariaHasPopup: string;
506
505
  ariaHidden: string;
507
- /**
508
- * Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
509
- *
510
- * @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.
511
- * @internal
512
- */
513
506
  ariaInvalid: string;
514
507
  ariaKeyShortcuts: string;
515
508
  ariaLabel: string;
@@ -605,10 +598,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
605
598
  onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
606
599
  onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
607
600
  onload: (this: GlobalEventHandlers, ev: Event) => any;
608
- onloadeddata: (this: GlobalEventHandlers, ev: Event) => any; /**
609
- * Show notifications if the executed event returned an error.
610
- * @internal
611
- */
601
+ onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
612
602
  onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
613
603
  onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
614
604
  onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
@@ -955,6 +945,7 @@ export declare class Users extends Users_base {
955
945
  */
956
946
  constructor();
957
947
  connectedCallback(): Promise<void>;
948
+ disconnectedCallback(): Promise<void>;
958
949
  deepClone(): Node;
959
950
  /**
960
951
  * Used as the callback function in {@link Users.statusColumn}
@@ -1037,7 +1028,19 @@ declare const Users_base: (new (...args: any[]) => {
1037
1028
  click(): void;
1038
1029
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1039
1030
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1031
+ /**
1032
+ * Returns the config for an entity column if the entityID attribute is defined
1033
+ *
1034
+ * @returns Config for an entity column if the entityID is defined, else an empty array
1035
+ * @internal
1036
+ */
1040
1037
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
1038
+ /**
1039
+ * Returns the config for an entity column if the entityID attribute is defined
1040
+ *
1041
+ * @returns Config for an entity column if the entityID is defined, else an empty array
1042
+ * @internal
1043
+ */
1041
1044
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1042
1045
  readonly attributes: NamedNodeMap;
1043
1046
  readonly classList: DOMTokenList;
@@ -1056,9 +1059,6 @@ declare const Users_base: (new (...args: any[]) => {
1056
1059
  readonly part: DOMTokenList;
1057
1060
  readonly prefix: string;
1058
1061
  readonly scrollHeight: number;
1059
- /**
1060
- * String which contains event if we have permission to update user of empty string if not
1061
- */
1062
1062
  scrollLeft: number;
1063
1063
  scrollTop: number;
1064
1064
  readonly scrollWidth: number;
@@ -1133,9 +1133,7 @@ declare const Users_base: (new (...args: any[]) => {
1133
1133
  isDefaultNamespace(namespace: string): boolean;
1134
1134
  isEqualNode(otherNode: Node): boolean;
1135
1135
  isSameNode(otherNode: Node): boolean;
1136
- lookupNamespaceURI(prefix: string): string; /**
1137
- * @internal
1138
- */
1136
+ lookupNamespaceURI(prefix: string): string;
1139
1137
  lookupPrefix(namespace: string): string;
1140
1138
  normalize(): void;
1141
1139
  removeChild<T_3 extends Node>(child: T_3): T_3;
@@ -0,0 +1,15 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [disconnectedCallback](./foundation-entity-management.entitymanagement.disconnectedcallback.md)
4
+
5
+ ## EntityManagement.disconnectedCallback() method
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ disconnectedCallback(): Promise<void>;
11
+ ```
12
+ **Returns:**
13
+
14
+ Promise&lt;void&gt;
15
+
@@ -86,6 +86,7 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
86
86
  | [confirmDelete()](./foundation-entity-management.entitymanagement.confirmdelete.md) | | |
87
87
  | [criteriaChanged(e)](./foundation-entity-management.entitymanagement.criteriachanged.md) | | |
88
88
  | [deepClone()](./foundation-entity-management.entitymanagement.deepclone.md) | | Override the deepClone method to ensure that observable attributes are cloned |
89
+ | [disconnectedCallback()](./foundation-entity-management.entitymanagement.disconnectedcallback.md) | | |
89
90
  | [editModalVisibleChanged()](./foundation-entity-management.entitymanagement.editmodalvisiblechanged.md) | | |
90
91
  | [searchChanged(event)](./foundation-entity-management.entitymanagement.searchchanged.md) | | |
91
92
  | [submitEntityChanges(e)](./foundation-entity-management.entitymanagement.submitentitychanges.md) | | Event handler for when the user submits the action for the currently open form, either editing or adding the entity |
@@ -0,0 +1,15 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [Users](./foundation-entity-management.users.md) &gt; [disconnectedCallback](./foundation-entity-management.users.disconnectedcallback.md)
4
+
5
+ ## Users.disconnectedCallback() method
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ disconnectedCallback(): Promise<void>;
11
+ ```
12
+ **Returns:**
13
+
14
+ Promise&lt;void&gt;
15
+
@@ -75,4 +75,5 @@ const userColumns = [
75
75
  | --- | --- | --- |
76
76
  | [connectedCallback()](./foundation-entity-management.users.connectedcallback.md) | | |
77
77
  | [deepClone()](./foundation-entity-management.users.deepclone.md) | | |
78
+ | [disconnectedCallback()](./foundation-entity-management.users.disconnectedcallback.md) | | |
78
79
 
@@ -68,6 +68,8 @@ export class EntityManagement extends EntityManagement_base {
68
68
  // @internal
69
69
  deleteEntity(e: CustomEvent): Promise<void>;
70
70
  deleteEvent: string;
71
+ // (undocumented)
72
+ disconnectedCallback(): Promise<void>;
71
73
  editDialogTitle: string;
72
74
  editedEntity: any;
73
75
  // (undocumented)
@@ -207,6 +209,8 @@ export class Users extends Users_base {
207
209
  // (undocumented)
208
210
  deepClone(): Node;
209
211
  deleteEvent: string;
212
+ // (undocumented)
213
+ disconnectedCallback(): Promise<void>;
210
214
  enableSearchBar: boolean;
211
215
  // @internal
212
216
  entityColumn(): {
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.177.0",
4
+ "version": "14.177.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -43,29 +43,29 @@
43
43
  "test:debug": "genx test --debug"
44
44
  },
45
45
  "devDependencies": {
46
- "@genesislcap/foundation-testing": "14.177.0",
47
- "@genesislcap/genx": "14.177.0",
48
- "@genesislcap/rollup-builder": "14.177.0",
49
- "@genesislcap/ts-builder": "14.177.0",
50
- "@genesislcap/uvu-playwright-builder": "14.177.0",
51
- "@genesislcap/vite-builder": "14.177.0",
52
- "@genesislcap/webpack-builder": "14.177.0",
46
+ "@genesislcap/foundation-testing": "14.177.1",
47
+ "@genesislcap/genx": "14.177.1",
48
+ "@genesislcap/rollup-builder": "14.177.1",
49
+ "@genesislcap/ts-builder": "14.177.1",
50
+ "@genesislcap/uvu-playwright-builder": "14.177.1",
51
+ "@genesislcap/vite-builder": "14.177.1",
52
+ "@genesislcap/webpack-builder": "14.177.1",
53
53
  "rimraf": "^3.0.2"
54
54
  },
55
55
  "dependencies": {
56
56
  "@ag-grid-community/core": "29.2.0",
57
- "@genesislcap/foundation-comms": "14.177.0",
58
- "@genesislcap/foundation-errors": "14.177.0",
59
- "@genesislcap/foundation-events": "14.177.0",
60
- "@genesislcap/foundation-forms": "14.177.0",
61
- "@genesislcap/foundation-logger": "14.177.0",
62
- "@genesislcap/foundation-login": "14.177.0",
63
- "@genesislcap/foundation-notifications": "14.177.0",
64
- "@genesislcap/foundation-ui": "14.177.0",
65
- "@genesislcap/foundation-utils": "14.177.0",
66
- "@genesislcap/foundation-zero": "14.177.0",
67
- "@genesislcap/foundation-zero-grid-pro": "14.177.0",
68
- "@genesislcap/grid-pro": "14.177.0",
57
+ "@genesislcap/foundation-comms": "14.177.1",
58
+ "@genesislcap/foundation-errors": "14.177.1",
59
+ "@genesislcap/foundation-events": "14.177.1",
60
+ "@genesislcap/foundation-forms": "14.177.1",
61
+ "@genesislcap/foundation-logger": "14.177.1",
62
+ "@genesislcap/foundation-login": "14.177.1",
63
+ "@genesislcap/foundation-notifications": "14.177.1",
64
+ "@genesislcap/foundation-ui": "14.177.1",
65
+ "@genesislcap/foundation-utils": "14.177.1",
66
+ "@genesislcap/foundation-zero": "14.177.1",
67
+ "@genesislcap/foundation-zero-grid-pro": "14.177.1",
68
+ "@genesislcap/grid-pro": "14.177.1",
69
69
  "@microsoft/fast-components": "^2.30.6",
70
70
  "@microsoft/fast-element": "^1.12.0",
71
71
  "@microsoft/fast-foundation": "^2.49.4",
@@ -81,5 +81,5 @@
81
81
  "access": "public"
82
82
  },
83
83
  "customElements": "dist/custom-elements.json",
84
- "gitHead": "b3c0ce3e0fa58bae562c2c9bec96beee6a4a2ed4"
84
+ "gitHead": "c07c95144c7ef605e038161300877aea756dcc28"
85
85
  }