@genesislcap/grid-pro 14.147.0 → 14.147.1-alpha-bc4deec.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.
|
@@ -5250,229 +5250,6 @@
|
|
|
5250
5250
|
}
|
|
5251
5251
|
]
|
|
5252
5252
|
},
|
|
5253
|
-
{
|
|
5254
|
-
"kind": "javascript-module",
|
|
5255
|
-
"path": "src/column/column.template.ts",
|
|
5256
|
-
"declarations": [
|
|
5257
|
-
{
|
|
5258
|
-
"kind": "variable",
|
|
5259
|
-
"name": "ColumnTemplate",
|
|
5260
|
-
"default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
|
|
5261
|
-
"description": "The Grid Pro Column Template.",
|
|
5262
|
-
"privacy": "public"
|
|
5263
|
-
}
|
|
5264
|
-
],
|
|
5265
|
-
"exports": [
|
|
5266
|
-
{
|
|
5267
|
-
"kind": "js",
|
|
5268
|
-
"name": "ColumnTemplate",
|
|
5269
|
-
"declaration": {
|
|
5270
|
-
"name": "ColumnTemplate",
|
|
5271
|
-
"module": "src/column/column.template.ts"
|
|
5272
|
-
}
|
|
5273
|
-
}
|
|
5274
|
-
]
|
|
5275
|
-
},
|
|
5276
|
-
{
|
|
5277
|
-
"kind": "javascript-module",
|
|
5278
|
-
"path": "src/column/column.ts",
|
|
5279
|
-
"declarations": [
|
|
5280
|
-
{
|
|
5281
|
-
"kind": "class",
|
|
5282
|
-
"description": "The Grid Pro Column element.",
|
|
5283
|
-
"name": "GridProColumn",
|
|
5284
|
-
"members": [
|
|
5285
|
-
{
|
|
5286
|
-
"kind": "field",
|
|
5287
|
-
"name": "slottedAgCell",
|
|
5288
|
-
"type": {
|
|
5289
|
-
"text": "HTMLElement[]"
|
|
5290
|
-
},
|
|
5291
|
-
"privacy": "public"
|
|
5292
|
-
},
|
|
5293
|
-
{
|
|
5294
|
-
"kind": "field",
|
|
5295
|
-
"name": "definition",
|
|
5296
|
-
"type": {
|
|
5297
|
-
"text": "ColDef"
|
|
5298
|
-
},
|
|
5299
|
-
"default": "{}"
|
|
5300
|
-
},
|
|
5301
|
-
{
|
|
5302
|
-
"kind": "method",
|
|
5303
|
-
"name": "slottedAgCellChanged",
|
|
5304
|
-
"privacy": "public"
|
|
5305
|
-
},
|
|
5306
|
-
{
|
|
5307
|
-
"kind": "field",
|
|
5308
|
-
"name": "_presentation",
|
|
5309
|
-
"type": {
|
|
5310
|
-
"text": "ComponentPresentation | null | undefined"
|
|
5311
|
-
},
|
|
5312
|
-
"privacy": "private",
|
|
5313
|
-
"default": "void 0",
|
|
5314
|
-
"inheritedFrom": {
|
|
5315
|
-
"name": "FoundationElement",
|
|
5316
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
5317
|
-
}
|
|
5318
|
-
},
|
|
5319
|
-
{
|
|
5320
|
-
"kind": "field",
|
|
5321
|
-
"name": "$presentation",
|
|
5322
|
-
"type": {
|
|
5323
|
-
"text": "ComponentPresentation | null"
|
|
5324
|
-
},
|
|
5325
|
-
"privacy": "public",
|
|
5326
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
5327
|
-
"inheritedFrom": {
|
|
5328
|
-
"name": "FoundationElement",
|
|
5329
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
5330
|
-
}
|
|
5331
|
-
},
|
|
5332
|
-
{
|
|
5333
|
-
"kind": "field",
|
|
5334
|
-
"name": "template",
|
|
5335
|
-
"type": {
|
|
5336
|
-
"text": "ElementViewTemplate | void | null"
|
|
5337
|
-
},
|
|
5338
|
-
"privacy": "public",
|
|
5339
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
5340
|
-
"inheritedFrom": {
|
|
5341
|
-
"name": "FoundationElement",
|
|
5342
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
5343
|
-
}
|
|
5344
|
-
},
|
|
5345
|
-
{
|
|
5346
|
-
"kind": "method",
|
|
5347
|
-
"name": "templateChanged",
|
|
5348
|
-
"privacy": "protected",
|
|
5349
|
-
"return": {
|
|
5350
|
-
"type": {
|
|
5351
|
-
"text": "void"
|
|
5352
|
-
}
|
|
5353
|
-
},
|
|
5354
|
-
"inheritedFrom": {
|
|
5355
|
-
"name": "FoundationElement",
|
|
5356
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
5357
|
-
}
|
|
5358
|
-
},
|
|
5359
|
-
{
|
|
5360
|
-
"kind": "field",
|
|
5361
|
-
"name": "styles",
|
|
5362
|
-
"type": {
|
|
5363
|
-
"text": "ElementStyles | void | null"
|
|
5364
|
-
},
|
|
5365
|
-
"privacy": "public",
|
|
5366
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
5367
|
-
"inheritedFrom": {
|
|
5368
|
-
"name": "FoundationElement",
|
|
5369
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
5370
|
-
}
|
|
5371
|
-
},
|
|
5372
|
-
{
|
|
5373
|
-
"kind": "method",
|
|
5374
|
-
"name": "stylesChanged",
|
|
5375
|
-
"privacy": "protected",
|
|
5376
|
-
"return": {
|
|
5377
|
-
"type": {
|
|
5378
|
-
"text": "void"
|
|
5379
|
-
}
|
|
5380
|
-
},
|
|
5381
|
-
"inheritedFrom": {
|
|
5382
|
-
"name": "FoundationElement",
|
|
5383
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
5384
|
-
}
|
|
5385
|
-
},
|
|
5386
|
-
{
|
|
5387
|
-
"kind": "method",
|
|
5388
|
-
"name": "compose",
|
|
5389
|
-
"privacy": "public",
|
|
5390
|
-
"static": true,
|
|
5391
|
-
"return": {
|
|
5392
|
-
"type": {
|
|
5393
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
5394
|
-
}
|
|
5395
|
-
},
|
|
5396
|
-
"parameters": [
|
|
5397
|
-
{
|
|
5398
|
-
"name": "this",
|
|
5399
|
-
"type": {
|
|
5400
|
-
"text": "K"
|
|
5401
|
-
}
|
|
5402
|
-
},
|
|
5403
|
-
{
|
|
5404
|
-
"name": "elementDefinition",
|
|
5405
|
-
"type": {
|
|
5406
|
-
"text": "T"
|
|
5407
|
-
},
|
|
5408
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
5409
|
-
}
|
|
5410
|
-
],
|
|
5411
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
5412
|
-
"inheritedFrom": {
|
|
5413
|
-
"name": "FoundationElement",
|
|
5414
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
5415
|
-
}
|
|
5416
|
-
}
|
|
5417
|
-
],
|
|
5418
|
-
"superclass": {
|
|
5419
|
-
"name": "FoundationElement",
|
|
5420
|
-
"package": "@microsoft/fast-foundation"
|
|
5421
|
-
},
|
|
5422
|
-
"tagName": "grid-pro-column",
|
|
5423
|
-
"customElement": true
|
|
5424
|
-
}
|
|
5425
|
-
],
|
|
5426
|
-
"exports": [
|
|
5427
|
-
{
|
|
5428
|
-
"kind": "js",
|
|
5429
|
-
"name": "GridProColumn",
|
|
5430
|
-
"declaration": {
|
|
5431
|
-
"name": "GridProColumn",
|
|
5432
|
-
"module": "src/column/column.ts"
|
|
5433
|
-
}
|
|
5434
|
-
},
|
|
5435
|
-
{
|
|
5436
|
-
"kind": "custom-element-definition",
|
|
5437
|
-
"name": "grid-pro-column",
|
|
5438
|
-
"declaration": {
|
|
5439
|
-
"name": "GridProColumn",
|
|
5440
|
-
"module": "src/column/column.ts"
|
|
5441
|
-
}
|
|
5442
|
-
}
|
|
5443
|
-
]
|
|
5444
|
-
},
|
|
5445
|
-
{
|
|
5446
|
-
"kind": "javascript-module",
|
|
5447
|
-
"path": "src/column/index.ts",
|
|
5448
|
-
"declarations": [],
|
|
5449
|
-
"exports": [
|
|
5450
|
-
{
|
|
5451
|
-
"kind": "js",
|
|
5452
|
-
"name": "*",
|
|
5453
|
-
"declaration": {
|
|
5454
|
-
"name": "*",
|
|
5455
|
-
"package": "./column.template"
|
|
5456
|
-
}
|
|
5457
|
-
},
|
|
5458
|
-
{
|
|
5459
|
-
"kind": "js",
|
|
5460
|
-
"name": "*",
|
|
5461
|
-
"declaration": {
|
|
5462
|
-
"name": "*",
|
|
5463
|
-
"package": "./column"
|
|
5464
|
-
}
|
|
5465
|
-
},
|
|
5466
|
-
{
|
|
5467
|
-
"kind": "js",
|
|
5468
|
-
"name": "*",
|
|
5469
|
-
"declaration": {
|
|
5470
|
-
"name": "*",
|
|
5471
|
-
"package": "./utils"
|
|
5472
|
-
}
|
|
5473
|
-
}
|
|
5474
|
-
]
|
|
5475
|
-
},
|
|
5476
5253
|
{
|
|
5477
5254
|
"kind": "javascript-module",
|
|
5478
5255
|
"path": "src/datasource/base.datasource.ts",
|
|
@@ -7955,6 +7732,42 @@
|
|
|
7955
7732
|
}
|
|
7956
7733
|
]
|
|
7957
7734
|
},
|
|
7735
|
+
{
|
|
7736
|
+
"kind": "method",
|
|
7737
|
+
"name": "getAvailableIndexes",
|
|
7738
|
+
"privacy": "private",
|
|
7739
|
+
"return": {
|
|
7740
|
+
"type": {
|
|
7741
|
+
"text": "string[]"
|
|
7742
|
+
}
|
|
7743
|
+
},
|
|
7744
|
+
"parameters": [
|
|
7745
|
+
{
|
|
7746
|
+
"name": "data",
|
|
7747
|
+
"type": {
|
|
7748
|
+
"text": "Map<string, [string]>"
|
|
7749
|
+
}
|
|
7750
|
+
}
|
|
7751
|
+
]
|
|
7752
|
+
},
|
|
7753
|
+
{
|
|
7754
|
+
"kind": "method",
|
|
7755
|
+
"name": "getAvailableIndexFields",
|
|
7756
|
+
"privacy": "private",
|
|
7757
|
+
"return": {
|
|
7758
|
+
"type": {
|
|
7759
|
+
"text": "string[]"
|
|
7760
|
+
}
|
|
7761
|
+
},
|
|
7762
|
+
"parameters": [
|
|
7763
|
+
{
|
|
7764
|
+
"name": "data",
|
|
7765
|
+
"type": {
|
|
7766
|
+
"text": "Map<string, [string]>"
|
|
7767
|
+
}
|
|
7768
|
+
}
|
|
7769
|
+
]
|
|
7770
|
+
},
|
|
7958
7771
|
{
|
|
7959
7772
|
"kind": "method",
|
|
7960
7773
|
"name": "handleCurrentStreamLoad",
|
|
@@ -9095,6 +8908,229 @@
|
|
|
9095
8908
|
}
|
|
9096
8909
|
]
|
|
9097
8910
|
},
|
|
8911
|
+
{
|
|
8912
|
+
"kind": "javascript-module",
|
|
8913
|
+
"path": "src/column/column.template.ts",
|
|
8914
|
+
"declarations": [
|
|
8915
|
+
{
|
|
8916
|
+
"kind": "variable",
|
|
8917
|
+
"name": "ColumnTemplate",
|
|
8918
|
+
"default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
|
|
8919
|
+
"description": "The Grid Pro Column Template.",
|
|
8920
|
+
"privacy": "public"
|
|
8921
|
+
}
|
|
8922
|
+
],
|
|
8923
|
+
"exports": [
|
|
8924
|
+
{
|
|
8925
|
+
"kind": "js",
|
|
8926
|
+
"name": "ColumnTemplate",
|
|
8927
|
+
"declaration": {
|
|
8928
|
+
"name": "ColumnTemplate",
|
|
8929
|
+
"module": "src/column/column.template.ts"
|
|
8930
|
+
}
|
|
8931
|
+
}
|
|
8932
|
+
]
|
|
8933
|
+
},
|
|
8934
|
+
{
|
|
8935
|
+
"kind": "javascript-module",
|
|
8936
|
+
"path": "src/column/column.ts",
|
|
8937
|
+
"declarations": [
|
|
8938
|
+
{
|
|
8939
|
+
"kind": "class",
|
|
8940
|
+
"description": "The Grid Pro Column element.",
|
|
8941
|
+
"name": "GridProColumn",
|
|
8942
|
+
"members": [
|
|
8943
|
+
{
|
|
8944
|
+
"kind": "field",
|
|
8945
|
+
"name": "slottedAgCell",
|
|
8946
|
+
"type": {
|
|
8947
|
+
"text": "HTMLElement[]"
|
|
8948
|
+
},
|
|
8949
|
+
"privacy": "public"
|
|
8950
|
+
},
|
|
8951
|
+
{
|
|
8952
|
+
"kind": "field",
|
|
8953
|
+
"name": "definition",
|
|
8954
|
+
"type": {
|
|
8955
|
+
"text": "ColDef"
|
|
8956
|
+
},
|
|
8957
|
+
"default": "{}"
|
|
8958
|
+
},
|
|
8959
|
+
{
|
|
8960
|
+
"kind": "method",
|
|
8961
|
+
"name": "slottedAgCellChanged",
|
|
8962
|
+
"privacy": "public"
|
|
8963
|
+
},
|
|
8964
|
+
{
|
|
8965
|
+
"kind": "field",
|
|
8966
|
+
"name": "_presentation",
|
|
8967
|
+
"type": {
|
|
8968
|
+
"text": "ComponentPresentation | null | undefined"
|
|
8969
|
+
},
|
|
8970
|
+
"privacy": "private",
|
|
8971
|
+
"default": "void 0",
|
|
8972
|
+
"inheritedFrom": {
|
|
8973
|
+
"name": "FoundationElement",
|
|
8974
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
8975
|
+
}
|
|
8976
|
+
},
|
|
8977
|
+
{
|
|
8978
|
+
"kind": "field",
|
|
8979
|
+
"name": "$presentation",
|
|
8980
|
+
"type": {
|
|
8981
|
+
"text": "ComponentPresentation | null"
|
|
8982
|
+
},
|
|
8983
|
+
"privacy": "public",
|
|
8984
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
8985
|
+
"inheritedFrom": {
|
|
8986
|
+
"name": "FoundationElement",
|
|
8987
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
8988
|
+
}
|
|
8989
|
+
},
|
|
8990
|
+
{
|
|
8991
|
+
"kind": "field",
|
|
8992
|
+
"name": "template",
|
|
8993
|
+
"type": {
|
|
8994
|
+
"text": "ElementViewTemplate | void | null"
|
|
8995
|
+
},
|
|
8996
|
+
"privacy": "public",
|
|
8997
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
8998
|
+
"inheritedFrom": {
|
|
8999
|
+
"name": "FoundationElement",
|
|
9000
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
9001
|
+
}
|
|
9002
|
+
},
|
|
9003
|
+
{
|
|
9004
|
+
"kind": "method",
|
|
9005
|
+
"name": "templateChanged",
|
|
9006
|
+
"privacy": "protected",
|
|
9007
|
+
"return": {
|
|
9008
|
+
"type": {
|
|
9009
|
+
"text": "void"
|
|
9010
|
+
}
|
|
9011
|
+
},
|
|
9012
|
+
"inheritedFrom": {
|
|
9013
|
+
"name": "FoundationElement",
|
|
9014
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
9015
|
+
}
|
|
9016
|
+
},
|
|
9017
|
+
{
|
|
9018
|
+
"kind": "field",
|
|
9019
|
+
"name": "styles",
|
|
9020
|
+
"type": {
|
|
9021
|
+
"text": "ElementStyles | void | null"
|
|
9022
|
+
},
|
|
9023
|
+
"privacy": "public",
|
|
9024
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
9025
|
+
"inheritedFrom": {
|
|
9026
|
+
"name": "FoundationElement",
|
|
9027
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
9028
|
+
}
|
|
9029
|
+
},
|
|
9030
|
+
{
|
|
9031
|
+
"kind": "method",
|
|
9032
|
+
"name": "stylesChanged",
|
|
9033
|
+
"privacy": "protected",
|
|
9034
|
+
"return": {
|
|
9035
|
+
"type": {
|
|
9036
|
+
"text": "void"
|
|
9037
|
+
}
|
|
9038
|
+
},
|
|
9039
|
+
"inheritedFrom": {
|
|
9040
|
+
"name": "FoundationElement",
|
|
9041
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
9042
|
+
}
|
|
9043
|
+
},
|
|
9044
|
+
{
|
|
9045
|
+
"kind": "method",
|
|
9046
|
+
"name": "compose",
|
|
9047
|
+
"privacy": "public",
|
|
9048
|
+
"static": true,
|
|
9049
|
+
"return": {
|
|
9050
|
+
"type": {
|
|
9051
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
9052
|
+
}
|
|
9053
|
+
},
|
|
9054
|
+
"parameters": [
|
|
9055
|
+
{
|
|
9056
|
+
"name": "this",
|
|
9057
|
+
"type": {
|
|
9058
|
+
"text": "K"
|
|
9059
|
+
}
|
|
9060
|
+
},
|
|
9061
|
+
{
|
|
9062
|
+
"name": "elementDefinition",
|
|
9063
|
+
"type": {
|
|
9064
|
+
"text": "T"
|
|
9065
|
+
},
|
|
9066
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
9067
|
+
}
|
|
9068
|
+
],
|
|
9069
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
9070
|
+
"inheritedFrom": {
|
|
9071
|
+
"name": "FoundationElement",
|
|
9072
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
9073
|
+
}
|
|
9074
|
+
}
|
|
9075
|
+
],
|
|
9076
|
+
"superclass": {
|
|
9077
|
+
"name": "FoundationElement",
|
|
9078
|
+
"package": "@microsoft/fast-foundation"
|
|
9079
|
+
},
|
|
9080
|
+
"tagName": "grid-pro-column",
|
|
9081
|
+
"customElement": true
|
|
9082
|
+
}
|
|
9083
|
+
],
|
|
9084
|
+
"exports": [
|
|
9085
|
+
{
|
|
9086
|
+
"kind": "js",
|
|
9087
|
+
"name": "GridProColumn",
|
|
9088
|
+
"declaration": {
|
|
9089
|
+
"name": "GridProColumn",
|
|
9090
|
+
"module": "src/column/column.ts"
|
|
9091
|
+
}
|
|
9092
|
+
},
|
|
9093
|
+
{
|
|
9094
|
+
"kind": "custom-element-definition",
|
|
9095
|
+
"name": "grid-pro-column",
|
|
9096
|
+
"declaration": {
|
|
9097
|
+
"name": "GridProColumn",
|
|
9098
|
+
"module": "src/column/column.ts"
|
|
9099
|
+
}
|
|
9100
|
+
}
|
|
9101
|
+
]
|
|
9102
|
+
},
|
|
9103
|
+
{
|
|
9104
|
+
"kind": "javascript-module",
|
|
9105
|
+
"path": "src/column/index.ts",
|
|
9106
|
+
"declarations": [],
|
|
9107
|
+
"exports": [
|
|
9108
|
+
{
|
|
9109
|
+
"kind": "js",
|
|
9110
|
+
"name": "*",
|
|
9111
|
+
"declaration": {
|
|
9112
|
+
"name": "*",
|
|
9113
|
+
"package": "./column.template"
|
|
9114
|
+
}
|
|
9115
|
+
},
|
|
9116
|
+
{
|
|
9117
|
+
"kind": "js",
|
|
9118
|
+
"name": "*",
|
|
9119
|
+
"declaration": {
|
|
9120
|
+
"name": "*",
|
|
9121
|
+
"package": "./column"
|
|
9122
|
+
}
|
|
9123
|
+
},
|
|
9124
|
+
{
|
|
9125
|
+
"kind": "js",
|
|
9126
|
+
"name": "*",
|
|
9127
|
+
"declaration": {
|
|
9128
|
+
"name": "*",
|
|
9129
|
+
"package": "./utils"
|
|
9130
|
+
}
|
|
9131
|
+
}
|
|
9132
|
+
]
|
|
9133
|
+
},
|
|
9098
9134
|
{
|
|
9099
9135
|
"kind": "javascript-module",
|
|
9100
9136
|
"path": "src/external/ag-grid-css.ts",
|
|
@@ -56,6 +56,8 @@ export declare class StreamDatasource extends StreamBaseDatasource implements IS
|
|
|
56
56
|
private dataLogoff;
|
|
57
57
|
private restartSubscription;
|
|
58
58
|
private getOrderByAndToBeSortedColIds;
|
|
59
|
+
private getAvailableIndexes;
|
|
60
|
+
private getAvailableIndexFields;
|
|
59
61
|
private handleCurrentStreamLoad;
|
|
60
62
|
private buildCriteriaMatchFromFilters;
|
|
61
63
|
private criteriaFromFilters;
|
|
@@ -212,11 +214,6 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
|
212
214
|
readonly DOCUMENT_TYPE_NODE: number;
|
|
213
215
|
readonly ELEMENT_NODE: number;
|
|
214
216
|
readonly ENTITY_NODE: number;
|
|
215
|
-
/**
|
|
216
|
-
* A Genesis Datasource element, for server-side | SSRM-compatible data fetching and used exclusively by the GridPro element.
|
|
217
|
-
* @remarks Only supports Server-Side Row Model. Requires `@ag-grid-enterprise/server-side-row-model` setup and valid AG Grid Enterprise license.
|
|
218
|
-
* @alpha
|
|
219
|
-
*/
|
|
220
217
|
readonly ENTITY_REFERENCE_NODE: number;
|
|
221
218
|
readonly NOTATION_NODE: number;
|
|
222
219
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.datasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,qBAAqB,EACrB,wBAAwB,EACxB,mBAAmB,EAEnB,kBAAkB,EAClB,2BAA2B,EAG5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,IAAI,EACJ,OAAO,EAKP,wBAAwB,EAIxB,cAAc,EAGd,gBAAgB,EAEjB,MAAM,+BAA+B,CAAC;AAQvC,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAOhF;;;;;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,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,oBAAqB,YAAW,qBAAqB;IACnF,IAAI,EAAG,IAAI,CAAC;IACT,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,CAAS;IACxB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,UAAU,CAAU;IAE5B,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,iBAAiB,SAAK;IAEtB;;;OAGG;IACH,iBAAiB,SAAK;IAEtB,OAAO,CAAC,QAAQ,CAAS;IAEzB,OAAO,CAAC,mBAAmB,CAAK;IAChC,OAAO,CAAC,cAAc,CAAK;IAE3B,OAAO,CAAC,kBAAkB,CAAM;IAChC,OAAO,CAAC,qBAAqB,CAAoB;IACjD,OAAO,CAAC,gBAAgB,CAAkB;gBAE9B,OAAO,EAAE,uBAAuB;IAiBtC,OAAO,CAAC,MAAM,EAAE,wBAAwB;
|
|
1
|
+
{"version":3,"file":"server-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.datasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,qBAAqB,EACrB,wBAAwB,EACxB,mBAAmB,EAEnB,kBAAkB,EAClB,2BAA2B,EAG5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,IAAI,EACJ,OAAO,EAKP,wBAAwB,EAIxB,cAAc,EAGd,gBAAgB,EAEjB,MAAM,+BAA+B,CAAC;AAQvC,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAOhF;;;;;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,EAA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coldIdBeingSorted = this.currentSortModel[0].colId; // Not allowing multiple sorts by user
|
|
73
73
|
const sortTypeBeingApplied = this.currentSortModel[0].sort;
|
|
74
74
|
const orderByAndToBeSortedColIds = this.getOrderByAndToBeSortedColIds(this.resourceIndexes, coldIdBeingSorted);
|
|
75
|
-
orderByAndToBeSortedColIds
|
|
76
|
-
this.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
75
|
+
if (!orderByAndToBeSortedColIds) {
|
|
76
|
+
const availableIndexes = this.getAvailableIndexes(this.resourceIndexes);
|
|
77
|
+
const availableIndexFields = this.getAvailableIndexFields(this.resourceIndexes);
|
|
78
|
+
logger.warn('The FIELD/column (${coldIdBeingSorted}) being sorted is not part of an INDEX, required for the [orderBy] operation. See https://learn.genesis.global/docs/database/data-types/index-entities/');
|
|
79
|
+
logger.debug('Available indexes:', availableIndexes);
|
|
80
|
+
logger.debug('Columns that can be sorted with the available indexes:', availableIndexFields);
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
orderByAndToBeSortedColIds.toBeSorted.forEach((colId) => {
|
|
84
|
+
this.currentSortModel.push({ sort: sortTypeBeingApplied, colId });
|
|
85
|
+
});
|
|
86
|
+
this.resourceParams.ORDER_BY = orderByAndToBeSortedColIds.orderBy;
|
|
87
|
+
this.resourceParams.REVERSE = sortTypeBeingApplied === 'desc' ? true : false;
|
|
88
|
+
this.restartSubscription();
|
|
89
|
+
}
|
|
81
90
|
}
|
|
82
91
|
}
|
|
83
92
|
if (this.moreRows && params.request.startRow >= Number(this.maxRows)) {
|
|
@@ -163,6 +172,31 @@ export class StreamDatasource extends StreamBaseDatasource {
|
|
|
163
172
|
}
|
|
164
173
|
}
|
|
165
174
|
}
|
|
175
|
+
getAvailableIndexes(data) {
|
|
176
|
+
const availabeIndexes = [];
|
|
177
|
+
for (const [key] of data) {
|
|
178
|
+
if (key) {
|
|
179
|
+
availabeIndexes.push(key);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
return availabeIndexes;
|
|
183
|
+
}
|
|
184
|
+
getAvailableIndexFields(data) {
|
|
185
|
+
const innermostValues = [];
|
|
186
|
+
function traverse(items) {
|
|
187
|
+
for (const item of items) {
|
|
188
|
+
if (item !== null) {
|
|
189
|
+
innermostValues.push(item);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
for (const [key, value] of data) {
|
|
194
|
+
if (key !== null && value !== null) {
|
|
195
|
+
traverse(value);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
return innermostValues;
|
|
199
|
+
}
|
|
166
200
|
handleCurrentStreamLoad(result) {
|
|
167
201
|
var _a;
|
|
168
202
|
if (!result)
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -2343,11 +2343,6 @@ declare const GridProServerSideDatasource_base: (new (...args: any[]) => {
|
|
|
2343
2343
|
readonly DOCUMENT_TYPE_NODE: number;
|
|
2344
2344
|
readonly ELEMENT_NODE: number;
|
|
2345
2345
|
readonly ENTITY_NODE: number;
|
|
2346
|
-
/**
|
|
2347
|
-
* A Genesis Datasource element, for server-side | SSRM-compatible data fetching and used exclusively by the GridPro element.
|
|
2348
|
-
* @remarks Only supports Server-Side Row Model. Requires `@ag-grid-enterprise/server-side-row-model` setup and valid AG Grid Enterprise license.
|
|
2349
|
-
* @alpha
|
|
2350
|
-
*/
|
|
2351
2346
|
readonly ENTITY_REFERENCE_NODE: number;
|
|
2352
2347
|
readonly NOTATION_NODE: number;
|
|
2353
2348
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
@@ -2709,6 +2704,8 @@ export declare class StreamDatasource extends StreamBaseDatasource implements IS
|
|
|
2709
2704
|
private dataLogoff;
|
|
2710
2705
|
private restartSubscription;
|
|
2711
2706
|
private getOrderByAndToBeSortedColIds;
|
|
2707
|
+
private getAvailableIndexes;
|
|
2708
|
+
private getAvailableIndexFields;
|
|
2712
2709
|
private handleCurrentStreamLoad;
|
|
2713
2710
|
private buildCriteriaMatchFromFilters;
|
|
2714
2711
|
private criteriaFromFilters;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/grid-pro",
|
|
3
3
|
"description": "Genesis Foundation AG Grid",
|
|
4
|
-
"version": "14.147.0",
|
|
4
|
+
"version": "14.147.1-alpha-bc4deec.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
"test:debug": "genx test --debug"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@genesislcap/foundation-testing": "14.147.0",
|
|
34
|
-
"@genesislcap/genx": "14.147.0",
|
|
35
|
-
"@genesislcap/rollup-builder": "14.147.0",
|
|
36
|
-
"@genesislcap/ts-builder": "14.147.0",
|
|
37
|
-
"@genesislcap/uvu-playwright-builder": "14.147.0",
|
|
38
|
-
"@genesislcap/vite-builder": "14.147.0",
|
|
39
|
-
"@genesislcap/webpack-builder": "14.147.0",
|
|
33
|
+
"@genesislcap/foundation-testing": "14.147.1-alpha-bc4deec.0",
|
|
34
|
+
"@genesislcap/genx": "14.147.1-alpha-bc4deec.0",
|
|
35
|
+
"@genesislcap/rollup-builder": "14.147.1-alpha-bc4deec.0",
|
|
36
|
+
"@genesislcap/ts-builder": "14.147.1-alpha-bc4deec.0",
|
|
37
|
+
"@genesislcap/uvu-playwright-builder": "14.147.1-alpha-bc4deec.0",
|
|
38
|
+
"@genesislcap/vite-builder": "14.147.1-alpha-bc4deec.0",
|
|
39
|
+
"@genesislcap/webpack-builder": "14.147.1-alpha-bc4deec.0",
|
|
40
40
|
"rimraf": "^3.0.2"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@genesislcap/foundation-comms": "14.147.0",
|
|
44
|
-
"@genesislcap/foundation-logger": "14.147.0",
|
|
45
|
-
"@genesislcap/foundation-ui": "14.147.0",
|
|
46
|
-
"@genesislcap/foundation-utils": "14.147.0",
|
|
43
|
+
"@genesislcap/foundation-comms": "14.147.1-alpha-bc4deec.0",
|
|
44
|
+
"@genesislcap/foundation-logger": "14.147.1-alpha-bc4deec.0",
|
|
45
|
+
"@genesislcap/foundation-ui": "14.147.1-alpha-bc4deec.0",
|
|
46
|
+
"@genesislcap/foundation-utils": "14.147.1-alpha-bc4deec.0",
|
|
47
47
|
"@microsoft/fast-colors": "^5.3.1",
|
|
48
48
|
"@microsoft/fast-components": "^2.30.6",
|
|
49
49
|
"@microsoft/fast-element": "^1.12.0",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
70
|
"customElements": "dist/custom-elements.json",
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "5f487868bb64bf833d81296fd70423c32398b03c"
|
|
72
72
|
}
|