@alfadocs/ui-kit 1.77.1 → 1.79.0
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/_chunks/{address-fields-BUPRs3n-.js → address-fields-GnoSkvh6.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-vNDyE5HW.js → anamnesis-summary-rows-lONg-zja.js} +2 -2
- package/dist/_chunks/{bishop-score-CdbU9Nl4.js → bishop-score-C5di6oAV.js} +2 -2
- package/dist/_chunks/{bmi-calculator-DnfiDh4Q.js → bmi-calculator-BIExHBZV.js} +2 -2
- package/dist/_chunks/{booking-Cz_QjIJe.js → booking-BV2s2J3C.js} +3 -3
- package/dist/_chunks/{calendar-appointment-editor-dialog-cvUpUjj-.js → calendar-appointment-editor-dialog-DhTTWgXw.js} +3 -3
- package/dist/_chunks/{cycle-calculator-HO3s5InI.js → cycle-calculator-CQkjVSD2.js} +2 -2
- package/dist/_chunks/{due-date-calculator-CDWTSblh.js → due-date-calculator-NjTlmoFK.js} +2 -2
- package/dist/_chunks/{fetal-weight-CrtBFJl-.js → fetal-weight-Brl3n4LN.js} +2 -2
- package/dist/_chunks/{forgot-password-form-BSOZVrZG.js → forgot-password-form-BQPvDS7i.js} +2 -2
- package/dist/_chunks/form-field-CyHfOVKF.js +185 -0
- package/dist/_chunks/{gestational-age-calculator-CTHeJJdb.js → gestational-age-calculator-Dr9hdDta.js} +2 -2
- package/dist/_chunks/{hcg-doubling-BBk-a33g.js → hcg-doubling-K41Wy7LB.js} +2 -2
- package/dist/_chunks/{help-me-write-templates-Ds1FY-WY.js → help-me-write-templates-BJSf24xS.js} +2 -2
- package/dist/_chunks/key-round-DIgsnJSg.js +21 -0
- package/dist/_chunks/{kit-extensions-sNTZWkoo.js → kit-extensions-a0G4COFH.js} +6 -6
- package/dist/_chunks/login-dev-card-CvLHj-_N.js +353 -0
- package/dist/_chunks/{patient-search-DuBdxv1w.js → patient-search-CxqNcth4.js} +454 -438
- package/dist/_chunks/{pregnancy-dating-JBAUbM40.js → pregnancy-dating-BHvfDxz4.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain--Bqv6AWu.js → pregnancy-weight-gain-BeQRxwdP.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-DQh2SX8G.js → radiograph-panel.agent-BQ95uFCd.js} +2 -2
- package/dist/_chunks/registration-form-CNBfUduG.js +1337 -0
- package/dist/_chunks/reset-password-form-Cf9QPEJu.js +367 -0
- package/dist/_chunks/{send-registration-link-form-__DWY62q.js → send-registration-link-form-vTn1HxjA.js} +2 -2
- package/dist/_chunks/{task-editor-CRhfwP9T.js → task-editor-Cpw-NmND.js} +2 -2
- package/dist/_chunks/{unit-converter-D59L-gkf.js → unit-converter-BH5ueIhT.js} +2 -2
- package/dist/_chunks/{voice-control-panel-DQJwe6_Q.js → voice-control-panel-BziKE-KK.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-BvVPZVpG.js → workflow-webhook-action-DulCpCRz.js} +96 -111
- package/dist/agent-catalog.json +89 -3
- package/dist/agent-i18n/en.json +11 -2
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/form-field/form-field.d.ts +6 -0
- package/dist/components/form-field/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-search/patient-search.d.ts +9 -2
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +26 -0
- package/dist/i18n/locales/ar.js +27 -1
- package/dist/i18n/locales/de.d.ts +26 -0
- package/dist/i18n/locales/de.js +27 -1
- package/dist/i18n/locales/el.d.ts +26 -0
- package/dist/i18n/locales/el.js +27 -1
- package/dist/i18n/locales/en.d.ts +26 -0
- package/dist/i18n/locales/en.js +26 -0
- package/dist/i18n/locales/es.d.ts +26 -0
- package/dist/i18n/locales/es.js +27 -1
- package/dist/i18n/locales/fr.d.ts +26 -0
- package/dist/i18n/locales/fr.js +27 -1
- package/dist/i18n/locales/hi.d.ts +26 -0
- package/dist/i18n/locales/hi.js +27 -1
- package/dist/i18n/locales/it.d.ts +26 -0
- package/dist/i18n/locales/it.js +27 -1
- package/dist/i18n/locales/ja.d.ts +26 -0
- package/dist/i18n/locales/ja.js +27 -1
- package/dist/i18n/locales/nl.d.ts +26 -0
- package/dist/i18n/locales/nl.js +27 -1
- package/dist/i18n/locales/pl.d.ts +26 -0
- package/dist/i18n/locales/pl.js +27 -1
- package/dist/i18n/locales/pt.d.ts +26 -0
- package/dist/i18n/locales/pt.js +27 -1
- package/dist/i18n/locales/ro.d.ts +26 -0
- package/dist/i18n/locales/ro.js +27 -1
- package/dist/i18n/locales/ru.d.ts +26 -0
- package/dist/i18n/locales/ru.js +27 -1
- package/dist/i18n/locales/sq.d.ts +26 -0
- package/dist/i18n/locales/sq.js +27 -1
- package/dist/i18n/locales/sv.d.ts +26 -0
- package/dist/i18n/locales/sv.js +27 -1
- package/dist/i18n/locales/tr.d.ts +26 -0
- package/dist/i18n/locales/tr.js +27 -1
- package/dist/i18n/locales/zh.d.ts +26 -0
- package/dist/i18n/locales/zh.js +27 -1
- package/dist/index.js +90 -87
- package/dist/locales/ar.json +27 -1
- package/dist/locales/de.json +27 -1
- package/dist/locales/el.json +27 -1
- package/dist/locales/en.json +26 -0
- package/dist/locales/es.json +27 -1
- package/dist/locales/fr.json +27 -1
- package/dist/locales/hi.json +27 -1
- package/dist/locales/it.json +27 -1
- package/dist/locales/ja.json +27 -1
- package/dist/locales/nl.json +27 -1
- package/dist/locales/pl.json +27 -1
- package/dist/locales/pt.json +27 -1
- package/dist/locales/ro.json +27 -1
- package/dist/locales/ru.json +27 -1
- package/dist/locales/sq.json +27 -1
- package/dist/locales/sv.json +27 -1
- package/dist/locales/tr.json +27 -1
- package/dist/locales/zh.json +27 -1
- package/dist/patterns/_shared/password-policy.d.ts +3 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/login-form/login-form.d.ts +24 -7
- package/dist/patterns/registration-form/index.d.ts +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/registration-form/registration-form.d.ts +27 -0
- package/dist/patterns/reset-password-form/index.d.ts +3 -0
- package/dist/patterns/reset-password-form/index.js +6 -0
- package/dist/patterns/reset-password-form/reset-password-form.d.ts +108 -0
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/package.json +5 -1
- package/dist/_chunks/form-field-Ani72sVY.js +0 -176
- package/dist/_chunks/login-dev-card-DRxTPkE9.js +0 -332
- package/dist/_chunks/registration-form-xORq2s4p.js +0 -1310
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
import { jsx as r, jsxs as i, Fragment as O } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Ls, useId as l, useState as m, useRef as p, useMemo as Ns, useEffect as B } from "react";
|
|
3
|
+
import { useTranslation as _s } from "react-i18next";
|
|
4
|
+
import { c as ws } from "./index-D2ZczOXr.js";
|
|
5
|
+
import { A as u } from "./alert-9kEwDza3.js";
|
|
6
|
+
import { B as D } from "./button-DohK_Ak_.js";
|
|
7
|
+
import { C as ms } from "./card-BA4Ig_kn.js";
|
|
8
|
+
import { E as ks } from "./email-input-C7THAwh2.js";
|
|
9
|
+
import { E as Vs } from "./error-summary-mGxIyDAY.js";
|
|
10
|
+
import { F as L } from "./form-field-CyHfOVKF.js";
|
|
11
|
+
import { P as us } from "./password-input-BokZ_rnT.js";
|
|
12
|
+
import { u as Hs } from "./use-password-requirements-C8DdwPEy.js";
|
|
13
|
+
import { i as js } from "./safe-href-5dbsfbQn.js";
|
|
14
|
+
import { u as zs } from "./use-state-backed-input-DhRQo6gM.js";
|
|
15
|
+
import { u as Ws } from "./use-field-match-C8ug3sdQ.js";
|
|
16
|
+
import { u as $s, a as Gs, A as Us, b as Ys, E as Js, c as Ks } from "./auth-form-parts-B3GWChvG.js";
|
|
17
|
+
import { u as Qs, a as Xs, b as Zs } from "./use-registration-submit-CLGHxwoT.js";
|
|
18
|
+
const sr = {
|
|
19
|
+
minLength: 12,
|
|
20
|
+
uppercase: !0,
|
|
21
|
+
lowercase: !0,
|
|
22
|
+
digit: !0,
|
|
23
|
+
charset: "ascii"
|
|
24
|
+
}, b = [
|
|
25
|
+
"password",
|
|
26
|
+
"passwordConfirm"
|
|
27
|
+
], rr = ws(
|
|
28
|
+
"ds:mx-auto ds:w-full ds:max-w-[400px] ds:text-start ds:text-[var(--foreground)]"
|
|
29
|
+
), fs = ws(
|
|
30
|
+
"ds:focus-visible:outline-solid ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]"
|
|
31
|
+
), or = "", er = "", ar = { 1: "h2", 2: "h3", 3: "h4" }, tr = (e) => Object.values(e).some(Boolean), ps = (e) => b.find((P) => e[P]) ?? (e.form ? "form" : void 0), nr = Ls(
|
|
32
|
+
({
|
|
33
|
+
state: e = "form",
|
|
34
|
+
title: P,
|
|
35
|
+
description: hs,
|
|
36
|
+
headingLevel: x = 1,
|
|
37
|
+
showLogo: gs = !0,
|
|
38
|
+
logoMotion: Fs = "assemble",
|
|
39
|
+
children: N,
|
|
40
|
+
email: w,
|
|
41
|
+
loginHref: vs,
|
|
42
|
+
requestHref: Cs,
|
|
43
|
+
errors: c,
|
|
44
|
+
submitLabel: bs,
|
|
45
|
+
submitting: Ps = !1,
|
|
46
|
+
onSubmit: I,
|
|
47
|
+
fieldNames: R,
|
|
48
|
+
action: xs,
|
|
49
|
+
hiddenFields: Is,
|
|
50
|
+
className: Rs,
|
|
51
|
+
...Es
|
|
52
|
+
}, ys) => {
|
|
53
|
+
const { t: o } = _s("ui"), _ = l(), h = l(), g = l(), As = l(), k = l(), V = l(), H = l(), F = R !== void 0, Ss = {
|
|
54
|
+
password: k,
|
|
55
|
+
passwordConfirm: V
|
|
56
|
+
}, [t, E] = m({
|
|
57
|
+
password: "",
|
|
58
|
+
passwordConfirm: ""
|
|
59
|
+
}), [Ts, y] = m({}), [j, z] = m(!1), [f, W] = m(
|
|
60
|
+
() => c ?? {}
|
|
61
|
+
), $ = (s, a) => {
|
|
62
|
+
E((n) => ({ ...n, [s]: a })), W(
|
|
63
|
+
(n) => n[s] ? { ...n, [s]: void 0 } : n
|
|
64
|
+
);
|
|
65
|
+
}, G = (s) => y(
|
|
66
|
+
(a) => a[s] ? a : { ...a, [s]: !0 }
|
|
67
|
+
), U = () => {
|
|
68
|
+
E({ password: "", passwordConfirm: "" }), y({});
|
|
69
|
+
}, Y = Hs(sr), A = Ws({
|
|
70
|
+
value: t.password,
|
|
71
|
+
confirmValue: t.passwordConfirm,
|
|
72
|
+
kind: "password",
|
|
73
|
+
submitted: j
|
|
74
|
+
}), J = {
|
|
75
|
+
password: t.password === "" || !Y.every((s) => s.test(t.password)),
|
|
76
|
+
passwordConfirm: t.passwordConfirm === "" || !A.matches
|
|
77
|
+
}, K = (s) => j || Ts[s] === !0, qs = {
|
|
78
|
+
password: K("password") && J.password ? t.password === "" ? o("resetPasswordForm.passwordRequired") : o("resetPasswordForm.passwordInvalid") : void 0,
|
|
79
|
+
passwordConfirm: t.passwordConfirm === "" ? K("passwordConfirm") ? o("resetPasswordForm.passwordConfirmRequired") : void 0 : A.error
|
|
80
|
+
}, v = (s) => f[s] ?? qs[s], S = p({}), Q = Ns(
|
|
81
|
+
() => ({
|
|
82
|
+
password: (s) => {
|
|
83
|
+
S.current.password = s;
|
|
84
|
+
},
|
|
85
|
+
passwordConfirm: (s) => {
|
|
86
|
+
S.current.passwordConfirm = s;
|
|
87
|
+
}
|
|
88
|
+
}),
|
|
89
|
+
[]
|
|
90
|
+
), X = p(null), T = p(null), Ms = p(null), Z = zs(w ?? "", Ms), [ss] = m(
|
|
91
|
+
() => b.some((s) => !!(c != null && c[s]))
|
|
92
|
+
), d = Qs(
|
|
93
|
+
b,
|
|
94
|
+
v,
|
|
95
|
+
ss
|
|
96
|
+
), Os = Xs(
|
|
97
|
+
f.form,
|
|
98
|
+
d.listed.length > 0
|
|
99
|
+
), [C, rs] = m(() => {
|
|
100
|
+
const s = ss ? void 0 : ps(c ?? {});
|
|
101
|
+
return s ? { target: s } : null;
|
|
102
|
+
});
|
|
103
|
+
B(() => {
|
|
104
|
+
var s, a;
|
|
105
|
+
C && (C.target === "form" ? (s = X.current) == null || s.focus() : (a = S.current[C.target]) == null || a.focus());
|
|
106
|
+
}, [C]);
|
|
107
|
+
const os = e !== "form";
|
|
108
|
+
B(() => {
|
|
109
|
+
os && (E({ password: "", passwordConfirm: "" }), y({}));
|
|
110
|
+
}, [os]);
|
|
111
|
+
const es = p(e === "form");
|
|
112
|
+
B(() => {
|
|
113
|
+
var s;
|
|
114
|
+
e !== "form" && es.current && ((s = T.current) == null || s.focus()), es.current = e === "form";
|
|
115
|
+
}, [e]);
|
|
116
|
+
const as = Zs({
|
|
117
|
+
errors: c,
|
|
118
|
+
submitting: Ps,
|
|
119
|
+
native: F,
|
|
120
|
+
captcha: !1,
|
|
121
|
+
firstProblem: () => b.find((s) => J[s]),
|
|
122
|
+
onRefused: (s) => {
|
|
123
|
+
z(!0), d.open(() => rs({ target: s }));
|
|
124
|
+
},
|
|
125
|
+
// Only a React host gets here: a native post is the browser's own.
|
|
126
|
+
deliver: () => I == null ? void 0 : I({
|
|
127
|
+
password: t.password,
|
|
128
|
+
passwordConfirm: t.passwordConfirm
|
|
129
|
+
}),
|
|
130
|
+
onAnswer: (s) => {
|
|
131
|
+
const a = s;
|
|
132
|
+
W(a), tr(a) && (U(), z(!1), d.open(() => {
|
|
133
|
+
const n = ps(a);
|
|
134
|
+
n && rs({ target: n });
|
|
135
|
+
}));
|
|
136
|
+
},
|
|
137
|
+
// The page came back from the browser's cache as it was left: the
|
|
138
|
+
// passwords must not come back with it.
|
|
139
|
+
onRestore: U
|
|
140
|
+
}), { busy: q } = as, Bs = $s("ResetPasswordForm", F, xs), Ds = Gs(
|
|
141
|
+
"ResetPasswordForm",
|
|
142
|
+
F,
|
|
143
|
+
R,
|
|
144
|
+
Is
|
|
145
|
+
), ts = (s) => F ? R[s] : s, ns = (s) => s && js(s) ? s : void 0, ds = ns(vs), is = ns(Cs), M = e === "form", ls = {
|
|
146
|
+
password: o("resetPasswordForm.password"),
|
|
147
|
+
passwordConfirm: o("resetPasswordForm.passwordConfirm")
|
|
148
|
+
}, cs = ar[x];
|
|
149
|
+
return /* @__PURE__ */ r(
|
|
150
|
+
"div",
|
|
151
|
+
{
|
|
152
|
+
ref: ys,
|
|
153
|
+
...Es,
|
|
154
|
+
"data-component": "reset-password-form",
|
|
155
|
+
"data-state": e,
|
|
156
|
+
className: rr({ className: Rs }),
|
|
157
|
+
children: /* @__PURE__ */ r(ms, { variant: "elevated", children: /* @__PURE__ */ i(ms.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", children: [
|
|
158
|
+
/* @__PURE__ */ r(
|
|
159
|
+
Us,
|
|
160
|
+
{
|
|
161
|
+
id: _,
|
|
162
|
+
title: M ? P ?? o("resetPasswordForm.title") : o("resetPasswordForm.pageTitle"),
|
|
163
|
+
description: M ? hs ?? o("resetPasswordForm.description") : void 0,
|
|
164
|
+
level: x,
|
|
165
|
+
showLogo: gs,
|
|
166
|
+
logoMotion: Fs
|
|
167
|
+
}
|
|
168
|
+
),
|
|
169
|
+
N ? /* @__PURE__ */ r(
|
|
170
|
+
"div",
|
|
171
|
+
{
|
|
172
|
+
"data-slot": "host-content",
|
|
173
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
|
|
174
|
+
children: N
|
|
175
|
+
}
|
|
176
|
+
) : null,
|
|
177
|
+
e === "done" && /* @__PURE__ */ i(O, { children: [
|
|
178
|
+
/* @__PURE__ */ i(
|
|
179
|
+
u,
|
|
180
|
+
{
|
|
181
|
+
ref: T,
|
|
182
|
+
variant: "success",
|
|
183
|
+
tabIndex: -1,
|
|
184
|
+
"aria-labelledby": h,
|
|
185
|
+
"aria-describedby": g,
|
|
186
|
+
"data-slot": "result",
|
|
187
|
+
className: fs(),
|
|
188
|
+
children: [
|
|
189
|
+
/* @__PURE__ */ r(u.Title, { id: h, as: cs, children: o("resetPasswordForm.doneTitle") }),
|
|
190
|
+
/* @__PURE__ */ r(u.Description, { id: g, children: w ? o("resetPasswordForm.doneDescriptionEmail", {
|
|
191
|
+
// Isolated left to right, so the address keeps its
|
|
192
|
+
// order inside a right-to-left sentence.
|
|
193
|
+
email: `${or}${w}${er}`
|
|
194
|
+
}) : o("resetPasswordForm.doneDescription") })
|
|
195
|
+
]
|
|
196
|
+
}
|
|
197
|
+
),
|
|
198
|
+
ds && /* @__PURE__ */ r(
|
|
199
|
+
D,
|
|
200
|
+
{
|
|
201
|
+
asChild: !0,
|
|
202
|
+
intent: "primary",
|
|
203
|
+
size: "lg",
|
|
204
|
+
className: "ds:w-full",
|
|
205
|
+
children: /* @__PURE__ */ r("a", { href: ds, "data-action": "login", children: o("resetPasswordForm.signIn") })
|
|
206
|
+
}
|
|
207
|
+
)
|
|
208
|
+
] }),
|
|
209
|
+
e === "expired" && /* @__PURE__ */ i(O, { children: [
|
|
210
|
+
/* @__PURE__ */ i(
|
|
211
|
+
u,
|
|
212
|
+
{
|
|
213
|
+
ref: T,
|
|
214
|
+
variant: "warning",
|
|
215
|
+
announce: "polite",
|
|
216
|
+
tabIndex: -1,
|
|
217
|
+
"aria-labelledby": h,
|
|
218
|
+
"aria-describedby": g,
|
|
219
|
+
"data-slot": "result",
|
|
220
|
+
className: fs(),
|
|
221
|
+
children: [
|
|
222
|
+
/* @__PURE__ */ r(u.Title, { id: h, as: cs, children: o("resetPasswordForm.expiredTitle") }),
|
|
223
|
+
/* @__PURE__ */ r(u.Description, { id: g, children: o("resetPasswordForm.expiredDescription") })
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
),
|
|
227
|
+
is && /* @__PURE__ */ r(
|
|
228
|
+
D,
|
|
229
|
+
{
|
|
230
|
+
asChild: !0,
|
|
231
|
+
intent: "primary",
|
|
232
|
+
size: "lg",
|
|
233
|
+
className: "ds:w-full",
|
|
234
|
+
children: /* @__PURE__ */ r("a", { href: is, "data-action": "request-link", children: o("resetPasswordForm.requestLink") })
|
|
235
|
+
}
|
|
236
|
+
)
|
|
237
|
+
] }),
|
|
238
|
+
M && /* @__PURE__ */ i(O, { children: [
|
|
239
|
+
/* @__PURE__ */ i(
|
|
240
|
+
"form",
|
|
241
|
+
{
|
|
242
|
+
noValidate: !0,
|
|
243
|
+
method: "post",
|
|
244
|
+
action: Bs,
|
|
245
|
+
"aria-labelledby": _,
|
|
246
|
+
"aria-busy": q || void 0,
|
|
247
|
+
onSubmit: as.handleSubmit,
|
|
248
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
|
|
249
|
+
children: [
|
|
250
|
+
/* @__PURE__ */ r(
|
|
251
|
+
Vs,
|
|
252
|
+
{
|
|
253
|
+
ref: d.ref,
|
|
254
|
+
headingLevel: x + 1,
|
|
255
|
+
"aria-describedby": f.form ? H : void 0,
|
|
256
|
+
errors: d.listed.map((s) => ({
|
|
257
|
+
field: s,
|
|
258
|
+
message: v(s) ?? "",
|
|
259
|
+
targetId: Ss[s]
|
|
260
|
+
}))
|
|
261
|
+
}
|
|
262
|
+
),
|
|
263
|
+
f.form && /* @__PURE__ */ r(
|
|
264
|
+
Ys,
|
|
265
|
+
{
|
|
266
|
+
ref: X,
|
|
267
|
+
id: H,
|
|
268
|
+
announce: Os,
|
|
269
|
+
children: f.form
|
|
270
|
+
}
|
|
271
|
+
),
|
|
272
|
+
w ? /* @__PURE__ */ r(
|
|
273
|
+
L,
|
|
274
|
+
{
|
|
275
|
+
id: As,
|
|
276
|
+
label: o("resetPasswordForm.email"),
|
|
277
|
+
"data-field": "email",
|
|
278
|
+
children: /* @__PURE__ */ r(
|
|
279
|
+
ks,
|
|
280
|
+
{
|
|
281
|
+
ref: Z.ref,
|
|
282
|
+
name: "",
|
|
283
|
+
readOnly: !0,
|
|
284
|
+
autoComplete: "username",
|
|
285
|
+
dir: "ltr",
|
|
286
|
+
disableBuiltInValidation: !0,
|
|
287
|
+
onChange: Z.quiet()
|
|
288
|
+
}
|
|
289
|
+
)
|
|
290
|
+
}
|
|
291
|
+
) : null,
|
|
292
|
+
/* @__PURE__ */ r(
|
|
293
|
+
L,
|
|
294
|
+
{
|
|
295
|
+
id: k,
|
|
296
|
+
label: ls.password,
|
|
297
|
+
required: !0,
|
|
298
|
+
error: v("password"),
|
|
299
|
+
announceError: !d.lists("password"),
|
|
300
|
+
"data-field": "password",
|
|
301
|
+
children: /* @__PURE__ */ r(
|
|
302
|
+
us,
|
|
303
|
+
{
|
|
304
|
+
ref: Q.password,
|
|
305
|
+
name: ts("password"),
|
|
306
|
+
autoComplete: "new-password",
|
|
307
|
+
requirements: Y,
|
|
308
|
+
value: t.password,
|
|
309
|
+
onChange: (s) => $("password", s.target.value),
|
|
310
|
+
onBlur: () => G("password")
|
|
311
|
+
}
|
|
312
|
+
)
|
|
313
|
+
}
|
|
314
|
+
),
|
|
315
|
+
/* @__PURE__ */ r(
|
|
316
|
+
L,
|
|
317
|
+
{
|
|
318
|
+
id: V,
|
|
319
|
+
label: ls.passwordConfirm,
|
|
320
|
+
required: !0,
|
|
321
|
+
error: v("passwordConfirm"),
|
|
322
|
+
announceError: !d.lists("passwordConfirm"),
|
|
323
|
+
"data-field": "passwordConfirm",
|
|
324
|
+
children: /* @__PURE__ */ r(
|
|
325
|
+
us,
|
|
326
|
+
{
|
|
327
|
+
ref: Q.passwordConfirm,
|
|
328
|
+
name: ts("passwordConfirm"),
|
|
329
|
+
autoComplete: "new-password",
|
|
330
|
+
value: t.passwordConfirm,
|
|
331
|
+
onChange: (s) => $("passwordConfirm", s.target.value),
|
|
332
|
+
onBlur: () => {
|
|
333
|
+
G("passwordConfirm"), A.confirmProps.onBlur();
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
)
|
|
337
|
+
}
|
|
338
|
+
),
|
|
339
|
+
/* @__PURE__ */ r(Js, { fields: Ds }),
|
|
340
|
+
/* @__PURE__ */ r(
|
|
341
|
+
D,
|
|
342
|
+
{
|
|
343
|
+
type: "submit",
|
|
344
|
+
intent: "primary",
|
|
345
|
+
size: "lg",
|
|
346
|
+
loading: q,
|
|
347
|
+
className: "ds:w-full",
|
|
348
|
+
"data-action": "submit",
|
|
349
|
+
children: bs ?? o("resetPasswordForm.submit")
|
|
350
|
+
}
|
|
351
|
+
)
|
|
352
|
+
]
|
|
353
|
+
}
|
|
354
|
+
),
|
|
355
|
+
/* @__PURE__ */ r(Ks, { busy: q })
|
|
356
|
+
] })
|
|
357
|
+
] }) })
|
|
358
|
+
}
|
|
359
|
+
);
|
|
360
|
+
}
|
|
361
|
+
);
|
|
362
|
+
nr.displayName = "ResetPasswordForm";
|
|
363
|
+
export {
|
|
364
|
+
b as R,
|
|
365
|
+
nr as a
|
|
366
|
+
};
|
|
367
|
+
//# sourceMappingURL=reset-password-form-Cf9QPEJu.js.map
|
|
@@ -9,7 +9,7 @@ import { B as he } from "./button-DohK_Ak_.js";
|
|
|
9
9
|
import { C as B } from "./card-BA4Ig_kn.js";
|
|
10
10
|
import { D as Ze } from "./date-picker-CdhXlgVI.js";
|
|
11
11
|
import { E as Ve } from "./error-summary-mGxIyDAY.js";
|
|
12
|
-
import { F } from "./form-field-
|
|
12
|
+
import { F } from "./form-field-CyHfOVKF.js";
|
|
13
13
|
import { P as ue } from "./phone-input-C3NrD-nl.js";
|
|
14
14
|
import { a as en, i as nn } from "./safe-href-5dbsfbQn.js";
|
|
15
15
|
import { u as ge } from "./use-state-backed-input-DhRQo6gM.js";
|
|
@@ -406,4 +406,4 @@ export {
|
|
|
406
406
|
q as S,
|
|
407
407
|
fn as a
|
|
408
408
|
};
|
|
409
|
-
//# sourceMappingURL=send-registration-link-form-
|
|
409
|
+
//# sourceMappingURL=send-registration-link-form-vTn1HxjA.js.map
|
|
@@ -8,7 +8,7 @@ import { I as We } from "./icon-button-S8_weU3g.js";
|
|
|
8
8
|
import { C as Qe } from "./combobox-vF9O-QoG.js";
|
|
9
9
|
import { D as ce } from "./dialog-C7RWaH08.js";
|
|
10
10
|
import { D as Bt } from "./date-picker-CdhXlgVI.js";
|
|
11
|
-
import { F as H } from "./form-field-
|
|
11
|
+
import { F as H } from "./form-field-CyHfOVKF.js";
|
|
12
12
|
import { I as Ft } from "./icon-button-group-CRKFR48b.js";
|
|
13
13
|
import { P as Pt } from "./panel-header-CbtlTe85.js";
|
|
14
14
|
import { P as Ot } from "./panel-subview-DCyvn-49.js";
|
|
@@ -1239,4 +1239,4 @@ export {
|
|
|
1239
1239
|
vn as T,
|
|
1240
1240
|
ln as t
|
|
1241
1241
|
};
|
|
1242
|
-
//# sourceMappingURL=task-editor-
|
|
1242
|
+
//# sourceMappingURL=task-editor-Cpw-NmND.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as H, useState as h, useMemo as $, useEffect as j, useRef as
|
|
|
3
3
|
import { c as z } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as M } from "react-i18next";
|
|
5
5
|
import { u as Y } from "./registry-DvAUVLHh.js";
|
|
6
|
-
import { F as C } from "./form-field-
|
|
6
|
+
import { F as C } from "./form-field-CyHfOVKF.js";
|
|
7
7
|
import { N as B } from "./number-input-CVwI1ltI.js";
|
|
8
8
|
import { S } from "./select-4S-eYZUf.js";
|
|
9
9
|
import { I as D } from "./insert-result-CDMMt7q8.js";
|
|
@@ -334,4 +334,4 @@ export {
|
|
|
334
334
|
ee as b,
|
|
335
335
|
Q as c
|
|
336
336
|
};
|
|
337
|
-
//# sourceMappingURL=unit-converter-
|
|
337
|
+
//# sourceMappingURL=unit-converter-BH5ueIhT.js.map
|
|
@@ -10,7 +10,7 @@ import { B as pn } from "./badge-BUk4RjTS.js";
|
|
|
10
10
|
import { B as qe } from "./button-DohK_Ak_.js";
|
|
11
11
|
import { I as mn } from "./icon-button-S8_weU3g.js";
|
|
12
12
|
import { C as gn, b as vn, a as hn } from "./collapsible-DVPM46bq.js";
|
|
13
|
-
import { F as yn } from "./form-field-
|
|
13
|
+
import { F as yn } from "./form-field-CyHfOVKF.js";
|
|
14
14
|
import { K as bn } from "./kbd-Bx7eQv9f.js";
|
|
15
15
|
import { L as pe } from "./list-CNnn7DOD.js";
|
|
16
16
|
import { L as xn } from "./live-region-C41SO3cA.js";
|
|
@@ -1145,4 +1145,4 @@ export {
|
|
|
1145
1145
|
no as V,
|
|
1146
1146
|
Gn as v
|
|
1147
1147
|
};
|
|
1148
|
-
//# sourceMappingURL=voice-control-panel-
|
|
1148
|
+
//# sourceMappingURL=voice-control-panel-BziKE-KK.js.map
|