@luzmo/analytics-components-kit 1.0.1-alpha.17 → 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 (173) 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-PVvKLc1P.js +133 -0
  29. package/components/conditional-number-options.de-BJcjBZY1.js +74 -0
  30. package/components/conditional-number-options.de-CFnufi0r.cjs +20 -0
  31. package/components/conditional-number-options.en-WSrIzRGJ.js +74 -0
  32. package/components/conditional-number-options.en-Wd-0YtdE.cjs +20 -0
  33. package/components/conditional-number-options.es-BKqT0zog.js +74 -0
  34. package/components/conditional-number-options.es-BTDTe5SF.cjs +20 -0
  35. package/components/conditional-number-options.fr-CZ-9jzPm.cjs +20 -0
  36. package/components/conditional-number-options.fr-D2r7Azy8.js +74 -0
  37. package/components/conditional-number-options.nl-CfRYL6o1.cjs +20 -0
  38. package/components/conditional-number-options.nl-pkRI1tLZ.js +74 -0
  39. package/components/{donut-chart-options.config-DuJFyp4z.js → donut-chart-options.config-NPwNtLDW.js} +23 -20
  40. package/components/donut-chart-options.config-bqcKuyIu.cjs +20 -0
  41. package/components/{dropdown-filter-options.config-BxjR1xAD.js → dropdown-filter-options.config-D9dvPypF.js} +5 -5
  42. package/components/{dropdown-filter-options.config-C3YEGK-5.cjs → dropdown-filter-options.config-DS-MORmq.cjs} +1 -1
  43. package/components/edit-item/index.cjs +14 -14
  44. package/components/edit-item/index.js +79 -55
  45. package/components/edit-option/helpers/get-default-value.d.ts +1 -0
  46. package/components/edit-option/index.cjs +98 -98
  47. package/components/edit-option/index.js +335 -329
  48. package/components/edit-option-action-button-group/index.cjs +7 -7
  49. package/components/edit-option-action-button-group/index.js +56 -54
  50. package/components/edit-option-position-picker/edit-option-position-picker.d.ts +1 -1
  51. package/components/edit-option-position-picker/index.cjs +2 -2
  52. package/components/edit-option-position-picker/index.js +4 -6
  53. package/components/funnel-chart-options.config-CrlHKd36.js +184 -0
  54. package/components/funnel-chart-options.config-hw_GXs4s.cjs +20 -0
  55. package/components/funnel-chart-options.de-CuVFMJUC.js +93 -0
  56. package/components/funnel-chart-options.de-DRAGes5d.cjs +20 -0
  57. package/components/funnel-chart-options.en-CvPbJr1r.js +93 -0
  58. package/components/funnel-chart-options.en-b6BBKfZh.cjs +20 -0
  59. package/components/funnel-chart-options.es-DfDw5S5g.cjs +20 -0
  60. package/components/funnel-chart-options.es-_M7sC4m6.js +93 -0
  61. package/components/funnel-chart-options.fr-DWkPkC47.cjs +20 -0
  62. package/components/funnel-chart-options.fr-DvnZ-XbE.js +93 -0
  63. package/components/funnel-chart-options.nl-BdAL0ZJP.cjs +20 -0
  64. package/components/funnel-chart-options.nl-C72_FTNm.js +93 -0
  65. package/components/helpers-CKo1Fkek.cjs +20 -0
  66. package/components/helpers-DqqxcHaY.js +51 -0
  67. package/components/{line-chart-options.config-CEUJYNt7.js → line-chart-options.config-BtfCTjNr.js} +32 -31
  68. package/components/line-chart-options.config-Cb7txmmw.cjs +20 -0
  69. package/components/radar-chart-options.config-Ck7skfge.cjs +20 -0
  70. package/components/{radar-chart-options.config-gKHFbC63.js → radar-chart-options.config-DFxna7UF.js} +25 -43
  71. package/components/sankey-diagram-options.config-DJqI2dMh.cjs +20 -0
  72. package/components/{sankey-diagram-options.config-ylhZhJ6H.js → sankey-diagram-options.config-Dj9g2BOp.js} +16 -26
  73. package/components/{search-filter-options.config-C9CoGS9f.cjs → search-filter-options.config-BCaDlYqZ.cjs} +1 -1
  74. package/components/{search-filter-options.config-baX2Vdul.js → search-filter-options.config-BE3JhR-F.js} +1 -1
  75. package/components/{slicer-filter-options.config-A3YK_KZn.js → slicer-filter-options.config-BArPA7Mb.js} +20 -38
  76. package/components/slicer-filter-options.config-BW44EPso.cjs +20 -0
  77. package/components/{slider-filter-options.config-C-zvfTNl.js → slider-filter-options.config-BIKIbGbN.js} +7 -25
  78. package/components/slider-filter-options.config-zuWa8Rtt.cjs +20 -0
  79. package/components/sunburst-chart-options.config-BjtKxThH.cjs +20 -0
  80. package/components/{sunburst-chart-options.config-VZqDthcz.js → sunburst-chart-options.config-BxkJfdrU.js} +30 -30
  81. package/components/{textobject-options.nl-V03mmGmH.js → text-options.nl-C8sliUgH.js} +2 -2
  82. package/components/{treemap-chart-options.config-f8L8KfDj.js → treemap-chart-options.config-MyCTS35Y.js} +45 -63
  83. package/components/treemap-chart-options.config-PwXbMhHZ.cjs +20 -0
  84. package/components/{video-options.config-BBDHSf6_.cjs → video-options.config-CGsDTwHc.cjs} +1 -1
  85. package/components/{video-options.config-CbtNZAEK.js → video-options.config-Dk36zJ1B.js} +5 -5
  86. package/components/wordcloud-chart-options.config-Cv9l0THs.cjs +20 -0
  87. package/components/{wordcloud-chart-options.config-CQs8YFfd.js → wordcloud-chart-options.config-Dq7TF0sb.js} +10 -28
  88. package/custom-elements.json +31 -3
  89. package/item-definitions/area-chart/area-chart-options.config.d.ts +27 -6
  90. package/item-definitions/bar-chart/bar-chart-options.config.d.ts +13 -13
  91. package/item-definitions/box-plot/box-plot-options.config.d.ts +16 -16
  92. package/item-definitions/bubble-chart/bubble-chart-options.config.d.ts +7 -7
  93. package/item-definitions/bubble-chart/i18n/bubble-chart-options.de.d.ts +5 -0
  94. package/item-definitions/bubble-chart/i18n/bubble-chart-options.en.d.ts +5 -0
  95. package/item-definitions/bubble-chart/i18n/bubble-chart-options.es.d.ts +5 -0
  96. package/item-definitions/bubble-chart/i18n/bubble-chart-options.fr.d.ts +5 -0
  97. package/item-definitions/bubble-chart/i18n/bubble-chart-options.nl.d.ts +5 -0
  98. package/item-definitions/bullet-chart/bullet-chart-options.config.d.ts +4 -4
  99. package/item-definitions/choropleth-map/choropleth-map-options.config.d.ts +1 -1
  100. package/item-definitions/circular-gauge/{circular-guage-options.config.d.ts → circular-gauge-options.config.d.ts} +4 -4
  101. package/item-definitions/column-chart/column-chart-options.config.d.ts +13 -13
  102. package/item-definitions/conditional-number/conditional-number-options.config.d.ts +135 -0
  103. package/item-definitions/conditional-number/i18n/conditional-number-options.de.d.ts +53 -0
  104. package/item-definitions/conditional-number/i18n/conditional-number-options.en.d.ts +53 -0
  105. package/item-definitions/conditional-number/i18n/conditional-number-options.es.d.ts +53 -0
  106. package/item-definitions/conditional-number/i18n/conditional-number-options.fr.d.ts +53 -0
  107. package/item-definitions/conditional-number/i18n/conditional-number-options.nl.d.ts +53 -0
  108. package/item-definitions/donut-chart/donut-chart-options.config.d.ts +8 -7
  109. package/item-definitions/dropdown-filter/dropdown-filter-options.config.d.ts +2 -2
  110. package/item-definitions/funnel-chart/funnel-chart-options.config.d.ts +88 -0
  111. package/item-definitions/funnel-chart/i18n/funnel-chart-options.de.d.ts +72 -0
  112. package/item-definitions/funnel-chart/i18n/funnel-chart-options.en.d.ts +72 -0
  113. package/item-definitions/funnel-chart/i18n/funnel-chart-options.es.d.ts +72 -0
  114. package/item-definitions/funnel-chart/i18n/funnel-chart-options.fr.d.ts +72 -0
  115. package/item-definitions/funnel-chart/i18n/funnel-chart-options.nl.d.ts +72 -0
  116. package/item-definitions/helpers.d.ts +7 -0
  117. package/item-definitions/line-chart/line-chart-options.config.d.ts +31 -7
  118. package/item-definitions/radar-chart/radar-chart-options.config.d.ts +8 -8
  119. package/item-definitions/sankey-diagram/sankey-diagram-options.config.d.ts +5 -5
  120. package/item-definitions/search-filter/search-filter-options.config.d.ts +1 -1
  121. package/item-definitions/slicer-filter/slicer-filter-options.config.d.ts +8 -8
  122. package/item-definitions/slider-filter/slider-filter-options.config.d.ts +4 -4
  123. package/item-definitions/sunburst-chart/sunburst-chart-options.config.d.ts +4 -4
  124. package/item-definitions/treemap-chart/treemap-chart-options.config.d.ts +10 -10
  125. package/item-definitions/video/video-options.config.d.ts +3 -3
  126. package/item-definitions/wordcloud-chart/wordcloud-chart-options.config.d.ts +5 -5
  127. package/package.json +1 -1
  128. package/components/area-chart-options.config-DMfRioZx.cjs +0 -20
  129. package/components/bar-chart-options.config-C7BGg5sh.cjs +0 -20
  130. package/components/bar-chart-options.config-CQfpV1Rx.js +0 -181
  131. package/components/box-plot-options.config-BsFp2CBS.cjs +0 -20
  132. package/components/bubble-chart-options.config-DL5Xl6Ad.cjs +0 -20
  133. package/components/bullet-chart-options.config-BO22R7gx.cjs +0 -20
  134. package/components/circular-guage-options.config-Dvg5quJ9.cjs +0 -20
  135. package/components/column-chart-options.config-DomUPYPM.cjs +0 -20
  136. package/components/donut-chart-options.config-kUyTbAtZ.cjs +0 -20
  137. package/components/line-chart-options.config-DNGyRAvG.cjs +0 -20
  138. package/components/radar-chart-options.config-DUXOzdbl.cjs +0 -20
  139. package/components/sankey-diagram-options.config-CG5S1OI3.cjs +0 -20
  140. package/components/slicer-filter-options.config-DQunaj8q.cjs +0 -20
  141. package/components/slider-filter-options.config-DF_sAElS.cjs +0 -20
  142. package/components/sunburst-chart-options.config-CEfAd1RQ.cjs +0 -20
  143. package/components/treemap-chart-options.config-Dc2UNcGG.cjs +0 -20
  144. package/components/wordcloud-chart-options.config-BLvcDvxT.cjs +0 -20
  145. /package/components/{imageobject-options.de-CBkRiIbw.cjs → image-options.de-CBkRiIbw.cjs} +0 -0
  146. /package/components/{imageobject-options.de-CYVnqdL_.js → image-options.de-CYVnqdL_.js} +0 -0
  147. /package/components/{imageobject-options.en-BMmV-4O-.js → image-options.en-BMmV-4O-.js} +0 -0
  148. /package/components/{imageobject-options.en-DflcU_2H.cjs → image-options.en-DflcU_2H.cjs} +0 -0
  149. /package/components/{imageobject-options.es-CRbNv384.cjs → image-options.es-CRbNv384.cjs} +0 -0
  150. /package/components/{imageobject-options.es-UN5rmaEt.js → image-options.es-UN5rmaEt.js} +0 -0
  151. /package/components/{imageobject-options.fr-DRE3zImB.js → image-options.fr-DRE3zImB.js} +0 -0
  152. /package/components/{imageobject-options.fr-ycH7UoX5.cjs → image-options.fr-ycH7UoX5.cjs} +0 -0
  153. /package/components/{imageobject-options.nl-D20hki6i.js → image-options.nl-D20hki6i.js} +0 -0
  154. /package/components/{imageobject-options.nl-DQL45o0j.cjs → image-options.nl-DQL45o0j.cjs} +0 -0
  155. /package/components/{textobject-options.de-BjfS5RBn.js → text-options.de-BjfS5RBn.js} +0 -0
  156. /package/components/{textobject-options.de-DLr2-jBn.cjs → text-options.de-DLr2-jBn.cjs} +0 -0
  157. /package/components/{textobject-options.en-BQqHFc7M.js → text-options.en-BQqHFc7M.js} +0 -0
  158. /package/components/{textobject-options.en-LfsMtwo6.cjs → text-options.en-LfsMtwo6.cjs} +0 -0
  159. /package/components/{textobject-options.es-BLQBqlvK.cjs → text-options.es-BLQBqlvK.cjs} +0 -0
  160. /package/components/{textobject-options.es-CMB1DKq4.js → text-options.es-CMB1DKq4.js} +0 -0
  161. /package/components/{textobject-options.fr-B8x29grG.cjs → text-options.fr-B8x29grG.cjs} +0 -0
  162. /package/components/{textobject-options.fr-VPJ3bDOM.js → text-options.fr-VPJ3bDOM.js} +0 -0
  163. /package/components/{textobject-options.nl-DzglrI3i.cjs → text-options.nl-DzglrI3i.cjs} +0 -0
  164. /package/item-definitions/image/i18n/{imageobject-options.de.d.ts → image-options.de.d.ts} +0 -0
  165. /package/item-definitions/image/i18n/{imageobject-options.en.d.ts → image-options.en.d.ts} +0 -0
  166. /package/item-definitions/image/i18n/{imageobject-options.es.d.ts → image-options.es.d.ts} +0 -0
  167. /package/item-definitions/image/i18n/{imageobject-options.fr.d.ts → image-options.fr.d.ts} +0 -0
  168. /package/item-definitions/image/i18n/{imageobject-options.nl.d.ts → image-options.nl.d.ts} +0 -0
  169. /package/item-definitions/text/i18n/{textobject-options.de.d.ts → text-options.de.d.ts} +0 -0
  170. /package/item-definitions/text/i18n/{textobject-options.en.d.ts → text-options.en.d.ts} +0 -0
  171. /package/item-definitions/text/i18n/{textobject-options.es.d.ts → text-options.es.d.ts} +0 -0
  172. /package/item-definitions/text/i18n/{textobject-options.fr.d.ts → text-options.fr.d.ts} +0 -0
  173. /package/item-definitions/text/i18n/{textobject-options.nl.d.ts → text-options.nl.d.ts} +0 -0
@@ -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;
@@ -38,7 +38,7 @@ const t = [
38
38
  type: "multi-language-field",
39
39
  placeholder: "Enter the youtube URL"
40
40
  },
41
- visibleIf: (e) => (e == null ? void 0 : e.type) === "youtube"
41
+ visibleIf: ({ options: e }) => (e == null ? void 0 : e.type) === "youtube"
42
42
  },
43
43
  {
44
44
  key: "ogg",
@@ -47,7 +47,7 @@ const t = [
47
47
  label: "ogg:",
48
48
  placeholder: "Enter the .ogg file URL"
49
49
  },
50
- visibleIf: (e) => (e == null ? void 0 : e.type) !== "youtube"
50
+ visibleIf: ({ options: e }) => (e == null ? void 0 : e.type) !== "youtube"
51
51
  },
52
52
  {
53
53
  key: "mp4",
@@ -56,7 +56,7 @@ const t = [
56
56
  label: "mp4:",
57
57
  placeholder: "Enter the .mp4 file URL"
58
58
  },
59
- visibleIf: (e) => (e == null ? void 0 : e.type) !== "youtube"
59
+ visibleIf: ({ options: e }) => (e == null ? void 0 : e.type) !== "youtube"
60
60
  },
61
61
  {
62
62
  key: "webm",
@@ -65,7 +65,7 @@ const t = [
65
65
  label: "webm:",
66
66
  placeholder: "Enter the .webm file URL"
67
67
  },
68
- visibleIf: (e) => (e == null ? void 0 : e.type) !== "youtube"
68
+ visibleIf: ({ options: e }) => (e == null ? void 0 : e.type) !== "youtube"
69
69
  },
70
70
  { type: "divider" },
71
71
  {
@@ -122,7 +122,7 @@ const t = [
122
122
  label: "Poster URL",
123
123
  placeholder: "Enter image URL"
124
124
  },
125
- visibleIf: (e) => {
125
+ visibleIf: ({ options: e }) => {
126
126
  var l;
127
127
  return (l = e == null ? void 0 : e.poster) == null ? void 0 : l.show;
128
128
  }
@@ -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-CKo1Fkek.cjs"),t=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"categories.colored",control:{type:"switch",label:"Word color by category",default:!0}},{key:"color",control:{type:"color-picker",default:({theme:e})=>l.getThemeMainColor(e),extraLabel:({options:e,theme:o})=>l.getThemeMainColorResetLabel(e,o,"color"),extraLabelHasClickAction:({options:e,theme:o})=>l.getThemeMainColorExtraLabelHasClickAction(e,o,"color"),extraLabelClickAction:({options:e,theme:o})=>l.getThemeMainColorExtraLabelClickAction(e,o,"color")},visibleIf:({options:e})=>{var o;return((o=e==null?void 0:e.categories)==null?void 0:o.colored)===!1}},{key:"layout",control:{type:"radio-button-group",label:"Layout",default:"horizontal",enum:["horizontal","random"]}}]}];exports.default=t;
@@ -17,7 +17,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 n = [
20
+ import { g as l, a as t, b as a, c as r } from "./helpers-DqqxcHaY.js";
21
+ const i = [
21
22
  {
22
23
  key: "general",
23
24
  type: "group",
@@ -43,33 +44,14 @@ const n = [
43
44
  key: "color",
44
45
  control: {
45
46
  type: "color-picker",
46
- default: (l, c, o) => {
47
- var r;
48
- return (o == null ? void 0 : o.mainColor) ?? ((r = o == null ? void 0 : o.colors) == null ? void 0 : r[0]);
49
- },
50
- extraLabel: (l, c, o) => {
51
- var a;
52
- const r = (o == null ? void 0 : o.mainColor) ?? ((a = o == null ? void 0 : o.colors) == null ? void 0 : a[0]);
53
- if (r && l.color !== r)
54
- return "reset";
55
- },
56
- extraLabelHasClickAction: (l, c, o) => {
57
- var a;
58
- const r = (o == null ? void 0 : o.mainColor) ?? ((a = o == null ? void 0 : o.colors) == null ? void 0 : a[0]);
59
- return !!(r && l.color !== r);
60
- },
61
- extraLabelClickAction: (l, c, o) => {
62
- var a;
63
- const r = { ...l };
64
- return r.color = (o == null ? void 0 : o.mainColor) ?? ((a = o == null ? void 0 : o.colors) == null ? void 0 : a[0]), {
65
- value: r.color,
66
- options: r
67
- };
68
- }
47
+ default: ({ theme: e }) => r(e),
48
+ extraLabel: ({ options: e, theme: o }) => a(e, o, "color"),
49
+ extraLabelHasClickAction: ({ options: e, theme: o }) => t(e, o, "color"),
50
+ extraLabelClickAction: ({ options: e, theme: o }) => l(e, o, "color")
69
51
  },
70
- visibleIf: (l) => {
71
- var c;
72
- return ((c = l == null ? void 0 : l.categories) == null ? void 0 : c.colored) === !1;
52
+ visibleIf: ({ options: e }) => {
53
+ var o;
54
+ return ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.colored) === !1;
73
55
  }
74
56
  },
75
57
  {
@@ -85,5 +67,5 @@ const n = [
85
67
  }
86
68
  ];
87
69
  export {
88
- n as default
70
+ i as default
89
71
  };
@@ -2162,6 +2162,34 @@
2162
2162
  }
2163
2163
  ]
2164
2164
  },
2165
+ {
2166
+ "kind": "javascript-module",
2167
+ "path": "src/components/edit-option/helpers/get-default-value.ts",
2168
+ "declarations": [
2169
+ {
2170
+ "kind": "function",
2171
+ "name": "getDefaultValue",
2172
+ "parameters": [
2173
+ {
2174
+ "name": "args",
2175
+ "type": {
2176
+ "text": "any"
2177
+ }
2178
+ }
2179
+ ]
2180
+ }
2181
+ ],
2182
+ "exports": [
2183
+ {
2184
+ "kind": "js",
2185
+ "name": "getDefaultValue",
2186
+ "declaration": {
2187
+ "name": "getDefaultValue",
2188
+ "module": "src/components/edit-option/helpers/get-default-value.ts"
2189
+ }
2190
+ }
2191
+ ]
2192
+ },
2165
2193
  {
2166
2194
  "kind": "javascript-module",
2167
2195
  "path": "src/components/edit-option/helpers/get-extra-label-values.ts",
@@ -3106,15 +3134,15 @@
3106
3134
  "type": {
3107
3135
  "text": "string"
3108
3136
  },
3109
- "default": "'top-right'",
3110
- "fieldName": "defaultPosition"
3137
+ "default": "'topRight'",
3138
+ "fieldName": "default"
3111
3139
  },
3112
3140
  {
3113
3141
  "name": "positions",
3114
3142
  "type": {
3115
3143
  "text": "string[] | undefined"
3116
3144
  },
3117
- "default": "defaultPositions",
3145
+ "default": "defaults",
3118
3146
  "fieldName": "positions"
3119
3147
  },
3120
3148
  {
@@ -10,6 +10,9 @@ declare const _default: ({
10
10
  default: boolean;
11
11
  enum?: undefined;
12
12
  min?: undefined;
13
+ extraLabel?: undefined;
14
+ extraLabelHasClickAction?: undefined;
15
+ extraLabelClickAction?: undefined;
13
16
  };
14
17
  type?: undefined;
15
18
  visibleIf?: undefined;
@@ -26,8 +29,11 @@ declare const _default: ({
26
29
  default: string;
27
30
  enum: string[];
28
31
  min?: undefined;
32
+ extraLabel?: undefined;
33
+ extraLabelHasClickAction?: undefined;
34
+ extraLabelClickAction?: undefined;
29
35
  };
30
- visibleIf: (_: any, slots: any) => boolean;
36
+ visibleIf: ({ slots }: any) => boolean;
31
37
  type?: undefined;
32
38
  } | {
33
39
  key: string;
@@ -37,6 +43,9 @@ declare const _default: ({
37
43
  default: string;
38
44
  enum: string[];
39
45
  min?: undefined;
46
+ extraLabel?: undefined;
47
+ extraLabelHasClickAction?: undefined;
48
+ extraLabelClickAction?: undefined;
40
49
  };
41
50
  type?: undefined;
42
51
  visibleIf?: undefined;
@@ -48,8 +57,11 @@ declare const _default: ({
48
57
  default: boolean;
49
58
  enum?: undefined;
50
59
  min?: undefined;
60
+ extraLabel?: undefined;
61
+ extraLabelHasClickAction?: undefined;
62
+ extraLabelClickAction?: undefined;
51
63
  };
52
- visibleIf: (_: any, slots: any) => boolean;
64
+ visibleIf: ({ slots }: any) => boolean;
53
65
  type?: undefined;
54
66
  } | {
55
67
  key: string;
@@ -59,19 +71,28 @@ declare const _default: ({
59
71
  default: string;
60
72
  min: number;
61
73
  enum?: undefined;
74
+ extraLabel?: undefined;
75
+ extraLabelHasClickAction?: undefined;
76
+ extraLabelClickAction?: undefined;
62
77
  };
63
- visibleIf: (options: any, slots: any) => boolean;
78
+ visibleIf: ({ options, slots }: any) => boolean;
64
79
  type?: undefined;
65
80
  } | {
66
81
  key: string;
67
82
  control: {
68
83
  label: string;
69
84
  type: string;
70
- default: (_options: any, _slots: any, theme: any) => any;
85
+ default: ({ theme }: any) => any;
86
+ extraLabel: ({ options, theme }: any) => "reset" | undefined;
87
+ extraLabelHasClickAction: ({ options, theme }: any) => boolean;
88
+ extraLabelClickAction: ({ options, theme }: any) => {
89
+ value: any;
90
+ options: any;
91
+ };
71
92
  enum?: undefined;
72
93
  min?: undefined;
73
94
  };
74
- visibleIf: (_: any, slots: any) => boolean;
95
+ visibleIf: ({ slots }: any) => boolean;
75
96
  type?: undefined;
76
97
  })[];
77
98
  visibleIf?: undefined;
@@ -88,6 +109,6 @@ declare const _default: ({
88
109
  enum: string[];
89
110
  };
90
111
  }[];
91
- visibleIf: (_: any, slots: any) => boolean;
112
+ visibleIf: ({ slots }: any) => boolean;
92
113
  })[];
93
114
  export default _default;
@@ -16,11 +16,11 @@ declare const _default: ({
16
16
  extraLabelClickAction?: undefined;
17
17
  label?: undefined;
18
18
  };
19
- visibleIf: (_: any, slots: any) => boolean | undefined;
19
+ visibleIf: ({ slots }: any) => boolean;
20
20
  type?: undefined;
21
21
  } | {
22
22
  type: string;
23
- visibleIf: (_: any, slots: any) => boolean | undefined;
23
+ visibleIf: ({ slots }: any) => boolean;
24
24
  key?: undefined;
25
25
  control?: undefined;
26
26
  } | {
@@ -53,7 +53,7 @@ declare const _default: ({
53
53
  extraLabelClickAction?: undefined;
54
54
  label?: undefined;
55
55
  };
56
- visibleIf: (_: any, slots: any) => boolean | undefined;
56
+ visibleIf: ({ slots }: any) => boolean;
57
57
  type?: undefined;
58
58
  } | {
59
59
  key: string;
@@ -75,13 +75,13 @@ declare const _default: ({
75
75
  key: string;
76
76
  control: {
77
77
  type: string;
78
- default: (_options: any, _slots: any, theme: any) => any;
78
+ default: ({ theme }: any) => any;
79
79
  min: number;
80
80
  max: number;
81
81
  step: number;
82
- extraLabel: (options: any, _slots: any, theme: any) => "auto" | "reset" | undefined;
83
- extraLabelHasClickAction: (options: any, _slots: any, theme: any) => boolean;
84
- extraLabelClickAction: (options: any, _slots: any, _theme: any) => {
82
+ extraLabel: ({ options, theme }: any) => "auto" | "reset" | undefined;
83
+ extraLabelHasClickAction: ({ options, theme }: any) => boolean;
84
+ extraLabelClickAction: ({ options }: any) => {
85
85
  value: null;
86
86
  options: any;
87
87
  };
@@ -95,10 +95,10 @@ declare const _default: ({
95
95
  control: {
96
96
  type: string;
97
97
  label: string;
98
- default: (_options: any, _slots: any, theme: any) => any;
99
- extraLabel: (options: any, _slots: any, theme: any) => "reset" | undefined;
100
- extraLabelHasClickAction: (options: any, _slots: any, theme: any) => boolean;
101
- extraLabelClickAction: (options: any, _slots: any, theme: any) => {
98
+ default: ({ theme }: any) => any;
99
+ extraLabel: ({ options, theme }: any) => "reset" | undefined;
100
+ extraLabelHasClickAction: ({ options, theme }: any) => boolean;
101
+ extraLabelClickAction: ({ options, theme }: any) => {
102
102
  value: any;
103
103
  options: any;
104
104
  };
@@ -107,7 +107,7 @@ declare const _default: ({
107
107
  max?: undefined;
108
108
  step?: undefined;
109
109
  };
110
- visibleIf: (_: any, slots: any) => boolean | undefined;
110
+ visibleIf: ({ slots }: any) => boolean;
111
111
  type?: undefined;
112
112
  })[];
113
113
  visibleIf?: undefined;
@@ -124,6 +124,6 @@ declare const _default: ({
124
124
  enum: string[];
125
125
  };
126
126
  }[];
127
- visibleIf: (_: any, slots: any) => boolean | undefined;
127
+ visibleIf: ({ slots }: any) => boolean;
128
128
  })[];
129
129
  export default _default;
@@ -45,10 +45,10 @@ declare const _default: ({
45
45
  control: {
46
46
  type: string;
47
47
  label: string;
48
- default: (_options: any, _slots: any, theme: any) => any;
49
- extraLabel: (options: any, _slots: any, theme: any) => "reset" | undefined;
50
- extraLabelHasClickAction: (options: any, _slots: any, theme: any) => boolean;
51
- extraLabelClickAction: (options: any, _slots: any, theme: any) => {
48
+ default: ({ theme }: any) => any;
49
+ extraLabel: ({ options, theme }: any) => "reset" | undefined;
50
+ extraLabelHasClickAction: ({ options, theme }: any) => boolean;
51
+ extraLabelClickAction: ({ options, theme }: any) => {
52
52
  value: any;
53
53
  options: any;
54
54
  };
@@ -61,13 +61,13 @@ declare const _default: ({
61
61
  control: {
62
62
  type: string;
63
63
  label: string;
64
- default: (_options: any, _slots: any, theme: any) => any;
64
+ default: ({ theme }: any) => any;
65
65
  min: number;
66
66
  max: number;
67
67
  step: number;
68
- extraLabel: (options: any, _slots: any, theme: any) => "auto" | "reset" | undefined;
69
- extraLabelHasClickAction: (options: any, _slots: any, theme: any) => boolean;
70
- extraLabelClickAction: (options: any, _slots: any, _theme: any) => {
68
+ extraLabel: ({ options, theme }: any) => "auto" | "reset" | undefined;
69
+ extraLabelHasClickAction: ({ options, theme }: any) => boolean;
70
+ extraLabelClickAction: ({ options }: any) => {
71
71
  value: null;
72
72
  options: any;
73
73
  };
@@ -119,7 +119,7 @@ declare const _default: ({
119
119
  extraLabelHasClickAction?: undefined;
120
120
  extraLabelClickAction?: undefined;
121
121
  };
122
- visibleIf: (options: any) => boolean;
122
+ visibleIf: ({ options }: any) => boolean;
123
123
  } | {
124
124
  key: string;
125
125
  control: {
@@ -134,7 +134,7 @@ declare const _default: ({
134
134
  extraLabelHasClickAction?: undefined;
135
135
  extraLabelClickAction?: undefined;
136
136
  };
137
- visibleIf: (options: any) => boolean;
137
+ visibleIf: ({ options }: any) => boolean;
138
138
  } | {
139
139
  key: string;
140
140
  control: {
@@ -149,16 +149,16 @@ declare const _default: ({
149
149
  extraLabelHasClickAction?: undefined;
150
150
  extraLabelClickAction?: undefined;
151
151
  };
152
- visibleIf: (options: any) => boolean;
152
+ visibleIf: ({ options }: any) => boolean;
153
153
  } | {
154
154
  key: string;
155
155
  control: {
156
156
  type: string;
157
157
  label: string;
158
- default: (_options: any, _slots: any, theme: any) => any;
159
- extraLabel: (options: any, _slots: any, theme: any) => "reset" | undefined;
160
- extraLabelHasClickAction: (options: any, _slots: any, theme: any) => boolean;
161
- extraLabelClickAction: (options: any, _slots: any, theme: any) => {
158
+ default: ({ theme }: any) => any;
159
+ extraLabel: ({ options, theme }: any) => "reset" | undefined;
160
+ extraLabelHasClickAction: ({ options, theme }: any) => boolean;
161
+ extraLabelClickAction: ({ options, theme }: any) => {
162
162
  value: any;
163
163
  options: any;
164
164
  };
@@ -167,7 +167,7 @@ declare const _default: ({
167
167
  max?: undefined;
168
168
  step?: undefined;
169
169
  };
170
- visibleIf: (options: any) => boolean;
170
+ visibleIf: ({ options }: any) => boolean;
171
171
  })[];
172
172
  })[];
173
173
  export default _default;