react-semaphor 0.1.533 → 0.1.535

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 (1194) hide show
  1. package/dist/analytics-protocol/index.js +210 -207
  2. package/dist/brand-studio/index.js +27 -27
  3. package/dist/briefings/index.js +21 -21
  4. package/dist/chunks/bookmark-state-B-I9BDD0.js +331 -0
  5. package/dist/chunks/{calculated-field-identity-Q1aCudPD.js → calculated-field-identity-BptYhyOP.js} +138 -186
  6. package/dist/chunks/calendar-day-equality-BRjN1S9h.js +383 -0
  7. package/dist/chunks/{card-config-utils-DqyASiD_.js → card-config-utils-C-QfuqEy.js} +70 -71
  8. package/dist/chunks/common-types-g7yS12Cg.js +114 -0
  9. package/dist/chunks/{dashboard-DUCg1mNJ.js → dashboard-B7y_WeF2.js} +1 -1
  10. package/dist/chunks/dashboard-briefing-launcher-DwSxDtgZ.js +4224 -0
  11. package/dist/chunks/dashboard-controls-CzTh9J0s.js +2314 -0
  12. package/dist/chunks/{dashboard-json-BSOgXGwr.js → dashboard-json-o6tOjNhH.js} +3 -3
  13. package/dist/chunks/{edit-dashboard-visual-CQDyMxM7.js → edit-dashboard-visual-Lp_iKRGH.js} +12567 -12561
  14. package/dist/chunks/{field-aggregations-BCDRRYMo.js → field-aggregations-CoLzYHeL.js} +371 -474
  15. package/dist/chunks/field-dependencies-CpRUwr9J.js +281 -0
  16. package/dist/chunks/{index-BpAM7UE0.js → index-P5aUuGF1.js} +404 -402
  17. package/dist/chunks/{matrix-analytical-definition-Q4GL16S4.js → matrix-analytical-definition-CgBTD6H8.js} +1 -1
  18. package/dist/chunks/{matrix-card-CkfMe-h-.js → matrix-card-CAdizkUl.js} +2 -2
  19. package/dist/chunks/{matrix-control-sources-fD0Ns_9n.js → matrix-control-sources-DTqcA2_L.js} +22 -22
  20. package/dist/chunks/{matrix-definition-CiGRzEzt.js → matrix-definition-D9iShKZI.js} +1 -1
  21. package/dist/chunks/{matrix-formatter-DY1y9odV.js → matrix-formatter-DJCk8Znf.js} +5 -5
  22. package/dist/chunks/matrix-member-presentation-Ct8GuxHt.js +209 -0
  23. package/dist/chunks/{matrix-operation-contract-BotZ-6zT.js → matrix-operation-contract-BKupLHXL.js} +89 -89
  24. package/dist/chunks/{metric-comparison-QEkk6hqL.js → metric-comparison-BKHyvnAy.js} +4 -4
  25. package/dist/chunks/{numeric-presentation-D2I9znLM.js → numeric-presentation-CWu3gunq.js} +1 -1
  26. package/dist/chunks/pivot-header-presentation-CHs2GFrM.js +753 -0
  27. package/dist/chunks/{pivot-result-identity-BhAm8MCg.js → pivot-result-identity-Bs4tLtLo.js} +1 -1
  28. package/dist/chunks/{pivot-result-lifecycle-BxmATSFJ.js → pivot-result-lifecycle-DQz_gjGu.js} +8 -8
  29. package/dist/chunks/{raw-temporal-contract-BlyUGV3y.js → raw-temporal-contract-mLFS-9wk.js} +1 -1
  30. package/dist/chunks/{raw-temporal-B0EuwEHr.js → raw-temporal-iMXRK-Qz.js} +2 -2
  31. package/dist/chunks/report-preferences-dialog-BaUr346O.js +1623 -0
  32. package/dist/chunks/{report-runtime-context-DceiWMKz.js → report-runtime-context-CG_I0PPW.js} +1 -1
  33. package/dist/chunks/{layout-grid-CiubineE.js → save-kO6cIaob.js} +20 -2
  34. package/dist/chunks/{selection-reducer-DQok8gsC.js → selection-reducer-CiDEtmAq.js} +14 -14
  35. package/dist/chunks/{semantic-format-ByNkXJpY.js → semantic-format-DiqYeKwU.js} +3 -3
  36. package/dist/chunks/{semaphor-ready-indicator-yZ0JtL4D.js → semaphor-ready-indicator-B017OW6t.js} +92185 -105744
  37. package/dist/chunks/slider-CrLoCpsr.js +2383 -0
  38. package/dist/chunks/{source-entity-resolution-BWmw7a8P.js → source-entity-resolution-C-oNyYMp.js} +1 -1
  39. package/dist/chunks/{switch-D95vek6N.js → switch-ojmMsFMO.js} +7026 -6038
  40. package/dist/chunks/{temporal-bucket-contract-CdBtoHX2.js → temporal-bucket-contract-D2OuaVZ7.js} +1 -1
  41. package/dist/chunks/{temporal-input-presentation-wUO681Zs.js → temporal-input-presentation-BD7YNUzu.js} +9 -9
  42. package/dist/chunks/{token-types-Brc30mNN.js → token-types-DtSJOUjh.js} +1 -1
  43. package/dist/chunks/upload-CAIpsti1.js +15 -0
  44. package/dist/chunks/use-create-flow-overlay-state-BbwQ0gpQ.js +1457 -0
  45. package/dist/chunks/{validators-BS521dum.js → validators-DMSH81OM.js} +654 -639
  46. package/dist/chunks/zoned-wall-clock-1qlWCE20.js +129 -0
  47. package/dist/dashboard/index.js +2 -2
  48. package/dist/dashboard-authoring/index.js +116 -112
  49. package/dist/data-app-sdk/index.js +5 -5
  50. package/dist/data-app-sdk-adapters/index.js +2 -2
  51. package/dist/data-app-sdk-validation/index.js +7 -7
  52. package/dist/format-utils/index.js +144 -140
  53. package/dist/index.js +230 -227
  54. package/dist/report-runtime-context/index.js +2 -2
  55. package/dist/style.css +1 -1
  56. package/dist/surfboard/index.js +2 -2
  57. package/dist/types/briefings/index.d.ts +0 -1
  58. package/dist/types/components/surfboard/controls/dashboard-filter-controls-launcher.d.ts +0 -1
  59. package/dist/types/components/ui-custom/date-range-presets.d.ts +5 -1
  60. package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +8 -0
  61. package/dist/types/components/visual/data-table/types/data-table.d.ts +11 -0
  62. package/dist/types/components/visual/shared/utils/table-column-order.d.ts +15 -0
  63. package/dist/types/index.js +47 -29
  64. package/dist/types/lib/dashboard-viewer/export-table-view.d.ts +43 -0
  65. package/dist/types/lib/dashboard-viewer/table-view-edit.d.ts +14 -0
  66. package/dist/types/lib/dashboard-viewer/table-view.d.ts +150 -0
  67. package/dist/types/lib/dashboard-viewer/use-table-view.d.ts +51 -0
  68. package/dist/types/lib/dashboard-viewer/viewer-state-client.d.ts +72 -0
  69. package/dist/types/lib/dashboard-viewer/viewer-state.d.ts +212 -0
  70. package/dist/types/lib/dashboard-viewer/viewer-store-state.d.ts +44 -0
  71. package/dist/types/lib/download-pdf.d.ts +9 -1
  72. package/dist/types/lib/hooks/index.d.ts +1 -2
  73. package/dist/types/lib/hooks/use-dashboard-query.d.ts +2 -2
  74. package/dist/types/lib/hooks/use-dashboard.d.ts +5 -2
  75. package/dist/types/lib/query-context/build-card-query-context.d.ts +9 -1
  76. package/dist/types/lib/stores/dashboard-store.d.ts +77 -12
  77. package/dist/types/lib/stores/editor-store.d.ts +1 -14
  78. package/dist/types/lib/table-formatting/table-totals-settings.d.ts +5 -1
  79. package/dist/types/lib/types/ai-context-types.d.ts +20 -0
  80. package/dist/types/lib/types/common-types.d.ts +11 -20
  81. package/dist/types/lib/types/index.d.ts +1 -0
  82. package/dist/types/lib/types/token-types.d.ts +0 -7
  83. package/dist/types/lib/utils/filter-default-value-utils.d.ts +11 -4
  84. package/dist/types/lib/utils.d.ts +1 -2
  85. package/dist/types/shared/analytics-protocol/index.d.ts +1 -0
  86. package/dist/types/shared/analytics-protocol/relative-date-filter.d.ts +7 -0
  87. package/dist/types/shared/analytics-protocol/sort-target.d.ts +40 -0
  88. package/dist/types/shared/dashboard-authoring/dashboard-filter-value-compatibility.d.ts +9 -0
  89. package/dist/types/shared/dashboard-viewer/bookmark-state.d.ts +35 -0
  90. package/dist/types/shared/dashboard-viewer/index.d.ts +3 -0
  91. package/dist/types/shared/dashboard-viewer/table-settings.d.ts +89 -0
  92. package/dist/types/shared/dashboard-viewer/viewer-contract.d.ts +95 -0
  93. package/dist/types/shared/format-utils/filter-line.d.ts +47 -0
  94. package/dist/types/shared/format-utils/index.d.ts +1 -0
  95. package/package.json +2 -8
  96. package/dist/chunks/calendar-day-equality-Ddkpfhot.js +0 -466
  97. package/dist/chunks/common-types-C6cAQgyh.js +0 -9
  98. package/dist/chunks/dashboard-briefing-launcher-B0PuQUiR.js +0 -3488
  99. package/dist/chunks/dashboard-controls-Cl3fLg9W.js +0 -2194
  100. package/dist/chunks/editor-action-buttons-BKVrZnRQ.js +0 -2070
  101. package/dist/chunks/field-dependencies-BWStuMxe.js +0 -178
  102. package/dist/chunks/matrix-member-presentation-Glhem6xB.js +0 -182
  103. package/dist/chunks/pivot-header-presentation-Bb6b3Ch2.js +0 -640
  104. package/dist/chunks/report-preferences-dialog-WDM7qWxV.js +0 -1231
  105. package/dist/chunks/save-DgMfP0j8.js +0 -21
  106. package/dist/chunks/slider-0mB67Lls.js +0 -876
  107. package/dist/chunks/zoned-wall-clock-BkxV9jS2.js +0 -46
  108. package/dist/dashboard-assistant/index.js +0 -11
  109. package/dist/types/components/ai/assistant-context-entity-controls.d.ts +0 -25
  110. package/dist/types/components/ai/assistant-message-components.d.ts +0 -59
  111. package/dist/types/components/ai/assistant-message.d.ts +0 -10
  112. package/dist/types/components/ai/assistant-virtualized-messages.d.ts +0 -21
  113. package/dist/types/components/ai/chat-custom-visual.d.ts +0 -21
  114. package/dist/types/components/ai/chat-input-with-context.d.ts +0 -16
  115. package/dist/types/components/ai/chat-input.d.ts +0 -11
  116. package/dist/types/components/ai/chat-visual-query-utils.d.ts +0 -68
  117. package/dist/types/components/ai/chat-visual.d.ts +0 -12
  118. package/dist/types/components/ai/clarification-card.d.ts +0 -20
  119. package/dist/types/components/ai/context-entity-display.d.ts +0 -10
  120. package/dist/types/components/ai/dashboard-assistant.d.ts +0 -27
  121. package/dist/types/components/ai/debug-message-array.d.ts +0 -1
  122. package/dist/types/components/ai/editor-assistant.d.ts +0 -7
  123. package/dist/types/components/ai/entity-mention-dropdown.d.ts +0 -16
  124. package/dist/types/components/ai/file-upload/file-preview.d.ts +0 -15
  125. package/dist/types/components/ai/file-upload/file-upload-button.d.ts +0 -10
  126. package/dist/types/components/ai/file-upload/file-upload-zone.d.ts +0 -11
  127. package/dist/types/components/ai/file-upload/file-utils.d.ts +0 -63
  128. package/dist/types/components/ai/highlighted-input.d.ts +0 -22
  129. package/dist/types/components/ai/message-feedback-buttons.d.ts +0 -9
  130. package/dist/types/components/ai/pending-messages-display.d.ts +0 -7
  131. package/dist/types/components/ai/placeholders.d.ts +0 -8
  132. package/dist/types/components/ai/pre-block.d.ts +0 -30
  133. package/dist/types/components/ai/quick-replies.d.ts +0 -8
  134. package/dist/types/components/ai/reasoning-effort-slider.d.ts +0 -7
  135. package/dist/types/components/ai/seed-questions.d.ts +0 -6
  136. package/dist/types/components/ai/tool-call-error.d.ts +0 -8
  137. package/dist/types/components/ai/tool-call.d.ts +0 -12
  138. package/dist/types/components/ai/tool-output-errors.d.ts +0 -2
  139. package/dist/types/components/ai/tool-part-renderer.d.ts +0 -32
  140. package/dist/types/components/appearance/dashboard-appearance-adapter.d.ts +0 -17
  141. package/dist/types/components/appearance/surface-appearance-adapter.d.ts +0 -21
  142. package/dist/types/components/briefings/attachments/briefing-attachment-list.d.ts +0 -9
  143. package/dist/types/components/briefings/attachments/briefing-attachment-selector.d.ts +0 -27
  144. package/dist/types/components/briefings/attachments/briefing-attachment-settings-dialog.d.ts +0 -16
  145. package/dist/types/components/briefings/briefing-author/attachment-section.d.ts +0 -20
  146. package/dist/types/components/briefings/briefing-author/author-actions.d.ts +0 -25
  147. package/dist/types/components/briefings/briefing-author/content-composers.d.ts +0 -9
  148. package/dist/types/components/briefings/briefing-author/defaults.d.ts +0 -1
  149. package/dist/types/components/briefings/briefing-author/delivery-section.d.ts +0 -56
  150. package/dist/types/components/briefings/briefing-author/form-primitives.d.ts +0 -20
  151. package/dist/types/components/briefings/briefing-author/output.d.ts +0 -2
  152. package/dist/types/components/briefings/briefing-author/presentation-vocabulary.d.ts +0 -17
  153. package/dist/types/components/briefings/briefing-author/schedule-model.d.ts +0 -13
  154. package/dist/types/components/briefings/briefing-author/schedule-section.d.ts +0 -5
  155. package/dist/types/components/briefings/briefing-author/schedule.d.ts +0 -8
  156. package/dist/types/components/briefings/briefing-author/scope-picker.d.ts +0 -14
  157. package/dist/types/components/briefings/briefing-author/slack-channel-picker.d.ts +0 -22
  158. package/dist/types/components/briefings/briefing-author/styles.d.ts +0 -4
  159. package/dist/types/components/briefings/briefing-html-frame.d.ts +0 -5
  160. package/dist/types/components/briefings/briefing-recipient-field.d.ts +0 -17
  161. package/dist/types/components/briefings/briefing-tones.d.ts +0 -30
  162. package/dist/types/components/briefings/dashboard-briefing-launcher-list.d.ts +0 -25
  163. package/dist/types/components/briefings/dashboard-briefing-launcher-model.d.ts +0 -14
  164. package/dist/types/components/briefings/dashboard-schedule-report-menu-item.d.ts +0 -11
  165. package/dist/types/components/calculated-fields/ai-compose-panel.d.ts +0 -19
  166. package/dist/types/components/calculated-fields/calculated-field-editor-utils.d.ts +0 -44
  167. package/dist/types/components/calculated-fields/calculated-field-editor.d.ts +0 -27
  168. package/dist/types/components/calculated-fields/domain-definition-notice.d.ts +0 -4
  169. package/dist/types/components/calculated-fields/expression-validator.d.ts +0 -8
  170. package/dist/types/components/calculated-fields/field-picker-panel.d.ts +0 -20
  171. package/dist/types/components/calculated-fields/field-type-toggle.d.ts +0 -7
  172. package/dist/types/components/calculated-fields/index.d.ts +0 -10
  173. package/dist/types/components/calculated-fields/insert-field-popover.d.ts +0 -18
  174. package/dist/types/components/calculated-fields/placeholder-field-picker.d.ts +0 -30
  175. package/dist/types/components/calculated-fields/summary-ribbon.d.ts +0 -23
  176. package/dist/types/components/calculated-fields/templates-menu.d.ts +0 -11
  177. package/dist/types/components/calculated-fields/validation-results.d.ts +0 -4
  178. package/dist/types/components/calculated-fields/validation-tooltip-content.d.ts +0 -4
  179. package/dist/types/components/chart-selector/chart-icon.d.ts +0 -37
  180. package/dist/types/components/chart-selector/chart-selector-item.d.ts +0 -18
  181. package/dist/types/components/chart-selector/chart-selector.d.ts +0 -25
  182. package/dist/types/components/chart-selector/chart-type-picker.d.ts +0 -12
  183. package/dist/types/components/chart-selector/index.d.ts +0 -4
  184. package/dist/types/components/chart-selector/use-chart-selector-model.d.ts +0 -18
  185. package/dist/types/components/dashboard/card-actions-menu.d.ts +0 -10
  186. package/dist/types/components/dashboard/card-selection-pill.d.ts +0 -5
  187. package/dist/types/components/dashboard/comparison-badge-state.d.ts +0 -3
  188. package/dist/types/components/dashboard/comparison-metadata-badge.d.ts +0 -11
  189. package/dist/types/components/dashboard/dashboard-card.d.ts +0 -17
  190. package/dist/types/components/dashboard/dashboard-container.d.ts +0 -9
  191. package/dist/types/components/dashboard/dashboard-error-state.d.ts +0 -9
  192. package/dist/types/components/dashboard/dashboard-frame-expand-dialog.d.ts +0 -5
  193. package/dist/types/components/dashboard/dashboard-frame.d.ts +0 -14
  194. package/dist/types/components/dashboard/dashboard-hub-row.d.ts +0 -18
  195. package/dist/types/components/dashboard/dashboard-hub-sort.d.ts +0 -8
  196. package/dist/types/components/dashboard/dashboard-hub.d.ts +0 -5
  197. package/dist/types/components/dashboard/dashboard-tabs.d.ts +0 -1
  198. package/dist/types/components/dashboard/dashboard-visual-error-state.d.ts +0 -20
  199. package/dist/types/components/dashboard/download-pdf.d.ts +0 -10
  200. package/dist/types/components/dashboard/drill-breadcrumb.d.ts +0 -7
  201. package/dist/types/components/dashboard/drill-navigation-controls.d.ts +0 -13
  202. package/dist/types/components/dashboard/inline-filter-bar.d.ts +0 -17
  203. package/dist/types/components/dashboard/inline-filter-component.d.ts +0 -30
  204. package/dist/types/components/dashboard/kpi-header.d.ts +0 -2
  205. package/dist/types/components/dashboard/semaphor-style-wrapper.d.ts +0 -3
  206. package/dist/types/components/dashboard/sheet/delete-sheet-alert.d.ts +0 -6
  207. package/dist/types/components/dashboard/sheet/layout-change-guard.d.ts +0 -6
  208. package/dist/types/components/dashboard/sheet/sheet-empty-state.d.ts +0 -5
  209. package/dist/types/components/dashboard/sheet/sheet-layout.d.ts +0 -5
  210. package/dist/types/components/dashboard/sheet/sheet-layout_backup.d.ts +0 -0
  211. package/dist/types/components/dashboard/summary-warning-utils.d.ts +0 -6
  212. package/dist/types/components/dashboard/unconfigured-card-state.d.ts +0 -21
  213. package/dist/types/components/document-sheet/document-control-options-resolver.d.ts +0 -9
  214. package/dist/types/components/document-sheet/document-control-toolbar-actions.d.ts +0 -12
  215. package/dist/types/components/document-sheet/document-input-bar.d.ts +0 -30
  216. package/dist/types/components/document-sheet/document-insert-picker.d.ts +0 -37
  217. package/dist/types/components/document-sheet/document-inspector-primitives.d.ts +0 -10
  218. package/dist/types/components/document-sheet/document-kpi-section.d.ts +0 -17
  219. package/dist/types/components/document-sheet/document-matrix-layout-context.d.ts +0 -10
  220. package/dist/types/components/document-sheet/document-matrix-section.d.ts +0 -27
  221. package/dist/types/components/document-sheet/document-measure-layer.d.ts +0 -45
  222. package/dist/types/components/document-sheet/document-outline.d.ts +0 -21
  223. package/dist/types/components/document-sheet/document-page-navigation.d.ts +0 -22
  224. package/dist/types/components/document-sheet/document-page.d.ts +0 -68
  225. package/dist/types/components/document-sheet/document-panel/document-side-panel.d.ts +0 -36
  226. package/dist/types/components/document-sheet/document-panel/inputs-panel.d.ts +0 -9
  227. package/dist/types/components/document-sheet/document-panel/page-panel.d.ts +0 -5
  228. package/dist/types/components/document-sheet/document-panel/panel-controls.d.ts +0 -14
  229. package/dist/types/components/document-sheet/document-panel/region-panels.d.ts +0 -11
  230. package/dist/types/components/document-sheet/document-panel/section-panel.d.ts +0 -25
  231. package/dist/types/components/document-sheet/document-section-print-boundary.d.ts +0 -9
  232. package/dist/types/components/document-sheet/document-sheet.d.ts +0 -10
  233. package/dist/types/components/document-sheet/document-table-chrome.d.ts +0 -22
  234. package/dist/types/components/document-sheet/document-table-section.d.ts +0 -28
  235. package/dist/types/components/document-sheet/document-text-editor.d.ts +0 -8
  236. package/dist/types/components/document-sheet/document-text-preview-context.d.ts +0 -8
  237. package/dist/types/components/document-sheet/use-first-fitting-variant.d.ts +0 -18
  238. package/dist/types/components/editor/dashboard-json.d.ts +0 -1
  239. package/dist/types/components/editor/editable.d.ts +0 -14
  240. package/dist/types/components/editor/editor-main/card-display-options-dropdown.d.ts +0 -7
  241. package/dist/types/components/editor/editor-main/card-tabs.d.ts +0 -16
  242. package/dist/types/components/editor/editor-main/chart-configuration-options.d.ts +0 -1
  243. package/dist/types/components/editor/editor-main/clear-card-utils.d.ts +0 -2
  244. package/dist/types/components/editor/editor-main/code-editors/expanded-query-editor-dialog.d.ts +0 -14
  245. package/dist/types/components/editor/editor-main/code-editors/json-editor-readonly.d.ts +0 -3
  246. package/dist/types/components/editor/editor-main/code-editors/python-editor.d.ts +0 -2
  247. package/dist/types/components/editor/editor-main/code-editors/sql-editor.d.ts +0 -6
  248. package/dist/types/components/editor/editor-main/code-editors/use-query-editor-session-transfer.d.ts +0 -17
  249. package/dist/types/components/editor/editor-main/content-editable-text.d.ts +0 -11
  250. package/dist/types/components/editor/editor-main/context-hover-card.d.ts +0 -2
  251. package/dist/types/components/editor/editor-main/customize-visual/customize-chart-config.d.ts +0 -7
  252. package/dist/types/components/editor/editor-main/customize-visual/customize-visual-dialog.d.ts +0 -7
  253. package/dist/types/components/editor/editor-main/dashboard-filter-subscription-status.d.ts +0 -6
  254. package/dist/types/components/editor/editor-main/dashboard-variable-node.d.ts +0 -39
  255. package/dist/types/components/editor/editor-main/data-label-settings.d.ts +0 -5
  256. package/dist/types/components/editor/editor-main/edit-dashboard-visual.d.ts +0 -2
  257. package/dist/types/components/editor/editor-main/editor-action-buttons.d.ts +0 -28
  258. package/dist/types/components/editor/editor-main/editor-actions-biz-mode.d.ts +0 -1
  259. package/dist/types/components/editor/editor-main/editor-card.d.ts +0 -4
  260. package/dist/types/components/editor/editor-main/editor-chart-config-execution.d.ts +0 -6
  261. package/dist/types/components/editor/editor-main/editor-main-component.d.ts +0 -1
  262. package/dist/types/components/editor/editor-main/editor-query-section.d.ts +0 -11
  263. package/dist/types/components/editor/editor-main/editor-visual-dropdown.d.ts +0 -0
  264. package/dist/types/components/editor/editor-main/editor-visual-section.d.ts +0 -23
  265. package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-constants.d.ts +0 -7
  266. package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-prompts.d.ts +0 -19
  267. package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-telemetry.d.ts +0 -2
  268. package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-types.d.ts +0 -48
  269. package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-utils.d.ts +0 -11
  270. package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer.d.ts +0 -2
  271. package/dist/types/components/editor/editor-main/legend-popover.d.ts +0 -1
  272. package/dist/types/components/editor/editor-main/raw-output-table.d.ts +0 -15
  273. package/dist/types/components/editor/editor-main/realtime-popover.d.ts +0 -1
  274. package/dist/types/components/editor/editor-main/table-type-switcher.d.ts +0 -5
  275. package/dist/types/components/editor/editor-main/text-card-rich-editor.d.ts +0 -25
  276. package/dist/types/components/editor/editor-main/text-card.d.ts +0 -10
  277. package/dist/types/components/editor/editor-main/use-editor-clear-action.d.ts +0 -1
  278. package/dist/types/components/editor/editor-main/visual-aside.d.ts +0 -5
  279. package/dist/types/components/editor/editor-main/visual-save-as-dialog.d.ts +0 -18
  280. package/dist/types/components/editor/editor-main/visual-settings.d.ts +0 -9
  281. package/dist/types/components/editor/mode-toggle.d.ts +0 -13
  282. package/dist/types/components/editor/query-feedback/query-card-details.d.ts +0 -14
  283. package/dist/types/components/editor/query-feedback/query-error.d.ts +0 -42
  284. package/dist/types/components/editor/query-feedback/query-feedback-layout.d.ts +0 -10
  285. package/dist/types/components/editor/query-feedback/query-info-clipboard.d.ts +0 -3
  286. package/dist/types/components/editor/query-feedback/query-info.d.ts +0 -21
  287. package/dist/types/components/editor/query-feedback/query-sql-preview.d.ts +0 -23
  288. package/dist/types/components/editor/query-feedback/use-query-error-feedback.d.ts +0 -7
  289. package/dist/types/components/editor/query-feedback/use-query-error.d.ts +0 -16
  290. package/dist/types/components/editor/query-feedback/visual-query-error-state.d.ts +0 -5
  291. package/dist/types/components/editor/utils/utils.d.ts +0 -2
  292. package/dist/types/components/error-fallbacks/delivery-render-error.d.ts +0 -7
  293. package/dist/types/components/error-fallbacks/fallback.d.ts +0 -31
  294. package/dist/types/components/error-fallbacks/render-reset-error-boundary.d.ts +0 -33
  295. package/dist/types/components/explorer/chart-configuration/area-series-config-section.d.ts +0 -5
  296. package/dist/types/components/explorer/chart-configuration/axis-config-section.d.ts +0 -1
  297. package/dist/types/components/explorer/chart-configuration/bar-series-config-section.d.ts +0 -5
  298. package/dist/types/components/explorer/chart-configuration/bar-style-config-section.d.ts +0 -7
  299. package/dist/types/components/explorer/chart-configuration/bubble-scatter-config-section.d.ts +0 -1
  300. package/dist/types/components/explorer/chart-configuration/bullet-config-section.d.ts +0 -1
  301. package/dist/types/components/explorer/chart-configuration/chart-config-sections.d.ts +0 -15
  302. package/dist/types/components/explorer/chart-configuration/chart-configuration-panel.d.ts +0 -18
  303. package/dist/types/components/explorer/chart-configuration/chart-fields-configuration.d.ts +0 -22
  304. package/dist/types/components/explorer/chart-configuration/chart-type-row.d.ts +0 -25
  305. package/dist/types/components/explorer/chart-configuration/color-config-section.d.ts +0 -18
  306. package/dist/types/components/explorer/chart-configuration/combo-series-config-section.d.ts +0 -6
  307. package/dist/types/components/explorer/chart-configuration/comparison-config-section.d.ts +0 -7
  308. package/dist/types/components/explorer/chart-configuration/custom-color-picker.d.ts +0 -7
  309. package/dist/types/components/explorer/chart-configuration/data-labels-config-section.d.ts +0 -1
  310. package/dist/types/components/explorer/chart-configuration/data-labels-fields.d.ts +0 -21
  311. package/dist/types/components/explorer/chart-configuration/funnel-config-section.d.ts +0 -1
  312. package/dist/types/components/explorer/chart-configuration/heatmap-color-config-section.d.ts +0 -1
  313. package/dist/types/components/explorer/chart-configuration/kpi-format-config-section.d.ts +0 -1
  314. package/dist/types/components/explorer/chart-configuration/legend-config-section.d.ts +0 -1
  315. package/dist/types/components/explorer/chart-configuration/line-series-config-section.d.ts +0 -5
  316. package/dist/types/components/explorer/chart-configuration/line-style-config-section.d.ts +0 -7
  317. package/dist/types/components/explorer/chart-configuration/matrix-authoring-controls.d.ts +0 -41
  318. package/dist/types/components/explorer/chart-configuration/matrix-authoring-panel.d.ts +0 -21
  319. package/dist/types/components/explorer/chart-configuration/matrix-editor-settings.d.ts +0 -5
  320. package/dist/types/components/explorer/chart-configuration/metric-format-editor.d.ts +0 -12
  321. package/dist/types/components/explorer/chart-configuration/number-format-config.d.ts +0 -18
  322. package/dist/types/components/explorer/chart-configuration/number-format-config.utils.d.ts +0 -11
  323. package/dist/types/components/explorer/chart-configuration/stacked-sort-section.d.ts +0 -1
  324. package/dist/types/components/explorer/chart-configuration/summary-config-section.d.ts +0 -1
  325. package/dist/types/components/explorer/chart-configuration/tooltip-format-config-section.d.ts +0 -1
  326. package/dist/types/components/explorer/chart-configuration/treemap-color-mode-section.d.ts +0 -1
  327. package/dist/types/components/explorer/chart-configuration/use-effective-card-type.d.ts +0 -1
  328. package/dist/types/components/explorer/data-source/add-data-picker.d.ts +0 -23
  329. package/dist/types/components/explorer/data-source/data-source-panel.d.ts +0 -6
  330. package/dist/types/components/explorer/data-source/dataset-selector-popover.d.ts +0 -11
  331. package/dist/types/components/explorer/data-source/db-schema-selector.d.ts +0 -8
  332. package/dist/types/components/explorer/data-source/direct-source-tree.d.ts +0 -10
  333. package/dist/types/components/explorer/data-source/entity-tooltip.d.ts +0 -14
  334. package/dist/types/components/explorer/data-source/file-upload-manager.d.ts +0 -1
  335. package/dist/types/components/explorer/data-source/select-data-dialog.d.ts +0 -6
  336. package/dist/types/components/explorer/data-source/selected-entities-summary.d.ts +0 -15
  337. package/dist/types/components/explorer/data-source/semantic-domain-access-utils.d.ts +0 -10
  338. package/dist/types/components/explorer/data-source/semantic-domain-selection.d.ts +0 -9
  339. package/dist/types/components/explorer/data-source/semantic-domain-tree.d.ts +0 -22
  340. package/dist/types/components/explorer/data-source/url-source-manager.d.ts +0 -1
  341. package/dist/types/components/explorer/data-source/utils.d.ts +0 -11
  342. package/dist/types/components/explorer/drag-and-drop/attribute-filter-dialog.d.ts +0 -11
  343. package/dist/types/components/explorer/drag-and-drop/data-concept-tooltip.d.ts +0 -17
  344. package/dist/types/components/explorer/drag-and-drop/drag-overlay.d.ts +0 -12
  345. package/dist/types/components/explorer/drag-and-drop/draggable-field-shell.d.ts +0 -15
  346. package/dist/types/components/explorer/drag-and-drop/draggable-field.d.ts +0 -13
  347. package/dist/types/components/explorer/drag-and-drop/droppable-zone.d.ts +0 -13
  348. package/dist/types/components/explorer/drag-and-drop/inline-edit-field.d.ts +0 -10
  349. package/dist/types/components/explorer/drag-and-drop/matrix-draggable-field.d.ts +0 -5
  350. package/dist/types/components/explorer/drag-and-drop/pivot-alias-template-editor.d.ts +0 -6
  351. package/dist/types/components/explorer/drag-and-drop/pivot-member-order-visibility.d.ts +0 -3
  352. package/dist/types/components/explorer/drag-and-drop/pivot-value-aliases-editor.d.ts +0 -6
  353. package/dist/types/components/explorer/fields/field-expression-annotation.d.ts +0 -15
  354. package/dist/types/components/explorer/fields/field-group.d.ts +0 -0
  355. package/dist/types/components/explorer/fields/field-hover-preview.d.ts +0 -10
  356. package/dist/types/components/explorer/fields/field-option-list.d.ts +0 -54
  357. package/dist/types/components/explorer/fields/field-row.d.ts +0 -39
  358. package/dist/types/components/explorer/fields/fields-list.d.ts +0 -10
  359. package/dist/types/components/explorer/fields/fields-section.d.ts +0 -6
  360. package/dist/types/components/explorer/fields/filterable-fields-panel.d.ts +0 -11
  361. package/dist/types/components/explorer/fields/icon-for-field-type.d.ts +0 -3
  362. package/dist/types/components/explorer/fields/numeric-popover.d.ts +0 -6
  363. package/dist/types/components/explorer/fields/source-field.d.ts +0 -28
  364. package/dist/types/components/explorer/fields/type-glyph.d.ts +0 -14
  365. package/dist/types/components/explorer/filters/card-date-filter.d.ts +0 -20
  366. package/dist/types/components/explorer/filters/card-date-selection.d.ts +0 -28
  367. package/dist/types/components/explorer/filters/card-filter-builder.d.ts +0 -11
  368. package/dist/types/components/explorer/filters/card-filter-manager.d.ts +0 -12
  369. package/dist/types/components/explorer/filters/field-multi-select.d.ts +0 -16
  370. package/dist/types/components/explorer/filters/field-single-select.d.ts +0 -16
  371. package/dist/types/components/explorer/filters/searchable-field-combobox.d.ts +0 -17
  372. package/dist/types/components/explorer/filters/utils.d.ts +0 -2
  373. package/dist/types/components/explorer/join-configuration/auto-join-info.d.ts +0 -16
  374. package/dist/types/components/explorer/join-configuration/join-conditions-builder.d.ts +0 -10
  375. package/dist/types/components/explorer/join-configuration/join-dialog.d.ts +0 -14
  376. package/dist/types/components/explorer/join-configuration/join-manager.d.ts +0 -10
  377. package/dist/types/components/explorer/join-configuration/join-tooltip-content.d.ts +0 -9
  378. package/dist/types/components/explorer/main/explorer.d.ts +0 -1
  379. package/dist/types/components/explorer/main/view-tabs.d.ts +0 -17
  380. package/dist/types/components/explorer/visualization/chart-settings-panel.d.ts +0 -7
  381. package/dist/types/components/explorer/visualization/chart-split-view.d.ts +0 -16
  382. package/dist/types/components/explorer/visualization/feedback-dialog.d.ts +0 -11
  383. package/dist/types/components/explorer/visualization/row-limit-selector.d.ts +0 -1
  384. package/dist/types/components/explorer/visualization/visualization-panel.d.ts +0 -18
  385. package/dist/types/components/icons/bullet-chart-icon.d.ts +0 -2
  386. package/dist/types/components/interactions/applied-filters-display.d.ts +0 -40
  387. package/dist/types/components/interactions/card-renderer.d.ts +0 -17
  388. package/dist/types/components/interactions/click-to-filter-review-dialog.d.ts +0 -22
  389. package/dist/types/components/interactions/dashboard-drill-host.d.ts +0 -13
  390. package/dist/types/components/interactions/drill-config/hierarchy-steps-display.d.ts +0 -9
  391. package/dist/types/components/interactions/drill-config/hierarchy-templates.d.ts +0 -5
  392. package/dist/types/components/interactions/drill-config/sortable-hierarchy.d.ts +0 -15
  393. package/dist/types/components/interactions/drill-config/sortable-step.d.ts +0 -14
  394. package/dist/types/components/interactions/drill-config/step-configuration-popup.d.ts +0 -13
  395. package/dist/types/components/interactions/drill-hierarchy-modal.d.ts +0 -43
  396. package/dist/types/components/interactions/drill-to-url-modal.d.ts +0 -26
  397. package/dist/types/components/interactions/filter-badge-tooltip.d.ts +0 -13
  398. package/dist/types/components/interactions/hooks/use-drill-hierarchy.d.ts +0 -15
  399. package/dist/types/components/interactions/hooks/use-hierarchy-templates.d.ts +0 -5
  400. package/dist/types/components/interactions/hooks/use-step-reordering.d.ts +0 -6
  401. package/dist/types/components/interactions/insight-modal.d.ts +0 -29
  402. package/dist/types/components/interactions/insight-viewer.d.ts +0 -16
  403. package/dist/types/components/interactions/interactions-sheet.d.ts +0 -7
  404. package/dist/types/components/interactions/panels/click-to-filter-panel.d.ts +0 -20
  405. package/dist/types/components/interactions/panels/drill-down-panel.d.ts +0 -44
  406. package/dist/types/components/interactions/panels/drill-to-dashboard-panel.d.ts +0 -24
  407. package/dist/types/components/interactions/panels/drill-to-insight-panel.d.ts +0 -24
  408. package/dist/types/components/interactions/panels/drill-to-url-panel-v2.d.ts +0 -9
  409. package/dist/types/components/interactions/panels/dynamic-drill-panel.d.ts +0 -24
  410. package/dist/types/components/interactions/panels/panel-field.d.ts +0 -29
  411. package/dist/types/components/interactions/pickers/dashboard-picker.d.ts +0 -36
  412. package/dist/types/components/interactions/pickers/insight-picker.d.ts +0 -36
  413. package/dist/types/components/interactions/replaced-card-wrapper.d.ts +0 -13
  414. package/dist/types/components/interactions/reusable/field-combobox.d.ts +0 -22
  415. package/dist/types/components/interactions/reusable/field-selector.d.ts +0 -15
  416. package/dist/types/components/interactions/reusable/inline-field-selector.d.ts +0 -11
  417. package/dist/types/components/interactions/reusable/interaction-selection-popover.d.ts +0 -107
  418. package/dist/types/components/interactions/sheet/action-editor.d.ts +0 -17
  419. package/dist/types/components/interactions/sheet/action-meta.d.ts +0 -45
  420. package/dist/types/components/interactions/sheet/action-picker.d.ts +0 -7
  421. package/dist/types/components/interactions/sheet/click-outcome-preview.d.ts +0 -10
  422. package/dist/types/components/interactions/sheet/interactions-home.d.ts +0 -28
  423. package/dist/types/components/interactions/sheet/sheet-parts.d.ts +0 -37
  424. package/dist/types/components/kpi-visual-v2/country-selector.d.ts +0 -11
  425. package/dist/types/components/kpi-visual-v2/kpi-card-explorer.d.ts +0 -12
  426. package/dist/types/components/kpi-visual-v2/kpi-settings.d.ts +0 -1
  427. package/dist/types/components/kpi-visual-v2/kpi-tooltip-components.d.ts +0 -25
  428. package/dist/types/components/kpi-visual-v2/kpi-tooltip-utils.d.ts +0 -8
  429. package/dist/types/components/kpi-visual-v2/kpi-tooltip.d.ts +0 -15
  430. package/dist/types/components/kpi-visual-v2/metric-comparison-indicator.d.ts +0 -17
  431. package/dist/types/components/kpi-visual-v2/metric-comparison-kpi.d.ts +0 -11
  432. package/dist/types/components/providers/appearance-context.d.ts +0 -23
  433. package/dist/types/components/providers/appearance-provider.d.ts +0 -4
  434. package/dist/types/components/providers/brand-studio-preview-context.d.ts +0 -5
  435. package/dist/types/components/providers/dashboard-matrix-execution-provider.d.ts +0 -10
  436. package/dist/types/components/providers/dashboard-preferences-provider.d.ts +0 -12
  437. package/dist/types/components/providers/display-preferences-provider.d.ts +0 -10
  438. package/dist/types/components/providers/theme-provider-context.d.ts +0 -7
  439. package/dist/types/components/providers/theme-provider.d.ts +0 -8
  440. package/dist/types/components/providers/ux-provider.d.ts +0 -6
  441. package/dist/types/components/semaphor/code-block.d.ts +0 -20
  442. package/dist/types/components/semaphor/code-editor.d.ts +0 -114
  443. package/dist/types/components/semaphor/code-highlight.d.ts +0 -15
  444. package/dist/types/components/sharing-and-management/common-loading-skeleton.d.ts +0 -1
  445. package/dist/types/components/sharing-and-management/create-dashboard-dialog.d.ts +0 -11
  446. package/dist/types/components/sharing-and-management/create-visual-dialog.d.ts +0 -11
  447. package/dist/types/components/sharing-and-management/dashboard-actions-menu.d.ts +0 -19
  448. package/dist/types/components/sharing-and-management/group-management-dialog.d.ts +0 -6
  449. package/dist/types/components/sharing-and-management/hooks/use-current-user-info.d.ts +0 -41
  450. package/dist/types/components/sharing-and-management/hooks/use-group-management.d.ts +0 -30
  451. package/dist/types/components/sharing-and-management/hooks/use-groups.d.ts +0 -30
  452. package/dist/types/components/sharing-and-management/hooks/use-resource-share-data.d.ts +0 -27
  453. package/dist/types/components/sharing-and-management/hooks/use-unified-users.d.ts +0 -61
  454. package/dist/types/components/sharing-and-management/hooks/use-visual-utils.d.ts +0 -33
  455. package/dist/types/components/sharing-and-management/resource-edit-dialog.d.ts +0 -15
  456. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/access-list.d.ts +0 -14
  457. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/adapter.d.ts +0 -53
  458. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/configs.d.ts +0 -40
  459. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/invite-combobox.d.ts +0 -22
  460. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/primitives.d.ts +0 -33
  461. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/share-shape.d.ts +0 -20
  462. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/shell.d.ts +0 -17
  463. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/status-bar.d.ts +0 -5
  464. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/submission.d.ts +0 -38
  465. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/types.d.ts +0 -62
  466. package/dist/types/components/sharing-and-management/utils/resource-query-keys.d.ts +0 -14
  467. package/dist/types/components/sharing-and-management/utils/shares-types.d.ts +0 -130
  468. package/dist/types/components/surfboard/card-controls-toolbar.d.ts +0 -17
  469. package/dist/types/components/surfboard/controls/card-runtime-controls.d.ts +0 -6
  470. package/dist/types/components/surfboard/controls/control-authoring-utils.d.ts +0 -182
  471. package/dist/types/components/surfboard/controls/control-binding-list-editor.d.ts +0 -21
  472. package/dist/types/components/surfboard/controls/control-definition-editor-helpers.d.ts +0 -43
  473. package/dist/types/components/surfboard/controls/control-definition-editor-sections.d.ts +0 -65
  474. package/dist/types/components/surfboard/controls/control-definition-list-editor.d.ts +0 -29
  475. package/dist/types/components/surfboard/controls/control-select-ui-utils.d.ts +0 -13
  476. package/dist/types/components/surfboard/controls/control-toolbar-item.d.ts +0 -22
  477. package/dist/types/components/surfboard/controls/control-toolbar-settings-form.d.ts +0 -30
  478. package/dist/types/components/surfboard/controls/control-toolbar-settings-shell.d.ts +0 -37
  479. package/dist/types/components/surfboard/controls/control-usage-utils.d.ts +0 -22
  480. package/dist/types/components/surfboard/controls/control-validation-message-utils.d.ts +0 -5
  481. package/dist/types/components/surfboard/controls/dashboard-control-delete-dialog.d.ts +0 -7
  482. package/dist/types/components/surfboard/controls/dashboard-control-toolbar-popover.d.ts +0 -9
  483. package/dist/types/components/surfboard/controls/dashboard-runtime-controls.d.ts +0 -1
  484. package/dist/types/components/surfboard/controls/matrix-structural-targets.d.ts +0 -10
  485. package/dist/types/components/surfboard/controls/presentation-currency-binding-editor.d.ts +0 -15
  486. package/dist/types/components/surfboard/controls/runtime-control-input.d.ts +0 -16
  487. package/dist/types/components/surfboard/controls/runtime-control-utils.d.ts +0 -16
  488. package/dist/types/components/surfboard/controls/runtime-controls-group.d.ts +0 -12
  489. package/dist/types/components/surfboard/controls/sortable-control-toolbar-item.d.ts +0 -9
  490. package/dist/types/components/surfboard/controls/use-create-flow-overlay-state.d.ts +0 -32
  491. package/dist/types/components/surfboard/controls/use-dashboard-structural-participants.d.ts +0 -14
  492. package/dist/types/components/surfboard/controls/use-resolved-control-toolbar-options.d.ts +0 -26
  493. package/dist/types/components/surfboard/dashboard-controls.d.ts +0 -1
  494. package/dist/types/components/surfboard/dashboard-plus-main.d.ts +0 -1
  495. package/dist/types/components/surfboard/download-settings-dialog.d.ts +0 -8
  496. package/dist/types/components/surfboard/expanded-card-view.d.ts +0 -11
  497. package/dist/types/components/surfboard/export-dialog.d.ts +0 -16
  498. package/dist/types/components/surfboard/filter/apply-filters-check-box.d.ts +0 -7
  499. package/dist/types/components/surfboard/filter/custom-filter/custom-filter-selector.d.ts +0 -12
  500. package/dist/types/components/surfboard/filter/custom-filter/custom-filter-types.d.ts +0 -45
  501. package/dist/types/components/surfboard/filter/custom-filter/dashboard-custom-filter.d.ts +0 -19
  502. package/dist/types/components/surfboard/filter/custom-filter-popover.d.ts +0 -75
  503. package/dist/types/components/surfboard/filter/dashboard-filter-info-group.d.ts +0 -21
  504. package/dist/types/components/surfboard/filter/dashboard-filter-mapping-panel.d.ts +0 -40
  505. package/dist/types/components/surfboard/filter/date-comparison-controls.d.ts +0 -8
  506. package/dist/types/components/surfboard/filter/date-comparison-label.d.ts +0 -2
  507. package/dist/types/components/surfboard/filter/date-range-filter-v2.d.ts +0 -38
  508. package/dist/types/components/surfboard/filter/date-range-filter.d.ts +0 -7
  509. package/dist/types/components/surfboard/filter/day-picker.d.ts +0 -30
  510. package/dist/types/components/surfboard/filter/field-date-comparison-scope-message.d.ts +0 -2
  511. package/dist/types/components/surfboard/filter/field-date-filter.d.ts +0 -9
  512. package/dist/types/components/surfboard/filter/filter-actions-popover-content.d.ts +0 -9
  513. package/dist/types/components/surfboard/filter/filter-aside.d.ts +0 -1
  514. package/dist/types/components/surfboard/filter/filter-component.d.ts +0 -13
  515. package/dist/types/components/surfboard/filter/filter-configuration-panel.d.ts +0 -102
  516. package/dist/types/components/surfboard/filter/filter-default-values-picker.d.ts +0 -29
  517. package/dist/types/components/surfboard/filter/filter-error-state.d.ts +0 -7
  518. package/dist/types/components/surfboard/filter/filter-header.d.ts +0 -4
  519. package/dist/types/components/surfboard/filter/filter-info.d.ts +0 -17
  520. package/dist/types/components/surfboard/filter/filter-option-dependencies-settings.d.ts +0 -34
  521. package/dist/types/components/surfboard/filter/filter-option-list.d.ts +0 -39
  522. package/dist/types/components/surfboard/filter/filter-option-source-settings.d.ts +0 -15
  523. package/dist/types/components/surfboard/filter/filter-picker-popover-content.d.ts +0 -1
  524. package/dist/types/components/surfboard/filter/filter-popover-parts.d.ts +0 -37
  525. package/dist/types/components/surfboard/filter/filter-scope-config.d.ts +0 -8
  526. package/dist/types/components/surfboard/filter/filter-settings-popover-delete.d.ts +0 -0
  527. package/dist/types/components/surfboard/filter/filter-settings-popover.d.ts +0 -5
  528. package/dist/types/components/surfboard/filter/filter-toolbar-item.d.ts +0 -22
  529. package/dist/types/components/surfboard/filter/filter-toolbar-order-utils.d.ts +0 -3
  530. package/dist/types/components/surfboard/filter/filter-toolbar.d.ts +0 -7
  531. package/dist/types/components/surfboard/filter/global-date-comparison-footer.d.ts +0 -14
  532. package/dist/types/components/surfboard/filter/global-date-filter.d.ts +0 -9
  533. package/dist/types/components/surfboard/filter/hidden-filters.d.ts +0 -1
  534. package/dist/types/components/surfboard/filter/month-picker.d.ts +0 -19
  535. package/dist/types/components/surfboard/filter/multi-select-filter.d.ts +0 -16
  536. package/dist/types/components/surfboard/filter/multi-select-inline-content.d.ts +0 -39
  537. package/dist/types/components/surfboard/filter/numeric-filter-input.d.ts +0 -8
  538. package/dist/types/components/surfboard/filter/radio-button-filter.d.ts +0 -8
  539. package/dist/types/components/surfboard/filter/selection-chip.d.ts +0 -11
  540. package/dist/types/components/surfboard/filter/selection-filter-section.d.ts +0 -4
  541. package/dist/types/components/surfboard/filter/sortable-filter-toolbar-item.d.ts +0 -24
  542. package/dist/types/components/surfboard/filter/tabs-filter.d.ts +0 -8
  543. package/dist/types/components/surfboard/filter/use-dashboard-filter-mapping-popover.d.ts +0 -80
  544. package/dist/types/components/surfboard/filter/use-filter-header-width.d.ts +0 -12
  545. package/dist/types/components/surfboard/filter/utils.d.ts +0 -4
  546. package/dist/types/components/surfboard/inline-options-error-state.d.ts +0 -6
  547. package/dist/types/components/surfboard/input-chip-row.d.ts +0 -21
  548. package/dist/types/components/surfboard/preferences/calendar-preferences-panel.d.ts +0 -7
  549. package/dist/types/components/surfboard/preferences/display-format-preferences-panel.d.ts +0 -6
  550. package/dist/types/components/surfboard/toolbar-item-shell.d.ts +0 -17
  551. package/dist/types/components/text-variables/variable-chip-plugin.d.ts +0 -23
  552. package/dist/types/components/text-variables/variable-chip.d.ts +0 -18
  553. package/dist/types/components/text-variables/variable-picker.d.ts +0 -27
  554. package/dist/types/components/ui/accordion.d.ts +0 -7
  555. package/dist/types/components/ui/alert-dialog.d.ts +0 -20
  556. package/dist/types/components/ui/alert.d.ts +0 -8
  557. package/dist/types/components/ui/audience-type-badge.d.ts +0 -9
  558. package/dist/types/components/ui/avatar.d.ts +0 -6
  559. package/dist/types/components/ui/badge.d.ts +0 -9
  560. package/dist/types/components/ui/button.d.ts +0 -11
  561. package/dist/types/components/ui/calendar.d.ts +0 -8
  562. package/dist/types/components/ui/card.d.ts +0 -8
  563. package/dist/types/components/ui/checkbox.d.ts +0 -4
  564. package/dist/types/components/ui/collapsible.d.ts +0 -5
  565. package/dist/types/components/ui/command.d.ts +0 -82
  566. package/dist/types/components/ui/context-menu.d.ts +0 -27
  567. package/dist/types/components/ui/dialog.d.ts +0 -28
  568. package/dist/types/components/ui/dropdown-menu.d.ts +0 -27
  569. package/dist/types/components/ui/hover-card.d.ts +0 -6
  570. package/dist/types/components/ui/input.d.ts +0 -9
  571. package/dist/types/components/ui/label.d.ts +0 -5
  572. package/dist/types/components/ui/popover.d.ts +0 -7
  573. package/dist/types/components/ui/portal-scope.d.ts +0 -6
  574. package/dist/types/components/ui/progress.d.ts +0 -4
  575. package/dist/types/components/ui/radio-group.d.ts +0 -5
  576. package/dist/types/components/ui/resizable.d.ts +0 -23
  577. package/dist/types/components/ui/scroll-area.d.ts +0 -5
  578. package/dist/types/components/ui/select.d.ts +0 -16
  579. package/dist/types/components/ui/separator.d.ts +0 -4
  580. package/dist/types/components/ui/sheet.d.ts +0 -39
  581. package/dist/types/components/ui/skeleton.d.ts +0 -2
  582. package/dist/types/components/ui/slider.d.ts +0 -4
  583. package/dist/types/components/ui/sonner.d.ts +0 -4
  584. package/dist/types/components/ui/switch.d.ts +0 -10
  585. package/dist/types/components/ui/table.d.ts +0 -13
  586. package/dist/types/components/ui/tabs.d.ts +0 -14
  587. package/dist/types/components/ui/textarea.d.ts +0 -9
  588. package/dist/types/components/ui/toggle.d.ts +0 -12
  589. package/dist/types/components/ui/tooltip.d.ts +0 -8
  590. package/dist/types/components/ui-custom/color-field.d.ts +0 -31
  591. package/dist/types/components/ui-custom/column-search.d.ts +0 -42
  592. package/dist/types/components/ui-custom/combo-box-2.d.ts +0 -40
  593. package/dist/types/components/ui-custom/command-input-custom.d.ts +0 -9
  594. package/dist/types/components/ui-custom/copy-button.d.ts +0 -15
  595. package/dist/types/components/ui-custom/copy-on-click.d.ts +0 -11
  596. package/dist/types/components/ui-custom/custom-scroll-area.d.ts +0 -6
  597. package/dist/types/components/ui-custom/date-range-picker.d.ts +0 -85
  598. package/dist/types/components/ui-custom/date-range-popover.d.ts +0 -14
  599. package/dist/types/components/ui-custom/details.d.ts +0 -7
  600. package/dist/types/components/ui-custom/dev-mode-switch.d.ts +0 -8
  601. package/dist/types/components/ui-custom/editable-text.d.ts +0 -22
  602. package/dist/types/components/ui-custom/grip-reveal.d.ts +0 -4
  603. package/dist/types/components/ui-custom/icon-button.d.ts +0 -13
  604. package/dist/types/components/ui-custom/load-on-scroll-status.d.ts +0 -8
  605. package/dist/types/components/ui-custom/load-on-scroll-utils.d.ts +0 -1
  606. package/dist/types/components/ui-custom/loading-dots.d.ts +0 -7
  607. package/dist/types/components/ui-custom/local-blur-input.d.ts +0 -9
  608. package/dist/types/components/ui-custom/option-search-input.d.ts +0 -16
  609. package/dist/types/components/ui-custom/overflow-div.d.ts +0 -5
  610. package/dist/types/components/ui-custom/overflow-span.d.ts +0 -5
  611. package/dist/types/components/ui-custom/popover-content-custom.d.ts +0 -4
  612. package/dist/types/components/ui-custom/pre-tag.d.ts +0 -4
  613. package/dist/types/components/ui-custom/radio-indicator.d.ts +0 -13
  614. package/dist/types/components/ui-custom/report-calendar.d.ts +0 -18
  615. package/dist/types/components/ui-custom/resizable-handle-custom.d.ts +0 -7
  616. package/dist/types/components/ui-custom/reusable-select.d.ts +0 -16
  617. package/dist/types/components/ui-custom/visual-badge.d.ts +0 -9
  618. package/dist/types/components/visual/aggregated-table/aggregate-table.d.ts +0 -3
  619. package/dist/types/components/visual/aggregated-table/columns/aggregate-columns.d.ts +0 -4
  620. package/dist/types/components/visual/aggregated-table/columns/column-cell-components.d.ts +0 -17
  621. package/dist/types/components/visual/aggregated-table/columns/column-definitions.d.ts +0 -29
  622. package/dist/types/components/visual/aggregated-table/columns/column-header-components.d.ts +0 -32
  623. package/dist/types/components/visual/aggregated-table/components/aggregate-table-body.d.ts +0 -18
  624. package/dist/types/components/visual/aggregated-table/components/grand-total-footer.d.ts +0 -23
  625. package/dist/types/components/visual/aggregated-table/hooks/use-aggregate-table.d.ts +0 -15
  626. package/dist/types/components/visual/aggregated-table/types/aggregate-table.d.ts +0 -68
  627. package/dist/types/components/visual/aggregated-table/utils/cell-formatters.d.ts +0 -6
  628. package/dist/types/components/visual/aggregated-table/utils/data-organizer.d.ts +0 -12
  629. package/dist/types/components/visual/aggregated-table/utils/export-utils.d.ts +0 -29
  630. package/dist/types/components/visual/aggregated-table/utils/metric-format-resolver.d.ts +0 -66
  631. package/dist/types/components/visual/aggregated-table/utils/temporal-presentation.d.ts +0 -17
  632. package/dist/types/components/visual/chart-utils.d.ts +0 -15
  633. package/dist/types/components/visual/chartjs-visual.d.ts +0 -9
  634. package/dist/types/components/visual/column-display-utils.d.ts +0 -2
  635. package/dist/types/components/visual/custom-visual/build-inline-filter-nodes.d.ts +0 -21
  636. package/dist/types/components/visual/custom-visual/build-multi-input-props.d.ts +0 -48
  637. package/dist/types/components/visual/custom-visual/component-combo-box.d.ts +0 -11
  638. package/dist/types/components/visual/custom-visual/custom-card-theme-adapter.d.ts +0 -3
  639. package/dist/types/components/visual/custom-visual/custom-visual-settings.d.ts +0 -1
  640. package/dist/types/components/visual/custom-visual/custom-visual-temporal-presentation.d.ts +0 -35
  641. package/dist/types/components/visual/custom-visual/custom-visual-types.d.ts +0 -171
  642. package/dist/types/components/visual/custom-visual/custom-visual-utils.d.ts +0 -57
  643. package/dist/types/components/visual/custom-visual/dashboard-custom-visual.d.ts +0 -7
  644. package/dist/types/components/visual/custom-visual/editor-custom-visual.d.ts +0 -6
  645. package/dist/types/components/visual/custom-visual/hooks/use-ensure-react-globals.d.ts +0 -10
  646. package/dist/types/components/visual/custom-visual/hooks/use-remote-chart-store.d.ts +0 -9
  647. package/dist/types/components/visual/custom-visual/multi-input-empty-renderer.d.ts +0 -8
  648. package/dist/types/components/visual/custom-visual/use-custom-visual.d.ts +0 -16
  649. package/dist/types/components/visual/data-table/column-def.d.ts +0 -54
  650. package/dist/types/components/visual/data-table/column-resize-handle.d.ts +0 -8
  651. package/dist/types/components/visual/data-table/copyable-cell.d.ts +0 -9
  652. package/dist/types/components/visual/data-table/data-table-column-settings.d.ts +0 -2
  653. package/dist/types/components/visual/data-table/data-table-conditional-formatting-settings.d.ts +0 -21
  654. package/dist/types/components/visual/data-table/data-table-pagination.d.ts +0 -2
  655. package/dist/types/components/visual/data-table/data-table-toolbar.d.ts +0 -2
  656. package/dist/types/components/visual/data-table/data-table.d.ts +0 -2
  657. package/dist/types/components/visual/data-table/hooks/use-sql-raw-temporal-format-draft.d.ts +0 -15
  658. package/dist/types/components/visual/data-table/hooks/use-table-query-state.d.ts +0 -30
  659. package/dist/types/components/visual/data-table/overflow-cell.d.ts +0 -9
  660. package/dist/types/components/visual/data-table/table-conditional-formatting-authoring.d.ts +0 -17
  661. package/dist/types/components/visual/data-table/table-conditional-formatting-rule-model.d.ts +0 -33
  662. package/dist/types/components/visual/data-table/table-settings-toolbar-button.d.ts +0 -9
  663. package/dist/types/components/visual/data-table/table-skeleton.d.ts +0 -6
  664. package/dist/types/components/visual/data-table/table-visual.d.ts +0 -39
  665. package/dist/types/components/visual/data-table/utils/data-table-utils.d.ts +0 -74
  666. package/dist/types/components/visual/data-table/utils/sort-conversion.d.ts +0 -5
  667. package/dist/types/components/visual/data-table/utils/table-behavior.d.ts +0 -33
  668. package/dist/types/components/visual/data-table/utils/utils.d.ts +0 -4
  669. package/dist/types/components/visual/info-hover.d.ts +0 -7
  670. package/dist/types/components/visual/kpi-visual/format-number-setting.d.ts +0 -1
  671. package/dist/types/components/visual/kpi-visual/kpi-bulb-utils.d.ts +0 -3
  672. package/dist/types/components/visual/kpi-visual/kpi-card-with-info.d.ts +0 -9
  673. package/dist/types/components/visual/kpi-visual/kpi-card.d.ts +0 -28
  674. package/dist/types/components/visual/kpi-visual/kpi-editor-ownership-badge.d.ts +0 -4
  675. package/dist/types/components/visual/kpi-visual/kpi-utils.d.ts +0 -12
  676. package/dist/types/components/visual/matrix-table/matrix-axis-menu.d.ts +0 -21
  677. package/dist/types/components/visual/matrix-table/matrix-loading-skeleton.d.ts +0 -14
  678. package/dist/types/components/visual/matrix-table/matrix-selection-click.d.ts +0 -6
  679. package/dist/types/components/visual/matrix-table/matrix-tabular-boundary.d.ts +0 -8
  680. package/dist/types/components/visual/matrix-table/matrix-viewer-geometry.d.ts +0 -21
  681. package/dist/types/components/visual/matrix-table/matrix-window-viewer.d.ts +0 -26
  682. package/dist/types/components/visual/pivot-table/aggregation-menu.d.ts +0 -23
  683. package/dist/types/components/visual/pivot-table/columns/data-columns.d.ts +0 -26
  684. package/dist/types/components/visual/pivot-table/columns/row-header-columns.d.ts +0 -20
  685. package/dist/types/components/visual/pivot-table/columns/row-total-column.d.ts +0 -12
  686. package/dist/types/components/visual/pivot-table/components/pivot-table-body.d.ts +0 -23
  687. package/dist/types/components/visual/pivot-table/components/pivot-table-footer.d.ts +0 -30
  688. package/dist/types/components/visual/pivot-table/hooks/use-pivot-column-headers.d.ts +0 -28
  689. package/dist/types/components/visual/pivot-table/hooks/use-pivot-pagination.d.ts +0 -29
  690. package/dist/types/components/visual/pivot-table/hooks/use-pivot-sorting.d.ts +0 -21
  691. package/dist/types/components/visual/pivot-table/hooks/use-pivot-table-settings.d.ts +0 -15
  692. package/dist/types/components/visual/pivot-table/pivot-table-tanstack.d.ts +0 -41
  693. package/dist/types/components/visual/pivot-table/pivot-table.d.ts +0 -100
  694. package/dist/types/components/visual/pivot-table/utils/cell-value-formatter.d.ts +0 -14
  695. package/dist/types/components/visual/pivot-table/utils/pivot-field-identity.d.ts +0 -8
  696. package/dist/types/components/visual/pivot-table/utils/pivot-formatting-utils.d.ts +0 -24
  697. package/dist/types/components/visual/pivot-table/utils/pivot-metric-formatting.d.ts +0 -18
  698. package/dist/types/components/visual/pivot-table/utils/pivot-physical-schema.d.ts +0 -14
  699. package/dist/types/components/visual/pivot-table/utils/pivot-table-aggregation-helpers.d.ts +0 -21
  700. package/dist/types/components/visual/pivot-table/utils/pivot-table-data-processor.d.ts +0 -35
  701. package/dist/types/components/visual/pivot-table/utils/pivot-table-export-utils.d.ts +0 -25
  702. package/dist/types/components/visual/pivot-table/utils/pivot-table-response.d.ts +0 -50
  703. package/dist/types/components/visual/pivot-table/utils/pivot-table-sorter.d.ts +0 -7
  704. package/dist/types/components/visual/pivot-table/utils/row-span-calculator.d.ts +0 -14
  705. package/dist/types/components/visual/settings/axis-mapping.d.ts +0 -9
  706. package/dist/types/components/visual/settings/chart-documentation.d.ts +0 -28
  707. package/dist/types/components/visual/settings/chart-orientation.d.ts +0 -1
  708. package/dist/types/components/visual/settings/color-format.d.ts +0 -8
  709. package/dist/types/components/visual/settings/controls-settings.d.ts +0 -8
  710. package/dist/types/components/visual/settings/dataset-label-popover.d.ts +0 -4
  711. package/dist/types/components/visual/settings/display-labels.d.ts +0 -2
  712. package/dist/types/components/visual/settings/filter-on-click-columns.d.ts +0 -1
  713. package/dist/types/components/visual/settings/frame-filters.d.ts +0 -7
  714. package/dist/types/components/visual/settings/inline-filters-settings.d.ts +0 -12
  715. package/dist/types/components/visual/settings/kpi-settings.d.ts +0 -1
  716. package/dist/types/components/visual/settings/map-chart-settings.d.ts +0 -1
  717. package/dist/types/components/visual/settings/scale-options.d.ts +0 -1
  718. package/dist/types/components/visual/settings/table-column-visibility-settings.d.ts +0 -16
  719. package/dist/types/components/visual/settings/table-presentation-settings.d.ts +0 -53
  720. package/dist/types/components/visual/settings/table-visual-settings.d.ts +0 -8
  721. package/dist/types/components/visual/settings/text-settings.d.ts +0 -1
  722. package/dist/types/components/visual/settings/text-type-radio.d.ts +0 -2
  723. package/dist/types/components/visual/shared/hooks/use-column-resizing.d.ts +0 -15
  724. package/dist/types/components/visual/shared/utils/column-type-detector.d.ts +0 -25
  725. package/dist/types/components/visual/shared/utils/table-render-policy.d.ts +0 -20
  726. package/dist/types/components/visual/table-appearance/table-appearance-adapter.d.ts +0 -41
  727. package/dist/types/components/visual/table-appearance/table-appearance-primitives.d.ts +0 -32
  728. package/dist/types/components/visual/visual-error-state.d.ts +0 -13
  729. package/dist/types/components/visual/visual-utils.d.ts +0 -33
  730. package/dist/types/dashboard-assistant/index.d.ts +0 -80
  731. package/dist/types/dashboard-assistant.d.ts +0 -2
  732. package/dist/types/data-app-sdk/analysis-payload.d.ts +0 -2
  733. package/dist/types/data-app-sdk/devtools/issues.d.ts +0 -21
  734. package/dist/types/data-app-sdk/devtools/labels.d.ts +0 -4
  735. package/dist/types/data-app-sdk/devtools/result-preview.d.ts +0 -8
  736. package/dist/types/data-app-sdk/devtools/styles.d.ts +0 -15
  737. package/dist/types/data-app-sdk/devtools/window-snapshot.d.ts +0 -3
  738. package/dist/types/data-app-sdk/matrix-filter-validation.d.ts +0 -12
  739. package/dist/types/data-app-sdk/query-request.d.ts +0 -32
  740. package/dist/types/data-app-sdk/runtime.d.ts +0 -21
  741. package/dist/types/lib/actions/data-point-click-action.d.ts +0 -13
  742. package/dist/types/lib/ai-utils.d.ts +0 -16
  743. package/dist/types/lib/api/index.d.ts +0 -2
  744. package/dist/types/lib/appearance/chart-style-adapter.d.ts +0 -4
  745. package/dist/types/lib/appearance/dom.d.ts +0 -3
  746. package/dist/types/lib/appearance/fonts.d.ts +0 -9
  747. package/dist/types/lib/briefings/briefing-attachment-model.d.ts +0 -104
  748. package/dist/types/lib/charts/area-chart.d.ts +0 -5
  749. package/dist/types/lib/charts/bar-chart.d.ts +0 -5
  750. package/dist/types/lib/charts/bubble-scatter-chart.d.ts +0 -28
  751. package/dist/types/lib/charts/bullet-chart.d.ts +0 -17
  752. package/dist/types/lib/charts/cartesian-data.d.ts +0 -72
  753. package/dist/types/lib/charts/cartesian-fields.d.ts +0 -60
  754. package/dist/types/lib/charts/chart-availability.d.ts +0 -13
  755. package/dist/types/lib/charts/chart-axis-policy.d.ts +0 -20
  756. package/dist/types/lib/charts/chart-config.d.ts +0 -9
  757. package/dist/types/lib/charts/chart-documentation.d.ts +0 -23
  758. package/dist/types/lib/charts/chart-font.d.ts +0 -10
  759. package/dist/types/lib/charts/chart-selector.d.ts +0 -2
  760. package/dist/types/lib/charts/chart-utils.d.ts +0 -258
  761. package/dist/types/lib/charts/color-utils.d.ts +0 -29
  762. package/dist/types/lib/charts/combo-chart.d.ts +0 -5
  763. package/dist/types/lib/charts/configuration/axis-configurator.d.ts +0 -36
  764. package/dist/types/lib/charts/configuration/combo-config.d.ts +0 -36
  765. package/dist/types/lib/charts/configuration/data-labels-config.d.ts +0 -36
  766. package/dist/types/lib/charts/configuration/legend-config.d.ts +0 -18
  767. package/dist/types/lib/charts/create-chart.d.ts +0 -30
  768. package/dist/types/lib/charts/custom-config-utils.d.ts +0 -0
  769. package/dist/types/lib/charts/funnel-chart.d.ts +0 -13
  770. package/dist/types/lib/charts/heatmap-chart.d.ts +0 -15
  771. package/dist/types/lib/charts/heatmap-constants.d.ts +0 -7
  772. package/dist/types/lib/charts/line-chart.d.ts +0 -5
  773. package/dist/types/lib/charts/range-chart.d.ts +0 -12
  774. package/dist/types/lib/charts/shared/category-group-axis-plugin.d.ts +0 -23
  775. package/dist/types/lib/charts/shared/dataset-utils.d.ts +0 -36
  776. package/dist/types/lib/charts/stacked-line-chart.d.ts +0 -2
  777. package/dist/types/lib/charts/tornado-chart.d.ts +0 -13
  778. package/dist/types/lib/charts/treemap-chart.d.ts +0 -15
  779. package/dist/types/lib/charts/utils.d.ts +0 -12
  780. package/dist/types/lib/constants/summary.d.ts +0 -2
  781. package/dist/types/lib/constants/tool-status-messages.d.ts +0 -12
  782. package/dist/types/lib/constants.d.ts +0 -30
  783. package/dist/types/lib/contexts/dashboard-preferences-context.d.ts +0 -7
  784. package/dist/types/lib/contexts/display-preferences-context.d.ts +0 -6
  785. package/dist/types/lib/contexts/interactions-popover-context.d.ts +0 -14
  786. package/dist/types/lib/countries.d.ts +0 -8
  787. package/dist/types/lib/csv-download.d.ts +0 -11
  788. package/dist/types/lib/csv-encoding-options.d.ts +0 -6
  789. package/dist/types/lib/dashboard/click-to-filter-card-references.d.ts +0 -23
  790. package/dist/types/lib/dashboard/duplicate-sheet.d.ts +0 -11
  791. package/dist/types/lib/dashboard/global-date-filter-utils.d.ts +0 -22
  792. package/dist/types/lib/dashboard/open-card-in-visual-editor.d.ts +0 -15
  793. package/dist/types/lib/dashboard-inputs/build-normalized-dashboard-inputs.d.ts +0 -55
  794. package/dist/types/lib/dashboard-inputs/build-selection-dashboard-inputs.d.ts +0 -31
  795. package/dist/types/lib/dashboard-inputs/card-compat-adapter.d.ts +0 -9
  796. package/dist/types/lib/dashboard-inputs/click-to-filter-emitted-fields.d.ts +0 -17
  797. package/dist/types/lib/dashboard-inputs/click-to-filter-mapping-draft.d.ts +0 -99
  798. package/dist/types/lib/dashboard-inputs/click-to-filter-sheet-reach.d.ts +0 -12
  799. package/dist/types/lib/dashboard-inputs/dashboard-control-compat-adapter.d.ts +0 -7
  800. package/dist/types/lib/dashboard-inputs/dashboard-filter-authoring-policy.d.ts +0 -21
  801. package/dist/types/lib/dashboard-inputs/dashboard-filter-compat-adapter.d.ts +0 -10
  802. package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-candidate-metadata.d.ts +0 -107
  803. package/dist/types/lib/dashboard-inputs/dashboard-filter-ownership.d.ts +0 -13
  804. package/dist/types/lib/dashboard-inputs/dashboard-filter-value-identity.d.ts +0 -36
  805. package/dist/types/lib/dashboard-inputs/dashboard-input-authoring-aliases.d.ts +0 -13
  806. package/dist/types/lib/dashboard-inputs/dashboard-input-display.d.ts +0 -11
  807. package/dist/types/lib/dashboard-inputs/dashboard-input-edit-validation.d.ts +0 -20
  808. package/dist/types/lib/dashboard-inputs/dashboard-input-helpers.d.ts +0 -15
  809. package/dist/types/lib/dashboard-inputs/dashboard-input-snapshot.d.ts +0 -85
  810. package/dist/types/lib/dashboard-inputs/dashboard-input-text.d.ts +0 -12
  811. package/dist/types/lib/dashboard-inputs/dashboard-option-dependency-context.d.ts +0 -40
  812. package/dist/types/lib/dashboard-inputs/document-input-prototype-normalizer.d.ts +0 -2
  813. package/dist/types/lib/dashboard-inputs/filter-authoring-capabilities.d.ts +0 -39
  814. package/dist/types/lib/dashboard-inputs/find-normalized-dashboard-filter-input.d.ts +0 -4
  815. package/dist/types/lib/dashboard-inputs/index.d.ts +0 -12
  816. package/dist/types/lib/dashboard-inputs/resolve-field-date-comparison-coverage.d.ts +0 -20
  817. package/dist/types/lib/dashboard-inputs/selection-targets.d.ts +0 -26
  818. package/dist/types/lib/dashboard-inputs/text-card-rich-content.d.ts +0 -6
  819. package/dist/types/lib/dashboard-inputs/text-variable-options.d.ts +0 -16
  820. package/dist/types/lib/dashboard-inputs/use-effective-dashboard-filter-storage.d.ts +0 -7
  821. package/dist/types/lib/dashboard-navigation/build-carried-click-context.d.ts +0 -49
  822. package/dist/types/lib/dashboard-navigation/describe-carried-context.d.ts +0 -11
  823. package/dist/types/lib/dashboard-navigation/run-one-off-drill.d.ts +0 -11
  824. package/dist/types/lib/dashboard-navigation/use-transient-contexts.d.ts +0 -17
  825. package/dist/types/lib/dnd-utils.d.ts +0 -5
  826. package/dist/types/lib/document/document-canvas-actions.d.ts +0 -22
  827. package/dist/types/lib/document/document-dashboard-inputs.d.ts +0 -48
  828. package/dist/types/lib/document/document-definition.d.ts +0 -14
  829. package/dist/types/lib/document/document-generated-at.d.ts +0 -13
  830. package/dist/types/lib/document/document-input-order.d.ts +0 -5
  831. package/dist/types/lib/document/document-inputs.d.ts +0 -30
  832. package/dist/types/lib/document/document-kpi-figure.d.ts +0 -27
  833. package/dist/types/lib/document/document-kpi-layout.d.ts +0 -29
  834. package/dist/types/lib/document/document-kpi-section-edits.d.ts +0 -15
  835. package/dist/types/lib/document/document-matrix-bands.d.ts +0 -66
  836. package/dist/types/lib/document/document-matrix-print.d.ts +0 -11
  837. package/dist/types/lib/document/document-page-metrics.d.ts +0 -34
  838. package/dist/types/lib/document/document-pagination.d.ts +0 -110
  839. package/dist/types/lib/document/document-render-mode.d.ts +0 -8
  840. package/dist/types/lib/document/document-section-editor.d.ts +0 -9
  841. package/dist/types/lib/document/document-section-query-options.d.ts +0 -25
  842. package/dist/types/lib/document/document-section-render-state.d.ts +0 -26
  843. package/dist/types/lib/document/document-section-utils.d.ts +0 -18
  844. package/dist/types/lib/document/document-sheet-utils.d.ts +0 -4
  845. package/dist/types/lib/document/document-table-data-policy.d.ts +0 -15
  846. package/dist/types/lib/document/document-table-dom.d.ts +0 -29
  847. package/dist/types/lib/document/document-table-pagination-model.d.ts +0 -62
  848. package/dist/types/lib/document/document-table-print-model.d.ts +0 -53
  849. package/dist/types/lib/document/document-table-result-columns.d.ts +0 -10
  850. package/dist/types/lib/document/document-table-style.d.ts +0 -44
  851. package/dist/types/lib/document/document-table-surface.d.ts +0 -15
  852. package/dist/types/lib/document/document-table-totals.d.ts +0 -8
  853. package/dist/types/lib/document/document-variables.d.ts +0 -97
  854. package/dist/types/lib/document/document-visual-render-contract.d.ts +0 -8
  855. package/dist/types/lib/document/use-document-section-data.d.ts +0 -39
  856. package/dist/types/lib/document/use-document-table-rows.d.ts +0 -21
  857. package/dist/types/lib/document/use-measured-document-table-layout.d.ts +0 -50
  858. package/dist/types/lib/drag-and-drop-utils.d.ts +0 -2
  859. package/dist/types/lib/editor-draft-sync.d.ts +0 -2
  860. package/dist/types/lib/explorer-utils.d.ts +0 -11
  861. package/dist/types/lib/export-messages.d.ts +0 -47
  862. package/dist/types/lib/export-utils.d.ts +0 -47
  863. package/dist/types/lib/exports/export-status.d.ts +0 -19
  864. package/dist/types/lib/fields/field-display.d.ts +0 -35
  865. package/dist/types/lib/filter-values/build-card-filter-definition.d.ts +0 -18
  866. package/dist/types/lib/filter-values/build-filter-values-request-payload.d.ts +0 -116
  867. package/dist/types/lib/filter-values/filter-option-identity.d.ts +0 -10
  868. package/dist/types/lib/filter-values/filter-record-value.d.ts +0 -9
  869. package/dist/types/lib/filter-values/merge-additional-filter-values.d.ts +0 -12
  870. package/dist/types/lib/formatters/active-numeric-presentation.d.ts +0 -25
  871. package/dist/types/lib/formatters/card-format-context.d.ts +0 -14
  872. package/dist/types/lib/formatters/currency-presentation-binding.d.ts +0 -72
  873. package/dist/types/lib/formatters/dashboard-temporal-presentation.d.ts +0 -10
  874. package/dist/types/lib/formatters/grouped-temporal-authoring.d.ts +0 -33
  875. package/dist/types/lib/formatters/kpi-number-formatter.d.ts +0 -24
  876. package/dist/types/lib/formatters/kpi-result-columns.d.ts +0 -3
  877. package/dist/types/lib/formatters/kpi-result-values.d.ts +0 -20
  878. package/dist/types/lib/formatters/metric-formatting.d.ts +0 -197
  879. package/dist/types/lib/formatters/numeric-presentation.d.ts +0 -10
  880. package/dist/types/lib/formatters/numeric-value-coercion.d.ts +0 -10
  881. package/dist/types/lib/formatters/pivot-result-lifecycle-config.d.ts +0 -15
  882. package/dist/types/lib/formatters/raw-temporal-on-demand-delivery.d.ts +0 -63
  883. package/dist/types/lib/formatters/result-column-identity.d.ts +0 -3
  884. package/dist/types/lib/formatters/saved-temporal-bucket-format.d.ts +0 -43
  885. package/dist/types/lib/formatters/semantic-column-presentation.d.ts +0 -9
  886. package/dist/types/lib/formatters/value-formatter.d.ts +0 -64
  887. package/dist/types/lib/hooks/ai/assistant-context-entity-utils.d.ts +0 -6
  888. package/dist/types/lib/hooks/ai/assistant-session.d.ts +0 -3
  889. package/dist/types/lib/hooks/ai/dashboard-assistant-context.d.ts +0 -35
  890. package/dist/types/lib/hooks/ai/dashboard-context.d.ts +0 -41
  891. package/dist/types/lib/hooks/ai/use-active-tool-status.d.ts +0 -10
  892. package/dist/types/lib/hooks/ai/use-assistant-context-entities.d.ts +0 -19
  893. package/dist/types/lib/hooks/ai/use-assistant-profile.d.ts +0 -6
  894. package/dist/types/lib/hooks/ai/use-assistant-scroll.d.ts +0 -8
  895. package/dist/types/lib/hooks/ai/use-auto-submit-queue.d.ts +0 -13
  896. package/dist/types/lib/hooks/ai/use-dashboard-assistant.d.ts +0 -32
  897. package/dist/types/lib/hooks/ai/use-editor-assistant.d.ts +0 -33
  898. package/dist/types/lib/hooks/ai/use-entity-mentions.d.ts +0 -36
  899. package/dist/types/lib/hooks/ai/use-local-storage-state.d.ts +0 -1
  900. package/dist/types/lib/hooks/ai/utils.d.ts +0 -64
  901. package/dist/types/lib/hooks/calculated-fields/use-ai-expression.d.ts +0 -23
  902. package/dist/types/lib/hooks/calculated-fields/use-available-fields.d.ts +0 -111
  903. package/dist/types/lib/hooks/calculated-fields/use-calculated-field-templates.d.ts +0 -9
  904. package/dist/types/lib/hooks/calculated-fields/use-expression-validation.d.ts +0 -18
  905. package/dist/types/lib/hooks/calculated-fields/use-formula-placeholders.d.ts +0 -54
  906. package/dist/types/lib/hooks/calculated-fields/use-promote-to-domain.d.ts +0 -17
  907. package/dist/types/lib/hooks/chartjs/use-chart-blur.d.ts +0 -14
  908. package/dist/types/lib/hooks/control-values-query-utils.d.ts +0 -6
  909. package/dist/types/lib/hooks/explorer/column-catalog.d.ts +0 -4
  910. package/dist/types/lib/hooks/explorer/column-native-datatype.d.ts +0 -8
  911. package/dist/types/lib/hooks/explorer/field-management-utils.d.ts +0 -2
  912. package/dist/types/lib/hooks/explorer/use-card-filter-option-browse.d.ts +0 -10
  913. package/dist/types/lib/hooks/explorer/use-columns.d.ts +0 -11
  914. package/dist/types/lib/hooks/explorer/use-data-models.d.ts +0 -8
  915. package/dist/types/lib/hooks/explorer/use-database-entities.d.ts +0 -15
  916. package/dist/types/lib/hooks/explorer/use-databases.d.ts +0 -12
  917. package/dist/types/lib/hooks/explorer/use-datasets.d.ts +0 -53
  918. package/dist/types/lib/hooks/explorer/use-dev-mode-actions.d.ts +0 -10
  919. package/dist/types/lib/hooks/explorer/use-domain-calculated-fields.d.ts +0 -6
  920. package/dist/types/lib/hooks/explorer/use-drag-and-drop.d.ts +0 -22
  921. package/dist/types/lib/hooks/explorer/use-field-availability-context.d.ts +0 -16
  922. package/dist/types/lib/hooks/explorer/use-field-management.d.ts +0 -42
  923. package/dist/types/lib/hooks/explorer/use-files.d.ts +0 -13
  924. package/dist/types/lib/hooks/explorer/use-filter-builder.d.ts +0 -24
  925. package/dist/types/lib/hooks/explorer/use-filterable-fields.d.ts +0 -61
  926. package/dist/types/lib/hooks/explorer/use-join-conditions-builder.d.ts +0 -27
  927. package/dist/types/lib/hooks/explorer/use-schemas.d.ts +0 -8
  928. package/dist/types/lib/hooks/explorer/use-scoped-fields.d.ts +0 -53
  929. package/dist/types/lib/hooks/explorer/use-semantic-domains.d.ts +0 -17
  930. package/dist/types/lib/hooks/explorer/use-sync-legacy-editor-state.d.ts +0 -20
  931. package/dist/types/lib/hooks/query-context/use-card-query-context.d.ts +0 -3
  932. package/dist/types/lib/hooks/query-context/use-dashboard-card-execution-snapshot.d.ts +0 -10
  933. package/dist/types/lib/hooks/selection/use-active-selections.d.ts +0 -15
  934. package/dist/types/lib/hooks/selection/use-click-to-filter-mapping-draft.d.ts +0 -20
  935. package/dist/types/lib/hooks/selection/use-selection-click.d.ts +0 -34
  936. package/dist/types/lib/hooks/selection/use-selection-gestures.d.ts +0 -38
  937. package/dist/types/lib/hooks/selection/use-table-row-selection.d.ts +0 -46
  938. package/dist/types/lib/hooks/semaphor-ready-indicator.d.ts +0 -17
  939. package/dist/types/lib/hooks/summary/create-summary-action-handler.d.ts +0 -15
  940. package/dist/types/lib/hooks/use-assign-filter.d.ts +0 -5
  941. package/dist/types/lib/hooks/use-attribute-values.d.ts +0 -20
  942. package/dist/types/lib/hooks/use-auth-token.d.ts +0 -1
  943. package/dist/types/lib/hooks/use-authorization-scope.d.ts +0 -2
  944. package/dist/types/lib/hooks/use-calendar-preferences.d.ts +0 -16
  945. package/dist/types/lib/hooks/use-card-filter-values.d.ts +0 -19
  946. package/dist/types/lib/hooks/use-card-numeric-presentation.d.ts +0 -11
  947. package/dist/types/lib/hooks/use-card-render-context.d.ts +0 -14
  948. package/dist/types/lib/hooks/use-chart-numeric-presentation.d.ts +0 -3
  949. package/dist/types/lib/hooks/use-column-sizing.d.ts +0 -27
  950. package/dist/types/lib/hooks/use-connection-type.d.ts +0 -0
  951. package/dist/types/lib/hooks/use-connections.d.ts +0 -27
  952. package/dist/types/lib/hooks/use-control-values-query.d.ts +0 -48
  953. package/dist/types/lib/hooks/use-copy-paste-frame.d.ts +0 -2
  954. package/dist/types/lib/hooks/use-custom-visuals-query.d.ts +0 -30
  955. package/dist/types/lib/hooks/use-dashboard-card-query.d.ts +0 -4
  956. package/dist/types/lib/hooks/use-dashboard-creation.d.ts +0 -17
  957. package/dist/types/lib/hooks/use-dashboard-filter-mapping-candidates.d.ts +0 -40
  958. package/dist/types/lib/hooks/use-dashboard-filter-option-fields.d.ts +0 -15
  959. package/dist/types/lib/hooks/use-dashboard-frame-query.d.ts +0 -51
  960. package/dist/types/lib/hooks/use-dashboard-frame.d.ts +0 -0
  961. package/dist/types/lib/hooks/use-dashboard-interaction-mode.d.ts +0 -1
  962. package/dist/types/lib/hooks/use-dashboard-kpi-actions.d.ts +0 -11
  963. package/dist/types/lib/hooks/use-dashboard-preferences.d.ts +0 -5
  964. package/dist/types/lib/hooks/use-date-range-for-filter.d.ts +0 -7
  965. package/dist/types/lib/hooks/use-default-dashboard-mutation.d.ts +0 -9
  966. package/dist/types/lib/hooks/use-default-sheet-preference.d.ts +0 -9
  967. package/dist/types/lib/hooks/use-display-preferences.d.ts +0 -4
  968. package/dist/types/lib/hooks/use-document-section-editor.d.ts +0 -3
  969. package/dist/types/lib/hooks/use-document-section-session.d.ts +0 -36
  970. package/dist/types/lib/hooks/use-draggable-button.d.ts +0 -20
  971. package/dist/types/lib/hooks/use-draggable-corner.d.ts +0 -22
  972. package/dist/types/lib/hooks/use-dynamic-icon.d.ts +0 -1
  973. package/dist/types/lib/hooks/use-edit-visual.d.ts +0 -6
  974. package/dist/types/lib/hooks/use-editor-preview.d.ts +0 -17
  975. package/dist/types/lib/hooks/use-editor-setup.d.ts +0 -45
  976. package/dist/types/lib/hooks/use-feedback.d.ts +0 -12
  977. package/dist/types/lib/hooks/use-filter-aside-setup.d.ts +0 -13
  978. package/dist/types/lib/hooks/use-filter-option-labels.d.ts +0 -12
  979. package/dist/types/lib/hooks/use-filter-query.d.ts +0 -79
  980. package/dist/types/lib/hooks/use-filter-search.d.ts +0 -49
  981. package/dist/types/lib/hooks/use-frame-semantic-execution-payload.d.ts +0 -15
  982. package/dist/types/lib/hooks/use-has-dashboard-id.d.ts +0 -6
  983. package/dist/types/lib/hooks/use-insight-card-info.d.ts +0 -30
  984. package/dist/types/lib/hooks/use-interactions-popover.d.ts +0 -7
  985. package/dist/types/lib/hooks/use-is-dashboard-ready.d.ts +0 -14
  986. package/dist/types/lib/hooks/use-is-editing-card.d.ts +0 -7
  987. package/dist/types/lib/hooks/use-joinability-map.d.ts +0 -24
  988. package/dist/types/lib/hooks/use-kpi.d.ts +0 -6
  989. package/dist/types/lib/hooks/use-metric-keys-visual.d.ts +0 -6
  990. package/dist/types/lib/hooks/use-plugin-query.d.ts +0 -6
  991. package/dist/types/lib/hooks/use-previous.d.ts +0 -1
  992. package/dist/types/lib/hooks/use-query-feedback.d.ts +0 -45
  993. package/dist/types/lib/hooks/use-query-key.d.ts +0 -8
  994. package/dist/types/lib/hooks/use-relative-date-summarizer.d.ts +0 -7
  995. package/dist/types/lib/hooks/use-resolved-card-config.d.ts +0 -6
  996. package/dist/types/lib/hooks/use-role-aware-display-preferences.d.ts +0 -29
  997. package/dist/types/lib/hooks/use-selected-column.d.ts +0 -29
  998. package/dist/types/lib/hooks/use-semaphor-context.d.ts +0 -4
  999. package/dist/types/lib/hooks/use-split-view-preference.d.ts +0 -1
  1000. package/dist/types/lib/hooks/use-theme.d.ts +0 -1
  1001. package/dist/types/lib/hooks/use-topojson.d.ts +0 -7
  1002. package/dist/types/lib/hooks/use-user-preferences.d.ts +0 -24
  1003. package/dist/types/lib/hooks/use-visual-editing-status.d.ts +0 -6
  1004. package/dist/types/lib/hooks/use-visual-save-as.d.ts +0 -9
  1005. package/dist/types/lib/hooks/visuals/use-pivot-table-config.d.ts +0 -6
  1006. package/dist/types/lib/interactions/click-filter-display.d.ts +0 -13
  1007. package/dist/types/lib/interactions/click-outcome.d.ts +0 -25
  1008. package/dist/types/lib/interactions/get-click-context-from-pivot-table.d.ts +0 -12
  1009. package/dist/types/lib/interactions/get-click-context-from-table.d.ts +0 -42
  1010. package/dist/types/lib/interactions/interaction-utils.d.ts +0 -32
  1011. package/dist/types/lib/interactions/interaction-validation-utils.d.ts +0 -9
  1012. package/dist/types/lib/interactions/interpolate-url-parameters.d.ts +0 -73
  1013. package/dist/types/lib/internal-print-report-context.d.ts +0 -5
  1014. package/dist/types/lib/matrix-table/build-matrix-drill-to-detail.d.ts +0 -15
  1015. package/dist/types/lib/matrix-table/matrix-application-adapter.d.ts +0 -65
  1016. package/dist/types/lib/matrix-table/matrix-card-draft.d.ts +0 -352
  1017. package/dist/types/lib/matrix-table/matrix-card-fields.d.ts +0 -14
  1018. package/dist/types/lib/matrix-table/matrix-card-interactions.d.ts +0 -16
  1019. package/dist/types/lib/matrix-table/matrix-conditional-formatting.d.ts +0 -36
  1020. package/dist/types/lib/matrix-table/matrix-dataset-history.d.ts +0 -47
  1021. package/dist/types/lib/matrix-table/matrix-editor.d.ts +0 -40
  1022. package/dist/types/lib/matrix-table/matrix-execution-context.d.ts +0 -20
  1023. package/dist/types/lib/matrix-table/matrix-execution-provider.d.ts +0 -7
  1024. package/dist/types/lib/matrix-table/matrix-failure-copy.d.ts +0 -16
  1025. package/dist/types/lib/matrix-table/matrix-field-metadata.d.ts +0 -3
  1026. package/dist/types/lib/matrix-table/matrix-label-boundary.d.ts +0 -6
  1027. package/dist/types/lib/matrix-table/matrix-layout-read.d.ts +0 -68
  1028. package/dist/types/lib/matrix-table/matrix-layout.d.ts +0 -18
  1029. package/dist/types/lib/matrix-table/matrix-measure-presentation.d.ts +0 -8
  1030. package/dist/types/lib/matrix-table/matrix-operation-queue.d.ts +0 -8
  1031. package/dist/types/lib/matrix-table/matrix-query-transport.d.ts +0 -6
  1032. package/dist/types/lib/matrix-table/matrix-row-labels.d.ts +0 -13
  1033. package/dist/types/lib/matrix-table/submit-matrix-delivery.d.ts +0 -31
  1034. package/dist/types/lib/matrix-table/use-matrix-card-catalog.d.ts +0 -20
  1035. package/dist/types/lib/matrix-table/use-matrix-cell-focus.d.ts +0 -55
  1036. package/dist/types/lib/matrix-table/use-matrix-delivery-capture.d.ts +0 -6
  1037. package/dist/types/lib/matrix-table/use-matrix-editor-catalog.d.ts +0 -5
  1038. package/dist/types/lib/matrix-table/use-matrix.d.ts +0 -78
  1039. package/dist/types/lib/mock-data.d.ts +0 -0
  1040. package/dist/types/lib/pdf-execution-snapshot.d.ts +0 -12
  1041. package/dist/types/lib/pdf-fast-path/aggregate-metric-semantics.d.ts +0 -1
  1042. package/dist/types/lib/pdf-fast-path/builders.d.ts +0 -46
  1043. package/dist/types/lib/pdf-fast-path/candidate-eligibility.d.ts +0 -17
  1044. package/dist/types/lib/pdf-fast-path/extract-table-structure.d.ts +0 -5
  1045. package/dist/types/lib/pdf-fast-path/index.d.ts +0 -27
  1046. package/dist/types/lib/pdf-fast-path/pivot-fast-path-utils.d.ts +0 -12
  1047. package/dist/types/lib/pdf-fast-path/prepare-server-table-pdf-export.d.ts +0 -37
  1048. package/dist/types/lib/print/print-holds.d.ts +0 -15
  1049. package/dist/types/lib/print-state/capture-expanded-state.d.ts +0 -38
  1050. package/dist/types/lib/python/default-code.d.ts +0 -1
  1051. package/dist/types/lib/query-context/build-card-control-context.d.ts +0 -16
  1052. package/dist/types/lib/query-context/build-dashboard-card-query-contract.d.ts +0 -68
  1053. package/dist/types/lib/query-context/build-dashboard-execution-snapshot.d.ts +0 -63
  1054. package/dist/types/lib/query-context/build-dashboard-frame-base-query-contexts.d.ts +0 -60
  1055. package/dist/types/lib/query-context/build-global-date-comparison-context.d.ts +0 -8
  1056. package/dist/types/lib/query-context/build-query-relevant-card-config.d.ts +0 -15
  1057. package/dist/types/lib/query-context/card-execution.d.ts +0 -30
  1058. package/dist/types/lib/query-context/control-contract-serialization.d.ts +0 -11
  1059. package/dist/types/lib/query-context/dashboard-card-query-key.d.ts +0 -49
  1060. package/dist/types/lib/query-context/dashboard-query-result-context.d.ts +0 -17
  1061. package/dist/types/lib/query-context/document-section-card-query.d.ts +0 -37
  1062. package/dist/types/lib/query-context/filter-group-utils.d.ts +0 -3
  1063. package/dist/types/lib/query-context/normalize-dashboard-card-execution.d.ts +0 -7
  1064. package/dist/types/lib/query-context/query-auth-scope.d.ts +0 -5
  1065. package/dist/types/lib/query-context/resolve-render-card-config.d.ts +0 -16
  1066. package/dist/types/lib/query-context/temporal-context-preview.d.ts +0 -14
  1067. package/dist/types/lib/query-context/use-semantic-execution-payload-for-cards.d.ts +0 -24
  1068. package/dist/types/lib/resize-observer-utils.d.ts +0 -10
  1069. package/dist/types/lib/selection/click-to-filter-authoring-support.d.ts +0 -9
  1070. package/dist/types/lib/selection/selection-from-click-context.d.ts +0 -41
  1071. package/dist/types/lib/selection/selection-labels.d.ts +0 -3
  1072. package/dist/types/lib/selection/selection-notices.d.ts +0 -9
  1073. package/dist/types/lib/selection/selection-reducer.d.ts +0 -46
  1074. package/dist/types/lib/stores/ai-interaction-store.d.ts +0 -97
  1075. package/dist/types/lib/stores/assistant-layout-store.d.ts +0 -17
  1076. package/dist/types/lib/stores/chartjs-store.d.ts +0 -36
  1077. package/dist/types/lib/stores/explorer-empty-states.d.ts +0 -8
  1078. package/dist/types/lib/stores/index.d.ts +0 -8
  1079. package/dist/types/lib/stores/mount-store-devtool.d.ts +0 -2
  1080. package/dist/types/lib/stores/utils.d.ts +0 -40
  1081. package/dist/types/lib/table-formatting/table-column-visibility.d.ts +0 -5
  1082. package/dist/types/lib/table-formatting/table-conditional-formatting-columns.d.ts +0 -14
  1083. package/dist/types/lib/table-formatting/table-formatting-schemas.d.ts +0 -1101
  1084. package/dist/types/lib/table-formatting/table-formatting-utils.d.ts +0 -30
  1085. package/dist/types/lib/table-formatting/table-presentation-fields.d.ts +0 -22
  1086. package/dist/types/lib/table-formatting/table-presentation-style.d.ts +0 -45
  1087. package/dist/types/lib/table-formatting/table-result-bindings.d.ts +0 -12
  1088. package/dist/types/lib/temporal-filter/temporal-filter-utils.d.ts +0 -68
  1089. package/dist/types/lib/text-variables/temporal-input-text.d.ts +0 -28
  1090. package/dist/types/lib/text-variables/text-variable-types.d.ts +0 -55
  1091. package/dist/types/lib/types/assistant-types.d.ts +0 -127
  1092. package/dist/types/lib/types/calculated-field-domain-payloads.d.ts +0 -36
  1093. package/dist/types/lib/types/calculated-field-editor-types.d.ts +0 -64
  1094. package/dist/types/lib/types/feedback-types.d.ts +0 -60
  1095. package/dist/types/lib/types/semantic-types.d.ts +0 -120
  1096. package/dist/types/lib/ui/tenancy-ui.d.ts +0 -25
  1097. package/dist/types/lib/utils/aggregate-expression-utils.d.ts +0 -2
  1098. package/dist/types/lib/utils/app-url-utils.d.ts +0 -7
  1099. package/dist/types/lib/utils/assistant-visibility.d.ts +0 -9
  1100. package/dist/types/lib/utils/async-export-visible-columns.d.ts +0 -12
  1101. package/dist/types/lib/utils/authored-card-fields.d.ts +0 -17
  1102. package/dist/types/lib/utils/briefings-visibility.d.ts +0 -9
  1103. package/dist/types/lib/utils/build-card-export-request.d.ts +0 -30
  1104. package/dist/types/lib/utils/build-saved-editor-card.d.ts +0 -15
  1105. package/dist/types/lib/utils/calculate-card-filter-values.d.ts +0 -23
  1106. package/dist/types/lib/utils/calculate-context-aware-filters.d.ts +0 -46
  1107. package/dist/types/lib/utils/calculated-date-dimension-defaults.d.ts +0 -9
  1108. package/dist/types/lib/utils/calculated-dimension-utils.d.ts +0 -2
  1109. package/dist/types/lib/utils/calculated-field-identity-utils.d.ts +0 -20
  1110. package/dist/types/lib/utils/calculated-field-normalization.d.ts +0 -2
  1111. package/dist/types/lib/utils/calculated-field-operations.d.ts +0 -40
  1112. package/dist/types/lib/utils/calculated-field-permissions.d.ts +0 -12
  1113. package/dist/types/lib/utils/calculated-field-row-templates.d.ts +0 -15
  1114. package/dist/types/lib/utils/calculated-field-scope-utils.d.ts +0 -20
  1115. package/dist/types/lib/utils/calculated-field-token-utils.d.ts +0 -34
  1116. package/dist/types/lib/utils/calculated-field-transition-utils.d.ts +0 -113
  1117. package/dist/types/lib/utils/calculated-field-utils.d.ts +0 -37
  1118. package/dist/types/lib/utils/card-calculated-field-utils.d.ts +0 -12
  1119. package/dist/types/lib/utils/card-config-utils.d.ts +0 -24
  1120. package/dist/types/lib/utils/card-loading-state.d.ts +0 -18
  1121. package/dist/types/lib/utils/card-utils.d.ts +0 -70
  1122. package/dist/types/lib/utils/chart-icon-utils.d.ts +0 -26
  1123. package/dist/types/lib/utils/chart-type-field-validation.d.ts +0 -25
  1124. package/dist/types/lib/utils/comparison-export-utils.d.ts +0 -31
  1125. package/dist/types/lib/utils/comparison-output-keys.d.ts +0 -37
  1126. package/dist/types/lib/utils/comparison-period-utils.d.ts +0 -6
  1127. package/dist/types/lib/utils/comparison-validation-utils.d.ts +0 -16
  1128. package/dist/types/lib/utils/comparison-window-caption.d.ts +0 -12
  1129. package/dist/types/lib/utils/connection-capabilities.d.ts +0 -26
  1130. package/dist/types/lib/utils/control-default-value-utils.d.ts +0 -46
  1131. package/dist/types/lib/utils/control-placeholder-utils.d.ts +0 -14
  1132. package/dist/types/lib/utils/control-reference-utils.d.ts +0 -18
  1133. package/dist/types/lib/utils/copy-control-bindings.d.ts +0 -3
  1134. package/dist/types/lib/utils/custom-visual-inputs.d.ts +0 -43
  1135. package/dist/types/lib/utils/dashboard-controls-visibility.d.ts +0 -23
  1136. package/dist/types/lib/utils/dashboard-date-filter-utils.d.ts +0 -16
  1137. package/dist/types/lib/utils/dashboard-interaction-mode.d.ts +0 -12
  1138. package/dist/types/lib/utils/data-source-semantic-domain.d.ts +0 -12
  1139. package/dist/types/lib/utils/data-source-utils.d.ts +0 -22
  1140. package/dist/types/lib/utils/date-filter-column-utils.d.ts +0 -2
  1141. package/dist/types/lib/utils/date-format-utils.d.ts +0 -8
  1142. package/dist/types/lib/utils/date-granularity-utils.d.ts +0 -5
  1143. package/dist/types/lib/utils/date-hierarchy-utils.d.ts +0 -75
  1144. package/dist/types/lib/utils/date-timezone-utils.d.ts +0 -79
  1145. package/dist/types/lib/utils/drag-and-drop-utils.d.ts +0 -8
  1146. package/dist/types/lib/utils/drill-context-utils.d.ts +0 -32
  1147. package/dist/types/lib/utils/entity-consistency-utils.d.ts +0 -48
  1148. package/dist/types/lib/utils/entity-icon-utils.d.ts +0 -17
  1149. package/dist/types/lib/utils/explorer-derived-field.d.ts +0 -4
  1150. package/dist/types/lib/utils/explorer-field-identity.d.ts +0 -15
  1151. package/dist/types/lib/utils/export-result-source.d.ts +0 -20
  1152. package/dist/types/lib/utils/export-utils.d.ts +0 -26
  1153. package/dist/types/lib/utils/expression-field-classification.d.ts +0 -12
  1154. package/dist/types/lib/utils/fetch-export-data.d.ts +0 -14
  1155. package/dist/types/lib/utils/field-availability-context.d.ts +0 -25
  1156. package/dist/types/lib/utils/field-icon-utils.d.ts +0 -10
  1157. package/dist/types/lib/utils/field-state-calculator.d.ts +0 -159
  1158. package/dist/types/lib/utils/filter-formatter.d.ts +0 -24
  1159. package/dist/types/lib/utils/filter-metadata-utils.d.ts +0 -28
  1160. package/dist/types/lib/utils/filter-name-utils.d.ts +0 -27
  1161. package/dist/types/lib/utils/filter-scoping-utils.d.ts +0 -64
  1162. package/dist/types/lib/utils/filter-search-sql.d.ts +0 -17
  1163. package/dist/types/lib/utils/format-config-extractor.d.ts +0 -21
  1164. package/dist/types/lib/utils/frame-utils.d.ts +0 -27
  1165. package/dist/types/lib/utils/inline-expression-utils.d.ts +0 -11
  1166. package/dist/types/lib/utils/inline-filter-utils.d.ts +0 -16
  1167. package/dist/types/lib/utils/interaction-display-utils.d.ts +0 -30
  1168. package/dist/types/lib/utils/interaction-icons.d.ts +0 -10
  1169. package/dist/types/lib/utils/is-safari-browser.d.ts +0 -6
  1170. package/dist/types/lib/utils/join-plan-entity-matching.d.ts +0 -26
  1171. package/dist/types/lib/utils/kpi-comparison-utils.d.ts +0 -12
  1172. package/dist/types/lib/utils/kpi-field-cleanup-utils.d.ts +0 -19
  1173. package/dist/types/lib/utils/kpi-format-migration.d.ts +0 -2
  1174. package/dist/types/lib/utils/metric-comparison-config.d.ts +0 -9
  1175. package/dist/types/lib/utils/physical-source-identity.d.ts +0 -12
  1176. package/dist/types/lib/utils/qualified-entity-name.d.ts +0 -2
  1177. package/dist/types/lib/utils/relative-date-description.d.ts +0 -38
  1178. package/dist/types/lib/utils/resolve-selected-sheet-id.d.ts +0 -11
  1179. package/dist/types/lib/utils/role-display-mappings.d.ts +0 -44
  1180. package/dist/types/lib/utils/semantic-metric-format-defaults.d.ts +0 -3
  1181. package/dist/types/lib/utils/slot-validation.d.ts +0 -12
  1182. package/dist/types/lib/utils/stable-serialize.d.ts +0 -1
  1183. package/dist/types/lib/utils/summary-eligibility.d.ts +0 -7
  1184. package/dist/types/lib/utils/summary-filter-utils.d.ts +0 -2
  1185. package/dist/types/lib/utils/table-comparison-utils.d.ts +0 -9
  1186. package/dist/types/lib/utils/text-card-runtime-utils.d.ts +0 -6
  1187. package/dist/types/lib/utils/url-parameter-utils.d.ts +0 -60
  1188. package/dist/types/lib/utils/window-transform-utils.d.ts +0 -41
  1189. package/dist/types/lib/visuals/frame-object.d.ts +0 -4
  1190. package/dist/types/shared/analytics-protocol/qualified-identity.d.ts +0 -3
  1191. package/dist/types/shared/dashboard-authoring/filter-defaults.d.ts +0 -2
  1192. package/dist/types/shared/filter-native-data-type.d.ts +0 -59
  1193. package/dist/types/shared/format-utils/formatters/exact-number.d.ts +0 -1
  1194. package/dist/types/shared/format-utils/json-record.d.ts +0 -6
@@ -0,0 +1,2383 @@
1
+ import { jsxs as De, jsx as _, Fragment as dt } from "react/jsx-runtime";
2
+ import * as k from "react";
3
+ import Sn, { forwardRef as $e, createElement as be, useContext as xt, createContext as xn, useRef as B, useLayoutEffect as bn, useImperativeHandle as bt, useEffect as Z, useState as ue, useCallback as O, useMemo as U, memo as zn, Suspense as Pn } from "react";
4
+ import { aF as wn, aG as zt, aH as nt, aI as Pt, aJ as Cn, aK as En, aL as In, aM as Rn, aN as Dn, aO as An, aP as Mn, aQ as Ln, aR as Nn, aS as _n, aT as kn, aU as Tn } from "./semaphor-ready-indicator-B017OW6t.js";
5
+ import { a1 as te, a2 as wt, C as Ct, ax as Hn, c as rt, ay as $n, u as Oe, az as Et, aA as ze, aB as pe, aC as Vn, aD as Fn, aE as Kn, aF as Pe, aG as Bn, aH as It, aI as qn, aJ as Gn } from "./switch-ojmMsFMO.js";
6
+ import { f as On, r as Rt } from "./use-create-flow-overlay-state-BbwQ0gpQ.js";
7
+ import { f as Un, r as Dt, g as At, a as Qe, b as _e, n as Wn, c as Xn } from "./index-P5aUuGF1.js";
8
+ import "./x-CXDkqdur.js";
9
+ import "./validators-DMSH81OM.js";
10
+ import "./matrix-operation-contract-BKupLHXL.js";
11
+ import "zod";
12
+ import "../value-format-preferences/index.js";
13
+ import { u as Yn } from "./appearance-context-DEYtWinQ.js";
14
+ const fo = Sn.memo(function({
15
+ context: t = "editor"
16
+ } = {}) {
17
+ return /* @__PURE__ */ De(
18
+ "div",
19
+ {
20
+ "data-content": "fields-section",
21
+ className: "flex h-full grow flex-col items-center overflow-hidden",
22
+ children: [
23
+ " ",
24
+ /* @__PURE__ */ _(wn, { context: t }),
25
+ " "
26
+ ]
27
+ }
28
+ );
29
+ }), Ve = xn(null);
30
+ Ve.displayName = "PanelGroupContext";
31
+ const K = {
32
+ group: "data-panel-group",
33
+ groupDirection: "data-panel-group-direction",
34
+ groupId: "data-panel-group-id",
35
+ panel: "data-panel",
36
+ panelCollapsible: "data-panel-collapsible",
37
+ panelId: "data-panel-id",
38
+ panelSize: "data-panel-size",
39
+ resizeHandle: "data-resize-handle",
40
+ resizeHandleActive: "data-resize-handle-active",
41
+ resizeHandleEnabled: "data-panel-resize-handle-enabled",
42
+ resizeHandleId: "data-panel-resize-handle-id",
43
+ resizeHandleState: "data-resize-handle-state"
44
+ }, ot = 10, me = bn, ft = k.useId, jn = typeof ft == "function" ? ft : () => null;
45
+ let Qn = 0;
46
+ function it(e = null) {
47
+ const t = jn(), n = B(e || t || null);
48
+ return n.current === null && (n.current = "" + Qn++), e ?? n.current;
49
+ }
50
+ function Mt({
51
+ children: e,
52
+ className: t = "",
53
+ collapsedSize: n,
54
+ collapsible: r,
55
+ defaultSize: i,
56
+ forwardedRef: o,
57
+ id: s,
58
+ maxSize: a,
59
+ minSize: l,
60
+ onCollapse: f,
61
+ onExpand: p,
62
+ onResize: u,
63
+ order: c,
64
+ style: h,
65
+ tagName: m = "div",
66
+ ...y
67
+ }) {
68
+ const S = xt(Ve);
69
+ if (S === null)
70
+ throw Error("Panel components must be rendered within a PanelGroup container");
71
+ const {
72
+ collapsePanel: v,
73
+ expandPanel: D,
74
+ getPanelSize: b,
75
+ getPanelStyle: I,
76
+ groupId: R,
77
+ isPanelCollapsed: M,
78
+ reevaluatePanelConstraints: w,
79
+ registerPanel: X,
80
+ resizePanel: j,
81
+ unregisterPanel: $
82
+ } = S, A = it(s), L = B({
83
+ callbacks: {
84
+ onCollapse: f,
85
+ onExpand: p,
86
+ onResize: u
87
+ },
88
+ constraints: {
89
+ collapsedSize: n,
90
+ collapsible: r,
91
+ defaultSize: i,
92
+ maxSize: a,
93
+ minSize: l
94
+ },
95
+ id: A,
96
+ idIsFromProps: s !== void 0,
97
+ order: c
98
+ });
99
+ B({
100
+ didLogMissingDefaultSizeWarning: !1
101
+ }), me(() => {
102
+ const {
103
+ callbacks: V,
104
+ constraints: T
105
+ } = L.current, H = {
106
+ ...T
107
+ };
108
+ L.current.id = A, L.current.idIsFromProps = s !== void 0, L.current.order = c, V.onCollapse = f, V.onExpand = p, V.onResize = u, T.collapsedSize = n, T.collapsible = r, T.defaultSize = i, T.maxSize = a, T.minSize = l, (H.collapsedSize !== T.collapsedSize || H.collapsible !== T.collapsible || H.maxSize !== T.maxSize || H.minSize !== T.minSize) && w(L.current, H);
109
+ }), me(() => {
110
+ const V = L.current;
111
+ return X(V), () => {
112
+ $(V);
113
+ };
114
+ }, [c, A, X, $]), bt(o, () => ({
115
+ collapse: () => {
116
+ v(L.current);
117
+ },
118
+ expand: (V) => {
119
+ D(L.current, V);
120
+ },
121
+ getId() {
122
+ return A;
123
+ },
124
+ getSize() {
125
+ return b(L.current);
126
+ },
127
+ isCollapsed() {
128
+ return M(L.current);
129
+ },
130
+ isExpanded() {
131
+ return !M(L.current);
132
+ },
133
+ resize: (V) => {
134
+ j(L.current, V);
135
+ }
136
+ }), [v, D, b, M, A, j]);
137
+ const W = I(L.current, i);
138
+ return be(m, {
139
+ ...y,
140
+ children: e,
141
+ className: t,
142
+ id: A,
143
+ style: {
144
+ ...W,
145
+ ...h
146
+ },
147
+ // CSS selectors
148
+ [K.groupId]: R,
149
+ [K.panel]: "",
150
+ [K.panelCollapsible]: r || void 0,
151
+ [K.panelId]: A,
152
+ [K.panelSize]: parseFloat("" + W.flexGrow).toFixed(1)
153
+ });
154
+ }
155
+ const Jn = $e((e, t) => be(Mt, {
156
+ ...e,
157
+ forwardedRef: t
158
+ }));
159
+ Mt.displayName = "Panel";
160
+ Jn.displayName = "forwardRef(Panel)";
161
+ let Je = null, ke = -1, ce = null;
162
+ function Zn(e, t) {
163
+ if (t) {
164
+ const n = (t & Tt) !== 0, r = (t & Ht) !== 0, i = (t & $t) !== 0, o = (t & Vt) !== 0;
165
+ if (n)
166
+ return i ? "se-resize" : o ? "ne-resize" : "e-resize";
167
+ if (r)
168
+ return i ? "sw-resize" : o ? "nw-resize" : "w-resize";
169
+ if (i)
170
+ return "s-resize";
171
+ if (o)
172
+ return "n-resize";
173
+ }
174
+ switch (e) {
175
+ case "horizontal":
176
+ return "ew-resize";
177
+ case "intersection":
178
+ return "move";
179
+ case "vertical":
180
+ return "ns-resize";
181
+ }
182
+ }
183
+ function er() {
184
+ ce !== null && (document.head.removeChild(ce), Je = null, ce = null, ke = -1);
185
+ }
186
+ function Ue(e, t) {
187
+ var n, r;
188
+ const i = Zn(e, t);
189
+ if (Je !== i) {
190
+ if (Je = i, ce === null && (ce = document.createElement("style"), document.head.appendChild(ce)), ke >= 0) {
191
+ var o;
192
+ (o = ce.sheet) === null || o === void 0 || o.removeRule(ke);
193
+ }
194
+ ke = (n = (r = ce.sheet) === null || r === void 0 ? void 0 : r.insertRule(`*{cursor: ${i} !important;}`)) !== null && n !== void 0 ? n : -1;
195
+ }
196
+ }
197
+ function Lt(e) {
198
+ return e.type === "keydown";
199
+ }
200
+ function Nt(e) {
201
+ return e.type.startsWith("pointer");
202
+ }
203
+ function _t(e) {
204
+ return e.type.startsWith("mouse");
205
+ }
206
+ function Fe(e) {
207
+ if (Nt(e)) {
208
+ if (e.isPrimary)
209
+ return {
210
+ x: e.clientX,
211
+ y: e.clientY
212
+ };
213
+ } else if (_t(e))
214
+ return {
215
+ x: e.clientX,
216
+ y: e.clientY
217
+ };
218
+ return {
219
+ x: 1 / 0,
220
+ y: 1 / 0
221
+ };
222
+ }
223
+ function tr() {
224
+ if (typeof matchMedia == "function")
225
+ return matchMedia("(pointer:coarse)").matches ? "coarse" : "fine";
226
+ }
227
+ function nr(e, t, n) {
228
+ return e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
229
+ }
230
+ function rr(e, t) {
231
+ if (e === t) throw new Error("Cannot compare node with itself");
232
+ const n = {
233
+ a: gt(e),
234
+ b: gt(t)
235
+ };
236
+ let r;
237
+ for (; n.a.at(-1) === n.b.at(-1); )
238
+ e = n.a.pop(), t = n.b.pop(), r = e;
239
+ E(r, "Stacking order can only be calculated for elements with a common ancestor");
240
+ const i = {
241
+ a: mt(pt(n.a)),
242
+ b: mt(pt(n.b))
243
+ };
244
+ if (i.a === i.b) {
245
+ const o = r.childNodes, s = {
246
+ a: n.a.at(-1),
247
+ b: n.b.at(-1)
248
+ };
249
+ let a = o.length;
250
+ for (; a--; ) {
251
+ const l = o[a];
252
+ if (l === s.a) return 1;
253
+ if (l === s.b) return -1;
254
+ }
255
+ }
256
+ return Math.sign(i.a - i.b);
257
+ }
258
+ const or = /\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;
259
+ function ir(e) {
260
+ var t;
261
+ const n = getComputedStyle((t = kt(e)) !== null && t !== void 0 ? t : e).display;
262
+ return n === "flex" || n === "inline-flex";
263
+ }
264
+ function sr(e) {
265
+ const t = getComputedStyle(e);
266
+ return !!(t.position === "fixed" || t.zIndex !== "auto" && (t.position !== "static" || ir(e)) || +t.opacity < 1 || "transform" in t && t.transform !== "none" || "webkitTransform" in t && t.webkitTransform !== "none" || "mixBlendMode" in t && t.mixBlendMode !== "normal" || "filter" in t && t.filter !== "none" || "webkitFilter" in t && t.webkitFilter !== "none" || "isolation" in t && t.isolation === "isolate" || or.test(t.willChange) || t.webkitOverflowScrolling === "touch");
267
+ }
268
+ function pt(e) {
269
+ let t = e.length;
270
+ for (; t--; ) {
271
+ const n = e[t];
272
+ if (E(n, "Missing node"), sr(n)) return n;
273
+ }
274
+ return null;
275
+ }
276
+ function mt(e) {
277
+ return e && Number(getComputedStyle(e).zIndex) || 0;
278
+ }
279
+ function gt(e) {
280
+ const t = [];
281
+ for (; e; )
282
+ t.push(e), e = kt(e);
283
+ return t;
284
+ }
285
+ function kt(e) {
286
+ const {
287
+ parentNode: t
288
+ } = e;
289
+ return t && t instanceof ShadowRoot ? t.host : t;
290
+ }
291
+ const Tt = 1, Ht = 2, $t = 4, Vt = 8, ar = tr() === "coarse";
292
+ let ne = [], xe = !1, fe = /* @__PURE__ */ new Map(), Ke = /* @__PURE__ */ new Map();
293
+ const Ae = /* @__PURE__ */ new Set();
294
+ function lr(e, t, n, r, i) {
295
+ var o;
296
+ const {
297
+ ownerDocument: s
298
+ } = t, a = {
299
+ direction: n,
300
+ element: t,
301
+ hitAreaMargins: r,
302
+ setResizeHandlerState: i
303
+ }, l = (o = fe.get(s)) !== null && o !== void 0 ? o : 0;
304
+ return fe.set(s, l + 1), Ae.add(a), Te(), function() {
305
+ var p;
306
+ Ke.delete(e), Ae.delete(a);
307
+ const u = (p = fe.get(s)) !== null && p !== void 0 ? p : 1;
308
+ if (fe.set(s, u - 1), Te(), u === 1 && fe.delete(s), ne.includes(a)) {
309
+ const c = ne.indexOf(a);
310
+ c >= 0 && ne.splice(c, 1), at(), i("up", !0, null);
311
+ }
312
+ };
313
+ }
314
+ function cr(e) {
315
+ const {
316
+ target: t
317
+ } = e, {
318
+ x: n,
319
+ y: r
320
+ } = Fe(e);
321
+ xe = !0, st({
322
+ target: t,
323
+ x: n,
324
+ y: r
325
+ }), Te(), ne.length > 0 && (He("down", e), e.preventDefault(), Ft(t) || e.stopImmediatePropagation());
326
+ }
327
+ function We(e) {
328
+ const {
329
+ x: t,
330
+ y: n
331
+ } = Fe(e);
332
+ if (xe && e.buttons === 0 && (xe = !1, He("up", e)), !xe) {
333
+ const {
334
+ target: r
335
+ } = e;
336
+ st({
337
+ target: r,
338
+ x: t,
339
+ y: n
340
+ });
341
+ }
342
+ He("move", e), at(), ne.length > 0 && e.preventDefault();
343
+ }
344
+ function Xe(e) {
345
+ const {
346
+ target: t
347
+ } = e, {
348
+ x: n,
349
+ y: r
350
+ } = Fe(e);
351
+ Ke.clear(), xe = !1, ne.length > 0 && (e.preventDefault(), Ft(t) || e.stopImmediatePropagation()), He("up", e), st({
352
+ target: t,
353
+ x: n,
354
+ y: r
355
+ }), at(), Te();
356
+ }
357
+ function Ft(e) {
358
+ let t = e;
359
+ for (; t; ) {
360
+ if (t.hasAttribute(K.resizeHandle))
361
+ return !0;
362
+ t = t.parentElement;
363
+ }
364
+ return !1;
365
+ }
366
+ function st({
367
+ target: e,
368
+ x: t,
369
+ y: n
370
+ }) {
371
+ ne.splice(0);
372
+ let r = null;
373
+ (e instanceof HTMLElement || e instanceof SVGElement) && (r = e), Ae.forEach((i) => {
374
+ const {
375
+ element: o,
376
+ hitAreaMargins: s
377
+ } = i, a = o.getBoundingClientRect(), {
378
+ bottom: l,
379
+ left: f,
380
+ right: p,
381
+ top: u
382
+ } = a, c = ar ? s.coarse : s.fine;
383
+ if (t >= f - c && t <= p + c && n >= u - c && n <= l + c) {
384
+ if (r !== null && document.contains(r) && o !== r && !o.contains(r) && !r.contains(o) && // Calculating stacking order has a cost, so we should avoid it if possible
385
+ // That is why we only check potentially intersecting handles,
386
+ // and why we skip if the event target is within the handle's DOM
387
+ rr(r, o) > 0) {
388
+ let m = r, y = !1;
389
+ for (; m && !m.contains(o); ) {
390
+ if (nr(m.getBoundingClientRect(), a)) {
391
+ y = !0;
392
+ break;
393
+ }
394
+ m = m.parentElement;
395
+ }
396
+ if (y)
397
+ return;
398
+ }
399
+ ne.push(i);
400
+ }
401
+ });
402
+ }
403
+ function Ye(e, t) {
404
+ Ke.set(e, t);
405
+ }
406
+ function at() {
407
+ let e = !1, t = !1;
408
+ ne.forEach((r) => {
409
+ const {
410
+ direction: i
411
+ } = r;
412
+ i === "horizontal" ? e = !0 : t = !0;
413
+ });
414
+ let n = 0;
415
+ Ke.forEach((r) => {
416
+ n |= r;
417
+ }), e && t ? Ue("intersection", n) : e ? Ue("horizontal", n) : t ? Ue("vertical", n) : er();
418
+ }
419
+ let je = new AbortController();
420
+ function Te() {
421
+ je.abort(), je = new AbortController();
422
+ const e = {
423
+ capture: !0,
424
+ signal: je.signal
425
+ };
426
+ Ae.size && (xe ? (ne.length > 0 && fe.forEach((t, n) => {
427
+ const {
428
+ body: r
429
+ } = n;
430
+ t > 0 && (r.addEventListener("contextmenu", Xe, e), r.addEventListener("pointerleave", We, e), r.addEventListener("pointermove", We, e));
431
+ }), window.addEventListener("pointerup", Xe, e), window.addEventListener("pointercancel", Xe, e)) : fe.forEach((t, n) => {
432
+ const {
433
+ body: r
434
+ } = n;
435
+ t > 0 && (r.addEventListener("pointerdown", cr, e), r.addEventListener("pointermove", We, e));
436
+ }));
437
+ }
438
+ function He(e, t) {
439
+ Ae.forEach((n) => {
440
+ const {
441
+ setResizeHandlerState: r
442
+ } = n, i = ne.includes(n);
443
+ r(e, i, t);
444
+ });
445
+ }
446
+ function ur() {
447
+ const [e, t] = ue(0);
448
+ return O(() => t((n) => n + 1), []);
449
+ }
450
+ function E(e, t) {
451
+ if (!e)
452
+ throw console.error(t), Error(t);
453
+ }
454
+ function ge(e, t, n = ot) {
455
+ return e.toFixed(n) === t.toFixed(n) ? 0 : e > t ? 1 : -1;
456
+ }
457
+ function ae(e, t, n = ot) {
458
+ return ge(e, t, n) === 0;
459
+ }
460
+ function J(e, t, n) {
461
+ return ge(e, t, n) === 0;
462
+ }
463
+ function dr(e, t, n) {
464
+ if (e.length !== t.length)
465
+ return !1;
466
+ for (let r = 0; r < e.length; r++) {
467
+ const i = e[r], o = t[r];
468
+ if (!J(i, o, n))
469
+ return !1;
470
+ }
471
+ return !0;
472
+ }
473
+ function Se({
474
+ panelConstraints: e,
475
+ panelIndex: t,
476
+ size: n
477
+ }) {
478
+ const r = e[t];
479
+ E(r != null, `Panel constraints not found for index ${t}`);
480
+ let {
481
+ collapsedSize: i = 0,
482
+ collapsible: o,
483
+ maxSize: s = 100,
484
+ minSize: a = 0
485
+ } = r;
486
+ if (ge(n, a) < 0)
487
+ if (o) {
488
+ const l = (i + a) / 2;
489
+ ge(n, l) < 0 ? n = i : n = a;
490
+ } else
491
+ n = a;
492
+ return n = Math.min(s, n), n = parseFloat(n.toFixed(ot)), n;
493
+ }
494
+ function Ie({
495
+ delta: e,
496
+ initialLayout: t,
497
+ panelConstraints: n,
498
+ pivotIndices: r,
499
+ prevLayout: i,
500
+ trigger: o
501
+ }) {
502
+ if (J(e, 0))
503
+ return t;
504
+ const s = [...t], [a, l] = r;
505
+ E(a != null, "Invalid first pivot index"), E(l != null, "Invalid second pivot index");
506
+ let f = 0;
507
+ if (o === "keyboard") {
508
+ {
509
+ const u = e < 0 ? l : a, c = n[u];
510
+ E(c, `Panel constraints not found for index ${u}`);
511
+ const {
512
+ collapsedSize: h = 0,
513
+ collapsible: m,
514
+ minSize: y = 0
515
+ } = c;
516
+ if (m) {
517
+ const S = t[u];
518
+ if (E(S != null, `Previous layout not found for panel index ${u}`), J(S, h)) {
519
+ const v = y - S;
520
+ ge(v, Math.abs(e)) > 0 && (e = e < 0 ? 0 - v : v);
521
+ }
522
+ }
523
+ }
524
+ {
525
+ const u = e < 0 ? a : l, c = n[u];
526
+ E(c, `No panel constraints found for index ${u}`);
527
+ const {
528
+ collapsedSize: h = 0,
529
+ collapsible: m,
530
+ minSize: y = 0
531
+ } = c;
532
+ if (m) {
533
+ const S = t[u];
534
+ if (E(S != null, `Previous layout not found for panel index ${u}`), J(S, y)) {
535
+ const v = S - h;
536
+ ge(v, Math.abs(e)) > 0 && (e = e < 0 ? 0 - v : v);
537
+ }
538
+ }
539
+ }
540
+ }
541
+ {
542
+ const u = e < 0 ? 1 : -1;
543
+ let c = e < 0 ? l : a, h = 0;
544
+ for (; ; ) {
545
+ const y = t[c];
546
+ E(y != null, `Previous layout not found for panel index ${c}`);
547
+ const v = Se({
548
+ panelConstraints: n,
549
+ panelIndex: c,
550
+ size: 100
551
+ }) - y;
552
+ if (h += v, c += u, c < 0 || c >= n.length)
553
+ break;
554
+ }
555
+ const m = Math.min(Math.abs(e), Math.abs(h));
556
+ e = e < 0 ? 0 - m : m;
557
+ }
558
+ {
559
+ let c = e < 0 ? a : l;
560
+ for (; c >= 0 && c < n.length; ) {
561
+ const h = Math.abs(e) - Math.abs(f), m = t[c];
562
+ E(m != null, `Previous layout not found for panel index ${c}`);
563
+ const y = m - h, S = Se({
564
+ panelConstraints: n,
565
+ panelIndex: c,
566
+ size: y
567
+ });
568
+ if (!J(m, S) && (f += m - S, s[c] = S, f.toPrecision(3).localeCompare(Math.abs(e).toPrecision(3), void 0, {
569
+ numeric: !0
570
+ }) >= 0))
571
+ break;
572
+ e < 0 ? c-- : c++;
573
+ }
574
+ }
575
+ if (dr(i, s))
576
+ return i;
577
+ {
578
+ const u = e < 0 ? l : a, c = t[u];
579
+ E(c != null, `Previous layout not found for panel index ${u}`);
580
+ const h = c + f, m = Se({
581
+ panelConstraints: n,
582
+ panelIndex: u,
583
+ size: h
584
+ });
585
+ if (s[u] = m, !J(m, h)) {
586
+ let y = h - m, v = e < 0 ? l : a;
587
+ for (; v >= 0 && v < n.length; ) {
588
+ const D = s[v];
589
+ E(D != null, `Previous layout not found for panel index ${v}`);
590
+ const b = D + y, I = Se({
591
+ panelConstraints: n,
592
+ panelIndex: v,
593
+ size: b
594
+ });
595
+ if (J(D, I) || (y -= I - D, s[v] = I), J(y, 0))
596
+ break;
597
+ e > 0 ? v-- : v++;
598
+ }
599
+ }
600
+ }
601
+ const p = s.reduce((u, c) => c + u, 0);
602
+ return J(p, 100) ? s : i;
603
+ }
604
+ function fr({
605
+ layout: e,
606
+ panelsArray: t,
607
+ pivotIndices: n
608
+ }) {
609
+ let r = 0, i = 100, o = 0, s = 0;
610
+ const a = n[0];
611
+ E(a != null, "No pivot index found"), t.forEach((u, c) => {
612
+ const {
613
+ constraints: h
614
+ } = u, {
615
+ maxSize: m = 100,
616
+ minSize: y = 0
617
+ } = h;
618
+ c === a ? (r = y, i = m) : (o += y, s += m);
619
+ });
620
+ const l = Math.min(i, 100 - o), f = Math.max(r, 100 - s), p = e[a];
621
+ return {
622
+ valueMax: l,
623
+ valueMin: f,
624
+ valueNow: p
625
+ };
626
+ }
627
+ function Me(e, t = document) {
628
+ return Array.from(t.querySelectorAll(`[${K.resizeHandleId}][data-panel-group-id="${e}"]`));
629
+ }
630
+ function Kt(e, t, n = document) {
631
+ const i = Me(e, n).findIndex((o) => o.getAttribute(K.resizeHandleId) === t);
632
+ return i ?? null;
633
+ }
634
+ function Bt(e, t, n) {
635
+ const r = Kt(e, t, n);
636
+ return r != null ? [r, r + 1] : [-1, -1];
637
+ }
638
+ function qt(e, t = document) {
639
+ var n;
640
+ if (t instanceof HTMLElement && (t == null || (n = t.dataset) === null || n === void 0 ? void 0 : n.panelGroupId) == e)
641
+ return t;
642
+ const r = t.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);
643
+ return r || null;
644
+ }
645
+ function Be(e, t = document) {
646
+ const n = t.querySelector(`[${K.resizeHandleId}="${e}"]`);
647
+ return n || null;
648
+ }
649
+ function pr(e, t, n, r = document) {
650
+ var i, o, s, a;
651
+ const l = Be(t, r), f = Me(e, r), p = l ? f.indexOf(l) : -1, u = (i = (o = n[p]) === null || o === void 0 ? void 0 : o.id) !== null && i !== void 0 ? i : null, c = (s = (a = n[p + 1]) === null || a === void 0 ? void 0 : a.id) !== null && s !== void 0 ? s : null;
652
+ return [u, c];
653
+ }
654
+ function mr({
655
+ committedValuesRef: e,
656
+ eagerValuesRef: t,
657
+ groupId: n,
658
+ layout: r,
659
+ panelDataArray: i,
660
+ panelGroupElement: o,
661
+ setLayout: s
662
+ }) {
663
+ B({
664
+ didWarnAboutMissingResizeHandle: !1
665
+ }), me(() => {
666
+ if (!o)
667
+ return;
668
+ const a = Me(n, o);
669
+ for (let l = 0; l < i.length - 1; l++) {
670
+ const {
671
+ valueMax: f,
672
+ valueMin: p,
673
+ valueNow: u
674
+ } = fr({
675
+ layout: r,
676
+ panelsArray: i,
677
+ pivotIndices: [l, l + 1]
678
+ }), c = a[l];
679
+ if (c != null) {
680
+ const h = i[l];
681
+ E(h, `No panel data found for index "${l}"`), c.setAttribute("aria-controls", h.id), c.setAttribute("aria-valuemax", "" + Math.round(f)), c.setAttribute("aria-valuemin", "" + Math.round(p)), c.setAttribute("aria-valuenow", u != null ? "" + Math.round(u) : "");
682
+ }
683
+ }
684
+ return () => {
685
+ a.forEach((l, f) => {
686
+ l.removeAttribute("aria-controls"), l.removeAttribute("aria-valuemax"), l.removeAttribute("aria-valuemin"), l.removeAttribute("aria-valuenow");
687
+ });
688
+ };
689
+ }, [n, r, i, o]), Z(() => {
690
+ if (!o)
691
+ return;
692
+ const a = t.current;
693
+ E(a, "Eager values not found");
694
+ const {
695
+ panelDataArray: l
696
+ } = a, f = qt(n, o);
697
+ E(f != null, `No group found for id "${n}"`);
698
+ const p = Me(n, o);
699
+ E(p, `No resize handles found for group id "${n}"`);
700
+ const u = p.map((c) => {
701
+ const h = c.getAttribute(K.resizeHandleId);
702
+ E(h, "Resize handle element has no handle id attribute");
703
+ const [m, y] = pr(n, h, l, o);
704
+ if (m == null || y == null)
705
+ return () => {
706
+ };
707
+ const S = (v) => {
708
+ if (!v.defaultPrevented)
709
+ switch (v.key) {
710
+ case "Enter": {
711
+ v.preventDefault();
712
+ const D = l.findIndex((b) => b.id === m);
713
+ if (D >= 0) {
714
+ const b = l[D];
715
+ E(b, `No panel data found for index ${D}`);
716
+ const I = r[D], {
717
+ collapsedSize: R = 0,
718
+ collapsible: M,
719
+ minSize: w = 0
720
+ } = b.constraints;
721
+ if (I != null && M) {
722
+ const X = Ie({
723
+ delta: J(I, R) ? w - R : R - I,
724
+ initialLayout: r,
725
+ panelConstraints: l.map((j) => j.constraints),
726
+ pivotIndices: Bt(n, h, o),
727
+ prevLayout: r,
728
+ trigger: "keyboard"
729
+ });
730
+ r !== X && s(X);
731
+ }
732
+ }
733
+ break;
734
+ }
735
+ }
736
+ };
737
+ return c.addEventListener("keydown", S), () => {
738
+ c.removeEventListener("keydown", S);
739
+ };
740
+ });
741
+ return () => {
742
+ u.forEach((c) => c());
743
+ };
744
+ }, [o, e, t, n, r, i, s]);
745
+ }
746
+ function ht(e, t) {
747
+ if (e.length !== t.length)
748
+ return !1;
749
+ for (let n = 0; n < e.length; n++)
750
+ if (e[n] !== t[n])
751
+ return !1;
752
+ return !0;
753
+ }
754
+ function Gt(e, t) {
755
+ const n = e === "horizontal", {
756
+ x: r,
757
+ y: i
758
+ } = Fe(t);
759
+ return n ? r : i;
760
+ }
761
+ function gr(e, t, n, r, i) {
762
+ const o = n === "horizontal", s = Be(t, i);
763
+ E(s, `No resize handle element found for id "${t}"`);
764
+ const a = s.getAttribute(K.groupId);
765
+ E(a, "Resize handle element has no group id attribute");
766
+ let {
767
+ initialCursorPosition: l
768
+ } = r;
769
+ const f = Gt(n, e), p = qt(a, i);
770
+ E(p, `No group element found for id "${a}"`);
771
+ const u = p.getBoundingClientRect(), c = o ? u.width : u.height;
772
+ return (f - l) / c * 100;
773
+ }
774
+ function hr(e, t, n, r, i, o) {
775
+ if (Lt(e)) {
776
+ const s = n === "horizontal";
777
+ let a = 0;
778
+ e.shiftKey ? a = 100 : i != null ? a = i : a = 10;
779
+ let l = 0;
780
+ switch (e.key) {
781
+ case "ArrowDown":
782
+ l = s ? 0 : a;
783
+ break;
784
+ case "ArrowLeft":
785
+ l = s ? -a : 0;
786
+ break;
787
+ case "ArrowRight":
788
+ l = s ? a : 0;
789
+ break;
790
+ case "ArrowUp":
791
+ l = s ? 0 : -a;
792
+ break;
793
+ case "End":
794
+ l = 100;
795
+ break;
796
+ case "Home":
797
+ l = -100;
798
+ break;
799
+ }
800
+ return l;
801
+ } else
802
+ return r == null ? 0 : gr(e, t, n, r, o);
803
+ }
804
+ function yr({
805
+ panelDataArray: e
806
+ }) {
807
+ const t = Array(e.length), n = e.map((o) => o.constraints);
808
+ let r = 0, i = 100;
809
+ for (let o = 0; o < e.length; o++) {
810
+ const s = n[o];
811
+ E(s, `Panel constraints not found for index ${o}`);
812
+ const {
813
+ defaultSize: a
814
+ } = s;
815
+ a != null && (r++, t[o] = a, i -= a);
816
+ }
817
+ for (let o = 0; o < e.length; o++) {
818
+ const s = n[o];
819
+ E(s, `Panel constraints not found for index ${o}`);
820
+ const {
821
+ defaultSize: a
822
+ } = s;
823
+ if (a != null)
824
+ continue;
825
+ const l = e.length - r, f = i / l;
826
+ r++, t[o] = f, i -= f;
827
+ }
828
+ return t;
829
+ }
830
+ function ye(e, t, n) {
831
+ t.forEach((r, i) => {
832
+ const o = e[i];
833
+ E(o, `Panel data not found for index ${i}`);
834
+ const {
835
+ callbacks: s,
836
+ constraints: a,
837
+ id: l
838
+ } = o, {
839
+ collapsedSize: f = 0,
840
+ collapsible: p
841
+ } = a, u = n[l];
842
+ if (u == null || r !== u) {
843
+ n[l] = r;
844
+ const {
845
+ onCollapse: c,
846
+ onExpand: h,
847
+ onResize: m
848
+ } = s;
849
+ m && m(r, u), p && (c || h) && (h && (u == null || ae(u, f)) && !ae(r, f) && h(), c && (u == null || !ae(u, f)) && ae(r, f) && c());
850
+ }
851
+ });
852
+ }
853
+ function Ne(e, t) {
854
+ if (e.length !== t.length)
855
+ return !1;
856
+ for (let n = 0; n < e.length; n++)
857
+ if (e[n] != t[n])
858
+ return !1;
859
+ return !0;
860
+ }
861
+ function vr({
862
+ defaultSize: e,
863
+ dragState: t,
864
+ layout: n,
865
+ panelData: r,
866
+ panelIndex: i,
867
+ precision: o = 3
868
+ }) {
869
+ const s = n[i];
870
+ let a;
871
+ return s == null ? a = e != null ? e.toPrecision(o) : "1" : r.length === 1 ? a = "1" : a = s.toPrecision(o), {
872
+ flexBasis: 0,
873
+ flexGrow: a,
874
+ flexShrink: 1,
875
+ // Without this, Panel sizes may be unintentionally overridden by their content
876
+ overflow: "hidden",
877
+ // Disable pointer events inside of a panel during resize
878
+ // This avoid edge cases like nested iframes
879
+ pointerEvents: t !== null ? "none" : void 0
880
+ };
881
+ }
882
+ function Sr(e, t = 10) {
883
+ let n = null;
884
+ return (...i) => {
885
+ n !== null && clearTimeout(n), n = setTimeout(() => {
886
+ e(...i);
887
+ }, t);
888
+ };
889
+ }
890
+ function yt(e) {
891
+ try {
892
+ if (typeof localStorage < "u")
893
+ e.getItem = (t) => localStorage.getItem(t), e.setItem = (t, n) => {
894
+ localStorage.setItem(t, n);
895
+ };
896
+ else
897
+ throw new Error("localStorage not supported in this environment");
898
+ } catch (t) {
899
+ console.error(t), e.getItem = () => null, e.setItem = () => {
900
+ };
901
+ }
902
+ }
903
+ function Ot(e) {
904
+ return `react-resizable-panels:${e}`;
905
+ }
906
+ function Ut(e) {
907
+ return e.map((t) => {
908
+ const {
909
+ constraints: n,
910
+ id: r,
911
+ idIsFromProps: i,
912
+ order: o
913
+ } = t;
914
+ return i ? r : o ? `${o}:${JSON.stringify(n)}` : JSON.stringify(n);
915
+ }).sort((t, n) => t.localeCompare(n)).join(",");
916
+ }
917
+ function Wt(e, t) {
918
+ try {
919
+ const n = Ot(e), r = t.getItem(n);
920
+ if (r) {
921
+ const i = JSON.parse(r);
922
+ if (typeof i == "object" && i != null)
923
+ return i;
924
+ }
925
+ } catch {
926
+ }
927
+ return null;
928
+ }
929
+ function xr(e, t, n) {
930
+ var r, i;
931
+ const o = (r = Wt(e, n)) !== null && r !== void 0 ? r : {}, s = Ut(t);
932
+ return (i = o[s]) !== null && i !== void 0 ? i : null;
933
+ }
934
+ function br(e, t, n, r, i) {
935
+ var o;
936
+ const s = Ot(e), a = Ut(t), l = (o = Wt(e, i)) !== null && o !== void 0 ? o : {};
937
+ l[a] = {
938
+ expandToSizes: Object.fromEntries(n.entries()),
939
+ layout: r
940
+ };
941
+ try {
942
+ i.setItem(s, JSON.stringify(l));
943
+ } catch (f) {
944
+ console.error(f);
945
+ }
946
+ }
947
+ function vt({
948
+ layout: e,
949
+ panelConstraints: t
950
+ }) {
951
+ const n = [...e], r = n.reduce((o, s) => o + s, 0);
952
+ if (n.length !== t.length)
953
+ throw Error(`Invalid ${t.length} panel layout: ${n.map((o) => `${o}%`).join(", ")}`);
954
+ if (!J(r, 100) && n.length > 0)
955
+ for (let o = 0; o < t.length; o++) {
956
+ const s = n[o];
957
+ E(s != null, `No layout data found for index ${o}`);
958
+ const a = 100 / r * s;
959
+ n[o] = a;
960
+ }
961
+ let i = 0;
962
+ for (let o = 0; o < t.length; o++) {
963
+ const s = n[o];
964
+ E(s != null, `No layout data found for index ${o}`);
965
+ const a = Se({
966
+ panelConstraints: t,
967
+ panelIndex: o,
968
+ size: s
969
+ });
970
+ s != a && (i += s - a, n[o] = a);
971
+ }
972
+ if (!J(i, 0))
973
+ for (let o = 0; o < t.length; o++) {
974
+ const s = n[o];
975
+ E(s != null, `No layout data found for index ${o}`);
976
+ const a = s + i, l = Se({
977
+ panelConstraints: t,
978
+ panelIndex: o,
979
+ size: a
980
+ });
981
+ if (s !== l && (i -= l - s, n[o] = l, J(i, 0)))
982
+ break;
983
+ }
984
+ return n;
985
+ }
986
+ const zr = 100, Re = {
987
+ getItem: (e) => (yt(Re), Re.getItem(e)),
988
+ setItem: (e, t) => {
989
+ yt(Re), Re.setItem(e, t);
990
+ }
991
+ }, St = {};
992
+ function Xt({
993
+ autoSaveId: e = null,
994
+ children: t,
995
+ className: n = "",
996
+ direction: r,
997
+ forwardedRef: i,
998
+ id: o = null,
999
+ onLayout: s = null,
1000
+ keyboardResizeBy: a = null,
1001
+ storage: l = Re,
1002
+ style: f,
1003
+ tagName: p = "div",
1004
+ ...u
1005
+ }) {
1006
+ const c = it(o), h = B(null), [m, y] = ue(null), [S, v] = ue([]), D = ur(), b = B({}), I = B(/* @__PURE__ */ new Map()), R = B(0), M = B({
1007
+ autoSaveId: e,
1008
+ direction: r,
1009
+ dragState: m,
1010
+ id: c,
1011
+ keyboardResizeBy: a,
1012
+ onLayout: s,
1013
+ storage: l
1014
+ }), w = B({
1015
+ layout: S,
1016
+ panelDataArray: [],
1017
+ panelDataArrayChanged: !1
1018
+ });
1019
+ B({
1020
+ didLogIdAndOrderWarning: !1,
1021
+ didLogPanelConstraintsWarning: !1,
1022
+ prevPanelIds: []
1023
+ }), bt(i, () => ({
1024
+ getId: () => M.current.id,
1025
+ getLayout: () => {
1026
+ const {
1027
+ layout: x
1028
+ } = w.current;
1029
+ return x;
1030
+ },
1031
+ setLayout: (x) => {
1032
+ const {
1033
+ onLayout: z
1034
+ } = M.current, {
1035
+ layout: C,
1036
+ panelDataArray: d
1037
+ } = w.current, g = vt({
1038
+ layout: x,
1039
+ panelConstraints: d.map((P) => P.constraints)
1040
+ });
1041
+ ht(C, g) || (v(g), w.current.layout = g, z && z(g), ye(d, g, b.current));
1042
+ }
1043
+ }), []), me(() => {
1044
+ M.current.autoSaveId = e, M.current.direction = r, M.current.dragState = m, M.current.id = c, M.current.onLayout = s, M.current.storage = l;
1045
+ }), mr({
1046
+ committedValuesRef: M,
1047
+ eagerValuesRef: w,
1048
+ groupId: c,
1049
+ layout: S,
1050
+ panelDataArray: w.current.panelDataArray,
1051
+ setLayout: v,
1052
+ panelGroupElement: h.current
1053
+ }), Z(() => {
1054
+ const {
1055
+ panelDataArray: x
1056
+ } = w.current;
1057
+ if (e) {
1058
+ if (S.length === 0 || S.length !== x.length)
1059
+ return;
1060
+ let z = St[e];
1061
+ z == null && (z = Sr(br, zr), St[e] = z);
1062
+ const C = [...x], d = new Map(I.current);
1063
+ z(e, C, d, S, l);
1064
+ }
1065
+ }, [e, S, l]), Z(() => {
1066
+ });
1067
+ const X = O((x) => {
1068
+ const {
1069
+ onLayout: z
1070
+ } = M.current, {
1071
+ layout: C,
1072
+ panelDataArray: d
1073
+ } = w.current;
1074
+ if (x.constraints.collapsible) {
1075
+ const g = d.map((oe) => oe.constraints), {
1076
+ collapsedSize: P = 0,
1077
+ panelSize: N,
1078
+ pivotIndices: q
1079
+ } = de(d, x, C);
1080
+ if (E(N != null, `Panel size not found for panel "${x.id}"`), !ae(N, P)) {
1081
+ I.current.set(x.id, N);
1082
+ const ie = ve(d, x) === d.length - 1 ? N - P : P - N, F = Ie({
1083
+ delta: ie,
1084
+ initialLayout: C,
1085
+ panelConstraints: g,
1086
+ pivotIndices: q,
1087
+ prevLayout: C,
1088
+ trigger: "imperative-api"
1089
+ });
1090
+ Ne(C, F) || (v(F), w.current.layout = F, z && z(F), ye(d, F, b.current));
1091
+ }
1092
+ }
1093
+ }, []), j = O((x, z) => {
1094
+ const {
1095
+ onLayout: C
1096
+ } = M.current, {
1097
+ layout: d,
1098
+ panelDataArray: g
1099
+ } = w.current;
1100
+ if (x.constraints.collapsible) {
1101
+ const P = g.map((ee) => ee.constraints), {
1102
+ collapsedSize: N = 0,
1103
+ panelSize: q = 0,
1104
+ minSize: oe = 0,
1105
+ pivotIndices: ie
1106
+ } = de(g, x, d), F = z ?? oe;
1107
+ if (ae(q, N)) {
1108
+ const ee = I.current.get(x.id), Ce = ee != null && ee >= F ? ee : F, Ge = ve(g, x) === g.length - 1 ? q - Ce : Ce - q, Q = Ie({
1109
+ delta: Ge,
1110
+ initialLayout: d,
1111
+ panelConstraints: P,
1112
+ pivotIndices: ie,
1113
+ prevLayout: d,
1114
+ trigger: "imperative-api"
1115
+ });
1116
+ Ne(d, Q) || (v(Q), w.current.layout = Q, C && C(Q), ye(g, Q, b.current));
1117
+ }
1118
+ }
1119
+ }, []), $ = O((x) => {
1120
+ const {
1121
+ layout: z,
1122
+ panelDataArray: C
1123
+ } = w.current, {
1124
+ panelSize: d
1125
+ } = de(C, x, z);
1126
+ return E(d != null, `Panel size not found for panel "${x.id}"`), d;
1127
+ }, []), A = O((x, z) => {
1128
+ const {
1129
+ panelDataArray: C
1130
+ } = w.current, d = ve(C, x);
1131
+ return vr({
1132
+ defaultSize: z,
1133
+ dragState: m,
1134
+ layout: S,
1135
+ panelData: C,
1136
+ panelIndex: d
1137
+ });
1138
+ }, [m, S]), L = O((x) => {
1139
+ const {
1140
+ layout: z,
1141
+ panelDataArray: C
1142
+ } = w.current, {
1143
+ collapsedSize: d = 0,
1144
+ collapsible: g,
1145
+ panelSize: P
1146
+ } = de(C, x, z);
1147
+ return E(P != null, `Panel size not found for panel "${x.id}"`), g === !0 && ae(P, d);
1148
+ }, []), W = O((x) => {
1149
+ const {
1150
+ layout: z,
1151
+ panelDataArray: C
1152
+ } = w.current, {
1153
+ collapsedSize: d = 0,
1154
+ collapsible: g,
1155
+ panelSize: P
1156
+ } = de(C, x, z);
1157
+ return E(P != null, `Panel size not found for panel "${x.id}"`), !g || ge(P, d) > 0;
1158
+ }, []), V = O((x) => {
1159
+ const {
1160
+ panelDataArray: z
1161
+ } = w.current;
1162
+ z.push(x), z.sort((C, d) => {
1163
+ const g = C.order, P = d.order;
1164
+ return g == null && P == null ? 0 : g == null ? -1 : P == null ? 1 : g - P;
1165
+ }), w.current.panelDataArrayChanged = !0, D();
1166
+ }, [D]);
1167
+ me(() => {
1168
+ if (w.current.panelDataArrayChanged) {
1169
+ w.current.panelDataArrayChanged = !1;
1170
+ const {
1171
+ autoSaveId: x,
1172
+ onLayout: z,
1173
+ storage: C
1174
+ } = M.current, {
1175
+ layout: d,
1176
+ panelDataArray: g
1177
+ } = w.current;
1178
+ let P = null;
1179
+ if (x) {
1180
+ const q = xr(x, g, C);
1181
+ q && (I.current = new Map(Object.entries(q.expandToSizes)), P = q.layout);
1182
+ }
1183
+ P == null && (P = yr({
1184
+ panelDataArray: g
1185
+ }));
1186
+ const N = vt({
1187
+ layout: P,
1188
+ panelConstraints: g.map((q) => q.constraints)
1189
+ });
1190
+ ht(d, N) || (v(N), w.current.layout = N, z && z(N), ye(g, N, b.current));
1191
+ }
1192
+ }), me(() => {
1193
+ const x = w.current;
1194
+ return () => {
1195
+ x.layout = [];
1196
+ };
1197
+ }, []);
1198
+ const T = O((x) => {
1199
+ let z = !1;
1200
+ const C = h.current;
1201
+ return C && window.getComputedStyle(C, null).getPropertyValue("direction") === "rtl" && (z = !0), function(g) {
1202
+ g.preventDefault();
1203
+ const P = h.current;
1204
+ if (!P)
1205
+ return () => null;
1206
+ const {
1207
+ direction: N,
1208
+ dragState: q,
1209
+ id: oe,
1210
+ keyboardResizeBy: ie,
1211
+ onLayout: F
1212
+ } = M.current, {
1213
+ layout: ee,
1214
+ panelDataArray: Ce
1215
+ } = w.current, {
1216
+ initialLayout: Le
1217
+ } = q ?? {}, Ge = Bt(oe, x, P);
1218
+ let Q = hr(g, x, N, q, ie, P);
1219
+ const ct = N === "horizontal";
1220
+ ct && z && (Q = -Q);
1221
+ const yn = Ce.map((vn) => vn.constraints), Ee = Ie({
1222
+ delta: Q,
1223
+ initialLayout: Le ?? ee,
1224
+ panelConstraints: yn,
1225
+ pivotIndices: Ge,
1226
+ prevLayout: ee,
1227
+ trigger: Lt(g) ? "keyboard" : "mouse-or-touch"
1228
+ }), ut = !Ne(ee, Ee);
1229
+ (Nt(g) || _t(g)) && R.current != Q && (R.current = Q, !ut && Q !== 0 ? ct ? Ye(x, Q < 0 ? Tt : Ht) : Ye(x, Q < 0 ? $t : Vt) : Ye(x, 0)), ut && (v(Ee), w.current.layout = Ee, F && F(Ee), ye(Ce, Ee, b.current));
1230
+ };
1231
+ }, []), H = O((x, z) => {
1232
+ const {
1233
+ onLayout: C
1234
+ } = M.current, {
1235
+ layout: d,
1236
+ panelDataArray: g
1237
+ } = w.current, P = g.map((ee) => ee.constraints), {
1238
+ panelSize: N,
1239
+ pivotIndices: q
1240
+ } = de(g, x, d);
1241
+ E(N != null, `Panel size not found for panel "${x.id}"`);
1242
+ const ie = ve(g, x) === g.length - 1 ? N - z : z - N, F = Ie({
1243
+ delta: ie,
1244
+ initialLayout: d,
1245
+ panelConstraints: P,
1246
+ pivotIndices: q,
1247
+ prevLayout: d,
1248
+ trigger: "imperative-api"
1249
+ });
1250
+ Ne(d, F) || (v(F), w.current.layout = F, C && C(F), ye(g, F, b.current));
1251
+ }, []), Y = O((x, z) => {
1252
+ const {
1253
+ layout: C,
1254
+ panelDataArray: d
1255
+ } = w.current, {
1256
+ collapsedSize: g = 0,
1257
+ collapsible: P
1258
+ } = z, {
1259
+ collapsedSize: N = 0,
1260
+ collapsible: q,
1261
+ maxSize: oe = 100,
1262
+ minSize: ie = 0
1263
+ } = x.constraints, {
1264
+ panelSize: F
1265
+ } = de(d, x, C);
1266
+ F != null && (P && q && ae(F, g) ? ae(g, N) || H(x, N) : F < ie ? H(x, ie) : F > oe && H(x, oe));
1267
+ }, [H]), G = O((x, z) => {
1268
+ const {
1269
+ direction: C
1270
+ } = M.current, {
1271
+ layout: d
1272
+ } = w.current;
1273
+ if (!h.current)
1274
+ return;
1275
+ const g = Be(x, h.current);
1276
+ E(g, `Drag handle element not found for id "${x}"`);
1277
+ const P = Gt(C, z);
1278
+ y({
1279
+ dragHandleId: x,
1280
+ dragHandleRect: g.getBoundingClientRect(),
1281
+ initialCursorPosition: P,
1282
+ initialLayout: d
1283
+ });
1284
+ }, []), re = O(() => {
1285
+ y(null);
1286
+ }, []), he = O((x) => {
1287
+ const {
1288
+ panelDataArray: z
1289
+ } = w.current, C = ve(z, x);
1290
+ C >= 0 && (z.splice(C, 1), delete b.current[x.id], w.current.panelDataArrayChanged = !0, D());
1291
+ }, [D]), se = U(() => ({
1292
+ collapsePanel: X,
1293
+ direction: r,
1294
+ dragState: m,
1295
+ expandPanel: j,
1296
+ getPanelSize: $,
1297
+ getPanelStyle: A,
1298
+ groupId: c,
1299
+ isPanelCollapsed: L,
1300
+ isPanelExpanded: W,
1301
+ reevaluatePanelConstraints: Y,
1302
+ registerPanel: V,
1303
+ registerResizeHandle: T,
1304
+ resizePanel: H,
1305
+ startDragging: G,
1306
+ stopDragging: re,
1307
+ unregisterPanel: he,
1308
+ panelGroupElement: h.current
1309
+ }), [X, m, r, j, $, A, c, L, W, Y, V, T, H, G, re, he]), le = {
1310
+ display: "flex",
1311
+ flexDirection: r === "horizontal" ? "row" : "column",
1312
+ height: "100%",
1313
+ overflow: "hidden",
1314
+ width: "100%"
1315
+ };
1316
+ return be(Ve.Provider, {
1317
+ value: se
1318
+ }, be(p, {
1319
+ ...u,
1320
+ children: t,
1321
+ className: n,
1322
+ id: o,
1323
+ ref: h,
1324
+ style: {
1325
+ ...le,
1326
+ ...f
1327
+ },
1328
+ // CSS selectors
1329
+ [K.group]: "",
1330
+ [K.groupDirection]: r,
1331
+ [K.groupId]: c
1332
+ }));
1333
+ }
1334
+ const Pr = $e((e, t) => be(Xt, {
1335
+ ...e,
1336
+ forwardedRef: t
1337
+ }));
1338
+ Xt.displayName = "PanelGroup";
1339
+ Pr.displayName = "forwardRef(PanelGroup)";
1340
+ function ve(e, t) {
1341
+ return e.findIndex((n) => n === t || n.id === t.id);
1342
+ }
1343
+ function de(e, t, n) {
1344
+ const r = ve(e, t), o = r === e.length - 1 ? [r - 1, r] : [r, r + 1], s = n[r];
1345
+ return {
1346
+ ...t.constraints,
1347
+ panelSize: s,
1348
+ pivotIndices: o
1349
+ };
1350
+ }
1351
+ function wr({
1352
+ disabled: e,
1353
+ handleId: t,
1354
+ resizeHandler: n,
1355
+ panelGroupElement: r
1356
+ }) {
1357
+ Z(() => {
1358
+ if (e || n == null || r == null)
1359
+ return;
1360
+ const i = Be(t, r);
1361
+ if (i == null)
1362
+ return;
1363
+ const o = (s) => {
1364
+ if (!s.defaultPrevented)
1365
+ switch (s.key) {
1366
+ case "ArrowDown":
1367
+ case "ArrowLeft":
1368
+ case "ArrowRight":
1369
+ case "ArrowUp":
1370
+ case "End":
1371
+ case "Home": {
1372
+ s.preventDefault(), n(s);
1373
+ break;
1374
+ }
1375
+ case "F6": {
1376
+ s.preventDefault();
1377
+ const a = i.getAttribute(K.groupId);
1378
+ E(a, `No group element found for id "${a}"`);
1379
+ const l = Me(a, r), f = Kt(a, t, r);
1380
+ E(f !== null, `No resize element found for id "${t}"`);
1381
+ const p = s.shiftKey ? f > 0 ? f - 1 : l.length - 1 : f + 1 < l.length ? f + 1 : 0;
1382
+ l[p].focus();
1383
+ break;
1384
+ }
1385
+ }
1386
+ };
1387
+ return i.addEventListener("keydown", o), () => {
1388
+ i.removeEventListener("keydown", o);
1389
+ };
1390
+ }, [r, e, t, n]);
1391
+ }
1392
+ function Cr({
1393
+ children: e = null,
1394
+ className: t = "",
1395
+ disabled: n = !1,
1396
+ hitAreaMargins: r,
1397
+ id: i,
1398
+ onBlur: o,
1399
+ onClick: s,
1400
+ onDragging: a,
1401
+ onFocus: l,
1402
+ onPointerDown: f,
1403
+ onPointerUp: p,
1404
+ style: u = {},
1405
+ tabIndex: c = 0,
1406
+ tagName: h = "div",
1407
+ ...m
1408
+ }) {
1409
+ var y, S;
1410
+ const v = B(null), D = B({
1411
+ onClick: s,
1412
+ onDragging: a,
1413
+ onPointerDown: f,
1414
+ onPointerUp: p
1415
+ });
1416
+ Z(() => {
1417
+ D.current.onClick = s, D.current.onDragging = a, D.current.onPointerDown = f, D.current.onPointerUp = p;
1418
+ });
1419
+ const b = xt(Ve);
1420
+ if (b === null)
1421
+ throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
1422
+ const {
1423
+ direction: I,
1424
+ groupId: R,
1425
+ registerResizeHandle: M,
1426
+ startDragging: w,
1427
+ stopDragging: X,
1428
+ panelGroupElement: j
1429
+ } = b, $ = it(i), [A, L] = ue("inactive"), [W, V] = ue(!1), [T, H] = ue(null), Y = B({
1430
+ state: A
1431
+ });
1432
+ me(() => {
1433
+ Y.current.state = A;
1434
+ }), Z(() => {
1435
+ if (n)
1436
+ H(null);
1437
+ else {
1438
+ const se = M($);
1439
+ H(() => se);
1440
+ }
1441
+ }, [n, $, M]);
1442
+ const G = (y = r == null ? void 0 : r.coarse) !== null && y !== void 0 ? y : 15, re = (S = r == null ? void 0 : r.fine) !== null && S !== void 0 ? S : 5;
1443
+ return Z(() => {
1444
+ if (n || T == null)
1445
+ return;
1446
+ const se = v.current;
1447
+ E(se, "Element ref not attached");
1448
+ let le = !1;
1449
+ return lr($, se, I, {
1450
+ coarse: G,
1451
+ fine: re
1452
+ }, (z, C, d) => {
1453
+ if (!C) {
1454
+ L("inactive");
1455
+ return;
1456
+ }
1457
+ switch (z) {
1458
+ case "down": {
1459
+ L("drag"), le = !1, E(d, 'Expected event to be defined for "down" action'), w($, d);
1460
+ const {
1461
+ onDragging: g,
1462
+ onPointerDown: P
1463
+ } = D.current;
1464
+ g == null || g(!0), P == null || P();
1465
+ break;
1466
+ }
1467
+ case "move": {
1468
+ const {
1469
+ state: g
1470
+ } = Y.current;
1471
+ le = !0, g !== "drag" && L("hover"), E(d, 'Expected event to be defined for "move" action'), T(d);
1472
+ break;
1473
+ }
1474
+ case "up": {
1475
+ L("hover"), X();
1476
+ const {
1477
+ onClick: g,
1478
+ onDragging: P,
1479
+ onPointerUp: N
1480
+ } = D.current;
1481
+ P == null || P(!1), N == null || N(), le || g == null || g();
1482
+ break;
1483
+ }
1484
+ }
1485
+ });
1486
+ }, [G, I, n, re, M, $, T, w, X]), wr({
1487
+ disabled: n,
1488
+ handleId: $,
1489
+ resizeHandler: T,
1490
+ panelGroupElement: j
1491
+ }), be(h, {
1492
+ ...m,
1493
+ children: e,
1494
+ className: t,
1495
+ id: i,
1496
+ onBlur: () => {
1497
+ V(!1), o == null || o();
1498
+ },
1499
+ onFocus: () => {
1500
+ V(!0), l == null || l();
1501
+ },
1502
+ ref: v,
1503
+ role: "separator",
1504
+ style: {
1505
+ ...{
1506
+ touchAction: "none",
1507
+ userSelect: "none"
1508
+ },
1509
+ ...u
1510
+ },
1511
+ tabIndex: c,
1512
+ // CSS selectors
1513
+ [K.groupDirection]: I,
1514
+ [K.groupId]: R,
1515
+ [K.resizeHandle]: "",
1516
+ [K.resizeHandleActive]: A === "drag" ? "pointer" : W ? "keyboard" : void 0,
1517
+ [K.resizeHandleEnabled]: !n,
1518
+ [K.resizeHandleId]: $,
1519
+ [K.resizeHandleState]: A
1520
+ });
1521
+ }
1522
+ Cr.displayName = "PanelResizeHandle";
1523
+ function Yt() {
1524
+ var l, f;
1525
+ const e = te((p) => p.card), t = te((p) => p.frame), n = U(
1526
+ () => Un(t, e),
1527
+ [t, e]
1528
+ ), { manifest: r } = zt(
1529
+ ((l = n == null ? void 0 : n.customCardPreferences) == null ? void 0 : l.url) || ""
1530
+ ), i = U(
1531
+ () => {
1532
+ var p;
1533
+ return (p = r == null ? void 0 : r.visuals) == null ? void 0 : p.find(
1534
+ (u) => {
1535
+ var c;
1536
+ return u.name === ((c = n == null ? void 0 : n.customCardPreferences) == null ? void 0 : c.componentName);
1537
+ }
1538
+ );
1539
+ },
1540
+ [r, (f = n == null ? void 0 : n.customCardPreferences) == null ? void 0 : f.componentName]
1541
+ ), o = Dt(n, i), s = U(
1542
+ () => At({
1543
+ frame: t,
1544
+ configCard: n,
1545
+ isMultiInputVisual: o === "multiple"
1546
+ }),
1547
+ [t, n, o]
1548
+ ), a = U(() => {
1549
+ const p = s.findIndex(
1550
+ (u) => (u == null ? void 0 : u.id) === e.id
1551
+ );
1552
+ return p < 0 ? -1 : Qe(e, p);
1553
+ }, [s, e]);
1554
+ return U(() => !n || o !== "multiple" || a < 0 ? e.type : _e(
1555
+ e,
1556
+ a,
1557
+ i == null ? void 0 : i.slots
1558
+ ) ?? e.type, [n, o, a, e, i == null ? void 0 : i.slots]);
1559
+ }
1560
+ function jt({
1561
+ storeValue: e,
1562
+ defaultValue: t = "",
1563
+ onStoreUpdate: n,
1564
+ delay: r = 300
1565
+ }) {
1566
+ const [i, o] = ue(e ?? t), s = B(null), a = B(i), l = B(e), f = B(!1), p = O(() => {
1567
+ s.current && (clearTimeout(s.current), s.current = null), f.current && a.current !== (l.current ?? t) && (n(a.current), l.current = a.current);
1568
+ }, [t, n]);
1569
+ Z(() => {
1570
+ if (e !== l.current) {
1571
+ s.current && (clearTimeout(s.current), s.current = null);
1572
+ const c = e ?? t;
1573
+ o(c), a.current = c, l.current = e, f.current = !1;
1574
+ }
1575
+ }, [e, t]), Z(() => {
1576
+ if (f.current)
1577
+ return s.current = setTimeout(() => {
1578
+ p();
1579
+ }, r), () => {
1580
+ s.current && (clearTimeout(s.current), s.current = null);
1581
+ };
1582
+ }, [r, p, i]), Z(() => () => {
1583
+ s.current && clearTimeout(s.current);
1584
+ }, []);
1585
+ const u = O(
1586
+ (c) => {
1587
+ const h = c ?? t;
1588
+ f.current = !0, a.current = h, o(h);
1589
+ },
1590
+ [t]
1591
+ );
1592
+ return { value: i, onChange: u, flush: p };
1593
+ }
1594
+ function Qt({
1595
+ queryClient: e,
1596
+ readQueryKey: t,
1597
+ setRunSql: n
1598
+ }) {
1599
+ On(), setTimeout(() => {
1600
+ e.resetQueries({ queryKey: t(), exact: !0 }), n(!0);
1601
+ }, 0);
1602
+ }
1603
+ const Er = 300;
1604
+ function Ir({ className: e }, t) {
1605
+ const n = te((b) => b.card.sql), r = te((b) => b.sqlGen), i = te((b) => b.card), o = Yt(), { setCardSql: s, setSqlGen: a, setRunSql: l } = wt(), f = U(() => o !== i.type ? { ...i, type: o } : i, [i, o]), { queryKey: p } = nt(f), u = Pt(), c = B(p);
1606
+ c.current = p;
1607
+ const h = B(r);
1608
+ h.current = r;
1609
+ const m = O(
1610
+ (b) => {
1611
+ s(b);
1612
+ },
1613
+ [s]
1614
+ ), {
1615
+ value: y,
1616
+ onChange: S,
1617
+ flush: v
1618
+ } = jt({
1619
+ storeValue: n,
1620
+ defaultValue: "",
1621
+ onStoreUpdate: m,
1622
+ delay: Er
1623
+ });
1624
+ Z(() => Rt(v), [v]);
1625
+ function D(b) {
1626
+ S(b), Hn(h.current) || a({});
1627
+ }
1628
+ return /* @__PURE__ */ _("div", { className: "relative h-full w-full", children: /* @__PURE__ */ _(
1629
+ Ct,
1630
+ {
1631
+ ref: t,
1632
+ value: y ?? "",
1633
+ onValueChange: D,
1634
+ language: "sql-jinja",
1635
+ embedded: !0,
1636
+ hideLineNumbers: !0,
1637
+ wrapLines: !0,
1638
+ placeholder: "Write your SQL here",
1639
+ className: e,
1640
+ onKeyDown: (b) => {
1641
+ b.key === "Enter" && b.shiftKey && (b.preventDefault(), Qt({
1642
+ queryClient: u,
1643
+ readQueryKey: () => c.current,
1644
+ setRunSql: l
1645
+ }));
1646
+ }
1647
+ }
1648
+ ) });
1649
+ }
1650
+ const po = $e(Ir), Rr = 300, Dr = `# 'data' holds the SQL result.
1651
+ # Set 'result' to a list of dicts to replace it, for example:
1652
+ # import pandas as pd
1653
+ # result = pd.DataFrame(data).to_dict('records')`;
1654
+ function Ar({ className: e }, t) {
1655
+ const n = te((m) => m.card.python), r = te((m) => m.card), i = Yt(), { setCardPython: o, setRunSql: s } = wt(), a = U(() => i !== r.type ? { ...r, type: i } : r, [r, i]), { queryKey: l } = nt(a), f = Pt(), p = B(l);
1656
+ p.current = l;
1657
+ const { value: u, onChange: c, flush: h } = jt({
1658
+ storeValue: n,
1659
+ onStoreUpdate: o,
1660
+ delay: Rr
1661
+ });
1662
+ return Z(() => Rt(h), [h]), /* @__PURE__ */ _(
1663
+ Ct,
1664
+ {
1665
+ ref: t,
1666
+ value: u ?? "",
1667
+ onValueChange: c,
1668
+ language: "python",
1669
+ placeholder: Dr,
1670
+ ariaLabel: "Python code",
1671
+ embedded: !0,
1672
+ hideLineNumbers: !0,
1673
+ wrapLines: !0,
1674
+ className: rt(
1675
+ "[&_.code-editor-pre]:!pt-2 [&_.code-editor-textarea]:!pt-2",
1676
+ e
1677
+ ),
1678
+ onKeyDown: (m) => {
1679
+ m.key === "Enter" && m.shiftKey && (m.preventDefault(), Qt({
1680
+ queryClient: f,
1681
+ readQueryKey: () => p.current,
1682
+ setRunSql: s
1683
+ }));
1684
+ }
1685
+ }
1686
+ );
1687
+ }
1688
+ const mo = $e(Ar);
1689
+ function Mr({ card: e }) {
1690
+ var se, le, x, z, C;
1691
+ const t = Cn(), [n, r] = ue({}), { authToken: i } = En(), o = $n(i == null ? void 0 : i.accessToken), { compiledAppearance: s } = Yn(), a = U(
1692
+ () => In(s),
1693
+ [s]
1694
+ ), l = te((d) => d.frame), f = te(
1695
+ (d) => d.inlineFilterValuesMap[e.id]
1696
+ ), p = te(
1697
+ (d) => d.actions.setCardInlineFilterValue
1698
+ ), u = te(
1699
+ (d) => d.actions.removeCardInlineFilterValue
1700
+ ), c = e, { getCard: h, manifest: m } = zt(
1701
+ ((se = c.customCardPreferences) == null ? void 0 : se.url) || ""
1702
+ ), y = (le = m == null ? void 0 : m.visuals) == null ? void 0 : le.find(
1703
+ (d) => {
1704
+ var g;
1705
+ return d.name === ((g = c.customCardPreferences) == null ? void 0 : g.componentName);
1706
+ }
1707
+ ), S = Dt(c, y) ?? "single", v = U(
1708
+ () => At({
1709
+ frame: l,
1710
+ configCard: c,
1711
+ isMultiInputVisual: S === "multiple"
1712
+ }),
1713
+ [l, c, S]
1714
+ ), D = U(() => {
1715
+ const d = v.findIndex(
1716
+ (g) => (g == null ? void 0 : g.id) === e.id
1717
+ );
1718
+ return d < 0 ? -1 : Qe(e, d);
1719
+ }, [v, e]), b = U(() => S !== "multiple" || D < 0 ? e.type : _e(
1720
+ e,
1721
+ D,
1722
+ y == null ? void 0 : y.slots
1723
+ ) ?? e.type, [S, D, e, y == null ? void 0 : y.slots]), I = U(() => S === "multiple" ? {
1724
+ ...e,
1725
+ connectionId: void 0,
1726
+ dataSource: void 0,
1727
+ sql: "",
1728
+ python: "",
1729
+ config: void 0,
1730
+ queryConfig: void 0
1731
+ } : b !== e.type ? { ...e, type: b } : e, [e, b, S]), { data: R, effectiveCardConfig: M } = nt(I), w = Rn(), X = Oe((d) => d.dashboard.filters), j = Oe((d) => d.filterValues), $ = Oe((d) => d.selectedSheetId), A = U(
1732
+ () => Dn({
1733
+ card: e,
1734
+ sheetId: $ || "",
1735
+ inlineFilterValues: f,
1736
+ setInlineFilterValue: (d) => p(e.id, d),
1737
+ removeInlineFilterValue: (d) => u(e.id, d)
1738
+ }),
1739
+ [
1740
+ e,
1741
+ $,
1742
+ f,
1743
+ p,
1744
+ u
1745
+ ]
1746
+ ), { cardFilters: L, cardFilterValues: W } = U(
1747
+ () => An({
1748
+ card: e,
1749
+ transientContexts: w,
1750
+ filters: X,
1751
+ filterValues: j,
1752
+ selectedSheetId: $
1753
+ }),
1754
+ [
1755
+ e,
1756
+ w,
1757
+ X,
1758
+ j,
1759
+ $
1760
+ ]
1761
+ ), V = O(
1762
+ (d, g) => {
1763
+ const P = Wn(g);
1764
+ r((N) => ({
1765
+ ...N,
1766
+ [d]: P
1767
+ }));
1768
+ },
1769
+ []
1770
+ ), T = (x = c.customCardPreferences) == null ? void 0 : x.componentName, H = T ? h(T) : null, Y = Mn(
1771
+ (z = c.customCardPreferences) == null ? void 0 : z.settings,
1772
+ c
1773
+ ), G = U(
1774
+ () => Xn(v),
1775
+ [v]
1776
+ ), re = U(
1777
+ () => G.map(
1778
+ (d, g) => _e(
1779
+ d,
1780
+ g,
1781
+ y == null ? void 0 : y.slots
1782
+ )
1783
+ ),
1784
+ [G, y == null ? void 0 : y.slots]
1785
+ ), he = U(
1786
+ () => Ln(
1787
+ S === "multiple" ? Nn({
1788
+ slotOrderedCards: G,
1789
+ multiInputData: n,
1790
+ valueFormatPreferences: t
1791
+ }) : [
1792
+ {
1793
+ card: e,
1794
+ cardConfig: M,
1795
+ columns: R == null ? void 0 : R.columns,
1796
+ columnKeyMap: R == null ? void 0 : R.columnKeyMap,
1797
+ valueFormatPreferences: t
1798
+ }
1799
+ ]
1800
+ ),
1801
+ [
1802
+ e,
1803
+ R == null ? void 0 : R.columnKeyMap,
1804
+ R == null ? void 0 : R.columns,
1805
+ M,
1806
+ n,
1807
+ G,
1808
+ S,
1809
+ t
1810
+ ]
1811
+ );
1812
+ return T ? /* @__PURE__ */ _("div", { className: "semaphor-custom mb-3 flex grow basis-0 flex-col space-y-2 overflow-y-auto", children: /* @__PURE__ */ De(
1813
+ Pn,
1814
+ {
1815
+ fallback: /* @__PURE__ */ _(dt, {}),
1816
+ children: [
1817
+ H && S === "single" && /* @__PURE__ */ _(
1818
+ H,
1819
+ {
1820
+ editing: !0,
1821
+ params: o,
1822
+ theme: a,
1823
+ settings: Y,
1824
+ cardMetadata: _n({
1825
+ card: e,
1826
+ dataMetadata: R == null ? void 0 : R.metadata
1827
+ }),
1828
+ onDataChange: V,
1829
+ data: (R == null ? void 0 : R.records) || [],
1830
+ columns: (R == null ? void 0 : R.columns) || [],
1831
+ formatTemporalBucketValue: he,
1832
+ filters: L,
1833
+ filterValues: [
1834
+ ...W || [],
1835
+ ...f || []
1836
+ ],
1837
+ inlineFilters: A
1838
+ }
1839
+ ),
1840
+ H && S === "multiple" && /* @__PURE__ */ De(dt, { children: [
1841
+ v.map((d, g) => {
1842
+ if (!d) return null;
1843
+ const P = Qe(d, g), N = _e(
1844
+ d,
1845
+ P,
1846
+ y == null ? void 0 : y.slots
1847
+ );
1848
+ return /* @__PURE__ */ _(
1849
+ kn,
1850
+ {
1851
+ onDataChange: V,
1852
+ card: d,
1853
+ effectiveCardType: N
1854
+ },
1855
+ `${d.id}-${P}`
1856
+ );
1857
+ }),
1858
+ /* @__PURE__ */ _("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ _(
1859
+ H,
1860
+ {
1861
+ editing: !0,
1862
+ onDataChange: V,
1863
+ ...Tn({
1864
+ configCard: c,
1865
+ slotOrderedCards: G,
1866
+ slotTypes: re,
1867
+ multiInputData: n,
1868
+ params: o,
1869
+ theme: a,
1870
+ chartSettings: Y,
1871
+ filters: L,
1872
+ filterValues: [
1873
+ ...W || [],
1874
+ ...f || []
1875
+ ],
1876
+ inlineFilters: A,
1877
+ formatTemporalBucketValue: he
1878
+ })
1879
+ }
1880
+ ) })
1881
+ ] })
1882
+ ]
1883
+ },
1884
+ (C = c.customCardPreferences) == null ? void 0 : C.componentName
1885
+ ) }) : null;
1886
+ }
1887
+ const go = zn(Mr);
1888
+ var Jt = "Toggle", Zt = k.forwardRef((e, t) => {
1889
+ const { pressed: n, defaultPressed: r, onPressedChange: i, ...o } = e, [s, a] = Et({
1890
+ prop: n,
1891
+ onChange: i,
1892
+ defaultProp: r ?? !1,
1893
+ caller: Jt
1894
+ });
1895
+ return /* @__PURE__ */ _(
1896
+ ze.button,
1897
+ {
1898
+ type: "button",
1899
+ "aria-pressed": s,
1900
+ "data-state": s ? "on" : "off",
1901
+ "data-disabled": e.disabled ? "" : void 0,
1902
+ ...o,
1903
+ ref: t,
1904
+ onClick: pe(e.onClick, () => {
1905
+ e.disabled || a(!s);
1906
+ })
1907
+ }
1908
+ );
1909
+ });
1910
+ Zt.displayName = Jt;
1911
+ var en = Zt;
1912
+ const Lr = Vn(
1913
+ "inline-flex items-center justify-center rounded-control text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",
1914
+ {
1915
+ variants: {
1916
+ variant: {
1917
+ default: "bg-transparent",
1918
+ outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"
1919
+ },
1920
+ size: {
1921
+ default: "h-10 px-3",
1922
+ sm: "h-9 px-2.5",
1923
+ lg: "h-11 px-5"
1924
+ }
1925
+ },
1926
+ defaultVariants: {
1927
+ variant: "default",
1928
+ size: "default"
1929
+ }
1930
+ }
1931
+ ), Nr = k.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__PURE__ */ _(
1932
+ en,
1933
+ {
1934
+ ref: i,
1935
+ className: rt(Lr({ variant: t, size: n, className: e })),
1936
+ ...r
1937
+ }
1938
+ ));
1939
+ Nr.displayName = en.displayName;
1940
+ var tn = ["PageUp", "PageDown"], nn = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], rn = {
1941
+ "from-left": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
1942
+ "from-right": ["Home", "PageDown", "ArrowDown", "ArrowRight"],
1943
+ "from-bottom": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
1944
+ "from-top": ["Home", "PageDown", "ArrowUp", "ArrowLeft"]
1945
+ }, we = "Slider", [Ze, _r, kr] = Kn(we), [on] = Fn(we, [
1946
+ kr
1947
+ ]), [Tr, qe] = on(we), sn = k.forwardRef(
1948
+ (e, t) => {
1949
+ const {
1950
+ name: n,
1951
+ min: r = 0,
1952
+ max: i = 100,
1953
+ step: o = 1,
1954
+ orientation: s = "horizontal",
1955
+ disabled: a = !1,
1956
+ minStepsBetweenThumbs: l = 0,
1957
+ defaultValue: f = [r],
1958
+ value: p,
1959
+ onValueChange: u = () => {
1960
+ },
1961
+ onValueCommit: c = () => {
1962
+ },
1963
+ inverted: h = !1,
1964
+ form: m,
1965
+ ...y
1966
+ } = e, S = k.useRef(/* @__PURE__ */ new Set()), v = k.useRef(0), b = s === "horizontal" ? Hr : $r, [I = [], R] = Et({
1967
+ prop: p,
1968
+ defaultProp: f,
1969
+ onChange: (A) => {
1970
+ var W;
1971
+ (W = [...S.current][v.current]) == null || W.focus(), u(A);
1972
+ }
1973
+ }), M = k.useRef(I);
1974
+ function w(A) {
1975
+ const L = qr(I, A);
1976
+ $(A, L);
1977
+ }
1978
+ function X(A) {
1979
+ $(A, v.current);
1980
+ }
1981
+ function j() {
1982
+ const A = M.current[v.current];
1983
+ I[v.current] !== A && c(I);
1984
+ }
1985
+ function $(A, L, { commit: W } = { commit: !1 }) {
1986
+ const V = Wr(o), T = Xr(Math.round((A - r) / o) * o + r, V), H = It(T, [r, i]);
1987
+ R((Y = []) => {
1988
+ const G = Kr(Y, H, L);
1989
+ if (Ur(G, l * o)) {
1990
+ v.current = G.indexOf(H);
1991
+ const re = String(G) !== String(Y);
1992
+ return re && W && c(G), re ? G : Y;
1993
+ } else
1994
+ return Y;
1995
+ });
1996
+ }
1997
+ return /* @__PURE__ */ _(
1998
+ Tr,
1999
+ {
2000
+ scope: e.__scopeSlider,
2001
+ name: n,
2002
+ disabled: a,
2003
+ min: r,
2004
+ max: i,
2005
+ valueIndexToChangeRef: v,
2006
+ thumbs: S.current,
2007
+ values: I,
2008
+ orientation: s,
2009
+ form: m,
2010
+ children: /* @__PURE__ */ _(Ze.Provider, { scope: e.__scopeSlider, children: /* @__PURE__ */ _(Ze.Slot, { scope: e.__scopeSlider, children: /* @__PURE__ */ _(
2011
+ b,
2012
+ {
2013
+ "aria-disabled": a,
2014
+ "data-disabled": a ? "" : void 0,
2015
+ ...y,
2016
+ ref: t,
2017
+ onPointerDown: pe(y.onPointerDown, () => {
2018
+ a || (M.current = I);
2019
+ }),
2020
+ min: r,
2021
+ max: i,
2022
+ inverted: h,
2023
+ onSlideStart: a ? void 0 : w,
2024
+ onSlideMove: a ? void 0 : X,
2025
+ onSlideEnd: a ? void 0 : j,
2026
+ onHomeKeyDown: () => !a && $(r, 0, { commit: !0 }),
2027
+ onEndKeyDown: () => !a && $(i, I.length - 1, { commit: !0 }),
2028
+ onStepKeyDown: ({ event: A, direction: L }) => {
2029
+ if (!a) {
2030
+ const T = tn.includes(A.key) || A.shiftKey && nn.includes(A.key) ? 10 : 1, H = v.current, Y = I[H], G = o * T * L;
2031
+ $(Y + G, H, { commit: !0 });
2032
+ }
2033
+ }
2034
+ }
2035
+ ) }) })
2036
+ }
2037
+ );
2038
+ }
2039
+ );
2040
+ sn.displayName = we;
2041
+ var [an, ln] = on(we, {
2042
+ startEdge: "left",
2043
+ endEdge: "right",
2044
+ size: "width",
2045
+ direction: 1
2046
+ }), Hr = k.forwardRef(
2047
+ (e, t) => {
2048
+ const {
2049
+ min: n,
2050
+ max: r,
2051
+ dir: i,
2052
+ inverted: o,
2053
+ onSlideStart: s,
2054
+ onSlideMove: a,
2055
+ onSlideEnd: l,
2056
+ onStepKeyDown: f,
2057
+ ...p
2058
+ } = e, [u, c] = k.useState(null), h = Pe(t, (b) => c(b)), m = k.useRef(void 0), y = Bn(i), S = y === "ltr", v = S && !o || !S && o;
2059
+ function D(b) {
2060
+ const I = m.current || u.getBoundingClientRect(), R = [0, I.width], w = lt(R, v ? [n, r] : [r, n]);
2061
+ return m.current = I, w(b - I.left);
2062
+ }
2063
+ return /* @__PURE__ */ _(
2064
+ an,
2065
+ {
2066
+ scope: e.__scopeSlider,
2067
+ startEdge: v ? "left" : "right",
2068
+ endEdge: v ? "right" : "left",
2069
+ direction: v ? 1 : -1,
2070
+ size: "width",
2071
+ children: /* @__PURE__ */ _(
2072
+ cn,
2073
+ {
2074
+ dir: y,
2075
+ "data-orientation": "horizontal",
2076
+ ...p,
2077
+ ref: h,
2078
+ style: {
2079
+ ...p.style,
2080
+ "--radix-slider-thumb-transform": "translateX(-50%)"
2081
+ },
2082
+ onSlideStart: (b) => {
2083
+ const I = D(b.clientX);
2084
+ s == null || s(I);
2085
+ },
2086
+ onSlideMove: (b) => {
2087
+ const I = D(b.clientX);
2088
+ a == null || a(I);
2089
+ },
2090
+ onSlideEnd: () => {
2091
+ m.current = void 0, l == null || l();
2092
+ },
2093
+ onStepKeyDown: (b) => {
2094
+ const R = rn[v ? "from-left" : "from-right"].includes(b.key);
2095
+ f == null || f({ event: b, direction: R ? -1 : 1 });
2096
+ }
2097
+ }
2098
+ )
2099
+ }
2100
+ );
2101
+ }
2102
+ ), $r = k.forwardRef(
2103
+ (e, t) => {
2104
+ const {
2105
+ min: n,
2106
+ max: r,
2107
+ inverted: i,
2108
+ onSlideStart: o,
2109
+ onSlideMove: s,
2110
+ onSlideEnd: a,
2111
+ onStepKeyDown: l,
2112
+ ...f
2113
+ } = e, p = k.useRef(null), u = Pe(t, p), c = k.useRef(void 0), h = !i;
2114
+ function m(y) {
2115
+ const S = c.current || p.current.getBoundingClientRect(), v = [0, S.height], b = lt(v, h ? [r, n] : [n, r]);
2116
+ return c.current = S, b(y - S.top);
2117
+ }
2118
+ return /* @__PURE__ */ _(
2119
+ an,
2120
+ {
2121
+ scope: e.__scopeSlider,
2122
+ startEdge: h ? "bottom" : "top",
2123
+ endEdge: h ? "top" : "bottom",
2124
+ size: "height",
2125
+ direction: h ? 1 : -1,
2126
+ children: /* @__PURE__ */ _(
2127
+ cn,
2128
+ {
2129
+ "data-orientation": "vertical",
2130
+ ...f,
2131
+ ref: u,
2132
+ style: {
2133
+ ...f.style,
2134
+ "--radix-slider-thumb-transform": "translateY(50%)"
2135
+ },
2136
+ onSlideStart: (y) => {
2137
+ const S = m(y.clientY);
2138
+ o == null || o(S);
2139
+ },
2140
+ onSlideMove: (y) => {
2141
+ const S = m(y.clientY);
2142
+ s == null || s(S);
2143
+ },
2144
+ onSlideEnd: () => {
2145
+ c.current = void 0, a == null || a();
2146
+ },
2147
+ onStepKeyDown: (y) => {
2148
+ const v = rn[h ? "from-bottom" : "from-top"].includes(y.key);
2149
+ l == null || l({ event: y, direction: v ? -1 : 1 });
2150
+ }
2151
+ }
2152
+ )
2153
+ }
2154
+ );
2155
+ }
2156
+ ), cn = k.forwardRef(
2157
+ (e, t) => {
2158
+ const {
2159
+ __scopeSlider: n,
2160
+ onSlideStart: r,
2161
+ onSlideMove: i,
2162
+ onSlideEnd: o,
2163
+ onHomeKeyDown: s,
2164
+ onEndKeyDown: a,
2165
+ onStepKeyDown: l,
2166
+ ...f
2167
+ } = e, p = qe(we, n);
2168
+ return /* @__PURE__ */ _(
2169
+ ze.span,
2170
+ {
2171
+ ...f,
2172
+ ref: t,
2173
+ onKeyDown: pe(e.onKeyDown, (u) => {
2174
+ u.key === "Home" ? (s(u), u.preventDefault()) : u.key === "End" ? (a(u), u.preventDefault()) : tn.concat(nn).includes(u.key) && (l(u), u.preventDefault());
2175
+ }),
2176
+ onPointerDown: pe(e.onPointerDown, (u) => {
2177
+ const c = u.target;
2178
+ c.setPointerCapture(u.pointerId), u.preventDefault(), p.thumbs.has(c) ? c.focus() : r(u);
2179
+ }),
2180
+ onPointerMove: pe(e.onPointerMove, (u) => {
2181
+ u.target.hasPointerCapture(u.pointerId) && i(u);
2182
+ }),
2183
+ onPointerUp: pe(e.onPointerUp, (u) => {
2184
+ const c = u.target;
2185
+ c.hasPointerCapture(u.pointerId) && (c.releasePointerCapture(u.pointerId), o(u));
2186
+ })
2187
+ }
2188
+ );
2189
+ }
2190
+ ), un = "SliderTrack", dn = k.forwardRef(
2191
+ (e, t) => {
2192
+ const { __scopeSlider: n, ...r } = e, i = qe(un, n);
2193
+ return /* @__PURE__ */ _(
2194
+ ze.span,
2195
+ {
2196
+ "data-disabled": i.disabled ? "" : void 0,
2197
+ "data-orientation": i.orientation,
2198
+ ...r,
2199
+ ref: t
2200
+ }
2201
+ );
2202
+ }
2203
+ );
2204
+ dn.displayName = un;
2205
+ var et = "SliderRange", fn = k.forwardRef(
2206
+ (e, t) => {
2207
+ const { __scopeSlider: n, ...r } = e, i = qe(et, n), o = ln(et, n), s = k.useRef(null), a = Pe(t, s), l = i.values.length, f = i.values.map(
2208
+ (c) => gn(c, i.min, i.max)
2209
+ ), p = l > 1 ? Math.min(...f) : 0, u = 100 - Math.max(...f);
2210
+ return /* @__PURE__ */ _(
2211
+ ze.span,
2212
+ {
2213
+ "data-orientation": i.orientation,
2214
+ "data-disabled": i.disabled ? "" : void 0,
2215
+ ...r,
2216
+ ref: a,
2217
+ style: {
2218
+ ...e.style,
2219
+ [o.startEdge]: p + "%",
2220
+ [o.endEdge]: u + "%"
2221
+ }
2222
+ }
2223
+ );
2224
+ }
2225
+ );
2226
+ fn.displayName = et;
2227
+ var tt = "SliderThumb", pn = k.forwardRef(
2228
+ (e, t) => {
2229
+ const n = _r(e.__scopeSlider), [r, i] = k.useState(null), o = Pe(t, (a) => i(a)), s = k.useMemo(
2230
+ () => r ? n().findIndex((a) => a.ref.current === r) : -1,
2231
+ [n, r]
2232
+ );
2233
+ return /* @__PURE__ */ _(Vr, { ...e, ref: o, index: s });
2234
+ }
2235
+ ), Vr = k.forwardRef(
2236
+ (e, t) => {
2237
+ const { __scopeSlider: n, index: r, name: i, ...o } = e, s = qe(tt, n), a = ln(tt, n), [l, f] = k.useState(null), p = Pe(t, (D) => f(D)), u = l ? s.form || !!l.closest("form") : !0, c = qn(l), h = s.values[r], m = h === void 0 ? 0 : gn(h, s.min, s.max), y = Br(r, s.values.length), S = c == null ? void 0 : c[a.size], v = S ? Gr(S, m, a.direction) : 0;
2238
+ return k.useEffect(() => {
2239
+ if (l)
2240
+ return s.thumbs.add(l), () => {
2241
+ s.thumbs.delete(l);
2242
+ };
2243
+ }, [l, s.thumbs]), /* @__PURE__ */ De(
2244
+ "span",
2245
+ {
2246
+ style: {
2247
+ transform: "var(--radix-slider-thumb-transform)",
2248
+ position: "absolute",
2249
+ [a.startEdge]: `calc(${m}% + ${v}px)`
2250
+ },
2251
+ children: [
2252
+ /* @__PURE__ */ _(Ze.ItemSlot, { scope: e.__scopeSlider, children: /* @__PURE__ */ _(
2253
+ ze.span,
2254
+ {
2255
+ role: "slider",
2256
+ "aria-label": e["aria-label"] || y,
2257
+ "aria-valuemin": s.min,
2258
+ "aria-valuenow": h,
2259
+ "aria-valuemax": s.max,
2260
+ "aria-orientation": s.orientation,
2261
+ "data-orientation": s.orientation,
2262
+ "data-disabled": s.disabled ? "" : void 0,
2263
+ tabIndex: s.disabled ? void 0 : 0,
2264
+ ...o,
2265
+ ref: p,
2266
+ style: h === void 0 ? { display: "none" } : e.style,
2267
+ onFocus: pe(e.onFocus, () => {
2268
+ s.valueIndexToChangeRef.current = r;
2269
+ })
2270
+ }
2271
+ ) }),
2272
+ u && /* @__PURE__ */ _(
2273
+ mn,
2274
+ {
2275
+ name: i ?? (s.name ? s.name + (s.values.length > 1 ? "[]" : "") : void 0),
2276
+ form: s.form,
2277
+ value: h
2278
+ },
2279
+ r
2280
+ )
2281
+ ]
2282
+ }
2283
+ );
2284
+ }
2285
+ );
2286
+ pn.displayName = tt;
2287
+ var Fr = "RadioBubbleInput", mn = k.forwardRef(
2288
+ ({ __scopeSlider: e, value: t, ...n }, r) => {
2289
+ const i = k.useRef(null), o = Pe(i, r), s = Gn(t);
2290
+ return k.useEffect(() => {
2291
+ const a = i.current;
2292
+ if (!a) return;
2293
+ const l = window.HTMLInputElement.prototype, p = Object.getOwnPropertyDescriptor(l, "value").set;
2294
+ if (s !== t && p) {
2295
+ const u = new Event("input", { bubbles: !0 });
2296
+ p.call(a, t), a.dispatchEvent(u);
2297
+ }
2298
+ }, [s, t]), /* @__PURE__ */ _(
2299
+ ze.input,
2300
+ {
2301
+ style: { display: "none" },
2302
+ ...n,
2303
+ ref: o,
2304
+ defaultValue: t
2305
+ }
2306
+ );
2307
+ }
2308
+ );
2309
+ mn.displayName = Fr;
2310
+ function Kr(e = [], t, n) {
2311
+ const r = [...e];
2312
+ return r[n] = t, r.sort((i, o) => i - o);
2313
+ }
2314
+ function gn(e, t, n) {
2315
+ const o = 100 / (n - t) * (e - t);
2316
+ return It(o, [0, 100]);
2317
+ }
2318
+ function Br(e, t) {
2319
+ return t > 2 ? `Value ${e + 1} of ${t}` : t === 2 ? ["Minimum", "Maximum"][e] : void 0;
2320
+ }
2321
+ function qr(e, t) {
2322
+ if (e.length === 1) return 0;
2323
+ const n = e.map((i) => Math.abs(i - t)), r = Math.min(...n);
2324
+ return n.indexOf(r);
2325
+ }
2326
+ function Gr(e, t, n) {
2327
+ const r = e / 2, o = lt([0, 50], [0, r]);
2328
+ return (r - o(t) * n) * n;
2329
+ }
2330
+ function Or(e) {
2331
+ return e.slice(0, -1).map((t, n) => e[n + 1] - t);
2332
+ }
2333
+ function Ur(e, t) {
2334
+ if (t > 0) {
2335
+ const n = Or(e);
2336
+ return Math.min(...n) >= t;
2337
+ }
2338
+ return !0;
2339
+ }
2340
+ function lt(e, t) {
2341
+ return (n) => {
2342
+ if (e[0] === e[1] || t[0] === t[1]) return t[0];
2343
+ const r = (t[1] - t[0]) / (e[1] - e[0]);
2344
+ return t[0] + r * (n - e[0]);
2345
+ };
2346
+ }
2347
+ function Wr(e) {
2348
+ return (String(e).split(".")[1] || "").length;
2349
+ }
2350
+ function Xr(e, t) {
2351
+ const n = Math.pow(10, t);
2352
+ return Math.round(e * n) / n;
2353
+ }
2354
+ var hn = sn, Yr = dn, jr = fn, Qr = pn;
2355
+ const Jr = k.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ De(
2356
+ hn,
2357
+ {
2358
+ ref: n,
2359
+ className: rt(
2360
+ "relative flex w-full touch-none select-none items-center",
2361
+ e
2362
+ ),
2363
+ ...t,
2364
+ children: [
2365
+ /* @__PURE__ */ _(Yr, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-secondary", children: /* @__PURE__ */ _(jr, { className: "absolute h-full bg-primary" }) }),
2366
+ /* @__PURE__ */ _(Qr, { className: "block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })
2367
+ ]
2368
+ }
2369
+ ));
2370
+ Jr.displayName = hn.displayName;
2371
+ export {
2372
+ go as E,
2373
+ fo as F,
2374
+ Jn as P,
2375
+ po as S,
2376
+ Nr as T,
2377
+ Pr as a,
2378
+ Cr as b,
2379
+ mo as c,
2380
+ Jr as d,
2381
+ Qt as r,
2382
+ Yt as u
2383
+ };