zartui 3.0.2 → 3.0.4
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/action-sheet/ActionSheet.d.ts +194 -0
- package/es/action-sheet/ActionSheet.mjs +142 -0
- package/es/action-sheet/index.css +1 -0
- package/es/action-sheet/index.d.ts +135 -0
- package/es/action-sheet/index.mjs +10 -0
- package/es/action-sheet/style/index.d.ts +1 -0
- package/es/action-sheet/style/index.mjs +7 -0
- package/es/avatar/Avatar.d.ts +59 -0
- package/es/avatar/Avatar.mjs +70 -0
- package/es/avatar/index.css +1 -0
- package/es/avatar/index.d.ts +46 -0
- package/es/avatar/index.mjs +8 -0
- package/es/avatar/style/index.d.ts +1 -0
- package/es/avatar/style/index.mjs +5 -0
- package/es/avatar/types.d.ts +2 -0
- package/es/avatar/types.mjs +0 -0
- package/es/badge/Badge.d.ts +12 -6
- package/es/badge/Badge.mjs +13 -6
- package/es/badge/index.css +1 -1
- package/es/badge/index.d.ts +8 -4
- package/es/button/Button.d.ts +1 -1
- package/es/button/index.css +1 -1
- package/es/button/index.d.ts +1 -1
- package/es/calendar/Calendar.d.ts +302 -0
- package/es/calendar/Calendar.mjs +419 -0
- package/es/calendar/CalendarDay.d.ts +32 -0
- package/es/calendar/CalendarDay.mjs +108 -0
- package/es/calendar/CalendarHeader.d.ts +26 -0
- package/es/calendar/CalendarHeader.mjs +58 -0
- package/es/calendar/CalendarMonth.d.ts +86 -0
- package/es/calendar/CalendarMonth.mjs +201 -0
- package/es/calendar/index.css +1 -0
- package/es/calendar/index.d.ts +217 -0
- package/es/calendar/index.mjs +10 -0
- package/es/calendar/style/index.d.ts +1 -0
- package/es/calendar/style/index.mjs +9 -0
- package/es/calendar/types.d.ts +28 -0
- package/es/calendar/types.mjs +0 -0
- package/es/calendar/utils.d.ts +12 -0
- package/es/calendar/utils.mjs +56 -0
- package/es/cascader/Cascader.d.ts +171 -0
- package/es/cascader/Cascader.mjs +284 -0
- package/es/cascader/index.css +1 -0
- package/es/cascader/index.d.ts +126 -0
- package/es/cascader/index.mjs +10 -0
- package/es/cascader/style/index.d.ts +1 -0
- package/es/cascader/style/index.mjs +14 -0
- package/es/cascader/types.d.ts +19 -0
- package/es/cascader/types.mjs +0 -0
- package/es/cell/Cell.d.ts +49 -26
- package/es/cell/Cell.mjs +71 -31
- package/es/cell/index.css +1 -1
- package/es/cell/index.d.ts +29 -15
- package/es/cell/types.d.ts +1 -0
- package/es/cell/types.mjs +0 -0
- package/es/cell-group/CellGroup.d.ts +29 -0
- package/es/cell-group/CellGroup.mjs +43 -0
- package/es/cell-group/index.css +1 -0
- package/es/cell-group/index.d.ts +25 -0
- package/es/cell-group/index.mjs +8 -0
- package/es/cell-group/style/index.d.ts +1 -0
- package/es/cell-group/style/index.mjs +2 -0
- package/es/checkbox/Checkbox.d.ts +64 -0
- package/es/checkbox/Checkbox.mjs +81 -0
- package/es/checkbox/Checker.d.ts +85 -0
- package/es/checkbox/Checker.mjs +113 -0
- package/es/checkbox/index.css +1 -0
- package/es/checkbox/index.d.ts +51 -0
- package/es/checkbox/index.mjs +8 -0
- package/es/checkbox/style/index.d.ts +1 -0
- package/es/checkbox/style/index.mjs +5 -0
- package/es/checkbox/types.d.ts +13 -0
- package/es/checkbox/types.mjs +0 -0
- package/es/checkbox-group/CheckboxGroup.d.ts +54 -0
- package/es/checkbox-group/CheckboxGroup.mjs +71 -0
- package/es/checkbox-group/index.css +1 -0
- package/es/checkbox-group/index.d.ts +42 -0
- package/es/checkbox-group/index.mjs +8 -0
- package/es/checkbox-group/style/index.d.ts +1 -0
- package/es/checkbox-group/style/index.mjs +2 -0
- package/es/checkbox-group/types.d.ts +16 -0
- package/es/checkbox-group/types.mjs +0 -0
- package/es/col/Col.d.ts +2 -2
- package/es/col/index.d.ts +1 -1
- package/es/collapse/Collapse.d.ts +55 -0
- package/es/collapse/Collapse.mjs +109 -0
- package/es/collapse/index.d.ts +36 -0
- package/es/collapse/index.mjs +10 -0
- package/es/collapse/style/index.d.ts +1 -0
- package/es/collapse/style/index.mjs +1 -0
- package/es/collapse-item/CollapseItem.d.ts +34 -0
- package/es/collapse-item/CollapseItem.mjs +135 -0
- package/es/collapse-item/index.css +1 -0
- package/es/collapse-item/index.d.ts +30 -0
- package/es/collapse-item/index.mjs +10 -0
- package/es/collapse-item/style/index.d.ts +1 -0
- package/es/collapse-item/style/index.mjs +4 -0
- package/es/collapse-item/types.d.ts +6 -0
- package/es/collapse-item/types.mjs +0 -0
- package/es/composables/use-route.d.ts +1 -4
- package/es/composables/use-route.mjs +1 -3
- package/es/config-provider/ConfigProvider.d.ts +1 -1
- package/es/config-provider/ConfigProvider.mjs +2 -2
- package/es/config-provider/index.d.ts +2 -2
- package/es/date-time-picker/DateTimePicker.d.ts +242 -0
- package/es/date-time-picker/DateTimePicker.mjs +248 -0
- package/es/date-time-picker/DateTimePickerWrapper.d.ts +334 -0
- package/es/date-time-picker/DateTimePickerWrapper.mjs +254 -0
- package/es/date-time-picker/index.css +1 -0
- package/es/date-time-picker/index.d.ts +247 -0
- package/es/date-time-picker/index.mjs +10 -0
- package/es/date-time-picker/style/index.d.ts +1 -0
- package/es/date-time-picker/style/index.mjs +12 -0
- package/es/date-time-picker/types.d.ts +5 -0
- package/es/date-time-picker/types.mjs +0 -0
- package/es/date-time-picker/utils.d.ts +53 -0
- package/es/date-time-picker/utils.mjs +42 -0
- package/es/dialog/Dialog.d.ts +187 -0
- package/es/dialog/Dialog.mjs +197 -0
- package/es/dialog/function-call.d.ts +6 -0
- package/es/dialog/function-call.mjs +85 -0
- package/es/dialog/index.css +1 -0
- package/es/dialog/index.d.ts +138 -0
- package/es/dialog/index.mjs +22 -0
- package/es/dialog/style/index.d.ts +1 -0
- package/es/dialog/style/index.mjs +8 -0
- package/es/dialog/types.d.ts +32 -0
- package/es/dialog/types.mjs +0 -0
- package/es/divider/Divider.d.ts +2 -2
- package/es/divider/index.css +1 -1
- package/es/divider/index.d.ts +1 -1
- package/es/dropdown-item/DropdownItem.d.ts +78 -0
- package/es/dropdown-item/DropdownItem.mjs +302 -0
- package/es/dropdown-item/index.css +1 -0
- package/es/dropdown-item/index.d.ts +64 -0
- package/es/dropdown-item/index.mjs +10 -0
- package/es/dropdown-item/style/index.d.ts +1 -0
- package/es/dropdown-item/style/index.mjs +12 -0
- package/es/dropdown-item/types.d.ts +23 -0
- package/es/dropdown-item/types.mjs +0 -0
- package/es/dropdown-menu/DropdownMenu.d.ts +82 -0
- package/es/dropdown-menu/DropdownMenu.mjs +142 -0
- package/es/dropdown-menu/index.css +1 -0
- package/es/dropdown-menu/index.d.ts +63 -0
- package/es/dropdown-menu/index.mjs +10 -0
- package/es/dropdown-menu/style/index.d.ts +1 -0
- package/es/dropdown-menu/style/index.mjs +4 -0
- package/es/dropdown-menu/types.d.ts +8 -0
- package/es/dropdown-menu/types.mjs +0 -0
- package/es/empty/Empty.d.ts +3 -2
- package/es/empty/Empty.mjs +10 -5
- package/es/empty/Images.d.ts +7 -2
- package/es/empty/Images.mjs +855 -2004
- package/es/empty/index.css +1 -1
- package/es/empty/index.d.ts +1 -1
- package/es/field/Field.d.ts +364 -0
- package/es/field/Field.mjs +510 -0
- package/es/field/index.css +1 -0
- package/es/field/index.d.ts +230 -0
- package/es/field/index.mjs +8 -0
- package/es/field/style/index.d.ts +1 -0
- package/es/field/style/index.mjs +5 -0
- package/es/field/types.d.ts +44 -0
- package/es/field/types.mjs +0 -0
- package/es/field/utils.d.ts +15 -0
- package/es/field/utils.mjs +107 -0
- package/es/form/Form.d.ts +88 -0
- package/es/form/Form.mjs +158 -0
- package/es/form/index.d.ts +69 -0
- package/es/form/index.mjs +8 -0
- package/es/form/style/index.d.ts +1 -0
- package/es/form/style/index.mjs +1 -0
- package/es/form/types.d.ts +15 -0
- package/es/form/types.mjs +0 -0
- package/es/grid/Grid.d.ts +74 -0
- package/es/grid/Grid.mjs +48 -0
- package/es/grid/index.css +1 -0
- package/es/grid/index.d.ts +54 -0
- package/es/grid/index.mjs +10 -0
- package/es/grid/style/index.d.ts +1 -0
- package/es/grid/style/index.mjs +2 -0
- package/es/grid-item/GridItem.d.ts +45 -0
- package/es/grid-item/GridItem.mjs +146 -0
- package/es/grid-item/index.css +1 -0
- package/es/grid-item/index.d.ts +36 -0
- package/es/grid-item/index.mjs +10 -0
- package/es/grid-item/style/index.d.ts +1 -0
- package/es/grid-item/style/index.mjs +5 -0
- package/es/icon/Icon.d.ts +1 -1
- package/es/icon/config.mjs +10 -2
- package/es/icon/index.css +1 -1
- package/es/icon/index.d.ts +1 -1
- package/es/image/Image.d.ts +105 -0
- package/es/image/Image.mjs +151 -0
- package/es/image/index.css +1 -0
- package/es/image/index.d.ts +77 -0
- package/es/image/index.mjs +8 -0
- package/es/image/style/index.d.ts +1 -0
- package/es/image/style/index.mjs +4 -0
- package/es/image-preview/ImagePreview.d.ts +189 -0
- package/es/image-preview/ImagePreview.mjs +183 -0
- package/es/image-preview/ImagePreviewItem.d.ts +48 -0
- package/es/image-preview/ImagePreviewItem.mjs +266 -0
- package/es/image-preview/function-call.d.ts +3 -0
- package/es/image-preview/function-call.mjs +76 -0
- package/es/image-preview/index.css +1 -0
- package/es/image-preview/index.d.ts +140 -0
- package/es/image-preview/index.mjs +12 -0
- package/es/image-preview/style/index.d.ts +1 -0
- package/es/image-preview/style/index.mjs +10 -0
- package/es/image-preview/types.d.ts +43 -0
- package/es/image-preview/types.mjs +0 -0
- package/es/index.d.ts +39 -1
- package/es/index.mjs +114 -2
- package/es/lazyload/index.d.ts +3 -0
- package/es/lazyload/index.mjs +6 -0
- package/es/lazyload/style/index.d.ts +1 -0
- package/es/lazyload/style/index.mjs +1 -0
- package/es/lazyload/vue-lazyload/index.d.ts +55 -0
- package/es/lazyload/vue-lazyload/index.mjs +31 -0
- package/es/lazyload/vue-lazyload/lazy-component.mjs +51 -0
- package/es/lazyload/vue-lazyload/lazy-container.mjs +74 -0
- package/es/lazyload/vue-lazyload/lazy-image.mjs +100 -0
- package/es/lazyload/vue-lazyload/lazy.mjs +364 -0
- package/es/lazyload/vue-lazyload/listener.mjs +173 -0
- package/es/lazyload/vue-lazyload/util.mjs +166 -0
- package/es/list/List.d.ts +2 -2
- package/es/list/List.mjs +2 -1
- package/es/list/index.css +1 -1
- package/es/list/index.d.ts +1 -1
- package/es/loading/Loading.d.ts +1 -1
- package/es/loading/index.css +1 -1
- package/es/loading/index.d.ts +1 -1
- package/es/locale/lang/zh-CN.mjs +1 -1
- package/es/media-picker/MediaPicker.d.ts +242 -0
- package/es/media-picker/MediaPicker.mjs +649 -0
- package/es/media-picker/image/DefaultAudioIcon.d.ts +2 -0
- package/es/media-picker/image/DefaultAudioIcon.mjs +98 -0
- package/es/media-picker/image/DefaultFileIcon.d.ts +2 -0
- package/es/media-picker/image/DefaultFileIcon.mjs +87 -0
- package/es/media-picker/image/DefaultVideoIcon.d.ts +2 -0
- package/es/media-picker/image/DefaultVideoIcon.mjs +119 -0
- package/es/media-picker/image/DeleteIcon.d.ts +2 -0
- package/es/media-picker/image/DeleteIcon.mjs +30 -0
- package/es/media-picker/image/PickFileIcon.d.ts +2 -0
- package/es/media-picker/image/PickFileIcon.mjs +27 -0
- package/es/media-picker/image/PickPhotoIcon.d.ts +2 -0
- package/es/media-picker/image/PickPhotoIcon.mjs +27 -0
- package/es/media-picker/image/TakeAudioIcon.d.ts +2 -0
- package/es/media-picker/image/TakeAudioIcon.mjs +27 -0
- package/es/media-picker/image/TakePhotoIcon.d.ts +2 -0
- package/es/media-picker/image/TakePhotoIcon.mjs +27 -0
- package/es/media-picker/image/TakeVideoIcon.d.ts +2 -0
- package/es/media-picker/image/TakeVideoIcon.mjs +27 -0
- package/es/media-picker/index.css +1 -0
- package/es/media-picker/index.d.ts +153 -0
- package/es/media-picker/index.mjs +8 -0
- package/es/media-picker/style/index.d.ts +1 -0
- package/es/media-picker/style/index.mjs +16 -0
- package/es/media-picker/type.d.ts +22 -0
- package/es/media-picker/type.mjs +0 -0
- package/es/media-picker/util/media-util.d.ts +86 -0
- package/es/media-picker/util/media-util.mjs +266 -0
- package/es/media-picker/watermark/compress-options.d.ts +5 -0
- package/es/media-picker/watermark/compress-options.mjs +15 -0
- package/es/media-picker/watermark/image-processor.d.ts +12 -0
- package/es/media-picker/watermark/image-processor.mjs +80 -0
- package/es/media-picker/watermark/resize-options.d.ts +4 -0
- package/es/media-picker/watermark/resize-options.mjs +19 -0
- package/es/media-picker/watermark/watermark.d.ts +42 -0
- package/es/media-picker/watermark/watermark.mjs +641 -0
- package/es/media-player/MediaPlayer.d.ts +42 -0
- package/es/media-player/MediaPlayer.mjs +105 -0
- package/es/media-player/index.css +1 -0
- package/es/media-player/index.d.ts +34 -0
- package/es/media-player/index.mjs +8 -0
- package/es/media-player/style/index.d.ts +1 -0
- package/es/media-player/style/index.mjs +6 -0
- package/es/multiple-picker/MultiplePicker.d.ts +167 -0
- package/es/multiple-picker/MultiplePicker.mjs +169 -0
- package/es/multiple-picker/MultiplePickerOptions.d.ts +85 -0
- package/es/multiple-picker/MultiplePickerOptions.mjs +106 -0
- package/es/multiple-picker/index.css +1 -0
- package/es/multiple-picker/index.d.ts +123 -0
- package/es/multiple-picker/index.mjs +8 -0
- package/es/multiple-picker/style/index.d.ts +1 -0
- package/es/multiple-picker/style/index.mjs +8 -0
- package/es/multiple-picker/types.d.ts +15 -0
- package/es/multiple-picker/types.mjs +0 -0
- package/es/nav-bar/NavBar.d.ts +72 -0
- package/es/nav-bar/NavBar.mjs +114 -0
- package/es/nav-bar/index.css +1 -0
- package/es/nav-bar/index.d.ts +56 -0
- package/es/nav-bar/index.mjs +8 -0
- package/es/nav-bar/style/index.d.ts +1 -0
- package/es/nav-bar/style/index.mjs +4 -0
- package/es/notice-bar/NoticeBar.d.ts +1 -1
- package/es/notice-bar/index.css +1 -1
- package/es/notice-bar/index.d.ts +1 -1
- package/es/notify/Notify.d.ts +1 -1
- package/es/notify/index.css +1 -1
- package/es/notify/index.d.ts +2 -2
- package/es/number-keyboard/NumberKeyboard.d.ts +6 -6
- package/es/number-keyboard/NumberKeyboard.mjs +1 -2
- package/es/number-keyboard/NumberKeyboardKey.mjs +2 -2
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +5 -5
- package/es/number-keyboard/style/index.mjs +2 -2
- package/es/overlay/Overlay.d.ts +1 -1
- package/es/overlay/index.css +1 -1
- package/es/overlay/index.d.ts +1 -1
- package/es/password-input/PasswordInput.d.ts +1 -1
- package/es/password-input/PasswordInput.mjs +1 -1
- package/es/password-input/index.css +1 -1
- package/es/picker/Picker.d.ts +224 -0
- package/es/picker/Picker.mjs +244 -0
- package/es/picker/PickerColumn.d.ts +69 -0
- package/es/picker/PickerColumn.mjs +212 -0
- package/es/picker/PickerToolbar.d.ts +18 -0
- package/es/picker/PickerToolbar.mjs +54 -0
- package/es/picker/index.css +1 -0
- package/es/picker/index.d.ts +142 -0
- package/es/picker/index.mjs +10 -0
- package/es/picker/style/index.d.ts +1 -0
- package/es/picker/style/index.mjs +9 -0
- package/es/picker/types.d.ts +44 -0
- package/es/picker/types.mjs +0 -0
- package/es/picker/utils.d.ts +13 -0
- package/es/picker/utils.mjs +80 -0
- package/es/popover/Popover.d.ts +164 -0
- package/es/popover/Popover.mjs +186 -0
- package/es/popover/index.css +1 -0
- package/es/popover/index.d.ts +121 -0
- package/es/popover/index.mjs +10 -0
- package/es/popover/style/index.d.ts +1 -0
- package/es/popover/style/index.mjs +6 -0
- package/es/popover/types.d.ts +11 -0
- package/es/popover/types.mjs +0 -0
- package/es/popup/Popup.d.ts +48 -5
- package/es/popup/Popup.mjs +87 -3
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +34 -4
- package/es/pull-refresh/PullRefresh.d.ts +3 -3
- package/es/pull-refresh/PullRefresh.mjs +7 -2
- package/es/pull-refresh/index.css +1 -1
- package/es/pull-refresh/index.d.ts +2 -2
- package/es/radio/Radio.d.ts +37 -0
- package/es/radio/Radio.mjs +41 -0
- package/es/radio/index.css +1 -0
- package/es/radio/index.d.ts +38 -0
- package/es/radio/index.mjs +8 -0
- package/es/radio/style/index.d.ts +1 -0
- package/es/radio/style/index.mjs +6 -0
- package/es/radio-group/RadioGroup.d.ts +45 -0
- package/es/radio-group/RadioGroup.mjs +44 -0
- package/es/radio-group/index.css +1 -0
- package/es/radio-group/index.d.ts +32 -0
- package/es/radio-group/index.mjs +8 -0
- package/es/radio-group/style/index.d.ts +1 -0
- package/es/radio-group/style/index.mjs +2 -0
- package/es/rate/Rate.d.ts +4 -4
- package/es/rate/Rate.mjs +1 -1
- package/es/rate/index.css +1 -1
- package/es/rate/index.d.ts +3 -3
- package/es/row/Row.d.ts +2 -2
- package/es/row/index.d.ts +1 -1
- package/es/search/Search.d.ts +217 -0
- package/es/search/Search.mjs +136 -0
- package/es/search/index.css +1 -0
- package/es/search/index.d.ts +159 -0
- package/es/search/index.mjs +10 -0
- package/es/search/style/index.d.ts +1 -0
- package/es/search/style/index.mjs +6 -0
- package/es/search/types.d.ts +8 -0
- package/es/search/types.mjs +0 -0
- package/es/signature/Signature.d.ts +109 -0
- package/es/signature/Signature.mjs +232 -0
- package/es/signature/force-landscape.d.ts +16 -0
- package/es/signature/force-landscape.mjs +72 -0
- package/es/signature/index.css +1 -0
- package/es/signature/index.d.ts +83 -0
- package/es/signature/index.mjs +10 -0
- package/es/signature/style/index.d.ts +1 -0
- package/es/signature/style/index.mjs +10 -0
- package/es/signature/types.d.ts +1 -0
- package/es/signature/types.mjs +0 -0
- package/es/skeleton/Skeleton.d.ts +104 -0
- package/es/skeleton/Skeleton.mjs +116 -0
- package/es/skeleton/index.css +1 -0
- package/es/skeleton/index.d.ts +78 -0
- package/es/skeleton/index.mjs +10 -0
- package/es/skeleton/style/index.d.ts +1 -0
- package/es/skeleton/style/index.mjs +2 -0
- package/es/step/Step.d.ts +15 -0
- package/es/step/Step.mjs +137 -0
- package/es/step/index.css +1 -0
- package/es/step/index.d.ts +15 -0
- package/es/step/index.mjs +8 -0
- package/es/step/style/index.d.ts +1 -0
- package/es/step/style/index.mjs +5 -0
- package/es/stepper/Stepper.d.ts +4 -4
- package/es/stepper/Stepper.mjs +1 -2
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +3 -3
- package/es/steps/Steps.d.ts +67 -0
- package/es/steps/Steps.mjs +49 -0
- package/es/steps/index.css +1 -0
- package/es/steps/index.d.ts +48 -0
- package/es/steps/index.mjs +10 -0
- package/es/steps/style/index.d.ts +1 -0
- package/es/steps/style/index.mjs +2 -0
- package/es/sticky/Sticky.d.ts +2 -2
- package/es/sticky/Sticky.mjs +2 -1
- package/es/sticky/index.css +1 -1
- package/es/sticky/index.d.ts +1 -1
- package/es/style/base.css +1 -1
- package/es/style/css-variables.css +1 -1
- package/es/style/normalize.css +1 -1
- package/es/swipe/Swipe.d.ts +4 -1
- package/es/swipe/Swipe.mjs +28 -11
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.d.ts +2 -0
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/SwipeItem.mjs +1 -1
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/Switch.d.ts +2 -2
- package/es/switch/index.css +1 -1
- package/es/switch/index.d.ts +1 -1
- package/es/tab/Tab.d.ts +2 -2
- package/es/tab/Tab.mjs +1 -1
- package/es/tab/index.d.ts +1 -1
- package/es/tab/style/index.mjs +1 -1
- package/es/tabbar/Tabbar.d.ts +90 -0
- package/es/tabbar/Tabbar.mjs +84 -0
- package/es/tabbar/image/common-selected.png +0 -0
- package/es/tabbar/index.css +1 -0
- package/es/tabbar/index.d.ts +64 -0
- package/es/tabbar/index.mjs +8 -0
- package/es/tabbar/style/index.d.ts +1 -0
- package/es/tabbar/style/index.mjs +2 -0
- package/es/tabbar-item/TabbarItem.d.ts +44 -0
- package/es/tabbar-item/TabbarItem.mjs +122 -0
- package/es/tabbar-item/index.css +1 -0
- package/es/tabbar-item/index.d.ts +35 -0
- package/es/tabbar-item/index.mjs +8 -0
- package/es/tabbar-item/style/index.d.ts +1 -0
- package/es/tabbar-item/style/index.mjs +5 -0
- package/es/tabs/Tabs.d.ts +6 -6
- package/es/tabs/Tabs.mjs +35 -4
- package/es/tabs/TabsTitle.d.ts +11 -2
- package/es/tabs/TabsTitle.mjs +8 -2
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +4 -4
- package/es/tag/Tag.d.ts +102 -0
- package/es/tag/Tag.mjs +101 -0
- package/es/tag/index.css +1 -0
- package/es/tag/index.d.ts +77 -0
- package/es/tag/index.mjs +10 -0
- package/es/tag/style/index.d.ts +1 -0
- package/es/tag/style/index.mjs +4 -0
- package/es/time-picker/Arrow.d.ts +4 -0
- package/es/time-picker/Arrow.mjs +27 -0
- package/es/time-picker/TimePicker.d.ts +286 -0
- package/es/time-picker/TimePicker.mjs +172 -0
- package/es/time-picker/TimePickerColumn.d.ts +71 -0
- package/es/time-picker/TimePickerColumn.mjs +233 -0
- package/es/time-picker/index.css +1 -0
- package/es/time-picker/index.d.ts +205 -0
- package/es/time-picker/index.mjs +10 -0
- package/es/time-picker/style/index.d.ts +1 -0
- package/es/time-picker/style/index.mjs +11 -0
- package/es/toast/Toast.d.ts +2 -2
- package/es/toast/index.css +1 -1
- package/es/toast/index.d.ts +6 -1
- package/es/toast/style/index.mjs +1 -1
- package/es/uploader/Uploader.d.ts +214 -0
- package/es/uploader/Uploader.mjs +249 -0
- package/es/uploader/UploaderPreviewItem.d.ts +36 -0
- package/es/uploader/UploaderPreviewItem.mjs +128 -0
- package/es/uploader/index.css +1 -0
- package/es/uploader/index.d.ts +155 -0
- package/es/uploader/index.mjs +10 -0
- package/es/uploader/style/index.d.ts +1 -0
- package/es/uploader/style/index.mjs +11 -0
- package/es/uploader/types.d.ts +31 -0
- package/es/uploader/types.mjs +0 -0
- package/es/uploader/utils.d.ts +11 -0
- package/es/uploader/utils.mjs +69 -0
- package/es/utils/basic.mjs +2 -1
- package/es/utils/constant.d.ts +5 -0
- package/es/utils/constant.mjs +7 -1
- package/es/utils/create.mjs +4 -1
- package/es/utils/format.d.ts +1 -1
- package/es/utils/mount-component.d.ts +1 -1
- package/es/utils/parse.d.ts +12 -0
- package/es/utils/parse.mjs +18 -0
- package/es/utils/props.d.ts +2 -2
- package/es/utils/props.mjs +2 -2
- package/es/utils/validate.d.ts +6 -1
- package/es/utils/validate.mjs +11 -1
- package/es/utils/with-install.d.ts +2 -2
- package/es/utils/with-install.mjs +4 -2
- package/es/vue-tsx-shim.d.ts +7 -0
- package/lib/action-sheet/ActionSheet.d.ts +194 -0
- package/lib/action-sheet/ActionSheet.js +161 -0
- package/lib/action-sheet/index.css +1 -0
- package/lib/action-sheet/index.d.ts +135 -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/avatar/Avatar.d.ts +59 -0
- package/lib/avatar/Avatar.js +95 -0
- package/lib/avatar/index.css +1 -0
- package/lib/avatar/index.d.ts +46 -0
- package/lib/avatar/index.js +33 -0
- package/lib/avatar/style/index.d.ts +1 -0
- package/lib/avatar/style/index.js +5 -0
- package/lib/avatar/types.d.ts +2 -0
- package/lib/avatar/types.js +15 -0
- package/lib/badge/Badge.d.ts +12 -6
- package/lib/badge/Badge.js +13 -6
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.d.ts +8 -4
- package/lib/button/Button.d.ts +1 -1
- package/lib/button/index.css +1 -1
- package/lib/button/index.d.ts +1 -1
- package/lib/calendar/Calendar.d.ts +302 -0
- package/lib/calendar/Calendar.js +444 -0
- package/lib/calendar/CalendarDay.d.ts +32 -0
- package/lib/calendar/CalendarDay.js +127 -0
- package/lib/calendar/CalendarHeader.d.ts +26 -0
- package/lib/calendar/CalendarHeader.js +77 -0
- package/lib/calendar/CalendarMonth.d.ts +86 -0
- package/lib/calendar/CalendarMonth.js +226 -0
- package/lib/calendar/index.css +1 -0
- package/lib/calendar/index.d.ts +217 -0
- package/lib/calendar/index.js +35 -0
- package/lib/calendar/style/index.d.ts +1 -0
- package/lib/calendar/style/index.js +9 -0
- package/lib/calendar/types.d.ts +28 -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/cascader/Cascader.d.ts +171 -0
- package/lib/cascader/Cascader.js +309 -0
- package/lib/cascader/index.css +1 -0
- package/lib/cascader/index.d.ts +126 -0
- package/lib/cascader/index.js +35 -0
- package/lib/cascader/style/index.d.ts +1 -0
- package/lib/cascader/style/index.js +14 -0
- package/lib/cascader/types.d.ts +19 -0
- package/lib/cascader/types.js +15 -0
- package/lib/cell/Cell.d.ts +49 -26
- package/lib/cell/Cell.js +70 -30
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.d.ts +29 -15
- package/lib/cell/types.d.ts +1 -0
- package/lib/cell/types.js +15 -0
- package/lib/cell-group/CellGroup.d.ts +29 -0
- package/lib/cell-group/CellGroup.js +62 -0
- package/lib/cell-group/index.css +1 -0
- package/lib/cell-group/index.d.ts +25 -0
- package/lib/cell-group/index.js +33 -0
- package/lib/cell-group/style/index.d.ts +1 -0
- package/lib/cell-group/style/index.js +2 -0
- package/lib/checkbox/Checkbox.d.ts +64 -0
- package/lib/checkbox/Checkbox.js +106 -0
- package/lib/checkbox/Checker.d.ts +85 -0
- package/lib/checkbox/Checker.js +132 -0
- package/lib/checkbox/index.css +1 -0
- package/lib/checkbox/index.d.ts +51 -0
- package/lib/checkbox/index.js +33 -0
- package/lib/checkbox/style/index.d.ts +1 -0
- package/lib/checkbox/style/index.js +5 -0
- package/lib/checkbox/types.d.ts +13 -0
- package/lib/checkbox/types.js +15 -0
- package/lib/checkbox-group/CheckboxGroup.d.ts +54 -0
- package/lib/checkbox-group/CheckboxGroup.js +90 -0
- package/lib/checkbox-group/index.css +1 -0
- package/lib/checkbox-group/index.d.ts +42 -0
- package/lib/checkbox-group/index.js +33 -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/col/Col.d.ts +2 -2
- package/lib/col/index.d.ts +1 -1
- 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 +34 -0
- package/lib/collapse-item/CollapseItem.js +160 -0
- package/lib/collapse-item/index.css +1 -0
- package/lib/collapse-item/index.d.ts +30 -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 +4 -0
- package/lib/collapse-item/types.d.ts +6 -0
- package/lib/collapse-item/types.js +15 -0
- package/lib/composables/use-route.d.ts +1 -4
- package/lib/config-provider/ConfigProvider.d.ts +1 -1
- package/lib/config-provider/ConfigProvider.js +2 -2
- package/lib/config-provider/index.d.ts +2 -2
- package/lib/date-time-picker/DateTimePicker.d.ts +242 -0
- package/lib/date-time-picker/DateTimePicker.js +273 -0
- package/lib/date-time-picker/DateTimePickerWrapper.d.ts +334 -0
- package/lib/date-time-picker/DateTimePickerWrapper.js +279 -0
- package/lib/date-time-picker/index.css +1 -0
- package/lib/date-time-picker/index.d.ts +247 -0
- package/lib/date-time-picker/index.js +35 -0
- package/lib/date-time-picker/style/index.d.ts +1 -0
- package/lib/date-time-picker/style/index.js +12 -0
- package/lib/date-time-picker/types.d.ts +5 -0
- package/lib/date-time-picker/types.js +15 -0
- package/lib/date-time-picker/utils.d.ts +53 -0
- package/lib/date-time-picker/utils.js +61 -0
- package/lib/dialog/Dialog.d.ts +187 -0
- package/lib/dialog/Dialog.js +216 -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 +8 -0
- package/lib/dialog/types.d.ts +32 -0
- package/lib/dialog/types.js +15 -0
- package/lib/divider/Divider.d.ts +2 -2
- package/lib/divider/index.css +1 -1
- package/lib/divider/index.d.ts +1 -1
- package/lib/dropdown-item/DropdownItem.d.ts +78 -0
- package/lib/dropdown-item/DropdownItem.js +321 -0
- package/lib/dropdown-item/index.css +1 -0
- package/lib/dropdown-item/index.d.ts +64 -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 +12 -0
- package/lib/dropdown-item/types.d.ts +23 -0
- package/lib/dropdown-item/types.js +15 -0
- package/lib/dropdown-menu/DropdownMenu.d.ts +82 -0
- package/lib/dropdown-menu/DropdownMenu.js +167 -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 +4 -0
- package/lib/dropdown-menu/types.d.ts +8 -0
- package/lib/dropdown-menu/types.js +15 -0
- package/lib/empty/Empty.d.ts +3 -2
- package/lib/empty/Empty.js +9 -4
- package/lib/empty/Images.d.ts +7 -2
- package/lib/empty/Images.js +854 -2003
- package/lib/empty/index.css +1 -1
- package/lib/empty/index.d.ts +1 -1
- package/lib/field/Field.d.ts +364 -0
- package/lib/field/Field.js +529 -0
- package/lib/field/index.css +1 -0
- package/lib/field/index.d.ts +230 -0
- package/lib/field/index.js +33 -0
- package/lib/field/style/index.d.ts +1 -0
- package/lib/field/style/index.js +5 -0
- package/lib/field/types.d.ts +44 -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 +177 -0
- package/lib/form/index.d.ts +69 -0
- package/lib/form/index.js +33 -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 +36 -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/icon/Icon.d.ts +1 -1
- package/lib/icon/config.js +10 -2
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.d.ts +1 -1
- package/lib/image/Image.d.ts +105 -0
- package/lib/image/Image.js +170 -0
- package/lib/image/index.css +1 -0
- package/lib/image/index.d.ts +77 -0
- package/lib/image/index.js +33 -0
- package/lib/image/style/index.d.ts +1 -0
- package/lib/image/style/index.js +4 -0
- package/lib/image-preview/ImagePreview.d.ts +189 -0
- package/lib/image-preview/ImagePreview.js +208 -0
- package/lib/image-preview/ImagePreviewItem.d.ts +48 -0
- package/lib/image-preview/ImagePreviewItem.js +285 -0
- package/lib/image-preview/function-call.d.ts +3 -0
- package/lib/image-preview/function-call.js +101 -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 +43 -0
- package/lib/image-preview/types.js +15 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +39 -1
- package/lib/index.js +114 -2
- 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.js +185 -0
- package/lib/list/List.d.ts +2 -2
- package/lib/list/List.js +2 -1
- package/lib/list/index.css +1 -1
- package/lib/list/index.d.ts +1 -1
- package/lib/loading/Loading.d.ts +1 -1
- package/lib/loading/index.css +1 -1
- package/lib/loading/index.d.ts +1 -1
- package/lib/locale/lang/zh-CN.js +1 -1
- package/lib/media-picker/MediaPicker.d.ts +242 -0
- package/lib/media-picker/MediaPicker.js +674 -0
- package/lib/media-picker/image/DefaultAudioIcon.d.ts +2 -0
- package/lib/media-picker/image/DefaultAudioIcon.js +117 -0
- package/lib/media-picker/image/DefaultFileIcon.d.ts +2 -0
- package/lib/media-picker/image/DefaultFileIcon.js +106 -0
- package/lib/media-picker/image/DefaultVideoIcon.d.ts +2 -0
- package/lib/media-picker/image/DefaultVideoIcon.js +138 -0
- package/lib/media-picker/image/DeleteIcon.d.ts +2 -0
- package/lib/media-picker/image/DeleteIcon.js +49 -0
- package/lib/media-picker/image/PickFileIcon.d.ts +2 -0
- package/lib/media-picker/image/PickFileIcon.js +46 -0
- package/lib/media-picker/image/PickPhotoIcon.d.ts +2 -0
- package/lib/media-picker/image/PickPhotoIcon.js +46 -0
- package/lib/media-picker/image/TakeAudioIcon.d.ts +2 -0
- package/lib/media-picker/image/TakeAudioIcon.js +46 -0
- package/lib/media-picker/image/TakePhotoIcon.d.ts +2 -0
- package/lib/media-picker/image/TakePhotoIcon.js +46 -0
- package/lib/media-picker/image/TakeVideoIcon.d.ts +2 -0
- package/lib/media-picker/image/TakeVideoIcon.js +46 -0
- package/lib/media-picker/index.css +1 -0
- package/lib/media-picker/index.d.ts +153 -0
- package/lib/media-picker/index.js +33 -0
- package/lib/media-picker/style/index.d.ts +1 -0
- package/lib/media-picker/style/index.js +16 -0
- package/lib/media-picker/type.d.ts +22 -0
- package/lib/media-picker/type.js +15 -0
- package/lib/media-picker/util/media-util.d.ts +86 -0
- package/lib/media-picker/util/media-util.js +285 -0
- package/lib/media-picker/watermark/compress-options.d.ts +5 -0
- package/lib/media-picker/watermark/compress-options.js +34 -0
- package/lib/media-picker/watermark/image-processor.d.ts +12 -0
- package/lib/media-picker/watermark/image-processor.js +94 -0
- package/lib/media-picker/watermark/resize-options.d.ts +4 -0
- package/lib/media-picker/watermark/resize-options.js +38 -0
- package/lib/media-picker/watermark/watermark.d.ts +42 -0
- package/lib/media-picker/watermark/watermark.js +653 -0
- package/lib/media-player/MediaPlayer.d.ts +42 -0
- package/lib/media-player/MediaPlayer.js +130 -0
- package/lib/media-player/index.css +1 -0
- package/lib/media-player/index.d.ts +34 -0
- package/lib/media-player/index.js +33 -0
- package/lib/media-player/style/index.d.ts +1 -0
- package/lib/media-player/style/index.js +6 -0
- package/lib/multiple-picker/MultiplePicker.d.ts +167 -0
- package/lib/multiple-picker/MultiplePicker.js +194 -0
- package/lib/multiple-picker/MultiplePickerOptions.d.ts +85 -0
- package/lib/multiple-picker/MultiplePickerOptions.js +125 -0
- package/lib/multiple-picker/index.css +1 -0
- package/lib/multiple-picker/index.d.ts +123 -0
- package/lib/multiple-picker/index.js +33 -0
- package/lib/multiple-picker/style/index.d.ts +1 -0
- package/lib/multiple-picker/style/index.js +8 -0
- package/lib/multiple-picker/types.d.ts +15 -0
- package/lib/multiple-picker/types.js +15 -0
- package/lib/nav-bar/NavBar.d.ts +72 -0
- package/lib/nav-bar/NavBar.js +133 -0
- package/lib/nav-bar/index.css +1 -0
- package/lib/nav-bar/index.d.ts +56 -0
- package/lib/nav-bar/index.js +33 -0
- package/lib/nav-bar/style/index.d.ts +1 -0
- package/lib/nav-bar/style/index.js +4 -0
- package/lib/notice-bar/NoticeBar.d.ts +1 -1
- package/lib/notice-bar/index.css +1 -1
- package/lib/notice-bar/index.d.ts +1 -1
- package/lib/notify/Notify.d.ts +1 -1
- package/lib/notify/index.css +1 -1
- package/lib/notify/index.d.ts +2 -2
- package/lib/number-keyboard/NumberKeyboard.d.ts +6 -6
- package/lib/number-keyboard/NumberKeyboard.js +1 -2
- package/lib/number-keyboard/NumberKeyboardKey.js +2 -2
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +5 -5
- package/lib/number-keyboard/style/index.js +2 -2
- package/lib/overlay/Overlay.d.ts +1 -1
- package/lib/overlay/index.css +1 -1
- package/lib/overlay/index.d.ts +1 -1
- package/lib/password-input/PasswordInput.d.ts +1 -1
- package/lib/password-input/PasswordInput.js +1 -1
- package/lib/password-input/index.css +1 -1
- package/lib/picker/Picker.d.ts +224 -0
- package/lib/picker/Picker.js +269 -0
- package/lib/picker/PickerColumn.d.ts +69 -0
- package/lib/picker/PickerColumn.js +231 -0
- package/lib/picker/PickerToolbar.d.ts +18 -0
- package/lib/picker/PickerToolbar.js +73 -0
- package/lib/picker/index.css +1 -0
- package/lib/picker/index.d.ts +142 -0
- package/lib/picker/index.js +35 -0
- package/lib/picker/style/index.d.ts +1 -0
- package/lib/picker/style/index.js +9 -0
- package/lib/picker/types.d.ts +44 -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/popover/Popover.d.ts +164 -0
- package/lib/popover/Popover.js +205 -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 +11 -0
- package/lib/popover/types.js +15 -0
- package/lib/popup/Popup.d.ts +48 -5
- package/lib/popup/Popup.js +86 -2
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +34 -4
- package/lib/pull-refresh/PullRefresh.d.ts +3 -3
- package/lib/pull-refresh/PullRefresh.js +6 -1
- package/lib/pull-refresh/index.css +1 -1
- package/lib/pull-refresh/index.d.ts +2 -2
- package/lib/radio/Radio.d.ts +37 -0
- package/lib/radio/Radio.js +66 -0
- package/lib/radio/index.css +1 -0
- package/lib/radio/index.d.ts +38 -0
- package/lib/radio/index.js +33 -0
- package/lib/radio/style/index.d.ts +1 -0
- package/lib/radio/style/index.js +6 -0
- package/lib/radio-group/RadioGroup.d.ts +45 -0
- package/lib/radio-group/RadioGroup.js +63 -0
- package/lib/radio-group/index.css +1 -0
- package/lib/radio-group/index.d.ts +32 -0
- package/lib/radio-group/index.js +33 -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 +4 -4
- package/lib/rate/Rate.js +1 -1
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.d.ts +3 -3
- package/lib/row/Row.d.ts +2 -2
- package/lib/row/index.d.ts +1 -1
- package/lib/search/Search.d.ts +217 -0
- package/lib/search/Search.js +155 -0
- package/lib/search/index.css +1 -0
- package/lib/search/index.d.ts +159 -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 +8 -0
- package/lib/search/types.js +15 -0
- package/lib/signature/Signature.d.ts +109 -0
- package/lib/signature/Signature.js +257 -0
- package/lib/signature/force-landscape.d.ts +16 -0
- package/lib/signature/force-landscape.js +91 -0
- package/lib/signature/index.css +1 -0
- package/lib/signature/index.d.ts +83 -0
- package/lib/signature/index.js +35 -0
- package/lib/signature/style/index.d.ts +1 -0
- package/lib/signature/style/index.js +10 -0
- package/lib/signature/types.d.ts +1 -0
- package/lib/signature/types.js +15 -0
- package/lib/skeleton/Skeleton.d.ts +104 -0
- package/lib/skeleton/Skeleton.js +135 -0
- package/lib/skeleton/index.css +1 -0
- package/lib/skeleton/index.d.ts +78 -0
- package/lib/skeleton/index.js +35 -0
- package/lib/skeleton/style/index.d.ts +1 -0
- package/lib/skeleton/style/index.js +2 -0
- package/lib/step/Step.d.ts +15 -0
- package/lib/step/Step.js +156 -0
- package/lib/step/index.css +1 -0
- package/lib/step/index.d.ts +15 -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/stepper/Stepper.d.ts +4 -4
- package/lib/stepper/Stepper.js +1 -2
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +3 -3
- package/lib/steps/Steps.d.ts +67 -0
- package/lib/steps/Steps.js +68 -0
- package/lib/steps/index.css +1 -0
- package/lib/steps/index.d.ts +48 -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/sticky/Sticky.d.ts +2 -2
- package/lib/sticky/Sticky.js +2 -1
- package/lib/sticky/index.css +1 -1
- package/lib/sticky/index.d.ts +1 -1
- package/lib/style/base.css +1 -1
- package/lib/style/css-variables.css +1 -1
- package/lib/style/normalize.css +1 -1
- package/lib/swipe/Swipe.d.ts +4 -1
- package/lib/swipe/Swipe.js +28 -11
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.d.ts +2 -0
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/SwipeItem.js +1 -1
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/switch/Switch.d.ts +2 -2
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.d.ts +1 -1
- package/lib/tab/Tab.d.ts +2 -2
- package/lib/tab/Tab.js +1 -1
- package/lib/tab/index.d.ts +1 -1
- package/lib/tab/style/index.js +1 -1
- package/lib/tabbar/Tabbar.d.ts +90 -0
- package/lib/tabbar/Tabbar.js +103 -0
- package/lib/tabbar/image/common-selected.png +0 -0
- package/lib/tabbar/index.css +1 -0
- package/lib/tabbar/index.d.ts +64 -0
- package/lib/tabbar/index.js +33 -0
- package/lib/tabbar/style/index.d.ts +1 -0
- package/lib/tabbar/style/index.js +2 -0
- package/lib/tabbar-item/TabbarItem.d.ts +44 -0
- package/lib/tabbar-item/TabbarItem.js +141 -0
- package/lib/tabbar-item/index.css +1 -0
- package/lib/tabbar-item/index.d.ts +35 -0
- package/lib/tabbar-item/index.js +33 -0
- package/lib/tabbar-item/style/index.d.ts +1 -0
- package/lib/tabbar-item/style/index.js +5 -0
- package/lib/tabs/Tabs.d.ts +6 -6
- package/lib/tabs/Tabs.js +35 -4
- package/lib/tabs/TabsTitle.d.ts +11 -2
- package/lib/tabs/TabsTitle.js +8 -2
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +4 -4
- package/lib/tag/Tag.d.ts +102 -0
- package/lib/tag/Tag.js +120 -0
- package/lib/tag/index.css +1 -0
- package/lib/tag/index.d.ts +77 -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/time-picker/Arrow.d.ts +4 -0
- package/lib/time-picker/Arrow.js +46 -0
- package/lib/time-picker/TimePicker.d.ts +286 -0
- package/lib/time-picker/TimePicker.js +197 -0
- package/lib/time-picker/TimePickerColumn.d.ts +71 -0
- package/lib/time-picker/TimePickerColumn.js +258 -0
- package/lib/time-picker/index.css +1 -0
- package/lib/time-picker/index.d.ts +205 -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 +11 -0
- package/lib/toast/Toast.d.ts +2 -2
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.d.ts +6 -1
- package/lib/toast/style/index.js +1 -1
- package/lib/uploader/Uploader.d.ts +214 -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 +31 -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.js +2 -1
- package/lib/utils/constant.d.ts +5 -0
- package/lib/utils/constant.js +7 -1
- package/lib/utils/create.js +4 -1
- package/lib/utils/format.d.ts +1 -1
- package/lib/utils/mount-component.d.ts +1 -1
- package/lib/utils/parse.d.ts +12 -0
- package/lib/utils/parse.js +37 -0
- package/lib/utils/props.d.ts +2 -2
- package/lib/utils/props.js +2 -2
- package/lib/utils/validate.d.ts +6 -1
- package/lib/utils/validate.js +11 -1
- package/lib/utils/with-install.d.ts +2 -2
- package/lib/utils/with-install.js +4 -2
- package/lib/vue-tsx-shim.d.ts +7 -0
- package/lib/web-types.json +1 -3197
- package/lib/zartui.cjs.js +14689 -4998
- package/lib/zartui.es.js +14691 -5000
- package/lib/zartui.js +15878 -5306
- package/lib/zartui.min.js +1 -1
- package/package.json +28 -27
- package/README.md +0 -25
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import type { ImagePreviewProps } from './ImagePreview';
|
|
2
|
+
export declare const ImagePreview: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
3
|
+
show: BooleanConstructor;
|
|
4
|
+
loop: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: true;
|
|
7
|
+
};
|
|
8
|
+
images: {
|
|
9
|
+
type: import("vue").PropType<import("./types").ImageItem[]>;
|
|
10
|
+
default: () => import("./types").ImageItem[];
|
|
11
|
+
};
|
|
12
|
+
minZoom: {
|
|
13
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
maxZoom: {
|
|
17
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
overlay: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: true;
|
|
23
|
+
};
|
|
24
|
+
closeable: BooleanConstructor;
|
|
25
|
+
showIndex: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: true;
|
|
28
|
+
};
|
|
29
|
+
className: import("vue").PropType<unknown>;
|
|
30
|
+
closeIcon: {
|
|
31
|
+
type: import("vue").PropType<string>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
transition: StringConstructor;
|
|
35
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
|
36
|
+
overlayClass: import("vue").PropType<unknown>;
|
|
37
|
+
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
38
|
+
swipeDuration: {
|
|
39
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
startPosition: {
|
|
43
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
showIndicators: BooleanConstructor;
|
|
47
|
+
closeOnPopstate: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: true;
|
|
50
|
+
};
|
|
51
|
+
closeIconPosition: {
|
|
52
|
+
type: import("vue").PropType<import("..").PopupCloseIconPosition>;
|
|
53
|
+
default: import("..").PopupCloseIconPosition;
|
|
54
|
+
};
|
|
55
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "closed" | "update:show" | "scale" | "longPress")[], "change" | "close" | "closed" | "update:show" | "scale" | "longPress", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
|
+
show: BooleanConstructor;
|
|
57
|
+
loop: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: true;
|
|
60
|
+
};
|
|
61
|
+
images: {
|
|
62
|
+
type: import("vue").PropType<import("./types").ImageItem[]>;
|
|
63
|
+
default: () => import("./types").ImageItem[];
|
|
64
|
+
};
|
|
65
|
+
minZoom: {
|
|
66
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
67
|
+
default: number;
|
|
68
|
+
};
|
|
69
|
+
maxZoom: {
|
|
70
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
71
|
+
default: number;
|
|
72
|
+
};
|
|
73
|
+
overlay: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: true;
|
|
76
|
+
};
|
|
77
|
+
closeable: BooleanConstructor;
|
|
78
|
+
showIndex: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: true;
|
|
81
|
+
};
|
|
82
|
+
className: import("vue").PropType<unknown>;
|
|
83
|
+
closeIcon: {
|
|
84
|
+
type: import("vue").PropType<string>;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
transition: StringConstructor;
|
|
88
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
|
89
|
+
overlayClass: import("vue").PropType<unknown>;
|
|
90
|
+
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
91
|
+
swipeDuration: {
|
|
92
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
95
|
+
startPosition: {
|
|
96
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
97
|
+
default: number;
|
|
98
|
+
};
|
|
99
|
+
showIndicators: BooleanConstructor;
|
|
100
|
+
closeOnPopstate: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: true;
|
|
103
|
+
};
|
|
104
|
+
closeIconPosition: {
|
|
105
|
+
type: import("vue").PropType<import("..").PopupCloseIconPosition>;
|
|
106
|
+
default: import("..").PopupCloseIconPosition;
|
|
107
|
+
};
|
|
108
|
+
}>> & {
|
|
109
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
110
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
111
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
112
|
+
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
113
|
+
onScale?: ((...args: any[]) => any) | undefined;
|
|
114
|
+
onLongPress?: ((...args: any[]) => any) | undefined;
|
|
115
|
+
}, {
|
|
116
|
+
loop: boolean;
|
|
117
|
+
show: boolean;
|
|
118
|
+
overlay: boolean;
|
|
119
|
+
closeIcon: string;
|
|
120
|
+
closeable: boolean;
|
|
121
|
+
closeOnPopstate: boolean;
|
|
122
|
+
closeIconPosition: import("..").PopupCloseIconPosition;
|
|
123
|
+
showIndicators: boolean;
|
|
124
|
+
swipeDuration: string | number;
|
|
125
|
+
minZoom: string | number;
|
|
126
|
+
maxZoom: string | number;
|
|
127
|
+
images: import("./types").ImageItem[];
|
|
128
|
+
showIndex: boolean;
|
|
129
|
+
startPosition: string | number;
|
|
130
|
+
}>>;
|
|
131
|
+
export default ImagePreview;
|
|
132
|
+
export { imagePreviewProps } from './ImagePreview';
|
|
133
|
+
export { showImagePreview } from './function-call';
|
|
134
|
+
export type { ImagePreviewProps };
|
|
135
|
+
export type { ImageItem, ImagePreviewOptions, ImagePreviewInstance, ImagePreviewScaleEventParams, } from './types';
|
|
136
|
+
declare module 'vue' {
|
|
137
|
+
interface GlobalComponents {
|
|
138
|
+
ZtImagePreview: typeof ImagePreview;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { withInstall } from "../utils/index.mjs";
|
|
2
|
+
import _ImagePreview from "./ImagePreview.mjs";
|
|
3
|
+
const ImagePreview = withInstall(_ImagePreview);
|
|
4
|
+
var stdin_default = ImagePreview;
|
|
5
|
+
import { imagePreviewProps } from "./ImagePreview.mjs";
|
|
6
|
+
import { showImagePreview } from "./function-call.mjs";
|
|
7
|
+
export {
|
|
8
|
+
ImagePreview,
|
|
9
|
+
stdin_default as default,
|
|
10
|
+
imagePreviewProps,
|
|
11
|
+
showImagePreview
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "../../style/base.css";
|
|
2
|
+
import "../../badge/index.css";
|
|
3
|
+
import "../../icon/index.css";
|
|
4
|
+
import "../../image/index.css";
|
|
5
|
+
import "../../overlay/index.css";
|
|
6
|
+
import "../../popup/index.css";
|
|
7
|
+
import "../../loading/index.css";
|
|
8
|
+
import "../../swipe/index.css";
|
|
9
|
+
import "../../swipe-item/index.css";
|
|
10
|
+
import "../index.css";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { CSSProperties, TeleportProps, ComponentPublicInstance } from 'vue';
|
|
2
|
+
import type { Interceptor } from '../utils';
|
|
3
|
+
import type { SwipeToOptions } from '../swipe';
|
|
4
|
+
import type { PopupCloseIconPosition } from '../popup';
|
|
5
|
+
import type { ImagePreviewProps } from './ImagePreview';
|
|
6
|
+
export declare type ImageItem = {
|
|
7
|
+
url: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare type ImagePreviewOptions = {
|
|
11
|
+
loop?: boolean;
|
|
12
|
+
images: ImageItem[];
|
|
13
|
+
maxZoom?: number;
|
|
14
|
+
minZoom?: number;
|
|
15
|
+
teleport?: TeleportProps['to'];
|
|
16
|
+
className?: unknown;
|
|
17
|
+
showIndex?: boolean;
|
|
18
|
+
closeable?: boolean;
|
|
19
|
+
closeIcon?: string;
|
|
20
|
+
transition?: string;
|
|
21
|
+
beforeClose?: Interceptor;
|
|
22
|
+
overlayStyle?: CSSProperties;
|
|
23
|
+
overlayClass?: unknown;
|
|
24
|
+
swipeDuration?: number;
|
|
25
|
+
startPosition?: number;
|
|
26
|
+
showIndicators?: boolean;
|
|
27
|
+
closeOnPopstate?: boolean;
|
|
28
|
+
closeIconPosition?: PopupCloseIconPosition;
|
|
29
|
+
onClose?(): void;
|
|
30
|
+
onScale?(args: {
|
|
31
|
+
scale: number;
|
|
32
|
+
index: number;
|
|
33
|
+
}): void;
|
|
34
|
+
onChange?(index: number): void;
|
|
35
|
+
};
|
|
36
|
+
export declare type ImagePreviewScaleEventParams = {
|
|
37
|
+
scale: number;
|
|
38
|
+
index: number;
|
|
39
|
+
};
|
|
40
|
+
export declare type ImagePreviewExpose = {
|
|
41
|
+
swipeTo: (index: number, options?: SwipeToOptions) => void;
|
|
42
|
+
};
|
|
43
|
+
export declare type ImagePreviewInstance = ComponentPublicInstance<ImagePreviewProps, ImagePreviewExpose>;
|
|
File without changes
|
package/es/index.d.ts
CHANGED
|
@@ -1,35 +1,73 @@
|
|
|
1
|
+
export * from "./action-sheet";
|
|
2
|
+
export * from "./avatar";
|
|
1
3
|
export * from "./badge";
|
|
2
4
|
export * from "./button";
|
|
5
|
+
export * from "./calendar";
|
|
6
|
+
export * from "./cascader";
|
|
3
7
|
export * from "./cell";
|
|
8
|
+
export * from "./cell-group";
|
|
9
|
+
export * from "./checkbox";
|
|
10
|
+
export * from "./checkbox-group";
|
|
4
11
|
export * from "./col";
|
|
12
|
+
export * from "./collapse";
|
|
13
|
+
export * from "./collapse-item";
|
|
5
14
|
export * from "./config-provider";
|
|
15
|
+
export * from "./date-time-picker";
|
|
16
|
+
export * from "./dialog";
|
|
6
17
|
export * from "./divider";
|
|
18
|
+
export * from "./dropdown-item";
|
|
19
|
+
export * from "./dropdown-menu";
|
|
7
20
|
export * from "./empty";
|
|
21
|
+
export * from "./field";
|
|
22
|
+
export * from "./form";
|
|
23
|
+
export * from "./grid";
|
|
24
|
+
export * from "./grid-item";
|
|
8
25
|
export * from "./icon";
|
|
26
|
+
export * from "./image";
|
|
27
|
+
export * from "./image-preview";
|
|
28
|
+
export * from "./lazyload";
|
|
9
29
|
export * from "./list";
|
|
10
30
|
export * from "./loading";
|
|
11
31
|
export * from "./locale";
|
|
32
|
+
export * from "./media-picker";
|
|
33
|
+
export * from "./media-player";
|
|
34
|
+
export * from "./multiple-picker";
|
|
35
|
+
export * from "./nav-bar";
|
|
12
36
|
export * from "./notice-bar";
|
|
13
37
|
export * from "./notify";
|
|
14
38
|
export * from "./number-keyboard";
|
|
15
39
|
export * from "./overlay";
|
|
16
40
|
export * from "./password-input";
|
|
41
|
+
export * from "./picker";
|
|
42
|
+
export * from "./popover";
|
|
17
43
|
export * from "./popup";
|
|
18
44
|
export * from "./pull-refresh";
|
|
45
|
+
export * from "./radio";
|
|
46
|
+
export * from "./radio-group";
|
|
19
47
|
export * from "./rate";
|
|
20
48
|
export * from "./row";
|
|
49
|
+
export * from "./search";
|
|
50
|
+
export * from "./signature";
|
|
51
|
+
export * from "./skeleton";
|
|
52
|
+
export * from "./step";
|
|
21
53
|
export * from "./stepper";
|
|
54
|
+
export * from "./steps";
|
|
22
55
|
export * from "./sticky";
|
|
23
56
|
export * from "./swipe";
|
|
24
57
|
export * from "./swipe-item";
|
|
25
58
|
export * from "./switch";
|
|
26
59
|
export * from "./tab";
|
|
60
|
+
export * from "./tabbar";
|
|
61
|
+
export * from "./tabbar-item";
|
|
27
62
|
export * from "./tabs";
|
|
63
|
+
export * from "./tag";
|
|
64
|
+
export * from "./time-picker";
|
|
28
65
|
export * from "./toast";
|
|
66
|
+
export * from "./uploader";
|
|
29
67
|
declare namespace _default {
|
|
30
68
|
export { install };
|
|
31
69
|
export { version };
|
|
32
70
|
}
|
|
33
71
|
export default _default;
|
|
34
72
|
export function install(app: any): void;
|
|
35
|
-
export const version: "3.0.
|
|
73
|
+
export const version: "3.0.4";
|
package/es/index.mjs
CHANGED
|
@@ -1,62 +1,136 @@
|
|
|
1
|
+
import { ActionSheet } from "./action-sheet/index.mjs";
|
|
2
|
+
import { Avatar } from "./avatar/index.mjs";
|
|
1
3
|
import { Badge } from "./badge/index.mjs";
|
|
2
4
|
import { Button } from "./button/index.mjs";
|
|
5
|
+
import { Calendar } from "./calendar/index.mjs";
|
|
6
|
+
import { Cascader } from "./cascader/index.mjs";
|
|
3
7
|
import { Cell } from "./cell/index.mjs";
|
|
8
|
+
import { CellGroup } from "./cell-group/index.mjs";
|
|
9
|
+
import { Checkbox } from "./checkbox/index.mjs";
|
|
10
|
+
import { CheckboxGroup } from "./checkbox-group/index.mjs";
|
|
4
11
|
import { Col } from "./col/index.mjs";
|
|
12
|
+
import { Collapse } from "./collapse/index.mjs";
|
|
13
|
+
import { CollapseItem } from "./collapse-item/index.mjs";
|
|
5
14
|
import { ConfigProvider } from "./config-provider/index.mjs";
|
|
15
|
+
import { DateTimePicker } from "./date-time-picker/index.mjs";
|
|
16
|
+
import { Dialog } from "./dialog/index.mjs";
|
|
6
17
|
import { Divider } from "./divider/index.mjs";
|
|
18
|
+
import { DropdownItem } from "./dropdown-item/index.mjs";
|
|
19
|
+
import { DropdownMenu } from "./dropdown-menu/index.mjs";
|
|
7
20
|
import { Empty } from "./empty/index.mjs";
|
|
21
|
+
import { Field } from "./field/index.mjs";
|
|
22
|
+
import { Form } from "./form/index.mjs";
|
|
23
|
+
import { Grid } from "./grid/index.mjs";
|
|
24
|
+
import { GridItem } from "./grid-item/index.mjs";
|
|
8
25
|
import { Icon } from "./icon/index.mjs";
|
|
26
|
+
import { Image } from "./image/index.mjs";
|
|
27
|
+
import { ImagePreview } from "./image-preview/index.mjs";
|
|
9
28
|
import { List } from "./list/index.mjs";
|
|
10
29
|
import { Loading } from "./loading/index.mjs";
|
|
11
30
|
import { Locale } from "./locale/index.mjs";
|
|
31
|
+
import { MediaPicker } from "./media-picker/index.mjs";
|
|
32
|
+
import { MediaPlayer } from "./media-player/index.mjs";
|
|
33
|
+
import { MultiplePicker } from "./multiple-picker/index.mjs";
|
|
34
|
+
import { NavBar } from "./nav-bar/index.mjs";
|
|
12
35
|
import { NoticeBar } from "./notice-bar/index.mjs";
|
|
13
36
|
import { Notify } from "./notify/index.mjs";
|
|
14
37
|
import { NumberKeyboard } from "./number-keyboard/index.mjs";
|
|
15
38
|
import { Overlay } from "./overlay/index.mjs";
|
|
16
39
|
import { PasswordInput } from "./password-input/index.mjs";
|
|
40
|
+
import { Picker } from "./picker/index.mjs";
|
|
41
|
+
import { Popover } from "./popover/index.mjs";
|
|
17
42
|
import { Popup } from "./popup/index.mjs";
|
|
18
43
|
import { PullRefresh } from "./pull-refresh/index.mjs";
|
|
44
|
+
import { Radio } from "./radio/index.mjs";
|
|
45
|
+
import { RadioGroup } from "./radio-group/index.mjs";
|
|
19
46
|
import { Rate } from "./rate/index.mjs";
|
|
20
47
|
import { Row } from "./row/index.mjs";
|
|
48
|
+
import { Search } from "./search/index.mjs";
|
|
49
|
+
import { Signature } from "./signature/index.mjs";
|
|
50
|
+
import { Skeleton } from "./skeleton/index.mjs";
|
|
51
|
+
import { Step } from "./step/index.mjs";
|
|
21
52
|
import { Stepper } from "./stepper/index.mjs";
|
|
53
|
+
import { Steps } from "./steps/index.mjs";
|
|
22
54
|
import { Sticky } from "./sticky/index.mjs";
|
|
23
55
|
import { Swipe } from "./swipe/index.mjs";
|
|
24
56
|
import { SwipeItem } from "./swipe-item/index.mjs";
|
|
25
57
|
import { Switch } from "./switch/index.mjs";
|
|
26
58
|
import { Tab } from "./tab/index.mjs";
|
|
59
|
+
import { Tabbar } from "./tabbar/index.mjs";
|
|
60
|
+
import { TabbarItem } from "./tabbar-item/index.mjs";
|
|
27
61
|
import { Tabs } from "./tabs/index.mjs";
|
|
62
|
+
import { Tag } from "./tag/index.mjs";
|
|
63
|
+
import { TimePicker } from "./time-picker/index.mjs";
|
|
28
64
|
import { Toast } from "./toast/index.mjs";
|
|
29
|
-
|
|
65
|
+
import { Uploader } from "./uploader/index.mjs";
|
|
66
|
+
const version = "3.0.4";
|
|
30
67
|
function install(app) {
|
|
31
68
|
const components = [
|
|
69
|
+
ActionSheet,
|
|
70
|
+
Avatar,
|
|
32
71
|
Badge,
|
|
33
72
|
Button,
|
|
73
|
+
Calendar,
|
|
74
|
+
Cascader,
|
|
34
75
|
Cell,
|
|
76
|
+
CellGroup,
|
|
77
|
+
Checkbox,
|
|
78
|
+
CheckboxGroup,
|
|
35
79
|
Col,
|
|
80
|
+
Collapse,
|
|
81
|
+
CollapseItem,
|
|
36
82
|
ConfigProvider,
|
|
83
|
+
DateTimePicker,
|
|
84
|
+
Dialog,
|
|
37
85
|
Divider,
|
|
86
|
+
DropdownItem,
|
|
87
|
+
DropdownMenu,
|
|
38
88
|
Empty,
|
|
89
|
+
Field,
|
|
90
|
+
Form,
|
|
91
|
+
Grid,
|
|
92
|
+
GridItem,
|
|
39
93
|
Icon,
|
|
94
|
+
Image,
|
|
95
|
+
ImagePreview,
|
|
40
96
|
List,
|
|
41
97
|
Loading,
|
|
42
98
|
Locale,
|
|
99
|
+
MediaPicker,
|
|
100
|
+
MediaPlayer,
|
|
101
|
+
MultiplePicker,
|
|
102
|
+
NavBar,
|
|
43
103
|
NoticeBar,
|
|
44
104
|
Notify,
|
|
45
105
|
NumberKeyboard,
|
|
46
106
|
Overlay,
|
|
47
107
|
PasswordInput,
|
|
108
|
+
Picker,
|
|
109
|
+
Popover,
|
|
48
110
|
Popup,
|
|
49
111
|
PullRefresh,
|
|
112
|
+
Radio,
|
|
113
|
+
RadioGroup,
|
|
50
114
|
Rate,
|
|
51
115
|
Row,
|
|
116
|
+
Search,
|
|
117
|
+
Signature,
|
|
118
|
+
Skeleton,
|
|
119
|
+
Step,
|
|
52
120
|
Stepper,
|
|
121
|
+
Steps,
|
|
53
122
|
Sticky,
|
|
54
123
|
Swipe,
|
|
55
124
|
SwipeItem,
|
|
56
125
|
Switch,
|
|
57
126
|
Tab,
|
|
127
|
+
Tabbar,
|
|
128
|
+
TabbarItem,
|
|
58
129
|
Tabs,
|
|
59
|
-
|
|
130
|
+
Tag,
|
|
131
|
+
TimePicker,
|
|
132
|
+
Toast,
|
|
133
|
+
Uploader
|
|
60
134
|
];
|
|
61
135
|
components.forEach((item) => {
|
|
62
136
|
if (item.install) {
|
|
@@ -66,34 +140,72 @@ function install(app) {
|
|
|
66
140
|
}
|
|
67
141
|
});
|
|
68
142
|
}
|
|
143
|
+
export * from "./action-sheet/index.mjs";
|
|
144
|
+
export * from "./avatar/index.mjs";
|
|
69
145
|
export * from "./badge/index.mjs";
|
|
70
146
|
export * from "./button/index.mjs";
|
|
147
|
+
export * from "./calendar/index.mjs";
|
|
148
|
+
export * from "./cascader/index.mjs";
|
|
71
149
|
export * from "./cell/index.mjs";
|
|
150
|
+
export * from "./cell-group/index.mjs";
|
|
151
|
+
export * from "./checkbox/index.mjs";
|
|
152
|
+
export * from "./checkbox-group/index.mjs";
|
|
72
153
|
export * from "./col/index.mjs";
|
|
154
|
+
export * from "./collapse/index.mjs";
|
|
155
|
+
export * from "./collapse-item/index.mjs";
|
|
73
156
|
export * from "./config-provider/index.mjs";
|
|
157
|
+
export * from "./date-time-picker/index.mjs";
|
|
158
|
+
export * from "./dialog/index.mjs";
|
|
74
159
|
export * from "./divider/index.mjs";
|
|
160
|
+
export * from "./dropdown-item/index.mjs";
|
|
161
|
+
export * from "./dropdown-menu/index.mjs";
|
|
75
162
|
export * from "./empty/index.mjs";
|
|
163
|
+
export * from "./field/index.mjs";
|
|
164
|
+
export * from "./form/index.mjs";
|
|
165
|
+
export * from "./grid/index.mjs";
|
|
166
|
+
export * from "./grid-item/index.mjs";
|
|
76
167
|
export * from "./icon/index.mjs";
|
|
168
|
+
export * from "./image/index.mjs";
|
|
169
|
+
export * from "./image-preview/index.mjs";
|
|
170
|
+
export * from "./lazyload/index.mjs";
|
|
77
171
|
export * from "./list/index.mjs";
|
|
78
172
|
export * from "./loading/index.mjs";
|
|
79
173
|
export * from "./locale/index.mjs";
|
|
174
|
+
export * from "./media-picker/index.mjs";
|
|
175
|
+
export * from "./media-player/index.mjs";
|
|
176
|
+
export * from "./multiple-picker/index.mjs";
|
|
177
|
+
export * from "./nav-bar/index.mjs";
|
|
80
178
|
export * from "./notice-bar/index.mjs";
|
|
81
179
|
export * from "./notify/index.mjs";
|
|
82
180
|
export * from "./number-keyboard/index.mjs";
|
|
83
181
|
export * from "./overlay/index.mjs";
|
|
84
182
|
export * from "./password-input/index.mjs";
|
|
183
|
+
export * from "./picker/index.mjs";
|
|
184
|
+
export * from "./popover/index.mjs";
|
|
85
185
|
export * from "./popup/index.mjs";
|
|
86
186
|
export * from "./pull-refresh/index.mjs";
|
|
187
|
+
export * from "./radio/index.mjs";
|
|
188
|
+
export * from "./radio-group/index.mjs";
|
|
87
189
|
export * from "./rate/index.mjs";
|
|
88
190
|
export * from "./row/index.mjs";
|
|
191
|
+
export * from "./search/index.mjs";
|
|
192
|
+
export * from "./signature/index.mjs";
|
|
193
|
+
export * from "./skeleton/index.mjs";
|
|
194
|
+
export * from "./step/index.mjs";
|
|
89
195
|
export * from "./stepper/index.mjs";
|
|
196
|
+
export * from "./steps/index.mjs";
|
|
90
197
|
export * from "./sticky/index.mjs";
|
|
91
198
|
export * from "./swipe/index.mjs";
|
|
92
199
|
export * from "./swipe-item/index.mjs";
|
|
93
200
|
export * from "./switch/index.mjs";
|
|
94
201
|
export * from "./tab/index.mjs";
|
|
202
|
+
export * from "./tabbar/index.mjs";
|
|
203
|
+
export * from "./tabbar-item/index.mjs";
|
|
95
204
|
export * from "./tabs/index.mjs";
|
|
205
|
+
export * from "./tag/index.mjs";
|
|
206
|
+
export * from "./time-picker/index.mjs";
|
|
96
207
|
export * from "./toast/index.mjs";
|
|
208
|
+
export * from "./uploader/index.mjs";
|
|
97
209
|
var stdin_default = {
|
|
98
210
|
install,
|
|
99
211
|
version
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../../style/base.css";
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare type ListenEvent =
|
|
4
|
+
| 'scroll'
|
|
5
|
+
| 'wheel'
|
|
6
|
+
| 'mousewheel'
|
|
7
|
+
| 'resize'
|
|
8
|
+
| 'animationend'
|
|
9
|
+
| 'transitionend'
|
|
10
|
+
| 'touchmove';
|
|
11
|
+
|
|
12
|
+
// eslint-disable-next-line
|
|
13
|
+
declare type Callback = (listener: any, options: LazyloadOptions) => void;
|
|
14
|
+
|
|
15
|
+
declare type Filter = {
|
|
16
|
+
webp?: Callback;
|
|
17
|
+
progressive?: Callback;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
declare type Adapter = {
|
|
21
|
+
error?: Callback;
|
|
22
|
+
loaded?: Callback;
|
|
23
|
+
loading?: Callback;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export declare type LazyloadOptions = {
|
|
27
|
+
error?: string;
|
|
28
|
+
filter?: Filter;
|
|
29
|
+
silent?: boolean;
|
|
30
|
+
adapter?: Adapter;
|
|
31
|
+
loading?: string;
|
|
32
|
+
attempt?: number;
|
|
33
|
+
preLoad?: number;
|
|
34
|
+
observer?: boolean;
|
|
35
|
+
lazyImage?: boolean;
|
|
36
|
+
throttleWait?: number;
|
|
37
|
+
listenEvents?: ListenEvent[];
|
|
38
|
+
dispatchEvent?: boolean;
|
|
39
|
+
lazyComponent?: boolean;
|
|
40
|
+
observerOptions?: IntersectionObserverInit;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export declare const Lazyload: {
|
|
44
|
+
install(app: App, options?: LazyloadOptions): void;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
declare module '@vue/runtime-core' {
|
|
48
|
+
interface ComponentCustomProperties {
|
|
49
|
+
$Lazyload: {
|
|
50
|
+
$on: (event: string, handler: Callback) => void;
|
|
51
|
+
$off: (event: string, handler?: Callback) => void;
|
|
52
|
+
$once: (event: string, handler: Callback) => void;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import Lazy from "./lazy.mjs";
|
|
2
|
+
import LazyComponent from "./lazy-component.mjs";
|
|
3
|
+
import LazyContainer from "./lazy-container.mjs";
|
|
4
|
+
import LazyImage from "./lazy-image.mjs";
|
|
5
|
+
const Lazyload = {
|
|
6
|
+
install(app, options = {}) {
|
|
7
|
+
const LazyClass = Lazy();
|
|
8
|
+
const lazy = new LazyClass(options);
|
|
9
|
+
const lazyContainer = new LazyContainer({ lazy });
|
|
10
|
+
app.config.globalProperties.$Lazyload = lazy;
|
|
11
|
+
if (options.lazyComponent) {
|
|
12
|
+
app.component("LazyComponent", LazyComponent(lazy));
|
|
13
|
+
}
|
|
14
|
+
if (options.lazyImage) {
|
|
15
|
+
app.component("LazyImage", LazyImage(lazy));
|
|
16
|
+
}
|
|
17
|
+
app.directive("lazy", {
|
|
18
|
+
beforeMount: lazy.add.bind(lazy),
|
|
19
|
+
updated: lazy.update.bind(lazy),
|
|
20
|
+
unmounted: lazy.remove.bind(lazy)
|
|
21
|
+
});
|
|
22
|
+
app.directive("lazy-container", {
|
|
23
|
+
beforeMount: lazyContainer.bind.bind(lazyContainer),
|
|
24
|
+
updated: lazyContainer.update.bind(lazyContainer),
|
|
25
|
+
unmounted: lazyContainer.unbind.bind(lazyContainer)
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
Lazyload
|
|
31
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { h } from "vue";
|
|
2
|
+
import { inBrowser, useRect } from "@zartui/use";
|
|
3
|
+
var stdin_default = (lazy) => ({
|
|
4
|
+
props: {
|
|
5
|
+
tag: {
|
|
6
|
+
type: String,
|
|
7
|
+
default: "div"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
emits: ["show"],
|
|
11
|
+
render() {
|
|
12
|
+
return h(
|
|
13
|
+
this.tag,
|
|
14
|
+
this.show && this.$slots.default ? this.$slots.default() : null
|
|
15
|
+
);
|
|
16
|
+
},
|
|
17
|
+
data() {
|
|
18
|
+
return {
|
|
19
|
+
el: null,
|
|
20
|
+
state: {
|
|
21
|
+
loaded: false
|
|
22
|
+
},
|
|
23
|
+
show: false
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
mounted() {
|
|
27
|
+
this.el = this.$el;
|
|
28
|
+
lazy.addLazyBox(this);
|
|
29
|
+
lazy.lazyLoadHandler();
|
|
30
|
+
},
|
|
31
|
+
beforeUnmount() {
|
|
32
|
+
lazy.removeComponent(this);
|
|
33
|
+
},
|
|
34
|
+
methods: {
|
|
35
|
+
checkInView() {
|
|
36
|
+
const rect = useRect(this.$el);
|
|
37
|
+
return inBrowser && rect.top < window.innerHeight * lazy.options.preLoad && rect.bottom > 0 && rect.left < window.innerWidth * lazy.options.preLoad && rect.right > 0;
|
|
38
|
+
},
|
|
39
|
+
load() {
|
|
40
|
+
this.show = true;
|
|
41
|
+
this.state.loaded = true;
|
|
42
|
+
this.$emit("show", this);
|
|
43
|
+
},
|
|
44
|
+
destroy() {
|
|
45
|
+
return this.$destroy;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export {
|
|
50
|
+
stdin_default as default
|
|
51
|
+
};
|