@yourgoods/ui-smart 0.53.11 → 0.53.12
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/{ProfileEmailDialog-DnKsPdDB.js → ProfileEmailDialog-DnsxREN6.js} +2 -2
- package/dist/{ProfilePasswordDialog-C2tTv-7a.js → ProfilePasswordDialog-Db-qoFp1.js} +1 -1
- package/dist/{ProfilePhoneDialog-B_Xmv8pU.js → ProfilePhoneDialog-BEeFw5xB.js} +2 -2
- package/dist/{index-D8ILKk9J.js → index-BUZIaUqq.js} +39 -39
- package/dist/index.js +2 -2
- package/dist/{useRateLimitToast-BZGqhNmu.js → useRateLimitToast-CnbvkrCW.js} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as oe, ref as T, reactive as Z, watch as Y, computed as b, toRefs as ce, createElementBlock as I, openBlock as y, createElementVNode as x, createCommentVNode as D, toDisplayString as _, createVNode as $, unref as u, isRef as ee, withCtx as G, createTextVNode as ie, Fragment as Ae, createBlock as H, resolveDynamicComponent as he, onMounted as Fe } from "vue";
|
|
2
|
-
import { _ as ve, c as ke, u as Re, a as ze, P as Me, b as We } from "./useRateLimitToast-
|
|
3
|
-
import { C as F, _ as He, B as qe, p as W, g as je } from "./index-
|
|
2
|
+
import { _ as ve, c as ke, u as Re, a as ze, P as Me, b as We } from "./useRateLimitToast-CnbvkrCW.js";
|
|
3
|
+
import { C as F, _ as He, B as qe, p as W, g as je } from "./index-BUZIaUqq.js";
|
|
4
4
|
import { PInput as J, IconMailMd as pe, PButton as ne, IconEyeMd as Ve, IconEyeClosedMd as be, PDialog as Ge, PTopBar as Ye, IconCrossMd as Je } from "@profeat/ui-kit";
|
|
5
5
|
const Ke = { class: "dialogDefaultContainerInsideContent" }, Qe = { class: "dialogDefaultContainerTextHint" }, Xe = {
|
|
6
6
|
key: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as ye, ref as a, reactive as _, computed as u, watch as Z, onMounted as Ce, createElementBlock as S, openBlock as g, Fragment as ge, createVNode as n, unref as o, withCtx as m, createCommentVNode as ee, createElementVNode as r, toDisplayString as V, createBlock as B, resolveDynamicComponent as $, createTextVNode as z } from "vue";
|
|
2
|
-
import { C as I, p as D, g as Ve } from "./index-
|
|
2
|
+
import { C as I, p as D, g as Ve } from "./index-BUZIaUqq.js";
|
|
3
3
|
import { PDialog as be, PInput as M, IconEyeMd as O, IconEyeClosedMd as U, PButton as F, PTopBar as Te, IconCrossMd as Ie, PTeleportContainer as xe } from "@profeat/ui-kit";
|
|
4
4
|
function ke(b) {
|
|
5
5
|
return { showPasswordRateLimitToast: (P) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createElementBlock as S, openBlock as v, createElementVNode as H, defineComponent as he, reactive as ve, watch as _, ref as O, toRefs as Ce, computed as I, createCommentVNode as B, createVNode as b, toDisplayString as G, createBlock as J, createTextVNode as Z, unref as r, isRef as le, withCtx as X, onMounted as We, Fragment as je } from "vue";
|
|
2
|
-
import { _ as we, c as Ne, a as He, u as Ge, P as Oe, b as Je } from "./useRateLimitToast-
|
|
2
|
+
import { _ as we, c as Ne, a as He, u as Ge, P as Oe, b as Je } from "./useRateLimitToast-CnbvkrCW.js";
|
|
3
3
|
import { IconTelegramSm as Pe, PInput as se, IconPhoneMd as Re, IconMailMd as Ke, PButton as ze, PDialog as Qe, PTopBar as Xe, IconCrossMd as Ye, PTeleportContainer as Ze } from "@profeat/ui-kit";
|
|
4
|
-
import { C as j, t as De, p as te, g as Ae } from "./index-
|
|
4
|
+
import { C as j, t as De, p as te, g as Ae } from "./index-BUZIaUqq.js";
|
|
5
5
|
const _e = {
|
|
6
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
7
|
width: "12",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as y, shallowRef as Re, defineComponent as Y, defineAsyncComponent as K, watch as fe, createBlock as $, createCommentVNode as
|
|
1
|
+
import { ref as y, shallowRef as Re, defineComponent as Y, defineAsyncComponent as K, watch as fe, createBlock as $, createCommentVNode as U, unref as p, openBlock as b, resolveDynamicComponent as _e, mergeProps as Oe, computed as V, reactive as Z, onMounted as Ge, createElementBlock as D, Fragment as ge, createVNode as w, createElementVNode as H, withCtx as z, toDisplayString as L, createTextVNode as Q, Teleport as ce, Transition as qe, withDirectives as je, vShow as Je } from "vue";
|
|
2
2
|
import We from "axios";
|
|
3
3
|
import { PInputFileUploader as Ye, PInput as R, IconFilledEditMd as J, PButton as pe, PImageCropper as Xe, PToast as Ke, PTeleportContainer as ve, PToastContainer as Ze, IconPhoneMd as He, IconMailMd as Qe } from "@profeat/ui-kit";
|
|
4
4
|
function et(l, s = 2) {
|
|
@@ -217,10 +217,10 @@ const st = {
|
|
|
217
217
|
},
|
|
218
218
|
emits: ["clean-input-errors", "on-update-jwt", "update-phone-field", "update-email-field", "on-password-error", "on-toast"],
|
|
219
219
|
setup(l, { emit: s }) {
|
|
220
|
-
const a = s, r = y(!0), { currentDialog: m, dialogPayload: g, closeDialog:
|
|
221
|
-
email: K(() => import("./ProfileEmailDialog-
|
|
222
|
-
phone: K(() => import("./ProfilePhoneDialog-
|
|
223
|
-
password: K(() => import("./ProfilePasswordDialog-
|
|
220
|
+
const a = s, r = y(!0), { currentDialog: m, dialogPayload: g, closeDialog: B } = ne(), u = {
|
|
221
|
+
email: K(() => import("./ProfileEmailDialog-DnsxREN6.js")),
|
|
222
|
+
phone: K(() => import("./ProfilePhoneDialog-BEeFw5xB.js")),
|
|
223
|
+
password: K(() => import("./ProfilePasswordDialog-Db-qoFp1.js"))
|
|
224
224
|
}, d = ({ email: E }) => {
|
|
225
225
|
a("update-email-field", E);
|
|
226
226
|
}, c = ({ phone: E }) => {
|
|
@@ -236,14 +236,14 @@ const st = {
|
|
|
236
236
|
provider: E.provider,
|
|
237
237
|
"disable-add-phone": E.disableAddPhone
|
|
238
238
|
}, p(g), {
|
|
239
|
-
onClose: p(
|
|
239
|
+
onClose: p(B),
|
|
240
240
|
onCleanInputErrors: f[1] || (f[1] = (v) => a("clean-input-errors")),
|
|
241
241
|
onOnUpdateJwt: f[2] || (f[2] = (v, i, o) => a("on-update-jwt", v, i, o)),
|
|
242
242
|
onSubmitEmail: d,
|
|
243
243
|
onSubmitPhone: c,
|
|
244
244
|
onOnPasswordError: f[3] || (f[3] = (v, i) => a("on-password-error", v, i)),
|
|
245
245
|
onOnToast: f[4] || (f[4] = (v) => a("on-toast", v))
|
|
246
|
-
}), null, 16, ["modelValue", "language", "provider", "disable-add-phone", "onClose"])) :
|
|
246
|
+
}), null, 16, ["modelValue", "language", "provider", "disable-add-phone", "onClose"])) : U("", !0);
|
|
247
247
|
}
|
|
248
248
|
}), ut = { class: "base-container" }, dt = {
|
|
249
249
|
key: 0,
|
|
@@ -278,7 +278,7 @@ const st = {
|
|
|
278
278
|
},
|
|
279
279
|
emits: ["open-email-dialog", "open-phone-dialog", "open-password-dialog", "on-update-jwt", "on-password-error", "update-tokens"],
|
|
280
280
|
setup(l, { emit: s }) {
|
|
281
|
-
const a = l, r = s, m = V(() => a.language ?? "ru"), g = (e) => st[m.value][e] || e, { openDialog:
|
|
281
|
+
const a = l, r = s, m = V(() => a.language ?? "ru"), g = (e) => st[m.value][e] || e, { openDialog: B } = ne(), u = Z({ firstName: "", lastName: "" }), d = y({ firstName: "", lastName: "" }), c = Z({ firstName: !1, lastName: !1, email: !1, phone: !1 }), E = y(""), f = y(""), v = y(""), i = y(!1), o = Z({
|
|
282
282
|
value: null,
|
|
283
283
|
loading: !1,
|
|
284
284
|
accept: ["image/png", "image/jpeg"],
|
|
@@ -293,7 +293,7 @@ const st = {
|
|
|
293
293
|
if (!t) return "";
|
|
294
294
|
const n = e.trim();
|
|
295
295
|
return n ? n.length < 2 ? "Поле должно содержать минимум 2 символа" : "" : "Введите значение";
|
|
296
|
-
}, Ee = (e) =>
|
|
296
|
+
}, Ee = (e) => B("email", { mode: e ? "edit" : "bind", initialEmail: e }), Pe = () => {
|
|
297
297
|
X(), c.email = !1, A.value = !1, r("open-email-dialog", f.value, re(f.value)), Ee(f.value);
|
|
298
298
|
}, Ne = () => {
|
|
299
299
|
X(), c.phone = !1, I.value = !1, r("open-phone-dialog", v.value, re(v.value));
|
|
@@ -320,8 +320,8 @@ const st = {
|
|
|
320
320
|
se();
|
|
321
321
|
return;
|
|
322
322
|
}
|
|
323
|
-
const t = ((q = e.fileBinary) == null ? void 0 : q.type) ?? "", n = ((j = e.fileBinary) == null ? void 0 : j.size) ?? 0,
|
|
324
|
-
if (
|
|
323
|
+
const t = ((q = e.fileBinary) == null ? void 0 : q.type) ?? "", n = ((j = e.fileBinary) == null ? void 0 : j.size) ?? 0, T = !["image/png", "image/jpeg"].includes(t), k = n > o.uploadLimit;
|
|
324
|
+
if (T || k) {
|
|
325
325
|
h.value = "Файл не подходит. Пожалуйста, загрузите PNG или JPEG размером до 10 МБ", se();
|
|
326
326
|
return;
|
|
327
327
|
}
|
|
@@ -339,8 +339,8 @@ const st = {
|
|
|
339
339
|
h.value = "Файл не подходит. Пожалуйста, загрузите PNG или JPEG размером до 10 МБ", o.value = null, o.imageBinary = null, o.imageContent = "", i.value = !1;
|
|
340
340
|
}, ie = async (e, t, n = "image/png") => {
|
|
341
341
|
if (!e) return null;
|
|
342
|
-
const
|
|
343
|
-
return new File([
|
|
342
|
+
const T = await (await fetch(e)).blob();
|
|
343
|
+
return new File([T], t, { type: n });
|
|
344
344
|
}, Ve = () => {
|
|
345
345
|
o.value = null, o.imageBinary = null, o.imageContent = "", i.value = !1;
|
|
346
346
|
}, Fe = async (e) => {
|
|
@@ -385,8 +385,8 @@ const st = {
|
|
|
385
385
|
firstName: u.firstName,
|
|
386
386
|
lastName: u.lastName
|
|
387
387
|
});
|
|
388
|
-
} catch (
|
|
389
|
-
throw
|
|
388
|
+
} catch (T) {
|
|
389
|
+
throw T;
|
|
390
390
|
} finally {
|
|
391
391
|
ue.value = !1;
|
|
392
392
|
}
|
|
@@ -404,13 +404,13 @@ const st = {
|
|
|
404
404
|
throw console.error("Данные пользователя отсутствуют в ответе сервера"), new Error("User data is missing from the response");
|
|
405
405
|
const {
|
|
406
406
|
userId: N,
|
|
407
|
-
privateFirstName:
|
|
407
|
+
privateFirstName: T,
|
|
408
408
|
privateLastName: k,
|
|
409
409
|
email: q,
|
|
410
410
|
phoneNumber: j
|
|
411
411
|
} = n;
|
|
412
|
-
E.value = N ?? "", u.firstName =
|
|
413
|
-
firstName:
|
|
412
|
+
E.value = N ?? "", u.firstName = T ?? "", u.lastName = k ?? "", f.value = q ?? "", v.value = j ?? "", o.imageContent = await xe(), d.value = {
|
|
413
|
+
firstName: T ?? "",
|
|
414
414
|
lastName: k ?? ""
|
|
415
415
|
};
|
|
416
416
|
} catch (t) {
|
|
@@ -437,8 +437,8 @@ const st = {
|
|
|
437
437
|
const me = V(() => {
|
|
438
438
|
if (!d.value.firstName && !d.value.lastName)
|
|
439
439
|
return !1;
|
|
440
|
-
const e = u.firstName.trim(), t = u.lastName.trim(), n = d.value.firstName.trim(), N = d.value.lastName.trim(),
|
|
441
|
-
return
|
|
440
|
+
const e = u.firstName.trim(), t = u.lastName.trim(), n = d.value.firstName.trim(), N = d.value.lastName.trim(), T = e !== n || t !== N, k = e.length >= 2 && t.length >= 2;
|
|
441
|
+
return T && k;
|
|
442
442
|
}), ze = async () => {
|
|
443
443
|
if (me.value)
|
|
444
444
|
try {
|
|
@@ -493,7 +493,7 @@ const st = {
|
|
|
493
493
|
h.value ? (b(), D("span", dt, L(h.value), 1)) : (b(), D("span", mt, L(`${g("Формат")} ${p(at)(o.accept).join(", ")} ${g("до")} ${p(et)(o.uploadLimit)}`), 1))
|
|
494
494
|
]),
|
|
495
495
|
_: 1
|
|
496
|
-
}, 8, ["modelValue", "src", "loading", "label", "upload-limit"])) :
|
|
496
|
+
}, 8, ["modelValue", "src", "loading", "label", "upload-limit"])) : U("", !0),
|
|
497
497
|
M("firstName") ? (b(), D("div", ct, [
|
|
498
498
|
w(p(R), {
|
|
499
499
|
modelValue: u.firstName,
|
|
@@ -505,7 +505,7 @@ const st = {
|
|
|
505
505
|
onInput: t[4] || (t[4] = (n) => G("firstName"))
|
|
506
506
|
}, null, 8, ["modelValue", "label", "error"]),
|
|
507
507
|
w(p(J), { class: "icon-locked" })
|
|
508
|
-
])) :
|
|
508
|
+
])) : U("", !0),
|
|
509
509
|
M("lastName") ? (b(), D("div", pt, [
|
|
510
510
|
w(p(R), {
|
|
511
511
|
modelValue: u.lastName,
|
|
@@ -517,7 +517,7 @@ const st = {
|
|
|
517
517
|
onInput: t[7] || (t[7] = (n) => G("lastName"))
|
|
518
518
|
}, null, 8, ["modelValue", "label", "error"]),
|
|
519
519
|
w(p(J), { class: "icon-locked" })
|
|
520
|
-
])) :
|
|
520
|
+
])) : U("", !0),
|
|
521
521
|
M("email") ? (b(), D("div", ft, [
|
|
522
522
|
w(p(R), {
|
|
523
523
|
modelValue: f.value,
|
|
@@ -534,7 +534,7 @@ const st = {
|
|
|
534
534
|
onClick: Pe
|
|
535
535
|
}, null, 8, ["modelValue", "error"]),
|
|
536
536
|
w(p(J), { class: "icon-locked" })
|
|
537
|
-
])) :
|
|
537
|
+
])) : U("", !0),
|
|
538
538
|
M("phone") ? (b(), D("div", gt, [
|
|
539
539
|
w(p(R), {
|
|
540
540
|
modelValue: v.value,
|
|
@@ -551,7 +551,7 @@ const st = {
|
|
|
551
551
|
onClick: Ne
|
|
552
552
|
}, null, 8, ["modelValue", "label", "error"]),
|
|
553
553
|
w(p(J), { class: "icon-locked" })
|
|
554
|
-
])) :
|
|
554
|
+
])) : U("", !0),
|
|
555
555
|
H("div", vt, [
|
|
556
556
|
we.value ? (b(), $(p(pe), {
|
|
557
557
|
key: 0,
|
|
@@ -562,7 +562,7 @@ const st = {
|
|
|
562
562
|
Q(L(g("Сменить пароль")), 1)
|
|
563
563
|
]),
|
|
564
564
|
_: 1
|
|
565
|
-
})) :
|
|
565
|
+
})) : U("", !0),
|
|
566
566
|
w(p(pe), {
|
|
567
567
|
disabled: !me.value,
|
|
568
568
|
onClick: ze
|
|
@@ -586,8 +586,8 @@ const st = {
|
|
|
586
586
|
onSave: t[14] || (t[14] = (n) => Fe(n)),
|
|
587
587
|
"onUpdate:modelValue": t[15] || (t[15] = (n) => Se(n))
|
|
588
588
|
}, null, 8, ["model-value"])
|
|
589
|
-
])) :
|
|
590
|
-
])) :
|
|
589
|
+
])) : U("", !0)
|
|
590
|
+
])) : U("", !0),
|
|
591
591
|
(b(), $(ce, { to: "#toast-root" }, [
|
|
592
592
|
H("div", yt, [
|
|
593
593
|
w(qe, { name: "list" }, {
|
|
@@ -632,7 +632,7 @@ const st = {
|
|
|
632
632
|
r("email", { initialEmail: d, mode: c });
|
|
633
633
|
}, g = (d, c) => {
|
|
634
634
|
r("phone", { initialPhone: d, mode: c });
|
|
635
|
-
},
|
|
635
|
+
}, B = () => {
|
|
636
636
|
r("password");
|
|
637
637
|
}, u = (d, c, E) => {
|
|
638
638
|
a("on-update-jwt", d, c, E);
|
|
@@ -651,7 +651,7 @@ const st = {
|
|
|
651
651
|
"disable-add-phone": d.disableAddPhone,
|
|
652
652
|
onOpenEmailDialog: m,
|
|
653
653
|
onOpenPhoneDialog: g,
|
|
654
|
-
onOpenPasswordDialog:
|
|
654
|
+
onOpenPasswordDialog: B,
|
|
655
655
|
onOnUpdateJwt: u
|
|
656
656
|
}, null, 8, ["throttler-prefix", "provider", "request-url", "language", "fields", "access-token", "refresh-token", "aws-storage-url", "disable-add-phone"]),
|
|
657
657
|
w(p(ve))
|
|
@@ -711,21 +711,21 @@ const It = { class: "smart-input" }, At = /* @__PURE__ */ Y({
|
|
|
711
711
|
enabled: ((_ = (S = a.config) == null ? void 0 : S.email) == null ? void 0 : _.enabled) ?? !0
|
|
712
712
|
}
|
|
713
713
|
};
|
|
714
|
-
}), g = y(null),
|
|
714
|
+
}), g = y(null), B = y(""), u = y(a.modelValue ?? ""), d = y(null), c = y("");
|
|
715
715
|
fe(() => a.modelValue, (i) => {
|
|
716
|
-
i !== void 0 && (u.value = i,
|
|
716
|
+
i !== void 0 && (u.value = i, B.value = i);
|
|
717
717
|
});
|
|
718
718
|
function E(i) {
|
|
719
719
|
var I, A, F;
|
|
720
720
|
const h = i.target.value, C = m.value.mode === "auto" ? Dt(h, m.value) : m.value.mode;
|
|
721
721
|
if (d.value = C, r("type-change", C), C === "email") {
|
|
722
722
|
const P = Bt(h);
|
|
723
|
-
c.value = P ? "" : ((I = a.errorMessages) == null ? void 0 : I.invalidEmail) ?? "Это не похоже на email",
|
|
723
|
+
c.value = P ? "" : ((I = a.errorMessages) == null ? void 0 : I.invalidEmail) ?? "Это не похоже на email", B.value = h, u.value = h, r("update:modelValue", h), r("validity-change", P);
|
|
724
724
|
return;
|
|
725
725
|
}
|
|
726
726
|
if (C === "phone") {
|
|
727
727
|
if (Tt(h)) {
|
|
728
|
-
c.value = ((A = a.errorMessages) == null ? void 0 : A.invalidPhoneChars) ?? "Допустимы только цифры и знак +",
|
|
728
|
+
c.value = ((A = a.errorMessages) == null ? void 0 : A.invalidPhoneChars) ?? "Допустимы только цифры и знак +", r("validity-change", !1);
|
|
729
729
|
return;
|
|
730
730
|
}
|
|
731
731
|
const P = Nt(
|
|
@@ -734,7 +734,7 @@ const It = { class: "smart-input" }, At = /* @__PURE__ */ Y({
|
|
|
734
734
|
a.locale
|
|
735
735
|
);
|
|
736
736
|
if (Ct(P).length > m.value.phone.maxDigits) {
|
|
737
|
-
v(
|
|
737
|
+
v(B.value);
|
|
738
738
|
return;
|
|
739
739
|
}
|
|
740
740
|
const S = kt(
|
|
@@ -742,7 +742,7 @@ const It = { class: "smart-input" }, At = /* @__PURE__ */ Y({
|
|
|
742
742
|
m.value.phone.minDigits,
|
|
743
743
|
m.value.phone.maxDigits
|
|
744
744
|
);
|
|
745
|
-
c.value = S ? "" : ((F = a.errorMessages) == null ? void 0 : F.invalidPhoneLength) ?? "Это не похоже на номер телефона",
|
|
745
|
+
c.value = S ? "" : ((F = a.errorMessages) == null ? void 0 : F.invalidPhoneLength) ?? "Это не похоже на номер телефона", B.value = P, u.value = P, r("update:modelValue", P), r("validity-change", S);
|
|
746
746
|
return;
|
|
747
747
|
}
|
|
748
748
|
}
|
|
@@ -774,14 +774,14 @@ const It = { class: "smart-input" }, At = /* @__PURE__ */ Y({
|
|
|
774
774
|
d.value === "phone" ? (b(), $(p(He), {
|
|
775
775
|
key: 0,
|
|
776
776
|
class: "smart-input__icon"
|
|
777
|
-
})) :
|
|
777
|
+
})) : U("", !0),
|
|
778
778
|
d.value === "email" ? (b(), $(p(Qe), {
|
|
779
779
|
key: 1,
|
|
780
780
|
class: "smart-input__icon"
|
|
781
|
-
})) :
|
|
781
|
+
})) : U("", !0)
|
|
782
782
|
]));
|
|
783
783
|
}
|
|
784
|
-
}), zt = /* @__PURE__ */ he(At, [["__scopeId", "data-v-
|
|
784
|
+
}), zt = /* @__PURE__ */ he(At, [["__scopeId", "data-v-17e444bc"]]);
|
|
785
785
|
export {
|
|
786
786
|
xt as B,
|
|
787
787
|
$t as C,
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var
|
|
2
|
-
import { a as o, i as r } from "./index-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".avatar-input[data-v-a56fcdbb] .p-input-file .overlay{visibility:hidden}.avatar-input[data-v-a56fcdbb] .p-input-file:hover .overlay{visibility:visible}.smart-input[data-v-17e444bc]{position:relative;width:100%}.smart-input__icon[data-v-17e444bc]{position:absolute;top:16px;right:16px;pointer-events:none;opacity:.5}.icon-locked{pointer-events:auto;position:absolute;right:1rem;top:1rem;color:#b6c7d6}.input-wrapper{position:relative;width:100%}.dialogTitle{z-index:10;width:100%;font-size:16px;font-weight:600;line-height:24px;text-align:center;color:#2b3238}.dialogDefaultContainer{display:flex;align-items:flex-start;flex-direction:column;width:100%;gap:32px;margin-top:16px;padding:10px 16px}.dialogDefaultContainerTextHint{font-weight:400;font-size:14px;line-height:20px;text-align:center;color:#1b1b1b}.dialogDefaultContainerRateLimitText{font-weight:600;font-size:14px;line-height:20px;color:#d0dbe4}.dialogDefaultContainerInsideContent{width:100%;display:flex;flex-direction:column;gap:24px}.dialogDefaultContainerRateLimitTextActive{color:#1c7ef1;cursor:pointer}.dialogDefaultContainerSendCodeBySmsText{color:#1c7ef1;cursor:pointer;font-size:14px;font-weight:600;display:flex;align-items:center;text-align:center}.chip{display:flex;align-items:center;justify-content:center;flex-direction:row;gap:4px;height:24px;font-size:12px;font-weight:600;color:#1b1b1b;padding:4px;line-height:16px;background-color:#b6d7ff4d;border-radius:4px;text-align:center;margin-left:5px}.cross{cursor:pointer;text-align:end}.finalLimitWrapper{display:flex;flex-direction:column;align-items:center;padding:12px 0;gap:12px;width:100%;min-height:94px;background:#e4606026;border-radius:8px}.finalLimitText{text-align:center;max-width:100%;word-wrap:break-word;font-family:Inter,sans-serif;font-size:14px;line-height:20px;color:#5d7285}.finalLimitLink{font-family:Inter,sans-serif;font-weight:600;font-size:14px;line-height:20px;color:#1c7ef1;text-align:center;cursor:pointer;text-decoration:none}.finalLimitLink:hover{text-decoration:underline}.toastWrapper{position:fixed;bottom:1rem;right:1rem;z-index:9999}.toast{width:100%}.base-container{margin-top:1.5rem;display:flex;flex-direction:column;gap:1.25rem;width:490px;height:428px}.icon-disabled{pointer-events:none;position:absolute;right:1rem;top:1rem;color:#b6c7d6}.centered-overlay{position:absolute;left:50%;top:50%;z-index:1000;height:100%;width:100%;transform:translate(-50%,-50%)}.buttons-container{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-start}.buttons-container PButton{flex:1 1 100%}._loaderOverlay_cpu73_1[data-v-9e697525]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;background:#ffffffb3;border-radius:16px;z-index:99}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import { a as o, i as r } from "./index-BUZIaUqq.js";
|
|
3
3
|
export {
|
|
4
4
|
o as PEditUserContact,
|
|
5
5
|
r as PEmailOrPhoneInput
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as n, defineComponent as L, createElementBlock as p, openBlock as v, normalizeClass as c, createVNode as w, unref as _, computed as T, renderSlot as d, createCommentVNode as h, createElementVNode as i, toDisplayString as y, createTextVNode as f } from "vue";
|
|
2
2
|
import { PLoader as $ } from "@profeat/ui-kit";
|
|
3
|
-
import { _ as b, g as C, p as R } from "./index-
|
|
3
|
+
import { _ as b, g as C, p as R } from "./index-BUZIaUqq.js";
|
|
4
4
|
function g(s) {
|
|
5
5
|
const e = Math.floor(s / 60), a = s % 60;
|
|
6
6
|
return `${String(e).padStart(2, "0")}:${String(a).padStart(2, "0")}`;
|