yc-design-vue 2.0.3 → 2.0.5
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/dist/index.umd.js +1 -0
- package/dist/lang-es/ar-eg.d.ts +206 -0
- package/dist/lang-es/ar-eg.js +154 -0
- package/dist/lang-es/de-de.d.ts +206 -0
- package/dist/lang-es/de-de.js +154 -0
- package/dist/lang-es/en-us.d.ts +254 -0
- package/dist/lang-es/en-us.js +158 -0
- package/dist/lang-es/es-es.d.ts +206 -0
- package/dist/lang-es/es-es.js +154 -0
- package/dist/lang-es/fr-fr.d.ts +206 -0
- package/dist/lang-es/fr-fr.js +154 -0
- package/dist/lang-es/id-id.d.ts +206 -0
- package/dist/lang-es/id-id.js +154 -0
- package/dist/lang-es/it-it.d.ts +206 -0
- package/dist/lang-es/it-it.js +154 -0
- package/dist/lang-es/ja-jp.d.ts +254 -0
- package/dist/lang-es/ja-jp.js +202 -0
- package/dist/lang-es/km-kh.d.ts +206 -0
- package/dist/lang-es/km-kh.js +154 -0
- package/dist/lang-es/ko-kr.d.ts +206 -0
- package/dist/lang-es/ko-kr.js +154 -0
- package/dist/lang-es/ms-my.d.ts +206 -0
- package/dist/lang-es/ms-my.js +154 -0
- package/dist/lang-es/nl-nl.d.ts +254 -0
- package/dist/lang-es/nl-nl.js +202 -0
- package/dist/lang-es/pt-pt.d.ts +206 -0
- package/dist/lang-es/pt-pt.js +154 -0
- package/dist/lang-es/ru-ru.d.ts +254 -0
- package/dist/lang-es/ru-ru.js +202 -0
- package/dist/lang-es/th-th.d.ts +206 -0
- package/dist/lang-es/th-th.js +154 -0
- package/dist/lang-es/vi-vn.d.ts +206 -0
- package/dist/lang-es/vi-vn.js +154 -0
- package/dist/lang-es/zh-cn.d.ts +254 -0
- package/dist/lang-es/zh-cn.js +202 -0
- package/dist/lang-es/zh-tw.d.ts +254 -0
- package/dist/lang-es/zh-tw.js +202 -0
- package/dist/lang-lib/ar-eg.d.ts +206 -0
- package/dist/lang-lib/ar-eg.js +1 -0
- package/dist/lang-lib/de-de.d.ts +206 -0
- package/dist/lang-lib/de-de.js +1 -0
- package/dist/lang-lib/en-us.d.ts +254 -0
- package/dist/lang-lib/en-us.js +1 -0
- package/dist/lang-lib/es-es.d.ts +206 -0
- package/dist/lang-lib/es-es.js +1 -0
- package/dist/lang-lib/fr-fr.d.ts +206 -0
- package/dist/lang-lib/fr-fr.js +1 -0
- package/dist/lang-lib/id-id.d.ts +206 -0
- package/dist/lang-lib/id-id.js +1 -0
- package/dist/lang-lib/it-it.d.ts +206 -0
- package/dist/lang-lib/it-it.js +1 -0
- package/dist/lang-lib/ja-jp.d.ts +254 -0
- package/dist/lang-lib/ja-jp.js +1 -0
- package/dist/lang-lib/km-kh.d.ts +206 -0
- package/dist/lang-lib/km-kh.js +1 -0
- package/dist/lang-lib/ko-kr.d.ts +206 -0
- package/dist/lang-lib/ko-kr.js +1 -0
- package/dist/lang-lib/ms-my.d.ts +206 -0
- package/dist/lang-lib/ms-my.js +1 -0
- package/dist/lang-lib/nl-nl.d.ts +254 -0
- package/dist/lang-lib/nl-nl.js +1 -0
- package/dist/lang-lib/pt-pt.d.ts +206 -0
- package/dist/lang-lib/pt-pt.js +1 -0
- package/dist/lang-lib/ru-ru.d.ts +254 -0
- package/dist/lang-lib/ru-ru.js +1 -0
- package/dist/lang-lib/th-th.d.ts +206 -0
- package/dist/lang-lib/th-th.js +1 -0
- package/dist/lang-lib/vi-vn.d.ts +206 -0
- package/dist/lang-lib/vi-vn.js +1 -0
- package/dist/lang-lib/zh-cn.d.ts +254 -0
- package/dist/lang-lib/zh-cn.js +1 -0
- package/dist/lang-lib/zh-tw.d.ts +254 -0
- package/dist/lang-lib/zh-tw.js +1 -0
- package/dist/style.css +1 -0
- package/es/Affix/index.vue.js +1 -4
- package/es/Alert/index.d.ts +4 -4
- package/es/Alert/index.vue.d.ts +3 -3
- package/es/Alert/index.vue.js +7 -9
- package/es/Anchor/Anchor.vue.js +2 -5
- package/es/Anchor/AnchorLink.vue.d.ts +2 -2
- package/es/Anchor/AnchorLink.vue.js +5 -7
- package/es/Anchor/hooks/useContext.d.ts +2 -2
- package/es/Anchor/hooks/useContext.js +4 -7
- package/es/Anchor/index.d.ts +1 -1
- package/es/AutoComplete/index.d.ts +88 -88
- package/es/AutoComplete/index.vue.d.ts +129 -129
- package/es/AutoComplete/index.vue.js +5 -8
- package/es/Avatar/Avatar.vue.d.ts +2 -2
- package/es/Avatar/Avatar.vue.js +8 -10
- package/es/Avatar/AvatarGroup.vue.d.ts +2 -2
- package/es/Avatar/AvatarGroup.vue.js +4 -7
- package/es/Avatar/hooks/useContext.d.ts +1 -2
- package/es/Avatar/hooks/useContext.js +3 -3
- package/es/Avatar/index.d.ts +2 -2
- package/es/BackTop/index.vue.js +3 -6
- package/es/Badge/index.d.ts +1 -1
- package/es/Badge/index.vue.d.ts +2 -2
- package/es/Badge/index.vue.js +3 -6
- package/es/Breadcrumb/Breadcrumb.vue.d.ts +2 -2
- package/es/Breadcrumb/Breadcrumb.vue.js +12 -18
- package/es/Breadcrumb/BreadcrumbItem.vue.d.ts +2 -2
- package/es/Breadcrumb/BreadcrumbItem.vue.js +5 -7
- package/es/Breadcrumb/BreadcrumbMore.vue.d.ts +2 -2
- package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -4
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +2 -5
- package/es/Breadcrumb/index.d.ts +2 -2
- package/es/Button/Button.vue.d.ts +3 -3
- package/es/Button/Button.vue.js +6 -6
- package/es/Button/ButtonGroup.vue.d.ts +1 -1
- package/es/Button/ButtonGroup.vue.js +2 -2
- package/es/Button/hooks/useContext.d.ts +1 -2
- package/es/Button/hooks/useContext.js +3 -7
- package/es/Button/index.d.ts +7 -7
- package/es/Calendar/Calendar.vue.d.ts +2 -2
- package/es/Calendar/Calendar.vue.js +8 -9
- package/es/Calendar/CalendarMonth.vue.d.ts +1 -1
- package/es/Calendar/CalendarMonth.vue.js +2 -4
- package/es/Calendar/CalendarYear.vue.d.ts +1 -1
- package/es/Calendar/CalendarYear.vue.js +1 -3
- package/es/Calendar/index.d.ts +1 -1
- package/es/Calendar/type.d.ts +2 -2
- package/es/Card/Card.vue.d.ts +2 -2
- package/es/Card/Card.vue.js +10 -13
- package/es/Card/CardMeta.vue.d.ts +2 -2
- package/es/Card/CardMeta.vue.js +9 -12
- package/es/Card/hooks/useContext.d.ts +3 -7
- package/es/Card/hooks/useContext.js +3 -6
- package/es/Card/index.d.ts +2 -2
- package/es/Carousel/Carousel.vue.js +2 -6
- package/es/Carousel/CarouselArrow.vue.js +3 -6
- package/es/Carousel/CarouselIndicator.vue.js +2 -5
- package/es/Carousel/CarouselItem.vue.js +2 -2
- package/es/Carousel/hooks/useContext.d.ts +2 -2
- package/es/Carousel/hooks/useContext.js +4 -7
- package/es/Cascader/Cascader.vue.d.ts +37 -39
- package/es/Cascader/Cascader.vue.js +2 -5
- package/es/Cascader/CascaderIcon.vue.js +5 -8
- package/es/Cascader/CascaderOption.vue.d.ts +1 -1
- package/es/Cascader/CascaderOption.vue.js +4 -7
- package/es/Cascader/CascaderPanel.vue.js +2 -2
- package/es/Cascader/CascaderSearchPanel.vue.js +2 -2
- package/es/Cascader/hooks/useContext.d.ts +2 -2
- package/es/Cascader/hooks/useContext.js +4 -8
- package/es/Cascader/index.d.ts +36 -38
- package/es/Checkbox/Checkbox.vue.d.ts +2 -2
- package/es/Checkbox/Checkbox.vue.js +9 -11
- package/es/Checkbox/CheckboxGroup.vue.d.ts +2 -2
- package/es/Checkbox/CheckboxGroup.vue.js +5 -4
- package/es/Checkbox/hooks/useContext.d.ts +2 -2
- package/es/Checkbox/hooks/useContext.js +4 -8
- package/es/Checkbox/index.d.ts +2 -2
- package/es/Collapse/Collapse.vue.js +2 -2
- package/es/Collapse/CollapseItem.vue.d.ts +1 -1
- package/es/Collapse/CollapseItem.vue.js +5 -8
- package/es/Collapse/hooks/useContext.d.ts +1 -2
- package/es/Collapse/hooks/useContext.js +4 -8
- package/es/Collapse/index.d.ts +3 -3
- package/es/ColorPicker/ColorControl.vue.js +1 -3
- package/es/ColorPicker/ColorInput.vue.js +4 -7
- package/es/ColorPicker/ColorList.vue.js +0 -3
- package/es/ColorPicker/ColorPalette.vue.js +1 -3
- package/es/ColorPicker/ColorPanel.vue.js +2 -5
- package/es/ColorPicker/ColorPicker.vue.js +2 -2
- package/es/ColorPicker/hooks/useContext.d.ts +2 -2
- package/es/ColorPicker/hooks/useContext.js +4 -7
- package/es/Comment/hooks/useContext.d.ts +1 -2
- package/es/Comment/hooks/useContext.js +3 -3
- package/es/Comment/index.d.ts +1 -1
- package/es/Comment/index.vue.d.ts +2 -2
- package/es/Comment/index.vue.js +10 -13
- package/es/ConfigProvider/index.d.ts +3 -3
- package/es/ConfigProvider/index.vue.d.ts +1 -1
- package/es/ConfigProvider/index.vue.js +1 -6
- package/es/Descriptions/Descriptions.vue.d.ts +4 -4
- package/es/Descriptions/Descriptions.vue.js +5 -4
- package/es/Descriptions/DescriptionsItem.vue.d.ts +1 -1
- package/es/Descriptions/ReuseItem.vue.js +2 -6
- package/es/Descriptions/ReuseTd.vue.js +2 -6
- package/es/Descriptions/hooks/useContext.d.ts +2 -2
- package/es/Descriptions/hooks/useContext.js +4 -7
- package/es/Descriptions/index.d.ts +10 -10
- package/es/Divider/index.d.ts +1 -1
- package/es/Divider/index.vue.d.ts +2 -2
- package/es/Divider/index.vue.js +3 -5
- package/es/Drawer/Drawer.vue.d.ts +4 -4
- package/es/Drawer/Drawer.vue.js +3 -5
- package/es/Drawer/DrawerService.vue.d.ts +4 -4
- package/es/Drawer/DrawerService.vue.js +0 -4
- package/es/Drawer/index.d.ts +20 -15
- package/es/Drawer/index.js +3 -6
- package/es/Dropdown/Doption.vue.d.ts +2 -2
- package/es/Dropdown/Doption.vue.js +7 -6
- package/es/Dropdown/Dropdown.vue.d.ts +5 -5
- package/es/Dropdown/Dropdown.vue.js +6 -8
- package/es/Dropdown/DropdownButton.vue.d.ts +4 -4
- package/es/Dropdown/DropdownButton.vue.js +1 -4
- package/es/Dropdown/Dsubmenu.vue.d.ts +22 -22
- package/es/Dropdown/Dsubmenu.vue.js +7 -9
- package/es/Dropdown/hooks/useContext.d.ts +2 -2
- package/es/Dropdown/hooks/useContext.js +4 -8
- package/es/Dropdown/index.d.ts +32 -32
- package/es/Empty/index.vue.js +2 -4
- package/es/Grid/Grid.vue.js +2 -5
- package/es/Grid/GridCol.vue.js +2 -5
- package/es/Grid/GridItem.vue.js +2 -5
- package/es/Grid/GridRow.vue.d.ts +1 -1
- package/es/Grid/GridRow.vue.js +2 -5
- package/es/Grid/hooks/useContext.d.ts +1 -2
- package/es/Grid/hooks/useContext.js +5 -8
- package/es/Grid/index.d.ts +3 -3
- package/es/Image/Image.vue.d.ts +2 -2
- package/es/Image/Image.vue.js +10 -11
- package/es/Image/ImagePreview.vue.d.ts +2 -2
- package/es/Image/ImagePreview.vue.js +6 -8
- package/es/Image/ImagePreviewAction.vue.d.ts +1 -1
- package/es/Image/ImagePreviewArrow.vue.js +1 -4
- package/es/Image/ImagePreviewGroup.vue.d.ts +2 -2
- package/es/Image/ImagePreviewGroup.vue.js +6 -5
- package/es/Image/ImagePreviewToolbar.vue.js +2 -4
- package/es/Image/hooks/useContext.d.ts +2 -2
- package/es/Image/hooks/useContext.js +4 -8
- package/es/Image/index.d.ts +6 -6
- package/es/Input/Input.vue.d.ts +7 -7
- package/es/Input/Input.vue.js +15 -17
- package/es/Input/InputSuffix.vue.js +2 -5
- package/es/Input/hooks/useLimitedInput.js +1 -5
- package/es/Input/index.d.ts +14 -14
- package/es/InputNumber/InputNumber.vue.d.ts +36 -36
- package/es/InputNumber/InputNumber.vue.js +12 -14
- package/es/InputNumber/InputOperaBtn.vue.js +1 -4
- package/es/InputNumber/index.d.ts +31 -31
- package/es/InputTag/index.d.ts +19 -19
- package/es/InputTag/index.vue.d.ts +9 -9
- package/es/InputTag/index.vue.js +9 -11
- package/es/Layout/Layout.vue.d.ts +2 -2
- package/es/Layout/Layout.vue.js +2 -6
- package/es/Layout/LayoutSider.vue.js +3 -6
- package/es/Layout/hooks/useSiderContext.d.ts +2 -3
- package/es/Layout/hooks/useSiderContext.js +4 -8
- package/es/Layout/index.d.ts +1 -1
- package/es/Link/index.d.ts +1 -1
- package/es/Link/index.vue.d.ts +2 -2
- package/es/Link/index.vue.js +4 -6
- package/es/List/List.vue.d.ts +13 -13
- package/es/List/List.vue.js +8 -11
- package/es/List/ListItem.vue.d.ts +2 -2
- package/es/List/ListItem.vue.js +6 -5
- package/es/List/ListItemMeta.vue.d.ts +2 -2
- package/es/List/ListItemMeta.vue.js +5 -4
- package/es/List/hooks/useScrollReach.js +1 -4
- package/es/List/index.d.ts +11 -11
- package/es/Mention/index.d.ts +103 -103
- package/es/Mention/index.vue.d.ts +177 -177
- package/es/Mention/index.vue.js +4 -7
- package/es/Menu/Menu.vue.js +1 -4
- package/es/Menu/MenuEllipsis.vue.js +1 -4
- package/es/Menu/MenuItem.vue.d.ts +2 -2
- package/es/Menu/MenuItem.vue.js +7 -9
- package/es/Menu/MenuItemGroup.vue.js +0 -3
- package/es/Menu/SubMenu.vue.d.ts +2 -2
- package/es/Menu/SubMenu.vue.js +4 -6
- package/es/Menu/hooks/useContext.d.ts +2 -2
- package/es/Menu/hooks/useContext.js +10 -13
- package/es/Menu/index.d.ts +2 -2
- package/es/Message/Message.vue.d.ts +3 -3
- package/es/Message/Message.vue.js +3 -6
- package/es/Message/index.d.ts +12 -12
- package/es/Message/index.js +1 -8
- package/es/Modal/Modal.vue.d.ts +3 -3
- package/es/Modal/Modal.vue.js +3 -5
- package/es/Modal/ModalService.vue.d.ts +3 -3
- package/es/Modal/ModalService.vue.js +0 -4
- package/es/Modal/hooks/useModalClose.js +1 -5
- package/es/Modal/hooks/useModalDraggable.js +0 -3
- package/es/Modal/hooks/useOnBeforeClose.js +0 -5
- package/es/Modal/index.d.ts +13 -11
- package/es/Modal/index.js +1 -1
- package/es/Notification/Notification.vue.d.ts +5 -5
- package/es/Notification/Notification.vue.js +3 -6
- package/es/Notification/index.d.ts +19 -18
- package/es/Notification/index.js +1 -8
- package/es/Notification/type.d.ts +1 -1
- package/es/OverflowList/index.d.ts +1 -1
- package/es/OverflowList/index.vue.d.ts +2 -2
- package/es/OverflowList/index.vue.js +4 -7
- package/es/PageHeader/index.d.ts +1 -1
- package/es/PageHeader/index.vue.d.ts +2 -2
- package/es/PageHeader/index.vue.js +10 -12
- package/es/Pagination/Pagination.vue.d.ts +2 -2
- package/es/Pagination/Pagination.vue.js +8 -9
- package/es/Pagination/PaginationItem.vue.js +3 -6
- package/es/Pagination/hooks/useContext.d.ts +2 -2
- package/es/Pagination/hooks/useContext.js +4 -7
- package/es/Pagination/index.d.ts +1 -1
- package/es/Popconfirm/index.d.ts +19 -19
- package/es/Popconfirm/index.vue.d.ts +20 -20
- package/es/Popconfirm/index.vue.js +1 -4
- package/es/Popover/index.d.ts +7 -7
- package/es/Popover/index.vue.d.ts +4 -4
- package/es/Popover/index.vue.js +4 -7
- package/es/Progress/Progress.vue.js +0 -4
- package/es/Progress/ProgressCircle.vue.js +2 -5
- package/es/Progress/ProgressLine.vue.js +0 -3
- package/es/Progress/ProgressSteps.vue.js +0 -3
- package/es/Radio/Radio.vue.d.ts +3 -3
- package/es/Radio/Radio.vue.js +11 -14
- package/es/Radio/RadioGroup.vue.d.ts +3 -3
- package/es/Radio/RadioGroup.vue.js +5 -4
- package/es/Radio/hooks/useContext.d.ts +2 -2
- package/es/Radio/hooks/useContext.js +5 -9
- package/es/Radio/index.d.ts +8 -8
- package/es/Rate/index.vue.js +3 -6
- package/es/ResizeBox/index.vue.js +3 -7
- package/es/Result/index.d.ts +1 -1
- package/es/Result/index.vue.d.ts +2 -2
- package/es/Result/index.vue.js +7 -6
- package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/es/Scrollbar/Scrollbar.vue.js +2 -5
- package/es/Scrollbar/ScrollbarTrack.vue.js +2 -5
- package/es/Scrollbar/hooks/useContext.d.ts +2 -2
- package/es/Scrollbar/hooks/useContext.js +3 -3
- package/es/Scrollbar/index.d.ts +3 -3
- package/es/Select/Option.vue.d.ts +3 -3
- package/es/Select/Option.vue.js +7 -9
- package/es/Select/Select.vue.d.ts +64 -64
- package/es/Select/Select.vue.js +6 -8
- package/es/Select/SelectIcon.vue.js +5 -8
- package/es/Select/SelectRealList.vue.js +2 -6
- package/es/Select/SelectView.vue.js +3 -3
- package/es/Select/SelectVirtualList.vue.js +3 -7
- package/es/Select/hooks/useContext.d.ts +2 -2
- package/es/Select/hooks/useContext.js +4 -8
- package/es/Select/hooks/useSelectOptions.js +0 -4
- package/es/Select/index.d.ts +57 -57
- package/es/Skeleton/SkeletonLine.vue.js +0 -3
- package/es/Skeleton/SkeletonShape.vue.js +1 -5
- package/es/Slider/Slider.vue.js +2 -2
- package/es/Slider/SliderBtn.vue.js +3 -7
- package/es/Slider/SliderInput.vue.js +2 -2
- package/es/Slider/SliderTicks.vue.js +2 -2
- package/es/Slider/hooks/useContext.d.ts +2 -2
- package/es/Slider/hooks/useContext.js +4 -8
- package/es/Slider/hooks/useSliderDraggable.js +0 -3
- package/es/Space/index.d.ts +1 -1
- package/es/Space/index.vue.d.ts +2 -2
- package/es/Space/index.vue.js +5 -8
- package/es/Spin/index.d.ts +1 -1
- package/es/Spin/index.vue.d.ts +2 -2
- package/es/Spin/index.vue.js +5 -7
- package/es/Split/index.vue.js +4 -7
- package/es/Statistic/Countdown.vue.d.ts +1 -1
- package/es/Statistic/Countdown.vue.js +1 -3
- package/es/Statistic/Statistic.vue.d.ts +3 -3
- package/es/Statistic/Statistic.vue.js +6 -8
- package/es/Statistic/index.d.ts +7 -7
- package/es/Steps/Step.vue.d.ts +3 -3
- package/es/Steps/Step.vue.js +6 -8
- package/es/Steps/Steps.vue.js +2 -2
- package/es/Steps/hooks/useContext.d.ts +1 -2
- package/es/Steps/hooks/useContext.js +4 -8
- package/es/Steps/index.d.ts +4 -4
- package/es/Switch/index.d.ts +9 -9
- package/es/Switch/index.vue.d.ts +5 -5
- package/es/Switch/index.vue.js +4 -8
- package/es/Tabs/TabButton.vue.js +2 -5
- package/es/Tabs/TabPane.vue.d.ts +1 -1
- package/es/Tabs/TabPane.vue.js +2 -6
- package/es/Tabs/Tabs.vue.d.ts +3 -3
- package/es/Tabs/Tabs.vue.js +6 -9
- package/es/Tabs/TabsNavInk.vue.js +3 -6
- package/es/Tabs/TabsTab.vue.js +2 -6
- package/es/Tabs/hooks/useContext.d.ts +2 -2
- package/es/Tabs/hooks/useContext.js +4 -8
- package/es/Tabs/hooks/useTabsScroll.js +0 -3
- package/es/Tabs/index.d.ts +4 -4
- package/es/Tag/index.d.ts +1 -1
- package/es/Tag/index.vue.d.ts +2 -2
- package/es/Tag/index.vue.js +8 -10
- package/es/Textarea/hooks/useTextareaHeight.js +1 -4
- package/es/Textarea/index.d.ts +13 -13
- package/es/Textarea/index.vue.d.ts +5 -5
- package/es/Textarea/index.vue.js +2 -5
- package/es/TimePicker/TimePicker.vue.d.ts +11 -11
- package/es/TimePicker/TimePicker.vue.js +11 -12
- package/es/TimePicker/TimePickerPanel.vue.js +3 -5
- package/es/TimePicker/hooks/useContext.d.ts +2 -2
- package/es/TimePicker/hooks/useContext.js +4 -7
- package/es/TimePicker/index.d.ts +21 -21
- package/es/Timeline/Timeline.vue.js +2 -2
- package/es/Timeline/TimelineItem.vue.d.ts +3 -3
- package/es/Timeline/TimelineItem.vue.js +5 -4
- package/es/Timeline/TimelineItemPending.vue.js +0 -4
- package/es/Timeline/hooks/useContext.d.ts +2 -2
- package/es/Timeline/hooks/useContext.js +3 -7
- package/es/Timeline/index.d.ts +4 -4
- package/es/Tooltip/index.d.ts +3 -3
- package/es/Tooltip/index.vue.d.ts +1 -1
- package/es/Tooltip/index.vue.js +1 -5
- package/es/Transfer/Transfer.vue.d.ts +3 -3
- package/es/Transfer/Transfer.vue.js +3 -6
- package/es/Transfer/TransferPanel.vue.js +4 -7
- package/es/Transfer/hooks/useContext.d.ts +2 -2
- package/es/Transfer/hooks/useContext.js +4 -8
- package/es/Transfer/index.d.ts +8 -8
- package/es/Trigger/hooks/useContext.d.ts +2 -3
- package/es/Trigger/hooks/useContext.js +4 -7
- package/es/Trigger/hooks/useTriggerPosition.js +1 -4
- package/es/Trigger/hooks/useTriggerVisible.js +3 -6
- package/es/Trigger/index.d.ts +8 -8
- package/es/Trigger/index.vue.d.ts +6 -6
- package/es/Trigger/index.vue.js +4 -7
- package/es/Typography/TypographyBase.vue.d.ts +30 -30
- package/es/Typography/TypographyBase.vue.js +3 -5
- package/es/Typography/TypographyParagraph.vue.d.ts +2 -2
- package/es/Typography/TypographyParagraph.vue.js +4 -3
- package/es/Typography/TypographyText.vue.d.ts +1 -2
- package/es/Typography/TypographyText.vue.js +4 -3
- package/es/Typography/TypographyTitle.vue.d.ts +2 -2
- package/es/Typography/TypographyTitle.vue.js +4 -3
- package/es/VerificationCode/index.d.ts +6 -6
- package/es/VerificationCode/index.vue.d.ts +2 -2
- package/es/VerificationCode/index.vue.js +2 -5
- package/es/Watermark/index.d.ts +3 -3
- package/es/Watermark/index.vue.d.ts +1 -1
- package/es/Watermark/index.vue.js +1 -5
- package/es/_shared/components/ExpandTransition/index.vue2.js +0 -3
- package/es/_shared/components/Icon/index.vue3.js +0 -3
- package/es/_shared/components/IconButton/{index.vue2.js → index.vue.js} +1 -4
- package/es/_shared/components/IconButton/index.vue3.js +2 -2
- package/es/_shared/constants/index.js +1 -4
- package/es/_shared/icons/IconArrowDown.vue.js +4 -8
- package/es/_shared/icons/IconArrowRight.vue.js +4 -8
- package/es/_shared/icons/IconCheck.vue.js +4 -8
- package/es/_shared/icons/IconCheckboxChecked.vue.js +4 -8
- package/es/_shared/icons/IconClose.vue.js +4 -8
- package/es/_shared/icons/IconCopy.vue.js +4 -8
- package/es/_shared/icons/IconDelete.vue2.js +4 -8
- package/es/_shared/icons/IconDragDot.vue.js +4 -8
- package/es/_shared/icons/IconEdit.vue.js +4 -8
- package/es/_shared/icons/IconEmpty.vue.js +4 -8
- package/es/_shared/icons/IconError.vue.js +4 -8
- package/es/_shared/icons/IconExclamation.vue2.js +4 -8
- package/es/_shared/icons/IconEyeClose.vue2.js +4 -8
- package/es/_shared/icons/IconEyeOpen.vue2.js +4 -8
- package/es/_shared/icons/IconFaceSmile.vue.js +4 -8
- package/es/_shared/icons/IconFullScreen.vue2.js +4 -8
- package/es/_shared/icons/IconImageClose.vue.js +4 -8
- package/es/_shared/icons/IconInfo.vue.js +4 -8
- package/es/_shared/icons/IconInfoLine.vue.js +4 -8
- package/es/_shared/icons/IconLink.vue.js +4 -8
- package/es/_shared/icons/IconLoading.vue.js +4 -8
- package/es/_shared/icons/IconMenuFold.vue.js +4 -8
- package/es/_shared/icons/IconMenuUnfold.vue.js +4 -8
- package/es/_shared/icons/IconMinus.vue2.js +4 -8
- package/es/_shared/icons/IconMore.vue.js +4 -8
- package/es/_shared/icons/IconOriginSize.vue2.js +4 -8
- package/es/_shared/icons/IconPlus.vue.js +4 -8
- package/es/_shared/icons/IconRight.vue.js +4 -8
- package/es/_shared/icons/IconRotateLeft.vue2.js +4 -8
- package/es/_shared/icons/IconRotateRight.vue2.js +4 -8
- package/es/_shared/icons/IconSearch.vue2.js +4 -8
- package/es/_shared/icons/IconSeparator.vue2.js +4 -8
- package/es/_shared/icons/IconStar.vue.js +4 -8
- package/es/_shared/icons/IconSuccess.vue.js +4 -8
- package/es/_shared/icons/IconTime.vue.js +4 -8
- package/es/_shared/icons/IconToTop.vue.js +4 -8
- package/es/_shared/icons/IconWarning.vue.js +4 -8
- package/es/_shared/icons/IconZoomIn.vue2.js +4 -8
- package/es/_shared/icons/IconZoomOut.vue2.js +4 -8
- package/es/_shared/utils/control.d.ts +2 -2
- package/es/_shared/utils/control.js +1 -5
- package/es/_shared/utils/global-config.js +0 -4
- package/es/_shared/utils/is.d.ts +0 -15
- package/es/_shared/utils/vue-utils.d.ts +2 -1
- package/es/_shared/utils/vue-utils.js +1 -1
- package/es/index.d.ts +74 -74
- package/lib/Affix/index.js +1 -1
- package/lib/Affix/index.vue.js +1 -1
- package/lib/Affix/index.vue2.js +1 -1
- package/lib/Alert/index.d.ts +4 -4
- package/lib/Alert/index.js +1 -1
- package/lib/Alert/index.vue.d.ts +3 -3
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Alert/index.vue3.js +1 -1
- package/lib/Anchor/Anchor.vue.js +1 -1
- package/lib/Anchor/Anchor.vue3.js +1 -1
- package/lib/Anchor/AnchorLink.vue.d.ts +2 -2
- package/lib/Anchor/AnchorLink.vue.js +1 -1
- package/lib/Anchor/AnchorLink.vue3.js +1 -1
- package/lib/Anchor/hooks/useContext.d.ts +2 -2
- package/lib/Anchor/hooks/useContext.js +1 -1
- package/lib/Anchor/index.d.ts +1 -1
- package/lib/Anchor/index.js +1 -1
- package/lib/AutoComplete/index.d.ts +88 -88
- package/lib/AutoComplete/index.js +1 -1
- package/lib/AutoComplete/index.vue.d.ts +129 -129
- package/lib/AutoComplete/index.vue.js +1 -1
- package/lib/AutoComplete/index.vue3.js +1 -1
- package/lib/Avatar/Avatar.vue.d.ts +2 -2
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/Avatar.vue3.js +1 -1
- package/lib/Avatar/AvatarGroup.vue.d.ts +2 -2
- package/lib/Avatar/AvatarGroup.vue.js +1 -1
- package/lib/Avatar/AvatarGroup.vue3.js +1 -1
- package/lib/Avatar/hooks/useContext.d.ts +1 -2
- package/lib/Avatar/hooks/useContext.js +1 -1
- package/lib/Avatar/index.d.ts +2 -2
- package/lib/Avatar/index.js +1 -1
- package/lib/BackTop/index.js +1 -1
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/BackTop/index.vue3.js +1 -1
- package/lib/Badge/index.d.ts +1 -1
- package/lib/Badge/index.js +1 -1
- package/lib/Badge/index.vue.d.ts +2 -2
- package/lib/Badge/index.vue.js +1 -1
- package/lib/Badge/index.vue3.js +1 -1
- package/lib/Breadcrumb/Breadcrumb.vue.d.ts +2 -2
- package/lib/Breadcrumb/Breadcrumb.vue.js +1 -1
- package/lib/Breadcrumb/Breadcrumb.vue3.js +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue.d.ts +2 -2
- package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue3.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue.d.ts +2 -2
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue2.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue3.js +1 -1
- package/lib/Breadcrumb/index.d.ts +2 -2
- package/lib/Breadcrumb/index.js +1 -1
- package/lib/Button/Button.vue.d.ts +3 -3
- package/lib/Button/Button.vue.js +1 -1
- package/lib/Button/Button.vue3.js +1 -1
- package/lib/Button/ButtonGroup.vue.d.ts +1 -1
- package/lib/Button/ButtonGroup.vue.js +1 -1
- package/lib/Button/ButtonGroup.vue3.js +1 -1
- package/lib/Button/hooks/useContext.d.ts +1 -2
- package/lib/Button/hooks/useContext.js +1 -1
- package/lib/Button/index.d.ts +7 -7
- package/lib/Button/index.js +1 -1
- package/lib/Calendar/Calendar.vue.d.ts +2 -2
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Calendar/Calendar.vue3.js +1 -1
- package/lib/Calendar/CalendarMonth.vue.d.ts +1 -1
- package/lib/Calendar/CalendarMonth.vue.js +1 -1
- package/lib/Calendar/CalendarMonth.vue3.js +1 -1
- package/lib/Calendar/CalendarYear.vue.d.ts +1 -1
- package/lib/Calendar/CalendarYear.vue.js +1 -1
- package/lib/Calendar/CalendarYear.vue3.js +1 -1
- package/lib/Calendar/index.d.ts +1 -1
- package/lib/Calendar/index.js +1 -1
- package/lib/Calendar/type.d.ts +2 -2
- package/lib/Card/Card.vue.d.ts +2 -2
- package/lib/Card/Card.vue.js +1 -1
- package/lib/Card/Card.vue3.js +1 -1
- package/lib/Card/CardGrid.vue.js +1 -1
- package/lib/Card/CardGrid.vue3.js +1 -1
- package/lib/Card/CardMeta.vue.d.ts +2 -2
- package/lib/Card/CardMeta.vue.js +1 -1
- package/lib/Card/CardMeta.vue3.js +1 -1
- package/lib/Card/hooks/useContext.d.ts +3 -7
- package/lib/Card/hooks/useContext.js +1 -1
- package/lib/Card/index.d.ts +2 -2
- package/lib/Card/index.js +1 -1
- package/lib/Carousel/Carousel.vue.js +1 -1
- package/lib/Carousel/Carousel.vue3.js +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Carousel/CarouselArrow.vue3.js +1 -1
- package/lib/Carousel/CarouselIndicator.vue.js +1 -1
- package/lib/Carousel/CarouselIndicator.vue3.js +1 -1
- package/lib/Carousel/CarouselItem.vue.js +1 -1
- package/lib/Carousel/CarouselItem.vue3.js +1 -1
- package/lib/Carousel/hooks/useContext.d.ts +2 -2
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Carousel/index.js +1 -1
- package/lib/Cascader/Cascader.vue.d.ts +37 -39
- package/lib/Cascader/Cascader.vue.js +1 -1
- package/lib/Cascader/Cascader.vue3.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue3.js +1 -1
- package/lib/Cascader/CascaderOption.vue.d.ts +1 -1
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue3.js +1 -1
- package/lib/Cascader/CascaderPanel.vue.js +1 -1
- package/lib/Cascader/CascaderPanel.vue3.js +1 -1
- package/lib/Cascader/CascaderSearchPanel.vue.js +1 -1
- package/lib/Cascader/CascaderSearchPanel.vue3.js +1 -1
- package/lib/Cascader/hooks/useContext.d.ts +2 -2
- package/lib/Cascader/hooks/useContext.js +1 -1
- package/lib/Cascader/index.d.ts +36 -38
- package/lib/Cascader/index.js +1 -1
- package/lib/Checkbox/Checkbox.vue.d.ts +2 -2
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/Checkbox.vue3.js +1 -1
- package/lib/Checkbox/CheckboxGroup.vue.d.ts +2 -2
- package/lib/Checkbox/CheckboxGroup.vue.js +1 -1
- package/lib/Checkbox/CheckboxGroup.vue3.js +1 -1
- package/lib/Checkbox/hooks/useContext.d.ts +2 -2
- package/lib/Checkbox/hooks/useContext.js +1 -1
- package/lib/Checkbox/index.d.ts +2 -2
- package/lib/Checkbox/index.js +1 -1
- package/lib/Collapse/Collapse.vue.js +1 -1
- package/lib/Collapse/Collapse.vue3.js +1 -1
- package/lib/Collapse/CollapseItem.vue.d.ts +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Collapse/CollapseItem.vue3.js +1 -1
- package/lib/Collapse/hooks/useContext.d.ts +1 -2
- package/lib/Collapse/hooks/useContext.js +1 -1
- package/lib/Collapse/index.d.ts +3 -3
- package/lib/Collapse/index.js +1 -1
- package/lib/ColorPicker/ColorControl.vue.js +1 -1
- package/lib/ColorPicker/ColorControl.vue3.js +1 -1
- package/lib/ColorPicker/ColorInput.vue.js +1 -1
- package/lib/ColorPicker/ColorInput.vue3.js +1 -1
- package/lib/ColorPicker/ColorList.vue.js +1 -1
- package/lib/ColorPicker/ColorList.vue3.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue3.js +1 -1
- package/lib/ColorPicker/ColorPanel.vue.js +1 -1
- package/lib/ColorPicker/ColorPanel.vue3.js +1 -1
- package/lib/ColorPicker/ColorPicker.vue.js +1 -1
- package/lib/ColorPicker/ColorPicker.vue3.js +1 -1
- package/lib/ColorPicker/hooks/useContext.d.ts +2 -2
- package/lib/ColorPicker/hooks/useContext.js +1 -1
- package/lib/ColorPicker/index.js +1 -1
- package/lib/Comment/hooks/useContext.d.ts +1 -2
- package/lib/Comment/hooks/useContext.js +1 -1
- package/lib/Comment/index.d.ts +1 -1
- package/lib/Comment/index.js +1 -1
- package/lib/Comment/index.vue.d.ts +2 -2
- package/lib/Comment/index.vue.js +1 -1
- package/lib/Comment/index.vue3.js +1 -1
- package/lib/ConfigProvider/index.d.ts +3 -3
- package/lib/ConfigProvider/index.js +1 -1
- package/lib/ConfigProvider/index.vue.d.ts +1 -1
- package/lib/ConfigProvider/index.vue.js +1 -1
- package/lib/ConfigProvider/index.vue2.js +1 -1
- package/lib/Descriptions/Descriptions.vue.d.ts +4 -4
- package/lib/Descriptions/Descriptions.vue.js +1 -1
- package/lib/Descriptions/Descriptions.vue3.js +1 -1
- package/lib/Descriptions/DescriptionsItem.vue.d.ts +1 -1
- package/lib/Descriptions/DescriptionsItem.vue.js +1 -1
- package/lib/Descriptions/DescriptionsItem.vue2.js +1 -1
- package/lib/Descriptions/ReuseItem.vue.js +1 -1
- package/lib/Descriptions/ReuseItem.vue3.js +1 -1
- package/lib/Descriptions/ReuseTd.vue.js +1 -1
- package/lib/Descriptions/ReuseTd.vue3.js +1 -1
- package/lib/Descriptions/hooks/useContext.d.ts +2 -2
- package/lib/Descriptions/hooks/useContext.js +1 -1
- package/lib/Descriptions/index.d.ts +10 -10
- package/lib/Descriptions/index.js +1 -1
- package/lib/Divider/index.d.ts +1 -1
- package/lib/Divider/index.js +1 -1
- package/lib/Divider/index.vue.d.ts +2 -2
- package/lib/Divider/index.vue.js +1 -1
- package/lib/Divider/index.vue3.js +1 -1
- package/lib/Drawer/Drawer.vue.d.ts +4 -4
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/Drawer.vue3.js +1 -1
- package/lib/Drawer/DrawerService.vue.d.ts +4 -4
- package/lib/Drawer/DrawerService.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue2.js +1 -1
- package/lib/Drawer/index.d.ts +20 -15
- package/lib/Drawer/index.js +1 -1
- package/lib/Dropdown/Dgroup.vue.js +1 -1
- package/lib/Dropdown/Dgroup.vue3.js +1 -1
- package/lib/Dropdown/Doption.vue.d.ts +2 -2
- package/lib/Dropdown/Doption.vue.js +1 -1
- package/lib/Dropdown/Doption.vue3.js +1 -1
- package/lib/Dropdown/Dropdown.vue.d.ts +5 -5
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/Dropdown.vue3.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.d.ts +4 -4
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue2.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.d.ts +22 -22
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue3.js +1 -1
- package/lib/Dropdown/hooks/useContext.d.ts +2 -2
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Dropdown/index.d.ts +32 -32
- package/lib/Dropdown/index.js +1 -1
- package/lib/Empty/index.js +1 -1
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Empty/index.vue3.js +1 -1
- package/lib/Grid/Grid.vue.js +1 -1
- package/lib/Grid/Grid.vue3.js +1 -1
- package/lib/Grid/GridCol.vue.js +1 -1
- package/lib/Grid/GridCol.vue2.js +1 -1
- package/lib/Grid/GridItem.vue.js +1 -1
- package/lib/Grid/GridItem.vue2.js +1 -1
- package/lib/Grid/GridRow.vue.d.ts +1 -1
- package/lib/Grid/GridRow.vue.js +1 -1
- package/lib/Grid/GridRow.vue3.js +1 -1
- package/lib/Grid/hooks/useContext.d.ts +1 -2
- package/lib/Grid/hooks/useContext.js +1 -1
- package/lib/Grid/index.d.ts +3 -3
- package/lib/Grid/index.js +1 -1
- package/lib/Image/Image.vue.d.ts +2 -2
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/Image.vue3.js +1 -1
- package/lib/Image/ImagePreview.vue.d.ts +2 -2
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreview.vue3.js +1 -1
- package/lib/Image/ImagePreviewAction.vue.d.ts +1 -1
- package/lib/Image/ImagePreviewAction.vue.js +1 -1
- package/lib/Image/ImagePreviewAction.vue3.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue3.js +1 -1
- package/lib/Image/ImagePreviewGroup.vue.d.ts +2 -2
- package/lib/Image/ImagePreviewGroup.vue.js +1 -1
- package/lib/Image/ImagePreviewGroup.vue2.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue3.js +1 -1
- package/lib/Image/hooks/useContext.d.ts +2 -2
- package/lib/Image/hooks/useContext.js +1 -1
- package/lib/Image/index.d.ts +6 -6
- package/lib/Image/index.js +1 -1
- package/lib/Input/Input.vue.d.ts +7 -7
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/Input.vue3.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/InputSuffix.vue3.js +1 -1
- package/lib/Input/hooks/useCursor.js +1 -1
- package/lib/Input/hooks/useLimitedInput.js +1 -1
- package/lib/Input/index.d.ts +14 -14
- package/lib/Input/index.js +1 -1
- package/lib/InputNumber/InputNumber.vue.d.ts +36 -36
- package/lib/InputNumber/InputNumber.vue.js +1 -1
- package/lib/InputNumber/InputNumber.vue3.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue3.js +1 -1
- package/lib/InputNumber/index.d.ts +31 -31
- package/lib/InputNumber/index.js +1 -1
- package/lib/InputTag/index.d.ts +19 -19
- package/lib/InputTag/index.js +1 -1
- package/lib/InputTag/index.vue.d.ts +9 -9
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/InputTag/index.vue3.js +1 -1
- package/lib/Layout/Layout.vue.d.ts +2 -2
- package/lib/Layout/Layout.vue.js +1 -1
- package/lib/Layout/Layout.vue3.js +1 -1
- package/lib/Layout/LayoutContent.vue.js +1 -1
- package/lib/Layout/LayoutContent.vue3.js +1 -1
- package/lib/Layout/LayoutFooter.vue.js +1 -1
- package/lib/Layout/LayoutFooter.vue3.js +1 -1
- package/lib/Layout/LayoutHeader.vue.js +1 -1
- package/lib/Layout/LayoutHeader.vue3.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue3.js +1 -1
- package/lib/Layout/hooks/useSiderContext.d.ts +2 -3
- package/lib/Layout/hooks/useSiderContext.js +1 -1
- package/lib/Layout/index.d.ts +1 -1
- package/lib/Layout/index.js +1 -1
- package/lib/Link/index.d.ts +1 -1
- package/lib/Link/index.js +1 -1
- package/lib/Link/index.vue.d.ts +2 -2
- package/lib/Link/index.vue.js +1 -1
- package/lib/Link/index.vue3.js +1 -1
- package/lib/List/List.vue.d.ts +13 -13
- package/lib/List/List.vue.js +1 -1
- package/lib/List/List.vue3.js +1 -1
- package/lib/List/ListItem.vue.d.ts +2 -2
- package/lib/List/ListItem.vue.js +1 -1
- package/lib/List/ListItem.vue3.js +1 -1
- package/lib/List/ListItemMeta.vue.d.ts +2 -2
- package/lib/List/ListItemMeta.vue.js +1 -1
- package/lib/List/ListItemMeta.vue3.js +1 -1
- package/lib/List/ListVirtual.vue.js +1 -1
- package/lib/List/ListVirtual.vue3.js +1 -1
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/List/index.d.ts +11 -11
- package/lib/List/index.js +1 -1
- package/lib/Mention/index.d.ts +103 -103
- package/lib/Mention/index.js +1 -1
- package/lib/Mention/index.vue.d.ts +177 -177
- package/lib/Mention/index.vue.js +1 -1
- package/lib/Mention/index.vue2.js +1 -1
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/Menu.vue3.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue3.js +1 -1
- package/lib/Menu/MenuItem.vue.d.ts +2 -2
- package/lib/Menu/MenuItem.vue.js +1 -1
- package/lib/Menu/MenuItem.vue3.js +1 -1
- package/lib/Menu/MenuItemGroup.vue.js +1 -1
- package/lib/Menu/MenuItemGroup.vue3.js +1 -1
- package/lib/Menu/MenuPopOption.vue.js +1 -1
- package/lib/Menu/MenuPopOption.vue2.js +1 -1
- package/lib/Menu/SubMenu.vue.d.ts +2 -2
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Menu/SubMenu.vue3.js +1 -1
- package/lib/Menu/hooks/useContext.d.ts +2 -2
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/Menu/index.d.ts +2 -2
- package/lib/Menu/index.js +1 -1
- package/lib/Message/Message.vue.d.ts +3 -3
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Message/Message.vue3.js +1 -1
- package/lib/Message/MessageList.vue.js +1 -1
- package/lib/Message/MessageList.vue3.js +1 -1
- package/lib/Message/index.d.ts +12 -12
- package/lib/Message/index.js +1 -1
- package/lib/Modal/Modal.vue.d.ts +3 -3
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/Modal.vue3.js +1 -1
- package/lib/Modal/ModalService.vue.d.ts +3 -3
- package/lib/Modal/ModalService.vue.js +1 -1
- package/lib/Modal/ModalService.vue3.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 +13 -11
- package/lib/Modal/index.js +1 -1
- package/lib/Notification/Notification.vue.d.ts +5 -5
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/Notification/Notification.vue3.js +1 -1
- package/lib/Notification/NotificationList.vue.js +1 -1
- package/lib/Notification/NotificationList.vue3.js +1 -1
- package/lib/Notification/index.d.ts +19 -18
- package/lib/Notification/index.js +1 -1
- package/lib/Notification/type.d.ts +1 -1
- package/lib/OverflowList/index.d.ts +1 -1
- package/lib/OverflowList/index.js +1 -1
- package/lib/OverflowList/index.vue.d.ts +2 -2
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/OverflowList/index.vue3.js +1 -1
- package/lib/PageHeader/index.d.ts +1 -1
- package/lib/PageHeader/index.js +1 -1
- package/lib/PageHeader/index.vue.d.ts +2 -2
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/PageHeader/index.vue3.js +1 -1
- package/lib/Pagination/Pagination.vue.d.ts +2 -2
- package/lib/Pagination/Pagination.vue.js +1 -1
- package/lib/Pagination/Pagination.vue3.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue3.js +1 -1
- package/lib/Pagination/hooks/useContext.d.ts +2 -2
- package/lib/Pagination/hooks/useContext.js +1 -1
- package/lib/Pagination/index.d.ts +1 -1
- package/lib/Pagination/index.js +1 -1
- package/lib/Popconfirm/index.d.ts +19 -19
- package/lib/Popconfirm/index.js +1 -1
- package/lib/Popconfirm/index.vue.d.ts +20 -20
- package/lib/Popconfirm/index.vue.js +1 -1
- package/lib/Popconfirm/index.vue3.js +1 -1
- package/lib/Popover/index.d.ts +7 -7
- package/lib/Popover/index.js +1 -1
- package/lib/Popover/index.vue.d.ts +4 -4
- package/lib/Popover/index.vue.js +1 -1
- package/lib/Popover/index.vue3.js +1 -1
- package/lib/Progress/Progress.vue.js +1 -1
- package/lib/Progress/Progress.vue3.js +1 -1
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Progress/ProgressCircle.vue3.js +1 -1
- package/lib/Progress/ProgressLine.vue.js +1 -1
- package/lib/Progress/ProgressLine.vue3.js +1 -1
- package/lib/Progress/ProgressSteps.vue.js +1 -1
- package/lib/Progress/ProgressSteps.vue3.js +1 -1
- package/lib/Progress/index.js +1 -1
- package/lib/Radio/Radio.vue.d.ts +3 -3
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Radio/Radio.vue3.js +1 -1
- package/lib/Radio/RadioGroup.vue.d.ts +3 -3
- package/lib/Radio/RadioGroup.vue.js +1 -1
- package/lib/Radio/RadioGroup.vue3.js +1 -1
- package/lib/Radio/hooks/useContext.d.ts +2 -2
- package/lib/Radio/hooks/useContext.js +1 -1
- package/lib/Radio/index.d.ts +8 -8
- package/lib/Radio/index.js +1 -1
- package/lib/Rate/index.js +1 -1
- package/lib/Rate/index.vue.js +1 -1
- package/lib/Rate/index.vue3.js +1 -1
- package/lib/ResizeBox/index.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue3.js +1 -1
- package/lib/Result/index.d.ts +1 -1
- package/lib/Result/index.js +1 -1
- package/lib/Result/index.vue.d.ts +2 -2
- package/lib/Result/index.vue.js +1 -1
- package/lib/Result/index.vue3.js +1 -1
- package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/lib/Scrollbar/Scrollbar.vue.js +1 -1
- package/lib/Scrollbar/Scrollbar.vue3.js +1 -1
- package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
- package/lib/Scrollbar/ScrollbarTrack.vue3.js +1 -1
- package/lib/Scrollbar/hooks/useContext.d.ts +2 -2
- package/lib/Scrollbar/hooks/useContext.js +1 -1
- package/lib/Scrollbar/index.d.ts +3 -3
- package/lib/Scrollbar/index.js +1 -1
- package/lib/Select/Optgroup.vue.js +1 -1
- package/lib/Select/Optgroup.vue3.js +1 -1
- package/lib/Select/Option.vue.d.ts +3 -3
- package/lib/Select/Option.vue.js +1 -1
- package/lib/Select/Option.vue3.js +1 -1
- package/lib/Select/Select.vue.d.ts +64 -64
- package/lib/Select/Select.vue.js +1 -1
- package/lib/Select/Select.vue3.js +1 -1
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/SelectIcon.vue3.js +1 -1
- package/lib/Select/SelectRealList.vue.js +1 -1
- package/lib/Select/SelectRealList.vue3.js +1 -1
- package/lib/Select/SelectView.vue.js +1 -1
- package/lib/Select/SelectView.vue3.js +1 -1
- package/lib/Select/SelectVirtualList.vue.js +1 -1
- package/lib/Select/SelectVirtualList.vue3.js +1 -1
- package/lib/Select/hooks/useContext.d.ts +2 -2
- package/lib/Select/hooks/useContext.js +1 -1
- package/lib/Select/hooks/useSelectHotkeys.js +1 -1
- package/lib/Select/hooks/useSelectOptions.js +1 -1
- package/lib/Select/index.d.ts +57 -57
- package/lib/Select/index.js +1 -1
- package/lib/Skeleton/Skeleton.vue.js +1 -1
- package/lib/Skeleton/Skeleton.vue2.js +1 -1
- package/lib/Skeleton/SkeletonLine.vue.js +1 -1
- package/lib/Skeleton/SkeletonLine.vue3.js +1 -1
- package/lib/Skeleton/SkeletonShape.vue.js +1 -1
- package/lib/Skeleton/SkeletonShape.vue3.js +1 -1
- package/lib/Skeleton/index.js +1 -1
- package/lib/Slider/Slider.vue.js +1 -1
- package/lib/Slider/Slider.vue3.js +1 -1
- package/lib/Slider/SliderBtn.vue.js +1 -1
- package/lib/Slider/SliderBtn.vue3.js +1 -1
- package/lib/Slider/SliderInput.vue.js +1 -1
- package/lib/Slider/SliderInput.vue3.js +1 -1
- package/lib/Slider/SliderTicks.vue.js +1 -1
- package/lib/Slider/SliderTicks.vue3.js +1 -1
- package/lib/Slider/hooks/useContext.d.ts +2 -2
- package/lib/Slider/hooks/useContext.js +1 -1
- package/lib/Slider/hooks/useSliderDraggable.js +1 -1
- package/lib/Slider/index.js +1 -1
- package/lib/Space/index.d.ts +1 -1
- package/lib/Space/index.js +1 -1
- package/lib/Space/index.vue.d.ts +2 -2
- package/lib/Space/index.vue.js +1 -1
- package/lib/Space/index.vue3.js +1 -1
- package/lib/Spin/index.d.ts +1 -1
- package/lib/Spin/index.js +1 -1
- package/lib/Spin/index.vue.d.ts +2 -2
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Spin/index.vue3.js +1 -1
- package/lib/Split/index.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Split/index.vue3.js +1 -1
- package/lib/Statistic/Countdown.vue.d.ts +1 -1
- package/lib/Statistic/Countdown.vue.js +1 -1
- package/lib/Statistic/Countdown.vue2.js +1 -1
- package/lib/Statistic/Statistic.vue.d.ts +3 -3
- package/lib/Statistic/Statistic.vue.js +1 -1
- package/lib/Statistic/Statistic.vue3.js +1 -1
- package/lib/Statistic/index.d.ts +7 -7
- package/lib/Statistic/index.js +1 -1
- package/lib/Steps/Step.vue.d.ts +3 -3
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Steps/Step.vue3.js +1 -1
- package/lib/Steps/Steps.vue.js +1 -1
- package/lib/Steps/Steps.vue3.js +1 -1
- package/lib/Steps/hooks/useContext.d.ts +1 -2
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Steps/index.d.ts +4 -4
- package/lib/Steps/index.js +1 -1
- package/lib/Switch/index.d.ts +9 -9
- package/lib/Switch/index.js +1 -1
- package/lib/Switch/index.vue.d.ts +5 -5
- package/lib/Switch/index.vue.js +1 -1
- package/lib/Switch/index.vue3.js +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/TabButton.vue3.js +1 -1
- package/lib/Tabs/TabPane.vue.d.ts +1 -1
- package/lib/Tabs/TabPane.vue.js +1 -1
- package/lib/Tabs/TabPane.vue3.js +1 -1
- package/lib/Tabs/Tabs.vue.d.ts +3 -3
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tabs/Tabs.vue3.js +1 -1
- package/lib/Tabs/TabsNavInk.vue.js +1 -1
- package/lib/Tabs/TabsNavInk.vue3.js +1 -1
- package/lib/Tabs/TabsTab.vue.js +1 -1
- package/lib/Tabs/TabsTab.vue3.js +1 -1
- package/lib/Tabs/hooks/useContext.d.ts +2 -2
- package/lib/Tabs/hooks/useContext.js +1 -1
- package/lib/Tabs/hooks/useTabsScroll.js +1 -1
- package/lib/Tabs/index.d.ts +4 -4
- package/lib/Tabs/index.js +1 -1
- package/lib/Tag/index.d.ts +1 -1
- package/lib/Tag/index.js +1 -1
- package/lib/Tag/index.vue.d.ts +2 -2
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Tag/index.vue3.js +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.d.ts +13 -13
- package/lib/Textarea/index.js +1 -1
- package/lib/Textarea/index.vue.d.ts +5 -5
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/Textarea/index.vue3.js +1 -1
- package/lib/TimePicker/TimePicker.vue.d.ts +11 -11
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue3.js +1 -1
- package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
- package/lib/TimePicker/TimePickerPanel.vue3.js +1 -1
- package/lib/TimePicker/hooks/useContext.d.ts +2 -2
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/TimePicker/index.d.ts +21 -21
- package/lib/TimePicker/index.js +1 -1
- package/lib/Timeline/Timeline.vue.js +1 -1
- package/lib/Timeline/Timeline.vue3.js +1 -1
- package/lib/Timeline/TimelineItem.vue.d.ts +3 -3
- package/lib/Timeline/TimelineItem.vue.js +1 -1
- package/lib/Timeline/TimelineItem.vue3.js +1 -1
- package/lib/Timeline/TimelineItemPending.vue.js +1 -1
- package/lib/Timeline/TimelineItemPending.vue2.js +1 -1
- package/lib/Timeline/hooks/useContext.d.ts +2 -2
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Timeline/index.d.ts +4 -4
- package/lib/Timeline/index.js +1 -1
- package/lib/Tooltip/index.d.ts +3 -3
- package/lib/Tooltip/index.js +1 -1
- package/lib/Tooltip/index.vue.d.ts +1 -1
- package/lib/Tooltip/index.vue.js +1 -1
- package/lib/Tooltip/index.vue3.js +1 -1
- package/lib/Transfer/Transfer.vue.d.ts +3 -3
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/Transfer.vue3.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue3.js +1 -1
- package/lib/Transfer/hooks/useContext.d.ts +2 -2
- package/lib/Transfer/hooks/useContext.js +1 -1
- package/lib/Transfer/index.d.ts +8 -8
- package/lib/Transfer/index.js +1 -1
- package/lib/Trigger/hooks/useContext.d.ts +2 -3
- 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.d.ts +8 -8
- package/lib/Trigger/index.js +1 -1
- package/lib/Trigger/index.vue.d.ts +6 -6
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Trigger/index.vue3.js +1 -1
- package/lib/Typography/Typography.vue.js +1 -1
- package/lib/Typography/Typography.vue3.js +1 -1
- package/lib/Typography/TypographyBase.vue.d.ts +30 -30
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue3.js +1 -1
- package/lib/Typography/TypographyParagraph.vue.d.ts +2 -2
- package/lib/Typography/TypographyParagraph.vue.js +1 -1
- package/lib/Typography/TypographyParagraph.vue3.js +1 -1
- package/lib/Typography/TypographyText.vue.d.ts +1 -2
- package/lib/Typography/TypographyText.vue.js +1 -1
- package/lib/Typography/TypographyText.vue2.js +1 -1
- package/lib/Typography/TypographyTitle.vue.d.ts +2 -2
- package/lib/Typography/TypographyTitle.vue.js +1 -1
- package/lib/Typography/TypographyTitle.vue3.js +1 -1
- package/lib/Typography/index.js +1 -1
- package/lib/VerificationCode/index.d.ts +6 -6
- package/lib/VerificationCode/index.js +1 -1
- package/lib/VerificationCode/index.vue.d.ts +2 -2
- package/lib/VerificationCode/index.vue.js +1 -1
- package/lib/VerificationCode/index.vue3.js +1 -1
- package/lib/Watermark/index.d.ts +3 -3
- package/lib/Watermark/index.js +1 -1
- package/lib/Watermark/index.vue.d.ts +1 -1
- package/lib/Watermark/index.vue.js +1 -1
- package/lib/Watermark/index.vue3.js +1 -1
- package/lib/_shared/components/ExpandTransition/index.vue2.js +1 -1
- package/lib/_shared/components/ExpandTransition/index.vue3.js +1 -1
- package/lib/_shared/components/Icon/index.vue2.js +1 -1
- package/lib/_shared/components/Icon/index.vue3.js +1 -1
- package/lib/_shared/components/IconButton/index.vue.js +1 -0
- package/lib/_shared/components/IconButton/index.vue3.js +1 -1
- package/lib/_shared/components/PreventFocus/index.vue.js +1 -1
- package/lib/_shared/components/PreventFocus/index.vue2.js +1 -1
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/Icon403.svg.js +1 -1
- package/lib/_shared/icons/Icon404.svg.js +1 -1
- package/lib/_shared/icons/Icon500.svg.js +1 -1
- package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
- package/lib/_shared/icons/IconArrowDown.vue2.js +1 -1
- package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
- package/lib/_shared/icons/IconArrowRight.vue2.js +1 -1
- package/lib/_shared/icons/IconCheck.vue.js +1 -1
- package/lib/_shared/icons/IconCheck.vue2.js +1 -1
- package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
- package/lib/_shared/icons/IconCheckboxChecked.vue2.js +1 -1
- package/lib/_shared/icons/IconClose.vue.js +1 -1
- package/lib/_shared/icons/IconClose.vue2.js +1 -1
- package/lib/_shared/icons/IconCopy.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconDelete.vue.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconDragDot.vue.js +1 -1
- package/lib/_shared/icons/IconDragDot.vue2.js +1 -1
- package/lib/_shared/icons/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconEmpty.vue.js +1 -1
- package/lib/_shared/icons/IconEmpty.vue2.js +1 -1
- package/lib/_shared/icons/IconError.vue.js +1 -1
- package/lib/_shared/icons/IconError.vue2.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/lib/_shared/icons/IconFaceSmile.vue2.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/IconImageClose.vue.js +1 -1
- package/lib/_shared/icons/IconImageClose.vue2.js +1 -1
- package/lib/_shared/icons/IconInfo.vue.js +1 -1
- package/lib/_shared/icons/IconInfo.vue2.js +1 -1
- package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
- package/lib/_shared/icons/IconInfoLine.vue2.js +1 -1
- package/lib/_shared/icons/IconLink.vue.js +1 -1
- package/lib/_shared/icons/IconLink.vue2.js +1 -1
- package/lib/_shared/icons/IconLoading.vue.js +1 -1
- package/lib/_shared/icons/IconLoading.vue2.js +1 -1
- package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
- package/lib/_shared/icons/IconMenuFold.vue2.js +1 -1
- package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
- package/lib/_shared/icons/IconMenuUnfold.vue2.js +1 -1
- package/lib/_shared/icons/IconMinus.vue.js +1 -1
- package/lib/_shared/icons/IconMinus.vue2.js +1 -1
- package/lib/_shared/icons/IconMore.vue.js +1 -1
- package/lib/_shared/icons/IconMore.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/IconPlus.vue.js +1 -1
- package/lib/_shared/icons/IconPlus.vue2.js +1 -1
- package/lib/_shared/icons/IconRight.vue.js +1 -1
- package/lib/_shared/icons/IconRight.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/IconSearch.vue.js +1 -1
- package/lib/_shared/icons/IconSearch.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/icons/IconStar.vue.js +1 -1
- package/lib/_shared/icons/IconStar.vue2.js +1 -1
- package/lib/_shared/icons/IconSuccess.vue.js +1 -1
- package/lib/_shared/icons/IconSuccess.vue2.js +1 -1
- package/lib/_shared/icons/IconTime.vue.js +1 -1
- package/lib/_shared/icons/IconTime.vue2.js +1 -1
- package/lib/_shared/icons/IconToTop.vue.js +1 -1
- package/lib/_shared/icons/IconToTop.vue2.js +1 -1
- package/lib/_shared/icons/IconWarning.vue.js +1 -1
- package/lib/_shared/icons/IconWarning.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/color.js +1 -1
- package/lib/_shared/utils/control.d.ts +2 -2
- package/lib/_shared/utils/control.js +1 -1
- package/lib/_shared/utils/global-config.js +1 -1
- package/lib/_shared/utils/is.d.ts +0 -15
- package/lib/_shared/utils/locale.js +1 -1
- package/lib/_shared/utils/time.js +1 -1
- package/lib/_shared/utils/vue-utils.d.ts +2 -1
- package/lib/_shared/utils/vue-utils.js +1 -1
- package/lib/index.d.ts +74 -74
- package/lib/index.js +1 -1
- package/lib/node_modules/b-tween/dist/b-tween.es.js +1 -1
- package/lib/node_modules/dayjs/dayjs.min.js +1 -1
- package/lib/node_modules/dayjs/plugin/duration.js +1 -1
- package/lib/node_modules/dayjs/plugin/isSameOrAfter.js +1 -1
- package/lib/node_modules/dayjs/plugin/isSameOrBefore.js +1 -1
- package/lib/node_modules/dayjs/plugin/toObject.js +1 -1
- package/lib/node_modules/tinycolor2/esm/tinycolor.js +1 -1
- package/lib/src/lang/lang-es/zh-cn.js +1 -1
- package/package.json +1 -1
- package/es/_shared/utils/index.d.ts +0 -8
- package/lib/_shared/components/IconButton/index.vue2.js +0 -1
- package/lib/_shared/utils/index.d.ts +0 -8
@@ -1,10 +1,6 @@
|
|
1
|
-
import { defineComponent, toRefs, ref, createBlock, openBlock, unref, createSlots, withCtx, renderSlot, mergeProps, isRef, normalizeProps, guardReactiveProps, nextTick } from "vue";
|
2
|
-
import "../
|
3
|
-
import "../_shared/utils/dom.js";
|
1
|
+
import { defineComponent, useSlots, toRefs, ref, createBlock, openBlock, unref, createSlots, withCtx, renderSlot, mergeProps, isRef, normalizeProps, guardReactiveProps, nextTick } from "vue";
|
2
|
+
import { useControlValue } from "../_shared/utils/control.js";
|
4
3
|
import { isObject } from "../_shared/utils/is.js";
|
5
|
-
import "../_shared/utils/time.js";
|
6
|
-
import "../_shared/utils/locale.js";
|
7
|
-
import useControlValue from "../_shared/utils/control.js";
|
8
4
|
import Select from "../Select/index.js";
|
9
5
|
import Textarea from "../Textarea/index.js";
|
10
6
|
import Input from "../Input/index.js";
|
@@ -32,6 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
32
28
|
},
|
33
29
|
emits: ["update:modelValue", "change", "search", "select", "clear", "dropdown-scroll", "dropdown-reach-bottom", "blur", "focus", "input", "keydown"],
|
34
30
|
setup(__props, { expose: __expose, emit: __emit }) {
|
31
|
+
const $slots = useSlots();
|
35
32
|
const props = __props;
|
36
33
|
const emits = __emit;
|
37
34
|
const { modelValue, defaultValue, data, strict, isSelectSetValue, isSearch } = toRefs(props);
|
@@ -178,14 +175,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
178
175
|
]),
|
179
176
|
_: 2
|
180
177
|
}, [
|
181
|
-
|
178
|
+
$slots.option ? {
|
182
179
|
name: "option",
|
183
180
|
fn: withCtx((scope) => [
|
184
181
|
renderSlot(_ctx.$slots, "option", normalizeProps(guardReactiveProps(scope)))
|
185
182
|
]),
|
186
183
|
key: "0"
|
187
184
|
} : void 0,
|
188
|
-
|
185
|
+
$slots.footer ? {
|
189
186
|
name: "footer",
|
190
187
|
fn: withCtx(() => [
|
191
188
|
renderSlot(_ctx.$slots, "footer")
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { AvatarProps
|
1
|
+
import { AvatarProps } from './type';
|
2
2
|
declare function __VLS_template(): {
|
3
3
|
attrs: Partial<{}>;
|
4
|
-
slots:
|
4
|
+
slots: any;
|
5
5
|
refs: {
|
6
6
|
avatarRef: HTMLDivElement;
|
7
7
|
textRef: HTMLSpanElement;
|
package/es/Avatar/Avatar.vue.js
CHANGED
@@ -1,14 +1,11 @@
|
|
1
|
-
import { defineComponent, ref, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createCommentVNode, renderSlot, createVNode } from "vue";
|
2
|
-
import { useResizeObserver } from "../node_modules/@vueuse/core/index.js";
|
3
|
-
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
1
|
+
import { defineComponent, useSlots, ref, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createCommentVNode, renderSlot, createVNode } from "vue";
|
4
2
|
import { valueToPx } from "../_shared/utils/dom.js";
|
5
|
-
|
6
|
-
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css */
|
3
|
+
/* empty css */
|
8
4
|
/* empty css */
|
9
5
|
/* empty css */
|
10
6
|
import _sfc_main$1 from "../_shared/icons/IconImageClose.vue.js";
|
11
|
-
import
|
7
|
+
import { useResizeObserver } from "../node_modules/@vueuse/core/index.js";
|
8
|
+
import useAvatarContext from "./hooks/useContext.js";
|
12
9
|
const _hoisted_1 = {
|
13
10
|
key: 1,
|
14
11
|
class: "yc-avatar-image"
|
@@ -36,9 +33,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
36
33
|
},
|
37
34
|
emits: ["click", "error", "load"],
|
38
35
|
setup(__props, { emit: __emit }) {
|
36
|
+
const $slots = useSlots();
|
39
37
|
const props = __props;
|
40
38
|
const emits = __emit;
|
41
|
-
const { size, autoFixFontSize, shape } =
|
39
|
+
const { size, autoFixFontSize, shape } = useAvatarContext().inject(props);
|
42
40
|
const isLoadError = ref(false);
|
43
41
|
const scale = ref(1);
|
44
42
|
const textRef = ref();
|
@@ -72,7 +70,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
72
70
|
ref: avatarRef,
|
73
71
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("click", $event))
|
74
72
|
}, [
|
75
|
-
|
73
|
+
$slots.default ? (openBlock(), createElementBlock("span", {
|
76
74
|
key: 0,
|
77
75
|
class: normalizeClass([textWithImage.value ? "yc-avatar-image" : "yc-avatar-text"]),
|
78
76
|
style: normalizeStyle({
|
@@ -96,7 +94,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
96
94
|
createVNode(unref(_sfc_main$1))
|
97
95
|
]))
|
98
96
|
])) : createCommentVNode("", true),
|
99
|
-
|
97
|
+
$slots["trigger-icon"] ? (openBlock(), createElementBlock("div", {
|
100
98
|
key: 2,
|
101
99
|
class: normalizeClass([
|
102
100
|
{
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { AvatarGroupProps
|
1
|
+
import { AvatarGroupProps } from './type';
|
2
2
|
declare function __VLS_template(): {
|
3
3
|
attrs: Partial<{}>;
|
4
|
-
slots:
|
4
|
+
slots: any;
|
5
5
|
refs: {};
|
6
6
|
rootEl: HTMLDivElement;
|
7
7
|
};
|
@@ -1,10 +1,7 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBlock, createBlock, createCommentVNode, Fragment, renderList, resolveDynamicComponent, normalizeStyle, unref, withCtx, createVNode, createTextVNode, toDisplayString } from "vue";
|
2
|
-
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
2
|
import { valueToPx } from "../_shared/utils/dom.js";
|
4
|
-
import "../_shared/utils/time.js";
|
5
3
|
import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
6
|
-
import "
|
7
|
-
import useContext from "./hooks/useContext.js";
|
4
|
+
import useAvatarContext from "./hooks/useContext.js";
|
8
5
|
import Avatar from "./index.js";
|
9
6
|
import Popover from "../Popover/index.js";
|
10
7
|
const _hoisted_1 = { class: "yc-avatar-group" };
|
@@ -27,14 +24,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
27
24
|
} }
|
28
25
|
},
|
29
26
|
setup(__props) {
|
30
|
-
const slots = useSlots();
|
27
|
+
const $slots = useSlots();
|
31
28
|
const props = __props;
|
32
29
|
const { maxCount } = toRefs(props);
|
33
|
-
|
30
|
+
useAvatarContext().provide(props);
|
34
31
|
const nodes = computed(() => {
|
35
32
|
var _a;
|
36
33
|
const avatars = findComponentsFromVnodes(
|
37
|
-
((_a = slots.default) == null ? void 0 : _a.call(slots)) || [],
|
34
|
+
((_a = $slots.default) == null ? void 0 : _a.call($slots)) || [],
|
38
35
|
Avatar.name
|
39
36
|
);
|
40
37
|
return {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { RecordType } from '../../_shared/type';
|
2
|
-
|
2
|
+
export default function useAvatarContext(): {
|
3
3
|
provide: (props: RecordType) => void;
|
4
4
|
inject: (props: RecordType) => {
|
5
5
|
shape: import('vue').ComputedRef<any>;
|
@@ -7,4 +7,3 @@ declare const _default: () => {
|
|
7
7
|
autoFixFontSize: import('vue').ComputedRef<any>;
|
8
8
|
};
|
9
9
|
};
|
10
|
-
export default _default;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { toRefs, provide, inject, ref, computed } from "vue";
|
2
2
|
const AVATAR_GROUP_CONTEXT_KEY = "radio-group-context";
|
3
|
-
|
3
|
+
function useAvatarContext() {
|
4
4
|
const provide$1 = (props) => {
|
5
5
|
const { shape, size, autoFixFontSize } = toRefs(props);
|
6
6
|
provide(AVATAR_GROUP_CONTEXT_KEY, {
|
@@ -36,7 +36,7 @@ const useContext = () => {
|
|
36
36
|
provide: provide$1,
|
37
37
|
inject: inject$1
|
38
38
|
};
|
39
|
-
}
|
39
|
+
}
|
40
40
|
export {
|
41
|
-
|
41
|
+
useAvatarContext as default
|
42
42
|
};
|
package/es/Avatar/index.d.ts
CHANGED
@@ -64,7 +64,7 @@ declare const Avatar: {
|
|
64
64
|
triggerType: import('./type').AvatarTriggerType;
|
65
65
|
triggerIconStyle: import('vue').CSSProperties;
|
66
66
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
67
|
-
$slots:
|
67
|
+
$slots: any;
|
68
68
|
}) & {
|
69
69
|
group: {
|
70
70
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').AvatarGroupProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
@@ -103,7 +103,7 @@ declare const Avatar: {
|
|
103
103
|
maxStyle: import('vue').CSSProperties;
|
104
104
|
maxPopoverTriggerProps: import('..').TriggerProps;
|
105
105
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
106
|
-
$slots:
|
106
|
+
$slots: any;
|
107
107
|
});
|
108
108
|
install: (app: App) => void;
|
109
109
|
};
|
package/es/BackTop/index.vue.js
CHANGED
@@ -1,14 +1,11 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, createBlock, openBlock, Transition, withCtx, withDirectives, createElementVNode, renderSlot, createVNode, unref, vShow } from "vue";
|
2
|
-
import "../node_modules/
|
2
|
+
import Tween from "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import { findFirstScrollableParent, getElement } from "../_shared/utils/dom.js";
|
4
|
-
|
5
|
-
import "../_shared/utils/time.js";
|
6
|
-
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css */
|
4
|
+
/* empty css */
|
8
5
|
/* empty css */
|
9
6
|
/* empty css */
|
10
7
|
import _sfc_main$1 from "../_shared/icons/IconToTop.vue.js";
|
11
|
-
import
|
8
|
+
import { isUndefined } from "../_shared/utils/is.js";
|
12
9
|
import { useEventListener } from "../node_modules/@vueuse/core/index.js";
|
13
10
|
import Button from "../Button/index.js";
|
14
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/es/Badge/index.d.ts
CHANGED
@@ -42,7 +42,7 @@ declare const Badge: {
|
|
42
42
|
dotStyle: import('vue').CSSProperties;
|
43
43
|
count: number;
|
44
44
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
45
|
-
$slots:
|
45
|
+
$slots: any;
|
46
46
|
}) & {
|
47
47
|
install: (app: App) => void;
|
48
48
|
};
|
package/es/Badge/index.vue.d.ts
CHANGED
package/es/Badge/index.vue.js
CHANGED
@@ -1,8 +1,5 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBlock, normalizeClass, renderSlot, createCommentVNode, createElementVNode, normalizeStyle, unref, toDisplayString, createTextVNode } from "vue";
|
2
|
-
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
2
|
import { valueToPx } from "../_shared/utils/dom.js";
|
4
|
-
import "../_shared/utils/time.js";
|
5
|
-
import "../_shared/utils/locale.js";
|
6
3
|
import { TAG_PRESET_COLORS } from "../_shared/constants/index.js";
|
7
4
|
const _hoisted_1 = {
|
8
5
|
key: 0,
|
@@ -32,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
32
29
|
count: { default: void 0 }
|
33
30
|
},
|
34
31
|
setup(__props) {
|
35
|
-
const slots = useSlots();
|
32
|
+
const $slots = useSlots();
|
36
33
|
const props = __props;
|
37
34
|
const { text, dot, count, maxCount, offset, dotStyle, status, color } = toRefs(props);
|
38
35
|
const style = computed(() => {
|
@@ -42,7 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
42
39
|
};
|
43
40
|
});
|
44
41
|
const className = computed(() => {
|
45
|
-
if (slots.content) return "yc-badge-custom-dot";
|
42
|
+
if ($slots.content) return "yc-badge-custom-dot";
|
46
43
|
if (color.value || status.value) return "yc-badge-status";
|
47
44
|
if (text.value) return "yc-badge-text";
|
48
45
|
if (dot.value) return "yc-badge-dot";
|
@@ -55,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
55
52
|
});
|
56
53
|
return (_ctx, _cache) => {
|
57
54
|
return openBlock(), createElementBlock("div", {
|
58
|
-
class: normalizeClass(["yc-badge", { "yc-badge-no-children":
|
55
|
+
class: normalizeClass(["yc-badge", { "yc-badge-no-children": !$slots.default }])
|
59
56
|
}, [
|
60
57
|
renderSlot(_ctx.$slots, "default"),
|
61
58
|
className.value == "yc-badge-status" ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { BreadcrumbProps
|
1
|
+
import { BreadcrumbProps } from './type';
|
2
2
|
declare function __VLS_template(): {
|
3
3
|
attrs: Partial<{}>;
|
4
|
-
slots:
|
4
|
+
slots: any;
|
5
5
|
refs: {};
|
6
6
|
rootEl: HTMLDivElement;
|
7
7
|
};
|
@@ -1,10 +1,6 @@
|
|
1
|
-
import { defineComponent,
|
2
|
-
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
-
import "../_shared/utils/dom.js";
|
4
|
-
import { isString } from "../_shared/utils/is.js";
|
5
|
-
import "../_shared/utils/time.js";
|
1
|
+
import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBlock, Fragment, renderList, createBlock, createCommentVNode, resolveDynamicComponent, renderSlot, unref, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
|
6
2
|
import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
7
|
-
import "../_shared/utils/
|
3
|
+
import { isString } from "../_shared/utils/is.js";
|
8
4
|
import "./index.js";
|
9
5
|
import _sfc_main$3 from "./BreadcrumbSeparator.vue.js";
|
10
6
|
/* empty css */
|
@@ -24,13 +20,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
24
20
|
customUrl: { type: Function, default: void 0 }
|
25
21
|
},
|
26
22
|
setup(__props) {
|
23
|
+
const $slots = useSlots();
|
27
24
|
const props = __props;
|
28
25
|
const { maxCount, routes } = toRefs(props);
|
29
|
-
const slots = useSlots();
|
30
26
|
const breadcrumbItems = computed(() => {
|
31
27
|
var _a;
|
32
28
|
const nodes = findComponentsFromVnodes(
|
33
|
-
((_a = slots.default) == null ? void 0 : _a.call(slots)) || [],
|
29
|
+
((_a = $slots.default) == null ? void 0 : _a.call($slots)) || [],
|
34
30
|
_sfc_main$1.name
|
35
31
|
);
|
36
32
|
return maxCount.value > 0 && nodes.length > maxCount.value ? [
|
@@ -62,29 +58,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
62
58
|
};
|
63
59
|
return (_ctx, _cache) => {
|
64
60
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
65
|
-
|
61
|
+
$slots.default ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(breadcrumbItems.value, (node, i) => {
|
66
62
|
var _a, _b;
|
67
63
|
return openBlock(), createElementBlock(Fragment, { key: i }, [
|
68
64
|
(node == null ? void 0 : node.type) == "more-icon" ? (openBlock(), createBlock(_sfc_main$2, {
|
69
65
|
key: 0,
|
70
|
-
slots:
|
71
|
-
}
|
66
|
+
slots: $slots
|
67
|
+
})) : (openBlock(), createBlock(resolveDynamicComponent(node), { key: 1 })),
|
72
68
|
i < breadcrumbItems.value.length - 1 ? (openBlock(), createBlock(_sfc_main$3, {
|
73
69
|
key: 2,
|
74
70
|
separator: _ctx.separator,
|
75
|
-
"separator-slots":
|
71
|
+
"separator-slots": $slots.separator,
|
76
72
|
"item-separator": (_a = node.props) == null ? void 0 : _a.separator,
|
77
73
|
"item-separator-slots": (_b = node.children) == null ? void 0 : _b.separator
|
78
74
|
}, null, 8, ["separator", "separator-slots", "item-separator", "item-separator-slots"])) : createCommentVNode("", true)
|
79
75
|
], 64);
|
80
76
|
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(routeData.value, (route, i) => {
|
81
|
-
return openBlock(), createElementBlock(Fragment, {
|
82
|
-
key: route.path
|
83
|
-
}, [
|
77
|
+
return openBlock(), createElementBlock(Fragment, { key: i }, [
|
84
78
|
unref(isString)(route) ? (openBlock(), createBlock(_sfc_main$2, {
|
85
79
|
key: 0,
|
86
|
-
slots:
|
87
|
-
}
|
80
|
+
slots: $slots
|
81
|
+
})) : renderSlot(_ctx.$slots, "item-render", {
|
88
82
|
key: 1,
|
89
83
|
route,
|
90
84
|
routes: unref(routes),
|
@@ -106,7 +100,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
106
100
|
i < unref(routes).length - 1 ? (openBlock(), createBlock(_sfc_main$3, {
|
107
101
|
key: 2,
|
108
102
|
separator: _ctx.separator,
|
109
|
-
"separator-slots":
|
103
|
+
"separator-slots": $slots.separator
|
110
104
|
}, null, 8, ["separator", "separator-slots"])) : createCommentVNode("", true)
|
111
105
|
], 64);
|
112
106
|
}), 128))
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { BreadcrumbItemProps
|
1
|
+
import { BreadcrumbItemProps } from './type';
|
2
2
|
declare function __VLS_template(): {
|
3
3
|
attrs: Partial<{}>;
|
4
|
-
slots:
|
4
|
+
slots: any;
|
5
5
|
refs: {};
|
6
6
|
rootEl: any;
|
7
7
|
};
|
@@ -1,10 +1,7 @@
|
|
1
|
-
import { defineComponent, ref, createBlock, openBlock, unref, mergeProps, withCtx, createElementVNode, createElementBlock, renderSlot, createCommentVNode, createVNode, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
|
1
|
+
import { defineComponent, useSlots, ref, createBlock, openBlock, unref, mergeProps, withCtx, createElementVNode, createElementBlock, renderSlot, createCommentVNode, createVNode, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
|
2
2
|
import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
|
3
|
-
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
3
|
import "../_shared/utils/dom.js";
|
5
|
-
|
6
|
-
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css */
|
4
|
+
/* empty css */
|
8
5
|
/* empty css */
|
9
6
|
/* empty css */
|
10
7
|
import Dropdown from "../Dropdown/index.js";
|
@@ -31,13 +28,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
31
28
|
showSeparator: { type: Boolean, default: true }
|
32
29
|
},
|
33
30
|
setup(__props) {
|
31
|
+
const $slots = useSlots();
|
34
32
|
const popupVisible = ref(false);
|
35
33
|
return (_ctx, _cache) => {
|
36
34
|
return openBlock(), createBlock(unref(Dropdown), mergeProps({
|
37
35
|
"popup-visible": popupVisible.value,
|
38
36
|
"onUpdate:popupVisible": _cache[0] || (_cache[0] = ($event) => popupVisible.value = $event)
|
39
37
|
}, _ctx.dropdownProps, {
|
40
|
-
disabled: !_ctx.droplist.length &&
|
38
|
+
disabled: !_ctx.droplist.length && !$slots.droplist
|
41
39
|
}), {
|
42
40
|
content: withCtx(() => [
|
43
41
|
renderSlot(_ctx.$slots, "droplist", {}, () => [
|
@@ -62,7 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
62
60
|
}, [
|
63
61
|
renderSlot(_ctx.$slots, "default")
|
64
62
|
], 8, _hoisted_2)) : renderSlot(_ctx.$slots, "default", { key: 1 }),
|
65
|
-
_ctx.droplist.length ||
|
63
|
+
_ctx.droplist.length || $slots.droplist ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
66
64
|
createVNode(unref(_sfc_main$1), {
|
67
65
|
rotate: popupVisible.value ? 180 : 0
|
68
66
|
}, null, 8, ["rotate"])
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { BreadcrumbSlots } from './type';
|
2
2
|
type __VLS_Props = {
|
3
|
-
slots:
|
3
|
+
slots: Readonly<BreadcrumbSlots>;
|
4
4
|
};
|
5
5
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
6
6
|
export default _default;
|
@@ -1,9 +1,6 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, withCtx, resolveDynamicComponent, unref } from "vue";
|
2
|
-
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
2
|
import "../_shared/utils/dom.js";
|
4
|
-
|
5
|
-
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css */
|
3
|
+
/* empty css */
|
7
4
|
/* empty css */
|
8
5
|
/* empty css */
|
9
6
|
import _sfc_main$2 from "../_shared/icons/IconMore.vue.js";
|
@@ -1,13 +1,10 @@
|
|
1
1
|
import { defineComponent, computed, createElementBlock, openBlock, createBlock, resolveDynamicComponent, unref } from "vue";
|
2
|
-
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
2
|
import "../_shared/utils/dom.js";
|
4
|
-
|
5
|
-
import "../_shared/utils/time.js";
|
6
|
-
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css */
|
3
|
+
/* empty css */
|
8
4
|
/* empty css */
|
9
5
|
/* empty css */
|
10
6
|
import _sfc_main$1 from "../_shared/icons/IconSeparator.vue2.js";
|
7
|
+
import { isUndefined } from "../_shared/utils/is.js";
|
11
8
|
const _hoisted_1 = { class: "yc-breadcrumb-item-separator" };
|
12
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
13
10
|
__name: "BreadcrumbSeparator",
|
package/es/Breadcrumb/index.d.ts
CHANGED
@@ -32,7 +32,7 @@ declare const Breadcrumb: {
|
|
32
32
|
routes: import('./type').BreadcrumbRoute[];
|
33
33
|
customUrl: import('./type').CustomUrl;
|
34
34
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
35
|
-
$slots:
|
35
|
+
$slots: any;
|
36
36
|
}) & {
|
37
37
|
item: {
|
38
38
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').BreadcrumbItemProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
@@ -65,7 +65,7 @@ declare const Breadcrumb: {
|
|
65
65
|
droplist: import('./type').BreadcrumbRoute[];
|
66
66
|
dropdownProps: import('..').DropdownProps;
|
67
67
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
68
|
-
$slots:
|
68
|
+
$slots: any;
|
69
69
|
});
|
70
70
|
install: (app: App) => void;
|
71
71
|
};
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { ButtonProps
|
1
|
+
import { ButtonProps } from './type';
|
2
2
|
declare function __VLS_template(): {
|
3
3
|
attrs: Partial<{}>;
|
4
|
-
slots:
|
4
|
+
slots: any;
|
5
5
|
refs: {};
|
6
6
|
rootEl: any;
|
7
7
|
};
|
@@ -20,8 +20,8 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}
|
|
20
20
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
21
21
|
}>, {
|
22
22
|
size: import('..').Size;
|
23
|
-
disabled: boolean;
|
24
23
|
type: import('./type').ButtonType;
|
24
|
+
disabled: boolean;
|
25
25
|
loading: boolean;
|
26
26
|
href: string;
|
27
27
|
shape: import('..').Shape;
|
package/es/Button/Button.vue.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBlock, mergeProps, createCommentVNode, renderSlot, unref, createBlock } from "vue";
|
2
|
-
import
|
2
|
+
import useButtonContext from "./hooks/useContext.js";
|
3
3
|
import Spin from "../Spin/index.js";
|
4
4
|
const _hoisted_1 = ["href", "autofocus"];
|
5
5
|
const _hoisted_2 = {
|
@@ -30,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
30
30
|
},
|
31
31
|
emits: ["mousedown", "mouseup", "click", "dblclick", "contextmenu"],
|
32
32
|
setup(__props, { emit: __emit }) {
|
33
|
-
const slots = useSlots();
|
33
|
+
const $slots = useSlots();
|
34
34
|
const props = __props;
|
35
35
|
const emits = __emit;
|
36
36
|
const {
|
@@ -41,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
41
41
|
shape: _shape,
|
42
42
|
long
|
43
43
|
} = toRefs(props);
|
44
|
-
const { size, disabled, type, status, shape } =
|
44
|
+
const { size, disabled, type, status, shape } = useButtonContext().inject(props);
|
45
45
|
const className = computed(() => {
|
46
46
|
return [
|
47
47
|
"yc-button",
|
@@ -53,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
53
53
|
"yc-button-long": long.value,
|
54
54
|
"yc-button-loading": loading.value,
|
55
55
|
"yc-button-disabled": disabled.value,
|
56
|
-
"yc-button-only-icon":
|
56
|
+
"yc-button-only-icon": !$slots.default
|
57
57
|
}
|
58
58
|
];
|
59
59
|
});
|
@@ -74,7 +74,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
74
74
|
onDblclick: _cache[3] || (_cache[3] = ($event) => handleEvent("dblclick", $event)),
|
75
75
|
onContextmenu: _cache[4] || (_cache[4] = ($event) => handleEvent("contextmenu", $event))
|
76
76
|
}), [
|
77
|
-
|
77
|
+
$slots.icon || unref(loading) ? (openBlock(), createElementBlock("span", _hoisted_2, [
|
78
78
|
unref(loading) ? (openBlock(), createBlock(unref(Spin), {
|
79
79
|
key: 0,
|
80
80
|
"is-size-inherit": ""
|
@@ -94,7 +94,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
94
94
|
onDblclick: _cache[8] || (_cache[8] = ($event) => handleEvent("dblclick", $event)),
|
95
95
|
onContextmenu: _cache[9] || (_cache[9] = ($event) => handleEvent("contextmenu", $event))
|
96
96
|
}), [
|
97
|
-
|
97
|
+
$slots.icon || unref(loading) ? (openBlock(), createElementBlock("span", _hoisted_4, [
|
98
98
|
unref(loading) ? (openBlock(), createBlock(unref(Spin), {
|
99
99
|
key: 0,
|
100
100
|
"is-size-inherit": ""
|
@@ -8,8 +8,8 @@ declare function __VLS_template(): {
|
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<ButtonGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
|
10
10
|
size: import('..').Size;
|
11
|
-
disabled: boolean;
|
12
11
|
type: import('./type').ButtonType;
|
12
|
+
disabled: boolean;
|
13
13
|
shape: import('..').Shape;
|
14
14
|
status: import('./type').ButtonStatus;
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, normalizeClass, renderSlot } from "vue";
|
2
|
-
import
|
2
|
+
import useButtonContext from "./hooks/useContext.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
...{
|
5
5
|
name: "ButtonGroup"
|
@@ -14,7 +14,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
14
|
},
|
15
15
|
setup(__props) {
|
16
16
|
const props = __props;
|
17
|
-
|
17
|
+
useButtonContext().provide(props);
|
18
18
|
return (_ctx, _cache) => {
|
19
19
|
return openBlock(), createElementBlock("div", {
|
20
20
|
class: normalizeClass([
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ButtonType, ButtonStatus } from '../type';
|
2
2
|
import { Size, Shape, RecordType } from '../../_shared/type';
|
3
|
-
|
3
|
+
export default function useButtonContext(): {
|
4
4
|
provide: (props: RecordType) => void;
|
5
5
|
inject: (props: RecordType) => {
|
6
6
|
disabled: import('vue').ComputedRef<boolean>;
|
@@ -10,4 +10,3 @@ declare const _default: () => {
|
|
10
10
|
size: import('vue').ComputedRef<Size>;
|
11
11
|
};
|
12
12
|
};
|
13
|
-
export default _default;
|
@@ -1,11 +1,7 @@
|
|
1
1
|
import { toRefs, provide, inject, ref, computed } from "vue";
|
2
|
-
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
-
import "../../_shared/utils/dom.js";
|
4
|
-
import "../../_shared/utils/time.js";
|
5
2
|
import { getGlobalConfig } from "../../_shared/utils/global-config.js";
|
6
|
-
import "../../_shared/utils/locale.js";
|
7
3
|
const BUTTON_GROUP_CONTEXT_KEY = "button-group-context";
|
8
|
-
|
4
|
+
function useButtonContext() {
|
9
5
|
const provide$1 = (props) => {
|
10
6
|
const { type, status, shape, disabled } = toRefs(props);
|
11
7
|
const { size } = getGlobalConfig(props);
|
@@ -48,7 +44,7 @@ const useContext = () => {
|
|
48
44
|
provide: provide$1,
|
49
45
|
inject: inject$1
|
50
46
|
};
|
51
|
-
}
|
47
|
+
}
|
52
48
|
export {
|
53
|
-
|
49
|
+
useButtonContext as default
|
54
50
|
};
|