vant 3.4.8 → 4.0.0-alpha.2
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 +154 -39
- package/es/action-bar/index.css +1 -1
- package/es/action-bar/index.less +4 -6
- package/es/action-bar-button/index.css +1 -1
- package/es/action-bar-button/index.less +9 -11
- package/es/action-bar-icon/index.css +1 -1
- package/es/action-bar-icon/index.less +10 -12
- package/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.less +23 -24
- package/es/address-edit/AddressEdit.d.ts +6 -23
- package/es/address-edit/AddressEdit.js +32 -57
- package/es/address-edit/AddressEditDetail.d.ts +2 -2
- package/es/address-edit/AddressEditDetail.js +5 -14
- package/es/address-edit/index.css +1 -1
- package/es/address-edit/index.d.ts +6 -18
- package/es/address-edit/index.less +8 -15
- package/es/address-edit/types.d.ts +2 -5
- package/es/address-list/AddressList.d.ts +4 -4
- package/es/address-list/AddressList.js +5 -5
- package/es/address-list/AddressListItem.js +3 -3
- package/es/address-list/index.css +1 -1
- package/es/address-list/index.d.ts +4 -4
- package/es/address-list/index.less +20 -22
- package/es/area/Area.d.ts +13 -25
- package/es/area/Area.js +43 -208
- package/es/area/index.d.ts +11 -19
- package/es/area/types.d.ts +2 -17
- package/es/area/utils.d.ts +6 -0
- package/es/area/utils.js +85 -0
- package/es/badge/index.css +1 -1
- package/es/badge/index.less +15 -17
- package/es/button/index.css +1 -1
- package/es/button/index.less +55 -52
- package/es/calendar/Calendar.d.ts +6 -6
- package/es/calendar/Calendar.js +5 -5
- package/es/calendar/CalendarHeader.d.ts +2 -2
- package/es/calendar/CalendarHeader.js +2 -2
- package/es/calendar/CalendarMonth.d.ts +1 -2
- package/es/calendar/CalendarMonth.js +2 -2
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +6 -6
- package/es/calendar/index.less +42 -38
- package/es/card/Card.d.ts +2 -2
- package/es/card/Card.js +3 -3
- package/es/card/index.css +1 -1
- package/es/card/index.d.ts +2 -2
- package/es/card/index.less +23 -25
- package/es/cascader/Cascader.d.ts +2 -2
- package/es/cascader/Cascader.js +3 -3
- package/es/cascader/index.css +1 -1
- package/es/cascader/index.d.ts +2 -2
- package/es/cascader/index.less +17 -19
- package/es/cell/Cell.js +1 -4
- package/es/cell/index.css +1 -1
- package/es/cell/index.less +21 -27
- package/es/cell-group/index.css +1 -1
- package/es/cell-group/index.less +12 -13
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.less +12 -14
- package/es/circle/index.css +1 -1
- package/es/circle/index.less +8 -10
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.less +12 -12
- package/es/config-provider/ConfigProvider.d.ts +14 -0
- package/es/config-provider/ConfigProvider.js +11 -2
- package/es/config-provider/index.d.ts +10 -1
- package/es/contact-card/ContactCard.js +2 -2
- package/es/contact-card/index.css +1 -1
- package/es/contact-card/index.less +7 -9
- package/es/contact-edit/ContactEdit.d.ts +2 -2
- package/es/contact-edit/ContactEdit.js +3 -4
- package/es/contact-edit/index.css +1 -1
- package/es/contact-edit/index.d.ts +2 -2
- package/es/contact-edit/index.less +7 -9
- package/es/contact-list/ContactList.js +4 -4
- package/es/contact-list/index.css +1 -1
- package/es/contact-list/index.less +9 -11
- package/es/count-down/index.css +1 -1
- package/es/count-down/index.less +4 -6
- package/es/coupon/index.css +1 -1
- package/es/coupon/index.less +28 -31
- package/es/coupon-cell/index.css +1 -1
- package/es/coupon-cell/index.less +2 -4
- package/es/coupon-list/CouponList.js +2 -2
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.less +14 -16
- package/es/date-picker/DatePicker.d.ts +168 -0
- package/es/date-picker/DatePicker.js +111 -0
- package/es/{datetime-picker/DatePicker.d.ts → date-picker/index.d.ts} +40 -28
- package/es/date-picker/index.js +8 -0
- package/es/{datetime-picker → date-picker}/style/index.d.ts +0 -0
- package/es/{datetime-picker → date-picker}/style/index.js +0 -0
- package/es/{datetime-picker → date-picker}/style/less.d.ts +0 -0
- package/es/{datetime-picker → date-picker}/style/less.js +0 -0
- package/es/{datetime-picker → date-picker}/utils.d.ts +15 -11
- package/es/date-picker/utils.js +40 -0
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.less +24 -24
- package/es/divider/index.css +1 -1
- package/es/divider/index.less +10 -12
- package/es/dropdown-item/index.css +1 -1
- package/es/dropdown-item/index.less +2 -5
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.less +14 -17
- package/es/empty/index.css +1 -1
- package/es/empty/index.less +9 -11
- package/es/field/Field.d.ts +4 -4
- package/es/field/Field.js +4 -4
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +4 -4
- package/es/field/index.less +20 -23
- package/es/grid-item/index.css +1 -1
- package/es/grid-item/index.less +10 -13
- package/es/image/index.css +1 -1
- package/es/image/index.less +10 -12
- package/es/image-preview/index.css +1 -1
- package/es/image-preview/index.less +11 -13
- package/es/index-anchor/index.css +1 -1
- package/es/index-anchor/index.less +12 -14
- package/es/index-bar/index.css +1 -1
- package/es/index-bar/index.less +7 -8
- package/es/index.d.ts +3 -2
- package/es/index.js +7 -4
- package/es/list/index.css +1 -1
- package/es/list/index.less +5 -7
- package/es/loading/index.css +1 -1
- package/es/loading/index.less +7 -10
- package/es/locale/lang/bn-BD.d.ts +0 -2
- package/es/locale/lang/bn-BD.js +0 -2
- package/es/locale/lang/de-DE-formal.d.ts +0 -2
- package/es/locale/lang/de-DE-formal.js +0 -2
- package/es/locale/lang/de-DE.d.ts +0 -2
- package/es/locale/lang/de-DE.js +0 -2
- package/es/locale/lang/en-US.d.ts +0 -2
- package/es/locale/lang/en-US.js +0 -2
- package/es/locale/lang/es-ES.d.ts +0 -2
- package/es/locale/lang/es-ES.js +0 -2
- package/es/locale/lang/fr-FR.d.ts +0 -2
- package/es/locale/lang/fr-FR.js +0 -2
- package/es/locale/lang/hi-IN.d.ts +0 -2
- package/es/locale/lang/hi-IN.js +0 -2
- package/es/locale/lang/id-ID.d.ts +0 -2
- package/es/locale/lang/id-ID.js +0 -2
- package/es/locale/lang/is-IS.d.ts +0 -2
- package/es/locale/lang/is-IS.js +0 -2
- package/es/locale/lang/it-IT.d.ts +0 -2
- package/es/locale/lang/it-IT.js +0 -2
- package/es/locale/lang/ja-JP.d.ts +0 -2
- package/es/locale/lang/ja-JP.js +0 -2
- package/es/locale/lang/ko-KR.d.ts +0 -2
- package/es/locale/lang/ko-KR.js +0 -2
- package/es/locale/lang/la-LA.d.ts +0 -2
- package/es/locale/lang/la-LA.js +0 -2
- package/es/locale/lang/nb-NO.d.ts +0 -2
- package/es/locale/lang/nb-NO.js +0 -2
- package/es/locale/lang/pt-BR.d.ts +0 -2
- package/es/locale/lang/pt-BR.js +0 -2
- package/es/locale/lang/ro-RO.d.ts +0 -2
- package/es/locale/lang/ro-RO.js +0 -2
- package/es/locale/lang/ru-RU.d.ts +0 -2
- package/es/locale/lang/ru-RU.js +0 -2
- package/es/locale/lang/sv-SE.d.ts +0 -2
- package/es/locale/lang/sv-SE.js +0 -2
- package/es/locale/lang/th-TH.d.ts +0 -2
- package/es/locale/lang/th-TH.js +0 -2
- package/es/locale/lang/tr-TR.d.ts +0 -2
- package/es/locale/lang/tr-TR.js +0 -2
- package/es/locale/lang/uk-UA.d.ts +0 -2
- package/es/locale/lang/uk-UA.js +0 -2
- package/es/locale/lang/vi-VN.d.ts +0 -2
- package/es/locale/lang/vi-VN.js +0 -2
- package/es/locale/lang/zh-CN.d.ts +0 -2
- package/es/locale/lang/zh-CN.js +0 -2
- package/es/locale/lang/zh-HK.d.ts +0 -2
- package/es/locale/lang/zh-HK.js +0 -2
- package/es/locale/lang/zh-TW.d.ts +0 -2
- package/es/locale/lang/zh-TW.js +0 -2
- package/es/nav-bar/NavBar.d.ts +3 -3
- package/es/nav-bar/NavBar.js +3 -3
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.d.ts +3 -3
- package/es/nav-bar/index.less +11 -13
- package/es/notice-bar/index.css +1 -1
- package/es/notice-bar/index.less +11 -13
- package/es/notify/index.css +1 -1
- package/es/notify/index.less +13 -15
- package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +1 -1
- package/es/number-keyboard/index.less +26 -22
- package/es/overlay/index.css +1 -1
- package/es/overlay/index.less +4 -6
- package/es/pagination/index.css +1 -1
- package/es/pagination/index.less +13 -15
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.less +20 -22
- package/es/picker/Picker.d.ts +27 -28
- package/es/picker/Picker.js +91 -196
- package/es/picker/PickerColumn.d.ts +21 -30
- package/es/picker/PickerColumn.js +61 -111
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +19 -20
- package/es/picker/index.less +32 -19
- package/es/picker/types.d.ts +13 -19
- package/es/picker/utils.d.ts +11 -0
- package/es/picker/utils.js +73 -0
- package/es/popover/Popover.d.ts +1 -1
- package/es/popover/index.css +1 -1
- package/es/popover/index.d.ts +1 -1
- package/es/popover/index.less +21 -23
- package/es/popup/Popup.d.ts +3 -3
- package/es/popup/Popup.js +3 -3
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +3 -3
- package/es/popup/index.less +20 -22
- package/es/progress/index.css +1 -1
- package/es/progress/index.less +14 -18
- package/es/pull-refresh/index.css +1 -1
- package/es/pull-refresh/index.less +5 -7
- package/es/radio/index.css +1 -1
- package/es/radio/index.less +12 -14
- package/es/rate/index.css +1 -1
- package/es/rate/index.less +6 -8
- package/es/search/Search.d.ts +4 -4
- package/es/search/Search.js +7 -7
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +4 -4
- package/es/search/index.less +16 -18
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.less +17 -18
- package/es/sidebar/index.css +1 -1
- package/es/sidebar/index.less +2 -4
- package/es/sidebar-item/index.css +1 -1
- package/es/sidebar-item/index.less +17 -19
- package/es/skeleton/index.css +1 -1
- package/es/skeleton/index.less +14 -16
- package/es/slider/Slider.d.ts +4 -4
- package/es/slider/Slider.js +4 -5
- package/es/slider/index.css +1 -1
- package/es/slider/index.d.ts +4 -4
- package/es/slider/index.less +20 -18
- package/es/step/index.css +1 -1
- package/es/step/index.less +15 -17
- package/es/stepper/Stepper.d.ts +1 -1
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +1 -1
- package/es/stepper/index.less +20 -24
- package/es/steps/Steps.d.ts +2 -2
- package/es/steps/Steps.js +2 -2
- package/es/steps/index.css +1 -1
- package/es/steps/index.d.ts +2 -2
- package/es/steps/index.less +3 -5
- package/es/sticky/index.css +1 -1
- package/es/sticky/index.less +2 -4
- package/es/style/animation.css +1 -1
- package/es/style/animation.less +18 -22
- package/es/style/base.css +1 -1
- package/es/style/base.less +6 -7
- package/es/style/css-variables.css +1 -1
- package/es/style/css-variables.less +76 -61
- package/es/style/mixins/hairline.less +0 -2
- package/es/style/normalize.css +1 -1
- package/es/style/normalize.less +1 -3
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.less +26 -28
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.less +11 -13
- package/es/switch/index.css +1 -1
- package/es/switch/index.less +24 -24
- package/es/tabbar/index.css +1 -1
- package/es/tabbar/index.less +5 -7
- package/es/tabbar-item/index.css +1 -1
- package/es/tabbar-item/index.less +9 -11
- package/es/tabs/Tabs.d.ts +2 -4
- package/es/tabs/Tabs.js +14 -27
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +2 -4
- package/es/tabs/index.less +17 -20
- package/es/tag/index.css +1 -1
- package/es/tag/index.less +22 -25
- package/es/time-picker/TimePicker.d.ts +214 -0
- package/es/time-picker/TimePicker.js +71 -0
- package/{lib/datetime-picker/TimePicker.d.ts → es/time-picker/index.d.ts} +60 -20
- package/es/time-picker/index.js +8 -0
- package/{lib/datetime-picker → es/time-picker}/style/index.d.ts +0 -0
- package/es/time-picker/style/index.js +3 -0
- package/{lib/datetime-picker → es/time-picker}/style/less.d.ts +0 -0
- package/es/time-picker/style/less.js +3 -0
- package/es/toast/index.css +1 -1
- package/es/toast/index.less +19 -21
- package/es/tree-select/TreeSelect.d.ts +3 -3
- package/es/tree-select/TreeSelect.js +3 -3
- package/es/tree-select/index.css +1 -1
- package/es/tree-select/index.d.ts +3 -3
- package/es/tree-select/index.less +12 -14
- package/es/uploader/Uploader.d.ts +4 -4
- package/es/uploader/Uploader.js +4 -4
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.d.ts +4 -4
- package/es/uploader/index.less +31 -33
- package/es/utils/basic.d.ts +1 -0
- package/es/utils/basic.js +2 -0
- package/lib/action-bar/index.css +1 -1
- package/lib/action-bar/index.less +4 -6
- package/lib/action-bar-button/index.css +1 -1
- package/lib/action-bar-button/index.less +9 -11
- package/lib/action-bar-icon/index.css +1 -1
- package/lib/action-bar-icon/index.less +10 -12
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.less +23 -24
- package/lib/address-edit/AddressEdit.d.ts +6 -23
- package/lib/address-edit/AddressEdit.js +32 -57
- package/lib/address-edit/AddressEditDetail.d.ts +2 -2
- package/lib/address-edit/AddressEditDetail.js +5 -14
- package/lib/address-edit/index.css +1 -1
- package/lib/address-edit/index.d.ts +6 -18
- package/lib/address-edit/index.less +8 -15
- package/lib/address-edit/types.d.ts +2 -5
- package/lib/address-list/AddressList.d.ts +4 -4
- package/lib/address-list/AddressList.js +5 -5
- package/lib/address-list/AddressListItem.js +3 -3
- package/lib/address-list/index.css +1 -1
- package/lib/address-list/index.d.ts +4 -4
- package/lib/address-list/index.less +20 -22
- package/lib/area/Area.d.ts +13 -25
- package/lib/area/Area.js +42 -207
- package/lib/area/index.d.ts +11 -19
- package/lib/area/types.d.ts +2 -17
- package/lib/area/utils.d.ts +6 -0
- package/lib/area/utils.js +104 -0
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.less +15 -17
- package/lib/button/index.css +1 -1
- package/lib/button/index.less +55 -52
- package/lib/calendar/Calendar.d.ts +6 -6
- package/lib/calendar/Calendar.js +5 -5
- package/lib/calendar/CalendarHeader.d.ts +2 -2
- package/lib/calendar/CalendarHeader.js +2 -2
- package/lib/calendar/CalendarMonth.d.ts +1 -2
- package/lib/calendar/CalendarMonth.js +2 -2
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +6 -6
- package/lib/calendar/index.less +42 -38
- package/lib/card/Card.d.ts +2 -2
- package/lib/card/Card.js +3 -3
- package/lib/card/index.css +1 -1
- package/lib/card/index.d.ts +2 -2
- package/lib/card/index.less +23 -25
- package/lib/cascader/Cascader.d.ts +2 -2
- package/lib/cascader/Cascader.js +3 -3
- package/lib/cascader/index.css +1 -1
- package/lib/cascader/index.d.ts +2 -2
- package/lib/cascader/index.less +17 -19
- package/lib/cell/Cell.js +1 -4
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.less +21 -27
- package/lib/cell-group/index.css +1 -1
- package/lib/cell-group/index.less +12 -13
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.less +12 -14
- package/lib/circle/index.css +1 -1
- package/lib/circle/index.less +8 -10
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.less +12 -12
- package/lib/config-provider/ConfigProvider.d.ts +14 -0
- package/lib/config-provider/ConfigProvider.js +9 -0
- package/lib/config-provider/index.d.ts +10 -1
- package/lib/contact-card/ContactCard.js +2 -2
- package/lib/contact-card/index.css +1 -1
- package/lib/contact-card/index.less +7 -9
- package/lib/contact-edit/ContactEdit.d.ts +2 -2
- package/lib/contact-edit/ContactEdit.js +3 -4
- package/lib/contact-edit/index.css +1 -1
- package/lib/contact-edit/index.d.ts +2 -2
- package/lib/contact-edit/index.less +7 -9
- package/lib/contact-list/ContactList.js +4 -4
- package/lib/contact-list/index.css +1 -1
- package/lib/contact-list/index.less +9 -11
- package/lib/count-down/index.css +1 -1
- package/lib/count-down/index.less +4 -6
- package/lib/coupon/index.css +1 -1
- package/lib/coupon/index.less +28 -31
- package/lib/coupon-cell/index.css +1 -1
- package/lib/coupon-cell/index.less +2 -4
- package/lib/coupon-list/CouponList.js +2 -2
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.less +14 -16
- package/lib/date-picker/DatePicker.d.ts +168 -0
- package/lib/date-picker/DatePicker.js +130 -0
- package/lib/{datetime-picker/DatePicker.d.ts → date-picker/index.d.ts} +40 -28
- package/lib/{datetime-picker → date-picker}/index.js +4 -4
- package/lib/date-picker/style/index.d.ts +1 -0
- package/lib/{datetime-picker → date-picker}/style/index.js +0 -0
- package/lib/date-picker/style/less.d.ts +1 -0
- package/lib/{datetime-picker → date-picker}/style/less.js +0 -0
- package/lib/{datetime-picker → date-picker}/utils.d.ts +15 -11
- package/lib/{datetime-picker → date-picker}/utils.js +11 -34
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.less +24 -24
- package/lib/divider/index.css +1 -1
- package/lib/divider/index.less +10 -12
- package/lib/dropdown-item/index.css +1 -1
- package/lib/dropdown-item/index.less +2 -5
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.less +14 -17
- package/lib/empty/index.css +1 -1
- package/lib/empty/index.less +9 -11
- package/lib/field/Field.d.ts +4 -4
- package/lib/field/Field.js +4 -4
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +4 -4
- package/lib/field/index.less +20 -23
- package/lib/grid-item/index.css +1 -1
- package/lib/grid-item/index.less +10 -13
- package/lib/image/index.css +1 -1
- package/lib/image/index.less +10 -12
- package/lib/image-preview/index.css +1 -1
- package/lib/image-preview/index.less +11 -13
- package/lib/index-anchor/index.css +1 -1
- package/lib/index-anchor/index.less +12 -14
- package/lib/index-bar/index.css +1 -1
- package/lib/index-bar/index.less +7 -8
- package/lib/index.css +1 -1
- package/lib/index.d.ts +3 -2
- package/lib/index.js +7 -4
- package/lib/list/index.css +1 -1
- package/lib/list/index.less +5 -7
- package/lib/loading/index.css +1 -1
- package/lib/loading/index.less +7 -10
- package/lib/locale/lang/bn-BD.d.ts +0 -2
- package/lib/locale/lang/bn-BD.js +0 -2
- package/lib/locale/lang/de-DE-formal.d.ts +0 -2
- package/lib/locale/lang/de-DE-formal.js +0 -2
- package/lib/locale/lang/de-DE.d.ts +0 -2
- package/lib/locale/lang/de-DE.js +0 -2
- package/lib/locale/lang/en-US.d.ts +0 -2
- package/lib/locale/lang/en-US.js +0 -2
- package/lib/locale/lang/es-ES.d.ts +0 -2
- package/lib/locale/lang/es-ES.js +0 -2
- package/lib/locale/lang/fr-FR.d.ts +0 -2
- package/lib/locale/lang/fr-FR.js +0 -2
- package/lib/locale/lang/hi-IN.d.ts +0 -2
- package/lib/locale/lang/hi-IN.js +0 -2
- package/lib/locale/lang/id-ID.d.ts +0 -2
- package/lib/locale/lang/id-ID.js +0 -2
- package/lib/locale/lang/is-IS.d.ts +0 -2
- package/lib/locale/lang/is-IS.js +0 -2
- package/lib/locale/lang/it-IT.d.ts +0 -2
- package/lib/locale/lang/it-IT.js +0 -2
- package/lib/locale/lang/ja-JP.d.ts +0 -2
- package/lib/locale/lang/ja-JP.js +0 -2
- package/lib/locale/lang/ko-KR.d.ts +0 -2
- package/lib/locale/lang/ko-KR.js +0 -2
- package/lib/locale/lang/la-LA.d.ts +0 -2
- package/lib/locale/lang/la-LA.js +0 -2
- package/lib/locale/lang/nb-NO.d.ts +0 -2
- package/lib/locale/lang/nb-NO.js +0 -2
- package/lib/locale/lang/pt-BR.d.ts +0 -2
- package/lib/locale/lang/pt-BR.js +0 -2
- package/lib/locale/lang/ro-RO.d.ts +0 -2
- package/lib/locale/lang/ro-RO.js +0 -2
- package/lib/locale/lang/ru-RU.d.ts +0 -2
- package/lib/locale/lang/ru-RU.js +0 -2
- package/lib/locale/lang/sv-SE.d.ts +0 -2
- package/lib/locale/lang/sv-SE.js +0 -2
- package/lib/locale/lang/th-TH.d.ts +0 -2
- package/lib/locale/lang/th-TH.js +0 -2
- package/lib/locale/lang/tr-TR.d.ts +0 -2
- package/lib/locale/lang/tr-TR.js +0 -2
- package/lib/locale/lang/uk-UA.d.ts +0 -2
- package/lib/locale/lang/uk-UA.js +0 -2
- package/lib/locale/lang/vi-VN.d.ts +0 -2
- package/lib/locale/lang/vi-VN.js +0 -2
- package/lib/locale/lang/zh-CN.d.ts +0 -2
- package/lib/locale/lang/zh-CN.js +0 -2
- package/lib/locale/lang/zh-HK.d.ts +0 -2
- package/lib/locale/lang/zh-HK.js +0 -2
- package/lib/locale/lang/zh-TW.d.ts +0 -2
- package/lib/locale/lang/zh-TW.js +0 -2
- package/lib/nav-bar/NavBar.d.ts +3 -3
- package/lib/nav-bar/NavBar.js +3 -3
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.d.ts +3 -3
- package/lib/nav-bar/index.less +11 -13
- package/lib/notice-bar/index.css +1 -1
- package/lib/notice-bar/index.less +11 -13
- package/lib/notify/index.css +1 -1
- package/lib/notify/index.less +13 -15
- package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +1 -1
- package/lib/number-keyboard/index.less +26 -22
- package/lib/overlay/index.css +1 -1
- package/lib/overlay/index.less +4 -6
- package/lib/pagination/index.css +1 -1
- package/lib/pagination/index.less +13 -15
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.less +20 -22
- package/lib/picker/Picker.d.ts +27 -28
- package/lib/picker/Picker.js +90 -195
- package/lib/picker/PickerColumn.d.ts +21 -30
- package/lib/picker/PickerColumn.js +60 -110
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +19 -20
- package/lib/picker/index.less +32 -19
- package/lib/picker/types.d.ts +13 -19
- package/lib/picker/utils.d.ts +11 -0
- package/lib/picker/utils.js +92 -0
- package/lib/popover/Popover.d.ts +1 -1
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.d.ts +1 -1
- package/lib/popover/index.less +21 -23
- package/lib/popup/Popup.d.ts +3 -3
- package/lib/popup/Popup.js +3 -3
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +3 -3
- package/lib/popup/index.less +20 -22
- package/lib/progress/index.css +1 -1
- package/lib/progress/index.less +14 -18
- package/lib/pull-refresh/index.css +1 -1
- package/lib/pull-refresh/index.less +5 -7
- package/lib/radio/index.css +1 -1
- package/lib/radio/index.less +12 -14
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.less +6 -8
- package/lib/search/Search.d.ts +4 -4
- package/lib/search/Search.js +7 -7
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +4 -4
- package/lib/search/index.less +16 -18
- package/lib/share-sheet/index.css +1 -1
- package/lib/share-sheet/index.less +17 -18
- package/lib/sidebar/index.css +1 -1
- package/lib/sidebar/index.less +2 -4
- package/lib/sidebar-item/index.css +1 -1
- package/lib/sidebar-item/index.less +17 -19
- package/lib/skeleton/index.css +1 -1
- package/lib/skeleton/index.less +14 -16
- package/lib/slider/Slider.d.ts +4 -4
- package/lib/slider/Slider.js +5 -6
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.d.ts +4 -4
- package/lib/slider/index.less +20 -18
- package/lib/step/index.css +1 -1
- package/lib/step/index.less +15 -17
- package/lib/stepper/Stepper.d.ts +1 -1
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +1 -1
- package/lib/stepper/index.less +20 -24
- package/lib/steps/Steps.d.ts +2 -2
- package/lib/steps/Steps.js +2 -2
- package/lib/steps/index.css +1 -1
- package/lib/steps/index.d.ts +2 -2
- package/lib/steps/index.less +3 -5
- package/lib/sticky/index.css +1 -1
- package/lib/sticky/index.less +2 -4
- package/lib/style/animation.css +1 -1
- package/lib/style/animation.less +18 -22
- package/lib/style/base.css +1 -1
- package/lib/style/base.less +6 -7
- package/lib/style/css-variables.css +1 -1
- package/lib/style/css-variables.less +76 -61
- package/lib/style/mixins/hairline.less +0 -2
- package/lib/style/normalize.css +1 -1
- package/lib/style/normalize.less +1 -3
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.less +26 -28
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.less +11 -13
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.less +24 -24
- package/lib/tabbar/index.css +1 -1
- package/lib/tabbar/index.less +5 -7
- package/lib/tabbar-item/index.css +1 -1
- package/lib/tabbar-item/index.less +9 -11
- package/lib/tabs/Tabs.d.ts +2 -4
- package/lib/tabs/Tabs.js +13 -26
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +2 -4
- package/lib/tabs/index.less +17 -20
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.less +22 -25
- package/lib/time-picker/TimePicker.d.ts +214 -0
- package/lib/time-picker/TimePicker.js +90 -0
- package/{es/datetime-picker/TimePicker.d.ts → lib/time-picker/index.d.ts} +60 -20
- package/lib/time-picker/index.js +30 -0
- package/lib/time-picker/style/index.d.ts +1 -0
- package/lib/time-picker/style/index.js +3 -0
- package/lib/time-picker/style/less.d.ts +1 -0
- package/lib/time-picker/style/less.js +3 -0
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.less +19 -21
- package/lib/tree-select/TreeSelect.d.ts +3 -3
- package/lib/tree-select/TreeSelect.js +3 -3
- package/lib/tree-select/index.css +1 -1
- package/lib/tree-select/index.d.ts +3 -3
- package/lib/tree-select/index.less +12 -14
- package/lib/uploader/Uploader.d.ts +4 -4
- package/lib/uploader/Uploader.js +4 -4
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.d.ts +4 -4
- package/lib/uploader/index.less +31 -33
- package/lib/utils/basic.d.ts +1 -0
- package/lib/utils/basic.js +2 -0
- package/lib/vant.cjs.js +1203 -1659
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +1203 -1660
- package/lib/vant.es.min.js +1203 -1660
- package/lib/vant.js +1202 -1658
- package/lib/vant.min.js +1 -1
- package/package.json +4 -1
- package/vetur/attributes.json +516 -468
- package/vetur/tags.json +176 -168
- package/vetur/web-types.json +1855 -1700
- package/es/action-bar/var.css +0 -0
- package/es/action-bar/var.less +0 -4
- package/es/action-bar-button/var.css +0 -0
- package/es/action-bar-button/var.less +0 -5
- package/es/action-bar-icon/var.css +0 -0
- package/es/action-bar-icon/var.less +0 -10
- package/es/action-sheet/var.css +0 -0
- package/es/action-sheet/var.less +0 -23
- package/es/address-edit/var.css +0 -0
- package/es/address-edit/var.less +0 -6
- package/es/address-list/var.css +0 -0
- package/es/address-list/var.less +0 -16
- package/es/badge/var.css +0 -0
- package/es/badge/var.less +0 -12
- package/es/button/var.css +0 -0
- package/es/button/var.less +0 -36
- package/es/calendar/var.css +0 -0
- package/es/calendar/var.less +0 -28
- package/es/card/var.css +0 -0
- package/es/card/var.less +0 -18
- package/es/cascader/var.css +0 -0
- package/es/cascader/var.less +0 -15
- package/es/cell/var.css +0 -0
- package/es/cell/var.less +0 -21
- package/es/cell-group/var.css +0 -0
- package/es/cell-group/var.less +0 -12
- package/es/checkbox/var.css +0 -0
- package/es/checkbox/var.less +0 -11
- package/es/circle/var.css +0 -0
- package/es/circle/var.less +0 -9
- package/es/collapse-item/var.css +0 -0
- package/es/collapse-item/var.less +0 -9
- package/es/contact-card/var.css +0 -0
- package/es/contact-card/var.less +0 -6
- package/es/contact-edit/var.css +0 -0
- package/es/contact-edit/var.less +0 -8
- package/es/contact-list/var.css +0 -0
- package/es/contact-list/var.less +0 -6
- package/es/count-down/var.css +0 -0
- package/es/count-down/var.less +0 -5
- package/es/coupon/var.css +0 -0
- package/es/coupon/var.less +0 -19
- package/es/coupon-cell/var.css +0 -0
- package/es/coupon-cell/var.less +0 -3
- package/es/coupon-list/var.css +0 -0
- package/es/coupon-list/var.less +0 -9
- package/es/datetime-picker/DatePicker.js +0 -250
- package/es/datetime-picker/DatetimePicker.d.ts +0 -7
- package/es/datetime-picker/DatetimePicker.js +0 -40
- package/es/datetime-picker/TimePicker.js +0 -117
- package/es/datetime-picker/index.d.ts +0 -12
- package/es/datetime-picker/index.js +0 -8
- package/es/datetime-picker/types.d.ts +0 -9
- package/es/datetime-picker/types.js +0 -0
- package/es/datetime-picker/utils.js +0 -63
- package/es/dialog/var.css +0 -0
- package/es/dialog/var.less +0 -21
- package/es/divider/var.css +0 -0
- package/es/divider/var.less +0 -10
- package/es/dropdown-item/var.css +0 -0
- package/es/dropdown-item/var.less +0 -3
- package/es/dropdown-menu/var.css +0 -0
- package/es/dropdown-menu/var.less +0 -13
- package/es/empty/var.css +0 -0
- package/es/empty/var.less +0 -10
- package/es/field/var.css +0 -0
- package/es/field/var.less +0 -21
- package/es/grid-item/var.css +0 -0
- package/es/grid-item/var.less +0 -8
- package/es/image/var.css +0 -0
- package/es/image/var.less +0 -9
- package/es/image-preview/var.css +0 -0
- package/es/image-preview/var.less +0 -11
- package/es/index-anchor/var.css +0 -0
- package/es/index-anchor/var.less +0 -11
- package/es/index-bar/var.css +0 -0
- package/es/index-bar/var.less +0 -6
- package/es/list/var.css +0 -0
- package/es/list/var.less +0 -6
- package/es/loading/var.css +0 -0
- package/es/loading/var.less +0 -7
- package/es/nav-bar/var.css +0 -0
- package/es/nav-bar/var.less +0 -10
- package/es/notice-bar/var.css +0 -0
- package/es/notice-bar/var.less +0 -11
- package/es/notify/var.css +0 -0
- package/es/notify/var.less +0 -10
- package/es/number-keyboard/var.css +0 -0
- package/es/number-keyboard/var.less +0 -17
- package/es/overlay/var.css +0 -0
- package/es/overlay/var.less +0 -4
- package/es/pagination/var.css +0 -0
- package/es/pagination/var.less +0 -11
- package/es/password-input/var.css +0 -0
- package/es/password-input/var.less +0 -17
- package/es/picker/var.css +0 -0
- package/es/picker/var.less +0 -22
- package/es/popover/var.css +0 -0
- package/es/popover/var.less +0 -15
- package/es/popup/var.css +0 -0
- package/es/popup/var.less +0 -9
- package/es/progress/var.css +0 -0
- package/es/progress/var.less +0 -11
- package/es/pull-refresh/var.css +0 -0
- package/es/pull-refresh/var.less +0 -6
- package/es/radio/var.css +0 -0
- package/es/radio/var.less +0 -11
- package/es/rate/var.css +0 -0
- package/es/rate/var.less +0 -7
- package/es/search/var.css +0 -0
- package/es/search/var.less +0 -13
- package/es/share-sheet/var.css +0 -0
- package/es/share-sheet/var.less +0 -18
- package/es/sidebar/var.css +0 -0
- package/es/sidebar/var.less +0 -3
- package/es/sidebar-item/var.css +0 -0
- package/es/sidebar-item/var.less +0 -15
- package/es/skeleton/var.css +0 -0
- package/es/skeleton/var.less +0 -9
- package/es/slider/var.css +0 -0
- package/es/slider/var.less +0 -11
- package/es/step/var.css +0 -0
- package/es/step/var.less +0 -13
- package/es/stepper/var.css +0 -0
- package/es/stepper/var.less +0 -15
- package/es/steps/var.css +0 -0
- package/es/steps/var.less +0 -3
- package/es/sticky/var.css +0 -0
- package/es/sticky/var.less +0 -3
- package/es/style/var.css +0 -0
- package/es/style/var.less +0 -74
- package/es/submit-bar/var.css +0 -0
- package/es/submit-bar/var.less +0 -22
- package/es/swipe/var.css +0 -0
- package/es/swipe/var.less +0 -8
- package/es/switch/var.css +0 -0
- package/es/switch/var.less +0 -14
- package/es/tabbar/var.css +0 -0
- package/es/tabbar/var.less +0 -5
- package/es/tabbar-item/var.css +0 -0
- package/es/tabbar-item/var.less +0 -9
- package/es/tabs/var.css +0 -0
- package/es/tabs/var.less +0 -14
- package/es/tag/var.css +0 -0
- package/es/tag/var.less +0 -18
- package/es/toast/var.css +0 -0
- package/es/toast/var.less +0 -17
- package/es/tree-select/var.css +0 -0
- package/es/tree-select/var.less +0 -10
- package/es/uploader/var.css +0 -0
- package/es/uploader/var.less +0 -27
- package/lib/action-bar/var.css +0 -0
- package/lib/action-bar/var.less +0 -4
- package/lib/action-bar-button/var.css +0 -0
- package/lib/action-bar-button/var.less +0 -5
- package/lib/action-bar-icon/var.css +0 -0
- package/lib/action-bar-icon/var.less +0 -10
- package/lib/action-sheet/var.css +0 -0
- package/lib/action-sheet/var.less +0 -23
- package/lib/address-edit/var.css +0 -0
- package/lib/address-edit/var.less +0 -6
- package/lib/address-list/var.css +0 -0
- package/lib/address-list/var.less +0 -16
- package/lib/badge/var.css +0 -0
- package/lib/badge/var.less +0 -12
- package/lib/button/var.css +0 -0
- package/lib/button/var.less +0 -36
- package/lib/calendar/var.css +0 -0
- package/lib/calendar/var.less +0 -28
- package/lib/card/var.css +0 -0
- package/lib/card/var.less +0 -18
- package/lib/cascader/var.css +0 -0
- package/lib/cascader/var.less +0 -15
- package/lib/cell/var.css +0 -0
- package/lib/cell/var.less +0 -21
- package/lib/cell-group/var.css +0 -0
- package/lib/cell-group/var.less +0 -12
- package/lib/checkbox/var.css +0 -0
- package/lib/checkbox/var.less +0 -11
- package/lib/circle/var.css +0 -0
- package/lib/circle/var.less +0 -9
- package/lib/collapse-item/var.css +0 -0
- package/lib/collapse-item/var.less +0 -9
- package/lib/contact-card/var.css +0 -0
- package/lib/contact-card/var.less +0 -6
- package/lib/contact-edit/var.css +0 -0
- package/lib/contact-edit/var.less +0 -8
- package/lib/contact-list/var.css +0 -0
- package/lib/contact-list/var.less +0 -6
- package/lib/count-down/var.css +0 -0
- package/lib/count-down/var.less +0 -5
- package/lib/coupon/var.css +0 -0
- package/lib/coupon/var.less +0 -19
- package/lib/coupon-cell/var.css +0 -0
- package/lib/coupon-cell/var.less +0 -3
- package/lib/coupon-list/var.css +0 -0
- package/lib/coupon-list/var.less +0 -9
- package/lib/datetime-picker/DatePicker.js +0 -269
- package/lib/datetime-picker/DatetimePicker.d.ts +0 -7
- package/lib/datetime-picker/DatetimePicker.js +0 -62
- package/lib/datetime-picker/TimePicker.js +0 -136
- package/lib/datetime-picker/index.d.ts +0 -12
- package/lib/datetime-picker/types.d.ts +0 -9
- package/lib/datetime-picker/types.js +0 -15
- package/lib/dialog/var.css +0 -0
- package/lib/dialog/var.less +0 -21
- package/lib/divider/var.css +0 -0
- package/lib/divider/var.less +0 -10
- package/lib/dropdown-item/var.css +0 -0
- package/lib/dropdown-item/var.less +0 -3
- package/lib/dropdown-menu/var.css +0 -0
- package/lib/dropdown-menu/var.less +0 -13
- package/lib/empty/var.css +0 -0
- package/lib/empty/var.less +0 -10
- package/lib/field/var.css +0 -0
- package/lib/field/var.less +0 -21
- package/lib/grid-item/var.css +0 -0
- package/lib/grid-item/var.less +0 -8
- package/lib/image/var.css +0 -0
- package/lib/image/var.less +0 -9
- package/lib/image-preview/var.css +0 -0
- package/lib/image-preview/var.less +0 -11
- package/lib/index-anchor/var.css +0 -0
- package/lib/index-anchor/var.less +0 -11
- package/lib/index-bar/var.css +0 -0
- package/lib/index-bar/var.less +0 -6
- package/lib/list/var.css +0 -0
- package/lib/list/var.less +0 -6
- package/lib/loading/var.css +0 -0
- package/lib/loading/var.less +0 -7
- package/lib/nav-bar/var.css +0 -0
- package/lib/nav-bar/var.less +0 -10
- package/lib/notice-bar/var.css +0 -0
- package/lib/notice-bar/var.less +0 -11
- package/lib/notify/var.css +0 -0
- package/lib/notify/var.less +0 -10
- package/lib/number-keyboard/var.css +0 -0
- package/lib/number-keyboard/var.less +0 -17
- package/lib/overlay/var.css +0 -0
- package/lib/overlay/var.less +0 -4
- package/lib/pagination/var.css +0 -0
- package/lib/pagination/var.less +0 -11
- package/lib/password-input/var.css +0 -0
- package/lib/password-input/var.less +0 -17
- package/lib/picker/var.css +0 -0
- package/lib/picker/var.less +0 -22
- package/lib/popover/var.css +0 -0
- package/lib/popover/var.less +0 -15
- package/lib/popup/var.css +0 -0
- package/lib/popup/var.less +0 -9
- package/lib/progress/var.css +0 -0
- package/lib/progress/var.less +0 -11
- package/lib/pull-refresh/var.css +0 -0
- package/lib/pull-refresh/var.less +0 -6
- package/lib/radio/var.css +0 -0
- package/lib/radio/var.less +0 -11
- package/lib/rate/var.css +0 -0
- package/lib/rate/var.less +0 -7
- package/lib/search/var.css +0 -0
- package/lib/search/var.less +0 -13
- package/lib/share-sheet/var.css +0 -0
- package/lib/share-sheet/var.less +0 -18
- package/lib/sidebar/var.css +0 -0
- package/lib/sidebar/var.less +0 -3
- package/lib/sidebar-item/var.css +0 -0
- package/lib/sidebar-item/var.less +0 -15
- package/lib/skeleton/var.css +0 -0
- package/lib/skeleton/var.less +0 -9
- package/lib/slider/var.css +0 -0
- package/lib/slider/var.less +0 -11
- package/lib/step/var.css +0 -0
- package/lib/step/var.less +0 -13
- package/lib/stepper/var.css +0 -0
- package/lib/stepper/var.less +0 -15
- package/lib/steps/var.css +0 -0
- package/lib/steps/var.less +0 -3
- package/lib/sticky/var.css +0 -0
- package/lib/sticky/var.less +0 -3
- package/lib/style/var.css +0 -0
- package/lib/style/var.less +0 -74
- package/lib/submit-bar/var.css +0 -0
- package/lib/submit-bar/var.less +0 -22
- package/lib/swipe/var.css +0 -0
- package/lib/swipe/var.less +0 -8
- package/lib/switch/var.css +0 -0
- package/lib/switch/var.less +0 -14
- package/lib/tabbar/var.css +0 -0
- package/lib/tabbar/var.less +0 -5
- package/lib/tabbar-item/var.css +0 -0
- package/lib/tabbar-item/var.less +0 -9
- package/lib/tabs/var.css +0 -0
- package/lib/tabs/var.less +0 -14
- package/lib/tag/var.css +0 -0
- package/lib/tag/var.less +0 -18
- package/lib/toast/var.css +0 -0
- package/lib/toast/var.less +0 -17
- package/lib/tree-select/var.css +0 -0
- package/lib/tree-select/var.less +0 -10
- package/lib/uploader/var.css +0 -0
- package/lib/uploader/var.less +0 -27
@@ -1,40 +0,0 @@
|
|
1
|
-
import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
|
2
|
-
import { ref, defineComponent } from "vue";
|
3
|
-
import { pick, extend, createNamespace } from "../utils";
|
4
|
-
import { useExpose } from "../composables/use-expose";
|
5
|
-
import TimePicker from "./TimePicker";
|
6
|
-
import DatePicker from "./DatePicker";
|
7
|
-
const [name, bem] = createNamespace("datetime-picker");
|
8
|
-
const timePickerPropKeys = Object.keys(TimePicker.props);
|
9
|
-
const datePickerPropKeys = Object.keys(DatePicker.props);
|
10
|
-
const datetimePickerProps = extend({}, TimePicker.props, DatePicker.props, {
|
11
|
-
modelValue: [String, Date]
|
12
|
-
});
|
13
|
-
var stdin_default = defineComponent({
|
14
|
-
name,
|
15
|
-
props: datetimePickerProps,
|
16
|
-
setup(props, {
|
17
|
-
attrs,
|
18
|
-
slots
|
19
|
-
}) {
|
20
|
-
const root = ref();
|
21
|
-
useExpose({
|
22
|
-
getPicker: () => {
|
23
|
-
var _a;
|
24
|
-
return (_a = root.value) == null ? void 0 : _a.getPicker();
|
25
|
-
}
|
26
|
-
});
|
27
|
-
return () => {
|
28
|
-
const isTimePicker = props.type === "time";
|
29
|
-
const Component = isTimePicker ? TimePicker : DatePicker;
|
30
|
-
const inheritProps = pick(props, isTimePicker ? timePickerPropKeys : datePickerPropKeys);
|
31
|
-
return _createVNode(Component, _mergeProps({
|
32
|
-
"ref": root,
|
33
|
-
"class": bem()
|
34
|
-
}, inheritProps, attrs), slots);
|
35
|
-
};
|
36
|
-
}
|
37
|
-
});
|
38
|
-
export {
|
39
|
-
stdin_default as default
|
40
|
-
};
|
@@ -1,117 +0,0 @@
|
|
1
|
-
import { createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
|
2
|
-
import { ref, watch, computed, nextTick, onMounted, defineComponent } from "vue";
|
3
|
-
import { pick, clamp, extend, padZero, createNamespace, makeNumericProp } from "../utils";
|
4
|
-
import { times, sharedProps, pickerInheritKeys, proxyPickerMethods } from "./utils";
|
5
|
-
import { useExpose } from "../composables/use-expose";
|
6
|
-
import { Picker } from "../picker";
|
7
|
-
const [name] = createNamespace("time-picker");
|
8
|
-
var stdin_default = defineComponent({
|
9
|
-
name,
|
10
|
-
props: extend({}, sharedProps, {
|
11
|
-
minHour: makeNumericProp(0),
|
12
|
-
maxHour: makeNumericProp(23),
|
13
|
-
minMinute: makeNumericProp(0),
|
14
|
-
maxMinute: makeNumericProp(59),
|
15
|
-
modelValue: String
|
16
|
-
}),
|
17
|
-
emits: ["confirm", "cancel", "change", "update:modelValue"],
|
18
|
-
setup(props, {
|
19
|
-
emit,
|
20
|
-
slots
|
21
|
-
}) {
|
22
|
-
const formatValue = (value) => {
|
23
|
-
const {
|
24
|
-
minHour,
|
25
|
-
maxHour,
|
26
|
-
maxMinute,
|
27
|
-
minMinute
|
28
|
-
} = props;
|
29
|
-
if (!value) {
|
30
|
-
value = `${padZero(minHour)}:${padZero(minMinute)}`;
|
31
|
-
}
|
32
|
-
let [hour, minute] = value.split(":");
|
33
|
-
hour = padZero(clamp(+hour, +minHour, +maxHour));
|
34
|
-
minute = padZero(clamp(+minute, +minMinute, +maxMinute));
|
35
|
-
return `${hour}:${minute}`;
|
36
|
-
};
|
37
|
-
const picker = ref();
|
38
|
-
const currentDate = ref(formatValue(props.modelValue));
|
39
|
-
const ranges = computed(() => [{
|
40
|
-
type: "hour",
|
41
|
-
range: [+props.minHour, +props.maxHour]
|
42
|
-
}, {
|
43
|
-
type: "minute",
|
44
|
-
range: [+props.minMinute, +props.maxMinute]
|
45
|
-
}]);
|
46
|
-
const originColumns = computed(() => ranges.value.map(({
|
47
|
-
type,
|
48
|
-
range: rangeArr
|
49
|
-
}) => {
|
50
|
-
let values = times(rangeArr[1] - rangeArr[0] + 1, (index) => padZero(rangeArr[0] + index));
|
51
|
-
if (props.filter) {
|
52
|
-
values = props.filter(type, values);
|
53
|
-
}
|
54
|
-
return {
|
55
|
-
type,
|
56
|
-
values
|
57
|
-
};
|
58
|
-
}));
|
59
|
-
const columns = computed(() => originColumns.value.map((column) => ({
|
60
|
-
values: column.values.map((value) => props.formatter(column.type, value))
|
61
|
-
})));
|
62
|
-
const updateColumnValue = () => {
|
63
|
-
const pair = currentDate.value.split(":");
|
64
|
-
const values = [props.formatter("hour", pair[0]), props.formatter("minute", pair[1])];
|
65
|
-
nextTick(() => {
|
66
|
-
var _a;
|
67
|
-
(_a = picker.value) == null ? void 0 : _a.setValues(values);
|
68
|
-
});
|
69
|
-
};
|
70
|
-
const updateInnerValue = () => {
|
71
|
-
const [hourIndex, minuteIndex] = picker.value.getIndexes();
|
72
|
-
const [hourColumn, minuteColumn] = originColumns.value;
|
73
|
-
const hour = hourColumn.values[hourIndex] || hourColumn.values[0];
|
74
|
-
const minute = minuteColumn.values[minuteIndex] || minuteColumn.values[0];
|
75
|
-
currentDate.value = formatValue(`${hour}:${minute}`);
|
76
|
-
updateColumnValue();
|
77
|
-
};
|
78
|
-
const onConfirm = () => emit("confirm", currentDate.value);
|
79
|
-
const onCancel = () => emit("cancel");
|
80
|
-
const onChange = () => {
|
81
|
-
updateInnerValue();
|
82
|
-
nextTick(() => {
|
83
|
-
nextTick(() => emit("change", currentDate.value));
|
84
|
-
});
|
85
|
-
};
|
86
|
-
onMounted(() => {
|
87
|
-
updateColumnValue();
|
88
|
-
nextTick(updateInnerValue);
|
89
|
-
});
|
90
|
-
watch(columns, updateColumnValue);
|
91
|
-
watch(() => [props.filter, props.maxHour, props.minMinute, props.maxMinute], updateInnerValue);
|
92
|
-
watch(() => props.minHour, () => {
|
93
|
-
nextTick(updateInnerValue);
|
94
|
-
});
|
95
|
-
watch(currentDate, (value) => emit("update:modelValue", value));
|
96
|
-
watch(() => props.modelValue, (value) => {
|
97
|
-
value = formatValue(value);
|
98
|
-
if (value !== currentDate.value) {
|
99
|
-
currentDate.value = value;
|
100
|
-
updateColumnValue();
|
101
|
-
}
|
102
|
-
});
|
103
|
-
useExpose({
|
104
|
-
getPicker: () => picker.value && proxyPickerMethods(picker.value, updateInnerValue)
|
105
|
-
});
|
106
|
-
return () => _createVNode(Picker, _mergeProps({
|
107
|
-
"ref": picker,
|
108
|
-
"columns": columns.value,
|
109
|
-
"onChange": onChange,
|
110
|
-
"onCancel": onCancel,
|
111
|
-
"onConfirm": onConfirm
|
112
|
-
}, pick(props, pickerInheritKeys)), slots);
|
113
|
-
}
|
114
|
-
});
|
115
|
-
export {
|
116
|
-
stdin_default as default
|
117
|
-
};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { DatetimePickerProps } from './DatetimePicker';
|
2
|
-
export declare const DatetimePicker: import("../utils").WithInstall<import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
3
|
-
[x: string]: any;
|
4
|
-
}>>;
|
5
|
-
export default DatetimePicker;
|
6
|
-
export type { DatetimePickerProps };
|
7
|
-
export type { DatetimePickerType, DatetimePickerInstance } from './types';
|
8
|
-
declare module 'vue' {
|
9
|
-
interface GlobalComponents {
|
10
|
-
VanDatetimePicker: typeof DatetimePicker;
|
11
|
-
}
|
12
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { ComponentPublicInstance } from 'vue';
|
2
|
-
import type { PickerInstance } from '../picker';
|
3
|
-
import { DatetimePickerProps } from './DatetimePicker';
|
4
|
-
export declare type DatetimePickerColumnType = 'year' | 'month' | 'day' | 'hour' | 'minute';
|
5
|
-
export declare type DatetimePickerType = 'date' | 'time' | 'datetime' | 'datehour' | 'month-day' | 'year-month';
|
6
|
-
export declare type DatetimePickerExpose = {
|
7
|
-
getPicker: () => PickerInstance;
|
8
|
-
};
|
9
|
-
export declare type DatetimePickerInstance = ComponentPublicInstance<DatetimePickerProps, DatetimePickerExpose>;
|
File without changes
|
@@ -1,63 +0,0 @@
|
|
1
|
-
import { extend } from "../utils";
|
2
|
-
import { pickerSharedProps } from "../picker/Picker";
|
3
|
-
const sharedProps = extend({}, pickerSharedProps, {
|
4
|
-
filter: Function,
|
5
|
-
columnsOrder: Array,
|
6
|
-
formatter: {
|
7
|
-
type: Function,
|
8
|
-
default: (type, value) => value
|
9
|
-
}
|
10
|
-
});
|
11
|
-
const pickerInheritKeys = Object.keys(pickerSharedProps);
|
12
|
-
function times(n, iteratee) {
|
13
|
-
if (n < 0) {
|
14
|
-
return [];
|
15
|
-
}
|
16
|
-
const result = Array(n);
|
17
|
-
let index = -1;
|
18
|
-
while (++index < n) {
|
19
|
-
result[index] = iteratee(index);
|
20
|
-
}
|
21
|
-
return result;
|
22
|
-
}
|
23
|
-
function getTrueValue(value) {
|
24
|
-
if (!value) {
|
25
|
-
return 0;
|
26
|
-
}
|
27
|
-
while (Number.isNaN(parseInt(value, 10))) {
|
28
|
-
if (value.length > 1) {
|
29
|
-
value = value.slice(1);
|
30
|
-
} else {
|
31
|
-
return 0;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
return parseInt(value, 10);
|
35
|
-
}
|
36
|
-
const getMonthEndDay = (year, month) => 32 - new Date(year, month - 1, 32).getDate();
|
37
|
-
const proxyPickerMethods = (picker, callback) => {
|
38
|
-
const methods = [
|
39
|
-
"setValues",
|
40
|
-
"setIndexes",
|
41
|
-
"setColumnIndex",
|
42
|
-
"setColumnValue"
|
43
|
-
];
|
44
|
-
return new Proxy(picker, {
|
45
|
-
get: (target, prop) => {
|
46
|
-
if (methods.includes(prop)) {
|
47
|
-
return (...args) => {
|
48
|
-
target[prop](...args);
|
49
|
-
callback();
|
50
|
-
};
|
51
|
-
}
|
52
|
-
return target[prop];
|
53
|
-
}
|
54
|
-
});
|
55
|
-
};
|
56
|
-
export {
|
57
|
-
getMonthEndDay,
|
58
|
-
getTrueValue,
|
59
|
-
pickerInheritKeys,
|
60
|
-
proxyPickerMethods,
|
61
|
-
sharedProps,
|
62
|
-
times
|
63
|
-
};
|
package/es/dialog/var.css
DELETED
File without changes
|
package/es/dialog/var.less
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@dialog-width: 320px;
|
4
|
-
@dialog-small-screen-width: 90%;
|
5
|
-
@dialog-font-size: var(--van-font-size-lg);
|
6
|
-
@dialog-transition: var(--van-animation-duration-base);
|
7
|
-
@dialog-border-radius: 16px;
|
8
|
-
@dialog-background-color: var(--van-background-color-light);
|
9
|
-
@dialog-header-font-weight: var(--van-font-weight-bold);
|
10
|
-
@dialog-header-line-height: 24px;
|
11
|
-
@dialog-header-padding-top: 26px;
|
12
|
-
@dialog-header-isolated-padding: var(--van-padding-lg) 0;
|
13
|
-
@dialog-message-padding: var(--van-padding-lg);
|
14
|
-
@dialog-message-font-size: var(--van-font-size-md);
|
15
|
-
@dialog-message-line-height: var(--van-line-height-md);
|
16
|
-
@dialog-message-max-height: 60vh;
|
17
|
-
@dialog-has-title-message-text-color: var(--van-gray-7);
|
18
|
-
@dialog-has-title-message-padding-top: var(--van-padding-xs);
|
19
|
-
@dialog-button-height: 48px;
|
20
|
-
@dialog-round-button-height: 36px;
|
21
|
-
@dialog-confirm-button-text-color: var(--van-danger-color);
|
package/es/divider/var.css
DELETED
File without changes
|
package/es/divider/var.less
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@divider-margin: var(--van-padding-md) 0;
|
4
|
-
@divider-text-color: var(--van-text-color-2);
|
5
|
-
@divider-font-size: var(--van-font-size-md);
|
6
|
-
@divider-line-height: 24px;
|
7
|
-
@divider-border-color: var(--van-border-color);
|
8
|
-
@divider-content-padding: var(--van-padding-md);
|
9
|
-
@divider-content-left-width: 10%;
|
10
|
-
@divider-content-right-width: 10%;
|
package/es/dropdown-item/var.css
DELETED
File without changes
|
package/es/dropdown-menu/var.css
DELETED
File without changes
|
@@ -1,13 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@dropdown-menu-height: 48px;
|
4
|
-
@dropdown-menu-background-color: var(--van-background-color-light);
|
5
|
-
@dropdown-menu-box-shadow: 0 2px 12px rgba(100, 101, 102, 0.12);
|
6
|
-
@dropdown-menu-title-font-size: 15px;
|
7
|
-
@dropdown-menu-title-text-color: var(--van-text-color);
|
8
|
-
@dropdown-menu-title-active-text-color: var(--van-danger-color);
|
9
|
-
@dropdown-menu-title-disabled-text-color: var(--van-text-color-2);
|
10
|
-
@dropdown-menu-title-padding: 0 var(--van-padding-xs);
|
11
|
-
@dropdown-menu-title-line-height: var(--van-line-height-lg);
|
12
|
-
@dropdown-menu-option-active-color: var(--van-danger-color);
|
13
|
-
@dropdown-menu-content-max-height: 80%;
|
package/es/empty/var.css
DELETED
File without changes
|
package/es/empty/var.less
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@empty-padding: var(--van-padding-xl) 0;
|
4
|
-
@empty-image-size: 160px;
|
5
|
-
@empty-description-margin-top: var(--van-padding-md);
|
6
|
-
@empty-description-padding: 0 60px;
|
7
|
-
@empty-description-color: var(--van-text-color-2);
|
8
|
-
@empty-description-font-size: var(--van-font-size-md);
|
9
|
-
@empty-description-line-height: var(--van-line-height-md);
|
10
|
-
@empty-bottom-margin-top: 24px;
|
package/es/field/var.css
DELETED
File without changes
|
package/es/field/var.less
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@field-label-width: 6.2em;
|
4
|
-
@field-label-color: var(--van-gray-7);
|
5
|
-
@field-label-margin-right: var(--van-padding-sm);
|
6
|
-
@field-input-text-color: var(--van-text-color);
|
7
|
-
@field-input-error-text-color: var(--van-danger-color);
|
8
|
-
@field-input-disabled-text-color: var(--van-text-color-3);
|
9
|
-
@field-placeholder-text-color: var(--van-text-color-3);
|
10
|
-
@field-icon-size: 16px;
|
11
|
-
@field-clear-icon-size: 16px;
|
12
|
-
@field-clear-icon-color: var(--van-gray-5);
|
13
|
-
@field-right-icon-color: var(--van-gray-6);
|
14
|
-
@field-error-message-color: var(--van-danger-color);
|
15
|
-
@field-error-message-font-size: 12px;
|
16
|
-
@field-text-area-min-height: 60px;
|
17
|
-
@field-word-limit-color: var(--van-gray-7);
|
18
|
-
@field-word-limit-font-size: var(--van-font-size-sm);
|
19
|
-
@field-word-limit-line-height: 16px;
|
20
|
-
@field-disabled-text-color: var(--van-text-color-3);
|
21
|
-
@field-required-mark-color: var(--van-red);
|
package/es/grid-item/var.css
DELETED
File without changes
|
package/es/grid-item/var.less
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@grid-item-content-padding: var(--van-padding-md) var(--van-padding-xs);
|
4
|
-
@grid-item-content-background-color: var(--van-background-color-light);
|
5
|
-
@grid-item-content-active-color: var(--van-active-color);
|
6
|
-
@grid-item-icon-size: 28px;
|
7
|
-
@grid-item-text-color: var(--van-gray-7);
|
8
|
-
@grid-item-text-font-size: var(--van-font-size-sm);
|
package/es/image/var.css
DELETED
File without changes
|
package/es/image/var.less
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@image-placeholder-text-color: var(--van-text-color-2);
|
4
|
-
@image-placeholder-font-size: var(--van-font-size-md);
|
5
|
-
@image-placeholder-background-color: var(--van-background-color);
|
6
|
-
@image-loading-icon-size: 32px;
|
7
|
-
@image-loading-icon-color: var(--van-gray-4);
|
8
|
-
@image-error-icon-size: 32px;
|
9
|
-
@image-error-icon-color: var(--van-gray-4);
|
package/es/image-preview/var.css
DELETED
File without changes
|
@@ -1,11 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@image-preview-index-text-color: var(--van-white);
|
4
|
-
@image-preview-index-font-size: var(--van-font-size-md);
|
5
|
-
@image-preview-index-line-height: var(--van-line-height-md);
|
6
|
-
@image-preview-index-text-shadow: 0 1px 1px var(--van-gray-8);
|
7
|
-
@image-preview-overlay-background-color: rgba(0, 0, 0, 0.9);
|
8
|
-
@image-preview-close-icon-size: 22px;
|
9
|
-
@image-preview-close-icon-color: var(--van-gray-5);
|
10
|
-
@image-preview-close-icon-margin: var(--van-padding-md);
|
11
|
-
@image-preview-close-icon-z-index: 1;
|
package/es/index-anchor/var.css
DELETED
File without changes
|
package/es/index-anchor/var.less
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@index-anchor-z-index: 1;
|
4
|
-
@index-anchor-padding: 0 var(--van-padding-md);
|
5
|
-
@index-anchor-text-color: var(--van-text-color);
|
6
|
-
@index-anchor-font-weight: var(--van-font-weight-bold);
|
7
|
-
@index-anchor-font-size: var(--van-font-size-md);
|
8
|
-
@index-anchor-line-height: 32px;
|
9
|
-
@index-anchor-background-color: transparent;
|
10
|
-
@index-anchor-sticky-text-color: var(--van-danger-color);
|
11
|
-
@index-anchor-sticky-background-color: var(--van-background-color-light);
|
package/es/index-bar/var.css
DELETED
File without changes
|
package/es/index-bar/var.less
DELETED
package/es/list/var.css
DELETED
File without changes
|
package/es/list/var.less
DELETED
package/es/loading/var.css
DELETED
File without changes
|
package/es/loading/var.less
DELETED
package/es/nav-bar/var.css
DELETED
File without changes
|
package/es/nav-bar/var.less
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@nav-bar-height: 46px;
|
4
|
-
@nav-bar-background-color: var(--van-background-color-light);
|
5
|
-
@nav-bar-arrow-size: 16px;
|
6
|
-
@nav-bar-icon-color: var(--van-primary-color);
|
7
|
-
@nav-bar-text-color: var(--van-primary-color);
|
8
|
-
@nav-bar-title-font-size: var(--van-font-size-lg);
|
9
|
-
@nav-bar-title-text-color: var(--van-text-color);
|
10
|
-
@nav-bar-z-index: 1;
|
package/es/notice-bar/var.css
DELETED
File without changes
|
package/es/notice-bar/var.less
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@notice-bar-height: 40px;
|
4
|
-
@notice-bar-padding: 0 var(--van-padding-md);
|
5
|
-
@notice-bar-wrapable-padding: var(--van-padding-xs) var(--van-padding-md);
|
6
|
-
@notice-bar-text-color: var(--van-orange-dark);
|
7
|
-
@notice-bar-font-size: var(--van-font-size-md);
|
8
|
-
@notice-bar-line-height: 24px;
|
9
|
-
@notice-bar-background-color: var(--van-orange-light);
|
10
|
-
@notice-bar-icon-size: 16px;
|
11
|
-
@notice-bar-icon-min-width: 24px;
|
package/es/notify/var.css
DELETED
File without changes
|
package/es/notify/var.less
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@notify-text-color: var(--van-white);
|
4
|
-
@notify-padding: var(--van-padding-xs) var(--van-padding-md);
|
5
|
-
@notify-font-size: var(--van-font-size-md);
|
6
|
-
@notify-line-height: var(--van-line-height-md);
|
7
|
-
@notify-primary-background-color: var(--van-primary-color);
|
8
|
-
@notify-success-background-color: var(--van-success-color);
|
9
|
-
@notify-danger-background-color: var(--van-danger-color);
|
10
|
-
@notify-warning-background-color: var(--van-warning-color);
|
File without changes
|
@@ -1,17 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@number-keyboard-background-color: var(--van-gray-2);
|
4
|
-
@number-keyboard-key-height: 48px;
|
5
|
-
@number-keyboard-key-font-size: 28px;
|
6
|
-
@number-keyboard-key-background-color: var(--van-background-color-light);
|
7
|
-
@number-keyboard-key-active-color: var(--van-gray-3);
|
8
|
-
@number-keyboard-delete-font-size: var(--van-font-size-lg);
|
9
|
-
@number-keyboard-title-color: var(--van-gray-7);
|
10
|
-
@number-keyboard-title-height: 34px;
|
11
|
-
@number-keyboard-title-font-size: var(--van-font-size-lg);
|
12
|
-
@number-keyboard-close-padding: 0 var(--van-padding-md);
|
13
|
-
@number-keyboard-close-color: var(--van-text-link-color);
|
14
|
-
@number-keyboard-close-font-size: var(--van-font-size-md);
|
15
|
-
@number-keyboard-button-text-color: var(--van-white);
|
16
|
-
@number-keyboard-button-background-color: var(--van-primary-color);
|
17
|
-
@number-keyboard-z-index: 100;
|
package/es/overlay/var.css
DELETED
File without changes
|
package/es/overlay/var.less
DELETED
package/es/pagination/var.css
DELETED
File without changes
|
package/es/pagination/var.less
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@pagination-height: 40px;
|
4
|
-
@pagination-font-size: var(--van-font-size-md);
|
5
|
-
@pagination-item-width: 36px;
|
6
|
-
@pagination-item-default-color: var(--van-primary-color);
|
7
|
-
@pagination-item-disabled-color: var(--van-gray-7);
|
8
|
-
@pagination-item-disabled-background-color: var(--van-background-color);
|
9
|
-
@pagination-background-color: var(--van-background-color-light);
|
10
|
-
@pagination-desc-color: var(--van-gray-7);
|
11
|
-
@pagination-disabled-opacity: var(--van-disabled-opacity);
|
File without changes
|
@@ -1,17 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@password-input-height: 50px;
|
4
|
-
@password-input-margin: 0 var(--van-padding-md);
|
5
|
-
@password-input-font-size: 20px;
|
6
|
-
@password-input-border-radius: 6px;
|
7
|
-
@password-input-background-color: var(--van-background-color-light);
|
8
|
-
@password-input-info-color: var(--van-text-color-2);
|
9
|
-
@password-input-info-font-size: var(--van-font-size-md);
|
10
|
-
@password-input-error-info-color: var(--van-danger-color);
|
11
|
-
@password-input-dot-size: 10px;
|
12
|
-
@password-input-dot-color: var(--van-text-color);
|
13
|
-
@password-input-text-color: var(--van-text-color);
|
14
|
-
@password-input-cursor-color: var(--van-text-color);
|
15
|
-
@password-input-cursor-width: 1px;
|
16
|
-
@password-input-cursor-height: 40%;
|
17
|
-
@password-input-cursor-animation-duration: 1s;
|
package/es/picker/var.css
DELETED
File without changes
|
package/es/picker/var.less
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@picker-background-color: var(--van-background-color-light);
|
4
|
-
@picker-toolbar-height: 44px;
|
5
|
-
@picker-title-font-size: var(--van-font-size-lg);
|
6
|
-
@picker-title-line-height: var(--van-line-height-md);
|
7
|
-
@picker-action-padding: 0 var(--van-padding-md);
|
8
|
-
@picker-action-font-size: var(--van-font-size-md);
|
9
|
-
@picker-confirm-action-color: var(--van-text-link-color);
|
10
|
-
@picker-cancel-action-color: var(--van-text-color-2);
|
11
|
-
@picker-option-padding: 0 var(--van-padding-base);
|
12
|
-
@picker-option-font-size: var(--van-font-size-lg);
|
13
|
-
@picker-option-text-color: var(--van-text-color);
|
14
|
-
@picker-option-disabled-opacity: 0.3;
|
15
|
-
@picker-mask-color: linear-gradient(
|
16
|
-
180deg,
|
17
|
-
rgba(255, 255, 255, 0.9),
|
18
|
-
rgba(255, 255, 255, 0.4)
|
19
|
-
),
|
20
|
-
linear-gradient(0deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
|
21
|
-
@picker-loading-icon-color: var(--van-primary-color);
|
22
|
-
@picker-loading-mask-color: rgba(255, 255, 255, 0.9);
|
package/es/popover/var.css
DELETED
File without changes
|
package/es/popover/var.less
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@popover-arrow-size: 6px;
|
4
|
-
@popover-border-radius: var(--van-border-radius-lg);
|
5
|
-
@popover-action-width: 128px;
|
6
|
-
@popover-action-height: 44px;
|
7
|
-
@popover-action-font-size: var(--van-font-size-md);
|
8
|
-
@popover-action-line-height: var(--van-line-height-md);
|
9
|
-
@popover-action-icon-size: 20px;
|
10
|
-
@popover-light-text-color: var(--van-text-color);
|
11
|
-
@popover-light-background-color: var(--van-background-color-light);
|
12
|
-
@popover-light-action-disabled-text-color: var(--van-text-color-3);
|
13
|
-
@popover-dark-text-color: var(--van-white);
|
14
|
-
@popover-dark-background-color: #4a4a4a;
|
15
|
-
@popover-dark-action-disabled-text-color: var(--van-text-color-2);
|
package/es/popup/var.css
DELETED
File without changes
|
package/es/popup/var.less
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@popup-background-color: var(--van-background-color-light);
|
4
|
-
@popup-transition: transform var(--van-animation-duration-base);
|
5
|
-
@popup-round-border-radius: 16px;
|
6
|
-
@popup-close-icon-size: 22px;
|
7
|
-
@popup-close-icon-color: var(--van-gray-5);
|
8
|
-
@popup-close-icon-margin: 16px;
|
9
|
-
@popup-close-icon-z-index: 1;
|
package/es/progress/var.css
DELETED
File without changes
|
package/es/progress/var.less
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
@import '../style/var.less';
|
2
|
-
|
3
|
-
@progress-height: 4px;
|
4
|
-
@progress-color: var(--van-primary-color);
|
5
|
-
@progress-inactive-color: var(--van-gray-5);
|
6
|
-
@progress-background-color: var(--van-gray-3);
|
7
|
-
@progress-pivot-padding: 0 5px;
|
8
|
-
@progress-pivot-text-color: var(--van-white);
|
9
|
-
@progress-pivot-font-size: var(--van-font-size-xs);
|
10
|
-
@progress-pivot-line-height: 1.6;
|
11
|
-
@progress-pivot-background-color: var(--van-primary-color);
|
package/es/pull-refresh/var.css
DELETED
File without changes
|
package/es/pull-refresh/var.less
DELETED
package/es/radio/var.css
DELETED
File without changes
|