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,1095 @@
|
|
1
|
+
import { tryOnScopeDispose, toArray, watchImmediate, isClient, isObject, makeDestructurable, camelize, tryOnMounted, toRefs, noop, isIOS, notNullish, useThrottleFn, useDebounceFn, pxValue, injectLocal, useTimeoutFn, createSingletonPromise } from "../shared/index.js";
|
2
|
+
import { createFilterWrapper, debounceFilter, getLifeCycleTarget, throttleFilter } from "../shared/index.js";
|
3
|
+
import { computed, toValue, watch, shallowRef, getCurrentInstance, onMounted, unref, defineComponent, ref, reactive, watchEffect, hasInjectionContext, toRaw } from "vue";
|
4
|
+
function createReusableTemplate(options = {}) {
|
5
|
+
const {
|
6
|
+
inheritAttrs = true
|
7
|
+
} = options;
|
8
|
+
const render = shallowRef();
|
9
|
+
const define = /* @__PURE__ */ defineComponent({
|
10
|
+
setup(_, { slots }) {
|
11
|
+
return () => {
|
12
|
+
render.value = slots.default;
|
13
|
+
};
|
14
|
+
}
|
15
|
+
});
|
16
|
+
const reuse = /* @__PURE__ */ defineComponent({
|
17
|
+
inheritAttrs,
|
18
|
+
props: options.props,
|
19
|
+
setup(props, { attrs, slots }) {
|
20
|
+
return () => {
|
21
|
+
var _a;
|
22
|
+
if (!render.value && process.env.NODE_ENV !== "production")
|
23
|
+
throw new Error("[VueUse] Failed to find the definition of reusable template");
|
24
|
+
const vnode = (_a = render.value) == null ? void 0 : _a.call(render, {
|
25
|
+
...options.props == null ? keysToCamelKebabCase(attrs) : props,
|
26
|
+
$slots: slots
|
27
|
+
});
|
28
|
+
return inheritAttrs && (vnode == null ? void 0 : vnode.length) === 1 ? vnode[0] : vnode;
|
29
|
+
};
|
30
|
+
}
|
31
|
+
});
|
32
|
+
return makeDestructurable(
|
33
|
+
{ define, reuse },
|
34
|
+
[define, reuse]
|
35
|
+
);
|
36
|
+
}
|
37
|
+
function keysToCamelKebabCase(obj) {
|
38
|
+
const newObj = {};
|
39
|
+
for (const key in obj)
|
40
|
+
newObj[camelize(key)] = obj[key];
|
41
|
+
return newObj;
|
42
|
+
}
|
43
|
+
const defaultWindow = isClient ? window : void 0;
|
44
|
+
const defaultNavigator = isClient ? window.navigator : void 0;
|
45
|
+
function unrefElement(elRef) {
|
46
|
+
var _a;
|
47
|
+
const plain = toValue(elRef);
|
48
|
+
return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;
|
49
|
+
}
|
50
|
+
function useEventListener(...args) {
|
51
|
+
const cleanups = [];
|
52
|
+
const cleanup = () => {
|
53
|
+
cleanups.forEach((fn) => fn());
|
54
|
+
cleanups.length = 0;
|
55
|
+
};
|
56
|
+
const register = (el, event, listener, options) => {
|
57
|
+
el.addEventListener(event, listener, options);
|
58
|
+
return () => el.removeEventListener(event, listener, options);
|
59
|
+
};
|
60
|
+
const firstParamTargets = computed(() => {
|
61
|
+
const test = toArray(toValue(args[0])).filter((e) => e != null);
|
62
|
+
return test.every((e) => typeof e !== "string") ? test : void 0;
|
63
|
+
});
|
64
|
+
const stopWatch = watchImmediate(
|
65
|
+
() => {
|
66
|
+
var _a, _b;
|
67
|
+
return [
|
68
|
+
(_b = (_a = firstParamTargets.value) == null ? void 0 : _a.map((e) => unrefElement(e))) != null ? _b : [defaultWindow].filter((e) => e != null),
|
69
|
+
toArray(toValue(firstParamTargets.value ? args[1] : args[0])),
|
70
|
+
toArray(unref(firstParamTargets.value ? args[2] : args[1])),
|
71
|
+
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
72
|
+
toValue(firstParamTargets.value ? args[3] : args[2])
|
73
|
+
];
|
74
|
+
},
|
75
|
+
([raw_targets, raw_events, raw_listeners, raw_options]) => {
|
76
|
+
cleanup();
|
77
|
+
if (!(raw_targets == null ? void 0 : raw_targets.length) || !(raw_events == null ? void 0 : raw_events.length) || !(raw_listeners == null ? void 0 : raw_listeners.length))
|
78
|
+
return;
|
79
|
+
const optionsClone = isObject(raw_options) ? { ...raw_options } : raw_options;
|
80
|
+
cleanups.push(
|
81
|
+
...raw_targets.flatMap(
|
82
|
+
(el) => raw_events.flatMap(
|
83
|
+
(event) => raw_listeners.map((listener) => register(el, event, listener, optionsClone))
|
84
|
+
)
|
85
|
+
)
|
86
|
+
);
|
87
|
+
},
|
88
|
+
{ flush: "post" }
|
89
|
+
);
|
90
|
+
const stop = () => {
|
91
|
+
stopWatch();
|
92
|
+
cleanup();
|
93
|
+
};
|
94
|
+
tryOnScopeDispose(cleanup);
|
95
|
+
return stop;
|
96
|
+
}
|
97
|
+
let _iOSWorkaround = false;
|
98
|
+
function onClickOutside(target, handler, options = {}) {
|
99
|
+
const { window: window2 = defaultWindow, ignore = [], capture = true, detectIframe = false, controls = false } = options;
|
100
|
+
if (!window2) {
|
101
|
+
return controls ? { stop: noop, cancel: noop, trigger: noop } : noop;
|
102
|
+
}
|
103
|
+
if (isIOS && !_iOSWorkaround) {
|
104
|
+
_iOSWorkaround = true;
|
105
|
+
const listenerOptions = { passive: true };
|
106
|
+
Array.from(window2.document.body.children).forEach((el) => useEventListener(el, "click", noop, listenerOptions));
|
107
|
+
useEventListener(window2.document.documentElement, "click", noop, listenerOptions);
|
108
|
+
}
|
109
|
+
let shouldListen = true;
|
110
|
+
const shouldIgnore = (event) => {
|
111
|
+
return toValue(ignore).some((target2) => {
|
112
|
+
if (typeof target2 === "string") {
|
113
|
+
return Array.from(window2.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));
|
114
|
+
} else {
|
115
|
+
const el = unrefElement(target2);
|
116
|
+
return el && (event.target === el || event.composedPath().includes(el));
|
117
|
+
}
|
118
|
+
});
|
119
|
+
};
|
120
|
+
function hasMultipleRoots(target2) {
|
121
|
+
const vm = toValue(target2);
|
122
|
+
return vm && vm.$.subTree.shapeFlag === 16;
|
123
|
+
}
|
124
|
+
function checkMultipleRoots(target2, event) {
|
125
|
+
const vm = toValue(target2);
|
126
|
+
const children = vm.$.subTree && vm.$.subTree.children;
|
127
|
+
if (children == null || !Array.isArray(children))
|
128
|
+
return false;
|
129
|
+
return children.some((child) => child.el === event.target || event.composedPath().includes(child.el));
|
130
|
+
}
|
131
|
+
const listener = (event) => {
|
132
|
+
const el = unrefElement(target);
|
133
|
+
if (event.target == null)
|
134
|
+
return;
|
135
|
+
if (!(el instanceof Element) && hasMultipleRoots(target) && checkMultipleRoots(target, event))
|
136
|
+
return;
|
137
|
+
if (!el || el === event.target || event.composedPath().includes(el))
|
138
|
+
return;
|
139
|
+
if ("detail" in event && event.detail === 0)
|
140
|
+
shouldListen = !shouldIgnore(event);
|
141
|
+
if (!shouldListen) {
|
142
|
+
shouldListen = true;
|
143
|
+
return;
|
144
|
+
}
|
145
|
+
handler(event);
|
146
|
+
};
|
147
|
+
let isProcessingClick = false;
|
148
|
+
const cleanup = [
|
149
|
+
useEventListener(window2, "click", (event) => {
|
150
|
+
if (!isProcessingClick) {
|
151
|
+
isProcessingClick = true;
|
152
|
+
setTimeout(() => {
|
153
|
+
isProcessingClick = false;
|
154
|
+
}, 0);
|
155
|
+
listener(event);
|
156
|
+
}
|
157
|
+
}, { passive: true, capture }),
|
158
|
+
useEventListener(window2, "pointerdown", (e) => {
|
159
|
+
const el = unrefElement(target);
|
160
|
+
shouldListen = !shouldIgnore(e) && !!(el && !e.composedPath().includes(el));
|
161
|
+
}, { passive: true }),
|
162
|
+
detectIframe && useEventListener(window2, "blur", (event) => {
|
163
|
+
setTimeout(() => {
|
164
|
+
var _a;
|
165
|
+
const el = unrefElement(target);
|
166
|
+
if (((_a = window2.document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window2.document.activeElement))) {
|
167
|
+
handler(event);
|
168
|
+
}
|
169
|
+
}, 0);
|
170
|
+
}, { passive: true })
|
171
|
+
].filter(Boolean);
|
172
|
+
const stop = () => cleanup.forEach((fn) => fn());
|
173
|
+
if (controls) {
|
174
|
+
return {
|
175
|
+
stop,
|
176
|
+
cancel: () => {
|
177
|
+
shouldListen = false;
|
178
|
+
},
|
179
|
+
trigger: (event) => {
|
180
|
+
shouldListen = true;
|
181
|
+
listener(event);
|
182
|
+
shouldListen = false;
|
183
|
+
}
|
184
|
+
};
|
185
|
+
}
|
186
|
+
return stop;
|
187
|
+
}
|
188
|
+
function useMounted() {
|
189
|
+
const isMounted = shallowRef(false);
|
190
|
+
const instance = getCurrentInstance();
|
191
|
+
if (instance) {
|
192
|
+
onMounted(() => {
|
193
|
+
isMounted.value = true;
|
194
|
+
}, instance);
|
195
|
+
}
|
196
|
+
return isMounted;
|
197
|
+
}
|
198
|
+
function useSupported(callback) {
|
199
|
+
const isMounted = useMounted();
|
200
|
+
return computed(() => {
|
201
|
+
isMounted.value;
|
202
|
+
return Boolean(callback());
|
203
|
+
});
|
204
|
+
}
|
205
|
+
function useMutationObserver(target, callback, options = {}) {
|
206
|
+
const { window: window2 = defaultWindow, ...mutationOptions } = options;
|
207
|
+
let observer;
|
208
|
+
const isSupported = useSupported(() => window2 && "MutationObserver" in window2);
|
209
|
+
const cleanup = () => {
|
210
|
+
if (observer) {
|
211
|
+
observer.disconnect();
|
212
|
+
observer = void 0;
|
213
|
+
}
|
214
|
+
};
|
215
|
+
const targets = computed(() => {
|
216
|
+
const value = toValue(target);
|
217
|
+
const items = toArray(value).map(unrefElement).filter(notNullish);
|
218
|
+
return new Set(items);
|
219
|
+
});
|
220
|
+
const stopWatch = watch(
|
221
|
+
() => targets.value,
|
222
|
+
(targets2) => {
|
223
|
+
cleanup();
|
224
|
+
if (isSupported.value && targets2.size) {
|
225
|
+
observer = new MutationObserver(callback);
|
226
|
+
targets2.forEach((el) => observer.observe(el, mutationOptions));
|
227
|
+
}
|
228
|
+
},
|
229
|
+
{ immediate: true, flush: "post" }
|
230
|
+
);
|
231
|
+
const takeRecords = () => {
|
232
|
+
return observer == null ? void 0 : observer.takeRecords();
|
233
|
+
};
|
234
|
+
const stop = () => {
|
235
|
+
stopWatch();
|
236
|
+
cleanup();
|
237
|
+
};
|
238
|
+
tryOnScopeDispose(stop);
|
239
|
+
return {
|
240
|
+
isSupported,
|
241
|
+
stop,
|
242
|
+
takeRecords
|
243
|
+
};
|
244
|
+
}
|
245
|
+
function createKeyPredicate(keyFilter) {
|
246
|
+
if (typeof keyFilter === "function")
|
247
|
+
return keyFilter;
|
248
|
+
else if (typeof keyFilter === "string")
|
249
|
+
return (event) => event.key === keyFilter;
|
250
|
+
else if (Array.isArray(keyFilter))
|
251
|
+
return (event) => keyFilter.includes(event.key);
|
252
|
+
return () => true;
|
253
|
+
}
|
254
|
+
function onKeyStroke(...args) {
|
255
|
+
let key;
|
256
|
+
let handler;
|
257
|
+
let options = {};
|
258
|
+
if (args.length === 3) {
|
259
|
+
key = args[0];
|
260
|
+
handler = args[1];
|
261
|
+
options = args[2];
|
262
|
+
} else if (args.length === 2) {
|
263
|
+
if (typeof args[1] === "object") {
|
264
|
+
key = true;
|
265
|
+
handler = args[0];
|
266
|
+
options = args[1];
|
267
|
+
} else {
|
268
|
+
key = args[0];
|
269
|
+
handler = args[1];
|
270
|
+
}
|
271
|
+
} else {
|
272
|
+
key = true;
|
273
|
+
handler = args[0];
|
274
|
+
}
|
275
|
+
const {
|
276
|
+
target = defaultWindow,
|
277
|
+
eventName = "keydown",
|
278
|
+
passive = false,
|
279
|
+
dedupe = false
|
280
|
+
} = options;
|
281
|
+
const predicate = createKeyPredicate(key);
|
282
|
+
const listener = (e) => {
|
283
|
+
if (e.repeat && toValue(dedupe))
|
284
|
+
return;
|
285
|
+
if (predicate(e))
|
286
|
+
handler(e);
|
287
|
+
};
|
288
|
+
return useEventListener(target, eventName, listener, passive);
|
289
|
+
}
|
290
|
+
const ssrWidthSymbol = Symbol("vueuse-ssr-width");
|
291
|
+
function useSSRWidth() {
|
292
|
+
const ssrWidth = hasInjectionContext() ? injectLocal(ssrWidthSymbol, null) : null;
|
293
|
+
return typeof ssrWidth === "number" ? ssrWidth : void 0;
|
294
|
+
}
|
295
|
+
function useMediaQuery(query, options = {}) {
|
296
|
+
const { window: window2 = defaultWindow, ssrWidth = useSSRWidth() } = options;
|
297
|
+
const isSupported = useSupported(() => window2 && "matchMedia" in window2 && typeof window2.matchMedia === "function");
|
298
|
+
const ssrSupport = shallowRef(typeof ssrWidth === "number");
|
299
|
+
const mediaQuery = shallowRef();
|
300
|
+
const matches = shallowRef(false);
|
301
|
+
const handler = (event) => {
|
302
|
+
matches.value = event.matches;
|
303
|
+
};
|
304
|
+
watchEffect(() => {
|
305
|
+
if (ssrSupport.value) {
|
306
|
+
ssrSupport.value = !isSupported.value;
|
307
|
+
const queryStrings = toValue(query).split(",");
|
308
|
+
matches.value = queryStrings.some((queryString) => {
|
309
|
+
const not = queryString.includes("not all");
|
310
|
+
const minWidth = queryString.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
|
311
|
+
const maxWidth = queryString.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
|
312
|
+
let res = Boolean(minWidth || maxWidth);
|
313
|
+
if (minWidth && res) {
|
314
|
+
res = ssrWidth >= pxValue(minWidth[1]);
|
315
|
+
}
|
316
|
+
if (maxWidth && res) {
|
317
|
+
res = ssrWidth <= pxValue(maxWidth[1]);
|
318
|
+
}
|
319
|
+
return not ? !res : res;
|
320
|
+
});
|
321
|
+
return;
|
322
|
+
}
|
323
|
+
if (!isSupported.value)
|
324
|
+
return;
|
325
|
+
mediaQuery.value = window2.matchMedia(toValue(query));
|
326
|
+
matches.value = mediaQuery.value.matches;
|
327
|
+
});
|
328
|
+
useEventListener(mediaQuery, "change", handler, { passive: true });
|
329
|
+
return computed(() => matches.value);
|
330
|
+
}
|
331
|
+
function usePermission(permissionDesc, options = {}) {
|
332
|
+
const {
|
333
|
+
controls = false,
|
334
|
+
navigator = defaultNavigator
|
335
|
+
} = options;
|
336
|
+
const isSupported = useSupported(() => navigator && "permissions" in navigator);
|
337
|
+
const permissionStatus = shallowRef();
|
338
|
+
const desc = typeof permissionDesc === "string" ? { name: permissionDesc } : permissionDesc;
|
339
|
+
const state = shallowRef();
|
340
|
+
const update = () => {
|
341
|
+
var _a, _b;
|
342
|
+
state.value = (_b = (_a = permissionStatus.value) == null ? void 0 : _a.state) != null ? _b : "prompt";
|
343
|
+
};
|
344
|
+
useEventListener(permissionStatus, "change", update, { passive: true });
|
345
|
+
const query = createSingletonPromise(async () => {
|
346
|
+
if (!isSupported.value)
|
347
|
+
return;
|
348
|
+
if (!permissionStatus.value) {
|
349
|
+
try {
|
350
|
+
permissionStatus.value = await navigator.permissions.query(desc);
|
351
|
+
} catch (e) {
|
352
|
+
permissionStatus.value = void 0;
|
353
|
+
} finally {
|
354
|
+
update();
|
355
|
+
}
|
356
|
+
}
|
357
|
+
if (controls)
|
358
|
+
return toRaw(permissionStatus.value);
|
359
|
+
});
|
360
|
+
query();
|
361
|
+
if (controls) {
|
362
|
+
return {
|
363
|
+
state,
|
364
|
+
isSupported,
|
365
|
+
query
|
366
|
+
};
|
367
|
+
} else {
|
368
|
+
return state;
|
369
|
+
}
|
370
|
+
}
|
371
|
+
function useClipboard(options = {}) {
|
372
|
+
const {
|
373
|
+
navigator = defaultNavigator,
|
374
|
+
read = false,
|
375
|
+
source,
|
376
|
+
copiedDuring = 1500,
|
377
|
+
legacy = false
|
378
|
+
} = options;
|
379
|
+
const isClipboardApiSupported = useSupported(() => navigator && "clipboard" in navigator);
|
380
|
+
const permissionRead = usePermission("clipboard-read");
|
381
|
+
const permissionWrite = usePermission("clipboard-write");
|
382
|
+
const isSupported = computed(() => isClipboardApiSupported.value || legacy);
|
383
|
+
const text = shallowRef("");
|
384
|
+
const copied = shallowRef(false);
|
385
|
+
const timeout = useTimeoutFn(() => copied.value = false, copiedDuring, { immediate: false });
|
386
|
+
async function updateText() {
|
387
|
+
let useLegacy = !(isClipboardApiSupported.value && isAllowed(permissionRead.value));
|
388
|
+
if (!useLegacy) {
|
389
|
+
try {
|
390
|
+
text.value = await navigator.clipboard.readText();
|
391
|
+
} catch (e) {
|
392
|
+
useLegacy = true;
|
393
|
+
}
|
394
|
+
}
|
395
|
+
if (useLegacy) {
|
396
|
+
text.value = legacyRead();
|
397
|
+
}
|
398
|
+
}
|
399
|
+
if (isSupported.value && read)
|
400
|
+
useEventListener(["copy", "cut"], updateText, { passive: true });
|
401
|
+
async function copy(value = toValue(source)) {
|
402
|
+
if (isSupported.value && value != null) {
|
403
|
+
let useLegacy = !(isClipboardApiSupported.value && isAllowed(permissionWrite.value));
|
404
|
+
if (!useLegacy) {
|
405
|
+
try {
|
406
|
+
await navigator.clipboard.writeText(value);
|
407
|
+
} catch (e) {
|
408
|
+
useLegacy = true;
|
409
|
+
}
|
410
|
+
}
|
411
|
+
if (useLegacy)
|
412
|
+
legacyCopy(value);
|
413
|
+
text.value = value;
|
414
|
+
copied.value = true;
|
415
|
+
timeout.start();
|
416
|
+
}
|
417
|
+
}
|
418
|
+
function legacyCopy(value) {
|
419
|
+
const ta = document.createElement("textarea");
|
420
|
+
ta.value = value != null ? value : "";
|
421
|
+
ta.style.position = "absolute";
|
422
|
+
ta.style.opacity = "0";
|
423
|
+
document.body.appendChild(ta);
|
424
|
+
ta.select();
|
425
|
+
document.execCommand("copy");
|
426
|
+
ta.remove();
|
427
|
+
}
|
428
|
+
function legacyRead() {
|
429
|
+
var _a, _b, _c;
|
430
|
+
return (_c = (_b = (_a = document == null ? void 0 : document.getSelection) == null ? void 0 : _a.call(document)) == null ? void 0 : _b.toString()) != null ? _c : "";
|
431
|
+
}
|
432
|
+
function isAllowed(status) {
|
433
|
+
return status === "granted" || status === "prompt";
|
434
|
+
}
|
435
|
+
return {
|
436
|
+
isSupported,
|
437
|
+
text,
|
438
|
+
copied,
|
439
|
+
copy
|
440
|
+
};
|
441
|
+
}
|
442
|
+
function useDraggable(target, options = {}) {
|
443
|
+
var _a;
|
444
|
+
const {
|
445
|
+
pointerTypes,
|
446
|
+
preventDefault,
|
447
|
+
stopPropagation,
|
448
|
+
exact,
|
449
|
+
onMove,
|
450
|
+
onEnd,
|
451
|
+
onStart,
|
452
|
+
initialValue,
|
453
|
+
axis = "both",
|
454
|
+
draggingElement = defaultWindow,
|
455
|
+
containerElement,
|
456
|
+
handle: draggingHandle = target,
|
457
|
+
buttons = [0]
|
458
|
+
} = options;
|
459
|
+
const position = ref(
|
460
|
+
(_a = toValue(initialValue)) != null ? _a : { x: 0, y: 0 }
|
461
|
+
);
|
462
|
+
const pressedDelta = ref();
|
463
|
+
const filterEvent = (e) => {
|
464
|
+
if (pointerTypes)
|
465
|
+
return pointerTypes.includes(e.pointerType);
|
466
|
+
return true;
|
467
|
+
};
|
468
|
+
const handleEvent = (e) => {
|
469
|
+
if (toValue(preventDefault))
|
470
|
+
e.preventDefault();
|
471
|
+
if (toValue(stopPropagation))
|
472
|
+
e.stopPropagation();
|
473
|
+
};
|
474
|
+
const start = (e) => {
|
475
|
+
var _a2;
|
476
|
+
if (!toValue(buttons).includes(e.button))
|
477
|
+
return;
|
478
|
+
if (toValue(options.disabled) || !filterEvent(e))
|
479
|
+
return;
|
480
|
+
if (toValue(exact) && e.target !== toValue(target))
|
481
|
+
return;
|
482
|
+
const container = toValue(containerElement);
|
483
|
+
const containerRect = (_a2 = container == null ? void 0 : container.getBoundingClientRect) == null ? void 0 : _a2.call(container);
|
484
|
+
const targetRect = toValue(target).getBoundingClientRect();
|
485
|
+
const pos = {
|
486
|
+
x: e.clientX - (container ? targetRect.left - containerRect.left + container.scrollLeft : targetRect.left),
|
487
|
+
y: e.clientY - (container ? targetRect.top - containerRect.top + container.scrollTop : targetRect.top)
|
488
|
+
};
|
489
|
+
if ((onStart == null ? void 0 : onStart(pos, e)) === false)
|
490
|
+
return;
|
491
|
+
pressedDelta.value = pos;
|
492
|
+
handleEvent(e);
|
493
|
+
};
|
494
|
+
const move = (e) => {
|
495
|
+
if (toValue(options.disabled) || !filterEvent(e))
|
496
|
+
return;
|
497
|
+
if (!pressedDelta.value)
|
498
|
+
return;
|
499
|
+
const container = toValue(containerElement);
|
500
|
+
const targetRect = toValue(target).getBoundingClientRect();
|
501
|
+
let { x, y } = position.value;
|
502
|
+
if (axis === "x" || axis === "both") {
|
503
|
+
x = e.clientX - pressedDelta.value.x;
|
504
|
+
if (container)
|
505
|
+
x = Math.min(Math.max(0, x), container.scrollWidth - targetRect.width);
|
506
|
+
}
|
507
|
+
if (axis === "y" || axis === "both") {
|
508
|
+
y = e.clientY - pressedDelta.value.y;
|
509
|
+
if (container)
|
510
|
+
y = Math.min(Math.max(0, y), container.scrollHeight - targetRect.height);
|
511
|
+
}
|
512
|
+
position.value = {
|
513
|
+
x,
|
514
|
+
y
|
515
|
+
};
|
516
|
+
onMove == null ? void 0 : onMove(position.value, e);
|
517
|
+
handleEvent(e);
|
518
|
+
};
|
519
|
+
const end = (e) => {
|
520
|
+
if (toValue(options.disabled) || !filterEvent(e))
|
521
|
+
return;
|
522
|
+
if (!pressedDelta.value)
|
523
|
+
return;
|
524
|
+
pressedDelta.value = void 0;
|
525
|
+
onEnd == null ? void 0 : onEnd(position.value, e);
|
526
|
+
handleEvent(e);
|
527
|
+
};
|
528
|
+
if (isClient) {
|
529
|
+
const config = () => {
|
530
|
+
var _a2;
|
531
|
+
return {
|
532
|
+
capture: (_a2 = options.capture) != null ? _a2 : true,
|
533
|
+
passive: !toValue(preventDefault)
|
534
|
+
};
|
535
|
+
};
|
536
|
+
useEventListener(draggingHandle, "pointerdown", start, config);
|
537
|
+
useEventListener(draggingElement, "pointermove", move, config);
|
538
|
+
useEventListener(draggingElement, "pointerup", end, config);
|
539
|
+
}
|
540
|
+
return {
|
541
|
+
...toRefs(position),
|
542
|
+
position,
|
543
|
+
isDragging: computed(() => !!pressedDelta.value),
|
544
|
+
style: computed(
|
545
|
+
() => `left:${position.value.x}px;top:${position.value.y}px;`
|
546
|
+
)
|
547
|
+
};
|
548
|
+
}
|
549
|
+
function useResizeObserver(target, callback, options = {}) {
|
550
|
+
const { window: window2 = defaultWindow, ...observerOptions } = options;
|
551
|
+
let observer;
|
552
|
+
const isSupported = useSupported(() => window2 && "ResizeObserver" in window2);
|
553
|
+
const cleanup = () => {
|
554
|
+
if (observer) {
|
555
|
+
observer.disconnect();
|
556
|
+
observer = void 0;
|
557
|
+
}
|
558
|
+
};
|
559
|
+
const targets = computed(() => {
|
560
|
+
const _targets = toValue(target);
|
561
|
+
return Array.isArray(_targets) ? _targets.map((el) => unrefElement(el)) : [unrefElement(_targets)];
|
562
|
+
});
|
563
|
+
const stopWatch = watch(
|
564
|
+
targets,
|
565
|
+
(els) => {
|
566
|
+
cleanup();
|
567
|
+
if (isSupported.value && window2) {
|
568
|
+
observer = new ResizeObserver(callback);
|
569
|
+
for (const _el of els) {
|
570
|
+
if (_el)
|
571
|
+
observer.observe(_el, observerOptions);
|
572
|
+
}
|
573
|
+
}
|
574
|
+
},
|
575
|
+
{ immediate: true, flush: "post" }
|
576
|
+
);
|
577
|
+
const stop = () => {
|
578
|
+
cleanup();
|
579
|
+
stopWatch();
|
580
|
+
};
|
581
|
+
tryOnScopeDispose(stop);
|
582
|
+
return {
|
583
|
+
isSupported,
|
584
|
+
stop
|
585
|
+
};
|
586
|
+
}
|
587
|
+
function useElementBounding(target, options = {}) {
|
588
|
+
const {
|
589
|
+
reset = true,
|
590
|
+
windowResize = true,
|
591
|
+
windowScroll = true,
|
592
|
+
immediate = true,
|
593
|
+
updateTiming = "sync"
|
594
|
+
} = options;
|
595
|
+
const height = shallowRef(0);
|
596
|
+
const bottom = shallowRef(0);
|
597
|
+
const left = shallowRef(0);
|
598
|
+
const right = shallowRef(0);
|
599
|
+
const top = shallowRef(0);
|
600
|
+
const width = shallowRef(0);
|
601
|
+
const x = shallowRef(0);
|
602
|
+
const y = shallowRef(0);
|
603
|
+
function recalculate() {
|
604
|
+
const el = unrefElement(target);
|
605
|
+
if (!el) {
|
606
|
+
if (reset) {
|
607
|
+
height.value = 0;
|
608
|
+
bottom.value = 0;
|
609
|
+
left.value = 0;
|
610
|
+
right.value = 0;
|
611
|
+
top.value = 0;
|
612
|
+
width.value = 0;
|
613
|
+
x.value = 0;
|
614
|
+
y.value = 0;
|
615
|
+
}
|
616
|
+
return;
|
617
|
+
}
|
618
|
+
const rect = el.getBoundingClientRect();
|
619
|
+
height.value = rect.height;
|
620
|
+
bottom.value = rect.bottom;
|
621
|
+
left.value = rect.left;
|
622
|
+
right.value = rect.right;
|
623
|
+
top.value = rect.top;
|
624
|
+
width.value = rect.width;
|
625
|
+
x.value = rect.x;
|
626
|
+
y.value = rect.y;
|
627
|
+
}
|
628
|
+
function update() {
|
629
|
+
if (updateTiming === "sync")
|
630
|
+
recalculate();
|
631
|
+
else if (updateTiming === "next-frame")
|
632
|
+
requestAnimationFrame(() => recalculate());
|
633
|
+
}
|
634
|
+
useResizeObserver(target, update);
|
635
|
+
watch(() => unrefElement(target), (ele) => !ele && update());
|
636
|
+
useMutationObserver(target, update, {
|
637
|
+
attributeFilter: ["style", "class"]
|
638
|
+
});
|
639
|
+
if (windowScroll)
|
640
|
+
useEventListener("scroll", update, { capture: true, passive: true });
|
641
|
+
if (windowResize)
|
642
|
+
useEventListener("resize", update, { passive: true });
|
643
|
+
tryOnMounted(() => {
|
644
|
+
if (immediate)
|
645
|
+
update();
|
646
|
+
});
|
647
|
+
return {
|
648
|
+
height,
|
649
|
+
bottom,
|
650
|
+
left,
|
651
|
+
right,
|
652
|
+
top,
|
653
|
+
width,
|
654
|
+
x,
|
655
|
+
y,
|
656
|
+
update
|
657
|
+
};
|
658
|
+
}
|
659
|
+
function useElementSize(target, initialSize = { width: 0, height: 0 }, options = {}) {
|
660
|
+
const { window: window2 = defaultWindow, box = "content-box" } = options;
|
661
|
+
const isSVG = computed(() => {
|
662
|
+
var _a, _b;
|
663
|
+
return (_b = (_a = unrefElement(target)) == null ? void 0 : _a.namespaceURI) == null ? void 0 : _b.includes("svg");
|
664
|
+
});
|
665
|
+
const width = shallowRef(initialSize.width);
|
666
|
+
const height = shallowRef(initialSize.height);
|
667
|
+
const { stop: stop1 } = useResizeObserver(
|
668
|
+
target,
|
669
|
+
([entry]) => {
|
670
|
+
const boxSize = box === "border-box" ? entry.borderBoxSize : box === "content-box" ? entry.contentBoxSize : entry.devicePixelContentBoxSize;
|
671
|
+
if (window2 && isSVG.value) {
|
672
|
+
const $elem = unrefElement(target);
|
673
|
+
if ($elem) {
|
674
|
+
const rect = $elem.getBoundingClientRect();
|
675
|
+
width.value = rect.width;
|
676
|
+
height.value = rect.height;
|
677
|
+
}
|
678
|
+
} else {
|
679
|
+
if (boxSize) {
|
680
|
+
const formatBoxSize = toArray(boxSize);
|
681
|
+
width.value = formatBoxSize.reduce((acc, { inlineSize }) => acc + inlineSize, 0);
|
682
|
+
height.value = formatBoxSize.reduce((acc, { blockSize }) => acc + blockSize, 0);
|
683
|
+
} else {
|
684
|
+
width.value = entry.contentRect.width;
|
685
|
+
height.value = entry.contentRect.height;
|
686
|
+
}
|
687
|
+
}
|
688
|
+
},
|
689
|
+
options
|
690
|
+
);
|
691
|
+
tryOnMounted(() => {
|
692
|
+
const ele = unrefElement(target);
|
693
|
+
if (ele) {
|
694
|
+
width.value = "offsetWidth" in ele ? ele.offsetWidth : initialSize.width;
|
695
|
+
height.value = "offsetHeight" in ele ? ele.offsetHeight : initialSize.height;
|
696
|
+
}
|
697
|
+
});
|
698
|
+
const stop2 = watch(
|
699
|
+
() => unrefElement(target),
|
700
|
+
(ele) => {
|
701
|
+
width.value = ele ? initialSize.width : 0;
|
702
|
+
height.value = ele ? initialSize.height : 0;
|
703
|
+
}
|
704
|
+
);
|
705
|
+
function stop() {
|
706
|
+
stop1();
|
707
|
+
stop2();
|
708
|
+
}
|
709
|
+
return {
|
710
|
+
width,
|
711
|
+
height,
|
712
|
+
stop
|
713
|
+
};
|
714
|
+
}
|
715
|
+
const ARRIVED_STATE_THRESHOLD_PIXELS = 1;
|
716
|
+
function useScroll(element, options = {}) {
|
717
|
+
const {
|
718
|
+
throttle = 0,
|
719
|
+
idle = 200,
|
720
|
+
onStop = noop,
|
721
|
+
onScroll = noop,
|
722
|
+
offset = {
|
723
|
+
left: 0,
|
724
|
+
right: 0,
|
725
|
+
top: 0,
|
726
|
+
bottom: 0
|
727
|
+
},
|
728
|
+
eventListenerOptions = {
|
729
|
+
capture: false,
|
730
|
+
passive: true
|
731
|
+
},
|
732
|
+
behavior = "auto",
|
733
|
+
window: window2 = defaultWindow,
|
734
|
+
onError = (e) => {
|
735
|
+
console.error(e);
|
736
|
+
}
|
737
|
+
} = options;
|
738
|
+
const internalX = shallowRef(0);
|
739
|
+
const internalY = shallowRef(0);
|
740
|
+
const x = computed({
|
741
|
+
get() {
|
742
|
+
return internalX.value;
|
743
|
+
},
|
744
|
+
set(x2) {
|
745
|
+
scrollTo(x2, void 0);
|
746
|
+
}
|
747
|
+
});
|
748
|
+
const y = computed({
|
749
|
+
get() {
|
750
|
+
return internalY.value;
|
751
|
+
},
|
752
|
+
set(y2) {
|
753
|
+
scrollTo(void 0, y2);
|
754
|
+
}
|
755
|
+
});
|
756
|
+
function scrollTo(_x, _y) {
|
757
|
+
var _a, _b, _c, _d;
|
758
|
+
if (!window2)
|
759
|
+
return;
|
760
|
+
const _element = toValue(element);
|
761
|
+
if (!_element)
|
762
|
+
return;
|
763
|
+
(_c = _element instanceof Document ? window2.document.body : _element) == null ? void 0 : _c.scrollTo({
|
764
|
+
top: (_a = toValue(_y)) != null ? _a : y.value,
|
765
|
+
left: (_b = toValue(_x)) != null ? _b : x.value,
|
766
|
+
behavior: toValue(behavior)
|
767
|
+
});
|
768
|
+
const scrollContainer = ((_d = _element == null ? void 0 : _element.document) == null ? void 0 : _d.documentElement) || (_element == null ? void 0 : _element.documentElement) || _element;
|
769
|
+
if (x != null)
|
770
|
+
internalX.value = scrollContainer.scrollLeft;
|
771
|
+
if (y != null)
|
772
|
+
internalY.value = scrollContainer.scrollTop;
|
773
|
+
}
|
774
|
+
const isScrolling = shallowRef(false);
|
775
|
+
const arrivedState = reactive({
|
776
|
+
left: true,
|
777
|
+
right: false,
|
778
|
+
top: true,
|
779
|
+
bottom: false
|
780
|
+
});
|
781
|
+
const directions = reactive({
|
782
|
+
left: false,
|
783
|
+
right: false,
|
784
|
+
top: false,
|
785
|
+
bottom: false
|
786
|
+
});
|
787
|
+
const onScrollEnd = (e) => {
|
788
|
+
if (!isScrolling.value)
|
789
|
+
return;
|
790
|
+
isScrolling.value = false;
|
791
|
+
directions.left = false;
|
792
|
+
directions.right = false;
|
793
|
+
directions.top = false;
|
794
|
+
directions.bottom = false;
|
795
|
+
onStop(e);
|
796
|
+
};
|
797
|
+
const onScrollEndDebounced = useDebounceFn(onScrollEnd, throttle + idle);
|
798
|
+
const setArrivedState = (target) => {
|
799
|
+
var _a;
|
800
|
+
if (!window2)
|
801
|
+
return;
|
802
|
+
const el = ((_a = target == null ? void 0 : target.document) == null ? void 0 : _a.documentElement) || (target == null ? void 0 : target.documentElement) || unrefElement(target);
|
803
|
+
const { display, flexDirection, direction } = getComputedStyle(el);
|
804
|
+
const directionMultipler = direction === "rtl" ? -1 : 1;
|
805
|
+
const scrollLeft = el.scrollLeft;
|
806
|
+
directions.left = scrollLeft < internalX.value;
|
807
|
+
directions.right = scrollLeft > internalX.value;
|
808
|
+
const left = Math.abs(scrollLeft * directionMultipler) <= (offset.left || 0);
|
809
|
+
const right = Math.abs(scrollLeft * directionMultipler) + el.clientWidth >= el.scrollWidth - (offset.right || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;
|
810
|
+
if (display === "flex" && flexDirection === "row-reverse") {
|
811
|
+
arrivedState.left = right;
|
812
|
+
arrivedState.right = left;
|
813
|
+
} else {
|
814
|
+
arrivedState.left = left;
|
815
|
+
arrivedState.right = right;
|
816
|
+
}
|
817
|
+
internalX.value = scrollLeft;
|
818
|
+
let scrollTop = el.scrollTop;
|
819
|
+
if (target === window2.document && !scrollTop)
|
820
|
+
scrollTop = window2.document.body.scrollTop;
|
821
|
+
directions.top = scrollTop < internalY.value;
|
822
|
+
directions.bottom = scrollTop > internalY.value;
|
823
|
+
const top = Math.abs(scrollTop) <= (offset.top || 0);
|
824
|
+
const bottom = Math.abs(scrollTop) + el.clientHeight >= el.scrollHeight - (offset.bottom || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;
|
825
|
+
if (display === "flex" && flexDirection === "column-reverse") {
|
826
|
+
arrivedState.top = bottom;
|
827
|
+
arrivedState.bottom = top;
|
828
|
+
} else {
|
829
|
+
arrivedState.top = top;
|
830
|
+
arrivedState.bottom = bottom;
|
831
|
+
}
|
832
|
+
internalY.value = scrollTop;
|
833
|
+
};
|
834
|
+
const onScrollHandler = (e) => {
|
835
|
+
var _a;
|
836
|
+
if (!window2)
|
837
|
+
return;
|
838
|
+
const eventTarget = (_a = e.target.documentElement) != null ? _a : e.target;
|
839
|
+
setArrivedState(eventTarget);
|
840
|
+
isScrolling.value = true;
|
841
|
+
onScrollEndDebounced(e);
|
842
|
+
onScroll(e);
|
843
|
+
};
|
844
|
+
useEventListener(
|
845
|
+
element,
|
846
|
+
"scroll",
|
847
|
+
throttle ? useThrottleFn(onScrollHandler, throttle, true, false) : onScrollHandler,
|
848
|
+
eventListenerOptions
|
849
|
+
);
|
850
|
+
tryOnMounted(() => {
|
851
|
+
try {
|
852
|
+
const _element = toValue(element);
|
853
|
+
if (!_element)
|
854
|
+
return;
|
855
|
+
setArrivedState(_element);
|
856
|
+
} catch (e) {
|
857
|
+
onError(e);
|
858
|
+
}
|
859
|
+
});
|
860
|
+
useEventListener(
|
861
|
+
element,
|
862
|
+
"scrollend",
|
863
|
+
onScrollEnd,
|
864
|
+
eventListenerOptions
|
865
|
+
);
|
866
|
+
return {
|
867
|
+
x,
|
868
|
+
y,
|
869
|
+
isScrolling,
|
870
|
+
arrivedState,
|
871
|
+
directions,
|
872
|
+
measure() {
|
873
|
+
const _element = toValue(element);
|
874
|
+
if (window2 && _element)
|
875
|
+
setArrivedState(_element);
|
876
|
+
}
|
877
|
+
};
|
878
|
+
}
|
879
|
+
function useVirtualList(list, options) {
|
880
|
+
const { containerStyle, wrapperProps, scrollTo, calculateRange, currentList, containerRef } = "itemHeight" in options ? useVerticalVirtualList(options, list) : useHorizontalVirtualList(options, list);
|
881
|
+
return {
|
882
|
+
list: currentList,
|
883
|
+
scrollTo,
|
884
|
+
containerProps: {
|
885
|
+
ref: containerRef,
|
886
|
+
onScroll: () => {
|
887
|
+
calculateRange();
|
888
|
+
},
|
889
|
+
style: containerStyle
|
890
|
+
},
|
891
|
+
wrapperProps
|
892
|
+
};
|
893
|
+
}
|
894
|
+
function useVirtualListResources(list) {
|
895
|
+
const containerRef = shallowRef(null);
|
896
|
+
const size = useElementSize(containerRef);
|
897
|
+
const currentList = ref([]);
|
898
|
+
const source = shallowRef(list);
|
899
|
+
const state = ref({ start: 0, end: 10 });
|
900
|
+
return { state, source, currentList, size, containerRef };
|
901
|
+
}
|
902
|
+
function createGetViewCapacity(state, source, itemSize) {
|
903
|
+
return (containerSize) => {
|
904
|
+
if (typeof itemSize === "number")
|
905
|
+
return Math.ceil(containerSize / itemSize);
|
906
|
+
const { start = 0 } = state.value;
|
907
|
+
let sum = 0;
|
908
|
+
let capacity = 0;
|
909
|
+
for (let i = start; i < source.value.length; i++) {
|
910
|
+
const size = itemSize(i);
|
911
|
+
sum += size;
|
912
|
+
capacity = i;
|
913
|
+
if (sum > containerSize)
|
914
|
+
break;
|
915
|
+
}
|
916
|
+
return capacity - start;
|
917
|
+
};
|
918
|
+
}
|
919
|
+
function createGetOffset(source, itemSize) {
|
920
|
+
return (scrollDirection) => {
|
921
|
+
if (typeof itemSize === "number")
|
922
|
+
return Math.floor(scrollDirection / itemSize) + 1;
|
923
|
+
let sum = 0;
|
924
|
+
let offset = 0;
|
925
|
+
for (let i = 0; i < source.value.length; i++) {
|
926
|
+
const size = itemSize(i);
|
927
|
+
sum += size;
|
928
|
+
if (sum >= scrollDirection) {
|
929
|
+
offset = i;
|
930
|
+
break;
|
931
|
+
}
|
932
|
+
}
|
933
|
+
return offset + 1;
|
934
|
+
};
|
935
|
+
}
|
936
|
+
function createCalculateRange(type, overscan, getOffset, getViewCapacity, { containerRef, state, currentList, source }) {
|
937
|
+
return () => {
|
938
|
+
const element = containerRef.value;
|
939
|
+
if (element) {
|
940
|
+
const offset = getOffset(type === "vertical" ? element.scrollTop : element.scrollLeft);
|
941
|
+
const viewCapacity = getViewCapacity(type === "vertical" ? element.clientHeight : element.clientWidth);
|
942
|
+
const from = offset - overscan;
|
943
|
+
const to = offset + viewCapacity + overscan;
|
944
|
+
state.value = {
|
945
|
+
start: from < 0 ? 0 : from,
|
946
|
+
end: to > source.value.length ? source.value.length : to
|
947
|
+
};
|
948
|
+
currentList.value = source.value.slice(state.value.start, state.value.end).map((ele, index) => ({
|
949
|
+
data: ele,
|
950
|
+
index: index + state.value.start
|
951
|
+
}));
|
952
|
+
}
|
953
|
+
};
|
954
|
+
}
|
955
|
+
function createGetDistance(itemSize, source) {
|
956
|
+
return (index) => {
|
957
|
+
if (typeof itemSize === "number") {
|
958
|
+
const size2 = index * itemSize;
|
959
|
+
return size2;
|
960
|
+
}
|
961
|
+
const size = source.value.slice(0, index).reduce((sum, _, i) => sum + itemSize(i), 0);
|
962
|
+
return size;
|
963
|
+
};
|
964
|
+
}
|
965
|
+
function useWatchForSizes(size, list, containerRef, calculateRange) {
|
966
|
+
watch([size.width, size.height, list, containerRef], () => {
|
967
|
+
calculateRange();
|
968
|
+
});
|
969
|
+
}
|
970
|
+
function createComputedTotalSize(itemSize, source) {
|
971
|
+
return computed(() => {
|
972
|
+
if (typeof itemSize === "number")
|
973
|
+
return source.value.length * itemSize;
|
974
|
+
return source.value.reduce((sum, _, index) => sum + itemSize(index), 0);
|
975
|
+
});
|
976
|
+
}
|
977
|
+
const scrollToDictionaryForElementScrollKey = {
|
978
|
+
horizontal: "scrollLeft",
|
979
|
+
vertical: "scrollTop"
|
980
|
+
};
|
981
|
+
function createScrollTo(type, calculateRange, getDistance, containerRef) {
|
982
|
+
return (index) => {
|
983
|
+
if (containerRef.value) {
|
984
|
+
containerRef.value[scrollToDictionaryForElementScrollKey[type]] = getDistance(index);
|
985
|
+
calculateRange();
|
986
|
+
}
|
987
|
+
};
|
988
|
+
}
|
989
|
+
function useHorizontalVirtualList(options, list) {
|
990
|
+
const resources = useVirtualListResources(list);
|
991
|
+
const { state, source, currentList, size, containerRef } = resources;
|
992
|
+
const containerStyle = { overflowX: "auto" };
|
993
|
+
const { itemWidth, overscan = 5 } = options;
|
994
|
+
const getViewCapacity = createGetViewCapacity(state, source, itemWidth);
|
995
|
+
const getOffset = createGetOffset(source, itemWidth);
|
996
|
+
const calculateRange = createCalculateRange("horizontal", overscan, getOffset, getViewCapacity, resources);
|
997
|
+
const getDistanceLeft = createGetDistance(itemWidth, source);
|
998
|
+
const offsetLeft = computed(() => getDistanceLeft(state.value.start));
|
999
|
+
const totalWidth = createComputedTotalSize(itemWidth, source);
|
1000
|
+
useWatchForSizes(size, list, containerRef, calculateRange);
|
1001
|
+
const scrollTo = createScrollTo("horizontal", calculateRange, getDistanceLeft, containerRef);
|
1002
|
+
const wrapperProps = computed(() => {
|
1003
|
+
return {
|
1004
|
+
style: {
|
1005
|
+
height: "100%",
|
1006
|
+
width: `${totalWidth.value - offsetLeft.value}px`,
|
1007
|
+
marginLeft: `${offsetLeft.value}px`,
|
1008
|
+
display: "flex"
|
1009
|
+
}
|
1010
|
+
};
|
1011
|
+
});
|
1012
|
+
return {
|
1013
|
+
scrollTo,
|
1014
|
+
calculateRange,
|
1015
|
+
wrapperProps,
|
1016
|
+
containerStyle,
|
1017
|
+
currentList,
|
1018
|
+
containerRef
|
1019
|
+
};
|
1020
|
+
}
|
1021
|
+
function useVerticalVirtualList(options, list) {
|
1022
|
+
const resources = useVirtualListResources(list);
|
1023
|
+
const { state, source, currentList, size, containerRef } = resources;
|
1024
|
+
const containerStyle = { overflowY: "auto" };
|
1025
|
+
const { itemHeight, overscan = 5 } = options;
|
1026
|
+
const getViewCapacity = createGetViewCapacity(state, source, itemHeight);
|
1027
|
+
const getOffset = createGetOffset(source, itemHeight);
|
1028
|
+
const calculateRange = createCalculateRange("vertical", overscan, getOffset, getViewCapacity, resources);
|
1029
|
+
const getDistanceTop = createGetDistance(itemHeight, source);
|
1030
|
+
const offsetTop = computed(() => getDistanceTop(state.value.start));
|
1031
|
+
const totalHeight = createComputedTotalSize(itemHeight, source);
|
1032
|
+
useWatchForSizes(size, list, containerRef, calculateRange);
|
1033
|
+
const scrollTo = createScrollTo("vertical", calculateRange, getDistanceTop, containerRef);
|
1034
|
+
const wrapperProps = computed(() => {
|
1035
|
+
return {
|
1036
|
+
style: {
|
1037
|
+
width: "100%",
|
1038
|
+
height: `${totalHeight.value - offsetTop.value}px`,
|
1039
|
+
marginTop: `${offsetTop.value}px`
|
1040
|
+
}
|
1041
|
+
};
|
1042
|
+
});
|
1043
|
+
return {
|
1044
|
+
calculateRange,
|
1045
|
+
scrollTo,
|
1046
|
+
containerStyle,
|
1047
|
+
wrapperProps,
|
1048
|
+
currentList,
|
1049
|
+
containerRef
|
1050
|
+
};
|
1051
|
+
}
|
1052
|
+
export {
|
1053
|
+
camelize,
|
1054
|
+
createFilterWrapper,
|
1055
|
+
createReusableTemplate,
|
1056
|
+
createSingletonPromise,
|
1057
|
+
debounceFilter,
|
1058
|
+
defaultNavigator,
|
1059
|
+
defaultWindow,
|
1060
|
+
getLifeCycleTarget,
|
1061
|
+
injectLocal,
|
1062
|
+
isClient,
|
1063
|
+
isIOS,
|
1064
|
+
isObject,
|
1065
|
+
makeDestructurable,
|
1066
|
+
noop,
|
1067
|
+
notNullish,
|
1068
|
+
onClickOutside,
|
1069
|
+
onKeyStroke,
|
1070
|
+
pxValue,
|
1071
|
+
throttleFilter,
|
1072
|
+
toArray,
|
1073
|
+
toRefs,
|
1074
|
+
tryOnMounted,
|
1075
|
+
tryOnScopeDispose,
|
1076
|
+
unrefElement,
|
1077
|
+
useClipboard,
|
1078
|
+
useDebounceFn,
|
1079
|
+
useDraggable,
|
1080
|
+
useElementBounding,
|
1081
|
+
useElementSize,
|
1082
|
+
useEventListener,
|
1083
|
+
useMediaQuery,
|
1084
|
+
useMounted,
|
1085
|
+
useMutationObserver,
|
1086
|
+
usePermission,
|
1087
|
+
useResizeObserver,
|
1088
|
+
useSSRWidth,
|
1089
|
+
useScroll,
|
1090
|
+
useSupported,
|
1091
|
+
useThrottleFn,
|
1092
|
+
useTimeoutFn,
|
1093
|
+
useVirtualList,
|
1094
|
+
watchImmediate
|
1095
|
+
};
|