@yourgoods/ui-smart 0.50.0 → 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.
Files changed (21) hide show
  1. package/dist/{ProfileEmailDialog-rzPRsM0B.js → ProfileEmailDialog-CLM-pIRG.js} +325 -325
  2. package/dist/{ProfilePasswordDialog-FRHBCNZO.js → ProfilePasswordDialog-BY5VAdH3.js} +1 -1
  3. package/dist/{ProfilePhoneDialog-DyDCK0A6.js → ProfilePhoneDialog-BdAKmUji.js} +324 -317
  4. package/dist/components/PEditUserContact/PEditUserContact.vue.d.ts +2 -0
  5. package/dist/components/PEditUserContact/ProfileDialogs/DialogManager.vue.d.ts +2 -0
  6. package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/AddNewEmailContent.vue.d.ts +3 -1
  7. package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/AddNewPhoneContent.vue.d.ts +4 -1
  8. package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/NewEmailContent.vue.d.ts +4 -2
  9. package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/NewPhoneContent.vue.d.ts +3 -1
  10. package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/OldEmailContent.vue.d.ts +3 -1
  11. package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/OldPhoneContent.vue.d.ts +3 -1
  12. package/dist/components/PEditUserContact/ProfileDialogs/DialogSegments/ThrottlerTimer.vue.d.ts +31 -43
  13. package/dist/components/PEditUserContact/ProfileDialogs/ProfilePhoneDialog.vue.d.ts +1 -0
  14. package/dist/components/PEditUserContact/index.vue.d.ts +2 -0
  15. package/dist/{index-B03tgxbV.js → index-5nM1qYsp.js} +213 -207
  16. package/dist/index.js +2 -2
  17. package/dist/types.d.ts +10 -0
  18. package/dist/useRateLimitToast-BS-y9G79.js +151 -0
  19. package/dist/utils/url.d.ts +2 -0
  20. package/package.json +1 -1
  21. package/dist/useRateLimitToast-BDwiUmEF.js +0 -135
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -1,45 +1,33 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- loading: {
3
- type: BooleanConstructor;
4
- default: boolean;
5
- };
6
- rateLimitText: {
7
- type: StringConstructor;
8
- required: true;
9
- };
10
- isFinalLimit: {
11
- type: BooleanConstructor;
12
- required: true;
13
- };
14
- onSendAgain: {
15
- type: FunctionConstructor;
16
- required: true;
17
- };
18
- }>, {
19
- isRepeat: import('vue').ComputedRef<boolean>;
20
- defaultClass: string;
21
- activeClass: string;
22
- finalWrapperClass: string;
23
- finalTextClass: string;
24
- finalLinkClass: string;
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, true, {}, any>;
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
+ };
@@ -8,6 +8,7 @@ interface Props {
8
8
  initialPhone?: string;
9
9
  language: LangFormatType;
10
10
  provider: ProviderType;
11
+ onDisableAddPhone: boolean;
11
12
  mode?: ModeType;
12
13
  }
13
14
  declare function handleOldCodeError(payload: {
@@ -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;