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

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 (43) hide show
  1. package/components/{area-chart-options.config-C0l_W4Yq.js → area-chart-options.config-B5qtlH-_.js} +24 -24
  2. package/components/area-chart-options.config-DMfRioZx.cjs +20 -0
  3. package/components/{bar-chart-options.config-BO9Ik7mh.cjs → bar-chart-options.config-C7BGg5sh.cjs} +1 -1
  4. package/components/{bar-chart-options.config-CF1i1Imw.js → bar-chart-options.config-CQfpV1Rx.js} +29 -29
  5. package/components/{bubble-chart-options.config-1MrC55Nb.js → bubble-chart-options.config-Cp6OQnJl.js} +7 -7
  6. package/components/{bubble-chart-options.config-bQBq1s3C.cjs → bubble-chart-options.config-DL5Xl6Ad.cjs} +1 -1
  7. package/components/{column-chart-options.config-BT1QH4BI.js → column-chart-options.config-CGw1dN1E.js} +29 -29
  8. package/components/column-chart-options.config-DomUPYPM.cjs +20 -0
  9. package/components/conditional-number-options.config-B24MqnZj.js +151 -0
  10. package/components/conditional-number-options.config-C1eERsoe.cjs +20 -0
  11. package/components/conditional-number-options.de-BJcjBZY1.js +74 -0
  12. package/components/conditional-number-options.de-CFnufi0r.cjs +20 -0
  13. package/components/conditional-number-options.en-WSrIzRGJ.js +74 -0
  14. package/components/conditional-number-options.en-Wd-0YtdE.cjs +20 -0
  15. package/components/conditional-number-options.es-BKqT0zog.js +74 -0
  16. package/components/conditional-number-options.es-BTDTe5SF.cjs +20 -0
  17. package/components/conditional-number-options.fr-CZ-9jzPm.cjs +20 -0
  18. package/components/conditional-number-options.fr-D2r7Azy8.js +74 -0
  19. package/components/conditional-number-options.nl-CfRYL6o1.cjs +20 -0
  20. package/components/conditional-number-options.nl-pkRI1tLZ.js +74 -0
  21. package/components/edit-item/index.cjs +4 -4
  22. package/components/edit-item/index.js +13 -7
  23. package/components/edit-option/index.cjs +24 -24
  24. package/components/edit-option/index.js +47 -41
  25. package/components/edit-option-action-button-group/index.cjs +7 -7
  26. package/components/edit-option-action-button-group/index.js +56 -54
  27. package/components/{line-chart-options.config-DKcFPWP7.js → line-chart-options.config-CEUJYNt7.js} +18 -18
  28. package/components/line-chart-options.config-DNGyRAvG.cjs +20 -0
  29. package/components/radar-chart-options.config-DUXOzdbl.cjs +20 -0
  30. package/components/{radar-chart-options.config-DfID1TZ-.js → radar-chart-options.config-gKHFbC63.js} +25 -25
  31. package/components/{treemap-chart-options.config-D6H5Hf2B.cjs → treemap-chart-options.config-Dc2UNcGG.cjs} +1 -1
  32. package/components/{treemap-chart-options.config-BalwwrhW.js → treemap-chart-options.config-f8L8KfDj.js} +19 -19
  33. package/item-definitions/conditional-number/conditional-number-options.config.d.ts +135 -0
  34. package/item-definitions/conditional-number/i18n/conditional-number-options.de.d.ts +53 -0
  35. package/item-definitions/conditional-number/i18n/conditional-number-options.en.d.ts +53 -0
  36. package/item-definitions/conditional-number/i18n/conditional-number-options.es.d.ts +53 -0
  37. package/item-definitions/conditional-number/i18n/conditional-number-options.fr.d.ts +53 -0
  38. package/item-definitions/conditional-number/i18n/conditional-number-options.nl.d.ts +53 -0
  39. package/package.json +1 -1
  40. package/components/area-chart-options.config-DHHGMb22.cjs +0 -20
  41. package/components/column-chart-options.config-DVPrV-XO.cjs +0 -20
  42. package/components/line-chart-options.config-i2233s5F.cjs +0 -20
  43. package/components/radar-chart-options.config-DPPlIptA.cjs +0 -20
@@ -17,19 +17,19 @@
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 = (r, e) => {
21
- var t, i, l, a;
22
- return e && e.length > 0 ? ((i = (t = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "legend")) == null ? void 0 : t.content) == null ? void 0 : i.length) > 0 || ((a = (l = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "measure")) == null ? void 0 : l.content) == null ? void 0 : a.length) > 1 : !1;
23
- }, u = (r, e) => {
24
- var t, i, l, a;
25
- return e && e.length > 0 ? !(((i = (t = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "legend")) == null ? void 0 : t.content) == null ? void 0 : i.length) > 0) && ((a = (l = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "measure")) == null ? void 0 : l.content) == null ? void 0 : a.length) <= 1 : !0;
26
- }, d = (r, e) => {
27
- var t, i, l;
28
- return ((l = (i = (t = e == null ? void 0 : e.find((a) => (a == null ? void 0 : a.name) === "x-axis")) == null ? void 0 : t.content) == null ? void 0 : i[0]) == null ? void 0 : l.type) === "datetime";
29
- }, p = (r, e) => {
30
- var t, i, l, a;
31
- return ((l = (i = (t = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "x-axis")) == null ? void 0 : t.content) == null ? void 0 : i[0]) == null ? void 0 : l.type) === "datetime" && ((a = r == null ? void 0 : r.missingValue) == null ? void 0 : a.type) === "manual";
32
- }, c = [
20
+ const u = (l, e) => {
21
+ var i, a, t, r;
22
+ return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? ((a = (i = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "legend")) == null ? void 0 : i.content) == null ? void 0 : a.length) > 0 || ((r = (t = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "measure")) == null ? void 0 : t.content) == null ? void 0 : r.length) > 1 : !1;
23
+ }, d = (l, e) => {
24
+ var i, a, t, r;
25
+ return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? !(((a = (i = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "legend")) == null ? void 0 : i.content) == null ? void 0 : a.length) > 0) && ((r = (t = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "measure")) == null ? void 0 : t.content) == null ? void 0 : r.length) <= 1 : !0;
26
+ }, p = (l, e) => {
27
+ var i, a, t;
28
+ return Array.isArray(e) && ((t = (a = (i = e == null ? void 0 : e.find((r) => (r == null ? void 0 : r.name) === "x-axis")) == null ? void 0 : i.content) == null ? void 0 : a[0]) == null ? void 0 : t.type) === "datetime";
29
+ }, c = (l, e) => {
30
+ var i, a, t, r;
31
+ return Array.isArray(e) && ((t = (a = (i = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "x-axis")) == null ? void 0 : i.content) == null ? void 0 : a[0]) == null ? void 0 : t.type) === "datetime" && ((r = l == null ? void 0 : l.missingValue) == null ? void 0 : r.type) === "manual";
32
+ }, y = [
33
33
  {
34
34
  key: "general",
35
35
  type: "group",
@@ -54,7 +54,7 @@ const o = (r, e) => {
54
54
  default: "unstacked",
55
55
  enum: ["100", "unstacked", "stacked", "stream"]
56
56
  },
57
- visibleIf: o
57
+ visibleIf: u
58
58
  },
59
59
  {
60
60
  key: "interpolation",
@@ -72,7 +72,7 @@ const o = (r, e) => {
72
72
  type: "switch",
73
73
  default: !0
74
74
  },
75
- visibleIf: o
75
+ visibleIf: u
76
76
  },
77
77
  {
78
78
  key: "display.modeOption",
@@ -81,7 +81,7 @@ const o = (r, e) => {
81
81
  type: "switch",
82
82
  default: !0
83
83
  },
84
- visibleIf: o
84
+ visibleIf: u
85
85
  },
86
86
  {
87
87
  key: "missingValue.type",
@@ -91,7 +91,7 @@ const o = (r, e) => {
91
91
  default: "no",
92
92
  enum: ["no", "break", "manual"]
93
93
  },
94
- visibleIf: d
94
+ visibleIf: p
95
95
  },
96
96
  {
97
97
  key: "missingValue.value",
@@ -101,19 +101,19 @@ const o = (r, e) => {
101
101
  default: "no",
102
102
  min: 1
103
103
  },
104
- visibleIf: p
104
+ visibleIf: c
105
105
  },
106
106
  {
107
107
  key: "color",
108
108
  control: {
109
109
  label: "Line color",
110
110
  type: "color-picker",
111
- default: (r, e, t) => {
112
- var i;
113
- return (t == null ? void 0 : t.mainColor) ?? ((i = t == null ? void 0 : t.colors) == null ? void 0 : i[0]);
111
+ default: (l, e, i) => {
112
+ var a;
113
+ return (i == null ? void 0 : i.mainColor) ?? ((a = i == null ? void 0 : i.colors) == null ? void 0 : a[0]);
114
114
  }
115
115
  },
116
- visibleIf: u
116
+ visibleIf: d
117
117
  }
118
118
  ]
119
119
  },
@@ -141,9 +141,9 @@ const o = (r, e) => {
141
141
  }
142
142
  }
143
143
  ],
144
- visibleIf: o
144
+ visibleIf: u
145
145
  }
146
146
  ];
147
147
  export {
148
- c as default
148
+ y as default
149
149
  };
@@ -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 u=(l,e)=>{var i,r,t,a;return Array.isArray(e)&&(e==null?void 0:e.length)>0?((r=(i=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="legend"))==null?void 0:i.content)==null?void 0:r.length)>0||((a=(t=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="measure"))==null?void 0:t.content)==null?void 0:a.length)>1:!1},d=(l,e)=>{var i,r,t,a;return Array.isArray(e)&&(e==null?void 0:e.length)>0?!(((r=(i=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="legend"))==null?void 0:i.content)==null?void 0:r.length)>0)&&((a=(t=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="measure"))==null?void 0:t.content)==null?void 0:a.length)<=1:!0},p=(l,e)=>{var i,r,t;return Array.isArray(e)&&((t=(r=(i=e==null?void 0:e.find(a=>(a==null?void 0:a.name)==="x-axis"))==null?void 0:i.content)==null?void 0:r[0])==null?void 0:t.type)==="datetime"},c=(l,e)=>{var i,r,t,a;return Array.isArray(e)&&((t=(r=(i=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="x-axis"))==null?void 0:i.content)==null?void 0:r[0])==null?void 0:t.type)==="datetime"&&((a=l==null?void 0:l.missingValue)==null?void 0:a.type)==="manual"},o=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{label:"Title",type:"switch",default:!0}},{type:"divider"},{key:"mode",control:{label:"Mode",type:"picker",default:"unstacked",enum:["100","unstacked","stacked","stream"]},visibleIf:u},{key:"interpolation",control:{label:"Interpolation",type:"picker",default:"linear",enum:["linear","step-before","step-after","monotone"]}},{key:"display.legend",control:{label:"Legend",type:"switch",default:!0},visibleIf:u},{key:"display.modeOption",control:{label:"Mode option",type:"switch",default:!0},visibleIf:u},{key:"missingValue.type",control:{label:"Fill missing values",type:"picker",default:"no",enum:["no","break","manual"]},visibleIf:p},{key:"missingValue.value",control:{label:"Value",type:"number-field",default:"no",min:1},visibleIf:c},{key:"color",control:{label:"Line color",type:"color-picker",default:(l,e,i)=>{var r;return(i==null?void 0:i.mainColor)??((r=i==null?void 0:i.colors)==null?void 0:r[0])}},visibleIf:d}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.position",control:{label:"Position",type:"position-picker",default:"top-right",enum:["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]}}],visibleIf:u}];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 a=(l,n)=>{var r,e,o,t;if(n&&n.length>0)return((e=(r=n==null?void 0:n.find(i=>(i==null?void 0:i.name)==="legend"))==null?void 0:r.content)==null?void 0:e.length)>0||((t=(o=n==null?void 0:n.find(i=>(i==null?void 0:i.name)==="measure"))==null?void 0:o.content)==null?void 0:t.length)>1},c=(l,n)=>{var r,e,o,t;if(n&&n.length>0)return((e=(r=n==null?void 0:n.find(i=>(i==null?void 0:i.name)==="legend"))==null?void 0:r.content)==null?void 0:e.length)===0&&((t=(o=n==null?void 0:n.find(i=>(i==null?void 0:i.name)==="measure"))==null?void 0:o.content)==null?void 0:t.length)<=1},u=[{key:"general",type:"group",open:!0,children:[{key:"mode",control:{type:"picker",default:"grouped",enum:["grouped","stacked","100"]},visibleIf:a},{type:"divider",visibleIf:a},{key:"display.title",control:{type:"switch",default:!0}},{key:"display.legend",control:{type:"switch",default:!0},visibleIf:a},{key:"display.modeOption",control:{type:"switch",default:!1},visibleIf:a},{key:"bars.label",control:{type:"picker",default:"none",enum:["none","percentage","percentageLegend","percentageCategory","percentageMax"]}},{key:"categories.colored",control:{type:"switch",default:!1},visibleIf:c},{key:"bars.roundedCorners",control:{type:"slider",default:(l,n,r)=>{var e;return(e=r==null?void 0:r.itemSpecific)==null?void 0:e.rounding},min:0,max:20,step:1,extraLabel:(l,n,r)=>{var e,o;if(typeof((e=r==null?void 0:r.itemSpecific)==null?void 0:e.rounding)=="number")return typeof((o=l==null?void 0:l.bars)==null?void 0:o.roundedCorners)!="number"?"auto":"reset"},extraLabelHasClickAction:(l,n,r)=>{var e,o;return!(typeof((e=r==null?void 0:r.itemSpecific)==null?void 0:e.rounding)!="number"||typeof((o=l==null?void 0:l.bars)==null?void 0:o.roundedCorners)!="number")},extraLabelClickAction:(l,n,r)=>{var o;const e={...l};return(o=e==null?void 0:e.bars)==null||delete o.roundedCorners,{value:null,options:e}}}},{key:"color",control:{type:"color-picker",label:"Bar color",default:(l,n,r)=>{var e;return(r==null?void 0:r.mainColor)??((e=r==null?void 0:r.colors)==null?void 0:e[0])},extraLabel:(l,n,r)=>{var o;const e=(r==null?void 0:r.mainColor)??((o=r==null?void 0:r.colors)==null?void 0:o[0]);if(e&&l.color!==e)return"reset"},extraLabelHasClickAction:(l,n,r)=>{var o;const e=(r==null?void 0:r.mainColor)??((o=r==null?void 0:r.colors)==null?void 0:o[0]);return!!(e&&l.color!==e)},extraLabelClickAction:(l,n,r)=>{var o;const e={...l};return e.color=(r==null?void 0:r.mainColor)??((o=r==null?void 0:r.colors)==null?void 0:o[0]),{value:e.color,options:e}}},visibleIf:c}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.position",control:{label:"Position",type:"position-picker",default:"top-right",enum:["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]}}],visibleIf:a}];exports.default=u;
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=(i,n)=>{var r,e,o,a;if(Array.isArray(n)&&(n==null?void 0:n.length)>0)return((e=(r=n==null?void 0:n.find(l=>(l==null?void 0:l.name)==="legend"))==null?void 0:r.content)==null?void 0:e.length)>0||((a=(o=n==null?void 0:n.find(l=>(l==null?void 0:l.name)==="measure"))==null?void 0:o.content)==null?void 0:a.length)>1},t=(i,n)=>{var r,e,o,a;if(Array.isArray(n)&&(n==null?void 0:n.length)>0)return((e=(r=n==null?void 0:n.find(l=>(l==null?void 0:l.name)==="legend"))==null?void 0:r.content)==null?void 0:e.length)===0&&((a=(o=n==null?void 0:n.find(l=>(l==null?void 0:l.name)==="measure"))==null?void 0:o.content)==null?void 0:a.length)<=1},u=[{key:"general",type:"group",open:!0,children:[{key:"mode",control:{type:"picker",default:"grouped",enum:["grouped","stacked","100"]},visibleIf:c},{type:"divider",visibleIf:c},{key:"display.title",control:{type:"switch",default:!0}},{key:"display.legend",control:{type:"switch",default:!0},visibleIf:c},{key:"display.modeOption",control:{type:"switch",default:!1},visibleIf:c},{key:"bars.label",control:{type:"picker",default:"none",enum:["none","percentage","percentageLegend","percentageCategory","percentageMax"]}},{key:"categories.colored",control:{type:"switch",default:!1},visibleIf:t},{key:"bars.roundedCorners",control:{type:"slider",default:(i,n,r)=>{var e;return(e=r==null?void 0:r.itemSpecific)==null?void 0:e.rounding},min:0,max:20,step:1,extraLabel:(i,n,r)=>{var e,o;if(typeof((e=r==null?void 0:r.itemSpecific)==null?void 0:e.rounding)=="number")return typeof((o=i==null?void 0:i.bars)==null?void 0:o.roundedCorners)!="number"?"auto":"reset"},extraLabelHasClickAction:(i,n,r)=>{var e,o;return!(typeof((e=r==null?void 0:r.itemSpecific)==null?void 0:e.rounding)!="number"||typeof((o=i==null?void 0:i.bars)==null?void 0:o.roundedCorners)!="number")},extraLabelClickAction:(i,n,r)=>{var o;const e={...i};return(o=e==null?void 0:e.bars)==null||delete o.roundedCorners,{value:null,options:e}}}},{key:"color",control:{type:"color-picker",label:"Bar color",default:(i,n,r)=>{var e;return(r==null?void 0:r.mainColor)??((e=r==null?void 0:r.colors)==null?void 0:e[0])},extraLabel:(i,n,r)=>{var o;const e=(r==null?void 0:r.mainColor)??((o=r==null?void 0:r.colors)==null?void 0:o[0]);if(e&&i.color!==e)return"reset"},extraLabelHasClickAction:(i,n,r)=>{var o;const e=(r==null?void 0:r.mainColor)??((o=r==null?void 0:r.colors)==null?void 0:o[0]);return!!(e&&i.color!==e)},extraLabelClickAction:(i,n,r)=>{var o;const e={...i};return e.color=(r==null?void 0:r.mainColor)??((o=r==null?void 0:r.colors)==null?void 0:o[0]),{value:e.color,options:e}}},visibleIf:t}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.position",control:{label:"Position",type:"position-picker",default:"top-right",enum:["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]}}],visibleIf:c}];exports.default=u;
@@ -17,14 +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 t = (l, e) => {
21
- var r, n, o, a;
22
- if (e && e.length > 0)
23
- return ((n = (r = e == null ? void 0 : e.find((i) => (i == null ? void 0 : i.name) === "legend")) == null ? void 0 : r.content) == null ? void 0 : n.length) > 0 || ((a = (o = e == null ? void 0 : e.find((i) => (i == null ? void 0 : i.name) === "measure")) == null ? void 0 : o.content) == null ? void 0 : a.length) > 1;
24
- }, c = (l, e) => {
25
- var r, n, o, a;
26
- if (e && e.length > 0)
27
- return ((n = (r = e == null ? void 0 : e.find((i) => (i == null ? void 0 : i.name) === "legend")) == null ? void 0 : r.content) == null ? void 0 : n.length) === 0 && ((a = (o = e == null ? void 0 : e.find((i) => (i == null ? void 0 : i.name) === "measure")) == null ? void 0 : o.content) == null ? void 0 : a.length) <= 1;
20
+ const c = (i, e) => {
21
+ var r, n, o, l;
22
+ if (Array.isArray(e) && (e == null ? void 0 : e.length) > 0)
23
+ return ((n = (r = e == null ? void 0 : e.find((a) => (a == null ? void 0 : a.name) === "legend")) == null ? void 0 : r.content) == null ? void 0 : n.length) > 0 || ((l = (o = e == null ? void 0 : e.find((a) => (a == null ? void 0 : a.name) === "measure")) == null ? void 0 : o.content) == null ? void 0 : l.length) > 1;
24
+ }, t = (i, e) => {
25
+ var r, n, o, l;
26
+ if (Array.isArray(e) && (e == null ? void 0 : e.length) > 0)
27
+ return ((n = (r = e == null ? void 0 : e.find((a) => (a == null ? void 0 : a.name) === "legend")) == null ? void 0 : r.content) == null ? void 0 : n.length) === 0 && ((l = (o = e == null ? void 0 : e.find((a) => (a == null ? void 0 : a.name) === "measure")) == null ? void 0 : o.content) == null ? void 0 : l.length) <= 1;
28
28
  }, u = [
29
29
  {
30
30
  key: "general",
@@ -38,11 +38,11 @@ const t = (l, e) => {
38
38
  default: "grouped",
39
39
  enum: ["grouped", "stacked", "100"]
40
40
  },
41
- visibleIf: t
41
+ visibleIf: c
42
42
  },
43
43
  {
44
44
  type: "divider",
45
- visibleIf: t
45
+ visibleIf: c
46
46
  },
47
47
  {
48
48
  key: "display.title",
@@ -57,7 +57,7 @@ const t = (l, e) => {
57
57
  type: "switch",
58
58
  default: !0
59
59
  },
60
- visibleIf: t
60
+ visibleIf: c
61
61
  },
62
62
  {
63
63
  key: "display.modeOption",
@@ -65,7 +65,7 @@ const t = (l, e) => {
65
65
  type: "switch",
66
66
  default: !1
67
67
  },
68
- visibleIf: t
68
+ visibleIf: c
69
69
  },
70
70
  {
71
71
  key: "bars.label",
@@ -87,31 +87,31 @@ const t = (l, e) => {
87
87
  type: "switch",
88
88
  default: !1
89
89
  },
90
- visibleIf: c
90
+ visibleIf: t
91
91
  },
92
92
  {
93
93
  key: "bars.roundedCorners",
94
94
  control: {
95
95
  type: "slider",
96
- default: (l, e, r) => {
96
+ default: (i, e, r) => {
97
97
  var n;
98
98
  return (n = r == null ? void 0 : r.itemSpecific) == null ? void 0 : n.rounding;
99
99
  },
100
100
  min: 0,
101
101
  max: 20,
102
102
  step: 1,
103
- extraLabel: (l, e, r) => {
103
+ extraLabel: (i, e, r) => {
104
104
  var n, o;
105
105
  if (typeof ((n = r == null ? void 0 : r.itemSpecific) == null ? void 0 : n.rounding) == "number")
106
- return typeof ((o = l == null ? void 0 : l.bars) == null ? void 0 : o.roundedCorners) != "number" ? "auto" : "reset";
106
+ return typeof ((o = i == null ? void 0 : i.bars) == null ? void 0 : o.roundedCorners) != "number" ? "auto" : "reset";
107
107
  },
108
- extraLabelHasClickAction: (l, e, r) => {
108
+ extraLabelHasClickAction: (i, e, r) => {
109
109
  var n, o;
110
- return !(typeof ((n = r == null ? void 0 : r.itemSpecific) == null ? void 0 : n.rounding) != "number" || typeof ((o = l == null ? void 0 : l.bars) == null ? void 0 : o.roundedCorners) != "number");
110
+ return !(typeof ((n = r == null ? void 0 : r.itemSpecific) == null ? void 0 : n.rounding) != "number" || typeof ((o = i == null ? void 0 : i.bars) == null ? void 0 : o.roundedCorners) != "number");
111
111
  },
112
- extraLabelClickAction: (l, e, r) => {
112
+ extraLabelClickAction: (i, e, r) => {
113
113
  var o;
114
- const n = { ...l };
114
+ const n = { ...i };
115
115
  return (o = n == null ? void 0 : n.bars) == null || delete o.roundedCorners, { value: null, options: n };
116
116
  }
117
117
  }
@@ -121,31 +121,31 @@ const t = (l, e) => {
121
121
  control: {
122
122
  type: "color-picker",
123
123
  label: "Bar color",
124
- default: (l, e, r) => {
124
+ default: (i, e, r) => {
125
125
  var n;
126
126
  return (r == null ? void 0 : r.mainColor) ?? ((n = r == null ? void 0 : r.colors) == null ? void 0 : n[0]);
127
127
  },
128
- extraLabel: (l, e, r) => {
128
+ extraLabel: (i, e, r) => {
129
129
  var o;
130
130
  const n = (r == null ? void 0 : r.mainColor) ?? ((o = r == null ? void 0 : r.colors) == null ? void 0 : o[0]);
131
- if (n && l.color !== n)
131
+ if (n && i.color !== n)
132
132
  return "reset";
133
133
  },
134
- extraLabelHasClickAction: (l, e, r) => {
134
+ extraLabelHasClickAction: (i, e, r) => {
135
135
  var o;
136
136
  const n = (r == null ? void 0 : r.mainColor) ?? ((o = r == null ? void 0 : r.colors) == null ? void 0 : o[0]);
137
- return !!(n && l.color !== n);
137
+ return !!(n && i.color !== n);
138
138
  },
139
- extraLabelClickAction: (l, e, r) => {
139
+ extraLabelClickAction: (i, e, r) => {
140
140
  var o;
141
- const n = { ...l };
141
+ const n = { ...i };
142
142
  return n.color = (r == null ? void 0 : r.mainColor) ?? ((o = r == null ? void 0 : r.colors) == null ? void 0 : o[0]), {
143
143
  value: n.color,
144
144
  options: n
145
145
  };
146
146
  }
147
147
  },
148
- visibleIf: c
148
+ visibleIf: t
149
149
  }
150
150
  ]
151
151
  },
@@ -173,7 +173,7 @@ const t = (l, e) => {
173
173
  }
174
174
  }
175
175
  ],
176
- visibleIf: t
176
+ visibleIf: c
177
177
  }
178
178
  ];
179
179
  export {
@@ -19,11 +19,11 @@
19
19
  * */
20
20
  const a = (e, r) => {
21
21
  var o, l;
22
- return r && r.length > 0 ? ((l = (o = r == null ? void 0 : r.find((n) => (n == null ? void 0 : n.name) === "color")) == null ? void 0 : o.content) == null ? void 0 : l.length) > 0 : !1;
23
- }, t = (e, r) => {
22
+ return Array.isArray(r) && (r == null ? void 0 : r.length) > 0 ? ((l = (o = r == null ? void 0 : r.find((n) => (n == null ? void 0 : n.name) === "color")) == null ? void 0 : o.content) == null ? void 0 : l.length) > 0 : !1;
23
+ }, i = (e, r) => {
24
24
  var o, l;
25
- return r && r.length > 0 ? !(((l = (o = r == null ? void 0 : r.find((n) => (n == null ? void 0 : n.name) === "color")) == null ? void 0 : o.content) == null ? void 0 : l.length) > 0) : !0;
26
- }, i = [
25
+ return Array.isArray(r) && (r == null ? void 0 : r.length) > 0 ? !(((l = (o = r == null ? void 0 : r.find((n) => (n == null ? void 0 : n.name) === "color")) == null ? void 0 : o.content) == null ? void 0 : l.length) > 0) : !0;
26
+ }, c = [
27
27
  {
28
28
  key: "general",
29
29
  type: "group",
@@ -72,7 +72,7 @@ const a = (e, r) => {
72
72
  label: "Bubble color by category",
73
73
  default: !0
74
74
  },
75
- visibleIf: t
75
+ visibleIf: i
76
76
  },
77
77
  {
78
78
  key: "color",
@@ -105,7 +105,7 @@ const a = (e, r) => {
105
105
  },
106
106
  visibleIf: (e, r) => {
107
107
  var o;
108
- return ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.colored) === !1 && t(e, r);
108
+ return ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.colored) === !1 && i(e, r);
109
109
  }
110
110
  }
111
111
  ]
@@ -138,5 +138,5 @@ const a = (e, r) => {
138
138
  }
139
139
  ];
140
140
  export {
141
- i as default
141
+ c as default
142
142
  };
@@ -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=(n,r)=>{var o,l;return r&&r.length>0?((l=(o=r==null?void 0:r.find(e=>(e==null?void 0:e.name)==="color"))==null?void 0:o.content)==null?void 0:l.length)>0:!1},a=(n,r)=>{var o,l;return r&&r.length>0?!(((l=(o=r==null?void 0:r.find(e=>(e==null?void 0:e.name)==="color"))==null?void 0:o.content)==null?void 0:l.length)>0):!0},i=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.legend",control:{type:"switch",label:"Legend",default:!0},visibleIf:t},{key:"display.bubbleLabels",control:{type:"switch",label:"Show labels",tooltip:"If enough room available",default:!0}},{key:"display.bubbleValues",control:{type:"picker",label:"Show values",tooltip:"If enough room available",default:"none",enum:["none","percentage","absolute"]}},{key:"categories.colored",control:{type:"switch",label:"Bubble color by category",default:!0},visibleIf:a},{key:"color",control:{type:"color-picker",label:"Bubble color",default:(n,r,o)=>{var l;return(o==null?void 0:o.mainColor)??((l=o==null?void 0:o.colors)==null?void 0:l[0])},extraLabel:(n,r,o)=>{var e;const l=(o==null?void 0:o.mainColor)??((e=o==null?void 0:o.colors)==null?void 0:e[0]);if(l&&n.color!==l)return"reset"},extraLabelHasClickAction:(n,r,o)=>{var e;const l=(o==null?void 0:o.mainColor)??((e=o==null?void 0:o.colors)==null?void 0:e[0]);return!!(l&&n.color!==l)},extraLabelClickAction:(n,r,o)=>{var e;const l={...n};return l.color=(o==null?void 0:o.mainColor)??((e=o==null?void 0:o.colors)==null?void 0:e[0]),{value:l.color,options:l}}},visibleIf:(n,r)=>{var o;return((o=n==null?void 0:n.categories)==null?void 0:o.colored)===!1&&a(n,r)}}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.position",control:{label:"Position",type:"position-picker",default:"top-right",enum:["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]}}],visibleIf:t}];exports.default=i;
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=(n,r)=>{var o,l;return Array.isArray(r)&&(r==null?void 0:r.length)>0?((l=(o=r==null?void 0:r.find(e=>(e==null?void 0:e.name)==="color"))==null?void 0:o.content)==null?void 0:l.length)>0:!1},i=(n,r)=>{var o,l;return Array.isArray(r)&&(r==null?void 0:r.length)>0?!(((l=(o=r==null?void 0:r.find(e=>(e==null?void 0:e.name)==="color"))==null?void 0:o.content)==null?void 0:l.length)>0):!0},t=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.legend",control:{type:"switch",label:"Legend",default:!0},visibleIf:a},{key:"display.bubbleLabels",control:{type:"switch",label:"Show labels",tooltip:"If enough room available",default:!0}},{key:"display.bubbleValues",control:{type:"picker",label:"Show values",tooltip:"If enough room available",default:"none",enum:["none","percentage","absolute"]}},{key:"categories.colored",control:{type:"switch",label:"Bubble color by category",default:!0},visibleIf:i},{key:"color",control:{type:"color-picker",label:"Bubble color",default:(n,r,o)=>{var l;return(o==null?void 0:o.mainColor)??((l=o==null?void 0:o.colors)==null?void 0:l[0])},extraLabel:(n,r,o)=>{var e;const l=(o==null?void 0:o.mainColor)??((e=o==null?void 0:o.colors)==null?void 0:e[0]);if(l&&n.color!==l)return"reset"},extraLabelHasClickAction:(n,r,o)=>{var e;const l=(o==null?void 0:o.mainColor)??((e=o==null?void 0:o.colors)==null?void 0:e[0]);return!!(l&&n.color!==l)},extraLabelClickAction:(n,r,o)=>{var e;const l={...n};return l.color=(o==null?void 0:o.mainColor)??((e=o==null?void 0:o.colors)==null?void 0:e[0]),{value:l.color,options:l}}},visibleIf:(n,r)=>{var o;return((o=n==null?void 0:n.categories)==null?void 0:o.colored)===!1&&i(n,r)}}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.position",control:{label:"Position",type:"position-picker",default:"top-right",enum:["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]}}],visibleIf:a}];exports.default=t;
@@ -17,14 +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 t = (l, e) => {
21
- var r, n, o, a;
22
- if (e && e.length > 0)
23
- return ((n = (r = e == null ? void 0 : e.find((i) => (i == null ? void 0 : i.name) === "legend")) == null ? void 0 : r.content) == null ? void 0 : n.length) > 0 || ((a = (o = e == null ? void 0 : e.find((i) => (i == null ? void 0 : i.name) === "measure")) == null ? void 0 : o.content) == null ? void 0 : a.length) > 1;
24
- }, c = (l, e) => {
25
- var r, n, o, a;
26
- if (e && e.length > 0)
27
- return ((n = (r = e == null ? void 0 : e.find((i) => (i == null ? void 0 : i.name) === "legend")) == null ? void 0 : r.content) == null ? void 0 : n.length) === 0 && ((a = (o = e == null ? void 0 : e.find((i) => (i == null ? void 0 : i.name) === "measure")) == null ? void 0 : o.content) == null ? void 0 : a.length) <= 1;
20
+ const c = (i, e) => {
21
+ var r, n, o, l;
22
+ if (Array.isArray(e) && (e == null ? void 0 : e.length) > 0)
23
+ return ((n = (r = e == null ? void 0 : e.find((a) => (a == null ? void 0 : a.name) === "legend")) == null ? void 0 : r.content) == null ? void 0 : n.length) > 0 || ((l = (o = e == null ? void 0 : e.find((a) => (a == null ? void 0 : a.name) === "measure")) == null ? void 0 : o.content) == null ? void 0 : l.length) > 1;
24
+ }, t = (i, e) => {
25
+ var r, n, o, l;
26
+ if (Array.isArray(e) && (e == null ? void 0 : e.length) > 0)
27
+ return ((n = (r = e == null ? void 0 : e.find((a) => (a == null ? void 0 : a.name) === "legend")) == null ? void 0 : r.content) == null ? void 0 : n.length) === 0 && ((l = (o = e == null ? void 0 : e.find((a) => (a == null ? void 0 : a.name) === "measure")) == null ? void 0 : o.content) == null ? void 0 : l.length) <= 1;
28
28
  }, u = [
29
29
  {
30
30
  key: "general",
@@ -38,11 +38,11 @@ const t = (l, e) => {
38
38
  default: "grouped",
39
39
  enum: ["grouped", "stacked", "100"]
40
40
  },
41
- visibleIf: t
41
+ visibleIf: c
42
42
  },
43
43
  {
44
44
  type: "divider",
45
- visibleIf: t
45
+ visibleIf: c
46
46
  },
47
47
  {
48
48
  key: "display.title",
@@ -57,7 +57,7 @@ const t = (l, e) => {
57
57
  type: "switch",
58
58
  default: !0
59
59
  },
60
- visibleIf: t
60
+ visibleIf: c
61
61
  },
62
62
  {
63
63
  key: "display.modeOption",
@@ -65,7 +65,7 @@ const t = (l, e) => {
65
65
  type: "switch",
66
66
  default: !1
67
67
  },
68
- visibleIf: t
68
+ visibleIf: c
69
69
  },
70
70
  {
71
71
  key: "bars.label",
@@ -87,31 +87,31 @@ const t = (l, e) => {
87
87
  type: "switch",
88
88
  default: !1
89
89
  },
90
- visibleIf: c
90
+ visibleIf: t
91
91
  },
92
92
  {
93
93
  key: "bars.roundedCorners",
94
94
  control: {
95
95
  type: "slider",
96
- default: (l, e, r) => {
96
+ default: (i, e, r) => {
97
97
  var n;
98
98
  return (n = r == null ? void 0 : r.itemSpecific) == null ? void 0 : n.rounding;
99
99
  },
100
100
  min: 0,
101
101
  max: 20,
102
102
  step: 1,
103
- extraLabel: (l, e, r) => {
103
+ extraLabel: (i, e, r) => {
104
104
  var n, o;
105
105
  if (typeof ((n = r == null ? void 0 : r.itemSpecific) == null ? void 0 : n.rounding) == "number")
106
- return typeof ((o = l == null ? void 0 : l.bars) == null ? void 0 : o.roundedCorners) != "number" ? "auto" : "reset";
106
+ return typeof ((o = i == null ? void 0 : i.bars) == null ? void 0 : o.roundedCorners) != "number" ? "auto" : "reset";
107
107
  },
108
- extraLabelHasClickAction: (l, e, r) => {
108
+ extraLabelHasClickAction: (i, e, r) => {
109
109
  var n, o;
110
- return !(typeof ((n = r == null ? void 0 : r.itemSpecific) == null ? void 0 : n.rounding) != "number" || typeof ((o = l == null ? void 0 : l.bars) == null ? void 0 : o.roundedCorners) != "number");
110
+ return !(typeof ((n = r == null ? void 0 : r.itemSpecific) == null ? void 0 : n.rounding) != "number" || typeof ((o = i == null ? void 0 : i.bars) == null ? void 0 : o.roundedCorners) != "number");
111
111
  },
112
- extraLabelClickAction: (l, e, r) => {
112
+ extraLabelClickAction: (i, e, r) => {
113
113
  var o;
114
- const n = { ...l };
114
+ const n = { ...i };
115
115
  return (o = n == null ? void 0 : n.bars) == null || delete o.roundedCorners, { value: null, options: n };
116
116
  }
117
117
  }
@@ -120,31 +120,31 @@ const t = (l, e) => {
120
120
  key: "color",
121
121
  control: {
122
122
  type: "color-picker",
123
- default: (l, e, r) => {
123
+ default: (i, e, r) => {
124
124
  var n;
125
125
  return (r == null ? void 0 : r.mainColor) ?? ((n = r == null ? void 0 : r.colors) == null ? void 0 : n[0]);
126
126
  },
127
- extraLabel: (l, e, r) => {
127
+ extraLabel: (i, e, r) => {
128
128
  var o;
129
129
  const n = (r == null ? void 0 : r.mainColor) ?? ((o = r == null ? void 0 : r.colors) == null ? void 0 : o[0]);
130
- if (n && l.color !== n)
130
+ if (n && i.color !== n)
131
131
  return "reset";
132
132
  },
133
- extraLabelHasClickAction: (l, e, r) => {
133
+ extraLabelHasClickAction: (i, e, r) => {
134
134
  var o;
135
135
  const n = (r == null ? void 0 : r.mainColor) ?? ((o = r == null ? void 0 : r.colors) == null ? void 0 : o[0]);
136
- return !!(n && l.color !== n);
136
+ return !!(n && i.color !== n);
137
137
  },
138
- extraLabelClickAction: (l, e, r) => {
138
+ extraLabelClickAction: (i, e, r) => {
139
139
  var o;
140
- const n = { ...l };
140
+ const n = { ...i };
141
141
  return n.color = (r == null ? void 0 : r.mainColor) ?? ((o = r == null ? void 0 : r.colors) == null ? void 0 : o[0]), {
142
142
  value: n.color,
143
143
  options: n
144
144
  };
145
145
  }
146
146
  },
147
- visibleIf: c
147
+ visibleIf: t
148
148
  }
149
149
  ]
150
150
  },
@@ -172,7 +172,7 @@ const t = (l, e) => {
172
172
  }
173
173
  }
174
174
  ],
175
- visibleIf: t
175
+ visibleIf: c
176
176
  }
177
177
  ];
178
178
  export {
@@ -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 c=(i,e)=>{var r,n,o,a;if(Array.isArray(e)&&(e==null?void 0:e.length)>0)return((n=(r=e==null?void 0:e.find(l=>(l==null?void 0:l.name)==="legend"))==null?void 0:r.content)==null?void 0:n.length)>0||((a=(o=e==null?void 0:e.find(l=>(l==null?void 0:l.name)==="measure"))==null?void 0:o.content)==null?void 0:a.length)>1},t=(i,e)=>{var r,n,o,a;if(Array.isArray(e)&&(e==null?void 0:e.length)>0)return((n=(r=e==null?void 0:e.find(l=>(l==null?void 0:l.name)==="legend"))==null?void 0:r.content)==null?void 0:n.length)===0&&((a=(o=e==null?void 0:e.find(l=>(l==null?void 0:l.name)==="measure"))==null?void 0:o.content)==null?void 0:a.length)<=1},u=[{key:"general",type:"group",open:!0,children:[{key:"mode",control:{type:"picker",default:"grouped",enum:["grouped","stacked","100"]},visibleIf:c},{type:"divider",visibleIf:c},{key:"display.title",control:{type:"switch",default:!0}},{key:"display.legend",control:{type:"switch",default:!0},visibleIf:c},{key:"display.modeOption",control:{type:"switch",default:!1},visibleIf:c},{key:"bars.label",control:{type:"picker",default:"none",enum:["none","percentage","percentageLegend","percentageCategory","percentageMax"]}},{key:"categories.colored",control:{type:"switch",default:!1},visibleIf:t},{key:"bars.roundedCorners",control:{type:"slider",default:(i,e,r)=>{var n;return(n=r==null?void 0:r.itemSpecific)==null?void 0:n.rounding},min:0,max:20,step:1,extraLabel:(i,e,r)=>{var n,o;if(typeof((n=r==null?void 0:r.itemSpecific)==null?void 0:n.rounding)=="number")return typeof((o=i==null?void 0:i.bars)==null?void 0:o.roundedCorners)!="number"?"auto":"reset"},extraLabelHasClickAction:(i,e,r)=>{var n,o;return!(typeof((n=r==null?void 0:r.itemSpecific)==null?void 0:n.rounding)!="number"||typeof((o=i==null?void 0:i.bars)==null?void 0:o.roundedCorners)!="number")},extraLabelClickAction:(i,e,r)=>{var o;const n={...i};return(o=n==null?void 0:n.bars)==null||delete o.roundedCorners,{value:null,options:n}}}},{key:"color",control:{type:"color-picker",default:(i,e,r)=>{var n;return(r==null?void 0:r.mainColor)??((n=r==null?void 0:r.colors)==null?void 0:n[0])},extraLabel:(i,e,r)=>{var o;const n=(r==null?void 0:r.mainColor)??((o=r==null?void 0:r.colors)==null?void 0:o[0]);if(n&&i.color!==n)return"reset"},extraLabelHasClickAction:(i,e,r)=>{var o;const n=(r==null?void 0:r.mainColor)??((o=r==null?void 0:r.colors)==null?void 0:o[0]);return!!(n&&i.color!==n)},extraLabelClickAction:(i,e,r)=>{var o;const n={...i};return n.color=(r==null?void 0:r.mainColor)??((o=r==null?void 0:r.colors)==null?void 0:o[0]),{value:n.color,options:n}}},visibleIf:t}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.position",control:{label:"Position",type:"position-picker",default:"top-right",enum:["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]}}],visibleIf:c}];exports.default=u;