vant 4.0.5 → 4.0.6
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/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/lib/action-bar/ActionBar.d.ts +27 -0
- package/lib/action-bar/ActionBar.js +64 -0
- package/lib/action-bar/index.css +1 -0
- package/lib/action-bar/index.d.ts +25 -0
- package/lib/action-bar/index.js +35 -0
- package/lib/action-bar/style/index.d.ts +1 -0
- package/lib/action-bar/style/index.js +2 -0
- package/lib/action-bar/types.d.ts +4 -0
- package/lib/action-bar/types.js +15 -0
- package/lib/action-bar-button/ActionBarButton.d.ts +43 -0
- package/lib/action-bar-button/ActionBarButton.js +93 -0
- package/lib/action-bar-button/index.css +1 -0
- package/lib/action-bar-button/index.d.ts +36 -0
- package/lib/action-bar-button/index.js +35 -0
- package/lib/action-bar-button/style/index.d.ts +1 -0
- package/lib/action-bar-button/style/index.js +7 -0
- package/lib/action-bar-button/types.d.ts +5 -0
- package/lib/action-bar-button/types.js +15 -0
- package/lib/action-bar-icon/ActionBarIcon.d.ts +48 -0
- package/lib/action-bar-icon/ActionBarIcon.js +88 -0
- package/lib/action-bar-icon/index.css +1 -0
- package/lib/action-bar-icon/index.d.ts +39 -0
- package/lib/action-bar-icon/index.js +35 -0
- package/lib/action-bar-icon/style/index.d.ts +1 -0
- package/lib/action-bar-icon/style/index.js +5 -0
- package/lib/action-bar-icon/types.d.ts +10 -0
- package/lib/action-bar-icon/types.js +15 -0
- package/lib/action-sheet/ActionSheet.d.ts +194 -0
- package/lib/action-sheet/ActionSheet.js +151 -0
- package/lib/action-sheet/index.css +1 -0
- package/lib/action-sheet/index.d.ts +136 -0
- package/lib/action-sheet/index.js +35 -0
- package/lib/action-sheet/style/index.d.ts +1 -0
- package/lib/action-sheet/style/index.js +7 -0
- package/lib/action-sheet/types.d.ts +23 -0
- package/lib/action-sheet/types.js +15 -0
- package/lib/address-edit/AddressEdit.d.ts +157 -0
- package/lib/address-edit/AddressEdit.js +314 -0
- package/lib/address-edit/AddressEditDetail.d.ts +32 -0
- package/lib/address-edit/AddressEditDetail.js +95 -0
- package/lib/address-edit/index.css +1 -0
- package/lib/address-edit/index.d.ts +118 -0
- package/lib/address-edit/index.js +35 -0
- package/lib/address-edit/style/index.d.ts +1 -0
- package/lib/address-edit/style/index.js +19 -0
- package/lib/address-edit/types.d.ts +28 -0
- package/lib/address-edit/types.js +15 -0
- package/lib/address-list/AddressList.d.ts +69 -0
- package/lib/address-list/AddressList.js +108 -0
- package/lib/address-list/AddressListItem.d.ts +34 -0
- package/lib/address-list/AddressListItem.js +115 -0
- package/lib/address-list/index.css +1 -0
- package/lib/address-list/index.d.ts +57 -0
- package/lib/address-list/index.js +35 -0
- package/lib/address-list/style/index.d.ts +1 -0
- package/lib/address-list/style/index.js +11 -0
- package/lib/address-list/types.d.ts +15 -0
- package/lib/address-list/types.js +15 -0
- package/lib/area/Area.d.ts +136 -0
- package/lib/area/Area.js +96 -0
- package/lib/area/index.d.ts +102 -0
- package/lib/area/index.js +35 -0
- package/lib/area/style/index.d.ts +1 -0
- package/lib/area/style/index.js +10 -0
- package/lib/area/types.d.ts +9 -0
- package/lib/area/types.js +15 -0
- package/lib/area/utils.d.ts +6 -0
- package/lib/area/utils.js +111 -0
- package/lib/back-top/BackTop.d.ts +46 -0
- package/lib/back-top/BackTop.js +120 -0
- package/lib/back-top/index.css +1 -0
- package/lib/back-top/index.d.ts +39 -0
- package/lib/back-top/index.js +35 -0
- package/lib/back-top/style/index.d.ts +1 -0
- package/lib/back-top/style/index.js +4 -0
- package/lib/back-top/types.d.ts +6 -0
- package/lib/back-top/types.js +15 -0
- package/lib/badge/Badge.d.ts +66 -0
- package/lib/badge/Badge.js +124 -0
- package/lib/badge/index.css +1 -0
- package/lib/badge/index.d.ts +51 -0
- package/lib/badge/index.js +35 -0
- package/lib/badge/style/index.d.ts +1 -0
- package/lib/badge/style/index.js +2 -0
- package/lib/badge/types.d.ts +12 -0
- package/lib/badge/types.js +15 -0
- package/lib/button/Button.d.ts +140 -0
- package/lib/button/Button.js +168 -0
- package/lib/button/index.css +1 -0
- package/lib/button/index.d.ts +104 -0
- package/lib/button/index.js +35 -0
- package/lib/button/style/index.d.ts +1 -0
- package/lib/button/style/index.js +5 -0
- package/lib/button/types.d.ts +41 -0
- package/lib/button/types.js +15 -0
- package/lib/calendar/Calendar.d.ts +292 -0
- package/lib/calendar/Calendar.js +439 -0
- package/lib/calendar/CalendarDay.d.ts +32 -0
- package/lib/calendar/CalendarDay.js +148 -0
- package/lib/calendar/CalendarHeader.d.ts +21 -0
- package/lib/calendar/CalendarHeader.js +81 -0
- package/lib/calendar/CalendarMonth.d.ts +86 -0
- package/lib/calendar/CalendarMonth.js +233 -0
- package/lib/calendar/index.css +1 -0
- package/lib/calendar/index.d.ts +210 -0
- package/lib/calendar/index.js +35 -0
- package/lib/calendar/style/index.d.ts +1 -0
- package/lib/calendar/style/index.js +16 -0
- package/lib/calendar/types.d.ts +56 -0
- package/lib/calendar/types.js +15 -0
- package/lib/calendar/utils.d.ts +12 -0
- package/lib/calendar/utils.js +75 -0
- package/lib/card/Card.d.ts +56 -0
- package/lib/card/Card.js +146 -0
- package/lib/card/index.css +1 -0
- package/lib/card/index.d.ts +46 -0
- package/lib/card/index.js +35 -0
- package/lib/card/style/index.d.ts +1 -0
- package/lib/card/style/index.js +6 -0
- package/lib/card/types.d.ts +18 -0
- package/lib/card/types.js +15 -0
- package/lib/cascader/Cascader.d.ts +96 -0
- package/lib/cascader/Cascader.js +247 -0
- package/lib/cascader/index.css +1 -0
- package/lib/cascader/index.d.ts +74 -0
- package/lib/cascader/index.js +35 -0
- package/lib/cascader/style/index.d.ts +1 -0
- package/lib/cascader/style/index.js +9 -0
- package/lib/cascader/types.d.ts +34 -0
- package/lib/cascader/types.js +15 -0
- package/lib/cell/Cell.d.ts +136 -0
- package/lib/cell/Cell.js +148 -0
- package/lib/cell/index.css +1 -0
- package/lib/cell/index.d.ts +80 -0
- package/lib/cell/index.js +35 -0
- package/lib/cell/style/index.d.ts +1 -0
- package/lib/cell/style/index.js +4 -0
- package/lib/cell/types.d.ts +21 -0
- package/lib/cell/types.js +15 -0
- package/lib/cell-group/CellGroup.d.ts +29 -0
- package/lib/cell-group/CellGroup.js +63 -0
- package/lib/cell-group/index.css +1 -0
- package/lib/cell-group/index.d.ts +27 -0
- package/lib/cell-group/index.js +35 -0
- package/lib/cell-group/style/index.d.ts +1 -0
- package/lib/cell-group/style/index.js +2 -0
- package/lib/cell-group/types.d.ts +10 -0
- package/lib/cell-group/types.js +15 -0
- package/lib/checkbox/Checkbox.d.ts +64 -0
- package/lib/checkbox/Checkbox.js +107 -0
- package/lib/checkbox/Checker.d.ts +85 -0
- package/lib/checkbox/Checker.js +126 -0
- package/lib/checkbox/index.css +1 -0
- package/lib/checkbox/index.d.ts +52 -0
- package/lib/checkbox/index.js +35 -0
- package/lib/checkbox/style/index.d.ts +1 -0
- package/lib/checkbox/style/index.js +5 -0
- package/lib/checkbox/types.d.ts +24 -0
- package/lib/checkbox/types.js +15 -0
- package/lib/checkbox-group/CheckboxGroup.d.ts +44 -0
- package/lib/checkbox-group/CheckboxGroup.js +91 -0
- package/lib/checkbox-group/index.css +1 -0
- package/lib/checkbox-group/index.d.ts +36 -0
- package/lib/checkbox-group/index.js +35 -0
- package/lib/checkbox-group/style/index.d.ts +1 -0
- package/lib/checkbox-group/style/index.js +2 -0
- package/lib/checkbox-group/types.d.ts +16 -0
- package/lib/checkbox-group/types.js +15 -0
- package/lib/circle/Circle.d.ts +118 -0
- package/lib/circle/Circle.js +172 -0
- package/lib/circle/index.css +1 -0
- package/lib/circle/index.d.ts +88 -0
- package/lib/circle/index.js +35 -0
- package/lib/circle/style/index.d.ts +1 -0
- package/lib/circle/style/index.js +2 -0
- package/lib/circle/types.d.ts +9 -0
- package/lib/circle/types.js +15 -0
- package/lib/col/Col.d.ts +38 -0
- package/lib/col/Col.js +83 -0
- package/lib/col/index.css +1 -0
- package/lib/col/index.d.ts +32 -0
- package/lib/col/index.js +35 -0
- package/lib/col/style/index.d.ts +1 -0
- package/lib/col/style/index.js +3 -0
- package/lib/collapse/Collapse.d.ts +55 -0
- package/lib/collapse/Collapse.js +128 -0
- package/lib/collapse/index.d.ts +36 -0
- package/lib/collapse/index.js +35 -0
- package/lib/collapse/style/index.d.ts +1 -0
- package/lib/collapse/style/index.js +1 -0
- package/lib/collapse-item/CollapseItem.d.ts +132 -0
- package/lib/collapse-item/CollapseItem.js +156 -0
- package/lib/collapse-item/index.css +1 -0
- package/lib/collapse-item/index.d.ts +98 -0
- package/lib/collapse-item/index.js +35 -0
- package/lib/collapse-item/style/index.d.ts +1 -0
- package/lib/collapse-item/style/index.js +5 -0
- package/lib/collapse-item/types.d.ts +15 -0
- package/lib/collapse-item/types.js +15 -0
- package/lib/composables/on-popup-reopen.d.ts +3 -0
- package/lib/composables/on-popup-reopen.js +35 -0
- package/lib/composables/use-expose.d.ts +1 -0
- package/lib/composables/use-expose.js +30 -0
- package/lib/composables/use-global-z-index.d.ts +4 -0
- package/lib/composables/use-global-z-index.js +28 -0
- package/lib/composables/use-height.d.ts +2 -0
- package/lib/composables/use-height.js +43 -0
- package/lib/composables/use-id.d.ts +1 -0
- package/lib/composables/use-id.js +32 -0
- package/lib/composables/use-lazy-render.d.ts +2 -0
- package/lib/composables/use-lazy-render.js +36 -0
- package/lib/composables/use-lock-scroll.d.ts +2 -0
- package/lib/composables/use-lock-scroll.js +77 -0
- package/lib/composables/use-placeholder.d.ts +3 -0
- package/lib/composables/use-placeholder.js +33 -0
- package/lib/composables/use-refs.d.ts +2 -0
- package/lib/composables/use-refs.js +39 -0
- package/lib/composables/use-route.d.ts +13 -0
- package/lib/composables/use-route.js +46 -0
- package/lib/composables/use-sync-prop-ref.d.ts +2 -0
- package/lib/composables/use-sync-prop-ref.js +37 -0
- package/lib/composables/use-tab-status.d.ts +3 -0
- package/lib/composables/use-tab-status.js +26 -0
- package/lib/composables/use-touch.d.ts +16 -0
- package/lib/composables/use-touch.js +80 -0
- package/lib/composables/use-visibility-change.d.ts +2 -0
- package/lib/composables/use-visibility-change.js +49 -0
- package/lib/config-provider/ConfigProvider.d.ts +57 -0
- package/lib/config-provider/ConfigProvider.js +89 -0
- package/lib/config-provider/index.d.ts +41 -0
- package/lib/config-provider/index.js +35 -0
- package/lib/config-provider/style/index.d.ts +1 -0
- package/lib/config-provider/style/index.js +1 -0
- package/lib/config-provider/types.d.ts +1 -0
- package/lib/config-provider/types.js +15 -0
- package/lib/contact-card/ContactCard.d.ts +47 -0
- package/lib/contact-card/ContactCard.js +66 -0
- package/lib/contact-card/index.css +1 -0
- package/lib/contact-card/index.d.ts +39 -0
- package/lib/contact-card/index.js +35 -0
- package/lib/contact-card/style/index.d.ts +1 -0
- package/lib/contact-card/style/index.js +5 -0
- package/lib/contact-card/types.d.ts +6 -0
- package/lib/contact-card/types.js +15 -0
- package/lib/contact-edit/ContactEdit.d.ts +64 -0
- package/lib/contact-edit/ContactEdit.js +132 -0
- package/lib/contact-edit/index.css +1 -0
- package/lib/contact-edit/index.d.ts +49 -0
- package/lib/contact-edit/index.js +35 -0
- package/lib/contact-edit/style/index.d.ts +1 -0
- package/lib/contact-edit/style/index.js +9 -0
- package/lib/contact-edit/types.d.ts +8 -0
- package/lib/contact-edit/types.js +15 -0
- package/lib/contact-list/ContactList.d.ts +32 -0
- package/lib/contact-list/ContactList.js +109 -0
- package/lib/contact-list/index.css +1 -0
- package/lib/contact-list/index.d.ts +25 -0
- package/lib/contact-list/index.js +35 -0
- package/lib/contact-list/style/index.d.ts +1 -0
- package/lib/contact-list/style/index.js +11 -0
- package/lib/contact-list/types.d.ts +6 -0
- package/lib/contact-list/types.js +15 -0
- package/lib/count-down/CountDown.d.ts +55 -0
- package/lib/count-down/CountDown.js +76 -0
- package/lib/count-down/index.css +1 -0
- package/lib/count-down/index.d.ts +46 -0
- package/lib/count-down/index.js +35 -0
- package/lib/count-down/style/index.d.ts +1 -0
- package/lib/count-down/style/index.js +2 -0
- package/lib/count-down/types.d.ts +16 -0
- package/lib/count-down/types.js +15 -0
- package/lib/count-down/utils.d.ts +2 -0
- package/lib/count-down/utils.js +58 -0
- package/lib/coupon/Coupon.d.ts +45 -0
- package/lib/coupon/Coupon.js +99 -0
- package/lib/coupon/index.css +1 -0
- package/lib/coupon/index.d.ts +35 -0
- package/lib/coupon/index.js +33 -0
- package/lib/coupon/style/index.d.ts +1 -0
- package/lib/coupon/style/index.js +6 -0
- package/lib/coupon/types.d.ts +19 -0
- package/lib/coupon/types.js +15 -0
- package/lib/coupon/utils.d.ts +3 -0
- package/lib/coupon/utils.js +33 -0
- package/lib/coupon-cell/CouponCell.d.ts +78 -0
- package/lib/coupon-cell/CouponCell.js +74 -0
- package/lib/coupon-cell/index.css +1 -0
- package/lib/coupon-cell/index.d.ts +60 -0
- package/lib/coupon-cell/index.js +35 -0
- package/lib/coupon-cell/style/index.d.ts +1 -0
- package/lib/coupon-cell/style/index.js +5 -0
- package/lib/coupon-cell/types.d.ts +3 -0
- package/lib/coupon-cell/types.js +15 -0
- package/lib/coupon-list/CouponList.d.ts +170 -0
- package/lib/coupon-list/CouponList.js +206 -0
- package/lib/coupon-list/index.css +1 -0
- package/lib/coupon-list/index.d.ts +125 -0
- package/lib/coupon-list/index.js +35 -0
- package/lib/coupon-list/style/index.d.ts +1 -0
- package/lib/coupon-list/style/index.js +17 -0
- package/lib/coupon-list/types.d.ts +9 -0
- package/lib/coupon-list/types.js +15 -0
- package/lib/date-picker/DatePicker.d.ts +171 -0
- package/lib/date-picker/DatePicker.js +137 -0
- package/lib/date-picker/index.d.ts +127 -0
- package/lib/date-picker/index.js +35 -0
- package/lib/date-picker/style/index.d.ts +1 -0
- package/lib/date-picker/style/index.js +10 -0
- package/lib/date-picker/utils.d.ts +45 -0
- package/lib/date-picker/utils.js +70 -0
- package/lib/dialog/Dialog.d.ts +187 -0
- package/lib/dialog/Dialog.js +237 -0
- package/lib/dialog/function-call.d.ts +6 -0
- package/lib/dialog/function-call.js +110 -0
- package/lib/dialog/index.css +1 -0
- package/lib/dialog/index.d.ts +138 -0
- package/lib/dialog/index.js +41 -0
- package/lib/dialog/style/index.d.ts +1 -0
- package/lib/dialog/style/index.js +10 -0
- package/lib/dialog/types.d.ts +53 -0
- package/lib/dialog/types.js +15 -0
- package/lib/divider/Divider.d.ts +40 -0
- package/lib/divider/Divider.js +51 -0
- package/lib/divider/index.css +1 -0
- package/lib/divider/index.d.ts +34 -0
- package/lib/divider/index.js +35 -0
- package/lib/divider/style/index.d.ts +1 -0
- package/lib/divider/style/index.js +2 -0
- package/lib/divider/types.d.ts +10 -0
- package/lib/divider/types.js +15 -0
- package/lib/dropdown-item/DropdownItem.d.ts +59 -0
- package/lib/dropdown-item/DropdownItem.js +202 -0
- package/lib/dropdown-item/index.css +1 -0
- package/lib/dropdown-item/index.d.ts +50 -0
- package/lib/dropdown-item/index.js +35 -0
- package/lib/dropdown-item/style/index.d.ts +1 -0
- package/lib/dropdown-item/style/index.js +8 -0
- package/lib/dropdown-item/types.d.ts +25 -0
- package/lib/dropdown-item/types.js +15 -0
- package/lib/dropdown-menu/DropdownMenu.d.ts +82 -0
- package/lib/dropdown-menu/DropdownMenu.js +156 -0
- package/lib/dropdown-menu/index.css +1 -0
- package/lib/dropdown-menu/index.d.ts +63 -0
- package/lib/dropdown-menu/index.js +35 -0
- package/lib/dropdown-menu/style/index.d.ts +1 -0
- package/lib/dropdown-menu/style/index.js +2 -0
- package/lib/dropdown-menu/types.d.ts +21 -0
- package/lib/dropdown-menu/types.js +15 -0
- package/lib/empty/Empty.d.ts +29 -0
- package/lib/empty/Empty.js +342 -0
- package/lib/empty/index.css +1 -0
- package/lib/empty/index.d.ts +26 -0
- package/lib/empty/index.js +35 -0
- package/lib/empty/style/index.d.ts +1 -0
- package/lib/empty/style/index.js +2 -0
- package/lib/empty/types.d.ts +10 -0
- package/lib/empty/types.js +15 -0
- package/lib/field/Field.d.ts +337 -0
- package/lib/field/Field.js +529 -0
- package/lib/field/index.css +1 -0
- package/lib/field/index.d.ts +213 -0
- package/lib/field/index.js +35 -0
- package/lib/field/style/index.d.ts +1 -0
- package/lib/field/style/index.js +5 -0
- package/lib/field/types.d.ts +65 -0
- package/lib/field/types.js +15 -0
- package/lib/field/utils.d.ts +15 -0
- package/lib/field/utils.js +120 -0
- package/lib/form/Form.d.ts +88 -0
- package/lib/form/Form.js +180 -0
- package/lib/form/index.d.ts +70 -0
- package/lib/form/index.js +35 -0
- package/lib/form/style/index.d.ts +1 -0
- package/lib/form/style/index.js +1 -0
- package/lib/form/types.d.ts +15 -0
- package/lib/form/types.js +15 -0
- package/lib/grid/Grid.d.ts +74 -0
- package/lib/grid/Grid.js +67 -0
- package/lib/grid/index.css +1 -0
- package/lib/grid/index.d.ts +54 -0
- package/lib/grid/index.js +35 -0
- package/lib/grid/style/index.d.ts +1 -0
- package/lib/grid/style/index.js +2 -0
- package/lib/grid-item/GridItem.d.ts +45 -0
- package/lib/grid-item/GridItem.js +165 -0
- package/lib/grid-item/index.css +1 -0
- package/lib/grid-item/index.d.ts +37 -0
- package/lib/grid-item/index.js +35 -0
- package/lib/grid-item/style/index.d.ts +1 -0
- package/lib/grid-item/style/index.js +5 -0
- package/lib/grid-item/types.d.ts +8 -0
- package/lib/grid-item/types.js +15 -0
- package/lib/icon/Icon.d.ts +45 -0
- package/lib/icon/Icon.js +79 -0
- package/lib/icon/index.css +1 -0
- package/lib/icon/index.d.ts +36 -0
- package/lib/icon/index.js +35 -0
- package/lib/icon/style/index.d.ts +1 -0
- package/lib/icon/style/index.js +3 -0
- package/lib/image/Image.d.ts +105 -0
- package/lib/image/Image.js +190 -0
- package/lib/image/index.css +1 -0
- package/lib/image/index.d.ts +79 -0
- package/lib/image/index.js +35 -0
- package/lib/image/style/index.d.ts +1 -0
- package/lib/image/style/index.js +4 -0
- package/lib/image/types.d.ts +9 -0
- package/lib/image/types.js +15 -0
- package/lib/image-preview/ImagePreview.d.ts +188 -0
- package/lib/image-preview/ImagePreview.js +192 -0
- package/lib/image-preview/ImagePreviewItem.d.ts +48 -0
- package/lib/image-preview/ImagePreviewItem.js +284 -0
- package/lib/image-preview/function-call.d.ts +3 -0
- package/lib/image-preview/function-call.js +89 -0
- package/lib/image-preview/index.css +1 -0
- package/lib/image-preview/index.d.ts +140 -0
- package/lib/image-preview/index.js +37 -0
- package/lib/image-preview/style/index.d.ts +1 -0
- package/lib/image-preview/style/index.js +10 -0
- package/lib/image-preview/types.d.ts +50 -0
- package/lib/image-preview/types.js +15 -0
- package/lib/index-anchor/IndexAnchor.d.ts +11 -0
- package/lib/index-anchor/IndexAnchor.js +107 -0
- package/lib/index-anchor/index.css +1 -0
- package/lib/index-anchor/index.d.ts +14 -0
- package/lib/index-anchor/index.js +35 -0
- package/lib/index-anchor/style/index.d.ts +1 -0
- package/lib/index-anchor/style/index.js +3 -0
- package/lib/index-anchor/types.d.ts +11 -0
- package/lib/index-anchor/types.js +15 -0
- package/lib/index-bar/IndexBar.d.ts +64 -0
- package/lib/index-bar/IndexBar.js +246 -0
- package/lib/index-bar/index.css +1 -0
- package/lib/index-bar/index.d.ts +50 -0
- package/lib/index-bar/index.js +35 -0
- package/lib/index-bar/style/index.d.ts +1 -0
- package/lib/index-bar/style/index.js +2 -0
- package/lib/index-bar/types.d.ts +16 -0
- package/lib/index-bar/types.js +15 -0
- package/lib/index.css +1 -0
- package/lib/index.d.ts +97 -0
- package/lib/index.js +309 -0
- package/lib/lazyload/index.d.ts +3 -0
- package/lib/lazyload/index.js +25 -0
- package/lib/lazyload/style/index.d.ts +1 -0
- package/lib/lazyload/style/index.js +1 -0
- package/lib/lazyload/vue-lazyload/index.d.ts +55 -0
- package/lib/lazyload/vue-lazyload/index.js +56 -0
- package/lib/lazyload/vue-lazyload/lazy-component.js +70 -0
- package/lib/lazyload/vue-lazyload/lazy-container.js +93 -0
- package/lib/lazyload/vue-lazyload/lazy-image.js +119 -0
- package/lib/lazyload/vue-lazyload/lazy.js +378 -0
- package/lib/lazyload/vue-lazyload/listener.js +192 -0
- package/lib/lazyload/vue-lazyload/util.d.ts +25 -0
- package/lib/lazyload/vue-lazyload/util.js +185 -0
- package/lib/list/List.d.ts +78 -0
- package/lib/list/List.js +160 -0
- package/lib/list/index.css +1 -0
- package/lib/list/index.d.ts +63 -0
- package/lib/list/index.js +35 -0
- package/lib/list/style/index.d.ts +1 -0
- package/lib/list/style/index.js +3 -0
- package/lib/list/types.d.ts +13 -0
- package/lib/list/types.js +15 -0
- package/lib/loading/Loading.d.ts +39 -0
- package/lib/loading/Loading.js +90 -0
- package/lib/loading/index.css +1 -0
- package/lib/loading/index.d.ts +33 -0
- package/lib/loading/index.js +35 -0
- package/lib/loading/style/index.d.ts +1 -0
- package/lib/loading/style/index.js +2 -0
- package/lib/loading/types.d.ts +7 -0
- package/lib/loading/types.js +15 -0
- package/lib/locale/index.d.ts +7 -0
- package/lib/locale/index.js +49 -0
- package/lib/locale/lang/bg-BG.d.ts +64 -0
- package/lib/locale/lang/bg-BG.js +93 -0
- package/lib/locale/lang/bn-BD.d.ts +62 -0
- package/lib/locale/lang/bn-BD.js +91 -0
- package/lib/locale/lang/da-DK.d.ts +64 -0
- package/lib/locale/lang/da-DK.js +85 -0
- package/lib/locale/lang/de-DE-formal.d.ts +62 -0
- package/lib/locale/lang/de-DE-formal.js +83 -0
- package/lib/locale/lang/de-DE.d.ts +62 -0
- package/lib/locale/lang/de-DE.js +83 -0
- package/lib/locale/lang/el-GR.d.ts +64 -0
- package/lib/locale/lang/el-GR.js +93 -0
- package/lib/locale/lang/en-US.d.ts +62 -0
- package/lib/locale/lang/en-US.js +83 -0
- package/lib/locale/lang/es-ES.d.ts +62 -0
- package/lib/locale/lang/es-ES.js +83 -0
- package/lib/locale/lang/fa-IR.d.ts +64 -0
- package/lib/locale/lang/fa-IR.js +93 -0
- package/lib/locale/lang/fr-FR.d.ts +62 -0
- package/lib/locale/lang/fr-FR.js +83 -0
- package/lib/locale/lang/he-IL.d.ts +64 -0
- package/lib/locale/lang/he-IL.js +85 -0
- package/lib/locale/lang/hi-IN.d.ts +62 -0
- package/lib/locale/lang/hi-IN.js +91 -0
- package/lib/locale/lang/id-ID.d.ts +62 -0
- package/lib/locale/lang/id-ID.js +83 -0
- package/lib/locale/lang/is-IS.d.ts +62 -0
- package/lib/locale/lang/is-IS.js +91 -0
- package/lib/locale/lang/it-IT.d.ts +62 -0
- package/lib/locale/lang/it-IT.js +91 -0
- package/lib/locale/lang/ja-JP.d.ts +62 -0
- package/lib/locale/lang/ja-JP.js +83 -0
- package/lib/locale/lang/ko-KR.d.ts +62 -0
- package/lib/locale/lang/ko-KR.js +91 -0
- package/lib/locale/lang/la-LA.d.ts +62 -0
- package/lib/locale/lang/la-LA.js +83 -0
- package/lib/locale/lang/mm-MN.d.ts +62 -0
- package/lib/locale/lang/mm-MN.js +83 -0
- package/lib/locale/lang/nb-NO.d.ts +62 -0
- package/lib/locale/lang/nb-NO.js +83 -0
- package/lib/locale/lang/nl-NL.d.ts +62 -0
- package/lib/locale/lang/nl-NL.js +83 -0
- package/lib/locale/lang/pt-BR.d.ts +62 -0
- package/lib/locale/lang/pt-BR.js +83 -0
- package/lib/locale/lang/ro-RO.d.ts +62 -0
- package/lib/locale/lang/ro-RO.js +83 -0
- package/lib/locale/lang/ru-RU.d.ts +62 -0
- package/lib/locale/lang/ru-RU.js +83 -0
- package/lib/locale/lang/sv-SE.d.ts +62 -0
- package/lib/locale/lang/sv-SE.js +83 -0
- package/lib/locale/lang/th-TH.d.ts +62 -0
- package/lib/locale/lang/th-TH.js +83 -0
- package/lib/locale/lang/tr-TR.d.ts +62 -0
- package/lib/locale/lang/tr-TR.js +83 -0
- package/lib/locale/lang/uk-UA.d.ts +62 -0
- package/lib/locale/lang/uk-UA.js +91 -0
- package/lib/locale/lang/vi-VN.d.ts +62 -0
- package/lib/locale/lang/vi-VN.js +91 -0
- package/lib/locale/lang/zh-CN.d.ts +62 -0
- package/lib/locale/lang/zh-CN.js +83 -0
- package/lib/locale/lang/zh-HK.d.ts +62 -0
- package/lib/locale/lang/zh-HK.js +83 -0
- package/lib/locale/lang/zh-TW.d.ts +62 -0
- package/lib/locale/lang/zh-TW.js +83 -0
- package/lib/locale/style/index.d.ts +1 -0
- package/lib/locale/style/index.js +1 -0
- package/lib/nav-bar/NavBar.d.ts +66 -0
- package/lib/nav-bar/NavBar.js +111 -0
- package/lib/nav-bar/index.css +1 -0
- package/lib/nav-bar/index.d.ts +54 -0
- package/lib/nav-bar/index.js +35 -0
- package/lib/nav-bar/style/index.d.ts +1 -0
- package/lib/nav-bar/style/index.js +4 -0
- package/lib/nav-bar/types.d.ts +10 -0
- package/lib/nav-bar/types.js +15 -0
- package/lib/notice-bar/NoticeBar.d.ts +71 -0
- package/lib/notice-bar/NoticeBar.js +185 -0
- package/lib/notice-bar/index.css +1 -0
- package/lib/notice-bar/index.d.ts +57 -0
- package/lib/notice-bar/index.js +35 -0
- package/lib/notice-bar/style/index.d.ts +1 -0
- package/lib/notice-bar/style/index.js +4 -0
- package/lib/notice-bar/types.d.ts +18 -0
- package/lib/notice-bar/types.js +15 -0
- package/lib/notify/Notify.d.ts +134 -0
- package/lib/notify/Notify.js +65 -0
- package/lib/notify/function-call.d.ts +6 -0
- package/lib/notify/function-call.js +93 -0
- package/lib/notify/index.css +1 -0
- package/lib/notify/index.d.ts +100 -0
- package/lib/notify/index.js +40 -0
- package/lib/notify/style/index.d.ts +1 -0
- package/lib/notify/style/index.js +6 -0
- package/lib/notify/types.d.ts +27 -0
- package/lib/notify/types.js +15 -0
- package/lib/number-keyboard/NumberKeyboard.d.ts +162 -0
- package/lib/number-keyboard/NumberKeyboard.js +256 -0
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +24 -0
- package/lib/number-keyboard/NumberKeyboardKey.js +113 -0
- package/lib/number-keyboard/index.css +1 -0
- package/lib/number-keyboard/index.d.ts +121 -0
- package/lib/number-keyboard/index.js +35 -0
- package/lib/number-keyboard/style/index.d.ts +1 -0
- package/lib/number-keyboard/style/index.js +3 -0
- package/lib/number-keyboard/types.d.ts +17 -0
- package/lib/number-keyboard/types.js +15 -0
- package/lib/overlay/Overlay.d.ts +51 -0
- package/lib/overlay/Overlay.js +74 -0
- package/lib/overlay/index.css +1 -0
- package/lib/overlay/index.d.ts +42 -0
- package/lib/overlay/index.js +35 -0
- package/lib/overlay/style/index.d.ts +1 -0
- package/lib/overlay/style/index.js +2 -0
- package/lib/overlay/types.d.ts +4 -0
- package/lib/overlay/types.js +15 -0
- package/lib/pagination/Pagination.d.ts +101 -0
- package/lib/pagination/Pagination.js +164 -0
- package/lib/pagination/index.css +1 -0
- package/lib/pagination/index.d.ts +77 -0
- package/lib/pagination/index.js +35 -0
- package/lib/pagination/style/index.d.ts +1 -0
- package/lib/pagination/style/index.js +2 -0
- package/lib/pagination/types.d.ts +11 -0
- package/lib/pagination/types.js +15 -0
- package/lib/password-input/PasswordInput.d.ts +63 -0
- package/lib/password-input/PasswordInput.js +98 -0
- package/lib/password-input/index.css +1 -0
- package/lib/password-input/index.d.ts +51 -0
- package/lib/password-input/index.js +35 -0
- package/lib/password-input/style/index.d.ts +1 -0
- package/lib/password-input/style/index.js +2 -0
- package/lib/password-input/types.d.ts +17 -0
- package/lib/password-input/types.js +15 -0
- package/lib/picker/Picker.d.ts +163 -0
- package/lib/picker/Picker.js +224 -0
- package/lib/picker/PickerColumn.d.ts +60 -0
- package/lib/picker/PickerColumn.js +213 -0
- package/lib/picker/PickerToolbar.d.ts +21 -0
- package/lib/picker/PickerToolbar.js +78 -0
- package/lib/picker/index.css +1 -0
- package/lib/picker/index.d.ts +104 -0
- package/lib/picker/index.js +35 -0
- package/lib/picker/style/index.d.ts +1 -0
- package/lib/picker/style/index.js +10 -0
- package/lib/picker/types.d.ts +62 -0
- package/lib/picker/types.js +15 -0
- package/lib/picker/utils.d.ts +13 -0
- package/lib/picker/utils.js +99 -0
- package/lib/picker-group/PickerGroup.d.ts +39 -0
- package/lib/picker-group/PickerGroup.js +82 -0
- package/lib/picker-group/index.css +1 -0
- package/lib/picker-group/index.d.ts +34 -0
- package/lib/picker-group/index.js +35 -0
- package/lib/picker-group/style/index.d.ts +1 -0
- package/lib/picker-group/style/index.js +9 -0
- package/lib/picker-group/types.d.ts +3 -0
- package/lib/picker-group/types.js +15 -0
- package/lib/popover/Popover.d.ts +164 -0
- package/lib/popover/Popover.js +203 -0
- package/lib/popover/index.css +1 -0
- package/lib/popover/index.d.ts +121 -0
- package/lib/popover/index.js +35 -0
- package/lib/popover/style/index.d.ts +1 -0
- package/lib/popover/style/index.js +6 -0
- package/lib/popover/types.d.ts +26 -0
- package/lib/popover/types.js +15 -0
- package/lib/popup/Popup.d.ts +165 -0
- package/lib/popup/Popup.js +226 -0
- package/lib/popup/index.css +1 -0
- package/lib/popup/index.d.ts +124 -0
- package/lib/popup/index.js +35 -0
- package/lib/popup/shared.d.ts +30 -0
- package/lib/popup/shared.js +41 -0
- package/lib/popup/style/index.d.ts +1 -0
- package/lib/popup/style/index.js +5 -0
- package/lib/popup/types.d.ts +17 -0
- package/lib/popup/types.js +15 -0
- package/lib/progress/Progress.d.ts +61 -0
- package/lib/progress/Progress.js +96 -0
- package/lib/progress/index.css +1 -0
- package/lib/progress/index.d.ts +49 -0
- package/lib/progress/index.js +35 -0
- package/lib/progress/style/index.d.ts +1 -0
- package/lib/progress/style/index.js +2 -0
- package/lib/progress/types.d.ts +17 -0
- package/lib/progress/types.js +15 -0
- package/lib/pull-refresh/PullRefresh.d.ts +75 -0
- package/lib/pull-refresh/PullRefresh.js +213 -0
- package/lib/pull-refresh/index.css +1 -0
- package/lib/pull-refresh/index.d.ts +60 -0
- package/lib/pull-refresh/index.js +35 -0
- package/lib/pull-refresh/style/index.d.ts +1 -0
- package/lib/pull-refresh/style/index.js +3 -0
- package/lib/pull-refresh/types.d.ts +6 -0
- package/lib/pull-refresh/types.js +15 -0
- package/lib/radio/Radio.d.ts +50 -0
- package/lib/radio/Radio.js +68 -0
- package/lib/radio/index.css +1 -0
- package/lib/radio/index.d.ts +40 -0
- package/lib/radio/index.js +35 -0
- package/lib/radio/style/index.d.ts +1 -0
- package/lib/radio/style/index.js +6 -0
- package/lib/radio/types.d.ts +11 -0
- package/lib/radio/types.js +15 -0
- package/lib/radio-group/RadioGroup.d.ts +35 -0
- package/lib/radio-group/RadioGroup.js +64 -0
- package/lib/radio-group/index.css +1 -0
- package/lib/radio-group/index.d.ts +26 -0
- package/lib/radio-group/index.js +35 -0
- package/lib/radio-group/style/index.d.ts +1 -0
- package/lib/radio-group/style/index.js +2 -0
- package/lib/rate/Rate.d.ts +107 -0
- package/lib/rate/Rate.js +239 -0
- package/lib/rate/index.css +1 -0
- package/lib/rate/index.d.ts +82 -0
- package/lib/rate/index.js +35 -0
- package/lib/rate/style/index.d.ts +1 -0
- package/lib/rate/style/index.js +4 -0
- package/lib/rate/types.d.ts +7 -0
- package/lib/rate/types.js +15 -0
- package/lib/row/Row.d.ts +64 -0
- package/lib/row/Row.js +111 -0
- package/lib/row/index.css +1 -0
- package/lib/row/index.d.ts +43 -0
- package/lib/row/index.js +35 -0
- package/lib/row/style/index.d.ts +1 -0
- package/lib/row/style/index.js +2 -0
- package/lib/search/Search.d.ts +206 -0
- package/lib/search/Search.js +138 -0
- package/lib/search/index.css +1 -0
- package/lib/search/index.d.ts +152 -0
- package/lib/search/index.js +35 -0
- package/lib/search/style/index.d.ts +1 -0
- package/lib/search/style/index.js +6 -0
- package/lib/search/types.d.ts +21 -0
- package/lib/search/types.js +15 -0
- package/lib/share-sheet/ShareSheet.d.ts +162 -0
- package/lib/share-sheet/ShareSheet.js +142 -0
- package/lib/share-sheet/index.css +1 -0
- package/lib/share-sheet/index.d.ts +115 -0
- package/lib/share-sheet/index.js +35 -0
- package/lib/share-sheet/style/index.d.ts +1 -0
- package/lib/share-sheet/style/index.js +6 -0
- package/lib/share-sheet/types.d.ts +17 -0
- package/lib/share-sheet/types.js +15 -0
- package/lib/sidebar/Sidebar.d.ts +30 -0
- package/lib/sidebar/Sidebar.js +64 -0
- package/lib/sidebar/index.css +1 -0
- package/lib/sidebar/index.d.ts +25 -0
- package/lib/sidebar/index.js +35 -0
- package/lib/sidebar/style/index.d.ts +1 -0
- package/lib/sidebar/style/index.js +2 -0
- package/lib/sidebar/types.d.ts +3 -0
- package/lib/sidebar/types.js +15 -0
- package/lib/sidebar-item/SidebarItem.d.ts +42 -0
- package/lib/sidebar-item/SidebarItem.js +92 -0
- package/lib/sidebar-item/index.css +1 -0
- package/lib/sidebar-item/index.d.ts +36 -0
- package/lib/sidebar-item/index.js +35 -0
- package/lib/sidebar-item/style/index.d.ts +1 -0
- package/lib/sidebar-item/style/index.js +4 -0
- package/lib/sidebar-item/types.d.ts +15 -0
- package/lib/sidebar-item/types.js +15 -0
- package/lib/skeleton/Skeleton.d.ts +96 -0
- package/lib/skeleton/Skeleton.js +115 -0
- package/lib/skeleton/SkeletonAvatar.d.ts +26 -0
- package/lib/skeleton/SkeletonAvatar.js +41 -0
- package/lib/skeleton/SkeletonImage.d.ts +26 -0
- package/lib/skeleton/SkeletonImage.js +45 -0
- package/lib/skeleton/SkeletonParagraph.d.ts +27 -0
- package/lib/skeleton/SkeletonParagraph.js +50 -0
- package/lib/skeleton/SkeletonTitle.d.ts +16 -0
- package/lib/skeleton/SkeletonTitle.js +45 -0
- package/lib/skeleton/index.css +1 -0
- package/lib/skeleton/index.d.ts +140 -0
- package/lib/skeleton/index.js +55 -0
- package/lib/skeleton/style/index.d.ts +1 -0
- package/lib/skeleton/style/index.js +4 -0
- package/lib/skeleton/types.d.ts +13 -0
- package/lib/skeleton/types.js +15 -0
- package/lib/slider/Slider.d.ts +100 -0
- package/lib/slider/Slider.js +291 -0
- package/lib/slider/index.css +1 -0
- package/lib/slider/index.d.ts +77 -0
- package/lib/slider/index.js +35 -0
- package/lib/slider/style/index.d.ts +1 -0
- package/lib/slider/style/index.js +2 -0
- package/lib/slider/types.d.ts +11 -0
- package/lib/slider/types.js +15 -0
- package/lib/space/Space.d.ts +48 -0
- package/lib/space/Space.js +107 -0
- package/lib/space/index.css +1 -0
- package/lib/space/index.d.ts +38 -0
- package/lib/space/index.js +35 -0
- package/lib/space/style/index.d.ts +1 -0
- package/lib/space/style/index.js +2 -0
- package/lib/step/Step.d.ts +2 -0
- package/lib/step/Step.js +137 -0
- package/lib/step/index.css +1 -0
- package/lib/step/index.d.ts +8 -0
- package/lib/step/index.js +33 -0
- package/lib/step/style/index.d.ts +1 -0
- package/lib/step/style/index.js +5 -0
- package/lib/step/types.d.ts +13 -0
- package/lib/step/types.js +15 -0
- package/lib/stepper/Stepper.d.ts +194 -0
- package/lib/stepper/Stepper.js +267 -0
- package/lib/stepper/index.css +1 -0
- package/lib/stepper/index.d.ts +143 -0
- package/lib/stepper/index.js +35 -0
- package/lib/stepper/style/index.d.ts +1 -0
- package/lib/stepper/style/index.js +2 -0
- package/lib/stepper/types.d.ts +15 -0
- package/lib/stepper/types.js +15 -0
- package/lib/steps/Steps.d.ts +71 -0
- package/lib/steps/Steps.js +66 -0
- package/lib/steps/index.css +1 -0
- package/lib/steps/index.d.ts +52 -0
- package/lib/steps/index.js +35 -0
- package/lib/steps/style/index.d.ts +1 -0
- package/lib/steps/style/index.js +2 -0
- package/lib/steps/types.d.ts +3 -0
- package/lib/steps/types.js +15 -0
- package/lib/sticky/Sticky.d.ts +58 -0
- package/lib/sticky/Sticky.js +140 -0
- package/lib/sticky/index.css +1 -0
- package/lib/sticky/index.d.ts +47 -0
- package/lib/sticky/index.js +35 -0
- package/lib/sticky/style/index.d.ts +1 -0
- package/lib/sticky/style/index.js +2 -0
- package/lib/sticky/types.d.ts +3 -0
- package/lib/sticky/types.js +15 -0
- package/lib/style/animation.css +1 -0
- package/lib/style/base.css +1 -0
- package/lib/style/css-variables.css +1 -0
- package/lib/style/mixins/clearfix.css +0 -0
- package/lib/style/mixins/ellipsis.css +0 -0
- package/lib/style/mixins/hairline.css +0 -0
- package/lib/style/normalize.css +1 -0
- package/lib/submit-bar/SubmitBar.d.ts +101 -0
- package/lib/submit-bar/SubmitBar.js +135 -0
- package/lib/submit-bar/index.css +1 -0
- package/lib/submit-bar/index.d.ts +76 -0
- package/lib/submit-bar/index.js +35 -0
- package/lib/submit-bar/style/index.d.ts +1 -0
- package/lib/submit-bar/style/index.js +6 -0
- package/lib/submit-bar/types.d.ts +21 -0
- package/lib/submit-bar/types.js +15 -0
- package/lib/swipe/Swipe.d.ts +121 -0
- package/lib/swipe/Swipe.js +380 -0
- package/lib/swipe/index.css +1 -0
- package/lib/swipe/index.d.ts +91 -0
- package/lib/swipe/index.js +35 -0
- package/lib/swipe/style/index.d.ts +1 -0
- package/lib/swipe/style/index.js +2 -0
- package/lib/swipe/types.d.ts +39 -0
- package/lib/swipe/types.js +15 -0
- package/lib/swipe-cell/SwipeCell.d.ts +44 -0
- package/lib/swipe-cell/SwipeCell.js +182 -0
- package/lib/swipe-cell/index.css +1 -0
- package/lib/swipe-cell/index.d.ts +39 -0
- package/lib/swipe-cell/index.js +35 -0
- package/lib/swipe-cell/style/index.d.ts +1 -0
- package/lib/swipe-cell/style/index.js +2 -0
- package/lib/swipe-cell/types.d.ts +9 -0
- package/lib/swipe-cell/types.js +15 -0
- package/lib/swipe-item/SwipeItem.d.ts +2 -0
- package/lib/swipe-item/SwipeItem.js +101 -0
- package/lib/swipe-item/index.css +1 -0
- package/lib/swipe-item/index.d.ts +7 -0
- package/lib/swipe-item/index.js +33 -0
- package/lib/swipe-item/style/index.d.ts +1 -0
- package/lib/swipe-item/style/index.js +3 -0
- package/lib/switch/Switch.d.ts +58 -0
- package/lib/switch/Switch.js +105 -0
- package/lib/switch/index.css +1 -0
- package/lib/switch/index.d.ts +48 -0
- package/lib/switch/index.js +35 -0
- package/lib/switch/style/index.d.ts +1 -0
- package/lib/switch/style/index.js +3 -0
- package/lib/switch/types.d.ts +12 -0
- package/lib/switch/types.js +15 -0
- package/lib/tab/Tab.d.ts +58 -0
- package/lib/tab/Tab.js +143 -0
- package/lib/tab/index.css +1 -0
- package/lib/tab/index.d.ts +46 -0
- package/lib/tab/index.js +35 -0
- package/lib/tab/style/index.d.ts +1 -0
- package/lib/tab/style/index.js +7 -0
- package/lib/tabbar/Tabbar.d.ts +90 -0
- package/lib/tabbar/Tabbar.js +104 -0
- package/lib/tabbar/index.css +1 -0
- package/lib/tabbar/index.d.ts +66 -0
- package/lib/tabbar/index.js +35 -0
- package/lib/tabbar/style/index.d.ts +1 -0
- package/lib/tabbar/style/index.js +2 -0
- package/lib/tabbar/types.d.ts +5 -0
- package/lib/tabbar/types.js +15 -0
- package/lib/tabbar-item/TabbarItem.d.ts +44 -0
- package/lib/tabbar-item/TabbarItem.js +140 -0
- package/lib/tabbar-item/index.css +1 -0
- package/lib/tabbar-item/index.d.ts +37 -0
- package/lib/tabbar-item/index.js +35 -0
- package/lib/tabbar-item/style/index.d.ts +1 -0
- package/lib/tabbar-item/style/index.js +5 -0
- package/lib/tabbar-item/types.d.ts +9 -0
- package/lib/tabbar-item/types.js +15 -0
- package/lib/tabs/Tabs.d.ts +154 -0
- package/lib/tabs/Tabs.js +391 -0
- package/lib/tabs/TabsContent.d.ts +43 -0
- package/lib/tabs/TabsContent.js +87 -0
- package/lib/tabs/TabsTitle.d.ts +45 -0
- package/lib/tabs/TabsTitle.js +109 -0
- package/lib/tabs/index.css +1 -0
- package/lib/tabs/index.d.ts +115 -0
- package/lib/tabs/index.js +35 -0
- package/lib/tabs/style/index.d.ts +1 -0
- package/lib/tabs/style/index.js +5 -0
- package/lib/tabs/types.d.ts +37 -0
- package/lib/tabs/types.js +15 -0
- package/lib/tabs/utils.d.ts +3 -0
- package/lib/tabs/utils.js +56 -0
- package/lib/tag/Tag.d.ts +63 -0
- package/lib/tag/Tag.js +98 -0
- package/lib/tag/index.css +1 -0
- package/lib/tag/index.d.ts +51 -0
- package/lib/tag/index.js +35 -0
- package/lib/tag/style/index.d.ts +1 -0
- package/lib/tag/style/index.js +4 -0
- package/lib/tag/types.d.ts +20 -0
- package/lib/tag/types.js +15 -0
- package/lib/time-picker/TimePicker.d.ts +217 -0
- package/lib/time-picker/TimePicker.js +95 -0
- package/lib/time-picker/index.d.ts +159 -0
- package/lib/time-picker/index.js +35 -0
- package/lib/time-picker/style/index.d.ts +1 -0
- package/lib/time-picker/style/index.js +10 -0
- package/lib/toast/Toast.d.ts +115 -0
- package/lib/toast/Toast.js +146 -0
- package/lib/toast/function-call.d.ts +10 -0
- package/lib/toast/function-call.js +167 -0
- package/lib/toast/index.css +1 -0
- package/lib/toast/index.d.ts +87 -0
- package/lib/toast/index.js +44 -0
- package/lib/toast/lock-click.d.ts +1 -0
- package/lib/toast/lock-click.js +36 -0
- package/lib/toast/style/index.d.ts +1 -0
- package/lib/toast/style/index.js +7 -0
- package/lib/toast/types.d.ts +55 -0
- package/lib/toast/types.js +15 -0
- package/lib/tree-select/TreeSelect.d.ts +106 -0
- package/lib/tree-select/TreeSelect.js +122 -0
- package/lib/tree-select/index.css +1 -0
- package/lib/tree-select/index.d.ts +72 -0
- package/lib/tree-select/index.js +35 -0
- package/lib/tree-select/style/index.d.ts +1 -0
- package/lib/tree-select/style/index.js +6 -0
- package/lib/tree-select/types.d.ts +10 -0
- package/lib/tree-select/types.js +15 -0
- package/lib/uploader/Uploader.d.ts +213 -0
- package/lib/uploader/Uploader.js +274 -0
- package/lib/uploader/UploaderPreviewItem.d.ts +36 -0
- package/lib/uploader/UploaderPreviewItem.js +147 -0
- package/lib/uploader/index.css +1 -0
- package/lib/uploader/index.d.ts +155 -0
- package/lib/uploader/index.js +35 -0
- package/lib/uploader/style/index.d.ts +1 -0
- package/lib/uploader/style/index.js +11 -0
- package/lib/uploader/types.d.ts +58 -0
- package/lib/uploader/types.js +15 -0
- package/lib/uploader/utils.d.ts +11 -0
- package/lib/uploader/utils.js +88 -0
- package/lib/utils/basic.d.ts +18 -0
- package/lib/utils/basic.js +52 -0
- package/lib/utils/constant.d.ts +12 -0
- package/lib/utils/constant.js +41 -0
- package/lib/utils/create.d.ts +17 -0
- package/lib/utils/create.js +78 -0
- package/lib/utils/deep-assign.d.ts +3 -0
- package/lib/utils/deep-assign.js +41 -0
- package/lib/utils/deep-clone.d.ts +1 -0
- package/lib/utils/deep-clone.js +39 -0
- package/lib/utils/dom.d.ts +12 -0
- package/lib/utils/dom.js +86 -0
- package/lib/utils/format.d.ts +13 -0
- package/lib/utils/format.js +139 -0
- package/lib/utils/index.d.ts +9 -0
- package/lib/utils/index.js +25 -0
- package/lib/utils/interceptor.d.ts +6 -0
- package/lib/utils/interceptor.js +48 -0
- package/lib/utils/mount-component.d.ts +14 -0
- package/lib/utils/mount-component.js +58 -0
- package/lib/utils/props.d.ts +31 -0
- package/lib/utils/props.js +55 -0
- package/lib/utils/validate.d.ts +9 -0
- package/lib/utils/validate.js +41 -0
- package/lib/utils/with-install.d.ts +13 -0
- package/lib/utils/with-install.js +33 -0
- package/lib/vant.cjs.js +1 -1
- package/lib/vant.es.js +1 -1
- package/lib/vant.js +1 -1
- package/lib/vant.min.js +1 -1
- package/lib/vue-sfc-shim.d.ts +6 -0
- package/lib/vue-tsx-shim.d.ts +23 -0
- package/lib/web-types.json +1 -1
- package/package.json +1 -1
@@ -0,0 +1,81 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __export = (target, all) => {
|
6
|
+
for (var name2 in all)
|
7
|
+
__defProp(target, name2, { get: all[name2], enumerable: true });
|
8
|
+
};
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
11
|
+
for (let key of __getOwnPropNames(from))
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
14
|
+
}
|
15
|
+
return to;
|
16
|
+
};
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
18
|
+
var stdin_exports = {};
|
19
|
+
__export(stdin_exports, {
|
20
|
+
default: () => stdin_default
|
21
|
+
});
|
22
|
+
module.exports = __toCommonJS(stdin_exports);
|
23
|
+
var import_vue = require("vue");
|
24
|
+
var import_vue2 = require("vue");
|
25
|
+
var import_utils = require("../utils");
|
26
|
+
var import_utils2 = require("./utils");
|
27
|
+
const [name] = (0, import_utils.createNamespace)("calendar-header");
|
28
|
+
var stdin_default = (0, import_vue2.defineComponent)({
|
29
|
+
name,
|
30
|
+
props: {
|
31
|
+
date: Date,
|
32
|
+
title: String,
|
33
|
+
subtitle: String,
|
34
|
+
showTitle: Boolean,
|
35
|
+
showSubtitle: Boolean,
|
36
|
+
firstDayOfWeek: Number
|
37
|
+
},
|
38
|
+
emits: ["clickSubtitle"],
|
39
|
+
setup(props, {
|
40
|
+
slots,
|
41
|
+
emit
|
42
|
+
}) {
|
43
|
+
const renderTitle = () => {
|
44
|
+
if (props.showTitle) {
|
45
|
+
const text = props.title || (0, import_utils2.t)("title");
|
46
|
+
const title = slots.title ? slots.title() : text;
|
47
|
+
return (0, import_vue.createVNode)("div", {
|
48
|
+
"class": (0, import_utils2.bem)("header-title")
|
49
|
+
}, [title]);
|
50
|
+
}
|
51
|
+
};
|
52
|
+
const onClickSubtitle = (event) => emit("clickSubtitle", event);
|
53
|
+
const renderSubtitle = () => {
|
54
|
+
if (props.showSubtitle) {
|
55
|
+
const title = slots.subtitle ? slots.subtitle({
|
56
|
+
date: props.date,
|
57
|
+
text: props.subtitle
|
58
|
+
}) : props.subtitle;
|
59
|
+
return (0, import_vue.createVNode)("div", {
|
60
|
+
"class": (0, import_utils2.bem)("header-subtitle"),
|
61
|
+
"onClick": onClickSubtitle
|
62
|
+
}, [title]);
|
63
|
+
}
|
64
|
+
};
|
65
|
+
const renderWeekDays = () => {
|
66
|
+
const {
|
67
|
+
firstDayOfWeek
|
68
|
+
} = props;
|
69
|
+
const weekdays = (0, import_utils2.t)("weekdays");
|
70
|
+
const renderWeekDays2 = [...weekdays.slice(firstDayOfWeek, 7), ...weekdays.slice(0, firstDayOfWeek)];
|
71
|
+
return (0, import_vue.createVNode)("div", {
|
72
|
+
"class": (0, import_utils2.bem)("weekdays")
|
73
|
+
}, [renderWeekDays2.map((text) => (0, import_vue.createVNode)("span", {
|
74
|
+
"class": (0, import_utils2.bem)("weekday")
|
75
|
+
}, [text]))]);
|
76
|
+
};
|
77
|
+
return () => (0, import_vue.createVNode)("div", {
|
78
|
+
"class": (0, import_utils2.bem)("header")
|
79
|
+
}, [renderTitle(), renderSubtitle(), renderWeekDays()]);
|
80
|
+
}
|
81
|
+
});
|
@@ -0,0 +1,86 @@
|
|
1
|
+
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
|
+
import type { CalendarType, CalendarDayItem } from './types';
|
3
|
+
declare const calendarMonthProps: {
|
4
|
+
date: {
|
5
|
+
type: DateConstructor;
|
6
|
+
required: true;
|
7
|
+
};
|
8
|
+
type: PropType<CalendarType>;
|
9
|
+
color: StringConstructor;
|
10
|
+
minDate: {
|
11
|
+
type: DateConstructor;
|
12
|
+
required: true;
|
13
|
+
};
|
14
|
+
maxDate: {
|
15
|
+
type: DateConstructor;
|
16
|
+
required: true;
|
17
|
+
};
|
18
|
+
showMark: BooleanConstructor;
|
19
|
+
rowHeight: (NumberConstructor | StringConstructor)[];
|
20
|
+
formatter: PropType<(item: CalendarDayItem) => CalendarDayItem>;
|
21
|
+
lazyRender: BooleanConstructor;
|
22
|
+
currentDate: PropType<Date | Date[] | null>;
|
23
|
+
allowSameDay: BooleanConstructor;
|
24
|
+
showSubtitle: BooleanConstructor;
|
25
|
+
showMonthTitle: BooleanConstructor;
|
26
|
+
firstDayOfWeek: NumberConstructor;
|
27
|
+
};
|
28
|
+
export type CalendarMonthProps = ExtractPropTypes<typeof calendarMonthProps>;
|
29
|
+
declare const _default: import("vue").DefineComponent<{
|
30
|
+
date: {
|
31
|
+
type: DateConstructor;
|
32
|
+
required: true;
|
33
|
+
};
|
34
|
+
type: PropType<CalendarType>;
|
35
|
+
color: StringConstructor;
|
36
|
+
minDate: {
|
37
|
+
type: DateConstructor;
|
38
|
+
required: true;
|
39
|
+
};
|
40
|
+
maxDate: {
|
41
|
+
type: DateConstructor;
|
42
|
+
required: true;
|
43
|
+
};
|
44
|
+
showMark: BooleanConstructor;
|
45
|
+
rowHeight: (NumberConstructor | StringConstructor)[];
|
46
|
+
formatter: PropType<(item: CalendarDayItem) => CalendarDayItem>;
|
47
|
+
lazyRender: BooleanConstructor;
|
48
|
+
currentDate: PropType<Date | Date[] | null>;
|
49
|
+
allowSameDay: BooleanConstructor;
|
50
|
+
showSubtitle: BooleanConstructor;
|
51
|
+
showMonthTitle: BooleanConstructor;
|
52
|
+
firstDayOfWeek: NumberConstructor;
|
53
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
54
|
+
date: {
|
55
|
+
type: DateConstructor;
|
56
|
+
required: true;
|
57
|
+
};
|
58
|
+
type: PropType<CalendarType>;
|
59
|
+
color: StringConstructor;
|
60
|
+
minDate: {
|
61
|
+
type: DateConstructor;
|
62
|
+
required: true;
|
63
|
+
};
|
64
|
+
maxDate: {
|
65
|
+
type: DateConstructor;
|
66
|
+
required: true;
|
67
|
+
};
|
68
|
+
showMark: BooleanConstructor;
|
69
|
+
rowHeight: (NumberConstructor | StringConstructor)[];
|
70
|
+
formatter: PropType<(item: CalendarDayItem) => CalendarDayItem>;
|
71
|
+
lazyRender: BooleanConstructor;
|
72
|
+
currentDate: PropType<Date | Date[] | null>;
|
73
|
+
allowSameDay: BooleanConstructor;
|
74
|
+
showSubtitle: BooleanConstructor;
|
75
|
+
showMonthTitle: BooleanConstructor;
|
76
|
+
firstDayOfWeek: NumberConstructor;
|
77
|
+
}>> & {
|
78
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
79
|
+
}, {
|
80
|
+
lazyRender: boolean;
|
81
|
+
showMark: boolean;
|
82
|
+
allowSameDay: boolean;
|
83
|
+
showSubtitle: boolean;
|
84
|
+
showMonthTitle: boolean;
|
85
|
+
}>;
|
86
|
+
export default _default;
|
@@ -0,0 +1,233 @@
|
|
1
|
+
var __create = Object.create;
|
2
|
+
var __defProp = Object.defineProperty;
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
+
var __export = (target, all) => {
|
8
|
+
for (var name2 in all)
|
9
|
+
__defProp(target, name2, { get: all[name2], enumerable: true });
|
10
|
+
};
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
16
|
+
}
|
17
|
+
return to;
|
18
|
+
};
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
21
|
+
mod
|
22
|
+
));
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
24
|
+
var stdin_exports = {};
|
25
|
+
__export(stdin_exports, {
|
26
|
+
default: () => stdin_default
|
27
|
+
});
|
28
|
+
module.exports = __toCommonJS(stdin_exports);
|
29
|
+
var import_vue = require("vue");
|
30
|
+
var import_vue2 = require("vue");
|
31
|
+
var import_utils = require("../utils");
|
32
|
+
var import_utils2 = require("../date-picker/utils");
|
33
|
+
var import_utils3 = require("./utils");
|
34
|
+
var import_use = require("@vant/use");
|
35
|
+
var import_use_expose = require("../composables/use-expose");
|
36
|
+
var import_use_height = require("../composables/use-height");
|
37
|
+
var import_CalendarDay = __toESM(require("./CalendarDay"));
|
38
|
+
const [name] = (0, import_utils.createNamespace)("calendar-month");
|
39
|
+
const calendarMonthProps = {
|
40
|
+
date: (0, import_utils.makeRequiredProp)(Date),
|
41
|
+
type: String,
|
42
|
+
color: String,
|
43
|
+
minDate: (0, import_utils.makeRequiredProp)(Date),
|
44
|
+
maxDate: (0, import_utils.makeRequiredProp)(Date),
|
45
|
+
showMark: Boolean,
|
46
|
+
rowHeight: import_utils.numericProp,
|
47
|
+
formatter: Function,
|
48
|
+
lazyRender: Boolean,
|
49
|
+
currentDate: [Date, Array],
|
50
|
+
allowSameDay: Boolean,
|
51
|
+
showSubtitle: Boolean,
|
52
|
+
showMonthTitle: Boolean,
|
53
|
+
firstDayOfWeek: Number
|
54
|
+
};
|
55
|
+
var stdin_default = (0, import_vue2.defineComponent)({
|
56
|
+
name,
|
57
|
+
props: calendarMonthProps,
|
58
|
+
emits: ["click"],
|
59
|
+
setup(props, {
|
60
|
+
emit,
|
61
|
+
slots
|
62
|
+
}) {
|
63
|
+
const [visible, setVisible] = (0, import_use.useToggle)();
|
64
|
+
const daysRef = (0, import_vue2.ref)();
|
65
|
+
const monthRef = (0, import_vue2.ref)();
|
66
|
+
const height = (0, import_use_height.useHeight)(monthRef);
|
67
|
+
const title = (0, import_vue2.computed)(() => (0, import_utils3.formatMonthTitle)(props.date));
|
68
|
+
const rowHeight = (0, import_vue2.computed)(() => (0, import_utils.addUnit)(props.rowHeight));
|
69
|
+
const offset = (0, import_vue2.computed)(() => {
|
70
|
+
const realDay = props.date.getDay();
|
71
|
+
if (props.firstDayOfWeek) {
|
72
|
+
return (realDay + 7 - props.firstDayOfWeek) % 7;
|
73
|
+
}
|
74
|
+
return realDay;
|
75
|
+
});
|
76
|
+
const totalDay = (0, import_vue2.computed)(() => (0, import_utils2.getMonthEndDay)(props.date.getFullYear(), props.date.getMonth() + 1));
|
77
|
+
const shouldRender = (0, import_vue2.computed)(() => visible.value || !props.lazyRender);
|
78
|
+
const getTitle = () => title.value;
|
79
|
+
const getMultipleDayType = (day) => {
|
80
|
+
const isSelected = (date) => props.currentDate.some((item) => (0, import_utils3.compareDay)(item, date) === 0);
|
81
|
+
if (isSelected(day)) {
|
82
|
+
const prevDay = (0, import_utils3.getPrevDay)(day);
|
83
|
+
const nextDay = (0, import_utils3.getNextDay)(day);
|
84
|
+
const prevSelected = isSelected(prevDay);
|
85
|
+
const nextSelected = isSelected(nextDay);
|
86
|
+
if (prevSelected && nextSelected) {
|
87
|
+
return "multiple-middle";
|
88
|
+
}
|
89
|
+
if (prevSelected) {
|
90
|
+
return "end";
|
91
|
+
}
|
92
|
+
if (nextSelected) {
|
93
|
+
return "start";
|
94
|
+
}
|
95
|
+
return "multiple-selected";
|
96
|
+
}
|
97
|
+
return "";
|
98
|
+
};
|
99
|
+
const getRangeDayType = (day) => {
|
100
|
+
const [startDay, endDay] = props.currentDate;
|
101
|
+
if (!startDay) {
|
102
|
+
return "";
|
103
|
+
}
|
104
|
+
const compareToStart = (0, import_utils3.compareDay)(day, startDay);
|
105
|
+
if (!endDay) {
|
106
|
+
return compareToStart === 0 ? "start" : "";
|
107
|
+
}
|
108
|
+
const compareToEnd = (0, import_utils3.compareDay)(day, endDay);
|
109
|
+
if (props.allowSameDay && compareToStart === 0 && compareToEnd === 0) {
|
110
|
+
return "start-end";
|
111
|
+
}
|
112
|
+
if (compareToStart === 0) {
|
113
|
+
return "start";
|
114
|
+
}
|
115
|
+
if (compareToEnd === 0) {
|
116
|
+
return "end";
|
117
|
+
}
|
118
|
+
if (compareToStart > 0 && compareToEnd < 0) {
|
119
|
+
return "middle";
|
120
|
+
}
|
121
|
+
return "";
|
122
|
+
};
|
123
|
+
const getDayType = (day) => {
|
124
|
+
const {
|
125
|
+
type,
|
126
|
+
minDate,
|
127
|
+
maxDate,
|
128
|
+
currentDate
|
129
|
+
} = props;
|
130
|
+
if ((0, import_utils3.compareDay)(day, minDate) < 0 || (0, import_utils3.compareDay)(day, maxDate) > 0) {
|
131
|
+
return "disabled";
|
132
|
+
}
|
133
|
+
if (currentDate === null) {
|
134
|
+
return "";
|
135
|
+
}
|
136
|
+
if (Array.isArray(currentDate)) {
|
137
|
+
if (type === "multiple") {
|
138
|
+
return getMultipleDayType(day);
|
139
|
+
}
|
140
|
+
if (type === "range") {
|
141
|
+
return getRangeDayType(day);
|
142
|
+
}
|
143
|
+
} else if (type === "single") {
|
144
|
+
return (0, import_utils3.compareDay)(day, currentDate) === 0 ? "selected" : "";
|
145
|
+
}
|
146
|
+
return "";
|
147
|
+
};
|
148
|
+
const getBottomInfo = (dayType) => {
|
149
|
+
if (props.type === "range") {
|
150
|
+
if (dayType === "start" || dayType === "end") {
|
151
|
+
return (0, import_utils3.t)(dayType);
|
152
|
+
}
|
153
|
+
if (dayType === "start-end") {
|
154
|
+
return `${(0, import_utils3.t)("start")}/${(0, import_utils3.t)("end")}`;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
};
|
158
|
+
const renderTitle = () => {
|
159
|
+
if (props.showMonthTitle) {
|
160
|
+
return (0, import_vue.createVNode)("div", {
|
161
|
+
"class": (0, import_utils3.bem)("month-title")
|
162
|
+
}, [title.value]);
|
163
|
+
}
|
164
|
+
};
|
165
|
+
const renderMark = () => {
|
166
|
+
if (props.showMark && shouldRender.value) {
|
167
|
+
return (0, import_vue.createVNode)("div", {
|
168
|
+
"class": (0, import_utils3.bem)("month-mark")
|
169
|
+
}, [props.date.getMonth() + 1]);
|
170
|
+
}
|
171
|
+
};
|
172
|
+
const placeholders = (0, import_vue2.computed)(() => {
|
173
|
+
const count = Math.ceil((totalDay.value + offset.value) / 7);
|
174
|
+
return Array(count).fill({
|
175
|
+
type: "placeholder"
|
176
|
+
});
|
177
|
+
});
|
178
|
+
const days = (0, import_vue2.computed)(() => {
|
179
|
+
const days2 = [];
|
180
|
+
const year = props.date.getFullYear();
|
181
|
+
const month = props.date.getMonth();
|
182
|
+
for (let day = 1; day <= totalDay.value; day++) {
|
183
|
+
const date = new Date(year, month, day);
|
184
|
+
const type = getDayType(date);
|
185
|
+
let config = {
|
186
|
+
date,
|
187
|
+
type,
|
188
|
+
text: day,
|
189
|
+
bottomInfo: getBottomInfo(type)
|
190
|
+
};
|
191
|
+
if (props.formatter) {
|
192
|
+
config = props.formatter(config);
|
193
|
+
}
|
194
|
+
days2.push(config);
|
195
|
+
}
|
196
|
+
return days2;
|
197
|
+
});
|
198
|
+
const disabledDays = (0, import_vue2.computed)(() => days.value.filter((day) => day.type === "disabled"));
|
199
|
+
const scrollToDate = (body, targetDate) => {
|
200
|
+
if (daysRef.value) {
|
201
|
+
const daysRect = (0, import_use.useRect)(daysRef.value);
|
202
|
+
const totalRows = placeholders.value.length;
|
203
|
+
const currentRow = Math.ceil((targetDate.getDate() + offset.value) / 7);
|
204
|
+
const rowOffset = (currentRow - 1) * daysRect.height / totalRows;
|
205
|
+
(0, import_utils.setScrollTop)(body, daysRect.top + rowOffset + body.scrollTop - (0, import_use.useRect)(body).top);
|
206
|
+
}
|
207
|
+
};
|
208
|
+
const renderDay = (item, index) => (0, import_vue.createVNode)(import_CalendarDay.default, {
|
209
|
+
"item": item,
|
210
|
+
"index": index,
|
211
|
+
"color": props.color,
|
212
|
+
"offset": offset.value,
|
213
|
+
"rowHeight": rowHeight.value,
|
214
|
+
"onClick": (item2) => emit("click", item2)
|
215
|
+
}, (0, import_utils.pick)(slots, ["top-info", "bottom-info"]));
|
216
|
+
const renderDays = () => (0, import_vue.createVNode)("div", {
|
217
|
+
"ref": daysRef,
|
218
|
+
"role": "grid",
|
219
|
+
"class": (0, import_utils3.bem)("days")
|
220
|
+
}, [renderMark(), (shouldRender.value ? days : placeholders).value.map(renderDay)]);
|
221
|
+
(0, import_use_expose.useExpose)({
|
222
|
+
getTitle,
|
223
|
+
getHeight: () => height.value,
|
224
|
+
setVisible,
|
225
|
+
scrollToDate,
|
226
|
+
disabledDays
|
227
|
+
});
|
228
|
+
return () => (0, import_vue.createVNode)("div", {
|
229
|
+
"class": (0, import_utils3.bem)("month"),
|
230
|
+
"ref": monthRef
|
231
|
+
}, [renderTitle(), renderDays()]);
|
232
|
+
}
|
233
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
:root{--van-calendar-background: var(--van-background-2);--van-calendar-popup-height: 80%;--van-calendar-header-shadow: 0 2px 10px rgba(125, 126, 128, .16);--van-calendar-header-title-height: 44px;--van-calendar-header-title-font-size: var(--van-font-size-lg);--van-calendar-header-subtitle-font-size: var(--van-font-size-md);--van-calendar-weekdays-height: 30px;--van-calendar-weekdays-font-size: var(--van-font-size-sm);--van-calendar-month-title-font-size: var(--van-font-size-md);--van-calendar-month-mark-color: rgba(242, 243, 245, .8);--van-calendar-month-mark-font-size: 160px;--van-calendar-day-height: 64px;--van-calendar-day-font-size: var(--van-font-size-lg);--van-calendar-day-margin-bottom: 4px;--van-calendar-range-edge-color: var(--van-white);--van-calendar-range-edge-background: var(--van-primary-color);--van-calendar-range-middle-color: var(--van-primary-color);--van-calendar-range-middle-background-opacity: .1;--van-calendar-selected-day-size: 54px;--van-calendar-selected-day-color: var(--van-white);--van-calendar-info-font-size: var(--van-font-size-xs);--van-calendar-info-line-height: var(--van-line-height-xs);--van-calendar-selected-day-background: var(--van-primary-color);--van-calendar-day-disabled-color: var(--van-text-color-3);--van-calendar-confirm-button-height: 36px;--van-calendar-confirm-button-margin: 7px 0}.van-theme-dark{--van-calendar-month-mark-color: rgba(100, 101, 102, .2);--van-calendar-day-disabled-color: var(--van-gray-7)}.van-calendar{display:flex;flex-direction:column;height:100%;background:var(--van-calendar-background)}.van-calendar__popup.van-popup--top,.van-calendar__popup.van-popup--bottom{height:var(--van-calendar-popup-height)}.van-calendar__popup.van-popup--left,.van-calendar__popup.van-popup--right{height:100%}.van-calendar__popup .van-popup__close-icon{top:11px}.van-calendar__header{flex-shrink:0;box-shadow:var(--van-calendar-header-shadow)}.van-calendar__month-title,.van-calendar__header-title,.van-calendar__header-subtitle{color:var(--van-text-color);height:var(--van-calendar-header-title-height);font-weight:var(--van-font-bold);line-height:var(--van-calendar-header-title-height);text-align:center}.van-calendar__header-title{font-size:var(--van-calendar-header-title-font-size)}.van-calendar__header-subtitle{font-size:var(--van-calendar-header-subtitle-font-size)}.van-calendar__month-title{font-size:var(--van-calendar-month-title-font-size)}.van-calendar__weekdays{display:flex}.van-calendar__weekday{flex:1;font-size:var(--van-calendar-weekdays-font-size);line-height:var(--van-calendar-weekdays-height);text-align:center}.van-calendar__body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__days{position:relative;display:flex;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.van-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:var(--van-calendar-month-mark-color);font-size:var(--van-calendar-month-mark-font-size);transform:translate(-50%,-50%);pointer-events:none}.van-calendar__day,.van-calendar__selected-day{display:flex;align-items:center;justify-content:center;text-align:center}.van-calendar__day{position:relative;width:14.285%;height:var(--van-calendar-day-height);font-size:var(--van-calendar-day-font-size);margin-bottom:var(--van-calendar-day-margin-bottom);cursor:pointer}.van-calendar__day--end,.van-calendar__day--start,.van-calendar__day--start-end,.van-calendar__day--multiple-middle,.van-calendar__day--multiple-selected{color:var(--van-calendar-range-edge-color);background:var(--van-calendar-range-edge-background)}.van-calendar__day--start{border-radius:var(--van-radius-md) 0 0 var(--van-radius-md)}.van-calendar__day--end{border-radius:0 var(--van-radius-md) var(--van-radius-md) 0}.van-calendar__day--start-end,.van-calendar__day--multiple-selected{border-radius:var(--van-radius-md)}.van-calendar__day--middle{color:var(--van-calendar-range-middle-color)}.van-calendar__day--middle:after{position:absolute;top:0;right:0;bottom:0;left:0;background-color:currentColor;opacity:var(--van-calendar-range-middle-background-opacity);content:""}.van-calendar__day--disabled{color:var(--van-calendar-day-disabled-color);cursor:default}.van-calendar__top-info,.van-calendar__bottom-info{position:absolute;right:0;left:0;font-size:var(--van-calendar-info-font-size);line-height:var(--van-calendar-info-line-height)}@media (max-width: 350px){.van-calendar__top-info,.van-calendar__bottom-info{font-size:9px}}.van-calendar__top-info{top:6px}.van-calendar__bottom-info{bottom:6px}.van-calendar__selected-day{width:var(--van-calendar-selected-day-size);height:var(--van-calendar-selected-day-size);color:var(--van-calendar-selected-day-color);background:var(--van-calendar-selected-day-background);border-radius:var(--van-radius-md)}.van-calendar__footer{flex-shrink:0;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md)}.van-calendar__confirm{height:var(--van-calendar-confirm-button-height);margin:var(--van-calendar-confirm-button-margin)}
|
@@ -0,0 +1,210 @@
|
|
1
|
+
export declare const Calendar: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
|
+
show: BooleanConstructor;
|
3
|
+
type: {
|
4
|
+
type: import("vue").PropType<import("./types").CalendarType>;
|
5
|
+
default: import("./types").CalendarType;
|
6
|
+
};
|
7
|
+
title: StringConstructor;
|
8
|
+
color: StringConstructor;
|
9
|
+
round: {
|
10
|
+
type: BooleanConstructor;
|
11
|
+
default: true;
|
12
|
+
};
|
13
|
+
readonly: BooleanConstructor;
|
14
|
+
poppable: {
|
15
|
+
type: BooleanConstructor;
|
16
|
+
default: true;
|
17
|
+
};
|
18
|
+
maxRange: {
|
19
|
+
type: (NumberConstructor | StringConstructor)[];
|
20
|
+
default: null;
|
21
|
+
};
|
22
|
+
position: {
|
23
|
+
type: import("vue").PropType<import("..").PopupPosition>;
|
24
|
+
default: import("..").PopupPosition;
|
25
|
+
};
|
26
|
+
teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
27
|
+
showMark: {
|
28
|
+
type: BooleanConstructor;
|
29
|
+
default: true;
|
30
|
+
};
|
31
|
+
showTitle: {
|
32
|
+
type: BooleanConstructor;
|
33
|
+
default: true;
|
34
|
+
};
|
35
|
+
formatter: import("vue").PropType<(item: import("./types").CalendarDayItem) => import("./types").CalendarDayItem>;
|
36
|
+
rowHeight: (NumberConstructor | StringConstructor)[];
|
37
|
+
confirmText: StringConstructor;
|
38
|
+
rangePrompt: StringConstructor;
|
39
|
+
lazyRender: {
|
40
|
+
type: BooleanConstructor;
|
41
|
+
default: true;
|
42
|
+
};
|
43
|
+
showConfirm: {
|
44
|
+
type: BooleanConstructor;
|
45
|
+
default: true;
|
46
|
+
};
|
47
|
+
defaultDate: import("vue").PropType<Date | Date[] | null>;
|
48
|
+
allowSameDay: BooleanConstructor;
|
49
|
+
showSubtitle: {
|
50
|
+
type: BooleanConstructor;
|
51
|
+
default: true;
|
52
|
+
};
|
53
|
+
closeOnPopstate: {
|
54
|
+
type: BooleanConstructor;
|
55
|
+
default: true;
|
56
|
+
};
|
57
|
+
showRangePrompt: {
|
58
|
+
type: BooleanConstructor;
|
59
|
+
default: true;
|
60
|
+
};
|
61
|
+
confirmDisabledText: StringConstructor;
|
62
|
+
closeOnClickOverlay: {
|
63
|
+
type: BooleanConstructor;
|
64
|
+
default: true;
|
65
|
+
};
|
66
|
+
safeAreaInsetTop: BooleanConstructor;
|
67
|
+
safeAreaInsetBottom: {
|
68
|
+
type: BooleanConstructor;
|
69
|
+
default: true;
|
70
|
+
};
|
71
|
+
minDate: {
|
72
|
+
type: DateConstructor;
|
73
|
+
validator: (val: unknown) => val is Date;
|
74
|
+
default: () => Date;
|
75
|
+
};
|
76
|
+
maxDate: {
|
77
|
+
type: DateConstructor;
|
78
|
+
validator: (val: unknown) => val is Date;
|
79
|
+
default: () => Date;
|
80
|
+
};
|
81
|
+
firstDayOfWeek: {
|
82
|
+
type: (NumberConstructor | StringConstructor)[];
|
83
|
+
default: number;
|
84
|
+
validator: (val: number) => boolean;
|
85
|
+
};
|
86
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "confirm" | "clickSubtitle" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "confirm" | "clickSubtitle" | "unselect" | "monthShow" | "overRange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
87
|
+
show: BooleanConstructor;
|
88
|
+
type: {
|
89
|
+
type: import("vue").PropType<import("./types").CalendarType>;
|
90
|
+
default: import("./types").CalendarType;
|
91
|
+
};
|
92
|
+
title: StringConstructor;
|
93
|
+
color: StringConstructor;
|
94
|
+
round: {
|
95
|
+
type: BooleanConstructor;
|
96
|
+
default: true;
|
97
|
+
};
|
98
|
+
readonly: BooleanConstructor;
|
99
|
+
poppable: {
|
100
|
+
type: BooleanConstructor;
|
101
|
+
default: true;
|
102
|
+
};
|
103
|
+
maxRange: {
|
104
|
+
type: (NumberConstructor | StringConstructor)[];
|
105
|
+
default: null;
|
106
|
+
};
|
107
|
+
position: {
|
108
|
+
type: import("vue").PropType<import("..").PopupPosition>;
|
109
|
+
default: import("..").PopupPosition;
|
110
|
+
};
|
111
|
+
teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
112
|
+
showMark: {
|
113
|
+
type: BooleanConstructor;
|
114
|
+
default: true;
|
115
|
+
};
|
116
|
+
showTitle: {
|
117
|
+
type: BooleanConstructor;
|
118
|
+
default: true;
|
119
|
+
};
|
120
|
+
formatter: import("vue").PropType<(item: import("./types").CalendarDayItem) => import("./types").CalendarDayItem>;
|
121
|
+
rowHeight: (NumberConstructor | StringConstructor)[];
|
122
|
+
confirmText: StringConstructor;
|
123
|
+
rangePrompt: StringConstructor;
|
124
|
+
lazyRender: {
|
125
|
+
type: BooleanConstructor;
|
126
|
+
default: true;
|
127
|
+
};
|
128
|
+
showConfirm: {
|
129
|
+
type: BooleanConstructor;
|
130
|
+
default: true;
|
131
|
+
};
|
132
|
+
defaultDate: import("vue").PropType<Date | Date[] | null>;
|
133
|
+
allowSameDay: BooleanConstructor;
|
134
|
+
showSubtitle: {
|
135
|
+
type: BooleanConstructor;
|
136
|
+
default: true;
|
137
|
+
};
|
138
|
+
closeOnPopstate: {
|
139
|
+
type: BooleanConstructor;
|
140
|
+
default: true;
|
141
|
+
};
|
142
|
+
showRangePrompt: {
|
143
|
+
type: BooleanConstructor;
|
144
|
+
default: true;
|
145
|
+
};
|
146
|
+
confirmDisabledText: StringConstructor;
|
147
|
+
closeOnClickOverlay: {
|
148
|
+
type: BooleanConstructor;
|
149
|
+
default: true;
|
150
|
+
};
|
151
|
+
safeAreaInsetTop: BooleanConstructor;
|
152
|
+
safeAreaInsetBottom: {
|
153
|
+
type: BooleanConstructor;
|
154
|
+
default: true;
|
155
|
+
};
|
156
|
+
minDate: {
|
157
|
+
type: DateConstructor;
|
158
|
+
validator: (val: unknown) => val is Date;
|
159
|
+
default: () => Date;
|
160
|
+
};
|
161
|
+
maxDate: {
|
162
|
+
type: DateConstructor;
|
163
|
+
validator: (val: unknown) => val is Date;
|
164
|
+
default: () => Date;
|
165
|
+
};
|
166
|
+
firstDayOfWeek: {
|
167
|
+
type: (NumberConstructor | StringConstructor)[];
|
168
|
+
default: number;
|
169
|
+
validator: (val: number) => boolean;
|
170
|
+
};
|
171
|
+
}>> & {
|
172
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
173
|
+
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
174
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
175
|
+
onClickSubtitle?: ((...args: any[]) => any) | undefined;
|
176
|
+
onUnselect?: ((...args: any[]) => any) | undefined;
|
177
|
+
onMonthShow?: ((...args: any[]) => any) | undefined;
|
178
|
+
onOverRange?: ((...args: any[]) => any) | undefined;
|
179
|
+
}, {
|
180
|
+
type: import("./types").CalendarType;
|
181
|
+
position: import("..").PopupPosition;
|
182
|
+
round: boolean;
|
183
|
+
readonly: boolean;
|
184
|
+
safeAreaInsetBottom: boolean;
|
185
|
+
show: boolean;
|
186
|
+
lazyRender: boolean;
|
187
|
+
closeOnClickOverlay: boolean;
|
188
|
+
closeOnPopstate: boolean;
|
189
|
+
safeAreaInsetTop: boolean;
|
190
|
+
poppable: boolean;
|
191
|
+
maxRange: string | number;
|
192
|
+
showMark: boolean;
|
193
|
+
showTitle: boolean;
|
194
|
+
showConfirm: boolean;
|
195
|
+
allowSameDay: boolean;
|
196
|
+
showSubtitle: boolean;
|
197
|
+
showRangePrompt: boolean;
|
198
|
+
minDate: Date;
|
199
|
+
maxDate: Date;
|
200
|
+
firstDayOfWeek: string | number;
|
201
|
+
}>>;
|
202
|
+
export default Calendar;
|
203
|
+
export { calendarProps } from './Calendar';
|
204
|
+
export type { CalendarProps } from './Calendar';
|
205
|
+
export type { CalendarType, CalendarDayItem, CalendarDayType, CalendarInstance, CalendarThemeVars, } from './types';
|
206
|
+
declare module 'vue' {
|
207
|
+
interface GlobalComponents {
|
208
|
+
VanCalendar: typeof Calendar;
|
209
|
+
}
|
210
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
var __create = Object.create;
|
2
|
+
var __defProp = Object.defineProperty;
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
+
var __export = (target, all) => {
|
8
|
+
for (var name in all)
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
10
|
+
};
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
16
|
+
}
|
17
|
+
return to;
|
18
|
+
};
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
21
|
+
mod
|
22
|
+
));
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
24
|
+
var stdin_exports = {};
|
25
|
+
__export(stdin_exports, {
|
26
|
+
Calendar: () => Calendar,
|
27
|
+
calendarProps: () => import_Calendar2.calendarProps,
|
28
|
+
default: () => stdin_default
|
29
|
+
});
|
30
|
+
module.exports = __toCommonJS(stdin_exports);
|
31
|
+
var import_utils = require("../utils");
|
32
|
+
var import_Calendar = __toESM(require("./Calendar"));
|
33
|
+
var import_Calendar2 = require("./Calendar");
|
34
|
+
const Calendar = (0, import_utils.withInstall)(import_Calendar.default);
|
35
|
+
var stdin_default = Calendar;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require("../../style/base.css");
|
2
|
+
require("../../badge/index.css");
|
3
|
+
require("../../icon/index.css");
|
4
|
+
require("../../loading/index.css");
|
5
|
+
require("../../button/index.css");
|
6
|
+
require("../../overlay/index.css");
|
7
|
+
require("../../popup/index.css");
|
8
|
+
require("../../toast/index.css");
|
9
|
+
require("../../sticky/index.css");
|
10
|
+
require("../../swipe/index.css");
|
11
|
+
require("../../swipe-item/index.css");
|
12
|
+
require("../../tabs/index.css");
|
13
|
+
require("../../tab/index.css");
|
14
|
+
require("../../picker/index.css");
|
15
|
+
require("../../picker-group/index.css");
|
16
|
+
require("../index.css");
|