@yourgoods/ui-smart 0.2.0 → 0.3.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.
@@ -32,6 +32,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
32
32
  phone: string;
33
33
  }) => any;
34
34
  "update:phone": (value: string) => any;
35
+ "on-send-only-sms": (value: {
36
+ phone: string;
37
+ }) => any;
35
38
  }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
36
39
  onEdit?: ((field: "phone") => any) | undefined;
37
40
  "onUpdate:code"?: ((value: string) => any) | undefined;
@@ -52,6 +55,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
52
55
  phone: string;
53
56
  }) => any) | undefined;
54
57
  "onUpdate:phone"?: ((value: string) => any) | undefined;
58
+ "onOn-send-only-sms"?: ((value: {
59
+ phone: string;
60
+ }) => any) | undefined;
55
61
  }>, {
56
62
  hintText: string;
57
63
  codeError: string;
@@ -32,6 +32,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
32
32
  phone: string;
33
33
  }) => any;
34
34
  "update:phone": (value: string) => any;
35
+ "on-send-only-sms": (value: {
36
+ phone: string;
37
+ }) => any;
35
38
  }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
36
39
  onEdit?: ((field: "phone") => any) | undefined;
37
40
  "onUpdate:code"?: ((value: string) => any) | undefined;
@@ -52,6 +55,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
52
55
  phone: string;
53
56
  }) => any) | undefined;
54
57
  "onUpdate:phone"?: ((value: string) => any) | undefined;
58
+ "onOn-send-only-sms"?: ((value: {
59
+ phone: string;
60
+ }) => any) | undefined;
55
61
  }>, {
56
62
  hintText: string;
57
63
  codeError: string;
@@ -28,6 +28,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
28
28
  phone: string;
29
29
  }) => any;
30
30
  "update:phone": (value: string) => any;
31
+ "on-send-only-sms": (value: {
32
+ phone: string;
33
+ }) => any;
31
34
  }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
32
35
  onEdit?: ((field: "phone") => any) | undefined;
33
36
  "onUpdate:code"?: ((value: string) => any) | undefined;
@@ -43,6 +46,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
43
46
  phone: string;
44
47
  }) => any) | undefined;
45
48
  "onUpdate:phone"?: ((value: string) => any) | undefined;
49
+ "onOn-send-only-sms"?: ((value: {
50
+ phone: string;
51
+ }) => any) | undefined;
46
52
  }>, {
47
53
  hintText: string;
48
54
  codeError: string;
@@ -34,13 +34,15 @@ declare const _default: import('vue').DefineComponent<Props, {
34
34
  title: import('vue').ComputedRef<string>;
35
35
  hintText: import('vue').ComputedRef<string>;
36
36
  handleClose: () => void;
37
- sendContactCode: ({ value, offLoading }?: {
37
+ sendContactCode: ({ value, isOnlySms, offLoading }?: {
38
38
  value?: string;
39
+ isOnlySms?: boolean;
39
40
  offLoading?: boolean;
40
- }) => Promise<import('axios').AxiosResponse<any, any, {}>>;
41
- sendBindContactCode: ({ value, field, offLoading }?: {
41
+ }) => Promise<any>;
42
+ sendBindContactCode: ({ value, field, isOnlySms, offLoading }?: {
42
43
  value?: string;
43
44
  field?: "email" | "phone";
45
+ isOnlySms?: boolean;
44
46
  offLoading?: boolean;
45
47
  }) => Promise<import('axios').AxiosResponse<any, any, {}>>;
46
48
  handleOldCodeSuccess: ({ code }: {