@genesislcap/grid-pro 14.127.2 → 14.127.3
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 +404 -382
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +9 -14
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +33 -5
- package/dist/grid-pro.d.ts +9 -14
- package/package.json +8 -8
|
@@ -3264,6 +3264,229 @@
|
|
|
3264
3264
|
}
|
|
3265
3265
|
]
|
|
3266
3266
|
},
|
|
3267
|
+
{
|
|
3268
|
+
"kind": "javascript-module",
|
|
3269
|
+
"path": "src/column/column.template.ts",
|
|
3270
|
+
"declarations": [
|
|
3271
|
+
{
|
|
3272
|
+
"kind": "variable",
|
|
3273
|
+
"name": "ColumnTemplate",
|
|
3274
|
+
"default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
|
|
3275
|
+
"description": "The Grid Pro Column Template.",
|
|
3276
|
+
"privacy": "public"
|
|
3277
|
+
}
|
|
3278
|
+
],
|
|
3279
|
+
"exports": [
|
|
3280
|
+
{
|
|
3281
|
+
"kind": "js",
|
|
3282
|
+
"name": "ColumnTemplate",
|
|
3283
|
+
"declaration": {
|
|
3284
|
+
"name": "ColumnTemplate",
|
|
3285
|
+
"module": "src/column/column.template.ts"
|
|
3286
|
+
}
|
|
3287
|
+
}
|
|
3288
|
+
]
|
|
3289
|
+
},
|
|
3290
|
+
{
|
|
3291
|
+
"kind": "javascript-module",
|
|
3292
|
+
"path": "src/column/column.ts",
|
|
3293
|
+
"declarations": [
|
|
3294
|
+
{
|
|
3295
|
+
"kind": "class",
|
|
3296
|
+
"description": "The Grid Pro Column element.",
|
|
3297
|
+
"name": "GridProColumn",
|
|
3298
|
+
"members": [
|
|
3299
|
+
{
|
|
3300
|
+
"kind": "field",
|
|
3301
|
+
"name": "slottedAgCell",
|
|
3302
|
+
"type": {
|
|
3303
|
+
"text": "HTMLElement[]"
|
|
3304
|
+
},
|
|
3305
|
+
"privacy": "public"
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"kind": "field",
|
|
3309
|
+
"name": "definition",
|
|
3310
|
+
"type": {
|
|
3311
|
+
"text": "ColDef"
|
|
3312
|
+
},
|
|
3313
|
+
"default": "{}"
|
|
3314
|
+
},
|
|
3315
|
+
{
|
|
3316
|
+
"kind": "method",
|
|
3317
|
+
"name": "slottedAgCellChanged",
|
|
3318
|
+
"privacy": "public"
|
|
3319
|
+
},
|
|
3320
|
+
{
|
|
3321
|
+
"kind": "field",
|
|
3322
|
+
"name": "_presentation",
|
|
3323
|
+
"type": {
|
|
3324
|
+
"text": "ComponentPresentation | null | undefined"
|
|
3325
|
+
},
|
|
3326
|
+
"privacy": "private",
|
|
3327
|
+
"default": "void 0",
|
|
3328
|
+
"inheritedFrom": {
|
|
3329
|
+
"name": "FoundationElement",
|
|
3330
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3331
|
+
}
|
|
3332
|
+
},
|
|
3333
|
+
{
|
|
3334
|
+
"kind": "field",
|
|
3335
|
+
"name": "$presentation",
|
|
3336
|
+
"type": {
|
|
3337
|
+
"text": "ComponentPresentation | null"
|
|
3338
|
+
},
|
|
3339
|
+
"privacy": "public",
|
|
3340
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
3341
|
+
"inheritedFrom": {
|
|
3342
|
+
"name": "FoundationElement",
|
|
3343
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3344
|
+
}
|
|
3345
|
+
},
|
|
3346
|
+
{
|
|
3347
|
+
"kind": "field",
|
|
3348
|
+
"name": "template",
|
|
3349
|
+
"type": {
|
|
3350
|
+
"text": "ElementViewTemplate | void | null"
|
|
3351
|
+
},
|
|
3352
|
+
"privacy": "public",
|
|
3353
|
+
"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.",
|
|
3354
|
+
"inheritedFrom": {
|
|
3355
|
+
"name": "FoundationElement",
|
|
3356
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3357
|
+
}
|
|
3358
|
+
},
|
|
3359
|
+
{
|
|
3360
|
+
"kind": "method",
|
|
3361
|
+
"name": "templateChanged",
|
|
3362
|
+
"privacy": "protected",
|
|
3363
|
+
"return": {
|
|
3364
|
+
"type": {
|
|
3365
|
+
"text": "void"
|
|
3366
|
+
}
|
|
3367
|
+
},
|
|
3368
|
+
"inheritedFrom": {
|
|
3369
|
+
"name": "FoundationElement",
|
|
3370
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3371
|
+
}
|
|
3372
|
+
},
|
|
3373
|
+
{
|
|
3374
|
+
"kind": "field",
|
|
3375
|
+
"name": "styles",
|
|
3376
|
+
"type": {
|
|
3377
|
+
"text": "ElementStyles | void | null"
|
|
3378
|
+
},
|
|
3379
|
+
"privacy": "public",
|
|
3380
|
+
"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.",
|
|
3381
|
+
"inheritedFrom": {
|
|
3382
|
+
"name": "FoundationElement",
|
|
3383
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3384
|
+
}
|
|
3385
|
+
},
|
|
3386
|
+
{
|
|
3387
|
+
"kind": "method",
|
|
3388
|
+
"name": "stylesChanged",
|
|
3389
|
+
"privacy": "protected",
|
|
3390
|
+
"return": {
|
|
3391
|
+
"type": {
|
|
3392
|
+
"text": "void"
|
|
3393
|
+
}
|
|
3394
|
+
},
|
|
3395
|
+
"inheritedFrom": {
|
|
3396
|
+
"name": "FoundationElement",
|
|
3397
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3398
|
+
}
|
|
3399
|
+
},
|
|
3400
|
+
{
|
|
3401
|
+
"kind": "method",
|
|
3402
|
+
"name": "compose",
|
|
3403
|
+
"privacy": "public",
|
|
3404
|
+
"static": true,
|
|
3405
|
+
"return": {
|
|
3406
|
+
"type": {
|
|
3407
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
3408
|
+
}
|
|
3409
|
+
},
|
|
3410
|
+
"parameters": [
|
|
3411
|
+
{
|
|
3412
|
+
"name": "this",
|
|
3413
|
+
"type": {
|
|
3414
|
+
"text": "K"
|
|
3415
|
+
}
|
|
3416
|
+
},
|
|
3417
|
+
{
|
|
3418
|
+
"name": "elementDefinition",
|
|
3419
|
+
"type": {
|
|
3420
|
+
"text": "T"
|
|
3421
|
+
},
|
|
3422
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
3423
|
+
}
|
|
3424
|
+
],
|
|
3425
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
3426
|
+
"inheritedFrom": {
|
|
3427
|
+
"name": "FoundationElement",
|
|
3428
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3429
|
+
}
|
|
3430
|
+
}
|
|
3431
|
+
],
|
|
3432
|
+
"superclass": {
|
|
3433
|
+
"name": "FoundationElement",
|
|
3434
|
+
"package": "@microsoft/fast-foundation"
|
|
3435
|
+
},
|
|
3436
|
+
"tagName": "grid-pro-column",
|
|
3437
|
+
"customElement": true
|
|
3438
|
+
}
|
|
3439
|
+
],
|
|
3440
|
+
"exports": [
|
|
3441
|
+
{
|
|
3442
|
+
"kind": "js",
|
|
3443
|
+
"name": "GridProColumn",
|
|
3444
|
+
"declaration": {
|
|
3445
|
+
"name": "GridProColumn",
|
|
3446
|
+
"module": "src/column/column.ts"
|
|
3447
|
+
}
|
|
3448
|
+
},
|
|
3449
|
+
{
|
|
3450
|
+
"kind": "custom-element-definition",
|
|
3451
|
+
"name": "grid-pro-column",
|
|
3452
|
+
"declaration": {
|
|
3453
|
+
"name": "GridProColumn",
|
|
3454
|
+
"module": "src/column/column.ts"
|
|
3455
|
+
}
|
|
3456
|
+
}
|
|
3457
|
+
]
|
|
3458
|
+
},
|
|
3459
|
+
{
|
|
3460
|
+
"kind": "javascript-module",
|
|
3461
|
+
"path": "src/column/index.ts",
|
|
3462
|
+
"declarations": [],
|
|
3463
|
+
"exports": [
|
|
3464
|
+
{
|
|
3465
|
+
"kind": "js",
|
|
3466
|
+
"name": "*",
|
|
3467
|
+
"declaration": {
|
|
3468
|
+
"name": "*",
|
|
3469
|
+
"package": "./column.template"
|
|
3470
|
+
}
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
"kind": "js",
|
|
3474
|
+
"name": "*",
|
|
3475
|
+
"declaration": {
|
|
3476
|
+
"name": "*",
|
|
3477
|
+
"package": "./column"
|
|
3478
|
+
}
|
|
3479
|
+
},
|
|
3480
|
+
{
|
|
3481
|
+
"kind": "js",
|
|
3482
|
+
"name": "*",
|
|
3483
|
+
"declaration": {
|
|
3484
|
+
"name": "*",
|
|
3485
|
+
"package": "./utils"
|
|
3486
|
+
}
|
|
3487
|
+
}
|
|
3488
|
+
]
|
|
3489
|
+
},
|
|
3267
3490
|
{
|
|
3268
3491
|
"kind": "javascript-module",
|
|
3269
3492
|
"path": "src/cell-renderers/action.renderer.ts",
|
|
@@ -4916,331 +5139,108 @@
|
|
|
4916
5139
|
"type": {
|
|
4917
5140
|
"text": "TextField"
|
|
4918
5141
|
},
|
|
4919
|
-
"privacy": "public",
|
|
4920
|
-
"inheritedFrom": {
|
|
4921
|
-
"name": "AgTextFieldRenderer",
|
|
4922
|
-
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
4923
|
-
}
|
|
4924
|
-
},
|
|
4925
|
-
{
|
|
4926
|
-
"kind": "field",
|
|
4927
|
-
"name": "textValue",
|
|
4928
|
-
"type": {
|
|
4929
|
-
"text": "string"
|
|
4930
|
-
},
|
|
4931
|
-
"default": "''",
|
|
4932
|
-
"inheritedFrom": {
|
|
4933
|
-
"name": "AgTextFieldRenderer",
|
|
4934
|
-
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
4935
|
-
}
|
|
4936
|
-
},
|
|
4937
|
-
{
|
|
4938
|
-
"kind": "field",
|
|
4939
|
-
"name": "params",
|
|
4940
|
-
"type": {
|
|
4941
|
-
"text": "FuiCellRendererParams"
|
|
4942
|
-
},
|
|
4943
|
-
"privacy": "public",
|
|
4944
|
-
"inheritedFrom": {
|
|
4945
|
-
"name": "AgTextFieldRenderer",
|
|
4946
|
-
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
4947
|
-
}
|
|
4948
|
-
},
|
|
4949
|
-
{
|
|
4950
|
-
"kind": "method",
|
|
4951
|
-
"name": "init",
|
|
4952
|
-
"privacy": "public",
|
|
4953
|
-
"parameters": [
|
|
4954
|
-
{
|
|
4955
|
-
"name": "params",
|
|
4956
|
-
"type": {
|
|
4957
|
-
"text": "FuiCellRendererParams"
|
|
4958
|
-
}
|
|
4959
|
-
}
|
|
4960
|
-
],
|
|
4961
|
-
"inheritedFrom": {
|
|
4962
|
-
"name": "AgTextFieldRenderer",
|
|
4963
|
-
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
4964
|
-
}
|
|
4965
|
-
},
|
|
4966
|
-
{
|
|
4967
|
-
"kind": "method",
|
|
4968
|
-
"name": "getGui",
|
|
4969
|
-
"privacy": "public",
|
|
4970
|
-
"return": {
|
|
4971
|
-
"type": {
|
|
4972
|
-
"text": "HTMLElement"
|
|
4973
|
-
}
|
|
4974
|
-
},
|
|
4975
|
-
"inheritedFrom": {
|
|
4976
|
-
"name": "AgTextFieldRenderer",
|
|
4977
|
-
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
4978
|
-
}
|
|
4979
|
-
},
|
|
4980
|
-
{
|
|
4981
|
-
"kind": "method",
|
|
4982
|
-
"name": "destroy",
|
|
4983
|
-
"privacy": "public",
|
|
4984
|
-
"inheritedFrom": {
|
|
4985
|
-
"name": "AgTextFieldRenderer",
|
|
4986
|
-
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
4987
|
-
}
|
|
4988
|
-
},
|
|
4989
|
-
{
|
|
4990
|
-
"kind": "method",
|
|
4991
|
-
"name": "refresh",
|
|
4992
|
-
"privacy": "public",
|
|
4993
|
-
"parameters": [
|
|
4994
|
-
{
|
|
4995
|
-
"name": "params",
|
|
4996
|
-
"type": {
|
|
4997
|
-
"text": "FuiCellRendererParams"
|
|
4998
|
-
}
|
|
4999
|
-
}
|
|
5000
|
-
],
|
|
5001
|
-
"inheritedFrom": {
|
|
5002
|
-
"name": "AgTextFieldRenderer",
|
|
5003
|
-
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
5004
|
-
}
|
|
5005
|
-
},
|
|
5006
|
-
{
|
|
5007
|
-
"kind": "field",
|
|
5008
|
-
"name": "textChanged",
|
|
5009
|
-
"privacy": "public",
|
|
5010
|
-
"description": "On text change handler",
|
|
5011
|
-
"parameters": [
|
|
5012
|
-
{
|
|
5013
|
-
"description": "CustomEvent",
|
|
5014
|
-
"name": "e"
|
|
5015
|
-
}
|
|
5016
|
-
],
|
|
5017
|
-
"inheritedFrom": {
|
|
5018
|
-
"name": "AgTextFieldRenderer",
|
|
5019
|
-
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
5020
|
-
}
|
|
5021
|
-
},
|
|
5022
|
-
{
|
|
5023
|
-
"kind": "field",
|
|
5024
|
-
"name": "_presentation",
|
|
5025
|
-
"type": {
|
|
5026
|
-
"text": "ComponentPresentation | null | undefined"
|
|
5027
|
-
},
|
|
5028
|
-
"privacy": "private",
|
|
5029
|
-
"default": "void 0",
|
|
5030
|
-
"inheritedFrom": {
|
|
5031
|
-
"name": "FoundationElement",
|
|
5032
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
5033
|
-
}
|
|
5034
|
-
},
|
|
5035
|
-
{
|
|
5036
|
-
"kind": "field",
|
|
5037
|
-
"name": "$presentation",
|
|
5038
|
-
"type": {
|
|
5039
|
-
"text": "ComponentPresentation | null"
|
|
5040
|
-
},
|
|
5041
|
-
"privacy": "public",
|
|
5042
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
5043
|
-
"inheritedFrom": {
|
|
5044
|
-
"name": "FoundationElement",
|
|
5045
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
5046
|
-
}
|
|
5047
|
-
},
|
|
5048
|
-
{
|
|
5049
|
-
"kind": "field",
|
|
5050
|
-
"name": "template",
|
|
5051
|
-
"type": {
|
|
5052
|
-
"text": "ElementViewTemplate | void | null"
|
|
5053
|
-
},
|
|
5054
|
-
"privacy": "public",
|
|
5055
|
-
"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.",
|
|
5056
|
-
"inheritedFrom": {
|
|
5057
|
-
"name": "FoundationElement",
|
|
5058
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
5059
|
-
}
|
|
5060
|
-
},
|
|
5061
|
-
{
|
|
5062
|
-
"kind": "method",
|
|
5063
|
-
"name": "templateChanged",
|
|
5064
|
-
"privacy": "protected",
|
|
5065
|
-
"return": {
|
|
5066
|
-
"type": {
|
|
5067
|
-
"text": "void"
|
|
5068
|
-
}
|
|
5069
|
-
},
|
|
5070
|
-
"inheritedFrom": {
|
|
5071
|
-
"name": "FoundationElement",
|
|
5072
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
5073
|
-
}
|
|
5074
|
-
},
|
|
5075
|
-
{
|
|
5076
|
-
"kind": "field",
|
|
5077
|
-
"name": "styles",
|
|
5078
|
-
"type": {
|
|
5079
|
-
"text": "ElementStyles | void | null"
|
|
5080
|
-
},
|
|
5081
|
-
"privacy": "public",
|
|
5082
|
-
"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.",
|
|
5083
|
-
"inheritedFrom": {
|
|
5084
|
-
"name": "FoundationElement",
|
|
5085
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
5086
|
-
}
|
|
5087
|
-
},
|
|
5088
|
-
{
|
|
5089
|
-
"kind": "method",
|
|
5090
|
-
"name": "stylesChanged",
|
|
5091
|
-
"privacy": "protected",
|
|
5092
|
-
"return": {
|
|
5093
|
-
"type": {
|
|
5094
|
-
"text": "void"
|
|
5095
|
-
}
|
|
5096
|
-
},
|
|
5097
|
-
"inheritedFrom": {
|
|
5098
|
-
"name": "FoundationElement",
|
|
5099
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
5100
|
-
}
|
|
5101
|
-
},
|
|
5102
|
-
{
|
|
5103
|
-
"kind": "method",
|
|
5104
|
-
"name": "compose",
|
|
5105
|
-
"privacy": "public",
|
|
5106
|
-
"static": true,
|
|
5107
|
-
"return": {
|
|
5108
|
-
"type": {
|
|
5109
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
5110
|
-
}
|
|
5111
|
-
},
|
|
5112
|
-
"parameters": [
|
|
5113
|
-
{
|
|
5114
|
-
"name": "this",
|
|
5115
|
-
"type": {
|
|
5116
|
-
"text": "K"
|
|
5117
|
-
}
|
|
5118
|
-
},
|
|
5119
|
-
{
|
|
5120
|
-
"name": "elementDefinition",
|
|
5121
|
-
"type": {
|
|
5122
|
-
"text": "T"
|
|
5123
|
-
},
|
|
5124
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
5125
|
-
}
|
|
5126
|
-
],
|
|
5127
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
5128
|
-
"inheritedFrom": {
|
|
5129
|
-
"name": "FoundationElement",
|
|
5130
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
5131
|
-
}
|
|
5132
|
-
}
|
|
5133
|
-
]
|
|
5134
|
-
},
|
|
5135
|
-
{
|
|
5136
|
-
"kind": "variable",
|
|
5137
|
-
"name": "textRendererStyles",
|
|
5138
|
-
"default": "textFieldRendererStyles",
|
|
5139
|
-
"privacy": "public",
|
|
5140
|
-
"deprecated": "- Use textFieldRendererStyles instead"
|
|
5141
|
-
},
|
|
5142
|
-
{
|
|
5143
|
-
"kind": "variable",
|
|
5144
|
-
"name": "getTextRendererTemplate",
|
|
5145
|
-
"default": "getTextFieldRendererTemplate",
|
|
5146
|
-
"privacy": "public",
|
|
5147
|
-
"deprecated": "- Use getTextFieldRendererTemplate instead"
|
|
5148
|
-
},
|
|
5149
|
-
{
|
|
5150
|
-
"kind": "variable",
|
|
5151
|
-
"name": "foundationAgTextRenderer",
|
|
5152
|
-
"description": "A function that returns a Foundation Text Renderer registration for configuring the component with a DesignSystem.",
|
|
5153
|
-
"privacy": "public",
|
|
5154
|
-
"deprecated": "- Use foundationAgTextFieldRenderer instead"
|
|
5155
|
-
}
|
|
5156
|
-
],
|
|
5157
|
-
"exports": [
|
|
5158
|
-
{
|
|
5159
|
-
"kind": "js",
|
|
5160
|
-
"name": "AgTextRenderer",
|
|
5161
|
-
"declaration": {
|
|
5162
|
-
"name": "AgTextRenderer",
|
|
5163
|
-
"module": "src/cell-renderers/text.renderer.ts"
|
|
5164
|
-
}
|
|
5165
|
-
},
|
|
5166
|
-
{
|
|
5167
|
-
"kind": "js",
|
|
5168
|
-
"name": "textRendererStyles",
|
|
5169
|
-
"declaration": {
|
|
5170
|
-
"name": "textRendererStyles",
|
|
5171
|
-
"module": "src/cell-renderers/text.renderer.ts"
|
|
5172
|
-
}
|
|
5173
|
-
},
|
|
5174
|
-
{
|
|
5175
|
-
"kind": "js",
|
|
5176
|
-
"name": "getTextRendererTemplate",
|
|
5177
|
-
"declaration": {
|
|
5178
|
-
"name": "getTextRendererTemplate",
|
|
5179
|
-
"module": "src/cell-renderers/text.renderer.ts"
|
|
5180
|
-
}
|
|
5181
|
-
},
|
|
5182
|
-
{
|
|
5183
|
-
"kind": "js",
|
|
5184
|
-
"name": "foundationAgTextRenderer",
|
|
5185
|
-
"declaration": {
|
|
5186
|
-
"name": "foundationAgTextRenderer",
|
|
5187
|
-
"module": "src/cell-renderers/text.renderer.ts"
|
|
5188
|
-
}
|
|
5189
|
-
}
|
|
5190
|
-
]
|
|
5191
|
-
},
|
|
5192
|
-
{
|
|
5193
|
-
"kind": "javascript-module",
|
|
5194
|
-
"path": "src/column/column.template.ts",
|
|
5195
|
-
"declarations": [
|
|
5196
|
-
{
|
|
5197
|
-
"kind": "variable",
|
|
5198
|
-
"name": "ColumnTemplate",
|
|
5199
|
-
"default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
|
|
5200
|
-
"description": "The Grid Pro Column Template.",
|
|
5201
|
-
"privacy": "public"
|
|
5202
|
-
}
|
|
5203
|
-
],
|
|
5204
|
-
"exports": [
|
|
5205
|
-
{
|
|
5206
|
-
"kind": "js",
|
|
5207
|
-
"name": "ColumnTemplate",
|
|
5208
|
-
"declaration": {
|
|
5209
|
-
"name": "ColumnTemplate",
|
|
5210
|
-
"module": "src/column/column.template.ts"
|
|
5211
|
-
}
|
|
5212
|
-
}
|
|
5213
|
-
]
|
|
5214
|
-
},
|
|
5215
|
-
{
|
|
5216
|
-
"kind": "javascript-module",
|
|
5217
|
-
"path": "src/column/column.ts",
|
|
5218
|
-
"declarations": [
|
|
5219
|
-
{
|
|
5220
|
-
"kind": "class",
|
|
5221
|
-
"description": "The Grid Pro Column element.",
|
|
5222
|
-
"name": "GridProColumn",
|
|
5223
|
-
"members": [
|
|
5142
|
+
"privacy": "public",
|
|
5143
|
+
"inheritedFrom": {
|
|
5144
|
+
"name": "AgTextFieldRenderer",
|
|
5145
|
+
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
5146
|
+
}
|
|
5147
|
+
},
|
|
5224
5148
|
{
|
|
5225
5149
|
"kind": "field",
|
|
5226
|
-
"name": "
|
|
5150
|
+
"name": "textValue",
|
|
5227
5151
|
"type": {
|
|
5228
|
-
"text": "
|
|
5152
|
+
"text": "string"
|
|
5229
5153
|
},
|
|
5230
|
-
"
|
|
5154
|
+
"default": "''",
|
|
5155
|
+
"inheritedFrom": {
|
|
5156
|
+
"name": "AgTextFieldRenderer",
|
|
5157
|
+
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
5158
|
+
}
|
|
5231
5159
|
},
|
|
5232
5160
|
{
|
|
5233
5161
|
"kind": "field",
|
|
5234
|
-
"name": "
|
|
5162
|
+
"name": "params",
|
|
5235
5163
|
"type": {
|
|
5236
|
-
"text": "
|
|
5164
|
+
"text": "FuiCellRendererParams"
|
|
5237
5165
|
},
|
|
5238
|
-
"
|
|
5166
|
+
"privacy": "public",
|
|
5167
|
+
"inheritedFrom": {
|
|
5168
|
+
"name": "AgTextFieldRenderer",
|
|
5169
|
+
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
5170
|
+
}
|
|
5239
5171
|
},
|
|
5240
5172
|
{
|
|
5241
5173
|
"kind": "method",
|
|
5242
|
-
"name": "
|
|
5243
|
-
"privacy": "public"
|
|
5174
|
+
"name": "init",
|
|
5175
|
+
"privacy": "public",
|
|
5176
|
+
"parameters": [
|
|
5177
|
+
{
|
|
5178
|
+
"name": "params",
|
|
5179
|
+
"type": {
|
|
5180
|
+
"text": "FuiCellRendererParams"
|
|
5181
|
+
}
|
|
5182
|
+
}
|
|
5183
|
+
],
|
|
5184
|
+
"inheritedFrom": {
|
|
5185
|
+
"name": "AgTextFieldRenderer",
|
|
5186
|
+
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
5187
|
+
}
|
|
5188
|
+
},
|
|
5189
|
+
{
|
|
5190
|
+
"kind": "method",
|
|
5191
|
+
"name": "getGui",
|
|
5192
|
+
"privacy": "public",
|
|
5193
|
+
"return": {
|
|
5194
|
+
"type": {
|
|
5195
|
+
"text": "HTMLElement"
|
|
5196
|
+
}
|
|
5197
|
+
},
|
|
5198
|
+
"inheritedFrom": {
|
|
5199
|
+
"name": "AgTextFieldRenderer",
|
|
5200
|
+
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
5201
|
+
}
|
|
5202
|
+
},
|
|
5203
|
+
{
|
|
5204
|
+
"kind": "method",
|
|
5205
|
+
"name": "destroy",
|
|
5206
|
+
"privacy": "public",
|
|
5207
|
+
"inheritedFrom": {
|
|
5208
|
+
"name": "AgTextFieldRenderer",
|
|
5209
|
+
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
5210
|
+
}
|
|
5211
|
+
},
|
|
5212
|
+
{
|
|
5213
|
+
"kind": "method",
|
|
5214
|
+
"name": "refresh",
|
|
5215
|
+
"privacy": "public",
|
|
5216
|
+
"parameters": [
|
|
5217
|
+
{
|
|
5218
|
+
"name": "params",
|
|
5219
|
+
"type": {
|
|
5220
|
+
"text": "FuiCellRendererParams"
|
|
5221
|
+
}
|
|
5222
|
+
}
|
|
5223
|
+
],
|
|
5224
|
+
"inheritedFrom": {
|
|
5225
|
+
"name": "AgTextFieldRenderer",
|
|
5226
|
+
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
5227
|
+
}
|
|
5228
|
+
},
|
|
5229
|
+
{
|
|
5230
|
+
"kind": "field",
|
|
5231
|
+
"name": "textChanged",
|
|
5232
|
+
"privacy": "public",
|
|
5233
|
+
"description": "On text change handler",
|
|
5234
|
+
"parameters": [
|
|
5235
|
+
{
|
|
5236
|
+
"description": "CustomEvent",
|
|
5237
|
+
"name": "e"
|
|
5238
|
+
}
|
|
5239
|
+
],
|
|
5240
|
+
"inheritedFrom": {
|
|
5241
|
+
"name": "AgTextFieldRenderer",
|
|
5242
|
+
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
5243
|
+
}
|
|
5244
5244
|
},
|
|
5245
5245
|
{
|
|
5246
5246
|
"kind": "field",
|
|
@@ -5353,61 +5353,61 @@
|
|
|
5353
5353
|
"module": "src/foundation-element/foundation-element.ts"
|
|
5354
5354
|
}
|
|
5355
5355
|
}
|
|
5356
|
-
]
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
"
|
|
5362
|
-
"
|
|
5356
|
+
]
|
|
5357
|
+
},
|
|
5358
|
+
{
|
|
5359
|
+
"kind": "variable",
|
|
5360
|
+
"name": "textRendererStyles",
|
|
5361
|
+
"default": "textFieldRendererStyles",
|
|
5362
|
+
"privacy": "public",
|
|
5363
|
+
"deprecated": "- Use textFieldRendererStyles instead"
|
|
5364
|
+
},
|
|
5365
|
+
{
|
|
5366
|
+
"kind": "variable",
|
|
5367
|
+
"name": "getTextRendererTemplate",
|
|
5368
|
+
"default": "getTextFieldRendererTemplate",
|
|
5369
|
+
"privacy": "public",
|
|
5370
|
+
"deprecated": "- Use getTextFieldRendererTemplate instead"
|
|
5371
|
+
},
|
|
5372
|
+
{
|
|
5373
|
+
"kind": "variable",
|
|
5374
|
+
"name": "foundationAgTextRenderer",
|
|
5375
|
+
"description": "A function that returns a Foundation Text Renderer registration for configuring the component with a DesignSystem.",
|
|
5376
|
+
"privacy": "public",
|
|
5377
|
+
"deprecated": "- Use foundationAgTextFieldRenderer instead"
|
|
5363
5378
|
}
|
|
5364
5379
|
],
|
|
5365
5380
|
"exports": [
|
|
5366
5381
|
{
|
|
5367
5382
|
"kind": "js",
|
|
5368
|
-
"name": "
|
|
5383
|
+
"name": "AgTextRenderer",
|
|
5369
5384
|
"declaration": {
|
|
5370
|
-
"name": "
|
|
5371
|
-
"module": "src/
|
|
5385
|
+
"name": "AgTextRenderer",
|
|
5386
|
+
"module": "src/cell-renderers/text.renderer.ts"
|
|
5372
5387
|
}
|
|
5373
5388
|
},
|
|
5374
|
-
{
|
|
5375
|
-
"kind": "custom-element-definition",
|
|
5376
|
-
"name": "grid-pro-column",
|
|
5377
|
-
"declaration": {
|
|
5378
|
-
"name": "GridProColumn",
|
|
5379
|
-
"module": "src/column/column.ts"
|
|
5380
|
-
}
|
|
5381
|
-
}
|
|
5382
|
-
]
|
|
5383
|
-
},
|
|
5384
|
-
{
|
|
5385
|
-
"kind": "javascript-module",
|
|
5386
|
-
"path": "src/column/index.ts",
|
|
5387
|
-
"declarations": [],
|
|
5388
|
-
"exports": [
|
|
5389
5389
|
{
|
|
5390
5390
|
"kind": "js",
|
|
5391
|
-
"name": "
|
|
5391
|
+
"name": "textRendererStyles",
|
|
5392
5392
|
"declaration": {
|
|
5393
|
-
"name": "
|
|
5394
|
-
"
|
|
5393
|
+
"name": "textRendererStyles",
|
|
5394
|
+
"module": "src/cell-renderers/text.renderer.ts"
|
|
5395
5395
|
}
|
|
5396
5396
|
},
|
|
5397
5397
|
{
|
|
5398
5398
|
"kind": "js",
|
|
5399
|
-
"name": "
|
|
5399
|
+
"name": "getTextRendererTemplate",
|
|
5400
5400
|
"declaration": {
|
|
5401
|
-
"name": "
|
|
5402
|
-
"
|
|
5401
|
+
"name": "getTextRendererTemplate",
|
|
5402
|
+
"module": "src/cell-renderers/text.renderer.ts"
|
|
5403
5403
|
}
|
|
5404
5404
|
},
|
|
5405
5405
|
{
|
|
5406
5406
|
"kind": "js",
|
|
5407
|
-
"name": "
|
|
5407
|
+
"name": "foundationAgTextRenderer",
|
|
5408
5408
|
"declaration": {
|
|
5409
|
-
"name": "
|
|
5410
|
-
"
|
|
5409
|
+
"name": "foundationAgTextRenderer",
|
|
5410
|
+
"module": "src/cell-renderers/text.renderer.ts"
|
|
5411
5411
|
}
|
|
5412
5412
|
}
|
|
5413
5413
|
]
|
|
@@ -6087,6 +6087,19 @@
|
|
|
6087
6087
|
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
6088
6088
|
}
|
|
6089
6089
|
},
|
|
6090
|
+
{
|
|
6091
|
+
"kind": "field",
|
|
6092
|
+
"name": "defaultRowIdByResourceType",
|
|
6093
|
+
"type": {
|
|
6094
|
+
"text": "string"
|
|
6095
|
+
},
|
|
6096
|
+
"privacy": "private",
|
|
6097
|
+
"readonly": true,
|
|
6098
|
+
"inheritedFrom": {
|
|
6099
|
+
"name": "GridProGenesisDatasource",
|
|
6100
|
+
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
6101
|
+
}
|
|
6102
|
+
},
|
|
6090
6103
|
{
|
|
6091
6104
|
"kind": "method",
|
|
6092
6105
|
"name": "init",
|
|
@@ -8342,6 +8355,15 @@
|
|
|
8342
8355
|
"privacy": "private",
|
|
8343
8356
|
"readonly": true
|
|
8344
8357
|
},
|
|
8358
|
+
{
|
|
8359
|
+
"kind": "field",
|
|
8360
|
+
"name": "defaultRowIdByResourceType",
|
|
8361
|
+
"type": {
|
|
8362
|
+
"text": "string"
|
|
8363
|
+
},
|
|
8364
|
+
"privacy": "private",
|
|
8365
|
+
"readonly": true
|
|
8366
|
+
},
|
|
8345
8367
|
{
|
|
8346
8368
|
"kind": "method",
|
|
8347
8369
|
"name": "init",
|
|
@@ -9268,46 +9290,51 @@
|
|
|
9268
9290
|
},
|
|
9269
9291
|
{
|
|
9270
9292
|
"kind": "javascript-module",
|
|
9271
|
-
"path": "src/
|
|
9293
|
+
"path": "src/column/utils/grid-pro-columns.ts",
|
|
9272
9294
|
"declarations": [
|
|
9273
9295
|
{
|
|
9274
9296
|
"kind": "function",
|
|
9275
|
-
"name": "
|
|
9297
|
+
"name": "gridProColumns",
|
|
9276
9298
|
"return": {
|
|
9277
9299
|
"type": {
|
|
9278
|
-
"text": "
|
|
9300
|
+
"text": "CaptureType<TSource>"
|
|
9279
9301
|
}
|
|
9280
9302
|
},
|
|
9281
9303
|
"parameters": [
|
|
9282
9304
|
{
|
|
9283
|
-
"name": "
|
|
9305
|
+
"name": "itemsBinding",
|
|
9284
9306
|
"type": {
|
|
9285
|
-
"text": "
|
|
9286
|
-
}
|
|
9307
|
+
"text": "Binding<TSource, readonly ColDef[]> | readonly ColDef[]"
|
|
9308
|
+
},
|
|
9309
|
+
"description": "The array to render"
|
|
9287
9310
|
},
|
|
9288
9311
|
{
|
|
9289
|
-
"name": "
|
|
9312
|
+
"name": "includeRenderers",
|
|
9313
|
+
"default": "true",
|
|
9290
9314
|
"type": {
|
|
9291
|
-
"text": "
|
|
9292
|
-
}
|
|
9315
|
+
"text": "boolean"
|
|
9316
|
+
},
|
|
9317
|
+
"description": "Optionally tells whether to include cell renderers, if available"
|
|
9293
9318
|
}
|
|
9294
|
-
]
|
|
9319
|
+
],
|
|
9320
|
+
"description": "A directive that renders a set of grid-pro-column elements from a given input binding",
|
|
9321
|
+
"privacy": "public"
|
|
9295
9322
|
}
|
|
9296
9323
|
],
|
|
9297
9324
|
"exports": [
|
|
9298
9325
|
{
|
|
9299
9326
|
"kind": "js",
|
|
9300
|
-
"name": "
|
|
9327
|
+
"name": "gridProColumns",
|
|
9301
9328
|
"declaration": {
|
|
9302
|
-
"name": "
|
|
9303
|
-
"module": "src/
|
|
9329
|
+
"name": "gridProColumns",
|
|
9330
|
+
"module": "src/column/utils/grid-pro-columns.ts"
|
|
9304
9331
|
}
|
|
9305
9332
|
}
|
|
9306
9333
|
]
|
|
9307
9334
|
},
|
|
9308
9335
|
{
|
|
9309
9336
|
"kind": "javascript-module",
|
|
9310
|
-
"path": "src/
|
|
9337
|
+
"path": "src/column/utils/index.ts",
|
|
9311
9338
|
"declarations": [],
|
|
9312
9339
|
"exports": [
|
|
9313
9340
|
{
|
|
@@ -9315,58 +9342,53 @@
|
|
|
9315
9342
|
"name": "*",
|
|
9316
9343
|
"declaration": {
|
|
9317
9344
|
"name": "*",
|
|
9318
|
-
"package": "./
|
|
9345
|
+
"package": "./grid-pro-columns"
|
|
9319
9346
|
}
|
|
9320
9347
|
}
|
|
9321
9348
|
]
|
|
9322
9349
|
},
|
|
9323
9350
|
{
|
|
9324
9351
|
"kind": "javascript-module",
|
|
9325
|
-
"path": "src/
|
|
9352
|
+
"path": "src/cell-renderers/utils/accessor.ts",
|
|
9326
9353
|
"declarations": [
|
|
9327
9354
|
{
|
|
9328
9355
|
"kind": "function",
|
|
9329
|
-
"name": "
|
|
9356
|
+
"name": "setValueWithAccessor",
|
|
9330
9357
|
"return": {
|
|
9331
9358
|
"type": {
|
|
9332
|
-
"text": "
|
|
9359
|
+
"text": "string"
|
|
9333
9360
|
}
|
|
9334
9361
|
},
|
|
9335
9362
|
"parameters": [
|
|
9336
9363
|
{
|
|
9337
|
-
"name": "
|
|
9364
|
+
"name": "data",
|
|
9338
9365
|
"type": {
|
|
9339
|
-
"text": "
|
|
9340
|
-
}
|
|
9341
|
-
"description": "The array to render"
|
|
9366
|
+
"text": "any"
|
|
9367
|
+
}
|
|
9342
9368
|
},
|
|
9343
9369
|
{
|
|
9344
|
-
"name": "
|
|
9345
|
-
"default": "true",
|
|
9370
|
+
"name": "accessor",
|
|
9346
9371
|
"type": {
|
|
9347
|
-
"text": "
|
|
9348
|
-
}
|
|
9349
|
-
"description": "Optionally tells whether to include cell renderers, if available"
|
|
9372
|
+
"text": "string"
|
|
9373
|
+
}
|
|
9350
9374
|
}
|
|
9351
|
-
]
|
|
9352
|
-
"description": "A directive that renders a set of grid-pro-column elements from a given input binding",
|
|
9353
|
-
"privacy": "public"
|
|
9375
|
+
]
|
|
9354
9376
|
}
|
|
9355
9377
|
],
|
|
9356
9378
|
"exports": [
|
|
9357
9379
|
{
|
|
9358
9380
|
"kind": "js",
|
|
9359
|
-
"name": "
|
|
9381
|
+
"name": "setValueWithAccessor",
|
|
9360
9382
|
"declaration": {
|
|
9361
|
-
"name": "
|
|
9362
|
-
"module": "src/
|
|
9383
|
+
"name": "setValueWithAccessor",
|
|
9384
|
+
"module": "src/cell-renderers/utils/accessor.ts"
|
|
9363
9385
|
}
|
|
9364
9386
|
}
|
|
9365
9387
|
]
|
|
9366
9388
|
},
|
|
9367
9389
|
{
|
|
9368
9390
|
"kind": "javascript-module",
|
|
9369
|
-
"path": "src/
|
|
9391
|
+
"path": "src/cell-renderers/utils/index.ts",
|
|
9370
9392
|
"declarations": [],
|
|
9371
9393
|
"exports": [
|
|
9372
9394
|
{
|
|
@@ -9374,7 +9396,7 @@
|
|
|
9374
9396
|
"name": "*",
|
|
9375
9397
|
"declaration": {
|
|
9376
9398
|
"name": "*",
|
|
9377
|
-
"package": "./
|
|
9399
|
+
"package": "./accessor"
|
|
9378
9400
|
}
|
|
9379
9401
|
}
|
|
9380
9402
|
]
|
|
@@ -120,13 +120,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
120
120
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
121
121
|
webkitMatchesSelector(selectors: string): boolean;
|
|
122
122
|
readonly baseURI: string;
|
|
123
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
|
124
|
-
* Initializes the datasource and loads the data for the grid.
|
|
125
|
-
* Handles both snapshot and stream data (for both REQUEST_SERVER and DATASERVER resource types).
|
|
126
|
-
*
|
|
127
|
-
* @param withFullInit - if true, will call datasource.init() with requiresMetadataFetch = true, fetching fresh metadata
|
|
128
|
-
* @internal
|
|
129
|
-
*/
|
|
123
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
130
124
|
readonly firstChild: ChildNode;
|
|
131
125
|
readonly isConnected: boolean;
|
|
132
126
|
readonly lastChild: ChildNode;
|
|
@@ -258,12 +252,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
258
252
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
259
253
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
260
254
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
261
|
-
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
262
|
-
* Maps the transaction data to the row data mapper function, if it exists.
|
|
263
|
-
* @param transaction - The transaction data to be mapped.
|
|
264
|
-
* @param operations - The operations to be mapped. Can be 'add', 'update' or 'remove'.
|
|
265
|
-
* @returns The mapped transaction (if the row data mapper function exists), or the original transaction.
|
|
266
|
-
*/
|
|
255
|
+
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
267
256
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
268
257
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
269
258
|
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -386,11 +375,17 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
386
375
|
deepClone(): Node;
|
|
387
376
|
private get agGrid();
|
|
388
377
|
/**
|
|
389
|
-
* Returns the row
|
|
378
|
+
* Returns the `row-id` attribute, depending on the resource type.
|
|
390
379
|
* @remarks Will favour the `row-id` attribute if set.
|
|
391
380
|
* @internal
|
|
392
381
|
*/
|
|
393
382
|
private get rowId();
|
|
383
|
+
/**
|
|
384
|
+
* Returns whether the `row-id` attribute is the default one, depending on the resource type.
|
|
385
|
+
* @internal
|
|
386
|
+
*/
|
|
387
|
+
private get hasDefaultRowId();
|
|
388
|
+
private get defaultRowIdByResourceType();
|
|
394
389
|
/**
|
|
395
390
|
* Initializes the datasource.
|
|
396
391
|
* @public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":"AACA,OAAO,EACL,IAAI,EACJ,UAAU,EAaX,MAAM,+BAA+B,CAAC;AAMvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAgBtE;;;GAGG;AACH,oBAAY,aAAa;IACvB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB
|
|
1
|
+
{"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":"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"}
|
|
@@ -94,7 +94,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
94
94
|
}
|
|
95
95
|
// Genesis Specific
|
|
96
96
|
/**
|
|
97
|
-
* Returns the row
|
|
97
|
+
* Returns the `row-id` attribute, depending on the resource type.
|
|
98
98
|
* @remarks Will favour the `row-id` attribute if set.
|
|
99
99
|
* @internal
|
|
100
100
|
*/
|
|
@@ -105,6 +105,20 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
105
105
|
return DatasourceDefaults.REQUEST_SERVER_ROW_ID;
|
|
106
106
|
return DatasourceDefaults.DATASERVER_ROW_ID;
|
|
107
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* Returns whether the `row-id` attribute is the default one, depending on the resource type.
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
get hasDefaultRowId() {
|
|
113
|
+
return (!this.rowIdAttr ||
|
|
114
|
+
this.rowIdAttr === DatasourceDefaults.REQUEST_SERVER_ROW_ID ||
|
|
115
|
+
this.rowIdAttr === DatasourceDefaults.DATASERVER_ROW_ID);
|
|
116
|
+
}
|
|
117
|
+
get defaultRowIdByResourceType() {
|
|
118
|
+
return this.isRequestServer
|
|
119
|
+
? DatasourceDefaults.REQUEST_SERVER_ROW_ID
|
|
120
|
+
: DatasourceDefaults.DATASERVER_ROW_ID;
|
|
121
|
+
}
|
|
108
122
|
/**
|
|
109
123
|
* Initializes the datasource.
|
|
110
124
|
* @public
|
|
@@ -448,15 +462,29 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
448
462
|
}
|
|
449
463
|
handleStreamDeletes(deletedRows) {
|
|
450
464
|
deletedRows === null || deletedRows === void 0 ? void 0 : deletedRows.forEach((deleteData) => {
|
|
451
|
-
|
|
465
|
+
if (this.hasDefaultRowId || this.isRequestServer) {
|
|
466
|
+
this.agTransaction.remove.push({ [this.rowId]: deleteData[this.rowId] });
|
|
467
|
+
}
|
|
468
|
+
else {
|
|
469
|
+
const rowToBeDeleted = Object.values(Object.fromEntries(this.rows)).find((obj) => obj[this.defaultRowIdByResourceType] === deleteData[this.defaultRowIdByResourceType]);
|
|
470
|
+
this.agTransaction.remove.push({ [this.rowId]: rowToBeDeleted[this.rowId] });
|
|
471
|
+
}
|
|
452
472
|
this.rows.delete(deleteData[this.rowId]);
|
|
453
473
|
});
|
|
454
474
|
}
|
|
455
475
|
handleStreamUpdates(updatedRows) {
|
|
456
476
|
updatedRows === null || updatedRows === void 0 ? void 0 : updatedRows.forEach((updateData) => {
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
477
|
+
let updatedRow;
|
|
478
|
+
if (this.hasDefaultRowId || this.isRequestServer) {
|
|
479
|
+
const rowToBeUpdated = this.rows.get(updateData[this.rowId]);
|
|
480
|
+
updatedRow = Object.assign(Object.assign({}, rowToBeUpdated), updateData);
|
|
481
|
+
this.agTransaction.update.push(updatedRow);
|
|
482
|
+
}
|
|
483
|
+
else {
|
|
484
|
+
const rowToBeUpdated = Object.values(Object.fromEntries(this.rows)).find((obj) => obj[this.defaultRowIdByResourceType] === updateData[this.defaultRowIdByResourceType]);
|
|
485
|
+
updatedRow = Object.assign(Object.assign({}, rowToBeUpdated), updateData);
|
|
486
|
+
this.agTransaction.update.push(updatedRow);
|
|
487
|
+
}
|
|
460
488
|
this.rows.set(updateData[this.rowId], updatedRow);
|
|
461
489
|
});
|
|
462
490
|
}
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -1702,11 +1702,17 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
1702
1702
|
deepClone(): Node;
|
|
1703
1703
|
private get agGrid();
|
|
1704
1704
|
/**
|
|
1705
|
-
* Returns the row
|
|
1705
|
+
* Returns the `row-id` attribute, depending on the resource type.
|
|
1706
1706
|
* @remarks Will favour the `row-id` attribute if set.
|
|
1707
1707
|
* @internal
|
|
1708
1708
|
*/
|
|
1709
1709
|
private get rowId();
|
|
1710
|
+
/**
|
|
1711
|
+
* Returns whether the `row-id` attribute is the default one, depending on the resource type.
|
|
1712
|
+
* @internal
|
|
1713
|
+
*/
|
|
1714
|
+
private get hasDefaultRowId();
|
|
1715
|
+
private get defaultRowIdByResourceType();
|
|
1710
1716
|
/**
|
|
1711
1717
|
* Initializes the datasource.
|
|
1712
1718
|
* @public
|
|
@@ -1902,13 +1908,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1902
1908
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
1903
1909
|
webkitMatchesSelector(selectors: string): boolean;
|
|
1904
1910
|
readonly baseURI: string;
|
|
1905
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
|
1906
|
-
* Initializes the datasource and loads the data for the grid.
|
|
1907
|
-
* Handles both snapshot and stream data (for both REQUEST_SERVER and DATASERVER resource types).
|
|
1908
|
-
*
|
|
1909
|
-
* @param withFullInit - if true, will call datasource.init() with requiresMetadataFetch = true, fetching fresh metadata
|
|
1910
|
-
* @internal
|
|
1911
|
-
*/
|
|
1911
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
1912
1912
|
readonly firstChild: ChildNode;
|
|
1913
1913
|
readonly isConnected: boolean;
|
|
1914
1914
|
readonly lastChild: ChildNode;
|
|
@@ -2040,12 +2040,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
2040
2040
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
2041
2041
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
2042
2042
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
2043
|
-
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
2044
|
-
* Maps the transaction data to the row data mapper function, if it exists.
|
|
2045
|
-
* @param transaction - The transaction data to be mapped.
|
|
2046
|
-
* @param operations - The operations to be mapped. Can be 'add', 'update' or 'remove'.
|
|
2047
|
-
* @returns The mapped transaction (if the row data mapper function exists), or the original transaction.
|
|
2048
|
-
*/
|
|
2043
|
+
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
2049
2044
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
2050
2045
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
2051
2046
|
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
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.127.
|
|
4
|
+
"version": "14.127.3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"test:debug": "genx test --debug"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@genesislcap/foundation-testing": "14.127.
|
|
34
|
-
"@genesislcap/genx": "14.127.
|
|
33
|
+
"@genesislcap/foundation-testing": "14.127.3",
|
|
34
|
+
"@genesislcap/genx": "14.127.3",
|
|
35
35
|
"rimraf": "^3.0.2"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@genesislcap/foundation-comms": "14.127.
|
|
39
|
-
"@genesislcap/foundation-logger": "14.127.
|
|
40
|
-
"@genesislcap/foundation-ui": "14.127.
|
|
41
|
-
"@genesislcap/foundation-utils": "14.127.
|
|
38
|
+
"@genesislcap/foundation-comms": "14.127.3",
|
|
39
|
+
"@genesislcap/foundation-logger": "14.127.3",
|
|
40
|
+
"@genesislcap/foundation-ui": "14.127.3",
|
|
41
|
+
"@genesislcap/foundation-utils": "14.127.3",
|
|
42
42
|
"@microsoft/fast-colors": "^5.3.1",
|
|
43
43
|
"@microsoft/fast-components": "^2.30.6",
|
|
44
44
|
"@microsoft/fast-element": "^1.12.0",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
64
|
"customElements": "dist/custom-elements.json",
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "62024ec5e139ca25c5d65e11798e009a1e86074d"
|
|
66
66
|
}
|