zartui 3.1.23-beta.1 → 3.1.23-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/es/action-sheet/ActionSheet.d.ts +5 -5
- package/es/action-sheet/ActionSheet.mjs +1 -2
- package/es/action-sheet/index.d.ts +5 -5
- package/es/audio/Audio.d.ts +95 -0
- package/es/audio/Audio.mjs +226 -0
- package/es/audio/index.css +1 -0
- package/es/audio/index.d.ts +75 -0
- package/es/audio/index.mjs +10 -0
- package/es/audio/style/index.d.ts +1 -0
- package/es/audio/style/index.mjs +5 -0
- package/es/audio/types.d.ts +3 -0
- package/es/audio/types.mjs +4 -0
- package/es/avatar/Avatar.d.ts +4 -4
- package/es/avatar/Avatar.mjs +1 -2
- package/es/avatar/index.d.ts +4 -4
- package/es/badge/Badge.d.ts +4 -4
- package/es/badge/Badge.mjs +1 -2
- package/es/badge/index.d.ts +4 -4
- package/es/button/Button.d.ts +8 -5
- package/es/button/Button.mjs +1 -2
- package/es/button/index.d.ts +7 -5
- package/es/calendar/Calendar.d.ts +5 -5
- package/es/calendar/Calendar.mjs +1 -2
- package/es/calendar/CalendarDay.d.ts +5 -5
- package/es/calendar/CalendarDay.mjs +1 -2
- package/es/calendar/CalendarHeader.d.ts +5 -5
- package/es/calendar/CalendarHeader.mjs +1 -2
- package/es/calendar/CalendarMonth.d.ts +5 -5
- package/es/calendar/CalendarMonth.mjs +1 -2
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +5 -5
- package/es/cascader/Cascader.d.ts +5 -5
- package/es/cascader/Cascader.mjs +1 -2
- package/es/cascader/index.d.ts +5 -5
- package/es/cell/Cell.d.ts +8 -5
- package/es/cell/Cell.mjs +1 -2
- package/es/cell/index.d.ts +7 -5
- package/es/cell-group/CellGroup.d.ts +4 -4
- package/es/cell-group/CellGroup.mjs +1 -2
- package/es/cell-group/index.d.ts +4 -4
- package/es/checkbox/Checkbox.d.ts +5 -5
- package/es/checkbox/Checkbox.mjs +1 -2
- package/es/checkbox/Checker.d.ts +5 -5
- package/es/checkbox/Checker.mjs +1 -2
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.d.ts +5 -5
- package/es/checkbox-group/CheckboxGroup.d.ts +5 -5
- package/es/checkbox-group/CheckboxGroup.mjs +1 -2
- package/es/checkbox-group/index.d.ts +5 -5
- package/es/col/Col.d.ts +4 -4
- package/es/col/Col.mjs +1 -2
- package/es/col/index.d.ts +4 -4
- package/es/collapse/Collapse.d.ts +5 -5
- package/es/collapse/Collapse.mjs +1 -2
- package/es/collapse/index.d.ts +5 -5
- package/es/collapse-item/CollapseItem.d.ts +4 -4
- package/es/collapse-item/CollapseItem.mjs +1 -2
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.d.ts +4 -4
- package/es/composables/use-height.d.ts +1 -1
- package/es/composables/use-refs.d.ts +1 -1
- package/es/composables/use-route.d.ts +2 -0
- package/es/composables/use-route.mjs +2 -1
- package/es/composables/use-sync-prop-ref.d.ts +1 -1
- package/es/composables/use-touch.d.ts +8 -8
- package/es/config-provider/ConfigProvider.d.ts +4 -4
- package/es/config-provider/ConfigProvider.mjs +1 -2
- package/es/config-provider/index.d.ts +4 -4
- package/es/date-time-picker/DateTimePicker.d.ts +5 -5
- package/es/date-time-picker/DateTimePicker.mjs +1 -2
- package/es/date-time-picker/DateTimePickerWrapper.d.ts +5 -5
- package/es/date-time-picker/DateTimePickerWrapper.mjs +1 -2
- package/es/date-time-picker/index.d.ts +5 -5
- package/es/dialog/Dialog.d.ts +5 -5
- package/es/dialog/Dialog.mjs +1 -2
- package/es/dialog/function-call.mjs +1 -1
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.d.ts +5 -5
- package/es/divider/Divider.d.ts +4 -4
- package/es/divider/Divider.mjs +1 -2
- package/es/divider/index.d.ts +4 -4
- package/es/drawer-select/DrawerSelect.d.ts +5 -5
- package/es/drawer-select/DrawerSelect.mjs +1 -2
- package/es/drawer-select/index.d.ts +5 -5
- package/es/dropdown-item/DropdownItem.d.ts +6 -6
- package/es/dropdown-item/DropdownItem.mjs +1 -2
- package/es/dropdown-item/index.d.ts +6 -6
- package/es/dropdown-menu/DropdownMenu.d.ts +4 -4
- package/es/dropdown-menu/DropdownMenu.mjs +1 -2
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.d.ts +4 -4
- package/es/empty/Empty.d.ts +4 -4
- package/es/empty/Empty.mjs +1 -2
- package/es/empty/index.d.ts +4 -4
- package/es/field/Field.d.ts +5 -5
- package/es/field/Field.mjs +1 -2
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +5 -5
- package/es/floating-bubble/FloatingBubble.d.ts +5 -5
- package/es/floating-bubble/FloatingBubble.mjs +1 -2
- package/es/floating-bubble/index.css +1 -1
- package/es/floating-bubble/index.d.ts +5 -5
- package/es/form/Form.d.ts +5 -5
- package/es/form/Form.mjs +1 -2
- package/es/form/index.d.ts +5 -5
- package/es/grid/Grid.d.ts +4 -4
- package/es/grid/Grid.mjs +1 -2
- package/es/grid/index.d.ts +4 -4
- package/es/grid-item/GridItem.d.ts +7 -4
- package/es/grid-item/GridItem.mjs +1 -2
- package/es/grid-item/index.d.ts +6 -4
- package/es/hierarchy-select/Breadcrumb.d.ts +5 -5
- package/es/hierarchy-select/Breadcrumb.mjs +1 -2
- package/es/hierarchy-select/HierarchySelect.d.ts +5 -5
- package/es/hierarchy-select/HierarchySelect.mjs +1 -2
- package/es/hierarchy-select/index.d.ts +5 -5
- package/es/icon/Icon.d.ts +4 -4
- package/es/icon/Icon.mjs +1 -2
- package/es/icon/config.mjs +1 -0
- package/es/icon/index.css +1 -1
- package/es/icon/index.d.ts +4 -4
- package/es/image/Image.d.ts +5 -5
- package/es/image/Image.mjs +1 -2
- package/es/image/index.d.ts +5 -5
- package/es/image-preview/ImagePreview.d.ts +5 -5
- package/es/image-preview/ImagePreview.mjs +1 -2
- package/es/image-preview/ImagePreviewItem.d.ts +5 -5
- package/es/image-preview/ImagePreviewItem.mjs +1 -2
- package/es/image-preview/function-call.mjs +1 -1
- package/es/image-preview/index.d.ts +5 -5
- package/es/index-anchor/IndexAnchor.d.ts +3 -3
- package/es/index-anchor/IndexAnchor.mjs +1 -2
- package/es/index-anchor/index.d.ts +3 -3
- package/es/index-bar/IndexBar.d.ts +5 -5
- package/es/index-bar/IndexBar.mjs +1 -2
- package/es/index-bar/index.css +1 -1
- package/es/index-bar/index.d.ts +5 -5
- package/es/index.d.ts +2 -1
- package/es/index.mjs +4 -1
- package/es/list/List.d.ts +5 -5
- package/es/list/List.mjs +1 -2
- package/es/list/index.d.ts +5 -5
- package/es/loading/Loading.d.ts +4 -4
- package/es/loading/Loading.mjs +1 -2
- package/es/loading/index.d.ts +4 -4
- package/es/media-picker/MediaPicker.d.ts +9 -5
- package/es/media-picker/MediaPicker.mjs +5 -4
- package/es/media-picker/image/DefaultAudioIcon.d.ts +1 -1
- package/es/media-picker/image/DefaultAudioIcon.mjs +1 -2
- package/es/media-picker/image/DefaultFileIcon.d.ts +1 -1
- package/es/media-picker/image/DefaultFileIcon.mjs +1 -2
- package/es/media-picker/image/DefaultVideoIcon.d.ts +1 -1
- package/es/media-picker/image/DefaultVideoIcon.mjs +1 -2
- package/es/media-picker/image/DeleteIcon.d.ts +1 -1
- package/es/media-picker/image/DeleteIcon.mjs +1 -2
- package/es/media-picker/image/PickFileIcon.d.ts +1 -1
- package/es/media-picker/image/PickFileIcon.mjs +1 -2
- package/es/media-picker/image/PickPhotoIcon.d.ts +1 -1
- package/es/media-picker/image/PickPhotoIcon.mjs +1 -2
- package/es/media-picker/image/TakeAudioIcon.d.ts +1 -1
- package/es/media-picker/image/TakeAudioIcon.mjs +1 -2
- package/es/media-picker/image/TakePhotoIcon.d.ts +1 -1
- package/es/media-picker/image/TakePhotoIcon.mjs +1 -2
- package/es/media-picker/image/TakeVideoIcon.d.ts +1 -1
- package/es/media-picker/image/TakeVideoIcon.mjs +1 -2
- package/es/media-picker/index.css +1 -1
- package/es/media-picker/index.d.ts +7 -5
- package/es/media-player/MediaPlayer.d.ts +21 -5
- package/es/media-player/MediaPlayer.mjs +7 -3
- package/es/media-player/index.d.ts +14 -5
- package/es/multiple-picker/MultiplePicker.d.ts +5 -5
- package/es/multiple-picker/MultiplePicker.mjs +1 -2
- package/es/multiple-picker/MultiplePickerOptions.d.ts +5 -5
- package/es/multiple-picker/MultiplePickerOptions.mjs +1 -2
- package/es/multiple-picker/index.css +1 -1
- package/es/multiple-picker/index.d.ts +5 -5
- package/es/nav-bar/NavBar.d.ts +5 -5
- package/es/nav-bar/NavBar.mjs +1 -2
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.d.ts +5 -5
- package/es/notice-bar/NoticeBar.d.ts +5 -5
- package/es/notice-bar/NoticeBar.mjs +1 -2
- package/es/notice-bar/index.d.ts +5 -5
- package/es/notify/Notify.d.ts +5 -5
- package/es/notify/Notify.mjs +1 -2
- package/es/notify/function-call.mjs +1 -1
- package/es/notify/index.d.ts +5 -5
- package/es/number-keyboard/NumberKeyboard.d.ts +6 -6
- package/es/number-keyboard/NumberKeyboard.mjs +1 -2
- package/es/number-keyboard/NumberKeyboardKey.d.ts +5 -5
- package/es/number-keyboard/NumberKeyboardKey.mjs +1 -2
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +6 -6
- package/es/overlay/Overlay.d.ts +4 -4
- package/es/overlay/Overlay.mjs +1 -2
- package/es/overlay/index.d.ts +4 -4
- package/es/password-input/PasswordInput.d.ts +5 -5
- package/es/password-input/PasswordInput.mjs +1 -2
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.d.ts +5 -5
- package/es/picker/Picker.d.ts +5 -5
- package/es/picker/Picker.mjs +1 -2
- package/es/picker/PickerColumn.d.ts +5 -5
- package/es/picker/PickerColumn.mjs +1 -2
- package/es/picker/PickerOptions.d.ts +5 -5
- package/es/picker/PickerOptions.mjs +1 -2
- package/es/picker/PickerToolbar.d.ts +4 -4
- package/es/picker/PickerToolbar.mjs +1 -2
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +5 -5
- package/es/popover/Popover.d.ts +5 -5
- package/es/popover/Popover.mjs +1 -2
- package/es/popover/index.d.ts +5 -5
- package/es/popup/Popup.d.ts +6 -6
- package/es/popup/Popup.mjs +1 -2
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +6 -6
- package/es/pull-refresh/PullRefresh.d.ts +5 -5
- package/es/pull-refresh/PullRefresh.mjs +1 -2
- package/es/pull-refresh/index.d.ts +5 -5
- package/es/radio/Radio.d.ts +5 -5
- package/es/radio/Radio.mjs +1 -2
- package/es/radio/index.css +1 -1
- package/es/radio/index.d.ts +5 -5
- package/es/radio-group/RadioGroup.d.ts +5 -5
- package/es/radio-group/RadioGroup.mjs +1 -2
- package/es/radio-group/index.d.ts +5 -5
- package/es/radio-picker/RadioPicker.d.ts +5 -5
- package/es/radio-picker/RadioPicker.mjs +1 -2
- package/es/radio-picker/RadioPickerColumn.d.ts +5 -5
- package/es/radio-picker/RadioPickerColumn.mjs +1 -2
- package/es/radio-picker/RadioPickerToolbar.d.ts +4 -4
- package/es/radio-picker/RadioPickerToolbar.mjs +1 -2
- package/es/radio-picker/index.css +1 -1
- package/es/radio-picker/index.d.ts +5 -5
- package/es/rate/Rate.d.ts +5 -5
- package/es/rate/Rate.mjs +1 -2
- package/es/rate/index.css +1 -1
- package/es/rate/index.d.ts +5 -5
- package/es/row/Row.d.ts +4 -4
- package/es/row/Row.mjs +1 -2
- package/es/row/index.d.ts +4 -4
- package/es/search/Search.d.ts +5 -5
- package/es/search/Search.mjs +1 -2
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +5 -5
- package/es/signature/Signature.d.ts +5 -5
- package/es/signature/Signature.mjs +1 -2
- package/es/signature/index.d.ts +5 -5
- package/es/skeleton/Skeleton.d.ts +5 -5
- package/es/skeleton/Skeleton.mjs +1 -2
- package/es/skeleton/index.d.ts +5 -5
- package/es/slider/Slider.d.ts +33 -7
- package/es/slider/Slider.mjs +16 -7
- package/es/slider/index.css +1 -1
- package/es/slider/index.d.ts +25 -7
- package/es/step/Step.d.ts +3 -3
- package/es/step/Step.mjs +1 -2
- package/es/step/index.css +1 -1
- package/es/step/index.d.ts +3 -3
- package/es/stepper/Stepper.d.ts +7 -7
- package/es/stepper/Stepper.mjs +1 -2
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +7 -7
- package/es/steps/Steps.d.ts +5 -5
- package/es/steps/Steps.mjs +1 -2
- package/es/steps/index.d.ts +5 -5
- package/es/sticky/Sticky.d.ts +5 -5
- package/es/sticky/Sticky.mjs +1 -2
- package/es/sticky/index.d.ts +5 -5
- package/es/swipe/Swipe.d.ts +6 -6
- package/es/swipe/Swipe.mjs +1 -2
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.d.ts +6 -6
- package/es/swipe-cell/SwipeCell.d.ts +6 -6
- package/es/swipe-cell/SwipeCell.mjs +1 -2
- package/es/swipe-cell/index.css +1 -1
- package/es/swipe-cell/index.d.ts +6 -6
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/SwipeItem.mjs +1 -2
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/Switch.d.ts +5 -5
- package/es/switch/Switch.mjs +1 -2
- package/es/switch/index.d.ts +5 -5
- package/es/tab/Tab.d.ts +7 -4
- package/es/tab/Tab.mjs +1 -2
- package/es/tab/index.d.ts +6 -4
- package/es/tabbar/Tabbar.d.ts +5 -5
- package/es/tabbar/Tabbar.mjs +1 -2
- package/es/tabbar/index.d.ts +5 -5
- package/es/tabbar-item/TabbarItem.d.ts +8 -5
- package/es/tabbar-item/TabbarItem.mjs +1 -2
- package/es/tabbar-item/index.css +1 -1
- package/es/tabbar-item/index.d.ts +7 -5
- package/es/table/Table.d.ts +5 -5
- package/es/table/Table.mjs +14 -4
- package/es/table/index.css +1 -1
- package/es/table/index.d.ts +5 -5
- package/es/tabs/Tabs.d.ts +5 -5
- package/es/tabs/Tabs.mjs +1 -2
- package/es/tabs/TabsContent.d.ts +5 -5
- package/es/tabs/TabsContent.mjs +1 -2
- package/es/tabs/TabsTitle.d.ts +4 -4
- package/es/tabs/TabsTitle.mjs +1 -2
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +5 -5
- package/es/tag/Tag.d.ts +5 -5
- package/es/tag/Tag.mjs +1 -2
- package/es/tag/index.d.ts +5 -5
- package/es/text-ellipsis/TextEllipsis.d.ts +5 -5
- package/es/text-ellipsis/TextEllipsis.mjs +1 -2
- package/es/text-ellipsis/index.d.ts +5 -5
- package/es/time-picker/Arrow.d.ts +2 -2
- package/es/time-picker/Arrow.mjs +1 -2
- package/es/time-picker/TimePicker.d.ts +5 -5
- package/es/time-picker/TimePicker.mjs +1 -2
- package/es/time-picker/TimePickerColumn.d.ts +5 -5
- package/es/time-picker/TimePickerColumn.mjs +1 -2
- package/es/time-picker/index.css +1 -1
- package/es/time-picker/index.d.ts +5 -5
- package/es/timeline/Timeline.d.ts +4 -4
- package/es/timeline/Timeline.mjs +1 -2
- package/es/timeline/index.d.ts +4 -4
- package/es/toast/Toast.d.ts +5 -5
- package/es/toast/Toast.mjs +1 -2
- package/es/toast/function-call.mjs +1 -2
- package/es/toast/index.css +1 -1
- package/es/toast/index.d.ts +5 -5
- package/es/uploader/Uploader.d.ts +5 -5
- package/es/uploader/Uploader.mjs +1 -2
- package/es/uploader/UploaderPreviewItem.d.ts +5 -5
- package/es/uploader/UploaderPreviewItem.mjs +1 -2
- package/es/uploader/index.d.ts +5 -5
- package/es/utils/dom.d.ts +1 -1
- package/es/utils/format.d.ts +1 -0
- package/es/utils/format.mjs +15 -0
- package/es/utils/mount-component.d.ts +1 -1
- package/es/video/Video.d.ts +8 -5
- package/es/video/Video.mjs +9 -28
- package/es/video/index.css +1 -1
- package/es/video/index.d.ts +7 -5
- package/es/video/types.d.ts +1 -0
- package/lib/action-sheet/ActionSheet.d.ts +5 -5
- package/lib/action-sheet/ActionSheet.js +2 -3
- package/lib/action-sheet/index.d.ts +5 -5
- package/lib/audio/Audio.d.ts +95 -0
- package/lib/audio/Audio.js +255 -0
- package/lib/audio/index.css +1 -0
- package/lib/audio/index.d.ts +75 -0
- package/lib/audio/index.js +39 -0
- package/lib/audio/style/index.d.ts +1 -0
- package/lib/audio/style/index.js +5 -0
- package/lib/audio/types.d.ts +3 -0
- package/lib/audio/types.js +23 -0
- package/lib/avatar/Avatar.d.ts +4 -4
- package/lib/avatar/Avatar.js +4 -5
- package/lib/avatar/index.d.ts +4 -4
- package/lib/badge/Badge.d.ts +4 -4
- package/lib/badge/Badge.js +2 -3
- package/lib/badge/index.d.ts +4 -4
- package/lib/button/Button.d.ts +8 -5
- package/lib/button/Button.js +1 -2
- package/lib/button/index.d.ts +7 -5
- package/lib/calendar/Calendar.d.ts +5 -5
- package/lib/calendar/Calendar.js +19 -20
- package/lib/calendar/CalendarDay.d.ts +5 -5
- package/lib/calendar/CalendarDay.js +2 -3
- package/lib/calendar/CalendarHeader.d.ts +5 -5
- package/lib/calendar/CalendarHeader.js +1 -2
- package/lib/calendar/CalendarMonth.d.ts +5 -5
- package/lib/calendar/CalendarMonth.js +11 -12
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +5 -5
- package/lib/cascader/Cascader.d.ts +5 -5
- package/lib/cascader/Cascader.js +11 -12
- package/lib/cascader/index.d.ts +5 -5
- package/lib/cell/Cell.d.ts +8 -5
- package/lib/cell/Cell.js +5 -6
- package/lib/cell/index.d.ts +7 -5
- package/lib/cell-group/CellGroup.d.ts +4 -4
- package/lib/cell-group/CellGroup.js +1 -2
- package/lib/cell-group/index.d.ts +4 -4
- package/lib/checkbox/Checkbox.d.ts +5 -5
- package/lib/checkbox/Checkbox.js +3 -4
- package/lib/checkbox/Checker.d.ts +5 -5
- package/lib/checkbox/Checker.js +5 -6
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.d.ts +5 -5
- package/lib/checkbox-group/CheckboxGroup.d.ts +5 -5
- package/lib/checkbox-group/CheckboxGroup.js +2 -3
- package/lib/checkbox-group/index.d.ts +5 -5
- package/lib/col/Col.d.ts +4 -4
- package/lib/col/Col.js +2 -3
- package/lib/col/index.d.ts +4 -4
- package/lib/collapse/Collapse.d.ts +5 -5
- package/lib/collapse/Collapse.js +1 -2
- package/lib/collapse/index.d.ts +5 -5
- package/lib/collapse-item/CollapseItem.d.ts +4 -4
- package/lib/collapse-item/CollapseItem.js +8 -9
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.d.ts +4 -4
- package/lib/composables/use-height.d.ts +1 -1
- package/lib/composables/use-refs.d.ts +1 -1
- package/lib/composables/use-route.d.ts +2 -0
- package/lib/composables/use-route.js +2 -1
- package/lib/composables/use-sync-prop-ref.d.ts +1 -1
- package/lib/composables/use-touch.d.ts +8 -8
- package/lib/config-provider/ConfigProvider.d.ts +4 -4
- package/lib/config-provider/ConfigProvider.js +10 -11
- package/lib/config-provider/index.d.ts +4 -4
- package/lib/date-time-picker/DateTimePicker.d.ts +5 -5
- package/lib/date-time-picker/DateTimePicker.js +17 -18
- package/lib/date-time-picker/DateTimePickerWrapper.d.ts +5 -5
- package/lib/date-time-picker/DateTimePickerWrapper.js +12 -13
- package/lib/date-time-picker/index.d.ts +5 -5
- package/lib/dialog/Dialog.d.ts +5 -5
- package/lib/dialog/Dialog.js +4 -5
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.d.ts +5 -5
- package/lib/divider/Divider.d.ts +4 -4
- package/lib/divider/Divider.js +1 -2
- package/lib/divider/index.d.ts +4 -4
- package/lib/drawer-select/DrawerSelect.d.ts +5 -5
- package/lib/drawer-select/DrawerSelect.js +13 -14
- package/lib/drawer-select/index.d.ts +5 -5
- package/lib/dropdown-item/DropdownItem.d.ts +6 -6
- package/lib/dropdown-item/DropdownItem.js +5 -6
- package/lib/dropdown-item/index.d.ts +6 -6
- package/lib/dropdown-menu/DropdownMenu.d.ts +4 -4
- package/lib/dropdown-menu/DropdownMenu.js +6 -7
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.d.ts +4 -4
- package/lib/empty/Empty.d.ts +4 -4
- package/lib/empty/Empty.js +1 -2
- package/lib/empty/index.d.ts +4 -4
- package/lib/field/Field.d.ts +5 -5
- package/lib/field/Field.js +18 -19
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +5 -5
- package/lib/floating-bubble/FloatingBubble.d.ts +5 -5
- package/lib/floating-bubble/FloatingBubble.js +14 -15
- package/lib/floating-bubble/index.css +1 -1
- package/lib/floating-bubble/index.d.ts +5 -5
- package/lib/form/Form.d.ts +5 -5
- package/lib/form/Form.js +1 -2
- package/lib/form/index.d.ts +5 -5
- package/lib/grid/Grid.d.ts +4 -4
- package/lib/grid/Grid.js +1 -2
- package/lib/grid/index.d.ts +4 -4
- package/lib/grid-item/GridItem.d.ts +7 -4
- package/lib/grid-item/GridItem.js +3 -4
- package/lib/grid-item/index.d.ts +6 -4
- package/lib/hierarchy-select/Breadcrumb.d.ts +5 -5
- package/lib/hierarchy-select/Breadcrumb.js +1 -2
- package/lib/hierarchy-select/HierarchySelect.d.ts +5 -5
- package/lib/hierarchy-select/HierarchySelect.js +6 -7
- package/lib/hierarchy-select/index.d.ts +5 -5
- package/lib/icon/Icon.d.ts +4 -4
- package/lib/icon/Icon.js +3 -4
- package/lib/icon/config.js +1 -0
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.d.ts +4 -4
- package/lib/image/Image.d.ts +5 -5
- package/lib/image/Image.js +9 -10
- package/lib/image/index.d.ts +5 -5
- package/lib/image-preview/ImagePreview.d.ts +5 -5
- package/lib/image-preview/ImagePreview.js +8 -9
- package/lib/image-preview/ImagePreviewItem.d.ts +5 -5
- package/lib/image-preview/ImagePreviewItem.js +10 -11
- package/lib/image-preview/index.d.ts +5 -5
- package/lib/index-anchor/IndexAnchor.d.ts +3 -3
- package/lib/index-anchor/IndexAnchor.js +4 -5
- package/lib/index-anchor/index.d.ts +3 -3
- package/lib/index-bar/IndexBar.d.ts +5 -5
- package/lib/index-bar/IndexBar.js +12 -13
- package/lib/index-bar/index.css +1 -1
- package/lib/index-bar/index.d.ts +5 -5
- package/lib/index.css +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +4 -1
- package/lib/list/List.d.ts +5 -5
- package/lib/list/List.js +10 -11
- package/lib/list/index.d.ts +5 -5
- package/lib/loading/Loading.d.ts +4 -4
- package/lib/loading/Loading.js +2 -3
- package/lib/loading/index.d.ts +4 -4
- package/lib/media-picker/MediaPicker.d.ts +9 -5
- package/lib/media-picker/MediaPicker.js +4 -3
- package/lib/media-picker/image/DefaultAudioIcon.d.ts +1 -1
- package/lib/media-picker/image/DefaultAudioIcon.js +1 -2
- package/lib/media-picker/image/DefaultFileIcon.d.ts +1 -1
- package/lib/media-picker/image/DefaultFileIcon.js +1 -2
- package/lib/media-picker/image/DefaultVideoIcon.d.ts +1 -1
- package/lib/media-picker/image/DefaultVideoIcon.js +1 -2
- package/lib/media-picker/image/DeleteIcon.d.ts +1 -1
- package/lib/media-picker/image/DeleteIcon.js +1 -2
- package/lib/media-picker/image/PickFileIcon.d.ts +1 -1
- package/lib/media-picker/image/PickFileIcon.js +1 -2
- package/lib/media-picker/image/PickPhotoIcon.d.ts +1 -1
- package/lib/media-picker/image/PickPhotoIcon.js +1 -2
- package/lib/media-picker/image/TakeAudioIcon.d.ts +1 -1
- package/lib/media-picker/image/TakeAudioIcon.js +1 -2
- package/lib/media-picker/image/TakePhotoIcon.d.ts +1 -1
- package/lib/media-picker/image/TakePhotoIcon.js +1 -2
- package/lib/media-picker/image/TakeVideoIcon.d.ts +1 -1
- package/lib/media-picker/image/TakeVideoIcon.js +1 -2
- package/lib/media-picker/index.css +1 -1
- package/lib/media-picker/index.d.ts +7 -5
- package/lib/media-player/MediaPlayer.d.ts +21 -5
- package/lib/media-player/MediaPlayer.js +5 -1
- package/lib/media-player/index.d.ts +14 -5
- package/lib/multiple-picker/MultiplePicker.d.ts +5 -5
- package/lib/multiple-picker/MultiplePicker.js +9 -10
- package/lib/multiple-picker/MultiplePickerOptions.d.ts +5 -5
- package/lib/multiple-picker/MultiplePickerOptions.js +4 -5
- package/lib/multiple-picker/index.css +1 -1
- package/lib/multiple-picker/index.d.ts +5 -5
- package/lib/nav-bar/NavBar.d.ts +5 -5
- package/lib/nav-bar/NavBar.js +2 -3
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.d.ts +5 -5
- package/lib/notice-bar/NoticeBar.d.ts +5 -5
- package/lib/notice-bar/NoticeBar.js +5 -6
- package/lib/notice-bar/index.d.ts +5 -5
- package/lib/notify/Notify.d.ts +5 -5
- package/lib/notify/Notify.js +1 -2
- package/lib/notify/index.d.ts +5 -5
- package/lib/number-keyboard/NumberKeyboard.d.ts +6 -6
- package/lib/number-keyboard/NumberKeyboard.js +6 -7
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +5 -5
- package/lib/number-keyboard/NumberKeyboardKey.js +2 -3
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +6 -6
- package/lib/overlay/Overlay.d.ts +4 -4
- package/lib/overlay/Overlay.js +2 -3
- package/lib/overlay/index.d.ts +4 -4
- package/lib/password-input/PasswordInput.d.ts +5 -5
- package/lib/password-input/PasswordInput.js +1 -2
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.d.ts +5 -5
- package/lib/picker/Picker.d.ts +5 -5
- package/lib/picker/Picker.js +18 -19
- package/lib/picker/PickerColumn.d.ts +5 -5
- package/lib/picker/PickerColumn.js +6 -7
- package/lib/picker/PickerOptions.d.ts +5 -5
- package/lib/picker/PickerOptions.js +5 -6
- package/lib/picker/PickerToolbar.d.ts +4 -4
- package/lib/picker/PickerToolbar.js +1 -2
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +5 -5
- package/lib/popover/Popover.d.ts +5 -5
- package/lib/popover/Popover.js +16 -17
- package/lib/popover/index.d.ts +5 -5
- package/lib/popup/Popup.d.ts +6 -6
- package/lib/popup/Popup.js +15 -16
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +6 -6
- package/lib/pull-refresh/PullRefresh.d.ts +5 -5
- package/lib/pull-refresh/PullRefresh.js +7 -8
- package/lib/pull-refresh/index.d.ts +5 -5
- package/lib/radio/Radio.d.ts +5 -5
- package/lib/radio/Radio.js +1 -2
- package/lib/radio/index.css +1 -1
- package/lib/radio/index.d.ts +5 -5
- package/lib/radio-group/RadioGroup.d.ts +5 -5
- package/lib/radio-group/RadioGroup.js +2 -3
- package/lib/radio-group/index.d.ts +5 -5
- package/lib/radio-picker/RadioPicker.d.ts +5 -5
- package/lib/radio-picker/RadioPicker.js +18 -19
- package/lib/radio-picker/RadioPickerColumn.d.ts +5 -5
- package/lib/radio-picker/RadioPickerColumn.js +7 -8
- package/lib/radio-picker/RadioPickerToolbar.d.ts +4 -4
- package/lib/radio-picker/RadioPickerToolbar.js +1 -2
- package/lib/radio-picker/index.css +1 -1
- package/lib/radio-picker/index.d.ts +5 -5
- package/lib/rate/Rate.d.ts +5 -5
- package/lib/rate/Rate.js +3 -4
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.d.ts +5 -5
- package/lib/row/Row.d.ts +4 -4
- package/lib/row/Row.js +3 -4
- package/lib/row/index.d.ts +4 -4
- package/lib/search/Search.d.ts +5 -5
- package/lib/search/Search.js +2 -3
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +5 -5
- package/lib/signature/Signature.d.ts +5 -5
- package/lib/signature/Signature.js +12 -13
- package/lib/signature/index.d.ts +5 -5
- package/lib/skeleton/Skeleton.d.ts +5 -5
- package/lib/skeleton/Skeleton.js +1 -2
- package/lib/skeleton/index.d.ts +5 -5
- package/lib/slider/Slider.d.ts +33 -7
- package/lib/slider/Slider.js +22 -13
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.d.ts +25 -7
- package/lib/step/Step.d.ts +3 -3
- package/lib/step/Step.js +2 -3
- package/lib/step/index.css +1 -1
- package/lib/step/index.d.ts +3 -3
- package/lib/stepper/Stepper.d.ts +7 -7
- package/lib/stepper/Stepper.js +11 -12
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +7 -7
- package/lib/steps/Steps.d.ts +5 -5
- package/lib/steps/Steps.js +1 -2
- package/lib/steps/index.d.ts +5 -5
- package/lib/sticky/Sticky.d.ts +5 -5
- package/lib/sticky/Sticky.js +7 -8
- package/lib/sticky/index.d.ts +5 -5
- package/lib/swipe/Swipe.d.ts +6 -6
- package/lib/swipe/Swipe.js +22 -23
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.d.ts +6 -6
- package/lib/swipe-cell/SwipeCell.d.ts +6 -6
- package/lib/swipe-cell/SwipeCell.js +7 -8
- package/lib/swipe-cell/index.css +1 -1
- package/lib/swipe-cell/index.d.ts +6 -6
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/SwipeItem.js +6 -7
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/switch/Switch.d.ts +5 -5
- package/lib/switch/Switch.js +1 -2
- package/lib/switch/index.d.ts +5 -5
- package/lib/tab/Tab.d.ts +7 -4
- package/lib/tab/Tab.js +6 -7
- package/lib/tab/index.d.ts +6 -4
- package/lib/tabbar/Tabbar.d.ts +5 -5
- package/lib/tabbar/Tabbar.js +2 -3
- package/lib/tabbar/index.d.ts +5 -5
- package/lib/tabbar-item/TabbarItem.d.ts +8 -5
- package/lib/tabbar-item/TabbarItem.js +3 -4
- package/lib/tabbar-item/index.css +1 -1
- package/lib/tabbar-item/index.d.ts +7 -5
- package/lib/table/Table.d.ts +5 -5
- package/lib/table/Table.js +21 -11
- package/lib/table/index.css +1 -1
- package/lib/table/index.d.ts +5 -5
- package/lib/tabs/Tabs.d.ts +5 -5
- package/lib/tabs/Tabs.js +20 -21
- package/lib/tabs/TabsContent.d.ts +5 -5
- package/lib/tabs/TabsContent.js +4 -5
- package/lib/tabs/TabsTitle.d.ts +4 -4
- package/lib/tabs/TabsTitle.js +6 -7
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +5 -5
- package/lib/tag/Tag.d.ts +5 -5
- package/lib/tag/Tag.js +2 -3
- package/lib/tag/index.d.ts +5 -5
- package/lib/text-ellipsis/TextEllipsis.d.ts +5 -5
- package/lib/text-ellipsis/TextEllipsis.js +8 -9
- package/lib/text-ellipsis/index.d.ts +5 -5
- package/lib/time-picker/Arrow.d.ts +2 -2
- package/lib/time-picker/Arrow.js +1 -2
- package/lib/time-picker/TimePicker.d.ts +5 -5
- package/lib/time-picker/TimePicker.js +12 -13
- package/lib/time-picker/TimePickerColumn.d.ts +5 -5
- package/lib/time-picker/TimePickerColumn.js +6 -7
- package/lib/time-picker/index.css +1 -1
- package/lib/time-picker/index.d.ts +5 -5
- package/lib/timeline/Timeline.d.ts +4 -4
- package/lib/timeline/Timeline.js +3 -4
- package/lib/timeline/index.d.ts +4 -4
- package/lib/toast/Toast.d.ts +5 -5
- package/lib/toast/Toast.js +5 -6
- package/lib/toast/function-call.js +3 -4
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.d.ts +5 -5
- package/lib/uploader/Uploader.d.ts +5 -5
- package/lib/uploader/Uploader.js +4 -5
- package/lib/uploader/UploaderPreviewItem.d.ts +5 -5
- package/lib/uploader/UploaderPreviewItem.js +1 -2
- package/lib/uploader/index.d.ts +5 -5
- package/lib/utils/dom.d.ts +1 -1
- package/lib/utils/format.d.ts +1 -0
- package/lib/utils/format.js +15 -0
- package/lib/utils/mount-component.d.ts +1 -1
- package/lib/video/Video.d.ts +8 -5
- package/lib/video/Video.js +16 -35
- package/lib/video/index.css +1 -1
- package/lib/video/index.d.ts +7 -5
- package/lib/video/types.d.ts +1 -0
- package/lib/web-types.json +1 -1
- package/lib/zartui.cjs.js +2366 -2119
- package/lib/zartui.es.js +2367 -2120
- package/lib/zartui.js +18194 -17944
- package/lib/zartui.min.js +1 -1
- package/package.json +81 -81
package/es/field/Field.d.ts
CHANGED
|
@@ -154,7 +154,7 @@ declare const fieldProps: {
|
|
|
154
154
|
};
|
|
155
155
|
};
|
|
156
156
|
export type FieldProps = ExtractPropTypes<typeof fieldProps>;
|
|
157
|
-
declare const _default: import("vue").DefineComponent<{
|
|
157
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
158
158
|
leftIcon: StringConstructor;
|
|
159
159
|
titleIcon: StringConstructor;
|
|
160
160
|
title: (NumberConstructor | StringConstructor)[];
|
|
@@ -262,7 +262,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
262
262
|
type: BooleanConstructor;
|
|
263
263
|
default: null;
|
|
264
264
|
};
|
|
265
|
-
}
|
|
265
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[], "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
266
266
|
leftIcon: StringConstructor;
|
|
267
267
|
titleIcon: StringConstructor;
|
|
268
268
|
title: (NumberConstructor | StringConstructor)[];
|
|
@@ -370,7 +370,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
370
370
|
type: BooleanConstructor;
|
|
371
371
|
default: null;
|
|
372
372
|
};
|
|
373
|
-
}>> & {
|
|
373
|
+
}>> & Readonly<{
|
|
374
374
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
375
375
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
376
376
|
onKeypress?: ((...args: any[]) => any) | undefined;
|
|
@@ -381,7 +381,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
381
381
|
onClickLeftIcon?: ((...args: any[]) => any) | undefined;
|
|
382
382
|
onClickRightIcon?: ((...args: any[]) => any) | undefined;
|
|
383
383
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
384
|
-
}
|
|
384
|
+
}>, {
|
|
385
385
|
center: boolean;
|
|
386
386
|
type: FieldType;
|
|
387
387
|
autofocus: boolean;
|
|
@@ -402,5 +402,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
402
402
|
readonly: boolean;
|
|
403
403
|
showWordLimit: boolean;
|
|
404
404
|
colon: boolean;
|
|
405
|
-
}, {}>;
|
|
405
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
406
406
|
export default _default;
|
package/es/field/Field.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ref, watch, provide, computed, nextTick, reactive, onMounted, defineComponent } from "vue";
|
|
1
|
+
import { ref, watch, provide, computed, nextTick, reactive, onMounted, defineComponent, createVNode as _createVNode, mergeProps as _mergeProps, createTextVNode as _createTextVNode } from "vue";
|
|
3
2
|
import { isDef, extend, addUnit, toArray, FORM_KEY, numericProp, unknownProp, resetScroll, formatNumber, preventDefault, makeStringProp, makeNumericProp, createNamespace } from "../utils/index.mjs";
|
|
4
3
|
import { cutString, runSyncRule, endComposing, mapInputType, isEmptyValue, startComposing, getRuleMessage, resizeTextarea, getStringLength, runRuleValidator } from "./utils.mjs";
|
|
5
4
|
import { cellSharedProps } from "../cell/Cell.mjs";
|
package/es/field/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-field-value-border-radius: var(--zt-radius-md);--zt-field-input-text-color: var(--zt-text-color);--zt-field-input-disabled-text-color: var(--zt-gray-a4);--zt-field-placeholder-text-color: var(--zt-placeholder-color);--zt-field-clear-icon-color: var(--zt-gray-a6);--zt-field-left-icon-color: var(--zt-gray-a4);--zt-field-right-icon-color: var(--zt-gray-a4);--zt-field-password-icon-color: var(--zt-gray-a6);--zt-field-error-message-background-color: rgb(var(--zt-red-r), var(--zt-red-g), var(--zt-red-b), .1);--zt-field-error-message-color: var(--zt-red);--zt-field-description-background-color: var(--zt-gray-a04);--zt-field-description-color: var(--zt-gray-a6);--zt-field-description-border-color: var(--zt-gray-a2);--zt-field-text-area-min-height: 60px;--zt-field-word-limit-color: var(--zt-gray-a4);--zt-field-disabled-text-color: var(--zt-gray-a6);--zt-field-required-mark-color: var(--zt-red);--zt-field-required-mark-margin: 0 0 0 4px;--zt-field-caret-color: var(--zt-primary-color)}.zt-field--wraper{position:relative;background:var(--zt-background)}.zt-field--wraper>.zt-cell:after{display:none}.zt-field--wraper .zt-field__bottom{padding:0 var(--zt-padding-md) var(--zt-padding-xs)}.zt-field--wraper:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:var(--zt-padding-md);border-bottom:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-field__label{flex:none;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.zt-field__label--center{text-align:center}.zt-field__label--right{text-align:right}.zt-field__label--required:after{margin:var(--zt-field-required-mark-margin);color:var(--zt-field-required-mark-color);content:"*";font-weight:var(--zt-font-bold);line-height:var(--zt-line-height-md)}.zt-field--disabled .zt-field__label{color:var(--zt-field-disabled-text-color)}.zt-field--disabled .zt-cell__value--vertical,.zt-field--readonly .zt-cell__value--vertical{background:var(--zt-gray-a04)}.zt-field__value{display:block;overflow:visible;border-radius:var(--zt-field-value-border-radius)}.zt-field__body{width:100%;display:flex;align-items:center}.zt-field__body input,.zt-field__body textarea{caret-color:var(--zt-field-caret-color)}.zt-field__control{display:block;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:0;color:var(--zt-field-input-text-color);line-height:inherit;text-align:left;background-color:transparent;border:0;resize:none;-webkit-user-select:auto;user-select:auto}.zt-field__control::-
|
|
1
|
+
:root{--zt-field-value-border-radius: var(--zt-radius-md);--zt-field-input-text-color: var(--zt-text-color);--zt-field-input-disabled-text-color: var(--zt-gray-a4);--zt-field-placeholder-text-color: var(--zt-placeholder-color);--zt-field-clear-icon-color: var(--zt-gray-a6);--zt-field-left-icon-color: var(--zt-gray-a4);--zt-field-right-icon-color: var(--zt-gray-a4);--zt-field-password-icon-color: var(--zt-gray-a6);--zt-field-error-message-background-color: rgb(var(--zt-red-r), var(--zt-red-g), var(--zt-red-b), .1);--zt-field-error-message-color: var(--zt-red);--zt-field-description-background-color: var(--zt-gray-a04);--zt-field-description-color: var(--zt-gray-a6);--zt-field-description-border-color: var(--zt-gray-a2);--zt-field-text-area-min-height: 60px;--zt-field-word-limit-color: var(--zt-gray-a4);--zt-field-disabled-text-color: var(--zt-gray-a6);--zt-field-required-mark-color: var(--zt-red);--zt-field-required-mark-margin: 0 0 0 4px;--zt-field-caret-color: var(--zt-primary-color)}.zt-field--wraper{position:relative;background:var(--zt-background)}.zt-field--wraper>.zt-cell:after{display:none}.zt-field--wraper .zt-field__bottom{padding:0 var(--zt-padding-md) var(--zt-padding-xs)}.zt-field--wraper:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:var(--zt-padding-md);border-bottom:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-field__label{flex:none;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.zt-field__label--center{text-align:center}.zt-field__label--right{text-align:right}.zt-field__label--required:after{margin:var(--zt-field-required-mark-margin);color:var(--zt-field-required-mark-color);content:"*";font-weight:var(--zt-font-bold);line-height:var(--zt-line-height-md)}.zt-field--disabled .zt-field__label{color:var(--zt-field-disabled-text-color)}.zt-field--disabled .zt-cell__value--vertical,.zt-field--readonly .zt-cell__value--vertical{background:var(--zt-gray-a04)}.zt-field__value{display:block;overflow:visible;border-radius:var(--zt-field-value-border-radius)}.zt-field__body{width:100%;display:flex;align-items:center}.zt-field__body input,.zt-field__body textarea{caret-color:var(--zt-field-caret-color)}.zt-field__control{display:block;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:0;color:var(--zt-field-input-text-color);line-height:inherit;text-align:left;background-color:transparent;border:0;resize:none;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.zt-field__control::-moz-placeholder{color:var(--zt-field-placeholder-text-color)}.zt-field__control::placeholder{color:var(--zt-field-placeholder-text-color)}.zt-field__control:disabled{color:var(--zt-field-input-disabled-text-color);cursor:not-allowed;opacity:1;-webkit-text-fill-color:var(--zt-field-input-disabled-text-color)}.zt-field__control:-moz-read-only{cursor:default}.zt-field__control:read-only{cursor:default}.zt-field__control--center{justify-content:center;text-align:center}.zt-field__control--right{justify-content:flex-end;text-align:right}.zt-field__control--custom{display:flex;align-items:center;min-height:var(--zt-line-height-md)}.zt-field__control--min-height{min-height:var(--zt-field-text-area-min-height)}.zt-field__control[type=date],.zt-field__control[type=time],.zt-field__control[type=datetime-local]{min-height:var(--zt-line-height-md)}.zt-field__control[type=search]{-webkit-appearance:none}.zt-field__clear,.zt-field__icon,.zt-field__button,.zt-field__right-icon{flex-shrink:0}.zt-field__clear,.zt-field__right-icon{margin-right:calc(var(--zt-padding-xs) * -1);padding:0 var(--zt-padding-xs);line-height:inherit}.zt-field__clear{color:var(--zt-field-clear-icon-color);font-size:var(--zt-font-size-xxl);cursor:pointer}.zt-field__left-icon .zt-icon,.zt-field__right-icon .zt-icon{display:block;font-size:var(--zt-font-size-xxl)}.zt-field__left-icon{color:var(--zt-field-left-icon-color);margin-right:var(--zt-padding-base);display:flex;align-items:center}.zt-field__right-icon{color:var(--zt-field-right-icon-color)}.zt-field__button{padding-left:var(--zt-padding-xs)}.zt-field__error-message{background:var(--zt-field-error-message-background-color);border-radius:0 0 var(--zt-radius-md) var(--zt-radius-md);padding:var(--zt-padding-xs);font-size:var(--zt-font-size-sm);color:var(--zt-field-error-message-color);letter-spacing:0;line-height:var(--zt-line-height-sm);position:relative}.zt-field__error-message:before{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;left:0;border-top:1px solid var(--zt-field-error-message-color);transform:scaleY(.5)}.zt-field__error-message--center{text-align:center}.zt-field__error-message--right{text-align:right}.zt-field__word-limit{margin-top:var(--zt-padding-md);color:var(--zt-field-word-limit-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md)}.zt-field__word-num--exceed{color:var(--zt-field-error-message-color)}.zt-field--error-message .zt-cell__value,.zt-field--error .zt-cell__value,.zt-field--description .zt-cell__value{border-bottom-left-radius:0;border-bottom-right-radius:0}.zt-field__bottom{border-radius:0 0 var(--zt-radius-md) var(--zt-radius-md)}.zt-field--error-message .zt-field__label,.zt-field--error .zt-field__label{color:var(--zt-field-error-message-color)}.zt-field--error-message.zt-field--description .zt-field__error-message,.zt-field--error.zt-field--description .zt-field__error-message{border-radius:0}.zt-field__description{background:var(--zt-field-description-background-color);border-radius:0 0 var(--zt-radius-md) var(--zt-radius-md);padding:var(--zt-padding-xs);font-size:var(--zt-font-size-sm);color:var(--zt-field-description-color);letter-spacing:0;line-height:var(--zt-line-height-sm);position:relative}.zt-field__description:before{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;left:0;border-top:1px solid var(--zt-field-description-border-color);transform:scaleY(.5)}.zt-field__password{width:100%;display:flex;justify-content:space-between;align-items:center}.zt-field__password .zt-icon{color:var(--zt-field-password-icon-color);font-size:var(--zt-font-size-xxl)}.zt-field--is-link .zt-field__value{display:flex}.zt-theme-dark{--zt-field-left-icon-color: var(--zt-gray)}
|
package/es/field/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldProps } from './Field';
|
|
2
|
-
export declare const Field: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
2
|
+
export declare const Field: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
leftIcon: StringConstructor;
|
|
4
4
|
titleIcon: StringConstructor;
|
|
5
5
|
title: (NumberConstructor | StringConstructor)[];
|
|
@@ -107,7 +107,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
|
107
107
|
type: BooleanConstructor;
|
|
108
108
|
default: null;
|
|
109
109
|
};
|
|
110
|
-
}
|
|
110
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[], "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
111
111
|
leftIcon: StringConstructor;
|
|
112
112
|
titleIcon: StringConstructor;
|
|
113
113
|
title: (NumberConstructor | StringConstructor)[];
|
|
@@ -215,7 +215,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
|
215
215
|
type: BooleanConstructor;
|
|
216
216
|
default: null;
|
|
217
217
|
};
|
|
218
|
-
}>> & {
|
|
218
|
+
}>> & Readonly<{
|
|
219
219
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
220
220
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
221
221
|
onKeypress?: ((...args: any[]) => any) | undefined;
|
|
@@ -226,7 +226,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
|
226
226
|
onClickLeftIcon?: ((...args: any[]) => any) | undefined;
|
|
227
227
|
onClickRightIcon?: ((...args: any[]) => any) | undefined;
|
|
228
228
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
229
|
-
}
|
|
229
|
+
}>, {
|
|
230
230
|
center: boolean;
|
|
231
231
|
type: import("./types").FieldType;
|
|
232
232
|
autofocus: boolean;
|
|
@@ -247,7 +247,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
|
247
247
|
readonly: boolean;
|
|
248
248
|
showWordLimit: boolean;
|
|
249
249
|
colon: boolean;
|
|
250
|
-
}, {}>>;
|
|
250
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
251
251
|
export default Field;
|
|
252
252
|
export type { FieldProps };
|
|
253
253
|
export type { FieldType, FieldRule, FieldInstance, FieldTextAlign, FieldRuleMessage, FieldClearTrigger, FieldFormatTrigger, FieldRuleValidator, FiledRuleFormatter, FieldValidateError, FieldAutosizeConfig, FieldValidateTrigger, FieldValidationStatus, FieldThemeVars, } from './types';
|
|
@@ -24,7 +24,7 @@ export declare const floatingBubbleProps: {
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
export type FloatingBubbleProps = ExtractPropTypes<typeof floatingBubbleProps>;
|
|
27
|
-
declare const _default: import("vue").DefineComponent<{
|
|
27
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
28
28
|
gap: {
|
|
29
29
|
type: NumberConstructor;
|
|
30
30
|
default: number;
|
|
@@ -46,7 +46,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
46
|
type: PropType<string | import("vue").RendererElement | null | undefined>;
|
|
47
47
|
default: string;
|
|
48
48
|
};
|
|
49
|
-
}
|
|
49
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:offset" | "offsetChange")[], "click" | "update:offset" | "offsetChange", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
50
50
|
gap: {
|
|
51
51
|
type: NumberConstructor;
|
|
52
52
|
default: number;
|
|
@@ -68,14 +68,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
68
|
type: PropType<string | import("vue").RendererElement | null | undefined>;
|
|
69
69
|
default: string;
|
|
70
70
|
};
|
|
71
|
-
}>> & {
|
|
71
|
+
}>> & Readonly<{
|
|
72
72
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
73
73
|
"onUpdate:offset"?: ((...args: any[]) => any) | undefined;
|
|
74
74
|
onOffsetChange?: ((...args: any[]) => any) | undefined;
|
|
75
|
-
}
|
|
75
|
+
}>, {
|
|
76
76
|
offset: FloatingBubbleOffset;
|
|
77
77
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
78
78
|
gap: number;
|
|
79
79
|
axis: FloatingBubbleAxis;
|
|
80
|
-
}, {}>;
|
|
80
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
81
81
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Teleport, computed, defineComponent, nextTick, onMounted, ref, watch, onActivated, onDeactivated } from "vue";
|
|
1
|
+
import { Teleport, computed, defineComponent, nextTick, onMounted, ref, watch, onActivated, onDeactivated, createVNode as _createVNode, vShow as _vShow, mergeProps as _mergeProps, withDirectives as _withDirectives } from "vue";
|
|
3
2
|
import { pick, addUnit, closest, createNamespace, makeNumberProp, makeStringProp, windowWidth, windowHeight } from "../utils/index.mjs";
|
|
4
3
|
import { useRect, useEventListener } from "@zartui/use";
|
|
5
4
|
import { useTouch } from "../composables/use-touch.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-floating-bubble-size: 56px;--zt-floating-bubble-initial-gap: 24px;--zt-floating-bubble-icon-size: 28px;--zt-floating-bubble-background: linear-gradient(136.5deg, #058ce6 0%, #00b4ff 100%);--zt-floating-bubble-color: var(--zt-background-popup);--zt-floating-bubble-z-index: 999;--zt-floating-bubble-border-radius: var(--zt-radius-max);--zt-floating-bubble-box-shadow: 0 4px 12px 0 rgba(5, 140, 230, .4), inset -2px -2px 1px 1px #058ce6, inset 2px 2px 2px 1px #c3ebff}.zt-floating-bubble{position:fixed;left:0;top:0;right:var(--zt-floating-bubble-initial-gap);bottom:var(--zt-floating-bubble-initial-gap);width:var(--zt-floating-bubble-size);height:var(--zt-floating-bubble-size);box-sizing:border-box;display:flex;justify-content:center;align-items:center;overflow:hidden;cursor:pointer;touch-action:none;background:var(--zt-floating-bubble-background);color:var(--zt-floating-bubble-color);border-radius:var(--zt-floating-bubble-border-radius);z-index:var(--zt-floating-bubble-z-index);transition:transform var(--zt-duration-base);-webkit-user-select:none;user-select:none;box-shadow:var(--zt-floating-bubble-box-shadow)}.zt-floating-bubble:active{opacity:.7}.zt-floating-bubble__icon{font-size:var(--zt-floating-bubble-icon-size)}
|
|
1
|
+
:root{--zt-floating-bubble-size: 56px;--zt-floating-bubble-initial-gap: 24px;--zt-floating-bubble-icon-size: 28px;--zt-floating-bubble-background: linear-gradient(136.5deg, #058ce6 0%, #00b4ff 100%);--zt-floating-bubble-color: var(--zt-background-popup);--zt-floating-bubble-z-index: 999;--zt-floating-bubble-border-radius: var(--zt-radius-max);--zt-floating-bubble-box-shadow: 0 4px 12px 0 rgba(5, 140, 230, .4), inset -2px -2px 1px 1px #058ce6, inset 2px 2px 2px 1px #c3ebff}.zt-floating-bubble{position:fixed;left:0;top:0;right:var(--zt-floating-bubble-initial-gap);bottom:var(--zt-floating-bubble-initial-gap);width:var(--zt-floating-bubble-size);height:var(--zt-floating-bubble-size);box-sizing:border-box;display:flex;justify-content:center;align-items:center;overflow:hidden;cursor:pointer;touch-action:none;background:var(--zt-floating-bubble-background);color:var(--zt-floating-bubble-color);border-radius:var(--zt-floating-bubble-border-radius);z-index:var(--zt-floating-bubble-z-index);transition:transform var(--zt-duration-base);-webkit-user-select:none;-moz-user-select:none;user-select:none;box-shadow:var(--zt-floating-bubble-box-shadow)}.zt-floating-bubble:active{opacity:.7}.zt-floating-bubble__icon{font-size:var(--zt-floating-bubble-icon-size)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const FloatingBubble: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const FloatingBubble: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
gap: {
|
|
3
3
|
type: NumberConstructor;
|
|
4
4
|
default: number;
|
|
@@ -20,7 +20,7 @@ export declare const FloatingBubble: import("../utils").WithInstall<import("vue"
|
|
|
20
20
|
type: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
|
-
}
|
|
23
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:offset" | "offsetChange")[], "click" | "update:offset" | "offsetChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
24
|
gap: {
|
|
25
25
|
type: NumberConstructor;
|
|
26
26
|
default: number;
|
|
@@ -42,16 +42,16 @@ export declare const FloatingBubble: import("../utils").WithInstall<import("vue"
|
|
|
42
42
|
type: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
|
43
43
|
default: string;
|
|
44
44
|
};
|
|
45
|
-
}>> & {
|
|
45
|
+
}>> & Readonly<{
|
|
46
46
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
47
47
|
"onUpdate:offset"?: ((...args: any[]) => any) | undefined;
|
|
48
48
|
onOffsetChange?: ((...args: any[]) => any) | undefined;
|
|
49
|
-
}
|
|
49
|
+
}>, {
|
|
50
50
|
offset: import("./types").FloatingBubbleOffset;
|
|
51
51
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
52
52
|
gap: number;
|
|
53
53
|
axis: import("./types").FloatingBubbleAxis;
|
|
54
|
-
}, {}>>;
|
|
54
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
55
55
|
export default FloatingBubble;
|
|
56
56
|
export { floatingBubbleProps } from './FloatingBubble';
|
|
57
57
|
export type { FloatingBubbleProps } from './FloatingBubble';
|
package/es/form/Form.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ declare const formProps: {
|
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
export type FormProps = ExtractPropTypes<typeof formProps>;
|
|
28
|
-
declare const _default: import("vue").DefineComponent<{
|
|
28
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
29
29
|
colon: BooleanConstructor;
|
|
30
30
|
disabled: BooleanConstructor;
|
|
31
31
|
readonly: BooleanConstructor;
|
|
@@ -48,7 +48,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
48
|
type: PropType<FieldValidateTrigger | FieldValidateTrigger[]>;
|
|
49
49
|
default: string;
|
|
50
50
|
};
|
|
51
|
-
}
|
|
51
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "failed")[], "submit" | "failed", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
52
52
|
colon: BooleanConstructor;
|
|
53
53
|
disabled: BooleanConstructor;
|
|
54
54
|
readonly: BooleanConstructor;
|
|
@@ -71,10 +71,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
71
|
type: PropType<FieldValidateTrigger | FieldValidateTrigger[]>;
|
|
72
72
|
default: string;
|
|
73
73
|
};
|
|
74
|
-
}>> & {
|
|
74
|
+
}>> & Readonly<{
|
|
75
75
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
76
76
|
onFailed?: ((...args: any[]) => any) | undefined;
|
|
77
|
-
}
|
|
77
|
+
}>, {
|
|
78
78
|
disabled: boolean;
|
|
79
79
|
readonly: boolean;
|
|
80
80
|
colon: boolean;
|
|
@@ -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
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
88
88
|
export default _default;
|
package/es/form/Form.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
|
2
|
-
import { defineComponent } from "vue";
|
|
1
|
+
import { defineComponent, createVNode as _createVNode } from "vue";
|
|
3
2
|
import { FORM_KEY, truthProp, numericProp, preventDefault, createNamespace } from "../utils/index.mjs";
|
|
4
3
|
import { useChildren } from "@zartui/use";
|
|
5
4
|
import { useExpose } from "../composables/use-expose.mjs";
|
package/es/form/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormProps } from './Form';
|
|
2
|
-
export declare const Form: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
2
|
+
export declare const Form: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
colon: BooleanConstructor;
|
|
4
4
|
disabled: BooleanConstructor;
|
|
5
5
|
readonly: BooleanConstructor;
|
|
@@ -22,7 +22,7 @@ export declare const Form: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
22
22
|
type: import("vue").PropType<import("..").FieldValidateTrigger | import("..").FieldValidateTrigger[]>;
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
|
-
}
|
|
25
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "failed")[], "submit" | "failed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
26
|
colon: BooleanConstructor;
|
|
27
27
|
disabled: BooleanConstructor;
|
|
28
28
|
readonly: BooleanConstructor;
|
|
@@ -45,10 +45,10 @@ export declare const Form: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
45
45
|
type: import("vue").PropType<import("..").FieldValidateTrigger | import("..").FieldValidateTrigger[]>;
|
|
46
46
|
default: string;
|
|
47
47
|
};
|
|
48
|
-
}>> & {
|
|
48
|
+
}>> & Readonly<{
|
|
49
49
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
50
50
|
onFailed?: ((...args: any[]) => any) | undefined;
|
|
51
|
-
}
|
|
51
|
+
}>, {
|
|
52
52
|
disabled: boolean;
|
|
53
53
|
readonly: boolean;
|
|
54
54
|
colon: boolean;
|
|
@@ -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
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
62
62
|
export default Form;
|
|
63
63
|
export type { FormProps };
|
|
64
64
|
export type { FormInstance } from './types';
|
package/es/grid/Grid.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export type GridProvide = {
|
|
|
25
25
|
props: GridProps;
|
|
26
26
|
};
|
|
27
27
|
export declare const GRID_KEY: InjectionKey<GridProvide>;
|
|
28
|
-
declare const _default: import("vue").DefineComponent<{
|
|
28
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
29
29
|
square: BooleanConstructor;
|
|
30
30
|
center: {
|
|
31
31
|
type: BooleanConstructor;
|
|
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
type: (NumberConstructor | StringConstructor)[];
|
|
45
45
|
default: number;
|
|
46
46
|
};
|
|
47
|
-
}
|
|
47
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
48
48
|
square: BooleanConstructor;
|
|
49
49
|
center: {
|
|
50
50
|
type: BooleanConstructor;
|
|
@@ -63,12 +63,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
63
|
type: (NumberConstructor | StringConstructor)[];
|
|
64
64
|
default: number;
|
|
65
65
|
};
|
|
66
|
-
}
|
|
66
|
+
}>> & Readonly<{}>, {
|
|
67
67
|
reverse: boolean;
|
|
68
68
|
center: boolean;
|
|
69
69
|
border: boolean;
|
|
70
70
|
square: boolean;
|
|
71
71
|
clickable: boolean;
|
|
72
72
|
columnNum: string | number;
|
|
73
|
-
}, {}>;
|
|
73
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
74
74
|
export default _default;
|
package/es/grid/Grid.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
|
2
|
-
import { defineComponent } from "vue";
|
|
1
|
+
import { defineComponent, createVNode as _createVNode } from "vue";
|
|
3
2
|
import { createNamespace, addUnit, truthProp, numericProp, makeNumericProp } from "../utils/index.mjs";
|
|
4
3
|
import { BORDER_TOP } from "../utils/constant.mjs";
|
|
5
4
|
import { useChildren } from "@zartui/use";
|
package/es/grid/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Grid: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const Grid: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
square: BooleanConstructor;
|
|
3
3
|
center: {
|
|
4
4
|
type: BooleanConstructor;
|
|
@@ -17,7 +17,7 @@ export declare const Grid: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
17
17
|
type: (NumberConstructor | StringConstructor)[];
|
|
18
18
|
default: number;
|
|
19
19
|
};
|
|
20
|
-
}
|
|
20
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
square: BooleanConstructor;
|
|
22
22
|
center: {
|
|
23
23
|
type: BooleanConstructor;
|
|
@@ -36,14 +36,14 @@ export declare const Grid: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
36
36
|
type: (NumberConstructor | StringConstructor)[];
|
|
37
37
|
default: number;
|
|
38
38
|
};
|
|
39
|
-
}
|
|
39
|
+
}>> & Readonly<{}>, {
|
|
40
40
|
reverse: boolean;
|
|
41
41
|
center: boolean;
|
|
42
42
|
border: boolean;
|
|
43
43
|
square: boolean;
|
|
44
44
|
clickable: boolean;
|
|
45
45
|
columnNum: string | number;
|
|
46
|
-
}, {}>>;
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
47
47
|
export default Grid;
|
|
48
48
|
export { gridProps } from './Grid';
|
|
49
49
|
export type { GridProps, GridDirection } from './Grid';
|
|
@@ -4,6 +4,7 @@ export declare const gridItemProps: {
|
|
|
4
4
|
to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
|
|
5
5
|
url: StringConstructor;
|
|
6
6
|
replace: BooleanConstructor;
|
|
7
|
+
$router: PropType<import("vue-router").Router>;
|
|
7
8
|
} & {
|
|
8
9
|
dot: BooleanConstructor;
|
|
9
10
|
text: StringConstructor;
|
|
@@ -14,10 +15,11 @@ export declare const gridItemProps: {
|
|
|
14
15
|
badgeProps: PropType<Partial<BadgeProps>>;
|
|
15
16
|
};
|
|
16
17
|
export type GridItemProps = ExtractPropTypes<typeof gridItemProps>;
|
|
17
|
-
declare const _default: import("vue").DefineComponent<{
|
|
18
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
18
19
|
to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
|
|
19
20
|
url: StringConstructor;
|
|
20
21
|
replace: BooleanConstructor;
|
|
22
|
+
$router: PropType<import("vue-router").Router>;
|
|
21
23
|
} & {
|
|
22
24
|
dot: BooleanConstructor;
|
|
23
25
|
text: StringConstructor;
|
|
@@ -26,10 +28,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
28
|
iconColor: StringConstructor;
|
|
27
29
|
iconPrefix: StringConstructor;
|
|
28
30
|
badgeProps: PropType<Partial<BadgeProps>>;
|
|
29
|
-
}
|
|
31
|
+
}>, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
30
32
|
to: PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
|
|
31
33
|
url: StringConstructor;
|
|
32
34
|
replace: BooleanConstructor;
|
|
35
|
+
$router: PropType<import("vue-router").Router>;
|
|
33
36
|
} & {
|
|
34
37
|
dot: BooleanConstructor;
|
|
35
38
|
text: StringConstructor;
|
|
@@ -38,8 +41,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
41
|
iconColor: StringConstructor;
|
|
39
42
|
iconPrefix: StringConstructor;
|
|
40
43
|
badgeProps: PropType<Partial<BadgeProps>>;
|
|
41
|
-
}
|
|
44
|
+
}>> & Readonly<{}>, {
|
|
42
45
|
replace: boolean;
|
|
43
46
|
dot: boolean;
|
|
44
|
-
}, {}>;
|
|
47
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
48
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { computed, defineComponent } from "vue";
|
|
1
|
+
import { computed, defineComponent, mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
|
|
3
2
|
import { BORDER, extend, addUnit, numericProp, createNamespace } from "../utils/index.mjs";
|
|
4
3
|
import { GRID_KEY } from "../grid/Grid.mjs";
|
|
5
4
|
import { useParent } from "@zartui/use";
|
package/es/grid-item/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export declare const GridItem: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const GridItem: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
to: import("vue").PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
|
|
3
3
|
url: StringConstructor;
|
|
4
4
|
replace: BooleanConstructor;
|
|
5
|
+
$router: import("vue").PropType<import("vue-router").Router>;
|
|
5
6
|
} & {
|
|
6
7
|
dot: BooleanConstructor;
|
|
7
8
|
text: StringConstructor;
|
|
@@ -10,10 +11,11 @@ export declare const GridItem: import("../utils").WithInstall<import("vue").Defi
|
|
|
10
11
|
iconColor: StringConstructor;
|
|
11
12
|
iconPrefix: StringConstructor;
|
|
12
13
|
badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
|
|
13
|
-
}
|
|
14
|
+
}>, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
15
|
to: import("vue").PropType<string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric>;
|
|
15
16
|
url: StringConstructor;
|
|
16
17
|
replace: BooleanConstructor;
|
|
18
|
+
$router: import("vue").PropType<import("vue-router").Router>;
|
|
17
19
|
} & {
|
|
18
20
|
dot: BooleanConstructor;
|
|
19
21
|
text: StringConstructor;
|
|
@@ -22,10 +24,10 @@ export declare const GridItem: import("../utils").WithInstall<import("vue").Defi
|
|
|
22
24
|
iconColor: StringConstructor;
|
|
23
25
|
iconPrefix: StringConstructor;
|
|
24
26
|
badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
|
|
25
|
-
}
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
26
28
|
replace: boolean;
|
|
27
29
|
dot: boolean;
|
|
28
|
-
}, {}>>;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
29
31
|
export default GridItem;
|
|
30
32
|
export { gridItemProps } from './GridItem';
|
|
31
33
|
export type { GridItemProps } from './GridItem';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
data: {
|
|
3
3
|
type: ArrayConstructor;
|
|
4
4
|
default: () => never[];
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
type: import("vue").PropType<string>;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
|
-
}
|
|
18
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "chooseSenior"[], "chooseSenior", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
data: {
|
|
20
20
|
type: ArrayConstructor;
|
|
21
21
|
default: () => never[];
|
|
@@ -32,12 +32,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
type: import("vue").PropType<string>;
|
|
33
33
|
default: string;
|
|
34
34
|
};
|
|
35
|
-
}>> & {
|
|
35
|
+
}>> & Readonly<{
|
|
36
36
|
onChooseSenior?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
}
|
|
37
|
+
}>, {
|
|
38
38
|
data: unknown[];
|
|
39
39
|
valueKey: string;
|
|
40
40
|
textKey: string;
|
|
41
41
|
breadcrumbTitle: string;
|
|
42
|
-
}, {}>;
|
|
42
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
43
43
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
|
2
|
-
import { defineComponent } from "vue";
|
|
1
|
+
import { defineComponent, createVNode as _createVNode } from "vue";
|
|
3
2
|
import { createNamespace, makeStringProp } from "../utils/index.mjs";
|
|
4
3
|
import Icon from "../icon/index.mjs";
|
|
5
4
|
const [name, bem] = createNamespace("breadcrumb");
|
|
@@ -43,7 +43,7 @@ declare const hierarchySelectProps: {
|
|
|
43
43
|
autoChangeToChildren: BooleanConstructor;
|
|
44
44
|
};
|
|
45
45
|
export type HierarchySelectProps = ExtractPropTypes<typeof hierarchySelectProps>;
|
|
46
|
-
declare const _default: import("vue").DefineComponent<{
|
|
46
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
47
47
|
treeData: {
|
|
48
48
|
type: ArrayConstructor;
|
|
49
49
|
default: () => never[];
|
|
@@ -84,7 +84,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
84
|
default: string;
|
|
85
85
|
};
|
|
86
86
|
autoChangeToChildren: BooleanConstructor;
|
|
87
|
-
}
|
|
87
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("selected" | "change" | "asyncGetter" | "update:checkedList")[], "selected" | "change" | "asyncGetter" | "update:checkedList", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
88
88
|
treeData: {
|
|
89
89
|
type: ArrayConstructor;
|
|
90
90
|
default: () => never[];
|
|
@@ -125,12 +125,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
125
125
|
default: string;
|
|
126
126
|
};
|
|
127
127
|
autoChangeToChildren: BooleanConstructor;
|
|
128
|
-
}>> & {
|
|
128
|
+
}>> & Readonly<{
|
|
129
129
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
130
130
|
onSelected?: ((...args: any[]) => any) | undefined;
|
|
131
131
|
onAsyncGetter?: ((...args: any[]) => any) | undefined;
|
|
132
132
|
"onUpdate:checkedList"?: ((...args: any[]) => any) | undefined;
|
|
133
|
-
}
|
|
133
|
+
}>, {
|
|
134
134
|
multiple: boolean;
|
|
135
135
|
valueKey: string;
|
|
136
136
|
textKey: string;
|
|
@@ -141,5 +141,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
141
141
|
showParentChecked: boolean;
|
|
142
142
|
unanimous: boolean;
|
|
143
143
|
autoChangeToChildren: boolean;
|
|
144
|
-
}, {}>;
|
|
144
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
145
145
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { computed, defineComponent, nextTick, ref } from "vue";
|
|
1
|
+
import { computed, defineComponent, nextTick, ref, createVNode as _createVNode, createTextVNode as _createTextVNode } from "vue";
|
|
3
2
|
import { createNamespace, makeArrayProp, makeStringProp } from "../utils/index.mjs";
|
|
4
3
|
import { deepClone } from "../utils/deep-clone.mjs";
|
|
5
4
|
import { SubIcon } from "./svg/SubIcon.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const HierarchySelect: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const HierarchySelect: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
treeData: {
|
|
3
3
|
type: ArrayConstructor;
|
|
4
4
|
default: () => never[];
|
|
@@ -39,7 +39,7 @@ export declare const HierarchySelect: import("../utils").WithInstall<import("vue
|
|
|
39
39
|
default: string;
|
|
40
40
|
};
|
|
41
41
|
autoChangeToChildren: BooleanConstructor;
|
|
42
|
-
}
|
|
42
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("selected" | "change" | "asyncGetter" | "update:checkedList")[], "selected" | "change" | "asyncGetter" | "update:checkedList", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
43
|
treeData: {
|
|
44
44
|
type: ArrayConstructor;
|
|
45
45
|
default: () => never[];
|
|
@@ -80,12 +80,12 @@ export declare const HierarchySelect: import("../utils").WithInstall<import("vue
|
|
|
80
80
|
default: string;
|
|
81
81
|
};
|
|
82
82
|
autoChangeToChildren: BooleanConstructor;
|
|
83
|
-
}>> & {
|
|
83
|
+
}>> & Readonly<{
|
|
84
84
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
85
85
|
onSelected?: ((...args: any[]) => any) | undefined;
|
|
86
86
|
onAsyncGetter?: ((...args: any[]) => any) | undefined;
|
|
87
87
|
"onUpdate:checkedList"?: ((...args: any[]) => any) | undefined;
|
|
88
|
-
}
|
|
88
|
+
}>, {
|
|
89
89
|
multiple: boolean;
|
|
90
90
|
valueKey: string;
|
|
91
91
|
textKey: string;
|
|
@@ -96,7 +96,7 @@ export declare const HierarchySelect: import("../utils").WithInstall<import("vue
|
|
|
96
96
|
showParentChecked: boolean;
|
|
97
97
|
unanimous: boolean;
|
|
98
98
|
autoChangeToChildren: boolean;
|
|
99
|
-
}, {}>>;
|
|
99
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
100
100
|
export default HierarchySelect;
|
|
101
101
|
export type { HierarchySelectProps } from './HierarchySelect';
|
|
102
102
|
export type { HierarchyData, HierarchySelectThemeVars, HierarchySelectInstance, } from './types';
|
package/es/icon/Icon.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const iconProps: {
|
|
|
14
14
|
classPrefix: StringConstructor;
|
|
15
15
|
};
|
|
16
16
|
export type IconProps = ExtractPropTypes<typeof iconProps>;
|
|
17
|
-
declare const _default: import("vue").DefineComponent<{
|
|
17
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
18
18
|
dot: BooleanConstructor;
|
|
19
19
|
tag: {
|
|
20
20
|
type: PropType<keyof HTMLElementTagNameMap>;
|
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
color: StringConstructor;
|
|
27
27
|
badgeProps: PropType<Partial<BadgeProps>>;
|
|
28
28
|
classPrefix: StringConstructor;
|
|
29
|
-
}
|
|
29
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
30
30
|
dot: BooleanConstructor;
|
|
31
31
|
tag: {
|
|
32
32
|
type: PropType<keyof HTMLElementTagNameMap>;
|
|
@@ -38,8 +38,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
color: StringConstructor;
|
|
39
39
|
badgeProps: PropType<Partial<BadgeProps>>;
|
|
40
40
|
classPrefix: StringConstructor;
|
|
41
|
-
}
|
|
41
|
+
}>> & Readonly<{}>, {
|
|
42
42
|
dot: boolean;
|
|
43
43
|
tag: keyof HTMLElementTagNameMap;
|
|
44
|
-
}, {}>;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
45
|
export default _default;
|