@mhmo91/schmancy 0.2.14 → 0.2.16

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.
Files changed (61) hide show
  1. package/dist/busy.cjs +1 -1
  2. package/dist/busy.js +1 -1
  3. package/dist/card.cjs +1 -1
  4. package/dist/card.js +1 -1
  5. package/dist/{chips-CCNEOlx2.js → chips-iwpEO4yI.js} +12 -12
  6. package/dist/{chips-CCNEOlx2.js.map → chips-iwpEO4yI.js.map} +1 -1
  7. package/dist/chips.js +1 -1
  8. package/dist/content-drawer.cjs +1 -1
  9. package/dist/content-drawer.js +1 -1
  10. package/dist/context-5nmahssp.js +6 -0
  11. package/dist/context-5nmahssp.js.map +1 -0
  12. package/dist/context-BATZj31H.cjs +2 -0
  13. package/dist/context-BATZj31H.cjs.map +1 -0
  14. package/dist/{delay-ZjnwZygz.cjs → delay-Ci5OBInD.cjs} +2 -2
  15. package/dist/{delay-ZjnwZygz.cjs.map → delay-Ci5OBInD.cjs.map} +1 -1
  16. package/dist/delay.cjs +1 -1
  17. package/dist/index.cjs +1 -1
  18. package/dist/index.js +73 -72
  19. package/dist/index.js.map +1 -1
  20. package/dist/list-CPuuRy-O.cjs +21 -0
  21. package/dist/list-CPuuRy-O.cjs.map +1 -0
  22. package/dist/list-DLUs5fLg.js +70 -0
  23. package/dist/list-DLUs5fLg.js.map +1 -0
  24. package/dist/list.cjs +1 -1
  25. package/dist/list.js +1 -1
  26. package/dist/nav-drawer.cjs +1 -1
  27. package/dist/nav-drawer.js +3 -3
  28. package/dist/{spinner-Cz48LKw5.js → spinner-BMi71Btm.js} +2 -2
  29. package/dist/{spinner-Cz48LKw5.js.map → spinner-BMi71Btm.js.map} +1 -1
  30. package/dist/{spinner-BE0oj65n.cjs → spinner-BgwQ5j4w.cjs} +2 -2
  31. package/dist/{spinner-BE0oj65n.cjs.map → spinner-BgwQ5j4w.cjs.map} +1 -1
  32. package/dist/{surface-DxPFMsdk.cjs → surface-D6dflZFw.cjs} +3 -3
  33. package/dist/surface-D6dflZFw.cjs.map +1 -0
  34. package/dist/{surface-Be5WvBRV.js → surface-DKT0Af0Z.js} +12 -13
  35. package/dist/surface-DKT0Af0Z.js.map +1 -0
  36. package/dist/surface.cjs +1 -1
  37. package/dist/surface.js +1 -1
  38. package/dist/teleport.cjs +1 -1
  39. package/dist/{teleport.component-Dc1Ygxut.js → teleport.component-ChBGmqA6.js} +148 -214
  40. package/dist/teleport.component-ChBGmqA6.js.map +1 -0
  41. package/dist/teleport.component-HoGT2W8s.cjs +144 -0
  42. package/dist/teleport.component-HoGT2W8s.cjs.map +1 -0
  43. package/dist/teleport.js +3 -3
  44. package/dist/theme.cjs +1 -1
  45. package/dist/{theme.component-DzPBxlhs.js → theme.component-DnykGuEm.js} +2 -2
  46. package/dist/{theme.component-DzPBxlhs.js.map → theme.component-DnykGuEm.js.map} +1 -1
  47. package/dist/{theme.component-C_KvokK0.cjs → theme.component-aTBUkNrY.cjs} +2 -2
  48. package/dist/{theme.component-C_KvokK0.cjs.map → theme.component-aTBUkNrY.cjs.map} +1 -1
  49. package/dist/theme.js +1 -1
  50. package/dist/{typewriter-v9NtjriH.js → typewriter-8avpGisR.js} +11 -11
  51. package/dist/{typewriter-v9NtjriH.js.map → typewriter-8avpGisR.js.map} +1 -1
  52. package/dist/{typewriter-ChAfM5s5.cjs → typewriter-BodUEEGi.cjs} +2 -2
  53. package/dist/{typewriter-ChAfM5s5.cjs.map → typewriter-BodUEEGi.cjs.map} +1 -1
  54. package/dist/typewriter.cjs +1 -1
  55. package/dist/typewriter.js +1 -1
  56. package/package.json +1 -1
  57. package/dist/surface-Be5WvBRV.js.map +0 -1
  58. package/dist/surface-DxPFMsdk.cjs.map +0 -1
  59. package/dist/teleport.component-CBt5HLNC.cjs +0 -173
  60. package/dist/teleport.component-CBt5HLNC.cjs.map +0 -1
  61. package/dist/teleport.component-Dc1Ygxut.js.map +0 -1
@@ -1,51 +1,52 @@
1
- import { css as f, html as a, nothing as yt } from "lit";
2
- import { customElement as l, property as c, state as m, queryAssignedElements as A, query as G } from "lit/decorators.js";
3
- import { Subject as Z, merge as tt, fromEvent as b, startWith as ut, tap as v, map as p, debounceTime as L, distinctUntilChanged as J, takeUntil as d, from as nt, of as V, Observable as xt, distinctUntilKeyChanged as Ot, zip as at, filter as bt, take as Dt, timeout as $t, bufferTime as Ct, concatMap as jt, interval as Et, throwIfEmpty as Mt } from "rxjs";
1
+ import { css as g, html as a, nothing as ht } from "lit";
2
+ import { customElement as l, property as c, state as m, queryAssignedElements as lt, query as V } from "lit/decorators.js";
3
+ import { Subject as G, merge as J, fromEvent as b, startWith as pt, tap as w, map as p, debounceTime as _, distinctUntilChanged as F, takeUntil as d, from as st, of as q, Observable as ft, distinctUntilKeyChanged as wt, zip as ot, filter as dt, take as gt, timeout as vt, bufferTime as xt, concatMap as Dt, interval as Ot, throwIfEmpty as Ct } from "rxjs";
4
4
  import "./animated-text-BR3J5YzM.js";
5
- import { a as ct, F as kt, H as Pt } from "./area.component-BlcOhWYn.js";
5
+ import { a as it, F as $t, H as Et } from "./area.component-BlcOhWYn.js";
6
6
  import "./autocomplete-vfdJnjAx.js";
7
- import "./spinner-Cz48LKw5.js";
7
+ import "./spinner-BMi71Btm.js";
8
8
  import "./icon-button-cThH-HDx.js";
9
9
  import "lit/directives/class-map.js";
10
10
  import "lit/directives/style-map.js";
11
- import { T as E } from "./tailwind.mixin-C5OzBKVB.js";
12
- import { S as T } from "./theme.interface-C5Kj6WjD.js";
11
+ import { T as N } from "./tailwind.mixin-C5OzBKVB.js";
12
+ import { S as U } from "./theme.interface-C5Kj6WjD.js";
13
13
  import "./checkbox-BrVJwQYt.js";
14
- import "./chips-CCNEOlx2.js";
14
+ import "./chips-iwpEO4yI.js";
15
15
  import "./payment-card-form-CSjKMW71.js";
16
16
  import { SchmancyEvents as y } from "./types.js";
17
- import { n as D, e as O } from "./provide-kj6-udep.js";
18
- import { $ as M } from "./litElement.mixin-Bn8Rl6md.js";
17
+ import { n as C, e as O } from "./provide-kj6-udep.js";
18
+ import { $ } from "./litElement.mixin-Bn8Rl6md.js";
19
19
  import { c as h } from "./consume-DSKPc5vj.js";
20
20
  import "./date-range-Bf_u0TPH.js";
21
21
  import "./delay-DrTqFWuI.js";
22
- import { c as z, f as Wt } from "./ripple-BumgqsDT.js";
22
+ import { c as S, f as jt } from "./ripple-BumgqsDT.js";
23
23
  import "./divider-DE_qGu0Z.js";
24
24
  import "./form-CiopR1cw.js";
25
25
  import "./icon-uV29Oo_I.js";
26
26
  import "./input-CjHwAdCr.js";
27
27
  import "./scroll-BJ_3vZ-c.js";
28
- import { a as zt } from "./surface-Be5WvBRV.js";
29
- import { when as X } from "lit/directives/when.js";
28
+ import "./list-DLUs5fLg.js";
30
29
  import "./menu-CK0Aunqg.js";
30
+ import { when as K } from "lit/directives/when.js";
31
31
  import "./outlet-CbHO2KGb.js";
32
32
  import "./option-C3ovVy8Q.js";
33
33
  import "./radio-group-BaAICOCk.js";
34
34
  import "./index-CuY8m6ta.js";
35
35
  import "./select-DzmFjt61.js";
36
- import { s as Q } from "./sheet-Co0cHr37.js";
36
+ import { s as Y } from "./sheet-Co0cHr37.js";
37
37
  import "./slider-dtJketj4.js";
38
+ import "./surface-DKT0Af0Z.js";
38
39
  import "./table-DZIjJKTT.js";
39
40
  import "./tabs-group-JXceC_AX.js";
40
41
  import "./textarea-vre0j7PW.js";
41
- import "./theme.component-DzPBxlhs.js";
42
+ import "./theme.component-DnykGuEm.js";
42
43
  import "./theme-button-D8dDywwF.js";
43
44
  import "./tree-Dzh0J35T.js";
44
- import "./typewriter-v9NtjriH.js";
45
+ import "./typewriter-8avpGisR.js";
45
46
  import "./typography-BsfF4nMf.js";
46
- import { map as St, distinctUntilChanged as It, take as Nt } from "rxjs/operators";
47
- var Ht = Object.defineProperty, Tt = Object.getOwnPropertyDescriptor;
48
- let lt = class extends E(f`
47
+ import { map as Mt, distinctUntilChanged as Wt, take as kt } from "rxjs/operators";
48
+ var Pt = Object.defineProperty, zt = Object.getOwnPropertyDescriptor;
49
+ let rt = class extends N(g`
49
50
  :host {
50
51
  display: block;
51
52
  }
@@ -54,15 +55,15 @@ let lt = class extends E(f`
54
55
  return a` <section class="pb-4 px-4"><slot> </slot></section> `;
55
56
  }
56
57
  };
57
- lt = ((t, e, o, i) => {
58
- for (var r, s = i > 1 ? void 0 : i ? Tt(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
59
- return i && s && Ht(e, o, s), s;
60
- })([l("schmancy-card-action")], lt);
61
- var Xt = Object.defineProperty, Rt = Object.getOwnPropertyDescriptor, F = (t, e, o, i) => {
62
- for (var r, s = i > 1 ? void 0 : i ? Rt(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
63
- return i && s && Xt(e, o, s), s;
58
+ rt = ((t, e, o, i) => {
59
+ for (var r, s = i > 1 ? void 0 : i ? zt(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
60
+ return i && s && Pt(e, o, s), s;
61
+ })([l("schmancy-card-action")], rt);
62
+ var St = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, A = (t, e, o, i) => {
63
+ for (var r, s = i > 1 ? void 0 : i ? Nt(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
64
+ return i && s && St(e, o, s), s;
64
65
  };
65
- let R = class extends E() {
66
+ let I = class extends N() {
66
67
  constructor() {
67
68
  super(...arguments), this.type = "elevated", this.elevation = 0;
68
69
  }
@@ -73,43 +74,43 @@ let R = class extends E() {
73
74
  </div>`;
74
75
  }
75
76
  };
76
- F([c()], R.prototype, "type", 2), F([c({ type: Number })], R.prototype, "elevation", 2), R = F([l("schmancy-card")], R);
77
- var _t = Object.defineProperty, qt = Object.getOwnPropertyDescriptor;
78
- let ht = class extends E() {
77
+ A([c()], I.prototype, "type", 2), A([c({ type: Number })], I.prototype, "elevation", 2), I = A([l("schmancy-card")], I);
78
+ var It = Object.defineProperty, Ht = Object.getOwnPropertyDescriptor;
79
+ let nt = class extends N() {
79
80
  render() {
80
- const t = T.sys.color.surface.on, e = T.sys.color.surface.onVariant;
81
+ const t = U.sys.color.surface.on, e = U.sys.color.surface.onVariant;
81
82
  return a`<schmancy-grid gap="md" class="${this.classMap({ "px-[16px] py-[24px]": !0 })}">
82
83
  <schmancy-grid gap="xs">
83
84
  <schmancy-typography
84
- ${z({ color: t })}
85
+ ${S({ color: t })}
85
86
  type="body"
86
87
  token="lg"
87
88
  ><slot name="headline"> </slot
88
89
  ></schmancy-typography>
89
90
  <schmancy-typography
90
- ${z({ color: e })}
91
+ ${S({ color: e })}
91
92
  type="body"
92
93
  ><slot name="subhead"></slot>
93
94
  </schmancy-typography>
94
95
  </schmancy-grid>
95
96
  <schmancy-typography
96
97
  type="body"
97
- ${z({ color: e })}
98
+ ${S({ color: e })}
98
99
  >
99
100
  <slot></slot>
100
101
  </schmancy-typography>
101
102
  </schmancy-grid>`;
102
103
  }
103
104
  };
104
- ht = ((t, e, o, i) => {
105
- for (var r, s = i > 1 ? void 0 : i ? qt(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
106
- return i && s && _t(e, o, s), s;
107
- })([l("schmancy-card-content")], ht);
108
- var Ut = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, K = (t, e, o, i) => {
109
- for (var r, s = i > 1 ? void 0 : i ? Bt(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
110
- return i && s && Ut(e, o, s), s;
105
+ nt = ((t, e, o, i) => {
106
+ for (var r, s = i > 1 ? void 0 : i ? Ht(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
107
+ return i && s && It(e, o, s), s;
108
+ })([l("schmancy-card-content")], nt);
109
+ var Tt = Object.defineProperty, Xt = Object.getOwnPropertyDescriptor, B = (t, e, o, i) => {
110
+ for (var r, s = i > 1 ? void 0 : i ? Xt(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
111
+ return i && s && Tt(e, o, s), s;
111
112
  };
112
- let _ = class extends E(f`
113
+ let H = class extends N(g`
113
114
  :host {
114
115
  display: block;
115
116
  }
@@ -124,10 +125,10 @@ let _ = class extends E(f`
124
125
  </schmancy-grid>`;
125
126
  }
126
127
  };
127
- K([c({ type: String, reflect: !0 })], _.prototype, "src", 2), K([c({ type: String })], _.prototype, "fit", 2), _ = K([l("schmancy-card-media")], _);
128
- const os = new class {
128
+ B([c({ type: String, reflect: !0 })], H.prototype, "src", 2), B([c({ type: String })], H.prototype, "fit", 2), H = B([l("schmancy-card-media")], H);
129
+ const Ye = new class {
129
130
  constructor() {
130
- this.$drawer = new Z(), this.$drawer.pipe().subscribe((t) => {
131
+ this.$drawer = new G(), this.$drawer.pipe().subscribe((t) => {
131
132
  t.action === "dismiss" ? t.ref.dispatchEvent(new CustomEvent(y.ContentDrawerToggle, { detail: { state: "close" }, bubbles: !0, composed: !0 })) : t.action === "render" && (t.ref.dispatchEvent(new CustomEvent(y.ContentDrawerToggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })), t.ref.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", { detail: { component: t.component, title: t.title }, bubbles: !0, composed: !0 })));
132
133
  });
133
134
  }
@@ -137,12 +138,12 @@ const os = new class {
137
138
  render(t, e, o) {
138
139
  t.dispatchEvent(new CustomEvent("custom-event")), this.$drawer.next({ action: "render", ref: t, component: e, title: o });
139
140
  }
140
- }(), et = D("push"), ft = D("close"), gt = D(Math.floor(Math.random() * Date.now()).toString()), st = D("100%"), ot = D({});
141
- var At = Object.defineProperty, Lt = Object.getOwnPropertyDescriptor, $ = (t, e, o, i) => {
142
- for (var r, s = i > 1 ? void 0 : i ? Lt(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
143
- return i && s && At(e, o, s), s;
141
+ }(), L = C("push"), mt = C("close"), yt = C(Math.floor(Math.random() * Date.now()).toString()), Q = C("100%"), Z = C({});
142
+ var Rt = Object.defineProperty, _t = Object.getOwnPropertyDescriptor, x = (t, e, o, i) => {
143
+ for (var r, s = i > 1 ? void 0 : i ? _t(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
144
+ return i && s && Rt(e, o, s), s;
144
145
  };
145
- let w = class extends M(f`
146
+ let v = class extends $(g`
146
147
  :host {
147
148
  position: relative;
148
149
  inset: 0;
@@ -154,19 +155,19 @@ let w = class extends M(f`
154
155
  super(...arguments), this.minWidth = { main: 360, sheet: 576 }, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
155
156
  }
156
157
  firstUpdated() {
157
- tt(b(window, "resize"), b(window, y.ContentDrawerResize)).pipe(ut(!0), v(() => {
158
- }), p(() => this.clientWidth ? this.clientWidth : window.innerWidth), p((t) => t >= this.minWidth.main + this.minWidth.sheet), L(100), v(() => {
158
+ J(b(window, "resize"), b(window, y.ContentDrawerResize)).pipe(pt(!0), w(() => {
159
+ }), p(() => this.clientWidth ? this.clientWidth : window.innerWidth), p((t) => t >= this.minWidth.main + this.minWidth.sheet), _(100), w(() => {
159
160
  this.maxHeight = window.innerHeight - this.getOffsetTop(this) - 32 + "px", this.style.setProperty("max-height", this.maxHeight);
160
- }), J(), d(this.disconnecting)).subscribe((t) => {
161
+ }), F(), d(this.disconnecting)).subscribe((t) => {
161
162
  t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
162
- }), b(window, y.ContentDrawerToggle).pipe(v((t) => {
163
+ }), b(window, y.ContentDrawerToggle).pipe(w((t) => {
163
164
  t.stopPropagation();
164
165
  }), p((t) => t.detail.state), d(this.disconnecting)).subscribe((t) => {
165
166
  this.open = t;
166
- }), b(window, "schmancy-content-drawer-render").pipe(v((t) => {
167
+ }), b(window, "schmancy-content-drawer-render").pipe(w((t) => {
167
168
  t.stopPropagation();
168
169
  }), p((t) => t.detail), d(this.disconnecting)).subscribe(({ component: t, title: e }) => {
169
- this.mode === "push" ? (ct.push({ area: this.schmancyContentDrawerID, component: "empty", historyStrategy: "silent" }), ct.push({ area: this.schmancyContentDrawerID, component: t, historyStrategy: "silent" })) : (this.mode = "overlay") && Q.open({ component: t, uid: this.schmancyContentDrawerID, title: e });
170
+ this.mode === "push" ? (it.push({ area: this.schmancyContentDrawerID, component: "empty", historyStrategy: "silent" }), it.push({ area: this.schmancyContentDrawerID, component: t, historyStrategy: "silent" })) : (this.mode = "overlay") && Y.open({ component: t, uid: this.schmancyContentDrawerID, title: e });
170
171
  });
171
172
  }
172
173
  getOffsetTop(t) {
@@ -185,15 +186,15 @@ let w = class extends M(f`
185
186
  >
186
187
  <slot></slot>
187
188
  </schmancy-grid>
188
- ` : yt;
189
+ ` : ht;
189
190
  }
190
191
  };
191
- $([O({ context: ot })], w.prototype, "minWidth", 2), $([O({ context: ft }), c()], w.prototype, "open", 2), $([O({ context: et }), m()], w.prototype, "mode", 2), $([O({ context: gt })], w.prototype, "schmancyContentDrawerID", 2), $([O({ context: st })], w.prototype, "maxHeight", 2), $([A({ flatten: !0 })], w.prototype, "assignedElements", 2), w = $([l("schmancy-content-drawer")], w);
192
- var Vt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, S = (t, e, o, i) => {
193
- for (var r, s = i > 1 ? void 0 : i ? Ft(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
194
- return i && s && Vt(e, o, s), s;
192
+ x([O({ context: Z })], v.prototype, "minWidth", 2), x([O({ context: mt }), c()], v.prototype, "open", 2), x([O({ context: L }), m()], v.prototype, "mode", 2), x([O({ context: yt })], v.prototype, "schmancyContentDrawerID", 2), x([O({ context: Q })], v.prototype, "maxHeight", 2), x([lt({ flatten: !0 })], v.prototype, "assignedElements", 2), v = x([l("schmancy-content-drawer")], v);
193
+ var qt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, W = (t, e, o, i) => {
194
+ for (var r, s = i > 1 ? void 0 : i ? Ut(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
195
+ return i && s && qt(e, o, s), s;
195
196
  };
196
- let k = class extends M(f`
197
+ let E = class extends $(g`
197
198
  :host {
198
199
  display: block;
199
200
  overflow: hidden;
@@ -221,17 +222,17 @@ let k = class extends M(f`
221
222
  <slot></slot>
222
223
  </section>
223
224
  </schmancy-grid>
224
- ${X(this.mode === "push", () => a` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
225
+ ${K(this.mode === "push", () => a` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
225
226
  </section>
226
227
  `;
227
228
  }
228
229
  };
229
- S([c({ type: Number })], k.prototype, "minWidth", 2), S([h({ context: ot, subscribe: !0 })], k.prototype, "drawerMinWidth", 2), S([h({ context: et, subscribe: !0 }), m()], k.prototype, "mode", 2), S([h({ context: st, subscribe: !0 }), m()], k.prototype, "maxHeight", 2), k = S([l("schmancy-content-drawer-main")], k);
230
- var Kt = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor, g = (t, e, o, i) => {
231
- for (var r, s = i > 1 ? void 0 : i ? Yt(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
232
- return i && s && Kt(e, o, s), s;
230
+ W([c({ type: Number })], E.prototype, "minWidth", 2), W([h({ context: Z, subscribe: !0 })], E.prototype, "drawerMinWidth", 2), W([h({ context: L, subscribe: !0 }), m()], E.prototype, "mode", 2), W([h({ context: Q, subscribe: !0 }), m()], E.prototype, "maxHeight", 2), E = W([l("schmancy-content-drawer-main")], E);
231
+ var At = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, f = (t, e, o, i) => {
232
+ for (var r, s = i > 1 ? void 0 : i ? Bt(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
233
+ return i && s && At(e, o, s), s;
233
234
  };
234
- let u = class extends M(f`
235
+ let u = class extends $(g`
235
236
  :host {
236
237
  overflow: scroll;
237
238
  }
@@ -240,19 +241,19 @@ let u = class extends M(f`
240
241
  super.connectedCallback(), this.minWidth ? this.drawerMinWidth.sheet = this.minWidth : this.minWidth = this.drawerMinWidth.sheet;
241
242
  }
242
243
  updated(t) {
243
- super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(y.ContentDrawerResize, { bubbles: !0, composed: !0 }))) : (t.has("state") || t.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (Q.dismiss(this.schmancyContentDrawerID), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
244
+ super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(y.ContentDrawerResize, { bubbles: !0, composed: !0 }))) : (t.has("state") || t.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (Y.dismiss(this.schmancyContentDrawerID), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
244
245
  }
245
246
  open() {
246
247
  this.mode === "overlay" ? this.sheet.style.position = "fixed" : this.sheet.style.position = "relative", this.sheet.style.display = "block", this.sheet.animate([{ opacity: 0, transform: "translateX(100%)" }, { opacity: 1, transform: "translateX(0%)" }], { duration: 500, easing: "cubic-bezier(0.5, 0.01, 0.25, 1)" });
247
248
  }
248
249
  closeAll() {
249
- tt(nt(this.closeModalSheet()), nt(this.closeSheet())).pipe(d(this.disconnecting)).subscribe();
250
+ J(st(this.closeModalSheet()), st(this.closeSheet())).pipe(d(this.disconnecting)).subscribe();
250
251
  }
251
252
  closeModalSheet() {
252
- return V(!0).pipe(v(() => Q.dismiss(this.schmancyContentDrawerID)));
253
+ return q(!0).pipe(w(() => Y.dismiss(this.schmancyContentDrawerID)));
253
254
  }
254
255
  closeSheet() {
255
- return new xt((t) => {
256
+ return new ft((t) => {
256
257
  this.sheet.animate([{ opacity: 1, transform: "translateX(0%)" }, { opacity: 1, transform: "translateX(100%)" }], { duration: 500, easing: "cubic-bezier(0.5, 0.01, 0.25, 1)" }).onfinish = () => {
257
258
  this.sheet.style.display = "none", t.next(), t.complete();
258
259
  };
@@ -269,75 +270,10 @@ let u = class extends M(f`
269
270
  `;
270
271
  }
271
272
  };
272
- g([c({ type: Number })], u.prototype, "minWidth", 2), g([h({ context: et, subscribe: !0 }), m()], u.prototype, "mode", 2), g([h({ context: ft, subscribe: !0 }), m()], u.prototype, "state", 2), g([h({ context: gt })], u.prototype, "schmancyContentDrawerID", 2), g([G("#sheet")], u.prototype, "sheet", 2), g([A({ flatten: !0, slot: void 0 })], u.prototype, "defaultSlot", 2), g([h({ context: ot, subscribe: !0 })], u.prototype, "drawerMinWidth", 2), g([h({ context: st, subscribe: !0 }), m()], u.prototype, "maxHeight", 2), u = g([l("schmancy-content-drawer-sheet")], u);
273
- var Gt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, C = (t, e, o, i) => {
274
- for (var r, s = i > 1 ? void 0 : i ? Jt(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
275
- return i && s && Gt(e, o, s), s;
276
- };
277
- let x = class extends E() {
273
+ f([c({ type: Number })], u.prototype, "minWidth", 2), f([h({ context: L, subscribe: !0 }), m()], u.prototype, "mode", 2), f([h({ context: mt, subscribe: !0 }), m()], u.prototype, "state", 2), f([h({ context: yt })], u.prototype, "schmancyContentDrawerID", 2), f([V("#sheet")], u.prototype, "sheet", 2), f([lt({ flatten: !0, slot: void 0 })], u.prototype, "defaultSlot", 2), f([h({ context: Z, subscribe: !0 })], u.prototype, "drawerMinWidth", 2), f([h({ context: Q, subscribe: !0 }), m()], u.prototype, "maxHeight", 2), u = f([l("schmancy-content-drawer-sheet")], u);
274
+ const Ge = new class {
278
275
  constructor() {
279
- super(...arguments), this.selected = !1;
280
- }
281
- get imgClasses() {
282
- return ["h-[24px]", "w-[24px]", "object-contain"];
283
- }
284
- firstUpdated() {
285
- var t, e;
286
- (t = this.leading) == null || t.forEach((o) => {
287
- o.classList.add(...this.imgClasses);
288
- }), (e = this.trailing) == null || e.forEach((o) => {
289
- o.classList.add(...this.imgClasses);
290
- });
291
- }
292
- render() {
293
- const t = { "rounded-none": this.rounded === !1, "rounded-full": this.rounded, "w-full min-h-[56px] relative flex items-center gap-[16px] py-[8px] px-[16px] duration-500 transition-colors focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-0 focus-visible:z-1 outline-secondary-default outline-hidden": !0, "bg-secondary-container text-secondery-onContainer": this.selected }, e = { "z-0 duration-500 transition-opacity": !0, "rounded-none": this.rounded === !1, "rounded-full": this.rounded, "hover:bg-surface-on opacity-[0.08] cursor-pointer absolute inset-0 ": !this.readonly };
294
- return a`<li .tabIndex=${this.readonly ? -1 : 0} class=${this.classMap(t)}>
295
- ${X(!this.readonly, () => a` <div class="${this.classMap(e)}"></div> `)}
296
- <slot name="leading"> </slot>
297
- <schmancy-flex flow="row">
298
- <schmancy-typography type="body" token="lg">
299
- <slot></slot>
300
- </schmancy-typography>
301
- <schmancy-typography
302
- ${z({ color: T.sys.color.surface.onVariant })}
303
- type="body"
304
- token="md"
305
- >
306
- <slot name="support"></slot>
307
- </schmancy-typography>
308
- </schmancy-flex>
309
- ${X(!this.readonly, () => a` <div class="${this.classMap(e)}"></div> `)}
310
- <slot name="trailing"></slot>
311
- </li>`;
312
- }
313
- };
314
- C([h({ context: zt, subscribe: !0 }), c()], x.prototype, "variant", 2), C([c({ type: Boolean })], x.prototype, "rounded", 2), C([c({ type: Boolean })], x.prototype, "readonly", 2), C([c({ type: Boolean })], x.prototype, "selected", 2), C([A({ slot: "leading", flatten: !0 })], x.prototype, "leading", 2), C([A({ slot: "trailing", flatten: !0 })], x.prototype, "trailing", 2), x = C([l("schmancy-list-item")], x);
315
- const Qt = D(void 0);
316
- var Zt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, pt = (t, e, o, i) => {
317
- for (var r, s = i > 1 ? void 0 : i ? te(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
318
- return i && s && Zt(e, o, s), s;
319
- };
320
- let Y = class extends E(f`
321
- :host {
322
- display: block;
323
- padding-top: 8px;
324
- padding-bottom: 8px;
325
- }
326
- `) {
327
- render() {
328
- return a`
329
- <schmancy-surface type=${this.surface}>
330
- <ul>
331
- <slot></slot>
332
- </ul>
333
- </schmancy-surface>
334
- `;
335
- }
336
- };
337
- pt([O({ context: Qt }), c()], Y.prototype, "surface", 2), Y = pt([l("schmancy-list")], Y);
338
- const is = new class {
339
- constructor() {
340
- this.$drawer = new Z(), this.$drawer.pipe(Ot("state"), L(100)).subscribe((t) => {
276
+ this.$drawer = new G(), this.$drawer.pipe(wt("state"), _(100)).subscribe((t) => {
341
277
  t.state ? window.dispatchEvent(new CustomEvent(y.NavDrawer_toggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })) : window.dispatchEvent(new CustomEvent(y.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
342
278
  });
343
279
  }
@@ -347,12 +283,12 @@ const is = new class {
347
283
  close(t) {
348
284
  this.$drawer.next({ self: t, state: !1 });
349
285
  }
350
- }(), it = D("push"), rt = D("close");
351
- var ee = Object.defineProperty, se = Object.getOwnPropertyDescriptor, q = (t, e, o, i) => {
352
- for (var r, s = i > 1 ? void 0 : i ? se(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
353
- return i && s && ee(e, o, s), s;
286
+ }(), tt = C("push"), et = C("close");
287
+ var Vt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, T = (t, e, o, i) => {
288
+ for (var r, s = i > 1 ? void 0 : i ? Ft(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
289
+ return i && s && Vt(e, o, s), s;
354
290
  };
355
- let I = class extends E(f`
291
+ let k = class extends N(g`
356
292
  :host {
357
293
  display: block;
358
294
  }
@@ -370,14 +306,14 @@ let I = class extends E(f`
370
306
  gap="sm"
371
307
  align="center"
372
308
  >
373
- ${X(this.sidebarMode === "overlay" && this.toggler, () => a`<slot name="toggler">
309
+ ${K(this.sidebarMode === "overlay" && this.toggler, () => a`<slot name="toggler">
374
310
  <div class="${this.classMap(t)}">
375
311
  <schmancy-icon-button
376
312
  @click=${() => {
377
313
  this.dispatchEvent(new CustomEvent(y.NavDrawer_toggle, { detail: { state: this.sidebarOpen === "open" ? "close" : "open" }, bubbles: !0, composed: !0 }));
378
314
  }}
379
315
  >
380
- ${X(this.sidebarOpen === "close", () => a`menu`, () => a`menu_open`)}
316
+ ${K(this.sidebarOpen === "close", () => a`menu`, () => a`menu_open`)}
381
317
  </schmancy-icon-button>
382
318
  </div>
383
319
  </slot>`)}
@@ -387,9 +323,9 @@ let I = class extends E(f`
387
323
  `;
388
324
  }
389
325
  };
390
- q([h({ context: it, subscribe: !0 }), m()], I.prototype, "sidebarMode", 2), q([h({ context: rt, subscribe: !0 }), m()], I.prototype, "sidebarOpen", 2), q([c({ type: Boolean })], I.prototype, "toggler", 2), I = q([l("schmancy-nav-drawer-appbar")], I);
391
- var oe = Object.defineProperty, ie = Object.getOwnPropertyDescriptor;
392
- let dt = class extends M(f`
326
+ T([h({ context: tt, subscribe: !0 }), m()], k.prototype, "sidebarMode", 2), T([h({ context: et, subscribe: !0 }), m()], k.prototype, "sidebarOpen", 2), T([c({ type: Boolean })], k.prototype, "toggler", 2), k = T([l("schmancy-nav-drawer-appbar")], k);
327
+ var Kt = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor;
328
+ let at = class extends $(g`
393
329
  :host {
394
330
  display: block;
395
331
  position: relative;
@@ -406,15 +342,15 @@ let dt = class extends M(f`
406
342
  return a` <slot></slot> `;
407
343
  }
408
344
  };
409
- dt = ((t, e, o, i) => {
410
- for (var r, s = i > 1 ? void 0 : i ? ie(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
411
- return i && s && oe(e, o, s), s;
412
- })([l("schmancy-nav-drawer-content")], dt);
413
- var re = Object.defineProperty, ne = Object.getOwnPropertyDescriptor, N = (t, e, o, i) => {
414
- for (var r, s = i > 1 ? void 0 : i ? ne(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
415
- return i && s && re(e, o, s), s;
345
+ at = ((t, e, o, i) => {
346
+ for (var r, s = i > 1 ? void 0 : i ? Yt(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
347
+ return i && s && Kt(e, o, s), s;
348
+ })([l("schmancy-nav-drawer-content")], at);
349
+ var Gt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, P = (t, e, o, i) => {
350
+ for (var r, s = i > 1 ? void 0 : i ? Jt(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
351
+ return i && s && Gt(e, o, s), s;
416
352
  };
417
- let P = class extends M(f`
353
+ let j = class extends $(g`
418
354
  :host {
419
355
  display: flex;
420
356
  flex-grow: 1;
@@ -425,11 +361,11 @@ let P = class extends M(f`
425
361
  super(...arguments), this.fullscreen = !1, this.breakpoint = 768;
426
362
  }
427
363
  connectedCallback() {
428
- super.connectedCallback(), b(window, "resize").pipe(p((t) => t.target), ut(window), p((t) => t.innerWidth), p((t) => t >= this.breakpoint), J(), d(this.disconnecting), L(100)).subscribe((t) => {
364
+ super.connectedCallback(), b(window, "resize").pipe(p((t) => t.target), pt(window), p((t) => t.innerWidth), p((t) => t >= this.breakpoint), F(), d(this.disconnecting), _(100)).subscribe((t) => {
429
365
  t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
430
- }), b(window, y.NavDrawer_toggle).pipe(v((t) => {
366
+ }), b(window, y.NavDrawer_toggle).pipe(w((t) => {
431
367
  t.stopPropagation();
432
- }), p((t) => t.detail.state), J(), d(this.disconnecting), L(100)).subscribe((t) => {
368
+ }), p((t) => t.detail.state), F(), d(this.disconnecting), _(100)).subscribe((t) => {
433
369
  this.mode === "push" && t === "close" || (this.open = t);
434
370
  });
435
371
  }
@@ -441,19 +377,19 @@ let P = class extends M(f`
441
377
  flow="col"
442
378
  justify="stretch"
443
379
  align="stretch"
444
- ${Wt()}
380
+ ${jt()}
445
381
  >
446
382
  <slot></slot>
447
383
  </schmancy-grid>
448
- ` : yt;
384
+ ` : ht;
449
385
  }
450
386
  };
451
- N([c({ type: Boolean })], P.prototype, "fullscreen", 2), N([c({ type: Number, attribute: "breakpoint" })], P.prototype, "breakpoint", 2), N([O({ context: it }), m()], P.prototype, "mode", 2), N([O({ context: rt }), c()], P.prototype, "open", 2), P = N([l("schmancy-nav-drawer")], P);
452
- var ae = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, W = (t, e, o, i) => {
453
- for (var r, s = i > 1 ? void 0 : i ? ce(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
454
- return i && s && ae(e, o, s), s;
387
+ P([c({ type: Boolean })], j.prototype, "fullscreen", 2), P([c({ type: Number, attribute: "breakpoint" })], j.prototype, "breakpoint", 2), P([O({ context: tt }), m()], j.prototype, "mode", 2), P([O({ context: et }), c()], j.prototype, "open", 2), j = P([l("schmancy-nav-drawer")], j);
388
+ var Lt = Object.defineProperty, Qt = Object.getOwnPropertyDescriptor, M = (t, e, o, i) => {
389
+ for (var r, s = i > 1 ? void 0 : i ? Qt(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
390
+ return i && s && Lt(e, o, s), s;
455
391
  };
456
- let j = class extends M() {
392
+ let D = class extends $() {
457
393
  constructor() {
458
394
  super(...arguments), this.width = "320px";
459
395
  }
@@ -484,13 +420,13 @@ let j = class extends M() {
484
420
  <nav
485
421
  style=${this.styleMap(e)}
486
422
  class="${this.classMap({ ...t })}"
487
- ${z({ bgColor: T.sys.color.surface.container })}
423
+ ${S({ bgColor: U.sys.color.surface.container })}
488
424
  >
489
425
  <slot></slot>
490
426
  </nav>
491
427
  <div
492
428
  id="overlay"
493
- ${z({ bgColor: T.sys.color.scrim })}
429
+ ${S({ bgColor: U.sys.color.scrim })}
494
430
  @click=${() => {
495
431
  window.dispatchEvent(new CustomEvent(y.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
496
432
  }}
@@ -499,29 +435,29 @@ let j = class extends M() {
499
435
  `;
500
436
  }
501
437
  };
502
- W([h({ context: it, subscribe: !0 }), m()], j.prototype, "mode", 2), W([h({ context: rt, subscribe: !0 }), m()], j.prototype, "state", 2), W([G("#overlay")], j.prototype, "overlay", 2), W([G("nav")], j.prototype, "nav", 2), W([c({ type: String })], j.prototype, "width", 2), j = W([l("schmancy-nav-drawer-navbar")], j);
503
- const vt = "whereAreYouRicky", wt = "hereMorty", U = new class {
438
+ M([h({ context: tt, subscribe: !0 }), m()], D.prototype, "mode", 2), M([h({ context: et, subscribe: !0 }), m()], D.prototype, "state", 2), M([V("#overlay")], D.prototype, "overlay", 2), M([V("nav")], D.prototype, "nav", 2), M([c({ type: String })], D.prototype, "width", 2), D = M([l("schmancy-nav-drawer-navbar")], D);
439
+ const ut = "whereAreYouRicky", bt = "hereMorty", X = new class {
504
440
  constructor() {
505
- this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new Z(), this.find = (t) => at([b(window, wt).pipe(bt((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), p((e) => e.detail.component), Dt(1)), V(t).pipe(v(() => {
506
- window.dispatchEvent(new CustomEvent(vt, { detail: { id: t.id, callerID: t.uuid } }));
507
- }))]).pipe(p(([e]) => e), $t(0)), this.flip = (t) => {
441
+ this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new G(), this.find = (t) => ot([b(window, bt).pipe(dt((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), p((e) => e.detail.component), gt(1)), q(t).pipe(w(() => {
442
+ window.dispatchEvent(new CustomEvent(ut, { detail: { id: t.id, callerID: t.uuid } }));
443
+ }))]).pipe(p(([e]) => e), vt(0)), this.flip = (t) => {
508
444
  const { from: e, to: o } = t, i = o.element.style.zIndex;
509
445
  o.element.style.transformOrigin = "top left", o.element.style.setProperty("visibility", "visible"), o.element.style.zIndex = "1000";
510
446
  const r = [{ transform: `translate(${e.rect.left - o.rect.left}px, ${e.rect.top - o.rect.top}px) scale(${e.rect.width / o.rect.width}, ${e.rect.height / o.rect.height})` }, { transform: "translate(0, 0) scale(1, 1)" }];
511
447
  o.element.animate(r, { duration: 250, delay: 10, easing: "cubic-bezier(0.455, 0.03, 0.515, 0.955)" }).onfinish = () => {
512
448
  o.element.style.zIndex = i, o.element.style.transformOrigin = "";
513
449
  };
514
- }, this.flipRequests.pipe(Ct(1), p((t) => t.map(({ from: e, to: o, host: i }, r) => ({ from: e, to: o, host: i, i: r }))), jt((t) => at(t.map((e) => V(this.flip(e)))))).subscribe();
450
+ }, this.flipRequests.pipe(xt(1), p((t) => t.map(({ from: e, to: o, host: i }, r) => ({ from: e, to: o, host: i, i: r }))), Dt((t) => ot(t.map((e) => q(this.flip(e)))))).subscribe();
515
451
  }
516
452
  }();
517
- function mt(t) {
518
- return Et(50).pipe(St(() => t.getBoundingClientRect()), It((e, o) => e.width === o.width && e.height === o.height && e.top === o.top && e.right === o.right && e.bottom === o.bottom && e.left === o.left), Nt(1));
453
+ function ct(t) {
454
+ return Ot(50).pipe(Mt(() => t.getBoundingClientRect()), Wt((e, o) => e.width === o.width && e.height === o.height && e.top === o.top && e.right === o.right && e.bottom === o.bottom && e.left === o.left), kt(1));
519
455
  }
520
- var le = Object.defineProperty, he = Object.getOwnPropertyDescriptor, B = (t, e, o, i) => {
521
- for (var r, s = i > 1 ? void 0 : i ? he(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
522
- return i && s && le(e, o, s), s;
456
+ var Zt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, R = (t, e, o, i) => {
457
+ for (var r, s = i > 1 ? void 0 : i ? te(e, o) : e, n = t.length - 1; n >= 0; n--) (r = t[n]) && (s = (i ? r(e, o, s) : r(s)) || s);
458
+ return i && s && Zt(e, o, s), s;
523
459
  };
524
- let H = class extends M(f``) {
460
+ let z = class extends $(g``) {
525
461
  constructor() {
526
462
  super(...arguments), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
527
463
  }
@@ -530,20 +466,20 @@ let H = class extends M(f``) {
530
466
  }
531
467
  connectedCallback() {
532
468
  if (this.id === void 0) throw new Error("id is required");
533
- super.connectedCallback(), tt(b(window, kt).pipe(v({ next: () => {
534
- this.dispatchEvent(new CustomEvent(Pt, { detail: { component: this }, bubbles: !0, composed: !0 }));
535
- } })), b(window, vt).pipe(v({ next: (t) => {
536
- t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(wt, { detail: { component: this }, bubbles: !0, composed: !0 }));
469
+ super.connectedCallback(), J(b(window, $t).pipe(w({ next: () => {
470
+ this.dispatchEvent(new CustomEvent(Et, { detail: { component: this }, bubbles: !0, composed: !0 }));
471
+ } })), b(window, ut).pipe(w({ next: (t) => {
472
+ t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(bt, { detail: { component: this }, bubbles: !0, composed: !0 }));
537
473
  } }))).pipe(d(this.disconnecting)).subscribe();
538
474
  }
539
475
  async firstUpdated() {
540
- V(U.activeTeleportations.get(this.id)).pipe(bt((t) => !!t), d(this.disconnecting), Mt()).subscribe({ next: (t) => {
541
- this.style.setProperty("visibility", "hidden"), mt(this).pipe(d(this.disconnecting)).subscribe({ next: (e) => {
542
- U.activeTeleportations.set(this.id, e), U.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
476
+ q(X.activeTeleportations.get(this.id)).pipe(dt((t) => !!t), d(this.disconnecting), Ct()).subscribe({ next: (t) => {
477
+ this.style.setProperty("visibility", "hidden"), ct(this).pipe(d(this.disconnecting)).subscribe({ next: (e) => {
478
+ X.activeTeleportations.set(this.id, e), X.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
543
479
  } });
544
480
  }, error: () => {
545
- this.style.setProperty("visibility", "visible"), mt(this).pipe(d(this.disconnecting)).subscribe({ next: (t) => {
546
- U.activeTeleportations.set(this.id, t);
481
+ this.style.setProperty("visibility", "visible"), ct(this).pipe(d(this.disconnecting)).subscribe({ next: (t) => {
482
+ X.activeTeleportations.set(this.id, t);
547
483
  } });
548
484
  }, complete: () => {
549
485
  } });
@@ -552,29 +488,27 @@ let H = class extends M(f``) {
552
488
  return a`<slot></slot>`;
553
489
  }
554
490
  };
555
- B([c({ type: Number, reflect: !0 })], H.prototype, "uuid", 2), B([c({ type: String })], H.prototype, "id", 2), B([c({ type: Number })], H.prototype, "delay", 2), H = B([l("schmancy-teleport")], H);
491
+ R([c({ type: Number, reflect: !0 })], z.prototype, "uuid", 2), R([c({ type: String })], z.prototype, "id", 2), R([c({ type: Number })], z.prototype, "delay", 2), z = R([l("schmancy-teleport")], z);
556
492
  export {
557
- wt as H,
558
- Y as L,
559
- et as S,
560
- vt as W,
561
- ft as a,
562
- gt as b,
563
- st as c,
564
- ot as d,
565
- w as e,
566
- k as f,
493
+ bt as H,
494
+ L as S,
495
+ ut as W,
496
+ mt as a,
497
+ yt as b,
498
+ Q as c,
499
+ Z as d,
500
+ v as e,
501
+ E as f,
567
502
  u as g,
568
- x as h,
569
- is as i,
570
- I as j,
571
- dt as k,
572
- it as l,
573
- rt as m,
574
- P as n,
575
- j as o,
576
- H as p,
577
- os as s,
578
- U as t
503
+ Ge as h,
504
+ k as i,
505
+ at as j,
506
+ tt as k,
507
+ et as l,
508
+ j as m,
509
+ D as n,
510
+ z as o,
511
+ Ye as s,
512
+ X as t
579
513
  };
580
- //# sourceMappingURL=teleport.component-Dc1Ygxut.js.map
514
+ //# sourceMappingURL=teleport.component-ChBGmqA6.js.map