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
@@ -2,9 +2,7 @@ import { CascaderProps, CascaderOptionValue } from './type';
|
|
2
2
|
declare function __VLS_template(): {
|
3
3
|
attrs: Partial<{}>;
|
4
4
|
slots: {
|
5
|
-
label?(_:
|
6
|
-
tag: import('..').RecordType;
|
7
|
-
}): any;
|
5
|
+
label?(_: any): any;
|
8
6
|
label?(_: {
|
9
7
|
data: import('..').RecordType;
|
10
8
|
}): any;
|
@@ -35,10 +33,10 @@ declare function __VLS_template(): {
|
|
35
33
|
readonly invisibleButton?: boolean | undefined;
|
36
34
|
readonly showInput?: boolean | undefined;
|
37
35
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
38
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
39
36
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
40
|
-
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
41
37
|
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
38
|
+
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
39
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
42
40
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
43
41
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
44
42
|
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -59,14 +57,14 @@ declare function __VLS_template(): {
|
|
59
57
|
$root: import('vue').ComponentPublicInstance | null;
|
60
58
|
$parent: import('vue').ComponentPublicInstance | null;
|
61
59
|
$host: Element | null;
|
62
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "
|
60
|
+
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
|
63
61
|
$el: HTMLDivElement;
|
64
62
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Input').InputProps> & Readonly<{
|
65
63
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
66
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
67
64
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
68
|
-
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
69
65
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
66
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
67
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
70
68
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
71
69
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
72
70
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -78,10 +76,10 @@ declare function __VLS_template(): {
|
|
78
76
|
getInputRef(): HTMLInputElement;
|
79
77
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
80
78
|
change: (value: string, ev: Event) => any;
|
81
|
-
focus: (ev: FocusEvent) => any;
|
82
79
|
clear: (ev: MouseEvent) => any;
|
83
|
-
blur: (ev: FocusEvent) => any;
|
84
80
|
input: (value: string, ev: Event) => any;
|
81
|
+
blur: (ev: FocusEvent) => any;
|
82
|
+
focus: (ev: FocusEvent) => any;
|
85
83
|
keydown: (ev: KeyboardEvent) => any;
|
86
84
|
"update:modelValue": (value: string) => any;
|
87
85
|
"update:visibility": (value: boolean) => any;
|
@@ -89,8 +87,8 @@ declare function __VLS_template(): {
|
|
89
87
|
pressEnter: (ev: KeyboardEvent) => any;
|
90
88
|
}, string, {
|
91
89
|
size: import('..').Size;
|
92
|
-
disabled: boolean;
|
93
90
|
error: boolean;
|
91
|
+
disabled: boolean;
|
94
92
|
placeholder: string;
|
95
93
|
modelValue: string;
|
96
94
|
defaultValue: string;
|
@@ -128,8 +126,8 @@ declare function __VLS_template(): {
|
|
128
126
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
129
127
|
} & Readonly<{
|
130
128
|
size: import('..').Size;
|
131
|
-
disabled: boolean;
|
132
129
|
error: boolean;
|
130
|
+
disabled: boolean;
|
133
131
|
placeholder: string;
|
134
132
|
modelValue: string;
|
135
133
|
defaultValue: string;
|
@@ -147,21 +145,21 @@ declare function __VLS_template(): {
|
|
147
145
|
showInput: boolean;
|
148
146
|
}> & Omit<Readonly<import('../Input').InputProps> & Readonly<{
|
149
147
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
150
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
151
148
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
152
|
-
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
153
149
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
150
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
151
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
154
152
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
155
153
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
156
154
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
157
155
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
158
156
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
159
|
-
}>, "
|
157
|
+
}>, "blur" | "focus" | "getInputRef" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
160
158
|
focus(): void;
|
161
159
|
blur(): void;
|
162
160
|
getInputRef(): HTMLInputElement;
|
163
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
164
|
-
$slots:
|
161
|
+
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
162
|
+
$slots: any;
|
165
163
|
}) | null;
|
166
164
|
};
|
167
165
|
rootEl: any;
|
@@ -169,33 +167,33 @@ declare function __VLS_template(): {
|
|
169
167
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
170
168
|
declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
171
169
|
change: (value: import('./type').CascaderValue) => any;
|
170
|
+
clear: () => any;
|
171
|
+
search: (value: string) => any;
|
172
|
+
blur: (ev: FocusEvent) => any;
|
172
173
|
focus: (ev: FocusEvent) => any;
|
173
174
|
"update:popupVisible": (value: boolean) => any;
|
174
175
|
"popup-visible-change": (value: boolean) => any;
|
175
|
-
clear: () => any;
|
176
|
-
blur: (ev: FocusEvent) => any;
|
177
|
-
search: (value: string) => any;
|
178
176
|
"update:modelValue": (value: import('./type').CascaderValue) => any;
|
179
177
|
"update:inputValue": (value: string) => any;
|
180
178
|
"input-value-change": (value: string) => any;
|
181
179
|
}, string, import('vue').PublicProps, Readonly<CascaderProps> & Readonly<{
|
182
180
|
onChange?: ((value: import('./type').CascaderValue) => any) | undefined;
|
181
|
+
onClear?: (() => any) | undefined;
|
182
|
+
onSearch?: ((value: string) => any) | undefined;
|
183
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
183
184
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
184
185
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
185
186
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
186
|
-
onClear?: (() => any) | undefined;
|
187
|
-
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
188
|
-
onSearch?: ((value: string) => any) | undefined;
|
189
187
|
"onUpdate:modelValue"?: ((value: import('./type').CascaderValue) => any) | undefined;
|
190
188
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
191
189
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
192
190
|
}>, {
|
193
191
|
size: import('..').Size;
|
192
|
+
error: boolean;
|
193
|
+
popupContainer: import('..').PopupContainer;
|
194
194
|
popupVisible: boolean;
|
195
195
|
defaultPopupVisible: boolean;
|
196
196
|
disabled: boolean;
|
197
|
-
popupContainer: import('..').PopupContainer;
|
198
|
-
error: boolean;
|
199
197
|
multiple: boolean;
|
200
198
|
placeholder: string;
|
201
199
|
loading: boolean;
|
@@ -244,10 +242,10 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
|
|
244
242
|
readonly invisibleButton?: boolean | undefined;
|
245
243
|
readonly showInput?: boolean | undefined;
|
246
244
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
247
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
248
245
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
249
|
-
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
250
246
|
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
247
|
+
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
248
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
251
249
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
252
250
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
253
251
|
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -268,14 +266,14 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
|
|
268
266
|
$root: import('vue').ComponentPublicInstance | null;
|
269
267
|
$parent: import('vue').ComponentPublicInstance | null;
|
270
268
|
$host: Element | null;
|
271
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "
|
269
|
+
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
|
272
270
|
$el: HTMLDivElement;
|
273
271
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Input').InputProps> & Readonly<{
|
274
272
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
275
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
276
273
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
277
|
-
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
278
274
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
275
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
276
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
279
277
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
280
278
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
281
279
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -287,10 +285,10 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
|
|
287
285
|
getInputRef(): HTMLInputElement;
|
288
286
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
289
287
|
change: (value: string, ev: Event) => any;
|
290
|
-
focus: (ev: FocusEvent) => any;
|
291
288
|
clear: (ev: MouseEvent) => any;
|
292
|
-
blur: (ev: FocusEvent) => any;
|
293
289
|
input: (value: string, ev: Event) => any;
|
290
|
+
blur: (ev: FocusEvent) => any;
|
291
|
+
focus: (ev: FocusEvent) => any;
|
294
292
|
keydown: (ev: KeyboardEvent) => any;
|
295
293
|
"update:modelValue": (value: string) => any;
|
296
294
|
"update:visibility": (value: boolean) => any;
|
@@ -298,8 +296,8 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
|
|
298
296
|
pressEnter: (ev: KeyboardEvent) => any;
|
299
297
|
}, string, {
|
300
298
|
size: import('..').Size;
|
301
|
-
disabled: boolean;
|
302
299
|
error: boolean;
|
300
|
+
disabled: boolean;
|
303
301
|
placeholder: string;
|
304
302
|
modelValue: string;
|
305
303
|
defaultValue: string;
|
@@ -337,8 +335,8 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
|
|
337
335
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
338
336
|
} & Readonly<{
|
339
337
|
size: import('..').Size;
|
340
|
-
disabled: boolean;
|
341
338
|
error: boolean;
|
339
|
+
disabled: boolean;
|
342
340
|
placeholder: string;
|
343
341
|
modelValue: string;
|
344
342
|
defaultValue: string;
|
@@ -356,21 +354,21 @@ declare const __VLS_component: import('vue').DefineComponent<CascaderProps, {},
|
|
356
354
|
showInput: boolean;
|
357
355
|
}> & Omit<Readonly<import('../Input').InputProps> & Readonly<{
|
358
356
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
359
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
360
357
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
361
|
-
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
362
358
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
359
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
360
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
363
361
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
364
362
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
365
363
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
366
364
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
367
365
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
368
|
-
}>, "
|
366
|
+
}>, "blur" | "focus" | "getInputRef" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
369
367
|
focus(): void;
|
370
368
|
blur(): void;
|
371
369
|
getInputRef(): HTMLInputElement;
|
372
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
373
|
-
$slots:
|
370
|
+
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
371
|
+
$slots: any;
|
374
372
|
}) | null;
|
375
373
|
}, any>;
|
376
374
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
@@ -1,9 +1,6 @@
|
|
1
1
|
import { defineComponent, ref, computed, createBlock, openBlock, unref, mergeProps, isRef, withCtx, createElementVNode, normalizeStyle, normalizeClass, createSlots, createVNode, renderSlot, normalizeProps, guardReactiveProps, toDisplayString } from "vue";
|
2
|
-
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
2
|
import { sleep } from "../_shared/utils/dom.js";
|
4
|
-
import "
|
5
|
-
import "../_shared/utils/locale.js";
|
6
|
-
import useContext from "./hooks/useContext.js";
|
3
|
+
import useCascaderContext from "./hooks/useContext.js";
|
7
4
|
import Input from "../Input/index.js";
|
8
5
|
import InputTag from "../InputTag/index.js";
|
9
6
|
import Trigger from "../Trigger/index.js";
|
@@ -80,7 +77,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
80
77
|
curPath,
|
81
78
|
getValueKey,
|
82
79
|
getOption
|
83
|
-
} =
|
80
|
+
} = useCascaderContext().provide(props, emits, inputRef);
|
84
81
|
const showClearBtn = computed(() => {
|
85
82
|
let hasValue;
|
86
83
|
if (pathMode.value) {
|
@@ -1,12 +1,9 @@
|
|
1
1
|
import { defineComponent, resolveComponent, createBlock, createElementBlock, openBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createElementVNode, createCommentVNode, withModifiers } from "vue";
|
2
|
-
import
|
2
|
+
import useCascaderContext from "./hooks/useContext.js";
|
3
3
|
import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
|
4
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
5
|
-
/* empty css
|
6
|
-
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
4
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
|
5
|
+
/* empty css */
|
7
6
|
import "../_shared/utils/dom.js";
|
8
|
-
import "../_shared/utils/time.js";
|
9
|
-
import "../_shared/utils/locale.js";
|
10
7
|
/* empty css */
|
11
8
|
/* empty css */
|
12
9
|
import Spin from "../Spin/index.js";
|
@@ -25,7 +22,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
25
22
|
},
|
26
23
|
emits: ["clear"],
|
27
24
|
setup(__props) {
|
28
|
-
const { slots } =
|
25
|
+
const { slots } = useCascaderContext().inject();
|
29
26
|
const renderIcon = (name) => {
|
30
27
|
return slots[name];
|
31
28
|
};
|
@@ -36,7 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
36
33
|
size: 12,
|
37
34
|
class: "yc-cascader-loading-icon"
|
38
35
|
}, createSlots({ _: 2 }, [
|
39
|
-
|
36
|
+
unref(slots)["loading-icon"] ? {
|
40
37
|
name: "icon",
|
41
38
|
fn: withCtx(() => [
|
42
39
|
(openBlock(), createBlock(resolveDynamicComponent(renderIcon("loading-icon"))))
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { CascaderOptionProps, CascaderOptionValue } from './type';
|
2
2
|
declare const _default: import('vue').DefineComponent<CascaderOptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CascaderOptionProps> & Readonly<{}>, {
|
3
|
+
label: string;
|
3
4
|
disabled: boolean;
|
4
5
|
value: CascaderOptionValue;
|
5
6
|
children: import('./type').CascaderOption[];
|
6
|
-
label: string;
|
7
7
|
index: number;
|
8
8
|
render: import('vue').RenderFunction;
|
9
9
|
tagProps: import('..').TagProps;
|
@@ -1,16 +1,13 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, createElementBlock, openBlock, normalizeClass, unref, createBlock, createCommentVNode, createElementVNode, resolveDynamicComponent } from "vue";
|
2
|
-
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
2
|
import { sleep } from "../_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/IconArrowRight.vue.js";
|
11
7
|
import _sfc_main$2 from "../_shared/icons/IconLoading.vue.js";
|
8
|
+
import { isFunction } from "../_shared/utils/is.js";
|
12
9
|
import Checkbox from "../Checkbox/index.js";
|
13
|
-
import
|
10
|
+
import useCascaderContext, { getLeafNodes, findOptionByValueAndLevel } from "./hooks/useContext.js";
|
14
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
15
12
|
__name: "CascaderOption",
|
16
13
|
props: {
|
@@ -44,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
44
41
|
getValueKey,
|
45
42
|
blur,
|
46
43
|
loadMore
|
47
|
-
} =
|
44
|
+
} = useCascaderContext().inject();
|
48
45
|
const loading = ref(false);
|
49
46
|
const showArrow = computed(() => {
|
50
47
|
if (isFunction(loadMore)) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, TransitionGroup, withCtx, createElementBlock, unref, resolveDynamicComponent, Fragment, renderList, withDirectives, normalizeStyle, createVNode, createElementVNode, mergeProps, vShow } from "vue";
|
2
|
-
import
|
2
|
+
import useCascaderContext, { findOptions } from "./hooks/useContext.js";
|
3
3
|
import _sfc_main$1 from "./CascaderOption.vue.js";
|
4
4
|
/* empty css */
|
5
5
|
import Scrollbar from "../Scrollbar/index.js";
|
@@ -12,7 +12,7 @@ const _hoisted_1 = {
|
|
12
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
13
13
|
__name: "CascaderPanel",
|
14
14
|
setup(__props) {
|
15
|
-
const { options, curLevel, curPath, maxLevel, loading, slots } =
|
15
|
+
const { options, curLevel, curPath, maxLevel, loading, slots } = useCascaderContext().inject();
|
16
16
|
return (_ctx, _cache) => {
|
17
17
|
return openBlock(), createBlock(TransitionGroup, {
|
18
18
|
tag: "div",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createCommentVNode, createVNode, unref, createBlock, resolveDynamicComponent, withCtx, createElementVNode, Fragment, renderList, mergeProps } from "vue";
|
2
|
-
import
|
2
|
+
import useCascaderContext from "./hooks/useContext.js";
|
3
3
|
import _sfc_main$1 from "./CascaderOption.vue.js";
|
4
4
|
/* empty css */
|
5
5
|
import Scrollbar from "../Scrollbar/index.js";
|
@@ -16,7 +16,7 @@ const _hoisted_3 = {
|
|
16
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
17
17
|
__name: "CascaderSearchPanel",
|
18
18
|
setup(__props) {
|
19
|
-
const { searchOptions, slots } =
|
19
|
+
const { searchOptions, slots } = useCascaderContext().inject();
|
20
20
|
return (_ctx, _cache) => {
|
21
21
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
22
22
|
!unref(searchOptions).length ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
@@ -27,7 +27,7 @@ export declare const flattenOptions: (options: CascaderOptionProps[]) => Cascade
|
|
27
27
|
export declare const findOptions: (options: CascaderOptionProps[], level: number, parentPath: number[]) => CascaderOptionProps[];
|
28
28
|
export declare function findOptionByValueAndLevel(options: CascaderOption[], value: CascaderOptionValue, level: number, currentLevel?: number): CascaderOption | undefined;
|
29
29
|
export declare const getLeafNodes: (nodes: CascaderOptionProps[]) => CascaderOptionProps[];
|
30
|
-
|
30
|
+
export default function useCascaderContext(): {
|
31
31
|
provide: (props: RecordType, emits: CascaderEmits, inputRef: Ref<InputInstance | undefined>) => {
|
32
32
|
computedValue: import('vue').WritableComputedRef<CascaderValue, CascaderValue>;
|
33
33
|
computedInputValue: import('vue').WritableComputedRef<string, string>;
|
@@ -50,4 +50,4 @@ declare const _default: () => {
|
|
50
50
|
};
|
51
51
|
inject: () => CascaderContext;
|
52
52
|
};
|
53
|
-
export
|
53
|
+
export {};
|
@@ -1,10 +1,6 @@
|
|
1
1
|
import { toRefs, ref, computed, useSlots, watch, provide, inject } from "vue";
|
2
|
-
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
-
import "../../_shared/utils/dom.js";
|
4
2
|
import { isBoolean, isFunction, isArray, isObject } from "../../_shared/utils/is.js";
|
5
|
-
import "../../_shared/utils/
|
6
|
-
import "../../_shared/utils/locale.js";
|
7
|
-
import useControlValue from "../../_shared/utils/control.js";
|
3
|
+
import { useControlValue } from "../../_shared/utils/control.js";
|
8
4
|
const CASCADER_CONTEXT_KEY = "cascader-context";
|
9
5
|
const transformOptions = (options, level = 1, nodePath = []) => {
|
10
6
|
return options.map((option, index) => {
|
@@ -109,7 +105,7 @@ function transformField(options, fieldKeys) {
|
|
109
105
|
return transformed;
|
110
106
|
});
|
111
107
|
}
|
112
|
-
|
108
|
+
function useCascaderContext() {
|
113
109
|
const provide$1 = (props, emits, inputRef) => {
|
114
110
|
const {
|
115
111
|
modelValue,
|
@@ -322,9 +318,9 @@ const useContext = () => {
|
|
322
318
|
provide: provide$1,
|
323
319
|
inject: inject$1
|
324
320
|
};
|
325
|
-
}
|
321
|
+
}
|
326
322
|
export {
|
327
|
-
|
323
|
+
useCascaderContext as default,
|
328
324
|
findOptionByValueAndLevel,
|
329
325
|
findOptions,
|
330
326
|
flattenOptions,
|
package/es/Cascader/index.d.ts
CHANGED
@@ -5,33 +5,33 @@ export * from './type';
|
|
5
5
|
declare const Cascader: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').CascaderProps> & Readonly<{
|
7
7
|
onChange?: ((value: import('./type').CascaderValue) => any) | undefined;
|
8
|
+
onClear?: (() => any) | undefined;
|
9
|
+
onSearch?: ((value: string) => any) | undefined;
|
10
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
8
11
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
9
12
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
10
13
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
11
|
-
onClear?: (() => any) | undefined;
|
12
|
-
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
13
|
-
onSearch?: ((value: string) => any) | undefined;
|
14
14
|
"onUpdate:modelValue"?: ((value: import('./type').CascaderValue) => any) | undefined;
|
15
15
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
16
16
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
17
17
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
18
18
|
change: (value: import('./type').CascaderValue) => any;
|
19
|
+
clear: () => any;
|
20
|
+
search: (value: string) => any;
|
21
|
+
blur: (ev: FocusEvent) => any;
|
19
22
|
focus: (ev: FocusEvent) => any;
|
20
23
|
"update:popupVisible": (value: boolean) => any;
|
21
24
|
"popup-visible-change": (value: boolean) => any;
|
22
|
-
clear: () => any;
|
23
|
-
blur: (ev: FocusEvent) => any;
|
24
|
-
search: (value: string) => any;
|
25
25
|
"update:modelValue": (value: import('./type').CascaderValue) => any;
|
26
26
|
"update:inputValue": (value: string) => any;
|
27
27
|
"input-value-change": (value: string) => any;
|
28
28
|
}, import('vue').PublicProps, {
|
29
29
|
size: import('..').Size;
|
30
|
+
error: boolean;
|
31
|
+
popupContainer: import('..').PopupContainer;
|
30
32
|
popupVisible: boolean;
|
31
33
|
defaultPopupVisible: boolean;
|
32
34
|
disabled: boolean;
|
33
|
-
popupContainer: import('..').PopupContainer;
|
34
|
-
error: boolean;
|
35
35
|
multiple: boolean;
|
36
36
|
placeholder: string;
|
37
37
|
loading: boolean;
|
@@ -80,10 +80,10 @@ declare const Cascader: {
|
|
80
80
|
readonly invisibleButton?: boolean | undefined;
|
81
81
|
readonly showInput?: boolean | undefined;
|
82
82
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
83
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
84
83
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
85
|
-
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
86
84
|
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
85
|
+
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
86
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
87
87
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
88
88
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
89
89
|
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -104,14 +104,14 @@ declare const Cascader: {
|
|
104
104
|
$root: import('vue').ComponentPublicInstance | null;
|
105
105
|
$parent: import('vue').ComponentPublicInstance | null;
|
106
106
|
$host: Element | null;
|
107
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "
|
107
|
+
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
|
108
108
|
$el: HTMLDivElement;
|
109
109
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputProps> & Readonly<{
|
110
110
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
111
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
112
111
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
113
|
-
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
114
112
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
113
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
114
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
115
115
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
116
116
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
117
117
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -123,10 +123,10 @@ declare const Cascader: {
|
|
123
123
|
getInputRef(): HTMLInputElement;
|
124
124
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
125
125
|
change: (value: string, ev: Event) => any;
|
126
|
-
focus: (ev: FocusEvent) => any;
|
127
126
|
clear: (ev: MouseEvent) => any;
|
128
|
-
blur: (ev: FocusEvent) => any;
|
129
127
|
input: (value: string, ev: Event) => any;
|
128
|
+
blur: (ev: FocusEvent) => any;
|
129
|
+
focus: (ev: FocusEvent) => any;
|
130
130
|
keydown: (ev: KeyboardEvent) => any;
|
131
131
|
"update:modelValue": (value: string) => any;
|
132
132
|
"update:visibility": (value: boolean) => any;
|
@@ -134,8 +134,8 @@ declare const Cascader: {
|
|
134
134
|
pressEnter: (ev: KeyboardEvent) => any;
|
135
135
|
}, string, {
|
136
136
|
size: import('..').Size;
|
137
|
-
disabled: boolean;
|
138
137
|
error: boolean;
|
138
|
+
disabled: boolean;
|
139
139
|
placeholder: string;
|
140
140
|
modelValue: string;
|
141
141
|
defaultValue: string;
|
@@ -173,8 +173,8 @@ declare const Cascader: {
|
|
173
173
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
174
174
|
} & Readonly<{
|
175
175
|
size: import('..').Size;
|
176
|
-
disabled: boolean;
|
177
176
|
error: boolean;
|
177
|
+
disabled: boolean;
|
178
178
|
placeholder: string;
|
179
179
|
modelValue: string;
|
180
180
|
defaultValue: string;
|
@@ -192,21 +192,21 @@ declare const Cascader: {
|
|
192
192
|
showInput: boolean;
|
193
193
|
}> & Omit<Readonly<import('..').InputProps> & Readonly<{
|
194
194
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
195
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
196
195
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
197
|
-
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
198
196
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
197
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
198
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
199
199
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
200
200
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
201
201
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
202
202
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
203
203
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
204
|
-
}>, "
|
204
|
+
}>, "blur" | "focus" | "getInputRef" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
205
205
|
focus(): void;
|
206
206
|
blur(): void;
|
207
207
|
getInputRef(): HTMLInputElement;
|
208
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
209
|
-
$slots:
|
208
|
+
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
209
|
+
$slots: any;
|
210
210
|
}) | null;
|
211
211
|
}, any, import('vue').ComponentProvideOptions, {
|
212
212
|
P: {};
|
@@ -217,22 +217,22 @@ declare const Cascader: {
|
|
217
217
|
Defaults: {};
|
218
218
|
}, Readonly<import('./type').CascaderProps> & Readonly<{
|
219
219
|
onChange?: ((value: import('./type').CascaderValue) => any) | undefined;
|
220
|
+
onClear?: (() => any) | undefined;
|
221
|
+
onSearch?: ((value: string) => any) | undefined;
|
222
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
220
223
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
221
224
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
222
225
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
223
|
-
onClear?: (() => any) | undefined;
|
224
|
-
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
225
|
-
onSearch?: ((value: string) => any) | undefined;
|
226
226
|
"onUpdate:modelValue"?: ((value: import('./type').CascaderValue) => any) | undefined;
|
227
227
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
228
228
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
229
229
|
}>, {}, {}, {}, {}, {
|
230
230
|
size: import('..').Size;
|
231
|
+
error: boolean;
|
232
|
+
popupContainer: import('..').PopupContainer;
|
231
233
|
popupVisible: boolean;
|
232
234
|
defaultPopupVisible: boolean;
|
233
235
|
disabled: boolean;
|
234
|
-
popupContainer: import('..').PopupContainer;
|
235
|
-
error: boolean;
|
236
236
|
multiple: boolean;
|
237
237
|
placeholder: string;
|
238
238
|
loading: boolean;
|
@@ -263,33 +263,33 @@ declare const Cascader: {
|
|
263
263
|
__isSuspense?: never;
|
264
264
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').CascaderProps> & Readonly<{
|
265
265
|
onChange?: ((value: import('./type').CascaderValue) => any) | undefined;
|
266
|
+
onClear?: (() => any) | undefined;
|
267
|
+
onSearch?: ((value: string) => any) | undefined;
|
268
|
+
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
266
269
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
267
270
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
268
271
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
269
|
-
onClear?: (() => any) | undefined;
|
270
|
-
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
271
|
-
onSearch?: ((value: string) => any) | undefined;
|
272
272
|
"onUpdate:modelValue"?: ((value: import('./type').CascaderValue) => any) | undefined;
|
273
273
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
274
274
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
275
275
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
276
276
|
change: (value: import('./type').CascaderValue) => any;
|
277
|
+
clear: () => any;
|
278
|
+
search: (value: string) => any;
|
279
|
+
blur: (ev: FocusEvent) => any;
|
277
280
|
focus: (ev: FocusEvent) => any;
|
278
281
|
"update:popupVisible": (value: boolean) => any;
|
279
282
|
"popup-visible-change": (value: boolean) => any;
|
280
|
-
clear: () => any;
|
281
|
-
blur: (ev: FocusEvent) => any;
|
282
|
-
search: (value: string) => any;
|
283
283
|
"update:modelValue": (value: import('./type').CascaderValue) => any;
|
284
284
|
"update:inputValue": (value: string) => any;
|
285
285
|
"input-value-change": (value: string) => any;
|
286
286
|
}, string, {
|
287
287
|
size: import('..').Size;
|
288
|
+
error: boolean;
|
289
|
+
popupContainer: import('..').PopupContainer;
|
288
290
|
popupVisible: boolean;
|
289
291
|
defaultPopupVisible: boolean;
|
290
292
|
disabled: boolean;
|
291
|
-
popupContainer: import('..').PopupContainer;
|
292
|
-
error: boolean;
|
293
293
|
multiple: boolean;
|
294
294
|
placeholder: string;
|
295
295
|
loading: boolean;
|
@@ -316,9 +316,7 @@ declare const Cascader: {
|
|
316
316
|
fallback: boolean | import('..').FallBack<import('./type').CascaderOptionValue | import('./type').CascaderOptionValue[], string>;
|
317
317
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
318
318
|
$slots: {
|
319
|
-
label?(_:
|
320
|
-
tag: import('..').RecordType;
|
321
|
-
}): any;
|
319
|
+
label?(_: any): any;
|
322
320
|
label?(_: {
|
323
321
|
data: import('..').RecordType;
|
324
322
|
}): any;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { CheckboxProps
|
1
|
+
import { CheckboxProps } from './type';
|
2
2
|
declare function __VLS_template(): {
|
3
3
|
attrs: Partial<{}>;
|
4
|
-
slots:
|
4
|
+
slots: any;
|
5
5
|
refs: {};
|
6
6
|
rootEl: HTMLLabelElement;
|
7
7
|
};
|