@genesislcap/grid-pro 14.20.1 → 14.20.2-alpha-97d057d.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.
- package/dist/custom-elements.json +77 -22
- package/dist/dts/cell-renderers/action.renderer.d.ts +1 -1
- package/dist/dts/cell-renderers/actions-menu.renderer.d.ts +1 -1
- package/dist/dts/cell-renderers/boolean.renderer.d.ts +1 -1
- package/dist/dts/cell-renderers/select.renderer.d.ts +1 -1
- package/dist/dts/cell-renderers/text-field.renderer.d.ts +1 -1
- package/dist/dts/cell-renderers/text.renderer.d.ts +2 -2
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource-next.d.ts +15 -0
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource-next.d.ts.map +1 -1
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +18 -2
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro.d.ts +37 -6
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/dts/style/colors.d.ts +2 -2
- package/dist/esm/cell-renderers/action.renderer.js +1 -1
- package/dist/esm/cell-renderers/actions-menu.renderer.js +1 -1
- package/dist/esm/cell-renderers/boolean.renderer.js +1 -1
- package/dist/esm/cell-renderers/select.renderer.js +1 -1
- package/dist/esm/cell-renderers/text-field.renderer.js +1 -1
- package/dist/esm/cell-renderers/text.renderer.js +2 -2
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource-next.js +9 -0
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +18 -2
- package/dist/esm/grid-pro.js +52 -19
- package/dist/esm/style/colors.js +2 -2
- package/dist/grid-pro.api.json +216 -1038
- package/dist/grid-pro.d.ts +80 -17
- package/docs/api/grid-pro.defaultgridproconfig.md +2 -0
- package/docs/api/grid-pro.foundationagbooleanrenderer.md +1 -1
- package/docs/api/grid-pro.foundationagselectrenderer.md +1 -1
- package/docs/api/grid-pro.foundationagtextfieldrenderer.md +1 -1
- package/docs/api/grid-pro.foundationagtextrenderer.md +1 -1
- package/docs/api/grid-pro.foundationgridpro.md +1 -1
- package/docs/api/grid-pro.foundationgridproactionrenderer.md +1 -1
- package/docs/api/grid-pro.foundationgridproactionsmenurenderer.md +1 -1
- package/docs/api/grid-pro.foundationgridproshadowoptions.md +7 -0
- package/docs/api/grid-pro.gridpro.agattributes.md +1 -1
- package/docs/api/grid-pro.gridpro.agpropertiesmap.md +1 -1
- package/docs/api/grid-pro.gridpro.gridoptions.md +3 -0
- package/docs/api/grid-pro.gridpro.md +9 -2
- package/docs/api/grid-pro.gridpro.savedcolumnstate.md +18 -0
- package/docs/api/grid-pro.gridprogenesisdatasource.deinit.md +1 -0
- package/docs/api/grid-pro.gridprogenesisdatasource.init.md +6 -0
- package/docs/api/grid-pro.gridprogenesisdatasource.md +10 -4
- package/docs/api/grid-pro.gridprogenesisdatasource.reset.md +2 -1
- package/docs/api/grid-pro.gridprogenesisdatasource.restart.md +2 -0
- package/docs/api/grid-pro.hypenateandlowercase.md +13 -0
- package/docs/api/grid-pro.md +12 -14
- package/docs/api-report.md +14 -12
- package/package.json +8 -8
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.connect.md +0 -11
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.connectedcallback.md +0 -15
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.criteria.md +0 -11
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.disconnectedcallback.md +0 -15
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.fields.md +0 -11
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.init.md +0 -15
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.issnapshot.md +0 -11
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.maxrows.md +0 -11
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.maxview.md +0 -11
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.md +0 -40
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.orderby.md +0 -11
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.pagination.md +0 -11
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.params.md +0 -11
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.reset.md +0 -15
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.resourcename.md +0 -11
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.resourcenamechanged.md +0 -23
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.restart.md +0 -15
- package/docs/api/grid-pro.gridprogenesisdatasourcenext.reverse.md +0 -11
- package/docs/api/grid-pro.streamdatasource._constructor_.md +0 -20
- package/docs/api/grid-pro.streamdatasource.connect.md +0 -11
- package/docs/api/grid-pro.streamdatasource.dataserverstream.md +0 -11
- package/docs/api/grid-pro.streamdatasource.getrows.md +0 -22
- package/docs/api/grid-pro.streamdatasource.md +0 -34
- package/docs/api/grid-pro.streamdatasource.resourceparams.md +0 -11
- package/docs/api/grid-pro.streamdatasource.streamsourceref.md +0 -11
- package/docs/api/grid-pro.streamdatasourceoptions.md +0 -20
|
@@ -263,9 +263,29 @@
|
|
|
263
263
|
"kind": "javascript-module",
|
|
264
264
|
"path": "src/grid-pro.ts",
|
|
265
265
|
"declarations": [
|
|
266
|
+
{
|
|
267
|
+
"kind": "function",
|
|
268
|
+
"name": "hypenateAndLowercase",
|
|
269
|
+
"parameters": [
|
|
270
|
+
{
|
|
271
|
+
"name": "value",
|
|
272
|
+
"type": {
|
|
273
|
+
"text": "string"
|
|
274
|
+
},
|
|
275
|
+
"description": "The value to hypenate and lowercase."
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"description": "A function to convert string values from 'camelCase' to 'hypenated-lowercase'.",
|
|
279
|
+
"return": {
|
|
280
|
+
"type": {
|
|
281
|
+
"text": ""
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"privacy": "public"
|
|
285
|
+
},
|
|
266
286
|
{
|
|
267
287
|
"kind": "class",
|
|
268
|
-
"description": "",
|
|
288
|
+
"description": "The Grid Pro element.",
|
|
269
289
|
"name": "GridPro",
|
|
270
290
|
"members": [
|
|
271
291
|
{
|
|
@@ -429,15 +449,18 @@
|
|
|
429
449
|
{
|
|
430
450
|
"kind": "field",
|
|
431
451
|
"name": "agAttributes",
|
|
432
|
-
"privacy": "protected",
|
|
433
452
|
"type": {
|
|
434
|
-
"text": "
|
|
453
|
+
"text": "Record<string, string>"
|
|
435
454
|
},
|
|
455
|
+
"privacy": "protected",
|
|
436
456
|
"default": "{}"
|
|
437
457
|
},
|
|
438
458
|
{
|
|
439
459
|
"kind": "field",
|
|
440
460
|
"name": "agPropertiesMap",
|
|
461
|
+
"type": {
|
|
462
|
+
"text": "Record<string, string>"
|
|
463
|
+
},
|
|
441
464
|
"privacy": "protected"
|
|
442
465
|
},
|
|
443
466
|
{
|
|
@@ -493,7 +516,7 @@
|
|
|
493
516
|
},
|
|
494
517
|
{
|
|
495
518
|
"kind": "method",
|
|
496
|
-
"name": "
|
|
519
|
+
"name": "saveColumnState",
|
|
497
520
|
"privacy": "private",
|
|
498
521
|
"return": {
|
|
499
522
|
"type": {
|
|
@@ -501,9 +524,19 @@
|
|
|
501
524
|
}
|
|
502
525
|
}
|
|
503
526
|
},
|
|
527
|
+
{
|
|
528
|
+
"kind": "field",
|
|
529
|
+
"name": "savedColumnState",
|
|
530
|
+
"type": {
|
|
531
|
+
"text": "ColDef[]"
|
|
532
|
+
},
|
|
533
|
+
"description": "Gets the saved grid ColDefs from local storage",
|
|
534
|
+
"privacy": "public",
|
|
535
|
+
"readonly": true
|
|
536
|
+
},
|
|
504
537
|
{
|
|
505
538
|
"kind": "method",
|
|
506
|
-
"name": "
|
|
539
|
+
"name": "restoreColumnState",
|
|
507
540
|
"privacy": "private",
|
|
508
541
|
"return": {
|
|
509
542
|
"type": {
|
|
@@ -513,7 +546,11 @@
|
|
|
513
546
|
},
|
|
514
547
|
{
|
|
515
548
|
"kind": "field",
|
|
516
|
-
"name": "gridOptions"
|
|
549
|
+
"name": "gridOptions",
|
|
550
|
+
"type": {
|
|
551
|
+
"text": "GridOptions"
|
|
552
|
+
},
|
|
553
|
+
"privacy": "public"
|
|
517
554
|
},
|
|
518
555
|
{
|
|
519
556
|
"kind": "method",
|
|
@@ -859,7 +896,9 @@
|
|
|
859
896
|
"type": {
|
|
860
897
|
"text": "ShadowRootInit"
|
|
861
898
|
},
|
|
862
|
-
"default": "undefined"
|
|
899
|
+
"default": "undefined",
|
|
900
|
+
"description": "GridPro shadow root options.",
|
|
901
|
+
"privacy": "public"
|
|
863
902
|
},
|
|
864
903
|
{
|
|
865
904
|
"kind": "variable",
|
|
@@ -867,16 +906,26 @@
|
|
|
867
906
|
"type": {
|
|
868
907
|
"text": "object"
|
|
869
908
|
},
|
|
870
|
-
"default": "{\n shadowOptions: undefined,\n}"
|
|
909
|
+
"default": "{\n shadowOptions: undefined,\n}",
|
|
910
|
+
"description": "Grid Pro default configuration.",
|
|
911
|
+
"privacy": "public"
|
|
871
912
|
},
|
|
872
913
|
{
|
|
873
914
|
"kind": "variable",
|
|
874
915
|
"name": "foundationGridPro",
|
|
875
|
-
"description": "
|
|
916
|
+
"description": "A function that returns a Foundation Grid Pro registration for configuring the component with a DesignSystem.",
|
|
876
917
|
"privacy": "public"
|
|
877
918
|
}
|
|
878
919
|
],
|
|
879
920
|
"exports": [
|
|
921
|
+
{
|
|
922
|
+
"kind": "js",
|
|
923
|
+
"name": "hypenateAndLowercase",
|
|
924
|
+
"declaration": {
|
|
925
|
+
"name": "hypenateAndLowercase",
|
|
926
|
+
"module": "src/grid-pro.ts"
|
|
927
|
+
}
|
|
928
|
+
},
|
|
880
929
|
{
|
|
881
930
|
"kind": "js",
|
|
882
931
|
"name": "GridPro",
|
|
@@ -1660,7 +1709,7 @@
|
|
|
1660
1709
|
{
|
|
1661
1710
|
"kind": "variable",
|
|
1662
1711
|
"name": "foundationGridProActionRenderer",
|
|
1663
|
-
"description": "
|
|
1712
|
+
"description": "A function that returns a Foundation Action Renderer for configuring the component with a DesignSystem.",
|
|
1664
1713
|
"privacy": "public"
|
|
1665
1714
|
}
|
|
1666
1715
|
],
|
|
@@ -1874,7 +1923,7 @@
|
|
|
1874
1923
|
{
|
|
1875
1924
|
"kind": "variable",
|
|
1876
1925
|
"name": "foundationGridProActionsMenuRenderer",
|
|
1877
|
-
"description": "
|
|
1926
|
+
"description": "A function that returns a Foundation Actions Menu for configuring the component with a DesignSystem.",
|
|
1878
1927
|
"privacy": "public"
|
|
1879
1928
|
},
|
|
1880
1929
|
{
|
|
@@ -2162,7 +2211,7 @@
|
|
|
2162
2211
|
{
|
|
2163
2212
|
"kind": "variable",
|
|
2164
2213
|
"name": "foundationAgBooleanRenderer",
|
|
2165
|
-
"description": "
|
|
2214
|
+
"description": "A function that returns a Foundation Boolean Renderer registration for configuring the component with a DesignSystem.",
|
|
2166
2215
|
"privacy": "public"
|
|
2167
2216
|
}
|
|
2168
2217
|
],
|
|
@@ -2487,7 +2536,7 @@
|
|
|
2487
2536
|
{
|
|
2488
2537
|
"kind": "variable",
|
|
2489
2538
|
"name": "foundationAgSelectRenderer",
|
|
2490
|
-
"description": "
|
|
2539
|
+
"description": "A function that returns a Foundation Select Renderer registration for configuring the component with a DesignSystem.",
|
|
2491
2540
|
"privacy": "public"
|
|
2492
2541
|
}
|
|
2493
2542
|
],
|
|
@@ -2759,7 +2808,7 @@
|
|
|
2759
2808
|
{
|
|
2760
2809
|
"kind": "variable",
|
|
2761
2810
|
"name": "foundationAgTextFieldRenderer",
|
|
2762
|
-
"description": "
|
|
2811
|
+
"description": "A function that returns a Foundation Text Field Renderer registration for configuring the component with a DesignSystem.",
|
|
2763
2812
|
"privacy": "public"
|
|
2764
2813
|
}
|
|
2765
2814
|
],
|
|
@@ -3053,7 +3102,7 @@
|
|
|
3053
3102
|
{
|
|
3054
3103
|
"kind": "variable",
|
|
3055
3104
|
"name": "foundationAgTextRenderer",
|
|
3056
|
-
"description": "
|
|
3105
|
+
"description": "A function that returns a Foundation Text Renderer registration for configuring the component with a DesignSystem.",
|
|
3057
3106
|
"privacy": "public",
|
|
3058
3107
|
"deprecated": "- Use foundationAgTextFieldRenderer instead"
|
|
3059
3108
|
}
|
|
@@ -3594,7 +3643,7 @@
|
|
|
3594
3643
|
"declarations": [
|
|
3595
3644
|
{
|
|
3596
3645
|
"kind": "class",
|
|
3597
|
-
"description": "",
|
|
3646
|
+
"description": "The IServerSideDatasource implementation, used for SSRM (Server-Side Row Model) in the grid.",
|
|
3598
3647
|
"name": "StreamDatasource",
|
|
3599
3648
|
"members": [
|
|
3600
3649
|
{
|
|
@@ -3818,7 +3867,7 @@
|
|
|
3818
3867
|
},
|
|
3819
3868
|
{
|
|
3820
3869
|
"kind": "class",
|
|
3821
|
-
"description": "",
|
|
3870
|
+
"description": "The Genesis Datasource (Next) element, for SSRM-compatible data fetching and used exclusively by the GridPro element.",
|
|
3822
3871
|
"name": "GridProGenesisDatasourceNext",
|
|
3823
3872
|
"members": [
|
|
3824
3873
|
{
|
|
@@ -4307,7 +4356,7 @@
|
|
|
4307
4356
|
"declarations": [
|
|
4308
4357
|
{
|
|
4309
4358
|
"kind": "class",
|
|
4310
|
-
"description": "",
|
|
4359
|
+
"description": "The Genesis Datasource element, for CSRM-compatible data fetching and used exclusively by the GridPro element.",
|
|
4311
4360
|
"name": "GridProGenesisDatasource",
|
|
4312
4361
|
"members": [
|
|
4313
4362
|
{
|
|
@@ -4547,22 +4596,28 @@
|
|
|
4547
4596
|
},
|
|
4548
4597
|
{
|
|
4549
4598
|
"kind": "method",
|
|
4550
|
-
"name": "init"
|
|
4599
|
+
"name": "init",
|
|
4600
|
+
"description": "Initializes the datasource.",
|
|
4601
|
+
"privacy": "public"
|
|
4551
4602
|
},
|
|
4552
4603
|
{
|
|
4553
4604
|
"kind": "method",
|
|
4554
4605
|
"name": "deinit",
|
|
4606
|
+
"description": "Deinitialises the datasource, resetting it to its initial state.",
|
|
4555
4607
|
"privacy": "public"
|
|
4556
4608
|
},
|
|
4557
4609
|
{
|
|
4558
4610
|
"kind": "method",
|
|
4559
4611
|
"name": "reset",
|
|
4560
|
-
"description": "
|
|
4561
|
-
"
|
|
4612
|
+
"description": "Resets the datasource to its initial state.",
|
|
4613
|
+
"privacy": "public",
|
|
4614
|
+
"deprecated": "Use `deinit` instead"
|
|
4562
4615
|
},
|
|
4563
4616
|
{
|
|
4564
4617
|
"kind": "method",
|
|
4565
|
-
"name": "restart"
|
|
4618
|
+
"name": "restart",
|
|
4619
|
+
"description": "Restarts the datasource, uses `deinit` and `init` in sequence.",
|
|
4620
|
+
"privacy": "public"
|
|
4566
4621
|
},
|
|
4567
4622
|
{
|
|
4568
4623
|
"kind": "method",
|
|
@@ -62,7 +62,7 @@ export declare const actionHeightMultiplier: import("@microsoft/fast-foundation"
|
|
|
62
62
|
*/
|
|
63
63
|
export declare const agActionRendererStyles: import("@microsoft/fast-element").ElementStyles;
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* A function that returns a Foundation Action Renderer for configuring the component with a DesignSystem.
|
|
66
66
|
*
|
|
67
67
|
* @public
|
|
68
68
|
* @remarks
|
|
@@ -14,7 +14,7 @@ export declare class ActionsMenuRenderer extends FoundationElement implements IC
|
|
|
14
14
|
refresh(params: ICellRendererParams): boolean;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* A function that returns a Foundation Actions Menu for configuring the component with a DesignSystem.
|
|
18
18
|
*
|
|
19
19
|
* @public
|
|
20
20
|
* @remarks
|
|
@@ -28,7 +28,7 @@ export declare const agBooleanRendererStyles: import("@microsoft/fast-element").
|
|
|
28
28
|
*/
|
|
29
29
|
export declare const getAgBooleanRendererTemplate: (designSystem?: string) => import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* A function that returns a Foundation Boolean Renderer registration for configuring the component with a DesignSystem.
|
|
32
32
|
*
|
|
33
33
|
* @public
|
|
34
34
|
* @remarks
|
|
@@ -37,7 +37,7 @@ export declare const agSelectRendererStyles: import("@microsoft/fast-element").E
|
|
|
37
37
|
*/
|
|
38
38
|
export declare const getSelectRendererTemplate: (designSystem?: string) => import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* A function that returns a Foundation Select Renderer registration for configuring the component with a DesignSystem.
|
|
41
41
|
*
|
|
42
42
|
* @public
|
|
43
43
|
* @remarks
|
|
@@ -38,7 +38,7 @@ export declare const textFieldRendererStyles: import("@microsoft/fast-element").
|
|
|
38
38
|
*/
|
|
39
39
|
export declare const getTextFieldRendererTemplate: (designSystem?: string) => import("@microsoft/fast-element").ViewTemplate<AgTextFieldRenderer, any>;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* A function that returns a Foundation Text Field Renderer registration for configuring the component with a DesignSystem.
|
|
42
42
|
*
|
|
43
43
|
* @public
|
|
44
44
|
* @remarks
|
|
@@ -17,12 +17,12 @@ export declare const textRendererStyles: import("@microsoft/fast-element").Eleme
|
|
|
17
17
|
*/
|
|
18
18
|
export declare const getTextRendererTemplate: (designSystem?: string) => import("@microsoft/fast-element").ViewTemplate<AgTextFieldRenderer, any>;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* A function that returns a Foundation Text Renderer registration for configuring the component with a DesignSystem.
|
|
21
21
|
*
|
|
22
22
|
* @public
|
|
23
|
-
* @deprecated - Use foundationAgTextFieldRenderer instead
|
|
24
23
|
* @remarks
|
|
25
24
|
* HTML Element: \<foundation-grid-text-renderer\>
|
|
25
|
+
* @deprecated - Use foundationAgTextFieldRenderer instead
|
|
26
26
|
*/
|
|
27
27
|
export declare const foundationAgTextRenderer: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
|
|
28
28
|
baseName: string;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { IServerSideDatasource, IServerSideGetRowsParams } from '@ag-grid-community/core';
|
|
2
2
|
import { Connect, FilteredDataServerResult, MetadataDetail, SocketObservable } from '@genesislcap/foundation-comms';
|
|
3
3
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
4
|
+
/**
|
|
5
|
+
* Type definition for configuration options used for streams.
|
|
6
|
+
* @remarks
|
|
7
|
+
* Used by {@link @genesislcap/grid-pro#StreamDatasource} constructor to configure options for the stream.
|
|
8
|
+
* @alpha
|
|
9
|
+
*/
|
|
4
10
|
export type StreamDatasourceOptions = {
|
|
5
11
|
stream: SocketObservable<FilteredDataServerResult>;
|
|
6
12
|
resourceName: string;
|
|
@@ -11,6 +17,10 @@ export type StreamDatasourceOptions = {
|
|
|
11
17
|
maxView?: number;
|
|
12
18
|
pagination?: boolean;
|
|
13
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* The IServerSideDatasource implementation, used for SSRM (Server-Side Row Model) in the grid.
|
|
22
|
+
* @alpha
|
|
23
|
+
*/
|
|
14
24
|
export declare class StreamDatasource implements IServerSideDatasource {
|
|
15
25
|
connect: Connect;
|
|
16
26
|
dataserverStream: SocketObservable<FilteredDataServerResult>;
|
|
@@ -374,6 +384,11 @@ declare const GridProGenesisDatasourceNext_base: (new (...args: any[]) => {
|
|
|
374
384
|
blur(): void;
|
|
375
385
|
focus(options?: FocusOptions): void;
|
|
376
386
|
}) & typeof FoundationElement;
|
|
387
|
+
/**
|
|
388
|
+
* The Genesis Datasource (Next) element, for SSRM-compatible data fetching and used exclusively by the GridPro element.
|
|
389
|
+
* @remarks Intended to be the "next version" of the `grid-pro-genesis-datasource` element, supporting SSRM.
|
|
390
|
+
* @alpha
|
|
391
|
+
*/
|
|
377
392
|
export declare class GridProGenesisDatasourceNext extends GridProGenesisDatasourceNext_base {
|
|
378
393
|
connect: Connect;
|
|
379
394
|
criteria: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro-genesis-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QpB,IAAI;IAyDJ,KAAK;IAOL,OAAO;IAKP,OAAO,KAAK,MAAM,GAEjB;IAED,OAAO,CAAC,YAAY;IAKpB,OAAO,CAAC,kBAAkB;IAU1B,IAAI,MAAM,QA0BT;YAEa,sBAAsB;IAapC,OAAO,CAAC,eAAe;CAgDxB"}
|
|
1
|
+
{"version":3,"file":"grid-pro-genesis-datasource-next.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource-next.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,qBAAqB,EACrB,wBAAwB,EAIzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,OAAO,EAMP,wBAAwB,EAIxB,cAAc,EACd,gBAAgB,EAEjB,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAa/D;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;IACnD,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IACxC,eAAe,CAAC,EAAE,cAAc,EAAE,CAAC;IAEnC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,qBAAa,gBAAiB,YAAW,qBAAqB;IACnD,OAAO,EAAG,OAAO,CAAC;IAE3B,gBAAgB,EAAE,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;IAC7D,OAAO,CAAC,YAAY,CAAS;IAC7B,cAAc,EAAE,GAAG,CAAC;IACpB,OAAO,CAAC,eAAe,CAAwB;IAC/C,OAAO,CAAC,eAAe,CAAmB;IAE1C,OAAO,CAAC,OAAO,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,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IAC3D,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAK3B,UAAU,UAAS;IACnB,OAAO,UAAS;IAE3C,OAAO,CAAC,OAAO,CAAwB;IACvC,OAAO,CAAC,gBAAgB,CAAmB;IAC3C,OAAO,CAAC,gBAAgB,CAAmB;IAE3C,iBAAiB;IAQjB,oBAAoB;IAQpB,IAAI;IAyDJ,KAAK;IAOL,OAAO;IAKP,OAAO,KAAK,MAAM,GAEjB;IAED,OAAO,CAAC,YAAY;IAKpB,OAAO,CAAC,kBAAkB;IAU1B,IAAI,MAAM,QA0BT;YAEa,sBAAsB;IAapC,OAAO,CAAC,eAAe;CAgDxB"}
|
|
@@ -337,6 +337,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
337
337
|
blur(): void;
|
|
338
338
|
focus(options?: FocusOptions): void;
|
|
339
339
|
}) & typeof FoundationElement;
|
|
340
|
+
/**
|
|
341
|
+
* The Genesis Datasource element, for CSRM-compatible data fetching and used exclusively by the GridPro element.
|
|
342
|
+
* @remarks Only supports Client-Side Row Model.
|
|
343
|
+
* @public
|
|
344
|
+
*/
|
|
340
345
|
export declare class GridProGenesisDatasource extends GridProGenesisDatasource_base {
|
|
341
346
|
connect: Connect;
|
|
342
347
|
datasource: Datasource;
|
|
@@ -368,16 +373,27 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
368
373
|
disconnectedCallback(): void;
|
|
369
374
|
deepClone(): Node;
|
|
370
375
|
private get agGrid();
|
|
376
|
+
/**
|
|
377
|
+
* Initializes the datasource.
|
|
378
|
+
* @public
|
|
379
|
+
* @remarks This method is called automatically when the element is connected to the DOM.
|
|
380
|
+
*/
|
|
371
381
|
init(): void;
|
|
372
382
|
/**
|
|
383
|
+
* Deinitialises the datasource, resetting it to its initial state.
|
|
373
384
|
* @public
|
|
374
385
|
*/
|
|
375
386
|
deinit(): void;
|
|
376
387
|
/**
|
|
377
|
-
*
|
|
378
|
-
* @
|
|
388
|
+
* Resets the datasource to its initial state.
|
|
389
|
+
* @public
|
|
390
|
+
* @deprecated Use `deinit` instead
|
|
379
391
|
*/
|
|
380
392
|
reset(): void;
|
|
393
|
+
/**
|
|
394
|
+
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
395
|
+
* @public
|
|
396
|
+
*/
|
|
381
397
|
restart(): void;
|
|
382
398
|
private clearRowData;
|
|
383
399
|
private updateRowData;
|
|
@@ -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,EAAU,WAAW,EAAsB,MAAM,yBAAyB,CAAC;AAClF,OAAO,EACL,OAAO,EAEP,UAAU,EAWX,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiB/D,qBAGa,wBAAyB,SAAQ,6BAAiC;IACpE,OAAO,EAAG,OAAO,CAAC;IACf,UAAU,EAAG,UAAU,CAAC;IAExB,mBAAmB,EAAE,WAAW,CAAC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACgC,U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CAAC,YAAY;IAMpB,OAAO,CAAC,aAAa;YAUP,gBAAgB;IAiD9B,OAAO,CAAC,cAAc;IActB,OAAO,CAAC,iBAAiB;IAezB,OAAO,CAAC,kBAAkB;IAY1B,OAAO,CAAC,sBAAsB;IAmC9B,OAAO,CAAC,mBAAmB;IAqB3B,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,eAAe;IA0CvB,OAAO,CAAC,aAAa;IAMrB,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IASjD,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;CAItC"}
|
package/dist/dts/grid-pro.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { Grid, ColumnApi, GridApi, GridOptions, ColDef } from '@ag-grid-community/core';
|
|
2
2
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
3
3
|
import { GridComponents } from './grid-pro.types';
|
|
4
|
+
/**
|
|
5
|
+
* A function to convert string values from 'camelCase' to 'hypenated-lowercase'.
|
|
6
|
+
* @param value - The value to hypenate and lowercase.
|
|
7
|
+
* @returns The hypenated and lowercased result.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export declare const hypenateAndLowercase: (value: string) => string;
|
|
4
11
|
declare const GridPro_base: (new (...args: any[]) => {
|
|
5
12
|
"__#1@#_container": {
|
|
6
13
|
dragging: boolean;
|
|
@@ -338,6 +345,9 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
338
345
|
focus(options?: FocusOptions): void;
|
|
339
346
|
}) & typeof FoundationElement;
|
|
340
347
|
/**
|
|
348
|
+
* The Grid Pro element.
|
|
349
|
+
* @remarks Grid Pro is a Web Component wrapper around the AG Grid Community library.
|
|
350
|
+
* @public
|
|
341
351
|
* @tagname %%prefix%%-grid-pro
|
|
342
352
|
*/
|
|
343
353
|
export declare class GridPro extends GridPro_base {
|
|
@@ -376,8 +386,8 @@ export declare class GridPro extends GridPro_base {
|
|
|
376
386
|
gridComponents: {
|
|
377
387
|
[componentName: string]: any;
|
|
378
388
|
};
|
|
379
|
-
protected agAttributes:
|
|
380
|
-
protected agPropertiesMap:
|
|
389
|
+
protected agAttributes: Record<string, string>;
|
|
390
|
+
protected agPropertiesMap: Record<string, string>;
|
|
381
391
|
protected agGridOptions: GridOptions;
|
|
382
392
|
protected initialised: boolean;
|
|
383
393
|
private rehydrationAttempted;
|
|
@@ -393,12 +403,23 @@ export declare class GridPro extends GridPro_base {
|
|
|
393
403
|
*/
|
|
394
404
|
private debouncedColumnAutosize;
|
|
395
405
|
/**
|
|
396
|
-
* If {@link @genesislcap/grid-pro#GridPro
|
|
406
|
+
* If {@link @genesislcap/grid-pro#GridPro.gridAutosizingEnabled} is true, will remove the widths from the column states.
|
|
397
407
|
* @internal
|
|
398
408
|
*/
|
|
399
409
|
private removeConfigWidthsToAutosize;
|
|
400
|
-
private
|
|
401
|
-
|
|
410
|
+
private saveColumnState;
|
|
411
|
+
/**
|
|
412
|
+
* Gets the saved grid ColDefs from local storage
|
|
413
|
+
* @remarks This is used to restore the grid state when the grid is rehydrated
|
|
414
|
+
* @privateRemarks Not using `columnApi.get|setColumnState()` for these flows as it doesn't work setting new columnDefs vs different ordering.
|
|
415
|
+
* @public
|
|
416
|
+
*/
|
|
417
|
+
get savedColumnState(): ColDef[];
|
|
418
|
+
private restoreColumnState;
|
|
419
|
+
/**
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
get gridOptions(): GridOptions;
|
|
402
423
|
set gridOptions(options: GridOptions);
|
|
403
424
|
private enableFlashingRows;
|
|
404
425
|
applyTemplateDefinitions(columnDefs?: ColDef[]): ColDef<any>[];
|
|
@@ -409,12 +430,22 @@ export declare class GridPro extends GridPro_base {
|
|
|
409
430
|
private insertFontFace;
|
|
410
431
|
private destroyFontFace;
|
|
411
432
|
}
|
|
433
|
+
/**
|
|
434
|
+
* GridPro shadow root options.
|
|
435
|
+
* @public
|
|
436
|
+
* @remarks
|
|
437
|
+
* For extensibility, this can be used to set the shadow root mode and delegatesFocus
|
|
438
|
+
*/
|
|
412
439
|
export declare const foundationGridProShadowOptions: ShadowRootInit;
|
|
440
|
+
/**
|
|
441
|
+
* Grid Pro default configuration.
|
|
442
|
+
* @public
|
|
443
|
+
*/
|
|
413
444
|
export declare const defaultGridProConfig: {
|
|
414
445
|
shadowOptions: any;
|
|
415
446
|
};
|
|
416
447
|
/**
|
|
417
|
-
*
|
|
448
|
+
* A function that returns a Foundation Grid Pro registration for configuring the component with a DesignSystem.
|
|
418
449
|
*
|
|
419
450
|
* @public
|
|
420
451
|
* @remarks
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"AACA,OAAO,EACL,IAAI,EACJ,SAAS,EACT,OAAO,EAEP,WAAW,EACX,MAAM,
|
|
1
|
+
{"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"AACA,OAAO,EACL,IAAI,EACJ,SAAS,EACT,OAAO,EAEP,WAAW,EACX,MAAM,EAIP,MAAM,yBAAyB,CAAC;AASjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAc/D,OAAO,EAKL,cAAc,EACf,MAAM,kBAAkB,CAAC;AAS1B;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,UAAW,MAAM,WACO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAO,CAAC,oBAAoB,CAAS;;IAarC,iBAAiB,IAAI,IAAI;IAyBzB,oBAAoB,IAAI,IAAI;IAQ5B,wBAAwB,CAAC,qBAAqB,EAAE,cAAc,GAAG,cAAc;IAc/E,uBAAuB,IAAI,OAAO;IAOlC;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAW/B;;;OAGG;IACH,OAAO,CAAC,4BAA4B;IAIpC,OAAO,CAAC,eAAe;IAgBvB;;;;;OAKG;IACH,IAAI,gBAAgB,IAAI,MAAM,EAAE,CAW/B;IAED,OAAO,CAAC,kBAAkB;IAQ1B;;OAEG;IACH,IAAI,WAAW,IAAI,WAAW,CAE7B;IAED,IAAI,WAAW,CAAC,OAAO,EAAE,WAAW,EA0EnC;IAED,OAAO,CAAC,kBAAkB;IAiB1B,wBAAwB,CAAC,UAAU,GAAE,MAAM,EAAO;IAgClD,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"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { SwatchRGB } from '@microsoft/fast-components';
|
|
2
2
|
/**
|
|
3
3
|
* The background color swatch.
|
|
4
|
-
* @deprecated - only used in the deprecated ag-theme-material theme
|
|
5
4
|
* @internal
|
|
5
|
+
* @deprecated - only used in the deprecated ag-theme-material theme
|
|
6
6
|
*/
|
|
7
7
|
export declare const backgroundSwatch: SwatchRGB;
|
|
8
8
|
/**
|
|
9
9
|
* The foreground color swatch.
|
|
10
|
-
* @deprecated - only used in the deprecated ag-theme-material theme
|
|
11
10
|
* @internal
|
|
11
|
+
* @deprecated - only used in the deprecated ag-theme-material theme
|
|
12
12
|
*/
|
|
13
13
|
export declare const foregroundSwatch: SwatchRGB;
|
|
14
14
|
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -25,7 +25,7 @@ __decorate([
|
|
|
25
25
|
observable
|
|
26
26
|
], ActionsMenuRenderer.prototype, "params", void 0);
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* A function that returns a Foundation Actions Menu for configuring the component with a DesignSystem.
|
|
29
29
|
*
|
|
30
30
|
* @public
|
|
31
31
|
* @remarks
|
|
@@ -51,7 +51,7 @@ export const getAgBooleanRendererTemplate = (designSystem = 'foundation') => {
|
|
|
51
51
|
`;
|
|
52
52
|
};
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* A function that returns a Foundation Boolean Renderer registration for configuring the component with a DesignSystem.
|
|
55
55
|
*
|
|
56
56
|
* @public
|
|
57
57
|
* @remarks
|
|
@@ -78,7 +78,7 @@ export const getSelectRendererTemplate = (designSystem = 'foundation') => {
|
|
|
78
78
|
`;
|
|
79
79
|
};
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* A function that returns a Foundation Select Renderer registration for configuring the component with a DesignSystem.
|
|
82
82
|
*
|
|
83
83
|
* @public
|
|
84
84
|
* @remarks
|
|
@@ -81,7 +81,7 @@ export const getTextFieldRendererTemplate = (designSystem = 'foundation') => {
|
|
|
81
81
|
`;
|
|
82
82
|
};
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* A function that returns a Foundation Text Field Renderer registration for configuring the component with a DesignSystem.
|
|
85
85
|
*
|
|
86
86
|
* @public
|
|
87
87
|
* @remarks
|
|
@@ -18,12 +18,12 @@ export const textRendererStyles = textFieldRendererStyles;
|
|
|
18
18
|
*/
|
|
19
19
|
export const getTextRendererTemplate = getTextFieldRendererTemplate;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* A function that returns a Foundation Text Renderer registration for configuring the component with a DesignSystem.
|
|
22
22
|
*
|
|
23
23
|
* @public
|
|
24
|
-
* @deprecated - Use foundationAgTextFieldRenderer instead
|
|
25
24
|
* @remarks
|
|
26
25
|
* HTML Element: \<foundation-grid-text-renderer\>
|
|
26
|
+
* @deprecated - Use foundationAgTextFieldRenderer instead
|
|
27
27
|
*/
|
|
28
28
|
export const foundationAgTextRenderer = AgTextRenderer.compose({
|
|
29
29
|
baseName: 'grid-text-renderer',
|
|
@@ -7,6 +7,10 @@ import { take } from 'rxjs/operators';
|
|
|
7
7
|
import { dateTimeValueFormatter, dateValueFormatter, getColumnType, getFilterByFieldType, getFilterParamsByFieldType, } from '../grid-pro.definitions';
|
|
8
8
|
import { GridProRendererTypes } from '../grid-pro.types';
|
|
9
9
|
import { logger } from '../utils';
|
|
10
|
+
/**
|
|
11
|
+
* The IServerSideDatasource implementation, used for SSRM (Server-Side Row Model) in the grid.
|
|
12
|
+
* @alpha
|
|
13
|
+
*/
|
|
10
14
|
export class StreamDatasource {
|
|
11
15
|
constructor(options) {
|
|
12
16
|
this.rowCount = 0;
|
|
@@ -164,6 +168,11 @@ export class StreamDatasource {
|
|
|
164
168
|
__decorate([
|
|
165
169
|
Connect
|
|
166
170
|
], StreamDatasource.prototype, "connect", void 0);
|
|
171
|
+
/**
|
|
172
|
+
* The Genesis Datasource (Next) element, for SSRM-compatible data fetching and used exclusively by the GridPro element.
|
|
173
|
+
* @remarks Intended to be the "next version" of the `grid-pro-genesis-datasource` element, supporting SSRM.
|
|
174
|
+
* @alpha
|
|
175
|
+
*/
|
|
167
176
|
let GridProGenesisDatasourceNext = class GridProGenesisDatasourceNext extends LifecycleMixin(FoundationElement) {
|
|
168
177
|
constructor() {
|
|
169
178
|
super(...arguments);
|