@genesislcap/grid-pro 15.46.1 → 15.46.2-FUI-2625.1

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.
@@ -5399,69 +5399,123 @@
5399
5399
  },
5400
5400
  {
5401
5401
  "kind": "javascript-module",
5402
- "path": "src/cell-renderers/action.renderer.ts",
5402
+ "path": "src/column/column.template.ts",
5403
+ "declarations": [
5404
+ {
5405
+ "kind": "variable",
5406
+ "name": "ColumnTemplate",
5407
+ "default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
5408
+ "description": "The Grid Pro Column Template.",
5409
+ "privacy": "public"
5410
+ }
5411
+ ],
5412
+ "exports": [
5413
+ {
5414
+ "kind": "js",
5415
+ "name": "ColumnTemplate",
5416
+ "declaration": {
5417
+ "name": "ColumnTemplate",
5418
+ "module": "src/column/column.template.ts"
5419
+ }
5420
+ }
5421
+ ]
5422
+ },
5423
+ {
5424
+ "kind": "javascript-module",
5425
+ "path": "src/column/column.ts",
5403
5426
  "declarations": [
5404
5427
  {
5405
5428
  "kind": "class",
5406
- "description": "The AG Action Renderer element.",
5407
- "name": "ActionRenderer",
5429
+ "description": "The Grid Pro Column element.",
5430
+ "name": "GridProColumn",
5408
5431
  "members": [
5409
5432
  {
5410
5433
  "kind": "field",
5411
- "name": "params",
5434
+ "name": "slottedAgCell",
5412
5435
  "type": {
5413
- "text": "ICellRendererParams & ActionRendererParams"
5436
+ "text": "HTMLElement[]"
5414
5437
  },
5415
5438
  "privacy": "public"
5416
5439
  },
5417
5440
  {
5418
5441
  "kind": "field",
5419
- "name": "pendingAction",
5442
+ "name": "definition",
5420
5443
  "type": {
5421
- "text": "boolean"
5444
+ "text": "ColDef"
5422
5445
  },
5423
- "privacy": "public"
5446
+ "default": "{}"
5424
5447
  },
5425
5448
  {
5426
5449
  "kind": "method",
5427
- "name": "init",
5428
- "privacy": "public",
5429
- "parameters": [
5430
- {
5431
- "name": "params",
5432
- "type": {
5433
- "text": "ICellRendererParams & ActionRendererParams"
5434
- }
5435
- }
5436
- ]
5450
+ "name": "slottedAgCellChanged",
5451
+ "privacy": "public"
5437
5452
  },
5438
5453
  {
5439
5454
  "kind": "method",
5440
- "name": "getGui",
5441
- "privacy": "public",
5455
+ "name": "deepClone",
5442
5456
  "return": {
5443
5457
  "type": {
5444
- "text": "HTMLElement"
5458
+ "text": "Node"
5445
5459
  }
5460
+ },
5461
+ "inheritedFrom": {
5462
+ "name": "LifecycleMixin",
5463
+ "module": "src/mixins/lifecycle/lifecycle.ts"
5446
5464
  }
5447
5465
  },
5448
5466
  {
5449
5467
  "kind": "method",
5450
- "name": "refresh",
5451
- "privacy": "public",
5468
+ "name": "cloneNode",
5469
+ "return": {
5470
+ "type": {
5471
+ "text": "Node"
5472
+ }
5473
+ },
5452
5474
  "parameters": [
5453
5475
  {
5454
- "name": "params",
5476
+ "name": "deep",
5477
+ "optional": true,
5455
5478
  "type": {
5456
- "text": "ICellRendererParams"
5479
+ "text": "boolean"
5457
5480
  }
5458
5481
  }
5459
- ]
5482
+ ],
5483
+ "inheritedFrom": {
5484
+ "name": "LifecycleMixin",
5485
+ "module": "src/mixins/lifecycle/lifecycle.ts"
5486
+ }
5487
+ },
5488
+ {
5489
+ "kind": "field",
5490
+ "name": "shouldRunDisconnect",
5491
+ "return": {
5492
+ "type": {
5493
+ "text": ""
5494
+ }
5495
+ },
5496
+ "readonly": true,
5497
+ "inheritedFrom": {
5498
+ "name": "LifecycleMixin",
5499
+ "module": "src/mixins/lifecycle/lifecycle.ts"
5500
+ }
5501
+ },
5502
+ {
5503
+ "kind": "field",
5504
+ "name": "shouldRunConnect",
5505
+ "return": {
5506
+ "type": {
5507
+ "text": ""
5508
+ }
5509
+ },
5510
+ "readonly": true,
5511
+ "inheritedFrom": {
5512
+ "name": "LifecycleMixin",
5513
+ "module": "src/mixins/lifecycle/lifecycle.ts"
5514
+ }
5460
5515
  },
5461
5516
  {
5462
5517
  "kind": "method",
5463
- "name": "isDisabled",
5464
- "privacy": "public",
5518
+ "name": "#_blockLifecycleDueToTokenChange",
5465
5519
  "return": {
5466
5520
  "type": {
5467
5521
  "text": "boolean"
@@ -5469,19 +5523,16 @@
5469
5523
  },
5470
5524
  "parameters": [
5471
5525
  {
5472
- "name": "data"
5526
+ "name": "lifecycleType",
5527
+ "type": {
5528
+ "text": "Lifecycletype"
5529
+ }
5473
5530
  }
5474
- ]
5475
- },
5476
- {
5477
- "kind": "method",
5478
- "name": "clickHandler",
5479
- "privacy": "public"
5480
- },
5481
- {
5482
- "kind": "field",
5483
- "name": "dataTestId",
5484
- "readonly": true
5531
+ ],
5532
+ "inheritedFrom": {
5533
+ "name": "LifecycleMixin",
5534
+ "module": "src/mixins/lifecycle/lifecycle.ts"
5535
+ }
5485
5536
  },
5486
5537
  {
5487
5538
  "kind": "field",
@@ -5595,82 +5646,92 @@
5595
5646
  }
5596
5647
  }
5597
5648
  ],
5649
+ "mixins": [
5650
+ {
5651
+ "name": "LifecycleMixin",
5652
+ "package": "@genesislcap/foundation-utils"
5653
+ }
5654
+ ],
5598
5655
  "superclass": {
5599
5656
  "name": "FoundationElement",
5600
5657
  "package": "@microsoft/fast-foundation"
5601
5658
  },
5602
- "tagName": "%%prefix%%-grid-pro-action-renderer",
5659
+ "tagName": "grid-pro-column",
5603
5660
  "customElement": true
5604
- },
5605
- {
5606
- "kind": "variable",
5607
- "name": "actionHeightMultiplier",
5608
- "description": "The base height multiplier for the action renderer.",
5609
- "privacy": "public"
5610
- },
5611
- {
5612
- "kind": "variable",
5613
- "name": "agActionRendererStyles",
5614
- "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`",
5615
- "description": "The AG Action Renderer Styles.",
5616
- "privacy": "public"
5617
- },
5618
- {
5619
- "kind": "variable",
5620
- "name": "foundationGridProActionRenderer",
5621
- "description": "A function that returns a Foundation Action Renderer for configuring the component with a DesignSystem.",
5622
- "privacy": "public"
5623
5661
  }
5624
5662
  ],
5625
5663
  "exports": [
5626
5664
  {
5627
5665
  "kind": "js",
5628
- "name": "ActionRenderer",
5666
+ "name": "GridProColumn",
5629
5667
  "declaration": {
5630
- "name": "ActionRenderer",
5631
- "module": "src/cell-renderers/action.renderer.ts"
5668
+ "name": "GridProColumn",
5669
+ "module": "src/column/column.ts"
5632
5670
  }
5633
5671
  },
5672
+ {
5673
+ "kind": "custom-element-definition",
5674
+ "name": "grid-pro-column",
5675
+ "declaration": {
5676
+ "name": "GridProColumn",
5677
+ "module": "src/column/column.ts"
5678
+ }
5679
+ }
5680
+ ]
5681
+ },
5682
+ {
5683
+ "kind": "javascript-module",
5684
+ "path": "src/column/index.ts",
5685
+ "declarations": [],
5686
+ "exports": [
5634
5687
  {
5635
5688
  "kind": "js",
5636
- "name": "actionHeightMultiplier",
5689
+ "name": "*",
5637
5690
  "declaration": {
5638
- "name": "actionHeightMultiplier",
5639
- "module": "src/cell-renderers/action.renderer.ts"
5691
+ "name": "*",
5692
+ "package": "./column.template"
5640
5693
  }
5641
5694
  },
5642
5695
  {
5643
5696
  "kind": "js",
5644
- "name": "agActionRendererStyles",
5697
+ "name": "*",
5645
5698
  "declaration": {
5646
- "name": "agActionRendererStyles",
5647
- "module": "src/cell-renderers/action.renderer.ts"
5699
+ "name": "*",
5700
+ "package": "./column"
5648
5701
  }
5649
5702
  },
5650
5703
  {
5651
5704
  "kind": "js",
5652
- "name": "foundationGridProActionRenderer",
5705
+ "name": "*",
5653
5706
  "declaration": {
5654
- "name": "foundationGridProActionRenderer",
5655
- "module": "src/cell-renderers/action.renderer.ts"
5707
+ "name": "*",
5708
+ "package": "./utils"
5656
5709
  }
5657
5710
  }
5658
5711
  ]
5659
5712
  },
5660
5713
  {
5661
5714
  "kind": "javascript-module",
5662
- "path": "src/cell-renderers/actions-menu.renderer.ts",
5715
+ "path": "src/cell-renderers/action.renderer.ts",
5663
5716
  "declarations": [
5664
5717
  {
5665
5718
  "kind": "class",
5666
- "description": "The Actions Menu Renderer element.",
5667
- "name": "ActionsMenuRenderer",
5719
+ "description": "The AG Action Renderer element.",
5720
+ "name": "ActionRenderer",
5668
5721
  "members": [
5669
5722
  {
5670
5723
  "kind": "field",
5671
5724
  "name": "params",
5672
5725
  "type": {
5673
- "text": "ICellRendererParams"
5726
+ "text": "ICellRendererParams & ActionRendererParams"
5727
+ },
5728
+ "privacy": "public"
5729
+ },
5730
+ {
5731
+ "kind": "field",
5732
+ "name": "pendingAction",
5733
+ "type": {
5734
+ "text": "boolean"
5674
5735
  },
5675
5736
  "privacy": "public"
5676
5737
  },
@@ -5682,7 +5743,7 @@
5682
5743
  {
5683
5744
  "name": "params",
5684
5745
  "type": {
5685
- "text": "ICellRendererParams"
5746
+ "text": "ICellRendererParams & ActionRendererParams"
5686
5747
  }
5687
5748
  }
5688
5749
  ]
@@ -5710,6 +5771,31 @@
5710
5771
  }
5711
5772
  ]
5712
5773
  },
5774
+ {
5775
+ "kind": "method",
5776
+ "name": "isDisabled",
5777
+ "privacy": "public",
5778
+ "return": {
5779
+ "type": {
5780
+ "text": "boolean"
5781
+ }
5782
+ },
5783
+ "parameters": [
5784
+ {
5785
+ "name": "data"
5786
+ }
5787
+ ]
5788
+ },
5789
+ {
5790
+ "kind": "method",
5791
+ "name": "clickHandler",
5792
+ "privacy": "public"
5793
+ },
5794
+ {
5795
+ "kind": "field",
5796
+ "name": "dataTestId",
5797
+ "readonly": true
5798
+ },
5713
5799
  {
5714
5800
  "kind": "field",
5715
5801
  "name": "_presentation",
@@ -5826,26 +5912,253 @@
5826
5912
  "name": "FoundationElement",
5827
5913
  "package": "@microsoft/fast-foundation"
5828
5914
  },
5829
- "tagName": "%%prefix%%-grid-pro-actions-menu-renderer",
5915
+ "tagName": "%%prefix%%-grid-pro-action-renderer",
5830
5916
  "customElement": true
5831
5917
  },
5832
5918
  {
5833
5919
  "kind": "variable",
5834
- "name": "foundationGridProActionsMenuRenderer",
5835
- "description": "A function that returns a Foundation Actions Menu for configuring the component with a DesignSystem.",
5920
+ "name": "actionHeightMultiplier",
5921
+ "description": "The base height multiplier for the action renderer.",
5836
5922
  "privacy": "public"
5837
5923
  },
5838
5924
  {
5839
- "kind": "function",
5840
- "name": "getActionsMenuDef",
5841
- "return": {
5842
- "type": {
5843
- "text": ""
5844
- }
5845
- },
5846
- "parameters": [
5847
- {
5848
- "name": "actions",
5925
+ "kind": "variable",
5926
+ "name": "agActionRendererStyles",
5927
+ "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`",
5928
+ "description": "The AG Action Renderer Styles.",
5929
+ "privacy": "public"
5930
+ },
5931
+ {
5932
+ "kind": "variable",
5933
+ "name": "foundationGridProActionRenderer",
5934
+ "description": "A function that returns a Foundation Action Renderer for configuring the component with a DesignSystem.",
5935
+ "privacy": "public"
5936
+ }
5937
+ ],
5938
+ "exports": [
5939
+ {
5940
+ "kind": "js",
5941
+ "name": "ActionRenderer",
5942
+ "declaration": {
5943
+ "name": "ActionRenderer",
5944
+ "module": "src/cell-renderers/action.renderer.ts"
5945
+ }
5946
+ },
5947
+ {
5948
+ "kind": "js",
5949
+ "name": "actionHeightMultiplier",
5950
+ "declaration": {
5951
+ "name": "actionHeightMultiplier",
5952
+ "module": "src/cell-renderers/action.renderer.ts"
5953
+ }
5954
+ },
5955
+ {
5956
+ "kind": "js",
5957
+ "name": "agActionRendererStyles",
5958
+ "declaration": {
5959
+ "name": "agActionRendererStyles",
5960
+ "module": "src/cell-renderers/action.renderer.ts"
5961
+ }
5962
+ },
5963
+ {
5964
+ "kind": "js",
5965
+ "name": "foundationGridProActionRenderer",
5966
+ "declaration": {
5967
+ "name": "foundationGridProActionRenderer",
5968
+ "module": "src/cell-renderers/action.renderer.ts"
5969
+ }
5970
+ }
5971
+ ]
5972
+ },
5973
+ {
5974
+ "kind": "javascript-module",
5975
+ "path": "src/cell-renderers/actions-menu.renderer.ts",
5976
+ "declarations": [
5977
+ {
5978
+ "kind": "class",
5979
+ "description": "The Actions Menu Renderer element.",
5980
+ "name": "ActionsMenuRenderer",
5981
+ "members": [
5982
+ {
5983
+ "kind": "field",
5984
+ "name": "params",
5985
+ "type": {
5986
+ "text": "ICellRendererParams"
5987
+ },
5988
+ "privacy": "public"
5989
+ },
5990
+ {
5991
+ "kind": "method",
5992
+ "name": "init",
5993
+ "privacy": "public",
5994
+ "parameters": [
5995
+ {
5996
+ "name": "params",
5997
+ "type": {
5998
+ "text": "ICellRendererParams"
5999
+ }
6000
+ }
6001
+ ]
6002
+ },
6003
+ {
6004
+ "kind": "method",
6005
+ "name": "getGui",
6006
+ "privacy": "public",
6007
+ "return": {
6008
+ "type": {
6009
+ "text": "HTMLElement"
6010
+ }
6011
+ }
6012
+ },
6013
+ {
6014
+ "kind": "method",
6015
+ "name": "refresh",
6016
+ "privacy": "public",
6017
+ "parameters": [
6018
+ {
6019
+ "name": "params",
6020
+ "type": {
6021
+ "text": "ICellRendererParams"
6022
+ }
6023
+ }
6024
+ ]
6025
+ },
6026
+ {
6027
+ "kind": "field",
6028
+ "name": "_presentation",
6029
+ "type": {
6030
+ "text": "ComponentPresentation | null | undefined"
6031
+ },
6032
+ "privacy": "private",
6033
+ "default": "void 0",
6034
+ "inheritedFrom": {
6035
+ "name": "FoundationElement",
6036
+ "module": "src/foundation-element/foundation-element.ts"
6037
+ }
6038
+ },
6039
+ {
6040
+ "kind": "field",
6041
+ "name": "$presentation",
6042
+ "type": {
6043
+ "text": "ComponentPresentation | null"
6044
+ },
6045
+ "privacy": "public",
6046
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
6047
+ "inheritedFrom": {
6048
+ "name": "FoundationElement",
6049
+ "module": "src/foundation-element/foundation-element.ts"
6050
+ }
6051
+ },
6052
+ {
6053
+ "kind": "field",
6054
+ "name": "template",
6055
+ "type": {
6056
+ "text": "ElementViewTemplate | void | null"
6057
+ },
6058
+ "privacy": "public",
6059
+ "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.",
6060
+ "inheritedFrom": {
6061
+ "name": "FoundationElement",
6062
+ "module": "src/foundation-element/foundation-element.ts"
6063
+ }
6064
+ },
6065
+ {
6066
+ "kind": "method",
6067
+ "name": "templateChanged",
6068
+ "privacy": "protected",
6069
+ "return": {
6070
+ "type": {
6071
+ "text": "void"
6072
+ }
6073
+ },
6074
+ "inheritedFrom": {
6075
+ "name": "FoundationElement",
6076
+ "module": "src/foundation-element/foundation-element.ts"
6077
+ }
6078
+ },
6079
+ {
6080
+ "kind": "field",
6081
+ "name": "styles",
6082
+ "type": {
6083
+ "text": "ElementStyles | void | null"
6084
+ },
6085
+ "privacy": "public",
6086
+ "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.",
6087
+ "inheritedFrom": {
6088
+ "name": "FoundationElement",
6089
+ "module": "src/foundation-element/foundation-element.ts"
6090
+ }
6091
+ },
6092
+ {
6093
+ "kind": "method",
6094
+ "name": "stylesChanged",
6095
+ "privacy": "protected",
6096
+ "return": {
6097
+ "type": {
6098
+ "text": "void"
6099
+ }
6100
+ },
6101
+ "inheritedFrom": {
6102
+ "name": "FoundationElement",
6103
+ "module": "src/foundation-element/foundation-element.ts"
6104
+ }
6105
+ },
6106
+ {
6107
+ "kind": "method",
6108
+ "name": "compose",
6109
+ "privacy": "public",
6110
+ "static": true,
6111
+ "return": {
6112
+ "type": {
6113
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
6114
+ }
6115
+ },
6116
+ "parameters": [
6117
+ {
6118
+ "name": "this",
6119
+ "type": {
6120
+ "text": "K"
6121
+ }
6122
+ },
6123
+ {
6124
+ "name": "elementDefinition",
6125
+ "type": {
6126
+ "text": "T"
6127
+ },
6128
+ "description": "The definition of the element to create the registry\nfunction for."
6129
+ }
6130
+ ],
6131
+ "description": "Defines an element registry function with a set of element definition defaults.",
6132
+ "inheritedFrom": {
6133
+ "name": "FoundationElement",
6134
+ "module": "src/foundation-element/foundation-element.ts"
6135
+ }
6136
+ }
6137
+ ],
6138
+ "superclass": {
6139
+ "name": "FoundationElement",
6140
+ "package": "@microsoft/fast-foundation"
6141
+ },
6142
+ "tagName": "%%prefix%%-grid-pro-actions-menu-renderer",
6143
+ "customElement": true
6144
+ },
6145
+ {
6146
+ "kind": "variable",
6147
+ "name": "foundationGridProActionsMenuRenderer",
6148
+ "description": "A function that returns a Foundation Actions Menu for configuring the component with a DesignSystem.",
6149
+ "privacy": "public"
6150
+ },
6151
+ {
6152
+ "kind": "function",
6153
+ "name": "getActionsMenuDef",
6154
+ "return": {
6155
+ "type": {
6156
+ "text": ""
6157
+ }
6158
+ },
6159
+ "parameters": [
6160
+ {
6161
+ "name": "actions",
5849
6162
  "type": {
5850
6163
  "text": "ActionMenuItem[]"
5851
6164
  },
@@ -7878,667 +8191,717 @@
7878
8191
  },
7879
8192
  {
7880
8193
  "kind": "javascript-module",
7881
- "path": "src/column/column.template.ts",
8194
+ "path": "src/column-selection/column-picker-ag-drag.ts",
7882
8195
  "declarations": [
7883
8196
  {
7884
- "kind": "variable",
7885
- "name": "ColumnTemplate",
7886
- "default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
7887
- "description": "The Grid Pro Column Template.",
7888
- "privacy": "public"
7889
- }
7890
- ],
7891
- "exports": [
7892
- {
7893
- "kind": "js",
7894
- "name": "ColumnTemplate",
7895
- "declaration": {
7896
- "name": "ColumnTemplate",
7897
- "module": "src/column/column.template.ts"
7898
- }
7899
- }
7900
- ]
7901
- },
7902
- {
7903
- "kind": "javascript-module",
7904
- "path": "src/column/column.ts",
7905
- "declarations": [
7906
- {
7907
- "kind": "class",
7908
- "description": "The Grid Pro Column element.",
7909
- "name": "GridProColumn",
7910
- "members": [
8197
+ "kind": "function",
8198
+ "name": "bindAgColumnPickerDrag",
8199
+ "return": {
8200
+ "type": {
8201
+ "text": "ColumnPickerAgDragBinding | null"
8202
+ }
8203
+ },
8204
+ "parameters": [
7911
8205
  {
7912
- "kind": "field",
7913
- "name": "slottedAgCell",
8206
+ "name": "bridge",
7914
8207
  "type": {
7915
- "text": "HTMLElement[]"
7916
- },
7917
- "privacy": "public"
8208
+ "text": "GridProColumnDragBridge"
8209
+ }
7918
8210
  },
7919
8211
  {
7920
- "kind": "field",
7921
- "name": "definition",
8212
+ "name": "api",
7922
8213
  "type": {
7923
- "text": "ColDef"
7924
- },
7925
- "default": "{}"
8214
+ "text": "GridApi"
8215
+ }
7926
8216
  },
7927
8217
  {
7928
- "kind": "method",
7929
- "name": "slottedAgCellChanged",
7930
- "privacy": "public"
8218
+ "name": "handle",
8219
+ "type": {
8220
+ "text": "HTMLElement"
8221
+ }
7931
8222
  },
7932
8223
  {
7933
- "kind": "method",
7934
- "name": "deepClone",
7935
- "return": {
7936
- "type": {
7937
- "text": "Node"
7938
- }
7939
- },
7940
- "inheritedFrom": {
7941
- "name": "LifecycleMixin",
7942
- "module": "src/mixins/lifecycle/lifecycle.ts"
8224
+ "name": "colId",
8225
+ "type": {
8226
+ "text": "string"
7943
8227
  }
7944
8228
  },
7945
8229
  {
7946
- "kind": "method",
7947
- "name": "cloneNode",
7948
- "return": {
7949
- "type": {
7950
- "text": "Node"
7951
- }
7952
- },
7953
- "parameters": [
7954
- {
7955
- "name": "deep",
7956
- "optional": true,
7957
- "type": {
7958
- "text": "boolean"
7959
- }
7960
- }
7961
- ],
7962
- "inheritedFrom": {
7963
- "name": "LifecycleMixin",
7964
- "module": "src/mixins/lifecycle/lifecycle.ts"
8230
+ "name": "dragItemName",
8231
+ "type": {
8232
+ "text": "string"
7965
8233
  }
7966
- },
8234
+ }
8235
+ ],
8236
+ "description": "Registers an AG Grid `ToolPanel` drag source on a picker row handle so drops on\nthe grid header use AG column-move (visibility + exact index).",
8237
+ "privacy": "public"
8238
+ }
8239
+ ],
8240
+ "exports": [
8241
+ {
8242
+ "kind": "js",
8243
+ "name": "bindAgColumnPickerDrag",
8244
+ "declaration": {
8245
+ "name": "bindAgColumnPickerDrag",
8246
+ "module": "src/column-selection/column-picker-ag-drag.ts"
8247
+ }
8248
+ }
8249
+ ]
8250
+ },
8251
+ {
8252
+ "kind": "javascript-module",
8253
+ "path": "src/column-selection/column-picker.utils.ts",
8254
+ "declarations": [
8255
+ {
8256
+ "kind": "variable",
8257
+ "name": "COLUMN_PICKER_SORT_DEFAULT",
8258
+ "type": {
8259
+ "text": "ColumnPickerSort"
8260
+ },
8261
+ "default": "'selected-first'",
8262
+ "privacy": "public"
8263
+ },
8264
+ {
8265
+ "kind": "function",
8266
+ "name": "resolveColumnPickerSort",
8267
+ "return": {
8268
+ "type": {
8269
+ "text": "ColumnPickerSort"
8270
+ }
8271
+ },
8272
+ "parameters": [
7967
8273
  {
7968
- "kind": "field",
7969
- "name": "shouldRunDisconnect",
7970
- "return": {
7971
- "type": {
7972
- "text": ""
7973
- }
7974
- },
7975
- "readonly": true,
7976
- "inheritedFrom": {
7977
- "name": "LifecycleMixin",
7978
- "module": "src/mixins/lifecycle/lifecycle.ts"
8274
+ "name": "sort",
8275
+ "optional": true,
8276
+ "type": {
8277
+ "text": "ColumnPickerSort | null"
7979
8278
  }
7980
- },
8279
+ }
8280
+ ],
8281
+ "privacy": "public"
8282
+ },
8283
+ {
8284
+ "kind": "function",
8285
+ "name": "toPickerItem",
8286
+ "return": {
8287
+ "type": {
8288
+ "text": "ColumnPickerItem | null"
8289
+ }
8290
+ },
8291
+ "parameters": [
7981
8292
  {
7982
- "kind": "field",
7983
- "name": "shouldRunConnect",
7984
- "return": {
7985
- "type": {
7986
- "text": ""
7987
- }
7988
- },
7989
- "readonly": true,
7990
- "inheritedFrom": {
7991
- "name": "LifecycleMixin",
7992
- "module": "src/mixins/lifecycle/lifecycle.ts"
8293
+ "name": "col",
8294
+ "type": {
8295
+ "text": "Column"
8296
+ }
8297
+ }
8298
+ ],
8299
+ "privacy": "public"
8300
+ },
8301
+ {
8302
+ "kind": "function",
8303
+ "name": "getPickerItems",
8304
+ "return": {
8305
+ "type": {
8306
+ "text": "ColumnPickerItem[]"
8307
+ }
8308
+ },
8309
+ "parameters": [
8310
+ {
8311
+ "name": "columns",
8312
+ "type": {
8313
+ "text": "Column[]"
8314
+ }
8315
+ }
8316
+ ],
8317
+ "privacy": "public"
8318
+ },
8319
+ {
8320
+ "kind": "function",
8321
+ "name": "orderColumnsForPicker",
8322
+ "return": {
8323
+ "type": {
8324
+ "text": "Column[]"
8325
+ }
8326
+ },
8327
+ "parameters": [
8328
+ {
8329
+ "name": "displayed",
8330
+ "type": {
8331
+ "text": "Column[]"
7993
8332
  }
7994
8333
  },
7995
8334
  {
7996
- "kind": "method",
7997
- "name": "#_blockLifecycleDueToTokenChange",
7998
- "return": {
7999
- "type": {
8000
- "text": "boolean"
8001
- }
8002
- },
8003
- "parameters": [
8004
- {
8005
- "name": "lifecycleType",
8006
- "type": {
8007
- "text": "Lifecycletype"
8008
- }
8009
- }
8010
- ],
8011
- "inheritedFrom": {
8012
- "name": "LifecycleMixin",
8013
- "module": "src/mixins/lifecycle/lifecycle.ts"
8335
+ "name": "all",
8336
+ "type": {
8337
+ "text": "Column[]"
8014
8338
  }
8015
8339
  },
8016
8340
  {
8017
- "kind": "field",
8018
- "name": "_presentation",
8341
+ "name": "sort",
8342
+ "default": "COLUMN_PICKER_SORT_DEFAULT",
8019
8343
  "type": {
8020
- "text": "ComponentPresentation | null | undefined"
8021
- },
8022
- "privacy": "private",
8023
- "default": "void 0",
8024
- "inheritedFrom": {
8025
- "name": "FoundationElement",
8026
- "module": "src/foundation-element/foundation-element.ts"
8344
+ "text": "ColumnPickerSort"
8027
8345
  }
8028
8346
  },
8029
8347
  {
8030
- "kind": "field",
8031
- "name": "$presentation",
8348
+ "name": "columnState",
8349
+ "optional": true,
8032
8350
  "type": {
8033
- "text": "ComponentPresentation | null"
8034
- },
8035
- "privacy": "public",
8036
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
8037
- "inheritedFrom": {
8038
- "name": "FoundationElement",
8039
- "module": "src/foundation-element/foundation-element.ts"
8351
+ "text": "ReadonlyArray<{ colId?: string | null }>"
8352
+ }
8353
+ }
8354
+ ],
8355
+ "description": "Column order for the picker list.\n\n- `selected-first` (default): displayed columns first, then non-displayed.\n- `ag-grid`: column-state order (visible/hidden interleaved).",
8356
+ "privacy": "public"
8357
+ },
8358
+ {
8359
+ "kind": "function",
8360
+ "name": "partitionPickerItems",
8361
+ "return": {
8362
+ "type": {
8363
+ "text": "{ selected: ColumnPickerItem[]; unselected: ColumnPickerItem[] }"
8364
+ }
8365
+ },
8366
+ "parameters": [
8367
+ {
8368
+ "name": "items",
8369
+ "type": {
8370
+ "text": "ColumnPickerItem[]"
8040
8371
  }
8041
8372
  },
8042
8373
  {
8043
- "kind": "field",
8044
- "name": "template",
8374
+ "name": "search",
8045
8375
  "type": {
8046
- "text": "ElementViewTemplate | void | null"
8047
- },
8048
- "privacy": "public",
8049
- "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.",
8050
- "inheritedFrom": {
8051
- "name": "FoundationElement",
8052
- "module": "src/foundation-element/foundation-element.ts"
8376
+ "text": "string"
8053
8377
  }
8054
8378
  },
8055
8379
  {
8056
- "kind": "method",
8057
- "name": "templateChanged",
8058
- "privacy": "protected",
8059
- "return": {
8060
- "type": {
8061
- "text": "void"
8062
- }
8063
- },
8064
- "inheritedFrom": {
8065
- "name": "FoundationElement",
8066
- "module": "src/foundation-element/foundation-element.ts"
8380
+ "name": "sort",
8381
+ "default": "COLUMN_PICKER_SORT_DEFAULT",
8382
+ "type": {
8383
+ "text": "ColumnPickerSort"
8384
+ }
8385
+ }
8386
+ ],
8387
+ "description": "Splits / filters picker items for the template sections.",
8388
+ "privacy": "public"
8389
+ },
8390
+ {
8391
+ "kind": "function",
8392
+ "name": "reorderVisibleIds",
8393
+ "return": {
8394
+ "type": {
8395
+ "text": "string[] | null"
8396
+ }
8397
+ },
8398
+ "parameters": [
8399
+ {
8400
+ "name": "allVisibleIds",
8401
+ "type": {
8402
+ "text": "string[]"
8067
8403
  }
8068
8404
  },
8069
8405
  {
8070
- "kind": "field",
8071
- "name": "styles",
8406
+ "name": "shownIds",
8072
8407
  "type": {
8073
- "text": "ElementStyles | void | null"
8074
- },
8075
- "privacy": "public",
8076
- "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.",
8077
- "inheritedFrom": {
8078
- "name": "FoundationElement",
8079
- "module": "src/foundation-element/foundation-element.ts"
8408
+ "text": "string[]"
8080
8409
  }
8081
8410
  },
8082
8411
  {
8083
- "kind": "method",
8084
- "name": "stylesChanged",
8085
- "privacy": "protected",
8086
- "return": {
8087
- "type": {
8088
- "text": "void"
8089
- }
8090
- },
8091
- "inheritedFrom": {
8092
- "name": "FoundationElement",
8093
- "module": "src/foundation-element/foundation-element.ts"
8412
+ "name": "fromId",
8413
+ "type": {
8414
+ "text": "string"
8094
8415
  }
8095
8416
  },
8096
8417
  {
8097
- "kind": "method",
8098
- "name": "compose",
8099
- "privacy": "public",
8100
- "static": true,
8101
- "return": {
8102
- "type": {
8103
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
8104
- }
8105
- },
8106
- "parameters": [
8107
- {
8108
- "name": "this",
8109
- "type": {
8110
- "text": "K"
8111
- }
8112
- },
8113
- {
8114
- "name": "elementDefinition",
8115
- "type": {
8116
- "text": "T"
8117
- },
8118
- "description": "The definition of the element to create the registry\nfunction for."
8119
- }
8120
- ],
8121
- "description": "Defines an element registry function with a set of element definition defaults.",
8122
- "inheritedFrom": {
8123
- "name": "FoundationElement",
8124
- "module": "src/foundation-element/foundation-element.ts"
8418
+ "name": "toId",
8419
+ "type": {
8420
+ "text": "string"
8125
8421
  }
8126
8422
  }
8127
8423
  ],
8128
- "mixins": [
8424
+ "privacy": "public"
8425
+ },
8426
+ {
8427
+ "kind": "function",
8428
+ "name": "applyVisibleOrder",
8429
+ "return": {
8430
+ "type": {
8431
+ "text": "T[]"
8432
+ }
8433
+ },
8434
+ "parameters": [
8129
8435
  {
8130
- "name": "LifecycleMixin",
8131
- "package": "@genesislcap/foundation-utils"
8436
+ "name": "columnState",
8437
+ "type": {
8438
+ "text": "T[]"
8439
+ }
8440
+ },
8441
+ {
8442
+ "name": "visibleOrder",
8443
+ "type": {
8444
+ "text": "string[]"
8445
+ }
8132
8446
  }
8133
8447
  ],
8134
- "superclass": {
8135
- "name": "FoundationElement",
8136
- "package": "@microsoft/fast-foundation"
8137
- },
8138
- "tagName": "grid-pro-column",
8139
- "customElement": true
8448
+ "privacy": "public"
8140
8449
  }
8141
8450
  ],
8142
8451
  "exports": [
8143
8452
  {
8144
8453
  "kind": "js",
8145
- "name": "GridProColumn",
8454
+ "name": "COLUMN_PICKER_SORT_DEFAULT",
8455
+ "declaration": {
8456
+ "name": "COLUMN_PICKER_SORT_DEFAULT",
8457
+ "module": "src/column-selection/column-picker.utils.ts"
8458
+ }
8459
+ },
8460
+ {
8461
+ "kind": "js",
8462
+ "name": "resolveColumnPickerSort",
8463
+ "declaration": {
8464
+ "name": "resolveColumnPickerSort",
8465
+ "module": "src/column-selection/column-picker.utils.ts"
8466
+ }
8467
+ },
8468
+ {
8469
+ "kind": "js",
8470
+ "name": "toPickerItem",
8471
+ "declaration": {
8472
+ "name": "toPickerItem",
8473
+ "module": "src/column-selection/column-picker.utils.ts"
8474
+ }
8475
+ },
8476
+ {
8477
+ "kind": "js",
8478
+ "name": "getPickerItems",
8479
+ "declaration": {
8480
+ "name": "getPickerItems",
8481
+ "module": "src/column-selection/column-picker.utils.ts"
8482
+ }
8483
+ },
8484
+ {
8485
+ "kind": "js",
8486
+ "name": "orderColumnsForPicker",
8146
8487
  "declaration": {
8147
- "name": "GridProColumn",
8148
- "module": "src/column/column.ts"
8488
+ "name": "orderColumnsForPicker",
8489
+ "module": "src/column-selection/column-picker.utils.ts"
8149
8490
  }
8150
8491
  },
8151
8492
  {
8152
- "kind": "custom-element-definition",
8153
- "name": "grid-pro-column",
8493
+ "kind": "js",
8494
+ "name": "partitionPickerItems",
8154
8495
  "declaration": {
8155
- "name": "GridProColumn",
8156
- "module": "src/column/column.ts"
8496
+ "name": "partitionPickerItems",
8497
+ "module": "src/column-selection/column-picker.utils.ts"
8498
+ }
8499
+ },
8500
+ {
8501
+ "kind": "js",
8502
+ "name": "reorderVisibleIds",
8503
+ "declaration": {
8504
+ "name": "reorderVisibleIds",
8505
+ "module": "src/column-selection/column-picker.utils.ts"
8506
+ }
8507
+ },
8508
+ {
8509
+ "kind": "js",
8510
+ "name": "applyVisibleOrder",
8511
+ "declaration": {
8512
+ "name": "applyVisibleOrder",
8513
+ "module": "src/column-selection/column-picker.utils.ts"
8157
8514
  }
8158
8515
  }
8159
8516
  ]
8160
8517
  },
8161
8518
  {
8162
8519
  "kind": "javascript-module",
8163
- "path": "src/column/index.ts",
8164
- "declarations": [],
8165
- "exports": [
8520
+ "path": "src/column-selection/column-selection.styles.ts",
8521
+ "declarations": [
8166
8522
  {
8167
- "kind": "js",
8168
- "name": "*",
8169
- "declaration": {
8170
- "name": "*",
8171
- "package": "./column.template"
8172
- }
8523
+ "kind": "variable",
8524
+ "name": "columnSelectionStyles",
8525
+ "default": "css`\n :host {\n display: inline-flex;\n align-items: center;\n }\n\n .column-selection {\n display: inline-flex;\n align-items: center;\n }\n\n .column-selection-button[data-state='hover'] {\n background: var(--neutral-fill-hover);\n }\n\n .column-selection-panel,\n .column-selection-panel *,\n .column-selection-panel *::before,\n .column-selection-panel *::after {\n box-sizing: border-box;\n }\n\n .column-selection-panel {\n inset: unset;\n margin: 0;\n box-sizing: border-box;\n width: 280px;\n max-width: min(280px, 90vw);\n max-height: 80dvh;\n overflow-y: auto;\n border: 1px solid var(--neutral-stroke-divider-rest, var(--neutral-stroke-rest));\n border-radius: calc(var(--control-corner-radius, 4) * 1px);\n background: var(--neutral-layer-floating, var(--neutral-layer-2, #fff));\n box-shadow: 0 8px 24px rgb(0 0 0 / 18%);\n padding: 0;\n position-area: block-end span-inline-start;\n position-try-fallbacks: flip-block, flip-inline;\n margin-block-start: calc(var(--design-unit, 4) * 1px);\n min-width: 200px;\n color: var(--ag-foreground-color, var(--neutral-foreground-rest));\n font-family: var(--ag-font-family, var(--body-font));\n font-size: var(--ag-data-font-size, var(--type-ramp-minus-1-font-size));\n }\n\n .column-selection-panel:popover-open {\n display: flex;\n flex-direction: column;\n }\n\n .grid-pro-columns-toolbar {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n flex: none;\n width: 100%;\n height: calc((var(--base-height-multiplier) + var(--density)) * var(--design-unit) * 1px);\n min-height: calc((var(--base-height-multiplier) + var(--density)) * var(--design-unit) * 1px);\n margin: 0;\n padding: 0 calc(var(--design-unit) * 2px);\n border-bottom: var(--ag-borders-secondary, 1px solid)\n var(--ag-secondary-border-color, var(--ag-border-color, var(--neutral-stroke-divider-rest)));\n }\n\n .grid-pro-columns-toolbar .grid-pro-columns-search {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n display: block;\n\n --design-unit: 3;\n }\n\n .grid-pro-columns-toolbar > .grid-pro-columns-search {\n flex: 1 1 auto !important;\n height: auto !important;\n min-height: 0 !important;\n }\n\n .grid-pro-columns-select-all {\n flex: 0 0 auto;\n margin: 0;\n\n --design-unit: 3;\n }\n\n .grid-pro-columns-select-all.indeterminate::part(control),\n .grid-pro-columns-select-all[aria-checked='mixed']::part(control) {\n background: var(--neutral-fill-strong-rest, var(--neutral-stroke-rest, #9aa0a6));\n border-color: var(--neutral-fill-strong-rest, var(--neutral-stroke-rest, #9aa0a6));\n }\n\n .grid-pro-columns-select-all.indeterminate:not([disabled]):hover::part(control),\n .grid-pro-columns-select-all[aria-checked='mixed']:not([disabled]):hover::part(control) {\n background: var(--neutral-fill-strong-hover, var(--neutral-stroke-hover, #7d848c));\n border-color: var(--neutral-fill-strong-hover, var(--neutral-stroke-hover, #7d848c));\n }\n\n .grid-pro-columns-select-all.indeterminate::part(checked-indicator),\n .grid-pro-columns-select-all[aria-checked='mixed']::part(checked-indicator) {\n opacity: 0%;\n }\n\n .grid-pro-columns-select-all.indeterminate::part(indeterminate-indicator),\n .grid-pro-columns-select-all[aria-checked='mixed']::part(indeterminate-indicator) {\n width: 10px;\n height: 2px;\n border-radius: 1px;\n background: var(--neutral-fill-input-rest, #fff);\n opacity: 100%;\n }\n\n .grid-pro-columns-select-all.indeterminate:not([disabled]):hover::part(indeterminate-indicator),\n .grid-pro-columns-select-all[aria-checked='mixed']:not([disabled]):hover::part(\n indeterminate-indicator\n ) {\n background: var(--neutral-fill-input-rest, #fff);\n }\n\n .grid-pro-columns-list {\n display: flex;\n flex-direction: column;\n gap: 2px;\n flex: 1 1 0;\n min-height: 250px;\n max-height: 400px;\n padding: 8px;\n }\n\n .grid-pro-columns-section {\n display: flex;\n flex-direction: column;\n gap: 2px;\n flex: 0 0 auto;\n }\n\n .grid-pro-columns-item {\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 2px 0;\n border-radius: 4px;\n cursor: default;\n user-select: none;\n }\n\n .grid-pro-columns-item.dragging {\n opacity: 50%;\n }\n\n .grid-pro-columns-item.drag-over {\n background: var(--ag-row-hover-color, var(--neutral-fill-hover));\n }\n\n .grid-pro-columns-handle {\n flex: 0 0 auto;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 20px;\n min-height: 24px;\n margin: -4px 0;\n padding: 4px 6px;\n box-sizing: border-box;\n opacity: 45%;\n letter-spacing: -1px;\n font-size: 12px;\n line-height: 1;\n touch-action: none;\n }\n\n .grid-pro-columns-handle[draggable='true'],\n .grid-pro-columns-handle.grid-pro-columns-handle-grid-drag,\n .grid-pro-columns-handle.grid-pro-columns-handle-panel-drag {\n cursor: grab;\n opacity: 65%;\n }\n\n .grid-pro-columns-handle[draggable='true']:active,\n .grid-pro-columns-handle.grid-pro-columns-handle-grid-drag:active,\n .grid-pro-columns-handle.grid-pro-columns-handle-panel-drag:active {\n cursor: grabbing;\n }\n\n .grid-pro-columns-checkbox {\n flex: 0 0 auto;\n margin: 0;\n\n --design-unit: 3;\n }\n\n .grid-pro-columns-checkbox[aria-checked='true']:not([disabled]):hover::part(checked-indicator) {\n fill: var(--foreground-on-accent-hover);\n }\n\n .grid-pro-columns-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n`",
8526
+ "description": "Styles for ColumnSelection.",
8527
+ "privacy": "public"
8173
8528
  },
8529
+ {
8530
+ "kind": "variable",
8531
+ "name": "gridProColumnSelectionHostStyles",
8532
+ "default": "css`\n :host(.has-column-selection) {\n display: flex;\n flex-direction: column;\n min-height: 0;\n }\n\n :host(.has-column-selection) [part='grid'] {\n flex: 1 1 auto;\n min-height: 0;\n }\n\n .grid-pro-column-selection-toolbar {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: calc(var(--design-unit, 4) * 2px);\n width: 100%;\n box-sizing: border-box;\n flex-shrink: 0;\n padding: calc(var(--design-unit, 4) * 2px);\n border-bottom: 1px solid var(--neutral-stroke-divider-rest, var(--neutral-stroke-rest));\n background: var(--neutral-layer-1, transparent);\n }\n`",
8533
+ "description": "Host layout when the Grid Pro column-selection toolbar is shown.",
8534
+ "privacy": "public"
8535
+ }
8536
+ ],
8537
+ "exports": [
8174
8538
  {
8175
8539
  "kind": "js",
8176
- "name": "*",
8540
+ "name": "columnSelectionStyles",
8177
8541
  "declaration": {
8178
- "name": "*",
8179
- "package": "./column"
8542
+ "name": "columnSelectionStyles",
8543
+ "module": "src/column-selection/column-selection.styles.ts"
8180
8544
  }
8181
8545
  },
8182
8546
  {
8183
8547
  "kind": "js",
8184
- "name": "*",
8548
+ "name": "gridProColumnSelectionHostStyles",
8185
8549
  "declaration": {
8186
- "name": "*",
8187
- "package": "./utils"
8550
+ "name": "gridProColumnSelectionHostStyles",
8551
+ "module": "src/column-selection/column-selection.styles.ts"
8188
8552
  }
8189
8553
  }
8190
8554
  ]
8191
8555
  },
8192
8556
  {
8193
8557
  "kind": "javascript-module",
8194
- "path": "src/column-filters/enum-column.filter.ts",
8558
+ "path": "src/column-selection/column-selection.template.ts",
8195
8559
  "declarations": [
8196
8560
  {
8197
8561
  "kind": "function",
8198
- "name": "createEnumValueLabelFormatter",
8199
- "return": {
8200
- "type": {
8201
- "text": "(value: string | null) => string"
8202
- }
8203
- },
8562
+ "name": "getColumnSelectionTemplate",
8204
8563
  "parameters": [
8205
8564
  {
8206
- "name": "params",
8207
- "type": {
8208
- "text": "| (Pick<EnumColumnFilterParams, 'valueFormatter'> &\n Partial<\n Pick<EnumColumnFilterValueFormatterParams, 'api' | 'colDef' | 'column' | 'context'>\n >)\n | undefined"
8209
- }
8565
+ "name": "prefix",
8566
+ "default": "'foundation'",
8567
+ "description": "Design-system prefix for button/icon/checkbox/text-field."
8210
8568
  }
8211
8569
  ],
8212
- "description": "Builds the value-to-label formatter for an enum filter, honouring `valueFormatter` from the\nfilter params and labelling `null` (blanks) consistently.",
8570
+ "description": "Column Selection button + popover with embedded picker UI.",
8213
8571
  "privacy": "public"
8214
8572
  },
8215
8573
  {
8216
- "kind": "function",
8217
- "name": "formatEnumFilterModelAsString",
8218
- "return": {
8219
- "type": {
8220
- "text": "string"
8221
- }
8222
- },
8223
- "parameters": [
8224
- {
8225
- "name": "model",
8226
- "type": {
8227
- "text": "EnumColumnFilterModel | null"
8228
- }
8229
- },
8230
- {
8231
- "name": "formatLabel",
8232
- "type": {
8233
- "text": "(value: string | null) => string"
8234
- }
8235
- }
8236
- ],
8237
- "description": "Renders an enum filter model as a short summary, e.g. `(2) Active, Pending`.",
8574
+ "kind": "variable",
8575
+ "name": "columnSelectionTemplate",
8576
+ "description": "Default column selection template (`foundation-*` components).",
8238
8577
  "privacy": "public"
8578
+ }
8579
+ ],
8580
+ "exports": [
8581
+ {
8582
+ "kind": "js",
8583
+ "name": "getColumnSelectionTemplate",
8584
+ "declaration": {
8585
+ "name": "getColumnSelectionTemplate",
8586
+ "module": "src/column-selection/column-selection.template.ts"
8587
+ }
8239
8588
  },
8589
+ {
8590
+ "kind": "js",
8591
+ "name": "columnSelectionTemplate",
8592
+ "declaration": {
8593
+ "name": "columnSelectionTemplate",
8594
+ "module": "src/column-selection/column-selection.template.ts"
8595
+ }
8596
+ }
8597
+ ]
8598
+ },
8599
+ {
8600
+ "kind": "javascript-module",
8601
+ "path": "src/column-selection/column-selection.ts",
8602
+ "declarations": [
8240
8603
  {
8241
8604
  "kind": "class",
8242
- "description": "An Excel AutoFilter-inspired set filter for enum columns, built on AG Grid Community only.",
8243
- "name": "EnumColumnFilter",
8605
+ "description": "Button + popover column picker for Grid Pro (Community).",
8606
+ "name": "ColumnSelection",
8244
8607
  "members": [
8245
8608
  {
8246
8609
  "kind": "field",
8247
- "name": "params",
8610
+ "name": "label",
8248
8611
  "type": {
8249
- "text": "IFilterParams & EnumColumnFilterParams"
8612
+ "text": "string"
8250
8613
  },
8251
- "privacy": "protected"
8614
+ "default": "'Column Selection'",
8615
+ "description": "Button label."
8252
8616
  },
8253
8617
  {
8254
8618
  "kind": "field",
8255
- "name": "eGui",
8619
+ "name": "sort",
8256
8620
  "type": {
8257
- "text": "HTMLElement"
8621
+ "text": "ColumnPickerSort"
8258
8622
  },
8259
- "privacy": "private"
8623
+ "default": "COLUMN_PICKER_SORT_DEFAULT",
8624
+ "description": "Column list ordering.\n- `selected-first` (default): visible first (grid display order), then hidden A–Z.\n- `ag-grid`: `api.getColumnState()` order (visible/hidden interleaved)."
8260
8625
  },
8261
8626
  {
8262
8627
  "kind": "field",
8263
- "name": "eRoot",
8628
+ "name": "open",
8264
8629
  "type": {
8265
- "text": "ShadowRoot"
8630
+ "text": "boolean"
8266
8631
  },
8267
- "privacy": "private",
8268
- "description": "The GUI's shadow root — hosts the content and the shared FAST stylesheet."
8632
+ "default": "false",
8633
+ "description": "Whether the popover is open."
8269
8634
  },
8270
8635
  {
8271
8636
  "kind": "field",
8272
- "name": "eSearch",
8637
+ "name": "gridApi",
8273
8638
  "type": {
8274
- "text": "HTMLInputElement"
8639
+ "text": "GridApi | null"
8275
8640
  },
8276
- "privacy": "private"
8641
+ "default": "null",
8642
+ "description": "Optional explicit AG grid API (v36)."
8277
8643
  },
8278
8644
  {
8279
8645
  "kind": "field",
8280
- "name": "eSelectAll",
8646
+ "name": "gridHost",
8281
8647
  "type": {
8282
- "text": "HTMLInputElement"
8648
+ "text": "ColumnSelectionHost | null"
8283
8649
  },
8284
- "privacy": "private"
8650
+ "default": "null",
8651
+ "description": "Grid Pro host element; column API is bridged when needed."
8285
8652
  },
8286
8653
  {
8287
8654
  "kind": "field",
8288
- "name": "eList",
8655
+ "name": "search",
8289
8656
  "type": {
8290
- "text": "HTMLElement"
8657
+ "text": "string"
8291
8658
  },
8292
- "privacy": "private"
8659
+ "default": "''"
8293
8660
  },
8294
8661
  {
8295
8662
  "kind": "field",
8296
- "name": "itemInputs",
8663
+ "name": "selectedItems",
8664
+ "type": {
8665
+ "text": "ColumnPickerItem[]"
8666
+ },
8667
+ "default": "[]"
8668
+ },
8669
+ {
8670
+ "kind": "field",
8671
+ "name": "unselectedItems",
8672
+ "type": {
8673
+ "text": "ColumnPickerItem[]"
8674
+ },
8675
+ "default": "[]"
8676
+ },
8677
+ {
8678
+ "kind": "field",
8679
+ "name": "selectAllChecked",
8680
+ "type": {
8681
+ "text": "boolean"
8682
+ },
8683
+ "default": "false",
8684
+ "description": "Master checkbox checked when every toggleable column is visible."
8685
+ },
8686
+ {
8687
+ "kind": "field",
8688
+ "name": "selectAllIndeterminate",
8689
+ "type": {
8690
+ "text": "boolean"
8691
+ },
8692
+ "default": "false",
8693
+ "description": "Master checkbox mixed when some (but not all) toggleable columns are visible."
8694
+ },
8695
+ {
8696
+ "kind": "field",
8697
+ "name": "resolvedSort",
8698
+ "type": {
8699
+ "text": "ColumnPickerSort"
8700
+ },
8297
8701
  "privacy": "private",
8298
- "default": "new Map<string | null, HTMLInputElement>()",
8299
- "description": "Rendered value checkboxes keyed by value; `null` keys the blanks entry."
8702
+ "default": "COLUMN_PICKER_SORT_DEFAULT",
8703
+ "description": "Resolved sort; kept in sync with `@attr sort`."
8300
8704
  },
8301
8705
  {
8302
8706
  "kind": "field",
8303
- "name": "allValues",
8707
+ "name": "dragColId",
8708
+ "type": {
8709
+ "text": "string | null"
8710
+ },
8711
+ "privacy": "private",
8712
+ "default": "null",
8713
+ "description": "Source colId while a visible-row drag is in progress."
8714
+ },
8715
+ {
8716
+ "kind": "field",
8717
+ "name": "dragOverElement",
8718
+ "type": {
8719
+ "text": "HTMLElement | null"
8720
+ },
8721
+ "privacy": "private",
8722
+ "default": "null",
8723
+ "description": "Row currently showing drag-over highlight (avoid observable updates mid-drag)."
8724
+ },
8725
+ {
8726
+ "kind": "field",
8727
+ "name": "dragBindingAbort",
8728
+ "type": {
8729
+ "text": "AbortController | null"
8730
+ },
8731
+ "privacy": "private",
8732
+ "default": "null",
8733
+ "description": "Cancels row drag listeners when the selected list re-renders."
8734
+ },
8735
+ {
8736
+ "kind": "field",
8737
+ "name": "agDragBindings",
8304
8738
  "type": {
8305
- "text": "string[]"
8739
+ "text": "ColumnPickerAgDragBinding[]"
8306
8740
  },
8307
8741
  "privacy": "private",
8308
8742
  "default": "[]",
8309
- "description": "All selectable values, in the order the metadata/getter provided them."
8743
+ "description": "AG ToolPanel drag sources registered on hidden-row handles (grid drop)."
8310
8744
  },
8311
8745
  {
8312
8746
  "kind": "field",
8313
- "name": "includeBlanks",
8747
+ "name": "columnDragBridge",
8314
8748
  "type": {
8315
- "text": "boolean"
8749
+ "text": "GridProColumnDragBridge | null"
8316
8750
  },
8317
8751
  "privacy": "private",
8318
- "default": "true",
8319
- "description": "Whether the `(Blanks)` entry is offered — on unless `filterParams.blanks` is `false`."
8752
+ "default": "null",
8753
+ "description": "Shared DnD bridge from Grid Pro."
8320
8754
  },
8321
8755
  {
8322
8756
  "kind": "field",
8323
- "name": "valuesRequestId",
8757
+ "name": "dragBridgeRetryId",
8324
8758
  "type": {
8325
8759
  "text": "number"
8326
8760
  },
8327
8761
  "privacy": "private",
8328
8762
  "default": "0",
8329
- "description": "Guards async values resolution against out-of-date responses and use after destroy."
8763
+ "description": "Retries `bindRowDrag` until the DnD bridge is populated."
8330
8764
  },
8331
8765
  {
8332
8766
  "kind": "field",
8333
- "name": "loading",
8334
- "type": {
8335
- "text": "boolean"
8336
- },
8767
+ "name": "pendingVisibility",
8337
8768
  "privacy": "private",
8338
- "default": "false"
8769
+ "default": "new Map<string, boolean>()",
8770
+ "description": "Optimistic visibility while the grid applies setColumnsVisible."
8339
8771
  },
8340
8772
  {
8341
8773
  "kind": "field",
8342
- "name": "ownsHeaderTooltip",
8343
- "type": {
8344
- "text": "boolean"
8345
- },
8774
+ "name": "boundRefresh",
8346
8775
  "privacy": "private",
8347
- "default": "false",
8348
- "description": "Whether this instance installed the header tooltip getter (so destroy removes only its own)."
8776
+ "readonly": true,
8777
+ "description": "Stable listener refs so close/disconnect can remove the same functions."
8349
8778
  },
8350
8779
  {
8351
8780
  "kind": "field",
8352
- "name": "formatLabel",
8781
+ "name": "pickerApi",
8353
8782
  "type": {
8354
- "text": "(value: string | null) => string"
8783
+ "text": "GridApi | null"
8355
8784
  },
8356
8785
  "privacy": "private"
8357
8786
  },
8358
8787
  {
8359
8788
  "kind": "field",
8360
- "name": "model",
8789
+ "name": "pickerRoot",
8361
8790
  "type": {
8362
- "text": "(string | null)[] | null"
8791
+ "text": "HTMLElement | null"
8363
8792
  },
8364
8793
  "privacy": "private",
8365
- "default": "null",
8366
- "description": "`null` while inactive (everything passes); otherwise the selected values, with `null`\nstanding for blanks. May contain values absent from `allValues` (e.g. a restored model\nreferencing rows not loaded yet) — those are preserved and rendered as extra list entries\nso restoring a persisted model never silently narrows it, while still letting the user\ndeselect them."
8794
+ "description": "Query root for picker DOM (shadow panel).",
8795
+ "readonly": true
8367
8796
  },
8368
8797
  {
8369
8798
  "kind": "field",
8370
- "name": "searchTerm",
8799
+ "name": "canReorderInPanel",
8371
8800
  "type": {
8372
- "text": "string"
8801
+ "text": "boolean"
8373
8802
  },
8374
- "privacy": "private",
8375
- "default": "''"
8803
+ "description": "Panel reorder disabled while search filter is active.",
8804
+ "readonly": true
8376
8805
  },
8377
8806
  {
8378
8807
  "kind": "method",
8379
- "name": "init",
8380
- "privacy": "public",
8808
+ "name": "canDragToGrid",
8381
8809
  "return": {
8382
8810
  "type": {
8383
- "text": "void"
8811
+ "text": "boolean"
8384
8812
  }
8385
8813
  },
8386
8814
  "parameters": [
8387
8815
  {
8388
- "name": "params",
8816
+ "name": "item",
8389
8817
  "type": {
8390
- "text": "IFilterParams & EnumColumnFilterParams"
8818
+ "text": "ColumnPickerItem"
8391
8819
  }
8392
8820
  }
8393
- ]
8394
- },
8395
- {
8396
- "kind": "method",
8397
- "name": "getGui",
8398
- "privacy": "public",
8399
- "return": {
8400
- "type": {
8401
- "text": "HTMLElement"
8402
- }
8403
- }
8821
+ ],
8822
+ "description": "Handle is draggable onto the grid (hidden columns, or all when using ag-grid sort)."
8404
8823
  },
8405
8824
  {
8406
- "kind": "method",
8407
- "name": "isFilterActive",
8408
- "privacy": "public",
8409
- "return": {
8410
- "type": {
8411
- "text": "boolean"
8412
- }
8413
- }
8825
+ "kind": "field",
8826
+ "name": "toggleableItems",
8827
+ "type": {
8828
+ "text": "ColumnPickerItem[]"
8829
+ },
8830
+ "privacy": "private",
8831
+ "description": "Columns in the current (search-filtered) picker lists that can be toggled.",
8832
+ "readonly": true
8414
8833
  },
8415
8834
  {
8416
8835
  "kind": "method",
8417
- "name": "doesFilterPass",
8418
- "privacy": "public",
8419
- "return": {
8420
- "type": {
8421
- "text": "boolean"
8422
- }
8423
- },
8836
+ "name": "openChanged",
8424
8837
  "parameters": [
8425
8838
  {
8426
- "name": "params",
8839
+ "name": "oldValue",
8840
+ "optional": true,
8427
8841
  "type": {
8428
- "text": "IDoesFilterPassParams"
8842
+ "text": "boolean"
8429
8843
  }
8430
8844
  }
8431
8845
  ]
8432
8846
  },
8433
8847
  {
8434
8848
  "kind": "method",
8435
- "name": "getModel",
8436
- "privacy": "public",
8437
- "return": {
8438
- "type": {
8439
- "text": "EnumColumnFilterModel | null"
8440
- }
8441
- }
8849
+ "name": "sortChanged"
8442
8850
  },
8443
8851
  {
8444
8852
  "kind": "method",
8445
- "name": "setModel",
8446
- "privacy": "public",
8447
- "return": {
8448
- "type": {
8449
- "text": "void"
8450
- }
8451
- },
8452
- "parameters": [
8453
- {
8454
- "name": "model",
8455
- "type": {
8456
- "text": "EnumColumnFilterModel | null"
8457
- }
8458
- }
8459
- ]
8853
+ "name": "gridApiChanged"
8460
8854
  },
8461
8855
  {
8462
8856
  "kind": "method",
8463
- "name": "getModelAsString",
8464
- "privacy": "public",
8465
- "return": {
8466
- "type": {
8467
- "text": "string"
8468
- }
8469
- },
8470
- "parameters": [
8471
- {
8472
- "name": "model",
8473
- "type": {
8474
- "text": "EnumColumnFilterModel | null"
8475
- }
8476
- }
8477
- ]
8857
+ "name": "gridHostChanged"
8478
8858
  },
8479
8859
  {
8480
8860
  "kind": "method",
8481
- "name": "clear",
8482
- "privacy": "public",
8483
- "return": {
8484
- "type": {
8485
- "text": "void"
8486
- }
8487
- },
8488
- "description": "Clears the filter back to inactive and notifies the grid; used by the floating filter."
8861
+ "name": "panelElChanged"
8489
8862
  },
8490
8863
  {
8491
8864
  "kind": "method",
8492
- "name": "installHeaderTooltip",
8493
- "privacy": "private",
8865
+ "name": "toggle",
8494
8866
  "return": {
8495
8867
  "type": {
8496
8868
  "text": "void"
8497
8869
  }
8498
8870
  },
8499
- "description": "Surfaces the active selection in the column's header tooltip (alongside AG's native header\nfilter icon), so the filter state is inspectable from the header without the layout-changing\nfloating filter row. Installed as a `headerTooltipValueGetter`, which AG evaluates lazily on\nhover — no header refresh needed when the model changes. While inactive it returns\n`undefined`, which falls back to the consumer's own `headerTooltip`; when active, that\ntooltip is kept as the prefix. A consumer-provided getter is left untouched."
8871
+ "description": "Opens or closes the popover.",
8872
+ "privacy": "public"
8500
8873
  },
8501
8874
  {
8502
8875
  "kind": "method",
8503
- "name": "afterGuiAttached",
8504
- "privacy": "public",
8876
+ "name": "close",
8505
8877
  "return": {
8506
8878
  "type": {
8507
8879
  "text": "void"
8508
8880
  }
8509
8881
  },
8510
- "parameters": [
8511
- {
8512
- "name": "params",
8513
- "optional": true,
8514
- "type": {
8515
- "text": "{ suppressFocus?: boolean }"
8516
- }
8517
- }
8518
- ]
8882
+ "description": "Closes the popover.",
8883
+ "privacy": "public"
8519
8884
  },
8520
8885
  {
8521
8886
  "kind": "method",
8522
8887
  "name": "refresh",
8523
- "privacy": "public",
8524
8888
  "return": {
8525
8889
  "type": {
8526
- "text": "boolean"
8890
+ "text": "void"
8527
8891
  }
8528
8892
  },
8529
- "parameters": [
8530
- {
8531
- "name": "params",
8532
- "type": {
8533
- "text": "IFilterParams & EnumColumnFilterParams"
8534
- }
8535
- }
8536
- ]
8893
+ "description": "Rebuilds picker lists from current grid column state."
8894
+ },
8895
+ {
8896
+ "kind": "field",
8897
+ "name": "handleClickOutside",
8898
+ "privacy": "private",
8899
+ "readonly": true
8537
8900
  },
8538
8901
  {
8539
8902
  "kind": "method",
8540
- "name": "destroy",
8541
- "privacy": "public",
8903
+ "name": "showPanel",
8904
+ "privacy": "private",
8542
8905
  "return": {
8543
8906
  "type": {
8544
8907
  "text": "void"
@@ -8547,105 +8910,96 @@
8547
8910
  },
8548
8911
  {
8549
8912
  "kind": "method",
8550
- "name": "resolveState",
8913
+ "name": "hidePanel",
8551
8914
  "privacy": "private",
8552
8915
  "return": {
8553
8916
  "type": {
8554
8917
  "text": "void"
8555
8918
  }
8556
- },
8557
- "description": "Resolves the option list (values array or getter) and re-renders."
8919
+ }
8558
8920
  },
8559
8921
  {
8560
8922
  "kind": "method",
8561
- "name": "loadAsyncValues",
8923
+ "name": "subscribePicker",
8562
8924
  "privacy": "private",
8563
8925
  "return": {
8564
8926
  "type": {
8565
8927
  "text": "void"
8566
8928
  }
8567
- },
8568
- "parameters": [
8569
- {
8570
- "name": "getValues",
8571
- "type": {
8572
- "text": "EnumColumnFilterValuesGetter"
8573
- }
8574
- }
8575
- ]
8929
+ }
8576
8930
  },
8577
8931
  {
8578
8932
  "kind": "method",
8579
- "name": "getCellValue",
8933
+ "name": "resubscribePicker",
8580
8934
  "privacy": "private",
8581
8935
  "return": {
8582
8936
  "type": {
8583
- "text": "unknown"
8584
- }
8585
- },
8586
- "parameters": [
8587
- {
8588
- "name": "node",
8589
- "type": {
8590
- "text": "any"
8591
- }
8937
+ "text": "void"
8592
8938
  }
8593
- ],
8594
- "description": "The raw field read covers params without `getValue` (e.g. stripped-down test params)."
8939
+ }
8595
8940
  },
8596
8941
  {
8597
8942
  "kind": "method",
8598
- "name": "extraModelValues",
8943
+ "name": "unsubscribePicker",
8599
8944
  "privacy": "private",
8600
8945
  "return": {
8601
8946
  "type": {
8602
- "text": "string[]"
8947
+ "text": "void"
8603
8948
  }
8604
- },
8605
- "description": "Model values that are not in the option list, e.g. from a restored persisted model."
8949
+ }
8606
8950
  },
8607
8951
  {
8608
8952
  "kind": "method",
8609
- "name": "allKeys",
8953
+ "name": "syncSelectAllState",
8610
8954
  "privacy": "private",
8611
8955
  "return": {
8612
8956
  "type": {
8613
- "text": "(string | null)[]"
8957
+ "text": "void"
8614
8958
  }
8615
- },
8616
- "description": "All offered entry keys: the option list, then any off-list model values (rendered so they can\nbe deselected rather than being stuck in the model forever), then `null` (blanks) last like\nExcel. The blanks entry is also offered whenever the model references it, so a restored\nblanks selection stays visible and removable even before blank rows are detected."
8959
+ }
8617
8960
  },
8618
8961
  {
8619
8962
  "kind": "method",
8620
- "name": "isSelected",
8963
+ "name": "applyPendingVisibility",
8621
8964
  "privacy": "private",
8622
8965
  "return": {
8623
8966
  "type": {
8624
- "text": "boolean"
8967
+ "text": "ColumnPickerItem[]"
8625
8968
  }
8626
8969
  },
8627
8970
  "parameters": [
8628
8971
  {
8629
- "name": "key",
8972
+ "name": "items",
8630
8973
  "type": {
8631
- "text": "string | null"
8974
+ "text": "ColumnPickerItem[]"
8632
8975
  }
8633
8976
  }
8634
- ]
8977
+ ]
8978
+ },
8979
+ {
8980
+ "kind": "method",
8981
+ "name": "resolveDragBridge",
8982
+ "privacy": "private",
8983
+ "return": {
8984
+ "type": {
8985
+ "text": "GridProColumnDragBridge | null"
8986
+ }
8987
+ }
8635
8988
  },
8636
8989
  {
8637
8990
  "kind": "method",
8638
- "name": "visibleKeys",
8991
+ "name": "bindRowDrag",
8639
8992
  "privacy": "private",
8640
8993
  "return": {
8641
8994
  "type": {
8642
- "text": "(string | null)[]"
8995
+ "text": "void"
8643
8996
  }
8644
- }
8997
+ },
8998
+ "description": "Visible rows: HTML5 reorder inside the picker.\nHidden rows (or all rows when `sort=ag-grid`): AG ToolPanel drag onto the grid header."
8645
8999
  },
8646
9000
  {
8647
9001
  "kind": "method",
8648
- "name": "updateSelection",
9002
+ "name": "scheduleDragBridgeRetry",
8649
9003
  "privacy": "private",
8650
9004
  "return": {
8651
9005
  "type": {
@@ -8654,27 +9008,24 @@
8654
9008
  },
8655
9009
  "parameters": [
8656
9010
  {
8657
- "name": "selected",
8658
- "type": {
8659
- "text": "Set<string | null>"
8660
- }
9011
+ "name": "attempt",
9012
+ "default": "0"
8661
9013
  }
8662
- ],
8663
- "description": "Applies a new selection. Collapses back to the inactive (`null`) model when every offered\nentry is selected, so a fully re-selected filter reports inactive exactly like the\nenterprise set filter. Selected values beyond the offered keys don't restrict anything an\ninactive filter would pass, so a superset selection collapses too."
9014
+ ]
8664
9015
  },
8665
9016
  {
8666
9017
  "kind": "method",
8667
- "name": "currentSelection",
9018
+ "name": "clearDragOverHighlight",
8668
9019
  "privacy": "private",
8669
9020
  "return": {
8670
9021
  "type": {
8671
- "text": "Set<string | null>"
9022
+ "text": "void"
8672
9023
  }
8673
9024
  }
8674
9025
  },
8675
9026
  {
8676
9027
  "kind": "method",
8677
- "name": "toggleValue",
9028
+ "name": "reorderSelected",
8678
9029
  "privacy": "private",
8679
9030
  "return": {
8680
9031
  "type": {
@@ -8683,527 +9034,324 @@
8683
9034
  },
8684
9035
  "parameters": [
8685
9036
  {
8686
- "name": "key",
9037
+ "name": "fromId",
8687
9038
  "type": {
8688
- "text": "string | null"
9039
+ "text": "string"
8689
9040
  }
8690
9041
  },
8691
9042
  {
8692
- "name": "checked",
9043
+ "name": "toId",
8693
9044
  "type": {
8694
- "text": "boolean"
9045
+ "text": "string"
8695
9046
  }
8696
9047
  }
8697
- ]
9048
+ ],
9049
+ "description": "Applies a new visible-column order via `applyColumnState({ applyOrder: true })`.\nHidden columns keep their relative positions; only the visible slice is permuted."
8698
9050
  },
8699
9051
  {
8700
9052
  "kind": "method",
8701
- "name": "toggleAllVisible",
8702
- "privacy": "private",
9053
+ "name": "cloneNode",
8703
9054
  "return": {
8704
9055
  "type": {
8705
- "text": "void"
9056
+ "text": "Node"
8706
9057
  }
8707
9058
  },
8708
9059
  "parameters": [
8709
9060
  {
8710
- "name": "checked",
9061
+ "name": "deep",
9062
+ "optional": true,
8711
9063
  "type": {
8712
9064
  "text": "boolean"
8713
9065
  }
8714
9066
  }
8715
9067
  ],
8716
- "description": "Select-all acts on the searched subset only, mirroring Excel's AutoFilter."
8717
- },
8718
- {
8719
- "kind": "method",
8720
- "name": "createGui",
8721
- "privacy": "private",
8722
- "return": {
8723
- "type": {
8724
- "text": "void"
8725
- }
9068
+ "inheritedFrom": {
9069
+ "name": "LifecycleMixin",
9070
+ "module": "src/mixins/lifecycle/lifecycle.ts"
8726
9071
  }
8727
9072
  },
8728
9073
  {
8729
9074
  "kind": "method",
8730
- "name": "createItem",
8731
- "privacy": "private",
9075
+ "name": "deepClone",
8732
9076
  "return": {
8733
9077
  "type": {
8734
- "text": "{ label: HTMLLabelElement; input: HTMLInputElement }"
9078
+ "text": "Node"
8735
9079
  }
8736
9080
  },
8737
- "parameters": [
8738
- {
8739
- "name": "text",
8740
- "type": {
8741
- "text": "string"
8742
- }
8743
- }
8744
- ]
9081
+ "inheritedFrom": {
9082
+ "name": "LifecycleMixin",
9083
+ "module": "src/mixins/lifecycle/lifecycle.ts"
9084
+ }
8745
9085
  },
8746
9086
  {
8747
- "kind": "method",
8748
- "name": "renderList",
8749
- "privacy": "private",
9087
+ "kind": "field",
9088
+ "name": "shouldRunDisconnect",
8750
9089
  "return": {
8751
9090
  "type": {
8752
- "text": "void"
9091
+ "text": ""
8753
9092
  }
8754
9093
  },
8755
- "description": "Rebuilds the value list; used when the values or the search term change."
9094
+ "readonly": true,
9095
+ "inheritedFrom": {
9096
+ "name": "LifecycleMixin",
9097
+ "module": "src/mixins/lifecycle/lifecycle.ts"
9098
+ }
8756
9099
  },
8757
9100
  {
8758
- "kind": "method",
8759
- "name": "syncCheckedStates",
8760
- "privacy": "private",
9101
+ "kind": "field",
9102
+ "name": "shouldRunConnect",
8761
9103
  "return": {
8762
9104
  "type": {
8763
- "text": "void"
9105
+ "text": ""
8764
9106
  }
8765
9107
  },
8766
- "description": "Refreshes checkbox states in place, preserving DOM (and keyboard focus) on toggles."
8767
- },
8768
- {
8769
- "kind": "method",
8770
- "name": "focusables",
8771
- "privacy": "private",
8772
- "return": {
8773
- "type": {
8774
- "text": "HTMLElement[]"
8775
- }
9108
+ "readonly": true,
9109
+ "inheritedFrom": {
9110
+ "name": "LifecycleMixin",
9111
+ "module": "src/mixins/lifecycle/lifecycle.ts"
8776
9112
  }
8777
9113
  },
8778
9114
  {
8779
9115
  "kind": "method",
8780
- "name": "handleKeyDown",
8781
- "privacy": "private",
9116
+ "name": "#_blockLifecycleDueToTokenChange",
8782
9117
  "return": {
8783
9118
  "type": {
8784
- "text": "void"
9119
+ "text": "boolean"
8785
9120
  }
8786
9121
  },
8787
9122
  "parameters": [
8788
9123
  {
8789
- "name": "event",
9124
+ "name": "lifecycleType",
8790
9125
  "type": {
8791
- "text": "KeyboardEvent"
9126
+ "text": "Lifecycletype"
8792
9127
  }
8793
9128
  }
8794
9129
  ],
8795
- "description": "Arrow keys walk search box, \"(Select All)\" and the visible entries; Enter toggles the\nfocused entry (Space is the checkbox's native toggle). Tab wraps within the popup: AG's own\npopup focus trap collects focusable elements with `querySelectorAll`, which does not pierce\nthe shadow root, so the trap must live here."
8796
- }
8797
- ]
8798
- }
8799
- ],
8800
- "exports": [
8801
- {
8802
- "kind": "js",
8803
- "name": "createEnumValueLabelFormatter",
8804
- "declaration": {
8805
- "name": "createEnumValueLabelFormatter",
8806
- "module": "src/column-filters/enum-column.filter.ts"
8807
- }
8808
- },
8809
- {
8810
- "kind": "js",
8811
- "name": "formatEnumFilterModelAsString",
8812
- "declaration": {
8813
- "name": "formatEnumFilterModelAsString",
8814
- "module": "src/column-filters/enum-column.filter.ts"
8815
- }
8816
- },
8817
- {
8818
- "kind": "js",
8819
- "name": "EnumColumnFilter",
8820
- "declaration": {
8821
- "name": "EnumColumnFilter",
8822
- "module": "src/column-filters/enum-column.filter.ts"
8823
- }
8824
- }
8825
- ]
8826
- },
8827
- {
8828
- "kind": "javascript-module",
8829
- "path": "src/column-filters/enum-column.floating-filter.ts",
8830
- "declarations": [
8831
- {
8832
- "kind": "class",
8833
- "description": "Floating filter companion for EnumColumnFilter: shows the current selection as a\ncompact summary (e.g. `(2) Active, Pending`), opens the parent filter on click, and offers a\none-click clear. Set via `ColDef.floatingFilterComponent` (see\nGridProFilterTypes.enumFloatingFilter); shown when the column enables `floatingFilter`.",
8834
- "name": "EnumColumnFloatingFilter",
8835
- "members": [
8836
- {
8837
- "kind": "field",
8838
- "name": "params",
8839
- "type": {
8840
- "text": "IFloatingFilterParams"
8841
- },
8842
- "privacy": "private"
9130
+ "inheritedFrom": {
9131
+ "name": "LifecycleMixin",
9132
+ "module": "src/mixins/lifecycle/lifecycle.ts"
9133
+ }
8843
9134
  },
8844
9135
  {
8845
9136
  "kind": "field",
8846
- "name": "eGui",
9137
+ "name": "_presentation",
8847
9138
  "type": {
8848
- "text": "HTMLElement"
9139
+ "text": "ComponentPresentation | null | undefined"
8849
9140
  },
8850
- "privacy": "private"
9141
+ "privacy": "private",
9142
+ "default": "void 0",
9143
+ "inheritedFrom": {
9144
+ "name": "FoundationElement",
9145
+ "module": "src/foundation-element/foundation-element.ts"
9146
+ }
8851
9147
  },
8852
9148
  {
8853
9149
  "kind": "field",
8854
- "name": "eRoot",
9150
+ "name": "$presentation",
8855
9151
  "type": {
8856
- "text": "ShadowRoot"
9152
+ "text": "ComponentPresentation | null"
8857
9153
  },
8858
- "privacy": "private",
8859
- "description": "The GUI's shadow root — hosts the content and the shared FAST stylesheet."
9154
+ "privacy": "public",
9155
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
9156
+ "inheritedFrom": {
9157
+ "name": "FoundationElement",
9158
+ "module": "src/foundation-element/foundation-element.ts"
9159
+ }
8860
9160
  },
8861
9161
  {
8862
9162
  "kind": "field",
8863
- "name": "eSummary",
9163
+ "name": "template",
8864
9164
  "type": {
8865
- "text": "HTMLElement"
9165
+ "text": "ElementViewTemplate | void | null"
8866
9166
  },
8867
- "privacy": "private"
9167
+ "privacy": "public",
9168
+ "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.",
9169
+ "inheritedFrom": {
9170
+ "name": "FoundationElement",
9171
+ "module": "src/foundation-element/foundation-element.ts"
9172
+ }
8868
9173
  },
8869
9174
  {
8870
- "kind": "field",
8871
- "name": "eClear",
8872
- "type": {
8873
- "text": "HTMLButtonElement"
9175
+ "kind": "method",
9176
+ "name": "templateChanged",
9177
+ "privacy": "protected",
9178
+ "return": {
9179
+ "type": {
9180
+ "text": "void"
9181
+ }
8874
9182
  },
8875
- "privacy": "private"
9183
+ "inheritedFrom": {
9184
+ "name": "FoundationElement",
9185
+ "module": "src/foundation-element/foundation-element.ts"
9186
+ }
8876
9187
  },
8877
9188
  {
8878
9189
  "kind": "field",
8879
- "name": "formatLabel",
9190
+ "name": "styles",
8880
9191
  "type": {
8881
- "text": "(value: string | null) => string"
9192
+ "text": "ElementStyles | void | null"
8882
9193
  },
8883
- "privacy": "private"
9194
+ "privacy": "public",
9195
+ "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.",
9196
+ "inheritedFrom": {
9197
+ "name": "FoundationElement",
9198
+ "module": "src/foundation-element/foundation-element.ts"
9199
+ }
8884
9200
  },
8885
9201
  {
8886
9202
  "kind": "method",
8887
- "name": "init",
8888
- "privacy": "public",
9203
+ "name": "stylesChanged",
9204
+ "privacy": "protected",
8889
9205
  "return": {
8890
9206
  "type": {
8891
9207
  "text": "void"
8892
9208
  }
8893
9209
  },
8894
- "parameters": [
8895
- {
8896
- "name": "params",
8897
- "type": {
8898
- "text": "IFloatingFilterParams"
8899
- }
8900
- }
8901
- ]
8902
- },
8903
- {
8904
- "kind": "method",
8905
- "name": "getGui",
8906
- "privacy": "public",
8907
- "return": {
8908
- "type": {
8909
- "text": "HTMLElement"
8910
- }
9210
+ "inheritedFrom": {
9211
+ "name": "FoundationElement",
9212
+ "module": "src/foundation-element/foundation-element.ts"
8911
9213
  }
8912
9214
  },
8913
9215
  {
8914
9216
  "kind": "method",
8915
- "name": "onParentModelChanged",
9217
+ "name": "compose",
8916
9218
  "privacy": "public",
9219
+ "static": true,
8917
9220
  "return": {
8918
9221
  "type": {
8919
- "text": "void"
9222
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
8920
9223
  }
8921
9224
  },
8922
9225
  "parameters": [
8923
9226
  {
8924
- "name": "model",
9227
+ "name": "this",
8925
9228
  "type": {
8926
- "text": "EnumColumnFilterModel | null"
9229
+ "text": "K"
8927
9230
  }
9231
+ },
9232
+ {
9233
+ "name": "elementDefinition",
9234
+ "type": {
9235
+ "text": "T"
9236
+ },
9237
+ "description": "The definition of the element to create the registry\nfunction for."
8928
9238
  }
8929
- ]
8930
- },
8931
- {
8932
- "kind": "method",
8933
- "name": "destroy",
8934
- "privacy": "public",
8935
- "return": {
8936
- "type": {
8937
- "text": "void"
8938
- }
9239
+ ],
9240
+ "description": "Defines an element registry function with a set of element definition defaults.",
9241
+ "inheritedFrom": {
9242
+ "name": "FoundationElement",
9243
+ "module": "src/foundation-element/foundation-element.ts"
8939
9244
  }
8940
9245
  }
8941
- ]
8942
- }
8943
- ],
8944
- "exports": [
8945
- {
8946
- "kind": "js",
8947
- "name": "EnumColumnFloatingFilter",
8948
- "declaration": {
8949
- "name": "EnumColumnFloatingFilter",
8950
- "module": "src/column-filters/enum-column.floating-filter.ts"
8951
- }
8952
- }
8953
- ]
8954
- },
8955
- {
8956
- "kind": "javascript-module",
8957
- "path": "src/column-filters/index.ts",
8958
- "declarations": [],
8959
- "exports": [
8960
- {
8961
- "kind": "js",
8962
- "name": "*",
8963
- "declaration": {
8964
- "name": "*",
8965
- "package": "./enum-column.filter"
8966
- }
8967
- },
8968
- {
8969
- "kind": "js",
8970
- "name": "*",
8971
- "declaration": {
8972
- "name": "*",
8973
- "package": "./enum-column.floating-filter"
8974
- }
8975
- }
8976
- ]
8977
- },
8978
- {
8979
- "kind": "javascript-module",
8980
- "path": "src/column-selection/column-picker-ag-drag.ts",
8981
- "declarations": [
8982
- {
8983
- "kind": "function",
8984
- "name": "bindAgColumnPickerDrag",
8985
- "return": {
8986
- "type": {
8987
- "text": "ColumnPickerAgDragBinding | null"
8988
- }
8989
- },
8990
- "parameters": [
8991
- {
8992
- "name": "bridge",
8993
- "type": {
8994
- "text": "GridProColumnDragBridge"
8995
- }
8996
- },
8997
- {
8998
- "name": "api",
8999
- "type": {
9000
- "text": "GridApi"
9001
- }
9002
- },
9003
- {
9004
- "name": "handle",
9005
- "type": {
9006
- "text": "HTMLElement"
9007
- }
9008
- },
9246
+ ],
9247
+ "attributes": [
9009
9248
  {
9010
- "name": "colId",
9249
+ "name": "label",
9011
9250
  "type": {
9012
9251
  "text": "string"
9013
- }
9252
+ },
9253
+ "default": "'Column Selection'",
9254
+ "description": "Button label.",
9255
+ "fieldName": "label"
9014
9256
  },
9015
9257
  {
9016
- "name": "dragItemName",
9258
+ "name": "sort",
9017
9259
  "type": {
9018
- "text": "string"
9019
- }
9260
+ "text": "ColumnPickerSort"
9261
+ },
9262
+ "default": "COLUMN_PICKER_SORT_DEFAULT",
9263
+ "description": "Column list ordering.\n- `selected-first` (default): visible first (grid display order), then hidden A–Z.\n- `ag-grid`: `api.getColumnState()` order (visible/hidden interleaved).",
9264
+ "resolveInitializer": {
9265
+ "module": "/src/column-selection/column-picker.utils"
9266
+ },
9267
+ "fieldName": "sort"
9020
9268
  }
9021
9269
  ],
9022
- "description": "Registers an AG Grid `ToolPanel` drag source on a picker row handle so drops on\nthe grid header use AG column-move (visibility + exact index).",
9270
+ "mixins": [
9271
+ {
9272
+ "name": "LifecycleMixin",
9273
+ "package": "@genesislcap/foundation-utils"
9274
+ }
9275
+ ],
9276
+ "superclass": {
9277
+ "name": "FoundationElement",
9278
+ "package": "@microsoft/fast-foundation"
9279
+ },
9280
+ "tagName": "%%prefix%%-column-selection",
9281
+ "customElement": true
9282
+ },
9283
+ {
9284
+ "kind": "variable",
9285
+ "name": "foundationColumnSelection",
9286
+ "description": "Foundation Column Selection registration.",
9023
9287
  "privacy": "public"
9024
9288
  }
9025
9289
  ],
9026
9290
  "exports": [
9027
9291
  {
9028
9292
  "kind": "js",
9029
- "name": "bindAgColumnPickerDrag",
9293
+ "name": "ColumnSelection",
9030
9294
  "declaration": {
9031
- "name": "bindAgColumnPickerDrag",
9032
- "module": "src/column-selection/column-picker-ag-drag.ts"
9295
+ "name": "ColumnSelection",
9296
+ "module": "src/column-selection/column-selection.ts"
9297
+ }
9298
+ },
9299
+ {
9300
+ "kind": "js",
9301
+ "name": "foundationColumnSelection",
9302
+ "declaration": {
9303
+ "name": "foundationColumnSelection",
9304
+ "module": "src/column-selection/column-selection.ts"
9033
9305
  }
9034
9306
  }
9035
9307
  ]
9036
9308
  },
9037
9309
  {
9038
9310
  "kind": "javascript-module",
9039
- "path": "src/column-selection/column-picker.utils.ts",
9311
+ "path": "src/column-selection/grid-pro-column-drag-bridge.ts",
9040
9312
  "declarations": [
9041
9313
  {
9042
- "kind": "variable",
9043
- "name": "COLUMN_PICKER_SORT_DEFAULT",
9044
- "type": {
9045
- "text": "ColumnPickerSort"
9046
- },
9047
- "default": "'selected-first'",
9048
- "privacy": "public"
9049
- },
9050
- {
9051
- "kind": "function",
9052
- "name": "resolveColumnPickerSort",
9053
- "return": {
9054
- "type": {
9055
- "text": "ColumnPickerSort"
9056
- }
9057
- },
9058
- "parameters": [
9059
- {
9060
- "name": "sort",
9061
- "optional": true,
9062
- "type": {
9063
- "text": "ColumnPickerSort | null"
9064
- }
9065
- }
9066
- ],
9067
- "privacy": "public"
9068
- },
9069
- {
9070
- "kind": "function",
9071
- "name": "toPickerItem",
9072
- "return": {
9073
- "type": {
9074
- "text": "ColumnPickerItem | null"
9075
- }
9076
- },
9077
- "parameters": [
9078
- {
9079
- "name": "col",
9080
- "type": {
9081
- "text": "Column"
9082
- }
9083
- }
9084
- ],
9085
- "privacy": "public"
9086
- },
9087
- {
9088
- "kind": "function",
9089
- "name": "getPickerItems",
9090
- "return": {
9091
- "type": {
9092
- "text": "ColumnPickerItem[]"
9093
- }
9094
- },
9095
- "parameters": [
9096
- {
9097
- "name": "columns",
9098
- "type": {
9099
- "text": "Column[]"
9100
- }
9101
- }
9102
- ],
9103
- "privacy": "public"
9104
- },
9105
- {
9106
- "kind": "function",
9107
- "name": "orderColumnsForPicker",
9108
- "return": {
9109
- "type": {
9110
- "text": "Column[]"
9111
- }
9112
- },
9113
- "parameters": [
9114
- {
9115
- "name": "displayed",
9116
- "type": {
9117
- "text": "Column[]"
9118
- }
9119
- },
9120
- {
9121
- "name": "all",
9122
- "type": {
9123
- "text": "Column[]"
9124
- }
9125
- },
9126
- {
9127
- "name": "sort",
9128
- "default": "COLUMN_PICKER_SORT_DEFAULT",
9129
- "type": {
9130
- "text": "ColumnPickerSort"
9131
- }
9132
- },
9133
- {
9134
- "name": "columnState",
9135
- "optional": true,
9136
- "type": {
9137
- "text": "ReadonlyArray<{ colId?: string | null }>"
9138
- }
9139
- }
9140
- ],
9141
- "description": "Column order for the picker list.\n\n- `selected-first` (default): displayed columns first, then non-displayed.\n- `ag-grid`: column-state order (visible/hidden interleaved).",
9314
+ "kind": "variable",
9315
+ "name": "GRID_PRO_COLUMN_DRAG_BRIDGE_CONTEXT_KEY",
9316
+ "type": {
9317
+ "text": "'gridProColumnDragBridge'"
9318
+ },
9319
+ "default": "'gridProColumnDragBridge'",
9320
+ "description": "Context key on `gridOptions.context` for AG column drag integration.",
9142
9321
  "privacy": "public"
9143
9322
  },
9144
9323
  {
9145
9324
  "kind": "function",
9146
- "name": "partitionPickerItems",
9325
+ "name": "resolveColumnDragBridge",
9147
9326
  "return": {
9148
9327
  "type": {
9149
- "text": "{ selected: ColumnPickerItem[]; unselected: ColumnPickerItem[] }"
9328
+ "text": "GridProColumnDragBridge | null"
9150
9329
  }
9151
9330
  },
9152
9331
  "parameters": [
9153
9332
  {
9154
- "name": "items",
9155
- "type": {
9156
- "text": "ColumnPickerItem[]"
9157
- }
9158
- },
9159
- {
9160
- "name": "search",
9161
- "type": {
9162
- "text": "string"
9163
- }
9164
- },
9165
- {
9166
- "name": "sort",
9167
- "default": "COLUMN_PICKER_SORT_DEFAULT",
9333
+ "name": "context",
9168
9334
  "type": {
9169
- "text": "ColumnPickerSort"
9335
+ "text": "unknown"
9170
9336
  }
9171
9337
  }
9172
9338
  ],
9173
- "description": "Splits / filters picker items for the template sections.",
9174
9339
  "privacy": "public"
9175
9340
  },
9176
9341
  {
9177
9342
  "kind": "function",
9178
- "name": "reorderVisibleIds",
9343
+ "name": "resolveColumnDragBridgeDirect",
9179
9344
  "return": {
9180
9345
  "type": {
9181
- "text": "string[] | null"
9346
+ "text": "GridProColumnDragBridge | null"
9182
9347
  }
9183
9348
  },
9184
9349
  "parameters": [
9185
9350
  {
9186
- "name": "allVisibleIds",
9187
- "type": {
9188
- "text": "string[]"
9189
- }
9190
- },
9191
- {
9192
- "name": "shownIds",
9193
- "type": {
9194
- "text": "string[]"
9195
- }
9196
- },
9197
- {
9198
- "name": "fromId",
9199
- "type": {
9200
- "text": "string"
9201
- }
9202
- },
9203
- {
9204
- "name": "toId",
9351
+ "name": "bridge",
9352
+ "optional": true,
9205
9353
  "type": {
9206
- "text": "string"
9354
+ "text": "GridProColumnDragBridge | null"
9207
9355
  }
9208
9356
  }
9209
9357
  ],
@@ -9211,23 +9359,17 @@
9211
9359
  },
9212
9360
  {
9213
9361
  "kind": "function",
9214
- "name": "applyVisibleOrder",
9362
+ "name": "resolveColumnDragBridgeFromApi",
9215
9363
  "return": {
9216
9364
  "type": {
9217
- "text": "T[]"
9365
+ "text": "GridProColumnDragBridge | null"
9218
9366
  }
9219
9367
  },
9220
9368
  "parameters": [
9221
9369
  {
9222
- "name": "columnState",
9223
- "type": {
9224
- "text": "T[]"
9225
- }
9226
- },
9227
- {
9228
- "name": "visibleOrder",
9370
+ "name": "api",
9229
9371
  "type": {
9230
- "text": "string[]"
9372
+ "text": "{ getGridOption?: (key: string) => unknown } | null | undefined"
9231
9373
  }
9232
9374
  }
9233
9375
  ],
@@ -9237,457 +9379,494 @@
9237
9379
  "exports": [
9238
9380
  {
9239
9381
  "kind": "js",
9240
- "name": "COLUMN_PICKER_SORT_DEFAULT",
9382
+ "name": "GRID_PRO_COLUMN_DRAG_BRIDGE_CONTEXT_KEY",
9241
9383
  "declaration": {
9242
- "name": "COLUMN_PICKER_SORT_DEFAULT",
9243
- "module": "src/column-selection/column-picker.utils.ts"
9384
+ "name": "GRID_PRO_COLUMN_DRAG_BRIDGE_CONTEXT_KEY",
9385
+ "module": "src/column-selection/grid-pro-column-drag-bridge.ts"
9244
9386
  }
9245
9387
  },
9246
9388
  {
9247
9389
  "kind": "js",
9248
- "name": "resolveColumnPickerSort",
9390
+ "name": "resolveColumnDragBridge",
9249
9391
  "declaration": {
9250
- "name": "resolveColumnPickerSort",
9251
- "module": "src/column-selection/column-picker.utils.ts"
9392
+ "name": "resolveColumnDragBridge",
9393
+ "module": "src/column-selection/grid-pro-column-drag-bridge.ts"
9252
9394
  }
9253
9395
  },
9254
9396
  {
9255
9397
  "kind": "js",
9256
- "name": "toPickerItem",
9398
+ "name": "resolveColumnDragBridgeDirect",
9257
9399
  "declaration": {
9258
- "name": "toPickerItem",
9259
- "module": "src/column-selection/column-picker.utils.ts"
9400
+ "name": "resolveColumnDragBridgeDirect",
9401
+ "module": "src/column-selection/grid-pro-column-drag-bridge.ts"
9260
9402
  }
9261
9403
  },
9262
9404
  {
9263
9405
  "kind": "js",
9264
- "name": "getPickerItems",
9406
+ "name": "resolveColumnDragBridgeFromApi",
9265
9407
  "declaration": {
9266
- "name": "getPickerItems",
9267
- "module": "src/column-selection/column-picker.utils.ts"
9408
+ "name": "resolveColumnDragBridgeFromApi",
9409
+ "module": "src/column-selection/grid-pro-column-drag-bridge.ts"
9268
9410
  }
9269
- },
9411
+ }
9412
+ ]
9413
+ },
9414
+ {
9415
+ "kind": "javascript-module",
9416
+ "path": "src/column-selection/index.ts",
9417
+ "declarations": [],
9418
+ "exports": [
9270
9419
  {
9271
9420
  "kind": "js",
9272
- "name": "orderColumnsForPicker",
9421
+ "name": "*",
9273
9422
  "declaration": {
9274
- "name": "orderColumnsForPicker",
9275
- "module": "src/column-selection/column-picker.utils.ts"
9423
+ "name": "*",
9424
+ "package": "./column-selection"
9276
9425
  }
9277
9426
  },
9278
9427
  {
9279
9428
  "kind": "js",
9280
- "name": "partitionPickerItems",
9429
+ "name": "*",
9281
9430
  "declaration": {
9282
- "name": "partitionPickerItems",
9283
- "module": "src/column-selection/column-picker.utils.ts"
9431
+ "name": "*",
9432
+ "package": "./column-selection.styles"
9284
9433
  }
9285
9434
  },
9286
9435
  {
9287
9436
  "kind": "js",
9288
- "name": "reorderVisibleIds",
9437
+ "name": "*",
9289
9438
  "declaration": {
9290
- "name": "reorderVisibleIds",
9291
- "module": "src/column-selection/column-picker.utils.ts"
9439
+ "name": "*",
9440
+ "package": "./column-selection.template"
9292
9441
  }
9293
9442
  },
9294
9443
  {
9295
9444
  "kind": "js",
9296
- "name": "applyVisibleOrder",
9445
+ "name": "*",
9297
9446
  "declaration": {
9298
- "name": "applyVisibleOrder",
9299
- "module": "src/column-selection/column-picker.utils.ts"
9447
+ "name": "*",
9448
+ "package": "./resolve-columns-picker-api"
9300
9449
  }
9301
- }
9302
- ]
9303
- },
9304
- {
9305
- "kind": "javascript-module",
9306
- "path": "src/column-selection/column-selection.styles.ts",
9307
- "declarations": [
9308
- {
9309
- "kind": "variable",
9310
- "name": "columnSelectionStyles",
9311
- "default": "css`\n :host {\n display: inline-flex;\n align-items: center;\n }\n\n .column-selection {\n display: inline-flex;\n align-items: center;\n }\n\n .column-selection-button[data-state='hover'] {\n background: var(--neutral-fill-hover);\n }\n\n .column-selection-panel,\n .column-selection-panel *,\n .column-selection-panel *::before,\n .column-selection-panel *::after {\n box-sizing: border-box;\n }\n\n .column-selection-panel {\n inset: unset;\n margin: 0;\n box-sizing: border-box;\n width: 280px;\n max-width: min(280px, 90vw);\n max-height: 80dvh;\n overflow-y: auto;\n border: 1px solid var(--neutral-stroke-divider-rest, var(--neutral-stroke-rest));\n border-radius: calc(var(--control-corner-radius, 4) * 1px);\n background: var(--neutral-layer-floating, var(--neutral-layer-2, #fff));\n box-shadow: 0 8px 24px rgb(0 0 0 / 18%);\n padding: 0;\n position-area: block-end span-inline-start;\n position-try-fallbacks: flip-block, flip-inline;\n margin-block-start: calc(var(--design-unit, 4) * 1px);\n min-width: 200px;\n color: var(--ag-foreground-color, var(--neutral-foreground-rest));\n font-family: var(--ag-font-family, var(--body-font));\n font-size: var(--ag-data-font-size, var(--type-ramp-minus-1-font-size));\n }\n\n .column-selection-panel:popover-open {\n display: flex;\n flex-direction: column;\n }\n\n .grid-pro-columns-toolbar {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n flex: none;\n width: 100%;\n height: calc((var(--base-height-multiplier) + var(--density)) * var(--design-unit) * 1px);\n min-height: calc((var(--base-height-multiplier) + var(--density)) * var(--design-unit) * 1px);\n margin: 0;\n padding: 0 calc(var(--design-unit) * 2px);\n border-bottom: var(--ag-borders-secondary, 1px solid)\n var(--ag-secondary-border-color, var(--ag-border-color, var(--neutral-stroke-divider-rest)));\n }\n\n .grid-pro-columns-toolbar .grid-pro-columns-search {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n display: block;\n\n --design-unit: 3;\n }\n\n .grid-pro-columns-toolbar > .grid-pro-columns-search {\n flex: 1 1 auto !important;\n height: auto !important;\n min-height: 0 !important;\n }\n\n .grid-pro-columns-select-all {\n flex: 0 0 auto;\n margin: 0;\n\n --design-unit: 3;\n }\n\n .grid-pro-columns-select-all.indeterminate::part(control),\n .grid-pro-columns-select-all[aria-checked='mixed']::part(control) {\n background: var(--neutral-fill-strong-rest, var(--neutral-stroke-rest, #9aa0a6));\n border-color: var(--neutral-fill-strong-rest, var(--neutral-stroke-rest, #9aa0a6));\n }\n\n .grid-pro-columns-select-all.indeterminate:not([disabled]):hover::part(control),\n .grid-pro-columns-select-all[aria-checked='mixed']:not([disabled]):hover::part(control) {\n background: var(--neutral-fill-strong-hover, var(--neutral-stroke-hover, #7d848c));\n border-color: var(--neutral-fill-strong-hover, var(--neutral-stroke-hover, #7d848c));\n }\n\n .grid-pro-columns-select-all.indeterminate::part(checked-indicator),\n .grid-pro-columns-select-all[aria-checked='mixed']::part(checked-indicator) {\n opacity: 0%;\n }\n\n .grid-pro-columns-select-all.indeterminate::part(indeterminate-indicator),\n .grid-pro-columns-select-all[aria-checked='mixed']::part(indeterminate-indicator) {\n width: 10px;\n height: 2px;\n border-radius: 1px;\n background: var(--neutral-fill-input-rest, #fff);\n opacity: 100%;\n }\n\n .grid-pro-columns-select-all.indeterminate:not([disabled]):hover::part(indeterminate-indicator),\n .grid-pro-columns-select-all[aria-checked='mixed']:not([disabled]):hover::part(\n indeterminate-indicator\n ) {\n background: var(--neutral-fill-input-rest, #fff);\n }\n\n .grid-pro-columns-list {\n display: flex;\n flex-direction: column;\n gap: 2px;\n flex: 1 1 0;\n min-height: 250px;\n max-height: 400px;\n padding: 8px;\n }\n\n .grid-pro-columns-section {\n display: flex;\n flex-direction: column;\n gap: 2px;\n flex: 0 0 auto;\n }\n\n .grid-pro-columns-item {\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 2px 0;\n border-radius: 4px;\n cursor: default;\n user-select: none;\n }\n\n .grid-pro-columns-item.dragging {\n opacity: 50%;\n }\n\n .grid-pro-columns-item.drag-over {\n background: var(--ag-row-hover-color, var(--neutral-fill-hover));\n }\n\n .grid-pro-columns-handle {\n flex: 0 0 auto;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 20px;\n min-height: 24px;\n margin: -4px 0;\n padding: 4px 6px;\n box-sizing: border-box;\n opacity: 45%;\n letter-spacing: -1px;\n font-size: 12px;\n line-height: 1;\n touch-action: none;\n }\n\n .grid-pro-columns-handle[draggable='true'],\n .grid-pro-columns-handle.grid-pro-columns-handle-grid-drag,\n .grid-pro-columns-handle.grid-pro-columns-handle-panel-drag {\n cursor: grab;\n opacity: 65%;\n }\n\n .grid-pro-columns-handle[draggable='true']:active,\n .grid-pro-columns-handle.grid-pro-columns-handle-grid-drag:active,\n .grid-pro-columns-handle.grid-pro-columns-handle-panel-drag:active {\n cursor: grabbing;\n }\n\n .grid-pro-columns-checkbox {\n flex: 0 0 auto;\n margin: 0;\n\n --design-unit: 3;\n }\n\n .grid-pro-columns-checkbox[aria-checked='true']:not([disabled]):hover::part(checked-indicator) {\n fill: var(--foreground-on-accent-hover);\n }\n\n .grid-pro-columns-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n`",
9312
- "description": "Styles for ColumnSelection.",
9313
- "privacy": "public"
9314
9450
  },
9315
9451
  {
9316
- "kind": "variable",
9317
- "name": "gridProColumnSelectionHostStyles",
9318
- "default": "css`\n :host(.has-column-selection) {\n display: flex;\n flex-direction: column;\n min-height: 0;\n }\n\n :host(.has-column-selection) [part='grid'] {\n flex: 1 1 auto;\n min-height: 0;\n }\n\n .grid-pro-column-selection-toolbar {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: calc(var(--design-unit, 4) * 2px);\n width: 100%;\n box-sizing: border-box;\n flex-shrink: 0;\n padding: calc(var(--design-unit, 4) * 2px);\n border-bottom: 1px solid var(--neutral-stroke-divider-rest, var(--neutral-stroke-rest));\n background: var(--neutral-layer-1, transparent);\n }\n`",
9319
- "description": "Host layout when the Grid Pro column-selection toolbar is shown.",
9320
- "privacy": "public"
9321
- }
9322
- ],
9323
- "exports": [
9452
+ "kind": "js",
9453
+ "name": "*",
9454
+ "declaration": {
9455
+ "name": "*",
9456
+ "package": "./column-picker.utils"
9457
+ }
9458
+ },
9324
9459
  {
9325
9460
  "kind": "js",
9326
- "name": "columnSelectionStyles",
9461
+ "name": "*",
9327
9462
  "declaration": {
9328
- "name": "columnSelectionStyles",
9329
- "module": "src/column-selection/column-selection.styles.ts"
9463
+ "name": "*",
9464
+ "package": "./grid-pro-column-drag-bridge"
9330
9465
  }
9331
9466
  },
9332
9467
  {
9333
9468
  "kind": "js",
9334
- "name": "gridProColumnSelectionHostStyles",
9469
+ "name": "*",
9335
9470
  "declaration": {
9336
- "name": "gridProColumnSelectionHostStyles",
9337
- "module": "src/column-selection/column-selection.styles.ts"
9471
+ "name": "*",
9472
+ "package": "./column-picker-ag-drag"
9338
9473
  }
9339
9474
  }
9340
9475
  ]
9341
9476
  },
9342
9477
  {
9343
9478
  "kind": "javascript-module",
9344
- "path": "src/column-selection/column-selection.template.ts",
9479
+ "path": "src/column-selection/resolve-columns-picker-api.ts",
9345
9480
  "declarations": [
9346
9481
  {
9347
9482
  "kind": "function",
9348
- "name": "getColumnSelectionTemplate",
9483
+ "name": "resolveColumnsPickerApi",
9484
+ "return": {
9485
+ "type": {
9486
+ "text": "GridApi | null"
9487
+ }
9488
+ },
9349
9489
  "parameters": [
9350
9490
  {
9351
- "name": "prefix",
9352
- "default": "'foundation'",
9353
- "description": "Design-system prefix for button/icon/checkbox/text-field."
9491
+ "name": "gridHost",
9492
+ "optional": true,
9493
+ "type": {
9494
+ "text": "ColumnSelectionHost | null"
9495
+ }
9496
+ },
9497
+ {
9498
+ "name": "gridApi",
9499
+ "optional": true,
9500
+ "type": {
9501
+ "text": "GridApi | null"
9502
+ }
9354
9503
  }
9355
9504
  ],
9356
- "description": "Column Selection button + popover with embedded picker UI.",
9357
- "privacy": "public"
9358
- },
9359
- {
9360
- "kind": "variable",
9361
- "name": "columnSelectionTemplate",
9362
- "description": "Default column selection template (`foundation-*` components).",
9505
+ "description": "Resolves an AG `gridApi` suitable for ColumnSelection.\nClassic Grid Pro (v29) exposes column helpers on `columnApi` — bridge when needed.",
9363
9506
  "privacy": "public"
9364
9507
  }
9365
9508
  ],
9366
9509
  "exports": [
9367
9510
  {
9368
9511
  "kind": "js",
9369
- "name": "getColumnSelectionTemplate",
9370
- "declaration": {
9371
- "name": "getColumnSelectionTemplate",
9372
- "module": "src/column-selection/column-selection.template.ts"
9373
- }
9374
- },
9375
- {
9376
- "kind": "js",
9377
- "name": "columnSelectionTemplate",
9512
+ "name": "resolveColumnsPickerApi",
9378
9513
  "declaration": {
9379
- "name": "columnSelectionTemplate",
9380
- "module": "src/column-selection/column-selection.template.ts"
9514
+ "name": "resolveColumnsPickerApi",
9515
+ "module": "src/column-selection/resolve-columns-picker-api.ts"
9381
9516
  }
9382
9517
  }
9383
9518
  ]
9384
9519
  },
9385
9520
  {
9386
9521
  "kind": "javascript-module",
9387
- "path": "src/column-selection/column-selection.ts",
9522
+ "path": "src/column-filters/enum-column.filter.ts",
9388
9523
  "declarations": [
9389
- {
9390
- "kind": "class",
9391
- "description": "Button + popover column picker for Grid Pro (Community).",
9392
- "name": "ColumnSelection",
9393
- "members": [
9394
- {
9395
- "kind": "field",
9396
- "name": "label",
9397
- "type": {
9398
- "text": "string"
9399
- },
9400
- "default": "'Column Selection'",
9401
- "description": "Button label."
9402
- },
9403
- {
9404
- "kind": "field",
9405
- "name": "sort",
9406
- "type": {
9407
- "text": "ColumnPickerSort"
9408
- },
9409
- "default": "COLUMN_PICKER_SORT_DEFAULT",
9410
- "description": "Column list ordering.\n- `selected-first` (default): visible first (grid display order), then hidden A–Z.\n- `ag-grid`: `api.getColumnState()` order (visible/hidden interleaved)."
9411
- },
9412
- {
9413
- "kind": "field",
9414
- "name": "open",
9415
- "type": {
9416
- "text": "boolean"
9417
- },
9418
- "default": "false",
9419
- "description": "Whether the popover is open."
9420
- },
9421
- {
9422
- "kind": "field",
9423
- "name": "gridApi",
9424
- "type": {
9425
- "text": "GridApi | null"
9426
- },
9427
- "default": "null",
9428
- "description": "Optional explicit AG grid API (v36)."
9429
- },
9524
+ {
9525
+ "kind": "function",
9526
+ "name": "createEnumValueLabelFormatter",
9527
+ "return": {
9528
+ "type": {
9529
+ "text": "(value: string | null) => string"
9530
+ }
9531
+ },
9532
+ "parameters": [
9430
9533
  {
9431
- "kind": "field",
9432
- "name": "gridHost",
9534
+ "name": "params",
9433
9535
  "type": {
9434
- "text": "ColumnSelectionHost | null"
9435
- },
9436
- "default": "null",
9437
- "description": "Grid Pro host element; column API is bridged when needed."
9438
- },
9536
+ "text": "| (Pick<EnumColumnFilterParams, 'valueFormatter'> &\n Partial<\n Pick<EnumColumnFilterValueFormatterParams, 'api' | 'colDef' | 'column' | 'context'>\n >)\n | undefined"
9537
+ }
9538
+ }
9539
+ ],
9540
+ "description": "Builds the value-to-label formatter for an enum filter, honouring `valueFormatter` from the\nfilter params and labelling `null` (blanks) consistently.",
9541
+ "privacy": "public"
9542
+ },
9543
+ {
9544
+ "kind": "function",
9545
+ "name": "formatEnumFilterModelAsString",
9546
+ "return": {
9547
+ "type": {
9548
+ "text": "string"
9549
+ }
9550
+ },
9551
+ "parameters": [
9439
9552
  {
9440
- "kind": "field",
9441
- "name": "search",
9553
+ "name": "model",
9442
9554
  "type": {
9443
- "text": "string"
9444
- },
9445
- "default": "''"
9555
+ "text": "EnumColumnFilterModel | null"
9556
+ }
9446
9557
  },
9447
9558
  {
9448
- "kind": "field",
9449
- "name": "selectedItems",
9559
+ "name": "formatLabel",
9450
9560
  "type": {
9451
- "text": "ColumnPickerItem[]"
9452
- },
9453
- "default": "[]"
9454
- },
9561
+ "text": "(value: string | null) => string"
9562
+ }
9563
+ }
9564
+ ],
9565
+ "description": "Renders an enum filter model as a short summary, e.g. `(2) Active, Pending`.",
9566
+ "privacy": "public"
9567
+ },
9568
+ {
9569
+ "kind": "class",
9570
+ "description": "An Excel AutoFilter-inspired set filter for enum columns, built on AG Grid Community only.",
9571
+ "name": "EnumColumnFilter",
9572
+ "members": [
9455
9573
  {
9456
9574
  "kind": "field",
9457
- "name": "unselectedItems",
9575
+ "name": "params",
9458
9576
  "type": {
9459
- "text": "ColumnPickerItem[]"
9577
+ "text": "IFilterParams & EnumColumnFilterParams"
9460
9578
  },
9461
- "default": "[]"
9579
+ "privacy": "protected"
9462
9580
  },
9463
9581
  {
9464
9582
  "kind": "field",
9465
- "name": "selectAllChecked",
9583
+ "name": "eGui",
9466
9584
  "type": {
9467
- "text": "boolean"
9585
+ "text": "HTMLElement"
9468
9586
  },
9469
- "default": "false",
9470
- "description": "Master checkbox checked when every toggleable column is visible."
9587
+ "privacy": "private"
9471
9588
  },
9472
9589
  {
9473
9590
  "kind": "field",
9474
- "name": "selectAllIndeterminate",
9591
+ "name": "eRoot",
9475
9592
  "type": {
9476
- "text": "boolean"
9593
+ "text": "ShadowRoot"
9477
9594
  },
9478
- "default": "false",
9479
- "description": "Master checkbox mixed when some (but not all) toggleable columns are visible."
9595
+ "privacy": "private",
9596
+ "description": "The GUI's shadow root — hosts the content and the shared FAST stylesheet."
9480
9597
  },
9481
9598
  {
9482
9599
  "kind": "field",
9483
- "name": "resolvedSort",
9600
+ "name": "eSearch",
9484
9601
  "type": {
9485
- "text": "ColumnPickerSort"
9602
+ "text": "HTMLInputElement"
9486
9603
  },
9487
- "privacy": "private",
9488
- "default": "COLUMN_PICKER_SORT_DEFAULT",
9489
- "description": "Resolved sort; kept in sync with `@attr sort`."
9604
+ "privacy": "private"
9490
9605
  },
9491
9606
  {
9492
9607
  "kind": "field",
9493
- "name": "dragColId",
9608
+ "name": "eSelectAll",
9494
9609
  "type": {
9495
- "text": "string | null"
9610
+ "text": "HTMLInputElement"
9496
9611
  },
9497
- "privacy": "private",
9498
- "default": "null",
9499
- "description": "Source colId while a visible-row drag is in progress."
9612
+ "privacy": "private"
9500
9613
  },
9501
9614
  {
9502
9615
  "kind": "field",
9503
- "name": "dragOverElement",
9616
+ "name": "eList",
9504
9617
  "type": {
9505
- "text": "HTMLElement | null"
9618
+ "text": "HTMLElement"
9506
9619
  },
9507
- "privacy": "private",
9508
- "default": "null",
9509
- "description": "Row currently showing drag-over highlight (avoid observable updates mid-drag)."
9620
+ "privacy": "private"
9510
9621
  },
9511
9622
  {
9512
9623
  "kind": "field",
9513
- "name": "dragBindingAbort",
9514
- "type": {
9515
- "text": "AbortController | null"
9516
- },
9624
+ "name": "itemInputs",
9517
9625
  "privacy": "private",
9518
- "default": "null",
9519
- "description": "Cancels row drag listeners when the selected list re-renders."
9626
+ "default": "new Map<string | null, HTMLInputElement>()",
9627
+ "description": "Rendered value checkboxes keyed by value; `null` keys the blanks entry."
9520
9628
  },
9521
9629
  {
9522
9630
  "kind": "field",
9523
- "name": "agDragBindings",
9631
+ "name": "allValues",
9524
9632
  "type": {
9525
- "text": "ColumnPickerAgDragBinding[]"
9633
+ "text": "string[]"
9526
9634
  },
9527
9635
  "privacy": "private",
9528
9636
  "default": "[]",
9529
- "description": "AG ToolPanel drag sources registered on hidden-row handles (grid drop)."
9637
+ "description": "All selectable values, in the order the metadata/getter provided them."
9530
9638
  },
9531
9639
  {
9532
9640
  "kind": "field",
9533
- "name": "columnDragBridge",
9641
+ "name": "includeBlanks",
9534
9642
  "type": {
9535
- "text": "GridProColumnDragBridge | null"
9643
+ "text": "boolean"
9536
9644
  },
9537
9645
  "privacy": "private",
9538
- "default": "null",
9539
- "description": "Shared DnD bridge from Grid Pro."
9646
+ "default": "true",
9647
+ "description": "Whether the `(Blanks)` entry is offered — on unless `filterParams.blanks` is `false`."
9540
9648
  },
9541
9649
  {
9542
9650
  "kind": "field",
9543
- "name": "dragBridgeRetryId",
9651
+ "name": "valuesRequestId",
9544
9652
  "type": {
9545
9653
  "text": "number"
9546
9654
  },
9547
9655
  "privacy": "private",
9548
9656
  "default": "0",
9549
- "description": "Retries `bindRowDrag` until the DnD bridge is populated."
9657
+ "description": "Guards async values resolution against out-of-date responses and use after destroy."
9550
9658
  },
9551
9659
  {
9552
9660
  "kind": "field",
9553
- "name": "pendingVisibility",
9661
+ "name": "loading",
9662
+ "type": {
9663
+ "text": "boolean"
9664
+ },
9554
9665
  "privacy": "private",
9555
- "default": "new Map<string, boolean>()",
9556
- "description": "Optimistic visibility while the grid applies setColumnsVisible."
9666
+ "default": "false"
9557
9667
  },
9558
9668
  {
9559
9669
  "kind": "field",
9560
- "name": "boundRefresh",
9670
+ "name": "ownsHeaderTooltip",
9671
+ "type": {
9672
+ "text": "boolean"
9673
+ },
9561
9674
  "privacy": "private",
9562
- "readonly": true,
9563
- "description": "Stable listener refs so close/disconnect can remove the same functions."
9675
+ "default": "false",
9676
+ "description": "Whether this instance installed the header tooltip getter (so destroy removes only its own)."
9564
9677
  },
9565
9678
  {
9566
9679
  "kind": "field",
9567
- "name": "pickerApi",
9680
+ "name": "formatLabel",
9568
9681
  "type": {
9569
- "text": "GridApi | null"
9682
+ "text": "(value: string | null) => string"
9570
9683
  },
9571
9684
  "privacy": "private"
9572
9685
  },
9573
9686
  {
9574
9687
  "kind": "field",
9575
- "name": "pickerRoot",
9688
+ "name": "model",
9576
9689
  "type": {
9577
- "text": "HTMLElement | null"
9690
+ "text": "(string | null)[] | null"
9578
9691
  },
9579
9692
  "privacy": "private",
9580
- "description": "Query root for picker DOM (shadow panel).",
9581
- "readonly": true
9693
+ "default": "null",
9694
+ "description": "`null` while inactive (everything passes); otherwise the selected values, with `null`\nstanding for blanks. May contain values absent from `allValues` (e.g. a restored model\nreferencing rows not loaded yet) — those are preserved and rendered as extra list entries\nso restoring a persisted model never silently narrows it, while still letting the user\ndeselect them."
9582
9695
  },
9583
9696
  {
9584
9697
  "kind": "field",
9585
- "name": "canReorderInPanel",
9698
+ "name": "searchTerm",
9586
9699
  "type": {
9587
- "text": "boolean"
9700
+ "text": "string"
9588
9701
  },
9589
- "description": "Panel reorder disabled while search filter is active.",
9590
- "readonly": true
9702
+ "privacy": "private",
9703
+ "default": "''"
9591
9704
  },
9592
9705
  {
9593
9706
  "kind": "method",
9594
- "name": "canDragToGrid",
9707
+ "name": "init",
9708
+ "privacy": "public",
9595
9709
  "return": {
9596
9710
  "type": {
9597
- "text": "boolean"
9711
+ "text": "void"
9598
9712
  }
9599
9713
  },
9600
9714
  "parameters": [
9601
9715
  {
9602
- "name": "item",
9716
+ "name": "params",
9603
9717
  "type": {
9604
- "text": "ColumnPickerItem"
9718
+ "text": "IFilterParams & EnumColumnFilterParams"
9605
9719
  }
9606
9720
  }
9607
- ],
9608
- "description": "Handle is draggable onto the grid (hidden columns, or all when using ag-grid sort)."
9721
+ ]
9609
9722
  },
9610
9723
  {
9611
- "kind": "field",
9612
- "name": "toggleableItems",
9613
- "type": {
9614
- "text": "ColumnPickerItem[]"
9615
- },
9616
- "privacy": "private",
9617
- "description": "Columns in the current (search-filtered) picker lists that can be toggled.",
9618
- "readonly": true
9724
+ "kind": "method",
9725
+ "name": "getGui",
9726
+ "privacy": "public",
9727
+ "return": {
9728
+ "type": {
9729
+ "text": "HTMLElement"
9730
+ }
9731
+ }
9619
9732
  },
9620
9733
  {
9621
9734
  "kind": "method",
9622
- "name": "openChanged",
9735
+ "name": "isFilterActive",
9736
+ "privacy": "public",
9737
+ "return": {
9738
+ "type": {
9739
+ "text": "boolean"
9740
+ }
9741
+ }
9742
+ },
9743
+ {
9744
+ "kind": "method",
9745
+ "name": "doesFilterPass",
9746
+ "privacy": "public",
9747
+ "return": {
9748
+ "type": {
9749
+ "text": "boolean"
9750
+ }
9751
+ },
9623
9752
  "parameters": [
9624
9753
  {
9625
- "name": "oldValue",
9626
- "optional": true,
9754
+ "name": "params",
9627
9755
  "type": {
9628
- "text": "boolean"
9756
+ "text": "IDoesFilterPassParams"
9629
9757
  }
9630
9758
  }
9631
9759
  ]
9632
9760
  },
9633
9761
  {
9634
9762
  "kind": "method",
9635
- "name": "sortChanged"
9763
+ "name": "getModel",
9764
+ "privacy": "public",
9765
+ "return": {
9766
+ "type": {
9767
+ "text": "EnumColumnFilterModel | null"
9768
+ }
9769
+ }
9636
9770
  },
9637
9771
  {
9638
9772
  "kind": "method",
9639
- "name": "gridApiChanged"
9773
+ "name": "setModel",
9774
+ "privacy": "public",
9775
+ "return": {
9776
+ "type": {
9777
+ "text": "void"
9778
+ }
9779
+ },
9780
+ "parameters": [
9781
+ {
9782
+ "name": "model",
9783
+ "type": {
9784
+ "text": "EnumColumnFilterModel | null"
9785
+ }
9786
+ }
9787
+ ]
9640
9788
  },
9641
9789
  {
9642
9790
  "kind": "method",
9643
- "name": "gridHostChanged"
9791
+ "name": "getModelAsString",
9792
+ "privacy": "public",
9793
+ "return": {
9794
+ "type": {
9795
+ "text": "string"
9796
+ }
9797
+ },
9798
+ "parameters": [
9799
+ {
9800
+ "name": "model",
9801
+ "type": {
9802
+ "text": "EnumColumnFilterModel | null"
9803
+ }
9804
+ }
9805
+ ]
9644
9806
  },
9645
9807
  {
9646
9808
  "kind": "method",
9647
- "name": "panelElChanged"
9809
+ "name": "clear",
9810
+ "privacy": "public",
9811
+ "return": {
9812
+ "type": {
9813
+ "text": "void"
9814
+ }
9815
+ },
9816
+ "description": "Clears the filter back to inactive and notifies the grid; used by the floating filter."
9648
9817
  },
9649
9818
  {
9650
9819
  "kind": "method",
9651
- "name": "toggle",
9820
+ "name": "installHeaderTooltip",
9821
+ "privacy": "private",
9652
9822
  "return": {
9653
9823
  "type": {
9654
9824
  "text": "void"
9655
9825
  }
9656
9826
  },
9657
- "description": "Opens or closes the popover.",
9658
- "privacy": "public"
9827
+ "description": "Surfaces the active selection in the column's header tooltip (alongside AG's native header\nfilter icon), so the filter state is inspectable from the header without the layout-changing\nfloating filter row. Installed as a `headerTooltipValueGetter`, which AG evaluates lazily on\nhover — no header refresh needed when the model changes. While inactive it returns\n`undefined`, which falls back to the consumer's own `headerTooltip`; when active, that\ntooltip is kept as the prefix. A consumer-provided getter is left untouched."
9659
9828
  },
9660
9829
  {
9661
9830
  "kind": "method",
9662
- "name": "close",
9831
+ "name": "afterGuiAttached",
9832
+ "privacy": "public",
9663
9833
  "return": {
9664
9834
  "type": {
9665
9835
  "text": "void"
9666
9836
  }
9667
9837
  },
9668
- "description": "Closes the popover.",
9669
- "privacy": "public"
9838
+ "parameters": [
9839
+ {
9840
+ "name": "params",
9841
+ "optional": true,
9842
+ "type": {
9843
+ "text": "{ suppressFocus?: boolean }"
9844
+ }
9845
+ }
9846
+ ]
9670
9847
  },
9671
9848
  {
9672
9849
  "kind": "method",
9673
9850
  "name": "refresh",
9851
+ "privacy": "public",
9674
9852
  "return": {
9675
9853
  "type": {
9676
- "text": "void"
9854
+ "text": "boolean"
9677
9855
  }
9678
9856
  },
9679
- "description": "Rebuilds picker lists from current grid column state."
9680
- },
9681
- {
9682
- "kind": "field",
9683
- "name": "handleClickOutside",
9684
- "privacy": "private",
9685
- "readonly": true
9857
+ "parameters": [
9858
+ {
9859
+ "name": "params",
9860
+ "type": {
9861
+ "text": "IFilterParams & EnumColumnFilterParams"
9862
+ }
9863
+ }
9864
+ ]
9686
9865
  },
9687
9866
  {
9688
9867
  "kind": "method",
9689
- "name": "showPanel",
9690
- "privacy": "private",
9868
+ "name": "destroy",
9869
+ "privacy": "public",
9691
9870
  "return": {
9692
9871
  "type": {
9693
9872
  "text": "void"
@@ -9696,96 +9875,105 @@
9696
9875
  },
9697
9876
  {
9698
9877
  "kind": "method",
9699
- "name": "hidePanel",
9878
+ "name": "resolveState",
9700
9879
  "privacy": "private",
9701
9880
  "return": {
9702
9881
  "type": {
9703
9882
  "text": "void"
9704
9883
  }
9705
- }
9884
+ },
9885
+ "description": "Resolves the option list (values array or getter) and re-renders."
9706
9886
  },
9707
9887
  {
9708
9888
  "kind": "method",
9709
- "name": "subscribePicker",
9889
+ "name": "loadAsyncValues",
9710
9890
  "privacy": "private",
9711
9891
  "return": {
9712
9892
  "type": {
9713
9893
  "text": "void"
9714
9894
  }
9715
- }
9895
+ },
9896
+ "parameters": [
9897
+ {
9898
+ "name": "getValues",
9899
+ "type": {
9900
+ "text": "EnumColumnFilterValuesGetter"
9901
+ }
9902
+ }
9903
+ ]
9716
9904
  },
9717
9905
  {
9718
9906
  "kind": "method",
9719
- "name": "resubscribePicker",
9907
+ "name": "getCellValue",
9720
9908
  "privacy": "private",
9721
9909
  "return": {
9722
9910
  "type": {
9723
- "text": "void"
9911
+ "text": "unknown"
9724
9912
  }
9725
- }
9913
+ },
9914
+ "parameters": [
9915
+ {
9916
+ "name": "node",
9917
+ "type": {
9918
+ "text": "any"
9919
+ }
9920
+ }
9921
+ ],
9922
+ "description": "The raw field read covers params without `getValue` (e.g. stripped-down test params)."
9726
9923
  },
9727
9924
  {
9728
9925
  "kind": "method",
9729
- "name": "unsubscribePicker",
9926
+ "name": "extraModelValues",
9730
9927
  "privacy": "private",
9731
9928
  "return": {
9732
9929
  "type": {
9733
- "text": "void"
9930
+ "text": "string[]"
9734
9931
  }
9735
- }
9932
+ },
9933
+ "description": "Model values that are not in the option list, e.g. from a restored persisted model."
9736
9934
  },
9737
9935
  {
9738
9936
  "kind": "method",
9739
- "name": "syncSelectAllState",
9937
+ "name": "allKeys",
9740
9938
  "privacy": "private",
9741
9939
  "return": {
9742
9940
  "type": {
9743
- "text": "void"
9941
+ "text": "(string | null)[]"
9744
9942
  }
9745
- }
9943
+ },
9944
+ "description": "All offered entry keys: the option list, then any off-list model values (rendered so they can\nbe deselected rather than being stuck in the model forever), then `null` (blanks) last like\nExcel. The blanks entry is also offered whenever the model references it, so a restored\nblanks selection stays visible and removable even before blank rows are detected."
9746
9945
  },
9747
9946
  {
9748
9947
  "kind": "method",
9749
- "name": "applyPendingVisibility",
9948
+ "name": "isSelected",
9750
9949
  "privacy": "private",
9751
9950
  "return": {
9752
9951
  "type": {
9753
- "text": "ColumnPickerItem[]"
9952
+ "text": "boolean"
9754
9953
  }
9755
9954
  },
9756
9955
  "parameters": [
9757
9956
  {
9758
- "name": "items",
9957
+ "name": "key",
9759
9958
  "type": {
9760
- "text": "ColumnPickerItem[]"
9959
+ "text": "string | null"
9761
9960
  }
9762
9961
  }
9763
9962
  ]
9764
9963
  },
9765
9964
  {
9766
9965
  "kind": "method",
9767
- "name": "resolveDragBridge",
9966
+ "name": "visibleKeys",
9768
9967
  "privacy": "private",
9769
9968
  "return": {
9770
9969
  "type": {
9771
- "text": "GridProColumnDragBridge | null"
9970
+ "text": "(string | null)[]"
9772
9971
  }
9773
9972
  }
9774
9973
  },
9775
9974
  {
9776
9975
  "kind": "method",
9777
- "name": "bindRowDrag",
9778
- "privacy": "private",
9779
- "return": {
9780
- "type": {
9781
- "text": "void"
9782
- }
9783
- },
9784
- "description": "Visible rows: HTML5 reorder inside the picker.\nHidden rows (or all rows when `sort=ag-grid`): AG ToolPanel drag onto the grid header."
9785
- },
9786
- {
9787
- "kind": "method",
9788
- "name": "scheduleDragBridgeRetry",
9976
+ "name": "updateSelection",
9789
9977
  "privacy": "private",
9790
9978
  "return": {
9791
9979
  "type": {
@@ -9794,24 +9982,27 @@
9794
9982
  },
9795
9983
  "parameters": [
9796
9984
  {
9797
- "name": "attempt",
9798
- "default": "0"
9985
+ "name": "selected",
9986
+ "type": {
9987
+ "text": "Set<string | null>"
9988
+ }
9799
9989
  }
9800
- ]
9990
+ ],
9991
+ "description": "Applies a new selection. Collapses back to the inactive (`null`) model when every offered\nentry is selected, so a fully re-selected filter reports inactive exactly like the\nenterprise set filter. Selected values beyond the offered keys don't restrict anything an\ninactive filter would pass, so a superset selection collapses too."
9801
9992
  },
9802
9993
  {
9803
9994
  "kind": "method",
9804
- "name": "clearDragOverHighlight",
9995
+ "name": "currentSelection",
9805
9996
  "privacy": "private",
9806
9997
  "return": {
9807
9998
  "type": {
9808
- "text": "void"
9999
+ "text": "Set<string | null>"
9809
10000
  }
9810
10001
  }
9811
10002
  },
9812
10003
  {
9813
10004
  "kind": "method",
9814
- "name": "reorderSelected",
10005
+ "name": "toggleValue",
9815
10006
  "privacy": "private",
9816
10007
  "return": {
9817
10008
  "type": {
@@ -9820,386 +10011,278 @@
9820
10011
  },
9821
10012
  "parameters": [
9822
10013
  {
9823
- "name": "fromId",
10014
+ "name": "key",
9824
10015
  "type": {
9825
- "text": "string"
10016
+ "text": "string | null"
9826
10017
  }
9827
10018
  },
9828
10019
  {
9829
- "name": "toId",
10020
+ "name": "checked",
9830
10021
  "type": {
9831
- "text": "string"
10022
+ "text": "boolean"
9832
10023
  }
9833
10024
  }
9834
- ],
9835
- "description": "Applies a new visible-column order via `applyColumnState({ applyOrder: true })`.\nHidden columns keep their relative positions; only the visible slice is permuted."
10025
+ ]
9836
10026
  },
9837
10027
  {
9838
10028
  "kind": "method",
9839
- "name": "cloneNode",
10029
+ "name": "toggleAllVisible",
10030
+ "privacy": "private",
9840
10031
  "return": {
9841
10032
  "type": {
9842
- "text": "Node"
10033
+ "text": "void"
9843
10034
  }
9844
10035
  },
9845
10036
  "parameters": [
9846
10037
  {
9847
- "name": "deep",
9848
- "optional": true,
10038
+ "name": "checked",
9849
10039
  "type": {
9850
10040
  "text": "boolean"
9851
10041
  }
9852
10042
  }
9853
10043
  ],
9854
- "inheritedFrom": {
9855
- "name": "LifecycleMixin",
9856
- "module": "src/mixins/lifecycle/lifecycle.ts"
9857
- }
10044
+ "description": "Select-all acts on the searched subset only, mirroring Excel's AutoFilter."
9858
10045
  },
9859
10046
  {
9860
10047
  "kind": "method",
9861
- "name": "deepClone",
9862
- "return": {
9863
- "type": {
9864
- "text": "Node"
9865
- }
9866
- },
9867
- "inheritedFrom": {
9868
- "name": "LifecycleMixin",
9869
- "module": "src/mixins/lifecycle/lifecycle.ts"
9870
- }
9871
- },
9872
- {
9873
- "kind": "field",
9874
- "name": "shouldRunDisconnect",
9875
- "return": {
9876
- "type": {
9877
- "text": ""
9878
- }
9879
- },
9880
- "readonly": true,
9881
- "inheritedFrom": {
9882
- "name": "LifecycleMixin",
9883
- "module": "src/mixins/lifecycle/lifecycle.ts"
9884
- }
9885
- },
9886
- {
9887
- "kind": "field",
9888
- "name": "shouldRunConnect",
10048
+ "name": "createGui",
10049
+ "privacy": "private",
9889
10050
  "return": {
9890
10051
  "type": {
9891
- "text": ""
10052
+ "text": "void"
9892
10053
  }
9893
- },
9894
- "readonly": true,
9895
- "inheritedFrom": {
9896
- "name": "LifecycleMixin",
9897
- "module": "src/mixins/lifecycle/lifecycle.ts"
9898
10054
  }
9899
10055
  },
9900
10056
  {
9901
10057
  "kind": "method",
9902
- "name": "#_blockLifecycleDueToTokenChange",
10058
+ "name": "createItem",
10059
+ "privacy": "private",
9903
10060
  "return": {
9904
10061
  "type": {
9905
- "text": "boolean"
10062
+ "text": "{ label: HTMLLabelElement; input: HTMLInputElement }"
9906
10063
  }
9907
10064
  },
9908
10065
  "parameters": [
9909
10066
  {
9910
- "name": "lifecycleType",
10067
+ "name": "text",
9911
10068
  "type": {
9912
- "text": "Lifecycletype"
10069
+ "text": "string"
9913
10070
  }
9914
- }
9915
- ],
9916
- "inheritedFrom": {
9917
- "name": "LifecycleMixin",
9918
- "module": "src/mixins/lifecycle/lifecycle.ts"
9919
- }
9920
- },
9921
- {
9922
- "kind": "field",
9923
- "name": "_presentation",
9924
- "type": {
9925
- "text": "ComponentPresentation | null | undefined"
9926
- },
9927
- "privacy": "private",
9928
- "default": "void 0",
9929
- "inheritedFrom": {
9930
- "name": "FoundationElement",
9931
- "module": "src/foundation-element/foundation-element.ts"
9932
- }
9933
- },
9934
- {
9935
- "kind": "field",
9936
- "name": "$presentation",
9937
- "type": {
9938
- "text": "ComponentPresentation | null"
9939
- },
9940
- "privacy": "public",
9941
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
9942
- "inheritedFrom": {
9943
- "name": "FoundationElement",
9944
- "module": "src/foundation-element/foundation-element.ts"
9945
- }
9946
- },
9947
- {
9948
- "kind": "field",
9949
- "name": "template",
9950
- "type": {
9951
- "text": "ElementViewTemplate | void | null"
9952
- },
9953
- "privacy": "public",
9954
- "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.",
9955
- "inheritedFrom": {
9956
- "name": "FoundationElement",
9957
- "module": "src/foundation-element/foundation-element.ts"
9958
- }
10071
+ }
10072
+ ]
9959
10073
  },
9960
10074
  {
9961
10075
  "kind": "method",
9962
- "name": "templateChanged",
9963
- "privacy": "protected",
10076
+ "name": "renderList",
10077
+ "privacy": "private",
9964
10078
  "return": {
9965
10079
  "type": {
9966
10080
  "text": "void"
9967
10081
  }
9968
10082
  },
9969
- "inheritedFrom": {
9970
- "name": "FoundationElement",
9971
- "module": "src/foundation-element/foundation-element.ts"
9972
- }
10083
+ "description": "Rebuilds the value list; used when the values or the search term change."
9973
10084
  },
9974
10085
  {
9975
- "kind": "field",
9976
- "name": "styles",
9977
- "type": {
9978
- "text": "ElementStyles | void | null"
10086
+ "kind": "method",
10087
+ "name": "syncCheckedStates",
10088
+ "privacy": "private",
10089
+ "return": {
10090
+ "type": {
10091
+ "text": "void"
10092
+ }
9979
10093
  },
9980
- "privacy": "public",
9981
- "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.",
9982
- "inheritedFrom": {
9983
- "name": "FoundationElement",
9984
- "module": "src/foundation-element/foundation-element.ts"
9985
- }
10094
+ "description": "Refreshes checkbox states in place, preserving DOM (and keyboard focus) on toggles."
9986
10095
  },
9987
10096
  {
9988
10097
  "kind": "method",
9989
- "name": "stylesChanged",
9990
- "privacy": "protected",
10098
+ "name": "focusables",
10099
+ "privacy": "private",
9991
10100
  "return": {
9992
10101
  "type": {
9993
- "text": "void"
10102
+ "text": "HTMLElement[]"
9994
10103
  }
9995
- },
9996
- "inheritedFrom": {
9997
- "name": "FoundationElement",
9998
- "module": "src/foundation-element/foundation-element.ts"
9999
10104
  }
10000
10105
  },
10001
10106
  {
10002
10107
  "kind": "method",
10003
- "name": "compose",
10004
- "privacy": "public",
10005
- "static": true,
10108
+ "name": "handleKeyDown",
10109
+ "privacy": "private",
10006
10110
  "return": {
10007
10111
  "type": {
10008
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
10112
+ "text": "void"
10009
10113
  }
10010
10114
  },
10011
10115
  "parameters": [
10012
10116
  {
10013
- "name": "this",
10117
+ "name": "event",
10014
10118
  "type": {
10015
- "text": "K"
10119
+ "text": "KeyboardEvent"
10016
10120
  }
10017
- },
10018
- {
10019
- "name": "elementDefinition",
10020
- "type": {
10021
- "text": "T"
10022
- },
10023
- "description": "The definition of the element to create the registry\nfunction for."
10024
10121
  }
10025
10122
  ],
10026
- "description": "Defines an element registry function with a set of element definition defaults.",
10027
- "inheritedFrom": {
10028
- "name": "FoundationElement",
10029
- "module": "src/foundation-element/foundation-element.ts"
10030
- }
10031
- }
10032
- ],
10033
- "attributes": [
10034
- {
10035
- "name": "label",
10036
- "type": {
10037
- "text": "string"
10038
- },
10039
- "default": "'Column Selection'",
10040
- "description": "Button label.",
10041
- "fieldName": "label"
10042
- },
10043
- {
10044
- "name": "sort",
10045
- "type": {
10046
- "text": "ColumnPickerSort"
10047
- },
10048
- "default": "COLUMN_PICKER_SORT_DEFAULT",
10049
- "description": "Column list ordering.\n- `selected-first` (default): visible first (grid display order), then hidden A–Z.\n- `ag-grid`: `api.getColumnState()` order (visible/hidden interleaved).",
10050
- "resolveInitializer": {
10051
- "module": "/src/column-selection/column-picker.utils"
10052
- },
10053
- "fieldName": "sort"
10054
- }
10055
- ],
10056
- "mixins": [
10057
- {
10058
- "name": "LifecycleMixin",
10059
- "package": "@genesislcap/foundation-utils"
10123
+ "description": "Arrow keys walk search box, \"(Select All)\" and the visible entries; Enter toggles the\nfocused entry (Space is the checkbox's native toggle). Tab wraps within the popup: AG's own\npopup focus trap collects focusable elements with `querySelectorAll`, which does not pierce\nthe shadow root, so the trap must live here."
10060
10124
  }
10061
- ],
10062
- "superclass": {
10063
- "name": "FoundationElement",
10064
- "package": "@microsoft/fast-foundation"
10065
- },
10066
- "tagName": "%%prefix%%-column-selection",
10067
- "customElement": true
10068
- },
10069
- {
10070
- "kind": "variable",
10071
- "name": "foundationColumnSelection",
10072
- "description": "Foundation Column Selection registration.",
10073
- "privacy": "public"
10125
+ ]
10074
10126
  }
10075
10127
  ],
10076
10128
  "exports": [
10077
10129
  {
10078
10130
  "kind": "js",
10079
- "name": "ColumnSelection",
10131
+ "name": "createEnumValueLabelFormatter",
10080
10132
  "declaration": {
10081
- "name": "ColumnSelection",
10082
- "module": "src/column-selection/column-selection.ts"
10133
+ "name": "createEnumValueLabelFormatter",
10134
+ "module": "src/column-filters/enum-column.filter.ts"
10083
10135
  }
10084
10136
  },
10085
10137
  {
10086
10138
  "kind": "js",
10087
- "name": "foundationColumnSelection",
10139
+ "name": "formatEnumFilterModelAsString",
10088
10140
  "declaration": {
10089
- "name": "foundationColumnSelection",
10090
- "module": "src/column-selection/column-selection.ts"
10141
+ "name": "formatEnumFilterModelAsString",
10142
+ "module": "src/column-filters/enum-column.filter.ts"
10143
+ }
10144
+ },
10145
+ {
10146
+ "kind": "js",
10147
+ "name": "EnumColumnFilter",
10148
+ "declaration": {
10149
+ "name": "EnumColumnFilter",
10150
+ "module": "src/column-filters/enum-column.filter.ts"
10091
10151
  }
10092
10152
  }
10093
10153
  ]
10094
10154
  },
10095
10155
  {
10096
10156
  "kind": "javascript-module",
10097
- "path": "src/column-selection/grid-pro-column-drag-bridge.ts",
10157
+ "path": "src/column-filters/enum-column.floating-filter.ts",
10098
10158
  "declarations": [
10099
10159
  {
10100
- "kind": "variable",
10101
- "name": "GRID_PRO_COLUMN_DRAG_BRIDGE_CONTEXT_KEY",
10102
- "type": {
10103
- "text": "'gridProColumnDragBridge'"
10104
- },
10105
- "default": "'gridProColumnDragBridge'",
10106
- "description": "Context key on `gridOptions.context` for AG column drag integration.",
10107
- "privacy": "public"
10108
- },
10109
- {
10110
- "kind": "function",
10111
- "name": "resolveColumnDragBridge",
10112
- "return": {
10113
- "type": {
10114
- "text": "GridProColumnDragBridge | null"
10115
- }
10116
- },
10117
- "parameters": [
10160
+ "kind": "class",
10161
+ "description": "Floating filter companion for EnumColumnFilter: shows the current selection as a\ncompact summary (e.g. `(2) Active, Pending`), opens the parent filter on click, and offers a\none-click clear. Set via `ColDef.floatingFilterComponent` (see\nGridProFilterTypes.enumFloatingFilter); shown when the column enables `floatingFilter`.",
10162
+ "name": "EnumColumnFloatingFilter",
10163
+ "members": [
10118
10164
  {
10119
- "name": "context",
10165
+ "kind": "field",
10166
+ "name": "params",
10120
10167
  "type": {
10121
- "text": "unknown"
10122
- }
10123
- }
10124
- ],
10125
- "privacy": "public"
10126
- },
10127
- {
10128
- "kind": "function",
10129
- "name": "resolveColumnDragBridgeDirect",
10130
- "return": {
10131
- "type": {
10132
- "text": "GridProColumnDragBridge | null"
10133
- }
10134
- },
10135
- "parameters": [
10168
+ "text": "IFloatingFilterParams"
10169
+ },
10170
+ "privacy": "private"
10171
+ },
10136
10172
  {
10137
- "name": "bridge",
10138
- "optional": true,
10173
+ "kind": "field",
10174
+ "name": "eGui",
10139
10175
  "type": {
10140
- "text": "GridProColumnDragBridge | null"
10176
+ "text": "HTMLElement"
10177
+ },
10178
+ "privacy": "private"
10179
+ },
10180
+ {
10181
+ "kind": "field",
10182
+ "name": "eRoot",
10183
+ "type": {
10184
+ "text": "ShadowRoot"
10185
+ },
10186
+ "privacy": "private",
10187
+ "description": "The GUI's shadow root — hosts the content and the shared FAST stylesheet."
10188
+ },
10189
+ {
10190
+ "kind": "field",
10191
+ "name": "eSummary",
10192
+ "type": {
10193
+ "text": "HTMLElement"
10194
+ },
10195
+ "privacy": "private"
10196
+ },
10197
+ {
10198
+ "kind": "field",
10199
+ "name": "eClear",
10200
+ "type": {
10201
+ "text": "HTMLButtonElement"
10202
+ },
10203
+ "privacy": "private"
10204
+ },
10205
+ {
10206
+ "kind": "field",
10207
+ "name": "formatLabel",
10208
+ "type": {
10209
+ "text": "(value: string | null) => string"
10210
+ },
10211
+ "privacy": "private"
10212
+ },
10213
+ {
10214
+ "kind": "method",
10215
+ "name": "init",
10216
+ "privacy": "public",
10217
+ "return": {
10218
+ "type": {
10219
+ "text": "void"
10220
+ }
10221
+ },
10222
+ "parameters": [
10223
+ {
10224
+ "name": "params",
10225
+ "type": {
10226
+ "text": "IFloatingFilterParams"
10227
+ }
10228
+ }
10229
+ ]
10230
+ },
10231
+ {
10232
+ "kind": "method",
10233
+ "name": "getGui",
10234
+ "privacy": "public",
10235
+ "return": {
10236
+ "type": {
10237
+ "text": "HTMLElement"
10238
+ }
10141
10239
  }
10142
- }
10143
- ],
10144
- "privacy": "public"
10145
- },
10146
- {
10147
- "kind": "function",
10148
- "name": "resolveColumnDragBridgeFromApi",
10149
- "return": {
10150
- "type": {
10151
- "text": "GridProColumnDragBridge | null"
10152
- }
10153
- },
10154
- "parameters": [
10240
+ },
10241
+ {
10242
+ "kind": "method",
10243
+ "name": "onParentModelChanged",
10244
+ "privacy": "public",
10245
+ "return": {
10246
+ "type": {
10247
+ "text": "void"
10248
+ }
10249
+ },
10250
+ "parameters": [
10251
+ {
10252
+ "name": "model",
10253
+ "type": {
10254
+ "text": "EnumColumnFilterModel | null"
10255
+ }
10256
+ }
10257
+ ]
10258
+ },
10155
10259
  {
10156
- "name": "api",
10157
- "type": {
10158
- "text": "{ getGridOption?: (key: string) => unknown } | null | undefined"
10260
+ "kind": "method",
10261
+ "name": "destroy",
10262
+ "privacy": "public",
10263
+ "return": {
10264
+ "type": {
10265
+ "text": "void"
10266
+ }
10159
10267
  }
10160
10268
  }
10161
- ],
10162
- "privacy": "public"
10269
+ ]
10163
10270
  }
10164
10271
  ],
10165
10272
  "exports": [
10166
10273
  {
10167
10274
  "kind": "js",
10168
- "name": "GRID_PRO_COLUMN_DRAG_BRIDGE_CONTEXT_KEY",
10169
- "declaration": {
10170
- "name": "GRID_PRO_COLUMN_DRAG_BRIDGE_CONTEXT_KEY",
10171
- "module": "src/column-selection/grid-pro-column-drag-bridge.ts"
10172
- }
10173
- },
10174
- {
10175
- "kind": "js",
10176
- "name": "resolveColumnDragBridge",
10177
- "declaration": {
10178
- "name": "resolveColumnDragBridge",
10179
- "module": "src/column-selection/grid-pro-column-drag-bridge.ts"
10180
- }
10181
- },
10182
- {
10183
- "kind": "js",
10184
- "name": "resolveColumnDragBridgeDirect",
10185
- "declaration": {
10186
- "name": "resolveColumnDragBridgeDirect",
10187
- "module": "src/column-selection/grid-pro-column-drag-bridge.ts"
10188
- }
10189
- },
10190
- {
10191
- "kind": "js",
10192
- "name": "resolveColumnDragBridgeFromApi",
10275
+ "name": "EnumColumnFloatingFilter",
10193
10276
  "declaration": {
10194
- "name": "resolveColumnDragBridgeFromApi",
10195
- "module": "src/column-selection/grid-pro-column-drag-bridge.ts"
10277
+ "name": "EnumColumnFloatingFilter",
10278
+ "module": "src/column-filters/enum-column.floating-filter.ts"
10196
10279
  }
10197
10280
  }
10198
10281
  ]
10199
10282
  },
10200
10283
  {
10201
10284
  "kind": "javascript-module",
10202
- "path": "src/column-selection/index.ts",
10285
+ "path": "src/column-filters/index.ts",
10203
10286
  "declarations": [],
10204
10287
  "exports": [
10205
10288
  {
@@ -10207,47 +10290,7 @@
10207
10290
  "name": "*",
10208
10291
  "declaration": {
10209
10292
  "name": "*",
10210
- "package": "./column-selection"
10211
- }
10212
- },
10213
- {
10214
- "kind": "js",
10215
- "name": "*",
10216
- "declaration": {
10217
- "name": "*",
10218
- "package": "./column-selection.styles"
10219
- }
10220
- },
10221
- {
10222
- "kind": "js",
10223
- "name": "*",
10224
- "declaration": {
10225
- "name": "*",
10226
- "package": "./column-selection.template"
10227
- }
10228
- },
10229
- {
10230
- "kind": "js",
10231
- "name": "*",
10232
- "declaration": {
10233
- "name": "*",
10234
- "package": "./resolve-columns-picker-api"
10235
- }
10236
- },
10237
- {
10238
- "kind": "js",
10239
- "name": "*",
10240
- "declaration": {
10241
- "name": "*",
10242
- "package": "./column-picker.utils"
10243
- }
10244
- },
10245
- {
10246
- "kind": "js",
10247
- "name": "*",
10248
- "declaration": {
10249
- "name": "*",
10250
- "package": "./grid-pro-column-drag-bridge"
10293
+ "package": "./enum-column.filter"
10251
10294
  }
10252
10295
  },
10253
10296
  {
@@ -10255,50 +10298,7 @@
10255
10298
  "name": "*",
10256
10299
  "declaration": {
10257
10300
  "name": "*",
10258
- "package": "./column-picker-ag-drag"
10259
- }
10260
- }
10261
- ]
10262
- },
10263
- {
10264
- "kind": "javascript-module",
10265
- "path": "src/column-selection/resolve-columns-picker-api.ts",
10266
- "declarations": [
10267
- {
10268
- "kind": "function",
10269
- "name": "resolveColumnsPickerApi",
10270
- "return": {
10271
- "type": {
10272
- "text": "GridApi | null"
10273
- }
10274
- },
10275
- "parameters": [
10276
- {
10277
- "name": "gridHost",
10278
- "optional": true,
10279
- "type": {
10280
- "text": "ColumnSelectionHost | null"
10281
- }
10282
- },
10283
- {
10284
- "name": "gridApi",
10285
- "optional": true,
10286
- "type": {
10287
- "text": "GridApi | null"
10288
- }
10289
- }
10290
- ],
10291
- "description": "Resolves an AG `gridApi` suitable for ColumnSelection.\nClassic Grid Pro (v29) exposes column helpers on `columnApi` — bridge when needed.",
10292
- "privacy": "public"
10293
- }
10294
- ],
10295
- "exports": [
10296
- {
10297
- "kind": "js",
10298
- "name": "resolveColumnsPickerApi",
10299
- "declaration": {
10300
- "name": "resolveColumnsPickerApi",
10301
- "module": "src/column-selection/resolve-columns-picker-api.ts"
10301
+ "package": "./enum-column.floating-filter"
10302
10302
  }
10303
10303
  }
10304
10304
  ]
@@ -11200,7 +11200,7 @@
11200
11200
  "description": "true to set, false to remove"
11201
11201
  }
11202
11202
  ],
11203
- "description": "Sets the disconnected state and emits appropriate events."
11203
+ "description": "Sets the disconnected state and emits appropriate events.\nA repeated `true` is ignored so the dialog does not gain another \"Datasource disconnected\" line."
11204
11204
  },
11205
11205
  {
11206
11206
  "kind": "method",
@@ -13191,7 +13191,7 @@
13191
13191
  "description": "true to set, false to remove"
13192
13192
  }
13193
13193
  ],
13194
- "description": "Sets the disconnected state and emits appropriate events.",
13194
+ "description": "Sets the disconnected state and emits appropriate events.\nA repeated `true` is ignored so the dialog does not gain another \"Datasource disconnected\" line.",
13195
13195
  "inheritedFrom": {
13196
13196
  "name": "GridProBaseDatasource",
13197
13197
  "module": "src/datasource/base.datasource.ts"
@@ -15024,7 +15024,7 @@
15024
15024
  "description": "true to set, false to remove"
15025
15025
  }
15026
15026
  ],
15027
- "description": "Sets the disconnected state and emits appropriate events.",
15027
+ "description": "Sets the disconnected state and emits appropriate events.\nA repeated `true` is ignored so the dialog does not gain another \"Datasource disconnected\" line.",
15028
15028
  "inheritedFrom": {
15029
15029
  "name": "GridProBaseDatasource",
15030
15030
  "module": "src/datasource/base.datasource.ts"
@@ -17367,7 +17367,7 @@
17367
17367
  "description": "true to set, false to remove"
17368
17368
  }
17369
17369
  ],
17370
- "description": "Sets the disconnected state and emits appropriate events.",
17370
+ "description": "Sets the disconnected state and emits appropriate events.\nA repeated `true` is ignored so the dialog does not gain another \"Datasource disconnected\" line.",
17371
17371
  "inheritedFrom": {
17372
17372
  "name": "GridProBaseDatasource",
17373
17373
  "module": "src/datasource/base.datasource.ts"
@@ -21833,7 +21833,7 @@
21833
21833
  "description": "true to set, false to remove"
21834
21834
  }
21835
21835
  ],
21836
- "description": "Sets the disconnected state and emits appropriate events.",
21836
+ "description": "Sets the disconnected state and emits appropriate events.\nA repeated `true` is ignored so the dialog does not gain another \"Datasource disconnected\" line.",
21837
21837
  "inheritedFrom": {
21838
21838
  "name": "GridProBaseDatasource",
21839
21839
  "module": "src/datasource/base.datasource.ts"
@@ -25123,60 +25123,6 @@
25123
25123
  }
25124
25124
  ]
25125
25125
  },
25126
- {
25127
- "kind": "javascript-module",
25128
- "path": "src/cell-renderers/utils/accessor.ts",
25129
- "declarations": [
25130
- {
25131
- "kind": "function",
25132
- "name": "setValueWithAccessor",
25133
- "return": {
25134
- "type": {
25135
- "text": "string"
25136
- }
25137
- },
25138
- "parameters": [
25139
- {
25140
- "name": "data",
25141
- "type": {
25142
- "text": "any"
25143
- }
25144
- },
25145
- {
25146
- "name": "accessor",
25147
- "type": {
25148
- "text": "string"
25149
- }
25150
- }
25151
- ]
25152
- }
25153
- ],
25154
- "exports": [
25155
- {
25156
- "kind": "js",
25157
- "name": "setValueWithAccessor",
25158
- "declaration": {
25159
- "name": "setValueWithAccessor",
25160
- "module": "src/cell-renderers/utils/accessor.ts"
25161
- }
25162
- }
25163
- ]
25164
- },
25165
- {
25166
- "kind": "javascript-module",
25167
- "path": "src/cell-renderers/utils/index.ts",
25168
- "declarations": [],
25169
- "exports": [
25170
- {
25171
- "kind": "js",
25172
- "name": "*",
25173
- "declaration": {
25174
- "name": "*",
25175
- "package": "./accessor"
25176
- }
25177
- }
25178
- ]
25179
- },
25180
25126
  {
25181
25127
  "kind": "javascript-module",
25182
25128
  "path": "src/column/utils/grid-pro-columns.ts",
@@ -25270,6 +25216,60 @@
25270
25216
  }
25271
25217
  }
25272
25218
  ]
25219
+ },
25220
+ {
25221
+ "kind": "javascript-module",
25222
+ "path": "src/cell-renderers/utils/accessor.ts",
25223
+ "declarations": [
25224
+ {
25225
+ "kind": "function",
25226
+ "name": "setValueWithAccessor",
25227
+ "return": {
25228
+ "type": {
25229
+ "text": "string"
25230
+ }
25231
+ },
25232
+ "parameters": [
25233
+ {
25234
+ "name": "data",
25235
+ "type": {
25236
+ "text": "any"
25237
+ }
25238
+ },
25239
+ {
25240
+ "name": "accessor",
25241
+ "type": {
25242
+ "text": "string"
25243
+ }
25244
+ }
25245
+ ]
25246
+ }
25247
+ ],
25248
+ "exports": [
25249
+ {
25250
+ "kind": "js",
25251
+ "name": "setValueWithAccessor",
25252
+ "declaration": {
25253
+ "name": "setValueWithAccessor",
25254
+ "module": "src/cell-renderers/utils/accessor.ts"
25255
+ }
25256
+ }
25257
+ ]
25258
+ },
25259
+ {
25260
+ "kind": "javascript-module",
25261
+ "path": "src/cell-renderers/utils/index.ts",
25262
+ "declarations": [],
25263
+ "exports": [
25264
+ {
25265
+ "kind": "js",
25266
+ "name": "*",
25267
+ "declaration": {
25268
+ "name": "*",
25269
+ "package": "./accessor"
25270
+ }
25271
+ }
25272
+ ]
25273
25273
  }
25274
25274
  ]
25275
25275
  }