vant 4.6.6 → 4.6.8
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 +1 -1
- package/es/action-sheet/ActionSheet.d.ts +1 -1
- package/es/action-sheet/index.d.ts +1 -1
- package/es/address-edit/AddressEditDetail.d.ts +1 -1
- package/es/address-list/AddressList.d.ts +1 -1
- package/es/address-list/index.d.ts +1 -1
- package/es/button/Button.d.ts +2 -2
- package/es/button/index.d.ts +2 -2
- package/es/calendar/Calendar.d.ts +1 -1
- package/es/calendar/index.d.ts +1 -1
- package/es/cell/Cell.d.ts +1 -1
- package/es/cell/index.css +1 -1
- package/es/cell/index.d.ts +1 -1
- package/es/cell-group/CellGroup.d.ts +1 -1
- package/es/cell-group/index.d.ts +1 -1
- package/es/checkbox/Checkbox.d.ts +13 -0
- package/es/checkbox/Checkbox.mjs +11 -2
- package/es/checkbox/Checker.d.ts +9 -0
- package/es/checkbox/Checker.mjs +10 -4
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.d.ts +9 -0
- package/es/collapse-item/CollapseItem.d.ts +1 -1
- package/es/collapse-item/index.d.ts +1 -1
- package/es/config-provider/ConfigProvider.d.ts +14 -0
- package/es/config-provider/ConfigProvider.mjs +35 -2
- package/es/config-provider/index.d.ts +10 -1
- package/es/config-provider/types.d.ts +61 -1
- package/es/contact-list/ContactList.d.ts +1 -1
- package/es/contact-list/index.d.ts +1 -1
- package/es/divider/Divider.d.ts +1 -1
- package/es/divider/index.d.ts +1 -1
- package/es/field/Field.d.ts +1 -1
- package/es/field/index.d.ts +1 -1
- package/es/grid/Grid.d.ts +1 -1
- package/es/grid/index.d.ts +1 -1
- package/es/image/Image.d.ts +1 -1
- package/es/image/index.d.ts +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/nav-bar/NavBar.d.ts +8 -0
- package/es/nav-bar/NavBar.mjs +18 -4
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.d.ts +6 -0
- package/es/number-keyboard/NumberKeyboard.d.ts +2 -2
- package/es/number-keyboard/index.d.ts +2 -2
- package/es/popup/Popup.d.ts +1 -1
- package/es/popup/index.d.ts +1 -1
- package/es/share-sheet/ShareSheet.d.ts +1 -1
- package/es/share-sheet/index.d.ts +1 -1
- package/es/signature/Signature.d.ts +1 -1
- package/es/signature/index.d.ts +1 -1
- package/es/skeleton/Skeleton.d.ts +1 -1
- package/es/skeleton/index.d.ts +1 -1
- package/es/slider/Slider.d.ts +1 -1
- package/es/slider/index.d.ts +1 -1
- package/es/space/Space.d.ts +4 -4
- package/es/space/index.d.ts +3 -3
- package/es/stepper/Stepper.d.ts +2 -2
- package/es/stepper/index.d.ts +2 -2
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/index.d.ts +1 -1
- package/es/tag/Tag.d.ts +1 -1
- package/es/tag/index.d.ts +1 -1
- package/es/uploader/Uploader.d.ts +1 -1
- package/es/uploader/index.d.ts +1 -1
- package/lib/action-sheet/ActionSheet.d.ts +1 -1
- package/lib/action-sheet/index.d.ts +1 -1
- package/lib/address-edit/AddressEditDetail.d.ts +1 -1
- package/lib/address-list/AddressList.d.ts +1 -1
- package/lib/address-list/index.d.ts +1 -1
- package/lib/button/Button.d.ts +2 -2
- package/lib/button/index.d.ts +2 -2
- package/lib/calendar/Calendar.d.ts +1 -1
- package/lib/calendar/index.d.ts +1 -1
- package/lib/cell/Cell.d.ts +1 -1
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.d.ts +1 -1
- package/lib/cell-group/CellGroup.d.ts +1 -1
- package/lib/cell-group/index.d.ts +1 -1
- package/lib/checkbox/Checkbox.d.ts +13 -0
- package/lib/checkbox/Checkbox.js +11 -2
- package/lib/checkbox/Checker.d.ts +9 -0
- package/lib/checkbox/Checker.js +10 -4
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.d.ts +9 -0
- package/lib/collapse-item/CollapseItem.d.ts +1 -1
- package/lib/collapse-item/index.d.ts +1 -1
- package/lib/config-provider/ConfigProvider.d.ts +14 -0
- package/lib/config-provider/ConfigProvider.js +35 -2
- package/lib/config-provider/index.d.ts +10 -1
- package/lib/config-provider/types.d.ts +61 -1
- package/lib/contact-list/ContactList.d.ts +1 -1
- package/lib/contact-list/index.d.ts +1 -1
- package/lib/divider/Divider.d.ts +1 -1
- package/lib/divider/index.d.ts +1 -1
- package/lib/field/Field.d.ts +1 -1
- package/lib/field/index.d.ts +1 -1
- package/lib/grid/Grid.d.ts +1 -1
- package/lib/grid/index.d.ts +1 -1
- package/lib/image/Image.d.ts +1 -1
- package/lib/image/index.d.ts +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/nav-bar/NavBar.d.ts +8 -0
- package/lib/nav-bar/NavBar.js +18 -4
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.d.ts +6 -0
- package/lib/number-keyboard/NumberKeyboard.d.ts +2 -2
- package/lib/number-keyboard/index.d.ts +2 -2
- package/lib/popup/Popup.d.ts +1 -1
- package/lib/popup/index.d.ts +1 -1
- package/lib/share-sheet/ShareSheet.d.ts +1 -1
- package/lib/share-sheet/index.d.ts +1 -1
- package/lib/signature/Signature.d.ts +1 -1
- package/lib/signature/index.d.ts +1 -1
- package/lib/skeleton/Skeleton.d.ts +1 -1
- package/lib/skeleton/index.d.ts +1 -1
- package/lib/slider/Slider.d.ts +1 -1
- package/lib/slider/index.d.ts +1 -1
- package/lib/space/Space.d.ts +4 -4
- package/lib/space/index.d.ts +3 -3
- package/lib/stepper/Stepper.d.ts +2 -2
- package/lib/stepper/index.d.ts +2 -2
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/index.d.ts +1 -1
- package/lib/tag/Tag.d.ts +1 -1
- package/lib/tag/index.d.ts +1 -1
- package/lib/uploader/Uploader.d.ts +1 -1
- package/lib/uploader/index.d.ts +1 -1
- package/lib/vant.cjs.js +75 -13
- package/lib/vant.es.js +75 -13
- package/lib/vant.js +75 -13
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +18 -10
package/lib/button/index.d.ts
CHANGED
@@ -84,11 +84,11 @@ export declare const Button: import("../utils").WithInstall<import("vue").Define
|
|
84
84
|
tag: keyof HTMLElementTagNameMap;
|
85
85
|
round: boolean;
|
86
86
|
disabled: boolean;
|
87
|
+
block: boolean;
|
87
88
|
size: import("./types").ButtonSize;
|
89
|
+
square: boolean;
|
88
90
|
loading: boolean;
|
89
|
-
block: boolean;
|
90
91
|
plain: boolean;
|
91
|
-
square: boolean;
|
92
92
|
hairline: boolean;
|
93
93
|
nativeType: import("./types").ButtonNativeType;
|
94
94
|
iconPosition: import("./types").ButtonIconPosition;
|
@@ -270,9 +270,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
270
270
|
type: CalendarType;
|
271
271
|
position: PopupPosition;
|
272
272
|
round: boolean;
|
273
|
+
show: boolean;
|
273
274
|
readonly: boolean;
|
274
275
|
safeAreaInsetBottom: boolean;
|
275
|
-
show: boolean;
|
276
276
|
lazyRender: boolean;
|
277
277
|
closeOnClickOverlay: boolean;
|
278
278
|
closeOnPopstate: boolean;
|
package/lib/calendar/index.d.ts
CHANGED
@@ -180,9 +180,9 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
|
|
180
180
|
type: import("./types").CalendarType;
|
181
181
|
position: import("..").PopupPosition;
|
182
182
|
round: boolean;
|
183
|
+
show: boolean;
|
183
184
|
readonly: boolean;
|
184
185
|
safeAreaInsetBottom: boolean;
|
185
|
-
show: boolean;
|
186
186
|
lazyRender: boolean;
|
187
187
|
closeOnClickOverlay: boolean;
|
188
188
|
closeOnPopstate: boolean;
|
package/lib/cell/Cell.d.ts
CHANGED
@@ -128,8 +128,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
128
128
|
replace: boolean;
|
129
129
|
tag: keyof HTMLElementTagNameMap;
|
130
130
|
center: boolean;
|
131
|
-
isLink: boolean;
|
132
131
|
border: boolean;
|
132
|
+
isLink: boolean;
|
133
133
|
required: boolean;
|
134
134
|
clickable: boolean | null;
|
135
135
|
}, {}>;
|
package/lib/cell/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-cell-font-size: var(--van-font-size-md);--van-cell-line-height: 24px;--van-cell-vertical-padding: 10px;--van-cell-horizontal-padding: var(--van-padding-md);--van-cell-text-color: var(--van-text-color);--van-cell-background: var(--van-background-2);--van-cell-border-color: var(--van-border-color);--van-cell-active-color: var(--van-active-color);--van-cell-required-color: var(--van-danger-color);--van-cell-label-color: var(--van-text-color-2);--van-cell-label-font-size: var(--van-font-size-sm);--van-cell-label-line-height: var(--van-line-height-sm);--van-cell-label-margin-top: var(--van-padding-base);--van-cell-value-color: var(--van-text-color-2);--van-cell-icon-size: 16px;--van-cell-right-icon-color: var(--van-gray-6);--van-cell-large-vertical-padding: var(--van-padding-sm);--van-cell-large-title-font-size: var(--van-font-size-lg);--van-cell-large-label-font-size: var(--van-font-size-md)}.van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);overflow:hidden;color:var(--van-cell-text-color);font-size:var(--van-cell-font-size);line-height:var(--van-cell-line-height);background:var(--van-cell-background)}.van-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-cell-border-color);transform:scaleY(.5)}.van-cell:last-child:after,.van-cell--borderless:after{display:none}.van-cell__label{margin-top:var(--van-cell-label-margin-top);color:var(--van-cell-label-color);font-size:var(--van-cell-label-font-size);line-height:var(--van-cell-label-line-height)}.van-cell__title,.van-cell__value{flex:1}.van-cell__value{position:relative;overflow:hidden;color:var(--van-cell-value-color);text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__left-icon,.van-cell__right-icon{height:var(--van-cell-line-height);font-size:var(--van-cell-icon-size);line-height:var(--van-cell-line-height)}.van-cell__left-icon{margin-right:var(--van-padding-base)}.van-cell__right-icon{margin-left:var(--van-padding-base);color:var(--van-cell-right-icon-color)}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:var(--van-cell-active-color)}.van-cell--required{overflow:visible}.van-cell--required:before{position:absolute;left:var(--van-padding-xs);color:var(--van-cell-required-color);font-size:var(--van-cell-font-size);content:"*"}.van-cell--center{align-items:center}.van-cell--large{padding-top:var(--van-cell-large-vertical-padding);padding-bottom:var(--van-cell-large-vertical-padding)}.van-cell--large .van-cell__title{font-size:var(--van-cell-large-title-font-size)}.van-cell--large .van-cell__label{font-size:var(--van-cell-large-label-font-size)}
|
1
|
+
:root{--van-cell-font-size: var(--van-font-size-md);--van-cell-line-height: 24px;--van-cell-vertical-padding: 10px;--van-cell-horizontal-padding: var(--van-padding-md);--van-cell-text-color: var(--van-text-color);--van-cell-background: var(--van-background-2);--van-cell-border-color: var(--van-border-color);--van-cell-active-color: var(--van-active-color);--van-cell-required-color: var(--van-danger-color);--van-cell-label-color: var(--van-text-color-2);--van-cell-label-font-size: var(--van-font-size-sm);--van-cell-label-line-height: var(--van-line-height-sm);--van-cell-label-margin-top: var(--van-padding-base);--van-cell-value-color: var(--van-text-color-2);--van-cell-value-font-size: inherit;--van-cell-icon-size: 16px;--van-cell-right-icon-color: var(--van-gray-6);--van-cell-large-vertical-padding: var(--van-padding-sm);--van-cell-large-title-font-size: var(--van-font-size-lg);--van-cell-large-label-font-size: var(--van-font-size-md);--van-cell-large-value-font-size: inherit}.van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);overflow:hidden;color:var(--van-cell-text-color);font-size:var(--van-cell-font-size);line-height:var(--van-cell-line-height);background:var(--van-cell-background)}.van-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-cell-border-color);transform:scaleY(.5)}.van-cell:last-child:after,.van-cell--borderless:after{display:none}.van-cell__label{margin-top:var(--van-cell-label-margin-top);color:var(--van-cell-label-color);font-size:var(--van-cell-label-font-size);line-height:var(--van-cell-label-line-height)}.van-cell__title,.van-cell__value{flex:1}.van-cell__value{position:relative;overflow:hidden;color:var(--van-cell-value-color);font-size:var(--van-cell-value-font-size);text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__left-icon,.van-cell__right-icon{height:var(--van-cell-line-height);font-size:var(--van-cell-icon-size);line-height:var(--van-cell-line-height)}.van-cell__left-icon{margin-right:var(--van-padding-base)}.van-cell__right-icon{margin-left:var(--van-padding-base);color:var(--van-cell-right-icon-color)}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:var(--van-cell-active-color)}.van-cell--required{overflow:visible}.van-cell--required:before{position:absolute;left:var(--van-padding-xs);color:var(--van-cell-required-color);font-size:var(--van-cell-font-size);content:"*"}.van-cell--center{align-items:center}.van-cell--large{padding-top:var(--van-cell-large-vertical-padding);padding-bottom:var(--van-cell-large-vertical-padding)}.van-cell--large .van-cell__title{font-size:var(--van-cell-large-title-font-size)}.van-cell--large .van-cell__label{font-size:var(--van-cell-large-label-font-size)}.van-cell--large .van-cell__value{font-size:var(--van-cell-large-value-font-size)}
|
package/lib/cell/index.d.ts
CHANGED
@@ -64,8 +64,8 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
|
|
64
64
|
replace: boolean;
|
65
65
|
tag: keyof HTMLElementTagNameMap;
|
66
66
|
center: boolean;
|
67
|
-
isLink: boolean;
|
68
67
|
border: boolean;
|
68
|
+
isLink: boolean;
|
69
69
|
required: boolean;
|
70
70
|
clickable: boolean | null;
|
71
71
|
}, {}>>;
|
@@ -13,8 +13,8 @@ export declare const CellGroup: import("../utils").WithInstall<import("vue").Def
|
|
13
13
|
default: true;
|
14
14
|
};
|
15
15
|
}>>, {
|
16
|
-
border: boolean;
|
17
16
|
inset: boolean;
|
17
|
+
border: boolean;
|
18
18
|
}, {}>>;
|
19
19
|
export default CellGroup;
|
20
20
|
export { cellGroupProps } from './CellGroup';
|
@@ -14,6 +14,10 @@ export declare const checkboxProps: {
|
|
14
14
|
type: BooleanConstructor;
|
15
15
|
default: true;
|
16
16
|
};
|
17
|
+
indeterminate: {
|
18
|
+
type: PropType<boolean | null>;
|
19
|
+
default: null;
|
20
|
+
};
|
17
21
|
};
|
18
22
|
export type CheckboxProps = ExtractPropTypes<typeof checkboxProps>;
|
19
23
|
declare const _default: import("vue").DefineComponent<{
|
@@ -30,6 +34,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
30
34
|
type: BooleanConstructor;
|
31
35
|
default: true;
|
32
36
|
};
|
37
|
+
indeterminate: {
|
38
|
+
type: PropType<boolean | null>;
|
39
|
+
default: null;
|
40
|
+
};
|
33
41
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
34
42
|
name: PropType<unknown>;
|
35
43
|
disabled: BooleanConstructor;
|
@@ -44,6 +52,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
44
52
|
type: BooleanConstructor;
|
45
53
|
default: true;
|
46
54
|
};
|
55
|
+
indeterminate: {
|
56
|
+
type: PropType<boolean | null>;
|
57
|
+
default: null;
|
58
|
+
};
|
47
59
|
}>> & {
|
48
60
|
onChange?: ((...args: any[]) => any) | undefined;
|
49
61
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
@@ -51,5 +63,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
51
63
|
disabled: boolean;
|
52
64
|
labelDisabled: boolean;
|
53
65
|
bindGroup: boolean;
|
66
|
+
indeterminate: boolean | null;
|
54
67
|
}, {}>;
|
55
68
|
export default _default;
|
package/lib/checkbox/Checkbox.js
CHANGED
@@ -41,7 +41,11 @@ var import_Checker = __toESM(require("./Checker"));
|
|
41
41
|
const [name, bem] = (0, import_utils.createNamespace)("checkbox");
|
42
42
|
const checkboxProps = (0, import_utils.extend)({}, import_Checker.checkerProps, {
|
43
43
|
shape: String,
|
44
|
-
bindGroup: import_utils.truthProp
|
44
|
+
bindGroup: import_utils.truthProp,
|
45
|
+
indeterminate: {
|
46
|
+
type: Boolean,
|
47
|
+
default: null
|
48
|
+
}
|
45
49
|
});
|
46
50
|
var stdin_default = (0, import_vue2.defineComponent)({
|
47
51
|
name,
|
@@ -93,8 +97,13 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
93
97
|
} else {
|
94
98
|
emit("update:modelValue", newValue);
|
95
99
|
}
|
100
|
+
if (props.indeterminate !== null)
|
101
|
+
emit("change", newValue);
|
96
102
|
};
|
97
|
-
(0, import_vue2.watch)(() => props.modelValue, (value) =>
|
103
|
+
(0, import_vue2.watch)(() => props.modelValue, (value) => {
|
104
|
+
if (props.indeterminate === null)
|
105
|
+
emit("change", value);
|
106
|
+
});
|
98
107
|
(0, import_use_expose.useExpose)({
|
99
108
|
toggle,
|
100
109
|
props,
|
@@ -45,6 +45,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
45
45
|
type: BooleanConstructor;
|
46
46
|
default: true;
|
47
47
|
};
|
48
|
+
indeterminate: {
|
49
|
+
type: PropType<boolean | null>;
|
50
|
+
default: null;
|
51
|
+
};
|
48
52
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "toggle")[], "click" | "toggle", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
49
53
|
name: PropType<unknown>;
|
50
54
|
disabled: BooleanConstructor;
|
@@ -66,6 +70,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
66
70
|
type: BooleanConstructor;
|
67
71
|
default: true;
|
68
72
|
};
|
73
|
+
indeterminate: {
|
74
|
+
type: PropType<boolean | null>;
|
75
|
+
default: null;
|
76
|
+
};
|
69
77
|
}>> & {
|
70
78
|
onClick?: ((...args: any[]) => any) | undefined;
|
71
79
|
onToggle?: ((...args: any[]) => any) | undefined;
|
@@ -74,5 +82,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
74
82
|
disabled: boolean;
|
75
83
|
labelDisabled: boolean;
|
76
84
|
bindGroup: boolean;
|
85
|
+
indeterminate: boolean | null;
|
77
86
|
}, {}>;
|
78
87
|
export default _default;
|
package/lib/checkbox/Checker.js
CHANGED
@@ -41,7 +41,11 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
41
41
|
shape: String,
|
42
42
|
parent: Object,
|
43
43
|
checked: Boolean,
|
44
|
-
bindGroup: import_utils.truthProp
|
44
|
+
bindGroup: import_utils.truthProp,
|
45
|
+
indeterminate: {
|
46
|
+
type: Boolean,
|
47
|
+
default: null
|
48
|
+
}
|
45
49
|
}),
|
46
50
|
emits: ["click", "toggle"],
|
47
51
|
setup(props, {
|
@@ -95,14 +99,16 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
95
99
|
var _a, _b;
|
96
100
|
const {
|
97
101
|
bem,
|
98
|
-
checked
|
102
|
+
checked,
|
103
|
+
indeterminate
|
99
104
|
} = props;
|
100
105
|
const iconSize = props.iconSize || getParentProp("iconSize");
|
101
106
|
return (0, import_vue.createVNode)("div", {
|
102
107
|
"ref": iconRef,
|
103
108
|
"class": bem("icon", [shape.value, {
|
104
109
|
disabled: disabled.value,
|
105
|
-
checked
|
110
|
+
checked,
|
111
|
+
indeterminate
|
106
112
|
}]),
|
107
113
|
"style": shape.value !== "dot" ? {
|
108
114
|
fontSize: (0, import_utils.addUnit)(iconSize)
|
@@ -115,7 +121,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
115
121
|
checked,
|
116
122
|
disabled: disabled.value
|
117
123
|
}) : shape.value !== "dot" ? (0, import_vue.createVNode)(import_icon.Icon, {
|
118
|
-
"name": "success",
|
124
|
+
"name": indeterminate ? "minus" : "success",
|
119
125
|
"style": iconStyle.value
|
120
126
|
}, null) : (0, import_vue.createVNode)("div", {
|
121
127
|
"class": bem("icon--dot__icon"),
|
package/lib/checkbox/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:root{--van-checkbox-size: 20px;--van-checkbox-border-color: var(--van-gray-5);--van-checkbox-duration: var(--van-duration-fast);--van-checkbox-label-margin: var(--van-padding-xs);--van-checkbox-label-color: var(--van-text-color);--van-checkbox-checked-icon-color: var(--van-primary-color);--van-checkbox-disabled-icon-color: var(--van-gray-5);--van-checkbox-disabled-label-color: var(--van-text-color-3);--van-checkbox-disabled-background: var(--van-border-color)}.van-checkbox{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.van-checkbox--disabled{cursor:not-allowed}.van-checkbox--label-disabled{cursor:default}.van-checkbox--horizontal{margin-right:var(--van-padding-sm)}.van-checkbox__icon{flex:none;height:1em;font-size:var(--van-checkbox-size);line-height:1em;cursor:pointer}.van-checkbox__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:1px solid var(--van-checkbox-border-color);transition-duration:var(--van-checkbox-duration);transition-property:color,border-color,background-color}.van-checkbox__icon--round .van-icon{border-radius:100%}.van-checkbox__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-checkbox-checked-icon-color);border-color:var(--van-checkbox-checked-icon-color)}.van-checkbox__icon--disabled{cursor:not-allowed}.van-checkbox__icon--disabled .van-icon{background-color:var(--van-checkbox-disabled-background);border-color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__icon--disabled.van-checkbox__icon--checked .van-icon{color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__label{margin-left:var(--van-checkbox-label-margin);color:var(--van-checkbox-label-color);line-height:var(--van-checkbox-size)}.van-checkbox__label--left{margin:0 var(--van-checkbox-label-margin) 0 0}.van-checkbox__label--disabled{color:var(--van-checkbox-disabled-label-color)}
|
1
|
+
:root{--van-checkbox-size: 20px;--van-checkbox-border-color: var(--van-gray-5);--van-checkbox-duration: var(--van-duration-fast);--van-checkbox-label-margin: var(--van-padding-xs);--van-checkbox-label-color: var(--van-text-color);--van-checkbox-checked-icon-color: var(--van-primary-color);--van-checkbox-disabled-icon-color: var(--van-gray-5);--van-checkbox-disabled-label-color: var(--van-text-color-3);--van-checkbox-disabled-background: var(--van-border-color)}.van-checkbox{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.van-checkbox--disabled{cursor:not-allowed}.van-checkbox--label-disabled{cursor:default}.van-checkbox--horizontal{margin-right:var(--van-padding-sm)}.van-checkbox__icon{flex:none;height:1em;font-size:var(--van-checkbox-size);line-height:1em;cursor:pointer}.van-checkbox__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:1px solid var(--van-checkbox-border-color);transition-duration:var(--van-checkbox-duration);transition-property:color,border-color,background-color}.van-checkbox__icon--round .van-icon{border-radius:100%}.van-checkbox__icon--indeterminate .van-icon{display:flex;align-items:center;justify-content:center;color:var(--van-white);border-color:var(--van-checkbox-checked-icon-color);background-color:var(--van-checkbox-checked-icon-color)}.van-checkbox__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-checkbox-checked-icon-color);border-color:var(--van-checkbox-checked-icon-color)}.van-checkbox__icon--disabled{cursor:not-allowed}.van-checkbox__icon--disabled .van-icon{background-color:var(--van-checkbox-disabled-background);border-color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__icon--disabled.van-checkbox__icon--checked .van-icon{color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__label{margin-left:var(--van-checkbox-label-margin);color:var(--van-checkbox-label-color);line-height:var(--van-checkbox-size)}.van-checkbox__label--left{margin:0 var(--van-checkbox-label-margin) 0 0}.van-checkbox__label--disabled{color:var(--van-checkbox-disabled-label-color)}
|
package/lib/checkbox/index.d.ts
CHANGED
@@ -12,6 +12,10 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").Defi
|
|
12
12
|
type: BooleanConstructor;
|
13
13
|
default: true;
|
14
14
|
};
|
15
|
+
indeterminate: {
|
16
|
+
type: import("vue").PropType<boolean | null>;
|
17
|
+
default: null;
|
18
|
+
};
|
15
19
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
16
20
|
name: import("vue").PropType<unknown>;
|
17
21
|
disabled: BooleanConstructor;
|
@@ -26,6 +30,10 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").Defi
|
|
26
30
|
type: BooleanConstructor;
|
27
31
|
default: true;
|
28
32
|
};
|
33
|
+
indeterminate: {
|
34
|
+
type: import("vue").PropType<boolean | null>;
|
35
|
+
default: null;
|
36
|
+
};
|
29
37
|
}>> & {
|
30
38
|
onChange?: ((...args: any[]) => any) | undefined;
|
31
39
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
@@ -33,6 +41,7 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").Defi
|
|
33
41
|
disabled: boolean;
|
34
42
|
labelDisabled: boolean;
|
35
43
|
bindGroup: boolean;
|
44
|
+
indeterminate: boolean | null;
|
36
45
|
}, {}>>;
|
37
46
|
export default Checkbox;
|
38
47
|
export { checkboxProps } from './Checkbox';
|
@@ -122,8 +122,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
122
122
|
tag: keyof HTMLElementTagNameMap;
|
123
123
|
center: boolean;
|
124
124
|
disabled: boolean;
|
125
|
-
isLink: boolean;
|
126
125
|
border: boolean;
|
126
|
+
isLink: boolean;
|
127
127
|
required: boolean;
|
128
128
|
clickable: boolean | null;
|
129
129
|
readonly: boolean;
|
@@ -80,8 +80,8 @@ export declare const CollapseItem: import("../utils").WithInstall<import("vue").
|
|
80
80
|
tag: keyof HTMLElementTagNameMap;
|
81
81
|
center: boolean;
|
82
82
|
disabled: boolean;
|
83
|
-
isLink: boolean;
|
84
83
|
border: boolean;
|
84
|
+
isLink: boolean;
|
85
85
|
required: boolean;
|
86
86
|
clickable: boolean | null;
|
87
87
|
readonly: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
|
2
2
|
import { type Numeric } from '../utils';
|
3
3
|
export type ConfigProviderTheme = 'light' | 'dark';
|
4
|
+
export type ConfigProviderThemeVarsScope = 'local' | 'global';
|
4
5
|
export type ConfigProviderProvide = {
|
5
6
|
iconPrefix?: string;
|
6
7
|
};
|
@@ -19,6 +20,10 @@ export declare const configProviderProps: {
|
|
19
20
|
themeVars: ThemeVars;
|
20
21
|
themeVarsDark: ThemeVars;
|
21
22
|
themeVarsLight: ThemeVars;
|
23
|
+
themeVarsScope: {
|
24
|
+
type: PropType<ConfigProviderThemeVarsScope>;
|
25
|
+
default: ConfigProviderThemeVarsScope;
|
26
|
+
};
|
22
27
|
iconPrefix: StringConstructor;
|
23
28
|
};
|
24
29
|
export type ConfigProviderProps = ExtractPropTypes<typeof configProviderProps>;
|
@@ -35,6 +40,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
35
40
|
themeVars: ThemeVars;
|
36
41
|
themeVarsDark: ThemeVars;
|
37
42
|
themeVarsLight: ThemeVars;
|
43
|
+
themeVarsScope: {
|
44
|
+
type: PropType<ConfigProviderThemeVarsScope>;
|
45
|
+
default: ConfigProviderThemeVarsScope;
|
46
|
+
};
|
38
47
|
iconPrefix: StringConstructor;
|
39
48
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
40
49
|
tag: {
|
@@ -49,9 +58,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
49
58
|
themeVars: ThemeVars;
|
50
59
|
themeVarsDark: ThemeVars;
|
51
60
|
themeVarsLight: ThemeVars;
|
61
|
+
themeVarsScope: {
|
62
|
+
type: PropType<ConfigProviderThemeVarsScope>;
|
63
|
+
default: ConfigProviderThemeVarsScope;
|
64
|
+
};
|
52
65
|
iconPrefix: StringConstructor;
|
53
66
|
}>>, {
|
54
67
|
tag: keyof HTMLElementTagNameMap;
|
55
68
|
theme: ConfigProviderTheme;
|
69
|
+
themeVarsScope: ConfigProviderThemeVarsScope;
|
56
70
|
}, {}>;
|
57
71
|
export default _default;
|
@@ -35,15 +35,32 @@ const configProviderProps = {
|
|
35
35
|
themeVars: Object,
|
36
36
|
themeVarsDark: Object,
|
37
37
|
themeVarsLight: Object,
|
38
|
+
themeVarsScope: (0, import_utils.makeStringProp)("local"),
|
38
39
|
iconPrefix: String
|
39
40
|
};
|
41
|
+
function insertDash(str) {
|
42
|
+
return str.replace(/([a-zA-Z])(\d)/g, "$1-$2");
|
43
|
+
}
|
40
44
|
function mapThemeVarsToCSSVars(themeVars) {
|
41
45
|
const cssVars = {};
|
42
46
|
Object.keys(themeVars).forEach((key) => {
|
43
|
-
|
47
|
+
const formattedKey = insertDash((0, import_utils.kebabCase)(key));
|
48
|
+
cssVars[`--van-${formattedKey}`] = themeVars[key];
|
44
49
|
});
|
45
50
|
return cssVars;
|
46
51
|
}
|
52
|
+
function syncThemeVarsOnRoot(newStyle = {}, oldStyle = {}) {
|
53
|
+
Object.keys(newStyle).forEach((key) => {
|
54
|
+
if (newStyle[key] !== oldStyle[key]) {
|
55
|
+
document.documentElement.style.setProperty(key, newStyle[key]);
|
56
|
+
}
|
57
|
+
});
|
58
|
+
Object.keys(oldStyle).forEach((key) => {
|
59
|
+
if (!newStyle[key]) {
|
60
|
+
document.documentElement.style.removeProperty(key);
|
61
|
+
}
|
62
|
+
});
|
63
|
+
}
|
47
64
|
var stdin_default = (0, import_vue2.defineComponent)({
|
48
65
|
name,
|
49
66
|
props: configProviderProps,
|
@@ -69,6 +86,22 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
69
86
|
(0, import_vue2.onActivated)(addTheme);
|
70
87
|
(0, import_vue2.onDeactivated)(removeTheme);
|
71
88
|
(0, import_vue2.onBeforeUnmount)(removeTheme);
|
89
|
+
(0, import_vue2.watch)(style, (newStyle, oldStyle) => {
|
90
|
+
if (props.themeVarsScope === "global") {
|
91
|
+
syncThemeVarsOnRoot(newStyle, oldStyle);
|
92
|
+
}
|
93
|
+
});
|
94
|
+
(0, import_vue2.watch)(() => props.themeVarsScope, (newScope, oldScope) => {
|
95
|
+
if (oldScope === "global") {
|
96
|
+
syncThemeVarsOnRoot({}, style.value);
|
97
|
+
}
|
98
|
+
if (newScope === "global") {
|
99
|
+
syncThemeVarsOnRoot(style.value, {});
|
100
|
+
}
|
101
|
+
});
|
102
|
+
if (props.themeVarsScope === "global") {
|
103
|
+
syncThemeVarsOnRoot(style.value, {});
|
104
|
+
}
|
72
105
|
}
|
73
106
|
(0, import_vue2.provide)(CONFIG_PROVIDER_KEY, props);
|
74
107
|
(0, import_vue2.watchEffect)(() => {
|
@@ -78,7 +111,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
78
111
|
});
|
79
112
|
return () => (0, import_vue.createVNode)(props.tag, {
|
80
113
|
"class": bem(),
|
81
|
-
"style": style.value
|
114
|
+
"style": props.themeVarsScope === "local" ? style.value : void 0
|
82
115
|
}, {
|
83
116
|
default: () => {
|
84
117
|
var _a;
|
@@ -11,6 +11,10 @@ export declare const ConfigProvider: import("../utils").WithInstall<import("vue"
|
|
11
11
|
themeVars: import("./ConfigProvider").ThemeVars;
|
12
12
|
themeVarsDark: import("./ConfigProvider").ThemeVars;
|
13
13
|
themeVarsLight: import("./ConfigProvider").ThemeVars;
|
14
|
+
themeVarsScope: {
|
15
|
+
type: import("vue").PropType<import("./ConfigProvider").ConfigProviderThemeVarsScope>;
|
16
|
+
default: import("./ConfigProvider").ConfigProviderThemeVarsScope;
|
17
|
+
};
|
14
18
|
iconPrefix: StringConstructor;
|
15
19
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
16
20
|
tag: {
|
@@ -25,14 +29,19 @@ export declare const ConfigProvider: import("../utils").WithInstall<import("vue"
|
|
25
29
|
themeVars: import("./ConfigProvider").ThemeVars;
|
26
30
|
themeVarsDark: import("./ConfigProvider").ThemeVars;
|
27
31
|
themeVarsLight: import("./ConfigProvider").ThemeVars;
|
32
|
+
themeVarsScope: {
|
33
|
+
type: import("vue").PropType<import("./ConfigProvider").ConfigProviderThemeVarsScope>;
|
34
|
+
default: import("./ConfigProvider").ConfigProviderThemeVarsScope;
|
35
|
+
};
|
28
36
|
iconPrefix: StringConstructor;
|
29
37
|
}>>, {
|
30
38
|
tag: keyof HTMLElementTagNameMap;
|
31
39
|
theme: import("./ConfigProvider").ConfigProviderTheme;
|
40
|
+
themeVarsScope: import("./ConfigProvider").ConfigProviderThemeVarsScope;
|
32
41
|
}, {}>>;
|
33
42
|
export default ConfigProvider;
|
34
43
|
export { configProviderProps } from './ConfigProvider';
|
35
|
-
export type { ConfigProviderProps, ConfigProviderTheme, } from './ConfigProvider';
|
44
|
+
export type { ConfigProviderProps, ConfigProviderTheme, ConfigProviderThemeVarsScope, } from './ConfigProvider';
|
36
45
|
export type { ConfigProviderThemeVars } from './types';
|
37
46
|
declare module 'vue' {
|
38
47
|
interface GlobalComponents {
|
@@ -1 +1,61 @@
|
|
1
|
-
|
1
|
+
type BaseThemeVars = {
|
2
|
+
black?: string;
|
3
|
+
white?: string;
|
4
|
+
gray1?: string;
|
5
|
+
gray2?: string;
|
6
|
+
gray3?: string;
|
7
|
+
gray4?: string;
|
8
|
+
gray5?: string;
|
9
|
+
gray6?: string;
|
10
|
+
gray7?: string;
|
11
|
+
gray8?: string;
|
12
|
+
red?: string;
|
13
|
+
blue?: string;
|
14
|
+
orange?: string;
|
15
|
+
orangeDark?: string;
|
16
|
+
orangeLight?: string;
|
17
|
+
green?: string;
|
18
|
+
gradientRed?: string;
|
19
|
+
gradientOrange?: string;
|
20
|
+
primaryColor?: string;
|
21
|
+
successColor?: string;
|
22
|
+
dangerColor?: string;
|
23
|
+
warningColor?: string;
|
24
|
+
textColor?: string;
|
25
|
+
textColor2?: string;
|
26
|
+
textColor3?: string;
|
27
|
+
activeColor?: string;
|
28
|
+
activeOpacity?: number;
|
29
|
+
disabledOpacity?: number;
|
30
|
+
background?: string;
|
31
|
+
background2?: string;
|
32
|
+
paddingBase?: string;
|
33
|
+
paddingXs?: string;
|
34
|
+
paddingSm?: string;
|
35
|
+
paddingMd?: string;
|
36
|
+
paddingLg?: string;
|
37
|
+
paddingXl?: string;
|
38
|
+
fontSizeXs?: string;
|
39
|
+
fontSizeSm?: string;
|
40
|
+
fontSizeMd?: string;
|
41
|
+
fontSizeLg?: string;
|
42
|
+
fontBold?: number;
|
43
|
+
lineHeightXs?: string;
|
44
|
+
lineHeightSm?: string;
|
45
|
+
lineHeightMd?: string;
|
46
|
+
lineHeightLg?: string;
|
47
|
+
baseFont?: string;
|
48
|
+
priceFont?: string;
|
49
|
+
durationBase?: string;
|
50
|
+
durationFast?: string;
|
51
|
+
easeOut?: string;
|
52
|
+
easeIn?: string;
|
53
|
+
borderColor?: string;
|
54
|
+
borderWidth?: string;
|
55
|
+
radiusSm?: string;
|
56
|
+
radiusMd?: string;
|
57
|
+
radiusLg?: string;
|
58
|
+
radiusMax?: string;
|
59
|
+
};
|
60
|
+
export type ConfigProviderThemeVars = BaseThemeVars & import('../action-bar').ActionBarThemeVars & import('../action-bar-button').ActionBarButtonThemeVars & import('../action-bar-icon').ActionBarIconThemeVars & import('../action-sheet').ActionSheetThemeVars & import('../address-edit').AddressEditThemeVars & import('../address-list').AddressListThemeVars & import('../badge').BadgeThemeVars & import('../barrage').BarrageThemeVars & import('../button').ButtonThemeVars & import('../calendar').CalendarThemeVars & import('../card').CardThemeVars & import('../cascader').CascaderThemeVars & import('../cell').CellThemeVars & import('../cell-group').CellGroupThemeVars & import('../checkbox').CheckboxThemeVars & import('../circle').CircleThemeVars & import('../collapse-item').CollapseItemThemeVars & import('../contact-card').ContactCardThemeVars & import('../contact-edit').ContactEditThemeVars & import('../contact-list').ContactListThemeVars & import('../count-down').CountDownThemeVars & import('../coupon').CouponThemeVars & import('../coupon-cell').CouponCellThemeVars & import('../coupon-list').CouponListThemeVars & import('../dialog').DialogThemeVars & import('../divider').DividerThemeVars & import('../dropdown-item').DropdownItemThemeVars & import('../dropdown-menu').DropdownMenuThemeVars & import('../empty').EmptyThemeVars & import('../field').FieldThemeVars & import('../floating-bubble').FloatingBubbleThemeVars & import('../floating-panel').FloatingPanelThemeVars & import('../grid-item').GridItemThemeVars & import('../image').ImageThemeVars & import('../image-preview').ImagePreviewThemeVars & import('../index-anchor').IndexAnchorThemeVars & import('../index-bar').IndexBarThemeVars & import('../list').ListThemeVars & import('../loading').LoadingThemeVars & import('../nav-bar').NavBarThemeVars & import('../notice-bar').NoticeBarThemeVars & import('../notify').NotifyThemeVars & import('../number-keyboard').NumberKeyboardThemeVars & import('../overlay').OverlayThemeVars & import('../pagination').PaginationThemeVars & import('../password-input').PasswordInputThemeVars & import('../picker').PickerThemeVars & import('../picker-group').PickerGroupThemeVars & import('../popover').PopoverThemeVars & import('../popup').PopupThemeVars & import('../progress').ProgressThemeVars & import('../pull-refresh').PullRefreshThemeVars & import('../radio').RadioThemeVars & import('../rate').RateThemeVars & import('../rolling-text').RollingTextThemeVars & import('../search').SearchThemeVars & import('../share-sheet').ShareSheetThemeVars & import('../sidebar').SidebarThemeVars & import('../sidebar-item').SidebarItemThemeVars & import('../signature').SignatureThemeVars & import('../skeleton').SkeletonThemeVars & import('../slider').SliderThemeVars & import('../step').StepThemeVars & import('../stepper').StepperThemeVars & import('../steps').StepsThemeVars & import('../sticky').StickyThemeVars & import('../submit-bar').SubmitBarThemeVars & import('../swipe').SwipeThemeVars & import('../switch').SwitchThemeVars & import('../tabbar').TabbarThemeVars & import('../tabbar-item').TabbarItemThemeVars & import('../tabs').TabsThemeVars & import('../tag').TagThemeVars & import('../toast').ToastThemeVars & import('../tree-select').TreeSelectThemeVars & import('../uploader').UploaderThemeVars & import('../watermark').WatermarkThemeVars;
|
61
|
+
export {};
|
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
18
18
|
addText: StringConstructor;
|
19
19
|
modelValue: PropType<unknown>;
|
20
20
|
defaultTagText: StringConstructor;
|
21
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "
|
21
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "add" | "update:modelValue" | "edit")[], "select" | "add" | "update:modelValue" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
22
22
|
list: PropType<ContactListItem[]>;
|
23
23
|
addText: StringConstructor;
|
24
24
|
modelValue: PropType<unknown>;
|
@@ -3,7 +3,7 @@ export declare const ContactList: import("../utils").WithInstall<import("vue").D
|
|
3
3
|
addText: StringConstructor;
|
4
4
|
modelValue: import("vue").PropType<unknown>;
|
5
5
|
defaultTagText: StringConstructor;
|
6
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "
|
6
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "add" | "update:modelValue" | "edit")[], "select" | "add" | "update:modelValue" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
7
7
|
list: import("vue").PropType<import("./ContactList").ContactListItem[]>;
|
8
8
|
addText: StringConstructor;
|
9
9
|
modelValue: import("vue").PropType<unknown>;
|
package/lib/divider/Divider.d.ts
CHANGED
@@ -36,9 +36,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
36
36
|
default: DividerContentPosition;
|
37
37
|
};
|
38
38
|
}>>, {
|
39
|
+
dashed: boolean;
|
39
40
|
vertical: boolean;
|
40
41
|
hairline: boolean;
|
41
|
-
dashed: boolean;
|
42
42
|
contentPosition: DividerContentPosition;
|
43
43
|
}, {}>;
|
44
44
|
export default _default;
|
package/lib/divider/index.d.ts
CHANGED
@@ -21,9 +21,9 @@ export declare const Divider: import("../utils").WithInstall<import("vue").Defin
|
|
21
21
|
default: import("./Divider").DividerContentPosition;
|
22
22
|
};
|
23
23
|
}>>, {
|
24
|
+
dashed: boolean;
|
24
25
|
vertical: boolean;
|
25
26
|
hairline: boolean;
|
26
|
-
dashed: boolean;
|
27
27
|
contentPosition: import("./Divider").DividerContentPosition;
|
28
28
|
}, {}>>;
|
29
29
|
export default Divider;
|
package/lib/field/Field.d.ts
CHANGED
@@ -344,8 +344,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
344
344
|
center: boolean;
|
345
345
|
autofocus: boolean;
|
346
346
|
disabled: boolean;
|
347
|
-
isLink: boolean;
|
348
347
|
border: boolean;
|
348
|
+
isLink: boolean;
|
349
349
|
required: boolean;
|
350
350
|
clickable: boolean | null;
|
351
351
|
clearable: boolean;
|
package/lib/field/index.d.ts
CHANGED
@@ -200,8 +200,8 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
200
200
|
center: boolean;
|
201
201
|
autofocus: boolean;
|
202
202
|
disabled: boolean;
|
203
|
-
isLink: boolean;
|
204
203
|
border: boolean;
|
204
|
+
isLink: boolean;
|
205
205
|
required: boolean;
|
206
206
|
clickable: boolean | null;
|
207
207
|
clearable: boolean;
|
package/lib/grid/Grid.d.ts
CHANGED
package/lib/grid/index.d.ts
CHANGED
@@ -40,8 +40,8 @@ export declare const Grid: import("../utils").WithInstall<import("vue").DefineCo
|
|
40
40
|
reverse: boolean;
|
41
41
|
center: boolean;
|
42
42
|
border: boolean;
|
43
|
-
clickable: boolean;
|
44
43
|
square: boolean;
|
44
|
+
clickable: boolean;
|
45
45
|
columnNum: string | number;
|
46
46
|
}, {}>>;
|
47
47
|
export default Grid;
|
package/lib/image/Image.d.ts
CHANGED
@@ -95,8 +95,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
95
95
|
onError?: ((...args: any[]) => any) | undefined;
|
96
96
|
}, {
|
97
97
|
round: boolean;
|
98
|
-
showError: boolean;
|
99
98
|
block: boolean;
|
99
|
+
showError: boolean;
|
100
100
|
lazyLoad: boolean;
|
101
101
|
errorIcon: string;
|
102
102
|
showLoading: boolean;
|
package/lib/image/index.d.ts
CHANGED
@@ -61,8 +61,8 @@ export declare const Image: import("../utils").WithInstall<import("vue").DefineC
|
|
61
61
|
onError?: ((...args: any[]) => any) | undefined;
|
62
62
|
}, {
|
63
63
|
round: boolean;
|
64
|
-
showError: boolean;
|
65
64
|
block: boolean;
|
65
|
+
showError: boolean;
|
66
66
|
lazyLoad: boolean;
|
67
67
|
errorIcon: string;
|
68
68
|
showLoading: boolean;
|