@genesislcap/grid-pro 14.285.0 → 14.286.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/README.md +2 -1
- package/dist/custom-elements.json +142 -5
- package/dist/dts/datasource/base.datasource.d.ts +4 -1
- package/dist/dts/datasource/base.datasource.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.datasource.d.ts +20 -3
- package/dist/dts/datasource/server-side.datasource.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.grid-definitions.d.ts +1 -1
- package/dist/dts/datasource/server-side.resource-base.d.ts +6 -0
- package/dist/dts/datasource/server-side.resource-base.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.resource-dataserver.d.ts +1 -1
- package/dist/dts/datasource/server-side.resource-dataserver.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.resource-reqrep.d.ts +1 -1
- package/dist/dts/grid-pro.d.ts +14 -2
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/dts/grid-pro.styles.d.ts.map +1 -1
- package/dist/dts/status-bar-components/pagination.status-bar.d.ts +1 -1
- package/dist/dts/status-bar-components/pagination.status-bar.d.ts.map +1 -1
- package/dist/esm/datasource/base.datasource.js +2 -1
- package/dist/esm/datasource/server-side.datasource.js +102 -16
- package/dist/esm/datasource/server-side.grid-definitions.js +1 -1
- package/dist/esm/datasource/server-side.resource-base.js +7 -1
- package/dist/esm/datasource/server-side.resource-dataserver.js +3 -2
- package/dist/esm/datasource/server-side.resource-reqrep.js +1 -1
- package/dist/esm/grid-pro.js +74 -41
- package/dist/esm/grid-pro.styles.js +15 -0
- package/dist/esm/status-bar-components/pagination.status-bar.js +16 -12
- package/dist/grid-pro.api.json +862 -1
- package/dist/grid-pro.d.ts +38 -7
- package/docs/api/grid-pro.gridpro.isserverside.md +12 -0
- package/docs/api/grid-pro.gridpro.md +1 -0
- package/docs/api/grid-pro.gridpro.paginationpagesize.md +5 -1
- package/docs/api/grid-pro.gridproserversidedatasource.applyasyncfuncname.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.applyfuncname.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.applytransaction.md +25 -0
- package/docs/api/grid-pro.gridproserversidedatasource.applytransactionasync.md +26 -0
- package/docs/api/grid-pro.gridproserversidedatasource.connectedcallback.md +18 -0
- package/docs/api/grid-pro.gridproserversidedatasource.criteriachanged.md +26 -0
- package/docs/api/grid-pro.gridproserversidedatasource.deepclone.md +18 -0
- package/docs/api/grid-pro.gridproserversidedatasource.destroy.md +18 -0
- package/docs/api/grid-pro.gridproserversidedatasource.disconnectedcallback.md +18 -0
- package/docs/api/grid-pro.gridproserversidedatasource.init.md +18 -0
- package/docs/api/grid-pro.gridproserversidedatasource.liveupdates.md +21 -0
- package/docs/api/grid-pro.gridproserversidedatasource.loadmore.md +18 -0
- package/docs/api/grid-pro.gridproserversidedatasource.md +54 -0
- package/docs/api/grid-pro.gridproserversidedatasource.onpaginationchanged.md +25 -0
- package/docs/api/grid-pro.gridproserversidedatasource.params.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.reloadresourcedata.md +31 -0
- package/docs/api/grid-pro.gridproserversidedatasource.request.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.resourcenamechanged.md +26 -0
- package/docs/api/grid-pro.gridproserversidedatasource.restart.md +18 -0
- package/docs/api/grid-pro.gridproserversidedatasource.rowmodel.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.zerobasedviewnumber.md +21 -0
- package/docs/api/grid-pro.md +1 -0
- package/docs/api-report.md +5 -4
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -538,8 +538,9 @@ This document outlines the available features of our two "Grid Pro" datasources:
|
|
|
538
538
|
|
|
539
539
|
- **Sorting**: Order by any INDEX column/field, ASC or DESC.
|
|
540
540
|
- This is a server limitation. For each column that needs to have "sorting" the developer will need to have an INDEX for it. See more about [Genesis database indexes](https://learn.genesis.global/docs/database/data-types/index-entities/).
|
|
541
|
-
- By default, sorting is disabled on ALL columns… BUT if we detect valid
|
|
541
|
+
- By default, sorting is disabled on ALL columns… BUT if we detect valid `indexes` from the metadata those column/fields will be setup to have sorting.
|
|
542
542
|
- If the user attempts to force `sortable` we'll check if it's really ok to do that + warn in the logs about it + try to mention other available indexes.. if any at all.
|
|
543
|
+
- **Custom Sort Indicators**: Server-side datasources automatically display always-visible sort indicators on sortable columns, providing better visual feedback about which columns can be sorted even when not currently sorted.
|
|
543
544
|
- **Filtering**:
|
|
544
545
|
- Filtering options are automatically generated, based on the resource's metadata.
|
|
545
546
|
- String filters
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
"type": {
|
|
227
227
|
"text": "ElementStyles"
|
|
228
228
|
},
|
|
229
|
-
"default": "css`\n ${agExternalStockStyles}\n :host {\n --datasource-error-background-color: var(--neutral-layer-4);\n --datasource-error-background-opacity: 0.5;\n --datasource-error-dialog-max-width: 50%;\n --datasource-error-dialog-min-width: auto;\n --ag-status-bar-height: 32.5px;\n\n position: relative;\n width: 100%;\n height: 100%;\n }\n\n :host([ds-disconnected]) {\n display: block;\n }\n\n :host([ds-disconnected])::part(grid) {\n cursor: not-allowed;\n opacity: 40%;\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 --dialog-min-width: var(--datasource-error-dialog-min-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\n .error {\n border-color: var(--error-color) !important;\n }\n\n .ag-status-bar {\n height: var(--ag-status-bar-height);\n }\n\n .ag-status-name-value {\n padding-top: var(--ag-grid-size);\n padding-bottom: var(--ag-grid-size);\n }\n`",
|
|
229
|
+
"default": "css`\n ${agExternalStockStyles}\n :host {\n --datasource-error-background-color: var(--neutral-layer-4);\n --datasource-error-background-opacity: 0.5;\n --datasource-error-dialog-max-width: 50%;\n --datasource-error-dialog-min-width: auto;\n --ag-status-bar-height: 32.5px;\n\n position: relative;\n width: 100%;\n height: 100%;\n }\n\n :host([ds-disconnected]) {\n display: block;\n }\n\n :host([ds-disconnected])::part(grid) {\n cursor: not-allowed;\n opacity: 40%;\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 --dialog-min-width: var(--datasource-error-dialog-min-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\n .error {\n border-color: var(--error-color) !important;\n }\n\n .ag-status-bar {\n height: var(--ag-status-bar-height);\n }\n\n .ag-status-name-value {\n padding-top: var(--ag-grid-size);\n padding-bottom: var(--ag-grid-size);\n }\n\n /* Custom styling for the unsort icon (sortNone) - only for sortable columns */\n .ag-header-cell.ag-header-cell-sortable .ag-icon-none {\n opacity: 100%;\n color: var(--rapid-ag-header-foreground-color, var(--ag-foreground-color, #fff));\n font-size: calc(var(--ag-icon-size, 12px) * 1.2);\n font-weight: bold;\n }\n\n .ag-header-cell.ag-header-cell-sortable:hover .ag-icon-none {\n opacity: 100%;\n color: var(--rapid-ag-header-foreground-color, var(--ag-foreground-color, #fff));\n transform: scale(1.1);\n transition: transform 0.2s ease;\n }\n`",
|
|
230
230
|
"description": "The Grid Pro styles.",
|
|
231
231
|
"privacy": "public"
|
|
232
232
|
}
|
|
@@ -563,6 +563,9 @@
|
|
|
563
563
|
{
|
|
564
564
|
"kind": "field",
|
|
565
565
|
"name": "paginationPageSize",
|
|
566
|
+
"type": {
|
|
567
|
+
"text": "number"
|
|
568
|
+
},
|
|
566
569
|
"description": "Number of rows per page when pagination is enabled."
|
|
567
570
|
},
|
|
568
571
|
{
|
|
@@ -839,6 +842,15 @@
|
|
|
839
842
|
},
|
|
840
843
|
"privacy": "public"
|
|
841
844
|
},
|
|
845
|
+
{
|
|
846
|
+
"kind": "field",
|
|
847
|
+
"name": "isServerSide",
|
|
848
|
+
"type": {
|
|
849
|
+
"text": "boolean"
|
|
850
|
+
},
|
|
851
|
+
"privacy": "public",
|
|
852
|
+
"readonly": true
|
|
853
|
+
},
|
|
842
854
|
{
|
|
843
855
|
"kind": "field",
|
|
844
856
|
"name": "gridParams",
|
|
@@ -932,6 +944,120 @@
|
|
|
932
944
|
}
|
|
933
945
|
}
|
|
934
946
|
},
|
|
947
|
+
{
|
|
948
|
+
"kind": "method",
|
|
949
|
+
"name": "panelExists",
|
|
950
|
+
"privacy": "private",
|
|
951
|
+
"return": {
|
|
952
|
+
"type": {
|
|
953
|
+
"text": "boolean"
|
|
954
|
+
}
|
|
955
|
+
},
|
|
956
|
+
"parameters": [
|
|
957
|
+
{
|
|
958
|
+
"name": "statusPanelType",
|
|
959
|
+
"type": {
|
|
960
|
+
"text": "string"
|
|
961
|
+
}
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"name": "panels",
|
|
965
|
+
"type": {
|
|
966
|
+
"text": "any[]"
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
]
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"kind": "method",
|
|
973
|
+
"name": "addRowCountPanel",
|
|
974
|
+
"privacy": "private",
|
|
975
|
+
"return": {
|
|
976
|
+
"type": {
|
|
977
|
+
"text": "void"
|
|
978
|
+
}
|
|
979
|
+
},
|
|
980
|
+
"parameters": [
|
|
981
|
+
{
|
|
982
|
+
"name": "statusPanels",
|
|
983
|
+
"type": {
|
|
984
|
+
"text": "any[]"
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
]
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
"kind": "method",
|
|
991
|
+
"name": "addMaxRowsPanel",
|
|
992
|
+
"privacy": "private",
|
|
993
|
+
"return": {
|
|
994
|
+
"type": {
|
|
995
|
+
"text": "void"
|
|
996
|
+
}
|
|
997
|
+
},
|
|
998
|
+
"parameters": [
|
|
999
|
+
{
|
|
1000
|
+
"name": "statusPanels",
|
|
1001
|
+
"type": {
|
|
1002
|
+
"text": "any[]"
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
]
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"kind": "method",
|
|
1009
|
+
"name": "addAggregationPanel",
|
|
1010
|
+
"privacy": "private",
|
|
1011
|
+
"return": {
|
|
1012
|
+
"type": {
|
|
1013
|
+
"text": "void"
|
|
1014
|
+
}
|
|
1015
|
+
},
|
|
1016
|
+
"parameters": [
|
|
1017
|
+
{
|
|
1018
|
+
"name": "statusPanels",
|
|
1019
|
+
"type": {
|
|
1020
|
+
"text": "any[]"
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
]
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"kind": "method",
|
|
1027
|
+
"name": "addDatasourcePanels",
|
|
1028
|
+
"privacy": "private",
|
|
1029
|
+
"return": {
|
|
1030
|
+
"type": {
|
|
1031
|
+
"text": "void"
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
1034
|
+
"parameters": [
|
|
1035
|
+
{
|
|
1036
|
+
"name": "statusPanels",
|
|
1037
|
+
"type": {
|
|
1038
|
+
"text": "any[]"
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
]
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
"kind": "method",
|
|
1045
|
+
"name": "addPaginationPanel",
|
|
1046
|
+
"privacy": "private",
|
|
1047
|
+
"return": {
|
|
1048
|
+
"type": {
|
|
1049
|
+
"text": "void"
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
"parameters": [
|
|
1053
|
+
{
|
|
1054
|
+
"name": "statusPanels",
|
|
1055
|
+
"type": {
|
|
1056
|
+
"text": "any[]"
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
]
|
|
1060
|
+
},
|
|
935
1061
|
{
|
|
936
1062
|
"kind": "method",
|
|
937
1063
|
"name": "setupPaginationAndStatusBar",
|
|
@@ -1346,6 +1472,9 @@
|
|
|
1346
1472
|
},
|
|
1347
1473
|
{
|
|
1348
1474
|
"name": "pagination-page-size",
|
|
1475
|
+
"type": {
|
|
1476
|
+
"text": "number"
|
|
1477
|
+
},
|
|
1349
1478
|
"description": "Number of rows per page when pagination is enabled.",
|
|
1350
1479
|
"fieldName": "paginationPageSize"
|
|
1351
1480
|
},
|
|
@@ -9369,6 +9498,15 @@
|
|
|
9369
9498
|
},
|
|
9370
9499
|
"privacy": "private"
|
|
9371
9500
|
},
|
|
9501
|
+
{
|
|
9502
|
+
"kind": "field",
|
|
9503
|
+
"name": "sortIndicatorCSSDestroy",
|
|
9504
|
+
"type": {
|
|
9505
|
+
"text": "(() => void) | null"
|
|
9506
|
+
},
|
|
9507
|
+
"privacy": "private",
|
|
9508
|
+
"default": "null"
|
|
9509
|
+
},
|
|
9372
9510
|
{
|
|
9373
9511
|
"kind": "method",
|
|
9374
9512
|
"name": "resourceNameChanged",
|
|
@@ -9421,7 +9559,6 @@
|
|
|
9421
9559
|
{
|
|
9422
9560
|
"kind": "method",
|
|
9423
9561
|
"name": "reloadResourceData",
|
|
9424
|
-
"privacy": "public",
|
|
9425
9562
|
"return": {
|
|
9426
9563
|
"type": {
|
|
9427
9564
|
"text": "Promise<void>"
|
|
@@ -9432,7 +9569,7 @@
|
|
|
9432
9569
|
"name": "params",
|
|
9433
9570
|
"optional": true,
|
|
9434
9571
|
"type": {
|
|
9435
|
-
"text": "
|
|
9572
|
+
"text": "DatasourceOptions"
|
|
9436
9573
|
}
|
|
9437
9574
|
}
|
|
9438
9575
|
],
|
|
@@ -10679,7 +10816,7 @@
|
|
|
10679
10816
|
"declarations": [
|
|
10680
10817
|
{
|
|
10681
10818
|
"kind": "class",
|
|
10682
|
-
"description": "",
|
|
10819
|
+
"description": "Base class for server-side resource datasources used in Grid Pro SSRM implementations.\nProvides common logic for filtering, sorting, and pagination.",
|
|
10683
10820
|
"name": "BaseServerSideDatasource",
|
|
10684
10821
|
"members": [
|
|
10685
10822
|
{
|
|
@@ -14505,7 +14642,7 @@
|
|
|
14505
14642
|
"members": [
|
|
14506
14643
|
{
|
|
14507
14644
|
"kind": "field",
|
|
14508
|
-
"name": "
|
|
14645
|
+
"name": "element",
|
|
14509
14646
|
"type": {
|
|
14510
14647
|
"text": "HTMLElement"
|
|
14511
14648
|
},
|
|
@@ -273,7 +273,10 @@ declare const GenesisGridDatasourceElement_base: new () => {
|
|
|
273
273
|
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
274
274
|
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
275
275
|
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
276
|
-
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
276
|
+
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any; /**
|
|
277
|
+
* Helper function to extract configuration for status bar actions
|
|
278
|
+
* @internal
|
|
279
|
+
*/
|
|
277
280
|
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
278
281
|
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
279
282
|
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/base.datasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,UAAU,EAGV,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EAKd,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAGxD,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAU3C;;;GAGG;AACH,eAAO,MAAM,iBAAiB,MAAM,CAAC;AACrC;;;GAGG;AACH,eAAO,MAAM,YAAY,SAAS,CAAC;;;;;;;;;;;;;qBAkCjC;;;;OAIG
|
|
1
|
+
{"version":3,"file":"base.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/base.datasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,UAAU,EAGV,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EAKd,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAGxD,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAU3C;;;GAGG;AACH,eAAO,MAAM,iBAAiB,MAAM,CAAC;AACrC;;;GAGG;AACH,eAAO,MAAM,YAAY,SAAS,CAAC;;;;;;;;;;;;;qBAkCjC;;;;OAIG;;;;;;;;;;;;;;;;;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C,aAAa,EAAE,kBAAkB,GAAG,GAAG;IAIlE,SAAS,CAAC,qBAAqB,CAAC,aAAa,EAAE,kBAAkB,EAAE,QAAQ,CAAC,EAAE,CAAC,GAAG,KAAA,KAAK,IAAI;IAI3F;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAyBtB,SAAS,KAAK,UAAU,IAAI,OAAO,CAGlC;IAED,QAAQ;IAIR,OAAO;IAIP,kBAAkB;IAIlB,OAAO;IAIP;;;OAGG;IACH,SAAS,CAAC,wBAAwB,CAAC,CAAC,EAAE,WAAW,EAAE,OAAO,GAAG,CAAC,GAAG,SAAS,GAAG;QAC3E,OAAO,EAAE,OAAO,CAAC;QACjB,MAAM,CAAC,EAAE,CAAC,CAAC;KACZ;IAaD;;;;OAIG;IACI,4BAA4B,CAAC,YAAY,EAAE,OAAO,GAAG,GAAG,EAAE;CAiElE"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { RowDataTransaction } from '@ag-grid-community/core';
|
|
2
2
|
import { IServerSideRowModel, PaginationChangedEvent, ServerSideTransactionResult } from '@ag-grid-community/core';
|
|
3
|
+
import { DatasourceOptions } from '@genesislcap/foundation-comms';
|
|
3
4
|
import { GridProBaseDatasource } from './base.datasource';
|
|
4
5
|
declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
5
6
|
"__#1@#_container": import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
@@ -329,7 +330,12 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
|
329
330
|
/**
|
|
330
331
|
* A Genesis Datasource element, for server-side | SSRM-compatible data fetching and used exclusively by the GridPro element.
|
|
331
332
|
* @remarks Only supports Server-Side Row Model. Requires `@ag-grid-enterprise/server-side-row-model` setup and valid AG Grid Enterprise license.
|
|
332
|
-
*
|
|
333
|
+
*
|
|
334
|
+
* **Custom Sort Indicators**: This datasource automatically applies custom sort indicators that are always visible (instead of only on hover).
|
|
335
|
+
* Sortable columns will show a subtle sort icon even when not sorted, and active sort indicators will be more prominent.
|
|
336
|
+
* The custom styling uses AG Grid's native icon font for consistency with the grid theme.
|
|
337
|
+
*
|
|
338
|
+
* @beta
|
|
333
339
|
*/
|
|
334
340
|
export declare class GridProServerSideDatasource extends GridProServerSideDatasource_base {
|
|
335
341
|
applyFuncName: string;
|
|
@@ -348,6 +354,7 @@ export declare class GridProServerSideDatasource extends GridProServerSideDataso
|
|
|
348
354
|
private indexes;
|
|
349
355
|
private ssrmDatasource;
|
|
350
356
|
private liveUpdatesStream;
|
|
357
|
+
private sortIndicatorCSSDestroy;
|
|
351
358
|
resourceNameChanged(oldValue: string, newValue: string): void;
|
|
352
359
|
criteriaChanged(oldCriteria: string, newCriteria: string): void;
|
|
353
360
|
connectedCallback(): void;
|
|
@@ -356,9 +363,19 @@ export declare class GridProServerSideDatasource extends GridProServerSideDataso
|
|
|
356
363
|
/**
|
|
357
364
|
* Resets the grid data while keeping columnDefs and reloads data.
|
|
358
365
|
* @remarks This is used when the grid is already initialized and we want to reload the data due to a criteria/filter change.
|
|
359
|
-
* @
|
|
366
|
+
* @beta
|
|
360
367
|
*/
|
|
361
|
-
reloadResourceData(params?:
|
|
368
|
+
reloadResourceData(params?: DatasourceOptions): Promise<void>;
|
|
369
|
+
/**
|
|
370
|
+
* Applies custom sort indicator styling for server-side datasource
|
|
371
|
+
* @internal
|
|
372
|
+
*/
|
|
373
|
+
private applyServerSideSortIndicatorStyling;
|
|
374
|
+
/**
|
|
375
|
+
* Removes custom sort indicator styling
|
|
376
|
+
* @internal
|
|
377
|
+
*/
|
|
378
|
+
private removeServerSideSortIndicatorStyling;
|
|
362
379
|
init(): Promise<void>;
|
|
363
380
|
onPaginationChanged(event: PaginationChangedEvent): void;
|
|
364
381
|
destroy(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.datasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAuB,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACvF,OAAO,EAGL,mBAAmB,EACnB,sBAAsB,EACtB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"server-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.datasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAuB,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACvF,OAAO,EAGL,mBAAmB,EACnB,sBAAsB,EACtB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,iBAAiB,EAWlB,MAAM,+BAA+B,CAAC;AAKvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsD1D;;;;;;;;;GASG;AACH,qBAGa,2BAA4B,SAAQ,gCAAqC;IACpF,aAAa,SAAgC;IAC7C,kBAAkB,SAAqC;IAEvD;;;OAGG;IAC6D,mBAAmB,UAAS;IAE5F;;;OAGG;IACmD,WAAW,UAAS;IAE9D,OAAO,EAAE,GAAG,CAAM;IAE9B,OAAO,CAAC,OAAO,CAAwB;IACvC,OAAO,CAAC,cAAc,CAA8D;IACpF,OAAO,CAAC,iBAAiB,CAAqB;IAC9C,OAAO,CAAC,uBAAuB,CAA6B;IAE5D,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAOtD,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAWxD,iBAAiB;IASjB,oBAAoB;IASX,SAAS,IAAI,IAAI;IAO1B;;;;OAIG;IACG,kBAAkB,CAAC,MAAM,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAkCnE;;;OAGG;IACH,OAAO,CAAC,mCAAmC;IAoB3C;;;OAGG;IACH,OAAO,CAAC,oCAAoC;IActC,IAAI;IAqGV,mBAAmB,CAAC,KAAK,EAAE,sBAAsB;IAMlC,OAAO;IAiBP,OAAO;IAKtB,OAAO,CAAC,YAAY;IAiBpB,OAAO,CAAC,kBAAkB;IAU1B,IAAI,MAAM,QAyBT;IAED,IAAI,QAAQ,IAAI,mBAAmB,CAElC;YAEa,mBAAmB;YAKnB,sBAAsB;YAgEtB,eAAe;IAkBpB,gBAAgB,CAAC,aAAa,EAAE,kBAAkB,GAAG,2BAA2B;IAIhF,qBAAqB,CAC5B,aAAa,EAAE,kBAAkB,EACjC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,2BAA2B,KAAK,IAAI;IAK9C,QAAQ;CAGlB"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @param type - The type of the field/column
|
|
4
4
|
* @returns the filter params for the specified field type
|
|
5
5
|
* @remarks Currently only returns a default filter params object, for all field types
|
|
6
|
-
* @
|
|
6
|
+
* @beta
|
|
7
7
|
*/
|
|
8
8
|
export declare function getServerSideFilterParamsByFieldType(type: string): any;
|
|
9
9
|
//# sourceMappingURL=server-side.grid-definitions.d.ts.map
|
|
@@ -2,6 +2,12 @@ import { IServerSideDatasource, LoadSuccessParams, SetFilterModel, SortModelItem
|
|
|
2
2
|
import { Auth, Connect, MetadataDetail, DatasourceOptions } from '@genesislcap/foundation-comms';
|
|
3
3
|
import { UUID } from '@genesislcap/foundation-utils';
|
|
4
4
|
import { ServerSideDatasourceOptions } from './base.types';
|
|
5
|
+
/**
|
|
6
|
+
* Base class for server-side resource datasources used in Grid Pro SSRM implementations.
|
|
7
|
+
* Provides common logic for filtering, sorting, and pagination.
|
|
8
|
+
*
|
|
9
|
+
* @beta
|
|
10
|
+
*/
|
|
5
11
|
export declare class BaseServerSideDatasource implements IServerSideDatasource {
|
|
6
12
|
auth: Auth;
|
|
7
13
|
connect: Connect;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side.resource-base.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.resource-base.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,IAAI,EACJ,OAAO,EACP,cAAc,EAEd,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAE3D,qBAAa,wBAAyB,YAAW,qBAAqB;IAC9D,IAAI,EAAG,IAAI,CAAC;IACT,OAAO,EAAG,OAAO,CAAC;IACrB,IAAI,EAAG,IAAI,CAAC;IAElB,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAa;IAEhD,sBAAsB,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAErE,SAAS,CAAC,YAAY,EAAE,MAAM,CAAC;IAC/B,cAAc,EAAE,GAAG,CAAC;IACpB,SAAS,CAAC,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IACjD,SAAS,CAAC,eAAe,EAAE,cAAc,EAAE,CAAC;IAE5C,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC;IAC9B,SAAS,CAAC,mBAAmB,EAAE,OAAO,CAAC;IAEvC,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;IACvB,kBAAkB,EAAE,iBAAiB,CAAC;IAEtC;;;OAGG;IACH,eAAe,SAAK;IAEpB;;;OAGG;IACH,eAAe,SAAK;IAEpB,SAAS,CAAC,QAAQ,UAAS;IAC3B,SAAS,CAAC,mBAAmB,SAAK;IAClC,SAAS,CAAC,iBAAiB,MAAQ;IAEnC,SAAS,CAAC,kBAAkB,EAAE,cAAc,CAAC;IAC7C,SAAS,CAAC,qBAAqB,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACnD,SAAS,CAAC,gBAAgB,EAAE,aAAa,EAAE,CAAC;gBAEhC,OAAO,EAAE,2BAA2B;IAkBhD,OAAO,CAAC,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,IAAI;cAIzC,wBAAwB,CAAC,MAAM,EAAE,wBAAwB;
|
|
1
|
+
{"version":3,"file":"server-side.resource-base.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.resource-base.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,IAAI,EACJ,OAAO,EACP,cAAc,EAEd,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAE3D;;;;;GAKG;AACH,qBAAa,wBAAyB,YAAW,qBAAqB;IAC9D,IAAI,EAAG,IAAI,CAAC;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C,IAAI,IAAI;cAWA,iBAAiB,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC;IASlF,SAAS,CAAC,6BAA6B,CAAC,GAAG,KAAA,EAAE,WAAW,KAAA;;;;IAWxD,SAAS,CAAC,6BAA6B,IAAI,MAAM;IAkBjD,SAAS,CAAC,mBAAmB,IAAI,MAAM,EAAE;IAoHzC,SAAS,CAAC,gBAAgB,CAAC,UAAU,EAAE,MAAM;IAM7C,SAAS,CAAC,aAAa,CACrB,KAAK,EAAE,MAAM,EACb,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,MAAM,EACpB,mBAAmB,UAAO;IAS5B,SAAS,CAAC,kBAAkB,CAAC,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE,GAAG,CAAC;IAiCvE,SAAS,KAAK,oBAAoB,IAAI,OAAO,CAE5C;CACF"}
|
|
@@ -4,7 +4,7 @@ import { ServerSideDatasourceOptions } from './base.types';
|
|
|
4
4
|
import { BaseServerSideDatasource } from './server-side.resource-base';
|
|
5
5
|
/**
|
|
6
6
|
* The DATASERVER IServerSideDatasource implementation, used for SSRM (Server-Side Row Model) in the grid.
|
|
7
|
-
* @
|
|
7
|
+
* @beta
|
|
8
8
|
*/
|
|
9
9
|
export declare class DataserverServerSideDatasource extends BaseServerSideDatasource implements IServerSideDatasource {
|
|
10
10
|
dataserverStream: SocketObservable<FilteredDataServerResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side.resource-dataserver.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.resource-dataserver.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EAEzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,wBAAwB,EAGxB,gBAAgB,EAChB,kBAAkB,EAGnB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAEvE;;;GAGG;AACH,qBAAa,8BACX,SAAQ,wBACR,YAAW,qBAAqB;IAEhC,gBAAgB,EAAE,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;IAC7D,4BAA4B,EAAE,kBAAkB,CAAC;IACjD,0BAA0B,EAAE,CAC1B,cAAc,CAAC,EAAE,GAAG,KACjB,OAAO,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,CAAC,CAAC;gBAE7C,OAAO,EAAE,2BAA2B;cAKhC,iBAAiB,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC;IAO5E,OAAO,CAAC,MAAM,EAAE,wBAAwB;
|
|
1
|
+
{"version":3,"file":"server-side.resource-dataserver.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.resource-dataserver.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EAEzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,wBAAwB,EAGxB,gBAAgB,EAChB,kBAAkB,EAGnB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAEvE;;;GAGG;AACH,qBAAa,8BACX,SAAQ,wBACR,YAAW,qBAAqB;IAEhC,gBAAgB,EAAE,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;IAC7D,4BAA4B,EAAE,kBAAkB,CAAC;IACjD,0BAA0B,EAAE,CAC1B,cAAc,CAAC,EAAE,GAAG,KACjB,OAAO,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,CAAC,CAAC;gBAE7C,OAAO,EAAE,2BAA2B;cAKhC,iBAAiB,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC;IAO5E,OAAO,CAAC,MAAM,EAAE,wBAAwB;IAmE9C,OAAO,CAAC,mBAAmB;IA0CrB,OAAO;IAOb,OAAO,CAAC,uBAAuB;CAYhC"}
|
|
@@ -4,7 +4,7 @@ import { ServerSideDatasourceOptions } from './base.types';
|
|
|
4
4
|
import { BaseServerSideDatasource } from './server-side.resource-base';
|
|
5
5
|
/**
|
|
6
6
|
* The REQUEST_SERVER IServerSideDatasource implementation, used for SSRM (Server-Side Row Model) in the grid.
|
|
7
|
-
* @
|
|
7
|
+
* @beta
|
|
8
8
|
*/
|
|
9
9
|
export declare class ReqRepServerSideDatasource extends BaseServerSideDatasource implements IServerSideDatasource {
|
|
10
10
|
createReqRepRequestFunc: (existingParams?: any) => Promise<RequestServerResult>;
|
package/dist/dts/grid-pro.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { StatePersistence } from './state-persistence';
|
|
|
10
10
|
* @privateRemarks We're excluding rowData as it's a special case that we handle separately
|
|
11
11
|
* @internal
|
|
12
12
|
*/
|
|
13
|
-
export declare const AG_PROPERTIES: ("datasource" | "onGridReady" | "tabIndex" | "api" | "columnApi" | "context" | "columnDefs" | "
|
|
13
|
+
export declare const AG_PROPERTIES: ("datasource" | "onGridReady" | "tabIndex" | "api" | "columnApi" | "context" | "columnDefs" | "icons" | "singleClickEdit" | "onCellValueChanged" | "onCellClicked" | "onCellDoubleClicked" | "onCellContextMenu" | "enableCellChangeFlash" | "rowDragText" | "sortingOrder" | "unSortIcon" | "suppressAutoSize" | "statusBar" | "sideBar" | "suppressContextMenu" | "preventDefaultOnContextMenu" | "allowContextMenuWithControlKey" | "suppressMenuHide" | "enableBrowserTooltips" | "tooltipShowDelay" | "tooltipHideDelay" | "tooltipMouseTrack" | "popupParent" | "copyHeadersToClipboard" | "copyGroupHeadersToClipboard" | "clipboardDeliminator" | "clipboardDelimiter" | "suppressCopyRowsToClipboard" | "suppressCopySingleCellRanges" | "suppressLastEmptyLineOnPaste" | "suppressClipboardPaste" | "suppressClipboardApi" | "suppressCutToClipboard" | "defaultColDef" | "defaultColGroupDef" | "columnTypes" | "maintainColumnOrder" | "suppressFieldDotNotation" | "headerHeight" | "groupHeaderHeight" | "floatingFiltersHeight" | "pivotHeaderHeight" | "pivotGroupHeaderHeight" | "allowDragFromColumnsToolPanel" | "suppressMovableColumns" | "suppressColumnMoveAnimation" | "suppressDragLeaveHidesColumns" | "suppressRowGroupHidesColumns" | "colResizeDefault" | "autoSizePadding" | "skipHeaderOnAutoSize" | "components" | "frameworkComponents" | "reactUi" | "suppressReactUi" | "editType" | "suppressClickEdit" | "readOnlyEdit" | "stopEditingWhenCellsLoseFocus" | "enterMovesDown" | "enterMovesDownAfterEdit" | "enableCellEditingOnBackspace" | "undoRedoCellEditing" | "undoRedoCellEditingLimit" | "defaultCsvExportParams" | "suppressCsvExport" | "defaultExcelExportParams" | "suppressExcelExport" | "excelStyles" | "quickFilterText" | "cacheQuickFilter" | "excludeHiddenColumnsFromQuickFilter" | "excludeChildrenWhenTreeDataFiltering" | "enableCharts" | "chartThemes" | "customChartThemes" | "chartThemeOverrides" | "enableChartToolPanelsButton" | "suppressChartToolPanelsButton" | "chartToolPanelsDef" | "loadingCellRenderer" | "loadingCellRendererFramework" | "loadingCellRendererParams" | "loadingCellRendererSelector" | "localeText" | "masterDetail" | "keepDetailRows" | "keepDetailRowsCount" | "detailCellRenderer" | "detailCellRendererFramework" | "detailCellRendererParams" | "detailRowHeight" | "detailRowAutoHeight" | "alignedGrids" | "rowBuffer" | "valueCache" | "valueCacheNeverExpires" | "enableCellExpressions" | "suppressParentsInRowNodes" | "suppressTouch" | "suppressFocusAfterRefresh" | "suppressAsyncEvents" | "suppressBrowserResizeObserver" | "suppressPropertyNamesCheck" | "suppressChangeDetection" | "debug" | "overlayLoadingTemplate" | "loadingOverlayComponent" | "loadingOverlayComponentFramework" | "loadingOverlayComponentParams" | "suppressLoadingOverlay" | "overlayNoRowsTemplate" | "noRowsOverlayComponent" | "noRowsOverlayComponentFramework" | "noRowsOverlayComponentParams" | "suppressNoRowsOverlay" | "pagination" | "paginationPageSize" | "paginationAutoPageSize" | "paginateChildRows" | "suppressPaginationPanel" | "pivotMode" | "pivotPanelShow" | "pivotColumnGroupTotals" | "pivotRowTotals" | "pivotSuppressAutoColumn" | "suppressExpandablePivotGroups" | "functionsReadOnly" | "aggFuncs" | "suppressAggFuncInHeader" | "suppressAggAtRootLevel" | "aggregateOnlyChangedColumns" | "suppressAggFilteredOnly" | "removePivotHeaderRowWhenSingleValueColumn" | "animateRows" | "cellFlashDelay" | "cellFadeDelay" | "allowShowChangeAfterFilter" | "domLayout" | "ensureDomOrder" | "enableRtl" | "suppressColumnVirtualisation" | "suppressMaxRenderedRowRestriction" | "suppressRowVirtualisation" | "rowDragManaged" | "suppressRowDrag" | "suppressMoveWhenRowDragging" | "rowDragEntireRow" | "rowDragMultiRow" | "fullWidthCellRenderer" | "fullWidthCellRendererFramework" | "fullWidthCellRendererParams" | "embedFullWidthRows" | "groupDisplayType" | "groupDefaultExpanded" | "autoGroupColumnDef" | "groupMaintainOrder" | "groupSelectsChildren" | "groupAggFiltering" | "groupIncludeFooter" | "groupIncludeTotalFooter" | "groupSuppressBlankHeader" | "groupSelectsFiltered" | "showOpenedGroup" | "groupRemoveSingleChildren" | "groupRemoveLowestSingleChildren" | "groupHideOpenParents" | "groupAllowUnbalanced" | "rowGroupPanelShow" | "groupRowRenderer" | "groupRowRendererFramework" | "groupRowRendererParams" | "suppressMakeColumnVisibleAfterUnGroup" | "treeData" | "rowGroupPanelSuppressSort" | "groupRowsSticky" | "rememberGroupStateWhenNewData" | "pinnedTopRowData" | "pinnedBottomRowData" | "rowModelType" | "rowData" | "immutableData" | "asyncTransactionWaitMillis" | "suppressModelUpdateAfterUpdateTransaction" | "cacheOverflowSize" | "infiniteInitialRowCount" | "serverSideInitialRowCount" | "serverSideStoreType" | "suppressServerSideInfiniteScroll" | "cacheBlockSize" | "maxBlocksInCache" | "maxConcurrentDatasourceRequests" | "blockLoadDebounceMillis" | "purgeClosedRowNodes" | "serverSideDatasource" | "serverSideSortAllLevels" | "serverSideFilterAllLevels" | "serverSideSortOnServer" | "serverSideFilterOnServer" | "serverSideSortingAlwaysResets" | "serverSideFilteringAlwaysResets" | "viewportDatasource" | "viewportRowModelPageSize" | "viewportRowModelBufferSize" | "alwaysShowHorizontalScroll" | "alwaysShowVerticalScroll" | "debounceVerticalScrollbar" | "suppressHorizontalScroll" | "suppressScrollOnNewData" | "suppressScrollWhenPopupsAreOpen" | "suppressAnimationFrame" | "suppressMiddleClickScrolls" | "suppressPreventDefaultOnMouseWheel" | "scrollbarWidth" | "rowSelection" | "rowMultiSelectWithClick" | "suppressRowDeselection" | "suppressRowClickSelection" | "suppressCellSelection" | "suppressCellFocus" | "suppressMultiRangeSelection" | "enableCellTextSelection" | "enableRangeSelection" | "enableRangeHandle" | "enableFillHandle" | "fillHandleDirection" | "suppressClearOnFillReduction" | "accentedSort" | "suppressMultiSort" | "alwaysMultiSort" | "multiSortKey" | "suppressMaintainUnsortedOrder" | "rowHeight" | "rowStyle" | "rowClass" | "rowClassRules" | "suppressRowHoverHighlight" | "suppressRowTransform" | "columnHoverHighlight" | "deltaSort" | "treeDataDisplayType" | "functionsPassive" | "enableGroupEdit" | "getContextMenuItems" | "getMainMenuItems" | "postProcessPopup" | "processCellForClipboard" | "processHeaderForClipboard" | "processGroupHeaderForClipboard" | "processCellFromClipboard" | "sendToClipboard" | "processDataFromClipboard" | "isExternalFilterPresent" | "doesExternalFilterPass" | "getChartToolbarItems" | "createChartContainer" | "navigateToNextHeader" | "tabToNextHeader" | "navigateToNextCell" | "tabToNextCell" | "localeTextFunc" | "getLocaleText" | "getDocument" | "paginationNumberFormatter" | "groupRowAggNodes" | "getGroupRowAgg" | "isGroupOpenByDefault" | "initialGroupOrderComparator" | "defaultGroupOrderComparator" | "processSecondaryColDef" | "processSecondaryColGroupDef" | "processPivotResultColDef" | "processPivotResultColGroupDef" | "getDataPath" | "getChildCount" | "getServerSideGroupLevelParams" | "getServerSideStoreParams" | "isServerSideGroupOpenByDefault" | "isApplyServerSideTransaction" | "isServerSideGroup" | "getServerSideGroupKey" | "getBusinessKeyForNode" | "getRowNodeId" | "getRowId" | "resetRowDataOnUpdate" | "processRowPostCreate" | "isRowSelectable" | "isRowMaster" | "fillOperation" | "postSort" | "postSortRows" | "getRowStyle" | "getRowClass" | "getRowHeight" | "isFullWidthCell" | "isFullWidthRow" | "onToolPanelVisibleChanged" | "onToolPanelSizeChanged" | "onPasteStart" | "onPasteEnd" | "onColumnVisible" | "onColumnPinned" | "onColumnResized" | "onColumnMoved" | "onColumnValueChanged" | "onColumnPivotModeChanged" | "onColumnPivotChanged" | "onColumnGroupOpened" | "onNewColumnsLoaded" | "onGridColumnsChanged" | "onDisplayedColumnsChanged" | "onVirtualColumnsChanged" | "onColumnEverythingChanged" | "onComponentStateChanged" | "onCellEditRequest" | "onRowValueChanged" | "onCellEditingStarted" | "onCellEditingStopped" | "onRowEditingStarted" | "onRowEditingStopped" | "onUndoStarted" | "onUndoEnded" | "onRedoStarted" | "onRedoEnded" | "onFilterOpened" | "onFilterChanged" | "onFilterModified" | "onChartCreated" | "onChartRangeSelectionChanged" | "onChartOptionsChanged" | "onChartDestroyed" | "onCellKeyDown" | "onCellKeyPress" | "onFirstDataRendered" | "onGridSizeChanged" | "onModelUpdated" | "onVirtualRowRemoved" | "onViewportChanged" | "onBodyScroll" | "onBodyScrollEnd" | "onDragStarted" | "onDragStopped" | "onPaginationChanged" | "onRowDragEnter" | "onRowDragMove" | "onRowDragLeave" | "onRowDragEnd" | "onColumnRowGroupChanged" | "onRowGroupOpened" | "onExpandOrCollapseAll" | "onPinnedRowDataChanged" | "onRowDataChanged" | "onRowDataUpdated" | "onAsyncTransactionsFlushed" | "onCellFocused" | "onCellMouseOver" | "onCellMouseOut" | "onCellMouseDown" | "onRowClicked" | "onRowDoubleClicked" | "onRowSelected" | "onSelectionChanged" | "onRangeSelectionChanged" | "onSortChanged" | "onColumnRowGroupChangeRequest" | "onColumnPivotChangeRequest" | "onColumnValueChangeRequest" | "onColumnAggFuncChangeRequest")[];
|
|
14
14
|
declare const GridPro_base: (new (...args: any[]) => {
|
|
15
15
|
"__#1@#_container": import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
16
16
|
"__#1@#_latestTokenCode": string;
|
|
@@ -444,7 +444,9 @@ export declare class GridPro extends GridPro_base {
|
|
|
444
444
|
* Number of rows per page when pagination is enabled.
|
|
445
445
|
* @remarks
|
|
446
446
|
* **Default Value:** `DatasourceDefaults.DEFAULT_PAGINATION_PAGE_SIZE (25)` (default MAX_ROWS divided by 10)
|
|
447
|
-
*
|
|
447
|
+
*
|
|
448
|
+
* **Only used when pagination is enabled on client-side, server-side pagination page size is fixed to MAX_ROWS.**
|
|
449
|
+
*
|
|
448
450
|
* Note that AG Grid's full pagination functionality requires the Enterprise module.
|
|
449
451
|
*/
|
|
450
452
|
paginationPageSize: number;
|
|
@@ -537,6 +539,10 @@ export declare class GridPro extends GridPro_base {
|
|
|
537
539
|
* @public
|
|
538
540
|
*/
|
|
539
541
|
get gridOptions(): GridOptions;
|
|
542
|
+
/**
|
|
543
|
+
* @public
|
|
544
|
+
*/
|
|
545
|
+
get isServerSide(): boolean;
|
|
540
546
|
/**
|
|
541
547
|
* @public
|
|
542
548
|
*/
|
|
@@ -573,6 +579,12 @@ export declare class GridPro extends GridPro_base {
|
|
|
573
579
|
* @returns The merged column definitions.
|
|
574
580
|
*/
|
|
575
581
|
mergeAllColumnDefsAndStates(columnDefs: ColDef[], deferredColumnDefsOrState?: boolean): Promise<ColDef<any>[]>;
|
|
582
|
+
private panelExists;
|
|
583
|
+
private addRowCountPanel;
|
|
584
|
+
private addMaxRowsPanel;
|
|
585
|
+
private addAggregationPanel;
|
|
586
|
+
private addDatasourcePanels;
|
|
587
|
+
private addPaginationPanel;
|
|
576
588
|
protected setupPaginationAndStatusBar(gridOptions: GridOptions): void;
|
|
577
589
|
get observedAttributes(): string[];
|
|
578
590
|
agAttributeChangedCallback(attName: any, oldValue: any, newValue: any): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EAET,OAAO,EACP,WAAW,EACX,UAAU,EAEX,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,WAAW,EAAyB,IAAI,EAAkB,MAAM,yBAAyB,CAAC;AASnG,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAuB/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAarE,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAQL,iBAAiB,EAEjB,sBAAsB,EAEvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAoBvD;;;;GAIG;AACH,eAAO,MAAM,aAAa,szRAA8D,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoEvF;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AApEL;;;;;GAKG;AACH,qBAAa,OAAQ,SAAQ,YAAiC;IAChD,SAAS,EAAG,SAAS,CAAC;IACtB,OAAO,EAAG,OAAO,CAAC;IACl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O,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,EAAE,
|
|
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,aAuFrC,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { IStatusPanelComp, IStatusPanelParams } from '@ag-grid-community/core';
|
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class PaginationStatusBarComponent implements IStatusPanelComp {
|
|
8
|
-
private
|
|
8
|
+
private element;
|
|
9
9
|
private api;
|
|
10
10
|
private paginationPanel;
|
|
11
11
|
private paginationSummaryPanel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.status-bar.d.ts","sourceRoot":"","sources":["../../../src/status-bar-components/pagination.status-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAW,MAAM,yBAAyB,CAAC;AAExF;;;;GAIG;AACH,qBAAa,4BAA6B,YAAW,gBAAgB;IACnE,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"pagination.status-bar.d.ts","sourceRoot":"","sources":["../../../src/status-bar-components/pagination.status-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAW,MAAM,yBAAyB,CAAC;AAExF;;;;GAIG;AACH,qBAAa,4BAA6B,YAAW,gBAAgB;IACnE,OAAO,CAAC,OAAO,CAAc;IAC7B,OAAO,CAAC,GAAG,CAAU;IAGrB,OAAO,CAAC,eAAe,CAAc;IACrC,OAAO,CAAC,sBAAsB,CAAc;IAC5C,OAAO,CAAC,eAAe,CAAc;IACrC,OAAO,CAAC,cAAc,CAAc;IACpC,OAAO,CAAC,gBAAgB,CAAc;IACtC,OAAO,CAAC,gBAAgB,CAAc;IACtC,OAAO,CAAC,iBAAiB,CAAc;IACvC,OAAO,CAAC,aAAa,CAAc;IACnC,OAAO,CAAC,sBAAsB,CAAc;IAC5C,OAAO,CAAC,cAAc,CAAc;IACpC,OAAO,CAAC,cAAc,CAAc;IAEpC,OAAO,CAAC,wBAAwB,CAAa;IAE7C,IAAI,CAAC,MAAM,EAAE,kBAAkB;IAwB/B,MAAM;IAIN,OAAO,CAAC,qBAAqB;IA8G7B,OAAO,CAAC,2BAA2B;IAqCnC,OAAO,CAAC,sBAAsB;IA0B9B,OAAO,CAAC,QAAQ;IAiBhB,OAAO,CAAC,aAAa;IAyBrB,OAAO,CAAC,iBAAiB;IAYzB,OAAO;CASR"}
|
|
@@ -381,8 +381,9 @@ export class GridProBaseDatasource extends GenesisGridDatasourceElement {
|
|
|
381
381
|
return mappedTransaction;
|
|
382
382
|
}
|
|
383
383
|
get pagination() {
|
|
384
|
+
var _a, _b;
|
|
384
385
|
// This is a private property, but it's the only way to get the pagination status because grid-pro is the parent of the datasource.
|
|
385
|
-
return this.agGrid['_pagination'];
|
|
386
|
+
return (_b = (_a = this.agGrid['_pagination']) !== null && _a !== void 0 ? _a : this.agGrid.pagination) !== null && _b !== void 0 ? _b : false;
|
|
386
387
|
}
|
|
387
388
|
loadMore() {
|
|
388
389
|
throw new Error('loadMore() method must be implemented by subclass');
|