@genesislcap/grid-pro 14.147.1-alpha-e3b7ca7.0 → 14.148.1-alpha-4b4abd1.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.
@@ -3325,6 +3325,229 @@
3325
3325
  }
3326
3326
  ]
3327
3327
  },
3328
+ {
3329
+ "kind": "javascript-module",
3330
+ "path": "src/column/column.template.ts",
3331
+ "declarations": [
3332
+ {
3333
+ "kind": "variable",
3334
+ "name": "ColumnTemplate",
3335
+ "default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
3336
+ "description": "The Grid Pro Column Template.",
3337
+ "privacy": "public"
3338
+ }
3339
+ ],
3340
+ "exports": [
3341
+ {
3342
+ "kind": "js",
3343
+ "name": "ColumnTemplate",
3344
+ "declaration": {
3345
+ "name": "ColumnTemplate",
3346
+ "module": "src/column/column.template.ts"
3347
+ }
3348
+ }
3349
+ ]
3350
+ },
3351
+ {
3352
+ "kind": "javascript-module",
3353
+ "path": "src/column/column.ts",
3354
+ "declarations": [
3355
+ {
3356
+ "kind": "class",
3357
+ "description": "The Grid Pro Column element.",
3358
+ "name": "GridProColumn",
3359
+ "members": [
3360
+ {
3361
+ "kind": "field",
3362
+ "name": "slottedAgCell",
3363
+ "type": {
3364
+ "text": "HTMLElement[]"
3365
+ },
3366
+ "privacy": "public"
3367
+ },
3368
+ {
3369
+ "kind": "field",
3370
+ "name": "definition",
3371
+ "type": {
3372
+ "text": "ColDef"
3373
+ },
3374
+ "default": "{}"
3375
+ },
3376
+ {
3377
+ "kind": "method",
3378
+ "name": "slottedAgCellChanged",
3379
+ "privacy": "public"
3380
+ },
3381
+ {
3382
+ "kind": "field",
3383
+ "name": "_presentation",
3384
+ "type": {
3385
+ "text": "ComponentPresentation | null | undefined"
3386
+ },
3387
+ "privacy": "private",
3388
+ "default": "void 0",
3389
+ "inheritedFrom": {
3390
+ "name": "FoundationElement",
3391
+ "module": "src/foundation-element/foundation-element.ts"
3392
+ }
3393
+ },
3394
+ {
3395
+ "kind": "field",
3396
+ "name": "$presentation",
3397
+ "type": {
3398
+ "text": "ComponentPresentation | null"
3399
+ },
3400
+ "privacy": "public",
3401
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3402
+ "inheritedFrom": {
3403
+ "name": "FoundationElement",
3404
+ "module": "src/foundation-element/foundation-element.ts"
3405
+ }
3406
+ },
3407
+ {
3408
+ "kind": "field",
3409
+ "name": "template",
3410
+ "type": {
3411
+ "text": "ElementViewTemplate | void | null"
3412
+ },
3413
+ "privacy": "public",
3414
+ "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.",
3415
+ "inheritedFrom": {
3416
+ "name": "FoundationElement",
3417
+ "module": "src/foundation-element/foundation-element.ts"
3418
+ }
3419
+ },
3420
+ {
3421
+ "kind": "method",
3422
+ "name": "templateChanged",
3423
+ "privacy": "protected",
3424
+ "return": {
3425
+ "type": {
3426
+ "text": "void"
3427
+ }
3428
+ },
3429
+ "inheritedFrom": {
3430
+ "name": "FoundationElement",
3431
+ "module": "src/foundation-element/foundation-element.ts"
3432
+ }
3433
+ },
3434
+ {
3435
+ "kind": "field",
3436
+ "name": "styles",
3437
+ "type": {
3438
+ "text": "ElementStyles | void | null"
3439
+ },
3440
+ "privacy": "public",
3441
+ "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.",
3442
+ "inheritedFrom": {
3443
+ "name": "FoundationElement",
3444
+ "module": "src/foundation-element/foundation-element.ts"
3445
+ }
3446
+ },
3447
+ {
3448
+ "kind": "method",
3449
+ "name": "stylesChanged",
3450
+ "privacy": "protected",
3451
+ "return": {
3452
+ "type": {
3453
+ "text": "void"
3454
+ }
3455
+ },
3456
+ "inheritedFrom": {
3457
+ "name": "FoundationElement",
3458
+ "module": "src/foundation-element/foundation-element.ts"
3459
+ }
3460
+ },
3461
+ {
3462
+ "kind": "method",
3463
+ "name": "compose",
3464
+ "privacy": "public",
3465
+ "static": true,
3466
+ "return": {
3467
+ "type": {
3468
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3469
+ }
3470
+ },
3471
+ "parameters": [
3472
+ {
3473
+ "name": "this",
3474
+ "type": {
3475
+ "text": "K"
3476
+ }
3477
+ },
3478
+ {
3479
+ "name": "elementDefinition",
3480
+ "type": {
3481
+ "text": "T"
3482
+ },
3483
+ "description": "The definition of the element to create the registry\nfunction for."
3484
+ }
3485
+ ],
3486
+ "description": "Defines an element registry function with a set of element definition defaults.",
3487
+ "inheritedFrom": {
3488
+ "name": "FoundationElement",
3489
+ "module": "src/foundation-element/foundation-element.ts"
3490
+ }
3491
+ }
3492
+ ],
3493
+ "superclass": {
3494
+ "name": "FoundationElement",
3495
+ "package": "@microsoft/fast-foundation"
3496
+ },
3497
+ "tagName": "grid-pro-column",
3498
+ "customElement": true
3499
+ }
3500
+ ],
3501
+ "exports": [
3502
+ {
3503
+ "kind": "js",
3504
+ "name": "GridProColumn",
3505
+ "declaration": {
3506
+ "name": "GridProColumn",
3507
+ "module": "src/column/column.ts"
3508
+ }
3509
+ },
3510
+ {
3511
+ "kind": "custom-element-definition",
3512
+ "name": "grid-pro-column",
3513
+ "declaration": {
3514
+ "name": "GridProColumn",
3515
+ "module": "src/column/column.ts"
3516
+ }
3517
+ }
3518
+ ]
3519
+ },
3520
+ {
3521
+ "kind": "javascript-module",
3522
+ "path": "src/column/index.ts",
3523
+ "declarations": [],
3524
+ "exports": [
3525
+ {
3526
+ "kind": "js",
3527
+ "name": "*",
3528
+ "declaration": {
3529
+ "name": "*",
3530
+ "package": "./column.template"
3531
+ }
3532
+ },
3533
+ {
3534
+ "kind": "js",
3535
+ "name": "*",
3536
+ "declaration": {
3537
+ "name": "*",
3538
+ "package": "./column"
3539
+ }
3540
+ },
3541
+ {
3542
+ "kind": "js",
3543
+ "name": "*",
3544
+ "declaration": {
3545
+ "name": "*",
3546
+ "package": "./utils"
3547
+ }
3548
+ }
3549
+ ]
3550
+ },
3328
3551
  {
3329
3552
  "kind": "javascript-module",
3330
3553
  "path": "src/cell-renderers/action.renderer.ts",
@@ -5056,252 +5279,29 @@
5056
5279
  "name": "params",
5057
5280
  "type": {
5058
5281
  "text": "FuiCellRendererParams"
5059
- }
5060
- }
5061
- ],
5062
- "inheritedFrom": {
5063
- "name": "AgTextFieldRenderer",
5064
- "module": "src/cell-renderers/text-field.renderer.ts"
5065
- }
5066
- },
5067
- {
5068
- "kind": "field",
5069
- "name": "textChanged",
5070
- "privacy": "public",
5071
- "description": "On text change handler",
5072
- "parameters": [
5073
- {
5074
- "description": "CustomEvent",
5075
- "name": "e"
5076
- }
5077
- ],
5078
- "inheritedFrom": {
5079
- "name": "AgTextFieldRenderer",
5080
- "module": "src/cell-renderers/text-field.renderer.ts"
5081
- }
5082
- },
5083
- {
5084
- "kind": "field",
5085
- "name": "_presentation",
5086
- "type": {
5087
- "text": "ComponentPresentation | null | undefined"
5088
- },
5089
- "privacy": "private",
5090
- "default": "void 0",
5091
- "inheritedFrom": {
5092
- "name": "FoundationElement",
5093
- "module": "src/foundation-element/foundation-element.ts"
5094
- }
5095
- },
5096
- {
5097
- "kind": "field",
5098
- "name": "$presentation",
5099
- "type": {
5100
- "text": "ComponentPresentation | null"
5101
- },
5102
- "privacy": "public",
5103
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
5104
- "inheritedFrom": {
5105
- "name": "FoundationElement",
5106
- "module": "src/foundation-element/foundation-element.ts"
5107
- }
5108
- },
5109
- {
5110
- "kind": "field",
5111
- "name": "template",
5112
- "type": {
5113
- "text": "ElementViewTemplate | void | null"
5114
- },
5115
- "privacy": "public",
5116
- "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.",
5117
- "inheritedFrom": {
5118
- "name": "FoundationElement",
5119
- "module": "src/foundation-element/foundation-element.ts"
5120
- }
5121
- },
5122
- {
5123
- "kind": "method",
5124
- "name": "templateChanged",
5125
- "privacy": "protected",
5126
- "return": {
5127
- "type": {
5128
- "text": "void"
5129
- }
5130
- },
5131
- "inheritedFrom": {
5132
- "name": "FoundationElement",
5133
- "module": "src/foundation-element/foundation-element.ts"
5134
- }
5135
- },
5136
- {
5137
- "kind": "field",
5138
- "name": "styles",
5139
- "type": {
5140
- "text": "ElementStyles | void | null"
5141
- },
5142
- "privacy": "public",
5143
- "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.",
5144
- "inheritedFrom": {
5145
- "name": "FoundationElement",
5146
- "module": "src/foundation-element/foundation-element.ts"
5147
- }
5148
- },
5149
- {
5150
- "kind": "method",
5151
- "name": "stylesChanged",
5152
- "privacy": "protected",
5153
- "return": {
5154
- "type": {
5155
- "text": "void"
5156
- }
5157
- },
5158
- "inheritedFrom": {
5159
- "name": "FoundationElement",
5160
- "module": "src/foundation-element/foundation-element.ts"
5161
- }
5162
- },
5163
- {
5164
- "kind": "method",
5165
- "name": "compose",
5166
- "privacy": "public",
5167
- "static": true,
5168
- "return": {
5169
- "type": {
5170
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
5171
- }
5172
- },
5173
- "parameters": [
5174
- {
5175
- "name": "this",
5176
- "type": {
5177
- "text": "K"
5178
- }
5179
- },
5180
- {
5181
- "name": "elementDefinition",
5182
- "type": {
5183
- "text": "T"
5184
- },
5185
- "description": "The definition of the element to create the registry\nfunction for."
5186
- }
5187
- ],
5188
- "description": "Defines an element registry function with a set of element definition defaults.",
5189
- "inheritedFrom": {
5190
- "name": "FoundationElement",
5191
- "module": "src/foundation-element/foundation-element.ts"
5192
- }
5193
- }
5194
- ]
5195
- },
5196
- {
5197
- "kind": "variable",
5198
- "name": "textRendererStyles",
5199
- "default": "textFieldRendererStyles",
5200
- "privacy": "public",
5201
- "deprecated": "- Use textFieldRendererStyles instead"
5202
- },
5203
- {
5204
- "kind": "variable",
5205
- "name": "getTextRendererTemplate",
5206
- "default": "getTextFieldRendererTemplate",
5207
- "privacy": "public",
5208
- "deprecated": "- Use getTextFieldRendererTemplate instead"
5209
- },
5210
- {
5211
- "kind": "variable",
5212
- "name": "foundationAgTextRenderer",
5213
- "description": "A function that returns a Foundation Text Renderer registration for configuring the component with a DesignSystem.",
5214
- "privacy": "public",
5215
- "deprecated": "- Use foundationAgTextFieldRenderer instead"
5216
- }
5217
- ],
5218
- "exports": [
5219
- {
5220
- "kind": "js",
5221
- "name": "AgTextRenderer",
5222
- "declaration": {
5223
- "name": "AgTextRenderer",
5224
- "module": "src/cell-renderers/text.renderer.ts"
5225
- }
5226
- },
5227
- {
5228
- "kind": "js",
5229
- "name": "textRendererStyles",
5230
- "declaration": {
5231
- "name": "textRendererStyles",
5232
- "module": "src/cell-renderers/text.renderer.ts"
5233
- }
5234
- },
5235
- {
5236
- "kind": "js",
5237
- "name": "getTextRendererTemplate",
5238
- "declaration": {
5239
- "name": "getTextRendererTemplate",
5240
- "module": "src/cell-renderers/text.renderer.ts"
5241
- }
5242
- },
5243
- {
5244
- "kind": "js",
5245
- "name": "foundationAgTextRenderer",
5246
- "declaration": {
5247
- "name": "foundationAgTextRenderer",
5248
- "module": "src/cell-renderers/text.renderer.ts"
5249
- }
5250
- }
5251
- ]
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"
5282
+ }
5283
+ }
5284
+ ],
5285
+ "inheritedFrom": {
5286
+ "name": "AgTextFieldRenderer",
5287
+ "module": "src/cell-renderers/text-field.renderer.ts"
5288
+ }
5292
5289
  },
5293
5290
  {
5294
5291
  "kind": "field",
5295
- "name": "definition",
5296
- "type": {
5297
- "text": "ColDef"
5298
- },
5299
- "default": "{}"
5300
- },
5301
- {
5302
- "kind": "method",
5303
- "name": "slottedAgCellChanged",
5304
- "privacy": "public"
5292
+ "name": "textChanged",
5293
+ "privacy": "public",
5294
+ "description": "On text change handler",
5295
+ "parameters": [
5296
+ {
5297
+ "description": "CustomEvent",
5298
+ "name": "e"
5299
+ }
5300
+ ],
5301
+ "inheritedFrom": {
5302
+ "name": "AgTextFieldRenderer",
5303
+ "module": "src/cell-renderers/text-field.renderer.ts"
5304
+ }
5305
5305
  },
5306
5306
  {
5307
5307
  "kind": "field",
@@ -5414,61 +5414,61 @@
5414
5414
  "module": "src/foundation-element/foundation-element.ts"
5415
5415
  }
5416
5416
  }
5417
- ],
5418
- "superclass": {
5419
- "name": "FoundationElement",
5420
- "package": "@microsoft/fast-foundation"
5421
- },
5422
- "tagName": "grid-pro-column",
5423
- "customElement": true
5417
+ ]
5418
+ },
5419
+ {
5420
+ "kind": "variable",
5421
+ "name": "textRendererStyles",
5422
+ "default": "textFieldRendererStyles",
5423
+ "privacy": "public",
5424
+ "deprecated": "- Use textFieldRendererStyles instead"
5425
+ },
5426
+ {
5427
+ "kind": "variable",
5428
+ "name": "getTextRendererTemplate",
5429
+ "default": "getTextFieldRendererTemplate",
5430
+ "privacy": "public",
5431
+ "deprecated": "- Use getTextFieldRendererTemplate instead"
5432
+ },
5433
+ {
5434
+ "kind": "variable",
5435
+ "name": "foundationAgTextRenderer",
5436
+ "description": "A function that returns a Foundation Text Renderer registration for configuring the component with a DesignSystem.",
5437
+ "privacy": "public",
5438
+ "deprecated": "- Use foundationAgTextFieldRenderer instead"
5424
5439
  }
5425
5440
  ],
5426
5441
  "exports": [
5427
5442
  {
5428
5443
  "kind": "js",
5429
- "name": "GridProColumn",
5444
+ "name": "AgTextRenderer",
5430
5445
  "declaration": {
5431
- "name": "GridProColumn",
5432
- "module": "src/column/column.ts"
5446
+ "name": "AgTextRenderer",
5447
+ "module": "src/cell-renderers/text.renderer.ts"
5433
5448
  }
5434
5449
  },
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
5450
  {
5451
5451
  "kind": "js",
5452
- "name": "*",
5452
+ "name": "textRendererStyles",
5453
5453
  "declaration": {
5454
- "name": "*",
5455
- "package": "./column.template"
5454
+ "name": "textRendererStyles",
5455
+ "module": "src/cell-renderers/text.renderer.ts"
5456
5456
  }
5457
5457
  },
5458
5458
  {
5459
5459
  "kind": "js",
5460
- "name": "*",
5460
+ "name": "getTextRendererTemplate",
5461
5461
  "declaration": {
5462
- "name": "*",
5463
- "package": "./column"
5462
+ "name": "getTextRendererTemplate",
5463
+ "module": "src/cell-renderers/text.renderer.ts"
5464
5464
  }
5465
5465
  },
5466
5466
  {
5467
5467
  "kind": "js",
5468
- "name": "*",
5468
+ "name": "foundationAgTextRenderer",
5469
5469
  "declaration": {
5470
- "name": "*",
5471
- "package": "./utils"
5470
+ "name": "foundationAgTextRenderer",
5471
+ "module": "src/cell-renderers/text.renderer.ts"
5472
5472
  }
5473
5473
  }
5474
5474
  ]
@@ -7954,42 +7954,6 @@
7954
7954
  }
7955
7955
  ]
7956
7956
  },
7957
- {
7958
- "kind": "method",
7959
- "name": "getAvailableIndexes",
7960
- "privacy": "private",
7961
- "return": {
7962
- "type": {
7963
- "text": "string[]"
7964
- }
7965
- },
7966
- "parameters": [
7967
- {
7968
- "name": "data",
7969
- "type": {
7970
- "text": "Map<string, [string]>"
7971
- }
7972
- }
7973
- ]
7974
- },
7975
- {
7976
- "kind": "method",
7977
- "name": "getAvailableIndexFields",
7978
- "privacy": "private",
7979
- "return": {
7980
- "type": {
7981
- "text": "string[]"
7982
- }
7983
- },
7984
- "parameters": [
7985
- {
7986
- "name": "data",
7987
- "type": {
7988
- "text": "Map<string, [string]>"
7989
- }
7990
- }
7991
- ]
7992
- },
7993
7957
  {
7994
7958
  "kind": "method",
7995
7959
  "name": "handleCurrentStreamLoad",
@@ -10664,6 +10628,14 @@
10664
10628
  "package": "./logger"
10665
10629
  }
10666
10630
  },
10631
+ {
10632
+ "kind": "js",
10633
+ "name": "*",
10634
+ "declaration": {
10635
+ "name": "*",
10636
+ "package": "./map"
10637
+ }
10638
+ },
10667
10639
  {
10668
10640
  "kind": "js",
10669
10641
  "name": "*",
@@ -10696,6 +10668,70 @@
10696
10668
  }
10697
10669
  ]
10698
10670
  },
10671
+ {
10672
+ "kind": "javascript-module",
10673
+ "path": "src/utils/map.ts",
10674
+ "declarations": [
10675
+ {
10676
+ "kind": "function",
10677
+ "name": "getAvailableIndexes",
10678
+ "return": {
10679
+ "type": {
10680
+ "text": ""
10681
+ }
10682
+ },
10683
+ "parameters": [
10684
+ {
10685
+ "name": "data",
10686
+ "type": {
10687
+ "text": "Map<string, [string]>"
10688
+ },
10689
+ "description": "the map data to have the keys extracted from"
10690
+ }
10691
+ ],
10692
+ "description": "Get the keys of the Metadata indexes map",
10693
+ "privacy": "public"
10694
+ },
10695
+ {
10696
+ "kind": "function",
10697
+ "name": "getAvailableIndexFields",
10698
+ "return": {
10699
+ "type": {
10700
+ "text": ""
10701
+ }
10702
+ },
10703
+ "parameters": [
10704
+ {
10705
+ "name": "data",
10706
+ "type": {
10707
+ "text": "Map<string, [string]>"
10708
+ },
10709
+ "description": "the map data to have the values extracted from"
10710
+ }
10711
+ ],
10712
+ "description": "Get the values of the Metadata indexes map",
10713
+ "privacy": "public"
10714
+ }
10715
+ ],
10716
+ "exports": [
10717
+ {
10718
+ "kind": "js",
10719
+ "name": "getAvailableIndexes",
10720
+ "declaration": {
10721
+ "name": "getAvailableIndexes",
10722
+ "module": "src/utils/map.ts"
10723
+ }
10724
+ },
10725
+ {
10726
+ "kind": "js",
10727
+ "name": "getAvailableIndexFields",
10728
+ "declaration": {
10729
+ "name": "getAvailableIndexFields",
10730
+ "module": "src/utils/map.ts"
10731
+ }
10732
+ }
10733
+ ]
10734
+ },
10699
10735
  {
10700
10736
  "kind": "javascript-module",
10701
10737
  "path": "src/utils/sanitasations.ts",
@@ -10724,46 +10760,51 @@
10724
10760
  },
10725
10761
  {
10726
10762
  "kind": "javascript-module",
10727
- "path": "src/cell-renderers/utils/accessor.ts",
10763
+ "path": "src/column/utils/grid-pro-columns.ts",
10728
10764
  "declarations": [
10729
10765
  {
10730
10766
  "kind": "function",
10731
- "name": "setValueWithAccessor",
10767
+ "name": "gridProColumns",
10732
10768
  "return": {
10733
10769
  "type": {
10734
- "text": "string"
10770
+ "text": "CaptureType<TSource>"
10735
10771
  }
10736
10772
  },
10737
10773
  "parameters": [
10738
10774
  {
10739
- "name": "data",
10775
+ "name": "itemsBinding",
10740
10776
  "type": {
10741
- "text": "any"
10742
- }
10777
+ "text": "Binding<TSource, readonly ColDef[]> | readonly ColDef[]"
10778
+ },
10779
+ "description": "The array to render"
10743
10780
  },
10744
10781
  {
10745
- "name": "accessor",
10782
+ "name": "includeRenderers",
10783
+ "default": "true",
10746
10784
  "type": {
10747
- "text": "string"
10748
- }
10785
+ "text": "boolean"
10786
+ },
10787
+ "description": "Optionally tells whether to include cell renderers, if available"
10749
10788
  }
10750
- ]
10789
+ ],
10790
+ "description": "A directive that renders a set of grid-pro-column elements from a given input binding",
10791
+ "privacy": "public"
10751
10792
  }
10752
10793
  ],
10753
10794
  "exports": [
10754
10795
  {
10755
10796
  "kind": "js",
10756
- "name": "setValueWithAccessor",
10797
+ "name": "gridProColumns",
10757
10798
  "declaration": {
10758
- "name": "setValueWithAccessor",
10759
- "module": "src/cell-renderers/utils/accessor.ts"
10799
+ "name": "gridProColumns",
10800
+ "module": "src/column/utils/grid-pro-columns.ts"
10760
10801
  }
10761
10802
  }
10762
10803
  ]
10763
10804
  },
10764
10805
  {
10765
10806
  "kind": "javascript-module",
10766
- "path": "src/cell-renderers/utils/index.ts",
10807
+ "path": "src/column/utils/index.ts",
10767
10808
  "declarations": [],
10768
10809
  "exports": [
10769
10810
  {
@@ -10771,58 +10812,53 @@
10771
10812
  "name": "*",
10772
10813
  "declaration": {
10773
10814
  "name": "*",
10774
- "package": "./accessor"
10815
+ "package": "./grid-pro-columns"
10775
10816
  }
10776
10817
  }
10777
10818
  ]
10778
10819
  },
10779
10820
  {
10780
10821
  "kind": "javascript-module",
10781
- "path": "src/column/utils/grid-pro-columns.ts",
10822
+ "path": "src/cell-renderers/utils/accessor.ts",
10782
10823
  "declarations": [
10783
10824
  {
10784
10825
  "kind": "function",
10785
- "name": "gridProColumns",
10826
+ "name": "setValueWithAccessor",
10786
10827
  "return": {
10787
10828
  "type": {
10788
- "text": "CaptureType<TSource>"
10829
+ "text": "string"
10789
10830
  }
10790
10831
  },
10791
10832
  "parameters": [
10792
10833
  {
10793
- "name": "itemsBinding",
10834
+ "name": "data",
10794
10835
  "type": {
10795
- "text": "Binding<TSource, readonly ColDef[]> | readonly ColDef[]"
10796
- },
10797
- "description": "The array to render"
10836
+ "text": "any"
10837
+ }
10798
10838
  },
10799
10839
  {
10800
- "name": "includeRenderers",
10801
- "default": "true",
10840
+ "name": "accessor",
10802
10841
  "type": {
10803
- "text": "boolean"
10804
- },
10805
- "description": "Optionally tells whether to include cell renderers, if available"
10842
+ "text": "string"
10843
+ }
10806
10844
  }
10807
- ],
10808
- "description": "A directive that renders a set of grid-pro-column elements from a given input binding",
10809
- "privacy": "public"
10845
+ ]
10810
10846
  }
10811
10847
  ],
10812
10848
  "exports": [
10813
10849
  {
10814
10850
  "kind": "js",
10815
- "name": "gridProColumns",
10851
+ "name": "setValueWithAccessor",
10816
10852
  "declaration": {
10817
- "name": "gridProColumns",
10818
- "module": "src/column/utils/grid-pro-columns.ts"
10853
+ "name": "setValueWithAccessor",
10854
+ "module": "src/cell-renderers/utils/accessor.ts"
10819
10855
  }
10820
10856
  }
10821
10857
  ]
10822
10858
  },
10823
10859
  {
10824
10860
  "kind": "javascript-module",
10825
- "path": "src/column/utils/index.ts",
10861
+ "path": "src/cell-renderers/utils/index.ts",
10826
10862
  "declarations": [],
10827
10863
  "exports": [
10828
10864
  {
@@ -10830,7 +10866,7 @@
10830
10866
  "name": "*",
10831
10867
  "declaration": {
10832
10868
  "name": "*",
10833
- "package": "./grid-pro-columns"
10869
+ "package": "./accessor"
10834
10870
  }
10835
10871
  }
10836
10872
  ]
@@ -56,8 +56,6 @@ export declare class StreamDatasource extends StreamBaseDatasource implements IS
56
56
  dataLogoff(): void;
57
57
  private restartSubscription;
58
58
  private getOrderByAndToBeSortedColIds;
59
- private getAvailableIndexes;
60
- private getAvailableIndexFields;
61
59
  private handleCurrentStreamLoad;
62
60
  private buildCriteriaMatchFromFilters;
63
61
  private criteriaFromFilters;
@@ -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,E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKD;;;;GAIG;AACH,qBAGa,2BAA4B,SAAQ,gCAAqC;IACpF,aAAa,SAAgC;IAC7C,kBAAkB,SAAqC;IAEvD,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IASxD;;;;OAIG;YACW,kBAAkB;IAWhC,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAK3B,UAAU,UAAS;IAE9C,OAAO,CAAC,OAAO,CAAwB;IACvC,OAAO,CAAC,cAAc,CAAmB;IACzC,OAAO,CAAC,gBAAgB,CAAmB;IAE3C,iBAAiB;IASjB,oBAAoB;IASX,SAAS,IAAI,IAAI;IAO1B,MAAM;IAON,IAAI;IAsEJ,OAAO;IAKP,OAAO,CAAC,YAAY;IAiBpB,OAAO,CAAC,kBAAkB;IAU1B,IAAI,MAAM,QA2BT;IAED,IAAI,QAAQ,IAAI,mBAAmB,CAElC;YAEa,sBAAsB;IAqCpC,OAAO,CAAC,uBAAuB;IAU/B,OAAO,CAAC,eAAe;IA6Dd,gBAAgB,CAAC,aAAa,EAAE,kBAAkB,GAAG,2BAA2B;IAIhF,qBAAqB,CAC5B,aAAa,EAAE,kBAAkB,EACjC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,2BAA2B,KAAK,IAAI;CAIxD"}
@@ -1,4 +1,5 @@
1
1
  export * from './array';
2
2
  export * from './logger';
3
+ export * from './map';
3
4
  export * from './sanitasations';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Get the keys of the Metadata indexes map
3
+ * @remarks This function will return a flat string array of all the keys in the "metadata indexes" map
4
+ * @param data - the map data to have the keys extracted from
5
+ * @returns the keys of the map
6
+ * @public
7
+ */
8
+ export declare function getAvailableIndexes(data: Map<string, [string]>): string[];
9
+ /**
10
+ * Get the values of the Metadata indexes map
11
+ * @remarks This function will return a flat string array of all the values in the "metadata indexes" map
12
+ * @param data - the map data to have the values extracted from
13
+ * @returns the values of the map
14
+ * @public
15
+ */
16
+ export declare function getAvailableIndexFields(data: Map<string, [string]>): string[];
17
+ //# sourceMappingURL=map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../src/utils/map.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,GAAG,MAAM,EAAE,CAUzE;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,GAAG,MAAM,EAAE,CAkB7E"}
@@ -5,7 +5,7 @@ import { attr, customElement, DOM } from '@microsoft/fast-element';
5
5
  import { take } from 'rxjs/operators';
6
6
  import { dateTimeValueFormatter, dateValueFormatter } from '../grid-pro.definitions';
7
7
  import { GridProRendererTypes } from '../grid-pro.types';
8
- import { logger } from '../utils';
8
+ import { getAvailableIndexes, getAvailableIndexFields, logger } from '../utils';
9
9
  import { GridProBaseDatasource, StreamBaseDatasource } from './base.datasource';
10
10
  import { getColumnType, getFilterByFieldType, getFilterParamsByFieldType, } from './server-side.grid-definitions';
11
11
  /**
@@ -73,8 +73,8 @@ export class StreamDatasource extends StreamBaseDatasource {
73
73
  const sortTypeBeingApplied = this.currentSortModel[0].sort;
74
74
  const orderByAndToBeSortedColIds = this.getOrderByAndToBeSortedColIds(this.resourceIndexes, coldIdBeingSorted);
75
75
  if (!orderByAndToBeSortedColIds) {
76
- const availableIndexes = this.getAvailableIndexes(this.resourceIndexes);
77
- const availableIndexFields = this.getAvailableIndexFields(this.resourceIndexes);
76
+ const availableIndexes = getAvailableIndexes(this.resourceIndexes);
77
+ const availableIndexFields = getAvailableIndexFields(this.resourceIndexes);
78
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
79
  logger.debug('Available indexes:', availableIndexes);
80
80
  logger.debug('Columns that can be sorted with the available indexes:', availableIndexFields);
@@ -174,31 +174,6 @@ export class StreamDatasource extends StreamBaseDatasource {
174
174
  }
175
175
  }
176
176
  }
177
- getAvailableIndexes(data) {
178
- const availabeIndexes = [];
179
- for (const [key] of data) {
180
- if (key) {
181
- availabeIndexes.push(key);
182
- }
183
- }
184
- return availabeIndexes;
185
- }
186
- getAvailableIndexFields(data) {
187
- const innermostValues = [];
188
- function traverse(items) {
189
- for (const item of items) {
190
- if (item !== null) {
191
- innermostValues.push(item);
192
- }
193
- }
194
- }
195
- for (const [key, value] of data) {
196
- if (key !== null && value !== null) {
197
- traverse(value);
198
- }
199
- }
200
- return innermostValues;
201
- }
202
177
  handleCurrentStreamLoad(result) {
203
178
  var _a;
204
179
  if (!result)
@@ -208,6 +183,7 @@ export class StreamDatasource extends StreamBaseDatasource {
208
183
  rows.set(insertData[this.rowId], insertData);
209
184
  });
210
185
  this.rowData = rows;
186
+ this.client_ROWS_COUNT = this.rowData.size;
211
187
  }
212
188
  buildCriteriaMatchFromFilters() {
213
189
  this.resourceParams.CRITERIA_MATCH = this.originalCriteriaMatch;
@@ -395,8 +371,8 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
395
371
  resourceParams: this.params,
396
372
  resourceIndexes: this.indexes,
397
373
  resourceColDefs: this.originalFieldDef,
398
- maxRows: this.maxRows,
399
- maxView: this.maxView,
374
+ maxRows: +this.maxRows,
375
+ maxView: +this.maxView,
400
376
  rowId: this.rowId,
401
377
  pagination: this.pagination,
402
378
  });
@@ -1,3 +1,4 @@
1
1
  export * from './array';
2
2
  export * from './logger';
3
+ export * from './map';
3
4
  export * from './sanitasations';
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Get the keys of the Metadata indexes map
3
+ * @remarks This function will return a flat string array of all the keys in the "metadata indexes" map
4
+ * @param data - the map data to have the keys extracted from
5
+ * @returns the keys of the map
6
+ * @public
7
+ */
8
+ export function getAvailableIndexes(data) {
9
+ const availabeIndexes = [];
10
+ for (const [key] of data) {
11
+ if (key) {
12
+ availabeIndexes.push(key);
13
+ }
14
+ }
15
+ return availabeIndexes;
16
+ }
17
+ /**
18
+ * Get the values of the Metadata indexes map
19
+ * @remarks This function will return a flat string array of all the values in the "metadata indexes" map
20
+ * @param data - the map data to have the values extracted from
21
+ * @returns the values of the map
22
+ * @public
23
+ */
24
+ export function getAvailableIndexFields(data) {
25
+ const availableIndexFields = [];
26
+ function traverse(items) {
27
+ for (const item of items) {
28
+ if (item !== null) {
29
+ availableIndexFields.push(item);
30
+ }
31
+ }
32
+ }
33
+ for (const [key, value] of data) {
34
+ if (key !== null && value !== null) {
35
+ traverse(value);
36
+ }
37
+ }
38
+ return availableIndexFields;
39
+ }
@@ -6879,6 +6879,106 @@
6879
6879
  "endIndex": 6
6880
6880
  }
6881
6881
  },
6882
+ {
6883
+ "kind": "Function",
6884
+ "canonicalReference": "@genesislcap/grid-pro!getAvailableIndexes:function(1)",
6885
+ "docComment": "/**\n * Get the keys of the Metadata indexes map\n *\n * @remarks\n *\n * This function will return a flat string array of all the keys in the \"metadata indexes\" map\n *\n * @param data - the map data to have the keys extracted from\n *\n * @returns the keys of the map\n *\n * @public\n */\n",
6886
+ "excerptTokens": [
6887
+ {
6888
+ "kind": "Content",
6889
+ "text": "export declare function getAvailableIndexes(data: "
6890
+ },
6891
+ {
6892
+ "kind": "Reference",
6893
+ "text": "Map",
6894
+ "canonicalReference": "!Map:interface"
6895
+ },
6896
+ {
6897
+ "kind": "Content",
6898
+ "text": "<string, [string]>"
6899
+ },
6900
+ {
6901
+ "kind": "Content",
6902
+ "text": "): "
6903
+ },
6904
+ {
6905
+ "kind": "Content",
6906
+ "text": "string[]"
6907
+ },
6908
+ {
6909
+ "kind": "Content",
6910
+ "text": ";"
6911
+ }
6912
+ ],
6913
+ "fileUrlPath": "src/utils/map.ts",
6914
+ "returnTypeTokenRange": {
6915
+ "startIndex": 4,
6916
+ "endIndex": 5
6917
+ },
6918
+ "releaseTag": "Public",
6919
+ "overloadIndex": 1,
6920
+ "parameters": [
6921
+ {
6922
+ "parameterName": "data",
6923
+ "parameterTypeTokenRange": {
6924
+ "startIndex": 1,
6925
+ "endIndex": 3
6926
+ },
6927
+ "isOptional": false
6928
+ }
6929
+ ],
6930
+ "name": "getAvailableIndexes"
6931
+ },
6932
+ {
6933
+ "kind": "Function",
6934
+ "canonicalReference": "@genesislcap/grid-pro!getAvailableIndexFields:function(1)",
6935
+ "docComment": "/**\n * Get the values of the Metadata indexes map\n *\n * @remarks\n *\n * This function will return a flat string array of all the values in the \"metadata indexes\" map\n *\n * @param data - the map data to have the values extracted from\n *\n * @returns the values of the map\n *\n * @public\n */\n",
6936
+ "excerptTokens": [
6937
+ {
6938
+ "kind": "Content",
6939
+ "text": "export declare function getAvailableIndexFields(data: "
6940
+ },
6941
+ {
6942
+ "kind": "Reference",
6943
+ "text": "Map",
6944
+ "canonicalReference": "!Map:interface"
6945
+ },
6946
+ {
6947
+ "kind": "Content",
6948
+ "text": "<string, [string]>"
6949
+ },
6950
+ {
6951
+ "kind": "Content",
6952
+ "text": "): "
6953
+ },
6954
+ {
6955
+ "kind": "Content",
6956
+ "text": "string[]"
6957
+ },
6958
+ {
6959
+ "kind": "Content",
6960
+ "text": ";"
6961
+ }
6962
+ ],
6963
+ "fileUrlPath": "src/utils/map.ts",
6964
+ "returnTypeTokenRange": {
6965
+ "startIndex": 4,
6966
+ "endIndex": 5
6967
+ },
6968
+ "releaseTag": "Public",
6969
+ "overloadIndex": 1,
6970
+ "parameters": [
6971
+ {
6972
+ "parameterName": "data",
6973
+ "parameterTypeTokenRange": {
6974
+ "startIndex": 1,
6975
+ "endIndex": 3
6976
+ },
6977
+ "isOptional": false
6978
+ }
6979
+ ],
6980
+ "name": "getAvailableIndexFields"
6981
+ },
6882
6982
  {
6883
6983
  "kind": "Variable",
6884
6984
  "canonicalReference": "@genesislcap/grid-pro!getDateEditorTemplate:var",
@@ -1023,6 +1023,24 @@ export declare const getAgBooleanRendererTemplate: (designSystem?: string) => Vi
1023
1023
  */
1024
1024
  export declare const getAgEditableRendererTemplate: (designSystem?: string) => ViewTemplate<EditableRenderer, any>;
1025
1025
 
1026
+ /**
1027
+ * Get the keys of the Metadata indexes map
1028
+ * @remarks This function will return a flat string array of all the keys in the "metadata indexes" map
1029
+ * @param data - the map data to have the keys extracted from
1030
+ * @returns the keys of the map
1031
+ * @public
1032
+ */
1033
+ export declare function getAvailableIndexes(data: Map<string, [string]>): string[];
1034
+
1035
+ /**
1036
+ * Get the values of the Metadata indexes map
1037
+ * @remarks This function will return a flat string array of all the values in the "metadata indexes" map
1038
+ * @param data - the map data to have the values extracted from
1039
+ * @returns the values of the map
1040
+ * @public
1041
+ */
1042
+ export declare function getAvailableIndexFields(data: Map<string, [string]>): string[];
1043
+
1026
1044
  /**
1027
1045
  * Return a column type base on each field's metadata from the selected resource.
1028
1046
  * @param metadataType - The type of the field/column
@@ -2710,8 +2728,6 @@ export declare class StreamDatasource extends StreamBaseDatasource implements IS
2710
2728
  dataLogoff(): void;
2711
2729
  private restartSubscription;
2712
2730
  private getOrderByAndToBeSortedColIds;
2713
- private getAvailableIndexes;
2714
- private getAvailableIndexFields;
2715
2731
  private handleCurrentStreamLoad;
2716
2732
  private buildCriteriaMatchFromFilters;
2717
2733
  private criteriaFromFilters;
@@ -0,0 +1,30 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [getAvailableIndexes](./grid-pro.getavailableindexes.md)
4
+
5
+ ## getAvailableIndexes() function
6
+
7
+ Get the keys of the Metadata indexes map
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export declare function getAvailableIndexes(data: Map<string, [string]>): string[];
13
+ ```
14
+
15
+ ## Parameters
16
+
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | data | Map&lt;string, \[string\]&gt; | the map data to have the keys extracted from |
20
+
21
+ **Returns:**
22
+
23
+ string\[\]
24
+
25
+ the keys of the map
26
+
27
+ ## Remarks
28
+
29
+ This function will return a flat string array of all the keys in the "metadata indexes" map
30
+
@@ -0,0 +1,30 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [getAvailableIndexFields](./grid-pro.getavailableindexfields.md)
4
+
5
+ ## getAvailableIndexFields() function
6
+
7
+ Get the values of the Metadata indexes map
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export declare function getAvailableIndexFields(data: Map<string, [string]>): string[];
13
+ ```
14
+
15
+ ## Parameters
16
+
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | data | Map&lt;string, \[string\]&gt; | the map data to have the values extracted from |
20
+
21
+ **Returns:**
22
+
23
+ string\[\]
24
+
25
+ the values of the map
26
+
27
+ ## Remarks
28
+
29
+ This function will return a flat string array of all the values in the "metadata indexes" map
30
+
@@ -41,6 +41,8 @@
41
41
  | --- | --- |
42
42
  | [dateTimeValueFormatter({ value })](./grid-pro.datetimevalueformatter.md) | Returns a formatted date time value from the Grid Pro cell value. |
43
43
  | [dateValueFormatter({ value })](./grid-pro.datevalueformatter.md) | Returns a formatted date value from the Grid Pro cell value. |
44
+ | [getAvailableIndexes(data)](./grid-pro.getavailableindexes.md) | Get the keys of the Metadata indexes map |
45
+ | [getAvailableIndexFields(data)](./grid-pro.getavailableindexfields.md) | Get the values of the Metadata indexes map |
44
46
  | [gridProColumns(itemsBinding, includeRenderers)](./grid-pro.gridprocolumns.md) | A directive that renders a set of grid-pro-column elements from a given input binding |
45
47
  | [mergeAndDedupColDefWithColumnState(colDefs, columnStates)](./grid-pro.mergeanddedupcoldefwithcolumnstate.md) | Merges two arrays, one of <code>ColDef</code> and one of <code>ColumnState</code>, and deduplicates them. |
46
48
 
@@ -723,6 +723,12 @@ export const getAgBooleanRendererTemplate: (designSystem?: string) => ViewTempla
723
723
  // @public
724
724
  export const getAgEditableRendererTemplate: (designSystem?: string) => ViewTemplate<EditableRenderer, any>;
725
725
 
726
+ // @public
727
+ export function getAvailableIndexes(data: Map<string, [string]>): string[];
728
+
729
+ // @public
730
+ export function getAvailableIndexFields(data: Map<string, [string]>): string[];
731
+
726
732
  // @alpha
727
733
  export function getColumnType(metadataType: string): string;
728
734
 
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.1-alpha-e3b7ca7.0",
4
+ "version": "14.148.1-alpha-4b4abd1.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.1-alpha-e3b7ca7.0",
34
- "@genesislcap/genx": "14.147.1-alpha-e3b7ca7.0",
35
- "@genesislcap/rollup-builder": "14.147.1-alpha-e3b7ca7.0",
36
- "@genesislcap/ts-builder": "14.147.1-alpha-e3b7ca7.0",
37
- "@genesislcap/uvu-playwright-builder": "14.147.1-alpha-e3b7ca7.0",
38
- "@genesislcap/vite-builder": "14.147.1-alpha-e3b7ca7.0",
39
- "@genesislcap/webpack-builder": "14.147.1-alpha-e3b7ca7.0",
33
+ "@genesislcap/foundation-testing": "14.148.1-alpha-4b4abd1.0",
34
+ "@genesislcap/genx": "14.148.1-alpha-4b4abd1.0",
35
+ "@genesislcap/rollup-builder": "14.148.1-alpha-4b4abd1.0",
36
+ "@genesislcap/ts-builder": "14.148.1-alpha-4b4abd1.0",
37
+ "@genesislcap/uvu-playwright-builder": "14.148.1-alpha-4b4abd1.0",
38
+ "@genesislcap/vite-builder": "14.148.1-alpha-4b4abd1.0",
39
+ "@genesislcap/webpack-builder": "14.148.1-alpha-4b4abd1.0",
40
40
  "rimraf": "^3.0.2"
41
41
  },
42
42
  "dependencies": {
43
- "@genesislcap/foundation-comms": "14.147.1-alpha-e3b7ca7.0",
44
- "@genesislcap/foundation-logger": "14.147.1-alpha-e3b7ca7.0",
45
- "@genesislcap/foundation-ui": "14.147.1-alpha-e3b7ca7.0",
46
- "@genesislcap/foundation-utils": "14.147.1-alpha-e3b7ca7.0",
43
+ "@genesislcap/foundation-comms": "14.148.1-alpha-4b4abd1.0",
44
+ "@genesislcap/foundation-logger": "14.148.1-alpha-4b4abd1.0",
45
+ "@genesislcap/foundation-ui": "14.148.1-alpha-4b4abd1.0",
46
+ "@genesislcap/foundation-utils": "14.148.1-alpha-4b4abd1.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": "843eb1b1f6b9ab5e1f2725dd4175e1478d9c9c0b"
71
+ "gitHead": "95b4671b321824af65c6741bea4f7cabca4344e5"
72
72
  }