@luzmo/dashboard-contents-types 1.0.33 → 1.0.35

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 (528) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/assets/json-schemas/ai-summary-options.schema.json.cjs +1 -1
  3. package/assets/json-schemas/ai-summary-options.schema.json.d.ts +1 -1
  4. package/assets/json-schemas/ai-summary-options.schema.json.js +1 -1
  5. package/assets/json-schemas/ai-summary.schema.json.cjs +1 -1
  6. package/assets/json-schemas/ai-summary.schema.json.d.ts +2 -2
  7. package/assets/json-schemas/ai-summary.schema.json.js +1 -1
  8. package/assets/json-schemas/area-chart-options.schema.json.cjs +1 -1
  9. package/assets/json-schemas/area-chart-options.schema.json.d.ts +21 -1
  10. package/assets/json-schemas/area-chart-options.schema.json.js +1 -1
  11. package/assets/json-schemas/area-chart-slots.schema.json.cjs +1 -1
  12. package/assets/json-schemas/area-chart-slots.schema.json.d.ts +28 -22
  13. package/assets/json-schemas/area-chart-slots.schema.json.js +1 -1
  14. package/assets/json-schemas/area-chart.schema.json.cjs +1 -1
  15. package/assets/json-schemas/area-chart.schema.json.d.ts +3 -3
  16. package/assets/json-schemas/area-chart.schema.json.js +1 -1
  17. package/assets/json-schemas/bar-chart-options.schema.json.cjs +1 -1
  18. package/assets/json-schemas/bar-chart-options.schema.json.d.ts +21 -1
  19. package/assets/json-schemas/bar-chart-options.schema.json.js +1 -1
  20. package/assets/json-schemas/bar-chart-slots.schema.json.cjs +1 -1
  21. package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +28 -22
  22. package/assets/json-schemas/bar-chart-slots.schema.json.js +1 -1
  23. package/assets/json-schemas/bar-chart.schema.json.cjs +1 -1
  24. package/assets/json-schemas/bar-chart.schema.json.d.ts +3 -3
  25. package/assets/json-schemas/bar-chart.schema.json.js +1 -1
  26. package/assets/json-schemas/box-plot-options.schema.json.cjs +1 -1
  27. package/assets/json-schemas/box-plot-options.schema.json.d.ts +7 -1
  28. package/assets/json-schemas/box-plot-options.schema.json.js +1 -1
  29. package/assets/json-schemas/box-plot-slots.schema.json.cjs +1 -1
  30. package/assets/json-schemas/box-plot-slots.schema.json.d.ts +22 -16
  31. package/assets/json-schemas/box-plot-slots.schema.json.js +1 -1
  32. package/assets/json-schemas/box-plot.schema.json.cjs +1 -1
  33. package/assets/json-schemas/box-plot.schema.json.d.ts +3 -3
  34. package/assets/json-schemas/box-plot.schema.json.js +1 -1
  35. package/assets/json-schemas/bubble-chart-options.schema.json.cjs +1 -1
  36. package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +21 -1
  37. package/assets/json-schemas/bubble-chart-options.schema.json.js +1 -1
  38. package/assets/json-schemas/bubble-chart-slots.schema.json.cjs +1 -1
  39. package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +28 -22
  40. package/assets/json-schemas/bubble-chart-slots.schema.json.js +1 -1
  41. package/assets/json-schemas/bubble-chart.schema.json.cjs +1 -1
  42. package/assets/json-schemas/bubble-chart.schema.json.d.ts +3 -3
  43. package/assets/json-schemas/bubble-chart.schema.json.js +1 -1
  44. package/assets/json-schemas/bullet-chart-options.schema.json.cjs +1 -1
  45. package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +7 -1
  46. package/assets/json-schemas/bullet-chart-options.schema.json.js +1 -1
  47. package/assets/json-schemas/bullet-chart-slots.schema.json.cjs +1 -1
  48. package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +28 -22
  49. package/assets/json-schemas/bullet-chart-slots.schema.json.js +1 -1
  50. package/assets/json-schemas/bullet-chart.schema.json.cjs +1 -1
  51. package/assets/json-schemas/bullet-chart.schema.json.d.ts +3 -3
  52. package/assets/json-schemas/bullet-chart.schema.json.js +1 -1
  53. package/assets/json-schemas/choropleth-map-options.schema.json.cjs +1 -1
  54. package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +16 -1
  55. package/assets/json-schemas/choropleth-map-options.schema.json.js +4 -4
  56. package/assets/json-schemas/choropleth-map-slots.schema.json.cjs +1 -1
  57. package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +25 -19
  58. package/assets/json-schemas/choropleth-map-slots.schema.json.js +5 -5
  59. package/assets/json-schemas/choropleth-map.schema.json.cjs +1 -1
  60. package/assets/json-schemas/choropleth-map.schema.json.d.ts +3 -3
  61. package/assets/json-schemas/choropleth-map.schema.json.js +1 -1
  62. package/assets/json-schemas/circle-pack-chart-options.schema.json.cjs +1 -1
  63. package/assets/json-schemas/circle-pack-chart-options.schema.json.d.ts +7 -1
  64. package/assets/json-schemas/circle-pack-chart-options.schema.json.js +1 -1
  65. package/assets/json-schemas/circle-pack-chart-slots.schema.json.cjs +1 -1
  66. package/assets/json-schemas/circle-pack-chart-slots.schema.json.d.ts +24 -18
  67. package/assets/json-schemas/circle-pack-chart-slots.schema.json.js +5 -5
  68. package/assets/json-schemas/circle-pack-chart.schema.json.cjs +1 -1
  69. package/assets/json-schemas/circle-pack-chart.schema.json.d.ts +3 -3
  70. package/assets/json-schemas/circle-pack-chart.schema.json.js +1 -1
  71. package/assets/json-schemas/circular-gauge-options.schema.json.cjs +1 -1
  72. package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +7 -1
  73. package/assets/json-schemas/circular-gauge-options.schema.json.js +1 -1
  74. package/assets/json-schemas/circular-gauge-slots.schema.json.cjs +1 -1
  75. package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +24 -18
  76. package/assets/json-schemas/circular-gauge-slots.schema.json.js +1 -1
  77. package/assets/json-schemas/circular-gauge.schema.json.cjs +1 -1
  78. package/assets/json-schemas/circular-gauge.schema.json.d.ts +3 -3
  79. package/assets/json-schemas/circular-gauge.schema.json.js +1 -1
  80. package/assets/json-schemas/column-chart-options.schema.json.cjs +1 -1
  81. package/assets/json-schemas/column-chart-options.schema.json.d.ts +21 -1
  82. package/assets/json-schemas/column-chart-options.schema.json.js +1 -1
  83. package/assets/json-schemas/column-chart-slots.schema.json.cjs +1 -1
  84. package/assets/json-schemas/column-chart-slots.schema.json.d.ts +28 -22
  85. package/assets/json-schemas/column-chart-slots.schema.json.js +1 -1
  86. package/assets/json-schemas/column-chart.schema.json.cjs +1 -1
  87. package/assets/json-schemas/column-chart.schema.json.d.ts +3 -3
  88. package/assets/json-schemas/column-chart.schema.json.js +1 -1
  89. package/assets/json-schemas/combination-chart-options.schema.json.cjs +1 -1
  90. package/assets/json-schemas/combination-chart-options.schema.json.d.ts +21 -1
  91. package/assets/json-schemas/combination-chart-options.schema.json.js +1 -1
  92. package/assets/json-schemas/combination-chart-slots.schema.json.cjs +1 -1
  93. package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +24 -18
  94. package/assets/json-schemas/combination-chart-slots.schema.json.js +1 -1
  95. package/assets/json-schemas/combination-chart.schema.json.cjs +1 -1
  96. package/assets/json-schemas/combination-chart.schema.json.d.ts +3 -3
  97. package/assets/json-schemas/combination-chart.schema.json.js +1 -1
  98. package/assets/json-schemas/conditional-number-options.schema.json.cjs +1 -1
  99. package/assets/json-schemas/conditional-number-options.schema.json.d.ts +7 -1
  100. package/assets/json-schemas/conditional-number-options.schema.json.js +1 -1
  101. package/assets/json-schemas/conditional-number-slots.schema.json.cjs +1 -1
  102. package/assets/json-schemas/conditional-number-slots.schema.json.d.ts +24 -18
  103. package/assets/json-schemas/conditional-number-slots.schema.json.js +1 -1
  104. package/assets/json-schemas/conditional-number.schema.json.cjs +1 -1
  105. package/assets/json-schemas/conditional-number.schema.json.d.ts +3 -3
  106. package/assets/json-schemas/conditional-number.schema.json.js +1 -1
  107. package/assets/json-schemas/date-comparison-filter-options.schema.json.cjs +1 -1
  108. package/assets/json-schemas/date-comparison-filter-options.schema.json.d.ts +7 -1
  109. package/assets/json-schemas/date-comparison-filter-options.schema.json.js +1 -1
  110. package/assets/json-schemas/date-comparison-filter-slots.schema.json.cjs +4 -4
  111. package/assets/json-schemas/date-comparison-filter-slots.schema.json.d.ts +15 -9
  112. package/assets/json-schemas/date-comparison-filter-slots.schema.json.js +4 -4
  113. package/assets/json-schemas/date-comparison-filter.schema.json.cjs +1 -1
  114. package/assets/json-schemas/date-comparison-filter.schema.json.d.ts +3 -3
  115. package/assets/json-schemas/date-comparison-filter.schema.json.js +1 -1
  116. package/assets/json-schemas/date-filter-options.schema.json.cjs +1 -1
  117. package/assets/json-schemas/date-filter-options.schema.json.d.ts +7 -1
  118. package/assets/json-schemas/date-filter-options.schema.json.js +1 -1
  119. package/assets/json-schemas/date-filter-slots.schema.json.cjs +4 -4
  120. package/assets/json-schemas/date-filter-slots.schema.json.d.ts +15 -9
  121. package/assets/json-schemas/date-filter-slots.schema.json.js +4 -4
  122. package/assets/json-schemas/date-filter.schema.json.cjs +1 -1
  123. package/assets/json-schemas/date-filter.schema.json.d.ts +3 -3
  124. package/assets/json-schemas/date-filter.schema.json.js +1 -1
  125. package/assets/json-schemas/donut-chart-options.schema.json.cjs +1 -1
  126. package/assets/json-schemas/donut-chart-options.schema.json.d.ts +21 -1
  127. package/assets/json-schemas/donut-chart-options.schema.json.js +1 -1
  128. package/assets/json-schemas/donut-chart-slots.schema.json.cjs +1 -1
  129. package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +24 -18
  130. package/assets/json-schemas/donut-chart-slots.schema.json.js +1 -1
  131. package/assets/json-schemas/donut-chart.schema.json.cjs +1 -1
  132. package/assets/json-schemas/donut-chart.schema.json.d.ts +3 -3
  133. package/assets/json-schemas/donut-chart.schema.json.js +1 -1
  134. package/assets/json-schemas/dropdown-filter-options.schema.json.cjs +1 -1
  135. package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +7 -1
  136. package/assets/json-schemas/dropdown-filter-options.schema.json.js +1 -1
  137. package/assets/json-schemas/dropdown-filter-slots.schema.json.cjs +1 -1
  138. package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +20 -14
  139. package/assets/json-schemas/dropdown-filter-slots.schema.json.js +1 -1
  140. package/assets/json-schemas/dropdown-filter.schema.json.cjs +1 -1
  141. package/assets/json-schemas/dropdown-filter.schema.json.d.ts +3 -3
  142. package/assets/json-schemas/dropdown-filter.schema.json.js +1 -1
  143. package/assets/json-schemas/evolution-number-options.schema.json.cjs +1 -1
  144. package/assets/json-schemas/evolution-number-options.schema.json.d.ts +7 -1
  145. package/assets/json-schemas/evolution-number-options.schema.json.js +1 -1
  146. package/assets/json-schemas/evolution-number-slots.schema.json.cjs +1 -1
  147. package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +22 -16
  148. package/assets/json-schemas/evolution-number-slots.schema.json.js +1 -1
  149. package/assets/json-schemas/evolution-number.schema.json.cjs +1 -1
  150. package/assets/json-schemas/evolution-number.schema.json.d.ts +3 -3
  151. package/assets/json-schemas/evolution-number.schema.json.js +1 -1
  152. package/assets/json-schemas/funnel-chart-options.schema.json.cjs +1 -1
  153. package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +21 -1
  154. package/assets/json-schemas/funnel-chart-options.schema.json.js +1 -1
  155. package/assets/json-schemas/funnel-chart-slots.schema.json.cjs +1 -1
  156. package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +23 -17
  157. package/assets/json-schemas/funnel-chart-slots.schema.json.js +1 -1
  158. package/assets/json-schemas/funnel-chart.schema.json.cjs +1 -1
  159. package/assets/json-schemas/funnel-chart.schema.json.d.ts +3 -3
  160. package/assets/json-schemas/funnel-chart.schema.json.js +1 -1
  161. package/assets/json-schemas/heat-map-options.schema.json.cjs +1 -1
  162. package/assets/json-schemas/heat-map-options.schema.json.d.ts +7 -1
  163. package/assets/json-schemas/heat-map-options.schema.json.js +1 -1
  164. package/assets/json-schemas/heat-map-slots.schema.json.cjs +1 -1
  165. package/assets/json-schemas/heat-map-slots.schema.json.d.ts +22 -16
  166. package/assets/json-schemas/heat-map-slots.schema.json.js +5 -5
  167. package/assets/json-schemas/heat-map.schema.json.cjs +1 -1
  168. package/assets/json-schemas/heat-map.schema.json.d.ts +3 -3
  169. package/assets/json-schemas/heat-map.schema.json.js +1 -1
  170. package/assets/json-schemas/heat-table-options.schema.json.cjs +1 -1
  171. package/assets/json-schemas/heat-table-options.schema.json.d.ts +7 -1
  172. package/assets/json-schemas/heat-table-options.schema.json.js +1 -1
  173. package/assets/json-schemas/heat-table-slots.schema.json.cjs +1 -1
  174. package/assets/json-schemas/heat-table-slots.schema.json.d.ts +28 -22
  175. package/assets/json-schemas/heat-table-slots.schema.json.js +1 -1
  176. package/assets/json-schemas/heat-table.schema.json.cjs +1 -1
  177. package/assets/json-schemas/heat-table.schema.json.d.ts +3 -3
  178. package/assets/json-schemas/heat-table.schema.json.js +1 -1
  179. package/assets/json-schemas/hexbin-map-options.schema.json.cjs +1 -1
  180. package/assets/json-schemas/hexbin-map-options.schema.json.d.ts +16 -1
  181. package/assets/json-schemas/hexbin-map-options.schema.json.js +1 -1
  182. package/assets/json-schemas/hexbin-map-slots.schema.json.cjs +1 -1
  183. package/assets/json-schemas/hexbin-map-slots.schema.json.d.ts +22 -16
  184. package/assets/json-schemas/hexbin-map-slots.schema.json.js +1 -1
  185. package/assets/json-schemas/hexbin-map.schema.json.cjs +1 -1
  186. package/assets/json-schemas/hexbin-map.schema.json.d.ts +3 -3
  187. package/assets/json-schemas/hexbin-map.schema.json.js +1 -1
  188. package/assets/json-schemas/image-options.schema.json.cjs +1 -1
  189. package/assets/json-schemas/image-options.schema.json.d.ts +1 -1
  190. package/assets/json-schemas/image-options.schema.json.js +1 -1
  191. package/assets/json-schemas/image.schema.json.cjs +1 -1
  192. package/assets/json-schemas/image.schema.json.d.ts +2 -2
  193. package/assets/json-schemas/image.schema.json.js +1 -1
  194. package/assets/json-schemas/line-chart-options.schema.json.cjs +1 -1
  195. package/assets/json-schemas/line-chart-options.schema.json.d.ts +21 -1
  196. package/assets/json-schemas/line-chart-options.schema.json.js +1 -1
  197. package/assets/json-schemas/line-chart-slots.schema.json.cjs +1 -1
  198. package/assets/json-schemas/line-chart-slots.schema.json.d.ts +28 -22
  199. package/assets/json-schemas/line-chart-slots.schema.json.js +1 -1
  200. package/assets/json-schemas/line-chart.schema.json.cjs +1 -1
  201. package/assets/json-schemas/line-chart.schema.json.d.ts +3 -3
  202. package/assets/json-schemas/line-chart.schema.json.js +1 -1
  203. package/assets/json-schemas/marker-map-options.schema.json.cjs +1 -1
  204. package/assets/json-schemas/marker-map-options.schema.json.d.ts +7 -1
  205. package/assets/json-schemas/marker-map-options.schema.json.js +1 -1
  206. package/assets/json-schemas/marker-map-slots.schema.json.cjs +1 -1
  207. package/assets/json-schemas/marker-map-slots.schema.json.d.ts +22 -16
  208. package/assets/json-schemas/marker-map-slots.schema.json.js +5 -5
  209. package/assets/json-schemas/marker-map.schema.json.cjs +1 -1
  210. package/assets/json-schemas/marker-map.schema.json.d.ts +3 -3
  211. package/assets/json-schemas/marker-map.schema.json.js +1 -1
  212. package/assets/json-schemas/ohlc-chart-options.schema.json.cjs +1 -1
  213. package/assets/json-schemas/ohlc-chart-options.schema.json.d.ts +7 -1
  214. package/assets/json-schemas/ohlc-chart-options.schema.json.js +1 -1
  215. package/assets/json-schemas/ohlc-chart-slots.schema.json.cjs +1 -1
  216. package/assets/json-schemas/ohlc-chart-slots.schema.json.d.ts +36 -30
  217. package/assets/json-schemas/ohlc-chart-slots.schema.json.js +1 -1
  218. package/assets/json-schemas/ohlc-chart.schema.json.cjs +1 -1
  219. package/assets/json-schemas/ohlc-chart.schema.json.d.ts +3 -3
  220. package/assets/json-schemas/ohlc-chart.schema.json.js +1 -1
  221. package/assets/json-schemas/options.schema.json.cjs +1 -1
  222. package/assets/json-schemas/options.schema.json.d.ts +46 -46
  223. package/assets/json-schemas/options.schema.json.js +1 -1
  224. package/assets/json-schemas/parallel-coordinates-plot-options.schema.json.cjs +1 -1
  225. package/assets/json-schemas/parallel-coordinates-plot-options.schema.json.d.ts +7 -1
  226. package/assets/json-schemas/parallel-coordinates-plot-options.schema.json.js +1 -1
  227. package/assets/json-schemas/parallel-coordinates-plot-slots.schema.json.cjs +1 -1
  228. package/assets/json-schemas/parallel-coordinates-plot-slots.schema.json.d.ts +23 -17
  229. package/assets/json-schemas/parallel-coordinates-plot-slots.schema.json.js +1 -1
  230. package/assets/json-schemas/parallel-coordinates-plot.schema.json.cjs +1 -1
  231. package/assets/json-schemas/parallel-coordinates-plot.schema.json.d.ts +3 -3
  232. package/assets/json-schemas/parallel-coordinates-plot.schema.json.js +1 -1
  233. package/assets/json-schemas/pivot-table-options.schema.json.cjs +1 -1
  234. package/assets/json-schemas/pivot-table-options.schema.json.d.ts +7 -1
  235. package/assets/json-schemas/pivot-table-options.schema.json.js +1 -1
  236. package/assets/json-schemas/pivot-table-slots.schema.json.cjs +1 -1
  237. package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +28 -22
  238. package/assets/json-schemas/pivot-table-slots.schema.json.js +1 -1
  239. package/assets/json-schemas/pivot-table.schema.json.cjs +1 -1
  240. package/assets/json-schemas/pivot-table.schema.json.d.ts +3 -3
  241. package/assets/json-schemas/pivot-table.schema.json.js +1 -1
  242. package/assets/json-schemas/pyramid-chart-options.schema.json.cjs +1 -1
  243. package/assets/json-schemas/pyramid-chart-options.schema.json.d.ts +21 -1
  244. package/assets/json-schemas/pyramid-chart-options.schema.json.js +4 -4
  245. package/assets/json-schemas/pyramid-chart-slots.schema.json.cjs +1 -1
  246. package/assets/json-schemas/pyramid-chart-slots.schema.json.d.ts +28 -22
  247. package/assets/json-schemas/pyramid-chart-slots.schema.json.js +1 -1
  248. package/assets/json-schemas/pyramid-chart.schema.json.cjs +1 -1
  249. package/assets/json-schemas/pyramid-chart.schema.json.d.ts +3 -3
  250. package/assets/json-schemas/pyramid-chart.schema.json.js +1 -1
  251. package/assets/json-schemas/radar-chart-options.schema.json.cjs +1 -1
  252. package/assets/json-schemas/radar-chart-options.schema.json.d.ts +21 -1
  253. package/assets/json-schemas/radar-chart-options.schema.json.js +1 -1
  254. package/assets/json-schemas/radar-chart-slots.schema.json.cjs +1 -1
  255. package/assets/json-schemas/radar-chart-slots.schema.json.d.ts +28 -22
  256. package/assets/json-schemas/radar-chart-slots.schema.json.js +1 -1
  257. package/assets/json-schemas/radar-chart.schema.json.cjs +1 -1
  258. package/assets/json-schemas/radar-chart.schema.json.d.ts +3 -3
  259. package/assets/json-schemas/radar-chart.schema.json.js +1 -1
  260. package/assets/json-schemas/regular-table-options.schema.json.cjs +1 -1
  261. package/assets/json-schemas/regular-table-options.schema.json.d.ts +7 -1
  262. package/assets/json-schemas/regular-table-options.schema.json.js +1 -1
  263. package/assets/json-schemas/regular-table-slots.schema.json.cjs +1 -1
  264. package/assets/json-schemas/regular-table-slots.schema.json.d.ts +20 -14
  265. package/assets/json-schemas/regular-table-slots.schema.json.js +1 -1
  266. package/assets/json-schemas/regular-table.schema.json.cjs +1 -1
  267. package/assets/json-schemas/regular-table.schema.json.d.ts +3 -3
  268. package/assets/json-schemas/regular-table.schema.json.js +1 -1
  269. package/assets/json-schemas/route-map-options.schema.json.cjs +1 -1
  270. package/assets/json-schemas/route-map-options.schema.json.d.ts +7 -1
  271. package/assets/json-schemas/route-map-options.schema.json.js +1 -1
  272. package/assets/json-schemas/route-map-slots.schema.json.cjs +1 -1
  273. package/assets/json-schemas/route-map-slots.schema.json.d.ts +29 -23
  274. package/assets/json-schemas/route-map-slots.schema.json.js +1 -1
  275. package/assets/json-schemas/route-map.schema.json.cjs +1 -1
  276. package/assets/json-schemas/route-map.schema.json.d.ts +3 -3
  277. package/assets/json-schemas/route-map.schema.json.js +1 -1
  278. package/assets/json-schemas/sankey-diagram-options.schema.json.cjs +1 -1
  279. package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +7 -1
  280. package/assets/json-schemas/sankey-diagram-options.schema.json.js +1 -1
  281. package/assets/json-schemas/sankey-diagram-slots.schema.json.cjs +1 -1
  282. package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +32 -26
  283. package/assets/json-schemas/sankey-diagram-slots.schema.json.js +1 -1
  284. package/assets/json-schemas/sankey-diagram.schema.json.cjs +1 -1
  285. package/assets/json-schemas/sankey-diagram.schema.json.d.ts +3 -3
  286. package/assets/json-schemas/sankey-diagram.schema.json.js +1 -1
  287. package/assets/json-schemas/scatter-plot-options.schema.json.cjs +1 -1
  288. package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +21 -1
  289. package/assets/json-schemas/scatter-plot-options.schema.json.js +1 -1
  290. package/assets/json-schemas/scatter-plot-slots.schema.json.cjs +1 -1
  291. package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +36 -30
  292. package/assets/json-schemas/scatter-plot-slots.schema.json.js +1 -1
  293. package/assets/json-schemas/scatter-plot.schema.json.cjs +1 -1
  294. package/assets/json-schemas/scatter-plot.schema.json.d.ts +3 -3
  295. package/assets/json-schemas/scatter-plot.schema.json.js +1 -1
  296. package/assets/json-schemas/search-filter-options.schema.json.cjs +1 -1
  297. package/assets/json-schemas/search-filter-options.schema.json.d.ts +7 -1
  298. package/assets/json-schemas/search-filter-options.schema.json.js +1 -1
  299. package/assets/json-schemas/search-filter-slots.schema.json.cjs +1 -1
  300. package/assets/json-schemas/search-filter-slots.schema.json.d.ts +20 -14
  301. package/assets/json-schemas/search-filter-slots.schema.json.js +1 -1
  302. package/assets/json-schemas/search-filter.schema.json.cjs +1 -1
  303. package/assets/json-schemas/search-filter.schema.json.d.ts +3 -3
  304. package/assets/json-schemas/search-filter.schema.json.js +1 -1
  305. package/assets/json-schemas/slicer-filter-options.schema.json.cjs +1 -1
  306. package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +12 -1
  307. package/assets/json-schemas/slicer-filter-options.schema.json.js +1 -1
  308. package/assets/json-schemas/slicer-filter-slots.schema.json.cjs +1 -1
  309. package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +24 -18
  310. package/assets/json-schemas/slicer-filter-slots.schema.json.js +1 -1
  311. package/assets/json-schemas/slicer-filter.schema.json.cjs +1 -1
  312. package/assets/json-schemas/slicer-filter.schema.json.d.ts +3 -3
  313. package/assets/json-schemas/slicer-filter.schema.json.js +1 -1
  314. package/assets/json-schemas/slider-filter-options.schema.json.cjs +1 -1
  315. package/assets/json-schemas/slider-filter-options.schema.json.d.ts +7 -1
  316. package/assets/json-schemas/slider-filter-options.schema.json.js +1 -1
  317. package/assets/json-schemas/slider-filter-slots.schema.json.cjs +1 -1
  318. package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +18 -12
  319. package/assets/json-schemas/slider-filter-slots.schema.json.js +1 -1
  320. package/assets/json-schemas/slider-filter.schema.json.cjs +1 -1
  321. package/assets/json-schemas/slider-filter.schema.json.d.ts +3 -3
  322. package/assets/json-schemas/slider-filter.schema.json.js +1 -1
  323. package/assets/json-schemas/slots.schema.json.cjs +1 -1
  324. package/assets/json-schemas/slots.schema.json.d.ts +42 -42
  325. package/assets/json-schemas/slots.schema.json.js +1 -1
  326. package/assets/json-schemas/speedometer-chart-options.schema.json.cjs +1 -1
  327. package/assets/json-schemas/speedometer-chart-options.schema.json.d.ts +7 -1
  328. package/assets/json-schemas/speedometer-chart-options.schema.json.js +1 -1
  329. package/assets/json-schemas/speedometer-chart-slots.schema.json.cjs +1 -1
  330. package/assets/json-schemas/speedometer-chart-slots.schema.json.d.ts +28 -22
  331. package/assets/json-schemas/speedometer-chart-slots.schema.json.js +1 -1
  332. package/assets/json-schemas/speedometer-chart.schema.json.cjs +1 -1
  333. package/assets/json-schemas/speedometer-chart.schema.json.d.ts +3 -3
  334. package/assets/json-schemas/speedometer-chart.schema.json.js +1 -1
  335. package/assets/json-schemas/spike-map-options.schema.json.cjs +1 -1
  336. package/assets/json-schemas/spike-map-options.schema.json.d.ts +16 -1
  337. package/assets/json-schemas/spike-map-options.schema.json.js +1 -1
  338. package/assets/json-schemas/spike-map-slots.schema.json.cjs +1 -1
  339. package/assets/json-schemas/spike-map-slots.schema.json.d.ts +26 -20
  340. package/assets/json-schemas/spike-map-slots.schema.json.js +1 -1
  341. package/assets/json-schemas/spike-map.schema.json.cjs +1 -1
  342. package/assets/json-schemas/spike-map.schema.json.d.ts +3 -3
  343. package/assets/json-schemas/spike-map.schema.json.js +1 -1
  344. package/assets/json-schemas/strip-plot-options.schema.json.cjs +1 -1
  345. package/assets/json-schemas/strip-plot-options.schema.json.d.ts +7 -1
  346. package/assets/json-schemas/strip-plot-options.schema.json.js +1 -1
  347. package/assets/json-schemas/strip-plot-slots.schema.json.cjs +1 -1
  348. package/assets/json-schemas/strip-plot-slots.schema.json.d.ts +24 -18
  349. package/assets/json-schemas/strip-plot-slots.schema.json.js +1 -1
  350. package/assets/json-schemas/strip-plot.schema.json.cjs +1 -1
  351. package/assets/json-schemas/strip-plot.schema.json.d.ts +3 -3
  352. package/assets/json-schemas/strip-plot.schema.json.js +1 -1
  353. package/assets/json-schemas/sunburst-chart-options.schema.json.cjs +1 -1
  354. package/assets/json-schemas/sunburst-chart-options.schema.json.d.ts +21 -1
  355. package/assets/json-schemas/sunburst-chart-options.schema.json.js +4 -4
  356. package/assets/json-schemas/sunburst-chart-slots.schema.json.cjs +1 -1
  357. package/assets/json-schemas/sunburst-chart-slots.schema.json.d.ts +24 -18
  358. package/assets/json-schemas/sunburst-chart-slots.schema.json.js +1 -1
  359. package/assets/json-schemas/sunburst-chart.schema.json.cjs +1 -1
  360. package/assets/json-schemas/sunburst-chart.schema.json.d.ts +3 -3
  361. package/assets/json-schemas/sunburst-chart.schema.json.js +1 -1
  362. package/assets/json-schemas/symbol-map-options.schema.json.cjs +1 -1
  363. package/assets/json-schemas/symbol-map-options.schema.json.d.ts +21 -1
  364. package/assets/json-schemas/symbol-map-options.schema.json.js +1 -1
  365. package/assets/json-schemas/symbol-map-slots.schema.json.cjs +1 -1
  366. package/assets/json-schemas/symbol-map-slots.schema.json.d.ts +25 -19
  367. package/assets/json-schemas/symbol-map-slots.schema.json.js +1 -1
  368. package/assets/json-schemas/symbol-map.schema.json.cjs +1 -1
  369. package/assets/json-schemas/symbol-map.schema.json.d.ts +3 -3
  370. package/assets/json-schemas/symbol-map.schema.json.js +1 -1
  371. package/assets/json-schemas/text-options.schema.json.cjs +1 -1
  372. package/assets/json-schemas/text-options.schema.json.d.ts +1 -1
  373. package/assets/json-schemas/text-options.schema.json.js +1 -1
  374. package/assets/json-schemas/text.schema.json.cjs +1 -1
  375. package/assets/json-schemas/text.schema.json.d.ts +2 -2
  376. package/assets/json-schemas/text.schema.json.js +1 -1
  377. package/assets/json-schemas/treemap-chart-options.schema.json.cjs +1 -1
  378. package/assets/json-schemas/treemap-chart-options.schema.json.d.ts +21 -1
  379. package/assets/json-schemas/treemap-chart-options.schema.json.js +1 -1
  380. package/assets/json-schemas/treemap-chart-slots.schema.json.cjs +1 -1
  381. package/assets/json-schemas/treemap-chart-slots.schema.json.d.ts +33 -27
  382. package/assets/json-schemas/treemap-chart-slots.schema.json.js +1 -1
  383. package/assets/json-schemas/treemap-chart.schema.json.cjs +1 -1
  384. package/assets/json-schemas/treemap-chart.schema.json.d.ts +3 -3
  385. package/assets/json-schemas/treemap-chart.schema.json.js +1 -1
  386. package/assets/json-schemas/video-options.schema.json.cjs +1 -1
  387. package/assets/json-schemas/video-options.schema.json.d.ts +1 -1
  388. package/assets/json-schemas/video-options.schema.json.js +1 -1
  389. package/assets/json-schemas/video.schema.json.cjs +1 -1
  390. package/assets/json-schemas/video.schema.json.d.ts +2 -2
  391. package/assets/json-schemas/video.schema.json.js +1 -1
  392. package/assets/json-schemas/viz-item-type.schema.json.cjs +1 -1
  393. package/assets/json-schemas/viz-item-type.schema.json.d.ts +1 -1
  394. package/assets/json-schemas/viz-item-type.schema.json.js +1 -1
  395. package/assets/json-schemas/wordcloud-chart-options.schema.json.cjs +1 -1
  396. package/assets/json-schemas/wordcloud-chart-options.schema.json.d.ts +21 -1
  397. package/assets/json-schemas/wordcloud-chart-options.schema.json.js +1 -1
  398. package/assets/json-schemas/wordcloud-chart-slots.schema.json.cjs +1 -1
  399. package/assets/json-schemas/wordcloud-chart-slots.schema.json.d.ts +26 -20
  400. package/assets/json-schemas/wordcloud-chart-slots.schema.json.js +1 -1
  401. package/assets/json-schemas/wordcloud-chart.schema.json.cjs +1 -1
  402. package/assets/json-schemas/wordcloud-chart.schema.json.d.ts +3 -3
  403. package/assets/json-schemas/wordcloud-chart.schema.json.js +1 -1
  404. package/json-schemas.cjs.map +1 -1
  405. package/json-schemas.d.ts +570 -0
  406. package/json-schemas.d.ts.map +1 -1
  407. package/json-schemas.js.map +1 -1
  408. package/package.json +1 -1
  409. package/src/lib/area-chart/area-chart-options.config.cjs +1 -1
  410. package/src/lib/area-chart/area-chart-options.config.cjs.map +1 -1
  411. package/src/lib/area-chart/area-chart-options.config.d.ts.map +1 -1
  412. package/src/lib/area-chart/area-chart-options.config.js +20 -2
  413. package/src/lib/area-chart/area-chart-options.config.js.map +1 -1
  414. package/src/lib/area-chart/area-chart-options.d.ts +7 -1
  415. package/src/lib/area-chart/area-chart-options.d.ts.map +1 -1
  416. package/src/lib/bar-chart/bar-chart-options.config.cjs +1 -1
  417. package/src/lib/bar-chart/bar-chart-options.config.cjs.map +1 -1
  418. package/src/lib/bar-chart/bar-chart-options.config.d.ts.map +1 -1
  419. package/src/lib/bar-chart/bar-chart-options.config.js +23 -5
  420. package/src/lib/bar-chart/bar-chart-options.config.js.map +1 -1
  421. package/src/lib/bar-chart/bar-chart-options.d.ts +7 -1
  422. package/src/lib/bar-chart/bar-chart-options.d.ts.map +1 -1
  423. package/src/lib/bubble-chart/bubble-chart-options.config.cjs +1 -1
  424. package/src/lib/bubble-chart/bubble-chart-options.config.cjs.map +1 -1
  425. package/src/lib/bubble-chart/bubble-chart-options.config.d.ts.map +1 -1
  426. package/src/lib/bubble-chart/bubble-chart-options.config.js +23 -5
  427. package/src/lib/bubble-chart/bubble-chart-options.config.js.map +1 -1
  428. package/src/lib/bubble-chart/bubble-chart-options.d.ts +7 -1
  429. package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -1
  430. package/src/lib/column-chart/column-chart-options.cjs.map +1 -1
  431. package/src/lib/column-chart/column-chart-options.config.cjs +1 -1
  432. package/src/lib/column-chart/column-chart-options.config.cjs.map +1 -1
  433. package/src/lib/column-chart/column-chart-options.config.d.ts.map +1 -1
  434. package/src/lib/column-chart/column-chart-options.config.js +20 -2
  435. package/src/lib/column-chart/column-chart-options.config.js.map +1 -1
  436. package/src/lib/column-chart/column-chart-options.d.ts +7 -1
  437. package/src/lib/column-chart/column-chart-options.d.ts.map +1 -1
  438. package/src/lib/column-chart/column-chart-options.js.map +1 -1
  439. package/src/lib/combination-chart/combination-chart-options.d.ts +7 -1
  440. package/src/lib/combination-chart/combination-chart-options.d.ts.map +1 -1
  441. package/src/lib/donut-chart/donut-chart-options.d.ts +7 -1
  442. package/src/lib/donut-chart/donut-chart-options.d.ts.map +1 -1
  443. package/src/lib/funnel-chart/funnel-chart-options.config.cjs +1 -1
  444. package/src/lib/funnel-chart/funnel-chart-options.config.cjs.map +1 -1
  445. package/src/lib/funnel-chart/funnel-chart-options.config.d.ts.map +1 -1
  446. package/src/lib/funnel-chart/funnel-chart-options.config.js +18 -0
  447. package/src/lib/funnel-chart/funnel-chart-options.config.js.map +1 -1
  448. package/src/lib/funnel-chart/funnel-chart-options.d.ts +7 -1
  449. package/src/lib/funnel-chart/funnel-chart-options.d.ts.map +1 -1
  450. package/src/lib/line-chart/line-chart-options.config.cjs +1 -1
  451. package/src/lib/line-chart/line-chart-options.config.cjs.map +1 -1
  452. package/src/lib/line-chart/line-chart-options.config.d.ts.map +1 -1
  453. package/src/lib/line-chart/line-chart-options.config.js +26 -8
  454. package/src/lib/line-chart/line-chart-options.config.js.map +1 -1
  455. package/src/lib/line-chart/line-chart-options.d.ts +7 -1
  456. package/src/lib/line-chart/line-chart-options.d.ts.map +1 -1
  457. package/src/lib/pyramid-chart/pyramid-chart-options.config.cjs +1 -1
  458. package/src/lib/pyramid-chart/pyramid-chart-options.config.cjs.map +1 -1
  459. package/src/lib/pyramid-chart/pyramid-chart-options.config.d.ts.map +1 -1
  460. package/src/lib/pyramid-chart/pyramid-chart-options.config.js +23 -5
  461. package/src/lib/pyramid-chart/pyramid-chart-options.config.js.map +1 -1
  462. package/src/lib/pyramid-chart/pyramid-chart-options.d.ts +7 -1
  463. package/src/lib/pyramid-chart/pyramid-chart-options.d.ts.map +1 -1
  464. package/src/lib/radar-chart/radar-chart-options.config.cjs +1 -1
  465. package/src/lib/radar-chart/radar-chart-options.config.cjs.map +1 -1
  466. package/src/lib/radar-chart/radar-chart-options.config.d.ts.map +1 -1
  467. package/src/lib/radar-chart/radar-chart-options.config.js +21 -3
  468. package/src/lib/radar-chart/radar-chart-options.config.js.map +1 -1
  469. package/src/lib/radar-chart/radar-chart-options.d.ts +7 -1
  470. package/src/lib/radar-chart/radar-chart-options.d.ts.map +1 -1
  471. package/src/lib/scatter-plot/scatter-plot-options.config.cjs +1 -1
  472. package/src/lib/scatter-plot/scatter-plot-options.config.cjs.map +1 -1
  473. package/src/lib/scatter-plot/scatter-plot-options.config.d.ts.map +1 -1
  474. package/src/lib/scatter-plot/scatter-plot-options.config.js +25 -7
  475. package/src/lib/scatter-plot/scatter-plot-options.config.js.map +1 -1
  476. package/src/lib/scatter-plot/scatter-plot-options.d.ts +7 -1
  477. package/src/lib/scatter-plot/scatter-plot-options.d.ts.map +1 -1
  478. package/src/lib/shared/index.d.ts +1 -0
  479. package/src/lib/shared/index.d.ts.map +1 -1
  480. package/src/lib/shared/types/data-field.d.ts +1 -0
  481. package/src/lib/shared/types/data-field.d.ts.map +1 -1
  482. package/src/lib/shared/types/formula.d.ts +1 -0
  483. package/src/lib/shared/types/formula.d.ts.map +1 -1
  484. package/src/lib/shared/types/index.d.ts +1 -0
  485. package/src/lib/shared/types/index.d.ts.map +1 -1
  486. package/src/lib/shared/types/interactivity-legend-reorder.d.ts +14 -0
  487. package/src/lib/shared/types/interactivity-legend-reorder.d.ts.map +1 -0
  488. package/src/lib/shared/types/iq-components.d.ts +2 -0
  489. package/src/lib/shared/types/iq-components.d.ts.map +1 -1
  490. package/src/lib/shared/types/legend.d.ts +17 -0
  491. package/src/lib/shared/types/legend.d.ts.map +1 -1
  492. package/src/lib/shared/types/query.d.ts +5 -1
  493. package/src/lib/shared/types/query.d.ts.map +1 -1
  494. package/src/lib/shared/version.cjs +1 -1
  495. package/src/lib/shared/version.cjs.map +1 -1
  496. package/src/lib/shared/version.d.ts +1 -1
  497. package/src/lib/shared/version.js +1 -1
  498. package/src/lib/shared/version.js.map +1 -1
  499. package/src/lib/slicer-filter/slicer-filter-options.config.cjs +1 -1
  500. package/src/lib/slicer-filter/slicer-filter-options.config.cjs.map +1 -1
  501. package/src/lib/slicer-filter/slicer-filter-options.config.d.ts.map +1 -1
  502. package/src/lib/slicer-filter/slicer-filter-options.config.js +9 -0
  503. package/src/lib/slicer-filter/slicer-filter-options.config.js.map +1 -1
  504. package/src/lib/slicer-filter/slicer-filter-options.d.ts +19 -1
  505. package/src/lib/slicer-filter/slicer-filter-options.d.ts.map +1 -1
  506. package/src/lib/sunburst-chart/sunburst-chart-options.config.cjs +1 -1
  507. package/src/lib/sunburst-chart/sunburst-chart-options.config.cjs.map +1 -1
  508. package/src/lib/sunburst-chart/sunburst-chart-options.config.d.ts.map +1 -1
  509. package/src/lib/sunburst-chart/sunburst-chart-options.config.js +18 -0
  510. package/src/lib/sunburst-chart/sunburst-chart-options.config.js.map +1 -1
  511. package/src/lib/sunburst-chart/sunburst-chart-options.d.ts +7 -1
  512. package/src/lib/sunburst-chart/sunburst-chart-options.d.ts.map +1 -1
  513. package/src/lib/symbol-map/symbol-map-options.config.cjs +1 -1
  514. package/src/lib/symbol-map/symbol-map-options.config.cjs.map +1 -1
  515. package/src/lib/symbol-map/symbol-map-options.config.d.ts.map +1 -1
  516. package/src/lib/symbol-map/symbol-map-options.config.js +20 -2
  517. package/src/lib/symbol-map/symbol-map-options.config.js.map +1 -1
  518. package/src/lib/symbol-map/symbol-map-options.d.ts +6 -0
  519. package/src/lib/symbol-map/symbol-map-options.d.ts.map +1 -1
  520. package/src/lib/treemap-chart/treemap-chart-options.config.cjs +1 -1
  521. package/src/lib/treemap-chart/treemap-chart-options.config.cjs.map +1 -1
  522. package/src/lib/treemap-chart/treemap-chart-options.config.d.ts.map +1 -1
  523. package/src/lib/treemap-chart/treemap-chart-options.config.js +25 -7
  524. package/src/lib/treemap-chart/treemap-chart-options.config.js.map +1 -1
  525. package/src/lib/treemap-chart/treemap-chart-options.d.ts +6 -0
  526. package/src/lib/treemap-chart/treemap-chart-options.d.ts.map +1 -1
  527. package/src/lib/wordcloud-chart/wordcloud-chart-options.d.ts +6 -0
  528. package/src/lib/wordcloud-chart/wordcloud-chart-options.d.ts.map +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-options.schema.json",t="http://json-schema.org/draft-07/schema#",i=JSON.parse(`{"annotate":{"description":"Information tooltip configuration","properties":{"infoTooltip":{"properties":{"active":{"description":"Is information tooltip active","type":"boolean"},"content":{"description":"Information tooltip content in format {<locale>: \\"content\\"}","examples":[{"en":"Content"}],"type":"object"},"position":{"description":"Information tooltip position","enum":["left","right"],"type":"string"}},"type":"object"}},"type":"object"},"axis":{"description":"Axis options","properties":{"x":{"description":"X-axis options","properties":{"color":{"description":"X-axis color","examples":["#000000","black","rgba(0,0,0,1)"],"type":"string"},"scale":{"default":"linear","description":"X-axis scale type: linear or logarithmic","enum":["linear","logarithmic"],"type":"string"},"scaleLogBase":{"description":"Base of the logarithmic scale. Only applies if the scale is logarithmic.","examples":[2,10],"type":"number"},"ticksDensity":{"description":"Density of the ticks on the X-axis","enum":["compact","normal","sparse"],"type":"string"},"ticksMode":{"default":"ticks","description":"Ticks mode of the X-axis: hide, ticks, or gridlines","enum":["gridlines","hide","ticks"],"type":"string"}},"type":"object"}},"type":"object"},"bars":{"description":"Bars options","properties":{"colors":{"default":[],"description":"Colors for bars","items":{"type":"string"},"type":"array"},"label":{"default":false,"description":"Show label for bars","type":"boolean"}},"type":"object"},"color":{"default":"","description":"The main color for the item, if omitted the default color from the theme will be used","examples":["#FF5733","#33FF57","#5733FF"],"type":"string"},"display":{"description":"Display options","properties":{"legend":{"default":true,"description":"Show or hide legend.","type":"boolean"},"title":{"default":true,"description":"Show or hide title.","type":"boolean"}},"type":"object"},"grid":{"description":"Grid options","properties":{"x":{"description":"X-axis grid options","properties":{"enabled":{"default":false,"description":"Show or hide the axis grid","type":"boolean"},"opacity":{"description":"Opacity of the axis grid","examples":[1,0.5,0.1],"type":"number"},"style":{"description":"Style of the axis grid","enum":["dashed","dotted","solid"],"type":"string"}},"type":"object"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"customEvents":{"default":null,"description":"Custom events interactivity option","properties":{"events":{"items":{"description":"Custom event configuration","properties":{"label":{"description":"Label in format {<locale>: \\"label\\"}, for example","examples":[{"en":"Total Revenue"}],"type":"object"},"name":{"description":"Custom event name","type":"string"}},"type":"object"},"type":"array"},"extraData":{"items":{"properties":{"aggregation":{"description":"Aggregation query type","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"formulaId":{"description":"Formula id","format":"uuid","type":"string"},"label":{"description":"Label","type":"string"},"weightedColumnId":{"description":"Weighted column id","format":"uuid","type":"string"},"weightedDatasetId":{"description":"Weighted dataset id","format":"uuid","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"customTooltip":{"default":null,"description":"Custom tooltip interactivity option, in format {<locale>: \\"tooltip text\\"}","examples":[{"en":"Total Revenue"}],"type":["null","object"]},"exportTypes":{"default":["xlsx","csv","png"],"description":"Export types interactivity option","items":{"description":"Export types","enum":["base64","csv","csv-raw","png","xlsx","xlsx-raw"],"type":"string"},"type":"array"},"measureDimensionPicker":{"default":[[]],"description":"An array of measure dimension picker configurations","items":{"description":"Measure dimension picker configuration","properties":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"type":"object"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"scheduledExport":{"default":true,"description":"Whether scheduled/recurring export is allowed for this chart.","type":"boolean"},"select":{"default":true,"description":"Filter on select interactivity option","type":"boolean"},"urlConfig":{"default":{"target":"_blank","url":null},"description":"Go to URL interactivity option","properties":{"target":{"description":"URL target","enum":["_blank","_parent","_self"],"type":"string"},"url":{"description":"URL in format {<locale>: \\"url\\"}","examples":[{"en":"https://example.com"}],"type":"object"}},"type":"object"}},"type":"object"},"internalPadding":{"description":"Padding between bars","examples":[5,10],"type":"number"},"legend":{"description":"Legend options, they are applied if the legend is displayed","properties":{"position":{"description":"Position of the legend. Only available when the legend is shown.","enum":["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],"type":"string"},"size":{"description":"Size of the legend. Only available when the legend is shown.","enum":["L","M","S"],"type":"string"},"type":{"description":"Type of the legend. Only available when the legend is shown.","enum":["bar","list"],"type":"string"}},"type":"object"},"limit":{"description":"The maximum number of data rows to query and display","properties":{"number":{"default":100000,"description":"Number of observations value","type":"number"}},"type":"object"},"loader":{"description":"The loader configuration","properties":{"background":{"default":"#f9f9f9","description":"Background color of the chart loader element","type":"string"},"fontColor":{"default":"#5a5a5a","description":"Font color of the text of the chart loaders","type":"string"},"locale":{"default":"en","description":"Locale to be used if \\"msg\\" is set","examples":["en","fr"],"type":"string"},"mode":{"default":"light","description":"Light or dark loader","type":"string"},"msg":{"description":"Loading message","examples":["Loading dashboard..."],"type":"string"},"showBranded":{"default":false,"description":"Shows the branded \\"powered by\\" information","type":"boolean"},"spinnerBackground":{"default":"rgba(169, 169, 169, 0.14)","description":"Background color of the spinner","type":"string"},"spinnerColor":{"default":"rgba(255, 165, 0, 0.7)","description":"Spinner color of the loader","type":"string"}},"type":"object"},"locale":{"default":"en","description":"Locale to be used","examples":["en","fr"],"type":"string"},"lookupFiltering":{"default":false,"description":"Allow interactive filtering of charts with linked datasets","type":"boolean"},"ranking":{"description":"Item query ranking","properties":{"active":{"description":"Item query ranking is active","type":"boolean"},"direction":{"description":"Item query ranking direction","enum":["bottom","top"],"type":"string"},"number":{"description":"Item query ranking number","type":"number"}},"type":"object"},"roundedCorners":{"description":"Roundedness of corners of bars","examples":[0,5,10],"type":"number"},"sort":{"description":"Sort options","properties":{"by":{"default":"category","description":"Sort by option, which slot or column or bar to use to sort the pyramid chart.","enum":["category","column","leftbar","measure","rightbar"],"examples":["measure","category","column","leftbar","rightbar"],"type":"string"}},"type":"object"},"theme":{"description":"Theme configuration","properties":{"axis":{"description":"Custom axis styling","examples":[{"fontSize":12},{"fontSize":10}],"type":"object"},"background":{"description":"Background color","examples":["rgb(245, 245, 245)","rgb(61, 61, 61)"],"type":"string"},"baseFontSize":{"description":"Base font size, usually it participates in calculations related to font sizes, spacings, etc.","examples":[13,16,20],"type":"number"},"borders":{"description":"Custom border styling","properties":{"border-bottom-width":{"description":"Border bottom width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-color":{"description":"Border color, it is visible when a border style and width are set","examples":["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],"type":"string"},"border-left-width":{"description":"Border left width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-radius":{"description":"Border radius","examples":["0","12px","20px"],"type":"string"},"border-right-width":{"description":"Border right width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-style":{"description":"Border style, it is visible when a border color and width are set","examples":["none","solid","dotted","dashed"],"type":"string"},"border-top-width":{"description":"Border top width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"}},"type":"object"},"boxShadow":{"description":"Custom shadow styling","properties":{"color":{"description":"Shadow color","examples":["rgb(0, 0, 0)","rgb(100, 100, 103)"],"type":"string"},"size":{"description":"Shadow size","enum":["L","M","S","none"],"examples":["none","S","M","L"],"type":"string"}},"type":"object"},"colors":{"description":"Custom color palette, an array of colors which may affect different areas of a chart, for example, lines, bars, etc.","examples":[["red","green","blue","yellow","orange","purple"]],"items":{"type":"string"},"type":"array"},"editBackground":{"description":"Edit background","examples":["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],"type":"string"},"editModeBackground":{"description":"Edit mode background","examples":["rgb(245, 245, 245)"],"type":"string"},"font":{"description":"Custom font styling","properties":{"fontFamily":{"description":"Font family","examples":["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],"type":"string"},"fontSize":{"description":"Font size in px, if not set, it will be inherited from the theme. It can be overridden if more specific \\"fontSize\\" is set, for example, \\"fontSize\\" inside options like \\"title\\", \\"axis\\", \\"legend\\", \\"tooltip\\", etc.","examples":[10,15,18],"type":"number"}},"type":"object"},"id":{"description":"Id of the theme, for example, \\"seasonal\\", \\"urban\\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.","examples":["seasonal","urban"],"type":"string"},"itemSpecific":{"description":"Item specific styling","properties":{"padding":{"description":"Padding of the item","examples":[0,4,8,10],"type":"number"},"rounding":{"description":"Rounding of the item","examples":[0,8,12],"type":"number"}},"type":"object"},"itemsBackground":{"description":"Custom item background color","examples":["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],"type":"string"},"legend":{"description":"Custom legend styling, it's applied if the legend is displayed","properties":{"fontSize":{"description":"Legend font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16],"type":"number"},"lineHeight":{"description":"Legend line height in px","examples":[12,16,20],"type":"number"},"type":{"description":"Legend type","enum":["circle","line","normal"],"examples":["normal","line","circle"],"type":"string"}},"type":"object"},"mainColor":{"description":"Theme main color","examples":["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],"type":"string"},"margins":{"description":"Dashboard vertical and horizontal margins","examples":[[16,16],[20,20]],"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"},"title":{"description":"Custom title styling, it's applied if the title is displayed","properties":{"align":{"description":"Title align","enum":["center","left","right"],"examples":["left","center","right"],"type":"string"},"bold":{"description":"Is title bold","examples":[true,false],"type":"boolean"},"border":{"description":"Is title a border","examples":[true,false],"type":"boolean"},"fontSize":{"description":"Title's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[16,20],"type":"number"},"italic":{"description":"Is title italic","examples":[true,false],"type":"boolean"},"lineHeight":{"description":"Title's line height in px","examples":[30,42,50],"type":"number"},"underline":{"description":"Is title underline","examples":[true,false],"type":"boolean"}},"type":"object"},"tooltip":{"description":"Custom tooltip styling, it's applied if the tooltip is turned on","properties":{"background":{"description":"Tooltip's background","examples":["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],"type":"string"},"fontSize":{"description":"Tooltip's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16,20],"type":"number"},"opacity":{"description":"Tooltip's opacity, it should be between 0 and 1, for example, 0.8","examples":[0.5,0.8,1],"type":"number"}},"type":"object"},"type":{"description":"It should be \\"custom\\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.","examples":["custom"],"type":"string"}},"type":"object"},"timezoneId":{"description":"The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database","examples":["Europe/Brussels","America/New_York"],"type":"string"},"title":{"description":"Title in format { <locale>: \\"title\\"}. It's applied if the title is displayed.","examples":[{"en":"Title"}],"type":"object"}}`),r="object",o={$id:e,$schema:t,properties:i,type:r};exports.$id=e;exports.$schema=t;exports.default=o;exports.properties=i;exports.type=r;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-options.schema.json",t="http://json-schema.org/draft-07/schema#",i=JSON.parse(`{"annotate":{"description":"Information tooltip configuration","properties":{"infoTooltip":{"properties":{"active":{"description":"Is information tooltip active","type":"boolean"},"content":{"description":"Information tooltip content in format {<locale>: \\"content\\"}","examples":[{"en":"Content"}],"type":"object"},"position":{"description":"Information tooltip position","enum":["left","right"],"type":"string"}},"type":"object"}},"type":"object"},"axis":{"description":"Axis options","properties":{"x":{"description":"X-axis options","properties":{"color":{"description":"X-axis color","examples":["#000000","black","rgba(0,0,0,1)"],"type":"string"},"scale":{"default":"linear","description":"X-axis scale type: linear or logarithmic","enum":["linear","logarithmic"],"type":"string"},"scaleLogBase":{"description":"Base of the logarithmic scale. Only applies if the scale is logarithmic.","examples":[2,10],"type":"number"},"ticksDensity":{"description":"Density of the ticks on the X-axis","enum":["compact","normal","sparse"],"type":"string"},"ticksMode":{"default":"ticks","description":"Ticks mode of the X-axis: hide, ticks, or gridlines","enum":["gridlines","hide","ticks"],"type":"string"}},"type":"object"}},"type":"object"},"bars":{"description":"Bars options","properties":{"colors":{"default":[],"description":"Colors for bars","items":{"type":"string"},"type":"array"},"label":{"default":false,"description":"Show label for bars","type":"boolean"}},"type":"object"},"color":{"default":"","description":"The main color for the item, if omitted the default color from the theme will be used","examples":["#FF5733","#33FF57","#5733FF"],"type":"string"},"display":{"description":"Display options","properties":{"legend":{"default":true,"description":"Show or hide legend.","type":"boolean"},"title":{"default":true,"description":"Show or hide title.","type":"boolean"}},"type":"object"},"grid":{"description":"Grid options","properties":{"x":{"description":"X-axis grid options","properties":{"enabled":{"default":false,"description":"Show or hide the axis grid","type":"boolean"},"opacity":{"description":"Opacity of the axis grid","examples":[1,0.5,0.1],"type":"number"},"style":{"description":"Style of the axis grid","enum":["dashed","dotted","solid"],"type":"string"}},"type":"object"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"customEvents":{"default":null,"description":"Custom events interactivity option","properties":{"events":{"items":{"description":"Custom event configuration","properties":{"label":{"description":"Label in format {<locale>: \\"label\\"}, for example","examples":[{"en":"Total Revenue"}],"type":"object"},"name":{"description":"Custom event name","type":"string"}},"type":"object"},"type":"array"},"extraData":{"items":{"properties":{"aggregation":{"description":"Aggregation query type","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"formulaId":{"description":"Formula id","format":"uuid","type":"string"},"label":{"description":"Label","type":"string"},"weightedColumnId":{"description":"Weighted column id","format":"uuid","type":"string"},"weightedDatasetId":{"description":"Weighted dataset id","format":"uuid","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"customTooltip":{"default":null,"description":"Custom tooltip interactivity option, in format {<locale>: \\"tooltip text\\"}","examples":[{"en":"Total Revenue"}],"type":["null","object"]},"exportTypes":{"default":["xlsx","csv","png"],"description":"Export types interactivity option","items":{"description":"Export types","enum":["base64","csv","csv-raw","png","xlsx","xlsx-raw"],"type":"string"},"type":"array"},"legendReorder":{"default":false,"description":"Allow viewers to reorder legend items by dragging. Only applies when \`legend.customOrder\` is enabled.","type":"boolean"},"measureDimensionPicker":{"default":[[]],"description":"An array of measure dimension picker configurations","items":{"description":"Measure dimension picker configuration","properties":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"type":"object"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"scheduledExport":{"default":true,"description":"Whether scheduled/recurring export is allowed for this chart.","type":"boolean"},"select":{"default":true,"description":"Filter on select interactivity option","type":"boolean"},"urlConfig":{"default":{"target":"_blank","url":null},"description":"Go to URL interactivity option","properties":{"target":{"description":"URL target","enum":["_blank","_parent","_self"],"type":"string"},"url":{"description":"URL in format {<locale>: \\"url\\"}","examples":[{"en":"https://example.com"}],"type":"object"}},"type":"object"}},"type":"object"},"internalPadding":{"description":"Padding between bars","examples":[5,10],"type":"number"},"legend":{"description":"Legend options, they are applied if the legend is displayed","properties":{"customOrder":{"default":false,"description":"Enable a custom, user-defined legend order. When enabled, editors can drag legend\\nitems to arrange them and the order is saved. When disabled, the automatic order applies.","type":"boolean"},"order":{"description":"Saved custom legend order, keyed by legend-dimension. Only applied when \`customOrder\` is enabled.","type":"object"},"position":{"description":"Position of the legend. Only available when the legend is shown.","enum":["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],"type":"string"},"size":{"description":"Size of the legend. Only available when the legend is shown.","enum":["L","M","S"],"type":"string"},"type":{"description":"Type of the legend. Only available when the legend is shown.","enum":["bar","list"],"type":"string"}},"type":"object"},"limit":{"description":"The maximum number of data rows to query and display","properties":{"number":{"default":100000,"description":"Number of observations value","type":"number"}},"type":"object"},"loader":{"description":"The loader configuration","properties":{"background":{"default":"#f9f9f9","description":"Background color of the chart loader element","type":"string"},"fontColor":{"default":"#5a5a5a","description":"Font color of the text of the chart loaders","type":"string"},"locale":{"default":"en","description":"Locale to be used if \\"msg\\" is set","examples":["en","fr"],"type":"string"},"mode":{"default":"light","description":"Light or dark loader","type":"string"},"msg":{"description":"Loading message","examples":["Loading dashboard..."],"type":"string"},"showBranded":{"default":false,"description":"Shows the branded \\"powered by\\" information","type":"boolean"},"spinnerBackground":{"default":"rgba(169, 169, 169, 0.14)","description":"Background color of the spinner","type":"string"},"spinnerColor":{"default":"rgba(255, 165, 0, 0.7)","description":"Spinner color of the loader","type":"string"}},"type":"object"},"locale":{"default":"en","description":"Locale to be used","examples":["en","fr"],"type":"string"},"lookupFiltering":{"default":false,"description":"Allow interactive filtering of charts with linked datasets","type":"boolean"},"ranking":{"description":"Item query ranking","properties":{"active":{"description":"Item query ranking is active","type":"boolean"},"direction":{"description":"Item query ranking direction","enum":["bottom","top"],"type":"string"},"number":{"description":"Item query ranking number","type":"number"}},"type":"object"},"roundedCorners":{"description":"Roundedness of corners of bars","examples":[0,5,10],"type":"number"},"sort":{"description":"Sort options","properties":{"by":{"default":"category","description":"Sort by option, which slot or column or bar to use to sort the pyramid chart.","enum":["category","column","leftbar","measure","rightbar"],"examples":["measure","category","column","leftbar","rightbar"],"type":"string"}},"type":"object"},"theme":{"description":"Theme configuration","properties":{"axis":{"description":"Custom axis styling","examples":[{"fontSize":12},{"fontSize":10}],"type":"object"},"background":{"description":"Background color","examples":["rgb(245, 245, 245)","rgb(61, 61, 61)"],"type":"string"},"baseFontSize":{"description":"Base font size, usually it participates in calculations related to font sizes, spacings, etc.","examples":[13,16,20],"type":"number"},"borders":{"description":"Custom border styling","properties":{"border-bottom-width":{"description":"Border bottom width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-color":{"description":"Border color, it is visible when a border style and width are set","examples":["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],"type":"string"},"border-left-width":{"description":"Border left width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-radius":{"description":"Border radius","examples":["0","12px","20px"],"type":"string"},"border-right-width":{"description":"Border right width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-style":{"description":"Border style, it is visible when a border color and width are set","examples":["none","solid","dotted","dashed"],"type":"string"},"border-top-width":{"description":"Border top width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"}},"type":"object"},"boxShadow":{"description":"Custom shadow styling","properties":{"color":{"description":"Shadow color","examples":["rgb(0, 0, 0)","rgb(100, 100, 103)"],"type":"string"},"size":{"description":"Shadow size","enum":["L","M","S","none"],"examples":["none","S","M","L"],"type":"string"}},"type":"object"},"colors":{"description":"Custom color palette, an array of colors which may affect different areas of a chart, for example, lines, bars, etc.","examples":[["red","green","blue","yellow","orange","purple"]],"items":{"type":"string"},"type":"array"},"editBackground":{"description":"Edit background","examples":["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],"type":"string"},"editModeBackground":{"description":"Edit mode background","examples":["rgb(245, 245, 245)"],"type":"string"},"font":{"description":"Custom font styling","properties":{"fontFamily":{"description":"Font family","examples":["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],"type":"string"},"fontSize":{"description":"Font size in px, if not set, it will be inherited from the theme. It can be overridden if more specific \\"fontSize\\" is set, for example, \\"fontSize\\" inside options like \\"title\\", \\"axis\\", \\"legend\\", \\"tooltip\\", etc.","examples":[10,15,18],"type":"number"}},"type":"object"},"id":{"description":"Id of the theme, for example, \\"seasonal\\", \\"urban\\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.","examples":["seasonal","urban"],"type":"string"},"itemSpecific":{"description":"Item specific styling","properties":{"padding":{"description":"Padding of the item","examples":[0,4,8,10],"type":"number"},"rounding":{"description":"Rounding of the item","examples":[0,8,12],"type":"number"}},"type":"object"},"itemsBackground":{"description":"Custom item background color","examples":["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],"type":"string"},"legend":{"description":"Custom legend styling, it's applied if the legend is displayed","properties":{"fontSize":{"description":"Legend font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16],"type":"number"},"lineHeight":{"description":"Legend line height in px","examples":[12,16,20],"type":"number"},"type":{"description":"Legend type","enum":["circle","line","normal"],"examples":["normal","line","circle"],"type":"string"}},"type":"object"},"mainColor":{"description":"Theme main color","examples":["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],"type":"string"},"margins":{"description":"Dashboard vertical and horizontal margins","examples":[[16,16],[20,20]],"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"},"title":{"description":"Custom title styling, it's applied if the title is displayed","properties":{"align":{"description":"Title align","enum":["center","left","right"],"examples":["left","center","right"],"type":"string"},"bold":{"description":"Is title bold","examples":[true,false],"type":"boolean"},"border":{"description":"Is title a border","examples":[true,false],"type":"boolean"},"fontSize":{"description":"Title's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[16,20],"type":"number"},"italic":{"description":"Is title italic","examples":[true,false],"type":"boolean"},"lineHeight":{"description":"Title's line height in px","examples":[30,42,50],"type":"number"},"underline":{"description":"Is title underline","examples":[true,false],"type":"boolean"}},"type":"object"},"tooltip":{"description":"Custom tooltip styling, it's applied if the tooltip is turned on","properties":{"background":{"description":"Tooltip's background","examples":["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],"type":"string"},"fontSize":{"description":"Tooltip's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16,20],"type":"number"},"opacity":{"description":"Tooltip's opacity, it should be between 0 and 1, for example, 0.8","examples":[0.5,0.8,1],"type":"number"}},"type":"object"},"type":{"description":"It should be \\"custom\\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.","examples":["custom"],"type":"string"}},"type":"object"},"timezoneId":{"description":"The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database","examples":["Europe/Brussels","America/New_York"],"type":"string"},"title":{"description":"Title in format { <locale>: \\"title\\"}. It's applied if the title is displayed.","examples":[{"en":"Title"}],"type":"object"}}`),r="object",o={$id:e,$schema:t,properties:i,type:r};exports.$id=e;exports.$schema=t;exports.default=o;exports.properties=i;exports.type=r;
2
2
  //# sourceMappingURL=pyramid-chart-options.schema.json.cjs.map
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-options.schema.json",
2
+ "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-options.schema.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "properties": {
5
5
  "annotate": {
@@ -292,6 +292,11 @@ declare const _default: {
292
292
  },
293
293
  "type": "array"
294
294
  },
295
+ "legendReorder": {
296
+ "default": false,
297
+ "description": "Allow viewers to reorder legend items by dragging. Only applies when `legend.customOrder` is enabled.",
298
+ "type": "boolean"
299
+ },
295
300
  "measureDimensionPicker": {
296
301
  "default": [
297
302
  []
@@ -525,6 +530,12 @@ declare const _default: {
525
530
  "allOf": [
526
531
  {
527
532
  "properties": {
533
+ "ai_context": {
534
+ "type": [
535
+ "null",
536
+ "string"
537
+ ]
538
+ },
528
539
  "cardinality": {
529
540
  "type": "number"
530
541
  },
@@ -868,6 +879,15 @@ declare const _default: {
868
879
  "legend": {
869
880
  "description": "Legend options, they are applied if the legend is displayed",
870
881
  "properties": {
882
+ "customOrder": {
883
+ "default": false,
884
+ "description": "Enable a custom, user-defined legend order. When enabled, editors can drag legend\nitems to arrange them and the order is saved. When disabled, the automatic order applies.",
885
+ "type": "boolean"
886
+ },
887
+ "order": {
888
+ "description": "Saved custom legend order, keyed by legend-dimension. Only applied when `customOrder` is enabled.",
889
+ "type": "object"
890
+ },
871
891
  "position": {
872
892
  "description": "Position of the legend. Only available when the legend is shown.",
873
893
  "enum": [
@@ -1,14 +1,14 @@
1
- const e = "https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-options.schema.json", t = "http://json-schema.org/draft-07/schema#", i = /* @__PURE__ */ JSON.parse(`{"annotate":{"description":"Information tooltip configuration","properties":{"infoTooltip":{"properties":{"active":{"description":"Is information tooltip active","type":"boolean"},"content":{"description":"Information tooltip content in format {<locale>: \\"content\\"}","examples":[{"en":"Content"}],"type":"object"},"position":{"description":"Information tooltip position","enum":["left","right"],"type":"string"}},"type":"object"}},"type":"object"},"axis":{"description":"Axis options","properties":{"x":{"description":"X-axis options","properties":{"color":{"description":"X-axis color","examples":["#000000","black","rgba(0,0,0,1)"],"type":"string"},"scale":{"default":"linear","description":"X-axis scale type: linear or logarithmic","enum":["linear","logarithmic"],"type":"string"},"scaleLogBase":{"description":"Base of the logarithmic scale. Only applies if the scale is logarithmic.","examples":[2,10],"type":"number"},"ticksDensity":{"description":"Density of the ticks on the X-axis","enum":["compact","normal","sparse"],"type":"string"},"ticksMode":{"default":"ticks","description":"Ticks mode of the X-axis: hide, ticks, or gridlines","enum":["gridlines","hide","ticks"],"type":"string"}},"type":"object"}},"type":"object"},"bars":{"description":"Bars options","properties":{"colors":{"default":[],"description":"Colors for bars","items":{"type":"string"},"type":"array"},"label":{"default":false,"description":"Show label for bars","type":"boolean"}},"type":"object"},"color":{"default":"","description":"The main color for the item, if omitted the default color from the theme will be used","examples":["#FF5733","#33FF57","#5733FF"],"type":"string"},"display":{"description":"Display options","properties":{"legend":{"default":true,"description":"Show or hide legend.","type":"boolean"},"title":{"default":true,"description":"Show or hide title.","type":"boolean"}},"type":"object"},"grid":{"description":"Grid options","properties":{"x":{"description":"X-axis grid options","properties":{"enabled":{"default":false,"description":"Show or hide the axis grid","type":"boolean"},"opacity":{"description":"Opacity of the axis grid","examples":[1,0.5,0.1],"type":"number"},"style":{"description":"Style of the axis grid","enum":["dashed","dotted","solid"],"type":"string"}},"type":"object"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"customEvents":{"default":null,"description":"Custom events interactivity option","properties":{"events":{"items":{"description":"Custom event configuration","properties":{"label":{"description":"Label in format {<locale>: \\"label\\"}, for example","examples":[{"en":"Total Revenue"}],"type":"object"},"name":{"description":"Custom event name","type":"string"}},"type":"object"},"type":"array"},"extraData":{"items":{"properties":{"aggregation":{"description":"Aggregation query type","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"formulaId":{"description":"Formula id","format":"uuid","type":"string"},"label":{"description":"Label","type":"string"},"weightedColumnId":{"description":"Weighted column id","format":"uuid","type":"string"},"weightedDatasetId":{"description":"Weighted dataset id","format":"uuid","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"customTooltip":{"default":null,"description":"Custom tooltip interactivity option, in format {<locale>: \\"tooltip text\\"}","examples":[{"en":"Total Revenue"}],"type":["null","object"]},"exportTypes":{"default":["xlsx","csv","png"],"description":"Export types interactivity option","items":{"description":"Export types","enum":["base64","csv","csv-raw","png","xlsx","xlsx-raw"],"type":"string"},"type":"array"},"measureDimensionPicker":{"default":[[]],"description":"An array of measure dimension picker configurations","items":{"description":"Measure dimension picker configuration","properties":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"type":"object"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"scheduledExport":{"default":true,"description":"Whether scheduled/recurring export is allowed for this chart.","type":"boolean"},"select":{"default":true,"description":"Filter on select interactivity option","type":"boolean"},"urlConfig":{"default":{"target":"_blank","url":null},"description":"Go to URL interactivity option","properties":{"target":{"description":"URL target","enum":["_blank","_parent","_self"],"type":"string"},"url":{"description":"URL in format {<locale>: \\"url\\"}","examples":[{"en":"https://example.com"}],"type":"object"}},"type":"object"}},"type":"object"},"internalPadding":{"description":"Padding between bars","examples":[5,10],"type":"number"},"legend":{"description":"Legend options, they are applied if the legend is displayed","properties":{"position":{"description":"Position of the legend. Only available when the legend is shown.","enum":["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],"type":"string"},"size":{"description":"Size of the legend. Only available when the legend is shown.","enum":["L","M","S"],"type":"string"},"type":{"description":"Type of the legend. Only available when the legend is shown.","enum":["bar","list"],"type":"string"}},"type":"object"},"limit":{"description":"The maximum number of data rows to query and display","properties":{"number":{"default":100000,"description":"Number of observations value","type":"number"}},"type":"object"},"loader":{"description":"The loader configuration","properties":{"background":{"default":"#f9f9f9","description":"Background color of the chart loader element","type":"string"},"fontColor":{"default":"#5a5a5a","description":"Font color of the text of the chart loaders","type":"string"},"locale":{"default":"en","description":"Locale to be used if \\"msg\\" is set","examples":["en","fr"],"type":"string"},"mode":{"default":"light","description":"Light or dark loader","type":"string"},"msg":{"description":"Loading message","examples":["Loading dashboard..."],"type":"string"},"showBranded":{"default":false,"description":"Shows the branded \\"powered by\\" information","type":"boolean"},"spinnerBackground":{"default":"rgba(169, 169, 169, 0.14)","description":"Background color of the spinner","type":"string"},"spinnerColor":{"default":"rgba(255, 165, 0, 0.7)","description":"Spinner color of the loader","type":"string"}},"type":"object"},"locale":{"default":"en","description":"Locale to be used","examples":["en","fr"],"type":"string"},"lookupFiltering":{"default":false,"description":"Allow interactive filtering of charts with linked datasets","type":"boolean"},"ranking":{"description":"Item query ranking","properties":{"active":{"description":"Item query ranking is active","type":"boolean"},"direction":{"description":"Item query ranking direction","enum":["bottom","top"],"type":"string"},"number":{"description":"Item query ranking number","type":"number"}},"type":"object"},"roundedCorners":{"description":"Roundedness of corners of bars","examples":[0,5,10],"type":"number"},"sort":{"description":"Sort options","properties":{"by":{"default":"category","description":"Sort by option, which slot or column or bar to use to sort the pyramid chart.","enum":["category","column","leftbar","measure","rightbar"],"examples":["measure","category","column","leftbar","rightbar"],"type":"string"}},"type":"object"},"theme":{"description":"Theme configuration","properties":{"axis":{"description":"Custom axis styling","examples":[{"fontSize":12},{"fontSize":10}],"type":"object"},"background":{"description":"Background color","examples":["rgb(245, 245, 245)","rgb(61, 61, 61)"],"type":"string"},"baseFontSize":{"description":"Base font size, usually it participates in calculations related to font sizes, spacings, etc.","examples":[13,16,20],"type":"number"},"borders":{"description":"Custom border styling","properties":{"border-bottom-width":{"description":"Border bottom width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-color":{"description":"Border color, it is visible when a border style and width are set","examples":["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],"type":"string"},"border-left-width":{"description":"Border left width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-radius":{"description":"Border radius","examples":["0","12px","20px"],"type":"string"},"border-right-width":{"description":"Border right width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-style":{"description":"Border style, it is visible when a border color and width are set","examples":["none","solid","dotted","dashed"],"type":"string"},"border-top-width":{"description":"Border top width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"}},"type":"object"},"boxShadow":{"description":"Custom shadow styling","properties":{"color":{"description":"Shadow color","examples":["rgb(0, 0, 0)","rgb(100, 100, 103)"],"type":"string"},"size":{"description":"Shadow size","enum":["L","M","S","none"],"examples":["none","S","M","L"],"type":"string"}},"type":"object"},"colors":{"description":"Custom color palette, an array of colors which may affect different areas of a chart, for example, lines, bars, etc.","examples":[["red","green","blue","yellow","orange","purple"]],"items":{"type":"string"},"type":"array"},"editBackground":{"description":"Edit background","examples":["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],"type":"string"},"editModeBackground":{"description":"Edit mode background","examples":["rgb(245, 245, 245)"],"type":"string"},"font":{"description":"Custom font styling","properties":{"fontFamily":{"description":"Font family","examples":["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],"type":"string"},"fontSize":{"description":"Font size in px, if not set, it will be inherited from the theme. It can be overridden if more specific \\"fontSize\\" is set, for example, \\"fontSize\\" inside options like \\"title\\", \\"axis\\", \\"legend\\", \\"tooltip\\", etc.","examples":[10,15,18],"type":"number"}},"type":"object"},"id":{"description":"Id of the theme, for example, \\"seasonal\\", \\"urban\\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.","examples":["seasonal","urban"],"type":"string"},"itemSpecific":{"description":"Item specific styling","properties":{"padding":{"description":"Padding of the item","examples":[0,4,8,10],"type":"number"},"rounding":{"description":"Rounding of the item","examples":[0,8,12],"type":"number"}},"type":"object"},"itemsBackground":{"description":"Custom item background color","examples":["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],"type":"string"},"legend":{"description":"Custom legend styling, it's applied if the legend is displayed","properties":{"fontSize":{"description":"Legend font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16],"type":"number"},"lineHeight":{"description":"Legend line height in px","examples":[12,16,20],"type":"number"},"type":{"description":"Legend type","enum":["circle","line","normal"],"examples":["normal","line","circle"],"type":"string"}},"type":"object"},"mainColor":{"description":"Theme main color","examples":["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],"type":"string"},"margins":{"description":"Dashboard vertical and horizontal margins","examples":[[16,16],[20,20]],"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"},"title":{"description":"Custom title styling, it's applied if the title is displayed","properties":{"align":{"description":"Title align","enum":["center","left","right"],"examples":["left","center","right"],"type":"string"},"bold":{"description":"Is title bold","examples":[true,false],"type":"boolean"},"border":{"description":"Is title a border","examples":[true,false],"type":"boolean"},"fontSize":{"description":"Title's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[16,20],"type":"number"},"italic":{"description":"Is title italic","examples":[true,false],"type":"boolean"},"lineHeight":{"description":"Title's line height in px","examples":[30,42,50],"type":"number"},"underline":{"description":"Is title underline","examples":[true,false],"type":"boolean"}},"type":"object"},"tooltip":{"description":"Custom tooltip styling, it's applied if the tooltip is turned on","properties":{"background":{"description":"Tooltip's background","examples":["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],"type":"string"},"fontSize":{"description":"Tooltip's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16,20],"type":"number"},"opacity":{"description":"Tooltip's opacity, it should be between 0 and 1, for example, 0.8","examples":[0.5,0.8,1],"type":"number"}},"type":"object"},"type":{"description":"It should be \\"custom\\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.","examples":["custom"],"type":"string"}},"type":"object"},"timezoneId":{"description":"The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database","examples":["Europe/Brussels","America/New_York"],"type":"string"},"title":{"description":"Title in format { <locale>: \\"title\\"}. It's applied if the title is displayed.","examples":[{"en":"Title"}],"type":"object"}}`), o = "object", r = {
1
+ const e = "https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-options.schema.json", t = "http://json-schema.org/draft-07/schema#", i = /* @__PURE__ */ JSON.parse(`{"annotate":{"description":"Information tooltip configuration","properties":{"infoTooltip":{"properties":{"active":{"description":"Is information tooltip active","type":"boolean"},"content":{"description":"Information tooltip content in format {<locale>: \\"content\\"}","examples":[{"en":"Content"}],"type":"object"},"position":{"description":"Information tooltip position","enum":["left","right"],"type":"string"}},"type":"object"}},"type":"object"},"axis":{"description":"Axis options","properties":{"x":{"description":"X-axis options","properties":{"color":{"description":"X-axis color","examples":["#000000","black","rgba(0,0,0,1)"],"type":"string"},"scale":{"default":"linear","description":"X-axis scale type: linear or logarithmic","enum":["linear","logarithmic"],"type":"string"},"scaleLogBase":{"description":"Base of the logarithmic scale. Only applies if the scale is logarithmic.","examples":[2,10],"type":"number"},"ticksDensity":{"description":"Density of the ticks on the X-axis","enum":["compact","normal","sparse"],"type":"string"},"ticksMode":{"default":"ticks","description":"Ticks mode of the X-axis: hide, ticks, or gridlines","enum":["gridlines","hide","ticks"],"type":"string"}},"type":"object"}},"type":"object"},"bars":{"description":"Bars options","properties":{"colors":{"default":[],"description":"Colors for bars","items":{"type":"string"},"type":"array"},"label":{"default":false,"description":"Show label for bars","type":"boolean"}},"type":"object"},"color":{"default":"","description":"The main color for the item, if omitted the default color from the theme will be used","examples":["#FF5733","#33FF57","#5733FF"],"type":"string"},"display":{"description":"Display options","properties":{"legend":{"default":true,"description":"Show or hide legend.","type":"boolean"},"title":{"default":true,"description":"Show or hide title.","type":"boolean"}},"type":"object"},"grid":{"description":"Grid options","properties":{"x":{"description":"X-axis grid options","properties":{"enabled":{"default":false,"description":"Show or hide the axis grid","type":"boolean"},"opacity":{"description":"Opacity of the axis grid","examples":[1,0.5,0.1],"type":"number"},"style":{"description":"Style of the axis grid","enum":["dashed","dotted","solid"],"type":"string"}},"type":"object"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"customEvents":{"default":null,"description":"Custom events interactivity option","properties":{"events":{"items":{"description":"Custom event configuration","properties":{"label":{"description":"Label in format {<locale>: \\"label\\"}, for example","examples":[{"en":"Total Revenue"}],"type":"object"},"name":{"description":"Custom event name","type":"string"}},"type":"object"},"type":"array"},"extraData":{"items":{"properties":{"aggregation":{"description":"Aggregation query type","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"formulaId":{"description":"Formula id","format":"uuid","type":"string"},"label":{"description":"Label","type":"string"},"weightedColumnId":{"description":"Weighted column id","format":"uuid","type":"string"},"weightedDatasetId":{"description":"Weighted dataset id","format":"uuid","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"customTooltip":{"default":null,"description":"Custom tooltip interactivity option, in format {<locale>: \\"tooltip text\\"}","examples":[{"en":"Total Revenue"}],"type":["null","object"]},"exportTypes":{"default":["xlsx","csv","png"],"description":"Export types interactivity option","items":{"description":"Export types","enum":["base64","csv","csv-raw","png","xlsx","xlsx-raw"],"type":"string"},"type":"array"},"legendReorder":{"default":false,"description":"Allow viewers to reorder legend items by dragging. Only applies when \`legend.customOrder\` is enabled.","type":"boolean"},"measureDimensionPicker":{"default":[[]],"description":"An array of measure dimension picker configurations","items":{"description":"Measure dimension picker configuration","properties":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"type":"object"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":"array"},"scheduledExport":{"default":true,"description":"Whether scheduled/recurring export is allowed for this chart.","type":"boolean"},"select":{"default":true,"description":"Filter on select interactivity option","type":"boolean"},"urlConfig":{"default":{"target":"_blank","url":null},"description":"Go to URL interactivity option","properties":{"target":{"description":"URL target","enum":["_blank","_parent","_self"],"type":"string"},"url":{"description":"URL in format {<locale>: \\"url\\"}","examples":[{"en":"https://example.com"}],"type":"object"}},"type":"object"}},"type":"object"},"internalPadding":{"description":"Padding between bars","examples":[5,10],"type":"number"},"legend":{"description":"Legend options, they are applied if the legend is displayed","properties":{"customOrder":{"default":false,"description":"Enable a custom, user-defined legend order. When enabled, editors can drag legend\\nitems to arrange them and the order is saved. When disabled, the automatic order applies.","type":"boolean"},"order":{"description":"Saved custom legend order, keyed by legend-dimension. Only applied when \`customOrder\` is enabled.","type":"object"},"position":{"description":"Position of the legend. Only available when the legend is shown.","enum":["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],"type":"string"},"size":{"description":"Size of the legend. Only available when the legend is shown.","enum":["L","M","S"],"type":"string"},"type":{"description":"Type of the legend. Only available when the legend is shown.","enum":["bar","list"],"type":"string"}},"type":"object"},"limit":{"description":"The maximum number of data rows to query and display","properties":{"number":{"default":100000,"description":"Number of observations value","type":"number"}},"type":"object"},"loader":{"description":"The loader configuration","properties":{"background":{"default":"#f9f9f9","description":"Background color of the chart loader element","type":"string"},"fontColor":{"default":"#5a5a5a","description":"Font color of the text of the chart loaders","type":"string"},"locale":{"default":"en","description":"Locale to be used if \\"msg\\" is set","examples":["en","fr"],"type":"string"},"mode":{"default":"light","description":"Light or dark loader","type":"string"},"msg":{"description":"Loading message","examples":["Loading dashboard..."],"type":"string"},"showBranded":{"default":false,"description":"Shows the branded \\"powered by\\" information","type":"boolean"},"spinnerBackground":{"default":"rgba(169, 169, 169, 0.14)","description":"Background color of the spinner","type":"string"},"spinnerColor":{"default":"rgba(255, 165, 0, 0.7)","description":"Spinner color of the loader","type":"string"}},"type":"object"},"locale":{"default":"en","description":"Locale to be used","examples":["en","fr"],"type":"string"},"lookupFiltering":{"default":false,"description":"Allow interactive filtering of charts with linked datasets","type":"boolean"},"ranking":{"description":"Item query ranking","properties":{"active":{"description":"Item query ranking is active","type":"boolean"},"direction":{"description":"Item query ranking direction","enum":["bottom","top"],"type":"string"},"number":{"description":"Item query ranking number","type":"number"}},"type":"object"},"roundedCorners":{"description":"Roundedness of corners of bars","examples":[0,5,10],"type":"number"},"sort":{"description":"Sort options","properties":{"by":{"default":"category","description":"Sort by option, which slot or column or bar to use to sort the pyramid chart.","enum":["category","column","leftbar","measure","rightbar"],"examples":["measure","category","column","leftbar","rightbar"],"type":"string"}},"type":"object"},"theme":{"description":"Theme configuration","properties":{"axis":{"description":"Custom axis styling","examples":[{"fontSize":12},{"fontSize":10}],"type":"object"},"background":{"description":"Background color","examples":["rgb(245, 245, 245)","rgb(61, 61, 61)"],"type":"string"},"baseFontSize":{"description":"Base font size, usually it participates in calculations related to font sizes, spacings, etc.","examples":[13,16,20],"type":"number"},"borders":{"description":"Custom border styling","properties":{"border-bottom-width":{"description":"Border bottom width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-color":{"description":"Border color, it is visible when a border style and width are set","examples":["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],"type":"string"},"border-left-width":{"description":"Border left width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-radius":{"description":"Border radius","examples":["0","12px","20px"],"type":"string"},"border-right-width":{"description":"Border right width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-style":{"description":"Border style, it is visible when a border color and width are set","examples":["none","solid","dotted","dashed"],"type":"string"},"border-top-width":{"description":"Border top width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"}},"type":"object"},"boxShadow":{"description":"Custom shadow styling","properties":{"color":{"description":"Shadow color","examples":["rgb(0, 0, 0)","rgb(100, 100, 103)"],"type":"string"},"size":{"description":"Shadow size","enum":["L","M","S","none"],"examples":["none","S","M","L"],"type":"string"}},"type":"object"},"colors":{"description":"Custom color palette, an array of colors which may affect different areas of a chart, for example, lines, bars, etc.","examples":[["red","green","blue","yellow","orange","purple"]],"items":{"type":"string"},"type":"array"},"editBackground":{"description":"Edit background","examples":["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],"type":"string"},"editModeBackground":{"description":"Edit mode background","examples":["rgb(245, 245, 245)"],"type":"string"},"font":{"description":"Custom font styling","properties":{"fontFamily":{"description":"Font family","examples":["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],"type":"string"},"fontSize":{"description":"Font size in px, if not set, it will be inherited from the theme. It can be overridden if more specific \\"fontSize\\" is set, for example, \\"fontSize\\" inside options like \\"title\\", \\"axis\\", \\"legend\\", \\"tooltip\\", etc.","examples":[10,15,18],"type":"number"}},"type":"object"},"id":{"description":"Id of the theme, for example, \\"seasonal\\", \\"urban\\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.","examples":["seasonal","urban"],"type":"string"},"itemSpecific":{"description":"Item specific styling","properties":{"padding":{"description":"Padding of the item","examples":[0,4,8,10],"type":"number"},"rounding":{"description":"Rounding of the item","examples":[0,8,12],"type":"number"}},"type":"object"},"itemsBackground":{"description":"Custom item background color","examples":["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],"type":"string"},"legend":{"description":"Custom legend styling, it's applied if the legend is displayed","properties":{"fontSize":{"description":"Legend font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16],"type":"number"},"lineHeight":{"description":"Legend line height in px","examples":[12,16,20],"type":"number"},"type":{"description":"Legend type","enum":["circle","line","normal"],"examples":["normal","line","circle"],"type":"string"}},"type":"object"},"mainColor":{"description":"Theme main color","examples":["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],"type":"string"},"margins":{"description":"Dashboard vertical and horizontal margins","examples":[[16,16],[20,20]],"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"},"title":{"description":"Custom title styling, it's applied if the title is displayed","properties":{"align":{"description":"Title align","enum":["center","left","right"],"examples":["left","center","right"],"type":"string"},"bold":{"description":"Is title bold","examples":[true,false],"type":"boolean"},"border":{"description":"Is title a border","examples":[true,false],"type":"boolean"},"fontSize":{"description":"Title's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[16,20],"type":"number"},"italic":{"description":"Is title italic","examples":[true,false],"type":"boolean"},"lineHeight":{"description":"Title's line height in px","examples":[30,42,50],"type":"number"},"underline":{"description":"Is title underline","examples":[true,false],"type":"boolean"}},"type":"object"},"tooltip":{"description":"Custom tooltip styling, it's applied if the tooltip is turned on","properties":{"background":{"description":"Tooltip's background","examples":["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],"type":"string"},"fontSize":{"description":"Tooltip's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16,20],"type":"number"},"opacity":{"description":"Tooltip's opacity, it should be between 0 and 1, for example, 0.8","examples":[0.5,0.8,1],"type":"number"}},"type":"object"},"type":{"description":"It should be \\"custom\\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.","examples":["custom"],"type":"string"}},"type":"object"},"timezoneId":{"description":"The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database","examples":["Europe/Brussels","America/New_York"],"type":"string"},"title":{"description":"Title in format { <locale>: \\"title\\"}. It's applied if the title is displayed.","examples":[{"en":"Title"}],"type":"object"}}`), r = "object", o = {
2
2
  $id: e,
3
3
  $schema: t,
4
4
  properties: i,
5
- type: o
5
+ type: r
6
6
  };
7
7
  export {
8
8
  e as $id,
9
9
  t as $schema,
10
- r as default,
10
+ o as default,
11
11
  i as properties,
12
- o as type
12
+ r as type
13
13
  };
14
14
  //# sourceMappingURL=pyramid-chart-options.schema.json.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json",t="http://json-schema.org/draft-07/schema#",o=JSON.parse(`{"ColumnSubtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"ColumnType":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"DateTimeSlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"datetime\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"description":"There's no subtype for \\"datetime\\", it can be null or omitted","type":"null"},"type":{"const":"datetime","description":"\\"datetime\\" column type","type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"HierarchySlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"hierarchy\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"hierarchy","description":"\\"hierarchy\\" column type","type":"string"}},"type":"object"},"LegendSlot":{"description":"Legend slot definition of the Pyramid chart. This defines the legend of the Pyramid chart.","properties":{"content":{"description":"Legend slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"legend","description":"Name of the slot","type":"string"}},"type":"object"},"MeasureSlot":{"description":"Measure slot definition of the Pyramid chart.","properties":{"content":{"description":"Measure slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"type":"array"},"name":{"const":"measure","description":"Name of the slot","type":"string"}},"type":"object"},"NumericSlotContent":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/ColumnSubtype","description":"Column subtype"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"numeric","description":"\\"numeric\\" column / formula type","type":"string"}},"type":"object"},"PeriodOverPeriod":{"properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/ColumnSubtype"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/ColumnType"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/PeriodOverPeriodType","description":"Period over period comparison type"}},"type":"object"},"PeriodOverPeriodType":{"description":"Period over period comparison type:\\n'none' - turned off,\\n'past' - absolute value comparison to the past,\\n'absoluteChange' - absolute change comparison to the past,\\n'percentageChange' - percentage change comparison to the past","enum":["none","past","absoluteChange","percentageChange"],"type":"string"},"Record<string,string>":{"type":"object"},"YAxisSlot":{"description":"YAxis slot definition of the Pyramid chart. It is named \\"Bins\\" in case of Pyramid chart.","properties":{"content":{"description":"Y-axis slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"y-axis","description":"Name of the slot","type":"string"}},"type":"object"}}`),s="Data definition of the Pyramid chart",i={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/YAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.100/pyramid-chart-slots.schema.json#/definitions/LegendSlot"}]},r=3,n="array",a={$id:e,$schema:t,definitions:o,description:s,items:i,maxItems:r,type:n};exports.$id=e;exports.$schema=t;exports.default=a;exports.definitions=o;exports.description=s;exports.items=i;exports.maxItems=r;exports.type=n;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json",t="http://json-schema.org/draft-07/schema#",o=JSON.parse(`{"ColumnSubtype":{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"ColumnType":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"DateTimeSlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"datetime\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"description":"There's no subtype for \\"datetime\\", it can be null or omitted","type":"null"},"type":{"const":"datetime","description":"\\"datetime\\" column type","type":"string"},"weekDayNameFormat":{"description":"Week day name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"weekStart":{"description":"Week start day, 'sunday' or 'monday'. For datetime column formatting.","enum":["monday","sunday"],"type":"string"}},"type":"object"},"HierarchySlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"hierarchy\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"hierarchy","description":"\\"hierarchy\\" column type","type":"string"}},"type":"object"},"LegendSlot":{"description":"Legend slot definition of the Pyramid chart. This defines the legend of the Pyramid chart.","properties":{"content":{"description":"Legend slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"legend","description":"Name of the slot","type":"string"}},"type":"object"},"MeasureSlot":{"description":"Measure slot definition of the Pyramid chart.","properties":{"content":{"description":"Measure slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"type":"array"},"name":{"const":"measure","description":"Name of the slot","type":"string"}},"type":"object"},"NumericSlotContent":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/ColumnSubtype","description":"Column subtype"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"grandTotals":{"description":"Enable or disable grand totals, they're only used in Pivot table","properties":{"enabled":{"type":"boolean"}},"type":"object"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"numeric","description":"\\"numeric\\" column / formula type","type":"string"}},"type":"object"},"PeriodOverPeriod":{"properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"duration_format":{"enum":["long","short","time"],"type":"string"},"duration_levels":{"items":{"type":"number"},"type":"array"},"expression":{"type":"string"},"format":{"type":"string"},"hierarchyLevels":{"items":{"properties":{"color":{"type":"string"},"id":{"type":"string"},"level":{"type":"number"},"name":{"type":"object"}},"type":"object"},"type":"array"},"hierarchy_enabled":{"type":"boolean"},"highestLevel":{"type":"number"},"id":{"type":"string"},"informat":{"type":"string"},"isLabel":{"type":"boolean"},"joins":{"items":{"properties":{"currency_id":{"type":["null","string"]},"hierarchy_enabled":{"type":"boolean"},"id":{"type":"string"},"join":{"properties":{"column_id":{"type":"string"},"created_at":{"type":"string"},"joins_id":{"type":"string"},"subtype":{"type":"string"},"type":{"enum":["exact","lookup"],"type":"string"},"update_at":{"type":"string"},"updated_at":{"type":"string"}},"type":"object"},"securable_id":{"type":"string"}},"type":"object"},"type":"array"},"level":{"type":"number"},"lowestLevel":{"type":"number"},"name":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/ColumnSubtype"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/ColumnType"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/PeriodOverPeriodType","description":"Period over period comparison type"}},"type":"object"},"PeriodOverPeriodType":{"description":"Period over period comparison type:\\n'none' - turned off,\\n'past' - absolute value comparison to the past,\\n'absoluteChange' - absolute change comparison to the past,\\n'percentageChange' - percentage change comparison to the past","enum":["none","past","absoluteChange","percentageChange"],"type":"string"},"Record<string,string>":{"type":"object"},"YAxisSlot":{"description":"YAxis slot definition of the Pyramid chart. It is named \\"Bins\\" in case of Pyramid chart.","properties":{"content":{"description":"Y-axis slot definition","items":{"anyOf":[{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"y-axis","description":"Name of the slot","type":"string"}},"type":"object"}}`),s="Data definition of the Pyramid chart",i={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/YAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.102/pyramid-chart-slots.schema.json#/definitions/LegendSlot"}]},r=3,n="array",a={$id:e,$schema:t,definitions:o,description:s,items:i,maxItems:r,type:n};exports.$id=e;exports.$schema=t;exports.default=a;exports.definitions=o;exports.description=s;exports.items=i;exports.maxItems=r;exports.type=n;
2
2
  //# sourceMappingURL=pyramid-chart-slots.schema.json.cjs.map