@yourgoods/ui-smart 0.43.0 → 0.44.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.
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as te, ref as b, reactive as Q, watch as Y, computed as M, toRefs as re, createElementBlock as k, openBlock as E, createElementVNode as S, createCommentVNode as D, toDisplayString as X, createVNode as $, unref as u, isRef as Z, withCtx as G, createTextVNode as le, Fragment as Oe, createBlock as H, resolveDynamicComponent as Ce, onMounted as Ue } from "vue";
2
- import { T as ue, c as Ve, u as Ae, a as Fe, P as ye, b as Re } from "./useRateLimitToast-Jc4ZoHx3.js";
3
- import { C as A, _ as ze, B as We, p as W, g as He } from "./index-BSQq7qYA.js";
2
+ import { T as ue, c as Ve, u as Ae, a as Fe, P as ye, b as Re } from "./useRateLimitToast-BDIdr9Dt.js";
3
+ import { C as A, _ as ze, B as We, p as W, g as He } from "./index-C0IlP0F_.js";
4
4
  import { PInput as J, IconMailMd as me, PButton as oe, IconEyeMd as ge, IconEyeClosedMd as he, PDialog as _e, PTopBar as qe, IconCrossMd as je } from "@profeat/ui-kit";
5
5
  const Ge = { class: "dialogDefaultContainerInsideContent" }, Ye = { class: "dialogDefaultContainerTextHint" }, Je = {
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-BSQq7qYA.js";
2
+ import { C as I, p as D, g as Ve } from "./index-C0IlP0F_.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 T, openBlock as h, createElementVNode as U, defineComponent as ue, reactive as ce, watch as Z, ref as O, toRefs as fe, computed as E, createCommentVNode as V, createVNode as S, toDisplayString as H, createBlock as G, createTextVNode as Y, unref as i, isRef as te, withCtx as K, onMounted as Ue, Fragment as qe } from "vue";
2
- import { T as ge, c as Le, a as We, u as je, P as Ee, b as He } from "./useRateLimitToast-Jc4ZoHx3.js";
2
+ import { T as ge, c as Le, a as We, u as je, P as Ee, b as He } from "./useRateLimitToast-BDIdr9Dt.js";
3
3
  import { IconTelegramSm as ye, PInput as oe, IconPhoneMd as Ge, IconMailMd as De, PButton as Ae, PDialog as Je, PTopBar as Ke, IconCrossMd as Qe, PTeleportContainer as Xe } from "@profeat/ui-kit";
4
- import { C as j, t as Ie, p as ee, g as Oe } from "./index-BSQq7qYA.js";
4
+ import { C as j, t as Ie, p as ee, g as Oe } from "./index-C0IlP0F_.js";
5
5
  const Ye = {
6
6
  xmlns: "http://www.w3.org/2000/svg",
7
7
  width: "12",
@@ -1,4 +1,4 @@
1
- import { ref as v, shallowRef as Me, defineComponent as H, defineAsyncComponent as j, watch as me, createBlock as I, createCommentVNode as b, unref as m, openBlock as w, resolveDynamicComponent as Re, mergeProps as Ge, computed as T, reactive as q, onMounted as Je, createElementBlock as k, Fragment as de, createVNode as g, createElementVNode as _, withCtx as F, toDisplayString as U, createTextVNode as Y, Teleport as ie, Transition as je, withDirectives as qe, vShow as _e } from "vue";
1
+ import { ref as v, shallowRef as Me, defineComponent as H, defineAsyncComponent as j, watch as me, createBlock as A, createCommentVNode as P, unref as m, openBlock as w, resolveDynamicComponent as Re, mergeProps as Ge, computed as T, reactive as q, onMounted as Je, createElementBlock as k, Fragment as de, createVNode as g, createElementVNode as _, withCtx as S, toDisplayString as U, createTextVNode as Y, Teleport as ie, Transition as je, withDirectives as qe, vShow as _e } from "vue";
2
2
  import Ye from "axios";
3
3
  import { PInputFileUploader as We, PInput as z, IconFilledEditMd as L, PButton as ue, PImageCropper as Ke, PToast as Ze, PTeleportContainer as ce, PToastContainer as He } from "@profeat/ui-kit";
4
4
  function Qe(l, n = 2) {
@@ -216,9 +216,9 @@ const na = {
216
216
  emits: ["clean-input-errors", "on-update-jwt", "update-phone-field", "update-email-field", "on-password-error", "on-toast"],
217
217
  setup(l, { emit: n }) {
218
218
  const r = n, i = v(!0), { currentDialog: h, dialogPayload: p, closeDialog: B } = X(), s = {
219
- email: j(() => import("./ProfileEmailDialog-CCVSMKv7.js")),
220
- phone: j(() => import("./ProfilePhoneDialog-CZKg3xV1.js")),
221
- password: j(() => import("./ProfilePasswordDialog-BxZKRHS6.js"))
219
+ email: j(() => import("./ProfileEmailDialog-BPt1DkNT.js")),
220
+ phone: j(() => import("./ProfilePhoneDialog-CGS6xxYu.js")),
221
+ password: j(() => import("./ProfilePasswordDialog-Po9rSUta.js"))
222
222
  }, d = ({ email: E }) => {
223
223
  r("update-email-field", E);
224
224
  }, c = ({ phone: E }) => {
@@ -226,7 +226,7 @@ const na = {
226
226
  };
227
227
  return me(h, (E) => {
228
228
  i.value = !!E;
229
- }), (E, u) => m(h) ? (w(), I(Re(s[m(h)]), Ge({
229
+ }), (E, u) => m(h) ? (w(), A(Re(s[m(h)]), Ge({
230
230
  key: 0,
231
231
  modelValue: i.value,
232
232
  "onUpdate:modelValue": u[0] || (u[0] = (f) => i.value = f),
@@ -235,12 +235,12 @@ const na = {
235
235
  }, m(p), {
236
236
  onClose: m(B),
237
237
  onCleanInputErrors: u[1] || (u[1] = (f) => r("clean-input-errors")),
238
- onOnUpdateJwt: u[2] || (u[2] = (f, P, o) => r("on-update-jwt", f, P, o)),
238
+ onOnUpdateJwt: u[2] || (u[2] = (f, b, o) => r("on-update-jwt", f, b, o)),
239
239
  onSubmitEmail: d,
240
240
  onSubmitPhone: c,
241
- onOnPasswordError: u[3] || (u[3] = (f, P) => r("on-password-error", f, P)),
241
+ onOnPasswordError: u[3] || (u[3] = (f, b) => r("on-password-error", f, b)),
242
242
  onOnToast: u[4] || (u[4] = (f) => r("on-toast", f))
243
- }), null, 16, ["modelValue", "language", "provider", "onClose"])) : b("", !0);
243
+ }), null, 16, ["modelValue", "language", "provider", "onClose"])) : P("", !0);
244
244
  }
245
245
  }), sa = { class: "base-container" }, ia = {
246
246
  key: 0,
@@ -277,7 +277,7 @@ const na = {
277
277
  },
278
278
  emits: ["open-email-dialog", "open-phone-dialog", "open-password-dialog", "on-update-jwt", "on-password-error", "update-tokens"],
279
279
  setup(l, { emit: n }) {
280
- const r = l, i = n, h = T(() => r.language ?? "ru"), p = (e) => na[h.value][e] || e, { openDialog: B } = X(), s = q({ firstName: "", lastName: "" }), d = v({ firstName: "", lastName: "" }), c = q({ firstName: !1, lastName: !1, email: !1, phone: !1 }), E = v(""), u = v(""), f = v(""), P = v(!1), o = q({
280
+ const r = l, i = n, h = T(() => r.language ?? "ru"), p = (e) => na[h.value][e] || e, { openDialog: B } = X(), s = q({ firstName: "", lastName: "" }), d = v({ firstName: "", lastName: "" }), c = q({ firstName: !1, lastName: !1, email: !1, phone: !1 }), E = v(""), u = v(""), f = v(""), b = v(!1), o = q({
281
281
  value: null,
282
282
  loading: !1,
283
283
  accept: ["image/png", "image/jpeg"],
@@ -285,7 +285,7 @@ const na = {
285
285
  // 10mb вроде
286
286
  imageBinary: null,
287
287
  imageContent: ""
288
- }), S = v(!1), A = v(!1), V = v(!1), x = v(!1), R = v(!0), G = v(!0), ee = v(void 0), ae = v(""), pe = T(() => oe(s.firstName, c.firstName)), fe = T(() => oe(s.lastName, c.lastName)), ge = T(() => c.email && !u.value.trim() ? "Введите e-mail" : ""), ve = T(() => c.phone && !f.value.trim() ? "Введите номер телефона" : ""), D = (e) => r.fields.some((a) => a.key === e), te = (e) => e && e.trim() ? "edit" : "bind", J = () => setTimeout(() => {
288
+ }), D = v(!1), F = v(!1), V = v(!1), x = v(!1), R = v(!0), G = v(!0), ee = v(void 0), ae = v(""), pe = T(() => oe(s.firstName, c.firstName)), fe = T(() => oe(s.lastName, c.lastName)), ge = T(() => c.email && !u.value.trim() ? "Введите e-mail" : ""), ve = T(() => c.phone && !f.value.trim() ? "Введите номер телефона" : ""), I = (e) => r.fields.some((a) => a.key === e), te = (e) => e && e.trim() ? "edit" : "bind", J = () => setTimeout(() => {
289
289
  var e;
290
290
  return (e = document.activeElement) == null ? void 0 : e.blur();
291
291
  }, 0), he = T(() => !!(u.value && u.value.trim() !== "")), we = T(() => o.imageContent ? p("Загрузить другое фото") : p("Загрузить фото")), oe = (e, a) => {
@@ -328,7 +328,7 @@ const na = {
328
328
  re(), o.value = null;
329
329
  return;
330
330
  }
331
- S.value = !1, A.value = !1, o.value = e, o.imageBinary = e.fileBinary ?? null, o.imageContent = e.fileContent ?? "", P.value = !0;
331
+ D.value = !1, F.value = !1, o.value = e, o.imageBinary = e.fileBinary ?? null, o.imageContent = e.fileContent ?? "", b.value = !0;
332
332
  }, Be = async () => {
333
333
  try {
334
334
  const a = (await oa("/users/profile/delete/avatar")).data;
@@ -337,17 +337,17 @@ const na = {
337
337
  return console.error("Ошибка при удалении аватара:", e), !1;
338
338
  }
339
339
  }, re = () => {
340
- S.value = !0, o.value = null, o.imageBinary = null, o.imageContent = "", P.value = !1;
340
+ D.value = !0, o.value = null, o.imageBinary = null, o.imageContent = "", b.value = !1;
341
341
  }, De = () => {
342
- A.value = !0, o.value = null, o.imageBinary = null, o.imageContent = "", P.value = !1;
342
+ F.value = !0, o.value = null, o.imageBinary = null, o.imageContent = "", b.value = !1;
343
343
  }, ne = async (e, a, t = "image/png") => {
344
344
  if (!e) return null;
345
345
  const C = await (await fetch(e)).blob();
346
346
  return new File([C], a, { type: t });
347
347
  }, Fe = () => {
348
- o.value = null, o.imageBinary = null, o.imageContent = "", P.value = !1;
348
+ o.value = null, o.imageBinary = null, o.imageContent = "", b.value = !1;
349
349
  }, Ie = async (e) => {
350
- P.value = !1;
350
+ b.value = !1;
351
351
  const a = o.imageContent;
352
352
  if (o.imageContent = e, !o.imageBinary) return;
353
353
  const t = await ne(
@@ -369,7 +369,7 @@ const na = {
369
369
  text: p("Не удалось сохранить изменения. Попробуйте позже")
370
370
  }), o.imageContent = a;
371
371
  } finally {
372
- S.value = !1, A.value = !1, o.loading = !1;
372
+ D.value = !1, F.value = !1, o.loading = !1;
373
373
  }
374
374
  }, Se = async (e) => {
375
375
  o.imageContent = e ?? "", o.imageBinary && (o.imageBinary = await ne(
@@ -474,7 +474,7 @@ const na = {
474
474
  onOnToast: $
475
475
  }, null, 8, ["language", "provider"]),
476
476
  _("div", sa, [
477
- D("avatar") ? (w(), I(m(We), {
477
+ I("avatar") ? (w(), A(m(We), {
478
478
  key: 0,
479
479
  modelValue: o.value,
480
480
  "onUpdate:modelValue": [
@@ -491,16 +491,17 @@ const na = {
491
491
  onDelete: Be,
492
492
  "onChange:error": re
493
493
  }, {
494
- afterLoadLabel: F(() => [
494
+ afterLoadLabel: S(() => [
495
495
  Y(U(we.value), 1)
496
496
  ]),
497
- subtext: F(() => [
498
- A.value ? (w(), k("span", ia, U("Недопустимый формат файла, разрешены только JPEG, PNG"))) : b("", !0),
499
- S.value ? (w(), k("span", ua, U("Размер фото слишком большой. Загрузите JPEG, PNG до 10 MB"))) : (w(), k("span", ma, U(`${p("Формат")} ${m(ea)(o.accept).join(", ")} ${p("до")} ${m(Qe)(o.uploadLimit)}`), 1))
497
+ subtext: S(() => [
498
+ F.value ? (w(), k("span", ia, U("Недопустимый формат файла, разрешены только JPEG, PNG"))) : P("", !0),
499
+ D.value ? (w(), k("span", ua, U("Размер фото слишком большой. Загрузите JPEG, PNG до 10 MB"))) : P("", !0),
500
+ !D.value && !F.value ? (w(), k("span", ma, U(`${p("Формат")} ${m(ea)(o.accept).join(", ")} ${p("до")} ${m(Qe)(o.uploadLimit)}`), 1)) : P("", !0)
500
501
  ]),
501
502
  _: 1
502
- }, 8, ["modelValue", "src", "accept", "loading", "label", "upload-limit"])) : b("", !0),
503
- D("firstName") ? (w(), k("div", da, [
503
+ }, 8, ["modelValue", "src", "accept", "loading", "label", "upload-limit"])) : P("", !0),
504
+ I("firstName") ? (w(), k("div", da, [
504
505
  g(m(z), {
505
506
  modelValue: s.firstName,
506
507
  "onUpdate:modelValue": a[2] || (a[2] = (t) => s.firstName = t),
@@ -511,8 +512,8 @@ const na = {
511
512
  onInput: a[4] || (a[4] = (t) => O("firstName"))
512
513
  }, null, 8, ["modelValue", "label", "error"]),
513
514
  g(m(L), { class: "icon-locked" })
514
- ])) : b("", !0),
515
- D("lastName") ? (w(), k("div", ca, [
515
+ ])) : P("", !0),
516
+ I("lastName") ? (w(), k("div", ca, [
516
517
  g(m(z), {
517
518
  modelValue: s.lastName,
518
519
  "onUpdate:modelValue": a[5] || (a[5] = (t) => s.lastName = t),
@@ -523,8 +524,8 @@ const na = {
523
524
  onInput: a[7] || (a[7] = (t) => O("lastName"))
524
525
  }, null, 8, ["modelValue", "label", "error"]),
525
526
  g(m(L), { class: "icon-locked" })
526
- ])) : b("", !0),
527
- D("email") ? (w(), k("div", pa, [
527
+ ])) : P("", !0),
528
+ I("email") ? (w(), k("div", pa, [
528
529
  g(m(z), {
529
530
  modelValue: u.value,
530
531
  "onUpdate:modelValue": a[8] || (a[8] = (t) => u.value = t),
@@ -540,8 +541,8 @@ const na = {
540
541
  onClick: Ee
541
542
  }, null, 8, ["modelValue", "error"]),
542
543
  g(m(L), { class: "icon-locked" })
543
- ])) : b("", !0),
544
- D("phone") ? (w(), k("div", fa, [
544
+ ])) : P("", !0),
545
+ I("phone") ? (w(), k("div", fa, [
545
546
  g(m(z), {
546
547
  modelValue: f.value,
547
548
  "onUpdate:modelValue": a[11] || (a[11] = (t) => f.value = t),
@@ -557,34 +558,34 @@ const na = {
557
558
  onClick: Ne
558
559
  }, null, 8, ["modelValue", "label", "error"]),
559
560
  g(m(L), { class: "icon-locked" })
560
- ])) : b("", !0),
561
+ ])) : P("", !0),
561
562
  _("div", ga, [
562
- he.value ? (w(), I(m(ue), {
563
+ he.value ? (w(), A(m(ue), {
563
564
  key: 0,
564
565
  color: "secondary",
565
566
  onClick: Oe
566
567
  }, {
567
- default: F(() => [
568
+ default: S(() => [
568
569
  Y(U(p("Сменить пароль")), 1)
569
570
  ]),
570
571
  _: 1
571
- })) : b("", !0),
572
+ })) : P("", !0),
572
573
  g(m(ue), {
573
574
  disabled: !V.value,
574
575
  onClick: $e
575
576
  }, {
576
- default: F(() => [
577
+ default: S(() => [
577
578
  Y(U(p("Сохранить")), 1)
578
579
  ]),
579
580
  _: 1
580
581
  }, 8, ["disabled"])
581
582
  ])
582
583
  ]),
583
- P.value ? (w(), I(ie, {
584
+ b.value ? (w(), A(ie, {
584
585
  key: 0,
585
586
  to: "body"
586
587
  }, [
587
- P.value ? (w(), k("div", va, [
588
+ b.value ? (w(), k("div", va, [
588
589
  g(m(Ke), {
589
590
  "circle-mode": !0,
590
591
  "model-value": o.imageContent,
@@ -592,12 +593,12 @@ const na = {
592
593
  onSave: a[14] || (a[14] = (t) => Ie(t)),
593
594
  "onUpdate:modelValue": a[15] || (a[15] = (t) => Se(t))
594
595
  }, null, 8, ["model-value"])
595
- ])) : b("", !0)
596
- ])) : b("", !0),
597
- (w(), I(ie, { to: "#toast-root" }, [
596
+ ])) : P("", !0)
597
+ ])) : P("", !0),
598
+ (w(), A(ie, { to: "#toast-root" }, [
598
599
  _("div", ha, [
599
600
  g(je, { name: "list" }, {
600
- default: F(() => [
601
+ default: S(() => [
601
602
  qe(g(m(Ze), {
602
603
  class: "toast",
603
604
  color: ee.value,
@@ -619,7 +620,7 @@ const na = {
619
620
  for (const [i, h] of n)
620
621
  r[i] = h;
621
622
  return r;
622
- }, Ea = /* @__PURE__ */ ya(wa, [["__scopeId", "data-v-bc92c839"]]), Ta = /* @__PURE__ */ H({
623
+ }, Ea = /* @__PURE__ */ ya(wa, [["__scopeId", "data-v-f0be27ee"]]), Ta = /* @__PURE__ */ H({
623
624
  __name: "index",
624
625
  props: {
625
626
  throttlerPrefix: {},
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".avatar-input[data-v-bc92c839] .p-input-file .overlay{visibility:hidden}.avatar-input[data-v-bc92c839] .p-input-file:hover .overlay{visibility:visible}.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:440px;min-height:94px;background:#e4606026;border-radius:8px}.finalLimitText{text-align:center;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 } from "./index-BSQq7qYA.js";
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".avatar-input[data-v-f0be27ee] .p-input-file .overlay{visibility:hidden}.avatar-input[data-v-f0be27ee] .p-input-file:hover .overlay{visibility:visible}.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:440px;min-height:94px;background:#e4606026;border-radius:8px}.finalLimitText{text-align:center;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 } from "./index-C0IlP0F_.js";
3
3
  export {
4
4
  o as PEditUserContact
5
5
  };
@@ -1,6 +1,6 @@
1
1
  import { ref as l, defineComponent as L, createElementBlock as f, openBlock as v, normalizeClass as r, createVNode as E, unref as F, computed as T, renderSlot as d, createCommentVNode as $, createElementVNode as o, toDisplayString as y, createTextVNode as p } from "vue";
2
2
  import { PLoader as w } from "@profeat/ui-kit";
3
- import { _ as g, g as R, p as h } from "./index-BSQq7qYA.js";
3
+ import { _ as g, g as R, p as h } from "./index-C0IlP0F_.js";
4
4
  function C(e) {
5
5
  const t = Math.floor(e / 60), a = e % 60;
6
6
  return `${String(t).padStart(2, "0")}:${String(a).padStart(2, "0")}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yourgoods/ui-smart",
3
- "version": "0.43.0",
3
+ "version": "0.44.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",