@genesislcap/grid-pro 15.25.0 → 15.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/custom-elements.json +1381 -1
  2. package/dist/dts/column-selection/column-picker-ag-drag.d.ts +18 -0
  3. package/dist/dts/column-selection/column-picker-ag-drag.d.ts.map +1 -0
  4. package/dist/dts/column-selection/column-picker.utils.d.ts +50 -0
  5. package/dist/dts/column-selection/column-picker.utils.d.ts.map +1 -0
  6. package/dist/dts/column-selection/column-selection.d.ts +549 -0
  7. package/dist/dts/column-selection/column-selection.d.ts.map +1 -0
  8. package/dist/dts/column-selection/column-selection.styles.d.ts +11 -0
  9. package/dist/dts/column-selection/column-selection.styles.d.ts.map +1 -0
  10. package/dist/dts/column-selection/column-selection.template.d.ts +13 -0
  11. package/dist/dts/column-selection/column-selection.template.d.ts.map +1 -0
  12. package/dist/dts/column-selection/grid-pro-column-drag-bridge.d.ts +46 -0
  13. package/dist/dts/column-selection/grid-pro-column-drag-bridge.d.ts.map +1 -0
  14. package/dist/dts/column-selection/index.d.ts +8 -0
  15. package/dist/dts/column-selection/index.d.ts.map +1 -0
  16. package/dist/dts/column-selection/resolve-columns-picker-api.d.ts +23 -0
  17. package/dist/dts/column-selection/resolve-columns-picker-api.d.ts.map +1 -0
  18. package/dist/dts/grid-pro-beta.d.ts +12 -0
  19. package/dist/dts/grid-pro-beta.d.ts.map +1 -1
  20. package/dist/dts/grid-pro.styles.d.ts.map +1 -1
  21. package/dist/dts/grid-pro.template.d.ts.map +1 -1
  22. package/dist/dts/index.d.ts +1 -0
  23. package/dist/dts/index.d.ts.map +1 -1
  24. package/dist/dts/react.d.ts +10 -0
  25. package/dist/esm/column-selection/column-picker-ag-drag.js +52 -0
  26. package/dist/esm/column-selection/column-picker.utils.js +118 -0
  27. package/dist/esm/column-selection/column-selection.js +620 -0
  28. package/dist/esm/column-selection/column-selection.styles.js +236 -0
  29. package/dist/esm/column-selection/column-selection.template.js +96 -0
  30. package/dist/esm/column-selection/grid-pro-column-drag-bridge.js +62 -0
  31. package/dist/esm/column-selection/index.js +7 -0
  32. package/dist/esm/column-selection/resolve-columns-picker-api.js +42 -0
  33. package/dist/esm/grid-pro-beta.js +33 -2
  34. package/dist/esm/grid-pro.styles.js +2 -0
  35. package/dist/esm/grid-pro.template.js +8 -1
  36. package/dist/esm/index.js +1 -0
  37. package/dist/grid-pro.api.json +6820 -4409
  38. package/dist/grid-pro.d.ts +781 -46
  39. package/dist/react.cjs +7 -0
  40. package/dist/react.mjs +6 -0
  41. package/package.json +13 -13
@@ -129,6 +129,17 @@
129
129
  "default": "false",
130
130
  "description": "If true, will enable row flashing for all rows for `add` async transactions"
131
131
  },
132
+ {
133
+ "kind": "field",
134
+ "name": "columnDragBridge",
135
+ "type": {
136
+ "text": "GridProColumnDragBridge"
137
+ },
138
+ "privacy": "private",
139
+ "readonly": true,
140
+ "default": "{}",
141
+ "description": "Wired to `gridOptions.context` for columns picker → grid drag (see bridge module)."
142
+ },
132
143
  {
133
144
  "kind": "field",
134
145
  "name": "persistColumnStateKey",
@@ -263,6 +274,20 @@
263
274
  "default": "false",
264
275
  "description": "Enables or disables the grid status bar."
265
276
  },
277
+ {
278
+ "kind": "field",
279
+ "name": "enableColumnSelection",
280
+ "type": {
281
+ "text": "boolean"
282
+ },
283
+ "default": "false",
284
+ "description": "Shows a Column Selection button above the grid.",
285
+ "privacy": "public"
286
+ },
287
+ {
288
+ "kind": "method",
289
+ "name": "enableColumnSelectionChanged"
290
+ },
266
291
  {
267
292
  "kind": "field",
268
293
  "name": "customErrorHandlerTemplate",
@@ -552,6 +577,16 @@
552
577
  "readonly": true,
553
578
  "default": "{\n handleChange: (record: any) => this.handleLuminanceChange(record),\n }"
554
579
  },
580
+ {
581
+ "kind": "method",
582
+ "name": "syncColumnSelectionHostLayout",
583
+ "privacy": "private",
584
+ "return": {
585
+ "type": {
586
+ "text": "void"
587
+ }
588
+ }
589
+ },
555
590
  {
556
591
  "kind": "method",
557
592
  "name": "performDisconnectCleanup",
@@ -1248,6 +1283,15 @@
1248
1283
  "default": "false",
1249
1284
  "description": "Enables or disables the grid status bar.",
1250
1285
  "fieldName": "withStatusBar"
1286
+ },
1287
+ {
1288
+ "name": "enable-column-selection",
1289
+ "type": {
1290
+ "text": "boolean"
1291
+ },
1292
+ "default": "false",
1293
+ "description": "Shows a Column Selection button above the grid.",
1294
+ "fieldName": "enableColumnSelection"
1251
1295
  }
1252
1296
  ],
1253
1297
  "mixins": [
@@ -1493,7 +1537,7 @@
1493
1537
  "type": {
1494
1538
  "text": "ElementStyles"
1495
1539
  },
1496
- "default": "css`\n ${agExternalStockStyles}\n ${errorHandlerDialogStyles}\n ${agDragGhostShadowDomStyles}\n ${rowMatchAlertStyles}\n :host {\n --datasource-error-background-color: var(--neutral-layer-4);\n --datasource-error-background-opacity: 0.5;\n --datasource-error-dialog-max-width: 50%;\n --datasource-error-dialog-min-width: auto;\n --ag-status-bar-height: 32.5px;\n\n position: relative;\n width: 100%;\n height: 100%;\n }\n\n :host([ds-disconnected]) {\n display: block;\n }\n\n :host([ds-disconnected])::part(grid) {\n cursor: not-allowed;\n opacity: 40%;\n pointer-events: none;\n }\n\n .ag-side-bar,\n .ag-menu {\n --ag-subheader-background-color: var(--ag-background-color);\n --ag-control-panel-background-color: var(--ag-background-color);\n }\n\n .ag-cell-inline-editing {\n height: inherit !important;\n }\n\n .hidden {\n display: none;\n }\n\n .error {\n border-color: var(--error-color) !important;\n }\n\n .ag-status-bar {\n height: var(--ag-status-bar-height);\n }\n\n .ag-status-name-value {\n padding-top: var(--ag-grid-size);\n padding-bottom: var(--ag-grid-size);\n }\n\n /* Custom styling for the unsort icon (sortNone) - only for sortable columns */\n .ag-header-cell.ag-header-cell-sortable .ag-icon-none {\n opacity: 100%;\n color: var(--rapid-ag-header-foreground-color, var(--ag-foreground-color, #fff));\n font-size: calc(var(--ag-icon-size, 12px) * 1.2);\n font-weight: bold;\n }\n\n .ag-header-cell.ag-header-cell-sortable:hover .ag-icon-none {\n opacity: 100%;\n color: var(--rapid-ag-header-foreground-color, var(--ag-foreground-color, #fff));\n transform: scale(1.1);\n transition: transform 0.2s ease;\n }\n`",
1540
+ "default": "css`\n ${agExternalStockStyles}\n ${errorHandlerDialogStyles}\n ${agDragGhostShadowDomStyles}\n ${gridProColumnSelectionHostStyles}\n ${rowMatchAlertStyles}\n :host {\n --datasource-error-background-color: var(--neutral-layer-4);\n --datasource-error-background-opacity: 0.5;\n --datasource-error-dialog-max-width: 50%;\n --datasource-error-dialog-min-width: auto;\n --ag-status-bar-height: 32.5px;\n\n position: relative;\n width: 100%;\n height: 100%;\n }\n\n :host([ds-disconnected]) {\n display: block;\n }\n\n :host([ds-disconnected])::part(grid) {\n cursor: not-allowed;\n opacity: 40%;\n pointer-events: none;\n }\n\n .ag-side-bar,\n .ag-menu {\n --ag-subheader-background-color: var(--ag-background-color);\n --ag-control-panel-background-color: var(--ag-background-color);\n }\n\n .ag-cell-inline-editing {\n height: inherit !important;\n }\n\n .hidden {\n display: none;\n }\n\n .error {\n border-color: var(--error-color) !important;\n }\n\n .ag-status-bar {\n height: var(--ag-status-bar-height);\n }\n\n .ag-status-name-value {\n padding-top: var(--ag-grid-size);\n padding-bottom: var(--ag-grid-size);\n }\n\n /* Custom styling for the unsort icon (sortNone) - only for sortable columns */\n .ag-header-cell.ag-header-cell-sortable .ag-icon-none {\n opacity: 100%;\n color: var(--rapid-ag-header-foreground-color, var(--ag-foreground-color, #fff));\n font-size: calc(var(--ag-icon-size, 12px) * 1.2);\n font-weight: bold;\n }\n\n .ag-header-cell.ag-header-cell-sortable:hover .ag-icon-none {\n opacity: 100%;\n color: var(--rapid-ag-header-foreground-color, var(--ag-foreground-color, #fff));\n transform: scale(1.1);\n transition: transform 0.2s ease;\n }\n`",
1497
1541
  "description": "The Grid Pro styles.",
1498
1542
  "privacy": "public"
1499
1543
  }
@@ -3385,6 +3429,14 @@
3385
3429
  "package": "./column"
3386
3430
  }
3387
3431
  },
3432
+ {
3433
+ "kind": "js",
3434
+ "name": "*",
3435
+ "declaration": {
3436
+ "name": "*",
3437
+ "package": "./column-selection"
3438
+ }
3439
+ },
3388
3440
  {
3389
3441
  "kind": "js",
3390
3442
  "name": "*",
@@ -8907,6 +8959,1334 @@
8907
8959
  }
8908
8960
  ]
8909
8961
  },
8962
+ {
8963
+ "kind": "javascript-module",
8964
+ "path": "src/column-selection/column-picker-ag-drag.ts",
8965
+ "declarations": [
8966
+ {
8967
+ "kind": "function",
8968
+ "name": "bindAgColumnPickerDrag",
8969
+ "return": {
8970
+ "type": {
8971
+ "text": "ColumnPickerAgDragBinding | null"
8972
+ }
8973
+ },
8974
+ "parameters": [
8975
+ {
8976
+ "name": "bridge",
8977
+ "type": {
8978
+ "text": "GridProColumnDragBridge"
8979
+ }
8980
+ },
8981
+ {
8982
+ "name": "api",
8983
+ "type": {
8984
+ "text": "GridApi"
8985
+ }
8986
+ },
8987
+ {
8988
+ "name": "handle",
8989
+ "type": {
8990
+ "text": "HTMLElement"
8991
+ }
8992
+ },
8993
+ {
8994
+ "name": "colId",
8995
+ "type": {
8996
+ "text": "string"
8997
+ }
8998
+ },
8999
+ {
9000
+ "name": "dragItemName",
9001
+ "type": {
9002
+ "text": "string"
9003
+ }
9004
+ }
9005
+ ],
9006
+ "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).",
9007
+ "privacy": "public"
9008
+ }
9009
+ ],
9010
+ "exports": [
9011
+ {
9012
+ "kind": "js",
9013
+ "name": "bindAgColumnPickerDrag",
9014
+ "declaration": {
9015
+ "name": "bindAgColumnPickerDrag",
9016
+ "module": "src/column-selection/column-picker-ag-drag.ts"
9017
+ }
9018
+ }
9019
+ ]
9020
+ },
9021
+ {
9022
+ "kind": "javascript-module",
9023
+ "path": "src/column-selection/column-picker.utils.ts",
9024
+ "declarations": [
9025
+ {
9026
+ "kind": "variable",
9027
+ "name": "COLUMN_PICKER_SORT_DEFAULT",
9028
+ "type": {
9029
+ "text": "ColumnPickerSort"
9030
+ },
9031
+ "default": "'selected-first'",
9032
+ "privacy": "public"
9033
+ },
9034
+ {
9035
+ "kind": "function",
9036
+ "name": "resolveColumnPickerSort",
9037
+ "return": {
9038
+ "type": {
9039
+ "text": "ColumnPickerSort"
9040
+ }
9041
+ },
9042
+ "parameters": [
9043
+ {
9044
+ "name": "sort",
9045
+ "optional": true,
9046
+ "type": {
9047
+ "text": "ColumnPickerSort | null"
9048
+ }
9049
+ }
9050
+ ],
9051
+ "privacy": "public"
9052
+ },
9053
+ {
9054
+ "kind": "function",
9055
+ "name": "toPickerItem",
9056
+ "return": {
9057
+ "type": {
9058
+ "text": "ColumnPickerItem | null"
9059
+ }
9060
+ },
9061
+ "parameters": [
9062
+ {
9063
+ "name": "col",
9064
+ "type": {
9065
+ "text": "Column"
9066
+ }
9067
+ }
9068
+ ],
9069
+ "privacy": "public"
9070
+ },
9071
+ {
9072
+ "kind": "function",
9073
+ "name": "getPickerItems",
9074
+ "return": {
9075
+ "type": {
9076
+ "text": "ColumnPickerItem[]"
9077
+ }
9078
+ },
9079
+ "parameters": [
9080
+ {
9081
+ "name": "columns",
9082
+ "type": {
9083
+ "text": "Column[]"
9084
+ }
9085
+ }
9086
+ ],
9087
+ "privacy": "public"
9088
+ },
9089
+ {
9090
+ "kind": "function",
9091
+ "name": "orderColumnsForPicker",
9092
+ "return": {
9093
+ "type": {
9094
+ "text": "Column[]"
9095
+ }
9096
+ },
9097
+ "parameters": [
9098
+ {
9099
+ "name": "displayed",
9100
+ "type": {
9101
+ "text": "Column[]"
9102
+ }
9103
+ },
9104
+ {
9105
+ "name": "all",
9106
+ "type": {
9107
+ "text": "Column[]"
9108
+ }
9109
+ },
9110
+ {
9111
+ "name": "sort",
9112
+ "default": "COLUMN_PICKER_SORT_DEFAULT",
9113
+ "type": {
9114
+ "text": "ColumnPickerSort"
9115
+ }
9116
+ },
9117
+ {
9118
+ "name": "columnState",
9119
+ "optional": true,
9120
+ "type": {
9121
+ "text": "ReadonlyArray<{ colId?: string | null }>"
9122
+ }
9123
+ }
9124
+ ],
9125
+ "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).",
9126
+ "privacy": "public"
9127
+ },
9128
+ {
9129
+ "kind": "function",
9130
+ "name": "partitionPickerItems",
9131
+ "return": {
9132
+ "type": {
9133
+ "text": "{ selected: ColumnPickerItem[]; unselected: ColumnPickerItem[] }"
9134
+ }
9135
+ },
9136
+ "parameters": [
9137
+ {
9138
+ "name": "items",
9139
+ "type": {
9140
+ "text": "ColumnPickerItem[]"
9141
+ }
9142
+ },
9143
+ {
9144
+ "name": "search",
9145
+ "type": {
9146
+ "text": "string"
9147
+ }
9148
+ },
9149
+ {
9150
+ "name": "sort",
9151
+ "default": "COLUMN_PICKER_SORT_DEFAULT",
9152
+ "type": {
9153
+ "text": "ColumnPickerSort"
9154
+ }
9155
+ }
9156
+ ],
9157
+ "description": "Splits / filters picker items for the template sections.",
9158
+ "privacy": "public"
9159
+ },
9160
+ {
9161
+ "kind": "function",
9162
+ "name": "reorderVisibleIds",
9163
+ "return": {
9164
+ "type": {
9165
+ "text": "string[] | null"
9166
+ }
9167
+ },
9168
+ "parameters": [
9169
+ {
9170
+ "name": "allVisibleIds",
9171
+ "type": {
9172
+ "text": "string[]"
9173
+ }
9174
+ },
9175
+ {
9176
+ "name": "shownIds",
9177
+ "type": {
9178
+ "text": "string[]"
9179
+ }
9180
+ },
9181
+ {
9182
+ "name": "fromId",
9183
+ "type": {
9184
+ "text": "string"
9185
+ }
9186
+ },
9187
+ {
9188
+ "name": "toId",
9189
+ "type": {
9190
+ "text": "string"
9191
+ }
9192
+ }
9193
+ ],
9194
+ "privacy": "public"
9195
+ },
9196
+ {
9197
+ "kind": "function",
9198
+ "name": "applyVisibleOrder",
9199
+ "return": {
9200
+ "type": {
9201
+ "text": "T[]"
9202
+ }
9203
+ },
9204
+ "parameters": [
9205
+ {
9206
+ "name": "columnState",
9207
+ "type": {
9208
+ "text": "T[]"
9209
+ }
9210
+ },
9211
+ {
9212
+ "name": "visibleOrder",
9213
+ "type": {
9214
+ "text": "string[]"
9215
+ }
9216
+ }
9217
+ ],
9218
+ "privacy": "public"
9219
+ }
9220
+ ],
9221
+ "exports": [
9222
+ {
9223
+ "kind": "js",
9224
+ "name": "COLUMN_PICKER_SORT_DEFAULT",
9225
+ "declaration": {
9226
+ "name": "COLUMN_PICKER_SORT_DEFAULT",
9227
+ "module": "src/column-selection/column-picker.utils.ts"
9228
+ }
9229
+ },
9230
+ {
9231
+ "kind": "js",
9232
+ "name": "resolveColumnPickerSort",
9233
+ "declaration": {
9234
+ "name": "resolveColumnPickerSort",
9235
+ "module": "src/column-selection/column-picker.utils.ts"
9236
+ }
9237
+ },
9238
+ {
9239
+ "kind": "js",
9240
+ "name": "toPickerItem",
9241
+ "declaration": {
9242
+ "name": "toPickerItem",
9243
+ "module": "src/column-selection/column-picker.utils.ts"
9244
+ }
9245
+ },
9246
+ {
9247
+ "kind": "js",
9248
+ "name": "getPickerItems",
9249
+ "declaration": {
9250
+ "name": "getPickerItems",
9251
+ "module": "src/column-selection/column-picker.utils.ts"
9252
+ }
9253
+ },
9254
+ {
9255
+ "kind": "js",
9256
+ "name": "orderColumnsForPicker",
9257
+ "declaration": {
9258
+ "name": "orderColumnsForPicker",
9259
+ "module": "src/column-selection/column-picker.utils.ts"
9260
+ }
9261
+ },
9262
+ {
9263
+ "kind": "js",
9264
+ "name": "partitionPickerItems",
9265
+ "declaration": {
9266
+ "name": "partitionPickerItems",
9267
+ "module": "src/column-selection/column-picker.utils.ts"
9268
+ }
9269
+ },
9270
+ {
9271
+ "kind": "js",
9272
+ "name": "reorderVisibleIds",
9273
+ "declaration": {
9274
+ "name": "reorderVisibleIds",
9275
+ "module": "src/column-selection/column-picker.utils.ts"
9276
+ }
9277
+ },
9278
+ {
9279
+ "kind": "js",
9280
+ "name": "applyVisibleOrder",
9281
+ "declaration": {
9282
+ "name": "applyVisibleOrder",
9283
+ "module": "src/column-selection/column-picker.utils.ts"
9284
+ }
9285
+ }
9286
+ ]
9287
+ },
9288
+ {
9289
+ "kind": "javascript-module",
9290
+ "path": "src/column-selection/column-selection.styles.ts",
9291
+ "declarations": [
9292
+ {
9293
+ "kind": "variable",
9294
+ "name": "columnSelectionStyles",
9295
+ "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\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\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`",
9296
+ "description": "Styles for ColumnSelection.",
9297
+ "privacy": "public"
9298
+ },
9299
+ {
9300
+ "kind": "variable",
9301
+ "name": "gridProColumnSelectionHostStyles",
9302
+ "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`",
9303
+ "description": "Host layout when the Grid Pro column-selection toolbar is shown.",
9304
+ "privacy": "public"
9305
+ }
9306
+ ],
9307
+ "exports": [
9308
+ {
9309
+ "kind": "js",
9310
+ "name": "columnSelectionStyles",
9311
+ "declaration": {
9312
+ "name": "columnSelectionStyles",
9313
+ "module": "src/column-selection/column-selection.styles.ts"
9314
+ }
9315
+ },
9316
+ {
9317
+ "kind": "js",
9318
+ "name": "gridProColumnSelectionHostStyles",
9319
+ "declaration": {
9320
+ "name": "gridProColumnSelectionHostStyles",
9321
+ "module": "src/column-selection/column-selection.styles.ts"
9322
+ }
9323
+ }
9324
+ ]
9325
+ },
9326
+ {
9327
+ "kind": "javascript-module",
9328
+ "path": "src/column-selection/column-selection.template.ts",
9329
+ "declarations": [
9330
+ {
9331
+ "kind": "function",
9332
+ "name": "getColumnSelectionTemplate",
9333
+ "parameters": [
9334
+ {
9335
+ "name": "prefix",
9336
+ "default": "'foundation'",
9337
+ "description": "Design-system prefix for button/icon/checkbox/text-field."
9338
+ }
9339
+ ],
9340
+ "description": "Column Selection button + popover with embedded picker UI.",
9341
+ "privacy": "public"
9342
+ },
9343
+ {
9344
+ "kind": "variable",
9345
+ "name": "columnSelectionTemplate",
9346
+ "description": "Default column selection template (`foundation-*` components).",
9347
+ "privacy": "public"
9348
+ }
9349
+ ],
9350
+ "exports": [
9351
+ {
9352
+ "kind": "js",
9353
+ "name": "getColumnSelectionTemplate",
9354
+ "declaration": {
9355
+ "name": "getColumnSelectionTemplate",
9356
+ "module": "src/column-selection/column-selection.template.ts"
9357
+ }
9358
+ },
9359
+ {
9360
+ "kind": "js",
9361
+ "name": "columnSelectionTemplate",
9362
+ "declaration": {
9363
+ "name": "columnSelectionTemplate",
9364
+ "module": "src/column-selection/column-selection.template.ts"
9365
+ }
9366
+ }
9367
+ ]
9368
+ },
9369
+ {
9370
+ "kind": "javascript-module",
9371
+ "path": "src/column-selection/column-selection.ts",
9372
+ "declarations": [
9373
+ {
9374
+ "kind": "class",
9375
+ "description": "Button + popover column picker for Grid Pro (Community).",
9376
+ "name": "ColumnSelection",
9377
+ "members": [
9378
+ {
9379
+ "kind": "field",
9380
+ "name": "label",
9381
+ "type": {
9382
+ "text": "string"
9383
+ },
9384
+ "default": "'Column Selection'",
9385
+ "description": "Button label."
9386
+ },
9387
+ {
9388
+ "kind": "field",
9389
+ "name": "sort",
9390
+ "type": {
9391
+ "text": "ColumnPickerSort"
9392
+ },
9393
+ "default": "COLUMN_PICKER_SORT_DEFAULT",
9394
+ "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)."
9395
+ },
9396
+ {
9397
+ "kind": "field",
9398
+ "name": "open",
9399
+ "type": {
9400
+ "text": "boolean"
9401
+ },
9402
+ "default": "false",
9403
+ "description": "Whether the popover is open."
9404
+ },
9405
+ {
9406
+ "kind": "field",
9407
+ "name": "gridApi",
9408
+ "type": {
9409
+ "text": "GridApi | null"
9410
+ },
9411
+ "default": "null",
9412
+ "description": "Optional explicit AG grid API (v36)."
9413
+ },
9414
+ {
9415
+ "kind": "field",
9416
+ "name": "gridHost",
9417
+ "type": {
9418
+ "text": "ColumnSelectionHost | null"
9419
+ },
9420
+ "default": "null",
9421
+ "description": "Grid Pro host element; column API is bridged when needed."
9422
+ },
9423
+ {
9424
+ "kind": "field",
9425
+ "name": "search",
9426
+ "type": {
9427
+ "text": "string"
9428
+ },
9429
+ "default": "''"
9430
+ },
9431
+ {
9432
+ "kind": "field",
9433
+ "name": "selectedItems",
9434
+ "type": {
9435
+ "text": "ColumnPickerItem[]"
9436
+ },
9437
+ "default": "[]"
9438
+ },
9439
+ {
9440
+ "kind": "field",
9441
+ "name": "unselectedItems",
9442
+ "type": {
9443
+ "text": "ColumnPickerItem[]"
9444
+ },
9445
+ "default": "[]"
9446
+ },
9447
+ {
9448
+ "kind": "field",
9449
+ "name": "selectAllChecked",
9450
+ "type": {
9451
+ "text": "boolean"
9452
+ },
9453
+ "default": "false",
9454
+ "description": "Master checkbox checked when every toggleable column is visible."
9455
+ },
9456
+ {
9457
+ "kind": "field",
9458
+ "name": "selectAllIndeterminate",
9459
+ "type": {
9460
+ "text": "boolean"
9461
+ },
9462
+ "default": "false",
9463
+ "description": "Master checkbox mixed when some (but not all) toggleable columns are visible."
9464
+ },
9465
+ {
9466
+ "kind": "field",
9467
+ "name": "resolvedSort",
9468
+ "type": {
9469
+ "text": "ColumnPickerSort"
9470
+ },
9471
+ "privacy": "private",
9472
+ "default": "COLUMN_PICKER_SORT_DEFAULT",
9473
+ "description": "Resolved sort; kept in sync with `@attr sort`."
9474
+ },
9475
+ {
9476
+ "kind": "field",
9477
+ "name": "dragColId",
9478
+ "type": {
9479
+ "text": "string | null"
9480
+ },
9481
+ "privacy": "private",
9482
+ "default": "null",
9483
+ "description": "Source colId while a visible-row drag is in progress."
9484
+ },
9485
+ {
9486
+ "kind": "field",
9487
+ "name": "dragOverElement",
9488
+ "type": {
9489
+ "text": "HTMLElement | null"
9490
+ },
9491
+ "privacy": "private",
9492
+ "default": "null",
9493
+ "description": "Row currently showing drag-over highlight (avoid observable updates mid-drag)."
9494
+ },
9495
+ {
9496
+ "kind": "field",
9497
+ "name": "dragBindingAbort",
9498
+ "type": {
9499
+ "text": "AbortController | null"
9500
+ },
9501
+ "privacy": "private",
9502
+ "default": "null",
9503
+ "description": "Cancels row drag listeners when the selected list re-renders."
9504
+ },
9505
+ {
9506
+ "kind": "field",
9507
+ "name": "agDragBindings",
9508
+ "type": {
9509
+ "text": "ColumnPickerAgDragBinding[]"
9510
+ },
9511
+ "privacy": "private",
9512
+ "default": "[]",
9513
+ "description": "AG ToolPanel drag sources registered on hidden-row handles (grid drop)."
9514
+ },
9515
+ {
9516
+ "kind": "field",
9517
+ "name": "columnDragBridge",
9518
+ "type": {
9519
+ "text": "GridProColumnDragBridge | null"
9520
+ },
9521
+ "privacy": "private",
9522
+ "default": "null",
9523
+ "description": "Shared DnD bridge from Grid Pro."
9524
+ },
9525
+ {
9526
+ "kind": "field",
9527
+ "name": "dragBridgeRetryId",
9528
+ "type": {
9529
+ "text": "number"
9530
+ },
9531
+ "privacy": "private",
9532
+ "default": "0",
9533
+ "description": "Retries `bindRowDrag` until the DnD bridge is populated."
9534
+ },
9535
+ {
9536
+ "kind": "field",
9537
+ "name": "pendingVisibility",
9538
+ "privacy": "private",
9539
+ "default": "new Map<string, boolean>()",
9540
+ "description": "Optimistic visibility while the grid applies setColumnsVisible."
9541
+ },
9542
+ {
9543
+ "kind": "field",
9544
+ "name": "boundRefresh",
9545
+ "privacy": "private",
9546
+ "readonly": true,
9547
+ "description": "Stable listener refs so close/disconnect can remove the same functions."
9548
+ },
9549
+ {
9550
+ "kind": "field",
9551
+ "name": "pickerApi",
9552
+ "type": {
9553
+ "text": "GridApi | null"
9554
+ },
9555
+ "privacy": "private"
9556
+ },
9557
+ {
9558
+ "kind": "field",
9559
+ "name": "pickerRoot",
9560
+ "type": {
9561
+ "text": "HTMLElement | null"
9562
+ },
9563
+ "privacy": "private",
9564
+ "description": "Query root for picker DOM (shadow panel).",
9565
+ "readonly": true
9566
+ },
9567
+ {
9568
+ "kind": "field",
9569
+ "name": "canDrag",
9570
+ "type": {
9571
+ "text": "boolean"
9572
+ },
9573
+ "description": "Drag reorder / grid drop disabled while search filter is active.",
9574
+ "readonly": true
9575
+ },
9576
+ {
9577
+ "kind": "method",
9578
+ "name": "canDragToGrid",
9579
+ "return": {
9580
+ "type": {
9581
+ "text": "boolean"
9582
+ }
9583
+ },
9584
+ "parameters": [
9585
+ {
9586
+ "name": "item",
9587
+ "type": {
9588
+ "text": "ColumnPickerItem"
9589
+ }
9590
+ }
9591
+ ],
9592
+ "description": "Handle is draggable onto the grid (hidden columns, or all when using ag-grid sort)."
9593
+ },
9594
+ {
9595
+ "kind": "field",
9596
+ "name": "toggleableItems",
9597
+ "type": {
9598
+ "text": "ColumnPickerItem[]"
9599
+ },
9600
+ "privacy": "private",
9601
+ "description": "Columns in the current (search-filtered) picker lists that can be toggled.",
9602
+ "readonly": true
9603
+ },
9604
+ {
9605
+ "kind": "method",
9606
+ "name": "openChanged",
9607
+ "parameters": [
9608
+ {
9609
+ "name": "oldValue",
9610
+ "optional": true,
9611
+ "type": {
9612
+ "text": "boolean"
9613
+ }
9614
+ }
9615
+ ]
9616
+ },
9617
+ {
9618
+ "kind": "method",
9619
+ "name": "sortChanged"
9620
+ },
9621
+ {
9622
+ "kind": "method",
9623
+ "name": "gridApiChanged"
9624
+ },
9625
+ {
9626
+ "kind": "method",
9627
+ "name": "gridHostChanged"
9628
+ },
9629
+ {
9630
+ "kind": "method",
9631
+ "name": "panelElChanged"
9632
+ },
9633
+ {
9634
+ "kind": "method",
9635
+ "name": "toggle",
9636
+ "return": {
9637
+ "type": {
9638
+ "text": "void"
9639
+ }
9640
+ },
9641
+ "description": "Opens or closes the popover.",
9642
+ "privacy": "public"
9643
+ },
9644
+ {
9645
+ "kind": "method",
9646
+ "name": "close",
9647
+ "return": {
9648
+ "type": {
9649
+ "text": "void"
9650
+ }
9651
+ },
9652
+ "description": "Closes the popover.",
9653
+ "privacy": "public"
9654
+ },
9655
+ {
9656
+ "kind": "method",
9657
+ "name": "refresh",
9658
+ "return": {
9659
+ "type": {
9660
+ "text": "void"
9661
+ }
9662
+ },
9663
+ "description": "Rebuilds picker lists from current grid column state."
9664
+ },
9665
+ {
9666
+ "kind": "field",
9667
+ "name": "handleClickOutside",
9668
+ "privacy": "private",
9669
+ "readonly": true
9670
+ },
9671
+ {
9672
+ "kind": "method",
9673
+ "name": "showPanel",
9674
+ "privacy": "private",
9675
+ "return": {
9676
+ "type": {
9677
+ "text": "void"
9678
+ }
9679
+ }
9680
+ },
9681
+ {
9682
+ "kind": "method",
9683
+ "name": "hidePanel",
9684
+ "privacy": "private",
9685
+ "return": {
9686
+ "type": {
9687
+ "text": "void"
9688
+ }
9689
+ }
9690
+ },
9691
+ {
9692
+ "kind": "method",
9693
+ "name": "subscribePicker",
9694
+ "privacy": "private",
9695
+ "return": {
9696
+ "type": {
9697
+ "text": "void"
9698
+ }
9699
+ }
9700
+ },
9701
+ {
9702
+ "kind": "method",
9703
+ "name": "resubscribePicker",
9704
+ "privacy": "private",
9705
+ "return": {
9706
+ "type": {
9707
+ "text": "void"
9708
+ }
9709
+ }
9710
+ },
9711
+ {
9712
+ "kind": "method",
9713
+ "name": "unsubscribePicker",
9714
+ "privacy": "private",
9715
+ "return": {
9716
+ "type": {
9717
+ "text": "void"
9718
+ }
9719
+ }
9720
+ },
9721
+ {
9722
+ "kind": "method",
9723
+ "name": "syncSelectAllState",
9724
+ "privacy": "private",
9725
+ "return": {
9726
+ "type": {
9727
+ "text": "void"
9728
+ }
9729
+ }
9730
+ },
9731
+ {
9732
+ "kind": "method",
9733
+ "name": "applyPendingVisibility",
9734
+ "privacy": "private",
9735
+ "return": {
9736
+ "type": {
9737
+ "text": "ColumnPickerItem[]"
9738
+ }
9739
+ },
9740
+ "parameters": [
9741
+ {
9742
+ "name": "items",
9743
+ "type": {
9744
+ "text": "ColumnPickerItem[]"
9745
+ }
9746
+ }
9747
+ ]
9748
+ },
9749
+ {
9750
+ "kind": "method",
9751
+ "name": "resolveDragBridge",
9752
+ "privacy": "private",
9753
+ "return": {
9754
+ "type": {
9755
+ "text": "GridProColumnDragBridge | null"
9756
+ }
9757
+ }
9758
+ },
9759
+ {
9760
+ "kind": "method",
9761
+ "name": "bindRowDrag",
9762
+ "privacy": "private",
9763
+ "return": {
9764
+ "type": {
9765
+ "text": "void"
9766
+ }
9767
+ },
9768
+ "description": "Visible rows: HTML5 reorder inside the picker.\nHidden rows (or all rows when `sort=ag-grid`): AG ToolPanel drag onto the grid header."
9769
+ },
9770
+ {
9771
+ "kind": "method",
9772
+ "name": "scheduleDragBridgeRetry",
9773
+ "privacy": "private",
9774
+ "return": {
9775
+ "type": {
9776
+ "text": "void"
9777
+ }
9778
+ },
9779
+ "parameters": [
9780
+ {
9781
+ "name": "attempt",
9782
+ "default": "0"
9783
+ }
9784
+ ]
9785
+ },
9786
+ {
9787
+ "kind": "method",
9788
+ "name": "clearDragOverHighlight",
9789
+ "privacy": "private",
9790
+ "return": {
9791
+ "type": {
9792
+ "text": "void"
9793
+ }
9794
+ }
9795
+ },
9796
+ {
9797
+ "kind": "method",
9798
+ "name": "reorderSelected",
9799
+ "privacy": "private",
9800
+ "return": {
9801
+ "type": {
9802
+ "text": "void"
9803
+ }
9804
+ },
9805
+ "parameters": [
9806
+ {
9807
+ "name": "fromId",
9808
+ "type": {
9809
+ "text": "string"
9810
+ }
9811
+ },
9812
+ {
9813
+ "name": "toId",
9814
+ "type": {
9815
+ "text": "string"
9816
+ }
9817
+ }
9818
+ ],
9819
+ "description": "Applies a new visible-column order via `applyColumnState({ applyOrder: true })`.\nHidden columns keep their relative positions; only the visible slice is permuted."
9820
+ },
9821
+ {
9822
+ "kind": "method",
9823
+ "name": "cloneNode",
9824
+ "return": {
9825
+ "type": {
9826
+ "text": "Node"
9827
+ }
9828
+ },
9829
+ "parameters": [
9830
+ {
9831
+ "name": "deep",
9832
+ "optional": true,
9833
+ "type": {
9834
+ "text": "boolean"
9835
+ }
9836
+ }
9837
+ ],
9838
+ "inheritedFrom": {
9839
+ "name": "LifecycleMixin",
9840
+ "module": "src/mixins/lifecycle/lifecycle.ts"
9841
+ }
9842
+ },
9843
+ {
9844
+ "kind": "method",
9845
+ "name": "deepClone",
9846
+ "return": {
9847
+ "type": {
9848
+ "text": "Node"
9849
+ }
9850
+ },
9851
+ "inheritedFrom": {
9852
+ "name": "LifecycleMixin",
9853
+ "module": "src/mixins/lifecycle/lifecycle.ts"
9854
+ }
9855
+ },
9856
+ {
9857
+ "kind": "field",
9858
+ "name": "shouldRunDisconnect",
9859
+ "return": {
9860
+ "type": {
9861
+ "text": ""
9862
+ }
9863
+ },
9864
+ "readonly": true,
9865
+ "inheritedFrom": {
9866
+ "name": "LifecycleMixin",
9867
+ "module": "src/mixins/lifecycle/lifecycle.ts"
9868
+ }
9869
+ },
9870
+ {
9871
+ "kind": "field",
9872
+ "name": "shouldRunConnect",
9873
+ "return": {
9874
+ "type": {
9875
+ "text": ""
9876
+ }
9877
+ },
9878
+ "readonly": true,
9879
+ "inheritedFrom": {
9880
+ "name": "LifecycleMixin",
9881
+ "module": "src/mixins/lifecycle/lifecycle.ts"
9882
+ }
9883
+ },
9884
+ {
9885
+ "kind": "method",
9886
+ "name": "#_blockLifecycleDueToTokenChange",
9887
+ "return": {
9888
+ "type": {
9889
+ "text": "boolean"
9890
+ }
9891
+ },
9892
+ "parameters": [
9893
+ {
9894
+ "name": "lifecycleType",
9895
+ "type": {
9896
+ "text": "Lifecycletype"
9897
+ }
9898
+ }
9899
+ ],
9900
+ "inheritedFrom": {
9901
+ "name": "LifecycleMixin",
9902
+ "module": "src/mixins/lifecycle/lifecycle.ts"
9903
+ }
9904
+ },
9905
+ {
9906
+ "kind": "field",
9907
+ "name": "_presentation",
9908
+ "type": {
9909
+ "text": "ComponentPresentation | null | undefined"
9910
+ },
9911
+ "privacy": "private",
9912
+ "default": "void 0",
9913
+ "inheritedFrom": {
9914
+ "name": "FoundationElement",
9915
+ "module": "src/foundation-element/foundation-element.ts"
9916
+ }
9917
+ },
9918
+ {
9919
+ "kind": "field",
9920
+ "name": "$presentation",
9921
+ "type": {
9922
+ "text": "ComponentPresentation | null"
9923
+ },
9924
+ "privacy": "public",
9925
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
9926
+ "inheritedFrom": {
9927
+ "name": "FoundationElement",
9928
+ "module": "src/foundation-element/foundation-element.ts"
9929
+ }
9930
+ },
9931
+ {
9932
+ "kind": "field",
9933
+ "name": "template",
9934
+ "type": {
9935
+ "text": "ElementViewTemplate | void | null"
9936
+ },
9937
+ "privacy": "public",
9938
+ "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.",
9939
+ "inheritedFrom": {
9940
+ "name": "FoundationElement",
9941
+ "module": "src/foundation-element/foundation-element.ts"
9942
+ }
9943
+ },
9944
+ {
9945
+ "kind": "method",
9946
+ "name": "templateChanged",
9947
+ "privacy": "protected",
9948
+ "return": {
9949
+ "type": {
9950
+ "text": "void"
9951
+ }
9952
+ },
9953
+ "inheritedFrom": {
9954
+ "name": "FoundationElement",
9955
+ "module": "src/foundation-element/foundation-element.ts"
9956
+ }
9957
+ },
9958
+ {
9959
+ "kind": "field",
9960
+ "name": "styles",
9961
+ "type": {
9962
+ "text": "ElementStyles | void | null"
9963
+ },
9964
+ "privacy": "public",
9965
+ "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.",
9966
+ "inheritedFrom": {
9967
+ "name": "FoundationElement",
9968
+ "module": "src/foundation-element/foundation-element.ts"
9969
+ }
9970
+ },
9971
+ {
9972
+ "kind": "method",
9973
+ "name": "stylesChanged",
9974
+ "privacy": "protected",
9975
+ "return": {
9976
+ "type": {
9977
+ "text": "void"
9978
+ }
9979
+ },
9980
+ "inheritedFrom": {
9981
+ "name": "FoundationElement",
9982
+ "module": "src/foundation-element/foundation-element.ts"
9983
+ }
9984
+ },
9985
+ {
9986
+ "kind": "method",
9987
+ "name": "compose",
9988
+ "privacy": "public",
9989
+ "static": true,
9990
+ "return": {
9991
+ "type": {
9992
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
9993
+ }
9994
+ },
9995
+ "parameters": [
9996
+ {
9997
+ "name": "this",
9998
+ "type": {
9999
+ "text": "K"
10000
+ }
10001
+ },
10002
+ {
10003
+ "name": "elementDefinition",
10004
+ "type": {
10005
+ "text": "T"
10006
+ },
10007
+ "description": "The definition of the element to create the registry\nfunction for."
10008
+ }
10009
+ ],
10010
+ "description": "Defines an element registry function with a set of element definition defaults.",
10011
+ "inheritedFrom": {
10012
+ "name": "FoundationElement",
10013
+ "module": "src/foundation-element/foundation-element.ts"
10014
+ }
10015
+ }
10016
+ ],
10017
+ "attributes": [
10018
+ {
10019
+ "name": "label",
10020
+ "type": {
10021
+ "text": "string"
10022
+ },
10023
+ "default": "'Column Selection'",
10024
+ "description": "Button label.",
10025
+ "fieldName": "label"
10026
+ },
10027
+ {
10028
+ "name": "sort",
10029
+ "type": {
10030
+ "text": "ColumnPickerSort"
10031
+ },
10032
+ "default": "COLUMN_PICKER_SORT_DEFAULT",
10033
+ "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).",
10034
+ "resolveInitializer": {
10035
+ "module": "/src/column-selection/column-picker.utils"
10036
+ },
10037
+ "fieldName": "sort"
10038
+ }
10039
+ ],
10040
+ "mixins": [
10041
+ {
10042
+ "name": "LifecycleMixin",
10043
+ "package": "@genesislcap/foundation-utils"
10044
+ }
10045
+ ],
10046
+ "superclass": {
10047
+ "name": "FoundationElement",
10048
+ "package": "@microsoft/fast-foundation"
10049
+ },
10050
+ "tagName": "%%prefix%%-column-selection",
10051
+ "customElement": true
10052
+ },
10053
+ {
10054
+ "kind": "variable",
10055
+ "name": "foundationColumnSelection",
10056
+ "description": "Foundation Column Selection registration.",
10057
+ "privacy": "public"
10058
+ }
10059
+ ],
10060
+ "exports": [
10061
+ {
10062
+ "kind": "js",
10063
+ "name": "ColumnSelection",
10064
+ "declaration": {
10065
+ "name": "ColumnSelection",
10066
+ "module": "src/column-selection/column-selection.ts"
10067
+ }
10068
+ },
10069
+ {
10070
+ "kind": "js",
10071
+ "name": "foundationColumnSelection",
10072
+ "declaration": {
10073
+ "name": "foundationColumnSelection",
10074
+ "module": "src/column-selection/column-selection.ts"
10075
+ }
10076
+ }
10077
+ ]
10078
+ },
10079
+ {
10080
+ "kind": "javascript-module",
10081
+ "path": "src/column-selection/grid-pro-column-drag-bridge.ts",
10082
+ "declarations": [
10083
+ {
10084
+ "kind": "variable",
10085
+ "name": "GRID_PRO_COLUMN_DRAG_BRIDGE_CONTEXT_KEY",
10086
+ "type": {
10087
+ "text": "'gridProColumnDragBridge'"
10088
+ },
10089
+ "default": "'gridProColumnDragBridge'",
10090
+ "description": "Context key on `gridOptions.context` for AG column drag integration.",
10091
+ "privacy": "public"
10092
+ },
10093
+ {
10094
+ "kind": "function",
10095
+ "name": "resolveColumnDragBridge",
10096
+ "return": {
10097
+ "type": {
10098
+ "text": "GridProColumnDragBridge | null"
10099
+ }
10100
+ },
10101
+ "parameters": [
10102
+ {
10103
+ "name": "context",
10104
+ "type": {
10105
+ "text": "unknown"
10106
+ }
10107
+ }
10108
+ ],
10109
+ "privacy": "public"
10110
+ },
10111
+ {
10112
+ "kind": "function",
10113
+ "name": "resolveColumnDragBridgeDirect",
10114
+ "return": {
10115
+ "type": {
10116
+ "text": "GridProColumnDragBridge | null"
10117
+ }
10118
+ },
10119
+ "parameters": [
10120
+ {
10121
+ "name": "bridge",
10122
+ "optional": true,
10123
+ "type": {
10124
+ "text": "GridProColumnDragBridge | null"
10125
+ }
10126
+ }
10127
+ ],
10128
+ "privacy": "public"
10129
+ },
10130
+ {
10131
+ "kind": "function",
10132
+ "name": "resolveColumnDragBridgeFromApi",
10133
+ "return": {
10134
+ "type": {
10135
+ "text": "GridProColumnDragBridge | null"
10136
+ }
10137
+ },
10138
+ "parameters": [
10139
+ {
10140
+ "name": "api",
10141
+ "type": {
10142
+ "text": "{ getGridOption?: (key: string) => unknown } | null | undefined"
10143
+ }
10144
+ }
10145
+ ],
10146
+ "privacy": "public"
10147
+ }
10148
+ ],
10149
+ "exports": [
10150
+ {
10151
+ "kind": "js",
10152
+ "name": "GRID_PRO_COLUMN_DRAG_BRIDGE_CONTEXT_KEY",
10153
+ "declaration": {
10154
+ "name": "GRID_PRO_COLUMN_DRAG_BRIDGE_CONTEXT_KEY",
10155
+ "module": "src/column-selection/grid-pro-column-drag-bridge.ts"
10156
+ }
10157
+ },
10158
+ {
10159
+ "kind": "js",
10160
+ "name": "resolveColumnDragBridge",
10161
+ "declaration": {
10162
+ "name": "resolveColumnDragBridge",
10163
+ "module": "src/column-selection/grid-pro-column-drag-bridge.ts"
10164
+ }
10165
+ },
10166
+ {
10167
+ "kind": "js",
10168
+ "name": "resolveColumnDragBridgeDirect",
10169
+ "declaration": {
10170
+ "name": "resolveColumnDragBridgeDirect",
10171
+ "module": "src/column-selection/grid-pro-column-drag-bridge.ts"
10172
+ }
10173
+ },
10174
+ {
10175
+ "kind": "js",
10176
+ "name": "resolveColumnDragBridgeFromApi",
10177
+ "declaration": {
10178
+ "name": "resolveColumnDragBridgeFromApi",
10179
+ "module": "src/column-selection/grid-pro-column-drag-bridge.ts"
10180
+ }
10181
+ }
10182
+ ]
10183
+ },
10184
+ {
10185
+ "kind": "javascript-module",
10186
+ "path": "src/column-selection/index.ts",
10187
+ "declarations": [],
10188
+ "exports": [
10189
+ {
10190
+ "kind": "js",
10191
+ "name": "*",
10192
+ "declaration": {
10193
+ "name": "*",
10194
+ "package": "./column-selection"
10195
+ }
10196
+ },
10197
+ {
10198
+ "kind": "js",
10199
+ "name": "*",
10200
+ "declaration": {
10201
+ "name": "*",
10202
+ "package": "./column-selection.styles"
10203
+ }
10204
+ },
10205
+ {
10206
+ "kind": "js",
10207
+ "name": "*",
10208
+ "declaration": {
10209
+ "name": "*",
10210
+ "package": "./column-selection.template"
10211
+ }
10212
+ },
10213
+ {
10214
+ "kind": "js",
10215
+ "name": "*",
10216
+ "declaration": {
10217
+ "name": "*",
10218
+ "package": "./resolve-columns-picker-api"
10219
+ }
10220
+ },
10221
+ {
10222
+ "kind": "js",
10223
+ "name": "*",
10224
+ "declaration": {
10225
+ "name": "*",
10226
+ "package": "./column-picker.utils"
10227
+ }
10228
+ },
10229
+ {
10230
+ "kind": "js",
10231
+ "name": "*",
10232
+ "declaration": {
10233
+ "name": "*",
10234
+ "package": "./grid-pro-column-drag-bridge"
10235
+ }
10236
+ },
10237
+ {
10238
+ "kind": "js",
10239
+ "name": "*",
10240
+ "declaration": {
10241
+ "name": "*",
10242
+ "package": "./column-picker-ag-drag"
10243
+ }
10244
+ }
10245
+ ]
10246
+ },
10247
+ {
10248
+ "kind": "javascript-module",
10249
+ "path": "src/column-selection/resolve-columns-picker-api.ts",
10250
+ "declarations": [
10251
+ {
10252
+ "kind": "function",
10253
+ "name": "resolveColumnsPickerApi",
10254
+ "return": {
10255
+ "type": {
10256
+ "text": "GridApi | null"
10257
+ }
10258
+ },
10259
+ "parameters": [
10260
+ {
10261
+ "name": "gridHost",
10262
+ "optional": true,
10263
+ "type": {
10264
+ "text": "ColumnSelectionHost | null"
10265
+ }
10266
+ },
10267
+ {
10268
+ "name": "gridApi",
10269
+ "optional": true,
10270
+ "type": {
10271
+ "text": "GridApi | null"
10272
+ }
10273
+ }
10274
+ ],
10275
+ "description": "Resolves an AG `gridApi` suitable for ColumnSelection.\nClassic Grid Pro (v29) exposes column helpers on `columnApi` — bridge when needed.",
10276
+ "privacy": "public"
10277
+ }
10278
+ ],
10279
+ "exports": [
10280
+ {
10281
+ "kind": "js",
10282
+ "name": "resolveColumnsPickerApi",
10283
+ "declaration": {
10284
+ "name": "resolveColumnsPickerApi",
10285
+ "module": "src/column-selection/resolve-columns-picker-api.ts"
10286
+ }
10287
+ }
10288
+ ]
10289
+ },
8910
10290
  {
8911
10291
  "kind": "javascript-module",
8912
10292
  "path": "src/datasource/base.datasource.ts",