@genesislcap/grid-pro 14.101.4-alpha-0f9aa4a.0 → 14.101.4

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.
@@ -1966,6 +1966,229 @@
1966
1966
  }
1967
1967
  ]
1968
1968
  },
1969
+ {
1970
+ "kind": "javascript-module",
1971
+ "path": "src/column/column.template.ts",
1972
+ "declarations": [
1973
+ {
1974
+ "kind": "variable",
1975
+ "name": "ColumnTemplate",
1976
+ "default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
1977
+ "description": "The Grid Pro Column Template.",
1978
+ "privacy": "public"
1979
+ }
1980
+ ],
1981
+ "exports": [
1982
+ {
1983
+ "kind": "js",
1984
+ "name": "ColumnTemplate",
1985
+ "declaration": {
1986
+ "name": "ColumnTemplate",
1987
+ "module": "src/column/column.template.ts"
1988
+ }
1989
+ }
1990
+ ]
1991
+ },
1992
+ {
1993
+ "kind": "javascript-module",
1994
+ "path": "src/column/column.ts",
1995
+ "declarations": [
1996
+ {
1997
+ "kind": "class",
1998
+ "description": "The Grid Pro Column element.",
1999
+ "name": "GridProColumn",
2000
+ "members": [
2001
+ {
2002
+ "kind": "field",
2003
+ "name": "slottedAgCell",
2004
+ "type": {
2005
+ "text": "HTMLElement[]"
2006
+ },
2007
+ "privacy": "public"
2008
+ },
2009
+ {
2010
+ "kind": "field",
2011
+ "name": "definition",
2012
+ "type": {
2013
+ "text": "ColDef"
2014
+ },
2015
+ "default": "{}"
2016
+ },
2017
+ {
2018
+ "kind": "method",
2019
+ "name": "slottedAgCellChanged",
2020
+ "privacy": "public"
2021
+ },
2022
+ {
2023
+ "kind": "field",
2024
+ "name": "_presentation",
2025
+ "type": {
2026
+ "text": "ComponentPresentation | null | undefined"
2027
+ },
2028
+ "privacy": "private",
2029
+ "default": "void 0",
2030
+ "inheritedFrom": {
2031
+ "name": "FoundationElement",
2032
+ "module": "src/foundation-element/foundation-element.ts"
2033
+ }
2034
+ },
2035
+ {
2036
+ "kind": "field",
2037
+ "name": "$presentation",
2038
+ "type": {
2039
+ "text": "ComponentPresentation | null"
2040
+ },
2041
+ "privacy": "public",
2042
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2043
+ "inheritedFrom": {
2044
+ "name": "FoundationElement",
2045
+ "module": "src/foundation-element/foundation-element.ts"
2046
+ }
2047
+ },
2048
+ {
2049
+ "kind": "field",
2050
+ "name": "template",
2051
+ "type": {
2052
+ "text": "ElementViewTemplate | void | null"
2053
+ },
2054
+ "privacy": "public",
2055
+ "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.",
2056
+ "inheritedFrom": {
2057
+ "name": "FoundationElement",
2058
+ "module": "src/foundation-element/foundation-element.ts"
2059
+ }
2060
+ },
2061
+ {
2062
+ "kind": "method",
2063
+ "name": "templateChanged",
2064
+ "privacy": "protected",
2065
+ "return": {
2066
+ "type": {
2067
+ "text": "void"
2068
+ }
2069
+ },
2070
+ "inheritedFrom": {
2071
+ "name": "FoundationElement",
2072
+ "module": "src/foundation-element/foundation-element.ts"
2073
+ }
2074
+ },
2075
+ {
2076
+ "kind": "field",
2077
+ "name": "styles",
2078
+ "type": {
2079
+ "text": "ElementStyles | void | null"
2080
+ },
2081
+ "privacy": "public",
2082
+ "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.",
2083
+ "inheritedFrom": {
2084
+ "name": "FoundationElement",
2085
+ "module": "src/foundation-element/foundation-element.ts"
2086
+ }
2087
+ },
2088
+ {
2089
+ "kind": "method",
2090
+ "name": "stylesChanged",
2091
+ "privacy": "protected",
2092
+ "return": {
2093
+ "type": {
2094
+ "text": "void"
2095
+ }
2096
+ },
2097
+ "inheritedFrom": {
2098
+ "name": "FoundationElement",
2099
+ "module": "src/foundation-element/foundation-element.ts"
2100
+ }
2101
+ },
2102
+ {
2103
+ "kind": "method",
2104
+ "name": "compose",
2105
+ "privacy": "public",
2106
+ "static": true,
2107
+ "return": {
2108
+ "type": {
2109
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2110
+ }
2111
+ },
2112
+ "parameters": [
2113
+ {
2114
+ "name": "this",
2115
+ "type": {
2116
+ "text": "K"
2117
+ }
2118
+ },
2119
+ {
2120
+ "name": "elementDefinition",
2121
+ "type": {
2122
+ "text": "T"
2123
+ },
2124
+ "description": "The definition of the element to create the registry\nfunction for."
2125
+ }
2126
+ ],
2127
+ "description": "Defines an element registry function with a set of element definition defaults.",
2128
+ "inheritedFrom": {
2129
+ "name": "FoundationElement",
2130
+ "module": "src/foundation-element/foundation-element.ts"
2131
+ }
2132
+ }
2133
+ ],
2134
+ "superclass": {
2135
+ "name": "FoundationElement",
2136
+ "package": "@microsoft/fast-foundation"
2137
+ },
2138
+ "tagName": "grid-pro-column",
2139
+ "customElement": true
2140
+ }
2141
+ ],
2142
+ "exports": [
2143
+ {
2144
+ "kind": "js",
2145
+ "name": "GridProColumn",
2146
+ "declaration": {
2147
+ "name": "GridProColumn",
2148
+ "module": "src/column/column.ts"
2149
+ }
2150
+ },
2151
+ {
2152
+ "kind": "custom-element-definition",
2153
+ "name": "grid-pro-column",
2154
+ "declaration": {
2155
+ "name": "GridProColumn",
2156
+ "module": "src/column/column.ts"
2157
+ }
2158
+ }
2159
+ ]
2160
+ },
2161
+ {
2162
+ "kind": "javascript-module",
2163
+ "path": "src/column/index.ts",
2164
+ "declarations": [],
2165
+ "exports": [
2166
+ {
2167
+ "kind": "js",
2168
+ "name": "*",
2169
+ "declaration": {
2170
+ "name": "*",
2171
+ "package": "./column.template"
2172
+ }
2173
+ },
2174
+ {
2175
+ "kind": "js",
2176
+ "name": "*",
2177
+ "declaration": {
2178
+ "name": "*",
2179
+ "package": "./column"
2180
+ }
2181
+ },
2182
+ {
2183
+ "kind": "js",
2184
+ "name": "*",
2185
+ "declaration": {
2186
+ "name": "*",
2187
+ "package": "./utils"
2188
+ }
2189
+ }
2190
+ ]
2191
+ },
1969
2192
  {
1970
2193
  "kind": "javascript-module",
1971
2194
  "path": "src/cell-renderers/action.renderer.ts",
@@ -3341,358 +3564,135 @@
3341
3564
  "name": "foundationAgTextFieldRenderer",
3342
3565
  "declaration": {
3343
3566
  "name": "foundationAgTextFieldRenderer",
3344
- "module": "src/cell-renderers/text-field.renderer.ts"
3345
- }
3346
- }
3347
- ]
3348
- },
3349
- {
3350
- "kind": "javascript-module",
3351
- "path": "src/cell-renderers/text.renderer.ts",
3352
- "declarations": [
3353
- {
3354
- "kind": "class",
3355
- "description": "",
3356
- "name": "AgTextRenderer",
3357
- "superclass": {
3358
- "name": "AgTextFieldRenderer",
3359
- "module": "/src/cell-renderers/text-field.renderer"
3360
- },
3361
- "deprecated": "- Use AgTextFieldRenderer instead",
3362
- "tagName": "%%prefix%%-grid-text-renderer",
3363
- "customElement": true,
3364
- "members": [
3365
- {
3366
- "kind": "field",
3367
- "name": "textField",
3368
- "type": {
3369
- "text": "TextField"
3370
- },
3371
- "privacy": "public",
3372
- "inheritedFrom": {
3373
- "name": "AgTextFieldRenderer",
3374
- "module": "src/cell-renderers/text-field.renderer.ts"
3375
- }
3376
- },
3377
- {
3378
- "kind": "field",
3379
- "name": "textValue",
3380
- "type": {
3381
- "text": "string"
3382
- },
3383
- "default": "''",
3384
- "inheritedFrom": {
3385
- "name": "AgTextFieldRenderer",
3386
- "module": "src/cell-renderers/text-field.renderer.ts"
3387
- }
3388
- },
3389
- {
3390
- "kind": "field",
3391
- "name": "params",
3392
- "type": {
3393
- "text": "FuiCellRendererParams"
3394
- },
3395
- "privacy": "public",
3396
- "inheritedFrom": {
3397
- "name": "AgTextFieldRenderer",
3398
- "module": "src/cell-renderers/text-field.renderer.ts"
3399
- }
3400
- },
3401
- {
3402
- "kind": "method",
3403
- "name": "init",
3404
- "privacy": "public",
3405
- "parameters": [
3406
- {
3407
- "name": "params",
3408
- "type": {
3409
- "text": "FuiCellRendererParams"
3410
- }
3411
- }
3412
- ],
3413
- "inheritedFrom": {
3414
- "name": "AgTextFieldRenderer",
3415
- "module": "src/cell-renderers/text-field.renderer.ts"
3416
- }
3417
- },
3418
- {
3419
- "kind": "method",
3420
- "name": "getGui",
3421
- "privacy": "public",
3422
- "return": {
3423
- "type": {
3424
- "text": "HTMLElement"
3425
- }
3426
- },
3427
- "inheritedFrom": {
3428
- "name": "AgTextFieldRenderer",
3429
- "module": "src/cell-renderers/text-field.renderer.ts"
3430
- }
3431
- },
3432
- {
3433
- "kind": "method",
3434
- "name": "destroy",
3435
- "privacy": "public",
3436
- "inheritedFrom": {
3437
- "name": "AgTextFieldRenderer",
3438
- "module": "src/cell-renderers/text-field.renderer.ts"
3439
- }
3440
- },
3441
- {
3442
- "kind": "method",
3443
- "name": "refresh",
3444
- "privacy": "public",
3445
- "parameters": [
3446
- {
3447
- "name": "params",
3448
- "type": {
3449
- "text": "FuiCellRendererParams"
3450
- }
3451
- }
3452
- ],
3453
- "inheritedFrom": {
3454
- "name": "AgTextFieldRenderer",
3455
- "module": "src/cell-renderers/text-field.renderer.ts"
3456
- }
3457
- },
3458
- {
3459
- "kind": "field",
3460
- "name": "textChanged",
3461
- "privacy": "public",
3462
- "description": "On text change handler",
3463
- "parameters": [
3464
- {
3465
- "description": "CustomEvent",
3466
- "name": "e"
3467
- }
3468
- ],
3469
- "inheritedFrom": {
3470
- "name": "AgTextFieldRenderer",
3471
- "module": "src/cell-renderers/text-field.renderer.ts"
3472
- }
3473
- },
3474
- {
3475
- "kind": "field",
3476
- "name": "_presentation",
3477
- "type": {
3478
- "text": "ComponentPresentation | null | undefined"
3479
- },
3480
- "privacy": "private",
3481
- "default": "void 0",
3482
- "inheritedFrom": {
3483
- "name": "FoundationElement",
3484
- "module": "src/foundation-element/foundation-element.ts"
3485
- }
3486
- },
3487
- {
3488
- "kind": "field",
3489
- "name": "$presentation",
3490
- "type": {
3491
- "text": "ComponentPresentation | null"
3492
- },
3493
- "privacy": "public",
3494
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3495
- "inheritedFrom": {
3496
- "name": "FoundationElement",
3497
- "module": "src/foundation-element/foundation-element.ts"
3498
- }
3499
- },
3500
- {
3501
- "kind": "field",
3502
- "name": "template",
3503
- "type": {
3504
- "text": "ElementViewTemplate | void | null"
3505
- },
3506
- "privacy": "public",
3507
- "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.",
3508
- "inheritedFrom": {
3509
- "name": "FoundationElement",
3510
- "module": "src/foundation-element/foundation-element.ts"
3511
- }
3512
- },
3513
- {
3514
- "kind": "method",
3515
- "name": "templateChanged",
3516
- "privacy": "protected",
3517
- "return": {
3518
- "type": {
3519
- "text": "void"
3520
- }
3521
- },
3522
- "inheritedFrom": {
3523
- "name": "FoundationElement",
3524
- "module": "src/foundation-element/foundation-element.ts"
3525
- }
3526
- },
3527
- {
3528
- "kind": "field",
3529
- "name": "styles",
3530
- "type": {
3531
- "text": "ElementStyles | void | null"
3532
- },
3533
- "privacy": "public",
3534
- "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.",
3535
- "inheritedFrom": {
3536
- "name": "FoundationElement",
3537
- "module": "src/foundation-element/foundation-element.ts"
3538
- }
3539
- },
3540
- {
3541
- "kind": "method",
3542
- "name": "stylesChanged",
3543
- "privacy": "protected",
3544
- "return": {
3545
- "type": {
3546
- "text": "void"
3547
- }
3548
- },
3549
- "inheritedFrom": {
3550
- "name": "FoundationElement",
3551
- "module": "src/foundation-element/foundation-element.ts"
3552
- }
3553
- },
3554
- {
3555
- "kind": "method",
3556
- "name": "compose",
3557
- "privacy": "public",
3558
- "static": true,
3559
- "return": {
3560
- "type": {
3561
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3562
- }
3563
- },
3564
- "parameters": [
3565
- {
3566
- "name": "this",
3567
- "type": {
3568
- "text": "K"
3569
- }
3570
- },
3571
- {
3572
- "name": "elementDefinition",
3573
- "type": {
3574
- "text": "T"
3575
- },
3576
- "description": "The definition of the element to create the registry\nfunction for."
3577
- }
3578
- ],
3579
- "description": "Defines an element registry function with a set of element definition defaults.",
3580
- "inheritedFrom": {
3581
- "name": "FoundationElement",
3582
- "module": "src/foundation-element/foundation-element.ts"
3583
- }
3584
- }
3585
- ]
3586
- },
3587
- {
3588
- "kind": "variable",
3589
- "name": "textRendererStyles",
3590
- "default": "textFieldRendererStyles",
3591
- "privacy": "public",
3592
- "deprecated": "- Use textFieldRendererStyles instead"
3593
- },
3594
- {
3595
- "kind": "variable",
3596
- "name": "getTextRendererTemplate",
3597
- "default": "getTextFieldRendererTemplate",
3598
- "privacy": "public",
3599
- "deprecated": "- Use getTextFieldRendererTemplate instead"
3600
- },
3601
- {
3602
- "kind": "variable",
3603
- "name": "foundationAgTextRenderer",
3604
- "description": "A function that returns a Foundation Text Renderer registration for configuring the component with a DesignSystem.",
3605
- "privacy": "public",
3606
- "deprecated": "- Use foundationAgTextFieldRenderer instead"
3607
- }
3608
- ],
3609
- "exports": [
3610
- {
3611
- "kind": "js",
3612
- "name": "AgTextRenderer",
3613
- "declaration": {
3614
- "name": "AgTextRenderer",
3615
- "module": "src/cell-renderers/text.renderer.ts"
3616
- }
3617
- },
3618
- {
3619
- "kind": "js",
3620
- "name": "textRendererStyles",
3621
- "declaration": {
3622
- "name": "textRendererStyles",
3623
- "module": "src/cell-renderers/text.renderer.ts"
3624
- }
3625
- },
3626
- {
3627
- "kind": "js",
3628
- "name": "getTextRendererTemplate",
3629
- "declaration": {
3630
- "name": "getTextRendererTemplate",
3631
- "module": "src/cell-renderers/text.renderer.ts"
3632
- }
3633
- },
3634
- {
3635
- "kind": "js",
3636
- "name": "foundationAgTextRenderer",
3637
- "declaration": {
3638
- "name": "foundationAgTextRenderer",
3639
- "module": "src/cell-renderers/text.renderer.ts"
3640
- }
3641
- }
3642
- ]
3643
- },
3644
- {
3645
- "kind": "javascript-module",
3646
- "path": "src/column/column.template.ts",
3647
- "declarations": [
3648
- {
3649
- "kind": "variable",
3650
- "name": "ColumnTemplate",
3651
- "default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
3652
- "description": "The Grid Pro Column Template.",
3653
- "privacy": "public"
3654
- }
3655
- ],
3656
- "exports": [
3657
- {
3658
- "kind": "js",
3659
- "name": "ColumnTemplate",
3660
- "declaration": {
3661
- "name": "ColumnTemplate",
3662
- "module": "src/column/column.template.ts"
3567
+ "module": "src/cell-renderers/text-field.renderer.ts"
3663
3568
  }
3664
3569
  }
3665
3570
  ]
3666
3571
  },
3667
3572
  {
3668
3573
  "kind": "javascript-module",
3669
- "path": "src/column/column.ts",
3574
+ "path": "src/cell-renderers/text.renderer.ts",
3670
3575
  "declarations": [
3671
3576
  {
3672
3577
  "kind": "class",
3673
- "description": "The Grid Pro Column element.",
3674
- "name": "GridProColumn",
3578
+ "description": "",
3579
+ "name": "AgTextRenderer",
3580
+ "superclass": {
3581
+ "name": "AgTextFieldRenderer",
3582
+ "module": "/src/cell-renderers/text-field.renderer"
3583
+ },
3584
+ "deprecated": "- Use AgTextFieldRenderer instead",
3585
+ "tagName": "%%prefix%%-grid-text-renderer",
3586
+ "customElement": true,
3675
3587
  "members": [
3676
3588
  {
3677
3589
  "kind": "field",
3678
- "name": "slottedAgCell",
3590
+ "name": "textField",
3679
3591
  "type": {
3680
- "text": "HTMLElement[]"
3592
+ "text": "TextField"
3681
3593
  },
3682
- "privacy": "public"
3594
+ "privacy": "public",
3595
+ "inheritedFrom": {
3596
+ "name": "AgTextFieldRenderer",
3597
+ "module": "src/cell-renderers/text-field.renderer.ts"
3598
+ }
3683
3599
  },
3684
3600
  {
3685
3601
  "kind": "field",
3686
- "name": "definition",
3602
+ "name": "textValue",
3687
3603
  "type": {
3688
- "text": "ColDef"
3604
+ "text": "string"
3689
3605
  },
3690
- "default": "{}"
3606
+ "default": "''",
3607
+ "inheritedFrom": {
3608
+ "name": "AgTextFieldRenderer",
3609
+ "module": "src/cell-renderers/text-field.renderer.ts"
3610
+ }
3611
+ },
3612
+ {
3613
+ "kind": "field",
3614
+ "name": "params",
3615
+ "type": {
3616
+ "text": "FuiCellRendererParams"
3617
+ },
3618
+ "privacy": "public",
3619
+ "inheritedFrom": {
3620
+ "name": "AgTextFieldRenderer",
3621
+ "module": "src/cell-renderers/text-field.renderer.ts"
3622
+ }
3691
3623
  },
3692
3624
  {
3693
3625
  "kind": "method",
3694
- "name": "slottedAgCellChanged",
3695
- "privacy": "public"
3626
+ "name": "init",
3627
+ "privacy": "public",
3628
+ "parameters": [
3629
+ {
3630
+ "name": "params",
3631
+ "type": {
3632
+ "text": "FuiCellRendererParams"
3633
+ }
3634
+ }
3635
+ ],
3636
+ "inheritedFrom": {
3637
+ "name": "AgTextFieldRenderer",
3638
+ "module": "src/cell-renderers/text-field.renderer.ts"
3639
+ }
3640
+ },
3641
+ {
3642
+ "kind": "method",
3643
+ "name": "getGui",
3644
+ "privacy": "public",
3645
+ "return": {
3646
+ "type": {
3647
+ "text": "HTMLElement"
3648
+ }
3649
+ },
3650
+ "inheritedFrom": {
3651
+ "name": "AgTextFieldRenderer",
3652
+ "module": "src/cell-renderers/text-field.renderer.ts"
3653
+ }
3654
+ },
3655
+ {
3656
+ "kind": "method",
3657
+ "name": "destroy",
3658
+ "privacy": "public",
3659
+ "inheritedFrom": {
3660
+ "name": "AgTextFieldRenderer",
3661
+ "module": "src/cell-renderers/text-field.renderer.ts"
3662
+ }
3663
+ },
3664
+ {
3665
+ "kind": "method",
3666
+ "name": "refresh",
3667
+ "privacy": "public",
3668
+ "parameters": [
3669
+ {
3670
+ "name": "params",
3671
+ "type": {
3672
+ "text": "FuiCellRendererParams"
3673
+ }
3674
+ }
3675
+ ],
3676
+ "inheritedFrom": {
3677
+ "name": "AgTextFieldRenderer",
3678
+ "module": "src/cell-renderers/text-field.renderer.ts"
3679
+ }
3680
+ },
3681
+ {
3682
+ "kind": "field",
3683
+ "name": "textChanged",
3684
+ "privacy": "public",
3685
+ "description": "On text change handler",
3686
+ "parameters": [
3687
+ {
3688
+ "description": "CustomEvent",
3689
+ "name": "e"
3690
+ }
3691
+ ],
3692
+ "inheritedFrom": {
3693
+ "name": "AgTextFieldRenderer",
3694
+ "module": "src/cell-renderers/text-field.renderer.ts"
3695
+ }
3696
3696
  },
3697
3697
  {
3698
3698
  "kind": "field",
@@ -3805,61 +3805,61 @@
3805
3805
  "module": "src/foundation-element/foundation-element.ts"
3806
3806
  }
3807
3807
  }
3808
- ],
3809
- "superclass": {
3810
- "name": "FoundationElement",
3811
- "package": "@microsoft/fast-foundation"
3812
- },
3813
- "tagName": "grid-pro-column",
3814
- "customElement": true
3808
+ ]
3809
+ },
3810
+ {
3811
+ "kind": "variable",
3812
+ "name": "textRendererStyles",
3813
+ "default": "textFieldRendererStyles",
3814
+ "privacy": "public",
3815
+ "deprecated": "- Use textFieldRendererStyles instead"
3816
+ },
3817
+ {
3818
+ "kind": "variable",
3819
+ "name": "getTextRendererTemplate",
3820
+ "default": "getTextFieldRendererTemplate",
3821
+ "privacy": "public",
3822
+ "deprecated": "- Use getTextFieldRendererTemplate instead"
3823
+ },
3824
+ {
3825
+ "kind": "variable",
3826
+ "name": "foundationAgTextRenderer",
3827
+ "description": "A function that returns a Foundation Text Renderer registration for configuring the component with a DesignSystem.",
3828
+ "privacy": "public",
3829
+ "deprecated": "- Use foundationAgTextFieldRenderer instead"
3815
3830
  }
3816
3831
  ],
3817
3832
  "exports": [
3818
3833
  {
3819
3834
  "kind": "js",
3820
- "name": "GridProColumn",
3835
+ "name": "AgTextRenderer",
3821
3836
  "declaration": {
3822
- "name": "GridProColumn",
3823
- "module": "src/column/column.ts"
3837
+ "name": "AgTextRenderer",
3838
+ "module": "src/cell-renderers/text.renderer.ts"
3824
3839
  }
3825
3840
  },
3826
- {
3827
- "kind": "custom-element-definition",
3828
- "name": "grid-pro-column",
3829
- "declaration": {
3830
- "name": "GridProColumn",
3831
- "module": "src/column/column.ts"
3832
- }
3833
- }
3834
- ]
3835
- },
3836
- {
3837
- "kind": "javascript-module",
3838
- "path": "src/column/index.ts",
3839
- "declarations": [],
3840
- "exports": [
3841
3841
  {
3842
3842
  "kind": "js",
3843
- "name": "*",
3843
+ "name": "textRendererStyles",
3844
3844
  "declaration": {
3845
- "name": "*",
3846
- "package": "./column.template"
3845
+ "name": "textRendererStyles",
3846
+ "module": "src/cell-renderers/text.renderer.ts"
3847
3847
  }
3848
3848
  },
3849
3849
  {
3850
3850
  "kind": "js",
3851
- "name": "*",
3851
+ "name": "getTextRendererTemplate",
3852
3852
  "declaration": {
3853
- "name": "*",
3854
- "package": "./column"
3853
+ "name": "getTextRendererTemplate",
3854
+ "module": "src/cell-renderers/text.renderer.ts"
3855
3855
  }
3856
3856
  },
3857
3857
  {
3858
3858
  "kind": "js",
3859
- "name": "*",
3859
+ "name": "foundationAgTextRenderer",
3860
3860
  "declaration": {
3861
- "name": "*",
3862
- "package": "./utils"
3861
+ "name": "foundationAgTextRenderer",
3862
+ "module": "src/cell-renderers/text.renderer.ts"
3863
3863
  }
3864
3864
  }
3865
3865
  ]
@@ -7134,46 +7134,51 @@
7134
7134
  },
7135
7135
  {
7136
7136
  "kind": "javascript-module",
7137
- "path": "src/cell-renderers/utils/accessor.ts",
7137
+ "path": "src/column/utils/grid-pro-columns.ts",
7138
7138
  "declarations": [
7139
7139
  {
7140
7140
  "kind": "function",
7141
- "name": "setValueWithAccessor",
7141
+ "name": "gridProColumns",
7142
7142
  "return": {
7143
7143
  "type": {
7144
- "text": "string"
7144
+ "text": "CaptureType<TSource>"
7145
7145
  }
7146
7146
  },
7147
7147
  "parameters": [
7148
7148
  {
7149
- "name": "data",
7149
+ "name": "itemsBinding",
7150
7150
  "type": {
7151
- "text": "any"
7152
- }
7151
+ "text": "Binding<TSource, readonly ColDef[]> | readonly ColDef[]"
7152
+ },
7153
+ "description": "The array to render"
7153
7154
  },
7154
7155
  {
7155
- "name": "accessor",
7156
+ "name": "includeRenderers",
7157
+ "default": "true",
7156
7158
  "type": {
7157
- "text": "string"
7158
- }
7159
+ "text": "boolean"
7160
+ },
7161
+ "description": "Optionally tells whether to include cell renderers, if available"
7159
7162
  }
7160
- ]
7163
+ ],
7164
+ "description": "A directive that renders a set of grid-pro-column elements from a given input binding",
7165
+ "privacy": "public"
7161
7166
  }
7162
7167
  ],
7163
7168
  "exports": [
7164
7169
  {
7165
7170
  "kind": "js",
7166
- "name": "setValueWithAccessor",
7171
+ "name": "gridProColumns",
7167
7172
  "declaration": {
7168
- "name": "setValueWithAccessor",
7169
- "module": "src/cell-renderers/utils/accessor.ts"
7173
+ "name": "gridProColumns",
7174
+ "module": "src/column/utils/grid-pro-columns.ts"
7170
7175
  }
7171
7176
  }
7172
7177
  ]
7173
7178
  },
7174
7179
  {
7175
7180
  "kind": "javascript-module",
7176
- "path": "src/cell-renderers/utils/index.ts",
7181
+ "path": "src/column/utils/index.ts",
7177
7182
  "declarations": [],
7178
7183
  "exports": [
7179
7184
  {
@@ -7181,58 +7186,53 @@
7181
7186
  "name": "*",
7182
7187
  "declaration": {
7183
7188
  "name": "*",
7184
- "package": "./accessor"
7189
+ "package": "./grid-pro-columns"
7185
7190
  }
7186
7191
  }
7187
7192
  ]
7188
7193
  },
7189
7194
  {
7190
7195
  "kind": "javascript-module",
7191
- "path": "src/column/utils/grid-pro-columns.ts",
7196
+ "path": "src/cell-renderers/utils/accessor.ts",
7192
7197
  "declarations": [
7193
7198
  {
7194
7199
  "kind": "function",
7195
- "name": "gridProColumns",
7200
+ "name": "setValueWithAccessor",
7196
7201
  "return": {
7197
7202
  "type": {
7198
- "text": "CaptureType<TSource>"
7203
+ "text": "string"
7199
7204
  }
7200
7205
  },
7201
7206
  "parameters": [
7202
7207
  {
7203
- "name": "itemsBinding",
7208
+ "name": "data",
7204
7209
  "type": {
7205
- "text": "Binding<TSource, readonly ColDef[]> | readonly ColDef[]"
7206
- },
7207
- "description": "The array to render"
7210
+ "text": "any"
7211
+ }
7208
7212
  },
7209
7213
  {
7210
- "name": "includeRenderers",
7211
- "default": "true",
7214
+ "name": "accessor",
7212
7215
  "type": {
7213
- "text": "boolean"
7214
- },
7215
- "description": "Optionally tells whether to include cell renderers, if available"
7216
+ "text": "string"
7217
+ }
7216
7218
  }
7217
- ],
7218
- "description": "A directive that renders a set of grid-pro-column elements from a given input binding",
7219
- "privacy": "public"
7219
+ ]
7220
7220
  }
7221
7221
  ],
7222
7222
  "exports": [
7223
7223
  {
7224
7224
  "kind": "js",
7225
- "name": "gridProColumns",
7225
+ "name": "setValueWithAccessor",
7226
7226
  "declaration": {
7227
- "name": "gridProColumns",
7228
- "module": "src/column/utils/grid-pro-columns.ts"
7227
+ "name": "setValueWithAccessor",
7228
+ "module": "src/cell-renderers/utils/accessor.ts"
7229
7229
  }
7230
7230
  }
7231
7231
  ]
7232
7232
  },
7233
7233
  {
7234
7234
  "kind": "javascript-module",
7235
- "path": "src/column/utils/index.ts",
7235
+ "path": "src/cell-renderers/utils/index.ts",
7236
7236
  "declarations": [],
7237
7237
  "exports": [
7238
7238
  {
@@ -7240,7 +7240,7 @@
7240
7240
  "name": "*",
7241
7241
  "declaration": {
7242
7242
  "name": "*",
7243
- "package": "./grid-pro-columns"
7243
+ "package": "./accessor"
7244
7244
  }
7245
7245
  }
7246
7246
  ]
@@ -255,6 +255,12 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
255
255
  onchange: (this: GlobalEventHandlers, ev: Event) => any;
256
256
  onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
257
257
  onclose: (this: GlobalEventHandlers, ev: Event) => any;
258
+ /**
259
+ * Maps the transaction data to the row data mapper function, if it exists.
260
+ * @param transaction - The transaction data to be mapped.
261
+ * @param operations - The operations to be mapped. Can be 'add', 'update' or 'remove'.
262
+ * @returns The mapped transaction (if the row data mapper function exists), or the original transaction.
263
+ */
258
264
  oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
259
265
  oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
260
266
  ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
@@ -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":"AAAA,OAAO,KAAK,EAAU,WAAW,EAAE,WAAW,EAAsB,MAAM,yBAAyB,CAAC;AACpG,OAAO,EACL,IAAI,EACJ,OAAO,EAEP,UAAU,EAYX,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAmB/D;;;GAGG;AACH,oBAAY,aAAa;IACvB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAyLC;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA3LL;;;;GAIG;AACH,qBAGa,wBAAyB,SAAQ,6BAAiC;IACvE,IAAI,EAAG,IAAI,CAAC;IACT,OAAO,EAAG,OAAO,CAAC;IACf,UAAU,EAAG,UAAU,CAAC;IAExB,mBAAmB,EAAE,WAAW,CAAC;IACjC,oBAAoB,EAAE,WAAW,EAAE,CAAC;IAG1C,QAAQ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D,OAAO,CAAC,MAAM,CAAwE;IAEtF,iBAAiB;IAuBjB,oBAAoB;IASX,SAAS,IAAI,IAAI;IAO1B,OAAO,KAAK,MAAM,GAEjB;IAID;;;;OAIG;IACH,OAAO,KAAK,KAAK,GAIhB;IAED;;;;OAIG;IACG,IAAI;IAyCV;;;OAGG;IACH,MAAM;IAIN;;;;OAIG;IACH,KAAK;IA6BL;;;OAGG;IACH,OAAO;IAKP;;OAEG;IACH,WAAW;IAIX;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAUlB;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAWpB;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAgBlB;;;;;OAKG;YACW,kBAAkB;IAWhC;;;;;;OAMG;YACW,gBAAgB;IA4C9B,OAAO,CAAC,cAAc;IActB,OAAO,CAAC,iBAAiB;IAgBzB,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,sBAAsB;IA2C9B,OAAO,CAAC,mBAAmB;IAqB3B,OAAO,CAAC,sBAAsB;IAmC9B,OAAO,CAAC,wBAAwB;IAUhC;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAyBtB,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,eAAe;IAmDvB,OAAO,CAAC,aAAa;IAMd,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;CAItC"}
@@ -87,11 +87,7 @@ declare const GridPro_base: (new (...args: any[]) => {
87
87
  getAttributeNode(qualifiedName: string): Attr;
88
88
  getAttributeNodeNS(namespace: string, localName: string): Attr;
89
89
  getBoundingClientRect(): DOMRect;
90
- getClientRects(): DOMRectList; /**
91
- * Because we try and resize the grid to fit using callbacks on events, this will cause
92
- * a stack overflow of calls to resize, so we need to debounce it.
93
- * @internal
94
- */
90
+ getClientRects(): DOMRectList;
95
91
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
96
92
  getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
97
93
  getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
@@ -135,6 +131,9 @@ declare const GridPro_base: (new (...args: any[]) => {
135
131
  readonly nextSibling: ChildNode;
136
132
  readonly nodeName: string;
137
133
  readonly nodeType: number;
134
+ /**
135
+ * @public
136
+ */
138
137
  nodeValue: string;
139
138
  readonly parentElement: HTMLElement;
140
139
  readonly parentNode: ParentNode;
@@ -1 +1 @@
1
- {"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EACT,WAAW,EAEX,OAAO,EACP,WAAW,EAEZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAIL,IAAI,EAEL,MAAM,yBAAyB,CAAC;AASjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAS/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAIzE,OAAO,EAKL,cAAc,EAEf,MAAM,kBAAkB,CAAC;AAW1B;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,UAAW,MAAM,WACa,CAAC;;;;;;;;;;;6GA4D5D;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAwHH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAO,CAAC,kBAAkB;IAa1B,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,yBAAyB;IAOjC;;OAEG;IACH,IAAI,WAAW,IAAI,WAAW,CAE7B;IAED,IAAI,wBAAwB,IAAI,wBAAwB,CAMvD;IAED,IAAI,WAAW,CAAC,OAAO,EAAE,WAAW,EAuFnC;IAED,OAAO,CAAC,kBAAkB;IAwB1B;;;;;;OAMG;IACH,wBAAwB,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,yBAAyB,UAAQ;IAKhF;;;;;;;;OAQG;IACH,2BAA2B,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,yBAAyB,UAAQ;IA+CnF,IAAI,kBAAkB,aAerB;IAED,0BAA0B,CAAC,OAAO,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAqBtD,mBAAmB,CAAC,SAAS,KAAA,EAAE,KAAK,KAAA;IAiBpC,OAAO,CAAC,eAAe,CAAa;IAEpC,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,eAAe;CAMxB;AAED;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,EAAE,cAA0B,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;CAEhC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;kBAM5B,CAAC"}
@@ -216,16 +216,16 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
216
216
  * @internal
217
217
  */
218
218
  setRowData(rowData) {
219
- var _a, _b, _c;
219
+ var _a;
220
220
  const preSetColumnDefs = (_a = this.agGrid.gridApi) === null || _a === void 0 ? void 0 : _a.getColumnDefs();
221
221
  if (!preSetColumnDefs || preSetColumnDefs.length === 0) {
222
222
  const agColumnDefs = this.getAgColumnDefs(this.datasource.fieldMetadata);
223
223
  if (agColumnDefs) {
224
- (_b = this.agGrid.gridApi) === null || _b === void 0 ? void 0 : _b.setColumnDefs(agColumnDefs);
224
+ this.agGrid.gridApi.setColumnDefs(agColumnDefs);
225
225
  }
226
226
  }
227
227
  const data = this.rowDataMapper ? this.rowDataMapper(rowData) : rowData;
228
- (_c = this.agGrid.gridApi) === null || _c === void 0 ? void 0 : _c.setRowData(data);
228
+ this.agGrid.gridApi.setRowData(data);
229
229
  this.requiresFullRowDataAndColDefs = false;
230
230
  }
231
231
  /**
@@ -235,7 +235,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
235
235
  * @internal
236
236
  */
237
237
  reloadResourceData() {
238
- var _a;
238
+ var _a, _b;
239
239
  return __awaiter(this, void 0, void 0, function* () {
240
240
  if (this.dataSub) {
241
241
  this.dataSub.unsubscribe();
@@ -243,7 +243,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
243
243
  }
244
244
  this.dataLogoff();
245
245
  this.clearRowData(withoutColumnDefs);
246
- (_a = this.agGrid.gridApi) === null || _a === void 0 ? void 0 : _a.showLoadingOverlay();
246
+ (_b = (_a = this.agGrid) === null || _a === void 0 ? void 0 : _a.gridApi) === null || _b === void 0 ? void 0 : _b.showLoadingOverlay();
247
247
  this.loadResourceData(withoutFullInit);
248
248
  });
249
249
  }
@@ -375,11 +375,10 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
375
375
  this.applyAllAgTransactions();
376
376
  }
377
377
  applyAllAgTransactions() {
378
- var _a;
379
378
  if (!this.agTransaction.add.length &&
380
379
  !this.agTransaction.update.length &&
381
380
  !this.agTransaction.remove.length) {
382
- (_a = this.agGrid.gridApi) === null || _a === void 0 ? void 0 : _a.showNoRowsOverlay();
381
+ this.agGrid.gridApi.showNoRowsOverlay();
383
382
  return;
384
383
  }
385
384
  if (this.agTransaction.add.length > 0) {
@@ -394,9 +393,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
394
393
  }
395
394
  applyMappedAgTransaction(agTransaction, operation, isAsync) {
396
395
  const applyTransaction = isAsync ? 'applyTransactionAsync' : 'applyTransaction';
397
- if (this.agGrid.gridApi) {
398
- this.agGrid.gridApi[applyTransaction](this.mapTransaction(agTransaction, [operation]));
399
- }
396
+ this.agGrid.gridApi[applyTransaction](this.mapTransaction(agTransaction, [operation]));
400
397
  }
401
398
  /**
402
399
  * Maps the transaction data to the row data mapper function, if it exists.
@@ -135,8 +135,6 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
135
135
  if (!this.shouldRunDisconnect)
136
136
  return;
137
137
  (_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.destroy();
138
- this.gridApi = null;
139
- this.columnApi = null;
140
138
  }
141
139
  combineAllGridComponents(gridOptionsComponents) {
142
140
  const defaultFoundationAgComponents = {
@@ -295,17 +293,15 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
295
293
  });
296
294
  }
297
295
  enableFlashingRows() {
298
- var _a;
299
296
  if (this.enableRowFlashing || this.enabledRowFlashing) {
300
297
  if (!this.asyncAdd) {
301
298
  logger.warn('Row Flashing (enableRowFlashing) only works when Grid has async Add Transactions (asyncAdd) enabled');
302
299
  return;
303
300
  }
304
- (_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.addEventListener(Events.EVENT_ASYNC_TRANSACTIONS_FLUSHED, (e) => {
301
+ this.gridApi.addEventListener(Events.EVENT_ASYNC_TRANSACTIONS_FLUSHED, (e) => {
305
302
  e.results.forEach((result) => {
306
- var _a;
307
303
  if (result.add.length) {
308
- (_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.flashCells({
304
+ this.gridApi.flashCells({
309
305
  rowNodes: result.add,
310
306
  });
311
307
  }
@@ -1025,11 +1025,7 @@ declare const GridPro_base: (new (...args: any[]) => {
1025
1025
  getAttributeNode(qualifiedName: string): Attr;
1026
1026
  getAttributeNodeNS(namespace: string, localName: string): Attr;
1027
1027
  getBoundingClientRect(): DOMRect;
1028
- getClientRects(): DOMRectList; /**
1029
- * Because we try and resize the grid to fit using callbacks on events, this will cause
1030
- * a stack overflow of calls to resize, so we need to debounce it.
1031
- * @internal
1032
- */
1028
+ getClientRects(): DOMRectList;
1033
1029
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
1034
1030
  getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
1035
1031
  getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
@@ -1073,6 +1069,9 @@ declare const GridPro_base: (new (...args: any[]) => {
1073
1069
  readonly nextSibling: ChildNode;
1074
1070
  readonly nodeName: string;
1075
1071
  readonly nodeType: number;
1072
+ /**
1073
+ * @public
1074
+ */
1076
1075
  nodeValue: string;
1077
1076
  readonly parentElement: HTMLElement;
1078
1077
  readonly parentNode: ParentNode;
@@ -1711,6 +1710,12 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
1711
1710
  onchange: (this: GlobalEventHandlers, ev: Event) => any;
1712
1711
  onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1713
1712
  onclose: (this: GlobalEventHandlers, ev: Event) => any;
1713
+ /**
1714
+ * Maps the transaction data to the row data mapper function, if it exists.
1715
+ * @param transaction - The transaction data to be mapped.
1716
+ * @param operations - The operations to be mapped. Can be 'add', 'update' or 'remove'.
1717
+ * @returns The mapped transaction (if the row data mapper function exists), or the original transaction.
1718
+ */
1714
1719
  oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1715
1720
  oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
1716
1721
  ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => 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.101.4-alpha-0f9aa4a.0",
4
+ "version": "14.101.4",
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.101.4-alpha-0f9aa4a.0",
34
- "@genesislcap/genx": "14.101.4-alpha-0f9aa4a.0",
33
+ "@genesislcap/foundation-testing": "14.101.4",
34
+ "@genesislcap/genx": "14.101.4",
35
35
  "rimraf": "^3.0.2"
36
36
  },
37
37
  "dependencies": {
38
- "@genesislcap/foundation-comms": "14.101.4-alpha-0f9aa4a.0",
39
- "@genesislcap/foundation-logger": "14.101.4-alpha-0f9aa4a.0",
40
- "@genesislcap/foundation-ui": "14.101.4-alpha-0f9aa4a.0",
41
- "@genesislcap/foundation-utils": "14.101.4-alpha-0f9aa4a.0",
38
+ "@genesislcap/foundation-comms": "14.101.4",
39
+ "@genesislcap/foundation-logger": "14.101.4",
40
+ "@genesislcap/foundation-ui": "14.101.4",
41
+ "@genesislcap/foundation-utils": "14.101.4",
42
42
  "@microsoft/fast-colors": "^5.1.4",
43
43
  "@microsoft/fast-components": "^2.21.3",
44
44
  "@microsoft/fast-element": "^1.7.0",
@@ -61,5 +61,5 @@
61
61
  "access": "public"
62
62
  },
63
63
  "customElements": "dist/custom-elements.json",
64
- "gitHead": "261ece30fcbd939c32af8035a843e248846fbed3"
64
+ "gitHead": "a350ad4e0eda9100d0348c9c38246e1d0e21eb1c"
65
65
  }