@luzmo/lucero 0.0.10 → 0.0.12
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/accordion/index.cjs +5 -5
- package/components/accordion/index.js +9 -10
- package/components/action-bar/index.cjs +4 -4
- package/components/action-bar/index.js +10 -10
- package/components/action-button/index.cjs +2 -2
- package/components/action-button/index.js +4 -4
- package/components/action-group/index.cjs +1 -1
- package/components/action-group/index.js +1 -1
- package/components/action-group-B59CWNnT.cjs +20 -0
- package/components/{action-group-Bf28z235.js → action-group-DzT5e9uS.js} +8 -9
- package/components/action-menu/index.cjs +9 -9
- package/components/action-menu/index.js +8 -9
- package/components/avatar/index.cjs +3 -3
- package/components/avatar/index.js +6 -7
- package/components/base-CCsOyfm4.js +632 -0
- package/components/base-CaRKlVkL.cjs +36 -0
- package/components/button/index.cjs +2 -2
- package/components/button/index.js +7 -7
- package/components/{button-base-CDLQV7Vk.js → button-base-BUylwU1F.js} +5 -6
- package/components/button-base-D62oiPcu.cjs +25 -0
- package/components/button-group/index.cjs +1 -1
- package/components/button-group/index.js +6 -6
- package/components/checkbox/index.cjs +4 -4
- package/components/checkbox/index.js +4 -4
- package/components/{checkbox-mixin-DXUIwtea.js → checkbox-mixin-CM4VUJxF.js} +9 -10
- package/components/{checkbox-mixin-DaXMsrtV.cjs → checkbox-mixin-CifGmiLR.cjs} +3 -3
- package/components/{clear-button-Dh2Mq0cc.js → clear-button-BmUyRVoz.js} +4 -4
- package/components/clear-button-Cc5-XUOJ.cjs +18 -0
- package/components/{close-button-BsYkXOVh.js → close-button-BekXo6bQ.js} +10 -10
- package/components/close-button-Bf8yzpLd.cjs +18 -0
- package/components/color-area/index.cjs +6 -6
- package/components/color-area/index.js +10 -11
- package/components/color-field/index.cjs +2 -2
- package/components/color-field/index.js +3 -3
- package/components/color-handle/index.cjs +2 -2
- package/components/color-handle/index.js +6 -6
- package/components/color-loupe/index.cjs +1 -1
- package/components/color-loupe/index.js +1 -1
- package/components/color-loupe-CLzp2MiI.cjs +56 -0
- package/components/{color-loupe-BCfIVFkB.js → color-loupe-DiegGLZu.js} +4 -4
- package/components/color-menu/index.cjs +5 -5
- package/components/color-menu/index.js +5 -7
- package/components/color-picker/index.cjs +4 -4
- package/components/color-picker/index.js +11 -13
- package/components/color-slider/index.cjs +7 -7
- package/components/color-slider/index.js +6 -7
- package/components/divider/index.cjs +1 -1
- package/components/divider/index.js +6 -6
- package/components/field-group/index.cjs +1 -1
- package/components/field-group/index.js +1 -1
- package/components/{field-group-CwZULltm.js → field-group-BPZvGJi1.js} +6 -6
- package/components/field-group-CodR_26L.cjs +23 -0
- package/components/field-label/index.cjs +1 -1
- package/components/field-label/index.js +1 -1
- package/components/{field-label-C3HFlH91.js → field-label-6AaW05kA.js} +7 -8
- package/components/field-label-B91K6moC.cjs +25 -0
- package/components/focusable-BFdecx5l.cjs +18 -0
- package/components/{focusable-zT9NFFYs.js → focusable-CxA_NMK_.js} +2 -1
- package/components/icon/index.cjs +1 -1
- package/components/icon/index.js +6 -6
- package/components/index-Cg_y7WKM.cjs +77 -0
- package/components/{index-C2qG2Sm8.js → index-QeYYAZQR.js} +15 -18
- package/components/index.cjs +1 -1
- package/components/index.js +16 -16
- package/components/infield-button/index.cjs +2 -2
- package/components/infield-button/index.js +4 -4
- package/components/label/index.cjs +1 -1
- package/components/label/index.js +5 -5
- package/components/{like-anchor-DoJWh4Uu.js → like-anchor-D7tY6am5.js} +21 -21
- package/components/like-anchor-b3cNzw52.cjs +32 -0
- package/components/{manage-help-text-BzWK2v8i.js → manage-help-text-CmE_nfjl.js} +8 -8
- package/components/{manage-help-text-BKlmmlgp.cjs → manage-help-text-CoX77cTJ.cjs} +3 -3
- package/components/menu/index.cjs +1 -1
- package/components/menu/index.js +1 -1
- package/components/multi-language-field/index.cjs +2 -2
- package/components/multi-language-field/index.js +7 -7
- package/components/number-field/index.cjs +4 -4
- package/components/number-field/index.js +16 -17
- package/components/observe-slot-text-ByPG1Lqw.cjs +18 -0
- package/components/{observe-slot-text-BG0H7bQK.js → observe-slot-text-CugmOzNZ.js} +20 -21
- package/components/overlay/index.cjs +7 -7
- package/components/overlay/index.js +45 -49
- package/components/overlay-BWBJGJN_.cjs +47 -0
- package/components/{overlay-D7EbnA6E.js → overlay-CtdbWiFs.js} +71 -74
- package/components/{pending-state-DHXuiejX.js → pending-state-B_JeaE62.js} +2 -2
- package/components/{pending-state-BHCOneQ7.cjs → pending-state-DWvTsSoS.cjs} +2 -2
- package/components/picker/index.cjs +1 -1
- package/components/picker/index.js +2 -2
- package/components/picker-CaC1rQOK.cjs +123 -0
- package/components/{picker-ChtCbFLB.js → picker-DwbcFve2.js} +109 -140
- package/components/popover/index.cjs +1 -1
- package/components/popover/index.js +1 -1
- package/components/popover-C4w3aY8m.cjs +30 -0
- package/components/{popover-bg0EQQ8p.js → popover-DLFHilGS.js} +6 -7
- package/components/progress-circle/index.cjs +1 -1
- package/components/progress-circle/index.js +1 -1
- package/components/progress-circle-BXyXtMcs.cjs +33 -0
- package/components/{progress-circle-BT2qW7LK.js → progress-circle-CUCJ_Ehs.js} +6 -7
- package/components/radio/index.cjs +2 -2
- package/components/radio/index.js +9 -10
- package/components/search/index.cjs +7 -7
- package/components/search/index.js +4 -5
- package/components/{base-BjTwmyRF.cjs → sized-mixin-DcvJLFeo.cjs} +1 -5
- package/components/{sized-mixin-PyCYpyQq.js → sized-mixin-cJbo3PKR.js} +5 -5
- package/components/slider/index.cjs +1 -1
- package/components/slider/index.js +6 -6
- package/components/{streaming-listener-wjMvsv4N.js → streaming-listener-BgCzt2TI.js} +5 -6
- package/components/streaming-listener-C2bsIc4J.cjs +18 -0
- package/components/swatch/index.cjs +7 -7
- package/components/swatch/index.js +11 -12
- package/components/switch/index.cjs +2 -2
- package/components/switch/index.js +5 -5
- package/components/tags/index.cjs +4 -4
- package/components/tags/index.js +12 -13
- package/components/text-field/index.cjs +3 -3
- package/components/text-field/index.js +8 -8
- package/components/text-field-BX_aHXSW.js +288 -0
- package/components/text-field-DAr2RyH9.cjs +81 -0
- package/components/toast/index.cjs +5 -5
- package/components/toast/index.js +5 -5
- package/components/tooltip/index.cjs +4 -4
- package/components/tooltip/index.js +6 -7
- package/components/unit-input/index.cjs +6 -6
- package/components/unit-input/index.js +5 -6
- package/components/utils.cjs +1 -1
- package/components/utils.js +4 -4
- package/custom-elements.json +1 -1
- package/package.json +2 -1
- package/components/action-group-BBoV2VL9.cjs +0 -20
- package/components/async-directive-CV2MII86.cjs +0 -22
- package/components/async-directive-FGzMycjH.js +0 -82
- package/components/base-D76d76ww.js +0 -26
- package/components/base-DNrOP9L3.js +0 -391
- package/components/base-DzbGOAPo.cjs +0 -30
- package/components/button-base-C1ceE1LF.cjs +0 -25
- package/components/clear-button-pnT9_M8M.cjs +0 -18
- package/components/close-button-CPtjRQ0R.cjs +0 -18
- package/components/color-loupe-DIBrhG1Y.cjs +0 -56
- package/components/directive-C7oCP5Bh.cjs +0 -22
- package/components/directive-helpers-BLDZnGQv.js +0 -28
- package/components/directive-helpers-C2vOfhFx.cjs +0 -22
- package/components/directive-oAbCiebi.js +0 -44
- package/components/field-group-eICRTHzI.cjs +0 -23
- package/components/field-label-DOIVL4S4.cjs +0 -25
- package/components/focusable-zn6qaMtV.cjs +0 -18
- package/components/if-defined-CYpcjGCb.js +0 -27
- package/components/if-defined-Cv6xanXh.cjs +0 -22
- package/components/index-BYumXRH5.cjs +0 -77
- package/components/like-anchor-CmIcmz5k.cjs +0 -32
- package/components/lit-html-B3ugcwD9.js +0 -248
- package/components/lit-html-p4Oxv2-5.cjs +0 -24
- package/components/observe-slot-text-CP_EB97X.cjs +0 -18
- package/components/overlay-B1JDPmUJ.cjs +0 -47
- package/components/picker-CLKdhX0B.cjs +0 -127
- package/components/popover-CdkB6GFb.cjs +0 -30
- package/components/progress-circle-DTeqfeun.cjs +0 -33
- package/components/query-BL-TJj7K.cjs +0 -22
- package/components/query-D_KR_GUc.js +0 -51
- package/components/query-assigned-elements-DjfhL1cl.js +0 -36
- package/components/query-assigned-elements-DsKsfk7G.cjs +0 -22
- package/components/query-assigned-nodes-BcKWmGzy.cjs +0 -22
- package/components/query-assigned-nodes-C76XVPWY.js +0 -36
- package/components/sized-mixin-BEemErtP.cjs +0 -18
- package/components/state-BG4JQVA1.js +0 -29
- package/components/state-DHaIxrnQ.cjs +0 -22
- package/components/streaming-listener-BQxEN4sL.cjs +0 -18
- package/components/style-map-BjBGQ_u3.cjs +0 -22
- package/components/style-map-BqvQDFJt.js +0 -53
- package/components/text-field-7ITo3Lac.js +0 -315
- package/components/text-field-CtUKbEQN.cjs +0 -85
- package/components/when-CDK1Tt5Y.js +0 -28
- package/components/when-CDZyJPvd.cjs +0 -22
|
@@ -15,18 +15,15 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { o as me } from "./query-assigned-elements-DjfhL1cl.js";
|
|
23
|
-
import { o as Ct } from "./if-defined-CYpcjGCb.js";
|
|
24
|
-
import { o as Ut } from "./style-map-BqvQDFJt.js";
|
|
18
|
+
import { a as ue, r as pe, x as ht } from "./base-CCsOyfm4.js";
|
|
19
|
+
import { property as z, query as te, queryAssignedElements as fe, state as me } from "lit/decorators.js";
|
|
20
|
+
import { ifDefined as Ct } from "lit/directives/if-defined.js";
|
|
21
|
+
import { styleMap as Ut } from "lit/directives/style-map.js";
|
|
25
22
|
import { r as St } from "./random-id-ByCz1xaq.js";
|
|
26
23
|
import { E as ge, e as ve } from "./element-resolution-FCUT-wql.js";
|
|
27
24
|
import { u as lt } from "./focusable-selectors-B4YgbghQ.js";
|
|
28
25
|
import { S as ye, r as we } from "./slottable-request-event-DggLA4Rx.js";
|
|
29
|
-
import { c as
|
|
26
|
+
import { c as At } from "./condition-attribute-with-id-Dv4lSRbe.js";
|
|
30
27
|
import { c as be, j as xe } from "./platform-BM-uMWpX.js";
|
|
31
28
|
function Ee(e, t, i = []) {
|
|
32
29
|
for (const [n, o] of t.entries()) {
|
|
@@ -57,7 +54,7 @@ const Pe = (e, t, {
|
|
|
57
54
|
return Ee(a, e, l);
|
|
58
55
|
};
|
|
59
56
|
}, Ce = 1e3, Oe = 1e3;
|
|
60
|
-
class
|
|
57
|
+
class Ae {
|
|
61
58
|
constructor(t = {}) {
|
|
62
59
|
this.warmUpDelay = Ce, this.coolDownDelay = Oe, this.isWarm = !1, this.timeout = 0, Object.assign(this, t);
|
|
63
60
|
}
|
|
@@ -84,7 +81,7 @@ class Te {
|
|
|
84
81
|
this.cooldownTimeout && window.clearTimeout(this.cooldownTimeout), delete this.cooldownTimeout;
|
|
85
82
|
}
|
|
86
83
|
}
|
|
87
|
-
const mt = new
|
|
84
|
+
const mt = new Ae(), J = () => {
|
|
88
85
|
}, kt = (e, t, i) => {
|
|
89
86
|
const n = new AbortController(), o = /* @__PURE__ */ new Map(), s = () => {
|
|
90
87
|
n.abort(), i();
|
|
@@ -118,7 +115,7 @@ const mt = new Te(), J = () => {
|
|
|
118
115
|
function R() {
|
|
119
116
|
return new Promise((e) => requestAnimationFrame(() => e()));
|
|
120
117
|
}
|
|
121
|
-
class rt extends
|
|
118
|
+
class rt extends ue {
|
|
122
119
|
constructor() {
|
|
123
120
|
super(...arguments), this.dispose = J, this.offset = 0, this.willPreventClose = !1;
|
|
124
121
|
}
|
|
@@ -290,7 +287,7 @@ class wt {
|
|
|
290
287
|
};
|
|
291
288
|
}
|
|
292
289
|
}
|
|
293
|
-
function
|
|
290
|
+
function Te(e) {
|
|
294
291
|
class t extends e {
|
|
295
292
|
async manageDialogOpen() {
|
|
296
293
|
const n = this.open;
|
|
@@ -665,7 +662,7 @@ class ke {
|
|
|
665
662
|
this.closeOverlay(t);
|
|
666
663
|
}
|
|
667
664
|
}
|
|
668
|
-
const Kt = new ke(), Fe = ':host{display:contents;pointer-events:none;--luzmo-overlay-animation-distance: .5rem}:host(:has(> luzmo-tooltip)){--luzmo-overlay-animation-distance: var( --luzmo-tooltip-animation-distance, 4px )}.dialog{margin:0;border:0;background:none;padding:0;position:fixed;overflow:visible;opacity:1!important;box-sizing:border-box;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);max-width:calc(100vw - 16px);height:auto;inset:auto;top:0;left:0;display:flex;--luzmo-overlay-open: true}.dialog:not([is-visible]){display:none}.dialog:focus{outline:none}dialog:modal{--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}:host(:not([open])) .dialog{--luzmo-overlay-open: false}.dialog::backdrop{display:none}.dialog:before{position:absolute;top:-999em;right:-999em;bottom:-999em;left:-999em;content:"";pointer-events:auto!important}.dialog:not(.not-immediately-closable):before{display:none}.dialog>div{width:100%}::slotted(*){pointer-events:auto;visibility:visible!important}::slotted(luzmo-popover){position:static}.dialog:not([actual-placement])[placement*=top]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:var(--luzmo-overlay-animation-distance)}.dialog:not([actual-placement])[placement*=right]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog:not([actual-placement])[placement*=bottom]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog:not([actual-placement])[placement*=left]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:var(--luzmo-overlay-animation-distance)}.dialog[actual-placement*=top]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:var(--luzmo-overlay-animation-distance)}.dialog[actual-placement*=right]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog[actual-placement*=bottom]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog[actual-placement*=left]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:var(--luzmo-overlay-animation-distance)}slot[name=longpress-describedby-descriptor]{display:none}@supports selector(:open){.dialog{opacity:0}.dialog:open{opacity:1;--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}}@supports selector(:popover-open){.dialog{opacity:0}.dialog:popover-open{opacity:1;--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}}@supports (overlay: auto){.dialog{display:none;transition:all var(--luzmo-overlay-animation-duration, .13s),translate 0s,display var(--luzmo-overlay-animation-duration, .13s);transition-behavior:allow-discrete}.dialog:popover-open,.dialog:modal{display:flex}}@supports (not selector(:open)) and (not selector(:popover-open)){:host:not([open]) .dialog{pointer-events:none}.dialog[actual-placement]{z-index:calc(var(--luzmo-overlay-z-index-base, 1000) + var(--luzmo-overlay-open-count))}}', Y = Math.min,
|
|
665
|
+
const Kt = new ke(), Fe = ':host{display:contents;pointer-events:none;--luzmo-overlay-animation-distance: .5rem}:host(:has(> luzmo-tooltip)){--luzmo-overlay-animation-distance: var( --luzmo-tooltip-animation-distance, 4px )}.dialog{margin:0;border:0;background:none;padding:0;position:fixed;overflow:visible;opacity:1!important;box-sizing:border-box;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);max-width:calc(100vw - 16px);height:auto;inset:auto;top:0;left:0;display:flex;--luzmo-overlay-open: true}.dialog:not([is-visible]){display:none}.dialog:focus{outline:none}dialog:modal{--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}:host(:not([open])) .dialog{--luzmo-overlay-open: false}.dialog::backdrop{display:none}.dialog:before{position:absolute;top:-999em;right:-999em;bottom:-999em;left:-999em;content:"";pointer-events:auto!important}.dialog:not(.not-immediately-closable):before{display:none}.dialog>div{width:100%}::slotted(*){pointer-events:auto;visibility:visible!important}::slotted(luzmo-popover){position:static}.dialog:not([actual-placement])[placement*=top]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:var(--luzmo-overlay-animation-distance)}.dialog:not([actual-placement])[placement*=right]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog:not([actual-placement])[placement*=bottom]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog:not([actual-placement])[placement*=left]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:var(--luzmo-overlay-animation-distance)}.dialog[actual-placement*=top]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:var(--luzmo-overlay-animation-distance)}.dialog[actual-placement*=right]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog[actual-placement*=bottom]{padding-block:var(--luzmo-overlay-animation-distance);margin-top:calc(-1 * var(--luzmo-overlay-animation-distance))}.dialog[actual-placement*=left]{padding-inline:var(--luzmo-overlay-animation-distance);margin-left:var(--luzmo-overlay-animation-distance)}slot[name=longpress-describedby-descriptor]{display:none}@supports selector(:open){.dialog{opacity:0}.dialog:open{opacity:1;--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}}@supports selector(:popover-open){.dialog{opacity:0}.dialog:popover-open{opacity:1;--luzmo-popover-filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, .15))}}@supports (overlay: auto){.dialog{display:none;transition:all var(--luzmo-overlay-animation-duration, .13s),translate 0s,display var(--luzmo-overlay-animation-duration, .13s);transition-behavior:allow-discrete}.dialog:popover-open,.dialog:modal{display:flex}}@supports (not selector(:open)) and (not selector(:popover-open)){:host:not([open]) .dialog{pointer-events:none}.dialog[actual-placement]{z-index:calc(var(--luzmo-overlay-z-index-base, 1000) + var(--luzmo-overlay-open-count))}}', Y = Math.min, A = Math.max, gt = Math.round, dt = Math.floor, $ = (e) => ({
|
|
669
666
|
x: e,
|
|
670
667
|
y: e
|
|
671
668
|
}), ze = {
|
|
@@ -677,8 +674,8 @@ const Kt = new ke(), Fe = ':host{display:contents;pointer-events:none;--luzmo-ov
|
|
|
677
674
|
start: "end",
|
|
678
675
|
end: "start"
|
|
679
676
|
};
|
|
680
|
-
function
|
|
681
|
-
return
|
|
677
|
+
function Tt(e, t, i) {
|
|
678
|
+
return A(e, Y(t, i));
|
|
682
679
|
}
|
|
683
680
|
function nt(e, t) {
|
|
684
681
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -692,29 +689,29 @@ function ot(e) {
|
|
|
692
689
|
function ee(e) {
|
|
693
690
|
return e === "x" ? "y" : "x";
|
|
694
691
|
}
|
|
695
|
-
function
|
|
692
|
+
function Mt(e) {
|
|
696
693
|
return e === "y" ? "height" : "width";
|
|
697
694
|
}
|
|
698
695
|
function Q(e) {
|
|
699
696
|
return ["top", "bottom"].includes(X(e)) ? "y" : "x";
|
|
700
697
|
}
|
|
701
|
-
function
|
|
698
|
+
function $t(e) {
|
|
702
699
|
return ee(Q(e));
|
|
703
700
|
}
|
|
704
701
|
function _e(e, t, i) {
|
|
705
702
|
i === void 0 && (i = !1);
|
|
706
|
-
const n = ot(e), o =
|
|
703
|
+
const n = ot(e), o = $t(e), s = Mt(o);
|
|
707
704
|
let r = o === "x" ? n === (i ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
708
705
|
return t.reference[s] > t.floating[s] && (r = vt(r)), [r, vt(r)];
|
|
709
706
|
}
|
|
710
|
-
function
|
|
707
|
+
function Me(e) {
|
|
711
708
|
const t = vt(e);
|
|
712
709
|
return [Rt(e), t, Rt(t)];
|
|
713
710
|
}
|
|
714
711
|
function Rt(e) {
|
|
715
712
|
return e.replace(/start|end/g, (t) => Ne[t]);
|
|
716
713
|
}
|
|
717
|
-
function
|
|
714
|
+
function $e(e, t, i) {
|
|
718
715
|
const n = ["left", "right"], o = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
|
|
719
716
|
switch (e) {
|
|
720
717
|
case "top":
|
|
@@ -729,7 +726,7 @@ function Me(e, t, i) {
|
|
|
729
726
|
}
|
|
730
727
|
function He(e, t, i, n) {
|
|
731
728
|
const o = ot(e);
|
|
732
|
-
let s =
|
|
729
|
+
let s = $e(X(e), i === "start", n);
|
|
733
730
|
return o && (s = s.map((r) => r + "-" + o), t && (s = s.concat(s.map(Rt)))), s;
|
|
734
731
|
}
|
|
735
732
|
function vt(e) {
|
|
@@ -775,7 +772,7 @@ function Yt(e, t, i) {
|
|
|
775
772
|
reference: n,
|
|
776
773
|
floating: o
|
|
777
774
|
} = e;
|
|
778
|
-
const s = Q(t), r =
|
|
775
|
+
const s = Q(t), r = $t(t), a = Mt(r), l = X(t), h = s === "y", c = n.x + n.width / 2 - o.width / 2, d = n.y + n.height / 2 - o.height / 2, f = n[a] / 2 - o[a] / 2;
|
|
779
776
|
let u;
|
|
780
777
|
switch (l) {
|
|
781
778
|
case "top":
|
|
@@ -945,17 +942,17 @@ const qe = (e) => ({
|
|
|
945
942
|
const d = ie(c), f = {
|
|
946
943
|
x: i,
|
|
947
944
|
y: n
|
|
948
|
-
}, u =
|
|
945
|
+
}, u = $t(o), p = Mt(u), m = await r.getDimensions(h), v = u === "y", g = v ? "top" : "left", y = v ? "bottom" : "right", w = v ? "clientHeight" : "clientWidth", x = s.reference[p] + s.reference[u] - f[u] - s.floating[p], b = f[u] - s.reference[u], D = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(h));
|
|
949
946
|
let E = D ? D[w] : 0;
|
|
950
947
|
(!E || !await (r.isElement == null ? void 0 : r.isElement(D))) && (E = a.floating[w] || s.floating[p]);
|
|
951
|
-
const W = x / 2 - b / 2, N = E / 2 - m[p] / 2 - 1, L = Y(d[g], N), V = Y(d[y], N), _ = L, U = E - m[p] - V, C = E / 2 - m[p] / 2 + W, tt =
|
|
948
|
+
const W = x / 2 - b / 2, N = E / 2 - m[p] / 2 - 1, L = Y(d[g], N), V = Y(d[y], N), _ = L, U = E - m[p] - V, C = E / 2 - m[p] / 2 + W, tt = Tt(_, C, U), q = !l.arrow && ot(o) != null && C !== tt && s.reference[p] / 2 - (C < _ ? L : V) - m[p] / 2 < 0, M = q ? C < _ ? C - _ : C - U : 0;
|
|
952
949
|
return {
|
|
953
|
-
[u]: f[u] +
|
|
950
|
+
[u]: f[u] + M,
|
|
954
951
|
data: {
|
|
955
952
|
[u]: tt,
|
|
956
|
-
centerOffset: C - tt -
|
|
953
|
+
centerOffset: C - tt - M,
|
|
957
954
|
...q && {
|
|
958
|
-
alignmentOffset:
|
|
955
|
+
alignmentOffset: M
|
|
959
956
|
}
|
|
960
957
|
},
|
|
961
958
|
reset: q
|
|
@@ -985,7 +982,7 @@ const qe = (e) => ({
|
|
|
985
982
|
} = nt(e, t);
|
|
986
983
|
if ((i = s.arrow) != null && i.alignmentOffset)
|
|
987
984
|
return {};
|
|
988
|
-
const g = X(o), y = Q(a), w = X(a) === a, x = await (l.isRTL == null ? void 0 : l.isRTL(h.floating)), b = f || (w || !m ? [vt(a)] :
|
|
985
|
+
const g = X(o), y = Q(a), w = X(a) === a, x = await (l.isRTL == null ? void 0 : l.isRTL(h.floating)), b = f || (w || !m ? [vt(a)] : Me(a)), D = p !== "none";
|
|
989
986
|
!f && D && b.push(...He(a, m, p, x));
|
|
990
987
|
const E = [a, ...b], W = await Ht(t, v), N = [];
|
|
991
988
|
let L = ((n = s.flip) == null ? void 0 : n.overflows) || [];
|
|
@@ -1009,12 +1006,12 @@ const qe = (e) => ({
|
|
|
1009
1006
|
placement: tt
|
|
1010
1007
|
}
|
|
1011
1008
|
};
|
|
1012
|
-
let q = (_ = L.filter((
|
|
1009
|
+
let q = (_ = L.filter((M) => M.overflows[0] <= 0).sort((M, j) => M.overflows[1] - j.overflows[1])[0]) == null ? void 0 : _.placement;
|
|
1013
1010
|
if (!q)
|
|
1014
1011
|
switch (u) {
|
|
1015
1012
|
case "bestFit": {
|
|
1016
1013
|
var U;
|
|
1017
|
-
const
|
|
1014
|
+
const M = (U = L.filter((j) => {
|
|
1018
1015
|
if (D) {
|
|
1019
1016
|
const K = Q(j.placement);
|
|
1020
1017
|
return K === y || // Create a bias to the `y` side axis due to horizontal
|
|
@@ -1023,7 +1020,7 @@ const qe = (e) => ({
|
|
|
1023
1020
|
}
|
|
1024
1021
|
return !0;
|
|
1025
1022
|
}).map((j) => [j.placement, j.overflows.filter((K) => K > 0).reduce((K, de) => K + de, 0)]).sort((j, K) => j[1] - K[1])[0]) == null ? void 0 : U[0];
|
|
1026
|
-
|
|
1023
|
+
M && (q = M);
|
|
1027
1024
|
break;
|
|
1028
1025
|
}
|
|
1029
1026
|
case "initialPlacement":
|
|
@@ -1122,11 +1119,11 @@ const Ue = function(e) {
|
|
|
1122
1119
|
let u = h[f], p = h[d];
|
|
1123
1120
|
if (s) {
|
|
1124
1121
|
const v = f === "y" ? "top" : "left", g = f === "y" ? "bottom" : "right", y = u + c[v], w = u - c[g];
|
|
1125
|
-
u =
|
|
1122
|
+
u = Tt(y, u, w);
|
|
1126
1123
|
}
|
|
1127
1124
|
if (r) {
|
|
1128
1125
|
const v = d === "y" ? "top" : "left", g = d === "y" ? "bottom" : "right", y = p + c[v], w = p - c[g];
|
|
1129
|
-
p =
|
|
1126
|
+
p = Tt(y, p, w);
|
|
1130
1127
|
}
|
|
1131
1128
|
const m = a.fn({
|
|
1132
1129
|
...t,
|
|
@@ -1170,8 +1167,8 @@ const Ue = function(e) {
|
|
|
1170
1167
|
const y = m - c.top - c.bottom, w = p - c.left - c.right, x = Y(m - c[v], y), b = Y(p - c[g], w), D = !t.middlewareData.shift;
|
|
1171
1168
|
let E = x, W = b;
|
|
1172
1169
|
if ((i = t.middlewareData.shift) != null && i.enabled.x && (W = w), (n = t.middlewareData.shift) != null && n.enabled.y && (E = y), D && !f) {
|
|
1173
|
-
const L =
|
|
1174
|
-
u ? W = p - 2 * (L !== 0 || V !== 0 ? L + V :
|
|
1170
|
+
const L = A(c.left, 0), V = A(c.right, 0), _ = A(c.top, 0), U = A(c.bottom, 0);
|
|
1171
|
+
u ? W = p - 2 * (L !== 0 || V !== 0 ? L + V : A(c.left, c.right)) : E = m - 2 * (_ !== 0 || U !== 0 ? _ + U : A(c.top, c.bottom));
|
|
1175
1172
|
}
|
|
1176
1173
|
await l({
|
|
1177
1174
|
...t,
|
|
@@ -1193,7 +1190,7 @@ function bt() {
|
|
|
1193
1190
|
function st(e) {
|
|
1194
1191
|
return ne(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
1195
1192
|
}
|
|
1196
|
-
function
|
|
1193
|
+
function T(e) {
|
|
1197
1194
|
var t;
|
|
1198
1195
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
1199
1196
|
}
|
|
@@ -1202,16 +1199,16 @@ function B(e) {
|
|
|
1202
1199
|
return (t = (ne(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
1203
1200
|
}
|
|
1204
1201
|
function ne(e) {
|
|
1205
|
-
return bt() ? e instanceof Node || e instanceof
|
|
1202
|
+
return bt() ? e instanceof Node || e instanceof T(e).Node : !1;
|
|
1206
1203
|
}
|
|
1207
1204
|
function k(e) {
|
|
1208
|
-
return bt() ? e instanceof Element || e instanceof
|
|
1205
|
+
return bt() ? e instanceof Element || e instanceof T(e).Element : !1;
|
|
1209
1206
|
}
|
|
1210
1207
|
function H(e) {
|
|
1211
|
-
return bt() ? e instanceof HTMLElement || e instanceof
|
|
1208
|
+
return bt() ? e instanceof HTMLElement || e instanceof T(e).HTMLElement : !1;
|
|
1212
1209
|
}
|
|
1213
1210
|
function Xt(e) {
|
|
1214
|
-
return !bt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof
|
|
1211
|
+
return !bt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof T(e).ShadowRoot;
|
|
1215
1212
|
}
|
|
1216
1213
|
function ct(e) {
|
|
1217
1214
|
const {
|
|
@@ -1256,7 +1253,7 @@ function it(e) {
|
|
|
1256
1253
|
return ["html", "body", "#document"].includes(st(e));
|
|
1257
1254
|
}
|
|
1258
1255
|
function F(e) {
|
|
1259
|
-
return
|
|
1256
|
+
return T(e).getComputedStyle(e);
|
|
1260
1257
|
}
|
|
1261
1258
|
function Et(e) {
|
|
1262
1259
|
return k(e) ? {
|
|
@@ -1286,7 +1283,7 @@ function oe(e) {
|
|
|
1286
1283
|
function at(e, t, i) {
|
|
1287
1284
|
var n;
|
|
1288
1285
|
t === void 0 && (t = []), i === void 0 && (i = !0);
|
|
1289
|
-
const o = oe(e), s = o === ((n = e.ownerDocument) == null ? void 0 : n.body), r =
|
|
1286
|
+
const o = oe(e), s = o === ((n = e.ownerDocument) == null ? void 0 : n.body), r = T(o);
|
|
1290
1287
|
if (s) {
|
|
1291
1288
|
const a = Dt(r);
|
|
1292
1289
|
return t.concat(r, r.visualViewport || [], ct(o) ? o : [], a && i ? at(a) : []);
|
|
@@ -1312,7 +1309,7 @@ function qt(e) {
|
|
|
1312
1309
|
function et(e) {
|
|
1313
1310
|
const t = qt(e);
|
|
1314
1311
|
if (!H(t))
|
|
1315
|
-
return
|
|
1312
|
+
return $(1);
|
|
1316
1313
|
const i = t.getBoundingClientRect(), {
|
|
1317
1314
|
width: n,
|
|
1318
1315
|
height: o,
|
|
@@ -1324,30 +1321,30 @@ function et(e) {
|
|
|
1324
1321
|
y: a
|
|
1325
1322
|
};
|
|
1326
1323
|
}
|
|
1327
|
-
const Ge = /* @__PURE__ */
|
|
1324
|
+
const Ge = /* @__PURE__ */ $(0);
|
|
1328
1325
|
function re(e) {
|
|
1329
|
-
const t =
|
|
1326
|
+
const t = T(e);
|
|
1330
1327
|
return !Wt() || !t.visualViewport ? Ge : {
|
|
1331
1328
|
x: t.visualViewport.offsetLeft,
|
|
1332
1329
|
y: t.visualViewport.offsetTop
|
|
1333
1330
|
};
|
|
1334
1331
|
}
|
|
1335
1332
|
function Je(e, t, i) {
|
|
1336
|
-
return t === void 0 && (t = !1), !i || t && i !==
|
|
1333
|
+
return t === void 0 && (t = !1), !i || t && i !== T(e) ? !1 : t;
|
|
1337
1334
|
}
|
|
1338
1335
|
function Z(e, t, i, n) {
|
|
1339
1336
|
t === void 0 && (t = !1), i === void 0 && (i = !1);
|
|
1340
1337
|
const o = e.getBoundingClientRect(), s = qt(e);
|
|
1341
|
-
let r =
|
|
1338
|
+
let r = $(1);
|
|
1342
1339
|
t && (n ? k(n) && (r = et(n)) : r = et(e));
|
|
1343
|
-
const a = Je(s, i, n) ? re(s) :
|
|
1340
|
+
const a = Je(s, i, n) ? re(s) : $(0);
|
|
1344
1341
|
let l = (o.left + a.x) / r.x, h = (o.top + a.y) / r.y, c = o.width / r.x, d = o.height / r.y;
|
|
1345
1342
|
if (s) {
|
|
1346
|
-
const f =
|
|
1343
|
+
const f = T(s), u = n && k(n) ? T(n) : n;
|
|
1347
1344
|
let p = f, m = Dt(p);
|
|
1348
1345
|
for (; m && n && u !== p; ) {
|
|
1349
1346
|
const v = et(m), g = m.getBoundingClientRect(), y = F(m), w = g.left + (m.clientLeft + parseFloat(y.paddingLeft)) * v.x, x = g.top + (m.clientTop + parseFloat(y.paddingTop)) * v.y;
|
|
1350
|
-
l *= v.x, h *= v.y, c *= v.x, d *= v.y, l += w, h += x, p =
|
|
1347
|
+
l *= v.x, h *= v.y, c *= v.x, d *= v.y, l += w, h += x, p = T(m), m = Dt(p);
|
|
1351
1348
|
}
|
|
1352
1349
|
}
|
|
1353
1350
|
return yt({
|
|
@@ -1385,13 +1382,13 @@ function Qe(e) {
|
|
|
1385
1382
|
let l = {
|
|
1386
1383
|
scrollLeft: 0,
|
|
1387
1384
|
scrollTop: 0
|
|
1388
|
-
}, h =
|
|
1389
|
-
const c =
|
|
1385
|
+
}, h = $(1);
|
|
1386
|
+
const c = $(0), d = H(n);
|
|
1390
1387
|
if ((d || !d && !s) && ((st(n) !== "body" || ct(r)) && (l = Et(n)), H(n))) {
|
|
1391
1388
|
const u = Z(n);
|
|
1392
1389
|
h = et(n), c.x = u.x + n.clientLeft, c.y = u.y + n.clientTop;
|
|
1393
1390
|
}
|
|
1394
|
-
const f = r && !d && !s ? ae(r, l, !0) :
|
|
1391
|
+
const f = r && !d && !s ? ae(r, l, !0) : $(0);
|
|
1395
1392
|
return {
|
|
1396
1393
|
width: i.width * h.x,
|
|
1397
1394
|
height: i.height * h.y,
|
|
@@ -1403,10 +1400,10 @@ function Ze(e) {
|
|
|
1403
1400
|
return Array.from(e.getClientRects());
|
|
1404
1401
|
}
|
|
1405
1402
|
function ti(e) {
|
|
1406
|
-
const t = B(e), i = Et(e), n = e.ownerDocument.body, o =
|
|
1403
|
+
const t = B(e), i = Et(e), n = e.ownerDocument.body, o = A(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), s = A(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
|
|
1407
1404
|
let r = -i.scrollLeft + It(e);
|
|
1408
1405
|
const a = -i.scrollTop;
|
|
1409
|
-
return F(n).direction === "rtl" && (r +=
|
|
1406
|
+
return F(n).direction === "rtl" && (r += A(t.clientWidth, n.clientWidth) - o), {
|
|
1410
1407
|
width: o,
|
|
1411
1408
|
height: s,
|
|
1412
1409
|
x: r,
|
|
@@ -1414,7 +1411,7 @@ function ti(e) {
|
|
|
1414
1411
|
};
|
|
1415
1412
|
}
|
|
1416
1413
|
function ei(e, t) {
|
|
1417
|
-
const i =
|
|
1414
|
+
const i = T(e), n = B(e), o = i.visualViewport;
|
|
1418
1415
|
let s = n.clientWidth, r = n.clientHeight, a = 0, l = 0;
|
|
1419
1416
|
if (o) {
|
|
1420
1417
|
s = o.width, r = o.height;
|
|
@@ -1429,7 +1426,7 @@ function ei(e, t) {
|
|
|
1429
1426
|
};
|
|
1430
1427
|
}
|
|
1431
1428
|
function ii(e, t) {
|
|
1432
|
-
const i = Z(e, !0, t === "fixed"), n = i.top + e.clientTop, o = i.left + e.clientLeft, s = H(e) ? et(e) :
|
|
1429
|
+
const i = Z(e, !0, t === "fixed"), n = i.top + e.clientTop, o = i.left + e.clientLeft, s = H(e) ? et(e) : $(1), r = e.clientWidth * s.x, a = e.clientHeight * s.y, l = o * s.x, h = n * s.y;
|
|
1433
1430
|
return {
|
|
1434
1431
|
width: r,
|
|
1435
1432
|
height: a,
|
|
@@ -1482,7 +1479,7 @@ function oi(e) {
|
|
|
1482
1479
|
} = e;
|
|
1483
1480
|
const r = [...i === "clippingAncestors" ? xt(t) ? [] : ni(t, this._c) : [].concat(i), n], a = r[0], l = r.reduce((h, c) => {
|
|
1484
1481
|
const d = Gt(t, c, o);
|
|
1485
|
-
return h.top =
|
|
1482
|
+
return h.top = A(d.top, h.top), h.right = Y(d.right, h.right), h.bottom = Y(d.bottom, h.bottom), h.left = A(d.left, h.left), h;
|
|
1486
1483
|
}, Gt(t, a, o));
|
|
1487
1484
|
return {
|
|
1488
1485
|
width: l.right - l.left,
|
|
@@ -1507,13 +1504,13 @@ function ri(e, t, i) {
|
|
|
1507
1504
|
scrollLeft: 0,
|
|
1508
1505
|
scrollTop: 0
|
|
1509
1506
|
};
|
|
1510
|
-
const l =
|
|
1507
|
+
const l = $(0);
|
|
1511
1508
|
if (n || !n && !s)
|
|
1512
1509
|
if ((st(t) !== "body" || ct(o)) && (a = Et(t)), n) {
|
|
1513
1510
|
const f = Z(t, !0, s, t);
|
|
1514
1511
|
l.x = f.x + t.clientLeft, l.y = f.y + t.clientTop;
|
|
1515
1512
|
} else o && (l.x = It(o));
|
|
1516
|
-
const h = o && !n && !s ? ae(o, a) :
|
|
1513
|
+
const h = o && !n && !s ? ae(o, a) : $(0), c = r.left + a.scrollLeft - l.x - h.x, d = r.top + a.scrollTop - l.y - h.y;
|
|
1517
1514
|
return {
|
|
1518
1515
|
x: c,
|
|
1519
1516
|
y: d,
|
|
@@ -1533,7 +1530,7 @@ function Jt(e, t) {
|
|
|
1533
1530
|
return B(e) === i && (i = i.ownerDocument.body), i;
|
|
1534
1531
|
}
|
|
1535
1532
|
function ce(e, t) {
|
|
1536
|
-
const i =
|
|
1533
|
+
const i = T(e);
|
|
1537
1534
|
if (xt(e))
|
|
1538
1535
|
return i;
|
|
1539
1536
|
if (!H(e)) {
|
|
@@ -1599,7 +1596,7 @@ function hi(e, t) {
|
|
|
1599
1596
|
return;
|
|
1600
1597
|
const p = dt(d), m = dt(o.clientWidth - (c + f)), v = dt(o.clientHeight - (d + u)), g = dt(c), w = {
|
|
1601
1598
|
rootMargin: -p + "px " + -m + "px " + -v + "px " + -g + "px",
|
|
1602
|
-
threshold:
|
|
1599
|
+
threshold: A(0, Y(1, l)) || 1
|
|
1603
1600
|
};
|
|
1604
1601
|
let x = !0;
|
|
1605
1602
|
function b(D) {
|
|
@@ -1694,7 +1691,7 @@ const pt = 8, gi = 100, vi = (e) => ({
|
|
|
1694
1691
|
bottom: ["top", "left", "right"],
|
|
1695
1692
|
"bottom-start": ["top-start", "left", "right"],
|
|
1696
1693
|
"bottom-end": ["top-end", "left", "right"]
|
|
1697
|
-
})[e] ?? [e],
|
|
1694
|
+
})[e] ?? [e], Bi = Symbol("placement updated");
|
|
1698
1695
|
class yi {
|
|
1699
1696
|
/**
|
|
1700
1697
|
* Creates an instance of the PlacementController.
|
|
@@ -1982,7 +1979,7 @@ class xi extends Vt {
|
|
|
1982
1979
|
t === n ? this.prepareOverlayRelativeDescription() : t === i && this.prepareContentRelativeDescription();
|
|
1983
1980
|
}
|
|
1984
1981
|
prepareOverlayRelativeDescription() {
|
|
1985
|
-
const t =
|
|
1982
|
+
const t = At(
|
|
1986
1983
|
this.target,
|
|
1987
1984
|
"aria-describedby",
|
|
1988
1985
|
[this.overlay.id]
|
|
@@ -1994,7 +1991,7 @@ class xi extends Vt {
|
|
|
1994
1991
|
prepareContentRelativeDescription() {
|
|
1995
1992
|
const t = [], i = this.overlay.elements.map((o) => (t.push(o.id), o.id || (o.id = `${this.overlay.tagName.toLowerCase()}-helper-${St()}`), o.id));
|
|
1996
1993
|
this.elementIds = t;
|
|
1997
|
-
const n =
|
|
1994
|
+
const n = At(
|
|
1998
1995
|
this.target,
|
|
1999
1996
|
"aria-describedby",
|
|
2000
1997
|
i
|
|
@@ -2113,7 +2110,7 @@ class Ci extends Vt {
|
|
|
2113
2110
|
i.textContent = Pi[n], i.slot = "longpress-describedby-descriptor";
|
|
2114
2111
|
const o = t.getRootNode(), s = this.overlay.getRootNode();
|
|
2115
2112
|
o === s ? this.overlay.append(i) : (i.hidden = !("host" in o), t.after(i));
|
|
2116
|
-
const r =
|
|
2113
|
+
const r = At(
|
|
2117
2114
|
t,
|
|
2118
2115
|
"aria-describedby",
|
|
2119
2116
|
[i.id]
|
|
@@ -2151,13 +2148,13 @@ const Oi = {
|
|
|
2151
2148
|
longpress: Ci,
|
|
2152
2149
|
hover: xi
|
|
2153
2150
|
};
|
|
2154
|
-
var
|
|
2155
|
-
for (var o = n > 1 ? void 0 : n ?
|
|
2151
|
+
var Ai = Object.defineProperty, Ti = Object.getOwnPropertyDescriptor, O = (e, t, i, n) => {
|
|
2152
|
+
for (var o = n > 1 ? void 0 : n ? Ti(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
2156
2153
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
2157
|
-
return n && o &&
|
|
2154
|
+
return n && o && Ai(t, i, o), o;
|
|
2158
2155
|
};
|
|
2159
2156
|
const Ri = "showPopover" in document.createElement("div");
|
|
2160
|
-
let ft =
|
|
2157
|
+
let ft = Te(rt);
|
|
2161
2158
|
ft = Ri ? Le(ft) : Re(ft);
|
|
2162
2159
|
var I;
|
|
2163
2160
|
const P = (I = class extends ft {
|
|
@@ -2638,7 +2635,7 @@ const P = (I = class extends ft {
|
|
|
2638
2635
|
var t;
|
|
2639
2636
|
(t = this.strategy) == null || t.releaseDescription(), this.open = !1, super.disconnectedCallback();
|
|
2640
2637
|
}
|
|
2641
|
-
}, I.styles = [
|
|
2638
|
+
}, I.styles = [pe(Fe)], I.openCount = 1, I);
|
|
2642
2639
|
O([
|
|
2643
2640
|
z({ type: Boolean })
|
|
2644
2641
|
], P.prototype, "delayed", 1);
|
|
@@ -2649,7 +2646,7 @@ O([
|
|
|
2649
2646
|
z({ type: Boolean })
|
|
2650
2647
|
], P.prototype, "disabled", 1);
|
|
2651
2648
|
O([
|
|
2652
|
-
|
|
2649
|
+
fe({
|
|
2653
2650
|
flatten: !0,
|
|
2654
2651
|
selector: ':not([slot="longpress-describedby-descriptor"], slot)'
|
|
2655
2652
|
})
|
|
@@ -2670,7 +2667,7 @@ O([
|
|
|
2670
2667
|
te("slot")
|
|
2671
2668
|
], P.prototype, "slotEl", 2);
|
|
2672
2669
|
O([
|
|
2673
|
-
|
|
2670
|
+
me()
|
|
2674
2671
|
], P.prototype, "state", 1);
|
|
2675
2672
|
O([
|
|
2676
2673
|
z({ type: Number, attribute: "tip-padding" })
|
|
@@ -2708,6 +2705,6 @@ export {
|
|
|
2708
2705
|
kt as g,
|
|
2709
2706
|
J as n,
|
|
2710
2707
|
mt as o,
|
|
2711
|
-
|
|
2708
|
+
Bi as p,
|
|
2712
2709
|
Oi as s
|
|
2713
2710
|
};
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
import {
|
|
19
|
-
import "./progress-circle-
|
|
18
|
+
import { x as s } from "./base-CCsOyfm4.js";
|
|
19
|
+
import "./progress-circle-CUCJ_Ehs.js";
|
|
20
20
|
class o {
|
|
21
21
|
/**
|
|
22
22
|
* Creates an instance of PendingStateController.
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
"use strict";const s=require("
|
|
18
|
+
"use strict";const s=require("./base-CaRKlVkL.cjs");require("./progress-circle-BXyXtMcs.cjs");class r{constructor(e){this.cachedAriaLabel=null,this.host=e,this.host.addController(this)}renderPendingState(){const e=this.host.pendingLabel||"Pending";return this.host.pending?s.x`
|
|
19
19
|
<luzmo-progress-circle
|
|
20
20
|
id="loader"
|
|
21
21
|
size="s"
|
|
@@ -23,4 +23,4 @@
|
|
|
23
23
|
aria-valuetext=${e}
|
|
24
24
|
class="progress-circle"
|
|
25
25
|
></luzmo-progress-circle>
|
|
26
|
-
`:s.
|
|
26
|
+
`:s.x``}updateAriaLabel(){const{pending:e,disabled:t,pendingLabel:i}=this.host,a=this.host.getAttribute("aria-label");e&&!t&&a!==i?(this.cachedAriaLabel=a,this.host.setAttribute("aria-label",i||"Pending")):(!e||t)&&(this.cachedAriaLabel?this.host.setAttribute("aria-label",this.cachedAriaLabel):e||this.host.removeAttribute("aria-label"))}hostConnected(){this.cachedAriaLabel||(this.cachedAriaLabel=this.host.getAttribute("aria-label")),this.updateAriaLabel()}hostUpdated(){this.updateAriaLabel()}}exports.PendingStateController=r;
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../picker-
|
|
18
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../picker-CaC1rQOK.cjs");customElements.get("luzmo-picker")||customElements.define("luzmo-picker",e.LuzmoPicker);exports.DESCRIPTION_ID=e.DESCRIPTION_ID;exports.LuzmoPicker=e.LuzmoPicker;exports.LuzmoPickerBase=e.LuzmoPickerBase;
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
import { a as r } from "../picker-
|
|
19
|
-
import { D as c, L as z } from "../picker-
|
|
18
|
+
import { a as r } from "../picker-DwbcFve2.js";
|
|
19
|
+
import { D as c, L as z } from "../picker-DwbcFve2.js";
|
|
20
20
|
const l = () => {
|
|
21
21
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
22
22
|
const o = document.createElement("style");
|