@luzmo/analytics-components-kit 1.0.1-alpha.11 → 1.0.1-alpha.13
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.config-Ba68ZiSX.js +198 -0
- package/components/area-chart.config-Vo0u3UK8.cjs +20 -0
- package/components/{column-chart.config-BYIX4E6J.js → bar-chart.config-CF1i1Imw.js} +41 -14
- package/components/bar-chart.config-YLP38HOE.cjs +20 -0
- package/components/bubble-chart.config-1MrC55Nb.js +142 -0
- package/components/bubble-chart.config-bQBq1s3C.cjs +20 -0
- package/components/circle-pack-chart.config-BOlrxRJA.cjs +20 -0
- package/components/circle-pack-chart.config-Bbm2bTgy.js +110 -0
- package/components/{bar-chart.config-BYIX4E6J.js → column-chart.config-BT1QH4BI.js} +40 -14
- package/components/column-chart.config-CppyNukh.cjs +20 -0
- package/components/display-settings-datetime/index.cjs +25 -25
- package/components/display-settings-datetime/index.js +66 -59
- package/components/donut-chart.config-B_38UAqp.cjs +20 -0
- package/components/{donut-chart.config-3DhKiSSM.js → donut-chart.config-DuJFyp4z.js} +4 -2
- package/components/dropdown-filter.config-BPBxTuLQ.cjs +20 -0
- package/components/dropdown-filter.config-Drv-A4zw.js +163 -0
- package/components/edit-item/index.cjs +11 -16
- package/components/edit-item/index.js +103 -87
- package/components/edit-option/index.cjs +108 -100
- package/components/edit-option/index.js +330 -294
- package/components/edit-option/item-configs/area-chart.config.d.ts +146 -0
- package/components/edit-option/item-configs/bar-chart.config.d.ts +23 -2
- package/components/edit-option/item-configs/bubble-chart.config.d.ts +90 -0
- package/components/edit-option/item-configs/circle-pack-chart.config.d.ts +35 -0
- package/components/edit-option/item-configs/column-chart.config.d.ts +17 -2
- package/components/edit-option/item-configs/donut-chart.config.d.ts +4 -0
- package/components/edit-option/item-configs/dropdown-filter.config.d.ts +74 -0
- package/components/edit-option/item-configs/line-chart.config.d.ts +16 -0
- package/components/edit-option/item-configs/ohlc-chart.config.d.ts +37 -0
- package/components/edit-option/item-configs/radar-chart.config.d.ts +122 -0
- package/components/edit-option/item-configs/sankey-diagram.config.d.ts +46 -0
- package/components/edit-option/item-configs/search-filter.config.d.ts +40 -0
- package/components/edit-option/item-configs/slicer-filter.config.d.ts +136 -0
- package/components/edit-option/item-configs/slider-filter.config.d.ts +45 -0
- package/components/edit-option/item-configs/sunburst-chart.config.d.ts +51 -0
- package/components/edit-option/item-configs/treemap-chart.config.d.ts +103 -0
- package/components/edit-option/item-configs/wordcloud-chart.config.d.ts +46 -0
- package/components/{en-GB-C9t4MSgD.js → en-GB-BtLbN8o_.js} +1 -1
- package/components/{en-GB-D5Tvhki6.cjs → en-GB-Dd11ROdW.cjs} +1 -1
- package/components/{en-DlRadzUI.js → formatter-CQDms6fU.js} +258 -267
- package/components/{en-BnVnZvpC.cjs → formatter-DiJYkB6b.cjs} +1 -1
- package/components/index-DXyAeBh6.cjs +20 -0
- package/components/index-Di00QW2f.js +113 -0
- package/components/index.cjs +1 -1
- package/components/index.js +8 -6
- package/components/{line-chart.config-DBw4A3Rf.js → line-chart.config-BB_thZtA.js} +3 -2
- package/components/line-chart.config-i2233s5F.cjs +20 -0
- package/components/ohlc-chart.config-BLlRV_bs.cjs +20 -0
- package/components/ohlc-chart.config-D9npwajt.js +75 -0
- package/components/radar-chart.config-DPPlIptA.cjs +20 -0
- package/components/radar-chart.config-DfID1TZ-.js +164 -0
- package/components/sankey-diagram.config-BVjCEw5M.js +138 -0
- package/components/sankey-diagram.config-CG5S1OI3.cjs +20 -0
- package/components/search-filter.config-C9CoGS9f.cjs +20 -0
- package/components/search-filter.config-baX2Vdul.js +111 -0
- package/components/slicer-filter.config-A3YK_KZn.js +211 -0
- package/components/slicer-filter.config-DQunaj8q.cjs +20 -0
- package/components/slider-filter.config-C-zvfTNl.js +98 -0
- package/components/slider-filter.config-DF_sAElS.cjs +20 -0
- package/components/sunburst-chart.config-CEfAd1RQ.cjs +20 -0
- package/components/sunburst-chart.config-VZqDthcz.js +139 -0
- package/components/treemap-chart.config-BalwwrhW.js +214 -0
- package/components/treemap-chart.config-D6H5Hf2B.cjs +20 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +69 -6
- package/components/wordcloud-chart.config-BLvcDvxT.cjs +20 -0
- package/components/wordcloud-chart.config-CQs8YFfd.js +89 -0
- package/custom-elements.json +182 -0
- package/package.json +4 -9
- package/utils/index.d.ts +1 -0
- package/utils/switch-item/index.d.ts +18 -0
- package/components/bar-chart.config--VDhFN4d.cjs +0 -20
- package/components/column-chart.config-BmhmcBZJ.cjs +0 -20
- package/components/donut-chart.config-DLWJUlHx.cjs +0 -20
- package/components/line-chart.config-cvwDhvSq.cjs +0 -20
- /package/components/{slot-configs.cjs → item-slots-configs.cjs} +0 -0
- /package/components/{slot-configs.js → item-slots-configs.js} +0 -0
@@ -0,0 +1,198 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2024 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
|
+
const d = (l, e) => {
|
21
|
+
var t, a, r, i;
|
22
|
+
return e && e.length > 0 ? ((a = (t = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "legend")) == null ? void 0 : t.content) == null ? void 0 : a.length) > 0 || ((i = (r = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "measure")) == null ? void 0 : r.content) == null ? void 0 : i.length) > 1 : !1;
|
23
|
+
}, u = (l, e) => {
|
24
|
+
var t, a, r, i;
|
25
|
+
return e && e.length > 0 ? !(((a = (t = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "legend")) == null ? void 0 : t.content) == null ? void 0 : a.length) > 0) && ((i = (r = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "measure")) == null ? void 0 : r.content) == null ? void 0 : i.length) <= 1 : !0;
|
26
|
+
}, o = (l, e) => {
|
27
|
+
var t, a, r;
|
28
|
+
return ((r = (a = (t = e == null ? void 0 : e.find((i) => (i == null ? void 0 : i.name) === "x-axis")) == null ? void 0 : t.content) == null ? void 0 : a[0]) == null ? void 0 : r.type) === "datetime";
|
29
|
+
}, c = (l, e) => {
|
30
|
+
var t, a, r, i;
|
31
|
+
return ((r = (a = (t = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "x-axis")) == null ? void 0 : t.content) == null ? void 0 : a[0]) == null ? void 0 : r.type) === "datetime" && ((i = l == null ? void 0 : l.missingValue) == null ? void 0 : i.type) === "manual";
|
32
|
+
}, p = [
|
33
|
+
{
|
34
|
+
key: "general",
|
35
|
+
type: "group",
|
36
|
+
open: !0,
|
37
|
+
children: [
|
38
|
+
{
|
39
|
+
key: "display.title",
|
40
|
+
control: {
|
41
|
+
label: "Title",
|
42
|
+
type: "switch",
|
43
|
+
default: !0
|
44
|
+
}
|
45
|
+
},
|
46
|
+
{
|
47
|
+
type: "divider"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
key: "mode",
|
51
|
+
control: {
|
52
|
+
label: "Mode",
|
53
|
+
type: "picker",
|
54
|
+
default: "unstacked",
|
55
|
+
enum: ["100", "unstacked", "stacked", "stream"]
|
56
|
+
},
|
57
|
+
visibleIf: d
|
58
|
+
},
|
59
|
+
{
|
60
|
+
key: "interpolation",
|
61
|
+
control: {
|
62
|
+
label: "Interpolation",
|
63
|
+
type: "picker",
|
64
|
+
default: "linear",
|
65
|
+
enum: ["linear", "step-before", "step-after", "monotone"]
|
66
|
+
}
|
67
|
+
},
|
68
|
+
{
|
69
|
+
key: "display.legend",
|
70
|
+
control: {
|
71
|
+
label: "Legend",
|
72
|
+
type: "switch",
|
73
|
+
default: !0
|
74
|
+
},
|
75
|
+
visibleIf: d
|
76
|
+
},
|
77
|
+
{
|
78
|
+
key: "display.modeOption",
|
79
|
+
control: {
|
80
|
+
label: "Mode option",
|
81
|
+
type: "switch",
|
82
|
+
default: !0
|
83
|
+
},
|
84
|
+
visibleIf: d
|
85
|
+
},
|
86
|
+
{
|
87
|
+
key: "missingValue.type",
|
88
|
+
control: {
|
89
|
+
label: "Fill missing values",
|
90
|
+
type: "picker",
|
91
|
+
default: "no",
|
92
|
+
enum: ["no", "break", "manual"]
|
93
|
+
},
|
94
|
+
visibleIf: o
|
95
|
+
},
|
96
|
+
{
|
97
|
+
key: "missingValue.value",
|
98
|
+
control: {
|
99
|
+
label: "Value",
|
100
|
+
type: "number-field",
|
101
|
+
default: "no",
|
102
|
+
min: 1
|
103
|
+
},
|
104
|
+
visibleIf: c
|
105
|
+
},
|
106
|
+
{
|
107
|
+
key: "color",
|
108
|
+
control: {
|
109
|
+
label: "Line color",
|
110
|
+
type: "color-picker",
|
111
|
+
default: (l, e, t) => {
|
112
|
+
var a;
|
113
|
+
return (t == null ? void 0 : t.mainColor) ?? ((a = t == null ? void 0 : t.colors) == null ? void 0 : a[0]);
|
114
|
+
}
|
115
|
+
},
|
116
|
+
visibleIf: u
|
117
|
+
},
|
118
|
+
{
|
119
|
+
key: "lines.gradient",
|
120
|
+
control: {
|
121
|
+
label: "Line gradient",
|
122
|
+
type: "switch",
|
123
|
+
default: !0
|
124
|
+
}
|
125
|
+
},
|
126
|
+
{
|
127
|
+
key: "lines.strokeWidth",
|
128
|
+
control: {
|
129
|
+
label: "Stroke width",
|
130
|
+
type: "slider",
|
131
|
+
default: 2,
|
132
|
+
min: 1,
|
133
|
+
max: 7,
|
134
|
+
step: 1
|
135
|
+
}
|
136
|
+
}
|
137
|
+
]
|
138
|
+
},
|
139
|
+
{
|
140
|
+
key: "markers",
|
141
|
+
type: "group",
|
142
|
+
open: !1,
|
143
|
+
children: [
|
144
|
+
{
|
145
|
+
key: "markers.enabled",
|
146
|
+
control: {
|
147
|
+
label: "Enabled",
|
148
|
+
type: "switch",
|
149
|
+
default: !1
|
150
|
+
}
|
151
|
+
},
|
152
|
+
{
|
153
|
+
key: "markers.size",
|
154
|
+
control: {
|
155
|
+
type: "slider",
|
156
|
+
label: "Size",
|
157
|
+
default: 4,
|
158
|
+
min: 2,
|
159
|
+
max: 10,
|
160
|
+
step: 1
|
161
|
+
},
|
162
|
+
visibleIf: (l) => {
|
163
|
+
var e;
|
164
|
+
return (e = l == null ? void 0 : l.markers) == null ? void 0 : e.enabled;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
]
|
168
|
+
},
|
169
|
+
{
|
170
|
+
key: "legend",
|
171
|
+
type: "group",
|
172
|
+
open: !1,
|
173
|
+
children: [
|
174
|
+
{
|
175
|
+
key: "legend.position",
|
176
|
+
control: {
|
177
|
+
label: "Position",
|
178
|
+
type: "position-picker",
|
179
|
+
default: "top-right",
|
180
|
+
enum: [
|
181
|
+
"top-left",
|
182
|
+
"top",
|
183
|
+
"top-right",
|
184
|
+
"right",
|
185
|
+
"bottom-right",
|
186
|
+
"bottom",
|
187
|
+
"bottom-left",
|
188
|
+
"left"
|
189
|
+
]
|
190
|
+
}
|
191
|
+
}
|
192
|
+
],
|
193
|
+
visibleIf: d
|
194
|
+
}
|
195
|
+
];
|
196
|
+
export {
|
197
|
+
p as default
|
198
|
+
};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2024 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 d=(l,e)=>{var t,a,r,i;return e&&e.length>0?((a=(t=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="legend"))==null?void 0:t.content)==null?void 0:a.length)>0||((i=(r=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="measure"))==null?void 0:r.content)==null?void 0:i.length)>1:!1},u=(l,e)=>{var t,a,r,i;return e&&e.length>0?!(((a=(t=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="legend"))==null?void 0:t.content)==null?void 0:a.length)>0)&&((i=(r=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="measure"))==null?void 0:r.content)==null?void 0:i.length)<=1:!0},o=(l,e)=>{var t,a,r;return((r=(a=(t=e==null?void 0:e.find(i=>(i==null?void 0:i.name)==="x-axis"))==null?void 0:t.content)==null?void 0:a[0])==null?void 0:r.type)==="datetime"},c=(l,e)=>{var t,a,r,i;return((r=(a=(t=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="x-axis"))==null?void 0:t.content)==null?void 0:a[0])==null?void 0:r.type)==="datetime"&&((i=l==null?void 0:l.missingValue)==null?void 0:i.type)==="manual"},p=[{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:d},{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:d},{key:"display.modeOption",control:{label:"Mode option",type:"switch",default:!0},visibleIf:d},{key:"missingValue.type",control:{label:"Fill missing values",type:"picker",default:"no",enum:["no","break","manual"]},visibleIf:o},{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,t)=>{var a;return(t==null?void 0:t.mainColor)??((a=t==null?void 0:t.colors)==null?void 0:a[0])}},visibleIf:u},{key:"lines.gradient",control:{label:"Line gradient",type:"switch",default:!0}},{key:"lines.strokeWidth",control:{label:"Stroke width",type:"slider",default:2,min:1,max:7,step:1}}]},{key:"markers",type:"group",open:!1,children:[{key:"markers.enabled",control:{label:"Enabled",type:"switch",default:!1}},{key:"markers.size",control:{type:"slider",label:"Size",default:4,min:2,max:10,step:1},visibleIf:l=>{var e;return(e=l==null?void 0:l.markers)==null?void 0:e.enabled}}]},{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:d}];exports.default=p;
|
@@ -17,15 +17,15 @@
|
|
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
|
21
|
-
var r, n, o,
|
20
|
+
const t = (l, e) => {
|
21
|
+
var r, n, o, a;
|
22
22
|
if (e && e.length > 0)
|
23
|
-
return ((n = (r = e == null ? void 0 : e.find((
|
24
|
-
},
|
25
|
-
var r, n, o,
|
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
26
|
if (e && e.length > 0)
|
27
|
-
return ((n = (r = e == null ? void 0 : e.find((
|
28
|
-
},
|
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;
|
28
|
+
}, u = [
|
29
29
|
{
|
30
30
|
key: "general",
|
31
31
|
type: "group",
|
@@ -38,11 +38,11 @@ const c = (l, e) => {
|
|
38
38
|
default: "grouped",
|
39
39
|
enum: ["grouped", "stacked", "100"]
|
40
40
|
},
|
41
|
-
visibleIf:
|
41
|
+
visibleIf: t
|
42
42
|
},
|
43
43
|
{
|
44
44
|
type: "divider",
|
45
|
-
visibleIf:
|
45
|
+
visibleIf: t
|
46
46
|
},
|
47
47
|
{
|
48
48
|
key: "display.title",
|
@@ -57,7 +57,7 @@ const c = (l, e) => {
|
|
57
57
|
type: "switch",
|
58
58
|
default: !0
|
59
59
|
},
|
60
|
-
visibleIf:
|
60
|
+
visibleIf: t
|
61
61
|
},
|
62
62
|
{
|
63
63
|
key: "display.modeOption",
|
@@ -65,7 +65,7 @@ const c = (l, e) => {
|
|
65
65
|
type: "switch",
|
66
66
|
default: !1
|
67
67
|
},
|
68
|
-
visibleIf:
|
68
|
+
visibleIf: t
|
69
69
|
},
|
70
70
|
{
|
71
71
|
key: "bars.label",
|
@@ -87,7 +87,7 @@ const c = (l, e) => {
|
|
87
87
|
type: "switch",
|
88
88
|
default: !1
|
89
89
|
},
|
90
|
-
visibleIf:
|
90
|
+
visibleIf: c
|
91
91
|
},
|
92
92
|
{
|
93
93
|
key: "bars.roundedCorners",
|
@@ -120,6 +120,7 @@ const c = (l, e) => {
|
|
120
120
|
key: "color",
|
121
121
|
control: {
|
122
122
|
type: "color-picker",
|
123
|
+
label: "Bar color",
|
123
124
|
default: (l, e, r) => {
|
124
125
|
var n;
|
125
126
|
return (r == null ? void 0 : r.mainColor) ?? ((n = r == null ? void 0 : r.colors) == null ? void 0 : n[0]);
|
@@ -144,11 +145,37 @@ const c = (l, e) => {
|
|
144
145
|
};
|
145
146
|
}
|
146
147
|
},
|
147
|
-
visibleIf:
|
148
|
+
visibleIf: c
|
148
149
|
}
|
149
150
|
]
|
151
|
+
},
|
152
|
+
{
|
153
|
+
key: "legend",
|
154
|
+
type: "group",
|
155
|
+
open: !1,
|
156
|
+
children: [
|
157
|
+
{
|
158
|
+
key: "legend.position",
|
159
|
+
control: {
|
160
|
+
label: "Position",
|
161
|
+
type: "position-picker",
|
162
|
+
default: "top-right",
|
163
|
+
enum: [
|
164
|
+
"top-left",
|
165
|
+
"top",
|
166
|
+
"top-right",
|
167
|
+
"right",
|
168
|
+
"bottom-right",
|
169
|
+
"bottom",
|
170
|
+
"bottom-left",
|
171
|
+
"left"
|
172
|
+
]
|
173
|
+
}
|
174
|
+
}
|
175
|
+
],
|
176
|
+
visibleIf: t
|
150
177
|
}
|
151
178
|
];
|
152
179
|
export {
|
153
|
-
|
180
|
+
u as default
|
154
181
|
};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2024 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=(l,n)=>{var r,e,o,a;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||((a=(o=n==null?void 0:n.find(i=>(i==null?void 0:i.name)==="measure"))==null?void 0:o.content)==null?void 0:a.length)>1},c=(l,n)=>{var r,e,o,a;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&&((a=(o=n==null?void 0:n.find(i=>(i==null?void 0:i.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:t},{type:"divider",visibleIf:t},{key:"display.title",control:{type:"switch",default:!0}},{key:"display.legend",control:{type:"switch",default:!0},visibleIf:t},{key:"display.modeOption",control:{type:"switch",default:!1},visibleIf:t},{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:t}];exports.default=u;
|
@@ -0,0 +1,142 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2024 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
|
+
const a = (e, r) => {
|
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) => {
|
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 = [
|
27
|
+
{
|
28
|
+
key: "general",
|
29
|
+
type: "group",
|
30
|
+
open: !0,
|
31
|
+
children: [
|
32
|
+
{
|
33
|
+
key: "display.title",
|
34
|
+
control: {
|
35
|
+
type: "switch",
|
36
|
+
label: "Title",
|
37
|
+
default: !0
|
38
|
+
}
|
39
|
+
},
|
40
|
+
{
|
41
|
+
key: "display.legend",
|
42
|
+
control: {
|
43
|
+
type: "switch",
|
44
|
+
label: "Legend",
|
45
|
+
default: !0
|
46
|
+
},
|
47
|
+
visibleIf: a
|
48
|
+
},
|
49
|
+
{
|
50
|
+
key: "display.bubbleLabels",
|
51
|
+
control: {
|
52
|
+
type: "switch",
|
53
|
+
label: "Show labels",
|
54
|
+
tooltip: "If enough room available",
|
55
|
+
default: !0
|
56
|
+
}
|
57
|
+
},
|
58
|
+
{
|
59
|
+
key: "display.bubbleValues",
|
60
|
+
control: {
|
61
|
+
type: "picker",
|
62
|
+
label: "Show values",
|
63
|
+
tooltip: "If enough room available",
|
64
|
+
default: "none",
|
65
|
+
enum: ["none", "percentage", "absolute"]
|
66
|
+
}
|
67
|
+
},
|
68
|
+
{
|
69
|
+
key: "categories.colored",
|
70
|
+
control: {
|
71
|
+
type: "switch",
|
72
|
+
label: "Bubble color by category",
|
73
|
+
default: !0
|
74
|
+
},
|
75
|
+
visibleIf: t
|
76
|
+
},
|
77
|
+
{
|
78
|
+
key: "color",
|
79
|
+
control: {
|
80
|
+
type: "color-picker",
|
81
|
+
label: "Bubble color",
|
82
|
+
default: (e, r, o) => {
|
83
|
+
var l;
|
84
|
+
return (o == null ? void 0 : o.mainColor) ?? ((l = o == null ? void 0 : o.colors) == null ? void 0 : l[0]);
|
85
|
+
},
|
86
|
+
extraLabel: (e, r, o) => {
|
87
|
+
var n;
|
88
|
+
const l = (o == null ? void 0 : o.mainColor) ?? ((n = o == null ? void 0 : o.colors) == null ? void 0 : n[0]);
|
89
|
+
if (l && e.color !== l)
|
90
|
+
return "reset";
|
91
|
+
},
|
92
|
+
extraLabelHasClickAction: (e, r, o) => {
|
93
|
+
var n;
|
94
|
+
const l = (o == null ? void 0 : o.mainColor) ?? ((n = o == null ? void 0 : o.colors) == null ? void 0 : n[0]);
|
95
|
+
return !!(l && e.color !== l);
|
96
|
+
},
|
97
|
+
extraLabelClickAction: (e, r, o) => {
|
98
|
+
var n;
|
99
|
+
const l = { ...e };
|
100
|
+
return l.color = (o == null ? void 0 : o.mainColor) ?? ((n = o == null ? void 0 : o.colors) == null ? void 0 : n[0]), {
|
101
|
+
value: l.color,
|
102
|
+
options: l
|
103
|
+
};
|
104
|
+
}
|
105
|
+
},
|
106
|
+
visibleIf: (e, r) => {
|
107
|
+
var o;
|
108
|
+
return ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.colored) === !1 && t(e, r);
|
109
|
+
}
|
110
|
+
}
|
111
|
+
]
|
112
|
+
},
|
113
|
+
{
|
114
|
+
key: "legend",
|
115
|
+
type: "group",
|
116
|
+
open: !1,
|
117
|
+
children: [
|
118
|
+
{
|
119
|
+
key: "legend.position",
|
120
|
+
control: {
|
121
|
+
label: "Position",
|
122
|
+
type: "position-picker",
|
123
|
+
default: "top-right",
|
124
|
+
enum: [
|
125
|
+
"top-left",
|
126
|
+
"top",
|
127
|
+
"top-right",
|
128
|
+
"right",
|
129
|
+
"bottom-right",
|
130
|
+
"bottom",
|
131
|
+
"bottom-left",
|
132
|
+
"left"
|
133
|
+
]
|
134
|
+
}
|
135
|
+
}
|
136
|
+
],
|
137
|
+
visibleIf: a
|
138
|
+
}
|
139
|
+
];
|
140
|
+
export {
|
141
|
+
i as default
|
142
|
+
};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2024 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=(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;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2024 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 n=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"display.labels",control:{type:"switch",label:"Show labels",default:!0}},{key:"circles.colorByDepth",control:{type:"switch",label:"Color by level depth",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:(r,t,l)=>{var e;if(typeof((e=l==null?void 0:l.itemSpecific)==null?void 0:e.rounding)=="number")return typeof(r==null?void 0:r.roundedCorners)!="number"?"auto":"reset"},extraLabelHasClickAction:(r,t,l)=>{var e;return!(typeof((e=l==null?void 0:l.itemSpecific)==null?void 0:e.rounding)!="number"||typeof(r==null?void 0:r.roundedCorners)!="number")},extraLabelClickAction:(r,t,l)=>{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:(r,t,l)=>{var e;if(typeof((e=l==null?void 0:l.itemSpecific)==null?void 0:e.padding)=="number")return typeof(r==null?void 0:r.internalPadding)!="number"?"auto":"reset"},extraLabelHasClickAction:(r,t,l)=>{var e;return!(typeof((e=l==null?void 0:l.itemSpecific)==null?void 0:e.padding)!="number"||typeof(r==null?void 0:r.internalPadding)!="number")},extraLabelClickAction:(r,t,l)=>{const e={...r};return(e==null?void 0:e.internalPadding)!==void 0&&delete e.internalPadding,{value:null,options:e}}}}]}];exports.default=n;
|
@@ -0,0 +1,110 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2024 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
|
+
const n = [
|
21
|
+
{
|
22
|
+
key: "general",
|
23
|
+
type: "group",
|
24
|
+
open: !0,
|
25
|
+
children: [
|
26
|
+
{
|
27
|
+
key: "display.title",
|
28
|
+
control: {
|
29
|
+
type: "switch",
|
30
|
+
label: "Title",
|
31
|
+
default: !0
|
32
|
+
}
|
33
|
+
},
|
34
|
+
{
|
35
|
+
key: "display.labels",
|
36
|
+
control: {
|
37
|
+
type: "switch",
|
38
|
+
label: "Show labels",
|
39
|
+
default: !0
|
40
|
+
}
|
41
|
+
},
|
42
|
+
{
|
43
|
+
key: "circles.colorByDepth",
|
44
|
+
control: {
|
45
|
+
type: "switch",
|
46
|
+
label: "Color by level depth",
|
47
|
+
default: !0
|
48
|
+
}
|
49
|
+
}
|
50
|
+
]
|
51
|
+
},
|
52
|
+
{
|
53
|
+
key: "slices",
|
54
|
+
type: "group",
|
55
|
+
open: !0,
|
56
|
+
children: [
|
57
|
+
{
|
58
|
+
key: "roundedCorners",
|
59
|
+
control: {
|
60
|
+
type: "slider",
|
61
|
+
label: "Rounded corners",
|
62
|
+
default: 8,
|
63
|
+
min: 0,
|
64
|
+
max: 24,
|
65
|
+
step: 1,
|
66
|
+
extraLabel: (r, t, l) => {
|
67
|
+
var e;
|
68
|
+
if (typeof ((e = l == null ? void 0 : l.itemSpecific) == null ? void 0 : e.rounding) == "number")
|
69
|
+
return typeof (r == null ? void 0 : r.roundedCorners) != "number" ? "auto" : "reset";
|
70
|
+
},
|
71
|
+
extraLabelHasClickAction: (r, t, l) => {
|
72
|
+
var e;
|
73
|
+
return !(typeof ((e = l == null ? void 0 : l.itemSpecific) == null ? void 0 : e.rounding) != "number" || typeof (r == null ? void 0 : r.roundedCorners) != "number");
|
74
|
+
},
|
75
|
+
extraLabelClickAction: (r, t, l) => {
|
76
|
+
const e = { ...r };
|
77
|
+
return (e == null ? void 0 : e.roundedCorners) !== void 0 && delete e.roundedCorners, { value: null, options: e };
|
78
|
+
}
|
79
|
+
}
|
80
|
+
},
|
81
|
+
{
|
82
|
+
key: "internalPadding",
|
83
|
+
control: {
|
84
|
+
type: "slider",
|
85
|
+
label: "Internal padding",
|
86
|
+
default: 5,
|
87
|
+
min: 0,
|
88
|
+
max: 20,
|
89
|
+
step: 1,
|
90
|
+
extraLabel: (r, t, l) => {
|
91
|
+
var e;
|
92
|
+
if (typeof ((e = l == null ? void 0 : l.itemSpecific) == null ? void 0 : e.padding) == "number")
|
93
|
+
return typeof (r == null ? void 0 : r.internalPadding) != "number" ? "auto" : "reset";
|
94
|
+
},
|
95
|
+
extraLabelHasClickAction: (r, t, l) => {
|
96
|
+
var e;
|
97
|
+
return !(typeof ((e = l == null ? void 0 : l.itemSpecific) == null ? void 0 : e.padding) != "number" || typeof (r == null ? void 0 : r.internalPadding) != "number");
|
98
|
+
},
|
99
|
+
extraLabelClickAction: (r, t, l) => {
|
100
|
+
const e = { ...r };
|
101
|
+
return (e == null ? void 0 : e.internalPadding) !== void 0 && delete e.internalPadding, { value: null, options: e };
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
]
|
106
|
+
}
|
107
|
+
];
|
108
|
+
export {
|
109
|
+
n as default
|
110
|
+
};
|