@luzmo/analytics-components-kit 1.0.1-alpha.86 → 1.0.1-alpha.89

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 (383) hide show
  1. package/angular/components/display-settings-binning.component.ts +2 -2
  2. package/angular/components/display-settings-datetime.component.ts +2 -2
  3. package/angular/components/display-settings-grand-totals.component.ts +2 -2
  4. package/angular/components/display-settings-numeric.component.ts +2 -2
  5. package/angular/components/display-settings.component.ts +3 -3
  6. package/angular/components/draggable-data-item/index.ts +1 -0
  7. package/angular/components/draggable-data-item/types.ts +40 -0
  8. package/angular/components/draggable-data-item-level/index.ts +1 -0
  9. package/angular/components/draggable-data-item-level/types.ts +15 -0
  10. package/angular/components/draggable-data-item-level.component.ts +4 -10
  11. package/angular/components/draggable-data-item.component.ts +4 -10
  12. package/angular/components/droppable-slot/index.ts +1 -0
  13. package/angular/components/droppable-slot/types.ts +16 -0
  14. package/angular/components/droppable-slot.component.ts +5 -3
  15. package/angular/components/slot-menu/index.ts +1 -0
  16. package/angular/components/slot-menu/types.ts +31 -0
  17. package/angular/components/slot-menu-list.component.ts +2 -2
  18. package/angular/components/slot-menu.component.ts +3 -3
  19. package/angular/esm/components/display-settings-binning.component.d.ts +2 -1
  20. package/angular/esm/components/display-settings-datetime.component.d.ts +2 -2
  21. package/angular/esm/components/display-settings-grand-totals.component.d.ts +2 -1
  22. package/angular/esm/components/display-settings-numeric.component.d.ts +2 -1
  23. package/angular/esm/components/display-settings.component.d.ts +3 -3
  24. package/angular/esm/components/draggable-data-item/index.d.ts +1 -0
  25. package/angular/esm/components/draggable-data-item/index.js +1 -0
  26. package/angular/esm/components/draggable-data-item/types.d.ts +22 -0
  27. package/angular/esm/components/draggable-data-item/types.js +1 -0
  28. package/angular/esm/components/draggable-data-item-level/index.d.ts +1 -0
  29. package/angular/esm/components/draggable-data-item-level/index.js +1 -0
  30. package/angular/esm/components/draggable-data-item-level/types.d.ts +12 -0
  31. package/angular/esm/components/draggable-data-item-level/types.js +1 -0
  32. package/angular/esm/components/draggable-data-item-level.component.d.ts +9 -7
  33. package/angular/esm/components/draggable-data-item-level.component.js +2 -17
  34. package/angular/esm/components/draggable-data-item.component.d.ts +9 -7
  35. package/angular/esm/components/draggable-data-item.component.js +2 -17
  36. package/angular/esm/components/droppable-slot/index.d.ts +1 -0
  37. package/angular/esm/components/droppable-slot/index.js +1 -0
  38. package/angular/esm/components/droppable-slot/types.d.ts +9 -0
  39. package/angular/esm/components/droppable-slot/types.js +1 -0
  40. package/angular/esm/components/droppable-slot.component.d.ts +5 -4
  41. package/angular/esm/components/droppable-slot.component.js +7 -2
  42. package/angular/esm/components/slot-menu/index.d.ts +1 -0
  43. package/angular/esm/components/slot-menu/index.js +1 -0
  44. package/angular/esm/components/slot-menu/types.d.ts +25 -0
  45. package/angular/esm/components/slot-menu/types.js +1 -0
  46. package/angular/esm/components/slot-menu-list.component.d.ts +2 -1
  47. package/angular/esm/components/slot-menu.component.d.ts +3 -3
  48. package/angular/esm/types.d.ts +9 -3
  49. package/angular/tsconfig.json +3 -0
  50. package/angular/types.ts +24 -3
  51. package/angular/utils/base/base.d.ts +16 -0
  52. package/angular/utils/base/focus-visible.d.ts +29 -0
  53. package/angular/utils/base/focusable.d.ts +58 -0
  54. package/angular/utils/base/index.d.ts +4 -0
  55. package/angular/utils/base/sized-mixin.d.ts +17 -0
  56. package/angular/utils/color/color-palettes.d.ts +17 -0
  57. package/angular/utils/color/extrapolate-color.d.ts +1 -0
  58. package/angular/utils/data/load-draggable-items-for-datasets.d.ts +24 -0
  59. package/angular/utils/data-broker/index.d.ts +191 -0
  60. package/angular/utils/data-item-types/calculate-data-item-icon.d.ts +10 -0
  61. package/angular/utils/data-item-types/tests/calculate-data-item-icon.test.d.ts +1 -0
  62. package/angular/utils/drag/draggable.d.ts +13 -0
  63. package/angular/utils/filters/expressions.d.ts +15 -0
  64. package/angular/utils/filters/index.d.ts +1 -0
  65. package/angular/utils/formatter/calculate-duration.d.ts +2 -0
  66. package/angular/utils/formatter/decompose-numeric-format.d.ts +11 -0
  67. package/angular/utils/formatter/default-local-formats.d.ts +20 -0
  68. package/angular/utils/formatter/formats/cs.d.ts +20 -0
  69. package/angular/utils/formatter/formats/da.d.ts +20 -0
  70. package/angular/utils/formatter/formats/de.d.ts +21 -0
  71. package/angular/utils/formatter/formats/en-GB.d.ts +21 -0
  72. package/angular/utils/formatter/formats/en-US.d.ts +1 -0
  73. package/angular/utils/formatter/formats/en.d.ts +1 -0
  74. package/angular/utils/formatter/formats/es.d.ts +54 -0
  75. package/angular/utils/formatter/formats/fi.d.ts +20 -0
  76. package/angular/utils/formatter/formats/fr.d.ts +54 -0
  77. package/angular/utils/formatter/formats/he.d.ts +20 -0
  78. package/angular/utils/formatter/formats/hu.d.ts +20 -0
  79. package/angular/utils/formatter/formats/it.d.ts +54 -0
  80. package/angular/utils/formatter/formats/ja.d.ts +20 -0
  81. package/angular/utils/formatter/formats/ko.d.ts +20 -0
  82. package/angular/utils/formatter/formats/mk.d.ts +20 -0
  83. package/angular/utils/formatter/formats/nl.d.ts +21 -0
  84. package/angular/utils/formatter/formats/no.d.ts +21 -0
  85. package/angular/utils/formatter/formats/pl.d.ts +20 -0
  86. package/angular/utils/formatter/formats/pt.d.ts +20 -0
  87. package/angular/utils/formatter/formats/ru.d.ts +20 -0
  88. package/angular/utils/formatter/formats/sv.d.ts +20 -0
  89. package/angular/utils/formatter/formats/tr.d.ts +21 -0
  90. package/angular/utils/formatter/formats/zh-CN.d.ts +20 -0
  91. package/angular/utils/formatter/formats/zh-TW.d.ts +20 -0
  92. package/angular/utils/formatter/formatter.d.ts +9 -0
  93. package/angular/utils/formatter/localize.d.ts +3 -0
  94. package/angular/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
  95. package/angular/utils/get-css-variable.d.ts +1 -0
  96. package/angular/utils/index.d.ts +7 -0
  97. package/angular/utils/localize/set-locale.d.ts +7 -0
  98. package/angular/utils/map-tile-providers/index.d.ts +93 -0
  99. package/angular/utils/store/slot-context.d.ts +4 -0
  100. package/angular/utils/store/slot-store.d.ts +39 -0
  101. package/angular/utils/switch-item/index.d.ts +14 -0
  102. package/angular/utils/themes/bliss.d.ts +43 -0
  103. package/angular/utils/themes/classic-dark.d.ts +34 -0
  104. package/angular/utils/themes/classic.d.ts +43 -0
  105. package/angular/utils/themes/default-dark.d.ts +46 -0
  106. package/angular/utils/themes/default.d.ts +46 -0
  107. package/angular/utils/themes/index.d.ts +3 -0
  108. package/angular/utils/themes/orion.d.ts +44 -0
  109. package/angular/utils/themes/pinky.d.ts +42 -0
  110. package/angular/utils/themes/radiant.d.ts +42 -0
  111. package/angular/utils/themes/royale.d.ts +36 -0
  112. package/angular/utils/themes/seasonal.d.ts +43 -0
  113. package/angular/utils/themes/urban.d.ts +44 -0
  114. package/angular/utils/themes/vivid.d.ts +42 -0
  115. package/angular/utils/time/formats.const.d.ts +4 -0
  116. package/angular/utils/time/periods.const.d.ts +15 -0
  117. package/angular/utils/transformations/convert-data-item-to-slot-content.d.ts +9 -0
  118. package/angular/utils/transformations/convert-datasets-to-draggable-items.d.ts +17 -0
  119. package/angular/utils/transformations/tests/convert-data-item-to-slot-content.test.d.ts +1 -0
  120. package/angular/utils/transformations/tests/convert-datasets-to-draggable-items.test.d.ts +1 -0
  121. package/angular/utils/types/type-check.d.ts +7 -0
  122. package/components/ai-chat-message-assistant/index.cjs +1 -1
  123. package/components/ai-chat-message-assistant/index.js +0 -1
  124. package/components/ai-chat-messages-container/index.cjs +1 -1
  125. package/components/ai-chat-messages-container/index.js +2 -2
  126. package/components/ai-interaction-textarea/index.cjs +1 -1
  127. package/components/ai-interaction-textarea/index.js +1 -2
  128. package/components/area-chart-options.config-Bl8bhhOo.cjs +20 -0
  129. package/components/{area-chart-options.config-_J0sG4NF.js → area-chart-options.config-u8itidsi.js} +14 -26
  130. package/components/bar-chart-options.config-CePAqM83.cjs +20 -0
  131. package/components/{bar-chart-options.config-D1mb5TDl.js → bar-chart-options.config-DIirbAJ0.js} +21 -35
  132. package/components/box-plot-options.config-BVNrV2eD.cjs +20 -0
  133. package/components/{box-plot-options.config-xu_i6ms7.js → box-plot-options.config-BWROiguA.js} +52 -88
  134. package/components/{bubble-chart-options.config-BacgXkJ_.js → bubble-chart-options.config-4QD8VPhU.js} +9 -18
  135. package/components/bubble-chart-options.config-BDgOe3GQ.cjs +20 -0
  136. package/components/{bullet-chart-options.config-CDPpX1yc.js → bullet-chart-options.config-3bH7uekx.js} +1 -1
  137. package/components/{bullet-chart-options.config-DfS4Bwds.cjs → bullet-chart-options.config-tWb6Fio-.cjs} +1 -1
  138. package/components/calculate-data-item-icon-DMDhKq_m.js +147 -0
  139. package/components/{calculate-data-item-icon-DjW1_RI1.cjs → calculate-data-item-icon-DtVGbet3.cjs} +1 -1
  140. package/components/{choropleth-map-options.config-B_W9-rhe.js → choropleth-map-options.config-CMxx3ORp.js} +63 -84
  141. package/components/choropleth-map-options.config-CWJACFd0.cjs +20 -0
  142. package/components/circular-gauge-options.config-BMxgq3zH.cjs +20 -0
  143. package/components/{circular-gauge-options.config-DAIjz4Rl.js → circular-gauge-options.config-DhIKn44k.js} +23 -36
  144. package/components/{color-DuJ4-73S.js → color-B7m0j8lX.js} +941 -950
  145. package/components/color-Czp4Im5q.cjs +20 -0
  146. package/components/{color-range-utils-Bvo9sm5A.js → color-range-utils-BSfqtB3A.js} +31 -32
  147. package/components/color-range-utils-DYYR-iwx.cjs +20 -0
  148. package/components/column-chart-options.config-BV9R3ssH.cjs +20 -0
  149. package/components/{column-chart-options.config-B5SjBVdy.js → column-chart-options.config-D5-yR7iq.js} +27 -37
  150. package/components/conditional-number-options.config-Co099Qfm.cjs +20 -0
  151. package/components/{conditional-number-options.config-BCEpSK9J.js → conditional-number-options.config-DPYsdML5.js} +24 -40
  152. package/components/dataset-icon/index.cjs +1 -1
  153. package/components/dataset-icon/index.js +1 -2
  154. package/components/dataset-selector-list/index.cjs +1 -1
  155. package/components/dataset-selector-list/index.js +32 -35
  156. package/components/dataset-selector-row/index.cjs +9 -9
  157. package/components/dataset-selector-row/index.js +51 -53
  158. package/components/{date-comparison-filter-options.config-JA_yYpJa.js → date-comparison-filter-options.config-CSwGyuBg.js} +3 -6
  159. package/components/{date-comparison-filter-options.config-DAVncmi0.cjs → date-comparison-filter-options.config-QaoWaFUn.cjs} +1 -1
  160. package/components/{date-filter-options.config-DBRxlTWy.js → date-filter-options.config-BTVyHRkp.js} +3 -6
  161. package/components/{date-filter-options.config-CWPMtA18.cjs → date-filter-options.config-n-zhWaYa.cjs} +1 -1
  162. package/components/display-settings/display-settings.d.ts +4 -2
  163. package/components/display-settings/index.cjs +1 -1
  164. package/components/display-settings/index.js +1 -1
  165. package/components/display-settings-binning/display-settings-binning.d.ts +2 -1
  166. package/components/display-settings-binning/index.cjs +5 -5
  167. package/components/display-settings-binning/index.js +29 -30
  168. package/components/display-settings-datetime/display-settings-datetime.d.ts +2 -1
  169. package/components/display-settings-datetime/index.cjs +29 -29
  170. package/components/display-settings-datetime/index.js +112 -120
  171. package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +2 -1
  172. package/components/display-settings-grand-totals/index.cjs +4 -4
  173. package/components/display-settings-grand-totals/index.js +23 -24
  174. package/components/display-settings-numeric/display-settings-numeric.d.ts +2 -1
  175. package/components/display-settings-numeric/index.cjs +48 -48
  176. package/components/display-settings-numeric/index.js +192 -209
  177. package/components/display-settings-period-over-period/index.cjs +16 -16
  178. package/components/display-settings-period-over-period/index.js +91 -97
  179. package/components/{donut-chart-options.config-BulUEiaH.js → donut-chart-options.config-3ZqX8Cbb.js} +21 -37
  180. package/components/donut-chart-options.config-BQyPgnC9.cjs +20 -0
  181. package/components/draggable-data-item/draggable-data-item.d.ts +5 -7
  182. package/components/draggable-data-item/index.cjs +16 -22
  183. package/components/draggable-data-item/index.d.ts +1 -0
  184. package/components/draggable-data-item/index.js +79 -87
  185. package/components/draggable-data-item/types.d.ts +22 -0
  186. package/components/draggable-data-item-level/draggable-data-item-level.d.ts +4 -6
  187. package/components/draggable-data-item-level/helpers/generate-preview.d.ts +9 -1
  188. package/components/draggable-data-item-level/index.cjs +13 -13
  189. package/components/draggable-data-item-level/index.js +85 -106
  190. package/components/draggable-data-item-level/types.d.ts +12 -0
  191. package/components/{dropdown-filter-options.config-D9dvPypF.js → dropdown-filter-options.config-CGJTtgAX.js} +7 -10
  192. package/components/{dropdown-filter-options.config-DS-MORmq.cjs → dropdown-filter-options.config-DJvfCTk7.cjs} +1 -1
  193. package/components/droppable-slot/droppable-slot.d.ts +4 -2
  194. package/components/droppable-slot/index.cjs +20 -20
  195. package/components/droppable-slot/index.d.ts +1 -0
  196. package/components/droppable-slot/index.js +239 -254
  197. package/components/droppable-slot/types.d.ts +9 -0
  198. package/components/edit-item/index.cjs +9 -9
  199. package/components/edit-item/index.js +116 -119
  200. package/components/edit-option/index.cjs +1 -1
  201. package/components/edit-option/index.js +1 -1
  202. package/components/edit-option-action-button-group/index.cjs +8 -8
  203. package/components/edit-option-action-button-group/index.js +52 -53
  204. package/components/{edit-option-base-DIc7iC-b.js → edit-option-base-Bh29-Cak.js} +1 -1
  205. package/components/{edit-option-base-VhTih9T1.cjs → edit-option-base-tFr8Qg2B.cjs} +1 -1
  206. package/components/edit-option-color-palette-picker/index.cjs +1 -1
  207. package/components/edit-option-color-palette-picker/index.js +1 -1
  208. package/components/edit-option-color-picker/index.cjs +1 -1
  209. package/components/edit-option-color-picker/index.js +1 -1
  210. package/components/edit-option-color-range/index.cjs +19 -19
  211. package/components/edit-option-color-range/index.js +106 -117
  212. package/components/edit-option-multi-language-field/index.cjs +3 -3
  213. package/components/edit-option-multi-language-field/index.js +26 -27
  214. package/components/edit-option-number-field/index.cjs +1 -1
  215. package/components/edit-option-number-field/index.js +1 -1
  216. package/components/edit-option-picker/index.cjs +5 -5
  217. package/components/edit-option-picker/index.js +7 -7
  218. package/components/edit-option-position-picker/index.cjs +4 -4
  219. package/components/edit-option-position-picker/index.js +21 -25
  220. package/components/edit-option-positions-number-field/index.cjs +9 -9
  221. package/components/edit-option-positions-number-field/index.js +76 -81
  222. package/components/edit-option-radio-button-group/index.cjs +6 -6
  223. package/components/edit-option-radio-button-group/index.js +21 -22
  224. package/components/edit-option-slider/index.cjs +1 -1
  225. package/components/edit-option-slider/index.js +1 -1
  226. package/components/edit-option-switch/index.cjs +1 -1
  227. package/components/edit-option-switch/index.js +1 -1
  228. package/components/edit-option-text-field/index.cjs +2 -2
  229. package/components/edit-option-text-field/index.js +22 -23
  230. package/components/en-D3ihEGXg.js +1483 -0
  231. package/components/en-DZcn_iz_.cjs +20 -0
  232. package/components/{en-GB-DG6uS3sM.cjs → en-GB-TqvgIw9B.cjs} +1 -1
  233. package/components/{en-GB-CEHEs8F2.js → en-GB-ialeqj_z.js} +1 -1
  234. package/components/{evolution-number-options.config-DzkfeoIN.js → evolution-number-options.config-BIPO_4n3.js} +11 -14
  235. package/components/{evolution-number-options.config-BgIZY4gQ.cjs → evolution-number-options.config-Bc9eKYnn.cjs} +1 -1
  236. package/components/{extrapolate-color-0j_AeYkz.cjs → extrapolate-color-C0n1UDs-.cjs} +1 -1
  237. package/components/{extrapolate-color-CC9CURf6.js → extrapolate-color-v1PimdQr.js} +1 -1
  238. package/components/filter-data-item-picker/index.cjs +7 -7
  239. package/components/filter-data-item-picker/index.js +85 -86
  240. package/components/filter-expression-picker/index.cjs +1 -1
  241. package/components/filter-expression-picker/index.js +1 -1
  242. package/components/filter-item/index.cjs +6 -6
  243. package/components/filter-item/index.js +109 -119
  244. package/components/filter-value-picker/index.cjs +2 -2
  245. package/components/filter-value-picker/index.js +34 -36
  246. package/components/filter-value-picker-datetime/index.cjs +8 -8
  247. package/components/filter-value-picker-datetime/index.js +56 -71
  248. package/components/filter-value-picker-hierarchy/index.cjs +12 -12
  249. package/components/filter-value-picker-hierarchy/index.js +113 -124
  250. package/components/filter-value-picker-numeric/index.cjs +8 -8
  251. package/components/filter-value-picker-numeric/index.js +101 -110
  252. package/components/{focusable-DCIFkpiW.js → focusable-BS2pbY7w.js} +24 -26
  253. package/components/focusable-QLh-LlNt.cjs +20 -0
  254. package/components/{funnel-chart-options.config-C_VjTOvD.js → funnel-chart-options.config-CrJy2U7_.js} +5 -20
  255. package/components/funnel-chart-options.config-DrP4AFgk.cjs +20 -0
  256. package/components/get-css-variable-COd1d84B.cjs +24 -0
  257. package/components/{get-css-variable-YlLiVgo8.js → get-css-variable-CdwF98oh.js} +35 -35
  258. package/components/grid/index.cjs +43 -49
  259. package/components/grid/index.js +2610 -1878
  260. package/components/heat-map-options.config-CIHnPdYE.cjs +20 -0
  261. package/components/{heat-map-options.config-BnLWe8jS.js → heat-map-options.config-CmL87j1j.js} +35 -41
  262. package/components/{heat-table-options.config-CUsDdgUr.js → heat-table-options.config-BrCYAgYD.js} +60 -88
  263. package/components/heat-table-options.config-DTlZRc_i.cjs +20 -0
  264. package/components/helpers-9I0oLoUB.cjs +20 -0
  265. package/components/helpers-bR8Ibjqh.js +79 -0
  266. package/components/{hexbin-map-options.config-F-7uCqxb.js → hexbin-map-options.config-BguV1w8q.js} +20 -38
  267. package/components/hexbin-map-options.config-CKnn3VAB.cjs +20 -0
  268. package/components/{index-BPNsFiyq.cjs → index-BNAmjOkm.cjs} +4 -4
  269. package/components/index-BekTY3Em.cjs +121 -0
  270. package/components/index-CFL6gmIu.cjs +20 -0
  271. package/components/{index-Do7O9azB.js → index-CqKpf0B8.js} +112 -123
  272. package/components/index-DNPULp4A.js +1755 -0
  273. package/components/{index-PMDgRSzR.js → index-DdyZ2g5L.js} +94 -104
  274. package/components/index-DvkzMbLt.cjs +249 -0
  275. package/components/{index-CdIUfo-L.js → index-haa7WNrl.js} +453 -481
  276. package/components/index.cjs +1 -1
  277. package/components/index.js +28 -26
  278. package/components/item-options-configs.cjs +1 -1
  279. package/components/item-options-configs.js +37 -37
  280. package/components/{line-chart-options.config-DB3IsXXr.js → line-chart-options.config-BhirTGqD.js} +13 -28
  281. package/components/line-chart-options.config-Cqwou5u6.cjs +20 -0
  282. package/components/{localize-r7ALOUy_.cjs → localize-C4zNlrwK.cjs} +1 -1
  283. package/components/{localize-BX7q0S0M.js → localize-CcDpq940.js} +10 -10
  284. package/components/{marker-map-options.config-DPJ955tt.js → marker-map-options.config-Bx17jmiq.js} +1 -1
  285. package/components/{marker-map-options.config-_FYZzRwA.cjs → marker-map-options.config-CvhCylSC.cjs} +1 -1
  286. package/components/{pivot-table-options.config-DNK_AIG7.js → pivot-table-options.config-CFc7y0IT.js} +15 -24
  287. package/components/pivot-table-options.config-uZDAertf.cjs +20 -0
  288. package/components/{pyramid-chart-options.config-CcVMatYx.js → pyramid-chart-options.config-2Waxb11l.js} +29 -43
  289. package/components/pyramid-chart-options.config-DoGfEvzU.cjs +20 -0
  290. package/components/{radar-chart-options.config-CUZn_3Fd.js → radar-chart-options.config-CPN5fOl8.js} +11 -23
  291. package/components/radar-chart-options.config-CtNUMN1l.cjs +20 -0
  292. package/components/{regular-table-options.config-BoLZsBry.js → regular-table-options.config-CFKCJQK1.js} +17 -23
  293. package/components/{regular-table-options.config-DTx3RTnS.cjs → regular-table-options.config-YRuoijIk.cjs} +1 -1
  294. package/components/route-map-options.config-CVTk5RVL.cjs +20 -0
  295. package/components/{route-map-options.config-CN86T7c0.js → route-map-options.config-CyolTJfK.js} +87 -109
  296. package/components/{sankey-diagram-options.config-RFB83YLZ.cjs → sankey-diagram-options.config-D7OSvSqm.cjs} +1 -1
  297. package/components/{sankey-diagram-options.config-tVLKy_Zn.js → sankey-diagram-options.config-Ldjk84ro.js} +7 -10
  298. package/components/scatter-plot-options.config-5gN7pMTm.cjs +20 -0
  299. package/components/{scatter-plot-options.config-Corlzno1.js → scatter-plot-options.config-CfxEfkQ1.js} +56 -86
  300. package/components/{search-filter-options.config-BE3JhR-F.js → search-filter-options.config-C0syQmP4.js} +3 -6
  301. package/components/{search-filter-options.config-BCaDlYqZ.cjs → search-filter-options.config-Oqco9BKj.cjs} +1 -1
  302. package/components/{set-locale-B-Tz2sdI.js → set-locale-hKTMz37h.js} +7 -9
  303. package/components/slicer-filter-options.config-CrusP6a0.cjs +20 -0
  304. package/components/{slicer-filter-options.config-3JZZcw5C.js → slicer-filter-options.config-DmOe3440.js} +9 -18
  305. package/components/{slider-filter-options.config-DH4SS8wH.js → slider-filter-options.config-B1M8RcDs.js} +1 -1
  306. package/components/{slider-filter-options.config-_8Z2zKmU.cjs → slider-filter-options.config-k45I-t6G.cjs} +1 -1
  307. package/components/slot-contents-picker/index.cjs +33 -33
  308. package/components/slot-contents-picker/index.js +194 -205
  309. package/components/slot-menu/index.cjs +12 -12
  310. package/components/slot-menu/index.d.ts +1 -0
  311. package/components/slot-menu/index.js +174 -192
  312. package/components/slot-menu/slot-menu.d.ts +7 -6
  313. package/components/slot-menu/types.d.ts +25 -0
  314. package/components/slot-menu-list/index.cjs +3 -3
  315. package/components/slot-menu-list/index.js +97 -103
  316. package/components/slot-menu-list/slot-menu-list.d.ts +2 -1
  317. package/components/speedometer-chart-options.config-B4ceg_qI.cjs +20 -0
  318. package/components/{speedometer-chart-options.config-SL581yOa.js → speedometer-chart-options.config-CzOmuEF8.js} +31 -53
  319. package/components/spike-map-options.config-BkkDqb4g.cjs +20 -0
  320. package/components/{spike-map-options.config-C5KewecZ.js → spike-map-options.config-Cbt1YUw6.js} +91 -122
  321. package/components/{sunburst-chart-options.config-AbNjWS6t.cjs → sunburst-chart-options.config-Yrxc2i57.cjs} +1 -1
  322. package/components/{sunburst-chart-options.config-CNauGQJv.js → sunburst-chart-options.config-_dyLQxPJ.js} +9 -20
  323. package/components/{symbol-map-options.config-DdDA4aa7.js → symbol-map-options.config-BORL1NSU.js} +11 -20
  324. package/components/symbol-map-options.config-NpBKm64d.cjs +20 -0
  325. package/components/{treemap-chart-options.config-D5AJaF_u.js → treemap-chart-options.config-B9i9qIm_.js} +20 -37
  326. package/components/treemap-chart-options.config-x4J54WSw.cjs +20 -0
  327. package/components/utils.cjs +1 -1
  328. package/components/utils.js +131 -65
  329. package/components/{video-options.config-CGsDTwHc.cjs → video-options.config-B0asgYt8.cjs} +1 -1
  330. package/components/{video-options.config-Dk36zJ1B.js → video-options.config-UX-9MDfS.js} +7 -10
  331. package/components/{wordcloud-chart-options.config-vGfCW8kE.cjs → wordcloud-chart-options.config-BKtJT8Va.cjs} +1 -1
  332. package/components/{wordcloud-chart-options.config-w2NUIWVA.js → wordcloud-chart-options.config-BoB_KuhA.js} +4 -7
  333. package/custom-elements.json +143 -126
  334. package/item-definitions/slicer-filter/slicer-filter-options.config.d.ts +1 -1
  335. package/package.json +3 -3
  336. package/types.d.ts +9 -3
  337. package/utils/data/load-draggable-items-for-datasets.d.ts +24 -0
  338. package/utils/data-broker/index.d.ts +69 -66
  339. package/utils/data-item-types/calculate-data-item-icon.d.ts +8 -2
  340. package/utils/data-item-types/tests/calculate-data-item-icon.test.d.ts +1 -0
  341. package/utils/index.d.ts +2 -0
  342. package/utils/transformations/convert-data-item-to-slot-content.d.ts +9 -0
  343. package/utils/transformations/convert-datasets-to-draggable-items.d.ts +17 -0
  344. package/utils/transformations/tests/convert-data-item-to-slot-content.test.d.ts +1 -0
  345. package/utils/transformations/tests/convert-datasets-to-draggable-items.test.d.ts +1 -0
  346. package/components/area-chart-options.config-C7sMAHco.cjs +0 -20
  347. package/components/bar-chart-options.config-DcxEkOT5.cjs +0 -20
  348. package/components/box-plot-options.config-SrrbDEYW.cjs +0 -20
  349. package/components/bubble-chart-options.config-Ihn6eVQI.cjs +0 -20
  350. package/components/calculate-data-item-icon-DZDqb3xu.js +0 -139
  351. package/components/choropleth-map-options.config-ZW8yoZH2.cjs +0 -20
  352. package/components/circular-gauge-options.config-msZ4mfpN.cjs +0 -20
  353. package/components/color-B6LaL8qz.cjs +0 -20
  354. package/components/color-range-utils-C5yXW7ZC.cjs +0 -20
  355. package/components/column-chart-options.config-BjDvA7i9.cjs +0 -20
  356. package/components/conditional-number-options.config-DgzUo0xi.cjs +0 -20
  357. package/components/donut-chart-options.config-tNpqBZfR.cjs +0 -20
  358. package/components/en-BKBhKBXY.cjs +0 -20
  359. package/components/en-BOTjhwEc.js +0 -1488
  360. package/components/focusable-B3E_hQmm.cjs +0 -20
  361. package/components/funnel-chart-options.config-D7H7gFcx.cjs +0 -20
  362. package/components/get-css-variable-DLiZYZEi.cjs +0 -24
  363. package/components/heat-map-options.config-DVH-Bb5-.cjs +0 -20
  364. package/components/heat-table-options.config-B12JEYnp.cjs +0 -20
  365. package/components/helpers-DXQwEH1P.cjs +0 -20
  366. package/components/helpers-v1bPALRP.js +0 -91
  367. package/components/hexbin-map-options.config-DZERRhM8.cjs +0 -20
  368. package/components/index-BPN3bG9X.js +0 -1733
  369. package/components/index-CQ9ck-BO.cjs +0 -249
  370. package/components/index-CXn67vdn.cjs +0 -121
  371. package/components/index-cfj52IbK.cjs +0 -20
  372. package/components/line-chart-options.config-DSugoe0t.cjs +0 -20
  373. package/components/pivot-table-options.config-BiJXKSFR.cjs +0 -20
  374. package/components/pyramid-chart-options.config-C4zbFS26.cjs +0 -20
  375. package/components/radar-chart-options.config-EqQu6PTh.cjs +0 -20
  376. package/components/route-map-options.config-D7NJePTu.cjs +0 -20
  377. package/components/scatter-plot-options.config-CFfGJXsV.cjs +0 -20
  378. package/components/slicer-filter-options.config-DNI-XevE.cjs +0 -20
  379. package/components/speedometer-chart-options.config-BX9LTQBH.cjs +0 -20
  380. package/components/spike-map-options.config-DoBFXPmN.cjs +0 -20
  381. package/components/symbol-map-options.config-m-lwLTtu.cjs +0 -20
  382. package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +0 -20
  383. package/utils/types/column.types.d.ts +0 -57
@@ -1,5 +1,5 @@
1
1
  import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
-
2
+ import type { GenericSlotContent } from '../types';
3
3
 
4
4
  @Component({
5
5
  selector: 'luzmo-display-settings-binning',
@@ -15,7 +15,7 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from
15
15
  })
16
16
  export class DisplaySettingsBinningComponent {
17
17
  @Input() language?: string;
18
- @Input() slotContent?: any;
18
+ @Input() slotContent?: GenericSlotContent;
19
19
  @Input() size?: any;
20
20
  @Output() slotContentChanged = new EventEmitter<CustomEvent>();
21
21
  }
@@ -1,5 +1,5 @@
1
1
  import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
- import type { ElementSize } from '../types';
2
+ import type { ElementSize, GenericSlotContent } from '../types';
3
3
 
4
4
  @Component({
5
5
  selector: 'luzmo-display-settings-datetime',
@@ -18,6 +18,6 @@ export class DisplaySettingsDatetimeComponent {
18
18
  @Input() language?: string;
19
19
  @Input() contentLanguage?: string;
20
20
  @Input() size?: ElementSize;
21
- @Input() slotContent?: any;
21
+ @Input() slotContent?: GenericSlotContent;
22
22
  @Output() slotContentChanged = new EventEmitter<CustomEvent>();
23
23
  }
@@ -1,5 +1,5 @@
1
1
  import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
-
2
+ import type { GenericSlotContent } from '../types';
3
3
 
4
4
  @Component({
5
5
  selector: 'luzmo-display-settings-grand-totals',
@@ -15,7 +15,7 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from
15
15
  })
16
16
  export class DisplaySettingsGrandTotalsComponent {
17
17
  @Input() language?: string;
18
- @Input() slotContent?: any;
18
+ @Input() slotContent?: GenericSlotContent;
19
19
  @Input() size?: any;
20
20
  @Output() slotContentChanged = new EventEmitter<CustomEvent>();
21
21
  }
@@ -1,5 +1,5 @@
1
1
  import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
-
2
+ import type { MeasureColumnsItem } from '../types';
3
3
 
4
4
  @Component({
5
5
  selector: 'luzmo-display-settings-numeric',
@@ -19,7 +19,7 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from
19
19
  export class DisplaySettingsNumericComponent {
20
20
  @Input() language?: string;
21
21
  @Input() slotContent?: any;
22
- @Input() measureColumns?: any[];
22
+ @Input() measureColumns?: MeasureColumnsItem[];
23
23
  @Input() isAggregationDisabled?: boolean;
24
24
  @Input() isCumulativeSumEnabled?: boolean;
25
25
  @Input() size?: any;
@@ -1,5 +1,5 @@
1
1
  import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
- import type { PeriodOverPeriodCondition } from '../types';
2
+ import type { PeriodOverPeriodCondition, GenericSlotContent, MeasureColumnsItem } from '../types';
3
3
 
4
4
  @Component({
5
5
  selector: 'luzmo-display-settings',
@@ -37,8 +37,8 @@ export class DisplaySettingsComponent {
37
37
  @Input() periodOverPeriodUiType?: PeriodOverPeriodCondition | null;
38
38
  @Input() showRemoveButton?: boolean;
39
39
  @Input() slotType?: string;
40
- @Input() slotContent?: any;
41
- @Input() measureColumns?: any[];
40
+ @Input() slotContent?: GenericSlotContent;
41
+ @Input() measureColumns?: MeasureColumnsItem[];
42
42
  @Input() size?: any;
43
43
  @Output() slotContentChanged = new EventEmitter<CustomEvent>();
44
44
  @Output() removeSlotContent = new EventEmitter<CustomEvent>();
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,40 @@
1
+ import { Column, Currency, Formula, HierarchyLevel } from '@luzmo/dashboard-contents-types';
2
+
3
+ type ColumnItemData = {
4
+ type: Column['type'];
5
+ name: Column['name'];
6
+ datasetId: string;
7
+ formulaId?: never;
8
+ columnId: Column['id'];
9
+ level?: number;
10
+ hierarchyLevels?: Pick<HierarchyLevel, 'id' | 'level' | 'name'>[];
11
+ currency?: Pick<Currency, 'id' | 'name' | 'symbol'>;
12
+ } & Partial<Pick<Column,
13
+ | 'description'
14
+ | 'subtype'
15
+ | 'format'
16
+ | 'lowestLevel'
17
+ | 'duration_levels'
18
+ | 'duration_format'
19
+ | 'expression'
20
+ >>;
21
+
22
+ type FormulaItemData = {
23
+ type: Formula['type'];
24
+ name: Formula['name'];
25
+ datasetId: string;
26
+ formulaId: Formula['id'];
27
+ columnId?: never;
28
+ level?: number;
29
+ currency?: Pick<Currency, 'id' | 'name' | 'symbol'>;
30
+ } & Partial<Pick<Formula,
31
+ | 'description'
32
+ | 'subtype'
33
+ | 'format'
34
+ | 'lowestLevel'
35
+ | 'duration_levels'
36
+ | 'duration_format'
37
+ | 'expression'
38
+ >>;
39
+
40
+ export type DraggableDataItemData = ColumnItemData | FormulaItemData;
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,15 @@
1
+ import type { DraggableDataItemData } from '../draggable-data-item/types';
2
+
3
+ export interface DataItemDroppedEventDetail {
4
+ data: DraggableDataItemData;
5
+ }
6
+
7
+ export interface DataItemDragStartedEventDetail {
8
+ data: DraggableDataItemData;
9
+ }
10
+
11
+ export interface SlotMenuHighlightEventDetail {
12
+ columnId?: string;
13
+ level?: number;
14
+ formulaId?: string;
15
+ }
@@ -1,5 +1,5 @@
1
1
  import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
-
2
+ import type { DraggableDataItemData } from '../types';
3
3
 
4
4
  @Component({
5
5
  selector: 'luzmo-draggable-data-item-level',
@@ -11,9 +11,6 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from
11
11
  [attr.sublevel]="sublevel"
12
12
  [attr.language]="language"
13
13
  [attr.disabled]="disabled"
14
- [attr.label]="label"
15
- [attr.description]="description"
16
- [attr.secondary-icon-type]="secondaryIconType"
17
14
  [attr.data]="data"
18
15
  [attr.size]="size"
19
16
  (data-item-dropped)="dataItemDropped.emit($event)"
@@ -27,11 +24,8 @@ export class DraggableDataItemLevelComponent {
27
24
  @Input() sublevel?: boolean;
28
25
  @Input() language?: string;
29
26
  @Input() disabled?: boolean;
30
- @Input() label?: string;
31
- @Input() description?: string;
32
- @Input() secondaryIconType?: 'derived' | 'formula';
33
- @Input() data?: any;
27
+ @Input() data?: DraggableDataItemData;
34
28
  @Input() size?: any;
35
- @Output() dataItemDropped = new EventEmitter<CustomEvent>();
36
- @Output() dataItemDragStarted = new EventEmitter<CustomEvent>();
29
+ @Output() dataItemDropped = new EventEmitter<CustomEvent<{data: DraggableDataItemData}>>();
30
+ @Output() dataItemDragStarted = new EventEmitter<CustomEvent<{data: DraggableDataItemData}>>();
37
31
  }
@@ -1,5 +1,5 @@
1
1
  import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
-
2
+ import type { DraggableDataItemData } from '../types';
3
3
 
4
4
  @Component({
5
5
  selector: 'luzmo-draggable-data-item',
@@ -11,9 +11,6 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from
11
11
  [attr.disabled]="disabled"
12
12
  [attr.hide-sublevels]="hideSublevels"
13
13
  [attr.hide-type-icon]="hideTypeIcon"
14
- [attr.secondary-icon-type]="secondaryIconType"
15
- [attr.label]="label"
16
- [attr.description]="description"
17
14
  [attr.data]="data"
18
15
  [attr.size]="size"
19
16
  (data-item-dropped)="dataItemDropped.emit($event)"
@@ -27,11 +24,8 @@ export class DraggableDataItemComponent {
27
24
  @Input() disabled?: boolean;
28
25
  @Input() hideSublevels?: boolean;
29
26
  @Input() hideTypeIcon?: boolean;
30
- @Input() secondaryIconType?: 'derived' | 'formula';
31
- @Input() label?: string;
32
- @Input() description?: string;
33
- @Input() data?: any;
27
+ @Input() data?: DraggableDataItemData;
34
28
  @Input() size?: any;
35
- @Output() dataItemDropped = new EventEmitter<CustomEvent>();
36
- @Output() dataItemDragStarted = new EventEmitter<CustomEvent>();
29
+ @Output() dataItemDropped = new EventEmitter<CustomEvent<{data: DraggableDataItemData}>>();
30
+ @Output() dataItemDragStarted = new EventEmitter<CustomEvent<{data: DraggableDataItemData}>>();
37
31
  }
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,16 @@
1
+ import {
2
+ ColumnType,
3
+ FormulaType,
4
+ GenericSlotContent,
5
+ SlotConfig
6
+ } from '@luzmo/dashboard-contents-types';
7
+
8
+ export type DroppableSlotConfiguration = Omit<SlotConfig, 'acceptableColumnTypes' | 'canAcceptMultipleColumns'> & {
9
+ acceptableDataItemTypes?: (ColumnType | FormulaType)[];
10
+ canAcceptMultipleDataItems?: boolean;
11
+ };
12
+
13
+ export interface SlotContentsChangedEventDetail {
14
+ slotContents: GenericSlotContent[];
15
+ linkedDatasetsIds: string[];
16
+ }
@@ -1,5 +1,5 @@
1
1
  import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
- import type { VizItemType, SlotName, VizItemSlots, Placement } from '../types';
2
+ import type { VizItemType, SlotName, DroppableSlotConfiguration, VizItemSlots, Placement, SlotContentsChangedEventDetail } from '../types';
3
3
 
4
4
  @Component({
5
5
  selector: 'luzmo-droppable-slot',
@@ -13,6 +13,7 @@ import type { VizItemType, SlotName, VizItemSlots, Placement } from '../types';
13
13
  [attr.label]="label"
14
14
  [attr.language]="language"
15
15
  [attr.drag-boundary]="dragBoundary"
16
+ [attr.rotate]="rotate"
16
17
  [attr.api-url]="apiUrl"
17
18
  [attr.auth-key]="authKey"
18
19
  [attr.auth-token]="authToken"
@@ -31,11 +32,12 @@ import type { VizItemType, SlotName, VizItemSlots, Placement } from '../types';
31
32
  export class DroppableSlotComponent {
32
33
  @Input() itemType?: VizItemType;
33
34
  @Input() slotName?: SlotName;
34
- @Input() slotConfiguration?: any;
35
+ @Input() slotConfiguration?: DroppableSlotConfiguration;
35
36
  @Input() slotsContents?: VizItemSlots;
36
37
  @Input() label?: string;
37
38
  @Input() language?: string;
38
39
  @Input() dragBoundary?: string;
40
+ @Input() rotate?: boolean;
39
41
  @Input() apiUrl?: string;
40
42
  @Input() authKey?: string;
41
43
  @Input() authToken?: string;
@@ -47,5 +49,5 @@ export class DroppableSlotComponent {
47
49
  @Output() slotMenuInactive = new EventEmitter<CustomEvent>();
48
50
  @Output() slotMenuActive = new EventEmitter<CustomEvent>();
49
51
  @Output() slotMenuHighlight = new EventEmitter<CustomEvent>();
50
- @Output() slotContentsChanged = new EventEmitter<CustomEvent>();
52
+ @Output() slotContentsChanged = new EventEmitter<CustomEvent<SlotContentsChangedEventDetail>>();
51
53
  }
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,31 @@
1
+ import { GenericSlotContent } from '@luzmo/dashboard-contents-types';
2
+ import { DatasetColumnMetadata } from '@utils/data-broker';
3
+ import type { SlotContentsChangedEventDetail } from '../droppable-slot/types';
4
+
5
+ export type { SlotContentsChangedEventDetail } from '../droppable-slot/types';
6
+
7
+ export interface MeasureColumnsItem {
8
+ datasetId: string;
9
+ datasetName: Record<string, string>;
10
+ columns: DatasetColumnMetadata[];
11
+ }
12
+
13
+ export interface SlotMenuActiveEventDetail {
14
+ datasetId: string;
15
+ }
16
+
17
+ export interface SlotMenuHighlightEventDetail {
18
+ datasetId: string;
19
+ level: number;
20
+ columnId?: string;
21
+ formulaId?: string;
22
+ }
23
+
24
+ export interface SlotContentChangedEventDetail {
25
+ slotContent: SlotContentsChangedEventDetail['slotContents'][number];
26
+ }
27
+
28
+ export interface SlotListChangedEventDetail {
29
+ slotContents: GenericSlotContent[];
30
+ activeIndex: number;
31
+ }
@@ -1,5 +1,5 @@
1
1
  import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
-
2
+ import type { GenericSlotContent } from '../types';
3
3
 
4
4
  @Component({
5
5
  selector: 'luzmo-slot-menu-list',
@@ -18,7 +18,7 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from
18
18
  export class SlotMenuListComponent {
19
19
  @Input() language?: string;
20
20
  @Input() contentLanguage?: string;
21
- @Input() slotContents?: any;
21
+ @Input() slotContents?: GenericSlotContent[];
22
22
  @Input() activeIndex?: number;
23
23
  @Input() size?: any;
24
24
 
@@ -1,5 +1,5 @@
1
1
  import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
- import type { SlotName, GenericSlotContent } from '../types';
2
+ import type { SlotName, VizItemType, GenericSlotContent } from '../types';
3
3
 
4
4
  @Component({
5
5
  selector: 'luzmo-slot-menu',
@@ -38,9 +38,9 @@ import type { SlotName, GenericSlotContent } from '../types';
38
38
  export class SlotMenuComponent {
39
39
  @Input() language?: string;
40
40
  @Input() contentLanguage?: string;
41
- @Input() slotType?: string;
41
+ @Input() slotType?: 'numeric' | 'categorical' | 'mixed';
42
42
  @Input() slotName?: SlotName;
43
- @Input() itemType?: string;
43
+ @Input() itemType?: VizItemType;
44
44
  @Input() noDrag?: boolean;
45
45
  @Input() noClose?: boolean;
46
46
  @Input() variant?: 'popup' | 'draggable' | 'default';
@@ -1,8 +1,9 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import type { GenericSlotContent } from '../types';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class DisplaySettingsBinningComponent {
4
5
  language?: string;
5
- slotContent?: any;
6
+ slotContent?: GenericSlotContent;
6
7
  size?: any;
7
8
  slotContentChanged: EventEmitter<CustomEvent<any>>;
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<DisplaySettingsBinningComponent, never>;
@@ -1,11 +1,11 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import type { ElementSize } from '../types';
2
+ import type { ElementSize, GenericSlotContent } from '../types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class DisplaySettingsDatetimeComponent {
5
5
  language?: string;
6
6
  contentLanguage?: string;
7
7
  size?: ElementSize;
8
- slotContent?: any;
8
+ slotContent?: GenericSlotContent;
9
9
  slotContentChanged: EventEmitter<CustomEvent<any>>;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<DisplaySettingsDatetimeComponent, never>;
11
11
  static ɵcmp: i0.ɵɵComponentDeclaration<DisplaySettingsDatetimeComponent, "luzmo-display-settings-datetime", never, { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "size": { "alias": "size"; "required": false; }; "slotContent": { "alias": "slotContent"; "required": false; }; }, { "slotContentChanged": "slotContentChanged"; }, never, ["*"], true, never>;
@@ -1,8 +1,9 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import type { GenericSlotContent } from '../types';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class DisplaySettingsGrandTotalsComponent {
4
5
  language?: string;
5
- slotContent?: any;
6
+ slotContent?: GenericSlotContent;
6
7
  size?: any;
7
8
  slotContentChanged: EventEmitter<CustomEvent<any>>;
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<DisplaySettingsGrandTotalsComponent, never>;
@@ -1,9 +1,10 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import type { MeasureColumnsItem } from '../types';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class DisplaySettingsNumericComponent {
4
5
  language?: string;
5
6
  slotContent?: any;
6
- measureColumns?: any[];
7
+ measureColumns?: MeasureColumnsItem[];
7
8
  isAggregationDisabled?: boolean;
8
9
  isCumulativeSumEnabled?: boolean;
9
10
  size?: any;
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import type { PeriodOverPeriodCondition } from '../types';
2
+ import type { PeriodOverPeriodCondition, GenericSlotContent, MeasureColumnsItem } from '../types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class DisplaySettingsComponent {
5
5
  language?: string;
@@ -13,8 +13,8 @@ export declare class DisplaySettingsComponent {
13
13
  periodOverPeriodUiType?: PeriodOverPeriodCondition | null;
14
14
  showRemoveButton?: boolean;
15
15
  slotType?: string;
16
- slotContent?: any;
17
- measureColumns?: any[];
16
+ slotContent?: GenericSlotContent;
17
+ measureColumns?: MeasureColumnsItem[];
18
18
  size?: any;
19
19
  slotContentChanged: EventEmitter<CustomEvent<any>>;
20
20
  removeSlotContent: EventEmitter<CustomEvent<any>>;
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,22 @@
1
+ import { Column, Currency, Formula, HierarchyLevel } from '@luzmo/dashboard-contents-types';
2
+ type ColumnItemData = {
3
+ type: Column['type'];
4
+ name: Column['name'];
5
+ datasetId: string;
6
+ formulaId?: never;
7
+ columnId: Column['id'];
8
+ level?: number;
9
+ hierarchyLevels?: Pick<HierarchyLevel, 'id' | 'level' | 'name'>[];
10
+ currency?: Pick<Currency, 'id' | 'name' | 'symbol'>;
11
+ } & Partial<Pick<Column, 'description' | 'subtype' | 'format' | 'lowestLevel' | 'duration_levels' | 'duration_format' | 'expression'>>;
12
+ type FormulaItemData = {
13
+ type: Formula['type'];
14
+ name: Formula['name'];
15
+ datasetId: string;
16
+ formulaId: Formula['id'];
17
+ columnId?: never;
18
+ level?: number;
19
+ currency?: Pick<Currency, 'id' | 'name' | 'symbol'>;
20
+ } & Partial<Pick<Formula, 'description' | 'subtype' | 'format' | 'lowestLevel' | 'duration_levels' | 'duration_format' | 'expression'>>;
21
+ export type DraggableDataItemData = ColumnItemData | FormulaItemData;
22
+ export {};
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,12 @@
1
+ import type { DraggableDataItemData } from '../draggable-data-item/types';
2
+ export interface DataItemDroppedEventDetail {
3
+ data: DraggableDataItemData;
4
+ }
5
+ export interface DataItemDragStartedEventDetail {
6
+ data: DraggableDataItemData;
7
+ }
8
+ export interface SlotMenuHighlightEventDetail {
9
+ columnId?: string;
10
+ level?: number;
11
+ formulaId?: string;
12
+ }
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import type { DraggableDataItemData } from '../types';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class DraggableDataItemLevelComponent {
4
5
  variant?: 'highlight' | 'normal';
@@ -6,13 +7,14 @@ export declare class DraggableDataItemLevelComponent {
6
7
  sublevel?: boolean;
7
8
  language?: string;
8
9
  disabled?: boolean;
9
- label?: string;
10
- description?: string;
11
- secondaryIconType?: 'derived' | 'formula';
12
- data?: any;
10
+ data?: DraggableDataItemData;
13
11
  size?: any;
14
- dataItemDropped: EventEmitter<CustomEvent<any>>;
15
- dataItemDragStarted: EventEmitter<CustomEvent<any>>;
12
+ dataItemDropped: EventEmitter<CustomEvent<{
13
+ data: DraggableDataItemData;
14
+ }>>;
15
+ dataItemDragStarted: EventEmitter<CustomEvent<{
16
+ data: DraggableDataItemData;
17
+ }>>;
16
18
  static ɵfac: i0.ɵɵFactoryDeclaration<DraggableDataItemLevelComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<DraggableDataItemLevelComponent, "luzmo-draggable-data-item-level", never, { "variant": { "alias": "variant"; "required": false; }; "hideTypeIcon": { "alias": "hideTypeIcon"; "required": false; }; "sublevel": { "alias": "sublevel"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "description": { "alias": "description"; "required": false; }; "secondaryIconType": { "alias": "secondaryIconType"; "required": false; }; "data": { "alias": "data"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "dataItemDropped": "dataItemDropped"; "dataItemDragStarted": "dataItemDragStarted"; }, never, ["*"], true, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<DraggableDataItemLevelComponent, "luzmo-draggable-data-item-level", never, { "variant": { "alias": "variant"; "required": false; }; "hideTypeIcon": { "alias": "hideTypeIcon"; "required": false; }; "sublevel": { "alias": "sublevel"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "data": { "alias": "data"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "dataItemDropped": "dataItemDropped"; "dataItemDragStarted": "dataItemDragStarted"; }, never, ["*"], true, never>;
18
20
  }
@@ -6,29 +6,23 @@ export class DraggableDataItemLevelComponent {
6
6
  sublevel;
7
7
  language;
8
8
  disabled;
9
- label;
10
- description;
11
- secondaryIconType;
12
9
  data;
13
10
  size;
14
11
  dataItemDropped = new EventEmitter();
15
12
  dataItemDragStarted = new EventEmitter();
16
13
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: DraggableDataItemLevelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: DraggableDataItemLevelComponent, isStandalone: true, selector: "luzmo-draggable-data-item-level", inputs: { variant: "variant", hideTypeIcon: "hideTypeIcon", sublevel: "sublevel", language: "language", disabled: "disabled", label: "label", description: "description", secondaryIconType: "secondaryIconType", data: "data", size: "size" }, outputs: { dataItemDropped: "dataItemDropped", dataItemDragStarted: "dataItemDragStarted" }, ngImport: i0, template: `<luzmo-draggable-data-item-level
14
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: DraggableDataItemLevelComponent, isStandalone: true, selector: "luzmo-draggable-data-item-level", inputs: { variant: "variant", hideTypeIcon: "hideTypeIcon", sublevel: "sublevel", language: "language", disabled: "disabled", data: "data", size: "size" }, outputs: { dataItemDropped: "dataItemDropped", dataItemDragStarted: "dataItemDragStarted" }, ngImport: i0, template: `<luzmo-draggable-data-item-level
18
15
  [attr.variant]="variant"
19
16
  [attr.hide-type-icon]="hideTypeIcon"
20
17
  [attr.sublevel]="sublevel"
21
18
  [attr.language]="language"
22
19
  [attr.disabled]="disabled"
23
- [attr.label]="label"
24
- [attr.description]="description"
25
- [attr.secondary-icon-type]="secondaryIconType"
26
20
  [attr.data]="data"
27
21
  [attr.size]="size"
28
22
  (data-item-dropped)="dataItemDropped.emit($event)"
29
23
  (data-item-drag-started)="dataItemDragStarted.emit($event)">
30
24
  <ng-content></ng-content>
31
- </luzmo-draggable-data-item-level>`, isInline: true, dependencies: [{ kind: "component", type: DraggableDataItemLevelComponent, selector: "luzmo-draggable-data-item-level", inputs: ["variant", "hideTypeIcon", "sublevel", "language", "disabled", "label", "description", "secondaryIconType", "data", "size"], outputs: ["dataItemDropped", "dataItemDragStarted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
25
+ </luzmo-draggable-data-item-level>`, isInline: true, dependencies: [{ kind: "component", type: DraggableDataItemLevelComponent, selector: "luzmo-draggable-data-item-level", inputs: ["variant", "hideTypeIcon", "sublevel", "language", "disabled", "data", "size"], outputs: ["dataItemDropped", "dataItemDragStarted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
32
26
  }
33
27
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: DraggableDataItemLevelComponent, decorators: [{
34
28
  type: Component,
@@ -42,9 +36,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImpor
42
36
  [attr.sublevel]="sublevel"
43
37
  [attr.language]="language"
44
38
  [attr.disabled]="disabled"
45
- [attr.label]="label"
46
- [attr.description]="description"
47
- [attr.secondary-icon-type]="secondaryIconType"
48
39
  [attr.data]="data"
49
40
  [attr.size]="size"
50
41
  (data-item-dropped)="dataItemDropped.emit($event)"
@@ -62,12 +53,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImpor
62
53
  type: Input
63
54
  }], disabled: [{
64
55
  type: Input
65
- }], label: [{
66
- type: Input
67
- }], description: [{
68
- type: Input
69
- }], secondaryIconType: [{
70
- type: Input
71
56
  }], data: [{
72
57
  type: Input
73
58
  }], size: [{
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import type { DraggableDataItemData } from '../types';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class DraggableDataItemComponent {
4
5
  variant?: 'highlight' | 'normal';
@@ -6,13 +7,14 @@ export declare class DraggableDataItemComponent {
6
7
  disabled?: boolean;
7
8
  hideSublevels?: boolean;
8
9
  hideTypeIcon?: boolean;
9
- secondaryIconType?: 'derived' | 'formula';
10
- label?: string;
11
- description?: string;
12
- data?: any;
10
+ data?: DraggableDataItemData;
13
11
  size?: any;
14
- dataItemDropped: EventEmitter<CustomEvent<any>>;
15
- dataItemDragStarted: EventEmitter<CustomEvent<any>>;
12
+ dataItemDropped: EventEmitter<CustomEvent<{
13
+ data: DraggableDataItemData;
14
+ }>>;
15
+ dataItemDragStarted: EventEmitter<CustomEvent<{
16
+ data: DraggableDataItemData;
17
+ }>>;
16
18
  static ɵfac: i0.ɵɵFactoryDeclaration<DraggableDataItemComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<DraggableDataItemComponent, "luzmo-draggable-data-item", never, { "variant": { "alias": "variant"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideSublevels": { "alias": "hideSublevels"; "required": false; }; "hideTypeIcon": { "alias": "hideTypeIcon"; "required": false; }; "secondaryIconType": { "alias": "secondaryIconType"; "required": false; }; "label": { "alias": "label"; "required": false; }; "description": { "alias": "description"; "required": false; }; "data": { "alias": "data"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "dataItemDropped": "dataItemDropped"; "dataItemDragStarted": "dataItemDragStarted"; }, never, ["*"], true, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<DraggableDataItemComponent, "luzmo-draggable-data-item", never, { "variant": { "alias": "variant"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideSublevels": { "alias": "hideSublevels"; "required": false; }; "hideTypeIcon": { "alias": "hideTypeIcon"; "required": false; }; "data": { "alias": "data"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "dataItemDropped": "dataItemDropped"; "dataItemDragStarted": "dataItemDragStarted"; }, never, ["*"], true, never>;
18
20
  }