@genesislcap/foundation-entity-management 14.144.2-alpha-d5a1f36.0 → 14.145.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.
@@ -151,7 +151,7 @@
151
151
  {
152
152
  "kind": "variable",
153
153
  "name": "template",
154
- "default": "html<EntityManagement>`\n <div class=\"container\">\n <slot name=\"header\" part=\"header\">${(x) => x.headerTempalate}</slot>\n <entity-list\n title=${(x) => x.title}\n async-add=${(x) => x.asyncAdd}\n async-remove=${(x) => x.asyncRemove}\n async-update=${(x) => x.asyncUpdate}\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n enable-row-flashing=${(x) => x.enableRowFlashing}\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n size-columns-to-fit=${(x) => x.sizeColumnsToFit}\n enable-filter-bar=${(x) => x.enableFilterBar}\n resourceName=${(x) => x.resourceName}\n :deleteEvent=${(x) => x.deleteEvent}\n :updateEvent=${(x) => x.updateEvent}\n :gridOptions=${(x) => x.gridOptions}\n :columns=${(x) => x.columns}\n :datasourceConfig=${(x) => x.datasourceConfig}\n data-test-id=\"entity-list\"\n hide-edit=${(x) => x.hideEdit}\n hide-delete=${(x) => x.hideDelete}\n block-scrolling-on-context-menu=${(x) => x.blockScrollingOnContextMenu}\n >\n <slot name=\"header\" slot=\"header\">${defaultHeader}</slot>\n </entity-list>\n <zero-modal\n ${ref('editEntityModal')}\n position=${(x) => x.modalPosition}\n :onCloseCallback=${(x) => x.closeModal.bind(x)}\n data-test-id=\"edit-entity-modal\"\n >\n <div slot=\"top\" data-test-id=\"dialog-title\">${(x) => x.editDialogTitle}</div>\n\n <slot name=\"edit\">\n ${when(\n (x) => x.editModalVisible,\n html<EntityManagement>`\n <foundation-form\n part=\"form\"\n :renderers=${(x) => x.formRenderers}\n resourceName=${(x) => x.formResourceName}\n :data=${(x) => x.editedEntity}\n :uischema=${(x) => x.formUiSchema}\n readonly=${(x) => x.readonly}\n @submit-success=${(x, c) => x.submitEntityChanges(c.event as CustomEvent)}\n ></foundation-form>\n `,\n )}\n </slot>\n </zero-modal>\n </div>\n`",
154
+ "default": "html<EntityManagement>`\n <div class=\"container\">\n <slot name=\"header\" part=\"header\">${(x) => x.headerTempalate}</slot>\n <entity-list\n title=${(x) => x.title}\n async-add=${(x) => x.asyncAdd}\n async-remove=${(x) => x.asyncRemove}\n async-update=${(x) => x.asyncUpdate}\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n enable-row-flashing=${(x) => x.enableRowFlashing}\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n size-columns-to-fit=${(x) => x.sizeColumnsToFit}\n enable-filter-bar=${(x) => x.enableFilterBar}\n resourceName=${(x) => x.resourceName}\n :deleteEvent=${(x) => x.deleteEvent}\n :updateEvent=${(x) => x.updateEvent}\n :gridOptions=${(x) => x.gridOptions}\n :columns=${(x) => x.columns}\n :datasourceConfig=${(x) => x.datasourceConfig}\n data-test-id=\"entity-list\"\n hide-edit=${(x) => x.hideEdit}\n hide-delete=${(x) => x.hideDelete}\n >\n <slot name=\"header\" slot=\"header\">${defaultHeader}</slot>\n </entity-list>\n <zero-modal\n ${ref('editEntityModal')}\n position=${(x) => x.modalPosition}\n :onCloseCallback=${(x) => x.closeModal.bind(x)}\n data-test-id=\"edit-entity-modal\"\n >\n <div slot=\"top\" data-test-id=\"dialog-title\">${(x) => x.editDialogTitle}</div>\n\n <slot name=\"edit\">\n ${when(\n (x) => x.editModalVisible,\n html<EntityManagement>`\n <foundation-form\n part=\"form\"\n :renderers=${(x) => x.formRenderers}\n resourceName=${(x) => x.formResourceName}\n :data=${(x) => x.editedEntity}\n :uischema=${(x) => x.formUiSchema}\n readonly=${(x) => x.readonly}\n @submit-success=${(x, c) => x.submitEntityChanges(c.event as CustomEvent)}\n ></foundation-form>\n `,\n )}\n </slot>\n </zero-modal>\n </div>\n`",
155
155
  "description": "Defines the html of the entity component as a ViewTemplate object"
156
156
  }
157
157
  ],
@@ -319,15 +319,6 @@
319
319
  "description": "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.",
320
320
  "privacy": "public"
321
321
  },
322
- {
323
- "kind": "field",
324
- "name": "blockScrollingOnContextMenu",
325
- "type": {
326
- "text": "boolean"
327
- },
328
- "default": "false",
329
- "description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records"
330
- },
331
322
  {
332
323
  "kind": "field",
333
324
  "name": "gridOptions",
@@ -715,15 +706,6 @@
715
706
  "description": "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.",
716
707
  "fieldName": "persistColumnStateKey"
717
708
  },
718
- {
719
- "name": "block-scrolling-on-context-menu",
720
- "type": {
721
- "text": "boolean"
722
- },
723
- "default": "false",
724
- "description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
725
- "fieldName": "blockScrollingOnContextMenu"
726
- },
727
709
  {
728
710
  "name": "size-columns-to-fit",
729
711
  "type": {
@@ -928,7 +910,7 @@
928
910
  {
929
911
  "kind": "variable",
930
912
  "name": "listTemplate",
931
- "default": "html<List>`\n <div class=\"container\">\n ${when(\n (x) => x.enableFilterBar,\n html<List>`\n <zero-filter-bar\n resource=${(x) => x.resourceName}\n only=${(x) => x.columns?.map((colDef) => colDef.field).filter((field) => !!field)}\n labels=${(x) => x.columns?.map((colDef) => colDef.headerName || '')}\n target=\"datasource\"\n ></zero-filter-bar>\n `,\n )}\n <zero-grid-pro\n ${ref('grid')}\n auto-cell-renderer-by-type\n rowSelection=\"single\"\n rowHeight=\"36\"\n headerHeight=\"36\"\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n ?only-template-col-defs=${(x) => !!x.columns}\n readOnlyEdit=\"true\"\n tooltipMouseTrack=\"true\"\n tooltipShowDelay=\"0\"\n async-add=${(x) => x.asyncAdd}\n async-remove=${(x) => x.asyncRemove}\n async-update=${(x) => x.asyncUpdate}\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n enable-row-flashing=${(x) => x.enableRowFlashing}\n block-scrolling-on-context-menu=${(x) => x.blockScrollingOnContextMenu}\n >\n <grid-pro-genesis-datasource\n ${ref('datasource')}\n :deferredGridOptions=${(x) => x.gridOptions}\n criteria=${(x) => x.datasourceConfig?.criteria}\n fields=${(x) => x.datasourceConfig?.fields}\n is-snapshot=${(x) => x.datasourceConfig?.isSnapshot}\n max-rows=${(x) => x.datasourceConfig?.maxRows}\n max-view=${(x) => x.datasourceConfig?.maxView}\n moving-view=${(x) => x.datasourceConfig?.movingView}\n order-by=${(x) => x.datasourceConfig?.orderBy}\n polling-interval=${(x) => x.datasourceConfig?.pollingInterval}\n resource-name=${(x) => x.resourceName}\n reverse=${(x) => x.datasourceConfig?.reverse}\n ></grid-pro-genesis-datasource>\n ${repeat(\n (x) => x.columns,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `,\n )}\n ${repeat(\n (x) => x.actionButtonsConfig,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `,\n )}\n </zero-grid-pro>\n </div>\n`"
913
+ "default": "html<List>`\n <div class=\"container\">\n ${when(\n (x) => x.enableFilterBar,\n html<List>`\n <zero-filter-bar\n resource=${(x) => x.resourceName}\n only=${(x) => x.columns?.map((colDef) => colDef.field).filter((field) => !!field)}\n labels=${(x) => x.columns?.map((colDef) => colDef.headerName || '')}\n target=\"datasource\"\n ></zero-filter-bar>\n `,\n )}\n <zero-grid-pro\n ${ref('grid')}\n auto-cell-renderer-by-type\n rowSelection=\"single\"\n rowHeight=\"36\"\n headerHeight=\"36\"\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n ?only-template-col-defs=${(x) => !!x.columns}\n readOnlyEdit=\"true\"\n tooltipMouseTrack=\"true\"\n tooltipShowDelay=\"0\"\n async-add=${(x) => x.asyncAdd}\n async-remove=${(x) => x.asyncRemove}\n async-update=${(x) => x.asyncUpdate}\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n enable-row-flashing=${(x) => x.enableRowFlashing}\n >\n <grid-pro-genesis-datasource\n ${ref('datasource')}\n :deferredGridOptions=${(x) => x.gridOptions}\n criteria=${(x) => x.datasourceConfig?.criteria}\n fields=${(x) => x.datasourceConfig?.fields}\n is-snapshot=${(x) => x.datasourceConfig?.isSnapshot}\n max-rows=${(x) => x.datasourceConfig?.maxRows}\n max-view=${(x) => x.datasourceConfig?.maxView}\n moving-view=${(x) => x.datasourceConfig?.movingView}\n order-by=${(x) => x.datasourceConfig?.orderBy}\n polling-interval=${(x) => x.datasourceConfig?.pollingInterval}\n resource-name=${(x) => x.resourceName}\n reverse=${(x) => x.datasourceConfig?.reverse}\n ></grid-pro-genesis-datasource>\n ${repeat(\n (x) => x.columns,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `,\n )}\n ${repeat(\n (x) => x.actionButtonsConfig,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `,\n )}\n </zero-grid-pro>\n </div>\n`"
932
914
  }
933
915
  ],
934
916
  "exports": [
@@ -1044,14 +1026,6 @@
1044
1026
  },
1045
1027
  "default": "false"
1046
1028
  },
1047
- {
1048
- "kind": "field",
1049
- "name": "blockScrollingOnContextMenu",
1050
- "type": {
1051
- "text": "boolean"
1052
- },
1053
- "default": "false"
1054
- },
1055
1029
  {
1056
1030
  "kind": "field",
1057
1031
  "name": "grid",
@@ -1270,14 +1244,6 @@
1270
1244
  },
1271
1245
  "default": "false",
1272
1246
  "fieldName": "hideDelete"
1273
- },
1274
- {
1275
- "name": "block-scrolling-on-context-menu",
1276
- "type": {
1277
- "text": "boolean"
1278
- },
1279
- "default": "false",
1280
- "fieldName": "blockScrollingOnContextMenu"
1281
1247
  }
1282
1248
  ],
1283
1249
  "superclass": {
@@ -1746,19 +1712,6 @@
1746
1712
  "module": "src/entities/entities.ts"
1747
1713
  }
1748
1714
  },
1749
- {
1750
- "kind": "field",
1751
- "name": "blockScrollingOnContextMenu",
1752
- "type": {
1753
- "text": "boolean"
1754
- },
1755
- "default": "false",
1756
- "description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
1757
- "inheritedFrom": {
1758
- "name": "EntityManagement",
1759
- "module": "src/entities/entities.ts"
1760
- }
1761
- },
1762
1715
  {
1763
1716
  "kind": "field",
1764
1717
  "name": "gridOptions",
@@ -2306,19 +2259,6 @@
2306
2259
  "module": "src/entities/entities.ts"
2307
2260
  }
2308
2261
  },
2309
- {
2310
- "name": "block-scrolling-on-context-menu",
2311
- "type": {
2312
- "text": "boolean"
2313
- },
2314
- "default": "false",
2315
- "description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
2316
- "fieldName": "blockScrollingOnContextMenu",
2317
- "inheritedFrom": {
2318
- "name": "EntityManagement",
2319
- "module": "src/entities/entities.ts"
2320
- }
2321
- },
2322
2262
  {
2323
2263
  "name": "size-columns-to-fit",
2324
2264
  "type": {
@@ -2443,7 +2383,7 @@
2443
2383
  "type": {
2444
2384
  "text": "ViewTemplate"
2445
2385
  },
2446
- "default": "html<Users>`\n <entity-management\n resourceName=${(x) => x.resourceName}\n title=\"User Management\"\n entityLabel=\"User\"\n createEvent=\"${(x) => x.createEvent}\"\n :readEventFn=${(x) => (user) => x.readUserData(user)}\n updateEvent=\"${(x) => x.updateEvent}\"\n deleteEvent=\"${(x) => x.deleteEvent}\"\n entityLabel=\"User Details\"\n :updateFormUiSchema=${(x) =>\n editUserSchema(\n true,\n x.allAccessType,\n x.entityID,\n x.entityLabel,\n x.entityLabelKey,\n x.availableEntitiesEndpoint,\n x.additionalUpdateFields,\n )}\n :createFormUiSchema=${(x) =>\n editUserSchema(\n false,\n x.allAccessType,\n x.entityID,\n x.entityLabel,\n x.entityLabelKey,\n x.availableEntitiesEndpoint,\n x.additionalCreateFields,\n )}\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n size-columns-to-fit\n :columns=${(x) => [...x.columns, ...x.entityColumn(), x.statusColumn()]}\n :datasourceConfig=${(x) => x.datasourceConfig}\n ></entity-management>\n`"
2386
+ "default": "html<Users>`\n <entity-management\n resourceName=${(x) => x.resourceName}\n title=\"User Management\"\n :gridOptions=${(x) => x.gridOptions}\n entityLabel=\"User\"\n createEvent=\"${(x) => x.createEvent}\"\n :readEventFn=${(x) => (user) => x.readUserData(user)}\n updateEvent=\"${(x) => x.updateEvent}\"\n deleteEvent=\"${(x) => x.deleteEvent}\"\n entityLabel=\"User Details\"\n :updateFormUiSchema=${(x) =>\n editUserSchema(\n true,\n x.allAccessType,\n x.entityID,\n x.entityLabel,\n x.entityLabelKey,\n x.availableEntitiesEndpoint,\n x.additionalUpdateFields,\n )}\n :createFormUiSchema=${(x) =>\n editUserSchema(\n false,\n x.allAccessType,\n x.entityID,\n x.entityLabel,\n x.entityLabelKey,\n x.availableEntitiesEndpoint,\n x.additionalCreateFields,\n )}\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n size-columns-to-fit\n :columns=${(x) => [...x.columns, ...x.entityColumn(), x.statusColumn()]}\n :datasourceConfig=${(x) => x.datasourceConfig}\n ></entity-management>\n`"
2447
2387
  }
2448
2388
  ],
2449
2389
  "exports": [
@@ -2486,6 +2426,15 @@
2486
2426
  "description": "This attribute controls whether and how the user manager stores the state of the columns when the user edits them. Defaulted to `entity_users_management`.",
2487
2427
  "privacy": "public"
2488
2428
  },
2429
+ {
2430
+ "kind": "field",
2431
+ "name": "gridOptions",
2432
+ "type": {
2433
+ "text": "GridOptions"
2434
+ },
2435
+ "description": "GridOptions to be passed down from application",
2436
+ "privacy": "public"
2437
+ },
2489
2438
  {
2490
2439
  "kind": "field",
2491
2440
  "name": "columns",
@@ -63,14 +63,8 @@ declare const EntityManagement_base: (new (...args: any[]) => {
63
63
  click(): void;
64
64
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
65
65
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
66
- removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void; /**
67
- * Array which holds the column definitions.
68
- * @public
69
- */
70
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; /**
71
- * Array which holds the column definitions.
72
- * @public
73
- */
66
+ removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
67
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
74
68
  readonly attributes: NamedNodeMap;
75
69
  readonly classList: DOMTokenList;
76
70
  className: string;
@@ -80,10 +74,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
80
74
  readonly clientWidth: number;
81
75
  id: string;
82
76
  readonly localName: string;
83
- readonly namespaceURI: string; /**
84
- * The name of the resource in the backend to interact with when dispatching actions from the update/create modal
85
- * @internal
86
- */
77
+ readonly namespaceURI: string;
87
78
  onfullscreenchange: (this: Element, ev: Event) => any;
88
79
  onfullscreenerror: (this: Element, ev: Event) => any;
89
80
  outerHTML: string;
@@ -156,12 +147,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
156
147
  readonly parentNode: ParentNode;
157
148
  readonly previousSibling: ChildNode;
158
149
  textContent: string;
159
- appendChild<T_1 extends Node>(node: T_1): T_1; /**
160
- * Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
161
- *
162
- * @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.
163
- * @internal
164
- */
150
+ appendChild<T_1 extends Node>(node: T_1): T_1;
165
151
  compareDocumentPosition(other: Node): number;
166
152
  contains(other: Node): boolean;
167
153
  getRootNode(options?: GetRootNodeOptions): Node;
@@ -484,12 +470,6 @@ export declare class EntityManagement extends EntityManagement_base {
484
470
  * @public
485
471
  */
486
472
  persistColumnStateKey: string;
487
- /**
488
- * If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
489
- * @remarks Defaults to false
490
- * @alpha
491
- */
492
- blockScrollingOnContextMenu: boolean;
493
473
  /**
494
474
  * GridOptions to be passed down from application
495
475
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAa,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE7E,OAAO,EAAuB,WAAW,EAAwB,MAAM,yBAAyB,CAAC;AAKjG;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,iBAAiB,EAAE,cAAc,GAAG,SAAS,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+LAqJxF;;;OAGG;qIAHH;;;OAGG;;;;;;;;;;mCAgBH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mDAgHH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA9RL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAK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;;;OAKG;IACH,OAAO,CAAC,YAAY,CAElB;IAEF;;;;OAIG;IACI,YAAY;IASnB;;;;;OAKG;YACW,UAAU;IA4BxB,OAAO,CAAC,UAAU;IAMX,UAAU;IAKjB,IACI,eAAe,0EAElB;IAEM,aAAa,CAAC,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAmBvD,eAAe,CAAC,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;IAItC,yBAAyB,CAAC,CAAC,EAAE,WAAW;IAiC/C;;;;;OAKG;IACG,YAAY,CAAC,CAAC,EAAE,WAAW;IAK3B,aAAa;IAoBnB,OAAO,CAAC,sBAAsB;IAc9B;;;OAGG;IACI,WAAW,CAAC,OAAO,KAAA;CAkB3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C;;;GAGG;AACH,eAAO,MAAM,aAAa,uEAWzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,uEAiB3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,uEAoDpB,CAAC"}
1
+ {"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C;;;GAGG;AACH,eAAO,MAAM,aAAa,uEAWzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,uEAiB3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,uEAmDpB,CAAC"}
@@ -16,7 +16,6 @@ export declare class List extends FASTElement {
16
16
  enableRowFlashing: boolean;
17
17
  hideEdit: boolean;
18
18
  hideDelete: boolean;
19
- blockScrollingOnContextMenu: boolean;
20
19
  grid: ZeroGridPro;
21
20
  datasource: GridProG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file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY,2DA2DxB,CAAC"}
1
+ {"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY,2DA0DxB,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { GridOptions } from '@ag-grid-community/core';
1
2
  import { GridProRendererTypes } from '@genesislcap/foundation-zero-grid-pro';
2
3
  import { FASTElement } from '@microsoft/fast-element';
3
4
  import { DatasourceConfiguration } from '../entities';
@@ -36,18 +37,7 @@ declare const Users_base: (new (...args: any[]) => {
36
37
  cloneNode(deep?: boolean): Node;
37
38
  deepClone(): Node;
38
39
  readonly shouldRunDisconnect: boolean;
39
- /**
40
- * The configuration which is used when interacting with the resource on the backend
41
- *
42
- * @remarks
43
- *
44
- * Handles the configuration such as how many rows of entities to fetch at a time
45
- * @internal
46
- */
47
- readonly shouldRunConnect: boolean; /**
48
- * Configuring the resourceName from the entity-management, set to manage the users resource specifically
49
- * @internal
50
- */
40
+ readonly shouldRunConnect: boolean;
51
41
  "__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
52
42
  "__#1@#_tryFindContainingLayout"(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
53
43
  connectedCallback(): void;
@@ -67,12 +57,6 @@ declare const Users_base: (new (...args: any[]) => {
67
57
  readonly offsetHeight: number;
68
58
  readonly offsetLeft: number;
69
59
  readonly offsetParent: Element;
70
- /**
71
- * Returns the config for an entity column if the entityID attribute is defined
72
- *
73
- * @returns Config for an entity column if the entityID is defined, else an empty array
74
- * @internal
75
- */
76
60
  readonly offsetTop: number;
77
61
  readonly offsetWidth: number;
78
62
  outerText: string;
@@ -132,10 +116,6 @@ declare const Users_base: (new (...args: any[]) => {
132
116
  hasPointerCapture(pointerId: number): boolean;
133
117
  insertAdjacentElement(where: InsertPosition, element: Element): Element;
134
118
  insertAdjacentHTML(position: InsertPosition, text: string): void;
135
- /**
136
- * Used as the callback function in {@link Users.statusColumn}
137
- * @internal
138
- */
139
119
  insertAdjacentText(where: InsertPosition, data: string): void;
140
120
  matches(selectors: string): boolean;
141
121
  releasePointerCapture(pointerId: number): void;
@@ -462,6 +442,11 @@ export declare class Users extends Users_base {
462
442
  * @public
463
443
  */
464
444
  persistColumnStateKey: string;
445
+ /**
446
+ * GridOptions to be passed down from application
447
+ * @public
448
+ */
449
+ gridOptions: GridOptions;
465
450
  /**
466
451
  * Returns a configuration for an optional status column
467
452
  *
@@ -1 +1 @@
1
- {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../src/users/users.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAA4B,WAAW,EAAc,MAAM,yBAAyB,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAWtD;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;IAoC7B,CAAC;;;;;;;;;;IAuEA;;;;;;;OAOG;wCAGH;;;OAGG;;;;;;;;;;;;;;;;;;;;IAkCH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0GH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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GAAG,CAAqB;IAEjC,sBAAsB,EAAE,GAAG,CAAM;IACjC,sBAAsB,EAAE,GAAG,CAAM;IAEjC,aAAa,EAAE,OAAO,CAAC;IACnC,OAAO,CAAC,aAAa,CAAS;IAE9B;;OAEG;IACS,WAAW,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACS,WAAW,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACS,WAAW,EAAE,MAAM,CAAC;IAEhC;;;OAGG;IACG,QAAQ,EAAE,MAAM,CAAqB;IAE3C;;;OAGG;IACG,cAAc,EAAE,MAAM,CAAU;IAEtC;;;OAGG;IACG,WAAW,EAAE,MAAM,CAAkB;IAE3C;;;OAGG;IACG,yBAAyB,EAAE,MAAM,CAAuB;IAE9D;;OAEG;;IAaG,iBAAiB;IAcd,SAAS,IAAI,IAAI;IAe1B;;;OAGG;IACH,sBAAsB,CAAC,MAAM,KAAA;;;;;;;;IAW7B;;;;;;;;OAQG;IACG,YAAY,CAAC,MAAM,KAAA;IAoCzB;;OAEG;IACG,YAAY,CAAC,IAAI,KAAA;;;;;;;;;;;;;;;CAwBxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"users.template.d.ts","sourceRoot":"","sources":["../../../src/users/users.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAqF5D,eAAO,MAAM,aAAa,EAAE,YAmC3B,CAAC"}
1
+ {"version":3,"file":"users.template.d.ts","sourceRoot":"","sources":["../../../src/users/users.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAqF5D,eAAO,MAAM,aAAa,EAAE,YAoC3B,CAAC"}
@@ -75,12 +75,6 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
75
75
  * @public
76
76
  */
77
77
  this.enableRowFlashing = false;
78
- /**
79
- * If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
80
- * @remarks Defaults to false
81
- * @alpha
82
- */
83
- this.blockScrollingOnContextMenu = false;
84
78
  /**
85
79
  * Array with renderers used by foundation-forms
86
80
  * @public
@@ -144,6 +138,7 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
144
138
  const copy = super.deepClone();
145
139
  copy.createFormUiSchema = structuredClone(this.createFormUiSchema);
146
140
  copy.datasourceConfig = structuredClone(this.datasourceConfig);
141
+ copy.gridOptions = structuredClone(this.gridOptions);
147
142
  copy.editDialogTitle = structuredClone(this.editDialogTitle);
148
143
  copy.editModalVisible = structuredClone(this.editModalVisible);
149
144
  copy.formResourceName = structuredClone(this.formResourceName);
@@ -383,9 +378,6 @@ __decorate([
383
378
  __decorate([
384
379
  attr({ attribute: 'persist-column-state-key' })
385
380
  ], EntityManagement.prototype, "persistColumnStateKey", void 0);
386
- __decorate([
387
- attr({ attribute: 'block-scrolling-on-context-menu', mode: 'boolean' })
388
- ], EntityManagement.prototype, "blockScrollingOnContextMenu", void 0);
389
381
  __decorate([
390
382
  observable
391
383
  ], EntityManagement.prototype, "gridOptions", void 0);
@@ -62,7 +62,6 @@ export const template = html `
62
62
  data-test-id="entity-list"
63
63
  hide-edit=${(x) => x.hideEdit}
64
64
  hide-delete=${(x) => x.hideDelete}
65
- block-scrolling-on-context-menu=${(x) => x.blockScrollingOnContextMenu}
66
65
  >
67
66
  <slot name="header" slot="header">${defaultHeader}</slot>
68
67
  </entity-list>
@@ -19,7 +19,6 @@ let List = class List extends FASTElement {
19
19
  this.enableRowFlashing = false;
20
20
  this.hideEdit = false;
21
21
  this.hideDelete = false;
22
- this.blockScrollingOnContextMenu = false;
23
22
  this.actionButtonsConfig = [];
24
23
  this.edit = (e) => {
25
24
  this.$emit('edit-entity', e);
@@ -159,9 +158,6 @@ __decorate([
159
158
  __decorate([
160
159
  attr({ mode: 'boolean', attribute: 'hide-delete' })
161
160
  ], List.prototype, "hideDelete", void 0);
162
- __decorate([
163
- attr({ attribute: 'block-scrolling-on-context-menu', mode: 'boolean' })
164
- ], List.prototype, "blockScrollingOnContextMenu", void 0);
165
161
  __decorate([
166
162
  observable
167
163
  ], List.prototype, "gridOptions", void 0);
@@ -25,7 +25,6 @@ export const listTemplate = html `
25
25
  async-update=${(x) => x.asyncUpdate}
26
26
  enable-cell-flashing=${(x) => x.enableCellFlashing}
27
27
  enable-row-flashing=${(x) => x.enableRowFlashing}
28
- block-scrolling-on-context-menu=${(x) => x.blockScrollingOnContextMenu}
29
28
  >
30
29
  <grid-pro-genesis-datasource
31
30
  ${ref('datasource')}
@@ -170,6 +170,7 @@ let Users = class Users extends LifecycleMixin(FASTElement) {
170
170
  const copy = super.deepClone();
171
171
  copy.additionalCreateFields = structuredClone(this.additionalCreateFields);
172
172
  copy.additionalUpdateFields = structuredClone(this.additionalUpdateFields);
173
+ copy.gridOptions = structuredClone(this.gridOptions);
173
174
  copy.allAccessType = structuredClone(this.allAccessType);
174
175
  copy.createEvent = structuredClone(this.createEvent);
175
176
  copy.datasourceConfig = structuredClone(this.datasourceConfig);
@@ -266,6 +267,9 @@ __decorate([
266
267
  __decorate([
267
268
  attr({ attribute: 'persist-column-state-key' })
268
269
  ], Users.prototype, "persistColumnStateKey", void 0);
270
+ __decorate([
271
+ observable
272
+ ], Users.prototype, "gridOptions", void 0);
269
273
  __decorate([
270
274
  observable
271
275
  ], Users.prototype, "columns", void 0);
@@ -74,6 +74,7 @@ export const UsersTemplate = html `
74
74
  <entity-management
75
75
  resourceName=${(x) => x.resourceName}
76
76
  title="User Management"
77
+ :gridOptions=${(x) => x.gridOptions}
77
78
  entityLabel="User"
78
79
  createEvent="${(x) => x.createEvent}"
79
80
  :readEventFn=${(x) => (user) => x.readUserData(user)}
@@ -2673,6 +2673,37 @@
2673
2673
  "isProtected": false,
2674
2674
  "isAbstract": false
2675
2675
  },
2676
+ {
2677
+ "kind": "Property",
2678
+ "canonicalReference": "@genesislcap/foundation-entity-management!Users#gridOptions:member",
2679
+ "docComment": "/**\n * GridOptions to be passed down from application\n *\n * @public\n */\n",
2680
+ "excerptTokens": [
2681
+ {
2682
+ "kind": "Content",
2683
+ "text": "gridOptions: "
2684
+ },
2685
+ {
2686
+ "kind": "Reference",
2687
+ "text": "GridOptions",
2688
+ "canonicalReference": "@ag-grid-community/core!GridOptions:interface"
2689
+ },
2690
+ {
2691
+ "kind": "Content",
2692
+ "text": ";"
2693
+ }
2694
+ ],
2695
+ "isReadonly": false,
2696
+ "isOptional": false,
2697
+ "releaseTag": "Public",
2698
+ "name": "gridOptions",
2699
+ "propertyTypeTokenRange": {
2700
+ "startIndex": 1,
2701
+ "endIndex": 2
2702
+ },
2703
+ "isStatic": false,
2704
+ "isProtected": false,
2705
+ "isAbstract": false
2706
+ },
2676
2707
  {
2677
2708
  "kind": "Property",
2678
2709
  "canonicalReference": "@genesislcap/foundation-entity-management!Users#persistColumnStateKey:member",
@@ -168,12 +168,6 @@ export declare class EntityManagement extends EntityManagement_base {
168
168
  * @public
169
169
  */
170
170
  persistColumnStateKey: string;
171
- /**
172
- * If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
173
- * @remarks Defaults to false
174
- * @alpha
175
- */
176
- blockScrollingOnContextMenu: boolean;
177
171
  /**
178
172
  * GridOptions to be passed down from application
179
173
  * @public
@@ -340,14 +334,8 @@ declare const EntityManagement_base: (new (...args: any[]) => {
340
334
  click(): void;
341
335
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
342
336
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
343
- removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void; /**
344
- * Array which holds the column definitions.
345
- * @public
346
- */
347
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; /**
348
- * Array which holds the column definitions.
349
- * @public
350
- */
337
+ removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
338
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
351
339
  readonly attributes: NamedNodeMap;
352
340
  readonly classList: DOMTokenList;
353
341
  className: string;
@@ -357,10 +345,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
357
345
  readonly clientWidth: number;
358
346
  id: string;
359
347
  readonly localName: string;
360
- readonly namespaceURI: string; /**
361
- * The name of the resource in the backend to interact with when dispatching actions from the update/create modal
362
- * @internal
363
- */
348
+ readonly namespaceURI: string;
364
349
  onfullscreenchange: (this: Element, ev: Event) => any;
365
350
  onfullscreenerror: (this: Element, ev: Event) => any;
366
351
  outerHTML: string;
@@ -433,12 +418,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
433
418
  readonly parentNode: ParentNode;
434
419
  readonly previousSibling: ChildNode;
435
420
  textContent: string;
436
- appendChild<T_1 extends Node>(node: T_1): T_1; /**
437
- * Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
438
- *
439
- * @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.
440
- * @internal
441
- */
421
+ appendChild<T_1 extends Node>(node: T_1): T_1;
442
422
  compareDocumentPosition(other: Node): number;
443
423
  contains(other: Node): boolean;
444
424
  getRootNode(options?: GetRootNodeOptions): Node;
@@ -837,6 +817,11 @@ export declare class Users extends Users_base {
837
817
  * @public
838
818
  */
839
819
  persistColumnStateKey: string;
820
+ /**
821
+ * GridOptions to be passed down from application
822
+ * @public
823
+ */
824
+ gridOptions: GridOptions;
840
825
  /**
841
826
  * Returns a configuration for an optional status column
842
827
  *
@@ -966,18 +951,7 @@ declare const Users_base: (new (...args: any[]) => {
966
951
  cloneNode(deep?: boolean): Node;
967
952
  deepClone(): Node;
968
953
  readonly shouldRunDisconnect: boolean;
969
- /**
970
- * The configuration which is used when interacting with the resource on the backend
971
- *
972
- * @remarks
973
- *
974
- * Handles the configuration such as how many rows of entities to fetch at a time
975
- * @internal
976
- */
977
- readonly shouldRunConnect: boolean; /**
978
- * Configuring the resourceName from the entity-management, set to manage the users resource specifically
979
- * @internal
980
- */
954
+ readonly shouldRunConnect: boolean;
981
955
  "__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
982
956
  "__#1@#_tryFindContainingLayout"(e: Element): FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
983
957
  connectedCallback(): void;
@@ -997,12 +971,6 @@ declare const Users_base: (new (...args: any[]) => {
997
971
  readonly offsetHeight: number;
998
972
  readonly offsetLeft: number;
999
973
  readonly offsetParent: Element;
1000
- /**
1001
- * Returns the config for an entity column if the entityID attribute is defined
1002
- *
1003
- * @returns Config for an entity column if the entityID is defined, else an empty array
1004
- * @internal
1005
- */
1006
974
  readonly offsetTop: number;
1007
975
  readonly offsetWidth: number;
1008
976
  outerText: string;
@@ -1062,10 +1030,6 @@ declare const Users_base: (new (...args: any[]) => {
1062
1030
  hasPointerCapture(pointerId: number): boolean;
1063
1031
  insertAdjacentElement(where: InsertPosition, element: Element): Element;
1064
1032
  insertAdjacentHTML(position: InsertPosition, text: string): void;
1065
- /**
1066
- * Used as the callback function in {@link Users.statusColumn}
1067
- * @internal
1068
- */
1069
1033
  insertAdjacentText(where: InsertPosition, data: string): void;
1070
1034
  matches(selectors: string): boolean;
1071
1035
  releasePointerCapture(pointerId: number): void;
@@ -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; [Users](./foundation-entity-management.users.md) &gt; [gridOptions](./foundation-entity-management.users.gridoptions.md)
4
+
5
+ ## Users.gridOptions property
6
+
7
+ GridOptions to be passed down from application
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ gridOptions: GridOptions;
13
+ ```
@@ -58,6 +58,7 @@ const userColumns = [
58
58
  | [columns](./foundation-entity-management.users.columns.md) | | any | Column definition, default to the UsersColumnConfig |
59
59
  | [createEvent](./foundation-entity-management.users.createevent.md) | | string | String which contains event if we have permission to insert user of empty string if not |
60
60
  | [deleteEvent](./foundation-entity-management.users.deleteevent.md) | | string | String which contains event if we have permission to delete user of empty string if not |
61
+ | [gridOptions](./foundation-entity-management.users.gridoptions.md) | | GridOptions | GridOptions to be passed down from application |
61
62
  | [persistColumnStateKey](./foundation-entity-management.users.persistcolumnstatekey.md) | | string | This attribute controls whether and how the user manager stores the state of the columns when the user edits them. Defaulted to <code>entity_users_management</code>. |
62
63
  | [updateEvent](./foundation-entity-management.users.updateevent.md) | | string | String which contains event if we have permission to update user of empty string if not |
63
64
 
@@ -45,8 +45,6 @@ export class EntityManagement extends EntityManagement_base {
45
45
  asyncAdd: boolean;
46
46
  asyncRemove: boolean;
47
47
  asyncUpdate: boolean;
48
- // @alpha
49
- blockScrollingOnContextMenu: boolean;
50
48
  // (undocumented)
51
49
  closeModal(): void;
52
50
  columns: ColDef[];
@@ -221,6 +219,7 @@ export class Users extends Users_base {
221
219
  entityLabel: string;
222
220
  // @internal
223
221
  entityLabelKey: string;
222
+ gridOptions: GridOptions;
224
223
  persistColumnStateKey: string;
225
224
  // @internal (undocumented)
226
225
  readUserData(user: any): Promise<{
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.144.2-alpha-d5a1f36.0",
4
+ "version": "14.145.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -43,24 +43,24 @@
43
43
  "test:debug": "genx test --debug"
44
44
  },
45
45
  "devDependencies": {
46
- "@genesislcap/foundation-testing": "14.144.2-alpha-d5a1f36.0",
47
- "@genesislcap/genx": "14.144.2-alpha-d5a1f36.0",
46
+ "@genesislcap/foundation-testing": "14.145.1",
47
+ "@genesislcap/genx": "14.145.1",
48
48
  "rimraf": "^3.0.2"
49
49
  },
50
50
  "dependencies": {
51
51
  "@ag-grid-community/core": "29.2.0",
52
- "@genesislcap/foundation-comms": "14.144.2-alpha-d5a1f36.0",
53
- "@genesislcap/foundation-errors": "14.144.2-alpha-d5a1f36.0",
54
- "@genesislcap/foundation-events": "14.144.2-alpha-d5a1f36.0",
55
- "@genesislcap/foundation-forms": "14.144.2-alpha-d5a1f36.0",
56
- "@genesislcap/foundation-logger": "14.144.2-alpha-d5a1f36.0",
57
- "@genesislcap/foundation-login": "14.144.2-alpha-d5a1f36.0",
58
- "@genesislcap/foundation-notifications": "14.144.2-alpha-d5a1f36.0",
59
- "@genesislcap/foundation-ui": "14.144.2-alpha-d5a1f36.0",
60
- "@genesislcap/foundation-utils": "14.144.2-alpha-d5a1f36.0",
61
- "@genesislcap/foundation-zero": "14.144.2-alpha-d5a1f36.0",
62
- "@genesislcap/foundation-zero-grid-pro": "14.144.2-alpha-d5a1f36.0",
63
- "@genesislcap/grid-pro": "14.144.2-alpha-d5a1f36.0",
52
+ "@genesislcap/foundation-comms": "14.145.1",
53
+ "@genesislcap/foundation-errors": "14.145.1",
54
+ "@genesislcap/foundation-events": "14.145.1",
55
+ "@genesislcap/foundation-forms": "14.145.1",
56
+ "@genesislcap/foundation-logger": "14.145.1",
57
+ "@genesislcap/foundation-login": "14.145.1",
58
+ "@genesislcap/foundation-notifications": "14.145.1",
59
+ "@genesislcap/foundation-ui": "14.145.1",
60
+ "@genesislcap/foundation-utils": "14.145.1",
61
+ "@genesislcap/foundation-zero": "14.145.1",
62
+ "@genesislcap/foundation-zero-grid-pro": "14.145.1",
63
+ "@genesislcap/grid-pro": "14.145.1",
64
64
  "@microsoft/fast-components": "^2.30.6",
65
65
  "@microsoft/fast-element": "^1.12.0",
66
66
  "@microsoft/fast-foundation": "^2.49.4",
@@ -76,5 +76,5 @@
76
76
  "access": "public"
77
77
  },
78
78
  "customElements": "dist/custom-elements.json",
79
- "gitHead": "c6ae2c9e0d8774373917940b74613776a1010fa7"
79
+ "gitHead": "5ec311e6d296eb8c048be764d107f7f4dd14de22"
80
80
  }