@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.
- package/components/area-chart-options.config-A8NH6aUG.cjs +20 -0
- package/components/{area-chart-options.config-B5qtlH-_.js → area-chart-options.config-BbSP_Auh.js} +32 -31
- package/components/bar-chart-options.config-CRGDLJCK.js +161 -0
- package/components/bar-chart-options.config-Cpbrpmp1.cjs +20 -0
- package/components/{box-plot-options.config-DoZHVmpm.js → box-plot-options.config-BtonHYul.js} +65 -90
- package/components/box-plot-options.config-CGIKZNsw.cjs +20 -0
- package/components/bubble-chart-options.config-BM7njnkG.cjs +20 -0
- package/components/{bubble-chart-options.config-Cp6OQnJl.js → bubble-chart-options.config-R5R-E3dd.js} +24 -42
- package/components/{bubble-chart-options.de-L-yQc0Vj.cjs → bubble-chart-options.de-D2Z88fwi.cjs} +1 -1
- package/components/{bubble-chart-options.de-BGWrRmuN.js → bubble-chart-options.de-D8Ap7joq.js} +6 -1
- package/components/{bubble-chart-options.en-CYwRht5M.js → bubble-chart-options.en-BU3F4n13.js} +8 -3
- package/components/{bubble-chart-options.en-CCG_rkEd.cjs → bubble-chart-options.en-CP9PhuPw.cjs} +1 -1
- package/components/{bubble-chart-options.es-CihHnrZ4.cjs → bubble-chart-options.es-B6mTDtxs.cjs} +1 -1
- package/components/{bubble-chart-options.es-ZnkjzgL_.js → bubble-chart-options.es-Bh_dRgE3.js} +7 -2
- package/components/{bubble-chart-options.fr-CFULfSKT.cjs → bubble-chart-options.fr-BMPe3Z5G.cjs} +1 -1
- package/components/{bubble-chart-options.fr-Cym1h3sF.js → bubble-chart-options.fr-CNiJgmGl.js} +7 -2
- package/components/{bubble-chart-options.nl-Deep5xXO.cjs → bubble-chart-options.nl-5thQrFoi.cjs} +1 -1
- package/components/{bubble-chart-options.nl-D1TFWi5k.js → bubble-chart-options.nl-BoV3kpaZ.js} +8 -3
- package/components/{bullet-chart-options.config-D8mAooLE.js → bullet-chart-options.config-D-_esi9S.js} +7 -25
- package/components/bullet-chart-options.config-D-wrbTMO.cjs +20 -0
- package/components/{choropleth-map-options.config-4QDypbCL.cjs → choropleth-map-options.config-BOuMfF8r.cjs} +1 -1
- package/components/{choropleth-map-options.config-V8tRnQqz.js → choropleth-map-options.config-z2fY__jr.js} +4 -4
- package/components/{circular-guage-options.config-C3ExuT5F.js → circular-gauge-options.config-9tIxyJj1.js} +19 -29
- package/components/circular-gauge-options.config-h9KNl5Eq.cjs +20 -0
- package/components/column-chart-options.config-B-e2SI2W.cjs +20 -0
- package/components/{column-chart-options.config-CGw1dN1E.js → column-chart-options.config-D87ZFT76.js} +34 -52
- package/components/conditional-number-options.config-D09JeUlU.cjs +20 -0
- package/components/{conditional-number-options.config-B24MqnZj.js → conditional-number-options.config-PVvKLc1P.js} +16 -34
- package/components/{donut-chart-options.config-DuJFyp4z.js → donut-chart-options.config-NPwNtLDW.js} +23 -20
- package/components/donut-chart-options.config-bqcKuyIu.cjs +20 -0
- package/components/{dropdown-filter-options.config-BxjR1xAD.js → dropdown-filter-options.config-D9dvPypF.js} +5 -5
- package/components/{dropdown-filter-options.config-C3YEGK-5.cjs → dropdown-filter-options.config-DS-MORmq.cjs} +1 -1
- package/components/edit-item/index.cjs +14 -14
- package/components/edit-item/index.js +74 -56
- package/components/edit-option/helpers/get-default-value.d.ts +1 -0
- package/components/edit-option/index.cjs +91 -91
- package/components/edit-option/index.js +330 -330
- package/components/edit-option-position-picker/edit-option-position-picker.d.ts +1 -1
- package/components/edit-option-position-picker/index.cjs +2 -2
- package/components/edit-option-position-picker/index.js +4 -6
- package/components/funnel-chart-options.config-CrlHKd36.js +184 -0
- package/components/funnel-chart-options.config-hw_GXs4s.cjs +20 -0
- package/components/funnel-chart-options.de-CuVFMJUC.js +93 -0
- package/components/funnel-chart-options.de-DRAGes5d.cjs +20 -0
- package/components/funnel-chart-options.en-CvPbJr1r.js +93 -0
- package/components/funnel-chart-options.en-b6BBKfZh.cjs +20 -0
- package/components/funnel-chart-options.es-DfDw5S5g.cjs +20 -0
- package/components/funnel-chart-options.es-_M7sC4m6.js +93 -0
- package/components/funnel-chart-options.fr-DWkPkC47.cjs +20 -0
- package/components/funnel-chart-options.fr-DvnZ-XbE.js +93 -0
- package/components/funnel-chart-options.nl-BdAL0ZJP.cjs +20 -0
- package/components/funnel-chart-options.nl-C72_FTNm.js +93 -0
- package/components/helpers-CKo1Fkek.cjs +20 -0
- package/components/helpers-DqqxcHaY.js +51 -0
- package/components/{line-chart-options.config-CEUJYNt7.js → line-chart-options.config-BtfCTjNr.js} +32 -31
- package/components/line-chart-options.config-Cb7txmmw.cjs +20 -0
- package/components/radar-chart-options.config-Ck7skfge.cjs +20 -0
- package/components/{radar-chart-options.config-gKHFbC63.js → radar-chart-options.config-DFxna7UF.js} +25 -43
- package/components/sankey-diagram-options.config-DJqI2dMh.cjs +20 -0
- package/components/{sankey-diagram-options.config-ylhZhJ6H.js → sankey-diagram-options.config-Dj9g2BOp.js} +16 -26
- package/components/{search-filter-options.config-C9CoGS9f.cjs → search-filter-options.config-BCaDlYqZ.cjs} +1 -1
- package/components/{search-filter-options.config-baX2Vdul.js → search-filter-options.config-BE3JhR-F.js} +1 -1
- package/components/{slicer-filter-options.config-A3YK_KZn.js → slicer-filter-options.config-BArPA7Mb.js} +20 -38
- package/components/slicer-filter-options.config-BW44EPso.cjs +20 -0
- package/components/{slider-filter-options.config-C-zvfTNl.js → slider-filter-options.config-BIKIbGbN.js} +7 -25
- package/components/slider-filter-options.config-zuWa8Rtt.cjs +20 -0
- package/components/sunburst-chart-options.config-BjtKxThH.cjs +20 -0
- package/components/{sunburst-chart-options.config-VZqDthcz.js → sunburst-chart-options.config-BxkJfdrU.js} +30 -30
- package/components/{textobject-options.nl-V03mmGmH.js → text-options.nl-C8sliUgH.js} +2 -2
- package/components/{treemap-chart-options.config-f8L8KfDj.js → treemap-chart-options.config-MyCTS35Y.js} +45 -63
- package/components/treemap-chart-options.config-PwXbMhHZ.cjs +20 -0
- package/components/{video-options.config-BBDHSf6_.cjs → video-options.config-CGsDTwHc.cjs} +1 -1
- package/components/{video-options.config-CbtNZAEK.js → video-options.config-Dk36zJ1B.js} +5 -5
- package/components/wordcloud-chart-options.config-Cv9l0THs.cjs +20 -0
- package/components/{wordcloud-chart-options.config-CQs8YFfd.js → wordcloud-chart-options.config-Dq7TF0sb.js} +10 -28
- package/custom-elements.json +31 -3
- package/item-definitions/area-chart/area-chart-options.config.d.ts +27 -6
- package/item-definitions/bar-chart/bar-chart-options.config.d.ts +13 -13
- package/item-definitions/box-plot/box-plot-options.config.d.ts +16 -16
- package/item-definitions/bubble-chart/bubble-chart-options.config.d.ts +7 -7
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.de.d.ts +5 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.en.d.ts +5 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.es.d.ts +5 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.fr.d.ts +5 -0
- package/item-definitions/bubble-chart/i18n/bubble-chart-options.nl.d.ts +5 -0
- package/item-definitions/bullet-chart/bullet-chart-options.config.d.ts +4 -4
- package/item-definitions/choropleth-map/choropleth-map-options.config.d.ts +1 -1
- package/item-definitions/circular-gauge/{circular-guage-options.config.d.ts → circular-gauge-options.config.d.ts} +4 -4
- package/item-definitions/column-chart/column-chart-options.config.d.ts +13 -13
- package/item-definitions/conditional-number/conditional-number-options.config.d.ts +7 -7
- package/item-definitions/donut-chart/donut-chart-options.config.d.ts +8 -7
- package/item-definitions/dropdown-filter/dropdown-filter-options.config.d.ts +2 -2
- package/item-definitions/funnel-chart/funnel-chart-options.config.d.ts +88 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.de.d.ts +72 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.en.d.ts +72 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.es.d.ts +72 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.fr.d.ts +72 -0
- package/item-definitions/funnel-chart/i18n/funnel-chart-options.nl.d.ts +72 -0
- package/item-definitions/helpers.d.ts +7 -0
- package/item-definitions/line-chart/line-chart-options.config.d.ts +31 -7
- package/item-definitions/radar-chart/radar-chart-options.config.d.ts +8 -8
- package/item-definitions/sankey-diagram/sankey-diagram-options.config.d.ts +5 -5
- package/item-definitions/search-filter/search-filter-options.config.d.ts +1 -1
- package/item-definitions/slicer-filter/slicer-filter-options.config.d.ts +8 -8
- package/item-definitions/slider-filter/slider-filter-options.config.d.ts +4 -4
- package/item-definitions/sunburst-chart/sunburst-chart-options.config.d.ts +4 -4
- package/item-definitions/treemap-chart/treemap-chart-options.config.d.ts +10 -10
- package/item-definitions/video/video-options.config.d.ts +3 -3
- package/item-definitions/wordcloud-chart/wordcloud-chart-options.config.d.ts +5 -5
- package/package.json +1 -1
- package/components/area-chart-options.config-DMfRioZx.cjs +0 -20
- package/components/bar-chart-options.config-C7BGg5sh.cjs +0 -20
- package/components/bar-chart-options.config-CQfpV1Rx.js +0 -181
- package/components/box-plot-options.config-BsFp2CBS.cjs +0 -20
- package/components/bubble-chart-options.config-DL5Xl6Ad.cjs +0 -20
- package/components/bullet-chart-options.config-BO22R7gx.cjs +0 -20
- package/components/circular-guage-options.config-Dvg5quJ9.cjs +0 -20
- package/components/column-chart-options.config-DomUPYPM.cjs +0 -20
- package/components/conditional-number-options.config-C1eERsoe.cjs +0 -20
- package/components/donut-chart-options.config-kUyTbAtZ.cjs +0 -20
- package/components/line-chart-options.config-DNGyRAvG.cjs +0 -20
- package/components/radar-chart-options.config-DUXOzdbl.cjs +0 -20
- package/components/sankey-diagram-options.config-CG5S1OI3.cjs +0 -20
- package/components/slicer-filter-options.config-DQunaj8q.cjs +0 -20
- package/components/slider-filter-options.config-DF_sAElS.cjs +0 -20
- package/components/sunburst-chart-options.config-CEfAd1RQ.cjs +0 -20
- package/components/treemap-chart-options.config-Dc2UNcGG.cjs +0 -20
- package/components/wordcloud-chart-options.config-BLvcDvxT.cjs +0 -20
- /package/components/{imageobject-options.de-CBkRiIbw.cjs → image-options.de-CBkRiIbw.cjs} +0 -0
- /package/components/{imageobject-options.de-CYVnqdL_.js → image-options.de-CYVnqdL_.js} +0 -0
- /package/components/{imageobject-options.en-BMmV-4O-.js → image-options.en-BMmV-4O-.js} +0 -0
- /package/components/{imageobject-options.en-DflcU_2H.cjs → image-options.en-DflcU_2H.cjs} +0 -0
- /package/components/{imageobject-options.es-CRbNv384.cjs → image-options.es-CRbNv384.cjs} +0 -0
- /package/components/{imageobject-options.es-UN5rmaEt.js → image-options.es-UN5rmaEt.js} +0 -0
- /package/components/{imageobject-options.fr-DRE3zImB.js → image-options.fr-DRE3zImB.js} +0 -0
- /package/components/{imageobject-options.fr-ycH7UoX5.cjs → image-options.fr-ycH7UoX5.cjs} +0 -0
- /package/components/{imageobject-options.nl-D20hki6i.js → image-options.nl-D20hki6i.js} +0 -0
- /package/components/{imageobject-options.nl-DQL45o0j.cjs → image-options.nl-DQL45o0j.cjs} +0 -0
- /package/components/{textobject-options.de-BjfS5RBn.js → text-options.de-BjfS5RBn.js} +0 -0
- /package/components/{textobject-options.de-DLr2-jBn.cjs → text-options.de-DLr2-jBn.cjs} +0 -0
- /package/components/{textobject-options.en-BQqHFc7M.js → text-options.en-BQqHFc7M.js} +0 -0
- /package/components/{textobject-options.en-LfsMtwo6.cjs → text-options.en-LfsMtwo6.cjs} +0 -0
- /package/components/{textobject-options.es-BLQBqlvK.cjs → text-options.es-BLQBqlvK.cjs} +0 -0
- /package/components/{textobject-options.es-CMB1DKq4.js → text-options.es-CMB1DKq4.js} +0 -0
- /package/components/{textobject-options.fr-B8x29grG.cjs → text-options.fr-B8x29grG.cjs} +0 -0
- /package/components/{textobject-options.fr-VPJ3bDOM.js → text-options.fr-VPJ3bDOM.js} +0 -0
- /package/components/{textobject-options.nl-DzglrI3i.cjs → text-options.nl-DzglrI3i.cjs} +0 -0
- /package/item-definitions/image/i18n/{imageobject-options.de.d.ts → image-options.de.d.ts} +0 -0
- /package/item-definitions/image/i18n/{imageobject-options.en.d.ts → image-options.en.d.ts} +0 -0
- /package/item-definitions/image/i18n/{imageobject-options.es.d.ts → image-options.es.d.ts} +0 -0
- /package/item-definitions/image/i18n/{imageobject-options.fr.d.ts → image-options.fr.d.ts} +0 -0
- /package/item-definitions/image/i18n/{imageobject-options.nl.d.ts → image-options.nl.d.ts} +0 -0
- /package/item-definitions/text/i18n/{textobject-options.de.d.ts → text-options.de.d.ts} +0 -0
- /package/item-definitions/text/i18n/{textobject-options.en.d.ts → text-options.en.d.ts} +0 -0
- /package/item-definitions/text/i18n/{textobject-options.es.d.ts → text-options.es.d.ts} +0 -0
- /package/item-definitions/text/i18n/{textobject-options.fr.d.ts → text-options.fr.d.ts} +0 -0
- /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;
|
@@ -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
|
-
|
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: (
|
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: (
|
74
|
-
toOptionValue: (
|
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: (
|
83
|
-
|
84
|
-
|
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: (
|
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: (
|
144
|
-
var
|
145
|
-
return (
|
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: (
|
158
|
-
var
|
159
|
-
return ((
|
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: (
|
173
|
-
var
|
174
|
-
return ((
|
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
|
-
|
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
|
-
|
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: (
|
40
|
-
|
41
|
-
|
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
|
-
|
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
|
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: (
|
67
|
-
var
|
68
|
-
if (typeof ((
|
69
|
-
return typeof (
|
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: (
|
72
|
-
var
|
73
|
-
return !(typeof ((
|
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: (
|
76
|
-
const
|
77
|
-
return (
|
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: (
|
91
|
-
var
|
92
|
-
if (typeof ((
|
93
|
-
return typeof (
|
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: (
|
96
|
-
var
|
97
|
-
return !(typeof ((
|
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: (
|
100
|
-
const
|
101
|
-
return (
|
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: "
|
117
|
+
default: "topRight",
|
118
118
|
enum: [
|
119
|
-
"
|
119
|
+
"topLeft",
|
120
120
|
"top",
|
121
|
-
"
|
121
|
+
"topRight",
|
122
122
|
"right",
|
123
|
-
"
|
123
|
+
"bottomRight",
|
124
124
|
"bottom",
|
125
|
-
"
|
125
|
+
"bottomLeft",
|
126
126
|
"left"
|
127
127
|
]
|
128
128
|
}
|
129
129
|
}
|
130
130
|
],
|
131
|
-
visibleIf: (
|
132
|
-
var
|
133
|
-
return (
|
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
|
-
|
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
|
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
|
-
|
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
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
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:
|
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:
|
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:
|
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: (
|
98
|
-
|
99
|
-
|
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: (
|
122
|
-
var
|
123
|
-
return ((
|
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: (
|
145
|
-
var
|
146
|
-
if (typeof ((
|
147
|
-
return typeof (
|
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: (
|
150
|
-
var
|
151
|
-
return !(typeof ((
|
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: (
|
154
|
-
const
|
155
|
-
return (
|
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: (
|
169
|
-
var
|
170
|
-
if (typeof ((
|
171
|
-
return typeof (
|
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: (
|
174
|
-
var
|
175
|
-
return !(typeof ((
|
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: (
|
178
|
-
const
|
179
|
-
return (
|
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: "
|
177
|
+
default: "topRight",
|
196
178
|
enum: [
|
197
|
-
"
|
179
|
+
"topLeft",
|
198
180
|
"top",
|
199
|
-
"
|
181
|
+
"topRight",
|
200
182
|
"right",
|
201
|
-
"
|
183
|
+
"bottomRight",
|
202
184
|
"bottom",
|
203
|
-
"
|
185
|
+
"bottomLeft",
|
204
186
|
"left"
|
205
187
|
]
|
206
188
|
}
|
207
189
|
}
|
208
190
|
],
|
209
|
-
visibleIf:
|
191
|
+
visibleIf: t
|
210
192
|
}
|
211
193
|
];
|
212
194
|
export {
|
213
|
-
|
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;
|