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,966 @@
|
|
1
|
+
function _typeof(obj) {
|
2
|
+
"@babel/helpers - typeof";
|
3
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
4
|
+
return typeof obj2;
|
5
|
+
} : function(obj2) {
|
6
|
+
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
7
|
+
}, _typeof(obj);
|
8
|
+
}
|
9
|
+
var trimLeft = /^\s+/;
|
10
|
+
var trimRight = /\s+$/;
|
11
|
+
function tinycolor(color, opts) {
|
12
|
+
color = color ? color : "";
|
13
|
+
opts = opts || {};
|
14
|
+
if (color instanceof tinycolor) {
|
15
|
+
return color;
|
16
|
+
}
|
17
|
+
if (!(this instanceof tinycolor)) {
|
18
|
+
return new tinycolor(color, opts);
|
19
|
+
}
|
20
|
+
var rgb = inputToRGB(color);
|
21
|
+
this._originalInput = color, this._r = rgb.r, this._g = rgb.g, this._b = rgb.b, this._a = rgb.a, this._roundA = Math.round(100 * this._a) / 100, this._format = opts.format || rgb.format;
|
22
|
+
this._gradientType = opts.gradientType;
|
23
|
+
if (this._r < 1) this._r = Math.round(this._r);
|
24
|
+
if (this._g < 1) this._g = Math.round(this._g);
|
25
|
+
if (this._b < 1) this._b = Math.round(this._b);
|
26
|
+
this._ok = rgb.ok;
|
27
|
+
}
|
28
|
+
tinycolor.prototype = {
|
29
|
+
isDark: function isDark() {
|
30
|
+
return this.getBrightness() < 128;
|
31
|
+
},
|
32
|
+
isLight: function isLight() {
|
33
|
+
return !this.isDark();
|
34
|
+
},
|
35
|
+
isValid: function isValid() {
|
36
|
+
return this._ok;
|
37
|
+
},
|
38
|
+
getOriginalInput: function getOriginalInput() {
|
39
|
+
return this._originalInput;
|
40
|
+
},
|
41
|
+
getFormat: function getFormat() {
|
42
|
+
return this._format;
|
43
|
+
},
|
44
|
+
getAlpha: function getAlpha() {
|
45
|
+
return this._a;
|
46
|
+
},
|
47
|
+
getBrightness: function getBrightness() {
|
48
|
+
var rgb = this.toRgb();
|
49
|
+
return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1e3;
|
50
|
+
},
|
51
|
+
getLuminance: function getLuminance() {
|
52
|
+
var rgb = this.toRgb();
|
53
|
+
var RsRGB, GsRGB, BsRGB, R, G, B;
|
54
|
+
RsRGB = rgb.r / 255;
|
55
|
+
GsRGB = rgb.g / 255;
|
56
|
+
BsRGB = rgb.b / 255;
|
57
|
+
if (RsRGB <= 0.03928) R = RsRGB / 12.92;
|
58
|
+
else R = Math.pow((RsRGB + 0.055) / 1.055, 2.4);
|
59
|
+
if (GsRGB <= 0.03928) G = GsRGB / 12.92;
|
60
|
+
else G = Math.pow((GsRGB + 0.055) / 1.055, 2.4);
|
61
|
+
if (BsRGB <= 0.03928) B = BsRGB / 12.92;
|
62
|
+
else B = Math.pow((BsRGB + 0.055) / 1.055, 2.4);
|
63
|
+
return 0.2126 * R + 0.7152 * G + 0.0722 * B;
|
64
|
+
},
|
65
|
+
setAlpha: function setAlpha(value) {
|
66
|
+
this._a = boundAlpha(value);
|
67
|
+
this._roundA = Math.round(100 * this._a) / 100;
|
68
|
+
return this;
|
69
|
+
},
|
70
|
+
toHsv: function toHsv() {
|
71
|
+
var hsv = rgbToHsv(this._r, this._g, this._b);
|
72
|
+
return {
|
73
|
+
h: hsv.h * 360,
|
74
|
+
s: hsv.s,
|
75
|
+
v: hsv.v,
|
76
|
+
a: this._a
|
77
|
+
};
|
78
|
+
},
|
79
|
+
toHsvString: function toHsvString() {
|
80
|
+
var hsv = rgbToHsv(this._r, this._g, this._b);
|
81
|
+
var h = Math.round(hsv.h * 360), s = Math.round(hsv.s * 100), v = Math.round(hsv.v * 100);
|
82
|
+
return this._a == 1 ? "hsv(" + h + ", " + s + "%, " + v + "%)" : "hsva(" + h + ", " + s + "%, " + v + "%, " + this._roundA + ")";
|
83
|
+
},
|
84
|
+
toHsl: function toHsl() {
|
85
|
+
var hsl = rgbToHsl(this._r, this._g, this._b);
|
86
|
+
return {
|
87
|
+
h: hsl.h * 360,
|
88
|
+
s: hsl.s,
|
89
|
+
l: hsl.l,
|
90
|
+
a: this._a
|
91
|
+
};
|
92
|
+
},
|
93
|
+
toHslString: function toHslString() {
|
94
|
+
var hsl = rgbToHsl(this._r, this._g, this._b);
|
95
|
+
var h = Math.round(hsl.h * 360), s = Math.round(hsl.s * 100), l = Math.round(hsl.l * 100);
|
96
|
+
return this._a == 1 ? "hsl(" + h + ", " + s + "%, " + l + "%)" : "hsla(" + h + ", " + s + "%, " + l + "%, " + this._roundA + ")";
|
97
|
+
},
|
98
|
+
toHex: function toHex(allow3Char) {
|
99
|
+
return rgbToHex(this._r, this._g, this._b, allow3Char);
|
100
|
+
},
|
101
|
+
toHexString: function toHexString(allow3Char) {
|
102
|
+
return "#" + this.toHex(allow3Char);
|
103
|
+
},
|
104
|
+
toHex8: function toHex8(allow4Char) {
|
105
|
+
return rgbaToHex(this._r, this._g, this._b, this._a, allow4Char);
|
106
|
+
},
|
107
|
+
toHex8String: function toHex8String(allow4Char) {
|
108
|
+
return "#" + this.toHex8(allow4Char);
|
109
|
+
},
|
110
|
+
toRgb: function toRgb() {
|
111
|
+
return {
|
112
|
+
r: Math.round(this._r),
|
113
|
+
g: Math.round(this._g),
|
114
|
+
b: Math.round(this._b),
|
115
|
+
a: this._a
|
116
|
+
};
|
117
|
+
},
|
118
|
+
toRgbString: function toRgbString() {
|
119
|
+
return this._a == 1 ? "rgb(" + Math.round(this._r) + ", " + Math.round(this._g) + ", " + Math.round(this._b) + ")" : "rgba(" + Math.round(this._r) + ", " + Math.round(this._g) + ", " + Math.round(this._b) + ", " + this._roundA + ")";
|
120
|
+
},
|
121
|
+
toPercentageRgb: function toPercentageRgb() {
|
122
|
+
return {
|
123
|
+
r: Math.round(bound01(this._r, 255) * 100) + "%",
|
124
|
+
g: Math.round(bound01(this._g, 255) * 100) + "%",
|
125
|
+
b: Math.round(bound01(this._b, 255) * 100) + "%",
|
126
|
+
a: this._a
|
127
|
+
};
|
128
|
+
},
|
129
|
+
toPercentageRgbString: function toPercentageRgbString() {
|
130
|
+
return this._a == 1 ? "rgb(" + Math.round(bound01(this._r, 255) * 100) + "%, " + Math.round(bound01(this._g, 255) * 100) + "%, " + Math.round(bound01(this._b, 255) * 100) + "%)" : "rgba(" + Math.round(bound01(this._r, 255) * 100) + "%, " + Math.round(bound01(this._g, 255) * 100) + "%, " + Math.round(bound01(this._b, 255) * 100) + "%, " + this._roundA + ")";
|
131
|
+
},
|
132
|
+
toName: function toName() {
|
133
|
+
if (this._a === 0) {
|
134
|
+
return "transparent";
|
135
|
+
}
|
136
|
+
if (this._a < 1) {
|
137
|
+
return false;
|
138
|
+
}
|
139
|
+
return hexNames[rgbToHex(this._r, this._g, this._b, true)] || false;
|
140
|
+
},
|
141
|
+
toFilter: function toFilter(secondColor) {
|
142
|
+
var hex8String = "#" + rgbaToArgbHex(this._r, this._g, this._b, this._a);
|
143
|
+
var secondHex8String = hex8String;
|
144
|
+
var gradientType = this._gradientType ? "GradientType = 1, " : "";
|
145
|
+
if (secondColor) {
|
146
|
+
var s = tinycolor(secondColor);
|
147
|
+
secondHex8String = "#" + rgbaToArgbHex(s._r, s._g, s._b, s._a);
|
148
|
+
}
|
149
|
+
return "progid:DXImageTransform.Microsoft.gradient(" + gradientType + "startColorstr=" + hex8String + ",endColorstr=" + secondHex8String + ")";
|
150
|
+
},
|
151
|
+
toString: function toString(format) {
|
152
|
+
var formatSet = !!format;
|
153
|
+
format = format || this._format;
|
154
|
+
var formattedString = false;
|
155
|
+
var hasAlpha = this._a < 1 && this._a >= 0;
|
156
|
+
var needsAlphaFormat = !formatSet && hasAlpha && (format === "hex" || format === "hex6" || format === "hex3" || format === "hex4" || format === "hex8" || format === "name");
|
157
|
+
if (needsAlphaFormat) {
|
158
|
+
if (format === "name" && this._a === 0) {
|
159
|
+
return this.toName();
|
160
|
+
}
|
161
|
+
return this.toRgbString();
|
162
|
+
}
|
163
|
+
if (format === "rgb") {
|
164
|
+
formattedString = this.toRgbString();
|
165
|
+
}
|
166
|
+
if (format === "prgb") {
|
167
|
+
formattedString = this.toPercentageRgbString();
|
168
|
+
}
|
169
|
+
if (format === "hex" || format === "hex6") {
|
170
|
+
formattedString = this.toHexString();
|
171
|
+
}
|
172
|
+
if (format === "hex3") {
|
173
|
+
formattedString = this.toHexString(true);
|
174
|
+
}
|
175
|
+
if (format === "hex4") {
|
176
|
+
formattedString = this.toHex8String(true);
|
177
|
+
}
|
178
|
+
if (format === "hex8") {
|
179
|
+
formattedString = this.toHex8String();
|
180
|
+
}
|
181
|
+
if (format === "name") {
|
182
|
+
formattedString = this.toName();
|
183
|
+
}
|
184
|
+
if (format === "hsl") {
|
185
|
+
formattedString = this.toHslString();
|
186
|
+
}
|
187
|
+
if (format === "hsv") {
|
188
|
+
formattedString = this.toHsvString();
|
189
|
+
}
|
190
|
+
return formattedString || this.toHexString();
|
191
|
+
},
|
192
|
+
clone: function clone() {
|
193
|
+
return tinycolor(this.toString());
|
194
|
+
},
|
195
|
+
_applyModification: function _applyModification(fn, args) {
|
196
|
+
var color = fn.apply(null, [this].concat([].slice.call(args)));
|
197
|
+
this._r = color._r;
|
198
|
+
this._g = color._g;
|
199
|
+
this._b = color._b;
|
200
|
+
this.setAlpha(color._a);
|
201
|
+
return this;
|
202
|
+
},
|
203
|
+
lighten: function lighten() {
|
204
|
+
return this._applyModification(_lighten, arguments);
|
205
|
+
},
|
206
|
+
brighten: function brighten() {
|
207
|
+
return this._applyModification(_brighten, arguments);
|
208
|
+
},
|
209
|
+
darken: function darken() {
|
210
|
+
return this._applyModification(_darken, arguments);
|
211
|
+
},
|
212
|
+
desaturate: function desaturate() {
|
213
|
+
return this._applyModification(_desaturate, arguments);
|
214
|
+
},
|
215
|
+
saturate: function saturate() {
|
216
|
+
return this._applyModification(_saturate, arguments);
|
217
|
+
},
|
218
|
+
greyscale: function greyscale() {
|
219
|
+
return this._applyModification(_greyscale, arguments);
|
220
|
+
},
|
221
|
+
spin: function spin() {
|
222
|
+
return this._applyModification(_spin, arguments);
|
223
|
+
},
|
224
|
+
_applyCombination: function _applyCombination(fn, args) {
|
225
|
+
return fn.apply(null, [this].concat([].slice.call(args)));
|
226
|
+
},
|
227
|
+
analogous: function analogous() {
|
228
|
+
return this._applyCombination(_analogous, arguments);
|
229
|
+
},
|
230
|
+
complement: function complement() {
|
231
|
+
return this._applyCombination(_complement, arguments);
|
232
|
+
},
|
233
|
+
monochromatic: function monochromatic() {
|
234
|
+
return this._applyCombination(_monochromatic, arguments);
|
235
|
+
},
|
236
|
+
splitcomplement: function splitcomplement() {
|
237
|
+
return this._applyCombination(_splitcomplement, arguments);
|
238
|
+
},
|
239
|
+
// Disabled until https://github.com/bgrins/TinyColor/issues/254
|
240
|
+
// polyad: function (number) {
|
241
|
+
// return this._applyCombination(polyad, [number]);
|
242
|
+
// },
|
243
|
+
triad: function triad() {
|
244
|
+
return this._applyCombination(polyad, [3]);
|
245
|
+
},
|
246
|
+
tetrad: function tetrad() {
|
247
|
+
return this._applyCombination(polyad, [4]);
|
248
|
+
}
|
249
|
+
};
|
250
|
+
tinycolor.fromRatio = function(color, opts) {
|
251
|
+
if (_typeof(color) == "object") {
|
252
|
+
var newColor = {};
|
253
|
+
for (var i in color) {
|
254
|
+
if (color.hasOwnProperty(i)) {
|
255
|
+
if (i === "a") {
|
256
|
+
newColor[i] = color[i];
|
257
|
+
} else {
|
258
|
+
newColor[i] = convertToPercentage(color[i]);
|
259
|
+
}
|
260
|
+
}
|
261
|
+
}
|
262
|
+
color = newColor;
|
263
|
+
}
|
264
|
+
return tinycolor(color, opts);
|
265
|
+
};
|
266
|
+
function inputToRGB(color) {
|
267
|
+
var rgb = {
|
268
|
+
r: 0,
|
269
|
+
g: 0,
|
270
|
+
b: 0
|
271
|
+
};
|
272
|
+
var a = 1;
|
273
|
+
var s = null;
|
274
|
+
var v = null;
|
275
|
+
var l = null;
|
276
|
+
var ok = false;
|
277
|
+
var format = false;
|
278
|
+
if (typeof color == "string") {
|
279
|
+
color = stringInputToObject(color);
|
280
|
+
}
|
281
|
+
if (_typeof(color) == "object") {
|
282
|
+
if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {
|
283
|
+
rgb = rgbToRgb(color.r, color.g, color.b);
|
284
|
+
ok = true;
|
285
|
+
format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb";
|
286
|
+
} else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {
|
287
|
+
s = convertToPercentage(color.s);
|
288
|
+
v = convertToPercentage(color.v);
|
289
|
+
rgb = hsvToRgb(color.h, s, v);
|
290
|
+
ok = true;
|
291
|
+
format = "hsv";
|
292
|
+
} else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {
|
293
|
+
s = convertToPercentage(color.s);
|
294
|
+
l = convertToPercentage(color.l);
|
295
|
+
rgb = hslToRgb(color.h, s, l);
|
296
|
+
ok = true;
|
297
|
+
format = "hsl";
|
298
|
+
}
|
299
|
+
if (color.hasOwnProperty("a")) {
|
300
|
+
a = color.a;
|
301
|
+
}
|
302
|
+
}
|
303
|
+
a = boundAlpha(a);
|
304
|
+
return {
|
305
|
+
ok,
|
306
|
+
format: color.format || format,
|
307
|
+
r: Math.min(255, Math.max(rgb.r, 0)),
|
308
|
+
g: Math.min(255, Math.max(rgb.g, 0)),
|
309
|
+
b: Math.min(255, Math.max(rgb.b, 0)),
|
310
|
+
a
|
311
|
+
};
|
312
|
+
}
|
313
|
+
function rgbToRgb(r, g, b) {
|
314
|
+
return {
|
315
|
+
r: bound01(r, 255) * 255,
|
316
|
+
g: bound01(g, 255) * 255,
|
317
|
+
b: bound01(b, 255) * 255
|
318
|
+
};
|
319
|
+
}
|
320
|
+
function rgbToHsl(r, g, b) {
|
321
|
+
r = bound01(r, 255);
|
322
|
+
g = bound01(g, 255);
|
323
|
+
b = bound01(b, 255);
|
324
|
+
var max = Math.max(r, g, b), min = Math.min(r, g, b);
|
325
|
+
var h, s, l = (max + min) / 2;
|
326
|
+
if (max == min) {
|
327
|
+
h = s = 0;
|
328
|
+
} else {
|
329
|
+
var d = max - min;
|
330
|
+
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
331
|
+
switch (max) {
|
332
|
+
case r:
|
333
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
334
|
+
break;
|
335
|
+
case g:
|
336
|
+
h = (b - r) / d + 2;
|
337
|
+
break;
|
338
|
+
case b:
|
339
|
+
h = (r - g) / d + 4;
|
340
|
+
break;
|
341
|
+
}
|
342
|
+
h /= 6;
|
343
|
+
}
|
344
|
+
return {
|
345
|
+
h,
|
346
|
+
s,
|
347
|
+
l
|
348
|
+
};
|
349
|
+
}
|
350
|
+
function hslToRgb(h, s, l) {
|
351
|
+
var r, g, b;
|
352
|
+
h = bound01(h, 360);
|
353
|
+
s = bound01(s, 100);
|
354
|
+
l = bound01(l, 100);
|
355
|
+
function hue2rgb(p2, q2, t) {
|
356
|
+
if (t < 0) t += 1;
|
357
|
+
if (t > 1) t -= 1;
|
358
|
+
if (t < 1 / 6) return p2 + (q2 - p2) * 6 * t;
|
359
|
+
if (t < 1 / 2) return q2;
|
360
|
+
if (t < 2 / 3) return p2 + (q2 - p2) * (2 / 3 - t) * 6;
|
361
|
+
return p2;
|
362
|
+
}
|
363
|
+
if (s === 0) {
|
364
|
+
r = g = b = l;
|
365
|
+
} else {
|
366
|
+
var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
|
367
|
+
var p = 2 * l - q;
|
368
|
+
r = hue2rgb(p, q, h + 1 / 3);
|
369
|
+
g = hue2rgb(p, q, h);
|
370
|
+
b = hue2rgb(p, q, h - 1 / 3);
|
371
|
+
}
|
372
|
+
return {
|
373
|
+
r: r * 255,
|
374
|
+
g: g * 255,
|
375
|
+
b: b * 255
|
376
|
+
};
|
377
|
+
}
|
378
|
+
function rgbToHsv(r, g, b) {
|
379
|
+
r = bound01(r, 255);
|
380
|
+
g = bound01(g, 255);
|
381
|
+
b = bound01(b, 255);
|
382
|
+
var max = Math.max(r, g, b), min = Math.min(r, g, b);
|
383
|
+
var h, s, v = max;
|
384
|
+
var d = max - min;
|
385
|
+
s = max === 0 ? 0 : d / max;
|
386
|
+
if (max == min) {
|
387
|
+
h = 0;
|
388
|
+
} else {
|
389
|
+
switch (max) {
|
390
|
+
case r:
|
391
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
392
|
+
break;
|
393
|
+
case g:
|
394
|
+
h = (b - r) / d + 2;
|
395
|
+
break;
|
396
|
+
case b:
|
397
|
+
h = (r - g) / d + 4;
|
398
|
+
break;
|
399
|
+
}
|
400
|
+
h /= 6;
|
401
|
+
}
|
402
|
+
return {
|
403
|
+
h,
|
404
|
+
s,
|
405
|
+
v
|
406
|
+
};
|
407
|
+
}
|
408
|
+
function hsvToRgb(h, s, v) {
|
409
|
+
h = bound01(h, 360) * 6;
|
410
|
+
s = bound01(s, 100);
|
411
|
+
v = bound01(v, 100);
|
412
|
+
var i = Math.floor(h), f = h - i, p = v * (1 - s), q = v * (1 - f * s), t = v * (1 - (1 - f) * s), mod = i % 6, r = [v, q, p, p, t, v][mod], g = [t, v, v, q, p, p][mod], b = [p, p, t, v, v, q][mod];
|
413
|
+
return {
|
414
|
+
r: r * 255,
|
415
|
+
g: g * 255,
|
416
|
+
b: b * 255
|
417
|
+
};
|
418
|
+
}
|
419
|
+
function rgbToHex(r, g, b, allow3Char) {
|
420
|
+
var hex = [pad2(Math.round(r).toString(16)), pad2(Math.round(g).toString(16)), pad2(Math.round(b).toString(16))];
|
421
|
+
if (allow3Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1)) {
|
422
|
+
return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
|
423
|
+
}
|
424
|
+
return hex.join("");
|
425
|
+
}
|
426
|
+
function rgbaToHex(r, g, b, a, allow4Char) {
|
427
|
+
var hex = [pad2(Math.round(r).toString(16)), pad2(Math.round(g).toString(16)), pad2(Math.round(b).toString(16)), pad2(convertDecimalToHex(a))];
|
428
|
+
if (allow4Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1) && hex[3].charAt(0) == hex[3].charAt(1)) {
|
429
|
+
return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0);
|
430
|
+
}
|
431
|
+
return hex.join("");
|
432
|
+
}
|
433
|
+
function rgbaToArgbHex(r, g, b, a) {
|
434
|
+
var hex = [pad2(convertDecimalToHex(a)), pad2(Math.round(r).toString(16)), pad2(Math.round(g).toString(16)), pad2(Math.round(b).toString(16))];
|
435
|
+
return hex.join("");
|
436
|
+
}
|
437
|
+
tinycolor.equals = function(color1, color2) {
|
438
|
+
if (!color1 || !color2) return false;
|
439
|
+
return tinycolor(color1).toRgbString() == tinycolor(color2).toRgbString();
|
440
|
+
};
|
441
|
+
tinycolor.random = function() {
|
442
|
+
return tinycolor.fromRatio({
|
443
|
+
r: Math.random(),
|
444
|
+
g: Math.random(),
|
445
|
+
b: Math.random()
|
446
|
+
});
|
447
|
+
};
|
448
|
+
function _desaturate(color, amount) {
|
449
|
+
amount = amount === 0 ? 0 : amount || 10;
|
450
|
+
var hsl = tinycolor(color).toHsl();
|
451
|
+
hsl.s -= amount / 100;
|
452
|
+
hsl.s = clamp01(hsl.s);
|
453
|
+
return tinycolor(hsl);
|
454
|
+
}
|
455
|
+
function _saturate(color, amount) {
|
456
|
+
amount = amount === 0 ? 0 : amount || 10;
|
457
|
+
var hsl = tinycolor(color).toHsl();
|
458
|
+
hsl.s += amount / 100;
|
459
|
+
hsl.s = clamp01(hsl.s);
|
460
|
+
return tinycolor(hsl);
|
461
|
+
}
|
462
|
+
function _greyscale(color) {
|
463
|
+
return tinycolor(color).desaturate(100);
|
464
|
+
}
|
465
|
+
function _lighten(color, amount) {
|
466
|
+
amount = amount === 0 ? 0 : amount || 10;
|
467
|
+
var hsl = tinycolor(color).toHsl();
|
468
|
+
hsl.l += amount / 100;
|
469
|
+
hsl.l = clamp01(hsl.l);
|
470
|
+
return tinycolor(hsl);
|
471
|
+
}
|
472
|
+
function _brighten(color, amount) {
|
473
|
+
amount = amount === 0 ? 0 : amount || 10;
|
474
|
+
var rgb = tinycolor(color).toRgb();
|
475
|
+
rgb.r = Math.max(0, Math.min(255, rgb.r - Math.round(255 * -(amount / 100))));
|
476
|
+
rgb.g = Math.max(0, Math.min(255, rgb.g - Math.round(255 * -(amount / 100))));
|
477
|
+
rgb.b = Math.max(0, Math.min(255, rgb.b - Math.round(255 * -(amount / 100))));
|
478
|
+
return tinycolor(rgb);
|
479
|
+
}
|
480
|
+
function _darken(color, amount) {
|
481
|
+
amount = amount === 0 ? 0 : amount || 10;
|
482
|
+
var hsl = tinycolor(color).toHsl();
|
483
|
+
hsl.l -= amount / 100;
|
484
|
+
hsl.l = clamp01(hsl.l);
|
485
|
+
return tinycolor(hsl);
|
486
|
+
}
|
487
|
+
function _spin(color, amount) {
|
488
|
+
var hsl = tinycolor(color).toHsl();
|
489
|
+
var hue = (hsl.h + amount) % 360;
|
490
|
+
hsl.h = hue < 0 ? 360 + hue : hue;
|
491
|
+
return tinycolor(hsl);
|
492
|
+
}
|
493
|
+
function _complement(color) {
|
494
|
+
var hsl = tinycolor(color).toHsl();
|
495
|
+
hsl.h = (hsl.h + 180) % 360;
|
496
|
+
return tinycolor(hsl);
|
497
|
+
}
|
498
|
+
function polyad(color, number) {
|
499
|
+
if (isNaN(number) || number <= 0) {
|
500
|
+
throw new Error("Argument to polyad must be a positive number");
|
501
|
+
}
|
502
|
+
var hsl = tinycolor(color).toHsl();
|
503
|
+
var result = [tinycolor(color)];
|
504
|
+
var step = 360 / number;
|
505
|
+
for (var i = 1; i < number; i++) {
|
506
|
+
result.push(tinycolor({
|
507
|
+
h: (hsl.h + i * step) % 360,
|
508
|
+
s: hsl.s,
|
509
|
+
l: hsl.l
|
510
|
+
}));
|
511
|
+
}
|
512
|
+
return result;
|
513
|
+
}
|
514
|
+
function _splitcomplement(color) {
|
515
|
+
var hsl = tinycolor(color).toHsl();
|
516
|
+
var h = hsl.h;
|
517
|
+
return [tinycolor(color), tinycolor({
|
518
|
+
h: (h + 72) % 360,
|
519
|
+
s: hsl.s,
|
520
|
+
l: hsl.l
|
521
|
+
}), tinycolor({
|
522
|
+
h: (h + 216) % 360,
|
523
|
+
s: hsl.s,
|
524
|
+
l: hsl.l
|
525
|
+
})];
|
526
|
+
}
|
527
|
+
function _analogous(color, results, slices) {
|
528
|
+
results = results || 6;
|
529
|
+
slices = slices || 30;
|
530
|
+
var hsl = tinycolor(color).toHsl();
|
531
|
+
var part = 360 / slices;
|
532
|
+
var ret = [tinycolor(color)];
|
533
|
+
for (hsl.h = (hsl.h - (part * results >> 1) + 720) % 360; --results; ) {
|
534
|
+
hsl.h = (hsl.h + part) % 360;
|
535
|
+
ret.push(tinycolor(hsl));
|
536
|
+
}
|
537
|
+
return ret;
|
538
|
+
}
|
539
|
+
function _monochromatic(color, results) {
|
540
|
+
results = results || 6;
|
541
|
+
var hsv = tinycolor(color).toHsv();
|
542
|
+
var h = hsv.h, s = hsv.s, v = hsv.v;
|
543
|
+
var ret = [];
|
544
|
+
var modification = 1 / results;
|
545
|
+
while (results--) {
|
546
|
+
ret.push(tinycolor({
|
547
|
+
h,
|
548
|
+
s,
|
549
|
+
v
|
550
|
+
}));
|
551
|
+
v = (v + modification) % 1;
|
552
|
+
}
|
553
|
+
return ret;
|
554
|
+
}
|
555
|
+
tinycolor.mix = function(color1, color2, amount) {
|
556
|
+
amount = amount === 0 ? 0 : amount || 50;
|
557
|
+
var rgb1 = tinycolor(color1).toRgb();
|
558
|
+
var rgb2 = tinycolor(color2).toRgb();
|
559
|
+
var p = amount / 100;
|
560
|
+
var rgba = {
|
561
|
+
r: (rgb2.r - rgb1.r) * p + rgb1.r,
|
562
|
+
g: (rgb2.g - rgb1.g) * p + rgb1.g,
|
563
|
+
b: (rgb2.b - rgb1.b) * p + rgb1.b,
|
564
|
+
a: (rgb2.a - rgb1.a) * p + rgb1.a
|
565
|
+
};
|
566
|
+
return tinycolor(rgba);
|
567
|
+
};
|
568
|
+
tinycolor.readability = function(color1, color2) {
|
569
|
+
var c1 = tinycolor(color1);
|
570
|
+
var c2 = tinycolor(color2);
|
571
|
+
return (Math.max(c1.getLuminance(), c2.getLuminance()) + 0.05) / (Math.min(c1.getLuminance(), c2.getLuminance()) + 0.05);
|
572
|
+
};
|
573
|
+
tinycolor.isReadable = function(color1, color2, wcag2) {
|
574
|
+
var readability = tinycolor.readability(color1, color2);
|
575
|
+
var wcag2Parms, out;
|
576
|
+
out = false;
|
577
|
+
wcag2Parms = validateWCAG2Parms(wcag2);
|
578
|
+
switch (wcag2Parms.level + wcag2Parms.size) {
|
579
|
+
case "AAsmall":
|
580
|
+
case "AAAlarge":
|
581
|
+
out = readability >= 4.5;
|
582
|
+
break;
|
583
|
+
case "AAlarge":
|
584
|
+
out = readability >= 3;
|
585
|
+
break;
|
586
|
+
case "AAAsmall":
|
587
|
+
out = readability >= 7;
|
588
|
+
break;
|
589
|
+
}
|
590
|
+
return out;
|
591
|
+
};
|
592
|
+
tinycolor.mostReadable = function(baseColor, colorList, args) {
|
593
|
+
var bestColor = null;
|
594
|
+
var bestScore = 0;
|
595
|
+
var readability;
|
596
|
+
var includeFallbackColors, level, size;
|
597
|
+
args = args || {};
|
598
|
+
includeFallbackColors = args.includeFallbackColors;
|
599
|
+
level = args.level;
|
600
|
+
size = args.size;
|
601
|
+
for (var i = 0; i < colorList.length; i++) {
|
602
|
+
readability = tinycolor.readability(baseColor, colorList[i]);
|
603
|
+
if (readability > bestScore) {
|
604
|
+
bestScore = readability;
|
605
|
+
bestColor = tinycolor(colorList[i]);
|
606
|
+
}
|
607
|
+
}
|
608
|
+
if (tinycolor.isReadable(baseColor, bestColor, {
|
609
|
+
level,
|
610
|
+
size
|
611
|
+
}) || !includeFallbackColors) {
|
612
|
+
return bestColor;
|
613
|
+
} else {
|
614
|
+
args.includeFallbackColors = false;
|
615
|
+
return tinycolor.mostReadable(baseColor, ["#fff", "#000"], args);
|
616
|
+
}
|
617
|
+
};
|
618
|
+
var names = tinycolor.names = {
|
619
|
+
aliceblue: "f0f8ff",
|
620
|
+
antiquewhite: "faebd7",
|
621
|
+
aqua: "0ff",
|
622
|
+
aquamarine: "7fffd4",
|
623
|
+
azure: "f0ffff",
|
624
|
+
beige: "f5f5dc",
|
625
|
+
bisque: "ffe4c4",
|
626
|
+
black: "000",
|
627
|
+
blanchedalmond: "ffebcd",
|
628
|
+
blue: "00f",
|
629
|
+
blueviolet: "8a2be2",
|
630
|
+
brown: "a52a2a",
|
631
|
+
burlywood: "deb887",
|
632
|
+
burntsienna: "ea7e5d",
|
633
|
+
cadetblue: "5f9ea0",
|
634
|
+
chartreuse: "7fff00",
|
635
|
+
chocolate: "d2691e",
|
636
|
+
coral: "ff7f50",
|
637
|
+
cornflowerblue: "6495ed",
|
638
|
+
cornsilk: "fff8dc",
|
639
|
+
crimson: "dc143c",
|
640
|
+
cyan: "0ff",
|
641
|
+
darkblue: "00008b",
|
642
|
+
darkcyan: "008b8b",
|
643
|
+
darkgoldenrod: "b8860b",
|
644
|
+
darkgray: "a9a9a9",
|
645
|
+
darkgreen: "006400",
|
646
|
+
darkgrey: "a9a9a9",
|
647
|
+
darkkhaki: "bdb76b",
|
648
|
+
darkmagenta: "8b008b",
|
649
|
+
darkolivegreen: "556b2f",
|
650
|
+
darkorange: "ff8c00",
|
651
|
+
darkorchid: "9932cc",
|
652
|
+
darkred: "8b0000",
|
653
|
+
darksalmon: "e9967a",
|
654
|
+
darkseagreen: "8fbc8f",
|
655
|
+
darkslateblue: "483d8b",
|
656
|
+
darkslategray: "2f4f4f",
|
657
|
+
darkslategrey: "2f4f4f",
|
658
|
+
darkturquoise: "00ced1",
|
659
|
+
darkviolet: "9400d3",
|
660
|
+
deeppink: "ff1493",
|
661
|
+
deepskyblue: "00bfff",
|
662
|
+
dimgray: "696969",
|
663
|
+
dimgrey: "696969",
|
664
|
+
dodgerblue: "1e90ff",
|
665
|
+
firebrick: "b22222",
|
666
|
+
floralwhite: "fffaf0",
|
667
|
+
forestgreen: "228b22",
|
668
|
+
fuchsia: "f0f",
|
669
|
+
gainsboro: "dcdcdc",
|
670
|
+
ghostwhite: "f8f8ff",
|
671
|
+
gold: "ffd700",
|
672
|
+
goldenrod: "daa520",
|
673
|
+
gray: "808080",
|
674
|
+
green: "008000",
|
675
|
+
greenyellow: "adff2f",
|
676
|
+
grey: "808080",
|
677
|
+
honeydew: "f0fff0",
|
678
|
+
hotpink: "ff69b4",
|
679
|
+
indianred: "cd5c5c",
|
680
|
+
indigo: "4b0082",
|
681
|
+
ivory: "fffff0",
|
682
|
+
khaki: "f0e68c",
|
683
|
+
lavender: "e6e6fa",
|
684
|
+
lavenderblush: "fff0f5",
|
685
|
+
lawngreen: "7cfc00",
|
686
|
+
lemonchiffon: "fffacd",
|
687
|
+
lightblue: "add8e6",
|
688
|
+
lightcoral: "f08080",
|
689
|
+
lightcyan: "e0ffff",
|
690
|
+
lightgoldenrodyellow: "fafad2",
|
691
|
+
lightgray: "d3d3d3",
|
692
|
+
lightgreen: "90ee90",
|
693
|
+
lightgrey: "d3d3d3",
|
694
|
+
lightpink: "ffb6c1",
|
695
|
+
lightsalmon: "ffa07a",
|
696
|
+
lightseagreen: "20b2aa",
|
697
|
+
lightskyblue: "87cefa",
|
698
|
+
lightslategray: "789",
|
699
|
+
lightslategrey: "789",
|
700
|
+
lightsteelblue: "b0c4de",
|
701
|
+
lightyellow: "ffffe0",
|
702
|
+
lime: "0f0",
|
703
|
+
limegreen: "32cd32",
|
704
|
+
linen: "faf0e6",
|
705
|
+
magenta: "f0f",
|
706
|
+
maroon: "800000",
|
707
|
+
mediumaquamarine: "66cdaa",
|
708
|
+
mediumblue: "0000cd",
|
709
|
+
mediumorchid: "ba55d3",
|
710
|
+
mediumpurple: "9370db",
|
711
|
+
mediumseagreen: "3cb371",
|
712
|
+
mediumslateblue: "7b68ee",
|
713
|
+
mediumspringgreen: "00fa9a",
|
714
|
+
mediumturquoise: "48d1cc",
|
715
|
+
mediumvioletred: "c71585",
|
716
|
+
midnightblue: "191970",
|
717
|
+
mintcream: "f5fffa",
|
718
|
+
mistyrose: "ffe4e1",
|
719
|
+
moccasin: "ffe4b5",
|
720
|
+
navajowhite: "ffdead",
|
721
|
+
navy: "000080",
|
722
|
+
oldlace: "fdf5e6",
|
723
|
+
olive: "808000",
|
724
|
+
olivedrab: "6b8e23",
|
725
|
+
orange: "ffa500",
|
726
|
+
orangered: "ff4500",
|
727
|
+
orchid: "da70d6",
|
728
|
+
palegoldenrod: "eee8aa",
|
729
|
+
palegreen: "98fb98",
|
730
|
+
paleturquoise: "afeeee",
|
731
|
+
palevioletred: "db7093",
|
732
|
+
papayawhip: "ffefd5",
|
733
|
+
peachpuff: "ffdab9",
|
734
|
+
peru: "cd853f",
|
735
|
+
pink: "ffc0cb",
|
736
|
+
plum: "dda0dd",
|
737
|
+
powderblue: "b0e0e6",
|
738
|
+
purple: "800080",
|
739
|
+
rebeccapurple: "663399",
|
740
|
+
red: "f00",
|
741
|
+
rosybrown: "bc8f8f",
|
742
|
+
royalblue: "4169e1",
|
743
|
+
saddlebrown: "8b4513",
|
744
|
+
salmon: "fa8072",
|
745
|
+
sandybrown: "f4a460",
|
746
|
+
seagreen: "2e8b57",
|
747
|
+
seashell: "fff5ee",
|
748
|
+
sienna: "a0522d",
|
749
|
+
silver: "c0c0c0",
|
750
|
+
skyblue: "87ceeb",
|
751
|
+
slateblue: "6a5acd",
|
752
|
+
slategray: "708090",
|
753
|
+
slategrey: "708090",
|
754
|
+
snow: "fffafa",
|
755
|
+
springgreen: "00ff7f",
|
756
|
+
steelblue: "4682b4",
|
757
|
+
tan: "d2b48c",
|
758
|
+
teal: "008080",
|
759
|
+
thistle: "d8bfd8",
|
760
|
+
tomato: "ff6347",
|
761
|
+
turquoise: "40e0d0",
|
762
|
+
violet: "ee82ee",
|
763
|
+
wheat: "f5deb3",
|
764
|
+
white: "fff",
|
765
|
+
whitesmoke: "f5f5f5",
|
766
|
+
yellow: "ff0",
|
767
|
+
yellowgreen: "9acd32"
|
768
|
+
};
|
769
|
+
var hexNames = tinycolor.hexNames = flip(names);
|
770
|
+
function flip(o) {
|
771
|
+
var flipped = {};
|
772
|
+
for (var i in o) {
|
773
|
+
if (o.hasOwnProperty(i)) {
|
774
|
+
flipped[o[i]] = i;
|
775
|
+
}
|
776
|
+
}
|
777
|
+
return flipped;
|
778
|
+
}
|
779
|
+
function boundAlpha(a) {
|
780
|
+
a = parseFloat(a);
|
781
|
+
if (isNaN(a) || a < 0 || a > 1) {
|
782
|
+
a = 1;
|
783
|
+
}
|
784
|
+
return a;
|
785
|
+
}
|
786
|
+
function bound01(n, max) {
|
787
|
+
if (isOnePointZero(n)) n = "100%";
|
788
|
+
var processPercent = isPercentage(n);
|
789
|
+
n = Math.min(max, Math.max(0, parseFloat(n)));
|
790
|
+
if (processPercent) {
|
791
|
+
n = parseInt(n * max, 10) / 100;
|
792
|
+
}
|
793
|
+
if (Math.abs(n - max) < 1e-6) {
|
794
|
+
return 1;
|
795
|
+
}
|
796
|
+
return n % max / parseFloat(max);
|
797
|
+
}
|
798
|
+
function clamp01(val) {
|
799
|
+
return Math.min(1, Math.max(0, val));
|
800
|
+
}
|
801
|
+
function parseIntFromHex(val) {
|
802
|
+
return parseInt(val, 16);
|
803
|
+
}
|
804
|
+
function isOnePointZero(n) {
|
805
|
+
return typeof n == "string" && n.indexOf(".") != -1 && parseFloat(n) === 1;
|
806
|
+
}
|
807
|
+
function isPercentage(n) {
|
808
|
+
return typeof n === "string" && n.indexOf("%") != -1;
|
809
|
+
}
|
810
|
+
function pad2(c) {
|
811
|
+
return c.length == 1 ? "0" + c : "" + c;
|
812
|
+
}
|
813
|
+
function convertToPercentage(n) {
|
814
|
+
if (n <= 1) {
|
815
|
+
n = n * 100 + "%";
|
816
|
+
}
|
817
|
+
return n;
|
818
|
+
}
|
819
|
+
function convertDecimalToHex(d) {
|
820
|
+
return Math.round(parseFloat(d) * 255).toString(16);
|
821
|
+
}
|
822
|
+
function convertHexToDecimal(h) {
|
823
|
+
return parseIntFromHex(h) / 255;
|
824
|
+
}
|
825
|
+
var matchers = function() {
|
826
|
+
var CSS_INTEGER = "[-\\+]?\\d+%?";
|
827
|
+
var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
|
828
|
+
var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
|
829
|
+
var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
|
830
|
+
var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
|
831
|
+
return {
|
832
|
+
CSS_UNIT: new RegExp(CSS_UNIT),
|
833
|
+
rgb: new RegExp("rgb" + PERMISSIVE_MATCH3),
|
834
|
+
rgba: new RegExp("rgba" + PERMISSIVE_MATCH4),
|
835
|
+
hsl: new RegExp("hsl" + PERMISSIVE_MATCH3),
|
836
|
+
hsla: new RegExp("hsla" + PERMISSIVE_MATCH4),
|
837
|
+
hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
|
838
|
+
hsva: new RegExp("hsva" + PERMISSIVE_MATCH4),
|
839
|
+
hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
840
|
+
hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
841
|
+
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
842
|
+
hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
|
843
|
+
};
|
844
|
+
}();
|
845
|
+
function isValidCSSUnit(color) {
|
846
|
+
return !!matchers.CSS_UNIT.exec(color);
|
847
|
+
}
|
848
|
+
function stringInputToObject(color) {
|
849
|
+
color = color.replace(trimLeft, "").replace(trimRight, "").toLowerCase();
|
850
|
+
var named = false;
|
851
|
+
if (names[color]) {
|
852
|
+
color = names[color];
|
853
|
+
named = true;
|
854
|
+
} else if (color == "transparent") {
|
855
|
+
return {
|
856
|
+
r: 0,
|
857
|
+
g: 0,
|
858
|
+
b: 0,
|
859
|
+
a: 0,
|
860
|
+
format: "name"
|
861
|
+
};
|
862
|
+
}
|
863
|
+
var match;
|
864
|
+
if (match = matchers.rgb.exec(color)) {
|
865
|
+
return {
|
866
|
+
r: match[1],
|
867
|
+
g: match[2],
|
868
|
+
b: match[3]
|
869
|
+
};
|
870
|
+
}
|
871
|
+
if (match = matchers.rgba.exec(color)) {
|
872
|
+
return {
|
873
|
+
r: match[1],
|
874
|
+
g: match[2],
|
875
|
+
b: match[3],
|
876
|
+
a: match[4]
|
877
|
+
};
|
878
|
+
}
|
879
|
+
if (match = matchers.hsl.exec(color)) {
|
880
|
+
return {
|
881
|
+
h: match[1],
|
882
|
+
s: match[2],
|
883
|
+
l: match[3]
|
884
|
+
};
|
885
|
+
}
|
886
|
+
if (match = matchers.hsla.exec(color)) {
|
887
|
+
return {
|
888
|
+
h: match[1],
|
889
|
+
s: match[2],
|
890
|
+
l: match[3],
|
891
|
+
a: match[4]
|
892
|
+
};
|
893
|
+
}
|
894
|
+
if (match = matchers.hsv.exec(color)) {
|
895
|
+
return {
|
896
|
+
h: match[1],
|
897
|
+
s: match[2],
|
898
|
+
v: match[3]
|
899
|
+
};
|
900
|
+
}
|
901
|
+
if (match = matchers.hsva.exec(color)) {
|
902
|
+
return {
|
903
|
+
h: match[1],
|
904
|
+
s: match[2],
|
905
|
+
v: match[3],
|
906
|
+
a: match[4]
|
907
|
+
};
|
908
|
+
}
|
909
|
+
if (match = matchers.hex8.exec(color)) {
|
910
|
+
return {
|
911
|
+
r: parseIntFromHex(match[1]),
|
912
|
+
g: parseIntFromHex(match[2]),
|
913
|
+
b: parseIntFromHex(match[3]),
|
914
|
+
a: convertHexToDecimal(match[4]),
|
915
|
+
format: named ? "name" : "hex8"
|
916
|
+
};
|
917
|
+
}
|
918
|
+
if (match = matchers.hex6.exec(color)) {
|
919
|
+
return {
|
920
|
+
r: parseIntFromHex(match[1]),
|
921
|
+
g: parseIntFromHex(match[2]),
|
922
|
+
b: parseIntFromHex(match[3]),
|
923
|
+
format: named ? "name" : "hex"
|
924
|
+
};
|
925
|
+
}
|
926
|
+
if (match = matchers.hex4.exec(color)) {
|
927
|
+
return {
|
928
|
+
r: parseIntFromHex(match[1] + "" + match[1]),
|
929
|
+
g: parseIntFromHex(match[2] + "" + match[2]),
|
930
|
+
b: parseIntFromHex(match[3] + "" + match[3]),
|
931
|
+
a: convertHexToDecimal(match[4] + "" + match[4]),
|
932
|
+
format: named ? "name" : "hex8"
|
933
|
+
};
|
934
|
+
}
|
935
|
+
if (match = matchers.hex3.exec(color)) {
|
936
|
+
return {
|
937
|
+
r: parseIntFromHex(match[1] + "" + match[1]),
|
938
|
+
g: parseIntFromHex(match[2] + "" + match[2]),
|
939
|
+
b: parseIntFromHex(match[3] + "" + match[3]),
|
940
|
+
format: named ? "name" : "hex"
|
941
|
+
};
|
942
|
+
}
|
943
|
+
return false;
|
944
|
+
}
|
945
|
+
function validateWCAG2Parms(parms) {
|
946
|
+
var level, size;
|
947
|
+
parms = parms || {
|
948
|
+
level: "AA",
|
949
|
+
size: "small"
|
950
|
+
};
|
951
|
+
level = (parms.level || "AA").toUpperCase();
|
952
|
+
size = (parms.size || "small").toLowerCase();
|
953
|
+
if (level !== "AA" && level !== "AAA") {
|
954
|
+
level = "AA";
|
955
|
+
}
|
956
|
+
if (size !== "small" && size !== "large") {
|
957
|
+
size = "small";
|
958
|
+
}
|
959
|
+
return {
|
960
|
+
level,
|
961
|
+
size
|
962
|
+
};
|
963
|
+
}
|
964
|
+
export {
|
965
|
+
tinycolor as default
|
966
|
+
};
|