@yourgoods/ui-smart 0.47.2 → 0.49.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/{ProfileEmailDialog-vwIZpfRo.js → ProfileEmailDialog-sZkCbkOn.js} +2 -2
- package/dist/{ProfilePasswordDialog-ChLEMwpo.js → ProfilePasswordDialog-LdM_8zVG.js} +1 -1
- package/dist/ProfilePhoneDialog-BF5sey9V.js +853 -0
- package/dist/components/PEditUserContact/ProfileDialogs/ProfilePhoneDialog.vue.d.ts +2 -2
- package/dist/{index-S55cd5eY.js → index-3V186vCD.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{useRateLimitToast-B3OCkesh.js → useRateLimitToast-_WymxlzB.js} +1 -1
- package/package.json +1 -1
- package/dist/ProfilePhoneDialog-DzcH5SmV.js +0 -841
|
@@ -38,13 +38,13 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
38
38
|
value?: string;
|
|
39
39
|
isOnlySms?: boolean;
|
|
40
40
|
offLoading?: boolean;
|
|
41
|
-
}) => Promise<
|
|
41
|
+
}) => Promise<any>;
|
|
42
42
|
sendBindContactCode: ({ value, field, isOnlySms, offLoading }?: {
|
|
43
43
|
value?: string;
|
|
44
44
|
field?: "email" | "phone";
|
|
45
45
|
isOnlySms?: boolean;
|
|
46
46
|
offLoading?: boolean;
|
|
47
|
-
}) => Promise<
|
|
47
|
+
}) => Promise<any>;
|
|
48
48
|
handleOldCodeSuccess: ({ code }: {
|
|
49
49
|
code: string;
|
|
50
50
|
}) => Promise<import('axios').AxiosResponse<any, any, {}> | undefined>;
|
|
@@ -216,9 +216,9 @@ const ra = {
|
|
|
216
216
|
emits: ["clean-input-errors", "on-update-jwt", "update-phone-field", "update-email-field", "on-password-error", "on-toast"],
|
|
217
217
|
setup(s, { emit: n }) {
|
|
218
218
|
const r = n, u = h(!0), { currentDialog: v, dialogPayload: c, closeDialog: U } = X(), l = {
|
|
219
|
-
email: J(() => import("./ProfileEmailDialog-
|
|
220
|
-
phone: J(() => import("./ProfilePhoneDialog-
|
|
221
|
-
password: J(() => import("./ProfilePasswordDialog-
|
|
219
|
+
email: J(() => import("./ProfileEmailDialog-sZkCbkOn.js")),
|
|
220
|
+
phone: J(() => import("./ProfilePhoneDialog-BF5sey9V.js")),
|
|
221
|
+
password: J(() => import("./ProfilePasswordDialog-LdM_8zVG.js"))
|
|
222
222
|
}, i = ({ email: y }) => {
|
|
223
223
|
r("update-email-field", y);
|
|
224
224
|
}, p = ({ phone: y }) => {
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".avatar-input[data-v-7d90f646] .p-input-file .overlay{visibility:hidden}.avatar-input[data-v-7d90f646] .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-
|
|
2
|
+
import { a as o } from "./index-3V186vCD.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-
|
|
3
|
+
import { _ as g, g as R, p as h } from "./index-3V186vCD.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")}`;
|