vant 4.0.0-rc.2 → 4.0.0-rc.4
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 +4 -5
- package/changelog.generated.md +38 -26
- package/es/action-bar/index.d.ts +1 -0
- package/es/action-bar/types.d.ts +4 -0
- package/es/action-bar/types.mjs +0 -0
- package/es/action-bar-button/index.d.ts +1 -0
- package/es/action-bar-button/types.d.ts +5 -0
- package/es/action-bar-button/types.mjs +0 -0
- package/es/action-bar-icon/index.d.ts +1 -0
- package/es/action-bar-icon/types.d.ts +10 -0
- package/es/action-bar-icon/types.mjs +0 -0
- package/es/action-sheet/index.d.ts +1 -0
- package/es/action-sheet/types.d.ts +23 -0
- package/es/action-sheet/types.mjs +0 -0
- package/es/address-edit/index.d.ts +1 -1
- package/es/address-edit/types.d.ts +6 -0
- package/es/address-list/index.d.ts +1 -0
- package/es/address-list/types.d.ts +15 -0
- package/es/address-list/types.mjs +0 -0
- package/es/badge/index.d.ts +1 -0
- package/es/badge/types.d.ts +12 -0
- package/es/badge/types.mjs +0 -0
- package/es/button/index.d.ts +1 -1
- package/es/button/types.d.ts +36 -0
- package/es/calendar/index.d.ts +1 -1
- package/es/calendar/types.d.ts +28 -0
- package/es/card/index.d.ts +1 -0
- package/es/card/types.d.ts +18 -0
- package/es/card/types.mjs +0 -0
- package/es/cascader/index.d.ts +1 -1
- package/es/cascader/types.d.ts +15 -0
- package/es/cell/index.d.ts +1 -0
- package/es/cell/types.d.ts +21 -0
- package/es/cell/types.mjs +0 -0
- package/es/cell-group/index.d.ts +1 -0
- package/es/cell-group/types.d.ts +10 -0
- package/es/cell-group/types.mjs +0 -0
- package/es/checkbox/index.d.ts +1 -1
- package/es/checkbox/types.d.ts +11 -0
- package/es/circle/index.d.ts +1 -0
- package/es/circle/types.d.ts +9 -0
- package/es/circle/types.mjs +0 -0
- package/es/collapse-item/index.d.ts +1 -1
- package/es/collapse-item/types.d.ts +9 -0
- package/es/config-provider/index.d.ts +1 -0
- package/es/config-provider/types.d.ts +1 -0
- package/es/config-provider/types.mjs +0 -0
- package/es/contact-card/index.d.ts +1 -0
- package/es/contact-card/types.d.ts +6 -0
- package/es/contact-card/types.mjs +0 -0
- package/es/contact-edit/index.d.ts +1 -0
- package/es/contact-edit/types.d.ts +8 -0
- package/es/contact-edit/types.mjs +0 -0
- package/es/contact-list/index.d.ts +1 -0
- package/es/contact-list/types.d.ts +6 -0
- package/es/contact-list/types.mjs +0 -0
- package/es/count-down/index.d.ts +1 -1
- package/es/count-down/types.d.ts +5 -0
- package/es/coupon/index.d.ts +1 -0
- package/es/coupon/types.d.ts +19 -0
- package/es/coupon/types.mjs +0 -0
- package/es/coupon-cell/index.d.ts +1 -0
- package/es/coupon-cell/types.d.ts +3 -0
- package/es/coupon-cell/types.mjs +0 -0
- package/es/coupon-list/index.d.ts +1 -0
- package/es/coupon-list/types.d.ts +9 -0
- package/es/coupon-list/types.mjs +0 -0
- package/es/dialog/index.d.ts +1 -1
- package/es/dialog/types.d.ts +21 -0
- package/es/divider/index.d.ts +1 -0
- package/es/divider/types.d.ts +10 -0
- package/es/divider/types.mjs +0 -0
- package/es/dropdown-item/index.d.ts +1 -1
- package/es/dropdown-item/types.d.ts +3 -0
- package/es/dropdown-menu/index.d.ts +1 -1
- package/es/dropdown-menu/types.d.ts +13 -0
- package/es/empty/index.d.ts +1 -0
- package/es/empty/types.d.ts +10 -0
- package/es/empty/types.mjs +0 -0
- package/es/field/Field.mjs +2 -1
- package/es/field/index.d.ts +1 -1
- package/es/field/types.d.ts +21 -0
- package/es/grid-item/index.d.ts +1 -0
- package/es/grid-item/types.d.ts +8 -0
- package/es/grid-item/types.mjs +0 -0
- package/es/image/index.d.ts +1 -0
- package/es/image/types.d.ts +9 -0
- package/es/image/types.mjs +0 -0
- package/es/image-preview/index.d.ts +2 -2
- package/es/image-preview/types.d.ts +11 -0
- package/es/index-anchor/index.d.ts +1 -0
- package/es/index-anchor/types.d.ts +11 -0
- package/es/index-anchor/types.mjs +0 -0
- package/es/index-bar/index.d.ts +1 -1
- package/es/index-bar/types.d.ts +6 -0
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/list/index.d.ts +1 -1
- package/es/list/types.d.ts +6 -0
- package/es/loading/index.d.ts +1 -0
- package/es/loading/types.d.ts +7 -0
- package/es/loading/types.mjs +0 -0
- package/es/nav-bar/index.d.ts +1 -0
- package/es/nav-bar/types.d.ts +10 -0
- package/es/nav-bar/types.mjs +0 -0
- package/es/notice-bar/index.d.ts +1 -1
- package/es/notice-bar/types.d.ts +11 -0
- package/es/notify/Notify.mjs +1 -0
- package/es/notify/function-call.mjs +1 -1
- package/es/notify/index.d.ts +2 -2
- package/es/notify/types.d.ts +10 -0
- package/es/number-keyboard/index.d.ts +1 -0
- package/es/number-keyboard/types.d.ts +17 -0
- package/es/number-keyboard/types.mjs +0 -0
- package/es/overlay/index.d.ts +1 -0
- package/es/overlay/types.d.ts +4 -0
- package/es/overlay/types.mjs +0 -0
- package/es/pagination/index.d.ts +1 -0
- package/es/pagination/types.d.ts +11 -0
- package/es/pagination/types.mjs +0 -0
- package/es/password-input/index.d.ts +1 -0
- package/es/password-input/types.d.ts +17 -0
- package/es/password-input/types.mjs +0 -0
- package/es/picker/index.d.ts +1 -1
- package/es/picker/types.d.ts +17 -0
- package/es/picker-group/index.d.ts +1 -0
- package/es/picker-group/types.d.ts +3 -0
- package/es/picker-group/types.mjs +0 -0
- package/es/popover/index.d.ts +1 -1
- package/es/popover/types.d.ts +15 -0
- package/es/popup/index.d.ts +1 -1
- package/es/popup/types.d.ts +9 -0
- package/es/progress/index.d.ts +1 -1
- package/es/progress/types.d.ts +11 -0
- package/es/pull-refresh/index.d.ts +1 -0
- package/es/pull-refresh/types.d.ts +6 -0
- package/es/pull-refresh/types.mjs +0 -0
- package/es/radio/index.d.ts +1 -0
- package/es/radio/types.d.ts +11 -0
- package/es/radio/types.mjs +0 -0
- package/es/rate/index.d.ts +1 -0
- package/es/rate/types.d.ts +7 -0
- package/es/rate/types.mjs +0 -0
- package/es/search/index.d.ts +1 -1
- package/es/search/types.d.ts +13 -0
- package/es/share-sheet/index.d.ts +1 -0
- package/es/share-sheet/types.d.ts +17 -0
- package/es/share-sheet/types.mjs +0 -0
- package/es/sidebar/index.d.ts +1 -0
- package/es/sidebar/types.d.ts +3 -0
- package/es/sidebar/types.mjs +0 -0
- package/es/sidebar-item/index.d.ts +1 -0
- package/es/sidebar-item/types.d.ts +15 -0
- package/es/sidebar-item/types.mjs +0 -0
- package/es/skeleton/index.d.ts +1 -0
- package/es/skeleton/types.d.ts +9 -0
- package/es/skeleton/types.mjs +0 -0
- package/es/slider/index.d.ts +1 -0
- package/es/slider/types.d.ts +11 -0
- package/es/slider/types.mjs +0 -0
- package/es/step/index.d.ts +1 -0
- package/es/step/types.d.ts +13 -0
- package/es/step/types.mjs +0 -0
- package/es/stepper/index.d.ts +1 -0
- package/es/stepper/types.d.ts +15 -0
- package/es/stepper/types.mjs +0 -0
- package/es/steps/index.d.ts +1 -0
- package/es/steps/types.d.ts +3 -0
- package/es/steps/types.mjs +0 -0
- package/es/sticky/index.d.ts +1 -0
- package/es/sticky/types.d.ts +3 -0
- package/es/sticky/types.mjs +0 -0
- package/es/submit-bar/index.d.ts +1 -0
- package/es/submit-bar/types.d.ts +21 -0
- package/es/submit-bar/types.mjs +0 -0
- package/es/swipe/index.d.ts +1 -1
- package/es/swipe/types.d.ts +8 -0
- package/es/switch/index.d.ts +1 -0
- package/es/switch/types.d.ts +12 -0
- package/es/switch/types.mjs +0 -0
- package/es/tab/Tab.mjs +12 -2
- package/es/tabbar/index.d.ts +1 -0
- package/es/tabbar/types.d.ts +5 -0
- package/es/tabbar/types.mjs +0 -0
- package/es/tabbar-item/index.d.ts +1 -0
- package/es/tabbar-item/types.d.ts +9 -0
- package/es/tabbar-item/types.mjs +0 -0
- package/es/tabs/Tabs.mjs +11 -11
- package/es/tabs/index.d.ts +1 -1
- package/es/tabs/types.d.ts +14 -0
- package/es/tag/Tag.d.ts +1 -2
- package/es/tag/index.d.ts +9 -8
- package/es/tag/types.d.ts +20 -0
- package/es/tag/types.mjs +0 -0
- package/es/toast/index.d.ts +6 -1
- package/es/toast/types.d.ts +17 -0
- package/es/tree-select/index.d.ts +1 -0
- package/es/tree-select/types.d.ts +10 -0
- package/es/tree-select/types.mjs +0 -0
- package/es/uploader/index.d.ts +1 -1
- package/es/uploader/types.d.ts +27 -0
- package/lib/action-bar/index.d.ts +1 -0
- package/lib/action-bar/types.d.ts +4 -0
- package/lib/action-bar/types.js +15 -0
- package/lib/action-bar-button/index.d.ts +1 -0
- package/lib/action-bar-button/types.d.ts +5 -0
- package/lib/action-bar-button/types.js +15 -0
- package/lib/action-bar-icon/index.d.ts +1 -0
- package/lib/action-bar-icon/types.d.ts +10 -0
- package/lib/action-bar-icon/types.js +15 -0
- package/lib/action-sheet/index.d.ts +1 -0
- package/lib/action-sheet/types.d.ts +23 -0
- package/lib/action-sheet/types.js +15 -0
- package/lib/address-edit/index.d.ts +1 -1
- package/lib/address-edit/types.d.ts +6 -0
- package/lib/address-list/index.d.ts +1 -0
- package/lib/address-list/types.d.ts +15 -0
- package/lib/address-list/types.js +15 -0
- package/lib/badge/index.d.ts +1 -0
- package/lib/badge/types.d.ts +12 -0
- package/lib/badge/types.js +15 -0
- package/lib/button/index.d.ts +1 -1
- package/lib/button/types.d.ts +36 -0
- package/lib/calendar/index.d.ts +1 -1
- package/lib/calendar/types.d.ts +28 -0
- package/lib/card/index.d.ts +1 -0
- package/lib/card/types.d.ts +18 -0
- package/lib/card/types.js +15 -0
- package/lib/cascader/index.d.ts +1 -1
- package/lib/cascader/types.d.ts +15 -0
- package/lib/cell/index.d.ts +1 -0
- package/lib/cell/types.d.ts +21 -0
- package/lib/cell/types.js +15 -0
- package/lib/cell-group/index.d.ts +1 -0
- package/lib/cell-group/types.d.ts +10 -0
- package/lib/cell-group/types.js +15 -0
- package/lib/checkbox/index.d.ts +1 -1
- package/lib/checkbox/types.d.ts +11 -0
- package/lib/circle/index.d.ts +1 -0
- package/lib/circle/types.d.ts +9 -0
- package/lib/circle/types.js +15 -0
- package/lib/collapse-item/index.d.ts +1 -1
- package/lib/collapse-item/types.d.ts +9 -0
- package/lib/config-provider/index.d.ts +1 -0
- package/lib/config-provider/types.d.ts +1 -0
- package/lib/config-provider/types.js +15 -0
- package/lib/contact-card/index.d.ts +1 -0
- package/lib/contact-card/types.d.ts +6 -0
- package/lib/contact-card/types.js +15 -0
- package/lib/contact-edit/index.d.ts +1 -0
- package/lib/contact-edit/types.d.ts +8 -0
- package/lib/contact-edit/types.js +15 -0
- package/lib/contact-list/index.d.ts +1 -0
- package/lib/contact-list/types.d.ts +6 -0
- package/lib/contact-list/types.js +15 -0
- package/lib/count-down/index.d.ts +1 -1
- package/lib/count-down/types.d.ts +5 -0
- package/lib/coupon/index.d.ts +1 -0
- package/lib/coupon/types.d.ts +19 -0
- package/lib/coupon/types.js +15 -0
- package/lib/coupon-cell/index.d.ts +1 -0
- package/lib/coupon-cell/types.d.ts +3 -0
- package/lib/coupon-cell/types.js +15 -0
- package/lib/coupon-list/index.d.ts +1 -0
- package/lib/coupon-list/types.d.ts +9 -0
- package/lib/coupon-list/types.js +15 -0
- package/lib/dialog/index.d.ts +1 -1
- package/lib/dialog/types.d.ts +21 -0
- package/lib/divider/index.d.ts +1 -0
- package/lib/divider/types.d.ts +10 -0
- package/lib/divider/types.js +15 -0
- package/lib/dropdown-item/index.d.ts +1 -1
- package/lib/dropdown-item/types.d.ts +3 -0
- package/lib/dropdown-menu/index.d.ts +1 -1
- package/lib/dropdown-menu/types.d.ts +13 -0
- package/lib/empty/index.d.ts +1 -0
- package/lib/empty/types.d.ts +10 -0
- package/lib/empty/types.js +15 -0
- package/lib/field/Field.js +2 -1
- package/lib/field/index.d.ts +1 -1
- package/lib/field/types.d.ts +21 -0
- package/lib/grid-item/index.d.ts +1 -0
- package/lib/grid-item/types.d.ts +8 -0
- package/lib/grid-item/types.js +15 -0
- package/lib/image/index.d.ts +1 -0
- package/lib/image/types.d.ts +9 -0
- package/lib/image/types.js +15 -0
- package/lib/image-preview/index.d.ts +2 -2
- package/lib/image-preview/types.d.ts +11 -0
- package/lib/index-anchor/index.d.ts +1 -0
- package/lib/index-anchor/types.d.ts +11 -0
- package/lib/index-anchor/types.js +15 -0
- package/lib/index-bar/index.d.ts +1 -1
- package/lib/index-bar/types.d.ts +6 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/index.d.ts +1 -1
- package/lib/list/types.d.ts +6 -0
- package/lib/loading/index.d.ts +1 -0
- package/lib/loading/types.d.ts +7 -0
- package/lib/loading/types.js +15 -0
- package/lib/nav-bar/index.d.ts +1 -0
- package/lib/nav-bar/types.d.ts +10 -0
- package/lib/nav-bar/types.js +15 -0
- package/lib/notice-bar/index.d.ts +1 -1
- package/lib/notice-bar/types.d.ts +11 -0
- package/lib/notify/Notify.js +1 -0
- package/lib/notify/function-call.js +1 -1
- package/lib/notify/index.d.ts +2 -2
- package/lib/notify/types.d.ts +10 -0
- package/lib/number-keyboard/index.d.ts +1 -0
- package/lib/number-keyboard/types.d.ts +17 -0
- package/lib/number-keyboard/types.js +15 -0
- package/lib/overlay/index.d.ts +1 -0
- package/lib/overlay/types.d.ts +4 -0
- package/lib/overlay/types.js +15 -0
- package/lib/pagination/index.d.ts +1 -0
- package/lib/pagination/types.d.ts +11 -0
- package/lib/pagination/types.js +15 -0
- package/lib/password-input/index.d.ts +1 -0
- package/lib/password-input/types.d.ts +17 -0
- package/lib/password-input/types.js +15 -0
- package/lib/picker/index.d.ts +1 -1
- package/lib/picker/types.d.ts +17 -0
- package/lib/picker-group/index.d.ts +1 -0
- package/lib/picker-group/types.d.ts +3 -0
- package/lib/picker-group/types.js +15 -0
- package/lib/popover/index.d.ts +1 -1
- package/lib/popover/types.d.ts +15 -0
- package/lib/popup/index.d.ts +1 -1
- package/lib/popup/types.d.ts +9 -0
- package/lib/progress/index.d.ts +1 -1
- package/lib/progress/types.d.ts +11 -0
- package/lib/pull-refresh/index.d.ts +1 -0
- package/lib/pull-refresh/types.d.ts +6 -0
- package/lib/pull-refresh/types.js +15 -0
- package/lib/radio/index.d.ts +1 -0
- package/lib/radio/types.d.ts +11 -0
- package/lib/radio/types.js +15 -0
- package/lib/rate/index.d.ts +1 -0
- package/lib/rate/types.d.ts +7 -0
- package/lib/rate/types.js +15 -0
- package/lib/search/index.d.ts +1 -1
- package/lib/search/types.d.ts +13 -0
- package/lib/share-sheet/index.d.ts +1 -0
- package/lib/share-sheet/types.d.ts +17 -0
- package/lib/share-sheet/types.js +15 -0
- package/lib/sidebar/index.d.ts +1 -0
- package/lib/sidebar/types.d.ts +3 -0
- package/lib/sidebar/types.js +15 -0
- package/lib/sidebar-item/index.d.ts +1 -0
- package/lib/sidebar-item/types.d.ts +15 -0
- package/lib/sidebar-item/types.js +15 -0
- package/lib/skeleton/index.d.ts +1 -0
- package/lib/skeleton/types.d.ts +9 -0
- package/lib/skeleton/types.js +15 -0
- package/lib/slider/index.d.ts +1 -0
- package/lib/slider/types.d.ts +11 -0
- package/lib/slider/types.js +15 -0
- package/lib/step/index.d.ts +1 -0
- package/lib/step/types.d.ts +13 -0
- package/lib/step/types.js +15 -0
- package/lib/stepper/index.d.ts +1 -0
- package/lib/stepper/types.d.ts +15 -0
- package/lib/stepper/types.js +15 -0
- package/lib/steps/index.d.ts +1 -0
- package/lib/steps/types.d.ts +3 -0
- package/lib/steps/types.js +15 -0
- package/lib/sticky/index.d.ts +1 -0
- package/lib/sticky/types.d.ts +3 -0
- package/lib/sticky/types.js +15 -0
- package/lib/submit-bar/index.d.ts +1 -0
- package/lib/submit-bar/types.d.ts +21 -0
- package/lib/submit-bar/types.js +15 -0
- package/lib/swipe/index.d.ts +1 -1
- package/lib/swipe/types.d.ts +8 -0
- package/lib/switch/index.d.ts +1 -0
- package/lib/switch/types.d.ts +12 -0
- package/lib/switch/types.js +15 -0
- package/lib/tab/Tab.js +11 -1
- package/lib/tabbar/index.d.ts +1 -0
- package/lib/tabbar/types.d.ts +5 -0
- package/lib/tabbar/types.js +15 -0
- package/lib/tabbar-item/index.d.ts +1 -0
- package/lib/tabbar-item/types.d.ts +9 -0
- package/lib/tabbar-item/types.js +15 -0
- package/lib/tabs/Tabs.js +11 -11
- package/lib/tabs/index.d.ts +1 -1
- package/lib/tabs/types.d.ts +14 -0
- package/lib/tag/Tag.d.ts +1 -2
- package/lib/tag/index.d.ts +9 -8
- package/lib/tag/types.d.ts +20 -0
- package/lib/tag/types.js +15 -0
- package/lib/toast/index.d.ts +6 -1
- package/lib/toast/types.d.ts +17 -0
- package/lib/tree-select/index.d.ts +1 -0
- package/lib/tree-select/types.d.ts +10 -0
- package/lib/tree-select/types.js +15 -0
- package/lib/uploader/index.d.ts +1 -1
- package/lib/uploader/types.d.ts +27 -0
- package/lib/vant.cjs.js +27 -15
- package/lib/vant.es.js +27 -15
- package/lib/vant.js +27 -15
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1332 -1292
- package/package.json +4 -4
package/lib/empty/index.d.ts
CHANGED
@@ -18,6 +18,7 @@ export declare const Empty: import("../utils").WithInstall<import("vue").DefineC
|
|
18
18
|
export default Empty;
|
19
19
|
export { emptyProps } from './Empty';
|
20
20
|
export type { EmptyProps } from './Empty';
|
21
|
+
export type { EmptyThemeVars } from './types';
|
21
22
|
declare module 'vue' {
|
22
23
|
interface GlobalComponents {
|
23
24
|
VanEmpty: typeof Empty;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export declare type EmptyThemeVars = {
|
2
|
+
emptyPadding?: string;
|
3
|
+
emptyImageSize?: string;
|
4
|
+
emptyDescriptionMarginTop?: string;
|
5
|
+
emptyDescriptionPadding?: string;
|
6
|
+
emptyDescriptionColor?: string;
|
7
|
+
emptyDescriptionFontSize?: string;
|
8
|
+
emptyDescriptionLineHeight?: number | string;
|
9
|
+
emptyBottomMarginTop?: string;
|
10
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
7
|
+
for (let key of __getOwnPropNames(from))
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
10
|
+
}
|
11
|
+
return to;
|
12
|
+
};
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
14
|
+
var stdin_exports = {};
|
15
|
+
module.exports = __toCommonJS(stdin_exports);
|
package/lib/field/Field.js
CHANGED
@@ -161,7 +161,8 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
161
161
|
state.validateMessage = "";
|
162
162
|
};
|
163
163
|
const endValidate = () => emit("endValidate", {
|
164
|
-
status: state.status
|
164
|
+
status: state.status,
|
165
|
+
message: state.validateMessage
|
165
166
|
});
|
166
167
|
const validate = (rules = props.rules) => new Promise((resolve) => {
|
167
168
|
resetValidation();
|
package/lib/field/index.d.ts
CHANGED
@@ -196,7 +196,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
196
196
|
export default Field;
|
197
197
|
export { fieldProps } from './Field';
|
198
198
|
export type { FieldProps };
|
199
|
-
export type { FieldType, FieldRule, FieldInstance, FieldTextAlign, FieldRuleMessage, FieldClearTrigger, FieldFormatTrigger, FieldRuleValidator, FiledRuleFormatter, FieldValidateError, FieldAutosizeConfig, FieldValidateTrigger, FieldValidationStatus, } from './types';
|
199
|
+
export type { FieldType, FieldRule, FieldInstance, FieldTextAlign, FieldThemeVars, FieldRuleMessage, FieldClearTrigger, FieldFormatTrigger, FieldRuleValidator, FiledRuleFormatter, FieldValidateError, FieldAutosizeConfig, FieldValidateTrigger, FieldValidationStatus, } from './types';
|
200
200
|
declare module 'vue' {
|
201
201
|
interface GlobalComponents {
|
202
202
|
VanField: typeof Field;
|
package/lib/field/types.d.ts
CHANGED
@@ -42,3 +42,24 @@ declare global {
|
|
42
42
|
composing?: boolean;
|
43
43
|
}
|
44
44
|
}
|
45
|
+
export declare type FieldThemeVars = {
|
46
|
+
fieldLabelWidth?: string;
|
47
|
+
fieldLabelColor?: string;
|
48
|
+
fieldLabelMarginRight?: string;
|
49
|
+
fieldInputTextColor?: string;
|
50
|
+
fieldInputErrorTextColor?: string;
|
51
|
+
fieldInputDisabledTextColor?: string;
|
52
|
+
fieldPlaceholderTextColor?: string;
|
53
|
+
fieldIconSize?: string;
|
54
|
+
fieldClearIconSize?: string;
|
55
|
+
fieldClearIconColor?: string;
|
56
|
+
fieldRightIconColor?: string;
|
57
|
+
fieldErrorMessageColor?: string;
|
58
|
+
fieldErrorMessageFontSize?: string;
|
59
|
+
fieldTextAreaMinHeight?: string;
|
60
|
+
fieldWordLimitColor?: string;
|
61
|
+
fieldWordLimitFontSize?: string;
|
62
|
+
fieldWordLimitLineHeight?: number | string;
|
63
|
+
fieldDisabledTextColor?: string;
|
64
|
+
fieldRequiredMarkColor?: string;
|
65
|
+
};
|
package/lib/grid-item/index.d.ts
CHANGED
@@ -29,6 +29,7 @@ export declare const GridItem: import("../utils").WithInstall<import("vue").Defi
|
|
29
29
|
export default GridItem;
|
30
30
|
export { gridItemProps } from './GridItem';
|
31
31
|
export type { GridItemProps } from './GridItem';
|
32
|
+
export type { GridItemThemeVars } from './types';
|
32
33
|
declare module 'vue' {
|
33
34
|
interface GlobalComponents {
|
34
35
|
VanGridItem: typeof GridItem;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
7
|
+
for (let key of __getOwnPropNames(from))
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
10
|
+
}
|
11
|
+
return to;
|
12
|
+
};
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
14
|
+
var stdin_exports = {};
|
15
|
+
module.exports = __toCommonJS(stdin_exports);
|
package/lib/image/index.d.ts
CHANGED
@@ -71,6 +71,7 @@ export declare const Image: import("../utils").WithInstall<import("vue").DefineC
|
|
71
71
|
export default Image;
|
72
72
|
export { imageProps } from './Image';
|
73
73
|
export type { ImageFit, ImageProps } from './Image';
|
74
|
+
export type { ImageThemeVars } from './types';
|
74
75
|
declare module 'vue' {
|
75
76
|
interface GlobalComponents {
|
76
77
|
VanImage: typeof Image;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare type ImageThemeVars = {
|
2
|
+
imagePlaceholderTextColor?: string;
|
3
|
+
imagePlaceholderFontSize?: string;
|
4
|
+
imagePlaceholderBackground?: string;
|
5
|
+
imageLoadingIconSize?: string;
|
6
|
+
imageLoadingIconColor?: string;
|
7
|
+
imageErrorIconSize?: string;
|
8
|
+
imageErrorIconColor?: string;
|
9
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
7
|
+
for (let key of __getOwnPropNames(from))
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
10
|
+
}
|
11
|
+
return to;
|
12
|
+
};
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
14
|
+
var stdin_exports = {};
|
15
|
+
module.exports = __toCommonJS(stdin_exports);
|
@@ -131,9 +131,9 @@ export default ImagePreview;
|
|
131
131
|
export { imagePreviewProps } from './ImagePreview';
|
132
132
|
export { showImagePreview } from './function-call';
|
133
133
|
export type { ImagePreviewProps };
|
134
|
-
export type { ImagePreviewOptions, ImagePreviewInstance, ImagePreviewScaleEventParams, } from './types';
|
134
|
+
export type { ImagePreviewOptions, ImagePreviewInstance, ImagePreviewThemeVars, ImagePreviewScaleEventParams, } from './types';
|
135
135
|
declare module 'vue' {
|
136
136
|
interface GlobalComponents {
|
137
|
-
VanImagePreview: typeof ImagePreview
|
137
|
+
VanImagePreview: typeof ImagePreview;
|
138
138
|
}
|
139
139
|
}
|
@@ -37,3 +37,14 @@ export declare type ImagePreviewExpose = {
|
|
37
37
|
swipeTo: (index: number, options?: SwipeToOptions) => void;
|
38
38
|
};
|
39
39
|
export declare type ImagePreviewInstance = ComponentPublicInstance<ImagePreviewProps, ImagePreviewExpose>;
|
40
|
+
export declare type ImagePreviewThemeVars = {
|
41
|
+
imagePreviewIndexTextColor?: string;
|
42
|
+
imagePreviewIndexFontSize?: string;
|
43
|
+
imagePreviewIndexLineHeight?: number | string;
|
44
|
+
imagePreviewIndexTextShadow?: string;
|
45
|
+
imagePreviewOverlayBackground?: string;
|
46
|
+
imagePreviewCloseIconSize?: string;
|
47
|
+
imagePreviewCloseIconColor?: string;
|
48
|
+
imagePreviewCloseIconMargin?: string;
|
49
|
+
imagePreviewCloseIconZIndex?: number | string;
|
50
|
+
};
|
@@ -6,6 +6,7 @@ export declare const IndexAnchor: import("../utils").WithInstall<import("vue").D
|
|
6
6
|
export default IndexAnchor;
|
7
7
|
export { indexAnchorProps } from './IndexAnchor';
|
8
8
|
export type { IndexAnchorProps } from './IndexAnchor';
|
9
|
+
export type { IndexAnchorThemeVars } from './types';
|
9
10
|
declare module 'vue' {
|
10
11
|
interface GlobalComponents {
|
11
12
|
VanIndexAnchor: typeof IndexAnchor;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare type IndexAnchorThemeVars = {
|
2
|
+
indexAnchorZIndex?: number | string;
|
3
|
+
indexAnchorPadding?: string;
|
4
|
+
indexAnchorTextColor?: string;
|
5
|
+
indexAnchorFontWeight?: string;
|
6
|
+
indexAnchorFontSize?: string;
|
7
|
+
indexAnchorLineHeight?: number | string;
|
8
|
+
indexAnchorBackground?: string;
|
9
|
+
indexAnchorStickyTextColor?: string;
|
10
|
+
indexAnchorStickyBackground?: string;
|
11
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
7
|
+
for (let key of __getOwnPropNames(from))
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
10
|
+
}
|
11
|
+
return to;
|
12
|
+
};
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
14
|
+
var stdin_exports = {};
|
15
|
+
module.exports = __toCommonJS(stdin_exports);
|
package/lib/index-bar/index.d.ts
CHANGED
@@ -42,7 +42,7 @@ export declare const IndexBar: import("../utils").WithInstall<import("vue").Defi
|
|
42
42
|
export default IndexBar;
|
43
43
|
export { indexBarProps } from './IndexBar';
|
44
44
|
export type { IndexBarProps };
|
45
|
-
export type { IndexBarInstance } from './types';
|
45
|
+
export type { IndexBarInstance, IndexBarThemeVars } from './types';
|
46
46
|
declare module 'vue' {
|
47
47
|
interface GlobalComponents {
|
48
48
|
VanIndexBar: typeof IndexBar;
|
package/lib/index-bar/types.d.ts
CHANGED
@@ -8,3 +8,9 @@ export declare type IndexBarExpose = {
|
|
8
8
|
scrollTo: (index: Numeric) => void;
|
9
9
|
};
|
10
10
|
export declare type IndexBarInstance = ComponentPublicInstance<IndexBarProps, IndexBarExpose>;
|
11
|
+
export declare type IndexBarThemeVars = {
|
12
|
+
indexBarSidebarZIndex?: number | string;
|
13
|
+
indexBarIndexFontSize?: string;
|
14
|
+
indexBarIndexLineHeight?: number | string;
|
15
|
+
indexBarIndexActiveColor?: string;
|
16
|
+
};
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
@@ -200,7 +200,7 @@ __reExport(stdin_exports, require("./time-picker"), module.exports);
|
|
200
200
|
__reExport(stdin_exports, require("./toast"), module.exports);
|
201
201
|
__reExport(stdin_exports, require("./tree-select"), module.exports);
|
202
202
|
__reExport(stdin_exports, require("./uploader"), module.exports);
|
203
|
-
const version = "4.0.0-rc.
|
203
|
+
const version = "4.0.0-rc.4";
|
204
204
|
function install(app) {
|
205
205
|
const components = [
|
206
206
|
import_action_bar.ActionBar,
|
package/lib/list/index.d.ts
CHANGED
@@ -52,7 +52,7 @@ export declare const List: import("../utils").WithInstall<import("vue").DefineCo
|
|
52
52
|
export default List;
|
53
53
|
export { listProps } from './List';
|
54
54
|
export type { ListProps };
|
55
|
-
export type { ListInstance, ListDirection } from './types';
|
55
|
+
export type { ListInstance, ListDirection, ListThemeVars } from './types';
|
56
56
|
declare module 'vue' {
|
57
57
|
interface GlobalComponents {
|
58
58
|
VanList: typeof List;
|
package/lib/list/types.d.ts
CHANGED
@@ -5,3 +5,9 @@ export declare type ListExpose = {
|
|
5
5
|
check: () => void;
|
6
6
|
};
|
7
7
|
export declare type ListInstance = ComponentPublicInstance<ListProps, ListExpose>;
|
8
|
+
export declare type ListThemeVars = {
|
9
|
+
listTextColor?: string;
|
10
|
+
listTextFontSize?: string;
|
11
|
+
listTextLineHeight?: number | string;
|
12
|
+
listLoadingIconSize?: string;
|
13
|
+
};
|
package/lib/loading/index.d.ts
CHANGED
@@ -25,6 +25,7 @@ export declare const Loading: import("../utils").WithInstall<import("vue").Defin
|
|
25
25
|
export default Loading;
|
26
26
|
export { loadingProps } from './Loading';
|
27
27
|
export type { LoadingType, LoadingProps } from './Loading';
|
28
|
+
export type { LoadingThemeVars } from './types';
|
28
29
|
declare module 'vue' {
|
29
30
|
interface GlobalComponents {
|
30
31
|
VanLoading: typeof Loading;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
7
|
+
for (let key of __getOwnPropNames(from))
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
10
|
+
}
|
11
|
+
return to;
|
12
|
+
};
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
14
|
+
var stdin_exports = {};
|
15
|
+
module.exports = __toCommonJS(stdin_exports);
|
package/lib/nav-bar/index.d.ts
CHANGED
@@ -37,6 +37,7 @@ export declare const NavBar: import("../utils").WithInstall<import("vue").Define
|
|
37
37
|
export default NavBar;
|
38
38
|
export { navBarProps } from './NavBar';
|
39
39
|
export type { NavBarProps } from './NavBar';
|
40
|
+
export type { NavBarThemeVars } from './types';
|
40
41
|
declare module 'vue' {
|
41
42
|
interface GlobalComponents {
|
42
43
|
VanNavBar: typeof NavBar;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export declare type NavBarThemeVars = {
|
2
|
+
navBarHeight?: string;
|
3
|
+
navBarBackground?: string;
|
4
|
+
navBarArrowSize?: string;
|
5
|
+
navBarIconColor?: string;
|
6
|
+
navBarTextColor?: string;
|
7
|
+
navBarTitleFontSize?: string;
|
8
|
+
navBarTitleTextColor?: string;
|
9
|
+
navBarZIndex?: number | string;
|
10
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
7
|
+
for (let key of __getOwnPropNames(from))
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
10
|
+
}
|
11
|
+
return to;
|
12
|
+
};
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
14
|
+
var stdin_exports = {};
|
15
|
+
module.exports = __toCommonJS(stdin_exports);
|
@@ -49,7 +49,7 @@ export declare const NoticeBar: import("../utils").WithInstall<import("vue").Def
|
|
49
49
|
export default NoticeBar;
|
50
50
|
export { noticeBarProps } from './NoticeBar';
|
51
51
|
export type { NoticeBarProps };
|
52
|
-
export type { NoticeBarMode, NoticeBarInstance } from './types';
|
52
|
+
export type { NoticeBarMode, NoticeBarInstance, NoticeBarThemeVars, } from './types';
|
53
53
|
declare module 'vue' {
|
54
54
|
interface GlobalComponents {
|
55
55
|
VanNoticeBar: typeof NoticeBar;
|
@@ -5,3 +5,14 @@ export declare type NoticeBarExpose = {
|
|
5
5
|
reset: () => void;
|
6
6
|
};
|
7
7
|
export declare type NoticeBarInstance = ComponentPublicInstance<NoticeBarProps, NoticeBarExpose>;
|
8
|
+
export declare type NoticeBarThemeVars = {
|
9
|
+
noticeBarHeight?: string;
|
10
|
+
noticeBarPadding?: string;
|
11
|
+
noticeBarWrapablePadding?: string;
|
12
|
+
noticeBarTextColor?: string;
|
13
|
+
noticeBarFontSize?: string;
|
14
|
+
noticeBarLineHeight?: number | string;
|
15
|
+
noticeBarBackground?: string;
|
16
|
+
noticeBarIconSize?: string;
|
17
|
+
noticeBarIconMinWidth?: string;
|
18
|
+
};
|
package/lib/notify/Notify.js
CHANGED
package/lib/notify/index.d.ts
CHANGED
@@ -92,9 +92,9 @@ export default Notify;
|
|
92
92
|
export { notifyProps } from './Notify';
|
93
93
|
export { showNotify, closeNotify, setNotifyDefaultOptions, resetNotifyDefaultOptions, } from './function-call';
|
94
94
|
export type { NotifyProps } from './Notify';
|
95
|
-
export type { NotifyType, NotifyOptions } from './types';
|
95
|
+
export type { NotifyType, NotifyOptions, NotifyThemeVars } from './types';
|
96
96
|
declare module 'vue' {
|
97
97
|
interface GlobalComponents {
|
98
|
-
VanNotify: typeof Notify
|
98
|
+
VanNotify: typeof Notify;
|
99
99
|
}
|
100
100
|
}
|
package/lib/notify/types.d.ts
CHANGED
@@ -15,3 +15,13 @@ export declare type NotifyOptions = {
|
|
15
15
|
onClose?: () => void;
|
16
16
|
onOpened?: () => void;
|
17
17
|
};
|
18
|
+
export declare type NotifyThemeVars = {
|
19
|
+
notifyTextColor?: string;
|
20
|
+
notifyPadding?: string;
|
21
|
+
notifyFontSize?: string;
|
22
|
+
notifyLineHeight?: number | string;
|
23
|
+
notifyPrimaryBackground?: string;
|
24
|
+
notifySuccessBackground?: string;
|
25
|
+
notifyDangerBackground?: string;
|
26
|
+
notifyWarningBackground?: string;
|
27
|
+
};
|
@@ -113,6 +113,7 @@ export declare const NumberKeyboard: import("../utils").WithInstall<import("vue"
|
|
113
113
|
export default NumberKeyboard;
|
114
114
|
export { numberKeyboardProps } from './NumberKeyboard';
|
115
115
|
export type { NumberKeyboardProps, NumberKeyboardTheme, } from './NumberKeyboard';
|
116
|
+
export type { NumberKeyboardThemeVars } from './types';
|
116
117
|
declare module 'vue' {
|
117
118
|
interface GlobalComponents {
|
118
119
|
VanNumberKeyboard: typeof NumberKeyboard;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare type NumberKeyboardThemeVars = {
|
2
|
+
numberKeyboardBackground?: string;
|
3
|
+
numberKeyboardKeyHeight?: string;
|
4
|
+
numberKeyboardKeyFontSize?: string;
|
5
|
+
numberKeyboardKeyActiveColor?: string;
|
6
|
+
numberKeyboardKeyBackground?: string;
|
7
|
+
numberKeyboardDeleteFontSize?: string;
|
8
|
+
numberKeyboardTitleColor?: string;
|
9
|
+
numberKeyboardTitleHeight?: string;
|
10
|
+
numberKeyboardTitleFontSize?: string;
|
11
|
+
numberKeyboardClosePadding?: string;
|
12
|
+
numberKeyboardCloseColor?: string;
|
13
|
+
numberKeyboardCloseFontSize?: string;
|
14
|
+
numberKeyboardButtonTextColor?: string;
|
15
|
+
numberKeyboardButtonBackground?: string;
|
16
|
+
numberKeyboardZIndex?: number | string;
|
17
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
7
|
+
for (let key of __getOwnPropNames(from))
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
10
|
+
}
|
11
|
+
return to;
|
12
|
+
};
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
14
|
+
var stdin_exports = {};
|
15
|
+
module.exports = __toCommonJS(stdin_exports);
|
package/lib/overlay/index.d.ts
CHANGED
@@ -34,6 +34,7 @@ export declare const Overlay: import("../utils").WithInstall<import("vue").Defin
|
|
34
34
|
export default Overlay;
|
35
35
|
export { overlayProps } from './Overlay';
|
36
36
|
export type { OverlayProps } from './Overlay';
|
37
|
+
export type { OverlayThemeVars } from './types';
|
37
38
|
declare module 'vue' {
|
38
39
|
interface GlobalComponents {
|
39
40
|
VanOverlay: typeof Overlay;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
7
|
+
for (let key of __getOwnPropNames(from))
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
10
|
+
}
|
11
|
+
return to;
|
12
|
+
};
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
14
|
+
var stdin_exports = {};
|
15
|
+
module.exports = __toCommonJS(stdin_exports);
|
@@ -69,6 +69,7 @@ export declare const Pagination: import("../utils").WithInstall<import("vue").De
|
|
69
69
|
export default Pagination;
|
70
70
|
export { paginationProps } from './Pagination';
|
71
71
|
export type { PaginationMode, PaginationProps } from './Pagination';
|
72
|
+
export type { PaginationThemeVars } from './types';
|
72
73
|
declare module 'vue' {
|
73
74
|
interface GlobalComponents {
|
74
75
|
VanPagination: typeof Pagination;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare type PaginationThemeVars = {
|
2
|
+
paginationHeight?: string;
|
3
|
+
paginationFontSize?: string;
|
4
|
+
paginationItemWidth?: string;
|
5
|
+
paginationItemDefaultColor?: string;
|
6
|
+
paginationItemDisabledColor?: string;
|
7
|
+
paginationItemDisabledBackground?: string;
|
8
|
+
paginationBackground?: string;
|
9
|
+
paginationDescColor?: string;
|
10
|
+
paginationDisabledOpacity?: number | string;
|
11
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
7
|
+
for (let key of __getOwnPropNames(from))
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
10
|
+
}
|
11
|
+
return to;
|
12
|
+
};
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
14
|
+
var stdin_exports = {};
|
15
|
+
module.exports = __toCommonJS(stdin_exports);
|
@@ -43,6 +43,7 @@ export declare const PasswordInput: import("../utils").WithInstall<import("vue")
|
|
43
43
|
export default PasswordInput;
|
44
44
|
export { passwordInputProps } from './PasswordInput';
|
45
45
|
export type { PasswordInputProps } from './PasswordInput';
|
46
|
+
export type { PasswordInputThemeVars } from './types';
|
46
47
|
declare module 'vue' {
|
47
48
|
interface GlobalComponents {
|
48
49
|
VanPasswordInput: typeof PasswordInput;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare type PasswordInputThemeVars = {
|
2
|
+
passwordInputHeight?: string;
|
3
|
+
passwordInputMargin?: string;
|
4
|
+
passwordInputFontSize?: string;
|
5
|
+
passwordInputRadius?: string;
|
6
|
+
passwordInputBackground?: string;
|
7
|
+
passwordInputInfoColor?: string;
|
8
|
+
passwordInputInfoFontSize?: string;
|
9
|
+
passwordInputErrorInfoColor?: string;
|
10
|
+
passwordInputDotSize?: string;
|
11
|
+
passwordInputDotColor?: string;
|
12
|
+
passwordInputTextColor?: string;
|
13
|
+
passwordInputCursorColor?: string;
|
14
|
+
passwordInputCursorWidth?: string;
|
15
|
+
passwordInputCursorHeight?: string;
|
16
|
+
passwordInputCursorDuration?: string;
|
17
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
7
|
+
for (let key of __getOwnPropNames(from))
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
10
|
+
}
|
11
|
+
return to;
|
12
|
+
};
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
14
|
+
var stdin_exports = {};
|
15
|
+
module.exports = __toCommonJS(stdin_exports);
|
package/lib/picker/index.d.ts
CHANGED
@@ -96,7 +96,7 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
|
|
96
96
|
export default Picker;
|
97
97
|
export { pickerProps } from './Picker';
|
98
98
|
export type { PickerProps };
|
99
|
-
export type { PickerColumn, PickerOption, PickerInstance, PickerFieldNames, PickerToolbarPosition, PickerCancelEventParams, PickerChangeEventParams, PickerConfirmEventParams, } from './types';
|
99
|
+
export type { PickerColumn, PickerOption, PickerInstance, PickerThemeVars, PickerFieldNames, PickerToolbarPosition, PickerCancelEventParams, PickerChangeEventParams, PickerConfirmEventParams, } from './types';
|
100
100
|
declare module 'vue' {
|
101
101
|
interface GlobalComponents {
|
102
102
|
VanPicker: typeof Picker;
|
package/lib/picker/types.d.ts
CHANGED
@@ -42,3 +42,20 @@ export declare type PickerCancelEventParams = PickerConfirmEventParams;
|
|
42
42
|
export declare type PickerChangeEventParams = PickerConfirmEventParams & {
|
43
43
|
columnIndex: number;
|
44
44
|
};
|
45
|
+
export declare type PickerThemeVars = {
|
46
|
+
pickerBackground?: string;
|
47
|
+
pickerToolbarHeight?: string;
|
48
|
+
pickerTitleFontSize?: string;
|
49
|
+
pickerTitleLineHeight?: number | string;
|
50
|
+
pickerActionPadding?: string;
|
51
|
+
pickerActionFontSize?: string;
|
52
|
+
pickerConfirmActionColor?: string;
|
53
|
+
pickerCancelActionColor?: string;
|
54
|
+
pickerOptionFontSize?: string;
|
55
|
+
pickerOptionPadding?: string;
|
56
|
+
pickerOptionTextColor?: string;
|
57
|
+
pickerOptionDisabledOpacity?: number | string;
|
58
|
+
pickerLoadingIconColor?: string;
|
59
|
+
pickerLoadingMaskColor?: string;
|
60
|
+
pickerMaskColor?: string;
|
61
|
+
};
|
@@ -26,6 +26,7 @@ export declare const PickerGroup: import("../utils").WithInstall<import("vue").D
|
|
26
26
|
export default PickerGroup;
|
27
27
|
export { pickerGroupProps } from './PickerGroup';
|
28
28
|
export type { PickerGroupProps };
|
29
|
+
export type { PickerGroupThemeVars } from './types';
|
29
30
|
declare module 'vue' {
|
30
31
|
interface GlobalComponents {
|
31
32
|
VanPickerGroup: typeof PickerGroup;
|