@luzmo/analytics-components-kit 1.0.1-alpha.36 → 1.0.1-alpha.39
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/{calculate-data-item-icon-BtUWtDx3.cjs → calculate-data-item-icon-Bygfq3KO.cjs} +1 -1
- package/components/{calculate-data-item-icon-DauSiV8c.js → calculate-data-item-icon-DlyGQVBA.js} +23 -23
- package/components/{de-CCq00pbq.js → de-BbcctJsI.js} +7 -0
- package/components/de-eIqMhTVC.cjs +20 -0
- package/components/display-settings/index.cjs +3 -3
- package/components/display-settings/index.js +6 -6
- package/components/display-settings-binning/index.cjs +2 -2
- package/components/display-settings-binning/index.js +12 -12
- package/components/display-settings-datetime/index.cjs +4 -4
- package/components/display-settings-datetime/index.js +13 -13
- package/components/display-settings-grand-totals/index.cjs +2 -2
- package/components/display-settings-grand-totals/index.js +10 -10
- package/components/display-settings-numeric/index.cjs +2 -2
- package/components/display-settings-numeric/index.js +10 -10
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +8 -8
- package/components/draggable-data-item/index.cjs +1 -1
- package/components/draggable-data-item/index.js +6 -6
- package/components/draggable-data-item-level/index.cjs +4 -4
- package/components/draggable-data-item-level/index.js +9 -9
- package/components/droppable-slot/index.cjs +3 -3
- package/components/droppable-slot/index.js +10 -10
- package/components/edit-item/index.cjs +1 -1
- package/components/edit-item/index.js +4 -4
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +1 -1
- package/components/edit-option-action-button-group/index.cjs +1 -1
- package/components/edit-option-action-button-group/index.js +19 -19
- package/components/{edit-option-base-J7XNb_vp.cjs → edit-option-base-B7owFMOO.cjs} +1 -1
- package/components/{edit-option-base-BHvx3Mlq.js → edit-option-base-Cw2iO2Av.js} +4 -4
- package/components/edit-option-color-picker/index.cjs +5 -5
- package/components/edit-option-color-picker/index.js +4 -4
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +2 -2
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +2 -2
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +4 -4
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +2 -2
- package/components/edit-option-positions-number-field/index.cjs +2 -2
- package/components/edit-option-positions-number-field/index.js +6 -6
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +2 -2
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +2 -2
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +2 -2
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +2 -2
- package/components/{es-DBmbFw-L.js → es-ByWFTJ0s.js} +7 -0
- package/components/es-tWaYVbsQ.cjs +20 -0
- package/components/filter-data-item-picker/index.cjs +1 -1
- package/components/filter-data-item-picker/index.js +6 -6
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +6 -6
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +3 -3
- package/components/filter-value-picker-datetime/index.cjs +7 -7
- package/components/filter-value-picker-datetime/index.js +6 -6
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +7 -6
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +6 -6
- package/components/{focusable-_wp5pWO-.cjs → focusable-BTJYY_Mf.cjs} +1 -1
- package/components/{focusable-DB6Uhr-C.js → focusable-BXhQz3_k.js} +1 -1
- package/components/fr-2igiTsHU.cjs +20 -0
- package/components/{fr-BOwMikLT.js → fr-C5b2Wgoz.js} +7 -0
- package/components/get-css-variable-BEYG097C.js +1446 -0
- package/components/get-css-variable-BZxY4IOa.cjs +35 -0
- package/components/grid/actions.d.ts +21 -0
- package/components/grid/default-actions.d.ts +14 -0
- package/components/grid/grid-item-actions-menu.d.ts +35 -0
- package/components/grid/grid.d.ts +165 -0
- package/components/grid/index.cjs +326 -0
- package/components/grid/index.d.ts +10 -0
- package/components/grid/index.js +8948 -0
- package/components/{if-defined-DqthfJme.cjs → if-defined-Bulnuz1A.cjs} +1 -1
- package/components/{if-defined-B4gwZxx6.js → if-defined-CTc4c9nr.js} +1 -1
- package/components/{index-Y9hjNorm.js → index-BNwJ9moR.js} +3 -3
- package/components/{index-CRYEL3MP.cjs → index-B_dW2-QA.cjs} +1 -1
- package/components/{index-5mZhN-HJ.js → index-BiY07GvX.js} +4 -4
- package/components/{index-Dh6CgbzT.js → index-Boxjo5I0.js} +79 -79
- package/components/{index-BhpqKmwq.cjs → index-CAJRL5rT.cjs} +1 -1
- package/components/{index-Cltytvm7.cjs → index-CT2vEcpn.cjs} +2 -2
- package/components/{index-D07V2c7z.cjs → index-CaVIv7B9.cjs} +1 -1
- package/components/index-CcDZIqpD.cjs +192 -0
- package/components/index-CcLRp9ao.js +1685 -0
- package/components/{index-DfTZDl-O.js → index-Ciad94jH.js} +3 -3
- package/components/index-CpGRysX_.js +691 -0
- package/components/{index-CTaPKPdt.cjs → index-CzRmB9z3.cjs} +1 -1
- package/components/index-DFHExzGq.cjs +20 -0
- package/components/{index-BHXq1-M1.cjs → index-DQbl3h5H.cjs} +1 -1
- package/components/index-GgkqKtE6.cjs +20 -0
- package/components/{index-BFPa6sJd.js → index-Jmmy73Aq.js} +1 -1
- package/components/{index-CoZF4QUN.js → index-UWOCtc0Y.js} +6 -6
- package/components/{index-CpQnVCVV.js → index-sCesmw8l.js} +4 -4
- package/components/index.cjs +1 -1
- package/components/index.js +25 -21
- package/components/item-list.cjs +1 -1
- package/components/item-list.js +267 -46
- package/components/item-menu/item-list/item-list.d.ts +2 -0
- package/components/{localized-decorator-DGnMToFa.js → localized-decorator-DNr1P1m0.js} +1 -1
- package/components/{localized-decorator-ClAOFk8M.cjs → localized-decorator-SOrjcPab.cjs} +1 -1
- package/components/luzmo-icons-DAsjNJNI.cjs +31 -0
- package/components/{luzmo-icons-CPucBq6e.js → luzmo-icons-DEoJcvoL.js} +146 -114
- package/components/{nl-CY0iO3Ch.js → nl-76jn_zMH.js} +7 -0
- package/components/nl-B50x7wMn.cjs +20 -0
- package/components/{pending-state-DTX7ggyF-B_9VbFxI.js → pending-state-DTX7ggyF-D1SvcIIz.js} +2 -2
- package/components/{pending-state-DTX7ggyF-C_go9EJh.cjs → pending-state-DTX7ggyF-DZzxjogp.cjs} +1 -1
- package/components/{periods.const-D2cMP5hH.js → periods.const-C89NNRX-.js} +1 -1
- package/components/{periods.const-BbgInj9J.cjs → periods.const-CfXsouLz.cjs} +1 -1
- package/components/{property-Dlf9S6Jz.cjs → property-BCb4Kybn.cjs} +7 -7
- package/components/{property-CxtZroGf.js → property-Dn4zSyxu.js} +46 -36
- package/components/query-all-CR2wWKRD.cjs +24 -0
- package/components/query-all-Ddzx2fEK.js +34 -0
- package/components/{set-locale-5FFfQpVQ.cjs → set-locale-Cam8nRIW.cjs} +1 -1
- package/components/{set-locale-DAGnJZD8.js → set-locale-DbEAMqUs.js} +1 -1
- package/components/{sized-mixin-ZTphZKLm.cjs → sized-mixin-BNtmplgF.cjs} +1 -1
- package/components/{sized-mixin-C7R5uRbF.js → sized-mixin-BR_Ii7le.js} +1 -1
- package/components/slot-menu/index.cjs +4 -4
- package/components/slot-menu/index.js +4 -4
- package/components/slot-menu-list/index.cjs +3 -7
- package/components/slot-menu-list/index.js +62 -73
- package/components/{state-CrfOw8Zp.cjs → state-BxZEcclm.cjs} +1 -1
- package/components/{state-BVYsk_HZ.js → state-vVJlsarL.js} +1 -1
- package/components/{task-DH8UFyxP.js → task-PQaVY8Iw.js} +1 -1
- package/components/{task-CdvrMX8r.cjs → task-qPJdeXO1.cjs} +1 -1
- package/components/utils.cjs +1 -1
- package/components/utils.js +56 -472
- package/custom-elements.json +491 -0
- package/index.d.ts +1 -0
- package/package.json +6 -1
- package/utils/filters/expressions.d.ts +1 -1
- package/utils/themes/bliss.d.ts +43 -0
- package/utils/themes/classic-dark.d.ts +34 -0
- package/utils/themes/classic.d.ts +43 -0
- package/utils/themes/default-dark.d.ts +46 -0
- package/utils/themes/default.d.ts +46 -0
- package/utils/themes/index.d.ts +121 -120
- package/utils/themes/orion.d.ts +44 -0
- package/utils/themes/pinky.d.ts +42 -0
- package/utils/themes/radiant.d.ts +42 -0
- package/utils/themes/royale.d.ts +36 -0
- package/utils/themes/seasonal.d.ts +43 -0
- package/utils/themes/urban.d.ts +44 -0
- package/utils/themes/vivid.d.ts +42 -0
- package/components/de-DcZysUyZ.cjs +0 -20
- package/components/es-CGiBfBKJ.cjs +0 -20
- package/components/fr-DZbYwMlh.cjs +0 -20
- package/components/index-B4EIbvuW.cjs +0 -192
- package/components/luzmo-icons-Nyf1P71v.cjs +0 -31
- package/components/nl-0V96M02q.cjs +0 -20
package/components/{calculate-data-item-icon-BtUWtDx3.cjs → calculate-data-item-icon-Bygfq3KO.cjs}
RENAMED
@@ -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";const e=require("./luzmo-icons-
|
20
|
+
"use strict";const e=require("./luzmo-icons-DAsjNJNI.cjs"),u={array:{s:e.f0,m:e.w0,l:e.x0,xl:e.x0},coordinates:{s:e.A0,m:e.u0,l:e.L0,xl:e.L0},currency:{s:e.Z0,m:e.H0,l:e.p0,xl:e.p0},date:{s:e.a0,m:e.m0,l:e.t,xl:e.t},datetime:{s:e.n0,m:e.h0,l:e.l0,xl:e.l0},duration:{s:e.S0,m:e.k0,l:e.D0,xl:e.D0},hierarchy:{s:e.P0,m:e.E0,l:e.U0,xl:e.U0},image:{s:e.q0,m:e.O0,l:e.Q0,xl:e.Q0},numeric:{s:e.X0,m:e.Y0,l:e._0,xl:e._0},time:{s:e.M2,m:e.s2,l:e.V2,xl:e.V2},topography:{s:e.W1,m:e.W1,l:e.W1,xl:e.W1},ipaddress:{s:e.x2,m:e.B2,l:e.F2,xl:e.F2}},n=(r,l="m")=>(r==null?void 0:r.type)==="array"?u.array[l]:(r==null?void 0:r.type)==="image"?u.image[l]:(r==null?void 0:r.type)==="spatial"?(r==null?void 0:r.subtype)==="topography"?u.topography[l]:u.coordinates[l]:(r==null?void 0:r.type)==="numeric"?(r==null?void 0:r.subtype)==="currency"?u.currency[l]:(r==null?void 0:r.subtype)==="duration"?u.duration[l]:u.numeric[l]:(r==null?void 0:r.type)==="datetime"?(r==null?void 0:r.subtype)==="time"?u.time[l]:(r==null?void 0:r.subtype)==="date"?u.date[l]:u.datetime[l]:(r==null?void 0:r.type)==="hierarchy"&&(r==null?void 0:r.subtype)==="ipaddress"?u.ipaddress[l]:u.hierarchy[l];exports.calculateDataItemIcon=n;
|
package/components/{calculate-data-item-icon-DauSiV8c.js → calculate-data-item-icon-DlyGQVBA.js}
RENAMED
@@ -17,31 +17,31 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import { x as
|
21
|
-
const
|
20
|
+
import { x as m, w as b, f as g, Q as u, O as D, q as k, W as l, L as n, u as q, A as w, p as i, H as A, Z as B, D as p, k as E, S as F, _ as y, Y as H, X as I, V as c, s as L, M, t as o, m as O, a as P, l as x, h as Q, n as S, F as f, B as U, b as V, U as h, E as W, P as X } from "./luzmo-icons-DEoJcvoL.js";
|
21
|
+
const r = {
|
22
22
|
array: {
|
23
23
|
s: g,
|
24
24
|
m: b,
|
25
|
-
l: u,
|
26
|
-
xl: u
|
27
|
-
},
|
28
|
-
coordinates: {
|
29
|
-
s: A,
|
30
|
-
m: w,
|
31
25
|
l: m,
|
32
26
|
xl: m
|
33
27
|
},
|
28
|
+
coordinates: {
|
29
|
+
s: w,
|
30
|
+
m: q,
|
31
|
+
l: n,
|
32
|
+
xl: n
|
33
|
+
},
|
34
34
|
currency: {
|
35
|
-
s:
|
36
|
-
m:
|
35
|
+
s: B,
|
36
|
+
m: A,
|
37
37
|
l: i,
|
38
38
|
xl: i
|
39
39
|
},
|
40
40
|
date: {
|
41
41
|
s: P,
|
42
42
|
m: O,
|
43
|
-
l:
|
44
|
-
xl:
|
43
|
+
l: o,
|
44
|
+
xl: o
|
45
45
|
},
|
46
46
|
datetime: {
|
47
47
|
s: S,
|
@@ -50,8 +50,8 @@ const s = {
|
|
50
50
|
xl: x
|
51
51
|
},
|
52
52
|
duration: {
|
53
|
-
s:
|
54
|
-
m:
|
53
|
+
s: F,
|
54
|
+
m: E,
|
55
55
|
l: p,
|
56
56
|
xl: p
|
57
57
|
},
|
@@ -64,20 +64,20 @@ const s = {
|
|
64
64
|
image: {
|
65
65
|
s: k,
|
66
66
|
m: D,
|
67
|
-
l:
|
68
|
-
xl:
|
67
|
+
l: u,
|
68
|
+
xl: u
|
69
69
|
},
|
70
70
|
numeric: {
|
71
|
-
s:
|
72
|
-
m:
|
71
|
+
s: I,
|
72
|
+
m: H,
|
73
73
|
l: y,
|
74
74
|
xl: y
|
75
75
|
},
|
76
76
|
time: {
|
77
|
-
s:
|
78
|
-
m:
|
79
|
-
l:
|
80
|
-
xl:
|
77
|
+
s: M,
|
78
|
+
m: L,
|
79
|
+
l: c,
|
80
|
+
xl: c
|
81
81
|
},
|
82
82
|
topography: {
|
83
83
|
s: l,
|
@@ -91,7 +91,7 @@ const s = {
|
|
91
91
|
l: f,
|
92
92
|
xl: f
|
93
93
|
}
|
94
|
-
}, Z = (
|
94
|
+
}, Z = (e, s = "m") => (e == null ? void 0 : e.type) === "array" ? r.array[s] : (e == null ? void 0 : e.type) === "image" ? r.image[s] : (e == null ? void 0 : e.type) === "spatial" ? (e == null ? void 0 : e.subtype) === "topography" ? r.topography[s] : r.coordinates[s] : (e == null ? void 0 : e.type) === "numeric" ? (e == null ? void 0 : e.subtype) === "currency" ? r.currency[s] : (e == null ? void 0 : e.subtype) === "duration" ? r.duration[s] : r.numeric[s] : (e == null ? void 0 : e.type) === "datetime" ? (e == null ? void 0 : e.subtype) === "time" ? r.time[s] : (e == null ? void 0 : e.subtype) === "date" ? r.date[s] : r.datetime[s] : (e == null ? void 0 : e.type) === "hierarchy" && (e == null ? void 0 : e.subtype) === "ipaddress" ? r.ipaddress[s] : r.hierarchy[s];
|
95
95
|
export {
|
96
96
|
Z as c
|
97
97
|
};
|
@@ -55,6 +55,7 @@ const e = {
|
|
55
55
|
s3c6455b19fb1c3e4: "Absoluter Wechsel",
|
56
56
|
s3dcf7b255596a2c3: "Standardabweichung",
|
57
57
|
s441accd1cd3484c9: "Minute",
|
58
|
+
s463b8c4e92751ba5: "Optionen",
|
58
59
|
s467b030b9a34b3c8: "Durchschnitt",
|
59
60
|
s48e186fb300e5464: "Zeit",
|
60
61
|
s496c60f73bdf5725: "Aggregation",
|
@@ -62,13 +63,16 @@ const e = {
|
|
62
63
|
s4b58c01e2578f5e4: "Legende",
|
63
64
|
s4e585eeea351a038: "enthält",
|
64
65
|
s4efbcab48a433013: "Lang",
|
66
|
+
s4f27f6b48a68b5c2: "Sperren",
|
65
67
|
s519d0aa80bbafd42: "Woche bis heute",
|
66
68
|
s57ace73e7c6e719f: "ist nicht in",
|
67
69
|
s58ec693e33483873: "kleiner als",
|
68
70
|
s5d929ff1619ac0c9: "Suchen",
|
71
|
+
s5e2654fb8587f442: "Duplizieren",
|
69
72
|
s602805b1eb3106c6: "Y-Achse",
|
70
73
|
s6031881827829901: "24h",
|
71
74
|
s60b34c3c17dc35bd: "Jahre",
|
75
|
+
s64ef2a6c2dd1d3d1: "Bearbeiten",
|
72
76
|
s66722bc2ea775e05: "Deaktiviert",
|
73
77
|
s669b18c6d2d9c95b: "Keine",
|
74
78
|
s66dcbbc0355c2759: "Sonntag",
|
@@ -102,6 +106,8 @@ const e = {
|
|
102
106
|
sa6ab5184d6315895: "Von",
|
103
107
|
sa6f2645578b2d2bc: "Jahr",
|
104
108
|
sa7effa06c0f6784c: "größer als",
|
109
|
+
sa8beb6b1182241ac: "Filter",
|
110
|
+
sac8256732f2ee1e5: "Daten",
|
105
111
|
sac8b59943205b14f: "nächste volle (Periode)",
|
106
112
|
sac94bb71f7737997: "Median",
|
107
113
|
sacae74732f544fca: "Tage",
|
@@ -128,6 +134,7 @@ const e = {
|
|
128
134
|
sd66a74fff07a11fb: "{count} elemente ausgewählt",
|
129
135
|
sd7ebafacf602c9bd: "Brief",
|
130
136
|
sdb73788b3c975f16: "Automatisch",
|
137
|
+
sdc673e73b5c13aea: "Löschen",
|
131
138
|
sdfeb2151b9e78d4d: "enthält nicht",
|
132
139
|
se0955919920ee87d: "Tag",
|
133
140
|
se211e3d21bbf3bff: "Maß",
|
@@ -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={s00decbd8fed4f501:"Maximum",s0456d2ad905847d9:"letzte",s079a052719914d71:"Kategorie",s08098b07b4c86ff2:"<=",s08108707b4ce87d4:">=",s088e3b07b5394bc3:"gleich",s099b18e1bd8a1154:"Stunden",s09c2b609dff29061:"Kumulative Summe",s0acece4c687177a9:"Quartalsnummern",s0bb151c9319a6813:"X-Achse",s0bca0c91195d8d6d:"enth",s1125d159f7e64df5:"Anzeigen",s11326fd2590f4e5e:"Standard",s122f7f3f1a22ea50:"nicht gleich",s13f5793e33ebda4f:"zwischen",s146475c4daa430ed:"Dezimalstellen",s178b06f4d02cfd40:"fehlt nicht",s184501a399a815dc:"Quartale",s18498398aeb37b07:"Woche beginnt am",s187528426100c44e:"Keine Daten",s1cdb6b07fe827486:"Wochennummer",s1e593719b55d60c0:"MTD",s1f0916624a87d415:"Tag im Jahr",s2454d1f117573457:"Genauigkeit",s247d110f13a3a288:"Tag in der Woche",s26273c258ddde0e1:"Auswählen...",s2695506122ffd614:"Sekunde in der Minute",s2718cebf7de190e1:"ist zwischen",s2798d16f4e04857e:"Minute in der Stunde",s281f1d977ddc0ebe:"Monatsnummer",s2ea38ce3da088075:"Perioden",s2fb2a49481123d6a:"Wochen",s2fedf26ef08343d4:"ist gleich",s3924c3d773a80312:"letzte verfügbar",s3c6455b19fb1c3e4:"Absoluter Wechsel",s3dcf7b255596a2c3:"Standardabweichung",s441accd1cd3484c9:"Minute",s463b8c4e92751ba5:"Optionen",s467b030b9a34b3c8:"Durchschnitt",s48e186fb300e5464:"Zeit",s496c60f73bdf5725:"Aggregation",s4b30fad1c34464e1:"größer oder gleich",s4b58c01e2578f5e4:"Legende",s4e585eeea351a038:"enthält",s4efbcab48a433013:"Lang",s4f27f6b48a68b5c2:"Sperren",s519d0aa80bbafd42:"Woche bis heute",s57ace73e7c6e719f:"ist nicht in",s58ec693e33483873:"kleiner als",s5d929ff1619ac0c9:"Suchen",s5e2654fb8587f442:"Duplizieren",s602805b1eb3106c6:"Y-Achse",s6031881827829901:"24h",s60b34c3c17dc35bd:"Jahre",s64ef2a6c2dd1d3d1:"Bearbeiten",s66722bc2ea775e05:"Deaktiviert",s669b18c6d2d9c95b:"Keine",s66dcbbc0355c2759:"Sonntag",s680f01021b5e339d:"Woche",s6b0bffd88024372f:"Stunde",s708bbac083d05109:"beginnt nicht mit",s70a773eb3133e5fa:"Monat bis heute",s716a6024e3fe999c:"Zeigen",s71a5c9f4b68ef4d4:"Zählen",s740d7e8b131e9e97:"Gewichteter Durchschnitt",s74dcd519e6563a26:"WTD",s7632fc9aa12bf382:"Monate",s7a6878d41ffac284:"letzte abgeschl",s846876f9b712e843:"ist nicht gleich",s862f5319f0256b94:"QTD",s8665d029b5cb8b24:"Gesamtsummen",s8a56a8c8bd19c9c7:"fehlt",s8d0259032729869d:"Sekunde",s965c503c3e42fdfe:"Aktiviert",s9689e928323dc124:"letzte abgeschlossene (Periode)",s981f232bd33ec927:"Rate",s9854300ef4a37d18:"endet nicht mit",s987abe19fac8d108:"Summe",s98c337186f2d57c6:"Bin-Breite",s98db41a3eb532203:"Jahr bis heute",s991d216e6efc157c:"Keine Ergebnisse",s996319f23f6cf0b5:"endet mit",s9b9009d4a5004fb8:"Binning",s9b9d6ce29d05a298:"kleiner oder gleich",sa3c9339de23c1752:"Format",sa6ab5184d6315895:"Von",sa6f2645578b2d2bc:"Jahr",sa7effa06c0f6784c:"größer als",sa8beb6b1182241ac:"Filter",sac8256732f2ee1e5:"Daten",sac8b59943205b14f:"nächste volle (Periode)",sac94bb71f7737997:"Median",sacae74732f544fca:"Tage",saf63b34c8601a6e1:">",sb1f654608a3eea75:"Wochentag",sb3b793ff5cc1bc39:"nächste (x) Perioden",sb47daaf9e1c4a905:"Monat",sb5b295e3a7500b9c:"Dauerstufen",sb6513caf69971fb5:"Kurz",sb70671db5700ff60:"endet nicht mit",sb93e5af29aca2e3d:"fehlt",sbbb97b1c63507dc0:"Zahl",sbeebe911264bed23:"letzte (x) verfügbare Perioden",sc1bf67624fa6d498:"% Änderung",sc27dc998602cdc61:"Beispiel:",sc4842e5b8b90466a:"Sekunden",sc6e49f3d37e54030:"Stunde im Tag",sc6f5a4fc0583d734:"ist in",scb7bab1a17663a6c:"YTD",scf2bb2b0de9cdb8a:"Millisekunde",sd237be440de38cc7:"Quartal",sd28141a332dc31fa:"Tag im Monat",sd5b1040899eb149d:"nächste voll",sd66a74fff07a11fb:"{count} elemente ausgewählt",sd7ebafacf602c9bd:"Brief",sdb73788b3c975f16:"Automatisch",sdc673e73b5c13aea:"Löschen",sdfeb2151b9e78d4d:"enthält nicht",se0955919920ee87d:"Tag",se211e3d21bbf3bff:"Maß",se2b7530e30fa607d:"Periodenvergleich",se415bbea6c976fb1:"Gruppieren nach",se5316cbaa025f028:"nächste",se715be190539325a:"vor",se8e9d799a9e267ce:"Unterschiedliche Zählung",se9e535bb9591039e:"Ausdruck auswählen",se9ff6e9a514d8cf9:"Montag",seb4eae68d45315b7:"Minimum",seb9c440de1ce6044:"beginnt mit",sec2f608650e36ac5:"letzte abgeschlossene Periode",secf42ec1c7c47be2:"fehlt nicht",see0ec27fb03d880e:"Minuten",sef49aec68fd1dc66:"Name",sf518b78d9734f57b:"beginnt nicht mit",sf6cda8263b3170af:"Verwenden Sie den Zeitraum bis heute für unvollständige Zeiträume",sf70eaf9ab4c93082:"nicht enth",sf9c10516a62a23db:"Anzeigen als",sfa2d0aa30ee5aa58:"letzte (x) Perioden",sfad9ed343e97551c:"Vergangener Wert",sfbac36245480ddbc:"Trennzeichen",sfda1c9d0be35cec8:"Quartal bis heute"};exports.templates=e;
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../task-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../task-qPJdeXO1.cjs");require("../index-DtohCwyO.cjs");require("../index-j8UKjHqY.cjs");require("../index-DSQyBS9Z.cjs");require("../index-Tx5oQjbt.cjs");require("../index-BKwbYw6x.cjs");require("../index-cHKqEi5-.cjs");const t=require("../property-BCb4Kybn.cjs"),c=require("../state-BxZEcclm.cjs"),m=require("../query-D5qWDopr.cjs"),a=require("../luzmo-icons-DAsjNJNI.cjs"),v=require("../focusable-BTJYY_Mf.cjs"),g=require("../sized-mixin-BNtmplgF.cjs"),h=":host{font-family:var(--luzmo-display-settings-font-family, var(--luzmo-font-family));font-size:var(--luzmo-display-settings-font-size, var(--display-settings-font-size));color:var(--luzmo-display-settings-font-color, var(--luzmo-font-color))}.settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}.settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-gap, var(--display-settings-gap))}luzmo-divider{margin:var(--luzmo-display-settings-ids-container-vertical-margin, var(--display-settings-ids-container-vertical-margin)) 0}.setting{display:flex;align-items:center}.label-action-container{display:flex;align-items:center;justify-content:space-between;gap:var(--luzmo-display-settings-info-to-remove-icon-gap, var(--display-settings-info-to-remove-icon-gap))}.id-button,.remove-button{outline:none;cursor:pointer;border:none;background:none;font-size:var(--luzmo-display-settings-font-size, var(--display-settings-font-size));color:var(--luzmo-display-settings-font-color, var(--luzmo-font-color))}.remove-button{display:block;width:var(--luzmo-display-settings-remove-button-size, var(--display-settings-remove-button-size));height:var(--luzmo-display-settings-remove-button-size, var(--display-settings-remove-button-size));border-radius:var(--luzmo-display-settings-remove-button-border-radius, 50%)}.remove-button:hover{background-color:var(--luzmo-display-settings-remove-button-background-color-hover, var(--luzmo-background-color-hover))}.remove-button:active,.remove-button:focus{background-color:var(--luzmo-display-settings-remove-button-background-color-down, var(--luzmo-background-color-down))}.remove-button:focus-visible{box-shadow:0 0 0 var(--luzmo-display-settings-remove-button-indicator-thickness, var(--display-settings-remove-button-indicator-thickness)) var(--highcontrast-remove-button-indicator-color, var(--luzmo-display-settings-remove-button-indicator-color, var(--display-settings-remove-button-indicator-color)))}.ids-container{display:flex;flex-direction:column;gap:var(--luzmo-display-settings-gap, var(--display-settings-gap));border-radius:50%}.id-label{text-transform:var(--luzmo-display-settings-id-label-text-transform, var(--display-settings-id-label-text-transform));font-size:var(--luzmo-display-settings-id-label-font-size, var(--display-settings-id-label-font-size));color:var(--luzmo-display-settings-id-label-color, var(--display-settings-id-label-color))}:host{--display-settings-font-family: var(--luzmo-font-family);--display-settings-id-label-text-transform: uppercase;--display-settings-id-label-color: var(--luzmo-secondary);--display-settings-remove-button-indicator-color: var(--luzmo-primary);--display-settings-remove-button-indicator-thickness: var( --luzmo-border-width )}:host{--display-settings-font-size: var(--luzmo-font-size);--display-settings-id-label-font-size: var(--luzmo-font-size-s);--display-settings-gap: var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-4);--display-settings-info-to-remove-icon-gap: var(--luzmo-spacing-5);--display-settings-remove-button-size: var(--luzmo-component-height)}:host([size=s]){--display-settings-id-label-font-size: var(--luzmo-font-size-s);--display-settings-font-size: var(--luzmo-font-size-s);--display-settings-gap: var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-3);--display-settings-info-to-remove-icon-gap: var(--luzmo-spacing-4);--display-settings-remove-button-size: var(--luzmo-component-height-s)}:host([size=l]){--display-settings-id-label-font-size: var(--luzmo-font-size);--display-settings-font-size: var(--luzmo-font-size-l);--display-settings-gap: var(--luzmo-spacing-4);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-5);--display-settings-info-to-remove-icon-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--display-settings-remove-button-size: var(--luzmo-component-height-l)}:host([size=xl]){--display-settings-id-label-font-size: var(--luzmo-font-size-l);--display-settings-font-size: var(--luzmo-font-size-xl);--display-settings-gap: var(--luzmo-spacing-5);--display-settings-ids-container-vertical-margin: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--display-settings-info-to-remove-icon-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-2) );--display-settings-remove-button-size: var(--luzmo-component-height-xl)}";var y=Object.defineProperty,n=(l,e,o,d)=>{for(var i=void 0,r=l.length-1,u;r>=0;r--)(u=l[r])&&(i=u(e,o,i)||i);return i&&y(e,o,i),i};class s extends g.SizedMixin(v.LuzmoElement,{validSizes:Object.values(g.ElementSizes)}){constructor(){super(...arguments),this._loadDisplaySettings=new p.h(this,{task:async([e,o,d])=>{const i=[];this.grandTotals&&i.push("grandTotals"),this.periodOverPeriod&&i.push("periodOverPeriod"),(o==="numeric"||o==="mixed"&&(e==null?void 0:e.type)==="numeric")&&i.push("numeric"),o!=="numeric"&&(e==null?void 0:e.type)==="datetime"&&i.push("datetime"),!["numeric","mixed"].includes(o??"")&&(e==null?void 0:e.type)==="numeric"&&!this.binningDisabled&&i.push("binning"),i.length>0&&!d&&(i.includes("numeric")&&!this._settingsTypeLoaded.numeric?(await Promise.resolve().then(()=>require("../display-settings-numeric/index.cjs")),this._settingsTypeLoaded.numeric=!0):i.includes("datetime")&&!this._settingsTypeLoaded.datetime?(await Promise.resolve().then(()=>require("../display-settings-datetime/index.cjs")),this._settingsTypeLoaded.periodOverPeriod=!0):i.includes("binning")&&!this._settingsTypeLoaded.binning?(await Promise.resolve().then(()=>require("../display-settings-binning/index.cjs")),this._settingsTypeLoaded.binning=!0):i.includes("grandTotals")&&!this._settingsTypeLoaded.grandTotals?(await Promise.resolve().then(()=>require("../display-settings-grand-totals/index.cjs")),this._settingsTypeLoaded.grandTotals=!0):i.includes("periodOverPeriod")&&!this._settingsTypeLoaded.periodOverPeriod&&(await Promise.resolve().then(()=>require("../display-settings-period-over-period/index.cjs")),this._settingsTypeLoaded.periodOverPeriod=!0))},args:()=>[this.slotContent,this.slotType,this.hideDisplaySettings]}),this.language="en",this.contentLanguage="en",this.slotType="numeric",this.slotContent={},this._showIds=!1,this.measureColumns=[],this._settingsTypeLoaded={binning:!1,datetime:!1,numeric:!1,grandTotals:!1,periodOverPeriod:!1,hierarchy:!0},this._currentSlotContent={}}static get styles(){return[t.r(h)]}willUpdate(e){e.has("slotContent")&&(this._currentSlotContent=structuredClone(this.slotContent))}_onSlotContentChange(e){e.stopPropagation(),e.preventDefault(),this._currentSlotContent=structuredClone(e.detail.slotContent),this._sendEvent()}_onLabelChange(){this._currentSlotContent=structuredClone(this._currentSlotContent),this._currentSlotContent.label=this._multiLanguageFieldElement.value||{},this._sendEvent()}_sendEvent(){this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this._currentSlotContent}}}))}_removeEvent(){this.dispatchEvent(new CustomEvent("remove-slot-content",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:this._currentSlotContent}}))}_toggleIds(){this._showIds=!this._showIds}_renderDisplaySettings(){return t.x`<div class="settings-container">
|
21
21
|
<div class="settings-row">
|
22
22
|
<div class="setting">
|
23
23
|
<div class="label-container">
|
@@ -34,7 +34,7 @@
|
|
34
34
|
</div>
|
35
35
|
<div class="label-action-container">
|
36
36
|
<button class="id-button" @click=${this._toggleIds}>
|
37
|
-
${a.
|
37
|
+
${a.p3(a.p1)}
|
38
38
|
<luzmo-tooltip self-managed placement="top" size=${this.size}>
|
39
39
|
Show dataset and column id's
|
40
40
|
</luzmo-tooltip>
|
@@ -43,7 +43,7 @@
|
|
43
43
|
class="remove-button"
|
44
44
|
@click=${this._removeEvent}
|
45
45
|
>
|
46
|
-
${a.
|
46
|
+
${a.p3(a.C1)}
|
47
47
|
<luzmo-tooltip
|
48
48
|
self-managed
|
49
49
|
placement="top"
|
@@ -17,19 +17,19 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import { h as g } from "../task-
|
20
|
+
import { h as g } from "../task-PQaVY8Iw.js";
|
21
21
|
import "../index-CskV_bXp.js";
|
22
22
|
import "../index-CsDgk_sj.js";
|
23
23
|
import "../index-BC1LV3vH.js";
|
24
24
|
import "../index-CbuHBIDB.js";
|
25
25
|
import "../index-C3N6qTxJ.js";
|
26
26
|
import "../index-DE3d0E0P.js";
|
27
|
-
import { r as p, x as n, n as s } from "../property-
|
28
|
-
import { r as z } from "../state-
|
27
|
+
import { r as p, x as n, n as s } from "../property-Dn4zSyxu.js";
|
28
|
+
import { r as z } from "../state-vVJlsarL.js";
|
29
29
|
import { e as h } from "../query-Ddbd72Um.js";
|
30
|
-
import { a3 as m, a5 as v, a6 as b } from "../luzmo-icons-
|
31
|
-
import { L as f } from "../focusable-
|
32
|
-
import { S as y, E as x } from "../sized-mixin-
|
30
|
+
import { a3 as m, a5 as v, a6 as b } from "../luzmo-icons-DEoJcvoL.js";
|
31
|
+
import { L as f } from "../focusable-BXhQz3_k.js";
|
32
|
+
import { S as y, E as x } from "../sized-mixin-BR_Ii7le.js";
|
33
33
|
const c = () => {
|
34
34
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
35
35
|
const l = document.createElement("style");
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-C2PPSv8E.cjs");require("../index-j8UKjHqY.cjs");require("../index-DSQyBS9Z.cjs");require("../index-CBOAQ3-E.cjs");const a=require("../property-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-C2PPSv8E.cjs");require("../index-j8UKjHqY.cjs");require("../index-DSQyBS9Z.cjs");require("../index-CBOAQ3-E.cjs");const a=require("../property-BCb4Kybn.cjs"),t=require("../set-locale-Cam8nRIW.cjs"),c=require("../localized-decorator-SOrjcPab.cjs"),d=require("../luzmo-icons-DAsjNJNI.cjs"),h=require("../state-BxZEcclm.cjs"),b=require("../query-D5qWDopr.cjs"),p=require("../focusable-BTJYY_Mf.cjs"),u=require("../sized-mixin-BNtmplgF.cjs"),m=":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-binning-gap, var(--display-settings-binning-gap))}:host{--display-settings-binning-gap: var(--luzmo-spacing-3)}:host([size=s]){--display-settings-binning-gap: var(--luzmo-spacing-3)}:host([size=l]){--display-settings-binning-gap: var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-binning-gap: var(--luzmo-spacing-5)}";var z=Object.defineProperty,v=Object.getOwnPropertyDescriptor,o=(g,e,s,n)=>{for(var i=n>1?void 0:n?v(e,s):e,l=g.length-1,r;l>=0;l--)(r=g[l])&&(i=(n?r(e,s,i):r(i))||i);return n&&i&&z(e,s,i),i};exports.LuzmoDisplaySettingsBinning=class extends u.SizedMixin(p.LuzmoElement,{validSizes:Object.values(u.ElementSizes)}){constructor(){super(...arguments),this.language="en",this.slotContent={},this._enabled=!1,this._binWidth=10}static get styles(){return[a.r(m)]}willUpdate(e){var s,n,i,l;e.has("slotContent")&&(this._enabled=((n=(s=this.slotContent)==null?void 0:s.bins)==null?void 0:n.enabled)??!1,this._binWidth=((l=(i=this.slotContent)==null?void 0:i.bins)==null?void 0:l.number)??10),e.has("language")&&this.language!==t.getLocale()&&([...t.targetLocales].includes(this.language??"en")||this.language==="en")&&t.setLocale(this.language)}toggleBinning(){this._enabled=!this._enabled,this.sendEvent()}setBinning(){this._binWidth=this.binWidthElement.value,this.sendEvent()}sendEvent(){const e={enabled:!!this._enabled,number:this._binWidth??10};this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this.slotContent,bins:e}}}))}renderBinWidth(){return a.x`<div class="setting">
|
21
21
|
<luzmo-field-label for="bin-width"
|
22
22
|
>${t.msg("Bin width",{desc:"The width of each bin in the histogram"})}</luzmo-field-label
|
23
23
|
>
|
@@ -46,7 +46,7 @@
|
|
46
46
|
<luzmo-icon
|
47
47
|
slot="icon"
|
48
48
|
.size=${this.size}
|
49
|
-
.icon=${this._enabled?d.
|
49
|
+
.icon=${this._enabled?d.v0:d.z0}
|
50
50
|
></luzmo-icon>
|
51
51
|
${this._enabled?t.msg("Enabled",{desc:"Option set to enabled"}):t.msg("Disabled",{desc:"Option set to disabled"})}
|
52
52
|
</luzmo-action-button>
|
@@ -21,14 +21,14 @@ import "../index-rQxtPaJl.js";
|
|
21
21
|
import "../index-CsDgk_sj.js";
|
22
22
|
import "../index-BC1LV3vH.js";
|
23
23
|
import "../index-Desl7GJ0.js";
|
24
|
-
import { r as z, x as m, n as c } from "../property-
|
25
|
-
import { g, t as b, s as
|
26
|
-
import { l as
|
27
|
-
import {
|
28
|
-
import { r as x } from "../state-
|
24
|
+
import { r as z, x as m, n as c } from "../property-Dn4zSyxu.js";
|
25
|
+
import { g, t as b, s as p, m as s } from "../set-locale-DbEAMqUs.js";
|
26
|
+
import { l as h } from "../localized-decorator-DNr1P1m0.js";
|
27
|
+
import { v as f, z as v } from "../luzmo-icons-DEoJcvoL.js";
|
28
|
+
import { r as x } from "../state-vVJlsarL.js";
|
29
29
|
import { e as y } from "../query-Ddbd72Um.js";
|
30
|
-
import { L as w } from "../focusable-
|
31
|
-
import { S as _, E
|
30
|
+
import { L as w } from "../focusable-BXhQz3_k.js";
|
31
|
+
import { S as _, E } from "../sized-mixin-BR_Ii7le.js";
|
32
32
|
const d = () => {
|
33
33
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
34
34
|
const o = document.createElement("style");
|
@@ -36,24 +36,24 @@ const d = () => {
|
|
36
36
|
}
|
37
37
|
};
|
38
38
|
d();
|
39
|
-
const
|
39
|
+
const C = ":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-binning-gap, var(--display-settings-binning-gap))}:host{--display-settings-binning-gap: var(--luzmo-spacing-3)}:host([size=s]){--display-settings-binning-gap: var(--luzmo-spacing-3)}:host([size=l]){--display-settings-binning-gap: var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-binning-gap: var(--luzmo-spacing-5)}";
|
40
40
|
var $ = Object.defineProperty, S = Object.getOwnPropertyDescriptor, r = (o, l, n, i) => {
|
41
41
|
for (var e = i > 1 ? void 0 : i ? S(l, n) : l, a = o.length - 1, u; a >= 0; a--)
|
42
42
|
(u = o[a]) && (e = (i ? u(l, n, e) : u(e)) || e);
|
43
43
|
return i && e && $(l, n, e), e;
|
44
44
|
};
|
45
45
|
let t = class extends _(w, {
|
46
|
-
validSizes: Object.values(
|
46
|
+
validSizes: Object.values(E)
|
47
47
|
}) {
|
48
48
|
constructor() {
|
49
49
|
super(...arguments), this.language = "en", this.slotContent = {}, this._enabled = !1, this._binWidth = 10;
|
50
50
|
}
|
51
51
|
static get styles() {
|
52
|
-
return [z(
|
52
|
+
return [z(C)];
|
53
53
|
}
|
54
54
|
willUpdate(o) {
|
55
55
|
var l, n, i, e;
|
56
|
-
o.has("slotContent") && (this._enabled = ((n = (l = this.slotContent) == null ? void 0 : l.bins) == null ? void 0 : n.enabled) ?? !1, this._binWidth = ((e = (i = this.slotContent) == null ? void 0 : i.bins) == null ? void 0 : e.number) ?? 10), o.has("language") && this.language !== g() && ([...b].includes(this.language ?? "en") || this.language === "en") &&
|
56
|
+
o.has("slotContent") && (this._enabled = ((n = (l = this.slotContent) == null ? void 0 : l.bins) == null ? void 0 : n.enabled) ?? !1, this._binWidth = ((e = (i = this.slotContent) == null ? void 0 : i.bins) == null ? void 0 : e.number) ?? 10), o.has("language") && this.language !== g() && ([...b].includes(this.language ?? "en") || this.language === "en") && p(this.language);
|
57
57
|
}
|
58
58
|
toggleBinning() {
|
59
59
|
this._enabled = !this._enabled, this.sendEvent();
|
@@ -140,7 +140,7 @@ r([
|
|
140
140
|
y("#bin-width")
|
141
141
|
], t.prototype, "binWidthElement", 2);
|
142
142
|
t = r([
|
143
|
-
|
143
|
+
h()
|
144
144
|
], t);
|
145
145
|
customElements.get("luzmo-display-settings-binning") || customElements.define(
|
146
146
|
"luzmo-display-settings-binning",
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("../task-CdvrMX8r.cjs");require("../index-C2PPSv8E.cjs");require("../index-CnpJUw_z.cjs");require("../index-j8UKjHqY.cjs");require("../index-DSQyBS9Z.cjs");require("../index-CBOAQ3-E.cjs");require("../index-D07V2c7z.cjs");require("../index-BKwbYw6x.cjs");const s=require("../property-Dlf9S6Jz.cjs"),i=require("../set-locale-5FFfQpVQ.cjs"),f=require("../localized-decorator-ClAOFk8M.cjs"),d=require("../luzmo-icons-Nyf1P71v.cjs"),m=require("../formatter-DiJYkB6b.cjs"),h=require("../periods.const-BbgInj9J.cjs"),l=require("../query-D5qWDopr.cjs"),y=require("../focusable-_wp5pWO-.cjs"),p=require("../sized-mixin-ZTphZKLm.cjs"),c={"~":()=>i.msg("Auto",{desc:"Automatic setting of the option"}),"/":()=>"/","-":()=>"-",".":()=>"."},z=":host{font-family:var(--luzmo-display-settings-datetime-font-family, var(--luzmo-font-family))}:host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-datetime-gap, var(--display-settings-datetime-gap))}:host .example-container{line-height:var(--luzmo-display-settings-datetime-example-height, var(--display-settings-datetime-example-height));font-size:var(--luzmo-display-settings-datetime-example-font-size, var(--display-settings-datetime-example-font-size));color:var(--luzmo-display-settings-datetime-example-color, var(--display-settings-datetime-example-color))}:host .example-container .example-label{font-weight:var(--luzmo-display-settings-datetime-example-label-font-weight, var(--display-settings-datetime-example-label-font-weight));color:var(--luzmo-display-settings-datetime-example-label-color, var(--display-settings-datetime-example-label-color))}:host .example-container .example-language{text-transform:uppercase;color:var(--luzmo-display-settings-datetime-example-language-color, var(--display-settings-datetime-example-language-color))}:host{--display-settings-datetime-example-font-size: var(--luzmo-font-size);--display-settings-datetime-example-color: var(--luzmo-font-color);--display-settings-datetime-example-label-font-weight: bold;--display-settings-datetime-example-label-color: var(--luzmo-primary);--display-settings-datetime-example-language-color: var(--luzmo-primary)}:host{--display-settings-datetime-gap: var(--luzmo-spacing-3);--display-settings-datetime-example-height: var(--luzmo-component-height);--display-settings-datetime-example-font-size: var(--luzmo-font-size-s)}:host([size=s]){--display-settings-datetime-gap: var(--luzmo-spacing-3);--display-settings-datetime-example-height: var(--luzmo-component-height-s);--display-settings-datetime-example-font-size: var(--luzmo-font-size-s)}:host([size=l]){--display-settings-datetime-gap: var(--luzmo-spacing-4);--display-settings-datetime-example-height: var(--luzmo-component-height-l);--display-settings-datetime-example-font-size: var(--luzmo-font-size)}:host([size=xl]){--display-settings-datetime-gap: var(--luzmo-spacing-5);--display-settings-datetime-example-height: var(--luzmo-component-height-xl);--display-settings-datetime-example-font-size: var(--luzmo-font-size-l)}";var v=Object.defineProperty,S=Object.getOwnPropertyDescriptor,r=(u,e,t,o)=>{for(var a=o>1?void 0:o?S(e,t):e,n=u.length-1,_;n>=0;n--)(_=u[n])&&(a=(o?_(e,t,a):_(a))||a);return o&&a&&v(e,t,a),a};exports.LuzmoDisplaySettingsDatetime=class extends p.SizedMixin(y.LuzmoElement,{validSizes:Object.values(p.ElementSizes)}){constructor(){super(...arguments),this._loadLocaleFormatsConfig=new g.h(this,{task:async([e])=>{if(e&&e!==this._contentLanguageLoaded){const t=Object.assign({"../../utils/formatter/formats/cs.ts":()=>Promise.resolve().then(()=>require("../cs-I9E81keK.cjs")),"../../utils/formatter/formats/da.ts":()=>Promise.resolve().then(()=>require("../da-QkdvupDg.cjs")),"../../utils/formatter/formats/de.ts":()=>Promise.resolve().then(()=>require("../de-Dn5mUzha.cjs")),"../../utils/formatter/formats/en-GB.ts":()=>Promise.resolve().then(()=>require("../en-GB-Dd11ROdW.cjs")),"../../utils/formatter/formats/en-US.ts":()=>Promise.resolve().then(()=>D),"../../utils/formatter/formats/en.ts":()=>Promise.resolve().then(()=>F),"../../utils/formatter/formats/es.ts":()=>Promise.resolve().then(()=>require("../es-CwyPlN5d.cjs")),"../../utils/formatter/formats/fi.ts":()=>Promise.resolve().then(()=>require("../fi-rijeZE5V.cjs")),"../../utils/formatter/formats/fr.ts":()=>Promise.resolve().then(()=>require("../fr-BcgE-6S_.cjs")),"../../utils/formatter/formats/he.ts":()=>Promise.resolve().then(()=>require("../he-O6Ih8Bqh.cjs")),"../../utils/formatter/formats/hu.ts":()=>Promise.resolve().then(()=>require("../hu-BnZ8y3xQ.cjs")),"../../utils/formatter/formats/it.ts":()=>Promise.resolve().then(()=>require("../it-PshtLMkq.cjs")),"../../utils/formatter/formats/ja.ts":()=>Promise.resolve().then(()=>require("../ja-KIS2HdaG.cjs")),"../../utils/formatter/formats/ko.ts":()=>Promise.resolve().then(()=>require("../ko--l4qmjLV.cjs")),"../../utils/formatter/formats/mk.ts":()=>Promise.resolve().then(()=>require("../mk-DZlj-edb.cjs")),"../../utils/formatter/formats/nl.ts":()=>Promise.resolve().then(()=>require("../nl-BKlDqOXb.cjs")),"../../utils/formatter/formats/no.ts":()=>Promise.resolve().then(()=>require("../no-D_SzxhTu.cjs")),"../../utils/formatter/formats/pl.ts":()=>Promise.resolve().then(()=>require("../pl-PIK23rK_.cjs")),"../../utils/formatter/formats/pt.ts":()=>Promise.resolve().then(()=>require("../pt-Dqlu4MS5.cjs")),"../../utils/formatter/formats/ru.ts":()=>Promise.resolve().then(()=>require("../ru-zyNDTB04.cjs")),"../../utils/formatter/formats/sv.ts":()=>Promise.resolve().then(()=>require("../sv-1DPTltNQ.cjs")),"../../utils/formatter/formats/tr.ts":()=>Promise.resolve().then(()=>require("../tr-BkmWvOG2.cjs")),"../../utils/formatter/formats/zh-CN.ts":()=>Promise.resolve().then(()=>require("../zh-CN-DTZ4OmdP.cjs")),"../../utils/formatter/formats/zh-TW.ts":()=>Promise.resolve().then(()=>require("../zh-TW-DTZ4OmdP.cjs"))});if(t[`../../utils/formatter/formats/${e}.ts`]){const o=await t[`../../utils/formatter/formats/${e}.ts`]();this._localeFormats=(o==null?void 0:o.default)??{}}return this._contentLanguageLoaded=e,this._localeFormats}},args:()=>[this.contentLanguage]}),this.language="en",this.contentLanguage="en",this.size="m",this.slotContent={},this._dateLevel=5,this._displayAs="default",this._weekStart="monday",this._weekDayAndMonthInYearFormat="long",this._dateFormat="auto",this._dateSeparator="~",this._sendEvent=()=>{this._calculateSlotContent(),this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:this._currentSlotContent}}))}}static get styles(){return[s.r(z)]}_parseSlotContent(){var e,t;this._dateLevel=this.slotContent.level??((e=this.slotContent)==null?void 0:e.lowestLevel)??5,this._displayAs=((t=this.slotContent)==null?void 0:t.datetimeDisplayMode)??"default",this._displayAs==="weekday_number"&&(this._displayAs="day_in_week",this._weekDayAndMonthInYearFormat="number"),this._displayAs==="weekday_name"&&(this._displayAs="day_in_week"),this._displayAs==="month_number"&&(this._displayAs="month_in_year",this._weekDayAndMonthInYearFormat="number"),this._displayAs==="month_name"&&(this._displayAs="month_in_year")}_calculateFormat(){var o;let e;const t=((o=this._localeFormats)==null?void 0:o.smartDateFormats)??m.SMART_DATE_FORMATS;this._monthName?(e=t.filter(a=>a.monthType==="name"&&a.longText===(this._monthNameFormat==="long")&&a.weekday===this._weekDay),e.length>0?this._format=e[0].key:(this._weekDayAndMonthInYearFormat="short",this._weekDay=!0,this._format="%a %e %B %Y")):(e=this._dateLevel&&this._dateLevel===4?t.filter(a=>a.monthType==="number"&&a.mmdd===(this._weekFormat==="mmdd"?!0:this._weekFormat==="ddmm"?!1:null)&&a.separator===this._dateSeparator):t.filter(a=>a.monthType==="number"&&a.mmdd===(this._dateFormat==="mmdd"?!0:this._dateFormat==="ddmm"?!1:null)&&a.separator===this._dateSeparator),this._dateFormat==="auto"&&this._dateLevel&&this._dateLevel!==4?this._format="%amd"+this._dateSeparator+"%Y":e.length>0?this._format=e[0].key:(this._dateFormat="ddmm",this._dateSeparator="/",this._format="%d/%m/%Y")),this._dateLevel&&this._dateLevel>5&&(this._format+=this._24hFormat?" %H:%M:%S.%L":" %I:%M:%S.%L %p")}_setWeekStartsOn(){this._weekStart=this._weekStartElement.value,this._sendEvent(),this.requestUpdate()}_setDisplayAs(){this._displayAs=this._displayAsElement.value,this._sendEvent(),this.requestUpdate()}_setWeekdayAndMonthInYearFormat(){var e;this._weekDayAndMonthInYearFormat=((e=this._weekDayAndMonthInYearFormatElement.selected)==null?void 0:e[0])??"long",this._sendEvent(),this.requestUpdate()}_setMonthNameFormat(){var e;this._monthNameFormat=(e=this._monthNameFormatElement.selected)==null?void 0:e[0],this._sendEvent(),this.requestUpdate()}_setMonthName(){this._monthName=this._monthNameElement.selected,this._sendEvent(),this.requestUpdate()}_setWeekFormat(){var e;this._weekFormat=(e=this._weekFormatElement.selected)==null?void 0:e[0],this._sendEvent(),this.requestUpdate()}_setDateFormat(){this._dateFormat=this._dateFormatElement.value,this._sendEvent(),this.requestUpdate()}_setDateSeparator(){this._dateSeparator=this._dateSeparatorElement.value,this._sendEvent(),this.requestUpdate()}_set24hFormat(){this._24hFormat=this._format24hElement.selected,this._sendEvent(),this.requestUpdate()}_setWeekday(){this._weekDay=this._weekDayElement.selected,this._sendEvent(),this.requestUpdate()}_calculateSlotContent(){this._currentSlotContent={...this.slotContent},this._calculateFormat(),this._currentSlotContent.format=this._format,this._displayAs==="default"?delete this._currentSlotContent.datetimeDisplayMode:(this._currentSlotContent.datetimeDisplayMode=this._displayAs,this._displayAs==="week_in_year"?this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat==="number"?"week_number":"week_name":this._displayAs==="month_in_year"?this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat==="number"?"month_number":"month_name":this._displayAs==="day_in_week"&&(this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat==="number"?"weekday_number":"weekday_name",this._currentSlotContent.weekStart=this._weekStart),this._weekDayAndMonthInYearFormat&&(this._dateLevel===3?this._currentSlotContent.monthNameFormat=this._weekDayAndMonthInYearFormat:this._dateLevel===5&&(this._currentSlotContent.weekDayNameFormat=this._weekDayAndMonthInYearFormat)))}willUpdate(e){e.has("slotContent")&&(this._parseSlotContent(),this._calculateSlotContent()),e.has("language")&&this.language!==i.getLocale()&&([...i.targetLocales].includes(this.language??"en")||this.language==="en")&&i.setLocale(this.language)}_renderDisplaySettings(){var t,o;const e=(o=(t=h.DATETIME_AS_STRING_FORMATS_PER_LEVEL)==null?void 0:t[`level${this._dateLevel??0}`])==null?void 0:o.map(a=>s.x`<luzmo-menu-item value=${a.key}>
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("../task-qPJdeXO1.cjs");require("../index-C2PPSv8E.cjs");require("../index-CnpJUw_z.cjs");require("../index-j8UKjHqY.cjs");require("../index-DSQyBS9Z.cjs");require("../index-CBOAQ3-E.cjs");require("../index-CaVIv7B9.cjs");require("../index-BKwbYw6x.cjs");const s=require("../property-BCb4Kybn.cjs"),i=require("../set-locale-Cam8nRIW.cjs"),f=require("../localized-decorator-SOrjcPab.cjs"),d=require("../luzmo-icons-DAsjNJNI.cjs"),m=require("../formatter-DiJYkB6b.cjs"),h=require("../periods.const-CfXsouLz.cjs"),l=require("../query-D5qWDopr.cjs"),y=require("../focusable-BTJYY_Mf.cjs"),p=require("../sized-mixin-BNtmplgF.cjs"),c={"~":()=>i.msg("Auto",{desc:"Automatic setting of the option"}),"/":()=>"/","-":()=>"-",".":()=>"."},z=":host{font-family:var(--luzmo-display-settings-datetime-font-family, var(--luzmo-font-family))}:host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-datetime-gap, var(--display-settings-datetime-gap))}:host .example-container{line-height:var(--luzmo-display-settings-datetime-example-height, var(--display-settings-datetime-example-height));font-size:var(--luzmo-display-settings-datetime-example-font-size, var(--display-settings-datetime-example-font-size));color:var(--luzmo-display-settings-datetime-example-color, var(--display-settings-datetime-example-color))}:host .example-container .example-label{font-weight:var(--luzmo-display-settings-datetime-example-label-font-weight, var(--display-settings-datetime-example-label-font-weight));color:var(--luzmo-display-settings-datetime-example-label-color, var(--display-settings-datetime-example-label-color))}:host .example-container .example-language{text-transform:uppercase;color:var(--luzmo-display-settings-datetime-example-language-color, var(--display-settings-datetime-example-language-color))}:host{--display-settings-datetime-example-font-size: var(--luzmo-font-size);--display-settings-datetime-example-color: var(--luzmo-font-color);--display-settings-datetime-example-label-font-weight: bold;--display-settings-datetime-example-label-color: var(--luzmo-primary);--display-settings-datetime-example-language-color: var(--luzmo-primary)}:host{--display-settings-datetime-gap: var(--luzmo-spacing-3);--display-settings-datetime-example-height: var(--luzmo-component-height);--display-settings-datetime-example-font-size: var(--luzmo-font-size-s)}:host([size=s]){--display-settings-datetime-gap: var(--luzmo-spacing-3);--display-settings-datetime-example-height: var(--luzmo-component-height-s);--display-settings-datetime-example-font-size: var(--luzmo-font-size-s)}:host([size=l]){--display-settings-datetime-gap: var(--luzmo-spacing-4);--display-settings-datetime-example-height: var(--luzmo-component-height-l);--display-settings-datetime-example-font-size: var(--luzmo-font-size)}:host([size=xl]){--display-settings-datetime-gap: var(--luzmo-spacing-5);--display-settings-datetime-example-height: var(--luzmo-component-height-xl);--display-settings-datetime-example-font-size: var(--luzmo-font-size-l)}";var v=Object.defineProperty,S=Object.getOwnPropertyDescriptor,r=(u,e,t,o)=>{for(var a=o>1?void 0:o?S(e,t):e,n=u.length-1,_;n>=0;n--)(_=u[n])&&(a=(o?_(e,t,a):_(a))||a);return o&&a&&v(e,t,a),a};exports.LuzmoDisplaySettingsDatetime=class extends p.SizedMixin(y.LuzmoElement,{validSizes:Object.values(p.ElementSizes)}){constructor(){super(...arguments),this._loadLocaleFormatsConfig=new g.h(this,{task:async([e])=>{if(e&&e!==this._contentLanguageLoaded){const t=Object.assign({"../../utils/formatter/formats/cs.ts":()=>Promise.resolve().then(()=>require("../cs-I9E81keK.cjs")),"../../utils/formatter/formats/da.ts":()=>Promise.resolve().then(()=>require("../da-QkdvupDg.cjs")),"../../utils/formatter/formats/de.ts":()=>Promise.resolve().then(()=>require("../de-Dn5mUzha.cjs")),"../../utils/formatter/formats/en-GB.ts":()=>Promise.resolve().then(()=>require("../en-GB-Dd11ROdW.cjs")),"../../utils/formatter/formats/en-US.ts":()=>Promise.resolve().then(()=>D),"../../utils/formatter/formats/en.ts":()=>Promise.resolve().then(()=>F),"../../utils/formatter/formats/es.ts":()=>Promise.resolve().then(()=>require("../es-CwyPlN5d.cjs")),"../../utils/formatter/formats/fi.ts":()=>Promise.resolve().then(()=>require("../fi-rijeZE5V.cjs")),"../../utils/formatter/formats/fr.ts":()=>Promise.resolve().then(()=>require("../fr-BcgE-6S_.cjs")),"../../utils/formatter/formats/he.ts":()=>Promise.resolve().then(()=>require("../he-O6Ih8Bqh.cjs")),"../../utils/formatter/formats/hu.ts":()=>Promise.resolve().then(()=>require("../hu-BnZ8y3xQ.cjs")),"../../utils/formatter/formats/it.ts":()=>Promise.resolve().then(()=>require("../it-PshtLMkq.cjs")),"../../utils/formatter/formats/ja.ts":()=>Promise.resolve().then(()=>require("../ja-KIS2HdaG.cjs")),"../../utils/formatter/formats/ko.ts":()=>Promise.resolve().then(()=>require("../ko--l4qmjLV.cjs")),"../../utils/formatter/formats/mk.ts":()=>Promise.resolve().then(()=>require("../mk-DZlj-edb.cjs")),"../../utils/formatter/formats/nl.ts":()=>Promise.resolve().then(()=>require("../nl-BKlDqOXb.cjs")),"../../utils/formatter/formats/no.ts":()=>Promise.resolve().then(()=>require("../no-D_SzxhTu.cjs")),"../../utils/formatter/formats/pl.ts":()=>Promise.resolve().then(()=>require("../pl-PIK23rK_.cjs")),"../../utils/formatter/formats/pt.ts":()=>Promise.resolve().then(()=>require("../pt-Dqlu4MS5.cjs")),"../../utils/formatter/formats/ru.ts":()=>Promise.resolve().then(()=>require("../ru-zyNDTB04.cjs")),"../../utils/formatter/formats/sv.ts":()=>Promise.resolve().then(()=>require("../sv-1DPTltNQ.cjs")),"../../utils/formatter/formats/tr.ts":()=>Promise.resolve().then(()=>require("../tr-BkmWvOG2.cjs")),"../../utils/formatter/formats/zh-CN.ts":()=>Promise.resolve().then(()=>require("../zh-CN-DTZ4OmdP.cjs")),"../../utils/formatter/formats/zh-TW.ts":()=>Promise.resolve().then(()=>require("../zh-TW-DTZ4OmdP.cjs"))});if(t[`../../utils/formatter/formats/${e}.ts`]){const o=await t[`../../utils/formatter/formats/${e}.ts`]();this._localeFormats=(o==null?void 0:o.default)??{}}return this._contentLanguageLoaded=e,this._localeFormats}},args:()=>[this.contentLanguage]}),this.language="en",this.contentLanguage="en",this.size="m",this.slotContent={},this._dateLevel=5,this._displayAs="default",this._weekStart="monday",this._weekDayAndMonthInYearFormat="long",this._dateFormat="auto",this._dateSeparator="~",this._sendEvent=()=>{this._calculateSlotContent(),this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:this._currentSlotContent}}))}}static get styles(){return[s.r(z)]}_parseSlotContent(){var e,t;this._dateLevel=this.slotContent.level??((e=this.slotContent)==null?void 0:e.lowestLevel)??5,this._displayAs=((t=this.slotContent)==null?void 0:t.datetimeDisplayMode)??"default",this._displayAs==="weekday_number"&&(this._displayAs="day_in_week",this._weekDayAndMonthInYearFormat="number"),this._displayAs==="weekday_name"&&(this._displayAs="day_in_week"),this._displayAs==="month_number"&&(this._displayAs="month_in_year",this._weekDayAndMonthInYearFormat="number"),this._displayAs==="month_name"&&(this._displayAs="month_in_year")}_calculateFormat(){var o;let e;const t=((o=this._localeFormats)==null?void 0:o.smartDateFormats)??m.SMART_DATE_FORMATS;this._monthName?(e=t.filter(a=>a.monthType==="name"&&a.longText===(this._monthNameFormat==="long")&&a.weekday===this._weekDay),e.length>0?this._format=e[0].key:(this._weekDayAndMonthInYearFormat="short",this._weekDay=!0,this._format="%a %e %B %Y")):(e=this._dateLevel&&this._dateLevel===4?t.filter(a=>a.monthType==="number"&&a.mmdd===(this._weekFormat==="mmdd"?!0:this._weekFormat==="ddmm"?!1:null)&&a.separator===this._dateSeparator):t.filter(a=>a.monthType==="number"&&a.mmdd===(this._dateFormat==="mmdd"?!0:this._dateFormat==="ddmm"?!1:null)&&a.separator===this._dateSeparator),this._dateFormat==="auto"&&this._dateLevel&&this._dateLevel!==4?this._format="%amd"+this._dateSeparator+"%Y":e.length>0?this._format=e[0].key:(this._dateFormat="ddmm",this._dateSeparator="/",this._format="%d/%m/%Y")),this._dateLevel&&this._dateLevel>5&&(this._format+=this._24hFormat?" %H:%M:%S.%L":" %I:%M:%S.%L %p")}_setWeekStartsOn(){this._weekStart=this._weekStartElement.value,this._sendEvent(),this.requestUpdate()}_setDisplayAs(){this._displayAs=this._displayAsElement.value,this._sendEvent(),this.requestUpdate()}_setWeekdayAndMonthInYearFormat(){var e;this._weekDayAndMonthInYearFormat=((e=this._weekDayAndMonthInYearFormatElement.selected)==null?void 0:e[0])??"long",this._sendEvent(),this.requestUpdate()}_setMonthNameFormat(){var e;this._monthNameFormat=(e=this._monthNameFormatElement.selected)==null?void 0:e[0],this._sendEvent(),this.requestUpdate()}_setMonthName(){this._monthName=this._monthNameElement.selected,this._sendEvent(),this.requestUpdate()}_setWeekFormat(){var e;this._weekFormat=(e=this._weekFormatElement.selected)==null?void 0:e[0],this._sendEvent(),this.requestUpdate()}_setDateFormat(){this._dateFormat=this._dateFormatElement.value,this._sendEvent(),this.requestUpdate()}_setDateSeparator(){this._dateSeparator=this._dateSeparatorElement.value,this._sendEvent(),this.requestUpdate()}_set24hFormat(){this._24hFormat=this._format24hElement.selected,this._sendEvent(),this.requestUpdate()}_setWeekday(){this._weekDay=this._weekDayElement.selected,this._sendEvent(),this.requestUpdate()}_calculateSlotContent(){this._currentSlotContent={...this.slotContent},this._calculateFormat(),this._currentSlotContent.format=this._format,this._displayAs==="default"?delete this._currentSlotContent.datetimeDisplayMode:(this._currentSlotContent.datetimeDisplayMode=this._displayAs,this._displayAs==="week_in_year"?this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat==="number"?"week_number":"week_name":this._displayAs==="month_in_year"?this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat==="number"?"month_number":"month_name":this._displayAs==="day_in_week"&&(this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat==="number"?"weekday_number":"weekday_name",this._currentSlotContent.weekStart=this._weekStart),this._weekDayAndMonthInYearFormat&&(this._dateLevel===3?this._currentSlotContent.monthNameFormat=this._weekDayAndMonthInYearFormat:this._dateLevel===5&&(this._currentSlotContent.weekDayNameFormat=this._weekDayAndMonthInYearFormat)))}willUpdate(e){e.has("slotContent")&&(this._parseSlotContent(),this._calculateSlotContent()),e.has("language")&&this.language!==i.getLocale()&&([...i.targetLocales].includes(this.language??"en")||this.language==="en")&&i.setLocale(this.language)}_renderDisplaySettings(){var t,o;const e=(o=(t=h.DATETIME_AS_STRING_FORMATS_PER_LEVEL)==null?void 0:t[`level${this._dateLevel??0}`])==null?void 0:o.map(a=>s.x`<luzmo-menu-item value=${a.key}>
|
21
21
|
${a.i18n()}
|
22
22
|
</luzmo-menu-item>`);return s.x`<div class="setting">
|
23
23
|
<luzmo-field-label for="display-as"
|
@@ -119,7 +119,7 @@
|
|
119
119
|
<luzmo-icon
|
120
120
|
slot="icon"
|
121
121
|
.size=${this.size}
|
122
|
-
.icon=${this._monthName?d.
|
122
|
+
.icon=${this._monthName?d.v0:d.z0}
|
123
123
|
></luzmo-icon>
|
124
124
|
${i.msg("Name")}
|
125
125
|
</luzmo-action-button>
|
@@ -170,7 +170,7 @@
|
|
170
170
|
<luzmo-icon
|
171
171
|
slot="icon"
|
172
172
|
.size=${this.size}
|
173
|
-
.icon=${this._24hFormat?d.
|
173
|
+
.icon=${this._24hFormat?d.v0:d.z0}
|
174
174
|
></luzmo-icon>
|
175
175
|
</luzmo-action-button>
|
176
176
|
</div>`}_renderWeekdaySettings(){return s.x`<div class="settings-">
|
@@ -188,7 +188,7 @@
|
|
188
188
|
<luzmo-icon
|
189
189
|
slot="icon"
|
190
190
|
.size=${this.size}
|
191
|
-
.icon=${this._weekDay?d.
|
191
|
+
.icon=${this._weekDay?d.v0:d.z0}
|
192
192
|
></luzmo-icon>
|
193
193
|
${i.msg("Show")}
|
194
194
|
</luzmo-action-button>
|
@@ -17,23 +17,23 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import { h as S } from "../task-
|
20
|
+
import { h as S } from "../task-PQaVY8Iw.js";
|
21
21
|
import "../index-rQxtPaJl.js";
|
22
22
|
import "../index-BHJH1eGn.js";
|
23
23
|
import "../index-CsDgk_sj.js";
|
24
24
|
import "../index-BC1LV3vH.js";
|
25
25
|
import "../index-Desl7GJ0.js";
|
26
|
-
import "../index-
|
26
|
+
import "../index-sCesmw8l.js";
|
27
27
|
import "../index-C3N6qTxJ.js";
|
28
|
-
import { r as k, x as a, n as d } from "../property-
|
29
|
-
import { m as i, g as x, t as w, s as F } from "../set-locale-
|
30
|
-
import { l as $ } from "../localized-decorator-
|
31
|
-
import {
|
28
|
+
import { r as k, x as a, n as d } from "../property-Dn4zSyxu.js";
|
29
|
+
import { m as i, g as x, t as w, s as F } from "../set-locale-DbEAMqUs.js";
|
30
|
+
import { l as $ } from "../localized-decorator-DNr1P1m0.js";
|
31
|
+
import { v as p, z as c } from "../luzmo-icons-DEoJcvoL.js";
|
32
32
|
import { S as _, f, D as v } from "../formatter-CQDms6fU.js";
|
33
|
-
import { a as A, b as
|
33
|
+
import { a as A, b as z, W as g } from "../periods.const-C89NNRX-.js";
|
34
34
|
import { e as n } from "../query-Ddbd72Um.js";
|
35
|
-
import { L } from "../focusable-
|
36
|
-
import { S as D, E } from "../sized-mixin-
|
35
|
+
import { L } from "../focusable-BXhQz3_k.js";
|
36
|
+
import { S as D, E } from "../sized-mixin-BR_Ii7le.js";
|
37
37
|
const b = () => {
|
38
38
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
39
39
|
const t = document.createElement("style");
|
@@ -190,9 +190,9 @@ let r = class extends D(L, {
|
|
190
190
|
}
|
191
191
|
_renderWeekDayAndMonthNameFormatSettings() {
|
192
192
|
const t = Object.keys(
|
193
|
-
|
193
|
+
z
|
194
194
|
).map((e) => a`<luzmo-action-button value=${e}>
|
195
|
-
${
|
195
|
+
${z[e]()}
|
196
196
|
</luzmo-action-button>`);
|
197
197
|
return a` <div class="setting">
|
198
198
|
<luzmo-field-label for="weekday-and-month-in-year-format"
|
@@ -290,9 +290,9 @@ let r = class extends D(L, {
|
|
290
290
|
</div>`;
|
291
291
|
}
|
292
292
|
_renderWeekStartsOnSettings() {
|
293
|
-
const t = Object.keys(
|
293
|
+
const t = Object.keys(g).map(
|
294
294
|
(e) => a`<luzmo-menu-item value=${e}>
|
295
|
-
${
|
295
|
+
${g[e]()}
|
296
296
|
</luzmo-menu-item>`
|
297
297
|
);
|
298
298
|
return a`<div class="setting">
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-C2PPSv8E.cjs");require("../index-j8UKjHqY.cjs");require("../index-DSQyBS9Z.cjs");const l=require("../property-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-C2PPSv8E.cjs");require("../index-j8UKjHqY.cjs");require("../index-DSQyBS9Z.cjs");const l=require("../property-BCb4Kybn.cjs"),n=require("../set-locale-Cam8nRIW.cjs"),c=require("../localized-decorator-SOrjcPab.cjs"),g=require("../luzmo-icons-DAsjNJNI.cjs"),p=require("../state-BxZEcclm.cjs"),m=require("../if-defined-Bulnuz1A.cjs"),z=require("../focusable-BTJYY_Mf.cjs"),u=require("../sized-mixin-BNtmplgF.cjs"),h=":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-grand-totals-gap, var(--display-settings-grand-totals-gap))}:host{--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=s]){--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=l]){--display-settings-grand-totals-gap: var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-grand-totals-gap: var(--luzmo-spacing-5)}";var b=Object.defineProperty,v=Object.getOwnPropertyDescriptor,i=(o,t,a,e)=>{for(var s=e>1?void 0:e?v(t,a):t,r=o.length-1,d;r>=0;r--)(d=o[r])&&(s=(e?d(t,a,s):d(s))||s);return e&&s&&b(t,a,s),s};exports.LuzmoDisplaySettingsGrandTotals=class extends u.SizedMixin(z.LuzmoElement,{validSizes:Object.values(u.ElementSizes)}){constructor(){super(...arguments),this.language="en",this.slotContent={}}static get styles(){return[l.r(h)]}willUpdate(t){var a,e;t.has("slotContent")&&(this._enabled=((e=(a=this.slotContent)==null?void 0:a.grandTotals)==null?void 0:e.enabled)??!1),t.has("language")&&this.language!==n.getLocale()&&([...n.targetLocales].includes(this.language??"en")||this.language==="en")&&n.setLocale(this.language)}toggleGrandTotals(){this._enabled=!this._enabled,this.sendEvent()}sendEvent(){const t={enabled:!!this._enabled};this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this.slotContent,grandTotals:t}}}))}render(){return l.x`<div class="settings-container">
|
21
21
|
<div class="settings-row">
|
22
22
|
<div class="setting">
|
23
23
|
<luzmo-field-label for="grand-totals"
|
@@ -35,7 +35,7 @@
|
|
35
35
|
<luzmo-icon
|
36
36
|
slot="icon"
|
37
37
|
.size=${this.size}
|
38
|
-
.icon=${this._enabled?g.
|
38
|
+
.icon=${this._enabled?g.v0:g.z0}
|
39
39
|
></luzmo-icon>
|
40
40
|
${this._enabled?n.msg("Enabled",{desc:"Option set to enabled"}):n.msg("Disabled",{desc:"Option set to disabled"})}
|
41
41
|
</luzmo-action-button>
|
@@ -20,14 +20,14 @@
|
|
20
20
|
import "../index-rQxtPaJl.js";
|
21
21
|
import "../index-CsDgk_sj.js";
|
22
22
|
import "../index-BC1LV3vH.js";
|
23
|
-
import { r as d, x as z, n as m } from "../property-
|
24
|
-
import { g, t as p, s as b, m as u } from "../set-locale-
|
25
|
-
import { l as f } from "../localized-decorator-
|
26
|
-
import {
|
27
|
-
import { r as x } from "../state-
|
28
|
-
import { o as y } from "../if-defined-
|
29
|
-
import { L as w } from "../focusable-
|
30
|
-
import { S as
|
23
|
+
import { r as d, x as z, n as m } from "../property-Dn4zSyxu.js";
|
24
|
+
import { g, t as p, s as b, m as u } from "../set-locale-DbEAMqUs.js";
|
25
|
+
import { l as f } from "../localized-decorator-DNr1P1m0.js";
|
26
|
+
import { v as h, z as v } from "../luzmo-icons-DEoJcvoL.js";
|
27
|
+
import { r as x } from "../state-vVJlsarL.js";
|
28
|
+
import { o as y } from "../if-defined-CTc4c9nr.js";
|
29
|
+
import { L as w } from "../focusable-BXhQz3_k.js";
|
30
|
+
import { S as _, E as C } from "../sized-mixin-BR_Ii7le.js";
|
31
31
|
const c = () => {
|
32
32
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
33
33
|
const o = document.createElement("style");
|
@@ -41,8 +41,8 @@ var S = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, a = (o, l, t
|
|
41
41
|
(i = o[n]) && (e = (s ? i(l, t, e) : i(e)) || e);
|
42
42
|
return s && e && S(l, t, e), e;
|
43
43
|
};
|
44
|
-
let r = class extends
|
45
|
-
validSizes: Object.values(
|
44
|
+
let r = class extends _(w, {
|
45
|
+
validSizes: Object.values(C)
|
46
46
|
}) {
|
47
47
|
constructor() {
|
48
48
|
super(...arguments), this.language = "en", this.slotContent = {};
|