@genesislcap/grid-pro 14.486.2-alpha-686dcaf.0 → 14.488.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.
@@ -80,6 +80,12 @@
80
80
  "privacy": "private",
81
81
  "readonly": true
82
82
  },
83
+ {
84
+ "kind": "field",
85
+ "name": "debouncedNotifyDatasourceVisibleColumns",
86
+ "privacy": "private",
87
+ "readonly": true
88
+ },
83
89
  {
84
90
  "kind": "field",
85
91
  "name": "autoCellRendererByType",
@@ -1644,6 +1650,12 @@
1644
1650
  "privacy": "private",
1645
1651
  "readonly": true
1646
1652
  },
1653
+ {
1654
+ "kind": "field",
1655
+ "name": "debouncedNotifyDatasourceVisibleColumns",
1656
+ "privacy": "private",
1657
+ "readonly": true
1658
+ },
1647
1659
  {
1648
1660
  "kind": "field",
1649
1661
  "name": "autoCellRendererByType",
@@ -5339,123 +5351,69 @@
5339
5351
  },
5340
5352
  {
5341
5353
  "kind": "javascript-module",
5342
- "path": "src/column/column.template.ts",
5343
- "declarations": [
5344
- {
5345
- "kind": "variable",
5346
- "name": "ColumnTemplate",
5347
- "default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
5348
- "description": "The Grid Pro Column Template.",
5349
- "privacy": "public"
5350
- }
5351
- ],
5352
- "exports": [
5353
- {
5354
- "kind": "js",
5355
- "name": "ColumnTemplate",
5356
- "declaration": {
5357
- "name": "ColumnTemplate",
5358
- "module": "src/column/column.template.ts"
5359
- }
5360
- }
5361
- ]
5362
- },
5363
- {
5364
- "kind": "javascript-module",
5365
- "path": "src/column/column.ts",
5354
+ "path": "src/cell-renderers/action.renderer.ts",
5366
5355
  "declarations": [
5367
5356
  {
5368
5357
  "kind": "class",
5369
- "description": "The Grid Pro Column element.",
5370
- "name": "GridProColumn",
5358
+ "description": "The AG Action Renderer element.",
5359
+ "name": "ActionRenderer",
5371
5360
  "members": [
5372
5361
  {
5373
5362
  "kind": "field",
5374
- "name": "slottedAgCell",
5363
+ "name": "params",
5375
5364
  "type": {
5376
- "text": "HTMLElement[]"
5365
+ "text": "ICellRendererParams & ActionRendererParams"
5377
5366
  },
5378
5367
  "privacy": "public"
5379
5368
  },
5380
5369
  {
5381
5370
  "kind": "field",
5382
- "name": "definition",
5371
+ "name": "pendingAction",
5383
5372
  "type": {
5384
- "text": "ColDef"
5373
+ "text": "boolean"
5385
5374
  },
5386
- "default": "{}"
5387
- },
5388
- {
5389
- "kind": "method",
5390
- "name": "slottedAgCellChanged",
5391
5375
  "privacy": "public"
5392
5376
  },
5393
5377
  {
5394
5378
  "kind": "method",
5395
- "name": "deepClone",
5396
- "return": {
5397
- "type": {
5398
- "text": "Node"
5399
- }
5400
- },
5401
- "inheritedFrom": {
5402
- "name": "LifecycleMixin",
5403
- "module": "src/mixins/lifecycle/lifecycle.ts"
5404
- }
5405
- },
5406
- {
5407
- "kind": "method",
5408
- "name": "cloneNode",
5409
- "return": {
5410
- "type": {
5411
- "text": "Node"
5412
- }
5413
- },
5379
+ "name": "init",
5380
+ "privacy": "public",
5414
5381
  "parameters": [
5415
5382
  {
5416
- "name": "deep",
5417
- "optional": true,
5383
+ "name": "params",
5418
5384
  "type": {
5419
- "text": "boolean"
5385
+ "text": "ICellRendererParams & ActionRendererParams"
5420
5386
  }
5421
5387
  }
5422
- ],
5423
- "inheritedFrom": {
5424
- "name": "LifecycleMixin",
5425
- "module": "src/mixins/lifecycle/lifecycle.ts"
5426
- }
5388
+ ]
5427
5389
  },
5428
5390
  {
5429
- "kind": "field",
5430
- "name": "shouldRunDisconnect",
5391
+ "kind": "method",
5392
+ "name": "getGui",
5393
+ "privacy": "public",
5431
5394
  "return": {
5432
5395
  "type": {
5433
- "text": ""
5396
+ "text": "HTMLElement"
5434
5397
  }
5435
- },
5436
- "readonly": true,
5437
- "inheritedFrom": {
5438
- "name": "LifecycleMixin",
5439
- "module": "src/mixins/lifecycle/lifecycle.ts"
5440
5398
  }
5441
5399
  },
5442
5400
  {
5443
- "kind": "field",
5444
- "name": "shouldRunConnect",
5445
- "return": {
5446
- "type": {
5447
- "text": ""
5401
+ "kind": "method",
5402
+ "name": "refresh",
5403
+ "privacy": "public",
5404
+ "parameters": [
5405
+ {
5406
+ "name": "params",
5407
+ "type": {
5408
+ "text": "ICellRendererParams"
5409
+ }
5448
5410
  }
5449
- },
5450
- "readonly": true,
5451
- "inheritedFrom": {
5452
- "name": "LifecycleMixin",
5453
- "module": "src/mixins/lifecycle/lifecycle.ts"
5454
- }
5411
+ ]
5455
5412
  },
5456
5413
  {
5457
5414
  "kind": "method",
5458
- "name": "#_blockLifecycleDueToTokenChange",
5415
+ "name": "isDisabled",
5416
+ "privacy": "public",
5459
5417
  "return": {
5460
5418
  "type": {
5461
5419
  "text": "boolean"
@@ -5463,16 +5421,19 @@
5463
5421
  },
5464
5422
  "parameters": [
5465
5423
  {
5466
- "name": "lifecycleType",
5467
- "type": {
5468
- "text": "Lifecycletype"
5469
- }
5424
+ "name": "data"
5470
5425
  }
5471
- ],
5472
- "inheritedFrom": {
5473
- "name": "LifecycleMixin",
5474
- "module": "src/mixins/lifecycle/lifecycle.ts"
5475
- }
5426
+ ]
5427
+ },
5428
+ {
5429
+ "kind": "method",
5430
+ "name": "clickHandler",
5431
+ "privacy": "public"
5432
+ },
5433
+ {
5434
+ "kind": "field",
5435
+ "name": "dataTestId",
5436
+ "readonly": true
5476
5437
  },
5477
5438
  {
5478
5439
  "kind": "field",
@@ -5586,92 +5547,82 @@
5586
5547
  }
5587
5548
  }
5588
5549
  ],
5589
- "mixins": [
5590
- {
5591
- "name": "LifecycleMixin",
5592
- "package": "@genesislcap/foundation-utils"
5593
- }
5594
- ],
5595
5550
  "superclass": {
5596
5551
  "name": "FoundationElement",
5597
5552
  "package": "@microsoft/fast-foundation"
5598
5553
  },
5599
- "tagName": "grid-pro-column",
5554
+ "tagName": "%%prefix%%-grid-pro-action-renderer",
5600
5555
  "customElement": true
5556
+ },
5557
+ {
5558
+ "kind": "variable",
5559
+ "name": "actionHeightMultiplier",
5560
+ "description": "The base height multiplier for the action renderer.",
5561
+ "privacy": "public"
5562
+ },
5563
+ {
5564
+ "kind": "variable",
5565
+ "name": "agActionRendererStyles",
5566
+ "default": "css`\n .action-container {\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n }\n .action-renderer {\n align-self: center;\n color: var(--accent-foreground-rest);\n display: flex;\n height: calc(\n (var(--base-height-multiplier) + var(--density)) * var(--design-unit) *\n var(--action-height-multiplier)\n );\n }\n`",
5567
+ "description": "The AG Action Renderer Styles.",
5568
+ "privacy": "public"
5569
+ },
5570
+ {
5571
+ "kind": "variable",
5572
+ "name": "foundationGridProActionRenderer",
5573
+ "description": "A function that returns a Foundation Action Renderer for configuring the component with a DesignSystem.",
5574
+ "privacy": "public"
5601
5575
  }
5602
5576
  ],
5603
5577
  "exports": [
5604
5578
  {
5605
5579
  "kind": "js",
5606
- "name": "GridProColumn",
5580
+ "name": "ActionRenderer",
5607
5581
  "declaration": {
5608
- "name": "GridProColumn",
5609
- "module": "src/column/column.ts"
5582
+ "name": "ActionRenderer",
5583
+ "module": "src/cell-renderers/action.renderer.ts"
5610
5584
  }
5611
5585
  },
5612
- {
5613
- "kind": "custom-element-definition",
5614
- "name": "grid-pro-column",
5615
- "declaration": {
5616
- "name": "GridProColumn",
5617
- "module": "src/column/column.ts"
5618
- }
5619
- }
5620
- ]
5621
- },
5622
- {
5623
- "kind": "javascript-module",
5624
- "path": "src/column/index.ts",
5625
- "declarations": [],
5626
- "exports": [
5627
5586
  {
5628
5587
  "kind": "js",
5629
- "name": "*",
5588
+ "name": "actionHeightMultiplier",
5630
5589
  "declaration": {
5631
- "name": "*",
5632
- "package": "./column.template"
5590
+ "name": "actionHeightMultiplier",
5591
+ "module": "src/cell-renderers/action.renderer.ts"
5633
5592
  }
5634
5593
  },
5635
5594
  {
5636
5595
  "kind": "js",
5637
- "name": "*",
5596
+ "name": "agActionRendererStyles",
5638
5597
  "declaration": {
5639
- "name": "*",
5640
- "package": "./column"
5598
+ "name": "agActionRendererStyles",
5599
+ "module": "src/cell-renderers/action.renderer.ts"
5641
5600
  }
5642
5601
  },
5643
5602
  {
5644
5603
  "kind": "js",
5645
- "name": "*",
5604
+ "name": "foundationGridProActionRenderer",
5646
5605
  "declaration": {
5647
- "name": "*",
5648
- "package": "./utils"
5606
+ "name": "foundationGridProActionRenderer",
5607
+ "module": "src/cell-renderers/action.renderer.ts"
5649
5608
  }
5650
5609
  }
5651
5610
  ]
5652
5611
  },
5653
5612
  {
5654
5613
  "kind": "javascript-module",
5655
- "path": "src/cell-renderers/action.renderer.ts",
5614
+ "path": "src/cell-renderers/actions-menu.renderer.ts",
5656
5615
  "declarations": [
5657
5616
  {
5658
5617
  "kind": "class",
5659
- "description": "The AG Action Renderer element.",
5660
- "name": "ActionRenderer",
5618
+ "description": "The Actions Menu Renderer element.",
5619
+ "name": "ActionsMenuRenderer",
5661
5620
  "members": [
5662
5621
  {
5663
5622
  "kind": "field",
5664
5623
  "name": "params",
5665
5624
  "type": {
5666
- "text": "ICellRendererParams & ActionRendererParams"
5667
- },
5668
- "privacy": "public"
5669
- },
5670
- {
5671
- "kind": "field",
5672
- "name": "pendingAction",
5673
- "type": {
5674
- "text": "boolean"
5625
+ "text": "ICellRendererParams"
5675
5626
  },
5676
5627
  "privacy": "public"
5677
5628
  },
@@ -5683,7 +5634,7 @@
5683
5634
  {
5684
5635
  "name": "params",
5685
5636
  "type": {
5686
- "text": "ICellRendererParams & ActionRendererParams"
5637
+ "text": "ICellRendererParams"
5687
5638
  }
5688
5639
  }
5689
5640
  ]
@@ -5711,31 +5662,6 @@
5711
5662
  }
5712
5663
  ]
5713
5664
  },
5714
- {
5715
- "kind": "method",
5716
- "name": "isDisabled",
5717
- "privacy": "public",
5718
- "return": {
5719
- "type": {
5720
- "text": "boolean"
5721
- }
5722
- },
5723
- "parameters": [
5724
- {
5725
- "name": "data"
5726
- }
5727
- ]
5728
- },
5729
- {
5730
- "kind": "method",
5731
- "name": "clickHandler",
5732
- "privacy": "public"
5733
- },
5734
- {
5735
- "kind": "field",
5736
- "name": "dataTestId",
5737
- "readonly": true
5738
- },
5739
5665
  {
5740
5666
  "kind": "field",
5741
5667
  "name": "_presentation",
@@ -5852,240 +5778,13 @@
5852
5778
  "name": "FoundationElement",
5853
5779
  "package": "@microsoft/fast-foundation"
5854
5780
  },
5855
- "tagName": "%%prefix%%-grid-pro-action-renderer",
5781
+ "tagName": "%%prefix%%-grid-pro-actions-menu-renderer",
5856
5782
  "customElement": true
5857
5783
  },
5858
5784
  {
5859
5785
  "kind": "variable",
5860
- "name": "actionHeightMultiplier",
5861
- "description": "The base height multiplier for the action renderer.",
5862
- "privacy": "public"
5863
- },
5864
- {
5865
- "kind": "variable",
5866
- "name": "agActionRendererStyles",
5867
- "default": "css`\n .action-container {\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n }\n .action-renderer {\n align-self: center;\n color: var(--accent-foreground-rest);\n display: flex;\n height: calc(\n (var(--base-height-multiplier) + var(--density)) * var(--design-unit) *\n var(--action-height-multiplier)\n );\n }\n`",
5868
- "description": "The AG Action Renderer Styles.",
5869
- "privacy": "public"
5870
- },
5871
- {
5872
- "kind": "variable",
5873
- "name": "foundationGridProActionRenderer",
5874
- "description": "A function that returns a Foundation Action Renderer for configuring the component with a DesignSystem.",
5875
- "privacy": "public"
5876
- }
5877
- ],
5878
- "exports": [
5879
- {
5880
- "kind": "js",
5881
- "name": "ActionRenderer",
5882
- "declaration": {
5883
- "name": "ActionRenderer",
5884
- "module": "src/cell-renderers/action.renderer.ts"
5885
- }
5886
- },
5887
- {
5888
- "kind": "js",
5889
- "name": "actionHeightMultiplier",
5890
- "declaration": {
5891
- "name": "actionHeightMultiplier",
5892
- "module": "src/cell-renderers/action.renderer.ts"
5893
- }
5894
- },
5895
- {
5896
- "kind": "js",
5897
- "name": "agActionRendererStyles",
5898
- "declaration": {
5899
- "name": "agActionRendererStyles",
5900
- "module": "src/cell-renderers/action.renderer.ts"
5901
- }
5902
- },
5903
- {
5904
- "kind": "js",
5905
- "name": "foundationGridProActionRenderer",
5906
- "declaration": {
5907
- "name": "foundationGridProActionRenderer",
5908
- "module": "src/cell-renderers/action.renderer.ts"
5909
- }
5910
- }
5911
- ]
5912
- },
5913
- {
5914
- "kind": "javascript-module",
5915
- "path": "src/cell-renderers/actions-menu.renderer.ts",
5916
- "declarations": [
5917
- {
5918
- "kind": "class",
5919
- "description": "The Actions Menu Renderer element.",
5920
- "name": "ActionsMenuRenderer",
5921
- "members": [
5922
- {
5923
- "kind": "field",
5924
- "name": "params",
5925
- "type": {
5926
- "text": "ICellRendererParams"
5927
- },
5928
- "privacy": "public"
5929
- },
5930
- {
5931
- "kind": "method",
5932
- "name": "init",
5933
- "privacy": "public",
5934
- "parameters": [
5935
- {
5936
- "name": "params",
5937
- "type": {
5938
- "text": "ICellRendererParams"
5939
- }
5940
- }
5941
- ]
5942
- },
5943
- {
5944
- "kind": "method",
5945
- "name": "getGui",
5946
- "privacy": "public",
5947
- "return": {
5948
- "type": {
5949
- "text": "HTMLElement"
5950
- }
5951
- }
5952
- },
5953
- {
5954
- "kind": "method",
5955
- "name": "refresh",
5956
- "privacy": "public",
5957
- "parameters": [
5958
- {
5959
- "name": "params",
5960
- "type": {
5961
- "text": "ICellRendererParams"
5962
- }
5963
- }
5964
- ]
5965
- },
5966
- {
5967
- "kind": "field",
5968
- "name": "_presentation",
5969
- "type": {
5970
- "text": "ComponentPresentation | null | undefined"
5971
- },
5972
- "privacy": "private",
5973
- "default": "void 0",
5974
- "inheritedFrom": {
5975
- "name": "FoundationElement",
5976
- "module": "src/foundation-element/foundation-element.ts"
5977
- }
5978
- },
5979
- {
5980
- "kind": "field",
5981
- "name": "$presentation",
5982
- "type": {
5983
- "text": "ComponentPresentation | null"
5984
- },
5985
- "privacy": "public",
5986
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
5987
- "inheritedFrom": {
5988
- "name": "FoundationElement",
5989
- "module": "src/foundation-element/foundation-element.ts"
5990
- }
5991
- },
5992
- {
5993
- "kind": "field",
5994
- "name": "template",
5995
- "type": {
5996
- "text": "ElementViewTemplate | void | null"
5997
- },
5998
- "privacy": "public",
5999
- "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.",
6000
- "inheritedFrom": {
6001
- "name": "FoundationElement",
6002
- "module": "src/foundation-element/foundation-element.ts"
6003
- }
6004
- },
6005
- {
6006
- "kind": "method",
6007
- "name": "templateChanged",
6008
- "privacy": "protected",
6009
- "return": {
6010
- "type": {
6011
- "text": "void"
6012
- }
6013
- },
6014
- "inheritedFrom": {
6015
- "name": "FoundationElement",
6016
- "module": "src/foundation-element/foundation-element.ts"
6017
- }
6018
- },
6019
- {
6020
- "kind": "field",
6021
- "name": "styles",
6022
- "type": {
6023
- "text": "ElementStyles | void | null"
6024
- },
6025
- "privacy": "public",
6026
- "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.",
6027
- "inheritedFrom": {
6028
- "name": "FoundationElement",
6029
- "module": "src/foundation-element/foundation-element.ts"
6030
- }
6031
- },
6032
- {
6033
- "kind": "method",
6034
- "name": "stylesChanged",
6035
- "privacy": "protected",
6036
- "return": {
6037
- "type": {
6038
- "text": "void"
6039
- }
6040
- },
6041
- "inheritedFrom": {
6042
- "name": "FoundationElement",
6043
- "module": "src/foundation-element/foundation-element.ts"
6044
- }
6045
- },
6046
- {
6047
- "kind": "method",
6048
- "name": "compose",
6049
- "privacy": "public",
6050
- "static": true,
6051
- "return": {
6052
- "type": {
6053
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
6054
- }
6055
- },
6056
- "parameters": [
6057
- {
6058
- "name": "this",
6059
- "type": {
6060
- "text": "K"
6061
- }
6062
- },
6063
- {
6064
- "name": "elementDefinition",
6065
- "type": {
6066
- "text": "T"
6067
- },
6068
- "description": "The definition of the element to create the registry\nfunction for."
6069
- }
6070
- ],
6071
- "description": "Defines an element registry function with a set of element definition defaults.",
6072
- "inheritedFrom": {
6073
- "name": "FoundationElement",
6074
- "module": "src/foundation-element/foundation-element.ts"
6075
- }
6076
- }
6077
- ],
6078
- "superclass": {
6079
- "name": "FoundationElement",
6080
- "package": "@microsoft/fast-foundation"
6081
- },
6082
- "tagName": "%%prefix%%-grid-pro-actions-menu-renderer",
6083
- "customElement": true
6084
- },
6085
- {
6086
- "kind": "variable",
6087
- "name": "foundationGridProActionsMenuRenderer",
6088
- "description": "A function that returns a Foundation Actions Menu for configuring the component with a DesignSystem.",
5786
+ "name": "foundationGridProActionsMenuRenderer",
5787
+ "description": "A function that returns a Foundation Actions Menu for configuring the component with a DesignSystem.",
6089
5788
  "privacy": "public"
6090
5789
  },
6091
5790
  {
@@ -8096,35 +7795,348 @@
8096
7795
  ],
8097
7796
  "exports": [
8098
7797
  {
8099
- "kind": "js",
8100
- "name": "AgTextRenderer",
7798
+ "kind": "js",
7799
+ "name": "AgTextRenderer",
7800
+ "declaration": {
7801
+ "name": "AgTextRenderer",
7802
+ "module": "src/cell-renderers/text.renderer.ts"
7803
+ }
7804
+ },
7805
+ {
7806
+ "kind": "js",
7807
+ "name": "textRendererStyles",
7808
+ "declaration": {
7809
+ "name": "textRendererStyles",
7810
+ "module": "src/cell-renderers/text.renderer.ts"
7811
+ }
7812
+ },
7813
+ {
7814
+ "kind": "js",
7815
+ "name": "getTextRendererTemplate",
7816
+ "declaration": {
7817
+ "name": "getTextRendererTemplate",
7818
+ "module": "src/cell-renderers/text.renderer.ts"
7819
+ }
7820
+ },
7821
+ {
7822
+ "kind": "js",
7823
+ "name": "foundationAgTextRenderer",
7824
+ "declaration": {
7825
+ "name": "foundationAgTextRenderer",
7826
+ "module": "src/cell-renderers/text.renderer.ts"
7827
+ }
7828
+ }
7829
+ ]
7830
+ },
7831
+ {
7832
+ "kind": "javascript-module",
7833
+ "path": "src/column/column.template.ts",
7834
+ "declarations": [
7835
+ {
7836
+ "kind": "variable",
7837
+ "name": "ColumnTemplate",
7838
+ "default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
7839
+ "description": "The Grid Pro Column Template.",
7840
+ "privacy": "public"
7841
+ }
7842
+ ],
7843
+ "exports": [
7844
+ {
7845
+ "kind": "js",
7846
+ "name": "ColumnTemplate",
7847
+ "declaration": {
7848
+ "name": "ColumnTemplate",
7849
+ "module": "src/column/column.template.ts"
7850
+ }
7851
+ }
7852
+ ]
7853
+ },
7854
+ {
7855
+ "kind": "javascript-module",
7856
+ "path": "src/column/column.ts",
7857
+ "declarations": [
7858
+ {
7859
+ "kind": "class",
7860
+ "description": "The Grid Pro Column element.",
7861
+ "name": "GridProColumn",
7862
+ "members": [
7863
+ {
7864
+ "kind": "field",
7865
+ "name": "slottedAgCell",
7866
+ "type": {
7867
+ "text": "HTMLElement[]"
7868
+ },
7869
+ "privacy": "public"
7870
+ },
7871
+ {
7872
+ "kind": "field",
7873
+ "name": "definition",
7874
+ "type": {
7875
+ "text": "ColDef"
7876
+ },
7877
+ "default": "{}"
7878
+ },
7879
+ {
7880
+ "kind": "method",
7881
+ "name": "slottedAgCellChanged",
7882
+ "privacy": "public"
7883
+ },
7884
+ {
7885
+ "kind": "method",
7886
+ "name": "deepClone",
7887
+ "return": {
7888
+ "type": {
7889
+ "text": "Node"
7890
+ }
7891
+ },
7892
+ "inheritedFrom": {
7893
+ "name": "LifecycleMixin",
7894
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7895
+ }
7896
+ },
7897
+ {
7898
+ "kind": "method",
7899
+ "name": "cloneNode",
7900
+ "return": {
7901
+ "type": {
7902
+ "text": "Node"
7903
+ }
7904
+ },
7905
+ "parameters": [
7906
+ {
7907
+ "name": "deep",
7908
+ "optional": true,
7909
+ "type": {
7910
+ "text": "boolean"
7911
+ }
7912
+ }
7913
+ ],
7914
+ "inheritedFrom": {
7915
+ "name": "LifecycleMixin",
7916
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7917
+ }
7918
+ },
7919
+ {
7920
+ "kind": "field",
7921
+ "name": "shouldRunDisconnect",
7922
+ "return": {
7923
+ "type": {
7924
+ "text": ""
7925
+ }
7926
+ },
7927
+ "readonly": true,
7928
+ "inheritedFrom": {
7929
+ "name": "LifecycleMixin",
7930
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7931
+ }
7932
+ },
7933
+ {
7934
+ "kind": "field",
7935
+ "name": "shouldRunConnect",
7936
+ "return": {
7937
+ "type": {
7938
+ "text": ""
7939
+ }
7940
+ },
7941
+ "readonly": true,
7942
+ "inheritedFrom": {
7943
+ "name": "LifecycleMixin",
7944
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7945
+ }
7946
+ },
7947
+ {
7948
+ "kind": "method",
7949
+ "name": "#_blockLifecycleDueToTokenChange",
7950
+ "return": {
7951
+ "type": {
7952
+ "text": "boolean"
7953
+ }
7954
+ },
7955
+ "parameters": [
7956
+ {
7957
+ "name": "lifecycleType",
7958
+ "type": {
7959
+ "text": "Lifecycletype"
7960
+ }
7961
+ }
7962
+ ],
7963
+ "inheritedFrom": {
7964
+ "name": "LifecycleMixin",
7965
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7966
+ }
7967
+ },
7968
+ {
7969
+ "kind": "field",
7970
+ "name": "_presentation",
7971
+ "type": {
7972
+ "text": "ComponentPresentation | null | undefined"
7973
+ },
7974
+ "privacy": "private",
7975
+ "default": "void 0",
7976
+ "inheritedFrom": {
7977
+ "name": "FoundationElement",
7978
+ "module": "src/foundation-element/foundation-element.ts"
7979
+ }
7980
+ },
7981
+ {
7982
+ "kind": "field",
7983
+ "name": "$presentation",
7984
+ "type": {
7985
+ "text": "ComponentPresentation | null"
7986
+ },
7987
+ "privacy": "public",
7988
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
7989
+ "inheritedFrom": {
7990
+ "name": "FoundationElement",
7991
+ "module": "src/foundation-element/foundation-element.ts"
7992
+ }
7993
+ },
7994
+ {
7995
+ "kind": "field",
7996
+ "name": "template",
7997
+ "type": {
7998
+ "text": "ElementViewTemplate | void | null"
7999
+ },
8000
+ "privacy": "public",
8001
+ "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.",
8002
+ "inheritedFrom": {
8003
+ "name": "FoundationElement",
8004
+ "module": "src/foundation-element/foundation-element.ts"
8005
+ }
8006
+ },
8007
+ {
8008
+ "kind": "method",
8009
+ "name": "templateChanged",
8010
+ "privacy": "protected",
8011
+ "return": {
8012
+ "type": {
8013
+ "text": "void"
8014
+ }
8015
+ },
8016
+ "inheritedFrom": {
8017
+ "name": "FoundationElement",
8018
+ "module": "src/foundation-element/foundation-element.ts"
8019
+ }
8020
+ },
8021
+ {
8022
+ "kind": "field",
8023
+ "name": "styles",
8024
+ "type": {
8025
+ "text": "ElementStyles | void | null"
8026
+ },
8027
+ "privacy": "public",
8028
+ "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.",
8029
+ "inheritedFrom": {
8030
+ "name": "FoundationElement",
8031
+ "module": "src/foundation-element/foundation-element.ts"
8032
+ }
8033
+ },
8034
+ {
8035
+ "kind": "method",
8036
+ "name": "stylesChanged",
8037
+ "privacy": "protected",
8038
+ "return": {
8039
+ "type": {
8040
+ "text": "void"
8041
+ }
8042
+ },
8043
+ "inheritedFrom": {
8044
+ "name": "FoundationElement",
8045
+ "module": "src/foundation-element/foundation-element.ts"
8046
+ }
8047
+ },
8048
+ {
8049
+ "kind": "method",
8050
+ "name": "compose",
8051
+ "privacy": "public",
8052
+ "static": true,
8053
+ "return": {
8054
+ "type": {
8055
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
8056
+ }
8057
+ },
8058
+ "parameters": [
8059
+ {
8060
+ "name": "this",
8061
+ "type": {
8062
+ "text": "K"
8063
+ }
8064
+ },
8065
+ {
8066
+ "name": "elementDefinition",
8067
+ "type": {
8068
+ "text": "T"
8069
+ },
8070
+ "description": "The definition of the element to create the registry\nfunction for."
8071
+ }
8072
+ ],
8073
+ "description": "Defines an element registry function with a set of element definition defaults.",
8074
+ "inheritedFrom": {
8075
+ "name": "FoundationElement",
8076
+ "module": "src/foundation-element/foundation-element.ts"
8077
+ }
8078
+ }
8079
+ ],
8080
+ "mixins": [
8081
+ {
8082
+ "name": "LifecycleMixin",
8083
+ "package": "@genesislcap/foundation-utils"
8084
+ }
8085
+ ],
8086
+ "superclass": {
8087
+ "name": "FoundationElement",
8088
+ "package": "@microsoft/fast-foundation"
8089
+ },
8090
+ "tagName": "grid-pro-column",
8091
+ "customElement": true
8092
+ }
8093
+ ],
8094
+ "exports": [
8095
+ {
8096
+ "kind": "js",
8097
+ "name": "GridProColumn",
8098
+ "declaration": {
8099
+ "name": "GridProColumn",
8100
+ "module": "src/column/column.ts"
8101
+ }
8102
+ },
8103
+ {
8104
+ "kind": "custom-element-definition",
8105
+ "name": "grid-pro-column",
8101
8106
  "declaration": {
8102
- "name": "AgTextRenderer",
8103
- "module": "src/cell-renderers/text.renderer.ts"
8107
+ "name": "GridProColumn",
8108
+ "module": "src/column/column.ts"
8104
8109
  }
8105
- },
8110
+ }
8111
+ ]
8112
+ },
8113
+ {
8114
+ "kind": "javascript-module",
8115
+ "path": "src/column/index.ts",
8116
+ "declarations": [],
8117
+ "exports": [
8106
8118
  {
8107
8119
  "kind": "js",
8108
- "name": "textRendererStyles",
8120
+ "name": "*",
8109
8121
  "declaration": {
8110
- "name": "textRendererStyles",
8111
- "module": "src/cell-renderers/text.renderer.ts"
8122
+ "name": "*",
8123
+ "package": "./column.template"
8112
8124
  }
8113
8125
  },
8114
8126
  {
8115
8127
  "kind": "js",
8116
- "name": "getTextRendererTemplate",
8128
+ "name": "*",
8117
8129
  "declaration": {
8118
- "name": "getTextRendererTemplate",
8119
- "module": "src/cell-renderers/text.renderer.ts"
8130
+ "name": "*",
8131
+ "package": "./column"
8120
8132
  }
8121
8133
  },
8122
8134
  {
8123
8135
  "kind": "js",
8124
- "name": "foundationAgTextRenderer",
8136
+ "name": "*",
8125
8137
  "declaration": {
8126
- "name": "foundationAgTextRenderer",
8127
- "module": "src/cell-renderers/text.renderer.ts"
8138
+ "name": "*",
8139
+ "package": "./utils"
8128
8140
  }
8129
8141
  }
8130
8142
  ]
@@ -8972,6 +8984,26 @@
8972
8984
  "kind": "method",
8973
8985
  "name": "loadMore"
8974
8986
  },
8987
+ {
8988
+ "kind": "method",
8989
+ "name": "setVisibleColumns",
8990
+ "return": {
8991
+ "type": {
8992
+ "text": "void"
8993
+ }
8994
+ },
8995
+ "parameters": [
8996
+ {
8997
+ "name": "visibleFields",
8998
+ "type": {
8999
+ "text": "string[]"
9000
+ },
9001
+ "description": "Field names of the currently visible columns."
9002
+ }
9003
+ ],
9004
+ "description": "Notifies the datasource of the field names of the currently visible columns.",
9005
+ "privacy": "public"
9006
+ },
8975
9007
  {
8976
9008
  "kind": "method",
8977
9009
  "name": "restart"
@@ -10261,6 +10293,31 @@
10261
10293
  "module": "src/datasource/base.datasource.ts"
10262
10294
  }
10263
10295
  },
10296
+ {
10297
+ "kind": "field",
10298
+ "name": "requestVisibleColumnsOnly",
10299
+ "type": {
10300
+ "text": "boolean"
10301
+ },
10302
+ "default": "false",
10303
+ "description": "When enabled and column definitions are provided, the datasource requests data only for the\ncolumns that are currently visible. The visible set is seeded from the column config (columns\nnot flagged with `hide`) and updated by the host grid via `setVisibleColumns`; the data\nis reloaded whenever that set changes.",
10304
+ "inheritedFrom": {
10305
+ "name": "GridProGenesisDatasource",
10306
+ "module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
10307
+ }
10308
+ },
10309
+ {
10310
+ "kind": "field",
10311
+ "name": "_visibleColumns",
10312
+ "type": {
10313
+ "text": "string[] | undefined"
10314
+ },
10315
+ "privacy": "private",
10316
+ "inheritedFrom": {
10317
+ "name": "GridProGenesisDatasource",
10318
+ "module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
10319
+ }
10320
+ },
10264
10321
  {
10265
10322
  "kind": "field",
10266
10323
  "name": "dataSub",
@@ -10727,6 +10784,30 @@
10727
10784
  "module": "src/datasource/base.datasource.ts"
10728
10785
  }
10729
10786
  },
10787
+ {
10788
+ "kind": "method",
10789
+ "name": "setVisibleColumns",
10790
+ "return": {
10791
+ "type": {
10792
+ "text": "void"
10793
+ }
10794
+ },
10795
+ "parameters": [
10796
+ {
10797
+ "name": "visibleFields",
10798
+ "type": {
10799
+ "text": "string[]"
10800
+ },
10801
+ "description": "Field names of the currently visible columns."
10802
+ }
10803
+ ],
10804
+ "description": "Updates the set of visible columns and reloads the data when the set changes.",
10805
+ "privacy": "public",
10806
+ "inheritedFrom": {
10807
+ "name": "GridProBaseDatasource",
10808
+ "module": "src/datasource/base.datasource.ts"
10809
+ }
10810
+ },
10730
10811
  {
10731
10812
  "kind": "method",
10732
10813
  "name": "loadMore",
@@ -11515,6 +11596,19 @@
11515
11596
  "module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
11516
11597
  }
11517
11598
  },
11599
+ {
11600
+ "name": "request-visible-columns-only",
11601
+ "type": {
11602
+ "text": "boolean"
11603
+ },
11604
+ "default": "false",
11605
+ "description": "When enabled and column definitions are provided, the datasource requests data only for the\ncolumns that are currently visible. The visible set is seeded from the column config (columns\nnot flagged with `hide`) and updated by the host grid via `setVisibleColumns`; the data\nis reloaded whenever that set changes.",
11606
+ "fieldName": "requestVisibleColumnsOnly",
11607
+ "inheritedFrom": {
11608
+ "name": "GridProGenesisDatasource",
11609
+ "module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
11610
+ }
11611
+ },
11518
11612
  {
11519
11613
  "name": "criteria",
11520
11614
  "type": {
@@ -12541,6 +12635,30 @@
12541
12635
  "module": "src/datasource/base.datasource.ts"
12542
12636
  }
12543
12637
  },
12638
+ {
12639
+ "kind": "method",
12640
+ "name": "setVisibleColumns",
12641
+ "return": {
12642
+ "type": {
12643
+ "text": "void"
12644
+ }
12645
+ },
12646
+ "parameters": [
12647
+ {
12648
+ "name": "visibleFields",
12649
+ "type": {
12650
+ "text": "string[]"
12651
+ },
12652
+ "description": "Field names of the currently visible columns."
12653
+ }
12654
+ ],
12655
+ "description": "Notifies the datasource of the field names of the currently visible columns.",
12656
+ "privacy": "public",
12657
+ "inheritedFrom": {
12658
+ "name": "GridProBaseDatasource",
12659
+ "module": "src/datasource/base.datasource.ts"
12660
+ }
12661
+ },
12544
12662
  {
12545
12663
  "kind": "field",
12546
12664
  "name": "_isDisconnected",
@@ -16602,6 +16720,23 @@
16602
16720
  "module": "src/datasource/base.datasource.ts"
16603
16721
  }
16604
16722
  },
16723
+ {
16724
+ "kind": "field",
16725
+ "name": "requestVisibleColumnsOnly",
16726
+ "type": {
16727
+ "text": "boolean"
16728
+ },
16729
+ "default": "false",
16730
+ "description": "When enabled and column definitions are provided, the datasource requests data only for the\ncolumns that are currently visible. The visible set is seeded from the column config (columns\nnot flagged with `hide`) and updated by the host grid via `setVisibleColumns`; the data\nis reloaded whenever that set changes."
16731
+ },
16732
+ {
16733
+ "kind": "field",
16734
+ "name": "_visibleColumns",
16735
+ "type": {
16736
+ "text": "string[] | undefined"
16737
+ },
16738
+ "privacy": "private"
16739
+ },
16605
16740
  {
16606
16741
  "kind": "field",
16607
16742
  "name": "dataSub",
@@ -17001,6 +17136,30 @@
17001
17136
  "module": "src/datasource/base.datasource.ts"
17002
17137
  }
17003
17138
  },
17139
+ {
17140
+ "kind": "method",
17141
+ "name": "setVisibleColumns",
17142
+ "return": {
17143
+ "type": {
17144
+ "text": "void"
17145
+ }
17146
+ },
17147
+ "parameters": [
17148
+ {
17149
+ "name": "visibleFields",
17150
+ "type": {
17151
+ "text": "string[]"
17152
+ },
17153
+ "description": "Field names of the currently visible columns."
17154
+ }
17155
+ ],
17156
+ "description": "Updates the set of visible columns and reloads the data when the set changes.",
17157
+ "privacy": "public",
17158
+ "inheritedFrom": {
17159
+ "name": "GridProBaseDatasource",
17160
+ "module": "src/datasource/base.datasource.ts"
17161
+ }
17162
+ },
17004
17163
  {
17005
17164
  "kind": "method",
17006
17165
  "name": "loadMore",
@@ -17954,6 +18113,15 @@
17954
18113
  "default": "false",
17955
18114
  "fieldName": "keepColDefsOnClearRowData"
17956
18115
  },
18116
+ {
18117
+ "name": "request-visible-columns-only",
18118
+ "type": {
18119
+ "text": "boolean"
18120
+ },
18121
+ "default": "false",
18122
+ "description": "When enabled and column definitions are provided, the datasource requests data only for the\ncolumns that are currently visible. The visible set is seeded from the column config (columns\nnot flagged with `hide`) and updated by the host grid via `setVisibleColumns`; the data\nis reloaded whenever that set changes.",
18123
+ "fieldName": "requestVisibleColumnsOnly"
18124
+ },
17957
18125
  {
17958
18126
  "name": "criteria",
17959
18127
  "type": {
@@ -20611,51 +20779,46 @@
20611
20779
  },
20612
20780
  {
20613
20781
  "kind": "javascript-module",
20614
- "path": "src/column/utils/grid-pro-columns.ts",
20782
+ "path": "src/cell-renderers/utils/accessor.ts",
20615
20783
  "declarations": [
20616
20784
  {
20617
20785
  "kind": "function",
20618
- "name": "gridProColumns",
20786
+ "name": "setValueWithAccessor",
20619
20787
  "return": {
20620
20788
  "type": {
20621
- "text": "CaptureType<TSource>"
20789
+ "text": "string"
20622
20790
  }
20623
20791
  },
20624
20792
  "parameters": [
20625
20793
  {
20626
- "name": "itemsBinding",
20794
+ "name": "data",
20627
20795
  "type": {
20628
- "text": "Binding<TSource, readonly ColDef[]> | readonly ColDef[]"
20629
- },
20630
- "description": "The array to render"
20796
+ "text": "any"
20797
+ }
20631
20798
  },
20632
20799
  {
20633
- "name": "includeRenderers",
20634
- "default": "true",
20800
+ "name": "accessor",
20635
20801
  "type": {
20636
- "text": "boolean"
20637
- },
20638
- "description": "Optionally tells whether to include cell renderers, if available"
20802
+ "text": "string"
20803
+ }
20639
20804
  }
20640
- ],
20641
- "description": "A directive that renders a set of grid-pro-column elements from a given input binding",
20642
- "privacy": "public"
20805
+ ]
20643
20806
  }
20644
20807
  ],
20645
20808
  "exports": [
20646
20809
  {
20647
20810
  "kind": "js",
20648
- "name": "gridProColumns",
20811
+ "name": "setValueWithAccessor",
20649
20812
  "declaration": {
20650
- "name": "gridProColumns",
20651
- "module": "src/column/utils/grid-pro-columns.ts"
20813
+ "name": "setValueWithAccessor",
20814
+ "module": "src/cell-renderers/utils/accessor.ts"
20652
20815
  }
20653
20816
  }
20654
20817
  ]
20655
20818
  },
20656
20819
  {
20657
20820
  "kind": "javascript-module",
20658
- "path": "src/column/utils/index.ts",
20821
+ "path": "src/cell-renderers/utils/index.ts",
20659
20822
  "declarations": [],
20660
20823
  "exports": [
20661
20824
  {
@@ -20663,53 +20826,93 @@
20663
20826
  "name": "*",
20664
20827
  "declaration": {
20665
20828
  "name": "*",
20666
- "package": "./grid-pro-columns"
20829
+ "package": "./accessor"
20667
20830
  }
20668
20831
  }
20669
20832
  ]
20670
20833
  },
20671
20834
  {
20672
20835
  "kind": "javascript-module",
20673
- "path": "src/cell-renderers/utils/accessor.ts",
20836
+ "path": "src/column/utils/grid-pro-columns.ts",
20674
20837
  "declarations": [
20675
20838
  {
20676
20839
  "kind": "function",
20677
- "name": "setValueWithAccessor",
20840
+ "name": "resolveVisibleColumnFields",
20678
20841
  "return": {
20679
20842
  "type": {
20680
- "text": "string"
20843
+ "text": "string[]"
20681
20844
  }
20682
20845
  },
20683
20846
  "parameters": [
20684
20847
  {
20685
- "name": "data",
20848
+ "name": "displayedColumns",
20686
20849
  "type": {
20687
- "text": "any"
20688
- }
20850
+ "text": "DisplayedColumnLike[] | null | undefined"
20851
+ },
20852
+ "description": "The grid's currently displayed columns, when available."
20689
20853
  },
20690
20854
  {
20691
- "name": "accessor",
20855
+ "name": "colDefs",
20692
20856
  "type": {
20693
- "text": "string"
20694
- }
20857
+ "text": "readonly unknown[] | null | undefined"
20858
+ },
20859
+ "description": "The current column defs, used as a fallback before the columns are populated."
20695
20860
  }
20696
- ]
20861
+ ],
20862
+ "description": "Resolves the field names of the currently visible columns.",
20863
+ "privacy": "public"
20864
+ },
20865
+ {
20866
+ "kind": "function",
20867
+ "name": "gridProColumns",
20868
+ "return": {
20869
+ "type": {
20870
+ "text": "CaptureType<TSource>"
20871
+ }
20872
+ },
20873
+ "parameters": [
20874
+ {
20875
+ "name": "itemsBinding",
20876
+ "type": {
20877
+ "text": "Binding<TSource, readonly ColDef[]> | readonly ColDef[]"
20878
+ },
20879
+ "description": "The array to render"
20880
+ },
20881
+ {
20882
+ "name": "includeRenderers",
20883
+ "default": "true",
20884
+ "type": {
20885
+ "text": "boolean"
20886
+ },
20887
+ "description": "Optionally tells whether to include cell renderers, if available"
20888
+ }
20889
+ ],
20890
+ "description": "A directive that renders a set of grid-pro-column elements from a given input binding",
20891
+ "privacy": "public"
20697
20892
  }
20698
20893
  ],
20699
20894
  "exports": [
20700
20895
  {
20701
20896
  "kind": "js",
20702
- "name": "setValueWithAccessor",
20897
+ "name": "resolveVisibleColumnFields",
20703
20898
  "declaration": {
20704
- "name": "setValueWithAccessor",
20705
- "module": "src/cell-renderers/utils/accessor.ts"
20899
+ "name": "resolveVisibleColumnFields",
20900
+ "module": "src/column/utils/grid-pro-columns.ts"
20901
+ }
20902
+ },
20903
+ {
20904
+ "kind": "js",
20905
+ "name": "gridProColumns",
20906
+ "declaration": {
20907
+ "name": "gridProColumns",
20908
+ "module": "src/column/utils/grid-pro-columns.ts"
20706
20909
  }
20707
20910
  }
20708
20911
  ]
20709
20912
  },
20710
20913
  {
20711
20914
  "kind": "javascript-module",
20712
- "path": "src/cell-renderers/utils/index.ts",
20915
+ "path": "src/column/utils/index.ts",
20713
20916
  "declarations": [],
20714
20917
  "exports": [
20715
20918
  {
@@ -20717,7 +20920,7 @@
20717
20920
  "name": "*",
20718
20921
  "declaration": {
20719
20922
  "name": "*",
20720
- "package": "./accessor"
20923
+ "package": "./grid-pro-columns"
20721
20924
  }
20722
20925
  }
20723
20926
  ]