@genesislcap/foundation-entity-management 14.366.2-alpha-11da8b5.0 → 14.367.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.
@@ -81,41 +81,6 @@
81
81
  }
82
82
  ]
83
83
  },
84
- {
85
- "kind": "javascript-module",
86
- "path": "src/components/components.ts",
87
- "declarations": [
88
- {
89
- "kind": "function",
90
- "name": "loadRemotes"
91
- }
92
- ],
93
- "exports": [
94
- {
95
- "kind": "js",
96
- "name": "loadRemotes",
97
- "declaration": {
98
- "name": "loadRemotes",
99
- "module": "src/components/components.ts"
100
- }
101
- }
102
- ]
103
- },
104
- {
105
- "kind": "javascript-module",
106
- "path": "src/components/index.ts",
107
- "declarations": [],
108
- "exports": [
109
- {
110
- "kind": "js",
111
- "name": "*",
112
- "declaration": {
113
- "name": "*",
114
- "package": "./components"
115
- }
116
- }
117
- ]
118
- },
119
84
  {
120
85
  "kind": "javascript-module",
121
86
  "path": "src/entities/entities.styles.ts",
@@ -298,6 +263,16 @@
298
263
  "description": "Name of the event handler on the Genesis server which handles creating an entity",
299
264
  "privacy": "public"
300
265
  },
266
+ {
267
+ "kind": "field",
268
+ "name": "errorNotificationConfig",
269
+ "type": {
270
+ "text": "NotificationStructure['config']"
271
+ },
272
+ "default": "{\n snackbar: { type: 'error' },\n }",
273
+ "description": "Notification config used for submit failures. Defaults to an error snackbar but can be\noverridden while keeping title/body unchanged.",
274
+ "privacy": "public"
275
+ },
301
276
  {
302
277
  "kind": "field",
303
278
  "name": "title",
@@ -1341,6 +1316,20 @@
1341
1316
  "module": "src/entities/entities.ts"
1342
1317
  }
1343
1318
  },
1319
+ {
1320
+ "kind": "field",
1321
+ "name": "errorNotificationConfig",
1322
+ "type": {
1323
+ "text": "NotificationStructure['config']"
1324
+ },
1325
+ "default": "{\n snackbar: { type: 'error' },\n }",
1326
+ "description": "Notification config used for submit failures. Defaults to an error snackbar but can be\noverridden while keeping title/body unchanged.",
1327
+ "privacy": "public",
1328
+ "inheritedFrom": {
1329
+ "name": "EntityManagement",
1330
+ "module": "src/entities/entities.ts"
1331
+ }
1332
+ },
1344
1333
  {
1345
1334
  "kind": "field",
1346
1335
  "name": "title",
@@ -2593,6 +2582,41 @@
2593
2582
  }
2594
2583
  ]
2595
2584
  },
2585
+ {
2586
+ "kind": "javascript-module",
2587
+ "path": "src/components/components.ts",
2588
+ "declarations": [
2589
+ {
2590
+ "kind": "function",
2591
+ "name": "loadRemotes"
2592
+ }
2593
+ ],
2594
+ "exports": [
2595
+ {
2596
+ "kind": "js",
2597
+ "name": "loadRemotes",
2598
+ "declaration": {
2599
+ "name": "loadRemotes",
2600
+ "module": "src/components/components.ts"
2601
+ }
2602
+ }
2603
+ ]
2604
+ },
2605
+ {
2606
+ "kind": "javascript-module",
2607
+ "path": "src/components/index.ts",
2608
+ "declarations": [],
2609
+ "exports": [
2610
+ {
2611
+ "kind": "js",
2612
+ "name": "*",
2613
+ "declaration": {
2614
+ "name": "*",
2615
+ "package": "./components"
2616
+ }
2617
+ }
2618
+ ]
2619
+ },
2596
2620
  {
2597
2621
  "kind": "javascript-module",
2598
2622
  "path": "src/list/index.ts",
@@ -3436,27 +3460,6 @@
3436
3460
  }
3437
3461
  ]
3438
3462
  },
3439
- {
3440
- "kind": "javascript-module",
3441
- "path": "src/routes/config.ts",
3442
- "declarations": [],
3443
- "exports": []
3444
- },
3445
- {
3446
- "kind": "javascript-module",
3447
- "path": "src/routes/index.ts",
3448
- "declarations": [],
3449
- "exports": [
3450
- {
3451
- "kind": "js",
3452
- "name": "*",
3453
- "declaration": {
3454
- "name": "*",
3455
- "package": "./config"
3456
- }
3457
- }
3458
- ]
3459
- },
3460
3463
  {
3461
3464
  "kind": "javascript-module",
3462
3465
  "path": "src/layouts/default.ts",
@@ -3506,6 +3509,27 @@
3506
3509
  }
3507
3510
  ]
3508
3511
  },
3512
+ {
3513
+ "kind": "javascript-module",
3514
+ "path": "src/routes/config.ts",
3515
+ "declarations": [],
3516
+ "exports": []
3517
+ },
3518
+ {
3519
+ "kind": "javascript-module",
3520
+ "path": "src/routes/index.ts",
3521
+ "declarations": [],
3522
+ "exports": [
3523
+ {
3524
+ "kind": "js",
3525
+ "name": "*",
3526
+ "declaration": {
3527
+ "name": "*",
3528
+ "package": "./config"
3529
+ }
3530
+ }
3531
+ ]
3532
+ },
3509
3533
  {
3510
3534
  "kind": "javascript-module",
3511
3535
  "path": "src/utils/custom-actions-utils.ts",
@@ -2,6 +2,7 @@ import { ColDef, GridOptions, SelectionChangedEvent } from '@ag-grid-community/c
2
2
  import { Connect, DatasourceOptions, MessageError } from '@genesislcap/foundation-comms';
3
3
  import type { UiSchema } from '@genesislcap/foundation-forms';
4
4
  import { RendererEntry } from '@genesislcap/foundation-forms';
5
+ import { type NotificationStructure } from '@genesislcap/foundation-notifications';
5
6
  import { Modal } from '@genesislcap/foundation-ui';
6
7
  import { AvailableOption, SelectedOption } from '@genesislcap/foundation-ui';
7
8
  import { DatasourceType, GridProCaseType, GridProStatusBarConfig } from '@genesislcap/grid-pro';
@@ -72,10 +73,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
72
73
  hidePopover(): void;
73
74
  showPopover(): void;
74
75
  togglePopover(options?: boolean): boolean;
75
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options? /**
76
- * Label for the entity which is used in the title of the modal when editing the entity, on CRUD buttons and on toast notifications
77
- * @public
78
- */: boolean | AddEventListenerOptions): void;
76
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
79
77
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
80
78
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
81
79
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
@@ -258,7 +256,15 @@ declare const EntityManagement_base: (new (...args: any[]) => {
258
256
  ariaValueNow: string | null;
259
257
  ariaValueText: string | null;
260
258
  role: string | null;
261
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
259
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options
260
+ /**
261
+ * Tracks whether the filters modal is currently visible
262
+ * @internal
263
+ */
264
+ ? /**
265
+ * Tracks whether the filters modal is currently visible
266
+ * @internal
267
+ */: number | KeyframeAnimationOptions): Animation;
262
268
  getAnimations(options?: GetAnimationsOptions): Animation[];
263
269
  after(...nodes: (Node | string)[]): void;
264
270
  before(...nodes: (Node | string)[]): void;
@@ -271,7 +277,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
271
277
  readonly firstElementChild: Element | null;
272
278
  readonly lastElementChild: Element | null;
273
279
  append(...nodes: (Node | string)[]): void;
274
- prepend(...nodes: (Node | string)[]): void;
280
+ prepend(... /**
281
+ * Determines where the modal dialog will appear on screen
282
+ * @public
283
+ */nodes: (Node | string)[]): void;
275
284
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
276
285
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
277
286
  querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
@@ -502,6 +511,12 @@ export declare class EntityManagement extends EntityManagement_base {
502
511
  * @public
503
512
  */
504
513
  createEvent: string;
514
+ /**
515
+ * Notification config used for submit failures. Defaults to an error snackbar but can be
516
+ * overridden while keeping title/body unchanged.
517
+ * @public
518
+ */
519
+ errorNotificationConfig: NotificationStructure['config'];
505
520
  /**
506
521
  * Title of the grid
507
522
  * @public
@@ -925,14 +940,6 @@ export declare class EntityManagement extends EntityManagement_base {
925
940
  * @internal
926
941
  */
927
942
  get currentSetApprovalMessage(): boolean;
928
- /**
929
- * Determine if a custom action button should be disabled
930
- * @param customAction - The custom action to check
931
- * @param rowData - The currently selected row data (optional)
932
- * @returns true if the button should be disabled, false otherwise
933
- * @internal
934
- */
935
- isCustomActionDisabled(customAction: CustomAction, rowData?: any): boolean;
936
943
  /**
937
944
  * Show the custom action modal
938
945
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrF,OAAO,EACL,OAAO,EACP,iBAAiB,EAEjB,YAAY,EAEb,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAa,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,KAAK,EAAuB,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAG7E,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAChG,OAAO,EAIL,cAAc,EAGf,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,YAAY,EACZ,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAMlB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC;;;;;;;kBA6BzB,CAAC;;;;;;;;8BA8C7B,CAAA,cAAe,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA+BE,CAAC;4IAezC,CAJA,CAAA;;;OAGG;wFA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pD;;;OAGG;IACI,YAAY,CAAC,IAAI,EAAE,aAAa,GAAG,UAAU,CAAC,MAAM,EAAE,YAAY,CAAC,EAAE,YAAY,EAAE;IA8C1F;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAI3B;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IA2C/B;;;OAGG;IACI,gBAAgB,CAAC,KAAK,EAAE,WAAW,CAAC,qBAAqB,CAAC;IAUjE;;;;OAIG;IACU,iBAAiB,CAAC,cAAc,GAAE,OAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAM7E;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IA6BjC,gBAAgB;IACV,eAAe;CAkCtB"}
@@ -74,14 +74,6 @@ export interface CustomAction {
74
74
  confirmSubmit?: ConfirmSubmit;
75
75
  requiresSelection?: boolean;
76
76
  setApprovalMessage?: boolean;
77
- /**
78
- * Optional callback function to determine if the button should be disabled.
79
- * Receives the selected entity (rowData) as a parameter.
80
- * If provided, this takes precedence over `requiresSelection`.
81
- * @param rowData - The currently selected row data, or null if no row is selected
82
- * @returns true if the button should be disabled, false otherwise
83
- */
84
- disabled?: (rowData: any) => boolean;
85
77
  }
86
78
  export interface CustomActionState {
87
79
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAGzD,eAAO,MAAM,aAAa,8DAA6C,CAAC;AACxE,eAAO,MAAM,WAAW,8DAA2C,CAAC;AAEpE,MAAM,MAAM,eAAe,GACvB,MAAM,GACN,QAAQ,GACR;IACE,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE;QACR,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,sBAAsB,CA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AM,CAAC;IACpB,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,GAAG,CAAC;CACd"}
@@ -1,7 +1,7 @@
1
1
  import { __awaiter, __decorate, __rest } from "tslib";
2
2
  import { Connect, ResourceType, defaultDatasourceConfig, } from '@genesislcap/foundation-comms';
3
3
  import { renderers } from '@genesislcap/foundation-forms';
4
- import { showNotification, showNotificationDialog } from '@genesislcap/foundation-notifications';
4
+ import { showNotification, showNotificationDialog, } from '@genesislcap/foundation-notifications';
5
5
  import { LifecycleMixin } from '@genesislcap/foundation-utils';
6
6
  import { formatDateTimestamp, formatDateTimeTimestamp } from '@genesislcap/foundation-utils';
7
7
  import { attr, customElement, DOM, GenesisElement, observable, volatile, } from '@genesislcap/web-core';
@@ -63,6 +63,14 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(GenesisElem
63
63
  * @public
64
64
  */
65
65
  this.prefix = 'rapid';
66
+ /**
67
+ * Notification config used for submit failures. Defaults to an error snackbar but can be
68
+ * overridden while keeping title/body unchanged.
69
+ * @public
70
+ */
71
+ this.errorNotificationConfig = {
72
+ snackbar: { type: 'error' },
73
+ };
66
74
  /**
67
75
  * Whether to use the `applyTransactionAsync` function for *add* transactions
68
76
  * @remarks Defaults to false
@@ -510,24 +518,6 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(GenesisElem
510
518
  }
511
519
  return (_b = this.setApprovalMessage) !== null && _b !== void 0 ? _b : false;
512
520
  }
513
- /**
514
- * Determine if a custom action button should be disabled
515
- * @param customAction - The custom action to check
516
- * @param rowData - The currently selected row data (optional)
517
- * @returns true if the button should be disabled, false otherwise
518
- * @internal
519
- */
520
- isCustomActionDisabled(customAction, rowData) {
521
- // requiresSelection always takes precedence
522
- if (customAction.requiresSelection && !this.hasSelectedEntity) {
523
- return true;
524
- }
525
- // Then check custom disabled callback if provided
526
- if (customAction.disabled) {
527
- return customAction.disabled(rowData !== null && rowData !== void 0 ? rowData : this.selectedEntity);
528
- }
529
- return false;
530
- }
531
521
  /**
532
522
  * Show the custom action modal
533
523
  * @internal
@@ -850,22 +840,14 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(GenesisElem
850
840
  showNotification({
851
841
  title: 'Warning',
852
842
  body: "You're editing an old revision. Please close the form and try editing again",
853
- config: {
854
- snackbar: {
855
- type: 'error',
856
- },
857
- },
843
+ config: this.errorNotificationConfig,
858
844
  }, this.prefix);
859
845
  }
860
846
  else {
861
847
  showNotification({
862
848
  title: 'Error submitting form',
863
849
  body: (submitFailureError.CODE + ': ' + submitFailureError.TEXT).toString(),
864
- config: {
865
- snackbar: {
866
- type: 'error',
867
- },
868
- },
850
+ config: this.errorNotificationConfig,
869
851
  }, this.prefix);
870
852
  }
871
853
  });
@@ -876,11 +858,7 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(GenesisElem
876
858
  showNotification({
877
859
  title: 'Error submitting form',
878
860
  body: error.message,
879
- config: {
880
- snackbar: {
881
- type: 'error',
882
- },
883
- },
861
+ config: this.errorNotificationConfig,
884
862
  }, this.prefix);
885
863
  });
886
864
  }
@@ -1024,7 +1002,7 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(GenesisElem
1024
1002
  actionsMenu.actions.push({
1025
1003
  name: customAction.name,
1026
1004
  callback: () => this.handleCustomActionClick(customAction.name),
1027
- isDisabled: () => this.isCustomActionDisabled(customAction, this.selectedEntity),
1005
+ isDisabled: () => (customAction.requiresSelection ? !this.hasSelectedEntity : false),
1028
1006
  });
1029
1007
  });
1030
1008
  DOM.queueUpdate(() => {
@@ -1156,6 +1134,9 @@ __decorate([
1156
1134
  __decorate([
1157
1135
  attr
1158
1136
  ], EntityManagement.prototype, "createEvent", void 0);
1137
+ __decorate([
1138
+ observable
1139
+ ], EntityManagement.prototype, "errorNotificationConfig", void 0);
1159
1140
  __decorate([
1160
1141
  attr
1161
1142
  ], EntityManagement.prototype, "title", void 0);
@@ -13,9 +13,9 @@ const customActionButtonTemplate = (prefix, position) => html `
13
13
  <${prefix}-button
14
14
  class="crud-button custom-action-button"
15
15
  appearance=${(action) => action.appearance || 'neutral'}
16
- @click=${(action, c) => c.parent.handleCustomActionClick(action.name)}
16
+ @click=${(action, c) => c.parent.handleCustomActionClick(action.name, c.parent.selectedEntity)}
17
17
  title=${(action) => action.tooltip || action.name}
18
- ?disabled=${(action, c) => c.parent.isCustomActionDisabled(action, c.parent.selectedEntity)}
18
+ ?disabled=${(action, c) => (action.requiresSelection && !c.parent.hasSelectedEntity ? true : false)}
19
19
  >
20
20
  ${when((action) => action.icon, html `<${prefix}-icon size="lg" name="${(action) => action.icon}"></${prefix}-icon>`)}
21
21
  ${(action) => action.name}
@@ -793,33 +793,6 @@
793
793
  "endIndex": 2
794
794
  }
795
795
  },
796
- {
797
- "kind": "PropertySignature",
798
- "canonicalReference": "@genesislcap/foundation-entity-management!CustomAction#disabled:member",
799
- "docComment": "/**\n * Optional callback function to determine if the button should be disabled. Receives the selected entity (rowData) as a parameter. If provided, this takes precedence over `requiresSelection`.\n *\n * @param rowData - The currently selected row data, or null if no row is selected\n *\n * @returns true if the button should be disabled, false otherwise\n */\n",
800
- "excerptTokens": [
801
- {
802
- "kind": "Content",
803
- "text": "disabled?: "
804
- },
805
- {
806
- "kind": "Content",
807
- "text": "(rowData: any) => boolean"
808
- },
809
- {
810
- "kind": "Content",
811
- "text": ";"
812
- }
813
- ],
814
- "isReadonly": false,
815
- "isOptional": true,
816
- "releaseTag": "Public",
817
- "name": "disabled",
818
- "propertyTypeTokenRange": {
819
- "startIndex": 1,
820
- "endIndex": 2
821
- }
822
- },
823
796
  {
824
797
  "kind": "PropertySignature",
825
798
  "canonicalReference": "@genesislcap/foundation-entity-management!CustomAction#icon:member",
@@ -1994,6 +1967,41 @@
1994
1967
  "isProtected": false,
1995
1968
  "isAbstract": false
1996
1969
  },
1970
+ {
1971
+ "kind": "Property",
1972
+ "canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#errorNotificationConfig:member",
1973
+ "docComment": "/**\n * Notification config used for submit failures. Defaults to an error snackbar but can be overridden while keeping title/body unchanged.\n *\n * @public\n */\n",
1974
+ "excerptTokens": [
1975
+ {
1976
+ "kind": "Content",
1977
+ "text": "errorNotificationConfig: "
1978
+ },
1979
+ {
1980
+ "kind": "Reference",
1981
+ "text": "NotificationStructure",
1982
+ "canonicalReference": "@genesislcap/foundation-notifications!NotificationStructure:interface"
1983
+ },
1984
+ {
1985
+ "kind": "Content",
1986
+ "text": "['config']"
1987
+ },
1988
+ {
1989
+ "kind": "Content",
1990
+ "text": ";"
1991
+ }
1992
+ ],
1993
+ "isReadonly": false,
1994
+ "isOptional": false,
1995
+ "releaseTag": "Public",
1996
+ "name": "errorNotificationConfig",
1997
+ "propertyTypeTokenRange": {
1998
+ "startIndex": 1,
1999
+ "endIndex": 3
2000
+ },
2001
+ "isStatic": false,
2002
+ "isProtected": false,
2003
+ "isAbstract": false
2004
+ },
1997
2005
  {
1998
2006
  "kind": "Property",
1999
2007
  "canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#filtersModalPosition:member",
@@ -21,6 +21,7 @@ import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
21
21
  import { Logger } from '@genesislcap/foundation-logger';
22
22
  import { MessageError } from '@genesislcap/foundation-comms';
23
23
  import { Modal } from '@genesislcap/foundation-ui';
24
+ import { NotificationStructure } from '@genesislcap/foundation-notifications';
24
25
  import { PartialFASTElementDefinition } from '@microsoft/fast-element';
25
26
  import { RendererEntry } from '@genesislcap/foundation-forms';
26
27
  import { SelectedOption } from '@genesislcap/foundation-ui';
@@ -97,14 +98,6 @@ export declare interface CustomAction {
97
98
  confirmSubmit?: ConfirmSubmit;
98
99
  requiresSelection?: boolean;
99
100
  setApprovalMessage?: boolean;
100
- /**
101
- * Optional callback function to determine if the button should be disabled.
102
- * Receives the selected entity (rowData) as a parameter.
103
- * If provided, this takes precedence over `requiresSelection`.
104
- * @param rowData - The currently selected row data, or null if no row is selected
105
- * @returns true if the button should be disabled, false otherwise
106
- */
107
- disabled?: (rowData: any) => boolean;
108
101
  }
109
102
 
110
103
  export declare interface CustomActionError {
@@ -254,6 +247,12 @@ export declare class EntityManagement extends EntityManagement_base {
254
247
  * @public
255
248
  */
256
249
  createEvent: string;
250
+ /**
251
+ * Notification config used for submit failures. Defaults to an error snackbar but can be
252
+ * overridden while keeping title/body unchanged.
253
+ * @public
254
+ */
255
+ errorNotificationConfig: NotificationStructure['config'];
257
256
  /**
258
257
  * Title of the grid
259
258
  * @public
@@ -677,14 +676,6 @@ export declare class EntityManagement extends EntityManagement_base {
677
676
  * @internal
678
677
  */
679
678
  get currentSetApprovalMessage(): boolean;
680
- /**
681
- * Determine if a custom action button should be disabled
682
- * @param customAction - The custom action to check
683
- * @param rowData - The currently selected row data (optional)
684
- * @returns true if the button should be disabled, false otherwise
685
- * @internal
686
- */
687
- isCustomActionDisabled(customAction: CustomAction, rowData?: any): boolean;
688
679
  /**
689
680
  * Show the custom action modal
690
681
  * @internal
@@ -902,10 +893,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
902
893
  hidePopover(): void;
903
894
  showPopover(): void;
904
895
  togglePopover(options?: boolean): boolean;
905
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options? /**
906
- * Label for the entity which is used in the title of the modal when editing the entity, on CRUD buttons and on toast notifications
907
- * @public
908
- */: boolean | AddEventListenerOptions): void;
896
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
909
897
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
910
898
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
911
899
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
@@ -1088,7 +1076,15 @@ declare const EntityManagement_base: (new (...args: any[]) => {
1088
1076
  ariaValueNow: string | null;
1089
1077
  ariaValueText: string | null;
1090
1078
  role: string | null;
1091
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
1079
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options
1080
+ /**
1081
+ * Tracks whether the filters modal is currently visible
1082
+ * @internal
1083
+ */
1084
+ ? /**
1085
+ * Tracks whether the filters modal is currently visible
1086
+ * @internal
1087
+ */: number | KeyframeAnimationOptions): Animation;
1092
1088
  getAnimations(options?: GetAnimationsOptions): Animation[];
1093
1089
  after(...nodes: (Node | string)[]): void;
1094
1090
  before(...nodes: (Node | string)[]): void;
@@ -1101,7 +1097,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
1101
1097
  readonly firstElementChild: Element | null;
1102
1098
  readonly lastElementChild: Element | null;
1103
1099
  append(...nodes: (Node | string)[]): void;
1104
- prepend(...nodes: (Node | string)[]): void;
1100
+ prepend(... /**
1101
+ * Determines where the modal dialog will appear on screen
1102
+ * @public
1103
+ */nodes: (Node | string)[]): void;
1105
1104
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
1106
1105
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
1107
1106
  querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
@@ -87,25 +87,6 @@ _(Optional)_
87
87
  _(Optional)_
88
88
 
89
89
 
90
- </td></tr>
91
- <tr><td>
92
-
93
- [disabled?](./foundation-entity-management.customaction.disabled.md)
94
-
95
-
96
- </td><td>
97
-
98
-
99
- </td><td>
100
-
101
- (rowData: any) =&gt; boolean
102
-
103
-
104
- </td><td>
105
-
106
- _(Optional)_ Optional callback function to determine if the button should be disabled. Receives the selected entity (rowData) as a parameter. If provided, this takes precedence over `requiresSelection`<!-- -->.
107
-
108
-
109
90
  </td></tr>
110
91
  <tr><td>
111
92
 
@@ -0,0 +1,13 @@
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; [errorNotificationConfig](./foundation-entity-management.entitymanagement.errornotificationconfig.md)
4
+
5
+ ## EntityManagement.errorNotificationConfig property
6
+
7
+ Notification config used for submit failures. Defaults to an error snackbar but can be overridden while keeping title/body unchanged.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ errorNotificationConfig: NotificationStructure['config'];
13
+ ```
@@ -434,6 +434,25 @@ string
434
434
  Label for the entity which is used in the title of the modal when editing the entity, on CRUD buttons and on toast notifications
435
435
 
436
436
 
437
+ </td></tr>
438
+ <tr><td>
439
+
440
+ [errorNotificationConfig](./foundation-entity-management.entitymanagement.errornotificationconfig.md)
441
+
442
+
443
+ </td><td>
444
+
445
+
446
+ </td><td>
447
+
448
+ NotificationStructure\['config'\]
449
+
450
+
451
+ </td><td>
452
+
453
+ Notification config used for submit failures. Defaults to an error snackbar but can be overridden while keeping title/body unchanged.
454
+
455
+
437
456
  </td></tr>
438
457
  <tr><td>
439
458
 
@@ -27,6 +27,7 @@ import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
27
27
  import { Logger } from '@genesislcap/foundation-logger';
28
28
  import { MessageError } from '@genesislcap/foundation-comms';
29
29
  import { Modal } from '@genesislcap/foundation-ui';
30
+ import { NotificationStructure } from '@genesislcap/foundation-notifications';
30
31
  import { PartialFASTElementDefinition } from '@microsoft/fast-element';
31
32
  import { RendererEntry } from '@genesislcap/foundation-forms';
32
33
  import { SelectedOption } from '@genesislcap/foundation-ui';
@@ -118,7 +119,6 @@ export interface CustomAction {
118
119
  appearance?: string;
119
120
  // (undocumented)
120
121
  confirmSubmit?: ConfirmSubmit;
121
- disabled?: (rowData: any) => boolean;
122
122
  // (undocumented)
123
123
  icon?: string;
124
124
  // (undocumented)
@@ -260,6 +260,7 @@ export class EntityManagement extends EntityManagement_base {
260
260
  //
261
261
  // @internal (undocumented)
262
262
  entityListRef: List;
263
+ errorNotificationConfig: NotificationStructure['config'];
263
264
  // @internal
264
265
  filtersCriteria: string;
265
266
  // @internal (undocumented)
@@ -298,8 +299,6 @@ export class EntityManagement extends EntityManagement_base {
298
299
  get headerTemplate(): ViewTemplate<EntityManagement, any>;
299
300
  hideDelete: boolean;
300
301
  hideEdit: boolean;
301
- // @internal
302
- isCustomActionDisabled(customAction: CustomAction, rowData?: any): boolean;
303
302
  // @internal (undocumented)
304
303
  get isServerSideDatasource(): boolean;
305
304
  // @internal
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.366.2-alpha-11da8b5.0",
4
+ "version": "14.367.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -52,31 +52,31 @@
52
52
  }
53
53
  },
54
54
  "devDependencies": {
55
- "@genesislcap/foundation-testing": "14.366.2-alpha-11da8b5.0",
56
- "@genesislcap/genx": "14.366.2-alpha-11da8b5.0",
57
- "@genesislcap/rollup-builder": "14.366.2-alpha-11da8b5.0",
58
- "@genesislcap/ts-builder": "14.366.2-alpha-11da8b5.0",
59
- "@genesislcap/uvu-playwright-builder": "14.366.2-alpha-11da8b5.0",
60
- "@genesislcap/vite-builder": "14.366.2-alpha-11da8b5.0",
61
- "@genesislcap/webpack-builder": "14.366.2-alpha-11da8b5.0"
55
+ "@genesislcap/foundation-testing": "14.367.0",
56
+ "@genesislcap/genx": "14.367.0",
57
+ "@genesislcap/rollup-builder": "14.367.0",
58
+ "@genesislcap/ts-builder": "14.367.0",
59
+ "@genesislcap/uvu-playwright-builder": "14.367.0",
60
+ "@genesislcap/vite-builder": "14.367.0",
61
+ "@genesislcap/webpack-builder": "14.367.0"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "@ag-grid-community/core": "29.2.0"
65
65
  },
66
66
  "dependencies": {
67
- "@genesislcap/foundation-comms": "14.366.2-alpha-11da8b5.0",
68
- "@genesislcap/foundation-errors": "14.366.2-alpha-11da8b5.0",
69
- "@genesislcap/foundation-events": "14.366.2-alpha-11da8b5.0",
70
- "@genesislcap/foundation-forms": "14.366.2-alpha-11da8b5.0",
71
- "@genesislcap/foundation-logger": "14.366.2-alpha-11da8b5.0",
72
- "@genesislcap/foundation-login": "14.366.2-alpha-11da8b5.0",
73
- "@genesislcap/foundation-notifications": "14.366.2-alpha-11da8b5.0",
74
- "@genesislcap/foundation-ui": "14.366.2-alpha-11da8b5.0",
75
- "@genesislcap/foundation-utils": "14.366.2-alpha-11da8b5.0",
76
- "@genesislcap/foundation-zero": "14.366.2-alpha-11da8b5.0",
77
- "@genesislcap/foundation-zero-grid-pro": "14.366.2-alpha-11da8b5.0",
78
- "@genesislcap/grid-pro": "14.366.2-alpha-11da8b5.0",
79
- "@genesislcap/web-core": "14.366.2-alpha-11da8b5.0",
67
+ "@genesislcap/foundation-comms": "14.367.0",
68
+ "@genesislcap/foundation-errors": "14.367.0",
69
+ "@genesislcap/foundation-events": "14.367.0",
70
+ "@genesislcap/foundation-forms": "14.367.0",
71
+ "@genesislcap/foundation-logger": "14.367.0",
72
+ "@genesislcap/foundation-login": "14.367.0",
73
+ "@genesislcap/foundation-notifications": "14.367.0",
74
+ "@genesislcap/foundation-ui": "14.367.0",
75
+ "@genesislcap/foundation-utils": "14.367.0",
76
+ "@genesislcap/foundation-zero": "14.367.0",
77
+ "@genesislcap/foundation-zero-grid-pro": "14.367.0",
78
+ "@genesislcap/grid-pro": "14.367.0",
79
+ "@genesislcap/web-core": "14.367.0",
80
80
  "change-case": "^4.1.2"
81
81
  },
82
82
  "repository": {
@@ -88,5 +88,5 @@
88
88
  "access": "public"
89
89
  },
90
90
  "customElements": "dist/custom-elements.json",
91
- "gitHead": "23b3189cc3750f7e12c5588ac55433b5cef846b2"
91
+ "gitHead": "cbcf5614d54813a4c32dbe18fca48cb9b515a2d0"
92
92
  }
@@ -1,13 +0,0 @@
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; [CustomAction](./foundation-entity-management.customaction.md) &gt; [disabled](./foundation-entity-management.customaction.disabled.md)
4
-
5
- ## CustomAction.disabled property
6
-
7
- Optional callback function to determine if the button should be disabled. Receives the selected entity (rowData) as a parameter. If provided, this takes precedence over `requiresSelection`<!-- -->.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- disabled?: (rowData: any) => boolean;
13
- ```