@genesislcap/foundation-entity-management 14.214.1 → 14.214.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.
Files changed (55) hide show
  1. package/dist/custom-elements.json +212 -862
  2. package/dist/dts/entities/entities.d.ts +132 -32
  3. package/dist/dts/entities/entities.d.ts.map +1 -1
  4. package/dist/esm/entities/entities.js +44 -10
  5. package/dist/esm/entities/entities.template.js +1 -1
  6. package/dist/foundation-entity-management.api.json +243 -1613
  7. package/dist/foundation-entity-management.d.ts +132 -32
  8. package/docs/api/foundation-entity-management.entitymanagement.createformuischema.md +2 -0
  9. package/docs/api/foundation-entity-management.entitymanagement.enablefilterbar.md +2 -0
  10. package/docs/api/foundation-entity-management.entitymanagement.entitylabel.md +1 -1
  11. package/docs/api/foundation-entity-management.entitymanagement.hidedelete.md +2 -0
  12. package/docs/api/foundation-entity-management.entitymanagement.hideedit.md +2 -0
  13. package/docs/api/foundation-entity-management.entitymanagement.md +10 -50
  14. package/docs/api/foundation-entity-management.entitymanagement.readevent.md +2 -0
  15. package/docs/api/foundation-entity-management.entitymanagement.readeventfn.md +3 -1
  16. package/docs/api/foundation-entity-management.entitymanagement.searchbarconfig.md +2 -0
  17. package/docs/api/foundation-entity-management.entitymanagement.sizecolumnstofit.md +2 -0
  18. package/docs/api/foundation-entity-management.entitymanagement.updateformuischema.md +2 -0
  19. package/docs/api-report.md +33 -34
  20. package/package.json +21 -21
  21. package/docs/api/foundation-entity-management.entitymanagement.asyncadd.md +0 -18
  22. package/docs/api/foundation-entity-management.entitymanagement.asyncremove.md +0 -18
  23. package/docs/api/foundation-entity-management.entitymanagement.asyncupdate.md +0 -18
  24. package/docs/api/foundation-entity-management.entitymanagement.closemodal.md +0 -15
  25. package/docs/api/foundation-entity-management.entitymanagement.confirmdelete.md +0 -15
  26. package/docs/api/foundation-entity-management.entitymanagement.connect.md +0 -18
  27. package/docs/api/foundation-entity-management.entitymanagement.criteriachanged.md +0 -22
  28. package/docs/api/foundation-entity-management.entitymanagement.crudmenuwrapper.md +0 -13
  29. package/docs/api/foundation-entity-management.entitymanagement.deepclone.md +0 -17
  30. package/docs/api/foundation-entity-management.entitymanagement.disconnectedcallback.md +0 -15
  31. package/docs/api/foundation-entity-management.entitymanagement.editedentity.md +0 -13
  32. package/docs/api/foundation-entity-management.entitymanagement.editentitymodal.md +0 -11
  33. package/docs/api/foundation-entity-management.entitymanagement.editmodalvisible.md +0 -11
  34. package/docs/api/foundation-entity-management.entitymanagement.editmodalvisiblechanged.md +0 -15
  35. package/docs/api/foundation-entity-management.entitymanagement.emitcrud.md +0 -24
  36. package/docs/api/foundation-entity-management.entitymanagement.formuischema.md +0 -11
  37. package/docs/api/foundation-entity-management.entitymanagement.gettitlebasedonactionortype.md +0 -24
  38. package/docs/api/foundation-entity-management.entitymanagement.hascontentinslot.md +0 -26
  39. package/docs/api/foundation-entity-management.entitymanagement.hasselectedentity.md +0 -13
  40. package/docs/api/foundation-entity-management.entitymanagement.headertempalate.md +0 -11
  41. package/docs/api/foundation-entity-management.entitymanagement.isserversidedatasource.md +0 -11
  42. package/docs/api/foundation-entity-management.entitymanagement.modalformtitle.md +0 -13
  43. package/docs/api/foundation-entity-management.entitymanagement.modalformtype.md +0 -13
  44. package/docs/api/foundation-entity-management.entitymanagement.readonly.md +0 -11
  45. package/docs/api/foundation-entity-management.entitymanagement.requestchanged.md +0 -22
  46. package/docs/api/foundation-entity-management.entitymanagement.searchbardataserver.md +0 -22
  47. package/docs/api/foundation-entity-management.entitymanagement.searchbarreqserver.md +0 -22
  48. package/docs/api/foundation-entity-management.entitymanagement.searchchanged.md +0 -22
  49. package/docs/api/foundation-entity-management.entitymanagement.selectedentity.md +0 -18
  50. package/docs/api/foundation-entity-management.entitymanagement.selectionchanged.md +0 -24
  51. package/docs/api/foundation-entity-management.entitymanagement.shouldhidedeleteincolumn.md +0 -13
  52. package/docs/api/foundation-entity-management.entitymanagement.shouldhideeditincolumn.md +0 -13
  53. package/docs/api/foundation-entity-management.entitymanagement.submitentitychanges.md +0 -24
  54. package/docs/api/foundation-entity-management.entitymanagement.submitfailurenotification.md +0 -22
  55. package/docs/api/foundation-entity-management.entitymanagement.submitting.md +0 -11
@@ -88,10 +88,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
88
88
  readonly scrollHeight: number;
89
89
  scrollLeft: number;
90
90
  scrollTop: number;
91
- /**
92
- * GridOptions to be passed down from application
93
- * @public
94
- */
95
91
  readonly scrollWidth: number;
96
92
  readonly shadowRoot: ShadowRoot;
97
93
  slot: string;
@@ -103,6 +99,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
103
99
  getAttribute(qualifiedName: string): string;
104
100
  getAttributeNS(namespace: string, localName: string): string;
105
101
  getAttributeNames(): string[];
102
+ /**
103
+ * GridOptions to be passed down from application
104
+ * @public
105
+ */
106
106
  getAttributeNode(qualifiedName: string): Attr;
107
107
  getAttributeNodeNS(namespace: string, localName: string): Attr;
108
108
  getBoundingClientRect(): DOMRect;
@@ -149,10 +149,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
149
149
  readonly lastChild: ChildNode;
150
150
  readonly nextSibling: ChildNode;
151
151
  readonly nodeName: string;
152
- /**
153
- * Determines the style of the buttons
154
- * @public
155
- */
156
152
  readonly nodeType: number;
157
153
  nodeValue: string;
158
154
  readonly parentElement: HTMLElement;
@@ -167,7 +163,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
167
163
  insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
168
164
  isDefaultNamespace(namespace: string): boolean;
169
165
  isEqualNode(otherNode: Node): boolean;
170
- isSameNode(otherNode: Node): boolean;
166
+ isSameNode(otherNode: Node): boolean; /**
167
+ * Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid
168
+ * * @public
169
+ */
171
170
  lookupNamespaceURI(prefix: string): string;
172
171
  lookupPrefix(namespace: string): string;
173
172
  normalize(): void;
@@ -188,6 +187,11 @@ declare const EntityManagement_base: (new (...args: any[]) => {
188
187
  readonly ELEMENT_NODE: number;
189
188
  readonly ENTITY_NODE: number;
190
189
  readonly ENTITY_REFERENCE_NODE: number;
190
+ /**
191
+ * The helper function to determine the title of the modal form or button based on the action or type
192
+ * @param actionOrType - The crud action or modal form type
193
+ * @internal
194
+ */
191
195
  readonly NOTATION_NODE: number;
192
196
  readonly PROCESSING_INSTRUCTION_NODE: number;
193
197
  readonly TEXT_NODE: number;
@@ -205,7 +209,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
205
209
  ariaExpanded: string;
206
210
  ariaHasPopup: string;
207
211
  ariaHidden: string;
208
- ariaInvalid: string;
212
+ ariaInvalid: string; /**
213
+ * Getter for the title of the modal form
214
+ * @internal
215
+ */
209
216
  ariaKeyShortcuts: string;
210
217
  ariaLabel: string;
211
218
  ariaLevel: string;
@@ -299,7 +306,12 @@ declare const EntityManagement_base: (new (...args: any[]) => {
299
306
  onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
300
307
  onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
301
308
  onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
302
- onload: (this: GlobalEventHandlers, ev: Event) => any;
309
+ onload: (this: GlobalEventHandlers, ev: Event) => any; /**
310
+ * Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
311
+ *
312
+ * @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.
313
+ * @internal
314
+ */
303
315
  onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
304
316
  onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
305
317
  onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
@@ -311,7 +323,12 @@ declare const EntityManagement_base: (new (...args: any[]) => {
311
323
  onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
312
324
  onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
313
325
  onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
314
- onpause: (this: GlobalEventHandlers, ev: Event) => any;
326
+ onpause: (this: GlobalEventHandlers, ev: Event) => any; /**
327
+ * Opens the model to edit an entity. Added as an event listener on the class when receiving the `edit-entity` event.
328
+ *
329
+ * @param e - CustomEvent where `e.detail` is the entity to edit.
330
+ * @internal
331
+ */
315
332
  onplay: (this: GlobalEventHandlers, ev: Event) => any;
316
333
  onplaying: (this: GlobalEventHandlers, ev: Event) => any;
317
334
  onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
@@ -333,6 +350,9 @@ declare const EntityManagement_base: (new (...args: any[]) => {
333
350
  onselect: (this: GlobalEventHandlers, ev: Event) => any;
334
351
  onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
335
352
  onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
353
+ /**
354
+ * @internal
355
+ */
336
356
  onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
337
357
  onstalled: (this: GlobalEventHandlers, ev: Event) => any;
338
358
  onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
@@ -406,6 +426,7 @@ export declare class EntityManagement extends EntityManagement_base {
406
426
  *
407
427
  * Requires {@link @genesislcap/foundation-comms#Connect | the connect class} to be registered with the
408
428
  * DI container
429
+ * @internal
409
430
  */
410
431
  protected connect: Connect;
411
432
  /**
@@ -418,8 +439,23 @@ export declare class EntityManagement extends EntityManagement_base {
418
439
  * @public
419
440
  */
420
441
  resourceName: string;
442
+ /**
443
+ * Name of the request on the Genesis server which fetches data for the form, example usage could
444
+ * include fetching additional data that is not available in the grid but required for the selected entity
445
+ * @public
446
+ */
421
447
  readEvent: string;
422
- readEventFn: (...args: any[]) => {};
448
+ /**
449
+ * Similar to readEvent but allows to provide function that will be executed before
450
+ * opening the form and yields data to the form
451
+ * @param entity - selected entity from the grid
452
+ * @returns object with data which will be used to prefill the form similarly to `defaultEntityValues`
453
+ * @public
454
+ */
455
+ readEventFn: (entity: any) => any;
456
+ /**
457
+ * @internal
458
+ */
423
459
  readonly: boolean;
424
460
  /**
425
461
  * Name of the event handler on the Genesis server which handles updating the entity
@@ -442,26 +478,26 @@ export declare class EntityManagement extends EntityManagement_base {
442
478
  */
443
479
  title: string;
444
480
  /**
445
- * Label for the entity which has usages such as being shown in the title of the modal wen editing the entity
481
+ * Label for the entity which is used in the title of the modal when editing the entity, on CRUD buttons and on toast notifications
446
482
  * @public
447
483
  */
448
484
  entityLabel: string;
449
485
  /**
450
486
  * Whether to use the `applyTransactionAsync` function for *add* transactions
451
487
  * @remarks Defaults to false
452
- * @public
488
+ * @internal
453
489
  */
454
490
  asyncAdd: boolean;
455
491
  /**
456
492
  * Whether to use the `applyTransactionAsync` function for *remove* transactions
457
493
  * @remarks Defaults to false
458
- * @public
494
+ * @internal
459
495
  */
460
496
  asyncRemove: boolean;
461
497
  /**
462
498
  * Whether to use the `applyTransactionAsync` function for *update* transactions
463
499
  * @remarks Defaults to true
464
- * @public
500
+ * @internal
465
501
  */
466
502
  asyncUpdate: boolean;
467
503
  /**
@@ -518,8 +554,19 @@ export declare class EntityManagement extends EntityManagement_base {
518
554
  * @public
519
555
  */
520
556
  datasourceConfig: DatasourceConfiguration;
557
+ /**
558
+ * @internal
559
+ */
521
560
  formUiSchema: UiSchema;
561
+ /**
562
+ * Enables you to supply a schema to configure an insert form.
563
+ * @public
564
+ */
522
565
  createFormUiSchema: UiSchema;
566
+ /**
567
+ * Enables you to supply a schema to configure an update form.
568
+ * @public
569
+ */
523
570
  updateFormUiSchema: UiSchema;
524
571
  /**
525
572
  * The name of the resource in the backend to interact with when dispatching actions from the update/create modal
@@ -537,12 +584,12 @@ export declare class EntityManagement extends EntityManagement_base {
537
584
  * @remarks
538
585
  *
539
586
  * 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
540
- * @public
587
+ * @internal
541
588
  */
542
589
  selectedEntity: Record<string, unknown>;
543
590
  /**
544
591
  * Disables the form while enabled to stop the user dispatching a large number of duplicate events
545
- * @public
592
+ * @internal
546
593
  */
547
594
  editedEntity: Record<string, unknown>;
548
595
  /**
@@ -550,17 +597,43 @@ export declare class EntityManagement extends EntityManagement_base {
550
597
  * @public
551
598
  */
552
599
  defaultEntityValues: Record<string, unknown>;
600
+ /**
601
+ * @internal
602
+ */
553
603
  submitting: boolean;
554
604
  /**
555
605
  * The type of form that is currently being displayed in the modal
606
+ * @internal
556
607
  */
557
608
  modalFormType: ModalFormType;
609
+ /**
610
+ * @internal
611
+ */
558
612
  editModalVisible: boolean;
559
- editModalVisibleChanged(): void;
613
+ private editModalVisibleChanged;
614
+ /**
615
+ * @internal
616
+ */
560
617
  editEntityModal: Modal;
618
+ /**
619
+ * Resizes columns to take available space
620
+ * @public
621
+ */
561
622
  sizeColumnsToFit: boolean;
623
+ /**
624
+ * Enables filter bar component
625
+ * @public
626
+ */
562
627
  enableFilterBar: boolean;
628
+ /**
629
+ * Hides edit button
630
+ * @public
631
+ */
563
632
  hideEdit: boolean;
633
+ /**
634
+ * Hides delete button
635
+ * @public
636
+ */
564
637
  hideDelete: boolean;
565
638
  /**
566
639
  * This attribute controls whether to enable the search-bar.
@@ -573,6 +646,10 @@ export declare class EntityManagement extends EntityManagement_base {
573
646
  * @public
574
647
  */
575
648
  headerCaseType: GridProCaseType;
649
+ /**
650
+ * Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid
651
+ * * @public
652
+ */
576
653
  searchBarConfig: AvailableOption[];
577
654
  /**
578
655
  * Determines where the modal dialog will appear on screen
@@ -595,27 +672,33 @@ export declare class EntityManagement extends EntityManagement_base {
595
672
  crudActionMenuName: string;
596
673
  /**
597
674
  * The Id of the crud buttons wrapper element
675
+ * @internal
598
676
  */
599
677
  crudMenuWrapper: any;
600
678
  /**
601
679
  * The helper function to determine the title of the modal form or button based on the action or type
602
680
  * @param actionOrType - The crud action or modal form type
681
+ * @internal
603
682
  */
604
683
  getTitleBasedOnActionOrType(actionOrType: CrudAction | ModalFormType): string;
605
684
  /**
606
685
  * Getter for the title of the modal form
686
+ * @internal
607
687
  */
608
688
  get modalFormTitle(): string;
609
689
  /**
610
690
  * Determines whether the button edit should be hidden in the column
691
+ * @internal
611
692
  */
612
693
  get shouldHideEditInColumn(): boolean;
613
694
  /**
614
695
  * Determines whether the button delete should be hidden in the column
696
+ * @internal
615
697
  */
616
698
  get shouldHideDeleteInColumn(): boolean;
617
699
  /**
618
700
  * Determines whether there is a selected entity
701
+ * @internal
619
702
  */
620
703
  get hasSelectedEntity(): boolean;
621
704
  /**
@@ -623,7 +706,7 @@ export declare class EntityManagement extends EntityManagement_base {
623
706
  *
624
707
  * @param slotName - The name of the slot to check.
625
708
  * @returns True if the slot has content, otherwise false.
626
- * @public
709
+ * @internal
627
710
  */
628
711
  hasContentInSlot(slotName: string): boolean;
629
712
  /**
@@ -631,6 +714,9 @@ export declare class EntityManagement extends EntityManagement_base {
631
714
  * @internal
632
715
  */
633
716
  connectedCallback(): Promise<void>;
717
+ /**
718
+ * @internal
719
+ */
634
720
  disconnectedCallback(): Promise<void>;
635
721
  /**
636
722
  * Gets the default searchBarConfig if the user has not created their own.
@@ -639,18 +725,15 @@ export declare class EntityManagement extends EntityManagement_base {
639
725
  private getDefaultSearchBarConfig;
640
726
  /**
641
727
  * Override the deepClone method to ensure that observable attributes are cloned
642
- * @public
728
+ * @internal
643
729
  */
644
730
  deepClone(): Node;
645
731
  /**
646
732
  * Event handler for when the user submits the action for the currently open form, either editing or adding the entity
647
733
  *
648
- * @param e - CustomEvent which contains the payload for the entity to submit to the backend
649
- *
650
- * Emits an event upon error
651
- * @public
734
+ * @internal
652
735
  */
653
- submitEntityChanges(e: CustomEvent): Promise<void>;
736
+ submitEntityChanges(): Promise<void>;
654
737
  /**
655
738
  * Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
656
739
  *
@@ -672,15 +755,27 @@ export declare class EntityManagement extends EntityManagement_base {
672
755
  */
673
756
  editEntity({ detail }: CustomEvent): Promise<void>;
674
757
  private readEntity;
758
+ /**
759
+ * @internal
760
+ */
675
761
  closeModal(): void;
762
+ /**
763
+ * @internal
764
+ */
676
765
  get headerTempalate(): import("@microsoft/fast-element").ViewTemplate<EntityManagement, any>;
766
+ /**
767
+ * @internal
768
+ */
677
769
  get isServerSideDatasource(): boolean;
770
+ /**
771
+ * @internal
772
+ */
678
773
  searchChanged(event: CustomEvent<Array<SelectedOption>>): void;
679
- searchBarReqServer(options: SelectedOption<string>[]): void;
680
- searchBarDataserver(options: SelectedOption<string>[]): void;
681
- requestChanged(e: CustomEvent<string>): void;
682
- criteriaChanged(e: CustomEvent<string>): void;
683
- submitFailureNotification(e: CustomEvent): void;
774
+ private searchBarReqServer;
775
+ private searchBarDataserver;
776
+ private requestChanged;
777
+ private criteriaChanged;
778
+ private submitFailureNotification;
684
779
  private submitErrorHandler;
685
780
  /**
686
781
  * Handler for deleting the entity. Added as an event listener on the class when receiving the `delete-entity` event.
@@ -689,11 +784,15 @@ export declare class EntityManagement extends EntityManagement_base {
689
784
  * @internal
690
785
  */
691
786
  deleteEntity(e: CustomEvent): Promise<void>;
787
+ /**
788
+ * @internal
789
+ */
692
790
  confirmDelete(): Promise<void>;
693
791
  private showDeleteConfirmation;
694
792
  /**
695
793
  * Emit the CRUD event for the selected entity
696
794
  * @param action - the action to emit
795
+ * @internal
697
796
  */
698
797
  emitCrud(action: 'create' | 'edit' | 'delete'): void;
699
798
  /**
@@ -714,6 +813,7 @@ export declare class EntityManagement extends EntityManagement_base {
714
813
  private generateCrudActionsMenu;
715
814
  /**
716
815
  * The event handler for when the selection changes in the grid.
816
+ * @internal
717
817
  */
718
818
  selectionChanged(event: CustomEvent<SelectionChangedEvent>): void;
719
819
  }
@@ -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,OA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CAAC,KAAK,EAAE,WAAW,CAAC,qBAAqB,CAAC;CASlE"}
@@ -52,19 +52,19 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
52
52
  /**
53
53
  * Whether to use the `applyTransactionAsync` function for *add* transactions
54
54
  * @remarks Defaults to false
55
- * @public
55
+ * @internal
56
56
  */
57
57
  this.asyncAdd = false;
58
58
  /**
59
59
  * Whether to use the `applyTransactionAsync` function for *remove* transactions
60
60
  * @remarks Defaults to false
61
- * @public
61
+ * @internal
62
62
  */
63
63
  this.asyncRemove = false;
64
64
  /**
65
65
  * Whether to use the `applyTransactionAsync` function for *update* transactions
66
66
  * @remarks Defaults to true
67
- * @public
67
+ * @internal
68
68
  */
69
69
  this.asyncUpdate = true;
70
70
  /**
@@ -104,8 +104,19 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
104
104
  * @public
105
105
  */
106
106
  this.formRenderers = renderers;
107
+ /**
108
+ * @internal
109
+ */
107
110
  this.editModalVisible = false;
111
+ /**
112
+ * Hides edit button
113
+ * @public
114
+ */
108
115
  this.hideEdit = false;
116
+ /**
117
+ * Hides delete button
118
+ * @public
119
+ */
109
120
  this.hideDelete = false;
110
121
  /**
111
122
  * This attribute controls whether to enable the search-bar.
@@ -154,6 +165,7 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
154
165
  /**
155
166
  * The helper function to determine the title of the modal form or button based on the action or type
156
167
  * @param actionOrType - The crud action or modal form type
168
+ * @internal
157
169
  */
158
170
  getTitleBasedOnActionOrType(actionOrType) {
159
171
  switch (actionOrType) {
@@ -169,24 +181,28 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
169
181
  }
170
182
  /**
171
183
  * Getter for the title of the modal form
184
+ * @internal
172
185
  */
173
186
  get modalFormTitle() {
174
187
  return this.getTitleBasedOnActionOrType(this.modalFormType);
175
188
  }
176
189
  /**
177
190
  * Determines whether the button edit should be hidden in the column
191
+ * @internal
178
192
  */
179
193
  get shouldHideEditInColumn() {
180
194
  return this.hideEdit || this.crudMenuPosition !== CrudMenuPosition.Column;
181
195
  }
182
196
  /**
183
197
  * Determines whether the button delete should be hidden in the column
198
+ * @internal
184
199
  */
185
200
  get shouldHideDeleteInColumn() {
186
201
  return this.hideDelete || this.crudMenuPosition !== CrudMenuPosition.Column;
187
202
  }
188
203
  /**
189
204
  * Determines whether there is a selected entity
205
+ * @internal
190
206
  */
191
207
  get hasSelectedEntity() {
192
208
  return !!(this.selectedEntity && Object.keys(this.selectedEntity).length > 0);
@@ -196,7 +212,7 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
196
212
  *
197
213
  * @param slotName - The name of the slot to check.
198
214
  * @returns True if the slot has content, otherwise false.
199
- * @public
215
+ * @internal
200
216
  */
201
217
  hasContentInSlot(slotName) {
202
218
  var _a;
@@ -230,6 +246,9 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
230
246
  }
231
247
  });
232
248
  }
249
+ /**
250
+ * @internal
251
+ */
233
252
  disconnectedCallback() {
234
253
  const _super = Object.create(null, {
235
254
  disconnectedCallback: { get: () => super.disconnectedCallback }
@@ -275,7 +294,7 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
275
294
  }
276
295
  /**
277
296
  * Override the deepClone method to ensure that observable attributes are cloned
278
- * @public
297
+ * @internal
279
298
  */
280
299
  deepClone() {
281
300
  const copy = super.deepClone();
@@ -308,12 +327,9 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
308
327
  /**
309
328
  * Event handler for when the user submits the action for the currently open form, either editing or adding the entity
310
329
  *
311
- * @param e - CustomEvent which contains the payload for the entity to submit to the backend
312
- *
313
- * Emits an event upon error
314
- * @public
330
+ * @internal
315
331
  */
316
- submitEntityChanges(e) {
332
+ submitEntityChanges() {
317
333
  return __awaiter(this, void 0, void 0, function* () {
318
334
  this.handleNotify(this.modalFormType);
319
335
  this.closeModal();
@@ -367,17 +383,30 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
367
383
  this.readonly = true;
368
384
  this.editEntity(e);
369
385
  }
386
+ /**
387
+ * @internal
388
+ */
370
389
  closeModal() {
371
390
  this.modalFormType = null;
372
391
  this.readonly = false;
373
392
  this.editModalVisible = false;
374
393
  }
394
+ /**
395
+ * @internal
396
+ */
375
397
  get headerTempalate() {
376
398
  return this.enableSearchBar ? searchBarHeader(this.prefix) : defaultHeader(this.prefix);
377
399
  }
400
+ // TODO: seems like a dead code, needs further review if it's needed
401
+ /**
402
+ * @internal
403
+ */
378
404
  get isServerSideDatasource() {
379
405
  return this.datasourceType === 'server';
380
406
  }
407
+ /**
408
+ * @internal
409
+ */
381
410
  searchChanged(event) {
382
411
  const selectedOptions = event.detail;
383
412
  if (!selectedOptions.length) {
@@ -469,6 +498,9 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
469
498
  this.showDeleteConfirmation();
470
499
  });
471
500
  }
501
+ /**
502
+ * @internal
503
+ */
472
504
  confirmDelete() {
473
505
  return __awaiter(this, void 0, void 0, function* () {
474
506
  const schema = yield this.connect.getJSONSchema(this.deleteEvent);
@@ -506,6 +538,7 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
506
538
  /**
507
539
  * Emit the CRUD event for the selected entity
508
540
  * @param action - the action to emit
541
+ * @internal
509
542
  */
510
543
  emitCrud(action) {
511
544
  this.$emit(`${action}-entity`, this.selectedEntity);
@@ -594,6 +627,7 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
594
627
  }
595
628
  /**
596
629
  * The event handler for when the selection changes in the grid.
630
+ * @internal
597
631
  */
598
632
  selectionChanged(event) {
599
633
  const selectedRows = event.detail.api.getSelectedRows();
@@ -150,7 +150,7 @@ export const getPrefixedEntities = (prefix) => html `
150
150
  design-system-prefix=${prefix}
151
151
  :uischema=${(x) => x.formUiSchema}
152
152
  readonly=${(x) => x.readonly}
153
- @submit-success=${(x, c) => x.submitEntityChanges(c.event)}
153
+ @submit-success=${(x, c) => x.submitEntityChanges()}
154
154
  ></foundation-form>
155
155
  `)}
156
156
  </slot>