vant 4.10.0 → 4.10.2

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.
@@ -66,8 +66,8 @@ var stdin_default = {
66
66
  count: (count) => `${count}\u679A\u304C\u5229\u7528\u53EF\u80FD`
67
67
  },
68
68
  vanCouponList: {
69
- exchange: "\u4E21\u66FF",
70
- close: "\u4F7F\u7528\u7981\u6B62",
69
+ exchange: "\u4EA4\u63DB",
70
+ close: "\u4F7F\u7528\u3057\u306A\u3044",
71
71
  enable: "\u5229\u7528\u53EF\u80FD",
72
72
  disabled: "\u5229\u7528\u3067\u304D\u307E\u305B\u3093",
73
73
  placeholder: "\u5272\u5F15\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"
@@ -18,7 +18,7 @@ export declare const popupProps: {
18
18
  default: true;
19
19
  };
20
20
  beforeClose: import("vue").PropType<import("../utils").Interceptor>;
21
- overlayProps: import("vue").PropType<Partial<import("../overlay").OverlayProps>>;
21
+ overlayProps: import("vue").PropType<Partial<import("..").OverlayProps>>;
22
22
  overlayStyle: import("vue").PropType<CSSProperties>;
23
23
  overlayClass: import("vue").PropType<unknown>;
24
24
  transitionAppear: BooleanConstructor;
@@ -67,7 +67,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
67
67
  default: true;
68
68
  };
69
69
  beforeClose: import("vue").PropType<import("../utils").Interceptor>;
70
- overlayProps: import("vue").PropType<Partial<import("../overlay").OverlayProps>>;
70
+ overlayProps: import("vue").PropType<Partial<import("..").OverlayProps>>;
71
71
  overlayStyle: import("vue").PropType<CSSProperties>;
72
72
  overlayClass: import("vue").PropType<unknown>;
73
73
  transitionAppear: BooleanConstructor;
@@ -114,7 +114,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
114
114
  default: true;
115
115
  };
116
116
  beforeClose: import("vue").PropType<import("../utils").Interceptor>;
117
- overlayProps: import("vue").PropType<Partial<import("../overlay").OverlayProps>>;
117
+ overlayProps: import("vue").PropType<Partial<import("..").OverlayProps>>;
118
118
  overlayStyle: import("vue").PropType<CSSProperties>;
119
119
  overlayClass: import("vue").PropType<unknown>;
120
120
  transitionAppear: BooleanConstructor;
@@ -19,20 +19,20 @@ export declare const searchProps: {
19
19
  type: (NumberConstructor | StringConstructor)[];
20
20
  default: string;
21
21
  };
22
- inputAlign: import("vue").PropType<import("../field").FieldTextAlign>;
22
+ inputAlign: import("vue").PropType<import("..").FieldTextAlign>;
23
23
  placeholder: StringConstructor;
24
24
  autocomplete: StringConstructor;
25
25
  autocapitalize: StringConstructor;
26
26
  autocorrect: StringConstructor;
27
27
  errorMessage: StringConstructor;
28
- enterkeyhint: import("vue").PropType<import("../field").FieldEnterKeyHint>;
28
+ enterkeyhint: import("vue").PropType<import("..").FieldEnterKeyHint>;
29
29
  clearTrigger: {
30
- type: import("vue").PropType<import("../field").FieldClearTrigger>;
31
- default: import("../field").FieldClearTrigger;
30
+ type: import("vue").PropType<import("..").FieldClearTrigger>;
31
+ default: import("..").FieldClearTrigger;
32
32
  };
33
33
  formatTrigger: {
34
- type: import("vue").PropType<import("../field").FieldFormatTrigger>;
35
- default: import("../field").FieldFormatTrigger;
34
+ type: import("vue").PropType<import("..").FieldFormatTrigger>;
35
+ default: import("..").FieldFormatTrigger;
36
36
  };
37
37
  spellcheck: {
38
38
  type: BooleanConstructor;
@@ -89,20 +89,20 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
89
89
  type: (NumberConstructor | StringConstructor)[];
90
90
  default: string;
91
91
  };
92
- inputAlign: import("vue").PropType<import("../field").FieldTextAlign>;
92
+ inputAlign: import("vue").PropType<import("..").FieldTextAlign>;
93
93
  placeholder: StringConstructor;
94
94
  autocomplete: StringConstructor;
95
95
  autocapitalize: StringConstructor;
96
96
  autocorrect: StringConstructor;
97
97
  errorMessage: StringConstructor;
98
- enterkeyhint: import("vue").PropType<import("../field").FieldEnterKeyHint>;
98
+ enterkeyhint: import("vue").PropType<import("..").FieldEnterKeyHint>;
99
99
  clearTrigger: {
100
- type: import("vue").PropType<import("../field").FieldClearTrigger>;
101
- default: import("../field").FieldClearTrigger;
100
+ type: import("vue").PropType<import("..").FieldClearTrigger>;
101
+ default: import("..").FieldClearTrigger;
102
102
  };
103
103
  formatTrigger: {
104
- type: import("vue").PropType<import("../field").FieldFormatTrigger>;
105
- default: import("../field").FieldFormatTrigger;
104
+ type: import("vue").PropType<import("..").FieldFormatTrigger>;
105
+ default: import("..").FieldFormatTrigger;
106
106
  };
107
107
  spellcheck: {
108
108
  type: BooleanConstructor;
@@ -157,20 +157,20 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
157
157
  type: (NumberConstructor | StringConstructor)[];
158
158
  default: string;
159
159
  };
160
- inputAlign: import("vue").PropType<import("../field").FieldTextAlign>;
160
+ inputAlign: import("vue").PropType<import("..").FieldTextAlign>;
161
161
  placeholder: StringConstructor;
162
162
  autocomplete: StringConstructor;
163
163
  autocapitalize: StringConstructor;
164
164
  autocorrect: StringConstructor;
165
165
  errorMessage: StringConstructor;
166
- enterkeyhint: import("vue").PropType<import("../field").FieldEnterKeyHint>;
166
+ enterkeyhint: import("vue").PropType<import("..").FieldEnterKeyHint>;
167
167
  clearTrigger: {
168
- type: import("vue").PropType<import("../field").FieldClearTrigger>;
169
- default: import("../field").FieldClearTrigger;
168
+ type: import("vue").PropType<import("..").FieldClearTrigger>;
169
+ default: import("..").FieldClearTrigger;
170
170
  };
171
171
  formatTrigger: {
172
- type: import("vue").PropType<import("../field").FieldFormatTrigger>;
173
- default: import("../field").FieldFormatTrigger;
172
+ type: import("vue").PropType<import("..").FieldFormatTrigger>;
173
+ default: import("..").FieldFormatTrigger;
174
174
  };
175
175
  spellcheck: {
176
176
  type: BooleanConstructor;
@@ -224,8 +224,8 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
224
224
  clearable: boolean;
225
225
  clearIcon: string;
226
226
  modelValue: string | number;
227
- clearTrigger: import("../field").FieldClearTrigger;
228
- formatTrigger: import("../field").FieldFormatTrigger;
227
+ clearTrigger: import("..").FieldClearTrigger;
228
+ formatTrigger: import("..").FieldFormatTrigger;
229
229
  spellcheck: boolean;
230
230
  error: boolean;
231
231
  readonly: boolean;
@@ -29,10 +29,10 @@ export declare const timePickerProps: {
29
29
  type: PropType<string[]>;
30
30
  default: () => never[];
31
31
  };
32
- filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values: string[]) => import("../picker").PickerOption[]>;
32
+ filter: PropType<(columnType: string, options: import("..").PickerOption[], values: string[]) => import("..").PickerOption[]>;
33
33
  formatter: {
34
- type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
35
- default: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
34
+ type: PropType<(type: string, option: import("..").PickerOption) => import("..").PickerOption>;
35
+ default: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
36
36
  };
37
37
  } & {
38
38
  minHour: {
@@ -107,10 +107,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
107
107
  type: PropType<string[]>;
108
108
  default: () => never[];
109
109
  };
110
- filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values: string[]) => import("../picker").PickerOption[]>;
110
+ filter: PropType<(columnType: string, options: import("..").PickerOption[], values: string[]) => import("..").PickerOption[]>;
111
111
  formatter: {
112
- type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
113
- default: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
112
+ type: PropType<(type: string, option: import("..").PickerOption) => import("..").PickerOption>;
113
+ default: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
114
114
  };
115
115
  } & {
116
116
  minHour: {
@@ -178,10 +178,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
178
178
  type: PropType<string[]>;
179
179
  default: () => never[];
180
180
  };
181
- filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values: string[]) => import("../picker").PickerOption[]>;
181
+ filter: PropType<(columnType: string, options: import("..").PickerOption[], values: string[]) => import("..").PickerOption[]>;
182
182
  formatter: {
183
- type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
184
- default: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
183
+ type: PropType<(type: string, option: import("..").PickerOption) => import("..").PickerOption>;
184
+ default: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
185
185
  };
186
186
  } & {
187
187
  minHour: {
@@ -226,7 +226,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
226
226
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
227
227
  onConfirm?: ((...args: any[]) => any) | undefined;
228
228
  }>, {
229
- formatter: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
229
+ formatter: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
230
230
  modelValue: string[];
231
231
  readonly: boolean;
232
232
  loading: boolean;
@@ -11,7 +11,7 @@ export type Numeric = number | string;
11
11
  export type ComponentInstance = ComponentPublicInstance<{}, any>;
12
12
  export declare const isObject: (val: unknown) => val is Record<any, any>;
13
13
  export declare const isDef: <T>(val: T) => val is NonNullable<T>;
14
- export declare const isFunction: (val: unknown) => val is Function;
14
+ export declare const isFunction: (val: unknown) => val is (...args: any[]) => any;
15
15
  export declare const isPromise: <T = any>(val: unknown) => val is Promise<T>;
16
16
  export declare const isDate: (val: unknown) => val is Date;
17
17
  export declare function isMobile(value: string): boolean;
package/lib/vant.cjs.js CHANGED
@@ -3827,7 +3827,7 @@ var stdin_default$1x = vue.defineComponent({
3827
3827
  }
3828
3828
  };
3829
3829
  return () => {
3830
- var _a;
3830
+ var _a, _b, _c;
3831
3831
  const {
3832
3832
  tag,
3833
3833
  size,
@@ -3836,7 +3836,7 @@ var stdin_default$1x = vue.defineComponent({
3836
3836
  isLink,
3837
3837
  required
3838
3838
  } = props2;
3839
- const clickable = (_a = props2.clickable) != null ? _a : isLink;
3839
+ const clickable = Boolean((_c = (_b = (_a = props2.clickable) != null ? _a : props2.to) != null ? _b : props2.url) != null ? _c : isLink);
3840
3840
  const classes = {
3841
3841
  center,
3842
3842
  required: !!required,
@@ -17206,7 +17206,7 @@ const Lazyload = {
17206
17206
  });
17207
17207
  }
17208
17208
  };
17209
- const version = "4.10.0";
17209
+ const version = "4.10.2";
17210
17210
  function install(app) {
17211
17211
  const components = [
17212
17212
  ActionBar,
package/lib/vant.es.js CHANGED
@@ -3825,7 +3825,7 @@ var stdin_default$1x = defineComponent({
3825
3825
  }
3826
3826
  };
3827
3827
  return () => {
3828
- var _a;
3828
+ var _a, _b, _c;
3829
3829
  const {
3830
3830
  tag,
3831
3831
  size,
@@ -3834,7 +3834,7 @@ var stdin_default$1x = defineComponent({
3834
3834
  isLink,
3835
3835
  required
3836
3836
  } = props2;
3837
- const clickable = (_a = props2.clickable) != null ? _a : isLink;
3837
+ const clickable = Boolean((_c = (_b = (_a = props2.clickable) != null ? _a : props2.to) != null ? _b : props2.url) != null ? _c : isLink);
3838
3838
  const classes = {
3839
3839
  center,
3840
3840
  required: !!required,
@@ -17204,7 +17204,7 @@ const Lazyload = {
17204
17204
  });
17205
17205
  }
17206
17206
  };
17207
- const version = "4.10.0";
17207
+ const version = "4.10.2";
17208
17208
  function install(app) {
17209
17209
  const components = [
17210
17210
  ActionBar,
package/lib/vant.js CHANGED
@@ -2365,7 +2365,7 @@
2365
2365
  return propRef;
2366
2366
  };
2367
2367
  /**
2368
- * @vue/shared v3.5.39
2368
+ * @vue/shared v3.5.42
2369
2369
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
2370
2370
  * @license MIT
2371
2371
  **/
@@ -4254,7 +4254,7 @@
4254
4254
  }
4255
4255
  };
4256
4256
  return () => {
4257
- var _a;
4257
+ var _a, _b, _c;
4258
4258
  const {
4259
4259
  tag,
4260
4260
  size,
@@ -4263,7 +4263,7 @@
4263
4263
  isLink,
4264
4264
  required
4265
4265
  } = props2;
4266
- const clickable = (_a = props2.clickable) != null ? _a : isLink;
4266
+ const clickable = Boolean((_c = (_b = (_a = props2.clickable) != null ? _a : props2.to) != null ? _b : props2.url) != null ? _c : isLink);
4267
4267
  const classes = {
4268
4268
  center,
4269
4269
  required: !!required,
@@ -18323,7 +18323,7 @@
18323
18323
  });
18324
18324
  }
18325
18325
  };
18326
- const version = "4.10.0";
18326
+ const version = "4.10.2";
18327
18327
  function install(app) {
18328
18328
  const components = [
18329
18329
  ActionBar,