yc-design-vue 1.0.1
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/LICENSE +201 -0
- package/README.md +87 -0
- package/es/Affix/index.d.ts +61 -0
- package/es/Affix/index.js +9 -0
- package/es/Affix/index.vue.d.ts +33 -0
- package/es/Affix/index.vue.js +108 -0
- package/es/Affix/index.vue2.js +4 -0
- package/es/Affix/type.d.ts +16 -0
- package/es/Alert/index.d.ts +63 -0
- package/es/Alert/index.js +9 -0
- package/es/Alert/index.vue.d.ts +29 -0
- package/es/Alert/index.vue.js +7 -0
- package/es/Alert/index.vue2.js +101 -0
- package/es/Alert/type.d.ts +20 -0
- package/es/Anchor/Anchor.vue.d.ts +26 -0
- package/es/Anchor/Anchor.vue.js +7 -0
- package/es/Anchor/Anchor.vue2.js +74 -0
- package/es/Anchor/AnchorLink.vue.d.ts +23 -0
- package/es/Anchor/AnchorLink.vue.js +7 -0
- package/es/Anchor/AnchorLink.vue2.js +77 -0
- package/es/Anchor/hooks/useContext.d.ts +23 -0
- package/es/Anchor/hooks/useContext.js +71 -0
- package/es/Anchor/index.d.ts +77 -0
- package/es/Anchor/index.js +13 -0
- package/es/Anchor/type.d.ts +20 -0
- package/es/AutoComplete/index.d.ts +747 -0
- package/es/AutoComplete/index.js +10 -0
- package/es/AutoComplete/index.vue.d.ts +1267 -0
- package/es/AutoComplete/index.vue.js +202 -0
- package/es/AutoComplete/index.vue3.js +5 -0
- package/es/AutoComplete/type.d.ts +45 -0
- package/es/Avatar/Avatar.vue.d.ts +38 -0
- package/es/Avatar/Avatar.vue.js +7 -0
- package/es/Avatar/Avatar.vue2.js +116 -0
- package/es/Avatar/AvatarGroup.vue.d.ts +24 -0
- package/es/Avatar/AvatarGroup.vue.js +7 -0
- package/es/Avatar/AvatarGroup.vue2.js +96 -0
- package/es/Avatar/hooks/useContext.d.ts +10 -0
- package/es/Avatar/hooks/useContext.js +42 -0
- package/es/Avatar/index.d.ts +117 -0
- package/es/Avatar/index.js +13 -0
- package/es/Avatar/type.d.ts +35 -0
- package/es/BackTop/index.d.ts +41 -0
- package/es/BackTop/index.js +9 -0
- package/es/BackTop/index.vue.d.ts +24 -0
- package/es/BackTop/index.vue.js +7 -0
- package/es/BackTop/index.vue2.js +83 -0
- package/es/BackTop/type.d.ts +10 -0
- package/es/Badge/index.d.ts +54 -0
- package/es/Badge/index.js +9 -0
- package/es/Badge/index.vue.d.ts +25 -0
- package/es/Badge/index.vue.js +7 -0
- package/es/Badge/index.vue2.js +93 -0
- package/es/Badge/type.d.ts +16 -0
- package/es/Breadcrumb/Breadcrumb.vue.d.ts +21 -0
- package/es/Breadcrumb/Breadcrumb.vue.js +7 -0
- package/es/Breadcrumb/Breadcrumb.vue2.js +118 -0
- package/es/Breadcrumb/BreadcrumbItem.vue.d.ts +22 -0
- package/es/Breadcrumb/BreadcrumbItem.vue.js +7 -0
- package/es/Breadcrumb/BreadcrumbItem.vue2.js +76 -0
- package/es/Breadcrumb/BreadcrumbMore.vue.d.ts +6 -0
- package/es/Breadcrumb/BreadcrumbMore.vue.js +27 -0
- package/es/Breadcrumb/BreadcrumbMore.vue2.js +4 -0
- package/es/Breadcrumb/BreadcrumbSeparator.vue.d.ts +9 -0
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +7 -0
- package/es/Breadcrumb/BreadcrumbSeparator.vue2.js +44 -0
- package/es/Breadcrumb/index.d.ts +79 -0
- package/es/Breadcrumb/index.js +13 -0
- package/es/Breadcrumb/type.d.ts +37 -0
- package/es/Button/Button.vue.d.ts +38 -0
- package/es/Button/Button.vue.js +7 -0
- package/es/Button/Button.vue2.js +107 -0
- package/es/Button/ButtonGroup.vue.d.ts +22 -0
- package/es/Button/ButtonGroup.vue.js +33 -0
- package/es/Button/ButtonGroup.vue3.js +5 -0
- package/es/Button/hooks/useContext.d.ts +13 -0
- package/es/Button/hooks/useContext.js +63 -0
- package/es/Button/index.d.ts +124 -0
- package/es/Button/index.js +14 -0
- package/es/Button/type.d.ts +37 -0
- package/es/Calendar/Calendar.vue.d.ts +32 -0
- package/es/Calendar/Calendar.vue.js +7 -0
- package/es/Calendar/Calendar.vue2.js +208 -0
- package/es/Calendar/CalendarMonth.vue.d.ts +35 -0
- package/es/Calendar/CalendarMonth.vue.js +7 -0
- package/es/Calendar/CalendarMonth.vue2.js +116 -0
- package/es/Calendar/CalendarYear.vue.d.ts +30 -0
- package/es/Calendar/CalendarYear.vue.js +7 -0
- package/es/Calendar/CalendarYear.vue2.js +96 -0
- package/es/Calendar/index.d.ts +70 -0
- package/es/Calendar/index.js +9 -0
- package/es/Calendar/type.d.ts +25 -0
- package/es/Card/Card.vue.d.ts +25 -0
- package/es/Card/Card.vue.js +7 -0
- package/es/Card/Card.vue2.js +121 -0
- package/es/Card/CardGrid.vue.d.ts +18 -0
- package/es/Card/CardGrid.vue.js +7 -0
- package/es/Card/CardGrid.vue2.js +27 -0
- package/es/Card/CardMeta.vue.d.ts +19 -0
- package/es/Card/CardMeta.vue.js +7 -0
- package/es/Card/CardMeta.vue2.js +70 -0
- package/es/Card/hooks/useContext.d.ts +13 -0
- package/es/Card/hooks/useContext.js +25 -0
- package/es/Card/index.d.ts +106 -0
- package/es/Card/index.js +17 -0
- package/es/Card/type.d.ts +34 -0
- package/es/Carousel/Carousel.vue.d.ts +36 -0
- package/es/Carousel/Carousel.vue.js +7 -0
- package/es/Carousel/Carousel.vue2.js +131 -0
- package/es/Carousel/CarouselArrow.vue.d.ts +9 -0
- package/es/Carousel/CarouselArrow.vue.js +7 -0
- package/es/Carousel/CarouselArrow.vue2.js +55 -0
- package/es/Carousel/CarouselIndicator.vue.d.ts +14 -0
- package/es/Carousel/CarouselIndicator.vue.js +7 -0
- package/es/Carousel/CarouselIndicator.vue2.js +58 -0
- package/es/Carousel/CarouselItem.vue.d.ts +16 -0
- package/es/Carousel/CarouselItem.vue.js +7 -0
- package/es/Carousel/CarouselItem.vue2.js +55 -0
- package/es/Carousel/hooks/useContext.d.ts +28 -0
- package/es/Carousel/hooks/useContext.js +106 -0
- package/es/Carousel/index.d.ts +103 -0
- package/es/Carousel/index.js +13 -0
- package/es/Carousel/type.d.ts +35 -0
- package/es/Cascader/Cascader.vue.d.ts +382 -0
- package/es/Cascader/Cascader.vue.js +7 -0
- package/es/Cascader/Cascader.vue2.js +287 -0
- package/es/Cascader/CascaderIcon.vue.d.ts +12 -0
- package/es/Cascader/CascaderIcon.vue.js +7 -0
- package/es/Cascader/CascaderIcon.vue2.js +66 -0
- package/es/Cascader/CascaderOption.vue.d.ts +14 -0
- package/es/Cascader/CascaderOption.vue.js +7 -0
- package/es/Cascader/CascaderOption.vue2.js +208 -0
- package/es/Cascader/CascaderPanel.vue.d.ts +2 -0
- package/es/Cascader/CascaderPanel.vue.js +7 -0
- package/es/Cascader/CascaderPanel.vue2.js +63 -0
- package/es/Cascader/CascaderSearchPanel.vue.d.ts +2 -0
- package/es/Cascader/CascaderSearchPanel.vue.js +7 -0
- package/es/Cascader/CascaderSearchPanel.vue2.js +44 -0
- package/es/Cascader/hooks/useContext.d.ts +53 -0
- package/es/Cascader/hooks/useContext.js +334 -0
- package/es/Cascader/index.d.ts +336 -0
- package/es/Cascader/index.js +9 -0
- package/es/Cascader/type.d.ts +80 -0
- package/es/Checkbox/Checkbox.vue.d.ts +28 -0
- package/es/Checkbox/Checkbox.vue.js +7 -0
- package/es/Checkbox/Checkbox.vue2.js +115 -0
- package/es/Checkbox/CheckboxGroup.vue.d.ts +29 -0
- package/es/Checkbox/CheckboxGroup.vue.js +56 -0
- package/es/Checkbox/CheckboxGroup.vue3.js +5 -0
- package/es/Checkbox/hooks/useContext.d.ts +19 -0
- package/es/Checkbox/hooks/useContext.js +57 -0
- package/es/Checkbox/index.d.ts +115 -0
- package/es/Checkbox/index.js +14 -0
- package/es/Checkbox/type.d.ts +48 -0
- package/es/Collapse/Collapse.vue.d.ts +30 -0
- package/es/Collapse/Collapse.vue.js +7 -0
- package/es/Collapse/Collapse.vue2.js +38 -0
- package/es/Collapse/CollapseItem.vue.d.ts +22 -0
- package/es/Collapse/CollapseItem.vue.js +7 -0
- package/es/Collapse/CollapseItem.vue2.js +129 -0
- package/es/Collapse/hooks/useContext.d.ts +26 -0
- package/es/Collapse/hooks/useContext.js +68 -0
- package/es/Collapse/index.d.ts +103 -0
- package/es/Collapse/index.js +13 -0
- package/es/Collapse/type.d.ts +40 -0
- package/es/ColorPicker/ColorControl.vue.d.ts +25 -0
- package/es/ColorPicker/ColorControl.vue.js +7 -0
- package/es/ColorPicker/ColorControl.vue2.js +113 -0
- package/es/ColorPicker/ColorInput.vue.d.ts +19 -0
- package/es/ColorPicker/ColorInput.vue.js +8 -0
- package/es/ColorPicker/ColorInput.vue2.js +161 -0
- package/es/ColorPicker/ColorList.vue.d.ts +10 -0
- package/es/ColorPicker/ColorList.vue.js +7 -0
- package/es/ColorPicker/ColorList.vue2.js +47 -0
- package/es/ColorPicker/ColorPalette.vue.d.ts +20 -0
- package/es/ColorPicker/ColorPalette.vue.js +7 -0
- package/es/ColorPicker/ColorPalette.vue2.js +101 -0
- package/es/ColorPicker/ColorPanel.vue.d.ts +127 -0
- package/es/ColorPicker/ColorPanel.vue.js +7 -0
- package/es/ColorPicker/ColorPanel.vue2.js +144 -0
- package/es/ColorPicker/ColorPicker.vue.d.ts +40 -0
- package/es/ColorPicker/ColorPicker.vue.js +7 -0
- package/es/ColorPicker/ColorPicker.vue2.js +87 -0
- package/es/ColorPicker/hooks/useContext.d.ts +27 -0
- package/es/ColorPicker/hooks/useContext.js +92 -0
- package/es/ColorPicker/index.d.ts +91 -0
- package/es/ColorPicker/index.js +9 -0
- package/es/ColorPicker/type.d.ts +23 -0
- package/es/Comment/hooks/useContext.d.ts +4 -0
- package/es/Comment/hooks/useContext.js +23 -0
- package/es/Comment/index.d.ts +45 -0
- package/es/Comment/index.js +9 -0
- package/es/Comment/index.vue.d.ts +22 -0
- package/es/Comment/index.vue.js +7 -0
- package/es/Comment/index.vue2.js +110 -0
- package/es/Comment/type.d.ts +19 -0
- package/es/ConfigProvider/index.d.ts +48 -0
- package/es/ConfigProvider/index.js +9 -0
- package/es/ConfigProvider/index.vue.d.ts +23 -0
- package/es/ConfigProvider/index.vue.js +46 -0
- package/es/ConfigProvider/index.vue2.js +4 -0
- package/es/ConfigProvider/type.d.ts +17 -0
- package/es/Descriptions/Descriptions.vue.d.ts +27 -0
- package/es/Descriptions/Descriptions.vue.js +163 -0
- package/es/Descriptions/Descriptions.vue3.js +5 -0
- package/es/Descriptions/DescriptionsItem.vue.d.ts +19 -0
- package/es/Descriptions/DescriptionsItem.vue.js +19 -0
- package/es/Descriptions/DescriptionsItem.vue2.js +4 -0
- package/es/Descriptions/ReuseItem.vue.d.ts +7 -0
- package/es/Descriptions/ReuseItem.vue.js +7 -0
- package/es/Descriptions/ReuseItem.vue2.js +62 -0
- package/es/Descriptions/ReuseTd.vue.d.ts +9 -0
- package/es/Descriptions/ReuseTd.vue.js +7 -0
- package/es/Descriptions/ReuseTd.vue2.js +56 -0
- package/es/Descriptions/hooks/useContext.d.ts +21 -0
- package/es/Descriptions/hooks/useContext.js +77 -0
- package/es/Descriptions/index.d.ts +88 -0
- package/es/Descriptions/index.js +14 -0
- package/es/Descriptions/type.d.ts +50 -0
- package/es/Divider/index.d.ts +45 -0
- package/es/Divider/index.js +9 -0
- package/es/Divider/index.vue.d.ts +22 -0
- package/es/Divider/index.vue.js +7 -0
- package/es/Divider/index.vue2.js +55 -0
- package/es/Divider/type.d.ts +13 -0
- package/es/Drawer/Drawer.vue.d.ts +58 -0
- package/es/Drawer/Drawer.vue.js +7 -0
- package/es/Drawer/Drawer.vue2.js +203 -0
- package/es/Drawer/DrawerService.vue.d.ts +26 -0
- package/es/Drawer/DrawerService.vue.js +106 -0
- package/es/Drawer/DrawerService.vue2.js +4 -0
- package/es/Drawer/index.d.ts +145 -0
- package/es/Drawer/index.js +37 -0
- package/es/Drawer/type.d.ts +60 -0
- package/es/Dropdown/Dgroup.vue.d.ts +16 -0
- package/es/Dropdown/Dgroup.vue.js +7 -0
- package/es/Dropdown/Dgroup.vue2.js +26 -0
- package/es/Dropdown/Doption.vue.d.ts +24 -0
- package/es/Dropdown/Doption.vue.js +7 -0
- package/es/Dropdown/Doption.vue2.js +63 -0
- package/es/Dropdown/Dropdown.vue.d.ts +38 -0
- package/es/Dropdown/Dropdown.vue.js +111 -0
- package/es/Dropdown/Dropdown.vue3.js +5 -0
- package/es/Dropdown/DropdownButton.vue.d.ts +35 -0
- package/es/Dropdown/DropdownButton.vue.js +84 -0
- package/es/Dropdown/DropdownButton.vue2.js +4 -0
- package/es/Dropdown/Dsubmenu.vue.d.ts +508 -0
- package/es/Dropdown/Dsubmenu.vue.js +7 -0
- package/es/Dropdown/Dsubmenu.vue2.js +157 -0
- package/es/Dropdown/hooks/useContext.d.ts +14 -0
- package/es/Dropdown/hooks/useContext.js +52 -0
- package/es/Dropdown/index.d.ts +522 -0
- package/es/Dropdown/index.js +26 -0
- package/es/Dropdown/type.d.ts +86 -0
- package/es/Empty/index.d.ts +36 -0
- package/es/Empty/index.js +9 -0
- package/es/Empty/index.vue.d.ts +19 -0
- package/es/Empty/index.vue.js +7 -0
- package/es/Empty/index.vue2.js +44 -0
- package/es/Empty/type.d.ts +7 -0
- package/es/Grid/Grid.vue.d.ts +22 -0
- package/es/Grid/Grid.vue.js +7 -0
- package/es/Grid/Grid.vue2.js +42 -0
- package/es/Grid/GridCol.vue.d.ts +19 -0
- package/es/Grid/GridCol.vue.js +49 -0
- package/es/Grid/GridCol.vue2.js +4 -0
- package/es/Grid/GridItem.vue.d.ts +20 -0
- package/es/Grid/GridItem.vue.js +80 -0
- package/es/Grid/GridItem.vue2.js +4 -0
- package/es/Grid/GridRow.vue.d.ts +22 -0
- package/es/Grid/GridRow.vue.js +7 -0
- package/es/Grid/GridRow.vue2.js +49 -0
- package/es/Grid/hooks/useContext.d.ts +43 -0
- package/es/Grid/hooks/useContext.js +97 -0
- package/es/Grid/index.d.ts +136 -0
- package/es/Grid/index.js +21 -0
- package/es/Grid/type.d.ts +52 -0
- package/es/Icon/index.d.ts +38 -0
- package/es/Icon/index.js +29 -0
- package/es/Icon/index.vue.d.ts +18 -0
- package/es/Icon/index.vue.js +7 -0
- package/es/Icon/index.vue2.js +56 -0
- package/es/Icon/type.d.ts +14 -0
- package/es/Image/Image.vue.d.ts +34 -0
- package/es/Image/Image.vue.js +7 -0
- package/es/Image/Image.vue2.js +184 -0
- package/es/Image/ImagePreview.vue.d.ts +39 -0
- package/es/Image/ImagePreview.vue.js +7 -0
- package/es/Image/ImagePreview.vue2.js +211 -0
- package/es/Image/ImagePreviewAction.vue.d.ts +27 -0
- package/es/Image/ImagePreviewAction.vue.js +7 -0
- package/es/Image/ImagePreviewAction.vue2.js +51 -0
- package/es/Image/ImagePreviewArrow.vue.d.ts +5 -0
- package/es/Image/ImagePreviewArrow.vue.js +7 -0
- package/es/Image/ImagePreviewArrow.vue2.js +27 -0
- package/es/Image/ImagePreviewGroup.vue.d.ts +42 -0
- package/es/Image/ImagePreviewGroup.vue.js +110 -0
- package/es/Image/ImagePreviewGroup.vue2.js +4 -0
- package/es/Image/ImagePreviewToolbar.vue.d.ts +26 -0
- package/es/Image/ImagePreviewToolbar.vue.js +7 -0
- package/es/Image/ImagePreviewToolbar.vue2.js +74 -0
- package/es/Image/hooks/useContext.d.ts +17 -0
- package/es/Image/hooks/useContext.js +81 -0
- package/es/Image/index.d.ts +291 -0
- package/es/Image/index.js +21 -0
- package/es/Image/type.d.ts +82 -0
- package/es/Input/Input.vue.d.ts +65 -0
- package/es/Input/Input.vue.js +7 -0
- package/es/Input/Input.vue2.js +231 -0
- package/es/Input/InputSuffix.vue.d.ts +31 -0
- package/es/Input/InputSuffix.vue.js +7 -0
- package/es/Input/InputSuffix.vue2.js +51 -0
- package/es/Input/hooks/useCursor.d.ts +19 -0
- package/es/Input/hooks/useCursor.js +52 -0
- package/es/Input/hooks/useLimitedInput.d.ts +21 -0
- package/es/Input/hooks/useLimitedInput.js +124 -0
- package/es/Input/index.d.ts +153 -0
- package/es/Input/index.js +9 -0
- package/es/Input/type.d.ts +51 -0
- package/es/InputNumber/InputNumber.vue.d.ts +358 -0
- package/es/InputNumber/InputNumber.vue.js +7 -0
- package/es/InputNumber/InputNumber.vue2.js +271 -0
- package/es/InputNumber/InputOperaBtn.vue.d.ts +32 -0
- package/es/InputNumber/InputOperaBtn.vue.js +7 -0
- package/es/InputNumber/InputOperaBtn.vue2.js +58 -0
- package/es/InputNumber/index.d.ts +284 -0
- package/es/InputNumber/index.js +9 -0
- package/es/InputNumber/type.d.ts +50 -0
- package/es/InputTag/index.d.ts +140 -0
- package/es/InputTag/index.js +9 -0
- package/es/InputTag/index.vue.d.ts +62 -0
- package/es/InputTag/index.vue.js +7 -0
- package/es/InputTag/index.vue2.js +323 -0
- package/es/InputTag/type.d.ts +56 -0
- package/es/Layout/Layout.vue.d.ts +18 -0
- package/es/Layout/Layout.vue.js +7 -0
- package/es/Layout/Layout.vue2.js +45 -0
- package/es/Layout/LayoutContent.vue.d.ts +16 -0
- package/es/Layout/LayoutContent.vue.js +7 -0
- package/es/Layout/LayoutContent.vue2.js +18 -0
- package/es/Layout/LayoutFooter.vue.d.ts +16 -0
- package/es/Layout/LayoutFooter.vue.js +7 -0
- package/es/Layout/LayoutFooter.vue2.js +18 -0
- package/es/Layout/LayoutHeader.vue.d.ts +16 -0
- package/es/Layout/LayoutHeader.vue.js +7 -0
- package/es/Layout/LayoutHeader.vue2.js +18 -0
- package/es/Layout/LayoutSider.vue.d.ts +35 -0
- package/es/Layout/LayoutSider.vue.js +7 -0
- package/es/Layout/LayoutSider.vue2.js +134 -0
- package/es/Layout/index.d.ts +159 -0
- package/es/Layout/index.js +25 -0
- package/es/Layout/type.d.ts +41 -0
- package/es/Link/index.d.ts +68 -0
- package/es/Link/index.js +9 -0
- package/es/Link/index.vue.d.ts +31 -0
- package/es/Link/index.vue.js +7 -0
- package/es/Link/index.vue2.js +71 -0
- package/es/Link/type.d.ts +18 -0
- package/es/List/List.vue.d.ts +303 -0
- package/es/List/List.vue.js +7 -0
- package/es/List/List.vue2.js +226 -0
- package/es/List/ListItem.vue.d.ts +18 -0
- package/es/List/ListItem.vue.js +7 -0
- package/es/List/ListItem.vue2.js +58 -0
- package/es/List/ListItemMeta.vue.d.ts +19 -0
- package/es/List/ListItemMeta.vue.js +7 -0
- package/es/List/ListItemMeta.vue2.js +49 -0
- package/es/List/ListVirtual.vue.d.ts +26 -0
- package/es/List/ListVirtual.vue.js +34 -0
- package/es/List/ListVirtual.vue3.js +5 -0
- package/es/List/hooks/useScrollReach.d.ts +17 -0
- package/es/List/hooks/useScrollReach.js +32 -0
- package/es/List/index.d.ts +275 -0
- package/es/List/index.js +17 -0
- package/es/List/type.d.ts +54 -0
- package/es/Mention/index.d.ts +852 -0
- package/es/Mention/index.js +9 -0
- package/es/Mention/index.vue.d.ts +1536 -0
- package/es/Mention/index.vue.js +182 -0
- package/es/Mention/index.vue2.js +4 -0
- package/es/Mention/type.d.ts +31 -0
- package/es/Menu/Menu.vue.d.ts +54 -0
- package/es/Menu/Menu.vue.js +7 -0
- package/es/Menu/Menu.vue2.js +94 -0
- package/es/Menu/MenuEllipsis.vue.d.ts +2 -0
- package/es/Menu/MenuEllipsis.vue.js +7 -0
- package/es/Menu/MenuEllipsis.vue2.js +95 -0
- package/es/Menu/MenuItem.vue.d.ts +23 -0
- package/es/Menu/MenuItem.vue.js +7 -0
- package/es/Menu/MenuItem.vue2.js +234 -0
- package/es/Menu/MenuItemGroup.vue.d.ts +18 -0
- package/es/Menu/MenuItemGroup.vue.js +7 -0
- package/es/Menu/MenuItemGroup.vue2.js +42 -0
- package/es/Menu/MenuPopOption.vue.d.ts +10 -0
- package/es/Menu/MenuPopOption.vue.js +57 -0
- package/es/Menu/MenuPopOption.vue2.js +4 -0
- package/es/Menu/SubMenu.vue.d.ts +22 -0
- package/es/Menu/SubMenu.vue.js +7 -0
- package/es/Menu/SubMenu.vue2.js +78 -0
- package/es/Menu/hooks/useContext.d.ts +50 -0
- package/es/Menu/hooks/useContext.js +263 -0
- package/es/Menu/index.d.ts +214 -0
- package/es/Menu/index.js +21 -0
- package/es/Menu/type.d.ts +68 -0
- package/es/Message/Message.vue.d.ts +15 -0
- package/es/Message/Message.vue.js +7 -0
- package/es/Message/Message.vue2.js +100 -0
- package/es/Message/MessageList.vue.d.ts +6 -0
- package/es/Message/MessageList.vue.js +7 -0
- package/es/Message/MessageList.vue2.js +31 -0
- package/es/Message/index.d.ts +69 -0
- package/es/Message/index.js +91 -0
- package/es/Message/type.d.ts +34 -0
- package/es/Modal/Modal.vue.d.ts +74 -0
- package/es/Modal/Modal.vue.js +7 -0
- package/es/Modal/Modal.vue2.js +257 -0
- package/es/Modal/ModalService.vue.d.ts +37 -0
- package/es/Modal/ModalService.vue.js +138 -0
- package/es/Modal/ModalService.vue3.js +5 -0
- package/es/Modal/hooks/useModalClose.d.ts +18 -0
- package/es/Modal/hooks/useModalClose.js +78 -0
- package/es/Modal/hooks/useModalDraggable.d.ts +14 -0
- package/es/Modal/hooks/useModalDraggable.js +66 -0
- package/es/Modal/hooks/useOnBeforeClose.d.ts +4 -0
- package/es/Modal/hooks/useOnBeforeClose.js +40 -0
- package/es/Modal/index.d.ts +185 -0
- package/es/Modal/index.js +56 -0
- package/es/Modal/type.d.ts +86 -0
- package/es/Notification/Notification.vue.d.ts +19 -0
- package/es/Notification/Notification.vue.js +7 -0
- package/es/Notification/Notification.vue2.js +127 -0
- package/es/Notification/NotificationList.vue.d.ts +6 -0
- package/es/Notification/NotificationList.vue.js +7 -0
- package/es/Notification/NotificationList.vue2.js +35 -0
- package/es/Notification/index.d.ts +80 -0
- package/es/Notification/index.js +109 -0
- package/es/Notification/type.d.ts +38 -0
- package/es/OverflowList/index.d.ts +52 -0
- package/es/OverflowList/index.js +9 -0
- package/es/OverflowList/index.vue.d.ts +30 -0
- package/es/OverflowList/index.vue.js +7 -0
- package/es/OverflowList/index.vue2.js +123 -0
- package/es/OverflowList/type.d.ts +13 -0
- package/es/PageHeader/index.d.ts +49 -0
- package/es/PageHeader/index.js +9 -0
- package/es/PageHeader/index.vue.d.ts +24 -0
- package/es/PageHeader/index.vue.js +7 -0
- package/es/PageHeader/index.vue2.js +96 -0
- package/es/PageHeader/type.d.ts +16 -0
- package/es/Pagination/Pagination.vue.d.ts +46 -0
- package/es/Pagination/Pagination.vue.js +7 -0
- package/es/Pagination/Pagination.vue2.js +192 -0
- package/es/Pagination/PaginationItem.vue.d.ts +23 -0
- package/es/Pagination/PaginationItem.vue.js +7 -0
- package/es/Pagination/PaginationItem.vue2.js +85 -0
- package/es/Pagination/hooks/useContext.d.ts +29 -0
- package/es/Pagination/hooks/useContext.js +129 -0
- package/es/Pagination/index.d.ts +112 -0
- package/es/Pagination/index.js +9 -0
- package/es/Pagination/type.d.ts +43 -0
- package/es/Popconfirm/index.d.ts +294 -0
- package/es/Popconfirm/index.js +10 -0
- package/es/Popconfirm/index.vue.d.ts +400 -0
- package/es/Popconfirm/index.vue.js +161 -0
- package/es/Popconfirm/index.vue3.js +5 -0
- package/es/Popconfirm/type.d.ts +41 -0
- package/es/Popover/index.d.ts +90 -0
- package/es/Popover/index.js +10 -0
- package/es/Popover/index.vue.d.ts +38 -0
- package/es/Popover/index.vue.js +100 -0
- package/es/Popover/index.vue3.js +5 -0
- package/es/Popover/type.d.ts +30 -0
- package/es/Progress/Progress.vue.d.ts +34 -0
- package/es/Progress/Progress.vue.js +7 -0
- package/es/Progress/Progress.vue2.js +131 -0
- package/es/Progress/ProgressCircle.vue.d.ts +34 -0
- package/es/Progress/ProgressCircle.vue.js +7 -0
- package/es/Progress/ProgressCircle.vue2.js +150 -0
- package/es/Progress/ProgressLine.vue.d.ts +32 -0
- package/es/Progress/ProgressLine.vue.js +7 -0
- package/es/Progress/ProgressLine.vue2.js +100 -0
- package/es/Progress/ProgressSteps.vue.d.ts +32 -0
- package/es/Progress/ProgressSteps.vue.js +82 -0
- package/es/Progress/ProgressSteps.vue3.js +5 -0
- package/es/Progress/index.d.ts +61 -0
- package/es/Progress/index.js +9 -0
- package/es/Progress/type.d.ts +17 -0
- package/es/Radio/Radio.vue.d.ts +28 -0
- package/es/Radio/Radio.vue.js +7 -0
- package/es/Radio/Radio.vue2.js +123 -0
- package/es/Radio/RadioGroup.vue.d.ts +30 -0
- package/es/Radio/RadioGroup.vue.js +59 -0
- package/es/Radio/RadioGroup.vue3.js +5 -0
- package/es/Radio/hooks/useContext.d.ts +21 -0
- package/es/Radio/hooks/useContext.js +65 -0
- package/es/Radio/index.d.ts +118 -0
- package/es/Radio/index.js +14 -0
- package/es/Radio/type.d.ts +49 -0
- package/es/Rate/index.d.ts +74 -0
- package/es/Rate/index.js +9 -0
- package/es/Rate/index.vue.d.ts +33 -0
- package/es/Rate/index.vue.js +7 -0
- package/es/Rate/index.vue2.js +149 -0
- package/es/Rate/type.d.ts +21 -0
- package/es/ResizeBox/index.d.ts +89 -0
- package/es/ResizeBox/index.js +9 -0
- package/es/ResizeBox/index.vue.d.ts +43 -0
- package/es/ResizeBox/index.vue.js +7 -0
- package/es/ResizeBox/index.vue2.js +162 -0
- package/es/ResizeBox/type.d.ts +26 -0
- package/es/Result/index.d.ts +39 -0
- package/es/Result/index.js +9 -0
- package/es/Result/index.vue.d.ts +20 -0
- package/es/Result/index.vue.js +7 -0
- package/es/Result/index.vue2.js +74 -0
- package/es/Result/type.d.ts +13 -0
- package/es/Scrollbar/Scrollbar.vue.d.ts +36 -0
- package/es/Scrollbar/Scrollbar.vue.js +7 -0
- package/es/Scrollbar/Scrollbar.vue2.js +226 -0
- package/es/Scrollbar/ScrollbarTrack.vue.d.ts +17 -0
- package/es/Scrollbar/ScrollbarTrack.vue.js +7 -0
- package/es/Scrollbar/ScrollbarTrack.vue2.js +115 -0
- package/es/Scrollbar/hooks/useContext.d.ts +16 -0
- package/es/Scrollbar/hooks/useContext.js +26 -0
- package/es/Scrollbar/index.d.ts +70 -0
- package/es/Scrollbar/index.js +9 -0
- package/es/Scrollbar/type.d.ts +21 -0
- package/es/Select/Optgroup.vue.d.ts +16 -0
- package/es/Select/Optgroup.vue.js +7 -0
- package/es/Select/Optgroup.vue2.js +26 -0
- package/es/Select/Option.vue.d.ts +25 -0
- package/es/Select/Option.vue.js +7 -0
- package/es/Select/Option.vue2.js +140 -0
- package/es/Select/Select.vue.d.ts +718 -0
- package/es/Select/Select.vue.js +7 -0
- package/es/Select/Select.vue2.js +304 -0
- package/es/Select/SelectIcon.vue.d.ts +12 -0
- package/es/Select/SelectIcon.vue.js +7 -0
- package/es/Select/SelectIcon.vue2.js +66 -0
- package/es/Select/SelectRealList.vue.d.ts +7 -0
- package/es/Select/SelectRealList.vue.js +7 -0
- package/es/Select/SelectRealList.vue2.js +95 -0
- package/es/Select/SelectView.vue.d.ts +39 -0
- package/es/Select/SelectView.vue.js +7 -0
- package/es/Select/SelectView.vue2.js +99 -0
- package/es/Select/SelectVirtualList.vue.d.ts +6 -0
- package/es/Select/SelectVirtualList.vue.js +7 -0
- package/es/Select/SelectVirtualList.vue2.js +61 -0
- package/es/Select/hooks/useContext.d.ts +81 -0
- package/es/Select/hooks/useContext.js +196 -0
- package/es/Select/hooks/useSelectHotkeys.d.ts +15 -0
- package/es/Select/hooks/useSelectHotkeys.js +56 -0
- package/es/Select/hooks/useSelectOptions.d.ts +67 -0
- package/es/Select/hooks/useSelectOptions.js +91 -0
- package/es/Select/index.d.ts +582 -0
- package/es/Select/index.js +17 -0
- package/es/Select/type.d.ts +118 -0
- package/es/Skeleton/Skeleton.vue.d.ts +19 -0
- package/es/Skeleton/Skeleton.vue.js +30 -0
- package/es/Skeleton/Skeleton.vue2.js +4 -0
- package/es/Skeleton/SkeletonLine.vue.d.ts +8 -0
- package/es/Skeleton/SkeletonLine.vue.js +7 -0
- package/es/Skeleton/SkeletonLine.vue2.js +46 -0
- package/es/Skeleton/SkeletonShape.vue.d.ts +6 -0
- package/es/Skeleton/SkeletonShape.vue.js +7 -0
- package/es/Skeleton/SkeletonShape.vue2.js +31 -0
- package/es/Skeleton/index.d.ts +53 -0
- package/es/Skeleton/index.js +17 -0
- package/es/Skeleton/type.d.ts +20 -0
- package/es/Slider/Slider.vue.d.ts +25 -0
- package/es/Slider/Slider.vue.js +7 -0
- package/es/Slider/Slider.vue2.js +145 -0
- package/es/Slider/SliderBtn.vue.d.ts +13 -0
- package/es/Slider/SliderBtn.vue.js +7 -0
- package/es/Slider/SliderBtn.vue2.js +98 -0
- package/es/Slider/SliderInput.vue.d.ts +5 -0
- package/es/Slider/SliderInput.vue.js +7 -0
- package/es/Slider/SliderInput.vue2.js +56 -0
- package/es/Slider/SliderTicks.vue.d.ts +11 -0
- package/es/Slider/SliderTicks.vue.js +7 -0
- package/es/Slider/SliderTicks.vue2.js +66 -0
- package/es/Slider/hooks/useContext.d.ts +44 -0
- package/es/Slider/hooks/useContext.js +160 -0
- package/es/Slider/hooks/useSliderDraggable.d.ts +37 -0
- package/es/Slider/hooks/useSliderDraggable.js +130 -0
- package/es/Slider/index.d.ts +84 -0
- package/es/Slider/index.js +9 -0
- package/es/Slider/type.d.ts +22 -0
- package/es/Space/index.d.ts +45 -0
- package/es/Space/index.js +9 -0
- package/es/Space/index.vue.d.ts +22 -0
- package/es/Space/index.vue.js +7 -0
- package/es/Space/index.vue2.js +91 -0
- package/es/Space/type.d.ts +13 -0
- package/es/Spin/index.d.ts +48 -0
- package/es/Spin/index.js +9 -0
- package/es/Spin/index.vue.d.ts +23 -0
- package/es/Spin/index.vue.js +7 -0
- package/es/Spin/index.vue2.js +90 -0
- package/es/Spin/type.d.ts +13 -0
- package/es/Split/index.d.ts +79 -0
- package/es/Split/index.js +9 -0
- package/es/Split/index.vue.d.ts +40 -0
- package/es/Split/index.vue.js +7 -0
- package/es/Split/index.vue2.js +147 -0
- package/es/Split/type.d.ts +22 -0
- package/es/Statistic/Countdown.vue.d.ts +28 -0
- package/es/Statistic/Countdown.vue.js +82 -0
- package/es/Statistic/Countdown.vue2.js +4 -0
- package/es/Statistic/Statistic.vue.d.ts +40 -0
- package/es/Statistic/Statistic.vue.js +7 -0
- package/es/Statistic/Statistic.vue2.js +148 -0
- package/es/Statistic/index.d.ts +140 -0
- package/es/Statistic/index.js +13 -0
- package/es/Statistic/type.d.ts +44 -0
- package/es/Steps/Step.vue.d.ts +21 -0
- package/es/Steps/Step.vue.js +7 -0
- package/es/Steps/Step.vue2.js +115 -0
- package/es/Steps/Steps.vue.d.ts +32 -0
- package/es/Steps/Steps.vue.js +7 -0
- package/es/Steps/Steps.vue2.js +43 -0
- package/es/Steps/hooks/useContext.d.ts +26 -0
- package/es/Steps/hooks/useContext.js +138 -0
- package/es/Steps/index.d.ts +106 -0
- package/es/Steps/index.js +13 -0
- package/es/Steps/type.d.ts +39 -0
- package/es/Switch/index.d.ts +94 -0
- package/es/Switch/index.js +9 -0
- package/es/Switch/index.vue.d.ts +40 -0
- package/es/Switch/index.vue.js +7 -0
- package/es/Switch/index.vue2.js +154 -0
- package/es/Switch/type.d.ts +31 -0
- package/es/Tabs/TabButton.vue.d.ts +24 -0
- package/es/Tabs/TabButton.vue.js +7 -0
- package/es/Tabs/TabButton.vue2.js +38 -0
- package/es/Tabs/TabPane.vue.d.ts +22 -0
- package/es/Tabs/TabPane.vue.js +43 -0
- package/es/Tabs/TabPane.vue3.js +5 -0
- package/es/Tabs/Tabs.vue.d.ts +48 -0
- package/es/Tabs/Tabs.vue.js +7 -0
- package/es/Tabs/Tabs.vue2.js +209 -0
- package/es/Tabs/TabsNavInk.vue.d.ts +7 -0
- package/es/Tabs/TabsNavInk.vue.js +7 -0
- package/es/Tabs/TabsNavInk.vue2.js +63 -0
- package/es/Tabs/TabsTab.vue.d.ts +7 -0
- package/es/Tabs/TabsTab.vue.js +7 -0
- package/es/Tabs/TabsTab.vue2.js +91 -0
- package/es/Tabs/hooks/useContext.d.ts +35 -0
- package/es/Tabs/hooks/useContext.js +90 -0
- package/es/Tabs/hooks/useTabsScroll.d.ts +15 -0
- package/es/Tabs/hooks/useTabsScroll.js +74 -0
- package/es/Tabs/index.d.ts +111 -0
- package/es/Tabs/index.js +13 -0
- package/es/Tabs/type.d.ts +44 -0
- package/es/Tag/index.d.ts +88 -0
- package/es/Tag/index.js +9 -0
- package/es/Tag/index.vue.d.ts +38 -0
- package/es/Tag/index.vue.js +7 -0
- package/es/Tag/index.vue2.js +112 -0
- package/es/Tag/type.d.ts +25 -0
- package/es/Textarea/hooks/useTextareaHeight.d.ts +11 -0
- package/es/Textarea/hooks/useTextareaHeight.js +39 -0
- package/es/Textarea/index.d.ts +128 -0
- package/es/Textarea/index.js +9 -0
- package/es/Textarea/index.vue.d.ts +42 -0
- package/es/Textarea/index.vue.js +7 -0
- package/es/Textarea/index.vue2.js +164 -0
- package/es/Textarea/type.d.ts +36 -0
- package/es/TimePicker/TimePicker.vue.d.ts +147 -0
- package/es/TimePicker/TimePicker.vue.js +7 -0
- package/es/TimePicker/TimePicker.vue2.js +213 -0
- package/es/TimePicker/TimePickerPanel.vue.d.ts +19 -0
- package/es/TimePicker/TimePickerPanel.vue.js +7 -0
- package/es/TimePicker/TimePickerPanel.vue2.js +218 -0
- package/es/TimePicker/hooks/useContext.d.ts +42 -0
- package/es/TimePicker/hooks/useContext.js +132 -0
- package/es/TimePicker/index.d.ts +173 -0
- package/es/TimePicker/index.js +9 -0
- package/es/TimePicker/type.d.ts +50 -0
- package/es/Timeline/Timeline.vue.d.ts +22 -0
- package/es/Timeline/Timeline.vue.js +7 -0
- package/es/Timeline/Timeline.vue2.js +77 -0
- package/es/Timeline/TimelineItem.vue.d.ts +24 -0
- package/es/Timeline/TimelineItem.vue.js +7 -0
- package/es/Timeline/TimelineItem.vue2.js +89 -0
- package/es/Timeline/hooks/useContext.d.ts +18 -0
- package/es/Timeline/hooks/useContext.js +61 -0
- package/es/Timeline/index.d.ts +88 -0
- package/es/Timeline/index.js +13 -0
- package/es/Timeline/type.d.ts +31 -0
- package/es/Tooltip/index.d.ts +90 -0
- package/es/Tooltip/index.js +10 -0
- package/es/Tooltip/index.vue.d.ts +39 -0
- package/es/Tooltip/index.vue.js +110 -0
- package/es/Tooltip/index.vue3.js +5 -0
- package/es/Tooltip/type.d.ts +29 -0
- package/es/Transfer/Transfer.vue.d.ts +42 -0
- package/es/Transfer/Transfer.vue.js +7 -0
- package/es/Transfer/Transfer.vue2.js +105 -0
- package/es/Transfer/TransferPanel.vue.d.ts +19 -0
- package/es/Transfer/TransferPanel.vue.js +7 -0
- package/es/Transfer/TransferPanel.vue2.js +252 -0
- package/es/Transfer/hooks/useContext.d.ts +32 -0
- package/es/Transfer/hooks/useContext.js +126 -0
- package/es/Transfer/index.d.ts +99 -0
- package/es/Transfer/index.js +9 -0
- package/es/Transfer/type.d.ts +64 -0
- package/es/Trigger/hooks/useContext.d.ts +22 -0
- package/es/Trigger/hooks/useContext.js +111 -0
- package/es/Trigger/hooks/useTriggerPosition.d.ts +32 -0
- package/es/Trigger/hooks/useTriggerPosition.js +373 -0
- package/es/Trigger/hooks/useTriggerVisible.d.ts +19 -0
- package/es/Trigger/hooks/useTriggerVisible.js +193 -0
- package/es/Trigger/index.d.ts +166 -0
- package/es/Trigger/index.js +9 -0
- package/es/Trigger/index.vue.d.ts +59 -0
- package/es/Trigger/index.vue.js +7 -0
- package/es/Trigger/index.vue2.js +186 -0
- package/es/Trigger/type.d.ts +61 -0
- package/es/Typography/Typography.vue.d.ts +17 -0
- package/es/Typography/Typography.vue.js +18 -0
- package/es/Typography/Typography.vue3.js +5 -0
- package/es/Typography/TypographyBase.vue.d.ts +358 -0
- package/es/Typography/TypographyBase.vue.js +7 -0
- package/es/Typography/TypographyBase.vue2.js +208 -0
- package/es/Typography/TypographyParagraph.vue.d.ts +19 -0
- package/es/Typography/TypographyParagraph.vue.js +7 -0
- package/es/Typography/TypographyParagraph.vue2.js +50 -0
- package/es/Typography/TypographyText.vue.d.ts +16 -0
- package/es/Typography/TypographyText.vue.js +43 -0
- package/es/Typography/TypographyText.vue2.js +4 -0
- package/es/Typography/TypographyTitle.vue.d.ts +18 -0
- package/es/Typography/TypographyTitle.vue.js +7 -0
- package/es/Typography/TypographyTitle.vue2.js +51 -0
- package/es/Typography/index.d.ts +39 -0
- package/es/Typography/index.js +19 -0
- package/es/Typography/type.d.ts +62 -0
- package/es/VerificationCode/index.d.ts +74 -0
- package/es/VerificationCode/index.js +9 -0
- package/es/VerificationCode/index.vue.d.ts +21 -0
- package/es/VerificationCode/index.vue.js +7 -0
- package/es/VerificationCode/index.vue2.js +128 -0
- package/es/VerificationCode/type.d.ts +22 -0
- package/es/Watermark/index.d.ts +74 -0
- package/es/Watermark/index.js +9 -0
- package/es/Watermark/index.vue.d.ts +35 -0
- package/es/Watermark/index.vue.js +7 -0
- package/es/Watermark/index.vue2.js +276 -0
- package/es/Watermark/type.d.ts +27 -0
- package/es/_shared/components/ExpandTransition.vue.d.ts +17 -0
- package/es/_shared/components/ExpandTransition.vue2.js +7 -0
- package/es/_shared/components/ExpandTransition.vue3.js +50 -0
- package/es/_shared/components/IconButton.vue.d.ts +30 -0
- package/es/_shared/components/IconButton.vue.js +7 -0
- package/es/_shared/components/IconButton.vue3.js +45 -0
- package/es/_shared/components/PreventFocus.vue.d.ts +24 -0
- package/es/_shared/components/PreventFocus.vue.js +23 -0
- package/es/_shared/components/PreventFocus.vue2.js +4 -0
- package/es/_shared/components/index.d.ts +3 -0
- package/es/_shared/constants/index.d.ts +8 -0
- package/es/_shared/constants/index.js +99 -0
- package/es/_shared/icons/Icon403.svg.js +4 -0
- package/es/_shared/icons/Icon404.svg.js +4 -0
- package/es/_shared/icons/Icon500.svg.js +4 -0
- package/es/_shared/icons/IconArrowDown.vue.d.ts +2 -0
- package/es/_shared/icons/IconArrowDown.vue.js +19 -0
- package/es/_shared/icons/IconArrowDown.vue2.js +4 -0
- package/es/_shared/icons/IconArrowRight.vue.d.ts +2 -0
- package/es/_shared/icons/IconArrowRight.vue.js +19 -0
- package/es/_shared/icons/IconArrowRight.vue2.js +4 -0
- package/es/_shared/icons/IconCheck.vue.d.ts +2 -0
- package/es/_shared/icons/IconCheck.vue.js +19 -0
- package/es/_shared/icons/IconCheck.vue2.js +4 -0
- package/es/_shared/icons/IconCheckboxChecked.vue.d.ts +2 -0
- package/es/_shared/icons/IconCheckboxChecked.vue.js +25 -0
- package/es/_shared/icons/IconCheckboxChecked.vue2.js +4 -0
- package/es/_shared/icons/IconClose.vue.d.ts +2 -0
- package/es/_shared/icons/IconClose.vue.js +19 -0
- package/es/_shared/icons/IconClose.vue2.js +4 -0
- package/es/_shared/icons/IconCopy.vue.d.ts +2 -0
- package/es/_shared/icons/IconCopy.vue.js +19 -0
- package/es/_shared/icons/IconCopy.vue2.js +4 -0
- package/es/_shared/icons/IconDelete.vue.d.ts +2 -0
- package/es/_shared/icons/IconDelete.vue.js +4 -0
- package/es/_shared/icons/IconDelete.vue2.js +19 -0
- package/es/_shared/icons/IconDragDot.vue.d.ts +2 -0
- package/es/_shared/icons/IconDragDot.vue.js +24 -0
- package/es/_shared/icons/IconDragDot.vue2.js +4 -0
- package/es/_shared/icons/IconEdit.vue.d.ts +2 -0
- package/es/_shared/icons/IconEdit.vue.js +19 -0
- package/es/_shared/icons/IconEdit.vue2.js +4 -0
- package/es/_shared/icons/IconEmpty.vue.d.ts +2 -0
- package/es/_shared/icons/IconEmpty.vue.js +19 -0
- package/es/_shared/icons/IconEmpty.vue2.js +4 -0
- package/es/_shared/icons/IconError.vue.d.ts +2 -0
- package/es/_shared/icons/IconError.vue.js +25 -0
- package/es/_shared/icons/IconError.vue2.js +4 -0
- package/es/_shared/icons/IconExclamation.vue.d.ts +2 -0
- package/es/_shared/icons/IconExclamation.vue.js +4 -0
- package/es/_shared/icons/IconExclamation.vue2.js +30 -0
- package/es/_shared/icons/IconEyeClose.vue.d.ts +2 -0
- package/es/_shared/icons/IconEyeClose.vue.js +4 -0
- package/es/_shared/icons/IconEyeClose.vue2.js +23 -0
- package/es/_shared/icons/IconEyeOpen.vue.d.ts +2 -0
- package/es/_shared/icons/IconEyeOpen.vue.js +4 -0
- package/es/_shared/icons/IconEyeOpen.vue2.js +20 -0
- package/es/_shared/icons/IconFaceSmile.vue.d.ts +2 -0
- package/es/_shared/icons/IconFaceSmile.vue.js +25 -0
- package/es/_shared/icons/IconFaceSmile.vue2.js +4 -0
- package/es/_shared/icons/IconFullScreen.vue.d.ts +2 -0
- package/es/_shared/icons/IconFullScreen.vue.js +4 -0
- package/es/_shared/icons/IconFullScreen.vue2.js +19 -0
- package/es/_shared/icons/IconImageClose.vue.d.ts +2 -0
- package/es/_shared/icons/IconImageClose.vue.js +33 -0
- package/es/_shared/icons/IconImageClose.vue2.js +4 -0
- package/es/_shared/icons/IconInfo.vue.d.ts +2 -0
- package/es/_shared/icons/IconInfo.vue.js +25 -0
- package/es/_shared/icons/IconInfo.vue2.js +4 -0
- package/es/_shared/icons/IconInfoLine.vue.d.ts +2 -0
- package/es/_shared/icons/IconInfoLine.vue.js +30 -0
- package/es/_shared/icons/IconInfoLine.vue2.js +4 -0
- package/es/_shared/icons/IconLink.vue.d.ts +2 -0
- package/es/_shared/icons/IconLink.vue.js +19 -0
- package/es/_shared/icons/IconLink.vue2.js +4 -0
- package/es/_shared/icons/IconLoading.vue.d.ts +2 -0
- package/es/_shared/icons/IconLoading.vue.js +19 -0
- package/es/_shared/icons/IconLoading.vue2.js +4 -0
- package/es/_shared/icons/IconMenuFold.vue.d.ts +2 -0
- package/es/_shared/icons/IconMenuFold.vue.js +19 -0
- package/es/_shared/icons/IconMenuFold.vue2.js +4 -0
- package/es/_shared/icons/IconMenuUnfold.vue.d.ts +2 -0
- package/es/_shared/icons/IconMenuUnfold.vue.js +19 -0
- package/es/_shared/icons/IconMenuUnfold.vue2.js +4 -0
- package/es/_shared/icons/IconMinus.vue.d.ts +2 -0
- package/es/_shared/icons/IconMinus.vue.js +4 -0
- package/es/_shared/icons/IconMinus.vue2.js +19 -0
- package/es/_shared/icons/IconMore.vue.d.ts +2 -0
- package/es/_shared/icons/IconMore.vue.js +24 -0
- package/es/_shared/icons/IconMore.vue2.js +4 -0
- package/es/_shared/icons/IconOriginSize.vue.d.ts +2 -0
- package/es/_shared/icons/IconOriginSize.vue.js +4 -0
- package/es/_shared/icons/IconOriginSize.vue2.js +25 -0
- package/es/_shared/icons/IconPlus.vue.d.ts +2 -0
- package/es/_shared/icons/IconPlus.vue.js +19 -0
- package/es/_shared/icons/IconPlus.vue2.js +4 -0
- package/es/_shared/icons/IconRight.vue.d.ts +2 -0
- package/es/_shared/icons/IconRight.vue.js +23 -0
- package/es/_shared/icons/IconRight.vue2.js +4 -0
- package/es/_shared/icons/IconRotateLeft.vue.d.ts +2 -0
- package/es/_shared/icons/IconRotateLeft.vue.js +4 -0
- package/es/_shared/icons/IconRotateLeft.vue2.js +19 -0
- package/es/_shared/icons/IconRotateRight.vue.d.ts +2 -0
- package/es/_shared/icons/IconRotateRight.vue.js +4 -0
- package/es/_shared/icons/IconRotateRight.vue2.js +19 -0
- package/es/_shared/icons/IconSearch.vue.d.ts +2 -0
- package/es/_shared/icons/IconSearch.vue.js +4 -0
- package/es/_shared/icons/IconSearch.vue2.js +19 -0
- package/es/_shared/icons/IconSeparator.vue.d.ts +2 -0
- package/es/_shared/icons/IconSeparator.vue.js +4 -0
- package/es/_shared/icons/IconSeparator.vue2.js +19 -0
- package/es/_shared/icons/IconStar.vue.d.ts +2 -0
- package/es/_shared/icons/IconStar.vue.js +23 -0
- package/es/_shared/icons/IconStar.vue2.js +4 -0
- package/es/_shared/icons/IconSuccess.vue.d.ts +2 -0
- package/es/_shared/icons/IconSuccess.vue.js +25 -0
- package/es/_shared/icons/IconSuccess.vue2.js +4 -0
- package/es/_shared/icons/IconTime.vue.d.ts +2 -0
- package/es/_shared/icons/IconTime.vue.js +19 -0
- package/es/_shared/icons/IconTime.vue2.js +4 -0
- package/es/_shared/icons/IconToTop.vue.d.ts +2 -0
- package/es/_shared/icons/IconToTop.vue.js +24 -0
- package/es/_shared/icons/IconToTop.vue2.js +4 -0
- package/es/_shared/icons/IconWarning.vue.d.ts +2 -0
- package/es/_shared/icons/IconWarning.vue.js +25 -0
- package/es/_shared/icons/IconWarning.vue2.js +4 -0
- package/es/_shared/icons/IconZoomIn.vue.d.ts +2 -0
- package/es/_shared/icons/IconZoomIn.vue.js +4 -0
- package/es/_shared/icons/IconZoomIn.vue2.js +19 -0
- package/es/_shared/icons/IconZoomOut.vue.d.ts +2 -0
- package/es/_shared/icons/IconZoomOut.vue.js +4 -0
- package/es/_shared/icons/IconZoomOut.vue2.js +19 -0
- package/es/_shared/icons/_Icon.vue.d.ts +31 -0
- package/es/_shared/icons/_Icon.vue2.js +7 -0
- package/es/_shared/icons/_Icon.vue3.js +79 -0
- package/es/_shared/icons/index.d.ts +39 -0
- package/es/_shared/type/index.d.ts +18 -0
- package/es/_shared/utils/color.d.ts +18 -0
- package/es/_shared/utils/color.js +125 -0
- package/es/_shared/utils/control.d.ts +5 -0
- package/es/_shared/utils/control.js +23 -0
- package/es/_shared/utils/dom.d.ts +28 -0
- package/es/_shared/utils/dom.js +101 -0
- package/es/_shared/utils/fn.d.ts +8 -0
- package/es/_shared/utils/fn.js +80 -0
- package/es/_shared/utils/global-config.d.ts +28 -0
- package/es/_shared/utils/global-config.js +59 -0
- package/es/_shared/utils/index.d.ts +8 -0
- package/es/_shared/utils/is.d.ts +27 -0
- package/es/_shared/utils/is.js +34 -0
- package/es/_shared/utils/time.d.ts +48 -0
- package/es/_shared/utils/time.js +52 -0
- package/es/_shared/utils/vue-utils.d.ts +7 -0
- package/es/_shared/utils/vue-utils.js +79 -0
- package/es/_virtual/_commonjsHelpers.js +8 -0
- package/es/_virtual/_plugin-vue_export-helper.js +10 -0
- package/es/_virtual/dayjs.min.js +4 -0
- package/es/_virtual/duration.js +4 -0
- package/es/_virtual/en.js +4 -0
- package/es/_virtual/isSameOrAfter.js +4 -0
- package/es/_virtual/isSameOrBefore.js +4 -0
- package/es/_virtual/toObject.js +4 -0
- package/es/index.d.ts +1710 -0
- package/es/index.js +346 -0
- package/es/node_modules/@vueuse/core/index.js +1095 -0
- package/es/node_modules/@vueuse/shared/index.js +316 -0
- package/es/node_modules/b-tween/dist/b-tween.es.js +163 -0
- package/es/node_modules/dayjs/dayjs.min.js +282 -0
- package/es/node_modules/dayjs/locale/en.js +12 -0
- package/es/node_modules/dayjs/plugin/duration.js +136 -0
- package/es/node_modules/dayjs/plugin/isSameOrAfter.js +18 -0
- package/es/node_modules/dayjs/plugin/isSameOrBefore.js +18 -0
- package/es/node_modules/dayjs/plugin/toObject.js +18 -0
- package/es/node_modules/nanoid/index.browser.js +13 -0
- package/es/node_modules/nanoid/url-alphabet/index.js +4 -0
- package/es/node_modules/tinycolor2/esm/tinycolor.js +966 -0
- package/es/style.css +1 -0
- package/lib/Affix/index.d.ts +61 -0
- package/lib/Affix/index.js +1 -0
- package/lib/Affix/index.vue.d.ts +33 -0
- package/lib/Affix/index.vue.js +1 -0
- package/lib/Affix/index.vue2.js +1 -0
- package/lib/Affix/type.d.ts +16 -0
- package/lib/Alert/index.d.ts +63 -0
- package/lib/Alert/index.js +1 -0
- package/lib/Alert/index.vue.d.ts +29 -0
- package/lib/Alert/index.vue.js +1 -0
- package/lib/Alert/index.vue2.js +1 -0
- package/lib/Alert/type.d.ts +20 -0
- package/lib/Anchor/Anchor.vue.d.ts +26 -0
- package/lib/Anchor/Anchor.vue.js +1 -0
- package/lib/Anchor/Anchor.vue2.js +1 -0
- package/lib/Anchor/AnchorLink.vue.d.ts +23 -0
- package/lib/Anchor/AnchorLink.vue.js +1 -0
- package/lib/Anchor/AnchorLink.vue2.js +1 -0
- package/lib/Anchor/hooks/useContext.d.ts +23 -0
- package/lib/Anchor/hooks/useContext.js +1 -0
- package/lib/Anchor/index.d.ts +77 -0
- package/lib/Anchor/index.js +1 -0
- package/lib/Anchor/type.d.ts +20 -0
- package/lib/AutoComplete/index.d.ts +747 -0
- package/lib/AutoComplete/index.js +1 -0
- package/lib/AutoComplete/index.vue.d.ts +1267 -0
- package/lib/AutoComplete/index.vue.js +1 -0
- package/lib/AutoComplete/index.vue3.js +1 -0
- package/lib/AutoComplete/type.d.ts +45 -0
- package/lib/Avatar/Avatar.vue.d.ts +38 -0
- package/lib/Avatar/Avatar.vue.js +1 -0
- package/lib/Avatar/Avatar.vue2.js +1 -0
- package/lib/Avatar/AvatarGroup.vue.d.ts +24 -0
- package/lib/Avatar/AvatarGroup.vue.js +1 -0
- package/lib/Avatar/AvatarGroup.vue2.js +1 -0
- package/lib/Avatar/hooks/useContext.d.ts +10 -0
- package/lib/Avatar/hooks/useContext.js +1 -0
- package/lib/Avatar/index.d.ts +117 -0
- package/lib/Avatar/index.js +1 -0
- package/lib/Avatar/type.d.ts +35 -0
- package/lib/BackTop/index.d.ts +41 -0
- package/lib/BackTop/index.js +1 -0
- package/lib/BackTop/index.vue.d.ts +24 -0
- package/lib/BackTop/index.vue.js +1 -0
- package/lib/BackTop/index.vue2.js +1 -0
- package/lib/BackTop/type.d.ts +10 -0
- package/lib/Badge/index.d.ts +54 -0
- package/lib/Badge/index.js +1 -0
- package/lib/Badge/index.vue.d.ts +25 -0
- package/lib/Badge/index.vue.js +1 -0
- package/lib/Badge/index.vue2.js +1 -0
- package/lib/Badge/type.d.ts +16 -0
- package/lib/Breadcrumb/Breadcrumb.vue.d.ts +21 -0
- package/lib/Breadcrumb/Breadcrumb.vue.js +1 -0
- package/lib/Breadcrumb/Breadcrumb.vue2.js +1 -0
- package/lib/Breadcrumb/BreadcrumbItem.vue.d.ts +22 -0
- package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -0
- package/lib/Breadcrumb/BreadcrumbItem.vue2.js +1 -0
- package/lib/Breadcrumb/BreadcrumbMore.vue.d.ts +6 -0
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -0
- package/lib/Breadcrumb/BreadcrumbMore.vue2.js +1 -0
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.d.ts +9 -0
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -0
- package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -0
- package/lib/Breadcrumb/index.d.ts +79 -0
- package/lib/Breadcrumb/index.js +1 -0
- package/lib/Breadcrumb/type.d.ts +37 -0
- package/lib/Button/Button.vue.d.ts +38 -0
- package/lib/Button/Button.vue.js +1 -0
- package/lib/Button/Button.vue2.js +1 -0
- package/lib/Button/ButtonGroup.vue.d.ts +22 -0
- package/lib/Button/ButtonGroup.vue.js +1 -0
- package/lib/Button/ButtonGroup.vue3.js +1 -0
- package/lib/Button/hooks/useContext.d.ts +13 -0
- package/lib/Button/hooks/useContext.js +1 -0
- package/lib/Button/index.d.ts +124 -0
- package/lib/Button/index.js +1 -0
- package/lib/Button/type.d.ts +37 -0
- package/lib/Calendar/Calendar.vue.d.ts +32 -0
- package/lib/Calendar/Calendar.vue.js +1 -0
- package/lib/Calendar/Calendar.vue2.js +1 -0
- package/lib/Calendar/CalendarMonth.vue.d.ts +35 -0
- package/lib/Calendar/CalendarMonth.vue.js +1 -0
- package/lib/Calendar/CalendarMonth.vue2.js +1 -0
- package/lib/Calendar/CalendarYear.vue.d.ts +30 -0
- package/lib/Calendar/CalendarYear.vue.js +1 -0
- package/lib/Calendar/CalendarYear.vue2.js +1 -0
- package/lib/Calendar/index.d.ts +70 -0
- package/lib/Calendar/index.js +1 -0
- package/lib/Calendar/type.d.ts +25 -0
- package/lib/Card/Card.vue.d.ts +25 -0
- package/lib/Card/Card.vue.js +1 -0
- package/lib/Card/Card.vue2.js +1 -0
- package/lib/Card/CardGrid.vue.d.ts +18 -0
- package/lib/Card/CardGrid.vue.js +1 -0
- package/lib/Card/CardGrid.vue2.js +1 -0
- package/lib/Card/CardMeta.vue.d.ts +19 -0
- package/lib/Card/CardMeta.vue.js +1 -0
- package/lib/Card/CardMeta.vue2.js +1 -0
- package/lib/Card/hooks/useContext.d.ts +13 -0
- package/lib/Card/hooks/useContext.js +1 -0
- package/lib/Card/index.d.ts +106 -0
- package/lib/Card/index.js +1 -0
- package/lib/Card/type.d.ts +34 -0
- package/lib/Carousel/Carousel.vue.d.ts +36 -0
- package/lib/Carousel/Carousel.vue.js +1 -0
- package/lib/Carousel/Carousel.vue2.js +1 -0
- package/lib/Carousel/CarouselArrow.vue.d.ts +9 -0
- package/lib/Carousel/CarouselArrow.vue.js +1 -0
- package/lib/Carousel/CarouselArrow.vue2.js +1 -0
- package/lib/Carousel/CarouselIndicator.vue.d.ts +14 -0
- package/lib/Carousel/CarouselIndicator.vue.js +1 -0
- package/lib/Carousel/CarouselIndicator.vue2.js +1 -0
- package/lib/Carousel/CarouselItem.vue.d.ts +16 -0
- package/lib/Carousel/CarouselItem.vue.js +1 -0
- package/lib/Carousel/CarouselItem.vue2.js +1 -0
- package/lib/Carousel/hooks/useContext.d.ts +28 -0
- package/lib/Carousel/hooks/useContext.js +1 -0
- package/lib/Carousel/index.d.ts +103 -0
- package/lib/Carousel/index.js +1 -0
- package/lib/Carousel/type.d.ts +35 -0
- package/lib/Cascader/Cascader.vue.d.ts +382 -0
- package/lib/Cascader/Cascader.vue.js +1 -0
- package/lib/Cascader/Cascader.vue2.js +1 -0
- package/lib/Cascader/CascaderIcon.vue.d.ts +12 -0
- package/lib/Cascader/CascaderIcon.vue.js +1 -0
- package/lib/Cascader/CascaderIcon.vue2.js +1 -0
- package/lib/Cascader/CascaderOption.vue.d.ts +14 -0
- package/lib/Cascader/CascaderOption.vue.js +1 -0
- package/lib/Cascader/CascaderOption.vue2.js +1 -0
- package/lib/Cascader/CascaderPanel.vue.d.ts +2 -0
- package/lib/Cascader/CascaderPanel.vue.js +1 -0
- package/lib/Cascader/CascaderPanel.vue2.js +1 -0
- package/lib/Cascader/CascaderSearchPanel.vue.d.ts +2 -0
- package/lib/Cascader/CascaderSearchPanel.vue.js +1 -0
- package/lib/Cascader/CascaderSearchPanel.vue2.js +1 -0
- package/lib/Cascader/hooks/useContext.d.ts +53 -0
- package/lib/Cascader/hooks/useContext.js +1 -0
- package/lib/Cascader/index.d.ts +336 -0
- package/lib/Cascader/index.js +1 -0
- package/lib/Cascader/type.d.ts +80 -0
- package/lib/Checkbox/Checkbox.vue.d.ts +28 -0
- package/lib/Checkbox/Checkbox.vue.js +1 -0
- package/lib/Checkbox/Checkbox.vue2.js +1 -0
- package/lib/Checkbox/CheckboxGroup.vue.d.ts +29 -0
- package/lib/Checkbox/CheckboxGroup.vue.js +1 -0
- package/lib/Checkbox/CheckboxGroup.vue3.js +1 -0
- package/lib/Checkbox/hooks/useContext.d.ts +19 -0
- package/lib/Checkbox/hooks/useContext.js +1 -0
- package/lib/Checkbox/index.d.ts +115 -0
- package/lib/Checkbox/index.js +1 -0
- package/lib/Checkbox/type.d.ts +48 -0
- package/lib/Collapse/Collapse.vue.d.ts +30 -0
- package/lib/Collapse/Collapse.vue.js +1 -0
- package/lib/Collapse/Collapse.vue2.js +1 -0
- package/lib/Collapse/CollapseItem.vue.d.ts +22 -0
- package/lib/Collapse/CollapseItem.vue.js +1 -0
- package/lib/Collapse/CollapseItem.vue2.js +1 -0
- package/lib/Collapse/hooks/useContext.d.ts +26 -0
- package/lib/Collapse/hooks/useContext.js +1 -0
- package/lib/Collapse/index.d.ts +103 -0
- package/lib/Collapse/index.js +1 -0
- package/lib/Collapse/type.d.ts +40 -0
- package/lib/ColorPicker/ColorControl.vue.d.ts +25 -0
- package/lib/ColorPicker/ColorControl.vue.js +1 -0
- package/lib/ColorPicker/ColorControl.vue2.js +1 -0
- package/lib/ColorPicker/ColorInput.vue.d.ts +19 -0
- package/lib/ColorPicker/ColorInput.vue.js +1 -0
- package/lib/ColorPicker/ColorInput.vue2.js +1 -0
- package/lib/ColorPicker/ColorList.vue.d.ts +10 -0
- package/lib/ColorPicker/ColorList.vue.js +1 -0
- package/lib/ColorPicker/ColorList.vue2.js +1 -0
- package/lib/ColorPicker/ColorPalette.vue.d.ts +20 -0
- package/lib/ColorPicker/ColorPalette.vue.js +1 -0
- package/lib/ColorPicker/ColorPalette.vue2.js +1 -0
- package/lib/ColorPicker/ColorPanel.vue.d.ts +127 -0
- package/lib/ColorPicker/ColorPanel.vue.js +1 -0
- package/lib/ColorPicker/ColorPanel.vue2.js +1 -0
- package/lib/ColorPicker/ColorPicker.vue.d.ts +40 -0
- package/lib/ColorPicker/ColorPicker.vue.js +1 -0
- package/lib/ColorPicker/ColorPicker.vue2.js +1 -0
- package/lib/ColorPicker/hooks/useContext.d.ts +27 -0
- package/lib/ColorPicker/hooks/useContext.js +1 -0
- package/lib/ColorPicker/index.d.ts +91 -0
- package/lib/ColorPicker/index.js +1 -0
- package/lib/ColorPicker/type.d.ts +23 -0
- package/lib/Comment/hooks/useContext.d.ts +4 -0
- package/lib/Comment/hooks/useContext.js +1 -0
- package/lib/Comment/index.d.ts +45 -0
- package/lib/Comment/index.js +1 -0
- package/lib/Comment/index.vue.d.ts +22 -0
- package/lib/Comment/index.vue.js +1 -0
- package/lib/Comment/index.vue2.js +1 -0
- package/lib/Comment/type.d.ts +19 -0
- package/lib/ConfigProvider/index.d.ts +48 -0
- package/lib/ConfigProvider/index.js +1 -0
- package/lib/ConfigProvider/index.vue.d.ts +23 -0
- package/lib/ConfigProvider/index.vue.js +1 -0
- package/lib/ConfigProvider/index.vue2.js +1 -0
- package/lib/ConfigProvider/type.d.ts +17 -0
- package/lib/Descriptions/Descriptions.vue.d.ts +27 -0
- package/lib/Descriptions/Descriptions.vue.js +1 -0
- package/lib/Descriptions/Descriptions.vue3.js +1 -0
- package/lib/Descriptions/DescriptionsItem.vue.d.ts +19 -0
- package/lib/Descriptions/DescriptionsItem.vue.js +1 -0
- package/lib/Descriptions/DescriptionsItem.vue2.js +1 -0
- package/lib/Descriptions/ReuseItem.vue.d.ts +7 -0
- package/lib/Descriptions/ReuseItem.vue.js +1 -0
- package/lib/Descriptions/ReuseItem.vue2.js +1 -0
- package/lib/Descriptions/ReuseTd.vue.d.ts +9 -0
- package/lib/Descriptions/ReuseTd.vue.js +1 -0
- package/lib/Descriptions/ReuseTd.vue2.js +1 -0
- package/lib/Descriptions/hooks/useContext.d.ts +21 -0
- package/lib/Descriptions/hooks/useContext.js +1 -0
- package/lib/Descriptions/index.d.ts +88 -0
- package/lib/Descriptions/index.js +1 -0
- package/lib/Descriptions/type.d.ts +50 -0
- package/lib/Divider/index.d.ts +45 -0
- package/lib/Divider/index.js +1 -0
- package/lib/Divider/index.vue.d.ts +22 -0
- package/lib/Divider/index.vue.js +1 -0
- package/lib/Divider/index.vue2.js +1 -0
- package/lib/Divider/type.d.ts +13 -0
- package/lib/Drawer/Drawer.vue.d.ts +58 -0
- package/lib/Drawer/Drawer.vue.js +1 -0
- package/lib/Drawer/Drawer.vue2.js +1 -0
- package/lib/Drawer/DrawerService.vue.d.ts +26 -0
- package/lib/Drawer/DrawerService.vue.js +1 -0
- package/lib/Drawer/DrawerService.vue2.js +1 -0
- package/lib/Drawer/index.d.ts +145 -0
- package/lib/Drawer/index.js +1 -0
- package/lib/Drawer/type.d.ts +60 -0
- package/lib/Dropdown/Dgroup.vue.d.ts +16 -0
- package/lib/Dropdown/Dgroup.vue.js +1 -0
- package/lib/Dropdown/Dgroup.vue2.js +1 -0
- package/lib/Dropdown/Doption.vue.d.ts +24 -0
- package/lib/Dropdown/Doption.vue.js +1 -0
- package/lib/Dropdown/Doption.vue2.js +1 -0
- package/lib/Dropdown/Dropdown.vue.d.ts +38 -0
- package/lib/Dropdown/Dropdown.vue.js +1 -0
- package/lib/Dropdown/Dropdown.vue3.js +1 -0
- package/lib/Dropdown/DropdownButton.vue.d.ts +35 -0
- package/lib/Dropdown/DropdownButton.vue.js +1 -0
- package/lib/Dropdown/DropdownButton.vue2.js +1 -0
- package/lib/Dropdown/Dsubmenu.vue.d.ts +508 -0
- package/lib/Dropdown/Dsubmenu.vue.js +1 -0
- package/lib/Dropdown/Dsubmenu.vue2.js +1 -0
- package/lib/Dropdown/hooks/useContext.d.ts +14 -0
- package/lib/Dropdown/hooks/useContext.js +1 -0
- package/lib/Dropdown/index.d.ts +522 -0
- package/lib/Dropdown/index.js +1 -0
- package/lib/Dropdown/type.d.ts +86 -0
- package/lib/Empty/index.d.ts +36 -0
- package/lib/Empty/index.js +1 -0
- package/lib/Empty/index.vue.d.ts +19 -0
- package/lib/Empty/index.vue.js +1 -0
- package/lib/Empty/index.vue2.js +1 -0
- package/lib/Empty/type.d.ts +7 -0
- package/lib/Grid/Grid.vue.d.ts +22 -0
- package/lib/Grid/Grid.vue.js +1 -0
- package/lib/Grid/Grid.vue2.js +1 -0
- package/lib/Grid/GridCol.vue.d.ts +19 -0
- package/lib/Grid/GridCol.vue.js +1 -0
- package/lib/Grid/GridCol.vue2.js +1 -0
- package/lib/Grid/GridItem.vue.d.ts +20 -0
- package/lib/Grid/GridItem.vue.js +1 -0
- package/lib/Grid/GridItem.vue2.js +1 -0
- package/lib/Grid/GridRow.vue.d.ts +22 -0
- package/lib/Grid/GridRow.vue.js +1 -0
- package/lib/Grid/GridRow.vue2.js +1 -0
- package/lib/Grid/hooks/useContext.d.ts +43 -0
- package/lib/Grid/hooks/useContext.js +1 -0
- package/lib/Grid/index.d.ts +136 -0
- package/lib/Grid/index.js +1 -0
- package/lib/Grid/type.d.ts +52 -0
- package/lib/Icon/index.d.ts +38 -0
- package/lib/Icon/index.js +1 -0
- package/lib/Icon/index.vue.d.ts +18 -0
- package/lib/Icon/index.vue.js +1 -0
- package/lib/Icon/index.vue2.js +1 -0
- package/lib/Icon/type.d.ts +14 -0
- package/lib/Image/Image.vue.d.ts +34 -0
- package/lib/Image/Image.vue.js +1 -0
- package/lib/Image/Image.vue2.js +1 -0
- package/lib/Image/ImagePreview.vue.d.ts +39 -0
- package/lib/Image/ImagePreview.vue.js +1 -0
- package/lib/Image/ImagePreview.vue2.js +1 -0
- package/lib/Image/ImagePreviewAction.vue.d.ts +27 -0
- package/lib/Image/ImagePreviewAction.vue.js +1 -0
- package/lib/Image/ImagePreviewAction.vue2.js +1 -0
- package/lib/Image/ImagePreviewArrow.vue.d.ts +5 -0
- package/lib/Image/ImagePreviewArrow.vue.js +1 -0
- package/lib/Image/ImagePreviewArrow.vue2.js +1 -0
- package/lib/Image/ImagePreviewGroup.vue.d.ts +42 -0
- package/lib/Image/ImagePreviewGroup.vue.js +1 -0
- package/lib/Image/ImagePreviewGroup.vue2.js +1 -0
- package/lib/Image/ImagePreviewToolbar.vue.d.ts +26 -0
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -0
- package/lib/Image/ImagePreviewToolbar.vue2.js +1 -0
- package/lib/Image/hooks/useContext.d.ts +17 -0
- package/lib/Image/hooks/useContext.js +1 -0
- package/lib/Image/index.d.ts +291 -0
- package/lib/Image/index.js +1 -0
- package/lib/Image/type.d.ts +82 -0
- package/lib/Input/Input.vue.d.ts +65 -0
- package/lib/Input/Input.vue.js +1 -0
- package/lib/Input/Input.vue2.js +1 -0
- package/lib/Input/InputSuffix.vue.d.ts +31 -0
- package/lib/Input/InputSuffix.vue.js +1 -0
- package/lib/Input/InputSuffix.vue2.js +1 -0
- package/lib/Input/hooks/useCursor.d.ts +19 -0
- package/lib/Input/hooks/useCursor.js +1 -0
- package/lib/Input/hooks/useLimitedInput.d.ts +21 -0
- package/lib/Input/hooks/useLimitedInput.js +1 -0
- package/lib/Input/index.d.ts +153 -0
- package/lib/Input/index.js +1 -0
- package/lib/Input/type.d.ts +51 -0
- package/lib/InputNumber/InputNumber.vue.d.ts +358 -0
- package/lib/InputNumber/InputNumber.vue.js +1 -0
- package/lib/InputNumber/InputNumber.vue2.js +1 -0
- package/lib/InputNumber/InputOperaBtn.vue.d.ts +32 -0
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -0
- package/lib/InputNumber/InputOperaBtn.vue2.js +1 -0
- package/lib/InputNumber/index.d.ts +284 -0
- package/lib/InputNumber/index.js +1 -0
- package/lib/InputNumber/type.d.ts +50 -0
- package/lib/InputTag/index.d.ts +140 -0
- package/lib/InputTag/index.js +1 -0
- package/lib/InputTag/index.vue.d.ts +62 -0
- package/lib/InputTag/index.vue.js +1 -0
- package/lib/InputTag/index.vue2.js +1 -0
- package/lib/InputTag/type.d.ts +56 -0
- package/lib/Layout/Layout.vue.d.ts +18 -0
- package/lib/Layout/Layout.vue.js +1 -0
- package/lib/Layout/Layout.vue2.js +1 -0
- package/lib/Layout/LayoutContent.vue.d.ts +16 -0
- package/lib/Layout/LayoutContent.vue.js +1 -0
- package/lib/Layout/LayoutContent.vue2.js +1 -0
- package/lib/Layout/LayoutFooter.vue.d.ts +16 -0
- package/lib/Layout/LayoutFooter.vue.js +1 -0
- package/lib/Layout/LayoutFooter.vue2.js +1 -0
- package/lib/Layout/LayoutHeader.vue.d.ts +16 -0
- package/lib/Layout/LayoutHeader.vue.js +1 -0
- package/lib/Layout/LayoutHeader.vue2.js +1 -0
- package/lib/Layout/LayoutSider.vue.d.ts +35 -0
- package/lib/Layout/LayoutSider.vue.js +1 -0
- package/lib/Layout/LayoutSider.vue2.js +1 -0
- package/lib/Layout/index.d.ts +159 -0
- package/lib/Layout/index.js +1 -0
- package/lib/Layout/type.d.ts +41 -0
- package/lib/Link/index.d.ts +68 -0
- package/lib/Link/index.js +1 -0
- package/lib/Link/index.vue.d.ts +31 -0
- package/lib/Link/index.vue.js +1 -0
- package/lib/Link/index.vue2.js +1 -0
- package/lib/Link/type.d.ts +18 -0
- package/lib/List/List.vue.d.ts +303 -0
- package/lib/List/List.vue.js +1 -0
- package/lib/List/List.vue2.js +1 -0
- package/lib/List/ListItem.vue.d.ts +18 -0
- package/lib/List/ListItem.vue.js +1 -0
- package/lib/List/ListItem.vue2.js +1 -0
- package/lib/List/ListItemMeta.vue.d.ts +19 -0
- package/lib/List/ListItemMeta.vue.js +1 -0
- package/lib/List/ListItemMeta.vue2.js +1 -0
- package/lib/List/ListVirtual.vue.d.ts +26 -0
- package/lib/List/ListVirtual.vue.js +1 -0
- package/lib/List/ListVirtual.vue3.js +1 -0
- package/lib/List/hooks/useScrollReach.d.ts +17 -0
- package/lib/List/hooks/useScrollReach.js +1 -0
- package/lib/List/index.d.ts +275 -0
- package/lib/List/index.js +1 -0
- package/lib/List/type.d.ts +54 -0
- package/lib/Mention/index.d.ts +852 -0
- package/lib/Mention/index.js +1 -0
- package/lib/Mention/index.vue.d.ts +1536 -0
- package/lib/Mention/index.vue.js +1 -0
- package/lib/Mention/index.vue2.js +1 -0
- package/lib/Mention/type.d.ts +31 -0
- package/lib/Menu/Menu.vue.d.ts +54 -0
- package/lib/Menu/Menu.vue.js +1 -0
- package/lib/Menu/Menu.vue2.js +1 -0
- package/lib/Menu/MenuEllipsis.vue.d.ts +2 -0
- package/lib/Menu/MenuEllipsis.vue.js +1 -0
- package/lib/Menu/MenuEllipsis.vue2.js +1 -0
- package/lib/Menu/MenuItem.vue.d.ts +23 -0
- package/lib/Menu/MenuItem.vue.js +1 -0
- package/lib/Menu/MenuItem.vue2.js +1 -0
- package/lib/Menu/MenuItemGroup.vue.d.ts +18 -0
- package/lib/Menu/MenuItemGroup.vue.js +1 -0
- package/lib/Menu/MenuItemGroup.vue2.js +1 -0
- package/lib/Menu/MenuPopOption.vue.d.ts +10 -0
- package/lib/Menu/MenuPopOption.vue.js +1 -0
- package/lib/Menu/MenuPopOption.vue2.js +1 -0
- package/lib/Menu/SubMenu.vue.d.ts +22 -0
- package/lib/Menu/SubMenu.vue.js +1 -0
- package/lib/Menu/SubMenu.vue2.js +1 -0
- package/lib/Menu/hooks/useContext.d.ts +50 -0
- package/lib/Menu/hooks/useContext.js +1 -0
- package/lib/Menu/index.d.ts +214 -0
- package/lib/Menu/index.js +1 -0
- package/lib/Menu/type.d.ts +68 -0
- package/lib/Message/Message.vue.d.ts +15 -0
- package/lib/Message/Message.vue.js +1 -0
- package/lib/Message/Message.vue2.js +1 -0
- package/lib/Message/MessageList.vue.d.ts +6 -0
- package/lib/Message/MessageList.vue.js +1 -0
- package/lib/Message/MessageList.vue2.js +1 -0
- package/lib/Message/index.d.ts +69 -0
- package/lib/Message/index.js +1 -0
- package/lib/Message/type.d.ts +34 -0
- package/lib/Modal/Modal.vue.d.ts +74 -0
- package/lib/Modal/Modal.vue.js +1 -0
- package/lib/Modal/Modal.vue2.js +1 -0
- package/lib/Modal/ModalService.vue.d.ts +37 -0
- package/lib/Modal/ModalService.vue.js +1 -0
- package/lib/Modal/ModalService.vue3.js +1 -0
- package/lib/Modal/hooks/useModalClose.d.ts +18 -0
- package/lib/Modal/hooks/useModalClose.js +1 -0
- package/lib/Modal/hooks/useModalDraggable.d.ts +14 -0
- package/lib/Modal/hooks/useModalDraggable.js +1 -0
- package/lib/Modal/hooks/useOnBeforeClose.d.ts +4 -0
- package/lib/Modal/hooks/useOnBeforeClose.js +1 -0
- package/lib/Modal/index.d.ts +185 -0
- package/lib/Modal/index.js +1 -0
- package/lib/Modal/type.d.ts +86 -0
- package/lib/Notification/Notification.vue.d.ts +19 -0
- package/lib/Notification/Notification.vue.js +1 -0
- package/lib/Notification/Notification.vue2.js +1 -0
- package/lib/Notification/NotificationList.vue.d.ts +6 -0
- package/lib/Notification/NotificationList.vue.js +1 -0
- package/lib/Notification/NotificationList.vue2.js +1 -0
- package/lib/Notification/index.d.ts +80 -0
- package/lib/Notification/index.js +1 -0
- package/lib/Notification/type.d.ts +38 -0
- package/lib/OverflowList/index.d.ts +52 -0
- package/lib/OverflowList/index.js +1 -0
- package/lib/OverflowList/index.vue.d.ts +30 -0
- package/lib/OverflowList/index.vue.js +1 -0
- package/lib/OverflowList/index.vue2.js +1 -0
- package/lib/OverflowList/type.d.ts +13 -0
- package/lib/PageHeader/index.d.ts +49 -0
- package/lib/PageHeader/index.js +1 -0
- package/lib/PageHeader/index.vue.d.ts +24 -0
- package/lib/PageHeader/index.vue.js +1 -0
- package/lib/PageHeader/index.vue2.js +1 -0
- package/lib/PageHeader/type.d.ts +16 -0
- package/lib/Pagination/Pagination.vue.d.ts +46 -0
- package/lib/Pagination/Pagination.vue.js +1 -0
- package/lib/Pagination/Pagination.vue2.js +1 -0
- package/lib/Pagination/PaginationItem.vue.d.ts +23 -0
- package/lib/Pagination/PaginationItem.vue.js +1 -0
- package/lib/Pagination/PaginationItem.vue2.js +1 -0
- package/lib/Pagination/hooks/useContext.d.ts +29 -0
- package/lib/Pagination/hooks/useContext.js +1 -0
- package/lib/Pagination/index.d.ts +112 -0
- package/lib/Pagination/index.js +1 -0
- package/lib/Pagination/type.d.ts +43 -0
- package/lib/Popconfirm/index.d.ts +294 -0
- package/lib/Popconfirm/index.js +1 -0
- package/lib/Popconfirm/index.vue.d.ts +400 -0
- package/lib/Popconfirm/index.vue.js +1 -0
- package/lib/Popconfirm/index.vue3.js +1 -0
- package/lib/Popconfirm/type.d.ts +41 -0
- package/lib/Popover/index.d.ts +90 -0
- package/lib/Popover/index.js +1 -0
- package/lib/Popover/index.vue.d.ts +38 -0
- package/lib/Popover/index.vue.js +1 -0
- package/lib/Popover/index.vue3.js +1 -0
- package/lib/Popover/type.d.ts +30 -0
- package/lib/Progress/Progress.vue.d.ts +34 -0
- package/lib/Progress/Progress.vue.js +1 -0
- package/lib/Progress/Progress.vue2.js +1 -0
- package/lib/Progress/ProgressCircle.vue.d.ts +34 -0
- package/lib/Progress/ProgressCircle.vue.js +1 -0
- package/lib/Progress/ProgressCircle.vue2.js +1 -0
- package/lib/Progress/ProgressLine.vue.d.ts +32 -0
- package/lib/Progress/ProgressLine.vue.js +1 -0
- package/lib/Progress/ProgressLine.vue2.js +1 -0
- package/lib/Progress/ProgressSteps.vue.d.ts +32 -0
- package/lib/Progress/ProgressSteps.vue.js +1 -0
- package/lib/Progress/ProgressSteps.vue3.js +1 -0
- package/lib/Progress/index.d.ts +61 -0
- package/lib/Progress/index.js +1 -0
- package/lib/Progress/type.d.ts +17 -0
- package/lib/Radio/Radio.vue.d.ts +28 -0
- package/lib/Radio/Radio.vue.js +1 -0
- package/lib/Radio/Radio.vue2.js +1 -0
- package/lib/Radio/RadioGroup.vue.d.ts +30 -0
- package/lib/Radio/RadioGroup.vue.js +1 -0
- package/lib/Radio/RadioGroup.vue3.js +1 -0
- package/lib/Radio/hooks/useContext.d.ts +21 -0
- package/lib/Radio/hooks/useContext.js +1 -0
- package/lib/Radio/index.d.ts +118 -0
- package/lib/Radio/index.js +1 -0
- package/lib/Radio/type.d.ts +49 -0
- package/lib/Rate/index.d.ts +74 -0
- package/lib/Rate/index.js +1 -0
- package/lib/Rate/index.vue.d.ts +33 -0
- package/lib/Rate/index.vue.js +1 -0
- package/lib/Rate/index.vue2.js +1 -0
- package/lib/Rate/type.d.ts +21 -0
- package/lib/ResizeBox/index.d.ts +89 -0
- package/lib/ResizeBox/index.js +1 -0
- package/lib/ResizeBox/index.vue.d.ts +43 -0
- package/lib/ResizeBox/index.vue.js +1 -0
- package/lib/ResizeBox/index.vue2.js +1 -0
- package/lib/ResizeBox/type.d.ts +26 -0
- package/lib/Result/index.d.ts +39 -0
- package/lib/Result/index.js +1 -0
- package/lib/Result/index.vue.d.ts +20 -0
- package/lib/Result/index.vue.js +1 -0
- package/lib/Result/index.vue2.js +1 -0
- package/lib/Result/type.d.ts +13 -0
- package/lib/Scrollbar/Scrollbar.vue.d.ts +36 -0
- package/lib/Scrollbar/Scrollbar.vue.js +1 -0
- package/lib/Scrollbar/Scrollbar.vue2.js +1 -0
- package/lib/Scrollbar/ScrollbarTrack.vue.d.ts +17 -0
- package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -0
- package/lib/Scrollbar/ScrollbarTrack.vue2.js +1 -0
- package/lib/Scrollbar/hooks/useContext.d.ts +16 -0
- package/lib/Scrollbar/hooks/useContext.js +1 -0
- package/lib/Scrollbar/index.d.ts +70 -0
- package/lib/Scrollbar/index.js +1 -0
- package/lib/Scrollbar/type.d.ts +21 -0
- package/lib/Select/Optgroup.vue.d.ts +16 -0
- package/lib/Select/Optgroup.vue.js +1 -0
- package/lib/Select/Optgroup.vue2.js +1 -0
- package/lib/Select/Option.vue.d.ts +25 -0
- package/lib/Select/Option.vue.js +1 -0
- package/lib/Select/Option.vue2.js +1 -0
- package/lib/Select/Select.vue.d.ts +718 -0
- package/lib/Select/Select.vue.js +1 -0
- package/lib/Select/Select.vue2.js +1 -0
- package/lib/Select/SelectIcon.vue.d.ts +12 -0
- package/lib/Select/SelectIcon.vue.js +1 -0
- package/lib/Select/SelectIcon.vue2.js +1 -0
- package/lib/Select/SelectRealList.vue.d.ts +7 -0
- package/lib/Select/SelectRealList.vue.js +1 -0
- package/lib/Select/SelectRealList.vue2.js +1 -0
- package/lib/Select/SelectView.vue.d.ts +39 -0
- package/lib/Select/SelectView.vue.js +1 -0
- package/lib/Select/SelectView.vue2.js +1 -0
- package/lib/Select/SelectVirtualList.vue.d.ts +6 -0
- package/lib/Select/SelectVirtualList.vue.js +1 -0
- package/lib/Select/SelectVirtualList.vue2.js +1 -0
- package/lib/Select/hooks/useContext.d.ts +81 -0
- package/lib/Select/hooks/useContext.js +1 -0
- package/lib/Select/hooks/useSelectHotkeys.d.ts +15 -0
- package/lib/Select/hooks/useSelectHotkeys.js +1 -0
- package/lib/Select/hooks/useSelectOptions.d.ts +67 -0
- package/lib/Select/hooks/useSelectOptions.js +1 -0
- package/lib/Select/index.d.ts +582 -0
- package/lib/Select/index.js +1 -0
- package/lib/Select/type.d.ts +118 -0
- package/lib/Skeleton/Skeleton.vue.d.ts +19 -0
- package/lib/Skeleton/Skeleton.vue.js +1 -0
- package/lib/Skeleton/Skeleton.vue2.js +1 -0
- package/lib/Skeleton/SkeletonLine.vue.d.ts +8 -0
- package/lib/Skeleton/SkeletonLine.vue.js +1 -0
- package/lib/Skeleton/SkeletonLine.vue2.js +1 -0
- package/lib/Skeleton/SkeletonShape.vue.d.ts +6 -0
- package/lib/Skeleton/SkeletonShape.vue.js +1 -0
- package/lib/Skeleton/SkeletonShape.vue2.js +1 -0
- package/lib/Skeleton/index.d.ts +53 -0
- package/lib/Skeleton/index.js +1 -0
- package/lib/Skeleton/type.d.ts +20 -0
- package/lib/Slider/Slider.vue.d.ts +25 -0
- package/lib/Slider/Slider.vue.js +1 -0
- package/lib/Slider/Slider.vue2.js +1 -0
- package/lib/Slider/SliderBtn.vue.d.ts +13 -0
- package/lib/Slider/SliderBtn.vue.js +1 -0
- package/lib/Slider/SliderBtn.vue2.js +1 -0
- package/lib/Slider/SliderInput.vue.d.ts +5 -0
- package/lib/Slider/SliderInput.vue.js +1 -0
- package/lib/Slider/SliderInput.vue2.js +1 -0
- package/lib/Slider/SliderTicks.vue.d.ts +11 -0
- package/lib/Slider/SliderTicks.vue.js +1 -0
- package/lib/Slider/SliderTicks.vue2.js +1 -0
- package/lib/Slider/hooks/useContext.d.ts +44 -0
- package/lib/Slider/hooks/useContext.js +1 -0
- package/lib/Slider/hooks/useSliderDraggable.d.ts +37 -0
- package/lib/Slider/hooks/useSliderDraggable.js +1 -0
- package/lib/Slider/index.d.ts +84 -0
- package/lib/Slider/index.js +1 -0
- package/lib/Slider/type.d.ts +22 -0
- package/lib/Space/index.d.ts +45 -0
- package/lib/Space/index.js +1 -0
- package/lib/Space/index.vue.d.ts +22 -0
- package/lib/Space/index.vue.js +1 -0
- package/lib/Space/index.vue2.js +1 -0
- package/lib/Space/type.d.ts +13 -0
- package/lib/Spin/index.d.ts +48 -0
- package/lib/Spin/index.js +1 -0
- package/lib/Spin/index.vue.d.ts +23 -0
- package/lib/Spin/index.vue.js +1 -0
- package/lib/Spin/index.vue2.js +1 -0
- package/lib/Spin/type.d.ts +13 -0
- package/lib/Split/index.d.ts +79 -0
- package/lib/Split/index.js +1 -0
- package/lib/Split/index.vue.d.ts +40 -0
- package/lib/Split/index.vue.js +1 -0
- package/lib/Split/index.vue2.js +1 -0
- package/lib/Split/type.d.ts +22 -0
- package/lib/Statistic/Countdown.vue.d.ts +28 -0
- package/lib/Statistic/Countdown.vue.js +1 -0
- package/lib/Statistic/Countdown.vue2.js +1 -0
- package/lib/Statistic/Statistic.vue.d.ts +40 -0
- package/lib/Statistic/Statistic.vue.js +1 -0
- package/lib/Statistic/Statistic.vue2.js +1 -0
- package/lib/Statistic/index.d.ts +140 -0
- package/lib/Statistic/index.js +1 -0
- package/lib/Statistic/type.d.ts +44 -0
- package/lib/Steps/Step.vue.d.ts +21 -0
- package/lib/Steps/Step.vue.js +1 -0
- package/lib/Steps/Step.vue2.js +1 -0
- package/lib/Steps/Steps.vue.d.ts +32 -0
- package/lib/Steps/Steps.vue.js +1 -0
- package/lib/Steps/Steps.vue2.js +1 -0
- package/lib/Steps/hooks/useContext.d.ts +26 -0
- package/lib/Steps/hooks/useContext.js +1 -0
- package/lib/Steps/index.d.ts +106 -0
- package/lib/Steps/index.js +1 -0
- package/lib/Steps/type.d.ts +39 -0
- package/lib/Switch/index.d.ts +94 -0
- package/lib/Switch/index.js +1 -0
- package/lib/Switch/index.vue.d.ts +40 -0
- package/lib/Switch/index.vue.js +1 -0
- package/lib/Switch/index.vue2.js +1 -0
- package/lib/Switch/type.d.ts +31 -0
- package/lib/Tabs/TabButton.vue.d.ts +24 -0
- package/lib/Tabs/TabButton.vue.js +1 -0
- package/lib/Tabs/TabButton.vue2.js +1 -0
- package/lib/Tabs/TabPane.vue.d.ts +22 -0
- package/lib/Tabs/TabPane.vue.js +1 -0
- package/lib/Tabs/TabPane.vue3.js +1 -0
- package/lib/Tabs/Tabs.vue.d.ts +48 -0
- package/lib/Tabs/Tabs.vue.js +1 -0
- package/lib/Tabs/Tabs.vue2.js +1 -0
- package/lib/Tabs/TabsNavInk.vue.d.ts +7 -0
- package/lib/Tabs/TabsNavInk.vue.js +1 -0
- package/lib/Tabs/TabsNavInk.vue2.js +1 -0
- package/lib/Tabs/TabsTab.vue.d.ts +7 -0
- package/lib/Tabs/TabsTab.vue.js +1 -0
- package/lib/Tabs/TabsTab.vue2.js +1 -0
- package/lib/Tabs/hooks/useContext.d.ts +35 -0
- package/lib/Tabs/hooks/useContext.js +1 -0
- package/lib/Tabs/hooks/useTabsScroll.d.ts +15 -0
- package/lib/Tabs/hooks/useTabsScroll.js +1 -0
- package/lib/Tabs/index.d.ts +111 -0
- package/lib/Tabs/index.js +1 -0
- package/lib/Tabs/type.d.ts +44 -0
- package/lib/Tag/index.d.ts +88 -0
- package/lib/Tag/index.js +1 -0
- package/lib/Tag/index.vue.d.ts +38 -0
- package/lib/Tag/index.vue.js +1 -0
- package/lib/Tag/index.vue2.js +1 -0
- package/lib/Tag/type.d.ts +25 -0
- package/lib/Textarea/hooks/useTextareaHeight.d.ts +11 -0
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -0
- package/lib/Textarea/index.d.ts +128 -0
- package/lib/Textarea/index.js +1 -0
- package/lib/Textarea/index.vue.d.ts +42 -0
- package/lib/Textarea/index.vue.js +1 -0
- package/lib/Textarea/index.vue2.js +1 -0
- package/lib/Textarea/type.d.ts +36 -0
- package/lib/TimePicker/TimePicker.vue.d.ts +147 -0
- package/lib/TimePicker/TimePicker.vue.js +1 -0
- package/lib/TimePicker/TimePicker.vue2.js +1 -0
- package/lib/TimePicker/TimePickerPanel.vue.d.ts +19 -0
- package/lib/TimePicker/TimePickerPanel.vue.js +1 -0
- package/lib/TimePicker/TimePickerPanel.vue2.js +1 -0
- package/lib/TimePicker/hooks/useContext.d.ts +42 -0
- package/lib/TimePicker/hooks/useContext.js +1 -0
- package/lib/TimePicker/index.d.ts +173 -0
- package/lib/TimePicker/index.js +1 -0
- package/lib/TimePicker/type.d.ts +50 -0
- package/lib/Timeline/Timeline.vue.d.ts +22 -0
- package/lib/Timeline/Timeline.vue.js +1 -0
- package/lib/Timeline/Timeline.vue2.js +1 -0
- package/lib/Timeline/TimelineItem.vue.d.ts +24 -0
- package/lib/Timeline/TimelineItem.vue.js +1 -0
- package/lib/Timeline/TimelineItem.vue2.js +1 -0
- package/lib/Timeline/hooks/useContext.d.ts +18 -0
- package/lib/Timeline/hooks/useContext.js +1 -0
- package/lib/Timeline/index.d.ts +88 -0
- package/lib/Timeline/index.js +1 -0
- package/lib/Timeline/type.d.ts +31 -0
- package/lib/Tooltip/index.d.ts +90 -0
- package/lib/Tooltip/index.js +1 -0
- package/lib/Tooltip/index.vue.d.ts +39 -0
- package/lib/Tooltip/index.vue.js +1 -0
- package/lib/Tooltip/index.vue3.js +1 -0
- package/lib/Tooltip/type.d.ts +29 -0
- package/lib/Transfer/Transfer.vue.d.ts +42 -0
- package/lib/Transfer/Transfer.vue.js +1 -0
- package/lib/Transfer/Transfer.vue2.js +1 -0
- package/lib/Transfer/TransferPanel.vue.d.ts +19 -0
- package/lib/Transfer/TransferPanel.vue.js +1 -0
- package/lib/Transfer/TransferPanel.vue2.js +1 -0
- package/lib/Transfer/hooks/useContext.d.ts +32 -0
- package/lib/Transfer/hooks/useContext.js +1 -0
- package/lib/Transfer/index.d.ts +99 -0
- package/lib/Transfer/index.js +1 -0
- package/lib/Transfer/type.d.ts +64 -0
- package/lib/Trigger/hooks/useContext.d.ts +22 -0
- package/lib/Trigger/hooks/useContext.js +1 -0
- package/lib/Trigger/hooks/useTriggerPosition.d.ts +32 -0
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -0
- package/lib/Trigger/hooks/useTriggerVisible.d.ts +19 -0
- package/lib/Trigger/hooks/useTriggerVisible.js +1 -0
- package/lib/Trigger/index.d.ts +166 -0
- package/lib/Trigger/index.js +1 -0
- package/lib/Trigger/index.vue.d.ts +59 -0
- package/lib/Trigger/index.vue.js +1 -0
- package/lib/Trigger/index.vue2.js +1 -0
- package/lib/Trigger/type.d.ts +61 -0
- package/lib/Typography/Typography.vue.d.ts +17 -0
- package/lib/Typography/Typography.vue.js +1 -0
- package/lib/Typography/Typography.vue3.js +1 -0
- package/lib/Typography/TypographyBase.vue.d.ts +358 -0
- package/lib/Typography/TypographyBase.vue.js +1 -0
- package/lib/Typography/TypographyBase.vue2.js +1 -0
- package/lib/Typography/TypographyParagraph.vue.d.ts +19 -0
- package/lib/Typography/TypographyParagraph.vue.js +1 -0
- package/lib/Typography/TypographyParagraph.vue2.js +1 -0
- package/lib/Typography/TypographyText.vue.d.ts +16 -0
- package/lib/Typography/TypographyText.vue.js +1 -0
- package/lib/Typography/TypographyText.vue2.js +1 -0
- package/lib/Typography/TypographyTitle.vue.d.ts +18 -0
- package/lib/Typography/TypographyTitle.vue.js +1 -0
- package/lib/Typography/TypographyTitle.vue2.js +1 -0
- package/lib/Typography/index.d.ts +39 -0
- package/lib/Typography/index.js +1 -0
- package/lib/Typography/type.d.ts +62 -0
- package/lib/VerificationCode/index.d.ts +74 -0
- package/lib/VerificationCode/index.js +1 -0
- package/lib/VerificationCode/index.vue.d.ts +21 -0
- package/lib/VerificationCode/index.vue.js +1 -0
- package/lib/VerificationCode/index.vue2.js +1 -0
- package/lib/VerificationCode/type.d.ts +22 -0
- package/lib/Watermark/index.d.ts +74 -0
- package/lib/Watermark/index.js +1 -0
- package/lib/Watermark/index.vue.d.ts +35 -0
- package/lib/Watermark/index.vue.js +1 -0
- package/lib/Watermark/index.vue2.js +1 -0
- package/lib/Watermark/type.d.ts +27 -0
- package/lib/_shared/components/ExpandTransition.vue.d.ts +17 -0
- package/lib/_shared/components/ExpandTransition.vue2.js +1 -0
- package/lib/_shared/components/ExpandTransition.vue3.js +1 -0
- package/lib/_shared/components/IconButton.vue.d.ts +30 -0
- package/lib/_shared/components/IconButton.vue.js +1 -0
- package/lib/_shared/components/IconButton.vue3.js +1 -0
- package/lib/_shared/components/PreventFocus.vue.d.ts +24 -0
- package/lib/_shared/components/PreventFocus.vue.js +1 -0
- package/lib/_shared/components/PreventFocus.vue2.js +1 -0
- package/lib/_shared/components/index.d.ts +3 -0
- package/lib/_shared/constants/index.d.ts +8 -0
- package/lib/_shared/constants/index.js +1 -0
- package/lib/_shared/icons/Icon403.svg.js +1 -0
- package/lib/_shared/icons/Icon404.svg.js +1 -0
- package/lib/_shared/icons/Icon500.svg.js +1 -0
- package/lib/_shared/icons/IconArrowDown.vue.d.ts +2 -0
- package/lib/_shared/icons/IconArrowDown.vue.js +1 -0
- package/lib/_shared/icons/IconArrowDown.vue2.js +1 -0
- package/lib/_shared/icons/IconArrowRight.vue.d.ts +2 -0
- package/lib/_shared/icons/IconArrowRight.vue.js +1 -0
- package/lib/_shared/icons/IconArrowRight.vue2.js +1 -0
- package/lib/_shared/icons/IconCheck.vue.d.ts +2 -0
- package/lib/_shared/icons/IconCheck.vue.js +1 -0
- package/lib/_shared/icons/IconCheck.vue2.js +1 -0
- package/lib/_shared/icons/IconCheckboxChecked.vue.d.ts +2 -0
- package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -0
- package/lib/_shared/icons/IconCheckboxChecked.vue2.js +1 -0
- package/lib/_shared/icons/IconClose.vue.d.ts +2 -0
- package/lib/_shared/icons/IconClose.vue.js +1 -0
- package/lib/_shared/icons/IconClose.vue2.js +1 -0
- package/lib/_shared/icons/IconCopy.vue.d.ts +2 -0
- package/lib/_shared/icons/IconCopy.vue.js +1 -0
- package/lib/_shared/icons/IconCopy.vue2.js +1 -0
- package/lib/_shared/icons/IconDelete.vue.d.ts +2 -0
- package/lib/_shared/icons/IconDelete.vue.js +1 -0
- package/lib/_shared/icons/IconDelete.vue2.js +1 -0
- package/lib/_shared/icons/IconDragDot.vue.d.ts +2 -0
- package/lib/_shared/icons/IconDragDot.vue.js +1 -0
- package/lib/_shared/icons/IconDragDot.vue2.js +1 -0
- package/lib/_shared/icons/IconEdit.vue.d.ts +2 -0
- package/lib/_shared/icons/IconEdit.vue.js +1 -0
- package/lib/_shared/icons/IconEdit.vue2.js +1 -0
- package/lib/_shared/icons/IconEmpty.vue.d.ts +2 -0
- package/lib/_shared/icons/IconEmpty.vue.js +1 -0
- package/lib/_shared/icons/IconEmpty.vue2.js +1 -0
- package/lib/_shared/icons/IconError.vue.d.ts +2 -0
- package/lib/_shared/icons/IconError.vue.js +1 -0
- package/lib/_shared/icons/IconError.vue2.js +1 -0
- package/lib/_shared/icons/IconExclamation.vue.d.ts +2 -0
- package/lib/_shared/icons/IconExclamation.vue.js +1 -0
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -0
- package/lib/_shared/icons/IconEyeClose.vue.d.ts +2 -0
- package/lib/_shared/icons/IconEyeClose.vue.js +1 -0
- package/lib/_shared/icons/IconEyeClose.vue2.js +1 -0
- package/lib/_shared/icons/IconEyeOpen.vue.d.ts +2 -0
- package/lib/_shared/icons/IconEyeOpen.vue.js +1 -0
- package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -0
- package/lib/_shared/icons/IconFaceSmile.vue.d.ts +2 -0
- package/lib/_shared/icons/IconFaceSmile.vue.js +1 -0
- package/lib/_shared/icons/IconFaceSmile.vue2.js +1 -0
- package/lib/_shared/icons/IconFullScreen.vue.d.ts +2 -0
- package/lib/_shared/icons/IconFullScreen.vue.js +1 -0
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -0
- package/lib/_shared/icons/IconImageClose.vue.d.ts +2 -0
- package/lib/_shared/icons/IconImageClose.vue.js +1 -0
- package/lib/_shared/icons/IconImageClose.vue2.js +1 -0
- package/lib/_shared/icons/IconInfo.vue.d.ts +2 -0
- package/lib/_shared/icons/IconInfo.vue.js +1 -0
- package/lib/_shared/icons/IconInfo.vue2.js +1 -0
- package/lib/_shared/icons/IconInfoLine.vue.d.ts +2 -0
- package/lib/_shared/icons/IconInfoLine.vue.js +1 -0
- package/lib/_shared/icons/IconInfoLine.vue2.js +1 -0
- package/lib/_shared/icons/IconLink.vue.d.ts +2 -0
- package/lib/_shared/icons/IconLink.vue.js +1 -0
- package/lib/_shared/icons/IconLink.vue2.js +1 -0
- package/lib/_shared/icons/IconLoading.vue.d.ts +2 -0
- package/lib/_shared/icons/IconLoading.vue.js +1 -0
- package/lib/_shared/icons/IconLoading.vue2.js +1 -0
- package/lib/_shared/icons/IconMenuFold.vue.d.ts +2 -0
- package/lib/_shared/icons/IconMenuFold.vue.js +1 -0
- package/lib/_shared/icons/IconMenuFold.vue2.js +1 -0
- package/lib/_shared/icons/IconMenuUnfold.vue.d.ts +2 -0
- package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -0
- package/lib/_shared/icons/IconMenuUnfold.vue2.js +1 -0
- package/lib/_shared/icons/IconMinus.vue.d.ts +2 -0
- package/lib/_shared/icons/IconMinus.vue.js +1 -0
- package/lib/_shared/icons/IconMinus.vue2.js +1 -0
- package/lib/_shared/icons/IconMore.vue.d.ts +2 -0
- package/lib/_shared/icons/IconMore.vue.js +1 -0
- package/lib/_shared/icons/IconMore.vue2.js +1 -0
- package/lib/_shared/icons/IconOriginSize.vue.d.ts +2 -0
- package/lib/_shared/icons/IconOriginSize.vue.js +1 -0
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -0
- package/lib/_shared/icons/IconPlus.vue.d.ts +2 -0
- package/lib/_shared/icons/IconPlus.vue.js +1 -0
- package/lib/_shared/icons/IconPlus.vue2.js +1 -0
- package/lib/_shared/icons/IconRight.vue.d.ts +2 -0
- package/lib/_shared/icons/IconRight.vue.js +1 -0
- package/lib/_shared/icons/IconRight.vue2.js +1 -0
- package/lib/_shared/icons/IconRotateLeft.vue.d.ts +2 -0
- package/lib/_shared/icons/IconRotateLeft.vue.js +1 -0
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -0
- package/lib/_shared/icons/IconRotateRight.vue.d.ts +2 -0
- package/lib/_shared/icons/IconRotateRight.vue.js +1 -0
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -0
- package/lib/_shared/icons/IconSearch.vue.d.ts +2 -0
- package/lib/_shared/icons/IconSearch.vue.js +1 -0
- package/lib/_shared/icons/IconSearch.vue2.js +1 -0
- package/lib/_shared/icons/IconSeparator.vue.d.ts +2 -0
- package/lib/_shared/icons/IconSeparator.vue.js +1 -0
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -0
- package/lib/_shared/icons/IconStar.vue.d.ts +2 -0
- package/lib/_shared/icons/IconStar.vue.js +1 -0
- package/lib/_shared/icons/IconStar.vue2.js +1 -0
- package/lib/_shared/icons/IconSuccess.vue.d.ts +2 -0
- package/lib/_shared/icons/IconSuccess.vue.js +1 -0
- package/lib/_shared/icons/IconSuccess.vue2.js +1 -0
- package/lib/_shared/icons/IconTime.vue.d.ts +2 -0
- package/lib/_shared/icons/IconTime.vue.js +1 -0
- package/lib/_shared/icons/IconTime.vue2.js +1 -0
- package/lib/_shared/icons/IconToTop.vue.d.ts +2 -0
- package/lib/_shared/icons/IconToTop.vue.js +1 -0
- package/lib/_shared/icons/IconToTop.vue2.js +1 -0
- package/lib/_shared/icons/IconWarning.vue.d.ts +2 -0
- package/lib/_shared/icons/IconWarning.vue.js +1 -0
- package/lib/_shared/icons/IconWarning.vue2.js +1 -0
- package/lib/_shared/icons/IconZoomIn.vue.d.ts +2 -0
- package/lib/_shared/icons/IconZoomIn.vue.js +1 -0
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -0
- package/lib/_shared/icons/IconZoomOut.vue.d.ts +2 -0
- package/lib/_shared/icons/IconZoomOut.vue.js +1 -0
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -0
- package/lib/_shared/icons/_Icon.vue.d.ts +31 -0
- package/lib/_shared/icons/_Icon.vue2.js +1 -0
- package/lib/_shared/icons/_Icon.vue3.js +1 -0
- package/lib/_shared/icons/index.d.ts +39 -0
- package/lib/_shared/type/index.d.ts +18 -0
- package/lib/_shared/utils/color.d.ts +18 -0
- package/lib/_shared/utils/color.js +1 -0
- package/lib/_shared/utils/control.d.ts +5 -0
- package/lib/_shared/utils/control.js +1 -0
- package/lib/_shared/utils/dom.d.ts +28 -0
- package/lib/_shared/utils/dom.js +1 -0
- package/lib/_shared/utils/fn.d.ts +8 -0
- package/lib/_shared/utils/fn.js +1 -0
- package/lib/_shared/utils/global-config.d.ts +28 -0
- package/lib/_shared/utils/global-config.js +1 -0
- package/lib/_shared/utils/index.d.ts +8 -0
- package/lib/_shared/utils/is.d.ts +27 -0
- package/lib/_shared/utils/is.js +1 -0
- package/lib/_shared/utils/time.d.ts +48 -0
- package/lib/_shared/utils/time.js +1 -0
- package/lib/_shared/utils/vue-utils.d.ts +7 -0
- package/lib/_shared/utils/vue-utils.js +1 -0
- package/lib/_virtual/_commonjsHelpers.js +1 -0
- package/lib/_virtual/_plugin-vue_export-helper.js +1 -0
- package/lib/_virtual/dayjs.min.js +1 -0
- package/lib/_virtual/duration.js +1 -0
- package/lib/_virtual/en.js +1 -0
- package/lib/_virtual/isSameOrAfter.js +1 -0
- package/lib/_virtual/isSameOrBefore.js +1 -0
- package/lib/_virtual/toObject.js +1 -0
- package/lib/index.d.ts +1710 -0
- package/lib/index.js +1 -0
- package/lib/node_modules/@vueuse/core/index.js +1 -0
- package/lib/node_modules/@vueuse/shared/index.js +1 -0
- package/lib/node_modules/b-tween/dist/b-tween.es.js +1 -0
- package/lib/node_modules/dayjs/dayjs.min.js +1 -0
- package/lib/node_modules/dayjs/locale/en.js +1 -0
- package/lib/node_modules/dayjs/plugin/duration.js +1 -0
- package/lib/node_modules/dayjs/plugin/isSameOrAfter.js +1 -0
- package/lib/node_modules/dayjs/plugin/isSameOrBefore.js +1 -0
- package/lib/node_modules/dayjs/plugin/toObject.js +1 -0
- package/lib/node_modules/nanoid/index.browser.js +1 -0
- package/lib/node_modules/nanoid/url-alphabet/index.js +1 -0
- package/lib/node_modules/tinycolor2/esm/tinycolor.js +1 -0
- package/lib/style.css +1 -0
- package/package.json +108 -0
@@ -0,0 +1,304 @@
|
|
1
|
+
import { defineComponent, toRefs, ref, computed, createBlock, openBlock, unref, mergeProps, isRef, withCtx, createElementVNode, normalizeStyle, normalizeClass, renderSlot, createVNode, toDisplayString, createCommentVNode } from "vue";
|
2
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
+
import "../_shared/utils/dom.js";
|
4
|
+
import { sleep } from "../_shared/utils/fn.js";
|
5
|
+
import { isUndefined } from "../_shared/utils/is.js";
|
6
|
+
import "../_shared/utils/time.js";
|
7
|
+
import "../Empty/index.js";
|
8
|
+
/* empty css */
|
9
|
+
import useContext from "./hooks/useContext.js";
|
10
|
+
import SelectIcon from "./SelectIcon.vue.js";
|
11
|
+
import SelectView from "./SelectView.vue.js";
|
12
|
+
import Input from "../Input/index.js";
|
13
|
+
import InputTag from "../InputTag/index.js";
|
14
|
+
import Trigger from "../Trigger/index.js";
|
15
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
16
|
+
...{
|
17
|
+
name: "Select"
|
18
|
+
},
|
19
|
+
__name: "Select",
|
20
|
+
props: {
|
21
|
+
multiple: { type: Boolean, default: false },
|
22
|
+
modelValue: { type: [String, Number, Boolean, Object, Array], default: void 0 },
|
23
|
+
defaultValue: { type: [String, Number, Boolean, Object, Array], default: (props) => {
|
24
|
+
return props.multiple ? [] : "";
|
25
|
+
} },
|
26
|
+
inputValue: { default: void 0 },
|
27
|
+
defaultInputValue: { default: "" },
|
28
|
+
size: { default: void 0 },
|
29
|
+
placeholder: { default: "" },
|
30
|
+
loading: { type: Boolean, default: false },
|
31
|
+
disabled: { type: Boolean, default: false },
|
32
|
+
error: { type: Boolean, default: false },
|
33
|
+
allowClear: { type: Boolean, default: false },
|
34
|
+
allowSearch: { type: Boolean, default: (props) => {
|
35
|
+
return props.multiple;
|
36
|
+
} },
|
37
|
+
allowCreate: { type: Boolean, default: false },
|
38
|
+
maxTagCount: { default: 0 },
|
39
|
+
popupContainer: { default: void 0 },
|
40
|
+
bordered: { type: Boolean, default: true },
|
41
|
+
defaultActivefirstOption: { type: Boolean, default: false },
|
42
|
+
popupVisible: { type: Boolean, default: void 0 },
|
43
|
+
defaultPopupVisible: { type: Boolean, default: false },
|
44
|
+
unmountonClose: { type: Boolean },
|
45
|
+
filterOption: { type: [Boolean, Function], default: void 0 },
|
46
|
+
options: { default: () => [] },
|
47
|
+
virtualListProps: { default: void 0 },
|
48
|
+
triggerProps: { default: () => {
|
49
|
+
return {
|
50
|
+
contentStyle: {}
|
51
|
+
};
|
52
|
+
} },
|
53
|
+
formatLabel: {},
|
54
|
+
fallbackOption: {},
|
55
|
+
showExtraOptions: { type: Boolean, default: true },
|
56
|
+
valueKey: { default: "" },
|
57
|
+
searchDelay: { default: 500 },
|
58
|
+
limit: { default: 0 },
|
59
|
+
fieldNames: { default: () => {
|
60
|
+
return {};
|
61
|
+
} },
|
62
|
+
scrollbar: { type: Boolean, default: true },
|
63
|
+
showHeaderOnEmpty: { type: Boolean, default: false },
|
64
|
+
showFooterOnEmpty: { type: Boolean, default: false },
|
65
|
+
tagNowrap: { type: Boolean, default: false },
|
66
|
+
hotkeys: { type: Boolean },
|
67
|
+
showEmpty: { type: Boolean, default: true }
|
68
|
+
},
|
69
|
+
emits: ["update:modelValue", "update:inputValue", "update:popupVisible", "change", "input-value-change", "clear", "remove", "search", "exceedLimit", "popup-visible-change", "dropdown-scroll", "dropdown-reach-bottom", "select"],
|
70
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
71
|
+
const props = __props;
|
72
|
+
const emits = __emit;
|
73
|
+
const {
|
74
|
+
allowClear,
|
75
|
+
disabled,
|
76
|
+
loading,
|
77
|
+
searchDelay,
|
78
|
+
showFooterOnEmpty,
|
79
|
+
showHeaderOnEmpty,
|
80
|
+
multiple,
|
81
|
+
allowSearch,
|
82
|
+
allowCreate,
|
83
|
+
virtualListProps
|
84
|
+
} = toRefs(props);
|
85
|
+
const inputRef = ref();
|
86
|
+
const popupRef = ref();
|
87
|
+
const {
|
88
|
+
computedVisible,
|
89
|
+
computedValue,
|
90
|
+
computedInputValue,
|
91
|
+
selectOptions,
|
92
|
+
createOptions
|
93
|
+
} = useContext().provide(props, emits, inputRef);
|
94
|
+
const showClearBtn = computed(() => {
|
95
|
+
const hasValue = multiple.value ? computedValue.value.length : String(computedValue.value).length;
|
96
|
+
return allowClear.value && !disabled.value && !loading.value && !!hasValue;
|
97
|
+
});
|
98
|
+
const isReadonly = computed(() => {
|
99
|
+
return (!allowSearch.value || loading.value) && !allowCreate.value && isUndefined(props.filterOption);
|
100
|
+
});
|
101
|
+
const handleEvent = async (type, value = "") => {
|
102
|
+
var _a, _b, _c;
|
103
|
+
switch (type) {
|
104
|
+
case "create":
|
105
|
+
{
|
106
|
+
if (!allowCreate.value) return;
|
107
|
+
const target = createOptions.value.find(
|
108
|
+
(item) => item == computedInputValue.value
|
109
|
+
);
|
110
|
+
if (target) return;
|
111
|
+
createOptions.value.push({
|
112
|
+
label: computedInputValue.value,
|
113
|
+
value: computedInputValue.value
|
114
|
+
});
|
115
|
+
if (allowSearch.value) {
|
116
|
+
(_a = inputRef.value) == null ? void 0 : _a.blur();
|
117
|
+
}
|
118
|
+
}
|
119
|
+
break;
|
120
|
+
case "clear":
|
121
|
+
{
|
122
|
+
computedValue.value = multiple.value ? [] : "";
|
123
|
+
emits("clear");
|
124
|
+
}
|
125
|
+
break;
|
126
|
+
case "search":
|
127
|
+
{
|
128
|
+
await sleep(searchDelay.value);
|
129
|
+
emits("search", value);
|
130
|
+
}
|
131
|
+
break;
|
132
|
+
case "focus":
|
133
|
+
{
|
134
|
+
if (disabled.value) return;
|
135
|
+
if (computedVisible.value) {
|
136
|
+
return (_b = inputRef.value) == null ? void 0 : _b.blur();
|
137
|
+
}
|
138
|
+
computedVisible.value = true;
|
139
|
+
await sleep(0);
|
140
|
+
(_c = inputRef.value) == null ? void 0 : _c.focus();
|
141
|
+
}
|
142
|
+
break;
|
143
|
+
case "blur":
|
144
|
+
{
|
145
|
+
computedVisible.value = false;
|
146
|
+
}
|
147
|
+
break;
|
148
|
+
case "updateValue":
|
149
|
+
{
|
150
|
+
computedValue.value = value.map(
|
151
|
+
(item) => item.value
|
152
|
+
);
|
153
|
+
}
|
154
|
+
break;
|
155
|
+
}
|
156
|
+
};
|
157
|
+
__expose({
|
158
|
+
focus() {
|
159
|
+
var _a;
|
160
|
+
(_a = inputRef.value) == null ? void 0 : _a.focus();
|
161
|
+
},
|
162
|
+
blur() {
|
163
|
+
var _a;
|
164
|
+
(_a = inputRef.value) == null ? void 0 : _a.blur();
|
165
|
+
},
|
166
|
+
getPopupRef() {
|
167
|
+
return popupRef.value;
|
168
|
+
}
|
169
|
+
});
|
170
|
+
return (_ctx, _cache) => {
|
171
|
+
return openBlock(), createBlock(unref(Trigger), mergeProps({
|
172
|
+
"popup-visible": unref(computedVisible),
|
173
|
+
"onUpdate:popupVisible": _cache[14] || (_cache[14] = ($event) => isRef(computedVisible) ? computedVisible.value = $event : null),
|
174
|
+
"unmount-on-close": _ctx.unmountonClose,
|
175
|
+
"popup-container": _ctx.popupContainer,
|
176
|
+
disabled: unref(disabled),
|
177
|
+
"popup-offset": 4,
|
178
|
+
trigger: "focus",
|
179
|
+
position: "bl",
|
180
|
+
"animation-name": "slide-dynamic-origin",
|
181
|
+
"need-transform-origin": "",
|
182
|
+
"auto-fit-popup-width": "",
|
183
|
+
"prevent-focus": "",
|
184
|
+
ref_key: "popupRef",
|
185
|
+
ref: popupRef
|
186
|
+
}, _ctx.triggerProps), {
|
187
|
+
content: withCtx(() => [
|
188
|
+
createVNode(SelectView, {
|
189
|
+
loading: unref(loading),
|
190
|
+
scrollbar: _ctx.scrollbar,
|
191
|
+
"virtual-list-props": unref(virtualListProps),
|
192
|
+
"show-footer-on-empty": unref(showFooterOnEmpty),
|
193
|
+
"show-header-on-empty": unref(showHeaderOnEmpty)
|
194
|
+
}, null, 8, ["loading", "scrollbar", "virtual-list-props", "show-footer-on-empty", "show-header-on-empty"])
|
195
|
+
]),
|
196
|
+
default: withCtx(() => [
|
197
|
+
createElementVNode("div", {
|
198
|
+
class: normalizeClass([
|
199
|
+
"yc-select",
|
200
|
+
{
|
201
|
+
"yc-select-allow-search": unref(allowSearch),
|
202
|
+
"yc-select-allow-clear": showClearBtn.value,
|
203
|
+
"yc-select-no-border": !_ctx.bordered
|
204
|
+
},
|
205
|
+
_ctx.$attrs.class
|
206
|
+
]),
|
207
|
+
style: normalizeStyle(_ctx.$attrs.style)
|
208
|
+
}, [
|
209
|
+
renderSlot(_ctx.$slots, "trigger", {}, () => {
|
210
|
+
var _a;
|
211
|
+
return [
|
212
|
+
!unref(multiple) ? (openBlock(), createBlock(unref(Input), {
|
213
|
+
key: 0,
|
214
|
+
modelValue: unref(computedInputValue),
|
215
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(computedInputValue) ? computedInputValue.value = $event : null),
|
216
|
+
"show-input": unref(computedVisible),
|
217
|
+
readonly: isReadonly.value,
|
218
|
+
disabled: unref(disabled),
|
219
|
+
size: _ctx.size,
|
220
|
+
error: _ctx.error,
|
221
|
+
placeholder: ((_a = unref(selectOptions)[0]) == null ? void 0 : _a.label) || "",
|
222
|
+
ref_key: "inputRef",
|
223
|
+
ref: inputRef,
|
224
|
+
onClick: _cache[2] || (_cache[2] = ($event) => handleEvent("focus")),
|
225
|
+
onBlur: _cache[3] || (_cache[3] = ($event) => handleEvent("blur")),
|
226
|
+
onInput: _cache[4] || (_cache[4] = (v) => handleEvent("search", v)),
|
227
|
+
onPressEnter: _cache[5] || (_cache[5] = ($event) => handleEvent("create"))
|
228
|
+
}, {
|
229
|
+
label: withCtx(() => [
|
230
|
+
renderSlot(_ctx.$slots, "label", {
|
231
|
+
data: unref(selectOptions)[0]
|
232
|
+
}, () => {
|
233
|
+
var _a2;
|
234
|
+
return [
|
235
|
+
createElementVNode("span", {
|
236
|
+
class: normalizeClass([
|
237
|
+
{
|
238
|
+
"yc-input-placeholder": !unref(selectOptions).length
|
239
|
+
}
|
240
|
+
])
|
241
|
+
}, toDisplayString(((_a2 = unref(selectOptions)[0]) == null ? void 0 : _a2.label) || _ctx.placeholder), 3)
|
242
|
+
];
|
243
|
+
}, true)
|
244
|
+
]),
|
245
|
+
suffix: withCtx(() => [
|
246
|
+
createVNode(SelectIcon, {
|
247
|
+
"popup-visible": unref(computedVisible),
|
248
|
+
"allow-search": unref(allowSearch),
|
249
|
+
loading: unref(loading),
|
250
|
+
"show-clear-btn": showClearBtn.value,
|
251
|
+
onClear: _cache[0] || (_cache[0] = ($event) => handleEvent("clear"))
|
252
|
+
}, null, 8, ["popup-visible", "allow-search", "loading", "show-clear-btn"])
|
253
|
+
]),
|
254
|
+
_: 3
|
255
|
+
}, 8, ["modelValue", "show-input", "readonly", "disabled", "size", "error", "placeholder"])) : (openBlock(), createBlock(unref(InputTag), {
|
256
|
+
key: 1,
|
257
|
+
"input-value": unref(computedInputValue),
|
258
|
+
"onUpdate:inputValue": _cache[7] || (_cache[7] = ($event) => isRef(computedInputValue) ? computedInputValue.value = $event : null),
|
259
|
+
"model-value": unref(selectOptions),
|
260
|
+
placeholder: _ctx.placeholder,
|
261
|
+
readonly: isReadonly.value,
|
262
|
+
disabled: unref(disabled),
|
263
|
+
size: _ctx.size,
|
264
|
+
error: _ctx.error,
|
265
|
+
"max-tag-count": _ctx.maxTagCount,
|
266
|
+
"tag-nowrap": _ctx.tagNowrap,
|
267
|
+
ref_key: "inputRef",
|
268
|
+
ref: inputRef,
|
269
|
+
onFocus: _cache[8] || (_cache[8] = ($event) => handleEvent("focus")),
|
270
|
+
onBlur: _cache[9] || (_cache[9] = ($event) => handleEvent("blur")),
|
271
|
+
onInput: _cache[10] || (_cache[10] = (v) => handleEvent("search", v)),
|
272
|
+
onRemove: _cache[11] || (_cache[11] = (v, ev) => _ctx.$emit("remove", v, ev)),
|
273
|
+
onPressEnter: _cache[12] || (_cache[12] = ($event) => handleEvent("create")),
|
274
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = (v) => handleEvent("updateValue", v))
|
275
|
+
}, {
|
276
|
+
tag: withCtx(({ tag }) => [
|
277
|
+
_ctx.$slots.label ? renderSlot(_ctx.$slots, "label", {
|
278
|
+
key: 0,
|
279
|
+
data: tag
|
280
|
+
}, void 0, true) : createCommentVNode("", true)
|
281
|
+
]),
|
282
|
+
suffix: withCtx(() => [
|
283
|
+
createVNode(SelectIcon, {
|
284
|
+
"popup-visible": unref(computedVisible),
|
285
|
+
"allow-search": unref(allowSearch),
|
286
|
+
loading: unref(loading),
|
287
|
+
"show-clear-btn": showClearBtn.value,
|
288
|
+
onClear: _cache[6] || (_cache[6] = ($event) => handleEvent("clear"))
|
289
|
+
}, null, 8, ["popup-visible", "allow-search", "loading", "show-clear-btn"])
|
290
|
+
]),
|
291
|
+
_: 3
|
292
|
+
}, 8, ["input-value", "model-value", "placeholder", "readonly", "disabled", "size", "error", "max-tag-count", "tag-nowrap"]))
|
293
|
+
];
|
294
|
+
}, true)
|
295
|
+
], 6)
|
296
|
+
]),
|
297
|
+
_: 3
|
298
|
+
}, 16, ["popup-visible", "unmount-on-close", "popup-container", "disabled"]);
|
299
|
+
};
|
300
|
+
}
|
301
|
+
});
|
302
|
+
export {
|
303
|
+
_sfc_main as default
|
304
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
type __VLS_Props = {
|
2
|
+
loading: boolean;
|
3
|
+
popupVisible: boolean;
|
4
|
+
showClearBtn: boolean;
|
5
|
+
allowSearch: boolean;
|
6
|
+
};
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
8
|
+
clear: () => any;
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
10
|
+
onClear?: (() => any) | undefined;
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
12
|
+
export default _default;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import _sfc_main from "./SelectIcon.vue2.js";
|
2
|
+
/* empty css */
|
3
|
+
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
+
const SelectIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6c36ec15"]]);
|
5
|
+
export {
|
6
|
+
SelectIcon as default
|
7
|
+
};
|
@@ -0,0 +1,66 @@
|
|
1
|
+
import { defineComponent, resolveComponent, createBlock, createElementBlock, openBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createElementVNode, createCommentVNode, withModifiers } from "vue";
|
2
|
+
import useContext from "./hooks/useContext.js";
|
3
|
+
import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
|
4
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
+
import "../_shared/utils/dom.js";
|
6
|
+
import "../_shared/utils/time.js";
|
7
|
+
import "../Empty/index.js";
|
8
|
+
/* empty css */
|
9
|
+
import IconButton from "../_shared/components/IconButton.vue.js";
|
10
|
+
/* empty css */
|
11
|
+
import Spin from "../Spin/index.js";
|
12
|
+
const _hoisted_1 = { class: "yc-select-suffix-icon" };
|
13
|
+
const _hoisted_2 = {
|
14
|
+
key: 0,
|
15
|
+
class: "yc-select-search-icon"
|
16
|
+
};
|
17
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
18
|
+
__name: "SelectIcon",
|
19
|
+
props: {
|
20
|
+
loading: { type: Boolean },
|
21
|
+
popupVisible: { type: Boolean },
|
22
|
+
showClearBtn: { type: Boolean },
|
23
|
+
allowSearch: { type: Boolean }
|
24
|
+
},
|
25
|
+
emits: ["clear"],
|
26
|
+
setup(__props) {
|
27
|
+
const { slots } = useContext().inject();
|
28
|
+
const renderIcon = (name) => {
|
29
|
+
return slots[name];
|
30
|
+
};
|
31
|
+
return (_ctx, _cache) => {
|
32
|
+
const _component_icon_search = resolveComponent("icon-search");
|
33
|
+
return _ctx.loading ? (openBlock(), createBlock(unref(Spin), {
|
34
|
+
key: 0,
|
35
|
+
size: 12,
|
36
|
+
class: "yc-select-loading-icon"
|
37
|
+
}, createSlots({ _: 2 }, [
|
38
|
+
_ctx.$slots["loading-icon"] ? {
|
39
|
+
name: "icon",
|
40
|
+
fn: withCtx(() => [
|
41
|
+
(openBlock(), createBlock(resolveDynamicComponent(renderIcon("loading-icon"))))
|
42
|
+
]),
|
43
|
+
key: "0"
|
44
|
+
} : void 0
|
45
|
+
]), 1024)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
46
|
+
createElementVNode("div", _hoisted_1, [
|
47
|
+
unref(slots)["arrow-icon"] ? (openBlock(), createBlock(resolveDynamicComponent(renderIcon("arrow-icon")), { key: 0 })) : (openBlock(), createBlock(unref(_sfc_main$1), {
|
48
|
+
key: 1,
|
49
|
+
rotate: _ctx.popupVisible ? 180 : 0
|
50
|
+
}, null, 8, ["rotate"]))
|
51
|
+
]),
|
52
|
+
_ctx.allowSearch ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
53
|
+
unref(slots)["search-icon"] ? (openBlock(), createBlock(resolveDynamicComponent(renderIcon("search-icon")), { key: 0 })) : (openBlock(), createBlock(_component_icon_search, { key: 1 }))
|
54
|
+
])) : createCommentVNode("", true),
|
55
|
+
_ctx.showClearBtn ? (openBlock(), createBlock(unref(IconButton), {
|
56
|
+
key: 1,
|
57
|
+
class: "yc-select-clear-icon",
|
58
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.$emit("clear"), ["stop"]))
|
59
|
+
})) : createCommentVNode("", true)
|
60
|
+
], 64));
|
61
|
+
};
|
62
|
+
}
|
63
|
+
});
|
64
|
+
export {
|
65
|
+
_sfc_main as default
|
66
|
+
};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
type __VLS_Props = {
|
2
|
+
scrollbar: boolean;
|
3
|
+
};
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
5
|
+
getScrollRef(): HTMLDivElement | undefined;
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
7
|
+
export default _default;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import _sfc_main from "./SelectRealList.vue2.js";
|
2
|
+
/* empty css */
|
3
|
+
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
+
const SelectRealList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5c59943b"]]);
|
5
|
+
export {
|
6
|
+
SelectRealList as default
|
7
|
+
};
|
@@ -0,0 +1,95 @@
|
|
1
|
+
import { defineComponent, ref, createBlock, openBlock, unref, withCtx, createElementVNode, createElementBlock, resolveDynamicComponent, Fragment, renderList } from "vue";
|
2
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
+
import "../_shared/utils/dom.js";
|
4
|
+
import "../_shared/utils/time.js";
|
5
|
+
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
6
|
+
import "../Empty/index.js";
|
7
|
+
/* empty css */
|
8
|
+
import useContext from "./hooks/useContext.js";
|
9
|
+
import Option from "./Option.vue.js";
|
10
|
+
import Optgroup from "./Optgroup.vue.js";
|
11
|
+
import Scrollbar from "../Scrollbar/index.js";
|
12
|
+
const _hoisted_1 = { class: "yc-select-dropdown-list" };
|
13
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
14
|
+
__name: "SelectRealList",
|
15
|
+
props: {
|
16
|
+
scrollbar: { type: Boolean }
|
17
|
+
},
|
18
|
+
setup(__props, { expose: __expose }) {
|
19
|
+
const { fieldKey, renderOptions, slots, emits } = useContext().inject();
|
20
|
+
const scrollbarRef = ref();
|
21
|
+
const renderLabel = (option) => {
|
22
|
+
if (slots.option) {
|
23
|
+
return () => {
|
24
|
+
var _a;
|
25
|
+
return ((_a = slots.option) == null ? void 0 : _a.call(slots, {
|
26
|
+
data: option
|
27
|
+
})) || [];
|
28
|
+
};
|
29
|
+
}
|
30
|
+
const { render, label } = fieldKey.value;
|
31
|
+
return getSlotFunction(option[render] ? option[render] : option[label]);
|
32
|
+
};
|
33
|
+
__expose({
|
34
|
+
getScrollRef() {
|
35
|
+
var _a;
|
36
|
+
return (_a = scrollbarRef.value) == null ? void 0 : _a.getScrollRef();
|
37
|
+
}
|
38
|
+
});
|
39
|
+
return (_ctx, _cache) => {
|
40
|
+
return openBlock(), createBlock(unref(Scrollbar), {
|
41
|
+
scrollbar: _ctx.scrollbar,
|
42
|
+
class: "yc-select-dropdown-list-wrapper"
|
43
|
+
}, {
|
44
|
+
default: withCtx(() => [
|
45
|
+
createElementVNode("div", _hoisted_1, [
|
46
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(slots).default))),
|
47
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(renderOptions), (option) => {
|
48
|
+
return openBlock(), createElementBlock(Fragment, {
|
49
|
+
key: option.id
|
50
|
+
}, [
|
51
|
+
option.isGroup ? (openBlock(), createBlock(Optgroup, {
|
52
|
+
key: 0,
|
53
|
+
label: option.label
|
54
|
+
}, {
|
55
|
+
default: withCtx(() => [
|
56
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(option.options, (v) => {
|
57
|
+
return openBlock(), createBlock(Option, {
|
58
|
+
key: v[unref(fieldKey).value],
|
59
|
+
value: v[unref(fieldKey).value],
|
60
|
+
disabled: v[unref(fieldKey).disabled],
|
61
|
+
"tag-props": v[unref(fieldKey).tagProps],
|
62
|
+
"is-fallback-option": v[unref(fieldKey).isFallbackOption]
|
63
|
+
}, {
|
64
|
+
default: withCtx(() => [
|
65
|
+
(openBlock(), createBlock(resolveDynamicComponent(renderLabel(v))))
|
66
|
+
]),
|
67
|
+
_: 2
|
68
|
+
}, 1032, ["value", "disabled", "tag-props", "is-fallback-option"]);
|
69
|
+
}), 128))
|
70
|
+
]),
|
71
|
+
_: 2
|
72
|
+
}, 1032, ["label"])) : (openBlock(), createBlock(Option, {
|
73
|
+
key: 1,
|
74
|
+
value: option[unref(fieldKey).value],
|
75
|
+
disabled: option[unref(fieldKey).disabled],
|
76
|
+
"tag-props": option[unref(fieldKey).tagProps],
|
77
|
+
"is-fallback-option": option[unref(fieldKey).isFallbackOption]
|
78
|
+
}, {
|
79
|
+
default: withCtx(() => [
|
80
|
+
(openBlock(), createBlock(resolveDynamicComponent(renderLabel(option))))
|
81
|
+
]),
|
82
|
+
_: 2
|
83
|
+
}, 1032, ["value", "disabled", "tag-props", "is-fallback-option"]))
|
84
|
+
], 64);
|
85
|
+
}), 128))
|
86
|
+
])
|
87
|
+
]),
|
88
|
+
_: 1
|
89
|
+
}, 8, ["scrollbar"]);
|
90
|
+
};
|
91
|
+
}
|
92
|
+
});
|
93
|
+
export {
|
94
|
+
_sfc_main as default
|
95
|
+
};
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { VirtualListProps } from './type';
|
2
|
+
type __VLS_Props = {
|
3
|
+
loading: boolean;
|
4
|
+
scrollbar: boolean;
|
5
|
+
showFooterOnEmpty: boolean;
|
6
|
+
showHeaderOnEmpty: boolean;
|
7
|
+
virtualListProps?: VirtualListProps;
|
8
|
+
};
|
9
|
+
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, {
|
10
|
+
virtualListRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
11
|
+
virtualListProps: VirtualListProps;
|
12
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
13
|
+
P: {};
|
14
|
+
B: {};
|
15
|
+
D: {};
|
16
|
+
C: {};
|
17
|
+
M: {};
|
18
|
+
Defaults: {};
|
19
|
+
}, Readonly<{
|
20
|
+
virtualListProps: VirtualListProps;
|
21
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {}> | null;
|
22
|
+
realListRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
23
|
+
scrollbar: boolean;
|
24
|
+
}> & Readonly<{}>, {
|
25
|
+
getScrollRef(): HTMLDivElement | undefined;
|
26
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
27
|
+
P: {};
|
28
|
+
B: {};
|
29
|
+
D: {};
|
30
|
+
C: {};
|
31
|
+
M: {};
|
32
|
+
Defaults: {};
|
33
|
+
}, Readonly<{
|
34
|
+
scrollbar: boolean;
|
35
|
+
}> & Readonly<{}>, {
|
36
|
+
getScrollRef(): HTMLDivElement | undefined;
|
37
|
+
}, {}, {}, {}, {}> | null;
|
38
|
+
}, HTMLDivElement>;
|
39
|
+
export default _default;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import _sfc_main from "./SelectView.vue2.js";
|
2
|
+
/* empty css */
|
3
|
+
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
+
const SelectView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7ad0ee5e"]]);
|
5
|
+
export {
|
6
|
+
SelectView as default
|
7
|
+
};
|
@@ -0,0 +1,99 @@
|
|
1
|
+
import { defineComponent, toRefs, ref, computed, createElementBlock, openBlock, createBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createCommentVNode } from "vue";
|
2
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
+
import "../_shared/utils/dom.js";
|
4
|
+
import "../_shared/utils/time.js";
|
5
|
+
import { unrefElement } from "../_shared/utils/vue-utils.js";
|
6
|
+
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
7
|
+
import useContext from "./hooks/useContext.js";
|
8
|
+
import useScrollReach from "../List/hooks/useScrollReach.js";
|
9
|
+
import SelectVirtualList from "./SelectVirtualList.vue.js";
|
10
|
+
import SelectRealList from "./SelectRealList.vue.js";
|
11
|
+
import Spin from "../Spin/index.js";
|
12
|
+
const _hoisted_1 = { class: "yc-select-dropdown" };
|
13
|
+
const _hoisted_2 = {
|
14
|
+
key: 0,
|
15
|
+
class: "yc-select-dropdown-header"
|
16
|
+
};
|
17
|
+
const _hoisted_3 = {
|
18
|
+
key: 4,
|
19
|
+
class: "yc-select-dropdown-footer"
|
20
|
+
};
|
21
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
22
|
+
__name: "SelectView",
|
23
|
+
props: {
|
24
|
+
loading: { type: Boolean },
|
25
|
+
scrollbar: { type: Boolean },
|
26
|
+
showFooterOnEmpty: { type: Boolean },
|
27
|
+
showHeaderOnEmpty: { type: Boolean },
|
28
|
+
virtualListProps: {}
|
29
|
+
},
|
30
|
+
setup(__props) {
|
31
|
+
const props = __props;
|
32
|
+
const { virtualListProps } = toRefs(props);
|
33
|
+
const { slots, options, isEmpty, emits } = useContext().inject();
|
34
|
+
const { renderEmpty } = getGlobalConfig();
|
35
|
+
const realListRef = ref();
|
36
|
+
const virtualListRef = ref();
|
37
|
+
const isVirtualList = computed(() => {
|
38
|
+
if (!virtualListProps.value) {
|
39
|
+
return false;
|
40
|
+
}
|
41
|
+
return virtualListProps.value.itemHeight && (!virtualListProps.value.threshold || virtualListProps.value.threshold > options.value.length);
|
42
|
+
});
|
43
|
+
const scrollRef = computed(() => {
|
44
|
+
var _a;
|
45
|
+
return isVirtualList.value ? unrefElement(virtualListRef) : (_a = realListRef.value) == null ? void 0 : _a.getScrollRef();
|
46
|
+
});
|
47
|
+
useScrollReach({
|
48
|
+
scrollRef,
|
49
|
+
onScroll: (e) => {
|
50
|
+
emits("dropdown-scroll", e);
|
51
|
+
},
|
52
|
+
onReachBottom: (e) => {
|
53
|
+
emits("dropdown-reach-bottom", e);
|
54
|
+
}
|
55
|
+
});
|
56
|
+
const renderSlots = (name) => {
|
57
|
+
return slots[name];
|
58
|
+
};
|
59
|
+
return (_ctx, _cache) => {
|
60
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
61
|
+
_ctx.loading ? (openBlock(), createBlock(unref(Spin), {
|
62
|
+
key: 0,
|
63
|
+
loading: _ctx.loading,
|
64
|
+
class: "yc-select-dropdown-loading"
|
65
|
+
}, createSlots({ _: 2 }, [
|
66
|
+
_ctx.$slots["loading-icon"] ? {
|
67
|
+
name: "icon",
|
68
|
+
fn: withCtx(() => [
|
69
|
+
(openBlock(), createBlock(resolveDynamicComponent(renderSlots("loading-icon"))))
|
70
|
+
]),
|
71
|
+
key: "0"
|
72
|
+
} : void 0
|
73
|
+
]), 1032, ["loading"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
74
|
+
unref(slots).header && (_ctx.showHeaderOnEmpty || !unref(isEmpty)) ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
75
|
+
(openBlock(), createBlock(resolveDynamicComponent(renderSlots("header"))))
|
76
|
+
])) : createCommentVNode("", true),
|
77
|
+
isVirtualList.value ? (openBlock(), createBlock(SelectVirtualList, {
|
78
|
+
key: 1,
|
79
|
+
"virtual-list-props": unref(virtualListProps),
|
80
|
+
ref_key: "virtualListRef",
|
81
|
+
ref: virtualListRef
|
82
|
+
}, null, 8, ["virtual-list-props"])) : (openBlock(), createBlock(SelectRealList, {
|
83
|
+
key: 2,
|
84
|
+
scrollbar: _ctx.scrollbar,
|
85
|
+
ref_key: "realListRef",
|
86
|
+
ref: realListRef
|
87
|
+
}, null, 8, ["scrollbar"])),
|
88
|
+
unref(isEmpty) ? (openBlock(), createBlock(resolveDynamicComponent(unref(slots).empty || unref(renderEmpty)("Select")), { key: 3 })) : createCommentVNode("", true),
|
89
|
+
unref(slots).footer && (_ctx.showFooterOnEmpty || !unref(isEmpty)) ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
90
|
+
(openBlock(), createBlock(resolveDynamicComponent(renderSlots("footer"))))
|
91
|
+
])) : createCommentVNode("", true)
|
92
|
+
], 64))
|
93
|
+
]);
|
94
|
+
};
|
95
|
+
}
|
96
|
+
});
|
97
|
+
export {
|
98
|
+
_sfc_main as default
|
99
|
+
};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { VirtualListProps } from './index';
|
2
|
+
type __VLS_Props = {
|
3
|
+
virtualListProps: VirtualListProps;
|
4
|
+
};
|
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, {}, HTMLDivElement>;
|
6
|
+
export default _default;
|