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

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 (235) hide show
  1. package/components/ai-chat-message-assistant/index.cjs +1 -1
  2. package/components/ai-chat-message-assistant/index.js +1 -0
  3. package/components/ai-chat-messages-container/index.cjs +1 -1
  4. package/components/ai-chat-messages-container/index.js +2 -2
  5. package/components/ai-interaction-textarea/index.cjs +1 -1
  6. package/components/ai-interaction-textarea/index.js +2 -1
  7. package/components/area-chart-options.config-C7sMAHco.cjs +20 -0
  8. package/components/{area-chart-options.config-u8itidsi.js → area-chart-options.config-_J0sG4NF.js} +26 -14
  9. package/components/{bar-chart-options.config-DIirbAJ0.js → bar-chart-options.config-D1mb5TDl.js} +35 -21
  10. package/components/bar-chart-options.config-DcxEkOT5.cjs +20 -0
  11. package/components/box-plot-options.config-SrrbDEYW.cjs +20 -0
  12. package/components/{box-plot-options.config-BWROiguA.js → box-plot-options.config-xu_i6ms7.js} +88 -52
  13. package/components/{bubble-chart-options.config-4QD8VPhU.js → bubble-chart-options.config-BacgXkJ_.js} +18 -9
  14. package/components/bubble-chart-options.config-Ihn6eVQI.cjs +20 -0
  15. package/components/{bullet-chart-options.config-3bH7uekx.js → bullet-chart-options.config-CDPpX1yc.js} +1 -1
  16. package/components/{bullet-chart-options.config-tWb6Fio-.cjs → bullet-chart-options.config-DfS4Bwds.cjs} +1 -1
  17. package/components/calculate-data-item-icon-CEa82-5u.cjs +20 -0
  18. package/components/calculate-data-item-icon-DjlZwMdO.js +147 -0
  19. package/components/{choropleth-map-options.config-CMxx3ORp.js → choropleth-map-options.config-B_W9-rhe.js} +84 -63
  20. package/components/choropleth-map-options.config-ZW8yoZH2.cjs +20 -0
  21. package/components/{circular-gauge-options.config-DhIKn44k.js → circular-gauge-options.config-DAIjz4Rl.js} +36 -23
  22. package/components/circular-gauge-options.config-msZ4mfpN.cjs +20 -0
  23. package/components/color-B6LaL8qz.cjs +20 -0
  24. package/components/{color-B7m0j8lX.js → color-DuJ4-73S.js} +950 -941
  25. package/components/{color-range-utils-BSfqtB3A.js → color-range-utils-Bvo9sm5A.js} +32 -31
  26. package/components/color-range-utils-C5yXW7ZC.cjs +20 -0
  27. package/components/{column-chart-options.config-D5-yR7iq.js → column-chart-options.config-B5SjBVdy.js} +37 -27
  28. package/components/column-chart-options.config-BjDvA7i9.cjs +20 -0
  29. package/components/{conditional-number-options.config-DPYsdML5.js → conditional-number-options.config-BCEpSK9J.js} +40 -24
  30. package/components/conditional-number-options.config-DgzUo0xi.cjs +20 -0
  31. package/components/dataset-icon/index.cjs +1 -1
  32. package/components/dataset-icon/index.js +2 -1
  33. package/components/dataset-selector-list/index.cjs +1 -1
  34. package/components/dataset-selector-list/index.js +35 -32
  35. package/components/dataset-selector-row/index.cjs +9 -9
  36. package/components/dataset-selector-row/index.js +52 -50
  37. package/components/{date-comparison-filter-options.config-QaoWaFUn.cjs → date-comparison-filter-options.config-DAVncmi0.cjs} +1 -1
  38. package/components/{date-comparison-filter-options.config-CSwGyuBg.js → date-comparison-filter-options.config-JA_yYpJa.js} +6 -3
  39. package/components/{date-filter-options.config-n-zhWaYa.cjs → date-filter-options.config-CWPMtA18.cjs} +1 -1
  40. package/components/{date-filter-options.config-BTVyHRkp.js → date-filter-options.config-DBRxlTWy.js} +6 -3
  41. package/components/display-settings/index.cjs +1 -1
  42. package/components/display-settings/index.js +1 -1
  43. package/components/display-settings-binning/index.cjs +5 -5
  44. package/components/display-settings-binning/index.js +30 -29
  45. package/components/display-settings-datetime/index.cjs +29 -29
  46. package/components/display-settings-datetime/index.js +120 -112
  47. package/components/display-settings-grand-totals/index.cjs +4 -4
  48. package/components/display-settings-grand-totals/index.js +24 -23
  49. package/components/display-settings-numeric/index.cjs +48 -48
  50. package/components/display-settings-numeric/index.js +206 -190
  51. package/components/display-settings-period-over-period/index.cjs +16 -16
  52. package/components/display-settings-period-over-period/index.js +97 -91
  53. package/components/{donut-chart-options.config-3ZqX8Cbb.js → donut-chart-options.config-BulUEiaH.js} +37 -21
  54. package/components/donut-chart-options.config-tNpqBZfR.cjs +20 -0
  55. package/components/draggable-data-item/index.cjs +5 -5
  56. package/components/draggable-data-item/index.js +46 -45
  57. package/components/draggable-data-item-level/index.cjs +11 -11
  58. package/components/draggable-data-item-level/index.js +73 -70
  59. package/components/{dropdown-filter-options.config-CGJTtgAX.js → dropdown-filter-options.config-D9dvPypF.js} +10 -7
  60. package/components/{dropdown-filter-options.config-DJvfCTk7.cjs → dropdown-filter-options.config-DS-MORmq.cjs} +1 -1
  61. package/components/droppable-slot/index.cjs +16 -16
  62. package/components/droppable-slot/index.js +223 -208
  63. package/components/edit-item/index.cjs +9 -9
  64. package/components/edit-item/index.js +119 -116
  65. package/components/edit-option/index.cjs +1 -1
  66. package/components/edit-option/index.js +1 -1
  67. package/components/edit-option-action-button-group/index.cjs +8 -8
  68. package/components/edit-option-action-button-group/index.js +53 -52
  69. package/components/{edit-option-base-Bh29-Cak.js → edit-option-base-DIc7iC-b.js} +1 -1
  70. package/components/{edit-option-base-tFr8Qg2B.cjs → edit-option-base-VhTih9T1.cjs} +1 -1
  71. package/components/edit-option-color-palette-picker/index.cjs +1 -1
  72. package/components/edit-option-color-palette-picker/index.js +1 -1
  73. package/components/edit-option-color-picker/index.cjs +1 -1
  74. package/components/edit-option-color-picker/index.js +1 -1
  75. package/components/edit-option-color-range/index.cjs +19 -19
  76. package/components/edit-option-color-range/index.js +117 -106
  77. package/components/edit-option-multi-language-field/index.cjs +3 -3
  78. package/components/edit-option-multi-language-field/index.js +27 -26
  79. package/components/edit-option-number-field/index.cjs +1 -1
  80. package/components/edit-option-number-field/index.js +1 -1
  81. package/components/edit-option-picker/index.cjs +5 -5
  82. package/components/edit-option-picker/index.js +7 -7
  83. package/components/edit-option-position-picker/index.cjs +4 -4
  84. package/components/edit-option-position-picker/index.js +25 -21
  85. package/components/edit-option-positions-number-field/index.cjs +9 -9
  86. package/components/edit-option-positions-number-field/index.js +81 -76
  87. package/components/edit-option-radio-button-group/index.cjs +6 -6
  88. package/components/edit-option-radio-button-group/index.js +22 -21
  89. package/components/edit-option-slider/index.cjs +1 -1
  90. package/components/edit-option-slider/index.js +1 -1
  91. package/components/edit-option-switch/index.cjs +1 -1
  92. package/components/edit-option-switch/index.js +1 -1
  93. package/components/edit-option-text-field/index.cjs +2 -2
  94. package/components/edit-option-text-field/index.js +23 -22
  95. package/components/en-BKBhKBXY.cjs +20 -0
  96. package/components/en-BOTjhwEc.js +1488 -0
  97. package/components/{en-GB-ialeqj_z.js → en-GB-CEHEs8F2.js} +1 -1
  98. package/components/{en-GB-TqvgIw9B.cjs → en-GB-DG6uS3sM.cjs} +1 -1
  99. package/components/{evolution-number-options.config-Bc9eKYnn.cjs → evolution-number-options.config-BgIZY4gQ.cjs} +1 -1
  100. package/components/{evolution-number-options.config-BIPO_4n3.js → evolution-number-options.config-DzkfeoIN.js} +14 -11
  101. package/components/{extrapolate-color-C0n1UDs-.cjs → extrapolate-color-0j_AeYkz.cjs} +1 -1
  102. package/components/{extrapolate-color-v1PimdQr.js → extrapolate-color-CC9CURf6.js} +1 -1
  103. package/components/filter-data-item-picker/index.cjs +7 -7
  104. package/components/filter-data-item-picker/index.js +86 -85
  105. package/components/filter-expression-picker/index.cjs +1 -1
  106. package/components/filter-expression-picker/index.js +1 -1
  107. package/components/filter-item/index.cjs +6 -6
  108. package/components/filter-item/index.js +119 -109
  109. package/components/filter-value-picker/index.cjs +2 -2
  110. package/components/filter-value-picker/index.js +36 -34
  111. package/components/filter-value-picker-datetime/index.cjs +8 -8
  112. package/components/filter-value-picker-datetime/index.js +71 -56
  113. package/components/filter-value-picker-hierarchy/index.cjs +12 -12
  114. package/components/filter-value-picker-hierarchy/index.js +124 -113
  115. package/components/filter-value-picker-numeric/index.cjs +8 -8
  116. package/components/filter-value-picker-numeric/index.js +110 -101
  117. package/components/focusable-B3E_hQmm.cjs +20 -0
  118. package/components/{focusable-BS2pbY7w.js → focusable-DCIFkpiW.js} +26 -24
  119. package/components/{funnel-chart-options.config-CrJy2U7_.js → funnel-chart-options.config-C_VjTOvD.js} +20 -5
  120. package/components/funnel-chart-options.config-D7H7gFcx.cjs +20 -0
  121. package/components/get-css-variable-DLiZYZEi.cjs +24 -0
  122. package/components/{get-css-variable-Bb7TxJdX.js → get-css-variable-YlLiVgo8.js} +37 -37
  123. package/components/grid/index.cjs +49 -43
  124. package/components/grid/index.js +1878 -2610
  125. package/components/{heat-map-options.config-CmL87j1j.js → heat-map-options.config-BnLWe8jS.js} +41 -35
  126. package/components/heat-map-options.config-DVH-Bb5-.cjs +20 -0
  127. package/components/heat-table-options.config-B12JEYnp.cjs +20 -0
  128. package/components/{heat-table-options.config-BrCYAgYD.js → heat-table-options.config-CUsDdgUr.js} +88 -60
  129. package/components/helpers-DXQwEH1P.cjs +20 -0
  130. package/components/helpers-v1bPALRP.js +91 -0
  131. package/components/hexbin-map-options.config-DZERRhM8.cjs +20 -0
  132. package/components/{hexbin-map-options.config-BguV1w8q.js → hexbin-map-options.config-F-7uCqxb.js} +38 -20
  133. package/components/{index-BNAmjOkm.cjs → index-BPNsFiyq.cjs} +4 -4
  134. package/components/index-CDi4fe3N.js +1716 -0
  135. package/components/index-CQ9ck-BO.cjs +249 -0
  136. package/components/index-CXn67vdn.cjs +121 -0
  137. package/components/{index-haa7WNrl.js → index-CdIUfo-L.js} +481 -453
  138. package/components/index-Cz9vSXy6.cjs +20 -0
  139. package/components/{index-DdyZ2g5L.js → index-D0GBF6tg.js} +104 -94
  140. package/components/{index-CqKpf0B8.js → index-Do7O9azB.js} +123 -112
  141. package/components/index.cjs +1 -1
  142. package/components/index.js +5 -5
  143. package/components/item-options-configs.cjs +1 -1
  144. package/components/item-options-configs.js +37 -37
  145. package/components/{line-chart-options.config-BhirTGqD.js → line-chart-options.config-DB3IsXXr.js} +28 -13
  146. package/components/line-chart-options.config-DSugoe0t.cjs +20 -0
  147. package/components/{localize-CcDpq940.js → localize-BX7q0S0M.js} +10 -10
  148. package/components/{localize-C4zNlrwK.cjs → localize-r7ALOUy_.cjs} +1 -1
  149. package/components/{marker-map-options.config-Bx17jmiq.js → marker-map-options.config-DPJ955tt.js} +1 -1
  150. package/components/{marker-map-options.config-CvhCylSC.cjs → marker-map-options.config-_FYZzRwA.cjs} +1 -1
  151. package/components/pivot-table-options.config-BiJXKSFR.cjs +20 -0
  152. package/components/{pivot-table-options.config-CFc7y0IT.js → pivot-table-options.config-DNK_AIG7.js} +24 -15
  153. package/components/pyramid-chart-options.config-C4zbFS26.cjs +20 -0
  154. package/components/{pyramid-chart-options.config-2Waxb11l.js → pyramid-chart-options.config-CcVMatYx.js} +43 -29
  155. package/components/{radar-chart-options.config-CPN5fOl8.js → radar-chart-options.config-CUZn_3Fd.js} +23 -11
  156. package/components/radar-chart-options.config-EqQu6PTh.cjs +20 -0
  157. package/components/{regular-table-options.config-CFKCJQK1.js → regular-table-options.config-BoLZsBry.js} +23 -17
  158. package/components/{regular-table-options.config-YRuoijIk.cjs → regular-table-options.config-DTx3RTnS.cjs} +1 -1
  159. package/components/{route-map-options.config-CyolTJfK.js → route-map-options.config-CN86T7c0.js} +109 -87
  160. package/components/route-map-options.config-D7NJePTu.cjs +20 -0
  161. package/components/{sankey-diagram-options.config-D7OSvSqm.cjs → sankey-diagram-options.config-RFB83YLZ.cjs} +1 -1
  162. package/components/{sankey-diagram-options.config-Ldjk84ro.js → sankey-diagram-options.config-tVLKy_Zn.js} +10 -7
  163. package/components/scatter-plot-options.config-CFfGJXsV.cjs +20 -0
  164. package/components/{scatter-plot-options.config-CfxEfkQ1.js → scatter-plot-options.config-Corlzno1.js} +86 -56
  165. package/components/{search-filter-options.config-Oqco9BKj.cjs → search-filter-options.config-BCaDlYqZ.cjs} +1 -1
  166. package/components/{search-filter-options.config-C0syQmP4.js → search-filter-options.config-BE3JhR-F.js} +6 -3
  167. package/components/{set-locale-hKTMz37h.js → set-locale-Dp3N_gXN.js} +8 -1
  168. package/components/{slicer-filter-options.config-DmOe3440.js → slicer-filter-options.config-3JZZcw5C.js} +18 -9
  169. package/components/slicer-filter-options.config-DNI-XevE.cjs +20 -0
  170. package/components/{slider-filter-options.config-B1M8RcDs.js → slider-filter-options.config-DH4SS8wH.js} +1 -1
  171. package/components/{slider-filter-options.config-k45I-t6G.cjs → slider-filter-options.config-_8Z2zKmU.cjs} +1 -1
  172. package/components/slot-contents-picker/index.cjs +33 -33
  173. package/components/slot-contents-picker/index.js +205 -194
  174. package/components/slot-menu/index.cjs +12 -12
  175. package/components/slot-menu/index.js +184 -171
  176. package/components/slot-menu-list/index.cjs +3 -3
  177. package/components/slot-menu-list/index.js +103 -97
  178. package/components/speedometer-chart-options.config-BX9LTQBH.cjs +20 -0
  179. package/components/{speedometer-chart-options.config-CzOmuEF8.js → speedometer-chart-options.config-SL581yOa.js} +53 -31
  180. package/components/{spike-map-options.config-Cbt1YUw6.js → spike-map-options.config-C5KewecZ.js} +122 -91
  181. package/components/spike-map-options.config-DoBFXPmN.cjs +20 -0
  182. package/components/{sunburst-chart-options.config-Yrxc2i57.cjs → sunburst-chart-options.config-AbNjWS6t.cjs} +1 -1
  183. package/components/{sunburst-chart-options.config-_dyLQxPJ.js → sunburst-chart-options.config-CNauGQJv.js} +20 -9
  184. package/components/{symbol-map-options.config-BORL1NSU.js → symbol-map-options.config-DdDA4aa7.js} +20 -11
  185. package/components/symbol-map-options.config-m-lwLTtu.cjs +20 -0
  186. package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +20 -0
  187. package/components/{treemap-chart-options.config-B9i9qIm_.js → treemap-chart-options.config-D5AJaF_u.js} +37 -20
  188. package/components/utils.cjs +1 -1
  189. package/components/utils.js +97 -94
  190. package/components/{video-options.config-B0asgYt8.cjs → video-options.config-CGsDTwHc.cjs} +1 -1
  191. package/components/{video-options.config-UX-9MDfS.js → video-options.config-Dk36zJ1B.js} +10 -7
  192. package/components/viz-item-menu/index.cjs +2 -2
  193. package/components/viz-item-menu/index.js +5 -4
  194. package/components/{wordcloud-chart-options.config-BKtJT8Va.cjs → wordcloud-chart-options.config-vGfCW8kE.cjs} +1 -1
  195. package/components/{wordcloud-chart-options.config-BoB_KuhA.js → wordcloud-chart-options.config-w2NUIWVA.js} +7 -4
  196. package/custom-elements.json +0 -20
  197. package/package.json +1 -1
  198. package/components/area-chart-options.config-Bl8bhhOo.cjs +0 -20
  199. package/components/bar-chart-options.config-CePAqM83.cjs +0 -20
  200. package/components/box-plot-options.config-BVNrV2eD.cjs +0 -20
  201. package/components/bubble-chart-options.config-BDgOe3GQ.cjs +0 -20
  202. package/components/calculate-data-item-icon-DMDhKq_m.js +0 -147
  203. package/components/calculate-data-item-icon-DtVGbet3.cjs +0 -20
  204. package/components/choropleth-map-options.config-CWJACFd0.cjs +0 -20
  205. package/components/circular-gauge-options.config-BMxgq3zH.cjs +0 -20
  206. package/components/color-Czp4Im5q.cjs +0 -20
  207. package/components/color-range-utils-DYYR-iwx.cjs +0 -20
  208. package/components/column-chart-options.config-BV9R3ssH.cjs +0 -20
  209. package/components/conditional-number-options.config-Co099Qfm.cjs +0 -20
  210. package/components/donut-chart-options.config-BQyPgnC9.cjs +0 -20
  211. package/components/en-D3ihEGXg.js +0 -1483
  212. package/components/en-DZcn_iz_.cjs +0 -20
  213. package/components/focusable-QLh-LlNt.cjs +0 -20
  214. package/components/funnel-chart-options.config-DrP4AFgk.cjs +0 -20
  215. package/components/get-css-variable-Pzks_rOx.cjs +0 -24
  216. package/components/heat-map-options.config-CIHnPdYE.cjs +0 -20
  217. package/components/heat-table-options.config-DTlZRc_i.cjs +0 -20
  218. package/components/helpers-9I0oLoUB.cjs +0 -20
  219. package/components/helpers-bR8Ibjqh.js +0 -79
  220. package/components/hexbin-map-options.config-CKnn3VAB.cjs +0 -20
  221. package/components/index-BekTY3Em.cjs +0 -121
  222. package/components/index-CFL6gmIu.cjs +0 -20
  223. package/components/index-DNPULp4A.js +0 -1755
  224. package/components/index-DvkzMbLt.cjs +0 -249
  225. package/components/line-chart-options.config-Cqwou5u6.cjs +0 -20
  226. package/components/pivot-table-options.config-uZDAertf.cjs +0 -20
  227. package/components/pyramid-chart-options.config-DoGfEvzU.cjs +0 -20
  228. package/components/radar-chart-options.config-CtNUMN1l.cjs +0 -20
  229. package/components/route-map-options.config-CVTk5RVL.cjs +0 -20
  230. package/components/scatter-plot-options.config-5gN7pMTm.cjs +0 -20
  231. package/components/slicer-filter-options.config-CrusP6a0.cjs +0 -20
  232. package/components/speedometer-chart-options.config-B4ceg_qI.cjs +0 -20
  233. package/components/spike-map-options.config-BkkDqb4g.cjs +0 -20
  234. package/components/symbol-map-options.config-NpBKm64d.cjs +0 -20
  235. package/components/treemap-chart-options.config-x4J54WSw.cjs +0 -20
@@ -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 n=require("./helpers-9I0oLoUB.cjs"),r=({slots:e})=>{if(Array.isArray(e)&&e?.length>0)return e?.find(t=>t?.name==="legend")?.content?.length>0||e?.find(t=>t?.name==="measure")?.content?.length>1},o=({slots:e})=>{if(Array.isArray(e)&&e?.length>0)return e?.find(t=>t?.name==="legend")?.content?.length===0&&e?.find(t=>t?.name==="measure")?.content?.length<=1},i=[{key:"general",type:"group",open:!0,children:[{key:"mode",control:{type:"picker",default:"grouped",enum:["grouped","stacked","100"]},visibleIf:r},{type:"divider",visibleIf:r},{key:"display.title",control:{type:"switch",default:!0}},{key:"display.legend",control:{type:"switch",default:!0},visibleIf:r},{key:"display.modeOption",control:{type:"switch",default:!1},visibleIf:r},{key:"bars.label",control:{type:"picker",default:"none",enum:["none","absolute","percentage","percentageLegend","percentageCategory","percentageMax"]}},{key:"categories.colored",control:{type:"switch",default:!1},visibleIf:o},{key:"bars.roundedCorners",control:{type:"slider",default:({theme:e})=>e?.itemSpecific?.rounding,min:0,max:20,step:1,extraLabel:({options:e,theme:t})=>{if(typeof t?.itemSpecific?.rounding=="number")return typeof e?.bars?.roundedCorners!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:t})=>!(typeof t?.itemSpecific?.rounding!="number"||typeof e?.bars?.roundedCorners!="number"),extraLabelClickAction:({options:e})=>{const t={...e};return delete t?.bars?.roundedCorners,{value:null,options:t}}}},{key:"color",control:{type:"color-picker",default:({theme:e})=>n.getThemeMainColor(e),extraLabel:({options:e,theme:t})=>n.getThemeMainColorResetLabel(e,t,"color"),extraLabelHasClickAction:({options:e,theme:t})=>n.getThemeMainColorExtraLabelHasClickAction(e,t,"color"),extraLabelClickAction:({options:e,theme:t})=>n.getThemeMainColorExtraLabelClickAction(e,t,"color")},visibleIf:o}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.position",control:{label:"Position",type:"position-picker",default:"topRight",enum:["topLeft","top","topRight","right","bottomRight","bottom","bottomLeft","left"]}}],visibleIf:r}];exports.default=i;
@@ -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 a=require("./helpers-9I0oLoUB.cjs"),o=()=>[{color:"#b30000",value:-1/0,isNegativeInfinityRange:!0},{color:"#ff0000",value:0},{color:"#ffa500",value:33.34},{color:"#ffff00",value:66.67},{color:"#008000",value:100}],i=[{key:"general",type:"group",open:!0,children:[{key:"display.label",control:{type:"switch",label:"Label",default:!0}},{key:"mode",control:{type:"picker",label:"Display",default:"normal",enum:["normal","percentage","difference"]}},{key:"manualValues.target",control:{type:"number-field",label:"Manual target",default:100,min:0,step:1},visibleIf:({slots:e})=>!Array.isArray(e)||!(e?.find(l=>l?.name==="target")?.content?.length>0)},{key:"manualValues.conditionalSwitch",control:{type:"switch",label:"Conditional color",default:!1,negativeInfinityValue:!0,calculateValue:({options:e})=>e?.manualValues?.conditional?.length>0,toOptions:({options:e,value:l})=>{if(!l){const t={...e};return delete t?.manualValues?.conditional,t}return{...e,manualValues:{...e?.manualValues,conditional:e?.manualValues?.conditional??o()}}}}},{key:"manualValues.conditional",control:{type:"color-range",editRangeSize:!0,minimumRangeSize:2,percentage:!0,negativeInfinityValue:!0,noAlphaChannel:!0,label:"Color ranges",hideLabel:!0,default:()=>o(),parseValue:e=>e?.map(l=>({color:l?.color,value:l?.value??l?.val})),toValue:e=>{const l=e?.map(n=>({color:n?.color,val:n?.value}));return l[0].isNegativeInfinityRange=!0,l}},visibleIf:({options:e})=>e?.manualValues?.conditional?.length>0},{key:"manualValues.asBackgroundColor",control:{type:"switch",label:"Use as background color",default:!0},visibleIf:({options:e})=>e?.manualValues?.conditional?.length>0},{key:"color",control:{type:"color-picker",label:"Text color",default:({theme:e})=>a.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>a.getThemeMainColorResetLabel(e,l,"color"),extraLabelHasClickAction:({options:e,theme:l})=>a.getThemeMainColorExtraLabelHasClickAction(e,l,"color"),extraLabelClickAction:({options:e,theme:l})=>a.getThemeMainColorExtraLabelClickAction(e,l,"color")},visibleIf:({options:e})=>e?.manualValues?.conditional!==!0}]},{key:"alignment",type:"group",open:!0,children:[{key:"alignment.vertical",control:{type:"action-button-group",label:"Vertical",default:["middle"],values:{top:{iconName:"alignTop",label:"align top"},middle:{iconName:"alignMiddle",label:"align middle"},bottom:{iconName:"alignBottom",label:"align bottom"}},selects:"single"}},{key:"alignment.horizontal",control:{type:"action-button-group",label:"Horizontal",default:["center"],values:{left:{iconName:"alignLeft",label:"align left"},center:{iconName:"alignCenter",label:"align center"},right:{iconName:"alignRight",label:"align right"}},selects:"single"}}]}];exports.default=i;
@@ -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 l=[{key:"general",type:"group",open:!0,children:[{key:"mode",control:{type:"picker",default:"donut",enum:["donut","pie"]}},{key:"slices.half",control:{type:"picker",default:"full",enum:["full","half"],parseValue:e=>e?"half":"full",toValue:e=>e==="half"}},{type:"divider"},{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.legend",control:{type:"switch",label:"Legend",default:!0,calculateValue:({options:e})=>e?.display?.legend!==!1||e?.display?.categoryLabels===!0,toOptions:({options:e,value:t})=>({...e,display:{...e.display,legend:t,categoryLabels:!1}})}},{key:"display.categoryLabels",control:{type:"radio-button-group",enum:["list","labels"],parseValue:e=>e?"labels":"list",toOptions:({options:e,value:t})=>({...e,display:{...e.display,categoryLabels:t==="labels",legend:t!=="labels"}})},visibleIf:({options:e})=>e?.display?.legend!==!1||e?.display?.categoryLabels===!0}]},{key:"slices",type:"group",open:!0,children:[{key:"sort.by",control:{type:"picker",default:"measure",enum:["measure","category"]}},{key:"display.values",control:{type:"picker",default:"none",enum:["none","absolute","percentage"]}},{key:"slices.width",control:{type:"slider",default:.35,min:.05,max:.9,step:.01}},{key:"slices.maxNumber",control:{type:"number-field",default:12,min:0,max:50,step:1}},{key:"slices.minPercentage",control:{type:"number-field",default:3,min:0,max:100,step:1}},{key:"slices.roundedCorners",control:{type:"slider",default:8,min:0,max:24,step:1,extraLabel:({options:e,theme:t})=>{if(typeof t?.itemSpecific?.rounding=="number")return typeof e?.slices?.roundedCorners!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:t})=>!(typeof t?.itemSpecific?.rounding!="number"||typeof e?.slices?.roundedCorners!="number"),extraLabelClickAction:({options:e})=>{const t={...e};return t?.slices?.roundedCorners!==void 0&&delete t.slices.roundedCorners,{value:null,options:t}}}},{key:"slices.padding",control:{type:"slider",default:5,min:0,max:20,step:1,extraLabel:({options:e,theme:t})=>{if(typeof t?.itemSpecific?.padding=="number")return typeof e?.slices?.padding!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:t})=>!(typeof t?.itemSpecific?.padding!="number"||typeof e?.slices?.padding!="number"),extraLabelClickAction:({options:e})=>{const t={...e};return t?.slices?.padding!==void 0&&delete t.slices.padding,{value:null,options:t}}}}]}];exports.default=l;