vant 4.0.4 → 4.0.5
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/badge/Badge.mjs +12 -3
- package/es/form/Form.mjs +3 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/{lib/locale/lang/de-DE-formal.d.ts → es/locale/lang/mm-MN.d.ts} +1 -1
- package/es/locale/lang/mm-MN.mjs +64 -0
- package/{lib/locale/lang/bn-BD.d.ts → es/locale/lang/nl-NL.d.ts} +0 -0
- package/es/locale/lang/nl-NL.mjs +64 -0
- package/es/picker/index.css +1 -1
- package/lib/vant.cjs.js +63 -52
- package/lib/vant.es.js +63 -52
- package/lib/vant.js +62 -51
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +1 -1
- package/lib/action-bar/ActionBar.d.ts +0 -27
- package/lib/action-bar/ActionBar.js +0 -64
- package/lib/action-bar/index.css +0 -1
- package/lib/action-bar/index.d.ts +0 -25
- package/lib/action-bar/index.js +0 -35
- package/lib/action-bar/style/index.d.ts +0 -1
- package/lib/action-bar/style/index.js +0 -2
- package/lib/action-bar/types.d.ts +0 -4
- package/lib/action-bar/types.js +0 -15
- package/lib/action-bar-button/ActionBarButton.d.ts +0 -43
- package/lib/action-bar-button/ActionBarButton.js +0 -93
- package/lib/action-bar-button/index.css +0 -1
- package/lib/action-bar-button/index.d.ts +0 -36
- package/lib/action-bar-button/index.js +0 -35
- package/lib/action-bar-button/style/index.d.ts +0 -1
- package/lib/action-bar-button/style/index.js +0 -7
- package/lib/action-bar-button/types.d.ts +0 -5
- package/lib/action-bar-button/types.js +0 -15
- package/lib/action-bar-icon/ActionBarIcon.d.ts +0 -48
- package/lib/action-bar-icon/ActionBarIcon.js +0 -88
- package/lib/action-bar-icon/index.css +0 -1
- package/lib/action-bar-icon/index.d.ts +0 -39
- package/lib/action-bar-icon/index.js +0 -35
- package/lib/action-bar-icon/style/index.d.ts +0 -1
- package/lib/action-bar-icon/style/index.js +0 -5
- package/lib/action-bar-icon/types.d.ts +0 -10
- package/lib/action-bar-icon/types.js +0 -15
- package/lib/action-sheet/ActionSheet.d.ts +0 -194
- package/lib/action-sheet/ActionSheet.js +0 -151
- package/lib/action-sheet/index.css +0 -1
- package/lib/action-sheet/index.d.ts +0 -136
- package/lib/action-sheet/index.js +0 -35
- package/lib/action-sheet/style/index.d.ts +0 -1
- package/lib/action-sheet/style/index.js +0 -7
- package/lib/action-sheet/types.d.ts +0 -23
- package/lib/action-sheet/types.js +0 -15
- package/lib/address-edit/AddressEdit.d.ts +0 -157
- package/lib/address-edit/AddressEdit.js +0 -314
- package/lib/address-edit/AddressEditDetail.d.ts +0 -32
- package/lib/address-edit/AddressEditDetail.js +0 -95
- package/lib/address-edit/index.css +0 -1
- package/lib/address-edit/index.d.ts +0 -118
- package/lib/address-edit/index.js +0 -35
- package/lib/address-edit/style/index.d.ts +0 -1
- package/lib/address-edit/style/index.js +0 -19
- package/lib/address-edit/types.d.ts +0 -28
- package/lib/address-edit/types.js +0 -15
- package/lib/address-list/AddressList.d.ts +0 -69
- package/lib/address-list/AddressList.js +0 -108
- package/lib/address-list/AddressListItem.d.ts +0 -34
- package/lib/address-list/AddressListItem.js +0 -115
- package/lib/address-list/index.css +0 -1
- package/lib/address-list/index.d.ts +0 -57
- package/lib/address-list/index.js +0 -35
- package/lib/address-list/style/index.d.ts +0 -1
- package/lib/address-list/style/index.js +0 -11
- package/lib/address-list/types.d.ts +0 -15
- package/lib/address-list/types.js +0 -15
- package/lib/area/Area.d.ts +0 -136
- package/lib/area/Area.js +0 -96
- package/lib/area/index.d.ts +0 -102
- package/lib/area/index.js +0 -35
- package/lib/area/style/index.d.ts +0 -1
- package/lib/area/style/index.js +0 -10
- package/lib/area/types.d.ts +0 -9
- package/lib/area/types.js +0 -15
- package/lib/area/utils.d.ts +0 -6
- package/lib/area/utils.js +0 -111
- package/lib/back-top/BackTop.d.ts +0 -46
- package/lib/back-top/BackTop.js +0 -120
- package/lib/back-top/index.css +0 -1
- package/lib/back-top/index.d.ts +0 -39
- package/lib/back-top/index.js +0 -35
- package/lib/back-top/style/index.d.ts +0 -1
- package/lib/back-top/style/index.js +0 -4
- package/lib/back-top/types.d.ts +0 -6
- package/lib/back-top/types.js +0 -15
- package/lib/badge/Badge.d.ts +0 -66
- package/lib/badge/Badge.js +0 -115
- package/lib/badge/index.css +0 -1
- package/lib/badge/index.d.ts +0 -51
- package/lib/badge/index.js +0 -35
- package/lib/badge/style/index.d.ts +0 -1
- package/lib/badge/style/index.js +0 -2
- package/lib/badge/types.d.ts +0 -12
- package/lib/badge/types.js +0 -15
- package/lib/button/Button.d.ts +0 -140
- package/lib/button/Button.js +0 -168
- package/lib/button/index.css +0 -1
- package/lib/button/index.d.ts +0 -104
- package/lib/button/index.js +0 -35
- package/lib/button/style/index.d.ts +0 -1
- package/lib/button/style/index.js +0 -5
- package/lib/button/types.d.ts +0 -41
- package/lib/button/types.js +0 -15
- package/lib/calendar/Calendar.d.ts +0 -292
- package/lib/calendar/Calendar.js +0 -439
- package/lib/calendar/CalendarDay.d.ts +0 -32
- package/lib/calendar/CalendarDay.js +0 -148
- package/lib/calendar/CalendarHeader.d.ts +0 -21
- package/lib/calendar/CalendarHeader.js +0 -81
- package/lib/calendar/CalendarMonth.d.ts +0 -86
- package/lib/calendar/CalendarMonth.js +0 -233
- package/lib/calendar/index.css +0 -1
- package/lib/calendar/index.d.ts +0 -210
- package/lib/calendar/index.js +0 -35
- package/lib/calendar/style/index.d.ts +0 -1
- package/lib/calendar/style/index.js +0 -16
- package/lib/calendar/types.d.ts +0 -56
- package/lib/calendar/types.js +0 -15
- package/lib/calendar/utils.d.ts +0 -12
- package/lib/calendar/utils.js +0 -75
- package/lib/card/Card.d.ts +0 -56
- package/lib/card/Card.js +0 -146
- package/lib/card/index.css +0 -1
- package/lib/card/index.d.ts +0 -46
- package/lib/card/index.js +0 -35
- package/lib/card/style/index.d.ts +0 -1
- package/lib/card/style/index.js +0 -6
- package/lib/card/types.d.ts +0 -18
- package/lib/card/types.js +0 -15
- package/lib/cascader/Cascader.d.ts +0 -96
- package/lib/cascader/Cascader.js +0 -247
- package/lib/cascader/index.css +0 -1
- package/lib/cascader/index.d.ts +0 -74
- package/lib/cascader/index.js +0 -35
- package/lib/cascader/style/index.d.ts +0 -1
- package/lib/cascader/style/index.js +0 -9
- package/lib/cascader/types.d.ts +0 -34
- package/lib/cascader/types.js +0 -15
- package/lib/cell/Cell.d.ts +0 -136
- package/lib/cell/Cell.js +0 -148
- package/lib/cell/index.css +0 -1
- package/lib/cell/index.d.ts +0 -80
- package/lib/cell/index.js +0 -35
- package/lib/cell/style/index.d.ts +0 -1
- package/lib/cell/style/index.js +0 -4
- package/lib/cell/types.d.ts +0 -21
- package/lib/cell/types.js +0 -15
- package/lib/cell-group/CellGroup.d.ts +0 -29
- package/lib/cell-group/CellGroup.js +0 -63
- package/lib/cell-group/index.css +0 -1
- package/lib/cell-group/index.d.ts +0 -27
- package/lib/cell-group/index.js +0 -35
- package/lib/cell-group/style/index.d.ts +0 -1
- package/lib/cell-group/style/index.js +0 -2
- package/lib/cell-group/types.d.ts +0 -10
- package/lib/cell-group/types.js +0 -15
- package/lib/checkbox/Checkbox.d.ts +0 -64
- package/lib/checkbox/Checkbox.js +0 -107
- package/lib/checkbox/Checker.d.ts +0 -85
- package/lib/checkbox/Checker.js +0 -126
- package/lib/checkbox/index.css +0 -1
- package/lib/checkbox/index.d.ts +0 -52
- package/lib/checkbox/index.js +0 -35
- package/lib/checkbox/style/index.d.ts +0 -1
- package/lib/checkbox/style/index.js +0 -5
- package/lib/checkbox/types.d.ts +0 -24
- package/lib/checkbox/types.js +0 -15
- package/lib/checkbox-group/CheckboxGroup.d.ts +0 -44
- package/lib/checkbox-group/CheckboxGroup.js +0 -91
- package/lib/checkbox-group/index.css +0 -1
- package/lib/checkbox-group/index.d.ts +0 -36
- package/lib/checkbox-group/index.js +0 -35
- package/lib/checkbox-group/style/index.d.ts +0 -1
- package/lib/checkbox-group/style/index.js +0 -2
- package/lib/checkbox-group/types.d.ts +0 -16
- package/lib/checkbox-group/types.js +0 -15
- package/lib/circle/Circle.d.ts +0 -118
- package/lib/circle/Circle.js +0 -172
- package/lib/circle/index.css +0 -1
- package/lib/circle/index.d.ts +0 -88
- package/lib/circle/index.js +0 -35
- package/lib/circle/style/index.d.ts +0 -1
- package/lib/circle/style/index.js +0 -2
- package/lib/circle/types.d.ts +0 -9
- package/lib/circle/types.js +0 -15
- package/lib/col/Col.d.ts +0 -38
- package/lib/col/Col.js +0 -83
- package/lib/col/index.css +0 -1
- package/lib/col/index.d.ts +0 -32
- package/lib/col/index.js +0 -35
- package/lib/col/style/index.d.ts +0 -1
- package/lib/col/style/index.js +0 -3
- package/lib/collapse/Collapse.d.ts +0 -55
- package/lib/collapse/Collapse.js +0 -128
- package/lib/collapse/index.d.ts +0 -36
- package/lib/collapse/index.js +0 -35
- package/lib/collapse/style/index.d.ts +0 -1
- package/lib/collapse/style/index.js +0 -1
- package/lib/collapse-item/CollapseItem.d.ts +0 -132
- package/lib/collapse-item/CollapseItem.js +0 -156
- package/lib/collapse-item/index.css +0 -1
- package/lib/collapse-item/index.d.ts +0 -98
- package/lib/collapse-item/index.js +0 -35
- package/lib/collapse-item/style/index.d.ts +0 -1
- package/lib/collapse-item/style/index.js +0 -5
- package/lib/collapse-item/types.d.ts +0 -15
- package/lib/collapse-item/types.js +0 -15
- package/lib/composables/on-popup-reopen.d.ts +0 -3
- package/lib/composables/on-popup-reopen.js +0 -35
- package/lib/composables/use-expose.d.ts +0 -1
- package/lib/composables/use-expose.js +0 -30
- package/lib/composables/use-global-z-index.d.ts +0 -4
- package/lib/composables/use-global-z-index.js +0 -28
- package/lib/composables/use-height.d.ts +0 -2
- package/lib/composables/use-height.js +0 -43
- package/lib/composables/use-id.d.ts +0 -1
- package/lib/composables/use-id.js +0 -32
- package/lib/composables/use-lazy-render.d.ts +0 -2
- package/lib/composables/use-lazy-render.js +0 -36
- package/lib/composables/use-lock-scroll.d.ts +0 -2
- package/lib/composables/use-lock-scroll.js +0 -77
- package/lib/composables/use-placeholder.d.ts +0 -3
- package/lib/composables/use-placeholder.js +0 -33
- package/lib/composables/use-refs.d.ts +0 -2
- package/lib/composables/use-refs.js +0 -39
- package/lib/composables/use-route.d.ts +0 -13
- package/lib/composables/use-route.js +0 -46
- package/lib/composables/use-sync-prop-ref.d.ts +0 -2
- package/lib/composables/use-sync-prop-ref.js +0 -37
- package/lib/composables/use-tab-status.d.ts +0 -3
- package/lib/composables/use-tab-status.js +0 -26
- package/lib/composables/use-touch.d.ts +0 -16
- package/lib/composables/use-touch.js +0 -80
- package/lib/composables/use-visibility-change.d.ts +0 -2
- package/lib/composables/use-visibility-change.js +0 -49
- package/lib/config-provider/ConfigProvider.d.ts +0 -57
- package/lib/config-provider/ConfigProvider.js +0 -89
- package/lib/config-provider/index.d.ts +0 -41
- package/lib/config-provider/index.js +0 -35
- package/lib/config-provider/style/index.d.ts +0 -1
- package/lib/config-provider/style/index.js +0 -1
- package/lib/config-provider/types.d.ts +0 -1
- package/lib/config-provider/types.js +0 -15
- package/lib/contact-card/ContactCard.d.ts +0 -47
- package/lib/contact-card/ContactCard.js +0 -66
- package/lib/contact-card/index.css +0 -1
- package/lib/contact-card/index.d.ts +0 -39
- package/lib/contact-card/index.js +0 -35
- package/lib/contact-card/style/index.d.ts +0 -1
- package/lib/contact-card/style/index.js +0 -5
- package/lib/contact-card/types.d.ts +0 -6
- package/lib/contact-card/types.js +0 -15
- package/lib/contact-edit/ContactEdit.d.ts +0 -64
- package/lib/contact-edit/ContactEdit.js +0 -132
- package/lib/contact-edit/index.css +0 -1
- package/lib/contact-edit/index.d.ts +0 -49
- package/lib/contact-edit/index.js +0 -35
- package/lib/contact-edit/style/index.d.ts +0 -1
- package/lib/contact-edit/style/index.js +0 -9
- package/lib/contact-edit/types.d.ts +0 -8
- package/lib/contact-edit/types.js +0 -15
- package/lib/contact-list/ContactList.d.ts +0 -32
- package/lib/contact-list/ContactList.js +0 -109
- package/lib/contact-list/index.css +0 -1
- package/lib/contact-list/index.d.ts +0 -25
- package/lib/contact-list/index.js +0 -35
- package/lib/contact-list/style/index.d.ts +0 -1
- package/lib/contact-list/style/index.js +0 -11
- package/lib/contact-list/types.d.ts +0 -6
- package/lib/contact-list/types.js +0 -15
- package/lib/count-down/CountDown.d.ts +0 -55
- package/lib/count-down/CountDown.js +0 -76
- package/lib/count-down/index.css +0 -1
- package/lib/count-down/index.d.ts +0 -46
- package/lib/count-down/index.js +0 -35
- package/lib/count-down/style/index.d.ts +0 -1
- package/lib/count-down/style/index.js +0 -2
- package/lib/count-down/types.d.ts +0 -16
- package/lib/count-down/types.js +0 -15
- package/lib/count-down/utils.d.ts +0 -2
- package/lib/count-down/utils.js +0 -58
- package/lib/coupon/Coupon.d.ts +0 -45
- package/lib/coupon/Coupon.js +0 -99
- package/lib/coupon/index.css +0 -1
- package/lib/coupon/index.d.ts +0 -35
- package/lib/coupon/index.js +0 -33
- package/lib/coupon/style/index.d.ts +0 -1
- package/lib/coupon/style/index.js +0 -6
- package/lib/coupon/types.d.ts +0 -19
- package/lib/coupon/types.js +0 -15
- package/lib/coupon/utils.d.ts +0 -3
- package/lib/coupon/utils.js +0 -33
- package/lib/coupon-cell/CouponCell.d.ts +0 -78
- package/lib/coupon-cell/CouponCell.js +0 -74
- package/lib/coupon-cell/index.css +0 -1
- package/lib/coupon-cell/index.d.ts +0 -60
- package/lib/coupon-cell/index.js +0 -35
- package/lib/coupon-cell/style/index.d.ts +0 -1
- package/lib/coupon-cell/style/index.js +0 -5
- package/lib/coupon-cell/types.d.ts +0 -3
- package/lib/coupon-cell/types.js +0 -15
- package/lib/coupon-list/CouponList.d.ts +0 -170
- package/lib/coupon-list/CouponList.js +0 -206
- package/lib/coupon-list/index.css +0 -1
- package/lib/coupon-list/index.d.ts +0 -125
- package/lib/coupon-list/index.js +0 -35
- package/lib/coupon-list/style/index.d.ts +0 -1
- package/lib/coupon-list/style/index.js +0 -17
- package/lib/coupon-list/types.d.ts +0 -9
- package/lib/coupon-list/types.js +0 -15
- package/lib/date-picker/DatePicker.d.ts +0 -171
- package/lib/date-picker/DatePicker.js +0 -137
- package/lib/date-picker/index.d.ts +0 -127
- package/lib/date-picker/index.js +0 -35
- package/lib/date-picker/style/index.d.ts +0 -1
- package/lib/date-picker/style/index.js +0 -10
- package/lib/date-picker/utils.d.ts +0 -45
- package/lib/date-picker/utils.js +0 -70
- package/lib/dialog/Dialog.d.ts +0 -187
- package/lib/dialog/Dialog.js +0 -237
- package/lib/dialog/function-call.d.ts +0 -6
- package/lib/dialog/function-call.js +0 -110
- package/lib/dialog/index.css +0 -1
- package/lib/dialog/index.d.ts +0 -138
- package/lib/dialog/index.js +0 -41
- package/lib/dialog/style/index.d.ts +0 -1
- package/lib/dialog/style/index.js +0 -10
- package/lib/dialog/types.d.ts +0 -53
- package/lib/dialog/types.js +0 -15
- package/lib/divider/Divider.d.ts +0 -40
- package/lib/divider/Divider.js +0 -51
- package/lib/divider/index.css +0 -1
- package/lib/divider/index.d.ts +0 -34
- package/lib/divider/index.js +0 -35
- package/lib/divider/style/index.d.ts +0 -1
- package/lib/divider/style/index.js +0 -2
- package/lib/divider/types.d.ts +0 -10
- package/lib/divider/types.js +0 -15
- package/lib/dropdown-item/DropdownItem.d.ts +0 -59
- package/lib/dropdown-item/DropdownItem.js +0 -202
- package/lib/dropdown-item/index.css +0 -1
- package/lib/dropdown-item/index.d.ts +0 -50
- package/lib/dropdown-item/index.js +0 -35
- package/lib/dropdown-item/style/index.d.ts +0 -1
- package/lib/dropdown-item/style/index.js +0 -8
- package/lib/dropdown-item/types.d.ts +0 -25
- package/lib/dropdown-item/types.js +0 -15
- package/lib/dropdown-menu/DropdownMenu.d.ts +0 -82
- package/lib/dropdown-menu/DropdownMenu.js +0 -156
- package/lib/dropdown-menu/index.css +0 -1
- package/lib/dropdown-menu/index.d.ts +0 -63
- package/lib/dropdown-menu/index.js +0 -35
- package/lib/dropdown-menu/style/index.d.ts +0 -1
- package/lib/dropdown-menu/style/index.js +0 -2
- package/lib/dropdown-menu/types.d.ts +0 -21
- package/lib/dropdown-menu/types.js +0 -15
- package/lib/empty/Empty.d.ts +0 -29
- package/lib/empty/Empty.js +0 -342
- package/lib/empty/index.css +0 -1
- package/lib/empty/index.d.ts +0 -26
- package/lib/empty/index.js +0 -35
- package/lib/empty/style/index.d.ts +0 -1
- package/lib/empty/style/index.js +0 -2
- package/lib/empty/types.d.ts +0 -10
- package/lib/empty/types.js +0 -15
- package/lib/field/Field.d.ts +0 -337
- package/lib/field/Field.js +0 -529
- package/lib/field/index.css +0 -1
- package/lib/field/index.d.ts +0 -213
- package/lib/field/index.js +0 -35
- package/lib/field/style/index.d.ts +0 -1
- package/lib/field/style/index.js +0 -5
- package/lib/field/types.d.ts +0 -65
- package/lib/field/types.js +0 -15
- package/lib/field/utils.d.ts +0 -15
- package/lib/field/utils.js +0 -120
- package/lib/form/Form.d.ts +0 -88
- package/lib/form/Form.js +0 -178
- package/lib/form/index.d.ts +0 -70
- package/lib/form/index.js +0 -35
- package/lib/form/style/index.d.ts +0 -1
- package/lib/form/style/index.js +0 -1
- package/lib/form/types.d.ts +0 -15
- package/lib/form/types.js +0 -15
- package/lib/grid/Grid.d.ts +0 -74
- package/lib/grid/Grid.js +0 -67
- package/lib/grid/index.css +0 -1
- package/lib/grid/index.d.ts +0 -54
- package/lib/grid/index.js +0 -35
- package/lib/grid/style/index.d.ts +0 -1
- package/lib/grid/style/index.js +0 -2
- package/lib/grid-item/GridItem.d.ts +0 -45
- package/lib/grid-item/GridItem.js +0 -165
- package/lib/grid-item/index.css +0 -1
- package/lib/grid-item/index.d.ts +0 -37
- package/lib/grid-item/index.js +0 -35
- package/lib/grid-item/style/index.d.ts +0 -1
- package/lib/grid-item/style/index.js +0 -5
- package/lib/grid-item/types.d.ts +0 -8
- package/lib/grid-item/types.js +0 -15
- package/lib/icon/Icon.d.ts +0 -45
- package/lib/icon/Icon.js +0 -79
- package/lib/icon/index.css +0 -1
- package/lib/icon/index.d.ts +0 -36
- package/lib/icon/index.js +0 -35
- package/lib/icon/style/index.d.ts +0 -1
- package/lib/icon/style/index.js +0 -3
- package/lib/image/Image.d.ts +0 -105
- package/lib/image/Image.js +0 -190
- package/lib/image/index.css +0 -1
- package/lib/image/index.d.ts +0 -79
- package/lib/image/index.js +0 -35
- package/lib/image/style/index.d.ts +0 -1
- package/lib/image/style/index.js +0 -4
- package/lib/image/types.d.ts +0 -9
- package/lib/image/types.js +0 -15
- package/lib/image-preview/ImagePreview.d.ts +0 -188
- package/lib/image-preview/ImagePreview.js +0 -192
- package/lib/image-preview/ImagePreviewItem.d.ts +0 -48
- package/lib/image-preview/ImagePreviewItem.js +0 -284
- package/lib/image-preview/function-call.d.ts +0 -3
- package/lib/image-preview/function-call.js +0 -89
- package/lib/image-preview/index.css +0 -1
- package/lib/image-preview/index.d.ts +0 -140
- package/lib/image-preview/index.js +0 -37
- package/lib/image-preview/style/index.d.ts +0 -1
- package/lib/image-preview/style/index.js +0 -10
- package/lib/image-preview/types.d.ts +0 -50
- package/lib/image-preview/types.js +0 -15
- package/lib/index-anchor/IndexAnchor.d.ts +0 -11
- package/lib/index-anchor/IndexAnchor.js +0 -107
- package/lib/index-anchor/index.css +0 -1
- package/lib/index-anchor/index.d.ts +0 -14
- package/lib/index-anchor/index.js +0 -35
- package/lib/index-anchor/style/index.d.ts +0 -1
- package/lib/index-anchor/style/index.js +0 -3
- package/lib/index-anchor/types.d.ts +0 -11
- package/lib/index-anchor/types.js +0 -15
- package/lib/index-bar/IndexBar.d.ts +0 -64
- package/lib/index-bar/IndexBar.js +0 -246
- package/lib/index-bar/index.css +0 -1
- package/lib/index-bar/index.d.ts +0 -50
- package/lib/index-bar/index.js +0 -35
- package/lib/index-bar/style/index.d.ts +0 -1
- package/lib/index-bar/style/index.js +0 -2
- package/lib/index-bar/types.d.ts +0 -16
- package/lib/index-bar/types.js +0 -15
- package/lib/index.css +0 -1
- package/lib/index.d.ts +0 -97
- package/lib/index.js +0 -309
- package/lib/lazyload/index.d.ts +0 -3
- package/lib/lazyload/index.js +0 -25
- package/lib/lazyload/style/index.d.ts +0 -1
- package/lib/lazyload/style/index.js +0 -1
- package/lib/lazyload/vue-lazyload/index.d.ts +0 -55
- package/lib/lazyload/vue-lazyload/index.js +0 -56
- package/lib/lazyload/vue-lazyload/lazy-component.js +0 -70
- package/lib/lazyload/vue-lazyload/lazy-container.js +0 -93
- package/lib/lazyload/vue-lazyload/lazy-image.js +0 -119
- package/lib/lazyload/vue-lazyload/lazy.js +0 -378
- package/lib/lazyload/vue-lazyload/listener.js +0 -192
- package/lib/lazyload/vue-lazyload/util.d.ts +0 -25
- package/lib/lazyload/vue-lazyload/util.js +0 -185
- package/lib/list/List.d.ts +0 -78
- package/lib/list/List.js +0 -160
- package/lib/list/index.css +0 -1
- package/lib/list/index.d.ts +0 -63
- package/lib/list/index.js +0 -35
- package/lib/list/style/index.d.ts +0 -1
- package/lib/list/style/index.js +0 -3
- package/lib/list/types.d.ts +0 -13
- package/lib/list/types.js +0 -15
- package/lib/loading/Loading.d.ts +0 -39
- package/lib/loading/Loading.js +0 -90
- package/lib/loading/index.css +0 -1
- package/lib/loading/index.d.ts +0 -33
- package/lib/loading/index.js +0 -35
- package/lib/loading/style/index.d.ts +0 -1
- package/lib/loading/style/index.js +0 -2
- package/lib/loading/types.d.ts +0 -7
- package/lib/loading/types.js +0 -15
- package/lib/locale/index.d.ts +0 -7
- package/lib/locale/index.js +0 -49
- package/lib/locale/lang/bg-BG.d.ts +0 -64
- package/lib/locale/lang/bg-BG.js +0 -93
- package/lib/locale/lang/bn-BD.js +0 -91
- package/lib/locale/lang/da-DK.d.ts +0 -64
- package/lib/locale/lang/da-DK.js +0 -85
- package/lib/locale/lang/de-DE-formal.js +0 -83
- package/lib/locale/lang/de-DE.d.ts +0 -62
- package/lib/locale/lang/de-DE.js +0 -83
- package/lib/locale/lang/el-GR.d.ts +0 -64
- package/lib/locale/lang/el-GR.js +0 -93
- package/lib/locale/lang/en-US.d.ts +0 -62
- package/lib/locale/lang/en-US.js +0 -83
- package/lib/locale/lang/es-ES.d.ts +0 -62
- package/lib/locale/lang/es-ES.js +0 -83
- package/lib/locale/lang/fa-IR.d.ts +0 -64
- package/lib/locale/lang/fa-IR.js +0 -93
- package/lib/locale/lang/fr-FR.d.ts +0 -62
- package/lib/locale/lang/fr-FR.js +0 -83
- package/lib/locale/lang/he-IL.d.ts +0 -64
- package/lib/locale/lang/he-IL.js +0 -85
- package/lib/locale/lang/hi-IN.d.ts +0 -62
- package/lib/locale/lang/hi-IN.js +0 -91
- package/lib/locale/lang/id-ID.d.ts +0 -62
- package/lib/locale/lang/id-ID.js +0 -83
- package/lib/locale/lang/is-IS.d.ts +0 -62
- package/lib/locale/lang/is-IS.js +0 -91
- package/lib/locale/lang/it-IT.d.ts +0 -62
- package/lib/locale/lang/it-IT.js +0 -91
- package/lib/locale/lang/ja-JP.d.ts +0 -62
- package/lib/locale/lang/ja-JP.js +0 -83
- package/lib/locale/lang/ko-KR.d.ts +0 -62
- package/lib/locale/lang/ko-KR.js +0 -91
- package/lib/locale/lang/la-LA.d.ts +0 -62
- package/lib/locale/lang/la-LA.js +0 -83
- package/lib/locale/lang/nb-NO.d.ts +0 -62
- package/lib/locale/lang/nb-NO.js +0 -83
- package/lib/locale/lang/pt-BR.d.ts +0 -62
- package/lib/locale/lang/pt-BR.js +0 -83
- package/lib/locale/lang/ro-RO.d.ts +0 -62
- package/lib/locale/lang/ro-RO.js +0 -83
- package/lib/locale/lang/ru-RU.d.ts +0 -62
- package/lib/locale/lang/ru-RU.js +0 -83
- package/lib/locale/lang/sv-SE.d.ts +0 -62
- package/lib/locale/lang/sv-SE.js +0 -83
- package/lib/locale/lang/th-TH.d.ts +0 -62
- package/lib/locale/lang/th-TH.js +0 -83
- package/lib/locale/lang/tr-TR.d.ts +0 -62
- package/lib/locale/lang/tr-TR.js +0 -83
- package/lib/locale/lang/uk-UA.d.ts +0 -62
- package/lib/locale/lang/uk-UA.js +0 -91
- package/lib/locale/lang/vi-VN.d.ts +0 -62
- package/lib/locale/lang/vi-VN.js +0 -91
- package/lib/locale/lang/zh-CN.d.ts +0 -62
- package/lib/locale/lang/zh-CN.js +0 -83
- package/lib/locale/lang/zh-HK.d.ts +0 -62
- package/lib/locale/lang/zh-HK.js +0 -83
- package/lib/locale/lang/zh-TW.d.ts +0 -62
- package/lib/locale/lang/zh-TW.js +0 -83
- package/lib/locale/style/index.d.ts +0 -1
- package/lib/locale/style/index.js +0 -1
- package/lib/nav-bar/NavBar.d.ts +0 -66
- package/lib/nav-bar/NavBar.js +0 -111
- package/lib/nav-bar/index.css +0 -1
- package/lib/nav-bar/index.d.ts +0 -54
- package/lib/nav-bar/index.js +0 -35
- package/lib/nav-bar/style/index.d.ts +0 -1
- package/lib/nav-bar/style/index.js +0 -4
- package/lib/nav-bar/types.d.ts +0 -10
- package/lib/nav-bar/types.js +0 -15
- package/lib/notice-bar/NoticeBar.d.ts +0 -71
- package/lib/notice-bar/NoticeBar.js +0 -185
- package/lib/notice-bar/index.css +0 -1
- package/lib/notice-bar/index.d.ts +0 -57
- package/lib/notice-bar/index.js +0 -35
- package/lib/notice-bar/style/index.d.ts +0 -1
- package/lib/notice-bar/style/index.js +0 -4
- package/lib/notice-bar/types.d.ts +0 -18
- package/lib/notice-bar/types.js +0 -15
- package/lib/notify/Notify.d.ts +0 -134
- package/lib/notify/Notify.js +0 -65
- package/lib/notify/function-call.d.ts +0 -6
- package/lib/notify/function-call.js +0 -93
- package/lib/notify/index.css +0 -1
- package/lib/notify/index.d.ts +0 -100
- package/lib/notify/index.js +0 -40
- package/lib/notify/style/index.d.ts +0 -1
- package/lib/notify/style/index.js +0 -6
- package/lib/notify/types.d.ts +0 -27
- package/lib/notify/types.js +0 -15
- package/lib/number-keyboard/NumberKeyboard.d.ts +0 -162
- package/lib/number-keyboard/NumberKeyboard.js +0 -256
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +0 -24
- package/lib/number-keyboard/NumberKeyboardKey.js +0 -113
- package/lib/number-keyboard/index.css +0 -1
- package/lib/number-keyboard/index.d.ts +0 -121
- package/lib/number-keyboard/index.js +0 -35
- package/lib/number-keyboard/style/index.d.ts +0 -1
- package/lib/number-keyboard/style/index.js +0 -3
- package/lib/number-keyboard/types.d.ts +0 -17
- package/lib/number-keyboard/types.js +0 -15
- package/lib/overlay/Overlay.d.ts +0 -51
- package/lib/overlay/Overlay.js +0 -74
- package/lib/overlay/index.css +0 -1
- package/lib/overlay/index.d.ts +0 -42
- package/lib/overlay/index.js +0 -35
- package/lib/overlay/style/index.d.ts +0 -1
- package/lib/overlay/style/index.js +0 -2
- package/lib/overlay/types.d.ts +0 -4
- package/lib/overlay/types.js +0 -15
- package/lib/pagination/Pagination.d.ts +0 -101
- package/lib/pagination/Pagination.js +0 -164
- package/lib/pagination/index.css +0 -1
- package/lib/pagination/index.d.ts +0 -77
- package/lib/pagination/index.js +0 -35
- package/lib/pagination/style/index.d.ts +0 -1
- package/lib/pagination/style/index.js +0 -2
- package/lib/pagination/types.d.ts +0 -11
- package/lib/pagination/types.js +0 -15
- package/lib/password-input/PasswordInput.d.ts +0 -63
- package/lib/password-input/PasswordInput.js +0 -98
- package/lib/password-input/index.css +0 -1
- package/lib/password-input/index.d.ts +0 -51
- package/lib/password-input/index.js +0 -35
- package/lib/password-input/style/index.d.ts +0 -1
- package/lib/password-input/style/index.js +0 -2
- package/lib/password-input/types.d.ts +0 -17
- package/lib/password-input/types.js +0 -15
- package/lib/picker/Picker.d.ts +0 -163
- package/lib/picker/Picker.js +0 -224
- package/lib/picker/PickerColumn.d.ts +0 -60
- package/lib/picker/PickerColumn.js +0 -213
- package/lib/picker/PickerToolbar.d.ts +0 -21
- package/lib/picker/PickerToolbar.js +0 -78
- package/lib/picker/index.css +0 -1
- package/lib/picker/index.d.ts +0 -104
- package/lib/picker/index.js +0 -35
- package/lib/picker/style/index.d.ts +0 -1
- package/lib/picker/style/index.js +0 -10
- package/lib/picker/types.d.ts +0 -62
- package/lib/picker/types.js +0 -15
- package/lib/picker/utils.d.ts +0 -13
- package/lib/picker/utils.js +0 -99
- package/lib/picker-group/PickerGroup.d.ts +0 -39
- package/lib/picker-group/PickerGroup.js +0 -82
- package/lib/picker-group/index.css +0 -1
- package/lib/picker-group/index.d.ts +0 -34
- package/lib/picker-group/index.js +0 -35
- package/lib/picker-group/style/index.d.ts +0 -1
- package/lib/picker-group/style/index.js +0 -9
- package/lib/picker-group/types.d.ts +0 -3
- package/lib/picker-group/types.js +0 -15
- package/lib/popover/Popover.d.ts +0 -164
- package/lib/popover/Popover.js +0 -203
- package/lib/popover/index.css +0 -1
- package/lib/popover/index.d.ts +0 -121
- package/lib/popover/index.js +0 -35
- package/lib/popover/style/index.d.ts +0 -1
- package/lib/popover/style/index.js +0 -6
- package/lib/popover/types.d.ts +0 -26
- package/lib/popover/types.js +0 -15
- package/lib/popup/Popup.d.ts +0 -165
- package/lib/popup/Popup.js +0 -226
- package/lib/popup/index.css +0 -1
- package/lib/popup/index.d.ts +0 -124
- package/lib/popup/index.js +0 -35
- package/lib/popup/shared.d.ts +0 -30
- package/lib/popup/shared.js +0 -41
- package/lib/popup/style/index.d.ts +0 -1
- package/lib/popup/style/index.js +0 -5
- package/lib/popup/types.d.ts +0 -17
- package/lib/popup/types.js +0 -15
- package/lib/progress/Progress.d.ts +0 -61
- package/lib/progress/Progress.js +0 -96
- package/lib/progress/index.css +0 -1
- package/lib/progress/index.d.ts +0 -49
- package/lib/progress/index.js +0 -35
- package/lib/progress/style/index.d.ts +0 -1
- package/lib/progress/style/index.js +0 -2
- package/lib/progress/types.d.ts +0 -17
- package/lib/progress/types.js +0 -15
- package/lib/pull-refresh/PullRefresh.d.ts +0 -75
- package/lib/pull-refresh/PullRefresh.js +0 -213
- package/lib/pull-refresh/index.css +0 -1
- package/lib/pull-refresh/index.d.ts +0 -60
- package/lib/pull-refresh/index.js +0 -35
- package/lib/pull-refresh/style/index.d.ts +0 -1
- package/lib/pull-refresh/style/index.js +0 -3
- package/lib/pull-refresh/types.d.ts +0 -6
- package/lib/pull-refresh/types.js +0 -15
- package/lib/radio/Radio.d.ts +0 -50
- package/lib/radio/Radio.js +0 -68
- package/lib/radio/index.css +0 -1
- package/lib/radio/index.d.ts +0 -40
- package/lib/radio/index.js +0 -35
- package/lib/radio/style/index.d.ts +0 -1
- package/lib/radio/style/index.js +0 -6
- package/lib/radio/types.d.ts +0 -11
- package/lib/radio/types.js +0 -15
- package/lib/radio-group/RadioGroup.d.ts +0 -35
- package/lib/radio-group/RadioGroup.js +0 -64
- package/lib/radio-group/index.css +0 -1
- package/lib/radio-group/index.d.ts +0 -26
- package/lib/radio-group/index.js +0 -35
- package/lib/radio-group/style/index.d.ts +0 -1
- package/lib/radio-group/style/index.js +0 -2
- package/lib/rate/Rate.d.ts +0 -107
- package/lib/rate/Rate.js +0 -239
- package/lib/rate/index.css +0 -1
- package/lib/rate/index.d.ts +0 -82
- package/lib/rate/index.js +0 -35
- package/lib/rate/style/index.d.ts +0 -1
- package/lib/rate/style/index.js +0 -4
- package/lib/rate/types.d.ts +0 -7
- package/lib/rate/types.js +0 -15
- package/lib/row/Row.d.ts +0 -64
- package/lib/row/Row.js +0 -111
- package/lib/row/index.css +0 -1
- package/lib/row/index.d.ts +0 -43
- package/lib/row/index.js +0 -35
- package/lib/row/style/index.d.ts +0 -1
- package/lib/row/style/index.js +0 -2
- package/lib/search/Search.d.ts +0 -206
- package/lib/search/Search.js +0 -138
- package/lib/search/index.css +0 -1
- package/lib/search/index.d.ts +0 -152
- package/lib/search/index.js +0 -35
- package/lib/search/style/index.d.ts +0 -1
- package/lib/search/style/index.js +0 -6
- package/lib/search/types.d.ts +0 -21
- package/lib/search/types.js +0 -15
- package/lib/share-sheet/ShareSheet.d.ts +0 -162
- package/lib/share-sheet/ShareSheet.js +0 -142
- package/lib/share-sheet/index.css +0 -1
- package/lib/share-sheet/index.d.ts +0 -115
- package/lib/share-sheet/index.js +0 -35
- package/lib/share-sheet/style/index.d.ts +0 -1
- package/lib/share-sheet/style/index.js +0 -6
- package/lib/share-sheet/types.d.ts +0 -17
- package/lib/share-sheet/types.js +0 -15
- package/lib/sidebar/Sidebar.d.ts +0 -30
- package/lib/sidebar/Sidebar.js +0 -64
- package/lib/sidebar/index.css +0 -1
- package/lib/sidebar/index.d.ts +0 -25
- package/lib/sidebar/index.js +0 -35
- package/lib/sidebar/style/index.d.ts +0 -1
- package/lib/sidebar/style/index.js +0 -2
- package/lib/sidebar/types.d.ts +0 -3
- package/lib/sidebar/types.js +0 -15
- package/lib/sidebar-item/SidebarItem.d.ts +0 -42
- package/lib/sidebar-item/SidebarItem.js +0 -92
- package/lib/sidebar-item/index.css +0 -1
- package/lib/sidebar-item/index.d.ts +0 -36
- package/lib/sidebar-item/index.js +0 -35
- package/lib/sidebar-item/style/index.d.ts +0 -1
- package/lib/sidebar-item/style/index.js +0 -4
- package/lib/sidebar-item/types.d.ts +0 -15
- package/lib/sidebar-item/types.js +0 -15
- package/lib/skeleton/Skeleton.d.ts +0 -96
- package/lib/skeleton/Skeleton.js +0 -115
- package/lib/skeleton/SkeletonAvatar.d.ts +0 -26
- package/lib/skeleton/SkeletonAvatar.js +0 -41
- package/lib/skeleton/SkeletonImage.d.ts +0 -26
- package/lib/skeleton/SkeletonImage.js +0 -45
- package/lib/skeleton/SkeletonParagraph.d.ts +0 -27
- package/lib/skeleton/SkeletonParagraph.js +0 -50
- package/lib/skeleton/SkeletonTitle.d.ts +0 -16
- package/lib/skeleton/SkeletonTitle.js +0 -45
- package/lib/skeleton/index.css +0 -1
- package/lib/skeleton/index.d.ts +0 -140
- package/lib/skeleton/index.js +0 -55
- package/lib/skeleton/style/index.d.ts +0 -1
- package/lib/skeleton/style/index.js +0 -4
- package/lib/skeleton/types.d.ts +0 -13
- package/lib/skeleton/types.js +0 -15
- package/lib/slider/Slider.d.ts +0 -100
- package/lib/slider/Slider.js +0 -291
- package/lib/slider/index.css +0 -1
- package/lib/slider/index.d.ts +0 -77
- package/lib/slider/index.js +0 -35
- package/lib/slider/style/index.d.ts +0 -1
- package/lib/slider/style/index.js +0 -2
- package/lib/slider/types.d.ts +0 -11
- package/lib/slider/types.js +0 -15
- package/lib/space/Space.d.ts +0 -48
- package/lib/space/Space.js +0 -107
- package/lib/space/index.css +0 -1
- package/lib/space/index.d.ts +0 -38
- package/lib/space/index.js +0 -35
- package/lib/space/style/index.d.ts +0 -1
- package/lib/space/style/index.js +0 -2
- package/lib/step/Step.d.ts +0 -2
- package/lib/step/Step.js +0 -137
- package/lib/step/index.css +0 -1
- package/lib/step/index.d.ts +0 -8
- package/lib/step/index.js +0 -33
- package/lib/step/style/index.d.ts +0 -1
- package/lib/step/style/index.js +0 -5
- package/lib/step/types.d.ts +0 -13
- package/lib/step/types.js +0 -15
- package/lib/stepper/Stepper.d.ts +0 -194
- package/lib/stepper/Stepper.js +0 -267
- package/lib/stepper/index.css +0 -1
- package/lib/stepper/index.d.ts +0 -143
- package/lib/stepper/index.js +0 -35
- package/lib/stepper/style/index.d.ts +0 -1
- package/lib/stepper/style/index.js +0 -2
- package/lib/stepper/types.d.ts +0 -15
- package/lib/stepper/types.js +0 -15
- package/lib/steps/Steps.d.ts +0 -71
- package/lib/steps/Steps.js +0 -66
- package/lib/steps/index.css +0 -1
- package/lib/steps/index.d.ts +0 -52
- package/lib/steps/index.js +0 -35
- package/lib/steps/style/index.d.ts +0 -1
- package/lib/steps/style/index.js +0 -2
- package/lib/steps/types.d.ts +0 -3
- package/lib/steps/types.js +0 -15
- package/lib/sticky/Sticky.d.ts +0 -58
- package/lib/sticky/Sticky.js +0 -140
- package/lib/sticky/index.css +0 -1
- package/lib/sticky/index.d.ts +0 -47
- package/lib/sticky/index.js +0 -35
- package/lib/sticky/style/index.d.ts +0 -1
- package/lib/sticky/style/index.js +0 -2
- package/lib/sticky/types.d.ts +0 -3
- package/lib/sticky/types.js +0 -15
- package/lib/style/animation.css +0 -1
- package/lib/style/base.css +0 -1
- package/lib/style/css-variables.css +0 -1
- 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 +0 -1
- package/lib/submit-bar/SubmitBar.d.ts +0 -101
- package/lib/submit-bar/SubmitBar.js +0 -135
- package/lib/submit-bar/index.css +0 -1
- package/lib/submit-bar/index.d.ts +0 -76
- package/lib/submit-bar/index.js +0 -35
- package/lib/submit-bar/style/index.d.ts +0 -1
- package/lib/submit-bar/style/index.js +0 -6
- package/lib/submit-bar/types.d.ts +0 -21
- package/lib/submit-bar/types.js +0 -15
- package/lib/swipe/Swipe.d.ts +0 -121
- package/lib/swipe/Swipe.js +0 -380
- package/lib/swipe/index.css +0 -1
- package/lib/swipe/index.d.ts +0 -91
- package/lib/swipe/index.js +0 -35
- package/lib/swipe/style/index.d.ts +0 -1
- package/lib/swipe/style/index.js +0 -2
- package/lib/swipe/types.d.ts +0 -39
- package/lib/swipe/types.js +0 -15
- package/lib/swipe-cell/SwipeCell.d.ts +0 -44
- package/lib/swipe-cell/SwipeCell.js +0 -182
- package/lib/swipe-cell/index.css +0 -1
- package/lib/swipe-cell/index.d.ts +0 -39
- package/lib/swipe-cell/index.js +0 -35
- package/lib/swipe-cell/style/index.d.ts +0 -1
- package/lib/swipe-cell/style/index.js +0 -2
- package/lib/swipe-cell/types.d.ts +0 -9
- package/lib/swipe-cell/types.js +0 -15
- package/lib/swipe-item/SwipeItem.d.ts +0 -2
- package/lib/swipe-item/SwipeItem.js +0 -101
- package/lib/swipe-item/index.css +0 -1
- package/lib/swipe-item/index.d.ts +0 -7
- package/lib/swipe-item/index.js +0 -33
- package/lib/swipe-item/style/index.d.ts +0 -1
- package/lib/swipe-item/style/index.js +0 -3
- package/lib/switch/Switch.d.ts +0 -58
- package/lib/switch/Switch.js +0 -105
- package/lib/switch/index.css +0 -1
- package/lib/switch/index.d.ts +0 -48
- package/lib/switch/index.js +0 -35
- package/lib/switch/style/index.d.ts +0 -1
- package/lib/switch/style/index.js +0 -3
- package/lib/switch/types.d.ts +0 -12
- package/lib/switch/types.js +0 -15
- package/lib/tab/Tab.d.ts +0 -58
- package/lib/tab/Tab.js +0 -143
- package/lib/tab/index.css +0 -1
- package/lib/tab/index.d.ts +0 -46
- package/lib/tab/index.js +0 -35
- package/lib/tab/style/index.d.ts +0 -1
- package/lib/tab/style/index.js +0 -7
- package/lib/tabbar/Tabbar.d.ts +0 -90
- package/lib/tabbar/Tabbar.js +0 -104
- package/lib/tabbar/index.css +0 -1
- package/lib/tabbar/index.d.ts +0 -66
- package/lib/tabbar/index.js +0 -35
- package/lib/tabbar/style/index.d.ts +0 -1
- package/lib/tabbar/style/index.js +0 -2
- package/lib/tabbar/types.d.ts +0 -5
- package/lib/tabbar/types.js +0 -15
- package/lib/tabbar-item/TabbarItem.d.ts +0 -44
- package/lib/tabbar-item/TabbarItem.js +0 -140
- package/lib/tabbar-item/index.css +0 -1
- package/lib/tabbar-item/index.d.ts +0 -37
- package/lib/tabbar-item/index.js +0 -35
- package/lib/tabbar-item/style/index.d.ts +0 -1
- package/lib/tabbar-item/style/index.js +0 -5
- package/lib/tabbar-item/types.d.ts +0 -9
- package/lib/tabbar-item/types.js +0 -15
- package/lib/tabs/Tabs.d.ts +0 -154
- package/lib/tabs/Tabs.js +0 -391
- package/lib/tabs/TabsContent.d.ts +0 -43
- package/lib/tabs/TabsContent.js +0 -87
- package/lib/tabs/TabsTitle.d.ts +0 -45
- package/lib/tabs/TabsTitle.js +0 -109
- package/lib/tabs/index.css +0 -1
- package/lib/tabs/index.d.ts +0 -115
- package/lib/tabs/index.js +0 -35
- package/lib/tabs/style/index.d.ts +0 -1
- package/lib/tabs/style/index.js +0 -5
- package/lib/tabs/types.d.ts +0 -37
- package/lib/tabs/types.js +0 -15
- package/lib/tabs/utils.d.ts +0 -3
- package/lib/tabs/utils.js +0 -56
- package/lib/tag/Tag.d.ts +0 -63
- package/lib/tag/Tag.js +0 -98
- package/lib/tag/index.css +0 -1
- package/lib/tag/index.d.ts +0 -51
- package/lib/tag/index.js +0 -35
- package/lib/tag/style/index.d.ts +0 -1
- package/lib/tag/style/index.js +0 -4
- package/lib/tag/types.d.ts +0 -20
- package/lib/tag/types.js +0 -15
- package/lib/time-picker/TimePicker.d.ts +0 -217
- package/lib/time-picker/TimePicker.js +0 -95
- package/lib/time-picker/index.d.ts +0 -159
- package/lib/time-picker/index.js +0 -35
- package/lib/time-picker/style/index.d.ts +0 -1
- package/lib/time-picker/style/index.js +0 -10
- package/lib/toast/Toast.d.ts +0 -115
- package/lib/toast/Toast.js +0 -146
- package/lib/toast/function-call.d.ts +0 -10
- package/lib/toast/function-call.js +0 -167
- package/lib/toast/index.css +0 -1
- package/lib/toast/index.d.ts +0 -87
- package/lib/toast/index.js +0 -44
- package/lib/toast/lock-click.d.ts +0 -1
- package/lib/toast/lock-click.js +0 -36
- package/lib/toast/style/index.d.ts +0 -1
- package/lib/toast/style/index.js +0 -7
- package/lib/toast/types.d.ts +0 -55
- package/lib/toast/types.js +0 -15
- package/lib/tree-select/TreeSelect.d.ts +0 -106
- package/lib/tree-select/TreeSelect.js +0 -122
- package/lib/tree-select/index.css +0 -1
- package/lib/tree-select/index.d.ts +0 -72
- package/lib/tree-select/index.js +0 -35
- package/lib/tree-select/style/index.d.ts +0 -1
- package/lib/tree-select/style/index.js +0 -6
- package/lib/tree-select/types.d.ts +0 -10
- package/lib/tree-select/types.js +0 -15
- package/lib/uploader/Uploader.d.ts +0 -213
- package/lib/uploader/Uploader.js +0 -274
- package/lib/uploader/UploaderPreviewItem.d.ts +0 -36
- package/lib/uploader/UploaderPreviewItem.js +0 -147
- package/lib/uploader/index.css +0 -1
- package/lib/uploader/index.d.ts +0 -155
- package/lib/uploader/index.js +0 -35
- package/lib/uploader/style/index.d.ts +0 -1
- package/lib/uploader/style/index.js +0 -11
- package/lib/uploader/types.d.ts +0 -58
- package/lib/uploader/types.js +0 -15
- package/lib/uploader/utils.d.ts +0 -11
- package/lib/uploader/utils.js +0 -88
- package/lib/utils/basic.d.ts +0 -18
- package/lib/utils/basic.js +0 -52
- package/lib/utils/constant.d.ts +0 -12
- package/lib/utils/constant.js +0 -41
- package/lib/utils/create.d.ts +0 -17
- package/lib/utils/create.js +0 -78
- package/lib/utils/deep-assign.d.ts +0 -3
- package/lib/utils/deep-assign.js +0 -41
- package/lib/utils/deep-clone.d.ts +0 -1
- package/lib/utils/deep-clone.js +0 -39
- package/lib/utils/dom.d.ts +0 -12
- package/lib/utils/dom.js +0 -86
- package/lib/utils/format.d.ts +0 -13
- package/lib/utils/format.js +0 -139
- package/lib/utils/index.d.ts +0 -9
- package/lib/utils/index.js +0 -25
- package/lib/utils/interceptor.d.ts +0 -6
- package/lib/utils/interceptor.js +0 -48
- package/lib/utils/mount-component.d.ts +0 -14
- package/lib/utils/mount-component.js +0 -58
- package/lib/utils/props.d.ts +0 -31
- package/lib/utils/props.js +0 -55
- package/lib/utils/validate.d.ts +0 -9
- package/lib/utils/validate.js +0 -41
- package/lib/utils/with-install.d.ts +0 -13
- package/lib/utils/with-install.js +0 -33
- package/lib/vue-sfc-shim.d.ts +0 -6
- package/lib/vue-tsx-shim.d.ts +0 -23
package/lib/stepper/Stepper.js
DELETED
@@ -1,267 +0,0 @@
|
|
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
|
-
stepperProps: () => stepperProps
|
22
|
-
});
|
23
|
-
module.exports = __toCommonJS(stdin_exports);
|
24
|
-
var import_vue = require("vue");
|
25
|
-
var import_vue2 = require("vue");
|
26
|
-
var import_utils = require("../utils");
|
27
|
-
var import_use = require("@vant/use");
|
28
|
-
const [name, bem] = (0, import_utils.createNamespace)("stepper");
|
29
|
-
const LONG_PRESS_INTERVAL = 200;
|
30
|
-
const isEqual = (value1, value2) => String(value1) === String(value2);
|
31
|
-
const stepperProps = {
|
32
|
-
min: (0, import_utils.makeNumericProp)(1),
|
33
|
-
max: (0, import_utils.makeNumericProp)(Infinity),
|
34
|
-
name: (0, import_utils.makeNumericProp)(""),
|
35
|
-
step: (0, import_utils.makeNumericProp)(1),
|
36
|
-
theme: String,
|
37
|
-
integer: Boolean,
|
38
|
-
disabled: Boolean,
|
39
|
-
showPlus: import_utils.truthProp,
|
40
|
-
showMinus: import_utils.truthProp,
|
41
|
-
showInput: import_utils.truthProp,
|
42
|
-
longPress: import_utils.truthProp,
|
43
|
-
autoFixed: import_utils.truthProp,
|
44
|
-
allowEmpty: Boolean,
|
45
|
-
modelValue: import_utils.numericProp,
|
46
|
-
inputWidth: import_utils.numericProp,
|
47
|
-
buttonSize: import_utils.numericProp,
|
48
|
-
placeholder: String,
|
49
|
-
disablePlus: Boolean,
|
50
|
-
disableMinus: Boolean,
|
51
|
-
disableInput: Boolean,
|
52
|
-
beforeChange: Function,
|
53
|
-
defaultValue: (0, import_utils.makeNumericProp)(1),
|
54
|
-
decimalLength: import_utils.numericProp
|
55
|
-
};
|
56
|
-
var stdin_default = (0, import_vue2.defineComponent)({
|
57
|
-
name,
|
58
|
-
props: stepperProps,
|
59
|
-
emits: ["plus", "blur", "minus", "focus", "change", "overlimit", "update:modelValue"],
|
60
|
-
setup(props, {
|
61
|
-
emit
|
62
|
-
}) {
|
63
|
-
const format = (value, autoFixed = true) => {
|
64
|
-
const {
|
65
|
-
min,
|
66
|
-
max,
|
67
|
-
allowEmpty,
|
68
|
-
decimalLength
|
69
|
-
} = props;
|
70
|
-
if (allowEmpty && value === "") {
|
71
|
-
return value;
|
72
|
-
}
|
73
|
-
value = (0, import_utils.formatNumber)(String(value), !props.integer);
|
74
|
-
value = value === "" ? 0 : +value;
|
75
|
-
value = Number.isNaN(value) ? +min : value;
|
76
|
-
value = autoFixed ? Math.max(Math.min(+max, value), +min) : value;
|
77
|
-
if ((0, import_utils.isDef)(decimalLength)) {
|
78
|
-
value = value.toFixed(+decimalLength);
|
79
|
-
}
|
80
|
-
return value;
|
81
|
-
};
|
82
|
-
const getInitialValue = () => {
|
83
|
-
var _a;
|
84
|
-
const defaultValue = (_a = props.modelValue) != null ? _a : props.defaultValue;
|
85
|
-
const value = format(defaultValue);
|
86
|
-
if (!isEqual(value, props.modelValue)) {
|
87
|
-
emit("update:modelValue", value);
|
88
|
-
}
|
89
|
-
return value;
|
90
|
-
};
|
91
|
-
let actionType;
|
92
|
-
const inputRef = (0, import_vue2.ref)();
|
93
|
-
const current = (0, import_vue2.ref)(getInitialValue());
|
94
|
-
const minusDisabled = (0, import_vue2.computed)(() => props.disabled || props.disableMinus || current.value <= +props.min);
|
95
|
-
const plusDisabled = (0, import_vue2.computed)(() => props.disabled || props.disablePlus || current.value >= +props.max);
|
96
|
-
const inputStyle = (0, import_vue2.computed)(() => ({
|
97
|
-
width: (0, import_utils.addUnit)(props.inputWidth),
|
98
|
-
height: (0, import_utils.addUnit)(props.buttonSize)
|
99
|
-
}));
|
100
|
-
const buttonStyle = (0, import_vue2.computed)(() => (0, import_utils.getSizeStyle)(props.buttonSize));
|
101
|
-
const check = () => {
|
102
|
-
const value = format(current.value);
|
103
|
-
if (!isEqual(value, current.value)) {
|
104
|
-
current.value = value;
|
105
|
-
}
|
106
|
-
};
|
107
|
-
const setValue = (value) => {
|
108
|
-
if (props.beforeChange) {
|
109
|
-
(0, import_utils.callInterceptor)(props.beforeChange, {
|
110
|
-
args: [value],
|
111
|
-
done() {
|
112
|
-
current.value = value;
|
113
|
-
}
|
114
|
-
});
|
115
|
-
} else {
|
116
|
-
current.value = value;
|
117
|
-
}
|
118
|
-
};
|
119
|
-
const onChange = () => {
|
120
|
-
if (actionType === "plus" && plusDisabled.value || actionType === "minus" && minusDisabled.value) {
|
121
|
-
emit("overlimit", actionType);
|
122
|
-
return;
|
123
|
-
}
|
124
|
-
const diff = actionType === "minus" ? -props.step : +props.step;
|
125
|
-
const value = format((0, import_utils.addNumber)(+current.value, diff));
|
126
|
-
setValue(value);
|
127
|
-
emit(actionType);
|
128
|
-
};
|
129
|
-
const onInput = (event) => {
|
130
|
-
const input = event.target;
|
131
|
-
const {
|
132
|
-
value
|
133
|
-
} = input;
|
134
|
-
const {
|
135
|
-
decimalLength
|
136
|
-
} = props;
|
137
|
-
let formatted = (0, import_utils.formatNumber)(String(value), !props.integer);
|
138
|
-
if ((0, import_utils.isDef)(decimalLength) && formatted.includes(".")) {
|
139
|
-
const pair = formatted.split(".");
|
140
|
-
formatted = `${pair[0]}.${pair[1].slice(0, +decimalLength)}`;
|
141
|
-
}
|
142
|
-
if (props.beforeChange) {
|
143
|
-
input.value = String(current.value);
|
144
|
-
} else if (!isEqual(value, formatted)) {
|
145
|
-
input.value = formatted;
|
146
|
-
}
|
147
|
-
const isNumeric = formatted === String(+formatted);
|
148
|
-
setValue(isNumeric ? +formatted : formatted);
|
149
|
-
};
|
150
|
-
const onFocus = (event) => {
|
151
|
-
var _a;
|
152
|
-
if (props.disableInput) {
|
153
|
-
(_a = inputRef.value) == null ? void 0 : _a.blur();
|
154
|
-
} else {
|
155
|
-
emit("focus", event);
|
156
|
-
}
|
157
|
-
};
|
158
|
-
const onBlur = (event) => {
|
159
|
-
const input = event.target;
|
160
|
-
const value = format(input.value, props.autoFixed);
|
161
|
-
input.value = String(value);
|
162
|
-
current.value = value;
|
163
|
-
(0, import_vue2.nextTick)(() => {
|
164
|
-
emit("blur", event);
|
165
|
-
(0, import_utils.resetScroll)();
|
166
|
-
});
|
167
|
-
};
|
168
|
-
let isLongPress;
|
169
|
-
let longPressTimer;
|
170
|
-
const longPressStep = () => {
|
171
|
-
longPressTimer = setTimeout(() => {
|
172
|
-
onChange();
|
173
|
-
longPressStep();
|
174
|
-
}, LONG_PRESS_INTERVAL);
|
175
|
-
};
|
176
|
-
const onTouchStart = () => {
|
177
|
-
if (props.longPress) {
|
178
|
-
isLongPress = false;
|
179
|
-
clearTimeout(longPressTimer);
|
180
|
-
longPressTimer = setTimeout(() => {
|
181
|
-
isLongPress = true;
|
182
|
-
onChange();
|
183
|
-
longPressStep();
|
184
|
-
}, import_utils.LONG_PRESS_START_TIME);
|
185
|
-
}
|
186
|
-
};
|
187
|
-
const onTouchEnd = (event) => {
|
188
|
-
if (props.longPress) {
|
189
|
-
clearTimeout(longPressTimer);
|
190
|
-
if (isLongPress) {
|
191
|
-
(0, import_utils.preventDefault)(event);
|
192
|
-
}
|
193
|
-
}
|
194
|
-
};
|
195
|
-
const onMousedown = (event) => {
|
196
|
-
if (props.disableInput) {
|
197
|
-
(0, import_utils.preventDefault)(event);
|
198
|
-
}
|
199
|
-
};
|
200
|
-
const createListeners = (type) => ({
|
201
|
-
onClick: (event) => {
|
202
|
-
(0, import_utils.preventDefault)(event);
|
203
|
-
actionType = type;
|
204
|
-
onChange();
|
205
|
-
},
|
206
|
-
onTouchstartPassive: () => {
|
207
|
-
actionType = type;
|
208
|
-
onTouchStart();
|
209
|
-
},
|
210
|
-
onTouchend: onTouchEnd,
|
211
|
-
onTouchcancel: onTouchEnd
|
212
|
-
});
|
213
|
-
(0, import_vue2.watch)(() => [props.max, props.min, props.integer, props.decimalLength], check);
|
214
|
-
(0, import_vue2.watch)(() => props.modelValue, (value) => {
|
215
|
-
if (!isEqual(value, current.value)) {
|
216
|
-
current.value = format(value);
|
217
|
-
}
|
218
|
-
});
|
219
|
-
(0, import_vue2.watch)(current, (value) => {
|
220
|
-
emit("update:modelValue", value);
|
221
|
-
emit("change", value, {
|
222
|
-
name: props.name
|
223
|
-
});
|
224
|
-
});
|
225
|
-
(0, import_use.useCustomFieldValue)(() => props.modelValue);
|
226
|
-
return () => (0, import_vue.createVNode)("div", {
|
227
|
-
"role": "group",
|
228
|
-
"class": bem([props.theme])
|
229
|
-
}, [(0, import_vue.withDirectives)((0, import_vue.createVNode)("button", (0, import_vue.mergeProps)({
|
230
|
-
"type": "button",
|
231
|
-
"style": buttonStyle.value,
|
232
|
-
"class": [bem("minus", {
|
233
|
-
disabled: minusDisabled.value
|
234
|
-
}), {
|
235
|
-
[import_utils.HAPTICS_FEEDBACK]: !minusDisabled.value
|
236
|
-
}],
|
237
|
-
"aria-disabled": minusDisabled.value || void 0
|
238
|
-
}, createListeners("minus")), null), [[import_vue.vShow, props.showMinus]]), (0, import_vue.withDirectives)((0, import_vue.createVNode)("input", {
|
239
|
-
"ref": inputRef,
|
240
|
-
"type": props.integer ? "tel" : "text",
|
241
|
-
"role": "spinbutton",
|
242
|
-
"class": bem("input"),
|
243
|
-
"value": current.value,
|
244
|
-
"style": inputStyle.value,
|
245
|
-
"disabled": props.disabled,
|
246
|
-
"readonly": props.disableInput,
|
247
|
-
"inputmode": props.integer ? "numeric" : "decimal",
|
248
|
-
"placeholder": props.placeholder,
|
249
|
-
"aria-valuemax": props.max,
|
250
|
-
"aria-valuemin": props.min,
|
251
|
-
"aria-valuenow": current.value,
|
252
|
-
"onBlur": onBlur,
|
253
|
-
"onInput": onInput,
|
254
|
-
"onFocus": onFocus,
|
255
|
-
"onMousedown": onMousedown
|
256
|
-
}, null), [[import_vue.vShow, props.showInput]]), (0, import_vue.withDirectives)((0, import_vue.createVNode)("button", (0, import_vue.mergeProps)({
|
257
|
-
"type": "button",
|
258
|
-
"style": buttonStyle.value,
|
259
|
-
"class": [bem("plus", {
|
260
|
-
disabled: plusDisabled.value
|
261
|
-
}), {
|
262
|
-
[import_utils.HAPTICS_FEEDBACK]: !plusDisabled.value
|
263
|
-
}],
|
264
|
-
"aria-disabled": plusDisabled.value || void 0
|
265
|
-
}, createListeners("plus")), null), [[import_vue.vShow, props.showPlus]])]);
|
266
|
-
}
|
267
|
-
});
|
package/lib/stepper/index.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
:root{--van-stepper-background: var(--van-active-color);--van-stepper-button-icon-color: var(--van-text-color);--van-stepper-button-disabled-color: var(--van-background);--van-stepper-button-disabled-icon-color: var(--van-gray-5);--van-stepper-button-round-theme-color: var(--van-primary-color);--van-stepper-input-width: 32px;--van-stepper-input-height: 28px;--van-stepper-input-font-size: var(--van-font-size-md);--van-stepper-input-line-height: normal;--van-stepper-input-text-color: var(--van-text-color);--van-stepper-input-disabled-text-color: var(--van-text-color-3);--van-stepper-input-disabled-background: var(--van-active-color);--van-stepper-radius: var(--van-radius-md)}.van-stepper{display:inline-block;-webkit-user-select:none;user-select:none}.van-stepper__minus,.van-stepper__plus{position:relative;box-sizing:border-box;width:var(--van-stepper-input-height);height:var(--van-stepper-input-height);margin:0;padding:0;color:var(--van-stepper-button-icon-color);vertical-align:middle;background:var(--van-stepper-background);border:0}.van-stepper__minus:before,.van-stepper__plus:before{width:50%;height:1px}.van-stepper__minus:after,.van-stepper__plus:after{width:1px;height:50%}.van-stepper__minus:before,.van-stepper__plus:before,.van-stepper__minus:after,.van-stepper__plus:after{position:absolute;top:50%;left:50%;background-color:currentColor;transform:translate(-50%,-50%);content:""}.van-stepper__minus--disabled,.van-stepper__plus--disabled{color:var(--van-stepper-button-disabled-icon-color);background-color:var(--van-stepper-button-disabled-color);cursor:not-allowed}.van-stepper__minus{border-radius:var(--van-stepper-radius) 0 0 var(--van-stepper-radius)}.van-stepper__minus:after{display:none}.van-stepper__plus{border-radius:0 var(--van-stepper-radius) var(--van-stepper-radius) 0}.van-stepper__input{box-sizing:border-box;width:var(--van-stepper-input-width);height:var(--van-stepper-input-height);margin:0 2px;padding:0;color:var(--van-stepper-input-text-color);font-size:var(--van-stepper-input-font-size);line-height:var(--van-stepper-input-line-height);text-align:center;vertical-align:middle;background:var(--van-stepper-background);border:0;border-width:1px 0;border-radius:0;-webkit-appearance:none}.van-stepper__input:disabled{color:var(--van-stepper-input-disabled-text-color);background-color:var(--van-stepper-input-disabled-background);-webkit-text-fill-color:var(--van-stepper-input-disabled-text-color);opacity:1}.van-stepper__input:read-only{cursor:default}.van-stepper--round .van-stepper__input{background-color:transparent}.van-stepper--round .van-stepper__plus,.van-stepper--round .van-stepper__minus{border-radius:100%}.van-stepper--round .van-stepper__plus--disabled,.van-stepper--round .van-stepper__minus--disabled{opacity:.3;cursor:not-allowed}.van-stepper--round .van-stepper__plus{color:var(--van-white);background:var(--van-stepper-button-round-theme-color)}.van-stepper--round .van-stepper__minus{color:var(--van-stepper-button-round-theme-color);background-color:var(--van-background-2);border:1px solid var(--van-stepper-button-round-theme-color)}
|
package/lib/stepper/index.d.ts
DELETED
@@ -1,143 +0,0 @@
|
|
1
|
-
export declare const Stepper: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
|
-
min: {
|
3
|
-
type: (NumberConstructor | StringConstructor)[];
|
4
|
-
default: number;
|
5
|
-
};
|
6
|
-
max: {
|
7
|
-
type: (NumberConstructor | StringConstructor)[];
|
8
|
-
default: number;
|
9
|
-
};
|
10
|
-
name: {
|
11
|
-
type: (NumberConstructor | StringConstructor)[];
|
12
|
-
default: string;
|
13
|
-
};
|
14
|
-
step: {
|
15
|
-
type: (NumberConstructor | StringConstructor)[];
|
16
|
-
default: number;
|
17
|
-
};
|
18
|
-
theme: import("vue").PropType<import("./Stepper").StepperTheme>;
|
19
|
-
integer: BooleanConstructor;
|
20
|
-
disabled: BooleanConstructor;
|
21
|
-
showPlus: {
|
22
|
-
type: BooleanConstructor;
|
23
|
-
default: true;
|
24
|
-
};
|
25
|
-
showMinus: {
|
26
|
-
type: BooleanConstructor;
|
27
|
-
default: true;
|
28
|
-
};
|
29
|
-
showInput: {
|
30
|
-
type: BooleanConstructor;
|
31
|
-
default: true;
|
32
|
-
};
|
33
|
-
longPress: {
|
34
|
-
type: BooleanConstructor;
|
35
|
-
default: true;
|
36
|
-
};
|
37
|
-
autoFixed: {
|
38
|
-
type: BooleanConstructor;
|
39
|
-
default: true;
|
40
|
-
};
|
41
|
-
allowEmpty: BooleanConstructor;
|
42
|
-
modelValue: (NumberConstructor | StringConstructor)[];
|
43
|
-
inputWidth: (NumberConstructor | StringConstructor)[];
|
44
|
-
buttonSize: (NumberConstructor | StringConstructor)[];
|
45
|
-
placeholder: StringConstructor;
|
46
|
-
disablePlus: BooleanConstructor;
|
47
|
-
disableMinus: BooleanConstructor;
|
48
|
-
disableInput: BooleanConstructor;
|
49
|
-
beforeChange: import("vue").PropType<import("../utils").Interceptor>;
|
50
|
-
defaultValue: {
|
51
|
-
type: (NumberConstructor | StringConstructor)[];
|
52
|
-
default: number;
|
53
|
-
};
|
54
|
-
decimalLength: (NumberConstructor | StringConstructor)[];
|
55
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change" | "plus" | "minus" | "overlimit")[], "focus" | "blur" | "update:modelValue" | "change" | "plus" | "minus" | "overlimit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
56
|
-
min: {
|
57
|
-
type: (NumberConstructor | StringConstructor)[];
|
58
|
-
default: number;
|
59
|
-
};
|
60
|
-
max: {
|
61
|
-
type: (NumberConstructor | StringConstructor)[];
|
62
|
-
default: number;
|
63
|
-
};
|
64
|
-
name: {
|
65
|
-
type: (NumberConstructor | StringConstructor)[];
|
66
|
-
default: string;
|
67
|
-
};
|
68
|
-
step: {
|
69
|
-
type: (NumberConstructor | StringConstructor)[];
|
70
|
-
default: number;
|
71
|
-
};
|
72
|
-
theme: import("vue").PropType<import("./Stepper").StepperTheme>;
|
73
|
-
integer: BooleanConstructor;
|
74
|
-
disabled: BooleanConstructor;
|
75
|
-
showPlus: {
|
76
|
-
type: BooleanConstructor;
|
77
|
-
default: true;
|
78
|
-
};
|
79
|
-
showMinus: {
|
80
|
-
type: BooleanConstructor;
|
81
|
-
default: true;
|
82
|
-
};
|
83
|
-
showInput: {
|
84
|
-
type: BooleanConstructor;
|
85
|
-
default: true;
|
86
|
-
};
|
87
|
-
longPress: {
|
88
|
-
type: BooleanConstructor;
|
89
|
-
default: true;
|
90
|
-
};
|
91
|
-
autoFixed: {
|
92
|
-
type: BooleanConstructor;
|
93
|
-
default: true;
|
94
|
-
};
|
95
|
-
allowEmpty: BooleanConstructor;
|
96
|
-
modelValue: (NumberConstructor | StringConstructor)[];
|
97
|
-
inputWidth: (NumberConstructor | StringConstructor)[];
|
98
|
-
buttonSize: (NumberConstructor | StringConstructor)[];
|
99
|
-
placeholder: StringConstructor;
|
100
|
-
disablePlus: BooleanConstructor;
|
101
|
-
disableMinus: BooleanConstructor;
|
102
|
-
disableInput: BooleanConstructor;
|
103
|
-
beforeChange: import("vue").PropType<import("../utils").Interceptor>;
|
104
|
-
defaultValue: {
|
105
|
-
type: (NumberConstructor | StringConstructor)[];
|
106
|
-
default: number;
|
107
|
-
};
|
108
|
-
decimalLength: (NumberConstructor | StringConstructor)[];
|
109
|
-
}>> & {
|
110
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
111
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
112
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
113
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
114
|
-
onPlus?: ((...args: any[]) => any) | undefined;
|
115
|
-
onMinus?: ((...args: any[]) => any) | undefined;
|
116
|
-
onOverlimit?: ((...args: any[]) => any) | undefined;
|
117
|
-
}, {
|
118
|
-
name: string | number;
|
119
|
-
max: string | number;
|
120
|
-
disabled: boolean;
|
121
|
-
longPress: boolean;
|
122
|
-
step: string | number;
|
123
|
-
min: string | number;
|
124
|
-
integer: boolean;
|
125
|
-
showPlus: boolean;
|
126
|
-
showMinus: boolean;
|
127
|
-
showInput: boolean;
|
128
|
-
autoFixed: boolean;
|
129
|
-
allowEmpty: boolean;
|
130
|
-
disablePlus: boolean;
|
131
|
-
disableMinus: boolean;
|
132
|
-
disableInput: boolean;
|
133
|
-
defaultValue: string | number;
|
134
|
-
}>>;
|
135
|
-
export default Stepper;
|
136
|
-
export { stepperProps } from './Stepper';
|
137
|
-
export type { StepperTheme, StepperProps } from './Stepper';
|
138
|
-
export type { StepperThemeVars } from './types';
|
139
|
-
declare module 'vue' {
|
140
|
-
interface GlobalComponents {
|
141
|
-
VanStepper: typeof Stepper;
|
142
|
-
}
|
143
|
-
}
|
package/lib/stepper/index.js
DELETED
@@ -1,35 +0,0 @@
|
|
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
|
-
Stepper: () => Stepper,
|
27
|
-
default: () => stdin_default,
|
28
|
-
stepperProps: () => import_Stepper2.stepperProps
|
29
|
-
});
|
30
|
-
module.exports = __toCommonJS(stdin_exports);
|
31
|
-
var import_utils = require("../utils");
|
32
|
-
var import_Stepper = __toESM(require("./Stepper"));
|
33
|
-
var import_Stepper2 = require("./Stepper");
|
34
|
-
const Stepper = (0, import_utils.withInstall)(import_Stepper.default);
|
35
|
-
var stdin_default = Stepper;
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
package/lib/stepper/types.d.ts
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
export type StepperThemeVars = {
|
2
|
-
stepperBackground?: string;
|
3
|
-
stepperButtonIconColor?: string;
|
4
|
-
stepperButtonDisabledColor?: string;
|
5
|
-
stepperButtonDisabledIconColor?: string;
|
6
|
-
stepperButtonRoundThemeColor?: string;
|
7
|
-
stepperInputWidth?: string;
|
8
|
-
stepperInputHeight?: string;
|
9
|
-
stepperInputFontSize?: string;
|
10
|
-
stepperInputLineHeight?: number | string;
|
11
|
-
stepperInputTextColor?: string;
|
12
|
-
stepperInputDisabledTextColor?: string;
|
13
|
-
stepperInputDisabledBackground?: string;
|
14
|
-
stepperRadius?: string;
|
15
|
-
};
|
package/lib/stepper/types.js
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
var __defProp = Object.defineProperty;
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
-
var __copyProps = (to, from, except, desc) => {
|
6
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
7
|
-
for (let key of __getOwnPropNames(from))
|
8
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
9
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
10
|
-
}
|
11
|
-
return to;
|
12
|
-
};
|
13
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
14
|
-
var stdin_exports = {};
|
15
|
-
module.exports = __toCommonJS(stdin_exports);
|
package/lib/steps/Steps.d.ts
DELETED
@@ -1,71 +0,0 @@
|
|
1
|
-
import { type ExtractPropTypes, type InjectionKey } from 'vue';
|
2
|
-
export type StepsDirection = 'horizontal' | 'vertical';
|
3
|
-
export declare const stepsProps: {
|
4
|
-
active: {
|
5
|
-
type: (NumberConstructor | StringConstructor)[];
|
6
|
-
default: number;
|
7
|
-
};
|
8
|
-
direction: {
|
9
|
-
type: import("vue").PropType<StepsDirection>;
|
10
|
-
default: StepsDirection;
|
11
|
-
};
|
12
|
-
activeIcon: {
|
13
|
-
type: import("vue").PropType<string>;
|
14
|
-
default: string;
|
15
|
-
};
|
16
|
-
iconPrefix: StringConstructor;
|
17
|
-
finishIcon: StringConstructor;
|
18
|
-
activeColor: StringConstructor;
|
19
|
-
inactiveIcon: StringConstructor;
|
20
|
-
inactiveColor: StringConstructor;
|
21
|
-
};
|
22
|
-
export type StepsProps = ExtractPropTypes<typeof stepsProps>;
|
23
|
-
export type StepsProvide = {
|
24
|
-
props: StepsProps;
|
25
|
-
onClickStep: (index: number) => void;
|
26
|
-
};
|
27
|
-
export declare const STEPS_KEY: InjectionKey<StepsProvide>;
|
28
|
-
declare const _default: import("vue").DefineComponent<{
|
29
|
-
active: {
|
30
|
-
type: (NumberConstructor | StringConstructor)[];
|
31
|
-
default: number;
|
32
|
-
};
|
33
|
-
direction: {
|
34
|
-
type: import("vue").PropType<StepsDirection>;
|
35
|
-
default: StepsDirection;
|
36
|
-
};
|
37
|
-
activeIcon: {
|
38
|
-
type: import("vue").PropType<string>;
|
39
|
-
default: string;
|
40
|
-
};
|
41
|
-
iconPrefix: StringConstructor;
|
42
|
-
finishIcon: StringConstructor;
|
43
|
-
activeColor: StringConstructor;
|
44
|
-
inactiveIcon: StringConstructor;
|
45
|
-
inactiveColor: StringConstructor;
|
46
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clickStep"[], "clickStep", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
47
|
-
active: {
|
48
|
-
type: (NumberConstructor | StringConstructor)[];
|
49
|
-
default: number;
|
50
|
-
};
|
51
|
-
direction: {
|
52
|
-
type: import("vue").PropType<StepsDirection>;
|
53
|
-
default: StepsDirection;
|
54
|
-
};
|
55
|
-
activeIcon: {
|
56
|
-
type: import("vue").PropType<string>;
|
57
|
-
default: string;
|
58
|
-
};
|
59
|
-
iconPrefix: StringConstructor;
|
60
|
-
finishIcon: StringConstructor;
|
61
|
-
activeColor: StringConstructor;
|
62
|
-
inactiveIcon: StringConstructor;
|
63
|
-
inactiveColor: StringConstructor;
|
64
|
-
}>> & {
|
65
|
-
onClickStep?: ((...args: any[]) => any) | undefined;
|
66
|
-
}, {
|
67
|
-
active: string | number;
|
68
|
-
direction: StepsDirection;
|
69
|
-
activeIcon: string;
|
70
|
-
}>;
|
71
|
-
export default _default;
|
package/lib/steps/Steps.js
DELETED
@@ -1,66 +0,0 @@
|
|
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
|
-
STEPS_KEY: () => STEPS_KEY,
|
21
|
-
default: () => stdin_default,
|
22
|
-
stepsProps: () => stepsProps
|
23
|
-
});
|
24
|
-
module.exports = __toCommonJS(stdin_exports);
|
25
|
-
var import_vue = require("vue");
|
26
|
-
var import_vue2 = require("vue");
|
27
|
-
var import_utils = require("../utils");
|
28
|
-
var import_use = require("@vant/use");
|
29
|
-
const [name, bem] = (0, import_utils.createNamespace)("steps");
|
30
|
-
const stepsProps = {
|
31
|
-
active: (0, import_utils.makeNumericProp)(0),
|
32
|
-
direction: (0, import_utils.makeStringProp)("horizontal"),
|
33
|
-
activeIcon: (0, import_utils.makeStringProp)("checked"),
|
34
|
-
iconPrefix: String,
|
35
|
-
finishIcon: String,
|
36
|
-
activeColor: String,
|
37
|
-
inactiveIcon: String,
|
38
|
-
inactiveColor: String
|
39
|
-
};
|
40
|
-
const STEPS_KEY = Symbol(name);
|
41
|
-
var stdin_default = (0, import_vue2.defineComponent)({
|
42
|
-
name,
|
43
|
-
props: stepsProps,
|
44
|
-
emits: ["clickStep"],
|
45
|
-
setup(props, {
|
46
|
-
emit,
|
47
|
-
slots
|
48
|
-
}) {
|
49
|
-
const {
|
50
|
-
linkChildren
|
51
|
-
} = (0, import_use.useChildren)(STEPS_KEY);
|
52
|
-
const onClickStep = (index) => emit("clickStep", index);
|
53
|
-
linkChildren({
|
54
|
-
props,
|
55
|
-
onClickStep
|
56
|
-
});
|
57
|
-
return () => {
|
58
|
-
var _a;
|
59
|
-
return (0, import_vue.createVNode)("div", {
|
60
|
-
"class": bem([props.direction])
|
61
|
-
}, [(0, import_vue.createVNode)("div", {
|
62
|
-
"class": bem("items")
|
63
|
-
}, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]);
|
64
|
-
};
|
65
|
-
}
|
66
|
-
});
|
package/lib/steps/index.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
:root{--van-steps-background: var(--van-background-2)}.van-steps{overflow:hidden;background-color:var(--van-steps-background)}.van-steps--horizontal{padding:10px 10px 0}.van-steps--horizontal .van-steps__items{position:relative;display:flex;margin:0 0 10px;padding-bottom:22px}.van-steps--vertical{padding:0 0 0 var(--van-padding-xl)}
|
package/lib/steps/index.d.ts
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
export declare const Steps: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
|
-
active: {
|
3
|
-
type: (NumberConstructor | StringConstructor)[];
|
4
|
-
default: number;
|
5
|
-
};
|
6
|
-
direction: {
|
7
|
-
type: import("vue").PropType<import("./Steps").StepsDirection>;
|
8
|
-
default: import("./Steps").StepsDirection;
|
9
|
-
};
|
10
|
-
activeIcon: {
|
11
|
-
type: import("vue").PropType<string>;
|
12
|
-
default: string;
|
13
|
-
};
|
14
|
-
iconPrefix: StringConstructor;
|
15
|
-
finishIcon: StringConstructor;
|
16
|
-
activeColor: StringConstructor;
|
17
|
-
inactiveIcon: StringConstructor;
|
18
|
-
inactiveColor: StringConstructor;
|
19
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clickStep"[], "clickStep", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
20
|
-
active: {
|
21
|
-
type: (NumberConstructor | StringConstructor)[];
|
22
|
-
default: number;
|
23
|
-
};
|
24
|
-
direction: {
|
25
|
-
type: import("vue").PropType<import("./Steps").StepsDirection>;
|
26
|
-
default: import("./Steps").StepsDirection;
|
27
|
-
};
|
28
|
-
activeIcon: {
|
29
|
-
type: import("vue").PropType<string>;
|
30
|
-
default: string;
|
31
|
-
};
|
32
|
-
iconPrefix: StringConstructor;
|
33
|
-
finishIcon: StringConstructor;
|
34
|
-
activeColor: StringConstructor;
|
35
|
-
inactiveIcon: StringConstructor;
|
36
|
-
inactiveColor: StringConstructor;
|
37
|
-
}>> & {
|
38
|
-
onClickStep?: ((...args: any[]) => any) | undefined;
|
39
|
-
}, {
|
40
|
-
active: string | number;
|
41
|
-
direction: import("./Steps").StepsDirection;
|
42
|
-
activeIcon: string;
|
43
|
-
}>>;
|
44
|
-
export default Steps;
|
45
|
-
export { stepsProps } from './Steps';
|
46
|
-
export type { StepsProps, StepsDirection } from './Steps';
|
47
|
-
export type { StepsThemeVars } from './types';
|
48
|
-
declare module 'vue' {
|
49
|
-
interface GlobalComponents {
|
50
|
-
VanSteps: typeof Steps;
|
51
|
-
}
|
52
|
-
}
|