@luzmo/analytics-components-kit 1.0.1-alpha.94 → 1.0.1-alpha.97

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 (260) hide show
  1. package/angular/README.md +1 -1
  2. package/angular/components/viz-item-menu.component.ts +25 -0
  3. package/angular/esm/components/viz-item-menu.component.d.ts +13 -0
  4. package/angular/esm/components/viz-item-menu.component.js +49 -0
  5. package/angular/esm/index.d.ts +3 -3
  6. package/angular/esm/index.js +3 -3
  7. package/angular/esm/types.d.ts +2 -2
  8. package/angular/index.ts +3 -3
  9. package/angular/types.ts +2 -2
  10. package/components/ai-chat-message-assistant/index.cjs +1 -1
  11. package/components/ai-chat-message-assistant/index.js +0 -1
  12. package/components/ai-chat-messages-container/index.cjs +1 -1
  13. package/components/ai-chat-messages-container/index.js +2 -2
  14. package/components/ai-interaction-textarea/index.cjs +1 -1
  15. package/components/ai-interaction-textarea/index.js +1 -2
  16. package/components/area-chart-options.config-Bl8bhhOo.cjs +20 -0
  17. package/components/{area-chart-options.config-_J0sG4NF.js → area-chart-options.config-u8itidsi.js} +14 -26
  18. package/components/bar-chart-options.config-CePAqM83.cjs +20 -0
  19. package/components/{bar-chart-options.config-D1mb5TDl.js → bar-chart-options.config-DIirbAJ0.js} +21 -35
  20. package/components/box-plot-options.config-BVNrV2eD.cjs +20 -0
  21. package/components/{box-plot-options.config-xu_i6ms7.js → box-plot-options.config-BWROiguA.js} +52 -88
  22. package/components/{bubble-chart-options.config-BacgXkJ_.js → bubble-chart-options.config-4QD8VPhU.js} +9 -18
  23. package/components/bubble-chart-options.config-BDgOe3GQ.cjs +20 -0
  24. package/components/{bullet-chart-options.config-CDPpX1yc.js → bullet-chart-options.config-3bH7uekx.js} +1 -1
  25. package/components/{bullet-chart-options.config-DfS4Bwds.cjs → bullet-chart-options.config-tWb6Fio-.cjs} +1 -1
  26. package/components/calculate-data-item-icon-DMDhKq_m.js +147 -0
  27. package/components/calculate-data-item-icon-DtVGbet3.cjs +20 -0
  28. package/components/{choropleth-map-options.config-B_W9-rhe.js → choropleth-map-options.config-CMxx3ORp.js} +63 -84
  29. package/components/choropleth-map-options.config-CWJACFd0.cjs +20 -0
  30. package/components/circular-gauge-options.config-BMxgq3zH.cjs +20 -0
  31. package/components/{circular-gauge-options.config-DAIjz4Rl.js → circular-gauge-options.config-DhIKn44k.js} +23 -36
  32. package/components/{color-DuJ4-73S.js → color-B7m0j8lX.js} +941 -950
  33. package/components/color-Czp4Im5q.cjs +20 -0
  34. package/components/{color-range-utils-Bvo9sm5A.js → color-range-utils-BSfqtB3A.js} +31 -32
  35. package/components/color-range-utils-DYYR-iwx.cjs +20 -0
  36. package/components/column-chart-options.config-BV9R3ssH.cjs +20 -0
  37. package/components/{column-chart-options.config-B5SjBVdy.js → column-chart-options.config-D5-yR7iq.js} +27 -37
  38. package/components/conditional-number-options.config-Co099Qfm.cjs +20 -0
  39. package/components/{conditional-number-options.config-BCEpSK9J.js → conditional-number-options.config-DPYsdML5.js} +24 -40
  40. package/components/dataset-icon/index.cjs +1 -1
  41. package/components/dataset-icon/index.js +1 -2
  42. package/components/dataset-selector-list/index.cjs +1 -1
  43. package/components/dataset-selector-list/index.js +32 -35
  44. package/components/dataset-selector-row/index.cjs +9 -9
  45. package/components/dataset-selector-row/index.js +50 -52
  46. package/components/{date-comparison-filter-options.config-JA_yYpJa.js → date-comparison-filter-options.config-CSwGyuBg.js} +3 -6
  47. package/components/{date-comparison-filter-options.config-DAVncmi0.cjs → date-comparison-filter-options.config-QaoWaFUn.cjs} +1 -1
  48. package/components/{date-filter-options.config-DBRxlTWy.js → date-filter-options.config-BTVyHRkp.js} +3 -6
  49. package/components/{date-filter-options.config-CWPMtA18.cjs → date-filter-options.config-n-zhWaYa.cjs} +1 -1
  50. package/components/display-settings/index.cjs +1 -1
  51. package/components/display-settings/index.js +1 -1
  52. package/components/display-settings-binning/index.cjs +5 -5
  53. package/components/display-settings-binning/index.js +29 -30
  54. package/components/display-settings-datetime/index.cjs +29 -29
  55. package/components/display-settings-datetime/index.js +112 -120
  56. package/components/display-settings-grand-totals/index.cjs +4 -4
  57. package/components/display-settings-grand-totals/index.js +23 -24
  58. package/components/display-settings-numeric/display-settings-numeric.d.ts +1 -2
  59. package/components/display-settings-numeric/index.cjs +49 -48
  60. package/components/display-settings-numeric/index.js +193 -218
  61. package/components/display-settings-period-over-period/index.cjs +16 -16
  62. package/components/display-settings-period-over-period/index.js +91 -97
  63. package/components/{donut-chart-options.config-BulUEiaH.js → donut-chart-options.config-3ZqX8Cbb.js} +21 -37
  64. package/components/donut-chart-options.config-BQyPgnC9.cjs +20 -0
  65. package/components/draggable-data-item/index.cjs +5 -5
  66. package/components/draggable-data-item/index.js +45 -46
  67. package/components/draggable-data-item-level/index.cjs +11 -11
  68. package/components/draggable-data-item-level/index.js +70 -73
  69. package/components/{dropdown-filter-options.config-D9dvPypF.js → dropdown-filter-options.config-CGJTtgAX.js} +7 -10
  70. package/components/{dropdown-filter-options.config-DS-MORmq.cjs → dropdown-filter-options.config-DJvfCTk7.cjs} +1 -1
  71. package/components/droppable-slot/index.cjs +16 -16
  72. package/components/droppable-slot/index.js +208 -223
  73. package/components/edit-item/index.cjs +9 -9
  74. package/components/edit-item/index.js +116 -119
  75. package/components/edit-option/index.cjs +1 -1
  76. package/components/edit-option/index.js +1 -1
  77. package/components/edit-option-action-button-group/index.cjs +8 -8
  78. package/components/edit-option-action-button-group/index.js +52 -53
  79. package/components/{edit-option-base-DIc7iC-b.js → edit-option-base-Bh29-Cak.js} +1 -1
  80. package/components/{edit-option-base-VhTih9T1.cjs → edit-option-base-tFr8Qg2B.cjs} +1 -1
  81. package/components/edit-option-color-palette-picker/index.cjs +1 -1
  82. package/components/edit-option-color-palette-picker/index.js +1 -1
  83. package/components/edit-option-color-picker/index.cjs +1 -1
  84. package/components/edit-option-color-picker/index.js +1 -1
  85. package/components/edit-option-color-range/index.cjs +19 -19
  86. package/components/edit-option-color-range/index.js +106 -117
  87. package/components/edit-option-multi-language-field/index.cjs +3 -3
  88. package/components/edit-option-multi-language-field/index.js +26 -27
  89. package/components/edit-option-number-field/index.cjs +1 -1
  90. package/components/edit-option-number-field/index.js +1 -1
  91. package/components/edit-option-picker/index.cjs +5 -5
  92. package/components/edit-option-picker/index.js +7 -7
  93. package/components/edit-option-position-picker/index.cjs +4 -4
  94. package/components/edit-option-position-picker/index.js +21 -25
  95. package/components/edit-option-positions-number-field/index.cjs +9 -9
  96. package/components/edit-option-positions-number-field/index.js +76 -81
  97. package/components/edit-option-radio-button-group/index.cjs +6 -6
  98. package/components/edit-option-radio-button-group/index.js +21 -22
  99. package/components/edit-option-slider/index.cjs +1 -1
  100. package/components/edit-option-slider/index.js +1 -1
  101. package/components/edit-option-switch/index.cjs +1 -1
  102. package/components/edit-option-switch/index.js +1 -1
  103. package/components/edit-option-text-field/index.cjs +2 -2
  104. package/components/edit-option-text-field/index.js +22 -23
  105. package/components/en-D3ihEGXg.js +1483 -0
  106. package/components/en-DZcn_iz_.cjs +20 -0
  107. package/components/{en-GB-DG6uS3sM.cjs → en-GB-TqvgIw9B.cjs} +1 -1
  108. package/components/{en-GB-CEHEs8F2.js → en-GB-ialeqj_z.js} +1 -1
  109. package/components/{evolution-number-options.config-DzkfeoIN.js → evolution-number-options.config-BIPO_4n3.js} +11 -14
  110. package/components/{evolution-number-options.config-BgIZY4gQ.cjs → evolution-number-options.config-Bc9eKYnn.cjs} +1 -1
  111. package/components/{extrapolate-color-0j_AeYkz.cjs → extrapolate-color-C0n1UDs-.cjs} +1 -1
  112. package/components/{extrapolate-color-CC9CURf6.js → extrapolate-color-v1PimdQr.js} +1 -1
  113. package/components/filter-data-item-picker/index.cjs +7 -7
  114. package/components/filter-data-item-picker/index.js +85 -86
  115. package/components/filter-expression-picker/index.cjs +1 -1
  116. package/components/filter-expression-picker/index.js +1 -1
  117. package/components/filter-item/index.cjs +6 -6
  118. package/components/filter-item/index.js +109 -119
  119. package/components/filter-value-picker/index.cjs +2 -2
  120. package/components/filter-value-picker/index.js +34 -36
  121. package/components/filter-value-picker-datetime/index.cjs +8 -8
  122. package/components/filter-value-picker-datetime/index.js +56 -71
  123. package/components/filter-value-picker-hierarchy/index.cjs +12 -12
  124. package/components/filter-value-picker-hierarchy/index.js +113 -124
  125. package/components/filter-value-picker-numeric/index.cjs +8 -8
  126. package/components/filter-value-picker-numeric/index.js +101 -110
  127. package/components/{focusable-DCIFkpiW.js → focusable-BS2pbY7w.js} +24 -26
  128. package/components/focusable-QLh-LlNt.cjs +20 -0
  129. package/components/{funnel-chart-options.config-C_VjTOvD.js → funnel-chart-options.config-CrJy2U7_.js} +5 -20
  130. package/components/funnel-chart-options.config-DrP4AFgk.cjs +20 -0
  131. package/components/{get-css-variable-YlLiVgo8.js → get-css-variable-Bb7TxJdX.js} +37 -37
  132. package/components/get-css-variable-Pzks_rOx.cjs +24 -0
  133. package/components/grid/index.cjs +43 -49
  134. package/components/grid/index.js +2610 -1878
  135. package/components/heat-map-options.config-CIHnPdYE.cjs +20 -0
  136. package/components/{heat-map-options.config-BnLWe8jS.js → heat-map-options.config-CmL87j1j.js} +35 -41
  137. package/components/{heat-table-options.config-CUsDdgUr.js → heat-table-options.config-BrCYAgYD.js} +60 -88
  138. package/components/heat-table-options.config-DTlZRc_i.cjs +20 -0
  139. package/components/helpers-9I0oLoUB.cjs +20 -0
  140. package/components/helpers-bR8Ibjqh.js +79 -0
  141. package/components/{hexbin-map-options.config-F-7uCqxb.js → hexbin-map-options.config-BguV1w8q.js} +20 -38
  142. package/components/hexbin-map-options.config-CKnn3VAB.cjs +20 -0
  143. package/components/{index-BPNsFiyq.cjs → index-BNAmjOkm.cjs} +4 -4
  144. package/components/index-BekTY3Em.cjs +121 -0
  145. package/components/index-CFL6gmIu.cjs +20 -0
  146. package/components/{index-Do7O9azB.js → index-CqKpf0B8.js} +112 -123
  147. package/components/index-DNPULp4A.js +1755 -0
  148. package/components/{index-D0GBF6tg.js → index-DdyZ2g5L.js} +94 -104
  149. package/components/index-DvkzMbLt.cjs +249 -0
  150. package/components/{index-CdIUfo-L.js → index-haa7WNrl.js} +453 -481
  151. package/components/index.cjs +1 -1
  152. package/components/index.js +13 -13
  153. package/components/item-options-configs.cjs +1 -1
  154. package/components/item-options-configs.js +37 -37
  155. package/components/{line-chart-options.config-DB3IsXXr.js → line-chart-options.config-BhirTGqD.js} +13 -28
  156. package/components/line-chart-options.config-Cqwou5u6.cjs +20 -0
  157. package/components/{localize-r7ALOUy_.cjs → localize-C4zNlrwK.cjs} +1 -1
  158. package/components/{localize-BX7q0S0M.js → localize-CcDpq940.js} +10 -10
  159. package/components/{marker-map-options.config-DPJ955tt.js → marker-map-options.config-Bx17jmiq.js} +1 -1
  160. package/components/{marker-map-options.config-_FYZzRwA.cjs → marker-map-options.config-CvhCylSC.cjs} +1 -1
  161. package/components/{pivot-table-options.config-DNK_AIG7.js → pivot-table-options.config-CFc7y0IT.js} +15 -24
  162. package/components/pivot-table-options.config-uZDAertf.cjs +20 -0
  163. package/components/{pyramid-chart-options.config-CcVMatYx.js → pyramid-chart-options.config-2Waxb11l.js} +29 -43
  164. package/components/pyramid-chart-options.config-DoGfEvzU.cjs +20 -0
  165. package/components/{radar-chart-options.config-CUZn_3Fd.js → radar-chart-options.config-CPN5fOl8.js} +11 -23
  166. package/components/radar-chart-options.config-CtNUMN1l.cjs +20 -0
  167. package/components/{regular-table-options.config-BoLZsBry.js → regular-table-options.config-CFKCJQK1.js} +17 -23
  168. package/components/{regular-table-options.config-DTx3RTnS.cjs → regular-table-options.config-YRuoijIk.cjs} +1 -1
  169. package/components/route-map-options.config-CVTk5RVL.cjs +20 -0
  170. package/components/{route-map-options.config-CN86T7c0.js → route-map-options.config-CyolTJfK.js} +87 -109
  171. package/components/{sankey-diagram-options.config-RFB83YLZ.cjs → sankey-diagram-options.config-D7OSvSqm.cjs} +1 -1
  172. package/components/{sankey-diagram-options.config-tVLKy_Zn.js → sankey-diagram-options.config-Ldjk84ro.js} +7 -10
  173. package/components/scatter-plot-options.config-5gN7pMTm.cjs +20 -0
  174. package/components/{scatter-plot-options.config-Corlzno1.js → scatter-plot-options.config-CfxEfkQ1.js} +56 -86
  175. package/components/{search-filter-options.config-BE3JhR-F.js → search-filter-options.config-C0syQmP4.js} +3 -6
  176. package/components/{search-filter-options.config-BCaDlYqZ.cjs → search-filter-options.config-Oqco9BKj.cjs} +1 -1
  177. package/components/{set-locale-Dp3N_gXN.js → set-locale-hKTMz37h.js} +1 -8
  178. package/components/slicer-filter-options.config-CrusP6a0.cjs +20 -0
  179. package/components/{slicer-filter-options.config-3JZZcw5C.js → slicer-filter-options.config-DmOe3440.js} +9 -18
  180. package/components/{slider-filter-options.config-DH4SS8wH.js → slider-filter-options.config-B1M8RcDs.js} +1 -1
  181. package/components/{slider-filter-options.config-_8Z2zKmU.cjs → slider-filter-options.config-k45I-t6G.cjs} +1 -1
  182. package/components/slot-contents-picker/index.cjs +33 -33
  183. package/components/slot-contents-picker/index.js +194 -205
  184. package/components/slot-menu/index.cjs +12 -12
  185. package/components/slot-menu/index.js +171 -184
  186. package/components/slot-menu-list/index.cjs +3 -3
  187. package/components/slot-menu-list/index.js +97 -103
  188. package/components/speedometer-chart-options.config-B4ceg_qI.cjs +20 -0
  189. package/components/{speedometer-chart-options.config-SL581yOa.js → speedometer-chart-options.config-CzOmuEF8.js} +31 -53
  190. package/components/spike-map-options.config-BkkDqb4g.cjs +20 -0
  191. package/components/{spike-map-options.config-C5KewecZ.js → spike-map-options.config-Cbt1YUw6.js} +91 -122
  192. package/components/{sunburst-chart-options.config-AbNjWS6t.cjs → sunburst-chart-options.config-Yrxc2i57.cjs} +1 -1
  193. package/components/{sunburst-chart-options.config-CNauGQJv.js → sunburst-chart-options.config-_dyLQxPJ.js} +9 -20
  194. package/components/{symbol-map-options.config-DdDA4aa7.js → symbol-map-options.config-BORL1NSU.js} +11 -20
  195. package/components/symbol-map-options.config-NpBKm64d.cjs +20 -0
  196. package/components/{treemap-chart-options.config-D5AJaF_u.js → treemap-chart-options.config-B9i9qIm_.js} +20 -37
  197. package/components/treemap-chart-options.config-x4J54WSw.cjs +20 -0
  198. package/components/utils.cjs +1 -1
  199. package/components/utils.js +94 -97
  200. package/components/{video-options.config-CGsDTwHc.cjs → video-options.config-B0asgYt8.cjs} +1 -1
  201. package/components/{video-options.config-Dk36zJ1B.js → video-options.config-UX-9MDfS.js} +7 -10
  202. package/components/viz-item-menu/index.cjs +51 -0
  203. package/components/viz-item-menu/index.d.ts +8 -0
  204. package/components/viz-item-menu/index.js +209 -0
  205. package/components/viz-item-menu/viz-item-menu.d.ts +77 -0
  206. package/components/{wordcloud-chart-options.config-vGfCW8kE.cjs → wordcloud-chart-options.config-BKtJT8Va.cjs} +1 -1
  207. package/components/{wordcloud-chart-options.config-w2NUIWVA.js → wordcloud-chart-options.config-BoB_KuhA.js} +4 -7
  208. package/custom-elements.json +43 -23
  209. package/index.d.ts +1 -1
  210. package/package.json +7 -7
  211. package/types.d.ts +2 -2
  212. package/angular/components/widget-menu.component.ts +0 -25
  213. package/angular/esm/components/widget-menu.component.d.ts +0 -13
  214. package/angular/esm/components/widget-menu.component.js +0 -49
  215. package/components/area-chart-options.config-C7sMAHco.cjs +0 -20
  216. package/components/bar-chart-options.config-DcxEkOT5.cjs +0 -20
  217. package/components/box-plot-options.config-SrrbDEYW.cjs +0 -20
  218. package/components/bubble-chart-options.config-Ihn6eVQI.cjs +0 -20
  219. package/components/calculate-data-item-icon-CEa82-5u.cjs +0 -20
  220. package/components/calculate-data-item-icon-DjlZwMdO.js +0 -147
  221. package/components/choropleth-map-options.config-ZW8yoZH2.cjs +0 -20
  222. package/components/circular-gauge-options.config-msZ4mfpN.cjs +0 -20
  223. package/components/color-B6LaL8qz.cjs +0 -20
  224. package/components/color-range-utils-C5yXW7ZC.cjs +0 -20
  225. package/components/column-chart-options.config-BjDvA7i9.cjs +0 -20
  226. package/components/conditional-number-options.config-DgzUo0xi.cjs +0 -20
  227. package/components/donut-chart-options.config-tNpqBZfR.cjs +0 -20
  228. package/components/en-BKBhKBXY.cjs +0 -20
  229. package/components/en-BOTjhwEc.js +0 -1488
  230. package/components/focusable-B3E_hQmm.cjs +0 -20
  231. package/components/funnel-chart-options.config-D7H7gFcx.cjs +0 -20
  232. package/components/get-css-variable-BEYG097C.js +0 -1446
  233. package/components/get-css-variable-BZxY4IOa.cjs +0 -35
  234. package/components/get-css-variable-DLiZYZEi.cjs +0 -24
  235. package/components/heat-map-options.config-DVH-Bb5-.cjs +0 -20
  236. package/components/heat-table-options.config-B12JEYnp.cjs +0 -20
  237. package/components/helpers-DXQwEH1P.cjs +0 -20
  238. package/components/helpers-v1bPALRP.js +0 -91
  239. package/components/hexbin-map-options.config-DZERRhM8.cjs +0 -20
  240. package/components/index-CDi4fe3N.js +0 -1716
  241. package/components/index-CQ9ck-BO.cjs +0 -249
  242. package/components/index-CXn67vdn.cjs +0 -121
  243. package/components/index-Cz9vSXy6.cjs +0 -20
  244. package/components/index-Dn0j_pcR.cjs +0 -20
  245. package/components/index-E239Dotg.js +0 -1735
  246. package/components/line-chart-options.config-DSugoe0t.cjs +0 -20
  247. package/components/pivot-table-options.config-BiJXKSFR.cjs +0 -20
  248. package/components/pyramid-chart-options.config-C4zbFS26.cjs +0 -20
  249. package/components/radar-chart-options.config-EqQu6PTh.cjs +0 -20
  250. package/components/route-map-options.config-D7NJePTu.cjs +0 -20
  251. package/components/scatter-plot-options.config-CFfGJXsV.cjs +0 -20
  252. package/components/slicer-filter-options.config-DNI-XevE.cjs +0 -20
  253. package/components/speedometer-chart-options.config-BX9LTQBH.cjs +0 -20
  254. package/components/spike-map-options.config-DoBFXPmN.cjs +0 -20
  255. package/components/symbol-map-options.config-m-lwLTtu.cjs +0 -20
  256. package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +0 -20
  257. package/components/widget-menu/index.cjs +0 -51
  258. package/components/widget-menu/index.d.ts +0 -8
  259. package/components/widget-menu/index.js +0 -211
  260. package/components/widget-menu/widget-menu.d.ts +0 -77
@@ -1,20 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2025 Luzmo
4
- * All rights reserved.
5
- * Luzmo web components (“Luzmo Web Components”)
6
- * must be used according to the Luzmo Terms of Service.
7
- * This license allows users with a current active Luzmo account
8
- * to use the Luzmo Web Components. This license terminates
9
- * automatically if a user no longer has an active Luzmo account.
10
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
- *
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- * SOFTWARE.
19
- * */
20
- "use strict";const d=require("lit/decorators.js"),g=require("lit"),u=new Set,y=()=>{const n=document.documentElement.dir==="rtl"?document.documentElement.dir:"ltr";u.forEach(e=>{e.setAttribute("dir",n)})},x=new MutationObserver(y);x.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const v=n=>n.startManagingContentDirection!==void 0||n.tagName==="LUZMO-THEME";function A(n){class e extends n{get isLTR(){return this.dir==="ltr"}hasVisibleFocusInTree(){const s=((a=document)=>{var f;let t=a.activeElement;for(;t!=null&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;const l=t?[t]:[];for(;t;){const r=t.assignedSlot||t.parentElement||((f=t.getRootNode())==null?void 0:f.host);r&&l.push(r),t=r}return l})(this.getRootNode())[0];if(!s)return!1;try{return s.matches(":focus-visible")||s.matches(".focus-visible")}catch{return s.matches(".focus-visible")}}connectedCallback(){if(super.connectedCallback(),!this.hasAttribute("dir")){let i=this.assignedSlot||this.parentNode;for(;i!==document.documentElement&&!v(i);)i=i.assignedSlot||i.parentNode||i.host;if(this.dir=i.dir==="rtl"?i.dir:this.dir||"ltr",i===document.documentElement)u.add(this);else{const{localName:s}=i;s.search("-")>-1&&!customElements.get(s)?customElements.whenDefined(s).then(()=>{i.startManagingContentDirection(this)}):i.startManagingContentDirection(this)}this._dirParent=i}super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._dirParent&&(this._dirParent===document.documentElement?u.delete(this):this._dirParent.stopManagingContentDirection(this),this.removeAttribute("dir"))}}return e}class p extends A(g.LitElement){}let c=!0;try{document.body.querySelector(":focus-visible")}catch{c=!1,Promise.resolve().then(()=>w)}const E=n=>{var e,o;const i=t=>{if(t.shadowRoot==null||Object.hasOwn(t.dataset,"jsFocusVisible"))return()=>{};if(self.applyFocusVisiblePolyfill)self.applyFocusVisiblePolyfill(t.shadowRoot),t.manageAutoFocus&&t.manageAutoFocus();else{const l=()=>{self.applyFocusVisiblePolyfill&&t.shadowRoot&&self.applyFocusVisiblePolyfill(t.shadowRoot),t.manageAutoFocus&&t.manageAutoFocus()};return self.addEventListener("focus-visible-polyfill-ready",l,{once:!0}),()=>{self.removeEventListener("focus-visible-polyfill-ready",l)}}return()=>{}},s=Symbol("endPolyfillCoordination");class a extends(o=n,e=s,o){constructor(){super(...arguments),this[e]=null}connectedCallback(){super.connectedCallback&&super.connectedCallback(),c||requestAnimationFrame(()=>{this[s]==null&&(this[s]=i(this))})}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),c||requestAnimationFrame(()=>{this[s]!=null&&(this[s](),this[s]=null)})}}return a},w=Object.freeze(Object.defineProperty({__proto__:null,FocusVisiblePolyfillMixin:E},Symbol.toStringTag,{value:"Module"}));var C=Object.defineProperty,F=Object.getOwnPropertyDescriptor,h=(n,e,o,i)=>{for(var s=i>1?void 0:i?F(e,o):e,a=n.length-1,t;a>=0;a--)(t=n[a])&&(s=(i?t(e,o,s):t(s))||s);return i&&s&&C(e,o,s),s};function m(){return new Promise(n=>requestAnimationFrame(()=>n()))}class b extends E(p){constructor(){super(...arguments),this.disabled=!1,this.autofocus=!1,this._tabIndex=0,this.manipulatingTabindex=!1,this.autofocusReady=Promise.resolve()}get tabIndex(){if(this.focusElement===this){const o=this.hasAttribute("tabindex")?Number(this.getAttribute("tabindex")):Number.NaN;return Number.isNaN(o)?-1:o}const e=Number.parseFloat(this.hasAttribute("tabindex")&&this.getAttribute("tabindex")||"0");return this.disabled||e<0?-1:this.focusElement?this._tabIndex:e}set tabIndex(e){var o;if(this.manipulatingTabindex){this.manipulatingTabindex=!1;return}if(this.focusElement===this){if(this.disabled)this._tabIndex=e;else if(e!==this._tabIndex){this._tabIndex=e;const i=""+e;this.manipulatingTabindex=!0,this.setAttribute("tabindex",i)}return}if(e===-1?this.addEventListener("pointerdown",this.onPointerdownManagementOfTabIndex):(this.manipulatingTabindex=!0,this.removeEventListener("pointerdown",this.onPointerdownManagementOfTabIndex)),e===-1||this.disabled){if(this.manipulatingTabindex=!0,this.setAttribute("tabindex","-1"),this.removeAttribute("focusable"),this.selfManageFocusElement)return;e===-1?(o=this.focusElement)==null||o.removeAttribute("tabindex"):(this._tabIndex=e,this.manageFocusElementTabindex(e));return}this.setAttribute("focusable",""),this.hasAttribute("tabindex")?this.removeAttribute("tabindex"):this.manipulatingTabindex=!1,this._tabIndex=e,this.manageFocusElementTabindex(e)}onPointerdownManagementOfTabIndex(){this.tabIndex===-1&&setTimeout(()=>{this.tabIndex=0,this.focus({preventScroll:!0}),this.tabIndex=-1})}async manageFocusElementTabindex(e){this.focusElement||await this.updateComplete,e===null?this.focusElement.removeAttribute("tabindex"):this.focusElement!==this&&(this.focusElement.tabIndex=e)}get focusElement(){throw new Error("Must implement focusElement getter!")}get selfManageFocusElement(){return!1}focus(e){this.disabled||!this.focusElement||(this.focusElement===this?Reflect.apply(HTMLElement.prototype.focus,this,[e]):this.focusElement.focus(e))}blur(){const e=this.focusElement||this;e===this?HTMLElement.prototype.blur.apply(this):e.blur()}click(){if(this.disabled)return;const e=this.focusElement||this;e===this?HTMLElement.prototype.click.apply(this):e.click()}manageAutoFocus(){this.autofocus&&(this.dispatchEvent(new KeyboardEvent("keydown",{code:"Tab"})),this.focusElement.focus())}firstUpdated(e){super.firstUpdated(e),(!this.hasAttribute("tabindex")||this.getAttribute("tabindex")!=="-1")&&this.setAttribute("focusable","")}update(e){e.has("disabled")&&this.handleDisabledChanged(this.disabled,e.get("disabled")),super.update(e)}updated(e){super.updated(e),e.has("disabled")&&this.disabled&&this.blur()}async handleDisabledChanged(e,o){const i=()=>this.focusElement!==this&&this.focusElement.disabled!==void 0;e?(this.manipulatingTabindex=!0,this.setAttribute("tabindex","-1"),await this.updateComplete,i()?this.focusElement.disabled=!0:this.setAttribute("aria-disabled","true")):o&&(this.manipulatingTabindex=!0,this.focusElement===this?this.setAttribute("tabindex",""+this._tabIndex):this.removeAttribute("tabindex"),await this.updateComplete,i()?this.focusElement.disabled=!1:this.removeAttribute("aria-disabled"))}async getUpdateComplete(){const e=await super.getUpdateComplete();return await this.autofocusReady,e}connectedCallback(){super.connectedCallback(),this.autofocus&&(this.autofocusReady=new Promise(async e=>{await m(),await m(),e()}),this.updateComplete.then(()=>{this.manageAutoFocus()}))}}h([d.property({type:Boolean,reflect:!0})],b.prototype,"disabled",2);h([d.property({type:Boolean})],b.prototype,"autofocus",2);h([d.property({type:Number})],b.prototype,"tabIndex",1);exports.LuzmoElement=p;
@@ -1,20 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2025 Luzmo
4
- * All rights reserved.
5
- * Luzmo web components (“Luzmo Web Components”)
6
- * must be used according to the Luzmo Terms of Service.
7
- * This license allows users with a current active Luzmo account
8
- * to use the Luzmo Web Components. This license terminates
9
- * automatically if a user no longer has an active Luzmo account.
10
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
- *
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- * SOFTWARE.
19
- * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.legend",control:{type:"switch",label:"Legend",default:!0,calculateValue:({options:e})=>{var l,a;return((l=e==null?void 0:e.display)==null?void 0:l.legend)!==!1||((a=e==null?void 0:e.display)==null?void 0:a.categoryLabels)===!0},toOptions:({options:e,value:l})=>({...e,display:{...e.display,legend:l,categoryLabels:!1}})}},{key:"display.categoryLabels",control:{type:"radio-button-group",label:"Display legend as",default:"labels",enum:["list","labels"],parseValue:e=>e?"labels":"list",toOptions:({options:e,value:l})=>({...e,display:{...e.display,categoryLabels:l==="labels",legend:l!=="labels"}})},visibleIf:({options:e})=>{var l,a;return((l=e==null?void 0:e.display)==null?void 0:l.legend)!==!1||((a=e==null?void 0:e.display)==null?void 0:a.categoryLabels)===!0}},{key:"display.values",control:{type:"switch",label:"Show values",default:!1}},{key:"funnel.absValue",control:{type:"switch",label:"Show absolute values",default:!0},visibleIf:({options:e})=>{var l;return((l=e==null?void 0:e.display)==null?void 0:l.values)===!0}},{key:"funnel.perc",control:{type:"picker",label:"Percentage",default:"hide",enum:["hide","ofMax","ofTot"]},visibleIf:({options:e})=>{var l;return((l=e==null?void 0:e.display)==null?void 0:l.values)===!0}}]},{key:"funnel",type:"group",open:!0,children:[{key:"mode",control:{type:"picker",label:"Mode",default:"dynamicWidth",enum:["dynamicWidth","dynamicHeight","regular"]}},{key:"funnel.rectangle",control:{type:"switch",label:"Rectangular",default:!1}},{key:"sort.by",control:{type:"picker",label:"Order",default:"measure",enum:["measure","category"]}},{key:"sort.direction",control:{type:"picker",label:"Direction",default:"desc",enum:["asc","desc"]}}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.position",control:{label:"Position",type:"position-picker",default:"right",enum:["topLeft","top","topRight","right","bottomRight","bottom","bottomLeft","left"]}}],visibleIf:({options:e})=>{var l,a;return((l=e==null?void 0:e.display)==null?void 0:l.legend)===!0&&((a=e.display)==null?void 0:a.categoryLabels)==="false"}}];exports.default=t;