react-semaphor 0.1.504 → 0.1.506

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 (1468) hide show
  1. package/dist/analytics-protocol/index.cjs +1 -1
  2. package/dist/analytics-protocol/index.js +10 -10
  3. package/dist/brand-studio/index.cjs +1 -1
  4. package/dist/brand-studio/index.js +4 -4
  5. package/dist/briefings/index.cjs +1 -1
  6. package/dist/briefings/index.js +5 -5
  7. package/dist/chunks/{calculated-field-identity-BC2NViZZ.js → calculated-field-identity-BTpUqfEu.js} +4 -4
  8. package/dist/chunks/{calculated-field-identity-CtYhhZoG.cjs → calculated-field-identity-rMuXuzEY.cjs} +1 -1
  9. package/dist/chunks/{constants-CTRduy1g.js → constants-NUleP4DY.js} +5 -5
  10. package/dist/chunks/{constants-DNgpRMaX.cjs → constants-vtu7_IUo.cjs} +1 -1
  11. package/dist/chunks/{dashboard-briefing-launcher-C3X_EL1X.cjs → dashboard-briefing-launcher-C8nDSDnV.cjs} +1 -1
  12. package/dist/chunks/{dashboard-briefing-launcher-COiVqc_h.js → dashboard-briefing-launcher-DXTpU85p.js} +9 -9
  13. package/dist/chunks/{dashboard-controls-r_oYt62o.js → dashboard-controls-CyL0yimg.js} +11 -11
  14. package/dist/chunks/{dashboard-controls-BQFt_Om0.cjs → dashboard-controls-DlxeddZN.cjs} +1 -1
  15. package/dist/chunks/{dashboard-date-comparison-definition-C1vJshiP.js → dashboard-date-comparison-definition-BX0ltXzm.js} +1 -1
  16. package/dist/chunks/{dashboard-date-comparison-definition-CWz_Yte8.cjs → dashboard-date-comparison-definition-C_w-GO_5.cjs} +1 -1
  17. package/dist/chunks/{dashboard-json-CUfulKs3.js → dashboard-json-5Jr3RudV.js} +7 -7
  18. package/dist/chunks/{dashboard-json-zT5RVUQH.cjs → dashboard-json-DhS4yJfc.cjs} +1 -1
  19. package/dist/chunks/{edit-dashboard-visual-B07ITktK.js → edit-dashboard-visual-C7X-um9g.js} +15 -15
  20. package/dist/chunks/{edit-dashboard-visual-kDqyZQZg.cjs → edit-dashboard-visual-X3OCnivL.cjs} +1 -1
  21. package/dist/chunks/{editor-action-buttons-ZoxtR85t.js → editor-action-buttons-C5Wja_J4.js} +6 -6
  22. package/dist/chunks/{editor-action-buttons-BC0asNB0.cjs → editor-action-buttons-CcDm8nA5.cjs} +1 -1
  23. package/dist/chunks/{field-aggregations-tLaXZ2VJ.js → field-aggregations-BU_3gHKR.js} +5 -5
  24. package/dist/chunks/{field-aggregations-mlkON_QA.cjs → field-aggregations-CDCamEsQ.cjs} +1 -1
  25. package/dist/chunks/{field-dependencies-ZE2klbHO.js → field-dependencies-DVl2p1Nm.js} +1 -1
  26. package/dist/chunks/{field-dependencies-R7MrlW6D.cjs → field-dependencies-r_U0CGQ-.cjs} +1 -1
  27. package/dist/chunks/{index-BVIet238.js → index-BVr4fcCB.js} +11 -11
  28. package/dist/chunks/{index-Bh3SlWJS.cjs → index-BlYf8gNa.cjs} +1 -1
  29. package/dist/chunks/{index-mSHUZATx.cjs → index-DSa6RSdg.cjs} +6 -6
  30. package/dist/chunks/{index-Cx2yQ9nq.js → index-De2QNsqV.js} +60 -62
  31. package/dist/chunks/{matrix-analytical-definition-wIEDXvV5.cjs → matrix-analytical-definition-Ct5Tu8np.cjs} +1 -1
  32. package/dist/chunks/{matrix-analytical-definition-CIVFNNnF.js → matrix-analytical-definition-xesmc3Qa.js} +1 -1
  33. package/dist/chunks/{matrix-card-Dh0J0_Of.cjs → matrix-card-CRXcmAjp.cjs} +1 -1
  34. package/dist/chunks/{matrix-card-BVvKHL7s.js → matrix-card-DACDwdTq.js} +2 -2
  35. package/dist/chunks/{matrix-control-sources-a67fwoOO.cjs → matrix-control-sources-CeC5EMyq.cjs} +1 -1
  36. package/dist/chunks/{matrix-control-sources-CjnsBREg.js → matrix-control-sources-ClQzIk7E.js} +5 -5
  37. package/dist/chunks/{matrix-definition-CKVi4VVg.cjs → matrix-definition-CBJW_4ii.cjs} +1 -1
  38. package/dist/chunks/{matrix-definition-BEXCfZAe.js → matrix-definition-RyU0cpLX.js} +1 -1
  39. package/dist/chunks/{matrix-formatter-CWtdnbfv.cjs → matrix-formatter-7GLTcBuy.cjs} +1 -1
  40. package/dist/chunks/{matrix-formatter-BTPfthsa.js → matrix-formatter-xsq7n_e6.js} +4 -4
  41. package/dist/chunks/{matrix-member-presentation-e_KZoZOx.cjs → matrix-member-presentation-E2B4k3ws.cjs} +1 -1
  42. package/dist/chunks/{matrix-member-presentation-DiDUvZts.js → matrix-member-presentation-qiHxv67e.js} +1 -1
  43. package/dist/chunks/{matrix-operation-contract-CPgckXxm.js → matrix-operation-contract-Cqy4EW2H.js} +1 -1
  44. package/dist/chunks/{matrix-operation-contract-thtFuUYf.cjs → matrix-operation-contract-D9dLX-Wr.cjs} +1 -1
  45. package/dist/chunks/{metric-comparison-Dgyq1I3d.js → metric-comparison-C-sYqv0g.js} +1 -1
  46. package/dist/chunks/{metric-comparison-CAqV6VnZ.cjs → metric-comparison-DBQ3EJTz.cjs} +1 -1
  47. package/dist/chunks/{pivot-header-presentation-DUXM-VOP.cjs → pivot-header-presentation-3wqWChFd.cjs} +1 -1
  48. package/dist/chunks/{pivot-header-presentation-DcCO8-Ij.js → pivot-header-presentation-D44ODZGn.js} +3 -3
  49. package/dist/chunks/{pivot-result-identity-Be1zm0AV.js → pivot-result-identity-BSudrDLN.js} +1 -1
  50. package/dist/chunks/{pivot-result-identity-DJyF4I2K.cjs → pivot-result-identity-uTiylUNr.cjs} +1 -1
  51. package/dist/chunks/{pivot-result-lifecycle-DpSZOMOZ.js → pivot-result-lifecycle-BSmqVkVG.js} +7 -7
  52. package/dist/chunks/{pivot-result-lifecycle-E_huAPev.cjs → pivot-result-lifecycle-DZ0ZSMoM.cjs} +1 -1
  53. package/dist/chunks/{raw-temporal-DYoPBY6B.cjs → raw-temporal-BUeTpG76.cjs} +1 -1
  54. package/dist/chunks/{raw-temporal-DfnRBxQn.js → raw-temporal-CUJ86xHI.js} +2 -2
  55. package/dist/chunks/{raw-temporal-contract-D1_n2pBj.cjs → raw-temporal-contract-DECbTuzA.cjs} +1 -1
  56. package/dist/chunks/{raw-temporal-contract-CNwYygW2.js → raw-temporal-contract-Eyr5U8DK.js} +1 -1
  57. package/dist/chunks/{report-preferences-dialog-BMktSijb.cjs → report-preferences-dialog-7Vsc_fsG.cjs} +1 -1
  58. package/dist/chunks/{report-preferences-dialog-CGUaGQGv.js → report-preferences-dialog-xADifRXs.js} +6 -6
  59. package/dist/chunks/{report-runtime-context-Dln1qvGS.js → report-runtime-context-DWvUf1HT.js} +1 -1
  60. package/dist/chunks/{report-runtime-context-CqFbgZq9.cjs → report-runtime-context-DzvHBPxl.cjs} +1 -1
  61. package/dist/chunks/{semantic-format-C7Goni6h.cjs → semantic-format-BhIL1PXP.cjs} +1 -1
  62. package/dist/chunks/{semantic-format-PKQt2EAz.js → semantic-format-C3amkGmY.js} +2 -2
  63. package/dist/chunks/{source-entity-resolution-BMKxwdKN.cjs → source-entity-resolution-CjbgnwyX.cjs} +1 -1
  64. package/dist/chunks/{source-entity-resolution-BSZ07Sl6.js → source-entity-resolution-DZhUckix.js} +1 -1
  65. package/dist/chunks/{switch-Dp4U6GwI.cjs → switch-BytP6QY8.cjs} +1 -1
  66. package/dist/chunks/{switch-BNPVlnfs.js → switch-DHGiC0aU.js} +12 -12
  67. package/dist/chunks/{temporal-bucket-contract-_WCvDnvn.js → temporal-bucket-contract-D5QlJbmm.js} +1 -1
  68. package/dist/chunks/{temporal-bucket-contract-CSdspcYj.cjs → temporal-bucket-contract-ZctiyXYk.cjs} +1 -1
  69. package/dist/chunks/{update-policy-BESKAspa.cjs → update-policy-Cc9h57pA.cjs} +1 -1
  70. package/dist/chunks/{update-policy-BWbXhkk-.js → update-policy-eTcz52jO.js} +2 -2
  71. package/dist/chunks/{validators-CHlnnHuS.js → validators-BDYzZFgs.js} +177 -177
  72. package/dist/chunks/validators-DVYAnnX0.cjs +1 -0
  73. package/dist/dashboard/index.cjs +1 -1
  74. package/dist/dashboard/index.js +1 -1
  75. package/dist/dashboard-authoring/index.cjs +1 -1
  76. package/dist/dashboard-authoring/index.js +9 -9
  77. package/dist/data-app-builder/index.cjs +1 -1
  78. package/dist/data-app-builder/index.js +2 -2
  79. package/dist/data-app-codegen/index.cjs +1 -1
  80. package/dist/data-app-codegen/index.js +2 -2
  81. package/dist/data-app-codegen-node/index.cjs +1 -1
  82. package/dist/data-app-codegen-node/index.js +3 -3
  83. package/dist/data-app-sdk/index.cjs +2 -2
  84. package/dist/data-app-sdk/index.js +189 -171
  85. package/dist/data-app-sdk-adapters/index.cjs +1 -1
  86. package/dist/data-app-sdk-adapters/index.js +2 -2
  87. package/dist/data-app-sdk-validation/index.cjs +1 -1
  88. package/dist/data-app-sdk-validation/index.js +5 -5
  89. package/dist/format-utils/index.cjs +1 -1
  90. package/dist/format-utils/index.js +16 -16
  91. package/dist/index.cjs +1 -1
  92. package/dist/index.js +15 -15
  93. package/dist/report-runtime-context/index.cjs +1 -1
  94. package/dist/report-runtime-context/index.js +2 -2
  95. package/dist/surfboard/index.cjs +1 -1
  96. package/dist/surfboard/index.js +2 -2
  97. package/dist/types/analytics-protocol.d.ts +2 -69099
  98. package/dist/types/appearance/index.d.ts +4 -0
  99. package/dist/types/appearance/runtime.d.ts +2 -0
  100. package/dist/types/appearance-runtime.d.ts +2 -152
  101. package/dist/types/appearance.d.ts +2 -177
  102. package/dist/types/brand-studio/brand-studio-draft.d.ts +81 -0
  103. package/dist/types/brand-studio/brand-studio-editor.d.ts +14 -0
  104. package/dist/types/brand-studio/index.d.ts +2 -0
  105. package/dist/types/brand-studio.d.ts +2 -246
  106. package/dist/types/briefings/attachments.d.ts +15 -0
  107. package/dist/types/briefings/capabilities.d.ts +5 -0
  108. package/dist/types/briefings/creation.d.ts +6 -0
  109. package/dist/types/briefings/display.d.ts +21 -0
  110. package/dist/types/briefings/index.d.ts +362 -0
  111. package/dist/types/briefings/presentation-contract.d.ts +64 -0
  112. package/dist/types/briefings/schedule.d.ts +18 -0
  113. package/dist/types/briefings.d.ts +2 -17437
  114. package/dist/types/components/ai/assistant-context-entity-controls.d.ts +25 -0
  115. package/dist/types/components/ai/assistant-message-components.d.ts +59 -0
  116. package/dist/types/components/ai/assistant-message.d.ts +10 -0
  117. package/dist/types/components/ai/assistant-virtualized-messages.d.ts +21 -0
  118. package/dist/types/components/ai/chat-custom-visual.d.ts +21 -0
  119. package/dist/types/components/ai/chat-input-with-context.d.ts +16 -0
  120. package/dist/types/components/ai/chat-input.d.ts +11 -0
  121. package/dist/types/components/ai/chat-visual-query-utils.d.ts +95 -0
  122. package/dist/types/components/ai/chat-visual.d.ts +12 -0
  123. package/dist/types/components/ai/clarification-card.d.ts +20 -0
  124. package/dist/types/components/ai/context-entity-display.d.ts +10 -0
  125. package/dist/types/components/ai/dashboard-assistant.d.ts +30 -0
  126. package/dist/types/components/ai/debug-message-array.d.ts +1 -0
  127. package/dist/types/components/ai/dynamic-visual-host.d.ts +23 -0
  128. package/dist/types/components/ai/editor-assistant.d.ts +7 -0
  129. package/dist/types/components/ai/entity-mention-dropdown.d.ts +15 -0
  130. package/dist/types/components/ai/file-upload/file-preview.d.ts +14 -0
  131. package/dist/types/components/ai/file-upload/file-upload-button.d.ts +9 -0
  132. package/dist/types/components/ai/file-upload/file-upload-zone.d.ts +11 -0
  133. package/dist/types/components/ai/file-upload/file-utils.d.ts +63 -0
  134. package/dist/types/components/ai/highlighted-input.d.ts +22 -0
  135. package/dist/types/components/ai/message-feedback-buttons.d.ts +9 -0
  136. package/dist/types/components/ai/pending-messages-display.d.ts +7 -0
  137. package/dist/types/components/ai/persisted-dynamic-visual.d.ts +15 -0
  138. package/dist/types/components/ai/placeholders.d.ts +8 -0
  139. package/dist/types/components/ai/pre-block.d.ts +30 -0
  140. package/dist/types/components/ai/quick-replies.d.ts +8 -0
  141. package/dist/types/components/ai/reasoning-effort-slider.d.ts +7 -0
  142. package/dist/types/components/ai/seed-questions.d.ts +6 -0
  143. package/dist/types/components/ai/tool-call-error.d.ts +8 -0
  144. package/dist/types/components/ai/tool-call.d.ts +12 -0
  145. package/dist/types/components/ai/tool-output-errors.d.ts +2 -0
  146. package/dist/types/components/ai/tool-part-renderer.d.ts +32 -0
  147. package/dist/types/components/appearance/dashboard-appearance-adapter.d.ts +17 -0
  148. package/dist/types/components/appearance/surface-appearance-adapter.d.ts +21 -0
  149. package/dist/types/components/briefings/attachments/briefing-attachment-list.d.ts +9 -0
  150. package/dist/types/components/briefings/attachments/briefing-attachment-selector.d.ts +27 -0
  151. package/dist/types/components/briefings/attachments/briefing-attachment-settings-dialog.d.ts +16 -0
  152. package/dist/types/components/briefings/briefing-author/attachment-section.d.ts +20 -0
  153. package/dist/types/components/briefings/briefing-author/author-actions.d.ts +25 -0
  154. package/dist/types/components/briefings/briefing-author/content-composers.d.ts +9 -0
  155. package/dist/types/components/briefings/briefing-author/defaults.d.ts +1 -0
  156. package/dist/types/components/briefings/briefing-author/delivery-section.d.ts +56 -0
  157. package/dist/types/components/briefings/briefing-author/form-primitives.d.ts +20 -0
  158. package/dist/types/components/briefings/briefing-author/output.d.ts +2 -0
  159. package/dist/types/components/briefings/briefing-author/policy.d.ts +40 -0
  160. package/dist/types/components/briefings/briefing-author/presentation-vocabulary.d.ts +17 -0
  161. package/dist/types/components/briefings/briefing-author/run-model.d.ts +49 -0
  162. package/dist/types/components/briefings/briefing-author/run-ui.d.ts +81 -0
  163. package/dist/types/components/briefings/briefing-author/schedule-model.d.ts +3 -0
  164. package/dist/types/components/briefings/briefing-author/schedule-section.d.ts +5 -0
  165. package/dist/types/components/briefings/briefing-author/schedule.d.ts +8 -0
  166. package/dist/types/components/briefings/briefing-author/scope-picker.d.ts +14 -0
  167. package/dist/types/components/briefings/briefing-author/slack-channel-picker.d.ts +22 -0
  168. package/dist/types/components/briefings/briefing-author/styles.d.ts +4 -0
  169. package/dist/types/components/briefings/briefing-author-dialog.d.ts +24 -0
  170. package/dist/types/components/briefings/briefing-author.d.ts +72 -0
  171. package/dist/types/components/briefings/briefing-html-frame.d.ts +5 -0
  172. package/dist/types/components/briefings/briefing-recipient-field.d.ts +17 -0
  173. package/dist/types/components/briefings/briefing-tones.d.ts +30 -0
  174. package/dist/types/components/briefings/briefing-ui-capabilities.d.ts +16 -0
  175. package/dist/types/components/briefings/dashboard-briefing-launcher-list.d.ts +25 -0
  176. package/dist/types/components/briefings/dashboard-briefing-launcher-model.d.ts +14 -0
  177. package/dist/types/components/briefings/dashboard-briefing-launcher.d.ts +25 -0
  178. package/dist/types/components/briefings/dashboard-schedule-report-menu-item.d.ts +11 -0
  179. package/dist/types/components/briefings/index.d.ts +9 -0
  180. package/dist/types/components/briefings/use-briefing-run-polling.d.ts +34 -0
  181. package/dist/types/components/briefings/watch-dashboard-button.d.ts +7 -0
  182. package/dist/types/components/calculated-fields/ai-compose-panel.d.ts +19 -0
  183. package/dist/types/components/calculated-fields/calculated-field-editor-utils.d.ts +44 -0
  184. package/dist/types/components/calculated-fields/calculated-field-editor.d.ts +26 -0
  185. package/dist/types/components/calculated-fields/domain-definition-notice.d.ts +4 -0
  186. package/dist/types/components/calculated-fields/expression-validator.d.ts +8 -0
  187. package/dist/types/components/calculated-fields/field-picker-panel.d.ts +16 -0
  188. package/dist/types/components/calculated-fields/field-type-toggle.d.ts +7 -0
  189. package/dist/types/components/calculated-fields/index.d.ts +10 -0
  190. package/dist/types/components/calculated-fields/insert-field-popover.d.ts +18 -0
  191. package/dist/types/components/calculated-fields/summary-ribbon.d.ts +23 -0
  192. package/dist/types/components/calculated-fields/templates-menu.d.ts +14 -0
  193. package/dist/types/components/calculated-fields/validation-results.d.ts +4 -0
  194. package/dist/types/components/calculated-fields/validation-tooltip-content.d.ts +4 -0
  195. package/dist/types/components/chart-selector/chart-icon.d.ts +36 -0
  196. package/dist/types/components/chart-selector/chart-selector-item.d.ts +19 -0
  197. package/dist/types/components/chart-selector/chart-selector.d.ts +19 -0
  198. package/dist/types/components/chart-selector/chart-type-picker.d.ts +12 -0
  199. package/dist/types/components/chart-selector/index.d.ts +5 -0
  200. package/dist/types/components/chart-selector/star-button.d.ts +13 -0
  201. package/dist/types/components/chart-selector/use-chart-selector-model.d.ts +18 -0
  202. package/dist/types/components/dashboard/ai-dashboard-create-dialog.d.ts +38 -0
  203. package/dist/types/components/dashboard/card-actions-menu.d.ts +10 -0
  204. package/dist/types/components/dashboard/card-summary.d.ts +8 -0
  205. package/dist/types/components/dashboard/comparison-badge-state.d.ts +3 -0
  206. package/dist/types/components/dashboard/comparison-metadata-badge.d.ts +11 -0
  207. package/dist/types/components/dashboard/dashboard-card.d.ts +17 -0
  208. package/dist/types/components/dashboard/dashboard-container.d.ts +9 -0
  209. package/dist/types/components/dashboard/dashboard-create-template.d.ts +10 -0
  210. package/dist/types/components/dashboard/dashboard-error-state.d.ts +9 -0
  211. package/dist/types/components/dashboard/dashboard-export-dialog.d.ts +5 -0
  212. package/dist/types/components/dashboard/dashboard-frame-expand-dialog.d.ts +5 -0
  213. package/dist/types/components/dashboard/dashboard-frame.d.ts +14 -0
  214. package/dist/types/components/dashboard/dashboard-hub-row.d.ts +18 -0
  215. package/dist/types/components/dashboard/dashboard-hub-sort.d.ts +8 -0
  216. package/dist/types/components/dashboard/dashboard-hub.d.ts +5 -0
  217. package/dist/types/components/dashboard/dashboard-tabs.d.ts +1 -0
  218. package/dist/types/components/dashboard/dashboard-visual-error-state.d.ts +14 -0
  219. package/dist/types/components/dashboard/dashboard-web-component.d.ts +1 -0
  220. package/dist/types/components/dashboard/dashboard.d.ts +2 -0
  221. package/dist/types/components/dashboard/download-pdf.d.ts +10 -0
  222. package/dist/types/components/dashboard/drill-breadcrumb.d.ts +6 -0
  223. package/dist/types/components/dashboard/drill-navigation-controls.d.ts +13 -0
  224. package/dist/types/components/dashboard/index.d.ts +3 -0
  225. package/dist/types/components/dashboard/inline-filter-bar.d.ts +16 -0
  226. package/dist/types/components/dashboard/inline-filter-component.d.ts +29 -0
  227. package/dist/types/components/dashboard/kpi-header.d.ts +2 -0
  228. package/dist/types/components/dashboard/semaphor-style-wrapper.d.ts +3 -0
  229. package/dist/types/components/dashboard/sheet/delete-sheet-alert.d.ts +6 -0
  230. package/dist/types/components/dashboard/sheet/layout-change-guard.d.ts +6 -0
  231. package/dist/types/components/dashboard/sheet/sheet-empty-state.d.ts +5 -0
  232. package/dist/types/components/dashboard/sheet/sheet-layout.d.ts +4 -0
  233. package/dist/types/components/dashboard/sheet/sheet-layout_backup.d.ts +0 -0
  234. package/dist/types/components/dashboard/summary-card.d.ts +16 -0
  235. package/dist/types/components/dashboard/summary-number-formatter.d.ts +12 -0
  236. package/dist/types/components/dashboard/summary-warning-utils.d.ts +6 -0
  237. package/dist/types/components/dashboard/unconfigured-card-state.d.ts +21 -0
  238. package/dist/types/components/data-app-runtime/published-data-app-runtime.d.ts +7 -0
  239. package/dist/types/components/document-sheet/document-control-options-resolver.d.ts +9 -0
  240. package/dist/types/components/document-sheet/document-control-toolbar-actions.d.ts +12 -0
  241. package/dist/types/components/document-sheet/document-controls-settings.d.ts +7 -0
  242. package/dist/types/components/document-sheet/document-input-bar.d.ts +32 -0
  243. package/dist/types/components/document-sheet/document-inspector-primitives.d.ts +10 -0
  244. package/dist/types/components/document-sheet/document-outline.d.ts +15 -0
  245. package/dist/types/components/document-sheet/document-page.d.ts +64 -0
  246. package/dist/types/components/document-sheet/document-sheet.d.ts +10 -0
  247. package/dist/types/components/document-sheet/document-table-section.d.ts +32 -0
  248. package/dist/types/components/document-sheet/document-text-editor.d.ts +8 -0
  249. package/dist/types/components/editor/dashboard-json.d.ts +1 -0
  250. package/dist/types/components/editor/dynamic-visualization-menu-items.d.ts +3 -0
  251. package/dist/types/components/editor/editable.d.ts +14 -0
  252. package/dist/types/components/editor/editor-aside/utils.d.ts +28 -0
  253. package/dist/types/components/editor/editor-main/advanced-mode-toggle.d.ts +21 -0
  254. package/dist/types/components/editor/editor-main/card-display-options-dropdown.d.ts +7 -0
  255. package/dist/types/components/editor/editor-main/card-tabs.d.ts +16 -0
  256. package/dist/types/components/editor/editor-main/chart-configuration-options.d.ts +1 -0
  257. package/dist/types/components/editor/editor-main/clear-card-utils.d.ts +2 -0
  258. package/dist/types/components/editor/editor-main/code-editors/expanded-query-editor-dialog.d.ts +14 -0
  259. package/dist/types/components/editor/editor-main/code-editors/json-editor-readonly.d.ts +3 -0
  260. package/dist/types/components/editor/editor-main/code-editors/python-editor.d.ts +2 -0
  261. package/dist/types/components/editor/editor-main/code-editors/sql-editor.d.ts +6 -0
  262. package/dist/types/components/editor/editor-main/code-editors/use-query-editor-session-transfer.d.ts +17 -0
  263. package/dist/types/components/editor/editor-main/content-editable-text.d.ts +10 -0
  264. package/dist/types/components/editor/editor-main/context-hover-card.d.ts +1 -0
  265. package/dist/types/components/editor/editor-main/customize-visual/customize-chart-config.d.ts +7 -0
  266. package/dist/types/components/editor/editor-main/customize-visual/customize-visual-dialog.d.ts +7 -0
  267. package/dist/types/components/editor/editor-main/dashboard-filter-subscription-status.d.ts +6 -0
  268. package/dist/types/components/editor/editor-main/dashboard-variable-node.d.ts +25 -0
  269. package/dist/types/components/editor/editor-main/data-label-settings.d.ts +5 -0
  270. package/dist/types/components/editor/editor-main/dynamic-visual-editor.d.ts +13 -0
  271. package/dist/types/components/editor/editor-main/edit-dashboard-visual.d.ts +1 -0
  272. package/dist/types/components/editor/editor-main/editor-action-buttons.d.ts +28 -0
  273. package/dist/types/components/editor/editor-main/editor-actions-biz-mode.d.ts +1 -0
  274. package/dist/types/components/editor/editor-main/editor-card.d.ts +4 -0
  275. package/dist/types/components/editor/editor-main/editor-chart-config-execution.d.ts +6 -0
  276. package/dist/types/components/editor/editor-main/editor-main-component.d.ts +1 -0
  277. package/dist/types/components/editor/editor-main/editor-query-section.d.ts +10 -0
  278. package/dist/types/components/editor/editor-main/editor-visual-dropdown.d.ts +0 -0
  279. package/dist/types/components/editor/editor-main/editor-visual-section.d.ts +28 -0
  280. package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-constants.d.ts +7 -0
  281. package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-prompts.d.ts +19 -0
  282. package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-telemetry.d.ts +2 -0
  283. package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-types.d.ts +48 -0
  284. package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-utils.d.ts +11 -0
  285. package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer.d.ts +2 -0
  286. package/dist/types/components/editor/editor-main/legend-popover.d.ts +1 -0
  287. package/dist/types/components/editor/editor-main/raw-output-table.d.ts +14 -0
  288. package/dist/types/components/editor/editor-main/realtime-popover.d.ts +1 -0
  289. package/dist/types/components/editor/editor-main/table-type-switcher.d.ts +5 -0
  290. package/dist/types/components/editor/editor-main/text-card-rich-editor.d.ts +21 -0
  291. package/dist/types/components/editor/editor-main/text-card.d.ts +9 -0
  292. package/dist/types/components/editor/editor-main/use-editor-clear-action.d.ts +1 -0
  293. package/dist/types/components/editor/editor-main/visual-aside.d.ts +5 -0
  294. package/dist/types/components/editor/editor-main/visual-editing-controls.d.ts +6 -0
  295. package/dist/types/components/editor/editor-main/visual-save-as-dialog.d.ts +17 -0
  296. package/dist/types/components/editor/editor-main/visual-settings.d.ts +9 -0
  297. package/dist/types/components/editor/editor.d.ts +8 -0
  298. package/dist/types/components/editor/mode-toggle.d.ts +13 -0
  299. package/dist/types/components/editor/query-feedback/query-card-details.d.ts +14 -0
  300. package/dist/types/components/editor/query-feedback/query-error.d.ts +42 -0
  301. package/dist/types/components/editor/query-feedback/query-feedback-layout.d.ts +10 -0
  302. package/dist/types/components/editor/query-feedback/query-info-clipboard.d.ts +3 -0
  303. package/dist/types/components/editor/query-feedback/query-info.d.ts +21 -0
  304. package/dist/types/components/editor/query-feedback/query-sql-preview.d.ts +23 -0
  305. package/dist/types/components/editor/query-feedback/use-query-error-feedback.d.ts +7 -0
  306. package/dist/types/components/editor/query-feedback/use-query-error.d.ts +16 -0
  307. package/dist/types/components/editor/query-feedback/visual-query-error-state.d.ts +5 -0
  308. package/dist/types/components/editor/utils/utils.d.ts +2 -0
  309. package/dist/types/components/error-fallbacks/delivery-render-error.d.ts +7 -0
  310. package/dist/types/components/error-fallbacks/fallback.d.ts +19 -0
  311. package/dist/types/components/explorer/chart-configuration/area-series-config-section.d.ts +5 -0
  312. package/dist/types/components/explorer/chart-configuration/axis-config-section.d.ts +1 -0
  313. package/dist/types/components/explorer/chart-configuration/bar-series-config-section.d.ts +5 -0
  314. package/dist/types/components/explorer/chart-configuration/bar-style-config-section.d.ts +7 -0
  315. package/dist/types/components/explorer/chart-configuration/bubble-scatter-config-section.d.ts +1 -0
  316. package/dist/types/components/explorer/chart-configuration/bullet-config-section.d.ts +1 -0
  317. package/dist/types/components/explorer/chart-configuration/chart-config-sections.d.ts +15 -0
  318. package/dist/types/components/explorer/chart-configuration/chart-configuration-panel.d.ts +18 -0
  319. package/dist/types/components/explorer/chart-configuration/chart-fields-configuration.d.ts +22 -0
  320. package/dist/types/components/explorer/chart-configuration/chart-quick-selector.d.ts +19 -0
  321. package/dist/types/components/explorer/chart-configuration/chart-type-row.d.ts +25 -0
  322. package/dist/types/components/explorer/chart-configuration/color-config-section.d.ts +18 -0
  323. package/dist/types/components/explorer/chart-configuration/combo-series-config-section.d.ts +6 -0
  324. package/dist/types/components/explorer/chart-configuration/comparison-config-section.d.ts +7 -0
  325. package/dist/types/components/explorer/chart-configuration/custom-color-picker.d.ts +7 -0
  326. package/dist/types/components/explorer/chart-configuration/data-labels-config-section.d.ts +1 -0
  327. package/dist/types/components/explorer/chart-configuration/data-labels-fields.d.ts +21 -0
  328. package/dist/types/components/explorer/chart-configuration/funnel-config-section.d.ts +1 -0
  329. package/dist/types/components/explorer/chart-configuration/heatmap-color-config-section.d.ts +1 -0
  330. package/dist/types/components/explorer/chart-configuration/kpi-format-config-section.d.ts +1 -0
  331. package/dist/types/components/explorer/chart-configuration/legend-config-section.d.ts +1 -0
  332. package/dist/types/components/explorer/chart-configuration/line-series-config-section.d.ts +5 -0
  333. package/dist/types/components/explorer/chart-configuration/line-style-config-section.d.ts +7 -0
  334. package/dist/types/components/explorer/chart-configuration/matrix-authoring-controls.d.ts +36 -0
  335. package/dist/types/components/explorer/chart-configuration/matrix-authoring-panel.d.ts +21 -0
  336. package/dist/types/components/explorer/chart-configuration/matrix-editor-settings.d.ts +5 -0
  337. package/dist/types/components/explorer/chart-configuration/metric-format-editor.d.ts +12 -0
  338. package/dist/types/components/explorer/chart-configuration/number-format-config.d.ts +17 -0
  339. package/dist/types/components/explorer/chart-configuration/number-format-config.utils.d.ts +11 -0
  340. package/dist/types/components/explorer/chart-configuration/stacked-sort-section.d.ts +1 -0
  341. package/dist/types/components/explorer/chart-configuration/summary-config-section.d.ts +1 -0
  342. package/dist/types/components/explorer/chart-configuration/tooltip-format-config-section.d.ts +1 -0
  343. package/dist/types/components/explorer/chart-configuration/treemap-color-mode-section.d.ts +1 -0
  344. package/dist/types/components/explorer/chart-configuration/use-effective-card-type.d.ts +1 -0
  345. package/dist/types/components/explorer/data-source/add-data-picker.d.ts +23 -0
  346. package/dist/types/components/explorer/data-source/data-source-panel.d.ts +6 -0
  347. package/dist/types/components/explorer/data-source/dataset-selector-popover.d.ts +11 -0
  348. package/dist/types/components/explorer/data-source/db-schema-selector.d.ts +8 -0
  349. package/dist/types/components/explorer/data-source/direct-source-tree.d.ts +10 -0
  350. package/dist/types/components/explorer/data-source/entity-tooltip.d.ts +14 -0
  351. package/dist/types/components/explorer/data-source/file-upload-manager.d.ts +1 -0
  352. package/dist/types/components/explorer/data-source/select-data-dialog.d.ts +6 -0
  353. package/dist/types/components/explorer/data-source/selected-entities-summary.d.ts +15 -0
  354. package/dist/types/components/explorer/data-source/semantic-domain-access-utils.d.ts +10 -0
  355. package/dist/types/components/explorer/data-source/semantic-domain-selection.d.ts +9 -0
  356. package/dist/types/components/explorer/data-source/semantic-domain-tree.d.ts +22 -0
  357. package/dist/types/components/explorer/data-source/url-source-manager.d.ts +1 -0
  358. package/dist/types/components/explorer/data-source/utils.d.ts +11 -0
  359. package/dist/types/components/explorer/drag-and-drop/attribute-filter-dialog.d.ts +11 -0
  360. package/dist/types/components/explorer/drag-and-drop/data-concept-tooltip.d.ts +17 -0
  361. package/dist/types/components/explorer/drag-and-drop/drag-overlay.d.ts +12 -0
  362. package/dist/types/components/explorer/drag-and-drop/draggable-field-shell.d.ts +15 -0
  363. package/dist/types/components/explorer/drag-and-drop/draggable-field.d.ts +13 -0
  364. package/dist/types/components/explorer/drag-and-drop/droppable-zone.d.ts +13 -0
  365. package/dist/types/components/explorer/drag-and-drop/inline-edit-field.d.ts +9 -0
  366. package/dist/types/components/explorer/drag-and-drop/matrix-draggable-field.d.ts +5 -0
  367. package/dist/types/components/explorer/drag-and-drop/pivot-alias-template-editor.d.ts +6 -0
  368. package/dist/types/components/explorer/drag-and-drop/pivot-member-order-visibility.d.ts +3 -0
  369. package/dist/types/components/explorer/drag-and-drop/pivot-value-aliases-editor.d.ts +6 -0
  370. package/dist/types/components/explorer/fields/field-expression-annotation.d.ts +15 -0
  371. package/dist/types/components/explorer/fields/field-group.d.ts +0 -0
  372. package/dist/types/components/explorer/fields/field-hover-preview.d.ts +10 -0
  373. package/dist/types/components/explorer/fields/field-option-list.d.ts +52 -0
  374. package/dist/types/components/explorer/fields/field-row.d.ts +39 -0
  375. package/dist/types/components/explorer/fields/fields-list.d.ts +10 -0
  376. package/dist/types/components/explorer/fields/fields-section.d.ts +6 -0
  377. package/dist/types/components/explorer/fields/filterable-fields-panel.d.ts +11 -0
  378. package/dist/types/components/explorer/fields/icon-for-field-type.d.ts +3 -0
  379. package/dist/types/components/explorer/fields/numeric-popover.d.ts +6 -0
  380. package/dist/types/components/explorer/fields/source-field.d.ts +28 -0
  381. package/dist/types/components/explorer/fields/type-glyph.d.ts +14 -0
  382. package/dist/types/components/explorer/filters/card-date-filter.d.ts +12 -0
  383. package/dist/types/components/explorer/filters/card-filter-builder.d.ts +10 -0
  384. package/dist/types/components/explorer/filters/card-filter-manager.d.ts +12 -0
  385. package/dist/types/components/explorer/filters/field-multi-select.d.ts +15 -0
  386. package/dist/types/components/explorer/filters/field-single-select.d.ts +15 -0
  387. package/dist/types/components/explorer/filters/searchable-field-combobox.d.ts +16 -0
  388. package/dist/types/components/explorer/filters/utils.d.ts +2 -0
  389. package/dist/types/components/explorer/join-configuration/auto-join-info.d.ts +16 -0
  390. package/dist/types/components/explorer/join-configuration/join-conditions-builder.d.ts +10 -0
  391. package/dist/types/components/explorer/join-configuration/join-dialog.d.ts +14 -0
  392. package/dist/types/components/explorer/join-configuration/join-manager.d.ts +10 -0
  393. package/dist/types/components/explorer/join-configuration/join-tooltip-content.d.ts +9 -0
  394. package/dist/types/components/explorer/main/explorer.d.ts +1 -0
  395. package/dist/types/components/explorer/main/view-tabs.d.ts +17 -0
  396. package/dist/types/components/explorer/spreadsheet/column-header.d.ts +11 -0
  397. package/dist/types/components/explorer/spreadsheet/editor-panel.d.ts +7 -0
  398. package/dist/types/components/explorer/spreadsheet/formula-bar.d.ts +11 -0
  399. package/dist/types/components/explorer/spreadsheet/index.d.ts +5 -0
  400. package/dist/types/components/explorer/spreadsheet/spreadsheet-table.d.ts +10 -0
  401. package/dist/types/components/explorer/spreadsheet/spreadsheet-view.d.ts +5 -0
  402. package/dist/types/components/explorer/visualization/chart-settings-panel.d.ts +6 -0
  403. package/dist/types/components/explorer/visualization/chart-split-view.d.ts +18 -0
  404. package/dist/types/components/explorer/visualization/feedback-dialog.d.ts +10 -0
  405. package/dist/types/components/explorer/visualization/row-limit-selector.d.ts +1 -0
  406. package/dist/types/components/explorer/visualization/visualization-panel.d.ts +18 -0
  407. package/dist/types/components/icons/bullet-chart-icon.d.ts +2 -0
  408. package/dist/types/components/index.d.ts +69 -0
  409. package/dist/types/components/interactions/applied-filters-display.d.ts +35 -0
  410. package/dist/types/components/interactions/card-renderer.d.ts +17 -0
  411. package/dist/types/components/interactions/configuration-popover.d.ts +1 -0
  412. package/dist/types/components/interactions/drill-config/hierarchy-steps-display.d.ts +9 -0
  413. package/dist/types/components/interactions/drill-config/hierarchy-templates.d.ts +5 -0
  414. package/dist/types/components/interactions/drill-config/sortable-hierarchy.d.ts +15 -0
  415. package/dist/types/components/interactions/drill-config/sortable-step.d.ts +14 -0
  416. package/dist/types/components/interactions/drill-config/step-configuration-popup.d.ts +13 -0
  417. package/dist/types/components/interactions/drill-hierarchy-modal.d.ts +43 -0
  418. package/dist/types/components/interactions/drill-to-url-modal.d.ts +26 -0
  419. package/dist/types/components/interactions/filter-badge-tooltip.d.ts +13 -0
  420. package/dist/types/components/interactions/hooks/use-drill-hierarchy.d.ts +15 -0
  421. package/dist/types/components/interactions/hooks/use-hierarchy-templates.d.ts +5 -0
  422. package/dist/types/components/interactions/hooks/use-step-reordering.d.ts +6 -0
  423. package/dist/types/components/interactions/insight-modal.d.ts +39 -0
  424. package/dist/types/components/interactions/insight-viewer.d.ts +28 -0
  425. package/dist/types/components/interactions/interaction-card.d.ts +59 -0
  426. package/dist/types/components/interactions/interaction-event-handler.d.ts +11 -0
  427. package/dist/types/components/interactions/interactions-list.d.ts +50 -0
  428. package/dist/types/components/interactions/panels/cross-filter-panel.d.ts +24 -0
  429. package/dist/types/components/interactions/panels/drill-down-panel.d.ts +43 -0
  430. package/dist/types/components/interactions/panels/drill-to-dashboard-panel.d.ts +24 -0
  431. package/dist/types/components/interactions/panels/drill-to-insight-panel.d.ts +24 -0
  432. package/dist/types/components/interactions/panels/drill-to-url-panel-v2.d.ts +9 -0
  433. package/dist/types/components/interactions/panels/dynamic-drill-panel.d.ts +24 -0
  434. package/dist/types/components/interactions/panels/inline-drill-panel.d.ts +24 -0
  435. package/dist/types/components/interactions/panels/panel-field.d.ts +29 -0
  436. package/dist/types/components/interactions/pickers/dashboard-picker.d.ts +36 -0
  437. package/dist/types/components/interactions/pickers/insight-picker.d.ts +36 -0
  438. package/dist/types/components/interactions/replaced-card-wrapper.d.ts +13 -0
  439. package/dist/types/components/interactions/reusable/field-combobox.d.ts +21 -0
  440. package/dist/types/components/interactions/reusable/field-selector.d.ts +15 -0
  441. package/dist/types/components/interactions/reusable/inline-field-selector.d.ts +11 -0
  442. package/dist/types/components/interactions/reusable/interaction-selection-popover.d.ts +107 -0
  443. package/dist/types/components/interactions/selectors/action-selector.d.ts +31 -0
  444. package/dist/types/components/interactions/selectors/trigger-selector.d.ts +38 -0
  445. package/dist/types/components/kpi-visual-v2/country-selector.d.ts +11 -0
  446. package/dist/types/components/kpi-visual-v2/kpi-card-explorer.d.ts +12 -0
  447. package/dist/types/components/kpi-visual-v2/kpi-settings.d.ts +1 -0
  448. package/dist/types/components/kpi-visual-v2/kpi-tooltip-components.d.ts +25 -0
  449. package/dist/types/components/kpi-visual-v2/kpi-tooltip-utils.d.ts +8 -0
  450. package/dist/types/components/kpi-visual-v2/kpi-tooltip.d.ts +14 -0
  451. package/dist/types/components/kpi-visual-v2/metric-comparison-indicator.d.ts +16 -0
  452. package/dist/types/components/kpi-visual-v2/metric-comparison-kpi.d.ts +11 -0
  453. package/dist/types/components/notifications/export-notification-item.d.ts +23 -0
  454. package/dist/types/components/notifications/export-notification-list.d.ts +7 -0
  455. package/dist/types/components/notifications/index.d.ts +3 -0
  456. package/dist/types/components/notifications/notification-bell.d.ts +12 -0
  457. package/dist/types/components/providers/appearance-context.d.ts +23 -0
  458. package/dist/types/components/providers/appearance-provider.d.ts +4 -0
  459. package/dist/types/components/providers/appearance-runtime-provider.d.ts +19 -0
  460. package/dist/types/components/providers/brand-studio-preview-context.d.ts +5 -0
  461. package/dist/types/components/providers/dashboard-matrix-execution-provider.d.ts +10 -0
  462. package/dist/types/components/providers/dashboard-preferences-provider.d.ts +12 -0
  463. package/dist/types/components/providers/display-preferences-provider.d.ts +10 -0
  464. package/dist/types/components/providers/semaphor-context-provider.d.ts +13 -0
  465. package/dist/types/components/providers/semaphor-query-provider.d.ts +3 -0
  466. package/dist/types/components/providers/theme-provider-context.d.ts +7 -0
  467. package/dist/types/components/providers/theme-provider.d.ts +8 -0
  468. package/dist/types/components/providers/ux-provider.d.ts +6 -0
  469. package/dist/types/components/semaphor/code-block.d.ts +20 -0
  470. package/dist/types/components/semaphor/code-editor.d.ts +86 -0
  471. package/dist/types/components/semaphor/code-highlight.d.ts +15 -0
  472. package/dist/types/components/shared/unsaved-changes/index.d.ts +2 -0
  473. package/dist/types/components/shared/unsaved-changes/unsaved-changes-alert.d.ts +14 -0
  474. package/dist/types/components/shared/unsaved-changes/use-pristine-snapshot-initializer.d.ts +6 -0
  475. package/dist/types/components/sharing-and-management/common-loading-skeleton.d.ts +1 -0
  476. package/dist/types/components/sharing-and-management/create-dashboard-dialog.d.ts +11 -0
  477. package/dist/types/components/sharing-and-management/create-visual-dialog.d.ts +11 -0
  478. package/dist/types/components/sharing-and-management/dashboard-actions-menu.d.ts +19 -0
  479. package/dist/types/components/sharing-and-management/group-management-dialog.d.ts +6 -0
  480. package/dist/types/components/sharing-and-management/hooks/use-current-user-info.d.ts +41 -0
  481. package/dist/types/components/sharing-and-management/hooks/use-group-management.d.ts +30 -0
  482. package/dist/types/components/sharing-and-management/hooks/use-groups.d.ts +26 -0
  483. package/dist/types/components/sharing-and-management/hooks/use-resource-management.d.ts +235 -0
  484. package/dist/types/components/sharing-and-management/hooks/use-resource-share-data.d.ts +27 -0
  485. package/dist/types/components/sharing-and-management/hooks/use-unified-users.d.ts +53 -0
  486. package/dist/types/components/sharing-and-management/hooks/use-visual-utils.d.ts +33 -0
  487. package/dist/types/components/sharing-and-management/resource-edit-dialog.d.ts +14 -0
  488. package/dist/types/components/sharing-and-management/resource-share-dialog/index.d.ts +10 -0
  489. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/access-list.d.ts +14 -0
  490. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/adapter.d.ts +33 -0
  491. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/configs.d.ts +28 -0
  492. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/invite-combobox.d.ts +17 -0
  493. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/primitives.d.ts +33 -0
  494. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/share-shape.d.ts +13 -0
  495. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/shell.d.ts +17 -0
  496. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/status-bar.d.ts +5 -0
  497. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/submission.d.ts +38 -0
  498. package/dist/types/components/sharing-and-management/resource-share-dialog/unified/types.d.ts +60 -0
  499. package/dist/types/components/sharing-and-management/utils/group-types.d.ts +105 -0
  500. package/dist/types/components/sharing-and-management/utils/resource-query-keys.d.ts +14 -0
  501. package/dist/types/components/sharing-and-management/utils/shares-types.d.ts +122 -0
  502. package/dist/types/components/sharing-and-management/utils/types.d.ts +86 -0
  503. package/dist/types/components/sharing-and-management/visuals-library-dialog.d.ts +6 -0
  504. package/dist/types/components/surfboard/card-controls-toolbar.d.ts +17 -0
  505. package/dist/types/components/surfboard/controls/card-runtime-controls.d.ts +6 -0
  506. package/dist/types/components/surfboard/controls/control-authoring-utils.d.ts +182 -0
  507. package/dist/types/components/surfboard/controls/control-binding-list-editor.d.ts +21 -0
  508. package/dist/types/components/surfboard/controls/control-definition-editor-helpers.d.ts +43 -0
  509. package/dist/types/components/surfboard/controls/control-definition-editor-sections.d.ts +65 -0
  510. package/dist/types/components/surfboard/controls/control-definition-list-editor.d.ts +29 -0
  511. package/dist/types/components/surfboard/controls/control-select-ui-utils.d.ts +13 -0
  512. package/dist/types/components/surfboard/controls/control-toolbar-item.d.ts +22 -0
  513. package/dist/types/components/surfboard/controls/control-toolbar-settings-form.d.ts +30 -0
  514. package/dist/types/components/surfboard/controls/control-toolbar-settings-shell.d.ts +37 -0
  515. package/dist/types/components/surfboard/controls/control-usage-utils.d.ts +22 -0
  516. package/dist/types/components/surfboard/controls/control-validation-message-utils.d.ts +5 -0
  517. package/dist/types/components/surfboard/controls/dashboard-control-delete-dialog.d.ts +7 -0
  518. package/dist/types/components/surfboard/controls/dashboard-control-toolbar-popover.d.ts +9 -0
  519. package/dist/types/components/surfboard/controls/dashboard-controls-settings.d.ts +10 -0
  520. package/dist/types/components/surfboard/controls/dashboard-filter-controls-button.d.ts +34 -0
  521. package/dist/types/components/surfboard/controls/dashboard-filter-controls-launcher.d.ts +26 -0
  522. package/dist/types/components/surfboard/controls/dashboard-runtime-controls.d.ts +1 -0
  523. package/dist/types/components/surfboard/controls/matrix-structural-targets.d.ts +10 -0
  524. package/dist/types/components/surfboard/controls/presentation-currency-binding-editor.d.ts +15 -0
  525. package/dist/types/components/surfboard/controls/runtime-control-input.d.ts +16 -0
  526. package/dist/types/components/surfboard/controls/runtime-control-utils.d.ts +16 -0
  527. package/dist/types/components/surfboard/controls/runtime-controls-group.d.ts +12 -0
  528. package/dist/types/components/surfboard/controls/sortable-control-toolbar-item.d.ts +9 -0
  529. package/dist/types/components/surfboard/controls/use-create-flow-overlay-state.d.ts +32 -0
  530. package/dist/types/components/surfboard/controls/use-dashboard-structural-participants.d.ts +14 -0
  531. package/dist/types/components/surfboard/controls/use-resolved-control-toolbar-options.d.ts +26 -0
  532. package/dist/types/components/surfboard/dashboard-controls.d.ts +1 -0
  533. package/dist/types/components/surfboard/dashboard-plus-main.d.ts +1 -0
  534. package/dist/types/components/surfboard/dashboard-plus.d.ts +7 -0
  535. package/dist/types/components/surfboard/expanded-card-view.d.ts +10 -0
  536. package/dist/types/components/surfboard/export-dialog.d.ts +15 -0
  537. package/dist/types/components/surfboard/filter/apply-filters-check-box.d.ts +7 -0
  538. package/dist/types/components/surfboard/filter/click-filter-section.d.ts +5 -0
  539. package/dist/types/components/surfboard/filter/custom-filter/custom-filter-selector.d.ts +12 -0
  540. package/dist/types/components/surfboard/filter/custom-filter/custom-filter-types.d.ts +45 -0
  541. package/dist/types/components/surfboard/filter/custom-filter/dashboard-custom-filter.d.ts +19 -0
  542. package/dist/types/components/surfboard/filter/custom-filter-popover.d.ts +75 -0
  543. package/dist/types/components/surfboard/filter/dashboard-filter-info-group.d.ts +21 -0
  544. package/dist/types/components/surfboard/filter/dashboard-filter-mapping-panel.d.ts +13 -0
  545. package/dist/types/components/surfboard/filter/date-comparison-controls.d.ts +8 -0
  546. package/dist/types/components/surfboard/filter/date-comparison-label.d.ts +2 -0
  547. package/dist/types/components/surfboard/filter/date-range-filter-v2.d.ts +38 -0
  548. package/dist/types/components/surfboard/filter/date-range-filter.d.ts +7 -0
  549. package/dist/types/components/surfboard/filter/day-picker.d.ts +29 -0
  550. package/dist/types/components/surfboard/filter/field-date-comparison-scope-message.d.ts +2 -0
  551. package/dist/types/components/surfboard/filter/field-date-filter.d.ts +9 -0
  552. package/dist/types/components/surfboard/filter/filter-actions-popover-content.d.ts +9 -0
  553. package/dist/types/components/surfboard/filter/filter-aside.d.ts +1 -0
  554. package/dist/types/components/surfboard/filter/filter-component.d.ts +12 -0
  555. package/dist/types/components/surfboard/filter/filter-configuration-panel.d.ts +102 -0
  556. package/dist/types/components/surfboard/filter/filter-default-values-picker.d.ts +29 -0
  557. package/dist/types/components/surfboard/filter/filter-error-state.d.ts +7 -0
  558. package/dist/types/components/surfboard/filter/filter-header.d.ts +4 -0
  559. package/dist/types/components/surfboard/filter/filter-info.d.ts +17 -0
  560. package/dist/types/components/surfboard/filter/filter-option-dependencies-settings.d.ts +33 -0
  561. package/dist/types/components/surfboard/filter/filter-option-list.d.ts +39 -0
  562. package/dist/types/components/surfboard/filter/filter-option-source-settings.d.ts +14 -0
  563. package/dist/types/components/surfboard/filter/filter-picker-popover-content.d.ts +1 -0
  564. package/dist/types/components/surfboard/filter/filter-popover-parts.d.ts +37 -0
  565. package/dist/types/components/surfboard/filter/filter-scope-config.d.ts +8 -0
  566. package/dist/types/components/surfboard/filter/filter-settings-popover-delete.d.ts +0 -0
  567. package/dist/types/components/surfboard/filter/filter-settings-popover.d.ts +5 -0
  568. package/dist/types/components/surfboard/filter/filter-toolbar-item.d.ts +21 -0
  569. package/dist/types/components/surfboard/filter/filter-toolbar-order-utils.d.ts +3 -0
  570. package/dist/types/components/surfboard/filter/filter-toolbar.d.ts +7 -0
  571. package/dist/types/components/surfboard/filter/global-date-comparison-footer.d.ts +14 -0
  572. package/dist/types/components/surfboard/filter/global-date-filter.d.ts +9 -0
  573. package/dist/types/components/surfboard/filter/hidden-filters.d.ts +1 -0
  574. package/dist/types/components/surfboard/filter/month-picker.d.ts +18 -0
  575. package/dist/types/components/surfboard/filter/multi-select-filter.d.ts +16 -0
  576. package/dist/types/components/surfboard/filter/multi-select-inline-content.d.ts +39 -0
  577. package/dist/types/components/surfboard/filter/numeric-filter-input.d.ts +8 -0
  578. package/dist/types/components/surfboard/filter/radio-button-filter.d.ts +8 -0
  579. package/dist/types/components/surfboard/filter/sortable-filter-toolbar-item.d.ts +24 -0
  580. package/dist/types/components/surfboard/filter/tabs-filter.d.ts +8 -0
  581. package/dist/types/components/surfboard/filter/types.d.ts +245 -0
  582. package/dist/types/components/surfboard/filter/use-dashboard-filter-mapping-popover.d.ts +74 -0
  583. package/dist/types/components/surfboard/filter/use-filter-header-width.d.ts +12 -0
  584. package/dist/types/components/surfboard/filter/utils.d.ts +4 -0
  585. package/dist/types/components/surfboard/index.d.ts +5 -0
  586. package/dist/types/components/surfboard/inline-options-error-state.d.ts +6 -0
  587. package/dist/types/components/surfboard/input-chip-row.d.ts +21 -0
  588. package/dist/types/components/surfboard/json-to-csv.d.ts +7 -0
  589. package/dist/types/components/surfboard/lens/add-lens-dialog.d.ts +9 -0
  590. package/dist/types/components/surfboard/lens/default-lens-checkbox.d.ts +1 -0
  591. package/dist/types/components/surfboard/lens/lens-dropdown.d.ts +10 -0
  592. package/dist/types/components/surfboard/lens/lens-utils.d.ts +21 -0
  593. package/dist/types/components/surfboard/preferences/calendar-preferences-panel.d.ts +6 -0
  594. package/dist/types/components/surfboard/preferences/display-format-preferences-fields.d.ts +9 -0
  595. package/dist/types/components/surfboard/preferences/display-format-preferences-panel.d.ts +6 -0
  596. package/dist/types/components/surfboard/preferences/report-preferences-dialog.d.ts +6 -0
  597. package/dist/types/components/surfboard/toolbar-item-shell.d.ts +17 -0
  598. package/dist/types/components/ui/accordion.d.ts +7 -0
  599. package/dist/types/components/ui/alert-dialog.d.ts +20 -0
  600. package/dist/types/components/ui/alert.d.ts +8 -0
  601. package/dist/types/components/ui/audience-type-badge.d.ts +9 -0
  602. package/dist/types/components/ui/avatar.d.ts +6 -0
  603. package/dist/types/components/ui/badge.d.ts +9 -0
  604. package/dist/types/components/ui/button.d.ts +11 -0
  605. package/dist/types/components/ui/calendar.d.ts +8 -0
  606. package/dist/types/components/ui/card.d.ts +8 -0
  607. package/dist/types/components/ui/checkbox.d.ts +4 -0
  608. package/dist/types/components/ui/collapsible.d.ts +5 -0
  609. package/dist/types/components/ui/command.d.ts +82 -0
  610. package/dist/types/components/ui/context-menu.d.ts +27 -0
  611. package/dist/types/components/ui/dialog.d.ts +28 -0
  612. package/dist/types/components/ui/dropdown-menu.d.ts +27 -0
  613. package/dist/types/components/ui/hover-card.d.ts +6 -0
  614. package/dist/types/components/ui/input.d.ts +9 -0
  615. package/dist/types/components/ui/label.d.ts +5 -0
  616. package/dist/types/components/ui/popover.d.ts +7 -0
  617. package/dist/types/components/ui/portal-scope.d.ts +6 -0
  618. package/dist/types/components/ui/progress.d.ts +4 -0
  619. package/dist/types/components/ui/radio-group.d.ts +5 -0
  620. package/dist/types/components/ui/resizable.d.ts +23 -0
  621. package/dist/types/components/ui/scroll-area.d.ts +5 -0
  622. package/dist/types/components/ui/select.d.ts +16 -0
  623. package/dist/types/components/ui/separator.d.ts +4 -0
  624. package/dist/types/components/ui/sheet.d.ts +39 -0
  625. package/dist/types/components/ui/skeleton.d.ts +2 -0
  626. package/dist/types/components/ui/slider.d.ts +4 -0
  627. package/dist/types/components/ui/sonner.d.ts +4 -0
  628. package/dist/types/components/ui/switch.d.ts +10 -0
  629. package/dist/types/components/ui/table.d.ts +13 -0
  630. package/dist/types/components/ui/tabs.d.ts +14 -0
  631. package/dist/types/components/ui/textarea.d.ts +9 -0
  632. package/dist/types/components/ui/toggle.d.ts +12 -0
  633. package/dist/types/components/ui/tooltip.d.ts +8 -0
  634. package/dist/types/components/ui-custom/color-field.d.ts +30 -0
  635. package/dist/types/components/ui-custom/column-search.d.ts +41 -0
  636. package/dist/types/components/ui-custom/combo-box-2.d.ts +40 -0
  637. package/dist/types/components/ui-custom/combo-box.d.ts +16 -0
  638. package/dist/types/components/ui-custom/command-input-custom.d.ts +9 -0
  639. package/dist/types/components/ui-custom/copy-button.d.ts +15 -0
  640. package/dist/types/components/ui-custom/copy-on-click.d.ts +11 -0
  641. package/dist/types/components/ui-custom/custom-scroll-area.d.ts +6 -0
  642. package/dist/types/components/ui-custom/date-range-picker.d.ts +57 -0
  643. package/dist/types/components/ui-custom/date-range-popover.d.ts +14 -0
  644. package/dist/types/components/ui-custom/date-range-presets.d.ts +47 -0
  645. package/dist/types/components/ui-custom/details.d.ts +7 -0
  646. package/dist/types/components/ui-custom/dev-mode-switch.d.ts +8 -0
  647. package/dist/types/components/ui-custom/editable-text.d.ts +21 -0
  648. package/dist/types/components/ui-custom/grip-reveal.d.ts +4 -0
  649. package/dist/types/components/ui-custom/icon-button.d.ts +13 -0
  650. package/dist/types/components/ui-custom/load-on-scroll-status.d.ts +8 -0
  651. package/dist/types/components/ui-custom/load-on-scroll-utils.d.ts +1 -0
  652. package/dist/types/components/ui-custom/loading-dots.d.ts +7 -0
  653. package/dist/types/components/ui-custom/local-blur-input.d.ts +9 -0
  654. package/dist/types/components/ui-custom/option-search-input.d.ts +16 -0
  655. package/dist/types/components/ui-custom/overflow-div.d.ts +5 -0
  656. package/dist/types/components/ui-custom/overflow-span.d.ts +5 -0
  657. package/dist/types/components/ui-custom/popover-content-custom.d.ts +4 -0
  658. package/dist/types/components/ui-custom/pre-tag.d.ts +4 -0
  659. package/dist/types/components/ui-custom/radio-indicator.d.ts +13 -0
  660. package/dist/types/components/ui-custom/resizable-handle-custom.d.ts +7 -0
  661. package/dist/types/components/ui-custom/reusable-select.d.ts +16 -0
  662. package/dist/types/components/ui-custom/visual-badge.d.ts +9 -0
  663. package/dist/types/components/visual/aggregated-table/aggregate-table.d.ts +2 -0
  664. package/dist/types/components/visual/aggregated-table/columns/aggregate-columns.d.ts +4 -0
  665. package/dist/types/components/visual/aggregated-table/columns/column-cell-components.d.ts +16 -0
  666. package/dist/types/components/visual/aggregated-table/columns/column-definitions.d.ts +29 -0
  667. package/dist/types/components/visual/aggregated-table/columns/column-header-components.d.ts +31 -0
  668. package/dist/types/components/visual/aggregated-table/components/aggregate-table-body.d.ts +18 -0
  669. package/dist/types/components/visual/aggregated-table/components/grand-total-footer.d.ts +22 -0
  670. package/dist/types/components/visual/aggregated-table/hooks/use-aggregate-table.d.ts +15 -0
  671. package/dist/types/components/visual/aggregated-table/types/aggregate-table.d.ts +68 -0
  672. package/dist/types/components/visual/aggregated-table/utils/cell-formatters.d.ts +6 -0
  673. package/dist/types/components/visual/aggregated-table/utils/data-organizer.d.ts +12 -0
  674. package/dist/types/components/visual/aggregated-table/utils/export-utils.d.ts +31 -0
  675. package/dist/types/components/visual/aggregated-table/utils/metric-format-resolver.d.ts +66 -0
  676. package/dist/types/components/visual/aggregated-table/utils/temporal-presentation.d.ts +17 -0
  677. package/dist/types/components/visual/chart-utils.d.ts +15 -0
  678. package/dist/types/components/visual/chartjs-visual.d.ts +9 -0
  679. package/dist/types/components/visual/column-display-utils.d.ts +2 -0
  680. package/dist/types/components/visual/custom-visual/build-inline-filter-nodes.d.ts +21 -0
  681. package/dist/types/components/visual/custom-visual/build-multi-input-props.d.ts +48 -0
  682. package/dist/types/components/visual/custom-visual/component-combo-box.d.ts +10 -0
  683. package/dist/types/components/visual/custom-visual/custom-card-theme-adapter.d.ts +3 -0
  684. package/dist/types/components/visual/custom-visual/custom-visual-settings.d.ts +1 -0
  685. package/dist/types/components/visual/custom-visual/custom-visual-temporal-presentation.d.ts +35 -0
  686. package/dist/types/components/visual/custom-visual/custom-visual-types.d.ts +171 -0
  687. package/dist/types/components/visual/custom-visual/custom-visual-utils.d.ts +57 -0
  688. package/dist/types/components/visual/custom-visual/dashboard-custom-visual.d.ts +7 -0
  689. package/dist/types/components/visual/custom-visual/editor-custom-visual.d.ts +6 -0
  690. package/dist/types/components/visual/custom-visual/hooks/use-ensure-react-globals.d.ts +10 -0
  691. package/dist/types/components/visual/custom-visual/hooks/use-remote-chart-store.d.ts +9 -0
  692. package/dist/types/components/visual/custom-visual/multi-input-empty-renderer.d.ts +8 -0
  693. package/dist/types/components/visual/custom-visual/use-custom-visual.d.ts +16 -0
  694. package/dist/types/components/visual/data-table/column-def.d.ts +54 -0
  695. package/dist/types/components/visual/data-table/column-resize-handle.d.ts +8 -0
  696. package/dist/types/components/visual/data-table/copyable-cell.d.ts +9 -0
  697. package/dist/types/components/visual/data-table/data-table-column-settings.d.ts +2 -0
  698. package/dist/types/components/visual/data-table/data-table-conditional-formatting-settings.d.ts +21 -0
  699. package/dist/types/components/visual/data-table/data-table-pagination.d.ts +2 -0
  700. package/dist/types/components/visual/data-table/data-table-toolbar.d.ts +2 -0
  701. package/dist/types/components/visual/data-table/data-table.d.ts +2 -0
  702. package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +97 -0
  703. package/dist/types/components/visual/data-table/hooks/use-sql-raw-temporal-format-draft.d.ts +15 -0
  704. package/dist/types/components/visual/data-table/hooks/use-table-query-state.d.ts +30 -0
  705. package/dist/types/components/visual/data-table/overflow-cell.d.ts +9 -0
  706. package/dist/types/components/visual/data-table/table-conditional-formatting-authoring.d.ts +17 -0
  707. package/dist/types/components/visual/data-table/table-conditional-formatting-rule-model.d.ts +33 -0
  708. package/dist/types/components/visual/data-table/table-settings-toolbar-button.d.ts +9 -0
  709. package/dist/types/components/visual/data-table/table-skeleton.d.ts +6 -0
  710. package/dist/types/components/visual/data-table/table-visual.d.ts +39 -0
  711. package/dist/types/components/visual/data-table/types/data-table.d.ts +286 -0
  712. package/dist/types/components/visual/data-table/utils/data-table-utils.d.ts +74 -0
  713. package/dist/types/components/visual/data-table/utils/export-utils.d.ts +31 -0
  714. package/dist/types/components/visual/data-table/utils/pagination-utils.d.ts +39 -0
  715. package/dist/types/components/visual/data-table/utils/sort-conversion.d.ts +5 -0
  716. package/dist/types/components/visual/data-table/utils/table-behavior.d.ts +33 -0
  717. package/dist/types/components/visual/data-table/utils/utils.d.ts +4 -0
  718. package/dist/types/components/visual/info-hover.d.ts +6 -0
  719. package/dist/types/components/visual/kpi-visual/format-number-setting.d.ts +1 -0
  720. package/dist/types/components/visual/kpi-visual/kpi-bulb-utils.d.ts +3 -0
  721. package/dist/types/components/visual/kpi-visual/kpi-card-with-info.d.ts +9 -0
  722. package/dist/types/components/visual/kpi-visual/kpi-card.d.ts +28 -0
  723. package/dist/types/components/visual/kpi-visual/kpi-editor-ownership-badge.d.ts +4 -0
  724. package/dist/types/components/visual/kpi-visual/kpi-utils.d.ts +12 -0
  725. package/dist/types/components/visual/matrix-table/matrix-axis-menu.d.ts +21 -0
  726. package/dist/types/components/visual/matrix-table/matrix-card-view.d.ts +16 -0
  727. package/dist/types/components/visual/matrix-table/matrix-interaction-actions.d.ts +12 -0
  728. package/dist/types/components/visual/matrix-table/matrix-loading-skeleton.d.ts +14 -0
  729. package/dist/types/components/visual/matrix-table/matrix-tabular-boundary.d.ts +8 -0
  730. package/dist/types/components/visual/matrix-table/matrix-viewer-geometry.d.ts +21 -0
  731. package/dist/types/components/visual/matrix-table/matrix-window-viewer.d.ts +26 -0
  732. package/dist/types/components/visual/pivot-table/aggregation-menu.d.ts +23 -0
  733. package/dist/types/components/visual/pivot-table/columns/data-columns.d.ts +26 -0
  734. package/dist/types/components/visual/pivot-table/columns/row-header-columns.d.ts +20 -0
  735. package/dist/types/components/visual/pivot-table/columns/row-total-column.d.ts +12 -0
  736. package/dist/types/components/visual/pivot-table/components/pivot-table-body.d.ts +23 -0
  737. package/dist/types/components/visual/pivot-table/components/pivot-table-footer.d.ts +29 -0
  738. package/dist/types/components/visual/pivot-table/hooks/use-pivot-column-headers.d.ts +28 -0
  739. package/dist/types/components/visual/pivot-table/hooks/use-pivot-pagination.d.ts +29 -0
  740. package/dist/types/components/visual/pivot-table/hooks/use-pivot-sorting.d.ts +21 -0
  741. package/dist/types/components/visual/pivot-table/hooks/use-pivot-table-settings.d.ts +15 -0
  742. package/dist/types/components/visual/pivot-table/pivot-table-tanstack.d.ts +41 -0
  743. package/dist/types/components/visual/pivot-table/pivot-table.d.ts +100 -0
  744. package/dist/types/components/visual/pivot-table/types.d.ts +80 -0
  745. package/dist/types/components/visual/pivot-table/utils/cell-value-formatter.d.ts +14 -0
  746. package/dist/types/components/visual/pivot-table/utils/pivot-field-identity.d.ts +8 -0
  747. package/dist/types/components/visual/pivot-table/utils/pivot-formatting-utils.d.ts +24 -0
  748. package/dist/types/components/visual/pivot-table/utils/pivot-metric-formatting.d.ts +18 -0
  749. package/dist/types/components/visual/pivot-table/utils/pivot-physical-schema.d.ts +14 -0
  750. package/dist/types/components/visual/pivot-table/utils/pivot-table-aggregation-helpers.d.ts +21 -0
  751. package/dist/types/components/visual/pivot-table/utils/pivot-table-data-processor.d.ts +35 -0
  752. package/dist/types/components/visual/pivot-table/utils/pivot-table-export-utils.d.ts +23 -0
  753. package/dist/types/components/visual/pivot-table/utils/pivot-table-response.d.ts +50 -0
  754. package/dist/types/components/visual/pivot-table/utils/pivot-table-sorter.d.ts +7 -0
  755. package/dist/types/components/visual/pivot-table/utils/row-span-calculator.d.ts +14 -0
  756. package/dist/types/components/visual/settings/axis-mapping.d.ts +9 -0
  757. package/dist/types/components/visual/settings/chart-documentation.d.ts +28 -0
  758. package/dist/types/components/visual/settings/chart-orientation.d.ts +1 -0
  759. package/dist/types/components/visual/settings/color-format.d.ts +7 -0
  760. package/dist/types/components/visual/settings/controls-settings.d.ts +7 -0
  761. package/dist/types/components/visual/settings/dataset-label-popover.d.ts +3 -0
  762. package/dist/types/components/visual/settings/display-labels.d.ts +1 -0
  763. package/dist/types/components/visual/settings/filter-on-click-columns.d.ts +1 -0
  764. package/dist/types/components/visual/settings/frame-filters.d.ts +6 -0
  765. package/dist/types/components/visual/settings/inline-filters-settings.d.ts +11 -0
  766. package/dist/types/components/visual/settings/kpi-settings.d.ts +1 -0
  767. package/dist/types/components/visual/settings/map-chart-settings.d.ts +1 -0
  768. package/dist/types/components/visual/settings/scale-options.d.ts +1 -0
  769. package/dist/types/components/visual/settings/table-column-visibility-settings.d.ts +16 -0
  770. package/dist/types/components/visual/settings/table-presentation-settings.d.ts +27 -0
  771. package/dist/types/components/visual/settings/table-visual-settings.d.ts +8 -0
  772. package/dist/types/components/visual/settings/text-settings.d.ts +1 -0
  773. package/dist/types/components/visual/settings/text-type-radio.d.ts +1 -0
  774. package/dist/types/components/visual/shared/hooks/use-column-resizing.d.ts +15 -0
  775. package/dist/types/components/visual/shared/utils/column-type-detector.d.ts +25 -0
  776. package/dist/types/components/visual/shared/utils/table-column-order.d.ts +45 -0
  777. package/dist/types/components/visual/shared/utils/table-render-policy.d.ts +20 -0
  778. package/dist/types/components/visual/table-appearance/table-appearance-adapter.d.ts +41 -0
  779. package/dist/types/components/visual/table-appearance/table-appearance-primitives.d.ts +32 -0
  780. package/dist/types/components/visual/visual-error-state.d.ts +13 -0
  781. package/dist/types/components/visual/visual-utils.d.ts +33 -0
  782. package/dist/types/components/visual/visual.d.ts +7 -0
  783. package/dist/types/dashboard-assistant/index.d.ts +101 -0
  784. package/dist/types/dashboard-assistant.d.ts +2 -13074
  785. package/dist/types/dashboard-authoring.d.ts +2 -15283
  786. package/dist/types/dashboard.d.ts +2 -10880
  787. package/dist/types/data-app-builder/browser-runtime.d.ts +174 -0
  788. package/dist/types/data-app-builder/constants.d.ts +14 -0
  789. package/dist/types/data-app-builder/data-app-builder.d.ts +14 -0
  790. package/dist/types/data-app-builder/index.d.ts +1 -0
  791. package/dist/types/data-app-builder/lib/api.d.ts +36 -0
  792. package/dist/types/data-app-builder/lib/context-select.d.ts +3 -0
  793. package/dist/types/data-app-builder/lib/diagnostics.d.ts +12 -0
  794. package/dist/types/data-app-builder/lib/file-tree.d.ts +2 -0
  795. package/dist/types/data-app-builder/types.d.ts +558 -0
  796. package/dist/types/data-app-builder-browser-runtime.d.ts +2 -185
  797. package/dist/types/data-app-builder.d.ts +2 -4830
  798. package/dist/types/data-app-codegen/generate-contract.d.ts +26 -0
  799. package/dist/types/data-app-codegen/generated-contract-files.d.ts +7 -0
  800. package/dist/types/data-app-codegen/generated-contract-validation.d.ts +13 -0
  801. package/dist/types/data-app-codegen/index.d.ts +6 -0
  802. package/dist/types/data-app-codegen/live-execution.d.ts +42 -0
  803. package/dist/types/data-app-codegen/node.d.ts +2 -0
  804. package/dist/types/data-app-codegen/update-policy.d.ts +25 -0
  805. package/dist/types/data-app-codegen/validation.d.ts +8 -0
  806. package/dist/types/data-app-codegen-node.d.ts +2 -7263
  807. package/dist/types/data-app-codegen.d.ts +2 -7235
  808. package/dist/types/data-app-sdk/adapters.d.ts +34 -0
  809. package/dist/types/data-app-sdk/analysis-payload.d.ts +2 -0
  810. package/dist/types/data-app-sdk/builders.d.ts +61 -0
  811. package/dist/types/data-app-sdk/contracts.d.ts +523 -0
  812. package/dist/types/data-app-sdk/devtools/index.d.ts +49 -0
  813. package/dist/types/data-app-sdk/devtools/issues.d.ts +21 -0
  814. package/dist/types/data-app-sdk/devtools/labels.d.ts +4 -0
  815. package/dist/types/data-app-sdk/devtools/result-preview.d.ts +8 -0
  816. package/dist/types/data-app-sdk/devtools/styles.d.ts +15 -0
  817. package/dist/types/data-app-sdk/devtools/window-snapshot.d.ts +3 -0
  818. package/dist/types/data-app-sdk/devtools.d.ts +1 -0
  819. package/dist/types/data-app-sdk/executor.d.ts +5 -0
  820. package/dist/types/data-app-sdk/field-catalog-validation.d.ts +29 -0
  821. package/dist/types/data-app-sdk/hooks.d.ts +11 -0
  822. package/dist/types/data-app-sdk/index.d.ts +10 -0
  823. package/dist/types/data-app-sdk/matrix-filter-validation.d.ts +12 -0
  824. package/dist/types/data-app-sdk/provider.d.ts +8 -0
  825. package/dist/types/data-app-sdk/query-request.d.ts +27 -0
  826. package/dist/types/data-app-sdk/relationship-aware-field-policy.d.ts +21 -0
  827. package/dist/types/data-app-sdk/runtime.d.ts +21 -0
  828. package/dist/types/data-app-sdk/validation.d.ts +58 -0
  829. package/dist/types/data-app-sdk-adapters.d.ts +2 -6874
  830. package/dist/types/data-app-sdk-validation.d.ts +2 -10410
  831. package/dist/types/data-app-sdk.d.ts +2 -35142
  832. package/dist/types/format-utils.d.ts +2 -12162
  833. package/dist/types/index.cjs +1 -1
  834. package/dist/types/index.js +4 -4
  835. package/dist/types/layouts.d.ts +2 -33
  836. package/dist/types/lib/actions/data-point-click-action.d.ts +12 -0
  837. package/dist/types/lib/ai/dynamic-visual-card-utils.d.ts +70 -0
  838. package/dist/types/lib/ai/dynamic-visual-theme.d.ts +11 -0
  839. package/dist/types/lib/ai-utils.d.ts +16 -0
  840. package/dist/types/lib/api/briefings-api.d.ts +51 -0
  841. package/dist/types/lib/api/exports-api.d.ts +152 -0
  842. package/dist/types/lib/api/index.d.ts +2 -0
  843. package/dist/types/lib/appearance/chart-style-adapter.d.ts +4 -0
  844. package/dist/types/lib/appearance/color.d.ts +13 -0
  845. package/dist/types/lib/appearance/compiler.d.ts +9 -0
  846. package/dist/types/lib/appearance/defaults.d.ts +3 -0
  847. package/dist/types/lib/appearance/dom.d.ts +3 -0
  848. package/dist/types/lib/appearance/fonts.d.ts +9 -0
  849. package/dist/types/lib/appearance/index.d.ts +7 -0
  850. package/dist/types/lib/appearance/merge.d.ts +3 -0
  851. package/dist/types/lib/appearance/resolver.d.ts +2 -0
  852. package/dist/types/lib/appearance/schema.d.ts +3 -0
  853. package/dist/types/lib/appearance/types.d.ts +163 -0
  854. package/dist/types/lib/briefings/briefing-attachment-model.d.ts +106 -0
  855. package/dist/types/lib/briefings/briefing-form-model.d.ts +55 -0
  856. package/dist/types/lib/charts/area-chart.d.ts +5 -0
  857. package/dist/types/lib/charts/bar-chart.d.ts +5 -0
  858. package/dist/types/lib/charts/bubble-scatter-chart.d.ts +28 -0
  859. package/dist/types/lib/charts/bullet-chart.d.ts +17 -0
  860. package/dist/types/lib/charts/chart-availability.d.ts +7 -0
  861. package/dist/types/lib/charts/chart-axis-policy.d.ts +20 -0
  862. package/dist/types/lib/charts/chart-config.d.ts +9 -0
  863. package/dist/types/lib/charts/chart-documentation.d.ts +23 -0
  864. package/dist/types/lib/charts/chart-font.d.ts +10 -0
  865. package/dist/types/lib/charts/chart-selector.d.ts +2 -0
  866. package/dist/types/lib/charts/chart-utils.d.ts +255 -0
  867. package/dist/types/lib/charts/color-utils.d.ts +29 -0
  868. package/dist/types/lib/charts/combo-chart.d.ts +5 -0
  869. package/dist/types/lib/charts/configuration/axis-configurator.d.ts +36 -0
  870. package/dist/types/lib/charts/configuration/combo-config.d.ts +36 -0
  871. package/dist/types/lib/charts/configuration/data-labels-config.d.ts +36 -0
  872. package/dist/types/lib/charts/configuration/legend-config.d.ts +18 -0
  873. package/dist/types/lib/charts/create-chart.d.ts +30 -0
  874. package/dist/types/lib/charts/custom-config-utils.d.ts +0 -0
  875. package/dist/types/lib/charts/funnel-chart.d.ts +13 -0
  876. package/dist/types/lib/charts/heatmap-chart.d.ts +15 -0
  877. package/dist/types/lib/charts/heatmap-constants.d.ts +7 -0
  878. package/dist/types/lib/charts/line-chart.d.ts +5 -0
  879. package/dist/types/lib/charts/range-chart.d.ts +12 -0
  880. package/dist/types/lib/charts/shared/dataset-utils.d.ts +36 -0
  881. package/dist/types/lib/charts/tornado-chart.d.ts +13 -0
  882. package/dist/types/lib/charts/treemap-chart.d.ts +15 -0
  883. package/dist/types/lib/charts/types.d.ts +64 -0
  884. package/dist/types/lib/charts/utils.d.ts +12 -0
  885. package/dist/types/lib/class-utils.d.ts +2 -0
  886. package/dist/types/lib/constants/summary.d.ts +2 -0
  887. package/dist/types/lib/constants/tool-status-messages.d.ts +12 -0
  888. package/dist/types/lib/constants.d.ts +30 -0
  889. package/dist/types/lib/contexts/dashboard-preferences-context.d.ts +7 -0
  890. package/dist/types/lib/contexts/display-preferences-context.d.ts +6 -0
  891. package/dist/types/lib/contexts/interactions-popover-context.d.ts +21 -0
  892. package/dist/types/lib/controls/control-authoring-types.d.ts +28 -0
  893. package/dist/types/lib/countries.d.ts +8 -0
  894. package/dist/types/lib/dashboard/duplicate-sheet.d.ts +11 -0
  895. package/dist/types/lib/dashboard/global-date-filter-utils.d.ts +22 -0
  896. package/dist/types/lib/dashboard/normalize-dashboard-for-dirty-check.d.ts +18 -0
  897. package/dist/types/lib/dashboard/semantic-dataset-references.d.ts +24 -0
  898. package/dist/types/lib/dashboard-inputs/build-normalized-dashboard-inputs.d.ts +41 -0
  899. package/dist/types/lib/dashboard-inputs/card-compat-adapter.d.ts +9 -0
  900. package/dist/types/lib/dashboard-inputs/dashboard-control-compat-adapter.d.ts +7 -0
  901. package/dist/types/lib/dashboard-inputs/dashboard-date-comparison-plan.d.ts +61 -0
  902. package/dist/types/lib/dashboard-inputs/dashboard-date-comparison.d.ts +42 -0
  903. package/dist/types/lib/dashboard-inputs/dashboard-filter-authoring-policy.d.ts +21 -0
  904. package/dist/types/lib/dashboard-inputs/dashboard-filter-compat-adapter.d.ts +10 -0
  905. package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-authoring.d.ts +142 -0
  906. package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-candidate-metadata.d.ts +104 -0
  907. package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-storage-transition.d.ts +75 -0
  908. package/dist/types/lib/dashboard-inputs/dashboard-filter-ownership.d.ts +13 -0
  909. package/dist/types/lib/dashboard-inputs/dashboard-filter-value-identity.d.ts +36 -0
  910. package/dist/types/lib/dashboard-inputs/dashboard-input-authoring-aliases.d.ts +13 -0
  911. package/dist/types/lib/dashboard-inputs/dashboard-input-edit-validation.d.ts +20 -0
  912. package/dist/types/lib/dashboard-inputs/dashboard-input-helpers.d.ts +15 -0
  913. package/dist/types/lib/dashboard-inputs/dashboard-input-snapshot.d.ts +58 -0
  914. package/dist/types/lib/dashboard-inputs/dashboard-input-target-context.d.ts +120 -0
  915. package/dist/types/lib/dashboard-inputs/dashboard-input-text.d.ts +11 -0
  916. package/dist/types/lib/dashboard-inputs/dashboard-input-values.d.ts +43 -0
  917. package/dist/types/lib/dashboard-inputs/dashboard-option-dependency-context.d.ts +40 -0
  918. package/dist/types/lib/dashboard-inputs/document-input-prototype-normalizer.d.ts +2 -0
  919. package/dist/types/lib/dashboard-inputs/filter-authoring-capabilities.d.ts +39 -0
  920. package/dist/types/lib/dashboard-inputs/find-normalized-dashboard-filter-input.d.ts +4 -0
  921. package/dist/types/lib/dashboard-inputs/index.d.ts +11 -0
  922. package/dist/types/lib/dashboard-inputs/resolve-dashboard-input-context.d.ts +57 -0
  923. package/dist/types/lib/dashboard-inputs/resolve-field-date-comparison-coverage.d.ts +17 -0
  924. package/dist/types/lib/dashboard-inputs/text-card-rich-content.d.ts +5 -0
  925. package/dist/types/lib/dashboard-inputs/use-effective-dashboard-filter-storage.d.ts +7 -0
  926. package/dist/types/lib/dnd-utils.d.ts +5 -0
  927. package/dist/types/lib/document/document-dashboard-inputs.d.ts +48 -0
  928. package/dist/types/lib/document/document-definition.d.ts +14 -0
  929. package/dist/types/lib/document/document-input-order.d.ts +5 -0
  930. package/dist/types/lib/document/document-input-runtime.d.ts +25 -0
  931. package/dist/types/lib/document/document-inputs.d.ts +30 -0
  932. package/dist/types/lib/document/document-page-metrics.d.ts +34 -0
  933. package/dist/types/lib/document/document-pagination.d.ts +57 -0
  934. package/dist/types/lib/document/document-render-mode.d.ts +8 -0
  935. package/dist/types/lib/document/document-section-editor.d.ts +8 -0
  936. package/dist/types/lib/document/document-section-utils.d.ts +11 -0
  937. package/dist/types/lib/document/document-sheet-utils.d.ts +4 -0
  938. package/dist/types/lib/document/document-table-data-policy.d.ts +15 -0
  939. package/dist/types/lib/document/document-table-dom.d.ts +31 -0
  940. package/dist/types/lib/document/document-table-pagination-model.d.ts +67 -0
  941. package/dist/types/lib/document/document-table-print-model.d.ts +52 -0
  942. package/dist/types/lib/document/document-table-result-columns.d.ts +10 -0
  943. package/dist/types/lib/document/document-table-style.d.ts +33 -0
  944. package/dist/types/lib/document/document-table-totals.d.ts +8 -0
  945. package/dist/types/lib/document/document-variables.d.ts +59 -0
  946. package/dist/types/lib/document/document-visual-render-contract.d.ts +8 -0
  947. package/dist/types/lib/document/use-document-table-rows.d.ts +21 -0
  948. package/dist/types/lib/download-pdf.d.ts +104 -0
  949. package/dist/types/lib/drag-and-drop-utils.d.ts +2 -0
  950. package/dist/types/lib/editor-draft-sync.d.ts +2 -0
  951. package/dist/types/lib/encrypt-utils.d.ts +9 -0
  952. package/dist/types/lib/explorer-utils.d.ts +11 -0
  953. package/dist/types/lib/export-utils.d.ts +45 -0
  954. package/dist/types/lib/exports/export-status.d.ts +17 -0
  955. package/dist/types/lib/fields/field-display.d.ts +35 -0
  956. package/dist/types/lib/filter-values/build-card-filter-definition.d.ts +18 -0
  957. package/dist/types/lib/filter-values/build-filter-values-request-payload.d.ts +116 -0
  958. package/dist/types/lib/filter-values/filter-option-dependency-feedback.d.ts +43 -0
  959. package/dist/types/lib/filter-values/filter-option-identity.d.ts +10 -0
  960. package/dist/types/lib/filter-values/filter-option-selection-relevance.d.ts +27 -0
  961. package/dist/types/lib/filter-values/filter-record-value.d.ts +9 -0
  962. package/dist/types/lib/filter-values/merge-additional-filter-values.d.ts +12 -0
  963. package/dist/types/lib/formatters/active-numeric-presentation.d.ts +25 -0
  964. package/dist/types/lib/formatters/canonical-format-adapter.d.ts +34 -0
  965. package/dist/types/lib/formatters/card-format-context.d.ts +14 -0
  966. package/dist/types/lib/formatters/cartesian-temporal-presentation.d.ts +75 -0
  967. package/dist/types/lib/formatters/chart-numeric-presentation.d.ts +25 -0
  968. package/dist/types/lib/formatters/currency-presentation-binding.d.ts +72 -0
  969. package/dist/types/lib/formatters/dashboard-temporal-presentation.d.ts +10 -0
  970. package/dist/types/lib/formatters/dashboard-temporal-snapshot.d.ts +28 -0
  971. package/dist/types/lib/formatters/grouped-temporal-activation.d.ts +36 -0
  972. package/dist/types/lib/formatters/grouped-temporal-authoring.d.ts +33 -0
  973. package/dist/types/lib/formatters/grouped-temporal-presentation.d.ts +124 -0
  974. package/dist/types/lib/formatters/kpi-number-formatter.d.ts +24 -0
  975. package/dist/types/lib/formatters/kpi-result-columns.d.ts +3 -0
  976. package/dist/types/lib/formatters/metric-formatting.d.ts +197 -0
  977. package/dist/types/lib/formatters/numeric-presentation.d.ts +10 -0
  978. package/dist/types/lib/formatters/numeric-value-coercion.d.ts +10 -0
  979. package/dist/types/lib/formatters/pivot-result-lifecycle-config.d.ts +15 -0
  980. package/dist/types/lib/formatters/raw-temporal-on-demand-delivery.d.ts +63 -0
  981. package/dist/types/lib/formatters/raw-temporal-presentation.d.ts +155 -0
  982. package/dist/types/lib/formatters/regular-table-temporal-presentation.d.ts +9 -0
  983. package/dist/types/lib/formatters/result-column-identity.d.ts +3 -0
  984. package/dist/types/lib/formatters/saved-temporal-bucket-format.d.ts +43 -0
  985. package/dist/types/lib/formatters/semantic-column-presentation.d.ts +9 -0
  986. package/dist/types/lib/formatters/value-formatter.d.ts +64 -0
  987. package/dist/types/lib/hooks/ai/assistant-context-entity-utils.d.ts +6 -0
  988. package/dist/types/lib/hooks/ai/assistant-session.d.ts +3 -0
  989. package/dist/types/lib/hooks/ai/dashboard-assistant-context.d.ts +35 -0
  990. package/dist/types/lib/hooks/ai/dashboard-context.d.ts +34 -0
  991. package/dist/types/lib/hooks/ai/use-active-tool-status.d.ts +10 -0
  992. package/dist/types/lib/hooks/ai/use-assistant-context-entities.d.ts +19 -0
  993. package/dist/types/lib/hooks/ai/use-assistant-profile.d.ts +6 -0
  994. package/dist/types/lib/hooks/ai/use-assistant-scroll.d.ts +8 -0
  995. package/dist/types/lib/hooks/ai/use-auto-submit-queue.d.ts +13 -0
  996. package/dist/types/lib/hooks/ai/use-dashboard-assistant.d.ts +36 -0
  997. package/dist/types/lib/hooks/ai/use-editor-assistant.d.ts +33 -0
  998. package/dist/types/lib/hooks/ai/use-entity-mentions.d.ts +36 -0
  999. package/dist/types/lib/hooks/ai/use-local-storage-state.d.ts +1 -0
  1000. package/dist/types/lib/hooks/ai/utils.d.ts +64 -0
  1001. package/dist/types/lib/hooks/calculated-fields/use-ai-expression.d.ts +23 -0
  1002. package/dist/types/lib/hooks/calculated-fields/use-available-fields.d.ts +111 -0
  1003. package/dist/types/lib/hooks/calculated-fields/use-expression-validation.d.ts +18 -0
  1004. package/dist/types/lib/hooks/calculated-fields/use-promote-to-domain.d.ts +17 -0
  1005. package/dist/types/lib/hooks/chartjs/use-chart-blur.d.ts +6 -0
  1006. package/dist/types/lib/hooks/control-values-query-utils.d.ts +6 -0
  1007. package/dist/types/lib/hooks/explorer/column-catalog.d.ts +4 -0
  1008. package/dist/types/lib/hooks/explorer/column-native-datatype.d.ts +8 -0
  1009. package/dist/types/lib/hooks/explorer/field-management-utils.d.ts +2 -0
  1010. package/dist/types/lib/hooks/explorer/use-card-filter-option-browse.d.ts +10 -0
  1011. package/dist/types/lib/hooks/explorer/use-columns.d.ts +11 -0
  1012. package/dist/types/lib/hooks/explorer/use-data-models.d.ts +8 -0
  1013. package/dist/types/lib/hooks/explorer/use-database-entities.d.ts +15 -0
  1014. package/dist/types/lib/hooks/explorer/use-databases.d.ts +12 -0
  1015. package/dist/types/lib/hooks/explorer/use-datasets.d.ts +53 -0
  1016. package/dist/types/lib/hooks/explorer/use-dev-mode-actions.d.ts +10 -0
  1017. package/dist/types/lib/hooks/explorer/use-domain-calculated-fields.d.ts +6 -0
  1018. package/dist/types/lib/hooks/explorer/use-drag-and-drop.d.ts +22 -0
  1019. package/dist/types/lib/hooks/explorer/use-field-availability-context.d.ts +16 -0
  1020. package/dist/types/lib/hooks/explorer/use-field-management.d.ts +42 -0
  1021. package/dist/types/lib/hooks/explorer/use-files.d.ts +13 -0
  1022. package/dist/types/lib/hooks/explorer/use-filter-builder.d.ts +24 -0
  1023. package/dist/types/lib/hooks/explorer/use-filterable-fields.d.ts +61 -0
  1024. package/dist/types/lib/hooks/explorer/use-join-conditions-builder.d.ts +27 -0
  1025. package/dist/types/lib/hooks/explorer/use-schemas.d.ts +8 -0
  1026. package/dist/types/lib/hooks/explorer/use-scoped-fields.d.ts +53 -0
  1027. package/dist/types/lib/hooks/explorer/use-semantic-domains.d.ts +17 -0
  1028. package/dist/types/lib/hooks/explorer/use-sync-legacy-editor-state.d.ts +20 -0
  1029. package/dist/types/lib/hooks/index.d.ts +14 -0
  1030. package/dist/types/lib/hooks/interactions/use-event-engine.d.ts +65 -0
  1031. package/dist/types/lib/hooks/query-context/use-card-query-context.d.ts +3 -0
  1032. package/dist/types/lib/hooks/query-context/use-dashboard-card-execution-snapshot.d.ts +4 -0
  1033. package/dist/types/lib/hooks/semaphor-ready-indicator.d.ts +17 -0
  1034. package/dist/types/lib/hooks/summary/create-summary-action-handler.d.ts +15 -0
  1035. package/dist/types/lib/hooks/use-add-new-frame.d.ts +8 -0
  1036. package/dist/types/lib/hooks/use-assign-filter.d.ts +5 -0
  1037. package/dist/types/lib/hooks/use-attribute-values.d.ts +20 -0
  1038. package/dist/types/lib/hooks/use-auth-token.d.ts +1 -0
  1039. package/dist/types/lib/hooks/use-authorization-scope.d.ts +2 -0
  1040. package/dist/types/lib/hooks/use-calendar-context.d.ts +13 -0
  1041. package/dist/types/lib/hooks/use-calendar-preferences.d.ts +16 -0
  1042. package/dist/types/lib/hooks/use-card-filter-values.d.ts +19 -0
  1043. package/dist/types/lib/hooks/use-card-numeric-presentation.d.ts +11 -0
  1044. package/dist/types/lib/hooks/use-card-summary.d.ts +17 -0
  1045. package/dist/types/lib/hooks/use-chart-numeric-presentation.d.ts +3 -0
  1046. package/dist/types/lib/hooks/use-click-outside.d.ts +21 -0
  1047. package/dist/types/lib/hooks/use-column-sizing.d.ts +27 -0
  1048. package/dist/types/lib/hooks/use-connection-type.d.ts +0 -0
  1049. package/dist/types/lib/hooks/use-connections.d.ts +27 -0
  1050. package/dist/types/lib/hooks/use-control-values-query.d.ts +48 -0
  1051. package/dist/types/lib/hooks/use-copy-paste-frame.d.ts +2 -0
  1052. package/dist/types/lib/hooks/use-custom-visuals-query.d.ts +30 -0
  1053. package/dist/types/lib/hooks/use-dashboard-authoring.d.ts +49 -0
  1054. package/dist/types/lib/hooks/use-dashboard-card-query.d.ts +4 -0
  1055. package/dist/types/lib/hooks/use-dashboard-card.d.ts +41 -0
  1056. package/dist/types/lib/hooks/use-dashboard-creation.d.ts +17 -0
  1057. package/dist/types/lib/hooks/use-dashboard-filter-mapping-candidates.d.ts +22 -0
  1058. package/dist/types/lib/hooks/use-dashboard-filter-option-fields.d.ts +15 -0
  1059. package/dist/types/lib/hooks/use-dashboard-frame-query.d.ts +44 -0
  1060. package/dist/types/lib/hooks/use-dashboard-frame.d.ts +0 -0
  1061. package/dist/types/lib/hooks/use-dashboard-input-target-context.d.ts +24 -0
  1062. package/dist/types/lib/hooks/use-dashboard-interaction-mode.d.ts +1 -0
  1063. package/dist/types/lib/hooks/use-dashboard-kpi-actions.d.ts +11 -0
  1064. package/dist/types/lib/hooks/use-dashboard-preferences.d.ts +5 -0
  1065. package/dist/types/lib/hooks/use-dashboard-query.d.ts +28 -0
  1066. package/dist/types/lib/hooks/use-dashboard-summary.d.ts +13 -0
  1067. package/dist/types/lib/hooks/use-dashboard-unsaved-changes-check.d.ts +3 -0
  1068. package/dist/types/lib/hooks/use-dashboard.d.ts +49 -0
  1069. package/dist/types/lib/hooks/use-data-columns.d.ts +8 -0
  1070. package/dist/types/lib/hooks/use-date-filter.d.ts +36 -0
  1071. package/dist/types/lib/hooks/use-date-range-for-filter.d.ts +7 -0
  1072. package/dist/types/lib/hooks/use-debounce.d.ts +1 -0
  1073. package/dist/types/lib/hooks/use-debounced-dirty-check.d.ts +17 -0
  1074. package/dist/types/lib/hooks/use-debounced-editor-value.d.ts +28 -0
  1075. package/dist/types/lib/hooks/use-default-dashboard-mutation.d.ts +9 -0
  1076. package/dist/types/lib/hooks/use-default-sheet-preference.d.ts +9 -0
  1077. package/dist/types/lib/hooks/use-display-preferences.d.ts +4 -0
  1078. package/dist/types/lib/hooks/use-document-section-editor.d.ts +3 -0
  1079. package/dist/types/lib/hooks/use-draggable-button.d.ts +20 -0
  1080. package/dist/types/lib/hooks/use-draggable-corner.d.ts +22 -0
  1081. package/dist/types/lib/hooks/use-dynamic-fallback-render-context.d.ts +12 -0
  1082. package/dist/types/lib/hooks/use-dynamic-icon.d.ts +1 -0
  1083. package/dist/types/lib/hooks/use-edit-visual.d.ts +6 -0
  1084. package/dist/types/lib/hooks/use-editor-aside.d.ts +52 -0
  1085. package/dist/types/lib/hooks/use-editor-setup.d.ts +45 -0
  1086. package/dist/types/lib/hooks/use-export-polling.d.ts +24 -0
  1087. package/dist/types/lib/hooks/use-export-recovery.d.ts +11 -0
  1088. package/dist/types/lib/hooks/use-feedback.d.ts +12 -0
  1089. package/dist/types/lib/hooks/use-filter-aside-setup.d.ts +13 -0
  1090. package/dist/types/lib/hooks/use-filter-option-browse.d.ts +83 -0
  1091. package/dist/types/lib/hooks/use-filter-option-labels.d.ts +12 -0
  1092. package/dist/types/lib/hooks/use-filter-query.d.ts +79 -0
  1093. package/dist/types/lib/hooks/use-filter-search.d.ts +49 -0
  1094. package/dist/types/lib/hooks/use-frame-semantic-execution-payload.d.ts +15 -0
  1095. package/dist/types/lib/hooks/use-has-dashboard-id.d.ts +6 -0
  1096. package/dist/types/lib/hooks/use-insight-card-info.d.ts +30 -0
  1097. package/dist/types/lib/hooks/use-interactions-popover.d.ts +14 -0
  1098. package/dist/types/lib/hooks/use-is-dashboard-ready.d.ts +11 -0
  1099. package/dist/types/lib/hooks/use-joinability-map.d.ts +24 -0
  1100. package/dist/types/lib/hooks/use-kpi.d.ts +6 -0
  1101. package/dist/types/lib/hooks/use-metric-keys-visual.d.ts +6 -0
  1102. package/dist/types/lib/hooks/use-plugin-query.d.ts +6 -0
  1103. package/dist/types/lib/hooks/use-previous.d.ts +1 -0
  1104. package/dist/types/lib/hooks/use-query-feedback.d.ts +45 -0
  1105. package/dist/types/lib/hooks/use-query-key.d.ts +8 -0
  1106. package/dist/types/lib/hooks/use-role-aware-display-preferences.d.ts +29 -0
  1107. package/dist/types/lib/hooks/use-selected-column.d.ts +29 -0
  1108. package/dist/types/lib/hooks/use-semaphor-context.d.ts +4 -0
  1109. package/dist/types/lib/hooks/use-split-view-preference.d.ts +1 -0
  1110. package/dist/types/lib/hooks/use-stable-value.d.ts +38 -0
  1111. package/dist/types/lib/hooks/use-starred-charts.d.ts +1 -0
  1112. package/dist/types/lib/hooks/use-text-filter.d.ts +66 -0
  1113. package/dist/types/lib/hooks/use-theme.d.ts +1 -0
  1114. package/dist/types/lib/hooks/use-topojson.d.ts +7 -0
  1115. package/dist/types/lib/hooks/use-user-preferences.d.ts +24 -0
  1116. package/dist/types/lib/hooks/use-value-format-preferences.d.ts +15 -0
  1117. package/dist/types/lib/hooks/use-visual-editing-status.d.ts +6 -0
  1118. package/dist/types/lib/hooks/use-visual-save-as.d.ts +9 -0
  1119. package/dist/types/lib/hooks/visuals/use-pivot-table-config.d.ts +6 -0
  1120. package/dist/types/lib/interactions/build-interaction-event.d.ts +25 -0
  1121. package/dist/types/lib/interactions/click-filter-display.d.ts +13 -0
  1122. package/dist/types/lib/interactions/convert-click-filters-to-filter-group.d.ts +10 -0
  1123. package/dist/types/lib/interactions/execute-interaction-event.d.ts +80 -0
  1124. package/dist/types/lib/interactions/field-utils.d.ts +11 -0
  1125. package/dist/types/lib/interactions/get-click-context-from-chartjs.d.ts +21 -0
  1126. package/dist/types/lib/interactions/get-click-context-from-matrix.d.ts +37 -0
  1127. package/dist/types/lib/interactions/get-click-context-from-pivot-table.d.ts +12 -0
  1128. package/dist/types/lib/interactions/get-click-context-from-table.d.ts +35 -0
  1129. package/dist/types/lib/interactions/handle-chart-click.d.ts +75 -0
  1130. package/dist/types/lib/interactions/interaction-utils.d.ts +16 -0
  1131. package/dist/types/lib/interactions/interaction-validation-utils.d.ts +9 -0
  1132. package/dist/types/lib/interactions/interpolate-url-parameters.d.ts +73 -0
  1133. package/dist/types/lib/interactions/linked-interaction-utils.d.ts +14 -0
  1134. package/dist/types/lib/interactions/source-card-filter-utils.d.ts +9 -0
  1135. package/dist/types/lib/internal-print-report-context.d.ts +5 -0
  1136. package/dist/types/lib/matrix-table/matrix-application-adapter.d.ts +64 -0
  1137. package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +488 -0
  1138. package/dist/types/lib/matrix-table/matrix-card-draft.d.ts +350 -0
  1139. package/dist/types/lib/matrix-table/matrix-card-fields.d.ts +14 -0
  1140. package/dist/types/lib/matrix-table/matrix-card-interactions.d.ts +5 -0
  1141. package/dist/types/lib/matrix-table/matrix-clipboard.d.ts +45 -0
  1142. package/dist/types/lib/matrix-table/matrix-conditional-formatting.d.ts +36 -0
  1143. package/dist/types/lib/matrix-table/matrix-delivery-policy.d.ts +27 -0
  1144. package/dist/types/lib/matrix-table/matrix-delivery.d.ts +751 -0
  1145. package/dist/types/lib/matrix-table/matrix-editor.d.ts +40 -0
  1146. package/dist/types/lib/matrix-table/matrix-execution-context.d.ts +18 -0
  1147. package/dist/types/lib/matrix-table/matrix-execution-provider.d.ts +7 -0
  1148. package/dist/types/lib/matrix-table/matrix-failure-copy.d.ts +16 -0
  1149. package/dist/types/lib/matrix-table/matrix-field-metadata.d.ts +3 -0
  1150. package/dist/types/lib/matrix-table/matrix-label-boundary.d.ts +6 -0
  1151. package/dist/types/lib/matrix-table/matrix-layout.d.ts +18 -0
  1152. package/dist/types/lib/matrix-table/matrix-measure-presentation.d.ts +8 -0
  1153. package/dist/types/lib/matrix-table/matrix-operation-queue.d.ts +8 -0
  1154. package/dist/types/lib/matrix-table/matrix-query-transport.d.ts +3 -0
  1155. package/dist/types/lib/matrix-table/matrix-row-labels.d.ts +13 -0
  1156. package/dist/types/lib/matrix-table/matrix-runtime-types.d.ts +117 -0
  1157. package/dist/types/lib/matrix-table/matrix-runtime.d.ts +76 -0
  1158. package/dist/types/lib/matrix-table/matrix-selection.d.ts +20 -0
  1159. package/dist/types/lib/matrix-table/submit-matrix-delivery.d.ts +19 -0
  1160. package/dist/types/lib/matrix-table/use-matrix-card-catalog.d.ts +20 -0
  1161. package/dist/types/lib/matrix-table/use-matrix-delivery-capture.d.ts +6 -0
  1162. package/dist/types/lib/matrix-table/use-matrix-editor-catalog.d.ts +5 -0
  1163. package/dist/types/lib/matrix-table/use-matrix-editor-refresh.d.ts +15 -0
  1164. package/dist/types/lib/matrix-table/use-matrix-selection.d.ts +59 -0
  1165. package/dist/types/lib/matrix-table/use-matrix.d.ts +68 -0
  1166. package/dist/types/lib/mock-data.d.ts +0 -0
  1167. package/dist/types/lib/object-utils.d.ts +4 -0
  1168. package/dist/types/lib/pdf-execution-snapshot.d.ts +12 -0
  1169. package/dist/types/lib/pdf-fast-path/aggregate-metric-semantics.d.ts +1 -0
  1170. package/dist/types/lib/pdf-fast-path/builders.d.ts +46 -0
  1171. package/dist/types/lib/pdf-fast-path/candidate-eligibility.d.ts +17 -0
  1172. package/dist/types/lib/pdf-fast-path/extract-table-structure.d.ts +5 -0
  1173. package/dist/types/lib/pdf-fast-path/index.d.ts +27 -0
  1174. package/dist/types/lib/pdf-fast-path/pivot-fast-path-utils.d.ts +12 -0
  1175. package/dist/types/lib/pdf-fast-path/prepare-server-table-pdf-export.d.ts +37 -0
  1176. package/dist/types/lib/print-state/capture-expanded-state.d.ts +38 -0
  1177. package/dist/types/lib/print-state/use-expose-print-state.d.ts +30 -0
  1178. package/dist/types/lib/python/default-code.d.ts +1 -0
  1179. package/dist/types/lib/query-context/build-card-control-context.d.ts +16 -0
  1180. package/dist/types/lib/query-context/build-card-query-context.d.ts +45 -0
  1181. package/dist/types/lib/query-context/build-dashboard-card-query-contract.d.ts +67 -0
  1182. package/dist/types/lib/query-context/build-dashboard-execution-snapshot.d.ts +54 -0
  1183. package/dist/types/lib/query-context/build-dashboard-frame-base-query-contexts.d.ts +50 -0
  1184. package/dist/types/lib/query-context/build-global-date-comparison-context.d.ts +9 -0
  1185. package/dist/types/lib/query-context/build-query-relevant-card-config.d.ts +15 -0
  1186. package/dist/types/lib/query-context/compile-dashboard-card-filters.d.ts +72 -0
  1187. package/dist/types/lib/query-context/control-contract-serialization.d.ts +11 -0
  1188. package/dist/types/lib/query-context/dashboard-card-query-key.d.ts +28 -0
  1189. package/dist/types/lib/query-context/dashboard-filter-mapping-resolution.d.ts +36 -0
  1190. package/dist/types/lib/query-context/dashboard-query-result-context.d.ts +17 -0
  1191. package/dist/types/lib/query-context/global-date-filter-materialization.d.ts +65 -0
  1192. package/dist/types/lib/query-context/normalize-dashboard-card-execution.d.ts +7 -0
  1193. package/dist/types/lib/query-context/resolve-card-primary-date-field.d.ts +35 -0
  1194. package/dist/types/lib/query-context/resolve-render-card-config.d.ts +16 -0
  1195. package/dist/types/lib/query-context/temporal-context-preview.d.ts +14 -0
  1196. package/dist/types/lib/query-context/use-semantic-execution-payload-for-cards.d.ts +24 -0
  1197. package/dist/types/lib/resize-observer-utils.d.ts +10 -0
  1198. package/dist/types/lib/stores/ai-interaction-store.d.ts +97 -0
  1199. package/dist/types/lib/stores/assistant-layout-store.d.ts +17 -0
  1200. package/dist/types/lib/stores/chartjs-store.d.ts +36 -0
  1201. package/dist/types/lib/stores/dashboard-store.d.ts +321 -0
  1202. package/dist/types/lib/stores/drill-actions.d.ts +139 -0
  1203. package/dist/types/lib/stores/editor-store.d.ts +222 -0
  1204. package/dist/types/lib/stores/explorer-actions.d.ts +45 -0
  1205. package/dist/types/lib/stores/explorer-empty-states.d.ts +8 -0
  1206. package/dist/types/lib/stores/export-store.d.ts +51 -0
  1207. package/dist/types/lib/stores/index.d.ts +10 -0
  1208. package/dist/types/lib/stores/interaction-store.d.ts +113 -0
  1209. package/dist/types/lib/stores/management-store.d.ts +31 -0
  1210. package/dist/types/lib/stores/mount-store-devtool.d.ts +2 -0
  1211. package/dist/types/lib/stores/pointer-interaction-store.d.ts +18 -0
  1212. package/dist/types/lib/stores/starred-charts-store.d.ts +27 -0
  1213. package/dist/types/lib/stores/store-events.d.ts +35 -0
  1214. package/dist/types/lib/stores/table-actions.d.ts +28 -0
  1215. package/dist/types/lib/stores/utils.d.ts +40 -0
  1216. package/dist/types/lib/table-formatting/index.d.ts +11 -0
  1217. package/dist/types/lib/table-formatting/table-base-formatting-resolver.d.ts +7 -0
  1218. package/dist/types/lib/table-formatting/table-column-visibility.d.ts +5 -0
  1219. package/dist/types/lib/table-formatting/table-conditional-formatting-columns.d.ts +14 -0
  1220. package/dist/types/lib/table-formatting/table-conditional-formatting-evaluator.d.ts +9 -0
  1221. package/dist/types/lib/table-formatting/table-conditional-formatting-range-source.d.ts +8 -0
  1222. package/dist/types/lib/table-formatting/table-conditional-formatting-range.d.ts +9 -0
  1223. package/dist/types/lib/table-formatting/table-formatting-css.d.ts +10 -0
  1224. package/dist/types/lib/table-formatting/table-formatting-normalize.d.ts +3 -0
  1225. package/dist/types/lib/table-formatting/table-formatting-render-model.d.ts +16 -0
  1226. package/dist/types/lib/table-formatting/table-formatting-schemas.d.ts +1101 -0
  1227. package/dist/types/lib/table-formatting/table-formatting-types.d.ts +220 -0
  1228. package/dist/types/lib/table-formatting/table-formatting-utils.d.ts +30 -0
  1229. package/dist/types/lib/table-formatting/table-formatting-validation.d.ts +12 -0
  1230. package/dist/types/lib/table-formatting/table-presentation-fields.d.ts +21 -0
  1231. package/dist/types/lib/table-formatting/table-presentation-style.d.ts +45 -0
  1232. package/dist/types/lib/table-formatting/table-result-bindings.d.ts +12 -0
  1233. package/dist/types/lib/table-formatting/table-text-flow.d.ts +26 -0
  1234. package/dist/types/lib/table-formatting/table-totals-settings.d.ts +23 -0
  1235. package/dist/types/lib/temporal-filter/temporal-filter-utils.d.ts +41 -0
  1236. package/dist/types/lib/types/assistant-types.d.ts +127 -0
  1237. package/dist/types/lib/types/briefing-types.d.ts +216 -0
  1238. package/dist/types/lib/types/calculated-field-domain-payloads.d.ts +36 -0
  1239. package/dist/types/lib/types/calculated-field-editor-types.d.ts +64 -0
  1240. package/dist/types/lib/types/common-types.d.ts +1621 -0
  1241. package/dist/types/lib/types/dropdown-types.d.ts +11 -0
  1242. package/dist/types/lib/types/explorer-types.d.ts +736 -0
  1243. package/dist/types/lib/types/feedback-types.d.ts +60 -0
  1244. package/dist/types/lib/types/index.d.ts +10 -0
  1245. package/dist/types/lib/types/interaction-types.d.ts +483 -0
  1246. package/dist/types/lib/types/query-types.d.ts +81 -0
  1247. package/dist/types/lib/types/semantic-runtime-types.d.ts +14 -0
  1248. package/dist/types/lib/types/semantic-types.d.ts +118 -0
  1249. package/dist/types/lib/types/summary-types.d.ts +74 -0
  1250. package/dist/types/lib/types/token-types.d.ts +312 -0
  1251. package/dist/types/lib/ui/tenancy-ui.d.ts +25 -0
  1252. package/dist/types/lib/utils/aggregate-expression-utils.d.ts +6 -0
  1253. package/dist/types/lib/utils/app-url-utils.d.ts +7 -0
  1254. package/dist/types/lib/utils/assistant-visibility.d.ts +9 -0
  1255. package/dist/types/lib/utils/async-export-visible-columns.d.ts +12 -0
  1256. package/dist/types/lib/utils/authored-card-fields.d.ts +17 -0
  1257. package/dist/types/lib/utils/briefings-visibility.d.ts +9 -0
  1258. package/dist/types/lib/utils/build-card-export-request.d.ts +30 -0
  1259. package/dist/types/lib/utils/calculate-card-filter-values.d.ts +23 -0
  1260. package/dist/types/lib/utils/calculate-context-aware-filters.d.ts +37 -0
  1261. package/dist/types/lib/utils/calculated-date-dimension-defaults.d.ts +9 -0
  1262. package/dist/types/lib/utils/calculated-dimension-utils.d.ts +2 -0
  1263. package/dist/types/lib/utils/calculated-field-identity-utils.d.ts +20 -0
  1264. package/dist/types/lib/utils/calculated-field-normalization.d.ts +2 -0
  1265. package/dist/types/lib/utils/calculated-field-operations.d.ts +40 -0
  1266. package/dist/types/lib/utils/calculated-field-permissions.d.ts +12 -0
  1267. package/dist/types/lib/utils/calculated-field-scope-utils.d.ts +20 -0
  1268. package/dist/types/lib/utils/calculated-field-token-utils.d.ts +11 -0
  1269. package/dist/types/lib/utils/calculated-field-transition-utils.d.ts +113 -0
  1270. package/dist/types/lib/utils/calculated-field-utils.d.ts +37 -0
  1271. package/dist/types/lib/utils/card-calculated-field-utils.d.ts +12 -0
  1272. package/dist/types/lib/utils/card-config-utils.d.ts +24 -0
  1273. package/dist/types/lib/utils/card-definition.d.ts +387 -0
  1274. package/dist/types/lib/utils/card-loading-state.d.ts +17 -0
  1275. package/dist/types/lib/utils/card-utils.d.ts +52 -0
  1276. package/dist/types/lib/utils/chart-icon-utils.d.ts +26 -0
  1277. package/dist/types/lib/utils/chart-type-field-validation.d.ts +25 -0
  1278. package/dist/types/lib/utils/comparison-export-utils.d.ts +31 -0
  1279. package/dist/types/lib/utils/comparison-output-keys.d.ts +37 -0
  1280. package/dist/types/lib/utils/comparison-period-utils.d.ts +6 -0
  1281. package/dist/types/lib/utils/comparison-validation-utils.d.ts +16 -0
  1282. package/dist/types/lib/utils/comparison-window-caption.d.ts +12 -0
  1283. package/dist/types/lib/utils/connection-capabilities.d.ts +26 -0
  1284. package/dist/types/lib/utils/control-default-value-utils.d.ts +46 -0
  1285. package/dist/types/lib/utils/control-placeholder-utils.d.ts +14 -0
  1286. package/dist/types/lib/utils/control-reference-utils.d.ts +18 -0
  1287. package/dist/types/lib/utils/copy-control-bindings.d.ts +3 -0
  1288. package/dist/types/lib/utils/custom-visual-inputs.d.ts +43 -0
  1289. package/dist/types/lib/utils/dashboard-controls-visibility.d.ts +24 -0
  1290. package/dist/types/lib/utils/dashboard-date-filter-utils.d.ts +16 -0
  1291. package/dist/types/lib/utils/dashboard-interaction-mode.d.ts +12 -0
  1292. package/dist/types/lib/utils/data-source-semantic-domain.d.ts +12 -0
  1293. package/dist/types/lib/utils/data-source-utils.d.ts +22 -0
  1294. package/dist/types/lib/utils/date-filter-column-utils.d.ts +2 -0
  1295. package/dist/types/lib/utils/date-format-utils.d.ts +8 -0
  1296. package/dist/types/lib/utils/date-granularity-utils.d.ts +5 -0
  1297. package/dist/types/lib/utils/date-hierarchy-utils.d.ts +73 -0
  1298. package/dist/types/lib/utils/date-timezone-utils.d.ts +99 -0
  1299. package/dist/types/lib/utils/drag-and-drop-utils.d.ts +8 -0
  1300. package/dist/types/lib/utils/drill-context-utils.d.ts +32 -0
  1301. package/dist/types/lib/utils/entity-consistency-utils.d.ts +48 -0
  1302. package/dist/types/lib/utils/entity-icon-utils.d.ts +17 -0
  1303. package/dist/types/lib/utils/explorer-derived-field.d.ts +4 -0
  1304. package/dist/types/lib/utils/explorer-field-identity.d.ts +15 -0
  1305. package/dist/types/lib/utils/export-result-source.d.ts +20 -0
  1306. package/dist/types/lib/utils/export-utils.d.ts +26 -0
  1307. package/dist/types/lib/utils/expression-field-classification.d.ts +12 -0
  1308. package/dist/types/lib/utils/fetch-export-data.d.ts +14 -0
  1309. package/dist/types/lib/utils/field-availability-context.d.ts +25 -0
  1310. package/dist/types/lib/utils/field-dependencies.d.ts +87 -0
  1311. package/dist/types/lib/utils/field-icon-utils.d.ts +10 -0
  1312. package/dist/types/lib/utils/field-state-calculator.d.ts +159 -0
  1313. package/dist/types/lib/utils/filter-default-value-utils.d.ts +24 -0
  1314. package/dist/types/lib/utils/filter-formatter.d.ts +19 -0
  1315. package/dist/types/lib/utils/filter-metadata-utils.d.ts +28 -0
  1316. package/dist/types/lib/utils/filter-name-utils.d.ts +27 -0
  1317. package/dist/types/lib/utils/filter-scoping-utils.d.ts +64 -0
  1318. package/dist/types/lib/utils/filter-search-sql.d.ts +17 -0
  1319. package/dist/types/lib/utils/format-config-extractor.d.ts +21 -0
  1320. package/dist/types/lib/utils/frame-utils.d.ts +27 -0
  1321. package/dist/types/lib/utils/inline-expression-utils.d.ts +11 -0
  1322. package/dist/types/lib/utils/inline-filter-utils.d.ts +15 -0
  1323. package/dist/types/lib/utils/interaction-display-utils.d.ts +30 -0
  1324. package/dist/types/lib/utils/interaction-icons.d.ts +10 -0
  1325. package/dist/types/lib/utils/is-safari-browser.d.ts +6 -0
  1326. package/dist/types/lib/utils/join-plan-entity-matching.d.ts +26 -0
  1327. package/dist/types/lib/utils/kpi-comparison-utils.d.ts +12 -0
  1328. package/dist/types/lib/utils/kpi-field-cleanup-utils.d.ts +19 -0
  1329. package/dist/types/lib/utils/kpi-format-migration.d.ts +2 -0
  1330. package/dist/types/lib/utils/metric-comparison-config.d.ts +9 -0
  1331. package/dist/types/lib/utils/physical-source-identity.d.ts +12 -0
  1332. package/dist/types/lib/utils/qualified-entity-name.d.ts +2 -0
  1333. package/dist/types/lib/utils/resolve-selected-sheet-id.d.ts +11 -0
  1334. package/dist/types/lib/utils/role-display-mappings.d.ts +44 -0
  1335. package/dist/types/lib/utils/semantic-metric-format-defaults.d.ts +3 -0
  1336. package/dist/types/lib/utils/slot-validation.d.ts +12 -0
  1337. package/dist/types/lib/utils/stable-serialize.d.ts +1 -0
  1338. package/dist/types/lib/utils/summary-eligibility.d.ts +7 -0
  1339. package/dist/types/lib/utils/summary-filter-utils.d.ts +2 -0
  1340. package/dist/types/lib/utils/table-comparison-utils.d.ts +9 -0
  1341. package/dist/types/lib/utils/text-card-runtime-utils.d.ts +6 -0
  1342. package/dist/types/lib/utils/url-parameter-utils.d.ts +60 -0
  1343. package/dist/types/lib/utils/window-transform-utils.d.ts +41 -0
  1344. package/dist/types/lib/utils.d.ts +58 -0
  1345. package/dist/types/lib/visuals/frame-object.d.ts +4 -0
  1346. package/dist/types/main.d.ts +2 -27077
  1347. package/dist/types/pdf-export-policy.d.ts +2 -28
  1348. package/dist/types/report-runtime-context.d.ts +2 -102
  1349. package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +2354 -0
  1350. package/dist/types/shared/analytics-protocol/analyze-result-contract.d.ts +5 -0
  1351. package/dist/types/shared/analytics-protocol/analyze-result-types.d.ts +105 -0
  1352. package/dist/types/shared/analytics-protocol/catalog-field-grounding.d.ts +60 -0
  1353. package/dist/types/shared/analytics-protocol/catalog-source-address.d.ts +27 -0
  1354. package/dist/types/shared/analytics-protocol/contracts.d.ts +845 -0
  1355. package/dist/types/shared/analytics-protocol/dashboard-date-comparison-definition.d.ts +24 -0
  1356. package/dist/types/shared/analytics-protocol/dashboard-input-contract.d.ts +8 -0
  1357. package/dist/types/shared/analytics-protocol/data-app-codegen-summary.d.ts +418 -0
  1358. package/dist/types/shared/analytics-protocol/exact-decimal.d.ts +15 -0
  1359. package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +1927 -0
  1360. package/dist/types/shared/analytics-protocol/explorer-input-schemas.d.ts +5 -0
  1361. package/dist/types/shared/analytics-protocol/field-validation.d.ts +15 -0
  1362. package/dist/types/shared/analytics-protocol/fixtures.d.ts +249 -0
  1363. package/dist/types/shared/analytics-protocol/index.d.ts +30 -0
  1364. package/dist/types/shared/analytics-protocol/matrix-analytical-definition.d.ts +253 -0
  1365. package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +7409 -0
  1366. package/dist/types/shared/analytics-protocol/matrix-member-presentation.d.ts +20 -0
  1367. package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +759 -0
  1368. package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +743 -0
  1369. package/dist/types/shared/analytics-protocol/matrix-path-contract.d.ts +427 -0
  1370. package/dist/types/shared/analytics-protocol/matrix-window-contract.d.ts +404 -0
  1371. package/dist/types/shared/analytics-protocol/metric-comparison.d.ts +183 -0
  1372. package/dist/types/shared/analytics-protocol/operators.d.ts +10 -0
  1373. package/dist/types/shared/analytics-protocol/option-predicate.d.ts +43 -0
  1374. package/dist/types/shared/analytics-protocol/option-relevance.d.ts +19 -0
  1375. package/dist/types/shared/analytics-protocol/physical-source-resolution.d.ts +54 -0
  1376. package/dist/types/shared/analytics-protocol/qualified-identity.d.ts +3 -0
  1377. package/dist/types/shared/analytics-protocol/raw-temporal-contract.d.ts +14 -0
  1378. package/dist/types/shared/analytics-protocol/runtime-schemas.d.ts +3373 -0
  1379. package/dist/types/shared/analytics-protocol/scalar-value.d.ts +55 -0
  1380. package/dist/types/shared/analytics-protocol/source-capabilities.d.ts +64 -0
  1381. package/dist/types/shared/analytics-protocol/source-entity-resolution.d.ts +80 -0
  1382. package/dist/types/shared/analytics-protocol/source-identity.d.ts +36 -0
  1383. package/dist/types/shared/analytics-protocol/temporal-bucket-contract.d.ts +39 -0
  1384. package/dist/types/shared/analytics-protocol/temporal-context.d.ts +35 -0
  1385. package/dist/types/shared/analytics-protocol/validators.d.ts +21 -0
  1386. package/dist/types/shared/dashboard-authoring/artifact-compiler.d.ts +6 -0
  1387. package/dist/types/shared/dashboard-authoring/calculated-field-identity.d.ts +22 -0
  1388. package/dist/types/shared/dashboard-authoring/calculated-field-placement.d.ts +16 -0
  1389. package/dist/types/shared/dashboard-authoring/canonical-result-keys.d.ts +25 -0
  1390. package/dist/types/shared/dashboard-authoring/card-reference-remapping.d.ts +6 -0
  1391. package/dist/types/shared/dashboard-authoring/change-compiler.d.ts +7 -0
  1392. package/dist/types/shared/dashboard-authoring/comparison-document-migration.d.ts +36 -0
  1393. package/dist/types/shared/dashboard-authoring/contracts.d.ts +153 -0
  1394. package/dist/types/shared/dashboard-authoring/control-value-resolution.d.ts +51 -0
  1395. package/dist/types/shared/dashboard-authoring/dashboard-card-source-index.d.ts +37 -0
  1396. package/dist/types/shared/dashboard-authoring/dashboard-filter-automatic-target.d.ts +37 -0
  1397. package/dist/types/shared/dashboard-authoring/dashboard-filter-mapping-contract.d.ts +32 -0
  1398. package/dist/types/shared/dashboard-authoring/dashboard-filter-mapping-types.d.ts +46 -0
  1399. package/dist/types/shared/dashboard-authoring/dashboard-filter-sql-subscription.d.ts +10 -0
  1400. package/dist/types/shared/dashboard-authoring/dashboard-filter-sql-target.d.ts +20 -0
  1401. package/dist/types/shared/dashboard-authoring/dashboard-filter-value-compatibility.d.ts +9 -0
  1402. package/dist/types/shared/dashboard-authoring/dashboard-option-dependencies.d.ts +81 -0
  1403. package/dist/types/shared/dashboard-authoring/field-aggregations.d.ts +29 -0
  1404. package/dist/types/shared/dashboard-authoring/filter-defaults.d.ts +2 -0
  1405. package/dist/types/shared/dashboard-authoring/index.d.ts +29 -0
  1406. package/dist/types/shared/dashboard-authoring/layout-compiler.d.ts +2 -0
  1407. package/dist/types/shared/dashboard-authoring/matrix-authoring.d.ts +59 -0
  1408. package/dist/types/shared/dashboard-authoring/matrix-card.d.ts +25 -0
  1409. package/dist/types/shared/dashboard-authoring/matrix-control-resolution.d.ts +19 -0
  1410. package/dist/types/shared/dashboard-authoring/matrix-control-sources.d.ts +14 -0
  1411. package/dist/types/shared/dashboard-authoring/matrix-definition.d.ts +15 -0
  1412. package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +1453 -0
  1413. package/dist/types/shared/dashboard-authoring/protocol-adapter.d.ts +7 -0
  1414. package/dist/types/shared/dashboard-authoring/source-matching.d.ts +34 -0
  1415. package/dist/types/shared/dashboard-authoring/temporal-bucket-authoring.d.ts +19 -0
  1416. package/dist/types/shared/dashboard-authoring/temporal-result-owner.d.ts +25 -0
  1417. package/dist/types/shared/dashboard-authoring/validators.d.ts +3 -0
  1418. package/dist/types/shared/dirty-check/index.d.ts +2 -0
  1419. package/dist/types/shared/filter-native-data-type.d.ts +59 -0
  1420. package/dist/types/shared/format-utils/aggregate-table-row-presentation.d.ts +85 -0
  1421. package/dist/types/shared/format-utils/export-policy.d.ts +19 -0
  1422. package/dist/types/shared/format-utils/exporters/csv-utils.d.ts +23 -0
  1423. package/dist/types/shared/format-utils/exporters/index.d.ts +3 -0
  1424. package/dist/types/shared/format-utils/exporters/pivot-exporter.d.ts +13 -0
  1425. package/dist/types/shared/format-utils/exporters/table-exporter.d.ts +10 -0
  1426. package/dist/types/shared/format-utils/flat-table-export-totals.d.ts +25 -0
  1427. package/dist/types/shared/format-utils/formatters/cell-formatter.d.ts +22 -0
  1428. package/dist/types/shared/format-utils/formatters/date-formatter.d.ts +62 -0
  1429. package/dist/types/shared/format-utils/formatters/duration-formatter.d.ts +2 -0
  1430. package/dist/types/shared/format-utils/formatters/exact-number.d.ts +1 -0
  1431. package/dist/types/shared/format-utils/formatters/index.d.ts +6 -0
  1432. package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +35 -0
  1433. package/dist/types/shared/format-utils/formatters/metric-comparison-formatter.d.ts +22 -0
  1434. package/dist/types/shared/format-utils/formatters/number-formatter.d.ts +47 -0
  1435. package/dist/types/shared/format-utils/grouped-table-presentation.d.ts +15 -0
  1436. package/dist/types/shared/format-utils/index.d.ts +38 -0
  1437. package/dist/types/shared/format-utils/json-record.d.ts +6 -0
  1438. package/dist/types/shared/format-utils/matrix-continuation.d.ts +195 -0
  1439. package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +22 -0
  1440. package/dist/types/shared/format-utils/numeric-presentation.d.ts +36 -0
  1441. package/dist/types/shared/format-utils/pdf-delivery.d.ts +25 -0
  1442. package/dist/types/shared/format-utils/pdf-export-policy.d.ts +20 -0
  1443. package/dist/types/shared/format-utils/pivot-header-presentation.d.ts +28 -0
  1444. package/dist/types/shared/format-utils/pivot-result-contract-expectations.d.ts +28 -0
  1445. package/dist/types/shared/format-utils/pivot-result-identity.d.ts +52 -0
  1446. package/dist/types/shared/format-utils/pivot-result-lifecycle.d.ts +55 -0
  1447. package/dist/types/shared/format-utils/presentation-execution.d.ts +88 -0
  1448. package/dist/types/shared/format-utils/raw-temporal.d.ts +89 -0
  1449. package/dist/types/shared/format-utils/semantic-format.d.ts +44 -0
  1450. package/dist/types/shared/format-utils/table-structure.d.ts +43 -0
  1451. package/dist/types/shared/format-utils/temporal-bucket-format-policy.d.ts +41 -0
  1452. package/dist/types/shared/format-utils/temporal-bucket.d.ts +77 -0
  1453. package/dist/types/shared/format-utils/types/format-types.d.ts +233 -0
  1454. package/dist/types/shared/format-utils/types/index.d.ts +1 -0
  1455. package/dist/types/shared/index.d.ts +1 -0
  1456. package/dist/types/shared/layouts/create-frame-layouts.d.ts +27 -0
  1457. package/dist/types/shared/layouts/index.d.ts +1 -0
  1458. package/dist/types/shared/report-runtime-context/calendar-validation.d.ts +2 -0
  1459. package/dist/types/shared/report-runtime-context/index.d.ts +2 -0
  1460. package/dist/types/shared/report-runtime-context/report-runtime-context.d.ts +58 -0
  1461. package/dist/types/shared/value-format-preferences/index.d.ts +1 -0
  1462. package/dist/types/shared/value-format-preferences/value-format-preferences.d.ts +102 -0
  1463. package/dist/types/shared.d.ts +2 -9998
  1464. package/dist/types/surfboard.d.ts +2 -10912
  1465. package/dist/types/types.d.ts +2 -12281
  1466. package/dist/types/value-format-preferences.d.ts +2 -129
  1467. package/package.json +3 -2
  1468. package/dist/chunks/validators-D2F_uxxP.cjs +0 -1
@@ -0,0 +1,1621 @@
1
+ import { TFilter, TFilterValue, Operation, TCustomFilterPreferences, DateSelectionMode, DefaultDateFilter, FilterFieldMeta, FilterSemanticContext } from '../../components/surfboard/filter/types.js';
2
+ import { FontSpec } from 'chart.js';
3
+ import { TChartType } from '../charts/types.js';
4
+ import { QueryConfig } from './query-types.js';
5
+ import { TablePreferences } from '../../components/visual/data-table/types/data-table.js';
6
+ import { CalculatedFieldFormula, CardConfig, Field, FormatSpec, AggregateFunction, GroupByField, MetricField, PaginationConfig, DateFormatValue, EntityType, TimeGranularity, DataSource } from './explorer-types.js';
7
+ import { ComparisonPresentationSpec, GlobalDateComparisonSelection, MetricComparisonPolarity, SemaphorDerivedFieldDefinition, TemporalBucketFormat } from '../../shared/analytics-protocol/index.js';
8
+ import { DashboardFilterApplication, DashboardFilterOptionSource, DashboardFilterOptionDependencies, DashboardFilterOptionPopulation } from '../../shared/dashboard-authoring/dashboard-filter-mapping-types.js';
9
+ import { DashboardAIContext } from './assistant-types.js';
10
+ import { CardInteractionConfig, InteractionState, InteractionTargetOverride } from './interaction-types.js';
11
+ import { SemanticExecutionPayload } from './semantic-runtime-types.js';
12
+ import { ReportRuntimeContext } from '../../shared/report-runtime-context/index.js';
13
+ import { PresentationExecutionSnapshot } from '../../shared/format-utils/index.js';
14
+ import { JSX } from 'react';
15
+ export type { DashboardFilterApplication, DashboardFilterBoundCardApplication, DashboardFilterCardApplication, DashboardFilterExcludedCardApplication, DashboardFilterTarget, DashboardFilterTargetField, DashboardFilterTargetSource, DashboardFilterOptionSource, } from '../../shared/dashboard-authoring/dashboard-filter-mapping-types.js';
16
+ export type Level = 'database' | 'schema' | 'table';
17
+ export type SelectionState = Record<Level, string | null>;
18
+ export declare const EMPTY_SELECTION: SelectionState;
19
+ export type TDbCapabilities = {
20
+ path: Level[];
21
+ labels?: Partial<Record<Level, string>>;
22
+ prefixLevels: Level[];
23
+ dialect?: string;
24
+ supportsFilterClause?: boolean;
25
+ };
26
+ export type TDataColumn = {
27
+ column_name: string;
28
+ data_type: string;
29
+ /** Exact catalog type when the columns API can prove it independently. */
30
+ nativeDataType?: string;
31
+ /** @deprecated Use the API contract spelling `nativeDataType`. */
32
+ native_data_type?: string;
33
+ /** Whether `data_type` came from semantic metadata or physical introspection. */
34
+ dataTypeProvenance?: 'semantic' | 'physical';
35
+ is_nullable?: string;
36
+ label?: string;
37
+ description?: string;
38
+ qualifiedFieldName?: string;
39
+ qualifiedEntityName?: string;
40
+ entityId?: string;
41
+ entityName?: string;
42
+ entityType?: EntityType;
43
+ role?: 'groupby' | 'metric' | 'sortby' | 'pivotby' | 'detail';
44
+ expression?: string;
45
+ calculatedFormula?: CalculatedFieldFormula;
46
+ derivedField?: SemaphorDerivedFieldDefinition;
47
+ fieldScope?: import('./explorer-types.js').FieldScope;
48
+ source?: import('./explorer-types.js').Field['source'];
49
+ calculatedFieldOrigin?: import('./explorer-types.js').Field['calculatedFieldOrigin'];
50
+ calculationRepresentation?: import('./explorer-types.js').Field['calculationRepresentation'];
51
+ aggregateOrigin?: import('./explorer-types.js').Field['aggregateOrigin'];
52
+ labelOrigin?: import('./explorer-types.js').Field['labelOrigin'];
53
+ formatOrigin?: import('./explorer-types.js').Field['formatOrigin'];
54
+ format?: FormatSpec;
55
+ granularity?: TimeGranularity;
56
+ sourceField?: string;
57
+ aggregate?: AggregateFunction;
58
+ };
59
+ export type DroppableId = 'droppable-group-by' | 'droppable-metric';
60
+ export type AggregateCalc = 'AVG' | 'MIN' | 'MAX' | 'SUM' | 'COUNT' | 'COUNT_DISTINCT';
61
+ export type SqlGen = {
62
+ measures?: {
63
+ name: string;
64
+ calc: AggregateCalc;
65
+ }[];
66
+ dimensions?: string[];
67
+ };
68
+ export type Theme = 'dark' | 'light' | 'system';
69
+ export type LensInputValuesSnapshot = {
70
+ generatedAt: string;
71
+ dashboardInputValues: DashboardInputValues;
72
+ };
73
+ export type TLens = {
74
+ id: string;
75
+ name: string;
76
+ template?: string;
77
+ filterValues?: TFilterValue[] | null;
78
+ inputValues?: LensInputValuesSnapshot | null;
79
+ isDefault?: boolean;
80
+ shared?: boolean;
81
+ };
82
+ export type GetDashboardResponse = {
83
+ dashboard: TDashboard;
84
+ initialReportContext: ReportRuntimeContext;
85
+ lenses: TLens[];
86
+ filterValues?: TFilterValue[] | null;
87
+ inputValues?: LensInputValuesSnapshot | null;
88
+ defaultLensId?: string;
89
+ assistantProfileId?: string;
90
+ semanticExecutionPayload: SemanticExecutionPayload;
91
+ organizationAppearance?: import('../appearance/types.js').AppearanceSpec | null;
92
+ };
93
+ export type PluginType = 'custom' | 'standard';
94
+ export type GetPluginsResponse = {
95
+ plugins: {
96
+ label: string;
97
+ value: string;
98
+ type: PluginType;
99
+ }[];
100
+ };
101
+ export type KPICardProps = {
102
+ card: TCard;
103
+ isLoading?: boolean;
104
+ renderFilterInfo?: () => JSX.Element | null;
105
+ };
106
+ export type ExportDataPayload = {
107
+ cardId: string;
108
+ title: string;
109
+ data: Record<string, any>[];
110
+ sql: string;
111
+ };
112
+ export type DashboardEventHandlers = {
113
+ onExportData?: (payload: ExportDataPayload) => void;
114
+ };
115
+ export type Placeholders = {
116
+ /**
117
+ * Placeholder for the card when there are no records to display.
118
+ */
119
+ NoRecords?: React.ReactNode;
120
+ /**
121
+ * Placeholder for session expired. This is shown when the session has expired.
122
+ */
123
+ SessionExpired?: React.ReactNode;
124
+ };
125
+ /**
126
+ * Display mode for visual components - controls which UI elements are shown
127
+ */
128
+ export type VisualDisplayMode = 'full' | 'print' | 'table-print';
129
+ /**
130
+ * Display preferences for controlling visual component rendering
131
+ */
132
+ export type VisualDisplayPreferences = {
133
+ /**
134
+ * Predefined display mode
135
+ * - 'full': All UI elements (default)
136
+ * - 'print': Optimized for printing (shows title and description, hides interactive elements)
137
+ * - 'table-print': Table-specific print mode (title only, no pagination/toolbar)
138
+ */
139
+ mode?: VisualDisplayMode;
140
+ /**
141
+ * Override specific UI elements visibility
142
+ * These overrides take precedence over the mode presets
143
+ */
144
+ overrides?: {
145
+ showHeader?: boolean;
146
+ showTitle?: boolean;
147
+ showDescription?: boolean;
148
+ showTabs?: boolean;
149
+ showFooter?: boolean;
150
+ showFilters?: boolean;
151
+ showBreadcrumbs?: boolean;
152
+ showRefreshIndicator?: boolean;
153
+ showFilterInfo?: boolean;
154
+ showPagination?: boolean;
155
+ showTableToolbar?: boolean;
156
+ showColumnSettings?: boolean;
157
+ };
158
+ };
159
+ /**
160
+ * Filter layout settings for controlling how dashboard filters are displayed
161
+ */
162
+ export type FilterLayoutSettings = {
163
+ /**
164
+ * Display mode for filters
165
+ * - 'canvas': Filters displayed as draggable/resizable cards on the dashboard canvas (default)
166
+ * - 'toolbar': Filters displayed in a compact horizontal toolbar below dashboard controls
167
+ */
168
+ displayMode?: 'canvas' | 'toolbar';
169
+ /**
170
+ * Whether the toolbar should wrap filters to multiple lines
171
+ * - false: Horizontal scroll when filters overflow (default)
172
+ * - true: Wrap to multiple lines
173
+ */
174
+ toolbarWrap?: boolean;
175
+ /**
176
+ * Whether to show a download button in the filter toolbar
177
+ * Useful when embedding Dashboard component without Surfboard's controls
178
+ */
179
+ showDownloadButton?: boolean;
180
+ /**
181
+ * Mixed toolbar item order for dashboard-level filter and control chips.
182
+ * Values use prefixed ids like `filter:<id>` and `control:<id>`.
183
+ */
184
+ toolbarItemOrder?: string[];
185
+ };
186
+ /**
187
+ * Unified dashboard preferences for both card display and UI modes
188
+ */
189
+ export type DashboardPreferences = {
190
+ /**
191
+ * Visual display preferences for cards
192
+ * Controls how card content is rendered (headers, footers, etc.)
193
+ */
194
+ cardDisplay?: VisualDisplayPreferences;
195
+ /**
196
+ * UI modes for developer and debug features
197
+ * Controls what developer tools and debug panels are available
198
+ */
199
+ uiMode?: {
200
+ /**
201
+ * Enable developer mode
202
+ * Shows additional controls and debug information
203
+ */
204
+ developer?: boolean;
205
+ /**
206
+ * Enable console mode
207
+ * Shows console panel for debugging
208
+ */
209
+ console?: boolean;
210
+ /**
211
+ * Offer non-persistent inspection when the current actor cannot edit.
212
+ * This is not an authorization grant.
213
+ */
214
+ inspection?: boolean;
215
+ };
216
+ };
217
+ export type DashboardProps = {
218
+ id?: string;
219
+ /**
220
+ * Auth token for the dashboard. Auth token grants access to the dashboard.
221
+ */
222
+ authToken: AuthToken | undefined;
223
+ /**
224
+ * Default filter values for the dashboard. The dashboard will be filtered by these values when the user loads the dashboard.
225
+ */
226
+ defaultFilterValues?: TFilterValue[];
227
+ /**
228
+ * Default runtime control values for the dashboard. Used by print/render flows
229
+ * and other external entry points that need deterministic control state.
230
+ */
231
+ defaultControlValues?: Record<string, unknown>;
232
+ /**
233
+ * Optional control contract override used by print/replay entry points that
234
+ * need to execute against a saved card/dashboard control contract snapshot.
235
+ */
236
+ controlContractOverrides?: {
237
+ controlDefinitions?: ControlDefinition[];
238
+ cardControlDefinitions?: ControlDefinition[];
239
+ controlBindings?: ControlBinding[];
240
+ };
241
+ /**
242
+ * Document-local runtime values for print/render entry points. Values are
243
+ * keyed by document input id and are intentionally separate from dashboard
244
+ * filters/controls.
245
+ *
246
+ * @deprecated Use dashboardInputExecutionSnapshot for document print/export
247
+ * entry points backed by DashboardInput.
248
+ */
249
+ documentInputValues?: DocumentInputRuntimeValues;
250
+ /**
251
+ * Authoritative dashboard input runtime snapshot for print/render entry
252
+ * points. Document print/export should use this for DashboardInput-backed
253
+ * inputs instead of documentInputValues.
254
+ */
255
+ dashboardInputExecutionSnapshot?: DashboardInputExecutionSnapshot;
256
+ /**
257
+ * Runtime interaction state captured for deterministic print/replay entry
258
+ * points. Ordinary dashboard consumers should leave this unset.
259
+ */
260
+ interactionExecutionSnapshot?: Record<string, InteractionState>;
261
+ /** Server-resolved immutable presentation snapshot for internal print views. */
262
+ presentationExecutionSnapshot?: PresentationExecutionSnapshot;
263
+ /**
264
+ * Render target for print entry points. Generic dashboard PDF exports also
265
+ * use cardDisplay.mode="print"; document-specific print handling must only
266
+ * run when this is explicitly "document".
267
+ */
268
+ renderMode?: 'dashboard' | 'document';
269
+ customStyle?: TStyle;
270
+ appearance?: import('../appearance/types.js').AppearanceSpec;
271
+ currentTheme?: Theme;
272
+ version?: string;
273
+ showAssistant?: boolean;
274
+ showBriefings?: boolean;
275
+ customCards?: CustomCard[];
276
+ onChartElementClicked?: (card: TCard, fieldValues: any) => void;
277
+ onEvent?: (event: TEvent) => void;
278
+ /** Receives dashboard editing lifecycle transitions from the shared runtime. */
279
+ onDashboardLifecycleEvent?: (event: DashboardLifecycleEvent) => void;
280
+ onSave?: (dashboard: TDashboard) => void;
281
+ onFilterValuesChange?: (filterValues: TFilterValue[]) => void;
282
+ LoadingComponent?: (props: LoadingProps) => React.ReactNode;
283
+ ErrorComponent?: (props: ErrorProps) => React.ReactNode;
284
+ eventHandlers?: DashboardEventHandlers;
285
+ /**
286
+ * Placeholders for the dashboard.
287
+ */
288
+ placeholders?: Placeholders;
289
+ /**
290
+ * The id of the sheet to be selected when the dashboard is loaded.
291
+ */
292
+ selectedSheetId?: string;
293
+ /**
294
+ * Unified preferences for dashboard configuration
295
+ * Includes both card display preferences and UI mode settings
296
+ */
297
+ preferences?: DashboardPreferences;
298
+ };
299
+ export type DocumentInputRuntimeValues = {
300
+ sheetId?: string;
301
+ filterValuesByInputId?: Record<string, TFilterValue | undefined>;
302
+ controlValuesByInputId?: Record<string, unknown>;
303
+ generatedAt?: string;
304
+ };
305
+ export type AuthToken = {
306
+ accessToken: string;
307
+ refreshToken?: string;
308
+ };
309
+ export type Breakpoint = 'lg' | 'md' | 'sm' | 'xs' | 'xxs';
310
+ type FilterOnClick = {
311
+ expression?: string;
312
+ columnIndex: number;
313
+ };
314
+ type StringOptions = {
315
+ maxLength?: number;
316
+ };
317
+ type NoneOptions = {};
318
+ export type NumberOptions = {
319
+ locale: string;
320
+ currency?: string;
321
+ options: Intl.NumberFormatOptions;
322
+ colorRanges?: ColorRange[];
323
+ };
324
+ export type DateOptions = {
325
+ locale: string;
326
+ format: string;
327
+ options: Intl.DateTimeFormatOptions;
328
+ };
329
+ export type HtmlOptions = {
330
+ html: string;
331
+ };
332
+ export type DisplayDataType = 'string' | 'date' | 'number' | 'html' | 'none';
333
+ type OptionsMap = {
334
+ number: NumberOptions;
335
+ string: StringOptions;
336
+ date: DateOptions;
337
+ html: HtmlOptions;
338
+ none: NoneOptions;
339
+ };
340
+ export type TColumnSetting<T extends DisplayDataType> = {
341
+ columnIdx: number;
342
+ textAlign?: 'left' | 'center' | 'right';
343
+ width?: number;
344
+ type: T;
345
+ options: OptionsMap[T];
346
+ };
347
+ /** Point style options supported by Chart.js */
348
+ export type TPointStyle = 'circle' | 'cross' | 'crossRot' | 'dash' | 'line' | 'rect' | 'rectRounded' | 'rectRot' | 'star' | 'triangle';
349
+ /** Line dash style options */
350
+ export type TLineStyle = 'solid' | 'dashed' | 'dotted' | 'dash-dot';
351
+ export type TDatasetOptions = {
352
+ idx: number;
353
+ type?: 'bar' | 'line';
354
+ fill?: string | number;
355
+ /** Y-axis assignment for combo charts: 'y' (primary/left) or 'y2' (secondary/right) */
356
+ yAxisId?: 'y' | 'y2';
357
+ /** Per-series data labels configuration - uses full TDataLabelsConfig for feature parity */
358
+ dataLabels?: TDataLabelsConfig;
359
+ /** Point radius (size) for line/area charts - 0 hides points */
360
+ pointRadius?: number;
361
+ /** Point shape style for line/area charts */
362
+ pointStyle?: TPointStyle;
363
+ /** Point radius on hover - defaults to pointRadius + 2 */
364
+ pointHoverRadius?: number;
365
+ /** Line dash style for line/area charts */
366
+ lineStyle?: TLineStyle;
367
+ /** Border radius (rounded corners) for bar charts - 0-20 pixels */
368
+ borderRadius?: number;
369
+ /** Border width for bar charts - 0-5 pixels */
370
+ barBorderWidth?: number;
371
+ /** Bar width as percentage of category width (0.1-1.0) */
372
+ barPercentage?: number;
373
+ /** Category width as percentage of available space (0.1-1.0) */
374
+ categoryPercentage?: number;
375
+ /** @deprecated Use dataLabels instead */
376
+ datalabels?: {
377
+ display?: boolean;
378
+ align?: string;
379
+ anchor?: string;
380
+ clamp?: boolean;
381
+ color?: string;
382
+ };
383
+ };
384
+ /** Global bar style configuration */
385
+ export type TBarStyleConfig = {
386
+ /** Default border radius for all bars - 0-20 pixels */
387
+ borderRadius?: number;
388
+ /** Default border width for all bars - 0-5 pixels */
389
+ borderWidth?: number;
390
+ /** Default bar width as percentage of category width (0.1-1.0) */
391
+ barPercentage?: number;
392
+ /** Default category width as percentage of available space (0.1-1.0) */
393
+ categoryPercentage?: number;
394
+ };
395
+ export type TLegendOptions = {
396
+ display?: boolean;
397
+ position?: 'top' | 'left' | 'bottom' | 'right';
398
+ align?: 'start' | 'center' | 'end';
399
+ labels?: {
400
+ generateLabels?: (chart: any) => any[];
401
+ [key: string]: any;
402
+ };
403
+ };
404
+ export type TFormatOptions = {
405
+ type?: 'auto' | 'number' | 'currency' | 'percent' | 'scientific' | 'date' | 'duration';
406
+ decimalPlaces?: number;
407
+ minimumFractionDigits?: number;
408
+ maximumFractionDigits?: number;
409
+ currency?: string;
410
+ locale?: string;
411
+ prefix?: string;
412
+ suffix?: string;
413
+ useSuffix?: boolean;
414
+ useGrouping?: boolean;
415
+ negativeInParentheses?: boolean;
416
+ multiplyBy?: number;
417
+ percentValueMode?: 'fraction' | 'whole';
418
+ dateFormat?: string;
419
+ timezone?: string;
420
+ sourceTimezone?: string;
421
+ relative?: boolean;
422
+ durationInputUnit?: 'millisecond' | 'second' | 'minute' | 'hour' | 'day';
423
+ durationDisplayStyle?: 'compact' | 'digital' | 'long';
424
+ durationLargestUnit?: 'millisecond' | 'second' | 'minute' | 'hour' | 'day';
425
+ durationSmallestUnit?: 'millisecond' | 'second' | 'minute' | 'hour' | 'day';
426
+ durationMaxUnits?: number;
427
+ };
428
+ export type TTooltipFormatConfig = {
429
+ formatMode?: 'inherit' | 'override';
430
+ /** @deprecated Use formatMode */
431
+ mode?: 'inherit' | 'override';
432
+ formatOptions?: TFormatOptions;
433
+ };
434
+ export type TBulletRangeLabels = 'poor' | 'satisfactory' | 'good';
435
+ export type TBulletRangeKeys = Partial<Record<TBulletRangeLabels, string>>;
436
+ export type TBulletRangeValues = Partial<Record<TBulletRangeLabels, number>>;
437
+ export type TBulletRangeLabelOverrides = Partial<Record<TBulletRangeLabels, string>>;
438
+ export type THeatmapConfig = {
439
+ colorMode?: 'continuous' | 'stepped';
440
+ steps?: number;
441
+ colorRange?: [string, string];
442
+ colorPalette?: 'blue' | 'green' | 'purple' | 'orange' | 'custom';
443
+ showLegend?: boolean;
444
+ legendPosition?: 'top' | 'bottom' | 'left' | 'right';
445
+ showDataLabels?: boolean;
446
+ nullFillColor?: string;
447
+ fillMissingCells?: boolean;
448
+ xAxisBuckets?: string[];
449
+ yAxisBuckets?: string[];
450
+ };
451
+ /**
452
+ * Tooltip/data label percentage calculation mode for funnel charts.
453
+ * - 'percentOfTotal': Percentage relative to sum of all values (default)
454
+ * - 'percentOfFirst': Percentage relative to the first stage value (first stage = 100%)
455
+ */
456
+ export type TFunnelPercentMode = 'percentOfTotal' | 'percentOfFirst';
457
+ export type TFunnelConfig = {
458
+ /**
459
+ * How to calculate percentage in tooltips and data labels.
460
+ * - 'percentOfTotal': Each stage shows % of total sum (default/current behavior)
461
+ * - 'percentOfFirst': First stage = 100%, others relative to first
462
+ */
463
+ percentMode?: TFunnelPercentMode;
464
+ /**
465
+ * Controls how much funnel segments narrow based on their values.
466
+ * - 0: No shrink (all segments same width)
467
+ * - 1: Full shrink (segments narrow proportionally to values, default)
468
+ * Lower values prevent segments from becoming too narrow for labels.
469
+ */
470
+ shrinkFraction?: number;
471
+ /**
472
+ * Hide labels for segments smaller than this percentage of total.
473
+ * - 0: Show all labels (default)
474
+ * - 10: Hide labels for segments < 10% of total
475
+ * Range: 0-25
476
+ */
477
+ labelThreshold?: number;
478
+ };
479
+ export type TBulletConfig = {
480
+ /**
481
+ * Orientation of the bullet chart. Defaults to horizontal.
482
+ */
483
+ orientation?: 'horizontal' | 'vertical';
484
+ /**
485
+ * Explicit metric key to use for target markers. Falls back to the next metric column.
486
+ */
487
+ targetMetricKey?: string;
488
+ /**
489
+ * Optional comparative metric (e.g., previous period).
490
+ */
491
+ comparativeMetricKey?: string;
492
+ /**
493
+ * When true, disables automatic comparative assignment even if a metric exists.
494
+ */
495
+ disableAutoComparative?: boolean;
496
+ /**
497
+ * Mapping of qualitative range names to column keys.
498
+ */
499
+ rangeKeys?: TBulletRangeKeys;
500
+ /**
501
+ * Static range values if columns are not provided.
502
+ */
503
+ ranges?: TBulletRangeValues;
504
+ /**
505
+ * Global target value if a column is not provided.
506
+ */
507
+ targetValue?: number;
508
+ /**
509
+ * Show numeric labels on the actual bar. Default true.
510
+ */
511
+ showValueLabels?: boolean;
512
+ /**
513
+ * Treat provided range values as percentages (0-1) when true.
514
+ */
515
+ rangesArePercentages?: boolean;
516
+ /**
517
+ * Whether qualitative ranges should be rendered.
518
+ */
519
+ showRanges?: boolean;
520
+ /**
521
+ * Display labels for qualitative ranges.
522
+ */
523
+ rangeLabels?: TBulletRangeLabelOverrides;
524
+ };
525
+ export type TBubbleScatterConfig = {
526
+ /**
527
+ * Explicit key for X-axis metric. Falls back to auto-detection.
528
+ */
529
+ xMetricKey?: string;
530
+ /**
531
+ * Explicit key for Y-axis metric. Falls back to auto-detection.
532
+ */
533
+ yMetricKey?: string;
534
+ /**
535
+ * Explicit key for radius metric (bubble only). Falls back to auto-detection.
536
+ */
537
+ radiusMetricKey?: string;
538
+ /**
539
+ * Key for point labels (first dimension).
540
+ */
541
+ labelKey?: string;
542
+ /**
543
+ * Whether to group points into series. Defaults to auto-detect in card config mode.
544
+ */
545
+ enableGrouping?: boolean;
546
+ /**
547
+ * Key for series grouping. Can be any data type (string, number, date).
548
+ */
549
+ groupKey?: string;
550
+ /**
551
+ * Scaling mode for bubble radius.
552
+ */
553
+ radiusScale?: 'linear' | 'sqrt' | 'fixed';
554
+ /**
555
+ * Fixed radius value when radiusScale is 'fixed' or for scatter charts.
556
+ */
557
+ fixedRadius?: number;
558
+ /**
559
+ * Minimum radius for bubble scaling.
560
+ */
561
+ minRadius?: number;
562
+ /**
563
+ * Maximum radius for bubble scaling.
564
+ */
565
+ maxRadius?: number;
566
+ };
567
+ export type TDataLabelsConfig = {
568
+ enabled?: boolean;
569
+ position?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'auto' | 'custom';
570
+ anchor?: 'center' | 'start' | 'end';
571
+ align?: 'center' | 'start' | 'end' | 'top' | 'bottom' | number;
572
+ display?: 'auto' | boolean;
573
+ formatMode?: 'inherit' | 'override';
574
+ /** @deprecated Use formatMode + formatOptions.type */
575
+ format?: 'auto' | 'number' | 'currency' | 'percent' | 'date' | 'scientific' | 'duration' | 'none';
576
+ formatOptions?: TFormatOptions;
577
+ font?: {
578
+ size?: number;
579
+ weight?: 'normal' | 'bold';
580
+ };
581
+ color?: 'auto' | string;
582
+ clamp?: boolean;
583
+ clip?: boolean;
584
+ rotation?: number;
585
+ showTotal?: boolean;
586
+ offset?: number;
587
+ };
588
+ export type TChartOptions = {
589
+ type?: TChartType;
590
+ scales?: {
591
+ y?: {
592
+ type?: 'linear' | 'logarithmic';
593
+ min?: number;
594
+ max?: number;
595
+ ticks?: {
596
+ stepSize?: number;
597
+ };
598
+ grid?: {
599
+ display?: boolean;
600
+ };
601
+ };
602
+ x?: {
603
+ type?: 'linear' | 'logarithmic';
604
+ min?: number;
605
+ max?: number;
606
+ ticks?: {
607
+ stepSize?: number;
608
+ };
609
+ grid?: {
610
+ display?: boolean;
611
+ };
612
+ };
613
+ };
614
+ indexAxis?: 'x' | 'y' | undefined;
615
+ plugins?: {
616
+ legend?: TLegendOptions;
617
+ datalabels?: {
618
+ anchor?: string;
619
+ };
620
+ };
621
+ treemapColorMode?: 'branch' | 'category';
622
+ };
623
+ export type NumberAxisFormat = {
624
+ decimalPlaces?: number;
625
+ minimumFractionDigits?: number;
626
+ maximumFractionDigits?: number;
627
+ suffix?: string;
628
+ currency?: string;
629
+ locale?: string;
630
+ useGrouping?: boolean;
631
+ percentValueMode?: 'fraction' | 'whole';
632
+ };
633
+ export type ColorRange = {
634
+ start: number;
635
+ end: number;
636
+ color: string;
637
+ };
638
+ export type ColorConfig = {
639
+ segments: Record<string, string>;
640
+ };
641
+ export type AxisConfig = {
642
+ enabled?: boolean;
643
+ name?: {
644
+ enabled: boolean;
645
+ text?: string;
646
+ /** Font size for the axis title */
647
+ fontSize?: number;
648
+ /** Font weight for the axis title */
649
+ fontWeight?: 'normal' | 'bold';
650
+ };
651
+ position?: 'auto' | 'top' | 'bottom' | 'left' | 'right';
652
+ labels?: {
653
+ enabled: boolean;
654
+ rotation?: 'auto' | 0 | 45 | 90 | -45 | -90;
655
+ };
656
+ formatMode?: 'inherit' | 'override';
657
+ formatOptions?: TFormatOptions;
658
+ scale?: {
659
+ min?: number | 'auto';
660
+ max?: number | 'auto';
661
+ stepSize?: number | 'auto';
662
+ };
663
+ };
664
+ export type TCardPreferences = {
665
+ comparisonPresentation?: ComparisonPresentationSpec;
666
+ /** Absence means eligible metrics inherit the Global Date comparison. */
667
+ inheritGlobalComparison?: false;
668
+ /** Separate two-metric KPI feature; defaults to false. */
669
+ metricPairComparisonEnabled?: boolean;
670
+ onClickFilter?: FilterOnClick[];
671
+ filterOnClick?: boolean;
672
+ filterOnClickField?: string;
673
+ filterOnClickColumnIndex?: number;
674
+ sortChart?: 'asc' | 'desc' | 'none';
675
+ formatNumber?: {
676
+ decimalPlaces?: number;
677
+ minimumFractionDigits?: number;
678
+ maximumFractionDigits?: number;
679
+ currency?: string;
680
+ locale?: string;
681
+ suffix?: string;
682
+ prefix?: string;
683
+ useGrouping?: boolean;
684
+ percentValueMode?: 'fraction' | 'whole';
685
+ enabled?: boolean | string;
686
+ colorRanges?: ColorRange[];
687
+ };
688
+ numberAxisFormat?: NumberAxisFormat;
689
+ datasetOptions?: TDatasetOptions[];
690
+ chartOptions?: TChartOptions;
691
+ columnSettings?: TColumnSetting<DisplayDataType>[];
692
+ colorConfig?: ColorConfig;
693
+ xAxisConfig?: AxisConfig;
694
+ yAxisConfig?: AxisConfig;
695
+ secondaryYAxisConfig?: AxisConfig;
696
+ tooltipConfig?: TTooltipFormatConfig;
697
+ dataLabelsConfig?: TDataLabelsConfig;
698
+ bulletConfig?: TBulletConfig;
699
+ heatmapConfig?: THeatmapConfig;
700
+ bubbleScatterConfig?: TBubbleScatterConfig;
701
+ funnelConfig?: TFunnelConfig;
702
+ /** Global line/point style defaults for line and area charts */
703
+ lineStyleConfig?: {
704
+ lineStyle?: TLineStyle;
705
+ pointRadius?: number;
706
+ pointStyle?: TPointStyle;
707
+ };
708
+ /** Global bar style defaults for bar charts */
709
+ barStyleConfig?: TBarStyleConfig;
710
+ tablePrefs?: TablePreferences;
711
+ allowDownload?: boolean;
712
+ customVisualCode?: string;
713
+ textVisualOptions?: {
714
+ isDynamicText?: boolean;
715
+ /**
716
+ * Legacy structured content with dashboard-input variable refs.
717
+ * Authored via the plain-text ContentEditableText editor. New cards
718
+ * use `richContent` instead; this stays for backward compatibility
719
+ * and is never set on a card that has `richContent`.
720
+ */
721
+ content?: DashboardInputTextContent;
722
+ /**
723
+ * Editor-agnostic rich content authored via the Lexical-based
724
+ * editor. When this is present, the card renders via the rich-
725
+ * content path on both the dashboard surface and inside the visual
726
+ * editor. When absent (and `description` is set), the card falls
727
+ * back to the legacy HTML-string render path.
728
+ */
729
+ richContent?: TextCardRichContent;
730
+ };
731
+ mapVisualOptions?: {
732
+ topoJsonUrl?: string;
733
+ objectKey?: string;
734
+ outlineKey?: string;
735
+ customTopoJsonUrl?: string;
736
+ projection?: string;
737
+ projectionScale?: number;
738
+ projectionOffset?: [number, number];
739
+ colorScale?: string;
740
+ };
741
+ kpiVisualOptions?: {
742
+ countryLogoId?: string;
743
+ valueAlignment?: 'left' | 'center';
744
+ formatOptions?: TFormatOptions;
745
+ /**
746
+ * Presentation-only polarity for a query-backed KPI's manually returned
747
+ * current/prior value pair. Governed KPIs use per-metric polarity instead.
748
+ */
749
+ queryComparisonPolarity?: MetricComparisonPolarity;
750
+ };
751
+ pivotTableOptions?: {
752
+ showRowTotals?: boolean;
753
+ showColumnTotals?: boolean;
754
+ showGrandTotal?: boolean;
755
+ sortRowsBy?: 'label' | 'total' | 'metric';
756
+ sortColumnsBy?: 'label' | 'total' | 'metric';
757
+ };
758
+ displayOptions?: {
759
+ showFilterInfo?: boolean;
760
+ showCardToolbar?: boolean;
761
+ showChrome?: boolean;
762
+ allowScroll?: boolean;
763
+ showInlineFilterBar?: boolean;
764
+ };
765
+ };
766
+ export type TCustomCardPreferences = {
767
+ showCardHeader?: boolean;
768
+ url?: string;
769
+ componentName?: string;
770
+ icon?: string;
771
+ pluginChartType?: string;
772
+ type?: 'iframe' | 'component';
773
+ visualType?: 'single' | 'multiple';
774
+ minInputs?: number;
775
+ maxInputs?: number;
776
+ slotIndex?: number;
777
+ settings?: any;
778
+ slotSettings?: any;
779
+ /** @deprecated Use position-based data collection. Kept for legacy dashboard support. */
780
+ dataInputCardIds?: {
781
+ [key: number]: {
782
+ cardId: string;
783
+ };
784
+ };
785
+ };
786
+ export type TVisualizationMode = 'builtin' | 'dynamic';
787
+ export type TDynamicVisualIntent = {
788
+ primaryChartType?: TChartType | 'custom';
789
+ layout: 'chart-only' | 'composite';
790
+ includesKpis: boolean;
791
+ };
792
+ export type TDynamicVisualFallback = {
793
+ mode: 'chart' | 'table';
794
+ chartType?: TChartType;
795
+ reason: string;
796
+ };
797
+ export type TDynamicCardPreferences = {
798
+ renderer: 'dynamic-visual';
799
+ artifactId?: string;
800
+ parentArtifactId?: string;
801
+ title?: string;
802
+ rendererCode?: string;
803
+ question?: string;
804
+ provenance?: 'card-config' | 'query_spec' | 'sql' | 'sql+python';
805
+ visualIntent?: TDynamicVisualIntent;
806
+ assistantNote?: string;
807
+ builtinDisplayOptions?: {
808
+ showChrome?: boolean;
809
+ allowScroll?: boolean;
810
+ };
811
+ fallback: TDynamicVisualFallback;
812
+ error?: {
813
+ stage: string;
814
+ message: string;
815
+ details?: string[];
816
+ };
817
+ };
818
+ /**
819
+ * Inline filter definition stored on a card.
820
+ * Inline filters appear on the right-hand side of the card header,
821
+ * allowing ad-hoc data exploration without affecting other cards.
822
+ */
823
+ export type TInlineFilter = {
824
+ id: string;
825
+ /** Alias exposed to document/text variables, for example {{region}}. */
826
+ variableName?: string;
827
+ column: string;
828
+ title: string;
829
+ dataType: string;
830
+ /** Exact database type retained when dataType is a normalized UI category. */
831
+ nativeDataType?: string;
832
+ table: string;
833
+ database: string;
834
+ qualifiedTableName?: string;
835
+ connectionId: string;
836
+ operation: Operation;
837
+ sql: string;
838
+ fieldMeta?: FilterFieldMeta;
839
+ semanticContext?: FilterSemanticContext;
840
+ /** Selection type: 'single' allows one value, 'multiple' allows many */
841
+ type?: 'single' | 'multiple';
842
+ /** UI component for single-select filters */
843
+ uiType?: 'radio' | 'dropdown' | 'tabs';
844
+ /** Date picker type: 'range' for full calendar, 'months' for month picker, 'day' for single-day picker */
845
+ dateSelectionMode?: DateSelectionMode;
846
+ /** Default values applied when the dashboard first loads */
847
+ defaultValues?: (string | number | boolean)[];
848
+ /** Default date filter applied on dashboard load (relative, fixed month/year, or fixed day) */
849
+ defaultDateFilter?: DefaultDateFilter;
850
+ /** Search mode for numeric filters: 'text' treats as text, 'numeric' enables operators (>, <, =) */
851
+ searchMode?: 'text' | 'numeric' | 'auto';
852
+ /** Custom filter UI from a plugin */
853
+ customFilterPreferences?: TCustomFilterPreferences;
854
+ /** Width of the inline filter in pixels (default: 250) */
855
+ width?: number;
856
+ /** Whether to show the label above the filter (default: true) */
857
+ showLabel?: boolean;
858
+ };
859
+ export type ControlScope = 'dashboard' | 'card';
860
+ export type ControlType = 'enum' | 'multi_enum' | 'text' | 'number' | 'boolean' | 'date' | 'field_selector' | 'metric_selector' | 'aggregation_selector' | 'grain_selector';
861
+ export type ControlInitialValueStrategy = 'saved_default' | 'builtin' | 'embed_required' | 'schedule_snapshot';
862
+ export type ControlOption = {
863
+ value: string;
864
+ label: string;
865
+ presentation?: {
866
+ granularity?: TimeGranularity;
867
+ format?: TemporalBucketFormat;
868
+ /** Saved-dashboard compatibility only. New authoring writes `format`. */
869
+ dateFormat?: DateFormatValue;
870
+ /** Saved-dashboard compatibility only. New authoring writes `format`. */
871
+ customFormat?: string;
872
+ };
873
+ };
874
+ export declare const CONTROL_CARD_DEFAULT_VALUE: "__card_default__";
875
+ export type SqlQueryControlSource = {
876
+ kind: 'sql_query';
877
+ connectionId: string;
878
+ sql: string;
879
+ valueColumn: string;
880
+ labelColumn?: string;
881
+ };
882
+ export type ControlSource = {
883
+ kind: 'manual';
884
+ options: ControlOption[];
885
+ } | {
886
+ kind: 'dataset_values';
887
+ fieldId: string;
888
+ connectionId?: string;
889
+ } | {
890
+ kind: 'field_allowlist';
891
+ fieldIds: string[];
892
+ } | {
893
+ kind: 'metric_allowlist';
894
+ metricIds: string[];
895
+ } | SqlQueryControlSource;
896
+ export type ControlDefinition = {
897
+ id: string;
898
+ label: string;
899
+ scope: ControlScope;
900
+ type: ControlType;
901
+ source: ControlSource;
902
+ initialValueStrategy: ControlInitialValueStrategy;
903
+ defaultValue?: unknown;
904
+ requiredAtExecution: boolean;
905
+ hidden?: boolean;
906
+ locked?: boolean;
907
+ helpText?: string;
908
+ placement?: 'toolbar' | 'card_header' | 'advanced';
909
+ showLabel?: boolean;
910
+ toolbarWidth?: number;
911
+ };
912
+ /** Matrix-only mapping to an existing authored level or aggregate measure. */
913
+ export type MatrixSelectorTarget = {
914
+ kind: 'matrix_instance';
915
+ id: string;
916
+ };
917
+ export type StructuralFieldSelectorTarget = GroupByField | MatrixSelectorTarget;
918
+ export type StructuralMetricSelectorTarget = MetricField | MatrixSelectorTarget;
919
+ export type CurrencyPresentationTarget = {
920
+ kind: 'metric';
921
+ metricId: string;
922
+ } | {
923
+ kind: 'column';
924
+ columnKey: string;
925
+ } | {
926
+ kind: 'matrix_measure';
927
+ measureId: string;
928
+ };
929
+ export type CurrencyPresentationBinding = {
930
+ controlId: string;
931
+ target: 'presentation_currency';
932
+ presentationTarget: CurrencyPresentationTarget;
933
+ };
934
+ export type ControlBinding = {
935
+ controlId: string;
936
+ target: 'sql_param';
937
+ paramId: string;
938
+ } | {
939
+ controlId: string;
940
+ target: 'config_metric_selector';
941
+ matrixTargetId?: string;
942
+ mapping: Record<string, StructuralMetricSelectorTarget>;
943
+ } | {
944
+ controlId: string;
945
+ target: 'config_field_selector';
946
+ matrixTargetId?: string;
947
+ mapping: Record<string, StructuralFieldSelectorTarget>;
948
+ } | {
949
+ controlId: string;
950
+ target: 'config_aggregation';
951
+ matrixTargetId?: string;
952
+ mapping: Record<string, string>;
953
+ } | {
954
+ controlId: string;
955
+ target: 'config_grain';
956
+ matrixTargetId?: string;
957
+ mapping: Record<string, string>;
958
+ } | CurrencyPresentationBinding;
959
+ export type DashboardInput = FilterDashboardInput | ControlDashboardInput;
960
+ export type DashboardInputScope = {
961
+ kind: 'allSheets';
962
+ sheetKinds?: Array<'dashboard' | 'document'>;
963
+ } | {
964
+ kind: 'sheets';
965
+ sheetIds: string[];
966
+ } | {
967
+ kind: 'cards';
968
+ cardIds: string[];
969
+ } | {
970
+ kind: 'documentSections';
971
+ sheetId: string;
972
+ sectionIds: string[];
973
+ };
974
+ export type DashboardInputRuntimeScope = 'shared' | 'perSheet' | 'perCard' | 'perDocumentSection';
975
+ export type DashboardInputPresentation = {
976
+ placement?: 'toolbar' | 'card_header' | 'advanced' | 'hidden';
977
+ widthPx?: number;
978
+ order?: number;
979
+ };
980
+ export type DashboardInputExportKey = 'label' | 'value' | 'start' | 'end' | 'range';
981
+ export type DashboardInputCompatibilityMetadata = {
982
+ source: 'dashboardFilter';
983
+ filterId: string;
984
+ } | {
985
+ source: 'dashboardControl';
986
+ controlId: string;
987
+ } | {
988
+ source: 'cardInlineFilter';
989
+ cardId: string;
990
+ filterId: string;
991
+ } | {
992
+ source: 'cardControl';
993
+ cardId: string;
994
+ controlId: string;
995
+ } | {
996
+ source: 'documentInput';
997
+ sheetId: string;
998
+ inputId: string;
999
+ };
1000
+ export type DashboardInputBase = {
1001
+ id: string;
1002
+ label: string;
1003
+ variableName: string;
1004
+ description?: string;
1005
+ requiredAtExecution?: boolean;
1006
+ scope: DashboardInputScope;
1007
+ runtimeScope: DashboardInputRuntimeScope;
1008
+ presentation?: DashboardInputPresentation;
1009
+ exports?: DashboardInputExportKey[];
1010
+ compatibility?: DashboardInputCompatibilityMetadata;
1011
+ };
1012
+ /** Filter-only lifecycle policy, independent of requiredAtExecution. */
1013
+ type FilterDashboardInputBase = DashboardInputBase & {
1014
+ /** Empty selections restore the authored default; viewers may replace it. */
1015
+ forceSelection?: boolean;
1016
+ };
1017
+ export type EmbeddedFilterDashboardInput = FilterDashboardInputBase & {
1018
+ kind: 'filter';
1019
+ filter: TFilter;
1020
+ filterReference?: never;
1021
+ optionSource?: DashboardFilterOptionSource;
1022
+ optionDependencies?: DashboardFilterOptionDependencies;
1023
+ optionPopulation?: DashboardFilterOptionPopulation;
1024
+ application?: DashboardFilterApplication;
1025
+ };
1026
+ export type ReferencedFilterDashboardInput = FilterDashboardInputBase & {
1027
+ kind: 'filter';
1028
+ filter?: never;
1029
+ filterReference: {
1030
+ kind: 'dashboardFilter';
1031
+ filterId: string;
1032
+ };
1033
+ optionSource?: DashboardFilterOptionSource;
1034
+ optionDependencies?: DashboardFilterOptionDependencies;
1035
+ optionPopulation?: DashboardFilterOptionPopulation;
1036
+ application?: DashboardFilterApplication;
1037
+ };
1038
+ export type FilterDashboardInput = EmbeddedFilterDashboardInput | ReferencedFilterDashboardInput;
1039
+ /** Runtime form after dashboard-filter references are resolved once. */
1040
+ export type NormalizedFilterDashboardInput = FilterDashboardInputBase & {
1041
+ kind: 'filter';
1042
+ filter: TFilter;
1043
+ optionSource?: DashboardFilterOptionSource;
1044
+ optionDependencies?: DashboardFilterOptionDependencies;
1045
+ optionPopulation?: DashboardFilterOptionPopulation;
1046
+ application?: DashboardFilterApplication;
1047
+ definitionOrigin: 'embedded' | 'dashboardFilter';
1048
+ };
1049
+ export type ControlDashboardInput = DashboardInputBase & {
1050
+ kind: 'control';
1051
+ control: ControlDefinition;
1052
+ };
1053
+ export type NormalizedDashboardInput = NormalizedFilterDashboardInput | ControlDashboardInput;
1054
+ export type DashboardInputValue = {
1055
+ kind: 'filter';
1056
+ filterValue: TFilterValue;
1057
+ } | {
1058
+ kind: 'control';
1059
+ value: unknown;
1060
+ };
1061
+ export type DashboardInputSlot = {
1062
+ status: 'set';
1063
+ value: DashboardInputValue;
1064
+ comparisonSelection?: GlobalDateComparisonSelection;
1065
+ } | {
1066
+ status: 'cleared';
1067
+ comparisonSelection?: GlobalDateComparisonSelection;
1068
+ } | {
1069
+ status?: never;
1070
+ value?: never;
1071
+ comparisonSelection: GlobalDateComparisonSelection;
1072
+ };
1073
+ export type DashboardInputValues = {
1074
+ shared?: Record<string, DashboardInputSlot>;
1075
+ bySheetId?: Record<string, Record<string, DashboardInputSlot>>;
1076
+ byCardId?: Record<string, Record<string, DashboardInputSlot>>;
1077
+ byDocumentSectionId?: Record<string, Record<string, DashboardInputSlot>>;
1078
+ };
1079
+ export type ResolvedDashboardInput = {
1080
+ id: string;
1081
+ kind: 'filter' | 'control';
1082
+ label: string;
1083
+ variableName: string;
1084
+ requiredAtExecution: boolean;
1085
+ slot?: DashboardInputSlot;
1086
+ rawValue?: unknown;
1087
+ displayValue: string;
1088
+ exports: Partial<Record<DashboardInputExportKey, string | number | boolean | null>>;
1089
+ filter?: TFilter;
1090
+ filterValue?: TFilterValue;
1091
+ /** Present when a set filter slot cannot be used with its current definition. */
1092
+ invalidFilterSelection?: boolean;
1093
+ control?: ControlDefinition;
1094
+ controlValue?: unknown;
1095
+ missingRequiredValue?: boolean;
1096
+ comparisonSelection?: GlobalDateComparisonSelection;
1097
+ };
1098
+ export type ResolvedDashboardDateComparisonInput = {
1099
+ inputId: string;
1100
+ filterId: string;
1101
+ label: string;
1102
+ filter: TFilter;
1103
+ /**
1104
+ * The active value before execution-only canonicalization. Comparison
1105
+ * ownership uses this value as provenance evidence and must fail closed
1106
+ * when its filter or field identity does not match the definition.
1107
+ */
1108
+ filterValue?: TFilterValue;
1109
+ selection: GlobalDateComparisonSelection;
1110
+ };
1111
+ /**
1112
+ * A comparison input proven to be present in the card's executed filter set.
1113
+ * Ownership and UI coverage must consume this stage, never source inputs.
1114
+ */
1115
+ export type MaterializedDashboardDateComparisonInput = ResolvedDashboardDateComparisonInput & {
1116
+ effectiveFilterValue: TFilterValue;
1117
+ /** Target emitted by successful per-card mapping, before date materialization. */
1118
+ mappedFilterValue?: TFilterValue;
1119
+ };
1120
+ export type ResolvedDashboardInputContext = {
1121
+ inputs: NormalizedDashboardInput[];
1122
+ resolvedInputs: ResolvedDashboardInput[];
1123
+ activeFilters: TFilterValue[];
1124
+ controlDefinitions: ControlDefinition[];
1125
+ cardControlDefinitions: ControlDefinition[];
1126
+ controlBindings: ControlBinding[];
1127
+ controlValues: Record<string, unknown>;
1128
+ variablesByName: Record<string, ResolvedDashboardInput>;
1129
+ globalDateComparisonSelection?: GlobalDateComparisonSelection;
1130
+ dateComparisonInputs?: ResolvedDashboardDateComparisonInput[];
1131
+ variablesById: Record<string, ResolvedDashboardInput>;
1132
+ missingRequiredInputs: ResolvedDashboardInput[];
1133
+ };
1134
+ export type DashboardInputVariableRef = {
1135
+ source: 'dashboardInput';
1136
+ inputId: string;
1137
+ export: DashboardInputExportKey;
1138
+ } | {
1139
+ source: 'dashboardInputAlias';
1140
+ variableName: string;
1141
+ export?: DashboardInputExportKey;
1142
+ } | {
1143
+ source: 'documentMeta';
1144
+ key: 'generatedAt' | 'pageNumber' | 'pageCount';
1145
+ };
1146
+ export type DashboardInputTextContent = Array<{
1147
+ type: 'text';
1148
+ value: string;
1149
+ } | {
1150
+ type: 'variable';
1151
+ ref: DashboardInputVariableRef;
1152
+ }>;
1153
+ export type TextCardInlineFormat = {
1154
+ bold?: boolean;
1155
+ italic?: boolean;
1156
+ };
1157
+ export type TextCardRichInline = {
1158
+ type: 'text';
1159
+ value: string;
1160
+ format?: TextCardInlineFormat;
1161
+ } | {
1162
+ type: 'variable';
1163
+ ref: DashboardInputVariableRef;
1164
+ format?: TextCardInlineFormat;
1165
+ } | {
1166
+ type: 'link';
1167
+ url: string;
1168
+ children: Array<{
1169
+ type: 'text';
1170
+ value: string;
1171
+ format?: TextCardInlineFormat;
1172
+ } | {
1173
+ type: 'variable';
1174
+ ref: DashboardInputVariableRef;
1175
+ format?: TextCardInlineFormat;
1176
+ }>;
1177
+ };
1178
+ export type TextCardRichBlock = {
1179
+ type: 'paragraph';
1180
+ children: TextCardRichInline[];
1181
+ } | {
1182
+ type: 'heading';
1183
+ level: 1 | 2;
1184
+ children: TextCardRichInline[];
1185
+ } | {
1186
+ type: 'list';
1187
+ style: 'bulleted' | 'numbered';
1188
+ items: TextCardRichInline[][];
1189
+ };
1190
+ export type TextCardRichContent = {
1191
+ version: 1;
1192
+ blocks: TextCardRichBlock[];
1193
+ };
1194
+ export type DashboardInputExecutionSnapshot = {
1195
+ sheetId?: string;
1196
+ cardId?: string;
1197
+ mode: 'dashboard' | 'document' | 'visual';
1198
+ dashboardInputValues: DashboardInputValues;
1199
+ generatedAt?: string;
1200
+ timezone?: string;
1201
+ };
1202
+ /** Instance references applied to the latest linked library definition. */
1203
+ export type DashboardCardReferenceRemapping = {
1204
+ cardIds?: Record<string, string>;
1205
+ sheetIds?: Record<string, string>;
1206
+ inputIds?: Record<string, string>;
1207
+ controlIds?: Record<string, string>;
1208
+ filterIds?: Record<string, string>;
1209
+ inputAliases?: Record<string, DashboardInputVariableRef>;
1210
+ };
1211
+ export type TCard = {
1212
+ id: string;
1213
+ title: string;
1214
+ tabTitle?: string;
1215
+ displayTab?: boolean;
1216
+ description?: string;
1217
+ info?: string;
1218
+ connectionId?: string;
1219
+ datamodelId?: string;
1220
+ type: TChartType;
1221
+ sql?: string;
1222
+ python?: string;
1223
+ dataSource?: DataSource;
1224
+ config?: CardConfig;
1225
+ interactionConfig?: CardInteractionConfig;
1226
+ linkedSourceCardId?: string;
1227
+ linkedReferenceOverrides?: DashboardCardReferenceRemapping;
1228
+ linkedInteractionTargetOverrides?: Record<string, InteractionTargetOverride>;
1229
+ paginationConfig?: PaginationConfig;
1230
+ queryConfig?: QueryConfig;
1231
+ customCfg?: any;
1232
+ preferences?: TCardPreferences;
1233
+ customCardPreferences?: TCustomCardPreferences;
1234
+ visualizationMode?: TVisualizationMode;
1235
+ dynamicCardPreferences?: TDynamicCardPreferences;
1236
+ lastSelectedDatabase?: string;
1237
+ lastSelectedDatamodelId?: string;
1238
+ lastSelectedSchema?: string;
1239
+ lastSelectedTable?: string;
1240
+ refreshInterval?: string;
1241
+ /**
1242
+ * Card-specific display preferences that override dashboard-level preferences.
1243
+ * If not specified, the card will use the dashboard's display preferences.
1244
+ */
1245
+ displayPreferences?: VisualDisplayPreferences;
1246
+ /**
1247
+ * Inline filter definitions for this card.
1248
+ * Configured by editors via the visual editor settings.
1249
+ */
1250
+ inlineFilters?: TInlineFilter[];
1251
+ /**
1252
+ * Card-scoped calculated fields that should remain available even when they
1253
+ * are not actively selected in the chart configuration.
1254
+ */
1255
+ calculatedFields?: Field[];
1256
+ /**
1257
+ * Card-scoped control definitions for this card.
1258
+ */
1259
+ controls?: ControlDefinition[];
1260
+ /**
1261
+ * Per-card bindings that connect dashboard or card controls to this card's runtime targets.
1262
+ */
1263
+ controlBindings?: ControlBinding[];
1264
+ };
1265
+ export type TFrame = {
1266
+ id: string;
1267
+ visualId?: string;
1268
+ filterId?: string;
1269
+ cards: TCard[];
1270
+ activeCardId: string;
1271
+ calculatedFields?: Field[];
1272
+ };
1273
+ export type DocumentPageSetup = {
1274
+ size: 'letter' | 'a4';
1275
+ orientation: 'portrait' | 'landscape';
1276
+ margins: {
1277
+ top: number;
1278
+ right: number;
1279
+ bottom: number;
1280
+ left: number;
1281
+ unit: 'in' | 'mm';
1282
+ };
1283
+ };
1284
+ export type DocumentRuntimeSettings = {
1285
+ generatedAtFormat?: string;
1286
+ };
1287
+ export type DocumentInputExportKey = 'label' | 'value' | 'start' | 'end' | 'range';
1288
+ export type DocumentInputDefinition = DocumentFilterInputDefinition | DocumentControlInputDefinition;
1289
+ export type DocumentInputBase = {
1290
+ id: string;
1291
+ label: string;
1292
+ variableName: string;
1293
+ requiredAtExecution: boolean;
1294
+ documentPlacement?: 'input_bar';
1295
+ description?: string;
1296
+ };
1297
+ export type DocumentFilterInputDefinition = DocumentInputBase & {
1298
+ kind: 'filter';
1299
+ filter: TFilter;
1300
+ exports?: DocumentInputExportKey[];
1301
+ };
1302
+ export type DocumentControlInputDefinition = DocumentInputBase & {
1303
+ kind: 'control';
1304
+ control: ControlDefinition;
1305
+ exports?: DocumentInputExportKey[];
1306
+ };
1307
+ export type ResolvedDocumentInput = {
1308
+ inputId: string;
1309
+ variableName: string;
1310
+ rawValue: unknown;
1311
+ displayValue: string;
1312
+ filterValues?: TFilterValue[];
1313
+ controlValue?: unknown;
1314
+ exports: Record<string, string | number | boolean | null>;
1315
+ };
1316
+ export type DocumentRegion = DocumentHeaderRegion | DocumentFooterRegion;
1317
+ export type DocumentRegionBase = {
1318
+ enabled: boolean;
1319
+ heightPx?: number;
1320
+ layout: DocumentRegionLayout;
1321
+ blocks: DocumentRegionBlock[];
1322
+ };
1323
+ export type DocumentHeaderRegion = DocumentRegionBase & {
1324
+ region: 'header';
1325
+ layout: {
1326
+ type: 'preset';
1327
+ preset: 'mvp_header';
1328
+ };
1329
+ };
1330
+ export type DocumentFooterRegion = DocumentRegionBase & {
1331
+ region: 'footer';
1332
+ layout: {
1333
+ type: 'preset';
1334
+ preset: 'mvp_footer';
1335
+ };
1336
+ };
1337
+ export type DocumentRegionLayout = {
1338
+ type: 'preset';
1339
+ preset: 'mvp_header' | 'mvp_footer';
1340
+ };
1341
+ export type DocumentRegionBlock = DocumentTextRegionBlock | DocumentImageRegionBlock;
1342
+ export type DocumentRegionBlockBase = {
1343
+ id: string;
1344
+ area?: 'left' | 'center' | 'right' | 'title' | 'metadata' | 'note' | 'pageInfo';
1345
+ };
1346
+ export type DocumentTextRegionBlock = DocumentRegionBlockBase & {
1347
+ type: 'text';
1348
+ role?: 'title' | 'metadata' | 'note' | 'pageInfo';
1349
+ content: DocumentTextContent;
1350
+ style?: DocumentTextStyle;
1351
+ };
1352
+ export type DocumentImageRegionBlock = DocumentRegionBlockBase & {
1353
+ type: 'image';
1354
+ role?: 'logo';
1355
+ src: string;
1356
+ alt?: string;
1357
+ widthPx?: number;
1358
+ };
1359
+ export type DocumentTextContent = DocumentTextNode[];
1360
+ export type DocumentTextNode = {
1361
+ type: 'text';
1362
+ value: string;
1363
+ format?: DocumentTextInlineFormat;
1364
+ } | {
1365
+ type: 'variable';
1366
+ ref: DocumentVariableRef;
1367
+ format?: DocumentTextInlineFormat;
1368
+ };
1369
+ export type DocumentVariableRef = {
1370
+ source: 'input';
1371
+ inputId: string;
1372
+ export: DocumentInputExportKey;
1373
+ } | {
1374
+ source: 'documentMeta';
1375
+ key: 'generatedAt' | 'pageNumber' | 'pageCount';
1376
+ };
1377
+ export type DocumentTextInlineFormat = {
1378
+ bold?: boolean;
1379
+ italic?: boolean;
1380
+ underline?: boolean;
1381
+ };
1382
+ export type DocumentTextStyle = {
1383
+ fontSize?: number;
1384
+ fontWeight?: 'normal' | 'medium' | 'semibold' | 'bold';
1385
+ color?: string;
1386
+ align?: 'left' | 'center' | 'right';
1387
+ };
1388
+ export type DocumentSection = DocumentTextSection | DocumentTableSection | DocumentChartSection | DocumentSpacerSection | DocumentPageBreakSection;
1389
+ export type DocumentTextSection = {
1390
+ id: string;
1391
+ type: 'text';
1392
+ content: DocumentTextContent;
1393
+ style?: DocumentTextStyle;
1394
+ };
1395
+ export type DocumentTableSection = {
1396
+ id: string;
1397
+ type: 'table';
1398
+ title?: string;
1399
+ card: TCard;
1400
+ table: {
1401
+ totalsRow?: boolean;
1402
+ columnFormatting?: Record<string, unknown>;
1403
+ repeatHeaderOnPageBreak?: boolean;
1404
+ rowHeightPx?: number;
1405
+ };
1406
+ };
1407
+ export type DocumentChartSection = {
1408
+ id: string;
1409
+ type: 'chart';
1410
+ title?: string;
1411
+ card: TCard;
1412
+ heightPx: number;
1413
+ };
1414
+ export type DocumentSpacerSection = {
1415
+ id: string;
1416
+ type: 'spacer';
1417
+ heightPx: number;
1418
+ };
1419
+ export type DocumentPageBreakSection = {
1420
+ id: string;
1421
+ type: 'page_break';
1422
+ };
1423
+ export type DocumentTheme = {
1424
+ fontFamily?: string;
1425
+ primaryColor?: string;
1426
+ };
1427
+ export type DocumentDefinition = {
1428
+ version: 1;
1429
+ page: DocumentPageSetup;
1430
+ runtime?: DocumentRuntimeSettings;
1431
+ inputs?: DocumentInputDefinition[];
1432
+ defaultInputValues?: Record<string, unknown>;
1433
+ header?: DocumentHeaderRegion;
1434
+ footer?: DocumentFooterRegion;
1435
+ sections: DocumentSection[];
1436
+ theme?: DocumentTheme;
1437
+ };
1438
+ export type TSheet = {
1439
+ id: string;
1440
+ kind?: 'dashboard' | 'document';
1441
+ title?: string;
1442
+ description?: string;
1443
+ layout?: ReactGridLayout.Layout[];
1444
+ layouts?: ReactGridLayout.Layouts;
1445
+ cards?: TCard[];
1446
+ frames?: TFrame[];
1447
+ calculatedFields?: Field[];
1448
+ document?: DocumentDefinition;
1449
+ };
1450
+ /**
1451
+ * Style propeerites for the dashboard
1452
+ */
1453
+ export type StyleProps = {
1454
+ /** Theme for dashboard background */
1455
+ canvasTheme?: 'clear' | 'muted' | string;
1456
+ /** css class for `dashboard-panel` */
1457
+ dashboardPanel?: string;
1458
+ /** css class for `dashboard-tabs-container` */
1459
+ dashboardTabsContainer?: string;
1460
+ /** css class for `dashboard-card` */
1461
+ /** css class for `dashboard-card-container` */
1462
+ dashboardCardContainer?: string;
1463
+ dashboardCard?: string;
1464
+ /** grid-layout config */
1465
+ /**
1466
+ * Border radius for the control inputs such as filter input, tabs, date picker, etc.
1467
+ */
1468
+ controlInputRadius?: number;
1469
+ /**
1470
+ * Border radius for the cards
1471
+ */
1472
+ cardBorderRadius?: number;
1473
+ gridLayout?: {
1474
+ /** css class for `react-grid-layout` */
1475
+ className?: string;
1476
+ margin?: [number, number];
1477
+ };
1478
+ /** chart config */
1479
+ chart?: {
1480
+ /** chart font config */
1481
+ font?: Partial<FontSpec>;
1482
+ dataset?: any;
1483
+ /** chart options */
1484
+ options?: any;
1485
+ };
1486
+ table?: {
1487
+ tableHeaderColor?: string;
1488
+ };
1489
+ };
1490
+ export type TEvent = {
1491
+ type: 'success' | 'error' | 'info' | 'warning';
1492
+ message: any;
1493
+ };
1494
+ /** Supported lifecycle transitions emitted by an editable dashboard session. */
1495
+ export type DashboardLifecycleEvent = {
1496
+ type: 'dashboard:dirty-state';
1497
+ dashboardId: string;
1498
+ payload: {
1499
+ dirty: boolean;
1500
+ };
1501
+ };
1502
+ /**
1503
+ * Style for the dashboard
1504
+ */
1505
+ export type TStyle = {
1506
+ default: StyleProps;
1507
+ dark?: StyleProps;
1508
+ };
1509
+ export type TBaseQuery = {
1510
+ id: string;
1511
+ name: string;
1512
+ connectionId: string;
1513
+ sql: string;
1514
+ context?: string;
1515
+ description?: string;
1516
+ };
1517
+ export type CacheConfig = {
1518
+ ttl: string;
1519
+ status: 'on' | 'on-refresh' | 'off';
1520
+ };
1521
+ export type EmailSettings = {
1522
+ companyName: string;
1523
+ dashboardUrl: string;
1524
+ supportEmail: string;
1525
+ senderTitle: string;
1526
+ };
1527
+ export type TDashboard = {
1528
+ id: string;
1529
+ title?: string;
1530
+ aiContext?: DashboardAIContext;
1531
+ summary?: {
1532
+ enabled?: boolean;
1533
+ position?: 'top' | 'bottom';
1534
+ maxItems?: number;
1535
+ };
1536
+ description?: string;
1537
+ sheets?: TSheet[];
1538
+ calculatedFields?: Field[];
1539
+ style?: TStyle;
1540
+ filters?: TFilter[];
1541
+ customCards?: CustomCard[];
1542
+ baseQueries?: TBaseQuery[];
1543
+ aiScopeTables?: AIScopeTable[];
1544
+ globalStyle?: TStyle;
1545
+ globalCacheConfig?: CacheConfig;
1546
+ emailSettings?: EmailSettings;
1547
+ defaultFilterValues?: TFilterValue[];
1548
+ controls?: ControlDefinition[];
1549
+ defaultControlValues?: Record<string, unknown>;
1550
+ inputs?: DashboardInput[];
1551
+ defaultInputValues?: DashboardInputValues;
1552
+ filterLayout?: FilterLayoutSettings;
1553
+ };
1554
+ type BaseCustomCard = {
1555
+ cardId: string;
1556
+ replaceDefault?: boolean;
1557
+ };
1558
+ type CardWithContent = BaseCustomCard & {
1559
+ content: React.FC<{
1560
+ card: TCard;
1561
+ }>;
1562
+ footer?: React.FC<{
1563
+ card: TCard;
1564
+ }>;
1565
+ };
1566
+ type CardWithFooter = BaseCustomCard & {
1567
+ content?: React.FC<{
1568
+ card: TCard;
1569
+ }>;
1570
+ footer: React.FC<{
1571
+ card: TCard;
1572
+ }>;
1573
+ };
1574
+ export type CustomCard = CardWithContent | CardWithFooter;
1575
+ export type LoadingProps = {
1576
+ message?: string;
1577
+ };
1578
+ export type ErrorProps = {
1579
+ message?: string;
1580
+ };
1581
+ export type TCardContext = {
1582
+ id: string;
1583
+ name: string;
1584
+ description: string;
1585
+ sql: string;
1586
+ };
1587
+ type Params = {
1588
+ [key: string]: string | number | string[] | number[];
1589
+ };
1590
+ export type ConnectionPolicy = {
1591
+ connectionId?: string;
1592
+ name: string;
1593
+ params: Params;
1594
+ };
1595
+ export type AIScopeTable = {
1596
+ connectionId: string;
1597
+ connectionType: string;
1598
+ databaseName: string;
1599
+ schemaName: string;
1600
+ tableName: string;
1601
+ datamodelId: string;
1602
+ datamodelName: string;
1603
+ };
1604
+ export type AssistantId = 'dashboard-assistant' | 'editor-assistant';
1605
+ export interface UserPreference {
1606
+ id: string;
1607
+ actorType: 'ORG_USER' | 'TENANT_USER';
1608
+ projectId: string;
1609
+ defaultDashboardId: string | null;
1610
+ defaultDashboard?: {
1611
+ id: string;
1612
+ title: string;
1613
+ description: string;
1614
+ };
1615
+ preferences: Record<string, any> | null;
1616
+ createdAt: string;
1617
+ updatedAt: string;
1618
+ }
1619
+ export interface UpdateUserPreferenceRequest {
1620
+ defaultDashboardId: string | null;
1621
+ }