drizzle-cube 0.4.52 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) hide show
  1. package/dist/adapters/express/index.cjs +2 -2
  2. package/dist/adapters/express/index.js +92 -83
  3. package/dist/adapters/fastify/index.cjs +2 -2
  4. package/dist/adapters/fastify/index.js +126 -116
  5. package/dist/adapters/{handler-RItnSaEl.js → handler-3LGcjLtr.js} +617 -612
  6. package/dist/adapters/handler-BzzbVpcl.cjs +25 -0
  7. package/dist/adapters/hono/index.cjs +1 -1
  8. package/dist/adapters/hono/index.js +94 -86
  9. package/dist/adapters/{compiler-D_o2IzHn.js → locale-DTnJrxm1.js} +1363 -1079
  10. package/dist/adapters/locale-DueXjqMh.cjs +198 -0
  11. package/dist/adapters/locale.d.ts +8 -0
  12. package/dist/adapters/mcp-tools.cjs +1 -1
  13. package/dist/adapters/mcp-tools.js +14 -14
  14. package/dist/adapters/mcp-transport-45SiFcCH.cjs +39 -0
  15. package/dist/adapters/mcp-transport-Bxpc4mRy.js +553 -0
  16. package/dist/adapters/mcp-transport.d.ts +11 -0
  17. package/dist/adapters/nextjs/index.cjs +1 -1
  18. package/dist/adapters/nextjs/index.js +138 -122
  19. package/dist/adapters/utils-DNrj-ryp.cjs +17 -0
  20. package/dist/adapters/{utils-IH1ePsBd.js → utils-DOg9oGdt.js} +2341 -819
  21. package/dist/adapters/utils.cjs +1 -1
  22. package/dist/adapters/utils.d.ts +7 -0
  23. package/dist/adapters/utils.js +1 -1
  24. package/dist/client/charts.js +12 -12
  25. package/dist/client/chunks/{DashboardEditModal-BTdV528l.js → DashboardEditModal-cSSIAZGy.js} +1968 -1973
  26. package/dist/client/chunks/DashboardEditModal-cSSIAZGy.js.map +1 -0
  27. package/dist/client/chunks/{FieldSearchModal-D75vy4Wb.js → FieldSearchModal-CZNo4pNK.js} +550 -536
  28. package/dist/client/chunks/FieldSearchModal-CZNo4pNK.js.map +1 -0
  29. package/dist/client/chunks/KpiDelta-Dll_eCV1.js +2 -0
  30. package/dist/client/chunks/KpiNumber-BPlR92hI.js +2 -0
  31. package/dist/client/chunks/KpiText-BIxq7Jso.js +2 -0
  32. package/dist/client/chunks/{RetentionCombinedChart-DIhK5pD8.js → RetentionCombinedChart-BD8tGeM_.js} +96 -96
  33. package/dist/client/chunks/RetentionCombinedChart-BD8tGeM_.js.map +1 -0
  34. package/dist/client/chunks/{RetentionHeatmap-CyREolyP.js → RetentionHeatmap-B_5sewwi.js} +77 -77
  35. package/dist/client/chunks/RetentionHeatmap-B_5sewwi.js.map +1 -0
  36. package/dist/client/chunks/SchemaVisualization-CCICjhvv.js +2 -0
  37. package/dist/client/chunks/SchemaVisualizationLazy-DraGsMx6.js +2 -0
  38. package/dist/client/chunks/af-ZA-xDmO5F0s.js +1431 -0
  39. package/dist/client/chunks/af-ZA-xDmO5F0s.js.map +1 -0
  40. package/dist/client/chunks/{analysis-builder-C1CJ0c7L.js → analysis-builder-BeVZhiQ5.js} +1519 -1507
  41. package/dist/client/chunks/analysis-builder-BeVZhiQ5.js.map +1 -0
  42. package/dist/client/chunks/{analysis-builder-shared-rkjJfWLT.js → analysis-builder-shared-BWc7ZZnG.js} +925 -954
  43. package/dist/client/chunks/analysis-builder-shared-BWc7ZZnG.js.map +1 -0
  44. package/dist/client/chunks/chart-activity-grid-CWT0gLv4.js +2376 -0
  45. package/dist/client/chunks/chart-activity-grid-CWT0gLv4.js.map +1 -0
  46. package/dist/client/chunks/{chart-area-BwYaflNk.js → chart-area-D63kG8OT.js} +157 -157
  47. package/dist/client/chunks/chart-area-D63kG8OT.js.map +1 -0
  48. package/dist/client/chunks/{chart-bar-BiENfFgE.js → chart-bar-BEfsCLjl.js} +78 -78
  49. package/dist/client/chunks/chart-bar-BEfsCLjl.js.map +1 -0
  50. package/dist/client/chunks/{chart-box-plot-BJF1tBXC.js → chart-box-plot-o-h9MRX5.js} +111 -114
  51. package/dist/client/chunks/chart-box-plot-o-h9MRX5.js.map +1 -0
  52. package/dist/client/chunks/{chart-bubble-DQQhGVDJ.js → chart-bubble-CMDp4Pfm.js} +121 -121
  53. package/dist/client/chunks/chart-bubble-CMDp4Pfm.js.map +1 -0
  54. package/dist/client/chunks/chart-candlestick-WyANJ0Ky.js +303 -0
  55. package/dist/client/chunks/chart-candlestick-WyANJ0Ky.js.map +1 -0
  56. package/dist/client/chunks/chart-config-activity-grid-C-EkgYoa.js +51 -0
  57. package/dist/client/chunks/chart-config-activity-grid-C-EkgYoa.js.map +1 -0
  58. package/dist/client/chunks/chart-config-area-CMZpbIah.js +93 -0
  59. package/dist/client/chunks/chart-config-area-CMZpbIah.js.map +1 -0
  60. package/dist/client/chunks/chart-config-bar-B8_V4YLg.js +87 -0
  61. package/dist/client/chunks/chart-config-bar-B8_V4YLg.js.map +1 -0
  62. package/dist/client/chunks/chart-config-box-plot-Dwj7sEbU.js +35 -0
  63. package/dist/client/chunks/chart-config-box-plot-Dwj7sEbU.js.map +1 -0
  64. package/dist/client/chunks/chart-config-bubble-B0w0ZVp4.js +82 -0
  65. package/dist/client/chunks/chart-config-bubble-B0w0ZVp4.js.map +1 -0
  66. package/dist/client/chunks/chart-config-candlestick-Bvo3zeIn.js +72 -0
  67. package/dist/client/chunks/chart-config-candlestick-Bvo3zeIn.js.map +1 -0
  68. package/dist/client/chunks/{chart-config-data-table-Bhdx5Hem.js → chart-config-data-table-BQXSn4b_.js} +9 -9
  69. package/dist/client/chunks/chart-config-data-table-BQXSn4b_.js.map +1 -0
  70. package/dist/client/chunks/chart-config-funnel-BzEsHmjR.js +93 -0
  71. package/dist/client/chunks/chart-config-funnel-BzEsHmjR.js.map +1 -0
  72. package/dist/client/chunks/chart-config-gauge-C5ZiyZy7.js +64 -0
  73. package/dist/client/chunks/chart-config-gauge-C5ZiyZy7.js.map +1 -0
  74. package/dist/client/chunks/chart-config-heat-map-Cv8qNnVP.js +91 -0
  75. package/dist/client/chunks/chart-config-heat-map-Cv8qNnVP.js.map +1 -0
  76. package/dist/client/chunks/chart-config-kpi-delta-BraHQc2E.js +94 -0
  77. package/dist/client/chunks/chart-config-kpi-delta-BraHQc2E.js.map +1 -0
  78. package/dist/client/chunks/chart-config-kpi-number-CeCkx7mC.js +75 -0
  79. package/dist/client/chunks/chart-config-kpi-number-CeCkx7mC.js.map +1 -0
  80. package/dist/client/chunks/chart-config-kpi-text-CImM3SvH.js +47 -0
  81. package/dist/client/chunks/chart-config-kpi-text-CImM3SvH.js.map +1 -0
  82. package/dist/client/chunks/chart-config-line-BVKapAQK.js +104 -0
  83. package/dist/client/chunks/chart-config-line-BVKapAQK.js.map +1 -0
  84. package/dist/client/chunks/chart-config-markdown-C-_g_8te.js +117 -0
  85. package/dist/client/chunks/chart-config-markdown-C-_g_8te.js.map +1 -0
  86. package/dist/client/chunks/chart-config-measure-profile-KTVV1gO3.js +82 -0
  87. package/dist/client/chunks/chart-config-measure-profile-KTVV1gO3.js.map +1 -0
  88. package/dist/client/chunks/chart-config-pie-BZxVl25X.js +68 -0
  89. package/dist/client/chunks/chart-config-pie-BZxVl25X.js.map +1 -0
  90. package/dist/client/chunks/chart-config-radar-B7FByX3t.js +49 -0
  91. package/dist/client/chunks/chart-config-radar-B7FByX3t.js.map +1 -0
  92. package/dist/client/chunks/chart-config-radial-bar-UfW_3yyX.js +38 -0
  93. package/dist/client/chunks/chart-config-radial-bar-UfW_3yyX.js.map +1 -0
  94. package/dist/client/chunks/chart-config-sankey-DGAThN9i.js +66 -0
  95. package/dist/client/chunks/chart-config-sankey-DGAThN9i.js.map +1 -0
  96. package/dist/client/chunks/chart-config-scatter-BVVJuOnt.js +61 -0
  97. package/dist/client/chunks/chart-config-scatter-BVVJuOnt.js.map +1 -0
  98. package/dist/client/chunks/chart-config-sunburst-utejM2YS.js +45 -0
  99. package/dist/client/chunks/chart-config-sunburst-utejM2YS.js.map +1 -0
  100. package/dist/client/chunks/chart-config-tree-map-IHp97OyV.js +51 -0
  101. package/dist/client/chunks/chart-config-tree-map-IHp97OyV.js.map +1 -0
  102. package/dist/client/chunks/chart-config-waterfall-BdqG1V-x.js +59 -0
  103. package/dist/client/chunks/chart-config-waterfall-BdqG1V-x.js.map +1 -0
  104. package/dist/client/chunks/{chart-data-table-2iCsn0CF.js → chart-data-table-C3Xh9jwL.js} +1083 -1086
  105. package/dist/client/chunks/chart-data-table-C3Xh9jwL.js.map +1 -0
  106. package/dist/client/chunks/{chart-funnel-poyOf7-e.js → chart-funnel-C7pgktN5.js} +132 -132
  107. package/dist/client/chunks/chart-funnel-C7pgktN5.js.map +1 -0
  108. package/dist/client/chunks/{chart-gauge-D5J4gRky.js → chart-gauge-D2r2B_AR.js} +150 -150
  109. package/dist/client/chunks/chart-gauge-D2r2B_AR.js.map +1 -0
  110. package/dist/client/chunks/{chart-heat-map-BAMVhLGG.js → chart-heat-map-Dw2yjwfO.js} +75 -80
  111. package/dist/client/chunks/chart-heat-map-Dw2yjwfO.js.map +1 -0
  112. package/dist/client/chunks/{chart-kpi-delta-KQjUIeal.js → chart-kpi-delta-CYE0S1x_.js} +117 -117
  113. package/dist/client/chunks/chart-kpi-delta-CYE0S1x_.js.map +1 -0
  114. package/dist/client/chunks/chart-kpi-number-BlZ79xHW.js +321 -0
  115. package/dist/client/chunks/chart-kpi-number-BlZ79xHW.js.map +1 -0
  116. package/dist/client/chunks/chart-kpi-text-DY1BnxPe.js +148 -0
  117. package/dist/client/chunks/chart-kpi-text-DY1BnxPe.js.map +1 -0
  118. package/dist/client/chunks/{chart-line-B5_WntY5.js → chart-line-CBsTThTv.js} +123 -123
  119. package/dist/client/chunks/chart-line-CBsTThTv.js.map +1 -0
  120. package/dist/client/chunks/chart-markdown-BWaWVkuz.js +3474 -0
  121. package/dist/client/chunks/chart-markdown-BWaWVkuz.js.map +1 -0
  122. package/dist/client/chunks/chart-measure-profile-B41qCTBG.js +179 -0
  123. package/dist/client/chunks/chart-measure-profile-B41qCTBG.js.map +1 -0
  124. package/dist/client/chunks/chart-pie-Djbu8x2v.js +172 -0
  125. package/dist/client/chunks/chart-pie-Djbu8x2v.js.map +1 -0
  126. package/dist/client/chunks/chart-radar-BsTcKV0K.js +154 -0
  127. package/dist/client/chunks/chart-radar-BsTcKV0K.js.map +1 -0
  128. package/dist/client/chunks/chart-radial-bar-Du7XNnwE.js +148 -0
  129. package/dist/client/chunks/chart-radial-bar-Du7XNnwE.js.map +1 -0
  130. package/dist/client/chunks/{chart-sankey-BOyxfG1Q.js → chart-sankey-WwkZAhLy.js} +73 -73
  131. package/dist/client/chunks/chart-sankey-WwkZAhLy.js.map +1 -0
  132. package/dist/client/chunks/chart-scatter-D8krEYsA.js +255 -0
  133. package/dist/client/chunks/chart-scatter-D8krEYsA.js.map +1 -0
  134. package/dist/client/chunks/{chart-sunburst-D9lGEOCc.js → chart-sunburst-CIDB_pTl.js} +66 -66
  135. package/dist/client/chunks/chart-sunburst-CIDB_pTl.js.map +1 -0
  136. package/dist/client/chunks/chart-tree-map-C5C2iaWM.js +298 -0
  137. package/dist/client/chunks/chart-tree-map-C5C2iaWM.js.map +1 -0
  138. package/dist/client/chunks/{chart-waterfall-BCdUx4DC.js → chart-waterfall-BGdPrJ5Y.js} +80 -80
  139. package/dist/client/chunks/chart-waterfall-BGdPrJ5Y.js.map +1 -0
  140. package/dist/client/chunks/{charts-core-C5Yokk-x.js → charts-core-BXOqaYFn.js} +92 -92
  141. package/dist/client/chunks/charts-core-BXOqaYFn.js.map +1 -0
  142. package/dist/client/chunks/en-US-5xPTdCXg.js +35 -0
  143. package/dist/client/chunks/en-US-5xPTdCXg.js.map +1 -0
  144. package/dist/client/chunks/nl-NL-vCifBijs.js +1491 -0
  145. package/dist/client/chunks/nl-NL-vCifBijs.js.map +1 -0
  146. package/dist/client/chunks/{schema-visualization-t1KiOORo.js → schema-visualization-Xp60Ff2W.js} +352 -364
  147. package/dist/client/chunks/schema-visualization-Xp60Ff2W.js.map +1 -0
  148. package/dist/client/chunks/{useDebounce-CKqkM42n.js → useDebounce-CfmUMFau.js} +85 -85
  149. package/dist/client/chunks/useDebounce-CfmUMFau.js.map +1 -0
  150. package/dist/client/chunks/{useExplainAI-DBIfYwz-.js → useExplainAI-BKGmejIj.js} +4 -4
  151. package/dist/client/chunks/{useExplainAI-DBIfYwz-.js.map → useExplainAI-BKGmejIj.js.map} +1 -1
  152. package/dist/client/chunks/{utils--qCr8Yn5.js → utils-BldkcRHv.js} +2 -2
  153. package/dist/client/chunks/{utils--qCr8Yn5.js.map → utils-BldkcRHv.js.map} +1 -1
  154. package/dist/client/chunks/{vendor-BRlsCGnK.js → vendor-ClXpIiea.js} +2 -2
  155. package/dist/client/chunks/{vendor-BRlsCGnK.js.map → vendor-ClXpIiea.js.map} +1 -1
  156. package/dist/client/components/AnalysisBuilder/types.d.ts +6 -6
  157. package/dist/client/components.js +3 -3
  158. package/dist/client/hooks/useTranslation.d.ts +21 -0
  159. package/dist/client/hooks.js +3 -3
  160. package/dist/client/icons.js +1 -1
  161. package/dist/client/index.js +493 -488
  162. package/dist/client/index.js.map +1 -1
  163. package/dist/client/providers/CubeApiProvider.d.ts +2 -1
  164. package/dist/client/providers/CubeProvider.d.ts +7 -1
  165. package/dist/client/providers/I18nProvider.d.ts +18 -0
  166. package/dist/client/providers.js +1 -1
  167. package/dist/client/schema.js +1 -1
  168. package/dist/client/shared/types.d.ts +5 -20
  169. package/dist/client/styles.css +1 -1
  170. package/dist/client/utils.js +5 -5
  171. package/dist/client-bundle-stats.html +1 -1
  172. package/dist/mcp-app/mcp-app.html +26 -24
  173. package/dist/server/index.cjs +42 -40
  174. package/dist/server/index.js +3353 -1567
  175. package/package.json +5 -2
  176. package/dist/adapters/compiler-Bbsijr3W.cjs +0 -198
  177. package/dist/adapters/handler-DumFgnNM.cjs +0 -25
  178. package/dist/adapters/mcp-transport-C6bsIOSV.js +0 -545
  179. package/dist/adapters/mcp-transport-DMhuYmFp.cjs +0 -39
  180. package/dist/adapters/utils-CyBt-as9.cjs +0 -15
  181. package/dist/client/chunks/DashboardEditModal-BTdV528l.js.map +0 -1
  182. package/dist/client/chunks/FieldSearchModal-D75vy4Wb.js.map +0 -1
  183. package/dist/client/chunks/KpiDelta-Bk8bzKYM.js +0 -2
  184. package/dist/client/chunks/KpiNumber-CKF-8e_T.js +0 -2
  185. package/dist/client/chunks/KpiText-Iz1vIvu_.js +0 -2
  186. package/dist/client/chunks/RetentionCombinedChart-DIhK5pD8.js.map +0 -1
  187. package/dist/client/chunks/RetentionHeatmap-CyREolyP.js.map +0 -1
  188. package/dist/client/chunks/SchemaVisualization-B1GUT-FM.js +0 -2
  189. package/dist/client/chunks/SchemaVisualizationLazy-DymwT34e.js +0 -2
  190. package/dist/client/chunks/analysis-builder-C1CJ0c7L.js.map +0 -1
  191. package/dist/client/chunks/analysis-builder-shared-rkjJfWLT.js.map +0 -1
  192. package/dist/client/chunks/chart-activity-grid-DLktOINm.js +0 -806
  193. package/dist/client/chunks/chart-activity-grid-DLktOINm.js.map +0 -1
  194. package/dist/client/chunks/chart-area-BwYaflNk.js.map +0 -1
  195. package/dist/client/chunks/chart-bar-BiENfFgE.js.map +0 -1
  196. package/dist/client/chunks/chart-box-plot-BJF1tBXC.js.map +0 -1
  197. package/dist/client/chunks/chart-bubble-DQQhGVDJ.js.map +0 -1
  198. package/dist/client/chunks/chart-candlestick-C2UuXbLe.js +0 -306
  199. package/dist/client/chunks/chart-candlestick-C2UuXbLe.js.map +0 -1
  200. package/dist/client/chunks/chart-config-activity-grid-DJOU3TEz.js +0 -51
  201. package/dist/client/chunks/chart-config-activity-grid-DJOU3TEz.js.map +0 -1
  202. package/dist/client/chunks/chart-config-area-CWnWVT6a.js +0 -93
  203. package/dist/client/chunks/chart-config-area-CWnWVT6a.js.map +0 -1
  204. package/dist/client/chunks/chart-config-bar-C-7Dr1Ho.js +0 -87
  205. package/dist/client/chunks/chart-config-bar-C-7Dr1Ho.js.map +0 -1
  206. package/dist/client/chunks/chart-config-box-plot-mVOwmLdu.js +0 -35
  207. package/dist/client/chunks/chart-config-box-plot-mVOwmLdu.js.map +0 -1
  208. package/dist/client/chunks/chart-config-bubble-BPE2CeiD.js +0 -82
  209. package/dist/client/chunks/chart-config-bubble-BPE2CeiD.js.map +0 -1
  210. package/dist/client/chunks/chart-config-candlestick-BSB9DRy2.js +0 -72
  211. package/dist/client/chunks/chart-config-candlestick-BSB9DRy2.js.map +0 -1
  212. package/dist/client/chunks/chart-config-data-table-Bhdx5Hem.js.map +0 -1
  213. package/dist/client/chunks/chart-config-funnel-Cl-v-bm1.js +0 -93
  214. package/dist/client/chunks/chart-config-funnel-Cl-v-bm1.js.map +0 -1
  215. package/dist/client/chunks/chart-config-gauge-CdrUTJMJ.js +0 -64
  216. package/dist/client/chunks/chart-config-gauge-CdrUTJMJ.js.map +0 -1
  217. package/dist/client/chunks/chart-config-heat-map-DGE3NzoF.js +0 -91
  218. package/dist/client/chunks/chart-config-heat-map-DGE3NzoF.js.map +0 -1
  219. package/dist/client/chunks/chart-config-kpi-delta-DMrQerUW.js +0 -94
  220. package/dist/client/chunks/chart-config-kpi-delta-DMrQerUW.js.map +0 -1
  221. package/dist/client/chunks/chart-config-kpi-number-DCytCytn.js +0 -75
  222. package/dist/client/chunks/chart-config-kpi-number-DCytCytn.js.map +0 -1
  223. package/dist/client/chunks/chart-config-kpi-text-KdKQUvHo.js +0 -47
  224. package/dist/client/chunks/chart-config-kpi-text-KdKQUvHo.js.map +0 -1
  225. package/dist/client/chunks/chart-config-line-Bl9VDAdz.js +0 -104
  226. package/dist/client/chunks/chart-config-line-Bl9VDAdz.js.map +0 -1
  227. package/dist/client/chunks/chart-config-markdown-BX26b94i.js +0 -117
  228. package/dist/client/chunks/chart-config-markdown-BX26b94i.js.map +0 -1
  229. package/dist/client/chunks/chart-config-measure-profile-DwtRhEFh.js +0 -82
  230. package/dist/client/chunks/chart-config-measure-profile-DwtRhEFh.js.map +0 -1
  231. package/dist/client/chunks/chart-config-pie-BzBcqPMJ.js +0 -68
  232. package/dist/client/chunks/chart-config-pie-BzBcqPMJ.js.map +0 -1
  233. package/dist/client/chunks/chart-config-radar-6ZOgt__z.js +0 -49
  234. package/dist/client/chunks/chart-config-radar-6ZOgt__z.js.map +0 -1
  235. package/dist/client/chunks/chart-config-radial-bar-Df6Eta7N.js +0 -38
  236. package/dist/client/chunks/chart-config-radial-bar-Df6Eta7N.js.map +0 -1
  237. package/dist/client/chunks/chart-config-sankey-DgqKBFvN.js +0 -66
  238. package/dist/client/chunks/chart-config-sankey-DgqKBFvN.js.map +0 -1
  239. package/dist/client/chunks/chart-config-scatter-D5nVLDvi.js +0 -61
  240. package/dist/client/chunks/chart-config-scatter-D5nVLDvi.js.map +0 -1
  241. package/dist/client/chunks/chart-config-sunburst-Ca3FX9nW.js +0 -45
  242. package/dist/client/chunks/chart-config-sunburst-Ca3FX9nW.js.map +0 -1
  243. package/dist/client/chunks/chart-config-tree-map-Bjy4QNa3.js +0 -51
  244. package/dist/client/chunks/chart-config-tree-map-Bjy4QNa3.js.map +0 -1
  245. package/dist/client/chunks/chart-config-waterfall-C5K2eqR7.js +0 -59
  246. package/dist/client/chunks/chart-config-waterfall-C5K2eqR7.js.map +0 -1
  247. package/dist/client/chunks/chart-data-table-2iCsn0CF.js.map +0 -1
  248. package/dist/client/chunks/chart-funnel-poyOf7-e.js.map +0 -1
  249. package/dist/client/chunks/chart-gauge-D5J4gRky.js.map +0 -1
  250. package/dist/client/chunks/chart-heat-map-BAMVhLGG.js.map +0 -1
  251. package/dist/client/chunks/chart-kpi-delta-KQjUIeal.js.map +0 -1
  252. package/dist/client/chunks/chart-kpi-number-CsQgV_x3.js +0 -325
  253. package/dist/client/chunks/chart-kpi-number-CsQgV_x3.js.map +0 -1
  254. package/dist/client/chunks/chart-kpi-text-BR0IyeUU.js +0 -148
  255. package/dist/client/chunks/chart-kpi-text-BR0IyeUU.js.map +0 -1
  256. package/dist/client/chunks/chart-line-B5_WntY5.js.map +0 -1
  257. package/dist/client/chunks/chart-markdown-B6bENbel.js +0 -3473
  258. package/dist/client/chunks/chart-markdown-B6bENbel.js.map +0 -1
  259. package/dist/client/chunks/chart-measure-profile-yWk-obNb.js +0 -179
  260. package/dist/client/chunks/chart-measure-profile-yWk-obNb.js.map +0 -1
  261. package/dist/client/chunks/chart-pie-BodrUoHv.js +0 -172
  262. package/dist/client/chunks/chart-pie-BodrUoHv.js.map +0 -1
  263. package/dist/client/chunks/chart-radar-gG3zfLud.js +0 -154
  264. package/dist/client/chunks/chart-radar-gG3zfLud.js.map +0 -1
  265. package/dist/client/chunks/chart-radial-bar-C2IPCV8c.js +0 -148
  266. package/dist/client/chunks/chart-radial-bar-C2IPCV8c.js.map +0 -1
  267. package/dist/client/chunks/chart-sankey-BOyxfG1Q.js.map +0 -1
  268. package/dist/client/chunks/chart-scatter-B8OwlsAX.js +0 -255
  269. package/dist/client/chunks/chart-scatter-B8OwlsAX.js.map +0 -1
  270. package/dist/client/chunks/chart-sunburst-D9lGEOCc.js.map +0 -1
  271. package/dist/client/chunks/chart-tree-map-DZaKy9he.js +0 -298
  272. package/dist/client/chunks/chart-tree-map-DZaKy9he.js.map +0 -1
  273. package/dist/client/chunks/chart-waterfall-BCdUx4DC.js.map +0 -1
  274. package/dist/client/chunks/charts-core-C5Yokk-x.js.map +0 -1
  275. package/dist/client/chunks/schema-visualization-t1KiOORo.js.map +0 -1
  276. package/dist/client/chunks/useDebounce-CKqkM42n.js.map +0 -1
@@ -1,82 +0,0 @@
1
- import { n as e } from "./rolldown-runtime-CCl2IeXn.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-BPE2CeiD.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chart-config-bubble-BPE2CeiD.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"}
@@ -1,72 +0,0 @@
1
- import { n as e } from "./rolldown-runtime-CCl2IeXn.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-BSB9DRy2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chart-config-candlestick-BSB9DRy2.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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"chart-config-data-table-Bhdx5Hem.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"}
@@ -1,93 +0,0 @@
1
- import { n as e } from "./rolldown-runtime-CCl2IeXn.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-Cl-v-bm1.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chart-config-funnel-Cl-v-bm1.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"}
@@ -1,64 +0,0 @@
1
- import { n as e } from "./rolldown-runtime-CCl2IeXn.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-CdrUTJMJ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chart-config-gauge-CdrUTJMJ.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"}
@@ -1,91 +0,0 @@
1
- import { n as e } from "./rolldown-runtime-CCl2IeXn.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-DGE3NzoF.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chart-config-heat-map-DGE3NzoF.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"}
@@ -1,94 +0,0 @@
1
- import { n as e } from "./rolldown-runtime-CCl2IeXn.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-DMrQerUW.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chart-config-kpi-delta-DMrQerUW.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"}
@@ -1,75 +0,0 @@
1
- import { n as e } from "./rolldown-runtime-CCl2IeXn.js";
2
- //#region src/client/components/charts/KpiNumber.config.ts
3
- var t = /* @__PURE__ */ e({ kpiNumberConfig: () => n }), n = {
4
- label: "KPI Number",
5
- description: "Display key performance indicators as large numbers",
6
- useCase: "Perfect for showing important metrics like revenue, user count, or other key business metrics in a prominent, easy-to-read format",
7
- dropZones: [{
8
- key: "yAxis",
9
- label: "Value",
10
- description: "Measure to display as KPI number",
11
- mandatory: !0,
12
- maxItems: 1,
13
- acceptTypes: ["measure"],
14
- emptyText: "Drop a measure here"
15
- }],
16
- displayOptionsConfig: [
17
- {
18
- key: "target",
19
- label: "Target Value",
20
- type: "string",
21
- placeholder: "e.g., 100",
22
- description: "Target value to compare against (first value used if multiple provided)"
23
- },
24
- {
25
- key: "prefix",
26
- label: "Prefix",
27
- type: "string",
28
- placeholder: "e.g., $, €, #",
29
- description: "Text to display before the number"
30
- },
31
- {
32
- key: "suffix",
33
- label: "Suffix",
34
- type: "string",
35
- placeholder: "e.g., %, units, items",
36
- description: "Text to display after the number"
37
- },
38
- {
39
- key: "decimals",
40
- label: "Decimal Places",
41
- type: "number",
42
- defaultValue: 0,
43
- min: 0,
44
- max: 10,
45
- step: 1,
46
- description: "Number of decimal places to display"
47
- },
48
- {
49
- key: "valueColorIndex",
50
- label: "Value Color",
51
- type: "paletteColor",
52
- defaultValue: 0,
53
- description: "Color from the dashboard palette for the KPI value text"
54
- },
55
- {
56
- key: "useLastCompletePeriod",
57
- label: "Use Last Complete Period",
58
- type: "boolean",
59
- defaultValue: !0,
60
- description: "Exclude current incomplete period from aggregation (e.g., partial week/month)"
61
- },
62
- {
63
- key: "skipLastPeriod",
64
- label: "Skip Last Period",
65
- type: "boolean",
66
- defaultValue: !1,
67
- description: "Always exclude the last period regardless of completeness"
68
- }
69
- ],
70
- displayOptions: ["hideHeader"]
71
- };
72
- //#endregion
73
- export { n, t };
74
-
75
- //# sourceMappingURL=chart-config-kpi-number-DCytCytn.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chart-config-kpi-number-DCytCytn.js","names":[],"sources":["../../../src/client/components/charts/KpiNumber.config.ts"],"sourcesContent":["import type { ChartTypeConfig } from '../../charts/chartConfigs'\n\n/**\n * Configuration for the KPI Number chart type\n */\nexport const kpiNumberConfig: ChartTypeConfig = {\n label: 'KPI Number',\n description: 'Display key performance indicators as large numbers',\n useCase: 'Perfect for showing important metrics like revenue, user count, or other key business metrics in a prominent, easy-to-read format',\n dropZones: [\n {\n key: 'yAxis',\n label: 'Value',\n description: 'Measure to display as KPI number',\n mandatory: true,\n maxItems: 1,\n acceptTypes: ['measure'],\n emptyText: 'Drop a measure here'\n }\n ],\n displayOptionsConfig: [\n {\n key: 'target',\n label: 'Target Value',\n type: 'string',\n placeholder: 'e.g., 100',\n description: 'Target value to compare against (first value used if multiple provided)'\n },\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: 0,\n min: 0,\n max: 10,\n step: 1,\n description: 'Number of decimal places to display'\n },\n {\n key: 'valueColorIndex',\n label: 'Value Color',\n type: 'paletteColor',\n defaultValue: 0,\n description: 'Color from the dashboard palette for the KPI value text'\n },\n {\n key: 'useLastCompletePeriod',\n label: 'Use Last Complete Period',\n type: 'boolean',\n defaultValue: true,\n description: 'Exclude current incomplete period from aggregation (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}"],"mappings":";;yDAKa,IAAmC;CAC9C,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,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,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;EACF;CACD,gBAAgB,CAAC,aAAa"}