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);
|
package/lib/radio/index.d.ts
CHANGED
@@ -32,6 +32,7 @@ export declare const Radio: import("../utils").WithInstall<import("vue").DefineC
|
|
32
32
|
export default Radio;
|
33
33
|
export { radioProps } from './Radio';
|
34
34
|
export type { RadioProps, RadioShape, RadioLabelPosition } from './Radio';
|
35
|
+
export type { RadioThemeVars } from './types';
|
35
36
|
declare module 'vue' {
|
36
37
|
interface GlobalComponents {
|
37
38
|
VanRadio: typeof Radio;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare type RadioThemeVars = {
|
2
|
+
radioSize?: string;
|
3
|
+
radioBorderColor?: string;
|
4
|
+
radioDuration?: string;
|
5
|
+
radioLabelMargin?: string;
|
6
|
+
radioLabelColor?: string;
|
7
|
+
radioCheckedIconColor?: string;
|
8
|
+
radioDisabledIconColor?: string;
|
9
|
+
radioDisabledLabelColor?: string;
|
10
|
+
radioDisabledBackground?: 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/rate/index.d.ts
CHANGED
@@ -74,6 +74,7 @@ export declare const Rate: import("../utils").WithInstall<import("vue").DefineCo
|
|
74
74
|
export default Rate;
|
75
75
|
export { rateProps } from './Rate';
|
76
76
|
export type { RateProps } from './Rate';
|
77
|
+
export type { RateThemeVars } from './types';
|
77
78
|
declare module 'vue' {
|
78
79
|
interface GlobalComponents {
|
79
80
|
VanRate: typeof Rate;
|
@@ -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/search/index.d.ts
CHANGED
@@ -144,7 +144,7 @@ export declare const Search: import("../utils").WithInstall<import("vue").Define
|
|
144
144
|
export default Search;
|
145
145
|
export { searchProps } from './Search';
|
146
146
|
export type { SearchProps };
|
147
|
-
export type { SearchShape, SearchInstance } from './types';
|
147
|
+
export type { SearchShape, SearchInstance, SearchThemeVars } from './types';
|
148
148
|
declare module 'vue' {
|
149
149
|
interface GlobalComponents {
|
150
150
|
VanSearch: typeof Search;
|
package/lib/search/types.d.ts
CHANGED
@@ -6,3 +6,16 @@ export declare type SearchExpose = {
|
|
6
6
|
blur: () => void;
|
7
7
|
};
|
8
8
|
export declare type SearchInstance = ComponentPublicInstance<SearchProps, SearchExpose>;
|
9
|
+
export declare type SearchThemeVars = {
|
10
|
+
searchPadding?: string;
|
11
|
+
searchBackground?: string;
|
12
|
+
searchContentBackground?: string;
|
13
|
+
searchInputHeight?: string;
|
14
|
+
searchLabelPadding?: string;
|
15
|
+
searchLabelColor?: string;
|
16
|
+
searchLabelFontSize?: string;
|
17
|
+
searchLeftIconColor?: string;
|
18
|
+
searchActionPadding?: string;
|
19
|
+
searchActionTextColor?: string;
|
20
|
+
searchActionFontSize?: string;
|
21
|
+
};
|
@@ -107,6 +107,7 @@ export declare const ShareSheet: import("../utils").WithInstall<import("vue").De
|
|
107
107
|
export default ShareSheet;
|
108
108
|
export { shareSheetProps } from './ShareSheet';
|
109
109
|
export type { ShareSheetProps, ShareSheetOption, ShareSheetOptions, } from './ShareSheet';
|
110
|
+
export type { ShareSheetThemeVars } from './types';
|
110
111
|
declare module 'vue' {
|
111
112
|
interface GlobalComponents {
|
112
113
|
VanShareSheet: typeof ShareSheet;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare type ShareSheetThemeVars = {
|
2
|
+
shareSheetHeaderPadding?: string;
|
3
|
+
shareSheetTitleColor?: string;
|
4
|
+
shareSheetTitleFontSize?: string;
|
5
|
+
shareSheetTitleLineHeight?: number | string;
|
6
|
+
shareSheetDescriptionColor?: string;
|
7
|
+
shareSheetDescriptionFontSize?: string;
|
8
|
+
shareSheetDescriptionLineHeight?: number | string;
|
9
|
+
shareSheetIconSize?: string;
|
10
|
+
shareSheetOptionNameColor?: string;
|
11
|
+
shareSheetOptionNameFontSize?: string;
|
12
|
+
shareSheetOptionDescriptionColor?: string;
|
13
|
+
shareSheetOptionDescriptionFontSize?: string;
|
14
|
+
shareSheetCancelButtonFontSize?: string;
|
15
|
+
shareSheetCancelButtonHeight?: string;
|
16
|
+
shareSheetCancelButtonBackground?: 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/sidebar/index.d.ts
CHANGED
@@ -17,6 +17,7 @@ export declare const Sidebar: import("../utils").WithInstall<import("vue").Defin
|
|
17
17
|
export default Sidebar;
|
18
18
|
export { sidebarProps } from './Sidebar';
|
19
19
|
export type { SidebarProps } from './Sidebar';
|
20
|
+
export type { SidebarThemeVars } from './types';
|
20
21
|
declare module 'vue' {
|
21
22
|
interface GlobalComponents {
|
22
23
|
VanSidebar: typeof Sidebar;
|
@@ -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);
|
@@ -28,6 +28,7 @@ export declare const SidebarItem: import("../utils").WithInstall<import("vue").D
|
|
28
28
|
export default SidebarItem;
|
29
29
|
export { sidebarItemProps } from './SidebarItem';
|
30
30
|
export type { SidebarItemProps } from './SidebarItem';
|
31
|
+
export type { SidebarItemThemeVars } from './types';
|
31
32
|
declare module 'vue' {
|
32
33
|
interface GlobalComponents {
|
33
34
|
VanSidebarItem: typeof SidebarItem;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export declare type SidebarItemThemeVars = {
|
2
|
+
sidebarFontSize?: string;
|
3
|
+
sidebarLineHeight?: number | string;
|
4
|
+
sidebarTextColor?: string;
|
5
|
+
sidebarDisabledTextColor?: string;
|
6
|
+
sidebarPadding?: string;
|
7
|
+
sidebarActiveColor?: string;
|
8
|
+
sidebarBackground?: string;
|
9
|
+
sidebarSelectedFontWeight?: string;
|
10
|
+
sidebarSelectedTextColor?: string;
|
11
|
+
sidebarSelectedBorderWidth?: string;
|
12
|
+
sidebarSelectedBorderHeight?: string;
|
13
|
+
sidebarSelectedBorderColor?: string;
|
14
|
+
sidebarSelectedBackground?: string;
|
15
|
+
};
|
@@ -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/skeleton/index.d.ts
CHANGED
@@ -65,6 +65,7 @@ export declare const Skeleton: import("../utils").WithInstall<import("vue").Defi
|
|
65
65
|
export default Skeleton;
|
66
66
|
export { skeletonProps } from './Skeleton';
|
67
67
|
export type { SkeletonProps, SkeletonAvatarShape } from './Skeleton';
|
68
|
+
export type { SkeletonThemeVars } from './types';
|
68
69
|
declare module 'vue' {
|
69
70
|
interface GlobalComponents {
|
70
71
|
VanSkeleton: typeof Skeleton;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare type SkeletonThemeVars = {
|
2
|
+
skeletonRowHeight?: string;
|
3
|
+
skeletonRowBackground?: string;
|
4
|
+
skeletonRowMarginTop?: string;
|
5
|
+
skeletonTitleWidth?: string;
|
6
|
+
skeletonAvatarSize?: string;
|
7
|
+
skeletonAvatarBackground?: string;
|
8
|
+
skeletonDuration?: 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/slider/index.d.ts
CHANGED
@@ -69,6 +69,7 @@ export declare const Slider: import("../utils").WithInstall<import("vue").Define
|
|
69
69
|
export default Slider;
|
70
70
|
export { sliderProps } from './Slider';
|
71
71
|
export type { SliderProps } from './Slider';
|
72
|
+
export type { SliderThemeVars } from './types';
|
72
73
|
declare module 'vue' {
|
73
74
|
interface GlobalComponents {
|
74
75
|
VanSlider: typeof Slider;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare type SliderThemeVars = {
|
2
|
+
sliderActiveBackground?: string;
|
3
|
+
sliderInactiveBackground?: string;
|
4
|
+
sliderDisabledOpacity?: number | string;
|
5
|
+
sliderBarHeight?: string;
|
6
|
+
sliderButtonWidth?: string;
|
7
|
+
sliderButtonHeight?: string;
|
8
|
+
sliderButtonRadius?: string;
|
9
|
+
sliderButtonBackground?: string;
|
10
|
+
sliderButtonShadow?: 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/step/index.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
export declare const Step: import("../utils").WithInstall<import("vue").DefineComponent<{}, (() => JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
2
2
|
export default Step;
|
3
|
+
export type { StepThemeVars } from './types';
|
3
4
|
declare module 'vue' {
|
4
5
|
interface GlobalComponents {
|
5
6
|
VanStep: typeof Step;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export declare type StepThemeVars = {
|
2
|
+
stepTextColor?: string;
|
3
|
+
stepActiveColor?: string;
|
4
|
+
stepProcessTextColor?: string;
|
5
|
+
stepFontSize?: string;
|
6
|
+
stepLineColor?: string;
|
7
|
+
stepFinishLineColor?: string;
|
8
|
+
stepFinishTextColor?: string;
|
9
|
+
stepIconSize?: string;
|
10
|
+
stepCircleSize?: string;
|
11
|
+
stepCircleColor?: string;
|
12
|
+
stepHorizontalTitleFontSize?: string;
|
13
|
+
};
|
@@ -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/stepper/index.d.ts
CHANGED
@@ -126,6 +126,7 @@ export declare const Stepper: import("../utils").WithInstall<import("vue").Defin
|
|
126
126
|
export default Stepper;
|
127
127
|
export { stepperProps } from './Stepper';
|
128
128
|
export type { StepperTheme, StepperProps } from './Stepper';
|
129
|
+
export type { StepperThemeVars } from './types';
|
129
130
|
declare module 'vue' {
|
130
131
|
interface GlobalComponents {
|
131
132
|
VanStepper: typeof Stepper;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export declare type StepperThemeVars = {
|
2
|
+
stepperBackground?: string;
|
3
|
+
stepperButtonIconColor?: string;
|
4
|
+
stepperButtonDisabledColor?: string;
|
5
|
+
stepperButtonDisabledIconColor?: string;
|
6
|
+
stepperButtonRoundThemeColor?: string;
|
7
|
+
stepperInputWidth?: string;
|
8
|
+
stepperInputHeight?: string;
|
9
|
+
stepperInputFontSize?: string;
|
10
|
+
stepperInputLineHeight?: number | string;
|
11
|
+
stepperInputTextColor?: string;
|
12
|
+
stepperInputDisabledTextColor?: string;
|
13
|
+
stepperInputDisabledBackground?: string;
|
14
|
+
stepperRadius?: string;
|
15
|
+
};
|
@@ -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/steps/index.d.ts
CHANGED
@@ -44,6 +44,7 @@ export declare const Steps: import("../utils").WithInstall<import("vue").DefineC
|
|
44
44
|
export default Steps;
|
45
45
|
export { stepsProps } from './Steps';
|
46
46
|
export type { StepsProps, StepsDirection } from './Steps';
|
47
|
+
export type { StepsThemeVars } from './types';
|
47
48
|
declare module 'vue' {
|
48
49
|
interface GlobalComponents {
|
49
50
|
VanSteps: typeof Steps;
|
@@ -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/sticky/index.d.ts
CHANGED
@@ -39,6 +39,7 @@ export declare const Sticky: import("../utils").WithInstall<import("vue").Define
|
|
39
39
|
export default Sticky;
|
40
40
|
export { stickyProps } from './Sticky';
|
41
41
|
export type { StickyProps, StickyPosition } from './Sticky';
|
42
|
+
export type { StickyThemeVars } from './types';
|
42
43
|
declare module 'vue' {
|
43
44
|
interface GlobalComponents {
|
44
45
|
VanSticky: typeof Sticky;
|
@@ -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);
|
@@ -68,6 +68,7 @@ export declare const SubmitBar: import("../utils").WithInstall<import("vue").Def
|
|
68
68
|
export default SubmitBar;
|
69
69
|
export { submitBarProps } from './SubmitBar';
|
70
70
|
export type { SubmitBarProps, SubmitBarTextAlign } from './SubmitBar';
|
71
|
+
export type { SubmitBarThemeVars } from './types';
|
71
72
|
declare module 'vue' {
|
72
73
|
interface GlobalComponents {
|
73
74
|
VanSubmitBar: typeof SubmitBar;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export declare type SubmitBarThemeVars = {
|
2
|
+
submitBarHeight?: string;
|
3
|
+
submitBarZIndex?: number | string;
|
4
|
+
submitBarBackground?: string;
|
5
|
+
submitBarButtonWidth?: string;
|
6
|
+
submitBarPriceColor?: string;
|
7
|
+
submitBarPriceFontSize?: string;
|
8
|
+
submitBarPriceIntegerFontSize?: string;
|
9
|
+
submitBarPriceFont?: string;
|
10
|
+
submitBarCurrencyFontSize?: string;
|
11
|
+
submitBarTextColor?: string;
|
12
|
+
submitBarTextFontSize?: string;
|
13
|
+
submitBarTipPadding?: string;
|
14
|
+
submitBarTipFontSize?: string;
|
15
|
+
submitBarTipLineHeight?: number | string;
|
16
|
+
submitBarTipColor?: string;
|
17
|
+
submitBarTipBackground?: string;
|
18
|
+
submitBarTipIconSize?: string;
|
19
|
+
submitBarButtonHeight?: string;
|
20
|
+
submitBarPadding?: string;
|
21
|
+
};
|
@@ -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/swipe/index.d.ts
CHANGED
@@ -83,7 +83,7 @@ export declare const Swipe: import("../utils").WithInstall<import("vue").DefineC
|
|
83
83
|
export default Swipe;
|
84
84
|
export { swipeProps } from './Swipe';
|
85
85
|
export type { SwipeProps };
|
86
|
-
export type { SwipeInstance, SwipeToOptions } from './types';
|
86
|
+
export type { SwipeInstance, SwipeToOptions, SwipeThemeVars } from './types';
|
87
87
|
declare module 'vue' {
|
88
88
|
interface GlobalComponents {
|
89
89
|
VanSwipe: typeof Swipe;
|
package/lib/swipe/types.d.ts
CHANGED
@@ -29,3 +29,11 @@ export declare type SwipeProvide = {
|
|
29
29
|
activeIndicator: ComputedRef<number>;
|
30
30
|
};
|
31
31
|
export declare type SwipeInstance = ComponentPublicInstance<SwipeProps, SwipeExpose>;
|
32
|
+
export declare type SwipeThemeVars = {
|
33
|
+
swipeIndicatorSize?: string;
|
34
|
+
swipeIndicatorMargin?: string;
|
35
|
+
swipeIndicatorActiveOpacity?: number | string;
|
36
|
+
swipeIndicatorInactiveOpacity?: number | string;
|
37
|
+
swipeIndicatorActiveBackground?: string;
|
38
|
+
swipeIndicatorInactiveBackground?: string;
|
39
|
+
};
|
package/lib/switch/index.d.ts
CHANGED
@@ -40,6 +40,7 @@ export declare const Switch: import("../utils").WithInstall<import("vue").Define
|
|
40
40
|
export default Switch;
|
41
41
|
export { switchProps } from './Switch';
|
42
42
|
export type { SwitchProps } from './Switch';
|
43
|
+
export type { SwitchThemeVars } from './types';
|
43
44
|
declare module 'vue' {
|
44
45
|
interface GlobalComponents {
|
45
46
|
VanSwitch: typeof Switch;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare type SwitchThemeVars = {
|
2
|
+
switchSize?: string;
|
3
|
+
switchWidth?: string;
|
4
|
+
switchHeight?: string;
|
5
|
+
switchNodeSize?: string;
|
6
|
+
switchNodeBackground?: string;
|
7
|
+
switchNodeShadow?: string;
|
8
|
+
switchBackground?: string;
|
9
|
+
switchOnBackground?: string;
|
10
|
+
switchDuration?: string;
|
11
|
+
switchDisabledOpacity?: number | string;
|
12
|
+
};
|
@@ -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/tabbar/index.d.ts
CHANGED
@@ -58,6 +58,7 @@ export declare const Tabbar: import("../utils").WithInstall<import("vue").Define
|
|
58
58
|
export default Tabbar;
|
59
59
|
export { tabbarProps } from './Tabbar';
|
60
60
|
export type { TabbarProps } from './Tabbar';
|
61
|
+
export type { TabbarThemeVars } from './types';
|
61
62
|
declare module 'vue' {
|
62
63
|
interface GlobalComponents {
|
63
64
|
VanTabbar: typeof Tabbar;
|
@@ -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);
|
@@ -29,6 +29,7 @@ export declare const TabbarItem: import("../utils").WithInstall<import("vue").De
|
|
29
29
|
export default TabbarItem;
|
30
30
|
export { tabbarItemProps } from './TabbarItem';
|
31
31
|
export type { TabbarItemProps } from './TabbarItem';
|
32
|
+
export type { TabbarItemThemeVars } from './types';
|
32
33
|
declare module 'vue' {
|
33
34
|
interface GlobalComponents {
|
34
35
|
VanTabbarItem: typeof TabbarItem;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare type TabbarItemThemeVars = {
|
2
|
+
tabbarItemFontSize?: string;
|
3
|
+
tabbarItemTextColor?: string;
|
4
|
+
tabbarItemActiveColor?: string;
|
5
|
+
tabbarItemActiveBackground?: string;
|
6
|
+
tabbarItemLineHeight?: number | string;
|
7
|
+
tabbarItemIconSize?: string;
|
8
|
+
tabbarItemIconMarginBottom?: 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);
|