@yourgoods/ui-smart 0.50.1 → 0.51.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-_xFNmM53.js → ProfileEmailDialog-CLM-pIRG.js} +306 -306
- package/dist/{ProfilePasswordDialog-BRL-NxyC.js → ProfilePasswordDialog-BY5VAdH3.js} +1 -1
- package/dist/{ProfilePhoneDialog-DJzWkfsA.js → ProfilePhoneDialog-BdAKmUji.js} +198 -185
- package/dist/components/PEditUserContact/PEditUserContact.vue.d.ts +2 -0
- package/dist/components/PEditUserContact/ProfileDialogs/DialogManager.vue.d.ts +2 -0
- package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/AddNewEmailContent.vue.d.ts +3 -1
- package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/AddNewPhoneContent.vue.d.ts +4 -1
- package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/NewEmailContent.vue.d.ts +4 -2
- package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/NewPhoneContent.vue.d.ts +3 -1
- package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/OldEmailContent.vue.d.ts +3 -1
- package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/OldPhoneContent.vue.d.ts +3 -1
- package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/ThrottlerTimer.vue.d.ts +31 -43
- package/dist/components/PEditUserContact/ProfileDialogs/ProfilePhoneDialog.vue.d.ts +1 -0
- package/dist/components/PEditUserContact/index.vue.d.ts +2 -0
- package/dist/{index-Dt-xD4lU.js → index-5nM1qYsp.js} +196 -190
- package/dist/index.js +2 -2
- package/dist/types.d.ts +10 -0
- package/dist/useRateLimitToast-BS-y9G79.js +151 -0
- package/dist/utils/url.d.ts +2 -0
- package/package.json +1 -1
- package/dist/useRateLimitToast-DID9XsBg.js +0 -134
|
@@ -14,6 +14,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
14
14
|
type?: string;
|
|
15
15
|
}>;
|
|
16
16
|
awsStorageUrl: string;
|
|
17
|
+
onDisableAddPhone: boolean;
|
|
17
18
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
19
|
"on-update-jwt": (flow?: "email" | "phone" | "password" | undefined, mode?: ModeType | undefined, newValue?: string | undefined) => any;
|
|
19
20
|
"on-password-error": (field: "email" | "phone" | "password", message: string) => any;
|
|
@@ -35,6 +36,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
35
36
|
type?: string;
|
|
36
37
|
}>;
|
|
37
38
|
awsStorageUrl: string;
|
|
39
|
+
onDisableAddPhone: boolean;
|
|
38
40
|
}> & Readonly<{
|
|
39
41
|
"onOn-update-jwt"?: ((flow?: "email" | "phone" | "password" | undefined, mode?: ModeType | undefined, newValue?: string | undefined) => any) | undefined;
|
|
40
42
|
"onOn-password-error"?: ((field: "email" | "phone" | "password", message: string) => any) | undefined;
|
|
@@ -3,6 +3,7 @@ import { EmitToastType, LangFormatType, ProviderType } from '../types';
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
language: LangFormatType;
|
|
5
5
|
provider: ProviderType;
|
|
6
|
+
onDisableAddPhone: boolean;
|
|
6
7
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
8
|
"on-toast": (value: EmitToastType) => any;
|
|
8
9
|
"clean-input-errors": () => any;
|
|
@@ -13,6 +14,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
13
14
|
}, string, import('vue').PublicProps, Readonly<{
|
|
14
15
|
language: LangFormatType;
|
|
15
16
|
provider: ProviderType;
|
|
17
|
+
onDisableAddPhone: boolean;
|
|
16
18
|
}> & Readonly<{
|
|
17
19
|
"onOn-toast"?: ((value: EmitToastType) => any) | undefined;
|
|
18
20
|
"onClean-input-errors"?: (() => any) | undefined;
|
package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/AddNewEmailContent.vue.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Provider } from '../../../../types';
|
|
1
2
|
interface Props {
|
|
2
3
|
email: string;
|
|
3
4
|
oldEmail: string;
|
|
@@ -9,6 +10,7 @@ interface Props {
|
|
|
9
10
|
isFinalLimit: boolean;
|
|
10
11
|
isNotMatchCode: boolean;
|
|
11
12
|
loading: boolean;
|
|
13
|
+
product: Provider;
|
|
12
14
|
}
|
|
13
15
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
16
|
edit: (field: "email") => any;
|
|
@@ -53,10 +55,10 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
53
55
|
}) => any) | undefined;
|
|
54
56
|
"onOn-clear-code-error"?: (() => any) | undefined;
|
|
55
57
|
}>, {
|
|
58
|
+
rateLimitText: string;
|
|
56
59
|
hintText: string;
|
|
57
60
|
emailError: string;
|
|
58
61
|
codeError: string;
|
|
59
|
-
rateLimitText: string;
|
|
60
62
|
showEmail: boolean;
|
|
61
63
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
62
64
|
export default _default;
|
package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/AddNewPhoneContent.vue.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Provider } from '../../../../types';
|
|
1
2
|
interface Props {
|
|
2
3
|
phone: string;
|
|
3
4
|
oldPhone: string;
|
|
@@ -11,6 +12,8 @@ interface Props {
|
|
|
11
12
|
isNotMatchCode: boolean;
|
|
12
13
|
loading: boolean;
|
|
13
14
|
isTg: boolean;
|
|
15
|
+
product: Provider;
|
|
16
|
+
onDisableAddPhone: boolean;
|
|
14
17
|
}
|
|
15
18
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
19
|
edit: (field: "phone") => any;
|
|
@@ -61,9 +64,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
61
64
|
phone: string;
|
|
62
65
|
}) => any) | undefined;
|
|
63
66
|
}>, {
|
|
67
|
+
rateLimitText: string;
|
|
64
68
|
hintText: string;
|
|
65
69
|
codeError: string;
|
|
66
|
-
rateLimitText: string;
|
|
67
70
|
phoneError: string;
|
|
68
71
|
showPhone: boolean;
|
|
69
72
|
sendCodeBySmsText: string;
|
package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/NewEmailContent.vue.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Provider } from '../../../../types';
|
|
1
2
|
interface Props {
|
|
2
3
|
email: string;
|
|
3
4
|
oldEmail: string;
|
|
@@ -9,6 +10,7 @@ interface Props {
|
|
|
9
10
|
isFinalLimit: boolean;
|
|
10
11
|
isNotMatchCode: boolean;
|
|
11
12
|
loading: boolean;
|
|
13
|
+
product: Provider;
|
|
12
14
|
}
|
|
13
15
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
16
|
edit: (field: "email") => any;
|
|
@@ -53,12 +55,12 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
53
55
|
}) => any) | undefined;
|
|
54
56
|
"onOn-clear-code-error"?: (() => any) | undefined;
|
|
55
57
|
}>, {
|
|
58
|
+
rateLimitText: string;
|
|
59
|
+
isFinalLimit: boolean;
|
|
56
60
|
hintText: string;
|
|
57
61
|
emailError: string;
|
|
58
62
|
codeError: string;
|
|
59
|
-
rateLimitText: string;
|
|
60
63
|
showEmail: boolean;
|
|
61
|
-
isFinalLimit: boolean;
|
|
62
64
|
isNotMatchCode: boolean;
|
|
63
65
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
64
66
|
export default _default;
|
package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/NewPhoneContent.vue.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Provider } from '../../../../types';
|
|
1
2
|
interface Props {
|
|
2
3
|
phone: string;
|
|
3
4
|
oldPhone: string;
|
|
@@ -11,6 +12,7 @@ interface Props {
|
|
|
11
12
|
isNotMatchCode: boolean;
|
|
12
13
|
loading: boolean;
|
|
13
14
|
isTg: boolean;
|
|
15
|
+
product: Provider;
|
|
14
16
|
}
|
|
15
17
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
18
|
edit: (field: "phone") => any;
|
|
@@ -61,9 +63,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
61
63
|
phone: string;
|
|
62
64
|
}) => any) | undefined;
|
|
63
65
|
}>, {
|
|
66
|
+
rateLimitText: string;
|
|
64
67
|
hintText: string;
|
|
65
68
|
codeError: string;
|
|
66
|
-
rateLimitText: string;
|
|
67
69
|
isNotMatchCode: boolean;
|
|
68
70
|
phoneError: string;
|
|
69
71
|
showPhone: boolean;
|
package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/OldEmailContent.vue.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Provider } from '../../../../types';
|
|
1
2
|
interface Props {
|
|
2
3
|
email: string;
|
|
3
4
|
code: string;
|
|
@@ -10,6 +11,7 @@ interface Props {
|
|
|
10
11
|
isFinalLimit: boolean;
|
|
11
12
|
isNotMatchCode: boolean;
|
|
12
13
|
loading: boolean;
|
|
14
|
+
product: Provider;
|
|
13
15
|
}
|
|
14
16
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
17
|
edit: (field: "email") => any;
|
|
@@ -44,10 +46,10 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
44
46
|
}) => any) | undefined;
|
|
45
47
|
"onOn-clear-code-error"?: (() => any) | undefined;
|
|
46
48
|
}>, {
|
|
49
|
+
rateLimitText: string;
|
|
47
50
|
hintText: string;
|
|
48
51
|
emailError: string;
|
|
49
52
|
codeError: string;
|
|
50
|
-
rateLimitText: string;
|
|
51
53
|
showEmail: boolean;
|
|
52
54
|
isNotMatchCode: boolean;
|
|
53
55
|
showCode: boolean;
|
package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/OldPhoneContent.vue.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Provider } from '../../../../types';
|
|
1
2
|
interface Props {
|
|
2
3
|
phone: string;
|
|
3
4
|
code: string;
|
|
@@ -12,6 +13,7 @@ interface Props {
|
|
|
12
13
|
isNotMatchCode: boolean;
|
|
13
14
|
loading: boolean;
|
|
14
15
|
isTg: boolean;
|
|
16
|
+
product: Provider;
|
|
15
17
|
}
|
|
16
18
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
19
|
edit: (field: "phone") => any;
|
|
@@ -52,9 +54,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
52
54
|
phone: string;
|
|
53
55
|
}) => any) | undefined;
|
|
54
56
|
}>, {
|
|
57
|
+
rateLimitText: string;
|
|
55
58
|
hintText: string;
|
|
56
59
|
codeError: string;
|
|
57
|
-
rateLimitText: string;
|
|
58
60
|
showCode: boolean;
|
|
59
61
|
phoneError: string;
|
|
60
62
|
showPhone: boolean;
|
package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/ThrottlerTimer.vue.d.ts
CHANGED
|
@@ -1,45 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
26
|
-
loading: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
rateLimitText: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
isFinalLimit: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
onSendAgain: {
|
|
39
|
-
type: FunctionConstructor;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
}>> & Readonly<{}>, {
|
|
1
|
+
import { Provider } from '../../../../types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
slots: {
|
|
4
|
+
active?(_: {}): any;
|
|
5
|
+
extra?(_: {}): any;
|
|
6
|
+
final?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
rateLimitText: string;
|
|
15
|
+
isFinalLimit: boolean;
|
|
16
|
+
onSendAgain: Function;
|
|
17
|
+
product: Provider;
|
|
18
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
rateLimitText: string;
|
|
21
|
+
isFinalLimit: boolean;
|
|
22
|
+
onSendAgain: Function;
|
|
23
|
+
product: Provider;
|
|
24
|
+
}> & Readonly<{}>, {
|
|
43
25
|
loading: boolean;
|
|
44
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
45
28
|
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -14,6 +14,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
14
14
|
type?: string;
|
|
15
15
|
}>;
|
|
16
16
|
awsStorageUrl: string;
|
|
17
|
+
onDisableAddPhone: boolean;
|
|
17
18
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
19
|
"on-update-jwt": (flow?: "email" | "phone" | "password" | undefined, mode?: ModeType | undefined, newValue?: string | undefined) => any;
|
|
19
20
|
"update-tokens": (accessToken: string, refreshToken: string) => any;
|
|
@@ -31,6 +32,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
31
32
|
type?: string;
|
|
32
33
|
}>;
|
|
33
34
|
awsStorageUrl: string;
|
|
35
|
+
onDisableAddPhone: boolean;
|
|
34
36
|
}> & Readonly<{
|
|
35
37
|
"onOn-update-jwt"?: ((flow?: "email" | "phone" | "password" | undefined, mode?: ModeType | undefined, newValue?: string | undefined) => any) | undefined;
|
|
36
38
|
"onUpdate-tokens"?: ((accessToken: string, refreshToken: string) => any) | undefined;
|