@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,11 @@
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 a, a as t, b as r, c as o, d as n, e as i, f as c, h as s } from "./helpers-bR8Ibjqh.js";
21
- const b = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((l) => l?.name === "measure")?.content?.length > 1 : !1, u = [
20
+ import { g as t, a as n, b as o, c, d as i, e as b, f as d, h as u } from "./helpers-v1bPALRP.js";
21
+ const g = ({ slots: e }) => {
22
+ var l, a;
23
+ return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? ((a = (l = e == null ? void 0 : e.find((r) => (r == null ? void 0 : r.name) === "measure")) == null ? void 0 : l.content) == null ? void 0 : a.length) > 1 : !1;
24
+ }, y = [
22
25
  {
23
26
  key: "general",
24
27
  type: "group",
@@ -56,7 +59,7 @@ const b = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((l) => l
56
59
  default: "indent",
57
60
  enum: ["indent", "normal"]
58
61
  },
59
- visibleIf: ({ options: e }) => e?.isExpandable !== !1
62
+ visibleIf: ({ options: e }) => (e == null ? void 0 : e.isExpandable) !== !1
60
63
  }
61
64
  ]
62
65
  },
@@ -70,14 +73,14 @@ const b = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((l) => l
70
73
  control: {
71
74
  type: "color-picker",
72
75
  label: "Background",
73
- default: ({ theme: e }) => o(e),
74
- extraLabel: ({ options: e, theme: l }) => r(e, l, "headers.background"),
75
- extraLabelHasClickAction: ({ options: e, theme: l }) => t(
76
+ default: ({ theme: e }) => c(e),
77
+ extraLabel: ({ options: e, theme: l }) => o(e, l, "headers.background"),
78
+ extraLabelHasClickAction: ({ options: e, theme: l }) => n(
76
79
  e,
77
80
  l,
78
81
  "headers.background"
79
82
  ),
80
- extraLabelClickAction: ({ options: e, theme: l }) => a(
83
+ extraLabelClickAction: ({ options: e, theme: l }) => t(
81
84
  e,
82
85
  l,
83
86
  "headers.background"
@@ -136,7 +139,7 @@ const b = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((l) => l
136
139
  default: "columns",
137
140
  enum: ["rows", "columns"]
138
141
  },
139
- visibleIf: b
142
+ visibleIf: g
140
143
  }
141
144
  ]
142
145
  },
@@ -166,20 +169,23 @@ const b = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((l) => l
166
169
  control: {
167
170
  type: "color-picker",
168
171
  label: "Color",
169
- default: ({ theme: e }) => s(e),
170
- extraLabel: ({ options: e, theme: l }) => c(e, l, "tableBorders.color"),
171
- extraLabelHasClickAction: ({ options: e, theme: l }) => i(
172
+ default: ({ theme: e }) => u(e),
173
+ extraLabel: ({ options: e, theme: l }) => d(e, l, "tableBorders.color"),
174
+ extraLabelHasClickAction: ({ options: e, theme: l }) => b(
172
175
  e,
173
176
  l,
174
177
  "tableBorders.color"
175
178
  ),
176
- extraLabelClickAction: ({ options: e, theme: l }) => n(
179
+ extraLabelClickAction: ({ options: e, theme: l }) => i(
177
180
  e,
178
181
  l,
179
182
  "tableBorders.color"
180
183
  )
181
184
  },
182
- visibleIf: ({ options: e }) => e?.tableBorders?.type && e?.tableBorders?.type !== "none"
185
+ visibleIf: ({ options: e }) => {
186
+ var l, a;
187
+ return ((l = e == null ? void 0 : e.tableBorders) == null ? void 0 : l.type) && ((a = e == null ? void 0 : e.tableBorders) == null ? void 0 : a.type) !== "none";
188
+ }
183
189
  },
184
190
  {
185
191
  key: "tableBorders.width",
@@ -192,7 +198,10 @@ const b = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((l) => l
192
198
  step: 1,
193
199
  unit: "px"
194
200
  },
195
- visibleIf: ({ options: e }) => e?.tableBorders?.type && e?.tableBorders?.type !== "none"
201
+ visibleIf: ({ options: e }) => {
202
+ var l, a;
203
+ return ((l = e == null ? void 0 : e.tableBorders) == null ? void 0 : l.type) && ((a = e == null ? void 0 : e.tableBorders) == null ? void 0 : a.type) !== "none";
204
+ }
196
205
  }
197
206
  ]
198
207
  },
@@ -219,5 +228,5 @@ const b = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? e?.find((l) => l
219
228
  }
220
229
  ];
221
230
  export {
222
- u as default
231
+ y as default
223
232
  };
@@ -0,0 +1,20 @@
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=require("./helpers-DXQwEH1P.cjs"),i=[{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}},{key:"roundedCorners",control:{type:"slider",label:"Rounded corners",default:({theme:e})=>{var r;return(r=e==null?void 0:e.itemSpecific)==null?void 0:r.rounding},min:0,max:20,step:1,extraLabel:({options:e,theme:r})=>{var t;if(typeof((t=r==null?void 0:r.itemSpecific)==null?void 0:t.rounding)=="number")return typeof(e==null?void 0:e.roundedCorners)!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:r})=>{var t;return!(typeof((t=r==null?void 0:r.itemSpecific)==null?void 0:t.rounding)!="number"||typeof(e==null?void 0:e.roundedCorners)!="number")},extraLabelClickAction:({options:e})=>{const r={...e};return delete r.roundedCorners,{value:null,options:r}}}},{key:"internalPadding",control:{type:"slider",label:"Internal padding",default:({theme:e})=>{var r;return(r=e==null?void 0:e.itemSpecific)==null?void 0:r.padding},min:0,max:20,step:1,extraLabel:({options:e,theme:r})=>{var t;if(typeof((t=r==null?void 0:r.itemSpecific)==null?void 0:t.padding)=="number")return typeof(e==null?void 0:e.internalPadding)!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:r})=>{var t;return!(typeof((t=r==null?void 0:r.itemSpecific)==null?void 0:t.padding)!="number"||typeof(e==null?void 0:e.internalPadding)!="number")},extraLabelClickAction:({options:e})=>{const r={...e};return delete r.internalPadding,{value:null,options:r}}}}]},{key:"order",type:"group",label:"Order & Limit",open:!0,children:[{key:"sort.by",control:{type:"picker",label:"Ordering",default:"category",enum:["category","leftbar","rightbar","measure"]}},{key:"sort.direction",control:{type:"picker",default:"desc",enum:["asc","desc"]}}]},{key:"axes",type:"group",open:!0,children:[{key:"axis.x.color",control:{type:"color-picker",label:"Measure axis color",default:({theme:e})=>l.getThemeAxisColor(e),extraLabel:({options:e,theme:r})=>l.getThemeAxisColorResetLabel(e,r,"axis.x.color"),extraLabelHasClickAction:({options:e,theme:r})=>l.getThemeAxisColorExtraLabelHasClickAction(e,r,"axis.x.color"),extraLabelClickAction:({options:e,theme:r})=>l.getThemeAxisColorExtraLabelClickAction(e,r,"axis.x.color")}},{key:"measureAxisTicks",type:"group",label:"Measure axis ticks",collapsible:!0,open:!0,children:[{key:"axis.x.ticksDensity",control:{type:"picker",label:"Density",default:"normal",enum:["compact","normal","sparse"]}},{key:"axis.x.ticksMode",control:{type:"picker",label:"Display mode",default:"ticks",enum:["ticks","hide"]}}]},{key:"axis.y.color",control:{type:"color-picker",label:"Category axis color",default:({theme:e})=>l.getThemeAxisColor(e),extraLabel:({options:e,theme:r})=>l.getThemeAxisColorResetLabel(e,r,"axis.y.color"),extraLabelHasClickAction:({options:e,theme:r})=>l.getThemeAxisColorExtraLabelHasClickAction(e,r,"axis.y.color"),extraLabelClickAction:({options:e,theme:r})=>l.getThemeAxisColorExtraLabelClickAction(e,r,"axis.y.color")}}]},{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"]}}]}];exports.default=i;
@@ -17,8 +17,8 @@
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 { i as r, j as o, k as i, l } from "./helpers-bR8Ibjqh.js";
21
- const n = [
20
+ import { i as l, j as a, k as i, l as o } from "./helpers-v1bPALRP.js";
21
+ const c = [
22
22
  {
23
23
  key: "general",
24
24
  type: "group",
@@ -90,18 +90,25 @@ const n = [
90
90
  control: {
91
91
  type: "slider",
92
92
  label: "Rounded corners",
93
- default: ({ theme: e }) => e?.itemSpecific?.rounding,
93
+ default: ({ theme: e }) => {
94
+ var r;
95
+ return (r = e == null ? void 0 : e.itemSpecific) == null ? void 0 : r.rounding;
96
+ },
94
97
  min: 0,
95
98
  max: 20,
96
99
  step: 1,
97
- extraLabel: ({ options: e, theme: t }) => {
98
- if (typeof t?.itemSpecific?.rounding == "number")
99
- return typeof e?.roundedCorners != "number" ? "auto" : "reset";
100
+ extraLabel: ({ options: e, theme: r }) => {
101
+ var t;
102
+ if (typeof ((t = r == null ? void 0 : r.itemSpecific) == null ? void 0 : t.rounding) == "number")
103
+ return typeof (e == null ? void 0 : e.roundedCorners) != "number" ? "auto" : "reset";
104
+ },
105
+ extraLabelHasClickAction: ({ options: e, theme: r }) => {
106
+ var t;
107
+ return !(typeof ((t = r == null ? void 0 : r.itemSpecific) == null ? void 0 : t.rounding) != "number" || typeof (e == null ? void 0 : e.roundedCorners) != "number");
100
108
  },
101
- extraLabelHasClickAction: ({ options: e, theme: t }) => !(typeof t?.itemSpecific?.rounding != "number" || typeof e?.roundedCorners != "number"),
102
109
  extraLabelClickAction: ({ options: e }) => {
103
- const t = { ...e };
104
- return delete t.roundedCorners, { value: null, options: t };
110
+ const r = { ...e };
111
+ return delete r.roundedCorners, { value: null, options: r };
105
112
  }
106
113
  }
107
114
  },
@@ -110,18 +117,25 @@ const n = [
110
117
  control: {
111
118
  type: "slider",
112
119
  label: "Internal padding",
113
- default: ({ theme: e }) => e?.itemSpecific?.padding,
120
+ default: ({ theme: e }) => {
121
+ var r;
122
+ return (r = e == null ? void 0 : e.itemSpecific) == null ? void 0 : r.padding;
123
+ },
114
124
  min: 0,
115
125
  max: 20,
116
126
  step: 1,
117
- extraLabel: ({ options: e, theme: t }) => {
118
- if (typeof t?.itemSpecific?.padding == "number")
119
- return typeof e?.internalPadding != "number" ? "auto" : "reset";
127
+ extraLabel: ({ options: e, theme: r }) => {
128
+ var t;
129
+ if (typeof ((t = r == null ? void 0 : r.itemSpecific) == null ? void 0 : t.padding) == "number")
130
+ return typeof (e == null ? void 0 : e.internalPadding) != "number" ? "auto" : "reset";
131
+ },
132
+ extraLabelHasClickAction: ({ options: e, theme: r }) => {
133
+ var t;
134
+ return !(typeof ((t = r == null ? void 0 : r.itemSpecific) == null ? void 0 : t.padding) != "number" || typeof (e == null ? void 0 : e.internalPadding) != "number");
120
135
  },
121
- extraLabelHasClickAction: ({ options: e, theme: t }) => !(typeof t?.itemSpecific?.padding != "number" || typeof e?.internalPadding != "number"),
122
136
  extraLabelClickAction: ({ options: e }) => {
123
- const t = { ...e };
124
- return delete t.internalPadding, { value: null, options: t };
137
+ const r = { ...e };
138
+ return delete r.internalPadding, { value: null, options: r };
125
139
  }
126
140
  }
127
141
  }
@@ -173,16 +187,16 @@ const n = [
173
187
  control: {
174
188
  type: "color-picker",
175
189
  label: "Measure axis color",
176
- default: ({ theme: e }) => l(e),
177
- extraLabel: ({ options: e, theme: t }) => i(e, t, "axis.x.color"),
178
- extraLabelHasClickAction: ({ options: e, theme: t }) => o(
190
+ default: ({ theme: e }) => o(e),
191
+ extraLabel: ({ options: e, theme: r }) => i(e, r, "axis.x.color"),
192
+ extraLabelHasClickAction: ({ options: e, theme: r }) => a(
179
193
  e,
180
- t,
194
+ r,
181
195
  "axis.x.color"
182
196
  ),
183
- extraLabelClickAction: ({ options: e, theme: t }) => r(
197
+ extraLabelClickAction: ({ options: e, theme: r }) => l(
184
198
  e,
185
- t,
199
+ r,
186
200
  "axis.x.color"
187
201
  )
188
202
  }
@@ -224,16 +238,16 @@ const n = [
224
238
  control: {
225
239
  type: "color-picker",
226
240
  label: "Category axis color",
227
- default: ({ theme: e }) => l(e),
228
- extraLabel: ({ options: e, theme: t }) => i(e, t, "axis.y.color"),
229
- extraLabelHasClickAction: ({ options: e, theme: t }) => o(
241
+ default: ({ theme: e }) => o(e),
242
+ extraLabel: ({ options: e, theme: r }) => i(e, r, "axis.y.color"),
243
+ extraLabelHasClickAction: ({ options: e, theme: r }) => a(
230
244
  e,
231
- t,
245
+ r,
232
246
  "axis.y.color"
233
247
  ),
234
- extraLabelClickAction: ({ options: e, theme: t }) => r(
248
+ extraLabelClickAction: ({ options: e, theme: r }) => l(
235
249
  e,
236
- t,
250
+ r,
237
251
  "axis.y.color"
238
252
  )
239
253
  }
@@ -267,5 +281,5 @@ const n = [
267
281
  }
268
282
  ];
269
283
  export {
270
- n as default
284
+ c as default
271
285
  };
@@ -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 o, a as i, b as r, c as a } from "./helpers-bR8Ibjqh.js";
21
- const l = ({ slots: e }) => Array.isArray(e) && e?.find((t) => t?.name === "color")?.content?.length > 0, n = ({ slots: e }) => Array.isArray(e) && e?.length > 0 ? !(e?.find((t) => t?.name === "color")?.content?.length > 0) : !0, c = [
20
+ import { g as i, a as o, b as n, c } from "./helpers-v1bPALRP.js";
21
+ const a = ({ slots: e }) => {
22
+ var t, l;
23
+ return Array.isArray(e) && ((l = (t = e == null ? void 0 : e.find((r) => (r == null ? void 0 : r.name) === "color")) == null ? void 0 : t.content) == null ? void 0 : l.length) > 0;
24
+ }, p = ({ slots: e }) => {
25
+ var t, l;
26
+ return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? !(((l = (t = e == null ? void 0 : e.find((r) => (r == null ? void 0 : r.name) === "color")) == null ? void 0 : t.content) == null ? void 0 : l.length) > 0) : !0;
27
+ }, d = [
22
28
  {
23
29
  key: "general",
24
30
  type: "group",
@@ -39,7 +45,7 @@ const l = ({ slots: e }) => Array.isArray(e) && e?.find((t) => t?.name === "colo
39
45
  label: "Legend",
40
46
  default: !0
41
47
  },
42
- visibleIf: l
48
+ visibleIf: a
43
49
  }
44
50
  ]
45
51
  },
@@ -53,12 +59,12 @@ const l = ({ slots: e }) => Array.isArray(e) && e?.find((t) => t?.name === "colo
53
59
  control: {
54
60
  type: "color-picker",
55
61
  label: "Color",
56
- default: ({ theme: e }) => a(e),
57
- extraLabel: ({ options: e, theme: t }) => r(e, t, "color"),
58
- extraLabelHasClickAction: ({ options: e, theme: t }) => i(e, t, "color"),
59
- extraLabelClickAction: ({ options: e, theme: t }) => o(e, t, "color")
62
+ default: ({ theme: e }) => c(e),
63
+ extraLabel: ({ options: e, theme: t }) => n(e, t, "color"),
64
+ extraLabelHasClickAction: ({ options: e, theme: t }) => o(e, t, "color"),
65
+ extraLabelClickAction: ({ options: e, theme: t }) => i(e, t, "color")
60
66
  },
61
- visibleIf: n
67
+ visibleIf: p
62
68
  },
63
69
  {
64
70
  key: "fillOpacity",
@@ -98,7 +104,10 @@ const l = ({ slots: e }) => Array.isArray(e) && e?.find((t) => t?.name === "colo
98
104
  max: 7,
99
105
  step: 1
100
106
  },
101
- visibleIf: ({ options: e }) => e?.display?.points
107
+ visibleIf: ({ options: e }) => {
108
+ var t;
109
+ return (t = e == null ? void 0 : e.display) == null ? void 0 : t.points;
110
+ }
102
111
  }
103
112
  ]
104
113
  },
@@ -126,9 +135,12 @@ const l = ({ slots: e }) => Array.isArray(e) && e?.find((t) => t?.name === "colo
126
135
  }
127
136
  }
128
137
  ],
129
- visibleIf: ({ options: e, slots: t }) => e?.display?.legend !== !1 && l({ slots: t })
138
+ visibleIf: ({ options: e, slots: t }) => {
139
+ var l;
140
+ return ((l = e == null ? void 0 : e.display) == null ? void 0 : l.legend) !== !1 && a({ slots: t });
141
+ }
130
142
  }
131
143
  ];
132
144
  export {
133
- c as default
145
+ d as default
134
146
  };
@@ -0,0 +1,20 @@
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 i=require("./helpers-DXQwEH1P.cjs"),a=({slots:e})=>{var t,l;return Array.isArray(e)&&((l=(t=e==null?void 0:e.find(r=>(r==null?void 0:r.name)==="color"))==null?void 0:t.content)==null?void 0:l.length)>0},o=({slots:e})=>{var t,l;return Array.isArray(e)&&(e==null?void 0:e.length)>0?!(((l=(t=e==null?void 0:e.find(r=>(r==null?void 0:r.name)==="color"))==null?void 0:t.content)==null?void 0:l.length)>0):!0},n=[{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},visibleIf:a}]},{key:"radar",type:"group",open:!0,children:[{key:"color",control:{type:"color-picker",label:"Color",default:({theme:e})=>i.getThemeMainColor(e),extraLabel:({options:e,theme:t})=>i.getThemeMainColorResetLabel(e,t,"color"),extraLabelHasClickAction:({options:e,theme:t})=>i.getThemeMainColorExtraLabelHasClickAction(e,t,"color"),extraLabelClickAction:({options:e,theme:t})=>i.getThemeMainColorExtraLabelClickAction(e,t,"color")},visibleIf:o},{key:"fillOpacity",control:{type:"slider",label:"Fill opacity",default:.05,min:0,max:.7,step:.01}},{key:"interpolation",control:{type:"picker",label:"Interpolation",default:"linear",enum:["linear","rounded"]}},{key:"display.points",control:{type:"switch",label:"Show points",default:!1}},{key:"pointSize",control:{type:"slider",label:"Point size",default:3,min:2,max:7,step:1},visibleIf:({options:e})=>{var t;return(t=e==null?void 0:e.display)==null?void 0:t.points}}]},{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:({options:e,slots:t})=>{var l;return((l=e==null?void 0:e.display)==null?void 0:l.legend)!==!1&&a({slots:t})}}];exports.default=n;
@@ -17,8 +17,8 @@
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 a, a as l, b as r, c as t, d as c, e as n, f as s, h as b } from "./helpers-bR8Ibjqh.js";
21
- const d = [
20
+ import { g as r, a as o, b as t, c, d as b, e as d, f as n, h as s } from "./helpers-v1bPALRP.js";
21
+ const i = [
22
22
  {
23
23
  key: "general",
24
24
  type: "group",
@@ -77,16 +77,16 @@ const d = [
77
77
  control: {
78
78
  type: "color-picker",
79
79
  label: "Headers background",
80
- default: ({ theme: e }) => t(e),
81
- extraLabel: ({ options: e, theme: o }) => r(e, o, "headers.background"),
82
- extraLabelHasClickAction: ({ options: e, theme: o }) => l(
80
+ default: ({ theme: e }) => c(e),
81
+ extraLabel: ({ options: e, theme: a }) => t(e, a, "headers.background"),
82
+ extraLabelHasClickAction: ({ options: e, theme: a }) => o(
83
83
  e,
84
- o,
84
+ a,
85
85
  "headers.background"
86
86
  ),
87
- extraLabelClickAction: ({ options: e, theme: o }) => a(
87
+ extraLabelClickAction: ({ options: e, theme: a }) => r(
88
88
  e,
89
- o,
89
+ a,
90
90
  "headers.background"
91
91
  )
92
92
  }
@@ -133,20 +133,23 @@ const d = [
133
133
  control: {
134
134
  type: "color-picker",
135
135
  label: "Color",
136
- default: ({ theme: e }) => b(e),
137
- extraLabel: ({ options: e, theme: o }) => s(e, o, "tableBorders.color"),
138
- extraLabelHasClickAction: ({ options: e, theme: o }) => n(
136
+ default: ({ theme: e }) => s(e),
137
+ extraLabel: ({ options: e, theme: a }) => n(e, a, "tableBorders.color"),
138
+ extraLabelHasClickAction: ({ options: e, theme: a }) => d(
139
139
  e,
140
- o,
140
+ a,
141
141
  "tableBorders.color"
142
142
  ),
143
- extraLabelClickAction: ({ options: e, theme: o }) => c(
143
+ extraLabelClickAction: ({ options: e, theme: a }) => b(
144
144
  e,
145
- o,
145
+ a,
146
146
  "tableBorders.color"
147
147
  )
148
148
  },
149
- visibleIf: ({ options: e }) => e?.tableBorders?.type && e?.tableBorders?.type !== "none"
149
+ visibleIf: ({ options: e }) => {
150
+ var a, l;
151
+ return ((a = e == null ? void 0 : e.tableBorders) == null ? void 0 : a.type) && ((l = e == null ? void 0 : e.tableBorders) == null ? void 0 : l.type) !== "none";
152
+ }
150
153
  },
151
154
  {
152
155
  key: "tableBorders.width",
@@ -159,11 +162,14 @@ const d = [
159
162
  step: 1,
160
163
  unit: "px"
161
164
  },
162
- visibleIf: ({ options: e }) => e?.tableBorders?.type && e?.tableBorders?.type !== "none"
165
+ visibleIf: ({ options: e }) => {
166
+ var a, l;
167
+ return ((a = e == null ? void 0 : e.tableBorders) == null ? void 0 : a.type) && ((l = e == null ? void 0 : e.tableBorders) == null ? void 0 : l.type) !== "none";
168
+ }
163
169
  }
164
170
  ]
165
171
  }
166
172
  ];
167
173
  export {
168
- d as default
174
+ i as default
169
175
  };
@@ -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=require("./helpers-9I0oLoUB.cjs"),r=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!1}},{key:"alternateRowColor",control:{type:"switch",label:"Alternate row coloring",default:!0}},{key:"rowHeight",control:{type:"picker",label:"Row height",default:"default",enum:["veryCompact","compact","default","comfortable","veryComfortable","spacious"],toValue:e=>({veryCompact:22,compact:24,default:28,comfortable:32,veryComfortable:36,spacious:40})[e]??28,parseValue:e=>({22:"veryCompact",24:"compact",28:"default",32:"comfortable",36:"veryComfortable",40:"spacious"})[e]??"default"}},{key:"headers.background",control:{type:"color-picker",label:"Headers background",default:({theme:e})=>l.getThemeMainColor(e),extraLabel:({options:e,theme:o})=>l.getThemeMainColorResetLabel(e,o,"headers.background"),extraLabelHasClickAction:({options:e,theme:o})=>l.getThemeMainColorExtraLabelHasClickAction(e,o,"headers.background"),extraLabelClickAction:({options:e,theme:o})=>l.getThemeMainColorExtraLabelClickAction(e,o,"headers.background")}}]},{key:"borders",type:"group",open:!0,children:[{key:"tableBorders.type",control:{type:"action-button-group",label:"Type",default:["none"],values:{none:{iconName:"ban",label:"no border"},all:{iconName:"table",label:"row and column borders"},rows:{iconName:"rows",label:"rows border"},columns:{iconName:"columns",label:"columns border"}},selects:"single"}},{key:"tableBorders.color",control:{type:"color-picker",label:"Color",default:({theme:e})=>l.getThemeBorderColor(e),extraLabel:({options:e,theme:o})=>l.getThemeBorderColorResetLabel(e,o,"tableBorders.color"),extraLabelHasClickAction:({options:e,theme:o})=>l.getThemeBorderColorExtraLabelHasClickAction(e,o,"tableBorders.color"),extraLabelClickAction:({options:e,theme:o})=>l.getThemeBorderColorExtraLabelClickAction(e,o,"tableBorders.color")},visibleIf:({options:e})=>e?.tableBorders?.type&&e?.tableBorders?.type!=="none"},{key:"tableBorders.width",control:{type:"number-field",label:"Width",default:1,min:1,max:20,step:1,unit:"px"},visibleIf:({options:e})=>e?.tableBorders?.type&&e?.tableBorders?.type!=="none"}]}];exports.default=r;
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./helpers-DXQwEH1P.cjs"),o=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!1}},{key:"alternateRowColor",control:{type:"switch",label:"Alternate row coloring",default:!0}},{key:"rowHeight",control:{type:"picker",label:"Row height",default:"default",enum:["veryCompact","compact","default","comfortable","veryComfortable","spacious"],toValue:e=>({veryCompact:22,compact:24,default:28,comfortable:32,veryComfortable:36,spacious:40})[e]??28,parseValue:e=>({22:"veryCompact",24:"compact",28:"default",32:"comfortable",36:"veryComfortable",40:"spacious"})[e]??"default"}},{key:"headers.background",control:{type:"color-picker",label:"Headers background",default:({theme:e})=>r.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>r.getThemeMainColorResetLabel(e,l,"headers.background"),extraLabelHasClickAction:({options:e,theme:l})=>r.getThemeMainColorExtraLabelHasClickAction(e,l,"headers.background"),extraLabelClickAction:({options:e,theme:l})=>r.getThemeMainColorExtraLabelClickAction(e,l,"headers.background")}}]},{key:"borders",type:"group",open:!0,children:[{key:"tableBorders.type",control:{type:"action-button-group",label:"Type",default:["none"],values:{none:{iconName:"ban",label:"no border"},all:{iconName:"table",label:"row and column borders"},rows:{iconName:"rows",label:"rows border"},columns:{iconName:"columns",label:"columns border"}},selects:"single"}},{key:"tableBorders.color",control:{type:"color-picker",label:"Color",default:({theme:e})=>r.getThemeBorderColor(e),extraLabel:({options:e,theme:l})=>r.getThemeBorderColorResetLabel(e,l,"tableBorders.color"),extraLabelHasClickAction:({options:e,theme:l})=>r.getThemeBorderColorExtraLabelHasClickAction(e,l,"tableBorders.color"),extraLabelClickAction:({options:e,theme:l})=>r.getThemeBorderColorExtraLabelClickAction(e,l,"tableBorders.color")},visibleIf:({options:e})=>{var l,a;return((l=e==null?void 0:e.tableBorders)==null?void 0:l.type)&&((a=e==null?void 0:e.tableBorders)==null?void 0:a.type)!=="none"}},{key:"tableBorders.width",control:{type:"number-field",label:"Width",default:1,min:1,max:20,step:1,unit:"px"},visibleIf:({options:e})=>{var l,a;return((l=e==null?void 0:e.tableBorders)==null?void 0:l.type)&&((a=e==null?void 0:e.tableBorders)==null?void 0:a.type)!=="none"}}]}];exports.default=o;