@luzmo/analytics-components-kit 1.0.1-alpha.5 → 1.0.1-alpha.6
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/{async-directive-FGzMycjH-CeG35vZ3.cjs → async-directive-DWRUSKKF-C2JoUGYR.cjs} +3 -3
- package/components/{async-directive-FGzMycjH-Bgeca09f.js → async-directive-DWRUSKKF-CNTJHpgh.js} +1 -1
- package/components/{button-base-CDLQV7Vk-C_3zTrbV.js → button-base-B7v4eeRh-B4fczZlv.js} +3 -3
- package/components/{button-base-CDLQV7Vk-BXgdcJZo.cjs → button-base-B7v4eeRh-CjngVDsD.cjs} +4 -4
- package/components/{checkbox-mixin-DXUIwtea-wiCZr_KI.js → checkbox-mixin-BFGTmw17-BR4ufh0S.js} +6 -6
- package/components/{checkbox-mixin-DXUIwtea-DNISZS47.cjs → checkbox-mixin-BFGTmw17-lIHmn1jk.cjs} +4 -4
- package/components/{directive-helpers-BLDZnGQv-DYFfxaqA.cjs → directive-helpers-nlQRAaQt-CQ_hWlbQ.cjs} +2 -2
- package/components/{directive-helpers-BLDZnGQv-oKMCBvb2.js → directive-helpers-nlQRAaQt-arNFWD5u.js} +10 -10
- package/components/display-settings/index.cjs +3 -3
- package/components/display-settings/index.js +11 -11
- package/components/display-settings-binning/display-settings-binning.d.ts +2 -2
- package/components/display-settings-binning/index.cjs +5 -5
- package/components/display-settings-binning/index.js +17 -18
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/display-settings-grand-totals/index.cjs +2 -2
- package/components/display-settings-grand-totals/index.js +12 -12
- package/components/display-settings-numeric/index.cjs +2 -2
- package/components/display-settings-numeric/index.js +36 -36
- package/components/display-settings-period-over-period/index.cjs +5 -5
- package/components/display-settings-period-over-period/index.js +85 -85
- package/components/draggable-data-item/index.cjs +2 -2
- package/components/draggable-data-item/index.js +2 -2
- package/components/draggable-data-item-level/index.cjs +5 -5
- package/components/draggable-data-item-level/index.js +85 -85
- package/components/droppable-slot/index.cjs +4 -4
- package/components/droppable-slot/index.js +8 -8
- package/components/edit-item/index.cjs +7 -7
- package/components/edit-item/index.js +72 -72
- package/components/edit-option/index.cjs +3 -3
- package/components/edit-option/index.js +3 -3
- package/components/edit-option-action-button-group/index.cjs +2 -2
- package/components/edit-option-action-button-group/index.js +37 -37
- package/components/{edit-option-base-DnrerC_T.cjs → edit-option-base-Ck3NFAli.cjs} +2 -2
- package/components/{edit-option-base-oIvlolV9.js → edit-option-base-w3UBiCoU.js} +4 -4
- package/components/edit-option-color-picker/index.cjs +33 -33
- package/components/edit-option-color-picker/index.js +131 -131
- 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-positions-number-field/index.cjs +3 -3
- package/components/edit-option-positions-number-field/index.js +7 -7
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +4 -4
- package/components/edit-option-slider/index.cjs +3 -3
- package/components/edit-option-slider/index.js +217 -217
- package/components/edit-option-switch/index.cjs +4 -4
- package/components/edit-option-switch/index.js +30 -30
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +3 -3
- package/components/{en-GB-g8rSQSba.cjs → en-BvtH5B9A.cjs} +1 -1
- package/components/en-CN4CDOzo.js +23 -0
- package/components/{en-GB-qub-Kemt.js → en-GB-BMvD7axC.js} +1 -1
- package/components/en-GB-DrOGXwdM.cjs +20 -0
- package/components/en-US-BvtH5B9A.cjs +20 -0
- package/components/en-US-CN4CDOzo.js +23 -0
- package/components/{if-defined-CYpcjGCb-Bzbg7zmM.cjs → if-defined-BSAr_4u4-CNmaFBUP.cjs} +2 -2
- package/components/{if-defined-CYpcjGCb-tXzyj9Dq.js → if-defined-BSAr_4u4-CVDyXUmc.js} +4 -4
- package/components/{if-defined-Ch2dtEOS.js → if-defined-_S7apvH1.js} +1 -1
- package/components/{if-defined-DMSuo5Qx.cjs → if-defined-aQZR75uI.cjs} +1 -1
- package/components/{index-B0cBkCaq.cjs → index-B0ZqIWfU.cjs} +4 -4
- package/components/{index-DQiQXn8N.cjs → index-BEi8DTwW.cjs} +1 -1
- package/components/{index-3ewegRbb.cjs → index-Bti4K2L2.cjs} +4 -4
- package/components/{index-BGaxFTL4.js → index-BuW8doNV.js} +4 -4
- package/components/{index-Bofs4Q2E.cjs → index-BxFGd_xp.cjs} +1 -1
- package/components/{index-liTHhAef.cjs → index-ByfMhxDr.cjs} +2 -2
- package/components/{index-Cp-lHUlX.js → index-C44nA7Wn.js} +3 -3
- package/components/{index-BqTdFs1o.js → index-CHLcEawI.js} +3 -3
- package/components/{index-CTPox3yS.cjs → index-CKbGBBId.cjs} +3 -3
- package/components/{index-C2qG2Sm8-BQUlk-w0.js → index-CMvLpPKD-CgGXdNKs.js} +20 -20
- package/components/{index-C2qG2Sm8-CbVWlbag.cjs → index-CMvLpPKD-DoxJRhRP.cjs} +14 -14
- package/components/index-CQjWiSIp.cjs +202 -0
- package/components/{index-B2N_PZf3.js → index-C_Cxv6xn.js} +4 -4
- package/components/index-C_xCeCrL.cjs +185 -0
- package/components/{index-C_3Ak4MQ.cjs → index-CdHFj3ra.cjs} +5 -5
- package/components/{index-DskAouD-.js → index-Ci0Pe5UA.js} +4 -4
- package/components/{index-CayjvyyX.cjs → index-DC2Pby0z.cjs} +4 -4
- package/components/index-DDleIdd8.cjs +192 -0
- package/components/{index-CtHO6VyI.cjs → index-DLrQ4hc5.cjs} +4 -4
- package/components/{index-BC-nmKjU.js → index-DMbzEC_s.js} +13 -13
- package/components/{index-BRk42NQn.js → index-DUlH3hbL.js} +166 -166
- package/components/{en-BsAhbMzm.js → index-DeyQ1JGg.js} +404 -411
- package/components/{index-B2z7i1-X.js → index-DiSrnT1e.js} +7 -7
- package/components/{index-DVaeDCbe.js → index-Dkom_Qy5.js} +1 -1
- package/components/{index-ON4x-yZ7.cjs → index-DxXcY78P.cjs} +2 -2
- package/components/{index-D9vzXhtJ.cjs → index-EkTLplXl.cjs} +8 -8
- package/components/{index-BD3VxQBH.js → index-FSUV_4nO.js} +1 -1
- package/components/{index-CkDDDzuJ.js → index-Pmv-d4iw.js} +25 -25
- package/components/{index-DszPbTTD.js → index-aLxc3xA_.js} +17 -17
- package/components/{index-EQldC-LR.js → index-dJXOanPE.js} +4 -4
- package/components/{index-gfU9TGd5.cjs → index-f8GtjOLn.cjs} +3 -3
- package/components/{index-B5VaT0lQ.js → index-fbS4OrPM.js} +3 -3
- package/components/index.cjs +1 -1
- package/components/index.js +1 -1
- package/components/{language-resolution-8yZa5r_P-CTSmbE1U.js → language-resolution-8yZa5r_P-CLZhU076.js} +3 -3
- package/components/{language-resolution-8yZa5r_P-DQ3rZzW5.cjs → language-resolution-8yZa5r_P-CpbzT4ej.cjs} +3 -3
- package/components/{observe-slot-text-BG0H7bQK-CrkAqUMj.cjs → observe-slot-text-ggb4kKgY-DqsddtTd.cjs} +4 -4
- package/components/{observe-slot-text-BG0H7bQK-C0wmc4DO.js → observe-slot-text-ggb4kKgY-yUxhPbbJ.js} +4 -4
- package/components/{popover-bg0EQQ8p-D4-hrhIx.js → popover-DlkzrLpl-DFIvgCjc.js} +3 -3
- package/components/{popover-bg0EQQ8p-Dha09dhV.cjs → popover-DlkzrLpl-TYw7ejnD.cjs} +5 -5
- package/components/{property-CD3dwBJC.js → property-CXJD1jOW.js} +661 -628
- package/components/property-ChsOQ1Yj.cjs +112 -0
- package/components/{sized-mixin-PyCYpyQq-B40Ek2UB.js → sized-mixin-BxMraZLS-Dc6r-Wg4.js} +1 -1
- package/components/{sized-mixin-PyCYpyQq-sKzDjc75.cjs → sized-mixin-BxMraZLS-w9I35lP7.cjs} +2 -2
- package/components/slot-menu/index.cjs +4 -4
- package/components/slot-menu/index.js +4 -4
- package/components/slot-menu-list/index.cjs +3 -3
- package/components/slot-menu-list/index.js +19 -19
- package/components/{state-ByiKNRhp.cjs → state-DLrsMPet.cjs} +1 -1
- package/components/{state-B1a8XIDm.js → state-DwFtyqCc.js} +1 -1
- package/components/{task-HFsHfTra.cjs → task-CgK9ztaw.cjs} +1 -1
- package/components/{task-BPD0PyaQ.js → task-DYLITx7R.js} +1 -1
- package/components/{text-field-7ITo3Lac-DqVO04kR.js → text-field-CvKSS59x-BzSqtt2_.js} +29 -29
- package/components/text-field-CvKSS59x-D0MM0fDH.cjs +131 -0
- package/package.json +1 -1
- package/components/en-CdROUdjt.cjs +0 -202
- package/components/index-Bjs6Yqet.cjs +0 -185
- package/components/index-D4x-O9Uc.cjs +0 -192
- package/components/luzmo-icons-BrtBl3E5.cjs +0 -31
- package/components/luzmo-icons-CZEpXpvy.js +0 -613
- package/components/property-Su1Q6aME.cjs +0 -124
- package/components/text-field-7ITo3Lac-CKXsSqJP.cjs +0 -131
@@ -17,13 +17,13 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import {
|
21
|
-
import { _ as
|
22
|
-
import { m as $t, d as gt } from "./if-defined-
|
20
|
+
import { v as De, k as ge, H as A, h as fe, R as x, d as ve, w as ye } from "./property-CXJD1jOW.js";
|
21
|
+
import { _ as Bt, $ as Fe, s as Ne, n as mt } from "./directive-helpers-nlQRAaQt-arNFWD5u.js";
|
22
|
+
import { m as $t, d as gt } from "./if-defined-BSAr_4u4-CVDyXUmc.js";
|
23
23
|
import { o as qe } from "./base-D76d76ww-gf0ESLsU.js";
|
24
|
-
import { u as Nt, n as
|
25
|
-
import { t as ft } from "./index-
|
26
|
-
import { a as
|
24
|
+
import { u as Nt, n as Mt, d as He, h as _e } from "./element-resolution-FCUT-wql--7ctE626.js";
|
25
|
+
import { t as ft } from "./index-Ci0Pe5UA.js";
|
26
|
+
import { a as Be, w as Me, C as Ie } from "./async-directive-DWRUSKKF-CNTJHpgh.js";
|
27
27
|
/*! * Lucero - The design system for Luzmo.
|
28
28
|
*
|
29
29
|
* Copyright © 2025 Luzmo
|
@@ -46,7 +46,7 @@ import { a as _e, w as Ie, C as Me } from "./async-directive-FGzMycjH-Bgeca09f.j
|
|
46
46
|
* Copyright 2018 Google LLC
|
47
47
|
* SPDX-License-Identifier: BSD-3-Clause
|
48
48
|
*/
|
49
|
-
const be = "important", We = " !" + be, re =
|
49
|
+
const be = "important", We = " !" + be, re = Bt(class extends Fe {
|
50
50
|
constructor(e) {
|
51
51
|
var t;
|
52
52
|
if (super(e), e.type !== Ne.ATTRIBUTE || e.name !== "style" || ((t = e.strings) == null ? void 0 : t.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
@@ -148,14 +148,14 @@ function Ue(e) {
|
|
148
148
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
149
149
|
* SOFTWARE.
|
150
150
|
* */
|
151
|
-
function
|
151
|
+
function Ve(e, t, n = []) {
|
152
152
|
for (const [o, i] of t.entries()) {
|
153
153
|
const s = e[o], l = s.parentElement || s.getRootNode();
|
154
154
|
n[o] && n[o](i), l && l !== s && s.replaceWith(i), delete e[o];
|
155
155
|
}
|
156
156
|
return t;
|
157
157
|
}
|
158
|
-
const
|
158
|
+
const je = (e, t, {
|
159
159
|
position: n,
|
160
160
|
prepareCallback: o
|
161
161
|
} = { position: "beforeend" }) => {
|
@@ -174,12 +174,12 @@ const Ve = (e, t, {
|
|
174
174
|
d && d !== h && d.replaceChild(r[l], h), t.insertAdjacentElement(n, h), l += s;
|
175
175
|
} while (--i > 0);
|
176
176
|
return function() {
|
177
|
-
return
|
177
|
+
return Ve(r, e, a);
|
178
178
|
};
|
179
|
-
}, Ke = 1e3,
|
180
|
-
class
|
179
|
+
}, Ke = 1e3, Je = 1e3;
|
180
|
+
class Xe {
|
181
181
|
constructor(t = {}) {
|
182
|
-
this.warmUpDelay = Ke, this.coolDownDelay =
|
182
|
+
this.warmUpDelay = Ke, this.coolDownDelay = Je, this.isWarm = !1, this.timeout = 0, Object.assign(this, t);
|
183
183
|
}
|
184
184
|
openTimer(t) {
|
185
185
|
if (this.cancelCooldownTimer(), !this.component || t !== this.component)
|
@@ -204,7 +204,7 @@ class Ye {
|
|
204
204
|
this.cooldownTimeout && window.clearTimeout(this.cooldownTimeout), delete this.cooldownTimeout;
|
205
205
|
}
|
206
206
|
}
|
207
|
-
const lt = new
|
207
|
+
const lt = new Xe(), j = () => {
|
208
208
|
}, vt = (e, t, n) => {
|
209
209
|
const o = new AbortController(), i = /* @__PURE__ */ new Map(), s = () => {
|
210
210
|
o.abort(), n();
|
@@ -238,9 +238,9 @@ const lt = new Ye(), V = () => {
|
|
238
238
|
function T() {
|
239
239
|
return new Promise((e) => requestAnimationFrame(() => e()));
|
240
240
|
}
|
241
|
-
class
|
241
|
+
class G extends ge {
|
242
242
|
constructor() {
|
243
|
-
super(...arguments), this.dispose =
|
243
|
+
super(...arguments), this.dispose = j, this.offset = 0, this.willPreventClose = !1;
|
244
244
|
}
|
245
245
|
applyFocus(t, n) {
|
246
246
|
}
|
@@ -317,7 +317,7 @@ class J extends ge {
|
|
317
317
|
await Promise.resolve().then(() => kt);
|
318
318
|
const s = arguments.length === 2, l = o || t, r = new this();
|
319
319
|
let a = !1;
|
320
|
-
const c =
|
320
|
+
const c = je([l], r, {
|
321
321
|
position: "beforeend",
|
322
322
|
prepareCallback: (d) => {
|
323
323
|
const p = d.slot;
|
@@ -331,10 +331,10 @@ class J extends ge {
|
|
331
331
|
a || (c(), a = !0), requestAnimationFrame(() => {
|
332
332
|
r.remove();
|
333
333
|
});
|
334
|
-
}), r.open = !1, r.dispose =
|
334
|
+
}), r.open = !1, r.dispose = j;
|
335
335
|
}, !s && l && i) {
|
336
336
|
const d = t, p = n, u = i;
|
337
|
-
return
|
337
|
+
return G.applyOptions(r, {
|
338
338
|
...u,
|
339
339
|
delayed: u.delayed || l.hasAttribute("delayed"),
|
340
340
|
trigger: u.virtualTrigger || d,
|
@@ -342,7 +342,7 @@ class J extends ge {
|
|
342
342
|
}), d.after(r), await r.updateComplete, r.open = !0, r.dispose;
|
343
343
|
}
|
344
344
|
const h = n;
|
345
|
-
return r.append(l),
|
345
|
+
return r.append(l), G.applyOptions(r, {
|
346
346
|
...h,
|
347
347
|
delayed: h.delayed || l.hasAttribute("delayed")
|
348
348
|
}), r.updateComplete.then(() => {
|
@@ -353,7 +353,7 @@ class J extends ge {
|
|
353
353
|
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;
|
354
354
|
}
|
355
355
|
}
|
356
|
-
const
|
356
|
+
const It = (e) => e.querySelector(
|
357
357
|
ft
|
358
358
|
), Wt = (e) => e.assignedElements().find((t) => t.matches(ft));
|
359
359
|
class Ut extends Event {
|
@@ -364,7 +364,7 @@ class Ut extends Event {
|
|
364
364
|
}), this.currentState = "open", this.newState = "closed";
|
365
365
|
}
|
366
366
|
}
|
367
|
-
class
|
367
|
+
class Vt extends Event {
|
368
368
|
constructor() {
|
369
369
|
super("beforetoggle", {
|
370
370
|
bubbles: !1,
|
@@ -392,7 +392,7 @@ class ct {
|
|
392
392
|
this.x = 0, this.y = 0, this.x = t, this.y = n;
|
393
393
|
}
|
394
394
|
updateBoundingClientRect(t, n) {
|
395
|
-
this.x = t, this.y = n,
|
395
|
+
this.x = t, this.y = n, G.update();
|
396
396
|
}
|
397
397
|
getBoundingClientRect() {
|
398
398
|
return {
|
@@ -410,7 +410,7 @@ class ct {
|
|
410
410
|
};
|
411
411
|
}
|
412
412
|
}
|
413
|
-
function
|
413
|
+
function Ye(e) {
|
414
414
|
class t extends e {
|
415
415
|
async manageDialogOpen() {
|
416
416
|
const o = this.open;
|
@@ -430,8 +430,8 @@ function Ge(e) {
|
|
430
430
|
}
|
431
431
|
if (a > 0)
|
432
432
|
return;
|
433
|
-
const c = o ?
|
434
|
-
this.dispatchEvent(new c()), o && (r.matches(ft) && (i = r), i = i ||
|
433
|
+
const c = o ? Vt : Ut;
|
434
|
+
this.dispatchEvent(new c()), o && (r.matches(ft) && (i = r), i = i || It(r), i || r.querySelectorAll("slot").forEach((h) => {
|
435
435
|
i || (i = Wt(h));
|
436
436
|
}), !(!this.isConnected || this.dialogEl.open) && this.dialogEl.showModal());
|
437
437
|
}, l = (r, a) => () => {
|
@@ -486,7 +486,7 @@ function Ge(e) {
|
|
486
486
|
}
|
487
487
|
return t;
|
488
488
|
}
|
489
|
-
function
|
489
|
+
function Ge(e) {
|
490
490
|
class t extends e {
|
491
491
|
async managePopoverOpen() {
|
492
492
|
await this.managePosition();
|
@@ -508,10 +508,10 @@ function Je(e) {
|
|
508
508
|
const s = (r, a) => () => {
|
509
509
|
if (o === this.open) {
|
510
510
|
if (r.open = o, a === 0) {
|
511
|
-
const c = o ?
|
511
|
+
const c = o ? Vt : Ut;
|
512
512
|
this.dispatchEvent(new c());
|
513
513
|
}
|
514
|
-
o !== !0 || (r.matches(ft) && (i = r), i = i ||
|
514
|
+
o !== !0 || (r.matches(ft) && (i = r), i = i || It(r), i) || r.querySelectorAll("slot").forEach((c) => {
|
515
515
|
i || (i = Wt(c));
|
516
516
|
});
|
517
517
|
}
|
@@ -610,10 +610,10 @@ function Qe(e) {
|
|
610
610
|
let i = null;
|
611
611
|
const s = (r, a) => () => {
|
612
612
|
if (r.open = o, a === 0) {
|
613
|
-
const c = o ?
|
613
|
+
const c = o ? Vt : Ut;
|
614
614
|
this.dispatchEvent(new c());
|
615
615
|
}
|
616
|
-
!o || (r.matches(ft) && (i = r), i = i ||
|
616
|
+
!o || (r.matches(ft) && (i = r), i = i || It(r), i) || r.querySelectorAll("slot").forEach((c) => {
|
617
617
|
i || (i = Wt(c));
|
618
618
|
});
|
619
619
|
}, l = (r, a) => () => {
|
@@ -781,7 +781,7 @@ class eo {
|
|
781
781
|
this.closeOverlay(t);
|
782
782
|
}
|
783
783
|
}
|
784
|
-
const ae = new eo(), oo = ':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,
|
784
|
+
const ae = new eo(), oo = ':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, R = Math.max, Ot = Math.round, xt = Math.floor, M = (e) => ({
|
785
785
|
x: e,
|
786
786
|
y: e
|
787
787
|
}), no = {
|
@@ -794,7 +794,7 @@ const ae = new eo(), oo = ':host{display:contents;pointer-events:none;--luzmo-ov
|
|
794
794
|
end: "start"
|
795
795
|
};
|
796
796
|
function qt(e, t, n) {
|
797
|
-
return
|
797
|
+
return R(e, Z(t, n));
|
798
798
|
}
|
799
799
|
function ht(e, t) {
|
800
800
|
return typeof e == "function" ? e(t) : e;
|
@@ -808,7 +808,7 @@ function dt(e) {
|
|
808
808
|
function xe(e) {
|
809
809
|
return e === "x" ? "y" : "x";
|
810
810
|
}
|
811
|
-
function
|
811
|
+
function jt(e) {
|
812
812
|
return e === "y" ? "height" : "width";
|
813
813
|
}
|
814
814
|
function et(e) {
|
@@ -819,7 +819,7 @@ function Kt(e) {
|
|
819
819
|
}
|
820
820
|
function so(e, t, n) {
|
821
821
|
n === void 0 && (n = !1);
|
822
|
-
const o = dt(e), i = Kt(e), s =
|
822
|
+
const o = dt(e), i = Kt(e), s = jt(i);
|
823
823
|
let l = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
|
824
824
|
return t.reference[s] > t.floating[s] && (l = Pt(l)), [l, Pt(l)];
|
825
825
|
}
|
@@ -891,7 +891,7 @@ function ce(e, t, n) {
|
|
891
891
|
reference: o,
|
892
892
|
floating: i
|
893
893
|
} = e;
|
894
|
-
const s = et(t), l = Kt(t), r =
|
894
|
+
const s = et(t), l = Kt(t), r = jt(l), a = Q(t), c = s === "y", h = o.x + o.width / 2 - i.width / 2, d = o.y + o.height / 2 - i.height / 2, p = o[r] / 2 - i[r] / 2;
|
895
895
|
let u;
|
896
896
|
switch (a) {
|
897
897
|
case "top":
|
@@ -995,7 +995,7 @@ const ho = async (e, t, n) => {
|
|
995
995
|
middlewareData: u
|
996
996
|
};
|
997
997
|
};
|
998
|
-
async function
|
998
|
+
async function Jt(e, t) {
|
999
999
|
var n;
|
1000
1000
|
t === void 0 && (t = {});
|
1001
1001
|
const {
|
@@ -1061,20 +1061,20 @@ const uo = (e) => ({
|
|
1061
1061
|
const d = Ee(h), p = {
|
1062
1062
|
x: n,
|
1063
1063
|
y: o
|
1064
|
-
}, u = Kt(i), m =
|
1064
|
+
}, u = Kt(i), m = jt(u), g = await l.getDimensions(c), f = u === "y", v = f ? "top" : "left", y = f ? "bottom" : "right", b = f ? "clientHeight" : "clientWidth", w = s.reference[m] + s.reference[u] - p[u] - s.floating[m], E = p[u] - s.reference[u], S = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(c));
|
1065
1065
|
let $ = S ? S[b] : 0;
|
1066
1066
|
(!$ || !await (l.isElement == null ? void 0 : l.isElement(S))) && ($ = r.floating[b] || s.floating[m]);
|
1067
|
-
const U = w / 2 - E / 2, H = $ / 2 - g[m] / 2 - 1, D = Z(d[v], H), K = Z(d[y], H),
|
1067
|
+
const U = w / 2 - E / 2, H = $ / 2 - g[m] / 2 - 1, D = Z(d[v], H), K = Z(d[y], H), _ = D, J = $ - g[m] - K, O = $ / 2 - g[m] / 2 + U, it = qt(_, O, J), V = !a.arrow && dt(i) != null && O !== it && s.reference[m] / 2 - (O < _ ? D : K) - g[m] / 2 < 0, B = V ? O < _ ? O - _ : O - J : 0;
|
1068
1068
|
return {
|
1069
|
-
[u]: p[u] +
|
1069
|
+
[u]: p[u] + B,
|
1070
1070
|
data: {
|
1071
1071
|
[u]: it,
|
1072
|
-
centerOffset: O - it -
|
1073
|
-
...
|
1074
|
-
alignmentOffset:
|
1072
|
+
centerOffset: O - it - B,
|
1073
|
+
...V && {
|
1074
|
+
alignmentOffset: B
|
1075
1075
|
}
|
1076
1076
|
},
|
1077
|
-
reset:
|
1077
|
+
reset: V
|
1078
1078
|
};
|
1079
1079
|
}
|
1080
1080
|
}), po = function(e) {
|
@@ -1103,7 +1103,7 @@ const uo = (e) => ({
|
|
1103
1103
|
return {};
|
1104
1104
|
const v = Q(i), y = et(r), b = Q(r) === r, w = await (a.isRTL == null ? void 0 : a.isRTL(c.floating)), E = p || (b || !g ? [Pt(r)] : ro(r)), S = m !== "none";
|
1105
1105
|
!p && S && E.push(...ao(r, g, m, w));
|
1106
|
-
const $ = [r, ...E], U = await
|
1106
|
+
const $ = [r, ...E], U = await Jt(t, f), H = [];
|
1107
1107
|
let D = ((o = s.flip) == null ? void 0 : o.overflows) || [];
|
1108
1108
|
if (h && H.push(U[v]), d) {
|
1109
1109
|
const O = so(i, l, w);
|
@@ -1113,7 +1113,7 @@ const uo = (e) => ({
|
|
1113
1113
|
placement: i,
|
1114
1114
|
overflows: H
|
1115
1115
|
}], !H.every((O) => O <= 0)) {
|
1116
|
-
var K,
|
1116
|
+
var K, _;
|
1117
1117
|
const O = (((K = s.flip) == null ? void 0 : K.index) || 0) + 1, it = $[O];
|
1118
1118
|
if (it)
|
1119
1119
|
return {
|
@@ -1125,31 +1125,31 @@ const uo = (e) => ({
|
|
1125
1125
|
placement: it
|
1126
1126
|
}
|
1127
1127
|
};
|
1128
|
-
let
|
1129
|
-
if (!
|
1128
|
+
let V = (_ = D.filter((B) => B.overflows[0] <= 0).sort((B, X) => B.overflows[1] - X.overflows[1])[0]) == null ? void 0 : _.placement;
|
1129
|
+
if (!V)
|
1130
1130
|
switch (u) {
|
1131
1131
|
case "bestFit": {
|
1132
|
-
var
|
1133
|
-
const
|
1132
|
+
var J;
|
1133
|
+
const B = (J = D.filter((X) => {
|
1134
1134
|
if (S) {
|
1135
|
-
const
|
1136
|
-
return
|
1135
|
+
const Y = et(X.placement);
|
1136
|
+
return Y === y || // Create a bias to the `y` side axis due to horizontal
|
1137
1137
|
// reading directions favoring greater width.
|
1138
|
-
|
1138
|
+
Y === "y";
|
1139
1139
|
}
|
1140
1140
|
return !0;
|
1141
|
-
}).map((
|
1142
|
-
|
1141
|
+
}).map((X) => [X.placement, X.overflows.filter((Y) => Y > 0).reduce((Y, $e) => Y + $e, 0)]).sort((X, Y) => X[1] - Y[1])[0]) == null ? void 0 : J[0];
|
1142
|
+
B && (V = B);
|
1143
1143
|
break;
|
1144
1144
|
}
|
1145
1145
|
case "initialPlacement":
|
1146
|
-
|
1146
|
+
V = r;
|
1147
1147
|
break;
|
1148
1148
|
}
|
1149
|
-
if (i !==
|
1149
|
+
if (i !== V)
|
1150
1150
|
return {
|
1151
1151
|
reset: {
|
1152
|
-
placement:
|
1152
|
+
placement: V
|
1153
1153
|
}
|
1154
1154
|
};
|
1155
1155
|
}
|
@@ -1234,7 +1234,7 @@ const go = function(e) {
|
|
1234
1234
|
} = ht(e, t), c = {
|
1235
1235
|
x: n,
|
1236
1236
|
y: o
|
1237
|
-
}, h = await
|
1237
|
+
}, h = await Jt(t, a), d = et(Q(i)), p = xe(d);
|
1238
1238
|
let u = c[p], m = c[d];
|
1239
1239
|
if (s) {
|
1240
1240
|
const f = p === "y" ? "top" : "left", v = p === "y" ? "bottom" : "right", y = u + h[f], b = u - h[v];
|
@@ -1277,7 +1277,7 @@ const go = function(e) {
|
|
1277
1277
|
apply: a = () => {
|
1278
1278
|
},
|
1279
1279
|
...c
|
1280
|
-
} = ht(e, t), h = await
|
1280
|
+
} = ht(e, t), h = await Jt(t, c), d = Q(i), p = dt(i), u = et(i) === "y", {
|
1281
1281
|
width: m,
|
1282
1282
|
height: g
|
1283
1283
|
} = s.floating;
|
@@ -1286,8 +1286,8 @@ const go = function(e) {
|
|
1286
1286
|
const y = g - h.top - h.bottom, b = m - h.left - h.right, w = Z(g - h[f], y), E = Z(m - h[v], b), S = !t.middlewareData.shift;
|
1287
1287
|
let $ = w, U = E;
|
1288
1288
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (U = b), (o = t.middlewareData.shift) != null && o.enabled.y && ($ = y), S && !p) {
|
1289
|
-
const D =
|
1290
|
-
u ? U = m - 2 * (D !== 0 || K !== 0 ? D + K :
|
1289
|
+
const D = R(h.left, 0), K = R(h.right, 0), _ = R(h.top, 0), J = R(h.bottom, 0);
|
1290
|
+
u ? U = m - 2 * (D !== 0 || K !== 0 ? D + K : R(h.left, h.right)) : $ = g - 2 * (_ !== 0 || J !== 0 ? _ + J : R(h.top, h.bottom));
|
1291
1291
|
}
|
1292
1292
|
await a({
|
1293
1293
|
...t,
|
@@ -1303,13 +1303,13 @@ const go = function(e) {
|
|
1303
1303
|
}
|
1304
1304
|
};
|
1305
1305
|
};
|
1306
|
-
function
|
1306
|
+
function Rt() {
|
1307
1307
|
return typeof window < "u";
|
1308
1308
|
}
|
1309
1309
|
function ut(e) {
|
1310
1310
|
return ze(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
1311
1311
|
}
|
1312
|
-
function
|
1312
|
+
function L(e) {
|
1313
1313
|
var t;
|
1314
1314
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
1315
1315
|
}
|
@@ -1318,16 +1318,16 @@ function W(e) {
|
|
1318
1318
|
return (t = (ze(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
1319
1319
|
}
|
1320
1320
|
function ze(e) {
|
1321
|
-
return
|
1321
|
+
return Rt() ? e instanceof Node || e instanceof L(e).Node : !1;
|
1322
1322
|
}
|
1323
1323
|
function N(e) {
|
1324
|
-
return
|
1324
|
+
return Rt() ? e instanceof Element || e instanceof L(e).Element : !1;
|
1325
1325
|
}
|
1326
|
-
function
|
1327
|
-
return
|
1326
|
+
function I(e) {
|
1327
|
+
return Rt() ? e instanceof HTMLElement || e instanceof L(e).HTMLElement : !1;
|
1328
1328
|
}
|
1329
1329
|
function he(e) {
|
1330
|
-
return !
|
1330
|
+
return !Rt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof L(e).ShadowRoot;
|
1331
1331
|
}
|
1332
1332
|
function yt(e) {
|
1333
1333
|
const {
|
@@ -1341,7 +1341,7 @@ function yt(e) {
|
|
1341
1341
|
function yo(e) {
|
1342
1342
|
return ["table", "td", "th"].includes(ut(e));
|
1343
1343
|
}
|
1344
|
-
function
|
1344
|
+
function Lt(e) {
|
1345
1345
|
return [":popover-open", ":modal"].some((t) => {
|
1346
1346
|
try {
|
1347
1347
|
return e.matches(t);
|
@@ -1350,29 +1350,29 @@ function Rt(e) {
|
|
1350
1350
|
}
|
1351
1351
|
});
|
1352
1352
|
}
|
1353
|
-
function
|
1354
|
-
const t =
|
1353
|
+
function Xt(e) {
|
1354
|
+
const t = Yt(), n = N(e) ? q(e) : e;
|
1355
1355
|
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));
|
1356
1356
|
}
|
1357
1357
|
function bo(e) {
|
1358
1358
|
let t = tt(e);
|
1359
|
-
for (;
|
1360
|
-
if (
|
1359
|
+
for (; I(t) && !at(t); ) {
|
1360
|
+
if (Xt(t))
|
1361
1361
|
return t;
|
1362
|
-
if (
|
1362
|
+
if (Lt(t))
|
1363
1363
|
return null;
|
1364
1364
|
t = tt(t);
|
1365
1365
|
}
|
1366
1366
|
return null;
|
1367
1367
|
}
|
1368
|
-
function
|
1368
|
+
function Yt() {
|
1369
1369
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
1370
1370
|
}
|
1371
1371
|
function at(e) {
|
1372
1372
|
return ["html", "body", "#document"].includes(ut(e));
|
1373
1373
|
}
|
1374
1374
|
function q(e) {
|
1375
|
-
return
|
1375
|
+
return L(e).getComputedStyle(e);
|
1376
1376
|
}
|
1377
1377
|
function At(e) {
|
1378
1378
|
return N(e) ? {
|
@@ -1397,38 +1397,38 @@ function tt(e) {
|
|
1397
1397
|
}
|
1398
1398
|
function Ce(e) {
|
1399
1399
|
const t = tt(e);
|
1400
|
-
return at(t) ? e.ownerDocument ? e.ownerDocument.body : e.body :
|
1400
|
+
return at(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : I(t) && yt(t) ? t : Ce(t);
|
1401
1401
|
}
|
1402
1402
|
function pt(e, t, n) {
|
1403
1403
|
var o;
|
1404
1404
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
1405
|
-
const i = Ce(e), s = i === ((o = e.ownerDocument) == null ? void 0 : o.body), l =
|
1405
|
+
const i = Ce(e), s = i === ((o = e.ownerDocument) == null ? void 0 : o.body), l = L(i);
|
1406
1406
|
if (s) {
|
1407
|
-
const r =
|
1407
|
+
const r = _t(l);
|
1408
1408
|
return t.concat(l, l.visualViewport || [], yt(i) ? i : [], r && n ? pt(r) : []);
|
1409
1409
|
}
|
1410
1410
|
return t.concat(i, pt(i, [], n));
|
1411
1411
|
}
|
1412
|
-
function
|
1412
|
+
function _t(e) {
|
1413
1413
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
1414
1414
|
}
|
1415
1415
|
function Oe(e) {
|
1416
1416
|
const t = q(e);
|
1417
1417
|
let n = parseFloat(t.width) || 0, o = parseFloat(t.height) || 0;
|
1418
|
-
const i =
|
1418
|
+
const i = I(e), s = i ? e.offsetWidth : n, l = i ? e.offsetHeight : o, r = Ot(n) !== s || Ot(o) !== l;
|
1419
1419
|
return r && (n = s, o = l), {
|
1420
1420
|
width: n,
|
1421
1421
|
height: o,
|
1422
1422
|
$: r
|
1423
1423
|
};
|
1424
1424
|
}
|
1425
|
-
function
|
1425
|
+
function Gt(e) {
|
1426
1426
|
return N(e) ? e : e.contextElement;
|
1427
1427
|
}
|
1428
1428
|
function rt(e) {
|
1429
|
-
const t =
|
1430
|
-
if (!
|
1431
|
-
return
|
1429
|
+
const t = Gt(e);
|
1430
|
+
if (!I(t))
|
1431
|
+
return M(1);
|
1432
1432
|
const n = t.getBoundingClientRect(), {
|
1433
1433
|
width: o,
|
1434
1434
|
height: i,
|
@@ -1440,30 +1440,30 @@ function rt(e) {
|
|
1440
1440
|
y: r
|
1441
1441
|
};
|
1442
1442
|
}
|
1443
|
-
const wo = /* @__PURE__ */
|
1443
|
+
const wo = /* @__PURE__ */ M(0);
|
1444
1444
|
function Pe(e) {
|
1445
|
-
const t =
|
1446
|
-
return !
|
1445
|
+
const t = L(e);
|
1446
|
+
return !Yt() || !t.visualViewport ? wo : {
|
1447
1447
|
x: t.visualViewport.offsetLeft,
|
1448
1448
|
y: t.visualViewport.offsetTop
|
1449
1449
|
};
|
1450
1450
|
}
|
1451
1451
|
function xo(e, t, n) {
|
1452
|
-
return t === void 0 && (t = !1), !n || t && n !==
|
1452
|
+
return t === void 0 && (t = !1), !n || t && n !== L(e) ? !1 : t;
|
1453
1453
|
}
|
1454
1454
|
function ot(e, t, n, o) {
|
1455
1455
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
1456
|
-
const i = e.getBoundingClientRect(), s =
|
1457
|
-
let l =
|
1456
|
+
const i = e.getBoundingClientRect(), s = Gt(e);
|
1457
|
+
let l = M(1);
|
1458
1458
|
t && (o ? N(o) && (l = rt(o)) : l = rt(e));
|
1459
|
-
const r = xo(s, n, o) ? Pe(s) :
|
1459
|
+
const r = xo(s, n, o) ? Pe(s) : M(0);
|
1460
1460
|
let a = (i.left + r.x) / l.x, c = (i.top + r.y) / l.y, h = i.width / l.x, d = i.height / l.y;
|
1461
1461
|
if (s) {
|
1462
|
-
const p =
|
1463
|
-
let m = p, g =
|
1462
|
+
const p = L(s), u = o && N(o) ? L(o) : o;
|
1463
|
+
let m = p, g = _t(m);
|
1464
1464
|
for (; g && o && u !== m; ) {
|
1465
1465
|
const f = rt(g), v = g.getBoundingClientRect(), y = q(g), b = v.left + (g.clientLeft + parseFloat(y.paddingLeft)) * f.x, w = v.top + (g.clientTop + parseFloat(y.paddingTop)) * f.y;
|
1466
|
-
a *= f.x, c *= f.y, h *= f.x, d *= f.y, a += b, c += w, m =
|
1466
|
+
a *= f.x, c *= f.y, h *= f.x, d *= f.y, a += b, c += w, m = L(g), g = _t(m);
|
1467
1467
|
}
|
1468
1468
|
}
|
1469
1469
|
return Tt({
|
@@ -1495,19 +1495,19 @@ function Eo(e) {
|
|
1495
1495
|
offsetParent: o,
|
1496
1496
|
strategy: i
|
1497
1497
|
} = e;
|
1498
|
-
const s = i === "fixed", l = W(o), r = t ?
|
1498
|
+
const s = i === "fixed", l = W(o), r = t ? Lt(t.floating) : !1;
|
1499
1499
|
if (o === l || r && s)
|
1500
1500
|
return n;
|
1501
1501
|
let a = {
|
1502
1502
|
scrollLeft: 0,
|
1503
1503
|
scrollTop: 0
|
1504
|
-
}, c =
|
1505
|
-
const h =
|
1506
|
-
if ((d || !d && !s) && ((ut(o) !== "body" || yt(l)) && (a = At(o)),
|
1504
|
+
}, c = M(1);
|
1505
|
+
const h = M(0), d = I(o);
|
1506
|
+
if ((d || !d && !s) && ((ut(o) !== "body" || yt(l)) && (a = At(o)), I(o))) {
|
1507
1507
|
const u = ot(o);
|
1508
1508
|
c = rt(o), h.x = u.x + o.clientLeft, h.y = u.y + o.clientTop;
|
1509
1509
|
}
|
1510
|
-
const p = l && !d && !s ? Te(l, a, !0) :
|
1510
|
+
const p = l && !d && !s ? Te(l, a, !0) : M(0);
|
1511
1511
|
return {
|
1512
1512
|
width: n.width * c.x,
|
1513
1513
|
height: n.height * c.y,
|
@@ -1519,10 +1519,10 @@ function zo(e) {
|
|
1519
1519
|
return Array.from(e.getClientRects());
|
1520
1520
|
}
|
1521
1521
|
function Co(e) {
|
1522
|
-
const t = W(e), n = At(e), o = e.ownerDocument.body, i =
|
1522
|
+
const t = W(e), n = At(e), o = e.ownerDocument.body, i = R(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), s = R(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight);
|
1523
1523
|
let l = -n.scrollLeft + Zt(e);
|
1524
1524
|
const r = -n.scrollTop;
|
1525
|
-
return q(o).direction === "rtl" && (l +=
|
1525
|
+
return q(o).direction === "rtl" && (l += R(t.clientWidth, o.clientWidth) - i), {
|
1526
1526
|
width: i,
|
1527
1527
|
height: s,
|
1528
1528
|
x: l,
|
@@ -1530,11 +1530,11 @@ function Co(e) {
|
|
1530
1530
|
};
|
1531
1531
|
}
|
1532
1532
|
function Oo(e, t) {
|
1533
|
-
const n =
|
1533
|
+
const n = L(e), o = W(e), i = n.visualViewport;
|
1534
1534
|
let s = o.clientWidth, l = o.clientHeight, r = 0, a = 0;
|
1535
1535
|
if (i) {
|
1536
1536
|
s = i.width, l = i.height;
|
1537
|
-
const c =
|
1537
|
+
const c = Yt();
|
1538
1538
|
(!c || c && t === "fixed") && (r = i.offsetLeft, a = i.offsetTop);
|
1539
1539
|
}
|
1540
1540
|
return {
|
@@ -1545,7 +1545,7 @@ function Oo(e, t) {
|
|
1545
1545
|
};
|
1546
1546
|
}
|
1547
1547
|
function Po(e, t) {
|
1548
|
-
const n = ot(e, !0, t === "fixed"), o = n.top + e.clientTop, i = n.left + e.clientLeft, s =
|
1548
|
+
const n = ot(e, !0, t === "fixed"), o = n.top + e.clientTop, i = n.left + e.clientLeft, s = I(e) ? rt(e) : M(1), l = e.clientWidth * s.x, r = e.clientHeight * s.y, a = i * s.x, c = o * s.y;
|
1549
1549
|
return {
|
1550
1550
|
width: l,
|
1551
1551
|
height: r,
|
@@ -1584,7 +1584,7 @@ function To(e, t) {
|
|
1584
1584
|
const s = q(e).position === "fixed";
|
1585
1585
|
let l = s ? tt(e) : e;
|
1586
1586
|
for (; N(l) && !at(l); ) {
|
1587
|
-
const r = q(l), a =
|
1587
|
+
const r = q(l), a = Xt(l);
|
1588
1588
|
!a && r.position === "fixed" && (i = null), (s ? !a && !i : !a && r.position === "static" && i && ["absolute", "fixed"].includes(i.position) || yt(l) && !a && ke(e, l)) ? o = o.filter((c) => c !== l) : i = r, l = tt(l);
|
1589
1589
|
}
|
1590
1590
|
return t.set(e, o), o;
|
@@ -1596,9 +1596,9 @@ function ko(e) {
|
|
1596
1596
|
rootBoundary: o,
|
1597
1597
|
strategy: i
|
1598
1598
|
} = e;
|
1599
|
-
const s = [...n === "clippingAncestors" ?
|
1599
|
+
const s = [...n === "clippingAncestors" ? Lt(t) ? [] : To(t, this._c) : [].concat(n), o], l = s[0], r = s.reduce((a, c) => {
|
1600
1600
|
const h = de(t, c, i);
|
1601
|
-
return a.top =
|
1601
|
+
return a.top = R(h.top, a.top), a.right = Z(h.right, a.right), a.bottom = Z(h.bottom, a.bottom), a.left = R(h.left, a.left), a;
|
1602
1602
|
}, de(t, l, i));
|
1603
1603
|
return {
|
1604
1604
|
width: r.right - r.left,
|
@@ -1617,19 +1617,19 @@ function So(e) {
|
|
1617
1617
|
height: n
|
1618
1618
|
};
|
1619
1619
|
}
|
1620
|
-
function
|
1621
|
-
const o =
|
1620
|
+
function Ro(e, t, n) {
|
1621
|
+
const o = I(t), i = W(t), s = n === "fixed", l = ot(e, !0, s, t);
|
1622
1622
|
let r = {
|
1623
1623
|
scrollLeft: 0,
|
1624
1624
|
scrollTop: 0
|
1625
1625
|
};
|
1626
|
-
const a =
|
1626
|
+
const a = M(0);
|
1627
1627
|
if (o || !o && !s)
|
1628
1628
|
if ((ut(t) !== "body" || yt(i)) && (r = At(t)), o) {
|
1629
1629
|
const p = ot(t, !0, s, t);
|
1630
1630
|
a.x = p.x + t.clientLeft, a.y = p.y + t.clientTop;
|
1631
1631
|
} else i && (a.x = Zt(i));
|
1632
|
-
const c = i && !o && !s ? Te(i, r) :
|
1632
|
+
const c = i && !o && !s ? Te(i, r) : M(0), h = l.left + r.scrollLeft - a.x - c.x, d = l.top + r.scrollTop - a.y - c.y;
|
1633
1633
|
return {
|
1634
1634
|
x: h,
|
1635
1635
|
y: d,
|
@@ -1641,7 +1641,7 @@ function Dt(e) {
|
|
1641
1641
|
return q(e).position === "static";
|
1642
1642
|
}
|
1643
1643
|
function ue(e, t) {
|
1644
|
-
if (!
|
1644
|
+
if (!I(e) || q(e).position === "fixed")
|
1645
1645
|
return null;
|
1646
1646
|
if (t)
|
1647
1647
|
return t(e);
|
@@ -1649,10 +1649,10 @@ function ue(e, t) {
|
|
1649
1649
|
return W(e) === n && (n = n.ownerDocument.body), n;
|
1650
1650
|
}
|
1651
1651
|
function Se(e, t) {
|
1652
|
-
const n =
|
1653
|
-
if (
|
1652
|
+
const n = L(e);
|
1653
|
+
if (Lt(e))
|
1654
1654
|
return n;
|
1655
|
-
if (!
|
1655
|
+
if (!I(e)) {
|
1656
1656
|
let i = tt(e);
|
1657
1657
|
for (; i && !at(i); ) {
|
1658
1658
|
if (N(i) && !Dt(i))
|
@@ -1664,12 +1664,12 @@ function Se(e, t) {
|
|
1664
1664
|
let o = ue(e, t);
|
1665
1665
|
for (; o && yo(o) && Dt(o); )
|
1666
1666
|
o = ue(o, t);
|
1667
|
-
return o && at(o) && Dt(o) && !
|
1667
|
+
return o && at(o) && Dt(o) && !Xt(o) ? n : o || bo(e) || n;
|
1668
1668
|
}
|
1669
|
-
const
|
1669
|
+
const Lo = async function(e) {
|
1670
1670
|
const t = this.getOffsetParent || Se, n = this.getDimensions, o = await n(e.floating);
|
1671
1671
|
return {
|
1672
|
-
reference:
|
1672
|
+
reference: Ro(e.reference, await t(e.floating), e.strategy),
|
1673
1673
|
floating: {
|
1674
1674
|
x: 0,
|
1675
1675
|
y: 0,
|
@@ -1686,14 +1686,14 @@ const $o = {
|
|
1686
1686
|
getDocumentElement: W,
|
1687
1687
|
getClippingRect: ko,
|
1688
1688
|
getOffsetParent: Se,
|
1689
|
-
getElementRects:
|
1689
|
+
getElementRects: Lo,
|
1690
1690
|
getClientRects: zo,
|
1691
1691
|
getDimensions: So,
|
1692
1692
|
getScale: rt,
|
1693
1693
|
isElement: N,
|
1694
1694
|
isRTL: Ao
|
1695
1695
|
};
|
1696
|
-
function
|
1696
|
+
function Re(e, t) {
|
1697
1697
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
1698
1698
|
}
|
1699
1699
|
function Do(e, t) {
|
@@ -1715,7 +1715,7 @@ function Do(e, t) {
|
|
1715
1715
|
return;
|
1716
1716
|
const m = xt(d), g = xt(i.clientWidth - (h + p)), f = xt(i.clientHeight - (d + u)), v = xt(h), y = {
|
1717
1717
|
rootMargin: -m + "px " + -g + "px " + -f + "px " + -v + "px",
|
1718
|
-
threshold:
|
1718
|
+
threshold: R(0, Z(1, a)) || 1
|
1719
1719
|
};
|
1720
1720
|
let b = !0;
|
1721
1721
|
function w(E) {
|
@@ -1727,7 +1727,7 @@ function Do(e, t) {
|
|
1727
1727
|
l(!1, 1e-7);
|
1728
1728
|
}, 1e3);
|
1729
1729
|
}
|
1730
|
-
S === 1 && !
|
1730
|
+
S === 1 && !Re(c, e.getBoundingClientRect()) && l(), b = !1;
|
1731
1731
|
}
|
1732
1732
|
try {
|
1733
1733
|
n = new IntersectionObserver(w, {
|
@@ -1750,7 +1750,7 @@ function pe(e, t, n, o) {
|
|
1750
1750
|
elementResize: l = typeof ResizeObserver == "function",
|
1751
1751
|
layoutShift: r = typeof IntersectionObserver == "function",
|
1752
1752
|
animationFrame: a = !1
|
1753
|
-
} = o, c =
|
1753
|
+
} = o, c = Gt(e), h = i || s ? [...c ? pt(c) : [], ...pt(t)] : [];
|
1754
1754
|
h.forEach((v) => {
|
1755
1755
|
i && v.addEventListener("scroll", n, {
|
1756
1756
|
passive: !0
|
@@ -1769,7 +1769,7 @@ function pe(e, t, n, o) {
|
|
1769
1769
|
a && f();
|
1770
1770
|
function f() {
|
1771
1771
|
const v = ot(e);
|
1772
|
-
g && !
|
1772
|
+
g && !Re(g, v) && n(), g = v, m = requestAnimationFrame(f);
|
1773
1773
|
}
|
1774
1774
|
return n(), () => {
|
1775
1775
|
var v;
|
@@ -1778,7 +1778,7 @@ function pe(e, t, n, o) {
|
|
1778
1778
|
}), d == null || d(), (v = u) == null || v.disconnect(), u = null, a && cancelAnimationFrame(m);
|
1779
1779
|
};
|
1780
1780
|
}
|
1781
|
-
const Fo = go, No = fo, me = po, qo = vo, Ho = uo,
|
1781
|
+
const Fo = go, No = fo, me = po, qo = vo, Ho = uo, _o = (e, t, n) => {
|
1782
1782
|
const o = /* @__PURE__ */ new Map(), i = {
|
1783
1783
|
platform: $o,
|
1784
1784
|
...n
|
@@ -1797,7 +1797,7 @@ function Et(e) {
|
|
1797
1797
|
const t = window.devicePixelRatio || 1;
|
1798
1798
|
return Math.round(e * t) / t;
|
1799
1799
|
}
|
1800
|
-
const zt = 8,
|
1800
|
+
const zt = 8, Bo = 100, Mo = (e) => ({
|
1801
1801
|
left: ["right", "bottom", "top"],
|
1802
1802
|
"left-start": ["right-start", "bottom", "top"],
|
1803
1803
|
"left-end": ["right-end", "bottom", "top"],
|
@@ -1810,7 +1810,7 @@ const zt = 8, _o = 100, Io = (e) => ({
|
|
1810
1810
|
bottom: ["top", "left", "right"],
|
1811
1811
|
"bottom-start": ["top-start", "left", "right"],
|
1812
1812
|
"bottom-end": ["top-end", "left", "right"]
|
1813
|
-
})[e] ?? [e],
|
1813
|
+
})[e] ?? [e], Le = Symbol("placement updated");
|
1814
1814
|
class Qt {
|
1815
1815
|
/**
|
1816
1816
|
* Creates an instance of the PlacementController.
|
@@ -1885,7 +1885,7 @@ class Qt {
|
|
1885
1885
|
await (document.fonts ? document.fonts.ready : Promise.resolve());
|
1886
1886
|
const s = o.trigger instanceof HTMLElement ? me() : me({
|
1887
1887
|
padding: zt,
|
1888
|
-
fallbackPlacements:
|
1888
|
+
fallbackPlacements: Mo(o.placement)
|
1889
1889
|
}), [l = 0, r = 0] = Array.isArray(o == null ? void 0 : o.offset) ? o.offset : [o.offset, 0], a = (t = this.host.elements.find(
|
1890
1890
|
(m) => m.tipElement
|
1891
1891
|
)) == null ? void 0 : t.tipElement, c = [
|
@@ -1899,7 +1899,7 @@ class Qt {
|
|
1899
1899
|
padding: zt,
|
1900
1900
|
apply: ({ availableWidth: m, availableHeight: g, rects: { floating: f } }) => {
|
1901
1901
|
const v = Math.max(
|
1902
|
-
|
1902
|
+
Bo,
|
1903
1903
|
Math.floor(g)
|
1904
1904
|
), y = f.height;
|
1905
1905
|
this.initialHeight = this.isConstrained && this.initialHeight || y, this.isConstrained = y < this.initialHeight || v <= y;
|
@@ -1916,7 +1916,7 @@ class Qt {
|
|
1916
1916
|
padding: o.tipPadding || zt
|
1917
1917
|
})
|
1918
1918
|
] : []
|
1919
|
-
], { x: h, y: d, placement: p, middlewareData: u } = await
|
1919
|
+
], { x: h, y: d, placement: p, middlewareData: u } = await _o(
|
1920
1920
|
o.trigger,
|
1921
1921
|
i,
|
1922
1922
|
{
|
@@ -2065,7 +2065,7 @@ class te extends bt {
|
|
2065
2065
|
);
|
2066
2066
|
}
|
2067
2067
|
}
|
2068
|
-
const
|
2068
|
+
const Io = 300;
|
2069
2069
|
class ee extends bt {
|
2070
2070
|
constructor() {
|
2071
2071
|
super(...arguments), this.type = nt.hover, this.elementIds = [], this.focusedin = !1, this.pointerentered = !1;
|
@@ -2104,11 +2104,11 @@ class ee extends bt {
|
|
2104
2104
|
[this.overlay.id]
|
2105
2105
|
);
|
2106
2106
|
this.releaseDescription = () => {
|
2107
|
-
t(), this.releaseDescription =
|
2107
|
+
t(), this.releaseDescription = j;
|
2108
2108
|
};
|
2109
2109
|
}
|
2110
2110
|
prepareContentRelativeDescription() {
|
2111
|
-
const t = [], n = this.overlay.elements.map((i) => (t.push(i.id), i.id || (i.id = `${this.overlay.tagName.toLowerCase()}-helper-${
|
2111
|
+
const t = [], n = this.overlay.elements.map((i) => (t.push(i.id), i.id || (i.id = `${this.overlay.tagName.toLowerCase()}-helper-${Mt()}`), i.id));
|
2112
2112
|
this.elementIds = t;
|
2113
2113
|
const o = Nt(
|
2114
2114
|
this.target,
|
@@ -2118,7 +2118,7 @@ class ee extends bt {
|
|
2118
2118
|
this.releaseDescription = () => {
|
2119
2119
|
o(), this.overlay.elements.map((i, s) => {
|
2120
2120
|
i.id = this.elementIds[s];
|
2121
|
-
}), this.releaseDescription =
|
2121
|
+
}), this.releaseDescription = j;
|
2122
2122
|
};
|
2123
2123
|
}
|
2124
2124
|
doPointerleave() {
|
@@ -2126,7 +2126,7 @@ class ee extends bt {
|
|
2126
2126
|
const t = this.target;
|
2127
2127
|
this.focusedin && t.matches(":focus-visible") || (this.hoverTimeout = setTimeout(() => {
|
2128
2128
|
this.open = !1;
|
2129
|
-
},
|
2129
|
+
}, Io));
|
2130
2130
|
}
|
2131
2131
|
init() {
|
2132
2132
|
var t;
|
@@ -2170,7 +2170,7 @@ const Wo = 300, oe = {
|
|
2170
2170
|
};
|
2171
2171
|
class ne extends bt {
|
2172
2172
|
constructor() {
|
2173
|
-
super(...arguments), this.type = nt.longpress, this.longpressState = null, this.releaseDescription =
|
2173
|
+
super(...arguments), this.type = nt.longpress, this.longpressState = null, this.releaseDescription = j, this.handlePointerup = () => {
|
2174
2174
|
var t;
|
2175
2175
|
clearTimeout(this.timeout), this.target && (this.longpressState = ((t = this.overlay) == null ? void 0 : t.state) === "opening" ? "pressed" : null, document.removeEventListener("pointerup", this.handlePointerup), document.removeEventListener("pointercancel", this.handlePointerup));
|
2176
2176
|
};
|
@@ -2219,13 +2219,13 @@ class ne extends bt {
|
|
2219
2219
|
prepareDescription(t) {
|
2220
2220
|
if (
|
2221
2221
|
// do not reapply until target is recycled
|
2222
|
-
this.releaseDescription !==
|
2222
|
+
this.releaseDescription !== j || // require "longpress content" to apply relationship
|
2223
2223
|
this.overlay.elements.length === 0
|
2224
2224
|
)
|
2225
2225
|
return;
|
2226
2226
|
const n = document.createElement("div");
|
2227
|
-
n.id = `longpress-describedby-descriptor-${
|
2228
|
-
const o =
|
2227
|
+
n.id = `longpress-describedby-descriptor-${Mt()}`;
|
2228
|
+
const o = Be() || Me() ? "touch" : "keyboard";
|
2229
2229
|
n.textContent = oe[o], n.slot = "longpress-describedby-descriptor";
|
2230
2230
|
const i = t.getRootNode(), s = this.overlay.getRootNode();
|
2231
2231
|
i === s ? this.overlay.append(n) : (n.hidden = !("host" in i), t.after(n));
|
@@ -2235,7 +2235,7 @@ class ne extends bt {
|
|
2235
2235
|
[n.id]
|
2236
2236
|
);
|
2237
2237
|
this.releaseDescription = () => {
|
2238
|
-
l(), n.remove(), this.releaseDescription =
|
2238
|
+
l(), n.remove(), this.releaseDescription = j;
|
2239
2239
|
};
|
2240
2240
|
}
|
2241
2241
|
shouldCompleteOpen() {
|
@@ -2267,14 +2267,14 @@ const ie = {
|
|
2267
2267
|
longpress: ne,
|
2268
2268
|
hover: ee
|
2269
2269
|
};
|
2270
|
-
var Uo = Object.defineProperty,
|
2271
|
-
for (var i = o > 1 ? void 0 : o ?
|
2270
|
+
var Uo = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor, P = (e, t, n, o) => {
|
2271
|
+
for (var i = o > 1 ? void 0 : o ? Vo(t, n) : t, s = e.length - 1, l; s >= 0; s--)
|
2272
2272
|
(l = e[s]) && (i = (o ? l(t, n, i) : l(i)) || i);
|
2273
2273
|
return o && i && Uo(t, n, i), i;
|
2274
2274
|
};
|
2275
|
-
const
|
2276
|
-
let Ct =
|
2277
|
-
Ct =
|
2275
|
+
const jo = "showPopover" in document.createElement("div");
|
2276
|
+
let Ct = Ye(G);
|
2277
|
+
Ct = jo ? Qe(Ct) : Ge(Ct);
|
2278
2278
|
var st;
|
2279
2279
|
const z = (st = class extends Ct {
|
2280
2280
|
constructor() {
|
@@ -2616,12 +2616,12 @@ const z = (st = class extends Ct {
|
|
2616
2616
|
*/
|
2617
2617
|
willUpdate(e) {
|
2618
2618
|
var t;
|
2619
|
-
if (this.hasAttribute("id") || this.setAttribute("id", `${this.tagName.toLowerCase()}-${
|
2619
|
+
if (this.hasAttribute("id") || this.setAttribute("id", `${this.tagName.toLowerCase()}-${Mt()}`), e.has("open") && (this.hasUpdated || this.open) && this.manageOpen(e.get("open")), e.has("trigger")) {
|
2620
2620
|
const [o, i] = ((t = this.trigger) == null ? void 0 : t.split("@")) || [];
|
2621
2621
|
this.elementResolver.selector = o ? `#${o}` : "", this.triggerInteraction = i;
|
2622
2622
|
}
|
2623
2623
|
let n = !1;
|
2624
|
-
e.has(
|
2624
|
+
e.has(_e) && (n = this.triggerElement, this.triggerElement = this.elementResolver.element), e.has("triggerElement") && (n = e.get("triggerElement")), n !== !1 && this.bindEvents();
|
2625
2625
|
}
|
2626
2626
|
/**
|
2627
2627
|
* Lifecycle method called after the component updates.
|
@@ -2812,7 +2812,7 @@ const kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2812
2812
|
C: te,
|
2813
2813
|
H: ee,
|
2814
2814
|
I: nt,
|
2815
|
-
L:
|
2815
|
+
L: G,
|
2816
2816
|
P: Qt,
|
2817
2817
|
V: ct,
|
2818
2818
|
a: T,
|
@@ -2822,9 +2822,9 @@ const kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2822
2822
|
e: wt,
|
2823
2823
|
f: kt,
|
2824
2824
|
g: vt,
|
2825
|
-
n:
|
2825
|
+
n: j,
|
2826
2826
|
o: lt,
|
2827
|
-
p:
|
2827
|
+
p: Le,
|
2828
2828
|
s: ie
|
2829
2829
|
}, Symbol.toStringTag, { value: "Module" }));
|
2830
2830
|
/*! * Lucero - The design system for Luzmo.
|
@@ -2851,18 +2851,18 @@ const Ko = () => {
|
|
2851
2851
|
}
|
2852
2852
|
};
|
2853
2853
|
Ko();
|
2854
|
-
const
|
2855
|
-
var
|
2854
|
+
const Jo = ":host([disabled]) ::slotted([slot=trigger]){pointer-events:none}slot[name=longpress-describedby-descriptor]{display:none}";
|
2855
|
+
var Xo = Object.defineProperty, k = (e, t, n, o) => {
|
2856
2856
|
for (var i = void 0, s = e.length - 1, l; s >= 0; s--)
|
2857
2857
|
(l = e[s]) && (i = l(t, n, i) || i);
|
2858
|
-
return i &&
|
2858
|
+
return i && Xo(t, n, i), i;
|
2859
2859
|
};
|
2860
2860
|
class C extends ge {
|
2861
2861
|
constructor() {
|
2862
2862
|
super(...arguments), this.content = "click hover longpress", this.offset = 6, this.disabled = !1, this.receivesFocus = "auto", this.clickContent = [], this.longpressContent = [], this.hoverContent = [], this.targetContent = [];
|
2863
2863
|
}
|
2864
2864
|
static get styles() {
|
2865
|
-
return [fe(
|
2865
|
+
return [fe(Jo)];
|
2866
2866
|
}
|
2867
2867
|
getAssignedElementsFromSlot(t) {
|
2868
2868
|
return t.assignedElements({ flatten: !0 });
|
@@ -3036,7 +3036,7 @@ k([
|
|
3036
3036
|
k([
|
3037
3037
|
gt("#hover-overlay", !0)
|
3038
3038
|
], C.prototype, "hoverOverlayElement");
|
3039
|
-
function
|
3039
|
+
function Yo(e, t, n, o) {
|
3040
3040
|
return wt.open(
|
3041
3041
|
e,
|
3042
3042
|
t,
|
@@ -3044,7 +3044,7 @@ function Go(e, t, n, o) {
|
|
3044
3044
|
o
|
3045
3045
|
);
|
3046
3046
|
}
|
3047
|
-
class se extends
|
3047
|
+
class se extends Ie {
|
3048
3048
|
/* c8 ignore next 9 */
|
3049
3049
|
render(t) {
|
3050
3050
|
return ve;
|
@@ -3079,7 +3079,7 @@ class se extends Me {
|
|
3079
3079
|
this.init();
|
3080
3080
|
}
|
3081
3081
|
}
|
3082
|
-
const
|
3082
|
+
const Go = Bt(se);
|
3083
3083
|
class Ae extends se {
|
3084
3084
|
constructor() {
|
3085
3085
|
super(...arguments), this.defaultOptions = {
|
@@ -3123,7 +3123,7 @@ class Ae extends se {
|
|
3123
3123
|
), i)
|
3124
3124
|
this.overlay.remove();
|
3125
3125
|
else {
|
3126
|
-
|
3126
|
+
G.applyOptions(this.overlay, {
|
3127
3127
|
...this.options,
|
3128
3128
|
trigger: this.target
|
3129
3129
|
});
|
@@ -3132,7 +3132,7 @@ class Ae extends se {
|
|
3132
3132
|
}
|
3133
3133
|
}
|
3134
3134
|
}
|
3135
|
-
const Zo =
|
3135
|
+
const Zo = Bt(Ae);
|
3136
3136
|
customElements.get("luzmo-overlay") || customElements.define("luzmo-overlay", wt);
|
3137
3137
|
customElements.get("luzmo-overlay-trigger") || customElements.define("luzmo-overlay-trigger", C);
|
3138
3138
|
const ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
@@ -3143,7 +3143,7 @@ const ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3143
3143
|
InteractionTypes: nt,
|
3144
3144
|
LONGPRESS_INSTRUCTIONS: oe,
|
3145
3145
|
LongpressController: ne,
|
3146
|
-
LuzmoAbstractOverlay:
|
3146
|
+
LuzmoAbstractOverlay: G,
|
3147
3147
|
LuzmoOverlay: wt,
|
3148
3148
|
LuzmoOverlayTrigger: C,
|
3149
3149
|
OverlayTriggerDirective: Ae,
|
@@ -3153,12 +3153,12 @@ const ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3153
3153
|
VirtualTrigger: ct,
|
3154
3154
|
guaranteedAllTransitionend: vt,
|
3155
3155
|
nextFrame: T,
|
3156
|
-
noop:
|
3157
|
-
openOverlay:
|
3156
|
+
noop: j,
|
3157
|
+
openOverlay: Yo,
|
3158
3158
|
overlayTimer: lt,
|
3159
|
-
placementUpdatedSymbol:
|
3159
|
+
placementUpdatedSymbol: Le,
|
3160
3160
|
removeSlottableRequest: St,
|
3161
|
-
slottableRequest:
|
3161
|
+
slottableRequest: Go,
|
3162
3162
|
trigger: Zo
|
3163
3163
|
}, Symbol.toStringTag, { value: "Module" }));
|
3164
3164
|
export {
|