@tempots/beatui 0.26.0 → 0.28.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/{2019-BZdoHGOO.cjs → 2019-DW6_Kz35.cjs} +1 -1
- package/dist/{2019-Bt_x1Mqh.js → 2019-Dv7Pffuv.js} +2 -2
- package/dist/{2020-C2Ifu6RV.js → 2020-Dad_EL5J.js} +2 -2
- package/dist/{2020-Bk0sGwzQ.cjs → 2020-hZ6sv71V.cjs} +1 -1
- package/dist/{ar-CxLxXsxZ.js → ar-L29B4drg.js} +1 -1
- package/dist/{ar-CNSt2O6X.cjs → ar-Xt0B1GBx.cjs} +1 -1
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +276 -276
- package/dist/beatui.css +3 -3
- package/dist/beatui.tailwind.css +3 -3
- package/dist/{de-BlQbCGWj.cjs → de-BBH6Q1uM.cjs} +1 -1
- package/dist/{de-C7iv8rS5.js → de-BL9YMCWJ.js} +1 -1
- package/dist/{es-Chf24sm_.cjs → es-3mljmytv.cjs} +1 -1
- package/dist/{es-DyivIdRS.js → es-CS4u7MZp.js} +1 -1
- package/dist/{fa-DPDyDuq_.cjs → fa-C06uowfA.cjs} +1 -1
- package/dist/{fa-T2168lXR.js → fa-_5IxCXGI.js} +1 -1
- package/dist/{fr-ehNjmGC4.js → fr-B-ZWm43Y.js} +1 -1
- package/dist/{fr-BnxbTKeV.cjs → fr-ZoJsA1s0.cjs} +1 -1
- package/dist/{he-B9YZGENc.cjs → he-D-_HCjOB.cjs} +1 -1
- package/dist/{he-TD57Y17Z.js → he-J-Bcrgy9.js} +1 -1
- package/dist/{hi-ZyCUnzwK.cjs → hi-B9yNE6-J.cjs} +1 -1
- package/dist/{hi-B4NbRIf5.js → hi-ClGaIH71.js} +1 -1
- package/dist/{index-CZn1Pgwz.cjs → index-BPzL4PSC.cjs} +2 -2
- package/dist/{index-DN_efvsJ.cjs → index-LrfuEyEh.cjs} +1 -1
- package/dist/{index-DvqD_Y1P.js → index-dbCnnvOq.js} +4 -4
- package/dist/{index-C494pbos.js → index-wZUL7eqW.js} +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +154 -156
- package/dist/{it-C5sp2CZC.cjs → it-D-bh7RoG.cjs} +1 -1
- package/dist/{it-D3x9ILJi.js → it-Dv8tmKm5.js} +1 -1
- package/dist/{ja-31clSGC3.cjs → ja-B4rdImcD.cjs} +1 -1
- package/dist/{ja-BSfyBDbo.js → ja-BpqiZN5f.js} +1 -1
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +1 -1
- package/dist/{ko-DNahUn8W.js → ko-Bpa6y038.js} +1 -1
- package/dist/{ko-j4lOKHLl.cjs → ko-C43-vhJF.cjs} +1 -1
- package/dist/{modal-CMuvQ7U-.cjs → modal-DKWKUrDF.cjs} +1 -1
- package/dist/{modal-5GSPw0e_.js → modal-Fect9dc4.js} +1 -1
- package/dist/{nl-DxveNtuq.js → nl-B5HYWGRz.js} +1 -1
- package/dist/{nl-gQLaSMRt.cjs → nl-DDjoZpiU.cjs} +1 -1
- package/dist/{notice-DuvHeGyh.js → notice-DKO4C8y2.js} +2 -3
- package/dist/{notice-DTflcSdc.cjs → notice-DrmHRjLV.cjs} +2 -2
- package/dist/{pl-BQTsowH4.cjs → pl-CXYiY-nR.cjs} +1 -1
- package/dist/{pl-DuKW800E.js → pl-DksXqLHk.js} +1 -1
- package/dist/{pt-DPt1NyaL.js → pt-7-6UhRtW.js} +1 -1
- package/dist/{pt-DB-njyTA.cjs → pt-CnC1YN5K.cjs} +1 -1
- package/dist/{ru-DwiRelVA.js → ru-I676X0Bt.js} +1 -1
- package/dist/{ru-CIXDYJrr.cjs → ru-_1DUTMUW.cjs} +1 -1
- package/dist/{tr-DQIURNMa.js → tr-CssmRZfH.js} +1 -1
- package/dist/{tr-Dx_9vMU9.cjs → tr-DA-8X7MK.cjs} +1 -1
- package/dist/{translations-D4pKsgdi.js → translations-BBguPjg9.js} +1 -1
- package/dist/{translations-YkLfpjMl.cjs → translations-CrqWcCGM.cjs} +1 -1
- package/dist/types/components/form/input/option.d.ts +3 -3
- package/dist/{ur-DpGDKEUr.cjs → ur-B1YkWWDx.cjs} +1 -1
- package/dist/{ur-ChuKCUVI.js → ur-BCWL2ev1.js} +1 -1
- package/dist/{utils-CBZohCZi.js → utils-BPYkWAVv.js} +5 -2
- package/dist/utils-CeIsP9xh.cjs +1 -0
- package/dist/{vi-CJ3gBepb.js → vi-D5K4x_hN.js} +1 -1
- package/dist/{vi-CjpgcyEa.cjs → vi-DA-qqgHJ.cjs} +1 -1
- package/dist/{zh-CLb0vdcx.cjs → zh-B4HcAg-5.cjs} +1 -1
- package/dist/{zh-DBCCiN2o.js → zh-HUwi9F-w.js} +1 -1
- package/package.json +3 -3
- package/dist/utils-Dz1qVHrn.cjs +0 -1
package/dist/auth/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { localStorageProp as
|
|
2
|
-
import { t as
|
|
3
|
-
import { s as I, o as H, b as D, M as
|
|
4
|
-
import { AuthI18n as x } from "../translations-
|
|
5
|
-
import { classes as
|
|
1
|
+
import { localStorageProp as re, prop as E, Use as P, html as i, OnDispose as U, attr as t, on as T, When as L, coalesce as h, Ensure as N, computedOf as f, bind as ie, ForEach as ce, Value as Q, OneOfValue as le, Fragment as A } from "@tempots/dom";
|
|
2
|
+
import { t as me, b as ee, u as R, S as q, c as se, d as $, P as M, E as W, N as G, a as O, T as ue, I as de } from "../notice-DKO4C8y2.js";
|
|
3
|
+
import { s as I, o as H, b as D, M as pe } from "../modal-Fect9dc4.js";
|
|
4
|
+
import { AuthI18n as x } from "../translations-BBguPjg9.js";
|
|
5
|
+
import { classes as he } from "@tempots/ui";
|
|
6
6
|
const j = {
|
|
7
7
|
google: { name: "Google", icon: "logos:google-icon", color: "#4285f4" },
|
|
8
8
|
github: { name: "GitHub", icon: "logos:github-icon", color: "#333" },
|
|
@@ -49,17 +49,17 @@ const j = {
|
|
|
49
49
|
paypal: { name: "PayPal", icon: "logos:paypal", color: "#0070ba" },
|
|
50
50
|
x: { name: "X", icon: "simple-icons:x", color: "#000" }
|
|
51
51
|
};
|
|
52
|
-
function
|
|
53
|
-
return j[
|
|
52
|
+
function ge(e) {
|
|
53
|
+
return j[e]?.name || e;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
56
|
-
return j[
|
|
55
|
+
function Be(e) {
|
|
56
|
+
return j[e]?.icon || "mdi:account";
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
return j[
|
|
58
|
+
function $e(e) {
|
|
59
|
+
return j[e]?.color || "#666";
|
|
60
60
|
}
|
|
61
|
-
function
|
|
62
|
-
return
|
|
61
|
+
function Ie(e, o = "Continue with {provider}") {
|
|
62
|
+
return o.replace("{provider}", ge(e));
|
|
63
63
|
}
|
|
64
64
|
const B = {
|
|
65
65
|
minLength: 8,
|
|
@@ -68,17 +68,17 @@ const B = {
|
|
|
68
68
|
requireNumbers: !0,
|
|
69
69
|
requireSymbols: !1
|
|
70
70
|
};
|
|
71
|
-
function
|
|
72
|
-
return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(
|
|
71
|
+
function Te(e) {
|
|
72
|
+
return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
const
|
|
74
|
+
function fe(e = 32) {
|
|
75
|
+
const o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
76
76
|
let c = "";
|
|
77
|
-
for (let m = 0; m <
|
|
78
|
-
c +=
|
|
77
|
+
for (let m = 0; m < e; m++)
|
|
78
|
+
c += o.charAt(Math.floor(Math.random() * o.length));
|
|
79
79
|
return c;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function Ae(e, o, c, m = [], l = {}) {
|
|
82
82
|
const a = {
|
|
83
83
|
google: "https://accounts.google.com/oauth/authorize",
|
|
84
84
|
github: "https://github.com/login/oauth/authorize",
|
|
@@ -129,11 +129,11 @@ function Co(o, e, c, m = [], l = {}) {
|
|
|
129
129
|
yahoo: ["openid", "email", "profile"],
|
|
130
130
|
paypal: ["openid", "email", "profile"],
|
|
131
131
|
x: ["openid", "email", "profile"]
|
|
132
|
-
}, n = a[
|
|
132
|
+
}, n = a[e];
|
|
133
133
|
if (!n)
|
|
134
|
-
throw new Error(`Unsupported provider: ${
|
|
135
|
-
const u = m.length > 0 ? m : s[
|
|
136
|
-
client_id:
|
|
134
|
+
throw new Error(`Unsupported provider: ${e}`);
|
|
135
|
+
const u = m.length > 0 ? m : s[e], r = fe(), w = new URLSearchParams({
|
|
136
|
+
client_id: o,
|
|
137
137
|
redirect_uri: c,
|
|
138
138
|
scope: u.join(" "),
|
|
139
139
|
state: r,
|
|
@@ -142,10 +142,10 @@ function Co(o, e, c, m = [], l = {}) {
|
|
|
142
142
|
});
|
|
143
143
|
return `${n}?${w.toString()}`;
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function Ce(e, o, c, m) {
|
|
146
146
|
const l = window.open(
|
|
147
|
-
|
|
148
|
-
`${
|
|
147
|
+
e,
|
|
148
|
+
`${o}_login`,
|
|
149
149
|
"width=500,height=600,scrollbars=yes,resizable=yes"
|
|
150
150
|
);
|
|
151
151
|
if (!l) {
|
|
@@ -159,63 +159,63 @@ function zo(o, e, c, m) {
|
|
|
159
159
|
};
|
|
160
160
|
window.addEventListener("message", s);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
163
|
-
return
|
|
162
|
+
function ze(e) {
|
|
163
|
+
return e instanceof Error ? e.message : typeof e == "string" ? e : e && typeof e == "object" && "message" in e ? String(e.message) : "An unexpected error occurred";
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function Ee() {
|
|
166
166
|
return typeof window < "u" && typeof document < "u";
|
|
167
167
|
}
|
|
168
168
|
function X({
|
|
169
|
-
task:
|
|
170
|
-
message:
|
|
169
|
+
task: e,
|
|
170
|
+
message: o,
|
|
171
171
|
onStart: c,
|
|
172
172
|
onEnd: m
|
|
173
173
|
}) {
|
|
174
|
-
return
|
|
174
|
+
return async (l) => {
|
|
175
175
|
c?.();
|
|
176
|
-
const a = await
|
|
177
|
-
task:
|
|
178
|
-
errorMessage:
|
|
176
|
+
const a = await me({
|
|
177
|
+
task: e != null ? () => e(l) : async () => null,
|
|
178
|
+
errorMessage: o,
|
|
179
179
|
errorPath: ["root"],
|
|
180
|
-
validation: (s) =>
|
|
180
|
+
validation: (s) => s != null ? ee.invalid({ message: s }) : ee.valid
|
|
181
181
|
});
|
|
182
182
|
return m?.(), a;
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
|
-
function Y(
|
|
186
|
-
let
|
|
187
|
-
return
|
|
188
|
-
|
|
189
|
-
`Password must be at least ${
|
|
190
|
-
)),
|
|
185
|
+
function Y(e = B) {
|
|
186
|
+
let o = I();
|
|
187
|
+
return e.minLength && (o = o.min(
|
|
188
|
+
e.minLength,
|
|
189
|
+
`Password must be at least ${e.minLength} characters`
|
|
190
|
+
)), e.requireUppercase && (o = o.regex(
|
|
191
191
|
/[A-Z]/,
|
|
192
192
|
"Password must contain at least one uppercase letter"
|
|
193
|
-
)),
|
|
193
|
+
)), e.requireLowercase && (o = o.regex(
|
|
194
194
|
/[a-z]/,
|
|
195
195
|
"Password must contain at least one lowercase letter"
|
|
196
|
-
)),
|
|
196
|
+
)), e.requireNumbers && (o = o.regex(
|
|
197
197
|
/[0-9]/,
|
|
198
198
|
"Password must contain at least one number"
|
|
199
|
-
)),
|
|
199
|
+
)), e.requireSymbols && (o = o.regex(
|
|
200
200
|
/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/,
|
|
201
201
|
"Password must contain at least one special character"
|
|
202
|
-
)),
|
|
202
|
+
)), e.customValidation && (o = o.refine((c) => e.customValidation(c))), o;
|
|
203
203
|
}
|
|
204
|
-
const
|
|
205
|
-
function Z(
|
|
206
|
-
const
|
|
204
|
+
const V = I().min(1, "Email is required").email("Please enter a valid email address");
|
|
205
|
+
function Z(e) {
|
|
206
|
+
const o = e ? Y(e) : I().refine(
|
|
207
207
|
(c) => c.length > 0 ? null : "Password is required"
|
|
208
208
|
);
|
|
209
209
|
return H({
|
|
210
|
-
email:
|
|
211
|
-
password:
|
|
210
|
+
email: V,
|
|
211
|
+
password: o,
|
|
212
212
|
rememberMe: D().default(!1)
|
|
213
213
|
}).schema();
|
|
214
214
|
}
|
|
215
|
-
function J(
|
|
216
|
-
const c = Y(
|
|
215
|
+
function J(e = B, o) {
|
|
216
|
+
const c = Y(e), m = o?.showNameField !== !1, l = o?.showConfirmPassword !== !1, a = o?.showAcceptTermsAndConditions !== !1, s = {
|
|
217
217
|
name: m ? I().min(1, "Name is required").optional() : I().optional(),
|
|
218
|
-
email:
|
|
218
|
+
email: V,
|
|
219
219
|
password: c,
|
|
220
220
|
// Always require confirmPassword as string to match SignUpData interface
|
|
221
221
|
// When not shown, it should accept any value (including empty string)
|
|
@@ -232,63 +232,63 @@ function J(o = B, e) {
|
|
|
232
232
|
{ path: ["confirmPassword"] }
|
|
233
233
|
).schema() : n.schema();
|
|
234
234
|
}
|
|
235
|
-
const
|
|
236
|
-
email:
|
|
237
|
-
}).schema(),
|
|
235
|
+
const ne = H({
|
|
236
|
+
email: V
|
|
237
|
+
}).schema(), Ue = Z(), Oe = J(), Ve = {
|
|
238
238
|
signIn: Z,
|
|
239
239
|
signUp: J,
|
|
240
|
-
resetPassword: () =>
|
|
240
|
+
resetPassword: () => ne
|
|
241
241
|
};
|
|
242
|
-
function
|
|
243
|
-
const
|
|
244
|
-
return
|
|
242
|
+
function Fe(e) {
|
|
243
|
+
const o = V.validate(e);
|
|
244
|
+
return o.success ? null : o.errors[0]?.message || "Invalid email";
|
|
245
245
|
}
|
|
246
|
-
function
|
|
247
|
-
const m = Y(
|
|
246
|
+
function Me(e, o = B) {
|
|
247
|
+
const m = Y(o).validate(e);
|
|
248
248
|
return m.success ? null : m.errors[0]?.message || "Invalid password";
|
|
249
249
|
}
|
|
250
|
-
function K(
|
|
250
|
+
function K(e, o = B) {
|
|
251
251
|
const c = {
|
|
252
|
-
length:
|
|
253
|
-
uppercase: /[A-Z]/.test(
|
|
254
|
-
lowercase: /[a-z]/.test(
|
|
255
|
-
numbers: /[0-9]/.test(
|
|
256
|
-
symbols: /[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/.test(
|
|
257
|
-
custom:
|
|
252
|
+
length: e.length >= (o.minLength || 8),
|
|
253
|
+
uppercase: /[A-Z]/.test(e),
|
|
254
|
+
lowercase: /[a-z]/.test(e),
|
|
255
|
+
numbers: /[0-9]/.test(e),
|
|
256
|
+
symbols: /[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/.test(e),
|
|
257
|
+
custom: o.customValidation ? o.customValidation(e) === null : e.length > 0
|
|
258
258
|
// For consistency, fail if password is empty
|
|
259
259
|
}, m = [
|
|
260
260
|
!0,
|
|
261
261
|
// length is always enabled
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
!!
|
|
262
|
+
o.requireUppercase,
|
|
263
|
+
o.requireLowercase,
|
|
264
|
+
o.requireNumbers,
|
|
265
|
+
o.requireSymbols,
|
|
266
|
+
!!o.customValidation
|
|
267
267
|
].filter(Boolean).length, l = [
|
|
268
268
|
c.length,
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
269
|
+
o.requireUppercase ? c.uppercase : null,
|
|
270
|
+
o.requireLowercase ? c.lowercase : null,
|
|
271
|
+
o.requireNumbers ? c.numbers : null,
|
|
272
|
+
o.requireSymbols ? c.symbols : null,
|
|
273
|
+
o.customValidation ? c.custom : null
|
|
274
274
|
].filter((n) => n === !0).length, a = m > 0 ? Math.round(l / m * 100) : 0;
|
|
275
275
|
let s;
|
|
276
276
|
return a < 40 ? s = "weak" : a < 60 ? s = "fair" : a < 80 ? s = "good" : s = "strong", { strength: s, score: a, checks: c };
|
|
277
277
|
}
|
|
278
|
-
const
|
|
278
|
+
const ae = () => re({
|
|
279
279
|
key: "bui_auth_email",
|
|
280
280
|
defaultValue: null
|
|
281
281
|
});
|
|
282
|
-
function
|
|
283
|
-
onSignIn:
|
|
284
|
-
passwordRules:
|
|
282
|
+
function be({
|
|
283
|
+
onSignIn: e,
|
|
284
|
+
passwordRules: o,
|
|
285
285
|
labels: c,
|
|
286
286
|
showRememberMe: m
|
|
287
287
|
}) {
|
|
288
|
-
const l = E(!1), a =
|
|
288
|
+
const l = E(!1), a = ae(), s = Z(o), n = R({
|
|
289
289
|
schema: s,
|
|
290
290
|
onSubmit: X({
|
|
291
|
-
task:
|
|
291
|
+
task: e,
|
|
292
292
|
message: "Reset password failed",
|
|
293
293
|
onStart: () => {
|
|
294
294
|
l.set(!0), n.controller.disable();
|
|
@@ -342,7 +342,7 @@ function wo({
|
|
|
342
342
|
t.class("bc-auth-form__remember-me"),
|
|
343
343
|
i.label(
|
|
344
344
|
t.class("bc-auth-form__checkbox-label"),
|
|
345
|
-
|
|
345
|
+
se({
|
|
346
346
|
value: a.map((b) => b != null),
|
|
347
347
|
after: i.span(
|
|
348
348
|
h(c?.rememberMeLabel, g.$.rememberMeLabel)
|
|
@@ -356,7 +356,7 @@ function wo({
|
|
|
356
356
|
)
|
|
357
357
|
),
|
|
358
358
|
// Submit button
|
|
359
|
-
|
|
359
|
+
O(
|
|
360
360
|
{
|
|
361
361
|
type: "submit",
|
|
362
362
|
variant: "filled",
|
|
@@ -371,13 +371,13 @@ function wo({
|
|
|
371
371
|
)
|
|
372
372
|
);
|
|
373
373
|
}
|
|
374
|
-
function
|
|
375
|
-
password:
|
|
376
|
-
rules:
|
|
374
|
+
function we({
|
|
375
|
+
password: e,
|
|
376
|
+
rules: o = B,
|
|
377
377
|
showLabel: c = !0,
|
|
378
378
|
className: m
|
|
379
379
|
}) {
|
|
380
|
-
const l = f(
|
|
380
|
+
const l = f(e)((r) => !r || r.length === 0 ? {
|
|
381
381
|
strength: "weak",
|
|
382
382
|
score: 0,
|
|
383
383
|
checks: {
|
|
@@ -388,7 +388,7 @@ function _o({
|
|
|
388
388
|
symbols: !1,
|
|
389
389
|
custom: !1
|
|
390
390
|
}
|
|
391
|
-
} : K(r,
|
|
391
|
+
} : K(r, o)), a = l.map((r) => r.strength), s = l.map((r) => r.score), n = l.map((r) => r.checks), u = f(
|
|
392
392
|
a,
|
|
393
393
|
m
|
|
394
394
|
)((r, w) => [
|
|
@@ -438,7 +438,7 @@ function _o({
|
|
|
438
438
|
t.class("bc-password-strength__requirements"),
|
|
439
439
|
// Length requirement
|
|
440
440
|
L(
|
|
441
|
-
|
|
441
|
+
o.minLength !== void 0,
|
|
442
442
|
() => i.div(
|
|
443
443
|
t.class("bc-password-strength__requirement"),
|
|
444
444
|
t.class(
|
|
@@ -452,13 +452,13 @@ function _o({
|
|
|
452
452
|
),
|
|
453
453
|
i.span(
|
|
454
454
|
t.class("bc-password-strength__requirement-text"),
|
|
455
|
-
`At least ${
|
|
455
|
+
`At least ${o.minLength} characters`
|
|
456
456
|
)
|
|
457
457
|
)
|
|
458
458
|
),
|
|
459
459
|
// Uppercase requirement
|
|
460
460
|
L(
|
|
461
|
-
|
|
461
|
+
o.requireUppercase === !0,
|
|
462
462
|
() => i.div(
|
|
463
463
|
t.class("bc-password-strength__requirement"),
|
|
464
464
|
t.class(
|
|
@@ -478,7 +478,7 @@ function _o({
|
|
|
478
478
|
),
|
|
479
479
|
// Lowercase requirement
|
|
480
480
|
L(
|
|
481
|
-
|
|
481
|
+
o.requireLowercase === !0,
|
|
482
482
|
() => i.div(
|
|
483
483
|
t.class("bc-password-strength__requirement"),
|
|
484
484
|
t.class(
|
|
@@ -498,7 +498,7 @@ function _o({
|
|
|
498
498
|
),
|
|
499
499
|
// Numbers requirement
|
|
500
500
|
L(
|
|
501
|
-
|
|
501
|
+
o.requireNumbers === !0,
|
|
502
502
|
() => i.div(
|
|
503
503
|
t.class("bc-password-strength__requirement"),
|
|
504
504
|
t.class(
|
|
@@ -518,7 +518,7 @@ function _o({
|
|
|
518
518
|
),
|
|
519
519
|
// Symbols requirement
|
|
520
520
|
L(
|
|
521
|
-
|
|
521
|
+
o.requireSymbols === !0,
|
|
522
522
|
() => i.div(
|
|
523
523
|
t.class("bc-password-strength__requirement"),
|
|
524
524
|
t.class(
|
|
@@ -539,12 +539,12 @@ function _o({
|
|
|
539
539
|
)
|
|
540
540
|
);
|
|
541
541
|
}
|
|
542
|
-
function
|
|
543
|
-
password:
|
|
544
|
-
rules:
|
|
542
|
+
function De({
|
|
543
|
+
password: e,
|
|
544
|
+
rules: o = B,
|
|
545
545
|
className: c
|
|
546
546
|
}) {
|
|
547
|
-
const m = f(
|
|
547
|
+
const m = f(e)((n) => !n || n.length === 0 ? { strength: "weak", score: 0 } : K(n, o)), l = m.map((n) => n.strength), a = m.map((n) => n.score), s = f(
|
|
548
548
|
l,
|
|
549
549
|
c
|
|
550
550
|
)((n, u) => [
|
|
@@ -560,12 +560,12 @@ function No({
|
|
|
560
560
|
)
|
|
561
561
|
);
|
|
562
562
|
}
|
|
563
|
-
function
|
|
564
|
-
password:
|
|
565
|
-
rules:
|
|
563
|
+
function Ne({
|
|
564
|
+
password: e,
|
|
565
|
+
rules: o = B,
|
|
566
566
|
className: c
|
|
567
567
|
}) {
|
|
568
|
-
const m = f(
|
|
568
|
+
const m = f(e)((a) => !a || a.length === 0 ? "weak" : K(a, o).strength), l = f(
|
|
569
569
|
m,
|
|
570
570
|
c
|
|
571
571
|
)((a, s) => [
|
|
@@ -597,9 +597,9 @@ function Ro({
|
|
|
597
597
|
)
|
|
598
598
|
);
|
|
599
599
|
}
|
|
600
|
-
function
|
|
601
|
-
passwordRules:
|
|
602
|
-
labels:
|
|
600
|
+
function _e({
|
|
601
|
+
passwordRules: e,
|
|
602
|
+
labels: o,
|
|
603
603
|
showPasswordStrength: c,
|
|
604
604
|
onSignUp: m,
|
|
605
605
|
showNameField: l,
|
|
@@ -607,7 +607,7 @@ function Lo({
|
|
|
607
607
|
showAcceptTermsAndConditions: s,
|
|
608
608
|
termsAndConditions: n
|
|
609
609
|
}) {
|
|
610
|
-
const u = E(!1), r =
|
|
610
|
+
const u = E(!1), r = e || B, w = J(r, {
|
|
611
611
|
showNameField: l !== !1,
|
|
612
612
|
showConfirmPassword: a !== !1,
|
|
613
613
|
showAcceptTermsAndConditions: s !== !1
|
|
@@ -657,28 +657,28 @@ function Lo({
|
|
|
657
657
|
// Name field (optional)
|
|
658
658
|
L(
|
|
659
659
|
l !== !1,
|
|
660
|
-
() => $(
|
|
660
|
+
() => $(ue, {
|
|
661
661
|
controller: k.transform(
|
|
662
662
|
(v) => v ?? "",
|
|
663
663
|
(v) => v === "" ? void 0 : v
|
|
664
664
|
),
|
|
665
|
-
label: h(
|
|
665
|
+
label: h(o?.nameLabel, S.$.nameLabel)
|
|
666
666
|
})
|
|
667
667
|
),
|
|
668
668
|
// Email field
|
|
669
669
|
$(W, {
|
|
670
670
|
controller: C,
|
|
671
|
-
label: h(
|
|
671
|
+
label: h(o?.emailLabel, S.$.emailLabel)
|
|
672
672
|
}),
|
|
673
673
|
// Password field
|
|
674
674
|
$(M, {
|
|
675
675
|
controller: z,
|
|
676
|
-
label: h(
|
|
676
|
+
label: h(o?.passwordLabel, S.$.passwordLabel)
|
|
677
677
|
}),
|
|
678
678
|
// Password strength indicator
|
|
679
679
|
L(
|
|
680
680
|
c ?? !1,
|
|
681
|
-
() =>
|
|
681
|
+
() => we({
|
|
682
682
|
password: z.value,
|
|
683
683
|
rules: r,
|
|
684
684
|
showLabel: !0
|
|
@@ -690,7 +690,7 @@ function Lo({
|
|
|
690
690
|
() => $(M, {
|
|
691
691
|
controller: F,
|
|
692
692
|
label: h(
|
|
693
|
-
|
|
693
|
+
o?.confirmPasswordLabel,
|
|
694
694
|
S.$.confirmPasswordLabel
|
|
695
695
|
)
|
|
696
696
|
})
|
|
@@ -702,12 +702,12 @@ function Lo({
|
|
|
702
702
|
t.class("bc-auth-form__terms"),
|
|
703
703
|
i.label(
|
|
704
704
|
t.class("bc-auth-form__checkbox-label"),
|
|
705
|
-
|
|
705
|
+
se({
|
|
706
706
|
value: y.value.map((v) => v ?? !1),
|
|
707
707
|
onChange: (v) => y.change(v)
|
|
708
708
|
}),
|
|
709
709
|
i.span(
|
|
710
|
-
n || h(
|
|
710
|
+
n || h(o?.acceptTermsLabel, S.$.acceptTermsLabel)
|
|
711
711
|
)
|
|
712
712
|
),
|
|
713
713
|
L(
|
|
@@ -721,7 +721,7 @@ function Lo({
|
|
|
721
721
|
)
|
|
722
722
|
),
|
|
723
723
|
// Submit button
|
|
724
|
-
|
|
724
|
+
O(
|
|
725
725
|
{
|
|
726
726
|
type: "submit",
|
|
727
727
|
variant: "filled",
|
|
@@ -730,20 +730,20 @@ function Lo({
|
|
|
730
730
|
disabled: g.disabledOrHasErrors
|
|
731
731
|
},
|
|
732
732
|
t.class("bc-auth-form__submit"),
|
|
733
|
-
h(
|
|
733
|
+
h(o?.signUpButton, S.$.signUpButton)
|
|
734
734
|
)
|
|
735
735
|
)
|
|
736
736
|
)
|
|
737
737
|
);
|
|
738
738
|
}
|
|
739
|
-
function
|
|
740
|
-
onResetPassword:
|
|
741
|
-
labels:
|
|
739
|
+
function Le({
|
|
740
|
+
onResetPassword: e,
|
|
741
|
+
labels: o = {}
|
|
742
742
|
}) {
|
|
743
|
-
const c =
|
|
744
|
-
schema:
|
|
743
|
+
const c = ae(), m = E(!1), l = R({
|
|
744
|
+
schema: ne,
|
|
745
745
|
onSubmit: X({
|
|
746
|
-
task:
|
|
746
|
+
task: e,
|
|
747
747
|
message: "Reset password failed",
|
|
748
748
|
onStart: () => {
|
|
749
749
|
m.set(!0), l.controller.disable();
|
|
@@ -777,7 +777,7 @@ function vo({
|
|
|
777
777
|
// Description
|
|
778
778
|
i.p(
|
|
779
779
|
t.class("bc-auth-form__description"),
|
|
780
|
-
h(
|
|
780
|
+
h(o?.resetPasswordDescription, u.$.resetPasswordDescription)
|
|
781
781
|
),
|
|
782
782
|
T.submit(s),
|
|
783
783
|
q(
|
|
@@ -785,11 +785,11 @@ function vo({
|
|
|
785
785
|
// Email field
|
|
786
786
|
$(W, {
|
|
787
787
|
controller: n,
|
|
788
|
-
label: h(
|
|
788
|
+
label: h(o?.emailLabel, u.$.emailLabel)
|
|
789
789
|
})
|
|
790
790
|
),
|
|
791
791
|
// Submit button
|
|
792
|
-
|
|
792
|
+
O(
|
|
793
793
|
{
|
|
794
794
|
loading: m,
|
|
795
795
|
type: "submit",
|
|
@@ -798,15 +798,15 @@ function vo({
|
|
|
798
798
|
disabled: a.disabledOrHasErrors
|
|
799
799
|
},
|
|
800
800
|
t.class("bc-auth-form__submit"),
|
|
801
|
-
h(
|
|
801
|
+
h(o?.resetPasswordButton, u.$.resetPasswordButton)
|
|
802
802
|
)
|
|
803
803
|
)
|
|
804
804
|
)
|
|
805
805
|
);
|
|
806
806
|
}
|
|
807
807
|
function p({
|
|
808
|
-
provider:
|
|
809
|
-
onClick:
|
|
808
|
+
provider: e,
|
|
809
|
+
onClick: o,
|
|
810
810
|
size: c = "md",
|
|
811
811
|
name: m,
|
|
812
812
|
icon: l,
|
|
@@ -814,19 +814,19 @@ function p({
|
|
|
814
814
|
flow: s,
|
|
815
815
|
labels: n
|
|
816
816
|
}) {
|
|
817
|
-
return
|
|
817
|
+
return O(
|
|
818
818
|
{
|
|
819
819
|
type: "button",
|
|
820
820
|
variant: "filled",
|
|
821
821
|
size: c,
|
|
822
822
|
color: a,
|
|
823
823
|
onClick: async () => {
|
|
824
|
-
if (
|
|
824
|
+
if (o)
|
|
825
825
|
try {
|
|
826
|
-
s === "popup" ? await
|
|
826
|
+
s === "popup" ? await o() : await o();
|
|
827
827
|
} catch (r) {
|
|
828
828
|
console.error(
|
|
829
|
-
`Social login error for ${
|
|
829
|
+
`Social login error for ${e} (${s || "redirect"} flow):`,
|
|
830
830
|
r
|
|
831
831
|
);
|
|
832
832
|
}
|
|
@@ -835,19 +835,19 @@ function p({
|
|
|
835
835
|
},
|
|
836
836
|
t.class("bc-social-login-button"),
|
|
837
837
|
t.class(
|
|
838
|
-
f(
|
|
838
|
+
f(e)((r) => `bc-social-login-button--${r}`)
|
|
839
839
|
),
|
|
840
840
|
i.span(
|
|
841
841
|
t.class("bc-social-login-button__inner"),
|
|
842
842
|
i.span(
|
|
843
843
|
t.class("bc-social-login-button__icon"),
|
|
844
|
-
|
|
844
|
+
de({ icon: l, size: c }, t.class("bc-social-login-button__icon-inner"))
|
|
845
845
|
),
|
|
846
846
|
P(
|
|
847
847
|
x,
|
|
848
848
|
(r) => i.span(
|
|
849
849
|
t.class("bc-social-login-button__label"),
|
|
850
|
-
|
|
850
|
+
ie(
|
|
851
851
|
h(n?.continueWithProvider, r.$.continueWithProvider)
|
|
852
852
|
)(m)
|
|
853
853
|
)
|
|
@@ -855,17 +855,17 @@ function p({
|
|
|
855
855
|
)
|
|
856
856
|
);
|
|
857
857
|
}
|
|
858
|
-
function
|
|
859
|
-
providers:
|
|
860
|
-
onProviderClick:
|
|
858
|
+
function ve({
|
|
859
|
+
providers: e,
|
|
860
|
+
onProviderClick: o,
|
|
861
861
|
size: c = "md",
|
|
862
862
|
className: m
|
|
863
863
|
}) {
|
|
864
864
|
return q(
|
|
865
865
|
t.class("bc-social-login-buttons"),
|
|
866
866
|
t.class(m),
|
|
867
|
-
|
|
868
|
-
|
|
867
|
+
ce(
|
|
868
|
+
e,
|
|
869
869
|
(l) => p({
|
|
870
870
|
provider: l.$.provider,
|
|
871
871
|
flow: l.$.flow,
|
|
@@ -875,7 +875,7 @@ function ko({
|
|
|
875
875
|
name: l.map(({ provider: a }) => d[a].name),
|
|
876
876
|
icon: l.map(({ provider: a }) => d[a].icon),
|
|
877
877
|
onClick: async () => {
|
|
878
|
-
|
|
878
|
+
o && await o(l.$.provider.value);
|
|
879
879
|
},
|
|
880
880
|
size: c
|
|
881
881
|
})
|
|
@@ -1013,113 +1013,113 @@ const d = {
|
|
|
1013
1013
|
color: "blue"
|
|
1014
1014
|
// distinct deep blue tone (not Facebook’s exact blue)
|
|
1015
1015
|
}
|
|
1016
|
-
},
|
|
1017
|
-
...
|
|
1016
|
+
}, Re = (e) => p({
|
|
1017
|
+
...e,
|
|
1018
1018
|
...d.google,
|
|
1019
1019
|
provider: "google"
|
|
1020
|
-
}),
|
|
1021
|
-
...
|
|
1020
|
+
}), We = (e) => p({
|
|
1021
|
+
...e,
|
|
1022
1022
|
...d.github,
|
|
1023
1023
|
provider: "github"
|
|
1024
|
-
}),
|
|
1025
|
-
...
|
|
1024
|
+
}), Ge = (e) => p({
|
|
1025
|
+
...e,
|
|
1026
1026
|
...d.apple,
|
|
1027
1027
|
provider: "apple"
|
|
1028
|
-
}),
|
|
1029
|
-
...
|
|
1028
|
+
}), He = (e) => p({
|
|
1029
|
+
...e,
|
|
1030
1030
|
...d.facebook,
|
|
1031
1031
|
provider: "facebook"
|
|
1032
|
-
}),
|
|
1033
|
-
...
|
|
1032
|
+
}), je = (e) => p({
|
|
1033
|
+
...e,
|
|
1034
1034
|
...d.x,
|
|
1035
1035
|
provider: "x"
|
|
1036
|
-
}),
|
|
1037
|
-
...
|
|
1036
|
+
}), Xe = (e) => p({
|
|
1037
|
+
...e,
|
|
1038
1038
|
...d.twitter,
|
|
1039
1039
|
provider: "twitter"
|
|
1040
|
-
}),
|
|
1041
|
-
...
|
|
1040
|
+
}), Ye = (e) => p({
|
|
1041
|
+
...e,
|
|
1042
1042
|
...d.microsoft,
|
|
1043
1043
|
provider: "microsoft"
|
|
1044
|
-
}),
|
|
1045
|
-
...
|
|
1044
|
+
}), Ze = (e) => p({
|
|
1045
|
+
...e,
|
|
1046
1046
|
...d.discord,
|
|
1047
1047
|
provider: "discord"
|
|
1048
|
-
}),
|
|
1049
|
-
...
|
|
1048
|
+
}), Je = (e) => p({
|
|
1049
|
+
...e,
|
|
1050
1050
|
...d.linkedin,
|
|
1051
1051
|
provider: "linkedin"
|
|
1052
|
-
}),
|
|
1053
|
-
...
|
|
1052
|
+
}), Ke = (e) => p({
|
|
1053
|
+
...e,
|
|
1054
1054
|
...d.instagram,
|
|
1055
1055
|
provider: "instagram"
|
|
1056
|
-
}),
|
|
1057
|
-
...
|
|
1056
|
+
}), Qe = (e) => p({
|
|
1057
|
+
...e,
|
|
1058
1058
|
...d.tiktok,
|
|
1059
1059
|
provider: "tiktok"
|
|
1060
|
-
}),
|
|
1061
|
-
...
|
|
1060
|
+
}), eo = (e) => p({
|
|
1061
|
+
...e,
|
|
1062
1062
|
...d.snapchat,
|
|
1063
1063
|
provider: "snapchat"
|
|
1064
|
-
}),
|
|
1065
|
-
...
|
|
1064
|
+
}), oo = (e) => p({
|
|
1065
|
+
...e,
|
|
1066
1066
|
...d.reddit,
|
|
1067
1067
|
provider: "reddit"
|
|
1068
|
-
}),
|
|
1069
|
-
...
|
|
1068
|
+
}), to = (e) => p({
|
|
1069
|
+
...e,
|
|
1070
1070
|
...d.pinterest,
|
|
1071
1071
|
provider: "pinterest"
|
|
1072
|
-
}),
|
|
1073
|
-
...
|
|
1072
|
+
}), so = (e) => p({
|
|
1073
|
+
...e,
|
|
1074
1074
|
...d.twitch,
|
|
1075
1075
|
provider: "twitch"
|
|
1076
|
-
}),
|
|
1077
|
-
...
|
|
1076
|
+
}), no = (e) => p({
|
|
1077
|
+
...e,
|
|
1078
1078
|
...d.steam,
|
|
1079
1079
|
provider: "steam"
|
|
1080
|
-
}),
|
|
1081
|
-
...
|
|
1080
|
+
}), ao = (e) => p({
|
|
1081
|
+
...e,
|
|
1082
1082
|
...d.epic,
|
|
1083
1083
|
provider: "epic"
|
|
1084
|
-
}),
|
|
1085
|
-
...
|
|
1084
|
+
}), ro = (e) => p({
|
|
1085
|
+
...e,
|
|
1086
1086
|
...d.playstation,
|
|
1087
1087
|
provider: "playstation"
|
|
1088
|
-
}),
|
|
1089
|
-
...
|
|
1088
|
+
}), io = (e) => p({
|
|
1089
|
+
...e,
|
|
1090
1090
|
...d.xbox,
|
|
1091
1091
|
provider: "xbox"
|
|
1092
|
-
}),
|
|
1093
|
-
...
|
|
1092
|
+
}), co = (e) => p({
|
|
1093
|
+
...e,
|
|
1094
1094
|
...d.whatsapp,
|
|
1095
1095
|
provider: "whatsapp"
|
|
1096
|
-
}),
|
|
1097
|
-
...
|
|
1096
|
+
}), lo = (e) => p({
|
|
1097
|
+
...e,
|
|
1098
1098
|
...d.wechat,
|
|
1099
1099
|
provider: "wechat"
|
|
1100
|
-
}),
|
|
1101
|
-
...
|
|
1100
|
+
}), mo = (e) => p({
|
|
1101
|
+
...e,
|
|
1102
1102
|
...d.amazon,
|
|
1103
1103
|
provider: "amazon"
|
|
1104
|
-
}),
|
|
1105
|
-
...
|
|
1104
|
+
}), uo = (e) => p({
|
|
1105
|
+
...e,
|
|
1106
1106
|
...d.yahoo,
|
|
1107
1107
|
provider: "yahoo"
|
|
1108
|
-
}),
|
|
1109
|
-
...
|
|
1108
|
+
}), po = (e) => p({
|
|
1109
|
+
...e,
|
|
1110
1110
|
...d.paypal,
|
|
1111
1111
|
provider: "paypal"
|
|
1112
1112
|
});
|
|
1113
|
-
function
|
|
1113
|
+
function oe({ providers: e }) {
|
|
1114
1114
|
return q(
|
|
1115
|
-
|
|
1116
|
-
providers:
|
|
1115
|
+
ve({
|
|
1116
|
+
providers: e
|
|
1117
1117
|
})
|
|
1118
1118
|
);
|
|
1119
1119
|
}
|
|
1120
|
-
function
|
|
1121
|
-
mode:
|
|
1122
|
-
socialProviders:
|
|
1120
|
+
function ke({
|
|
1121
|
+
mode: e,
|
|
1122
|
+
socialProviders: o,
|
|
1123
1123
|
passwordRules: c,
|
|
1124
1124
|
showRememberMe: m,
|
|
1125
1125
|
showSocialDivider: l,
|
|
@@ -1132,7 +1132,7 @@ function yo({
|
|
|
1132
1132
|
// onSocialLogin,
|
|
1133
1133
|
showContainer: _
|
|
1134
1134
|
}, ...g) {
|
|
1135
|
-
const b =
|
|
1135
|
+
const b = e != null ? Q.deriveProp(e) : E("signin");
|
|
1136
1136
|
return b.on((k) => w?.(k)), P(x, (k) => {
|
|
1137
1137
|
function C() {
|
|
1138
1138
|
const y = h(s?.hasAccountLink, k.$.hasAccountLink);
|
|
@@ -1160,24 +1160,24 @@ function yo({
|
|
|
1160
1160
|
);
|
|
1161
1161
|
}
|
|
1162
1162
|
return i.div(
|
|
1163
|
-
|
|
1163
|
+
he({
|
|
1164
1164
|
"bc-auth-container": !0,
|
|
1165
1165
|
"bc-auth-container--styled": Q.map(_ ?? !0, (y) => y)
|
|
1166
1166
|
}),
|
|
1167
1167
|
t.class(b.map((y) => `bc-auth-container--${y}`)),
|
|
1168
1168
|
t.class("bc-auth-form"),
|
|
1169
1169
|
U(b.dispose),
|
|
1170
|
-
|
|
1170
|
+
le(b, {
|
|
1171
1171
|
signin: () => A(
|
|
1172
1172
|
i.h2(
|
|
1173
1173
|
t.class("bc-auth-form__title"),
|
|
1174
1174
|
h(s?.signInTitle, k.$.signInTitle)
|
|
1175
1175
|
),
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
L(l ?? !1,
|
|
1176
|
+
o != null ? A(
|
|
1177
|
+
oe({ providers: o }),
|
|
1178
|
+
L(l ?? !1, te)
|
|
1179
1179
|
) : null,
|
|
1180
|
-
|
|
1180
|
+
be({
|
|
1181
1181
|
onSignIn: n,
|
|
1182
1182
|
showRememberMe: m,
|
|
1183
1183
|
passwordRules: c,
|
|
@@ -1201,11 +1201,11 @@ function yo({
|
|
|
1201
1201
|
t.class("bc-auth-form__title"),
|
|
1202
1202
|
h(s?.signUpTitle, k.$.signUpTitle)
|
|
1203
1203
|
),
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
L(l ?? !1,
|
|
1204
|
+
o != null ? A(
|
|
1205
|
+
oe({ providers: o }),
|
|
1206
|
+
L(l ?? !1, te)
|
|
1207
1207
|
) : null,
|
|
1208
|
-
|
|
1208
|
+
_e({
|
|
1209
1209
|
labels: {
|
|
1210
1210
|
nameLabel: s?.nameLabel,
|
|
1211
1211
|
emailLabel: s?.emailLabel,
|
|
@@ -1226,7 +1226,7 @@ function yo({
|
|
|
1226
1226
|
t.class("bc-auth-form__title"),
|
|
1227
1227
|
h(s?.resetPasswordTitle, k.$.resetPasswordTitle)
|
|
1228
1228
|
),
|
|
1229
|
-
|
|
1229
|
+
Le({
|
|
1230
1230
|
labels: {
|
|
1231
1231
|
backToSignInLink: s?.backToSignInLink,
|
|
1232
1232
|
emailLabel: s?.emailLabel,
|
|
@@ -1242,16 +1242,16 @@ function yo({
|
|
|
1242
1242
|
);
|
|
1243
1243
|
});
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return
|
|
1245
|
+
function ho(e) {
|
|
1246
|
+
return pe(
|
|
1247
1247
|
{
|
|
1248
1248
|
size: "sm",
|
|
1249
1249
|
dismissable: !0,
|
|
1250
1250
|
showCloseButton: !0
|
|
1251
1251
|
},
|
|
1252
|
-
(
|
|
1253
|
-
(m) =>
|
|
1254
|
-
body:
|
|
1252
|
+
(o, c) => e(
|
|
1253
|
+
(m) => o({
|
|
1254
|
+
body: ke({ showContainer: !1, ...m }),
|
|
1255
1255
|
header: P(
|
|
1256
1256
|
x,
|
|
1257
1257
|
(l) => h(m.modalTitle, l.$.authenticationTitle)
|
|
@@ -1260,85 +1260,85 @@ function he(o) {
|
|
|
1260
1260
|
)
|
|
1261
1261
|
);
|
|
1262
1262
|
}
|
|
1263
|
-
function
|
|
1264
|
-
labels:
|
|
1265
|
-
className:
|
|
1263
|
+
function te({
|
|
1264
|
+
labels: e,
|
|
1265
|
+
className: o
|
|
1266
1266
|
} = {}) {
|
|
1267
1267
|
return i.div(
|
|
1268
1268
|
t.class("bc-auth-divider"),
|
|
1269
|
-
t.class(
|
|
1269
|
+
t.class(o),
|
|
1270
1270
|
i.div(t.class("bc-auth-divider__line")),
|
|
1271
1271
|
P(
|
|
1272
1272
|
x,
|
|
1273
1273
|
(c) => i.span(
|
|
1274
1274
|
t.class("bc-auth-divider__text"),
|
|
1275
|
-
h(
|
|
1275
|
+
h(e?.text, c.$.orDivider)
|
|
1276
1276
|
)
|
|
1277
1277
|
),
|
|
1278
1278
|
i.div(t.class("bc-auth-divider__line"))
|
|
1279
1279
|
);
|
|
1280
1280
|
}
|
|
1281
1281
|
export {
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1282
|
+
mo as AmazonLoginButton,
|
|
1283
|
+
Ge as AppleLoginButton,
|
|
1284
|
+
ke as AuthContainer,
|
|
1285
|
+
te as AuthDivider,
|
|
1286
|
+
ho as AuthModal,
|
|
1287
|
+
Ze as DiscordLoginButton,
|
|
1288
|
+
ao as EpicLoginButton,
|
|
1289
|
+
He as FacebookLoginButton,
|
|
1290
|
+
We as GitHubLoginButton,
|
|
1291
|
+
Re as GoogleLoginButton,
|
|
1292
|
+
Ke as InstagramLoginButton,
|
|
1293
|
+
Je as LinkedInLoginButton,
|
|
1294
|
+
Ye as MicrosoftLoginButton,
|
|
1295
|
+
De as PasswordStrengthBar,
|
|
1296
|
+
we as PasswordStrengthIndicator,
|
|
1297
|
+
Ne as PasswordStrengthText,
|
|
1298
|
+
po as PayPalLoginButton,
|
|
1299
|
+
to as PinterestLoginButton,
|
|
1300
|
+
ro as PlayStationLoginButton,
|
|
1301
|
+
oo as RedditLoginButton,
|
|
1302
|
+
Le as ResetPasswordForm,
|
|
1303
|
+
be as SignInForm,
|
|
1304
|
+
_e as SignUpForm,
|
|
1305
|
+
eo as SnapchatLoginButton,
|
|
1306
1306
|
p as SocialLoginButton,
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1307
|
+
ve as SocialLoginButtons,
|
|
1308
|
+
oe as SocialProviders,
|
|
1309
|
+
no as SteamLoginButton,
|
|
1310
|
+
Qe as TiktokLoginButton,
|
|
1311
|
+
so as TwitchLoginButton,
|
|
1312
|
+
Xe as TwitterLoginButton,
|
|
1313
|
+
lo as WeChatLoginButton,
|
|
1314
|
+
co as WhatsAppLoginButton,
|
|
1315
|
+
je as XLoginButtin,
|
|
1316
|
+
io as XboxLoginButton,
|
|
1317
|
+
uo as YahooLoginButton,
|
|
1318
|
+
Ve as authSchemas,
|
|
1319
1319
|
K as calculatePasswordStrength,
|
|
1320
1320
|
Y as createPasswordSchema,
|
|
1321
1321
|
Z as createSignInSchema,
|
|
1322
1322
|
J as createSignUpSchema,
|
|
1323
|
-
|
|
1323
|
+
Ae as createSocialLoginUrl,
|
|
1324
1324
|
B as defaultPasswordRules,
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1325
|
+
Ue as defaultSignInSchema,
|
|
1326
|
+
Oe as defaultSignUpSchema,
|
|
1327
|
+
V as emailSchema,
|
|
1328
|
+
ze as formatAuthError,
|
|
1329
|
+
ge as formatProviderName,
|
|
1330
|
+
Ie as formatSocialLoginText,
|
|
1331
|
+
fe as generateRandomString,
|
|
1332
|
+
$e as getProviderColor,
|
|
1333
|
+
Be as getProviderIcon,
|
|
1334
|
+
Ee as isBrowser,
|
|
1335
|
+
Te as isValidEmail,
|
|
1336
|
+
Ce as openSocialLoginPopup,
|
|
1337
1337
|
j as providerInfo,
|
|
1338
1338
|
X as requestToControllerValidation,
|
|
1339
|
-
|
|
1339
|
+
ne as resetPasswordSchema,
|
|
1340
1340
|
d as socialProviderInfo,
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1341
|
+
ae as useAuthEmailProp,
|
|
1342
|
+
Fe as validateEmail,
|
|
1343
|
+
Me as validatePassword
|
|
1344
1344
|
};
|