zartui 3.1.23 → 3.1.24
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/README.md +27 -27
- package/es/action-sheet/ActionSheet.d.ts +5 -5
- package/es/action-sheet/ActionSheet.mjs +1 -2
- package/es/action-sheet/index.d.ts +5 -5
- package/es/audio/Audio.d.ts +18 -5
- package/es/audio/Audio.mjs +7 -5
- package/es/audio/index.d.ts +14 -5
- package/es/avatar/Avatar.d.ts +4 -4
- package/es/avatar/Avatar.mjs +1 -2
- package/es/avatar/index.d.ts +4 -4
- package/es/badge/Badge.d.ts +4 -4
- package/es/badge/Badge.mjs +1 -2
- package/es/badge/index.d.ts +4 -4
- package/es/button/Button.d.ts +8 -5
- package/es/button/Button.mjs +1 -2
- package/es/button/index.d.ts +7 -5
- package/es/calendar/Calendar.d.ts +5 -5
- package/es/calendar/Calendar.mjs +1 -2
- package/es/calendar/CalendarDay.d.ts +5 -5
- package/es/calendar/CalendarDay.mjs +1 -2
- package/es/calendar/CalendarHeader.d.ts +5 -5
- package/es/calendar/CalendarHeader.mjs +1 -2
- package/es/calendar/CalendarMonth.d.ts +5 -5
- package/es/calendar/CalendarMonth.mjs +1 -2
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +5 -5
- package/es/cascader/Cascader.d.ts +5 -5
- package/es/cascader/Cascader.mjs +1 -2
- package/es/cascader/index.d.ts +5 -5
- package/es/cell/Cell.d.ts +8 -5
- package/es/cell/Cell.mjs +1 -2
- package/es/cell/index.d.ts +7 -5
- package/es/cell-group/CellGroup.d.ts +4 -4
- package/es/cell-group/CellGroup.mjs +1 -2
- package/es/cell-group/index.d.ts +4 -4
- package/es/checkbox/Checkbox.d.ts +5 -5
- package/es/checkbox/Checkbox.mjs +1 -2
- package/es/checkbox/Checker.d.ts +5 -5
- package/es/checkbox/Checker.mjs +1 -2
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.d.ts +5 -5
- package/es/checkbox-group/CheckboxGroup.d.ts +5 -5
- package/es/checkbox-group/CheckboxGroup.mjs +1 -2
- package/es/checkbox-group/index.d.ts +5 -5
- package/es/col/Col.d.ts +4 -4
- package/es/col/Col.mjs +1 -2
- package/es/col/index.d.ts +4 -4
- package/es/collapse/Collapse.d.ts +5 -5
- package/es/collapse/Collapse.mjs +1 -2
- package/es/collapse/index.d.ts +5 -5
- package/es/collapse-item/CollapseItem.d.ts +4 -4
- package/es/collapse-item/CollapseItem.mjs +1 -2
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.d.ts +4 -4
- package/es/composables/use-height.d.ts +1 -1
- package/es/composables/use-refs.d.ts +1 -1
- package/es/composables/use-route.d.ts +2 -0
- package/es/composables/use-route.mjs +2 -1
- package/es/composables/use-sync-prop-ref.d.ts +1 -1
- package/es/composables/use-touch.d.ts +8 -8
- package/es/config-provider/ConfigProvider.d.ts +4 -4
- package/es/config-provider/ConfigProvider.mjs +1 -2
- package/es/config-provider/index.d.ts +4 -4
- package/es/date-time-picker/DateTimePicker.d.ts +5 -5
- package/es/date-time-picker/DateTimePicker.mjs +1 -2
- package/es/date-time-picker/DateTimePickerWrapper.d.ts +5 -5
- package/es/date-time-picker/DateTimePickerWrapper.mjs +1 -2
- package/es/date-time-picker/index.d.ts +5 -5
- package/es/dialog/Dialog.d.ts +5 -5
- package/es/dialog/Dialog.mjs +1 -2
- package/es/dialog/function-call.mjs +1 -1
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.d.ts +5 -5
- package/es/divider/Divider.d.ts +4 -4
- package/es/divider/Divider.mjs +1 -2
- package/es/divider/index.d.ts +4 -4
- package/es/drawer-select/DrawerSelect.d.ts +5 -5
- package/es/drawer-select/DrawerSelect.mjs +1 -2
- package/es/drawer-select/index.d.ts +5 -5
- package/es/dropdown-item/DropdownItem.d.ts +6 -6
- package/es/dropdown-item/DropdownItem.mjs +1 -2
- package/es/dropdown-item/index.d.ts +6 -6
- package/es/dropdown-menu/DropdownMenu.d.ts +4 -4
- package/es/dropdown-menu/DropdownMenu.mjs +1 -2
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.d.ts +4 -4
- package/es/empty/Empty.d.ts +4 -4
- package/es/empty/Empty.mjs +1 -2
- package/es/empty/index.d.ts +4 -4
- package/es/field/Field.d.ts +5 -5
- package/es/field/Field.mjs +1 -2
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +5 -5
- package/es/floating-bubble/FloatingBubble.d.ts +5 -5
- package/es/floating-bubble/FloatingBubble.mjs +1 -2
- package/es/floating-bubble/index.css +1 -1
- package/es/floating-bubble/index.d.ts +5 -5
- package/es/form/Form.d.ts +5 -5
- package/es/form/Form.mjs +1 -2
- package/es/form/index.d.ts +5 -5
- package/es/grid/Grid.d.ts +4 -4
- package/es/grid/Grid.mjs +1 -2
- package/es/grid/index.d.ts +4 -4
- package/es/grid-item/GridItem.d.ts +7 -4
- package/es/grid-item/GridItem.mjs +1 -2
- package/es/grid-item/index.d.ts +6 -4
- package/es/hierarchy-select/Breadcrumb.d.ts +5 -5
- package/es/hierarchy-select/Breadcrumb.mjs +1 -2
- package/es/hierarchy-select/HierarchySelect.d.ts +5 -5
- package/es/hierarchy-select/HierarchySelect.mjs +1 -2
- package/es/hierarchy-select/index.d.ts +5 -5
- package/es/icon/Icon.d.ts +4 -4
- package/es/icon/Icon.mjs +1 -2
- package/es/icon/index.css +1 -1
- package/es/icon/index.d.ts +4 -4
- package/es/image/Image.d.ts +5 -5
- package/es/image/Image.mjs +1 -2
- package/es/image/index.d.ts +5 -5
- package/es/image-preview/ImagePreview.d.ts +5 -5
- package/es/image-preview/ImagePreview.mjs +1 -2
- package/es/image-preview/ImagePreviewItem.d.ts +5 -5
- package/es/image-preview/ImagePreviewItem.mjs +1 -2
- package/es/image-preview/function-call.mjs +1 -1
- package/es/image-preview/index.d.ts +5 -5
- package/es/index-anchor/IndexAnchor.d.ts +3 -3
- package/es/index-anchor/IndexAnchor.mjs +1 -2
- package/es/index-anchor/index.d.ts +3 -3
- package/es/index-bar/IndexBar.d.ts +5 -5
- package/es/index-bar/IndexBar.mjs +1 -2
- package/es/index-bar/index.css +1 -1
- package/es/index-bar/index.d.ts +5 -5
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/lazyload/vue-lazyload/index.d.ts +55 -55
- package/es/list/List.d.ts +5 -5
- package/es/list/List.mjs +1 -2
- package/es/list/index.d.ts +5 -5
- package/es/loading/Loading.d.ts +4 -4
- package/es/loading/Loading.mjs +1 -2
- package/es/loading/index.d.ts +4 -4
- package/es/media-picker/MediaPicker.d.ts +9 -5
- package/es/media-picker/MediaPicker.mjs +7 -5
- package/es/media-picker/image/DefaultAudioIcon.d.ts +1 -1
- package/es/media-picker/image/DefaultAudioIcon.mjs +1 -2
- package/es/media-picker/image/DefaultFileIcon.d.ts +1 -1
- package/es/media-picker/image/DefaultFileIcon.mjs +1 -2
- package/es/media-picker/image/DefaultVideoIcon.d.ts +1 -1
- package/es/media-picker/image/DefaultVideoIcon.mjs +1 -2
- package/es/media-picker/image/DeleteIcon.d.ts +1 -1
- package/es/media-picker/image/DeleteIcon.mjs +1 -2
- package/es/media-picker/image/PickFileIcon.d.ts +1 -1
- package/es/media-picker/image/PickFileIcon.mjs +1 -2
- package/es/media-picker/image/PickPhotoIcon.d.ts +1 -1
- package/es/media-picker/image/PickPhotoIcon.mjs +1 -2
- package/es/media-picker/image/TakeAudioIcon.d.ts +1 -1
- package/es/media-picker/image/TakeAudioIcon.mjs +1 -2
- package/es/media-picker/image/TakePhotoIcon.d.ts +1 -1
- package/es/media-picker/image/TakePhotoIcon.mjs +1 -2
- package/es/media-picker/image/TakeVideoIcon.d.ts +1 -1
- package/es/media-picker/image/TakeVideoIcon.mjs +1 -2
- package/es/media-picker/index.css +1 -1
- package/es/media-picker/index.d.ts +7 -5
- package/es/media-player/MediaPlayer.d.ts +21 -5
- package/es/media-player/MediaPlayer.mjs +7 -3
- package/es/media-player/index.d.ts +14 -5
- package/es/multiple-picker/MultiplePicker.d.ts +5 -5
- package/es/multiple-picker/MultiplePicker.mjs +1 -2
- package/es/multiple-picker/MultiplePickerOptions.d.ts +5 -5
- package/es/multiple-picker/MultiplePickerOptions.mjs +1 -2
- package/es/multiple-picker/index.css +1 -1
- package/es/multiple-picker/index.d.ts +5 -5
- package/es/nav-bar/NavBar.d.ts +5 -5
- package/es/nav-bar/NavBar.mjs +1 -2
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.d.ts +5 -5
- package/es/notice-bar/NoticeBar.d.ts +5 -5
- package/es/notice-bar/NoticeBar.mjs +1 -2
- package/es/notice-bar/index.d.ts +5 -5
- package/es/notify/Notify.d.ts +5 -5
- package/es/notify/Notify.mjs +1 -2
- package/es/notify/function-call.mjs +1 -1
- package/es/notify/index.d.ts +5 -5
- package/es/number-keyboard/NumberKeyboard.d.ts +6 -6
- package/es/number-keyboard/NumberKeyboard.mjs +1 -2
- package/es/number-keyboard/NumberKeyboardKey.d.ts +5 -5
- package/es/number-keyboard/NumberKeyboardKey.mjs +1 -2
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +6 -6
- package/es/overlay/Overlay.d.ts +4 -4
- package/es/overlay/Overlay.mjs +1 -2
- package/es/overlay/index.d.ts +4 -4
- package/es/password-input/PasswordInput.d.ts +5 -5
- package/es/password-input/PasswordInput.mjs +1 -2
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.d.ts +5 -5
- package/es/picker/Picker.d.ts +5 -5
- package/es/picker/Picker.mjs +1 -2
- package/es/picker/PickerColumn.d.ts +5 -5
- package/es/picker/PickerColumn.mjs +1 -2
- package/es/picker/PickerOptions.d.ts +5 -5
- package/es/picker/PickerOptions.mjs +1 -2
- package/es/picker/PickerToolbar.d.ts +4 -4
- package/es/picker/PickerToolbar.mjs +1 -2
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +5 -5
- package/es/popover/Popover.d.ts +5 -5
- package/es/popover/Popover.mjs +1 -2
- package/es/popover/index.d.ts +5 -5
- package/es/popup/Popup.d.ts +6 -6
- package/es/popup/Popup.mjs +1 -2
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +6 -6
- package/es/pull-refresh/PullRefresh.d.ts +5 -5
- package/es/pull-refresh/PullRefresh.mjs +1 -2
- package/es/pull-refresh/index.d.ts +5 -5
- package/es/radio/Radio.d.ts +5 -5
- package/es/radio/Radio.mjs +1 -2
- package/es/radio/index.css +1 -1
- package/es/radio/index.d.ts +5 -5
- package/es/radio-group/RadioGroup.d.ts +5 -5
- package/es/radio-group/RadioGroup.mjs +1 -2
- package/es/radio-group/index.d.ts +5 -5
- package/es/radio-picker/RadioPicker.d.ts +5 -5
- package/es/radio-picker/RadioPicker.mjs +1 -2
- package/es/radio-picker/RadioPickerColumn.d.ts +5 -5
- package/es/radio-picker/RadioPickerColumn.mjs +1 -2
- package/es/radio-picker/RadioPickerToolbar.d.ts +4 -4
- package/es/radio-picker/RadioPickerToolbar.mjs +1 -2
- package/es/radio-picker/index.css +1 -1
- package/es/radio-picker/index.d.ts +5 -5
- package/es/rate/Rate.d.ts +5 -5
- package/es/rate/Rate.mjs +1 -2
- package/es/rate/index.css +1 -1
- package/es/rate/index.d.ts +5 -5
- package/es/row/Row.d.ts +4 -4
- package/es/row/Row.mjs +1 -2
- package/es/row/index.d.ts +4 -4
- package/es/search/Search.d.ts +5 -5
- package/es/search/Search.mjs +1 -2
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +5 -5
- package/es/signature/Signature.d.ts +5 -5
- package/es/signature/Signature.mjs +1 -2
- package/es/signature/index.d.ts +5 -5
- package/es/skeleton/Skeleton.d.ts +5 -5
- package/es/skeleton/Skeleton.mjs +1 -2
- package/es/skeleton/index.d.ts +5 -5
- package/es/slider/Slider.d.ts +5 -5
- package/es/slider/Slider.mjs +1 -2
- package/es/slider/index.css +1 -1
- package/es/slider/index.d.ts +5 -5
- package/es/step/Step.d.ts +3 -3
- package/es/step/Step.mjs +1 -2
- package/es/step/index.css +1 -1
- package/es/step/index.d.ts +3 -3
- package/es/stepper/Stepper.d.ts +5 -5
- package/es/stepper/Stepper.mjs +1 -2
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +5 -5
- package/es/steps/Steps.d.ts +5 -5
- package/es/steps/Steps.mjs +1 -2
- package/es/steps/index.d.ts +5 -5
- package/es/sticky/Sticky.d.ts +5 -5
- package/es/sticky/Sticky.mjs +1 -2
- package/es/sticky/index.d.ts +5 -5
- package/es/swipe/Swipe.d.ts +5 -5
- package/es/swipe/Swipe.mjs +1 -2
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.d.ts +5 -5
- package/es/swipe-cell/SwipeCell.d.ts +6 -6
- package/es/swipe-cell/SwipeCell.mjs +1 -2
- package/es/swipe-cell/index.css +1 -1
- package/es/swipe-cell/index.d.ts +6 -6
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/SwipeItem.mjs +1 -2
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/Switch.d.ts +5 -5
- package/es/switch/Switch.mjs +1 -2
- package/es/switch/index.d.ts +5 -5
- package/es/tab/Tab.d.ts +7 -4
- package/es/tab/Tab.mjs +1 -2
- package/es/tab/index.d.ts +6 -4
- package/es/tabbar/Tabbar.d.ts +5 -5
- package/es/tabbar/Tabbar.mjs +1 -2
- package/es/tabbar/index.d.ts +5 -5
- package/es/tabbar-item/TabbarItem.d.ts +8 -5
- package/es/tabbar-item/TabbarItem.mjs +1 -2
- package/es/tabbar-item/index.css +1 -1
- package/es/tabbar-item/index.d.ts +7 -5
- package/es/table/Table.d.ts +5 -5
- package/es/table/Table.mjs +1 -2
- package/es/table/index.css +1 -1
- package/es/table/index.d.ts +5 -5
- package/es/tabs/Tabs.d.ts +5 -5
- package/es/tabs/Tabs.mjs +1 -2
- package/es/tabs/TabsContent.d.ts +5 -5
- package/es/tabs/TabsContent.mjs +1 -2
- package/es/tabs/TabsTitle.d.ts +4 -4
- package/es/tabs/TabsTitle.mjs +1 -2
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +5 -5
- package/es/tag/Tag.d.ts +5 -5
- package/es/tag/Tag.mjs +1 -2
- package/es/tag/index.d.ts +5 -5
- package/es/text-ellipsis/TextEllipsis.d.ts +5 -5
- package/es/text-ellipsis/TextEllipsis.mjs +1 -2
- package/es/text-ellipsis/index.d.ts +5 -5
- package/es/time-picker/Arrow.d.ts +2 -2
- package/es/time-picker/Arrow.mjs +1 -2
- package/es/time-picker/TimePicker.d.ts +5 -5
- package/es/time-picker/TimePicker.mjs +1 -2
- package/es/time-picker/TimePickerColumn.d.ts +5 -5
- package/es/time-picker/TimePickerColumn.mjs +1 -2
- package/es/time-picker/index.css +1 -1
- package/es/time-picker/index.d.ts +5 -5
- package/es/timeline/Timeline.d.ts +4 -4
- package/es/timeline/Timeline.mjs +1 -2
- package/es/timeline/index.d.ts +4 -4
- package/es/toast/Toast.d.ts +5 -5
- package/es/toast/Toast.mjs +1 -2
- package/es/toast/function-call.mjs +1 -2
- package/es/toast/index.css +1 -1
- package/es/toast/index.d.ts +5 -5
- package/es/uploader/Uploader.d.ts +5 -5
- package/es/uploader/Uploader.mjs +2 -2
- package/es/uploader/UploaderPreviewItem.d.ts +5 -5
- package/es/uploader/UploaderPreviewItem.mjs +1 -2
- package/es/uploader/index.d.ts +5 -5
- package/es/utils/dom.d.ts +1 -1
- package/es/utils/mount-component.d.ts +1 -1
- package/es/video/Video.d.ts +8 -5
- package/es/video/Video.mjs +5 -3
- package/es/video/index.css +1 -1
- package/es/video/index.d.ts +7 -5
- package/es/video/types.d.ts +1 -0
- package/es/vue-sfc-shim.d.ts +6 -6
- package/es/vue-tsx-shim.d.ts +23 -23
- package/lib/action-sheet/ActionSheet.d.ts +5 -5
- package/lib/action-sheet/ActionSheet.js +2 -3
- package/lib/action-sheet/index.d.ts +5 -5
- package/lib/audio/Audio.d.ts +18 -5
- package/lib/audio/Audio.js +11 -9
- package/lib/audio/index.d.ts +14 -5
- package/lib/avatar/Avatar.d.ts +4 -4
- package/lib/avatar/Avatar.js +4 -5
- package/lib/avatar/index.d.ts +4 -4
- package/lib/badge/Badge.d.ts +4 -4
- package/lib/badge/Badge.js +2 -3
- package/lib/badge/index.d.ts +4 -4
- package/lib/button/Button.d.ts +8 -5
- package/lib/button/Button.js +1 -2
- package/lib/button/index.d.ts +7 -5
- package/lib/calendar/Calendar.d.ts +5 -5
- package/lib/calendar/Calendar.js +19 -20
- package/lib/calendar/CalendarDay.d.ts +5 -5
- package/lib/calendar/CalendarDay.js +2 -3
- package/lib/calendar/CalendarHeader.d.ts +5 -5
- package/lib/calendar/CalendarHeader.js +1 -2
- package/lib/calendar/CalendarMonth.d.ts +5 -5
- package/lib/calendar/CalendarMonth.js +11 -12
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +5 -5
- package/lib/cascader/Cascader.d.ts +5 -5
- package/lib/cascader/Cascader.js +11 -12
- package/lib/cascader/index.d.ts +5 -5
- package/lib/cell/Cell.d.ts +8 -5
- package/lib/cell/Cell.js +5 -6
- package/lib/cell/index.d.ts +7 -5
- package/lib/cell-group/CellGroup.d.ts +4 -4
- package/lib/cell-group/CellGroup.js +1 -2
- package/lib/cell-group/index.d.ts +4 -4
- package/lib/checkbox/Checkbox.d.ts +5 -5
- package/lib/checkbox/Checkbox.js +3 -4
- package/lib/checkbox/Checker.d.ts +5 -5
- package/lib/checkbox/Checker.js +5 -6
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.d.ts +5 -5
- package/lib/checkbox-group/CheckboxGroup.d.ts +5 -5
- package/lib/checkbox-group/CheckboxGroup.js +2 -3
- package/lib/checkbox-group/index.d.ts +5 -5
- package/lib/col/Col.d.ts +4 -4
- package/lib/col/Col.js +2 -3
- package/lib/col/index.d.ts +4 -4
- package/lib/collapse/Collapse.d.ts +5 -5
- package/lib/collapse/Collapse.js +1 -2
- package/lib/collapse/index.d.ts +5 -5
- package/lib/collapse-item/CollapseItem.d.ts +4 -4
- package/lib/collapse-item/CollapseItem.js +8 -9
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.d.ts +4 -4
- package/lib/composables/use-height.d.ts +1 -1
- package/lib/composables/use-refs.d.ts +1 -1
- package/lib/composables/use-route.d.ts +2 -0
- package/lib/composables/use-route.js +2 -1
- package/lib/composables/use-sync-prop-ref.d.ts +1 -1
- package/lib/composables/use-touch.d.ts +8 -8
- package/lib/config-provider/ConfigProvider.d.ts +4 -4
- package/lib/config-provider/ConfigProvider.js +10 -11
- package/lib/config-provider/index.d.ts +4 -4
- package/lib/date-time-picker/DateTimePicker.d.ts +5 -5
- package/lib/date-time-picker/DateTimePicker.js +17 -18
- package/lib/date-time-picker/DateTimePickerWrapper.d.ts +5 -5
- package/lib/date-time-picker/DateTimePickerWrapper.js +12 -13
- package/lib/date-time-picker/index.d.ts +5 -5
- package/lib/dialog/Dialog.d.ts +5 -5
- package/lib/dialog/Dialog.js +4 -5
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.d.ts +5 -5
- package/lib/divider/Divider.d.ts +4 -4
- package/lib/divider/Divider.js +1 -2
- package/lib/divider/index.d.ts +4 -4
- package/lib/drawer-select/DrawerSelect.d.ts +5 -5
- package/lib/drawer-select/DrawerSelect.js +13 -14
- package/lib/drawer-select/index.d.ts +5 -5
- package/lib/dropdown-item/DropdownItem.d.ts +6 -6
- package/lib/dropdown-item/DropdownItem.js +5 -6
- package/lib/dropdown-item/index.d.ts +6 -6
- package/lib/dropdown-menu/DropdownMenu.d.ts +4 -4
- package/lib/dropdown-menu/DropdownMenu.js +6 -7
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.d.ts +4 -4
- package/lib/empty/Empty.d.ts +4 -4
- package/lib/empty/Empty.js +1 -2
- package/lib/empty/index.d.ts +4 -4
- package/lib/field/Field.d.ts +5 -5
- package/lib/field/Field.js +18 -19
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +5 -5
- package/lib/floating-bubble/FloatingBubble.d.ts +5 -5
- package/lib/floating-bubble/FloatingBubble.js +14 -15
- package/lib/floating-bubble/index.css +1 -1
- package/lib/floating-bubble/index.d.ts +5 -5
- package/lib/form/Form.d.ts +5 -5
- package/lib/form/Form.js +1 -2
- package/lib/form/index.d.ts +5 -5
- package/lib/grid/Grid.d.ts +4 -4
- package/lib/grid/Grid.js +1 -2
- package/lib/grid/index.d.ts +4 -4
- package/lib/grid-item/GridItem.d.ts +7 -4
- package/lib/grid-item/GridItem.js +3 -4
- package/lib/grid-item/index.d.ts +6 -4
- package/lib/hierarchy-select/Breadcrumb.d.ts +5 -5
- package/lib/hierarchy-select/Breadcrumb.js +1 -2
- package/lib/hierarchy-select/HierarchySelect.d.ts +5 -5
- package/lib/hierarchy-select/HierarchySelect.js +6 -7
- package/lib/hierarchy-select/index.d.ts +5 -5
- package/lib/icon/Icon.d.ts +4 -4
- package/lib/icon/Icon.js +3 -4
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.d.ts +4 -4
- package/lib/image/Image.d.ts +5 -5
- package/lib/image/Image.js +9 -10
- package/lib/image/index.d.ts +5 -5
- package/lib/image-preview/ImagePreview.d.ts +5 -5
- package/lib/image-preview/ImagePreview.js +8 -9
- package/lib/image-preview/ImagePreviewItem.d.ts +5 -5
- package/lib/image-preview/ImagePreviewItem.js +10 -11
- package/lib/image-preview/index.d.ts +5 -5
- package/lib/index-anchor/IndexAnchor.d.ts +3 -3
- package/lib/index-anchor/IndexAnchor.js +4 -5
- package/lib/index-anchor/index.d.ts +3 -3
- package/lib/index-bar/IndexBar.d.ts +5 -5
- package/lib/index-bar/IndexBar.js +12 -13
- package/lib/index-bar/index.css +1 -1
- package/lib/index-bar/index.d.ts +5 -5
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/lazyload/vue-lazyload/index.d.ts +55 -55
- package/lib/list/List.d.ts +5 -5
- package/lib/list/List.js +10 -11
- package/lib/list/index.d.ts +5 -5
- package/lib/loading/Loading.d.ts +4 -4
- package/lib/loading/Loading.js +2 -3
- package/lib/loading/index.d.ts +4 -4
- package/lib/media-picker/MediaPicker.d.ts +9 -5
- package/lib/media-picker/MediaPicker.js +6 -4
- package/lib/media-picker/image/DefaultAudioIcon.d.ts +1 -1
- package/lib/media-picker/image/DefaultAudioIcon.js +1 -2
- package/lib/media-picker/image/DefaultFileIcon.d.ts +1 -1
- package/lib/media-picker/image/DefaultFileIcon.js +1 -2
- package/lib/media-picker/image/DefaultVideoIcon.d.ts +1 -1
- package/lib/media-picker/image/DefaultVideoIcon.js +1 -2
- package/lib/media-picker/image/DeleteIcon.d.ts +1 -1
- package/lib/media-picker/image/DeleteIcon.js +1 -2
- package/lib/media-picker/image/PickFileIcon.d.ts +1 -1
- package/lib/media-picker/image/PickFileIcon.js +1 -2
- package/lib/media-picker/image/PickPhotoIcon.d.ts +1 -1
- package/lib/media-picker/image/PickPhotoIcon.js +1 -2
- package/lib/media-picker/image/TakeAudioIcon.d.ts +1 -1
- package/lib/media-picker/image/TakeAudioIcon.js +1 -2
- package/lib/media-picker/image/TakePhotoIcon.d.ts +1 -1
- package/lib/media-picker/image/TakePhotoIcon.js +1 -2
- package/lib/media-picker/image/TakeVideoIcon.d.ts +1 -1
- package/lib/media-picker/image/TakeVideoIcon.js +1 -2
- package/lib/media-picker/index.css +1 -1
- package/lib/media-picker/index.d.ts +7 -5
- package/lib/media-player/MediaPlayer.d.ts +21 -5
- package/lib/media-player/MediaPlayer.js +5 -1
- package/lib/media-player/index.d.ts +14 -5
- package/lib/multiple-picker/MultiplePicker.d.ts +5 -5
- package/lib/multiple-picker/MultiplePicker.js +9 -10
- package/lib/multiple-picker/MultiplePickerOptions.d.ts +5 -5
- package/lib/multiple-picker/MultiplePickerOptions.js +4 -5
- package/lib/multiple-picker/index.css +1 -1
- package/lib/multiple-picker/index.d.ts +5 -5
- package/lib/nav-bar/NavBar.d.ts +5 -5
- package/lib/nav-bar/NavBar.js +2 -3
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.d.ts +5 -5
- package/lib/notice-bar/NoticeBar.d.ts +5 -5
- package/lib/notice-bar/NoticeBar.js +5 -6
- package/lib/notice-bar/index.d.ts +5 -5
- package/lib/notify/Notify.d.ts +5 -5
- package/lib/notify/Notify.js +1 -2
- package/lib/notify/index.d.ts +5 -5
- package/lib/number-keyboard/NumberKeyboard.d.ts +6 -6
- package/lib/number-keyboard/NumberKeyboard.js +6 -7
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +5 -5
- package/lib/number-keyboard/NumberKeyboardKey.js +2 -3
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +6 -6
- package/lib/overlay/Overlay.d.ts +4 -4
- package/lib/overlay/Overlay.js +2 -3
- package/lib/overlay/index.d.ts +4 -4
- package/lib/password-input/PasswordInput.d.ts +5 -5
- package/lib/password-input/PasswordInput.js +1 -2
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.d.ts +5 -5
- package/lib/picker/Picker.d.ts +5 -5
- package/lib/picker/Picker.js +18 -19
- package/lib/picker/PickerColumn.d.ts +5 -5
- package/lib/picker/PickerColumn.js +6 -7
- package/lib/picker/PickerOptions.d.ts +5 -5
- package/lib/picker/PickerOptions.js +5 -6
- package/lib/picker/PickerToolbar.d.ts +4 -4
- package/lib/picker/PickerToolbar.js +1 -2
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +5 -5
- package/lib/popover/Popover.d.ts +5 -5
- package/lib/popover/Popover.js +16 -17
- package/lib/popover/index.d.ts +5 -5
- package/lib/popup/Popup.d.ts +6 -6
- package/lib/popup/Popup.js +15 -16
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +6 -6
- package/lib/pull-refresh/PullRefresh.d.ts +5 -5
- package/lib/pull-refresh/PullRefresh.js +7 -8
- package/lib/pull-refresh/index.d.ts +5 -5
- package/lib/radio/Radio.d.ts +5 -5
- package/lib/radio/Radio.js +1 -2
- package/lib/radio/index.css +1 -1
- package/lib/radio/index.d.ts +5 -5
- package/lib/radio-group/RadioGroup.d.ts +5 -5
- package/lib/radio-group/RadioGroup.js +2 -3
- package/lib/radio-group/index.d.ts +5 -5
- package/lib/radio-picker/RadioPicker.d.ts +5 -5
- package/lib/radio-picker/RadioPicker.js +18 -19
- package/lib/radio-picker/RadioPickerColumn.d.ts +5 -5
- package/lib/radio-picker/RadioPickerColumn.js +7 -8
- package/lib/radio-picker/RadioPickerToolbar.d.ts +4 -4
- package/lib/radio-picker/RadioPickerToolbar.js +1 -2
- package/lib/radio-picker/index.css +1 -1
- package/lib/radio-picker/index.d.ts +5 -5
- package/lib/rate/Rate.d.ts +5 -5
- package/lib/rate/Rate.js +3 -4
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.d.ts +5 -5
- package/lib/row/Row.d.ts +4 -4
- package/lib/row/Row.js +3 -4
- package/lib/row/index.d.ts +4 -4
- package/lib/search/Search.d.ts +5 -5
- package/lib/search/Search.js +2 -3
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +5 -5
- package/lib/signature/Signature.d.ts +5 -5
- package/lib/signature/Signature.js +12 -13
- package/lib/signature/index.d.ts +5 -5
- package/lib/skeleton/Skeleton.d.ts +5 -5
- package/lib/skeleton/Skeleton.js +1 -2
- package/lib/skeleton/index.d.ts +5 -5
- package/lib/slider/Slider.d.ts +5 -5
- package/lib/slider/Slider.js +8 -9
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.d.ts +5 -5
- package/lib/step/Step.d.ts +3 -3
- package/lib/step/Step.js +2 -3
- package/lib/step/index.css +1 -1
- package/lib/step/index.d.ts +3 -3
- package/lib/stepper/Stepper.d.ts +5 -5
- package/lib/stepper/Stepper.js +11 -12
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +5 -5
- package/lib/steps/Steps.d.ts +5 -5
- package/lib/steps/Steps.js +1 -2
- package/lib/steps/index.d.ts +5 -5
- package/lib/sticky/Sticky.d.ts +5 -5
- package/lib/sticky/Sticky.js +7 -8
- package/lib/sticky/index.d.ts +5 -5
- package/lib/swipe/Swipe.d.ts +5 -5
- package/lib/swipe/Swipe.js +22 -23
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.d.ts +5 -5
- package/lib/swipe-cell/SwipeCell.d.ts +6 -6
- package/lib/swipe-cell/SwipeCell.js +7 -8
- package/lib/swipe-cell/index.css +1 -1
- package/lib/swipe-cell/index.d.ts +6 -6
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/SwipeItem.js +6 -7
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/switch/Switch.d.ts +5 -5
- package/lib/switch/Switch.js +1 -2
- package/lib/switch/index.d.ts +5 -5
- package/lib/tab/Tab.d.ts +7 -4
- package/lib/tab/Tab.js +6 -7
- package/lib/tab/index.d.ts +6 -4
- package/lib/tabbar/Tabbar.d.ts +5 -5
- package/lib/tabbar/Tabbar.js +2 -3
- package/lib/tabbar/index.d.ts +5 -5
- package/lib/tabbar-item/TabbarItem.d.ts +8 -5
- package/lib/tabbar-item/TabbarItem.js +3 -4
- package/lib/tabbar-item/index.css +1 -1
- package/lib/tabbar-item/index.d.ts +7 -5
- package/lib/table/Table.d.ts +5 -5
- package/lib/table/Table.js +8 -9
- package/lib/table/index.css +1 -1
- package/lib/table/index.d.ts +5 -5
- package/lib/tabs/Tabs.d.ts +5 -5
- package/lib/tabs/Tabs.js +20 -21
- package/lib/tabs/TabsContent.d.ts +5 -5
- package/lib/tabs/TabsContent.js +4 -5
- package/lib/tabs/TabsTitle.d.ts +4 -4
- package/lib/tabs/TabsTitle.js +6 -7
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +5 -5
- package/lib/tag/Tag.d.ts +5 -5
- package/lib/tag/Tag.js +2 -3
- package/lib/tag/index.d.ts +5 -5
- package/lib/text-ellipsis/TextEllipsis.d.ts +5 -5
- package/lib/text-ellipsis/TextEllipsis.js +8 -9
- package/lib/text-ellipsis/index.d.ts +5 -5
- package/lib/time-picker/Arrow.d.ts +2 -2
- package/lib/time-picker/Arrow.js +1 -2
- package/lib/time-picker/TimePicker.d.ts +5 -5
- package/lib/time-picker/TimePicker.js +12 -13
- package/lib/time-picker/TimePickerColumn.d.ts +5 -5
- package/lib/time-picker/TimePickerColumn.js +6 -7
- package/lib/time-picker/index.css +1 -1
- package/lib/time-picker/index.d.ts +5 -5
- package/lib/timeline/Timeline.d.ts +4 -4
- package/lib/timeline/Timeline.js +3 -4
- package/lib/timeline/index.d.ts +4 -4
- package/lib/toast/Toast.d.ts +5 -5
- package/lib/toast/Toast.js +5 -6
- package/lib/toast/function-call.js +3 -4
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.d.ts +5 -5
- package/lib/uploader/Uploader.d.ts +5 -5
- package/lib/uploader/Uploader.js +5 -5
- package/lib/uploader/UploaderPreviewItem.d.ts +5 -5
- package/lib/uploader/UploaderPreviewItem.js +1 -2
- package/lib/uploader/index.d.ts +5 -5
- package/lib/utils/dom.d.ts +1 -1
- package/lib/utils/mount-component.d.ts +1 -1
- package/lib/video/Video.d.ts +8 -5
- package/lib/video/Video.js +13 -11
- package/lib/video/index.css +1 -1
- package/lib/video/index.d.ts +7 -5
- package/lib/video/types.d.ts +1 -0
- package/lib/vue-sfc-shim.d.ts +6 -6
- package/lib/vue-tsx-shim.d.ts +23 -23
- package/lib/web-types.json +1 -1
- package/lib/zartui.cjs.js +24 -10
- package/lib/zartui.es.js +24 -10
- package/lib/zartui.js +37 -20
- package/lib/zartui.min.js +1 -1
- package/package.json +27 -27
package/es/picker/Picker.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ref, watch, computed, defineComponent, nextTick } from "vue";
|
|
1
|
+
import { ref, watch, computed, defineComponent, nextTick, createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
|
|
3
2
|
import { pick, extend, unitToPx, truthProp, HAPTICS_FEEDBACK, isSameValue, makeArrayProp, preventDefault, makeStringProp, makeNumericProp, makeNumberProp } from "../utils/index.mjs";
|
|
4
3
|
import { bem, name, isOptionExist, getColumnsType, findOptionByValue, assignDefaultFields, formatCascadeColumns, getFirstEnabledOption } from "./utils.mjs";
|
|
5
4
|
import { useChildren, useEventListener } from "@zartui/use";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { InjectionKey, PropType } from 'vue';
|
|
2
2
|
import type { PickerColumnProvide, PickerFieldNames, PickerOption } from './types';
|
|
3
3
|
export declare const PICKER_KEY: InjectionKey<PickerColumnProvide>;
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
value: (NumberConstructor | StringConstructor)[];
|
|
6
6
|
unit: {
|
|
7
7
|
type: PropType<string>;
|
|
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
29
|
type: (NumberConstructor | StringConstructor)[];
|
|
30
30
|
required: true;
|
|
31
31
|
};
|
|
32
|
-
}
|
|
32
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "clickOption")[], "change" | "clickOption", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
33
|
value: (NumberConstructor | StringConstructor)[];
|
|
34
34
|
unit: {
|
|
35
35
|
type: PropType<string>;
|
|
@@ -57,13 +57,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
type: (NumberConstructor | StringConstructor)[];
|
|
58
58
|
required: true;
|
|
59
59
|
};
|
|
60
|
-
}>> & {
|
|
60
|
+
}>> & Readonly<{
|
|
61
61
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
62
62
|
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
63
|
-
}
|
|
63
|
+
}>, {
|
|
64
64
|
readonly: boolean;
|
|
65
65
|
options: PickerOption[];
|
|
66
66
|
allowHtml: boolean;
|
|
67
67
|
unit: string;
|
|
68
|
-
}, {}>;
|
|
68
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
69
69
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineComponent, ref, watchEffect } from "vue";
|
|
1
|
+
import { defineComponent, ref, watchEffect, createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
|
|
3
2
|
import { clamp, createNamespace, makeArrayProp, makeRequiredProp, makeStringProp, numericProp, preventDefault } from "../utils/index.mjs";
|
|
4
3
|
import { findIndexOfEnabledOption, getElementTranslateY } from "./utils.mjs";
|
|
5
4
|
import { useEventListener, useParent } from "@zartui/use";
|
|
@@ -22,7 +22,7 @@ declare const pickerOptionsProps: {
|
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
export type PickerOptionsProps = ExtractPropTypes<typeof pickerOptionsProps>;
|
|
25
|
-
declare const _default: import("vue").DefineComponent<{
|
|
25
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
26
26
|
value: (NumberConstructor | StringConstructor)[];
|
|
27
27
|
fields: {
|
|
28
28
|
type: PropType<Required<PickerFieldNames>>;
|
|
@@ -42,7 +42,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
42
|
type: PropType<PickerOption[]>;
|
|
43
43
|
default: () => PickerOption[];
|
|
44
44
|
};
|
|
45
|
-
}
|
|
45
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "clickOption")[], "change" | "clickOption", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
46
46
|
value: (NumberConstructor | StringConstructor)[];
|
|
47
47
|
fields: {
|
|
48
48
|
type: PropType<Required<PickerFieldNames>>;
|
|
@@ -62,14 +62,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
62
|
type: PropType<PickerOption[]>;
|
|
63
63
|
default: () => PickerOption[];
|
|
64
64
|
};
|
|
65
|
-
}>> & {
|
|
65
|
+
}>> & Readonly<{
|
|
66
66
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
67
67
|
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
68
|
-
}
|
|
68
|
+
}>, {
|
|
69
69
|
readonly: boolean;
|
|
70
70
|
options: PickerOption[];
|
|
71
71
|
allowHtml: boolean;
|
|
72
72
|
itemHeight: number;
|
|
73
73
|
columnCounts: number;
|
|
74
|
-
}, {}>;
|
|
74
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
75
75
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
|
2
|
-
import { ref, defineComponent, reactive, watchEffect } from "vue";
|
|
1
|
+
import { ref, defineComponent, reactive, watchEffect, createVNode as _createVNode } from "vue";
|
|
3
2
|
import { createNamespace, isObject, makeArrayProp, makeNumberProp, makeRequiredProp, numericProp } from "../utils/index.mjs";
|
|
4
3
|
const [name, bem] = createNamespace("picker-options");
|
|
5
4
|
const pickerOptionsProps = {
|
|
@@ -5,14 +5,14 @@ export declare const pickerToolbarProps: {
|
|
|
5
5
|
export declare const pickerToolbarSlots: string[];
|
|
6
6
|
export type PickerToolbarPropKeys = Array<keyof typeof pickerToolbarProps>;
|
|
7
7
|
export declare const pickerToolbarPropKeys: PickerToolbarPropKeys;
|
|
8
|
-
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
9
|
cancelButtonText: StringConstructor;
|
|
10
10
|
confirmButtonText: StringConstructor;
|
|
11
|
-
}
|
|
11
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "confirm")[], "cancel" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
12
|
cancelButtonText: StringConstructor;
|
|
13
13
|
confirmButtonText: StringConstructor;
|
|
14
|
-
}>> & {
|
|
14
|
+
}>> & Readonly<{
|
|
15
15
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
16
16
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
}, {}, {}>;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
18
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
|
2
|
-
import { defineComponent } from "vue";
|
|
1
|
+
import { defineComponent, createVNode as _createVNode } from "vue";
|
|
3
2
|
import { bem, t } from "./utils.mjs";
|
|
4
3
|
import { createNamespace, HAPTICS_FEEDBACK } from "../utils/index.mjs";
|
|
5
4
|
import { Button } from "../button/index.mjs";
|
package/es/picker/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-picker-cancel-margin: 8px 4px 8px 16px;--zt-picker-confirm-margin: 8px 16px 8px 4px;--zt-picker-title-height: 44px;--zt-picker-title-border-radius: 16px 16px 0 0;--zt-picker-frame-background-color: var(--zt-gray-a06);--zt-picker-title-text-color: var(--zt-gray-a4);--zt-picker-background: var(--zt-background-popup);--zt-picker-toolbar-height: 60px;--zt-picker-title-background: var(--zt-background-popup);--zt-picker-option-padding: 0 var(--zt-padding-base);--zt-picker-option-text-color: var(--zt-text-color);--zt-picker-option-disabled-opacity: var(--zt-disabled-opacity);--zt-picker-option-disabled-background: var(--zt-gray-a04);--zt-picker-loading-icon-color: var(--zt-primary-color);--zt-picker-loading-mask-color: rgba(255, 255, 255, .9);--zt-picker-mask-color: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)), linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4));--zt-picker-warpper-padding: 12px 16px 4px 16px;--zt-picker-option-item-text-color: var(--zt-gray-a6);--zt-picker-option-item-padding: 0 4px 8px 0;--zt-picker-options-ellipsis-height: 36px;--zt-picker-options-ellipsis-border: 1px solid var(--zt-gray-a2);--zt-picker-option-item-disabled-opacity: var(--zt-disabled-opacity)}:root[zt-theme-size=large]{--zt-picker-options-ellipsis-height: 50px}.zt-theme-dark{--zt-picker-loading-mask-color: rgba(0, 0, 0, .6);--zt-picker-mask-color: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)), linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1))}.zt-picker{position:relative;background:var(--zt-picker-background);-webkit-user-select:none;user-select:none}.zt-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--zt-picker-toolbar-height)}.zt-picker__cancel,.zt-picker__confirm{width:50%}.zt-picker__cancel{background:var(--zt-button-default-background);margin:var(--zt-picker-cancel-margin)}.zt-picker__confirm{margin:var(--zt-picker-confirm-margin)}.zt-picker__title{display:flex;justify-content:center;align-items:center;width:100%;height:var(--zt-picker-title-height);border-radius:var(--zt-picker-title-border-radius);font-size:var(--zt-font-size-md);background:var(--zt-picker-title-background);color:var(--zt-picker-title-text-color)}.zt-picker__columns{position:relative;display:flex;cursor
|
|
1
|
+
:root{--zt-picker-cancel-margin: 8px 4px 8px 16px;--zt-picker-confirm-margin: 8px 16px 8px 4px;--zt-picker-title-height: 44px;--zt-picker-title-border-radius: 16px 16px 0 0;--zt-picker-frame-background-color: var(--zt-gray-a06);--zt-picker-title-text-color: var(--zt-gray-a4);--zt-picker-background: var(--zt-background-popup);--zt-picker-toolbar-height: 60px;--zt-picker-title-background: var(--zt-background-popup);--zt-picker-option-padding: 0 var(--zt-padding-base);--zt-picker-option-text-color: var(--zt-text-color);--zt-picker-option-disabled-opacity: var(--zt-disabled-opacity);--zt-picker-option-disabled-background: var(--zt-gray-a04);--zt-picker-loading-icon-color: var(--zt-primary-color);--zt-picker-loading-mask-color: rgba(255, 255, 255, .9);--zt-picker-mask-color: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)), linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4));--zt-picker-warpper-padding: 12px 16px 4px 16px;--zt-picker-option-item-text-color: var(--zt-gray-a6);--zt-picker-option-item-padding: 0 4px 8px 0;--zt-picker-options-ellipsis-height: 36px;--zt-picker-options-ellipsis-border: 1px solid var(--zt-gray-a2);--zt-picker-option-item-disabled-opacity: var(--zt-disabled-opacity)}:root[zt-theme-size=large]{--zt-picker-options-ellipsis-height: 50px}.zt-theme-dark{--zt-picker-loading-mask-color: rgba(0, 0, 0, .6);--zt-picker-mask-color: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)), linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1))}.zt-picker{position:relative;background:var(--zt-picker-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.zt-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--zt-picker-toolbar-height)}.zt-picker__cancel,.zt-picker__confirm{width:50%}.zt-picker__cancel{background:var(--zt-button-default-background);margin:var(--zt-picker-cancel-margin)}.zt-picker__confirm{margin:var(--zt-picker-confirm-margin)}.zt-picker__title{display:flex;justify-content:center;align-items:center;width:100%;height:var(--zt-picker-title-height);border-radius:var(--zt-picker-title-border-radius);font-size:var(--zt-font-size-md);background:var(--zt-picker-title-background);color:var(--zt-picker-title-text-color)}.zt-picker__columns{position:relative;display:flex;cursor:grab}.zt-picker__options{position:relative;display:flex;cursor:grab;overflow-y:scroll}.zt-picker__options:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:0;border-bottom:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-picker__options:before{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;left:0;border-top:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--zt-picker-loading-icon-color);background:var(--zt-picker-loading-mask-color)}.zt-picker__frame{position:absolute;top:50%;z-index:2;transform:translateY(-50%);pointer-events:none;width:100%;background:var(--zt-picker-frame-background-color)}.zt-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:var(--zt-picker-mask-color);background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.zt-picker-column{position:relative;flex:1;overflow:hidden;font-size:var(--zt-font-size-lg);background:var(--zt-picker-background)}.zt-picker-column__wrapper{transition-timing-function:cubic-bezier(.23,1,.68,1)}.zt-picker-column__item{display:flex;align-items:center;justify-content:center;padding:var(--zt-picker-option-padding);color:var(--zt-picker-option-text-color)}.zt-picker-column__item--disabled{cursor:not-allowed;opacity:var(--zt-picker-option-disabled-opacity)}.zt-picker-column__item--selected{font-weight:700}.zt-picker-column__unit{background:var(--zt-picker-title-background);position:absolute;display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--zt-picker-option-text-color);font-size:var(--zt-font-size-lg);width:100%;height:100%}.zt-picker-column__unit-text{margin:0 4px;font-size:var(--zt-font-size-md)}.zt-picker-options{flex:1;overflow-y:scroll;font-size:var(--zt-font-size-md);margin:0;outline:0 none;padding:0}.zt-picker-options__wrapper{display:flex;flex-wrap:wrap;background-color:var(--zt-picker-background);padding:var(--zt-picker-warpper-padding)}.zt-picker-options__item{color:var(--zt-picker-option-item-text-color);padding:var(--zt-picker-option-item-padding);box-sizing:border-box;text-align:center;font-size:var(--zt-font-size-md)}.zt-picker-options__item .zt-ellipsis{height:var(--zt-picker-options-ellipsis-height);line-height:var(--zt-picker-options-ellipsis-height);border-radius:calc(var(--zt-picker-options-ellipsis-height) / 2);background:var(--zt-gray-a04);padding:0 var(--zt-padding-md)}.zt-picker-options__item:active{opacity:var(--zt-active-opacity)}.zt-picker-options__item--disabled{cursor:not-allowed;color:var(--zt-gray-a2)}.zt-picker-options__item--disabled .zt-ellipsis{background:var(--zt-picker-option-disabled-background)!important}.zt-picker-options__item--last{padding-right:0}.zt-picker-options__item--selected{color:var(--zt-white)}.zt-picker-options__item--selected .zt-ellipsis{background:var(--zt-primary-color)}.zt-picker-options__item--disabled-selected{cursor:not-allowed;color:var(--zt-gray)!important}.zt-picker-options__item--disabled-selected .zt-ellipsis{background:var(--zt-picker-option-disabled-background)!important}
|
package/es/picker/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PickerProps } from './Picker';
|
|
2
|
-
export declare const Picker: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
2
|
+
export declare const Picker: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
loading: BooleanConstructor;
|
|
4
4
|
readonly: BooleanConstructor;
|
|
5
5
|
allowHtml: BooleanConstructor;
|
|
@@ -61,7 +61,7 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
|
|
|
61
61
|
type: NumberConstructor;
|
|
62
62
|
default: number;
|
|
63
63
|
};
|
|
64
|
-
}
|
|
64
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm" | "clickOption" | "update:showPicker")[], "update:modelValue" | "cancel" | "change" | "confirm" | "clickOption" | "update:showPicker", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
65
65
|
loading: BooleanConstructor;
|
|
66
66
|
readonly: BooleanConstructor;
|
|
67
67
|
allowHtml: BooleanConstructor;
|
|
@@ -123,14 +123,14 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
|
|
|
123
123
|
type: NumberConstructor;
|
|
124
124
|
default: number;
|
|
125
125
|
};
|
|
126
|
-
}>> & {
|
|
126
|
+
}>> & Readonly<{
|
|
127
127
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
128
128
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
129
129
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
130
130
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
131
131
|
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
132
132
|
"onUpdate:showPicker"?: ((...args: any[]) => any) | undefined;
|
|
133
|
-
}
|
|
133
|
+
}>, {
|
|
134
134
|
title: string;
|
|
135
135
|
modelValue: import("../utils").Numeric[];
|
|
136
136
|
readonly: boolean;
|
|
@@ -148,7 +148,7 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
|
|
|
148
148
|
optionHeight: string | number;
|
|
149
149
|
visibleOptionNum: string | number;
|
|
150
150
|
columnsUnit: string[];
|
|
151
|
-
}, {}>>;
|
|
151
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
152
152
|
export default Picker;
|
|
153
153
|
export { pickerProps } from './Picker';
|
|
154
154
|
export type { PickerProps };
|
package/es/popover/Popover.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export declare const popoverProps: {
|
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
export type PopoverProps = ExtractPropTypes<typeof popoverProps>;
|
|
56
|
-
declare const _default: import("vue").DefineComponent<{
|
|
56
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
57
57
|
show: BooleanConstructor;
|
|
58
58
|
theme: {
|
|
59
59
|
type: PropType<PopoverTheme>;
|
|
@@ -104,7 +104,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
104
|
type: BooleanConstructor;
|
|
105
105
|
default: boolean;
|
|
106
106
|
};
|
|
107
|
-
}
|
|
107
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "touchstart" | "update:show")[], "select" | "touchstart" | "update:show", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
108
108
|
show: BooleanConstructor;
|
|
109
109
|
theme: {
|
|
110
110
|
type: PropType<PopoverTheme>;
|
|
@@ -155,11 +155,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
155
155
|
type: BooleanConstructor;
|
|
156
156
|
default: boolean;
|
|
157
157
|
};
|
|
158
|
-
}>> & {
|
|
158
|
+
}>> & Readonly<{
|
|
159
159
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
160
160
|
onTouchstart?: ((...args: any[]) => any) | undefined;
|
|
161
161
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
162
|
-
}
|
|
162
|
+
}>, {
|
|
163
163
|
offset: [number, number];
|
|
164
164
|
theme: PopoverTheme;
|
|
165
165
|
overlay: boolean;
|
|
@@ -173,5 +173,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
173
173
|
showArrow: boolean;
|
|
174
174
|
placement: PopoverPlacement;
|
|
175
175
|
autoAdjustOverflow: boolean;
|
|
176
|
-
}, {}>;
|
|
176
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
177
177
|
export default _default;
|
package/es/popover/Popover.mjs
CHANGED
|
@@ -18,8 +18,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18
18
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
|
-
import {
|
|
22
|
-
import { ref, watch, nextTick, onMounted, watchEffect, onBeforeUnmount, defineComponent } from "vue";
|
|
21
|
+
import { ref, watch, nextTick, onMounted, watchEffect, onBeforeUnmount, defineComponent, createVNode as _createVNode, Fragment as _Fragment, mergeProps as _mergeProps } from "vue";
|
|
23
22
|
import { arrow, computePosition, flip, offset, autoUpdate, hide, shift, limitShift } from "@floating-ui/vue";
|
|
24
23
|
import { createPopper, offsetModifier } from "@zartui/popperjs";
|
|
25
24
|
import { pick, extend, inBrowser, truthProp, numericProp, unknownProp, BORDER_BOTTOM, makeArrayProp, makeStringProp, createNamespace } from "../utils/index.mjs";
|
package/es/popover/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Popover: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const Popover: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
show: BooleanConstructor;
|
|
3
3
|
theme: {
|
|
4
4
|
type: import("vue").PropType<import("./types").PopoverTheme>;
|
|
@@ -49,7 +49,7 @@ export declare const Popover: import("../utils").WithInstall<import("vue").Defin
|
|
|
49
49
|
type: BooleanConstructor;
|
|
50
50
|
default: boolean;
|
|
51
51
|
};
|
|
52
|
-
}
|
|
52
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "touchstart" | "update:show")[], "select" | "touchstart" | "update:show", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
53
|
show: BooleanConstructor;
|
|
54
54
|
theme: {
|
|
55
55
|
type: import("vue").PropType<import("./types").PopoverTheme>;
|
|
@@ -100,11 +100,11 @@ export declare const Popover: import("../utils").WithInstall<import("vue").Defin
|
|
|
100
100
|
type: BooleanConstructor;
|
|
101
101
|
default: boolean;
|
|
102
102
|
};
|
|
103
|
-
}>> & {
|
|
103
|
+
}>> & Readonly<{
|
|
104
104
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
105
105
|
onTouchstart?: ((...args: any[]) => any) | undefined;
|
|
106
106
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
107
|
-
}
|
|
107
|
+
}>, {
|
|
108
108
|
offset: [number, number];
|
|
109
109
|
theme: import("./types").PopoverTheme;
|
|
110
110
|
overlay: boolean;
|
|
@@ -118,7 +118,7 @@ export declare const Popover: import("../utils").WithInstall<import("vue").Defin
|
|
|
118
118
|
showArrow: boolean;
|
|
119
119
|
placement: import("./types").PopoverPlacement;
|
|
120
120
|
autoAdjustOverflow: boolean;
|
|
121
|
-
}, {}>>;
|
|
121
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
122
122
|
export default Popover;
|
|
123
123
|
export { popoverProps } from './Popover';
|
|
124
124
|
export type { PopoverProps } from './Popover';
|
package/es/popup/Popup.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ declare const popupProps: {
|
|
|
60
60
|
slideable: BooleanConstructor;
|
|
61
61
|
};
|
|
62
62
|
export type PopupProps = ExtractPropTypes<typeof popupProps>;
|
|
63
|
-
declare const _default: import("vue").DefineComponent<{
|
|
63
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
64
64
|
show: BooleanConstructor;
|
|
65
65
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
66
66
|
overlay: {
|
|
@@ -118,7 +118,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
118
|
default: string;
|
|
119
119
|
};
|
|
120
120
|
slideable: BooleanConstructor;
|
|
121
|
-
}
|
|
121
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "keydown" | "opened" | "closed" | "update:show" | "clickOverlay" | "clickCloseIcon")[], "open" | "close" | "keydown" | "opened" | "closed" | "update:show" | "clickOverlay" | "clickCloseIcon", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
122
122
|
show: BooleanConstructor;
|
|
123
123
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
124
124
|
overlay: {
|
|
@@ -176,16 +176,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
176
176
|
default: string;
|
|
177
177
|
};
|
|
178
178
|
slideable: BooleanConstructor;
|
|
179
|
-
}>> & {
|
|
179
|
+
}>> & Readonly<{
|
|
180
180
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
181
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
182
181
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
182
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
183
183
|
onOpened?: ((...args: any[]) => any) | undefined;
|
|
184
184
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
185
185
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
186
186
|
onClickOverlay?: ((...args: any[]) => any) | undefined;
|
|
187
187
|
onClickCloseIcon?: ((...args: any[]) => any) | undefined;
|
|
188
|
-
}
|
|
188
|
+
}>, {
|
|
189
189
|
position: PopupPosition;
|
|
190
190
|
overlay: boolean;
|
|
191
191
|
round: boolean;
|
|
@@ -204,5 +204,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
204
204
|
minDragHeight: string;
|
|
205
205
|
maxDragHeight: string;
|
|
206
206
|
slideable: boolean;
|
|
207
|
-
}, {}>;
|
|
207
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
208
208
|
export default _default;
|
package/es/popup/Popup.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ref, watch, provide, Teleport, nextTick, computed, onMounted, Transition, onActivated, onDeactivated, defineComponent } from "vue";
|
|
1
|
+
import { ref, watch, provide, Teleport, nextTick, computed, onMounted, Transition, onActivated, onDeactivated, defineComponent, mergeProps as _mergeProps, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, Fragment as _Fragment } from "vue";
|
|
3
2
|
import { popupSharedProps } from "./shared.mjs";
|
|
4
3
|
import { isDef, extend, makeStringProp, callInterceptor, createNamespace, HAPTICS_FEEDBACK, makeNumberProp, unitToPx } from "../utils/index.mjs";
|
|
5
4
|
import { useEventListener } from "@zartui/use";
|
package/es/popup/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-popup-background: var(--zt-background-popup);--zt-popup-transition: transform var(--zt-duration-base);--zt-popup-round-radius: 16px;--zt-popup-close-icon-color: var(--zt-gray-a6);--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;left:0;border-radius:16px 16px 0 0;background-color:var(--zt-popup-background)}.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:0;right:0;width:-
|
|
1
|
+
:root{--zt-popup-background: var(--zt-background-popup);--zt-popup-transition: transform var(--zt-duration-base);--zt-popup-round-radius: 16px;--zt-popup-close-icon-color: var(--zt-gray-a6);--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;left:0;border-radius:16px 16px 0 0;background-color:var(--zt-popup-background)}.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:0;right:0;width:-moz-fit-content;width:fit-content;max-width:calc(100vw - var(--zt-padding-md) * 2);margin:0 auto;transform:translateY(-50%)}.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-font-size-xxxl);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-font-size-xxxl)}.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)}
|
package/es/popup/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Popup: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const Popup: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
show: BooleanConstructor;
|
|
3
3
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
4
4
|
overlay: {
|
|
@@ -56,7 +56,7 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
|
|
|
56
56
|
default: string;
|
|
57
57
|
};
|
|
58
58
|
slideable: BooleanConstructor;
|
|
59
|
-
}
|
|
59
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "keydown" | "opened" | "closed" | "update:show" | "clickOverlay" | "clickCloseIcon")[], "open" | "close" | "keydown" | "opened" | "closed" | "update:show" | "clickOverlay" | "clickCloseIcon", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
60
|
show: BooleanConstructor;
|
|
61
61
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
62
62
|
overlay: {
|
|
@@ -114,16 +114,16 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
|
|
|
114
114
|
default: string;
|
|
115
115
|
};
|
|
116
116
|
slideable: BooleanConstructor;
|
|
117
|
-
}>> & {
|
|
117
|
+
}>> & Readonly<{
|
|
118
118
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
119
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
120
119
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
120
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
121
121
|
onOpened?: ((...args: any[]) => any) | undefined;
|
|
122
122
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
123
123
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
124
124
|
onClickOverlay?: ((...args: any[]) => any) | undefined;
|
|
125
125
|
onClickCloseIcon?: ((...args: any[]) => any) | undefined;
|
|
126
|
-
}
|
|
126
|
+
}>, {
|
|
127
127
|
position: import("./types").PopupPosition;
|
|
128
128
|
overlay: boolean;
|
|
129
129
|
round: boolean;
|
|
@@ -142,7 +142,7 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
|
|
|
142
142
|
minDragHeight: string;
|
|
143
143
|
maxDragHeight: string;
|
|
144
144
|
slideable: boolean;
|
|
145
|
-
}, {}>>;
|
|
145
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
146
146
|
export default Popup;
|
|
147
147
|
export type { PopupProps } from './Popup';
|
|
148
148
|
export type { PopupPosition, PopupInstance, PopupCloseIconPosition, PopupThemeVars, } from './types';
|
|
@@ -23,7 +23,7 @@ declare const pullRefreshProps: {
|
|
|
23
23
|
scrollElement: PropType<TargetContainer>;
|
|
24
24
|
};
|
|
25
25
|
export type PullRefreshProps = ExtractPropTypes<typeof pullRefreshProps>;
|
|
26
|
-
declare const _default: import("vue").DefineComponent<{
|
|
26
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
27
27
|
disabled: BooleanConstructor;
|
|
28
28
|
modelValue: BooleanConstructor;
|
|
29
29
|
headHeight: {
|
|
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
default: number;
|
|
45
45
|
};
|
|
46
46
|
scrollElement: PropType<TargetContainer>;
|
|
47
|
-
}
|
|
47
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "refresh")[], "update:modelValue" | "change" | "refresh", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
48
48
|
disabled: BooleanConstructor;
|
|
49
49
|
modelValue: BooleanConstructor;
|
|
50
50
|
headHeight: {
|
|
@@ -65,15 +65,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
65
|
default: number;
|
|
66
66
|
};
|
|
67
67
|
scrollElement: PropType<TargetContainer>;
|
|
68
|
-
}>> & {
|
|
68
|
+
}>> & Readonly<{
|
|
69
69
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
70
70
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
71
71
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
72
|
-
}
|
|
72
|
+
}>, {
|
|
73
73
|
disabled: boolean;
|
|
74
74
|
modelValue: boolean;
|
|
75
75
|
animationDuration: string | number;
|
|
76
76
|
headHeight: string | number;
|
|
77
77
|
successDuration: string | number;
|
|
78
|
-
}, {}>;
|
|
78
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
79
79
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
|
2
|
-
import { ref, watch, reactive, nextTick, defineComponent, computed } from "vue";
|
|
1
|
+
import { ref, watch, reactive, nextTick, defineComponent, computed, createVNode as _createVNode } from "vue";
|
|
3
2
|
import { numericProp, getScrollTop, preventDefault, createNamespace, makeNumericProp, getTargetDom } from "../utils/index.mjs";
|
|
4
3
|
import { useEventListener, useScrollParent } from "@zartui/use";
|
|
5
4
|
import { useTouch } from "../composables/use-touch.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const PullRefresh: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const PullRefresh: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
disabled: BooleanConstructor;
|
|
3
3
|
modelValue: BooleanConstructor;
|
|
4
4
|
headHeight: {
|
|
@@ -19,7 +19,7 @@ export declare const PullRefresh: import("../utils").WithInstall<import("vue").D
|
|
|
19
19
|
default: number;
|
|
20
20
|
};
|
|
21
21
|
scrollElement: import("vue").PropType<import("../utils").TargetContainer>;
|
|
22
|
-
}
|
|
22
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "refresh")[], "update:modelValue" | "change" | "refresh", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
disabled: BooleanConstructor;
|
|
24
24
|
modelValue: BooleanConstructor;
|
|
25
25
|
headHeight: {
|
|
@@ -40,17 +40,17 @@ export declare const PullRefresh: import("../utils").WithInstall<import("vue").D
|
|
|
40
40
|
default: number;
|
|
41
41
|
};
|
|
42
42
|
scrollElement: import("vue").PropType<import("../utils").TargetContainer>;
|
|
43
|
-
}>> & {
|
|
43
|
+
}>> & Readonly<{
|
|
44
44
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
45
45
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
46
46
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
47
|
-
}
|
|
47
|
+
}>, {
|
|
48
48
|
disabled: boolean;
|
|
49
49
|
modelValue: boolean;
|
|
50
50
|
animationDuration: string | number;
|
|
51
51
|
headHeight: string | number;
|
|
52
52
|
successDuration: string | number;
|
|
53
|
-
}, {}>>;
|
|
53
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
54
54
|
export default PullRefresh;
|
|
55
55
|
export type { PullRefreshProps } from './PullRefresh';
|
|
56
56
|
export type { PullRefreshThemeVars } from './types';
|
package/es/radio/Radio.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { ExtractPropTypes } from 'vue';
|
|
|
3
3
|
export type RadioShape = CheckerShape;
|
|
4
4
|
export type RadioLabelPosition = CheckerLabelPosition;
|
|
5
5
|
export type RadioProps = ExtractPropTypes<typeof checkerProps>;
|
|
6
|
-
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
7
7
|
name: import("vue").PropType<unknown>;
|
|
8
8
|
shape: {
|
|
9
9
|
type: import("vue").PropType<CheckerShape>;
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
checkedColor: StringConstructor;
|
|
16
16
|
labelPosition: import("vue").PropType<CheckerLabelPosition>;
|
|
17
17
|
labelDisabled: BooleanConstructor;
|
|
18
|
-
}
|
|
18
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
19
19
|
name: import("vue").PropType<unknown>;
|
|
20
20
|
shape: {
|
|
21
21
|
type: import("vue").PropType<CheckerShape>;
|
|
@@ -27,11 +27,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
checkedColor: StringConstructor;
|
|
28
28
|
labelPosition: import("vue").PropType<CheckerLabelPosition>;
|
|
29
29
|
labelDisabled: BooleanConstructor;
|
|
30
|
-
}>> & {
|
|
30
|
+
}>> & Readonly<{
|
|
31
31
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
}
|
|
32
|
+
}>, {
|
|
33
33
|
shape: CheckerShape;
|
|
34
34
|
disabled: boolean;
|
|
35
35
|
labelDisabled: boolean;
|
|
36
|
-
}, {}>;
|
|
36
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
37
37
|
export default _default;
|
package/es/radio/Radio.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineComponent } from "vue";
|
|
1
|
+
import { defineComponent, mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
|
|
3
2
|
import { pick, createNamespace } from "../utils/index.mjs";
|
|
4
3
|
import { RADIO_KEY } from "../radio-group/RadioGroup.mjs";
|
|
5
4
|
import { useParent } from "@zartui/use";
|
package/es/radio/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-radio-padding: 12px 0;--zt-radio-border-color: var(--zt-gray-a1);--zt-radio-duration: var(--zt-duration-fast);--zt-radio-round-box-shadow: -1px -1px 2px 0 #ffffff, 0 0 3px 0 var(--zt-gray-a2);--zt-radio-round-background: linear-gradient(135deg, #e6ebf0 0%, #ffffff 100%);--zt-radio-round-border: 1px solid var(--zt-gray-a1);--zt-radio-label-margin: 14px;--zt-radio-label-color: var(--zt-text-color);--zt-radio-checked-icon-color: var(--zt-primary-color);--zt-radio-checked-icon-shadow: inset 1px 1px 2px 0 rgba(0, 0, 0, .2);--zt-radio-checked-icon-border: 1px solid rgba(255, 255, 255, .5);--zt-radio-disabled-icon-shadow: -1px -1px 2px 0 #fff, 0 0 3px 0 var(--zt-gray-a2);--zt-radio-disabled-icon-border: 1px solid var(--zt-gray-a08);--zt-radio-disabled-label-color: var(--zt-gray-a2);--zt-radio-disabled-background: linear-gradient(134deg, #e1e6eb 0%, #e5edf5 100%);--zt-radio-disabled-checked-icon-opacity: var(--zt-disabled-opacity)}.zt-radio{position:relative;display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none;padding:var(--zt-radio-padding)}.zt-radio--disabled{cursor:not-allowed}.zt-radio--label-disabled{cursor:default}.zt-radio--horizontal{margin-right:var(--zt-padding-md)}.zt-radio__icon{font-size:var(--zt-font-size-lg);cursor:pointer;box-sizing:border-box}.zt-radio__icon .zt-icon{display:flex;justify-content:center;align-items:center;width:1em;height:1em;color:transparent;text-align:center;border:1px solid var(--zt-radio-border-color);transition-duration:var(--zt-radio-duration);transition-property:color,border-color,background-color}.zt-radio__icon--round .zt-icon{border-radius:100%;border:var(--zt-radio-round-border);box-shadow:var(--zt-radio-round-box-shadow);background:var(--zt-radio-round-background)}.zt-radio__icon--checked .zt-icon{color:var(--zt-white);background:var(--zt-radio-checked-icon-color);box-shadow:var(--zt-radio-checked-icon-shadow);border:var(--zt-radio-checked-icon-border)}.zt-radio__icon--disabled{cursor:not-allowed}.zt-radio__icon--disabled .zt-icon{border:var(--zt-radio-disabled-icon-border);box-shadow:var(--zt-radio-disabled-icon-shadow);background:var(--zt-radio-disabled-background)}.zt-radio__icon--disabled.zt-radio__icon--checked .zt-icon{opacity:var(--zt-radio-disabled-checked-icon-opacity);background:var(--zt-radio-checked-icon-color);color:var(--zt-white)}.zt-radio__dot{width:calc(var(--zt-font-size-lg) * .5);height:calc(var(--zt-font-size-lg) * .5);background:var(--zt-white);border-radius:50%}.zt-radio__label{margin-left:var(--zt-radio-label-margin);color:var(--zt-radio-label-color);font-size:var(--zt-font-size-md)}.zt-radio__label--left{margin:0 var(--zt-radio-label-margin) 0 0}.zt-radio__label--disabled{color:var(--zt-radio-disabled-label-color)}.zt-theme-dark{--zt-radio-round-box-shadow: none;--zt-radio-disabled-icon-shadow: none;--zt-radio-round-background: linear-gradient(179deg, #19232d 0%, rgba(255, 255, 255, .2) 100%);--zt-radio-round-border: 1px solid var(--zt-gray);--zt-radio-disabled-background: linear-gradient(135deg, #0e1824 0%, #203043 100%)}
|
|
1
|
+
:root{--zt-radio-padding: 12px 0;--zt-radio-border-color: var(--zt-gray-a1);--zt-radio-duration: var(--zt-duration-fast);--zt-radio-round-box-shadow: -1px -1px 2px 0 #ffffff, 0 0 3px 0 var(--zt-gray-a2);--zt-radio-round-background: linear-gradient(135deg, #e6ebf0 0%, #ffffff 100%);--zt-radio-round-border: 1px solid var(--zt-gray-a1);--zt-radio-label-margin: 14px;--zt-radio-label-color: var(--zt-text-color);--zt-radio-checked-icon-color: var(--zt-primary-color);--zt-radio-checked-icon-shadow: inset 1px 1px 2px 0 rgba(0, 0, 0, .2);--zt-radio-checked-icon-border: 1px solid rgba(255, 255, 255, .5);--zt-radio-disabled-icon-shadow: -1px -1px 2px 0 #fff, 0 0 3px 0 var(--zt-gray-a2);--zt-radio-disabled-icon-border: 1px solid var(--zt-gray-a08);--zt-radio-disabled-label-color: var(--zt-gray-a2);--zt-radio-disabled-background: linear-gradient(134deg, #e1e6eb 0%, #e5edf5 100%);--zt-radio-disabled-checked-icon-opacity: var(--zt-disabled-opacity)}.zt-radio{position:relative;display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:var(--zt-radio-padding)}.zt-radio--disabled{cursor:not-allowed}.zt-radio--label-disabled{cursor:default}.zt-radio--horizontal{margin-right:var(--zt-padding-md)}.zt-radio__icon{font-size:var(--zt-font-size-lg);cursor:pointer;box-sizing:border-box}.zt-radio__icon .zt-icon{display:flex;justify-content:center;align-items:center;width:1em;height:1em;color:transparent;text-align:center;border:1px solid var(--zt-radio-border-color);transition-duration:var(--zt-radio-duration);transition-property:color,border-color,background-color}.zt-radio__icon--round .zt-icon{border-radius:100%;border:var(--zt-radio-round-border);box-shadow:var(--zt-radio-round-box-shadow);background:var(--zt-radio-round-background)}.zt-radio__icon--checked .zt-icon{color:var(--zt-white);background:var(--zt-radio-checked-icon-color);box-shadow:var(--zt-radio-checked-icon-shadow);border:var(--zt-radio-checked-icon-border)}.zt-radio__icon--disabled{cursor:not-allowed}.zt-radio__icon--disabled .zt-icon{border:var(--zt-radio-disabled-icon-border);box-shadow:var(--zt-radio-disabled-icon-shadow);background:var(--zt-radio-disabled-background)}.zt-radio__icon--disabled.zt-radio__icon--checked .zt-icon{opacity:var(--zt-radio-disabled-checked-icon-opacity);background:var(--zt-radio-checked-icon-color);color:var(--zt-white)}.zt-radio__dot{width:calc(var(--zt-font-size-lg) * .5);height:calc(var(--zt-font-size-lg) * .5);background:var(--zt-white);border-radius:50%}.zt-radio__label{margin-left:var(--zt-radio-label-margin);color:var(--zt-radio-label-color);font-size:var(--zt-font-size-md)}.zt-radio__label--left{margin:0 var(--zt-radio-label-margin) 0 0}.zt-radio__label--disabled{color:var(--zt-radio-disabled-label-color)}.zt-theme-dark{--zt-radio-round-box-shadow: none;--zt-radio-disabled-icon-shadow: none;--zt-radio-round-background: linear-gradient(179deg, #19232d 0%, rgba(255, 255, 255, .2) 100%);--zt-radio-round-border: 1px solid var(--zt-gray);--zt-radio-disabled-background: linear-gradient(135deg, #0e1824 0%, #203043 100%)}
|
package/es/radio/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Radio: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const Radio: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
name: import("vue").PropType<unknown>;
|
|
3
3
|
shape: {
|
|
4
4
|
type: import("vue").PropType<import("../checkbox/Checker").CheckerShape>;
|
|
@@ -10,7 +10,7 @@ export declare const Radio: import("../utils").WithInstall<import("vue").DefineC
|
|
|
10
10
|
checkedColor: StringConstructor;
|
|
11
11
|
labelPosition: import("vue").PropType<import("../checkbox/Checker").CheckerLabelPosition>;
|
|
12
12
|
labelDisabled: BooleanConstructor;
|
|
13
|
-
}
|
|
13
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
14
|
name: import("vue").PropType<unknown>;
|
|
15
15
|
shape: {
|
|
16
16
|
type: import("vue").PropType<import("../checkbox/Checker").CheckerShape>;
|
|
@@ -22,13 +22,13 @@ export declare const Radio: import("../utils").WithInstall<import("vue").DefineC
|
|
|
22
22
|
checkedColor: StringConstructor;
|
|
23
23
|
labelPosition: import("vue").PropType<import("../checkbox/Checker").CheckerLabelPosition>;
|
|
24
24
|
labelDisabled: BooleanConstructor;
|
|
25
|
-
}>> & {
|
|
25
|
+
}>> & Readonly<{
|
|
26
26
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
27
|
-
}
|
|
27
|
+
}>, {
|
|
28
28
|
shape: import("../checkbox/Checker").CheckerShape;
|
|
29
29
|
disabled: boolean;
|
|
30
30
|
labelDisabled: boolean;
|
|
31
|
-
}, {}>>;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
32
32
|
export default Radio;
|
|
33
33
|
export type { RadioProps, RadioShape, RadioLabelPosition } from './Radio';
|
|
34
34
|
export type { RadioThemeVars } from './types';
|
|
@@ -17,7 +17,7 @@ export type RadioGroupProvide = {
|
|
|
17
17
|
updateValue: (value: unknown) => void;
|
|
18
18
|
};
|
|
19
19
|
export declare const RADIO_KEY: InjectionKey<RadioGroupProvide>;
|
|
20
|
-
declare const _default: import("vue").DefineComponent<{
|
|
20
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
21
21
|
disabled: BooleanConstructor;
|
|
22
22
|
iconSize: (NumberConstructor | StringConstructor)[];
|
|
23
23
|
direction: {
|
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
};
|
|
27
27
|
modelValue: import("vue").PropType<unknown>;
|
|
28
28
|
checkedColor: StringConstructor;
|
|
29
|
-
}
|
|
29
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
30
30
|
disabled: BooleanConstructor;
|
|
31
31
|
iconSize: (NumberConstructor | StringConstructor)[];
|
|
32
32
|
direction: {
|
|
@@ -35,11 +35,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
};
|
|
36
36
|
modelValue: import("vue").PropType<unknown>;
|
|
37
37
|
checkedColor: StringConstructor;
|
|
38
|
-
}>> & {
|
|
38
|
+
}>> & Readonly<{
|
|
39
39
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
40
40
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
41
|
-
}
|
|
41
|
+
}>, {
|
|
42
42
|
disabled: boolean;
|
|
43
43
|
direction: CheckerDirection;
|
|
44
|
-
}, {}>;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
45
|
export default _default;
|