vant 4.10.0 → 4.10.1

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/README.md CHANGED
@@ -22,6 +22,10 @@
22
22
  ·
23
23
   
24
24
  <a href="./README.zh-CN.md">中文介绍</a>
25
+ &nbsp;
26
+ ·
27
+ &nbsp;
28
+ <a href="./README.ja-JP.md">日本語</a>
25
29
  </p>
26
30
 
27
31
  ---
@@ -158,14 +162,6 @@ Core contributors of Vant and Vant Weapp:
158
162
  | :-: | :-: | :-: | :-: | :-: | :-: |
159
163
  | [Lindysen](https://github.com/Lindysen/) | [JakeLaoyu](https://github.com/JakeLaoyu/) | [landluck](https://github.com/landluck/) | [wjw-gavin](https://github.com/wjw-gavin/) | [inottn](https://github.com/inottn/) | [zhousg](https://github.com/zhousg/) |
160
164
 
161
- ## All Contributors
162
-
163
- Thanks to the following friends for their contributions to Vant:
164
-
165
- <a href="https://github.com/vant-ui/vant/graphs/contributors">
166
- <img src="https://opencollective.com/vant/contributors.svg?width=890&button=false" alt="contributors">
167
- </a>
168
-
169
165
  ## Contribution Guide
170
166
 
171
167
  Please make sure to read the [Contributing Guide](./.github/CONTRIBUTING.md) before making a pull request.
package/es/cell/Cell.mjs CHANGED
@@ -91,7 +91,7 @@ var stdin_default = defineComponent({
91
91
  }
92
92
  };
93
93
  return () => {
94
- var _a;
94
+ var _a, _b, _c;
95
95
  const {
96
96
  tag,
97
97
  size,
@@ -100,7 +100,7 @@ var stdin_default = defineComponent({
100
100
  isLink,
101
101
  required
102
102
  } = props;
103
- const clickable = (_a = props.clickable) != null ? _a : isLink;
103
+ const clickable = Boolean((_c = (_b = (_a = props.clickable) != null ? _a : props.to) != null ? _b : props.url) != null ? _c : isLink);
104
104
  const classes = {
105
105
  center,
106
106
  required: !!required,
package/es/index.d.ts CHANGED
@@ -106,4 +106,4 @@ declare namespace _default {
106
106
  }
107
107
  export default _default;
108
108
  export function install(app: any): void;
109
- export const version: "4.10.0";
109
+ export const version: "4.10.1";
package/es/index.mjs CHANGED
@@ -99,7 +99,7 @@ import { Toast } from "./toast/index.mjs";
99
99
  import { TreeSelect } from "./tree-select/index.mjs";
100
100
  import { Uploader } from "./uploader/index.mjs";
101
101
  import { Watermark } from "./watermark/index.mjs";
102
- const version = "4.10.0";
102
+ const version = "4.10.1";
103
103
  function install(app) {
104
104
  const components = [
105
105
  ActionBar,
@@ -16,7 +16,7 @@ var stdin_default = {
16
16
  end: "Ende",
17
17
  start: "Start",
18
18
  title: "Kalender",
19
- weekdays: ["So", "Mo", "Di", "Mo", "Do", "Fr", "Sa"],
19
+ weekdays: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
20
20
  monthTitle: (year, month) => `${year}/${month}`,
21
21
  rangePrompt: (maxRange) => `W\xE4hle nicht mehr als ${maxRange} Tage`
22
22
  },
@@ -44,8 +44,8 @@ var stdin_default = {
44
44
  count: (count) => `${count}\u679A\u304C\u5229\u7528\u53EF\u80FD`
45
45
  },
46
46
  vanCouponList: {
47
- exchange: "\u4E21\u66FF",
48
- close: "\u4F7F\u7528\u7981\u6B62",
47
+ exchange: "\u4EA4\u63DB",
48
+ close: "\u4F7F\u7528\u3057\u306A\u3044",
49
49
  enable: "\u5229\u7528\u53EF\u80FD",
50
50
  disabled: "\u5229\u7528\u3067\u304D\u307E\u305B\u3093",
51
51
  placeholder: "\u5272\u5F15\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"
@@ -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/cell/Cell.js CHANGED
@@ -115,7 +115,7 @@ var stdin_default = (0, import_vue.defineComponent)({
115
115
  }
116
116
  };
117
117
  return () => {
118
- var _a;
118
+ var _a, _b, _c;
119
119
  const {
120
120
  tag,
121
121
  size,
@@ -124,7 +124,7 @@ var stdin_default = (0, import_vue.defineComponent)({
124
124
  isLink,
125
125
  required
126
126
  } = props;
127
- const clickable = (_a = props.clickable) != null ? _a : isLink;
127
+ const clickable = Boolean((_c = (_b = (_a = props.clickable) != null ? _a : props.to) != null ? _b : props.url) != null ? _c : isLink);
128
128
  const classes = {
129
129
  center,
130
130
  required: !!required,
package/lib/index.d.ts CHANGED
@@ -106,4 +106,4 @@ declare namespace _default {
106
106
  }
107
107
  export default _default;
108
108
  export function install(app: any): void;
109
- export const version: "4.10.0";
109
+ export const version: "4.10.1";
package/lib/index.js CHANGED
@@ -226,7 +226,7 @@ __reExport(stdin_exports, require("./toast"), module.exports);
226
226
  __reExport(stdin_exports, require("./tree-select"), module.exports);
227
227
  __reExport(stdin_exports, require("./uploader"), module.exports);
228
228
  __reExport(stdin_exports, require("./watermark"), module.exports);
229
- const version = "4.10.0";
229
+ const version = "4.10.1";
230
230
  function install(app) {
231
231
  const components = [
232
232
  import_action_bar.ActionBar,
@@ -38,7 +38,7 @@ var stdin_default = {
38
38
  end: "Ende",
39
39
  start: "Start",
40
40
  title: "Kalender",
41
- weekdays: ["So", "Mo", "Di", "Mo", "Do", "Fr", "Sa"],
41
+ weekdays: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
42
42
  monthTitle: (year, month) => `${year}/${month}`,
43
43
  rangePrompt: (maxRange) => `W\xE4hle nicht mehr als ${maxRange} Tage`
44
44
  },
@@ -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"
@@ -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.1";
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.1";
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.1";
18327
18327
  function install(app) {
18328
18328
  const components = [
18329
18329
  ActionBar,