zartui 3.1.23 → 3.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -27
- package/es/action-sheet/ActionSheet.d.ts +5 -5
- package/es/action-sheet/ActionSheet.mjs +1 -2
- package/es/action-sheet/index.d.ts +5 -5
- package/es/audio/Audio.d.ts +18 -5
- package/es/audio/Audio.mjs +7 -5
- package/es/audio/index.d.ts +14 -5
- package/es/avatar/Avatar.d.ts +4 -4
- package/es/avatar/Avatar.mjs +1 -2
- package/es/avatar/index.d.ts +4 -4
- package/es/badge/Badge.d.ts +4 -4
- package/es/badge/Badge.mjs +1 -2
- package/es/badge/index.d.ts +4 -4
- package/es/button/Button.d.ts +8 -5
- package/es/button/Button.mjs +1 -2
- package/es/button/index.d.ts +7 -5
- package/es/calendar/Calendar.d.ts +5 -5
- package/es/calendar/Calendar.mjs +1 -2
- package/es/calendar/CalendarDay.d.ts +5 -5
- package/es/calendar/CalendarDay.mjs +1 -2
- package/es/calendar/CalendarHeader.d.ts +5 -5
- package/es/calendar/CalendarHeader.mjs +1 -2
- package/es/calendar/CalendarMonth.d.ts +5 -5
- package/es/calendar/CalendarMonth.mjs +1 -2
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +5 -5
- package/es/cascader/Cascader.d.ts +5 -5
- package/es/cascader/Cascader.mjs +1 -2
- package/es/cascader/index.d.ts +5 -5
- package/es/cell/Cell.d.ts +8 -5
- package/es/cell/Cell.mjs +1 -2
- package/es/cell/index.d.ts +7 -5
- package/es/cell-group/CellGroup.d.ts +4 -4
- package/es/cell-group/CellGroup.mjs +1 -2
- package/es/cell-group/index.d.ts +4 -4
- package/es/checkbox/Checkbox.d.ts +5 -5
- package/es/checkbox/Checkbox.mjs +1 -2
- package/es/checkbox/Checker.d.ts +5 -5
- package/es/checkbox/Checker.mjs +1 -2
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.d.ts +5 -5
- package/es/checkbox-group/CheckboxGroup.d.ts +5 -5
- package/es/checkbox-group/CheckboxGroup.mjs +1 -2
- package/es/checkbox-group/index.d.ts +5 -5
- package/es/col/Col.d.ts +4 -4
- package/es/col/Col.mjs +1 -2
- package/es/col/index.d.ts +4 -4
- package/es/collapse/Collapse.d.ts +5 -5
- package/es/collapse/Collapse.mjs +1 -2
- package/es/collapse/index.d.ts +5 -5
- package/es/collapse-item/CollapseItem.d.ts +4 -4
- package/es/collapse-item/CollapseItem.mjs +1 -2
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.d.ts +4 -4
- package/es/composables/use-height.d.ts +1 -1
- package/es/composables/use-refs.d.ts +1 -1
- package/es/composables/use-route.d.ts +2 -0
- package/es/composables/use-route.mjs +2 -1
- package/es/composables/use-sync-prop-ref.d.ts +1 -1
- package/es/composables/use-touch.d.ts +8 -8
- package/es/config-provider/ConfigProvider.d.ts +4 -4
- package/es/config-provider/ConfigProvider.mjs +1 -2
- package/es/config-provider/index.d.ts +4 -4
- package/es/date-time-picker/DateTimePicker.d.ts +5 -5
- package/es/date-time-picker/DateTimePicker.mjs +1 -2
- package/es/date-time-picker/DateTimePickerWrapper.d.ts +5 -5
- package/es/date-time-picker/DateTimePickerWrapper.mjs +1 -2
- package/es/date-time-picker/index.d.ts +5 -5
- package/es/dialog/Dialog.d.ts +5 -5
- package/es/dialog/Dialog.mjs +1 -2
- package/es/dialog/function-call.mjs +1 -1
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.d.ts +5 -5
- package/es/divider/Divider.d.ts +4 -4
- package/es/divider/Divider.mjs +1 -2
- package/es/divider/index.d.ts +4 -4
- package/es/drawer-select/DrawerSelect.d.ts +5 -5
- package/es/drawer-select/DrawerSelect.mjs +1 -2
- package/es/drawer-select/index.d.ts +5 -5
- package/es/dropdown-item/DropdownItem.d.ts +6 -6
- package/es/dropdown-item/DropdownItem.mjs +1 -2
- package/es/dropdown-item/index.d.ts +6 -6
- package/es/dropdown-menu/DropdownMenu.d.ts +4 -4
- package/es/dropdown-menu/DropdownMenu.mjs +1 -2
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.d.ts +4 -4
- package/es/empty/Empty.d.ts +4 -4
- package/es/empty/Empty.mjs +1 -2
- package/es/empty/index.d.ts +4 -4
- package/es/field/Field.d.ts +5 -5
- package/es/field/Field.mjs +1 -2
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +5 -5
- package/es/floating-bubble/FloatingBubble.d.ts +5 -5
- package/es/floating-bubble/FloatingBubble.mjs +1 -2
- package/es/floating-bubble/index.css +1 -1
- package/es/floating-bubble/index.d.ts +5 -5
- package/es/form/Form.d.ts +5 -5
- package/es/form/Form.mjs +1 -2
- package/es/form/index.d.ts +5 -5
- package/es/grid/Grid.d.ts +4 -4
- package/es/grid/Grid.mjs +1 -2
- package/es/grid/index.d.ts +4 -4
- package/es/grid-item/GridItem.d.ts +7 -4
- package/es/grid-item/GridItem.mjs +1 -2
- package/es/grid-item/index.d.ts +6 -4
- package/es/hierarchy-select/Breadcrumb.d.ts +5 -5
- package/es/hierarchy-select/Breadcrumb.mjs +1 -2
- package/es/hierarchy-select/HierarchySelect.d.ts +5 -5
- package/es/hierarchy-select/HierarchySelect.mjs +1 -2
- package/es/hierarchy-select/index.d.ts +5 -5
- package/es/icon/Icon.d.ts +4 -4
- package/es/icon/Icon.mjs +1 -2
- package/es/icon/index.css +1 -1
- package/es/icon/index.d.ts +4 -4
- package/es/image/Image.d.ts +5 -5
- package/es/image/Image.mjs +1 -2
- package/es/image/index.d.ts +5 -5
- package/es/image-preview/ImagePreview.d.ts +5 -5
- package/es/image-preview/ImagePreview.mjs +1 -2
- package/es/image-preview/ImagePreviewItem.d.ts +5 -5
- package/es/image-preview/ImagePreviewItem.mjs +1 -2
- package/es/image-preview/function-call.mjs +1 -1
- package/es/image-preview/index.d.ts +5 -5
- package/es/index-anchor/IndexAnchor.d.ts +3 -3
- package/es/index-anchor/IndexAnchor.mjs +1 -2
- package/es/index-anchor/index.d.ts +3 -3
- package/es/index-bar/IndexBar.d.ts +5 -5
- package/es/index-bar/IndexBar.mjs +1 -2
- package/es/index-bar/index.css +1 -1
- package/es/index-bar/index.d.ts +5 -5
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/lazyload/vue-lazyload/index.d.ts +55 -55
- package/es/list/List.d.ts +5 -5
- package/es/list/List.mjs +1 -2
- package/es/list/index.d.ts +5 -5
- package/es/loading/Loading.d.ts +4 -4
- package/es/loading/Loading.mjs +1 -2
- package/es/loading/index.d.ts +4 -4
- package/es/media-picker/MediaPicker.d.ts +9 -5
- package/es/media-picker/MediaPicker.mjs +7 -5
- package/es/media-picker/image/DefaultAudioIcon.d.ts +1 -1
- package/es/media-picker/image/DefaultAudioIcon.mjs +1 -2
- package/es/media-picker/image/DefaultFileIcon.d.ts +1 -1
- package/es/media-picker/image/DefaultFileIcon.mjs +1 -2
- package/es/media-picker/image/DefaultVideoIcon.d.ts +1 -1
- package/es/media-picker/image/DefaultVideoIcon.mjs +1 -2
- package/es/media-picker/image/DeleteIcon.d.ts +1 -1
- package/es/media-picker/image/DeleteIcon.mjs +1 -2
- package/es/media-picker/image/PickFileIcon.d.ts +1 -1
- package/es/media-picker/image/PickFileIcon.mjs +1 -2
- package/es/media-picker/image/PickPhotoIcon.d.ts +1 -1
- package/es/media-picker/image/PickPhotoIcon.mjs +1 -2
- package/es/media-picker/image/TakeAudioIcon.d.ts +1 -1
- package/es/media-picker/image/TakeAudioIcon.mjs +1 -2
- package/es/media-picker/image/TakePhotoIcon.d.ts +1 -1
- package/es/media-picker/image/TakePhotoIcon.mjs +1 -2
- package/es/media-picker/image/TakeVideoIcon.d.ts +1 -1
- package/es/media-picker/image/TakeVideoIcon.mjs +1 -2
- package/es/media-picker/index.css +1 -1
- package/es/media-picker/index.d.ts +7 -5
- package/es/media-player/MediaPlayer.d.ts +21 -5
- package/es/media-player/MediaPlayer.mjs +7 -3
- package/es/media-player/index.d.ts +14 -5
- package/es/multiple-picker/MultiplePicker.d.ts +5 -5
- package/es/multiple-picker/MultiplePicker.mjs +1 -2
- package/es/multiple-picker/MultiplePickerOptions.d.ts +5 -5
- package/es/multiple-picker/MultiplePickerOptions.mjs +1 -2
- package/es/multiple-picker/index.css +1 -1
- package/es/multiple-picker/index.d.ts +5 -5
- package/es/nav-bar/NavBar.d.ts +5 -5
- package/es/nav-bar/NavBar.mjs +1 -2
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.d.ts +5 -5
- package/es/notice-bar/NoticeBar.d.ts +5 -5
- package/es/notice-bar/NoticeBar.mjs +1 -2
- package/es/notice-bar/index.d.ts +5 -5
- package/es/notify/Notify.d.ts +5 -5
- package/es/notify/Notify.mjs +1 -2
- package/es/notify/function-call.mjs +1 -1
- package/es/notify/index.d.ts +5 -5
- package/es/number-keyboard/NumberKeyboard.d.ts +6 -6
- package/es/number-keyboard/NumberKeyboard.mjs +1 -2
- package/es/number-keyboard/NumberKeyboardKey.d.ts +5 -5
- package/es/number-keyboard/NumberKeyboardKey.mjs +1 -2
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +6 -6
- package/es/overlay/Overlay.d.ts +4 -4
- package/es/overlay/Overlay.mjs +1 -2
- package/es/overlay/index.d.ts +4 -4
- package/es/password-input/PasswordInput.d.ts +5 -5
- package/es/password-input/PasswordInput.mjs +1 -2
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.d.ts +5 -5
- package/es/picker/Picker.d.ts +5 -5
- package/es/picker/Picker.mjs +1 -2
- package/es/picker/PickerColumn.d.ts +5 -5
- package/es/picker/PickerColumn.mjs +1 -2
- package/es/picker/PickerOptions.d.ts +5 -5
- package/es/picker/PickerOptions.mjs +1 -2
- package/es/picker/PickerToolbar.d.ts +4 -4
- package/es/picker/PickerToolbar.mjs +1 -2
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +5 -5
- package/es/popover/Popover.d.ts +5 -5
- package/es/popover/Popover.mjs +1 -2
- package/es/popover/index.d.ts +5 -5
- package/es/popup/Popup.d.ts +6 -6
- package/es/popup/Popup.mjs +1 -2
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +6 -6
- package/es/pull-refresh/PullRefresh.d.ts +5 -5
- package/es/pull-refresh/PullRefresh.mjs +1 -2
- package/es/pull-refresh/index.d.ts +5 -5
- package/es/radio/Radio.d.ts +5 -5
- package/es/radio/Radio.mjs +1 -2
- package/es/radio/index.css +1 -1
- package/es/radio/index.d.ts +5 -5
- package/es/radio-group/RadioGroup.d.ts +5 -5
- package/es/radio-group/RadioGroup.mjs +1 -2
- package/es/radio-group/index.d.ts +5 -5
- package/es/radio-picker/RadioPicker.d.ts +5 -5
- package/es/radio-picker/RadioPicker.mjs +1 -2
- package/es/radio-picker/RadioPickerColumn.d.ts +5 -5
- package/es/radio-picker/RadioPickerColumn.mjs +1 -2
- package/es/radio-picker/RadioPickerToolbar.d.ts +4 -4
- package/es/radio-picker/RadioPickerToolbar.mjs +1 -2
- package/es/radio-picker/index.css +1 -1
- package/es/radio-picker/index.d.ts +5 -5
- package/es/rate/Rate.d.ts +5 -5
- package/es/rate/Rate.mjs +1 -2
- package/es/rate/index.css +1 -1
- package/es/rate/index.d.ts +5 -5
- package/es/row/Row.d.ts +4 -4
- package/es/row/Row.mjs +1 -2
- package/es/row/index.d.ts +4 -4
- package/es/search/Search.d.ts +5 -5
- package/es/search/Search.mjs +1 -2
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +5 -5
- package/es/signature/Signature.d.ts +5 -5
- package/es/signature/Signature.mjs +1 -2
- package/es/signature/index.d.ts +5 -5
- package/es/skeleton/Skeleton.d.ts +5 -5
- package/es/skeleton/Skeleton.mjs +1 -2
- package/es/skeleton/index.d.ts +5 -5
- package/es/slider/Slider.d.ts +5 -5
- package/es/slider/Slider.mjs +1 -2
- package/es/slider/index.css +1 -1
- package/es/slider/index.d.ts +5 -5
- package/es/step/Step.d.ts +3 -3
- package/es/step/Step.mjs +1 -2
- package/es/step/index.css +1 -1
- package/es/step/index.d.ts +3 -3
- package/es/stepper/Stepper.d.ts +5 -5
- package/es/stepper/Stepper.mjs +1 -2
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +5 -5
- package/es/steps/Steps.d.ts +5 -5
- package/es/steps/Steps.mjs +1 -2
- package/es/steps/index.d.ts +5 -5
- package/es/sticky/Sticky.d.ts +5 -5
- package/es/sticky/Sticky.mjs +1 -2
- package/es/sticky/index.d.ts +5 -5
- package/es/swipe/Swipe.d.ts +5 -5
- package/es/swipe/Swipe.mjs +1 -2
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.d.ts +5 -5
- package/es/swipe-cell/SwipeCell.d.ts +6 -6
- package/es/swipe-cell/SwipeCell.mjs +1 -2
- package/es/swipe-cell/index.css +1 -1
- package/es/swipe-cell/index.d.ts +6 -6
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/SwipeItem.mjs +1 -2
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/Switch.d.ts +5 -5
- package/es/switch/Switch.mjs +1 -2
- package/es/switch/index.d.ts +5 -5
- package/es/tab/Tab.d.ts +7 -4
- package/es/tab/Tab.mjs +1 -2
- package/es/tab/index.d.ts +6 -4
- package/es/tabbar/Tabbar.d.ts +5 -5
- package/es/tabbar/Tabbar.mjs +1 -2
- package/es/tabbar/index.d.ts +5 -5
- package/es/tabbar-item/TabbarItem.d.ts +8 -5
- package/es/tabbar-item/TabbarItem.mjs +1 -2
- package/es/tabbar-item/index.css +1 -1
- package/es/tabbar-item/index.d.ts +7 -5
- package/es/table/Table.d.ts +5 -5
- package/es/table/Table.mjs +1 -2
- package/es/table/index.css +1 -1
- package/es/table/index.d.ts +5 -5
- package/es/tabs/Tabs.d.ts +5 -5
- package/es/tabs/Tabs.mjs +1 -2
- package/es/tabs/TabsContent.d.ts +5 -5
- package/es/tabs/TabsContent.mjs +1 -2
- package/es/tabs/TabsTitle.d.ts +4 -4
- package/es/tabs/TabsTitle.mjs +1 -2
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +5 -5
- package/es/tag/Tag.d.ts +5 -5
- package/es/tag/Tag.mjs +1 -2
- package/es/tag/index.d.ts +5 -5
- package/es/text-ellipsis/TextEllipsis.d.ts +5 -5
- package/es/text-ellipsis/TextEllipsis.mjs +1 -2
- package/es/text-ellipsis/index.d.ts +5 -5
- package/es/time-picker/Arrow.d.ts +2 -2
- package/es/time-picker/Arrow.mjs +1 -2
- package/es/time-picker/TimePicker.d.ts +5 -5
- package/es/time-picker/TimePicker.mjs +1 -2
- package/es/time-picker/TimePickerColumn.d.ts +5 -5
- package/es/time-picker/TimePickerColumn.mjs +1 -2
- package/es/time-picker/index.css +1 -1
- package/es/time-picker/index.d.ts +5 -5
- package/es/timeline/Timeline.d.ts +4 -4
- package/es/timeline/Timeline.mjs +1 -2
- package/es/timeline/index.d.ts +4 -4
- package/es/toast/Toast.d.ts +5 -5
- package/es/toast/Toast.mjs +1 -2
- package/es/toast/function-call.mjs +1 -2
- package/es/toast/index.css +1 -1
- package/es/toast/index.d.ts +5 -5
- package/es/uploader/Uploader.d.ts +5 -5
- package/es/uploader/Uploader.mjs +2 -2
- package/es/uploader/UploaderPreviewItem.d.ts +5 -5
- package/es/uploader/UploaderPreviewItem.mjs +1 -2
- package/es/uploader/index.d.ts +5 -5
- package/es/utils/dom.d.ts +1 -1
- package/es/utils/mount-component.d.ts +1 -1
- package/es/video/Video.d.ts +8 -5
- package/es/video/Video.mjs +5 -3
- package/es/video/index.css +1 -1
- package/es/video/index.d.ts +7 -5
- package/es/video/types.d.ts +1 -0
- package/es/vue-sfc-shim.d.ts +6 -6
- package/es/vue-tsx-shim.d.ts +23 -23
- package/lib/action-sheet/ActionSheet.d.ts +5 -5
- package/lib/action-sheet/ActionSheet.js +2 -3
- package/lib/action-sheet/index.d.ts +5 -5
- package/lib/audio/Audio.d.ts +18 -5
- package/lib/audio/Audio.js +11 -9
- package/lib/audio/index.d.ts +14 -5
- package/lib/avatar/Avatar.d.ts +4 -4
- package/lib/avatar/Avatar.js +4 -5
- package/lib/avatar/index.d.ts +4 -4
- package/lib/badge/Badge.d.ts +4 -4
- package/lib/badge/Badge.js +2 -3
- package/lib/badge/index.d.ts +4 -4
- package/lib/button/Button.d.ts +8 -5
- package/lib/button/Button.js +1 -2
- package/lib/button/index.d.ts +7 -5
- package/lib/calendar/Calendar.d.ts +5 -5
- package/lib/calendar/Calendar.js +19 -20
- package/lib/calendar/CalendarDay.d.ts +5 -5
- package/lib/calendar/CalendarDay.js +2 -3
- package/lib/calendar/CalendarHeader.d.ts +5 -5
- package/lib/calendar/CalendarHeader.js +1 -2
- package/lib/calendar/CalendarMonth.d.ts +5 -5
- package/lib/calendar/CalendarMonth.js +11 -12
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +5 -5
- package/lib/cascader/Cascader.d.ts +5 -5
- package/lib/cascader/Cascader.js +11 -12
- package/lib/cascader/index.d.ts +5 -5
- package/lib/cell/Cell.d.ts +8 -5
- package/lib/cell/Cell.js +5 -6
- package/lib/cell/index.d.ts +7 -5
- package/lib/cell-group/CellGroup.d.ts +4 -4
- package/lib/cell-group/CellGroup.js +1 -2
- package/lib/cell-group/index.d.ts +4 -4
- package/lib/checkbox/Checkbox.d.ts +5 -5
- package/lib/checkbox/Checkbox.js +3 -4
- package/lib/checkbox/Checker.d.ts +5 -5
- package/lib/checkbox/Checker.js +5 -6
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.d.ts +5 -5
- package/lib/checkbox-group/CheckboxGroup.d.ts +5 -5
- package/lib/checkbox-group/CheckboxGroup.js +2 -3
- package/lib/checkbox-group/index.d.ts +5 -5
- package/lib/col/Col.d.ts +4 -4
- package/lib/col/Col.js +2 -3
- package/lib/col/index.d.ts +4 -4
- package/lib/collapse/Collapse.d.ts +5 -5
- package/lib/collapse/Collapse.js +1 -2
- package/lib/collapse/index.d.ts +5 -5
- package/lib/collapse-item/CollapseItem.d.ts +4 -4
- package/lib/collapse-item/CollapseItem.js +8 -9
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.d.ts +4 -4
- package/lib/composables/use-height.d.ts +1 -1
- package/lib/composables/use-refs.d.ts +1 -1
- package/lib/composables/use-route.d.ts +2 -0
- package/lib/composables/use-route.js +2 -1
- package/lib/composables/use-sync-prop-ref.d.ts +1 -1
- package/lib/composables/use-touch.d.ts +8 -8
- package/lib/config-provider/ConfigProvider.d.ts +4 -4
- package/lib/config-provider/ConfigProvider.js +10 -11
- package/lib/config-provider/index.d.ts +4 -4
- package/lib/date-time-picker/DateTimePicker.d.ts +5 -5
- package/lib/date-time-picker/DateTimePicker.js +17 -18
- package/lib/date-time-picker/DateTimePickerWrapper.d.ts +5 -5
- package/lib/date-time-picker/DateTimePickerWrapper.js +12 -13
- package/lib/date-time-picker/index.d.ts +5 -5
- package/lib/dialog/Dialog.d.ts +5 -5
- package/lib/dialog/Dialog.js +4 -5
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.d.ts +5 -5
- package/lib/divider/Divider.d.ts +4 -4
- package/lib/divider/Divider.js +1 -2
- package/lib/divider/index.d.ts +4 -4
- package/lib/drawer-select/DrawerSelect.d.ts +5 -5
- package/lib/drawer-select/DrawerSelect.js +13 -14
- package/lib/drawer-select/index.d.ts +5 -5
- package/lib/dropdown-item/DropdownItem.d.ts +6 -6
- package/lib/dropdown-item/DropdownItem.js +5 -6
- package/lib/dropdown-item/index.d.ts +6 -6
- package/lib/dropdown-menu/DropdownMenu.d.ts +4 -4
- package/lib/dropdown-menu/DropdownMenu.js +6 -7
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.d.ts +4 -4
- package/lib/empty/Empty.d.ts +4 -4
- package/lib/empty/Empty.js +1 -2
- package/lib/empty/index.d.ts +4 -4
- package/lib/field/Field.d.ts +5 -5
- package/lib/field/Field.js +18 -19
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +5 -5
- package/lib/floating-bubble/FloatingBubble.d.ts +5 -5
- package/lib/floating-bubble/FloatingBubble.js +14 -15
- package/lib/floating-bubble/index.css +1 -1
- package/lib/floating-bubble/index.d.ts +5 -5
- package/lib/form/Form.d.ts +5 -5
- package/lib/form/Form.js +1 -2
- package/lib/form/index.d.ts +5 -5
- package/lib/grid/Grid.d.ts +4 -4
- package/lib/grid/Grid.js +1 -2
- package/lib/grid/index.d.ts +4 -4
- package/lib/grid-item/GridItem.d.ts +7 -4
- package/lib/grid-item/GridItem.js +3 -4
- package/lib/grid-item/index.d.ts +6 -4
- package/lib/hierarchy-select/Breadcrumb.d.ts +5 -5
- package/lib/hierarchy-select/Breadcrumb.js +1 -2
- package/lib/hierarchy-select/HierarchySelect.d.ts +5 -5
- package/lib/hierarchy-select/HierarchySelect.js +6 -7
- package/lib/hierarchy-select/index.d.ts +5 -5
- package/lib/icon/Icon.d.ts +4 -4
- package/lib/icon/Icon.js +3 -4
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.d.ts +4 -4
- package/lib/image/Image.d.ts +5 -5
- package/lib/image/Image.js +9 -10
- package/lib/image/index.d.ts +5 -5
- package/lib/image-preview/ImagePreview.d.ts +5 -5
- package/lib/image-preview/ImagePreview.js +8 -9
- package/lib/image-preview/ImagePreviewItem.d.ts +5 -5
- package/lib/image-preview/ImagePreviewItem.js +10 -11
- package/lib/image-preview/index.d.ts +5 -5
- package/lib/index-anchor/IndexAnchor.d.ts +3 -3
- package/lib/index-anchor/IndexAnchor.js +4 -5
- package/lib/index-anchor/index.d.ts +3 -3
- package/lib/index-bar/IndexBar.d.ts +5 -5
- package/lib/index-bar/IndexBar.js +12 -13
- package/lib/index-bar/index.css +1 -1
- package/lib/index-bar/index.d.ts +5 -5
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/lazyload/vue-lazyload/index.d.ts +55 -55
- package/lib/list/List.d.ts +5 -5
- package/lib/list/List.js +10 -11
- package/lib/list/index.d.ts +5 -5
- package/lib/loading/Loading.d.ts +4 -4
- package/lib/loading/Loading.js +2 -3
- package/lib/loading/index.d.ts +4 -4
- package/lib/media-picker/MediaPicker.d.ts +9 -5
- package/lib/media-picker/MediaPicker.js +6 -4
- package/lib/media-picker/image/DefaultAudioIcon.d.ts +1 -1
- package/lib/media-picker/image/DefaultAudioIcon.js +1 -2
- package/lib/media-picker/image/DefaultFileIcon.d.ts +1 -1
- package/lib/media-picker/image/DefaultFileIcon.js +1 -2
- package/lib/media-picker/image/DefaultVideoIcon.d.ts +1 -1
- package/lib/media-picker/image/DefaultVideoIcon.js +1 -2
- package/lib/media-picker/image/DeleteIcon.d.ts +1 -1
- package/lib/media-picker/image/DeleteIcon.js +1 -2
- package/lib/media-picker/image/PickFileIcon.d.ts +1 -1
- package/lib/media-picker/image/PickFileIcon.js +1 -2
- package/lib/media-picker/image/PickPhotoIcon.d.ts +1 -1
- package/lib/media-picker/image/PickPhotoIcon.js +1 -2
- package/lib/media-picker/image/TakeAudioIcon.d.ts +1 -1
- package/lib/media-picker/image/TakeAudioIcon.js +1 -2
- package/lib/media-picker/image/TakePhotoIcon.d.ts +1 -1
- package/lib/media-picker/image/TakePhotoIcon.js +1 -2
- package/lib/media-picker/image/TakeVideoIcon.d.ts +1 -1
- package/lib/media-picker/image/TakeVideoIcon.js +1 -2
- package/lib/media-picker/index.css +1 -1
- package/lib/media-picker/index.d.ts +7 -5
- package/lib/media-player/MediaPlayer.d.ts +21 -5
- package/lib/media-player/MediaPlayer.js +5 -1
- package/lib/media-player/index.d.ts +14 -5
- package/lib/multiple-picker/MultiplePicker.d.ts +5 -5
- package/lib/multiple-picker/MultiplePicker.js +9 -10
- package/lib/multiple-picker/MultiplePickerOptions.d.ts +5 -5
- package/lib/multiple-picker/MultiplePickerOptions.js +4 -5
- package/lib/multiple-picker/index.css +1 -1
- package/lib/multiple-picker/index.d.ts +5 -5
- package/lib/nav-bar/NavBar.d.ts +5 -5
- package/lib/nav-bar/NavBar.js +2 -3
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.d.ts +5 -5
- package/lib/notice-bar/NoticeBar.d.ts +5 -5
- package/lib/notice-bar/NoticeBar.js +5 -6
- package/lib/notice-bar/index.d.ts +5 -5
- package/lib/notify/Notify.d.ts +5 -5
- package/lib/notify/Notify.js +1 -2
- package/lib/notify/index.d.ts +5 -5
- package/lib/number-keyboard/NumberKeyboard.d.ts +6 -6
- package/lib/number-keyboard/NumberKeyboard.js +6 -7
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +5 -5
- package/lib/number-keyboard/NumberKeyboardKey.js +2 -3
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +6 -6
- package/lib/overlay/Overlay.d.ts +4 -4
- package/lib/overlay/Overlay.js +2 -3
- package/lib/overlay/index.d.ts +4 -4
- package/lib/password-input/PasswordInput.d.ts +5 -5
- package/lib/password-input/PasswordInput.js +1 -2
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.d.ts +5 -5
- package/lib/picker/Picker.d.ts +5 -5
- package/lib/picker/Picker.js +18 -19
- package/lib/picker/PickerColumn.d.ts +5 -5
- package/lib/picker/PickerColumn.js +6 -7
- package/lib/picker/PickerOptions.d.ts +5 -5
- package/lib/picker/PickerOptions.js +5 -6
- package/lib/picker/PickerToolbar.d.ts +4 -4
- package/lib/picker/PickerToolbar.js +1 -2
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +5 -5
- package/lib/popover/Popover.d.ts +5 -5
- package/lib/popover/Popover.js +16 -17
- package/lib/popover/index.d.ts +5 -5
- package/lib/popup/Popup.d.ts +6 -6
- package/lib/popup/Popup.js +15 -16
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +6 -6
- package/lib/pull-refresh/PullRefresh.d.ts +5 -5
- package/lib/pull-refresh/PullRefresh.js +7 -8
- package/lib/pull-refresh/index.d.ts +5 -5
- package/lib/radio/Radio.d.ts +5 -5
- package/lib/radio/Radio.js +1 -2
- package/lib/radio/index.css +1 -1
- package/lib/radio/index.d.ts +5 -5
- package/lib/radio-group/RadioGroup.d.ts +5 -5
- package/lib/radio-group/RadioGroup.js +2 -3
- package/lib/radio-group/index.d.ts +5 -5
- package/lib/radio-picker/RadioPicker.d.ts +5 -5
- package/lib/radio-picker/RadioPicker.js +18 -19
- package/lib/radio-picker/RadioPickerColumn.d.ts +5 -5
- package/lib/radio-picker/RadioPickerColumn.js +7 -8
- package/lib/radio-picker/RadioPickerToolbar.d.ts +4 -4
- package/lib/radio-picker/RadioPickerToolbar.js +1 -2
- package/lib/radio-picker/index.css +1 -1
- package/lib/radio-picker/index.d.ts +5 -5
- package/lib/rate/Rate.d.ts +5 -5
- package/lib/rate/Rate.js +3 -4
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.d.ts +5 -5
- package/lib/row/Row.d.ts +4 -4
- package/lib/row/Row.js +3 -4
- package/lib/row/index.d.ts +4 -4
- package/lib/search/Search.d.ts +5 -5
- package/lib/search/Search.js +2 -3
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +5 -5
- package/lib/signature/Signature.d.ts +5 -5
- package/lib/signature/Signature.js +12 -13
- package/lib/signature/index.d.ts +5 -5
- package/lib/skeleton/Skeleton.d.ts +5 -5
- package/lib/skeleton/Skeleton.js +1 -2
- package/lib/skeleton/index.d.ts +5 -5
- package/lib/slider/Slider.d.ts +5 -5
- package/lib/slider/Slider.js +8 -9
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.d.ts +5 -5
- package/lib/step/Step.d.ts +3 -3
- package/lib/step/Step.js +2 -3
- package/lib/step/index.css +1 -1
- package/lib/step/index.d.ts +3 -3
- package/lib/stepper/Stepper.d.ts +5 -5
- package/lib/stepper/Stepper.js +11 -12
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +5 -5
- package/lib/steps/Steps.d.ts +5 -5
- package/lib/steps/Steps.js +1 -2
- package/lib/steps/index.d.ts +5 -5
- package/lib/sticky/Sticky.d.ts +5 -5
- package/lib/sticky/Sticky.js +7 -8
- package/lib/sticky/index.d.ts +5 -5
- package/lib/swipe/Swipe.d.ts +5 -5
- package/lib/swipe/Swipe.js +22 -23
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.d.ts +5 -5
- package/lib/swipe-cell/SwipeCell.d.ts +6 -6
- package/lib/swipe-cell/SwipeCell.js +7 -8
- package/lib/swipe-cell/index.css +1 -1
- package/lib/swipe-cell/index.d.ts +6 -6
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/SwipeItem.js +6 -7
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/switch/Switch.d.ts +5 -5
- package/lib/switch/Switch.js +1 -2
- package/lib/switch/index.d.ts +5 -5
- package/lib/tab/Tab.d.ts +7 -4
- package/lib/tab/Tab.js +6 -7
- package/lib/tab/index.d.ts +6 -4
- package/lib/tabbar/Tabbar.d.ts +5 -5
- package/lib/tabbar/Tabbar.js +2 -3
- package/lib/tabbar/index.d.ts +5 -5
- package/lib/tabbar-item/TabbarItem.d.ts +8 -5
- package/lib/tabbar-item/TabbarItem.js +3 -4
- package/lib/tabbar-item/index.css +1 -1
- package/lib/tabbar-item/index.d.ts +7 -5
- package/lib/table/Table.d.ts +5 -5
- package/lib/table/Table.js +8 -9
- package/lib/table/index.css +1 -1
- package/lib/table/index.d.ts +5 -5
- package/lib/tabs/Tabs.d.ts +5 -5
- package/lib/tabs/Tabs.js +20 -21
- package/lib/tabs/TabsContent.d.ts +5 -5
- package/lib/tabs/TabsContent.js +4 -5
- package/lib/tabs/TabsTitle.d.ts +4 -4
- package/lib/tabs/TabsTitle.js +6 -7
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +5 -5
- package/lib/tag/Tag.d.ts +5 -5
- package/lib/tag/Tag.js +2 -3
- package/lib/tag/index.d.ts +5 -5
- package/lib/text-ellipsis/TextEllipsis.d.ts +5 -5
- package/lib/text-ellipsis/TextEllipsis.js +8 -9
- package/lib/text-ellipsis/index.d.ts +5 -5
- package/lib/time-picker/Arrow.d.ts +2 -2
- package/lib/time-picker/Arrow.js +1 -2
- package/lib/time-picker/TimePicker.d.ts +5 -5
- package/lib/time-picker/TimePicker.js +12 -13
- package/lib/time-picker/TimePickerColumn.d.ts +5 -5
- package/lib/time-picker/TimePickerColumn.js +6 -7
- package/lib/time-picker/index.css +1 -1
- package/lib/time-picker/index.d.ts +5 -5
- package/lib/timeline/Timeline.d.ts +4 -4
- package/lib/timeline/Timeline.js +3 -4
- package/lib/timeline/index.d.ts +4 -4
- package/lib/toast/Toast.d.ts +5 -5
- package/lib/toast/Toast.js +5 -6
- package/lib/toast/function-call.js +3 -4
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.d.ts +5 -5
- package/lib/uploader/Uploader.d.ts +5 -5
- package/lib/uploader/Uploader.js +5 -5
- package/lib/uploader/UploaderPreviewItem.d.ts +5 -5
- package/lib/uploader/UploaderPreviewItem.js +1 -2
- package/lib/uploader/index.d.ts +5 -5
- package/lib/utils/dom.d.ts +1 -1
- package/lib/utils/mount-component.d.ts +1 -1
- package/lib/video/Video.d.ts +8 -5
- package/lib/video/Video.js +13 -11
- package/lib/video/index.css +1 -1
- package/lib/video/index.d.ts +7 -5
- package/lib/video/types.d.ts +1 -0
- package/lib/vue-sfc-shim.d.ts +6 -6
- package/lib/vue-tsx-shim.d.ts +23 -23
- package/lib/web-types.json +1 -1
- package/lib/zartui.cjs.js +24 -10
- package/lib/zartui.es.js +24 -10
- package/lib/zartui.js +37 -20
- package/lib/zartui.min.js +1 -1
- package/package.json +27 -27
package/lib/tabs/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-tab-active-text-color: var(--zt-text-color);--zt-tab-disabled-text-color: var(--zt-text-color-3);--zt-tab-active-opacity: .2;--zt-tabs-default-color: var(--zt-primary-color);--zt-tabs-line-height: 44px;--zt-tabs-line-bottom: 16px;--zt-tabs-card-height: 32px;--zt-tabs-bottom-bar-width: 12px;--zt-tabs-bottom-bar-height: 4px;--zt-tabs-bottom-bar-color: var(--zt-primary-color);--zt-tabs-bottom-bar-radius: 2px;--zt-tabs-nav-background: var(--zt-background);--zt-tab-text-color: var(--zt-gray-a6);--zt-tabs-overlay-left-background: linear-gradient(90deg, #ffffff 0%, rgba(245, 250, 255, 0) 100%);--zt-tabs-overlay-right-background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%)}.zt-tab{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--zt-padding-md);color:var(--zt-tab-text-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);cursor:pointer}.zt-tab--active{color:var(--zt-tab-active-text-color);font-size:var(--zt-font-size-lg);font-weight:var(--zt-font-bold)}.zt-tab--active:active{opacity:var(--zt-tab-active-opacity)}.zt-tab--disabled{color:var(--zt-tab-disabled-text-color);cursor:not-allowed;font-size:var(--zt-font-size-md)}.zt-tab--grow{flex:1 0 auto;padding:0 var(--zt-padding-sm)}.zt-tab--shrink{flex:none;padding:0 var(--zt-padding-xs)}.zt-tab--card{color:var(--zt-tabs-default-color)}.zt-tab--card.zt-tab--active{color:var(--zt-white);background-color:var(--zt-tabs-default-color)}.zt-tab--card--disabled{color:var(--zt-tab-disabled-text-color)}.zt-tab__title{flex:1;display:flex;align-items:center;justify-content:center}.zt-tab__text--ellipsis{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.zt-tab__text-wrapper,.zt-tabs{position:relative}.zt-tabs__wrap{overflow:hidden;position:relative}.zt-tabs__wrap--page-top{position:fixed}.zt-tabs__wrap--content-bottom{top:auto;bottom:0}.zt-tabs__overlay-left,.zt-tabs__overlay-right{position:absolute;top:0;width:var(--zt-tabs-line-height);height:var(--zt-tabs-line-height);pointer-events:none}.zt-tabs__overlay-left{left:0;background:var(--zt-tabs-overlay-left-background)}.zt-tabs__overlay-right{right:0;background:var(--zt-tabs-overlay-right-background)}.zt-tabs__nav{position:relative;display:flex;justify-content:flex-start;background-color:var(--zt-tabs-nav-background);-webkit-user-select:none;user-select:none}.zt-tabs__nav--complete{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.zt-tabs__nav--complete::-webkit-scrollbar{display:none}.zt-tabs__nav--line{box-sizing:content-box;height:100%;padding-bottom:var(--zt-tabs-line-bottom)}.zt-tabs__nav--line.zt-tabs__nav--shrink .zt-tab,.zt-tabs__nav--line.zt-tabs__nav--complete .zt-tab{flex:1 0 auto;padding:0 var(--zt-padding-sm)}.zt-tabs__nav--line.zt-tabs__nav--shrink .zt-tabs__nav,.zt-tabs__nav--line.zt-tabs__nav--complete .zt-tabs__nav{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.zt-tabs__nav--line.zt-tabs__nav--shrink .zt-tabs__nav::-webkit-scrollbar,.zt-tabs__nav--line.zt-tabs__nav--complete .zt-tabs__nav::-webkit-scrollbar{display:none}.zt-tabs__nav--card.zt-tabs__nav--shrink{display:inline-flex}.zt-tabs__line{position:absolute;bottom:var(--zt-tabs-line-bottom);left:0;z-index:1;width:var(--zt-tabs-bottom-bar-width);height:var(--zt-tabs-bottom-bar-height);background:var(--zt-tabs-bottom-bar-color);border-radius:var(--zt-tabs-bottom-bar-radius)}.zt-tabs__track{position:relative;display:flex;width:100%;height:100%;will-change:left}.zt-tabs__content--animated{overflow:hidden}.zt-tabs--line .zt-tabs__wrap{height:var(--zt-tabs-line-height)}.zt-tabs--card>.zt-tabs__wrap{height:var(--zt-tabs-card-height);display:flex;justify-content:center}.zt-theme-dark{--zt-tabs-overlay-left-background: linear-gradient(90deg, #0f1923 0%, rgba(15, 25, 35, 0) 100%);--zt-tabs-overlay-right-background: linear-gradient(90deg, rgba(15, 25, 35, 0) 3%, #0f1923 100%)}
|
|
1
|
+
:root{--zt-tab-active-text-color: var(--zt-text-color);--zt-tab-disabled-text-color: var(--zt-text-color-3);--zt-tab-active-opacity: .2;--zt-tabs-default-color: var(--zt-primary-color);--zt-tabs-line-height: 44px;--zt-tabs-line-bottom: 16px;--zt-tabs-card-height: 32px;--zt-tabs-bottom-bar-width: 12px;--zt-tabs-bottom-bar-height: 4px;--zt-tabs-bottom-bar-color: var(--zt-primary-color);--zt-tabs-bottom-bar-radius: 2px;--zt-tabs-nav-background: var(--zt-background);--zt-tab-text-color: var(--zt-gray-a6);--zt-tabs-overlay-left-background: linear-gradient(90deg, #ffffff 0%, rgba(245, 250, 255, 0) 100%);--zt-tabs-overlay-right-background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%)}.zt-tab{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--zt-padding-md);color:var(--zt-tab-text-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);cursor:pointer}.zt-tab--active{color:var(--zt-tab-active-text-color);font-size:var(--zt-font-size-lg);font-weight:var(--zt-font-bold)}.zt-tab--active:active{opacity:var(--zt-tab-active-opacity)}.zt-tab--disabled{color:var(--zt-tab-disabled-text-color);cursor:not-allowed;font-size:var(--zt-font-size-md)}.zt-tab--grow{flex:1 0 auto;padding:0 var(--zt-padding-sm)}.zt-tab--shrink{flex:none;padding:0 var(--zt-padding-xs)}.zt-tab--card{color:var(--zt-tabs-default-color)}.zt-tab--card.zt-tab--active{color:var(--zt-white);background-color:var(--zt-tabs-default-color)}.zt-tab--card--disabled{color:var(--zt-tab-disabled-text-color)}.zt-tab__title{flex:1;display:flex;align-items:center;justify-content:center}.zt-tab__text--ellipsis{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.zt-tab__text-wrapper,.zt-tabs{position:relative}.zt-tabs__wrap{overflow:hidden;position:relative}.zt-tabs__wrap--page-top{position:fixed}.zt-tabs__wrap--content-bottom{top:auto;bottom:0}.zt-tabs__overlay-left,.zt-tabs__overlay-right{position:absolute;top:0;width:var(--zt-tabs-line-height);height:var(--zt-tabs-line-height);pointer-events:none}.zt-tabs__overlay-left{left:0;background:var(--zt-tabs-overlay-left-background)}.zt-tabs__overlay-right{right:0;background:var(--zt-tabs-overlay-right-background)}.zt-tabs__nav{position:relative;display:flex;justify-content:flex-start;background-color:var(--zt-tabs-nav-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.zt-tabs__nav--complete{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.zt-tabs__nav--complete::-webkit-scrollbar{display:none}.zt-tabs__nav--line{box-sizing:content-box;height:100%;padding-bottom:var(--zt-tabs-line-bottom)}.zt-tabs__nav--line.zt-tabs__nav--shrink .zt-tab,.zt-tabs__nav--line.zt-tabs__nav--complete .zt-tab{flex:1 0 auto;padding:0 var(--zt-padding-sm)}.zt-tabs__nav--line.zt-tabs__nav--shrink .zt-tabs__nav,.zt-tabs__nav--line.zt-tabs__nav--complete .zt-tabs__nav{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.zt-tabs__nav--line.zt-tabs__nav--shrink .zt-tabs__nav::-webkit-scrollbar,.zt-tabs__nav--line.zt-tabs__nav--complete .zt-tabs__nav::-webkit-scrollbar{display:none}.zt-tabs__nav--card.zt-tabs__nav--shrink{display:inline-flex}.zt-tabs__line{position:absolute;bottom:var(--zt-tabs-line-bottom);left:0;z-index:1;width:var(--zt-tabs-bottom-bar-width);height:var(--zt-tabs-bottom-bar-height);background:var(--zt-tabs-bottom-bar-color);border-radius:var(--zt-tabs-bottom-bar-radius)}.zt-tabs__track{position:relative;display:flex;width:100%;height:100%;will-change:left}.zt-tabs__content--animated{overflow:hidden}.zt-tabs--line .zt-tabs__wrap{height:var(--zt-tabs-line-height)}.zt-tabs--card>.zt-tabs__wrap{height:var(--zt-tabs-card-height);display:flex;justify-content:center}.zt-theme-dark{--zt-tabs-overlay-left-background: linear-gradient(90deg, #0f1923 0%, rgba(15, 25, 35, 0) 100%);--zt-tabs-overlay-right-background: linear-gradient(90deg, rgba(15, 25, 35, 0) 3%, #0f1923 100%)}
|
package/lib/tabs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TabsProps } from './Tabs';
|
|
2
|
-
export declare const Tabs: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
2
|
+
export declare const Tabs: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
type: {
|
|
4
4
|
type: import("vue").PropType<import("./types").TabsType>;
|
|
5
5
|
default: import("./types").TabsType;
|
|
@@ -41,7 +41,7 @@ export declare const Tabs: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
41
41
|
};
|
|
42
42
|
titleActiveColor: StringConstructor;
|
|
43
43
|
titleInactiveColor: StringConstructor;
|
|
44
|
-
}
|
|
44
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "change" | "rendered" | "clickTab" | "update:active")[], "scroll" | "change" | "rendered" | "clickTab" | "update:active", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
45
|
type: {
|
|
46
46
|
type: import("vue").PropType<import("./types").TabsType>;
|
|
47
47
|
default: import("./types").TabsType;
|
|
@@ -83,13 +83,13 @@ export declare const Tabs: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
83
83
|
};
|
|
84
84
|
titleActiveColor: StringConstructor;
|
|
85
85
|
titleInactiveColor: StringConstructor;
|
|
86
|
-
}>> & {
|
|
86
|
+
}>> & Readonly<{
|
|
87
87
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
88
88
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
89
89
|
onRendered?: ((...args: any[]) => any) | undefined;
|
|
90
90
|
onClickTab?: ((...args: any[]) => any) | undefined;
|
|
91
91
|
"onUpdate:active"?: ((...args: any[]) => any) | undefined;
|
|
92
|
-
}
|
|
92
|
+
}>, {
|
|
93
93
|
type: import("./types").TabsType;
|
|
94
94
|
ellipsis: boolean;
|
|
95
95
|
sticky: boolean;
|
|
@@ -103,7 +103,7 @@ export declare const Tabs: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
103
103
|
swipeable: boolean;
|
|
104
104
|
scrollspy: boolean;
|
|
105
105
|
swipeThreshold: string | number;
|
|
106
|
-
}, {}>>;
|
|
106
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
107
107
|
export default Tabs;
|
|
108
108
|
export type { TabsProps };
|
|
109
109
|
export type { TabsType, TabsInstance, TabsThemeVars } from './types';
|
package/lib/tag/Tag.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export declare const tagProps: {
|
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
export type TagProps = ExtractPropTypes<typeof tagProps>;
|
|
39
|
-
declare const _default: import("vue").DefineComponent<{
|
|
39
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
40
40
|
mark: BooleanConstructor;
|
|
41
41
|
show: {
|
|
42
42
|
type: BooleanConstructor;
|
|
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
type: NumberConstructor;
|
|
71
71
|
default: number;
|
|
72
72
|
};
|
|
73
|
-
}
|
|
73
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
74
74
|
mark: BooleanConstructor;
|
|
75
75
|
show: {
|
|
76
76
|
type: BooleanConstructor;
|
|
@@ -104,9 +104,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
104
|
type: NumberConstructor;
|
|
105
105
|
default: number;
|
|
106
106
|
};
|
|
107
|
-
}>> & {
|
|
107
|
+
}>> & Readonly<{
|
|
108
108
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
109
|
-
}
|
|
109
|
+
}>, {
|
|
110
110
|
mark: boolean;
|
|
111
111
|
type: TagType;
|
|
112
112
|
badge: boolean;
|
|
@@ -118,5 +118,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
118
|
badgeHeight: number;
|
|
119
119
|
stamp: boolean;
|
|
120
120
|
stampDiameter: number;
|
|
121
|
-
}, {}>;
|
|
121
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
122
122
|
export default _default;
|
package/lib/tag/Tag.js
CHANGED
|
@@ -32,7 +32,6 @@ __export(stdin_exports, {
|
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(stdin_exports);
|
|
34
34
|
var import_vue = require("vue");
|
|
35
|
-
var import_vue2 = require("vue");
|
|
36
35
|
var import_utils = require("../utils");
|
|
37
36
|
var import_icon = require("../icon");
|
|
38
37
|
var import_parse = require("../utils/parse");
|
|
@@ -58,7 +57,7 @@ const tagProps = {
|
|
|
58
57
|
stamp: Boolean,
|
|
59
58
|
stampDiameter: (0, import_utils.makeNumberProp)(60)
|
|
60
59
|
};
|
|
61
|
-
var stdin_default = (0,
|
|
60
|
+
var stdin_default = (0, import_vue.defineComponent)({
|
|
62
61
|
name,
|
|
63
62
|
props: tagProps,
|
|
64
63
|
emits: ["close"],
|
|
@@ -175,7 +174,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
175
174
|
"class": bem("stamp", ["text"])
|
|
176
175
|
}, [(_a = slots.default) == null ? void 0 : _a.call(slots)])])]);
|
|
177
176
|
};
|
|
178
|
-
return () => (0, import_vue.createVNode)(
|
|
177
|
+
return () => (0, import_vue.createVNode)(import_vue.Transition, {
|
|
179
178
|
"name": props.closeable ? "zt-fade" : void 0
|
|
180
179
|
}, {
|
|
181
180
|
default: () => [props.stamp && props.show ? renderStampTag() : props.show ? renderTag() : null]
|
package/lib/tag/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Tag: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const Tag: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
mark: BooleanConstructor;
|
|
3
3
|
show: {
|
|
4
4
|
type: BooleanConstructor;
|
|
@@ -32,7 +32,7 @@ export declare const Tag: import("../utils").WithInstall<import("vue").DefineCom
|
|
|
32
32
|
type: NumberConstructor;
|
|
33
33
|
default: number;
|
|
34
34
|
};
|
|
35
|
-
}
|
|
35
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
36
|
mark: BooleanConstructor;
|
|
37
37
|
show: {
|
|
38
38
|
type: BooleanConstructor;
|
|
@@ -66,9 +66,9 @@ export declare const Tag: import("../utils").WithInstall<import("vue").DefineCom
|
|
|
66
66
|
type: NumberConstructor;
|
|
67
67
|
default: number;
|
|
68
68
|
};
|
|
69
|
-
}>> & {
|
|
69
|
+
}>> & Readonly<{
|
|
70
70
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
71
|
-
}
|
|
71
|
+
}>, {
|
|
72
72
|
mark: boolean;
|
|
73
73
|
type: import("./Tag").TagType;
|
|
74
74
|
badge: boolean;
|
|
@@ -80,7 +80,7 @@ export declare const Tag: import("../utils").WithInstall<import("vue").DefineCom
|
|
|
80
80
|
badgeHeight: number;
|
|
81
81
|
stamp: boolean;
|
|
82
82
|
stampDiameter: number;
|
|
83
|
-
}, {}>>;
|
|
83
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
84
84
|
export default Tag;
|
|
85
85
|
export { tagProps } from './Tag';
|
|
86
86
|
export type { TagType, TagProps } from './Tag';
|
|
@@ -30,7 +30,7 @@ export declare const textEllipsisProps: {
|
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
export type TextEllipsisProps = ExtractPropTypes<typeof textEllipsisProps>;
|
|
33
|
-
declare const _default: import("vue").DefineComponent<{
|
|
33
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
34
34
|
rows: {
|
|
35
35
|
type: (NumberConstructor | StringConstructor)[];
|
|
36
36
|
default: number;
|
|
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
59
|
type: import("vue").PropType<string>;
|
|
60
60
|
default: string;
|
|
61
61
|
};
|
|
62
|
-
}
|
|
62
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clickAction"[], "clickAction", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
63
63
|
rows: {
|
|
64
64
|
type: (NumberConstructor | StringConstructor)[];
|
|
65
65
|
default: number;
|
|
@@ -88,9 +88,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
88
|
type: import("vue").PropType<string>;
|
|
89
89
|
default: string;
|
|
90
90
|
};
|
|
91
|
-
}>> & {
|
|
91
|
+
}>> & Readonly<{
|
|
92
92
|
onClickAction?: ((...args: any[]) => any) | undefined;
|
|
93
|
-
}
|
|
93
|
+
}>, {
|
|
94
94
|
content: string;
|
|
95
95
|
position: string;
|
|
96
96
|
rows: string | number;
|
|
@@ -98,5 +98,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
98
98
|
expandText: string;
|
|
99
99
|
expandType: "flat" | "dialog";
|
|
100
100
|
collapseText: string;
|
|
101
|
-
}, {}>;
|
|
101
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
102
102
|
export default _default;
|
|
@@ -22,7 +22,6 @@ __export(stdin_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(stdin_exports);
|
|
24
24
|
var import_vue = require("vue");
|
|
25
|
-
var import_vue2 = require("vue");
|
|
26
25
|
var import_use = require("@zartui/use");
|
|
27
26
|
var import_dialog = require("../dialog");
|
|
28
27
|
var import_utils = require("../utils");
|
|
@@ -36,18 +35,18 @@ const textEllipsisProps = {
|
|
|
36
35
|
collapseText: (0, import_utils.makeStringProp)(""),
|
|
37
36
|
position: (0, import_utils.makeStringProp)("end")
|
|
38
37
|
};
|
|
39
|
-
var stdin_default = (0,
|
|
38
|
+
var stdin_default = (0, import_vue.defineComponent)({
|
|
40
39
|
name,
|
|
41
40
|
props: textEllipsisProps,
|
|
42
41
|
emits: ["clickAction"],
|
|
43
42
|
setup(props, {
|
|
44
43
|
emit
|
|
45
44
|
}) {
|
|
46
|
-
const text = (0,
|
|
47
|
-
const expanded = (0,
|
|
48
|
-
const hasAction = (0,
|
|
49
|
-
const root = (0,
|
|
50
|
-
const actionText = (0,
|
|
45
|
+
const text = (0, import_vue.ref)("");
|
|
46
|
+
const expanded = (0, import_vue.ref)(false);
|
|
47
|
+
const hasAction = (0, import_vue.ref)(false);
|
|
48
|
+
const root = (0, import_vue.ref)();
|
|
49
|
+
const actionText = (0, import_vue.computed)(() => expanded.value ? props.collapseText : props.expandText);
|
|
51
50
|
const pxToNum = (value) => {
|
|
52
51
|
if (!value)
|
|
53
52
|
return 0;
|
|
@@ -160,8 +159,8 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
160
159
|
});
|
|
161
160
|
}
|
|
162
161
|
};
|
|
163
|
-
(0,
|
|
164
|
-
(0,
|
|
162
|
+
(0, import_vue.onMounted)(calcEllipsised);
|
|
163
|
+
(0, import_vue.watch)(() => [props.content, props.rows, props.position], calcEllipsised);
|
|
165
164
|
(0, import_use.useEventListener)("resize", calcEllipsised);
|
|
166
165
|
return () => (0, import_vue.createVNode)("div", {
|
|
167
166
|
"ref": root,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const TextEllipsis: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const TextEllipsis: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
rows: {
|
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
|
4
4
|
default: number;
|
|
@@ -27,7 +27,7 @@ export declare const TextEllipsis: import("../utils").WithInstall<import("vue").
|
|
|
27
27
|
type: import("vue").PropType<string>;
|
|
28
28
|
default: string;
|
|
29
29
|
};
|
|
30
|
-
}
|
|
30
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clickAction"[], "clickAction", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
31
|
rows: {
|
|
32
32
|
type: (NumberConstructor | StringConstructor)[];
|
|
33
33
|
default: number;
|
|
@@ -56,9 +56,9 @@ export declare const TextEllipsis: import("../utils").WithInstall<import("vue").
|
|
|
56
56
|
type: import("vue").PropType<string>;
|
|
57
57
|
default: string;
|
|
58
58
|
};
|
|
59
|
-
}>> & {
|
|
59
|
+
}>> & Readonly<{
|
|
60
60
|
onClickAction?: ((...args: any[]) => any) | undefined;
|
|
61
|
-
}
|
|
61
|
+
}>, {
|
|
62
62
|
content: string;
|
|
63
63
|
position: string;
|
|
64
64
|
rows: string | number;
|
|
@@ -66,7 +66,7 @@ export declare const TextEllipsis: import("../utils").WithInstall<import("vue").
|
|
|
66
66
|
expandText: string;
|
|
67
67
|
expandType: "flat" | "dialog";
|
|
68
68
|
collapseText: string;
|
|
69
|
-
}, {}>>;
|
|
69
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
70
70
|
export default TextEllipsis;
|
|
71
71
|
export { textEllipsisProps } from './TextEllipsis';
|
|
72
72
|
export type { TextEllipsisProps } from './TextEllipsis';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
2
2
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
3
|
-
}, {}, {}>;
|
|
3
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
4
|
export default _default;
|
package/lib/time-picker/Arrow.js
CHANGED
|
@@ -21,8 +21,7 @@ __export(stdin_exports, {
|
|
|
21
21
|
});
|
|
22
22
|
module.exports = __toCommonJS(stdin_exports);
|
|
23
23
|
var import_vue = require("vue");
|
|
24
|
-
var
|
|
25
|
-
var stdin_default = (0, import_vue2.defineComponent)({
|
|
24
|
+
var stdin_default = (0, import_vue.defineComponent)({
|
|
26
25
|
name: "Arrow",
|
|
27
26
|
emits: ["click"],
|
|
28
27
|
setup(_, {
|
|
@@ -88,7 +88,7 @@ export declare const timePickerProps: {
|
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
90
|
export type TimePickerProps = ExtractPropTypes<typeof timePickerProps>;
|
|
91
|
-
declare const _default: import("vue").DefineComponent<{
|
|
91
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
92
92
|
loading: BooleanConstructor;
|
|
93
93
|
readonly: BooleanConstructor;
|
|
94
94
|
allowHtml: BooleanConstructor;
|
|
@@ -173,7 +173,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
173
173
|
type: PropType<TimePickerColumnType[]>;
|
|
174
174
|
default: () => string[];
|
|
175
175
|
};
|
|
176
|
-
}
|
|
176
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "clickOption")[], "update:modelValue" | "change" | "clickOption", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
177
177
|
loading: BooleanConstructor;
|
|
178
178
|
readonly: BooleanConstructor;
|
|
179
179
|
allowHtml: BooleanConstructor;
|
|
@@ -258,11 +258,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
258
258
|
type: PropType<TimePickerColumnType[]>;
|
|
259
259
|
default: () => string[];
|
|
260
260
|
};
|
|
261
|
-
}>> & {
|
|
261
|
+
}>> & Readonly<{
|
|
262
262
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
263
263
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
264
264
|
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
265
|
-
}
|
|
265
|
+
}>, {
|
|
266
266
|
title: string;
|
|
267
267
|
formatter: (type: string, option: PickerOption) => PickerOption;
|
|
268
268
|
modelValue: string[];
|
|
@@ -282,5 +282,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
282
282
|
minSecond: string | number;
|
|
283
283
|
maxSecond: string | number;
|
|
284
284
|
columnsType: TimePickerColumnType[];
|
|
285
|
-
}, {}>;
|
|
285
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
286
286
|
export default _default;
|
|
@@ -32,7 +32,6 @@ __export(stdin_exports, {
|
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(stdin_exports);
|
|
34
34
|
var import_vue = require("vue");
|
|
35
|
-
var import_vue2 = require("vue");
|
|
36
35
|
var import_utils = require("../utils");
|
|
37
36
|
var import_utils2 = require("../date-time-picker/utils");
|
|
38
37
|
var import_use = require("@zartui/use");
|
|
@@ -55,7 +54,7 @@ const timePickerProps = (0, import_utils.extend)({}, import_utils2.sharedProps,
|
|
|
55
54
|
default: () => ["hour", "minute"]
|
|
56
55
|
}
|
|
57
56
|
});
|
|
58
|
-
var stdin_default = (0,
|
|
57
|
+
var stdin_default = (0, import_vue.defineComponent)({
|
|
59
58
|
name,
|
|
60
59
|
props: timePickerProps,
|
|
61
60
|
emits: ["clickOption", "change", "update:modelValue"],
|
|
@@ -63,7 +62,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
63
62
|
emit,
|
|
64
63
|
slots
|
|
65
64
|
}) {
|
|
66
|
-
const columns = (0,
|
|
65
|
+
const columns = (0, import_vue.computed)(() => props.columnsType.map((type) => {
|
|
67
66
|
const {
|
|
68
67
|
filter,
|
|
69
68
|
formatter
|
|
@@ -79,16 +78,16 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
79
78
|
throw new Error(`[ZartUI] DatePicker: unsupported columns type: ${type}`);
|
|
80
79
|
}
|
|
81
80
|
}));
|
|
82
|
-
const columnsRef = (0,
|
|
83
|
-
const selectedValues = (0,
|
|
81
|
+
const columnsRef = (0, import_vue.ref)();
|
|
82
|
+
const selectedValues = (0, import_vue.ref)(props.modelValue.slice(0));
|
|
84
83
|
const {
|
|
85
84
|
linkChildren
|
|
86
85
|
} = (0, import_use.useChildren)(import_TimePickerColumn.TIME_PICKER_KEY);
|
|
87
86
|
linkChildren();
|
|
88
|
-
const fields = (0,
|
|
89
|
-
const optionHeight = (0,
|
|
90
|
-
const columnsType = (0,
|
|
91
|
-
const currentColumns = (0,
|
|
87
|
+
const fields = (0, import_vue.computed)(() => (0, import_utils3.assignDefaultFields)(props.columnsFieldNames));
|
|
88
|
+
const optionHeight = (0, import_vue.computed)(() => (0, import_utils.unitToPx)(props.optionHeight));
|
|
89
|
+
const columnsType = (0, import_vue.computed)(() => (0, import_utils3.getColumnsType)(columns.value, fields.value));
|
|
90
|
+
const currentColumns = (0, import_vue.computed)(() => {
|
|
92
91
|
switch (columnsType.value) {
|
|
93
92
|
case "multiple":
|
|
94
93
|
return columns.value;
|
|
@@ -98,7 +97,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
98
97
|
return [columns.value];
|
|
99
98
|
}
|
|
100
99
|
});
|
|
101
|
-
const selectedOptions = (0,
|
|
100
|
+
const selectedOptions = (0, import_vue.computed)(() => currentColumns.value.map((options, index) => (0, import_utils3.findOptionByValue)(options, selectedValues.value[index], fields.value)));
|
|
102
101
|
const setValue = (index, value) => {
|
|
103
102
|
const strValue = String(value);
|
|
104
103
|
if (selectedValues.value[index] !== strValue) {
|
|
@@ -166,7 +165,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
166
165
|
"style": columnsStyle
|
|
167
166
|
}, [renderSeparators(), renderColumnItems()]);
|
|
168
167
|
};
|
|
169
|
-
(0,
|
|
168
|
+
(0, import_vue.watch)(currentColumns, (columns2) => {
|
|
170
169
|
columns2.forEach((options, index) => {
|
|
171
170
|
if (options.length && !(0, import_utils3.isOptionExist)(options, selectedValues.value[index], fields.value)) {
|
|
172
171
|
setValue(index, (0, import_utils3.getFirstEnabledOption)(options)[fields.value.value]);
|
|
@@ -176,14 +175,14 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
176
175
|
immediate: true
|
|
177
176
|
});
|
|
178
177
|
let lastEmittedModelValue;
|
|
179
|
-
(0,
|
|
178
|
+
(0, import_vue.watch)(() => props.modelValue, (newValues) => {
|
|
180
179
|
if (!(0, import_utils.isSameValue)(newValues, selectedValues.value) && !(0, import_utils.isSameValue)(newValues, lastEmittedModelValue)) {
|
|
181
180
|
selectedValues.value = newValues.slice(0);
|
|
182
181
|
}
|
|
183
182
|
}, {
|
|
184
183
|
deep: true
|
|
185
184
|
});
|
|
186
|
-
(0,
|
|
185
|
+
(0, import_vue.watch)(selectedValues, (newValues) => {
|
|
187
186
|
if (!(0, import_utils.isSameValue)(newValues, props.modelValue)) {
|
|
188
187
|
lastEmittedModelValue = newValues.slice(0);
|
|
189
188
|
emit("update:modelValue", lastEmittedModelValue);
|
|
@@ -2,7 +2,7 @@ import { InjectionKey, PropType } from 'vue';
|
|
|
2
2
|
import { PickerFieldNames, PickerOption } from '../picker';
|
|
3
3
|
import { PickerColumnProvide } from '../picker/types';
|
|
4
4
|
export declare const TIME_PICKER_KEY: InjectionKey<PickerColumnProvide>;
|
|
5
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
value: (NumberConstructor | StringConstructor)[];
|
|
7
7
|
unit: {
|
|
8
8
|
type: PropType<string>;
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
type: (NumberConstructor | StringConstructor)[];
|
|
31
31
|
required: true;
|
|
32
32
|
};
|
|
33
|
-
}
|
|
33
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "clickOption")[], "change" | "clickOption", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
34
|
value: (NumberConstructor | StringConstructor)[];
|
|
35
35
|
unit: {
|
|
36
36
|
type: PropType<string>;
|
|
@@ -58,14 +58,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
58
|
type: (NumberConstructor | StringConstructor)[];
|
|
59
59
|
required: true;
|
|
60
60
|
};
|
|
61
|
-
}>> & {
|
|
61
|
+
}>> & Readonly<{
|
|
62
62
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
}
|
|
64
|
+
}>, {
|
|
65
65
|
readonly: boolean;
|
|
66
66
|
columnCount: number;
|
|
67
67
|
options: PickerOption[];
|
|
68
68
|
allowHtml: boolean;
|
|
69
69
|
unit: string;
|
|
70
|
-
}, {}>;
|
|
70
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
71
71
|
export default _default;
|
|
@@ -32,7 +32,6 @@ __export(stdin_exports, {
|
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(stdin_exports);
|
|
34
34
|
var import_vue = require("vue");
|
|
35
|
-
var import_vue2 = require("vue");
|
|
36
35
|
var import_utils = require("../utils");
|
|
37
36
|
var import_use_touch = require("../composables/use-touch");
|
|
38
37
|
var import_utils2 = require("../picker/utils");
|
|
@@ -44,7 +43,7 @@ const TIME_PICKER_KEY = Symbol(name);
|
|
|
44
43
|
const MOMENTUM_TIME = 300;
|
|
45
44
|
const MOMENTUM_DISTANCE = 15;
|
|
46
45
|
const DEFAULT_DURATION = 200;
|
|
47
|
-
var stdin_default = (0,
|
|
46
|
+
var stdin_default = (0, import_vue.defineComponent)({
|
|
48
47
|
name,
|
|
49
48
|
props: {
|
|
50
49
|
value: import_utils.numericProp,
|
|
@@ -67,10 +66,10 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
67
66
|
let touchStartTime;
|
|
68
67
|
let momentumOffset;
|
|
69
68
|
let transitionEndTrigger;
|
|
70
|
-
const root = (0,
|
|
71
|
-
const wrapper = (0,
|
|
72
|
-
const currentOffset = (0,
|
|
73
|
-
const currentDuration = (0,
|
|
69
|
+
const root = (0, import_vue.ref)();
|
|
70
|
+
const wrapper = (0, import_vue.ref)();
|
|
71
|
+
const currentOffset = (0, import_vue.ref)(0);
|
|
72
|
+
const currentDuration = (0, import_vue.ref)(0);
|
|
74
73
|
const touch = (0, import_use_touch.useTouch)();
|
|
75
74
|
const count = () => props.options.length;
|
|
76
75
|
const updateValueByIndex = (index) => {
|
|
@@ -230,7 +229,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
230
229
|
(0, import_use_expose.useExpose)({
|
|
231
230
|
stopMomentum
|
|
232
231
|
});
|
|
233
|
-
(0,
|
|
232
|
+
(0, import_vue.watchEffect)(() => {
|
|
234
233
|
const index = props.options.findIndex((option) => option[props.fields.value] === props.value);
|
|
235
234
|
const enabledIndex = (0, import_utils2.findIndexOfEnabledOption)(props.options, index);
|
|
236
235
|
currentOffset.value = -enabledIndex * props.optionHeight;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-time-picker-cancel-margin: 8px 4px 8px 16px;--zt-time-picker-confirm-margin: 8px 16px 8px 4px;--zt-time-picker-title-height: 44px;--zt-time-picker-title-border-radius: 16px 16px 0 0;--zt-time-picker-frame-background-color: var(--zt-gray-a04);--zt-time-picker-cancel-background-color: var(--zt-white);--zt-time-picker-title-text-color: var(--zt-gray-a4);--zt-time-picker-background: var(--zt-background-popup);--zt-time-picker-toolbar-height: 60px;--zt-time-picker-action-padding: 0 var(--zt-padding-md);--zt-time-picker-confirm-action-color: var(--zt-white);--zt-time-picker-cancel-action-color: var(--zt-text-color);--zt-time-picker-option-radius: 8px;--zt-time-picker-option-padding: 0 var(--zt-padding-base);--zt-time-picker-option-text-color: var(--zt-text-color);--zt-time-picker-option-disabled-opacity: var(--zt-disabled-opacity);--zt-time-picker-loading-icon-color: var(--zt-primary-color);--zt-time-picker-loading-mask-color: rgba(255, 255, 255, .9);--zt-time-picker-mask-color: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)), linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4));--zt-time-picker-unit-background: var(--zt-white);--zt-time-picker-unit-font-size: 24px}:root[zt-theme-size=large]{--zt-time-picker-unit-font-size: 30px}.zt-theme-dark{--zt-time-picker-mask-color: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)), linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1));--zt-time-picker-unit-background: rgba(255, 255, 255, .04)}.zt-time-picker{position:relative;background:var(--zt-time-picker-background);-webkit-user-select:none;user-select:none}.zt-time-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--zt-time-picker-toolbar-height)}.zt-time-picker__cancel,.zt-time-picker__confirm{width:50%}.zt-time-picker__cancel{background:#ffffff;margin:var(--zt-time-picker-cancel-margin)}.zt-time-picker__confirm{margin:var(--zt-time-picker-confirm-margin)}.zt-time-picker__title{display:flex;justify-content:center;align-items:center;width:100%;height:var(--zt-time-picker-title-height);border-radius:var(--zt-time-picker-title-border-radius);font-size:var(--zt-font-size-md);background:#ffffff;color:var(--zt-time-picker-title-text-color)}.zt-time-picker__columns{background:var(--zt-time-picker-background);position:relative;display:flex;cursor
|
|
1
|
+
:root{--zt-time-picker-cancel-margin: 8px 4px 8px 16px;--zt-time-picker-confirm-margin: 8px 16px 8px 4px;--zt-time-picker-title-height: 44px;--zt-time-picker-title-border-radius: 16px 16px 0 0;--zt-time-picker-frame-background-color: var(--zt-gray-a04);--zt-time-picker-cancel-background-color: var(--zt-white);--zt-time-picker-title-text-color: var(--zt-gray-a4);--zt-time-picker-background: var(--zt-background-popup);--zt-time-picker-toolbar-height: 60px;--zt-time-picker-action-padding: 0 var(--zt-padding-md);--zt-time-picker-confirm-action-color: var(--zt-white);--zt-time-picker-cancel-action-color: var(--zt-text-color);--zt-time-picker-option-radius: 8px;--zt-time-picker-option-padding: 0 var(--zt-padding-base);--zt-time-picker-option-text-color: var(--zt-text-color);--zt-time-picker-option-disabled-opacity: var(--zt-disabled-opacity);--zt-time-picker-loading-icon-color: var(--zt-primary-color);--zt-time-picker-loading-mask-color: rgba(255, 255, 255, .9);--zt-time-picker-mask-color: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)), linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4));--zt-time-picker-unit-background: var(--zt-white);--zt-time-picker-unit-font-size: 24px}:root[zt-theme-size=large]{--zt-time-picker-unit-font-size: 30px}.zt-theme-dark{--zt-time-picker-mask-color: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)), linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1));--zt-time-picker-unit-background: rgba(255, 255, 255, .04)}.zt-time-picker{position:relative;background:var(--zt-time-picker-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.zt-time-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--zt-time-picker-toolbar-height)}.zt-time-picker__cancel,.zt-time-picker__confirm{width:50%}.zt-time-picker__cancel{background:#ffffff;margin:var(--zt-time-picker-cancel-margin)}.zt-time-picker__confirm{margin:var(--zt-time-picker-confirm-margin)}.zt-time-picker__title{display:flex;justify-content:center;align-items:center;width:100%;height:var(--zt-time-picker-title-height);border-radius:var(--zt-time-picker-title-border-radius);font-size:var(--zt-font-size-md);background:#ffffff;color:var(--zt-time-picker-title-text-color)}.zt-time-picker__columns{background:var(--zt-time-picker-background);position:relative;display:flex;cursor:grab;padding:16px 0;justify-content:space-evenly}.zt-time-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--zt-time-picker-loading-icon-color);background:var(--zt-time-picker-loading-mask-color)}.zt-time-picker__frame{position:absolute;top:50%;z-index:2;transform:translateY(-50%);pointer-events:none;width:100%;background:var(--zt-time-picker-frame-background-color)}.zt-time-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:var(--zt-time-picker-mask-color);background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.zt-time-picker__separator{position:absolute;display:flex;align-items:center;width:100%;height:100%;top:0}.zt-time-picker__colon{position:relative}.zt-time-picker__colon:only-child{left:50%}.zt-time-picker__colon:not(:only-child):first-child{left:35%}.zt-time-picker__colon:not(:only-child):last-child{left:65%}.zt-time-picker__colon:before{position:absolute;content:" ";width:6px;height:6px;border-radius:50%;background:var(--zt-gray);left:calc(50% - 3px);top:calc(50% - 9px)}.zt-time-picker__colon:after{position:absolute;content:" ";width:6px;height:6px;border-radius:50%;background:var(--zt-gray);left:calc(50% - 3px);top:calc(50% + 3px)}.zt-time-picker-column{position:relative;overflow:hidden;font-size:var(--zt-time-picker-unit-font-size);background:var(--zt-gray-a04);border-radius:var(--zt-time-picker-option-radius)}.zt-time-picker-column__wrapper{transition-timing-function:cubic-bezier(.23,1,.68,1)}.zt-time-picker-column__item{display:flex;align-items:center;justify-content:center;padding:var(--zt-time-picker-option-padding);color:var(--zt-time-picker-option-text-color)}.zt-time-picker-column__item--disabled{cursor:not-allowed;opacity:var(--zt-time-picker-option-disabled-opacity)}.zt-time-picker-column__unit{position:absolute;display:flex;align-items:center;justify-content:center;background:var(--zt-time-picker-unit-background);color:var(--zt-time-picker-option-text-color);font-size:var(--zt-time-picker-unit-font-size);width:100%;height:100%}.zt-time-picker-column__unit-text{margin:0 4px;font-size:var(--zt-font-size-md);font-weight:700}.zt-time-picker-column__arrow-top{width:16px;height:6px;position:absolute;top:8px;left:calc(50% - 8px)}.zt-time-picker-column__arrow-bottom{width:16px;height:6px;transform:rotate(180deg);position:absolute;bottom:8px;left:calc(50% - 8px)}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TimePickerProps } from './TimePicker';
|
|
2
|
-
export declare const TimePicker: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
2
|
+
export declare const TimePicker: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
loading: BooleanConstructor;
|
|
4
4
|
readonly: BooleanConstructor;
|
|
5
5
|
allowHtml: BooleanConstructor;
|
|
@@ -84,7 +84,7 @@ export declare const TimePicker: import("../utils").WithInstall<import("vue").De
|
|
|
84
84
|
type: import("vue").PropType<import("./TimePicker").TimePickerColumnType[]>;
|
|
85
85
|
default: () => string[];
|
|
86
86
|
};
|
|
87
|
-
}
|
|
87
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "clickOption")[], "update:modelValue" | "change" | "clickOption", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
88
88
|
loading: BooleanConstructor;
|
|
89
89
|
readonly: BooleanConstructor;
|
|
90
90
|
allowHtml: BooleanConstructor;
|
|
@@ -169,11 +169,11 @@ export declare const TimePicker: import("../utils").WithInstall<import("vue").De
|
|
|
169
169
|
type: import("vue").PropType<import("./TimePicker").TimePickerColumnType[]>;
|
|
170
170
|
default: () => string[];
|
|
171
171
|
};
|
|
172
|
-
}>> & {
|
|
172
|
+
}>> & Readonly<{
|
|
173
173
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
174
174
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
175
175
|
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
176
|
-
}
|
|
176
|
+
}>, {
|
|
177
177
|
title: string;
|
|
178
178
|
formatter: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
|
|
179
179
|
modelValue: string[];
|
|
@@ -193,7 +193,7 @@ export declare const TimePicker: import("../utils").WithInstall<import("vue").De
|
|
|
193
193
|
minSecond: string | number;
|
|
194
194
|
maxSecond: string | number;
|
|
195
195
|
columnsType: import("./TimePicker").TimePickerColumnType[];
|
|
196
|
-
}, {}>>;
|
|
196
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
197
197
|
export default TimePicker;
|
|
198
198
|
export { timePickerProps } from './TimePicker';
|
|
199
199
|
export type { TimePickerProps };
|
|
@@ -43,7 +43,7 @@ export declare const timelineProps: {
|
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
export type TimelineProps = ExtractPropTypes<typeof timelineProps>;
|
|
46
|
-
declare const _default: import("vue").DefineComponent<{
|
|
46
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
47
47
|
title: {
|
|
48
48
|
type: import("vue").PropType<string>;
|
|
49
49
|
default: string;
|
|
@@ -72,7 +72,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
72
|
type: BooleanConstructor;
|
|
73
73
|
default: boolean;
|
|
74
74
|
};
|
|
75
|
-
}
|
|
75
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
76
76
|
title: {
|
|
77
77
|
type: import("vue").PropType<string>;
|
|
78
78
|
default: string;
|
|
@@ -101,7 +101,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
101
101
|
type: BooleanConstructor;
|
|
102
102
|
default: boolean;
|
|
103
103
|
};
|
|
104
|
-
}
|
|
104
|
+
}>> & Readonly<{}>, {
|
|
105
105
|
title: string;
|
|
106
106
|
dot: boolean;
|
|
107
107
|
defaultFold: boolean;
|
|
@@ -109,5 +109,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
109
|
processes: TimelineProcessOption[];
|
|
110
110
|
opinionKey: string;
|
|
111
111
|
enableSingleFold: boolean;
|
|
112
|
-
}, {}>;
|
|
112
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
113
113
|
export default _default;
|
package/lib/timeline/Timeline.js
CHANGED
|
@@ -32,7 +32,6 @@ __export(stdin_exports, {
|
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(stdin_exports);
|
|
34
34
|
var import_vue = require("vue");
|
|
35
|
-
var import_vue2 = require("vue");
|
|
36
35
|
var import_switch = __toESM(require("../switch"));
|
|
37
36
|
var import_utils = require("../utils");
|
|
38
37
|
const [name, bem] = (0, import_utils.createNamespace)("timeline");
|
|
@@ -53,13 +52,13 @@ const timelineProps = {
|
|
|
53
52
|
default: false
|
|
54
53
|
}
|
|
55
54
|
};
|
|
56
|
-
var stdin_default = (0,
|
|
55
|
+
var stdin_default = (0, import_vue.defineComponent)({
|
|
57
56
|
name,
|
|
58
57
|
props: timelineProps,
|
|
59
58
|
setup(props, {
|
|
60
59
|
slots
|
|
61
60
|
}) {
|
|
62
|
-
const isFold = (0,
|
|
61
|
+
const isFold = (0, import_vue.ref)(props.defaultFold);
|
|
63
62
|
const genTopBar = () => {
|
|
64
63
|
if (slots["top-bar"]) {
|
|
65
64
|
return (0, import_vue.createVNode)("div", {
|
|
@@ -167,7 +166,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
167
166
|
"class": bem("main-container")
|
|
168
167
|
}, [genContent(item), genOpinion(item)])])]);
|
|
169
168
|
};
|
|
170
|
-
const computedProcesses = (0,
|
|
169
|
+
const computedProcesses = (0, import_vue.computed)(() => {
|
|
171
170
|
const wrapper = props.processes.map((v) => {
|
|
172
171
|
v.folded = false;
|
|
173
172
|
return v;
|