@luzmo/analytics-components-kit 1.0.1-alpha.18 → 1.0.1-alpha.19

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 (157) hide show
  1. package/components/area-chart-options.config-A8NH6aUG.cjs +20 -0
  2. package/components/{area-chart-options.config-B5qtlH-_.js → area-chart-options.config-BbSP_Auh.js} +32 -31
  3. package/components/bar-chart-options.config-CRGDLJCK.js +161 -0
  4. package/components/bar-chart-options.config-Cpbrpmp1.cjs +20 -0
  5. package/components/{box-plot-options.config-DoZHVmpm.js → box-plot-options.config-BtonHYul.js} +65 -90
  6. package/components/box-plot-options.config-CGIKZNsw.cjs +20 -0
  7. package/components/bubble-chart-options.config-BM7njnkG.cjs +20 -0
  8. package/components/{bubble-chart-options.config-Cp6OQnJl.js → bubble-chart-options.config-R5R-E3dd.js} +24 -42
  9. package/components/{bubble-chart-options.de-L-yQc0Vj.cjs → bubble-chart-options.de-D2Z88fwi.cjs} +1 -1
  10. package/components/{bubble-chart-options.de-BGWrRmuN.js → bubble-chart-options.de-D8Ap7joq.js} +6 -1
  11. package/components/{bubble-chart-options.en-CYwRht5M.js → bubble-chart-options.en-BU3F4n13.js} +8 -3
  12. package/components/{bubble-chart-options.en-CCG_rkEd.cjs → bubble-chart-options.en-CP9PhuPw.cjs} +1 -1
  13. package/components/{bubble-chart-options.es-CihHnrZ4.cjs → bubble-chart-options.es-B6mTDtxs.cjs} +1 -1
  14. package/components/{bubble-chart-options.es-ZnkjzgL_.js → bubble-chart-options.es-Bh_dRgE3.js} +7 -2
  15. package/components/{bubble-chart-options.fr-CFULfSKT.cjs → bubble-chart-options.fr-BMPe3Z5G.cjs} +1 -1
  16. package/components/{bubble-chart-options.fr-Cym1h3sF.js → bubble-chart-options.fr-CNiJgmGl.js} +7 -2
  17. package/components/{bubble-chart-options.nl-Deep5xXO.cjs → bubble-chart-options.nl-5thQrFoi.cjs} +1 -1
  18. package/components/{bubble-chart-options.nl-D1TFWi5k.js → bubble-chart-options.nl-BoV3kpaZ.js} +8 -3
  19. package/components/{bullet-chart-options.config-D8mAooLE.js → bullet-chart-options.config-D-_esi9S.js} +7 -25
  20. package/components/bullet-chart-options.config-D-wrbTMO.cjs +20 -0
  21. package/components/{choropleth-map-options.config-4QDypbCL.cjs → choropleth-map-options.config-BOuMfF8r.cjs} +1 -1
  22. package/components/{choropleth-map-options.config-V8tRnQqz.js → choropleth-map-options.config-z2fY__jr.js} +4 -4
  23. package/components/{circular-guage-options.config-C3ExuT5F.js → circular-gauge-options.config-9tIxyJj1.js} +19 -29
  24. package/components/circular-gauge-options.config-h9KNl5Eq.cjs +20 -0
  25. package/components/column-chart-options.config-B-e2SI2W.cjs +20 -0
  26. package/components/{column-chart-options.config-CGw1dN1E.js → column-chart-options.config-D87ZFT76.js} +34 -52
  27. package/components/conditional-number-options.config-D09JeUlU.cjs +20 -0
  28. package/components/{conditional-number-options.config-B24MqnZj.js → conditional-number-options.config-PVvKLc1P.js} +16 -34
  29. package/components/{donut-chart-options.config-DuJFyp4z.js → donut-chart-options.config-NPwNtLDW.js} +23 -20
  30. package/components/donut-chart-options.config-bqcKuyIu.cjs +20 -0
  31. package/components/{dropdown-filter-options.config-BxjR1xAD.js → dropdown-filter-options.config-D9dvPypF.js} +5 -5
  32. package/components/{dropdown-filter-options.config-C3YEGK-5.cjs → dropdown-filter-options.config-DS-MORmq.cjs} +1 -1
  33. package/components/edit-item/index.cjs +14 -14
  34. package/components/edit-item/index.js +74 -56
  35. package/components/edit-option/helpers/get-default-value.d.ts +1 -0
  36. package/components/edit-option/index.cjs +91 -91
  37. package/components/edit-option/index.js +330 -330
  38. package/components/edit-option-position-picker/edit-option-position-picker.d.ts +1 -1
  39. package/components/edit-option-position-picker/index.cjs +2 -2
  40. package/components/edit-option-position-picker/index.js +4 -6
  41. package/components/funnel-chart-options.config-CrlHKd36.js +184 -0
  42. package/components/funnel-chart-options.config-hw_GXs4s.cjs +20 -0
  43. package/components/funnel-chart-options.de-CuVFMJUC.js +93 -0
  44. package/components/funnel-chart-options.de-DRAGes5d.cjs +20 -0
  45. package/components/funnel-chart-options.en-CvPbJr1r.js +93 -0
  46. package/components/funnel-chart-options.en-b6BBKfZh.cjs +20 -0
  47. package/components/funnel-chart-options.es-DfDw5S5g.cjs +20 -0
  48. package/components/funnel-chart-options.es-_M7sC4m6.js +93 -0
  49. package/components/funnel-chart-options.fr-DWkPkC47.cjs +20 -0
  50. package/components/funnel-chart-options.fr-DvnZ-XbE.js +93 -0
  51. package/components/funnel-chart-options.nl-BdAL0ZJP.cjs +20 -0
  52. package/components/funnel-chart-options.nl-C72_FTNm.js +93 -0
  53. package/components/helpers-CKo1Fkek.cjs +20 -0
  54. package/components/helpers-DqqxcHaY.js +51 -0
  55. package/components/{line-chart-options.config-CEUJYNt7.js → line-chart-options.config-BtfCTjNr.js} +32 -31
  56. package/components/line-chart-options.config-Cb7txmmw.cjs +20 -0
  57. package/components/radar-chart-options.config-Ck7skfge.cjs +20 -0
  58. package/components/{radar-chart-options.config-gKHFbC63.js → radar-chart-options.config-DFxna7UF.js} +25 -43
  59. package/components/sankey-diagram-options.config-DJqI2dMh.cjs +20 -0
  60. package/components/{sankey-diagram-options.config-ylhZhJ6H.js → sankey-diagram-options.config-Dj9g2BOp.js} +16 -26
  61. package/components/{search-filter-options.config-C9CoGS9f.cjs → search-filter-options.config-BCaDlYqZ.cjs} +1 -1
  62. package/components/{search-filter-options.config-baX2Vdul.js → search-filter-options.config-BE3JhR-F.js} +1 -1
  63. package/components/{slicer-filter-options.config-A3YK_KZn.js → slicer-filter-options.config-BArPA7Mb.js} +20 -38
  64. package/components/slicer-filter-options.config-BW44EPso.cjs +20 -0
  65. package/components/{slider-filter-options.config-C-zvfTNl.js → slider-filter-options.config-BIKIbGbN.js} +7 -25
  66. package/components/slider-filter-options.config-zuWa8Rtt.cjs +20 -0
  67. package/components/sunburst-chart-options.config-BjtKxThH.cjs +20 -0
  68. package/components/{sunburst-chart-options.config-VZqDthcz.js → sunburst-chart-options.config-BxkJfdrU.js} +30 -30
  69. package/components/{textobject-options.nl-V03mmGmH.js → text-options.nl-C8sliUgH.js} +2 -2
  70. package/components/{treemap-chart-options.config-f8L8KfDj.js → treemap-chart-options.config-MyCTS35Y.js} +45 -63
  71. package/components/treemap-chart-options.config-PwXbMhHZ.cjs +20 -0
  72. package/components/{video-options.config-BBDHSf6_.cjs → video-options.config-CGsDTwHc.cjs} +1 -1
  73. package/components/{video-options.config-CbtNZAEK.js → video-options.config-Dk36zJ1B.js} +5 -5
  74. package/components/wordcloud-chart-options.config-Cv9l0THs.cjs +20 -0
  75. package/components/{wordcloud-chart-options.config-CQs8YFfd.js → wordcloud-chart-options.config-Dq7TF0sb.js} +10 -28
  76. package/custom-elements.json +31 -3
  77. package/item-definitions/area-chart/area-chart-options.config.d.ts +27 -6
  78. package/item-definitions/bar-chart/bar-chart-options.config.d.ts +13 -13
  79. package/item-definitions/box-plot/box-plot-options.config.d.ts +16 -16
  80. package/item-definitions/bubble-chart/bubble-chart-options.config.d.ts +7 -7
  81. package/item-definitions/bubble-chart/i18n/bubble-chart-options.de.d.ts +5 -0
  82. package/item-definitions/bubble-chart/i18n/bubble-chart-options.en.d.ts +5 -0
  83. package/item-definitions/bubble-chart/i18n/bubble-chart-options.es.d.ts +5 -0
  84. package/item-definitions/bubble-chart/i18n/bubble-chart-options.fr.d.ts +5 -0
  85. package/item-definitions/bubble-chart/i18n/bubble-chart-options.nl.d.ts +5 -0
  86. package/item-definitions/bullet-chart/bullet-chart-options.config.d.ts +4 -4
  87. package/item-definitions/choropleth-map/choropleth-map-options.config.d.ts +1 -1
  88. package/item-definitions/circular-gauge/{circular-guage-options.config.d.ts → circular-gauge-options.config.d.ts} +4 -4
  89. package/item-definitions/column-chart/column-chart-options.config.d.ts +13 -13
  90. package/item-definitions/conditional-number/conditional-number-options.config.d.ts +7 -7
  91. package/item-definitions/donut-chart/donut-chart-options.config.d.ts +8 -7
  92. package/item-definitions/dropdown-filter/dropdown-filter-options.config.d.ts +2 -2
  93. package/item-definitions/funnel-chart/funnel-chart-options.config.d.ts +88 -0
  94. package/item-definitions/funnel-chart/i18n/funnel-chart-options.de.d.ts +72 -0
  95. package/item-definitions/funnel-chart/i18n/funnel-chart-options.en.d.ts +72 -0
  96. package/item-definitions/funnel-chart/i18n/funnel-chart-options.es.d.ts +72 -0
  97. package/item-definitions/funnel-chart/i18n/funnel-chart-options.fr.d.ts +72 -0
  98. package/item-definitions/funnel-chart/i18n/funnel-chart-options.nl.d.ts +72 -0
  99. package/item-definitions/helpers.d.ts +7 -0
  100. package/item-definitions/line-chart/line-chart-options.config.d.ts +31 -7
  101. package/item-definitions/radar-chart/radar-chart-options.config.d.ts +8 -8
  102. package/item-definitions/sankey-diagram/sankey-diagram-options.config.d.ts +5 -5
  103. package/item-definitions/search-filter/search-filter-options.config.d.ts +1 -1
  104. package/item-definitions/slicer-filter/slicer-filter-options.config.d.ts +8 -8
  105. package/item-definitions/slider-filter/slider-filter-options.config.d.ts +4 -4
  106. package/item-definitions/sunburst-chart/sunburst-chart-options.config.d.ts +4 -4
  107. package/item-definitions/treemap-chart/treemap-chart-options.config.d.ts +10 -10
  108. package/item-definitions/video/video-options.config.d.ts +3 -3
  109. package/item-definitions/wordcloud-chart/wordcloud-chart-options.config.d.ts +5 -5
  110. package/package.json +1 -1
  111. package/components/area-chart-options.config-DMfRioZx.cjs +0 -20
  112. package/components/bar-chart-options.config-C7BGg5sh.cjs +0 -20
  113. package/components/bar-chart-options.config-CQfpV1Rx.js +0 -181
  114. package/components/box-plot-options.config-BsFp2CBS.cjs +0 -20
  115. package/components/bubble-chart-options.config-DL5Xl6Ad.cjs +0 -20
  116. package/components/bullet-chart-options.config-BO22R7gx.cjs +0 -20
  117. package/components/circular-guage-options.config-Dvg5quJ9.cjs +0 -20
  118. package/components/column-chart-options.config-DomUPYPM.cjs +0 -20
  119. package/components/conditional-number-options.config-C1eERsoe.cjs +0 -20
  120. package/components/donut-chart-options.config-kUyTbAtZ.cjs +0 -20
  121. package/components/line-chart-options.config-DNGyRAvG.cjs +0 -20
  122. package/components/radar-chart-options.config-DUXOzdbl.cjs +0 -20
  123. package/components/sankey-diagram-options.config-CG5S1OI3.cjs +0 -20
  124. package/components/slicer-filter-options.config-DQunaj8q.cjs +0 -20
  125. package/components/slider-filter-options.config-DF_sAElS.cjs +0 -20
  126. package/components/sunburst-chart-options.config-CEfAd1RQ.cjs +0 -20
  127. package/components/treemap-chart-options.config-Dc2UNcGG.cjs +0 -20
  128. package/components/wordcloud-chart-options.config-BLvcDvxT.cjs +0 -20
  129. /package/components/{imageobject-options.de-CBkRiIbw.cjs → image-options.de-CBkRiIbw.cjs} +0 -0
  130. /package/components/{imageobject-options.de-CYVnqdL_.js → image-options.de-CYVnqdL_.js} +0 -0
  131. /package/components/{imageobject-options.en-BMmV-4O-.js → image-options.en-BMmV-4O-.js} +0 -0
  132. /package/components/{imageobject-options.en-DflcU_2H.cjs → image-options.en-DflcU_2H.cjs} +0 -0
  133. /package/components/{imageobject-options.es-CRbNv384.cjs → image-options.es-CRbNv384.cjs} +0 -0
  134. /package/components/{imageobject-options.es-UN5rmaEt.js → image-options.es-UN5rmaEt.js} +0 -0
  135. /package/components/{imageobject-options.fr-DRE3zImB.js → image-options.fr-DRE3zImB.js} +0 -0
  136. /package/components/{imageobject-options.fr-ycH7UoX5.cjs → image-options.fr-ycH7UoX5.cjs} +0 -0
  137. /package/components/{imageobject-options.nl-D20hki6i.js → image-options.nl-D20hki6i.js} +0 -0
  138. /package/components/{imageobject-options.nl-DQL45o0j.cjs → image-options.nl-DQL45o0j.cjs} +0 -0
  139. /package/components/{textobject-options.de-BjfS5RBn.js → text-options.de-BjfS5RBn.js} +0 -0
  140. /package/components/{textobject-options.de-DLr2-jBn.cjs → text-options.de-DLr2-jBn.cjs} +0 -0
  141. /package/components/{textobject-options.en-BQqHFc7M.js → text-options.en-BQqHFc7M.js} +0 -0
  142. /package/components/{textobject-options.en-LfsMtwo6.cjs → text-options.en-LfsMtwo6.cjs} +0 -0
  143. /package/components/{textobject-options.es-BLQBqlvK.cjs → text-options.es-BLQBqlvK.cjs} +0 -0
  144. /package/components/{textobject-options.es-CMB1DKq4.js → text-options.es-CMB1DKq4.js} +0 -0
  145. /package/components/{textobject-options.fr-B8x29grG.cjs → text-options.fr-B8x29grG.cjs} +0 -0
  146. /package/components/{textobject-options.fr-VPJ3bDOM.js → text-options.fr-VPJ3bDOM.js} +0 -0
  147. /package/components/{textobject-options.nl-DzglrI3i.cjs → text-options.nl-DzglrI3i.cjs} +0 -0
  148. /package/item-definitions/image/i18n/{imageobject-options.de.d.ts → image-options.de.d.ts} +0 -0
  149. /package/item-definitions/image/i18n/{imageobject-options.en.d.ts → image-options.en.d.ts} +0 -0
  150. /package/item-definitions/image/i18n/{imageobject-options.es.d.ts → image-options.es.d.ts} +0 -0
  151. /package/item-definitions/image/i18n/{imageobject-options.fr.d.ts → image-options.fr.d.ts} +0 -0
  152. /package/item-definitions/image/i18n/{imageobject-options.nl.d.ts → image-options.nl.d.ts} +0 -0
  153. /package/item-definitions/text/i18n/{textobject-options.de.d.ts → text-options.de.d.ts} +0 -0
  154. /package/item-definitions/text/i18n/{textobject-options.en.d.ts → text-options.en.d.ts} +0 -0
  155. /package/item-definitions/text/i18n/{textobject-options.es.d.ts → text-options.es.d.ts} +0 -0
  156. /package/item-definitions/text/i18n/{textobject-options.fr.d.ts → text-options.fr.d.ts} +0 -0
  157. /package/item-definitions/text/i18n/{textobject-options.nl.d.ts → text-options.nl.d.ts} +0 -0
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!1}},{key:"display.label",control:{type:"switch",label:"Label",default:!0}},{key:"applyFiltersWithButton",control:{type:"switch",label:"Filter with Apply button",default:!1}}]},{key:"placeholder",type:"group",open:!0,children:[{key:"display.placeholder",control:{type:"switch",label:"Display",default:!0}},{key:"placeholder",control:{type:"multi-language-field",label:"Text",placeholder:"Search..."},visibleIf:e=>{var l;return((l=e==null?void 0:e.display)==null?void 0:l.placeholder)!==!1}}]},{key:"padding",type:"group",open:!0,children:[{key:"padding.left",control:{label:"Padding left",type:"number-field",default:16,min:0,max:100,step:1}},{key:"padding.right",control:{label:"Padding right",type:"number-field",default:16,min:0,max:100,step:1}}]}];exports.default=t;
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:!1}},{key:"display.label",control:{type:"switch",label:"Label",default:!0}},{key:"applyFiltersWithButton",control:{type:"switch",label:"Filter with Apply button",default:!1}}]},{key:"placeholder",type:"group",open:!0,children:[{key:"display.placeholder",control:{type:"switch",label:"Display",default:!0}},{key:"placeholder",control:{type:"multi-language-field",label:"Text",placeholder:"Search..."},visibleIf:({options:e})=>{var l;return((l=e==null?void 0:e.display)==null?void 0:l.placeholder)!==!1}}]},{key:"padding",type:"group",open:!0,children:[{key:"padding.left",control:{label:"Padding left",type:"number-field",default:16,min:0,max:100,step:1}},{key:"padding.right",control:{label:"Padding right",type:"number-field",default:16,min:0,max:100,step:1}}]}];exports.default=t;
@@ -69,7 +69,7 @@ const t = [
69
69
  label: "Text",
70
70
  placeholder: "Search..."
71
71
  },
72
- visibleIf: (e) => {
72
+ visibleIf: ({ options: e }) => {
73
73
  var l;
74
74
  return ((l = e == null ? void 0 : e.display) == null ? void 0 : l.placeholder) !== !1;
75
75
  }
@@ -17,7 +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
- const o = [
20
+ import { g as t, a, b as r, c as i } from "./helpers-DqqxcHaY.js";
21
+ const n = [
21
22
  {
22
23
  key: "general",
23
24
  type: "group",
@@ -54,7 +55,7 @@ const o = [
54
55
  label: "Filter with Apply button",
55
56
  default: !1
56
57
  },
57
- visibleIf: (l) => (l == null ? void 0 : l.multiselect) !== !1
58
+ visibleIf: ({ options: e }) => (e == null ? void 0 : e.multiselect) !== !1
58
59
  },
59
60
  {
60
61
  key: "display.all",
@@ -70,8 +71,8 @@ const o = [
70
71
  type: "switch",
71
72
  label: "Display as buttons",
72
73
  default: !1,
73
- fromOptionValue: (l) => l === "button",
74
- toOptionValue: (l) => l ? "button" : "default"
74
+ fromOptionValue: (e) => e === "button",
75
+ toOptionValue: (e) => e ? "button" : "default"
75
76
  }
76
77
  },
77
78
  {
@@ -79,31 +80,12 @@ const o = [
79
80
  control: {
80
81
  type: "color-picker",
81
82
  label: "Color",
82
- default: (l, a, e) => {
83
- var t;
84
- return (e == null ? void 0 : e.mainColor) ?? ((t = e == null ? void 0 : e.colors) == null ? void 0 : t[0]);
85
- },
86
- extraLabel: (l, a, e) => {
87
- var r;
88
- const t = (e == null ? void 0 : e.mainColor) ?? ((r = e == null ? void 0 : e.colors) == null ? void 0 : r[0]);
89
- if (t && l.color !== t)
90
- return "reset";
91
- },
92
- extraLabelHasClickAction: (l, a, e) => {
93
- var r;
94
- const t = (e == null ? void 0 : e.mainColor) ?? ((r = e == null ? void 0 : e.colors) == null ? void 0 : r[0]);
95
- return !!(t && l.color !== t);
96
- },
97
- extraLabelClickAction: (l, a, e) => {
98
- var r;
99
- const t = { ...l };
100
- return t.color = (e == null ? void 0 : e.mainColor) ?? ((r = e == null ? void 0 : e.colors) == null ? void 0 : r[0]), {
101
- value: t.color,
102
- options: t
103
- };
104
- }
83
+ default: ({ theme: e }) => i(e),
84
+ extraLabel: ({ options: e, theme: l }) => r(e, l, "color"),
85
+ extraLabelHasClickAction: ({ options: e, theme: l }) => a(e, l, "color"),
86
+ extraLabelClickAction: ({ options: e, theme: l }) => t(e, l, "color")
105
87
  },
106
- visibleIf: (l) => (l == null ? void 0 : l.mode) === "button"
88
+ visibleIf: ({ options: e }) => (e == null ? void 0 : e.mode) === "button"
107
89
  },
108
90
  {
109
91
  key: "sort.direction",
@@ -140,9 +122,9 @@ const o = [
140
122
  max: 999,
141
123
  step: 1
142
124
  },
143
- visibleIf: (l) => {
144
- var a;
145
- return (l == null ? void 0 : l.mode) !== "button" && ((a = l == null ? void 0 : l.layout) == null ? void 0 : a.alignment) !== "horizontal";
125
+ visibleIf: ({ options: e }) => {
126
+ var l;
127
+ return (e == null ? void 0 : e.mode) !== "button" && ((l = e == null ? void 0 : e.layout) == null ? void 0 : l.alignment) !== "horizontal";
146
128
  }
147
129
  },
148
130
  {
@@ -154,9 +136,9 @@ const o = [
154
136
  min: 1,
155
137
  max: 10
156
138
  },
157
- visibleIf: (l) => {
158
- var a;
159
- return ((a = l == null ? void 0 : l.layout) == null ? void 0 : a.alignment) === "table";
139
+ visibleIf: ({ options: e }) => {
140
+ var l;
141
+ return ((l = e == null ? void 0 : e.layout) == null ? void 0 : l.alignment) === "table";
160
142
  }
161
143
  },
162
144
  {
@@ -169,9 +151,9 @@ const o = [
169
151
  max: 999,
170
152
  step: 1
171
153
  },
172
- visibleIf: (l) => {
173
- var a;
174
- return ((a = l == null ? void 0 : l.layout) == null ? void 0 : a.alignment) === "horizontal";
154
+ visibleIf: ({ options: e }) => {
155
+ var l;
156
+ return ((l = e == null ? void 0 : e.layout) == null ? void 0 : l.alignment) === "horizontal";
175
157
  }
176
158
  }
177
159
  ]
@@ -207,5 +189,5 @@ const o = [
207
189
  }
208
190
  ];
209
191
  export {
210
- o as default
192
+ n as default
211
193
  };
@@ -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 t=require("./helpers-CKo1Fkek.cjs"),a=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!1}},{key:"display.search",control:{type:"switch",label:"Search",default:!0}},{key:"multiselect",control:{type:"switch",label:"Multiselect",default:!1}},{key:"applyFiltersWithButton",control:{type:"switch",label:"Filter with Apply button",default:!1},visibleIf:({options:e})=>(e==null?void 0:e.multiselect)!==!1},{key:"display.all",control:{type:"switch",label:"Show 'select all'",default:!0}},{key:"mode",control:{type:"switch",label:"Display as buttons",default:!1,fromOptionValue:e=>e==="button",toOptionValue:e=>e?"button":"default"}},{key:"color",control:{type:"color-picker",label:"Color",default:({theme:e})=>t.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>t.getThemeMainColorResetLabel(e,l,"color"),extraLabelHasClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelHasClickAction(e,l,"color"),extraLabelClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelClickAction(e,l,"color")},visibleIf:({options:e})=>(e==null?void 0:e.mode)==="button"},{key:"sort.direction",control:{type:"picker",label:"Ordering",default:"asc",enum:["asc","desc"]}}]},{key:"layout",type:"group",open:!0,children:[{key:"layout.alignment",control:{type:"picker",label:"Alignment",default:"vertical",enum:["vertical","horizontal","table"]}},{key:"table.rowheight",control:{type:"number-field",label:"Row height",default:24,min:0,max:999,step:1},visibleIf:({options:e})=>{var l;return(e==null?void 0:e.mode)!=="button"&&((l=e==null?void 0:e.layout)==null?void 0:l.alignment)!=="horizontal"}},{key:"table.columns",control:{type:"number-field",label:"Number of columns",default:2,min:1,max:10},visibleIf:({options:e})=>{var l;return((l=e==null?void 0:e.layout)==null?void 0:l.alignment)==="table"}},{key:"horizontal.width",control:{type:"number-field",label:"Width",default:175,min:0,max:999,step:1},visibleIf:({options:e})=>{var l;return((l=e==null?void 0:e.layout)==null?void 0:l.alignment)==="horizontal"}}]},{key:"padding",type:"group",open:!1,children:[{key:"padding.left",control:{label:"Padding left",type:"number-field",default:16,min:0,max:100,step:1}},{key:"padding.right",control:{label:"Padding right",type:"number-field",default:16,min:0,max:100,step:1}}]}];exports.default=a;
@@ -17,7 +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
- const a = [
20
+ import { g as t, a as o, b as a, c as r } from "./helpers-DqqxcHaY.js";
21
+ const n = [
21
22
  {
22
23
  key: "general",
23
24
  type: "group",
@@ -36,29 +37,10 @@ const a = [
36
37
  control: {
37
38
  type: "color-picker",
38
39
  label: "Slider color",
39
- default: (n, i, o) => {
40
- var l;
41
- return (o == null ? void 0 : o.mainColor) ?? ((l = o == null ? void 0 : o.colors) == null ? void 0 : l[0]);
42
- },
43
- extraLabel: (n, i, o) => {
44
- var r;
45
- const l = (o == null ? void 0 : o.mainColor) ?? ((r = o == null ? void 0 : o.colors) == null ? void 0 : r[0]);
46
- if (l && n.color !== l)
47
- return "reset";
48
- },
49
- extraLabelHasClickAction: (n, i, o) => {
50
- var r;
51
- const l = (o == null ? void 0 : o.mainColor) ?? ((r = o == null ? void 0 : o.colors) == null ? void 0 : r[0]);
52
- return !!(l && n.color !== l);
53
- },
54
- extraLabelClickAction: (n, i, o) => {
55
- var r;
56
- const l = { ...n };
57
- return l.color = (o == null ? void 0 : o.mainColor) ?? ((r = o == null ? void 0 : o.colors) == null ? void 0 : r[0]), {
58
- value: l.color,
59
- options: l
60
- };
61
- }
40
+ default: ({ theme: e }) => r(e),
41
+ extraLabel: ({ options: e, theme: l }) => a(e, l, "color"),
42
+ extraLabelHasClickAction: ({ options: e, theme: l }) => o(e, l, "color"),
43
+ extraLabelClickAction: ({ options: e, theme: l }) => t(e, l, "color")
62
44
  }
63
45
  }
64
46
  ]
@@ -94,5 +76,5 @@ const a = [
94
76
  }
95
77
  ];
96
78
  export {
97
- a as default
79
+ n as default
98
80
  };
@@ -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 t=require("./helpers-CKo1Fkek.cjs"),o=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"color",control:{type:"color-picker",label:"Slider color",default:({theme:e})=>t.getThemeMainColor(e),extraLabel:({options:e,theme:l})=>t.getThemeMainColorResetLabel(e,l,"color"),extraLabelHasClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelHasClickAction(e,l,"color"),extraLabelClickAction:({options:e,theme:l})=>t.getThemeMainColorExtraLabelClickAction(e,l,"color")}}]},{key:"padding",type:"group",open:!0,children:[{key:"padding.left",control:{label:"Padding left",type:"number-field",default:16,min:0,max:100,step:1}},{key:"padding.right",control:{label:"Padding right",type:"number-field",default:16,min:0,max:100,step:1}}]}];exports.default=o;
@@ -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 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:!1}},{key:"display.labels",control:{type:"switch",label:"Show labels",default:!0}}]},{key:"slices",type:"group",open:!0,children:[{key:"roundedCorners",control:{type:"slider",label:"Rounded corners",default:8,min:0,max:24,step:1,extraLabel:({options:r,theme:e})=>{var l;if(typeof((l=e==null?void 0:e.itemSpecific)==null?void 0:l.rounding)=="number")return typeof(r==null?void 0:r.roundedCorners)!="number"?"auto":"reset"},extraLabelHasClickAction:({options:r,theme:e})=>{var l;return!(typeof((l=e==null?void 0:e.itemSpecific)==null?void 0:l.rounding)!="number"||typeof(r==null?void 0:r.roundedCorners)!="number")},extraLabelClickAction:({options:r})=>{const e={...r};return(e==null?void 0:e.roundedCorners)!==void 0&&delete e.roundedCorners,{value:null,options:e}}}},{key:"internalPadding",control:{type:"slider",label:"Internal padding",default:5,min:0,max:20,step:1,extraLabel:({options:r,theme:e})=>{var l;if(typeof((l=e==null?void 0:e.itemSpecific)==null?void 0:l.padding)=="number")return typeof(r==null?void 0:r.internalPadding)!="number"?"auto":"reset"},extraLabelHasClickAction:({options:r,theme:e})=>{var l;return!(typeof((l=e==null?void 0:e.itemSpecific)==null?void 0:l.padding)!="number"||typeof(r==null?void 0:r.internalPadding)!="number")},extraLabelClickAction:({options:r})=>{const e={...r};return(e==null?void 0:e.internalPadding)!==void 0&&delete e.internalPadding,{value:null,options:e}}}}]},{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:r})=>{var e;return(e=r==null?void 0:r.display)==null?void 0:e.legend}}];exports.default=t;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- const n = [
20
+ const t = [
21
21
  {
22
22
  key: "general",
23
23
  type: "group",
@@ -63,18 +63,18 @@ const n = [
63
63
  min: 0,
64
64
  max: 24,
65
65
  step: 1,
66
- extraLabel: (e, t, l) => {
67
- var r;
68
- if (typeof ((r = l == null ? void 0 : l.itemSpecific) == null ? void 0 : r.rounding) == "number")
69
- return typeof (e == null ? void 0 : e.roundedCorners) != "number" ? "auto" : "reset";
66
+ extraLabel: ({ options: r, theme: e }) => {
67
+ var l;
68
+ if (typeof ((l = e == null ? void 0 : e.itemSpecific) == null ? void 0 : l.rounding) == "number")
69
+ return typeof (r == null ? void 0 : r.roundedCorners) != "number" ? "auto" : "reset";
70
70
  },
71
- extraLabelHasClickAction: (e, t, l) => {
72
- var r;
73
- return !(typeof ((r = l == null ? void 0 : l.itemSpecific) == null ? void 0 : r.rounding) != "number" || typeof (e == null ? void 0 : e.roundedCorners) != "number");
71
+ extraLabelHasClickAction: ({ options: r, theme: e }) => {
72
+ var l;
73
+ return !(typeof ((l = e == null ? void 0 : e.itemSpecific) == null ? void 0 : l.rounding) != "number" || typeof (r == null ? void 0 : r.roundedCorners) != "number");
74
74
  },
75
- extraLabelClickAction: (e, t, l) => {
76
- const r = { ...e };
77
- return (r == null ? void 0 : r.roundedCorners) !== void 0 && delete r.roundedCorners, { value: null, options: r };
75
+ extraLabelClickAction: ({ options: r }) => {
76
+ const e = { ...r };
77
+ return (e == null ? void 0 : e.roundedCorners) !== void 0 && delete e.roundedCorners, { value: null, options: e };
78
78
  }
79
79
  }
80
80
  },
@@ -87,18 +87,18 @@ const n = [
87
87
  min: 0,
88
88
  max: 20,
89
89
  step: 1,
90
- extraLabel: (e, t, l) => {
91
- var r;
92
- if (typeof ((r = l == null ? void 0 : l.itemSpecific) == null ? void 0 : r.padding) == "number")
93
- return typeof (e == null ? void 0 : e.internalPadding) != "number" ? "auto" : "reset";
90
+ extraLabel: ({ options: r, theme: e }) => {
91
+ var l;
92
+ if (typeof ((l = e == null ? void 0 : e.itemSpecific) == null ? void 0 : l.padding) == "number")
93
+ return typeof (r == null ? void 0 : r.internalPadding) != "number" ? "auto" : "reset";
94
94
  },
95
- extraLabelHasClickAction: (e, t, l) => {
96
- var r;
97
- return !(typeof ((r = l == null ? void 0 : l.itemSpecific) == null ? void 0 : r.padding) != "number" || typeof (e == null ? void 0 : e.internalPadding) != "number");
95
+ extraLabelHasClickAction: ({ options: r, theme: e }) => {
96
+ var l;
97
+ return !(typeof ((l = e == null ? void 0 : e.itemSpecific) == null ? void 0 : l.padding) != "number" || typeof (r == null ? void 0 : r.internalPadding) != "number");
98
98
  },
99
- extraLabelClickAction: (e, t, l) => {
100
- const r = { ...e };
101
- return (r == null ? void 0 : r.internalPadding) !== void 0 && delete r.internalPadding, { value: null, options: r };
99
+ extraLabelClickAction: ({ options: r }) => {
100
+ const e = { ...r };
101
+ return (e == null ? void 0 : e.internalPadding) !== void 0 && delete e.internalPadding, { value: null, options: e };
102
102
  }
103
103
  }
104
104
  }
@@ -114,26 +114,26 @@ const n = [
114
114
  control: {
115
115
  label: "Position",
116
116
  type: "position-picker",
117
- default: "top-right",
117
+ default: "topRight",
118
118
  enum: [
119
- "top-left",
119
+ "topLeft",
120
120
  "top",
121
- "top-right",
121
+ "topRight",
122
122
  "right",
123
- "bottom-right",
123
+ "bottomRight",
124
124
  "bottom",
125
- "bottom-left",
125
+ "bottomLeft",
126
126
  "left"
127
127
  ]
128
128
  }
129
129
  }
130
130
  ],
131
- visibleIf: (e) => {
132
- var t;
133
- return (t = e == null ? void 0 : e.display) == null ? void 0 : t.legend;
131
+ visibleIf: ({ options: r }) => {
132
+ var e;
133
+ return (e = r == null ? void 0 : r.display) == null ? void 0 : e.legend;
134
134
  }
135
135
  }
136
136
  ];
137
137
  export {
138
- n as default
138
+ t as default
139
139
  };
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- const e = {
20
+ const l = {
21
21
  name: "Tekst",
22
22
  groups: {
23
23
  display: {
@@ -34,5 +34,5 @@ const e = {
34
34
  }
35
35
  };
36
36
  export {
37
- e as default
37
+ l as default
38
38
  };
@@ -17,13 +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
- const o = (l, a) => {
21
- var r, e;
22
- return Array.isArray(a) && (a == null ? void 0 : a.length) > 0 ? ((e = (r = a == null ? void 0 : a.find((n) => (n == null ? void 0 : n.name) === "color")) == null ? void 0 : r.content) == null ? void 0 : e.length) > 0 : !1;
23
- }, i = (l, a) => {
24
- var r, e;
25
- return Array.isArray(a) && (a == null ? void 0 : a.length) > 0 ? ((e = (r = a == null ? void 0 : a.find((n) => (n == null ? void 0 : n.name) === "color")) == null ? void 0 : r.content) == null ? void 0 : e.length) === 0 || !(a != null && a.some((n) => (n == null ? void 0 : n.name) === "color")) : !0;
26
- }, t = [
20
+ import { g as i, a as o, b as c, c as d } from "./helpers-DqqxcHaY.js";
21
+ const t = ({ slots: e }) => {
22
+ var r, a;
23
+ return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? ((a = (r = e == null ? void 0 : e.find((l) => (l == null ? void 0 : l.name) === "color")) == null ? void 0 : r.content) == null ? void 0 : a.length) > 0 : !1;
24
+ }, n = ({ slots: e }) => {
25
+ var r, a;
26
+ return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? ((a = (r = e == null ? void 0 : e.find((l) => (l == null ? void 0 : l.name) === "color")) == null ? void 0 : r.content) == null ? void 0 : a.length) === 0 || !(e != null && e.some((l) => (l == null ? void 0 : l.name) === "color")) : !0;
27
+ }, f = [
27
28
  {
28
29
  key: "general",
29
30
  type: "group",
@@ -44,7 +45,7 @@ const o = (l, a) => {
44
45
  label: "Legend",
45
46
  default: !0
46
47
  },
47
- visibleIf: o
48
+ visibleIf: t
48
49
  },
49
50
  {
50
51
  key: "display.modeOption",
@@ -53,7 +54,7 @@ const o = (l, a) => {
53
54
  label: "Mode option",
54
55
  default: !1
55
56
  },
56
- visibleIf: o
57
+ visibleIf: t
57
58
  },
58
59
  {
59
60
  key: "display.labels",
@@ -87,40 +88,21 @@ const o = (l, a) => {
87
88
  label: "Color area by category",
88
89
  default: !0
89
90
  },
90
- visibleIf: i
91
+ visibleIf: n
91
92
  },
92
93
  {
93
94
  key: "color",
94
95
  control: {
95
96
  type: "color-picker",
96
97
  label: "Area color",
97
- default: (l, a, r) => {
98
- var e;
99
- return (r == null ? void 0 : r.mainColor) ?? ((e = r == null ? void 0 : r.colors) == null ? void 0 : e[0]);
100
- },
101
- extraLabel: (l, a, r) => {
102
- var n;
103
- const e = (r == null ? void 0 : r.mainColor) ?? ((n = r == null ? void 0 : r.colors) == null ? void 0 : n[0]);
104
- if (e && l.color !== e)
105
- return "reset";
106
- },
107
- extraLabelHasClickAction: (l, a, r) => {
108
- var n;
109
- const e = (r == null ? void 0 : r.mainColor) ?? ((n = r == null ? void 0 : r.colors) == null ? void 0 : n[0]);
110
- return !!(e && l.color !== e);
111
- },
112
- extraLabelClickAction: (l, a, r) => {
113
- var n;
114
- const e = { ...l };
115
- return e.color = (r == null ? void 0 : r.mainColor) ?? ((n = r == null ? void 0 : r.colors) == null ? void 0 : n[0]), {
116
- value: e.color,
117
- options: e
118
- };
119
- }
98
+ default: ({ theme: e }) => d(e),
99
+ extraLabel: ({ options: e, theme: r }) => c(e, r, "color"),
100
+ extraLabelHasClickAction: ({ options: e, theme: r }) => o(e, r, "color"),
101
+ extraLabelClickAction: ({ options: e, theme: r }) => i(e, r, "color")
120
102
  },
121
- visibleIf: (l, a) => {
122
- var r;
123
- return ((r = l == null ? void 0 : l.categories) == null ? void 0 : r.colored) === !1 && i(l, a);
103
+ visibleIf: ({ options: e, slots: r }) => {
104
+ var a;
105
+ return ((a = e == null ? void 0 : e.categories) == null ? void 0 : a.colored) === !1 && n({ slots: r });
124
106
  }
125
107
  },
126
108
  {
@@ -141,18 +123,18 @@ const o = (l, a) => {
141
123
  min: 0,
142
124
  max: 24,
143
125
  step: 1,
144
- extraLabel: (l, a, r) => {
145
- var e;
146
- if (typeof ((e = r == null ? void 0 : r.itemSpecific) == null ? void 0 : e.rounding) == "number")
147
- return typeof (l == null ? void 0 : l.roundedCorners) != "number" ? "auto" : "reset";
126
+ extraLabel: ({ options: e, theme: r }) => {
127
+ var a;
128
+ if (typeof ((a = r == null ? void 0 : r.itemSpecific) == null ? void 0 : a.rounding) == "number")
129
+ return typeof (e == null ? void 0 : e.roundedCorners) != "number" ? "auto" : "reset";
148
130
  },
149
- extraLabelHasClickAction: (l, a, r) => {
150
- var e;
151
- return !(typeof ((e = r == null ? void 0 : r.itemSpecific) == null ? void 0 : e.rounding) != "number" || typeof (l == null ? void 0 : l.roundedCorners) != "number");
131
+ extraLabelHasClickAction: ({ options: e, theme: r }) => {
132
+ var a;
133
+ return !(typeof ((a = r == null ? void 0 : r.itemSpecific) == null ? void 0 : a.rounding) != "number" || typeof (e == null ? void 0 : e.roundedCorners) != "number");
152
134
  },
153
- extraLabelClickAction: (l, a, r) => {
154
- const e = { ...l };
155
- return (e == null ? void 0 : e.roundedCorners) !== void 0 && delete e.roundedCorners, { value: null, options: e };
135
+ extraLabelClickAction: ({ options: e }) => {
136
+ const r = { ...e };
137
+ return (r == null ? void 0 : r.roundedCorners) !== void 0 && delete r.roundedCorners, { value: null, options: r };
156
138
  }
157
139
  }
158
140
  },
@@ -165,18 +147,18 @@ const o = (l, a) => {
165
147
  min: 0,
166
148
  max: 20,
167
149
  step: 1,
168
- extraLabel: (l, a, r) => {
169
- var e;
170
- if (typeof ((e = r == null ? void 0 : r.itemSpecific) == null ? void 0 : e.padding) == "number")
171
- return typeof (l == null ? void 0 : l.padding) != "number" ? "auto" : "reset";
150
+ extraLabel: ({ options: e, theme: r }) => {
151
+ var a;
152
+ if (typeof ((a = r == null ? void 0 : r.itemSpecific) == null ? void 0 : a.padding) == "number")
153
+ return typeof (e == null ? void 0 : e.padding) != "number" ? "auto" : "reset";
172
154
  },
173
- extraLabelHasClickAction: (l, a, r) => {
174
- var e;
175
- return !(typeof ((e = r == null ? void 0 : r.itemSpecific) == null ? void 0 : e.padding) != "number" || typeof (l == null ? void 0 : l.padding) != "number");
155
+ extraLabelHasClickAction: ({ options: e, theme: r }) => {
156
+ var a;
157
+ return !(typeof ((a = r == null ? void 0 : r.itemSpecific) == null ? void 0 : a.padding) != "number" || typeof (e == null ? void 0 : e.padding) != "number");
176
158
  },
177
- extraLabelClickAction: (l, a, r) => {
178
- const e = { ...l };
179
- return (e == null ? void 0 : e.padding) !== void 0 && delete e.padding, { value: null, options: e };
159
+ extraLabelClickAction: ({ options: e }) => {
160
+ const r = { ...e };
161
+ return (r == null ? void 0 : r.padding) !== void 0 && delete r.padding, { value: null, options: r };
180
162
  }
181
163
  }
182
164
  }
@@ -192,23 +174,23 @@ const o = (l, a) => {
192
174
  control: {
193
175
  label: "Position",
194
176
  type: "position-picker",
195
- default: "top-right",
177
+ default: "topRight",
196
178
  enum: [
197
- "top-left",
179
+ "topLeft",
198
180
  "top",
199
- "top-right",
181
+ "topRight",
200
182
  "right",
201
- "bottom-right",
183
+ "bottomRight",
202
184
  "bottom",
203
- "bottom-left",
185
+ "bottomLeft",
204
186
  "left"
205
187
  ]
206
188
  }
207
189
  }
208
190
  ],
209
- visibleIf: o
191
+ visibleIf: t
210
192
  }
211
193
  ];
212
194
  export {
213
- t as default
195
+ f as default
214
196
  };
@@ -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 t=require("./helpers-CKo1Fkek.cjs"),n=({slots:e})=>{var r,l;return Array.isArray(e)&&(e==null?void 0:e.length)>0?((l=(r=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="color"))==null?void 0:r.content)==null?void 0:l.length)>0:!1},i=({slots:e})=>{var r,l;return Array.isArray(e)&&(e==null?void 0:e.length)>0?((l=(r=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="color"))==null?void 0:r.content)==null?void 0:l.length)===0||!(e!=null&&e.some(a=>(a==null?void 0:a.name)==="color")):!0},o=[{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:n},{key:"display.modeOption",control:{type:"switch",label:"Mode option",default:!1},visibleIf:n},{key:"display.labels",control:{type:"switch",label:"Show labels",default:!0}},{key:"labels.autoSize",control:{type:"switch",label:"Auto size labels",default:!1}},{key:"display.values",control:{type:"picker",label:"Show values",default:"none",enum:["none","percentage","absolute"]}},{key:"categories.colored",control:{type:"switch",label:"Color area by category",default:!0},visibleIf:i},{key:"color",control:{type:"color-picker",label:"Area color",default:({theme:e})=>t.getThemeMainColor(e),extraLabel:({options:e,theme:r})=>t.getThemeMainColorResetLabel(e,r,"color"),extraLabelHasClickAction:({options:e,theme:r})=>t.getThemeMainColorExtraLabelHasClickAction(e,r,"color"),extraLabelClickAction:({options:e,theme:r})=>t.getThemeMainColorExtraLabelClickAction(e,r,"color")},visibleIf:({options:e,slots:r})=>{var l;return((l=e==null?void 0:e.categories)==null?void 0:l.colored)===!1&&i({slots:r})}},{key:"mode",control:{type:"picker",label:"Mode",default:"squarify",enum:["squarify","slice","dice","slice-dice"]}},{key:"roundedCorners",control:{type:"slider",label:"Rounded corners",default:8,min:0,max:24,step:1,extraLabel:({options:e,theme:r})=>{var l;if(typeof((l=r==null?void 0:r.itemSpecific)==null?void 0:l.rounding)=="number")return typeof(e==null?void 0:e.roundedCorners)!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:r})=>{var l;return!(typeof((l=r==null?void 0:r.itemSpecific)==null?void 0:l.rounding)!="number"||typeof(e==null?void 0:e.roundedCorners)!="number")},extraLabelClickAction:({options:e})=>{const r={...e};return(r==null?void 0:r.roundedCorners)!==void 0&&delete r.roundedCorners,{value:null,options:r}}}},{key:"padding",control:{type:"slider",label:"Internal padding",default:5,min:0,max:20,step:1,extraLabel:({options:e,theme:r})=>{var l;if(typeof((l=r==null?void 0:r.itemSpecific)==null?void 0:l.padding)=="number")return typeof(e==null?void 0:e.padding)!="number"?"auto":"reset"},extraLabelHasClickAction:({options:e,theme:r})=>{var l;return!(typeof((l=r==null?void 0:r.itemSpecific)==null?void 0:l.padding)!="number"||typeof(e==null?void 0:e.padding)!="number")},extraLabelClickAction:({options:e})=>{const r={...e};return(r==null?void 0:r.padding)!==void 0&&delete r.padding,{value:null,options:r}}}}]},{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:n}];exports.default=o;
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=[{key:"general",type:"group",open:!0,children:[{key:"type",control:{type:"picker",label:"Type",default:"web",enum:["web","youtube"]}},{key:"youtube",control:{type:"multi-language-field",placeholder:"Enter the youtube URL"},visibleIf:e=>(e==null?void 0:e.type)==="youtube"},{key:"ogg",control:{type:"multi-language-field",label:"ogg:",placeholder:"Enter the .ogg file URL"},visibleIf:e=>(e==null?void 0:e.type)!=="youtube"},{key:"mp4",control:{type:"multi-language-field",label:"mp4:",placeholder:"Enter the .mp4 file URL"},visibleIf:e=>(e==null?void 0:e.type)!=="youtube"},{key:"webm",control:{type:"multi-language-field",label:"webm:",placeholder:"Enter the .webm file URL"},visibleIf:e=>(e==null?void 0:e.type)!=="youtube"},{type:"divider"},{key:"showControls",control:{type:"switch",label:"Show controls",default:!0}},{key:"autoPlay",control:{type:"switch",label:"Auto play",default:!1}},{key:"loop",control:{type:"switch",label:"Loop",default:!1}},{key:"backdropColor",control:{type:"color-picker",label:"Backdrop color",default:"#000000"}}]},{key:"image",type:"group",open:!0,children:[{key:"poster.show",control:{type:"switch",label:"Show image on load",default:!1}},{key:"poster.url",control:{type:"multi-language-field",label:"Poster URL",placeholder:"Enter image URL"},visibleIf:e=>{var l;return(l=e==null?void 0:e.poster)==null?void 0:l.show}}]}];exports.default=t;
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=[{key:"general",type:"group",open:!0,children:[{key:"type",control:{type:"picker",label:"Type",default:"web",enum:["web","youtube"]}},{key:"youtube",control:{type:"multi-language-field",placeholder:"Enter the youtube URL"},visibleIf:({options:e})=>(e==null?void 0:e.type)==="youtube"},{key:"ogg",control:{type:"multi-language-field",label:"ogg:",placeholder:"Enter the .ogg file URL"},visibleIf:({options:e})=>(e==null?void 0:e.type)!=="youtube"},{key:"mp4",control:{type:"multi-language-field",label:"mp4:",placeholder:"Enter the .mp4 file URL"},visibleIf:({options:e})=>(e==null?void 0:e.type)!=="youtube"},{key:"webm",control:{type:"multi-language-field",label:"webm:",placeholder:"Enter the .webm file URL"},visibleIf:({options:e})=>(e==null?void 0:e.type)!=="youtube"},{type:"divider"},{key:"showControls",control:{type:"switch",label:"Show controls",default:!0}},{key:"autoPlay",control:{type:"switch",label:"Auto play",default:!1}},{key:"loop",control:{type:"switch",label:"Loop",default:!1}},{key:"backdropColor",control:{type:"color-picker",label:"Backdrop color",default:"#000000"}}]},{key:"image",type:"group",open:!0,children:[{key:"poster.show",control:{type:"switch",label:"Show image on load",default:!1}},{key:"poster.url",control:{type:"multi-language-field",label:"Poster URL",placeholder:"Enter image URL"},visibleIf:({options:e})=>{var l;return(l=e==null?void 0:e.poster)==null?void 0:l.show}}]}];exports.default=t;