zartui 3.1.23-beta.2 → 3.1.23-beta.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/README.md +4 -0
- 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/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 +5 -4
- 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 +1 -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/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/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 +4 -3
- 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 +4 -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/web-types.json +1 -1
- package/lib/zartui.cjs.js +21 -9
- package/lib/zartui.es.js +21 -9
- package/lib/zartui.js +34 -19
- package/lib/zartui.min.js +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RadioPickerProps } from './RadioPicker';
|
|
2
|
-
export declare const RadioPicker: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
2
|
+
export declare const RadioPicker: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
loading: BooleanConstructor;
|
|
4
4
|
readonly: BooleanConstructor;
|
|
5
5
|
allowHtml: BooleanConstructor;
|
|
@@ -50,7 +50,7 @@ export declare const RadioPicker: import("../utils").WithInstall<import("vue").D
|
|
|
50
50
|
type: import("vue").PropType<string>;
|
|
51
51
|
default: string;
|
|
52
52
|
};
|
|
53
|
-
}
|
|
53
|
+
}>, () => 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<{
|
|
54
54
|
loading: BooleanConstructor;
|
|
55
55
|
readonly: BooleanConstructor;
|
|
56
56
|
allowHtml: BooleanConstructor;
|
|
@@ -101,14 +101,14 @@ export declare const RadioPicker: import("../utils").WithInstall<import("vue").D
|
|
|
101
101
|
type: import("vue").PropType<string>;
|
|
102
102
|
default: string;
|
|
103
103
|
};
|
|
104
|
-
}>> & {
|
|
104
|
+
}>> & Readonly<{
|
|
105
105
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
106
106
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
107
107
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
108
108
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
109
109
|
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
110
110
|
"onUpdate:showPicker"?: ((...args: any[]) => any) | undefined;
|
|
111
|
-
}
|
|
111
|
+
}>, {
|
|
112
112
|
title: string;
|
|
113
113
|
modelValue: import("../utils").Numeric[];
|
|
114
114
|
readonly: boolean;
|
|
@@ -124,7 +124,7 @@ export declare const RadioPicker: import("../utils").WithInstall<import("vue").D
|
|
|
124
124
|
searchable: boolean;
|
|
125
125
|
autoSearch: boolean;
|
|
126
126
|
searchPlaceholder: string;
|
|
127
|
-
}, {}>>;
|
|
127
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
128
128
|
export default RadioPicker;
|
|
129
129
|
export { radioPickerProps } from './RadioPicker';
|
|
130
130
|
export type { PickerCancelEventParams as RadioPickerCancelEventParams, PickerChangeEventParams as RadioPickerChangeEventParams, PickerColumn as RadioPickerColumn, PickerConfirmEventParams as RadioPickerConfirmEventParams, PickerFieldNames as RadioPickerFieldNames, RadioPickerInstance, RadioPickerOption, PickerToolbarPosition as RadioPickerToolbarPosition, RadioPickerThemeVars, } from './types';
|
package/es/rate/Rate.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ declare const rateProps: {
|
|
|
31
31
|
disabledColor: StringConstructor;
|
|
32
32
|
};
|
|
33
33
|
export type RateProps = ExtractPropTypes<typeof rateProps>;
|
|
34
|
-
declare const _default: import("vue").DefineComponent<{
|
|
34
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
35
35
|
size: (NumberConstructor | StringConstructor)[];
|
|
36
36
|
icon: {
|
|
37
37
|
type: import("vue").PropType<string>;
|
|
@@ -61,7 +61,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
61
|
default: number;
|
|
62
62
|
};
|
|
63
63
|
disabledColor: StringConstructor;
|
|
64
|
-
}
|
|
64
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
65
65
|
size: (NumberConstructor | StringConstructor)[];
|
|
66
66
|
icon: {
|
|
67
67
|
type: import("vue").PropType<string>;
|
|
@@ -91,10 +91,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
91
|
default: number;
|
|
92
92
|
};
|
|
93
93
|
disabledColor: StringConstructor;
|
|
94
|
-
}>> & {
|
|
94
|
+
}>> & Readonly<{
|
|
95
95
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
96
96
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
97
|
-
}
|
|
97
|
+
}>, {
|
|
98
98
|
disabled: boolean;
|
|
99
99
|
icon: string;
|
|
100
100
|
modelValue: number;
|
|
@@ -103,5 +103,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
103
103
|
count: string | number;
|
|
104
104
|
voidIcon: string;
|
|
105
105
|
allowHalf: boolean;
|
|
106
|
-
}, {}>;
|
|
106
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
107
107
|
export default _default;
|
package/es/rate/Rate.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
|
2
|
-
import { computed, defineComponent, ref } from "vue";
|
|
1
|
+
import { computed, defineComponent, ref, createVNode as _createVNode } from "vue";
|
|
3
2
|
import { addUnit, truthProp, numericProp, preventDefault, makeStringProp, makeNumberProp, makeNumericProp, createNamespace } from "../utils/index.mjs";
|
|
4
3
|
import { useRect, useCustomFieldValue } from "@zartui/use";
|
|
5
4
|
import { useRefs } from "../composables/use-refs.mjs";
|
package/es/rate/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-rate-icon-gutter: var(--zt-padding-base);--zt-rate-icon-void-color: rgba(0, 0, 0, .2);--zt-rate-icon-full-color: var(--zt-yellow);--zt-rate-icon-disabled-color: var(--zt-gray-5)}.zt-rate{cursor:pointer;-webkit-user-select:none;user-select:none;flex-wrap:wrap;display:inline-flex;align-items:center}.zt-rate__item{position:relative}.zt-rate__item:not(:last-child){padding-right:var(--zt-rate-icon-gutter)}.zt-rate__icon{display:block;width:1em;color:var(--zt-rate-icon-void-color);font-size:var(--zt-font-size-xxl)}.zt-rate__icon--half{position:absolute;top:0;left:0;overflow:hidden}.zt-rate__icon--full{color:var(--zt-rate-icon-full-color)}.zt-rate__icon--disabled{color:var(--zt-rate-icon-disabled-color)}.zt-rate--disabled{cursor:not-allowed}.zt-rate--readonly{cursor:default}.zt-theme-dark{--zt-rate-icon-void-color: rgba(255, 255, 255, .2)}
|
|
1
|
+
:root{--zt-rate-icon-gutter: var(--zt-padding-base);--zt-rate-icon-void-color: rgba(0, 0, 0, .2);--zt-rate-icon-full-color: var(--zt-yellow);--zt-rate-icon-disabled-color: var(--zt-gray-5)}.zt-rate{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-wrap:wrap;display:inline-flex;align-items:center}.zt-rate__item{position:relative}.zt-rate__item:not(:last-child){padding-right:var(--zt-rate-icon-gutter)}.zt-rate__icon{display:block;width:1em;color:var(--zt-rate-icon-void-color);font-size:var(--zt-font-size-xxl)}.zt-rate__icon--half{position:absolute;top:0;left:0;overflow:hidden}.zt-rate__icon--full{color:var(--zt-rate-icon-full-color)}.zt-rate__icon--disabled{color:var(--zt-rate-icon-disabled-color)}.zt-rate--disabled{cursor:not-allowed}.zt-rate--readonly{cursor:default}.zt-theme-dark{--zt-rate-icon-void-color: rgba(255, 255, 255, .2)}
|
package/es/rate/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Rate: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const Rate: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
size: (NumberConstructor | StringConstructor)[];
|
|
3
3
|
icon: {
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
@@ -28,7 +28,7 @@ export declare const Rate: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
28
28
|
default: number;
|
|
29
29
|
};
|
|
30
30
|
disabledColor: StringConstructor;
|
|
31
|
-
}
|
|
31
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
32
|
size: (NumberConstructor | StringConstructor)[];
|
|
33
33
|
icon: {
|
|
34
34
|
type: import("vue").PropType<string>;
|
|
@@ -58,10 +58,10 @@ export declare const Rate: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
58
58
|
default: number;
|
|
59
59
|
};
|
|
60
60
|
disabledColor: StringConstructor;
|
|
61
|
-
}>> & {
|
|
61
|
+
}>> & Readonly<{
|
|
62
62
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
}
|
|
64
|
+
}>, {
|
|
65
65
|
disabled: boolean;
|
|
66
66
|
icon: string;
|
|
67
67
|
modelValue: number;
|
|
@@ -70,7 +70,7 @@ export declare const Rate: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
70
70
|
count: string | number;
|
|
71
71
|
voidIcon: string;
|
|
72
72
|
allowHalf: boolean;
|
|
73
|
-
}, {}>>;
|
|
73
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
74
74
|
export default Rate;
|
|
75
75
|
export type { RateProps } from './Rate';
|
|
76
76
|
export type { RateThemeVars } from './types';
|
package/es/row/Row.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ declare const rowProps: {
|
|
|
26
26
|
justify: PropType<RowJustify>;
|
|
27
27
|
};
|
|
28
28
|
export type RowProps = ExtractPropTypes<typeof rowProps>;
|
|
29
|
-
declare const _default: import("vue").DefineComponent<{
|
|
29
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
30
30
|
tag: {
|
|
31
31
|
type: PropType<keyof HTMLElementTagNameMap>;
|
|
32
32
|
default: keyof HTMLElementTagNameMap;
|
|
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
41
|
default: number;
|
|
42
42
|
};
|
|
43
43
|
justify: PropType<RowJustify>;
|
|
44
|
-
}
|
|
44
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
45
45
|
tag: {
|
|
46
46
|
type: PropType<keyof HTMLElementTagNameMap>;
|
|
47
47
|
default: keyof HTMLElementTagNameMap;
|
|
@@ -56,9 +56,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
56
|
default: number;
|
|
57
57
|
};
|
|
58
58
|
justify: PropType<RowJustify>;
|
|
59
|
-
}
|
|
59
|
+
}>> & Readonly<{}>, {
|
|
60
60
|
tag: keyof HTMLElementTagNameMap;
|
|
61
61
|
wrap: boolean;
|
|
62
62
|
gutter: string | number;
|
|
63
|
-
}, {}>;
|
|
63
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
64
64
|
export default _default;
|
package/es/row/Row.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
|
2
|
-
import { computed, defineComponent } from "vue";
|
|
1
|
+
import { computed, defineComponent, createVNode as _createVNode } from "vue";
|
|
3
2
|
import { truthProp, makeStringProp, makeNumericProp, createNamespace } from "../utils/index.mjs";
|
|
4
3
|
import { useChildren } from "@zartui/use";
|
|
5
4
|
const [name, bem] = createNamespace("row");
|
package/es/row/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Row: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const Row: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
tag: {
|
|
3
3
|
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
|
4
4
|
default: keyof HTMLElementTagNameMap;
|
|
@@ -13,7 +13,7 @@ export declare const Row: import("../utils").WithInstall<import("vue").DefineCom
|
|
|
13
13
|
default: number;
|
|
14
14
|
};
|
|
15
15
|
justify: import("vue").PropType<import("./Row").RowJustify>;
|
|
16
|
-
}
|
|
16
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
tag: {
|
|
18
18
|
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
|
19
19
|
default: keyof HTMLElementTagNameMap;
|
|
@@ -28,11 +28,11 @@ export declare const Row: import("../utils").WithInstall<import("vue").DefineCom
|
|
|
28
28
|
default: number;
|
|
29
29
|
};
|
|
30
30
|
justify: import("vue").PropType<import("./Row").RowJustify>;
|
|
31
|
-
}
|
|
31
|
+
}>> & Readonly<{}>, {
|
|
32
32
|
tag: keyof HTMLElementTagNameMap;
|
|
33
33
|
wrap: boolean;
|
|
34
34
|
gutter: string | number;
|
|
35
|
-
}, {}>>;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
36
36
|
export default Row;
|
|
37
37
|
export type { RowProps, RowAlign, RowJustify } from './Row';
|
|
38
38
|
declare module 'vue' {
|
package/es/search/Search.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ export declare const searchProps: {
|
|
|
65
65
|
showAction: BooleanConstructor;
|
|
66
66
|
};
|
|
67
67
|
export type SearchProps = ExtractPropTypes<typeof searchProps>;
|
|
68
|
-
declare const _default: import("vue").DefineComponent<{
|
|
68
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
69
69
|
id: StringConstructor;
|
|
70
70
|
name: StringConstructor;
|
|
71
71
|
titleIcon: StringConstructor;
|
|
@@ -128,7 +128,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
128
128
|
inputBackground: StringConstructor;
|
|
129
129
|
actionText: StringConstructor;
|
|
130
130
|
showAction: BooleanConstructor;
|
|
131
|
-
}
|
|
131
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "clear" | "focus" | "blur" | "clickInput" | "clickRightIcon" | "update:modelValue" | "cancel")[], "search" | "clear" | "focus" | "blur" | "clickInput" | "clickRightIcon" | "update:modelValue" | "cancel", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
132
132
|
id: StringConstructor;
|
|
133
133
|
name: StringConstructor;
|
|
134
134
|
titleIcon: StringConstructor;
|
|
@@ -191,7 +191,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
191
191
|
inputBackground: StringConstructor;
|
|
192
192
|
actionText: StringConstructor;
|
|
193
193
|
showAction: BooleanConstructor;
|
|
194
|
-
}>> & {
|
|
194
|
+
}>> & Readonly<{
|
|
195
195
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
196
196
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
197
197
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
@@ -200,7 +200,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
200
200
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
201
201
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
202
202
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
203
|
-
}
|
|
203
|
+
}>, {
|
|
204
204
|
shape: SearchShape;
|
|
205
205
|
autofocus: boolean;
|
|
206
206
|
disabled: boolean;
|
|
@@ -213,5 +213,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
213
213
|
error: boolean;
|
|
214
214
|
readonly: boolean;
|
|
215
215
|
showAction: boolean;
|
|
216
|
-
}, {}>;
|
|
216
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
217
217
|
export default _default;
|
package/es/search/Search.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ref, defineComponent } from "vue";
|
|
1
|
+
import { ref, defineComponent, createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
|
|
3
2
|
import { pick, extend, truthProp, preventDefault, makeStringProp, createNamespace } from "../utils/index.mjs";
|
|
4
3
|
import { fieldSharedProps } from "../field/Field.mjs";
|
|
5
4
|
import { useId } from "../composables/use-id.mjs";
|
package/es/search/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-search-padding: 4px var(--zt-padding-md);--zt-search-background: transparent;--zt-search-content-background: var(--zt-gray-a04);--zt-search-label-padding: 8px 0 8px 12px;--zt-search-label-color: var(--zt-text-color);--zt-search-action-padding: 0 var(--zt-padding-md);--zt-search-action-text-color: var(--zt-primary-color);--zt-search-content-box-shadow: inset 4px 4px 8px 0 var(--zt-gray-a1);--zt-search-round-border: none;--zt-search-placeholder: var(--zt-gray-a2)}.zt-search{display:flex;align-items:center;box-sizing:border-box;padding:var(--zt-search-padding);background-color:var(--zt-search-background)}.zt-search__content{display:flex;flex:1;background-color:var(--zt-search-content-background);border-radius:var(--zt-radius-sm);box-shadow:var(--zt-search-content-box-shadow);padding-left:var(--zt-padding-sm)}.zt-search__content--round{border-radius:var(--zt-radius-max);border:var(--zt-search-round-border)}.zt-search__label{padding:var(--zt-search-label-padding);color:var(--zt-search-label-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md)}.zt-search__field{width:100%}.zt-search .zt-cell--horizontal{background:transparent;padding:8px 16px 8px 0}.zt-search--show-action{padding-right:0}.zt-search input{caret-color:var(--zt-primary-color)}.zt-search input::-webkit-search-decoration,.zt-search input::-webkit-search-cancel-button,.zt-search input::-webkit-search-results-button,.zt-search input::-webkit-search-results-decoration{display:none}.zt-search input::-
|
|
1
|
+
:root{--zt-search-padding: 4px var(--zt-padding-md);--zt-search-background: transparent;--zt-search-content-background: var(--zt-gray-a04);--zt-search-label-padding: 8px 0 8px 12px;--zt-search-label-color: var(--zt-text-color);--zt-search-action-padding: 0 var(--zt-padding-md);--zt-search-action-text-color: var(--zt-primary-color);--zt-search-content-box-shadow: inset 4px 4px 8px 0 var(--zt-gray-a1);--zt-search-round-border: none;--zt-search-placeholder: var(--zt-gray-a2)}.zt-search{display:flex;align-items:center;box-sizing:border-box;padding:var(--zt-search-padding);background-color:var(--zt-search-background)}.zt-search__content{display:flex;flex:1;background-color:var(--zt-search-content-background);border-radius:var(--zt-radius-sm);box-shadow:var(--zt-search-content-box-shadow);padding-left:var(--zt-padding-sm)}.zt-search__content--round{border-radius:var(--zt-radius-max);border:var(--zt-search-round-border)}.zt-search__label{padding:var(--zt-search-label-padding);color:var(--zt-search-label-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md)}.zt-search__field{width:100%}.zt-search .zt-cell--horizontal{background:transparent;padding:8px 16px 8px 0}.zt-search--show-action{padding-right:0}.zt-search input{caret-color:var(--zt-primary-color)}.zt-search input::-webkit-search-decoration,.zt-search input::-webkit-search-cancel-button,.zt-search input::-webkit-search-results-button,.zt-search input::-webkit-search-results-decoration{display:none}.zt-search input::-moz-placeholder{color:var(--zt-search-placeholder)}.zt-search input::placeholder{color:var(--zt-search-placeholder)}.zt-search__action{padding:var(--zt-search-action-padding);color:var(--zt-search-action-text-color);font-size:var(--zt-font-size-md);font-weight:400;height:36px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;justify-content:center;align-items:center}.zt-search__action:active{background-color:rgba(0,0,0,.04)}.zt-theme-dark{--zt-search-content-background: var(--zt-background-popup);--zt-search-content-box-shadow: inset 4px 4px 8px 0 var(--zt-background);--zt-search-round-border: 1px solid rgba(15, 155, 255, .2)}
|
package/es/search/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchProps } from './Search';
|
|
2
|
-
export declare const Search: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
2
|
+
export declare const Search: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
id: StringConstructor;
|
|
4
4
|
name: StringConstructor;
|
|
5
5
|
titleIcon: StringConstructor;
|
|
@@ -62,7 +62,7 @@ export declare const Search: import("../utils").WithInstall<import("vue").Define
|
|
|
62
62
|
inputBackground: StringConstructor;
|
|
63
63
|
actionText: StringConstructor;
|
|
64
64
|
showAction: BooleanConstructor;
|
|
65
|
-
}
|
|
65
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "clear" | "focus" | "blur" | "clickInput" | "clickRightIcon" | "update:modelValue" | "cancel")[], "search" | "clear" | "focus" | "blur" | "clickInput" | "clickRightIcon" | "update:modelValue" | "cancel", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
66
66
|
id: StringConstructor;
|
|
67
67
|
name: StringConstructor;
|
|
68
68
|
titleIcon: StringConstructor;
|
|
@@ -125,7 +125,7 @@ export declare const Search: import("../utils").WithInstall<import("vue").Define
|
|
|
125
125
|
inputBackground: StringConstructor;
|
|
126
126
|
actionText: StringConstructor;
|
|
127
127
|
showAction: BooleanConstructor;
|
|
128
|
-
}>> & {
|
|
128
|
+
}>> & Readonly<{
|
|
129
129
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
130
130
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
131
131
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
@@ -134,7 +134,7 @@ export declare const Search: import("../utils").WithInstall<import("vue").Define
|
|
|
134
134
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
135
135
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
136
136
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
137
|
-
}
|
|
137
|
+
}>, {
|
|
138
138
|
shape: import("./types").SearchShape;
|
|
139
139
|
autofocus: boolean;
|
|
140
140
|
disabled: boolean;
|
|
@@ -147,7 +147,7 @@ export declare const Search: import("../utils").WithInstall<import("vue").Define
|
|
|
147
147
|
error: boolean;
|
|
148
148
|
readonly: boolean;
|
|
149
149
|
showAction: boolean;
|
|
150
|
-
}, {}>>;
|
|
150
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
151
151
|
export default Search;
|
|
152
152
|
export { searchProps } from './Search';
|
|
153
153
|
export type { SearchProps };
|
|
@@ -32,7 +32,7 @@ export declare const signatureProps: {
|
|
|
32
32
|
allowPortrait: BooleanConstructor;
|
|
33
33
|
};
|
|
34
34
|
export type SignatureProps = ExtractPropTypes<typeof signatureProps>;
|
|
35
|
-
declare const _default: import("vue").DefineComponent<{
|
|
35
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
36
36
|
customClass: {
|
|
37
37
|
type: import("vue").PropType<string>;
|
|
38
38
|
default: string;
|
|
@@ -62,7 +62,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
62
|
default: string;
|
|
63
63
|
};
|
|
64
64
|
allowPortrait: BooleanConstructor;
|
|
65
|
-
}
|
|
65
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "cancel" | "confirm")[], "clear" | "cancel" | "confirm", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
66
66
|
customClass: {
|
|
67
67
|
type: import("vue").PropType<string>;
|
|
68
68
|
default: string;
|
|
@@ -92,11 +92,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
92
92
|
default: string;
|
|
93
93
|
};
|
|
94
94
|
allowPortrait: BooleanConstructor;
|
|
95
|
-
}>> & {
|
|
95
|
+
}>> & Readonly<{
|
|
96
96
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
97
97
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
98
98
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
99
|
-
}
|
|
99
|
+
}>, {
|
|
100
100
|
lineWidth: string | number;
|
|
101
101
|
customClass: string;
|
|
102
102
|
strokeStyle: string;
|
|
@@ -105,5 +105,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
105
105
|
resultTypes: SignatureResultType[];
|
|
106
106
|
unSupportTpl: string;
|
|
107
107
|
allowPortrait: boolean;
|
|
108
|
-
}, {}>;
|
|
108
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
109
109
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { computed, defineComponent, ref, Transition } from "vue";
|
|
1
|
+
import { computed, defineComponent, ref, Transition, vShow as _vShow, createVNode as _createVNode, withDirectives as _withDirectives, createTextVNode as _createTextVNode } from "vue";
|
|
3
2
|
import { createNamespace, makeArrayProp, makeNumericProp, makeStringProp, colorFromCSSClass } from "../utils/index.mjs";
|
|
4
3
|
import { getForceLandscapeEventPosition, getForceLandscapeStyle } from "./force-landscape.mjs";
|
|
5
4
|
import { showToast } from "../toast/index.mjs";
|
package/es/signature/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Signature: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const Signature: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
customClass: {
|
|
3
3
|
type: import("vue").PropType<string>;
|
|
4
4
|
default: string;
|
|
@@ -28,7 +28,7 @@ export declare const Signature: import("../utils").WithInstall<import("vue").Def
|
|
|
28
28
|
default: string;
|
|
29
29
|
};
|
|
30
30
|
allowPortrait: BooleanConstructor;
|
|
31
|
-
}
|
|
31
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "cancel" | "confirm")[], "clear" | "cancel" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
32
|
customClass: {
|
|
33
33
|
type: import("vue").PropType<string>;
|
|
34
34
|
default: string;
|
|
@@ -58,11 +58,11 @@ export declare const Signature: import("../utils").WithInstall<import("vue").Def
|
|
|
58
58
|
default: string;
|
|
59
59
|
};
|
|
60
60
|
allowPortrait: BooleanConstructor;
|
|
61
|
-
}>> & {
|
|
61
|
+
}>> & Readonly<{
|
|
62
62
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
64
64
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
65
|
-
}
|
|
65
|
+
}>, {
|
|
66
66
|
lineWidth: string | number;
|
|
67
67
|
customClass: string;
|
|
68
68
|
strokeStyle: string;
|
|
@@ -71,7 +71,7 @@ export declare const Signature: import("../utils").WithInstall<import("vue").Def
|
|
|
71
71
|
resultTypes: import("./types").SignatureResultType[];
|
|
72
72
|
unSupportTpl: string;
|
|
73
73
|
allowPortrait: boolean;
|
|
74
|
-
}, {}>>;
|
|
74
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
75
75
|
export default Signature;
|
|
76
76
|
export { signatureProps } from './Signature';
|
|
77
77
|
export type { SignatureProps } from './Signature';
|
|
@@ -31,7 +31,7 @@ export declare const skeletonProps: {
|
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
export type SkeletonProps = ExtractPropTypes<typeof skeletonProps>;
|
|
34
|
-
declare const _default: import("vue").DefineComponent<{
|
|
34
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
35
35
|
row: {
|
|
36
36
|
type: (NumberConstructor | StringConstructor)[];
|
|
37
37
|
default: number;
|
|
@@ -59,9 +59,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
59
|
type: PropType<Numeric | Numeric[]>;
|
|
60
60
|
default: string;
|
|
61
61
|
};
|
|
62
|
-
}
|
|
62
|
+
}>, () => import("vue/jsx-runtime").JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
63
63
|
[key: string]: any;
|
|
64
|
-
}>[] | undefined,
|
|
64
|
+
}>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
65
65
|
row: {
|
|
66
66
|
type: (NumberConstructor | StringConstructor)[];
|
|
67
67
|
default: number;
|
|
@@ -89,7 +89,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
89
89
|
type: PropType<Numeric | Numeric[]>;
|
|
90
90
|
default: string;
|
|
91
91
|
};
|
|
92
|
-
}
|
|
92
|
+
}>> & Readonly<{}>, {
|
|
93
93
|
textarea: boolean;
|
|
94
94
|
title: boolean;
|
|
95
95
|
animate: boolean;
|
|
@@ -100,5 +100,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
100
|
avatar: boolean;
|
|
101
101
|
avatarShape: SkeletonAvatarShape;
|
|
102
102
|
rowWidth: Numeric | Numeric[];
|
|
103
|
-
}, {}>;
|
|
103
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
104
104
|
export default _default;
|
package/es/skeleton/Skeleton.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineComponent } from "vue";
|
|
1
|
+
import { defineComponent, createVNode as _createVNode, mergeProps as _mergeProps } from "vue";
|
|
3
2
|
import { addUnit, truthProp, numericProp, getSizeStyle, makeStringProp, makeNumericProp, createNamespace } from "../utils/index.mjs";
|
|
4
3
|
const [name, bem] = createNamespace("skeleton");
|
|
5
4
|
const DEFAULT_ROW_WIDTH = "100%";
|
package/es/skeleton/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Skeleton: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const Skeleton: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
row: {
|
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
|
4
4
|
default: number;
|
|
@@ -26,9 +26,9 @@ export declare const Skeleton: import("../utils").WithInstall<import("vue").Defi
|
|
|
26
26
|
type: import("vue").PropType<import("../utils").Numeric | import("../utils").Numeric[]>;
|
|
27
27
|
default: string;
|
|
28
28
|
};
|
|
29
|
-
}
|
|
29
|
+
}>, () => import("vue/jsx-runtime").JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
30
30
|
[key: string]: any;
|
|
31
|
-
}>[] | undefined,
|
|
31
|
+
}>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
32
|
row: {
|
|
33
33
|
type: (NumberConstructor | StringConstructor)[];
|
|
34
34
|
default: number;
|
|
@@ -56,7 +56,7 @@ export declare const Skeleton: import("../utils").WithInstall<import("vue").Defi
|
|
|
56
56
|
type: import("vue").PropType<import("../utils").Numeric | import("../utils").Numeric[]>;
|
|
57
57
|
default: string;
|
|
58
58
|
};
|
|
59
|
-
}
|
|
59
|
+
}>> & Readonly<{}>, {
|
|
60
60
|
textarea: boolean;
|
|
61
61
|
title: boolean;
|
|
62
62
|
animate: boolean;
|
|
@@ -67,7 +67,7 @@ export declare const Skeleton: import("../utils").WithInstall<import("vue").Defi
|
|
|
67
67
|
avatar: boolean;
|
|
68
68
|
avatarShape: import("./Skeleton").SkeletonAvatarShape;
|
|
69
69
|
rowWidth: import("../utils").Numeric | import("../utils").Numeric[];
|
|
70
|
-
}, {}>>;
|
|
70
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
71
71
|
export default Skeleton;
|
|
72
72
|
export { skeletonProps } from './Skeleton';
|
|
73
73
|
export type { SkeletonProps, SkeletonAvatarShape } from './Skeleton';
|
package/es/slider/Slider.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export declare const sliderProps: {
|
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
export type SliderProps = ExtractPropTypes<typeof sliderProps>;
|
|
53
|
-
declare const _default: import("vue").DefineComponent<{
|
|
53
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
54
54
|
min: {
|
|
55
55
|
type: (NumberConstructor | StringConstructor)[];
|
|
56
56
|
default: number;
|
|
@@ -96,7 +96,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
96
|
type: NumberConstructor;
|
|
97
97
|
default: number;
|
|
98
98
|
};
|
|
99
|
-
}
|
|
99
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "dragEnd" | "dragStart")[], "update:modelValue" | "change" | "dragEnd" | "dragStart", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
100
100
|
min: {
|
|
101
101
|
type: (NumberConstructor | StringConstructor)[];
|
|
102
102
|
default: number;
|
|
@@ -142,12 +142,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
142
142
|
type: NumberConstructor;
|
|
143
143
|
default: number;
|
|
144
144
|
};
|
|
145
|
-
}>> & {
|
|
145
|
+
}>> & Readonly<{
|
|
146
146
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
147
147
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
148
148
|
onDragEnd?: ((...args: any[]) => any) | undefined;
|
|
149
149
|
onDragStart?: ((...args: any[]) => any) | undefined;
|
|
150
|
-
}
|
|
150
|
+
}>, {
|
|
151
151
|
reverse: boolean;
|
|
152
152
|
range: boolean;
|
|
153
153
|
max: string | number;
|
|
@@ -161,5 +161,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
161
161
|
showPercent: boolean;
|
|
162
162
|
barEdgeOffset: number;
|
|
163
163
|
barEdgeOffsetBoundary: number;
|
|
164
|
-
}, {}>;
|
|
164
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
165
165
|
export default _default;
|
package/es/slider/Slider.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ref, computed, defineComponent } from "vue";
|
|
1
|
+
import { ref, computed, defineComponent, createVNode as _createVNode, Fragment as _Fragment } from "vue";
|
|
3
2
|
import { clamp, addUnit, addNumber, numericProp, isSameValue, getSizeStyle, preventDefault, stopPropagation, createNamespace, makeNumericProp, makeStringProp, truthProp, makeNumberProp } from "../utils/index.mjs";
|
|
4
3
|
import { useRect, useCustomFieldValue, useEventListener } from "@zartui/use";
|
|
5
4
|
import { useTouch } from "../composables/use-touch.mjs";
|
package/es/slider/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root,:host{--zt-slider-active-background: linear-gradient(90deg, var(--zt-primary-color-light) 0%, var(--zt-primary-color) 100%);--zt-slider-inactive-background: var(--zt-gray-a04);--zt-slider-disabled-opacity: var(--zt-disabled-opacity);--zt-slider-bar-height: var(--zt-line-height-xs);--zt-slider-button-width: var(--zt-font-size-lg);--zt-slider-button-height: var(--zt-font-size-lg);--zt-slider-button-radius: 50%;--zt-slider-vertical-gap: 4px;--zt-slider-horizontal-gap: 12px;--zt-slider-button-background: linear-gradient(180deg, rgb(var(--zt-primary-color-r), calc(var(--zt-primary-color-g) + 50), var(--zt-primary-color-b)) 0%, var(--zt-primary-color) 100%);--zt-slider-button-shadow: 0 2px 4px 0 var(--zt-primary-color-a2);--zt-slider-button-border-color: var(--zt-white)}:root[zt-theme-size=large],:host[zt-theme-size=large]{--zt-slider-horizontal-gap: 16px}.zt-theme-dark{--zt-slider-inactive-background: var(--zt-background-3)}.zt-slider__bar-wrapper{position:relative;width:100%;height:var(--zt-slider-bar-height);background:var(--zt-slider-inactive-background);border-radius:var(--zt-radius-max);cursor:pointer}.zt-slider__bar-wrapper:before{position:absolute;top:calc(var(--zt-padding-xs) * -1);right:0;bottom:calc(var(--zt-padding-xs) * -1);left:0;content:""}.zt-slider__bar-wrapper .zt-slider__bar{position:absolute;width:100%;height:100%;background:var(--zt-slider-active-background);border-radius:inherit;transition:all var(--zt-duration-fast)}.zt-slider__button{width:var(--zt-slider-button-width);height:var(--zt-slider-button-height);background:var(--zt-slider-button-background);border-radius:var(--zt-slider-button-radius);box-shadow:var(--zt-slider-button-shadow);border:1px solid var(--zt-slider-button-border-color)}.zt-slider__button-wrapper{position:absolute;cursor
|
|
1
|
+
:root,:host{--zt-slider-active-background: linear-gradient(90deg, var(--zt-primary-color-light) 0%, var(--zt-primary-color) 100%);--zt-slider-inactive-background: var(--zt-gray-a04);--zt-slider-disabled-opacity: var(--zt-disabled-opacity);--zt-slider-bar-height: var(--zt-line-height-xs);--zt-slider-button-width: var(--zt-font-size-lg);--zt-slider-button-height: var(--zt-font-size-lg);--zt-slider-button-radius: 50%;--zt-slider-vertical-gap: 4px;--zt-slider-horizontal-gap: 12px;--zt-slider-button-background: linear-gradient(180deg, rgb(var(--zt-primary-color-r), calc(var(--zt-primary-color-g) + 50), var(--zt-primary-color-b)) 0%, var(--zt-primary-color) 100%);--zt-slider-button-shadow: 0 2px 4px 0 var(--zt-primary-color-a2);--zt-slider-button-border-color: var(--zt-white)}:root[zt-theme-size=large],:host[zt-theme-size=large]{--zt-slider-horizontal-gap: 16px}.zt-theme-dark{--zt-slider-inactive-background: var(--zt-background-3)}.zt-slider__bar-wrapper{position:relative;width:100%;height:var(--zt-slider-bar-height);background:var(--zt-slider-inactive-background);border-radius:var(--zt-radius-max);cursor:pointer}.zt-slider__bar-wrapper:before{position:absolute;top:calc(var(--zt-padding-xs) * -1);right:0;bottom:calc(var(--zt-padding-xs) * -1);left:0;content:""}.zt-slider__bar-wrapper .zt-slider__bar{position:absolute;width:100%;height:100%;background:var(--zt-slider-active-background);border-radius:inherit;transition:all var(--zt-duration-fast)}.zt-slider__button{width:var(--zt-slider-button-width);height:var(--zt-slider-button-height);background:var(--zt-slider-button-background);border-radius:var(--zt-slider-button-radius);box-shadow:var(--zt-slider-button-shadow);border:1px solid var(--zt-slider-button-border-color)}.zt-slider__button-wrapper{position:absolute;cursor:grab;top:50%}.zt-slider--disabled{cursor:not-allowed;opacity:var(--zt-slider-disabled-opacity)}.zt-slider--disabled .zt-slider__button-wrapper{cursor:not-allowed}.zt-slider--horizontal{display:flex;align-items:center;gap:var(--zt-slider-horizontal-gap)}.zt-slider--horizontal .zt-slider__title,.zt-slider--horizontal .zt-slider__percent{font-size:var(--zt-font-size-md);color:var(--zt-text-color);line-height:var(--zt-line-height-md);word-break:break-all}.zt-slider--horizontal .zt-slider__title{font-weight:600;max-width:50%}.zt-slider--horizontal .zt-slider__percent{font-weight:400;max-width:20%;min-width:2em;text-align:right}.zt-slider--vertical{width:100%;display:flex;flex-direction:column;gap:var(--zt-slider-vertical-gap)}.zt-slider--vertical .zt-slider__title,.zt-slider--vertical .zt-slider__percent{opacity:.8;font-weight:400;font-size:var(--zt-font-size-sm);color:var(--zt-text-color);line-height:var(--zt-line-height-sm);word-break:break-all}.zt-slider--vertical .zt-slider__title{min-width:0;flex:1}.zt-slider--vertical .zt-slider__percent{max-width:50%}.zt-slider__title,.zt-slider__percent{flex-shrink:0}.zt-slider__direction-vertical-title{display:flex;justify-content:space-between;align-items:center;gap:var(--zt-slider-vertical-gap)}
|
package/es/slider/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Slider: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const Slider: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
min: {
|
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
|
4
4
|
default: number;
|
|
@@ -44,7 +44,7 @@ export declare const Slider: import("../utils").WithInstall<import("vue").Define
|
|
|
44
44
|
type: NumberConstructor;
|
|
45
45
|
default: number;
|
|
46
46
|
};
|
|
47
|
-
}
|
|
47
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "dragEnd" | "dragStart")[], "update:modelValue" | "change" | "dragEnd" | "dragStart", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
48
|
min: {
|
|
49
49
|
type: (NumberConstructor | StringConstructor)[];
|
|
50
50
|
default: number;
|
|
@@ -90,12 +90,12 @@ export declare const Slider: import("../utils").WithInstall<import("vue").Define
|
|
|
90
90
|
type: NumberConstructor;
|
|
91
91
|
default: number;
|
|
92
92
|
};
|
|
93
|
-
}>> & {
|
|
93
|
+
}>> & Readonly<{
|
|
94
94
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
95
95
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
96
96
|
onDragEnd?: ((...args: any[]) => any) | undefined;
|
|
97
97
|
onDragStart?: ((...args: any[]) => any) | undefined;
|
|
98
|
-
}
|
|
98
|
+
}>, {
|
|
99
99
|
reverse: boolean;
|
|
100
100
|
range: boolean;
|
|
101
101
|
max: string | number;
|
|
@@ -109,7 +109,7 @@ export declare const Slider: import("../utils").WithInstall<import("vue").Define
|
|
|
109
109
|
showPercent: boolean;
|
|
110
110
|
barEdgeOffset: number;
|
|
111
111
|
barEdgeOffsetBoundary: number;
|
|
112
|
-
}, {}>>;
|
|
112
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
113
113
|
export default Slider;
|
|
114
114
|
export { sliderProps } from './Slider';
|
|
115
115
|
export type { SliderProps, SliderDirection } from './Slider';
|
package/es/step/Step.d.ts
CHANGED
|
@@ -3,13 +3,13 @@ export declare const stepProps: {
|
|
|
3
3
|
activeIcon: StringConstructor;
|
|
4
4
|
inactiveIcon: StringConstructor;
|
|
5
5
|
};
|
|
6
|
-
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
7
|
iconPrefix: StringConstructor;
|
|
8
8
|
activeIcon: StringConstructor;
|
|
9
9
|
inactiveIcon: StringConstructor;
|
|
10
|
-
}
|
|
10
|
+
}>, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
11
|
iconPrefix: StringConstructor;
|
|
12
12
|
activeIcon: StringConstructor;
|
|
13
13
|
inactiveIcon: StringConstructor;
|
|
14
|
-
}
|
|
14
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
15
|
export default _default;
|
package/es/step/Step.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
|
2
|
-
import { computed, defineComponent } from "vue";
|
|
1
|
+
import { computed, defineComponent, createVNode as _createVNode } from "vue";
|
|
3
2
|
import { BORDER, createNamespace } from "../utils/index.mjs";
|
|
4
3
|
import { STEPS_KEY } from "../steps/Steps.mjs";
|
|
5
4
|
import { useParent } from "@zartui/use";
|
package/es/step/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-step-process-text-color: var(--zt-text-color);--zt-step-line-color: var(--zt-gray-a1);--zt-step-circle-container-background: var(--zt-background-popup);--zt-step-circle-container-left: 0}:root[zt-theme-size=large]{--zt-step-circle-container-left: 6px}.zt-step{-webkit-user-select:none;user-select:none;position:relative;flex:1}.zt-step__circle{display:block;width:var(--zt-line-height-md);height:var(--zt-line-height-md);line-height:var(--zt-line-height-md);background:var(--zt-gray-a2);border-radius:50%;text-align:center;font-size:var(--zt-font-size-md)}.zt-step__line{position:absolute;background-color:var(--zt-step-line-color);transition:background-color var(--zt-duration-base)}.zt-step--horizontal{float:left}.zt-step--horizontal .zt-step__circle-container{position:absolute;top:10px;left:calc(50% - 10px);z-index:1;background-color:var(--zt-step-circle-container-background);transform:translateY(-50%)}.zt-step--horizontal .zt-step__title{display:inline-block;margin-top:26px;font-size:var(--zt-font-size-md);color:var(--zt-gray-a6);width:100%;text-align:center}.zt-step--horizontal .zt-step__title--active{color:var(--zt-text-color)}.zt-step--horizontal .zt-step__line{top:10px;left:calc(50% + 14px);width:calc(100% - 28px);height:1px}.zt-step--horizontal .zt-step__icon{display:block;font-size:var(--zt-font-size-sm);left:50%;top:50%;transform:translate(-50%,-50%)}.zt-step--horizontal .zt-step--process{color:var(--zt-step-process-text-color)}.zt-step--vertical{display:block;float:none;padding:10px 16px 10px 8px;line-height:var(--zt-line-height-md)}.zt-step--vertical .zt-step__title{font-size:var(--zt-font-size-md);color:var(--zt-gray-a6)}.zt-step--vertical .zt-step__circle-container{position:absolute;top:20px;left:var(--zt-step-circle-container-left);z-index:1;font-size:var(--zt-font-size-sm);line-height:1;transform:translate(-100%,-50%)}.zt-step--vertical .zt-step__line{left:-10px;top:34px;height:calc(100% - 28px);width:1px}.zt-step--vertical .zt-step__icon{display:block;font-size:var(--zt-font-size-sm);left:50%;top:50%;transform:translate(-50%,-50%)}.zt-step:last-child .zt-step__line{width:0}.zt-step__icon,.zt-step__title{transition:color var(--zt-duration-base)}
|
|
1
|
+
:root{--zt-step-process-text-color: var(--zt-text-color);--zt-step-line-color: var(--zt-gray-a1);--zt-step-circle-container-background: var(--zt-background-popup);--zt-step-circle-container-left: 0}:root[zt-theme-size=large]{--zt-step-circle-container-left: 6px}.zt-step{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;flex:1}.zt-step__circle{display:block;width:var(--zt-line-height-md);height:var(--zt-line-height-md);line-height:var(--zt-line-height-md);background:var(--zt-gray-a2);border-radius:50%;text-align:center;font-size:var(--zt-font-size-md)}.zt-step__line{position:absolute;background-color:var(--zt-step-line-color);transition:background-color var(--zt-duration-base)}.zt-step--horizontal{float:left}.zt-step--horizontal .zt-step__circle-container{position:absolute;top:10px;left:calc(50% - 10px);z-index:1;background-color:var(--zt-step-circle-container-background);transform:translateY(-50%)}.zt-step--horizontal .zt-step__title{display:inline-block;margin-top:26px;font-size:var(--zt-font-size-md);color:var(--zt-gray-a6);width:100%;text-align:center}.zt-step--horizontal .zt-step__title--active{color:var(--zt-text-color)}.zt-step--horizontal .zt-step__line{top:10px;left:calc(50% + 14px);width:calc(100% - 28px);height:1px}.zt-step--horizontal .zt-step__icon{display:block;font-size:var(--zt-font-size-sm);left:50%;top:50%;transform:translate(-50%,-50%)}.zt-step--horizontal .zt-step--process{color:var(--zt-step-process-text-color)}.zt-step--vertical{display:block;float:none;padding:10px 16px 10px 8px;line-height:var(--zt-line-height-md)}.zt-step--vertical .zt-step__title{font-size:var(--zt-font-size-md);color:var(--zt-gray-a6)}.zt-step--vertical .zt-step__circle-container{position:absolute;top:20px;left:var(--zt-step-circle-container-left);z-index:1;font-size:var(--zt-font-size-sm);line-height:1;transform:translate(-100%,-50%)}.zt-step--vertical .zt-step__line{left:-10px;top:34px;height:calc(100% - 28px);width:1px}.zt-step--vertical .zt-step__icon{display:block;font-size:var(--zt-font-size-sm);left:50%;top:50%;transform:translate(-50%,-50%)}.zt-step:last-child .zt-step__line{width:0}.zt-step__icon,.zt-step__title{transition:color var(--zt-duration-base)}
|