vant 3.4.4 → 3.4.7
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 +81 -0
- package/es/address-list/AddressListItem.d.ts +3 -2
- package/es/address-list/AddressListItem.js +1 -1
- package/es/badge/Badge.d.ts +4 -3
- package/es/badge/index.d.ts +2 -2
- package/es/calendar/Calendar.d.ts +4 -0
- package/es/calendar/Calendar.js +3 -1
- package/es/calendar/index.d.ts +3 -0
- package/es/calendar/types.d.ts +2 -1
- package/es/cascader/types.d.ts +2 -1
- package/es/checkbox/Checker.d.ts +2 -1
- package/es/collapse/Collapse.d.ts +7 -6
- package/es/collapse/index.d.ts +3 -3
- package/es/collapse-item/CollapseItem.d.ts +13 -0
- package/es/collapse-item/CollapseItem.js +3 -2
- package/es/collapse-item/index.d.ts +9 -0
- package/es/composables/use-touch.js +1 -1
- package/es/config-provider/ConfigProvider.d.ts +4 -3
- package/es/config-provider/index.d.ts +2 -2
- package/es/contact-list/ContactList.d.ts +3 -2
- package/es/coupon/Coupon.d.ts +2 -1
- package/es/coupon-list/CouponList.d.ts +3 -13
- package/es/coupon-list/CouponList.js +9 -7
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.d.ts +2 -9
- package/es/coupon-list/index.less +4 -16
- package/es/coupon-list/style/index.js +1 -0
- package/es/coupon-list/style/less.js +1 -0
- package/es/coupon-list/var.less +0 -1
- package/es/datetime-picker/DatePicker.js +1 -2
- package/es/dialog/Dialog.d.ts +2 -1
- package/es/dialog/Dialog.js +19 -3
- package/es/dialog/function-call.d.ts +2 -1
- package/es/dialog/types.d.ts +2 -2
- package/es/dropdown-item/types.d.ts +2 -1
- package/es/index-bar/IndexBar.d.ts +5 -4
- package/es/index-bar/IndexBar.js +25 -4
- package/es/index-bar/index.d.ts +3 -3
- package/es/index-bar/types.d.ts +2 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/locale/lang/bn-BD.d.ts +64 -0
- package/es/locale/lang/bn-BD.js +74 -0
- package/es/locale/lang/de-DE-formal.js +1 -1
- package/es/locale/lang/de-DE.js +1 -1
- package/es/locale/lang/en-US.js +1 -1
- package/es/locale/lang/es-ES.js +1 -1
- package/es/locale/lang/fr-FR.js +1 -1
- package/es/locale/lang/hi-IN.js +1 -1
- package/es/locale/lang/id-ID.d.ts +64 -0
- package/es/locale/lang/id-ID.js +66 -0
- package/es/locale/lang/is-IS.d.ts +64 -0
- package/es/locale/lang/is-IS.js +74 -0
- package/es/locale/lang/it-IT.d.ts +64 -0
- package/es/locale/lang/it-IT.js +74 -0
- package/es/locale/lang/ja-JP.js +1 -1
- package/es/locale/lang/ko-KR.js +1 -1
- package/es/locale/lang/la-LA.d.ts +64 -0
- package/es/locale/lang/la-LA.js +66 -0
- package/es/locale/lang/nb-NO.js +1 -1
- package/es/locale/lang/pt-BR.js +1 -1
- package/es/locale/lang/ro-RO.js +1 -1
- package/es/locale/lang/ru-RU.js +1 -1
- package/es/locale/lang/sv-SE.d.ts +64 -0
- package/es/locale/lang/sv-SE.js +66 -0
- package/es/locale/lang/th-TH.js +1 -1
- package/es/locale/lang/uk-UA.d.ts +64 -0
- package/es/locale/lang/uk-UA.js +74 -0
- package/es/locale/lang/vi-VN.d.ts +64 -0
- package/es/locale/lang/vi-VN.js +74 -0
- package/es/locale/lang/zh-CN.js +1 -1
- package/es/locale/lang/zh-HK.js +1 -1
- package/es/locale/lang/zh-TW.js +1 -1
- package/es/nav-bar/NavBar.d.ts +1 -1
- package/es/nav-bar/NavBar.js +3 -3
- package/es/nav-bar/index.d.ts +1 -1
- package/es/notify/types.d.ts +2 -1
- package/es/number-keyboard/NumberKeyboard.js +10 -1
- package/es/picker/types.d.ts +3 -2
- package/es/popup/Popup.d.ts +6 -1
- package/es/popup/Popup.js +14 -3
- package/es/popup/index.d.ts +5 -1
- package/es/popup/types.d.ts +5 -2
- package/es/progress/Progress.d.ts +4 -3
- package/es/progress/index.d.ts +2 -2
- package/es/skeleton/Skeleton.d.ts +5 -4
- package/es/skeleton/Skeleton.js +6 -4
- package/es/skeleton/index.d.ts +3 -3
- package/es/style/base.css +1 -1
- package/es/style/base.less +5 -0
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.less +1 -0
- package/es/swipe-cell/SwipeCell.js +1 -1
- package/es/tabbar/Tabbar.d.ts +2 -2
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/Tabs.js +1 -0
- package/es/tabs/types.d.ts +5 -4
- package/es/toast/Toast.d.ts +3 -0
- package/es/toast/Toast.js +3 -1
- package/es/toast/types.d.ts +3 -2
- package/es/tree-select/TreeSelect.d.ts +7 -6
- package/es/tree-select/index.d.ts +3 -3
- package/es/uploader/Uploader.d.ts +4 -4
- package/es/uploader/Uploader.js +2 -2
- package/es/uploader/UploaderPreviewItem.d.ts +3 -3
- package/es/uploader/UploaderPreviewItem.js +9 -6
- package/es/uploader/index.d.ts +2 -2
- package/es/uploader/types.d.ts +6 -8
- package/es/utils/basic.d.ts +1 -0
- package/es/utils/format.d.ts +7 -6
- package/es/utils/format.js +6 -0
- package/es/utils/interceptor.d.ts +1 -1
- package/es/utils/validate.d.ts +2 -1
- package/lib/action-bar/ActionBar.js +14 -13
- package/lib/action-bar/index.js +14 -8
- package/lib/action-bar-button/ActionBarButton.js +18 -17
- package/lib/action-bar-button/index.js +14 -8
- package/lib/action-bar-icon/ActionBarIcon.js +18 -17
- package/lib/action-bar-icon/index.js +14 -8
- package/lib/action-sheet/ActionSheet.js +17 -16
- package/lib/action-sheet/index.js +14 -8
- package/lib/address-edit/AddressEdit.js +25 -19
- package/lib/address-edit/AddressEditDetail.js +15 -14
- package/lib/address-edit/index.js +14 -8
- package/lib/address-edit/types.js +18 -1
- package/lib/address-list/AddressList.js +18 -12
- package/lib/address-list/AddressListItem.d.ts +3 -2
- package/lib/address-list/AddressListItem.js +17 -16
- package/lib/address-list/index.js +14 -8
- package/lib/area/Area.js +17 -16
- package/lib/area/index.js +14 -8
- package/lib/area/types.js +18 -1
- package/lib/badge/Badge.d.ts +4 -3
- package/lib/badge/Badge.js +13 -12
- package/lib/badge/index.d.ts +2 -2
- package/lib/badge/index.js +14 -8
- package/lib/button/Button.js +16 -15
- package/lib/button/index.js +14 -8
- package/lib/button/types.js +18 -1
- package/lib/calendar/Calendar.d.ts +4 -0
- package/lib/calendar/Calendar.js +27 -19
- package/lib/calendar/CalendarDay.js +14 -13
- package/lib/calendar/CalendarHeader.js +14 -13
- package/lib/calendar/CalendarMonth.js +21 -15
- package/lib/calendar/index.d.ts +3 -0
- package/lib/calendar/index.js +14 -8
- package/lib/calendar/types.d.ts +2 -1
- package/lib/calendar/types.js +18 -1
- package/lib/calendar/utils.js +11 -10
- package/lib/card/Card.js +15 -14
- package/lib/card/index.js +14 -8
- package/lib/cascader/Cascader.js +16 -15
- package/lib/cascader/index.js +14 -8
- package/lib/cascader/types.d.ts +2 -1
- package/lib/cascader/types.js +18 -1
- package/lib/cell/Cell.js +15 -14
- package/lib/cell/index.js +14 -8
- package/lib/cell-group/CellGroup.js +13 -12
- package/lib/cell-group/index.js +14 -8
- package/lib/checkbox/Checkbox.js +19 -13
- package/lib/checkbox/Checker.d.ts +2 -1
- package/lib/checkbox/Checker.js +14 -13
- package/lib/checkbox/index.js +14 -8
- package/lib/checkbox/types.js +18 -1
- package/lib/checkbox-group/CheckboxGroup.js +15 -14
- package/lib/checkbox-group/index.js +14 -8
- package/lib/checkbox-group/types.js +18 -1
- package/lib/circle/Circle.js +14 -13
- package/lib/circle/index.js +14 -8
- package/lib/col/Col.js +15 -14
- package/lib/col/index.js +14 -8
- package/lib/collapse/Collapse.d.ts +7 -6
- package/lib/collapse/Collapse.js +14 -13
- package/lib/collapse/index.d.ts +3 -3
- package/lib/collapse/index.js +14 -8
- package/lib/collapse-item/CollapseItem.d.ts +13 -0
- package/lib/collapse-item/CollapseItem.js +22 -20
- package/lib/collapse-item/index.d.ts +9 -0
- package/lib/collapse-item/index.js +14 -8
- package/lib/collapse-item/types.js +18 -1
- package/lib/composables/on-popup-reopen.js +11 -10
- package/lib/composables/use-expose.js +12 -11
- package/lib/composables/use-height.js +12 -11
- package/lib/composables/use-id.js +11 -10
- package/lib/composables/use-lazy-render.js +11 -10
- package/lib/composables/use-lock-scroll.js +14 -13
- package/lib/composables/use-placeholder.js +12 -11
- package/lib/composables/use-refs.js +11 -10
- package/lib/composables/use-route.js +11 -10
- package/lib/composables/use-tab-status.js +11 -10
- package/lib/composables/use-touch.js +12 -11
- package/lib/composables/use-visibility-change.js +13 -12
- package/lib/config-provider/ConfigProvider.d.ts +4 -3
- package/lib/config-provider/ConfigProvider.js +13 -12
- package/lib/config-provider/index.d.ts +2 -2
- package/lib/config-provider/index.js +14 -8
- package/lib/contact-card/ContactCard.js +14 -13
- package/lib/contact-card/index.js +14 -8
- package/lib/contact-edit/ContactEdit.js +18 -17
- package/lib/contact-edit/index.js +14 -8
- package/lib/contact-list/ContactList.d.ts +3 -2
- package/lib/contact-list/ContactList.js +19 -18
- package/lib/contact-list/index.js +14 -8
- package/lib/count-down/CountDown.js +16 -15
- package/lib/count-down/index.js +14 -8
- package/lib/count-down/types.js +18 -1
- package/lib/count-down/utils.js +11 -10
- package/lib/coupon/Coupon.d.ts +2 -1
- package/lib/coupon/Coupon.js +15 -14
- package/lib/coupon/index.js +14 -8
- package/lib/coupon/utils.js +11 -10
- package/lib/coupon-cell/CouponCell.js +14 -13
- package/lib/coupon-cell/index.js +14 -8
- package/lib/coupon-list/CouponList.d.ts +3 -13
- package/lib/coupon-list/CouponList.js +29 -26
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.d.ts +2 -9
- package/lib/coupon-list/index.js +14 -8
- package/lib/coupon-list/index.less +4 -16
- package/lib/coupon-list/style/index.js +1 -0
- package/lib/coupon-list/style/less.js +1 -0
- package/lib/coupon-list/var.less +0 -1
- package/lib/datetime-picker/DatePicker.js +17 -17
- package/lib/datetime-picker/DatetimePicker.js +18 -12
- package/lib/datetime-picker/TimePicker.js +16 -15
- package/lib/datetime-picker/index.js +14 -8
- package/lib/datetime-picker/types.js +18 -1
- package/lib/datetime-picker/utils.js +12 -11
- package/lib/dialog/Dialog.d.ts +2 -1
- package/lib/dialog/Dialog.js +35 -18
- package/lib/dialog/function-call.d.ts +2 -1
- package/lib/dialog/function-call.js +16 -10
- package/lib/dialog/index.js +11 -10
- package/lib/dialog/types.d.ts +2 -2
- package/lib/dialog/types.js +18 -1
- package/lib/divider/Divider.js +13 -12
- package/lib/divider/index.js +14 -8
- package/lib/dropdown-item/DropdownItem.js +19 -18
- package/lib/dropdown-item/index.js +14 -8
- package/lib/dropdown-item/types.d.ts +2 -1
- package/lib/dropdown-item/types.js +18 -1
- package/lib/dropdown-menu/DropdownMenu.js +15 -14
- package/lib/dropdown-menu/index.js +14 -8
- package/lib/dropdown-menu/types.js +18 -1
- package/lib/empty/Empty.js +14 -13
- package/lib/empty/Network.js +11 -10
- package/lib/empty/index.js +14 -8
- package/lib/field/Field.js +20 -19
- package/lib/field/index.js +14 -8
- package/lib/field/types.js +18 -1
- package/lib/field/utils.js +11 -10
- package/lib/form/Form.js +15 -14
- package/lib/form/index.js +14 -8
- package/lib/form/types.js +18 -1
- package/lib/grid/Grid.js +15 -14
- package/lib/grid/index.js +14 -8
- package/lib/grid-item/GridItem.js +18 -17
- package/lib/grid-item/index.js +14 -8
- package/lib/icon/Icon.js +15 -14
- package/lib/icon/index.js +14 -8
- package/lib/image/Image.js +14 -13
- package/lib/image/index.js +14 -8
- package/lib/image-preview/ImagePreview.js +21 -15
- package/lib/image-preview/ImagePreviewItem.js +17 -16
- package/lib/image-preview/function-call.js +16 -10
- package/lib/image-preview/index.js +11 -10
- package/lib/image-preview/types.js +18 -1
- package/lib/index-anchor/IndexAnchor.js +17 -16
- package/lib/index-anchor/index.js +14 -8
- package/lib/index-bar/IndexBar.d.ts +5 -4
- package/lib/index-bar/IndexBar.js +41 -19
- package/lib/index-bar/index.d.ts +3 -3
- package/lib/index-bar/index.js +14 -8
- package/lib/index-bar/types.d.ts +2 -1
- package/lib/index-bar/types.js +18 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +182 -181
- package/lib/index.less +2 -2
- package/lib/lazyload/index.js +11 -10
- package/lib/lazyload/vue-lazyload/index.js +16 -10
- package/lib/lazyload/vue-lazyload/lazy-component.js +12 -11
- package/lib/lazyload/vue-lazyload/lazy-container.js +11 -10
- package/lib/lazyload/vue-lazyload/lazy-image.js +13 -12
- package/lib/lazyload/vue-lazyload/lazy.js +17 -11
- package/lib/lazyload/vue-lazyload/listener.js +13 -12
- package/lib/lazyload/vue-lazyload/util.js +11 -10
- package/lib/list/List.js +17 -16
- package/lib/list/index.js +14 -8
- package/lib/list/types.js +18 -1
- package/lib/loading/Loading.js +13 -12
- package/lib/loading/index.js +14 -8
- package/lib/locale/index.js +15 -9
- package/lib/locale/lang/bn-BD.d.ts +64 -0
- package/lib/locale/lang/bn-BD.js +98 -0
- package/lib/locale/lang/de-DE-formal.js +20 -3
- package/lib/locale/lang/de-DE.js +20 -3
- package/lib/locale/lang/en-US.js +20 -3
- package/lib/locale/lang/es-ES.js +20 -3
- package/lib/locale/lang/fr-FR.js +20 -3
- package/lib/locale/lang/hi-IN.js +20 -3
- package/lib/locale/lang/id-ID.d.ts +64 -0
- package/lib/locale/lang/id-ID.js +90 -0
- package/lib/locale/lang/is-IS.d.ts +64 -0
- package/lib/locale/lang/is-IS.js +98 -0
- package/lib/locale/lang/it-IT.d.ts +64 -0
- package/lib/locale/lang/it-IT.js +98 -0
- package/lib/locale/lang/ja-JP.js +20 -3
- package/lib/locale/lang/ko-KR.js +20 -3
- package/lib/locale/lang/la-LA.d.ts +64 -0
- package/lib/locale/lang/la-LA.js +90 -0
- package/lib/locale/lang/nb-NO.js +20 -3
- package/lib/locale/lang/pt-BR.js +20 -3
- package/lib/locale/lang/ro-RO.js +20 -3
- package/lib/locale/lang/ru-RU.js +20 -3
- package/lib/locale/lang/sv-SE.d.ts +64 -0
- package/lib/locale/lang/sv-SE.js +90 -0
- package/lib/locale/lang/th-TH.js +20 -3
- package/lib/locale/lang/tr-TR.js +19 -2
- package/lib/locale/lang/uk-UA.d.ts +64 -0
- package/lib/locale/lang/uk-UA.js +98 -0
- package/lib/locale/lang/vi-VN.d.ts +64 -0
- package/lib/locale/lang/vi-VN.js +98 -0
- package/lib/locale/lang/zh-CN.js +20 -3
- package/lib/locale/lang/zh-HK.js +20 -3
- package/lib/locale/lang/zh-TW.js +20 -3
- package/lib/nav-bar/NavBar.d.ts +1 -1
- package/lib/nav-bar/NavBar.js +18 -17
- package/lib/nav-bar/index.d.ts +1 -1
- package/lib/nav-bar/index.js +14 -8
- package/lib/notice-bar/NoticeBar.js +17 -16
- package/lib/notice-bar/index.js +14 -8
- package/lib/notice-bar/types.js +18 -1
- package/lib/notify/Notify.js +15 -14
- package/lib/notify/function-call.js +16 -10
- package/lib/notify/index.js +11 -10
- package/lib/notify/types.d.ts +2 -1
- package/lib/notify/types.js +18 -1
- package/lib/number-keyboard/NumberKeyboard.js +27 -12
- package/lib/number-keyboard/NumberKeyboardKey.js +15 -14
- package/lib/number-keyboard/index.js +14 -8
- package/lib/overlay/Overlay.js +14 -13
- package/lib/overlay/index.js +14 -8
- package/lib/pagination/Pagination.js +13 -12
- package/lib/pagination/index.js +14 -8
- package/lib/password-input/PasswordInput.js +13 -12
- package/lib/password-input/index.js +14 -8
- package/lib/picker/Picker.js +19 -13
- package/lib/picker/PickerColumn.js +17 -16
- package/lib/picker/index.js +14 -8
- package/lib/picker/types.d.ts +3 -2
- package/lib/picker/types.js +18 -1
- package/lib/popover/Popover.js +17 -16
- package/lib/popover/index.js +14 -8
- package/lib/popover/types.js +18 -1
- package/lib/popup/Popup.d.ts +6 -1
- package/lib/popup/Popup.js +34 -22
- package/lib/popup/index.d.ts +5 -1
- package/lib/popup/index.js +14 -8
- package/lib/popup/shared.js +11 -10
- package/lib/popup/types.d.ts +5 -2
- package/lib/popup/types.js +18 -1
- package/lib/progress/Progress.d.ts +4 -3
- package/lib/progress/Progress.js +13 -12
- package/lib/progress/index.d.ts +2 -2
- package/lib/progress/index.js +14 -8
- package/lib/progress/types.js +18 -1
- package/lib/pull-refresh/PullRefresh.js +16 -15
- package/lib/pull-refresh/index.js +14 -8
- package/lib/radio/Radio.js +18 -12
- package/lib/radio/index.js +14 -8
- package/lib/radio-group/RadioGroup.js +14 -13
- package/lib/radio-group/index.js +14 -8
- package/lib/rate/Rate.js +17 -16
- package/lib/rate/index.js +14 -8
- package/lib/row/Row.js +14 -13
- package/lib/row/index.js +14 -8
- package/lib/search/Search.js +17 -16
- package/lib/search/index.js +14 -8
- package/lib/search/types.js +18 -1
- package/lib/share-sheet/ShareSheet.js +15 -14
- package/lib/share-sheet/index.js +14 -8
- package/lib/sidebar/Sidebar.js +14 -13
- package/lib/sidebar/index.js +14 -8
- package/lib/sidebar-item/SidebarItem.js +17 -16
- package/lib/sidebar-item/index.js +14 -8
- package/lib/skeleton/Skeleton.d.ts +5 -4
- package/lib/skeleton/Skeleton.js +18 -15
- package/lib/skeleton/index.d.ts +3 -3
- package/lib/skeleton/index.js +14 -8
- package/lib/slider/Slider.js +15 -14
- package/lib/slider/index.js +14 -8
- package/lib/step/Step.js +16 -15
- package/lib/step/index.js +14 -8
- package/lib/stepper/Stepper.js +14 -13
- package/lib/stepper/index.js +14 -8
- package/lib/steps/Steps.js +14 -13
- package/lib/steps/index.js +14 -8
- package/lib/sticky/Sticky.js +15 -14
- package/lib/sticky/index.js +14 -8
- package/lib/style/base.css +1 -1
- package/lib/style/base.less +5 -0
- package/lib/submit-bar/SubmitBar.js +15 -14
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.js +14 -8
- package/lib/submit-bar/index.less +1 -0
- package/lib/swipe/Swipe.js +17 -16
- package/lib/swipe/index.js +14 -8
- package/lib/swipe/types.js +18 -1
- package/lib/swipe-cell/SwipeCell.js +17 -16
- package/lib/swipe-cell/index.js +14 -8
- package/lib/swipe-cell/types.js +18 -1
- package/lib/swipe-item/SwipeItem.js +16 -15
- package/lib/swipe-item/index.js +14 -8
- package/lib/switch/Switch.js +15 -14
- package/lib/switch/index.js +14 -8
- package/lib/tab/Tab.js +20 -19
- package/lib/tab/index.js +14 -8
- package/lib/tabbar/Tabbar.d.ts +2 -2
- package/lib/tabbar/Tabbar.js +15 -14
- package/lib/tabbar/index.js +14 -8
- package/lib/tabbar-item/TabbarItem.js +18 -17
- package/lib/tabbar-item/index.js +14 -8
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/Tabs.js +26 -19
- package/lib/tabs/TabsContent.js +14 -13
- package/lib/tabs/TabsTitle.js +14 -13
- package/lib/tabs/index.js +14 -8
- package/lib/tabs/types.d.ts +5 -4
- package/lib/tabs/types.js +18 -1
- package/lib/tabs/utils.js +12 -11
- package/lib/tag/Tag.js +14 -13
- package/lib/tag/index.js +14 -8
- package/lib/toast/Toast.d.ts +3 -0
- package/lib/toast/Toast.js +20 -17
- package/lib/toast/function-call.js +17 -11
- package/lib/toast/index.js +11 -10
- package/lib/toast/lock-click.js +19 -2
- package/lib/toast/types.d.ts +3 -2
- package/lib/toast/types.js +18 -1
- package/lib/tree-select/TreeSelect.d.ts +7 -6
- package/lib/tree-select/TreeSelect.js +16 -15
- package/lib/tree-select/index.d.ts +3 -3
- package/lib/tree-select/index.js +14 -8
- package/lib/uploader/Uploader.d.ts +4 -4
- package/lib/uploader/Uploader.js +22 -16
- package/lib/uploader/UploaderPreviewItem.d.ts +3 -3
- package/lib/uploader/UploaderPreviewItem.js +26 -22
- package/lib/uploader/index.d.ts +2 -2
- package/lib/uploader/index.js +14 -8
- package/lib/uploader/types.d.ts +6 -8
- package/lib/uploader/types.js +18 -1
- package/lib/uploader/utils.js +11 -10
- package/lib/utils/basic.d.ts +1 -0
- package/lib/utils/basic.js +19 -2
- package/lib/utils/constant.js +19 -2
- package/lib/utils/create.js +16 -10
- package/lib/utils/deep-assign.js +11 -10
- package/lib/utils/deep-clone.js +11 -10
- package/lib/utils/dom.js +13 -12
- package/lib/utils/format.d.ts +7 -6
- package/lib/utils/format.js +19 -12
- package/lib/utils/index.js +18 -17
- package/lib/utils/interceptor.d.ts +1 -1
- package/lib/utils/interceptor.js +12 -11
- package/lib/utils/mount-component.js +13 -12
- package/lib/utils/props.js +19 -2
- package/lib/utils/validate.d.ts +2 -1
- package/lib/utils/validate.js +11 -10
- package/lib/utils/with-install.js +11 -10
- package/lib/vant.cjs.js +317 -243
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +318 -244
- package/lib/vant.es.min.js +318 -244
- package/lib/vant.js +320 -246
- package/lib/vant.min.js +1 -1
- package/package.json +2 -2
- package/vetur/attributes.json +631 -616
- package/vetur/tags.json +220 -217
- package/vetur/web-types.json +2358 -2326
@@ -5,7 +5,6 @@
|
|
5
5
|
--van-coupon-list-field-padding: @coupon-list-field-padding;
|
6
6
|
--van-coupon-list-exchange-button-height: @coupon-list-exchange-button-height;
|
7
7
|
--van-coupon-list-close-button-height: @coupon-list-close-button-height;
|
8
|
-
--van-coupon-list-empty-image-size: @coupon-list-empty-image-size;
|
9
8
|
--van-coupon-list-empty-tip-color: @coupon-list-empty-tip-color;
|
10
9
|
--van-coupon-list-empty-tip-font-size: @coupon-list-empty-tip-font-size;
|
11
10
|
--van-coupon-list-empty-tip-line-height: @coupon-list-empty-tip-line-height;
|
@@ -81,20 +80,9 @@
|
|
81
80
|
height: var(--van-coupon-list-close-button-height);
|
82
81
|
}
|
83
82
|
|
84
|
-
&__empty {
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
p {
|
89
|
-
margin: var(--van-padding-md) 0;
|
90
|
-
color: var(--van-coupon-list-empty-tip-color);
|
91
|
-
font-size: var(--van-coupon-list-empty-tip-font-size);
|
92
|
-
line-height: var(--van-coupon-list-empty-tip-line-height);
|
93
|
-
}
|
94
|
-
|
95
|
-
img {
|
96
|
-
width: var(--van-coupon-list-empty-image-size);
|
97
|
-
height: var(--van-coupon-list-empty-image-size);
|
98
|
-
}
|
83
|
+
&__empty-tip {
|
84
|
+
color: var(--van-coupon-list-empty-tip-color);
|
85
|
+
font-size: var(--van-coupon-list-empty-tip-font-size);
|
86
|
+
line-height: var(--van-coupon-list-empty-tip-line-height);
|
99
87
|
}
|
100
88
|
}
|
package/es/coupon-list/var.less
CHANGED
@@ -4,7 +4,6 @@
|
|
4
4
|
@coupon-list-field-padding: 5px 0 5px var(--van-padding-md);
|
5
5
|
@coupon-list-exchange-button-height: 32px;
|
6
6
|
@coupon-list-close-button-height: 40px;
|
7
|
-
@coupon-list-empty-image-size: 200px;
|
8
7
|
@coupon-list-empty-tip-color: var(--van-text-color-2);
|
9
8
|
@coupon-list-empty-tip-font-size: var(--van-font-size-md);
|
10
9
|
@coupon-list-empty-tip-line-height: var(--van-line-height-md);
|
@@ -222,8 +222,7 @@ var stdin_default = defineComponent({
|
|
222
222
|
});
|
223
223
|
watch(columns, updateColumnValue);
|
224
224
|
watch(currentDate, (value, oldValue) => emit("update:modelValue", oldValue ? value : null));
|
225
|
-
watch(() => [props.filter, props.maxDate],
|
226
|
-
watch(() => props.minDate, () => {
|
225
|
+
watch(() => [props.filter, props.minDate, props.maxDate], () => {
|
227
226
|
nextTick(updateInnerValue);
|
228
227
|
});
|
229
228
|
watch(() => props.modelValue, (value) => {
|
package/es/dialog/Dialog.d.ts
CHANGED
@@ -106,7 +106,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
106
106
|
default: true;
|
107
107
|
};
|
108
108
|
closeOnClickOverlay: BooleanConstructor;
|
109
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:show" | "cancel" | "confirm")[], "update:show" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
109
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("keydown" | "update:show" | "cancel" | "confirm")[], "keydown" | "update:show" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
110
110
|
show: BooleanConstructor;
|
111
111
|
zIndex: (NumberConstructor | StringConstructor)[];
|
112
112
|
overlay: {
|
@@ -159,6 +159,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
159
159
|
};
|
160
160
|
closeOnClickOverlay: BooleanConstructor;
|
161
161
|
}>> & {
|
162
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
162
163
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
163
164
|
onCancel?: ((...args: any[]) => any) | undefined;
|
164
165
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
package/es/dialog/Dialog.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
|
2
|
-
import { reactive, defineComponent } from "vue";
|
3
|
-
import { pick, extend, addUnit, truthProp, isFunction, BORDER_TOP, BORDER_LEFT, unknownProp, numericProp, makeStringProp, callInterceptor, createNamespace } from "../utils";
|
2
|
+
import { ref, reactive, withKeys, defineComponent } from "vue";
|
3
|
+
import { noop, pick, extend, addUnit, truthProp, isFunction, BORDER_TOP, BORDER_LEFT, unknownProp, numericProp, makeStringProp, callInterceptor, createNamespace } from "../utils";
|
4
4
|
import { popupSharedProps, popupSharedPropKeys } from "../popup/shared";
|
5
5
|
import { Popup } from "../popup";
|
6
6
|
import { Button } from "../button";
|
@@ -30,11 +30,12 @@ const popupInheritKeys = [...popupSharedPropKeys, "transition", "closeOnPopstate
|
|
30
30
|
var stdin_default = defineComponent({
|
31
31
|
name,
|
32
32
|
props: dialogProps,
|
33
|
-
emits: ["confirm", "cancel", "update:show"],
|
33
|
+
emits: ["confirm", "cancel", "keydown", "update:show"],
|
34
34
|
setup(props, {
|
35
35
|
emit,
|
36
36
|
slots
|
37
37
|
}) {
|
38
|
+
const root = ref();
|
38
39
|
const loading = reactive({
|
39
40
|
confirm: false,
|
40
41
|
cancel: false
|
@@ -68,6 +69,18 @@ var stdin_default = defineComponent({
|
|
68
69
|
};
|
69
70
|
const onCancel = getActionHandler("cancel");
|
70
71
|
const onConfirm = getActionHandler("confirm");
|
72
|
+
const onKeydown = withKeys((event) => {
|
73
|
+
var _a, _b;
|
74
|
+
if (event.target !== ((_b = (_a = root.value) == null ? void 0 : _a.popupRef) == null ? void 0 : _b.value)) {
|
75
|
+
return;
|
76
|
+
}
|
77
|
+
const onEventType = {
|
78
|
+
Enter: props.showConfirmButton ? onConfirm : noop,
|
79
|
+
Escape: props.showCancelButton ? onCancel : noop
|
80
|
+
};
|
81
|
+
onEventType[event.key]();
|
82
|
+
emit("keydown", event);
|
83
|
+
}, ["enter", "esc"]);
|
71
84
|
const renderTitle = () => {
|
72
85
|
const title = slots.title ? slots.title() : props.title;
|
73
86
|
if (title) {
|
@@ -177,12 +190,15 @@ var stdin_default = defineComponent({
|
|
177
190
|
className
|
178
191
|
} = props;
|
179
192
|
return _createVNode(Popup, _mergeProps({
|
193
|
+
"ref": root,
|
180
194
|
"role": "dialog",
|
181
195
|
"class": [bem([theme]), className],
|
182
196
|
"style": {
|
183
197
|
width: addUnit(width)
|
184
198
|
},
|
199
|
+
"tabindex": 0,
|
185
200
|
"aria-labelledby": title || message,
|
201
|
+
"onKeydown": onKeydown,
|
186
202
|
"onUpdate:show": updateShow
|
187
203
|
}, pick(props, popupInheritKeys)), {
|
188
204
|
default: () => [renderTitle(), renderContent(), renderFooter()]
|
@@ -109,7 +109,7 @@ declare namespace Dialog {
|
|
109
109
|
default: true;
|
110
110
|
};
|
111
111
|
closeOnClickOverlay: BooleanConstructor;
|
112
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:show" | "cancel" | "confirm")[], "update:show" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
112
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("keydown" | "update:show" | "cancel" | "confirm")[], "keydown" | "update:show" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
113
113
|
show: BooleanConstructor;
|
114
114
|
zIndex: (NumberConstructor | StringConstructor)[];
|
115
115
|
overlay: {
|
@@ -162,6 +162,7 @@ declare namespace Dialog {
|
|
162
162
|
};
|
163
163
|
closeOnClickOverlay: BooleanConstructor;
|
164
164
|
}>> & {
|
165
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
165
166
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
166
167
|
onCancel?: ((...args: any[]) => any) | undefined;
|
167
168
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
package/es/dialog/types.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import { Dialog } from './function-call';
|
2
2
|
import type { CSSProperties, TeleportProps } from 'vue';
|
3
|
-
import type { Interceptor } from '../utils';
|
3
|
+
import type { Interceptor, Numeric } from '../utils';
|
4
4
|
export declare type DialogTheme = 'default' | 'round-button';
|
5
5
|
export declare type DialogAction = 'confirm' | 'cancel';
|
6
6
|
export declare type DialogMessage = string | (() => JSX.Element);
|
7
7
|
export declare type DialogMessageAlign = 'left' | 'center' | 'right';
|
8
8
|
export declare type DialogOptions = {
|
9
9
|
title?: string;
|
10
|
-
width?:
|
10
|
+
width?: Numeric;
|
11
11
|
theme?: DialogTheme;
|
12
12
|
message?: DialogMessage;
|
13
13
|
overlay?: boolean;
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import type { DropdownItemProps } from './DropdownItem';
|
2
2
|
import type { VNode, ComponentPublicInstance } from 'vue';
|
3
|
+
import type { Numeric } from '../utils';
|
3
4
|
export declare type DropdownItemOption = {
|
4
5
|
text: string;
|
5
6
|
icon?: string;
|
6
|
-
value:
|
7
|
+
value: Numeric;
|
7
8
|
};
|
8
9
|
export declare type DropdownItemExpose = {
|
9
10
|
toggle: (show?: boolean, options?: {
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
|
2
|
+
import { type Numeric } from '../utils';
|
2
3
|
import { IndexBarProvide } from './types';
|
3
4
|
declare function genAlphabet(): string[];
|
4
5
|
declare const indexBarProps: {
|
@@ -14,7 +15,7 @@ declare const indexBarProps: {
|
|
14
15
|
default: number;
|
15
16
|
};
|
16
17
|
indexList: {
|
17
|
-
type: PropType<
|
18
|
+
type: PropType<Numeric[]>;
|
18
19
|
default: typeof genAlphabet;
|
19
20
|
};
|
20
21
|
};
|
@@ -33,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
33
34
|
default: number;
|
34
35
|
};
|
35
36
|
indexList: {
|
36
|
-
type: PropType<
|
37
|
+
type: PropType<Numeric[]>;
|
37
38
|
default: typeof genAlphabet;
|
38
39
|
};
|
39
40
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "change")[], "select" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
@@ -49,7 +50,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
49
50
|
default: number;
|
50
51
|
};
|
51
52
|
indexList: {
|
52
|
-
type: PropType<
|
53
|
+
type: PropType<Numeric[]>;
|
53
54
|
default: typeof genAlphabet;
|
54
55
|
};
|
55
56
|
}>> & {
|
@@ -58,6 +59,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
58
59
|
}, {
|
59
60
|
sticky: boolean;
|
60
61
|
stickyOffsetTop: number;
|
61
|
-
indexList:
|
62
|
+
indexList: Numeric[];
|
62
63
|
}>;
|
63
64
|
export default _default;
|
package/es/index-bar/IndexBar.js
CHANGED
@@ -38,6 +38,7 @@ var stdin_default = defineComponent({
|
|
38
38
|
children,
|
39
39
|
linkChildren
|
40
40
|
} = useChildren(INDEX_BAR_KEY);
|
41
|
+
let selectActiveIndex;
|
41
42
|
linkChildren({
|
42
43
|
props
|
43
44
|
});
|
@@ -65,6 +66,7 @@ var stdin_default = defineComponent({
|
|
65
66
|
}
|
66
67
|
return -1;
|
67
68
|
};
|
69
|
+
const getMatchAnchor = (index) => children.find((item) => String(item.index) === index);
|
68
70
|
const onScroll = () => {
|
69
71
|
if (isHidden(root)) {
|
70
72
|
return;
|
@@ -76,7 +78,16 @@ var stdin_default = defineComponent({
|
|
76
78
|
const scrollTop = getScrollTop(scrollParent.value);
|
77
79
|
const scrollParentRect = useRect(scrollParent);
|
78
80
|
const rects = children.map((item) => item.getRect(scrollParent.value, scrollParentRect));
|
79
|
-
|
81
|
+
let active = -1;
|
82
|
+
if (selectActiveIndex) {
|
83
|
+
const match = getMatchAnchor(selectActiveIndex);
|
84
|
+
if (match) {
|
85
|
+
const rect = match.getRect(scrollParent.value, scrollParentRect);
|
86
|
+
active = getActiveAnchor(rect.top, rects);
|
87
|
+
}
|
88
|
+
} else {
|
89
|
+
active = getActiveAnchor(scrollTop, rects);
|
90
|
+
}
|
80
91
|
activeAnchor.value = indexList[active];
|
81
92
|
if (sticky) {
|
82
93
|
children.forEach((item, index) => {
|
@@ -95,7 +106,7 @@ var stdin_default = defineComponent({
|
|
95
106
|
if (index === active) {
|
96
107
|
state.active = true;
|
97
108
|
state.top = Math.max(props.stickyOffsetTop, rects[index].top - scrollTop) + scrollParentRect.top;
|
98
|
-
} else if (index === active - 1) {
|
109
|
+
} else if (index === active - 1 && selectActiveIndex === "") {
|
99
110
|
const activeItemTop = rects[active].top - scrollTop;
|
100
111
|
state.active = activeItemTop > 0;
|
101
112
|
state.top = activeItemTop + scrollParentRect.top - rects[index].height;
|
@@ -104,6 +115,7 @@ var stdin_default = defineComponent({
|
|
104
115
|
}
|
105
116
|
});
|
106
117
|
}
|
118
|
+
selectActiveIndex = "";
|
107
119
|
};
|
108
120
|
const init = () => {
|
109
121
|
nextTick(onScroll);
|
@@ -129,9 +141,18 @@ var stdin_default = defineComponent({
|
|
129
141
|
}, [index]);
|
130
142
|
});
|
131
143
|
const scrollTo = (index) => {
|
132
|
-
|
133
|
-
const match =
|
144
|
+
selectActiveIndex = String(index);
|
145
|
+
const match = getMatchAnchor(selectActiveIndex);
|
134
146
|
if (match) {
|
147
|
+
const scrollTop = getScrollTop(scrollParent.value);
|
148
|
+
const scrollParentRect = useRect(scrollParent);
|
149
|
+
const {
|
150
|
+
offsetHeight
|
151
|
+
} = document.documentElement;
|
152
|
+
if (scrollTop === offsetHeight - scrollParentRect.height) {
|
153
|
+
onScroll();
|
154
|
+
return;
|
155
|
+
}
|
135
156
|
match.$el.scrollIntoView();
|
136
157
|
if (props.sticky && props.stickyOffsetTop) {
|
137
158
|
setRootScrollTop(getRootScrollTop() - props.stickyOffsetTop);
|
package/es/index-bar/index.d.ts
CHANGED
@@ -12,7 +12,7 @@ export declare const IndexBar: import("../utils").WithInstall<import("vue").Defi
|
|
12
12
|
default: number;
|
13
13
|
};
|
14
14
|
indexList: {
|
15
|
-
type: import("vue").PropType<
|
15
|
+
type: import("vue").PropType<import("../utils").Numeric[]>;
|
16
16
|
default: () => string[];
|
17
17
|
};
|
18
18
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "change")[], "select" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -28,7 +28,7 @@ export declare const IndexBar: import("../utils").WithInstall<import("vue").Defi
|
|
28
28
|
default: number;
|
29
29
|
};
|
30
30
|
indexList: {
|
31
|
-
type: import("vue").PropType<
|
31
|
+
type: import("vue").PropType<import("../utils").Numeric[]>;
|
32
32
|
default: () => string[];
|
33
33
|
};
|
34
34
|
}>> & {
|
@@ -37,7 +37,7 @@ export declare const IndexBar: import("../utils").WithInstall<import("vue").Defi
|
|
37
37
|
}, {
|
38
38
|
sticky: boolean;
|
39
39
|
stickyOffsetTop: number;
|
40
|
-
indexList:
|
40
|
+
indexList: import("../utils").Numeric[];
|
41
41
|
}>>;
|
42
42
|
export default IndexBar;
|
43
43
|
export type { IndexBarProps };
|
package/es/index-bar/types.d.ts
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
import type { ComponentPublicInstance } from 'vue';
|
2
|
+
import type { Numeric } from '../utils';
|
2
3
|
import type { IndexBarProps } from './IndexBar';
|
3
4
|
export declare type IndexBarProvide = {
|
4
5
|
props: IndexBarProps;
|
5
6
|
};
|
6
7
|
export declare type IndexBarExpose = {
|
7
|
-
scrollTo: (index:
|
8
|
+
scrollTo: (index: Numeric) => void;
|
8
9
|
};
|
9
10
|
export declare type IndexBarInstance = ComponentPublicInstance<IndexBarProps, IndexBarExpose>;
|
package/es/index.d.ts
CHANGED
package/es/index.js
CHANGED
@@ -83,7 +83,7 @@ import { Tag } from "./tag";
|
|
83
83
|
import { Toast } from "./toast";
|
84
84
|
import { TreeSelect } from "./tree-select";
|
85
85
|
import { Uploader } from "./uploader";
|
86
|
-
const version = "3.4.
|
86
|
+
const version = "3.4.7";
|
87
87
|
function install(app) {
|
88
88
|
const components = [
|
89
89
|
ActionBar,
|
@@ -0,0 +1,64 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
name: string;
|
3
|
+
tel: string;
|
4
|
+
save: string;
|
5
|
+
confirm: string;
|
6
|
+
cancel: string;
|
7
|
+
delete: string;
|
8
|
+
loading: string;
|
9
|
+
noCoupon: string;
|
10
|
+
nameEmpty: string;
|
11
|
+
addContact: string;
|
12
|
+
telInvalid: string;
|
13
|
+
vanCalendar: {
|
14
|
+
end: string;
|
15
|
+
start: string;
|
16
|
+
title: string;
|
17
|
+
weekdays: string[];
|
18
|
+
monthTitle: (year: number, month: number) => string;
|
19
|
+
rangePrompt: (maxRange: number) => string;
|
20
|
+
};
|
21
|
+
vanCascader: {
|
22
|
+
select: string;
|
23
|
+
};
|
24
|
+
vanPagination: {
|
25
|
+
prev: string;
|
26
|
+
next: string;
|
27
|
+
};
|
28
|
+
vanPullRefresh: {
|
29
|
+
pulling: string;
|
30
|
+
loosing: string;
|
31
|
+
};
|
32
|
+
vanSubmitBar: {
|
33
|
+
label: string;
|
34
|
+
};
|
35
|
+
vanCoupon: {
|
36
|
+
unlimited: string;
|
37
|
+
discount: (discount: number) => string;
|
38
|
+
condition: (condition: number) => string;
|
39
|
+
};
|
40
|
+
vanCouponCell: {
|
41
|
+
title: string;
|
42
|
+
count: (count: number) => string;
|
43
|
+
};
|
44
|
+
vanCouponList: {
|
45
|
+
exchange: string;
|
46
|
+
close: string;
|
47
|
+
enable: string;
|
48
|
+
disabled: string;
|
49
|
+
placeholder: string;
|
50
|
+
};
|
51
|
+
vanAddressEdit: {
|
52
|
+
area: string;
|
53
|
+
postal: string;
|
54
|
+
areaEmpty: string;
|
55
|
+
addressEmpty: string;
|
56
|
+
postalEmpty: string;
|
57
|
+
addressDetail: string;
|
58
|
+
defaultAddress: string;
|
59
|
+
};
|
60
|
+
vanAddressList: {
|
61
|
+
add: string;
|
62
|
+
};
|
63
|
+
};
|
64
|
+
export default _default;
|
@@ -0,0 +1,74 @@
|
|
1
|
+
var stdin_default = {
|
2
|
+
name: "\u09A8\u09BE\u09AE",
|
3
|
+
tel: "\u09AB\u09CB\u09A8",
|
4
|
+
save: "\u09B8\u0982\u09B0\u0995\u09CD\u09B7\u09A3 \u0995\u09B0\u09C1\u09A8",
|
5
|
+
confirm: "\u09A8\u09BF\u09B6\u09CD\u099A\u09BF\u09A4 \u0995\u09B0\u09C1\u09A8",
|
6
|
+
cancel: "\u09AC\u09BE\u09A4\u09BF\u09B2",
|
7
|
+
delete: "\u09AE\u09C1\u099B\u09C1\u09A8",
|
8
|
+
loading: "\u09B2\u09CB\u09A1 \u09B9\u099A\u09CD\u099B\u09C7...",
|
9
|
+
noCoupon: "\u0995\u09CB\u09A8 \u0995\u09C1\u09AA\u09A8 \u09A8\u09C7\u0987",
|
10
|
+
nameEmpty: "\u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u09A8\u09BE\u09AE\u099F\u09BF \u09AA\u09C2\u09B0\u09A3 \u0995\u09B0\u09C1\u09A8",
|
11
|
+
addContact: "\u09AF\u09CB\u0997\u09BE\u09AF\u09CB\u0997 \u09AF\u09CB\u0997 \u0995\u09B0\u09C1\u09A8",
|
12
|
+
telInvalid: "\u09AC\u09BF\u0995\u09C3\u09A4 \u09AB\u09CB\u09A8 \u09A8\u09AE\u09CD\u09AC\u09B0",
|
13
|
+
vanCalendar: {
|
14
|
+
end: "\u09B6\u09C7\u09B7",
|
15
|
+
start: "\u09B6\u09C1\u09B0\u09C1",
|
16
|
+
title: "\u0995\u09CD\u09AF\u09BE\u09B2\u09C7\u09A8\u09CD\u09A1\u09BE\u09B0",
|
17
|
+
weekdays: [
|
18
|
+
"\u09B0\u09AC\u09BF\u09AC\u09BE\u09B0",
|
19
|
+
"\u09B8\u09CB\u09AE\u09AC\u09BE\u09B0",
|
20
|
+
"\u09AE\u0999\u09CD\u0997\u09B2\u09AC\u09BE\u09B0",
|
21
|
+
"\u09AC\u09C1\u09A7\u09AC\u09BE\u09B0",
|
22
|
+
"\u09AC\u09C3\u09B9\u09B8\u09CD\u09AA\u09A4\u09BF\u09AC\u09BE\u09B0",
|
23
|
+
"\u09B6\u09C1\u0995\u09CD\u09B0\u09AC\u09BE\u09B0",
|
24
|
+
"\u09B6\u09A8\u09BF\u09AC\u09BE\u09B0"
|
25
|
+
],
|
26
|
+
monthTitle: (year, month) => `${year}/${month}`,
|
27
|
+
rangePrompt: (maxRange) => `${maxRange} \u09A6\u09BF\u09A8\u09C7\u09B0 \u09AC\u09C7\u09B6\u09BF \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09B0\u09AC\u09C7\u09A8 \u09A8\u09BE`
|
28
|
+
},
|
29
|
+
vanCascader: {
|
30
|
+
select: "\u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8"
|
31
|
+
},
|
32
|
+
vanPagination: {
|
33
|
+
prev: "\u09AA\u09C2\u09B0\u09CD\u09AC\u09AC\u09B0\u09CD\u09A4\u09C0",
|
34
|
+
next: "\u09AA\u09B0\u09AC\u09B0\u09CD\u09A4\u09C0"
|
35
|
+
},
|
36
|
+
vanPullRefresh: {
|
37
|
+
pulling: "\u09B0\u09BF\u09AB\u09CD\u09B0\u09C7\u09B6 \u0995\u09B0\u09A4\u09C7 \u099F\u09BE\u09A8\u09C1\u09A8...",
|
38
|
+
loosing: "\u09B0\u09BF\u09AB\u09CD\u09B0\u09C7\u09B6 \u0995\u09B0\u09A4\u09C7 \u0986\u09B2\u0997\u09BE..."
|
39
|
+
},
|
40
|
+
vanSubmitBar: {
|
41
|
+
label: "\u09AE\u09CB\u099F:"
|
42
|
+
},
|
43
|
+
vanCoupon: {
|
44
|
+
unlimited: "\u0986\u09A8\u09B2\u09BF\u09AE\u09BF\u099F\u09C7\u09A1",
|
45
|
+
discount: (discount) => `${discount * 10}% \u099B\u09BE\u09A1\u09BC`,
|
46
|
+
condition: (condition) => `\u0985\u09A8\u09CD\u09A4\u09A4 ${condition}`
|
47
|
+
},
|
48
|
+
vanCouponCell: {
|
49
|
+
title: "\u0995\u09C1\u09AA\u09A8",
|
50
|
+
count: (count) => `\u0986\u09AA\u09A8\u09BE\u09B0 ${count} \u0995\u09C1\u09AA\u09A8 \u0986\u099B\u09C7`
|
51
|
+
},
|
52
|
+
vanCouponList: {
|
53
|
+
exchange: "\u09AC\u09BF\u09A8\u09BF\u09AE\u09AF\u09BC",
|
54
|
+
close: "\u09AC\u09A8\u09CD\u09A7",
|
55
|
+
enable: "\u0989\u09AA\u09B2\u09AD\u09CD\u09AF",
|
56
|
+
disabled: "\u0985\u09A8\u09C1\u09AA\u09B2\u09AC\u09CD\u09A7",
|
57
|
+
placeholder: "\u0995\u09C1\u09AA\u09A8 \u0995\u09CB\u09A1"
|
58
|
+
},
|
59
|
+
vanAddressEdit: {
|
60
|
+
area: "\u098F\u09B0\u09BF\u09AF\u09BC\u09BE",
|
61
|
+
postal: "\u09A1\u09BE\u0995",
|
62
|
+
areaEmpty: "\u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u098F\u0995\u099F\u09BF \u09B0\u09BF\u09B8\u09BF\u09AD\u09BF\u0982 \u098F\u09B2\u09BE\u0995\u09BE \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09B0\u09C1\u09A8",
|
63
|
+
addressEmpty: "\u09A0\u09BF\u0995\u09BE\u09A8\u09BE \u0996\u09BE\u09B2\u09BF \u09B9\u09A4\u09C7 \u09AA\u09BE\u09B0\u09C7 \u09A8\u09BE",
|
64
|
+
postalEmpty: "\u09AD\u09C1\u09B2 \u09AA\u09CB\u09B8\u09CD\u099F\u09BE\u09B2 \u0995\u09CB\u09A1",
|
65
|
+
addressDetail: "\u09A0\u09BF\u0995\u09BE\u09A8\u09BE",
|
66
|
+
defaultAddress: "\u09A1\u09BF\u09AB\u09B2\u09CD\u099F \u09A0\u09BF\u0995\u09BE\u09A8\u09BE \u09B9\u09BF\u09B8\u09BE\u09AC\u09C7 \u09B8\u09C7\u099F \u0995\u09B0\u09C1\u09A8"
|
67
|
+
},
|
68
|
+
vanAddressList: {
|
69
|
+
add: "\u09A8\u09A4\u09C1\u09A8 \u09A0\u09BF\u0995\u09BE\u09A8\u09BE \u09AF\u09CB\u0997 \u0995\u09B0\u09C1\u09A8"
|
70
|
+
}
|
71
|
+
};
|
72
|
+
export {
|
73
|
+
stdin_default as default
|
74
|
+
};
|
package/es/locale/lang/de-DE.js
CHANGED
package/es/locale/lang/en-US.js
CHANGED
package/es/locale/lang/es-ES.js
CHANGED
package/es/locale/lang/fr-FR.js
CHANGED
package/es/locale/lang/hi-IN.js
CHANGED
@@ -38,7 +38,7 @@ var stdin_default = {
|
|
38
38
|
loosing: "\u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0922\u0940\u0932\u093E..."
|
39
39
|
},
|
40
40
|
vanSubmitBar: {
|
41
|
-
label: "\u0915\u0941\u0932
|
41
|
+
label: "\u0915\u0941\u0932:"
|
42
42
|
},
|
43
43
|
vanCoupon: {
|
44
44
|
unlimited: "\u0905\u0938\u0940\u092E\u093F\u0924",
|
@@ -0,0 +1,64 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
name: string;
|
3
|
+
tel: string;
|
4
|
+
save: string;
|
5
|
+
confirm: string;
|
6
|
+
cancel: string;
|
7
|
+
delete: string;
|
8
|
+
loading: string;
|
9
|
+
noCoupon: string;
|
10
|
+
nameEmpty: string;
|
11
|
+
addContact: string;
|
12
|
+
telInvalid: string;
|
13
|
+
vanCalendar: {
|
14
|
+
end: string;
|
15
|
+
start: string;
|
16
|
+
title: string;
|
17
|
+
weekdays: string[];
|
18
|
+
monthTitle: (year: number, month: number) => string;
|
19
|
+
rangePrompt: (maxRange: number) => string;
|
20
|
+
};
|
21
|
+
vanCascader: {
|
22
|
+
select: string;
|
23
|
+
};
|
24
|
+
vanPagination: {
|
25
|
+
prev: string;
|
26
|
+
next: string;
|
27
|
+
};
|
28
|
+
vanPullRefresh: {
|
29
|
+
pulling: string;
|
30
|
+
loosing: string;
|
31
|
+
};
|
32
|
+
vanSubmitBar: {
|
33
|
+
label: string;
|
34
|
+
};
|
35
|
+
vanCoupon: {
|
36
|
+
unlimited: string;
|
37
|
+
discount: (discount: number) => string;
|
38
|
+
condition: (condition: number) => string;
|
39
|
+
};
|
40
|
+
vanCouponCell: {
|
41
|
+
title: string;
|
42
|
+
count: (count: number) => string;
|
43
|
+
};
|
44
|
+
vanCouponList: {
|
45
|
+
exchange: string;
|
46
|
+
close: string;
|
47
|
+
enable: string;
|
48
|
+
disabled: string;
|
49
|
+
placeholder: string;
|
50
|
+
};
|
51
|
+
vanAddressEdit: {
|
52
|
+
area: string;
|
53
|
+
postal: string;
|
54
|
+
areaEmpty: string;
|
55
|
+
addressEmpty: string;
|
56
|
+
postalEmpty: string;
|
57
|
+
addressDetail: string;
|
58
|
+
defaultAddress: string;
|
59
|
+
};
|
60
|
+
vanAddressList: {
|
61
|
+
add: string;
|
62
|
+
};
|
63
|
+
};
|
64
|
+
export default _default;
|