vue-amazing-ui 2.4.21 → 2.4.22
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/README.md +292 -292
- package/README.zh-CN.md +292 -292
- package/dist/index.iife.js +141 -141
- package/dist/index.js +6726 -6711
- package/dist/index.umd.cjs +151 -151
- package/dist/style.css +1 -1
- package/es/alert/Alert.css +1 -1
- package/es/alert/Alert.vue.js +2 -2
- package/es/alert/Alert.vue2.js +56 -56
- package/es/avatar/Avatar.css +1 -1
- package/es/avatar/Avatar.vue.js +1 -1
- package/es/avatar/Avatar.vue2.js +29 -29
- package/es/backtop/BackTop.css +1 -1
- package/es/backtop/BackTop.vue.js +2 -2
- package/es/backtop/BackTop.vue2.js +77 -77
- package/es/badge/Badge.css +1 -1
- package/es/badge/Badge.vue.js +2 -2
- package/es/badge/Badge.vue2.js +39 -39
- package/es/breadcrumb/Breadcrumb.css +1 -1
- package/es/breadcrumb/Breadcrumb.vue.js +2 -2
- package/es/breadcrumb/Breadcrumb.vue2.js +35 -35
- package/es/button/Button.css +1 -1
- package/es/button/Button.vue.js +2 -2
- package/es/button/Button.vue2.js +43 -43
- package/es/calendar/Calendar.css +1 -1
- package/es/calendar/Calendar.vue.js +2 -2
- package/es/calendar/Calendar.vue2.js +111 -111
- package/es/card/Card.css +1 -1
- package/es/card/Card.vue.js +2 -2
- package/es/card/Card.vue2.js +21 -21
- package/es/carousel/Carousel.css +1 -1
- package/es/carousel/Carousel.vue.js +2 -2
- package/es/carousel/Carousel.vue2.js +131 -131
- package/es/cascader/Cascader.css +1 -1
- package/es/cascader/Cascader.d.ts +8 -0
- package/es/cascader/Cascader.vue.js +2 -2
- package/es/cascader/Cascader.vue2.js +71 -55
- package/es/cascader/index.d.ts +12 -0
- package/es/checkbox/Checkbox.css +1 -1
- package/es/checkbox/Checkbox.vue.js +2 -2
- package/es/checkbox/Checkbox.vue2.js +52 -52
- package/es/collapse/Collapse.css +1 -1
- package/es/collapse/Collapse.vue.js +2 -2
- package/es/collapse/Collapse.vue2.js +86 -86
- package/es/colorpicker/ColorPicker.css +1 -1
- package/es/colorpicker/ColorPicker.vue.js +2 -2
- package/es/colorpicker/ColorPicker.vue2.js +232 -232
- package/es/configprovider/ConfigProvider.vue.js +29 -29
- package/es/countdown/Countdown.css +1 -1
- package/es/countdown/Countdown.vue.js +2 -2
- package/es/countdown/Countdown.vue2.js +67 -67
- package/es/datepicker/DatePicker.css +1 -1
- package/es/datepicker/DatePicker.vue.js +4 -4
- package/es/datepicker/DatePicker.vue2.js +21 -21
- package/es/descriptions/descriptions/Descriptions.css +1 -1
- package/es/descriptions/descriptions/Descriptions.vue.js +2 -2
- package/es/descriptions/descriptions/Descriptions.vue2.js +61 -61
- package/es/descriptions/descriptionsitem/DescriptionsItem.css +1 -1
- package/es/descriptions/descriptionsitem/DescriptionsItem.vue.js +2 -2
- package/es/descriptions/descriptionsitem/DescriptionsItem.vue2.js +17 -17
- package/es/dialog/Dialog.css +1 -1
- package/es/dialog/Dialog.vue.js +1 -1
- package/es/dialog/Dialog.vue2.js +112 -112
- package/es/divider/Divider.css +1 -1
- package/es/divider/Divider.vue.js +1 -1
- package/es/divider/Divider.vue2.js +11 -11
- package/es/drawer/Drawer.css +1 -1
- package/es/drawer/Drawer.vue.js +2 -2
- package/es/drawer/Drawer.vue2.js +84 -84
- package/es/ellipsis/Ellipsis.css +1 -1
- package/es/ellipsis/Ellipsis.vue.js +2 -2
- package/es/ellipsis/Ellipsis.vue2.js +32 -32
- package/es/empty/Empty.css +1 -1
- package/es/empty/Empty.vue.js +2 -2
- package/es/empty/Empty.vue2.js +22 -22
- package/es/flex/Flex.css +1 -1
- package/es/flex/Flex.vue.js +2 -2
- package/es/flex/Flex.vue2.js +10 -10
- package/es/floatbutton/FloatButton.css +1 -1
- package/es/floatbutton/FloatButton.vue.js +1 -1
- package/es/floatbutton/FloatButton.vue2.js +57 -57
- package/es/gradienttext/GradientText.css +1 -1
- package/es/gradienttext/GradientText.vue.js +1 -1
- package/es/gradienttext/GradientText.vue2.js +7 -7
- package/es/grid/col/Col.css +1 -1
- package/es/grid/col/Col.vue.js +2 -2
- package/es/grid/col/Col.vue2.js +7 -7
- package/es/grid/row/Row.css +1 -1
- package/es/grid/row/Row.vue.js +1 -1
- package/es/grid/row/Row.vue2.js +14 -14
- package/es/image/Image.css +1 -1
- package/es/image/Image.vue.js +2 -2
- package/es/image/Image.vue2.js +177 -177
- package/es/input/Input.css +1 -1
- package/es/input/Input.vue.js +2 -2
- package/es/input/Input.vue2.js +72 -72
- package/es/inputnumber/InputNumber.css +1 -1
- package/es/inputnumber/InputNumber.vue.js +1 -1
- package/es/inputnumber/InputNumber.vue2.js +76 -76
- package/es/inputsearch/InputSearch.css +1 -1
- package/es/inputsearch/InputSearch.vue.js +2 -2
- package/es/inputsearch/InputSearch.vue2.js +61 -61
- package/es/list/list/List.css +1 -1
- package/es/list/list/List.vue.js +2 -2
- package/es/list/list/List.vue2.js +14 -14
- package/es/list/listitem/ListItem.css +1 -1
- package/es/list/listitem/ListItem.vue.js +2 -2
- package/es/list/listitem/ListItem.vue2.js +41 -41
- package/es/loadingbar/LoadingBar.css +1 -1
- package/es/loadingbar/LoadingBar.vue.js +2 -2
- package/es/loadingbar/LoadingBar.vue2.js +25 -25
- package/es/message/Message.css +1 -1
- package/es/message/Message.vue.js +2 -2
- package/es/message/Message.vue2.js +37 -37
- package/es/modal/Modal.css +1 -1
- package/es/modal/Modal.vue.js +1 -1
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-cards.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-creative.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-cube.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-flip.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/navigation.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/pagination.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/swiper.css +1 -0
- package/es/notification/Notification.css +1 -1
- package/es/notification/Notification.vue.js +2 -2
- package/es/notification/Notification.vue2.js +45 -45
- package/es/numberanimation/NumberAnimation.vue.js +17 -17
- package/es/pagination/Pagination.css +1 -1
- package/es/pagination/Pagination.vue.js +1 -1
- package/es/pagination/Pagination.vue2.js +124 -124
- package/es/popconfirm/Popconfirm.css +1 -1
- package/es/popconfirm/Popconfirm.vue.js +1 -1
- package/es/popconfirm/Popconfirm.vue2.js +58 -58
- package/es/popover/Popover.css +1 -1
- package/es/popover/Popover.vue.js +2 -2
- package/es/popover/Popover.vue2.js +20 -20
- package/es/progress/Progress.css +1 -1
- package/es/progress/Progress.vue.js +2 -2
- package/es/progress/Progress.vue2.js +81 -81
- package/es/qrcode/QRCode.css +1 -1
- package/es/qrcode/QRCode.vue.js +3 -3
- package/es/qrcode/QRCode.vue2.js +18 -18
- package/es/radio/Radio.css +1 -1
- package/es/radio/Radio.vue.js +2 -2
- package/es/radio/Radio.vue2.js +88 -88
- package/es/rate/Rate.css +1 -1
- package/es/rate/Rate.vue.js +1 -1
- package/es/rate/Rate.vue2.js +90 -90
- package/es/result/Result.css +1 -1
- package/es/result/Result.vue.js +2 -2
- package/es/result/Result.vue2.js +51 -51
- package/es/scrollbar/Scrollbar.css +1 -1
- package/es/scrollbar/Scrollbar.vue.js +1 -1
- package/es/scrollbar/Scrollbar.vue2.js +106 -106
- package/es/segmented/Segmented.css +1 -1
- package/es/segmented/Segmented.vue.js +2 -2
- package/es/segmented/Segmented.vue2.js +51 -51
- package/es/select/Select.css +1 -1
- package/es/select/Select.vue.js +2 -2
- package/es/select/Select.vue2.js +157 -157
- package/es/skeleton/Skeleton.css +1 -1
- package/es/skeleton/Skeleton.vue.js +2 -2
- package/es/skeleton/Skeleton.vue2.js +61 -61
- package/es/slider/Slider.css +1 -1
- package/es/slider/Slider.vue.js +2 -2
- package/es/slider/Slider.vue2.js +195 -195
- package/es/space/Space.css +1 -1
- package/es/space/Space.vue.js +2 -2
- package/es/space/Space.vue2.js +7 -7
- package/es/spin/Spin.css +1 -1
- package/es/spin/Spin.vue.js +2 -2
- package/es/spin/Spin.vue2.js +67 -67
- package/es/statistic/Statistic.css +1 -1
- package/es/statistic/Statistic.vue.js +2 -2
- package/es/statistic/Statistic.vue2.js +21 -21
- package/es/steps/Steps.css +1 -1
- package/es/steps/Steps.vue.js +2 -2
- package/es/steps/Steps.vue2.js +35 -35
- package/es/swiper/Swiper.css +1 -1
- package/es/swiper/Swiper.vue.js +1 -1
- package/es/swiper/Swiper.vue2.js +89 -89
- package/es/switch/Switch.css +1 -1
- package/es/switch/Switch.vue.js +1 -1
- package/es/switch/Switch.vue2.js +32 -32
- package/es/table/Table.css +1 -1
- package/es/table/Table.vue.js +2 -2
- package/es/table/Table.vue2.js +686 -687
- package/es/tabs/Tabs.css +1 -1
- package/es/tabs/Tabs.vue.js +2 -2
- package/es/tabs/Tabs.vue2.js +91 -91
- package/es/tag/Tag.css +1 -1
- package/es/tag/Tag.vue.js +1 -1
- package/es/tag/Tag.vue2.js +91 -91
- package/es/textarea/Textarea.css +1 -1
- package/es/textarea/Textarea.vue.js +1 -1
- package/es/textarea/Textarea.vue2.js +37 -37
- package/es/textscroll/TextScroll.css +1 -1
- package/es/textscroll/TextScroll.vue.js +2 -2
- package/es/textscroll/TextScroll.vue2.js +100 -100
- package/es/timeline/Timeline.css +1 -1
- package/es/timeline/Timeline.vue.js +2 -2
- package/es/timeline/Timeline.vue2.js +24 -24
- package/es/tooltip/Tooltip.css +1 -1
- package/es/tooltip/Tooltip.vue.js +2 -2
- package/es/tooltip/Tooltip.vue2.js +129 -129
- package/es/upload/Upload.css +1 -1
- package/es/upload/Upload.vue.js +2 -2
- package/es/upload/Upload.vue2.js +137 -137
- package/es/utils/resolver.js +3 -3
- package/es/video/Video.css +1 -1
- package/es/video/Video.vue.js +2 -2
- package/es/video/Video.vue2.js +44 -44
- package/es/waterfall/Waterfall.css +1 -1
- package/es/waterfall/Waterfall.vue.js +2 -2
- package/es/waterfall/Waterfall.vue2.js +54 -54
- package/lib/alert/Alert.css +1 -1
- package/lib/alert/Alert.vue.cjs +1 -1
- package/lib/alert/Alert.vue2.cjs +2 -2
- package/lib/avatar/Avatar.css +1 -1
- package/lib/avatar/Avatar.vue.cjs +1 -1
- package/lib/avatar/Avatar.vue2.cjs +1 -1
- package/lib/backtop/BackTop.css +1 -1
- package/lib/backtop/BackTop.vue.cjs +1 -1
- package/lib/backtop/BackTop.vue2.cjs +6 -6
- package/lib/badge/Badge.css +1 -1
- package/lib/badge/Badge.vue.cjs +1 -1
- package/lib/badge/Badge.vue2.cjs +1 -1
- package/lib/breadcrumb/Breadcrumb.css +1 -1
- package/lib/breadcrumb/Breadcrumb.vue.cjs +1 -1
- package/lib/breadcrumb/Breadcrumb.vue2.cjs +2 -2
- package/lib/button/Button.css +1 -1
- package/lib/button/Button.vue.cjs +1 -1
- package/lib/button/Button.vue2.cjs +3 -3
- package/lib/calendar/Calendar.css +1 -1
- package/lib/calendar/Calendar.vue.cjs +1 -1
- package/lib/calendar/Calendar.vue2.cjs +5 -5
- package/lib/card/Card.css +1 -1
- package/lib/card/Card.vue.cjs +1 -1
- package/lib/card/Card.vue2.cjs +1 -1
- package/lib/carousel/Carousel.css +1 -1
- package/lib/carousel/Carousel.vue.cjs +1 -1
- package/lib/carousel/Carousel.vue2.cjs +7 -7
- package/lib/cascader/Cascader.css +1 -1
- package/lib/cascader/Cascader.d.ts +8 -0
- package/lib/cascader/Cascader.vue.cjs +1 -1
- package/lib/cascader/Cascader.vue2.cjs +1 -1
- package/lib/cascader/index.d.ts +12 -0
- package/lib/checkbox/Checkbox.css +1 -1
- package/lib/checkbox/Checkbox.vue.cjs +1 -1
- package/lib/checkbox/Checkbox.vue2.cjs +1 -1
- package/lib/collapse/Collapse.css +1 -1
- package/lib/collapse/Collapse.vue.cjs +1 -1
- package/lib/collapse/Collapse.vue2.cjs +1 -1
- package/lib/colorpicker/ColorPicker.css +1 -1
- package/lib/colorpicker/ColorPicker.vue.cjs +1 -1
- package/lib/colorpicker/ColorPicker.vue2.cjs +8 -8
- package/lib/configprovider/ConfigProvider.vue.cjs +1 -1
- package/lib/countdown/Countdown.css +1 -1
- package/lib/countdown/Countdown.vue.cjs +1 -1
- package/lib/countdown/Countdown.vue2.cjs +1 -1
- package/lib/datepicker/DatePicker.css +1 -1
- package/lib/datepicker/DatePicker.vue.cjs +1 -1
- package/lib/datepicker/DatePicker.vue2.cjs +5 -5
- package/lib/descriptions/descriptions/Descriptions.css +1 -1
- package/lib/descriptions/descriptions/Descriptions.vue.cjs +1 -1
- package/lib/descriptions/descriptions/Descriptions.vue2.cjs +1 -1
- package/lib/descriptions/descriptionsitem/DescriptionsItem.css +1 -1
- package/lib/descriptions/descriptionsitem/DescriptionsItem.vue.cjs +1 -1
- package/lib/descriptions/descriptionsitem/DescriptionsItem.vue2.cjs +1 -1
- package/lib/dialog/Dialog.css +1 -1
- package/lib/dialog/Dialog.vue.cjs +1 -1
- package/lib/dialog/Dialog.vue2.cjs +1 -1
- package/lib/divider/Divider.css +1 -1
- package/lib/divider/Divider.vue.cjs +1 -1
- package/lib/divider/Divider.vue2.cjs +1 -1
- package/lib/drawer/Drawer.css +1 -1
- package/lib/drawer/Drawer.vue.cjs +1 -1
- package/lib/drawer/Drawer.vue2.cjs +1 -1
- package/lib/ellipsis/Ellipsis.css +1 -1
- package/lib/ellipsis/Ellipsis.vue.cjs +1 -1
- package/lib/ellipsis/Ellipsis.vue2.cjs +1 -1
- package/lib/empty/Empty.css +1 -1
- package/lib/empty/Empty.vue.cjs +1 -1
- package/lib/empty/Empty.vue2.cjs +1 -1
- package/lib/flex/Flex.css +1 -1
- package/lib/flex/Flex.vue.cjs +1 -1
- package/lib/flex/Flex.vue2.cjs +8 -8
- package/lib/floatbutton/FloatButton.css +1 -1
- package/lib/floatbutton/FloatButton.vue.cjs +1 -1
- package/lib/floatbutton/FloatButton.vue2.cjs +5 -5
- package/lib/gradienttext/GradientText.css +1 -1
- package/lib/gradienttext/GradientText.vue.cjs +1 -1
- package/lib/gradienttext/GradientText.vue2.cjs +1 -1
- package/lib/grid/col/Col.css +1 -1
- package/lib/grid/col/Col.vue.cjs +1 -1
- package/lib/grid/col/Col.vue2.cjs +1 -1
- package/lib/grid/row/Row.css +1 -1
- package/lib/grid/row/Row.vue.cjs +1 -1
- package/lib/grid/row/Row.vue2.cjs +1 -1
- package/lib/image/Image.css +1 -1
- package/lib/image/Image.vue.cjs +1 -1
- package/lib/image/Image.vue2.cjs +1 -1
- package/lib/input/Input.css +1 -1
- package/lib/input/Input.vue.cjs +1 -1
- package/lib/input/Input.vue2.cjs +5 -5
- package/lib/inputnumber/InputNumber.css +1 -1
- package/lib/inputnumber/InputNumber.vue.cjs +1 -1
- package/lib/inputnumber/InputNumber.vue2.cjs +6 -6
- package/lib/inputsearch/InputSearch.css +1 -1
- package/lib/inputsearch/InputSearch.vue.cjs +1 -1
- package/lib/inputsearch/InputSearch.vue2.cjs +2 -2
- package/lib/list/list/List.css +1 -1
- package/lib/list/list/List.vue.cjs +1 -1
- package/lib/list/list/List.vue2.cjs +1 -1
- package/lib/list/listitem/ListItem.css +1 -1
- package/lib/list/listitem/ListItem.vue.cjs +1 -1
- package/lib/list/listitem/ListItem.vue2.cjs +1 -1
- package/lib/loadingbar/LoadingBar.css +1 -1
- package/lib/loadingbar/LoadingBar.vue.cjs +1 -1
- package/lib/loadingbar/LoadingBar.vue2.cjs +3 -3
- package/lib/message/Message.css +1 -1
- package/lib/message/Message.vue.cjs +1 -1
- package/lib/message/Message.vue2.cjs +2 -2
- package/lib/modal/Modal.css +1 -1
- package/lib/modal/Modal.vue.cjs +1 -1
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-cards.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-creative.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-cube.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-flip.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/navigation.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/pagination.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/swiper.css +1 -0
- package/lib/notification/Notification.css +1 -1
- package/lib/notification/Notification.vue.cjs +1 -1
- package/lib/notification/Notification.vue2.cjs +2 -2
- package/lib/numberanimation/NumberAnimation.vue.cjs +1 -1
- package/lib/pagination/Pagination.css +1 -1
- package/lib/pagination/Pagination.vue.cjs +1 -1
- package/lib/pagination/Pagination.vue2.cjs +1 -1
- package/lib/popconfirm/Popconfirm.css +1 -1
- package/lib/popconfirm/Popconfirm.vue.cjs +1 -1
- package/lib/popconfirm/Popconfirm.vue2.cjs +2 -2
- package/lib/popover/Popover.css +1 -1
- package/lib/popover/Popover.vue.cjs +1 -1
- package/lib/popover/Popover.vue2.cjs +1 -1
- package/lib/progress/Progress.css +1 -1
- package/lib/progress/Progress.vue.cjs +1 -1
- package/lib/progress/Progress.vue2.cjs +9 -9
- package/lib/qrcode/QRCode.css +1 -1
- package/lib/qrcode/QRCode.vue.cjs +1 -1
- package/lib/qrcode/QRCode.vue2.cjs +1 -1
- package/lib/radio/Radio.css +1 -1
- package/lib/radio/Radio.vue.cjs +1 -1
- package/lib/radio/Radio.vue2.cjs +4 -4
- package/lib/rate/Rate.css +1 -1
- package/lib/rate/Rate.vue.cjs +1 -1
- package/lib/rate/Rate.vue2.cjs +1 -1
- package/lib/result/Result.css +1 -1
- package/lib/result/Result.vue.cjs +1 -1
- package/lib/result/Result.vue2.cjs +1 -1
- package/lib/scrollbar/Scrollbar.css +1 -1
- package/lib/scrollbar/Scrollbar.vue.cjs +1 -1
- package/lib/scrollbar/Scrollbar.vue2.cjs +5 -5
- package/lib/segmented/Segmented.css +1 -1
- package/lib/segmented/Segmented.vue.cjs +1 -1
- package/lib/segmented/Segmented.vue2.cjs +1 -1
- package/lib/select/Select.css +1 -1
- package/lib/select/Select.vue.cjs +1 -1
- package/lib/select/Select.vue2.cjs +4 -4
- package/lib/skeleton/Skeleton.css +1 -1
- package/lib/skeleton/Skeleton.vue.cjs +1 -1
- package/lib/skeleton/Skeleton.vue2.cjs +1 -1
- package/lib/slider/Slider.css +1 -1
- package/lib/slider/Slider.vue.cjs +1 -1
- package/lib/slider/Slider.vue2.cjs +7 -7
- package/lib/space/Space.css +1 -1
- package/lib/space/Space.vue.cjs +1 -1
- package/lib/space/Space.vue2.cjs +1 -1
- package/lib/spin/Spin.css +1 -1
- package/lib/spin/Spin.vue.cjs +1 -1
- package/lib/spin/Spin.vue2.cjs +5 -5
- package/lib/statistic/Statistic.css +1 -1
- package/lib/statistic/Statistic.vue.cjs +1 -1
- package/lib/statistic/Statistic.vue2.cjs +1 -1
- package/lib/steps/Steps.css +1 -1
- package/lib/steps/Steps.vue.cjs +1 -1
- package/lib/steps/Steps.vue2.cjs +3 -3
- package/lib/swiper/Swiper.css +1 -1
- package/lib/swiper/Swiper.vue.cjs +1 -1
- package/lib/swiper/Swiper.vue2.cjs +13 -13
- package/lib/switch/Switch.css +1 -1
- package/lib/switch/Switch.vue.cjs +1 -1
- package/lib/switch/Switch.vue2.cjs +5 -5
- package/lib/table/Table.css +1 -1
- package/lib/table/Table.vue.cjs +1 -1
- package/lib/table/Table.vue2.cjs +1 -1
- package/lib/tabs/Tabs.css +1 -1
- package/lib/tabs/Tabs.vue.cjs +1 -1
- package/lib/tabs/Tabs.vue2.cjs +1 -1
- package/lib/tag/Tag.css +1 -1
- package/lib/tag/Tag.vue.cjs +1 -1
- package/lib/tag/Tag.vue2.cjs +1 -1
- package/lib/textarea/Textarea.css +1 -1
- package/lib/textarea/Textarea.vue.cjs +1 -1
- package/lib/textarea/Textarea.vue2.cjs +4 -4
- package/lib/textscroll/TextScroll.css +1 -1
- package/lib/textscroll/TextScroll.vue.cjs +1 -1
- package/lib/textscroll/TextScroll.vue2.cjs +9 -9
- package/lib/timeline/Timeline.css +1 -1
- package/lib/timeline/Timeline.vue.cjs +1 -1
- package/lib/timeline/Timeline.vue2.cjs +1 -1
- package/lib/tooltip/Tooltip.css +1 -1
- package/lib/tooltip/Tooltip.vue.cjs +1 -1
- package/lib/tooltip/Tooltip.vue2.cjs +1 -1
- package/lib/upload/Upload.css +1 -1
- package/lib/upload/Upload.vue.cjs +1 -1
- package/lib/upload/Upload.vue2.cjs +1 -1
- package/lib/utils/resolver.cjs +1 -1
- package/lib/video/Video.css +1 -1
- package/lib/video/Video.vue.cjs +1 -1
- package/lib/video/Video.vue2.cjs +2 -2
- package/lib/waterfall/Waterfall.css +1 -1
- package/lib/waterfall/Waterfall.vue.cjs +1 -1
- package/lib/waterfall/Waterfall.vue2.cjs +4 -4
- package/package.json +21 -21
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cards.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-creative.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cube.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-flip.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/navigation.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/pagination.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cards.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-creative.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cube.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-flip.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/navigation.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/pagination.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper.css +0 -1
- /package/es/node_modules/.pnpm/{@vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_ → @vuepic_vue-datepicker@11.0.2_vue@3.5.22_typescript@5.9.3_}/node_modules/@vuepic/vue-datepicker/dist/main.css +0 -0
- /package/es/node_modules/.pnpm/{swiper@11.2.10 → swiper@12.0.2}/node_modules/swiper/modules/effect-fade.css +0 -0
- /package/lib/node_modules/.pnpm/{@vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_ → @vuepic_vue-datepicker@11.0.2_vue@3.5.22_typescript@5.9.3_}/node_modules/@vuepic/vue-datepicker/dist/main.css +0 -0
- /package/lib/node_modules/.pnpm/{swiper@11.2.10 → swiper@12.0.2}/node_modules/swiper/modules/effect-fade.css +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useOptionsSupported as
|
|
3
|
-
const jt = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as zt, ref as i, computed as Y, watch as j, onMounted as Rt, onBeforeUnmount as Bt, nextTick as Dt, createElementBlock as q, openBlock as W, createBlock as bt, createElementVNode as et, Teleport as Lt, createVNode as Mt, Transition as Wt, withCtx as Ot, withDirectives as Vt, createCommentVNode as ot, withKeys as F, normalizeStyle as G, normalizeClass as O, renderSlot as nt, createTextVNode as lt, toDisplayString as rt, vShow as Ht } from "vue";
|
|
2
|
+
import { useOptionsSupported as it, useSlotsExist as Nt, useMutationObserver as Kt, useEventListener as At, useResizeObserver as Ut, cancelRaf as ut, rafTimeout as at } from "../utils/index.js";
|
|
3
|
+
const jt = /* @__PURE__ */ zt({
|
|
4
4
|
__name: "Tooltip",
|
|
5
5
|
props: {
|
|
6
6
|
maxWidth: { default: 240 },
|
|
@@ -24,136 +24,136 @@ const jt = /* @__PURE__ */ Rt({
|
|
|
24
24
|
showControl: { type: Boolean, default: !1 }
|
|
25
25
|
},
|
|
26
26
|
emits: ["update:show", "openChange", "animationend"],
|
|
27
|
-
setup(
|
|
28
|
-
const e =
|
|
29
|
-
const t =
|
|
30
|
-
switch (
|
|
27
|
+
setup(r, { expose: ft, emit: vt }) {
|
|
28
|
+
const e = r, V = i(!1), u = i(!1), C = i(), v = i(null), I = i(0), s = i(0), p = i(0), g = i("top"), D = i(null), c = i(), H = i(null), N = i(null), K = i(), A = i(null), a = i(), b = i(document.documentElement.clientWidth), L = i(document.documentElement.clientHeight), { isSupported: ct } = it("passive"), { isSupported: J } = it("capture"), S = vt, st = Nt(["tooltip"]), pt = Y(() => typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth), m = Y(() => st.tooltip || e.tooltip), mt = Y(() => {
|
|
29
|
+
const t = c.value?.top ?? 0, l = K.value?.top ?? 0, f = t - l, k = c.value?.left ?? 0, $ = K.value?.left ?? 0, h = k - $;
|
|
30
|
+
switch (g.value) {
|
|
31
31
|
case "top":
|
|
32
32
|
return {
|
|
33
|
-
transformOrigin: `50% ${
|
|
34
|
-
top: `${
|
|
35
|
-
left: `${
|
|
33
|
+
transformOrigin: `50% ${s.value}px`,
|
|
34
|
+
top: `${f - s.value}px`,
|
|
35
|
+
left: `${h - p.value}px`
|
|
36
36
|
};
|
|
37
37
|
case "bottom":
|
|
38
38
|
return {
|
|
39
39
|
transformOrigin: `50% ${e.arrow ? -4 : -6}px`,
|
|
40
|
-
top: `${
|
|
41
|
-
left: `${
|
|
40
|
+
top: `${f + s.value}px`,
|
|
41
|
+
left: `${h - p.value}px`
|
|
42
42
|
};
|
|
43
43
|
case "left":
|
|
44
44
|
return {
|
|
45
45
|
transformOrigin: `${p.value}px 50%`,
|
|
46
|
-
top: `${
|
|
47
|
-
left: `${
|
|
46
|
+
top: `${f - s.value}px`,
|
|
47
|
+
left: `${h - p.value}px`
|
|
48
48
|
};
|
|
49
49
|
case "right":
|
|
50
50
|
return {
|
|
51
51
|
transformOrigin: `${e.arrow ? -4 : -6}px 50%`,
|
|
52
|
-
top: `${
|
|
53
|
-
left: `${
|
|
52
|
+
top: `${f - s.value}px`,
|
|
53
|
+
left: `${h + p.value}px`
|
|
54
54
|
};
|
|
55
55
|
default:
|
|
56
56
|
return {
|
|
57
|
-
transformOrigin: `50% ${
|
|
58
|
-
top: `${
|
|
59
|
-
left: `${
|
|
57
|
+
transformOrigin: `50% ${s.value}px`,
|
|
58
|
+
top: `${f - s.value}px`,
|
|
59
|
+
left: `${h - p.value}px`
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
|
-
|
|
63
|
+
j(
|
|
64
64
|
() => [e.placement, e.arrow, e.flip],
|
|
65
65
|
() => {
|
|
66
|
-
|
|
66
|
+
x();
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
deep: !0
|
|
70
70
|
}
|
|
71
|
-
),
|
|
72
|
-
() =>
|
|
71
|
+
), j(
|
|
72
|
+
() => m.value && u.value,
|
|
73
73
|
(t) => {
|
|
74
|
-
t && !
|
|
74
|
+
t && !V.value && (V.value = !0);
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
immediate: !0
|
|
78
78
|
}
|
|
79
|
-
),
|
|
79
|
+
), j(
|
|
80
80
|
() => e.show,
|
|
81
81
|
(t) => {
|
|
82
|
-
t && !
|
|
82
|
+
t && !u.value && E(), !t && u.value && d();
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
immediate: !0
|
|
86
86
|
}
|
|
87
|
-
),
|
|
88
|
-
|
|
89
|
-
}),
|
|
90
|
-
|
|
87
|
+
), Rt(() => {
|
|
88
|
+
U();
|
|
89
|
+
}), Bt(() => {
|
|
90
|
+
Z();
|
|
91
91
|
});
|
|
92
|
-
const
|
|
93
|
-
|
|
92
|
+
const Q = Kt(
|
|
93
|
+
v,
|
|
94
94
|
() => {
|
|
95
|
-
|
|
95
|
+
I.value !== v.value?.scrollTop && (I.value = v.value?.scrollTop ?? 0, x());
|
|
96
96
|
},
|
|
97
97
|
{ subtree: !0, attributes: !0 }
|
|
98
98
|
);
|
|
99
|
-
At(window, "resize", gt), Ut([
|
|
100
|
-
if (
|
|
99
|
+
At(window, "resize", gt), Ut([A, D], (t) => {
|
|
100
|
+
if (m.value && u.value) {
|
|
101
101
|
if (t.length === 1 && t[0].target.classList.contains("tooltip-card")) {
|
|
102
|
-
const { blockSize: l, inlineSize:
|
|
103
|
-
if (Math.round(l) === Math.round(
|
|
102
|
+
const { blockSize: l, inlineSize: f } = t[0].borderBoxSize[0];
|
|
103
|
+
if (Math.round(l) === Math.round(a.value.height) && Math.round(f) === Math.round(a.value.width))
|
|
104
104
|
return;
|
|
105
105
|
}
|
|
106
|
-
|
|
106
|
+
x();
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
109
|
function ht() {
|
|
110
|
-
let t =
|
|
110
|
+
let t = H.value?.parentElement;
|
|
111
111
|
for (; t; ) {
|
|
112
112
|
if (t === document.documentElement) {
|
|
113
|
-
|
|
113
|
+
N.value = document.documentElement;
|
|
114
114
|
return;
|
|
115
115
|
}
|
|
116
116
|
const { position: l } = getComputedStyle(t);
|
|
117
117
|
if (l !== "static") {
|
|
118
|
-
|
|
118
|
+
N.value = t;
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
121
121
|
t = t.parentElement;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
function gt() {
|
|
125
|
-
b.value = document.documentElement.clientWidth, L.value = document.documentElement.clientHeight,
|
|
125
|
+
b.value = document.documentElement.clientWidth, L.value = document.documentElement.clientHeight, U(), x();
|
|
126
126
|
}
|
|
127
|
-
function
|
|
128
|
-
|
|
127
|
+
function U() {
|
|
128
|
+
Z(), v.value = P(D.value), v.value && v.value.addEventListener(
|
|
129
129
|
"scroll",
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
),
|
|
130
|
+
x,
|
|
131
|
+
ct.value ? { passive: !0 } : void 0
|
|
132
|
+
), v.value === document.documentElement ? Q.start() : Q.stop();
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
|
|
134
|
+
function Z() {
|
|
135
|
+
v.value && v.value.removeEventListener("scroll", x), v.value = null;
|
|
136
136
|
}
|
|
137
137
|
function dt(t) {
|
|
138
138
|
return t === document.documentElement ? null : t.parentElement;
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function P(t) {
|
|
141
141
|
if (t === null) return null;
|
|
142
142
|
const l = dt(t);
|
|
143
143
|
return l === null ? null : l === document.documentElement ? document.documentElement : ((k) => {
|
|
144
|
-
const { overflow: $, overflowX:
|
|
145
|
-
return /(auto|scroll|overlay)/.test($ +
|
|
146
|
-
})(l) ? l :
|
|
144
|
+
const { overflow: $, overflowX: h, overflowY: X } = getComputedStyle(k);
|
|
145
|
+
return /(auto|scroll|overlay)/.test($ + X + h);
|
|
146
|
+
})(l) ? l : P(l);
|
|
147
147
|
}
|
|
148
|
-
function
|
|
149
|
-
|
|
148
|
+
function x() {
|
|
149
|
+
u.value && _();
|
|
150
150
|
}
|
|
151
151
|
async function _() {
|
|
152
|
-
await
|
|
152
|
+
await Dt(), ht(), K.value = N.value?.getBoundingClientRect(), c.value = D.value?.getBoundingClientRect(), a.value = A.value?.getBoundingClientRect(), e.flip && (g.value = yt()), g.value === "top" ? (s.value = a.value.height + (e.arrow ? 16 : 6), p.value = (a.value.width - c.value.width) / 2) : g.value === "bottom" ? (s.value = c.value.height + (e.arrow ? 4 : 6), p.value = (a.value.width - c.value.width) / 2) : g.value === "left" ? (s.value = (a.value.height - c.value.height) / 2, p.value = a.value.width + (e.arrow ? 16 : 6)) : g.value === "right" && (s.value = (a.value.height - c.value.height) / 2, p.value = c.value.width + (e.arrow ? 4 : 6));
|
|
153
153
|
}
|
|
154
154
|
function wt() {
|
|
155
|
-
if (
|
|
156
|
-
const t =
|
|
155
|
+
if (v.value) {
|
|
156
|
+
const t = v.value.getBoundingClientRect();
|
|
157
157
|
return {
|
|
158
158
|
top: t.top < 0 ? 0 : t.top,
|
|
159
159
|
left: t.left < 0 ? 0 : t.left,
|
|
@@ -169,59 +169,59 @@ const jt = /* @__PURE__ */ Rt({
|
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
171
|
function yt() {
|
|
172
|
-
const { top: t, bottom: l, left:
|
|
172
|
+
const { top: t, bottom: l, left: f, right: k } = c.value, { top: $, bottom: h, left: X, right: Tt } = wt(), T = t - $ - (e.arrow ? 12 : 0), z = h - l - (e.arrow ? 12 : 0), R = f - X - (e.arrow ? 12 : 0), B = Tt - k - (e.arrow ? 12 : 0), w = (a.value.width - c.value.width) / 2, y = (a.value.height - c.value.height) / 2;
|
|
173
173
|
return n(e.placement, []);
|
|
174
174
|
function n(M, o) {
|
|
175
175
|
if (M === "top") {
|
|
176
176
|
if (o.includes("top"))
|
|
177
177
|
return o.includes("bottom") ? o.includes("left") ? n("right", o) : n("left", o) : n("bottom", o);
|
|
178
|
-
if (T <
|
|
178
|
+
if (T < a.value.height + (e.arrow ? 4 : 6) && o.length !== 3)
|
|
179
179
|
return n("bottom", [...o, "top"]);
|
|
180
|
-
if (R >=
|
|
180
|
+
if (R >= w && B >= w)
|
|
181
181
|
return "top";
|
|
182
182
|
if (o.length !== 3) {
|
|
183
|
-
if (R >=
|
|
183
|
+
if (R >= w)
|
|
184
184
|
return n("left", ["top", "bottom", "right"]);
|
|
185
|
-
if (B >=
|
|
185
|
+
if (B >= w)
|
|
186
186
|
return n("right", ["top", "bottom", "left"]);
|
|
187
187
|
}
|
|
188
188
|
} else if (M === "bottom") {
|
|
189
189
|
if (o.includes("bottom"))
|
|
190
190
|
return o.includes("top") ? o.includes("left") ? n("right", o) : n("left", o) : n("top", o);
|
|
191
|
-
if (z <
|
|
191
|
+
if (z < a.value.height + (e.arrow ? 4 : 6) && o.length !== 3)
|
|
192
192
|
return n("top", [...o, "bottom"]);
|
|
193
|
-
if (R >=
|
|
193
|
+
if (R >= w && B >= w)
|
|
194
194
|
return "bottom";
|
|
195
195
|
if (o.length !== 3) {
|
|
196
|
-
if (R >=
|
|
196
|
+
if (R >= w)
|
|
197
197
|
return n("left", ["top", "bottom", "right"]);
|
|
198
|
-
if (B >=
|
|
198
|
+
if (B >= w)
|
|
199
199
|
return n("right", ["top", "bottom", "left"]);
|
|
200
200
|
}
|
|
201
201
|
} else if (M === "left") {
|
|
202
202
|
if (o.includes("left"))
|
|
203
203
|
return o.includes("right") ? o.includes("top") ? n("bottom", o) : n("top", o) : n("right", o);
|
|
204
|
-
if (R <
|
|
204
|
+
if (R < a.value.width + (e.arrow ? 4 : 6) && o.length !== 3)
|
|
205
205
|
return n("right", [...o, "left"]);
|
|
206
|
-
if (T >=
|
|
206
|
+
if (T >= y && z >= y)
|
|
207
207
|
return "left";
|
|
208
208
|
if (o.length !== 3) {
|
|
209
|
-
if (T >=
|
|
209
|
+
if (T >= y)
|
|
210
210
|
return n("top", ["left", "right", "bottom"]);
|
|
211
|
-
if (z >=
|
|
211
|
+
if (z >= y)
|
|
212
212
|
return n("bottom", ["left", "right", "top"]);
|
|
213
213
|
}
|
|
214
214
|
} else if (M === "right") {
|
|
215
215
|
if (o.includes("right"))
|
|
216
216
|
return o.includes("left") ? o.includes("top") ? n("bottom", o) : n("top", o) : n("left", o);
|
|
217
|
-
if (B <
|
|
217
|
+
if (B < a.value.width + (e.arrow ? 4 : 6) && o.length !== 3)
|
|
218
218
|
return n("left", [...o, "right"]);
|
|
219
|
-
if (T >=
|
|
219
|
+
if (T >= y && z >= y)
|
|
220
220
|
return "right";
|
|
221
221
|
if (o.length !== 3) {
|
|
222
|
-
if (T >=
|
|
222
|
+
if (T >= y)
|
|
223
223
|
return n("top", ["left", "right", "bottom"]);
|
|
224
|
-
if (z >=
|
|
224
|
+
if (z >= y)
|
|
225
225
|
return n("bottom", ["left", "right", "top"]);
|
|
226
226
|
}
|
|
227
227
|
}
|
|
@@ -229,50 +229,50 @@ const jt = /* @__PURE__ */ Rt({
|
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
function E() {
|
|
232
|
-
|
|
233
|
-
|
|
232
|
+
C.value && ut(C.value), u.value || (C.value = at(() => {
|
|
233
|
+
u.value = !0, _(), S("update:show", !0), S("openChange", !0), m.value && e.trigger === "click" && document.addEventListener("click", tt, J.value ? { capture: !0 } : !0);
|
|
234
234
|
}, e.showDelay));
|
|
235
235
|
}
|
|
236
|
-
function
|
|
237
|
-
|
|
238
|
-
|
|
236
|
+
function d() {
|
|
237
|
+
C.value && ut(C.value), u.value && (C.value = at(() => {
|
|
238
|
+
u.value = !1, S("update:show", !1), S("openChange", !1), m.value && e.trigger === "click" && document.removeEventListener("click", tt, J.value ? { capture: !0 } : !0);
|
|
239
239
|
}, e.hideDelay));
|
|
240
240
|
}
|
|
241
241
|
function Ct() {
|
|
242
|
-
|
|
242
|
+
u.value ? d() : E();
|
|
243
243
|
}
|
|
244
|
-
function
|
|
245
|
-
|
|
244
|
+
function tt(t) {
|
|
245
|
+
H.value?.contains(t.target) || d();
|
|
246
|
+
}
|
|
247
|
+
function xt() {
|
|
248
|
+
m.value && e.trigger === "hover" && !e.showControl && E();
|
|
246
249
|
}
|
|
247
250
|
function Et() {
|
|
248
|
-
|
|
251
|
+
m.value && e.trigger === "hover" && !e.showControl && d();
|
|
249
252
|
}
|
|
250
253
|
function St() {
|
|
251
|
-
|
|
254
|
+
S("animationend", u.value);
|
|
252
255
|
}
|
|
253
256
|
function kt() {
|
|
254
|
-
S("animationend", i.value);
|
|
255
|
-
}
|
|
256
|
-
function $t() {
|
|
257
257
|
e.trigger === "hover" && !e.showControl && E();
|
|
258
258
|
}
|
|
259
|
-
function
|
|
260
|
-
e.trigger === "hover" && !e.showControl &&
|
|
259
|
+
function $t() {
|
|
260
|
+
e.trigger === "hover" && !e.showControl && d();
|
|
261
261
|
}
|
|
262
262
|
return ft({
|
|
263
263
|
show: E,
|
|
264
|
-
hide:
|
|
265
|
-
observeScroll:
|
|
266
|
-
}), (t, l) => (W(),
|
|
264
|
+
hide: d,
|
|
265
|
+
observeScroll: U
|
|
266
|
+
}), (t, l) => (W(), q("div", {
|
|
267
267
|
class: "tooltip-wrap",
|
|
268
|
-
onMouseenter:
|
|
269
|
-
onMouseleave:
|
|
268
|
+
onMouseenter: xt,
|
|
269
|
+
onMouseleave: Et
|
|
270
270
|
}, [
|
|
271
|
-
(W(), Lt
|
|
272
|
-
disabled:
|
|
273
|
-
to:
|
|
271
|
+
(W(), bt(Lt, {
|
|
272
|
+
disabled: r.to === !1,
|
|
273
|
+
to: r.to === !1 ? null : r.to
|
|
274
274
|
}, [
|
|
275
|
-
Wt
|
|
275
|
+
Mt(Wt, {
|
|
276
276
|
name: "zoom",
|
|
277
277
|
"enter-from-class": "zoom-enter",
|
|
278
278
|
"enter-active-class": "zoom-enter",
|
|
@@ -280,58 +280,58 @@ const jt = /* @__PURE__ */ Rt({
|
|
|
280
280
|
"leave-from-class": "zoom-leave",
|
|
281
281
|
"leave-active-class": "zoom-leave zoom-leave-active",
|
|
282
282
|
"leave-to-class": "zoom-leave zoom-leave-active",
|
|
283
|
-
onAnimationend:
|
|
283
|
+
onAnimationend: St
|
|
284
284
|
}, {
|
|
285
285
|
default: Ot(() => [
|
|
286
|
-
|
|
286
|
+
V.value ? Vt((W(), q("div", {
|
|
287
287
|
key: 0,
|
|
288
288
|
ref_key: "tooltipRef",
|
|
289
|
-
ref:
|
|
290
|
-
class:
|
|
291
|
-
style:
|
|
289
|
+
ref: H,
|
|
290
|
+
class: O(["tooltip-card-container", { [`tooltip-${g.value}-padding`]: r.arrow }]),
|
|
291
|
+
style: G({
|
|
292
292
|
...mt.value,
|
|
293
|
-
"--tooltip-max-width":
|
|
294
|
-
"--tooltip-background-color":
|
|
295
|
-
"--tooltip-transition-duration": `${
|
|
293
|
+
"--tooltip-max-width": pt.value,
|
|
294
|
+
"--tooltip-background-color": r.bgColor,
|
|
295
|
+
"--tooltip-transition-duration": `${r.transitionDuration}ms`
|
|
296
296
|
}),
|
|
297
|
-
onMouseenter:
|
|
298
|
-
onMouseleave:
|
|
299
|
-
onKeydown: l[0] || (l[0] =
|
|
297
|
+
onMouseenter: kt,
|
|
298
|
+
onMouseleave: $t,
|
|
299
|
+
onKeydown: l[0] || (l[0] = F((f) => r.trigger === "click" && r.keyboard && u.value ? d() : () => !1, ["esc"]))
|
|
300
300
|
}, [
|
|
301
|
-
|
|
301
|
+
et("div", {
|
|
302
302
|
ref_key: "tooltipCardRef",
|
|
303
|
-
ref:
|
|
304
|
-
class:
|
|
305
|
-
style:
|
|
303
|
+
ref: A,
|
|
304
|
+
class: O(["tooltip-card", r.tooltipClass]),
|
|
305
|
+
style: G(r.tooltipStyle)
|
|
306
306
|
}, [
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
nt(t.$slots, "tooltip", {}, () => [
|
|
308
|
+
lt(rt(r.tooltip), 1)
|
|
309
309
|
], !0)
|
|
310
310
|
], 6),
|
|
311
|
-
|
|
311
|
+
r.arrow ? (W(), q("div", {
|
|
312
312
|
key: 0,
|
|
313
|
-
class:
|
|
314
|
-
}, null, 2)) :
|
|
313
|
+
class: O(["tooltip-arrow", `arrow-${g.value || "top"}`])
|
|
314
|
+
}, null, 2)) : ot("", !0)
|
|
315
315
|
], 38)), [
|
|
316
|
-
[Ht,
|
|
317
|
-
]) :
|
|
316
|
+
[Ht, m.value && u.value]
|
|
317
|
+
]) : ot("", !0)
|
|
318
318
|
]),
|
|
319
319
|
_: 3
|
|
320
320
|
})
|
|
321
321
|
], 8, ["disabled", "to"])),
|
|
322
|
-
|
|
322
|
+
et("span", {
|
|
323
323
|
ref_key: "tooltipContentRef",
|
|
324
324
|
ref: D,
|
|
325
|
-
class:
|
|
326
|
-
style:
|
|
327
|
-
onClick: l[1] || (l[1] = (
|
|
325
|
+
class: O(["tooltip-content", r.contentClass]),
|
|
326
|
+
style: G(r.contentStyle),
|
|
327
|
+
onClick: l[1] || (l[1] = (f) => m.value && r.trigger === "click" && !u.value ? E() : () => !1),
|
|
328
328
|
onKeydown: [
|
|
329
|
-
l[2] || (l[2] =
|
|
330
|
-
l[3] || (l[3] =
|
|
329
|
+
l[2] || (l[2] = F((f) => m.value && r.trigger === "click" && r.keyboard ? Ct() : () => !1, ["enter"])),
|
|
330
|
+
l[3] || (l[3] = F((f) => m.value && r.trigger === "click" && r.keyboard && u.value ? d() : () => !1, ["esc"]))
|
|
331
331
|
]
|
|
332
332
|
}, [
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
nt(t.$slots, "default", {}, () => [
|
|
334
|
+
lt(rt(r.content), 1)
|
|
335
335
|
], !0)
|
|
336
336
|
], 38)
|
|
337
337
|
], 32));
|
package/es/upload/Upload.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.upload-wrap[data-v-
|
|
1
|
+
.upload-wrap[data-v-ccbed587]{display:inline-block;width:100%}.upload-wrap .upload-item-panel[data-v-ccbed587]{position:relative;display:inline-block;width:100px;height:100px}.upload-wrap .upload-item-panel .upload-item[data-v-ccbed587]{display:flex;align-items:center;justify-content:center;text-align:center;width:100px;height:100px;border-radius:8px;border:1px dashed #d9d9d9;background-color:#00000005;cursor:pointer;transition:border-color .3s}.upload-wrap .upload-item-panel .upload-item[data-v-ccbed587]:hover{border-color:var(--upload-primary-color)}.upload-wrap .upload-item-panel .upload-item .plus-svg[data-v-ccbed587]{display:inline-block;font-size:14px;color:#000000e0;fill:currentColor}.upload-wrap .upload-item-panel .upload-item .upload-tip[data-v-ccbed587]{margin-top:8px;font-size:14px;color:#000000e0;line-height:1.57142857}.upload-wrap .upload-item-panel .upload-disabled[data-v-ccbed587]{cursor:not-allowed}.upload-wrap .upload-item-panel .upload-disabled[data-v-ccbed587]:hover{border-color:#d9d9d9}.upload-wrap .upload-item-panel .file-uploading[data-v-ccbed587]{width:100px;height:100px;padding:8px;border-radius:8px;border:1px dashed #d9d9d9;background-color:#00000005;display:flex;align-items:center;text-align:center}.upload-wrap .upload-item-panel .file-uploading .spin-uploading[data-v-ccbed587]{display:inline-block}.upload-wrap .upload-item-panel .file-uploading .spin-uploading[data-v-ccbed587] .spin-tip{max-width:82px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.upload-wrap .upload-item-panel .file-preview[data-v-ccbed587]{position:relative;width:100px;height:100px;border-radius:8px;padding:8px;border:1px solid #d9d9d9;display:flex;align-items:center;text-align:center}.upload-wrap .upload-item-panel .file-preview .file-svg[data-v-ccbed587]{display:inline-block;width:100%;height:60px;color:var(--upload-primary-color);fill:currentColor}.upload-wrap .upload-item-panel .file-preview .file-mask[data-v-ccbed587]{position:absolute;inset:0;margin:8px;display:flex;align-items:center;justify-content:center;background:#00000080;opacity:0;pointer-events:none;transition:opacity .3s}.upload-wrap .upload-item-panel .file-preview .file-mask .file-icon[data-v-ccbed587]{display:inline-block;height:16px;margin:0 4px;cursor:pointer}.upload-wrap .upload-item-panel .file-preview .file-mask .file-icon .icon-svg[data-v-ccbed587]{display:inline-block;font-size:16px;color:#ffffffa6;fill:currentColor;cursor:pointer;transition:color .3s}.upload-wrap .upload-item-panel .file-preview .file-mask .file-icon .icon-svg[data-v-ccbed587]:hover{color:#fff}.upload-wrap .upload-item-panel .file-preview:hover .file-mask[data-v-ccbed587]{opacity:1;pointer-events:auto}
|
package/es/upload/Upload.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Upload.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ccbed587"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|