@luzmo/analytics-components-kit 1.0.1-alpha.35 → 1.0.1-alpha.36
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/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +3 -3
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +2 -2
- package/components/draggable-data-item-level/index.cjs +1 -1
- package/components/draggable-data-item-level/index.js +1 -1
- package/components/droppable-slot/index.cjs +1 -1
- package/components/droppable-slot/index.js +1 -1
- package/components/edit-option-action-button-group/index.cjs +1 -1
- package/components/edit-option-action-button-group/index.js +1 -1
- package/components/{edit-option-base-Brji81Gq.js → edit-option-base-BHvx3Mlq.js} +1 -1
- package/components/{edit-option-base-DDvWhumg.cjs → edit-option-base-J7XNb_vp.cjs} +1 -1
- package/components/edit-option-color-picker/index.cjs +49 -65
- package/components/edit-option-color-picker/index.js +4533 -1376
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +1 -1
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +1 -1
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +3 -3
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +1 -1
- package/components/edit-option-positions-number-field/index.cjs +1 -1
- package/components/edit-option-positions-number-field/index.js +1 -1
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +1 -1
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +1 -1
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +1 -1
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +1 -1
- package/components/filter-data-item-picker/index.cjs +1 -1
- package/components/filter-data-item-picker/index.js +2 -2
- 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 +1 -1
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -1
- package/components/filter-value-picker-datetime/index.cjs +7 -7
- package/components/filter-value-picker-datetime/index.js +3 -3
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -1
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +1 -1
- package/components/{index-C2TAa6lH.cjs → index-B4EIbvuW.cjs} +7 -7
- package/components/{index-D7LSPBqz.js → index-BFPa6sJd.js} +1 -1
- package/components/{index-C0rOztJP.cjs → index-BhpqKmwq.cjs} +1 -1
- package/components/{index-CYqSw2_J.cjs → index-CRYEL3MP.cjs} +1 -1
- package/components/{index-B888fnYx.cjs → index-CTaPKPdt.cjs} +1 -1
- package/components/{index-PfWxaas9.cjs → index-Cltytvm7.cjs} +3 -3
- package/components/{index-b3FPYSZk.js → index-CoZF4QUN.js} +2 -2
- package/components/{index-Cbm8MFTj.js → index-CpQnVCVV.js} +4 -4
- package/components/{index-DbPlCKPI.cjs → index-D07V2c7z.cjs} +1 -1
- package/components/{index-C8XzR0jl.js → index-DfTZDl-O.js} +3 -3
- package/components/{index-Rydj3Txs.js → index-Dh6CgbzT.js} +51 -52
- package/components/{index-Dj9-40eZ.js → index-Y9hjNorm.js} +3 -3
- package/components/index.cjs +1 -1
- package/components/index.js +1 -1
- package/components/{pending-state-DTX7ggyF-qbk3sPcq.js → pending-state-DTX7ggyF-B_9VbFxI.js} +2 -2
- package/components/{pending-state-DTX7ggyF-B5ihSygL.cjs → pending-state-DTX7ggyF-C_go9EJh.cjs} +1 -1
- package/package.json +1 -1
@@ -26,9 +26,9 @@ import { n as I } from "./element-resolution-FCUT-wql--7ctE626.js";
|
|
26
26
|
import { b as M, y as R, a as D } from "./observe-slot-text-BPfIQQtz-v6B-1BYh.js";
|
27
27
|
import { r as O } from "./focusable-BxtpnzWp-DJQkL8Zv.js";
|
28
28
|
import { b as P } from "./observe-slot-presence-CmVi0zTc-DCFuXW7v.js";
|
29
|
-
import { a as U } from "./index-
|
29
|
+
import { a as U } from "./index-BFPa6sJd.js";
|
30
30
|
import { D as y, z as L, Z as $ } from "./luzmo-icons-DbwDQtuO-QG0fLECn.js";
|
31
|
-
import { o as T } from "./index-
|
31
|
+
import { o as T } from "./index-Dh6CgbzT.js";
|
32
32
|
/*! * Lucero - The design system for Luzmo.
|
33
33
|
*
|
34
34
|
* Copyright © 2025 Luzmo
|
@@ -704,7 +704,7 @@ class s extends M(
|
|
704
704
|
@focusin=${(t) => t.stopPropagation()}
|
705
705
|
></slot>
|
706
706
|
`;
|
707
|
-
return this.hasSubmenu ? (this.dependencyManager.add("luzmo-overlay"), this.dependencyManager.add("luzmo-popover"), import("./index-
|
707
|
+
return this.hasSubmenu ? (this.dependencyManager.add("luzmo-overlay"), this.dependencyManager.add("luzmo-popover"), import("./index-Dh6CgbzT.js").then((t) => t.b).then((t) => t.f), import("./popover-DjX0aAnY-B_ujTfos.js"), d`
|
708
708
|
<luzmo-overlay
|
709
709
|
.triggerElement=${this}
|
710
710
|
?disabled=${!this.hasSubmenu}
|
@@ -21,7 +21,7 @@ import { v as Ne, o as Be, R as j, a as ve, I as ye, z as w, d as be, w as we }
|
|
21
21
|
import { _ as It, $ as qe, s as _e, n as ft } from "./directive-helpers-Cm6gitnu-CeYtlPO9.js";
|
22
22
|
import { m as Ft, d as vt } from "./if-defined-DOaE2coe-CNT45Xcl.js";
|
23
23
|
import { d as He, n as Mt, h as Ie, u as Bt } from "./element-resolution-FCUT-wql--7ctE626.js";
|
24
|
-
import { t as yt } from "./index-
|
24
|
+
import { t as yt } from "./index-BFPa6sJd.js";
|
25
25
|
import { c as le, a as Me, w as We, C as Ue } from "./async-directive-BfcqVjDp-BCT-lA4F.js";
|
26
26
|
/*! * Lucero - The design system for Luzmo.
|
27
27
|
*
|
@@ -175,10 +175,10 @@ const Ge = (e, t, {
|
|
175
175
|
return function() {
|
176
176
|
return Ke(r, e, a);
|
177
177
|
};
|
178
|
-
},
|
179
|
-
class
|
178
|
+
}, Je = 1e3, Xe = 1e3;
|
179
|
+
class Ze {
|
180
180
|
constructor(t = {}) {
|
181
|
-
this.warmUpDelay =
|
181
|
+
this.warmUpDelay = Je, this.coolDownDelay = Xe, this.isWarm = !1, this.timeout = 0, Object.assign(this, t);
|
182
182
|
}
|
183
183
|
openTimer(t) {
|
184
184
|
if (this.cancelCooldownTimer(), !this.component || t !== this.component)
|
@@ -203,7 +203,7 @@ class Ye {
|
|
203
203
|
this.cooldownTimeout && window.clearTimeout(this.cooldownTimeout), delete this.cooldownTimeout;
|
204
204
|
}
|
205
205
|
}
|
206
|
-
const lt = new
|
206
|
+
const lt = new Ze(), V = () => {
|
207
207
|
}, bt = (e, t, n) => {
|
208
208
|
const o = new AbortController(), i = /* @__PURE__ */ new Map(), s = () => {
|
209
209
|
o.abort(), n();
|
@@ -237,7 +237,7 @@ const lt = new Ye(), V = () => {
|
|
237
237
|
function k() {
|
238
238
|
return new Promise((e) => requestAnimationFrame(() => e()));
|
239
239
|
}
|
240
|
-
class
|
240
|
+
class Z extends ye {
|
241
241
|
constructor() {
|
242
242
|
super(...arguments), this.dispose = V, this.offset = 0, this.willPreventClose = !1;
|
243
243
|
}
|
@@ -333,7 +333,7 @@ class Y extends ye {
|
|
333
333
|
}), r.open = !1, r.dispose = V;
|
334
334
|
}, !s && l && i) {
|
335
335
|
const d = t, p = n, u = i;
|
336
|
-
return
|
336
|
+
return Z.applyOptions(r, {
|
337
337
|
...u,
|
338
338
|
delayed: u.delayed || l.hasAttribute("delayed"),
|
339
339
|
trigger: u.virtualTrigger || d,
|
@@ -341,7 +341,7 @@ class Y extends ye {
|
|
341
341
|
}), d.after(r), await r.updateComplete, r.open = !0, r.dispose;
|
342
342
|
}
|
343
343
|
const h = n;
|
344
|
-
return r.append(l),
|
344
|
+
return r.append(l), Z.applyOptions(r, {
|
345
345
|
...h,
|
346
346
|
delayed: h.delayed || l.hasAttribute("delayed")
|
347
347
|
}), r.updateComplete.then(() => {
|
@@ -391,7 +391,7 @@ class ct {
|
|
391
391
|
this.x = 0, this.y = 0, this.x = t, this.y = n;
|
392
392
|
}
|
393
393
|
updateBoundingClientRect(t, n) {
|
394
|
-
this.x = t, this.y = n,
|
394
|
+
this.x = t, this.y = n, Z.update();
|
395
395
|
}
|
396
396
|
getBoundingClientRect() {
|
397
397
|
return {
|
@@ -409,7 +409,7 @@ class ct {
|
|
409
409
|
};
|
410
410
|
}
|
411
411
|
}
|
412
|
-
function
|
412
|
+
function Ye(e) {
|
413
413
|
class t extends e {
|
414
414
|
async manageDialogOpen() {
|
415
415
|
const o = this.open;
|
@@ -798,7 +798,7 @@ class no {
|
|
798
798
|
this.closeOverlay(t);
|
799
799
|
}
|
800
800
|
}
|
801
|
-
const he = new no(), io = ':host{display:contents;pointer-events:none;--luzmo-overlay-animation-distance: .5rem}:host(:has(> luzmo-tooltip)){--luzmo-overlay-animation-distance: var( --luzmo-tooltip-animation-distance, 4px )}.dialog{margin:0;border:0;background:none;padding:0;position:fixed;overflow:visible;opacity:1!important;box-sizing:border-box;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);max-width:calc(100vw - 16px);height:auto;inset:auto;top:0;left:0;display:flex;--luzmo-overlay-open: true}.dialog:not([is-visible]){display:none}.dialog:focus{outline:none}dialog:modal{--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}:host(:not([open])) .dialog{--luzmo-overlay-open: false}.dialog::backdrop{display:none}.dialog:before{position:absolute;top:-999em;right:-999em;bottom:-999em;left:-999em;content:"";pointer-events:auto!important}.dialog:not(.not-immediately-closable):before{display:none}.dialog>div{width:100%}::slotted(*){pointer-events:auto;visibility:visible!important}::slotted(luzmo-popover){position:static}.dialog:not([actual-placement])[placement*=top]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:var(--luzmo-overlay-animation-distance)}.dialog:not([actual-placement])[placement*=right]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog:not([actual-placement])[placement*=bottom]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog:not([actual-placement])[placement*=left]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:var(--luzmo-overlay-animation-distance)}.dialog[actual-placement*=top]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:var(--luzmo-overlay-animation-distance)}.dialog[actual-placement*=right]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog[actual-placement*=bottom]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog[actual-placement*=left]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:var(--luzmo-overlay-animation-distance)}slot[name=longpress-describedby-descriptor]{display:none}@supports selector(:open){.dialog{opacity:0}.dialog:open{opacity:1;--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}}@supports selector(:popover-open){.dialog{opacity:0}.dialog:popover-open{opacity:1;--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}}@supports (overlay: auto){.dialog{display:none;transition:all var(--luzmo-overlay-animation-duration, .13s),translate 0s,display var(--luzmo-overlay-animation-duration, .13s);transition-behavior:allow-discrete}.dialog:popover-open,.dialog:modal{display:flex}}@supports (not selector(:open)) and (not selector(:popover-open)){:host:not([open]) .dialog{pointer-events:none}.dialog[actual-placement]{z-index:calc(var(--luzmo-overlay-z-index-base, 1000) + var(--luzmo-overlay-open-count))}}',
|
801
|
+
const he = new no(), io = ':host{display:contents;pointer-events:none;--luzmo-overlay-animation-distance: .5rem}:host(:has(> luzmo-tooltip)){--luzmo-overlay-animation-distance: var( --luzmo-tooltip-animation-distance, 4px )}.dialog{margin:0;border:0;background:none;padding:0;position:fixed;overflow:visible;opacity:1!important;box-sizing:border-box;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);max-width:calc(100vw - 16px);height:auto;inset:auto;top:0;left:0;display:flex;--luzmo-overlay-open: true}.dialog:not([is-visible]){display:none}.dialog:focus{outline:none}dialog:modal{--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}:host(:not([open])) .dialog{--luzmo-overlay-open: false}.dialog::backdrop{display:none}.dialog:before{position:absolute;top:-999em;right:-999em;bottom:-999em;left:-999em;content:"";pointer-events:auto!important}.dialog:not(.not-immediately-closable):before{display:none}.dialog>div{width:100%}::slotted(*){pointer-events:auto;visibility:visible!important}::slotted(luzmo-popover){position:static}.dialog:not([actual-placement])[placement*=top]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:var(--luzmo-overlay-animation-distance)}.dialog:not([actual-placement])[placement*=right]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog:not([actual-placement])[placement*=bottom]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog:not([actual-placement])[placement*=left]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:var(--luzmo-overlay-animation-distance)}.dialog[actual-placement*=top]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:var(--luzmo-overlay-animation-distance)}.dialog[actual-placement*=right]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog[actual-placement*=bottom]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog[actual-placement*=left]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:var(--luzmo-overlay-animation-distance)}slot[name=longpress-describedby-descriptor]{display:none}@supports selector(:open){.dialog{opacity:0}.dialog:open{opacity:1;--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}}@supports selector(:popover-open){.dialog{opacity:0}.dialog:popover-open{opacity:1;--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}}@supports (overlay: auto){.dialog{display:none;transition:all var(--luzmo-overlay-animation-duration, .13s),translate 0s,display var(--luzmo-overlay-animation-duration, .13s);transition-behavior:allow-discrete}.dialog:popover-open,.dialog:modal{display:flex}}@supports (not selector(:open)) and (not selector(:popover-open)){:host:not([open]) .dialog{pointer-events:none}.dialog[actual-placement]{z-index:calc(var(--luzmo-overlay-z-index-base, 1000) + var(--luzmo-overlay-open-count))}}', Y = Math.min, L = Math.max, Tt = Math.round, zt = Math.floor, H = (e) => ({
|
802
802
|
x: e,
|
803
803
|
y: e
|
804
804
|
}), so = {
|
@@ -811,7 +811,7 @@ const he = new no(), io = ':host{display:contents;pointer-events:none;--luzmo-ov
|
|
811
811
|
end: "start"
|
812
812
|
};
|
813
813
|
function qt(e, t, n) {
|
814
|
-
return L(e,
|
814
|
+
return L(e, Y(t, n));
|
815
815
|
}
|
816
816
|
function ht(e, t) {
|
817
817
|
return typeof e == "function" ? e(t) : e;
|
@@ -1012,7 +1012,7 @@ const po = async (e, t, n) => {
|
|
1012
1012
|
middlewareData: u
|
1013
1013
|
};
|
1014
1014
|
};
|
1015
|
-
async function
|
1015
|
+
async function Jt(e, t) {
|
1016
1016
|
var n;
|
1017
1017
|
t === void 0 && (t = {});
|
1018
1018
|
const {
|
@@ -1081,7 +1081,7 @@ const mo = (e) => ({
|
|
1081
1081
|
}, u = Gt(i), m = Kt(u), g = await l.getDimensions(c), f = u === "y", v = f ? "top" : "left", y = f ? "bottom" : "right", b = f ? "clientHeight" : "clientWidth", x = s.reference[m] + s.reference[u] - p[u] - s.floating[m], z = p[u] - s.reference[u], S = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(c));
|
1082
1082
|
let A = S ? S[b] : 0;
|
1083
1083
|
(!A || !await (l.isElement == null ? void 0 : l.isElement(S))) && (A = r.floating[b] || s.floating[m]);
|
1084
|
-
const W = x / 2 - z / 2, B = A / 2 - g[m] / 2 - 1, $ =
|
1084
|
+
const W = x / 2 - z / 2, B = A / 2 - g[m] / 2 - 1, $ = Y(d[v], B), K = Y(d[y], B), q = $, G = A - g[m] - K, O = A / 2 - g[m] / 2 + W, it = qt(q, O, G), U = !a.arrow && dt(i) != null && O !== it && s.reference[m] / 2 - (O < q ? $ : K) - g[m] / 2 < 0, _ = U ? O < q ? O - q : O - G : 0;
|
1085
1085
|
return {
|
1086
1086
|
[u]: p[u] + _,
|
1087
1087
|
data: {
|
@@ -1120,7 +1120,7 @@ const mo = (e) => ({
|
|
1120
1120
|
return {};
|
1121
1121
|
const v = Q(i), y = ot(r), b = Q(r) === r, x = await (a.isRTL == null ? void 0 : a.isRTL(c.floating)), z = p || (b || !g ? [kt(r)] : ao(r)), S = m !== "none";
|
1122
1122
|
!p && S && z.push(...ho(r, g, m, x));
|
1123
|
-
const A = [r, ...z], W = await
|
1123
|
+
const A = [r, ...z], W = await Jt(t, f), B = [];
|
1124
1124
|
let $ = ((o = s.flip) == null ? void 0 : o.overflows) || [];
|
1125
1125
|
if (h && B.push(W[v]), d) {
|
1126
1126
|
const O = lo(i, l, x);
|
@@ -1142,20 +1142,20 @@ const mo = (e) => ({
|
|
1142
1142
|
placement: it
|
1143
1143
|
}
|
1144
1144
|
};
|
1145
|
-
let U = (q = $.filter((_) => _.overflows[0] <= 0).sort((_,
|
1145
|
+
let U = (q = $.filter((_) => _.overflows[0] <= 0).sort((_, J) => _.overflows[1] - J.overflows[1])[0]) == null ? void 0 : q.placement;
|
1146
1146
|
if (!U)
|
1147
1147
|
switch (u) {
|
1148
1148
|
case "bestFit": {
|
1149
1149
|
var G;
|
1150
|
-
const _ = (G = $.filter((
|
1150
|
+
const _ = (G = $.filter((J) => {
|
1151
1151
|
if (S) {
|
1152
|
-
const
|
1153
|
-
return
|
1152
|
+
const X = ot(J.placement);
|
1153
|
+
return X === y || // Create a bias to the `y` side axis due to horizontal
|
1154
1154
|
// reading directions favoring greater width.
|
1155
|
-
|
1155
|
+
X === "y";
|
1156
1156
|
}
|
1157
1157
|
return !0;
|
1158
|
-
}).map((
|
1158
|
+
}).map((J) => [J.placement, J.overflows.filter((X) => X > 0).reduce((X, Fe) => X + Fe, 0)]).sort((J, X) => J[1] - X[1])[0]) == null ? void 0 : G[0];
|
1159
1159
|
_ && (U = _);
|
1160
1160
|
break;
|
1161
1161
|
}
|
@@ -1251,7 +1251,7 @@ const vo = function(e) {
|
|
1251
1251
|
} = ht(e, t), c = {
|
1252
1252
|
x: n,
|
1253
1253
|
y: o
|
1254
|
-
}, h = await
|
1254
|
+
}, h = await Jt(t, a), d = ot(Q(i)), p = ze(d);
|
1255
1255
|
let u = c[p], m = c[d];
|
1256
1256
|
if (s) {
|
1257
1257
|
const f = p === "y" ? "top" : "left", v = p === "y" ? "bottom" : "right", y = u + h[f], b = u - h[v];
|
@@ -1294,13 +1294,13 @@ const vo = function(e) {
|
|
1294
1294
|
apply: a = () => {
|
1295
1295
|
},
|
1296
1296
|
...c
|
1297
|
-
} = ht(e, t), h = await
|
1297
|
+
} = ht(e, t), h = await Jt(t, c), d = Q(i), p = dt(i), u = ot(i) === "y", {
|
1298
1298
|
width: m,
|
1299
1299
|
height: g
|
1300
1300
|
} = s.floating;
|
1301
1301
|
let f, v;
|
1302
1302
|
d === "top" || d === "bottom" ? (f = d, v = p === (await (l.isRTL == null ? void 0 : l.isRTL(r.floating)) ? "start" : "end") ? "left" : "right") : (v = d, f = p === "end" ? "top" : "bottom");
|
1303
|
-
const y = g - h.top - h.bottom, b = m - h.left - h.right, x =
|
1303
|
+
const y = g - h.top - h.bottom, b = m - h.left - h.right, x = Y(g - h[f], y), z = Y(m - h[v], b), S = !t.middlewareData.shift;
|
1304
1304
|
let A = x, W = z;
|
1305
1305
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (W = b), (o = t.middlewareData.shift) != null && o.enabled.y && (A = y), S && !p) {
|
1306
1306
|
const $ = L(h.left, 0), K = L(h.right, 0), q = L(h.top, 0), G = L(h.bottom, 0);
|
@@ -1367,14 +1367,14 @@ function $t(e) {
|
|
1367
1367
|
}
|
1368
1368
|
});
|
1369
1369
|
}
|
1370
|
-
function
|
1371
|
-
const t =
|
1370
|
+
function Xt(e) {
|
1371
|
+
const t = Zt(), n = F(e) ? N(e) : e;
|
1372
1372
|
return ["transform", "translate", "scale", "rotate", "perspective"].some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
|
1373
1373
|
}
|
1374
1374
|
function xo(e) {
|
1375
1375
|
let t = tt(e);
|
1376
1376
|
for (; I(t) && !at(t); ) {
|
1377
|
-
if (
|
1377
|
+
if (Xt(t))
|
1378
1378
|
return t;
|
1379
1379
|
if ($t(t))
|
1380
1380
|
return null;
|
@@ -1382,7 +1382,7 @@ function xo(e) {
|
|
1382
1382
|
}
|
1383
1383
|
return null;
|
1384
1384
|
}
|
1385
|
-
function
|
1385
|
+
function Zt() {
|
1386
1386
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
1387
1387
|
}
|
1388
1388
|
function at(e) {
|
@@ -1439,11 +1439,11 @@ function Te(e) {
|
|
1439
1439
|
$: r
|
1440
1440
|
};
|
1441
1441
|
}
|
1442
|
-
function
|
1442
|
+
function Yt(e) {
|
1443
1443
|
return F(e) ? e : e.contextElement;
|
1444
1444
|
}
|
1445
1445
|
function rt(e) {
|
1446
|
-
const t =
|
1446
|
+
const t = Yt(e);
|
1447
1447
|
if (!I(t))
|
1448
1448
|
return H(1);
|
1449
1449
|
const n = t.getBoundingClientRect(), {
|
@@ -1460,7 +1460,7 @@ function rt(e) {
|
|
1460
1460
|
const Eo = /* @__PURE__ */ H(0);
|
1461
1461
|
function ke(e) {
|
1462
1462
|
const t = R(e);
|
1463
|
-
return !
|
1463
|
+
return !Zt() || !t.visualViewport ? Eo : {
|
1464
1464
|
x: t.visualViewport.offsetLeft,
|
1465
1465
|
y: t.visualViewport.offsetTop
|
1466
1466
|
};
|
@@ -1470,7 +1470,7 @@ function zo(e, t, n) {
|
|
1470
1470
|
}
|
1471
1471
|
function nt(e, t, n, o) {
|
1472
1472
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
1473
|
-
const i = e.getBoundingClientRect(), s =
|
1473
|
+
const i = e.getBoundingClientRect(), s = Yt(e);
|
1474
1474
|
let l = H(1);
|
1475
1475
|
t && (o ? F(o) && (l = rt(o)) : l = rt(e));
|
1476
1476
|
const r = zo(s, n, o) ? ke(s) : H(0);
|
@@ -1551,7 +1551,7 @@ function To(e, t) {
|
|
1551
1551
|
let s = o.clientWidth, l = o.clientHeight, r = 0, a = 0;
|
1552
1552
|
if (i) {
|
1553
1553
|
s = i.width, l = i.height;
|
1554
|
-
const c =
|
1554
|
+
const c = Zt();
|
1555
1555
|
(!c || c && t === "fixed") && (r = i.offsetLeft, a = i.offsetTop);
|
1556
1556
|
}
|
1557
1557
|
return {
|
@@ -1601,7 +1601,7 @@ function So(e, t) {
|
|
1601
1601
|
const s = N(e).position === "fixed";
|
1602
1602
|
let l = s ? tt(e) : e;
|
1603
1603
|
for (; F(l) && !at(l); ) {
|
1604
|
-
const r = N(l), a =
|
1604
|
+
const r = N(l), a = Xt(l);
|
1605
1605
|
!a && r.position === "fixed" && (i = null), (s ? !a && !i : !a && r.position === "static" && i && ["absolute", "fixed"].includes(i.position) || wt(l) && !a && Le(e, l)) ? o = o.filter((c) => c !== l) : i = r, l = tt(l);
|
1606
1606
|
}
|
1607
1607
|
return t.set(e, o), o;
|
@@ -1615,7 +1615,7 @@ function Lo(e) {
|
|
1615
1615
|
} = e;
|
1616
1616
|
const s = [...n === "clippingAncestors" ? $t(t) ? [] : So(t, this._c) : [].concat(n), o], l = s[0], r = s.reduce((a, c) => {
|
1617
1617
|
const h = pe(t, c, i);
|
1618
|
-
return a.top = L(h.top, a.top), a.right =
|
1618
|
+
return a.top = L(h.top, a.top), a.right = Y(h.right, a.right), a.bottom = Y(h.bottom, a.bottom), a.left = L(h.left, a.left), a;
|
1619
1619
|
}, pe(t, l, i));
|
1620
1620
|
return {
|
1621
1621
|
width: r.right - r.left,
|
@@ -1681,7 +1681,7 @@ function Re(e, t) {
|
|
1681
1681
|
let o = me(e, t);
|
1682
1682
|
for (; o && wo(o) && Nt(o); )
|
1683
1683
|
o = me(o, t);
|
1684
|
-
return o && at(o) && Nt(o) && !
|
1684
|
+
return o && at(o) && Nt(o) && !Xt(o) ? n : o || xo(e) || n;
|
1685
1685
|
}
|
1686
1686
|
const $o = async function(e) {
|
1687
1687
|
const t = this.getOffsetParent || Re, n = this.getDimensions, o = await n(e.floating);
|
@@ -1732,7 +1732,7 @@ function No(e, t) {
|
|
1732
1732
|
return;
|
1733
1733
|
const m = zt(d), g = zt(i.clientWidth - (h + p)), f = zt(i.clientHeight - (d + u)), v = zt(h), y = {
|
1734
1734
|
rootMargin: -m + "px " + -g + "px " + -f + "px " + -v + "px",
|
1735
|
-
threshold: L(0,
|
1735
|
+
threshold: L(0, Y(1, a)) || 1
|
1736
1736
|
};
|
1737
1737
|
let b = !0;
|
1738
1738
|
function x(z) {
|
@@ -1767,7 +1767,7 @@ function ge(e, t, n, o) {
|
|
1767
1767
|
elementResize: l = typeof ResizeObserver == "function",
|
1768
1768
|
layoutShift: r = typeof IntersectionObserver == "function",
|
1769
1769
|
animationFrame: a = !1
|
1770
|
-
} = o, c =
|
1770
|
+
} = o, c = Yt(e), h = i || s ? [...c ? mt(c) : [], ...mt(t)] : [];
|
1771
1771
|
h.forEach((v) => {
|
1772
1772
|
i && v.addEventListener("scroll", n, {
|
1773
1773
|
passive: !0
|
@@ -2305,7 +2305,7 @@ var Vo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, P = (e, t,
|
|
2305
2305
|
return o && i && Vo(t, n, i), i;
|
2306
2306
|
};
|
2307
2307
|
const Go = "showPopover" in document.createElement("div");
|
2308
|
-
let Pt =
|
2308
|
+
let Pt = Ye(Z);
|
2309
2309
|
Pt = Go ? eo(Pt) : Qe(Pt);
|
2310
2310
|
var st;
|
2311
2311
|
const C = (st = class extends Pt {
|
@@ -2318,8 +2318,7 @@ const C = (st = class extends Pt {
|
|
2318
2318
|
composed: !0
|
2319
2319
|
});
|
2320
2320
|
e.relatedTarget.addEventListener(t.type, (n) => {
|
2321
|
-
|
2322
|
-
console.log("isWithinOverlay", e, n, i, o, this), i || (this.open = !1);
|
2321
|
+
n.composedPath().includes(this) || (this.open = !1);
|
2323
2322
|
}), e.relatedTarget.dispatchEvent(t);
|
2324
2323
|
};
|
2325
2324
|
}
|
@@ -2845,7 +2844,7 @@ const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2845
2844
|
C: ee,
|
2846
2845
|
H: oe,
|
2847
2846
|
I: et,
|
2848
|
-
L:
|
2847
|
+
L: Z,
|
2849
2848
|
P: te,
|
2850
2849
|
S: pt,
|
2851
2850
|
V: ct,
|
@@ -2879,25 +2878,25 @@ const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2879
2878
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
2880
2879
|
* SOFTWARE.
|
2881
2880
|
* */
|
2882
|
-
const
|
2881
|
+
const Jo = () => {
|
2883
2882
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
2884
2883
|
const e = document.createElement("style");
|
2885
2884
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-disabled-color);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(e);
|
2886
2885
|
}
|
2887
2886
|
};
|
2888
|
-
|
2889
|
-
const
|
2890
|
-
var
|
2887
|
+
Jo();
|
2888
|
+
const Xo = ":host([disabled]) ::slotted([slot=trigger]){pointer-events:none}slot[name=longpress-describedby-descriptor]{display:none}";
|
2889
|
+
var Zo = Object.defineProperty, T = (e, t, n, o) => {
|
2891
2890
|
for (var i = void 0, s = e.length - 1, l; s >= 0; s--)
|
2892
2891
|
(l = e[s]) && (i = l(t, n, i) || i);
|
2893
|
-
return i &&
|
2892
|
+
return i && Zo(t, n, i), i;
|
2894
2893
|
};
|
2895
2894
|
class E extends ye {
|
2896
2895
|
constructor() {
|
2897
2896
|
super(...arguments), this.content = "click hover longpress", this.offset = 6, this.disabled = !1, this.receivesFocus = "auto", this.clickContent = [], this.longpressContent = [], this.hoverContent = [], this.targetContent = [];
|
2898
2897
|
}
|
2899
2898
|
static get styles() {
|
2900
|
-
return [ve(
|
2899
|
+
return [ve(Xo)];
|
2901
2900
|
}
|
2902
2901
|
getAssignedElementsFromSlot(t) {
|
2903
2902
|
return t.assignedElements({ flatten: !0 });
|
@@ -3073,7 +3072,7 @@ T([
|
|
3073
3072
|
T([
|
3074
3073
|
vt("#hover-overlay", !0)
|
3075
3074
|
], E.prototype, "hoverOverlayElement");
|
3076
|
-
function
|
3075
|
+
function Yo(e, t, n, o) {
|
3077
3076
|
return Et.open(
|
3078
3077
|
e,
|
3079
3078
|
t,
|
@@ -3160,7 +3159,7 @@ class De extends re {
|
|
3160
3159
|
), i)
|
3161
3160
|
this.overlay.remove();
|
3162
3161
|
else {
|
3163
|
-
|
3162
|
+
Z.applyOptions(this.overlay, {
|
3164
3163
|
...this.options,
|
3165
3164
|
trigger: this.target
|
3166
3165
|
});
|
@@ -3180,7 +3179,7 @@ const cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3180
3179
|
InteractionTypes: et,
|
3181
3180
|
LONGPRESS_INSTRUCTIONS: ne,
|
3182
3181
|
LongpressController: ie,
|
3183
|
-
LuzmoAbstractOverlay:
|
3182
|
+
LuzmoAbstractOverlay: Z,
|
3184
3183
|
LuzmoOverlay: Et,
|
3185
3184
|
LuzmoOverlayTrigger: E,
|
3186
3185
|
OverlayTriggerDirective: De,
|
@@ -3193,7 +3192,7 @@ const cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3193
3192
|
lastInteractionType: gt,
|
3194
3193
|
nextFrame: k,
|
3195
3194
|
noop: V,
|
3196
|
-
openOverlay:
|
3195
|
+
openOverlay: Yo,
|
3197
3196
|
overlayTimer: lt,
|
3198
3197
|
placementUpdatedSymbol: $e,
|
3199
3198
|
removeSlottableRequest: Rt,
|
@@ -28,10 +28,10 @@ import { _ as lo, $ as Io, s as io, a as Lo, p as A, g as L, b as j, x as To, n
|
|
28
28
|
import { C as Vo } from "./async-directive-BfcqVjDp-BCT-lA4F.js";
|
29
29
|
import "./index-C3N6qTxJ.js";
|
30
30
|
import { r as Bo } from "./divider.module-DoQWQEIJ-B19eHVg2.js";
|
31
|
-
import { g as Fo, u as Po, o as Ro, v as K, a as Mo } from "./pending-state-DTX7ggyF-
|
32
|
-
import { a as Do } from "./index-
|
31
|
+
import { g as Fo, u as Po, o as Ro, v as K, a as Mo } from "./pending-state-DTX7ggyF-B_9VbFxI.js";
|
32
|
+
import { a as Do } from "./index-BFPa6sJd.js";
|
33
33
|
import "./index-BC1LV3vH.js";
|
34
|
-
import "./index-
|
34
|
+
import "./index-Dh6CgbzT.js";
|
35
35
|
import "./index-CTVNGPeT.js";
|
36
36
|
/*! * Lucero - The design system for Luzmo.
|
37
37
|
*
|
package/components/index.cjs
CHANGED
@@ -17,4 +17,4 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./display-settings/index.cjs"),r=require("./display-settings-binning/index.cjs"),a=require("./display-settings-datetime/index.cjs"),l=require("./display-settings-grand-totals/index.cjs"),i=require("./display-settings-numeric/index.cjs"),o=require("./display-settings-period-over-period/index.cjs"),p=require("./draggable-data-item/index.cjs"),u=require("./draggable-data-item-level/index.cjs"),n=require("./droppable-slot/index.cjs"),c=require("./edit-item/index.cjs"),m=require("./index-BHXq1-M1.cjs"),b=require("./edit-option-action-button-group/index.cjs"),s=require("./edit-option-color-picker/index.cjs"),d=require("./edit-option-multi-language-field/index.cjs"),h=require("./edit-option-number-field/index.cjs"),g=require("./edit-option-picker/index.cjs"),y=require("./edit-option-position-picker/index.cjs"),L=require("./edit-option-positions-number-field/index.cjs"),C=require("./edit-option-radio-button-group/index.cjs"),k=require("./edit-option-slider/index.cjs"),P=require("./edit-option-switch/index.cjs"),z=require("./edit-option-text-field/index.cjs"),S=require("./filter-data-item-picker/index.cjs"),f=require("./index-B888fnYx.cjs"),O=require("./filter-item/index.cjs"),x=require("./filter-value-picker/index.cjs"),F=require("./filter-value-picker-datetime/index.cjs"),D=require("./filter-value-picker-hierarchy/index.cjs"),q=require("./filter-value-picker-numeric/index.cjs"),_=require("./slot-menu/index.cjs"),E=require("./slot-menu-list/index.cjs"),v=require("./decompose-numeric-format-B3rVVHpO.cjs"),M=require("./formatter-DiJYkB6b.cjs"),B=require("./localize-r7ALOUy_.cjs"),e=require("./utils.cjs"),T=[{key:"general",label:"General"},{key:"filters",label:"Filters"},{key:"bar-column",label:"Bar & Column Charts"},{key:"line",label:"Line Charts"},{key:"scatter-bubble",label:"Scatter & Bubble Plots"},{key:"area",label:"Area Charts"},{key:"pie-donut",label:"Pie & Donut"},{key:"gauges",label:"Gauges"},{key:"map",label:"Map Charts"},{key:"hierarchical",label:"Hierarchical Charts"},{key:"special",label:"Special Charts"},{key:"financial",label:"Financial Charts"}],G=[{type:"area-chart",label:"Area Chart"},{type:"bar-chart",label:"Bar Chart"},{type:"box-plot",label:"Box Plot"},{type:"bubble-chart",label:"Bubble Chart"},{type:"bullet-chart",label:"Bullet Chart"},{type:"choropleth-map",label:"Choropleth Map"},{type:"circle-pack-chart",label:"Circle Pack Chart"},{type:"circular-gauge",label:"Circular Gauge"},{type:"column-chart",label:"Column Chart"},{type:"combination-chart",label:"Combination Chart"},{type:"conditional-number",label:"Conditional Number"},{type:"date-filter",label:"Date Filter"},{type:"donut-chart",label:"Donut Chart"},{type:"dropdown-filter",label:"Dropdown Filter"},{type:"evolution-number",label:"Evolution Number"},{type:"funnel-chart",label:"Funnel Chart"},{type:"heat-map",label:"Heat Map"},{type:"heat-table",label:"Heat Table"},{type:"hexbin-map",label:"Hexbin Map"},{type:"image",label:"Image"},{type:"line-chart",label:"Line Chart"},{type:"marker-map",label:"Marker Map"},{type:"ohlc-chart",label:"OHLC Chart"},{type:"parallel-coordinates-plot",label:"Parallel Coordinates Plot"},{type:"pivot-table",label:"Pivot Table"},{type:"pyramid-chart",label:"Pyramid Chart"},{type:"radar-chart",label:"Radar Chart"},{type:"regular-table",label:"Regular Table"},{type:"route-map",label:"Route Map"},{type:"sankey-diagram",label:"Sankey Diagram"},{type:"scatter-plot",label:"Scatter Plot"},{type:"search-filter",label:"Search Filter"},{type:"slicer-filter",label:"Slicer Filter"},{type:"slider-filter",label:"Slider Filter"},{type:"speedometer-chart",label:"Speedometer Chart"},{type:"spike-map",label:"Spike Map"},{type:"strip-plot",label:"Strip Plot"},{type:"sunburst-chart",label:"Sunburst Chart"},{type:"symbol-map",label:"Symbol Map"},{type:"text",label:"Text"},{type:"treemap-chart",label:"Treemap Chart"},{type:"video",label:"Video"},{type:"wordcloud-chart",label:"Wordcloud Chart"}],I=[{item:"text",type:"text",label:"Text",group:"general"},{item:"image",type:"image",label:"Image",group:"general"},{item:"evolution-number",type:"evolution-number",label:"Number with evolution",group:"general"},{item:"video",type:"video",label:"Video",group:"general"},{item:"regular-table",type:"regular-table",label:"Regular Table",group:"general"},{item:"pivot-table",type:"pivot-table",label:"Pivot Table",group:"general"},{item:"spacer",type:"spacer",label:"Spacer",group:"general"},{item:"date-filter",type:"date-filter",label:"Date Filter",group:"filters"},{item:"slider-filter",type:"slider-filter",label:"Slider Filter",group:"filters"},{item:"search-filter",type:"search-filter",label:"Search Filter",group:"filters"},{item:"dropdown-filter",type:"dropdown-filter",label:"Dropdown Filter",group:"filters"},{item:"slicer-filter-vertical",type:"slicer",label:"Slicer Filter",group:"filters",options:{layout:{alignment:"vertical"}}},{item:"slicer-filter-horizontal",type:"slicer",label:"Slicer Filter Horizontal",group:"filters",options:{layout:{alignment:"horizontal"}}},{item:"slicer-filter-table",type:"slicer",label:"Slicer Filter Table",group:"filters",options:{layout:{alignment:"table"}}},{item:"rank-slicer-filter",type:"slicer",label:"Rank Slicer Filter",group:"filters",options:{layout:{alignment:"rank-vertical"}}},{item:"bar-chart",type:"bar-chart",label:"Bar Chart",group:"bar-column"},{item:"grouped-bar-chart",type:"bar-chart",label:"Grouped Bar Chart",group:"bar-column",options:{mode:"grouped"}},{item:"stacked-bar-chart",type:"bar-chart",label:"Stacked Bar Chart",group:"bar-column",options:{mode:"stacked"}},{item:"column-chart",type:"column-chart",label:"Column Chart",group:"bar-column"},{item:"grouped-column-chart",type:"column-chart",label:"Grouped Column Chart",group:"bar-column",options:{mode:"grouped"}},{item:"stacked-column-chart",type:"column-chart",label:"Stacked Column Chart",group:"bar-column",options:{mode:"stacked"}},{item:"line-chart",type:"line-chart",label:"Line Chart",group:"line"},{item:"grouped-line-chart",type:"line-chart",label:"Grouped Line Chart",group:"line",options:{mode:"grouped"}},{item:"scatter-plot",type:"scatter-plot",label:"Scatter Plot",group:"scatter-bubble"},{item:"scatter-group",type:"scatter-plot",label:"Scatter Group",group:"scatter-bubble"},{item:"bubble-plot",type:"scatter-plot",label:"Bubble Plot",group:"scatter-bubble"},{item:"colored-bubble-plot",type:"scatter-plot",label:"Colored Bubble Plot",group:"scatter-bubble"},{item:"area-chart",type:"area-chart",label:"Area Chart",group:"area"},{item:"stacked-area-chart",type:"area-chart",label:"Stacked Area Chart",group:"area",options:{mode:"stacked"}},{item:"100-area-chart",type:"area-chart",label:"100% Stacked Area Chart",group:"area",options:{mode:"100%"}},{item:"streamgraph",type:"area-chart",label:"Streamgraph",group:"area"},{item:"pie-chart",type:"donut-chart",label:"Pie Chart",group:"pie-donut"},{item:"donut-chart",type:"donut-chart",label:"Donut Chart",group:"pie-donut"},{item:"semi-pie-chart",type:"donut-chart",label:"Semi Pie Chart",group:"pie-donut"},{item:"semi-donut-chart",type:"donut-chart",label:"Semi Donut Chart",group:"pie-donut"},{item:"bullet-chart",type:"bullet-chart",label:"Bullet Chart",group:"gauges"},{item:"circular-gauge",type:"circular-gauge",label:"Circular Gauge",group:"gauges"},{item:"conditional-number",type:"conditional-number",label:"Conditional Number",group:"gauges"},{item:"speedometer-chart",type:"speedometer-chart",label:"Speedometer",group:"gauges"},{item:"choropleth-map",type:"choropleth-map",label:"Choropleth Map",group:"map"},{item:"symbol-map",type:"symbol-map",label:"Symbol Map",group:"map"},{item:"marker-map",type:"marker-map",label:"Marker Map",group:"map"},{item:"hexbin-map",type:"hexbin-map",label:"Hexbin Map",group:"map"},{item:"heat-map",type:"heat-map",label:"Heat Map",group:"map"},{item:"route-map",type:"route-map",label:"Route Map",group:"map"},{item:"spike-map",type:"spike-map",label:"Spike Map",group:"map"},{item:"treemap-chart",type:"treemap-chart",label:"Treemap Chart",group:"hierarchical"},{item:"sunburst-chart",type:"sunburst-chart",label:"Sunburst Chart",group:"hierarchical"},{item:"circle-pack-chart",type:"circle-pack-chart",label:"Circle Pack Chart",group:"hierarchical"},{item:"combination-chart",type:"combination-chart",label:"Combination Chart",group:"special"},{item:"parallel-coordinates-plot",type:"parallel-coordinates-plot",label:"Parallel Coordinates Plot",group:"special"},{item:"bubble-chart",type:"bubble-chart",label:"Bubble Chart",group:"special"},{item:"strip-plot",type:"strip-plot",label:"Strip Plot",group:"special"},{item:"radar-chart",type:"radar-chart",label:"Radar Chart",group:"special"},{item:"pyramid-chart",type:"pyramid-chart",label:"Pyramid Chart",group:"special"},{item:"funnel-chart",type:"funnel-chart",label:"Funnel Chart",group:"special"},{item:"alluvial-diagram",type:"alluvial-diagram",label:"Alluvial Diagram",group:"special"},{item:"sankey-diagram",type:"sankey-diagram",label:"Sankey Diagram",group:"special"},{item:"venn-diagram",type:"venn-diagram",label:"Venn Diagram",group:"special"},{item:"box-plot",type:"box-plot",label:"Box Plot",group:"special"},{item:"heat-table",type:"heat-table",label:"Heat Table",group:"special"},{item:"wordcloud-chart",type:"wordcloud-chart",label:"Wordcloud Chart",group:"special"},{item:"ohlc-chart",type:"ohlc-chart",label:"OHLC Chart",group:"financial"},{item:"candlestick-chart",type:"ohlc-chart",label:"Candlestick Chart",group:"financial"}];exports.LuzmoDisplaySettings=t.LuzmoDisplaySettings;Object.defineProperty(exports,"LuzmoDisplaySettingsBinning",{enumerable:!0,get:()=>r.LuzmoDisplaySettingsBinning});Object.defineProperty(exports,"LuzmoDisplaySettingsDatetime",{enumerable:!0,get:()=>a.LuzmoDisplaySettingsDatetime});Object.defineProperty(exports,"LuzmoDisplaySettingsGrandTotals",{enumerable:!0,get:()=>l.LuzmoDisplaySettingsGrandTotals});Object.defineProperty(exports,"LuzmoDisplaySettingsNumeric",{enumerable:!0,get:()=>i.LuzmoDisplaySettingsNumeric});Object.defineProperty(exports,"LuzmoDisplaySettingsPeriodOverPeriod",{enumerable:!0,get:()=>o.LuzmoDisplaySettingsPeriodOverPeriod});Object.defineProperty(exports,"LuzmoDraggableDataItem",{enumerable:!0,get:()=>p.LuzmoDraggableDataItem});exports.LuzmoDraggableDataItemLevel=u.LuzmoDraggableDataItemLevel;Object.defineProperty(exports,"LuzmoDroppableSlot",{enumerable:!0,get:()=>n.LuzmoDroppableSlot});exports.LuzmoEditItem=c.LuzmoEditItem;exports.LuzmoEditOption=m.LuzmoEditOption;exports.LuzmoEditOptionActionButtonGroup=b.LuzmoEditOptionActionButtonGroup;exports.LuzmoEditOptionColorPicker=s.LuzmoEditOptionColorPicker;exports.LuzmoEditOptionMultiLangField=d.LuzmoEditOptionMultiLangField;exports.LuzmoEditOptionNumberField=h.LuzmoEditOptionNumberField;exports.LuzmoEditOptionPicker=g.LuzmoEditOptionPicker;exports.LuzmoEditOptionPositionPicker=y.LuzmoEditOptionPositionPicker;exports.LuzmoEditOptionPositionsNumberField=L.LuzmoEditOptionPositionsNumberField;exports.LuzmoEditOptionRadioButtonGroup=C.LuzmoEditOptionRadioButtonGroup;exports.LuzmoEditOptionSlider=k.LuzmoEditOptionSlider;exports.LuzmoEditOptionSwitch=P.LuzmoEditOptionSwitch;exports.LuzmoEditOptionTextField=z.LuzmoEditOptionTextField;Object.defineProperty(exports,"LuzmoFilterDataItemPicker",{enumerable:!0,get:()=>S.LuzmoFilterDataItemPicker});Object.defineProperty(exports,"LuzmoFilterExpressionPicker",{enumerable:!0,get:()=>f.LuzmoFilterExpressionPicker});Object.defineProperty(exports,"LuzmoFilterItem",{enumerable:!0,get:()=>O.LuzmoFilterItem});exports.LuzmoFilterValuePicker=x.LuzmoFilterValuePicker;exports.LuzmoFilterValuePickerDatetime=F.LuzmoFilterValuePickerDatetime;Object.defineProperty(exports,"LuzmoFilterValuePickerHierarchy",{enumerable:!0,get:()=>D.LuzmoFilterValuePickerHierarchy});Object.defineProperty(exports,"LuzmoFilterValuePickerNumeric",{enumerable:!0,get:()=>q.LuzmoFilterValuePickerNumeric});exports.LuzmoSlotMenu=_.LuzmoSlotMenu;exports.LuzmoSlotMenuList=E.LuzmoSlotMenuList;exports.decomposeNumericFormat=v.decomposeNumericFormat;exports.formatter=M.formatter;exports.localize=B.localize;exports.switchItem=e.switchItem;exports.themes=e.themes;exports.itemGroups=T;exports.itemList=I;exports.itemTypes=G;
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./display-settings/index.cjs"),r=require("./display-settings-binning/index.cjs"),a=require("./display-settings-datetime/index.cjs"),l=require("./display-settings-grand-totals/index.cjs"),i=require("./display-settings-numeric/index.cjs"),o=require("./display-settings-period-over-period/index.cjs"),p=require("./draggable-data-item/index.cjs"),u=require("./draggable-data-item-level/index.cjs"),n=require("./droppable-slot/index.cjs"),c=require("./edit-item/index.cjs"),m=require("./index-BHXq1-M1.cjs"),b=require("./edit-option-action-button-group/index.cjs"),s=require("./edit-option-color-picker/index.cjs"),d=require("./edit-option-multi-language-field/index.cjs"),h=require("./edit-option-number-field/index.cjs"),g=require("./edit-option-picker/index.cjs"),y=require("./edit-option-position-picker/index.cjs"),L=require("./edit-option-positions-number-field/index.cjs"),C=require("./edit-option-radio-button-group/index.cjs"),k=require("./edit-option-slider/index.cjs"),P=require("./edit-option-switch/index.cjs"),z=require("./edit-option-text-field/index.cjs"),S=require("./filter-data-item-picker/index.cjs"),f=require("./index-CTaPKPdt.cjs"),O=require("./filter-item/index.cjs"),x=require("./filter-value-picker/index.cjs"),F=require("./filter-value-picker-datetime/index.cjs"),D=require("./filter-value-picker-hierarchy/index.cjs"),q=require("./filter-value-picker-numeric/index.cjs"),_=require("./slot-menu/index.cjs"),E=require("./slot-menu-list/index.cjs"),v=require("./decompose-numeric-format-B3rVVHpO.cjs"),M=require("./formatter-DiJYkB6b.cjs"),B=require("./localize-r7ALOUy_.cjs"),e=require("./utils.cjs"),T=[{key:"general",label:"General"},{key:"filters",label:"Filters"},{key:"bar-column",label:"Bar & Column Charts"},{key:"line",label:"Line Charts"},{key:"scatter-bubble",label:"Scatter & Bubble Plots"},{key:"area",label:"Area Charts"},{key:"pie-donut",label:"Pie & Donut"},{key:"gauges",label:"Gauges"},{key:"map",label:"Map Charts"},{key:"hierarchical",label:"Hierarchical Charts"},{key:"special",label:"Special Charts"},{key:"financial",label:"Financial Charts"}],G=[{type:"area-chart",label:"Area Chart"},{type:"bar-chart",label:"Bar Chart"},{type:"box-plot",label:"Box Plot"},{type:"bubble-chart",label:"Bubble Chart"},{type:"bullet-chart",label:"Bullet Chart"},{type:"choropleth-map",label:"Choropleth Map"},{type:"circle-pack-chart",label:"Circle Pack Chart"},{type:"circular-gauge",label:"Circular Gauge"},{type:"column-chart",label:"Column Chart"},{type:"combination-chart",label:"Combination Chart"},{type:"conditional-number",label:"Conditional Number"},{type:"date-filter",label:"Date Filter"},{type:"donut-chart",label:"Donut Chart"},{type:"dropdown-filter",label:"Dropdown Filter"},{type:"evolution-number",label:"Evolution Number"},{type:"funnel-chart",label:"Funnel Chart"},{type:"heat-map",label:"Heat Map"},{type:"heat-table",label:"Heat Table"},{type:"hexbin-map",label:"Hexbin Map"},{type:"image",label:"Image"},{type:"line-chart",label:"Line Chart"},{type:"marker-map",label:"Marker Map"},{type:"ohlc-chart",label:"OHLC Chart"},{type:"parallel-coordinates-plot",label:"Parallel Coordinates Plot"},{type:"pivot-table",label:"Pivot Table"},{type:"pyramid-chart",label:"Pyramid Chart"},{type:"radar-chart",label:"Radar Chart"},{type:"regular-table",label:"Regular Table"},{type:"route-map",label:"Route Map"},{type:"sankey-diagram",label:"Sankey Diagram"},{type:"scatter-plot",label:"Scatter Plot"},{type:"search-filter",label:"Search Filter"},{type:"slicer-filter",label:"Slicer Filter"},{type:"slider-filter",label:"Slider Filter"},{type:"speedometer-chart",label:"Speedometer Chart"},{type:"spike-map",label:"Spike Map"},{type:"strip-plot",label:"Strip Plot"},{type:"sunburst-chart",label:"Sunburst Chart"},{type:"symbol-map",label:"Symbol Map"},{type:"text",label:"Text"},{type:"treemap-chart",label:"Treemap Chart"},{type:"video",label:"Video"},{type:"wordcloud-chart",label:"Wordcloud Chart"}],I=[{item:"text",type:"text",label:"Text",group:"general"},{item:"image",type:"image",label:"Image",group:"general"},{item:"evolution-number",type:"evolution-number",label:"Number with evolution",group:"general"},{item:"video",type:"video",label:"Video",group:"general"},{item:"regular-table",type:"regular-table",label:"Regular Table",group:"general"},{item:"pivot-table",type:"pivot-table",label:"Pivot Table",group:"general"},{item:"spacer",type:"spacer",label:"Spacer",group:"general"},{item:"date-filter",type:"date-filter",label:"Date Filter",group:"filters"},{item:"slider-filter",type:"slider-filter",label:"Slider Filter",group:"filters"},{item:"search-filter",type:"search-filter",label:"Search Filter",group:"filters"},{item:"dropdown-filter",type:"dropdown-filter",label:"Dropdown Filter",group:"filters"},{item:"slicer-filter-vertical",type:"slicer",label:"Slicer Filter",group:"filters",options:{layout:{alignment:"vertical"}}},{item:"slicer-filter-horizontal",type:"slicer",label:"Slicer Filter Horizontal",group:"filters",options:{layout:{alignment:"horizontal"}}},{item:"slicer-filter-table",type:"slicer",label:"Slicer Filter Table",group:"filters",options:{layout:{alignment:"table"}}},{item:"rank-slicer-filter",type:"slicer",label:"Rank Slicer Filter",group:"filters",options:{layout:{alignment:"rank-vertical"}}},{item:"bar-chart",type:"bar-chart",label:"Bar Chart",group:"bar-column"},{item:"grouped-bar-chart",type:"bar-chart",label:"Grouped Bar Chart",group:"bar-column",options:{mode:"grouped"}},{item:"stacked-bar-chart",type:"bar-chart",label:"Stacked Bar Chart",group:"bar-column",options:{mode:"stacked"}},{item:"column-chart",type:"column-chart",label:"Column Chart",group:"bar-column"},{item:"grouped-column-chart",type:"column-chart",label:"Grouped Column Chart",group:"bar-column",options:{mode:"grouped"}},{item:"stacked-column-chart",type:"column-chart",label:"Stacked Column Chart",group:"bar-column",options:{mode:"stacked"}},{item:"line-chart",type:"line-chart",label:"Line Chart",group:"line"},{item:"grouped-line-chart",type:"line-chart",label:"Grouped Line Chart",group:"line",options:{mode:"grouped"}},{item:"scatter-plot",type:"scatter-plot",label:"Scatter Plot",group:"scatter-bubble"},{item:"scatter-group",type:"scatter-plot",label:"Scatter Group",group:"scatter-bubble"},{item:"bubble-plot",type:"scatter-plot",label:"Bubble Plot",group:"scatter-bubble"},{item:"colored-bubble-plot",type:"scatter-plot",label:"Colored Bubble Plot",group:"scatter-bubble"},{item:"area-chart",type:"area-chart",label:"Area Chart",group:"area"},{item:"stacked-area-chart",type:"area-chart",label:"Stacked Area Chart",group:"area",options:{mode:"stacked"}},{item:"100-area-chart",type:"area-chart",label:"100% Stacked Area Chart",group:"area",options:{mode:"100%"}},{item:"streamgraph",type:"area-chart",label:"Streamgraph",group:"area"},{item:"pie-chart",type:"donut-chart",label:"Pie Chart",group:"pie-donut"},{item:"donut-chart",type:"donut-chart",label:"Donut Chart",group:"pie-donut"},{item:"semi-pie-chart",type:"donut-chart",label:"Semi Pie Chart",group:"pie-donut"},{item:"semi-donut-chart",type:"donut-chart",label:"Semi Donut Chart",group:"pie-donut"},{item:"bullet-chart",type:"bullet-chart",label:"Bullet Chart",group:"gauges"},{item:"circular-gauge",type:"circular-gauge",label:"Circular Gauge",group:"gauges"},{item:"conditional-number",type:"conditional-number",label:"Conditional Number",group:"gauges"},{item:"speedometer-chart",type:"speedometer-chart",label:"Speedometer",group:"gauges"},{item:"choropleth-map",type:"choropleth-map",label:"Choropleth Map",group:"map"},{item:"symbol-map",type:"symbol-map",label:"Symbol Map",group:"map"},{item:"marker-map",type:"marker-map",label:"Marker Map",group:"map"},{item:"hexbin-map",type:"hexbin-map",label:"Hexbin Map",group:"map"},{item:"heat-map",type:"heat-map",label:"Heat Map",group:"map"},{item:"route-map",type:"route-map",label:"Route Map",group:"map"},{item:"spike-map",type:"spike-map",label:"Spike Map",group:"map"},{item:"treemap-chart",type:"treemap-chart",label:"Treemap Chart",group:"hierarchical"},{item:"sunburst-chart",type:"sunburst-chart",label:"Sunburst Chart",group:"hierarchical"},{item:"circle-pack-chart",type:"circle-pack-chart",label:"Circle Pack Chart",group:"hierarchical"},{item:"combination-chart",type:"combination-chart",label:"Combination Chart",group:"special"},{item:"parallel-coordinates-plot",type:"parallel-coordinates-plot",label:"Parallel Coordinates Plot",group:"special"},{item:"bubble-chart",type:"bubble-chart",label:"Bubble Chart",group:"special"},{item:"strip-plot",type:"strip-plot",label:"Strip Plot",group:"special"},{item:"radar-chart",type:"radar-chart",label:"Radar Chart",group:"special"},{item:"pyramid-chart",type:"pyramid-chart",label:"Pyramid Chart",group:"special"},{item:"funnel-chart",type:"funnel-chart",label:"Funnel Chart",group:"special"},{item:"alluvial-diagram",type:"alluvial-diagram",label:"Alluvial Diagram",group:"special"},{item:"sankey-diagram",type:"sankey-diagram",label:"Sankey Diagram",group:"special"},{item:"venn-diagram",type:"venn-diagram",label:"Venn Diagram",group:"special"},{item:"box-plot",type:"box-plot",label:"Box Plot",group:"special"},{item:"heat-table",type:"heat-table",label:"Heat Table",group:"special"},{item:"wordcloud-chart",type:"wordcloud-chart",label:"Wordcloud Chart",group:"special"},{item:"ohlc-chart",type:"ohlc-chart",label:"OHLC Chart",group:"financial"},{item:"candlestick-chart",type:"ohlc-chart",label:"Candlestick Chart",group:"financial"}];exports.LuzmoDisplaySettings=t.LuzmoDisplaySettings;Object.defineProperty(exports,"LuzmoDisplaySettingsBinning",{enumerable:!0,get:()=>r.LuzmoDisplaySettingsBinning});Object.defineProperty(exports,"LuzmoDisplaySettingsDatetime",{enumerable:!0,get:()=>a.LuzmoDisplaySettingsDatetime});Object.defineProperty(exports,"LuzmoDisplaySettingsGrandTotals",{enumerable:!0,get:()=>l.LuzmoDisplaySettingsGrandTotals});Object.defineProperty(exports,"LuzmoDisplaySettingsNumeric",{enumerable:!0,get:()=>i.LuzmoDisplaySettingsNumeric});Object.defineProperty(exports,"LuzmoDisplaySettingsPeriodOverPeriod",{enumerable:!0,get:()=>o.LuzmoDisplaySettingsPeriodOverPeriod});Object.defineProperty(exports,"LuzmoDraggableDataItem",{enumerable:!0,get:()=>p.LuzmoDraggableDataItem});exports.LuzmoDraggableDataItemLevel=u.LuzmoDraggableDataItemLevel;Object.defineProperty(exports,"LuzmoDroppableSlot",{enumerable:!0,get:()=>n.LuzmoDroppableSlot});exports.LuzmoEditItem=c.LuzmoEditItem;exports.LuzmoEditOption=m.LuzmoEditOption;exports.LuzmoEditOptionActionButtonGroup=b.LuzmoEditOptionActionButtonGroup;exports.LuzmoEditOptionColorPicker=s.LuzmoEditOptionColorPicker;exports.LuzmoEditOptionMultiLangField=d.LuzmoEditOptionMultiLangField;exports.LuzmoEditOptionNumberField=h.LuzmoEditOptionNumberField;exports.LuzmoEditOptionPicker=g.LuzmoEditOptionPicker;exports.LuzmoEditOptionPositionPicker=y.LuzmoEditOptionPositionPicker;exports.LuzmoEditOptionPositionsNumberField=L.LuzmoEditOptionPositionsNumberField;exports.LuzmoEditOptionRadioButtonGroup=C.LuzmoEditOptionRadioButtonGroup;exports.LuzmoEditOptionSlider=k.LuzmoEditOptionSlider;exports.LuzmoEditOptionSwitch=P.LuzmoEditOptionSwitch;exports.LuzmoEditOptionTextField=z.LuzmoEditOptionTextField;Object.defineProperty(exports,"LuzmoFilterDataItemPicker",{enumerable:!0,get:()=>S.LuzmoFilterDataItemPicker});Object.defineProperty(exports,"LuzmoFilterExpressionPicker",{enumerable:!0,get:()=>f.LuzmoFilterExpressionPicker});Object.defineProperty(exports,"LuzmoFilterItem",{enumerable:!0,get:()=>O.LuzmoFilterItem});exports.LuzmoFilterValuePicker=x.LuzmoFilterValuePicker;exports.LuzmoFilterValuePickerDatetime=F.LuzmoFilterValuePickerDatetime;Object.defineProperty(exports,"LuzmoFilterValuePickerHierarchy",{enumerable:!0,get:()=>D.LuzmoFilterValuePickerHierarchy});Object.defineProperty(exports,"LuzmoFilterValuePickerNumeric",{enumerable:!0,get:()=>q.LuzmoFilterValuePickerNumeric});exports.LuzmoSlotMenu=_.LuzmoSlotMenu;exports.LuzmoSlotMenuList=E.LuzmoSlotMenuList;exports.decomposeNumericFormat=v.decomposeNumericFormat;exports.formatter=M.formatter;exports.localize=B.localize;exports.switchItem=e.switchItem;exports.themes=e.themes;exports.itemGroups=T;exports.itemList=I;exports.itemTypes=G;
|
package/components/index.js
CHANGED
@@ -40,7 +40,7 @@ import { LuzmoEditOptionSlider as j } from "./edit-option-slider/index.js";
|
|
40
40
|
import { LuzmoEditOptionSwitch as K } from "./edit-option-switch/index.js";
|
41
41
|
import { LuzmoEditOptionTextField as X } from "./edit-option-text-field/index.js";
|
42
42
|
import { LuzmoFilterDataItemPicker as Z } from "./filter-data-item-picker/index.js";
|
43
|
-
import { L as $ } from "./index-
|
43
|
+
import { L as $ } from "./index-CoZF4QUN.js";
|
44
44
|
import { LuzmoFilterItem as oe } from "./filter-item/index.js";
|
45
45
|
import { LuzmoFilterValuePicker as le } from "./filter-value-picker/index.js";
|
46
46
|
import { LuzmoFilterValuePickerDatetime as ae } from "./filter-value-picker-datetime/index.js";
|
package/components/{pending-state-DTX7ggyF-qbk3sPcq.js → pending-state-DTX7ggyF-B_9VbFxI.js}
RENAMED
@@ -123,9 +123,9 @@ class c {
|
|
123
123
|
return;
|
124
124
|
}
|
125
125
|
customElements.whenDefined("luzmo-overlay").then(async () => {
|
126
|
-
const { LuzmoOverlay: e } = await import("./index-
|
126
|
+
const { LuzmoOverlay: e } = await import("./index-Dh6CgbzT.js").then((s) => s.i);
|
127
127
|
this.overlay = new e(), this.host.open = !0, this.host.requestUpdate();
|
128
|
-
}), import("./index-
|
128
|
+
}), import("./index-Dh6CgbzT.js").then((e) => e.i);
|
129
129
|
}
|
130
130
|
}
|
131
131
|
get overlay() {
|
package/components/{pending-state-DTX7ggyF-B5ihSygL.cjs → pending-state-DTX7ggyF-C_go9EJh.cjs}
RENAMED
@@ -53,7 +53,7 @@
|
|
53
53
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
54
54
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
55
55
|
* SOFTWARE.
|
56
|
-
* */const v="(max-width: 743px) and (hover: none) and (pointer: coarse)";class g{constructor(t,e){this.key=Symbol("match-media-key"),this.matches=!1,this.host=t,this.host.addController(this),this.media=window.matchMedia(e),this.matches=this.media.matches,this.onChange=this.onChange.bind(this),t.addController(this)}hostConnected(){var t;(t=this.media)==null||t.addEventListener("change",this.onChange)}hostDisconnected(){var t;(t=this.media)==null||t.removeEventListener("change",this.onChange)}onChange(t){this.matches!==t.matches&&(this.matches=t.matches,this.host.requestUpdate(this.key,!this.matches))}}var l=(i=>(i[i.desktop=0]="desktop",i[i.mobile=1]="mobile",i))(l||{});const a="remove-focus-ring-safari-hack";class u{constructor(t,e){this.target=t,this.host=e,this.preventNextToggle="no",this.pointerdownState=!1,this.enterKeydownOn=null,this._open=!1,this.target=t,this.host=e,this.host.addController(this),this.init()}get activelyOpening(){return!1}get open(){return this._open}set open(t){if(this._open!==t){if(this._open=t,this.overlay){this.host.open=t;return}customElements.whenDefined("luzmo-overlay").then(async()=>{const{LuzmoOverlay:e}=await Promise.resolve().then(()=>require("./index-
|
56
|
+
* */const v="(max-width: 743px) and (hover: none) and (pointer: coarse)";class g{constructor(t,e){this.key=Symbol("match-media-key"),this.matches=!1,this.host=t,this.host.addController(this),this.media=window.matchMedia(e),this.matches=this.media.matches,this.onChange=this.onChange.bind(this),t.addController(this)}hostConnected(){var t;(t=this.media)==null||t.addEventListener("change",this.onChange)}hostDisconnected(){var t;(t=this.media)==null||t.removeEventListener("change",this.onChange)}onChange(t){this.matches!==t.matches&&(this.matches=t.matches,this.host.requestUpdate(this.key,!this.matches))}}var l=(i=>(i[i.desktop=0]="desktop",i[i.mobile=1]="mobile",i))(l||{});const a="remove-focus-ring-safari-hack";class u{constructor(t,e){this.target=t,this.host=e,this.preventNextToggle="no",this.pointerdownState=!1,this.enterKeydownOn=null,this._open=!1,this.target=t,this.host=e,this.host.addController(this),this.init()}get activelyOpening(){return!1}get open(){return this._open}set open(t){if(this._open!==t){if(this._open=t,this.overlay){this.host.open=t;return}customElements.whenDefined("luzmo-overlay").then(async()=>{const{LuzmoOverlay:e}=await Promise.resolve().then(()=>require("./index-B4EIbvuW.cjs")).then(s=>s.index);this.overlay=new e,this.host.open=!0,this.host.requestUpdate()}),Promise.resolve().then(()=>require("./index-B4EIbvuW.cjs")).then(e=>e.index)}}get overlay(){return this._overlay}set overlay(t){t&&this.overlay!==t&&(this._overlay=t,this.initOverlay())}releaseDescription(){}handleBeforetoggle(t){var e,s;t.composedPath()[0]===t.target&&(t.newState==="closed"&&(this.preventNextToggle==="no"?this.open=!1:this.pointerdownState||(e=this.overlay)==null||e.manuallyKeepOpen()),this.open||(this.host.optionsMenu.updateSelectedItemIndex(),typeof((s=this.host.optionsMenu)==null?void 0:s.closeDescendentOverlays)=="function"&&this.host.optionsMenu.closeDescendentOverlays()))}initOverlay(){this.overlay&&(this.overlay.addEventListener("beforetoggle",t=>{this.handleBeforetoggle(t)}),this.overlay.type=this.host.isMobile.matches?"modal":"auto",this.overlay.triggerElement=this.host,this.overlay.placement=this.host.isMobile.matches?void 0:this.host.placement,this.overlay.receivesFocus="true",this.overlay.willPreventClose=this.preventNextToggle!=="no"&&this.open,this.overlay.addEventListener("slottable-request",this.host.handleSlottableRequest))}handlePointerdown(t){}handleButtonFocus(t){this.preventNextToggle==="maybe"&&t.relatedTarget===this.host.optionsMenu&&(this.preventNextToggle="yes")}handleActivate(t){}init(){}abort(){var t;this.releaseDescription(),(t=this.abortController)==null||t.abort()}hostConnected(){this.init()}hostDisconnected(){var t;(t=this.abortController)==null||t.abort()}hostUpdated(){this.overlay&&this.host.dependencyManager.loaded&&this.host.open!==this.overlay.open&&(this.overlay.willPreventClose=this.preventNextToggle!=="no",this.overlay.open=this.host.open)}}class m extends u{constructor(){super(...arguments),this.type=l.desktop}handlePointerdown(t){if(t.target.closest(".clear-icon")||t.button!==0||t.pointerType==="touch")return;this.pointerdownState=this.open,this.preventNextToggle="maybe";let e=0;const s=()=>{cancelAnimationFrame(e),e=requestAnimationFrame(()=>{document.removeEventListener("pointerup",s),document.removeEventListener("pointercancel",s),this.target.removeEventListener("click",s),requestAnimationFrame(()=>{this.preventNextToggle="no"})})};document.addEventListener("pointerup",s),document.addEventListener("pointercancel",s),this.target.addEventListener("click",s),this.handleActivate()}handleActivate(t){this.enterKeydownOn&&this.enterKeydownOn!==this.target||this.preventNextToggle!=="yes"&&((t==null?void 0:t.type)==="click"&&this.open!==this.pointerdownState||this.host.toggle())}init(){var t;(t=this.abortController)==null||t.abort(),this.abortController=new AbortController;const{signal:e}=this.abortController;this.target.addEventListener("click",s=>this.handleActivate(s),{signal:e}),this.target.addEventListener("pointerdown",s=>this.handlePointerdown(s),{signal:e}),this.target.addEventListener("focus",s=>this.handleButtonFocus(s),{signal:e})}}class b extends u{constructor(){super(...arguments),this.type=l.mobile}handleClick(t){t.target.closest(".clear-button")&&(this.preventNextToggle==="no"&&(this.open=!this.open),this.preventNextToggle="no")}handlePointerdown(t){t.target.closest(".clear-button")&&(this.preventNextToggle=this.open?"yes":"no",c.c()&&this.target.classList.add(a))}handleFocusOut(){this.host.open||c.c()&&this.target.classList.contains(a)&&this.target.classList.remove(a)}init(){var t;(t=this.abortController)==null||t.abort(),this.abortController=new AbortController;const{signal:e}=this.abortController;this.target.addEventListener("click",s=>this.handleClick(s),{signal:e}),this.target.addEventListener("pointerdown",s=>this.handlePointerdown(s),{signal:e}),this.target.addEventListener("focusout",()=>this.handleFocusOut(),{signal:e})}}const y={desktop:m,mobile:b};/*! * Lucero - The design system for Luzmo.
|
57
57
|
*
|
58
58
|
* Copyright © 2025 Luzmo
|
59
59
|
* All rights reserved.
|