@luzmo/analytics-components-kit 1.0.1-alpha.31 → 1.0.1-alpha.32
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-C_bp5UcZ-B5_19oN_.js → async-directive-BfcqVjDp-BCT-lA4F.js} +8 -8
- package/components/{async-directive-C_bp5UcZ-mUPcBvyn.cjs → async-directive-BfcqVjDp-C8C45jl6.cjs} +3 -3
- package/components/{base-D76d76ww-D0dTUBua.js → base-D76d76ww-BGkuhs54.js} +59 -47
- package/components/{base-D76d76ww-BEIhYtgV.cjs → base-D76d76ww-tT6yr8eb.cjs} +9 -9
- package/components/{button-base-WsJSnMie-B1TLbPwk.cjs → button-base-DbkDzb71-CY6MJGqE.cjs} +2 -2
- package/components/{button-base-WsJSnMie-CyGPs7kd.js → button-base-DbkDzb71-R8oqSqlY.js} +4 -4
- package/components/calculate-data-item-icon-BtUWtDx3.cjs +20 -0
- package/components/calculate-data-item-icon-DauSiV8c.js +97 -0
- package/components/{checkbox-mixin-CmeCReJh-wY0R8cuc.cjs → checkbox-mixin-Do7EgtpQ-D3m-dMTI.cjs} +3 -3
- package/components/{checkbox-mixin-CmeCReJh-C94-rm4F.js → checkbox-mixin-Do7EgtpQ-hne79zc-.js} +2 -2
- package/components/{de-BaTUIQk1.js → de-CCq00pbq.js} +55 -1
- package/components/de-DcZysUyZ.cjs +20 -0
- package/components/{directive-helpers-Bx_ey3Gk-BxvL9t9F.cjs → directive-helpers-Cm6gitnu-BeggOiwf.cjs} +4 -4
- package/components/{directive-helpers-Bx_ey3Gk-Csi4AxXe.js → directive-helpers-Cm6gitnu-CeYtlPO9.js} +53 -19
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +18 -17
- package/components/display-settings-binning/display-settings-binning.d.ts +0 -1
- package/components/display-settings-binning/index.cjs +3 -2
- package/components/display-settings-binning/index.js +21 -21
- package/components/display-settings-datetime/index.cjs +2 -2
- package/components/display-settings-datetime/index.js +37 -35
- package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +0 -1
- package/components/display-settings-grand-totals/index.cjs +4 -3
- package/components/display-settings-grand-totals/index.js +21 -21
- package/components/display-settings-numeric/index.cjs +14 -14
- package/components/display-settings-numeric/index.js +32 -30
- package/components/display-settings-period-over-period/index.cjs +6 -6
- package/components/display-settings-period-over-period/index.js +36 -34
- package/components/draggable-data-item/index.cjs +3 -3
- package/components/draggable-data-item/index.js +15 -13
- package/components/draggable-data-item-level/index.cjs +9 -9
- package/components/draggable-data-item-level/index.js +96 -167
- package/components/droppable-slot/index.cjs +2 -2
- package/components/droppable-slot/index.js +21 -19
- package/components/edit-item/index.cjs +11 -11
- package/components/edit-item/index.js +13 -12
- 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 +2 -1
- package/components/edit-option-action-button-group/index.js +44 -43
- package/components/edit-option-base-CSJNbo2E.cjs +53 -0
- package/components/{edit-option-base-DOezOLDd.js → edit-option-base-DeQjGX4i.js} +5 -4
- package/components/edit-option-color-picker/index.cjs +23 -23
- package/components/edit-option-color-picker/index.js +50 -50
- 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 +2 -2
- package/components/edit-option-number-field/index.js +3 -3
- package/components/edit-option-picker/index.cjs +2 -2
- 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 +7 -7
- package/components/edit-option-radio-button-group/index.cjs +4 -4
- package/components/edit-option-radio-button-group/index.js +4 -4
- package/components/edit-option-slider/index.cjs +2 -2
- package/components/edit-option-slider/index.js +27 -27
- package/components/edit-option-switch/index.cjs +3 -3
- package/components/edit-option-switch/index.js +5 -5
- package/components/edit-option-text-field/index.cjs +2 -2
- package/components/edit-option-text-field/index.js +3 -3
- package/components/es-CGiBfBKJ.cjs +20 -0
- package/components/{es-D37mTCZB.js → es-DBmbFw-L.js} +55 -1
- package/components/filter-data-item-picker/filter-data-item-picker.d.ts +88 -0
- package/components/filter-data-item-picker/index.cjs +47 -0
- package/components/filter-data-item-picker/index.d.ts +7 -0
- package/components/filter-data-item-picker/index.js +193 -0
- package/components/filter-expression-picker/filter-expression-picker.d.ts +74 -0
- package/components/filter-expression-picker/index.cjs +20 -0
- package/components/filter-expression-picker/index.d.ts +7 -0
- package/components/filter-expression-picker/index.js +30 -0
- package/components/filter-group/filter-group.d.ts +26 -0
- package/components/filter-group/index.d.ts +7 -0
- package/components/filter-item/filter-item.d.ts +76 -0
- package/components/filter-item/index.cjs +52 -0
- package/components/filter-item/index.d.ts +7 -0
- package/components/filter-item/index.js +271 -0
- package/components/filter-parameter-picker/filter-parameter-picker.d.ts +25 -0
- package/components/filter-parameter-picker/index.d.ts +7 -0
- package/components/filter-value-picker/filter-value-picker.d.ts +65 -0
- package/components/filter-value-picker/index.cjs +51 -0
- package/components/filter-value-picker/index.d.ts +7 -0
- package/components/filter-value-picker/index.js +149 -0
- package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +43 -0
- package/components/filter-value-picker-datetime/index.cjs +288 -0
- package/components/filter-value-picker-datetime/index.d.ts +7 -0
- package/components/filter-value-picker-datetime/index.js +2820 -0
- package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +82 -0
- package/components/filter-value-picker-hierarchy/index.cjs +46 -0
- package/components/filter-value-picker-hierarchy/index.d.ts +7 -0
- package/components/filter-value-picker-hierarchy/index.js +278 -0
- package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +83 -0
- package/components/filter-value-picker-numeric/index.cjs +46 -0
- package/components/filter-value-picker-numeric/index.d.ts +7 -0
- package/components/filter-value-picker-numeric/index.js +274 -0
- package/components/flow-D-0MTYCm-BOBCoA5Z.js +546 -0
- package/components/flow-D-0MTYCm-BW5krWol.cjs +48 -0
- package/components/{focusable-BNESohBR-DbTLvYXr.cjs → focusable-BxtpnzWp-CkK9AeMt.cjs} +2 -2
- package/components/{focusable-BNESohBR-DYvAZYXL.js → focusable-BxtpnzWp-DJQkL8Zv.js} +1 -1
- package/components/focusable-DB6Uhr-C.js +275 -0
- package/components/focusable-_wp5pWO-.cjs +20 -0
- package/components/{fr-BWJHvkss.js → fr-BOwMikLT.js} +55 -1
- package/components/fr-DZbYwMlh.cjs +20 -0
- package/components/{get-css-variable-Bhbr-Kr1.js → get-css-variable-YlLiVgo8.js} +2 -2
- package/components/{if-defined-DbhS35z5.js → if-defined-B4gwZxx6.js} +1 -1
- package/components/{if-defined-D-1p2bLN-Bn-33APC.js → if-defined-DOaE2coe-CNT45Xcl.js} +1 -1
- package/components/{if-defined-D-1p2bLN-0_AoRnT2.cjs → if-defined-DOaE2coe-Cvlu5s9n.cjs} +1 -1
- package/components/{if-defined-CF8baNdl.cjs → if-defined-DqthfJme.cjs} +2 -2
- package/components/{index-Dwp251OJ.js → index-5mZhN-HJ.js} +7 -6
- package/components/{index-B3jkBlKY.js → index-BC1LV3vH.js} +3 -3
- package/components/{index-BXMPi13W.js → index-BCBLJ-ei.js} +82 -82
- package/components/{index-B9dQtvu7.js → index-BHJH1eGn.js} +3 -3
- package/components/index-BHXq1-M1.cjs +195 -0
- package/components/{index-C2-2RrwB.cjs → index-BKwbYw6x.cjs} +3 -3
- package/components/index-BOqSYlku.cjs +38 -0
- package/components/{index-D5rT-qy9.cjs → index-Bafc5poK.cjs} +12 -28
- package/components/{index-CqFCIIIl.js → index-BbuNpVBr.js} +3 -3
- package/components/{index-CRx2nPkq.js → index-Bmpw4rGV.js} +3 -3
- package/components/{index-D8Na-686.cjs → index-BoXbQm2o.cjs} +1 -1
- package/components/{index-uRWe553S.cjs → index-BtIWR_s6.cjs} +4 -4
- package/components/index-BwsEWpIS.js +494 -0
- package/components/{index-CF84gqsb.cjs → index-C2PPSv8E.cjs} +4 -4
- package/components/{index-CbeVu32V.js → index-C3N6qTxJ.js} +3 -3
- package/components/index-C5m9vRp5.js +598 -0
- package/components/{index-bZQXFqxv.cjs → index-CBOAQ3-E.cjs} +10 -10
- package/components/{index-_McOOiwL.cjs → index-CSm0I7Gz.cjs} +4 -4
- package/components/index-CTHlwZ9E.cjs +274 -0
- package/components/{index-Brg_sVUg.js → index-CTVNGPeT.js} +1 -1
- package/components/{index-Rjoe8cIs.js → index-Cb5l6iK_.js} +110 -173
- package/components/{index-BkCJwWm3.cjs → index-CeENkpNK.cjs} +3 -3
- package/components/{index-BnbhRpm9.js → index-CnRQGFHT.js} +3 -3
- package/components/{index-BKcvEgWr.cjs → index-CnpJUw_z.cjs} +3 -3
- package/components/{index-DJik7S7b.js → index-CsDgk_sj.js} +2 -2
- package/components/{index-fl13NYnO.js → index-CskV_bXp.js} +2 -2
- package/components/index-CyWwLYEO.js +1789 -0
- package/components/index-D9yzIoGv.js +1666 -0
- package/components/{index-Bwxvaqxq.cjs → index-DF-s3cEL.cjs} +11 -11
- package/components/{index-CVuJ-LUO.cjs → index-DSQyBS9Z.cjs} +2 -2
- package/components/{index-Bb8vxGZY.js → index-Desl7GJ0.js} +19 -15
- package/components/{index-0HUnZcem.cjs → index-DtohCwyO.cjs} +2 -2
- package/components/index-TQG9Xdxu.cjs +20 -0
- package/components/index-c2uKLWDt.cjs +157 -0
- package/components/{index-C9-QEfA9.cjs → index-j8UKjHqY.cjs} +4 -4
- package/components/{index-DZZMSlYS.js → index-rQxtPaJl.js} +6 -6
- package/components/index.cjs +1 -1
- package/components/index.js +41 -27
- package/components/localized-decorator-ClAOFk8M.cjs +28 -0
- package/components/localized-decorator-DGnMToFa.js +48 -0
- package/components/{luzmo-icons-U09GB75o.js → luzmo-icons-CPucBq6e.js} +89 -89
- package/components/luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs +47 -0
- package/components/{luzmo-icons-BLN3xVgr-Tz5XXgbL.js → luzmo-icons-DbwDQtuO-QG0fLECn.js} +67 -25
- package/components/luzmo-icons-Nyf1P71v.cjs +31 -0
- package/components/nl-0V96M02q.cjs +20 -0
- package/components/nl-CY0iO3Ch.js +158 -0
- package/components/observe-slot-presence-CmVi0zTc-B4M1Mze7.cjs +36 -0
- package/components/observe-slot-presence-CmVi0zTc-DCFuXW7v.js +87 -0
- package/components/{observe-slot-text-CVKLDesL-BB2RmFgc.cjs → observe-slot-text-BPfIQQtz-DHOh38Ve.cjs} +4 -4
- package/components/{observe-slot-text-CVKLDesL-CXUeCmXW.js → observe-slot-text-BPfIQQtz-v6B-1BYh.js} +5 -5
- package/components/pending-state-DTX7ggyF-BQGaWUEI.cjs +80 -0
- package/components/pending-state-DTX7ggyF-KolnwUB7.js +321 -0
- package/components/{periods.const-CDIkC5CK.cjs → periods.const-BbgInj9J.cjs} +1 -1
- package/components/{periods.const-GHh5bPfs.js → periods.const-D2cMP5hH.js} +1 -1
- package/components/{popover-DRyjN9y_-w1zh4tvw.js → popover-DjX0aAnY-B_ujTfos.js} +2 -2
- package/components/{popover-DRyjN9y_-7mF_fAOh.cjs → popover-DjX0aAnY-CSUMV_Ay.cjs} +3 -3
- package/components/property-CxtZroGf.js +600 -0
- package/components/property-Dlf9S6Jz.cjs +42 -0
- package/components/{query-assigned-nodes-C76XVPWY-k1jDPyUQ.cjs → query-assigned-nodes-C76XVPWY-BW2w3V7-.cjs} +1 -1
- package/components/{query-assigned-nodes-C76XVPWY-BWouxGZs.js → query-assigned-nodes-C76XVPWY-DxNwGHfW.js} +1 -1
- package/components/scatter-plot-options.config-CFfGJXsV.cjs +20 -0
- package/components/{scatter-plot-options.config-lrkd9qj4.js → scatter-plot-options.config-Corlzno1.js} +78 -48
- package/components/set-locale-5FFfQpVQ.cjs +52 -0
- package/components/set-locale-DAGnJZD8.js +188 -0
- package/components/{sized-mixin-DMuOVsw0.js → sized-mixin-C7R5uRbF.js} +1 -1
- package/components/sized-mixin-ZTphZKLm.cjs +20 -0
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +12 -11
- package/components/slot-menu-list/index.cjs +3 -3
- package/components/slot-menu-list/index.js +15 -14
- package/components/{state-e2n-fyrr.js → state-BVYsk_HZ.js} +1 -1
- package/components/{state-QgHgNZLe.cjs → state-CrfOw8Zp.cjs} +2 -2
- package/components/{streaming-listener-C8Ctj0Q6-lanbGKR9.js → streaming-listener-CP-JE6Fa-9MH0gENR.js} +3 -3
- package/components/{streaming-listener-C8Ctj0Q6-BhMxS69F.cjs → streaming-listener-CP-JE6Fa-DMzr1X1m.cjs} +3 -3
- package/components/{task-fQFUVV8e.cjs → task-CdvrMX8r.cjs} +2 -2
- package/components/{task-gE27tBDv.js → task-DH8UFyxP.js} +1 -1
- package/components/{text-field-C0pFjPG1-BCVbGXp7.cjs → text-field-BIADXoLC-B8w9TVmS.cjs} +8 -8
- package/components/{text-field-C0pFjPG1-B4TRivuD.js → text-field-BIADXoLC-B9oE05VF.js} +11 -10
- package/custom-elements.json +1891 -34
- package/index.d.ts +7 -0
- package/item-definitions/scatter-plot/scatter-plot-options.config.d.ts +3 -0
- package/package.json +46 -1
- package/utils/data-broker/index.d.ts +179 -0
- package/utils/data-item-types/calculate-data-item-icon.d.ts +3 -0
- package/utils/filters/expressions.d.ts +15 -0
- package/utils/filters/index.d.ts +1 -0
- package/utils/localize/set-locale.d.ts +4 -2
- package/utils/types/column.types.d.ts +1 -1
- package/components/de-DgHoh7KS.cjs +0 -20
- package/components/draggable-data-item-level/helpers/calculate-type-icon.d.ts +0 -2
- package/components/edit-option-base-jkkFevzT.cjs +0 -53
- package/components/es-ByW01bzN.cjs +0 -20
- package/components/focusable-Cu_m_GTh.cjs +0 -42
- package/components/focusable-Dw_pMNQL.js +0 -852
- package/components/fr-DnFUAglm.cjs +0 -20
- package/components/index-CqynTbW1.cjs +0 -217
- package/components/index-DFnzlbHX.js +0 -779
- package/components/index-hogChFy0.cjs +0 -195
- package/components/luzmo-icons-BDClm1AE.cjs +0 -31
- package/components/luzmo-icons-BLN3xVgr-Cr3OrsqW.cjs +0 -47
- package/components/nl-CWxJcTNT.js +0 -104
- package/components/nl-CpfDNK5c.cjs +0 -20
- package/components/scatter-plot-options.config-DkJLutNb.cjs +0 -20
- package/components/set-locale-ByIApH40.cjs +0 -60
- package/components/set-locale-DJYT4V7U.js +0 -212
- package/components/sized-mixin-Cqlxwicw.cjs +0 -20
- /package/components/{divider.module-DwOuLGU3-B19eHVg2.js → divider.module-DoQWQEIJ-B19eHVg2.js} +0 -0
- /package/components/{divider.module-DwOuLGU3-Bg8RrFkc.cjs → divider.module-DoQWQEIJ-Bg8RrFkc.cjs} +0 -0
@@ -17,12 +17,12 @@
|
|
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 { v as De, o as Fe,
|
21
|
-
import { _ as Ht, $ as Ne, s as qe, n as mt } from "./directive-helpers-
|
22
|
-
import { m as $t, d as gt } from "./if-defined-
|
23
|
-
import { u as Nt, n as
|
24
|
-
import { t as ft } from "./index-
|
25
|
-
import { a as He, w as
|
20
|
+
import { v as De, o as Fe, I as ge, R as A, a as fe, z as x, d as ve, w as ye } from "./base-D76d76ww-BGkuhs54.js";
|
21
|
+
import { _ as Ht, $ as Ne, s as qe, n as mt } from "./directive-helpers-Cm6gitnu-CeYtlPO9.js";
|
22
|
+
import { m as $t, d as gt } from "./if-defined-DOaE2coe-CNT45Xcl.js";
|
23
|
+
import { u as Nt, n as It, d as Be, h as _e } from "./element-resolution-FCUT-wql--7ctE626.js";
|
24
|
+
import { t as ft } from "./index-Bmpw4rGV.js";
|
25
|
+
import { a as He, w as Ie, C as Me } 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 je = (e, t, {
|
|
175
175
|
return function() {
|
176
176
|
return Ve(r, e, a);
|
177
177
|
};
|
178
|
-
}, Ke = 1e3,
|
179
|
-
class
|
178
|
+
}, Ke = 1e3, Xe = 1e3;
|
179
|
+
class Ye {
|
180
180
|
constructor(t = {}) {
|
181
|
-
this.warmUpDelay = Ke, this.coolDownDelay =
|
181
|
+
this.warmUpDelay = Ke, this.coolDownDelay = Xe, this.isWarm = !1, this.timeout = 0, Object.assign(this, t);
|
182
182
|
}
|
183
183
|
openTimer(t) {
|
184
184
|
if (this.cancelCooldownTimer(), !this.component || t !== this.component)
|
@@ -203,7 +203,7 @@ class Xe {
|
|
203
203
|
this.cooldownTimeout && window.clearTimeout(this.cooldownTimeout), delete this.cooldownTimeout;
|
204
204
|
}
|
205
205
|
}
|
206
|
-
const lt = new
|
206
|
+
const lt = new Ye(), j = () => {
|
207
207
|
}, vt = (e, t, n) => {
|
208
208
|
const o = new AbortController(), i = /* @__PURE__ */ new Map(), s = () => {
|
209
209
|
o.abort(), n();
|
@@ -352,7 +352,7 @@ class J extends ge {
|
|
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 Mt = (e) => e.querySelector(
|
356
356
|
ft
|
357
357
|
), Wt = (e) => e.assignedElements().find((t) => t.matches(ft));
|
358
358
|
class Ut extends Event {
|
@@ -430,7 +430,7 @@ function Ge(e) {
|
|
430
430
|
if (a > 0)
|
431
431
|
return;
|
432
432
|
const c = o ? Vt : Ut;
|
433
|
-
this.dispatchEvent(new c()), o && (r.matches(ft) && (i = r), i = i ||
|
433
|
+
this.dispatchEvent(new c()), o && (r.matches(ft) && (i = r), i = i || Mt(r), i || r.querySelectorAll("slot").forEach((h) => {
|
434
434
|
i || (i = Wt(h));
|
435
435
|
}), !(!this.isConnected || this.dialogEl.open) && this.dialogEl.showModal());
|
436
436
|
}, l = (r, a) => () => {
|
@@ -510,7 +510,7 @@ function Je(e) {
|
|
510
510
|
const c = o ? Vt : Ut;
|
511
511
|
this.dispatchEvent(new c());
|
512
512
|
}
|
513
|
-
o !== !0 || (r.matches(ft) && (i = r), i = i ||
|
513
|
+
o !== !0 || (r.matches(ft) && (i = r), i = i || Mt(r), i) || r.querySelectorAll("slot").forEach((c) => {
|
514
514
|
i || (i = Wt(c));
|
515
515
|
});
|
516
516
|
}
|
@@ -612,7 +612,7 @@ function Qe(e) {
|
|
612
612
|
const c = o ? Vt : Ut;
|
613
613
|
this.dispatchEvent(new c());
|
614
614
|
}
|
615
|
-
!o || (r.matches(ft) && (i = r), i = i ||
|
615
|
+
!o || (r.matches(ft) && (i = r), i = i || Mt(r), i) || r.querySelectorAll("slot").forEach((c) => {
|
616
616
|
i || (i = Wt(c));
|
617
617
|
});
|
618
618
|
}, l = (r, a) => () => {
|
@@ -780,7 +780,7 @@ class eo {
|
|
780
780
|
this.closeOverlay(t);
|
781
781
|
}
|
782
782
|
}
|
783
|
-
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,
|
783
|
+
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, I = (e) => ({
|
784
784
|
x: e,
|
785
785
|
y: e
|
786
786
|
}), no = {
|
@@ -824,9 +824,9 @@ function so(e, t, n) {
|
|
824
824
|
}
|
825
825
|
function ro(e) {
|
826
826
|
const t = Pt(e);
|
827
|
-
return [
|
827
|
+
return [Bt(e), t, Bt(t)];
|
828
828
|
}
|
829
|
-
function
|
829
|
+
function Bt(e) {
|
830
830
|
return e.replace(/start|end/g, (t) => io[t]);
|
831
831
|
}
|
832
832
|
function lo(e, t, n) {
|
@@ -845,7 +845,7 @@ function lo(e, t, n) {
|
|
845
845
|
function ao(e, t, n, o) {
|
846
846
|
const i = dt(e);
|
847
847
|
let s = lo(Q(e), n === "start", o);
|
848
|
-
return i && (s = s.map((l) => l + "-" + i), t && (s = s.concat(s.map(
|
848
|
+
return i && (s = s.map((l) => l + "-" + i), t && (s = s.concat(s.map(Bt)))), s;
|
849
849
|
}
|
850
850
|
function Pt(e) {
|
851
851
|
return e.replace(/left|right|bottom|top/g, (t) => no[t]);
|
@@ -994,7 +994,7 @@ const ho = async (e, t, n) => {
|
|
994
994
|
middlewareData: u
|
995
995
|
};
|
996
996
|
};
|
997
|
-
async function
|
997
|
+
async function Xt(e, t) {
|
998
998
|
var n;
|
999
999
|
t === void 0 && (t = {});
|
1000
1000
|
const {
|
@@ -1063,7 +1063,7 @@ const uo = (e) => ({
|
|
1063
1063
|
}, 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));
|
1064
1064
|
let $ = S ? S[b] : 0;
|
1065
1065
|
(!$ || !await (l.isElement == null ? void 0 : l.isElement(S))) && ($ = r.floating[b] || s.floating[m]);
|
1066
|
-
const U = w / 2 - E / 2,
|
1066
|
+
const U = w / 2 - E / 2, B = $ / 2 - g[m] / 2 - 1, D = Z(d[v], B), K = Z(d[y], B), _ = D, X = $ - g[m] - K, O = $ / 2 - g[m] / 2 + U, it = qt(_, O, X), V = !a.arrow && dt(i) != null && O !== it && s.reference[m] / 2 - (O < _ ? D : K) - g[m] / 2 < 0, H = V ? O < _ ? O - _ : O - X : 0;
|
1067
1067
|
return {
|
1068
1068
|
[u]: p[u] + H,
|
1069
1069
|
data: {
|
@@ -1102,17 +1102,17 @@ const uo = (e) => ({
|
|
1102
1102
|
return {};
|
1103
1103
|
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";
|
1104
1104
|
!p && S && E.push(...ao(r, g, m, w));
|
1105
|
-
const $ = [r, ...E], U = await
|
1105
|
+
const $ = [r, ...E], U = await Xt(t, f), B = [];
|
1106
1106
|
let D = ((o = s.flip) == null ? void 0 : o.overflows) || [];
|
1107
|
-
if (h &&
|
1107
|
+
if (h && B.push(U[v]), d) {
|
1108
1108
|
const O = so(i, l, w);
|
1109
|
-
|
1109
|
+
B.push(U[O[0]], U[O[1]]);
|
1110
1110
|
}
|
1111
1111
|
if (D = [...D, {
|
1112
1112
|
placement: i,
|
1113
|
-
overflows:
|
1114
|
-
}], !
|
1115
|
-
var K,
|
1113
|
+
overflows: B
|
1114
|
+
}], !B.every((O) => O <= 0)) {
|
1115
|
+
var K, _;
|
1116
1116
|
const O = (((K = s.flip) == null ? void 0 : K.index) || 0) + 1, it = $[O];
|
1117
1117
|
if (it)
|
1118
1118
|
return {
|
@@ -1124,20 +1124,20 @@ const uo = (e) => ({
|
|
1124
1124
|
placement: it
|
1125
1125
|
}
|
1126
1126
|
};
|
1127
|
-
let V = (
|
1127
|
+
let V = (_ = D.filter((H) => H.overflows[0] <= 0).sort((H, Y) => H.overflows[1] - Y.overflows[1])[0]) == null ? void 0 : _.placement;
|
1128
1128
|
if (!V)
|
1129
1129
|
switch (u) {
|
1130
1130
|
case "bestFit": {
|
1131
|
-
var
|
1132
|
-
const H = (
|
1131
|
+
var X;
|
1132
|
+
const H = (X = D.filter((Y) => {
|
1133
1133
|
if (S) {
|
1134
|
-
const G = et(
|
1134
|
+
const G = et(Y.placement);
|
1135
1135
|
return G === y || // Create a bias to the `y` side axis due to horizontal
|
1136
1136
|
// reading directions favoring greater width.
|
1137
1137
|
G === "y";
|
1138
1138
|
}
|
1139
1139
|
return !0;
|
1140
|
-
}).map((
|
1140
|
+
}).map((Y) => [Y.placement, Y.overflows.filter((G) => G > 0).reduce((G, $e) => G + $e, 0)]).sort((Y, G) => Y[1] - G[1])[0]) == null ? void 0 : X[0];
|
1141
1141
|
H && (V = H);
|
1142
1142
|
break;
|
1143
1143
|
}
|
@@ -1233,7 +1233,7 @@ const go = function(e) {
|
|
1233
1233
|
} = ht(e, t), c = {
|
1234
1234
|
x: n,
|
1235
1235
|
y: o
|
1236
|
-
}, h = await
|
1236
|
+
}, h = await Xt(t, a), d = et(Q(i)), p = xe(d);
|
1237
1237
|
let u = c[p], m = c[d];
|
1238
1238
|
if (s) {
|
1239
1239
|
const f = p === "y" ? "top" : "left", v = p === "y" ? "bottom" : "right", y = u + h[f], b = u - h[v];
|
@@ -1276,7 +1276,7 @@ const go = function(e) {
|
|
1276
1276
|
apply: a = () => {
|
1277
1277
|
},
|
1278
1278
|
...c
|
1279
|
-
} = ht(e, t), h = await
|
1279
|
+
} = ht(e, t), h = await Xt(t, c), d = Q(i), p = dt(i), u = et(i) === "y", {
|
1280
1280
|
width: m,
|
1281
1281
|
height: g
|
1282
1282
|
} = s.floating;
|
@@ -1285,16 +1285,16 @@ const go = function(e) {
|
|
1285
1285
|
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;
|
1286
1286
|
let $ = w, U = E;
|
1287
1287
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (U = b), (o = t.middlewareData.shift) != null && o.enabled.y && ($ = y), S && !p) {
|
1288
|
-
const D = R(h.left, 0), K = R(h.right, 0),
|
1289
|
-
u ? U = m - 2 * (D !== 0 || K !== 0 ? D + K : R(h.left, h.right)) : $ = g - 2 * (
|
1288
|
+
const D = R(h.left, 0), K = R(h.right, 0), _ = R(h.top, 0), X = R(h.bottom, 0);
|
1289
|
+
u ? U = m - 2 * (D !== 0 || K !== 0 ? D + K : R(h.left, h.right)) : $ = g - 2 * (_ !== 0 || X !== 0 ? _ + X : R(h.top, h.bottom));
|
1290
1290
|
}
|
1291
1291
|
await a({
|
1292
1292
|
...t,
|
1293
1293
|
availableWidth: U,
|
1294
1294
|
availableHeight: $
|
1295
1295
|
});
|
1296
|
-
const
|
1297
|
-
return m !==
|
1296
|
+
const B = await l.getDimensions(r.floating);
|
1297
|
+
return m !== B.width || g !== B.height ? {
|
1298
1298
|
reset: {
|
1299
1299
|
rects: !0
|
1300
1300
|
}
|
@@ -1322,7 +1322,7 @@ function ze(e) {
|
|
1322
1322
|
function N(e) {
|
1323
1323
|
return Rt() ? e instanceof Element || e instanceof L(e).Element : !1;
|
1324
1324
|
}
|
1325
|
-
function
|
1325
|
+
function M(e) {
|
1326
1326
|
return Rt() ? e instanceof HTMLElement || e instanceof L(e).HTMLElement : !1;
|
1327
1327
|
}
|
1328
1328
|
function he(e) {
|
@@ -1349,14 +1349,14 @@ function Lt(e) {
|
|
1349
1349
|
}
|
1350
1350
|
});
|
1351
1351
|
}
|
1352
|
-
function
|
1352
|
+
function Yt(e) {
|
1353
1353
|
const t = Gt(), n = N(e) ? q(e) : e;
|
1354
1354
|
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));
|
1355
1355
|
}
|
1356
1356
|
function bo(e) {
|
1357
1357
|
let t = tt(e);
|
1358
|
-
for (;
|
1359
|
-
if (
|
1358
|
+
for (; M(t) && !at(t); ) {
|
1359
|
+
if (Yt(t))
|
1360
1360
|
return t;
|
1361
1361
|
if (Lt(t))
|
1362
1362
|
return null;
|
@@ -1396,25 +1396,25 @@ function tt(e) {
|
|
1396
1396
|
}
|
1397
1397
|
function Ce(e) {
|
1398
1398
|
const t = tt(e);
|
1399
|
-
return at(t) ? e.ownerDocument ? e.ownerDocument.body : e.body :
|
1399
|
+
return at(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : M(t) && yt(t) ? t : Ce(t);
|
1400
1400
|
}
|
1401
1401
|
function pt(e, t, n) {
|
1402
1402
|
var o;
|
1403
1403
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
1404
1404
|
const i = Ce(e), s = i === ((o = e.ownerDocument) == null ? void 0 : o.body), l = L(i);
|
1405
1405
|
if (s) {
|
1406
|
-
const r =
|
1406
|
+
const r = _t(l);
|
1407
1407
|
return t.concat(l, l.visualViewport || [], yt(i) ? i : [], r && n ? pt(r) : []);
|
1408
1408
|
}
|
1409
1409
|
return t.concat(i, pt(i, [], n));
|
1410
1410
|
}
|
1411
|
-
function
|
1411
|
+
function _t(e) {
|
1412
1412
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
1413
1413
|
}
|
1414
1414
|
function Oe(e) {
|
1415
1415
|
const t = q(e);
|
1416
1416
|
let n = parseFloat(t.width) || 0, o = parseFloat(t.height) || 0;
|
1417
|
-
const i =
|
1417
|
+
const i = M(e), s = i ? e.offsetWidth : n, l = i ? e.offsetHeight : o, r = Ot(n) !== s || Ot(o) !== l;
|
1418
1418
|
return r && (n = s, o = l), {
|
1419
1419
|
width: n,
|
1420
1420
|
height: o,
|
@@ -1426,8 +1426,8 @@ function Jt(e) {
|
|
1426
1426
|
}
|
1427
1427
|
function rt(e) {
|
1428
1428
|
const t = Jt(e);
|
1429
|
-
if (!
|
1430
|
-
return
|
1429
|
+
if (!M(t))
|
1430
|
+
return I(1);
|
1431
1431
|
const n = t.getBoundingClientRect(), {
|
1432
1432
|
width: o,
|
1433
1433
|
height: i,
|
@@ -1439,7 +1439,7 @@ function rt(e) {
|
|
1439
1439
|
y: r
|
1440
1440
|
};
|
1441
1441
|
}
|
1442
|
-
const wo = /* @__PURE__ */
|
1442
|
+
const wo = /* @__PURE__ */ I(0);
|
1443
1443
|
function Pe(e) {
|
1444
1444
|
const t = L(e);
|
1445
1445
|
return !Gt() || !t.visualViewport ? wo : {
|
@@ -1453,16 +1453,16 @@ function xo(e, t, n) {
|
|
1453
1453
|
function ot(e, t, n, o) {
|
1454
1454
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
1455
1455
|
const i = e.getBoundingClientRect(), s = Jt(e);
|
1456
|
-
let l =
|
1456
|
+
let l = I(1);
|
1457
1457
|
t && (o ? N(o) && (l = rt(o)) : l = rt(e));
|
1458
|
-
const r = xo(s, n, o) ? Pe(s) :
|
1458
|
+
const r = xo(s, n, o) ? Pe(s) : I(0);
|
1459
1459
|
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;
|
1460
1460
|
if (s) {
|
1461
1461
|
const p = L(s), u = o && N(o) ? L(o) : o;
|
1462
|
-
let m = p, g =
|
1462
|
+
let m = p, g = _t(m);
|
1463
1463
|
for (; g && o && u !== m; ) {
|
1464
1464
|
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;
|
1465
|
-
a *= f.x, c *= f.y, h *= f.x, d *= f.y, a += b, c += w, m = L(g), g =
|
1465
|
+
a *= f.x, c *= f.y, h *= f.x, d *= f.y, a += b, c += w, m = L(g), g = _t(m);
|
1466
1466
|
}
|
1467
1467
|
}
|
1468
1468
|
return Tt({
|
@@ -1500,13 +1500,13 @@ function Eo(e) {
|
|
1500
1500
|
let a = {
|
1501
1501
|
scrollLeft: 0,
|
1502
1502
|
scrollTop: 0
|
1503
|
-
}, c =
|
1504
|
-
const h =
|
1505
|
-
if ((d || !d && !s) && ((ut(o) !== "body" || yt(l)) && (a = At(o)),
|
1503
|
+
}, c = I(1);
|
1504
|
+
const h = I(0), d = M(o);
|
1505
|
+
if ((d || !d && !s) && ((ut(o) !== "body" || yt(l)) && (a = At(o)), M(o))) {
|
1506
1506
|
const u = ot(o);
|
1507
1507
|
c = rt(o), h.x = u.x + o.clientLeft, h.y = u.y + o.clientTop;
|
1508
1508
|
}
|
1509
|
-
const p = l && !d && !s ? Te(l, a, !0) :
|
1509
|
+
const p = l && !d && !s ? Te(l, a, !0) : I(0);
|
1510
1510
|
return {
|
1511
1511
|
width: n.width * c.x,
|
1512
1512
|
height: n.height * c.y,
|
@@ -1544,7 +1544,7 @@ function Oo(e, t) {
|
|
1544
1544
|
};
|
1545
1545
|
}
|
1546
1546
|
function Po(e, t) {
|
1547
|
-
const n = ot(e, !0, t === "fixed"), o = n.top + e.clientTop, i = n.left + e.clientLeft, s =
|
1547
|
+
const n = ot(e, !0, t === "fixed"), o = n.top + e.clientTop, i = n.left + e.clientLeft, s = M(e) ? rt(e) : I(1), l = e.clientWidth * s.x, r = e.clientHeight * s.y, a = i * s.x, c = o * s.y;
|
1548
1548
|
return {
|
1549
1549
|
width: l,
|
1550
1550
|
height: r,
|
@@ -1583,7 +1583,7 @@ function To(e, t) {
|
|
1583
1583
|
const s = q(e).position === "fixed";
|
1584
1584
|
let l = s ? tt(e) : e;
|
1585
1585
|
for (; N(l) && !at(l); ) {
|
1586
|
-
const r = q(l), a =
|
1586
|
+
const r = q(l), a = Yt(l);
|
1587
1587
|
!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);
|
1588
1588
|
}
|
1589
1589
|
return t.set(e, o), o;
|
@@ -1617,18 +1617,18 @@ function So(e) {
|
|
1617
1617
|
};
|
1618
1618
|
}
|
1619
1619
|
function Ro(e, t, n) {
|
1620
|
-
const o =
|
1620
|
+
const o = M(t), i = W(t), s = n === "fixed", l = ot(e, !0, s, t);
|
1621
1621
|
let r = {
|
1622
1622
|
scrollLeft: 0,
|
1623
1623
|
scrollTop: 0
|
1624
1624
|
};
|
1625
|
-
const a =
|
1625
|
+
const a = I(0);
|
1626
1626
|
if (o || !o && !s)
|
1627
1627
|
if ((ut(t) !== "body" || yt(i)) && (r = At(t)), o) {
|
1628
1628
|
const p = ot(t, !0, s, t);
|
1629
1629
|
a.x = p.x + t.clientLeft, a.y = p.y + t.clientTop;
|
1630
1630
|
} else i && (a.x = Zt(i));
|
1631
|
-
const c = i && !o && !s ? Te(i, r) :
|
1631
|
+
const c = i && !o && !s ? Te(i, r) : I(0), h = l.left + r.scrollLeft - a.x - c.x, d = l.top + r.scrollTop - a.y - c.y;
|
1632
1632
|
return {
|
1633
1633
|
x: h,
|
1634
1634
|
y: d,
|
@@ -1640,7 +1640,7 @@ function Dt(e) {
|
|
1640
1640
|
return q(e).position === "static";
|
1641
1641
|
}
|
1642
1642
|
function ue(e, t) {
|
1643
|
-
if (!
|
1643
|
+
if (!M(e) || q(e).position === "fixed")
|
1644
1644
|
return null;
|
1645
1645
|
if (t)
|
1646
1646
|
return t(e);
|
@@ -1651,7 +1651,7 @@ function Se(e, t) {
|
|
1651
1651
|
const n = L(e);
|
1652
1652
|
if (Lt(e))
|
1653
1653
|
return n;
|
1654
|
-
if (!
|
1654
|
+
if (!M(e)) {
|
1655
1655
|
let i = tt(e);
|
1656
1656
|
for (; i && !at(i); ) {
|
1657
1657
|
if (N(i) && !Dt(i))
|
@@ -1663,7 +1663,7 @@ function Se(e, t) {
|
|
1663
1663
|
let o = ue(e, t);
|
1664
1664
|
for (; o && yo(o) && Dt(o); )
|
1665
1665
|
o = ue(o, t);
|
1666
|
-
return o && at(o) && Dt(o) && !
|
1666
|
+
return o && at(o) && Dt(o) && !Yt(o) ? n : o || bo(e) || n;
|
1667
1667
|
}
|
1668
1668
|
const Lo = async function(e) {
|
1669
1669
|
const t = this.getOffsetParent || Se, n = this.getDimensions, o = await n(e.floating);
|
@@ -1777,7 +1777,7 @@ function pe(e, t, n, o) {
|
|
1777
1777
|
}), d == null || d(), (v = u) == null || v.disconnect(), u = null, a && cancelAnimationFrame(m);
|
1778
1778
|
};
|
1779
1779
|
}
|
1780
|
-
const Fo = go, No = fo, me = po, qo = vo,
|
1780
|
+
const Fo = go, No = fo, me = po, qo = vo, Bo = uo, _o = (e, t, n) => {
|
1781
1781
|
const o = /* @__PURE__ */ new Map(), i = {
|
1782
1782
|
platform: $o,
|
1783
1783
|
...n
|
@@ -1796,7 +1796,7 @@ function Et(e) {
|
|
1796
1796
|
const t = window.devicePixelRatio || 1;
|
1797
1797
|
return Math.round(e * t) / t;
|
1798
1798
|
}
|
1799
|
-
const zt = 8, Ho = 100,
|
1799
|
+
const zt = 8, Ho = 100, Io = (e) => ({
|
1800
1800
|
left: ["right", "bottom", "top"],
|
1801
1801
|
"left-start": ["right-start", "bottom", "top"],
|
1802
1802
|
"left-end": ["right-end", "bottom", "top"],
|
@@ -1884,7 +1884,7 @@ class Qt {
|
|
1884
1884
|
await (document.fonts ? document.fonts.ready : Promise.resolve());
|
1885
1885
|
const s = o.trigger instanceof HTMLElement ? me() : me({
|
1886
1886
|
padding: zt,
|
1887
|
-
fallbackPlacements:
|
1887
|
+
fallbackPlacements: Io(o.placement)
|
1888
1888
|
}), [l = 0, r = 0] = Array.isArray(o == null ? void 0 : o.offset) ? o.offset : [o.offset, 0], a = (t = this.host.elements.find(
|
1889
1889
|
(m) => m.tipElement
|
1890
1890
|
)) == null ? void 0 : t.tipElement, c = [
|
@@ -1910,12 +1910,12 @@ class Qt {
|
|
1910
1910
|
}
|
1911
1911
|
}),
|
1912
1912
|
...a ? [
|
1913
|
-
|
1913
|
+
Bo({
|
1914
1914
|
element: a,
|
1915
1915
|
padding: o.tipPadding || zt
|
1916
1916
|
})
|
1917
1917
|
] : []
|
1918
|
-
], { x: h, y: d, placement: p, middlewareData: u } = await
|
1918
|
+
], { x: h, y: d, placement: p, middlewareData: u } = await _o(
|
1919
1919
|
o.trigger,
|
1920
1920
|
i,
|
1921
1921
|
{
|
@@ -2064,7 +2064,7 @@ class te extends bt {
|
|
2064
2064
|
);
|
2065
2065
|
}
|
2066
2066
|
}
|
2067
|
-
const
|
2067
|
+
const Mo = 300;
|
2068
2068
|
class ee extends bt {
|
2069
2069
|
constructor() {
|
2070
2070
|
super(...arguments), this.type = nt.hover, this.elementIds = [], this.focusedin = !1, this.pointerentered = !1;
|
@@ -2107,7 +2107,7 @@ class ee extends bt {
|
|
2107
2107
|
};
|
2108
2108
|
}
|
2109
2109
|
prepareContentRelativeDescription() {
|
2110
|
-
const t = [], n = this.overlay.elements.map((i) => (t.push(i.id), i.id || (i.id = `${this.overlay.tagName.toLowerCase()}-helper-${
|
2110
|
+
const t = [], n = this.overlay.elements.map((i) => (t.push(i.id), i.id || (i.id = `${this.overlay.tagName.toLowerCase()}-helper-${It()}`), i.id));
|
2111
2111
|
this.elementIds = t;
|
2112
2112
|
const o = Nt(
|
2113
2113
|
this.target,
|
@@ -2125,7 +2125,7 @@ class ee extends bt {
|
|
2125
2125
|
const t = this.target;
|
2126
2126
|
this.focusedin && t.matches(":focus-visible") || (this.hoverTimeout = setTimeout(() => {
|
2127
2127
|
this.open = !1;
|
2128
|
-
},
|
2128
|
+
}, Mo));
|
2129
2129
|
}
|
2130
2130
|
init() {
|
2131
2131
|
var t;
|
@@ -2223,8 +2223,8 @@ class ne extends bt {
|
|
2223
2223
|
)
|
2224
2224
|
return;
|
2225
2225
|
const n = document.createElement("div");
|
2226
|
-
n.id = `longpress-describedby-descriptor-${
|
2227
|
-
const o = He() ||
|
2226
|
+
n.id = `longpress-describedby-descriptor-${It()}`;
|
2227
|
+
const o = He() || Ie() ? "touch" : "keyboard";
|
2228
2228
|
n.textContent = oe[o], n.slot = "longpress-describedby-descriptor";
|
2229
2229
|
const i = t.getRootNode(), s = this.overlay.getRootNode();
|
2230
2230
|
i === s ? this.overlay.append(n) : (n.hidden = !("host" in i), t.after(n));
|
@@ -2350,7 +2350,7 @@ const z = (st = class extends Ct {
|
|
2350
2350
|
* @returns The `ElementResolutionController` instance.
|
2351
2351
|
*/
|
2352
2352
|
get elementResolver() {
|
2353
|
-
return this._elementResolver || (this._elementResolver = new
|
2353
|
+
return this._elementResolver || (this._elementResolver = new Be(this)), this._elementResolver;
|
2354
2354
|
}
|
2355
2355
|
/**
|
2356
2356
|
* Determines if the overlay uses a dialog.
|
@@ -2615,12 +2615,12 @@ const z = (st = class extends Ct {
|
|
2615
2615
|
*/
|
2616
2616
|
willUpdate(e) {
|
2617
2617
|
var t;
|
2618
|
-
if (this.hasAttribute("id") || this.setAttribute("id", `${this.tagName.toLowerCase()}-${
|
2618
|
+
if (this.hasAttribute("id") || this.setAttribute("id", `${this.tagName.toLowerCase()}-${It()}`), e.has("open") && (this.hasUpdated || this.open) && this.manageOpen(e.get("open")), e.has("trigger")) {
|
2619
2619
|
const [o, i] = ((t = this.trigger) == null ? void 0 : t.split("@")) || [];
|
2620
2620
|
this.elementResolver.selector = o ? `#${o}` : "", this.triggerInteraction = i;
|
2621
2621
|
}
|
2622
2622
|
let n = !1;
|
2623
|
-
e.has(
|
2623
|
+
e.has(_e) && (n = this.triggerElement, this.triggerElement = this.elementResolver.element), e.has("triggerElement") && (n = e.get("triggerElement")), n !== !1 && this.bindEvents();
|
2624
2624
|
}
|
2625
2625
|
/**
|
2626
2626
|
* Lifecycle method called after the component updates.
|
@@ -2850,18 +2850,18 @@ const Ko = () => {
|
|
2850
2850
|
}
|
2851
2851
|
};
|
2852
2852
|
Ko();
|
2853
|
-
const
|
2854
|
-
var
|
2853
|
+
const Xo = ":host([disabled]) ::slotted([slot=trigger]){pointer-events:none}slot[name=longpress-describedby-descriptor]{display:none}";
|
2854
|
+
var Yo = Object.defineProperty, k = (e, t, n, o) => {
|
2855
2855
|
for (var i = void 0, s = e.length - 1, l; s >= 0; s--)
|
2856
2856
|
(l = e[s]) && (i = l(t, n, i) || i);
|
2857
|
-
return i &&
|
2857
|
+
return i && Yo(t, n, i), i;
|
2858
2858
|
};
|
2859
2859
|
class C extends ge {
|
2860
2860
|
constructor() {
|
2861
2861
|
super(...arguments), this.content = "click hover longpress", this.offset = 6, this.disabled = !1, this.receivesFocus = "auto", this.clickContent = [], this.longpressContent = [], this.hoverContent = [], this.targetContent = [];
|
2862
2862
|
}
|
2863
2863
|
static get styles() {
|
2864
|
-
return [fe(
|
2864
|
+
return [fe(Xo)];
|
2865
2865
|
}
|
2866
2866
|
getAssignedElementsFromSlot(t) {
|
2867
2867
|
return t.assignedElements({ flatten: !0 });
|
@@ -3043,7 +3043,7 @@ function Go(e, t, n, o) {
|
|
3043
3043
|
o
|
3044
3044
|
);
|
3045
3045
|
}
|
3046
|
-
class se extends
|
3046
|
+
class se extends Me {
|
3047
3047
|
/* c8 ignore next 9 */
|
3048
3048
|
render(t) {
|
3049
3049
|
return ve;
|
@@ -17,9 +17,9 @@
|
|
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 { m as d,
|
21
|
-
import { a as b } from "./observe-slot-text-
|
22
|
-
import { d as h } from "./if-defined-
|
20
|
+
import { m as d, I as p, a as m, R as g, z as u } from "./base-D76d76ww-BGkuhs54.js";
|
21
|
+
import { a as b } from "./observe-slot-text-BPfIQQtz-v6B-1BYh.js";
|
22
|
+
import { d as h } from "./if-defined-DOaE2coe-CNT45Xcl.js";
|
23
23
|
import { m as z } from "./roving-tabindex-DOg4z6ZU-dufnVmvL.js";
|
24
24
|
/*! * Lucero - The design system for Luzmo.
|
25
25
|
*
|