zartui 3.0.1 → 3.0.3
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 +55 -0
- package/es/avatar/Avatar.mjs +65 -0
- package/es/avatar/index.css +1 -0
- package/es/avatar/index.d.ts +43 -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 +11 -5
- package/es/badge/Badge.mjs +13 -6
- package/es/badge/index.css +1 -1
- package/es/badge/index.d.ts +7 -3
- 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 +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.mjs +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 +1 -1
- package/es/divider/index.css +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 +2 -1
- 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/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/config.mjs +7 -0
- package/es/icon/index.css +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 +188 -0
- package/es/image-preview/ImagePreview.mjs +178 -0
- package/es/image-preview/ImagePreviewItem.d.ts +47 -0
- package/es/image-preview/ImagePreviewItem.mjs +257 -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 +139 -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/index.css +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 +71 -0
- package/es/media-picker/util/media-util.mjs +139 -0
- package/es/media-picker/util/orientation-util.d.ts +37 -0
- package/es/media-picker/util/orientation-util.mjs +118 -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 +55 -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 +170 -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 +14 -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/index.css +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 +211 -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 +22 -5
- package/es/popup/Popup.mjs +85 -3
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +16 -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 +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 +3 -3
- package/es/stepper/Stepper.mjs +1 -1
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +2 -2
- 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 +31 -12
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.d.ts +2 -0
- package/es/swipe-item/SwipeItem.mjs +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 +1 -1
- package/es/tab/Tab.mjs +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-normal.png +0 -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 +10 -1
- 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 +4 -0
- package/es/utils/constant.mjs +4 -0
- package/es/utils/create.mjs +4 -1
- package/es/utils/date.d.ts +29 -0
- package/es/utils/date.mjs +96 -0
- package/es/utils/format.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 +55 -0
- package/lib/avatar/Avatar.js +90 -0
- package/lib/avatar/index.css +1 -0
- package/lib/avatar/index.d.ts +43 -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 +11 -5
- package/lib/badge/Badge.js +13 -6
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.d.ts +7 -3
- 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 +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.js +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 +1 -1
- package/lib/divider/index.css +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 +2 -1
- 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/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/config.js +7 -0
- package/lib/icon/index.css +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 +188 -0
- package/lib/image-preview/ImagePreview.js +203 -0
- package/lib/image-preview/ImagePreviewItem.d.ts +47 -0
- package/lib/image-preview/ImagePreviewItem.js +276 -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 +139 -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/index.css +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 +71 -0
- package/lib/media-picker/util/media-util.js +158 -0
- package/lib/media-picker/util/orientation-util.d.ts +37 -0
- package/lib/media-picker/util/orientation-util.js +137 -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 +74 -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 +195 -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 +14 -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/index.css +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 +230 -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 +22 -5
- package/lib/popup/Popup.js +84 -2
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +16 -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 +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 +3 -3
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +2 -2
- 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 +31 -12
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.d.ts +2 -0
- package/lib/swipe-item/SwipeItem.js +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 +1 -1
- package/lib/tab/Tab.js +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-normal.png +0 -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 +10 -1
- 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 +4 -0
- package/lib/utils/constant.js +4 -0
- package/lib/utils/create.js +4 -1
- package/lib/utils/date.d.ts +29 -0
- package/lib/utils/date.js +115 -0
- package/lib/utils/format.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 +14724 -5172
- package/lib/zartui.es.js +14726 -5174
- package/lib/zartui.js +15738 -5305
- package/lib/zartui.min.js +1 -1
- package/package.json +14 -14
- package/README.md +0 -25
|
@@ -0,0 +1,205 @@
|
|
|
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
|
+
popoverProps: () => popoverProps
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(stdin_exports);
|
|
24
|
+
var import_vue = require("vue");
|
|
25
|
+
var import_vue2 = require("vue");
|
|
26
|
+
var import_popperjs = require("@zartui/popperjs");
|
|
27
|
+
var import_utils = require("../utils");
|
|
28
|
+
var import_use = require("@zartui/use");
|
|
29
|
+
var import_icon = require("../icon");
|
|
30
|
+
var import_popup = require("../popup");
|
|
31
|
+
const [name, bem] = (0, import_utils.createNamespace)("popover");
|
|
32
|
+
const popupProps = ["show", "overlay", "duration", "teleport", "overlayStyle", "overlayClass", "closeOnClickOverlay"];
|
|
33
|
+
const popoverProps = {
|
|
34
|
+
show: Boolean,
|
|
35
|
+
theme: (0, import_utils.makeStringProp)("light"),
|
|
36
|
+
overlay: Boolean,
|
|
37
|
+
actions: (0, import_utils.makeArrayProp)(),
|
|
38
|
+
trigger: (0, import_utils.makeStringProp)("click"),
|
|
39
|
+
duration: import_utils.numericProp,
|
|
40
|
+
showArrow: import_utils.truthProp,
|
|
41
|
+
placement: (0, import_utils.makeStringProp)("bottom"),
|
|
42
|
+
iconPrefix: String,
|
|
43
|
+
overlayClass: import_utils.unknownProp,
|
|
44
|
+
overlayStyle: Object,
|
|
45
|
+
closeOnClickAction: import_utils.truthProp,
|
|
46
|
+
closeOnClickOverlay: import_utils.truthProp,
|
|
47
|
+
closeOnClickOutside: import_utils.truthProp,
|
|
48
|
+
offset: {
|
|
49
|
+
type: Array,
|
|
50
|
+
default: () => [0, 8]
|
|
51
|
+
},
|
|
52
|
+
teleport: {
|
|
53
|
+
type: [String, Object],
|
|
54
|
+
default: "body"
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
var stdin_default = (0, import_vue2.defineComponent)({
|
|
58
|
+
name,
|
|
59
|
+
props: popoverProps,
|
|
60
|
+
emits: ["select", "touchstart", "update:show"],
|
|
61
|
+
setup(props, {
|
|
62
|
+
emit,
|
|
63
|
+
slots,
|
|
64
|
+
attrs
|
|
65
|
+
}) {
|
|
66
|
+
let popper;
|
|
67
|
+
const popupRef = (0, import_vue2.ref)();
|
|
68
|
+
const wrapperRef = (0, import_vue2.ref)();
|
|
69
|
+
const popoverRef = (0, import_vue2.ref)();
|
|
70
|
+
const getPopoverOptions = () => ({
|
|
71
|
+
placement: props.placement,
|
|
72
|
+
modifiers: [{
|
|
73
|
+
name: "computeStyles",
|
|
74
|
+
options: {
|
|
75
|
+
adaptive: false,
|
|
76
|
+
gpuAcceleration: false
|
|
77
|
+
}
|
|
78
|
+
}, (0, import_utils.extend)({}, import_popperjs.offsetModifier, {
|
|
79
|
+
options: {
|
|
80
|
+
offset: props.offset
|
|
81
|
+
}
|
|
82
|
+
})]
|
|
83
|
+
});
|
|
84
|
+
const createPopperInstance = () => {
|
|
85
|
+
if (wrapperRef.value && popoverRef.value) {
|
|
86
|
+
return (0, import_popperjs.createPopper)(wrapperRef.value, popoverRef.value.popupRef.value, getPopoverOptions());
|
|
87
|
+
}
|
|
88
|
+
return null;
|
|
89
|
+
};
|
|
90
|
+
const updateLocation = () => {
|
|
91
|
+
(0, import_vue2.nextTick)(() => {
|
|
92
|
+
if (!props.show) {
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
if (!popper) {
|
|
96
|
+
popper = createPopperInstance();
|
|
97
|
+
} else {
|
|
98
|
+
popper.setOptions(getPopoverOptions());
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
};
|
|
102
|
+
const updateShow = (value) => emit("update:show", value);
|
|
103
|
+
const onClickWrapper = () => {
|
|
104
|
+
if (props.trigger === "click") {
|
|
105
|
+
updateShow(!props.show);
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
const onClickAction = (action, index) => {
|
|
109
|
+
if (action.disabled) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
props.actions.forEach((action1) => {
|
|
113
|
+
action1.selected = false;
|
|
114
|
+
});
|
|
115
|
+
action.selected = true;
|
|
116
|
+
emit("select", action, index);
|
|
117
|
+
if (props.closeOnClickAction) {
|
|
118
|
+
updateShow(false);
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
const onClickAway = () => {
|
|
122
|
+
if (props.show && props.closeOnClickOutside && (!props.overlay || props.closeOnClickOverlay)) {
|
|
123
|
+
updateShow(false);
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
const renderActionContent = (action, index) => {
|
|
127
|
+
if (slots.action) {
|
|
128
|
+
return slots.action({
|
|
129
|
+
action,
|
|
130
|
+
index
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
return [action.icon && (0, import_vue.createVNode)(import_icon.Icon, {
|
|
134
|
+
"name": action.icon,
|
|
135
|
+
"classPrefix": props.iconPrefix,
|
|
136
|
+
"class": bem("action-icon")
|
|
137
|
+
}, null), (0, import_vue.createVNode)("div", {
|
|
138
|
+
"class": [bem("action-text"), import_utils.BORDER_BOTTOM]
|
|
139
|
+
}, [action.text])];
|
|
140
|
+
};
|
|
141
|
+
const renderAction = (action, index) => {
|
|
142
|
+
const {
|
|
143
|
+
icon,
|
|
144
|
+
color,
|
|
145
|
+
disabled,
|
|
146
|
+
className,
|
|
147
|
+
selected
|
|
148
|
+
} = action;
|
|
149
|
+
return (0, import_vue.createVNode)("div", {
|
|
150
|
+
"role": "menuitem",
|
|
151
|
+
"class": [bem("action", {
|
|
152
|
+
disabled,
|
|
153
|
+
"with-icon": icon
|
|
154
|
+
}), className],
|
|
155
|
+
"style": selected ? {
|
|
156
|
+
color: "#0091fa"
|
|
157
|
+
} : {
|
|
158
|
+
color
|
|
159
|
+
},
|
|
160
|
+
"tabindex": disabled ? void 0 : 0,
|
|
161
|
+
"aria-disabled": disabled || void 0,
|
|
162
|
+
"onClick": () => onClickAction(action, index)
|
|
163
|
+
}, [renderActionContent(action, index)]);
|
|
164
|
+
};
|
|
165
|
+
(0, import_vue2.onMounted)(() => {
|
|
166
|
+
updateLocation();
|
|
167
|
+
(0, import_vue2.watchEffect)(() => {
|
|
168
|
+
var _a;
|
|
169
|
+
popupRef.value = (_a = popoverRef.value) == null ? void 0 : _a.popupRef.value;
|
|
170
|
+
});
|
|
171
|
+
});
|
|
172
|
+
(0, import_vue2.onBeforeUnmount)(() => {
|
|
173
|
+
if (popper) {
|
|
174
|
+
popper.destroy();
|
|
175
|
+
popper = null;
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
(0, import_vue2.watch)(() => [props.show, props.offset, props.placement], updateLocation);
|
|
179
|
+
(0, import_use.useClickAway)(wrapperRef, onClickAway, {
|
|
180
|
+
eventName: "touchstart"
|
|
181
|
+
});
|
|
182
|
+
return () => {
|
|
183
|
+
var _a;
|
|
184
|
+
return (0, import_vue.createVNode)(import_vue.Fragment, null, [(0, import_vue.createVNode)("span", {
|
|
185
|
+
"ref": wrapperRef,
|
|
186
|
+
"class": bem("wrapper"),
|
|
187
|
+
"onClick": onClickWrapper
|
|
188
|
+
}, [(_a = slots.reference) == null ? void 0 : _a.call(slots)]), (0, import_vue.createVNode)(import_popup.Popup, (0, import_vue.mergeProps)({
|
|
189
|
+
"ref": popoverRef,
|
|
190
|
+
"class": bem([props.theme]),
|
|
191
|
+
"position": "",
|
|
192
|
+
"transition": "zt-popover-zoom",
|
|
193
|
+
"lockScroll": false,
|
|
194
|
+
"onUpdate:show": updateShow
|
|
195
|
+
}, attrs, (0, import_utils.pick)(props, popupProps)), {
|
|
196
|
+
default: () => [props.showArrow && (0, import_vue.createVNode)("div", {
|
|
197
|
+
"class": bem("arrow")
|
|
198
|
+
}, null), (0, import_vue.createVNode)("div", {
|
|
199
|
+
"role": "menu",
|
|
200
|
+
"class": bem("content")
|
|
201
|
+
}, [slots.default ? slots.default() : props.actions.map(renderAction)])]
|
|
202
|
+
})]);
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--zt-popover-arrow-size: 6px;--zt-popover-radius: var(--zt-radius-lg);--zt-popover-action-width: 120px;--zt-popover-action-height: 40px;--zt-popover-action-font-size: var(--zt-font-size-md);--zt-popover-action-line-height: var(--zt-line-height-md);--zt-popover-action-icon-size: 20px;--zt-popover-light-text-color: var(--zt-text-color);--zt-popover-light-background: var(--zt-background-2);--zt-popover-light-action-disabled-text-color: var(--zt-text-color-3);--zt-popover-dark-text-color: var(--zt-white);--zt-popover-dark-background: #4a4a4a;--zt-popover-dark-action-disabled-text-color: var(--zt-text-color-2)}.zt-popover{position:absolute;overflow:visible;background-color:transparent;transition:opacity .15s,transform .15s}.zt-popover__wrapper{display:inline-block}.zt-popover__arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;border-width:var(--zt-popover-arrow-size)}.zt-popover__content{overflow:hidden;border-radius:var(--zt-popover-radius)}.zt-popover__action{position:relative;display:flex;align-items:center;box-sizing:border-box;width:var(--zt-popover-action-width);height:var(--zt-popover-action-height);padding:0 var(--zt-padding-md);font-size:var(--zt-popover-action-font-size);line-height:var(--zt-line-height-md);cursor:pointer}.zt-popover__action:last-child .zt-popover__action-text:after{display:none}.zt-popover__action-text{display:flex;flex:1;align-items:center;justify-content:center;height:100%}.zt-popover__action-icon{margin-right:var(--zt-padding-xs);font-size:var(--zt-popover-action-icon-size)}.zt-popover__action--with-icon .zt-popover__action-text{justify-content:flex-start}.zt-popover[data-popper-placement^=top] .zt-popover__arrow{bottom:0;border-top-color:currentColor;border-bottom-width:0;transform:translate(-50%);margin-bottom:calc(var(--zt-popover-arrow-size) * -1)}.zt-popover[data-popper-placement=top]{transform-origin:50% 100%}.zt-popover[data-popper-placement=top] .zt-popover__arrow{left:50%}.zt-popover[data-popper-placement=top-start]{transform-origin:0 100%}.zt-popover[data-popper-placement=top-start] .zt-popover__arrow{left:var(--zt-padding-md)}.zt-popover[data-popper-placement=top-end]{transform-origin:100% 100%}.zt-popover[data-popper-placement=top-end] .zt-popover__arrow{right:var(--zt-padding-md)}.zt-popover[data-popper-placement^=left] .zt-popover__arrow{right:0;border-right-width:0;border-left-color:currentColor;transform:translateY(-50%);margin-right:calc(var(--zt-popover-arrow-size) * -1)}.zt-popover[data-popper-placement=left]{transform-origin:100% 50%}.zt-popover[data-popper-placement=left] .zt-popover__arrow{top:50%}.zt-popover[data-popper-placement=left-start]{transform-origin:100% 0}.zt-popover[data-popper-placement=left-start] .zt-popover__arrow{top:var(--zt-padding-md)}.zt-popover[data-popper-placement=left-end]{transform-origin:100% 100%}.zt-popover[data-popper-placement=left-end] .zt-popover__arrow{bottom:var(--zt-padding-md)}.zt-popover[data-popper-placement^=right] .zt-popover__arrow{left:0;border-right-color:currentColor;border-left-width:0;transform:translateY(-50%);margin-left:calc(var(--zt-popover-arrow-size) * -1)}.zt-popover[data-popper-placement=right]{transform-origin:0 50%}.zt-popover[data-popper-placement=right] .zt-popover__arrow{top:50%}.zt-popover[data-popper-placement=right-start]{transform-origin:0 0}.zt-popover[data-popper-placement=right-start] .zt-popover__arrow{top:var(--zt-padding-md)}.zt-popover[data-popper-placement=right-end]{transform-origin:0 100%}.zt-popover[data-popper-placement=right-end] .zt-popover__arrow{bottom:var(--zt-padding-md)}.zt-popover[data-popper-placement^=bottom] .zt-popover__arrow{top:0;border-top-width:0;border-bottom-color:currentColor;transform:translate(-50%);margin-top:calc(var(--zt-popover-arrow-size) * -1)}.zt-popover[data-popper-placement=bottom]{transform-origin:50% 0}.zt-popover[data-popper-placement=bottom] .zt-popover__arrow{left:50%}.zt-popover[data-popper-placement=bottom-start]{transform-origin:0 0}.zt-popover[data-popper-placement=bottom-start] .zt-popover__arrow{left:var(--zt-padding-md)}.zt-popover[data-popper-placement=bottom-end]{transform-origin:100% 0}.zt-popover[data-popper-placement=bottom-end] .zt-popover__arrow{right:var(--zt-padding-md)}.zt-popover--light{color:var(--zt-popover-light-text-color)}.zt-popover--light .zt-popover__content{background:var(--zt-popover-light-background);box-shadow:0 2px 12px rgba(50,50,51,.12)}.zt-popover--light .zt-popover__arrow{color:var(--zt-popover-light-background)}.zt-popover--light .zt-popover__action:active{background-color:var(--zt-active-color)}.zt-popover--light .zt-popover__action--selected{color:var(--zt-blue);cursor:not-allowed}.zt-popover--light .zt-popover__action--selected:active{background-color:transparent}.zt-popover--light .zt-popover__action--disabled{color:var(--zt-popover-light-action-disabled-text-color);cursor:not-allowed}.zt-popover--light .zt-popover__action--disabled:active{background-color:transparent}.zt-popover--dark{color:var(--zt-popover-dark-text-color)}.zt-popover--dark .zt-popover__content{background:var(--zt-popover-dark-background)}.zt-popover--dark .zt-popover__arrow{color:var(--zt-popover-dark-background)}.zt-popover--dark .zt-popover__action:active{background-color:rgba(0,0,0,.2)}.zt-popover--dark .zt-popover__action--disabled{color:var(--zt-popover-dark-action-disabled-text-color)}.zt-popover--dark .zt-popover__action--disabled:active{background-color:transparent}.zt-popover--dark .zt-popover__action-text:after{border-color:var(--zt-gray-7)}.zt-popover-zoom-enter-from,.zt-popover-zoom-leave-active{transform:scale(.8);opacity:0}.zt-popover-zoom-enter-active{transition-timing-function:var(--zt-ease-out)}.zt-popover-zoom-leave-active{transition-timing-function:var(--zt-ease-in)}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
export declare const Popover: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
2
|
+
show: BooleanConstructor;
|
|
3
|
+
theme: {
|
|
4
|
+
type: import("vue").PropType<import("./types").PopoverTheme>;
|
|
5
|
+
default: import("./types").PopoverTheme;
|
|
6
|
+
};
|
|
7
|
+
overlay: BooleanConstructor;
|
|
8
|
+
actions: {
|
|
9
|
+
type: import("vue").PropType<import("./types").PopoverAction[]>;
|
|
10
|
+
default: () => import("./types").PopoverAction[];
|
|
11
|
+
};
|
|
12
|
+
trigger: {
|
|
13
|
+
type: import("vue").PropType<import("./types").PopoverTrigger>;
|
|
14
|
+
default: import("./types").PopoverTrigger;
|
|
15
|
+
};
|
|
16
|
+
duration: (NumberConstructor | StringConstructor)[];
|
|
17
|
+
showArrow: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: true;
|
|
20
|
+
};
|
|
21
|
+
placement: {
|
|
22
|
+
type: import("vue").PropType<import("./types").PopoverPlacement>;
|
|
23
|
+
default: import("./types").PopoverPlacement;
|
|
24
|
+
};
|
|
25
|
+
iconPrefix: StringConstructor;
|
|
26
|
+
overlayClass: import("vue").PropType<unknown>;
|
|
27
|
+
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
28
|
+
closeOnClickAction: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: true;
|
|
31
|
+
};
|
|
32
|
+
closeOnClickOverlay: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: true;
|
|
35
|
+
};
|
|
36
|
+
closeOnClickOutside: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: true;
|
|
39
|
+
};
|
|
40
|
+
offset: {
|
|
41
|
+
type: import("vue").PropType<[number, number]>;
|
|
42
|
+
default: () => number[];
|
|
43
|
+
};
|
|
44
|
+
teleport: {
|
|
45
|
+
type: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "touchstart" | "update:show")[], "select" | "touchstart" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
show: BooleanConstructor;
|
|
50
|
+
theme: {
|
|
51
|
+
type: import("vue").PropType<import("./types").PopoverTheme>;
|
|
52
|
+
default: import("./types").PopoverTheme;
|
|
53
|
+
};
|
|
54
|
+
overlay: BooleanConstructor;
|
|
55
|
+
actions: {
|
|
56
|
+
type: import("vue").PropType<import("./types").PopoverAction[]>;
|
|
57
|
+
default: () => import("./types").PopoverAction[];
|
|
58
|
+
};
|
|
59
|
+
trigger: {
|
|
60
|
+
type: import("vue").PropType<import("./types").PopoverTrigger>;
|
|
61
|
+
default: import("./types").PopoverTrigger;
|
|
62
|
+
};
|
|
63
|
+
duration: (NumberConstructor | StringConstructor)[];
|
|
64
|
+
showArrow: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: true;
|
|
67
|
+
};
|
|
68
|
+
placement: {
|
|
69
|
+
type: import("vue").PropType<import("./types").PopoverPlacement>;
|
|
70
|
+
default: import("./types").PopoverPlacement;
|
|
71
|
+
};
|
|
72
|
+
iconPrefix: StringConstructor;
|
|
73
|
+
overlayClass: import("vue").PropType<unknown>;
|
|
74
|
+
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
75
|
+
closeOnClickAction: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: true;
|
|
78
|
+
};
|
|
79
|
+
closeOnClickOverlay: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: true;
|
|
82
|
+
};
|
|
83
|
+
closeOnClickOutside: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: true;
|
|
86
|
+
};
|
|
87
|
+
offset: {
|
|
88
|
+
type: import("vue").PropType<[number, number]>;
|
|
89
|
+
default: () => number[];
|
|
90
|
+
};
|
|
91
|
+
teleport: {
|
|
92
|
+
type: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
}>> & {
|
|
96
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
97
|
+
onTouchstart?: ((...args: any[]) => any) | undefined;
|
|
98
|
+
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
99
|
+
}, {
|
|
100
|
+
offset: [number, number];
|
|
101
|
+
theme: import("./types").PopoverTheme;
|
|
102
|
+
show: boolean;
|
|
103
|
+
overlay: boolean;
|
|
104
|
+
teleport: string | import("vue").RendererElement | null | undefined;
|
|
105
|
+
closeOnClickOverlay: boolean;
|
|
106
|
+
actions: import("./types").PopoverAction[];
|
|
107
|
+
closeOnClickAction: boolean;
|
|
108
|
+
closeOnClickOutside: boolean;
|
|
109
|
+
trigger: import("./types").PopoverTrigger;
|
|
110
|
+
showArrow: boolean;
|
|
111
|
+
placement: import("./types").PopoverPlacement;
|
|
112
|
+
}>>;
|
|
113
|
+
export default Popover;
|
|
114
|
+
export { popoverProps } from './Popover';
|
|
115
|
+
export type { PopoverProps } from './Popover';
|
|
116
|
+
export type { PopoverTheme, PopoverAction, PopoverTrigger, PopoverPlacement, } from './types';
|
|
117
|
+
declare module 'vue' {
|
|
118
|
+
interface GlobalComponents {
|
|
119
|
+
ZtPopover: typeof Popover;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
|
+
mod
|
|
22
|
+
));
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
24
|
+
var stdin_exports = {};
|
|
25
|
+
__export(stdin_exports, {
|
|
26
|
+
Popover: () => Popover,
|
|
27
|
+
default: () => stdin_default,
|
|
28
|
+
popoverProps: () => import_Popover2.popoverProps
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(stdin_exports);
|
|
31
|
+
var import_utils = require("../utils");
|
|
32
|
+
var import_Popover = __toESM(require("./Popover"));
|
|
33
|
+
var import_Popover2 = require("./Popover");
|
|
34
|
+
const Popover = (0, import_utils.withInstall)(import_Popover.default);
|
|
35
|
+
var stdin_default = Popover;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare type PopoverTheme = 'light' | 'dark';
|
|
2
|
+
export declare type PopoverTrigger = 'manual' | 'click';
|
|
3
|
+
export declare type PopoverPlacement = 'top' | 'top-start' | 'top-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end';
|
|
4
|
+
export declare type PopoverAction = {
|
|
5
|
+
text: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
color?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
[key: PropertyKey]: any;
|
|
11
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
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/popup/Popup.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, ExtractPropTypes } from 'vue';
|
|
1
|
+
import type { CSSProperties, ExtractPropTypes } from 'vue';
|
|
2
2
|
import type { PopupPosition, PopupCloseIconPosition } from './types';
|
|
3
3
|
declare const popupProps: {
|
|
4
4
|
show: BooleanConstructor;
|
|
@@ -45,6 +45,11 @@ declare const popupProps: {
|
|
|
45
45
|
};
|
|
46
46
|
safeAreaInsetTop: BooleanConstructor;
|
|
47
47
|
safeAreaInsetBottom: BooleanConstructor;
|
|
48
|
+
sliderContentHeight: {
|
|
49
|
+
type: NumberConstructor;
|
|
50
|
+
default: number;
|
|
51
|
+
};
|
|
52
|
+
slideable: BooleanConstructor;
|
|
48
53
|
};
|
|
49
54
|
export declare type PopupProps = ExtractPropTypes<typeof popupProps>;
|
|
50
55
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -92,7 +97,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
92
97
|
};
|
|
93
98
|
safeAreaInsetTop: BooleanConstructor;
|
|
94
99
|
safeAreaInsetBottom: BooleanConstructor;
|
|
95
|
-
|
|
100
|
+
sliderContentHeight: {
|
|
101
|
+
type: NumberConstructor;
|
|
102
|
+
default: number;
|
|
103
|
+
};
|
|
104
|
+
slideable: BooleanConstructor;
|
|
105
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "keydown" | "open" | "opened" | "closed" | "update:show" | "clickOverlay" | "clickCloseIcon")[], "open" | "close" | "keydown" | "opened" | "closed" | "update:show" | "clickOverlay" | "clickCloseIcon", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
96
106
|
show: BooleanConstructor;
|
|
97
107
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
98
108
|
overlay: {
|
|
@@ -137,6 +147,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
137
147
|
};
|
|
138
148
|
safeAreaInsetTop: BooleanConstructor;
|
|
139
149
|
safeAreaInsetBottom: BooleanConstructor;
|
|
150
|
+
sliderContentHeight: {
|
|
151
|
+
type: NumberConstructor;
|
|
152
|
+
default: number;
|
|
153
|
+
};
|
|
154
|
+
slideable: BooleanConstructor;
|
|
140
155
|
}>> & {
|
|
141
156
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
142
157
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -148,18 +163,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
148
163
|
onClickCloseIcon?: ((...args: any[]) => any) | undefined;
|
|
149
164
|
}, {
|
|
150
165
|
position: PopupPosition;
|
|
151
|
-
round: boolean;
|
|
152
|
-
overlay: boolean;
|
|
153
166
|
show: boolean;
|
|
154
|
-
|
|
167
|
+
overlay: boolean;
|
|
155
168
|
lockScroll: boolean;
|
|
156
169
|
lazyRender: boolean;
|
|
157
170
|
transitionAppear: boolean;
|
|
158
171
|
closeOnClickOverlay: boolean;
|
|
172
|
+
round: boolean;
|
|
159
173
|
closeIcon: string;
|
|
174
|
+
closeable: boolean;
|
|
160
175
|
closeOnPopstate: boolean;
|
|
161
176
|
closeIconPosition: PopupCloseIconPosition;
|
|
162
177
|
safeAreaInsetTop: boolean;
|
|
163
178
|
safeAreaInsetBottom: boolean;
|
|
179
|
+
sliderContentHeight: number;
|
|
180
|
+
slideable: boolean;
|
|
164
181
|
}>;
|
|
165
182
|
export default _default;
|
package/lib/popup/Popup.js
CHANGED
|
@@ -34,14 +34,16 @@ var import_overlay = require("../overlay");
|
|
|
34
34
|
const popupProps = (0, import_utils.extend)({}, import_shared.popupSharedProps, {
|
|
35
35
|
round: Boolean,
|
|
36
36
|
position: (0, import_utils.makeStringProp)("center"),
|
|
37
|
-
closeIcon: (0, import_utils.makeStringProp)("
|
|
37
|
+
closeIcon: (0, import_utils.makeStringProp)("clear"),
|
|
38
38
|
closeable: Boolean,
|
|
39
39
|
transition: String,
|
|
40
40
|
iconPrefix: String,
|
|
41
41
|
closeOnPopstate: Boolean,
|
|
42
42
|
closeIconPosition: (0, import_utils.makeStringProp)("top-right"),
|
|
43
43
|
safeAreaInsetTop: Boolean,
|
|
44
|
-
safeAreaInsetBottom: Boolean
|
|
44
|
+
safeAreaInsetBottom: Boolean,
|
|
45
|
+
sliderContentHeight: (0, import_utils.makeNumberProp)(60),
|
|
46
|
+
slideable: Boolean
|
|
45
47
|
});
|
|
46
48
|
const [name, bem] = (0, import_utils.createNamespace)("popup");
|
|
47
49
|
let globalZIndex = 2e3;
|
|
@@ -57,7 +59,15 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
57
59
|
}) {
|
|
58
60
|
let opened;
|
|
59
61
|
let shouldReopen;
|
|
62
|
+
const root = (0, import_vue2.ref)();
|
|
63
|
+
const positionY = (0, import_vue2.ref)(0);
|
|
64
|
+
let timerId = setInterval(() => {
|
|
65
|
+
}, 0);
|
|
66
|
+
const touchHeight = (0, import_vue2.ref)(0);
|
|
67
|
+
const contentStyle = (0, import_vue2.ref)(`height:${props.sliderContentHeight}px;`);
|
|
68
|
+
const touchAreaHeight = (0, import_vue2.ref)(40);
|
|
60
69
|
const zIndex = (0, import_vue2.ref)();
|
|
70
|
+
const touchPoint = (0, import_vue2.ref)(0);
|
|
61
71
|
const popupRef = (0, import_vue2.ref)();
|
|
62
72
|
const lazyRender = (0, import_use_lazy_render.useLazyRender)(() => props.show || !props.lazyRender);
|
|
63
73
|
const style = (0, import_vue2.computed)(() => {
|
|
@@ -71,6 +81,9 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
71
81
|
return style2;
|
|
72
82
|
});
|
|
73
83
|
const open = () => {
|
|
84
|
+
if (props.slideable) {
|
|
85
|
+
contentStyle.value = `height:${props.sliderContentHeight}px;`;
|
|
86
|
+
}
|
|
74
87
|
if (!opened) {
|
|
75
88
|
if (props.zIndex !== void 0) {
|
|
76
89
|
globalZIndex = +props.zIndex;
|
|
@@ -97,6 +110,39 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
97
110
|
close();
|
|
98
111
|
}
|
|
99
112
|
};
|
|
113
|
+
const move = (event) => {
|
|
114
|
+
if (timerId) {
|
|
115
|
+
event.preventDefault();
|
|
116
|
+
}
|
|
117
|
+
const h = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;
|
|
118
|
+
positionY.value = event.touches[0].clientY;
|
|
119
|
+
timerId = setTimeout(() => {
|
|
120
|
+
if (positionY.value === 0 || positionY.value < h * 0.15) {
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
touchHeight.value = positionY.value - touchAreaHeight.value > h - touchAreaHeight.value ? h - touchAreaHeight.value + touchPoint.value : positionY.value;
|
|
124
|
+
contentStyle.value = `height:${h - touchHeight.value - touchAreaHeight.value + touchPoint.value}px;`;
|
|
125
|
+
}, 10);
|
|
126
|
+
};
|
|
127
|
+
const startMove = (event) => {
|
|
128
|
+
var _a, _b;
|
|
129
|
+
if (timerId) {
|
|
130
|
+
clearInterval(timerId);
|
|
131
|
+
}
|
|
132
|
+
touchPoint.value = event.touches[0].clientY - (((_b = (_a = popupRef.value) == null ? void 0 : _a.getBoundingClientRect()) == null ? void 0 : _b.top) || 0);
|
|
133
|
+
};
|
|
134
|
+
const endMove = () => {
|
|
135
|
+
clearInterval(timerId);
|
|
136
|
+
};
|
|
137
|
+
(0, import_use.useEventListener)("touchmove", move, {
|
|
138
|
+
target: root
|
|
139
|
+
});
|
|
140
|
+
(0, import_use.useEventListener)("touchstart", startMove, {
|
|
141
|
+
target: root
|
|
142
|
+
});
|
|
143
|
+
(0, import_use.useEventListener)("touchend", endMove, {
|
|
144
|
+
target: root
|
|
145
|
+
});
|
|
100
146
|
const renderOverlay = () => {
|
|
101
147
|
if (props.overlay) {
|
|
102
148
|
return (0, import_vue.createVNode)(import_overlay.Overlay, {
|
|
@@ -151,6 +197,23 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
151
197
|
"onKeydown": onKeydown
|
|
152
198
|
}, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon()]), [[import_vue.vShow, props.show]]);
|
|
153
199
|
});
|
|
200
|
+
const sliderRenderPopup = lazyRender(() => {
|
|
201
|
+
var _a, _b;
|
|
202
|
+
return (0, import_vue.withDirectives)((0, import_vue.createVNode)("div", (0, import_vue.mergeProps)({
|
|
203
|
+
"class": bem("slider"),
|
|
204
|
+
"ref": popupRef,
|
|
205
|
+
"style": style.value,
|
|
206
|
+
"onKeydown": onKeydown
|
|
207
|
+
}, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon(), (0, import_vue.createVNode)("div", {
|
|
208
|
+
"class": bem("slider-title"),
|
|
209
|
+
"ref": root
|
|
210
|
+
}, [(0, import_vue.createVNode)("div", {
|
|
211
|
+
"class": bem("slider-bar")
|
|
212
|
+
}, null)]), (0, import_vue.createVNode)("div", {
|
|
213
|
+
"class": bem("slider-content"),
|
|
214
|
+
"style": contentStyle.value
|
|
215
|
+
}, [(_b = slots.default) == null ? void 0 : _b.call(slots)])]), [[import_vue.vShow, props.show]]);
|
|
216
|
+
});
|
|
154
217
|
const renderTransition = () => {
|
|
155
218
|
const {
|
|
156
219
|
position,
|
|
@@ -167,6 +230,22 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
167
230
|
default: renderPopup
|
|
168
231
|
});
|
|
169
232
|
};
|
|
233
|
+
const sliderRenderTransition = () => {
|
|
234
|
+
const {
|
|
235
|
+
position,
|
|
236
|
+
transition,
|
|
237
|
+
transitionAppear
|
|
238
|
+
} = props;
|
|
239
|
+
const name2 = position === "center" ? "zt-fade" : `zt-popup-slide-${position}`;
|
|
240
|
+
return (0, import_vue.createVNode)(import_vue2.Transition, {
|
|
241
|
+
"name": transition || name2,
|
|
242
|
+
"appear": transitionAppear,
|
|
243
|
+
"onAfterEnter": onOpened,
|
|
244
|
+
"onAfterLeave": onClosed
|
|
245
|
+
}, {
|
|
246
|
+
default: sliderRenderPopup
|
|
247
|
+
});
|
|
248
|
+
};
|
|
170
249
|
(0, import_vue2.watch)(() => props.show, (show) => {
|
|
171
250
|
if (show && !opened) {
|
|
172
251
|
open();
|
|
@@ -218,6 +297,9 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
218
297
|
default: () => [renderOverlay(), renderTransition()]
|
|
219
298
|
});
|
|
220
299
|
}
|
|
300
|
+
if (props.slideable) {
|
|
301
|
+
return (0, import_vue.createVNode)(import_vue.Fragment, null, [renderOverlay(), sliderRenderTransition()]);
|
|
302
|
+
}
|
|
221
303
|
return (0, import_vue.createVNode)(import_vue.Fragment, null, [renderOverlay(), renderTransition()]);
|
|
222
304
|
};
|
|
223
305
|
}
|
package/lib/popup/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
:root{--zt-popup-background: var(--zt-background-2);--zt-popup-transition: transform var(--zt-duration-base);--zt-popup-round-radius: 16px;--zt-popup-close-icon-size: 22px;--zt-popup-close-icon-color: var(--zt-gray-5);--zt-popup-close-icon-margin: 16px;--zt-popup-close-icon-z-index: 1}.zt-overflow-hidden{overflow:hidden!important}.zt-popup{position:fixed;max-height:100%;overflow-y:auto;background:var(--zt-popup-background);transition:var(--zt-popup-transition);-webkit-overflow-scrolling:touch}.zt-popup__slider{position:fixed;width:100%;bottom:0;border-radius:16px 16px 0 0;background-color:#fff}.zt-popup__slider-title{height:40px;text-align:center}.zt-popup__slider-bar{display:inline-block;width:32px;height:4px;transform:scaleY(-1);background:rgba(45,75,115,.2);border-radius:3px}.zt-popup__slider-content{overflow-y:auto}.zt-popup--center{top:50%;left:50%;transform:translate3d(-50%,-50%,0)}.zt-popup--center.zt-popup--round{border-radius:var(--zt-popup-round-radius)}.zt-popup--top{top:0;left:0;width:100%}.zt-popup--top.zt-popup--round{border-radius:0 0 var(--zt-popup-round-radius) var(--zt-popup-round-radius)}.zt-popup--right{top:50%;right:0;transform:translate3d(0,-50%,0)}.zt-popup--right.zt-popup--round{border-radius:var(--zt-popup-round-radius) 0 0 var(--zt-popup-round-radius)}.zt-popup--bottom{bottom:0;left:0;width:100%}.zt-popup--bottom.zt-popup--round{border-radius:var(--zt-popup-round-radius) var(--zt-popup-round-radius) 0 0}.zt-popup--left{top:50%;left:0;transform:translate3d(0,-50%,0)}.zt-popup--left.zt-popup--round{border-radius:0 var(--zt-popup-round-radius) var(--zt-popup-round-radius) 0}.zt-popup-slide-top-enter-active,.zt-popup-slide-left-enter-active,.zt-popup-slide-right-enter-active,.zt-popup-slide-bottom-enter-active{transition-timing-function:var(--zt-ease-out)}.zt-popup-slide-top-leave-active,.zt-popup-slide-left-leave-active,.zt-popup-slide-right-leave-active,.zt-popup-slide-bottom-leave-active{transition-timing-function:var(--zt-ease-in)}.zt-popup-slide-top-enter-from,.zt-popup-slide-top-leave-active{transform:translate3d(0,-100%,0)}.zt-popup-slide-right-enter-from,.zt-popup-slide-right-leave-active{transform:translate3d(100%,-50%,0)}.zt-popup-slide-bottom-enter-from,.zt-popup-slide-bottom-leave-active{transform:translate3d(0,100%,0)}.zt-popup-slide-left-enter-from,.zt-popup-slide-left-leave-active{transform:translate3d(-100%,-50%,0)}.zt-popup__slider-icon{z-index:var(--zt-popup-close-icon-z-index);color:var(--zt-popup-close-icon-color);font-size:var(--zt-popup-close-icon-size);cursor:pointer}.zt-popup__close-icon{position:absolute;z-index:var(--zt-popup-close-icon-z-index);color:var(--zt-popup-close-icon-color);font-size:var(--zt-popup-close-icon-size)}.zt-popup__close-icon--top-left{top:var(--zt-popup-close-icon-margin);left:var(--zt-popup-close-icon-margin)}.zt-popup__close-icon--top-right{top:var(--zt-popup-close-icon-margin);right:var(--zt-popup-close-icon-margin)}.zt-popup__close-icon--bottom-left{bottom:var(--zt-popup-close-icon-margin);left:var(--zt-popup-close-icon-margin)}.zt-popup__close-icon--bottom-right{right:var(--zt-popup-close-icon-margin);bottom:var(--zt-popup-close-icon-margin)}
|