@genesislcap/grid-pro 15.8.4-alpha-f891d32.0 → 15.9.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 +1 -286
- package/dist/dts/datasource/base.types.d.ts +0 -4
- package/dist/dts/datasource/base.types.d.ts.map +1 -1
- package/dist/dts/datasource/datasource.types.d.ts +0 -8
- package/dist/dts/datasource/datasource.types.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.datasource.d.ts +27 -14
- package/dist/dts/datasource/server-side.datasource.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.resource-base.d.ts +0 -9
- package/dist/dts/datasource/server-side.resource-base.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.resource-reqrep.d.ts +9 -9
- package/dist/dts/datasource/server-side.resource-reqrep.d.ts.map +1 -1
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/esm/datasource/server-side.datasource.js +40 -15
- package/dist/esm/datasource/server-side.resource-base.js +1 -24
- package/dist/esm/datasource/server-side.resource-reqrep.js +25 -102
- package/dist/esm/grid-pro.js +1 -3
- package/dist/grid-pro.api.json +3 -103
- package/dist/grid-pro.d.ts +27 -25
- package/package.json +14 -14
|
@@ -11884,15 +11884,6 @@
|
|
|
11884
11884
|
"text": "Datasource"
|
|
11885
11885
|
}
|
|
11886
11886
|
},
|
|
11887
|
-
{
|
|
11888
|
-
"kind": "field",
|
|
11889
|
-
"name": "zeroBasedViewNumber",
|
|
11890
|
-
"type": {
|
|
11891
|
-
"text": "boolean"
|
|
11892
|
-
},
|
|
11893
|
-
"default": "false",
|
|
11894
|
-
"description": "The starting VIEW_NUMBER of the data to be fetched."
|
|
11895
|
-
},
|
|
11896
11887
|
{
|
|
11897
11888
|
"kind": "field",
|
|
11898
11889
|
"name": "liveUpdates",
|
|
@@ -11902,14 +11893,6 @@
|
|
|
11902
11893
|
"default": "false",
|
|
11903
11894
|
"description": "Enable live updates for the grid."
|
|
11904
11895
|
},
|
|
11905
|
-
{
|
|
11906
|
-
"kind": "field",
|
|
11907
|
-
"name": "pagingMode",
|
|
11908
|
-
"type": {
|
|
11909
|
-
"text": "PagingMode | undefined"
|
|
11910
|
-
},
|
|
11911
|
-
"description": "The paging mode to use for data fetching."
|
|
11912
|
-
},
|
|
11913
11896
|
{
|
|
11914
11897
|
"kind": "field",
|
|
11915
11898
|
"name": "request",
|
|
@@ -13246,15 +13229,6 @@
|
|
|
13246
13229
|
}
|
|
13247
13230
|
],
|
|
13248
13231
|
"attributes": [
|
|
13249
|
-
{
|
|
13250
|
-
"name": "zero-based-view-number",
|
|
13251
|
-
"type": {
|
|
13252
|
-
"text": "boolean"
|
|
13253
|
-
},
|
|
13254
|
-
"default": "false",
|
|
13255
|
-
"description": "The starting VIEW_NUMBER of the data to be fetched.",
|
|
13256
|
-
"fieldName": "zeroBasedViewNumber"
|
|
13257
|
-
},
|
|
13258
13232
|
{
|
|
13259
13233
|
"name": "live-updates",
|
|
13260
13234
|
"type": {
|
|
@@ -13264,14 +13238,6 @@
|
|
|
13264
13238
|
"description": "Enable live updates for the grid.",
|
|
13265
13239
|
"fieldName": "liveUpdates"
|
|
13266
13240
|
},
|
|
13267
|
-
{
|
|
13268
|
-
"name": "paging-mode",
|
|
13269
|
-
"type": {
|
|
13270
|
-
"text": "PagingMode | undefined"
|
|
13271
|
-
},
|
|
13272
|
-
"description": "The paging mode to use for data fetching.",
|
|
13273
|
-
"fieldName": "pagingMode"
|
|
13274
|
-
},
|
|
13275
13241
|
{
|
|
13276
13242
|
"name": "criteria",
|
|
13277
13243
|
"type": {
|
|
@@ -13673,30 +13639,6 @@
|
|
|
13673
13639
|
},
|
|
13674
13640
|
"privacy": "protected"
|
|
13675
13641
|
},
|
|
13676
|
-
{
|
|
13677
|
-
"kind": "field",
|
|
13678
|
-
"name": "zeroBasedViewNumber",
|
|
13679
|
-
"type": {
|
|
13680
|
-
"text": "boolean"
|
|
13681
|
-
},
|
|
13682
|
-
"privacy": "protected"
|
|
13683
|
-
},
|
|
13684
|
-
{
|
|
13685
|
-
"kind": "field",
|
|
13686
|
-
"name": "pagingMode",
|
|
13687
|
-
"type": {
|
|
13688
|
-
"text": "PagingMode | undefined | undefined"
|
|
13689
|
-
},
|
|
13690
|
-
"privacy": "protected"
|
|
13691
|
-
},
|
|
13692
|
-
{
|
|
13693
|
-
"kind": "field",
|
|
13694
|
-
"name": "criteriaOnlyRequest",
|
|
13695
|
-
"type": {
|
|
13696
|
-
"text": "boolean | undefined"
|
|
13697
|
-
},
|
|
13698
|
-
"privacy": "protected"
|
|
13699
|
-
},
|
|
13700
13642
|
{
|
|
13701
13643
|
"kind": "field",
|
|
13702
13644
|
"name": "sourceRef",
|
|
@@ -14036,15 +13978,6 @@
|
|
|
14036
13978
|
}
|
|
14037
13979
|
]
|
|
14038
13980
|
},
|
|
14039
|
-
{
|
|
14040
|
-
"kind": "field",
|
|
14041
|
-
"name": "isNotFirstViewNumber",
|
|
14042
|
-
"type": {
|
|
14043
|
-
"text": "boolean"
|
|
14044
|
-
},
|
|
14045
|
-
"privacy": "protected",
|
|
14046
|
-
"readonly": true
|
|
14047
|
-
},
|
|
14048
13981
|
{
|
|
14049
13982
|
"kind": "method",
|
|
14050
13983
|
"name": "completeEmptyResult",
|
|
@@ -14108,17 +14041,6 @@
|
|
|
14108
14041
|
"text": "void"
|
|
14109
14042
|
}
|
|
14110
14043
|
}
|
|
14111
|
-
},
|
|
14112
|
-
{
|
|
14113
|
-
"kind": "method",
|
|
14114
|
-
"name": "getEffectivePagingMode",
|
|
14115
|
-
"privacy": "protected",
|
|
14116
|
-
"return": {
|
|
14117
|
-
"type": {
|
|
14118
|
-
"text": "PagingMode"
|
|
14119
|
-
}
|
|
14120
|
-
},
|
|
14121
|
-
"description": "Determines the effective paging mode based on criteriaOnlyRequest availability and user settings"
|
|
14122
14044
|
}
|
|
14123
14045
|
]
|
|
14124
14046
|
}
|
|
@@ -14434,42 +14356,6 @@
|
|
|
14434
14356
|
"module": "src/datasource/server-side.resource-base.ts"
|
|
14435
14357
|
}
|
|
14436
14358
|
},
|
|
14437
|
-
{
|
|
14438
|
-
"kind": "field",
|
|
14439
|
-
"name": "zeroBasedViewNumber",
|
|
14440
|
-
"type": {
|
|
14441
|
-
"text": "boolean"
|
|
14442
|
-
},
|
|
14443
|
-
"privacy": "protected",
|
|
14444
|
-
"inheritedFrom": {
|
|
14445
|
-
"name": "BaseServerSideDatasource",
|
|
14446
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
14447
|
-
}
|
|
14448
|
-
},
|
|
14449
|
-
{
|
|
14450
|
-
"kind": "field",
|
|
14451
|
-
"name": "pagingMode",
|
|
14452
|
-
"type": {
|
|
14453
|
-
"text": "PagingMode | undefined | undefined"
|
|
14454
|
-
},
|
|
14455
|
-
"privacy": "protected",
|
|
14456
|
-
"inheritedFrom": {
|
|
14457
|
-
"name": "BaseServerSideDatasource",
|
|
14458
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
14459
|
-
}
|
|
14460
|
-
},
|
|
14461
|
-
{
|
|
14462
|
-
"kind": "field",
|
|
14463
|
-
"name": "criteriaOnlyRequest",
|
|
14464
|
-
"type": {
|
|
14465
|
-
"text": "boolean | undefined"
|
|
14466
|
-
},
|
|
14467
|
-
"privacy": "protected",
|
|
14468
|
-
"inheritedFrom": {
|
|
14469
|
-
"name": "BaseServerSideDatasource",
|
|
14470
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
14471
|
-
}
|
|
14472
|
-
},
|
|
14473
14359
|
{
|
|
14474
14360
|
"kind": "field",
|
|
14475
14361
|
"name": "sourceRef",
|
|
@@ -14827,19 +14713,6 @@
|
|
|
14827
14713
|
"module": "src/datasource/server-side.resource-base.ts"
|
|
14828
14714
|
}
|
|
14829
14715
|
},
|
|
14830
|
-
{
|
|
14831
|
-
"kind": "field",
|
|
14832
|
-
"name": "isNotFirstViewNumber",
|
|
14833
|
-
"type": {
|
|
14834
|
-
"text": "boolean"
|
|
14835
|
-
},
|
|
14836
|
-
"privacy": "protected",
|
|
14837
|
-
"readonly": true,
|
|
14838
|
-
"inheritedFrom": {
|
|
14839
|
-
"name": "BaseServerSideDatasource",
|
|
14840
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
14841
|
-
}
|
|
14842
|
-
},
|
|
14843
14716
|
{
|
|
14844
14717
|
"kind": "method",
|
|
14845
14718
|
"name": "completeEmptyResult",
|
|
@@ -14919,21 +14792,6 @@
|
|
|
14919
14792
|
"name": "BaseServerSideDatasource",
|
|
14920
14793
|
"module": "src/datasource/server-side.resource-base.ts"
|
|
14921
14794
|
}
|
|
14922
|
-
},
|
|
14923
|
-
{
|
|
14924
|
-
"kind": "method",
|
|
14925
|
-
"name": "getEffectivePagingMode",
|
|
14926
|
-
"privacy": "protected",
|
|
14927
|
-
"return": {
|
|
14928
|
-
"type": {
|
|
14929
|
-
"text": "PagingMode"
|
|
14930
|
-
}
|
|
14931
|
-
},
|
|
14932
|
-
"description": "Determines the effective paging mode based on criteriaOnlyRequest availability and user settings",
|
|
14933
|
-
"inheritedFrom": {
|
|
14934
|
-
"name": "BaseServerSideDatasource",
|
|
14935
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
14936
|
-
}
|
|
14937
14795
|
}
|
|
14938
14796
|
],
|
|
14939
14797
|
"superclass": {
|
|
@@ -15059,15 +14917,6 @@
|
|
|
15059
14917
|
"privacy": "private",
|
|
15060
14918
|
"default": "null"
|
|
15061
14919
|
},
|
|
15062
|
-
{
|
|
15063
|
-
"kind": "field",
|
|
15064
|
-
"name": "currentNextOffset",
|
|
15065
|
-
"type": {
|
|
15066
|
-
"text": "number"
|
|
15067
|
-
},
|
|
15068
|
-
"privacy": "private",
|
|
15069
|
-
"default": "0"
|
|
15070
|
-
},
|
|
15071
14920
|
{
|
|
15072
14921
|
"kind": "method",
|
|
15073
14922
|
"name": "getRows",
|
|
@@ -15089,62 +14938,6 @@
|
|
|
15089
14938
|
"module": "src/datasource/server-side.resource-base.ts"
|
|
15090
14939
|
}
|
|
15091
14940
|
},
|
|
15092
|
-
{
|
|
15093
|
-
"kind": "method",
|
|
15094
|
-
"name": "advancePagingPosition",
|
|
15095
|
-
"privacy": "private",
|
|
15096
|
-
"return": {
|
|
15097
|
-
"type": {
|
|
15098
|
-
"text": "void"
|
|
15099
|
-
}
|
|
15100
|
-
},
|
|
15101
|
-
"parameters": [
|
|
15102
|
-
{
|
|
15103
|
-
"name": "params",
|
|
15104
|
-
"type": {
|
|
15105
|
-
"text": "IServerSideGetRowsParams"
|
|
15106
|
-
}
|
|
15107
|
-
},
|
|
15108
|
-
{
|
|
15109
|
-
"name": "effectivePagingMode",
|
|
15110
|
-
"type": {
|
|
15111
|
-
"text": "PagingMode"
|
|
15112
|
-
}
|
|
15113
|
-
}
|
|
15114
|
-
],
|
|
15115
|
-
"description": "Advance the view/offset position based on paging mode"
|
|
15116
|
-
},
|
|
15117
|
-
{
|
|
15118
|
-
"kind": "method",
|
|
15119
|
-
"name": "determineIsLastView",
|
|
15120
|
-
"privacy": "private",
|
|
15121
|
-
"return": {
|
|
15122
|
-
"type": {
|
|
15123
|
-
"text": "Promise<boolean>"
|
|
15124
|
-
}
|
|
15125
|
-
},
|
|
15126
|
-
"parameters": [
|
|
15127
|
-
{
|
|
15128
|
-
"name": "requestResult",
|
|
15129
|
-
"type": {
|
|
15130
|
-
"text": "RequestServerResult"
|
|
15131
|
-
}
|
|
15132
|
-
},
|
|
15133
|
-
{
|
|
15134
|
-
"name": "requestParams",
|
|
15135
|
-
"type": {
|
|
15136
|
-
"text": "RequestParams"
|
|
15137
|
-
}
|
|
15138
|
-
},
|
|
15139
|
-
{
|
|
15140
|
-
"name": "effectivePagingMode",
|
|
15141
|
-
"type": {
|
|
15142
|
-
"text": "PagingMode"
|
|
15143
|
-
}
|
|
15144
|
-
}
|
|
15145
|
-
],
|
|
15146
|
-
"description": "Determine if this is the last view/page"
|
|
15147
|
-
},
|
|
15148
14941
|
{
|
|
15149
14942
|
"kind": "method",
|
|
15150
14943
|
"name": "schedulePollingStream",
|
|
@@ -15180,12 +14973,6 @@
|
|
|
15180
14973
|
"type": {
|
|
15181
14974
|
"text": "RequestServerResult"
|
|
15182
14975
|
}
|
|
15183
|
-
},
|
|
15184
|
-
{
|
|
15185
|
-
"name": "isLastView",
|
|
15186
|
-
"type": {
|
|
15187
|
-
"text": "boolean"
|
|
15188
|
-
}
|
|
15189
14976
|
}
|
|
15190
14977
|
]
|
|
15191
14978
|
},
|
|
@@ -15315,15 +15102,7 @@
|
|
|
15315
15102
|
"type": {
|
|
15316
15103
|
"text": "any"
|
|
15317
15104
|
}
|
|
15318
|
-
}
|
|
15319
|
-
"parameters": [
|
|
15320
|
-
{
|
|
15321
|
-
"name": "effectivePagingMode",
|
|
15322
|
-
"type": {
|
|
15323
|
-
"text": "PagingMode"
|
|
15324
|
-
}
|
|
15325
|
-
}
|
|
15326
|
-
]
|
|
15105
|
+
}
|
|
15327
15106
|
},
|
|
15328
15107
|
{
|
|
15329
15108
|
"kind": "field",
|
|
@@ -15499,42 +15278,6 @@
|
|
|
15499
15278
|
"module": "src/datasource/server-side.resource-base.ts"
|
|
15500
15279
|
}
|
|
15501
15280
|
},
|
|
15502
|
-
{
|
|
15503
|
-
"kind": "field",
|
|
15504
|
-
"name": "zeroBasedViewNumber",
|
|
15505
|
-
"type": {
|
|
15506
|
-
"text": "boolean"
|
|
15507
|
-
},
|
|
15508
|
-
"privacy": "protected",
|
|
15509
|
-
"inheritedFrom": {
|
|
15510
|
-
"name": "BaseServerSideDatasource",
|
|
15511
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
15512
|
-
}
|
|
15513
|
-
},
|
|
15514
|
-
{
|
|
15515
|
-
"kind": "field",
|
|
15516
|
-
"name": "pagingMode",
|
|
15517
|
-
"type": {
|
|
15518
|
-
"text": "PagingMode | undefined | undefined"
|
|
15519
|
-
},
|
|
15520
|
-
"privacy": "protected",
|
|
15521
|
-
"inheritedFrom": {
|
|
15522
|
-
"name": "BaseServerSideDatasource",
|
|
15523
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
15524
|
-
}
|
|
15525
|
-
},
|
|
15526
|
-
{
|
|
15527
|
-
"kind": "field",
|
|
15528
|
-
"name": "criteriaOnlyRequest",
|
|
15529
|
-
"type": {
|
|
15530
|
-
"text": "boolean | undefined"
|
|
15531
|
-
},
|
|
15532
|
-
"privacy": "protected",
|
|
15533
|
-
"inheritedFrom": {
|
|
15534
|
-
"name": "BaseServerSideDatasource",
|
|
15535
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
15536
|
-
}
|
|
15537
|
-
},
|
|
15538
15281
|
{
|
|
15539
15282
|
"kind": "field",
|
|
15540
15283
|
"name": "sourceRef",
|
|
@@ -15875,19 +15618,6 @@
|
|
|
15875
15618
|
"module": "src/datasource/server-side.resource-base.ts"
|
|
15876
15619
|
}
|
|
15877
15620
|
},
|
|
15878
|
-
{
|
|
15879
|
-
"kind": "field",
|
|
15880
|
-
"name": "isNotFirstViewNumber",
|
|
15881
|
-
"type": {
|
|
15882
|
-
"text": "boolean"
|
|
15883
|
-
},
|
|
15884
|
-
"privacy": "protected",
|
|
15885
|
-
"readonly": true,
|
|
15886
|
-
"inheritedFrom": {
|
|
15887
|
-
"name": "BaseServerSideDatasource",
|
|
15888
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
15889
|
-
}
|
|
15890
|
-
},
|
|
15891
15621
|
{
|
|
15892
15622
|
"kind": "method",
|
|
15893
15623
|
"name": "completeEmptyResult",
|
|
@@ -15967,21 +15697,6 @@
|
|
|
15967
15697
|
"name": "BaseServerSideDatasource",
|
|
15968
15698
|
"module": "src/datasource/server-side.resource-base.ts"
|
|
15969
15699
|
}
|
|
15970
|
-
},
|
|
15971
|
-
{
|
|
15972
|
-
"kind": "method",
|
|
15973
|
-
"name": "getEffectivePagingMode",
|
|
15974
|
-
"privacy": "protected",
|
|
15975
|
-
"return": {
|
|
15976
|
-
"type": {
|
|
15977
|
-
"text": "PagingMode"
|
|
15978
|
-
}
|
|
15979
|
-
},
|
|
15980
|
-
"description": "Determines the effective paging mode based on criteriaOnlyRequest availability and user settings",
|
|
15981
|
-
"inheritedFrom": {
|
|
15982
|
-
"name": "BaseServerSideDatasource",
|
|
15983
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
15984
|
-
}
|
|
15985
15700
|
}
|
|
15986
15701
|
],
|
|
15987
15702
|
"superclass": {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SocketObservable, FilteredDataServerResult, MetadataDetail, RequestServerResult, DataserverParams, RequestParams, Datasource } from '@genesislcap/foundation-comms';
|
|
2
|
-
import { PagingMode } from './datasource.types';
|
|
3
2
|
/**
|
|
4
3
|
* Type definition for configuration options used for streams.
|
|
5
4
|
* @remarks
|
|
@@ -40,9 +39,6 @@ export type ServerSideDatasourceOptions = {
|
|
|
40
39
|
maxRows?: number;
|
|
41
40
|
maxView?: number;
|
|
42
41
|
rowId?: string;
|
|
43
|
-
zeroBasedViewNumber?: boolean;
|
|
44
|
-
pagingMode?: PagingMode | undefined;
|
|
45
|
-
criteriaOnlyRequest?: boolean;
|
|
46
42
|
usePolling?: boolean;
|
|
47
43
|
};
|
|
48
44
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.types.d.ts","sourceRoot":"","sources":["../../../src/datasource/base.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,UAAU,EACX,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"base.types.d.ts","sourceRoot":"","sources":["../../../src/datasource/base.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,UAAU,EACX,MAAM,+BAA+B,CAAC;AAEvC;;;;;GAKG;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AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;CAG3B,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EACA,YAAY,GACZ,qBAAqB,GACrB,eAAe,GACf,UAAU,GACV,QAAQ,GACR,UAAU,GACV,SAAS,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG,WAAW,CAAC,8BAA8B,CAAC,CAAC"}
|
|
@@ -5,12 +5,4 @@
|
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export type DatasourceType = 'client' | 'server';
|
|
8
|
-
/**
|
|
9
|
-
* Available paging modes for server-side datasources
|
|
10
|
-
* @remarks - This type defines the paging approach used for server-side data fetching
|
|
11
|
-
* - 'viewBased': Uses VIEW_NUMBER and NEXT_VIEW (1 by 1 increment)
|
|
12
|
-
* - 'offsetBased': Uses OFFSET and NEXT_OFFSET (based on maxRows increment)
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
export type PagingMode = 'viewBased' | 'offsetBased';
|
|
16
8
|
//# sourceMappingURL=datasource.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasource.types.d.ts","sourceRoot":"","sources":["../../../src/datasource/datasource.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,QAAQ,CAAC
|
|
1
|
+
{"version":3,"file":"datasource.types.d.ts","sourceRoot":"","sources":["../../../src/datasource/datasource.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,QAAQ,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Datasource, DatasourceOptions } from '@genesislcap/foundation-comms';
|
|
2
2
|
import { JSONSerializer } from '@genesislcap/foundation-utils';
|
|
3
3
|
import { GridProBaseDatasource } from './base.datasource';
|
|
4
|
-
import { PagingMode } from './datasource.types';
|
|
5
4
|
declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
6
5
|
#_container: import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
7
6
|
#_latestTokenCode: string;
|
|
@@ -373,6 +372,10 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
|
373
372
|
* A Genesis Datasource element, for server-side | SSRM-compatible data fetching and used exclusively by the GridPro element.
|
|
374
373
|
* @remarks Only supports Server-Side Row Model. Requires `@ag-grid-enterprise/server-side-row-model` setup and valid AG Grid Enterprise license.
|
|
375
374
|
*
|
|
375
|
+
* **Supported resources**: DATASERVER resources, and REQUEST_SERVER (req/rep) resources that declare
|
|
376
|
+
* `criteriaOnlyRequest`. A req/rep resource without it reports a `resource-type` error and no
|
|
377
|
+
* datasource is attached to the grid.
|
|
378
|
+
*
|
|
376
379
|
* **Custom Sort Indicators**: This datasource automatically applies custom sort indicators that are always visible (instead of only on hover).
|
|
377
380
|
* Sortable columns will show a subtle sort icon even when not sorted, and active sort indicators will be more prominent.
|
|
378
381
|
* The custom styling uses AG Grid's native icon font for consistency with the grid theme.
|
|
@@ -402,24 +405,11 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
|
402
405
|
export declare class GridProServerSideDatasource extends GridProServerSideDatasource_base {
|
|
403
406
|
serializer: JSONSerializer;
|
|
404
407
|
pollingDatasource: Datasource;
|
|
405
|
-
/**
|
|
406
|
-
* The starting VIEW_NUMBER of the data to be fetched.
|
|
407
|
-
* @remarks The VIEW_NUMBER isincremented by the grid as the user scrolls or changes pages.
|
|
408
|
-
*/
|
|
409
|
-
zeroBasedViewNumber: boolean;
|
|
410
408
|
/**
|
|
411
409
|
* Enable live updates for the grid.
|
|
412
410
|
* @remarks Only works with DATASERVER resources (StreamDatasource) right now.
|
|
413
411
|
*/
|
|
414
412
|
liveUpdates: boolean;
|
|
415
|
-
/**
|
|
416
|
-
* The paging mode to use for data fetching.
|
|
417
|
-
* @remarks
|
|
418
|
-
* - "viewBased": Uses VIEW_NUMBER and NEXT_VIEW (1 by 1 increment)
|
|
419
|
-
* - "offsetBased": Uses OFFSET and NEXT_OFFSET (based on maxRows increment)
|
|
420
|
-
* - undefined: Auto-determines based on criteriaOnlyRequest availability
|
|
421
|
-
*/
|
|
422
|
-
pagingMode: PagingMode | undefined;
|
|
423
413
|
request: any;
|
|
424
414
|
private indexes;
|
|
425
415
|
private ssrmDatasource;
|
|
@@ -450,6 +440,29 @@ export declare class GridProServerSideDatasource extends GridProServerSideDataso
|
|
|
450
440
|
destroy(): Promise<void>;
|
|
451
441
|
restart(): Promise<void>;
|
|
452
442
|
private clearRowData;
|
|
443
|
+
/**
|
|
444
|
+
* Checks whether the resolved resource can be served through the Server-Side Row Model.
|
|
445
|
+
* @remarks
|
|
446
|
+
* REQUEST_SERVER (req/rep) resources are only supported when the request reply declares
|
|
447
|
+
* `criteriaOnlyRequest` (`CRITERIA_ONLY_REQUEST` in its metadata). SSRM drives a req/rep
|
|
448
|
+
* resource purely through `DETAILS` - `CRITERIA_MATCH` for the grid filter model, `ORDER_BY`
|
|
449
|
+
* for the sort model and `OFFSET` for paging - and sends an empty `REQUEST`
|
|
450
|
+
* payload. A request reply without `criteriaOnlyRequest` expects its inputs in `REQUEST`
|
|
451
|
+
* instead, so filtering, sorting and paging would silently do nothing.
|
|
452
|
+
*
|
|
453
|
+
* DATASERVER resources are always supported.
|
|
454
|
+
* @returns `true` when SSRM can be used, `false` after reporting a `resource-type` error.
|
|
455
|
+
* @internal
|
|
456
|
+
*/
|
|
457
|
+
private isSsrmSupportedForResource;
|
|
458
|
+
/**
|
|
459
|
+
* Leaves the grid with no server-side datasource, for a resource SSRM cannot serve.
|
|
460
|
+
* @remarks
|
|
461
|
+
* Clears any rows and hands the grid a `null` datasource, so AG Grid never calls `getRows()` for
|
|
462
|
+
* this resource.
|
|
463
|
+
* @internal
|
|
464
|
+
*/
|
|
465
|
+
private refuseServerSideDatasource;
|
|
453
466
|
private getResourceIndexes;
|
|
454
467
|
private createReqRepRequest;
|
|
455
468
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.datasource.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,UAAU,EACV,iBAAiB,EAYlB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,cAAc,EAEf,MAAM,+BAA+B,CAAC;AAYvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC
|
|
1
|
+
{"version":3,"file":"server-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.datasource.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,UAAU,EACV,iBAAiB,EAYlB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,cAAc,EAEf,MAAM,+BAA+B,CAAC;AAYvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;;;;;;;;kBA8DhC,CAAA;;;;;;;;8BAmBgD,CAAC,cAAe,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAgB3E,CAAC;4IAGwC,CAAA;wFAKlB,CAAC;+IAIT,CAAC;2FAGV,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwCqB,CAAC;;;;;;;;;;;;;;;;;;;;;;;mBA+CvB,CAAC;;;;;;;;;;;;;6BA2BT,CAAC;8BACgB,CAAC;kBAGjB,CAAC;;oBAEK,CAAC;;sBAMW,CAAC;oBAGE,CAAC;;;;;;;;gDAgB3B,CAAC;;;;;;;;;;;;;;;;;;uBA2BsC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAgFU,CAAC;yBAI7C,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;;;;;;;;;;;OAYG;YACW,kBAAkB;IA+BhC;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB,CAA+B;IAEzD;;;;;;;;;OASG;IACH,OAAO,CAAC,0BAA0B,CAAS;IAE3C;;;;;;OAMG;IACI,uBAAuB;IAM9B;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,wBAAwB;IAsEhC,OAAO,CAAC,yBAAyB;YAyCnB,sBAAsB;YA2DtB,eAAe;IAmBpB,gBAAgB,CAAC,WAAW,EAAE,GAAG,GAAG,GAAG;IAIvC,QAAQ;CAGlB"}
|
|
@@ -2,7 +2,6 @@ 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
|
-
import { PagingMode } from './datasource.types';
|
|
6
5
|
/**
|
|
7
6
|
* Base class for server-side resource datasources used in Grid Pro SSRM implementations.
|
|
8
7
|
* Provides common logic for filtering, sorting, and infinite-scroll row counting.
|
|
@@ -25,9 +24,6 @@ export declare abstract class BaseServerSideDatasource implements IServerSideDat
|
|
|
25
24
|
protected resourceColDefs: MetadataDetail[];
|
|
26
25
|
protected maxRows: number;
|
|
27
26
|
protected maxView: number;
|
|
28
|
-
protected zeroBasedViewNumber: boolean;
|
|
29
|
-
protected pagingMode?: PagingMode | undefined;
|
|
30
|
-
protected criteriaOnlyRequest?: boolean;
|
|
31
27
|
sourceRef: string;
|
|
32
28
|
lastSuccessRowData: LoadSuccessParams;
|
|
33
29
|
/**
|
|
@@ -106,16 +102,11 @@ export declare abstract class BaseServerSideDatasource implements IServerSideDat
|
|
|
106
102
|
protected criteriaForDateModel(k: string, model: any): string | null;
|
|
107
103
|
protected getFiltersByType(filterType: string): string[];
|
|
108
104
|
protected getCorrectRowCount(params: IServerSideGetRowsParams<any, any>): any;
|
|
109
|
-
protected get isNotFirstViewNumber(): boolean;
|
|
110
105
|
/** Completes an SSRM request with zero rows and invokes `onNoDataAvailableFunc` on the first block only. @internal */
|
|
111
106
|
protected completeEmptyResult(params: IServerSideGetRowsParams): void;
|
|
112
107
|
/** Invokes `onNoDataAvailableFunc` when the first SSRM block has no rows. @internal */
|
|
113
108
|
protected notifyNoDataAvailableIfEmpty(params: IServerSideGetRowsParams, successRowData: LoadSuccessParams): void;
|
|
114
109
|
protected notifyNoDataAvailable(): void;
|
|
115
110
|
protected notifyDataAvailable(): void;
|
|
116
|
-
/**
|
|
117
|
-
* Determines the effective paging mode based on criteriaOnlyRequest availability and user settings
|
|
118
|
-
*/
|
|
119
|
-
protected getEffectivePagingMode(): PagingMode;
|
|
120
111
|
}
|
|
121
112
|
//# sourceMappingURL=server-side.resource-base.d.ts.map
|
|
@@ -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,
|
|
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,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACjG,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAE3D;;;;;GAKG;AACH,8BAAsB,wBAAyB,YAAW,qBAAqB;IACvE,IAAI,EAAG,IAAI,CA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AE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,MAAM,GAAG,IAAI;IA4BpE,SAAS,CAAC,gBAAgB,CAAC,UAAU,EAAE,MAAM;IAM7C,SAAS,CAAC,kBAAkB,CAAC,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE,GAAG,CAAC;IAyBvE,sHAAsH;IACtH,SAAS,CAAC,mBAAmB,CAAC,MAAM,EAAE,wBAAwB,GAAG,IAAI;IAWrE,uFAAuF;IACvF,SAAS,CAAC,4BAA4B,CACpC,MAAM,EAAE,wBAAwB,EAChC,cAAc,EAAE,iBAAiB,GAChC,IAAI;IAWP,SAAS,CAAC,qBAAqB,IAAI,IAAI;IAIvC,SAAS,CAAC,mBAAmB,IAAI,IAAI;CAGtC"}
|
|
@@ -4,6 +4,15 @@ 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
|
+
* @remarks
|
|
8
|
+
* Only request replies supporting criteria-only requests (`criteriaOnlyRequest`) can be served this
|
|
9
|
+
* way: every SSRM concern is expressed through `DETAILS` (`CRITERIA_MATCH` for the filter model,
|
|
10
|
+
* `ORDER_BY` for the sort model, `OFFSET` for paging) with an empty `REQUEST` payload.
|
|
11
|
+
* {@link @genesislcap/grid-pro#GridProServerSideDatasource} enforces this before constructing the
|
|
12
|
+
* datasource.
|
|
13
|
+
*
|
|
14
|
+
* Paging is therefore always offset-based - `criteriaOnlyRequest` guarantees `OFFSET` support, so
|
|
15
|
+
* there is no `VIEW_NUMBER` fallback to choose between.
|
|
7
16
|
* @beta
|
|
8
17
|
*/
|
|
9
18
|
export declare class ReqRepServerSideDatasource extends BaseServerSideDatasource implements IServerSideDatasource {
|
|
@@ -49,17 +58,8 @@ export declare class ReqRepServerSideDatasource extends BaseServerSideDatasource
|
|
|
49
58
|
*/
|
|
50
59
|
private debouncedCreateStream;
|
|
51
60
|
private discoveredTotalRowCount;
|
|
52
|
-
private currentNextOffset;
|
|
53
61
|
constructor(options: ServerSideDatasourceOptions);
|
|
54
62
|
getRows(params: IServerSideGetRowsParams): Promise<void>;
|
|
55
|
-
/**
|
|
56
|
-
* Advance the view/offset position based on paging mode
|
|
57
|
-
*/
|
|
58
|
-
private advancePagingPosition;
|
|
59
|
-
/**
|
|
60
|
-
* Determine if this is the last view/page
|
|
61
|
-
*/
|
|
62
|
-
private determineIsLastView;
|
|
63
63
|
/**
|
|
64
64
|
* Schedules polling stream creation if enabled.
|
|
65
65
|
* @remarks
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side.resource-reqrep.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.resource-reqrep.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EAEzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,EAInB,iBAAiB,EAGlB,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"server-side.resource-reqrep.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.resource-reqrep.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EAEzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,EAInB,iBAAiB,EAGlB,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAOvE;;;;;;;;;;;;GAYG;AACH,qBAAa,0BACX,SAAQ,wBACR,YAAW,qBAAqB;IAEhC,uBAAuB,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,KAAK,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAEhF;;;OAGG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