vant 4.8.6 → 4.8.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-bar/index.d.ts +1 -1
- package/es/action-bar-button/index.d.ts +3 -3
- package/es/action-bar-icon/index.d.ts +3 -3
- package/es/action-sheet/ActionSheet.d.ts +3 -3
- package/es/action-sheet/index.d.ts +3 -3
- package/es/address-edit/index.d.ts +5 -5
- package/es/address-list/AddressList.mjs +3 -1
- package/es/address-list/AddressListItem.mjs +3 -3
- package/es/address-list/index.d.ts +1 -1
- package/es/area/Area.d.ts +3 -3
- package/es/area/index.d.ts +2 -2
- package/es/back-top/index.d.ts +1 -1
- package/es/badge/index.d.ts +3 -3
- package/es/barrage/Barrage.d.ts +1 -1
- package/es/barrage/index.d.ts +2 -2
- package/es/button/index.d.ts +3 -3
- package/es/calendar/index.d.ts +6 -6
- package/es/calendar/utils.d.ts +1 -1
- package/es/card/index.d.ts +1 -1
- package/es/cascader/index.d.ts +1 -1
- package/es/cell/index.d.ts +1 -1
- package/es/cell-group/index.d.ts +1 -1
- package/es/checkbox/index.d.ts +5 -5
- package/es/checkbox-group/index.d.ts +8 -8
- package/es/circle/index.d.ts +1 -1
- package/es/col/index.d.ts +1 -1
- package/es/collapse/index.d.ts +4 -4
- package/es/collapse-item/index.d.ts +5 -5
- package/es/config-provider/index.d.ts +1 -1
- package/es/contact-card/index.d.ts +1 -1
- package/es/contact-edit/index.d.ts +3 -3
- package/es/contact-list/index.d.ts +1 -1
- package/es/count-down/index.d.ts +1 -1
- package/es/coupon/index.d.ts +1 -1
- package/es/coupon-cell/index.d.ts +4 -4
- package/es/coupon-list/index.d.ts +7 -7
- package/es/date-picker/DatePicker.d.ts +10 -10
- package/es/date-picker/index.d.ts +8 -8
- package/es/dialog/Dialog.d.ts +3 -3
- package/es/dialog/index.d.ts +3 -3
- package/es/divider/index.d.ts +1 -1
- package/es/dropdown-item/index.d.ts +1 -1
- package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/es/dropdown-menu/index.d.ts +2 -2
- package/es/empty/index.d.ts +3 -3
- package/es/field/index.d.ts +5 -5
- package/es/floating-bubble/FloatingBubble.mjs +3 -1
- package/es/floating-bubble/index.d.ts +1 -1
- package/es/floating-panel/FloatingPanel.d.ts +1 -1
- package/es/floating-panel/index.d.ts +2 -2
- package/es/form/index.d.ts +10 -10
- package/es/grid/index.d.ts +1 -1
- package/es/grid-item/index.d.ts +3 -3
- package/es/highlight/index.d.ts +1 -1
- package/es/icon/index.d.ts +3 -3
- package/es/image/index.d.ts +1 -1
- package/es/image-preview/ImagePreviewItem.mjs +3 -1
- package/es/image-preview/index.d.ts +8 -8
- package/es/index-anchor/index.d.ts +1 -1
- package/es/index-bar/index.d.ts +4 -4
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/list/index.d.ts +1 -1
- package/es/loading/index.d.ts +1 -1
- package/es/nav-bar/index.d.ts +1 -1
- package/es/notice-bar/index.d.ts +1 -1
- package/es/notify/Notify.d.ts +3 -3
- package/es/notify/index.d.ts +3 -3
- package/es/number-keyboard/index.d.ts +1 -1
- package/es/overlay/index.d.ts +1 -1
- package/es/pagination/Pagination.d.ts +1 -1
- package/es/pagination/index.d.ts +2 -2
- package/es/password-input/index.d.ts +1 -1
- package/es/picker/index.d.ts +4 -4
- package/es/picker/utils.d.ts +1 -1
- package/es/picker-group/PickerGroup.mjs +11 -3
- package/es/picker-group/index.d.ts +1 -1
- package/es/popover/index.d.ts +1 -1
- package/es/popup/Popup.d.ts +3 -3
- package/es/popup/index.d.ts +3 -3
- package/es/progress/index.d.ts +3 -3
- package/es/pull-refresh/index.d.ts +1 -1
- package/es/radio/index.d.ts +3 -3
- package/es/radio-group/index.d.ts +5 -5
- package/es/rate/index.d.ts +1 -1
- package/es/rolling-text/index.d.ts +1 -1
- package/es/row/index.d.ts +1 -1
- package/es/search/Search.d.ts +17 -17
- package/es/search/index.d.ts +13 -13
- package/es/share-sheet/ShareSheet.d.ts +3 -3
- package/es/share-sheet/index.d.ts +3 -3
- package/es/sidebar/index.d.ts +1 -1
- package/es/sidebar-item/index.d.ts +3 -3
- package/es/signature/index.d.ts +1 -1
- package/es/skeleton/index.d.ts +9 -9
- package/es/skeleton-avatar/index.d.ts +1 -1
- package/es/skeleton-image/index.d.ts +1 -1
- package/es/skeleton-paragraph/index.d.ts +1 -1
- package/es/skeleton-title/index.d.ts +1 -1
- package/es/slider/index.d.ts +1 -1
- package/es/space/index.d.ts +1 -1
- package/es/step/index.d.ts +1 -1
- package/es/stepper/index.d.ts +3 -3
- package/es/steps/index.d.ts +1 -1
- package/es/sticky/index.d.ts +1 -1
- package/es/submit-bar/index.d.ts +6 -6
- package/es/swipe/Swipe.d.ts +1 -1
- package/es/swipe/index.d.ts +2 -2
- package/es/swipe-cell/index.d.ts +3 -3
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/index.d.ts +1 -1
- package/es/tab/index.d.ts +1 -1
- package/es/tabbar/index.d.ts +3 -3
- package/es/tabbar-item/index.d.ts +3 -3
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/index.d.ts +4 -4
- package/es/tag/index.d.ts +1 -1
- package/es/text-ellipsis/TextEllipsis.mjs +30 -21
- package/es/text-ellipsis/index.d.ts +1 -1
- package/es/time-picker/TimePicker.d.ts +13 -13
- package/es/time-picker/index.d.ts +10 -10
- package/es/toast/Toast.d.ts +1 -1
- package/es/toast/index.d.ts +4 -4
- package/es/tree-select/index.d.ts +4 -4
- package/es/uploader/index.d.ts +7 -7
- package/es/uploader/utils.d.ts +1 -1
- package/es/utils/basic.d.ts +1 -0
- package/es/utils/basic.mjs +2 -0
- package/es/watermark/index.d.ts +1 -1
- package/lib/action-bar/index.d.ts +1 -1
- package/lib/action-bar-button/index.d.ts +3 -3
- package/lib/action-bar-icon/index.d.ts +3 -3
- package/lib/action-sheet/ActionSheet.d.ts +3 -3
- package/lib/action-sheet/index.d.ts +3 -3
- package/lib/address-edit/index.d.ts +5 -5
- package/lib/address-list/AddressList.js +3 -1
- package/lib/address-list/AddressListItem.js +3 -3
- package/lib/address-list/index.d.ts +1 -1
- package/lib/area/Area.d.ts +3 -3
- package/lib/area/index.d.ts +2 -2
- package/lib/back-top/index.d.ts +1 -1
- package/lib/badge/index.d.ts +3 -3
- package/lib/barrage/Barrage.d.ts +1 -1
- package/lib/barrage/index.d.ts +2 -2
- package/lib/button/index.d.ts +3 -3
- package/lib/calendar/index.d.ts +6 -6
- package/lib/calendar/utils.d.ts +1 -1
- package/lib/card/index.d.ts +1 -1
- package/lib/cascader/index.d.ts +1 -1
- package/lib/cell/index.d.ts +1 -1
- package/lib/cell-group/index.d.ts +1 -1
- package/lib/checkbox/index.d.ts +5 -5
- package/lib/checkbox-group/index.d.ts +8 -8
- package/lib/circle/index.d.ts +1 -1
- package/lib/col/index.d.ts +1 -1
- package/lib/collapse/index.d.ts +4 -4
- package/lib/collapse-item/index.d.ts +5 -5
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/contact-card/index.d.ts +1 -1
- package/lib/contact-edit/index.d.ts +3 -3
- package/lib/contact-list/index.d.ts +1 -1
- package/lib/count-down/index.d.ts +1 -1
- package/lib/coupon/index.d.ts +1 -1
- package/lib/coupon-cell/index.d.ts +4 -4
- package/lib/coupon-list/index.d.ts +7 -7
- package/lib/date-picker/DatePicker.d.ts +10 -10
- package/lib/date-picker/index.d.ts +8 -8
- package/lib/dialog/Dialog.d.ts +3 -3
- package/lib/dialog/index.d.ts +3 -3
- package/lib/divider/index.d.ts +1 -1
- package/lib/dropdown-item/index.d.ts +1 -1
- package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/lib/dropdown-menu/index.d.ts +2 -2
- package/lib/empty/index.d.ts +3 -3
- package/lib/field/index.d.ts +5 -5
- package/lib/floating-bubble/FloatingBubble.js +3 -1
- package/lib/floating-bubble/index.d.ts +1 -1
- package/lib/floating-panel/FloatingPanel.d.ts +1 -1
- package/lib/floating-panel/index.d.ts +2 -2
- package/lib/form/index.d.ts +10 -10
- package/lib/grid/index.d.ts +1 -1
- package/lib/grid-item/index.d.ts +3 -3
- package/lib/highlight/index.d.ts +1 -1
- package/lib/icon/index.d.ts +3 -3
- package/lib/image/index.d.ts +1 -1
- package/lib/image-preview/ImagePreviewItem.js +3 -1
- package/lib/image-preview/index.d.ts +8 -8
- package/lib/index-anchor/index.d.ts +1 -1
- package/lib/index-bar/index.d.ts +4 -4
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/index.d.ts +1 -1
- package/lib/loading/index.d.ts +1 -1
- package/lib/nav-bar/index.d.ts +1 -1
- package/lib/notice-bar/index.d.ts +1 -1
- package/lib/notify/Notify.d.ts +3 -3
- package/lib/notify/index.d.ts +3 -3
- package/lib/number-keyboard/index.d.ts +1 -1
- package/lib/overlay/index.d.ts +1 -1
- package/lib/pagination/Pagination.d.ts +1 -1
- package/lib/pagination/index.d.ts +2 -2
- package/lib/password-input/index.d.ts +1 -1
- package/lib/picker/index.d.ts +4 -4
- package/lib/picker/utils.d.ts +1 -1
- package/lib/picker-group/PickerGroup.js +9 -1
- package/lib/picker-group/index.d.ts +1 -1
- package/lib/popover/index.d.ts +1 -1
- package/lib/popup/Popup.d.ts +3 -3
- package/lib/popup/index.d.ts +3 -3
- package/lib/progress/index.d.ts +3 -3
- package/lib/pull-refresh/index.d.ts +1 -1
- package/lib/radio/index.d.ts +3 -3
- package/lib/radio-group/index.d.ts +5 -5
- package/lib/rate/index.d.ts +1 -1
- package/lib/rolling-text/index.d.ts +1 -1
- package/lib/row/index.d.ts +1 -1
- package/lib/search/Search.d.ts +17 -17
- package/lib/search/index.d.ts +13 -13
- package/lib/share-sheet/ShareSheet.d.ts +3 -3
- package/lib/share-sheet/index.d.ts +3 -3
- package/lib/sidebar/index.d.ts +1 -1
- package/lib/sidebar-item/index.d.ts +3 -3
- package/lib/signature/index.d.ts +1 -1
- package/lib/skeleton/index.d.ts +9 -9
- package/lib/skeleton-avatar/index.d.ts +1 -1
- package/lib/skeleton-image/index.d.ts +1 -1
- package/lib/skeleton-paragraph/index.d.ts +1 -1
- package/lib/skeleton-title/index.d.ts +1 -1
- package/lib/slider/index.d.ts +1 -1
- package/lib/space/index.d.ts +1 -1
- package/lib/step/index.d.ts +1 -1
- package/lib/stepper/index.d.ts +3 -3
- package/lib/steps/index.d.ts +1 -1
- package/lib/sticky/index.d.ts +1 -1
- package/lib/submit-bar/index.d.ts +6 -6
- package/lib/swipe/Swipe.d.ts +1 -1
- package/lib/swipe/index.d.ts +2 -2
- package/lib/swipe-cell/index.d.ts +3 -3
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/switch/index.d.ts +1 -1
- package/lib/tab/index.d.ts +1 -1
- package/lib/tabbar/index.d.ts +3 -3
- package/lib/tabbar-item/index.d.ts +3 -3
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/index.d.ts +4 -4
- package/lib/tag/index.d.ts +1 -1
- package/lib/text-ellipsis/TextEllipsis.js +29 -20
- package/lib/text-ellipsis/index.d.ts +1 -1
- package/lib/time-picker/TimePicker.d.ts +13 -13
- package/lib/time-picker/index.d.ts +10 -10
- package/lib/toast/Toast.d.ts +1 -1
- package/lib/toast/index.d.ts +4 -4
- package/lib/tree-select/index.d.ts +4 -4
- package/lib/uploader/index.d.ts +7 -7
- package/lib/uploader/utils.d.ts +1 -1
- package/lib/utils/basic.d.ts +1 -0
- package/lib/utils/basic.js +2 -0
- package/lib/vant.cjs.js +52 -28
- package/lib/vant.es.js +52 -28
- package/lib/vant.js +53 -29
- package/lib/vant.min.js +2 -2
- package/lib/watermark/index.d.ts +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +4 -4
package/lib/form/index.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import { FormProps } from './Form';
|
2
|
-
export declare const Form: import("
|
2
|
+
export declare const Form: import("../utils").WithInstall<import("vue").DefineComponent<{
|
3
3
|
colon: BooleanConstructor;
|
4
4
|
disabled: BooleanConstructor;
|
5
5
|
readonly: BooleanConstructor;
|
6
6
|
required: import("vue").PropType<boolean | "auto">;
|
7
7
|
showError: BooleanConstructor;
|
8
8
|
labelWidth: (NumberConstructor | StringConstructor)[];
|
9
|
-
labelAlign: import("vue").PropType<import("
|
10
|
-
inputAlign: import("vue").PropType<import("
|
9
|
+
labelAlign: import("vue").PropType<import("..").FieldTextAlign>;
|
10
|
+
inputAlign: import("vue").PropType<import("..").FieldTextAlign>;
|
11
11
|
scrollToError: BooleanConstructor;
|
12
12
|
validateFirst: BooleanConstructor;
|
13
13
|
submitOnEnter: {
|
@@ -18,9 +18,9 @@ export declare const Form: import("packages/vant/lib/utils/with-install").WithIn
|
|
18
18
|
type: BooleanConstructor;
|
19
19
|
default: true;
|
20
20
|
};
|
21
|
-
errorMessageAlign: import("vue").PropType<import("
|
21
|
+
errorMessageAlign: import("vue").PropType<import("..").FieldTextAlign>;
|
22
22
|
validateTrigger: {
|
23
|
-
type: import("vue").PropType<import("
|
23
|
+
type: import("vue").PropType<import("..").FieldValidateTrigger | import("..").FieldValidateTrigger[]>;
|
24
24
|
default: string;
|
25
25
|
};
|
26
26
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "failed")[], "submit" | "failed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -30,8 +30,8 @@ export declare const Form: import("packages/vant/lib/utils/with-install").WithIn
|
|
30
30
|
required: import("vue").PropType<boolean | "auto">;
|
31
31
|
showError: BooleanConstructor;
|
32
32
|
labelWidth: (NumberConstructor | StringConstructor)[];
|
33
|
-
labelAlign: import("vue").PropType<import("
|
34
|
-
inputAlign: import("vue").PropType<import("
|
33
|
+
labelAlign: import("vue").PropType<import("..").FieldTextAlign>;
|
34
|
+
inputAlign: import("vue").PropType<import("..").FieldTextAlign>;
|
35
35
|
scrollToError: BooleanConstructor;
|
36
36
|
validateFirst: BooleanConstructor;
|
37
37
|
submitOnEnter: {
|
@@ -42,9 +42,9 @@ export declare const Form: import("packages/vant/lib/utils/with-install").WithIn
|
|
42
42
|
type: BooleanConstructor;
|
43
43
|
default: true;
|
44
44
|
};
|
45
|
-
errorMessageAlign: import("vue").PropType<import("
|
45
|
+
errorMessageAlign: import("vue").PropType<import("..").FieldTextAlign>;
|
46
46
|
validateTrigger: {
|
47
|
-
type: import("vue").PropType<import("
|
47
|
+
type: import("vue").PropType<import("..").FieldValidateTrigger | import("..").FieldValidateTrigger[]>;
|
48
48
|
default: string;
|
49
49
|
};
|
50
50
|
}>> & {
|
@@ -59,7 +59,7 @@ export declare const Form: import("packages/vant/lib/utils/with-install").WithIn
|
|
59
59
|
validateFirst: boolean;
|
60
60
|
submitOnEnter: boolean;
|
61
61
|
showErrorMessage: boolean;
|
62
|
-
validateTrigger: import("
|
62
|
+
validateTrigger: import("..").FieldValidateTrigger | import("..").FieldValidateTrigger[];
|
63
63
|
}, {}>>;
|
64
64
|
export default Form;
|
65
65
|
export { formProps } from './Form';
|
package/lib/grid/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Grid: import("
|
1
|
+
export declare const Grid: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
square: BooleanConstructor;
|
3
3
|
center: {
|
4
4
|
type: BooleanConstructor;
|
package/lib/grid-item/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const GridItem: import("
|
1
|
+
export declare const GridItem: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
3
3
|
url: StringConstructor;
|
4
4
|
replace: BooleanConstructor;
|
@@ -9,7 +9,7 @@ export declare const GridItem: import("packages/vant/lib/utils/with-install").Wi
|
|
9
9
|
badge: (NumberConstructor | StringConstructor)[];
|
10
10
|
iconColor: StringConstructor;
|
11
11
|
iconPrefix: StringConstructor;
|
12
|
-
badgeProps: import("vue").PropType<Partial<import("
|
12
|
+
badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
|
13
13
|
}, (() => import("vue/jsx-runtime").JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
14
14
|
to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
15
15
|
url: StringConstructor;
|
@@ -21,7 +21,7 @@ export declare const GridItem: import("packages/vant/lib/utils/with-install").Wi
|
|
21
21
|
badge: (NumberConstructor | StringConstructor)[];
|
22
22
|
iconColor: StringConstructor;
|
23
23
|
iconPrefix: StringConstructor;
|
24
|
-
badgeProps: import("vue").PropType<Partial<import("
|
24
|
+
badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
|
25
25
|
}>>, {
|
26
26
|
replace: boolean;
|
27
27
|
dot: boolean;
|
package/lib/highlight/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Highlight: import("
|
1
|
+
export declare const Highlight: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
autoEscape: {
|
3
3
|
type: BooleanConstructor;
|
4
4
|
default: true;
|
package/lib/icon/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Icon: import("
|
1
|
+
export declare const Icon: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
dot: BooleanConstructor;
|
3
3
|
tag: {
|
4
4
|
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
@@ -8,7 +8,7 @@ export declare const Icon: import("packages/vant/lib/utils/with-install").WithIn
|
|
8
8
|
size: (NumberConstructor | StringConstructor)[];
|
9
9
|
badge: (NumberConstructor | StringConstructor)[];
|
10
10
|
color: StringConstructor;
|
11
|
-
badgeProps: import("vue").PropType<Partial<import("
|
11
|
+
badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
|
12
12
|
classPrefix: StringConstructor;
|
13
13
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
14
14
|
dot: BooleanConstructor;
|
@@ -20,7 +20,7 @@ export declare const Icon: import("packages/vant/lib/utils/with-install").WithIn
|
|
20
20
|
size: (NumberConstructor | StringConstructor)[];
|
21
21
|
badge: (NumberConstructor | StringConstructor)[];
|
22
22
|
color: StringConstructor;
|
23
|
-
badgeProps: import("vue").PropType<Partial<import("
|
23
|
+
badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
|
24
24
|
classPrefix: StringConstructor;
|
25
25
|
}>>, {
|
26
26
|
dot: boolean;
|
package/lib/image/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Image: import("
|
1
|
+
export declare const Image: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
src: StringConstructor;
|
3
3
|
alt: StringConstructor;
|
4
4
|
fit: import("vue").PropType<import("csstype").Property.ObjectFit | undefined>;
|
@@ -340,7 +340,9 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
340
340
|
default: () => [slots.image ? (0, import_vue.createVNode)("div", {
|
341
341
|
"class": bem("image-wrap")
|
342
342
|
}, [slots.image({
|
343
|
-
src: props.src
|
343
|
+
src: props.src,
|
344
|
+
onLoad,
|
345
|
+
style: imageStyle.value
|
344
346
|
})]) : (0, import_vue.createVNode)(import_image.Image, {
|
345
347
|
"ref": imageRef,
|
346
348
|
"src": props.src,
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { ImagePreviewProps } from './ImagePreview';
|
2
|
-
export declare const ImagePreview: import("
|
2
|
+
export declare const ImagePreview: import("../utils").WithInstall<import("vue").DefineComponent<{
|
3
3
|
show: BooleanConstructor;
|
4
4
|
loop: {
|
5
5
|
type: BooleanConstructor;
|
@@ -33,7 +33,7 @@ export declare const ImagePreview: import("packages/vant/lib/utils/with-install"
|
|
33
33
|
default: string;
|
34
34
|
};
|
35
35
|
transition: StringConstructor;
|
36
|
-
beforeClose: import("vue").PropType<import("
|
36
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
37
37
|
doubleScale: {
|
38
38
|
type: BooleanConstructor;
|
39
39
|
default: true;
|
@@ -62,8 +62,8 @@ export declare const ImagePreview: import("packages/vant/lib/utils/with-install"
|
|
62
62
|
default: true;
|
63
63
|
};
|
64
64
|
closeIconPosition: {
|
65
|
-
type: import("vue").PropType<import("
|
66
|
-
default: import("
|
65
|
+
type: import("vue").PropType<import("..").PopupCloseIconPosition>;
|
66
|
+
default: import("..").PopupCloseIconPosition;
|
67
67
|
};
|
68
68
|
teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
69
69
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "closed" | "update:show" | "scale" | "longPress")[], "change" | "close" | "closed" | "update:show" | "scale" | "longPress", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -100,7 +100,7 @@ export declare const ImagePreview: import("packages/vant/lib/utils/with-install"
|
|
100
100
|
default: string;
|
101
101
|
};
|
102
102
|
transition: StringConstructor;
|
103
|
-
beforeClose: import("vue").PropType<import("
|
103
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
104
104
|
doubleScale: {
|
105
105
|
type: BooleanConstructor;
|
106
106
|
default: true;
|
@@ -129,8 +129,8 @@ export declare const ImagePreview: import("packages/vant/lib/utils/with-install"
|
|
129
129
|
default: true;
|
130
130
|
};
|
131
131
|
closeIconPosition: {
|
132
|
-
type: import("vue").PropType<import("
|
133
|
-
default: import("
|
132
|
+
type: import("vue").PropType<import("..").PopupCloseIconPosition>;
|
133
|
+
default: import("..").PopupCloseIconPosition;
|
134
134
|
};
|
135
135
|
teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
136
136
|
}>> & {
|
@@ -149,7 +149,7 @@ export declare const ImagePreview: import("packages/vant/lib/utils/with-install"
|
|
149
149
|
closeIcon: string;
|
150
150
|
closeable: boolean;
|
151
151
|
closeOnPopstate: boolean;
|
152
|
-
closeIconPosition: import("
|
152
|
+
closeIconPosition: import("..").PopupCloseIconPosition;
|
153
153
|
swipeDuration: string | number;
|
154
154
|
showIndicators: boolean;
|
155
155
|
startPosition: string | number;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const IndexAnchor: import("
|
1
|
+
export declare const IndexAnchor: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
index: (NumberConstructor | StringConstructor)[];
|
3
3
|
}, (() => import("vue/jsx-runtime").JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
4
4
|
index: (NumberConstructor | StringConstructor)[];
|
package/lib/index-bar/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { IndexBarProps } from './IndexBar';
|
2
|
-
export declare const IndexBar: import("
|
2
|
+
export declare const IndexBar: import("../utils").WithInstall<import("vue").DefineComponent<{
|
3
3
|
sticky: {
|
4
4
|
type: BooleanConstructor;
|
5
5
|
default: true;
|
@@ -12,7 +12,7 @@ export declare const IndexBar: import("packages/vant/lib/utils/with-install").Wi
|
|
12
12
|
default: number;
|
13
13
|
};
|
14
14
|
indexList: {
|
15
|
-
type: import("vue").PropType<import("
|
15
|
+
type: import("vue").PropType<import("../utils").Numeric[]>;
|
16
16
|
default: () => string[];
|
17
17
|
};
|
18
18
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "change")[], "select" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -28,7 +28,7 @@ export declare const IndexBar: import("packages/vant/lib/utils/with-install").Wi
|
|
28
28
|
default: number;
|
29
29
|
};
|
30
30
|
indexList: {
|
31
|
-
type: import("vue").PropType<import("
|
31
|
+
type: import("vue").PropType<import("../utils").Numeric[]>;
|
32
32
|
default: () => string[];
|
33
33
|
};
|
34
34
|
}>> & {
|
@@ -37,7 +37,7 @@ export declare const IndexBar: import("packages/vant/lib/utils/with-install").Wi
|
|
37
37
|
}, {
|
38
38
|
sticky: boolean;
|
39
39
|
stickyOffsetTop: number;
|
40
|
-
indexList: import("
|
40
|
+
indexList: import("../utils").Numeric[];
|
41
41
|
}, {}>>;
|
42
42
|
export default IndexBar;
|
43
43
|
export { indexBarProps } from './IndexBar';
|
package/lib/index.d.ts
CHANGED
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.8.
|
229
|
+
const version = "4.8.8";
|
230
230
|
function install(app) {
|
231
231
|
const components = [
|
232
232
|
import_action_bar.ActionBar,
|
package/lib/list/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ListProps } from './List';
|
2
|
-
export declare const List: import("
|
2
|
+
export declare const List: import("../utils").WithInstall<import("vue").DefineComponent<{
|
3
3
|
error: BooleanConstructor;
|
4
4
|
offset: {
|
5
5
|
type: (NumberConstructor | StringConstructor)[];
|
package/lib/loading/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Loading: import("
|
1
|
+
export declare const Loading: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
size: (NumberConstructor | StringConstructor)[];
|
3
3
|
type: {
|
4
4
|
type: import("vue").PropType<import("./Loading").LoadingType>;
|
package/lib/nav-bar/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const NavBar: import("
|
1
|
+
export declare const NavBar: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
title: StringConstructor;
|
3
3
|
fixed: BooleanConstructor;
|
4
4
|
zIndex: (NumberConstructor | StringConstructor)[];
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { NoticeBarProps } from './NoticeBar';
|
2
|
-
export declare const NoticeBar: import("
|
2
|
+
export declare const NoticeBar: import("../utils").WithInstall<import("vue").DefineComponent<{
|
3
3
|
text: StringConstructor;
|
4
4
|
mode: import("vue").PropType<import("./types").NoticeBarMode>;
|
5
5
|
color: StringConstructor;
|
package/lib/notify/Notify.d.ts
CHANGED
@@ -17,7 +17,7 @@ export declare const notifyProps: {
|
|
17
17
|
type: BooleanConstructor;
|
18
18
|
default: true;
|
19
19
|
};
|
20
|
-
beforeClose: import("vue").PropType<import("
|
20
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
21
21
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
22
22
|
overlayClass: import("vue").PropType<unknown>;
|
23
23
|
transitionAppear: BooleanConstructor;
|
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
58
58
|
type: BooleanConstructor;
|
59
59
|
default: true;
|
60
60
|
};
|
61
|
-
beforeClose: import("vue").PropType<import("
|
61
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
62
62
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
63
63
|
overlayClass: import("vue").PropType<unknown>;
|
64
64
|
transitionAppear: BooleanConstructor;
|
@@ -97,7 +97,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
97
97
|
type: BooleanConstructor;
|
98
98
|
default: true;
|
99
99
|
};
|
100
|
-
beforeClose: import("vue").PropType<import("
|
100
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
101
101
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
102
102
|
overlayClass: import("vue").PropType<unknown>;
|
103
103
|
transitionAppear: BooleanConstructor;
|
package/lib/notify/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Notify: import("
|
1
|
+
export declare const Notify: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
zIndex: (NumberConstructor | StringConstructor)[];
|
4
4
|
overlay: {
|
@@ -15,7 +15,7 @@ export declare const Notify: import("packages/vant/lib/utils/with-install").With
|
|
15
15
|
type: BooleanConstructor;
|
16
16
|
default: true;
|
17
17
|
};
|
18
|
-
beforeClose: import("vue").PropType<import("
|
18
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
19
19
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
20
20
|
overlayClass: import("vue").PropType<unknown>;
|
21
21
|
transitionAppear: BooleanConstructor;
|
@@ -54,7 +54,7 @@ export declare const Notify: import("packages/vant/lib/utils/with-install").With
|
|
54
54
|
type: BooleanConstructor;
|
55
55
|
default: true;
|
56
56
|
};
|
57
|
-
beforeClose: import("vue").PropType<import("
|
57
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
58
58
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
59
59
|
overlayClass: import("vue").PropType<unknown>;
|
60
60
|
transitionAppear: BooleanConstructor;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const NumberKeyboard: import("
|
1
|
+
export declare const NumberKeyboard: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
title: StringConstructor;
|
4
4
|
theme: {
|
package/lib/overlay/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Overlay: import("
|
1
|
+
export declare const Overlay: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
zIndex: (NumberConstructor | StringConstructor)[];
|
4
4
|
duration: (NumberConstructor | StringConstructor)[];
|
@@ -114,8 +114,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
114
114
|
onChange?: ((...args: any[]) => any) | undefined;
|
115
115
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
116
116
|
}, {
|
117
|
-
mode: PaginationMode;
|
118
117
|
modelValue: number;
|
118
|
+
mode: PaginationMode;
|
119
119
|
pageCount: string | number;
|
120
120
|
totalItems: string | number;
|
121
121
|
showPageSize: string | number;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Pagination: import("
|
1
|
+
export declare const Pagination: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
mode: {
|
3
3
|
type: import("vue").PropType<import("./Pagination").PaginationMode>;
|
4
4
|
default: import("./Pagination").PaginationMode;
|
@@ -74,8 +74,8 @@ export declare const Pagination: import("packages/vant/lib/utils/with-install").
|
|
74
74
|
onChange?: ((...args: any[]) => any) | undefined;
|
75
75
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
76
76
|
}, {
|
77
|
-
mode: import("./Pagination").PaginationMode;
|
78
77
|
modelValue: number;
|
78
|
+
mode: import("./Pagination").PaginationMode;
|
79
79
|
pageCount: string | number;
|
80
80
|
totalItems: string | number;
|
81
81
|
showPageSize: string | number;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const PasswordInput: import("
|
1
|
+
export declare const PasswordInput: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
info: StringConstructor;
|
3
3
|
mask: {
|
4
4
|
type: BooleanConstructor;
|
package/lib/picker/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PickerProps } from './Picker';
|
2
|
-
export declare const Picker: import("
|
2
|
+
export declare const Picker: import("../utils").WithInstall<import("vue").DefineComponent<{
|
3
3
|
loading: BooleanConstructor;
|
4
4
|
readonly: BooleanConstructor;
|
5
5
|
allowHtml: BooleanConstructor;
|
@@ -29,7 +29,7 @@ export declare const Picker: import("packages/vant/lib/utils/with-install").With
|
|
29
29
|
default: () => never[];
|
30
30
|
};
|
31
31
|
modelValue: {
|
32
|
-
type: import("vue").PropType<import("
|
32
|
+
type: import("vue").PropType<import("../utils").Numeric[]>;
|
33
33
|
default: () => never[];
|
34
34
|
};
|
35
35
|
toolbarPosition: {
|
@@ -67,7 +67,7 @@ export declare const Picker: import("packages/vant/lib/utils/with-install").With
|
|
67
67
|
default: () => never[];
|
68
68
|
};
|
69
69
|
modelValue: {
|
70
|
-
type: import("vue").PropType<import("
|
70
|
+
type: import("vue").PropType<import("../utils").Numeric[]>;
|
71
71
|
default: () => never[];
|
72
72
|
};
|
73
73
|
toolbarPosition: {
|
@@ -83,7 +83,7 @@ export declare const Picker: import("packages/vant/lib/utils/with-install").With
|
|
83
83
|
onScrollInto?: ((...args: any[]) => any) | undefined;
|
84
84
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
85
85
|
}, {
|
86
|
-
modelValue: import("
|
86
|
+
modelValue: import("../utils").Numeric[];
|
87
87
|
readonly: boolean;
|
88
88
|
loading: boolean;
|
89
89
|
allowHtml: boolean;
|
package/lib/picker/utils.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { type Numeric } from '../utils';
|
2
2
|
import type { Ref } from 'vue';
|
3
3
|
import type { PickerOption, PickerColumn, PickerFieldNames } from './types';
|
4
|
-
declare const name: string, bem: (el?: import("
|
4
|
+
declare const name: string, bem: (el?: import("../utils").Mods | undefined, mods?: import("../utils").Mods | undefined) => import("../utils").Mods, t: (path: string, ...args: unknown[]) => any;
|
5
5
|
export { name, bem, t };
|
6
6
|
export declare const getFirstEnabledOption: (options: PickerOption[]) => PickerOption | undefined;
|
7
7
|
export declare function getColumnsType(columns: PickerColumn | PickerColumn[], fields: Required<PickerFieldNames>): "default" | "multiple" | "cascade";
|
@@ -72,7 +72,15 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
72
72
|
const onCancel = () => emit("cancel");
|
73
73
|
return () => {
|
74
74
|
var _a, _b;
|
75
|
-
|
75
|
+
let childNodes = (_b = (_a = slots.default) == null ? void 0 : _a.call(slots)) == null ? void 0 : _b.filter((node) => node.type !== import_vue2.Comment).map((node) => {
|
76
|
+
if (node.type === import_vue2.Fragment) {
|
77
|
+
return node.children;
|
78
|
+
}
|
79
|
+
return node;
|
80
|
+
});
|
81
|
+
if (childNodes) {
|
82
|
+
childNodes = (0, import_utils.flat)(childNodes);
|
83
|
+
}
|
76
84
|
const confirmButtonText = showNextButton() ? props.nextStepText : props.confirmButtonText;
|
77
85
|
return (0, import_vue.createVNode)("div", {
|
78
86
|
"class": bem()
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PickerGroupProps } from './PickerGroup';
|
2
|
-
export declare const PickerGroup: import("
|
2
|
+
export declare const PickerGroup: import("../utils").WithInstall<import("vue").DefineComponent<{
|
3
3
|
tabs: {
|
4
4
|
type: import("vue").PropType<string[]>;
|
5
5
|
default: () => never[];
|
package/lib/popover/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Popover: import("
|
1
|
+
export declare const Popover: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
theme: {
|
4
4
|
type: import("vue").PropType<import("./types").PopoverTheme>;
|
package/lib/popup/Popup.d.ts
CHANGED
@@ -17,7 +17,7 @@ export declare const popupProps: {
|
|
17
17
|
type: BooleanConstructor;
|
18
18
|
default: true;
|
19
19
|
};
|
20
|
-
beforeClose: import("vue").PropType<import("
|
20
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
21
21
|
overlayStyle: import("vue").PropType<CSSProperties>;
|
22
22
|
overlayClass: import("vue").PropType<unknown>;
|
23
23
|
transitionAppear: BooleanConstructor;
|
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
64
64
|
type: BooleanConstructor;
|
65
65
|
default: true;
|
66
66
|
};
|
67
|
-
beforeClose: import("vue").PropType<import("
|
67
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
68
68
|
overlayStyle: import("vue").PropType<CSSProperties>;
|
69
69
|
overlayClass: import("vue").PropType<unknown>;
|
70
70
|
transitionAppear: BooleanConstructor;
|
@@ -109,7 +109,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
109
109
|
type: BooleanConstructor;
|
110
110
|
default: true;
|
111
111
|
};
|
112
|
-
beforeClose: import("vue").PropType<import("
|
112
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
113
113
|
overlayStyle: import("vue").PropType<CSSProperties>;
|
114
114
|
overlayClass: import("vue").PropType<unknown>;
|
115
115
|
transitionAppear: BooleanConstructor;
|
package/lib/popup/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Popup: import("
|
1
|
+
export declare const Popup: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
zIndex: (NumberConstructor | StringConstructor)[];
|
4
4
|
overlay: {
|
@@ -15,7 +15,7 @@ export declare const Popup: import("packages/vant/lib/utils/with-install").WithI
|
|
15
15
|
type: BooleanConstructor;
|
16
16
|
default: true;
|
17
17
|
};
|
18
|
-
beforeClose: import("vue").PropType<import("
|
18
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
19
19
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
20
20
|
overlayClass: import("vue").PropType<unknown>;
|
21
21
|
transitionAppear: BooleanConstructor;
|
@@ -60,7 +60,7 @@ export declare const Popup: import("packages/vant/lib/utils/with-install").WithI
|
|
60
60
|
type: BooleanConstructor;
|
61
61
|
default: true;
|
62
62
|
};
|
63
|
-
beforeClose: import("vue").PropType<import("
|
63
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
64
64
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
65
65
|
overlayClass: import("vue").PropType<unknown>;
|
66
66
|
transitionAppear: BooleanConstructor;
|
package/lib/progress/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ProgressProps } from './Progress';
|
2
|
-
export declare const Progress: import("
|
2
|
+
export declare const Progress: import("../utils").WithInstall<import("vue").DefineComponent<{
|
3
3
|
color: StringConstructor;
|
4
4
|
inactive: BooleanConstructor;
|
5
5
|
pivotText: StringConstructor;
|
@@ -14,7 +14,7 @@ export declare const Progress: import("packages/vant/lib/utils/with-install").Wi
|
|
14
14
|
percentage: {
|
15
15
|
type: (NumberConstructor | StringConstructor)[];
|
16
16
|
default: number;
|
17
|
-
validator: (value: import("
|
17
|
+
validator: (value: import("../utils").Numeric) => boolean;
|
18
18
|
};
|
19
19
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
20
20
|
color: StringConstructor;
|
@@ -31,7 +31,7 @@ export declare const Progress: import("packages/vant/lib/utils/with-install").Wi
|
|
31
31
|
percentage: {
|
32
32
|
type: (NumberConstructor | StringConstructor)[];
|
33
33
|
default: number;
|
34
|
-
validator: (value: import("
|
34
|
+
validator: (value: import("../utils").Numeric) => boolean;
|
35
35
|
};
|
36
36
|
}>>, {
|
37
37
|
inactive: boolean;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const PullRefresh: import("
|
1
|
+
export declare const PullRefresh: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
disabled: BooleanConstructor;
|
3
3
|
modelValue: BooleanConstructor;
|
4
4
|
headHeight: {
|
package/lib/radio/index.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
export declare const Radio: import("
|
1
|
+
export declare const Radio: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
name: import("vue").PropType<unknown>;
|
3
3
|
disabled: BooleanConstructor;
|
4
4
|
iconSize: (NumberConstructor | StringConstructor)[];
|
5
5
|
modelValue: import("vue").PropType<unknown>;
|
6
6
|
checkedColor: StringConstructor;
|
7
|
-
labelPosition: import("vue").PropType<import("
|
7
|
+
labelPosition: import("vue").PropType<import("../checkbox/Checker").CheckerLabelPosition>;
|
8
8
|
labelDisabled: BooleanConstructor;
|
9
9
|
} & {
|
10
10
|
shape: import("vue").PropType<import("./Radio").RadioShape>;
|
@@ -14,7 +14,7 @@ export declare const Radio: import("packages/vant/lib/utils/with-install").WithI
|
|
14
14
|
iconSize: (NumberConstructor | StringConstructor)[];
|
15
15
|
modelValue: import("vue").PropType<unknown>;
|
16
16
|
checkedColor: StringConstructor;
|
17
|
-
labelPosition: import("vue").PropType<import("
|
17
|
+
labelPosition: import("vue").PropType<import("../checkbox/Checker").CheckerLabelPosition>;
|
18
18
|
labelDisabled: BooleanConstructor;
|
19
19
|
} & {
|
20
20
|
shape: import("vue").PropType<import("./Radio").RadioShape>;
|
@@ -1,15 +1,15 @@
|
|
1
|
-
export declare const RadioGroup: import("
|
2
|
-
shape: import("vue").PropType<import("
|
1
|
+
export declare const RadioGroup: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
|
+
shape: import("vue").PropType<import("..").RadioShape>;
|
3
3
|
disabled: BooleanConstructor;
|
4
4
|
iconSize: (NumberConstructor | StringConstructor)[];
|
5
|
-
direction: import("vue").PropType<import("
|
5
|
+
direction: import("vue").PropType<import("../checkbox/Checker").CheckerDirection>;
|
6
6
|
modelValue: import("vue").PropType<unknown>;
|
7
7
|
checkedColor: StringConstructor;
|
8
8
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
9
|
-
shape: import("vue").PropType<import("
|
9
|
+
shape: import("vue").PropType<import("..").RadioShape>;
|
10
10
|
disabled: BooleanConstructor;
|
11
11
|
iconSize: (NumberConstructor | StringConstructor)[];
|
12
|
-
direction: import("vue").PropType<import("
|
12
|
+
direction: import("vue").PropType<import("../checkbox/Checker").CheckerDirection>;
|
13
13
|
modelValue: import("vue").PropType<unknown>;
|
14
14
|
checkedColor: StringConstructor;
|
15
15
|
}>> & {
|
package/lib/rate/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Rate: import("
|
1
|
+
export declare const Rate: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
size: (NumberConstructor | StringConstructor)[];
|
3
3
|
icon: {
|
4
4
|
type: import("vue").PropType<string>;
|