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.
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,
@@ -5,7 +5,7 @@ export declare const collapseItemProps: {
5
5
  default: keyof HTMLElementTagNameMap;
6
6
  };
7
7
  icon: StringConstructor;
8
- size: import("vue").PropType<import("../cell").CellSize>;
8
+ size: import("vue").PropType<import("..").CellSize>;
9
9
  title: (NumberConstructor | StringConstructor)[];
10
10
  value: (NumberConstructor | StringConstructor)[];
11
11
  label: (NumberConstructor | StringConstructor)[];
@@ -20,7 +20,7 @@ export declare const collapseItemProps: {
20
20
  labelClass: import("vue").PropType<unknown>;
21
21
  titleClass: import("vue").PropType<unknown>;
22
22
  titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
23
- arrowDirection: import("vue").PropType<import("../cell").CellArrowDirection>;
23
+ arrowDirection: import("vue").PropType<import("..").CellArrowDirection>;
24
24
  required: {
25
25
  type: import("vue").PropType<boolean | "auto">;
26
26
  default: null;
@@ -49,7 +49,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
49
49
  default: keyof HTMLElementTagNameMap;
50
50
  };
51
51
  icon: StringConstructor;
52
- size: import("vue").PropType<import("../cell").CellSize>;
52
+ size: import("vue").PropType<import("..").CellSize>;
53
53
  title: (NumberConstructor | StringConstructor)[];
54
54
  value: (NumberConstructor | StringConstructor)[];
55
55
  label: (NumberConstructor | StringConstructor)[];
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
64
64
  labelClass: import("vue").PropType<unknown>;
65
65
  titleClass: import("vue").PropType<unknown>;
66
66
  titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
67
- arrowDirection: import("vue").PropType<import("../cell").CellArrowDirection>;
67
+ arrowDirection: import("vue").PropType<import("..").CellArrowDirection>;
68
68
  required: {
69
69
  type: import("vue").PropType<boolean | "auto">;
70
70
  default: null;
@@ -91,7 +91,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
91
91
  default: keyof HTMLElementTagNameMap;
92
92
  };
93
93
  icon: StringConstructor;
94
- size: import("vue").PropType<import("../cell").CellSize>;
94
+ size: import("vue").PropType<import("..").CellSize>;
95
95
  title: (NumberConstructor | StringConstructor)[];
96
96
  value: (NumberConstructor | StringConstructor)[];
97
97
  label: (NumberConstructor | StringConstructor)[];
@@ -106,7 +106,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
106
106
  labelClass: import("vue").PropType<unknown>;
107
107
  titleClass: import("vue").PropType<unknown>;
108
108
  titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
109
- arrowDirection: import("vue").PropType<import("../cell").CellArrowDirection>;
109
+ arrowDirection: import("vue").PropType<import("..").CellArrowDirection>;
110
110
  required: {
111
111
  type: import("vue").PropType<boolean | "auto">;
112
112
  default: null;
@@ -29,10 +29,10 @@ export declare const datePickerProps: {
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
  columnsType: {
@@ -85,10 +85,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
85
85
  type: PropType<string[]>;
86
86
  default: () => never[];
87
87
  };
88
- filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values: string[]) => import("../picker").PickerOption[]>;
88
+ filter: PropType<(columnType: string, options: import("..").PickerOption[], values: string[]) => import("..").PickerOption[]>;
89
89
  formatter: {
90
- type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
91
- default: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
90
+ type: PropType<(type: string, option: import("..").PickerOption) => import("..").PickerOption>;
91
+ default: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
92
92
  };
93
93
  } & {
94
94
  columnsType: {
@@ -134,10 +134,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
134
134
  type: PropType<string[]>;
135
135
  default: () => never[];
136
136
  };
137
- filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values: string[]) => import("../picker").PickerOption[]>;
137
+ filter: PropType<(columnType: string, options: import("..").PickerOption[], values: string[]) => import("..").PickerOption[]>;
138
138
  formatter: {
139
- type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
140
- default: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
139
+ type: PropType<(type: string, option: import("..").PickerOption) => import("..").PickerOption>;
140
+ default: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
141
141
  };
142
142
  } & {
143
143
  columnsType: {
@@ -160,7 +160,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
160
160
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
161
161
  onConfirm?: ((...args: any[]) => any) | undefined;
162
162
  }>, {
163
- formatter: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
163
+ formatter: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
164
164
  modelValue: string[];
165
165
  readonly: boolean;
166
166
  loading: boolean;
@@ -58,7 +58,7 @@ export declare const fieldProps: {
58
58
  default: keyof HTMLElementTagNameMap;
59
59
  };
60
60
  icon: StringConstructor;
61
- size: PropType<import("../cell").CellSize>;
61
+ size: PropType<import("..").CellSize>;
62
62
  title: (NumberConstructor | StringConstructor)[];
63
63
  value: (NumberConstructor | StringConstructor)[];
64
64
  label: (NumberConstructor | StringConstructor)[];
@@ -73,7 +73,7 @@ export declare const fieldProps: {
73
73
  labelClass: PropType<unknown>;
74
74
  titleClass: PropType<unknown>;
75
75
  titleStyle: PropType<string | import("vue").CSSProperties>;
76
- arrowDirection: PropType<import("../cell").CellArrowDirection>;
76
+ arrowDirection: PropType<import("..").CellArrowDirection>;
77
77
  required: {
78
78
  type: PropType<boolean | "auto">;
79
79
  default: null;
@@ -158,7 +158,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
158
158
  default: keyof HTMLElementTagNameMap;
159
159
  };
160
160
  icon: StringConstructor;
161
- size: PropType<import("../cell").CellSize>;
161
+ size: PropType<import("..").CellSize>;
162
162
  title: (NumberConstructor | StringConstructor)[];
163
163
  value: (NumberConstructor | StringConstructor)[];
164
164
  label: (NumberConstructor | StringConstructor)[];
@@ -173,7 +173,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
173
173
  labelClass: PropType<unknown>;
174
174
  titleClass: PropType<unknown>;
175
175
  titleStyle: PropType<string | import("vue").CSSProperties>;
176
- arrowDirection: PropType<import("../cell").CellArrowDirection>;
176
+ arrowDirection: PropType<import("..").CellArrowDirection>;
177
177
  required: {
178
178
  type: PropType<boolean | "auto">;
179
179
  default: null;
@@ -256,7 +256,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
256
256
  default: keyof HTMLElementTagNameMap;
257
257
  };
258
258
  icon: StringConstructor;
259
- size: PropType<import("../cell").CellSize>;
259
+ size: PropType<import("..").CellSize>;
260
260
  title: (NumberConstructor | StringConstructor)[];
261
261
  value: (NumberConstructor | StringConstructor)[];
262
262
  label: (NumberConstructor | StringConstructor)[];
@@ -271,7 +271,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
271
271
  labelClass: PropType<unknown>;
272
272
  titleClass: PropType<unknown>;
273
273
  titleStyle: PropType<string | import("vue").CSSProperties>;
274
- arrowDirection: PropType<import("../cell").CellArrowDirection>;
274
+ arrowDirection: PropType<import("..").CellArrowDirection>;
275
275
  required: {
276
276
  type: PropType<boolean | "auto">;
277
277
  default: null;
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.2";
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.2";
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"
@@ -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/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,
@@ -5,7 +5,7 @@ export declare const collapseItemProps: {
5
5
  default: keyof HTMLElementTagNameMap;
6
6
  };
7
7
  icon: StringConstructor;
8
- size: import("vue").PropType<import("../cell").CellSize>;
8
+ size: import("vue").PropType<import("..").CellSize>;
9
9
  title: (NumberConstructor | StringConstructor)[];
10
10
  value: (NumberConstructor | StringConstructor)[];
11
11
  label: (NumberConstructor | StringConstructor)[];
@@ -20,7 +20,7 @@ export declare const collapseItemProps: {
20
20
  labelClass: import("vue").PropType<unknown>;
21
21
  titleClass: import("vue").PropType<unknown>;
22
22
  titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
23
- arrowDirection: import("vue").PropType<import("../cell").CellArrowDirection>;
23
+ arrowDirection: import("vue").PropType<import("..").CellArrowDirection>;
24
24
  required: {
25
25
  type: import("vue").PropType<boolean | "auto">;
26
26
  default: null;
@@ -49,7 +49,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
49
49
  default: keyof HTMLElementTagNameMap;
50
50
  };
51
51
  icon: StringConstructor;
52
- size: import("vue").PropType<import("../cell").CellSize>;
52
+ size: import("vue").PropType<import("..").CellSize>;
53
53
  title: (NumberConstructor | StringConstructor)[];
54
54
  value: (NumberConstructor | StringConstructor)[];
55
55
  label: (NumberConstructor | StringConstructor)[];
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
64
64
  labelClass: import("vue").PropType<unknown>;
65
65
  titleClass: import("vue").PropType<unknown>;
66
66
  titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
67
- arrowDirection: import("vue").PropType<import("../cell").CellArrowDirection>;
67
+ arrowDirection: import("vue").PropType<import("..").CellArrowDirection>;
68
68
  required: {
69
69
  type: import("vue").PropType<boolean | "auto">;
70
70
  default: null;
@@ -91,7 +91,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
91
91
  default: keyof HTMLElementTagNameMap;
92
92
  };
93
93
  icon: StringConstructor;
94
- size: import("vue").PropType<import("../cell").CellSize>;
94
+ size: import("vue").PropType<import("..").CellSize>;
95
95
  title: (NumberConstructor | StringConstructor)[];
96
96
  value: (NumberConstructor | StringConstructor)[];
97
97
  label: (NumberConstructor | StringConstructor)[];
@@ -106,7 +106,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
106
106
  labelClass: import("vue").PropType<unknown>;
107
107
  titleClass: import("vue").PropType<unknown>;
108
108
  titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
109
- arrowDirection: import("vue").PropType<import("../cell").CellArrowDirection>;
109
+ arrowDirection: import("vue").PropType<import("..").CellArrowDirection>;
110
110
  required: {
111
111
  type: import("vue").PropType<boolean | "auto">;
112
112
  default: null;
@@ -29,10 +29,10 @@ export declare const datePickerProps: {
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
  columnsType: {
@@ -85,10 +85,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
85
85
  type: PropType<string[]>;
86
86
  default: () => never[];
87
87
  };
88
- filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values: string[]) => import("../picker").PickerOption[]>;
88
+ filter: PropType<(columnType: string, options: import("..").PickerOption[], values: string[]) => import("..").PickerOption[]>;
89
89
  formatter: {
90
- type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
91
- default: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
90
+ type: PropType<(type: string, option: import("..").PickerOption) => import("..").PickerOption>;
91
+ default: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
92
92
  };
93
93
  } & {
94
94
  columnsType: {
@@ -134,10 +134,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
134
134
  type: PropType<string[]>;
135
135
  default: () => never[];
136
136
  };
137
- filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values: string[]) => import("../picker").PickerOption[]>;
137
+ filter: PropType<(columnType: string, options: import("..").PickerOption[], values: string[]) => import("..").PickerOption[]>;
138
138
  formatter: {
139
- type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
140
- default: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
139
+ type: PropType<(type: string, option: import("..").PickerOption) => import("..").PickerOption>;
140
+ default: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
141
141
  };
142
142
  } & {
143
143
  columnsType: {
@@ -160,7 +160,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
160
160
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
161
161
  onConfirm?: ((...args: any[]) => any) | undefined;
162
162
  }>, {
163
- formatter: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
163
+ formatter: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
164
164
  modelValue: string[];
165
165
  readonly: boolean;
166
166
  loading: boolean;
@@ -58,7 +58,7 @@ export declare const fieldProps: {
58
58
  default: keyof HTMLElementTagNameMap;
59
59
  };
60
60
  icon: StringConstructor;
61
- size: PropType<import("../cell").CellSize>;
61
+ size: PropType<import("..").CellSize>;
62
62
  title: (NumberConstructor | StringConstructor)[];
63
63
  value: (NumberConstructor | StringConstructor)[];
64
64
  label: (NumberConstructor | StringConstructor)[];
@@ -73,7 +73,7 @@ export declare const fieldProps: {
73
73
  labelClass: PropType<unknown>;
74
74
  titleClass: PropType<unknown>;
75
75
  titleStyle: PropType<string | import("vue").CSSProperties>;
76
- arrowDirection: PropType<import("../cell").CellArrowDirection>;
76
+ arrowDirection: PropType<import("..").CellArrowDirection>;
77
77
  required: {
78
78
  type: PropType<boolean | "auto">;
79
79
  default: null;
@@ -158,7 +158,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
158
158
  default: keyof HTMLElementTagNameMap;
159
159
  };
160
160
  icon: StringConstructor;
161
- size: PropType<import("../cell").CellSize>;
161
+ size: PropType<import("..").CellSize>;
162
162
  title: (NumberConstructor | StringConstructor)[];
163
163
  value: (NumberConstructor | StringConstructor)[];
164
164
  label: (NumberConstructor | StringConstructor)[];
@@ -173,7 +173,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
173
173
  labelClass: PropType<unknown>;
174
174
  titleClass: PropType<unknown>;
175
175
  titleStyle: PropType<string | import("vue").CSSProperties>;
176
- arrowDirection: PropType<import("../cell").CellArrowDirection>;
176
+ arrowDirection: PropType<import("..").CellArrowDirection>;
177
177
  required: {
178
178
  type: PropType<boolean | "auto">;
179
179
  default: null;
@@ -256,7 +256,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
256
256
  default: keyof HTMLElementTagNameMap;
257
257
  };
258
258
  icon: StringConstructor;
259
- size: PropType<import("../cell").CellSize>;
259
+ size: PropType<import("..").CellSize>;
260
260
  title: (NumberConstructor | StringConstructor)[];
261
261
  value: (NumberConstructor | StringConstructor)[];
262
262
  label: (NumberConstructor | StringConstructor)[];
@@ -271,7 +271,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
271
271
  labelClass: PropType<unknown>;
272
272
  titleClass: PropType<unknown>;
273
273
  titleStyle: PropType<string | import("vue").CSSProperties>;
274
- arrowDirection: PropType<import("../cell").CellArrowDirection>;
274
+ arrowDirection: PropType<import("..").CellArrowDirection>;
275
275
  required: {
276
276
  type: PropType<boolean | "auto">;
277
277
  default: null;
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.2";
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.2";
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
  },