drizzle-cube 0.4.29 → 0.4.30

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 (381) hide show
  1. package/dist/adapters/anthropic-BIva8k1r.cjs +1 -0
  2. package/dist/adapters/anthropic-B_rg0BhK.js +140 -0
  3. package/dist/adapters/dist-Boc63-1q.cjs +2 -0
  4. package/dist/adapters/dist-De5fzUEM.js +581 -0
  5. package/dist/adapters/express/index.cjs +2 -10
  6. package/dist/adapters/express/index.js +232 -342
  7. package/dist/adapters/fastify/index.cjs +2 -10
  8. package/dist/adapters/fastify/index.js +275 -424
  9. package/dist/adapters/google-CT4kgmBf.js +154 -0
  10. package/dist/adapters/google-Dgo9-Kb5.cjs +2 -0
  11. package/dist/adapters/handler-B8vuFQYP.cjs +25 -0
  12. package/dist/adapters/handler-D-2-6uLM.js +2951 -0
  13. package/dist/adapters/hono/index.cjs +2 -10
  14. package/dist/adapters/hono/index.js +307 -402
  15. package/dist/adapters/mcp-prompts-BAutSQYA.js +344 -0
  16. package/dist/adapters/mcp-prompts-DsAkafVn.cjs +5 -0
  17. package/dist/adapters/mcp-transport-CuugoG8t.js +7821 -0
  18. package/dist/adapters/mcp-transport-Dpp6hdZe.cjs +253 -0
  19. package/dist/adapters/nextjs/index.cjs +1 -9
  20. package/dist/adapters/nextjs/index.js +377 -600
  21. package/dist/adapters/openai-CjBvA6mK.js +4114 -0
  22. package/dist/adapters/openai-DhLE0A9Z.cjs +1 -0
  23. package/dist/adapters/openai-Zjw4Zo4R.js +153 -0
  24. package/dist/adapters/openai-eJBw3LfQ.cjs +16 -0
  25. package/dist/adapters/types.cjs +0 -1
  26. package/dist/adapters/types.js +0 -1
  27. package/dist/adapters/utils-ChhNGUOF.js +5396 -0
  28. package/dist/adapters/utils-CwJplXR5.cjs +15 -0
  29. package/dist/adapters/utils.cjs +1 -19
  30. package/dist/adapters/utils.js +2 -21333
  31. package/dist/client/charts.js +15 -186
  32. package/dist/client/chunks/DashboardEditModal-C076pscL.js +6678 -0
  33. package/dist/client/chunks/DashboardEditModal-C076pscL.js.map +1 -0
  34. package/dist/client/chunks/FieldSearchModal-C0DjSWk3.js +2631 -0
  35. package/dist/client/chunks/FieldSearchModal-C0DjSWk3.js.map +1 -0
  36. package/dist/client/chunks/RetentionCombinedChart-DuGXc-AP.js +270 -0
  37. package/dist/client/chunks/RetentionCombinedChart-DuGXc-AP.js.map +1 -0
  38. package/dist/client/chunks/RetentionCombinedChart.config-DprbXd1N.js +56 -0
  39. package/dist/client/chunks/RetentionCombinedChart.config-DprbXd1N.js.map +1 -0
  40. package/dist/client/chunks/RetentionHeatmap-BoGY6mlZ.js +193 -0
  41. package/dist/client/chunks/RetentionHeatmap-BoGY6mlZ.js.map +1 -0
  42. package/dist/client/chunks/RetentionHeatmap.config-cbaNExVy.js +25 -0
  43. package/dist/client/chunks/RetentionHeatmap.config-cbaNExVy.js.map +1 -0
  44. package/dist/client/chunks/analysis-builder-DF0XntqC.js +6111 -0
  45. package/dist/client/chunks/analysis-builder-DF0XntqC.js.map +1 -0
  46. package/dist/client/chunks/analysis-builder-shared-2QhKYbs6.js +3114 -0
  47. package/dist/client/chunks/analysis-builder-shared-2QhKYbs6.js.map +1 -0
  48. package/dist/client/chunks/chart-activity-grid-CNES9VBk.js +803 -0
  49. package/dist/client/chunks/chart-activity-grid-CNES9VBk.js.map +1 -0
  50. package/dist/client/chunks/chart-area-CRJc3KOu.js +449 -0
  51. package/dist/client/chunks/chart-area-CRJc3KOu.js.map +1 -0
  52. package/dist/client/chunks/chart-bar-DD2PjJ5n.js +270 -0
  53. package/dist/client/chunks/chart-bar-DD2PjJ5n.js.map +1 -0
  54. package/dist/client/chunks/chart-box-plot-BcqleldJ.js +377 -0
  55. package/dist/client/chunks/chart-box-plot-BcqleldJ.js.map +1 -0
  56. package/dist/client/chunks/chart-bubble-BmQkVk4K.js +273 -0
  57. package/dist/client/chunks/chart-bubble-BmQkVk4K.js.map +1 -0
  58. package/dist/client/chunks/chart-candlestick-C3Rep469.js +306 -0
  59. package/dist/client/chunks/chart-candlestick-C3Rep469.js.map +1 -0
  60. package/dist/client/chunks/chart-config-activity-grid-USo7JrPh.js +51 -0
  61. package/dist/client/chunks/chart-config-activity-grid-USo7JrPh.js.map +1 -0
  62. package/dist/client/chunks/chart-config-area-D_ZufYzg.js +93 -0
  63. package/dist/client/chunks/chart-config-area-D_ZufYzg.js.map +1 -0
  64. package/dist/client/chunks/chart-config-bar-BCi2Wmd6.js +87 -0
  65. package/dist/client/chunks/chart-config-bar-BCi2Wmd6.js.map +1 -0
  66. package/dist/client/chunks/chart-config-box-plot-afKLzJSp.js +35 -0
  67. package/dist/client/chunks/chart-config-box-plot-afKLzJSp.js.map +1 -0
  68. package/dist/client/chunks/chart-config-bubble-CgbBjPv8.js +82 -0
  69. package/dist/client/chunks/chart-config-bubble-CgbBjPv8.js.map +1 -0
  70. package/dist/client/chunks/chart-config-candlestick-7boGjZ-A.js +72 -0
  71. package/dist/client/chunks/chart-config-candlestick-7boGjZ-A.js.map +1 -0
  72. package/dist/client/chunks/chart-config-data-table-Cl7sBasW.js +30 -0
  73. package/dist/client/chunks/chart-config-data-table-Cl7sBasW.js.map +1 -0
  74. package/dist/client/chunks/chart-config-funnel-CXPYQtTl.js +93 -0
  75. package/dist/client/chunks/chart-config-funnel-CXPYQtTl.js.map +1 -0
  76. package/dist/client/chunks/chart-config-gauge-DUNEUCvh.js +64 -0
  77. package/dist/client/chunks/chart-config-gauge-DUNEUCvh.js.map +1 -0
  78. package/dist/client/chunks/chart-config-heat-map-BFf1tO11.js +91 -0
  79. package/dist/client/chunks/chart-config-heat-map-BFf1tO11.js.map +1 -0
  80. package/dist/client/chunks/chart-config-kpi-delta-C5k2waIJ.js +94 -0
  81. package/dist/client/chunks/chart-config-kpi-delta-C5k2waIJ.js.map +1 -0
  82. package/dist/client/chunks/chart-config-kpi-number-DptOyhk0.js +75 -0
  83. package/dist/client/chunks/chart-config-kpi-number-DptOyhk0.js.map +1 -0
  84. package/dist/client/chunks/chart-config-kpi-text-D9DdVWqd.js +47 -0
  85. package/dist/client/chunks/chart-config-kpi-text-D9DdVWqd.js.map +1 -0
  86. package/dist/client/chunks/chart-config-line-B3NgLF7K.js +104 -0
  87. package/dist/client/chunks/chart-config-line-B3NgLF7K.js.map +1 -0
  88. package/dist/client/chunks/chart-config-markdown-tlfivQTt.js +117 -0
  89. package/dist/client/chunks/chart-config-markdown-tlfivQTt.js.map +1 -0
  90. package/dist/client/chunks/chart-config-measure-profile-D7XDwrU2.js +82 -0
  91. package/dist/client/chunks/chart-config-measure-profile-D7XDwrU2.js.map +1 -0
  92. package/dist/client/chunks/chart-config-pie-wY0B52PC.js +68 -0
  93. package/dist/client/chunks/chart-config-pie-wY0B52PC.js.map +1 -0
  94. package/dist/client/chunks/chart-config-radar-DRpJBy1M.js +49 -0
  95. package/dist/client/chunks/chart-config-radar-DRpJBy1M.js.map +1 -0
  96. package/dist/client/chunks/chart-config-radial-bar-DCUpXv9G.js +38 -0
  97. package/dist/client/chunks/chart-config-radial-bar-DCUpXv9G.js.map +1 -0
  98. package/dist/client/chunks/chart-config-sankey-CdOhlm4h.js +66 -0
  99. package/dist/client/chunks/chart-config-sankey-CdOhlm4h.js.map +1 -0
  100. package/dist/client/chunks/chart-config-scatter-B2su_x8f.js +61 -0
  101. package/dist/client/chunks/chart-config-scatter-B2su_x8f.js.map +1 -0
  102. package/dist/client/chunks/chart-config-sunburst-BPdjbk18.js +45 -0
  103. package/dist/client/chunks/chart-config-sunburst-BPdjbk18.js.map +1 -0
  104. package/dist/client/chunks/chart-config-tree-map-Cbsh2fe2.js +51 -0
  105. package/dist/client/chunks/chart-config-tree-map-Cbsh2fe2.js.map +1 -0
  106. package/dist/client/chunks/chart-config-waterfall-DGmuZfQF.js +59 -0
  107. package/dist/client/chunks/chart-config-waterfall-DGmuZfQF.js.map +1 -0
  108. package/dist/client/chunks/chart-data-table-DehW1C1G.js +4088 -0
  109. package/dist/client/chunks/chart-data-table-DehW1C1G.js.map +1 -0
  110. package/dist/client/chunks/chart-funnel-BjkpnG5g.js +447 -0
  111. package/dist/client/chunks/chart-funnel-BjkpnG5g.js.map +1 -0
  112. package/dist/client/chunks/chart-gauge-BWW_HEfg.js +424 -0
  113. package/dist/client/chunks/chart-gauge-BWW_HEfg.js.map +1 -0
  114. package/dist/client/chunks/chart-heat-map-BWuOuDcm.js +236 -0
  115. package/dist/client/chunks/chart-heat-map-BWuOuDcm.js.map +1 -0
  116. package/dist/client/chunks/chart-kpi-delta-D5OHtDJx.js +343 -0
  117. package/dist/client/chunks/chart-kpi-delta-D5OHtDJx.js.map +1 -0
  118. package/dist/client/chunks/chart-kpi-number-C9zH-aKC.js +326 -0
  119. package/dist/client/chunks/chart-kpi-number-C9zH-aKC.js.map +1 -0
  120. package/dist/client/chunks/chart-kpi-text-ChVn3S7j.js +149 -0
  121. package/dist/client/chunks/chart-kpi-text-ChVn3S7j.js.map +1 -0
  122. package/dist/client/chunks/chart-line-DOIMkP0b.js +431 -0
  123. package/dist/client/chunks/chart-line-DOIMkP0b.js.map +1 -0
  124. package/dist/client/chunks/chart-markdown-DXxc43w1.js +3457 -0
  125. package/dist/client/chunks/chart-markdown-DXxc43w1.js.map +1 -0
  126. package/dist/client/chunks/chart-measure-profile-C6wrr9il.js +179 -0
  127. package/dist/client/chunks/chart-measure-profile-C6wrr9il.js.map +1 -0
  128. package/dist/client/chunks/chart-pie-BU_FgwDc.js +172 -0
  129. package/dist/client/chunks/chart-pie-BU_FgwDc.js.map +1 -0
  130. package/dist/client/chunks/chart-radar-DlufwnAX.js +154 -0
  131. package/dist/client/chunks/chart-radar-DlufwnAX.js.map +1 -0
  132. package/dist/client/chunks/chart-radial-bar-B5vS_Aw5.js +148 -0
  133. package/dist/client/chunks/chart-radial-bar-B5vS_Aw5.js.map +1 -0
  134. package/dist/client/chunks/chart-sankey-FChb26UX.js +222 -0
  135. package/dist/client/chunks/chart-sankey-FChb26UX.js.map +1 -0
  136. package/dist/client/chunks/chart-scatter-DW0cAZ2H.js +255 -0
  137. package/dist/client/chunks/chart-scatter-DW0cAZ2H.js.map +1 -0
  138. package/dist/client/chunks/chart-sunburst-Clf-6WxW.js +221 -0
  139. package/dist/client/chunks/chart-sunburst-Clf-6WxW.js.map +1 -0
  140. package/dist/client/chunks/chart-tree-map-p_VwUJPF.js +298 -0
  141. package/dist/client/chunks/chart-tree-map-p_VwUJPF.js.map +1 -0
  142. package/dist/client/chunks/chart-waterfall-jt44IQ-w.js +237 -0
  143. package/dist/client/chunks/chart-waterfall-jt44IQ-w.js.map +1 -0
  144. package/dist/client/chunks/charts-core-CUVzf4cV.js +215 -0
  145. package/dist/client/chunks/charts-core-CUVzf4cV.js.map +1 -0
  146. package/dist/client/chunks/charts-loader-AGpph8_I.js +259 -0
  147. package/dist/client/chunks/charts-loader-AGpph8_I.js.map +1 -0
  148. package/dist/client/chunks/core-D1TOj17W.js +845 -0
  149. package/dist/client/chunks/core-D1TOj17W.js.map +1 -0
  150. package/dist/client/chunks/dist-DDBeV_JI.js +847 -0
  151. package/dist/client/chunks/dist-DDBeV_JI.js.map +1 -0
  152. package/dist/client/chunks/javascript-BBwTSo6e.js +438 -0
  153. package/dist/client/chunks/javascript-BBwTSo6e.js.map +1 -0
  154. package/dist/client/chunks/json-BpTrLZSh.js +38 -0
  155. package/dist/client/chunks/json-BpTrLZSh.js.map +1 -0
  156. package/dist/client/chunks/lazyChartConfigRegistry-BjhxDaSf.js +149 -0
  157. package/dist/client/chunks/lazyChartConfigRegistry-BjhxDaSf.js.map +1 -0
  158. package/dist/client/chunks/providers-DX3Vw5kc.js +7 -0
  159. package/dist/client/chunks/providers-DX3Vw5kc.js.map +1 -0
  160. package/dist/client/chunks/retention-UEXlSdZ-.js +132 -0
  161. package/dist/client/chunks/retention-UEXlSdZ-.js.map +1 -0
  162. package/dist/client/chunks/rolldown-runtime-lc2dmIiU.js +20 -0
  163. package/dist/client/chunks/schema-visualization-ZugB4Io9.js +1073 -0
  164. package/dist/client/chunks/schema-visualization-ZugB4Io9.js.map +1 -0
  165. package/dist/client/chunks/sql-B0chxcEK.js +120 -0
  166. package/dist/client/chunks/sql-B0chxcEK.js.map +1 -0
  167. package/dist/client/chunks/syntaxHighlighting-87bOwTxj.js +30 -0
  168. package/dist/client/chunks/syntaxHighlighting-87bOwTxj.js.map +1 -0
  169. package/dist/client/chunks/useDebounce-BQjNWndQ.js +1394 -0
  170. package/dist/client/chunks/useDebounce-BQjNWndQ.js.map +1 -0
  171. package/dist/client/chunks/useDirtyStateTracking-CgKZWkel.js +66 -0
  172. package/dist/client/chunks/useDirtyStateTracking-CgKZWkel.js.map +1 -0
  173. package/dist/client/chunks/useExplainAI-c_bHxZe5.js +203 -0
  174. package/dist/client/chunks/useExplainAI-c_bHxZe5.js.map +1 -0
  175. package/dist/client/chunks/useNotebookLayout-BFZ_33Kb.js +37 -0
  176. package/dist/client/chunks/useNotebookLayout-BFZ_33Kb.js.map +1 -0
  177. package/dist/client/chunks/utils-A54Ny29G.js +128 -0
  178. package/dist/client/chunks/utils-A54Ny29G.js.map +1 -0
  179. package/dist/client/chunks/vendor-CoPBRumI.js +828 -0
  180. package/dist/client/chunks/vendor-CoPBRumI.js.map +1 -0
  181. package/dist/client/components.js +4 -18
  182. package/dist/client/hooks.js +6 -58
  183. package/dist/client/icons.js +2 -15
  184. package/dist/client/index.js +1061 -1295
  185. package/dist/client/index.js.map +1 -1
  186. package/dist/client/providers.js +3 -9
  187. package/dist/client/styles.css +2 -1
  188. package/dist/client/types.d.ts +1 -0
  189. package/dist/client/utils.js +7 -74
  190. package/dist/client-bundle-stats.html +1 -1
  191. package/dist/server/anthropic-BsNspi1r.js +140 -0
  192. package/dist/server/anthropic-DsCEX6Fm.cjs +1 -0
  193. package/dist/server/dist-CMWZC51B.js +581 -0
  194. package/dist/server/dist-DxegvyZF.cjs +2 -0
  195. package/dist/server/google-BXwMolCu.js +154 -0
  196. package/dist/server/google-DzQWXFwF.cjs +2 -0
  197. package/dist/server/index.cjs +109 -129
  198. package/dist/server/index.js +15089 -34394
  199. package/dist/server/openai-BPhmb8mi.js +4114 -0
  200. package/dist/server/openai-CLsoLaue.cjs +1 -0
  201. package/dist/server/openai-D1kZ5sdM.js +153 -0
  202. package/dist/server/openai-DkOKbVLC.cjs +16 -0
  203. package/package.json +5 -5
  204. package/dist/adapters/anthropic-BTkjgFpT.cjs +0 -1
  205. package/dist/adapters/anthropic-CTu9E801.js +0 -126
  206. package/dist/adapters/google-BAK9pnQf.cjs +0 -2
  207. package/dist/adapters/google-DficVAsJ.js +0 -146
  208. package/dist/adapters/handler-BHguLZOY.js +0 -2713
  209. package/dist/adapters/handler-DOIyiFPg.cjs +0 -39
  210. package/dist/adapters/index-BgCeQBuN.cjs +0 -2
  211. package/dist/adapters/index-C3PskWTr.js +0 -5353
  212. package/dist/adapters/index-C45_meK_.js +0 -719
  213. package/dist/adapters/index-ht4NPca9.cjs +0 -23
  214. package/dist/adapters/mcp-transport-CWGqDQSI.cjs +0 -259
  215. package/dist/adapters/mcp-transport-CyeHMDPl.js +0 -11055
  216. package/dist/adapters/openai-BvA6eLs8.cjs +0 -1
  217. package/dist/adapters/openai-mcE24du8.js +0 -131
  218. package/dist/client/charts.js.map +0 -1
  219. package/dist/client/chunks/RetentionCombinedChart--SnU4Y_I.js +0 -256
  220. package/dist/client/chunks/RetentionCombinedChart--SnU4Y_I.js.map +0 -1
  221. package/dist/client/chunks/RetentionCombinedChart.config-Bbp2ghim.js +0 -48
  222. package/dist/client/chunks/RetentionCombinedChart.config-Bbp2ghim.js.map +0 -1
  223. package/dist/client/chunks/RetentionHeatmap-BHYU8MXY.js +0 -178
  224. package/dist/client/chunks/RetentionHeatmap-BHYU8MXY.js.map +0 -1
  225. package/dist/client/chunks/RetentionHeatmap.config-BWf_-vdj.js +0 -29
  226. package/dist/client/chunks/RetentionHeatmap.config-BWf_-vdj.js.map +0 -1
  227. package/dist/client/chunks/analysis-builder-DMFoAkjT.js +0 -6203
  228. package/dist/client/chunks/analysis-builder-DMFoAkjT.js.map +0 -1
  229. package/dist/client/chunks/analysis-builder-shared-CunrT3gi.js +0 -3140
  230. package/dist/client/chunks/analysis-builder-shared-CunrT3gi.js.map +0 -1
  231. package/dist/client/chunks/chart-activity-grid-DCznpK6N.js +0 -347
  232. package/dist/client/chunks/chart-activity-grid-DCznpK6N.js.map +0 -1
  233. package/dist/client/chunks/chart-area-CqKRIUpj.js +0 -234
  234. package/dist/client/chunks/chart-area-CqKRIUpj.js.map +0 -1
  235. package/dist/client/chunks/chart-bar-Bl5jvrU_.js +0 -267
  236. package/dist/client/chunks/chart-bar-Bl5jvrU_.js.map +0 -1
  237. package/dist/client/chunks/chart-box-plot-CzMb00z_.js +0 -322
  238. package/dist/client/chunks/chart-box-plot-CzMb00z_.js.map +0 -1
  239. package/dist/client/chunks/chart-bubble-BF8Z52eW.js +0 -249
  240. package/dist/client/chunks/chart-bubble-BF8Z52eW.js.map +0 -1
  241. package/dist/client/chunks/chart-candlestick-ByWS945g.js +0 -269
  242. package/dist/client/chunks/chart-candlestick-ByWS945g.js.map +0 -1
  243. package/dist/client/chunks/chart-config-activity-grid-CmOqDuOT.js +0 -50
  244. package/dist/client/chunks/chart-config-activity-grid-CmOqDuOT.js.map +0 -1
  245. package/dist/client/chunks/chart-config-area-CK_GVApT.js +0 -77
  246. package/dist/client/chunks/chart-config-area-CK_GVApT.js.map +0 -1
  247. package/dist/client/chunks/chart-config-bar-C8uzktxl.js +0 -71
  248. package/dist/client/chunks/chart-config-bar-C8uzktxl.js.map +0 -1
  249. package/dist/client/chunks/chart-config-box-plot-D_E_SSc2.js +0 -38
  250. package/dist/client/chunks/chart-config-box-plot-D_E_SSc2.js.map +0 -1
  251. package/dist/client/chunks/chart-config-bubble-q3DoQX5F.js +0 -71
  252. package/dist/client/chunks/chart-config-bubble-q3DoQX5F.js.map +0 -1
  253. package/dist/client/chunks/chart-config-candlestick-CRCpD43-.js +0 -70
  254. package/dist/client/chunks/chart-config-candlestick-CRCpD43-.js.map +0 -1
  255. package/dist/client/chunks/chart-config-data-table-B20Y5JCm.js +0 -28
  256. package/dist/client/chunks/chart-config-data-table-B20Y5JCm.js.map +0 -1
  257. package/dist/client/chunks/chart-config-funnel-3eYnGg8M.js +0 -92
  258. package/dist/client/chunks/chart-config-funnel-3eYnGg8M.js.map +0 -1
  259. package/dist/client/chunks/chart-config-gauge-CQx9w3d4.js +0 -64
  260. package/dist/client/chunks/chart-config-gauge-CQx9w3d4.js.map +0 -1
  261. package/dist/client/chunks/chart-config-heat-map-_wEnTnRA.js +0 -77
  262. package/dist/client/chunks/chart-config-heat-map-_wEnTnRA.js.map +0 -1
  263. package/dist/client/chunks/chart-config-kpi-delta-DLGZ2A3X.js +0 -97
  264. package/dist/client/chunks/chart-config-kpi-delta-DLGZ2A3X.js.map +0 -1
  265. package/dist/client/chunks/chart-config-kpi-number-K-wzviXF.js +0 -75
  266. package/dist/client/chunks/chart-config-kpi-number-K-wzviXF.js.map +0 -1
  267. package/dist/client/chunks/chart-config-kpi-text-BjYqwqaJ.js +0 -47
  268. package/dist/client/chunks/chart-config-kpi-text-BjYqwqaJ.js.map +0 -1
  269. package/dist/client/chunks/chart-config-line-JNagi9tf.js +0 -88
  270. package/dist/client/chunks/chart-config-line-JNagi9tf.js.map +0 -1
  271. package/dist/client/chunks/chart-config-markdown-BWQSjJpy.js +0 -97
  272. package/dist/client/chunks/chart-config-markdown-BWQSjJpy.js.map +0 -1
  273. package/dist/client/chunks/chart-config-measure-profile-ZYaMrtws.js +0 -70
  274. package/dist/client/chunks/chart-config-measure-profile-ZYaMrtws.js.map +0 -1
  275. package/dist/client/chunks/chart-config-pie-CNLXb-fr.js +0 -39
  276. package/dist/client/chunks/chart-config-pie-CNLXb-fr.js.map +0 -1
  277. package/dist/client/chunks/chart-config-radar-oxHfRAa3.js +0 -44
  278. package/dist/client/chunks/chart-config-radar-oxHfRAa3.js.map +0 -1
  279. package/dist/client/chunks/chart-config-radial-bar-_Aw3jAEm.js +0 -37
  280. package/dist/client/chunks/chart-config-radial-bar-_Aw3jAEm.js.map +0 -1
  281. package/dist/client/chunks/chart-config-sankey-C8FX9hGF.js +0 -61
  282. package/dist/client/chunks/chart-config-sankey-C8FX9hGF.js.map +0 -1
  283. package/dist/client/chunks/chart-config-scatter-DFKM80eO.js +0 -53
  284. package/dist/client/chunks/chart-config-scatter-DFKM80eO.js.map +0 -1
  285. package/dist/client/chunks/chart-config-sunburst-BmC0NLTU.js +0 -50
  286. package/dist/client/chunks/chart-config-sunburst-BmC0NLTU.js.map +0 -1
  287. package/dist/client/chunks/chart-config-tree-map-DGMbNTaa.js +0 -47
  288. package/dist/client/chunks/chart-config-tree-map-DGMbNTaa.js.map +0 -1
  289. package/dist/client/chunks/chart-config-waterfall-DTyXV_fo.js +0 -60
  290. package/dist/client/chunks/chart-config-waterfall-DTyXV_fo.js.map +0 -1
  291. package/dist/client/chunks/chart-data-table-HwfF-Ujv.js +0 -293
  292. package/dist/client/chunks/chart-data-table-HwfF-Ujv.js.map +0 -1
  293. package/dist/client/chunks/chart-funnel-WmuoWlCq.js +0 -259
  294. package/dist/client/chunks/chart-funnel-WmuoWlCq.js.map +0 -1
  295. package/dist/client/chunks/chart-gauge-Cot4By-w.js +0 -374
  296. package/dist/client/chunks/chart-gauge-Cot4By-w.js.map +0 -1
  297. package/dist/client/chunks/chart-heat-map-bGNtsZMr.js +0 -231
  298. package/dist/client/chunks/chart-heat-map-bGNtsZMr.js.map +0 -1
  299. package/dist/client/chunks/chart-kpi-delta-DeyKMxgq.js +0 -351
  300. package/dist/client/chunks/chart-kpi-delta-DeyKMxgq.js.map +0 -1
  301. package/dist/client/chunks/chart-kpi-number-D1z1gxXO.js +0 -476
  302. package/dist/client/chunks/chart-kpi-number-D1z1gxXO.js.map +0 -1
  303. package/dist/client/chunks/chart-kpi-text-b7q6KWc0.js +0 -165
  304. package/dist/client/chunks/chart-kpi-text-b7q6KWc0.js.map +0 -1
  305. package/dist/client/chunks/chart-line-3Nf-EPqJ.js +0 -450
  306. package/dist/client/chunks/chart-line-3Nf-EPqJ.js.map +0 -1
  307. package/dist/client/chunks/chart-markdown-BT_-MBq1.js +0 -2721
  308. package/dist/client/chunks/chart-markdown-BT_-MBq1.js.map +0 -1
  309. package/dist/client/chunks/chart-measure-profile-BVjUonqU.js +0 -114
  310. package/dist/client/chunks/chart-measure-profile-BVjUonqU.js.map +0 -1
  311. package/dist/client/chunks/chart-pie-DblG6w7g.js +0 -137
  312. package/dist/client/chunks/chart-pie-DblG6w7g.js.map +0 -1
  313. package/dist/client/chunks/chart-radar-BHZbeeTg.js +0 -129
  314. package/dist/client/chunks/chart-radar-BHZbeeTg.js.map +0 -1
  315. package/dist/client/chunks/chart-radial-bar-AlEJC1Jo.js +0 -119
  316. package/dist/client/chunks/chart-radial-bar-AlEJC1Jo.js.map +0 -1
  317. package/dist/client/chunks/chart-sankey-E8vYKjQF.js +0 -189
  318. package/dist/client/chunks/chart-sankey-E8vYKjQF.js.map +0 -1
  319. package/dist/client/chunks/chart-scatter-Bbxqi0iw.js +0 -202
  320. package/dist/client/chunks/chart-scatter-Bbxqi0iw.js.map +0 -1
  321. package/dist/client/chunks/chart-sunburst-BgnTKolT.js +0 -188
  322. package/dist/client/chunks/chart-sunburst-BgnTKolT.js.map +0 -1
  323. package/dist/client/chunks/chart-tree-map-i9LGCLwl.js +0 -284
  324. package/dist/client/chunks/chart-tree-map-i9LGCLwl.js.map +0 -1
  325. package/dist/client/chunks/chart-waterfall-BeIhCm83.js +0 -191
  326. package/dist/client/chunks/chart-waterfall-BeIhCm83.js.map +0 -1
  327. package/dist/client/chunks/charts-core-BUUO36OM.js +0 -692
  328. package/dist/client/chunks/charts-core-BUUO36OM.js.map +0 -1
  329. package/dist/client/chunks/charts-loader-goTYnavu.js +0 -258
  330. package/dist/client/chunks/charts-loader-goTYnavu.js.map +0 -1
  331. package/dist/client/chunks/components-BFgYvFq6.js +0 -10066
  332. package/dist/client/chunks/components-BFgYvFq6.js.map +0 -1
  333. package/dist/client/chunks/core-Y9e-sNfb.js +0 -1068
  334. package/dist/client/chunks/core-Y9e-sNfb.js.map +0 -1
  335. package/dist/client/chunks/flow-utils-CjQZG5qq.js +0 -16
  336. package/dist/client/chunks/flow-utils-CjQZG5qq.js.map +0 -1
  337. package/dist/client/chunks/funnel-utils-CyonoNeC.js +0 -135
  338. package/dist/client/chunks/funnel-utils-CyonoNeC.js.map +0 -1
  339. package/dist/client/chunks/icons-CwvgmdIP.js +0 -1636
  340. package/dist/client/chunks/icons-CwvgmdIP.js.map +0 -1
  341. package/dist/client/chunks/index-CApFCBF9.js +0 -81
  342. package/dist/client/chunks/index-CApFCBF9.js.map +0 -1
  343. package/dist/client/chunks/index-_2PSgbkC.js +0 -1046
  344. package/dist/client/chunks/index-_2PSgbkC.js.map +0 -1
  345. package/dist/client/chunks/javascript-DII1YQGr.js +0 -659
  346. package/dist/client/chunks/javascript-DII1YQGr.js.map +0 -1
  347. package/dist/client/chunks/json-C_6Prymp.js +0 -39
  348. package/dist/client/chunks/json-C_6Prymp.js.map +0 -1
  349. package/dist/client/chunks/providers-Ds7DRmnO.js +0 -554
  350. package/dist/client/chunks/providers-Ds7DRmnO.js.map +0 -1
  351. package/dist/client/chunks/retention-CzCo8262.js +0 -120
  352. package/dist/client/chunks/retention-CzCo8262.js.map +0 -1
  353. package/dist/client/chunks/schema-visualization-B97a1Ybu.js +0 -772
  354. package/dist/client/chunks/schema-visualization-B97a1Ybu.js.map +0 -1
  355. package/dist/client/chunks/sql-IeKX8fQ8.js +0 -616
  356. package/dist/client/chunks/sql-IeKX8fQ8.js.map +0 -1
  357. package/dist/client/chunks/syntaxHighlighting-DAMSW_A6.js +0 -34
  358. package/dist/client/chunks/syntaxHighlighting-DAMSW_A6.js.map +0 -1
  359. package/dist/client/chunks/theme-Dp3hFed1.js +0 -112
  360. package/dist/client/chunks/theme-Dp3hFed1.js.map +0 -1
  361. package/dist/client/chunks/useDirtyStateTracking-CyAXd07d.js +0 -1231
  362. package/dist/client/chunks/useDirtyStateTracking-CyAXd07d.js.map +0 -1
  363. package/dist/client/chunks/useExplainAI-CfQ_JmF1.js +0 -182
  364. package/dist/client/chunks/useExplainAI-CfQ_JmF1.js.map +0 -1
  365. package/dist/client/chunks/vendor-B2EH3V58.js +0 -2892
  366. package/dist/client/chunks/vendor-B2EH3V58.js.map +0 -1
  367. package/dist/client/components.js.map +0 -1
  368. package/dist/client/hooks.js.map +0 -1
  369. package/dist/client/icons.js.map +0 -1
  370. package/dist/client/providers.js.map +0 -1
  371. package/dist/client/utils.js.map +0 -1
  372. package/dist/server/anthropic-BTkjgFpT.cjs +0 -1
  373. package/dist/server/anthropic-CTu9E801.js +0 -126
  374. package/dist/server/google-BAK9pnQf.cjs +0 -2
  375. package/dist/server/google-DficVAsJ.js +0 -146
  376. package/dist/server/index-BgCeQBuN.cjs +0 -2
  377. package/dist/server/index-C3PskWTr.js +0 -5353
  378. package/dist/server/index-C45_meK_.js +0 -719
  379. package/dist/server/index-ht4NPca9.cjs +0 -23
  380. package/dist/server/openai-BvA6eLs8.cjs +0 -1
  381. package/dist/server/openai-mcE24du8.js +0 -131
@@ -0,0 +1,82 @@
1
+ import { n as e } from "./rolldown-runtime-lc2dmIiU.js";
2
+ //#region src/client/components/charts/BubbleChart.config.ts
3
+ var t = /* @__PURE__ */ e({ bubbleChartConfig: () => n }), n = {
4
+ label: "Bubble Chart",
5
+ description: "Compare three dimensions of data",
6
+ useCase: "Best for showing relationships between three variables (X, Y, and size), market analysis",
7
+ dropZones: [
8
+ {
9
+ key: "xAxis",
10
+ label: "X-Axis",
11
+ description: "Horizontal axis position",
12
+ mandatory: !0,
13
+ maxItems: 1,
14
+ acceptTypes: [
15
+ "dimension",
16
+ "timeDimension",
17
+ "measure"
18
+ ],
19
+ emptyText: "Drop a field for X-axis position"
20
+ },
21
+ {
22
+ key: "yAxis",
23
+ label: "Y-Axis",
24
+ description: "Vertical axis position",
25
+ mandatory: !0,
26
+ maxItems: 1,
27
+ acceptTypes: ["measure"],
28
+ emptyText: "Drop a measure for Y-axis position"
29
+ },
30
+ {
31
+ key: "sizeField",
32
+ label: "Bubble Radius",
33
+ description: "Size of bubbles based on this measure",
34
+ mandatory: !0,
35
+ maxItems: 1,
36
+ acceptTypes: ["measure"],
37
+ emptyText: "Drop a measure for bubble size"
38
+ },
39
+ {
40
+ key: "series",
41
+ label: "Bubble Labels",
42
+ description: "Field to use for bubble labels and identification",
43
+ mandatory: !0,
44
+ maxItems: 1,
45
+ acceptTypes: ["dimension"],
46
+ emptyText: "Drop a dimension for bubble labels"
47
+ },
48
+ {
49
+ key: "colorField",
50
+ label: "Bubble Colour",
51
+ description: "Color bubbles by this field (optional)",
52
+ mandatory: !1,
53
+ maxItems: 1,
54
+ acceptTypes: ["dimension", "measure"],
55
+ emptyText: "Drop a field for bubble color (optional)"
56
+ }
57
+ ],
58
+ displayOptions: [
59
+ "showLegend",
60
+ "showGrid",
61
+ "showTooltip",
62
+ "minBubbleSize",
63
+ "maxBubbleSize",
64
+ "bubbleOpacity",
65
+ "hideHeader"
66
+ ],
67
+ displayOptionsConfig: [{
68
+ key: "xAxisFormat",
69
+ label: "X-Axis Format",
70
+ type: "axisFormat",
71
+ description: "Number formatting for X-axis"
72
+ }, {
73
+ key: "leftYAxisFormat",
74
+ label: "Y-Axis Format",
75
+ type: "axisFormat",
76
+ description: "Number formatting for Y-axis and values"
77
+ }]
78
+ };
79
+ //#endregion
80
+ export { n, t };
81
+
82
+ //# sourceMappingURL=chart-config-bubble-CgbBjPv8.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart-config-bubble-CgbBjPv8.js","names":[],"sources":["../../../src/client/components/charts/BubbleChart.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the bubble chart type\n */\nexport const bubbleChartConfig: ChartTypeConfig = {\n label: 'Bubble Chart',\n description: 'Compare three dimensions of data',\n useCase: 'Best for showing relationships between three variables (X, Y, and size), market analysis',\n dropZones: [\n {\n key: 'xAxis',\n label: 'X-Axis',\n description: 'Horizontal axis position',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['dimension', 'timeDimension', 'measure'],\n emptyText: 'Drop a field for X-axis position'\n },\n {\n key: 'yAxis',\n label: 'Y-Axis', \n description: 'Vertical axis position',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['measure'],\n emptyText: 'Drop a measure for Y-axis position'\n },\n {\n key: 'sizeField',\n label: 'Bubble Radius',\n description: 'Size of bubbles based on this measure',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['measure'],\n emptyText: 'Drop a measure for bubble size'\n },\n {\n key: 'series',\n label: 'Bubble Labels',\n description: 'Field to use for bubble labels and identification',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['dimension'],\n emptyText: 'Drop a dimension for bubble labels'\n },\n {\n key: 'colorField',\n label: 'Bubble Colour',\n description: 'Color bubbles by this field (optional)',\n mandatory: false,\n maxItems: 1,\n acceptTypes: ['dimension', 'measure'],\n emptyText: 'Drop a field for bubble color (optional)'\n }\n ],\n displayOptions: ['showLegend', 'showGrid', 'showTooltip', 'minBubbleSize', 'maxBubbleSize', 'bubbleOpacity', 'hideHeader'],\n displayOptionsConfig: [\n {\n key: 'xAxisFormat',\n label: 'X-Axis Format',\n type: 'axisFormat',\n description: 'Number formatting for X-axis'\n },\n {\n key: 'leftYAxisFormat',\n label: 'Y-Axis Format',\n type: 'axisFormat',\n description: 'Number formatting for Y-axis and values'\n }\n ]\n}"],"mappings":";;2DAKa,IAAqC;CAChD,OAAO;CACP,aAAa;CACb,SAAS;CACT,WAAW;EACT;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,UAAU;GACV,aAAa;IAAC;IAAa;IAAiB;IAAU;GACtD,WAAW;GACZ;EACD;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,UAAU;GACV,aAAa,CAAC,UAAU;GACxB,WAAW;GACZ;EACD;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,UAAU;GACV,aAAa,CAAC,UAAU;GACxB,WAAW;GACZ;EACD;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,UAAU;GACV,aAAa,CAAC,YAAY;GAC1B,WAAW;GACZ;EACD;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,UAAU;GACV,aAAa,CAAC,aAAa,UAAU;GACrC,WAAW;GACZ;EACF;CACD,gBAAgB;EAAC;EAAc;EAAY;EAAe;EAAiB;EAAiB;EAAiB;EAAa;CAC1H,sBAAsB,CACpB;EACE,KAAK;EACL,OAAO;EACP,MAAM;EACN,aAAa;EACd,EACD;EACE,KAAK;EACL,OAAO;EACP,MAAM;EACN,aAAa;EACd,CACF"}
@@ -0,0 +1,72 @@
1
+ import { n as e } from "./rolldown-runtime-lc2dmIiU.js";
2
+ //#region src/client/components/charts/CandlestickChart.config.ts
3
+ var t = /* @__PURE__ */ e({ candlestickChartConfig: () => n }), n = {
4
+ label: "Candlestick Chart",
5
+ description: "Financial candlestick chart showing open/close body and high/low wicks",
6
+ useCase: "Best for EOD quotes (bid/ask spread per date/symbol), markout distribution bands, or OHLC price data",
7
+ clickableElements: { bar: !0 },
8
+ displayOptions: ["hideHeader"],
9
+ dropZones: [{
10
+ key: "xAxis",
11
+ label: "X-Axis (Time / Category)",
12
+ description: "Time dimension or category for each candle (e.g. date, symbol)",
13
+ mandatory: !0,
14
+ maxItems: 1,
15
+ acceptTypes: ["timeDimension", "dimension"],
16
+ emptyText: "Drop a time or dimension here"
17
+ }, {
18
+ key: "yAxis",
19
+ label: "OHLC Measures (open, close, high, low)",
20
+ description: "Drop 2–4 measures in order: open, close, high, low (OHLC mode). For range mode drop 2: high, low.",
21
+ mandatory: !0,
22
+ acceptTypes: ["measure"],
23
+ emptyText: "Drop 2+ measures here"
24
+ }],
25
+ displayOptionsConfig: [
26
+ {
27
+ key: "rangeMode",
28
+ label: "Chart Mode",
29
+ type: "select",
30
+ defaultValue: "ohlc",
31
+ options: [{
32
+ value: "ohlc",
33
+ label: "OHLC (open, close, high, low)"
34
+ }, {
35
+ value: "range",
36
+ label: "Range (high, low / bid, ask)"
37
+ }],
38
+ description: "OHLC: 4 measures. Range: 2 measures (high + low)."
39
+ },
40
+ {
41
+ key: "bullColor",
42
+ label: "Bullish Colour",
43
+ type: "color",
44
+ defaultValue: "#22c55e",
45
+ description: "Candle colour when close ≥ open"
46
+ },
47
+ {
48
+ key: "bearColor",
49
+ label: "Bearish Colour",
50
+ type: "color",
51
+ defaultValue: "#ef4444",
52
+ description: "Candle colour when close < open"
53
+ },
54
+ {
55
+ key: "showWicks",
56
+ label: "Show Wicks",
57
+ type: "boolean",
58
+ defaultValue: !0,
59
+ description: "Draw high/low wicks above and below the body"
60
+ },
61
+ {
62
+ key: "leftYAxisFormat",
63
+ label: "Y-Axis Format",
64
+ type: "axisFormat",
65
+ description: "Number formatting for the price axis"
66
+ }
67
+ ]
68
+ };
69
+ //#endregion
70
+ export { n, t };
71
+
72
+ //# sourceMappingURL=chart-config-candlestick-7boGjZ-A.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart-config-candlestick-7boGjZ-A.js","names":[],"sources":["../../../src/client/components/charts/CandlestickChart.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the candlestick chart type\n */\nexport const candlestickChartConfig: ChartTypeConfig = {\n label: 'Candlestick Chart',\n description: 'Financial candlestick chart showing open/close body and high/low wicks',\n useCase:\n 'Best for EOD quotes (bid/ask spread per date/symbol), markout distribution bands, or OHLC price data',\n clickableElements: { bar: true },\n displayOptions: ['hideHeader'],\n dropZones: [\n {\n key: 'xAxis',\n label: 'X-Axis (Time / Category)',\n description: 'Time dimension or category for each candle (e.g. date, symbol)',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['timeDimension', 'dimension'],\n emptyText: 'Drop a time or dimension here',\n },\n {\n key: 'yAxis',\n label: 'OHLC Measures (open, close, high, low)',\n description:\n 'Drop 2–4 measures in order: open, close, high, low (OHLC mode). For range mode drop 2: high, low.',\n mandatory: true,\n acceptTypes: ['measure'],\n emptyText: 'Drop 2+ measures here',\n },\n ],\n displayOptionsConfig: [\n {\n key: 'rangeMode',\n label: 'Chart Mode',\n type: 'select',\n defaultValue: 'ohlc',\n options: [\n { value: 'ohlc', label: 'OHLC (open, close, high, low)' },\n { value: 'range', label: 'Range (high, low / bid, ask)' },\n ],\n description: 'OHLC: 4 measures. Range: 2 measures (high + low).',\n },\n {\n key: 'bullColor',\n label: 'Bullish Colour',\n type: 'color',\n defaultValue: '#22c55e',\n description: 'Candle colour when close ≥ open',\n },\n {\n key: 'bearColor',\n label: 'Bearish Colour',\n type: 'color',\n defaultValue: '#ef4444',\n description: 'Candle colour when close < open',\n },\n {\n key: 'showWicks',\n label: 'Show Wicks',\n type: 'boolean',\n defaultValue: true,\n description: 'Draw high/low wicks above and below the body',\n },\n {\n key: 'leftYAxisFormat',\n label: 'Y-Axis Format',\n type: 'axisFormat',\n description: 'Number formatting for the price axis',\n },\n ],\n}\n"],"mappings":";;gEAKa,IAA0C;CACrD,OAAO;CACP,aAAa;CACb,SACE;CACF,mBAAmB,EAAE,KAAK,IAAM;CAChC,gBAAgB,CAAC,aAAa;CAC9B,WAAW,CACT;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,UAAU;EACV,aAAa,CAAC,iBAAiB,YAAY;EAC3C,WAAW;EACZ,EACD;EACE,KAAK;EACL,OAAO;EACP,aACE;EACF,WAAW;EACX,aAAa,CAAC,UAAU;EACxB,WAAW;EACZ,CACF;CACD,sBAAsB;EACpB;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,SAAS,CACP;IAAE,OAAO;IAAQ,OAAO;IAAiC,EACzD;IAAE,OAAO;IAAS,OAAO;IAAgC,CAC1D;GACD,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACF;CACF"}
@@ -0,0 +1,30 @@
1
+ import { n as e } from "./rolldown-runtime-lc2dmIiU.js";
2
+ //#region src/client/components/charts/DataTable.config.ts
3
+ var t = /* @__PURE__ */ e({ dataTableConfig: () => n }), n = {
4
+ label: "Data Table",
5
+ description: "Display detailed tabular data",
6
+ useCase: "Best for precise values, detailed analysis, sortable/filterable data exploration",
7
+ dropZones: [{
8
+ key: "xAxis",
9
+ label: "Columns",
10
+ description: "All fields to display as columns",
11
+ mandatory: !1,
12
+ acceptTypes: [
13
+ "dimension",
14
+ "timeDimension",
15
+ "measure"
16
+ ],
17
+ emptyText: "Drop fields to display as columns (or leave empty for all)"
18
+ }],
19
+ displayOptions: ["hideHeader"],
20
+ displayOptionsConfig: [{
21
+ key: "leftYAxisFormat",
22
+ label: "Value Format",
23
+ type: "axisFormat",
24
+ description: "Number formatting for numeric values"
25
+ }]
26
+ };
27
+ //#endregion
28
+ export { n, t };
29
+
30
+ //# sourceMappingURL=chart-config-data-table-Cl7sBasW.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart-config-data-table-Cl7sBasW.js","names":[],"sources":["../../../src/client/components/charts/DataTable.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the data table type\n */\nexport const dataTableConfig: ChartTypeConfig = {\n label: 'Data Table',\n description: 'Display detailed tabular data',\n useCase: 'Best for precise values, detailed analysis, sortable/filterable data exploration',\n dropZones: [\n {\n key: 'xAxis',\n label: 'Columns',\n description: 'All fields to display as columns',\n mandatory: false,\n acceptTypes: ['dimension', 'timeDimension', 'measure'],\n emptyText: 'Drop fields to display as columns (or leave empty for all)'\n }\n ],\n displayOptions: ['hideHeader'],\n displayOptionsConfig: [\n {\n key: 'leftYAxisFormat',\n label: 'Value Format',\n type: 'axisFormat',\n description: 'Number formatting for numeric values'\n }\n ]\n}"],"mappings":";;yDAKa,IAAmC;CAC9C,OAAO;CACP,aAAa;CACb,SAAS;CACT,WAAW,CACT;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,aAAa;GAAC;GAAa;GAAiB;GAAU;EACtD,WAAW;EACZ,CACF;CACD,gBAAgB,CAAC,aAAa;CAC9B,sBAAsB,CACpB;EACE,KAAK;EACL,OAAO;EACP,MAAM;EACN,aAAa;EACd,CACF"}
@@ -0,0 +1,93 @@
1
+ import { n as e } from "./rolldown-runtime-lc2dmIiU.js";
2
+ //#region src/client/components/charts/FunnelChart.config.ts
3
+ var t = /* @__PURE__ */ e({ funnelChartConfig: () => n }), n = {
4
+ label: "Funnel Chart",
5
+ description: "Show conversion through sequential steps",
6
+ useCase: "Best for visualizing user journey funnels, sales pipelines, or multi-step processes",
7
+ dropZones: [{
8
+ key: "xAxis",
9
+ label: "Step Name",
10
+ description: "Step names (auto-populated from funnel steps)",
11
+ mandatory: !1,
12
+ maxItems: 1,
13
+ acceptTypes: ["dimension"],
14
+ emptyText: "Steps defined in funnel config"
15
+ }, {
16
+ key: "yAxis",
17
+ label: "Step Count",
18
+ description: "Count at each step (auto-calculated)",
19
+ mandatory: !1,
20
+ maxItems: 1,
21
+ acceptTypes: ["measure"],
22
+ emptyText: "Counts calculated from funnel execution"
23
+ }],
24
+ displayOptions: ["hideHeader"],
25
+ displayOptionsConfig: [
26
+ {
27
+ key: "funnelStyle",
28
+ label: "Funnel Style",
29
+ type: "buttonGroup",
30
+ defaultValue: "bars",
31
+ options: [{
32
+ value: "bars",
33
+ label: "Bars"
34
+ }, {
35
+ value: "funnel",
36
+ label: "Funnel"
37
+ }],
38
+ description: "Visualization style"
39
+ },
40
+ {
41
+ key: "funnelOrientation",
42
+ label: "Orientation",
43
+ type: "buttonGroup",
44
+ defaultValue: "horizontal",
45
+ options: [{
46
+ value: "horizontal",
47
+ label: "Horizontal"
48
+ }, {
49
+ value: "vertical",
50
+ label: "Vertical"
51
+ }]
52
+ },
53
+ {
54
+ key: "hideSummaryFooter",
55
+ label: "Hide Summary Footer",
56
+ type: "boolean",
57
+ defaultValue: !1,
58
+ description: "Hide the summary footer showing steps count and overall conversion"
59
+ },
60
+ {
61
+ key: "showFunnelConversion",
62
+ label: "Show Conversion Rate",
63
+ type: "boolean",
64
+ defaultValue: !0,
65
+ description: "Display step-to-step conversion percentage"
66
+ },
67
+ {
68
+ key: "showFunnelAvgTime",
69
+ label: "Show Avg Time",
70
+ type: "boolean",
71
+ defaultValue: !1,
72
+ description: "Display average time to convert"
73
+ },
74
+ {
75
+ key: "showFunnelMedianTime",
76
+ label: "Show Median Time",
77
+ type: "boolean",
78
+ defaultValue: !1,
79
+ description: "Display median time to convert"
80
+ },
81
+ {
82
+ key: "showFunnelP90Time",
83
+ label: "Show P90 Time",
84
+ type: "boolean",
85
+ defaultValue: !1,
86
+ description: "Display 90th percentile time to convert"
87
+ }
88
+ ]
89
+ };
90
+ //#endregion
91
+ export { n, t };
92
+
93
+ //# sourceMappingURL=chart-config-funnel-CXPYQtTl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart-config-funnel-CXPYQtTl.js","names":[],"sources":["../../../src/client/components/charts/FunnelChart.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the funnel chart type\n *\n * Funnel charts visualize sequential conversion data.\n * They work with data from useFunnelQuery which provides\n * pre-calculated step names, values, and conversion rates.\n */\nexport const funnelChartConfig: ChartTypeConfig = {\n label: 'Funnel Chart',\n description: 'Show conversion through sequential steps',\n useCase: 'Best for visualizing user journey funnels, sales pipelines, or multi-step processes',\n dropZones: [\n // Funnel charts don't use traditional drop zones since they work with\n // pre-calculated funnel data from useFunnelQuery. The steps are defined\n // in the funnel configuration, not through drag-and-drop.\n // However, we keep xAxis and yAxis for compatibility with chart system.\n {\n key: 'xAxis',\n label: 'Step Name',\n description: 'Step names (auto-populated from funnel steps)',\n mandatory: false,\n maxItems: 1,\n acceptTypes: ['dimension'],\n emptyText: 'Steps defined in funnel config'\n },\n {\n key: 'yAxis',\n label: 'Step Count',\n description: 'Count at each step (auto-calculated)',\n mandatory: false,\n maxItems: 1,\n acceptTypes: ['measure'],\n emptyText: 'Counts calculated from funnel execution'\n }\n ],\n displayOptions: ['hideHeader'],\n displayOptionsConfig: [\n {\n key: 'funnelStyle',\n label: 'Funnel Style',\n type: 'buttonGroup',\n defaultValue: 'bars',\n options: [\n { value: 'bars', label: 'Bars' },\n { value: 'funnel', label: 'Funnel' }\n ],\n description: 'Visualization style'\n },\n {\n key: 'funnelOrientation',\n label: 'Orientation',\n type: 'buttonGroup',\n defaultValue: 'horizontal',\n options: [\n { value: 'horizontal', label: 'Horizontal' },\n { value: 'vertical', label: 'Vertical' }\n ]\n },\n {\n key: 'hideSummaryFooter',\n label: 'Hide Summary Footer',\n type: 'boolean',\n defaultValue: false,\n description: 'Hide the summary footer showing steps count and overall conversion'\n },\n {\n key: 'showFunnelConversion',\n label: 'Show Conversion Rate',\n type: 'boolean',\n defaultValue: true,\n description: 'Display step-to-step conversion percentage'\n },\n {\n key: 'showFunnelAvgTime',\n label: 'Show Avg Time',\n type: 'boolean',\n defaultValue: false,\n description: 'Display average time to convert'\n },\n {\n key: 'showFunnelMedianTime',\n label: 'Show Median Time',\n type: 'boolean',\n defaultValue: false,\n description: 'Display median time to convert'\n },\n {\n key: 'showFunnelP90Time',\n label: 'Show P90 Time',\n type: 'boolean',\n defaultValue: false,\n description: 'Display 90th percentile time to convert'\n }\n ]\n}\n"],"mappings":";;2DASa,IAAqC;CAChD,OAAO;CACP,aAAa;CACb,SAAS;CACT,WAAW,CAKT;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,UAAU;EACV,aAAa,CAAC,YAAY;EAC1B,WAAW;EACZ,EACD;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,UAAU;EACV,aAAa,CAAC,UAAU;EACxB,WAAW;EACZ,CACF;CACD,gBAAgB,CAAC,aAAa;CAC9B,sBAAsB;EACpB;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,SAAS,CACP;IAAE,OAAO;IAAQ,OAAO;IAAQ,EAChC;IAAE,OAAO;IAAU,OAAO;IAAU,CACrC;GACD,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,SAAS,CACP;IAAE,OAAO;IAAc,OAAO;IAAc,EAC5C;IAAE,OAAO;IAAY,OAAO;IAAY,CACzC;GACF;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACF;CACF"}
@@ -0,0 +1,64 @@
1
+ import { n as e } from "./rolldown-runtime-lc2dmIiU.js";
2
+ //#region src/client/components/charts/GaugeChart.config.ts
3
+ var t = /* @__PURE__ */ e({ gaugeChartConfig: () => n }), n = {
4
+ label: "Gauge Chart",
5
+ description: "Half-circle arc gauge for a single KPI value versus a maximum target",
6
+ useCase: "Best for high-water marks vs equity, margin utilisation, or any single value progress toward a goal",
7
+ clickableElements: {},
8
+ displayOptions: ["hideHeader"],
9
+ dropZones: [{
10
+ key: "yAxis",
11
+ label: "Value Measure",
12
+ description: "Current value to display on the gauge (e.g. current equity, margin used)",
13
+ mandatory: !0,
14
+ maxItems: 2,
15
+ acceptTypes: ["measure"],
16
+ emptyText: "Drop 1 measure here (optional 2nd for dynamic max)"
17
+ }],
18
+ displayOptionsConfig: [
19
+ {
20
+ key: "minValue",
21
+ label: "Minimum Value",
22
+ type: "number",
23
+ defaultValue: 0,
24
+ description: "Lower bound of the gauge arc (default 0)"
25
+ },
26
+ {
27
+ key: "maxValue",
28
+ label: "Maximum Value (static)",
29
+ type: "number",
30
+ description: "Upper bound of the gauge. Leave empty to use yAxis[1] or default 100"
31
+ },
32
+ {
33
+ key: "thresholds",
34
+ label: "Threshold Bands",
35
+ type: "string",
36
+ placeholder: "[{\"value\":0.33,\"color\":\"#22c55e\"},{\"value\":0.66,\"color\":\"#f59e0b\"},{\"value\":1,\"color\":\"#ef4444\"}]",
37
+ description: "Array of {value (0–1 fraction), color} bands shown as outer arc markers"
38
+ },
39
+ {
40
+ key: "showCenterLabel",
41
+ label: "Show Centre Label",
42
+ type: "boolean",
43
+ defaultValue: !0,
44
+ description: "Display current value and field name in the centre of the gauge"
45
+ },
46
+ {
47
+ key: "showPercentage",
48
+ label: "Show as Percentage",
49
+ type: "boolean",
50
+ defaultValue: !1,
51
+ description: "Display value as % of max instead of raw number"
52
+ },
53
+ {
54
+ key: "leftYAxisFormat",
55
+ label: "Value Format",
56
+ type: "axisFormat",
57
+ description: "Number formatting for the displayed value and axis labels"
58
+ }
59
+ ]
60
+ };
61
+ //#endregion
62
+ export { n, t };
63
+
64
+ //# sourceMappingURL=chart-config-gauge-DUNEUCvh.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart-config-gauge-DUNEUCvh.js","names":[],"sources":["../../../src/client/components/charts/GaugeChart.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the gauge chart type\n */\nexport const gaugeChartConfig: ChartTypeConfig = {\n label: 'Gauge Chart',\n description: 'Half-circle arc gauge for a single KPI value versus a maximum target',\n useCase:\n 'Best for high-water marks vs equity, margin utilisation, or any single value progress toward a goal',\n clickableElements: {},\n displayOptions: ['hideHeader'],\n dropZones: [\n {\n key: 'yAxis',\n label: 'Value Measure',\n description: 'Current value to display on the gauge (e.g. current equity, margin used)',\n mandatory: true,\n maxItems: 2,\n acceptTypes: ['measure'],\n emptyText: 'Drop 1 measure here (optional 2nd for dynamic max)',\n },\n ],\n displayOptionsConfig: [\n {\n key: 'minValue',\n label: 'Minimum Value',\n type: 'number',\n defaultValue: 0,\n description: 'Lower bound of the gauge arc (default 0)',\n },\n {\n key: 'maxValue',\n label: 'Maximum Value (static)',\n type: 'number',\n description: 'Upper bound of the gauge. Leave empty to use yAxis[1] or default 100',\n },\n {\n key: 'thresholds',\n label: 'Threshold Bands',\n type: 'string',\n placeholder: '[{\"value\":0.33,\"color\":\"#22c55e\"},{\"value\":0.66,\"color\":\"#f59e0b\"},{\"value\":1,\"color\":\"#ef4444\"}]',\n description: 'Array of {value (0–1 fraction), color} bands shown as outer arc markers',\n },\n {\n key: 'showCenterLabel',\n label: 'Show Centre Label',\n type: 'boolean',\n defaultValue: true,\n description: 'Display current value and field name in the centre of the gauge',\n },\n {\n key: 'showPercentage',\n label: 'Show as Percentage',\n type: 'boolean',\n defaultValue: false,\n description: 'Display value as % of max instead of raw number',\n },\n {\n key: 'leftYAxisFormat',\n label: 'Value Format',\n type: 'axisFormat',\n description: 'Number formatting for the displayed value and axis labels',\n },\n ],\n}\n"],"mappings":";;0DAKa,IAAoC;CAC/C,OAAO;CACP,aAAa;CACb,SACE;CACF,mBAAmB,EAAE;CACrB,gBAAgB,CAAC,aAAa;CAC9B,WAAW,CACT;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,UAAU;EACV,aAAa,CAAC,UAAU;EACxB,WAAW;EACZ,CACF;CACD,sBAAsB;EACpB;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACb,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACF;CACF"}
@@ -0,0 +1,91 @@
1
+ import { n as e } from "./rolldown-runtime-lc2dmIiU.js";
2
+ //#region src/client/components/charts/HeatMapChart.config.ts
3
+ var t = /* @__PURE__ */ e({ heatmapChartConfig: () => n }), n = {
4
+ label: "Heatmap",
5
+ description: "Visualize intensity across two dimensions",
6
+ useCase: "Best for showing patterns in matrix data like correlations, schedules, or category comparisons",
7
+ dropZones: [
8
+ {
9
+ key: "xAxis",
10
+ label: "Columns (X-Axis)",
11
+ description: "Dimension for column categories",
12
+ mandatory: !0,
13
+ maxItems: 1,
14
+ acceptTypes: ["dimension"],
15
+ emptyText: "Drop one dimension here"
16
+ },
17
+ {
18
+ key: "yAxis",
19
+ label: "Rows (Y-Axis)",
20
+ description: "Dimension for row categories",
21
+ mandatory: !0,
22
+ maxItems: 1,
23
+ acceptTypes: ["dimension"],
24
+ emptyText: "Drop one dimension here"
25
+ },
26
+ {
27
+ key: "valueField",
28
+ label: "Value (Color Intensity)",
29
+ description: "Measure that determines cell color",
30
+ mandatory: !0,
31
+ maxItems: 1,
32
+ acceptTypes: ["measure"],
33
+ emptyText: "Drop one measure here"
34
+ }
35
+ ],
36
+ displayOptions: ["showLegend", "showTooltip"],
37
+ displayOptionsConfig: [
38
+ {
39
+ key: "showLabels",
40
+ label: "Show Cell Values",
41
+ type: "boolean",
42
+ defaultValue: !1,
43
+ description: "Display values inside each cell"
44
+ },
45
+ {
46
+ key: "cellShape",
47
+ label: "Cell Shape",
48
+ type: "select",
49
+ defaultValue: "rect",
50
+ options: [{
51
+ value: "rect",
52
+ label: "Rectangle"
53
+ }, {
54
+ value: "circle",
55
+ label: "Circle"
56
+ }]
57
+ },
58
+ {
59
+ key: "xAxisFormat",
60
+ label: "X-Axis Format",
61
+ type: "axisFormat",
62
+ description: "Number formatting for X-axis labels"
63
+ },
64
+ {
65
+ key: "yAxisFormat",
66
+ label: "Y-Axis Format",
67
+ type: "axisFormat",
68
+ description: "Number formatting for Y-axis labels"
69
+ },
70
+ {
71
+ key: "valueFormat",
72
+ label: "Value Format",
73
+ type: "axisFormat",
74
+ description: "Number formatting for cell values and legend"
75
+ }
76
+ ],
77
+ validate: (e) => e.xAxis?.length ? e.yAxis?.length ? e.valueField?.length ? { isValid: !0 } : {
78
+ isValid: !1,
79
+ message: "Value measure required"
80
+ } : {
81
+ isValid: !1,
82
+ message: "Y-axis dimension required"
83
+ } : {
84
+ isValid: !1,
85
+ message: "X-axis dimension required"
86
+ }
87
+ };
88
+ //#endregion
89
+ export { n, t };
90
+
91
+ //# sourceMappingURL=chart-config-heat-map-BFf1tO11.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart-config-heat-map-BFf1tO11.js","names":[],"sources":["../../../src/client/components/charts/HeatMapChart.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the heatmap chart type\n *\n * Heatmap charts visualize intensity across two dimensions as a color matrix.\n * Best for showing patterns in matrix data like correlations, schedules, or category comparisons.\n */\nexport const heatmapChartConfig: ChartTypeConfig = {\n label: 'Heatmap',\n description: 'Visualize intensity across two dimensions',\n useCase: 'Best for showing patterns in matrix data like correlations, schedules, or category comparisons',\n dropZones: [\n {\n key: 'xAxis',\n label: 'Columns (X-Axis)',\n description: 'Dimension for column categories',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['dimension'],\n emptyText: 'Drop one dimension here',\n },\n {\n key: 'yAxis',\n label: 'Rows (Y-Axis)',\n description: 'Dimension for row categories',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['dimension'],\n emptyText: 'Drop one dimension here',\n },\n {\n key: 'valueField',\n label: 'Value (Color Intensity)',\n description: 'Measure that determines cell color',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['measure'],\n emptyText: 'Drop one measure here',\n },\n ],\n displayOptions: ['showLegend', 'showTooltip'],\n displayOptionsConfig: [\n {\n key: 'showLabels',\n label: 'Show Cell Values',\n type: 'boolean',\n defaultValue: false,\n description: 'Display values inside each cell',\n },\n {\n key: 'cellShape',\n label: 'Cell Shape',\n type: 'select',\n defaultValue: 'rect',\n options: [\n { value: 'rect', label: 'Rectangle' },\n { value: 'circle', label: 'Circle' },\n ],\n },\n {\n key: 'xAxisFormat',\n label: 'X-Axis Format',\n type: 'axisFormat',\n description: 'Number formatting for X-axis labels',\n },\n {\n key: 'yAxisFormat',\n label: 'Y-Axis Format',\n type: 'axisFormat',\n description: 'Number formatting for Y-axis labels',\n },\n {\n key: 'valueFormat',\n label: 'Value Format',\n type: 'axisFormat',\n description: 'Number formatting for cell values and legend',\n },\n ],\n validate: (config) => {\n if (!config.xAxis?.length) return { isValid: false, message: 'X-axis dimension required' }\n if (!config.yAxis?.length) return { isValid: false, message: 'Y-axis dimension required' }\n if (!config.valueField?.length) return { isValid: false, message: 'Value measure required' }\n return { isValid: true }\n },\n}\n"],"mappings":";;4DAQa,IAAsC;CACjD,OAAO;CACP,aAAa;CACb,SAAS;CACT,WAAW;EACT;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,UAAU;GACV,aAAa,CAAC,YAAY;GAC1B,WAAW;GACZ;EACD;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,UAAU;GACV,aAAa,CAAC,YAAY;GAC1B,WAAW;GACZ;EACD;GACE,KAAK;GACL,OAAO;GACP,aAAa;GACb,WAAW;GACX,UAAU;GACV,aAAa,CAAC,UAAU;GACxB,WAAW;GACZ;EACF;CACD,gBAAgB,CAAC,cAAc,cAAc;CAC7C,sBAAsB;EACpB;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,SAAS,CACP;IAAE,OAAO;IAAQ,OAAO;IAAa,EACrC;IAAE,OAAO;IAAU,OAAO;IAAU,CACrC;GACF;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACF;CACD,WAAW,MACJ,EAAO,OAAO,SACd,EAAO,OAAO,SACd,EAAO,YAAY,SACjB,EAAE,SAAS,IAAM,GADe;EAAE,SAAS;EAAO,SAAS;EAA0B,GAD1D;EAAE,SAAS;EAAO,SAAS;EAA6B,GADxD;EAAE,SAAS;EAAO,SAAS;EAA6B;CAK7F"}
@@ -0,0 +1,94 @@
1
+ import { n as e } from "./rolldown-runtime-lc2dmIiU.js";
2
+ //#region src/client/components/charts/KpiDelta.config.ts
3
+ var t = /* @__PURE__ */ e({ kpiDeltaConfig: () => n }), n = {
4
+ label: "KPI Delta",
5
+ description: "Display change between latest and previous values with trend indicators",
6
+ useCase: "Perfect for showing performance changes over time, such as revenue growth, user acquisition changes, or other metrics where the trend and delta are more important than the absolute value",
7
+ dropZones: [{
8
+ key: "yAxis",
9
+ label: "Value",
10
+ description: "Measure to track changes for",
11
+ mandatory: !0,
12
+ maxItems: 1,
13
+ acceptTypes: ["measure"],
14
+ emptyText: "Drop a measure here"
15
+ }, {
16
+ key: "xAxis",
17
+ label: "Dimension (optional)",
18
+ description: "Dimension for ordering data (typically time)",
19
+ mandatory: !1,
20
+ maxItems: 1,
21
+ acceptTypes: ["dimension", "timeDimension"],
22
+ emptyText: "Drop a dimension for ordering"
23
+ }],
24
+ displayOptionsConfig: [
25
+ {
26
+ key: "prefix",
27
+ label: "Prefix",
28
+ type: "string",
29
+ placeholder: "e.g., $, €, #",
30
+ description: "Text to display before the number"
31
+ },
32
+ {
33
+ key: "suffix",
34
+ label: "Suffix",
35
+ type: "string",
36
+ placeholder: "e.g., %, units, items",
37
+ description: "Text to display after the number"
38
+ },
39
+ {
40
+ key: "decimals",
41
+ label: "Decimal Places",
42
+ type: "number",
43
+ defaultValue: 1,
44
+ min: 0,
45
+ max: 10,
46
+ step: 1,
47
+ description: "Number of decimal places to display"
48
+ },
49
+ {
50
+ key: "positiveColorIndex",
51
+ label: "Positive Change Color",
52
+ type: "paletteColor",
53
+ defaultValue: 2,
54
+ description: "Color for positive changes (increases)"
55
+ },
56
+ {
57
+ key: "negativeColorIndex",
58
+ label: "Negative Change Color",
59
+ type: "paletteColor",
60
+ defaultValue: 3,
61
+ description: "Color for negative changes (decreases)"
62
+ },
63
+ {
64
+ key: "showHistogram",
65
+ label: "Show Variance Histogram",
66
+ type: "boolean",
67
+ defaultValue: !0,
68
+ description: "Display historical variance chart below the delta"
69
+ },
70
+ {
71
+ key: "useLastCompletePeriod",
72
+ label: "Use Last Complete Period",
73
+ type: "boolean",
74
+ defaultValue: !0,
75
+ description: "Exclude current incomplete period from delta calculation (e.g., partial week/month)"
76
+ },
77
+ {
78
+ key: "skipLastPeriod",
79
+ label: "Skip Last Period",
80
+ type: "boolean",
81
+ defaultValue: !1,
82
+ description: "Always exclude the last period regardless of completeness"
83
+ }
84
+ ],
85
+ displayOptions: ["hideHeader"],
86
+ validate: (e) => !e.yAxis || Array.isArray(e.yAxis) && e.yAxis.length === 0 ? {
87
+ isValid: !1,
88
+ message: "A measure is required for KPI Delta charts"
89
+ } : { isValid: !0 }
90
+ };
91
+ //#endregion
92
+ export { n, t };
93
+
94
+ //# sourceMappingURL=chart-config-kpi-delta-C5k2waIJ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart-config-kpi-delta-C5k2waIJ.js","names":[],"sources":["../../../src/client/components/charts/KpiDelta.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the KPI Delta chart type\n */\nexport const kpiDeltaConfig: ChartTypeConfig = {\n label: 'KPI Delta',\n description: 'Display change between latest and previous values with trend indicators',\n useCase: 'Perfect for showing performance changes over time, such as revenue growth, user acquisition changes, or other metrics where the trend and delta are more important than the absolute value',\n dropZones: [\n {\n key: 'yAxis',\n label: 'Value',\n description: 'Measure to track changes for',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['measure'],\n emptyText: 'Drop a measure here'\n },\n {\n key: 'xAxis',\n label: 'Dimension (optional)',\n description: 'Dimension for ordering data (typically time)',\n mandatory: false,\n maxItems: 1,\n acceptTypes: ['dimension', 'timeDimension'],\n emptyText: 'Drop a dimension for ordering'\n }\n ],\n displayOptionsConfig: [\n {\n key: 'prefix',\n label: 'Prefix',\n type: 'string',\n placeholder: 'e.g., $, €, #',\n description: 'Text to display before the number'\n },\n {\n key: 'suffix',\n label: 'Suffix',\n type: 'string',\n placeholder: 'e.g., %, units, items',\n description: 'Text to display after the number'\n },\n {\n key: 'decimals',\n label: 'Decimal Places',\n type: 'number',\n defaultValue: 1,\n min: 0,\n max: 10,\n step: 1,\n description: 'Number of decimal places to display'\n },\n {\n key: 'positiveColorIndex',\n label: 'Positive Change Color',\n type: 'paletteColor',\n defaultValue: 2, // Typically green in most palettes\n description: 'Color for positive changes (increases)'\n },\n {\n key: 'negativeColorIndex',\n label: 'Negative Change Color', \n type: 'paletteColor',\n defaultValue: 3, // Typically red in most palettes\n description: 'Color for negative changes (decreases)'\n },\n {\n key: 'showHistogram',\n label: 'Show Variance Histogram',\n type: 'boolean',\n defaultValue: true,\n description: 'Display historical variance chart below the delta'\n },\n {\n key: 'useLastCompletePeriod',\n label: 'Use Last Complete Period',\n type: 'boolean',\n defaultValue: true,\n description: 'Exclude current incomplete period from delta calculation (e.g., partial week/month)'\n },\n {\n key: 'skipLastPeriod',\n label: 'Skip Last Period',\n type: 'boolean',\n defaultValue: false,\n description: 'Always exclude the last period regardless of completeness'\n }\n ],\n displayOptions: ['hideHeader'],\n validate: (config: any) => {\n if (!config.yAxis || (Array.isArray(config.yAxis) && config.yAxis.length === 0)) {\n return {\n isValid: false,\n message: 'A measure is required for KPI Delta charts'\n }\n }\n \n return { isValid: true }\n }\n}"],"mappings":";;wDAKa,IAAkC;CAC7C,OAAO;CACP,aAAa;CACb,SAAS;CACT,WAAW,CACT;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,UAAU;EACV,aAAa,CAAC,UAAU;EACxB,WAAW;EACZ,EACD;EACE,KAAK;EACL,OAAO;EACP,aAAa;EACb,WAAW;EACX,UAAU;EACV,aAAa,CAAC,aAAa,gBAAgB;EAC3C,WAAW;EACZ,CACF;CACD,sBAAsB;EACpB;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACb,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,aAAa;GACb,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,KAAK;GACL,KAAK;GACL,MAAM;GACN,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACD;GACE,KAAK;GACL,OAAO;GACP,MAAM;GACN,cAAc;GACd,aAAa;GACd;EACF;CACD,gBAAgB,CAAC,aAAa;CAC9B,WAAW,MACL,CAAC,EAAO,SAAU,MAAM,QAAQ,EAAO,MAAM,IAAI,EAAO,MAAM,WAAW,IACpE;EACL,SAAS;EACT,SAAS;EACV,GAGI,EAAE,SAAS,IAAM"}