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/es/nav-bar/NavBar.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ declare const navBarProps: {
|
|
|
20
20
|
leftBtnStyle: PropType<CSSProperties>;
|
|
21
21
|
};
|
|
22
22
|
export type NavBarProps = ExtractPropTypes<typeof navBarProps>;
|
|
23
|
-
declare const _default: import("vue").DefineComponent<{
|
|
23
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
24
24
|
title: StringConstructor;
|
|
25
25
|
fixed: BooleanConstructor;
|
|
26
26
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
color: StringConstructor;
|
|
39
39
|
navBarBackground: StringConstructor;
|
|
40
40
|
leftBtnStyle: PropType<CSSProperties>;
|
|
41
|
-
}
|
|
41
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickLeft" | "clickRight")[], "clickLeft" | "clickRight", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
42
42
|
title: StringConstructor;
|
|
43
43
|
fixed: BooleanConstructor;
|
|
44
44
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
@@ -56,10 +56,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
56
|
color: StringConstructor;
|
|
57
57
|
navBarBackground: StringConstructor;
|
|
58
58
|
leftBtnStyle: PropType<CSSProperties>;
|
|
59
|
-
}>> & {
|
|
59
|
+
}>> & Readonly<{
|
|
60
60
|
onClickLeft?: ((...args: any[]) => any) | undefined;
|
|
61
61
|
onClickRight?: ((...args: any[]) => any) | undefined;
|
|
62
|
-
}
|
|
62
|
+
}>, {
|
|
63
63
|
fixed: boolean;
|
|
64
64
|
border: boolean;
|
|
65
65
|
leftIcon: boolean;
|
|
@@ -68,5 +68,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
68
|
safeAreaInsetTop: boolean;
|
|
69
69
|
leftText: boolean;
|
|
70
70
|
multiIcon: boolean;
|
|
71
|
-
}, {}>;
|
|
71
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
72
72
|
export default _default;
|
package/es/nav-bar/NavBar.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
|
2
|
-
import { ref, defineComponent } from "vue";
|
|
1
|
+
import { ref, defineComponent, createVNode as _createVNode } from "vue";
|
|
3
2
|
import { truthProp, numericProp, createNamespace } from "../utils/index.mjs";
|
|
4
3
|
import { usePlaceholder } from "../composables/use-placeholder.mjs";
|
|
5
4
|
import { Icon } from "../icon/index.mjs";
|
package/es/nav-bar/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-nav-bar-height: 44px;--zt-nav-bar-padding-bottom: 12px;--zt-nav-bar-icon-color: var(--zt-text-color);--zt-nav-bar-button-height: 36px;--zt-nav-bar-title-height: 28px;--zt-nav-bar-z-index: 1;--zt-nav-bar-btn-border-radius: 18px;--zt-nav-bar-padding-left: 16px;--zt-nav-bar-padding-right: 16px;--zt-nav-bar-btn-background: linear-gradient(135deg, #e6ebf0 0%, #ffffff 100%, #ffffff 100%);--zt-nav-bar-btn-box-shadow: -4px -4px 8px 0 #ffffff, 4px 4px 8px 0 rgba(45, 75, 115, .1);--zt-nav-bar-btn-border: 1px solid rgba(255, 255, 255, .75);--zt-nav-bar-icon-font-size: 24px;--zt-nav-bar-icon-size: 36px}:root[zt-theme-size=large]{--zt-nav-bar-icon-size: 48px;--zt-nav-bar-icon-font-size: 30px;--zt-nav-bar-title-height: 40px}.zt-nav-bar{position:relative;padding-bottom:var(--zt-nav-bar-padding-bottom);z-index:var(--zt-nav-bar-z-index);text-align:center;-webkit-user-select:none;user-select:none;color:var(--zt-nav-bar-icon-color)}.zt-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.zt-nav-bar--safe-area-inset-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.zt-nav-bar__content{position:relative;display:flex;align-items:center;height:var(--zt-nav-bar-height)}.zt-nav-bar__icon{width:var(--zt-nav-bar-icon-size);height:var(--zt-nav-bar-icon-size);line-height:var(--zt-nav-bar-icon-size);font-size:var(--zt-nav-bar-icon-font-size)}.zt-nav-bar__text{display:inline-block;font-size:var(--zt-font-size-lg);padding-right:var(--zt-nav-bar-padding-left);padding-left:var(--zt-nav-bar-padding-right)}.zt-nav-bar__text--left-text{padding-left:0}.zt-nav-bar__bar-btn{display:flex;align-items:center;box-sizing:border-box;height:var(--zt-nav-bar-button-height);line-height:var(--zt-nav-bar-icon-size);background:var(--zt-nav-bar-btn-background);box-shadow:var(--zt-nav-bar-btn-box-shadow);border-radius:var(--zt-nav-bar-btn-border-radius);border:var(--zt-nav-bar-btn-border)}.zt-nav-bar__bar-btn:active{border:1px solid rgba(255,255,255,.75);box-shadow:inset 4px 4px 8px rgba(45,75,115,.24);background:rgba(45,75,115,.04)}.zt-nav-bar__title{height:var(--zt-nav-bar-title-height);text-align:center;line-height:var(--zt-nav-bar-title-height);max-width:50%;margin:0 auto;font-weight:var(--zt-font-bold);font-size:var(--zt-font-size-xl)}.zt-nav-bar__left,.zt-nav-bar__right{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:0 var(--zt-padding-md);font-size:var(--zt-font-size-md);max-width:30%}.zt-nav-bar__left{left:0}.zt-nav-bar__right{right:0}.zt-theme-dark{--zt-nav-bar-btn-background: linear-gradient(135deg, #0e1824 0%, #203043 100%, #ffffff 100%, #1d2c3d 100%);--zt-nav-bar-btn-box-shadow: -4px -4px 8px 0 rgba(255, 255, 255, .12), 4px 4px 8px 0 rgba(0, 12, 24, .8);--zt-nav-bar-btn-border: 1px solid #394555}
|
|
1
|
+
:root{--zt-nav-bar-height: 44px;--zt-nav-bar-padding-bottom: 12px;--zt-nav-bar-icon-color: var(--zt-text-color);--zt-nav-bar-button-height: 36px;--zt-nav-bar-title-height: 28px;--zt-nav-bar-z-index: 1;--zt-nav-bar-btn-border-radius: 18px;--zt-nav-bar-padding-left: 16px;--zt-nav-bar-padding-right: 16px;--zt-nav-bar-btn-background: linear-gradient(135deg, #e6ebf0 0%, #ffffff 100%, #ffffff 100%);--zt-nav-bar-btn-box-shadow: -4px -4px 8px 0 #ffffff, 4px 4px 8px 0 rgba(45, 75, 115, .1);--zt-nav-bar-btn-border: 1px solid rgba(255, 255, 255, .75);--zt-nav-bar-icon-font-size: 24px;--zt-nav-bar-icon-size: 36px}:root[zt-theme-size=large]{--zt-nav-bar-icon-size: 48px;--zt-nav-bar-icon-font-size: 30px;--zt-nav-bar-title-height: 40px}.zt-nav-bar{position:relative;padding-bottom:var(--zt-nav-bar-padding-bottom);z-index:var(--zt-nav-bar-z-index);text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:var(--zt-nav-bar-icon-color)}.zt-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.zt-nav-bar--safe-area-inset-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.zt-nav-bar__content{position:relative;display:flex;align-items:center;height:var(--zt-nav-bar-height)}.zt-nav-bar__icon{width:var(--zt-nav-bar-icon-size);height:var(--zt-nav-bar-icon-size);line-height:var(--zt-nav-bar-icon-size);font-size:var(--zt-nav-bar-icon-font-size)}.zt-nav-bar__text{display:inline-block;font-size:var(--zt-font-size-lg);padding-right:var(--zt-nav-bar-padding-left);padding-left:var(--zt-nav-bar-padding-right)}.zt-nav-bar__text--left-text{padding-left:0}.zt-nav-bar__bar-btn{display:flex;align-items:center;box-sizing:border-box;height:var(--zt-nav-bar-button-height);line-height:var(--zt-nav-bar-icon-size);background:var(--zt-nav-bar-btn-background);box-shadow:var(--zt-nav-bar-btn-box-shadow);border-radius:var(--zt-nav-bar-btn-border-radius);border:var(--zt-nav-bar-btn-border)}.zt-nav-bar__bar-btn:active{border:1px solid rgba(255,255,255,.75);box-shadow:inset 4px 4px 8px rgba(45,75,115,.24);background:rgba(45,75,115,.04)}.zt-nav-bar__title{height:var(--zt-nav-bar-title-height);text-align:center;line-height:var(--zt-nav-bar-title-height);max-width:50%;margin:0 auto;font-weight:var(--zt-font-bold);font-size:var(--zt-font-size-xl)}.zt-nav-bar__left,.zt-nav-bar__right{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:0 var(--zt-padding-md);font-size:var(--zt-font-size-md);max-width:30%}.zt-nav-bar__left{left:0}.zt-nav-bar__right{right:0}.zt-theme-dark{--zt-nav-bar-btn-background: linear-gradient(135deg, #0e1824 0%, #203043 100%, #ffffff 100%, #1d2c3d 100%);--zt-nav-bar-btn-box-shadow: -4px -4px 8px 0 rgba(255, 255, 255, .12), 4px 4px 8px 0 rgba(0, 12, 24, .8);--zt-nav-bar-btn-border: 1px solid #394555}
|
package/es/nav-bar/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const NavBar: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const NavBar: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
title: StringConstructor;
|
|
3
3
|
fixed: BooleanConstructor;
|
|
4
4
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
@@ -16,7 +16,7 @@ export declare const NavBar: import("../utils").WithInstall<import("vue").Define
|
|
|
16
16
|
color: StringConstructor;
|
|
17
17
|
navBarBackground: StringConstructor;
|
|
18
18
|
leftBtnStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
19
|
-
}
|
|
19
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickLeft" | "clickRight")[], "clickLeft" | "clickRight", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
20
|
title: StringConstructor;
|
|
21
21
|
fixed: BooleanConstructor;
|
|
22
22
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
@@ -34,10 +34,10 @@ export declare const NavBar: import("../utils").WithInstall<import("vue").Define
|
|
|
34
34
|
color: StringConstructor;
|
|
35
35
|
navBarBackground: StringConstructor;
|
|
36
36
|
leftBtnStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
37
|
-
}>> & {
|
|
37
|
+
}>> & Readonly<{
|
|
38
38
|
onClickLeft?: ((...args: any[]) => any) | undefined;
|
|
39
39
|
onClickRight?: ((...args: any[]) => any) | undefined;
|
|
40
|
-
}
|
|
40
|
+
}>, {
|
|
41
41
|
fixed: boolean;
|
|
42
42
|
border: boolean;
|
|
43
43
|
leftIcon: boolean;
|
|
@@ -46,7 +46,7 @@ export declare const NavBar: import("../utils").WithInstall<import("vue").Define
|
|
|
46
46
|
safeAreaInsetTop: boolean;
|
|
47
47
|
leftText: boolean;
|
|
48
48
|
multiIcon: boolean;
|
|
49
|
-
}, {}>>;
|
|
49
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
50
50
|
export default NavBar;
|
|
51
51
|
export type { NavBarProps } from './NavBar';
|
|
52
52
|
export type { NavBarThemeVars } from './types';
|
|
@@ -21,7 +21,7 @@ declare const noticeBarProps: {
|
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
export type NoticeBarProps = ExtractPropTypes<typeof noticeBarProps>;
|
|
24
|
-
declare const _default: import("vue").DefineComponent<{
|
|
24
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
25
25
|
text: StringConstructor;
|
|
26
26
|
mode: PropType<NoticeBarMode>;
|
|
27
27
|
color: StringConstructor;
|
|
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
type: PropType<boolean | null>;
|
|
41
41
|
default: null;
|
|
42
42
|
};
|
|
43
|
-
}
|
|
43
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "replay")[], "close" | "replay", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
44
44
|
text: StringConstructor;
|
|
45
45
|
mode: PropType<NoticeBarMode>;
|
|
46
46
|
color: StringConstructor;
|
|
@@ -59,13 +59,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
59
|
type: PropType<boolean | null>;
|
|
60
60
|
default: null;
|
|
61
61
|
};
|
|
62
|
-
}>> & {
|
|
62
|
+
}>> & Readonly<{
|
|
63
63
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
64
64
|
onReplay?: ((...args: any[]) => any) | undefined;
|
|
65
|
-
}
|
|
65
|
+
}>, {
|
|
66
66
|
scrollable: boolean | null;
|
|
67
67
|
delay: string | number;
|
|
68
68
|
speed: string | number;
|
|
69
69
|
wrapable: boolean;
|
|
70
|
-
}, {}>;
|
|
70
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
71
71
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ref, watch, reactive, defineComponent } from "vue";
|
|
1
|
+
import { ref, watch, reactive, defineComponent, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives } from "vue";
|
|
3
2
|
import { isDef, createNamespace, makeNumericProp } from "../utils/index.mjs";
|
|
4
3
|
import { raf, useRect, doubleRaf, useEventListener, onMountedOrActivated } from "@zartui/use";
|
|
5
4
|
import { useExpose } from "../composables/use-expose.mjs";
|
package/es/notice-bar/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NoticeBarProps } from './NoticeBar';
|
|
2
|
-
export declare const NoticeBar: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
2
|
+
export declare const NoticeBar: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
text: StringConstructor;
|
|
4
4
|
mode: import("vue").PropType<import("./types").NoticeBarMode>;
|
|
5
5
|
color: StringConstructor;
|
|
@@ -18,7 +18,7 @@ export declare const NoticeBar: import("../utils").WithInstall<import("vue").Def
|
|
|
18
18
|
type: import("vue").PropType<boolean | null>;
|
|
19
19
|
default: null;
|
|
20
20
|
};
|
|
21
|
-
}
|
|
21
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "replay")[], "close" | "replay", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
22
|
text: StringConstructor;
|
|
23
23
|
mode: import("vue").PropType<import("./types").NoticeBarMode>;
|
|
24
24
|
color: StringConstructor;
|
|
@@ -37,15 +37,15 @@ export declare const NoticeBar: import("../utils").WithInstall<import("vue").Def
|
|
|
37
37
|
type: import("vue").PropType<boolean | null>;
|
|
38
38
|
default: null;
|
|
39
39
|
};
|
|
40
|
-
}>> & {
|
|
40
|
+
}>> & Readonly<{
|
|
41
41
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
onReplay?: ((...args: any[]) => any) | undefined;
|
|
43
|
-
}
|
|
43
|
+
}>, {
|
|
44
44
|
scrollable: boolean | null;
|
|
45
45
|
delay: string | number;
|
|
46
46
|
speed: string | number;
|
|
47
47
|
wrapable: boolean;
|
|
48
|
-
}, {}>>;
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
49
49
|
export default NoticeBar;
|
|
50
50
|
export type { NoticeBarProps };
|
|
51
51
|
export type { NoticeBarMode, NoticeBarInstance, NoticeBarThemeVars, } from './types';
|
package/es/notify/Notify.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ declare const notifyProps: {
|
|
|
41
41
|
lockScroll: BooleanConstructor;
|
|
42
42
|
};
|
|
43
43
|
export type NotifyProps = ExtractPropTypes<typeof notifyProps>;
|
|
44
|
-
declare const _default: import("vue").DefineComponent<{
|
|
44
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
45
45
|
show: BooleanConstructor;
|
|
46
46
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
47
47
|
overlay: {
|
|
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
80
|
className: import("vue").PropType<unknown>;
|
|
81
81
|
background: StringConstructor;
|
|
82
82
|
lockScroll: BooleanConstructor;
|
|
83
|
-
}
|
|
83
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
84
84
|
show: BooleanConstructor;
|
|
85
85
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
86
86
|
overlay: {
|
|
@@ -119,9 +119,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
119
119
|
className: import("vue").PropType<unknown>;
|
|
120
120
|
background: StringConstructor;
|
|
121
121
|
lockScroll: BooleanConstructor;
|
|
122
|
-
}>> & {
|
|
122
|
+
}>> & Readonly<{
|
|
123
123
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
124
|
-
}
|
|
124
|
+
}>, {
|
|
125
125
|
type: NotifyType;
|
|
126
126
|
position: NotifyPosition;
|
|
127
127
|
overlay: boolean;
|
|
@@ -130,5 +130,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
130
130
|
lazyRender: boolean;
|
|
131
131
|
transitionAppear: boolean;
|
|
132
132
|
closeOnClickOverlay: boolean;
|
|
133
|
-
}, {}>;
|
|
133
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
134
134
|
export default _default;
|
package/es/notify/Notify.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 { extend, numericProp, unknownProp, makeStringProp, createNamespace } from "../utils/index.mjs";
|
|
4
3
|
import { Popup } from "../popup/index.mjs";
|
|
5
4
|
import { popupSharedProps } from "../popup/shared.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
|
|
2
2
|
import { extend, isObject, inBrowser } from "../utils/index.mjs";
|
|
3
3
|
import { mountComponent, usePopupState } from "../utils/mount-component.mjs";
|
|
4
4
|
import ZtNotify from "./Notify.mjs";
|
package/es/notify/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Notify: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const Notify: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
show: BooleanConstructor;
|
|
3
3
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
4
4
|
overlay: {
|
|
@@ -37,7 +37,7 @@ export declare const Notify: import("../utils").WithInstall<import("vue").Define
|
|
|
37
37
|
className: import("vue").PropType<unknown>;
|
|
38
38
|
background: StringConstructor;
|
|
39
39
|
lockScroll: BooleanConstructor;
|
|
40
|
-
}
|
|
40
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
41
|
show: BooleanConstructor;
|
|
42
42
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
43
43
|
overlay: {
|
|
@@ -76,9 +76,9 @@ export declare const Notify: import("../utils").WithInstall<import("vue").Define
|
|
|
76
76
|
className: import("vue").PropType<unknown>;
|
|
77
77
|
background: StringConstructor;
|
|
78
78
|
lockScroll: BooleanConstructor;
|
|
79
|
-
}>> & {
|
|
79
|
+
}>> & Readonly<{
|
|
80
80
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
81
|
-
}
|
|
81
|
+
}>, {
|
|
82
82
|
type: import("./types").NotifyType;
|
|
83
83
|
position: import("./types").NotifyPosition;
|
|
84
84
|
overlay: boolean;
|
|
@@ -87,7 +87,7 @@ export declare const Notify: import("../utils").WithInstall<import("vue").Define
|
|
|
87
87
|
lazyRender: boolean;
|
|
88
88
|
transitionAppear: boolean;
|
|
89
89
|
closeOnClickOverlay: boolean;
|
|
90
|
-
}, {}>>;
|
|
90
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
91
91
|
export default Notify;
|
|
92
92
|
export { showNotify, closeNotify, setNotifyDefaultOptions, resetNotifyDefaultOptions, } from './function-call';
|
|
93
93
|
export type { NotifyProps } from './Notify';
|
|
@@ -47,7 +47,7 @@ declare const numberKeyboardProps: {
|
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
export type NumberKeyboardProps = ExtractPropTypes<typeof numberKeyboardProps>;
|
|
50
|
-
declare const _default: import("vue").DefineComponent<{
|
|
50
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
51
51
|
show: BooleanConstructor;
|
|
52
52
|
title: StringConstructor;
|
|
53
53
|
theme: {
|
|
@@ -92,7 +92,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
92
92
|
type: PropType<string | string[]>;
|
|
93
93
|
default: string;
|
|
94
94
|
};
|
|
95
|
-
}
|
|
95
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "delete" | "hide" | "show" | "blur" | "update:modelValue" | "close")[], "input" | "delete" | "hide" | "show" | "blur" | "update:modelValue" | "close", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
96
96
|
show: BooleanConstructor;
|
|
97
97
|
title: StringConstructor;
|
|
98
98
|
theme: {
|
|
@@ -137,15 +137,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
137
137
|
type: PropType<string | string[]>;
|
|
138
138
|
default: string;
|
|
139
139
|
};
|
|
140
|
-
}>> & {
|
|
140
|
+
}>> & Readonly<{
|
|
141
141
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
142
142
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
143
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
144
143
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
144
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
145
145
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
146
146
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
147
147
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
148
|
-
}
|
|
148
|
+
}>, {
|
|
149
149
|
theme: NumberKeyboardTheme;
|
|
150
150
|
show: boolean;
|
|
151
151
|
maxlength: string | number;
|
|
@@ -158,5 +158,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
158
158
|
closeButtonLoading: boolean;
|
|
159
159
|
hideOnClickOutside: boolean;
|
|
160
160
|
extraKey: string | string[];
|
|
161
|
-
}, {}>;
|
|
161
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
162
162
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ref, watch, computed, Teleport, Transition, defineComponent } from "vue";
|
|
1
|
+
import { ref, watch, computed, Teleport, Transition, defineComponent, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives } from "vue";
|
|
3
2
|
import { truthProp, numericProp, getZIndexStyle, makeStringProp, makeNumericProp, stopPropagation, createNamespace } from "../utils/index.mjs";
|
|
4
3
|
import { useClickAway } from "@zartui/use";
|
|
5
4
|
import NumberKeyboardKey from "./NumberKeyboardKey.mjs";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
2
|
export type KeyType = '' | 'delete' | 'extra' | 'close';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
type: PropType<KeyType>;
|
|
5
5
|
text: (NumberConstructor | StringConstructor)[];
|
|
6
6
|
color: StringConstructor;
|
|
7
7
|
wider: BooleanConstructor;
|
|
8
8
|
large: BooleanConstructor;
|
|
9
9
|
loading: BooleanConstructor;
|
|
10
|
-
}
|
|
10
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "press"[], "press", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
11
|
type: PropType<KeyType>;
|
|
12
12
|
text: (NumberConstructor | StringConstructor)[];
|
|
13
13
|
color: StringConstructor;
|
|
14
14
|
wider: BooleanConstructor;
|
|
15
15
|
large: BooleanConstructor;
|
|
16
16
|
loading: BooleanConstructor;
|
|
17
|
-
}>> & {
|
|
17
|
+
}>> & Readonly<{
|
|
18
18
|
onPress?: ((...args: any[]) => any) | undefined;
|
|
19
|
-
}
|
|
19
|
+
}>, {
|
|
20
20
|
large: boolean;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
wider: boolean;
|
|
23
|
-
}, {}>;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
24
24
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
|
2
|
-
import { ref, defineComponent } from "vue";
|
|
1
|
+
import { ref, defineComponent, createVNode as _createVNode } from "vue";
|
|
3
2
|
import { numericProp, createNamespace, preventDefault } from "../utils/index.mjs";
|
|
4
3
|
import { useTouch } from "../composables/use-touch.mjs";
|
|
5
4
|
import { Loading } from "../loading/index.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-number-keyboard-background: var(--zt-background-2);--zt-number-keyboard-key-background: var(--zt-background-card);--zt-number-keyboard-title-color: var(--zt-gray-a6);--zt-number-keyboard-button-text-color: var(--zt-white);--zt-number-keyboard-button-background: var(--zt-primary-color);--zt-number-keyboard-z-index: 100;--zt-number-keyboard-key-spacing: 0 8px 8px 0;--zt-number-keyboard-radius: 16px 16px 0 0;--zt-number-keyboard-key-font-size: 24px;--zt-number-keyboard-header-height: 34px;--zt-number-keyboard-button-height: 28px;--zt-number-keyboard-key-height: 44px}:root[zt-theme-size=large]{--zt-number-keyboard-key-font-size: 30px;--zt-number-keyboard-header-height: 46px;--zt-number-keyboard-button-height: 40px;--zt-number-keyboard-key-height: 56px}.zt-number-keyboard{position:fixed;bottom:0;left:0;z-index:var(--zt-number-keyboard-z-index);width:100%;padding-bottom:8px;background:var(--zt-number-keyboard-background);-webkit-user-select:none;user-select:none;border-radius:var(--zt-number-keyboard-radius);box-sizing:border-box}.zt-number-keyboard--with-title{border-radius:20px 20px 0 0}.zt-number-keyboard__header{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:content-box;height:var(--zt-number-keyboard-header-height);padding-top:2px;color:var(--zt-number-keyboard-title-color);font-size:var(--zt-font-size-md);line-height:var(--zt-number-keyboard-header-height)}.zt-number-keyboard__title{display:inline-block}.zt-number-keyboard__title-left{position:absolute;left:0}.zt-number-keyboard__body{display:flex;padding:2px 8px 0 16px}.zt-number-keyboard__body-no-title{padding-top:16px}.zt-number-keyboard__keys{display:flex;flex:3;flex-wrap:wrap}.zt-number-keyboard__sidebar{display:flex;flex:1;flex-direction:column}.zt-number-keyboard--unfit{padding-bottom:0}.zt-key{display:flex;align-items:center;justify-content:center;height:var(--zt-number-keyboard-key-height);font-size:var(--zt-number-keyboard-key-font-size);line-height:var(--zt-number-keyboard-key-height);background:var(--zt-number-keyboard-key-background);border-radius:var(--zt-radius-md);cursor:pointer;color:var(--zt-text-color)}.zt-key--large{position:absolute;top:0;right:6px;bottom:8px;left:0;height:auto}.zt-key--blue,.zt-key--delete{font-size:var(--zt-font-size-xxl)}.zt-key--active{opacity:var(--zt-active-opacity)}.zt-key--blue{color:var(--zt-number-keyboard-button-text-color);background:var(--zt-number-keyboard-button-background);line-height:var(--zt-number-keyboard-button-height);letter-spacing:0}.zt-key--blue.zt-key--active{opacity:var(--zt-active-opacity)}.zt-key__wrapper{position:relative;flex:1;flex-basis:33%;box-sizing:border-box;padding:var(--zt-number-keyboard-key-spacing)}.zt-key__wrapper--wider{flex-basis:66%}.zt-key__delete-icon{width:40px;height:40px}.zt-key__collapse-icon{width:30px;height:24px}.zt-key__loading-icon{color:var(--zt-number-keyboard-button-text-color)}.zt-number-keyboard__no-title{padding-bottom:0}
|
|
1
|
+
:root{--zt-number-keyboard-background: var(--zt-background-2);--zt-number-keyboard-key-background: var(--zt-background-card);--zt-number-keyboard-title-color: var(--zt-gray-a6);--zt-number-keyboard-button-text-color: var(--zt-white);--zt-number-keyboard-button-background: var(--zt-primary-color);--zt-number-keyboard-z-index: 100;--zt-number-keyboard-key-spacing: 0 8px 8px 0;--zt-number-keyboard-radius: 16px 16px 0 0;--zt-number-keyboard-key-font-size: 24px;--zt-number-keyboard-header-height: 34px;--zt-number-keyboard-button-height: 28px;--zt-number-keyboard-key-height: 44px}:root[zt-theme-size=large]{--zt-number-keyboard-key-font-size: 30px;--zt-number-keyboard-header-height: 46px;--zt-number-keyboard-button-height: 40px;--zt-number-keyboard-key-height: 56px}.zt-number-keyboard{position:fixed;bottom:0;left:0;z-index:var(--zt-number-keyboard-z-index);width:100%;padding-bottom:8px;background:var(--zt-number-keyboard-background);-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--zt-number-keyboard-radius);box-sizing:border-box}.zt-number-keyboard--with-title{border-radius:20px 20px 0 0}.zt-number-keyboard__header{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:content-box;height:var(--zt-number-keyboard-header-height);padding-top:2px;color:var(--zt-number-keyboard-title-color);font-size:var(--zt-font-size-md);line-height:var(--zt-number-keyboard-header-height)}.zt-number-keyboard__title{display:inline-block}.zt-number-keyboard__title-left{position:absolute;left:0}.zt-number-keyboard__body{display:flex;padding:2px 8px 0 16px}.zt-number-keyboard__body-no-title{padding-top:16px}.zt-number-keyboard__keys{display:flex;flex:3;flex-wrap:wrap}.zt-number-keyboard__sidebar{display:flex;flex:1;flex-direction:column}.zt-number-keyboard--unfit{padding-bottom:0}.zt-key{display:flex;align-items:center;justify-content:center;height:var(--zt-number-keyboard-key-height);font-size:var(--zt-number-keyboard-key-font-size);line-height:var(--zt-number-keyboard-key-height);background:var(--zt-number-keyboard-key-background);border-radius:var(--zt-radius-md);cursor:pointer;color:var(--zt-text-color)}.zt-key--large{position:absolute;top:0;right:6px;bottom:8px;left:0;height:auto}.zt-key--blue,.zt-key--delete{font-size:var(--zt-font-size-xxl)}.zt-key--active{opacity:var(--zt-active-opacity)}.zt-key--blue{color:var(--zt-number-keyboard-button-text-color);background:var(--zt-number-keyboard-button-background);line-height:var(--zt-number-keyboard-button-height);letter-spacing:0}.zt-key--blue.zt-key--active{opacity:var(--zt-active-opacity)}.zt-key__wrapper{position:relative;flex:1;flex-basis:33%;box-sizing:border-box;padding:var(--zt-number-keyboard-key-spacing)}.zt-key__wrapper--wider{flex-basis:66%}.zt-key__delete-icon{width:40px;height:40px}.zt-key__collapse-icon{width:30px;height:24px}.zt-key__loading-icon{color:var(--zt-number-keyboard-button-text-color)}.zt-number-keyboard__no-title{padding-bottom:0}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const NumberKeyboard: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const NumberKeyboard: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
show: BooleanConstructor;
|
|
3
3
|
title: StringConstructor;
|
|
4
4
|
theme: {
|
|
@@ -43,7 +43,7 @@ export declare const NumberKeyboard: import("../utils").WithInstall<import("vue"
|
|
|
43
43
|
type: import("vue").PropType<string | string[]>;
|
|
44
44
|
default: string;
|
|
45
45
|
};
|
|
46
|
-
}
|
|
46
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "delete" | "hide" | "show" | "blur" | "update:modelValue" | "close")[], "input" | "delete" | "hide" | "show" | "blur" | "update:modelValue" | "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
47
|
show: BooleanConstructor;
|
|
48
48
|
title: StringConstructor;
|
|
49
49
|
theme: {
|
|
@@ -88,15 +88,15 @@ export declare const NumberKeyboard: import("../utils").WithInstall<import("vue"
|
|
|
88
88
|
type: import("vue").PropType<string | string[]>;
|
|
89
89
|
default: string;
|
|
90
90
|
};
|
|
91
|
-
}>> & {
|
|
91
|
+
}>> & Readonly<{
|
|
92
92
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
93
93
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
94
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
95
94
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
95
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
96
96
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
97
97
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
98
98
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
99
|
-
}
|
|
99
|
+
}>, {
|
|
100
100
|
theme: import("./NumberKeyboard").NumberKeyboardTheme;
|
|
101
101
|
show: boolean;
|
|
102
102
|
maxlength: string | number;
|
|
@@ -109,7 +109,7 @@ export declare const NumberKeyboard: import("../utils").WithInstall<import("vue"
|
|
|
109
109
|
closeButtonLoading: boolean;
|
|
110
110
|
hideOnClickOutside: boolean;
|
|
111
111
|
extraKey: string | string[];
|
|
112
|
-
}, {}>>;
|
|
112
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
113
113
|
export default NumberKeyboard;
|
|
114
114
|
export type { NumberKeyboardProps, NumberKeyboardTheme, } from './NumberKeyboard';
|
|
115
115
|
export type { NumberKeyboardThemeVars } from './types';
|
package/es/overlay/Overlay.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ declare const overlayProps: {
|
|
|
15
15
|
customStyle: PropType<CSSProperties>;
|
|
16
16
|
};
|
|
17
17
|
export type OverlayProps = ExtractPropTypes<typeof overlayProps>;
|
|
18
|
-
declare const _default: import("vue").DefineComponent<{
|
|
18
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
19
19
|
show: BooleanConstructor;
|
|
20
20
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
21
21
|
duration: (NumberConstructor | StringConstructor)[];
|
|
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
29
|
default: true;
|
|
30
30
|
};
|
|
31
31
|
customStyle: PropType<CSSProperties>;
|
|
32
|
-
}
|
|
32
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
33
33
|
show: BooleanConstructor;
|
|
34
34
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
35
35
|
duration: (NumberConstructor | StringConstructor)[];
|
|
@@ -43,9 +43,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
43
|
default: true;
|
|
44
44
|
};
|
|
45
45
|
customStyle: PropType<CSSProperties>;
|
|
46
|
-
}
|
|
46
|
+
}>> & Readonly<{}>, {
|
|
47
47
|
show: boolean;
|
|
48
48
|
lockScroll: boolean;
|
|
49
49
|
lazyRender: boolean;
|
|
50
|
-
}, {}>;
|
|
50
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
51
51
|
export default _default;
|
package/es/overlay/Overlay.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Transition, defineComponent } from "vue";
|
|
1
|
+
import { Transition, defineComponent, vShow as _vShow, createVNode as _createVNode, withDirectives as _withDirectives } from "vue";
|
|
3
2
|
import { noop, isDef, extend, truthProp, numericProp, unknownProp, preventDefault, createNamespace, getZIndexStyle } from "../utils/index.mjs";
|
|
4
3
|
import { useLazyRender } from "../composables/use-lazy-render.mjs";
|
|
5
4
|
const [name, bem] = createNamespace("overlay");
|
package/es/overlay/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Overlay: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const Overlay: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
show: BooleanConstructor;
|
|
3
3
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
4
4
|
duration: (NumberConstructor | StringConstructor)[];
|
|
@@ -12,7 +12,7 @@ export declare const Overlay: import("../utils").WithInstall<import("vue").Defin
|
|
|
12
12
|
default: true;
|
|
13
13
|
};
|
|
14
14
|
customStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
15
|
-
}
|
|
15
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
16
|
show: BooleanConstructor;
|
|
17
17
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
18
18
|
duration: (NumberConstructor | StringConstructor)[];
|
|
@@ -26,11 +26,11 @@ export declare const Overlay: import("../utils").WithInstall<import("vue").Defin
|
|
|
26
26
|
default: true;
|
|
27
27
|
};
|
|
28
28
|
customStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
29
|
-
}
|
|
29
|
+
}>> & Readonly<{}>, {
|
|
30
30
|
show: boolean;
|
|
31
31
|
lockScroll: boolean;
|
|
32
32
|
lazyRender: boolean;
|
|
33
|
-
}, {}>>;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
34
34
|
export default Overlay;
|
|
35
35
|
export type { OverlayProps } from './Overlay';
|
|
36
36
|
export type { OverlayThemeVars } from './types';
|
|
@@ -18,7 +18,7 @@ declare const passwordInputProps: {
|
|
|
18
18
|
errorInfo: StringConstructor;
|
|
19
19
|
};
|
|
20
20
|
export type PasswordInputProps = ExtractPropTypes<typeof passwordInputProps>;
|
|
21
|
-
declare const _default: import("vue").DefineComponent<{
|
|
21
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
22
22
|
info: StringConstructor;
|
|
23
23
|
mask: {
|
|
24
24
|
type: BooleanConstructor;
|
|
@@ -35,7 +35,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
};
|
|
36
36
|
focused: BooleanConstructor;
|
|
37
37
|
errorInfo: StringConstructor;
|
|
38
|
-
}
|
|
38
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
39
39
|
info: StringConstructor;
|
|
40
40
|
mask: {
|
|
41
41
|
type: BooleanConstructor;
|
|
@@ -52,12 +52,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
52
|
};
|
|
53
53
|
focused: BooleanConstructor;
|
|
54
54
|
errorInfo: StringConstructor;
|
|
55
|
-
}>> & {
|
|
55
|
+
}>> & Readonly<{
|
|
56
56
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
57
|
-
}
|
|
57
|
+
}>, {
|
|
58
58
|
length: string | number;
|
|
59
59
|
mask: boolean;
|
|
60
60
|
value: string;
|
|
61
61
|
focused: boolean;
|
|
62
|
-
}, {}>;
|
|
62
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
63
63
|
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 { addUnit, truthProp, numericProp, BORDER_LEFT, makeStringProp, BORDER_SURROUND, createNamespace, makeNumericProp } from "../utils/index.mjs";
|
|
4
3
|
const [name, bem] = createNamespace("password-input");
|
|
5
4
|
const passwordInputProps = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-password-input-height: 48px;--zt-password-input-margin: 0 var(--zt-padding-md);--zt-password-input-radius: 6px;--zt-password-input-background: var(--zt-background-popup);--zt-password-input-info-color: var(--zt-text-color-2);--zt-password-input-error-info-color: var(--zt-danger-color);--zt-password-input-dot-size: 8px;--zt-password-input-dot-color: var(--zt-text-color);--zt-password-input-text-color: var(--zt-text-color);--zt-password-input-cursor-color: var(--zt-primary-color);--zt-password-input-cursor-width: 1px;--zt-password-input-cursor-height: 40%;--zt-password-input-cursor-duration: 1s}.zt-password-input{position:relative;margin:var(--zt-password-input-margin);-webkit-user-select:none;user-select:none}.zt-password-input__info,.zt-password-input__error-info{margin-top:var(--zt-padding-md);font-size:var(--zt-font-size-md);text-align:center}.zt-password-input__info{color:var(--zt-password-input-info-color)}.zt-password-input__error-info{color:var(--zt-password-input-error-info-color)}.zt-password-input__security{display:flex;width:100%;height:var(--zt-password-input-height);cursor:pointer}.zt-password-input__security:after{border-radius:var(--zt-password-input-radius)}.zt-password-input__security li:last-child{border-radius:0 4px 4px 0}.zt-password-input__security li:first-child{border-radius:0 4px 4px 0}.zt-password-input__security li{position:relative;display:flex;flex:1;align-items:center;justify-content:center;height:100%;color:var(--zt-password-input-text-color);font-size:var(--zt-font-size-xxl);background:var(--zt-password-input-background);border:0 solid rgba(45,75,115,.2)}.zt-password-input__security i{position:absolute;top:50%;left:50%;width:var(--zt-password-input-dot-size);height:var(--zt-password-input-dot-size);background:var(--zt-password-input-dot-color);border-radius:100%;transform:translate(-50%,-50%);visibility:hidden}.zt-password-input__cursor{position:absolute;top:50%;left:50%;width:var(--zt-password-input-cursor-width);height:var(--zt-password-input-cursor-height);background:var(--zt-password-input-cursor-color);width:1px;height:24px;transform:translate(-50%,-50%);animation:var(--zt-password-input-cursor-duration) zt-cursor-flicker infinite}@keyframes zt-cursor-flicker{0%{opacity:0}50%{opacity:1}to{opacity:0}}
|
|
1
|
+
:root{--zt-password-input-height: 48px;--zt-password-input-margin: 0 var(--zt-padding-md);--zt-password-input-radius: 6px;--zt-password-input-background: var(--zt-background-popup);--zt-password-input-info-color: var(--zt-text-color-2);--zt-password-input-error-info-color: var(--zt-danger-color);--zt-password-input-dot-size: 8px;--zt-password-input-dot-color: var(--zt-text-color);--zt-password-input-text-color: var(--zt-text-color);--zt-password-input-cursor-color: var(--zt-primary-color);--zt-password-input-cursor-width: 1px;--zt-password-input-cursor-height: 40%;--zt-password-input-cursor-duration: 1s}.zt-password-input{position:relative;margin:var(--zt-password-input-margin);-webkit-user-select:none;-moz-user-select:none;user-select:none}.zt-password-input__info,.zt-password-input__error-info{margin-top:var(--zt-padding-md);font-size:var(--zt-font-size-md);text-align:center}.zt-password-input__info{color:var(--zt-password-input-info-color)}.zt-password-input__error-info{color:var(--zt-password-input-error-info-color)}.zt-password-input__security{display:flex;width:100%;height:var(--zt-password-input-height);cursor:pointer}.zt-password-input__security:after{border-radius:var(--zt-password-input-radius)}.zt-password-input__security li:last-child{border-radius:0 4px 4px 0}.zt-password-input__security li:first-child{border-radius:0 4px 4px 0}.zt-password-input__security li{position:relative;display:flex;flex:1;align-items:center;justify-content:center;height:100%;color:var(--zt-password-input-text-color);font-size:var(--zt-font-size-xxl);background:var(--zt-password-input-background);border:0 solid rgba(45,75,115,.2)}.zt-password-input__security i{position:absolute;top:50%;left:50%;width:var(--zt-password-input-dot-size);height:var(--zt-password-input-dot-size);background:var(--zt-password-input-dot-color);border-radius:100%;transform:translate(-50%,-50%);visibility:hidden}.zt-password-input__cursor{position:absolute;top:50%;left:50%;width:var(--zt-password-input-cursor-width);height:var(--zt-password-input-cursor-height);background:var(--zt-password-input-cursor-color);width:1px;height:24px;transform:translate(-50%,-50%);animation:var(--zt-password-input-cursor-duration) zt-cursor-flicker infinite}@keyframes zt-cursor-flicker{0%{opacity:0}50%{opacity:1}to{opacity:0}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const PasswordInput: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const PasswordInput: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
info: StringConstructor;
|
|
3
3
|
mask: {
|
|
4
4
|
type: BooleanConstructor;
|
|
@@ -15,7 +15,7 @@ export declare const PasswordInput: import("../utils").WithInstall<import("vue")
|
|
|
15
15
|
};
|
|
16
16
|
focused: BooleanConstructor;
|
|
17
17
|
errorInfo: StringConstructor;
|
|
18
|
-
}
|
|
18
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
info: StringConstructor;
|
|
20
20
|
mask: {
|
|
21
21
|
type: BooleanConstructor;
|
|
@@ -32,14 +32,14 @@ export declare const PasswordInput: import("../utils").WithInstall<import("vue")
|
|
|
32
32
|
};
|
|
33
33
|
focused: BooleanConstructor;
|
|
34
34
|
errorInfo: StringConstructor;
|
|
35
|
-
}>> & {
|
|
35
|
+
}>> & Readonly<{
|
|
36
36
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
}
|
|
37
|
+
}>, {
|
|
38
38
|
length: string | number;
|
|
39
39
|
mask: boolean;
|
|
40
40
|
value: string;
|
|
41
41
|
focused: boolean;
|
|
42
|
-
}, {}>>;
|
|
42
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
43
43
|
export default PasswordInput;
|
|
44
44
|
export type { PasswordInputProps } from './PasswordInput';
|
|
45
45
|
export type { PasswordInputThemeVars } from './types';
|
package/es/picker/Picker.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ export declare const pickerProps: {
|
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
99
|
export type PickerProps = ExtractPropTypes<typeof pickerProps>;
|
|
100
|
-
declare const _default: import("vue").DefineComponent<{
|
|
100
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
101
101
|
loading: BooleanConstructor;
|
|
102
102
|
readonly: BooleanConstructor;
|
|
103
103
|
allowHtml: BooleanConstructor;
|
|
@@ -159,7 +159,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
159
159
|
type: NumberConstructor;
|
|
160
160
|
default: number;
|
|
161
161
|
};
|
|
162
|
-
}
|
|
162
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm" | "clickOption" | "update:showPicker")[], "update:modelValue" | "cancel" | "change" | "confirm" | "clickOption" | "update:showPicker", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
163
163
|
loading: BooleanConstructor;
|
|
164
164
|
readonly: BooleanConstructor;
|
|
165
165
|
allowHtml: BooleanConstructor;
|
|
@@ -221,14 +221,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
221
221
|
type: NumberConstructor;
|
|
222
222
|
default: number;
|
|
223
223
|
};
|
|
224
|
-
}>> & {
|
|
224
|
+
}>> & Readonly<{
|
|
225
225
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
226
226
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
227
227
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
228
228
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
229
229
|
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
230
230
|
"onUpdate:showPicker"?: ((...args: any[]) => any) | undefined;
|
|
231
|
-
}
|
|
231
|
+
}>, {
|
|
232
232
|
title: string;
|
|
233
233
|
modelValue: Numeric[];
|
|
234
234
|
readonly: boolean;
|
|
@@ -246,5 +246,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
246
246
|
optionHeight: string | number;
|
|
247
247
|
visibleOptionNum: string | number;
|
|
248
248
|
columnsUnit: string[];
|
|
249
|
-
}, {}>;
|
|
249
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
250
250
|
export default _default;
|