@getmicdrop/venue-calendar 4.3.130 → 4.3.132
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/dist/{Calendar-CO2OMTWv.js → Calendar-e5BCo8VF.js} +146 -124
- package/dist/{CalendarFoundryView-CWfg6a0c.js → CalendarFoundryView-ChUcTRbh.js} +1439 -1445
- package/dist/{CartView-Bs9zBAU_.js → CartView-BW_i-Hu2.js} +1 -1
- package/dist/{Checkout-CYrBMPa9.js → Checkout-Bt7Xhdfo.js} +4 -1
- package/dist/{Checkout-87tQ__cE.js → Checkout-Ct8IQcr-.js} +2 -2
- package/dist/{CollectionView-2VCrkvH6.js → CollectionView-vnsbekqM.js} +2 -2
- package/dist/{Event-Fu8YUf0U.js → Event-4rMJCXDu.js} +1 -1
- package/dist/{EventPage-B-M4WKSO.js → EventPage-o3Sxc8OV.js} +3 -2
- package/dist/{Input-RNcqmqlD.js → Input-Czk889Ya.js} +53 -53
- package/dist/{PasswordInput-D8MdExEM.js → PasswordInput-fktfhSU6.js} +2 -2
- package/dist/{SeriesPage-Dq6VsOyY.js → SeriesPage-Dx8PivI6.js} +1 -1
- package/dist/venue-calendar.es.js +1431 -1400
- package/dist/venue-calendar.iife.js +34 -34
- package/dist/venue-calendar.umd.js +49 -49
- package/package.json +2 -2
- /package/dist/locales/{4.3.130 → 4.3.132}/flow/de.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/flow/es.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/flow/fr.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/flow/id.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/flow/it.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/flow/ja.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/flow/ko.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/flow/nl.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/flow/pl.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/flow/tr.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/flow/zh.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/main/de.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/main/es.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/main/fr.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/main/id.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/main/it.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/main/ja.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/main/ko.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/main/nl.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/main/pl.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/main/pt-br.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/main/tr.js +0 -0
- /package/dist/locales/{4.3.130 → 4.3.132}/main/zh.js +0 -0
- /package/dist/looks/{4.3.130 → 4.3.132}/looks.js +0 -0
- /package/dist/looks/{4.3.130 → 4.3.132}/micdrop-wordmark-BYMG6vLR.svg +0 -0
- /package/dist/looks/{4.3.130 → 4.3.132}/microphone-Ccv4r-kd.webp +0 -0
- /package/dist/looks/{4.3.130 → 4.3.132}/superuser-CZF6a5gO.webp +0 -0
- /package/dist/looks/{4.3.130 → 4.3.132}/treasury-DUE7lZzT.webp +0 -0
- /package/dist/looks/{4.3.130 → 4.3.132}/user-image-yuS4errP.svg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as e, m as t, p as n, v as r } from "./sizing-B7ixYndz.js";
|
|
2
2
|
import { t as i } from "./ChevronDownOutline-D7YDiKBF.js";
|
|
3
3
|
import { t as a } from "./CloseOutline-qpVa62mu.js";
|
|
4
|
-
import { t as o } from "./Input-
|
|
4
|
+
import { t as o } from "./Input-Czk889Ya.js";
|
|
5
5
|
import { A as s, E as c, O as l, S as u, T as d, _ as f, c as p, d as m, h, i as g, k as _, l as v, m as y, p as b, s as x, x as S } from "./datetime-BSb_4_yZ.js";
|
|
6
6
|
import { r as C } from "./WarningCircleIcon-B1KX3p19.js";
|
|
7
7
|
import { t as w } from "./ArrowLeftIcon-DEgh32lp.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as e, m as t } from "./sizing-B7ixYndz.js";
|
|
2
|
-
import { t as n } from "./Input-
|
|
2
|
+
import { t as n } from "./Input-Czk889Ya.js";
|
|
3
3
|
import { A as r, T as i, X as a, s as o, t as s } from "./datetime-BSb_4_yZ.js";
|
|
4
4
|
import { n as c } from "./WarningCircleIcon-B1KX3p19.js";
|
|
5
5
|
import { t as l } from "./CalendarIcon-BiIhqa3c.js";
|
|
@@ -326,6 +326,7 @@ function ze(e, t) {
|
|
|
326
326
|
get color() {
|
|
327
327
|
return L.get(i);
|
|
328
328
|
},
|
|
329
|
+
autocomplete: "given-name",
|
|
329
330
|
"data-testid": "checkout-first-name",
|
|
330
331
|
get value() {
|
|
331
332
|
return L.get(D);
|
|
@@ -352,6 +353,7 @@ function ze(e, t) {
|
|
|
352
353
|
get color() {
|
|
353
354
|
return L.get(i);
|
|
354
355
|
},
|
|
356
|
+
autocomplete: "family-name",
|
|
355
357
|
"data-testid": "checkout-last-name",
|
|
356
358
|
get value() {
|
|
357
359
|
return L.get(O);
|
|
@@ -380,6 +382,7 @@ function ze(e, t) {
|
|
|
380
382
|
get color() {
|
|
381
383
|
return L.get(i);
|
|
382
384
|
},
|
|
385
|
+
autocomplete: "email",
|
|
383
386
|
"data-testid": "checkout-email",
|
|
384
387
|
get value() {
|
|
385
388
|
return L.get(A);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as e, m as t, p as n } from "./sizing-B7ixYndz.js";
|
|
2
2
|
import { n as r, t as i } from "./CloseIcon-BhUrqAhx.js";
|
|
3
|
-
import { r as a } from "./Input-
|
|
3
|
+
import { r as a } from "./Input-Czk889Ya.js";
|
|
4
4
|
import { A as o, T as s, d as c } from "./datetime-BSb_4_yZ.js";
|
|
5
5
|
import { t as l } from "./CheckIcon-BSKGGU_P.js";
|
|
6
6
|
import { o as u, r as d } from "./ScarcityBadge-DnTalbV0.js";
|
|
@@ -19,7 +19,7 @@ import { t as de } from "./venue-BBoZBuhu.js";
|
|
|
19
19
|
import { c as fe, p as pe, s as me, t as he, u as ge } from "./checkoutState-DKdzYK3y.js";
|
|
20
20
|
import { r as _e } from "./utils-kb8Go96U.js";
|
|
21
21
|
import { a as ve } from "./AddOnCard-DVIyT413.js";
|
|
22
|
-
import ye, { n as be, t as xe } from "./Checkout-
|
|
22
|
+
import ye, { n as be, t as xe } from "./Checkout-Bt7Xhdfo.js";
|
|
23
23
|
import { n as Se } from "./buyerEmail-BfCq-gDt.js";
|
|
24
24
|
import "svelte/internal/disclose-version";
|
|
25
25
|
import * as N from "svelte/internal/client";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as e } from "./Event-
|
|
1
|
+
import { t as e } from "./Event-4rMJCXDu.js";
|
|
2
2
|
import { g as t } from "./sizing-B7ixYndz.js";
|
|
3
3
|
import { o as n } from "./RecommendationsRail-CASaEhsf.js";
|
|
4
4
|
import { t as r } from "./defaultLabels-B0ug1Vhr.js";
|
|
5
5
|
import { t as i } from "./Button-VUB2WJ88.js";
|
|
6
6
|
import { n as a } from "./widget-key-context-B-rITlo1.js";
|
|
7
7
|
import { _ as o } from "./api-BxKvWBu_.js";
|
|
8
|
-
import { t as s } from "./PasswordInput-
|
|
8
|
+
import { t as s } from "./PasswordInput-fktfhSU6.js";
|
|
9
9
|
import { t as c } from "./__SKIP_NAVIGATION__-AOx8SI54.js";
|
|
10
10
|
import { t as l } from "./__SKIP_PATHS__-C0ixDSSm.js";
|
|
11
11
|
import { i as u, n as d, t as f } from "./gate-password-cache-oOcDm9Ki.js";
|
|
@@ -3,7 +3,7 @@ import { i as t } from "./Button-B58iYo_t.js";
|
|
|
3
3
|
import { r as n, s as r } from "./keyboard-DhCcdIyh.js";
|
|
4
4
|
import { g as i, h as a, m as o, p as s, v as c } from "./sizing-B7ixYndz.js";
|
|
5
5
|
import { t as l } from "./ChevronDownOutline-D7YDiKBF.js";
|
|
6
|
-
import { t as u } from "./Input-
|
|
6
|
+
import { t as u } from "./Input-Czk889Ya.js";
|
|
7
7
|
import { a as d, c as f, d as p, f as m, i as h, l as g, p as _, r as v, s as y, t as b, u as x } from "./href-z8jrNd6b.js";
|
|
8
8
|
import { C as S, O as C, T as w, X as T, a as E, h as D, i as O, n as k, o as A, p as j, r as M, s as ee, t as te } from "./datetime-BSb_4_yZ.js";
|
|
9
9
|
import { n as ne, r as N } from "./WarningCircleIcon-B1KX3p19.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./Button-B58iYo_t.js";
|
|
2
2
|
import { i as t } from "./keyboard-DhCcdIyh.js";
|
|
3
|
-
import { n, r, t as i } from "./Event-
|
|
3
|
+
import { n, r, t as i } from "./Event-4rMJCXDu.js";
|
|
4
4
|
import { d as a, g as o, m as s, v as c } from "./sizing-B7ixYndz.js";
|
|
5
|
-
import { n as l, t as u } from "./Input-
|
|
5
|
+
import { n as l, t as u } from "./Input-Czk889Ya.js";
|
|
6
6
|
import { a as d, i as f, o as p, s as m, t as h } from "./createErrorGate.svelte-hewD6v3X.js";
|
|
7
7
|
import { l as g } from "./href-z8jrNd6b.js";
|
|
8
8
|
import { n as _ } from "./WarningCircleIcon-B1KX3p19.js";
|
|
@@ -515,6 +515,7 @@ function et(e, t) {
|
|
|
515
515
|
u(D, {
|
|
516
516
|
id: "waitlist-email",
|
|
517
517
|
type: "email",
|
|
518
|
+
autocomplete: "email",
|
|
518
519
|
get placeholder() {
|
|
519
520
|
return G.get(e);
|
|
520
521
|
},
|
|
@@ -70,9 +70,9 @@ function b(p, m) {
|
|
|
70
70
|
inputIconAlt: "Input icon",
|
|
71
71
|
helperIconAlt: "Helper icon",
|
|
72
72
|
optional: "(optional)"
|
|
73
|
-
}, g = f.prop(m, "required", 3, !1), _ = f.prop(m, "disabled", 3, !1), oe = f.prop(m, "optional", 3, !1), v = f.prop(m, "icon", 3, null), b = f.prop(m, "buttonIcon", 3, null), x = f.prop(m, "buttonText", 3, null), S = f.prop(m, "maxlength", 3, null), C = f.prop(m, "minlength", 3, null), w = f.prop(m, "type", 3, "text"), T = f.prop(m, "placeholder", 3, ""), we = f.prop(m, "label", 3, ""), Te = f.prop(m, "id", 3, h), E = f.prop(m, "name", 3, ""), Ee = f.prop(m, "class", 3, ""), De = f.prop(m, "size", 3, "md"), Oe = f.prop(m, "textareaSize", 3, ""), D = f.prop(m, "errorText", 3, ""), ke = f.prop(m, "color", 3, "base"), O = f.prop(m, "helperText", 3, ""), Ae = f.prop(m, "helperIcon", 3, ""), k = f.prop(m, "hintText", 3, ""), je = f.prop(m, "hintIcon", 3, ""), Me = f.prop(m, "contentFloat", 3, "left"), A = f.prop(m, "readonly", 3, !1), Ne = f.prop(m, "controlled", 3, !1), Pe = f.prop(m, "onButtonClick", 3, null), Fe = f.prop(m, "onbuttonclick", 3, null), j = f.prop(m, "value", 15, ""),
|
|
73
|
+
}, g = f.prop(m, "required", 3, !1), _ = f.prop(m, "disabled", 3, !1), oe = f.prop(m, "optional", 3, !1), v = f.prop(m, "icon", 3, null), b = f.prop(m, "buttonIcon", 3, null), x = f.prop(m, "buttonText", 3, null), S = f.prop(m, "maxlength", 3, null), C = f.prop(m, "minlength", 3, null), w = f.prop(m, "type", 3, "text"), T = f.prop(m, "placeholder", 3, ""), we = f.prop(m, "label", 3, ""), Te = f.prop(m, "id", 3, h), E = f.prop(m, "name", 3, ""), Ee = f.prop(m, "class", 3, ""), De = f.prop(m, "size", 3, "md"), Oe = f.prop(m, "textareaSize", 3, ""), D = f.prop(m, "errorText", 3, ""), ke = f.prop(m, "color", 3, "base"), O = f.prop(m, "helperText", 3, ""), Ae = f.prop(m, "helperIcon", 3, ""), k = f.prop(m, "hintText", 3, ""), je = f.prop(m, "hintIcon", 3, ""), Me = f.prop(m, "contentFloat", 3, "left"), A = f.prop(m, "readonly", 3, !1), Ne = f.prop(m, "controlled", 3, !1), Pe = f.prop(m, "onButtonClick", 3, null), Fe = f.prop(m, "onbuttonclick", 3, null), j = f.prop(m, "value", 15, ""), M = f.prop(m, "autocomplete", 3, null), Ie = f.prop(m, "skipPasswordManagers", 3, void 0), Le = f.prop(m, "autofocus", 3, !1), Re = f.prop(m, "showPasswordToggle", 3, !0), ze = f.prop(m, "animateFocus", 3, !0), Be = f.prop(m, "statusText", 3, ""), Ve = f.prop(m, "statusType", 3, ""), He = f.prop(m, "buttonDisabled", 3, !1), Ue = f.prop(m, "inputmode", 3, null), N = f.prop(m, "instantSearch", 3, !1), We = f.prop(m, "debounceMs", 3, 250), Ge = f.prop(m, "minSearchChars", 3, 2), P = f.prop(m, "showClearButton", 3, !1), F = f.prop(m, "prefix", 3, ""), I = f.prop(m, "prefixInline", 3, !1), Ke = f.prop(m, "labels", 19, () => ({})), qe = f.rest_props(m, ce), L = f.derived(() => Te() || h);
|
|
74
74
|
Pe() && !Fe() && n("Input: prop \"onButtonClick\" is deprecated. Use \"onbuttonclick\" instead.");
|
|
75
|
-
let Je = f.derived(() => Fe() ?? Pe()), R = f.derived(() => a(ae, Ke())), z = f.state(""), B = f.state(null), V, Ye = f.derived(() => Ue() || Ze(w())),
|
|
75
|
+
let Je = f.derived(() => Fe() ?? Pe()), R = f.derived(() => a(ae, Ke())), z = f.state(""), B = f.state(null), V, Ye = f.derived(() => Ue() || Ze(w())), H = f.derived(() => Ie() ?? (!M() || M() === "off")), Xe = f.derived(() => f.get(H) ? "off" : M());
|
|
76
76
|
function Ze(e) {
|
|
77
77
|
switch (e) {
|
|
78
78
|
case "phoneNumber":
|
|
@@ -87,17 +87,17 @@ function b(p, m) {
|
|
|
87
87
|
function Qe() {
|
|
88
88
|
f.get(B) && f.get(B).value !== f.get(z) && (f.set(z, f.get(B).value, !0), j(f.get(z)));
|
|
89
89
|
}
|
|
90
|
-
let
|
|
91
|
-
invalid: f.get(
|
|
90
|
+
let U = f.state(!1), W = f.derived(() => ke() === "red" || !!D()), G = f.derived(() => `${f.get(L)}-error`), K = f.derived(() => `${f.get(L)}-prefix`), $e = f.derived(() => [F() ? f.get(K) : "", D() ? f.get(G) : ""].filter(Boolean).join(" ") || void 0), et = f.derived(() => d({
|
|
91
|
+
invalid: f.get(W),
|
|
92
92
|
required: g(),
|
|
93
|
-
describedby: D() ? f.get(
|
|
93
|
+
describedby: D() ? f.get(G) : void 0
|
|
94
94
|
}, m.wiring)), tt = f.derived(() => d({
|
|
95
|
-
invalid: f.get(
|
|
95
|
+
invalid: f.get(W),
|
|
96
96
|
required: g(),
|
|
97
97
|
describedby: f.get($e)
|
|
98
|
-
}, m.wiring)),
|
|
99
|
-
f.set(
|
|
100
|
-
},
|
|
98
|
+
}, m.wiring)), q = f.derived(() => !!F() && I()), nt = f.derived(() => !!F() && !I()), rt = f.derived(() => m.leftIcon && f.get(q) ? "pl-14" : m.leftIcon ? "pl-10" : f.get(q) ? "pl-8" : ""), it = f.derived(() => Re() && f.get(U) ? "text" : w()), J = f.derived(() => ze() && !_() && !A()), at = f.derived(() => e[De()] || e.md), ot = () => {
|
|
99
|
+
f.set(U, !f.get(U));
|
|
100
|
+
}, Y = (e) => {
|
|
101
101
|
let t = e.target, n = t.value;
|
|
102
102
|
if (w() === "creditCardNumber") {
|
|
103
103
|
let e = n.replaceAll(/\D/g, "");
|
|
@@ -138,11 +138,11 @@ function b(p, m) {
|
|
|
138
138
|
te(() => {
|
|
139
139
|
clearTimeout(V);
|
|
140
140
|
});
|
|
141
|
-
let
|
|
141
|
+
let X = () => {
|
|
142
142
|
m.onblur?.();
|
|
143
|
-
}, X = () => {
|
|
144
|
-
m.onfocus?.();
|
|
145
143
|
}, Z = () => {
|
|
144
|
+
m.onfocus?.();
|
|
145
|
+
}, Q = () => {
|
|
146
146
|
switch (Me()) {
|
|
147
147
|
case "center": return "text-center";
|
|
148
148
|
case "right": return "text-right";
|
|
@@ -158,12 +158,12 @@ function b(p, m) {
|
|
|
158
158
|
}, ut = () => {
|
|
159
159
|
typeof f.get(Je) == "function" && f.get(Je)(String(f.get(z) ?? ""));
|
|
160
160
|
};
|
|
161
|
-
var
|
|
162
|
-
f.attribute_effect(
|
|
161
|
+
var $ = Ce();
|
|
162
|
+
f.attribute_effect($, () => ({
|
|
163
163
|
class: `flex flex-col gap-1 ${Ee() ?? ""}`,
|
|
164
164
|
...qe
|
|
165
165
|
}));
|
|
166
|
-
var dt = f.child(
|
|
166
|
+
var dt = f.child($), ft = (e) => {
|
|
167
167
|
var n = le(), i = f.child(n), a = f.child(i, !0), o = f.sibling(a);
|
|
168
168
|
ee(o, { get required() {
|
|
169
169
|
return g();
|
|
@@ -186,18 +186,18 @@ function b(p, m) {
|
|
|
186
186
|
f.if(l, (e) => {
|
|
187
187
|
oe() && e(u);
|
|
188
188
|
}), f.reset(n), f.template_effect(() => {
|
|
189
|
-
f.set_attribute(i, "for", f.get(L)), f.set_class(i, 1, `${r.caption} tone-secondary ${t.tight} sm:${t.none} ${f.get(
|
|
189
|
+
f.set_attribute(i, "for", f.get(L)), f.set_class(i, 1, `${r.caption} tone-secondary ${t.tight} sm:${t.none} ${f.get(W) ? "text-status-error-text" : ""}`), f.set_text(a, we());
|
|
190
190
|
}), f.append(e, n);
|
|
191
191
|
};
|
|
192
192
|
f.if(dt, (e) => {
|
|
193
193
|
we() && e(ft);
|
|
194
194
|
});
|
|
195
|
-
var
|
|
195
|
+
var pt = f.sibling(dt, 2), mt = f.child(pt), ht = (e) => {
|
|
196
196
|
var t = ue();
|
|
197
197
|
f.remove_textarea_child(t), t.required = !1, f.template_effect((e, n) => {
|
|
198
|
-
f.set_attribute(t, "id", f.get(L)), f.set_attribute(t, "name", E()), f.set_attribute(t, "placeholder", T()), f.set_value(t, f.get(z)), f.set_attribute(t, "maxlength", S()), f.set_attribute(t, "minlength", C()), f.set_class(t, 1, `${r.sm ?? ""} w-full px-3 py-2 bg-bg-secondary border rounded-lg ${i.emphasis ?? ""} placeholder-muted-foreground transition-all focus:outline-none focus:ring-4 focus:ring-focus-ring resize-y ${f.get(
|
|
199
|
-
}, [() =>
|
|
200
|
-
},
|
|
198
|
+
f.set_attribute(t, "id", f.get(L)), f.set_attribute(t, "name", E()), f.set_attribute(t, "placeholder", T()), f.set_value(t, f.get(z)), f.set_attribute(t, "maxlength", S()), f.set_attribute(t, "minlength", C()), f.set_class(t, 1, `${r.sm ?? ""} w-full px-3 py-2 bg-bg-secondary border rounded-lg ${i.emphasis ?? ""} placeholder-muted-foreground transition-all focus:outline-none focus:ring-4 focus:ring-focus-ring resize-y ${f.get(W) ? "border-status-error-border" : "border-stroke-primary hover:border-interactive-border focus:border-interactive-border"} ${e ?? ""} ${n ?? ""} ${f.get(J) ? "focus:scale-grow" : ""}`), t.disabled = _(), t.readOnly = A(), f.set_attribute(t, "tabindex", m.tabindex), f.set_attribute(t, "aria-required", g()), f.set_attribute(t, "aria-invalid", f.get(W)), f.set_attribute(t, "aria-describedby", D() ? f.get(G) : void 0), f.set_attribute(t, "data-testid", m["data-testid"]);
|
|
199
|
+
}, [() => Q(), () => lt()]), f.delegated("input", t, Y), f.event("blur", t, X), f.event("focus", t, Z), f.append(e, t);
|
|
200
|
+
}, gt = (e) => {
|
|
201
201
|
var t = de(), n = f.child(t);
|
|
202
202
|
f.attribute_effect(n, (e) => ({
|
|
203
203
|
id: f.get(L),
|
|
@@ -205,10 +205,10 @@ function b(p, m) {
|
|
|
205
205
|
name: E(),
|
|
206
206
|
placeholder: T(),
|
|
207
207
|
value: f.get(z),
|
|
208
|
-
oninput:
|
|
208
|
+
oninput: Y,
|
|
209
209
|
onchange: Qe,
|
|
210
|
-
onblur:
|
|
211
|
-
onfocus:
|
|
210
|
+
onblur: X,
|
|
211
|
+
onfocus: Z,
|
|
212
212
|
maxlength: S(),
|
|
213
213
|
minlength: C(),
|
|
214
214
|
class: `password-input-inner ${r.sm ?? ""} flex-1 w-full ${f.get(at) ?? ""} bg-transparent border-0 ${i.emphasis ?? ""} placeholder-muted-foreground focus:outline-none focus:ring-0 ${e ?? ""}`,
|
|
@@ -219,35 +219,35 @@ function b(p, m) {
|
|
|
219
219
|
...f.get(et),
|
|
220
220
|
"data-testid": m["data-testid"],
|
|
221
221
|
autocomplete: f.get(Xe),
|
|
222
|
-
"data-1p-ignore":
|
|
223
|
-
"data-lpignore":
|
|
224
|
-
"data-bwignore":
|
|
225
|
-
"data-form-type":
|
|
222
|
+
"data-1p-ignore": f.get(H) ? "" : void 0,
|
|
223
|
+
"data-lpignore": f.get(H) ? "true" : void 0,
|
|
224
|
+
"data-bwignore": f.get(H) ? "true" : void 0,
|
|
225
|
+
"data-form-type": f.get(H) ? "other" : void 0,
|
|
226
226
|
autofocus: Le(),
|
|
227
227
|
inputmode: f.get(Ye),
|
|
228
228
|
enterkeyhint: m.enterkeyhint,
|
|
229
229
|
autocapitalize: m.autocapitalize,
|
|
230
230
|
autocorrect: m.autocorrect
|
|
231
|
-
}), [() =>
|
|
231
|
+
}), [() => Q()], void 0, void 0, void 0, !0), f.bind_this(n, (e) => f.set(B, e), () => f.get(B));
|
|
232
232
|
var a = f.sibling(n, 2), o = f.child(a), s = (e) => {
|
|
233
233
|
re(e, { class: "w-5 h-5" });
|
|
234
234
|
}, c = (e) => {
|
|
235
235
|
ne(e, { class: "w-5 h-5" });
|
|
236
236
|
};
|
|
237
237
|
f.if(o, (e) => {
|
|
238
|
-
f.get(
|
|
238
|
+
f.get(U) ? e(s) : e(c, -1);
|
|
239
239
|
}), f.reset(a), f.reset(t), f.template_effect(() => {
|
|
240
|
-
f.set_class(t, 1, `flex items-center w-full bg-bg-secondary border rounded-lg transition-all outline-none focus-within:ring-4 focus-within:ring-focus-ring ${f.get(
|
|
240
|
+
f.set_class(t, 1, `flex items-center w-full bg-bg-secondary border rounded-lg transition-all outline-none focus-within:ring-4 focus-within:ring-focus-ring ${f.get(W) ? "border-status-error-border" : "border-stroke-primary hover:border-interactive-border focus-within:border-interactive-border"} ${f.get(J) ? "focus-within:scale-grow" : ""} ${_() ? "opacity-50 cursor-not-allowed" : ""}`), f.set_attribute(a, "aria-label", f.get(U) ? f.get(R).hidePassword : f.get(R).showPassword);
|
|
241
241
|
}), f.delegated("click", a, ot), f.append(e, t);
|
|
242
|
-
},
|
|
242
|
+
}, _t = (e) => {
|
|
243
243
|
var t = ye(), n = f.child(t), a = (e) => {
|
|
244
244
|
var t = y(), n = f.child(t, !0);
|
|
245
245
|
f.reset(t), f.template_effect(() => {
|
|
246
|
-
f.set_attribute(t, "id", f.get(
|
|
246
|
+
f.set_attribute(t, "id", f.get(K)), f.set_attribute(t, "data-testid", m["data-testid"] ? `${m["data-testid"]}-prefix` : void 0), f.set_class(t, 1, `${r.body ?? ""} shrink-0 self-stretch flex items-center px-3 bg-bg-tertiary tone-muted border border-r-0 rounded-l-lg select-none ${f.get(W) ? "border-status-error-border" : "border-stroke-primary"} ${_() ? "opacity-50" : ""}`), f.set_text(n, F());
|
|
247
247
|
}), f.append(e, t);
|
|
248
248
|
};
|
|
249
249
|
f.if(n, (e) => {
|
|
250
|
-
F() && !f.get(
|
|
250
|
+
F() && !f.get(q) && e(a);
|
|
251
251
|
});
|
|
252
252
|
var o = f.sibling(n, 2), s = (e) => {
|
|
253
253
|
var t = fe(), n = f.child(t);
|
|
@@ -255,15 +255,15 @@ function b(p, m) {
|
|
|
255
255
|
var i = f.sibling(n, 2), a = (e) => {
|
|
256
256
|
var t = y(), n = f.child(t, !0);
|
|
257
257
|
f.reset(t), f.template_effect(() => {
|
|
258
|
-
f.set_attribute(t, "id", f.get(
|
|
258
|
+
f.set_attribute(t, "id", f.get(K)), f.set_attribute(t, "data-testid", m["data-testid"] ? `${m["data-testid"]}-prefix` : void 0), f.set_class(t, 1, `${r.body ?? ""} select-none`), f.set_text(n, F());
|
|
259
259
|
}), f.append(e, t);
|
|
260
260
|
};
|
|
261
261
|
f.if(i, (e) => {
|
|
262
|
-
f.get(
|
|
262
|
+
f.get(q) && e(a);
|
|
263
263
|
}), f.reset(t), f.append(e, t);
|
|
264
264
|
};
|
|
265
265
|
f.if(o, (e) => {
|
|
266
|
-
(m.leftIcon || f.get(
|
|
266
|
+
(m.leftIcon || f.get(q)) && e(s);
|
|
267
267
|
});
|
|
268
268
|
var c = f.sibling(o, 2);
|
|
269
269
|
f.attribute_effect(c, (e) => ({
|
|
@@ -272,14 +272,14 @@ function b(p, m) {
|
|
|
272
272
|
name: E(),
|
|
273
273
|
placeholder: T(),
|
|
274
274
|
value: f.get(z),
|
|
275
|
-
oninput:
|
|
275
|
+
oninput: Y,
|
|
276
276
|
onchange: Qe,
|
|
277
|
-
onblur:
|
|
278
|
-
onfocus:
|
|
277
|
+
onblur: X,
|
|
278
|
+
onfocus: Z,
|
|
279
279
|
onkeydown: ct,
|
|
280
280
|
maxlength: S(),
|
|
281
281
|
minlength: C(),
|
|
282
|
-
class: `${r.body ?? ""} w-full ${f.get(nt) ? "min-w-0 " : ""}${f.get(at) ?? ""} bg-bg-secondary border ${f.get(nt) ? "rounded-r-lg" : "rounded-lg"} ${i.emphasis ?? ""} placeholder-muted-foreground transition-all focus:outline-none focus:ring-4 focus:ring-focus-ring ${f.get(
|
|
282
|
+
class: `${r.body ?? ""} w-full ${f.get(nt) ? "min-w-0 " : ""}${f.get(at) ?? ""} bg-bg-secondary border ${f.get(nt) ? "rounded-r-lg" : "rounded-lg"} ${i.emphasis ?? ""} placeholder-muted-foreground transition-all focus:outline-none focus:ring-4 focus:ring-focus-ring ${f.get(W) ? "border-status-error-border" : "border-stroke-primary hover:border-interactive-border focus:border-interactive-border"} ${v() || m.rightIcon || P() && f.get(z) ? "pr-10" : ""} ${f.get(rt) ?? ""} ${e ?? ""} ${f.get(J) && !F() && !I() ? "focus:scale-grow" : ""} ${_() ? "opacity-50 cursor-not-allowed" : ""}`,
|
|
283
283
|
required: !1,
|
|
284
284
|
disabled: _(),
|
|
285
285
|
readonly: A(),
|
|
@@ -287,16 +287,16 @@ function b(p, m) {
|
|
|
287
287
|
...f.get(tt),
|
|
288
288
|
"data-testid": m["data-testid"],
|
|
289
289
|
autocomplete: f.get(Xe),
|
|
290
|
-
"data-1p-ignore":
|
|
291
|
-
"data-lpignore":
|
|
292
|
-
"data-bwignore":
|
|
293
|
-
"data-form-type":
|
|
290
|
+
"data-1p-ignore": f.get(H) ? "" : void 0,
|
|
291
|
+
"data-lpignore": f.get(H) ? "true" : void 0,
|
|
292
|
+
"data-bwignore": f.get(H) ? "true" : void 0,
|
|
293
|
+
"data-form-type": f.get(H) ? "other" : void 0,
|
|
294
294
|
autofocus: Le(),
|
|
295
295
|
inputmode: f.get(Ye),
|
|
296
296
|
enterkeyhint: m.enterkeyhint,
|
|
297
297
|
autocapitalize: m.autocapitalize,
|
|
298
298
|
autocorrect: m.autocorrect
|
|
299
|
-
}), [() =>
|
|
299
|
+
}), [() => Q()], void 0, void 0, void 0, !0), f.bind_this(c, (e) => f.set(B, e), () => f.get(B));
|
|
300
300
|
var l = f.sibling(c, 2), u = (e) => {
|
|
301
301
|
var t = pe(), n = f.child(t);
|
|
302
302
|
f.snippet(n, () => m.rightIcon), f.reset(t), f.append(e, t);
|
|
@@ -336,20 +336,20 @@ function b(p, m) {
|
|
|
336
336
|
v() && w() !== "textarea" && !m.rightIcon && !(P() && f.get(z)) && e(p);
|
|
337
337
|
}), f.reset(t), f.append(e, t);
|
|
338
338
|
};
|
|
339
|
-
f.if(
|
|
340
|
-
w() === "textarea" ? e(
|
|
339
|
+
f.if(mt, (e) => {
|
|
340
|
+
w() === "textarea" ? e(ht) : w() === "password" && Re() ? e(gt, 1) : e(_t, -1);
|
|
341
341
|
});
|
|
342
|
-
var
|
|
342
|
+
var vt = f.sibling(mt, 2), yt = (e) => {
|
|
343
343
|
var t = be(), n = f.child(t);
|
|
344
344
|
o(n, { class: "w-4 h-4 shrink-0 text-accent-danger mt-0.5" });
|
|
345
345
|
var i = f.sibling(n, 2), a = f.child(i, !0);
|
|
346
346
|
f.reset(i), f.reset(t), f.template_effect(() => {
|
|
347
|
-
f.set_attribute(t, "id", f.get(
|
|
347
|
+
f.set_attribute(t, "id", f.get(G)), f.set_class(i, 1, f.clsx(r.error)), f.set_text(a, D());
|
|
348
348
|
}), f.transition(3, t, () => u, () => ({
|
|
349
349
|
duration: c.normal,
|
|
350
350
|
easing: l.out
|
|
351
351
|
})), f.append(e, t);
|
|
352
|
-
},
|
|
352
|
+
}, bt = (e) => {
|
|
353
353
|
var t = Se(), n = f.child(t), i = (e) => {
|
|
354
354
|
var t = xe();
|
|
355
355
|
f.template_effect(() => {
|
|
@@ -364,9 +364,9 @@ function b(p, m) {
|
|
|
364
364
|
f.set_class(t, 1, `mt-2 flex items-center ${r.xsMuted} opacity-65`), f.set_text(o, O() || k());
|
|
365
365
|
}), f.append(e, t);
|
|
366
366
|
};
|
|
367
|
-
f.if(
|
|
368
|
-
D() ? e(
|
|
369
|
-
}), f.reset(
|
|
367
|
+
f.if(vt, (e) => {
|
|
368
|
+
D() ? e(yt) : (O() || k()) && e(bt, 1);
|
|
369
|
+
}), f.reset(pt), f.reset($), f.append(p, $), f.pop();
|
|
370
370
|
}
|
|
371
371
|
f.delegate(["input", "click"]);
|
|
372
372
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v as e } from "./sizing-B7ixYndz.js";
|
|
2
|
-
import { t } from "./Input-
|
|
2
|
+
import { t } from "./Input-Czk889Ya.js";
|
|
3
3
|
import { l as n, u as r, y as i } from "./portalContainment-CeAVqIb-.js";
|
|
4
4
|
import { t as a } from "./lazyOnce-CCfEO1xG.js";
|
|
5
5
|
import "svelte/internal/disclose-version";
|
|
@@ -93,7 +93,7 @@ function u(t, u) {
|
|
|
93
93
|
var d = o.from_html("<p> </p>"), f = o.from_html("<div><!> <!></div>");
|
|
94
94
|
function p(n, r) {
|
|
95
95
|
o.push(r, !0);
|
|
96
|
-
let i = { passwordStrength: "Password strength:" }, a = o.prop(r, "value", 15, ""), s = o.prop(r, "label", 3, ""), c = o.prop(r, "placeholder", 3, ""), l = o.prop(r, "name", 3, ""), p = o.prop(r, "id", 3, ""), m = o.prop(r, "required", 3, !1), h = o.prop(r, "disableBuiltInValidation", 3, !1), g = o.prop(r, "disabled", 3, !1), _ = o.prop(r, "error", 3, ""), v = o.prop(r, "hint", 3, ""), y = o.prop(r, "showStrength", 3, !1), b = o.prop(r, "size", 3, "md"), x = o.prop(r, "minlength", 3, null), S = o.prop(r, "maxlength", 3, null), C = o.prop(r, "autocomplete", 3, "new-password"), w = o.prop(r, "skipPasswordManagers", 3,
|
|
96
|
+
let i = { passwordStrength: "Password strength:" }, a = o.prop(r, "value", 15, ""), s = o.prop(r, "label", 3, ""), c = o.prop(r, "placeholder", 3, ""), l = o.prop(r, "name", 3, ""), p = o.prop(r, "id", 3, ""), m = o.prop(r, "required", 3, !1), h = o.prop(r, "disableBuiltInValidation", 3, !1), g = o.prop(r, "disabled", 3, !1), _ = o.prop(r, "error", 3, ""), v = o.prop(r, "hint", 3, ""), y = o.prop(r, "showStrength", 3, !1), b = o.prop(r, "size", 3, "md"), x = o.prop(r, "minlength", 3, null), S = o.prop(r, "maxlength", 3, null), C = o.prop(r, "autocomplete", 3, "new-password"), w = o.prop(r, "skipPasswordManagers", 3, void 0), T = o.prop(r, "showPasswordToggle", 3, !0), E = o.prop(r, "class", 3, ""), D = o.prop(r, "labels", 19, () => ({})), O = o.derived(() => e(i, D())), k = o.derived(() => !h() && m()), A = o.state(-1), j = o.state(""), M = o.state("");
|
|
97
97
|
var N = f(), P = o.child(N);
|
|
98
98
|
t(P, {
|
|
99
99
|
type: "password",
|