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

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 (251) hide show
  1. package/angular/README.md +1 -0
  2. package/angular/components/ai-interaction-textarea.component.ts +2 -0
  3. package/angular/components/dataset-icon.component.ts +21 -0
  4. package/angular/components/dataset-selector-row.component.ts +2 -0
  5. package/angular/esm/components/ai-interaction-textarea.component.d.ts +2 -1
  6. package/angular/esm/components/ai-interaction-textarea.component.js +7 -2
  7. package/angular/esm/components/dataset-icon.component.d.ts +9 -0
  8. package/angular/esm/components/dataset-icon.component.js +36 -0
  9. package/angular/esm/components/dataset-selector-row.component.d.ts +2 -1
  10. package/angular/esm/components/dataset-selector-row.component.js +7 -2
  11. package/angular/esm/index.d.ts +3 -1
  12. package/angular/esm/index.js +3 -0
  13. package/angular/esm/types.d.ts +14 -0
  14. package/angular/index.ts +3 -0
  15. package/angular/types.ts +13 -0
  16. package/components/ai-chat-messages-container/index.cjs +1 -1
  17. package/components/ai-chat-messages-container/index.js +2 -2
  18. package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +7 -1
  19. package/components/ai-interaction-textarea/index.cjs +32 -28
  20. package/components/ai-interaction-textarea/index.js +62 -49
  21. package/components/area-chart-options.config-C7sMAHco.cjs +20 -0
  22. package/components/{area-chart-options.config-u8itidsi.js → area-chart-options.config-_J0sG4NF.js} +26 -14
  23. package/components/{bar-chart-options.config-DIirbAJ0.js → bar-chart-options.config-D1mb5TDl.js} +35 -21
  24. package/components/bar-chart-options.config-DcxEkOT5.cjs +20 -0
  25. package/components/box-plot-options.config-SrrbDEYW.cjs +20 -0
  26. package/components/{box-plot-options.config-BWROiguA.js → box-plot-options.config-xu_i6ms7.js} +88 -52
  27. package/components/{bubble-chart-options.config-4QD8VPhU.js → bubble-chart-options.config-BacgXkJ_.js} +18 -9
  28. package/components/bubble-chart-options.config-Ihn6eVQI.cjs +20 -0
  29. package/components/{bullet-chart-options.config-3bH7uekx.js → bullet-chart-options.config-CDPpX1yc.js} +1 -1
  30. package/components/{bullet-chart-options.config-tWb6Fio-.cjs → bullet-chart-options.config-DfS4Bwds.cjs} +1 -1
  31. package/components/calculate-data-item-icon-DZDqb3xu.js +139 -0
  32. package/components/{calculate-data-item-icon-CX4VW9Km.cjs → calculate-data-item-icon-DjW1_RI1.cjs} +1 -1
  33. package/components/{choropleth-map-options.config-CMxx3ORp.js → choropleth-map-options.config-B_W9-rhe.js} +84 -63
  34. package/components/choropleth-map-options.config-ZW8yoZH2.cjs +20 -0
  35. package/components/{circular-gauge-options.config-DhIKn44k.js → circular-gauge-options.config-DAIjz4Rl.js} +36 -23
  36. package/components/circular-gauge-options.config-msZ4mfpN.cjs +20 -0
  37. package/components/color-B6LaL8qz.cjs +20 -0
  38. package/components/{color-B7m0j8lX.js → color-DuJ4-73S.js} +950 -941
  39. package/components/{color-range-utils-BSfqtB3A.js → color-range-utils-Bvo9sm5A.js} +32 -31
  40. package/components/color-range-utils-C5yXW7ZC.cjs +20 -0
  41. package/components/{column-chart-options.config-D5-yR7iq.js → column-chart-options.config-B5SjBVdy.js} +37 -27
  42. package/components/column-chart-options.config-BjDvA7i9.cjs +20 -0
  43. package/components/{conditional-number-options.config-DPYsdML5.js → conditional-number-options.config-BCEpSK9J.js} +40 -24
  44. package/components/conditional-number-options.config-DgzUo0xi.cjs +20 -0
  45. package/components/dataset-icon/dataset-icon.d.ts +45 -0
  46. package/components/dataset-icon/index.cjs +60 -0
  47. package/components/dataset-icon/index.d.ts +7 -0
  48. package/components/dataset-icon/index.js +167 -0
  49. package/components/dataset-selector-list/dataset-selector-list.d.ts +1 -0
  50. package/components/dataset-selector-list/index.cjs +10 -8
  51. package/components/dataset-selector-list/index.js +68 -68
  52. package/components/dataset-selector-row/dataset-selector-row.d.ts +7 -0
  53. package/components/dataset-selector-row/index.cjs +21 -18
  54. package/components/dataset-selector-row/index.js +63 -57
  55. package/components/{date-comparison-filter-options.config-QaoWaFUn.cjs → date-comparison-filter-options.config-DAVncmi0.cjs} +1 -1
  56. package/components/{date-comparison-filter-options.config-CSwGyuBg.js → date-comparison-filter-options.config-JA_yYpJa.js} +6 -3
  57. package/components/{date-filter-options.config-n-zhWaYa.cjs → date-filter-options.config-CWPMtA18.cjs} +1 -1
  58. package/components/{date-filter-options.config-BTVyHRkp.js → date-filter-options.config-DBRxlTWy.js} +6 -3
  59. package/components/display-settings/index.cjs +1 -1
  60. package/components/display-settings/index.js +1 -1
  61. package/components/display-settings-binning/index.cjs +5 -5
  62. package/components/display-settings-binning/index.js +30 -29
  63. package/components/display-settings-datetime/index.cjs +29 -29
  64. package/components/display-settings-datetime/index.js +120 -112
  65. package/components/display-settings-grand-totals/index.cjs +4 -4
  66. package/components/display-settings-grand-totals/index.js +24 -23
  67. package/components/display-settings-numeric/index.cjs +48 -48
  68. package/components/display-settings-numeric/index.js +211 -194
  69. package/components/display-settings-period-over-period/index.cjs +16 -16
  70. package/components/display-settings-period-over-period/index.js +97 -91
  71. package/components/{donut-chart-options.config-3ZqX8Cbb.js → donut-chart-options.config-BulUEiaH.js} +37 -21
  72. package/components/donut-chart-options.config-tNpqBZfR.cjs +20 -0
  73. package/components/draggable-data-item/index.cjs +8 -8
  74. package/components/draggable-data-item/index.js +45 -44
  75. package/components/draggable-data-item-level/index.cjs +11 -11
  76. package/components/draggable-data-item-level/index.js +92 -89
  77. package/components/{dropdown-filter-options.config-CGJTtgAX.js → dropdown-filter-options.config-D9dvPypF.js} +10 -7
  78. package/components/{dropdown-filter-options.config-DJvfCTk7.cjs → dropdown-filter-options.config-DS-MORmq.cjs} +1 -1
  79. package/components/droppable-slot/index.cjs +20 -20
  80. package/components/droppable-slot/index.js +181 -167
  81. package/components/edit-item/index.cjs +9 -9
  82. package/components/edit-item/index.js +119 -116
  83. package/components/edit-option/index.cjs +1 -1
  84. package/components/edit-option/index.js +1 -1
  85. package/components/edit-option-action-button-group/index.cjs +8 -8
  86. package/components/edit-option-action-button-group/index.js +53 -52
  87. package/components/{edit-option-base-Bh29-Cak.js → edit-option-base-DIc7iC-b.js} +1 -1
  88. package/components/{edit-option-base-tFr8Qg2B.cjs → edit-option-base-VhTih9T1.cjs} +1 -1
  89. package/components/edit-option-color-palette-picker/index.cjs +1 -1
  90. package/components/edit-option-color-palette-picker/index.js +1 -1
  91. package/components/edit-option-color-picker/index.cjs +1 -1
  92. package/components/edit-option-color-picker/index.js +1 -1
  93. package/components/edit-option-color-range/index.cjs +19 -19
  94. package/components/edit-option-color-range/index.js +117 -106
  95. package/components/edit-option-multi-language-field/index.cjs +3 -3
  96. package/components/edit-option-multi-language-field/index.js +27 -26
  97. package/components/edit-option-number-field/index.cjs +1 -1
  98. package/components/edit-option-number-field/index.js +1 -1
  99. package/components/edit-option-picker/index.cjs +5 -5
  100. package/components/edit-option-picker/index.js +7 -7
  101. package/components/edit-option-position-picker/index.cjs +4 -4
  102. package/components/edit-option-position-picker/index.js +25 -21
  103. package/components/edit-option-positions-number-field/index.cjs +9 -9
  104. package/components/edit-option-positions-number-field/index.js +81 -76
  105. package/components/edit-option-radio-button-group/index.cjs +6 -6
  106. package/components/edit-option-radio-button-group/index.js +22 -21
  107. package/components/edit-option-slider/index.cjs +1 -1
  108. package/components/edit-option-slider/index.js +1 -1
  109. package/components/edit-option-switch/index.cjs +1 -1
  110. package/components/edit-option-switch/index.js +1 -1
  111. package/components/edit-option-text-field/index.cjs +2 -2
  112. package/components/edit-option-text-field/index.js +23 -22
  113. package/components/en-BKBhKBXY.cjs +20 -0
  114. package/components/en-BOTjhwEc.js +1488 -0
  115. package/components/{en-GB-CbNfyZMo.js → en-GB-CEHEs8F2.js} +1 -1
  116. package/components/{en-GB-CXVKFWyH.cjs → en-GB-DG6uS3sM.cjs} +1 -1
  117. package/components/{evolution-number-options.config-Bc9eKYnn.cjs → evolution-number-options.config-BgIZY4gQ.cjs} +1 -1
  118. package/components/{evolution-number-options.config-BIPO_4n3.js → evolution-number-options.config-DzkfeoIN.js} +14 -11
  119. package/components/{extrapolate-color-C0n1UDs-.cjs → extrapolate-color-0j_AeYkz.cjs} +1 -1
  120. package/components/{extrapolate-color-v1PimdQr.js → extrapolate-color-CC9CURf6.js} +1 -1
  121. package/components/filter-data-item-picker/index.cjs +7 -7
  122. package/components/filter-data-item-picker/index.js +86 -85
  123. package/components/filter-expression-picker/index.cjs +1 -1
  124. package/components/filter-expression-picker/index.js +1 -1
  125. package/components/filter-item/index.cjs +6 -6
  126. package/components/filter-item/index.js +119 -109
  127. package/components/filter-value-picker/index.cjs +2 -2
  128. package/components/filter-value-picker/index.js +36 -34
  129. package/components/filter-value-picker-datetime/index.cjs +8 -8
  130. package/components/filter-value-picker-datetime/index.js +71 -56
  131. package/components/filter-value-picker-hierarchy/index.cjs +12 -12
  132. package/components/filter-value-picker-hierarchy/index.js +124 -113
  133. package/components/filter-value-picker-numeric/index.cjs +8 -8
  134. package/components/filter-value-picker-numeric/index.js +110 -101
  135. package/components/focusable-B3E_hQmm.cjs +20 -0
  136. package/components/{focusable-BS2pbY7w.js → focusable-DCIFkpiW.js} +26 -24
  137. package/components/{funnel-chart-options.config-CrJy2U7_.js → funnel-chart-options.config-C_VjTOvD.js} +20 -5
  138. package/components/funnel-chart-options.config-D7H7gFcx.cjs +20 -0
  139. package/components/{get-css-variable-CuDaWSjr.cjs → get-css-variable-DLiZYZEi.cjs} +2 -2
  140. package/components/{get-css-variable-DEf4GhTH.js → get-css-variable-YlLiVgo8.js} +4 -4
  141. package/components/grid/index.cjs +46 -46
  142. package/components/grid/index.js +1873 -2612
  143. package/components/{heat-map-options.config-CmL87j1j.js → heat-map-options.config-BnLWe8jS.js} +41 -35
  144. package/components/heat-map-options.config-DVH-Bb5-.cjs +20 -0
  145. package/components/heat-table-options.config-B12JEYnp.cjs +20 -0
  146. package/components/{heat-table-options.config-BrCYAgYD.js → heat-table-options.config-CUsDdgUr.js} +88 -60
  147. package/components/helpers-DXQwEH1P.cjs +20 -0
  148. package/components/helpers-v1bPALRP.js +91 -0
  149. package/components/hexbin-map-options.config-DZERRhM8.cjs +20 -0
  150. package/components/{hexbin-map-options.config-BguV1w8q.js → hexbin-map-options.config-F-7uCqxb.js} +38 -20
  151. package/components/index-BPN3bG9X.js +1733 -0
  152. package/components/{index-BNAmjOkm.cjs → index-BPNsFiyq.cjs} +4 -4
  153. package/components/index-CQ9ck-BO.cjs +249 -0
  154. package/components/index-CXn67vdn.cjs +121 -0
  155. package/components/{index-haa7WNrl.js → index-CdIUfo-L.js} +481 -453
  156. package/components/{index-3WsfvkZF.js → index-Do7O9azB.js} +123 -112
  157. package/components/{index-BDFBUGBc.js → index-PMDgRSzR.js} +104 -94
  158. package/components/index-cfj52IbK.cjs +20 -0
  159. package/components/index.cjs +1 -1
  160. package/components/index.js +90 -88
  161. package/components/item-options-configs.cjs +1 -1
  162. package/components/item-options-configs.js +37 -37
  163. package/components/{line-chart-options.config-BhirTGqD.js → line-chart-options.config-DB3IsXXr.js} +28 -13
  164. package/components/line-chart-options.config-DSugoe0t.cjs +20 -0
  165. package/components/{localize-CcDpq940.js → localize-BX7q0S0M.js} +10 -10
  166. package/components/{localize-C4zNlrwK.cjs → localize-r7ALOUy_.cjs} +1 -1
  167. package/components/{marker-map-options.config-Bx17jmiq.js → marker-map-options.config-DPJ955tt.js} +1 -1
  168. package/components/{marker-map-options.config-CvhCylSC.cjs → marker-map-options.config-_FYZzRwA.cjs} +1 -1
  169. package/components/pivot-table-options.config-BiJXKSFR.cjs +20 -0
  170. package/components/{pivot-table-options.config-CFc7y0IT.js → pivot-table-options.config-DNK_AIG7.js} +24 -15
  171. package/components/pyramid-chart-options.config-C4zbFS26.cjs +20 -0
  172. package/components/{pyramid-chart-options.config-2Waxb11l.js → pyramid-chart-options.config-CcVMatYx.js} +43 -29
  173. package/components/{radar-chart-options.config-CPN5fOl8.js → radar-chart-options.config-CUZn_3Fd.js} +23 -11
  174. package/components/radar-chart-options.config-EqQu6PTh.cjs +20 -0
  175. package/components/{regular-table-options.config-CFKCJQK1.js → regular-table-options.config-BoLZsBry.js} +23 -17
  176. package/components/{regular-table-options.config-YRuoijIk.cjs → regular-table-options.config-DTx3RTnS.cjs} +1 -1
  177. package/components/{route-map-options.config-CyolTJfK.js → route-map-options.config-CN86T7c0.js} +109 -87
  178. package/components/route-map-options.config-D7NJePTu.cjs +20 -0
  179. package/components/{sankey-diagram-options.config-D7OSvSqm.cjs → sankey-diagram-options.config-RFB83YLZ.cjs} +1 -1
  180. package/components/{sankey-diagram-options.config-Ldjk84ro.js → sankey-diagram-options.config-tVLKy_Zn.js} +10 -7
  181. package/components/scatter-plot-options.config-CFfGJXsV.cjs +20 -0
  182. package/components/{scatter-plot-options.config-CfxEfkQ1.js → scatter-plot-options.config-Corlzno1.js} +86 -56
  183. package/components/{search-filter-options.config-Oqco9BKj.cjs → search-filter-options.config-BCaDlYqZ.cjs} +1 -1
  184. package/components/{search-filter-options.config-C0syQmP4.js → search-filter-options.config-BE3JhR-F.js} +6 -3
  185. package/components/{set-locale-nv7fWEtl.js → set-locale-B-Tz2sdI.js} +8 -1
  186. package/components/{slicer-filter-options.config-DmOe3440.js → slicer-filter-options.config-3JZZcw5C.js} +18 -9
  187. package/components/slicer-filter-options.config-DNI-XevE.cjs +20 -0
  188. package/components/{slider-filter-options.config-B1M8RcDs.js → slider-filter-options.config-DH4SS8wH.js} +1 -1
  189. package/components/{slider-filter-options.config-k45I-t6G.cjs → slider-filter-options.config-_8Z2zKmU.cjs} +1 -1
  190. package/components/slot-contents-picker/index.cjs +33 -33
  191. package/components/slot-contents-picker/index.js +205 -194
  192. package/components/slot-menu/index.cjs +12 -12
  193. package/components/slot-menu/index.js +184 -171
  194. package/components/slot-menu-list/index.cjs +3 -3
  195. package/components/slot-menu-list/index.js +103 -97
  196. package/components/speedometer-chart-options.config-BX9LTQBH.cjs +20 -0
  197. package/components/{speedometer-chart-options.config-CzOmuEF8.js → speedometer-chart-options.config-SL581yOa.js} +53 -31
  198. package/components/{spike-map-options.config-Cbt1YUw6.js → spike-map-options.config-C5KewecZ.js} +122 -91
  199. package/components/spike-map-options.config-DoBFXPmN.cjs +20 -0
  200. package/components/{sunburst-chart-options.config-Yrxc2i57.cjs → sunburst-chart-options.config-AbNjWS6t.cjs} +1 -1
  201. package/components/{sunburst-chart-options.config-_dyLQxPJ.js → sunburst-chart-options.config-CNauGQJv.js} +20 -9
  202. package/components/{symbol-map-options.config-BORL1NSU.js → symbol-map-options.config-DdDA4aa7.js} +20 -11
  203. package/components/symbol-map-options.config-m-lwLTtu.cjs +20 -0
  204. package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +20 -0
  205. package/components/{treemap-chart-options.config-B9i9qIm_.js → treemap-chart-options.config-D5AJaF_u.js} +37 -20
  206. package/components/utils.cjs +1 -1
  207. package/components/utils.js +65 -64
  208. package/components/{video-options.config-B0asgYt8.cjs → video-options.config-CGsDTwHc.cjs} +1 -1
  209. package/components/{video-options.config-UX-9MDfS.js → video-options.config-Dk36zJ1B.js} +10 -7
  210. package/components/{wordcloud-chart-options.config-BKtJT8Va.cjs → wordcloud-chart-options.config-vGfCW8kE.cjs} +1 -1
  211. package/components/{wordcloud-chart-options.config-BoB_KuhA.js → wordcloud-chart-options.config-w2NUIWVA.js} +7 -4
  212. package/custom-elements.json +154 -20
  213. package/index.d.ts +1 -0
  214. package/package.json +6 -1
  215. package/types.d.ts +14 -0
  216. package/components/area-chart-options.config-Bl8bhhOo.cjs +0 -20
  217. package/components/bar-chart-options.config-CePAqM83.cjs +0 -20
  218. package/components/box-plot-options.config-BVNrV2eD.cjs +0 -20
  219. package/components/bubble-chart-options.config-BDgOe3GQ.cjs +0 -20
  220. package/components/calculate-data-item-icon-C8CbsMQf.js +0 -139
  221. package/components/choropleth-map-options.config-CWJACFd0.cjs +0 -20
  222. package/components/circular-gauge-options.config-BMxgq3zH.cjs +0 -20
  223. package/components/color-Czp4Im5q.cjs +0 -20
  224. package/components/color-range-utils-DYYR-iwx.cjs +0 -20
  225. package/components/column-chart-options.config-BV9R3ssH.cjs +0 -20
  226. package/components/conditional-number-options.config-Co099Qfm.cjs +0 -20
  227. package/components/donut-chart-options.config-BQyPgnC9.cjs +0 -20
  228. package/components/en--a5SfjnM.cjs +0 -20
  229. package/components/en-CtCctD2c.js +0 -1483
  230. package/components/focusable-QLh-LlNt.cjs +0 -20
  231. package/components/funnel-chart-options.config-DrP4AFgk.cjs +0 -20
  232. package/components/heat-map-options.config-CIHnPdYE.cjs +0 -20
  233. package/components/heat-table-options.config-DTlZRc_i.cjs +0 -20
  234. package/components/helpers-9I0oLoUB.cjs +0 -20
  235. package/components/helpers-bR8Ibjqh.js +0 -79
  236. package/components/hexbin-map-options.config-CKnn3VAB.cjs +0 -20
  237. package/components/index-BGb_wRRW.js +0 -1766
  238. package/components/index-BUal0r_D.cjs +0 -121
  239. package/components/index-D1Y5TRsH.cjs +0 -20
  240. package/components/index-DvkzMbLt.cjs +0 -249
  241. package/components/line-chart-options.config-Cqwou5u6.cjs +0 -20
  242. package/components/pivot-table-options.config-uZDAertf.cjs +0 -20
  243. package/components/pyramid-chart-options.config-DoGfEvzU.cjs +0 -20
  244. package/components/radar-chart-options.config-CtNUMN1l.cjs +0 -20
  245. package/components/route-map-options.config-CVTk5RVL.cjs +0 -20
  246. package/components/scatter-plot-options.config-5gN7pMTm.cjs +0 -20
  247. package/components/slicer-filter-options.config-CrusP6a0.cjs +0 -20
  248. package/components/speedometer-chart-options.config-B4ceg_qI.cjs +0 -20
  249. package/components/spike-map-options.config-BkkDqb4g.cjs +0 -20
  250. package/components/symbol-map-options.config-NpBKm64d.cjs +0 -20
  251. package/components/treemap-chart-options.config-x4J54WSw.cjs +0 -20
@@ -17,8 +17,14 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { g as l, a as n, b as i, c as a } from "./helpers-bR8Ibjqh.js";
21
- const o = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t?.name === "color")?.content?.length > 0 : !1, r = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t?.name === "color")?.content?.length === 0 || !e?.some((t) => t?.name === "color") : !0, d = [
20
+ import { g as i, a as o, b as c, c as d } from "./helpers-v1bPALRP.js";
21
+ const n = ({ slots: e }) => {
22
+ var r, a;
23
+ return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? ((a = (r = e == null ? void 0 : e.find((l) => (l == null ? void 0 : l.name) === "color")) == null ? void 0 : r.content) == null ? void 0 : a.length) > 0 : !1;
24
+ }, t = ({ slots: e }) => {
25
+ var r, a;
26
+ return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? ((a = (r = e == null ? void 0 : e.find((l) => (l == null ? void 0 : l.name) === "color")) == null ? void 0 : r.content) == null ? void 0 : a.length) === 0 || !(e != null && e.some((l) => (l == null ? void 0 : l.name) === "color")) : !0;
27
+ }, f = [
22
28
  {
23
29
  key: "general",
24
30
  type: "group",
@@ -39,7 +45,7 @@ const o = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t
39
45
  label: "Legend",
40
46
  default: !0
41
47
  },
42
- visibleIf: o
48
+ visibleIf: n
43
49
  },
44
50
  {
45
51
  key: "display.modeOption",
@@ -48,7 +54,7 @@ const o = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t
48
54
  label: "Mode option",
49
55
  default: !1
50
56
  },
51
- visibleIf: o
57
+ visibleIf: n
52
58
  },
53
59
  {
54
60
  key: "display.labels",
@@ -82,19 +88,22 @@ const o = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t
82
88
  label: "Color area by category",
83
89
  default: !0
84
90
  },
85
- visibleIf: r
91
+ visibleIf: t
86
92
  },
87
93
  {
88
94
  key: "color",
89
95
  control: {
90
96
  type: "color-picker",
91
97
  label: "Area color",
92
- default: ({ theme: e }) => a(e),
93
- extraLabel: ({ options: e, theme: t }) => i(e, t, "color"),
94
- extraLabelHasClickAction: ({ options: e, theme: t }) => n(e, t, "color"),
95
- extraLabelClickAction: ({ options: e, theme: t }) => l(e, t, "color")
98
+ default: ({ theme: e }) => d(e),
99
+ extraLabel: ({ options: e, theme: r }) => c(e, r, "color"),
100
+ extraLabelHasClickAction: ({ options: e, theme: r }) => o(e, r, "color"),
101
+ extraLabelClickAction: ({ options: e, theme: r }) => i(e, r, "color")
96
102
  },
97
- visibleIf: ({ options: e, slots: t }) => e?.categories?.colored === !1 && r({ slots: t })
103
+ visibleIf: ({ options: e, slots: r }) => {
104
+ var a;
105
+ return ((a = e == null ? void 0 : e.categories) == null ? void 0 : a.colored) === !1 && t({ slots: r });
106
+ }
98
107
  },
99
108
  {
100
109
  key: "mode",
@@ -114,11 +123,15 @@ const o = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t
114
123
  min: 0,
115
124
  max: 24,
116
125
  step: 1,
117
- extraLabel: ({ options: e, theme: t }) => {
118
- if (typeof t?.itemSpecific?.rounding == "number")
119
- return typeof e?.roundedCorners != "number" ? "auto" : "reset";
126
+ extraLabel: ({ options: e, theme: r }) => {
127
+ var a;
128
+ if (typeof ((a = r == null ? void 0 : r.itemSpecific) == null ? void 0 : a.rounding) == "number")
129
+ return typeof (e == null ? void 0 : e.roundedCorners) != "number" ? "auto" : "reset";
130
+ },
131
+ extraLabelHasClickAction: ({ options: e, theme: r }) => {
132
+ var a;
133
+ return !(typeof ((a = r == null ? void 0 : r.itemSpecific) == null ? void 0 : a.rounding) != "number" || typeof (e == null ? void 0 : e.roundedCorners) != "number");
120
134
  },
121
- extraLabelHasClickAction: ({ options: e, theme: t }) => !(typeof t?.itemSpecific?.rounding != "number" || typeof e?.roundedCorners != "number"),
122
135
  extraLabelClickAction: ({ options: e }) => ({ value: void 0, options: { ...e, roundedCorners: void 0 } })
123
136
  }
124
137
  },
@@ -131,11 +144,15 @@ const o = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t
131
144
  min: 0,
132
145
  max: 20,
133
146
  step: 1,
134
- extraLabel: ({ options: e, theme: t }) => {
135
- if (typeof t?.itemSpecific?.padding == "number")
136
- return typeof e?.padding != "number" ? "auto" : "reset";
147
+ extraLabel: ({ options: e, theme: r }) => {
148
+ var a;
149
+ if (typeof ((a = r == null ? void 0 : r.itemSpecific) == null ? void 0 : a.padding) == "number")
150
+ return typeof (e == null ? void 0 : e.padding) != "number" ? "auto" : "reset";
151
+ },
152
+ extraLabelHasClickAction: ({ options: e, theme: r }) => {
153
+ var a;
154
+ return !(typeof ((a = r == null ? void 0 : r.itemSpecific) == null ? void 0 : a.padding) != "number" || typeof (e == null ? void 0 : e.padding) != "number");
137
155
  },
138
- extraLabelHasClickAction: ({ options: e, theme: t }) => !(typeof t?.itemSpecific?.padding != "number" || typeof e?.padding != "number"),
139
156
  extraLabelClickAction: ({ options: e }) => ({ value: void 0, options: { ...e, padding: void 0 } })
140
157
  }
141
158
  }
@@ -165,9 +182,9 @@ const o = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((t) => t
165
182
  }
166
183
  }
167
184
  ],
168
- visibleIf: o
185
+ visibleIf: n
169
186
  }
170
187
  ];
171
188
  export {
172
- d as default
189
+ f as default
173
190
  };
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./decompose-numeric-format-B3rVVHpO.cjs"),w=require("./en--a5SfjnM.cjs"),T=require("./localize-C4zNlrwK.cjs"),a=require("./index-6PmXiNch.cjs"),y=require("./index-Vdyb9z2D.cjs");function k(s){const n=[],l=[];Object.keys(a.slotsConfigs).forEach(e=>{e.replace("SlotsConfig","");const t=e.replace("SlotsConfig","").replaceAll(/([A-Z])/g,"-$1").toLowerCase();l.push({type:t,slotsConfig:a.slotsConfigs[e]})});const m=l.find(e=>e.type===s?.oldItemType),i=l.find(e=>e.type===s?.newItemType),o=structuredClone(i?.slotsConfig??[]);if(!i)return{type:m?.type??"bar-chart",slots:s.slots??[]};const r=structuredClone(s.slots??[]);for(const e of r){const t=m?.slotsConfig.find(M=>M.name===e.name);e.type=t?.type??e?.type}const p=r.filter(e=>e.type==="mixed").sort((e,t)=>e.order-t.order),u=o.filter(e=>e.type==="mixed").sort((e,t)=>e.order-t.order),S=r.filter(e=>e.type==="numeric").sort((e,t)=>e.order-t.order),h=o.filter(e=>e.type==="numeric").sort((e,t)=>e.order-t.order),c=[];for(const e of S)for(const t of e.content)t.key="old-measure-"+e?.name+"-"+e.content.indexOf(t),c.push(t);for(const e of p)for(const t of e.content)t.type==="numeric"&&(t.key="old-mixed-"+e?.name+"-"+e.content.indexOf(t),c.push(t));const x=[...h,...u].sort((e,t)=>o.indexOf(e)-o.indexOf(t));for(const e of c)for(const t of x)n.includes(e.key)||(t.content=t?.content??[],(t?.content?.length===0||t?.content?.length>0&&t?.canAcceptMultipleDataItems===!0)&&(t.content.push(e),n.push(e.key)));const C=r.filter(e=>e.type==="categorical").sort((e,t)=>e.order-t.order),g=o.filter(e=>e.type==="categorical").sort((e,t)=>e.order-t.order),d=[];for(const e of C)for(const t of e.content)t.key="old-dimension-"+e?.name+"-"+e.content.indexOf(t),d.push(t);for(const e of p)for(const t of e.content)t.type!=="numeric"&&(t.key="old-mixed-"+e?.name+"-"+e.content.indexOf(t),d.push(t));const I=[...g,...u].sort((e,t)=>o.indexOf(e)-o.indexOf(t));for(const e of d)if(!n.includes(e.key))for(const t of I)t&&!n.includes(e.key)&&(t.content=t?.content??[],(t?.content?.length===0||t?.content?.length>0&&t?.canAcceptMultipleDataItems===!0)&&(t.content.push(e),n.push(e.key)));let f={...s.options};return i.setInitialOptions&&(f=i?.setInitialOptions({...f})),{type:i.type??"bar-chart",slots:o.map(e=>({name:e.name,content:e.content??[]}))??[],options:f??{...s.options}}}exports.decomposeNumericFormat=O.decomposeNumericFormat;exports.formatter=w.formatter;exports.localize=T.localize;exports.getTheme=y.getTheme;exports.systemThemeIds=y.systemThemeIds;exports.switchItem=k;
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("./decompose-numeric-format-B3rVVHpO.cjs"),q=require("./en-BKBhKBXY.cjs"),D=require("./localize-r7ALOUy_.cjs"),C=require("./index-6PmXiNch.cjs"),x=require("./index-Vdyb9z2D.cjs");function z(o){var a,m,h,S;const c=[],f=[];Object.keys(C.slotsConfigs).forEach(e=>{e.replace("SlotsConfig","");const t=e.replace("SlotsConfig","").replaceAll(/([A-Z])/g,"-$1").toLowerCase();f.push({type:t,slotsConfig:C.slotsConfigs[e]})});const i=f.find(e=>e.type===(o==null?void 0:o.oldItemType)),n=f.find(e=>e.type===(o==null?void 0:o.newItemType)),s=structuredClone((n==null?void 0:n.slotsConfig)??[]);if(!n)return{type:(i==null?void 0:i.type)??"bar-chart",slots:o.slots??[]};const r=structuredClone(o.slots??[]);for(const e of r){const t=i==null?void 0:i.slotsConfig.find(b=>b.name===e.name);e.type=(t==null?void 0:t.type)??(e==null?void 0:e.type)}const u=r.filter(e=>e.type==="mixed").sort((e,t)=>e.order-t.order),y=s.filter(e=>e.type==="mixed").sort((e,t)=>e.order-t.order),O=r.filter(e=>e.type==="numeric").sort((e,t)=>e.order-t.order),T=s.filter(e=>e.type==="numeric").sort((e,t)=>e.order-t.order),l=[];for(const e of O)for(const t of e.content)t.key="old-measure-"+(e==null?void 0:e.name)+"-"+e.content.indexOf(t),l.push(t);for(const e of u)for(const t of e.content)t.type==="numeric"&&(t.key="old-mixed-"+(e==null?void 0:e.name)+"-"+e.content.indexOf(t),l.push(t));const k=[...T,...y].sort((e,t)=>s.indexOf(e)-s.indexOf(t));for(const e of l)for(const t of k)c.includes(e.key)||(t.content=(t==null?void 0:t.content)??[],(((a=t==null?void 0:t.content)==null?void 0:a.length)===0||((m=t==null?void 0:t.content)==null?void 0:m.length)>0&&(t==null?void 0:t.canAcceptMultipleDataItems)===!0)&&(t.content.push(e),c.push(e.key)));const g=r.filter(e=>e.type==="categorical").sort((e,t)=>e.order-t.order),w=s.filter(e=>e.type==="categorical").sort((e,t)=>e.order-t.order),d=[];for(const e of g)for(const t of e.content)t.key="old-dimension-"+(e==null?void 0:e.name)+"-"+e.content.indexOf(t),d.push(t);for(const e of u)for(const t of e.content)t.type!=="numeric"&&(t.key="old-mixed-"+(e==null?void 0:e.name)+"-"+e.content.indexOf(t),d.push(t));const M=[...w,...y].sort((e,t)=>s.indexOf(e)-s.indexOf(t));for(const e of d)if(!c.includes(e.key))for(const t of M)t&&!c.includes(e.key)&&(t.content=(t==null?void 0:t.content)??[],(((h=t==null?void 0:t.content)==null?void 0:h.length)===0||((S=t==null?void 0:t.content)==null?void 0:S.length)>0&&(t==null?void 0:t.canAcceptMultipleDataItems)===!0)&&(t.content.push(e),c.push(e.key)));let p={...o.options};return n.setInitialOptions&&(p=n==null?void 0:n.setInitialOptions({...p})),{type:n.type??"bar-chart",slots:s.map(e=>({name:e.name,content:e.content??[]}))??[],options:p??{...o.options}}}exports.decomposeNumericFormat=A.decomposeNumericFormat;exports.formatter=q.formatter;exports.localize=D.localize;exports.getTheme=x.getTheme;exports.systemThemeIds=x.systemThemeIds;exports.switchItem=z;
@@ -17,78 +17,79 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { d as D } from "./decompose-numeric-format-BuZcjH2k.js";
21
- import { f as A } from "./en-CtCctD2c.js";
22
- import { l as F } from "./localize-CcDpq940.js";
23
- import { s as a } from "./index-V1XCZI4y.js";
24
- import { g as j, s as v } from "./index-CgnTl6Sc.js";
25
- function O(s) {
26
- const n = [], l = [];
27
- Object.keys(a).forEach((t) => {
28
- t.replace("SlotsConfig", "");
29
- const e = t.replace("SlotsConfig", "").replaceAll(/([A-Z])/g, "-$1").toLowerCase();
30
- l.push({
31
- type: e,
32
- slotsConfig: a[t]
20
+ import { d as j } from "./decompose-numeric-format-BuZcjH2k.js";
21
+ import { f as E } from "./en-BOTjhwEc.js";
22
+ import { l as N } from "./localize-BX7q0S0M.js";
23
+ import { s as C } from "./index-V1XCZI4y.js";
24
+ import { g as $, s as q } from "./index-CgnTl6Sc.js";
25
+ function g(o) {
26
+ var u, m, h, x;
27
+ const c = [], f = [];
28
+ Object.keys(C).forEach((e) => {
29
+ e.replace("SlotsConfig", "");
30
+ const t = e.replace("SlotsConfig", "").replaceAll(/([A-Z])/g, "-$1").toLowerCase();
31
+ f.push({
32
+ type: t,
33
+ slotsConfig: C[e]
33
34
  });
34
35
  });
35
- const p = l.find(
36
- (t) => t.type === s?.oldItemType
37
- ), r = l.find(
38
- (t) => t.type === s?.newItemType
39
- ), o = structuredClone(r?.slotsConfig ?? []);
40
- if (!r)
36
+ const r = f.find(
37
+ (e) => e.type === (o == null ? void 0 : o.oldItemType)
38
+ ), n = f.find(
39
+ (e) => e.type === (o == null ? void 0 : o.newItemType)
40
+ ), s = structuredClone((n == null ? void 0 : n.slotsConfig) ?? []);
41
+ if (!n)
41
42
  return {
42
- type: p?.type ?? "bar-chart",
43
- slots: s.slots ?? []
43
+ type: (r == null ? void 0 : r.type) ?? "bar-chart",
44
+ slots: o.slots ?? []
44
45
  };
45
- const i = structuredClone(s.slots ?? []);
46
- for (const t of i) {
47
- const e = p?.slotsConfig.find(
48
- (M) => M.name === t.name
46
+ const i = structuredClone(o.slots ?? []);
47
+ for (const e of i) {
48
+ const t = r == null ? void 0 : r.slotsConfig.find(
49
+ (A) => A.name === e.name
49
50
  );
50
- t.type = e?.type ?? t?.type;
51
+ e.type = (t == null ? void 0 : t.type) ?? (e == null ? void 0 : e.type);
51
52
  }
52
- const m = i.filter((t) => t.type === "mixed").sort((t, e) => t.order - e.order), u = o.filter((t) => t.type === "mixed").sort((t, e) => t.order - e.order), y = i.filter((t) => t.type === "numeric").sort((t, e) => t.order - e.order), x = o.filter((t) => t.type === "numeric").sort((t, e) => t.order - e.order), c = [];
53
- for (const t of y)
54
- for (const e of t.content)
55
- e.key = "old-measure-" + t?.name + "-" + t.content.indexOf(e), c.push(e);
56
- for (const t of m)
57
- for (const e of t.content)
58
- e.type === "numeric" && (e.key = "old-mixed-" + t?.name + "-" + t.content.indexOf(e), c.push(e));
59
- const h = [...x, ...u].sort(
60
- (t, e) => o.indexOf(t) - o.indexOf(e)
53
+ const a = i.filter((e) => e.type === "mixed").sort((e, t) => e.order - t.order), y = s.filter((e) => e.type === "mixed").sort((e, t) => e.order - t.order), S = i.filter((e) => e.type === "numeric").sort((e, t) => e.order - t.order), O = s.filter((e) => e.type === "numeric").sort((e, t) => e.order - t.order), l = [];
54
+ for (const e of S)
55
+ for (const t of e.content)
56
+ t.key = "old-measure-" + (e == null ? void 0 : e.name) + "-" + e.content.indexOf(t), l.push(t);
57
+ for (const e of a)
58
+ for (const t of e.content)
59
+ t.type === "numeric" && (t.key = "old-mixed-" + (e == null ? void 0 : e.name) + "-" + e.content.indexOf(t), l.push(t));
60
+ const k = [...O, ...y].sort(
61
+ (e, t) => s.indexOf(e) - s.indexOf(t)
61
62
  );
62
- for (const t of c)
63
- for (const e of h)
64
- n.includes(t.key) || (e.content = e?.content ?? [], (e?.content?.length === 0 || e?.content?.length > 0 && e?.canAcceptMultipleDataItems === !0) && (e.content.push(t), n.push(t.key)));
65
- const S = i.filter((t) => t.type === "categorical").sort((t, e) => t.order - e.order), C = o.filter((t) => t.type === "categorical").sort((t, e) => t.order - e.order), f = [];
66
- for (const t of S)
67
- for (const e of t.content)
68
- e.key = "old-dimension-" + t?.name + "-" + t.content.indexOf(e), f.push(e);
69
- for (const t of m)
70
- for (const e of t.content)
71
- e.type !== "numeric" && (e.key = "old-mixed-" + t?.name + "-" + t.content.indexOf(e), f.push(e));
72
- const I = [
73
- ...C,
74
- ...u
75
- ].sort((t, e) => o.indexOf(t) - o.indexOf(e));
76
- for (const t of f)
77
- if (!n.includes(t.key))
78
- for (const e of I)
79
- e && !n.includes(t.key) && (e.content = e?.content ?? [], (e?.content?.length === 0 || e?.content?.length > 0 && e?.canAcceptMultipleDataItems === !0) && (e.content.push(t), n.push(t.key)));
80
- let d = { ...s.options };
81
- return r.setInitialOptions && (d = r?.setInitialOptions({ ...d })), {
82
- type: r.type ?? "bar-chart",
83
- slots: o.map((t) => ({ name: t.name, content: t.content ?? [] })) ?? [],
84
- options: d ?? { ...s.options }
63
+ for (const e of l)
64
+ for (const t of k)
65
+ c.includes(e.key) || (t.content = (t == null ? void 0 : t.content) ?? [], (((u = t == null ? void 0 : t.content) == null ? void 0 : u.length) === 0 || ((m = t == null ? void 0 : t.content) == null ? void 0 : m.length) > 0 && (t == null ? void 0 : t.canAcceptMultipleDataItems) === !0) && (t.content.push(e), c.push(e.key)));
66
+ const T = i.filter((e) => e.type === "categorical").sort((e, t) => e.order - t.order), w = s.filter((e) => e.type === "categorical").sort((e, t) => e.order - t.order), p = [];
67
+ for (const e of T)
68
+ for (const t of e.content)
69
+ t.key = "old-dimension-" + (e == null ? void 0 : e.name) + "-" + e.content.indexOf(t), p.push(t);
70
+ for (const e of a)
71
+ for (const t of e.content)
72
+ t.type !== "numeric" && (t.key = "old-mixed-" + (e == null ? void 0 : e.name) + "-" + e.content.indexOf(t), p.push(t));
73
+ const M = [
74
+ ...w,
75
+ ...y
76
+ ].sort((e, t) => s.indexOf(e) - s.indexOf(t));
77
+ for (const e of p)
78
+ if (!c.includes(e.key))
79
+ for (const t of M)
80
+ t && !c.includes(e.key) && (t.content = (t == null ? void 0 : t.content) ?? [], (((h = t == null ? void 0 : t.content) == null ? void 0 : h.length) === 0 || ((x = t == null ? void 0 : t.content) == null ? void 0 : x.length) > 0 && (t == null ? void 0 : t.canAcceptMultipleDataItems) === !0) && (t.content.push(e), c.push(e.key)));
81
+ let d = { ...o.options };
82
+ return n.setInitialOptions && (d = n == null ? void 0 : n.setInitialOptions({ ...d })), {
83
+ type: n.type ?? "bar-chart",
84
+ slots: s.map((e) => ({ name: e.name, content: e.content ?? [] })) ?? [],
85
+ options: d ?? { ...o.options }
85
86
  };
86
87
  }
87
88
  export {
88
- D as decomposeNumericFormat,
89
- A as formatter,
90
- j as getTheme,
91
- F as localize,
92
- O as switchItem,
93
- v as systemThemeIds
89
+ j as decomposeNumericFormat,
90
+ E as formatter,
91
+ $ as getTheme,
92
+ N as localize,
93
+ g as switchItem,
94
+ q as systemThemeIds
94
95
  };
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=[{key:"general",type:"group",open:!0,children:[{key:"type",control:{type:"picker",label:"Type",default:"web",enum:["web","youtube"]}},{key:"youtube",control:{type:"multi-language-field",placeholder:"Enter the youtube URL"},visibleIf:({options:e})=>e?.type==="youtube"},{key:"ogg",control:{type:"multi-language-field",label:"ogg:",placeholder:"Enter the .ogg file URL"},visibleIf:({options:e})=>e?.type!=="youtube"},{key:"mp4",control:{type:"multi-language-field",label:"mp4:",placeholder:"Enter the .mp4 file URL"},visibleIf:({options:e})=>e?.type!=="youtube"},{key:"webm",control:{type:"multi-language-field",label:"webm:",placeholder:"Enter the .webm file URL"},visibleIf:({options:e})=>e?.type!=="youtube"},{type:"divider"},{key:"showControls",control:{type:"switch",label:"Show controls",default:!0}},{key:"autoPlay",control:{type:"switch",label:"Auto play",default:!1}},{key:"loop",control:{type:"switch",label:"Loop",default:!1}},{key:"backdropColor",control:{type:"color-picker",label:"Backdrop color",default:"#000000"}}]},{key:"image",type:"group",open:!0,children:[{key:"poster.show",control:{type:"switch",label:"Show image on load",default:!1}},{key:"poster.url",control:{type:"multi-language-field",label:"Poster URL",placeholder:"Enter image URL"},visibleIf:({options:e})=>e?.poster?.show}]}];exports.default=l;
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=[{key:"general",type:"group",open:!0,children:[{key:"type",control:{type:"picker",label:"Type",default:"web",enum:["web","youtube"]}},{key:"youtube",control:{type:"multi-language-field",placeholder:"Enter the youtube URL"},visibleIf:({options:e})=>(e==null?void 0:e.type)==="youtube"},{key:"ogg",control:{type:"multi-language-field",label:"ogg:",placeholder:"Enter the .ogg file URL"},visibleIf:({options:e})=>(e==null?void 0:e.type)!=="youtube"},{key:"mp4",control:{type:"multi-language-field",label:"mp4:",placeholder:"Enter the .mp4 file URL"},visibleIf:({options:e})=>(e==null?void 0:e.type)!=="youtube"},{key:"webm",control:{type:"multi-language-field",label:"webm:",placeholder:"Enter the .webm file URL"},visibleIf:({options:e})=>(e==null?void 0:e.type)!=="youtube"},{type:"divider"},{key:"showControls",control:{type:"switch",label:"Show controls",default:!0}},{key:"autoPlay",control:{type:"switch",label:"Auto play",default:!1}},{key:"loop",control:{type:"switch",label:"Loop",default:!1}},{key:"backdropColor",control:{type:"color-picker",label:"Backdrop color",default:"#000000"}}]},{key:"image",type:"group",open:!0,children:[{key:"poster.show",control:{type:"switch",label:"Show image on load",default:!1}},{key:"poster.url",control:{type:"multi-language-field",label:"Poster URL",placeholder:"Enter image URL"},visibleIf:({options:e})=>{var l;return(l=e==null?void 0:e.poster)==null?void 0:l.show}}]}];exports.default=t;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- const l = [
20
+ const t = [
21
21
  {
22
22
  key: "general",
23
23
  type: "group",
@@ -38,7 +38,7 @@ const l = [
38
38
  type: "multi-language-field",
39
39
  placeholder: "Enter the youtube URL"
40
40
  },
41
- visibleIf: ({ options: e }) => e?.type === "youtube"
41
+ visibleIf: ({ options: e }) => (e == null ? void 0 : e.type) === "youtube"
42
42
  },
43
43
  {
44
44
  key: "ogg",
@@ -47,7 +47,7 @@ const l = [
47
47
  label: "ogg:",
48
48
  placeholder: "Enter the .ogg file URL"
49
49
  },
50
- visibleIf: ({ options: e }) => e?.type !== "youtube"
50
+ visibleIf: ({ options: e }) => (e == null ? void 0 : e.type) !== "youtube"
51
51
  },
52
52
  {
53
53
  key: "mp4",
@@ -56,7 +56,7 @@ const l = [
56
56
  label: "mp4:",
57
57
  placeholder: "Enter the .mp4 file URL"
58
58
  },
59
- visibleIf: ({ options: e }) => e?.type !== "youtube"
59
+ visibleIf: ({ options: e }) => (e == null ? void 0 : e.type) !== "youtube"
60
60
  },
61
61
  {
62
62
  key: "webm",
@@ -65,7 +65,7 @@ const l = [
65
65
  label: "webm:",
66
66
  placeholder: "Enter the .webm file URL"
67
67
  },
68
- visibleIf: ({ options: e }) => e?.type !== "youtube"
68
+ visibleIf: ({ options: e }) => (e == null ? void 0 : e.type) !== "youtube"
69
69
  },
70
70
  { type: "divider" },
71
71
  {
@@ -122,11 +122,14 @@ const l = [
122
122
  label: "Poster URL",
123
123
  placeholder: "Enter image URL"
124
124
  },
125
- visibleIf: ({ options: e }) => e?.poster?.show
125
+ visibleIf: ({ options: e }) => {
126
+ var l;
127
+ return (l = e == null ? void 0 : e.poster) == null ? void 0 : l.show;
128
+ }
126
129
  }
127
130
  ]
128
131
  }
129
132
  ];
130
133
  export {
131
- l as default
134
+ t as default
132
135
  };
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./helpers-9I0oLoUB.cjs"),l=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"categories.colored",control:{type:"switch",label:"Word color by category",default:!0}},{key:"color",control:{type:"color-picker",default:({theme:e})=>t.getThemeMainColor(e),extraLabel:({options:e,theme:o})=>t.getThemeMainColorResetLabel(e,o,"color"),extraLabelHasClickAction:({options:e,theme:o})=>t.getThemeMainColorExtraLabelHasClickAction(e,o,"color"),extraLabelClickAction:({options:e,theme:o})=>t.getThemeMainColorExtraLabelClickAction(e,o,"color")},visibleIf:({options:e})=>e?.categories?.colored===!1},{key:"layout",control:{type:"radio-button-group",label:"Layout",default:"horizontal",enum:["horizontal","random"]}}]}];exports.default=l;
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./helpers-DXQwEH1P.cjs"),t=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"categories.colored",control:{type:"switch",label:"Word color by category",default:!0}},{key:"color",control:{type:"color-picker",default:({theme:e})=>l.getThemeMainColor(e),extraLabel:({options:e,theme:o})=>l.getThemeMainColorResetLabel(e,o,"color"),extraLabelHasClickAction:({options:e,theme:o})=>l.getThemeMainColorExtraLabelHasClickAction(e,o,"color"),extraLabelClickAction:({options:e,theme:o})=>l.getThemeMainColorExtraLabelClickAction(e,o,"color")},visibleIf:({options:e})=>{var o;return((o=e==null?void 0:e.categories)==null?void 0:o.colored)===!1}},{key:"layout",control:{type:"radio-button-group",label:"Layout",default:"horizontal",enum:["horizontal","random"]}}]}];exports.default=t;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { g as t, a as l, b as a, c as r } from "./helpers-bR8Ibjqh.js";
20
+ import { g as l, a as t, b as a, c as r } from "./helpers-v1bPALRP.js";
21
21
  const i = [
22
22
  {
23
23
  key: "general",
@@ -46,10 +46,13 @@ const i = [
46
46
  type: "color-picker",
47
47
  default: ({ theme: e }) => r(e),
48
48
  extraLabel: ({ options: e, theme: o }) => a(e, o, "color"),
49
- extraLabelHasClickAction: ({ options: e, theme: o }) => l(e, o, "color"),
50
- extraLabelClickAction: ({ options: e, theme: o }) => t(e, o, "color")
49
+ extraLabelHasClickAction: ({ options: e, theme: o }) => t(e, o, "color"),
50
+ extraLabelClickAction: ({ options: e, theme: o }) => l(e, o, "color")
51
51
  },
52
- visibleIf: ({ options: e }) => e?.categories?.colored === !1
52
+ visibleIf: ({ options: e }) => {
53
+ var o;
54
+ return ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.colored) === !1;
55
+ }
53
56
  },
54
57
  {
55
58
  key: "layout",
@@ -374,6 +374,17 @@
374
374
  "default": "false",
375
375
  "description": "When true, restricts results to public datasets (opendata parity)",
376
376
  "attribute": "flag-opendata"
377
+ },
378
+ {
379
+ "kind": "field",
380
+ "name": "disabled",
381
+ "type": {
382
+ "text": "boolean"
383
+ },
384
+ "default": "false",
385
+ "description": "When true, disables the entire component (sets opacity to 60% and prevents all interactions)",
386
+ "attribute": "disabled",
387
+ "reflects": true
377
388
  }
378
389
  ],
379
390
  "events": [
@@ -386,6 +397,15 @@
386
397
  }
387
398
  ],
388
399
  "attributes": [
400
+ {
401
+ "type": {
402
+ "text": "boolean"
403
+ },
404
+ "description": "When true, disables the entire component (sets opacity to 60% and prevents all interactions)",
405
+ "name": "disabled",
406
+ "default": "false",
407
+ "fieldName": "disabled"
408
+ },
389
409
  {
390
410
  "name": "placeholder",
391
411
  "type": {
@@ -470,6 +490,120 @@
470
490
  }
471
491
  ]
472
492
  },
493
+ {
494
+ "kind": "javascript-module",
495
+ "path": "src/components/dataset-icon/dataset-icon.ts",
496
+ "declarations": [
497
+ {
498
+ "kind": "variable",
499
+ "name": "publicConnectors",
500
+ "type": {
501
+ "text": "[\n 'amazonathena',\n 'asana',\n 'bigquery',\n 'citybikes',\n 'clickhouse',\n 'demodataplugin',\n 'elasticsearch',\n 'exact',\n 'exactonline',\n 'exactonlinenl',\n 'google',\n 'googleanalytics',\n 'googleanalyticsv4',\n 'googledrive',\n 'hubspot',\n 'mailchimp',\n 'mariadb',\n 'mongodb',\n 'mysql',\n 'oracle',\n 'panoply',\n 'pipedrive',\n 'pipelinedb',\n 'postgresql',\n 'presto',\n 'redshift',\n 'salesforce',\n 'saphana',\n 'snowflake',\n 'sqlserver',\n 'stardog',\n 'synapse',\n 'teamleader',\n 'trino',\n 'typeform',\n 'zendesk'\n]"
502
+ },
503
+ "default": "[ 'amazonathena', 'asana', 'bigquery', 'citybikes', 'clickhouse', 'demodataplugin', 'elasticsearch', 'exact', 'exactonline', 'exactonlinenl', 'google', 'googleanalytics', 'googleanalyticsv4', 'googledrive', 'hubspot', 'mailchimp', 'mariadb', 'mongodb', 'mysql', 'oracle', 'panoply', 'pipedrive', 'pipelinedb', 'postgresql', 'presto', 'redshift', 'salesforce', 'saphana', 'snowflake', 'sqlserver', 'stardog', 'synapse', 'teamleader', 'trino', 'typeform', 'zendesk' ]",
504
+ "description": "Public connectors list - these are well-known connectors that may have CSS-based icons\nThis list should match the one from"
505
+ },
506
+ {
507
+ "kind": "class",
508
+ "description": "",
509
+ "name": "LuzmoDatasetIcon",
510
+ "members": [
511
+ {
512
+ "kind": "field",
513
+ "name": "tagName",
514
+ "type": {
515
+ "text": "string"
516
+ },
517
+ "static": true,
518
+ "default": "'luzmo-dataset-icon'"
519
+ },
520
+ {
521
+ "kind": "field",
522
+ "name": "datasetInfo",
523
+ "type": {
524
+ "text": "DatasetIcon | undefined"
525
+ },
526
+ "description": "The dataset information containing subtype and thumbnail data",
527
+ "attribute": "dataset"
528
+ },
529
+ {
530
+ "kind": "field",
531
+ "name": "size",
532
+ "type": {
533
+ "text": "'16px' | '24px' | '32px' | '48px' | '64px'"
534
+ },
535
+ "default": "'32px'",
536
+ "description": "The size of the icon",
537
+ "attribute": "size",
538
+ "reflects": true
539
+ },
540
+ {
541
+ "kind": "field",
542
+ "name": "appUrl",
543
+ "type": {
544
+ "text": "string"
545
+ },
546
+ "default": "''",
547
+ "description": "The base URL for the application (used for thumbnail URLs)",
548
+ "attribute": "app-url"
549
+ }
550
+ ],
551
+ "attributes": [
552
+ {
553
+ "name": "dataset",
554
+ "type": {
555
+ "text": "DatasetIcon | undefined"
556
+ },
557
+ "description": "The dataset information containing subtype and thumbnail data",
558
+ "fieldName": "datasetInfo"
559
+ },
560
+ {
561
+ "name": "size",
562
+ "type": {
563
+ "text": "'16px' | '24px' | '32px' | '48px' | '64px'"
564
+ },
565
+ "default": "'32px'",
566
+ "description": "The size of the icon",
567
+ "fieldName": "size"
568
+ },
569
+ {
570
+ "name": "app-url",
571
+ "type": {
572
+ "text": "string"
573
+ },
574
+ "default": "''",
575
+ "description": "The base URL for the application (used for thumbnail URLs)",
576
+ "fieldName": "appUrl"
577
+ }
578
+ ],
579
+ "superclass": {
580
+ "name": "LitElement",
581
+ "package": "lit"
582
+ },
583
+ "tagName": "luzmo-dataset-icon",
584
+ "customElement": true,
585
+ "summary": "Displays an icon for a dataset based on its type, thumbnails, and connector"
586
+ }
587
+ ],
588
+ "exports": [
589
+ {
590
+ "kind": "js",
591
+ "name": "publicConnectors",
592
+ "declaration": {
593
+ "name": "publicConnectors",
594
+ "module": "src/components/dataset-icon/dataset-icon.ts"
595
+ }
596
+ },
597
+ {
598
+ "kind": "js",
599
+ "name": "LuzmoDatasetIcon",
600
+ "declaration": {
601
+ "name": "LuzmoDatasetIcon",
602
+ "module": "src/components/dataset-icon/dataset-icon.ts"
603
+ }
604
+ }
605
+ ]
606
+ },
473
607
  {
474
608
  "kind": "javascript-module",
475
609
  "path": "src/components/dataset-selector-list/dataset-selector-list.ts",
@@ -886,6 +1020,17 @@
886
1020
  "default": "false",
887
1021
  "description": "When true, restricts results to public datasets (opendata parity)",
888
1022
  "attribute": "flag-opendata"
1023
+ },
1024
+ {
1025
+ "kind": "field",
1026
+ "name": "disabled",
1027
+ "type": {
1028
+ "text": "boolean"
1029
+ },
1030
+ "default": "false",
1031
+ "description": "When true, disables all interactions with the component",
1032
+ "attribute": "disabled",
1033
+ "reflects": true
889
1034
  }
890
1035
  ],
891
1036
  "events": [
@@ -905,6 +1050,15 @@
905
1050
  }
906
1051
  ],
907
1052
  "attributes": [
1053
+ {
1054
+ "type": {
1055
+ "text": "boolean"
1056
+ },
1057
+ "description": "When true, disables all interactions with the component",
1058
+ "name": "disabled",
1059
+ "default": "false",
1060
+ "fieldName": "disabled"
1061
+ },
908
1062
  {
909
1063
  "name": "selectedDatasets",
910
1064
  "type": {
@@ -6844,16 +6998,6 @@
6844
6998
  ],
6845
6999
  "tagName": "luzmo-filter-value-picker-hierarchy",
6846
7000
  "customElement": true
6847
- },
6848
- {
6849
- "kind": "variable",
6850
- "name": "abortController",
6851
- "default": "new AbortController()"
6852
- },
6853
- {
6854
- "kind": "variable",
6855
- "name": "promise",
6856
- "default": "new Promise((resolve, reject) => { const fetchDataPromise = dataBroker.fetchData(query); fetchDataPromise.then(resolve).catch(reject); abortController.signal.addEventListener('abort', () => { console.warn('Request aborted'); reject({ status: 'aborted' }); }); })"
6857
7001
  }
6858
7002
  ],
6859
7003
  "exports": [
@@ -7057,16 +7201,6 @@
7057
7201
  ],
7058
7202
  "tagName": "luzmo-filter-value-picker-numeric",
7059
7203
  "customElement": true
7060
- },
7061
- {
7062
- "kind": "variable",
7063
- "name": "abortController",
7064
- "default": "new AbortController()"
7065
- },
7066
- {
7067
- "kind": "variable",
7068
- "name": "promise",
7069
- "default": "new Promise((resolve, reject) => { const fetchDataPromise = dataBroker.fetchData(query); fetchDataPromise.then(resolve).catch(reject); abortController.signal.addEventListener('abort', () => { console.warn('Request aborted'); reject({ status: 'aborted' }); }); })"
7070
7204
  }
7071
7205
  ],
7072
7206
  "exports": [
package/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export * from './components/ai-chat-message-assistant';
2
2
  export * from './components/ai-chat-message-user';
3
3
  export * from './components/ai-chat-messages-container';
4
4
  export * from './components/ai-interaction-textarea';
5
+ export * from './components/dataset-icon';
5
6
  export * from './components/dataset-selector-list';
6
7
  export * from './components/dataset-selector-row';
7
8
  export * from './components/display-settings';