@luzmo/analytics-components-kit 1.0.1-alpha.38 → 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-BpMATs29.cjs → calculate-data-item-icon-Bygfq3KO.cjs} +1 -1
- package/components/{calculate-data-item-icon-BPZYysi7.js → calculate-data-item-icon-DlyGQVBA.js} +1 -1
- package/components/{de-CCq00pbq.js → de-BbcctJsI.js} +7 -0
- package/components/de-eIqMhTVC.cjs +20 -0
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +9 -9
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +10 -10
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +12 -12
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +10 -10
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +12 -12
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +10 -10
- 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 +1 -1
- package/components/draggable-data-item-level/index.js +8 -8
- package/components/droppable-slot/index.cjs +1 -1
- package/components/droppable-slot/index.js +9 -9
- package/components/edit-item/index.cjs +5 -5
- package/components/edit-item/index.js +5 -5
- 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 +5 -5
- 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 +30 -30
- package/components/edit-option-color-picker/index.js +6 -6
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +3 -3
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +3 -3
- 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 +3 -3
- package/components/edit-option-positions-number-field/index.cjs +1 -1
- package/components/edit-option-positions-number-field/index.js +5 -5
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +3 -3
- 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 +3 -3
- 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 +7 -7
- 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 +8 -8
- package/components/filter-value-picker-datetime/index.js +12 -12
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +8 -7
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +7 -7
- 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-BNBJLKST.js → index-BC1LV3vH.js} +1 -1
- package/components/{index-BlLF9xYw.js → index-BNwJ9moR.js} +5 -5
- package/components/{index-DJKhZGty.cjs → index-B_dW2-QA.cjs} +14 -14
- package/components/{index-5mZhN-HJ.js → index-BiY07GvX.js} +4 -4
- package/components/{index-Dh6CgbzT.js → index-Boxjo5I0.js} +79 -79
- package/components/{index-uoJRMChX.cjs → index-C2PPSv8E.cjs} +2 -2
- package/components/{index-BhpqKmwq.cjs → index-CAJRL5rT.cjs} +1 -1
- package/components/{index-ROT368zu.cjs → index-CBOAQ3-E.cjs} +5 -5
- package/components/{index-eHmbYtYG.cjs → index-CT2vEcpn.cjs} +2 -2
- package/components/{index-C0mIH6sE.cjs → index-CaVIv7B9.cjs} +1 -1
- package/components/{index-DFe4VuxB.js → index-CbuHBIDB.js} +2 -2
- package/components/index-CcDZIqpD.cjs +192 -0
- package/components/index-CcLRp9ao.js +1685 -0
- package/components/{index-0AQhhYNR.js → index-Ciad94jH.js} +4 -4
- package/components/index-CpGRysX_.js +691 -0
- package/components/{index-COiTyPcJ.cjs → index-CzRmB9z3.cjs} +1 -1
- package/components/{index-CyAospmR.js → index-DE3d0E0P.js} +2 -2
- package/components/index-DFHExzGq.cjs +20 -0
- package/components/{index-BHXq1-M1.cjs → index-DQbl3h5H.cjs} +1 -1
- package/components/{index-CKenYdIM.cjs → index-DSQyBS9Z.cjs} +1 -1
- package/components/{index-jlphu2Tm.js → index-Desl7GJ0.js} +2 -2
- package/components/index-GgkqKtE6.cjs +20 -0
- package/components/{index-BFPa6sJd.js → index-Jmmy73Aq.js} +1 -1
- package/components/{index-B0rH2mr9.cjs → index-Tx5oQjbt.cjs} +1 -1
- package/components/{index-5UNCjfdE.js → index-UWOCtc0Y.js} +6 -6
- package/components/{index-C7pagyza.cjs → index-cHKqEi5-.cjs} +3 -3
- package/components/{index-DDR_JmOh.js → index-rQxtPaJl.js} +1 -1
- package/components/{index-D5asknFy.js → index-sCesmw8l.js} +5 -5
- 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-BZPchcMw.js → luzmo-icons-DEoJcvoL.js} +145 -113
- package/components/{luzmo-icons-NEyaMpEM-1fxXxs3F.cjs → luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs} +2 -2
- package/components/{luzmo-icons-NEyaMpEM-DbyDs_5B.js → luzmo-icons-DbwDQtuO-QG0fLECn.js} +9 -9
- 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 +1 -1
- package/components/slot-menu/index.js +4 -4
- package/components/slot-menu-list/index.cjs +2 -6
- package/components/slot-menu-list/index.js +59 -70
- 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/{text-field-B9IkRRxO-CRU1UGaM.cjs → text-field-BIADXoLC-B8w9TVmS.cjs} +1 -1
- package/components/{text-field-B9IkRRxO-CWWQN_rn.js → text-field-BIADXoLC-B9oE05VF.js} +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-BpFUFRQm.cjs +0 -31
- package/components/nl-0V96M02q.cjs +0 -20
@@ -21,8 +21,8 @@ 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-
|
25
|
-
import { c as le, a as Me, w as
|
24
|
+
import { t as yt } from "./index-Jmmy73Aq.js";
|
25
|
+
import { c as le, a as Me, w as Ue, C as We } from "./async-directive-BfcqVjDp-BCT-lA4F.js";
|
26
26
|
/*! * Lucero - The design system for Luzmo.
|
27
27
|
*
|
28
28
|
* Copyright © 2025 Luzmo
|
@@ -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
|
+
}, Xe = 1e3, Je = 1e3;
|
179
|
+
class Ye {
|
180
180
|
constructor(t = {}) {
|
181
|
-
this.warmUpDelay =
|
181
|
+
this.warmUpDelay = Xe, this.coolDownDelay = Je, 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 Ze {
|
|
203
203
|
this.cooldownTimeout && window.clearTimeout(this.cooldownTimeout), delete this.cooldownTimeout;
|
204
204
|
}
|
205
205
|
}
|
206
|
-
const lt = new
|
206
|
+
const lt = new Ye(), 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 Ze(), V = () => {
|
|
237
237
|
function k() {
|
238
238
|
return new Promise((e) => requestAnimationFrame(() => e()));
|
239
239
|
}
|
240
|
-
class
|
240
|
+
class Y 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 Z 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 Y.applyOptions(r, {
|
337
337
|
...u,
|
338
338
|
delayed: u.delayed || l.hasAttribute("delayed"),
|
339
339
|
trigger: u.virtualTrigger || d,
|
@@ -341,7 +341,7 @@ class Z 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), Y.applyOptions(r, {
|
345
345
|
...h,
|
346
346
|
delayed: h.delayed || l.hasAttribute("delayed")
|
347
347
|
}), r.updateComplete.then(() => {
|
@@ -352,9 +352,9 @@ class Z extends ye {
|
|
352
352
|
t.delayed = !!n.delayed, t.receivesFocus = n.receivesFocus ?? "auto", t.triggerElement = n.trigger || null, t.type = n.type || "modal", t.offset = n.offset ?? 0, t.placement = n.placement, t.willPreventClose = !!n.notImmediatelyClosable;
|
353
353
|
}
|
354
354
|
}
|
355
|
-
const
|
355
|
+
const Ut = (e) => e.querySelector(
|
356
356
|
yt
|
357
|
-
),
|
357
|
+
), Wt = (e) => e.assignedElements().find((t) => t.matches(yt));
|
358
358
|
class jt extends Event {
|
359
359
|
constructor() {
|
360
360
|
super("beforetoggle", {
|
@@ -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, Y.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 Ze(e) {
|
413
413
|
class t extends e {
|
414
414
|
async manageDialogOpen() {
|
415
415
|
const o = this.open;
|
@@ -430,8 +430,8 @@ function Ye(e) {
|
|
430
430
|
if (a > 0)
|
431
431
|
return;
|
432
432
|
const c = o ? Vt : jt;
|
433
|
-
this.dispatchEvent(new c()), o && (r.matches(yt) && (i = r), i = i ||
|
434
|
-
i || (i =
|
433
|
+
this.dispatchEvent(new c()), o && (r.matches(yt) && (i = r), i = i || Ut(r), i || r.querySelectorAll("slot").forEach((h) => {
|
434
|
+
i || (i = Wt(h));
|
435
435
|
}), !(!this.isConnected || this.dialogEl.open) && this.dialogEl.showModal());
|
436
436
|
}, l = (r, a) => () => {
|
437
437
|
if (this.open !== o)
|
@@ -510,8 +510,8 @@ function Qe(e) {
|
|
510
510
|
const c = o ? Vt : jt;
|
511
511
|
this.dispatchEvent(new c());
|
512
512
|
}
|
513
|
-
o !== !0 || (r.matches(yt) && (i = r), i = i ||
|
514
|
-
i || (i =
|
513
|
+
o !== !0 || (r.matches(yt) && (i = r), i = i || Ut(r), i) || r.querySelectorAll("slot").forEach((c) => {
|
514
|
+
i || (i = Wt(c));
|
515
515
|
});
|
516
516
|
}
|
517
517
|
}, l = (r, a) => async () => {
|
@@ -612,8 +612,8 @@ function eo(e) {
|
|
612
612
|
const c = o ? Vt : jt;
|
613
613
|
this.dispatchEvent(new c());
|
614
614
|
}
|
615
|
-
!o || (r.matches(yt) && (i = r), i = i ||
|
616
|
-
i || (i =
|
615
|
+
!o || (r.matches(yt) && (i = r), i = i || Ut(r), i) || r.querySelectorAll("slot").forEach((c) => {
|
616
|
+
i || (i = Wt(c));
|
617
617
|
});
|
618
618
|
}, l = (r, a) => () => {
|
619
619
|
if (this.open !== o)
|
@@ -672,7 +672,7 @@ const oo = "showPopover" in document.createElement("div");
|
|
672
672
|
class no {
|
673
673
|
constructor() {
|
674
674
|
this.root = document.body, this.stack = [], this.handleScroll = (t) => {
|
675
|
-
this.stack.forEach((n) => {
|
675
|
+
t.target !== document && t.target !== document.documentElement && t.target !== document.body || this.stack.forEach((n) => {
|
676
676
|
n.open && (n.type === "auto" && n.triggerElement instanceof HTMLElement && n.triggerElement.closest(
|
677
677
|
"luzmo-picker, luzmo-select, luzmo-action-menu"
|
678
678
|
) && t.stopPropagation(), document.dispatchEvent(
|
@@ -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))}}', Z = 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, Z(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 Xt(e, t) {
|
1016
1016
|
var n;
|
1017
1017
|
t === void 0 && (t = {});
|
1018
1018
|
const {
|
@@ -1081,17 +1081,17 @@ 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
|
1084
|
+
const U = x / 2 - z / 2, B = A / 2 - g[m] / 2 - 1, $ = Z(d[v], B), K = Z(d[y], B), q = $, G = A - g[m] - K, O = A / 2 - g[m] / 2 + U, it = qt(q, O, G), W = !a.arrow && dt(i) != null && O !== it && s.reference[m] / 2 - (O < q ? $ : K) - g[m] / 2 < 0, _ = W ? O < q ? O - q : O - G : 0;
|
1085
1085
|
return {
|
1086
1086
|
[u]: p[u] + _,
|
1087
1087
|
data: {
|
1088
1088
|
[u]: it,
|
1089
1089
|
centerOffset: O - it - _,
|
1090
|
-
...
|
1090
|
+
...W && {
|
1091
1091
|
alignmentOffset: _
|
1092
1092
|
}
|
1093
1093
|
},
|
1094
|
-
reset:
|
1094
|
+
reset: W
|
1095
1095
|
};
|
1096
1096
|
}
|
1097
1097
|
}), go = function(e) {
|
@@ -1120,11 +1120,11 @@ 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],
|
1123
|
+
const A = [r, ...z], U = await Xt(t, f), B = [];
|
1124
1124
|
let $ = ((o = s.flip) == null ? void 0 : o.overflows) || [];
|
1125
|
-
if (h && B.push(
|
1125
|
+
if (h && B.push(U[v]), d) {
|
1126
1126
|
const O = lo(i, l, x);
|
1127
|
-
B.push(
|
1127
|
+
B.push(U[O[0]], U[O[1]]);
|
1128
1128
|
}
|
1129
1129
|
if ($ = [...$, {
|
1130
1130
|
placement: i,
|
@@ -1142,31 +1142,31 @@ const mo = (e) => ({
|
|
1142
1142
|
placement: it
|
1143
1143
|
}
|
1144
1144
|
};
|
1145
|
-
let
|
1146
|
-
if (!
|
1145
|
+
let W = (q = $.filter((_) => _.overflows[0] <= 0).sort((_, X) => _.overflows[1] - X.overflows[1])[0]) == null ? void 0 : q.placement;
|
1146
|
+
if (!W)
|
1147
1147
|
switch (u) {
|
1148
1148
|
case "bestFit": {
|
1149
1149
|
var G;
|
1150
|
-
const _ = (G = $.filter((
|
1150
|
+
const _ = (G = $.filter((X) => {
|
1151
1151
|
if (S) {
|
1152
|
-
const
|
1153
|
-
return
|
1152
|
+
const J = ot(X.placement);
|
1153
|
+
return J === y || // Create a bias to the `y` side axis due to horizontal
|
1154
1154
|
// reading directions favoring greater width.
|
1155
|
-
|
1155
|
+
J === "y";
|
1156
1156
|
}
|
1157
1157
|
return !0;
|
1158
|
-
}).map((
|
1159
|
-
_ && (
|
1158
|
+
}).map((X) => [X.placement, X.overflows.filter((J) => J > 0).reduce((J, Fe) => J + Fe, 0)]).sort((X, J) => X[1] - J[1])[0]) == null ? void 0 : G[0];
|
1159
|
+
_ && (W = _);
|
1160
1160
|
break;
|
1161
1161
|
}
|
1162
1162
|
case "initialPlacement":
|
1163
|
-
|
1163
|
+
W = r;
|
1164
1164
|
break;
|
1165
1165
|
}
|
1166
|
-
if (i !==
|
1166
|
+
if (i !== W)
|
1167
1167
|
return {
|
1168
1168
|
reset: {
|
1169
|
-
placement:
|
1169
|
+
placement: W
|
1170
1170
|
}
|
1171
1171
|
};
|
1172
1172
|
}
|
@@ -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 Xt(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,21 +1294,21 @@ 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 Xt(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 =
|
1304
|
-
let A = x,
|
1305
|
-
if ((n = t.middlewareData.shift) != null && n.enabled.x && (
|
1303
|
+
const y = g - h.top - h.bottom, b = m - h.left - h.right, x = Z(g - h[f], y), z = Z(m - h[v], b), S = !t.middlewareData.shift;
|
1304
|
+
let A = x, U = z;
|
1305
|
+
if ((n = t.middlewareData.shift) != null && n.enabled.x && (U = 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);
|
1307
|
-
u ?
|
1307
|
+
u ? U = m - 2 * ($ !== 0 || K !== 0 ? $ + K : L(h.left, h.right)) : A = g - 2 * (q !== 0 || G !== 0 ? q + G : L(h.top, h.bottom));
|
1308
1308
|
}
|
1309
1309
|
await a({
|
1310
1310
|
...t,
|
1311
|
-
availableWidth:
|
1311
|
+
availableWidth: U,
|
1312
1312
|
availableHeight: A
|
1313
1313
|
});
|
1314
1314
|
const B = await l.getDimensions(r.floating);
|
@@ -1367,14 +1367,14 @@ function $t(e) {
|
|
1367
1367
|
}
|
1368
1368
|
});
|
1369
1369
|
}
|
1370
|
-
function
|
1371
|
-
const t =
|
1370
|
+
function Jt(e) {
|
1371
|
+
const t = Yt(), 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 (Jt(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 Yt() {
|
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 Zt(e) {
|
1443
1443
|
return F(e) ? e : e.contextElement;
|
1444
1444
|
}
|
1445
1445
|
function rt(e) {
|
1446
|
-
const t =
|
1446
|
+
const t = Zt(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 !Yt() || !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 = Zt(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 = Yt();
|
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 = Jt(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 = Z(h.right, a.right), a.bottom = Z(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) && !Jt(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, Z(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 = Zt(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
|
@@ -1814,7 +1814,7 @@ function Ct(e) {
|
|
1814
1814
|
const t = window.devicePixelRatio || 1;
|
1815
1815
|
return Math.round(e * t) / t;
|
1816
1816
|
}
|
1817
|
-
const Ot = 8, Mo = 100,
|
1817
|
+
const Ot = 8, Mo = 100, Uo = (e) => ({
|
1818
1818
|
left: ["right", "bottom", "top"],
|
1819
1819
|
"left-start": ["right-start", "bottom", "top"],
|
1820
1820
|
"left-end": ["right-end", "bottom", "top"],
|
@@ -1902,7 +1902,7 @@ class te {
|
|
1902
1902
|
await (document.fonts ? document.fonts.ready : Promise.resolve());
|
1903
1903
|
const s = o.trigger instanceof HTMLElement ? fe() : fe({
|
1904
1904
|
padding: Ot,
|
1905
|
-
fallbackPlacements:
|
1905
|
+
fallbackPlacements: Uo(o.placement)
|
1906
1906
|
}), [l = 0, r = 0] = Array.isArray(o == null ? void 0 : o.offset) ? o.offset : [o.offset, 0], a = (t = this.host.elements.find(
|
1907
1907
|
(m) => m.tipElement
|
1908
1908
|
)) == null ? void 0 : t.tipElement, c = [
|
@@ -2083,7 +2083,7 @@ class ee extends xt {
|
|
2083
2083
|
);
|
2084
2084
|
}
|
2085
2085
|
}
|
2086
|
-
const
|
2086
|
+
const Wo = 300;
|
2087
2087
|
class oe extends xt {
|
2088
2088
|
constructor() {
|
2089
2089
|
super(...arguments), this.type = et.hover, this.elementIds = [], this.focusedin = !1, this.pointerentered = !1;
|
@@ -2153,7 +2153,7 @@ class oe extends xt {
|
|
2153
2153
|
const t = this.target;
|
2154
2154
|
this.focusedin && t.matches(":focus-visible") || (this.hoverTimeout = setTimeout(() => {
|
2155
2155
|
this.open = !1;
|
2156
|
-
},
|
2156
|
+
}, Wo));
|
2157
2157
|
}
|
2158
2158
|
init() {
|
2159
2159
|
var t;
|
@@ -2257,7 +2257,7 @@ class ie extends xt {
|
|
2257
2257
|
return;
|
2258
2258
|
const n = document.createElement("div");
|
2259
2259
|
n.id = `longpress-describedby-descriptor-${Mt()}`;
|
2260
|
-
const o = Me() ||
|
2260
|
+
const o = Me() || Ue() ? "touch" : "keyboard";
|
2261
2261
|
n.textContent = ne[o], n.slot = "longpress-describedby-descriptor";
|
2262
2262
|
const i = t.getRootNode(), s = this.overlay.getRootNode();
|
2263
2263
|
i === s ? this.overlay.append(n) : (n.hidden = !("host" in i), t.after(n));
|
@@ -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 = Ze(Y);
|
2309
2309
|
Pt = Go ? eo(Pt) : Qe(Pt);
|
2310
2310
|
var st;
|
2311
2311
|
const C = (st = class extends Pt {
|
@@ -2844,7 +2844,7 @@ const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2844
2844
|
C: ee,
|
2845
2845
|
H: oe,
|
2846
2846
|
I: et,
|
2847
|
-
L:
|
2847
|
+
L: Y,
|
2848
2848
|
P: te,
|
2849
2849
|
S: pt,
|
2850
2850
|
V: ct,
|
@@ -2878,25 +2878,25 @@ const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2878
2878
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
2879
2879
|
* SOFTWARE.
|
2880
2880
|
* */
|
2881
|
-
const
|
2881
|
+
const Xo = () => {
|
2882
2882
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
2883
2883
|
const e = document.createElement("style");
|
2884
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);
|
2885
2885
|
}
|
2886
2886
|
};
|
2887
|
-
|
2888
|
-
const
|
2889
|
-
var
|
2887
|
+
Xo();
|
2888
|
+
const Jo = ":host([disabled]) ::slotted([slot=trigger]){pointer-events:none}slot[name=longpress-describedby-descriptor]{display:none}";
|
2889
|
+
var Yo = Object.defineProperty, T = (e, t, n, o) => {
|
2890
2890
|
for (var i = void 0, s = e.length - 1, l; s >= 0; s--)
|
2891
2891
|
(l = e[s]) && (i = l(t, n, i) || i);
|
2892
|
-
return i &&
|
2892
|
+
return i && Yo(t, n, i), i;
|
2893
2893
|
};
|
2894
2894
|
class E extends ye {
|
2895
2895
|
constructor() {
|
2896
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 = [];
|
2897
2897
|
}
|
2898
2898
|
static get styles() {
|
2899
|
-
return [ve(
|
2899
|
+
return [ve(Jo)];
|
2900
2900
|
}
|
2901
2901
|
getAssignedElementsFromSlot(t) {
|
2902
2902
|
return t.assignedElements({ flatten: !0 });
|
@@ -3072,7 +3072,7 @@ T([
|
|
3072
3072
|
T([
|
3073
3073
|
vt("#hover-overlay", !0)
|
3074
3074
|
], E.prototype, "hoverOverlayElement");
|
3075
|
-
function
|
3075
|
+
function Zo(e, t, n, o) {
|
3076
3076
|
return Et.open(
|
3077
3077
|
e,
|
3078
3078
|
t,
|
@@ -3080,7 +3080,7 @@ function Yo(e, t, n, o) {
|
|
3080
3080
|
o
|
3081
3081
|
);
|
3082
3082
|
}
|
3083
|
-
class re extends
|
3083
|
+
class re extends We {
|
3084
3084
|
/* c8 ignore next 9 */
|
3085
3085
|
render(t) {
|
3086
3086
|
return be;
|
@@ -3159,7 +3159,7 @@ class De extends re {
|
|
3159
3159
|
), i)
|
3160
3160
|
this.overlay.remove();
|
3161
3161
|
else {
|
3162
|
-
|
3162
|
+
Y.applyOptions(this.overlay, {
|
3163
3163
|
...this.options,
|
3164
3164
|
trigger: this.target
|
3165
3165
|
});
|
@@ -3179,7 +3179,7 @@ const cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3179
3179
|
InteractionTypes: et,
|
3180
3180
|
LONGPRESS_INSTRUCTIONS: ne,
|
3181
3181
|
LongpressController: ie,
|
3182
|
-
LuzmoAbstractOverlay:
|
3182
|
+
LuzmoAbstractOverlay: Y,
|
3183
3183
|
LuzmoOverlay: Et,
|
3184
3184
|
LuzmoOverlayTrigger: E,
|
3185
3185
|
OverlayTriggerDirective: De,
|
@@ -3192,7 +3192,7 @@ const cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3192
3192
|
lastInteractionType: gt,
|
3193
3193
|
nextFrame: k,
|
3194
3194
|
noop: V,
|
3195
|
-
openOverlay:
|
3195
|
+
openOverlay: Zo,
|
3196
3196
|
overlayTimer: lt,
|
3197
3197
|
placementUpdatedSymbol: $e,
|
3198
3198
|
removeSlottableRequest: Rt,
|
@@ -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";const d=require("./luzmo-icons-
|
20
|
+
"use strict";const d=require("./luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs"),n=require("./base-D76d76ww-tT6yr8eb.cjs"),s=require("./button-base-DbkDzb71-CY6MJGqE.cjs");/*! * Lucero - The design system for Luzmo.
|
21
21
|
*
|
22
22
|
* Copyright © 2025 Luzmo
|
23
23
|
* All rights reserved.
|
@@ -37,6 +37,6 @@
|
|
37
37
|
<div
|
38
38
|
class="hold-affordance corner-triangle-${this.size}"
|
39
39
|
>
|
40
|
-
${d.D(d.
|
40
|
+
${d.D(d.V)}
|
41
41
|
</div>
|
42
42
|
`),o}updated(o){super.updated(o);const t=this.role==="button",r=t&&(this.selected||this.toggles)&&!(this.hasAttribute("aria-haspopup")&&this.hasAttribute("aria-expanded"));(o.has("selected")||o.has("role"))&&(r?this.setAttribute("aria-pressed",this.selected?"true":"false"):(this.removeAttribute("aria-pressed"),t&&this.toggles&&this.hasAttribute("aria-expanded")&&this.setAttribute("aria-expanded",this.selected?"true":"false"))),o.has("holdAffordance")&&(this.holdAffordance?this.addEventListener("pointerdown",this.handlePointerdownHoldAffordance):(this.removeEventListener("pointerdown",this.handlePointerdownHoldAffordance),this.handlePointerupHoldAffordance()))}}e([n.zt({type:Boolean,reflect:!0})],a.prototype,"emphasized",2);e([n.zt({type:Boolean,reflect:!0,attribute:"hold-affordance"})],a.prototype,"holdAffordance",2);e([n.zt({type:Boolean,reflect:!0})],a.prototype,"quiet",2);e([n.zt({reflect:!0})],a.prototype,"role",2);e([n.zt({type:Boolean,reflect:!0})],a.prototype,"selected",2);e([n.zt({type:Boolean,reflect:!0})],a.prototype,"toggles",2);e([n.zt({reflect:!0,attribute:"static-color"})],a.prototype,"staticColor",2);e([n.zt({type:String})],a.prototype,"value",1);customElements.get("luzmo-action-button")||customElements.define("luzmo-action-button",a);
|
@@ -77,7 +77,7 @@
|
|
77
77
|
<span id="label"><slot></slot></span>
|
78
78
|
<span id="tip" aria-hidden="true"></span>
|
79
79
|
</luzmo-tooltip-openable>
|
80
|
-
`;return this.selfManaged?(this.dependencyManager.add("luzmo-overlay"),Promise.resolve().then(()=>require("./index-
|
80
|
+
`;return this.selfManaged?(this.dependencyManager.add("luzmo-overlay"),Promise.resolve().then(()=>require("./index-CcDZIqpD.cjs")).then(t=>t.index),e.Rt`
|
81
81
|
<luzmo-overlay
|
82
82
|
?open=${this.open&&!this.disabled&&this.dependencyManager.loaded}
|
83
83
|
?delayed=${this.delayed}
|