vant 4.0.0-rc.2 → 4.0.0-rc.3
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/changelog.generated.md +29 -29
- 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/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/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/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/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/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/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/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/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 +2 -1
- package/lib/vant.es.js +2 -1
- package/lib/vant.js +2 -1
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1573 -1533
- package/package.json +1 -1
@@ -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);
|
@@ -19,6 +19,7 @@ export declare const CellGroup: import("../utils").WithInstall<import("vue").Def
|
|
19
19
|
export default CellGroup;
|
20
20
|
export { cellGroupProps } from './CellGroup';
|
21
21
|
export type { CellGroupProps } from './CellGroup';
|
22
|
+
export type { CellGroupThemeVars } from './types';
|
22
23
|
declare module 'vue' {
|
23
24
|
interface GlobalComponents {
|
24
25
|
VanCellGroup: typeof CellGroup;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export declare type CellGroupThemeVars = {
|
2
|
+
cellGroupBackground?: string;
|
3
|
+
cellGroupTitleColor?: string;
|
4
|
+
cellGroupTitlePadding?: string;
|
5
|
+
cellGroupTitleFontSize?: string;
|
6
|
+
cellGroupTitleLineHeight?: number | string;
|
7
|
+
cellGroupInsetPadding?: string;
|
8
|
+
cellGroupInsetRadius?: string;
|
9
|
+
cellGroupInsetTitlePadding?: 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/checkbox/index.d.ts
CHANGED
@@ -44,7 +44,7 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").Defi
|
|
44
44
|
export default Checkbox;
|
45
45
|
export { checkboxProps } from './Checkbox';
|
46
46
|
export type { CheckboxProps } from './Checkbox';
|
47
|
-
export type { CheckboxShape, CheckboxInstance, CheckboxLabelPosition, } from './types';
|
47
|
+
export type { CheckboxShape, CheckboxInstance, CheckboxThemeVars, CheckboxLabelPosition, } from './types';
|
48
48
|
declare module 'vue' {
|
49
49
|
interface GlobalComponents {
|
50
50
|
VanCheckbox: typeof Checkbox;
|
package/lib/checkbox/types.d.ts
CHANGED
@@ -11,3 +11,14 @@ export declare type CheckboxExpose = {
|
|
11
11
|
checked: ComputedRef<boolean>;
|
12
12
|
};
|
13
13
|
export declare type CheckboxInstance = ComponentPublicInstance<CheckboxProps, CheckboxExpose>;
|
14
|
+
export declare type CheckboxThemeVars = {
|
15
|
+
checkboxSize?: string;
|
16
|
+
checkboxBorderColor?: string;
|
17
|
+
checkboxDuration?: string;
|
18
|
+
checkboxLabelMargin?: string;
|
19
|
+
checkboxLabelColor?: string;
|
20
|
+
checkboxCheckedIconColor?: string;
|
21
|
+
checkboxDisabledIconColor?: string;
|
22
|
+
checkboxDisabledLabelColor?: string;
|
23
|
+
checkboxDisabledBackground?: string;
|
24
|
+
};
|
package/lib/circle/index.d.ts
CHANGED
@@ -80,6 +80,7 @@ export declare const Circle: import("../utils").WithInstall<import("vue").Define
|
|
80
80
|
export default Circle;
|
81
81
|
export { circleProps } from './Circle';
|
82
82
|
export type { CircleProps, CircleStartPosition } from './Circle';
|
83
|
+
export type { CircleThemeVars } from './types';
|
83
84
|
declare module 'vue' {
|
84
85
|
interface GlobalComponents {
|
85
86
|
VanCircle: typeof Circle;
|
@@ -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);
|
@@ -81,7 +81,7 @@ export declare const CollapseItem: import("../utils").WithInstall<import("vue").
|
|
81
81
|
export default CollapseItem;
|
82
82
|
export { collapseItemProps } from './CollapseItem';
|
83
83
|
export type { CollapseItemProps } from './CollapseItem';
|
84
|
-
export type { CollapseItemInstance } from './types';
|
84
|
+
export type { CollapseItemInstance, CollapseItemThemeVars } from './types';
|
85
85
|
declare module 'vue' {
|
86
86
|
interface GlobalComponents {
|
87
87
|
VanCollapseItem: typeof CollapseItem;
|
@@ -4,3 +4,12 @@ export declare type CollapseItemExpose = {
|
|
4
4
|
toggle: (newValue?: boolean) => void;
|
5
5
|
};
|
6
6
|
export declare type CollapseItemInstance = ComponentPublicInstance<CollapseItemProps, CollapseItemExpose>;
|
7
|
+
export declare type CollapseItemThemeVars = {
|
8
|
+
collapseItemDuration?: string;
|
9
|
+
collapseItemContentPadding?: string;
|
10
|
+
collapseItemContentFontSize?: string;
|
11
|
+
collapseItemContentLineHeight?: number | string;
|
12
|
+
collapseItemContentTextColor?: string;
|
13
|
+
collapseItemContentBackground?: string;
|
14
|
+
collapseItemTitleDisabledColor?: string;
|
15
|
+
};
|
@@ -33,6 +33,7 @@ export declare const ConfigProvider: import("../utils").WithInstall<import("vue"
|
|
33
33
|
export default ConfigProvider;
|
34
34
|
export { configProviderProps } from './ConfigProvider';
|
35
35
|
export type { ConfigProviderProps, ConfigProviderTheme, } from './ConfigProvider';
|
36
|
+
export type { ConfigProviderThemeVars } from './types';
|
36
37
|
declare module 'vue' {
|
37
38
|
interface GlobalComponents {
|
38
39
|
VanConfigProvider: typeof ConfigProvider;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare type ConfigProviderThemeVars = 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('../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('../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('../search').SearchThemeVars & import('../share-sheet').ShareSheetThemeVars & import('../sidebar').SidebarThemeVars & import('../sidebar-item').SidebarItemThemeVars & 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;
|
@@ -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);
|
@@ -31,6 +31,7 @@ export declare const ContactCard: import("../utils").WithInstall<import("vue").D
|
|
31
31
|
export default ContactCard;
|
32
32
|
export { contactCardProps } from './ContactCard';
|
33
33
|
export type { ContactCardType, ContactCardProps } from './ContactCard';
|
34
|
+
export type { ContactCardThemeVars } from './types';
|
34
35
|
declare module 'vue' {
|
35
36
|
interface GlobalComponents {
|
36
37
|
VanContactCard: typeof ContactCard;
|
@@ -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);
|
@@ -41,6 +41,7 @@ export declare const ContactEdit: import("../utils").WithInstall<import("vue").D
|
|
41
41
|
export default ContactEdit;
|
42
42
|
export { contactEditProps } from './ContactEdit';
|
43
43
|
export type { ContactEditInfo, ContactEditProps } from './ContactEdit';
|
44
|
+
export type { ContactEditThemeVars } from './types';
|
44
45
|
declare module 'vue' {
|
45
46
|
interface GlobalComponents {
|
46
47
|
VanContactEdit: typeof ContactEdit;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export declare type ContactEditThemeVars = {
|
2
|
+
contactEditPadding?: string;
|
3
|
+
contactEditFieldsRadius?: string;
|
4
|
+
contactEditButtonsPadding?: string;
|
5
|
+
contactEditButtonMarginBottom?: string;
|
6
|
+
contactEditButtonFontSize?: string;
|
7
|
+
contactEditFieldLabelWidth?: string;
|
8
|
+
};
|
@@ -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);
|
@@ -17,6 +17,7 @@ export declare const ContactList: import("../utils").WithInstall<import("vue").D
|
|
17
17
|
export default ContactList;
|
18
18
|
export { contactListProps } from './ContactList';
|
19
19
|
export type { ContactListItem, ContactListProps } from './ContactList';
|
20
|
+
export type { ContactListThemeVars } from './types';
|
20
21
|
declare module 'vue' {
|
21
22
|
interface GlobalComponents {
|
22
23
|
VanContactList: typeof ContactList;
|
@@ -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);
|
@@ -38,7 +38,7 @@ export declare const CountDown: import("../utils").WithInstall<import("vue").Def
|
|
38
38
|
export default CountDown;
|
39
39
|
export { countDownProps } from './CountDown';
|
40
40
|
export type { CountDownProps } from './CountDown';
|
41
|
-
export type { CountDownInstance, CountDownCurrentTime } from './types';
|
41
|
+
export type { CountDownInstance, CountDownThemeVars, CountDownCurrentTime, } from './types';
|
42
42
|
declare module 'vue' {
|
43
43
|
interface GlobalComponents {
|
44
44
|
VanCountDown: typeof CountDown;
|
@@ -8,4 +8,9 @@ declare type CountDownExpose = {
|
|
8
8
|
};
|
9
9
|
export declare type CountDownInstance = ComponentPublicInstance<CountDownProps, CountDownExpose>;
|
10
10
|
export declare type CountDownCurrentTime = CurrentTime;
|
11
|
+
export declare type CountDownThemeVars = {
|
12
|
+
countDownTextColor?: string;
|
13
|
+
countDownFontSize?: string;
|
14
|
+
countDownLineHeight?: number | string;
|
15
|
+
};
|
11
16
|
export {};
|
package/lib/coupon/index.d.ts
CHANGED
@@ -27,6 +27,7 @@ export declare const Coupon: import("../utils").WithInstall<import("vue").Define
|
|
27
27
|
}>>;
|
28
28
|
export default Coupon;
|
29
29
|
export type { CouponInfo } from './Coupon';
|
30
|
+
export type { CouponThemeVars } from './types';
|
30
31
|
declare module 'vue' {
|
31
32
|
interface GlobalComponents {
|
32
33
|
VanCoupon: typeof Coupon;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export declare type CouponThemeVars = {
|
2
|
+
couponMargin?: string;
|
3
|
+
couponContentHeight?: string;
|
4
|
+
couponContentPadding?: string;
|
5
|
+
couponContentTextColor?: string;
|
6
|
+
couponBackground?: string;
|
7
|
+
couponActiveBackground?: string;
|
8
|
+
couponRadius?: string;
|
9
|
+
couponShadow?: string;
|
10
|
+
couponHeadWidth?: string;
|
11
|
+
couponAmountColor?: string;
|
12
|
+
couponAmountFontSize?: string;
|
13
|
+
couponCurrencyFontSize?: string;
|
14
|
+
couponNameFontSize?: string;
|
15
|
+
couponDisabledTextColor?: string;
|
16
|
+
couponDescriptionPadding?: string;
|
17
|
+
couponDescriptionBorderColor?: string;
|
18
|
+
couponCheckboxColor?: string;
|
19
|
+
};
|
@@ -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);
|
@@ -52,6 +52,7 @@ export declare const CouponCell: import("../utils").WithInstall<import("vue").De
|
|
52
52
|
export default CouponCell;
|
53
53
|
export { couponCellProps } from './CouponCell';
|
54
54
|
export type { CouponCellProps } from './CouponCell';
|
55
|
+
export type { CouponCellThemeVars } from './types';
|
55
56
|
declare module 'vue' {
|
56
57
|
interface GlobalComponents {
|
57
58
|
VanCouponCell: typeof CouponCell;
|
@@ -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);
|
@@ -117,6 +117,7 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
|
|
117
117
|
export default CouponList;
|
118
118
|
export { couponListProps } from './CouponList';
|
119
119
|
export type { CouponListProps } from './CouponList';
|
120
|
+
export type { CouponListThemeVars } from './types';
|
120
121
|
declare module 'vue' {
|
121
122
|
interface GlobalComponents {
|
122
123
|
VanCouponList: typeof CouponList;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare type CouponListThemeVars = {
|
2
|
+
couponListBackground?: string;
|
3
|
+
couponListFieldPadding?: string;
|
4
|
+
couponListExchangeButtonHeight?: string;
|
5
|
+
couponListCloseButtonHeight?: string;
|
6
|
+
couponListEmptyTipColor?: string;
|
7
|
+
couponListEmptyTipFontSize?: string;
|
8
|
+
couponListEmptyTipLineHeight?: number | 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);
|
package/lib/dialog/index.d.ts
CHANGED
@@ -130,7 +130,7 @@ export default Dialog;
|
|
130
130
|
export { dialogProps } from './Dialog';
|
131
131
|
export { showDialog, closeDialog, showConfirmDialog, setDialogDefaultOptions, resetDialogDefaultOptions, } from './function-call';
|
132
132
|
export type { DialogProps } from './Dialog';
|
133
|
-
export type { DialogTheme, DialogMessage, DialogOptions, DialogMessageAlign, } from './types';
|
133
|
+
export type { DialogTheme, DialogMessage, DialogOptions, DialogThemeVars, DialogMessageAlign, } from './types';
|
134
134
|
declare module 'vue' {
|
135
135
|
interface GlobalComponents {
|
136
136
|
VanDialog: typeof Dialog;
|
package/lib/dialog/types.d.ts
CHANGED
@@ -30,3 +30,24 @@ export declare type DialogOptions = {
|
|
30
30
|
confirmButtonDisabled?: boolean;
|
31
31
|
closeOnClickOverlay?: boolean;
|
32
32
|
};
|
33
|
+
export declare type DialogThemeVars = {
|
34
|
+
dialogWidth?: string;
|
35
|
+
dialogSmallScreenWidth?: string;
|
36
|
+
dialogFontSize?: string;
|
37
|
+
dialogTransition?: string;
|
38
|
+
dialogRadius?: string;
|
39
|
+
dialogBackground?: string;
|
40
|
+
dialogHeaderFontWeight?: string;
|
41
|
+
dialogHeaderLineHeight?: number | string;
|
42
|
+
dialogHeaderPaddingTop?: string;
|
43
|
+
dialogHeaderIsolatedPadding?: string;
|
44
|
+
dialogMessagePadding?: string;
|
45
|
+
dialogMessageFontSize?: string;
|
46
|
+
dialogMessageLineHeight?: number | string;
|
47
|
+
dialogMessageMaxHeight?: string;
|
48
|
+
dialogHasTitleMessageTextColor?: string;
|
49
|
+
dialogHasTitleMessagePaddingTop?: string;
|
50
|
+
dialogButtonHeight?: string;
|
51
|
+
dialogRoundButtonHeight?: string;
|
52
|
+
dialogConfirmButtonTextColor?: string;
|
53
|
+
};
|
package/lib/divider/index.d.ts
CHANGED
@@ -26,6 +26,7 @@ export declare const Divider: import("../utils").WithInstall<import("vue").Defin
|
|
26
26
|
export default Divider;
|
27
27
|
export { dividerProps } from './Divider';
|
28
28
|
export type { DividerProps, DividerContentPosition } from './Divider';
|
29
|
+
export type { DividerThemeVars } from './types';
|
29
30
|
declare module 'vue' {
|
30
31
|
interface GlobalComponents {
|
31
32
|
VanDivider: typeof Divider;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export declare type DividerThemeVars = {
|
2
|
+
dividerMargin?: string;
|
3
|
+
dividerTextColor?: string;
|
4
|
+
dividerFontSize?: string;
|
5
|
+
dividerLineHeight?: number | string;
|
6
|
+
dividerBorderColor?: string;
|
7
|
+
dividerContentPadding?: string;
|
8
|
+
dividerContentLeftWidth?: string;
|
9
|
+
dividerContentRightWidth?: 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);
|
@@ -42,7 +42,7 @@ export declare const DropdownItem: import("../utils").WithInstall<import("vue").
|
|
42
42
|
export default DropdownItem;
|
43
43
|
export { dropdownItemProps } from './DropdownItem';
|
44
44
|
export type { DropdownItemProps };
|
45
|
-
export type { DropdownItemInstance,
|
45
|
+
export type { DropdownItemOption, DropdownItemInstance, DropdownItemThemeVars, } from './types';
|
46
46
|
declare module 'vue' {
|
47
47
|
interface GlobalComponents {
|
48
48
|
VanDropdownItem: typeof DropdownItem;
|
@@ -20,3 +20,6 @@ export declare type DropdownItemExpose = {
|
|
20
20
|
renderTitle: () => string | VNode[];
|
21
21
|
};
|
22
22
|
export declare type DropdownItemInstance = ComponentPublicInstance<DropdownItemProps, DropdownItemExpose>;
|
23
|
+
export declare type DropdownItemThemeVars = {
|
24
|
+
dropdownItemZIndex?: number | string;
|
25
|
+
};
|
@@ -55,7 +55,7 @@ export declare const DropdownMenu: import("../utils").WithInstall<import("vue").
|
|
55
55
|
export default DropdownMenu;
|
56
56
|
export { dropdownMenuProps } from './DropdownMenu';
|
57
57
|
export type { DropdownMenuProps };
|
58
|
-
export type { DropdownMenuDirection } from './types';
|
58
|
+
export type { DropdownMenuDirection, DropdownMenuThemeVars } from './types';
|
59
59
|
declare module 'vue' {
|
60
60
|
interface GlobalComponents {
|
61
61
|
VanDropdownMenu: typeof DropdownMenu;
|
@@ -6,3 +6,16 @@ export declare type DropdownMenuProvide = {
|
|
6
6
|
props: DropdownMenuProps;
|
7
7
|
offset: Ref<number>;
|
8
8
|
};
|
9
|
+
export declare type DropdownMenuThemeVars = {
|
10
|
+
dropdownMenuHeight?: string;
|
11
|
+
dropdownMenuBackground?: string;
|
12
|
+
dropdownMenuShadow?: string;
|
13
|
+
dropdownMenuTitleFontSize?: string;
|
14
|
+
dropdownMenuTitleTextColor?: string;
|
15
|
+
dropdownMenuTitleActiveTextColor?: string;
|
16
|
+
dropdownMenuTitleDisabledTextColor?: string;
|
17
|
+
dropdownMenuTitlePadding?: string;
|
18
|
+
dropdownMenuTitleLineHeight?: number | string;
|
19
|
+
dropdownMenuOptionActiveColor?: string;
|
20
|
+
dropdownMenuContentMaxHeight?: string;
|
21
|
+
};
|
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/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;
|