@luzmo/analytics-components-kit 1.0.1-alpha.14 → 1.0.1-alpha.16
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/box-plot-options.config-BsFp2CBS.cjs +20 -0
- package/components/box-plot-options.config-DoZHVmpm.js +321 -0
- package/components/box-plot-options.de-D3Yye2Yp.js +113 -0
- package/components/box-plot-options.de-QbWt-xja.cjs +20 -0
- package/components/box-plot-options.en-CZhtAYXJ.cjs +20 -0
- package/components/box-plot-options.en-DADAI4yL.js +113 -0
- package/components/box-plot-options.es-ePZUgamp.js +113 -0
- package/components/box-plot-options.es-lyXLMKKo.cjs +20 -0
- package/components/box-plot-options.fr-BXh76t2K.cjs +20 -0
- package/components/box-plot-options.fr-DNkSteEz.js +113 -0
- package/components/box-plot-options.nl-DDAzT-zP.cjs +20 -0
- package/components/box-plot-options.nl-GBXrkaLf.js +113 -0
- package/components/bullet-chart-options.config-BO22R7gx.cjs +20 -0
- package/components/bullet-chart-options.config-D8mAooLE.js +94 -0
- package/components/bullet-chart-options.de-D0XaMKPn.cjs +20 -0
- package/components/bullet-chart-options.de-DxBk0yku.js +51 -0
- package/components/bullet-chart-options.en-BPjbk6Lk.cjs +20 -0
- package/components/bullet-chart-options.en-Cu1cnL90.js +51 -0
- package/components/bullet-chart-options.es-DxC9GWBS.cjs +20 -0
- package/components/bullet-chart-options.es-pGm2umSR.js +51 -0
- package/components/bullet-chart-options.fr-Cf_rodY7.cjs +20 -0
- package/components/bullet-chart-options.fr-DGOcuFKQ.js +51 -0
- package/components/bullet-chart-options.nl-BJ39_p2y.js +51 -0
- package/components/bullet-chart-options.nl-BdIjKMZf.cjs +20 -0
- package/components/choropleth-map-options.config-4QDypbCL.cjs +20 -0
- package/components/choropleth-map-options.config-V8tRnQqz.js +340 -0
- package/components/choropleth-map-options.de-BSt-L5Vh.js +102 -0
- package/components/choropleth-map-options.de-B_Agdr4T.cjs +20 -0
- package/components/choropleth-map-options.en-Cy7WcWLG.js +102 -0
- package/components/choropleth-map-options.en-DJHAy6ek.cjs +20 -0
- package/components/choropleth-map-options.es-BnR-9vJv.js +102 -0
- package/components/choropleth-map-options.es-Dr07odJo.cjs +20 -0
- package/components/choropleth-map-options.fr-BlwLS1Wy.js +102 -0
- package/components/choropleth-map-options.fr-CR5NMRR3.cjs +20 -0
- package/components/choropleth-map-options.nl-BITK3ddz.cjs +20 -0
- package/components/choropleth-map-options.nl-D70fr4Hl.js +102 -0
- package/components/circular-gauge-options.de-BO3S8GCr.js +73 -0
- package/components/circular-gauge-options.de-BZfrQqs3.cjs +20 -0
- package/components/circular-gauge-options.en-CB-jZtE6.cjs +20 -0
- package/components/circular-gauge-options.en-Cyhhijwg.js +76 -0
- package/components/circular-gauge-options.es-DJ7ru4Wf.js +73 -0
- package/components/circular-gauge-options.es-DuQPHjcG.cjs +20 -0
- package/components/circular-gauge-options.fr-BVWliP7i.js +76 -0
- package/components/circular-gauge-options.fr-CFMa8H8K.cjs +20 -0
- package/components/circular-gauge-options.nl-BB_jgj5k.cjs +20 -0
- package/components/circular-gauge-options.nl-DGpV7Riu.js +76 -0
- package/components/circular-guage-options.config-C3ExuT5F.js +152 -0
- package/components/circular-guage-options.config-Dvg5quJ9.cjs +20 -0
- package/components/combination-chart-options.config-CApdgFvv.js +45 -0
- package/components/combination-chart-options.config-CyYEp-gX.cjs +20 -0
- package/components/combination-chart-options.de-CEsSn5-2.js +38 -0
- package/components/combination-chart-options.de-CuVQ-JHu.cjs +20 -0
- package/components/combination-chart-options.en-BCKuLOQb.js +38 -0
- package/components/combination-chart-options.en-BPcGTsP4.cjs +20 -0
- package/components/combination-chart-options.es-Dy7jzzFy.cjs +20 -0
- package/components/combination-chart-options.es-zMa9kqmV.js +38 -0
- package/components/combination-chart-options.fr-CLUyqNH7.cjs +20 -0
- package/components/combination-chart-options.fr-DOXtaY1V.js +38 -0
- package/components/combination-chart-options.nl-BF6joCMV.cjs +20 -0
- package/components/combination-chart-options.nl-CCChbhx_.js +38 -0
- package/components/draggable-data-item-level/index.cjs +2 -2
- package/components/draggable-data-item-level/index.js +2 -2
- package/components/edit-item/index.cjs +6 -6
- package/components/edit-item/index.js +54 -24
- package/components/edit-option/index.cjs +65 -65
- package/components/edit-option/index.js +150 -120
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +4 -4
- package/item-definitions/box-plot/box-plot-options.config.d.ts +173 -0
- package/item-definitions/box-plot/i18n/box-plot-options.de.d.ts +92 -0
- package/item-definitions/box-plot/i18n/box-plot-options.en.d.ts +92 -0
- package/item-definitions/box-plot/i18n/box-plot-options.es.d.ts +92 -0
- package/item-definitions/box-plot/i18n/box-plot-options.fr.d.ts +92 -0
- package/item-definitions/box-plot/i18n/box-plot-options.nl.d.ts +92 -0
- package/item-definitions/bullet-chart/bullet-chart-options.config.d.ts +43 -0
- package/item-definitions/bullet-chart/i18n/bullet-chart-options.de.d.ts +30 -0
- package/item-definitions/bullet-chart/i18n/bullet-chart-options.en.d.ts +30 -0
- package/item-definitions/bullet-chart/i18n/bullet-chart-options.es.d.ts +30 -0
- package/item-definitions/bullet-chart/i18n/bullet-chart-options.fr.d.ts +30 -0
- package/item-definitions/bullet-chart/i18n/bullet-chart-options.nl.d.ts +30 -0
- package/item-definitions/choropleth-map/choropleth-map-options.config.d.ts +168 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.de.d.ts +81 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.en.d.ts +81 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.es.d.ts +81 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.fr.d.ts +81 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.nl.d.ts +81 -0
- package/item-definitions/circular-gauge/circular-guage-options.config.d.ts +109 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.de.d.ts +52 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.en.d.ts +55 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.es.d.ts +52 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.fr.d.ts +55 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.nl.d.ts +55 -0
- package/item-definitions/combination-chart/combination-chart-options.config.d.ts +13 -0
- package/item-definitions/combination-chart/i18n/combination-chart-options.de.d.ts +17 -0
- package/item-definitions/combination-chart/i18n/combination-chart-options.en.d.ts +17 -0
- package/item-definitions/combination-chart/i18n/combination-chart-options.es.d.ts +17 -0
- package/item-definitions/combination-chart/i18n/combination-chart-options.fr.d.ts +17 -0
- package/item-definitions/combination-chart/i18n/combination-chart-options.nl.d.ts +17 -0
- package/package.json +1 -1
- package/utils/map-tile-providers/index.d.ts +93 -0
@@ -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 n=r=>{var s;return((s=r==null?void 0:r.observations)==null?void 0:s.display)===!0},c=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{type:"switch",label:"Title",default:!0}},{key:"horizontal",control:{type:"picker",label:"Display",default:"vertical",enum:["vertical","horizontal"],fromOptionValue:r=>r?"horizontal":"vertical",toOptionValue:r=>r==="horizontal"}},{key:"extentTicks",control:{type:"switch",label:"Extent ticks",default:!0}}]},{key:"box",type:"group",open:!0,children:[{key:"boxWidth",control:{type:"slider",label:"Box width",default:.9,min:.1,max:1,step:.1}},{key:"boxFill",control:{type:"color-picker",label:"Box fill",default:(r,s,o)=>{var l;return(o==null?void 0:o.mainColor)??((l=o==null?void 0:o.colors)==null?void 0:l[0])},extraLabel:(r,s,o)=>{var i;const l=(o==null?void 0:o.mainColor)??((i=o==null?void 0:o.colors)==null?void 0:i[0]);if(l&&r.boxFill&&r.boxFill!==l)return"reset"},extraLabelHasClickAction:(r,s,o)=>{var i;const l=(o==null?void 0:o.mainColor)??((i=o==null?void 0:o.colors)==null?void 0:i[0]);return!!(l&&r.boxFill!==l)},extraLabelClickAction:(r,s,o)=>{var i;const l={...r};return l.boxFill=(o==null?void 0:o.mainColor)??((i=o==null?void 0:o.colors)==null?void 0:i[0]),{value:l.boxFill,options:l}}}},{key:"roundedCorners",control:{type:"slider",label:"Rounded corners",default:(r,s,o)=>{var l;return((l=o==null?void 0:o.itemSpecific)==null?void 0:l.rounding)??8},min:0,max:24,step:1,extraLabel:(r,s,o)=>{var l;if(typeof((l=o==null?void 0:o.itemSpecific)==null?void 0:l.rounding)=="number")return typeof(r==null?void 0:r.roundedCorners)!="number"?"auto":"reset"},extraLabelHasClickAction:(r,s,o)=>{var l;return!(typeof((l=o==null?void 0:o.itemSpecific)==null?void 0:l.rounding)!="number"||typeof(r==null?void 0:r.roundedCorners)!="number")},extraLabelClickAction:(r,s,o)=>{const l={...r};return(l==null?void 0:l.roundedCorners)!==void 0&&delete l.roundedCorners,{value:null,options:l}}}},{key:"boxStrokeWidth",control:{type:"slider",label:"Box stroke width",default:1,min:0,max:5,step:.5}},{key:"boxStrokeColor",control:{type:"color-picker",label:"Box stroke color",default:(r,s,o)=>{var l;return(o==null?void 0:o.mainColor)??((l=o==null?void 0:o.colors)==null?void 0:l[0])},extraLabel:(r,s,o)=>{var i;const l=(o==null?void 0:o.mainColor)??((i=o==null?void 0:o.colors)==null?void 0:i[0]);if(l&&r.boxStrokeColor&&r.boxStrokeColor!==l)return"reset"},extraLabelHasClickAction:(r,s,o)=>{var i;const l=(o==null?void 0:o.mainColor)??((i=o==null?void 0:o.colors)==null?void 0:i[0]);return!!(l&&r.boxStrokeColor!==l)},extraLabelClickAction:(r,s,o)=>{var i;const l={...r};return l.boxStrokeColor=(o==null?void 0:o.mainColor)??((i=o==null?void 0:o.colors)==null?void 0:i[0]),{value:l.boxStrokeColor,options:l}}}},{key:"medianStrokeWidth",control:{type:"slider",label:"Median stroke width",default:2,min:0,max:5,step:.5}},{key:"medianStrokeColor",control:{type:"color-picker",label:"Median stroke color",default:"#000000"}}]},{key:"observations",type:"group",open:!0,children:[{key:"observations.display",control:{type:"switch",label:"Show",default:!1}},{key:"observations.onlyOutliers",control:{type:"switch",label:"Only outliers",default:!1},visibleIf:n},{key:"observations.type",control:{type:"picker",label:"Type",default:"dot",enum:["dot","ticks"]},visibleIf:n},{key:"observations.size",control:{type:"slider",label:"Size",default:3,min:1,max:10,step:1},visibleIf:n},{key:"observations.opacity",control:{type:"slider",label:"Opacity",default:.4,min:.1,max:1,step:.1},visibleIf:n},{key:"observations.jitter",control:{type:"slider",label:"Jitter",default:30,min:1,max:100,step:1},visibleIf:n},{key:"observations.colorType",control:{type:"picker",label:"Color mode",default:"single",enum:["single","range"]},visibleIf:n},{key:"observations.color",control:{type:"color-picker",label:"Color",default:(r,s,o)=>{var l;return(l=o==null?void 0:o.colors)==null?void 0:l[1]},extraLabel:(r,s,o)=>{var l,i,a,t;if((l=o==null?void 0:o.colors)!=null&&l[1]&&((i=r.observations)!=null&&i.color)&&((a=r.observations)==null?void 0:a.color)!==((t=o==null?void 0:o.colors)==null?void 0:t[1]))return"reset"},extraLabelHasClickAction:(r,s,o)=>{var l,i,a;return!!((l=o==null?void 0:o.colors)!=null&&l[1]&&((i=r.observations)==null?void 0:i.color)!==((a=o==null?void 0:o.colors)==null?void 0:a[1]))},extraLabelClickAction:(r,s,o)=>{var i;const l={...r};return l.observations.color=(i=o==null?void 0:o.colors)==null?void 0:i[1],{value:l.observations.color,options:l}}},visibleIf:r=>{var s;return n(r)&&((s=r==null?void 0:r.observations)==null?void 0:s.colorType)==="single"}},{key:"observations.colorsType",control:{type:"picker",label:"Colors type",default:"divergent",enum:["sequential","divergent","manual"]},visibleIf:r=>{var s;return n(r)&&((s=r==null?void 0:r.observations)==null?void 0:s.colorType)==="range"}}]}];exports.default=c;
|
@@ -0,0 +1,321 @@
|
|
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
|
+
const n = (r) => {
|
21
|
+
var s;
|
22
|
+
return ((s = r == null ? void 0 : r.observations) == null ? void 0 : s.display) === !0;
|
23
|
+
}, c = [
|
24
|
+
{
|
25
|
+
key: "general",
|
26
|
+
type: "group",
|
27
|
+
open: !0,
|
28
|
+
children: [
|
29
|
+
{
|
30
|
+
key: "display.title",
|
31
|
+
control: {
|
32
|
+
type: "switch",
|
33
|
+
label: "Title",
|
34
|
+
default: !0
|
35
|
+
}
|
36
|
+
},
|
37
|
+
{
|
38
|
+
key: "horizontal",
|
39
|
+
control: {
|
40
|
+
type: "picker",
|
41
|
+
label: "Display",
|
42
|
+
default: "vertical",
|
43
|
+
enum: ["vertical", "horizontal"],
|
44
|
+
fromOptionValue: (r) => r ? "horizontal" : "vertical",
|
45
|
+
toOptionValue: (r) => r === "horizontal"
|
46
|
+
}
|
47
|
+
},
|
48
|
+
{
|
49
|
+
key: "extentTicks",
|
50
|
+
control: {
|
51
|
+
type: "switch",
|
52
|
+
label: "Extent ticks",
|
53
|
+
default: !0
|
54
|
+
}
|
55
|
+
}
|
56
|
+
]
|
57
|
+
},
|
58
|
+
{
|
59
|
+
key: "box",
|
60
|
+
type: "group",
|
61
|
+
open: !0,
|
62
|
+
children: [
|
63
|
+
{
|
64
|
+
key: "boxWidth",
|
65
|
+
control: {
|
66
|
+
type: "slider",
|
67
|
+
label: "Box width",
|
68
|
+
default: 0.9,
|
69
|
+
min: 0.1,
|
70
|
+
max: 1,
|
71
|
+
step: 0.1
|
72
|
+
}
|
73
|
+
},
|
74
|
+
{
|
75
|
+
key: "boxFill",
|
76
|
+
control: {
|
77
|
+
type: "color-picker",
|
78
|
+
label: "Box fill",
|
79
|
+
default: (r, s, o) => {
|
80
|
+
var l;
|
81
|
+
return (o == null ? void 0 : o.mainColor) ?? ((l = o == null ? void 0 : o.colors) == null ? void 0 : l[0]);
|
82
|
+
},
|
83
|
+
extraLabel: (r, s, o) => {
|
84
|
+
var i;
|
85
|
+
const l = (o == null ? void 0 : o.mainColor) ?? ((i = o == null ? void 0 : o.colors) == null ? void 0 : i[0]);
|
86
|
+
if (l && r.boxFill && r.boxFill !== l)
|
87
|
+
return "reset";
|
88
|
+
},
|
89
|
+
extraLabelHasClickAction: (r, s, o) => {
|
90
|
+
var i;
|
91
|
+
const l = (o == null ? void 0 : o.mainColor) ?? ((i = o == null ? void 0 : o.colors) == null ? void 0 : i[0]);
|
92
|
+
return !!(l && r.boxFill !== l);
|
93
|
+
},
|
94
|
+
extraLabelClickAction: (r, s, o) => {
|
95
|
+
var i;
|
96
|
+
const l = { ...r };
|
97
|
+
return l.boxFill = (o == null ? void 0 : o.mainColor) ?? ((i = o == null ? void 0 : o.colors) == null ? void 0 : i[0]), {
|
98
|
+
value: l.boxFill,
|
99
|
+
options: l
|
100
|
+
};
|
101
|
+
}
|
102
|
+
}
|
103
|
+
},
|
104
|
+
{
|
105
|
+
key: "roundedCorners",
|
106
|
+
control: {
|
107
|
+
type: "slider",
|
108
|
+
label: "Rounded corners",
|
109
|
+
default: (r, s, o) => {
|
110
|
+
var l;
|
111
|
+
return ((l = o == null ? void 0 : o.itemSpecific) == null ? void 0 : l.rounding) ?? 8;
|
112
|
+
},
|
113
|
+
min: 0,
|
114
|
+
max: 24,
|
115
|
+
step: 1,
|
116
|
+
extraLabel: (r, s, o) => {
|
117
|
+
var l;
|
118
|
+
if (typeof ((l = o == null ? void 0 : o.itemSpecific) == null ? void 0 : l.rounding) == "number")
|
119
|
+
return typeof (r == null ? void 0 : r.roundedCorners) != "number" ? "auto" : "reset";
|
120
|
+
},
|
121
|
+
extraLabelHasClickAction: (r, s, o) => {
|
122
|
+
var l;
|
123
|
+
return !(typeof ((l = o == null ? void 0 : o.itemSpecific) == null ? void 0 : l.rounding) != "number" || typeof (r == null ? void 0 : r.roundedCorners) != "number");
|
124
|
+
},
|
125
|
+
extraLabelClickAction: (r, s, o) => {
|
126
|
+
const l = { ...r };
|
127
|
+
return (l == null ? void 0 : l.roundedCorners) !== void 0 && delete l.roundedCorners, { value: null, options: l };
|
128
|
+
}
|
129
|
+
}
|
130
|
+
},
|
131
|
+
{
|
132
|
+
key: "boxStrokeWidth",
|
133
|
+
control: {
|
134
|
+
type: "slider",
|
135
|
+
label: "Box stroke width",
|
136
|
+
default: 1,
|
137
|
+
min: 0,
|
138
|
+
max: 5,
|
139
|
+
step: 0.5
|
140
|
+
}
|
141
|
+
},
|
142
|
+
{
|
143
|
+
key: "boxStrokeColor",
|
144
|
+
control: {
|
145
|
+
type: "color-picker",
|
146
|
+
label: "Box stroke color",
|
147
|
+
default: (r, s, o) => {
|
148
|
+
var l;
|
149
|
+
return (o == null ? void 0 : o.mainColor) ?? ((l = o == null ? void 0 : o.colors) == null ? void 0 : l[0]);
|
150
|
+
},
|
151
|
+
extraLabel: (r, s, o) => {
|
152
|
+
var i;
|
153
|
+
const l = (o == null ? void 0 : o.mainColor) ?? ((i = o == null ? void 0 : o.colors) == null ? void 0 : i[0]);
|
154
|
+
if (l && r.boxStrokeColor && r.boxStrokeColor !== l)
|
155
|
+
return "reset";
|
156
|
+
},
|
157
|
+
extraLabelHasClickAction: (r, s, o) => {
|
158
|
+
var i;
|
159
|
+
const l = (o == null ? void 0 : o.mainColor) ?? ((i = o == null ? void 0 : o.colors) == null ? void 0 : i[0]);
|
160
|
+
return !!(l && r.boxStrokeColor !== l);
|
161
|
+
},
|
162
|
+
extraLabelClickAction: (r, s, o) => {
|
163
|
+
var i;
|
164
|
+
const l = { ...r };
|
165
|
+
return l.boxStrokeColor = (o == null ? void 0 : o.mainColor) ?? ((i = o == null ? void 0 : o.colors) == null ? void 0 : i[0]), {
|
166
|
+
value: l.boxStrokeColor,
|
167
|
+
options: l
|
168
|
+
};
|
169
|
+
}
|
170
|
+
}
|
171
|
+
},
|
172
|
+
{
|
173
|
+
key: "medianStrokeWidth",
|
174
|
+
control: {
|
175
|
+
type: "slider",
|
176
|
+
label: "Median stroke width",
|
177
|
+
default: 2,
|
178
|
+
min: 0,
|
179
|
+
max: 5,
|
180
|
+
step: 0.5
|
181
|
+
}
|
182
|
+
},
|
183
|
+
{
|
184
|
+
key: "medianStrokeColor",
|
185
|
+
control: {
|
186
|
+
type: "color-picker",
|
187
|
+
label: "Median stroke color",
|
188
|
+
default: "#000000"
|
189
|
+
}
|
190
|
+
}
|
191
|
+
]
|
192
|
+
},
|
193
|
+
{
|
194
|
+
key: "observations",
|
195
|
+
type: "group",
|
196
|
+
open: !0,
|
197
|
+
children: [
|
198
|
+
{
|
199
|
+
key: "observations.display",
|
200
|
+
control: {
|
201
|
+
type: "switch",
|
202
|
+
label: "Show",
|
203
|
+
default: !1
|
204
|
+
}
|
205
|
+
},
|
206
|
+
{
|
207
|
+
key: "observations.onlyOutliers",
|
208
|
+
control: {
|
209
|
+
type: "switch",
|
210
|
+
label: "Only outliers",
|
211
|
+
default: !1
|
212
|
+
},
|
213
|
+
visibleIf: n
|
214
|
+
},
|
215
|
+
{
|
216
|
+
key: "observations.type",
|
217
|
+
control: {
|
218
|
+
type: "picker",
|
219
|
+
label: "Type",
|
220
|
+
default: "dot",
|
221
|
+
enum: ["dot", "ticks"]
|
222
|
+
},
|
223
|
+
visibleIf: n
|
224
|
+
},
|
225
|
+
{
|
226
|
+
key: "observations.size",
|
227
|
+
control: {
|
228
|
+
type: "slider",
|
229
|
+
label: "Size",
|
230
|
+
default: 3,
|
231
|
+
min: 1,
|
232
|
+
max: 10,
|
233
|
+
step: 1
|
234
|
+
},
|
235
|
+
visibleIf: n
|
236
|
+
},
|
237
|
+
{
|
238
|
+
key: "observations.opacity",
|
239
|
+
control: {
|
240
|
+
type: "slider",
|
241
|
+
label: "Opacity",
|
242
|
+
default: 0.4,
|
243
|
+
min: 0.1,
|
244
|
+
max: 1,
|
245
|
+
step: 0.1
|
246
|
+
},
|
247
|
+
visibleIf: n
|
248
|
+
},
|
249
|
+
{
|
250
|
+
key: "observations.jitter",
|
251
|
+
control: {
|
252
|
+
type: "slider",
|
253
|
+
label: "Jitter",
|
254
|
+
default: 30,
|
255
|
+
min: 1,
|
256
|
+
max: 100,
|
257
|
+
step: 1
|
258
|
+
},
|
259
|
+
visibleIf: n
|
260
|
+
},
|
261
|
+
{
|
262
|
+
key: "observations.colorType",
|
263
|
+
control: {
|
264
|
+
type: "picker",
|
265
|
+
label: "Color mode",
|
266
|
+
default: "single",
|
267
|
+
enum: ["single", "range"]
|
268
|
+
},
|
269
|
+
visibleIf: n
|
270
|
+
},
|
271
|
+
{
|
272
|
+
key: "observations.color",
|
273
|
+
control: {
|
274
|
+
type: "color-picker",
|
275
|
+
label: "Color",
|
276
|
+
default: (r, s, o) => {
|
277
|
+
var l;
|
278
|
+
return (l = o == null ? void 0 : o.colors) == null ? void 0 : l[1];
|
279
|
+
},
|
280
|
+
extraLabel: (r, s, o) => {
|
281
|
+
var l, i, a, t;
|
282
|
+
if ((l = o == null ? void 0 : o.colors) != null && l[1] && ((i = r.observations) != null && i.color) && ((a = r.observations) == null ? void 0 : a.color) !== ((t = o == null ? void 0 : o.colors) == null ? void 0 : t[1]))
|
283
|
+
return "reset";
|
284
|
+
},
|
285
|
+
extraLabelHasClickAction: (r, s, o) => {
|
286
|
+
var l, i, a;
|
287
|
+
return !!((l = o == null ? void 0 : o.colors) != null && l[1] && ((i = r.observations) == null ? void 0 : i.color) !== ((a = o == null ? void 0 : o.colors) == null ? void 0 : a[1]));
|
288
|
+
},
|
289
|
+
extraLabelClickAction: (r, s, o) => {
|
290
|
+
var i;
|
291
|
+
const l = { ...r };
|
292
|
+
return l.observations.color = (i = o == null ? void 0 : o.colors) == null ? void 0 : i[1], {
|
293
|
+
value: l.observations.color,
|
294
|
+
options: l
|
295
|
+
};
|
296
|
+
}
|
297
|
+
},
|
298
|
+
visibleIf: (r) => {
|
299
|
+
var s;
|
300
|
+
return n(r) && ((s = r == null ? void 0 : r.observations) == null ? void 0 : s.colorType) === "single";
|
301
|
+
}
|
302
|
+
},
|
303
|
+
{
|
304
|
+
key: "observations.colorsType",
|
305
|
+
control: {
|
306
|
+
type: "picker",
|
307
|
+
label: "Colors type",
|
308
|
+
default: "divergent",
|
309
|
+
enum: ["sequential", "divergent", "manual"]
|
310
|
+
},
|
311
|
+
visibleIf: (r) => {
|
312
|
+
var s;
|
313
|
+
return n(r) && ((s = r == null ? void 0 : r.observations) == null ? void 0 : s.colorType) === "range";
|
314
|
+
}
|
315
|
+
}
|
316
|
+
]
|
317
|
+
}
|
318
|
+
];
|
319
|
+
export {
|
320
|
+
c as default
|
321
|
+
};
|
@@ -0,0 +1,113 @@
|
|
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
|
+
const e = {
|
21
|
+
name: "Boxplot",
|
22
|
+
groups: {
|
23
|
+
general: {
|
24
|
+
label: "Allgemein"
|
25
|
+
},
|
26
|
+
box: {
|
27
|
+
label: "Box"
|
28
|
+
},
|
29
|
+
observations: {
|
30
|
+
label: "Beobachtungen"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
options: {
|
34
|
+
"display.title": {
|
35
|
+
label: "Titel"
|
36
|
+
},
|
37
|
+
horizontal: {
|
38
|
+
label: "Anzeige",
|
39
|
+
enum: {
|
40
|
+
vertical: "Vertikal",
|
41
|
+
horizontal: "Horizontal"
|
42
|
+
}
|
43
|
+
},
|
44
|
+
extentTicks: {
|
45
|
+
label: "Bereichsmarkierungen"
|
46
|
+
},
|
47
|
+
boxWidth: {
|
48
|
+
label: "Boxbreite"
|
49
|
+
},
|
50
|
+
boxFill: {
|
51
|
+
label: "Boxfüllung"
|
52
|
+
},
|
53
|
+
roundedCorners: {
|
54
|
+
label: "Abgerundete Ecken",
|
55
|
+
extraLabel: "auto"
|
56
|
+
},
|
57
|
+
boxStrokeWidth: {
|
58
|
+
label: "Box-Linienbreite"
|
59
|
+
},
|
60
|
+
boxStrokeColor: {
|
61
|
+
label: "Box-Linienfarbe"
|
62
|
+
},
|
63
|
+
medianStrokeWidth: {
|
64
|
+
label: "Median-Linienbreite"
|
65
|
+
},
|
66
|
+
medianStrokeColor: {
|
67
|
+
label: "Median-Linienfarbe"
|
68
|
+
},
|
69
|
+
"observations.display": {
|
70
|
+
label: "Anzeigen"
|
71
|
+
},
|
72
|
+
"observations.onlyOutliers": {
|
73
|
+
label: "Nur Ausreißer"
|
74
|
+
},
|
75
|
+
"observations.type": {
|
76
|
+
label: "Typ",
|
77
|
+
enum: {
|
78
|
+
dot: "Punkt",
|
79
|
+
ticks: "Striche"
|
80
|
+
}
|
81
|
+
},
|
82
|
+
"observations.size": {
|
83
|
+
label: "Größe"
|
84
|
+
},
|
85
|
+
"observations.opacity": {
|
86
|
+
label: "Transparenz"
|
87
|
+
},
|
88
|
+
"observations.jitter": {
|
89
|
+
label: "Streuung"
|
90
|
+
},
|
91
|
+
"observations.colorType": {
|
92
|
+
label: "Farbmodus",
|
93
|
+
enum: {
|
94
|
+
single: "Einzeln",
|
95
|
+
range: "Bereich"
|
96
|
+
}
|
97
|
+
},
|
98
|
+
"observations.color": {
|
99
|
+
label: "Farbe"
|
100
|
+
},
|
101
|
+
"observations.colorsType": {
|
102
|
+
label: "Farbtyp",
|
103
|
+
enum: {
|
104
|
+
sequential: "Sequentiell",
|
105
|
+
divergent: "Divergent",
|
106
|
+
manual: "Manuell"
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
};
|
111
|
+
export {
|
112
|
+
e as default
|
113
|
+
};
|
@@ -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 e={name:"Boxplot",groups:{general:{label:"Allgemein"},box:{label:"Box"},observations:{label:"Beobachtungen"}},options:{"display.title":{label:"Titel"},horizontal:{label:"Anzeige",enum:{vertical:"Vertikal",horizontal:"Horizontal"}},extentTicks:{label:"Bereichsmarkierungen"},boxWidth:{label:"Boxbreite"},boxFill:{label:"Boxfüllung"},roundedCorners:{label:"Abgerundete Ecken",extraLabel:"auto"},boxStrokeWidth:{label:"Box-Linienbreite"},boxStrokeColor:{label:"Box-Linienfarbe"},medianStrokeWidth:{label:"Median-Linienbreite"},medianStrokeColor:{label:"Median-Linienfarbe"},"observations.display":{label:"Anzeigen"},"observations.onlyOutliers":{label:"Nur Ausreißer"},"observations.type":{label:"Typ",enum:{dot:"Punkt",ticks:"Striche"}},"observations.size":{label:"Größe"},"observations.opacity":{label:"Transparenz"},"observations.jitter":{label:"Streuung"},"observations.colorType":{label:"Farbmodus",enum:{single:"Einzeln",range:"Bereich"}},"observations.color":{label:"Farbe"},"observations.colorsType":{label:"Farbtyp",enum:{sequential:"Sequentiell",divergent:"Divergent",manual:"Manuell"}}}};exports.default=e;
|
@@ -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 e={name:"Box plot",groups:{general:{label:"General"},box:{label:"Box"},observations:{label:"Observations"}},options:{"display.title":{label:"Title"},horizontal:{label:"Display",enum:{vertical:"Vertical",horizontal:"Horizontal"}},extentTicks:{label:"Extent ticks"},boxWidth:{label:"Box width"},boxFill:{label:"Box fill"},roundedCorners:{label:"Rounded corners",extraLabel:"auto"},boxStrokeWidth:{label:"Box stroke width"},boxStrokeColor:{label:"Box stroke color"},medianStrokeWidth:{label:"Median stroke width"},medianStrokeColor:{label:"Median stroke color"},"observations.display":{label:"Show"},"observations.onlyOutliers":{label:"Only outliers"},"observations.type":{label:"Type",enum:{dot:"Dot",ticks:"Ticks"}},"observations.size":{label:"Size"},"observations.opacity":{label:"Opacity"},"observations.jitter":{label:"Jitter"},"observations.colorType":{label:"Color mode",enum:{single:"Single",range:"Range"}},"observations.color":{label:"Color"},"observations.colorsType":{label:"Colors type",enum:{sequential:"Sequential",divergent:"Divergent",manual:"Manual"}}}};exports.default=e;
|
@@ -0,0 +1,113 @@
|
|
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
|
+
const e = {
|
21
|
+
name: "Box plot",
|
22
|
+
groups: {
|
23
|
+
general: {
|
24
|
+
label: "General"
|
25
|
+
},
|
26
|
+
box: {
|
27
|
+
label: "Box"
|
28
|
+
},
|
29
|
+
observations: {
|
30
|
+
label: "Observations"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
options: {
|
34
|
+
"display.title": {
|
35
|
+
label: "Title"
|
36
|
+
},
|
37
|
+
horizontal: {
|
38
|
+
label: "Display",
|
39
|
+
enum: {
|
40
|
+
vertical: "Vertical",
|
41
|
+
horizontal: "Horizontal"
|
42
|
+
}
|
43
|
+
},
|
44
|
+
extentTicks: {
|
45
|
+
label: "Extent ticks"
|
46
|
+
},
|
47
|
+
boxWidth: {
|
48
|
+
label: "Box width"
|
49
|
+
},
|
50
|
+
boxFill: {
|
51
|
+
label: "Box fill"
|
52
|
+
},
|
53
|
+
roundedCorners: {
|
54
|
+
label: "Rounded corners",
|
55
|
+
extraLabel: "auto"
|
56
|
+
},
|
57
|
+
boxStrokeWidth: {
|
58
|
+
label: "Box stroke width"
|
59
|
+
},
|
60
|
+
boxStrokeColor: {
|
61
|
+
label: "Box stroke color"
|
62
|
+
},
|
63
|
+
medianStrokeWidth: {
|
64
|
+
label: "Median stroke width"
|
65
|
+
},
|
66
|
+
medianStrokeColor: {
|
67
|
+
label: "Median stroke color"
|
68
|
+
},
|
69
|
+
"observations.display": {
|
70
|
+
label: "Show"
|
71
|
+
},
|
72
|
+
"observations.onlyOutliers": {
|
73
|
+
label: "Only outliers"
|
74
|
+
},
|
75
|
+
"observations.type": {
|
76
|
+
label: "Type",
|
77
|
+
enum: {
|
78
|
+
dot: "Dot",
|
79
|
+
ticks: "Ticks"
|
80
|
+
}
|
81
|
+
},
|
82
|
+
"observations.size": {
|
83
|
+
label: "Size"
|
84
|
+
},
|
85
|
+
"observations.opacity": {
|
86
|
+
label: "Opacity"
|
87
|
+
},
|
88
|
+
"observations.jitter": {
|
89
|
+
label: "Jitter"
|
90
|
+
},
|
91
|
+
"observations.colorType": {
|
92
|
+
label: "Color mode",
|
93
|
+
enum: {
|
94
|
+
single: "Single",
|
95
|
+
range: "Range"
|
96
|
+
}
|
97
|
+
},
|
98
|
+
"observations.color": {
|
99
|
+
label: "Color"
|
100
|
+
},
|
101
|
+
"observations.colorsType": {
|
102
|
+
label: "Colors type",
|
103
|
+
enum: {
|
104
|
+
sequential: "Sequential",
|
105
|
+
divergent: "Divergent",
|
106
|
+
manual: "Manual"
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
};
|
111
|
+
export {
|
112
|
+
e as default
|
113
|
+
};
|