@genesislcap/grid-pro 14.155.2-alpha-d9bfff1.0 → 14.156.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.
Files changed (32) hide show
  1. package/dist/custom-elements.json +3 -66
  2. package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
  3. package/dist/dts/grid-pro-genesis-datasource/index.d.ts +0 -1
  4. package/dist/dts/grid-pro-genesis-datasource/index.d.ts.map +1 -1
  5. package/dist/dts/grid-pro.d.ts +15 -11
  6. package/dist/dts/grid-pro.d.ts.map +1 -1
  7. package/dist/dts/grid-pro.definitions.d.ts +0 -7
  8. package/dist/dts/grid-pro.definitions.d.ts.map +1 -1
  9. package/dist/dts/grid-pro.styles.d.ts.map +1 -1
  10. package/dist/dts/grid-pro.template.d.ts +1 -11
  11. package/dist/dts/grid-pro.template.d.ts.map +1 -1
  12. package/dist/dts/grid-pro.types.d.ts +0 -8
  13. package/dist/dts/grid-pro.types.d.ts.map +1 -1
  14. package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +2 -7
  15. package/dist/esm/grid-pro-genesis-datasource/index.js +0 -1
  16. package/dist/esm/grid-pro.definitions.js +0 -7
  17. package/dist/esm/grid-pro.js +2 -22
  18. package/dist/esm/grid-pro.styles.js +8 -30
  19. package/dist/esm/grid-pro.template.js +2 -40
  20. package/dist/grid-pro.api.json +1 -95
  21. package/dist/grid-pro.d.ts +16 -47
  22. package/docs/api/grid-pro.gridpro.md +0 -1
  23. package/docs/api/grid-pro.gridprotemplate.md +2 -5
  24. package/docs/api/grid-pro.md +1 -3
  25. package/docs/api-report.md +1 -26
  26. package/package.json +13 -13
  27. package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.config.d.ts +0 -8
  28. package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.config.d.ts.map +0 -1
  29. package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.config.js +0 -7
  30. package/docs/api/grid-pro.getgridprotemplate.md +0 -13
  31. package/docs/api/grid-pro.gridpro.griddserrormessage.md +0 -11
  32. package/docs/api/grid-pro.gridprogenesisdatasourceeventsnames.md +0 -15
@@ -217,7 +217,7 @@
217
217
  "type": {
218
218
  "text": "ElementStyles"
219
219
  },
220
- "default": "css`\n ${agExternalStockStyles}\n :host {\n position: relative;\n width: 100%;\n height: 100%;\n --datasource-error-background-color: var(--neutral-layer-4);\n --datasource-error-background-opacity: 0.5;\n --datasource-error-dialog-max-width: 50%;\n }\n\n :host([ds-disconnected])::part(grid) {\n cursor: not-allowed;\n opacity: 0.4;\n pointer-events: none;\n }\n\n .ag-side-bar,\n .ag-menu {\n --ag-subheader-background-color: var(--ag-background-color);\n --ag-control-panel-background-color: var(--ag-background-color);\n }\n\n .ag-cell-inline-editing {\n height: inherit !important;\n }\n\n .hidden {\n display: none;\n }\n\n .grid-datasource-error-dialog::part(dialog) {\n position: absolute;\n z-index: 2;\n max-width: var(--datasource-error-dialog-max-width);\n }\n\n .grid-datasource-error-dialog::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: 0;\n height: 100%;\n width: 100%;\n border-radius: 2px;\n background-color: var(--datasource-error-background-color);\n opacity: var(--datasource-error-background-opacity);\n z-index: 1;\n }\n`",
220
+ "default": "css`\n ${agExternalStockStyles}\n :host {\n width: 100%;\n height: 100%;\n }\n\n :host([ds-disconnected]) {\n opacity: 40%;\n }\n\n :host([ds-disconnected]) > * {\n cursor: not-allowed;\n }\n\n :host([ds-disconnected]) > * > * {\n pointer-events: none;\n }\n\n .ag-side-bar,\n .ag-menu {\n --ag-subheader-background-color: var(--ag-background-color);\n --ag-control-panel-background-color: var(--ag-background-color);\n }\n\n .ag-cell-inline-editing {\n height: inherit !important;\n }\n`",
221
221
  "description": "The Grid Pro styles.",
222
222
  "privacy": "public"
223
223
  }
@@ -237,42 +237,18 @@
237
237
  "kind": "javascript-module",
238
238
  "path": "src/grid-pro.template.ts",
239
239
  "declarations": [
240
- {
241
- "kind": "function",
242
- "name": "getGridProTemplate",
243
- "parameters": [
244
- {
245
- "name": "prefix",
246
- "default": "'foundation'",
247
- "description": "The design system prefix to use. Defaults to 'foundation'."
248
- }
249
- ],
250
- "description": "Get a Design System prefixed The Grid Pro template.",
251
- "return": {
252
- "type": {
253
- "text": ""
254
- }
255
- },
256
- "privacy": "public"
257
- },
258
240
  {
259
241
  "kind": "variable",
260
242
  "name": "gridProTemplate",
261
243
  "type": {
262
244
  "text": "ViewTemplate"
263
245
  },
246
+ "default": "html<GridPro>`\n <template>\n <span part=\"grid\" class=\"${(x) => x.classNames}\">\n <slot name=\"grid\" ${ref('gridSlot')}></slot>\n <slot></slot>\n </span>\n </template>\n`",
247
+ "description": "The Grid Pro Template.",
264
248
  "privacy": "public"
265
249
  }
266
250
  ],
267
251
  "exports": [
268
- {
269
- "kind": "js",
270
- "name": "getGridProTemplate",
271
- "declaration": {
272
- "name": "getGridProTemplate",
273
- "module": "src/grid-pro.template.ts"
274
- }
275
- },
276
252
  {
277
253
  "kind": "js",
278
254
  "name": "gridProTemplate",
@@ -306,13 +282,6 @@
306
282
  "text": "GridApi"
307
283
  }
308
284
  },
309
- {
310
- "kind": "field",
311
- "name": "gridDSErrorMessage",
312
- "type": {
313
- "text": "string"
314
- }
315
- },
316
285
  {
317
286
  "kind": "field",
318
287
  "name": "statePersistence",
@@ -562,15 +531,6 @@
562
531
  "privacy": "private",
563
532
  "default": "false"
564
533
  },
565
- {
566
- "kind": "field",
567
- "name": "rootEventsListeners",
568
- "type": {
569
- "text": "GirProEventsListeners"
570
- },
571
- "privacy": "private",
572
- "default": "[]"
573
- },
574
534
  {
575
535
  "kind": "field",
576
536
  "name": "gridEventsQueue",
@@ -632,21 +592,6 @@
632
592
  }
633
593
  ]
634
594
  },
635
- {
636
- "kind": "method",
637
- "name": "handleDataSourceError",
638
- "privacy": "private",
639
- "parameters": [
640
- {
641
- "name": "e"
642
- }
643
- ]
644
- },
645
- {
646
- "kind": "method",
647
- "name": "hideDataSourceError",
648
- "privacy": "private"
649
- },
650
595
  {
651
596
  "kind": "method",
652
597
  "name": "combineAllGridComponents",
@@ -10581,14 +10526,6 @@
10581
10526
  "name": "*",
10582
10527
  "package": "./grid-pro-genesis-datasource"
10583
10528
  }
10584
- },
10585
- {
10586
- "kind": "js",
10587
- "name": "*",
10588
- "declaration": {
10589
- "name": "*",
10590
- "package": "./grid-pro-genesis-datasource.config"
10591
- }
10592
10529
  }
10593
10530
  ]
10594
10531
  },
@@ -1 +1 @@
1
- {"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC9F,OAAO,EACL,IAAI,EACJ,UAAU,EAaX,MAAM,+BAA+B,CAAC;AAMvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBtE;;;;GAIG;AACH,qBAGa,wBAAyB,SAAQ,6BAAqC;IAC3E,IAAI,EAAG,IAAI,CAAC;IACN,UAAU,EAAG,UAAU,CAAC;IAEpC,aAAa,SAAsB;IACnC,kBAAkB,SAA2B;IAG7C,eAAe,CAAC,WA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AChC,OAAO,CAAC,aAAa,CAAe;IAEpC,OAAO,CAAC,6BAA6B,CAAQ;IAE7C,OAAO,CAAC,SAAS,CAAS;IAE1B,OAAO,CAAC,mBAAmB,CAAkC;IAC7D,OAAO,CAAC,MAAM,CAAwE;IAEtF,iBAAiB;IAuBjB,oBAAoB;IASX,SAAS,IAAI,IAAI;IAU1B;;;;OAIG;IACG,IAAI;IAqDV;;;OAGG;IACH,MAAM;IAIN;;;;OAIG;IACH,KAAK;IA8BL;;;OAGG;IACH,OAAO;IAKP;;OAEG;IACH,WAAW;IAIX;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAUlB;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAWpB;;;;OAIG;YACW,UAAU;IA8BxB;;;;;OAKG;YACW,kBAAkB;IAYhC;;;;;;OAMG;YACW,gBAAgB;IA0D9B,OAAO,CAAC,cAAc;IActB,YAAY,CAAC,MAAM,KAAA;IAOnB,OAAO,CAAC,iBAAiB;IAiBzB,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,sBAAsB;IA2C9B,OAAO,CAAC,mBAAmB;YAsBb,eAAe;IAwE7B,OAAO,CAAC,aAAa;IAMd,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;IAK5B,gBAAgB,CACvB,aAAa,EAAE,kBAAkB,GAChC,kBAAkB,GAAG,IAAI,GAAG,SAAS;IAI/B,qBAAqB,CAC5B,aAAa,EAAE,kBAAkB,EACjC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,GAC3C,IAAI;CAGR"}
@@ -1,3 +1,2 @@
1
1
  export * from './grid-pro-genesis-datasource';
2
- export * from './grid-pro-genesis-datasource.config';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
@@ -15,9 +15,7 @@ declare const GridPro_base: (new (...args: any[]) => {
15
15
  readonly shouldRunConnect: boolean;
16
16
  "__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
17
17
  "__#1@#_tryFindContainingLayout"(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
18
- connectedCallback(): void; /**
19
- * If true, will enable row flashing for all rows for `add` async transactions
20
- */
18
+ connectedCallback(): void;
21
19
  readonly $fastController: import("@microsoft/fast-element").Controller;
22
20
  $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
23
21
  disconnectedCallback(): void;
@@ -47,6 +45,20 @@ declare const GridPro_base: (new (...args: any[]) => {
47
45
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
48
46
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
49
47
  readonly attributes: NamedNodeMap;
48
+ /**
49
+ * Injectable config that allows to change grid options on an app level basis
50
+ * To modify options, register instance of the config in DOM container that is
51
+ * above the grid or on the top level of the application, so it applies to all grids.
52
+ *
53
+ * @example
54
+ * ```
55
+ * DI.getOrCreateDOMContainer().register([
56
+ * Registration.instance<GridOptionsConfig>(GridOptionsConfig, {
57
+ * headerHeight: 50,
58
+ * }),
59
+ * ]);
60
+ * ```
61
+ */
50
62
  readonly classList: DOMTokenList;
51
63
  className: string;
52
64
  readonly clientHeight: number;
@@ -130,10 +142,6 @@ declare const GridPro_base: (new (...args: any[]) => {
130
142
  textContent: string;
131
143
  appendChild<T_1 extends Node>(node: T_1): T_1;
132
144
  compareDocumentPosition(other: Node): number;
133
- /**
134
- * If {@link @genesislcap/grid-pro#GridPro.gridAutosizingEnabled} is true, will remove the widths from the column states.
135
- * @internal
136
- */
137
145
  contains(other: Node): boolean;
138
146
  getRootNode(options?: GetRootNodeOptions): Node;
139
147
  hasChildNodes(): boolean;
@@ -343,7 +351,6 @@ declare const GridPro_base: (new (...args: any[]) => {
343
351
  export declare class GridPro extends GridPro_base {
344
352
  columnApi: ColumnApi;
345
353
  gridApi: GridApi;
346
- gridDSErrorMessage: string;
347
354
  statePersistence: StatePersistence;
348
355
  /**
349
356
  * Timeout function used to debounce resize calls
@@ -419,7 +426,6 @@ export declare class GridPro extends GridPro_base {
419
426
  protected agGridOptions: GridOptions;
420
427
  protected initialised: boolean;
421
428
  private rehydrationAttempted;
422
- private rootEventsListeners;
423
429
  private gridEventsQueue;
424
430
  private filterConfig;
425
431
  /**
@@ -440,8 +446,6 @@ export declare class GridPro extends GridPro_base {
440
446
  constructor();
441
447
  addEventListener(type: any, listener: any, options?: boolean | AddEventListenerOptions): void;
442
448
  private addGridEventListener;
443
- private handleDataSourceError;
444
- private hideDataSourceError;
445
449
  connectedCallback(): void;
446
450
  disconnectedCallback(): void;
447
451
  combineAllGridComponents(gridOptionsComponents: GridComponents): GridComponents;
@@ -1 +1 @@
1
- {"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"AACA,OAAO,EACL,MAAM,EACN,SAAS,EACT,WAAW,EAGX,IAAI,EACJ,OAAO,EACP,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAqB/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AASrE,OAAO,EAKL,cAAc,EAId,iBAAiB,EACjB,eAAe,EAEhB,MA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IAAI,iBAAiB,IAAI,qBAAqB,CAM7C;IAED,IAAI,WAAW,CAAC,OAAO,EAAE,WAAW,EA4EnC;IAED,OAAO,CAAC,eAAe;IAwBvB;;;;;;OAMG;IACH,wBAAwB,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,yBAAyB,UAAQ;IAKhF;;;;;;;;OAQG;IACG,2BAA2B,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,yBAAyB,UAAQ;IAuFzF,IAAI,kBAAkB,aAerB;IAED,0BAA0B,CAAC,OAAO,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAqBtD,mBAAmB,CAAC,SAAS,KAAA,EAAE,KAAK,KAAA;IAiBpC,OAAO,CAAC,eAAe,CAAa;IAEpC,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,eAAe;CAMxB;AAED;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,EAAE,cAA0B,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;CAEhC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;kBAM5B,CAAC"}
@@ -50,11 +50,4 @@ export declare function formatDateExtra(epoch: number): string;
50
50
  * @internal
51
51
  */
52
52
  export declare const DEBOUNCED_RESIZE_TIME = 5;
53
- /**
54
- * The time between allowing the grids to automatically resize.
55
- * @internal
56
- */
57
- export declare const gridProEventsNames: {
58
- dsErrorClose: string;
59
- };
60
53
  //# sourceMappingURL=grid-pro.definitions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"grid-pro.definitions.d.ts","sourceRoot":"","sources":["../../src/grid-pro.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAI/D;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAczD;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAS1D;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CA+B5D;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,KAAK,EAAE,EAAE,oBAAoB,GAAG,GAAG,CAEvE;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,KAAK,EAAE,EAAE,oBAAoB,GAAG,GAAG,CAE3E;AAKD;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAMrD;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;CAE9B,CAAC"}
1
+ {"version":3,"file":"grid-pro.definitions.d.ts","sourceRoot":"","sources":["../../src/grid-pro.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAI/D;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAczD;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAS1D;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CA+B5D;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,KAAK,EAAE,EAAE,oBAAoB,GAAG,GAAG,CAEvE;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,KAAK,EAAE,EAAE,oBAAoB,GAAG,GAAG,CAE3E;AAKD;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAMrD;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"grid-pro.styles.d.ts","sourceRoot":"","sources":["../../src/grid-pro.styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,EAAE,aAkDrC,CAAC"}
1
+ {"version":3,"file":"grid-pro.styles.d.ts","sourceRoot":"","sources":["../../src/grid-pro.styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,EAAE,aA4BrC,CAAC"}
@@ -1,17 +1,7 @@
1
1
  import type { ViewTemplate } from '@microsoft/fast-element';
2
- import type { GridPro } from './grid-pro';
3
2
  /**
4
- * Get a Design System prefixed The Grid Pro template.
5
- * @param prefix - The design system prefix to use. Defaults to 'foundation'.
6
- * @returns A grid Pro template prefixed with the correct design system.
3
+ * The Grid Pro Template.
7
4
  * @public
8
5
  */
9
- export declare const getGridProTemplate: (prefix?: string) => ViewTemplate<GridPro, any>;
10
- /**
11
- *
12
- * @public
13
- * @remarks
14
- * HTML Element: \<foundation-grid-pro\>
15
- */
16
6
  export declare const gridProTemplate: ViewTemplate;
17
7
  //# sourceMappingURL=grid-pro.template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"grid-pro.template.d.ts","sourceRoot":"","sources":["../../src/grid-pro.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,iDAoC9B,CAAC;AACF;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,YAAmC,CAAC"}
1
+ {"version":3,"file":"grid-pro.template.d.ts","sourceRoot":"","sources":["../../src/grid-pro.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAG5D;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,YAO7B,CAAC"}
@@ -181,12 +181,4 @@ export declare enum GridProCaseType {
181
181
  sentenceCase = "sentenceCase",
182
182
  snakeCase = "snakeCase"
183
183
  }
184
- /**
185
- * Grid Pro Event Listeners
186
- * @internal
187
- */
188
- export type GirProEventsListeners = {
189
- key: string;
190
- action: (event: Event) => void;
191
- }[];
192
184
  //# sourceMappingURL=grid-pro.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"grid-pro.types.d.ts","sourceRoot":"","sources":["../../src/grid-pro.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAsB,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAIhF;;;GAGG;AACH,oBAAY,aAAa;IACvB,eAAe,0BAA0B;IACzC,SAAS,oBAAoB;IAC7B,wBAAwB,oCAAoC;IAC5D,qBAAqB,iCAAiC;IACtD,uBAAuB,mCAAmC;IAC1D,eAAe,0BAA0B;IACzC,qBAAqB,iCAAiC;IACtD,wBAAwB,oCAAoC;IAC5D,+BAA+B,4CAA4C;IAC3E,2BAA2B,wCAAwC;IACnE,0BAA0B,uCAAuC;IACjE,qBAAqB,kCAAkC;IACvD,aAAa,yBAAyB;IACtC,yBAAyB,sCAAsC;IAC/D,6BAA6B,0CAA0C;IACvE,yBAAyB,sCAAsC;IAC/D,0CAA0C,yDAAyD;IACnG,kCAAkC,gDAAgD;IAClF,8BAA8B,4CAA4C;IAC1E,+BAA+B,6CAA6C;IAC5E,mBAAmB,+BAA+B;IAClD,WAAW,sBAAsB;IACjC,oBAAoB,gCAAgC;IACpD,cAAc,0BAA0B;IACxC,0BAA0B,uCAAuC;IACjE,6BAA6B,2CAA2C;IACxE,gBAAgB,4BAA4B;IAC5C,wBAAwB,qCAAqC;IAC7D,4BAA4B,yCAAyC;IACrE,uBAAuB,mCAAmC;IAC1D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jB,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,iBAAiB,sBAAsB;CACxC;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,gBAAgB,CAAC;AAE9C;;;GAGG;AACH,eAAO,MAAM,mBAAmB,mBAAmB,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAElD;;;GAGG;AACH,MAAM,WAAW,iBAAkB,SAAQ,WAAW;CAAG;AACzD;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,iBAAsB,CAAC;AAE9D;;;GAGG;AACH,eAAO,MAAM,iBAAiB,yEAE7B,CAAC;AAEF;;;GAGG;AACH,oBAAY,eAAe;IACzB,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,YAAY,iBAAiB;IAC7B,SAAS,cAAc;CACxB"}
@@ -8,7 +8,6 @@ import { GridProBaseDatasource } from '../datasource/base.datasource';
8
8
  import { dateTimeValueFormatter, dateValueFormatter, getFilterParamsByFieldType, } from '../grid-pro.definitions';
9
9
  import { GridProRendererTypes } from '../grid-pro.types';
10
10
  import { logger } from '../utils/logger';
11
- import { gridProGenesisDatasourceEventsNames } from './grid-pro-genesis-datasource.config';
12
11
  const criteriaDelimiter = ';';
13
12
  const criteriaJoin = ' && ';
14
13
  const withoutFullInit = null;
@@ -310,13 +309,9 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
310
309
  return result.inserts;
311
310
  }
312
311
  handleErrors(result) {
313
- var _a;
314
312
  if (result.ERROR) {
315
- if (this.agGrid) {
316
- (_a = this.agGrid.gridApi) === null || _a === void 0 ? void 0 : _a.setRowData([]);
317
- this.agGrid.setAttribute('ds-disconnected', 'ds-disconnected');
318
- }
319
- this.parentElement.dispatchEvent(new CustomEvent(gridProGenesisDatasourceEventsNames.error, { detail: result.ERROR }));
313
+ this.agGrid.gridApi.setRowData([]);
314
+ this.agGrid.setAttribute('ds-disconnected', 'ds-disconnected');
320
315
  }
321
316
  }
322
317
  datasourceOptions() {
@@ -1,2 +1 @@
1
1
  export * from './grid-pro-genesis-datasource';
2
- export * from './grid-pro-genesis-datasource.config';
@@ -114,10 +114,3 @@ export function formatDateExtra(epoch) {
114
114
  * @internal
115
115
  */
116
116
  export const DEBOUNCED_RESIZE_TIME = 5;
117
- /**
118
- * The time between allowing the grids to automatically resize.
119
- * @internal
120
- */
121
- export const gridProEventsNames = {
122
- dsErrorClose: 'datasource-error-close',
123
- };
@@ -14,8 +14,8 @@ import { ActionRenderer, ActionsMenuRenderer, BooleanRenderer, EditableRenderer,
14
14
  import { GridProColumn } from './column';
15
15
  import { GridProClientSideDatasource, GridProServerSideDatasource } from './datasource';
16
16
  import { agThemeFontFaceMap, defaultAgGridFontFace } from './external';
17
- import { GridProGenesisDatasource, gridProGenesisDatasourceEventsNames, } from './grid-pro-genesis-datasource';
18
- import { DEBOUNCED_RESIZE_TIME, gridProEventsNames } from './grid-pro.definitions';
17
+ import { GridProGenesisDatasource } from './grid-pro-genesis-datasource';
18
+ import { DEBOUNCED_RESIZE_TIME } from './grid-pro.definitions';
19
19
  import { foundationGridProStyles as styles } from './grid-pro.styles';
20
20
  import { gridProTemplate as template } from './grid-pro.template';
21
21
  import { AgGridTheme, GridProRendererTypes, agThemeFontsId, agThemeTokenMapClassname, GRID_READY_EVENT, ERROR_COLUMN_FIELD, EDITED_COLUMN_FIELD, GridOptionsConfig, } from './grid-pro.types';
@@ -93,7 +93,6 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
93
93
  this.columnComponentName = 'grid-pro-column';
94
94
  this.theme = AgGridTheme.alpine;
95
95
  this.rehydrationAttempted = false;
96
- this.rootEventsListeners = [];
97
96
  this.gridEventsQueue = [];
98
97
  this.filterConfig = undefined;
99
98
  this.agAttributes = {};
@@ -102,10 +101,6 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
102
101
  map[convertToKebabCase(property)] = property;
103
102
  return map;
104
103
  }, {});
105
- this.rootEventsListeners.push({ key: gridProEventsNames.dsErrorClose, action: this.hideDataSourceError.bind(this) }, {
106
- key: gridProGenesisDatasourceEventsNames.error,
107
- action: this.handleDataSourceError.bind(this),
108
- });
109
104
  }
110
105
  addEventListener(type, listener, options) {
111
106
  super.addEventListener(type, listener, options);
@@ -123,12 +118,6 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
123
118
  this.$emit(type, e);
124
119
  });
125
120
  }
126
- handleDataSourceError(e) {
127
- this.gridDSErrorMessage = e.detail;
128
- }
129
- hideDataSourceError() {
130
- this.gridDSErrorMessage = null;
131
- }
132
121
  connectedCallback() {
133
122
  super.connectedCallback();
134
123
  this.rehydrationAttempted = false;
@@ -150,9 +139,6 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
150
139
  configurable: true,
151
140
  });
152
141
  });
153
- this.rootEventsListeners.forEach(({ key, action }) => {
154
- this.addEventListener(key, action);
155
- });
156
142
  }
157
143
  disconnectedCallback() {
158
144
  var _a;
@@ -163,9 +149,6 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
163
149
  return;
164
150
  this.initialised = false;
165
151
  (_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.destroy();
166
- this.rootEventsListeners.forEach(({ key, action }) => {
167
- this.removeEventListener(key, action);
168
- });
169
152
  }
170
153
  combineAllGridComponents(gridOptionsComponents) {
171
154
  const defaultFoundationAgComponents = {
@@ -488,9 +471,6 @@ __decorate([
488
471
  __decorate([
489
472
  observable
490
473
  ], GridPro.prototype, "gridApi", void 0);
491
- __decorate([
492
- observable
493
- ], GridPro.prototype, "gridDSErrorMessage", void 0);
494
474
  __decorate([
495
475
  StatePersistence
496
476
  ], GridPro.prototype, "statePersistence", void 0);
@@ -8,17 +8,19 @@ import { agExternalStockStyles } from './external';
8
8
  export const foundationGridProStyles = css `
9
9
  ${agExternalStockStyles}
10
10
  :host {
11
- position: relative;
12
11
  width: 100%;
13
12
  height: 100%;
14
- --datasource-error-background-color: var(--neutral-layer-4);
15
- --datasource-error-background-opacity: 0.5;
16
- --datasource-error-dialog-max-width: 50%;
17
13
  }
18
14
 
19
- :host([ds-disconnected])::part(grid) {
15
+ :host([ds-disconnected]) {
16
+ opacity: 40%;
17
+ }
18
+
19
+ :host([ds-disconnected]) > * {
20
20
  cursor: not-allowed;
21
- opacity: 0.4;
21
+ }
22
+
23
+ :host([ds-disconnected]) > * > * {
22
24
  pointer-events: none;
23
25
  }
24
26
 
@@ -31,28 +33,4 @@ export const foundationGridProStyles = css `
31
33
  .ag-cell-inline-editing {
32
34
  height: inherit !important;
33
35
  }
34
-
35
- .hidden {
36
- display: none;
37
- }
38
-
39
- .grid-datasource-error-dialog::part(dialog) {
40
- position: absolute;
41
- z-index: 2;
42
- max-width: var(--datasource-error-dialog-max-width);
43
- }
44
-
45
- .grid-datasource-error-dialog::before {
46
- content: '';
47
- position: absolute;
48
- top: 50%;
49
- transform: translateY(-50%);
50
- left: 0;
51
- height: 100%;
52
- width: 100%;
53
- border-radius: 2px;
54
- background-color: var(--datasource-error-background-color);
55
- opacity: var(--datasource-error-background-opacity);
56
- z-index: 1;
57
- }
58
36
  `;
@@ -1,51 +1,13 @@
1
1
  import { html, ref } from '@microsoft/fast-element';
2
2
  /**
3
- * Get a Design System prefixed The Grid Pro template.
4
- * @param prefix - The design system prefix to use. Defaults to 'foundation'.
5
- * @returns A grid Pro template prefixed with the correct design system.
3
+ * The Grid Pro Template.
6
4
  * @public
7
5
  */
8
- export const getGridProTemplate = (prefix = 'foundation') => html `
6
+ export const gridProTemplate = html `
9
7
  <template>
10
8
  <span part="grid" class="${(x) => x.classNames}">
11
9
  <slot name="grid" ${ref('gridSlot')}></slot>
12
10
  <slot></slot>
13
11
  </span>
14
- <slot
15
- name="grid-datasource-error"
16
- part="grid-datasource-error"
17
- class="${(x) => (x.gridDSErrorMessage ? '' : 'hidden')}"
18
- >
19
- <${prefix}-dialog
20
- class="grid-datasource-error-dialog"
21
- type="error"
22
- show-close-icon="false"
23
- open
24
- >
25
- <h2 slot="top" class="title">Component unavailable</h2>
26
- <p>
27
- Please refresh to reconnect.
28
- It is recommended that you save your data before refreshing.
29
- Data is not current and may be incomplete.
30
- </p>
31
- <div slot="bottom">
32
- <${prefix}-button
33
- appearance="lightweight"
34
- @click=${() => {
35
- window.location.reload();
36
- }}
37
- >
38
- Refresh
39
- </${prefix}-button>
40
- </div>
41
- </${prefix}-dialog>
42
- </slot>
43
12
  </template>
44
13
  `;
45
- /**
46
- *
47
- * @public
48
- * @remarks
49
- * HTML Element: \<foundation-grid-pro\>
50
- */
51
- export const gridProTemplate = getGridProTemplate();
@@ -7020,47 +7020,6 @@
7020
7020
  "endIndex": 6
7021
7021
  }
7022
7022
  },
7023
- {
7024
- "kind": "Variable",
7025
- "canonicalReference": "@genesislcap/grid-pro!getGridProTemplate:var",
7026
- "docComment": "/**\n * Get a Design System prefixed The Grid Pro template.\n *\n * @param prefix - The design system prefix to use. Defaults to 'foundation'.\n *\n * @returns A grid Pro template prefixed with the correct design system.\n *\n * @public\n */\n",
7027
- "excerptTokens": [
7028
- {
7029
- "kind": "Content",
7030
- "text": "getGridProTemplate: "
7031
- },
7032
- {
7033
- "kind": "Content",
7034
- "text": "(prefix?: string) => "
7035
- },
7036
- {
7037
- "kind": "Reference",
7038
- "text": "ViewTemplate",
7039
- "canonicalReference": "@microsoft/fast-element!ViewTemplate:class"
7040
- },
7041
- {
7042
- "kind": "Content",
7043
- "text": "<"
7044
- },
7045
- {
7046
- "kind": "Reference",
7047
- "text": "GridPro",
7048
- "canonicalReference": "@genesislcap/grid-pro!GridPro:class"
7049
- },
7050
- {
7051
- "kind": "Content",
7052
- "text": ", any>"
7053
- }
7054
- ],
7055
- "fileUrlPath": "src/grid-pro.template.ts",
7056
- "isReadonly": true,
7057
- "releaseTag": "Public",
7058
- "name": "getGridProTemplate",
7059
- "variableTypeTokenRange": {
7060
- "startIndex": 1,
7061
- "endIndex": 6
7062
- }
7063
- },
7064
7023
  {
7065
7024
  "kind": "Variable",
7066
7025
  "canonicalReference": "@genesislcap/grid-pro!getMultiselectEditorTemplate:var",
@@ -8516,36 +8475,6 @@
8516
8475
  "isProtected": false,
8517
8476
  "isAbstract": false
8518
8477
  },
8519
- {
8520
- "kind": "Property",
8521
- "canonicalReference": "@genesislcap/grid-pro!GridPro#gridDSErrorMessage:member",
8522
- "docComment": "",
8523
- "excerptTokens": [
8524
- {
8525
- "kind": "Content",
8526
- "text": "gridDSErrorMessage: "
8527
- },
8528
- {
8529
- "kind": "Content",
8530
- "text": "string"
8531
- },
8532
- {
8533
- "kind": "Content",
8534
- "text": ";"
8535
- }
8536
- ],
8537
- "isReadonly": false,
8538
- "isOptional": false,
8539
- "releaseTag": "Public",
8540
- "name": "gridDSErrorMessage",
8541
- "propertyTypeTokenRange": {
8542
- "startIndex": 1,
8543
- "endIndex": 2
8544
- },
8545
- "isStatic": false,
8546
- "isProtected": false,
8547
- "isAbstract": false
8548
- },
8549
8478
  {
8550
8479
  "kind": "Property",
8551
8480
  "canonicalReference": "@genesislcap/grid-pro!GridPro#gridFontFace:member",
@@ -10973,29 +10902,6 @@
10973
10902
  },
10974
10903
  "implementsTokenRanges": []
10975
10904
  },
10976
- {
10977
- "kind": "Variable",
10978
- "canonicalReference": "@genesislcap/grid-pro!gridProGenesisDatasourceEventsNames:var",
10979
- "docComment": "/**\n * The Genesis Datasource events names.\n *\n * @public\n */\n",
10980
- "excerptTokens": [
10981
- {
10982
- "kind": "Content",
10983
- "text": "gridProGenesisDatasourceEventsNames: "
10984
- },
10985
- {
10986
- "kind": "Content",
10987
- "text": "{\n error: string;\n}"
10988
- }
10989
- ],
10990
- "fileUrlPath": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.config.ts",
10991
- "isReadonly": true,
10992
- "releaseTag": "Public",
10993
- "name": "gridProGenesisDatasourceEventsNames",
10994
- "variableTypeTokenRange": {
10995
- "startIndex": 1,
10996
- "endIndex": 2
10997
- }
10998
- },
10999
10905
  {
11000
10906
  "kind": "Enum",
11001
10907
  "canonicalReference": "@genesislcap/grid-pro!GridProRendererTypes:enum",
@@ -11247,7 +11153,7 @@
11247
11153
  {
11248
11154
  "kind": "Variable",
11249
11155
  "canonicalReference": "@genesislcap/grid-pro!gridProTemplate:var",
11250
- "docComment": "/**\n * @remarks\n *\n * HTML Element: \\<foundation-grid-pro\\>\n *\n * @public\n */\n",
11156
+ "docComment": "/**\n * The Grid Pro Template.\n *\n * @public\n */\n",
11251
11157
  "excerptTokens": [
11252
11158
  {
11253
11159
  "kind": "Content",
@@ -1078,14 +1078,6 @@ export declare function getFilterByFieldType(type: string): string;
1078
1078
  */
1079
1079
  export declare function getFilterParamsByFieldType(type: string): any;
1080
1080
 
1081
- /**
1082
- * Get a Design System prefixed The Grid Pro template.
1083
- * @param prefix - The design system prefix to use. Defaults to 'foundation'.
1084
- * @returns A grid Pro template prefixed with the correct design system.
1085
- * @public
1086
- */
1087
- export declare const getGridProTemplate: (prefix?: string) => ViewTemplate<GridPro, any>;
1088
-
1089
1081
  /**
1090
1082
  * Get a Design System prefixed Select template.
1091
1083
  * @param designSystem - The design system prefix to use. Defaults to 'foundation'.
@@ -1140,15 +1132,6 @@ export declare const getTextFieldRendererTemplate: (designSystem?: string) => Vi
1140
1132
  */
1141
1133
  export declare const getTextRendererTemplate: (designSystem?: string) => ViewTemplate<AgTextFieldRenderer, any>;
1142
1134
 
1143
- /**
1144
- * Grid Pro Event Listeners
1145
- * @internal
1146
- */
1147
- export declare type GirProEventsListeners = {
1148
- key: string;
1149
- action: (event: Event) => void;
1150
- }[];
1151
-
1152
1135
  /**
1153
1136
  * Event fired when grid is ready
1154
1137
  * @public
@@ -1185,7 +1168,6 @@ export declare const GridOptionsConfig: InterfaceSymbol<GridOptionsConfig>;
1185
1168
  export declare class GridPro extends GridPro_base {
1186
1169
  columnApi: ColumnApi;
1187
1170
  gridApi: GridApi;
1188
- gridDSErrorMessage: string;
1189
1171
  statePersistence: StatePersistence;
1190
1172
  /**
1191
1173
  * Timeout function used to debounce resize calls
@@ -1261,7 +1243,6 @@ export declare class GridPro extends GridPro_base {
1261
1243
  protected agGridOptions: GridOptions;
1262
1244
  protected initialised: boolean;
1263
1245
  private rehydrationAttempted;
1264
- private rootEventsListeners;
1265
1246
  private gridEventsQueue;
1266
1247
  private filterConfig;
1267
1248
  /**
@@ -1282,8 +1263,6 @@ export declare class GridPro extends GridPro_base {
1282
1263
  constructor();
1283
1264
  addEventListener(type: any, listener: any, options?: boolean | AddEventListenerOptions): void;
1284
1265
  private addGridEventListener;
1285
- private handleDataSourceError;
1286
- private hideDataSourceError;
1287
1266
  connectedCallback(): void;
1288
1267
  disconnectedCallback(): void;
1289
1268
  combineAllGridComponents(gridOptionsComponents: GridComponents): GridComponents;
@@ -1355,9 +1334,7 @@ declare const GridPro_base: (new (...args: any[]) => {
1355
1334
  readonly shouldRunConnect: boolean;
1356
1335
  "__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
1357
1336
  "__#1@#_tryFindContainingLayout"(e: Element): FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
1358
- connectedCallback(): void; /**
1359
- * If true, will enable row flashing for all rows for `add` async transactions
1360
- */
1337
+ connectedCallback(): void;
1361
1338
  readonly $fastController: Controller;
1362
1339
  $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
1363
1340
  disconnectedCallback(): void;
@@ -1387,6 +1364,20 @@ declare const GridPro_base: (new (...args: any[]) => {
1387
1364
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
1388
1365
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1389
1366
  readonly attributes: NamedNodeMap;
1367
+ /**
1368
+ * Injectable config that allows to change grid options on an app level basis
1369
+ * To modify options, register instance of the config in DOM container that is
1370
+ * above the grid or on the top level of the application, so it applies to all grids.
1371
+ *
1372
+ * @example
1373
+ * ```
1374
+ * DI.getOrCreateDOMContainer().register([
1375
+ * Registration.instance<GridOptionsConfig>(GridOptionsConfig, {
1376
+ * headerHeight: 50,
1377
+ * }),
1378
+ * ]);
1379
+ * ```
1380
+ */
1390
1381
  readonly classList: DOMTokenList;
1391
1382
  className: string;
1392
1383
  readonly clientHeight: number;
@@ -1470,10 +1461,6 @@ declare const GridPro_base: (new (...args: any[]) => {
1470
1461
  textContent: string;
1471
1462
  appendChild<T_1 extends Node>(node: T_1): T_1;
1472
1463
  compareDocumentPosition(other: Node): number;
1473
- /**
1474
- * If {@link @genesislcap/grid-pro#GridPro.gridAutosizingEnabled} is true, will remove the widths from the column states.
1475
- * @internal
1476
- */
1477
1464
  contains(other: Node): boolean;
1478
1465
  getRootNode(options?: GetRootNodeOptions): Node;
1479
1466
  hasChildNodes(): boolean;
@@ -1760,14 +1747,6 @@ export declare class GridProColumn extends FoundationElement {
1760
1747
  */
1761
1748
  export declare function gridProColumns<TSource = any>(itemsBinding: Binding<TSource, readonly ColDef[]> | readonly ColDef[], includeRenderers?: boolean): CaptureType<TSource>;
1762
1749
 
1763
- /**
1764
- * The time between allowing the grids to automatically resize.
1765
- * @internal
1766
- */
1767
- export declare const gridProEventsNames: {
1768
- dsErrorClose: string;
1769
- };
1770
-
1771
1750
  /**
1772
1751
  * The Genesis Datasource element, for CSRM-compatible data fetching and used exclusively by the GridPro element.
1773
1752
  * @remarks Only supports Client-Side Row Model.
@@ -2194,14 +2173,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
2194
2173
  focus(options?: FocusOptions): void;
2195
2174
  }) & typeof GridProBaseDatasource;
2196
2175
 
2197
- /**
2198
- * The Genesis Datasource events names.
2199
- * @public
2200
- */
2201
- export declare const gridProGenesisDatasourceEventsNames: {
2202
- error: string;
2203
- };
2204
-
2205
2176
  /**
2206
2177
  * The available Grid Pro Renderer Types
2207
2178
  * @public
@@ -2588,10 +2559,8 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
2588
2559
  }) & typeof GridProBaseDatasource;
2589
2560
 
2590
2561
  /**
2591
- *
2562
+ * The Grid Pro Template.
2592
2563
  * @public
2593
- * @remarks
2594
- * HTML Element: \<foundation-grid-pro\>
2595
2564
  */
2596
2565
  export declare const gridProTemplate: ViewTemplate;
2597
2566
 
@@ -46,7 +46,6 @@ Grid Pro is a Web Component wrapper around the AG Grid Community library.
46
46
  | [gridApi](./grid-pro.gridpro.gridapi.md) | | GridApi | |
47
47
  | [gridAutosizingEnabled](./grid-pro.gridpro.gridautosizingenabled.md) | | boolean | Boolean attribute to control whether the grid autosizes the columns upon interaction. This will disable the column widths from being manually set, and doesn't save the widths in local storage if you are using <code>persist-column-state-key</code>. |
48
48
  | [gridComponents](./grid-pro.gridpro.gridcomponents.md) | | { \[componentName: string\]: any; } | |
49
- | [gridDSErrorMessage](./grid-pro.gridpro.griddserrormessage.md) | | string | |
50
49
  | [gridFontFace](./grid-pro.gridpro.gridfontface.md) | | string | |
51
50
  | [gridOptions](./grid-pro.gridpro.gridoptions.md) | | GridOptions | |
52
51
  | [gridOptionsConfig](./grid-pro.gridpro.gridoptionsconfig.md) | | [GridOptionsConfig](./grid-pro.gridoptionsconfig.md) | Injectable config that allows to change grid options on an app level basis To modify options, register instance of the config in DOM container that is above the grid or on the top level of the application, so it applies to all grids. |
@@ -4,13 +4,10 @@
4
4
 
5
5
  ## gridProTemplate variable
6
6
 
7
+ The Grid Pro Template.
8
+
7
9
  **Signature:**
8
10
 
9
11
  ```typescript
10
12
  gridProTemplate: ViewTemplate
11
13
  ```
12
-
13
- ## Remarks
14
-
15
- HTML Element: &lt;<!-- -->foundation-grid-pro<!-- -->&gt;
16
-
@@ -116,7 +116,6 @@
116
116
  | [getAgBooleanRendererTemplate](./grid-pro.getagbooleanrenderertemplate.md) | Get a Design System prefixed Checkbox template. |
117
117
  | [getAgEditableRendererTemplate](./grid-pro.getageditablerenderertemplate.md) | Get a Design System prefixed Checkbox template. |
118
118
  | [getDateEditorTemplate](./grid-pro.getdateeditortemplate.md) | Get a Design System prefixed Select template. |
119
- | [getGridProTemplate](./grid-pro.getgridprotemplate.md) | Get a Design System prefixed The Grid Pro template. |
120
119
  | [getMultiselectEditorTemplate](./grid-pro.getmultiselecteditortemplate.md) | Get a Design System prefixed Select template. |
121
120
  | [getNumberEditorTemplate](./grid-pro.getnumbereditortemplate.md) | Get a Design System prefixed Select template. |
122
121
  | [getSelectEditorTemplate](./grid-pro.getselecteditortemplate.md) | Get a Design System prefixed Select template. |
@@ -125,8 +124,7 @@
125
124
  | [getTextFieldRendererTemplate](./grid-pro.gettextfieldrenderertemplate.md) | Get a Design System prefixed Text Field template. |
126
125
  | [getTextRendererTemplate](./grid-pro.gettextrenderertemplate.md) | |
127
126
  | [GRID\_READY\_EVENT](./grid-pro.grid_ready_event.md) | Event fired when grid is ready |
128
- | [gridProGenesisDatasourceEventsNames](./grid-pro.gridprogenesisdatasourceeventsnames.md) | The Genesis Datasource events names. |
129
- | [gridProTemplate](./grid-pro.gridprotemplate.md) | |
127
+ | [gridProTemplate](./grid-pro.gridprotemplate.md) | The Grid Pro Template. |
130
128
  | [logger](./grid-pro.logger.md) | Logger for the grid-pro package |
131
129
  | [textFieldRendererStyles](./grid-pro.textfieldrendererstyles.md) | The AG Text Field Renderer Styles. |
132
130
  | [textRendererStyles](./grid-pro.textrendererstyles.md) | |
@@ -743,9 +743,6 @@ export function getFilterByFieldType(type: string): string;
743
743
  // @alpha
744
744
  export function getFilterParamsByFieldType(type: string): any;
745
745
 
746
- // @public
747
- export const getGridProTemplate: (prefix?: string) => ViewTemplate<GridPro, any>;
748
-
749
746
  // @public
750
747
  export const getMultiselectEditorTemplate: (designSystem?: string) => ViewTemplate<MultiselectEditor, any>;
751
748
 
@@ -767,14 +764,6 @@ export const getTextFieldRendererTemplate: (designSystem?: string) => ViewTempla
767
764
  // @public @deprecated (undocumented)
768
765
  export const getTextRendererTemplate: (designSystem?: string) => ViewTemplate<AgTextFieldRenderer, any>;
769
766
 
770
- // Warning: (ae-internal-missing-underscore) The name "GirProEventsListeners" should be prefixed with an underscore because the declaration is marked as @internal
771
- //
772
- // @internal
773
- export type GirProEventsListeners = {
774
- key: string;
775
- action: (event: Event) => void;
776
- }[];
777
-
778
767
  // @public
779
768
  export const GRID_READY_EVENT = "onGridReady";
780
769
 
@@ -846,8 +835,6 @@ export class GridPro extends GridPro_base {
846
835
  [componentName: string]: any;
847
836
  };
848
837
  // (undocumented)
849
- gridDSErrorMessage: string;
850
- // (undocumented)
851
838
  gridFontFace: string;
852
839
  // (undocumented)
853
840
  get gridOptions(): GridOptions;
@@ -945,13 +932,6 @@ export class GridProColumn extends FoundationElement {
945
932
  // @public
946
933
  export function gridProColumns<TSource = any>(itemsBinding: Binding<TSource, readonly ColDef[]> | readonly ColDef[], includeRenderers?: boolean): CaptureType<TSource>;
947
934
 
948
- // Warning: (ae-internal-missing-underscore) The name "gridProEventsNames" should be prefixed with an underscore because the declaration is marked as @internal
949
- //
950
- // @internal
951
- export const gridProEventsNames: {
952
- dsErrorClose: string;
953
- };
954
-
955
935
  // Warning: (ae-forgotten-export) The symbol "GridProGenesisDatasource_base" needs to be exported by the entry point index.d.ts
956
936
  //
957
937
  // @public
@@ -1000,11 +980,6 @@ export class GridProGenesisDatasource extends GridProGenesisDatasource_base {
1000
980
  setFilter(fieldName: string, newFilter: string): void;
1001
981
  }
1002
982
 
1003
- // @public
1004
- export const gridProGenesisDatasourceEventsNames: {
1005
- error: string;
1006
- };
1007
-
1008
983
  // @public
1009
984
  export enum GridProRendererTypes {
1010
985
  // (undocumented)
@@ -1067,7 +1042,7 @@ export class GridProServerSideDatasource extends GridProServerSideDatasource_bas
1067
1042
  get rowModel(): IServerSideRowModel;
1068
1043
  }
1069
1044
 
1070
- // @public (undocumented)
1045
+ // @public
1071
1046
  export const gridProTemplate: ViewTemplate;
1072
1047
 
1073
1048
  // @public
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/grid-pro",
3
3
  "description": "Genesis Foundation AG Grid",
4
- "version": "14.155.2-alpha-d9bfff1.0",
4
+ "version": "14.156.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -30,20 +30,20 @@
30
30
  "test:debug": "genx test --debug"
31
31
  },
32
32
  "devDependencies": {
33
- "@genesislcap/foundation-testing": "14.155.2-alpha-d9bfff1.0",
34
- "@genesislcap/genx": "14.155.2-alpha-d9bfff1.0",
35
- "@genesislcap/rollup-builder": "14.155.2-alpha-d9bfff1.0",
36
- "@genesislcap/ts-builder": "14.155.2-alpha-d9bfff1.0",
37
- "@genesislcap/uvu-playwright-builder": "14.155.2-alpha-d9bfff1.0",
38
- "@genesislcap/vite-builder": "14.155.2-alpha-d9bfff1.0",
39
- "@genesislcap/webpack-builder": "14.155.2-alpha-d9bfff1.0",
33
+ "@genesislcap/foundation-testing": "14.156.0",
34
+ "@genesislcap/genx": "14.156.0",
35
+ "@genesislcap/rollup-builder": "14.156.0",
36
+ "@genesislcap/ts-builder": "14.156.0",
37
+ "@genesislcap/uvu-playwright-builder": "14.156.0",
38
+ "@genesislcap/vite-builder": "14.156.0",
39
+ "@genesislcap/webpack-builder": "14.156.0",
40
40
  "rimraf": "^3.0.2"
41
41
  },
42
42
  "dependencies": {
43
- "@genesislcap/foundation-comms": "14.155.2-alpha-d9bfff1.0",
44
- "@genesislcap/foundation-logger": "14.155.2-alpha-d9bfff1.0",
45
- "@genesislcap/foundation-ui": "14.155.2-alpha-d9bfff1.0",
46
- "@genesislcap/foundation-utils": "14.155.2-alpha-d9bfff1.0",
43
+ "@genesislcap/foundation-comms": "14.156.0",
44
+ "@genesislcap/foundation-logger": "14.156.0",
45
+ "@genesislcap/foundation-ui": "14.156.0",
46
+ "@genesislcap/foundation-utils": "14.156.0",
47
47
  "@microsoft/fast-colors": "^5.3.1",
48
48
  "@microsoft/fast-components": "^2.30.6",
49
49
  "@microsoft/fast-element": "^1.12.0",
@@ -69,5 +69,5 @@
69
69
  "access": "public"
70
70
  },
71
71
  "customElements": "dist/custom-elements.json",
72
- "gitHead": "e438f9d706092a1c8b11c3a78f084b1f3c3ac091"
72
+ "gitHead": "248a54e595ec2ce241cb9ea5878092a5fec18fb1"
73
73
  }
@@ -1,8 +0,0 @@
1
- /**
2
- * The Genesis Datasource events names.
3
- * @public
4
- */
5
- export declare const gridProGenesisDatasourceEventsNames: {
6
- error: string;
7
- };
8
- //# sourceMappingURL=grid-pro-genesis-datasource.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"grid-pro-genesis-datasource.config.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,mCAAmC;;CAE/C,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * The Genesis Datasource events names.
3
- * @public
4
- */
5
- export const gridProGenesisDatasourceEventsNames = {
6
- error: 'datasource-error',
7
- };
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [getGridProTemplate](./grid-pro.getgridprotemplate.md)
4
-
5
- ## getGridProTemplate variable
6
-
7
- Get a Design System prefixed The Grid Pro template.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- getGridProTemplate: (prefix?: string) => ViewTemplate<GridPro, any>
13
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [GridPro](./grid-pro.gridpro.md) &gt; [gridDSErrorMessage](./grid-pro.gridpro.griddserrormessage.md)
4
-
5
- ## GridPro.gridDSErrorMessage property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- gridDSErrorMessage: string;
11
- ```
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [gridProGenesisDatasourceEventsNames](./grid-pro.gridprogenesisdatasourceeventsnames.md)
4
-
5
- ## gridProGenesisDatasourceEventsNames variable
6
-
7
- The Genesis Datasource events names.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- gridProGenesisDatasourceEventsNames: {
13
- error: string;
14
- }
15
- ```