yc-design-vue 1.8.7 → 1.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Affix/index.vue.js +1 -0
- package/es/Alert/index.d.ts +3 -3
- package/es/Alert/index.vue.d.ts +1 -1
- package/es/Alert/index.vue.js +1 -0
- package/es/Anchor/Anchor.vue.js +1 -0
- package/es/Anchor/AnchorLink.vue.js +1 -0
- package/es/Anchor/hooks/useContext.js +1 -0
- package/es/AutoComplete/index.d.ts +19 -19
- package/es/AutoComplete/index.vue.d.ts +33 -33
- package/es/AutoComplete/index.vue.js +1 -0
- package/es/Avatar/Avatar.vue.d.ts +2 -2
- package/es/Avatar/Avatar.vue.js +1 -0
- package/es/Avatar/AvatarGroup.vue.js +1 -0
- package/es/Avatar/index.d.ts +5 -5
- package/es/BackTop/index.vue.js +1 -0
- package/es/Badge/index.vue.js +1 -0
- package/es/Breadcrumb/Breadcrumb.vue.js +1 -0
- package/es/Breadcrumb/BreadcrumbItem.vue.js +1 -0
- package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -0
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +1 -0
- package/es/Button/Button.vue.d.ts +3 -3
- package/es/Button/ButtonGroup.vue.d.ts +1 -1
- package/es/Button/hooks/useContext.js +1 -0
- package/es/Button/index.d.ts +12 -12
- package/es/Calendar/Calendar.vue.js +2 -1
- package/es/Calendar/CalendarMonth.vue.d.ts +1 -1
- package/es/Calendar/CalendarMonth.vue.js +1 -1
- package/es/Calendar/CalendarYear.vue.js +1 -1
- package/es/Card/Card.vue.d.ts +1 -1
- package/es/Card/Card.vue.js +1 -0
- package/es/Card/CardMeta.vue.d.ts +1 -1
- package/es/Card/CardMeta.vue.js +1 -0
- package/es/Card/index.d.ts +6 -6
- package/es/Carousel/Carousel.vue.js +1 -0
- package/es/Carousel/CarouselArrow.vue.js +1 -0
- package/es/Carousel/CarouselIndicator.vue.js +1 -0
- package/es/Carousel/hooks/useContext.js +1 -0
- package/es/Cascader/Cascader.vue.d.ts +17 -17
- package/es/Cascader/Cascader.vue.js +1 -0
- package/es/Cascader/CascaderIcon.vue.js +1 -0
- package/es/Cascader/CascaderOption.vue.js +1 -0
- package/es/Cascader/CascaderPanel.vue.js +1 -0
- package/es/Cascader/CascaderSearchPanel.vue.js +1 -0
- package/es/Cascader/hooks/useContext.js +1 -0
- package/es/Cascader/index.d.ts +16 -16
- package/es/Checkbox/Checkbox.vue.js +1 -0
- package/es/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/es/Checkbox/hooks/useContext.js +1 -0
- package/es/Checkbox/index.d.ts +3 -3
- package/es/Collapse/CollapseItem.vue.js +1 -0
- package/es/Collapse/hooks/useContext.js +1 -0
- package/es/ColorPicker/ColorControl.vue.js +1 -0
- package/es/ColorPicker/ColorInput.vue.js +1 -0
- package/es/ColorPicker/ColorList.vue.js +7 -1
- package/es/ColorPicker/ColorPalette.vue.js +1 -0
- package/es/ColorPicker/ColorPanel.vue.js +7 -1
- package/es/ColorPicker/hooks/useContext.js +1 -0
- package/es/Comment/index.vue.js +1 -0
- package/es/ConfigProvider/index.d.ts +3 -3
- package/es/ConfigProvider/index.vue.d.ts +1 -1
- package/es/ConfigProvider/index.vue.js +4 -12
- package/es/ConfigProvider/type.d.ts +3 -2
- package/es/Descriptions/ReuseItem.vue.js +1 -0
- package/es/Descriptions/ReuseTd.vue.js +1 -0
- package/es/Descriptions/hooks/useContext.js +1 -0
- package/es/Divider/index.d.ts +3 -3
- package/es/Divider/index.vue.d.ts +1 -1
- package/es/Divider/index.vue.js +1 -0
- package/es/Drawer/Drawer.vue.d.ts +4 -4
- package/es/Drawer/Drawer.vue.js +2 -1
- package/es/Drawer/DrawerService.vue.d.ts +2 -2
- package/es/Drawer/DrawerService.vue.js +1 -0
- package/es/Drawer/index.d.ts +11 -11
- package/es/Dropdown/Dropdown.vue.js +1 -0
- package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/es/Dropdown/DropdownButton.vue.js +1 -0
- package/es/Dropdown/Dsubmenu.vue.js +1 -0
- package/es/Dropdown/hooks/useContext.js +1 -0
- package/es/Dropdown/index.d.ts +3 -3
- package/es/Empty/index.vue.js +2 -1
- package/es/Grid/Grid.vue.js +1 -0
- package/es/Grid/GridCol.vue.js +1 -0
- package/es/Grid/GridItem.vue.js +1 -0
- package/es/Grid/GridRow.vue.js +1 -0
- package/es/Grid/hooks/useContext.js +1 -0
- package/es/Image/Image.vue.d.ts +2 -2
- package/es/Image/Image.vue.js +2 -1
- package/es/Image/ImagePreview.vue.js +1 -0
- package/es/Image/ImagePreviewArrow.vue.js +1 -0
- package/es/Image/ImagePreviewToolbar.vue.js +8 -7
- package/es/Image/hooks/useContext.js +1 -0
- package/es/Image/index.d.ts +6 -6
- package/es/Input/Input.vue.d.ts +3 -3
- package/es/Input/Input.vue.js +1 -0
- package/es/Input/InputSuffix.vue.js +1 -0
- package/es/Input/hooks/useLimitedInput.js +1 -0
- package/es/Input/index.d.ts +9 -9
- package/es/InputNumber/InputNumber.vue.d.ts +18 -18
- package/es/InputNumber/InputNumber.vue.js +1 -0
- package/es/InputNumber/InputOperaBtn.vue.js +1 -0
- package/es/InputNumber/index.d.ts +19 -19
- package/es/InputTag/index.d.ts +6 -6
- package/es/InputTag/index.vue.d.ts +2 -2
- package/es/InputTag/index.vue.js +1 -0
- package/es/Layout/Layout.vue.js +1 -0
- package/es/Layout/LayoutSider.vue.js +1 -0
- package/es/Layout/hooks/useSiderContext.js +1 -0
- package/es/Link/index.d.ts +3 -3
- package/es/Link/index.vue.d.ts +1 -1
- package/es/Link/index.vue.js +1 -0
- package/es/List/List.vue.d.ts +7 -7
- package/es/List/List.vue.js +1 -0
- package/es/List/ListItemMeta.vue.d.ts +1 -1
- package/es/List/hooks/useScrollReach.js +1 -0
- package/es/List/index.d.ts +9 -9
- package/es/Mention/index.d.ts +22 -22
- package/es/Mention/index.vue.d.ts +39 -39
- package/es/Mention/index.vue.js +1 -0
- package/es/Menu/Menu.vue.js +1 -0
- package/es/Menu/MenuEllipsis.vue.js +1 -0
- package/es/Menu/MenuItem.vue.js +1 -0
- package/es/Menu/MenuItemGroup.vue.js +1 -0
- package/es/Menu/SubMenu.vue.js +1 -0
- package/es/Menu/hooks/useContext.js +1 -0
- package/es/Message/Message.vue.d.ts +1 -1
- package/es/Message/Message.vue.js +1 -0
- package/es/Message/index.d.ts +3 -3
- package/es/Message/index.js +1 -0
- package/es/Modal/Modal.vue.d.ts +4 -4
- package/es/Modal/Modal.vue.js +2 -1
- package/es/Modal/ModalService.vue.d.ts +2 -2
- package/es/Modal/ModalService.vue.js +1 -0
- package/es/Modal/hooks/useModalClose.js +1 -0
- package/es/Modal/hooks/useModalDraggable.js +1 -0
- package/es/Modal/hooks/useOnBeforeClose.js +1 -0
- package/es/Modal/index.d.ts +11 -11
- package/es/Notification/Notification.vue.d.ts +1 -1
- package/es/Notification/Notification.vue.js +1 -0
- package/es/Notification/index.d.ts +3 -3
- package/es/Notification/index.js +1 -0
- package/es/OverflowList/index.d.ts +3 -3
- package/es/OverflowList/index.vue.d.ts +1 -1
- package/es/OverflowList/index.vue.js +1 -0
- package/es/PageHeader/index.vue.js +1 -0
- package/es/Pagination/Pagination.vue.js +6 -2
- package/es/Pagination/PaginationItem.vue.js +1 -0
- package/es/Pagination/hooks/useContext.d.ts +1 -256
- package/es/Pagination/hooks/useContext.js +2 -1
- package/es/Popconfirm/index.d.ts +19 -19
- package/es/Popconfirm/index.vue.d.ts +7 -7
- package/es/Popconfirm/index.vue.js +2 -1
- package/es/Popover/index.vue.js +1 -0
- package/es/Progress/Progress.vue.d.ts +1 -1
- package/es/Progress/Progress.vue.js +1 -0
- package/es/Progress/ProgressCircle.vue.js +1 -0
- package/es/Progress/ProgressLine.vue.js +1 -0
- package/es/Progress/ProgressSteps.vue.js +1 -0
- package/es/Progress/index.d.ts +3 -3
- package/es/Radio/Radio.vue.d.ts +1 -1
- package/es/Radio/Radio.vue.js +1 -0
- package/es/Radio/RadioGroup.vue.d.ts +1 -1
- package/es/Radio/hooks/useContext.js +1 -0
- package/es/Radio/index.d.ts +6 -6
- package/es/Rate/index.vue.js +1 -0
- package/es/ResizeBox/index.vue.js +1 -0
- package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/es/Scrollbar/Scrollbar.vue.js +1 -0
- package/es/Scrollbar/ScrollbarTrack.vue.js +1 -0
- package/es/Scrollbar/index.d.ts +3 -3
- package/es/Select/Option.vue.js +1 -0
- package/es/Select/Select.vue.d.ts +26 -26
- package/es/Select/Select.vue.js +1 -0
- package/es/Select/SelectIcon.vue.js +1 -0
- package/es/Select/SelectRealList.vue.js +1 -0
- package/es/Select/SelectView.vue.js +1 -0
- package/es/Select/SelectVirtualList.vue.js +1 -0
- package/es/Select/hooks/useContext.js +1 -0
- package/es/Select/hooks/useSelectOptions.js +1 -0
- package/es/Select/index.d.ts +14 -14
- package/es/Skeleton/SkeletonLine.vue.js +1 -0
- package/es/Skeleton/SkeletonShape.vue.js +1 -0
- package/es/Slider/Slider.vue.d.ts +3 -3
- package/es/Slider/SliderBtn.vue.js +1 -0
- package/es/Slider/hooks/useContext.js +1 -0
- package/es/Slider/hooks/useSliderDraggable.js +1 -0
- package/es/Slider/index.d.ts +9 -9
- package/es/Space/index.d.ts +3 -3
- package/es/Space/index.vue.d.ts +1 -1
- package/es/Space/index.vue.js +1 -0
- package/es/Spin/index.d.ts +3 -3
- package/es/Spin/index.vue.d.ts +1 -1
- package/es/Spin/index.vue.js +1 -0
- package/es/Split/index.d.ts +6 -6
- package/es/Split/index.vue.d.ts +2 -2
- package/es/Split/index.vue.js +1 -0
- package/es/Statistic/Countdown.vue.d.ts +2 -2
- package/es/Statistic/Countdown.vue.js +1 -0
- package/es/Statistic/Statistic.vue.d.ts +2 -2
- package/es/Statistic/Statistic.vue.js +1 -0
- package/es/Statistic/index.d.ts +12 -12
- package/es/Steps/Step.vue.d.ts +1 -1
- package/es/Steps/Step.vue.js +1 -0
- package/es/Steps/Steps.vue.d.ts +1 -1
- package/es/Steps/hooks/useContext.js +1 -0
- package/es/Steps/index.d.ts +6 -6
- package/es/Switch/index.d.ts +6 -6
- package/es/Switch/index.vue.d.ts +2 -2
- package/es/Switch/index.vue.js +1 -0
- package/es/Tabs/TabButton.vue.js +1 -0
- package/es/Tabs/TabPane.vue.js +1 -0
- package/es/Tabs/Tabs.vue.d.ts +3 -3
- package/es/Tabs/Tabs.vue.js +1 -0
- package/es/Tabs/TabsNavInk.vue.js +1 -0
- package/es/Tabs/TabsTab.vue.js +1 -0
- package/es/Tabs/hooks/useContext.js +1 -0
- package/es/Tabs/hooks/useTabsScroll.js +1 -0
- package/es/Tabs/index.d.ts +8 -8
- package/es/Tag/index.d.ts +3 -3
- package/es/Tag/index.vue.d.ts +1 -1
- package/es/Tag/index.vue.js +1 -0
- package/es/Textarea/hooks/useTextareaHeight.js +1 -0
- package/es/Textarea/index.d.ts +6 -6
- package/es/Textarea/index.vue.d.ts +2 -2
- package/es/Textarea/index.vue.js +1 -0
- package/es/TimePicker/TimePicker.vue.d.ts +3 -3
- package/es/TimePicker/TimePicker.vue.js +6 -6
- package/es/TimePicker/TimePickerPanel.vue.js +10 -10
- package/es/TimePicker/hooks/useContext.d.ts +1 -0
- package/es/TimePicker/hooks/useContext.js +11 -2
- package/es/TimePicker/index.d.ts +9 -9
- package/es/Timeline/TimelineItemPending.vue.js +1 -0
- package/es/Timeline/hooks/useContext.js +1 -0
- package/es/Tooltip/index.vue.js +1 -0
- package/es/Transfer/Transfer.vue.js +1 -0
- package/es/Transfer/TransferPanel.vue.js +1 -0
- package/es/Transfer/hooks/useContext.js +1 -0
- package/es/Trigger/hooks/useContext.js +1 -0
- package/es/Trigger/hooks/useTriggerPosition.js +1 -0
- package/es/Trigger/hooks/useTriggerVisible.js +1 -0
- package/es/Trigger/index.vue.js +1 -0
- package/es/Typography/TypographyBase.vue.d.ts +19 -19
- package/es/Typography/TypographyBase.vue.js +2 -1
- package/es/VerificationCode/index.d.ts +6 -6
- package/es/VerificationCode/index.vue.d.ts +2 -2
- package/es/VerificationCode/index.vue.js +1 -0
- package/es/Watermark/index.d.ts +3 -3
- package/es/Watermark/index.vue.d.ts +1 -1
- package/es/Watermark/index.vue.js +1 -0
- package/es/_lang/ar-eg.d.ts +206 -0
- package/es/_lang/de-de.d.ts +206 -0
- package/es/_lang/en-us.d.ts +254 -0
- package/es/_lang/es-es.d.ts +206 -0
- package/es/_lang/fr-fr.d.ts +206 -0
- package/es/_lang/id-id.d.ts +206 -0
- package/es/_lang/index.css +0 -0
- package/es/_lang/interface.d.ts +151 -0
- package/es/_lang/it-it.d.ts +206 -0
- package/es/_lang/ja-jp.d.ts +254 -0
- package/es/_lang/km-kh.d.ts +206 -0
- package/es/_lang/ko-kr.d.ts +206 -0
- package/es/_lang/ms-my.d.ts +206 -0
- package/es/_lang/nl-nl.d.ts +254 -0
- package/es/_lang/pt-pt.d.ts +206 -0
- package/es/_lang/ru-ru.d.ts +254 -0
- package/es/_lang/th-th.d.ts +206 -0
- package/es/_lang/vi-vn.d.ts +206 -0
- package/es/{_shared/locale/lang → _lang}/zh-cn.d.ts +39 -38
- package/es/_lang/zh-cn.js +202 -0
- package/es/_lang/zh-tw.d.ts +254 -0
- package/es/_shared/components/ExpandTransition.vue2.js +1 -0
- package/es/_shared/components/Icon.vue3.js +1 -0
- package/es/_shared/components/IconButton.vue.js +1 -0
- package/es/_shared/constants/index.js +1 -0
- package/es/_shared/icons/IconFullScreen.vue.js +1 -17
- package/es/_shared/icons/IconFullScreen.vue2.js +17 -1
- package/es/_shared/icons/IconOriginSize.vue.js +1 -23
- package/es/_shared/icons/IconOriginSize.vue2.js +23 -1
- package/es/_shared/icons/IconRotateLeft.vue.js +1 -17
- package/es/_shared/icons/IconRotateLeft.vue2.js +17 -1
- package/es/_shared/icons/IconRotateRight.vue.js +1 -17
- package/es/_shared/icons/IconRotateRight.vue2.js +17 -1
- package/es/_shared/icons/IconZoomIn.vue.js +1 -17
- package/es/_shared/icons/IconZoomIn.vue2.js +17 -1
- package/es/_shared/icons/IconZoomOut.vue.js +1 -17
- package/es/_shared/icons/IconZoomOut.vue2.js +17 -1
- package/es/_shared/utils/control.js +1 -0
- package/es/_shared/utils/global-config.d.ts +3 -1
- package/es/_shared/utils/global-config.js +4 -0
- package/es/_shared/utils/index.d.ts +1 -0
- package/es/_shared/utils/locale.d.ts +22 -0
- package/es/_shared/utils/locale.js +39 -0
- package/es/index.d.ts +27 -27
- package/es/index.js +0 -2
- package/lib/Affix/index.vue.js +1 -1
- package/lib/Alert/index.d.ts +3 -3
- package/lib/Alert/index.vue.d.ts +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Anchor/Anchor.vue.js +1 -1
- package/lib/Anchor/AnchorLink.vue.js +1 -1
- package/lib/Anchor/hooks/useContext.js +1 -1
- package/lib/AutoComplete/index.d.ts +19 -19
- package/lib/AutoComplete/index.vue.d.ts +33 -33
- package/lib/AutoComplete/index.vue.js +1 -1
- package/lib/Avatar/Avatar.vue.d.ts +2 -2
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/AvatarGroup.vue.js +1 -1
- package/lib/Avatar/index.d.ts +5 -5
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/Badge/index.vue.js +1 -1
- package/lib/Breadcrumb/Breadcrumb.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Button/Button.vue.d.ts +3 -3
- package/lib/Button/ButtonGroup.vue.d.ts +1 -1
- package/lib/Button/hooks/useContext.js +1 -1
- package/lib/Button/index.d.ts +12 -12
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Calendar/CalendarMonth.vue.d.ts +1 -1
- package/lib/Calendar/CalendarMonth.vue.js +1 -1
- package/lib/Calendar/CalendarYear.vue.js +1 -1
- package/lib/Card/Card.vue.d.ts +1 -1
- package/lib/Card/Card.vue.js +1 -1
- package/lib/Card/CardMeta.vue.d.ts +1 -1
- package/lib/Card/CardMeta.vue.js +1 -1
- package/lib/Card/index.d.ts +6 -6
- package/lib/Carousel/Carousel.vue.js +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Carousel/CarouselIndicator.vue.js +1 -1
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Cascader/Cascader.vue.d.ts +17 -17
- package/lib/Cascader/Cascader.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Cascader/CascaderPanel.vue.js +1 -1
- package/lib/Cascader/CascaderSearchPanel.vue.js +1 -1
- package/lib/Cascader/hooks/useContext.js +1 -1
- package/lib/Cascader/index.d.ts +16 -16
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/lib/Checkbox/hooks/useContext.js +1 -1
- package/lib/Checkbox/index.d.ts +3 -3
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Collapse/hooks/useContext.js +1 -1
- package/lib/ColorPicker/ColorControl.vue.js +1 -1
- package/lib/ColorPicker/ColorInput.vue.js +1 -1
- package/lib/ColorPicker/ColorList.vue.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue.js +1 -1
- package/lib/ColorPicker/ColorPanel.vue.js +1 -1
- package/lib/ColorPicker/hooks/useContext.js +1 -1
- package/lib/Comment/index.vue.js +1 -1
- package/lib/ConfigProvider/index.d.ts +3 -3
- package/lib/ConfigProvider/index.vue.d.ts +1 -1
- package/lib/ConfigProvider/index.vue.js +1 -1
- package/lib/ConfigProvider/type.d.ts +3 -2
- package/lib/Descriptions/ReuseItem.vue.js +1 -1
- package/lib/Descriptions/ReuseTd.vue.js +1 -1
- package/lib/Descriptions/hooks/useContext.js +1 -1
- package/lib/Divider/index.d.ts +3 -3
- package/lib/Divider/index.vue.d.ts +1 -1
- package/lib/Divider/index.vue.js +1 -1
- package/lib/Drawer/Drawer.vue.d.ts +4 -4
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.d.ts +2 -2
- package/lib/Drawer/DrawerService.vue.js +1 -1
- package/lib/Drawer/index.d.ts +11 -11
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Dropdown/index.d.ts +3 -3
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Grid/Grid.vue.js +1 -1
- package/lib/Grid/GridCol.vue.js +1 -1
- package/lib/Grid/GridItem.vue.js +1 -1
- package/lib/Grid/GridRow.vue.js +1 -1
- package/lib/Grid/hooks/useContext.js +1 -1
- package/lib/Image/Image.vue.d.ts +2 -2
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Image/hooks/useContext.js +1 -1
- package/lib/Image/index.d.ts +6 -6
- package/lib/Input/Input.vue.d.ts +3 -3
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/hooks/useLimitedInput.js +1 -1
- package/lib/Input/index.d.ts +9 -9
- package/lib/InputNumber/InputNumber.vue.d.ts +18 -18
- package/lib/InputNumber/InputNumber.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputNumber/index.d.ts +19 -19
- package/lib/InputTag/index.d.ts +6 -6
- package/lib/InputTag/index.vue.d.ts +2 -2
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Layout/Layout.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/hooks/useSiderContext.js +1 -1
- package/lib/Link/index.d.ts +3 -3
- package/lib/Link/index.vue.d.ts +1 -1
- package/lib/Link/index.vue.js +1 -1
- package/lib/List/List.vue.d.ts +7 -7
- package/lib/List/List.vue.js +1 -1
- package/lib/List/ListItemMeta.vue.d.ts +1 -1
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/List/index.d.ts +9 -9
- package/lib/Mention/index.d.ts +22 -22
- package/lib/Mention/index.vue.d.ts +39 -39
- package/lib/Mention/index.vue.js +1 -1
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/MenuItem.vue.js +1 -1
- package/lib/Menu/MenuItemGroup.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/Message/Message.vue.d.ts +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Message/index.d.ts +3 -3
- package/lib/Message/index.js +1 -1
- package/lib/Modal/Modal.vue.d.ts +4 -4
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/ModalService.vue.d.ts +2 -2
- package/lib/Modal/ModalService.vue.js +1 -1
- package/lib/Modal/hooks/useModalClose.js +1 -1
- package/lib/Modal/hooks/useModalDraggable.js +1 -1
- package/lib/Modal/hooks/useOnBeforeClose.js +1 -1
- package/lib/Modal/index.d.ts +11 -11
- package/lib/Notification/Notification.vue.d.ts +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/Notification/index.d.ts +3 -3
- package/lib/Notification/index.js +1 -1
- package/lib/OverflowList/index.d.ts +3 -3
- package/lib/OverflowList/index.vue.d.ts +1 -1
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/Pagination/Pagination.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Pagination/hooks/useContext.d.ts +1 -256
- package/lib/Pagination/hooks/useContext.js +1 -1
- package/lib/Popconfirm/index.d.ts +19 -19
- package/lib/Popconfirm/index.vue.d.ts +7 -7
- package/lib/Popconfirm/index.vue.js +1 -1
- package/lib/Popover/index.vue.js +1 -1
- package/lib/Progress/Progress.vue.d.ts +1 -1
- package/lib/Progress/Progress.vue.js +1 -1
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Progress/ProgressLine.vue.js +1 -1
- package/lib/Progress/ProgressSteps.vue.js +1 -1
- package/lib/Progress/index.d.ts +3 -3
- package/lib/Radio/Radio.vue.d.ts +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Radio/RadioGroup.vue.d.ts +1 -1
- package/lib/Radio/hooks/useContext.js +1 -1
- package/lib/Radio/index.d.ts +6 -6
- package/lib/Rate/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/lib/Scrollbar/Scrollbar.vue.js +1 -1
- package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
- package/lib/Scrollbar/index.d.ts +3 -3
- package/lib/Select/Option.vue.js +1 -1
- package/lib/Select/Select.vue.d.ts +26 -26
- package/lib/Select/Select.vue.js +1 -1
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/SelectRealList.vue.js +1 -1
- package/lib/Select/SelectView.vue.js +1 -1
- package/lib/Select/SelectVirtualList.vue.js +1 -1
- package/lib/Select/hooks/useContext.js +1 -1
- package/lib/Select/hooks/useSelectOptions.js +1 -1
- package/lib/Select/index.d.ts +14 -14
- package/lib/Skeleton/SkeletonLine.vue.js +1 -1
- package/lib/Skeleton/SkeletonShape.vue.js +1 -1
- package/lib/Slider/Slider.vue.d.ts +3 -3
- package/lib/Slider/SliderBtn.vue.js +1 -1
- package/lib/Slider/hooks/useContext.js +1 -1
- package/lib/Slider/hooks/useSliderDraggable.js +1 -1
- package/lib/Slider/index.d.ts +9 -9
- package/lib/Space/index.d.ts +3 -3
- package/lib/Space/index.vue.d.ts +1 -1
- package/lib/Space/index.vue.js +1 -1
- package/lib/Spin/index.d.ts +3 -3
- package/lib/Spin/index.vue.d.ts +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Split/index.d.ts +6 -6
- package/lib/Split/index.vue.d.ts +2 -2
- package/lib/Split/index.vue.js +1 -1
- package/lib/Statistic/Countdown.vue.d.ts +2 -2
- package/lib/Statistic/Countdown.vue.js +1 -1
- package/lib/Statistic/Statistic.vue.d.ts +2 -2
- package/lib/Statistic/Statistic.vue.js +1 -1
- package/lib/Statistic/index.d.ts +12 -12
- package/lib/Steps/Step.vue.d.ts +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Steps/Steps.vue.d.ts +1 -1
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Steps/index.d.ts +6 -6
- package/lib/Switch/index.d.ts +6 -6
- package/lib/Switch/index.vue.d.ts +2 -2
- package/lib/Switch/index.vue.js +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/TabPane.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.d.ts +3 -3
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tabs/TabsNavInk.vue.js +1 -1
- package/lib/Tabs/TabsTab.vue.js +1 -1
- package/lib/Tabs/hooks/useContext.js +1 -1
- package/lib/Tabs/hooks/useTabsScroll.js +1 -1
- package/lib/Tabs/index.d.ts +8 -8
- package/lib/Tag/index.d.ts +3 -3
- package/lib/Tag/index.vue.d.ts +1 -1
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.d.ts +6 -6
- package/lib/Textarea/index.vue.d.ts +2 -2
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue.d.ts +3 -3
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
- package/lib/TimePicker/hooks/useContext.d.ts +1 -0
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/TimePicker/index.d.ts +9 -9
- package/lib/Timeline/TimelineItemPending.vue.js +1 -1
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Tooltip/index.vue.js +1 -1
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue.d.ts +19 -19
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/VerificationCode/index.d.ts +6 -6
- package/lib/VerificationCode/index.vue.d.ts +2 -2
- package/lib/VerificationCode/index.vue.js +1 -1
- package/lib/Watermark/index.d.ts +3 -3
- package/lib/Watermark/index.vue.d.ts +1 -1
- package/lib/Watermark/index.vue.js +1 -1
- package/lib/_lang/ar-eg.d.ts +206 -0
- package/lib/_lang/de-de.d.ts +206 -0
- package/lib/_lang/en-us.d.ts +254 -0
- package/lib/_lang/es-es.d.ts +206 -0
- package/lib/_lang/fr-fr.d.ts +206 -0
- package/lib/_lang/id-id.d.ts +206 -0
- package/lib/_lang/index.css +0 -0
- package/lib/_lang/interface.d.ts +151 -0
- package/lib/_lang/it-it.d.ts +206 -0
- package/lib/_lang/ja-jp.d.ts +254 -0
- package/lib/_lang/km-kh.d.ts +206 -0
- package/lib/_lang/ko-kr.d.ts +206 -0
- package/lib/_lang/ms-my.d.ts +206 -0
- package/lib/_lang/nl-nl.d.ts +254 -0
- package/lib/_lang/pt-pt.d.ts +206 -0
- package/lib/_lang/ru-ru.d.ts +254 -0
- package/lib/_lang/th-th.d.ts +206 -0
- package/lib/_lang/vi-vn.d.ts +206 -0
- package/lib/{_shared/locale/lang → _lang}/zh-cn.d.ts +39 -38
- package/lib/_lang/zh-cn.js +1 -0
- package/lib/_lang/zh-tw.d.ts +254 -0
- package/lib/_shared/components/ExpandTransition.vue2.js +1 -1
- package/lib/_shared/components/Icon.vue3.js +1 -1
- package/lib/_shared/components/IconButton.vue.js +1 -1
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/_shared/utils/control.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +3 -1
- package/lib/_shared/utils/global-config.js +1 -1
- package/lib/_shared/utils/index.d.ts +1 -0
- package/lib/_shared/utils/locale.d.ts +22 -0
- package/lib/_shared/utils/locale.js +1 -0
- package/lib/index.d.ts +27 -27
- package/lib/index.js +1 -1
- package/package.json +10 -22
- package/es/_shared/locale/i18n.d.ts +0 -512
- package/es/_shared/locale/i18n.js +0 -43
- package/es/_shared/locale/lang/ar-eg.json.js +0 -251
- package/es/_shared/locale/lang/de-de.json.d.ts +0 -207
- package/es/_shared/locale/lang/de-de.json.js +0 -251
- package/es/_shared/locale/lang/en-us.json.d.ts +0 -210
- package/es/_shared/locale/lang/en-us.json.js +0 -256
- package/es/_shared/locale/lang/es-es.json.d.ts +0 -207
- package/es/_shared/locale/lang/es-es.json.js +0 -251
- package/es/_shared/locale/lang/fr-fr.json.d.ts +0 -207
- package/es/_shared/locale/lang/fr-fr.json.js +0 -251
- package/es/_shared/locale/lang/id-id.json.d.ts +0 -207
- package/es/_shared/locale/lang/id-id.json.js +0 -251
- package/es/_shared/locale/lang/it-it.json.d.ts +0 -207
- package/es/_shared/locale/lang/it-it.json.js +0 -251
- package/es/_shared/locale/lang/ja-jp.json.d.ts +0 -255
- package/es/_shared/locale/lang/ja-jp.json.js +0 -301
- package/es/_shared/locale/lang/km-kh.json.d.ts +0 -207
- package/es/_shared/locale/lang/km-kh.json.js +0 -251
- package/es/_shared/locale/lang/ko-kr.json.d.ts +0 -207
- package/es/_shared/locale/lang/ko-kr.json.js +0 -251
- package/es/_shared/locale/lang/ms-my.json.d.ts +0 -207
- package/es/_shared/locale/lang/ms-my.json.js +0 -251
- package/es/_shared/locale/lang/nl-nl.json.d.ts +0 -255
- package/es/_shared/locale/lang/nl-nl.json.js +0 -301
- package/es/_shared/locale/lang/pt-pt.json.d.ts +0 -207
- package/es/_shared/locale/lang/pt-pt.json.js +0 -251
- package/es/_shared/locale/lang/ru-ru.json.d.ts +0 -255
- package/es/_shared/locale/lang/ru-ru.json.js +0 -301
- package/es/_shared/locale/lang/th-th.json.d.ts +0 -207
- package/es/_shared/locale/lang/th-th.json.js +0 -251
- package/es/_shared/locale/lang/vi-vn.json.d.ts +0 -207
- package/es/_shared/locale/lang/vi-vn.json.js +0 -251
- package/es/_shared/locale/lang/zh-cn.json.d.ts +0 -255
- package/es/_shared/locale/lang/zh-cn.json.js +0 -301
- package/es/_shared/locale/lang/zh-tw.json.d.ts +0 -255
- package/es/_shared/locale/lang/zh-tw.json.js +0 -301
- package/es/node_modules/@intlify/core-base/dist/core-base.js +0 -1126
- package/es/node_modules/@intlify/message-compiler/dist/message-compiler.js +0 -65
- package/es/node_modules/@intlify/shared/dist/shared.js +0 -199
- package/es/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +0 -1375
- package/es/node_modules/@vue/devtools-api/lib/esm/const.js +0 -6
- package/es/node_modules/@vue/devtools-api/lib/esm/env.js +0 -12
- package/es/node_modules/@vue/devtools-api/lib/esm/index.js +0 -26
- package/es/node_modules/@vue/devtools-api/lib/esm/proxy.js +0 -103
- package/es/node_modules/@vue/devtools-api/lib/esm/time.js +0 -25
- package/lib/_shared/locale/i18n.d.ts +0 -512
- package/lib/_shared/locale/i18n.js +0 -1
- package/lib/_shared/locale/lang/ar-eg.json.js +0 -1
- package/lib/_shared/locale/lang/de-de.json.d.ts +0 -207
- package/lib/_shared/locale/lang/de-de.json.js +0 -1
- package/lib/_shared/locale/lang/en-us.json.d.ts +0 -210
- package/lib/_shared/locale/lang/en-us.json.js +0 -1
- package/lib/_shared/locale/lang/es-es.json.d.ts +0 -207
- package/lib/_shared/locale/lang/es-es.json.js +0 -1
- package/lib/_shared/locale/lang/fr-fr.json.d.ts +0 -207
- package/lib/_shared/locale/lang/fr-fr.json.js +0 -1
- package/lib/_shared/locale/lang/id-id.json.d.ts +0 -207
- package/lib/_shared/locale/lang/id-id.json.js +0 -1
- package/lib/_shared/locale/lang/it-it.json.d.ts +0 -207
- package/lib/_shared/locale/lang/it-it.json.js +0 -1
- package/lib/_shared/locale/lang/ja-jp.json.d.ts +0 -255
- package/lib/_shared/locale/lang/ja-jp.json.js +0 -1
- package/lib/_shared/locale/lang/km-kh.json.d.ts +0 -207
- package/lib/_shared/locale/lang/km-kh.json.js +0 -1
- package/lib/_shared/locale/lang/ko-kr.json.d.ts +0 -207
- package/lib/_shared/locale/lang/ko-kr.json.js +0 -1
- package/lib/_shared/locale/lang/ms-my.json.d.ts +0 -207
- package/lib/_shared/locale/lang/ms-my.json.js +0 -1
- package/lib/_shared/locale/lang/nl-nl.json.d.ts +0 -255
- package/lib/_shared/locale/lang/nl-nl.json.js +0 -1
- package/lib/_shared/locale/lang/pt-pt.json.d.ts +0 -207
- package/lib/_shared/locale/lang/pt-pt.json.js +0 -1
- package/lib/_shared/locale/lang/ru-ru.json.d.ts +0 -255
- package/lib/_shared/locale/lang/ru-ru.json.js +0 -1
- package/lib/_shared/locale/lang/th-th.json.d.ts +0 -207
- package/lib/_shared/locale/lang/th-th.json.js +0 -1
- package/lib/_shared/locale/lang/vi-vn.json.d.ts +0 -207
- package/lib/_shared/locale/lang/vi-vn.json.js +0 -1
- package/lib/_shared/locale/lang/zh-cn.json.d.ts +0 -255
- package/lib/_shared/locale/lang/zh-cn.json.js +0 -1
- package/lib/_shared/locale/lang/zh-tw.json.d.ts +0 -255
- package/lib/_shared/locale/lang/zh-tw.json.js +0 -1
- package/lib/node_modules/@intlify/core-base/dist/core-base.js +0 -1
- package/lib/node_modules/@intlify/message-compiler/dist/message-compiler.js +0 -6
- package/lib/node_modules/@intlify/shared/dist/shared.js +0 -7
- package/lib/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +0 -1
- package/lib/node_modules/@vue/devtools-api/lib/esm/const.js +0 -1
- package/lib/node_modules/@vue/devtools-api/lib/esm/env.js +0 -1
- package/lib/node_modules/@vue/devtools-api/lib/esm/index.js +0 -1
- package/lib/node_modules/@vue/devtools-api/lib/esm/proxy.js +0 -1
- package/lib/node_modules/@vue/devtools-api/lib/esm/time.js +0 -1
@@ -6,14 +6,14 @@ declare const _default: import('vue').DefineComponent<SliderProps, {}, {}, {}, {
|
|
6
6
|
onChange?: ((value: number) => any) | undefined;
|
7
7
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
8
8
|
}>, {
|
9
|
-
min: number;
|
10
|
-
max: number;
|
11
|
-
range: boolean;
|
12
9
|
disabled: boolean;
|
10
|
+
range: boolean;
|
13
11
|
modelValue: import('./type').SliderValue;
|
14
12
|
defaultValue: import('./type').SliderValue;
|
15
13
|
showInput: boolean;
|
14
|
+
max: number;
|
16
15
|
direction: import('..').Direction;
|
16
|
+
min: number;
|
17
17
|
step: number;
|
18
18
|
showTooltip: boolean;
|
19
19
|
marks: Record<number, string>;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue"),t=require("./hooks/useContext.js"),r=require("./hooks/useSliderDraggable.js"),i=require("../Tooltip/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js")
|
1
|
+
"use strict";const e=require("vue"),t=require("./hooks/useContext.js"),r=require("./hooks/useSliderDraggable.js"),i=require("../Tooltip/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");const o=require("../_shared/utils/control.js"),s=e.defineComponent({__name:"SliderBtn",props:{type:{},position:{}},emits:["update:position"],setup(s,{emit:l}){const u=s,n=l,{type:a}=e.toRefs(u),d=e.ref(),{trackRef:p,min:c,max:m,direction:f,disabled:v,step:g,showTooltip:h,startValue:j,endValue:q,formatTooltip:b,normalizeValue:_,denormalizeValue:y}=t().inject(),V=e.computed({get:()=>"start"==a.value?j.value:q.value,set(e){"start"==a.value?j.value=e:q.value=e}}),{position:k,isDragging:x}=r({trackRef:p,triggerRef:d,computedValue:V,direction:f,step:g,min:c,max:m,disabled:v,denormalizeValue:y,normalizeValue:_}),R=o(e.ref(),!1,()=>{},e=>x.value||e);return e.watch(k,()=>{n("update:position",k)}),(t,r)=>(e.openBlock(),e.createBlock(e.unref(i),{"popup-visible":e.unref(R),"onUpdate:popupVisible":r[0]||(r[0]=t=>e.isRef(R)?R.value=t:null),disabled:!e.unref(h),position:"vertical"==e.unref(f)?"right":"bottom",content:e.unref(b)?e.unref(b)(V.value):String(V.value)},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"yc-slider-btn",ref_key:"triggerRef",ref:d,style:e.normalizeStyle({transform:e.unref(k).transform})},null,4)]),_:1},8,["popup-visible","disabled","position","content"]))}});module.exports=s;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js"),require("../../_shared/utils/dom.js");const a=require("../../_shared/utils/is.js");require("../../_shared/utils/time.js"),require("../../Empty/index.js")
|
1
|
+
"use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js"),require("../../_shared/utils/dom.js");const a=require("../../_shared/utils/is.js");require("../../_shared/utils/time.js"),require("../../Empty/index.js"),/* empty css */require("../../_shared/utils/locale.js");const l=require("../../_shared/utils/control.js"),u="slider-context";module.exports=()=>({inject:()=>e.inject(u,{startValue:e.ref(0),endValue:e.ref(0),tempEndValue:e.ref(0),tempStartValue:e.ref(0),range:e.ref(!1),min:e.ref(0),max:e.ref(0),step:e.ref(0),direction:e.ref("horizontal"),disabled:e.ref(!1),showTooltip:e.ref(!0),trackRef:e.ref(),normalizeValue:e=>e,denormalizeValue:e=>e}),provide:(r,t,o)=>{const{modelValue:i,defaultValue:n,step:s,min:v,max:d,direction:m,disabled:c,range:f,showTooltip:p,marks:V}=e.toRefs(r),{formatTooltip:h}=r,j=l(i,f.value&&!a.isArray(n.value)?[0,0]:n.value,e=>{t("update:modelValue",e),t("change",e)}),x=e.computed({get:()=>f.value&&a.isArray(j.value)?j.value[0]:j.value,set(e){f.value&&a.isArray(j.value)?j.value[0]=e:j.value=e,g.value=e}}),g=e.ref(x.value),q=e.computed({get:()=>f.value&&a.isArray(j.value)?j.value[1]:j.value,set(e){f.value&&a.isArray(j.value)?j.value[1]=e:j.value=e,y.value=e}}),y=e.ref(q.value),_=e.computed(()=>{const e=z(s.value),a=[];for(let l=1;l<Math.floor(d.value/s.value);l++){const u=+(l*s.value).toFixed(e);a.push({label:u,value:u})}return a}),b=e.computed(()=>Object.entries(V.value).map(([e,a])=>({value:+e,label:a})));function z(e){const a=e.toString(),l=a.indexOf(".");return-1===l?0:a.length-l-1}function k(e){if(d.value-v.value===0)return 0;return(e-v.value)/(d.value-v.value)*100}return e.provide(u,{startValue:x,endValue:q,tempStartValue:g,tempEndValue:y,range:f,min:v,max:d,step:s,showTooltip:p,disabled:c,direction:m,trackRef:o,formatTooltip:h,normalizeValue:k,denormalizeValue:function(e){const a=(v.value+e/100*(d.value-v.value)-v.value)/s.value,l=Math.round(a),u=v.value+l*s.value,r=z(s.value);return+Math.max(v.value,Math.min(u,d.value)).toFixed(r)}}),{range:f,direction:m,startValue:x,endValue:q,tempStartValue:g,tempEndValue:y,computedValue:j,ticks:_,marks:b,min:v,max:d,normalizeValue:k}}});
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue"),a=require("../../node_modules/@vueuse/core/index.js");require("../../node_modules/tinycolor2/esm/tinycolor.js");const l=require("../../_shared/utils/dom.js");require("../../_shared/utils/time.js"),require("../../Empty/index.js")
|
1
|
+
"use strict";const e=require("vue"),a=require("../../node_modules/@vueuse/core/index.js");require("../../node_modules/tinycolor2/esm/tinycolor.js");const l=require("../../_shared/utils/dom.js");require("../../_shared/utils/time.js"),require("../../Empty/index.js"),/* empty css */require("../../_shared/utils/locale.js");module.exports=t=>{const{trackRef:u,triggerRef:v,computedValue:i,direction:o,max:r,min:n,step:s,disabled:c,normalizeValue:m,denormalizeValue:d}=t,{x:g,y:h,isDragging:f}=a.useDraggable(v,{disabled:c,onMove(){const{minTop:e,maxTop:a,minLeft:l,maxLeft:t}=q;let u;"vertical"==o.value?(h.value=h.value>e?e:h.value,h.value=h.value<a?a:h.value,u=b(h.value)):(g.value=g.value<l?l:g.value,g.value=g.value>t?t:g.value,u=b(g.value)),u=d(u),w(u),u!=i.value&&(i.value=u)}}),p=e.computed(()=>m(r.value)),x=e.computed(()=>m(s.value)),T=e.reactive({bottom:0,left:0,top:0,right:0}),q=e.reactive({minLeft:0,maxLeft:0,minTop:0,maxTop:0}),b=e=>{const{left:a,bottom:l,width:t,height:v}=u.value.getBoundingClientRect(),i="vertical"==o.value?(l-e)/v*p.value:(e-a)/t*p.value;return Math.floor(i/x.value)*x.value},j=e=>{e=m(e);const{left:a,bottom:l,width:t,height:v}=u.value.getBoundingClientRect();return e=Math.floor(e/x.value)*x.value,"vertical"==o.value?l-e/p.value*v:e/p.value*t+a},w=e=>{e=m(e);const{width:a,height:t}=u.value.getBoundingClientRect(),v=m(i.value)/p.value*t,r=m(i.value)/p.value*a;"vertical"==o.value?(T.top=100-e,T.bottom=e,T.transform=`translate(-50%,calc(${l.valueToPx(-v)} + 50%))`):(T.left=e,T.right=100-e,T.transform=`translate(calc(${l.valueToPx(r)} - 50%),-50%)`)};return e.watch([n,r],async()=>{await e.nextTick(),q.minTop=j(n.value),q.maxTop=j(r.value),q.minLeft=j(n.value),q.maxLeft=j(r.value),i.value>r.value?i.value=r.value:i.value<n.value&&(i.value=n.value),w(i.value)},{immediate:!0}),e.watch(()=>i.value,async a=>{f.value||(await e.nextTick(),w(a))}),{isDragging:f,position:T}};
|
package/lib/Slider/index.d.ts
CHANGED
@@ -10,14 +10,14 @@ declare const Slider: {
|
|
10
10
|
change: (value: number) => any;
|
11
11
|
"update:modelValue": (value: number) => any;
|
12
12
|
}, import('vue').PublicProps, {
|
13
|
-
min: number;
|
14
|
-
max: number;
|
15
|
-
range: boolean;
|
16
13
|
disabled: boolean;
|
14
|
+
range: boolean;
|
17
15
|
modelValue: import('./type').SliderValue;
|
18
16
|
defaultValue: import('./type').SliderValue;
|
19
17
|
showInput: boolean;
|
18
|
+
max: number;
|
20
19
|
direction: import('..').Direction;
|
20
|
+
min: number;
|
21
21
|
step: number;
|
22
22
|
showTooltip: boolean;
|
23
23
|
marks: Record<number, string>;
|
@@ -36,14 +36,14 @@ declare const Slider: {
|
|
36
36
|
onChange?: ((value: number) => any) | undefined;
|
37
37
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
38
38
|
}>, {}, {}, {}, {}, {
|
39
|
-
min: number;
|
40
|
-
max: number;
|
41
|
-
range: boolean;
|
42
39
|
disabled: boolean;
|
40
|
+
range: boolean;
|
43
41
|
modelValue: import('./type').SliderValue;
|
44
42
|
defaultValue: import('./type').SliderValue;
|
45
43
|
showInput: boolean;
|
44
|
+
max: number;
|
46
45
|
direction: import('..').Direction;
|
46
|
+
min: number;
|
47
47
|
step: number;
|
48
48
|
showTooltip: boolean;
|
49
49
|
marks: Record<number, string>;
|
@@ -60,14 +60,14 @@ declare const Slider: {
|
|
60
60
|
change: (value: number) => any;
|
61
61
|
"update:modelValue": (value: number) => any;
|
62
62
|
}, string, {
|
63
|
-
min: number;
|
64
|
-
max: number;
|
65
|
-
range: boolean;
|
66
63
|
disabled: boolean;
|
64
|
+
range: boolean;
|
67
65
|
modelValue: import('./type').SliderValue;
|
68
66
|
defaultValue: import('./type').SliderValue;
|
69
67
|
showInput: boolean;
|
68
|
+
max: number;
|
70
69
|
direction: import('..').Direction;
|
70
|
+
min: number;
|
71
71
|
step: number;
|
72
72
|
showTooltip: boolean;
|
73
73
|
marks: Record<number, string>;
|
package/lib/Space/index.d.ts
CHANGED
@@ -4,8 +4,8 @@ export type SpaceInstance = InstanceType<typeof _Space>;
|
|
4
4
|
export * from './type';
|
5
5
|
declare const Space: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').SpaceProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
7
|
-
fill: boolean;
|
8
7
|
size: import('./type').SpaceSize | [import('./type').SpaceSize, import('./type').SpaceSize];
|
8
|
+
fill: boolean;
|
9
9
|
wrap: boolean;
|
10
10
|
direction: import('..').Direction;
|
11
11
|
align: import('./type').SpaceAlign;
|
@@ -17,8 +17,8 @@ declare const Space: {
|
|
17
17
|
M: {};
|
18
18
|
Defaults: {};
|
19
19
|
}, Readonly<import('./type').SpaceProps> & Readonly<{}>, {}, {}, {}, {}, {
|
20
|
-
fill: boolean;
|
21
20
|
size: import('./type').SpaceSize | [import('./type').SpaceSize, import('./type').SpaceSize];
|
21
|
+
fill: boolean;
|
22
22
|
wrap: boolean;
|
23
23
|
direction: import('..').Direction;
|
24
24
|
align: import('./type').SpaceAlign;
|
@@ -27,8 +27,8 @@ declare const Space: {
|
|
27
27
|
__isTeleport?: never;
|
28
28
|
__isSuspense?: never;
|
29
29
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').SpaceProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
30
|
-
fill: boolean;
|
31
30
|
size: import('./type').SpaceSize | [import('./type').SpaceSize, import('./type').SpaceSize];
|
31
|
+
fill: boolean;
|
32
32
|
wrap: boolean;
|
33
33
|
direction: import('..').Direction;
|
34
34
|
align: import('./type').SpaceAlign;
|
package/lib/Space/index.vue.d.ts
CHANGED
@@ -7,8 +7,8 @@ declare function __VLS_template(): {
|
|
7
7
|
};
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<SpaceProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SpaceProps> & Readonly<{}>, {
|
10
|
-
fill: boolean;
|
11
10
|
size: import('./type').SpaceSize | [import('./type').SpaceSize, import('./type').SpaceSize];
|
11
|
+
fill: boolean;
|
12
12
|
wrap: boolean;
|
13
13
|
direction: import('..').Direction;
|
14
14
|
align: import('./type').SpaceAlign;
|
package/lib/Space/index.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const l=require("../_shared/utils/dom.js"),t=require("../_shared/utils/is.js");require("../_shared/utils/time.js");const o=require("../_shared/utils/vue-utils.js");require("../Empty/index.js")
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const l=require("../_shared/utils/dom.js"),t=require("../_shared/utils/is.js");require("../_shared/utils/time.js");const o=require("../_shared/utils/vue-utils.js");require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");const a={class:"yc-space-item"},s={key:0,class:"yc-space-split"},r=e.defineComponent({name:"Space",__name:"index",props:{align:{default:void 0},direction:{default:"horizontal"},wrap:{type:Boolean,default:!1},fill:{type:Boolean,default:!1},size:{default:"small"}},setup(r){const n=e.useSlots(),i=r,{size:c,direction:u,align:d}=e.toRefs(i),m=e.computed(()=>{const e={mini:4,small:8,medium:16,large:24};return t.isNumber(c.value)?l.valueToPx(c.value):t.isArray(c.value)?c.value.map(e=>l.valueToPx(e)).join(" "):l.valueToPx(e[c.value])}),p=e.computed(()=>t.isUndefined(d.value)?"horizontal"==u.value?"center":"start":d.value),v=e.computed(()=>{var l;if(!n.split)return[];const t=[];return((null==(l=n.default)?void 0:l.call(n))||[]).forEach(l=>{l.type===e.Fragment?t.push(...l.children):l.type!==e.Comment&&t.push(l)}),t});return(l,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-space",`yc-space-align-${p.value}`,`yc-space-direction-${e.unref(u)}`,{"yc-space-wrap":l.wrap,"yc-space-fill":l.fill}]),style:e.normalizeStyle({gap:m.value})},[l.$slots.split?e.createCommentVNode("",!0):e.renderSlot(l.$slots,"default",{key:0}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(t,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:r},[e.createElementVNode("div",a,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o.getSlotFunction)(t))))]),r<v.value.length-1?(e.openBlock(),e.createElementBlock("div",s,[e.renderSlot(l.$slots,"split")])):e.createCommentVNode("",!0)],64))),128))],6))}});module.exports=r;
|
package/lib/Spin/index.d.ts
CHANGED
@@ -4,8 +4,8 @@ export type SpinInstance = InstanceType<typeof _Spin>;
|
|
4
4
|
export * from './type';
|
5
5
|
declare const Spin: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').SpinProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
7
|
-
loading: boolean;
|
8
7
|
size: number;
|
8
|
+
loading: boolean;
|
9
9
|
dot: boolean;
|
10
10
|
tip: string;
|
11
11
|
hideIcon: boolean;
|
@@ -18,8 +18,8 @@ declare const Spin: {
|
|
18
18
|
M: {};
|
19
19
|
Defaults: {};
|
20
20
|
}, Readonly<import('./type').SpinProps> & Readonly<{}>, {}, {}, {}, {}, {
|
21
|
-
loading: boolean;
|
22
21
|
size: number;
|
22
|
+
loading: boolean;
|
23
23
|
dot: boolean;
|
24
24
|
tip: string;
|
25
25
|
hideIcon: boolean;
|
@@ -29,8 +29,8 @@ declare const Spin: {
|
|
29
29
|
__isTeleport?: never;
|
30
30
|
__isSuspense?: never;
|
31
31
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').SpinProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
32
|
-
loading: boolean;
|
33
32
|
size: number;
|
33
|
+
loading: boolean;
|
34
34
|
dot: boolean;
|
35
35
|
tip: string;
|
36
36
|
hideIcon: boolean;
|
package/lib/Spin/index.vue.d.ts
CHANGED
@@ -7,8 +7,8 @@ declare function __VLS_template(): {
|
|
7
7
|
};
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<SpinProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SpinProps> & Readonly<{}>, {
|
10
|
-
loading: boolean;
|
11
10
|
size: number;
|
11
|
+
loading: boolean;
|
12
12
|
dot: boolean;
|
13
13
|
tip: string;
|
14
14
|
hideIcon: boolean;
|
package/lib/Spin/index.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue"),o=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js");const
|
1
|
+
"use strict";const e=require("vue"),o=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js");const l=require("../_shared/utils/global-config.js");require("../_shared/utils/locale.js");const n={class:"yc-spin"},i={key:0,class:"yc-dot-loading"},r={key:1,class:"yc-spin-tip"},s={key:0,class:"yc-spin-mask"},a=e.defineComponent({name:"Spin",__name:"index",props:{size:{default:20},loading:{type:Boolean,default:!1},dot:{type:Boolean,default:!1},tip:{default:""},hideIcon:{type:Boolean,default:!1},isSizeInherit:{type:Boolean,default:!1}},setup(a){const{define:c,reuse:d}=o.createReusableTemplate(),{renderLoading:u}=l.getGlobalConfig();return(o,l)=>(e.openBlock(),e.createElementBlock("div",n,[e.createVNode(e.unref(c),null,{default:e.withCtx(()=>[o.hideIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-spin-icon",{"yc-spin-icon-loading":!o.dot}]),style:e.normalizeStyle({fontSize:o.isSizeInherit?"inherit":e.unref(t.valueToPx)(o.size)})},[e.renderSlot(o.$slots,"icon",{},()=>[o.dot?(e.openBlock(),e.createElementBlock("div",i,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(5,o=>e.createElementVNode("div",{key:o,class:"yc-dot-loading-item"})),64))])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(u)()),{key:1}))])],6)),o.tip?(e.openBlock(),e.createElementBlock("div",r,[e.renderSlot(o.$slots,"tip",{},()=>[e.createTextVNode(e.toDisplayString(o.tip),1)])])):e.createCommentVNode("",!0)]),_:3}),o.$slots.default?(e.openBlock(),e.createBlock(e.Transition,{key:1,name:"fade"},{default:e.withCtx(()=>[o.loading?(e.openBlock(),e.createElementBlock("div",s,[e.createVNode(e.unref(d))])):e.createCommentVNode("",!0)]),_:1})):(e.openBlock(),e.createBlock(e.unref(d),{key:0})),e.renderSlot(o.$slots,"default")]))}});module.exports=a;
|
package/lib/Split/index.d.ts
CHANGED
@@ -14,12 +14,12 @@ declare const Split: {
|
|
14
14
|
"moving-end": () => any;
|
15
15
|
"update:size": (value: number) => any;
|
16
16
|
}, import('vue').PublicProps, {
|
17
|
-
min: number;
|
18
|
-
max: number;
|
19
17
|
size: number | string;
|
20
18
|
disabled: boolean;
|
21
19
|
component: string;
|
20
|
+
max: number;
|
22
21
|
direction: import('..').Direction;
|
22
|
+
min: number;
|
23
23
|
defaultSize: number | string;
|
24
24
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
25
25
|
splitRef: unknown;
|
@@ -37,12 +37,12 @@ declare const Split: {
|
|
37
37
|
"onMoving-end"?: (() => any) | undefined;
|
38
38
|
"onUpdate:size"?: ((value: number) => any) | undefined;
|
39
39
|
}>, {}, {}, {}, {}, {
|
40
|
-
min: number;
|
41
|
-
max: number;
|
42
40
|
size: number | string;
|
43
41
|
disabled: boolean;
|
44
42
|
component: string;
|
43
|
+
max: number;
|
45
44
|
direction: import('..').Direction;
|
45
|
+
min: number;
|
46
46
|
defaultSize: number | string;
|
47
47
|
}>;
|
48
48
|
__isFragment?: never;
|
@@ -59,12 +59,12 @@ declare const Split: {
|
|
59
59
|
"moving-end": () => any;
|
60
60
|
"update:size": (value: number) => any;
|
61
61
|
}, string, {
|
62
|
-
min: number;
|
63
|
-
max: number;
|
64
62
|
size: number | string;
|
65
63
|
disabled: boolean;
|
66
64
|
component: string;
|
65
|
+
max: number;
|
67
66
|
direction: import('..').Direction;
|
67
|
+
min: number;
|
68
68
|
defaultSize: number | string;
|
69
69
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
70
70
|
$slots: Readonly<import('./type').SplitSlots> & import('./type').SplitSlots;
|
package/lib/Split/index.vue.d.ts
CHANGED
@@ -20,12 +20,12 @@ declare const __VLS_component: import('vue').DefineComponent<SplitProps, {}, {},
|
|
20
20
|
"onMoving-end"?: (() => any) | undefined;
|
21
21
|
"onUpdate:size"?: ((value: number) => any) | undefined;
|
22
22
|
}>, {
|
23
|
-
min: number;
|
24
|
-
max: number;
|
25
23
|
size: number | string;
|
26
24
|
disabled: boolean;
|
27
25
|
component: string;
|
26
|
+
max: number;
|
28
27
|
direction: import('..').Direction;
|
28
|
+
min: number;
|
29
29
|
defaultSize: number | string;
|
30
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
31
31
|
splitRef: unknown;
|
package/lib/Split/index.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js"),l=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js");const a=require("../_shared/utils/control.js");;/* empty css */const
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js"),l=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js"),require("../_shared/utils/locale.js");const a=require("../_shared/utils/control.js");;/* empty css */const r=require("../_shared/icons/IconDragDot.vue.js"),i=require("../node_modules/@vueuse/core/index.js"),o={class:"yc-split-trigger-icon-wrapper"},s={class:"yc-split-trigger-icon"},u={class:"yc-split-pane yc-split-pane-second"},n=e.defineComponent({name:"Split",__name:"index",props:{component:{default:"div"},direction:{default:"horizontal"},size:{default:void 0},defaultSize:{default:.5},min:{default:0},max:{default:1},disabled:{type:Boolean,default:!1}},emits:["update:size","moving-start","moving","moving-end"],setup(n,{emit:d}){const v=n,c=d,{size:m,defaultSize:p,direction:f,min:g,max:h}=e.toRefs(v),y=a(m,p.value,e=>{c("update:size",e)}),z=e.computed(()=>100*(l.isNumber(y.value)?y.value:E(y.value))+"%"),_=e.ref(),x=e.ref(),q=e.computed(()=>{var e,t;return("horizontal"==f.value?null==(e=x.value)?void 0:e.offsetWidth:null==(t=x.value)?void 0:t.offsetHeight)??6}),N=e.computed(()=>{var e;const t=null==(e=_.value)?void 0:e.getBoundingClientRect();return("horizontal"==f.value?null==t?void 0:t.width:null==t?void 0:t.height)??0}),{isDragging:j,x:S,y:b}=i.useDraggable(x,{onMove(){c("moving");const{left:e,top:t}=_.value.getBoundingClientRect(),a="horizontal"==f.value?e:t,r=a+C(g.value),i=a+C(h.value)-q.value;let o="";"horizontal"==f.value?(S.value=S.value<r?r:S.value,S.value=S.value>i?i:S.value,o=S.value-e+"px"):(b.value=b.value<r?r:b.value,b.value=b.value>i?i:b.value,o=b.value-t+"px"),y.value=l.isNumber(y.value)?E(o):o},onStart(){c("moving-start")},onEnd(){c("moving-end")}}),C=e=>l.isNumber(e)?e*N.value:Number.parseFloat(e),E=e=>Number.parseFloat(e)/N.value;return e.watch(()=>y.value,async e=>{if(j.value)return;await t.sleep(0);const{left:l,top:a}=_.value.getBoundingClientRect();S.value=l+C(e),b.value=a+C(e)},{immediate:!0}),(l,a)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.component),{class:e.normalizeClass(["yc-split",`yc-split-direction-${e.unref(f)}`]),ref_key:"splitRef",ref:_},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"yc-split-pane yc-split-pane-first",style:e.normalizeStyle({flex:`0 0 calc(${z.value} - ${e.unref(t.valueToPx)(q.value/2)}`})},[e.renderSlot(l.$slots,"first")],4),e.createElementVNode("div",{class:"yc-split-trigger",ref_key:"triggerRef",ref:x},[e.renderSlot(l.$slots,"resize-trigger",{},()=>[e.createElementVNode("div",o,[e.createElementVNode("div",s,[e.renderSlot(l.$slots,"resize-trigger-icon",{},()=>[e.createVNode(e.unref(r),{rotate:"horizontal"==e.unref(f)?90:0,size:12},null,8,["rotate"])])])])])],512),e.createElementVNode("div",u,[e.renderSlot(l.$slots,"second")])]),_:3},8,["class"]))}});module.exports=n;
|
@@ -11,13 +11,13 @@ declare const __VLS_component: import('vue').DefineComponent<CountdownProps, {},
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<CountdownProps> & Readonly<{
|
12
12
|
onFinish?: (() => any) | undefined;
|
13
13
|
}>, {
|
14
|
-
start: boolean;
|
15
|
-
now: number;
|
16
14
|
value: number;
|
15
|
+
start: boolean;
|
17
16
|
title: string;
|
18
17
|
easeing: string;
|
19
18
|
format: string;
|
20
19
|
valueStyle: import('vue').CSSProperties;
|
20
|
+
now: number;
|
21
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
23
23
|
export default _default;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js"),a=require("../_shared/utils/is.js"),u=require("../_shared/utils/time.js");require("../Empty/index.js")
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js"),a=require("../_shared/utils/is.js"),u=require("../_shared/utils/time.js");require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");const i=require("./Statistic.vue.js");;/* empty css */const l=e.defineComponent({name:"Countdown",__name:"Countdown",props:{title:{default:""},value:{default:void 0},now:{default:void 0},format:{default:"HH:mm:ss"},start:{type:Boolean,default:!0},easeing:{default:"quadOut"},valueStyle:{default:()=>({})}},emits:["finish"],setup(l,{emit:s}){const n=l,r=s,{value:o,now:v,format:d,start:f}=e.toRefs(n),m=e.ref(0),c=e.ref(0),p=e.ref(m.value),q=e.ref(!1),h=()=>{if(p.value-1e3<=0)return q.value=!1,r("finish");p.value-=1e3};return e.watch(()=>f.value,async e=>{q.value||(m.value=a.isUndefined(o.value)?Date.now()+3e5:o.value,c.value=a.isUndefined(v.value)?Date.now():v.value,p.value=m.value-c.value),e&&(await t.sleep(0),q.value=!0)},{immediate:!0}),(t,a)=>(e.openBlock(),e.createBlock(i,{title:t.title,value:p.value-1e3,"value-from":p.value,start:e.unref(f),animation:q.value,format:e.unref(d),"value-style":t.valueStyle,easeing:t.easeing,"animation-duration":1e3,"is-countdown":"",onFinish:h},{value:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(u.formatSeconds)(m.value-c.value,e.unref(d))),1)]),_:1},8,["title","value","value-from","start","animation","format","value-style","easeing"]))}});module.exports=l;
|
@@ -13,11 +13,11 @@ declare const __VLS_component: import('vue').DefineComponent<StatisticProps, {},
|
|
13
13
|
}, string, import('vue').PublicProps, Readonly<StatisticProps> & Readonly<{
|
14
14
|
onFinish?: (() => any) | undefined;
|
15
15
|
}>, {
|
16
|
-
start: boolean;
|
17
|
-
placeholder: string;
|
18
16
|
value: import('./type').StatisticValue;
|
17
|
+
start: boolean;
|
19
18
|
separator: string;
|
20
19
|
title: string;
|
20
|
+
placeholder: string;
|
21
21
|
animation: boolean;
|
22
22
|
animationDuration: number;
|
23
23
|
easeing: string;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const t=require("../_shared/utils/is.js"),a=require("../_shared/utils/time.js");require("../Empty/index.js")
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const t=require("../_shared/utils/is.js"),a=require("../_shared/utils/time.js");require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");const o=require("../node_modules/b-tween/dist/b-tween.es.js"),s={class:"yc-statistic yc-statistic-countdown"},l={key:0,class:"yc-statistic-title"},i={class:"yc-statistic-content"},r={key:0,class:"yc-statistic-prefix"},n={key:1,class:"yc-statistic-suffix"},u={key:0,class:"yc-statistic-extra"},c=e.defineComponent({name:"Statistic",__name:"Statistic",props:{title:{default:""},value:{default:0},format:{default:"HH:mm:ss"},extra:{default:""},start:{type:Boolean,default:!0},easeing:{default:"quadOut"},precision:{default:0},separator:{default:""},showGroupSeparator:{type:Boolean,default:!1},animation:{type:Boolean,default:!1},animationDuration:{default:2e3},valueFrom:{default:void 0},placeholder:{default:""},valueStyle:{default:()=>({})},isCountdown:{type:Boolean,default:!1}},emits:["finish"],setup(c,{emit:d}){const m=c,f=d,{value:v,precision:p,format:y,start:x,valueFrom:S,placeholder:k,animation:B,animationDuration:h,easeing:N,isCountdown:C,showGroupSeparator:q}=e.toRefs(m),V=e.ref(),_=e.computed(()=>t.isUndefined(v.value)?k.value:g(v.value));e.watch([x,B,S,v],()=>{if(!x.value||!B.value||t.isUndefined(S.value)||!t.isNumber(v.value)||S.value-v.value==0)return;new o({from:{textContent:S.value},to:{textContent:v.value},duration:h.value,easeing:N.value,onUpdate:e=>{V.value.textContent=g(e.textContent)},onFinish(){f("finish")}}).start()},{immediate:!0});function g(e){if(t.isNumber(e)&&!C.value){const t=e.toFixed(p.value);return q.value?(e=>{let t=e.toString().split(".");return t[0]=t[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),t.join(".")})(t):t}return C.value?a.formatSeconds(e,y.value):a.formatDate(e,y.value)}return(t,a)=>(e.openBlock(),e.createElementBlock("div",s,[t.$slots.title||t.title?(e.openBlock(),e.createElementBlock("div",l,[e.renderSlot(t.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",i,[e.createElementVNode("div",{class:"yc-statistic-value",style:e.normalizeStyle(t.valueStyle)},[t.$slots.prefix?(e.openBlock(),e.createElementBlock("span",r,[e.renderSlot(t.$slots,"prefix")])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:"yc-statistic-value-integer",ref_key:"valueRef",ref:V},[e.renderSlot(t.$slots,"value",{},()=>[e.createTextVNode(e.toDisplayString(_.value),1)])],512),t.$slots.suffix?(e.openBlock(),e.createElementBlock("span",n,[e.renderSlot(t.$slots,"suffix")])):e.createCommentVNode("",!0)],4),t.$slots.extra||t.extra?(e.openBlock(),e.createElementBlock("div",u,[e.renderSlot(t.$slots,"extra",{},()=>[e.createTextVNode(e.toDisplayString(t.extra),1)])])):e.createCommentVNode("",!0)])]))}});module.exports=c;
|
package/lib/Statistic/index.d.ts
CHANGED
@@ -10,11 +10,11 @@ declare const Statistic: {
|
|
10
10
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
11
11
|
finish: () => any;
|
12
12
|
}, import('vue').PublicProps, {
|
13
|
-
start: boolean;
|
14
|
-
placeholder: string;
|
15
13
|
value: import('./type').StatisticValue;
|
14
|
+
start: boolean;
|
16
15
|
separator: string;
|
17
16
|
title: string;
|
17
|
+
placeholder: string;
|
18
18
|
animation: boolean;
|
19
19
|
animationDuration: number;
|
20
20
|
easeing: string;
|
@@ -37,11 +37,11 @@ declare const Statistic: {
|
|
37
37
|
}, Readonly<import('./type').StatisticProps> & Readonly<{
|
38
38
|
onFinish?: (() => any) | undefined;
|
39
39
|
}>, {}, {}, {}, {}, {
|
40
|
-
start: boolean;
|
41
|
-
placeholder: string;
|
42
40
|
value: import('./type').StatisticValue;
|
41
|
+
start: boolean;
|
43
42
|
separator: string;
|
44
43
|
title: string;
|
44
|
+
placeholder: string;
|
45
45
|
animation: boolean;
|
46
46
|
animationDuration: number;
|
47
47
|
easeing: string;
|
@@ -61,11 +61,11 @@ declare const Statistic: {
|
|
61
61
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
62
62
|
finish: () => any;
|
63
63
|
}, string, {
|
64
|
-
start: boolean;
|
65
|
-
placeholder: string;
|
66
64
|
value: import('./type').StatisticValue;
|
65
|
+
start: boolean;
|
67
66
|
separator: string;
|
68
67
|
title: string;
|
68
|
+
placeholder: string;
|
69
69
|
animation: boolean;
|
70
70
|
animationDuration: number;
|
71
71
|
easeing: string;
|
@@ -85,13 +85,13 @@ declare const Statistic: {
|
|
85
85
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
86
86
|
finish: () => any;
|
87
87
|
}, import('vue').PublicProps, {
|
88
|
-
start: boolean;
|
89
|
-
now: number;
|
90
88
|
value: number;
|
89
|
+
start: boolean;
|
91
90
|
title: string;
|
92
91
|
easeing: string;
|
93
92
|
format: string;
|
94
93
|
valueStyle: import('vue').CSSProperties;
|
94
|
+
now: number;
|
95
95
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
96
96
|
P: {};
|
97
97
|
B: {};
|
@@ -102,13 +102,13 @@ declare const Statistic: {
|
|
102
102
|
}, Readonly<import('./type').CountdownProps> & Readonly<{
|
103
103
|
onFinish?: (() => any) | undefined;
|
104
104
|
}>, {}, {}, {}, {}, {
|
105
|
-
start: boolean;
|
106
|
-
now: number;
|
107
105
|
value: number;
|
106
|
+
start: boolean;
|
108
107
|
title: string;
|
109
108
|
easeing: string;
|
110
109
|
format: string;
|
111
110
|
valueStyle: import('vue').CSSProperties;
|
111
|
+
now: number;
|
112
112
|
}>;
|
113
113
|
__isFragment?: never;
|
114
114
|
__isTeleport?: never;
|
@@ -118,13 +118,13 @@ declare const Statistic: {
|
|
118
118
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
119
119
|
finish: () => any;
|
120
120
|
}, string, {
|
121
|
-
start: boolean;
|
122
|
-
now: number;
|
123
121
|
value: number;
|
122
|
+
start: boolean;
|
124
123
|
title: string;
|
125
124
|
easeing: string;
|
126
125
|
format: string;
|
127
126
|
valueStyle: import('vue').CSSProperties;
|
127
|
+
now: number;
|
128
128
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
129
129
|
$slots: Readonly<import('./type').CountdownSlots> & import('./type').CountdownSlots;
|
130
130
|
});
|
package/lib/Steps/Step.vue.d.ts
CHANGED
@@ -7,9 +7,9 @@ declare function __VLS_template(): {
|
|
7
7
|
};
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<StepProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StepProps> & Readonly<{}>, {
|
10
|
-
description: string;
|
11
10
|
disabled: boolean;
|
12
11
|
title: string;
|
12
|
+
description: string;
|
13
13
|
status: import('./type').StepStatus;
|
14
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
15
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
package/lib/Steps/Step.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const t=require("../_shared/icons/IconCheck.vue.js"),s=require("../_shared/icons/IconClose.vue.js"),
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js"),require("../_shared/utils/locale.js");/* empty css */const t=require("../_shared/icons/IconCheck.vue.js"),s=require("../_shared/icons/IconClose.vue.js"),r=require("./hooks/useContext.js"),n={key:0,class:"yc-steps-item-tail"},o={class:"yc-steps-item-node"},l={class:"yc-steps-icon"},i={class:"yc-steps-item-content"},c={class:"yc-steps-item-title"},a={key:0,class:"yc-steps-item-description"},u=e.defineComponent({name:"Step",__name:"Step",props:{title:{default:""},description:{default:""},status:{default:void 0},disabled:{type:Boolean,default:!1}},setup(u){const d=u,{disabled:m}=e.toRefs(d),{curStep:p,stepMap:f,computedCurrent:v,type:y,changeable:k,status:B,nextStatus:h,direction:C,labelPlacement:N,lineLess:S,small:V,emits:j}=r().inject(d),q=e.computed(()=>"dot"!=y.value&&V.value),g=e.computed(()=>S.value||p.value==f.size||["arrow","navigation"].includes(y.value)),E=e=>{k.value&&!m.value&&(v.value=p.value,j("change",p.value,e))};return(r,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-steps-item",`yc-steps-item-${e.unref(C)}`,`yc-steps-item-label-${e.unref(N)}`,`yc-steps-item-${e.unref(B)}`,`yc-steps-item-next-${e.unref(h)}`,{"yc-steps-item-active":e.unref(p)==e.unref(v)&&"navigation"==e.unref(y),"yc-steps-item-line-less":g.value,"yc-steps-item-size-small":q.value}]),onClick:E},["default"==e.unref(y)&&("vertical"==e.unref(C)||"vertical"==e.unref(N))||"dot"==e.unref(y)?(e.openBlock(),e.createElementBlock("div",n)):e.createCommentVNode("",!0),"arrow"!=e.unref(y)?e.renderSlot(r.$slots,"node",{key:1,step:e.unref(p),status:e.unref(B)},()=>[e.createElementVNode("div",o,[e.createElementVNode("div",l,[["default","navigation"].includes(e.unref(y))?e.renderSlot(r.$slots,"icon",{key:0,status:e.unref(B),step:e.unref(p)},()=>["finish"==e.unref(B)?(e.openBlock(),e.createBlock(e.unref(t),{key:0})):"error"==e.unref(B)?(e.openBlock(),e.createBlock(e.unref(s),{key:1})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(e.unref(p)),1)],64))]):e.createCommentVNode("",!0)])])]):e.createCommentVNode("",!0),e.createElementVNode("div",i,[e.createElementVNode("div",c,[e.renderSlot(r.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(r.title),1)])]),r.$slots.description||r.description?(e.openBlock(),e.createElementBlock("div",a,[e.renderSlot(r.$slots,"description",{},()=>[e.createTextVNode(e.toDisplayString(r.description),1)])])):e.createCommentVNode("",!0)])],2))}});module.exports=u;
|
package/lib/Steps/Steps.vue.d.ts
CHANGED
@@ -13,8 +13,8 @@ declare const __VLS_component: import('vue').DefineComponent<StepsProps, {}, {},
|
|
13
13
|
onChange?: ((step: number, ev: Event) => any) | undefined;
|
14
14
|
"onUpdate:current"?: ((step: number) => any) | undefined;
|
15
15
|
}>, {
|
16
|
-
type: import('./type').StepType;
|
17
16
|
small: boolean;
|
17
|
+
type: import('./type').StepType;
|
18
18
|
direction: import('..').Direction;
|
19
19
|
lineLess: boolean;
|
20
20
|
status: import('./type').StepStatus;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue"),t=require("../../node_modules/nanoid/index.browser.js");require("../../node_modules/tinycolor2/esm/tinycolor.js"),require("../../_shared/utils/dom.js");const r=require("../../_shared/utils/is.js");require("../../_shared/utils/time.js"),require("../../Empty/index.js")
|
1
|
+
"use strict";const e=require("vue"),t=require("../../node_modules/nanoid/index.browser.js");require("../../node_modules/tinycolor2/esm/tinycolor.js"),require("../../_shared/utils/dom.js");const r=require("../../_shared/utils/is.js");require("../../_shared/utils/time.js"),require("../../Empty/index.js"),/* empty css */require("../../_shared/utils/locale.js");const s=require("../../_shared/utils/control.js"),u="card-context";module.exports=()=>({provide:(t,r)=>{const{status:a,current:l,defaultCurrent:n,lineLess:o,labelPlacement:i,direction:c,small:d,type:v,changeable:p}=e.toRefs(t),m=s(l,n.value,e=>{r("update:current",e)}),f=e.computed(()=>["default","dot"].includes(v.value)?c.value:"horizontal"),h=e.computed(()=>"default"==v.value&&"horizontal"==f.value?i.value:"dot"==v.value?"vertical"==f.value?"horizontal":"vertical":"horizontal"),j=e.reactive(new Map),q=e.ref([]);return e.provide(u,{stepMap:j,computedCurrent:m,lineLess:o,direction:f,status:a,statusArr:q,small:d,type:v,changeable:p,labelPlacement:h,emits:r}),{direction:f,labelPlacement:h,type:v}},inject:s=>{const{status:a}=e.toRefs(s),l=e.inject(u,{stepMap:e.reactive(new Map),computedCurrent:e.ref(0),lineLess:e.ref(!1),direction:e.ref("horizontal"),status:e.ref("process"),statusArr:e.ref([]),small:e.ref(!1),type:e.ref("default"),changeable:e.ref(!1),labelPlacement:e.ref("horizontal"),emits:()=>{}}),{curStep:n,status:o,nextStatus:i}=(()=>{const{stepMap:s,computedCurrent:u,statusArr:n,status:o}=l,i=t.nanoid();s.set(i,i);const c=e.computed(()=>[...s.values()].findIndex(e=>e==i)+1),d=e.computed(()=>r.isUndefined(a.value)?c.value<u.value?"finish":c.value==u.value?o.value??"process":"wait":a.value),v=e.computed(()=>{var e;return null==(e=n.value[c.value])?void 0:e.value});return n.value[c.value-1]=d,e.onBeforeUnmount(()=>{s.delete(i),n.value.splice(c.value-1,1)}),{curStep:c,status:d,nextStatus:v}})();return{...l,curStep:n,status:o,nextStatus:i}}});
|
package/lib/Steps/index.d.ts
CHANGED
@@ -12,8 +12,8 @@ declare const Steps: {
|
|
12
12
|
change: (step: number, ev: Event) => any;
|
13
13
|
"update:current": (step: number) => any;
|
14
14
|
}, import('vue').PublicProps, {
|
15
|
-
type: import('./type').StepType;
|
16
15
|
small: boolean;
|
16
|
+
type: import('./type').StepType;
|
17
17
|
direction: import('..').Direction;
|
18
18
|
lineLess: boolean;
|
19
19
|
status: import('./type').StepStatus;
|
@@ -32,8 +32,8 @@ declare const Steps: {
|
|
32
32
|
onChange?: ((step: number, ev: Event) => any) | undefined;
|
33
33
|
"onUpdate:current"?: ((step: number) => any) | undefined;
|
34
34
|
}>, {}, {}, {}, {}, {
|
35
|
-
type: import('./type').StepType;
|
36
35
|
small: boolean;
|
36
|
+
type: import('./type').StepType;
|
37
37
|
direction: import('..').Direction;
|
38
38
|
lineLess: boolean;
|
39
39
|
status: import('./type').StepStatus;
|
@@ -52,8 +52,8 @@ declare const Steps: {
|
|
52
52
|
change: (step: number, ev: Event) => any;
|
53
53
|
"update:current": (step: number) => any;
|
54
54
|
}, string, {
|
55
|
-
type: import('./type').StepType;
|
56
55
|
small: boolean;
|
56
|
+
type: import('./type').StepType;
|
57
57
|
direction: import('..').Direction;
|
58
58
|
lineLess: boolean;
|
59
59
|
status: import('./type').StepStatus;
|
@@ -66,9 +66,9 @@ declare const Steps: {
|
|
66
66
|
}) & {
|
67
67
|
step: {
|
68
68
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').StepProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
69
|
-
description: string;
|
70
69
|
disabled: boolean;
|
71
70
|
title: string;
|
71
|
+
description: string;
|
72
72
|
status: import('./type').StepStatus;
|
73
73
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
74
74
|
P: {};
|
@@ -78,18 +78,18 @@ declare const Steps: {
|
|
78
78
|
M: {};
|
79
79
|
Defaults: {};
|
80
80
|
}, Readonly<import('./type').StepProps> & Readonly<{}>, {}, {}, {}, {}, {
|
81
|
-
description: string;
|
82
81
|
disabled: boolean;
|
83
82
|
title: string;
|
83
|
+
description: string;
|
84
84
|
status: import('./type').StepStatus;
|
85
85
|
}>;
|
86
86
|
__isFragment?: never;
|
87
87
|
__isTeleport?: never;
|
88
88
|
__isSuspense?: never;
|
89
89
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').StepProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
90
|
-
description: string;
|
91
90
|
disabled: boolean;
|
92
91
|
title: string;
|
92
|
+
description: string;
|
93
93
|
status: import('./type').StepStatus;
|
94
94
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
95
95
|
$slots: Readonly<import('./type').StepSlots> & import('./type').StepSlots;
|
package/lib/Switch/index.d.ts
CHANGED
@@ -14,10 +14,10 @@ declare const Switch: {
|
|
14
14
|
blur: (ev: FocusEvent) => any;
|
15
15
|
"update:modelValue": (value: import('./type').SwitchValue) => any;
|
16
16
|
}, import('vue').PublicProps, {
|
17
|
-
loading: boolean;
|
18
|
-
type: import('./type').SwitchType;
|
19
17
|
size: import('./type').SwitchSize;
|
20
18
|
disabled: boolean;
|
19
|
+
loading: boolean;
|
20
|
+
type: import('./type').SwitchType;
|
21
21
|
defaultChecked: import('./type').SwitchValue;
|
22
22
|
modelValue: import('./type').SwitchValue;
|
23
23
|
checkedValue: import('./type').SwitchValue;
|
@@ -40,10 +40,10 @@ declare const Switch: {
|
|
40
40
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
41
41
|
"onUpdate:modelValue"?: ((value: import('./type').SwitchValue) => any) | undefined;
|
42
42
|
}>, {}, {}, {}, {}, {
|
43
|
-
loading: boolean;
|
44
|
-
type: import('./type').SwitchType;
|
45
43
|
size: import('./type').SwitchSize;
|
46
44
|
disabled: boolean;
|
45
|
+
loading: boolean;
|
46
|
+
type: import('./type').SwitchType;
|
47
47
|
defaultChecked: import('./type').SwitchValue;
|
48
48
|
modelValue: import('./type').SwitchValue;
|
49
49
|
checkedValue: import('./type').SwitchValue;
|
@@ -68,10 +68,10 @@ declare const Switch: {
|
|
68
68
|
blur: (ev: FocusEvent) => any;
|
69
69
|
"update:modelValue": (value: import('./type').SwitchValue) => any;
|
70
70
|
}, string, {
|
71
|
-
loading: boolean;
|
72
|
-
type: import('./type').SwitchType;
|
73
71
|
size: import('./type').SwitchSize;
|
74
72
|
disabled: boolean;
|
73
|
+
loading: boolean;
|
74
|
+
type: import('./type').SwitchType;
|
75
75
|
defaultChecked: import('./type').SwitchValue;
|
76
76
|
modelValue: import('./type').SwitchValue;
|
77
77
|
checkedValue: import('./type').SwitchValue;
|