docthub-core-components 3.2.9 → 3.3.2

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 (23) hide show
  1. package/dist/components/overrides/ui/account-conflict-prompt/account-conflict-prompt.js +265 -0
  2. package/dist/components/overrides/ui/account-conflict-prompt/presets.js +50 -0
  3. package/dist/components/overrides/ui/account-conflict-prompt/types.js +5 -0
  4. package/dist/components/overrides/ui/mobile-number-dialog/mobile-number-dialog.js +268 -0
  5. package/dist/components/overrides/ui/mobile-number-dialog/presets.js +66 -0
  6. package/dist/components/overrides/ui/mobile-number-dialog/types.js +6 -0
  7. package/dist/components/overrides/ui/pickers/date-picker-field.js +2 -2
  8. package/dist/components/overrides/ui/pickers/date-range-picker-field.js +2 -2
  9. package/dist/components/ui/cookie-dialog.js +38 -32
  10. package/dist/components/ui/dialog.js +148 -145
  11. package/dist/index.js +210 -171
  12. package/dist/src/components/overrides/ui/account-conflict-prompt/account-conflict-prompt.d.ts +2 -0
  13. package/dist/src/components/overrides/ui/account-conflict-prompt/index.d.ts +3 -0
  14. package/dist/src/components/overrides/ui/account-conflict-prompt/presets.d.ts +22 -0
  15. package/dist/src/components/overrides/ui/account-conflict-prompt/types.d.ts +42 -0
  16. package/dist/src/components/overrides/ui/mobile-number-dialog/index.d.ts +3 -0
  17. package/dist/src/components/overrides/ui/mobile-number-dialog/mobile-number-dialog.d.ts +5 -0
  18. package/dist/src/components/overrides/ui/mobile-number-dialog/presets.d.ts +57 -0
  19. package/dist/src/components/overrides/ui/mobile-number-dialog/types.d.ts +52 -0
  20. package/dist/src/index.d.ts +1 -0
  21. package/dist/src/mobile-number-dialog.d.ts +1 -0
  22. package/dist/style.css +1 -1
  23. package/package.json +1 -1
@@ -0,0 +1,265 @@
1
+ "use client";
2
+ import { jsx as s, jsxs as v, Fragment as te } from "react/jsx-runtime";
3
+ import { c as b } from "react-compiler-runtime";
4
+ import { Smartphone as le, X as ie } from "lucide-react";
5
+ import * as se from "react";
6
+ import { DoctButton as H } from "../../../ui/button.js";
7
+ import { DialogHeader as oe, DialogTitle as ne, DialogContent as re, Dialog as ae } from "../../../ui/dialog.js";
8
+ import { DrawerHeader as ce, DrawerTitle as de, DrawerContent as fe, Drawer as me } from "../../../ui/drawer.js";
9
+ import { Input as ue } from "../../../ui/input.js";
10
+ import { DoctTypography as E } from "../../../ui/typography.js";
11
+ import { useIsMobile as he } from "../../../../hooks/use-mobile.js";
12
+ import { cn as Z } from "../../../../lib/utils.js";
13
+ import { buildPhoneDisplay as pe, ACCOUNT_CONFLICT_PROMPT_DEFAULT_COUNTRY_CODE as be, ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER as Ce, ACCOUNT_CONFLICT_PROMPT_BODY_TITLE as ge, ACCOUNT_CONFLICT_PROMPT_HEADER_TITLE as xe, ACCOUNT_CONFLICT_PROMPT_DEFAULT_INFO_MESSAGE as ee, ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL as Ne, buildLoginWithPhoneLabel as _e, ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT as ve, isPrimaryDisabled as Te, ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL as we } from "./presets.js";
14
+ import { ACCOUNT_CONFLICT_PROMPT_DRAWER_BACKDROP_CLASS as J } from "./types.js";
15
+ const ye = "[&>div:first-child]:pointer-events-none [&>div:first-child]:sr-only [&>div:first-child]:m-0 [&>div:first-child]:h-0 [&>div:first-child]:w-0 [&>div:first-child]:overflow-hidden", Ae = "flex w-full flex-col overflow-hidden border border-black/[0.12] bg-white";
16
+ function Pe(r) {
17
+ const e = b(3), {
18
+ onClose: i
19
+ } = r;
20
+ let t;
21
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ s(ie, { className: "size-6", "aria-hidden": !0 }), e[0] = t) : t = e[0];
22
+ let l;
23
+ return e[1] !== i ? (l = /* @__PURE__ */ s(H, { type: "button", variant: "ghost", onClick: i, className: "flex size-12 shrink-0 items-center justify-center rounded-full p-0 text-black/70", "aria-label": "Close", icon: t }), e[1] = i, e[2] = l) : l = e[2], l;
24
+ }
25
+ function Oe(r) {
26
+ const e = b(7), {
27
+ title: i,
28
+ onClose: t
29
+ } = r;
30
+ let l;
31
+ e[0] !== i ? (l = /* @__PURE__ */ s("div", { className: "flex min-h-12 min-w-0 flex-1 items-center py-[18px]", children: /* @__PURE__ */ s(E, { as: "p", variant: "textLabel1", weight: "semiBold", align: "left", className: "min-w-0 !text-black/80", children: i }) }), e[0] = i, e[1] = l) : l = e[1];
32
+ let n;
33
+ e[2] !== t ? (n = /* @__PURE__ */ s(Pe, { onClose: t }), e[2] = t, e[3] = n) : n = e[3];
34
+ let o;
35
+ return e[4] !== l || e[5] !== n ? (o = /* @__PURE__ */ v("div", { className: "flex w-full shrink-0 items-start justify-between overflow-hidden pl-4", children: [
36
+ l,
37
+ n
38
+ ] }), e[4] = l, e[5] = n, e[6] = o) : o = e[6], o;
39
+ }
40
+ function Le(r) {
41
+ const e = b(4), {
42
+ icon: i
43
+ } = r;
44
+ let t;
45
+ e[0] !== i ? (t = i ?? /* @__PURE__ */ s(le, { className: "size-6 text-white", strokeWidth: 1.75, "aria-hidden": !0 }), e[0] = i, e[1] = t) : t = e[1];
46
+ let l;
47
+ return e[2] !== t ? (l = /* @__PURE__ */ s("div", { className: "flex size-12 shrink-0 items-center justify-center rounded-xl bg-[#00A0C0] px-3", children: t }), e[2] = t, e[3] = l) : l = e[3], l;
48
+ }
49
+ function De() {
50
+ const r = b(1);
51
+ let e;
52
+ return r[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s(E, { as: "p", variant: "textLabel3", weight: "medium", align: "left", className: "w-full !text-[#4389FF]", children: ee }), r[0] = e) : e = r[0], e;
53
+ }
54
+ function Me(r) {
55
+ const e = b(3), {
56
+ message: i,
57
+ isDefaultMessage: t
58
+ } = r;
59
+ let l;
60
+ return e[0] !== t || e[1] !== i ? (l = /* @__PURE__ */ s("div", { className: "w-full self-stretch rounded-xl bg-[rgba(67,137,255,0.12)] p-[14px]", children: t ? /* @__PURE__ */ s(De, {}) : /* @__PURE__ */ s(E, { as: "p", variant: "textLabel3", weight: "medium", align: "left", className: "w-full !text-[#4389FF]", children: i }) }), e[0] = t, e[1] = i, e[2] = l) : l = e[2], l;
61
+ }
62
+ function Q(r) {
63
+ const e = b(12), {
64
+ countryCode: i,
65
+ placeholder: t,
66
+ value: l,
67
+ onChange: n
68
+ } = r;
69
+ let o;
70
+ e[0] !== i ? (o = /* @__PURE__ */ s(E, { as: "span", variant: "body2", weight: "regular", className: "w-[42px] shrink-0 !text-center !text-black", children: i }), e[0] = i, e[1] = o) : o = e[1];
71
+ let m;
72
+ e[2] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ s("div", { "aria-hidden": !0, className: "h-[42px] w-px shrink-0 bg-black/10" }), e[2] = m) : m = e[2];
73
+ let c;
74
+ e[3] !== n ? (c = (u) => n == null ? void 0 : n(u.target.value), e[3] = n, e[4] = c) : c = e[4];
75
+ let a;
76
+ e[5] !== t || e[6] !== c || e[7] !== l ? (a = /* @__PURE__ */ s(ue, { type: "tel", inputMode: "numeric", placeholder: t, value: l, onChange: c, className: "h-[42px] min-h-[42px] flex-1 rounded-none border-0 bg-transparent px-0 text-left text-sm leading-5 text-black shadow-none placeholder:text-black/40 focus-visible:ring-0 md:text-sm", "aria-label": "Mobile number" }), e[5] = t, e[6] = c, e[7] = l, e[8] = a) : a = e[8];
77
+ let d;
78
+ return e[9] !== o || e[10] !== a ? (d = /* @__PURE__ */ v("div", { className: "flex w-full items-center gap-3 overflow-hidden rounded-lg border border-black/10 bg-white px-3", children: [
79
+ o,
80
+ m,
81
+ a
82
+ ] }), e[9] = o, e[10] = a, e[11] = d) : d = e[11], d;
83
+ }
84
+ function Ee(r) {
85
+ const e = b(2), {
86
+ message: i
87
+ } = r;
88
+ let t;
89
+ return e[0] !== i ? (t = /* @__PURE__ */ s(E, { as: "p", variant: "textLabel4", weight: "medium", align: "left", className: "w-full !text-[#EA4335]", children: i }), e[0] = i, e[1] = t) : t = e[1], t;
90
+ }
91
+ function Fe(r) {
92
+ const e = b(7), {
93
+ phoneDisplay: i
94
+ } = r;
95
+ let t;
96
+ e[0] !== i ? (t = _e(i), e[0] = i, e[1] = t) : t = e[1];
97
+ let l;
98
+ e[2] !== t ? (l = /* @__PURE__ */ s(H, { type: "button", variant: "outline", size: "medium", fullWidth: !0, children: t }), e[2] = t, e[3] = l) : l = e[3];
99
+ let n;
100
+ e[4] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ s(E, { as: "p", variant: "body5", weight: "regular", className: "w-full !text-center !text-black/44", children: ve }), e[4] = n) : n = e[4];
101
+ let o;
102
+ return e[5] !== l ? (o = /* @__PURE__ */ v("div", { className: "flex w-full flex-col items-center gap-1.5 rounded-xl bg-black/[0.04] p-3", children: [
103
+ l,
104
+ n
105
+ ] }), e[5] = l, e[6] = o) : o = e[6], o;
106
+ }
107
+ function Ie(r) {
108
+ const e = b(11), {
109
+ trigger: i,
110
+ state: t
111
+ } = r, l = Ne[i][t];
112
+ let n;
113
+ e[0] !== t ? (n = Te(t), e[0] = t, e[1] = n) : n = e[1];
114
+ const o = n;
115
+ if (i === "system") {
116
+ const d = o ? "disabled" : "primary";
117
+ let u;
118
+ return e[2] !== o || e[3] !== l || e[4] !== d ? (u = /* @__PURE__ */ s(H, { type: "button", size: "medium", fullWidth: !0, variant: d, disabled: o, children: l }), e[2] = o, e[3] = l, e[4] = d, e[5] = u) : u = e[5], u;
119
+ }
120
+ let m;
121
+ e[6] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ s(H, { type: "button", size: "medium", variant: "secondary", className: "shrink-0", children: we }), e[6] = m) : m = e[6];
122
+ const c = o ? "disabled" : "primary";
123
+ let a;
124
+ return e[7] !== o || e[8] !== l || e[9] !== c ? (a = /* @__PURE__ */ v("div", { className: "flex w-full items-start gap-2.5", children: [
125
+ m,
126
+ /* @__PURE__ */ s(H, { type: "button", size: "medium", fullWidth: !0, variant: c, disabled: o, className: "min-w-0 flex-1", children: l })
127
+ ] }), e[7] = o, e[8] = l, e[9] = c, e[10] = a) : a = e[10], a;
128
+ }
129
+ function V(r) {
130
+ const e = b(34), {
131
+ trigger: i,
132
+ state: t,
133
+ headerTitle: l,
134
+ bodyTitle: n,
135
+ infoMessage: o,
136
+ isDefaultInfoMessage: m,
137
+ phoneNumber: c,
138
+ onPhoneNumberChange: a,
139
+ existingAccountErrorMessage: d,
140
+ phoneDisplay: u,
141
+ phonePlaceholder: A,
142
+ countryCode: P,
143
+ icon: O,
144
+ onClose: $,
145
+ className: L,
146
+ surface: D
147
+ } = r, M = t === "existingAccount", C = D === "drawer" ? "h-auto max-w-none rounded-t-[16px]" : "max-w-[320px] rounded-[16px] shadow-[0_8px_24px_rgba(0,0,0,0.12)]";
148
+ let T;
149
+ e[0] !== L || e[1] !== C ? (T = Z(Ae, C, L), e[0] = L, e[1] = C, e[2] = T) : T = e[2];
150
+ const g = T;
151
+ let w;
152
+ e[3] !== l || e[4] !== $ ? (w = /* @__PURE__ */ s(Oe, { title: l, onClose: $ }), e[3] = l, e[4] = $, e[5] = w) : w = e[5];
153
+ let h;
154
+ e[6] !== O ? (h = /* @__PURE__ */ s(Le, { icon: O }), e[6] = O, e[7] = h) : h = e[7];
155
+ let f;
156
+ e[8] !== n ? (f = /* @__PURE__ */ s(E, { as: "h2", variant: "textLabel1", weight: "semiBold", align: "center", className: "shrink-0 whitespace-nowrap !text-black/80", children: n }), e[8] = n, e[9] = f) : f = e[9];
157
+ let x;
158
+ e[10] !== o || e[11] !== m ? (x = /* @__PURE__ */ s(Me, { message: o, isDefaultMessage: m }), e[10] = o, e[11] = m, e[12] = x) : x = e[12];
159
+ let N;
160
+ e[13] !== P || e[14] !== d || e[15] !== M || e[16] !== a || e[17] !== u || e[18] !== c || e[19] !== A ? (N = /* @__PURE__ */ s("div", { className: "flex w-full flex-col items-start gap-4", children: M ? /* @__PURE__ */ v(te, { children: [
161
+ /* @__PURE__ */ v("div", { className: "flex w-full flex-col items-start gap-1.5", children: [
162
+ /* @__PURE__ */ s(Q, { countryCode: P, placeholder: A, value: c, onChange: a }),
163
+ d ? /* @__PURE__ */ s(Ee, { message: d }) : null
164
+ ] }),
165
+ /* @__PURE__ */ s(Fe, { phoneDisplay: u })
166
+ ] }) : /* @__PURE__ */ s(Q, { countryCode: P, placeholder: A, value: c, onChange: a }) }), e[13] = P, e[14] = d, e[15] = M, e[16] = a, e[17] = u, e[18] = c, e[19] = A, e[20] = N) : N = e[20];
167
+ let _;
168
+ e[21] !== h || e[22] !== f || e[23] !== x || e[24] !== N ? (_ = /* @__PURE__ */ v("div", { className: "flex w-full flex-col items-center gap-4 px-4 pb-5 pt-4", children: [
169
+ h,
170
+ f,
171
+ x,
172
+ N
173
+ ] }), e[21] = h, e[22] = f, e[23] = x, e[24] = N, e[25] = _) : _ = e[25];
174
+ let p;
175
+ e[26] !== t || e[27] !== i ? (p = /* @__PURE__ */ s("div", { className: "flex w-full flex-col items-start border-t border-black/10 bg-[#FAFAFA] p-4", children: /* @__PURE__ */ s(Ie, { trigger: i, state: t }) }), e[26] = t, e[27] = i, e[28] = p) : p = e[28];
176
+ let y;
177
+ return e[29] !== g || e[30] !== w || e[31] !== _ || e[32] !== p ? (y = /* @__PURE__ */ v("div", { className: g, children: [
178
+ w,
179
+ _,
180
+ p
181
+ ] }), e[29] = g, e[30] = w, e[31] = _, e[32] = p, e[33] = y) : y = e[33], y;
182
+ }
183
+ function Xe(r) {
184
+ const e = b(48), {
185
+ open: i,
186
+ onOpenChange: t,
187
+ trigger: l,
188
+ state: n,
189
+ headerTitle: o,
190
+ bodyTitle: m,
191
+ infoMessage: c,
192
+ phoneNumber: a,
193
+ onPhoneNumberChange: d,
194
+ existingAccountErrorMessage: u,
195
+ phonePlaceholder: A,
196
+ countryCode: P,
197
+ icon: O,
198
+ isMobileOverride: $,
199
+ className: L
200
+ } = r, D = l === void 0 ? "system" : l, M = n === void 0 ? "addNumber" : n, C = a === void 0 ? "" : a, T = A === void 0 ? Ce : A, g = P === void 0 ? be : P, w = he(), h = $ ?? w, f = o ?? xe[D], x = m ?? ge[D], N = c ?? ee, _ = c == null;
201
+ let p;
202
+ e[0] !== g || e[1] !== C ? (p = pe(g, C), e[0] = g, e[1] = C, e[2] = p) : p = e[2];
203
+ const y = p;
204
+ let z;
205
+ e[3] !== t ? (z = () => {
206
+ t(!1);
207
+ }, e[3] = t, e[4] = z) : z = e[4];
208
+ const q = z;
209
+ let W, j;
210
+ e[5] !== h || e[6] !== i ? (W = () => {
211
+ if (h)
212
+ return i ? document.body.classList.add(J) : document.body.classList.remove(J), ke;
213
+ }, j = [h, i], e[5] = h, e[6] = i, e[7] = W, e[8] = j) : (W = e[7], j = e[8]), se.useEffect(W, j);
214
+ let Y;
215
+ e[9] !== L || e[10] !== g || e[11] !== u || e[12] !== q || e[13] !== O || e[14] !== _ || e[15] !== d || e[16] !== C || e[17] !== T || e[18] !== x || e[19] !== f || e[20] !== N || e[21] !== y || e[22] !== M || e[23] !== D ? (Y = {
216
+ trigger: D,
217
+ state: M,
218
+ headerTitle: f,
219
+ bodyTitle: x,
220
+ infoMessage: N,
221
+ isDefaultInfoMessage: _,
222
+ phoneNumber: C,
223
+ onPhoneNumberChange: d,
224
+ existingAccountErrorMessage: u,
225
+ phoneDisplay: y,
226
+ phonePlaceholder: T,
227
+ countryCode: g,
228
+ icon: O,
229
+ onClose: q,
230
+ className: L
231
+ }, e[9] = L, e[10] = g, e[11] = u, e[12] = q, e[13] = O, e[14] = _, e[15] = d, e[16] = C, e[17] = T, e[18] = x, e[19] = f, e[20] = N, e[21] = y, e[22] = M, e[23] = D, e[24] = Y) : Y = e[24];
232
+ const F = Y;
233
+ if (h) {
234
+ let K;
235
+ e[25] === Symbol.for("react.memo_cache_sentinel") ? (K = Z(ye, "flex h-auto max-h-[90vh] w-full flex-col overflow-hidden rounded-t-[16px] border-0 p-0"), e[25] = K) : K = e[25];
236
+ let S;
237
+ e[26] !== f ? (S = /* @__PURE__ */ s(ce, { className: "sr-only", children: /* @__PURE__ */ s(de, { children: f }) }), e[26] = f, e[27] = S) : S = e[27];
238
+ let U;
239
+ e[28] !== F ? (U = /* @__PURE__ */ s(V, { ...F, surface: "drawer" }), e[28] = F, e[29] = U) : U = e[29];
240
+ let B;
241
+ e[30] !== S || e[31] !== U ? (B = /* @__PURE__ */ v(fe, { "aria-describedby": void 0, className: K, "data-account-conflict-prompt-drawer-content": !0, children: [
242
+ S,
243
+ U
244
+ ] }), e[30] = S, e[31] = U, e[32] = B) : B = e[32];
245
+ let X;
246
+ return e[33] !== t || e[34] !== i || e[35] !== B ? (X = /* @__PURE__ */ s(me, { dismissible: !0, open: i, onOpenChange: t, children: B }), e[33] = t, e[34] = i, e[35] = B, e[36] = X) : X = e[36], X;
247
+ }
248
+ let I;
249
+ e[37] !== f ? (I = /* @__PURE__ */ s(oe, { className: "sr-only", children: /* @__PURE__ */ s(ne, { children: f }) }), e[37] = f, e[38] = I) : I = e[38];
250
+ let k;
251
+ e[39] !== F ? (k = /* @__PURE__ */ s(V, { ...F, surface: "dialog" }), e[39] = F, e[40] = k) : k = e[40];
252
+ let R;
253
+ e[41] !== I || e[42] !== k ? (R = /* @__PURE__ */ v(re, { "aria-describedby": void 0, className: "max-w-[320px] overflow-visible rounded-[16px] border-0 bg-transparent p-0 shadow-none", closeOnOutsideClick: !0, showCloseButton: !1, size: "sm", children: [
254
+ I,
255
+ k
256
+ ] }), e[41] = I, e[42] = k, e[43] = R) : R = e[43];
257
+ let G;
258
+ return e[44] !== t || e[45] !== i || e[46] !== R ? (G = /* @__PURE__ */ s(ae, { open: i, onOpenChange: t, modal: !0, children: R }), e[44] = t, e[45] = i, e[46] = R, e[47] = G) : G = e[47], G;
259
+ }
260
+ function ke() {
261
+ return document.body.classList.remove(J);
262
+ }
263
+ export {
264
+ Xe as DoctAccountConflictPrompt
265
+ };
@@ -0,0 +1,50 @@
1
+ "use client";
2
+ const o = "+91", C = "Enter number", T = "9825910X0X", O = "+91 9825910X0X", i = "user******@gmail.com", r = "Your mobile number required to complete certain actions as well as it's associated with security of your Docthub account.", s = {
3
+ system: "To continue..",
4
+ action: "Add mobile number"
5
+ }, c = {
6
+ system: "Add your mobile number",
7
+ action: "Keep your account secure"
8
+ }, u = "your accounts will be unified on login";
9
+ function _(n) {
10
+ return `This phone is already registered with “${n}”. Please use different phone number or login with this mobile number`;
11
+ }
12
+ const N = _(i);
13
+ function A(n) {
14
+ return n ? `Login with ‘${n}’` : "Login";
15
+ }
16
+ function L(n, e) {
17
+ const t = e.trim();
18
+ return t ? t.startsWith(n) ? t : `${n} ${t}` : n;
19
+ }
20
+ const P = {
21
+ system: {
22
+ addNumber: "Continue",
23
+ existingAccount: "Continue"
24
+ },
25
+ action: {
26
+ addNumber: "Save",
27
+ existingAccount: "Save"
28
+ }
29
+ }, E = "Add later";
30
+ function a(n) {
31
+ return n === "existingAccount";
32
+ }
33
+ export {
34
+ c as ACCOUNT_CONFLICT_PROMPT_BODY_TITLE,
35
+ o as ACCOUNT_CONFLICT_PROMPT_DEFAULT_COUNTRY_CODE,
36
+ N as ACCOUNT_CONFLICT_PROMPT_DEFAULT_EXISTING_ACCOUNT_ERROR,
37
+ r as ACCOUNT_CONFLICT_PROMPT_DEFAULT_INFO_MESSAGE,
38
+ i as ACCOUNT_CONFLICT_PROMPT_DEFAULT_MASKED_EMAIL,
39
+ O as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_DISPLAY,
40
+ T as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER,
41
+ C as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER,
42
+ s as ACCOUNT_CONFLICT_PROMPT_HEADER_TITLE,
43
+ u as ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT,
44
+ P as ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL,
45
+ E as ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL,
46
+ _ as buildExistingAccountError,
47
+ A as buildLoginWithPhoneLabel,
48
+ L as buildPhoneDisplay,
49
+ a as isPrimaryDisabled
50
+ };
@@ -0,0 +1,5 @@
1
+ "use client";
2
+ const C = "login-drawer-backdrop";
3
+ export {
4
+ C as ACCOUNT_CONFLICT_PROMPT_DRAWER_BACKDROP_CLASS
5
+ };
@@ -0,0 +1,268 @@
1
+ "use client";
2
+ import { jsx as o, jsxs as E, Fragment as de } from "react/jsx-runtime";
3
+ import { c as D } from "react-compiler-runtime";
4
+ import { Smartphone as fe, X as ue } from "lucide-react";
5
+ import * as ie from "react";
6
+ import { DoctButton as z } from "../../../ui/button.js";
7
+ import { DialogHeader as me, DialogTitle as he, DialogContent as be, Dialog as pe } from "../../../ui/dialog.js";
8
+ import { DrawerHeader as ge, DrawerTitle as Ne, DrawerContent as ve, Drawer as _e } from "../../../ui/drawer.js";
9
+ import { DoctTypography as H } from "../../../ui/typography.js";
10
+ import { useIsMobile as xe } from "../../../../hooks/use-mobile.js";
11
+ import { cn as se } from "../../../../lib/utils.js";
12
+ import { DoctPhoneInput as De } from "../inputs/phone-input.js";
13
+ import { MOBILE_NUMBER_DIALOG_DEFAULT_COUNTRY_CODE as Me, buildMobileNumberDisplay as ye, MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_PLACEHOLDER as Le, MOBILE_NUMBER_DIALOG_BODY_TITLE as Ce, MOBILE_NUMBER_DIALOG_HEADER_TITLE as Ee, MOBILE_NUMBER_DIALOG_DEFAULT_INFO_MESSAGE as ae, MOBILE_NUMBER_DIALOG_PRIMARY_LABEL as we, buildLoginWithMobileNumberLabel as Ae, MOBILE_NUMBER_DIALOG_LOGIN_UNIFY_HINT as Ie, isMobileNumberDialogPrimaryDisabled as Oe, MOBILE_NUMBER_DIALOG_SECONDARY_LABEL as Be } from "./presets.js";
14
+ import { MOBILE_NUMBER_DIALOG_DRAWER_BACKDROP_CLASS as oe } from "./types.js";
15
+ const Re = "[&>div:first-child]:pointer-events-none [&>div:first-child]:sr-only [&>div:first-child]:m-0 [&>div:first-child]:h-0 [&>div:first-child]:w-0 [&>div:first-child]:overflow-hidden", Te = "flex w-full flex-col overflow-hidden border border-black/[0.12] bg-white";
16
+ function ke(r) {
17
+ const e = D(3), {
18
+ onClose: i
19
+ } = r;
20
+ let t;
21
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ o(ue, { className: "size-6", "aria-hidden": !0 }), e[0] = t) : t = e[0];
22
+ let l;
23
+ return e[1] !== i ? (l = /* @__PURE__ */ o(z, { type: "button", variant: "ghost", onClick: i, className: "flex size-12 shrink-0 items-center justify-center rounded-full p-0 text-black/70", "aria-label": "Close", icon: t }), e[1] = i, e[2] = l) : l = e[2], l;
24
+ }
25
+ function Se(r) {
26
+ const e = D(7), {
27
+ title: i,
28
+ onClose: t
29
+ } = r;
30
+ let l;
31
+ e[0] !== i ? (l = /* @__PURE__ */ o("div", { className: "flex min-h-12 min-w-0 flex-1 items-center py-[18px]", children: /* @__PURE__ */ o(H, { as: "p", variant: "textLabel1", weight: "semiBold", align: "left", className: "min-w-0 !text-black/80", children: i }) }), e[0] = i, e[1] = l) : l = e[1];
32
+ let n;
33
+ e[2] !== t ? (n = /* @__PURE__ */ o(ke, { onClose: t }), e[2] = t, e[3] = n) : n = e[3];
34
+ let s;
35
+ return e[4] !== l || e[5] !== n ? (s = /* @__PURE__ */ E("div", { className: "flex w-full shrink-0 items-start justify-between overflow-hidden pl-4", children: [
36
+ l,
37
+ n
38
+ ] }), e[4] = l, e[5] = n, e[6] = s) : s = e[6], s;
39
+ }
40
+ function Pe(r) {
41
+ const e = D(4), {
42
+ icon: i
43
+ } = r;
44
+ let t;
45
+ e[0] !== i ? (t = i ?? /* @__PURE__ */ o(fe, { className: "size-6 text-white", strokeWidth: 1.75, "aria-hidden": !0 }), e[0] = i, e[1] = t) : t = e[1];
46
+ let l;
47
+ return e[2] !== t ? (l = /* @__PURE__ */ o("div", { className: "flex size-12 shrink-0 items-center justify-center rounded-xl bg-[#00A0C0] px-3", children: t }), e[2] = t, e[3] = l) : l = e[3], l;
48
+ }
49
+ function Fe() {
50
+ const r = D(1);
51
+ let e;
52
+ return r[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ o(H, { as: "p", variant: "textLabel3", weight: "medium", align: "left", className: "w-full !text-[#4389FF]", children: ae }), r[0] = e) : e = r[0], e;
53
+ }
54
+ function Ue(r) {
55
+ const e = D(3), {
56
+ message: i,
57
+ isDefaultMessage: t
58
+ } = r;
59
+ let l;
60
+ return e[0] !== t || e[1] !== i ? (l = /* @__PURE__ */ o("div", { className: "w-full self-stretch rounded-xl bg-[rgba(67,137,255,0.12)] p-[14px]", children: t ? /* @__PURE__ */ o(Fe, {}) : /* @__PURE__ */ o(H, { as: "p", variant: "textLabel3", weight: "medium", align: "left", className: "w-full !text-[#4389FF]", children: i }) }), e[0] = t, e[1] = i, e[2] = l) : l = e[2], l;
61
+ }
62
+ function ne(r) {
63
+ const e = D(14), {
64
+ countryCode: i,
65
+ placeholder: t,
66
+ value: l,
67
+ onChange: n,
68
+ onCountryCodeChange: s,
69
+ error: m
70
+ } = r;
71
+ let d;
72
+ e[0] !== i ? (d = i.replace(/\D/g, "") || void 0, e[0] = i, e[1] = d) : d = e[1];
73
+ const f = d;
74
+ let a;
75
+ e[2] !== s ? (a = (M) => s == null ? void 0 : s(`+${M}`), e[2] = s, e[3] = a) : a = e[3];
76
+ const c = !m && "[&>div>button]:border-black/10 [&>div>input]:border-black/10";
77
+ let h;
78
+ e[4] !== c ? (h = se("w-full space-y-1 [&>div>button]:h-[44px] [&>div>button]:rounded-l-lg [&>div>input]:h-[44px] [&>div>input]:rounded-r-lg [&>div>input]:shadow-none [&>div>input]:placeholder:text-black/40 [&>div>input]:focus-visible:ring-0", c), e[4] = c, e[5] = h) : h = e[5];
79
+ let p;
80
+ return e[6] !== m || e[7] !== f || e[8] !== n || e[9] !== t || e[10] !== a || e[11] !== h || e[12] !== l ? (p = /* @__PURE__ */ o(De, { countryCode: f, placeholder: t, value: l, onPhoneChange: n, onCountryCodeChange: a, error: m, "aria-label": "Mobile number", className: h }), e[6] = m, e[7] = f, e[8] = n, e[9] = t, e[10] = a, e[11] = h, e[12] = l, e[13] = p) : p = e[13], p;
81
+ }
82
+ function Ge(r) {
83
+ const e = D(7), {
84
+ phoneDisplay: i
85
+ } = r;
86
+ let t;
87
+ e[0] !== i ? (t = Ae(i), e[0] = i, e[1] = t) : t = e[1];
88
+ let l;
89
+ e[2] !== t ? (l = /* @__PURE__ */ o(z, { type: "button", variant: "outline", size: "medium", fullWidth: !0, children: t }), e[2] = t, e[3] = l) : l = e[3];
90
+ let n;
91
+ e[4] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ o(H, { as: "p", variant: "body5", weight: "regular", className: "w-full !text-center !text-black/44", children: Ie }), e[4] = n) : n = e[4];
92
+ let s;
93
+ return e[5] !== l ? (s = /* @__PURE__ */ E("div", { className: "flex w-full flex-col items-center gap-1.5 rounded-xl bg-black/[0.04] p-3", children: [
94
+ l,
95
+ n
96
+ ] }), e[5] = l, e[6] = s) : s = e[6], s;
97
+ }
98
+ function $e(r) {
99
+ const e = D(11), {
100
+ trigger: i,
101
+ state: t
102
+ } = r, l = we[i][t];
103
+ let n;
104
+ e[0] !== t ? (n = Oe(t), e[0] = t, e[1] = n) : n = e[1];
105
+ const s = n;
106
+ if (i === "action") {
107
+ const a = s ? "disabled" : "primary";
108
+ let c;
109
+ return e[2] !== s || e[3] !== l || e[4] !== a ? (c = /* @__PURE__ */ o(z, { type: "button", size: "medium", fullWidth: !0, variant: a, disabled: s, children: l }), e[2] = s, e[3] = l, e[4] = a, e[5] = c) : c = e[5], c;
110
+ }
111
+ let m;
112
+ e[6] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ o(z, { type: "button", size: "medium", variant: "secondary", className: "shrink-0", children: Be }), e[6] = m) : m = e[6];
113
+ const d = s ? "disabled" : "primary";
114
+ let f;
115
+ return e[7] !== s || e[8] !== l || e[9] !== d ? (f = /* @__PURE__ */ E("div", { className: "flex w-full items-start gap-2.5", children: [
116
+ m,
117
+ /* @__PURE__ */ o(z, { type: "button", size: "medium", fullWidth: !0, variant: d, disabled: s, className: "min-w-0 flex-1", children: l })
118
+ ] }), e[7] = s, e[8] = l, e[9] = d, e[10] = f) : f = e[10], f;
119
+ }
120
+ function re(r) {
121
+ const e = D(35), {
122
+ trigger: i,
123
+ state: t,
124
+ headerTitle: l,
125
+ bodyTitle: n,
126
+ infoMessage: s,
127
+ isDefaultInfoMessage: m,
128
+ phoneNumber: d,
129
+ onPhoneNumberChange: f,
130
+ existingAccountErrorMessage: a,
131
+ phoneDisplay: c,
132
+ phonePlaceholder: h,
133
+ countryCode: p,
134
+ onCountryCodeChange: M,
135
+ icon: w,
136
+ onClose: $,
137
+ className: A,
138
+ surface: I
139
+ } = r, O = t === "existingAccount", N = I === "drawer" ? "h-auto max-w-none rounded-t-[16px]" : "max-w-[320px] rounded-[16px] shadow-[0_8px_24px_rgba(0,0,0,0.12)]";
140
+ let L;
141
+ e[0] !== A || e[1] !== N ? (L = se(Te, N, A), e[0] = A, e[1] = N, e[2] = L) : L = e[2];
142
+ const y = L;
143
+ let C;
144
+ e[3] !== l || e[4] !== $ ? (C = /* @__PURE__ */ o(Se, { title: l, onClose: $ }), e[3] = l, e[4] = $, e[5] = C) : C = e[5];
145
+ let g;
146
+ e[6] !== w ? (g = /* @__PURE__ */ o(Pe, { icon: w }), e[6] = w, e[7] = g) : g = e[7];
147
+ let u;
148
+ e[8] !== n ? (u = /* @__PURE__ */ o(H, { as: "h2", variant: "textLabel1", weight: "semiBold", align: "center", className: "shrink-0 whitespace-nowrap !text-black/80", children: n }), e[8] = n, e[9] = u) : u = e[9];
149
+ let v;
150
+ e[10] !== s || e[11] !== m ? (v = /* @__PURE__ */ o(Ue, { message: s, isDefaultMessage: m }), e[10] = s, e[11] = m, e[12] = v) : v = e[12];
151
+ let _;
152
+ e[13] !== p || e[14] !== a || e[15] !== O || e[16] !== M || e[17] !== f || e[18] !== c || e[19] !== d || e[20] !== h ? (_ = /* @__PURE__ */ o("div", { className: "flex w-full flex-col items-start gap-4", children: O ? /* @__PURE__ */ E(de, { children: [
153
+ /* @__PURE__ */ o("div", { className: "flex w-full flex-col items-start gap-1.5", children: /* @__PURE__ */ o(ne, { countryCode: p, placeholder: h, value: d, onChange: f, onCountryCodeChange: M, error: a }) }),
154
+ /* @__PURE__ */ o(Ge, { phoneDisplay: c })
155
+ ] }) : /* @__PURE__ */ o(ne, { countryCode: p, placeholder: h, value: d, onChange: f, onCountryCodeChange: M }) }), e[13] = p, e[14] = a, e[15] = O, e[16] = M, e[17] = f, e[18] = c, e[19] = d, e[20] = h, e[21] = _) : _ = e[21];
156
+ let x;
157
+ e[22] !== g || e[23] !== u || e[24] !== v || e[25] !== _ ? (x = /* @__PURE__ */ E("div", { className: "flex w-full flex-col items-center gap-4 px-4 pb-5 pt-4", children: [
158
+ g,
159
+ u,
160
+ v,
161
+ _
162
+ ] }), e[22] = g, e[23] = u, e[24] = v, e[25] = _, e[26] = x) : x = e[26];
163
+ let b;
164
+ e[27] !== t || e[28] !== i ? (b = /* @__PURE__ */ o("div", { className: "flex w-full flex-col items-start border-t border-black/10 bg-[#FAFAFA] p-4", children: /* @__PURE__ */ o($e, { trigger: i, state: t }) }), e[27] = t, e[28] = i, e[29] = b) : b = e[29];
165
+ let B;
166
+ return e[30] !== y || e[31] !== C || e[32] !== x || e[33] !== b ? (B = /* @__PURE__ */ E("div", { className: y, children: [
167
+ C,
168
+ x,
169
+ b
170
+ ] }), e[30] = y, e[31] = C, e[32] = x, e[33] = b, e[34] = B) : B = e[34], B;
171
+ }
172
+ function ce(r) {
173
+ const e = D(54), {
174
+ open: i,
175
+ onOpenChange: t,
176
+ trigger: l,
177
+ state: n,
178
+ headerTitle: s,
179
+ bodyTitle: m,
180
+ infoMessage: d,
181
+ phoneNumber: f,
182
+ onPhoneNumberChange: a,
183
+ onCountryCodeChange: c,
184
+ existingAccountErrorMessage: h,
185
+ phonePlaceholder: p,
186
+ countryCode: M,
187
+ icon: w,
188
+ isMobileOverride: $,
189
+ className: A
190
+ } = r, I = l === void 0 ? "action" : l, O = n === void 0 ? "addNumber" : n, N = f === void 0 ? "" : f, L = p === void 0 ? Le : p, y = M === void 0 ? Me : M, C = xe(), g = $ ?? C, u = s ?? Ee[I], v = m ?? Ce[I], _ = d ?? ae, x = d == null, [b, B] = ie.useState(y);
191
+ let W;
192
+ e[0] !== b || e[1] !== N ? (W = ye(b, N), e[0] = b, e[1] = N, e[2] = W) : W = e[2];
193
+ const ee = W;
194
+ let j;
195
+ e[3] !== t ? (j = () => {
196
+ t(!1);
197
+ }, e[3] = t, e[4] = j) : j = e[4];
198
+ const te = j;
199
+ let Y, K;
200
+ e[5] !== y ? (Y = () => {
201
+ B(y);
202
+ }, K = [y], e[5] = y, e[6] = Y, e[7] = K) : (Y = e[6], K = e[7]), ie.useEffect(Y, K);
203
+ let X;
204
+ e[8] !== c ? (X = (R) => {
205
+ B(R), c == null || c(R);
206
+ }, e[8] = c, e[9] = X) : X = e[9];
207
+ const le = X;
208
+ let q, J;
209
+ e[10] !== g || e[11] !== i ? (q = () => {
210
+ if (g)
211
+ return i ? document.body.classList.add(oe) : document.body.classList.remove(oe), ze;
212
+ }, J = [g, i], e[10] = g, e[11] = i, e[12] = q, e[13] = J) : (q = e[12], J = e[13]), ie.useEffect(q, J);
213
+ let Q;
214
+ e[14] !== b || e[15] !== A || e[16] !== h || e[17] !== te || e[18] !== le || e[19] !== w || e[20] !== x || e[21] !== a || e[22] !== N || e[23] !== L || e[24] !== v || e[25] !== u || e[26] !== _ || e[27] !== ee || e[28] !== O || e[29] !== I ? (Q = {
215
+ trigger: I,
216
+ state: O,
217
+ headerTitle: u,
218
+ bodyTitle: v,
219
+ infoMessage: _,
220
+ isDefaultInfoMessage: x,
221
+ phoneNumber: N,
222
+ onPhoneNumberChange: a,
223
+ existingAccountErrorMessage: h,
224
+ phoneDisplay: ee,
225
+ phonePlaceholder: L,
226
+ countryCode: b,
227
+ onCountryCodeChange: le,
228
+ icon: w,
229
+ onClose: te,
230
+ className: A
231
+ }, e[14] = b, e[15] = A, e[16] = h, e[17] = te, e[18] = le, e[19] = w, e[20] = x, e[21] = a, e[22] = N, e[23] = L, e[24] = v, e[25] = u, e[26] = _, e[27] = ee, e[28] = O, e[29] = I, e[30] = Q) : Q = e[30];
232
+ const T = Q;
233
+ if (g) {
234
+ let R;
235
+ e[31] === Symbol.for("react.memo_cache_sentinel") ? (R = se(Re, "flex h-auto max-h-[90vh] w-full flex-col overflow-hidden rounded-t-[16px] border-0 p-0"), e[31] = R) : R = e[31];
236
+ let F;
237
+ e[32] !== u ? (F = /* @__PURE__ */ o(ge, { className: "sr-only", children: /* @__PURE__ */ o(Ne, { children: u }) }), e[32] = u, e[33] = F) : F = e[33];
238
+ let U;
239
+ e[34] !== T ? (U = /* @__PURE__ */ o(re, { ...T, surface: "drawer" }), e[34] = T, e[35] = U) : U = e[35];
240
+ let G;
241
+ e[36] !== F || e[37] !== U ? (G = /* @__PURE__ */ E(ve, { "aria-describedby": void 0, className: R, "data-mobile-number-dialog-drawer-content": !0, children: [
242
+ F,
243
+ U
244
+ ] }), e[36] = F, e[37] = U, e[38] = G) : G = e[38];
245
+ let Z;
246
+ return e[39] !== t || e[40] !== i || e[41] !== G ? (Z = /* @__PURE__ */ o(_e, { dismissible: !0, open: i, onOpenChange: t, children: G }), e[39] = t, e[40] = i, e[41] = G, e[42] = Z) : Z = e[42], Z;
247
+ }
248
+ let k;
249
+ e[43] !== u ? (k = /* @__PURE__ */ o(me, { className: "sr-only", children: /* @__PURE__ */ o(he, { children: u }) }), e[43] = u, e[44] = k) : k = e[44];
250
+ let S;
251
+ e[45] !== T ? (S = /* @__PURE__ */ o(re, { ...T, surface: "dialog" }), e[45] = T, e[46] = S) : S = e[46];
252
+ let P;
253
+ e[47] !== k || e[48] !== S ? (P = /* @__PURE__ */ E(be, { "aria-describedby": void 0, className: "max-w-[320px] overflow-visible rounded-[16px] border-0 bg-transparent p-0 shadow-none", closeOnOutsideClick: !0, showCloseButton: !1, size: "sm", children: [
254
+ k,
255
+ S
256
+ ] }), e[47] = k, e[48] = S, e[49] = P) : P = e[49];
257
+ let V;
258
+ return e[50] !== t || e[51] !== i || e[52] !== P ? (V = /* @__PURE__ */ o(pe, { open: i, onOpenChange: t, modal: !0, children: P }), e[50] = t, e[51] = i, e[52] = P, e[53] = V) : V = e[53], V;
259
+ }
260
+ function ze() {
261
+ return document.body.classList.remove(oe);
262
+ }
263
+ const tt = ce, lt = ce;
264
+ export {
265
+ lt as DoctAccountConflictPrompt,
266
+ tt as DoctMobileNumberDialog,
267
+ ce as MobileNumberDialog
268
+ };
@@ -0,0 +1,66 @@
1
+ "use client";
2
+ const L = "+91", o = "Enter number", i = "9825910X0X", e = "+91 9825910X0X", n = "user******@gmail.com", T = "Your mobile number required to complete certain actions as well as it's associated with security of your Docthub account.", A = {
3
+ action: "To continue..",
4
+ system: "Add mobile number"
5
+ }, N = {
6
+ action: "Add your mobile number",
7
+ system: "Keep your account secure"
8
+ }, s = "your accounts will be unified on login";
9
+ function t(_) {
10
+ return `This phone is already registered with "${_}". Please use different phone number or login with this mobile number`;
11
+ }
12
+ const C = t(n);
13
+ function I(_) {
14
+ return _ ? `Login with '${_}'` : "Login";
15
+ }
16
+ function c(_, E) {
17
+ const O = E.trim();
18
+ return O ? O.startsWith(_) ? O : `${_} ${O}` : _;
19
+ }
20
+ const r = {
21
+ action: {
22
+ addNumber: "Continue",
23
+ existingAccount: "Continue"
24
+ },
25
+ system: {
26
+ addNumber: "Save",
27
+ existingAccount: "Save"
28
+ }
29
+ }, M = "Add later";
30
+ function u(_) {
31
+ return _ === "existingAccount";
32
+ }
33
+ const U = N, D = L, R = C, P = T, B = n, b = e, l = i, F = o, a = A, m = s, d = r, G = M, g = t, S = I, h = c;
34
+ export {
35
+ U as ACCOUNT_CONFLICT_PROMPT_BODY_TITLE,
36
+ D as ACCOUNT_CONFLICT_PROMPT_DEFAULT_COUNTRY_CODE,
37
+ R as ACCOUNT_CONFLICT_PROMPT_DEFAULT_EXISTING_ACCOUNT_ERROR,
38
+ P as ACCOUNT_CONFLICT_PROMPT_DEFAULT_INFO_MESSAGE,
39
+ B as ACCOUNT_CONFLICT_PROMPT_DEFAULT_MASKED_EMAIL,
40
+ b as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_DISPLAY,
41
+ l as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_NUMBER,
42
+ F as ACCOUNT_CONFLICT_PROMPT_DEFAULT_PHONE_PLACEHOLDER,
43
+ a as ACCOUNT_CONFLICT_PROMPT_HEADER_TITLE,
44
+ m as ACCOUNT_CONFLICT_PROMPT_LOGIN_UNIFY_HINT,
45
+ d as ACCOUNT_CONFLICT_PROMPT_PRIMARY_LABEL,
46
+ G as ACCOUNT_CONFLICT_PROMPT_SECONDARY_LABEL,
47
+ N as MOBILE_NUMBER_DIALOG_BODY_TITLE,
48
+ L as MOBILE_NUMBER_DIALOG_DEFAULT_COUNTRY_CODE,
49
+ C as MOBILE_NUMBER_DIALOG_DEFAULT_EXISTING_ACCOUNT_ERROR,
50
+ T as MOBILE_NUMBER_DIALOG_DEFAULT_INFO_MESSAGE,
51
+ n as MOBILE_NUMBER_DIALOG_DEFAULT_MASKED_EMAIL,
52
+ e as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_DISPLAY,
53
+ i as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_NUMBER,
54
+ o as MOBILE_NUMBER_DIALOG_DEFAULT_PHONE_PLACEHOLDER,
55
+ A as MOBILE_NUMBER_DIALOG_HEADER_TITLE,
56
+ s as MOBILE_NUMBER_DIALOG_LOGIN_UNIFY_HINT,
57
+ r as MOBILE_NUMBER_DIALOG_PRIMARY_LABEL,
58
+ M as MOBILE_NUMBER_DIALOG_SECONDARY_LABEL,
59
+ g as buildExistingAccountError,
60
+ t as buildExistingMobileNumberError,
61
+ I as buildLoginWithMobileNumberLabel,
62
+ S as buildLoginWithPhoneLabel,
63
+ c as buildMobileNumberDisplay,
64
+ h as buildPhoneDisplay,
65
+ u as isMobileNumberDialogPrimaryDisabled
66
+ };
@@ -0,0 +1,6 @@
1
+ "use client";
2
+ const _ = "login-drawer-backdrop", A = _;
3
+ export {
4
+ A as ACCOUNT_CONFLICT_PROMPT_DRAWER_BACKDROP_CLASS,
5
+ _ as MOBILE_NUMBER_DIALOG_DRAWER_BACKDROP_CLASS
6
+ };