zartui 3.0.9 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/action-sheet/ActionSheet.d.ts +4 -4
- package/es/action-sheet/index.d.ts +2 -2
- package/es/avatar/Avatar.d.ts +2 -2
- package/es/avatar/index.d.ts +1 -1
- package/es/avatar/types.d.ts +2 -2
- package/es/badge/Badge.d.ts +3 -3
- package/es/badge/Badge.mjs +1 -1
- package/es/badge/index.d.ts +1 -1
- package/es/button/Button.d.ts +3 -3
- package/es/button/index.d.ts +2 -2
- package/es/button/types.d.ts +4 -4
- package/es/calendar/Calendar.d.ts +16 -3
- package/es/calendar/Calendar.mjs +6 -4
- package/es/calendar/CalendarDay.d.ts +1 -1
- package/es/calendar/CalendarHeader.d.ts +4 -1
- package/es/calendar/CalendarHeader.mjs +4 -0
- package/es/calendar/CalendarMonth.d.ts +2 -2
- package/es/calendar/index.d.ts +11 -2
- package/es/calendar/types.d.ts +7 -7
- package/es/calendar/utils.mjs +1 -1
- package/es/cascader/Cascader.d.ts +3 -3
- package/es/cascader/index.d.ts +2 -2
- package/es/cascader/types.d.ts +3 -3
- package/es/cell/Cell.d.ts +4 -4
- package/es/cell/index.d.ts +2 -2
- package/es/cell/types.d.ts +1 -1
- package/es/cell-group/CellGroup.d.ts +2 -2
- package/es/cell-group/index.d.ts +1 -1
- package/es/checkbox/Checkbox.d.ts +2 -2
- package/es/checkbox/Checkbox.mjs +1 -1
- package/es/checkbox/Checker.d.ts +5 -5
- package/es/checkbox/index.d.ts +1 -1
- package/es/checkbox/types.d.ts +4 -4
- package/es/checkbox-group/CheckboxGroup.d.ts +2 -2
- package/es/checkbox-group/index.d.ts +1 -1
- package/es/checkbox-group/types.d.ts +5 -5
- package/es/col/Col.d.ts +2 -2
- package/es/col/index.d.ts +1 -1
- package/es/collapse/Collapse.d.ts +5 -5
- package/es/collapse/index.d.ts +1 -1
- package/es/collapse-item/CollapseItem.d.ts +2 -2
- package/es/collapse-item/index.d.ts +1 -1
- package/es/collapse-item/types.d.ts +2 -2
- package/es/composables/use-route.d.ts +1 -1
- package/es/composables/use-touch.d.ts +1 -1
- package/es/config-provider/ConfigProvider.d.ts +4 -4
- package/es/config-provider/index.d.ts +1 -1
- package/es/date-time-picker/DateTimePicker.d.ts +4 -4
- package/es/date-time-picker/DateTimePickerWrapper.d.ts +1 -1
- package/es/date-time-picker/DateTimePickerWrapper.mjs +1 -1
- package/es/date-time-picker/index.d.ts +2 -2
- package/es/date-time-picker/types.d.ts +1 -1
- package/es/date-time-picker/utils.d.ts +2 -2
- package/es/dialog/Dialog.d.ts +3 -3
- package/es/dialog/index.d.ts +2 -2
- package/es/dialog/types.d.ts +5 -5
- package/es/divider/Divider.d.ts +4 -4
- package/es/divider/index.d.ts +2 -2
- package/es/dropdown-item/DropdownItem.d.ts +4 -4
- package/es/dropdown-item/index.d.ts +3 -3
- package/es/dropdown-item/types.d.ts +3 -3
- package/es/dropdown-menu/DropdownMenu.d.ts +2 -2
- package/es/dropdown-menu/index.d.ts +1 -1
- package/es/dropdown-menu/types.d.ts +2 -2
- package/es/empty/Empty.d.ts +2 -2
- package/es/empty/index.d.ts +1 -1
- package/es/field/Field.d.ts +3 -3
- package/es/field/Field.mjs +2 -2
- package/es/field/index.d.ts +2 -2
- package/es/field/types.d.ts +15 -15
- package/es/form/Form.d.ts +2 -2
- package/es/form/index.d.ts +1 -1
- package/es/form/types.d.ts +3 -3
- package/es/grid/Grid.d.ts +4 -4
- package/es/grid/index.d.ts +1 -1
- package/es/grid-item/GridItem.d.ts +2 -2
- package/es/grid-item/GridItem.mjs +1 -1
- package/es/grid-item/index.d.ts +1 -1
- package/es/hierarchy-select/Breadcrumb.d.ts +1 -1
- package/es/hierarchy-select/HierarchySelect.d.ts +3 -3
- package/es/hierarchy-select/index.d.ts +2 -2
- package/es/hierarchy-select/types.d.ts +1 -1
- package/es/icon/Icon.d.ts +2 -2
- package/es/icon/config.d.ts +6 -6
- package/es/icon/index.d.ts +1 -1
- package/es/image/Image.d.ts +4 -4
- package/es/image/index.d.ts +1 -1
- package/es/image-preview/ImagePreview.d.ts +2 -2
- package/es/image-preview/ImagePreviewItem.d.ts +1 -1
- package/es/image-preview/ImagePreviewItem.mjs +3 -2
- package/es/image-preview/index.d.ts +1 -1
- package/es/image-preview/types.d.ts +5 -5
- package/es/index-anchor/IndexAnchor.d.ts +2 -2
- package/es/index-anchor/index.d.ts +1 -1
- package/es/index-anchor/types.d.ts +1 -1
- package/es/index-bar/IndexBar.d.ts +2 -2
- package/es/index-bar/index.d.ts +1 -1
- package/es/index-bar/types.d.ts +4 -4
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/list/List.d.ts +2 -2
- package/es/list/List.mjs +1 -1
- package/es/list/index.d.ts +1 -1
- package/es/list/types.d.ts +3 -3
- package/es/loading/Loading.d.ts +3 -3
- package/es/loading/index.d.ts +1 -1
- package/es/locale/index.d.ts +1 -1
- package/es/media-picker/MediaPicker.d.ts +2 -2
- package/es/media-picker/MediaPicker.mjs +1 -1
- package/es/media-picker/image/DefaultAudioIcon.d.ts +1 -1
- package/es/media-picker/image/DefaultFileIcon.d.ts +1 -1
- package/es/media-picker/image/DefaultVideoIcon.d.ts +1 -1
- package/es/media-picker/image/DeleteIcon.d.ts +1 -1
- package/es/media-picker/image/PickFileIcon.d.ts +1 -1
- package/es/media-picker/image/PickPhotoIcon.d.ts +1 -1
- package/es/media-picker/image/TakeAudioIcon.d.ts +1 -1
- package/es/media-picker/image/TakePhotoIcon.d.ts +1 -1
- package/es/media-picker/image/TakeVideoIcon.d.ts +1 -1
- package/es/media-picker/index.d.ts +1 -1
- package/es/media-picker/type.d.ts +9 -9
- package/es/media-picker/util/media-util.d.ts +1 -1
- package/es/media-picker/util/media-util.mjs +1 -1
- package/es/media-picker/watermark/watermark.d.ts +2 -2
- package/es/media-player/MediaPlayer.d.ts +2 -2
- package/es/media-player/index.d.ts +1 -1
- package/es/multiple-picker/MultiplePicker.d.ts +3 -3
- package/es/multiple-picker/MultiplePickerOptions.d.ts +2 -2
- package/es/multiple-picker/index.d.ts +2 -2
- package/es/multiple-picker/types.d.ts +3 -3
- package/es/nav-bar/NavBar.d.ts +2 -2
- package/es/nav-bar/index.d.ts +1 -1
- package/es/notice-bar/NoticeBar.d.ts +2 -2
- package/es/notice-bar/index.d.ts +1 -1
- package/es/notice-bar/types.d.ts +3 -3
- package/es/notify/Notify.d.ts +2 -2
- package/es/notify/index.d.ts +1 -1
- package/es/notify/types.d.ts +4 -4
- package/es/number-keyboard/NumberKeyboard.d.ts +5 -5
- package/es/number-keyboard/NumberKeyboard.mjs +2 -2
- package/es/number-keyboard/NumberKeyboardKey.d.ts +2 -2
- package/es/number-keyboard/index.d.ts +3 -3
- package/es/overlay/Overlay.d.ts +2 -2
- package/es/overlay/index.d.ts +1 -1
- package/es/password-input/PasswordInput.d.ts +2 -2
- package/es/password-input/PasswordInput.mjs +1 -1
- package/es/password-input/index.d.ts +1 -1
- package/es/picker/Picker.d.ts +3 -3
- package/es/picker/PickerColumn.d.ts +1 -1
- package/es/picker/PickerToolbar.d.ts +2 -2
- package/es/picker/index.d.ts +2 -2
- package/es/picker/types.d.ts +10 -10
- package/es/popover/Popover.d.ts +2 -2
- package/es/popover/index.d.ts +1 -1
- package/es/popover/types.d.ts +4 -4
- package/es/popup/Popup.d.ts +4 -4
- package/es/popup/index.d.ts +3 -3
- package/es/popup/shared.d.ts +1 -1
- package/es/popup/types.d.ts +4 -4
- package/es/pull-refresh/PullRefresh.d.ts +2 -2
- package/es/pull-refresh/index.d.ts +1 -1
- package/es/radio/Radio.d.ts +4 -4
- package/es/radio/index.d.ts +1 -1
- package/es/radio-group/RadioGroup.d.ts +4 -4
- package/es/radio-group/index.d.ts +1 -1
- package/es/rate/Rate.d.ts +2 -2
- package/es/rate/index.d.ts +1 -1
- package/es/row/Row.d.ts +6 -6
- package/es/row/index.d.ts +1 -1
- package/es/search/Search.d.ts +2 -2
- package/es/search/index.d.ts +1 -1
- package/es/search/types.d.ts +3 -3
- package/es/signature/Signature.d.ts +2 -2
- package/es/signature/Signature.mjs +1 -1
- package/es/signature/index.d.ts +1 -1
- package/es/signature/types.d.ts +1 -1
- package/es/skeleton/Skeleton.d.ts +4 -4
- package/es/skeleton/Skeleton.mjs +1 -1
- package/es/skeleton/index.d.ts +2 -2
- package/es/step/Step.d.ts +1 -1
- package/es/step/index.d.ts +1 -1
- package/es/stepper/Stepper.d.ts +3 -3
- package/es/stepper/Stepper.mjs +2 -2
- package/es/stepper/index.d.ts +1 -1
- package/es/steps/Steps.d.ts +4 -4
- package/es/steps/index.d.ts +1 -1
- package/es/sticky/Sticky.d.ts +3 -3
- package/es/sticky/index.d.ts +1 -1
- package/es/swipe/Swipe.d.ts +2 -2
- package/es/swipe/Swipe.mjs +1 -1
- package/es/swipe/index.d.ts +1 -1
- package/es/swipe/types.d.ts +5 -5
- package/es/swipe-cell/SwipeCell.d.ts +4 -4
- package/es/swipe-cell/index.d.ts +3 -3
- package/es/swipe-cell/types.d.ts +4 -4
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/Switch.d.ts +2 -2
- package/es/switch/index.d.ts +1 -1
- package/es/tab/Tab.d.ts +2 -2
- package/es/tab/index.d.ts +1 -1
- package/es/tabbar/Tabbar.d.ts +3 -3
- package/es/tabbar/index.d.ts +1 -1
- package/es/tabbar-item/TabbarItem.d.ts +2 -2
- package/es/tabbar-item/index.d.ts +1 -1
- package/es/table/Table.d.ts +4 -4
- package/es/table/index.d.ts +1 -1
- package/es/table/types.d.ts +1 -1
- package/es/tabs/Tabs.d.ts +2 -2
- package/es/tabs/Tabs.mjs +1 -1
- package/es/tabs/TabsContent.d.ts +1 -1
- package/es/tabs/TabsTitle.d.ts +1 -1
- package/es/tabs/index.d.ts +1 -1
- package/es/tabs/types.d.ts +5 -5
- package/es/tag/Tag.d.ts +3 -3
- package/es/tag/index.d.ts +1 -1
- package/es/text-ellipsis/TextEllipsis.d.ts +2 -2
- package/es/text-ellipsis/index.d.ts +1 -1
- package/es/text-ellipsis/types.d.ts +1 -1
- package/es/time-picker/Arrow.d.ts +1 -1
- package/es/time-picker/TimePicker.d.ts +3 -3
- package/es/time-picker/TimePickerColumn.d.ts +1 -1
- package/es/time-picker/index.d.ts +1 -1
- package/es/timeline/Timeline.d.ts +3 -3
- package/es/timeline/index.d.ts +1 -1
- package/es/toast/Toast.d.ts +2 -2
- package/es/toast/index.d.ts +1 -1
- package/es/toast/types.d.ts +4 -4
- package/es/uploader/Uploader.d.ts +3 -3
- package/es/uploader/Uploader.mjs +1 -1
- package/es/uploader/UploaderPreviewItem.d.ts +1 -1
- package/es/uploader/index.d.ts +2 -2
- package/es/uploader/types.d.ts +7 -7
- package/es/uploader/utils.mjs +1 -1
- package/es/utils/basic.d.ts +3 -3
- package/es/utils/create.d.ts +4 -4
- package/es/utils/deep-assign.d.ts +1 -1
- package/es/utils/dom.d.ts +1 -1
- package/es/utils/interceptor.d.ts +1 -1
- package/es/utils/mount-component.d.ts +1 -1
- package/es/utils/with-install.d.ts +2 -2
- package/lib/action-sheet/ActionSheet.d.ts +4 -4
- package/lib/action-sheet/index.d.ts +2 -2
- package/lib/avatar/Avatar.d.ts +2 -2
- package/lib/avatar/index.d.ts +1 -1
- package/lib/avatar/types.d.ts +2 -2
- package/lib/badge/Badge.d.ts +3 -3
- package/lib/badge/Badge.js +1 -1
- package/lib/badge/index.d.ts +1 -1
- package/lib/button/Button.d.ts +3 -3
- package/lib/button/index.d.ts +2 -2
- package/lib/button/types.d.ts +4 -4
- package/lib/calendar/Calendar.d.ts +16 -3
- package/lib/calendar/Calendar.js +6 -4
- package/lib/calendar/CalendarDay.d.ts +1 -1
- package/lib/calendar/CalendarHeader.d.ts +4 -1
- package/lib/calendar/CalendarHeader.js +4 -0
- package/lib/calendar/CalendarMonth.d.ts +2 -2
- package/lib/calendar/index.d.ts +11 -2
- package/lib/calendar/types.d.ts +7 -7
- package/lib/calendar/utils.js +1 -1
- package/lib/cascader/Cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +2 -2
- package/lib/cascader/types.d.ts +3 -3
- package/lib/cell/Cell.d.ts +4 -4
- package/lib/cell/index.d.ts +2 -2
- package/lib/cell/types.d.ts +1 -1
- package/lib/cell-group/CellGroup.d.ts +2 -2
- package/lib/cell-group/index.d.ts +1 -1
- package/lib/checkbox/Checkbox.d.ts +2 -2
- package/lib/checkbox/Checkbox.js +1 -1
- package/lib/checkbox/Checker.d.ts +5 -5
- package/lib/checkbox/index.d.ts +1 -1
- package/lib/checkbox/types.d.ts +4 -4
- package/lib/checkbox-group/CheckboxGroup.d.ts +2 -2
- package/lib/checkbox-group/index.d.ts +1 -1
- package/lib/checkbox-group/types.d.ts +5 -5
- package/lib/col/Col.d.ts +2 -2
- package/lib/col/index.d.ts +1 -1
- package/lib/collapse/Collapse.d.ts +5 -5
- package/lib/collapse/index.d.ts +1 -1
- package/lib/collapse-item/CollapseItem.d.ts +2 -2
- package/lib/collapse-item/index.d.ts +1 -1
- package/lib/collapse-item/types.d.ts +2 -2
- package/lib/composables/use-route.d.ts +1 -1
- package/lib/composables/use-touch.d.ts +1 -1
- package/lib/config-provider/ConfigProvider.d.ts +4 -4
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/date-time-picker/DateTimePicker.d.ts +4 -4
- package/lib/date-time-picker/DateTimePickerWrapper.d.ts +1 -1
- package/lib/date-time-picker/DateTimePickerWrapper.js +1 -1
- package/lib/date-time-picker/index.d.ts +2 -2
- package/lib/date-time-picker/types.d.ts +1 -1
- package/lib/date-time-picker/utils.d.ts +2 -2
- package/lib/dialog/Dialog.d.ts +3 -3
- package/lib/dialog/index.d.ts +2 -2
- package/lib/dialog/types.d.ts +5 -5
- package/lib/divider/Divider.d.ts +4 -4
- package/lib/divider/index.d.ts +2 -2
- package/lib/dropdown-item/DropdownItem.d.ts +4 -4
- package/lib/dropdown-item/index.d.ts +3 -3
- package/lib/dropdown-item/types.d.ts +3 -3
- package/lib/dropdown-menu/DropdownMenu.d.ts +2 -2
- package/lib/dropdown-menu/index.d.ts +1 -1
- package/lib/dropdown-menu/types.d.ts +2 -2
- package/lib/empty/Empty.d.ts +2 -2
- package/lib/empty/index.d.ts +1 -1
- package/lib/field/Field.d.ts +3 -3
- package/lib/field/Field.js +2 -2
- package/lib/field/index.d.ts +2 -2
- package/lib/field/types.d.ts +15 -15
- package/lib/form/Form.d.ts +2 -2
- package/lib/form/index.d.ts +1 -1
- package/lib/form/types.d.ts +3 -3
- package/lib/grid/Grid.d.ts +4 -4
- package/lib/grid/index.d.ts +1 -1
- package/lib/grid-item/GridItem.d.ts +2 -2
- package/lib/grid-item/GridItem.js +1 -1
- package/lib/grid-item/index.d.ts +1 -1
- package/lib/hierarchy-select/Breadcrumb.d.ts +1 -1
- package/lib/hierarchy-select/HierarchySelect.d.ts +3 -3
- package/lib/hierarchy-select/index.d.ts +2 -2
- package/lib/hierarchy-select/types.d.ts +1 -1
- package/lib/icon/Icon.d.ts +2 -2
- package/lib/icon/config.d.ts +6 -6
- package/lib/icon/index.d.ts +1 -1
- package/lib/image/Image.d.ts +4 -4
- package/lib/image/index.d.ts +1 -1
- package/lib/image-preview/ImagePreview.d.ts +2 -2
- package/lib/image-preview/ImagePreviewItem.d.ts +1 -1
- package/lib/image-preview/ImagePreviewItem.js +3 -2
- package/lib/image-preview/index.d.ts +1 -1
- package/lib/image-preview/types.d.ts +5 -5
- package/lib/index-anchor/IndexAnchor.d.ts +2 -2
- package/lib/index-anchor/index.d.ts +1 -1
- package/lib/index-anchor/types.d.ts +1 -1
- package/lib/index-bar/IndexBar.d.ts +2 -2
- package/lib/index-bar/index.d.ts +1 -1
- package/lib/index-bar/types.d.ts +4 -4
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/List.d.ts +2 -2
- package/lib/list/List.js +1 -1
- package/lib/list/index.d.ts +1 -1
- package/lib/list/types.d.ts +3 -3
- package/lib/loading/Loading.d.ts +3 -3
- package/lib/loading/index.d.ts +1 -1
- package/lib/locale/index.d.ts +1 -1
- package/lib/media-picker/MediaPicker.d.ts +2 -2
- package/lib/media-picker/MediaPicker.js +1 -1
- package/lib/media-picker/image/DefaultAudioIcon.d.ts +1 -1
- package/lib/media-picker/image/DefaultFileIcon.d.ts +1 -1
- package/lib/media-picker/image/DefaultVideoIcon.d.ts +1 -1
- package/lib/media-picker/image/DeleteIcon.d.ts +1 -1
- package/lib/media-picker/image/PickFileIcon.d.ts +1 -1
- package/lib/media-picker/image/PickPhotoIcon.d.ts +1 -1
- package/lib/media-picker/image/TakeAudioIcon.d.ts +1 -1
- package/lib/media-picker/image/TakePhotoIcon.d.ts +1 -1
- package/lib/media-picker/image/TakeVideoIcon.d.ts +1 -1
- package/lib/media-picker/index.d.ts +1 -1
- package/lib/media-picker/type.d.ts +9 -9
- package/lib/media-picker/util/media-util.d.ts +1 -1
- package/lib/media-picker/util/media-util.js +1 -1
- package/lib/media-picker/watermark/watermark.d.ts +2 -2
- package/lib/media-player/MediaPlayer.d.ts +2 -2
- package/lib/media-player/index.d.ts +1 -1
- package/lib/multiple-picker/MultiplePicker.d.ts +3 -3
- package/lib/multiple-picker/MultiplePickerOptions.d.ts +2 -2
- package/lib/multiple-picker/index.d.ts +2 -2
- package/lib/multiple-picker/types.d.ts +3 -3
- package/lib/nav-bar/NavBar.d.ts +2 -2
- package/lib/nav-bar/index.d.ts +1 -1
- package/lib/notice-bar/NoticeBar.d.ts +2 -2
- package/lib/notice-bar/index.d.ts +1 -1
- package/lib/notice-bar/types.d.ts +3 -3
- package/lib/notify/Notify.d.ts +2 -2
- package/lib/notify/index.d.ts +1 -1
- package/lib/notify/types.d.ts +4 -4
- package/lib/number-keyboard/NumberKeyboard.d.ts +5 -5
- package/lib/number-keyboard/NumberKeyboard.js +2 -2
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +2 -2
- package/lib/number-keyboard/index.d.ts +3 -3
- package/lib/overlay/Overlay.d.ts +2 -2
- package/lib/overlay/index.d.ts +1 -1
- package/lib/password-input/PasswordInput.d.ts +2 -2
- package/lib/password-input/PasswordInput.js +1 -1
- package/lib/password-input/index.d.ts +1 -1
- package/lib/picker/Picker.d.ts +3 -3
- package/lib/picker/PickerColumn.d.ts +1 -1
- package/lib/picker/PickerToolbar.d.ts +2 -2
- package/lib/picker/index.d.ts +2 -2
- package/lib/picker/types.d.ts +10 -10
- package/lib/popover/Popover.d.ts +2 -2
- package/lib/popover/index.d.ts +1 -1
- package/lib/popover/types.d.ts +4 -4
- package/lib/popup/Popup.d.ts +4 -4
- package/lib/popup/index.d.ts +3 -3
- package/lib/popup/shared.d.ts +1 -1
- package/lib/popup/types.d.ts +4 -4
- package/lib/pull-refresh/PullRefresh.d.ts +2 -2
- package/lib/pull-refresh/index.d.ts +1 -1
- package/lib/radio/Radio.d.ts +4 -4
- package/lib/radio/index.d.ts +1 -1
- package/lib/radio-group/RadioGroup.d.ts +4 -4
- package/lib/radio-group/index.d.ts +1 -1
- package/lib/rate/Rate.d.ts +2 -2
- package/lib/rate/index.d.ts +1 -1
- package/lib/row/Row.d.ts +6 -6
- package/lib/row/index.d.ts +1 -1
- package/lib/search/Search.d.ts +2 -2
- package/lib/search/index.d.ts +1 -1
- package/lib/search/types.d.ts +3 -3
- package/lib/signature/Signature.d.ts +2 -2
- package/lib/signature/Signature.js +1 -1
- package/lib/signature/index.d.ts +1 -1
- package/lib/signature/types.d.ts +1 -1
- package/lib/skeleton/Skeleton.d.ts +4 -4
- package/lib/skeleton/Skeleton.js +1 -1
- package/lib/skeleton/index.d.ts +2 -2
- package/lib/step/Step.d.ts +1 -1
- package/lib/step/index.d.ts +1 -1
- package/lib/stepper/Stepper.d.ts +3 -3
- package/lib/stepper/Stepper.js +2 -2
- package/lib/stepper/index.d.ts +1 -1
- package/lib/steps/Steps.d.ts +4 -4
- package/lib/steps/index.d.ts +1 -1
- package/lib/sticky/Sticky.d.ts +3 -3
- package/lib/sticky/index.d.ts +1 -1
- package/lib/swipe/Swipe.d.ts +2 -2
- package/lib/swipe/Swipe.js +1 -1
- package/lib/swipe/index.d.ts +1 -1
- package/lib/swipe/types.d.ts +5 -5
- package/lib/swipe-cell/SwipeCell.d.ts +4 -4
- package/lib/swipe-cell/index.d.ts +3 -3
- package/lib/swipe-cell/types.d.ts +4 -4
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/switch/Switch.d.ts +2 -2
- package/lib/switch/index.d.ts +1 -1
- package/lib/tab/Tab.d.ts +2 -2
- package/lib/tab/index.d.ts +1 -1
- package/lib/tabbar/Tabbar.d.ts +3 -3
- package/lib/tabbar/index.d.ts +1 -1
- package/lib/tabbar-item/TabbarItem.d.ts +2 -2
- package/lib/tabbar-item/index.d.ts +1 -1
- package/lib/table/Table.d.ts +4 -4
- package/lib/table/index.d.ts +1 -1
- package/lib/table/types.d.ts +1 -1
- package/lib/tabs/Tabs.d.ts +2 -2
- package/lib/tabs/Tabs.js +1 -1
- package/lib/tabs/TabsContent.d.ts +1 -1
- package/lib/tabs/TabsTitle.d.ts +1 -1
- package/lib/tabs/index.d.ts +1 -1
- package/lib/tabs/types.d.ts +5 -5
- package/lib/tag/Tag.d.ts +3 -3
- package/lib/tag/index.d.ts +1 -1
- package/lib/text-ellipsis/TextEllipsis.d.ts +2 -2
- package/lib/text-ellipsis/index.d.ts +1 -1
- package/lib/text-ellipsis/types.d.ts +1 -1
- package/lib/time-picker/Arrow.d.ts +1 -1
- package/lib/time-picker/TimePicker.d.ts +3 -3
- package/lib/time-picker/TimePickerColumn.d.ts +1 -1
- package/lib/time-picker/index.d.ts +1 -1
- package/lib/timeline/Timeline.d.ts +3 -3
- package/lib/timeline/index.d.ts +1 -1
- package/lib/toast/Toast.d.ts +2 -2
- package/lib/toast/index.d.ts +1 -1
- package/lib/toast/types.d.ts +4 -4
- package/lib/uploader/Uploader.d.ts +3 -3
- package/lib/uploader/Uploader.js +1 -1
- package/lib/uploader/UploaderPreviewItem.d.ts +1 -1
- package/lib/uploader/index.d.ts +2 -2
- package/lib/uploader/types.d.ts +7 -7
- package/lib/uploader/utils.js +1 -1
- package/lib/utils/basic.d.ts +3 -3
- package/lib/utils/create.d.ts +4 -4
- package/lib/utils/deep-assign.d.ts +1 -1
- package/lib/utils/dom.d.ts +1 -1
- package/lib/utils/interceptor.d.ts +1 -1
- package/lib/utils/mount-component.d.ts +1 -1
- package/lib/utils/with-install.d.ts +2 -2
- package/lib/web-types.json +1 -1
- package/lib/zartui.cjs.js +35 -28
- package/lib/zartui.es.js +35 -28
- package/lib/zartui.js +332 -422
- package/lib/zartui.min.js +1 -1
- package/package.json +9 -9
package/es/picker/types.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { ComponentPublicInstance } from 'vue';
|
|
2
2
|
import type { Numeric } from '../utils';
|
|
3
3
|
import type { PickerProps } from './Picker';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type PickerToolbarPosition = 'top' | 'bottom';
|
|
5
|
+
export type PickerFieldNames = {
|
|
6
6
|
text?: string;
|
|
7
7
|
value?: string;
|
|
8
8
|
children?: string;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type PickerOption = {
|
|
11
11
|
text?: Numeric;
|
|
12
12
|
value?: Numeric;
|
|
13
13
|
disabled?: boolean;
|
|
@@ -15,12 +15,12 @@ export declare type PickerOption = {
|
|
|
15
15
|
className?: unknown;
|
|
16
16
|
[key: PropertyKey]: any;
|
|
17
17
|
};
|
|
18
|
-
export
|
|
19
|
-
export
|
|
18
|
+
export type PickerColumn = PickerOption[];
|
|
19
|
+
export type PickerExpose = {
|
|
20
20
|
confirm: () => void;
|
|
21
21
|
getSelectedOptions: () => Array<PickerOption | undefined>;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type PickerColumnProvide = {
|
|
24
24
|
state: {
|
|
25
25
|
index: number;
|
|
26
26
|
offset: number;
|
|
@@ -33,12 +33,12 @@ export declare type PickerColumnProvide = {
|
|
|
33
33
|
setOptions: (options: PickerOption[]) => void;
|
|
34
34
|
stopMomentum: () => void;
|
|
35
35
|
};
|
|
36
|
-
export
|
|
37
|
-
export
|
|
36
|
+
export type PickerInstance = ComponentPublicInstance<PickerProps, PickerExpose>;
|
|
37
|
+
export type PickerConfirmEventParams = {
|
|
38
38
|
selectedValues: Numeric[];
|
|
39
39
|
selectedOptions: Array<PickerOption | undefined>;
|
|
40
40
|
};
|
|
41
|
-
export
|
|
42
|
-
export
|
|
41
|
+
export type PickerCancelEventParams = PickerConfirmEventParams;
|
|
42
|
+
export type PickerChangeEventParams = PickerConfirmEventParams & {
|
|
43
43
|
columnIndex: number;
|
|
44
44
|
};
|
package/es/popover/Popover.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export declare const popoverProps: {
|
|
|
52
52
|
default: boolean;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
export
|
|
55
|
+
export type PopoverProps = ExtractPropTypes<typeof popoverProps>;
|
|
56
56
|
declare const _default: import("vue").DefineComponent<{
|
|
57
57
|
show: BooleanConstructor;
|
|
58
58
|
theme: {
|
|
@@ -173,5 +173,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
173
173
|
showArrow: boolean;
|
|
174
174
|
placement: PopoverPlacement;
|
|
175
175
|
autoAdjustOverflow: boolean;
|
|
176
|
-
}>;
|
|
176
|
+
}, {}>;
|
|
177
177
|
export default _default;
|
package/es/popover/index.d.ts
CHANGED
|
@@ -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
|
+
}, {}>>;
|
|
122
122
|
export default Popover;
|
|
123
123
|
export { popoverProps } from './Popover';
|
|
124
124
|
export type { PopoverProps } from './Popover';
|
package/es/popover/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export type PopoverTheme = 'light' | 'dark';
|
|
2
|
+
export type PopoverTrigger = 'manual' | 'click';
|
|
3
|
+
export type PopoverPlacement = 'top' | 'top-start' | 'top-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end';
|
|
4
|
+
export type PopoverAction = {
|
|
5
5
|
text: string;
|
|
6
6
|
icon?: string;
|
|
7
7
|
color?: string;
|
package/es/popup/Popup.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ declare const popupProps: {
|
|
|
59
59
|
};
|
|
60
60
|
slideable: BooleanConstructor;
|
|
61
61
|
};
|
|
62
|
-
export
|
|
62
|
+
export type PopupProps = ExtractPropTypes<typeof popupProps>;
|
|
63
63
|
declare const _default: import("vue").DefineComponent<{
|
|
64
64
|
show: BooleanConstructor;
|
|
65
65
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
@@ -118,7 +118,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
118
|
default: string;
|
|
119
119
|
};
|
|
120
120
|
slideable: BooleanConstructor;
|
|
121
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
121
|
+
}, () => JSX.Element, unknown, {}, {}, 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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
122
122
|
show: BooleanConstructor;
|
|
123
123
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
124
124
|
overlay: {
|
|
@@ -178,8 +178,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
178
178
|
slideable: BooleanConstructor;
|
|
179
179
|
}>> & {
|
|
180
180
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
181
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
182
181
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
182
|
+
onClose?: ((...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;
|
|
@@ -204,5 +204,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
204
204
|
minDragHeight: string;
|
|
205
205
|
maxDragHeight: string;
|
|
206
206
|
slideable: boolean;
|
|
207
|
-
}>;
|
|
207
|
+
}, {}>;
|
|
208
208
|
export default _default;
|
package/es/popup/index.d.ts
CHANGED
|
@@ -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
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
59
|
+
}, () => JSX.Element, unknown, {}, {}, 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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
60
|
show: BooleanConstructor;
|
|
61
61
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
62
62
|
overlay: {
|
|
@@ -116,8 +116,8 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
|
|
|
116
116
|
slideable: BooleanConstructor;
|
|
117
117
|
}>> & {
|
|
118
118
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
119
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
120
119
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
120
|
+
onClose?: ((...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;
|
|
@@ -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
|
+
}, {}>>;
|
|
146
146
|
export default Popup;
|
|
147
147
|
export type { PopupProps } from './Popup';
|
|
148
148
|
export type { PopupPosition, PopupInstance, PopupCloseIconPosition, } from './types';
|
package/es/popup/shared.d.ts
CHANGED
|
@@ -26,5 +26,5 @@ export declare const popupSharedProps: {
|
|
|
26
26
|
default: true;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type PopupSharedPropKeys = Array<keyof typeof popupSharedProps>;
|
|
30
30
|
export declare const popupSharedPropKeys: PopupSharedPropKeys;
|
package/es/popup/types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Ref, ComponentPublicInstance } from 'vue';
|
|
2
2
|
import type { PopupProps } from './Popup';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
3
|
+
export type PopupPosition = 'top' | 'left' | 'bottom' | 'right' | 'center' | '';
|
|
4
|
+
export type PopupCloseIconPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
5
|
+
export type PopupExpose = {
|
|
6
6
|
popupRef: Ref<HTMLElement>;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type PopupInstance = ComponentPublicInstance<PopupProps, PopupExpose>;
|
|
@@ -20,7 +20,7 @@ declare const pullRefreshProps: {
|
|
|
20
20
|
default: number;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type PullRefreshProps = ExtractPropTypes<typeof pullRefreshProps>;
|
|
24
24
|
declare const _default: import("vue").DefineComponent<{
|
|
25
25
|
disabled: BooleanConstructor;
|
|
26
26
|
modelValue: BooleanConstructor;
|
|
@@ -71,5 +71,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
71
|
animationDuration: string | number;
|
|
72
72
|
headHeight: string | number;
|
|
73
73
|
successDuration: string | number;
|
|
74
|
-
}>;
|
|
74
|
+
}, {}>;
|
|
75
75
|
export default _default;
|
|
@@ -48,7 +48,7 @@ export declare const PullRefresh: import("../utils").WithInstall<import("vue").D
|
|
|
48
48
|
animationDuration: string | number;
|
|
49
49
|
headHeight: string | number;
|
|
50
50
|
successDuration: string | number;
|
|
51
|
-
}>>;
|
|
51
|
+
}, {}>>;
|
|
52
52
|
export default PullRefresh;
|
|
53
53
|
export type { PullRefreshProps } from './PullRefresh';
|
|
54
54
|
declare module 'vue' {
|
package/es/radio/Radio.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { checkerProps, CheckerShape, CheckerLabelPosition } from '../checkbox/Checker';
|
|
2
2
|
import type { ExtractPropTypes } from 'vue';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
3
|
+
export type RadioShape = CheckerShape;
|
|
4
|
+
export type RadioLabelPosition = CheckerLabelPosition;
|
|
5
|
+
export type RadioProps = ExtractPropTypes<typeof checkerProps>;
|
|
6
6
|
declare const _default: import("vue").DefineComponent<{
|
|
7
7
|
name: import("vue").PropType<unknown>;
|
|
8
8
|
shape: {
|
|
@@ -33,5 +33,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
shape: CheckerShape;
|
|
34
34
|
disabled: boolean;
|
|
35
35
|
labelDisabled: boolean;
|
|
36
|
-
}>;
|
|
36
|
+
}, {}>;
|
|
37
37
|
export default _default;
|
package/es/radio/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export declare const Radio: import("../utils").WithInstall<import("vue").DefineC
|
|
|
28
28
|
shape: import("../checkbox/Checker").CheckerShape;
|
|
29
29
|
disabled: boolean;
|
|
30
30
|
labelDisabled: boolean;
|
|
31
|
-
}>>;
|
|
31
|
+
}, {}>>;
|
|
32
32
|
export default Radio;
|
|
33
33
|
export type { RadioProps, RadioShape, RadioLabelPosition } from './Radio';
|
|
34
34
|
declare module 'vue' {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CheckerDirection } from '../checkbox/Checker';
|
|
2
2
|
import type { InjectionKey, ExtractPropTypes } from 'vue';
|
|
3
|
-
export
|
|
3
|
+
export type RadioGroupDirection = CheckerDirection;
|
|
4
4
|
declare const radioGroupProps: {
|
|
5
5
|
disabled: BooleanConstructor;
|
|
6
6
|
iconSize: (NumberConstructor | StringConstructor)[];
|
|
@@ -11,8 +11,8 @@ declare const radioGroupProps: {
|
|
|
11
11
|
modelValue: import("vue").PropType<unknown>;
|
|
12
12
|
checkedColor: StringConstructor;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
15
|
-
export
|
|
14
|
+
export type RadioGroupProps = ExtractPropTypes<typeof radioGroupProps>;
|
|
15
|
+
export type RadioGroupProvide = {
|
|
16
16
|
props: RadioGroupProps;
|
|
17
17
|
updateValue: (value: unknown) => void;
|
|
18
18
|
};
|
|
@@ -41,5 +41,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
41
|
}, {
|
|
42
42
|
disabled: boolean;
|
|
43
43
|
direction: CheckerDirection;
|
|
44
|
-
}>;
|
|
44
|
+
}, {}>;
|
|
45
45
|
export default _default;
|
|
@@ -22,7 +22,7 @@ export declare const RadioGroup: import("../utils").WithInstall<import("vue").De
|
|
|
22
22
|
}, {
|
|
23
23
|
disabled: boolean;
|
|
24
24
|
direction: import("../checkbox/Checker").CheckerDirection;
|
|
25
|
-
}>>;
|
|
25
|
+
}, {}>>;
|
|
26
26
|
export default RadioGroup;
|
|
27
27
|
export type { RadioGroupProps, RadioGroupDirection } from './RadioGroup';
|
|
28
28
|
declare module 'vue' {
|
package/es/rate/Rate.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ declare const rateProps: {
|
|
|
30
30
|
};
|
|
31
31
|
disabledColor: StringConstructor;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type RateProps = ExtractPropTypes<typeof rateProps>;
|
|
34
34
|
declare const _default: import("vue").DefineComponent<{
|
|
35
35
|
size: (NumberConstructor | StringConstructor)[];
|
|
36
36
|
icon: {
|
|
@@ -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
|
+
}, {}>;
|
|
107
107
|
export default _default;
|
package/es/rate/index.d.ts
CHANGED
|
@@ -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
|
+
}, {}>>;
|
|
74
74
|
export default Rate;
|
|
75
75
|
export type { RateProps } from './Rate';
|
|
76
76
|
declare module 'vue' {
|
package/es/row/Row.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { PropType, ComputedRef, InjectionKey, ExtractPropTypes } from 'vue';
|
|
2
|
-
export
|
|
2
|
+
export type RowSpaces = {
|
|
3
3
|
left?: number;
|
|
4
4
|
right: number;
|
|
5
5
|
}[];
|
|
6
|
-
export
|
|
6
|
+
export type RowProvide = {
|
|
7
7
|
spaces: ComputedRef<RowSpaces>;
|
|
8
8
|
};
|
|
9
9
|
export declare const ROW_KEY: InjectionKey<RowProvide>;
|
|
10
|
-
export
|
|
11
|
-
export
|
|
10
|
+
export type RowAlign = 'top' | 'center' | 'bottom';
|
|
11
|
+
export type RowJustify = 'start' | 'end' | 'center' | 'space-around' | 'space-between';
|
|
12
12
|
declare const rowProps: {
|
|
13
13
|
tag: {
|
|
14
14
|
type: PropType<keyof HTMLElementTagNameMap>;
|
|
@@ -25,7 +25,7 @@ declare const rowProps: {
|
|
|
25
25
|
};
|
|
26
26
|
justify: PropType<RowJustify>;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type RowProps = ExtractPropTypes<typeof rowProps>;
|
|
29
29
|
declare const _default: import("vue").DefineComponent<{
|
|
30
30
|
tag: {
|
|
31
31
|
type: PropType<keyof HTMLElementTagNameMap>;
|
|
@@ -60,5 +60,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
tag: keyof HTMLElementTagNameMap;
|
|
61
61
|
wrap: boolean;
|
|
62
62
|
gutter: string | number;
|
|
63
|
-
}>;
|
|
63
|
+
}, {}>;
|
|
64
64
|
export default _default;
|
package/es/row/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare const Row: import("../utils").WithInstall<import("vue").DefineCom
|
|
|
32
32
|
tag: keyof HTMLElementTagNameMap;
|
|
33
33
|
wrap: boolean;
|
|
34
34
|
gutter: string | number;
|
|
35
|
-
}>>;
|
|
35
|
+
}, {}>>;
|
|
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
|
@@ -64,7 +64,7 @@ export declare const searchProps: {
|
|
|
64
64
|
actionText: StringConstructor;
|
|
65
65
|
showAction: BooleanConstructor;
|
|
66
66
|
};
|
|
67
|
-
export
|
|
67
|
+
export type SearchProps = ExtractPropTypes<typeof searchProps>;
|
|
68
68
|
declare const _default: import("vue").DefineComponent<{
|
|
69
69
|
id: StringConstructor;
|
|
70
70
|
name: StringConstructor;
|
|
@@ -213,5 +213,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
213
213
|
error: boolean;
|
|
214
214
|
readonly: boolean;
|
|
215
215
|
showAction: boolean;
|
|
216
|
-
}>;
|
|
216
|
+
}, {}>;
|
|
217
217
|
export default _default;
|
package/es/search/index.d.ts
CHANGED
|
@@ -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
|
+
}, {}>>;
|
|
151
151
|
export default Search;
|
|
152
152
|
export { searchProps } from './Search';
|
|
153
153
|
export type { SearchProps };
|
package/es/search/types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ComponentPublicInstance } from 'vue';
|
|
2
2
|
import type { SearchProps } from './Search';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type SearchShape = 'square' | 'round';
|
|
4
|
+
export type SearchExpose = {
|
|
5
5
|
focus: () => void;
|
|
6
6
|
blur: () => void;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type SearchInstance = ComponentPublicInstance<SearchProps, SearchExpose>;
|
|
@@ -31,7 +31,7 @@ export declare const signatureProps: {
|
|
|
31
31
|
};
|
|
32
32
|
allowPortrait: BooleanConstructor;
|
|
33
33
|
};
|
|
34
|
-
export
|
|
34
|
+
export type SignatureProps = ExtractPropTypes<typeof signatureProps>;
|
|
35
35
|
declare const _default: import("vue").DefineComponent<{
|
|
36
36
|
customClass: {
|
|
37
37
|
type: import("vue").PropType<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
|
+
}, {}>;
|
|
109
109
|
export default _default;
|
|
@@ -135,7 +135,7 @@ var stdin_default = defineComponent({
|
|
|
135
135
|
}
|
|
136
136
|
return Promise.resolve(dataURL);
|
|
137
137
|
} else if (resultType.trim() === "file") {
|
|
138
|
-
const timestamp = new Date().getTime();
|
|
138
|
+
const timestamp = (/* @__PURE__ */ new Date()).getTime();
|
|
139
139
|
if (props.imageType === "png") {
|
|
140
140
|
const exportFilename2 = timestamp + ".png";
|
|
141
141
|
return canvas2File(canvas, exportFilename2, timestamp, "image/png");
|
package/es/signature/index.d.ts
CHANGED
|
@@ -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
|
+
}, {}>>;
|
|
75
75
|
export default Signature;
|
|
76
76
|
export { signatureProps } from './Signature';
|
|
77
77
|
export type { SignatureProps } from './Signature';
|
package/es/signature/types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SignatureResultType = 'file' | 'dataUrl';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
|
2
2
|
import { type Numeric } from '../utils';
|
|
3
|
-
export
|
|
3
|
+
export type SkeletonAvatarShape = 'square' | 'round';
|
|
4
4
|
export declare const skeletonProps: {
|
|
5
5
|
row: {
|
|
6
6
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -30,7 +30,7 @@ export declare const skeletonProps: {
|
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type SkeletonProps = ExtractPropTypes<typeof skeletonProps>;
|
|
34
34
|
declare const _default: import("vue").DefineComponent<{
|
|
35
35
|
row: {
|
|
36
36
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -96,9 +96,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
96
|
field: boolean;
|
|
97
97
|
round: boolean;
|
|
98
98
|
loading: boolean;
|
|
99
|
-
row: string | number;
|
|
100
99
|
avatar: boolean;
|
|
100
|
+
row: string | number;
|
|
101
101
|
avatarShape: SkeletonAvatarShape;
|
|
102
102
|
rowWidth: Numeric | Numeric[];
|
|
103
|
-
}>;
|
|
103
|
+
}, {}>;
|
|
104
104
|
export default _default;
|
package/es/skeleton/Skeleton.mjs
CHANGED
package/es/skeleton/index.d.ts
CHANGED
|
@@ -63,11 +63,11 @@ export declare const Skeleton: import("../utils").WithInstall<import("vue").Defi
|
|
|
63
63
|
field: boolean;
|
|
64
64
|
round: boolean;
|
|
65
65
|
loading: boolean;
|
|
66
|
-
row: string | number;
|
|
67
66
|
avatar: boolean;
|
|
67
|
+
row: string | number;
|
|
68
68
|
avatarShape: import("./Skeleton").SkeletonAvatarShape;
|
|
69
69
|
rowWidth: import("../utils").Numeric | import("../utils").Numeric[];
|
|
70
|
-
}>>;
|
|
70
|
+
}, {}>>;
|
|
71
71
|
export default Skeleton;
|
|
72
72
|
export { skeletonProps } from './Skeleton';
|
|
73
73
|
export type { SkeletonProps, SkeletonAvatarShape } from './Skeleton';
|
package/es/step/Step.d.ts
CHANGED
package/es/step/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const Step: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
6
6
|
iconPrefix: StringConstructor;
|
|
7
7
|
activeIcon: StringConstructor;
|
|
8
8
|
inactiveIcon: StringConstructor;
|
|
9
|
-
}>>, {}>>;
|
|
9
|
+
}>>, {}, {}>>;
|
|
10
10
|
export default Step;
|
|
11
11
|
declare module 'vue' {
|
|
12
12
|
interface GlobalComponents {
|
package/es/stepper/Stepper.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { Interceptor } from '../utils';
|
|
3
|
-
export
|
|
3
|
+
export type StepperTheme = 'default' | 'round';
|
|
4
4
|
declare const stepperProps: {
|
|
5
5
|
min: {
|
|
6
6
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -52,7 +52,7 @@ declare const stepperProps: {
|
|
|
52
52
|
};
|
|
53
53
|
decimalLength: (NumberConstructor | StringConstructor)[];
|
|
54
54
|
};
|
|
55
|
-
export
|
|
55
|
+
export type StepperProps = ExtractPropTypes<typeof stepperProps>;
|
|
56
56
|
declare const _default: import("vue").DefineComponent<{
|
|
57
57
|
min: {
|
|
58
58
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -177,5 +177,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
177
177
|
disableMinus: boolean;
|
|
178
178
|
disableInput: boolean;
|
|
179
179
|
defaultValue: string | number;
|
|
180
|
-
}>;
|
|
180
|
+
}, {}>;
|
|
181
181
|
export default _default;
|
package/es/stepper/Stepper.mjs
CHANGED
|
@@ -68,8 +68,8 @@ var stdin_default = defineComponent({
|
|
|
68
68
|
let actionType;
|
|
69
69
|
const inputRef = ref();
|
|
70
70
|
const current = ref(getInitialValue());
|
|
71
|
-
const minusDisabled = computed(() => props.disabled || props.disableMinus || current.value <= +props.min);
|
|
72
|
-
const plusDisabled = computed(() => props.disabled || props.disablePlus || current.value >= +props.max);
|
|
71
|
+
const minusDisabled = computed(() => props.disabled || props.disableMinus || +current.value <= +props.min);
|
|
72
|
+
const plusDisabled = computed(() => props.disabled || props.disablePlus || +current.value >= +props.max);
|
|
73
73
|
const inputStyle = computed(() => ({
|
|
74
74
|
width: addUnit(props.inputWidth),
|
|
75
75
|
height: addUnit(props.buttonSize)
|
package/es/stepper/index.d.ts
CHANGED
|
@@ -122,7 +122,7 @@ export declare const Stepper: import("../utils").WithInstall<import("vue").Defin
|
|
|
122
122
|
disableMinus: boolean;
|
|
123
123
|
disableInput: boolean;
|
|
124
124
|
defaultValue: string | number;
|
|
125
|
-
}>>;
|
|
125
|
+
}, {}>>;
|
|
126
126
|
export default Stepper;
|
|
127
127
|
export type { StepperTheme, StepperProps } from './Stepper';
|
|
128
128
|
declare module 'vue' {
|
package/es/steps/Steps.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type InjectionKey } from 'vue';
|
|
2
|
-
export
|
|
2
|
+
export type StepsDirection = 'horizontal' | 'vertical';
|
|
3
3
|
export declare const stepsProps: {
|
|
4
4
|
active: {
|
|
5
5
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -18,8 +18,8 @@ export declare const stepsProps: {
|
|
|
18
18
|
inactiveBorderColor: StringConstructor;
|
|
19
19
|
titleInactiveColor: StringConstructor;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
22
|
-
export
|
|
21
|
+
export type StepsProps = ExtractPropTypes<typeof stepsProps>;
|
|
22
|
+
export type StepsProvide = {
|
|
23
23
|
props: StepsProps;
|
|
24
24
|
onClickStep: (index: number) => void;
|
|
25
25
|
};
|
|
@@ -63,5 +63,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
63
|
}, {
|
|
64
64
|
direction: StepsDirection;
|
|
65
65
|
active: string | number;
|
|
66
|
-
}>;
|
|
66
|
+
}, {}>;
|
|
67
67
|
export default _default;
|
package/es/steps/index.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export declare const Steps: import("../utils").WithInstall<import("vue").DefineC
|
|
|
37
37
|
}, {
|
|
38
38
|
direction: import("./Steps").StepsDirection;
|
|
39
39
|
active: string | number;
|
|
40
|
-
}>>;
|
|
40
|
+
}, {}>>;
|
|
41
41
|
export default Steps;
|
|
42
42
|
export { stepsProps } from './Steps';
|
|
43
43
|
export type { StepsProps, StepsDirection } from './Steps';
|
package/es/sticky/Sticky.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
export
|
|
2
|
+
export type StickyPosition = 'top' | 'bottom';
|
|
3
3
|
declare const stickyProps: {
|
|
4
4
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
5
5
|
position: {
|
|
@@ -16,7 +16,7 @@ declare const stickyProps: {
|
|
|
16
16
|
default: number;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type StickyProps = ExtractPropTypes<typeof stickyProps>;
|
|
20
20
|
declare const _default: import("vue").DefineComponent<{
|
|
21
21
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
22
22
|
position: {
|
|
@@ -54,5 +54,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
position: StickyPosition;
|
|
55
55
|
offsetTop: string | number;
|
|
56
56
|
offsetBottom: string | number;
|
|
57
|
-
}>;
|
|
57
|
+
}, {}>;
|
|
58
58
|
export default _default;
|
package/es/sticky/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export declare const Sticky: import("../utils").WithInstall<import("vue").Define
|
|
|
35
35
|
position: import("./Sticky").StickyPosition;
|
|
36
36
|
offsetTop: string | number;
|
|
37
37
|
offsetBottom: string | number;
|
|
38
|
-
}>>;
|
|
38
|
+
}, {}>>;
|
|
39
39
|
export default Sticky;
|
|
40
40
|
export type { StickyProps, StickyPosition } from './Sticky';
|
|
41
41
|
declare module 'vue' {
|
package/es/swipe/Swipe.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ declare const swipeProps: {
|
|
|
36
36
|
};
|
|
37
37
|
title: ArrayConstructor;
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export type SwipeProps = ExtractPropTypes<typeof swipeProps>;
|
|
40
40
|
export declare const SWIPE_KEY: InjectionKey<SwipeProvide>;
|
|
41
41
|
declare const _default: import("vue").DefineComponent<{
|
|
42
42
|
loop: {
|
|
@@ -122,5 +122,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
122
122
|
initialSwipe: string | number;
|
|
123
123
|
showIndicators: boolean;
|
|
124
124
|
stopPropagation: boolean;
|
|
125
|
-
}>;
|
|
125
|
+
}, {}>;
|
|
126
126
|
export default _default;
|
package/es/swipe/Swipe.mjs
CHANGED
|
@@ -165,7 +165,7 @@ var stdin_default = defineComponent({
|
|
|
165
165
|
const stopAutoplay = () => clearTimeout(autoplayTimer);
|
|
166
166
|
const autoplay = () => {
|
|
167
167
|
stopAutoplay();
|
|
168
|
-
if (props.autoplay > 0 && count.value > 1) {
|
|
168
|
+
if (+props.autoplay > 0 && count.value > 1) {
|
|
169
169
|
autoplayTimer = setTimeout(() => {
|
|
170
170
|
next();
|
|
171
171
|
autoplay();
|