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/field/Field.mjs
CHANGED
|
@@ -185,7 +185,7 @@ var stdin_default = defineComponent({
|
|
|
185
185
|
const {
|
|
186
186
|
maxlength
|
|
187
187
|
} = props;
|
|
188
|
-
if (isDef(maxlength) && getStringLength(value) > maxlength) {
|
|
188
|
+
if (isDef(maxlength) && getStringLength(value) > +maxlength) {
|
|
189
189
|
const modelValue = getModelValue();
|
|
190
190
|
if (modelValue && getStringLength(modelValue) === +maxlength) {
|
|
191
191
|
return modelValue;
|
|
@@ -380,7 +380,7 @@ var stdin_default = defineComponent({
|
|
|
380
380
|
return _createVNode("div", {
|
|
381
381
|
"class": bem("word-limit")
|
|
382
382
|
}, [_createVNode("span", {
|
|
383
|
-
"class": bem("word-num", count >= props.maxlength ? "exceed" : "")
|
|
383
|
+
"class": bem("word-num", count >= +props.maxlength ? "exceed" : "")
|
|
384
384
|
}, [count]), _createTextVNode("/"), props.maxlength]);
|
|
385
385
|
}
|
|
386
386
|
};
|
package/es/field/index.d.ts
CHANGED
|
@@ -202,7 +202,6 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
|
202
202
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
203
203
|
}, {
|
|
204
204
|
type: import("./types").FieldType;
|
|
205
|
-
required: boolean;
|
|
206
205
|
autofocus: boolean;
|
|
207
206
|
disabled: boolean;
|
|
208
207
|
value: string;
|
|
@@ -210,6 +209,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
|
210
209
|
center: boolean;
|
|
211
210
|
isLink: boolean;
|
|
212
211
|
border: boolean;
|
|
212
|
+
required: boolean;
|
|
213
213
|
clickable: boolean | null;
|
|
214
214
|
clearable: boolean;
|
|
215
215
|
clearIcon: string;
|
|
@@ -221,7 +221,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
|
221
221
|
showWordLimit: boolean;
|
|
222
222
|
description: string;
|
|
223
223
|
colon: boolean;
|
|
224
|
-
}>>;
|
|
224
|
+
}, {}>>;
|
|
225
225
|
export default Field;
|
|
226
226
|
export type { FieldProps };
|
|
227
227
|
export type { FieldType, FieldRule, FieldInstance, FieldTextAlign, FieldRuleMessage, FieldClearTrigger, FieldFormatTrigger, FieldRuleValidator, FiledRuleFormatter, FieldValidateError, FieldAutosizeConfig, FieldValidateTrigger, FieldValidationStatus, } from './types';
|
package/es/field/types.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import type { ComputedRef, ComponentPublicInstance } from 'vue';
|
|
2
2
|
import type { FieldProps } from './Field';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
3
|
+
export type FieldType = 'tel' | 'url' | 'date' | 'file' | 'text' | 'time' | 'week' | 'color' | 'digit' | 'email' | 'image' | 'month' | 'radio' | 'range' | 'reset' | 'button' | 'hidden' | 'number' | 'search' | 'submit' | 'checkbox' | 'password' | 'textarea' | 'datetime-local';
|
|
4
|
+
export type FieldTextAlign = 'left' | 'center' | 'right';
|
|
5
|
+
export type FieldClearTrigger = 'always' | 'focus';
|
|
6
|
+
export type FieldFormatTrigger = 'onBlur' | 'onChange';
|
|
7
|
+
export type FieldValidateTrigger = 'onBlur' | 'onChange' | 'onSubmit';
|
|
8
|
+
export type FieldAutosizeConfig = {
|
|
9
9
|
maxHeight?: number;
|
|
10
10
|
minHeight?: number;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type FieldValidateError = {
|
|
13
13
|
name?: string;
|
|
14
14
|
message: string;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
16
|
+
export type FieldRuleMessage = string | ((value: any, rule: FieldRule) => string);
|
|
17
|
+
export type FieldRuleValidator = (value: any, rule: FieldRule) => boolean | string | Promise<boolean | string>;
|
|
18
|
+
export type FiledRuleFormatter = (value: any, rule: FieldRule) => string;
|
|
19
|
+
export type FieldRule = {
|
|
20
20
|
pattern?: RegExp;
|
|
21
21
|
trigger?: FieldValidateTrigger | FieldValidateTrigger[];
|
|
22
22
|
message?: FieldRuleMessage;
|
|
@@ -25,9 +25,9 @@ export declare type FieldRule = {
|
|
|
25
25
|
formatter?: FiledRuleFormatter;
|
|
26
26
|
validateEmpty?: boolean;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
28
|
+
export type FieldValidationStatus = 'passed' | 'failed' | 'unvalidated';
|
|
29
|
+
export type FieldFormSharedProps = 'colon' | 'disabled' | 'readonly' | 'labelWidth' | 'labelAlign' | 'inputAlign' | 'errorMessageAlign';
|
|
30
|
+
export type FieldExpose = {
|
|
31
31
|
blur: () => void | undefined;
|
|
32
32
|
focus: () => void | undefined;
|
|
33
33
|
validate: (rules?: FieldRule[] | undefined) => Promise<void | FieldValidateError>;
|
|
@@ -36,7 +36,7 @@ export declare type FieldExpose = {
|
|
|
36
36
|
/** @private */
|
|
37
37
|
formValue: ComputedRef<unknown>;
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export type FieldInstance = ComponentPublicInstance<FieldProps, FieldExpose>;
|
|
40
40
|
declare global {
|
|
41
41
|
interface EventTarget {
|
|
42
42
|
composing?: boolean;
|
package/es/form/Form.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ declare const formProps: {
|
|
|
24
24
|
default: string;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
export
|
|
27
|
+
export type FormProps = ExtractPropTypes<typeof formProps>;
|
|
28
28
|
declare const _default: import("vue").DefineComponent<{
|
|
29
29
|
colon: BooleanConstructor;
|
|
30
30
|
disabled: BooleanConstructor;
|
|
@@ -84,5 +84,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
84
|
submitOnEnter: boolean;
|
|
85
85
|
showErrorMessage: boolean;
|
|
86
86
|
validateTrigger: FieldValidateTrigger | FieldValidateTrigger[];
|
|
87
|
-
}>;
|
|
87
|
+
}, {}>;
|
|
88
88
|
export default _default;
|
package/es/form/index.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ export declare const Form: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
58
58
|
submitOnEnter: boolean;
|
|
59
59
|
showErrorMessage: boolean;
|
|
60
60
|
validateTrigger: import("..").FieldValidateTrigger | import("..").FieldValidateTrigger[];
|
|
61
|
-
}>>;
|
|
61
|
+
}, {}>>;
|
|
62
62
|
export default Form;
|
|
63
63
|
export type { FormProps };
|
|
64
64
|
export type { FormInstance } from './types';
|
package/es/form/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ComponentPublicInstance } from 'vue';
|
|
2
2
|
import type { FormProps } from './Form';
|
|
3
3
|
import type { FieldValidationStatus } from '../field';
|
|
4
|
-
export
|
|
4
|
+
export type FormExpose = {
|
|
5
5
|
submit: () => void;
|
|
6
6
|
validate: (name?: string | string[] | undefined) => Promise<void>;
|
|
7
7
|
getValues: () => Record<string, unknown>;
|
|
@@ -9,7 +9,7 @@ export declare type FormExpose = {
|
|
|
9
9
|
resetValidation: (name?: string | string[] | undefined) => void;
|
|
10
10
|
getValidationStatus: () => Record<string, FieldValidationStatus>;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type FormProvide = {
|
|
13
13
|
props: FormProps;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type FormInstance = ComponentPublicInstance<FormProps, FormExpose>;
|
package/es/grid/Grid.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType, InjectionKey, ExtractPropTypes } from 'vue';
|
|
2
|
-
export
|
|
2
|
+
export type GridDirection = 'horizontal' | 'vertical';
|
|
3
3
|
export declare const gridProps: {
|
|
4
4
|
square: BooleanConstructor;
|
|
5
5
|
center: {
|
|
@@ -20,8 +20,8 @@ export declare const gridProps: {
|
|
|
20
20
|
default: number;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
export
|
|
24
|
-
export
|
|
23
|
+
export type GridProps = ExtractPropTypes<typeof gridProps>;
|
|
24
|
+
export type GridProvide = {
|
|
25
25
|
props: GridProps;
|
|
26
26
|
};
|
|
27
27
|
export declare const GRID_KEY: InjectionKey<GridProvide>;
|
|
@@ -70,5 +70,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
clickable: boolean;
|
|
71
71
|
square: boolean;
|
|
72
72
|
columnNum: string | number;
|
|
73
|
-
}>;
|
|
73
|
+
}, {}>;
|
|
74
74
|
export default _default;
|
package/es/grid/index.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export declare const Grid: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
43
43
|
clickable: boolean;
|
|
44
44
|
square: boolean;
|
|
45
45
|
columnNum: string | number;
|
|
46
|
-
}>>;
|
|
46
|
+
}, {}>>;
|
|
47
47
|
export default Grid;
|
|
48
48
|
export { gridProps } from './Grid';
|
|
49
49
|
export type { GridProps, GridDirection } from './Grid';
|
|
@@ -13,7 +13,7 @@ export declare const gridItemProps: {
|
|
|
13
13
|
iconPrefix: StringConstructor;
|
|
14
14
|
badgeProps: PropType<Partial<BadgeProps>>;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type GridItemProps = ExtractPropTypes<typeof gridItemProps>;
|
|
17
17
|
declare const _default: import("vue").DefineComponent<{
|
|
18
18
|
to: PropType<import("vue-router").RouteLocationRaw>;
|
|
19
19
|
url: StringConstructor;
|
|
@@ -41,5 +41,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
41
|
}>>, {
|
|
42
42
|
replace: boolean;
|
|
43
43
|
dot: boolean;
|
|
44
|
-
}>;
|
|
44
|
+
}, {}>;
|
|
45
45
|
export default _default;
|
package/es/grid-item/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare const GridItem: import("../utils").WithInstall<import("vue").Defi
|
|
|
25
25
|
}>>, {
|
|
26
26
|
replace: boolean;
|
|
27
27
|
dot: boolean;
|
|
28
|
-
}>>;
|
|
28
|
+
}, {}>>;
|
|
29
29
|
export default GridItem;
|
|
30
30
|
export { gridItemProps } from './GridItem';
|
|
31
31
|
export type { GridItemProps } from './GridItem';
|
|
@@ -29,7 +29,7 @@ declare const hierarchySelectProps: {
|
|
|
29
29
|
};
|
|
30
30
|
autoChangeToChildren: BooleanConstructor;
|
|
31
31
|
};
|
|
32
|
-
export
|
|
32
|
+
export type HierarchySelectProps = ExtractPropTypes<typeof hierarchySelectProps>;
|
|
33
33
|
declare const _default: import("vue").DefineComponent<{
|
|
34
34
|
treeData: {
|
|
35
35
|
type: ArrayConstructor;
|
|
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
59
|
default: string;
|
|
60
60
|
};
|
|
61
61
|
autoChangeToChildren: BooleanConstructor;
|
|
62
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
62
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("selected" | "change" | "asyncGetter")[], "selected" | "change" | "asyncGetter", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
63
63
|
treeData: {
|
|
64
64
|
type: ArrayConstructor;
|
|
65
65
|
default: () => never[];
|
|
@@ -100,5 +100,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
100
|
treeData: unknown[];
|
|
101
101
|
disableParent: boolean;
|
|
102
102
|
autoChangeToChildren: boolean;
|
|
103
|
-
}>;
|
|
103
|
+
}, {}>;
|
|
104
104
|
export default _default;
|
|
@@ -27,7 +27,7 @@ export declare const HierarchySelect: import("../utils").WithInstall<import("vue
|
|
|
27
27
|
default: string;
|
|
28
28
|
};
|
|
29
29
|
autoChangeToChildren: BooleanConstructor;
|
|
30
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
30
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("selected" | "change" | "asyncGetter")[], "selected" | "change" | "asyncGetter", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
31
|
treeData: {
|
|
32
32
|
type: ArrayConstructor;
|
|
33
33
|
default: () => never[];
|
|
@@ -68,7 +68,7 @@ export declare const HierarchySelect: import("../utils").WithInstall<import("vue
|
|
|
68
68
|
treeData: unknown[];
|
|
69
69
|
disableParent: boolean;
|
|
70
70
|
autoChangeToChildren: boolean;
|
|
71
|
-
}>>;
|
|
71
|
+
}, {}>>;
|
|
72
72
|
export default HierarchySelect;
|
|
73
73
|
export type { HierarchySelectProps } from './HierarchySelect';
|
|
74
74
|
export type { HierarchyData } from './types';
|
package/es/icon/Icon.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ declare const iconProps: {
|
|
|
13
13
|
badgeProps: PropType<Partial<BadgeProps>>;
|
|
14
14
|
classPrefix: StringConstructor;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type IconProps = ExtractPropTypes<typeof iconProps>;
|
|
17
17
|
declare const _default: import("vue").DefineComponent<{
|
|
18
18
|
dot: BooleanConstructor;
|
|
19
19
|
tag: {
|
|
@@ -41,5 +41,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
41
|
}>>, {
|
|
42
42
|
dot: boolean;
|
|
43
43
|
tag: keyof HTMLElementTagNameMap;
|
|
44
|
-
}>;
|
|
44
|
+
}, {}>;
|
|
45
45
|
export default _default;
|
package/es/icon/config.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
|
-
|
|
2
|
+
let name: string;
|
|
3
3
|
namespace demo {
|
|
4
|
-
|
|
4
|
+
let basicIcon: {
|
|
5
5
|
name: string;
|
|
6
6
|
props: {
|
|
7
7
|
size: string;
|
|
8
8
|
};
|
|
9
9
|
}[];
|
|
10
|
-
|
|
10
|
+
let logoIcon: ({
|
|
11
11
|
name: string;
|
|
12
12
|
props: {
|
|
13
13
|
size: string;
|
|
@@ -22,20 +22,20 @@ declare namespace _default {
|
|
|
22
22
|
dot?: undefined;
|
|
23
23
|
};
|
|
24
24
|
})[];
|
|
25
|
-
|
|
25
|
+
let colorIcon: {
|
|
26
26
|
name: string;
|
|
27
27
|
props: {
|
|
28
28
|
size: string;
|
|
29
29
|
color: string;
|
|
30
30
|
};
|
|
31
31
|
}[];
|
|
32
|
-
|
|
32
|
+
let sizeIcon: {
|
|
33
33
|
name: string;
|
|
34
34
|
props: {
|
|
35
35
|
size: string;
|
|
36
36
|
};
|
|
37
37
|
}[];
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
let all: string[];
|
|
40
40
|
}
|
|
41
41
|
export default _default;
|
package/es/icon/index.d.ts
CHANGED
package/es/image/Image.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type ImageFit = 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
|
|
3
|
+
export type ImagePosition = 'center' | 'top' | 'right' | 'bottom' | 'left' | string;
|
|
4
4
|
declare const imageProps: {
|
|
5
5
|
src: StringConstructor;
|
|
6
6
|
alt: StringConstructor;
|
|
@@ -31,7 +31,7 @@ declare const imageProps: {
|
|
|
31
31
|
default: string;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
-
export
|
|
34
|
+
export type ImageProps = ExtractPropTypes<typeof imageProps>;
|
|
35
35
|
declare const _default: import("vue").DefineComponent<{
|
|
36
36
|
src: StringConstructor;
|
|
37
37
|
alt: StringConstructor;
|
|
@@ -101,5 +101,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
101
101
|
errorIcon: string;
|
|
102
102
|
showLoading: boolean;
|
|
103
103
|
loadingIcon: string;
|
|
104
|
-
}>;
|
|
104
|
+
}, {}>;
|
|
105
105
|
export default _default;
|
package/es/image/index.d.ts
CHANGED
|
@@ -67,7 +67,7 @@ export declare const Image: import("../utils").WithInstall<import("vue").DefineC
|
|
|
67
67
|
errorIcon: string;
|
|
68
68
|
showLoading: boolean;
|
|
69
69
|
loadingIcon: string;
|
|
70
|
-
}>>;
|
|
70
|
+
}, {}>>;
|
|
71
71
|
export default Image;
|
|
72
72
|
export type { ImageFit, ImageProps } from './Image';
|
|
73
73
|
declare module 'vue' {
|
|
@@ -56,7 +56,7 @@ export declare const imagePreviewProps: {
|
|
|
56
56
|
default: PopupCloseIconPosition;
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
|
-
export
|
|
59
|
+
export type ImagePreviewProps = ExtractPropTypes<typeof imagePreviewProps>;
|
|
60
60
|
declare const _default: import("vue").DefineComponent<{
|
|
61
61
|
show: BooleanConstructor;
|
|
62
62
|
loop: {
|
|
@@ -185,5 +185,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
185
185
|
images: ImageItem[];
|
|
186
186
|
showIndex: boolean;
|
|
187
187
|
startPosition: string | number;
|
|
188
|
-
}>;
|
|
188
|
+
}, {}>;
|
|
189
189
|
export default _default;
|
|
@@ -202,8 +202,9 @@ var stdin_default = defineComponent({
|
|
|
202
202
|
if (state.scale < 1) {
|
|
203
203
|
resetScale();
|
|
204
204
|
}
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
const maxZoom = +props.maxZoom;
|
|
206
|
+
if (state.scale > maxZoom) {
|
|
207
|
+
state.scale = maxZoom;
|
|
207
208
|
}
|
|
208
209
|
}
|
|
209
210
|
}
|
|
@@ -127,7 +127,7 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
|
|
|
127
127
|
images: import("./types").ImageItem[];
|
|
128
128
|
showIndex: boolean;
|
|
129
129
|
startPosition: string | number;
|
|
130
|
-
}>>;
|
|
130
|
+
}, {}>>;
|
|
131
131
|
export default ImagePreview;
|
|
132
132
|
export { imagePreviewProps } from './ImagePreview';
|
|
133
133
|
export { showImagePreview } from './function-call';
|
|
@@ -3,11 +3,11 @@ import type { Interceptor } from '../utils';
|
|
|
3
3
|
import type { SwipeToOptions } from '../swipe';
|
|
4
4
|
import type { PopupCloseIconPosition } from '../popup';
|
|
5
5
|
import type { ImagePreviewProps } from './ImagePreview';
|
|
6
|
-
export
|
|
6
|
+
export type ImageItem = {
|
|
7
7
|
url: string;
|
|
8
8
|
title?: string;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type ImagePreviewOptions = {
|
|
11
11
|
loop?: boolean;
|
|
12
12
|
images: ImageItem[];
|
|
13
13
|
maxZoom?: number;
|
|
@@ -33,11 +33,11 @@ export declare type ImagePreviewOptions = {
|
|
|
33
33
|
}): void;
|
|
34
34
|
onChange?(index: number): void;
|
|
35
35
|
};
|
|
36
|
-
export
|
|
36
|
+
export type ImagePreviewScaleEventParams = {
|
|
37
37
|
scale: number;
|
|
38
38
|
index: number;
|
|
39
39
|
};
|
|
40
|
-
export
|
|
40
|
+
export type ImagePreviewExpose = {
|
|
41
41
|
swipeTo: (index: number, options?: SwipeToOptions) => void;
|
|
42
42
|
};
|
|
43
|
-
export
|
|
43
|
+
export type ImagePreviewInstance = ComponentPublicInstance<ImagePreviewProps, ImagePreviewExpose>;
|
|
@@ -2,10 +2,10 @@ import { type ExtractPropTypes } from 'vue';
|
|
|
2
2
|
export declare const indexAnchorProps: {
|
|
3
3
|
index: (NumberConstructor | StringConstructor)[];
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type IndexAnchorProps = ExtractPropTypes<typeof indexAnchorProps>;
|
|
6
6
|
declare const _default: import("vue").DefineComponent<{
|
|
7
7
|
index: (NumberConstructor | StringConstructor)[];
|
|
8
8
|
}, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
9
9
|
index: (NumberConstructor | StringConstructor)[];
|
|
10
|
-
}>>, {}>;
|
|
10
|
+
}>>, {}, {}>;
|
|
11
11
|
export default _default;
|
|
@@ -2,7 +2,7 @@ export declare const IndexAnchor: import("../utils").WithInstall<import("vue").D
|
|
|
2
2
|
index: (NumberConstructor | StringConstructor)[];
|
|
3
3
|
}, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4
4
|
index: (NumberConstructor | StringConstructor)[];
|
|
5
|
-
}>>, {}>>;
|
|
5
|
+
}>>, {}, {}>>;
|
|
6
6
|
export default IndexAnchor;
|
|
7
7
|
export { indexAnchorProps } from './IndexAnchor';
|
|
8
8
|
export type { IndexAnchorProps } from './IndexAnchor';
|
|
@@ -19,7 +19,7 @@ export declare const indexBarProps: {
|
|
|
19
19
|
default: typeof genAlphabet;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
export
|
|
22
|
+
export type IndexBarProps = ExtractPropTypes<typeof indexBarProps>;
|
|
23
23
|
export declare const INDEX_BAR_KEY: InjectionKey<IndexBarProvide>;
|
|
24
24
|
declare const _default: import("vue").DefineComponent<{
|
|
25
25
|
sticky: {
|
|
@@ -60,5 +60,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
sticky: boolean;
|
|
61
61
|
stickyOffsetTop: number;
|
|
62
62
|
indexList: Numeric[];
|
|
63
|
-
}>;
|
|
63
|
+
}, {}>;
|
|
64
64
|
export default _default;
|
package/es/index-bar/index.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export declare const IndexBar: import("../utils").WithInstall<import("vue").Defi
|
|
|
38
38
|
sticky: boolean;
|
|
39
39
|
stickyOffsetTop: number;
|
|
40
40
|
indexList: import("../utils").Numeric[];
|
|
41
|
-
}>>;
|
|
41
|
+
}, {}>>;
|
|
42
42
|
export default IndexBar;
|
|
43
43
|
export { indexBarProps } from './IndexBar';
|
|
44
44
|
export type { IndexBarProps };
|
package/es/index-bar/types.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { ComponentPublicInstance } from 'vue';
|
|
2
2
|
import type { Numeric } from '../utils';
|
|
3
3
|
import type { IndexBarProps } from './IndexBar';
|
|
4
|
-
export
|
|
4
|
+
export type IndexBarProvide = {
|
|
5
5
|
props: IndexBarProps;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type IndexBarExpose = {
|
|
8
8
|
scrollTo: (index: Numeric) => void;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
11
|
-
export
|
|
10
|
+
export type IndexBarInstance = ComponentPublicInstance<IndexBarProps, IndexBarExpose>;
|
|
11
|
+
export type IndexBarThemeVars = {
|
|
12
12
|
indexBarSidebarZIndex?: number | string;
|
|
13
13
|
indexBarIndexFontSize?: string;
|
|
14
14
|
indexBarIndexLineHeight?: number | string;
|
package/es/index.d.ts
CHANGED
package/es/index.mjs
CHANGED
|
@@ -70,7 +70,7 @@ import { TimePicker } from "./time-picker/index.mjs";
|
|
|
70
70
|
import { Timeline } from "./timeline/index.mjs";
|
|
71
71
|
import { Toast } from "./toast/index.mjs";
|
|
72
72
|
import { Uploader } from "./uploader/index.mjs";
|
|
73
|
-
const version = "3.0
|
|
73
|
+
const version = "3.1.0";
|
|
74
74
|
function install(app) {
|
|
75
75
|
const components = [
|
|
76
76
|
ActionSheet,
|
package/es/list/List.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ declare const listProps: {
|
|
|
20
20
|
default: true;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type ListProps = ExtractPropTypes<typeof listProps>;
|
|
24
24
|
declare const _default: import("vue").DefineComponent<{
|
|
25
25
|
error: BooleanConstructor;
|
|
26
26
|
offset: {
|
|
@@ -70,5 +70,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
loading: boolean;
|
|
71
71
|
finished: boolean;
|
|
72
72
|
immediateCheck: boolean;
|
|
73
|
-
}>;
|
|
73
|
+
}, {}>;
|
|
74
74
|
export default _default;
|
package/es/list/List.mjs
CHANGED
package/es/list/index.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export declare const List: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
48
48
|
loading: boolean;
|
|
49
49
|
finished: boolean;
|
|
50
50
|
immediateCheck: boolean;
|
|
51
|
-
}>>;
|
|
51
|
+
}, {}>>;
|
|
52
52
|
export default List;
|
|
53
53
|
export type { ListProps };
|
|
54
54
|
export type { ListInstance, ListDirection } from './types';
|
package/es/list/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ComponentPublicInstance } from 'vue';
|
|
2
2
|
import type { ListProps } from './List';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type ListDirection = 'up' | 'down';
|
|
4
|
+
export type ListExpose = {
|
|
5
5
|
check: () => void;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type ListInstance = ComponentPublicInstance<ListProps, ListExpose>;
|
package/es/loading/Loading.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ExtractPropTypes } from 'vue';
|
|
2
|
-
export
|
|
2
|
+
export type LoadingType = 'circular' | 'spinner' | 'snake';
|
|
3
3
|
declare const loadingProps: {
|
|
4
4
|
size: (NumberConstructor | StringConstructor)[];
|
|
5
5
|
type: {
|
|
@@ -11,7 +11,7 @@ declare const loadingProps: {
|
|
|
11
11
|
textSize: (NumberConstructor | StringConstructor)[];
|
|
12
12
|
textColor: StringConstructor;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type LoadingProps = ExtractPropTypes<typeof loadingProps>;
|
|
15
15
|
declare const _default: import("vue").DefineComponent<{
|
|
16
16
|
size: (NumberConstructor | StringConstructor)[];
|
|
17
17
|
type: {
|
|
@@ -35,5 +35,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
}>>, {
|
|
36
36
|
type: LoadingType;
|
|
37
37
|
vertical: boolean;
|
|
38
|
-
}>;
|
|
38
|
+
}, {}>;
|
|
39
39
|
export default _default;
|
package/es/loading/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare const Loading: import("../utils").WithInstall<import("vue").Defin
|
|
|
21
21
|
}>>, {
|
|
22
22
|
type: import("./Loading").LoadingType;
|
|
23
23
|
vertical: boolean;
|
|
24
|
-
}>>;
|
|
24
|
+
}, {}>>;
|
|
25
25
|
export default Loading;
|
|
26
26
|
export type { LoadingType, LoadingProps } from './Loading';
|
|
27
27
|
declare module 'vue' {
|