vue-amazing-ui 2.4.21 → 2.4.23
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 +147 -147
- package/dist/index.js +6726 -6712
- 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 +20 -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.d.ts +2 -2
- package/es/dialog/Dialog.vue.js +1 -1
- package/es/dialog/Dialog.vue2.js +112 -112
- package/es/dialog/index.d.ts +6 -6
- 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 +2 -2
- package/es/inputnumber/InputNumber.vue2.js +77 -77
- 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.d.ts +2 -2
- package/es/modal/Modal.vue.js +1 -1
- package/es/modal/index.d.ts +6 -6
- package/es/node_modules/.pnpm/@vuepic_vue-datepicker@12.0.4_vue@3.5.24_typescript@5.9.3_/node_modules/@vuepic/vue-datepicker/dist/main.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-cards.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-creative.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-cube.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-flip.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/navigation.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.3/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.d.ts +1 -1
- package/es/rate/Rate.vue.js +1 -1
- package/es/rate/Rate.vue2.js +90 -90
- package/es/rate/index.d.ts +3 -3
- 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.d.ts +1 -1
- package/es/textscroll/TextScroll.vue.js +2 -2
- package/es/textscroll/TextScroll.vue2.js +100 -100
- package/es/textscroll/index.d.ts +3 -3
- 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 +2 -2
- 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.d.ts +2 -2
- package/lib/dialog/Dialog.vue.cjs +1 -1
- package/lib/dialog/Dialog.vue2.cjs +1 -1
- package/lib/dialog/index.d.ts +6 -6
- 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.d.ts +2 -2
- package/lib/modal/Modal.vue.cjs +1 -1
- package/lib/modal/index.d.ts +6 -6
- package/lib/node_modules/.pnpm/@vuepic_vue-datepicker@12.0.4_vue@3.5.24_typescript@5.9.3_/node_modules/@vuepic/vue-datepicker/dist/main.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-cards.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-creative.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-cube.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-flip.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/navigation.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.3/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.d.ts +1 -1
- package/lib/rate/Rate.vue.cjs +1 -1
- package/lib/rate/Rate.vue2.cjs +1 -1
- package/lib/rate/index.d.ts +3 -3
- 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.d.ts +1 -1
- package/lib/textscroll/TextScroll.vue.cjs +1 -1
- package/lib/textscroll/TextScroll.vue2.cjs +9 -9
- package/lib/textscroll/index.d.ts +3 -3
- 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 +30 -27
- package/es/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_/node_modules/@vuepic/vue-datepicker/dist/main.css +0 -1
- 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/@vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_/node_modules/@vuepic/vue-datepicker/dist/main.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/{swiper@11.2.10 → swiper@12.0.3}/node_modules/swiper/modules/effect-fade.css +0 -0
- /package/lib/node_modules/.pnpm/{swiper@11.2.10 → swiper@12.0.3}/node_modules/swiper/modules/effect-fade.css +0 -0
package/es/upload/Upload.vue2.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as G, ref as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { defineComponent as G, ref as g, computed as J, watchEffect as K, createElementBlock as h, openBlock as p, normalizeStyle as O, unref as w, createVNode as z, mergeProps as C, withCtx as Q, Fragment as X, renderList as Y, withDirectives as M, createCommentVNode as Z, createElementVNode as i, withModifiers as y, normalizeClass as _, renderSlot as ee, createTextVNode as le, toDisplayString as ae, vShow as R, createBlock as te } from "vue";
|
|
2
|
+
import oe from "../spin/index.js";
|
|
3
|
+
import ie from "../message/index.js";
|
|
4
|
+
import ne from "../image/index.js";
|
|
5
|
+
import se from "../space/index.js";
|
|
6
6
|
import { useInject as ue } from "../utils/index.js";
|
|
7
|
-
const re = ["onDrop", "onClick"], ce = ["accept", "multiple", "onChange"], fe = { class: "upload-tip" }, de = { class: "file-uploading" },
|
|
7
|
+
const re = ["onDrop", "onClick"], ce = ["accept", "multiple", "onChange"], fe = { class: "upload-tip" }, de = { class: "file-uploading" }, ve = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "file-preview"
|
|
10
|
-
},
|
|
10
|
+
}, pe = {
|
|
11
11
|
key: 1,
|
|
12
12
|
class: "file-svg",
|
|
13
13
|
focusable: "false",
|
|
@@ -49,149 +49,149 @@ const re = ["onDrop", "onClick"], ce = ["accept", "multiple", "onChange"], fe =
|
|
|
49
49
|
fileList: { default: () => [] }
|
|
50
50
|
},
|
|
51
51
|
emits: ["update:fileList", "drop", "change", "preview", "remove"],
|
|
52
|
-
setup(
|
|
53
|
-
const
|
|
52
|
+
setup(u, { expose: U, emit: F }) {
|
|
53
|
+
const n = u, o = g([]), d = g(1), m = g([]), b = g(), L = g(), r = g(), { colorPalettes: B } = ue("Upload"), c = F, f = J(() => n.maxCount === void 0 ? 1 / 0 : n.maxCount);
|
|
54
54
|
K(() => {
|
|
55
55
|
H();
|
|
56
56
|
});
|
|
57
57
|
function H() {
|
|
58
|
-
|
|
58
|
+
o.value = [...n.fileList], o.value.length > f.value && o.value.splice(f.value), n.disabled ? d.value = o.value.length : o.value.length < f.value ? d.value = n.fileList.length + 1 : d.value = f.value;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
61
|
-
const
|
|
62
|
-
return
|
|
60
|
+
function k(a) {
|
|
61
|
+
const e = /\.(jpg|jpeg|png|gif)$/i, l = /^data:image/;
|
|
62
|
+
return e.test(a) || l.test(a);
|
|
63
63
|
}
|
|
64
|
-
function V(
|
|
65
|
-
const
|
|
66
|
-
return
|
|
64
|
+
function V(a) {
|
|
65
|
+
const e = /\.pdf$/i, l = /^data:application\/pdf/;
|
|
66
|
+
return e.test(a) || l.test(a);
|
|
67
67
|
}
|
|
68
|
-
function q(
|
|
69
|
-
const
|
|
70
|
-
if (
|
|
71
|
-
const
|
|
72
|
-
for (let
|
|
73
|
-
|
|
74
|
-
|
|
68
|
+
function q(a, e) {
|
|
69
|
+
const l = a.dataTransfer?.files;
|
|
70
|
+
if (l?.length) {
|
|
71
|
+
const t = l.length;
|
|
72
|
+
for (let s = 0; s < t && e + s <= f.value; s++)
|
|
73
|
+
P(l[s], e + s);
|
|
74
|
+
b.value[e].value = "";
|
|
75
75
|
}
|
|
76
|
-
|
|
76
|
+
c("drop", a);
|
|
77
77
|
}
|
|
78
|
-
function D(
|
|
79
|
-
|
|
78
|
+
function D(a) {
|
|
79
|
+
b.value[a].click();
|
|
80
80
|
}
|
|
81
|
-
function I(
|
|
82
|
-
const
|
|
83
|
-
if (
|
|
84
|
-
const
|
|
85
|
-
for (let
|
|
86
|
-
|
|
87
|
-
|
|
81
|
+
function I(a, e) {
|
|
82
|
+
const l = a.target.files;
|
|
83
|
+
if (l?.length) {
|
|
84
|
+
const t = l.length;
|
|
85
|
+
for (let s = 0; s < t && e + s < f.value; s++)
|
|
86
|
+
P(l[s], e + s);
|
|
87
|
+
b.value[e].value = "";
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
const
|
|
91
|
-
new Promise((
|
|
90
|
+
const P = async (a, e) => {
|
|
91
|
+
new Promise((t, s) => {
|
|
92
92
|
try {
|
|
93
|
-
const
|
|
94
|
-
|
|
95
|
-
} catch (
|
|
96
|
-
|
|
93
|
+
const v = n.beforeUpload(a);
|
|
94
|
+
v instanceof Promise ? v.then(t, s) : typeof v == "boolean" ? v ? t(v) : s(new Error("Function returned false")) : t(v);
|
|
95
|
+
} catch (v) {
|
|
96
|
+
s(v);
|
|
97
97
|
}
|
|
98
98
|
}).then(() => {
|
|
99
|
-
|
|
100
|
-
}).catch((
|
|
101
|
-
console.log("beforeUpload error:",
|
|
99
|
+
f.value > d.value && d.value++, n.uploadMode === "base64" && (m.value[e] = !0, S(a, e)), n.uploadMode === "custom" && (m.value[e] = !0, $(a, e));
|
|
100
|
+
}).catch((t) => {
|
|
101
|
+
console.log("beforeUpload error:", t);
|
|
102
102
|
});
|
|
103
103
|
};
|
|
104
|
-
function S(
|
|
105
|
-
const
|
|
106
|
-
|
|
107
|
-
},
|
|
108
|
-
},
|
|
109
|
-
},
|
|
110
|
-
|
|
111
|
-
},
|
|
112
|
-
|
|
113
|
-
name:
|
|
114
|
-
url:
|
|
115
|
-
}),
|
|
116
|
-
},
|
|
104
|
+
function S(a, e) {
|
|
105
|
+
const l = new FileReader();
|
|
106
|
+
l.readAsDataURL(a), l.onloadstart = function(t) {
|
|
107
|
+
}, l.onabort = function(t) {
|
|
108
|
+
}, l.onerror = function(t) {
|
|
109
|
+
}, l.onprogress = function(t) {
|
|
110
|
+
t.loaded === t.total && (m.value[e] = !1);
|
|
111
|
+
}, l.onload = function(t) {
|
|
112
|
+
o.value.push({
|
|
113
|
+
name: a.name,
|
|
114
|
+
url: t.target?.result
|
|
115
|
+
}), n.actionMessage.upload && r.value.success(n.actionMessage.upload), c("update:fileList", o.value), c("change", o.value);
|
|
116
|
+
}, l.onloadend = function(t) {
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
|
-
function $(
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}).catch((
|
|
123
|
-
|
|
119
|
+
function $(a, e) {
|
|
120
|
+
n.customRequest(a).then((l) => {
|
|
121
|
+
o.value.push(l), n.actionMessage.upload && r.value.success(n.actionMessage.upload), c("update:fileList", o.value), c("change", o.value);
|
|
122
|
+
}).catch((l) => {
|
|
123
|
+
f.value > 1 && (d.value = o.value.length + 1), r.value.error(l);
|
|
124
124
|
}).finally(() => {
|
|
125
|
-
|
|
125
|
+
m.value[e] = !1;
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
function E(
|
|
129
|
-
if (
|
|
130
|
-
const
|
|
131
|
-
|
|
128
|
+
function E(a, e) {
|
|
129
|
+
if (k(e)) {
|
|
130
|
+
const l = o.value.slice(0, a).filter((t) => !k(t.url));
|
|
131
|
+
L.value[a - l.length].preview(0);
|
|
132
132
|
} else
|
|
133
|
-
window.open(
|
|
134
|
-
|
|
133
|
+
window.open(e);
|
|
134
|
+
c("preview", o.value[a]);
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
|
|
138
|
-
const
|
|
139
|
-
|
|
136
|
+
function x(a) {
|
|
137
|
+
o.value.length < f.value && d.value--;
|
|
138
|
+
const e = o.value.splice(a, 1);
|
|
139
|
+
n.actionMessage.remove && r.value.success(n.actionMessage.remove), c("remove", e[0]), c("update:fileList", o.value), c("change", o.value);
|
|
140
140
|
}
|
|
141
|
-
function
|
|
142
|
-
|
|
141
|
+
function N(a) {
|
|
142
|
+
r.value.info(a);
|
|
143
143
|
}
|
|
144
|
-
function T(
|
|
145
|
-
|
|
144
|
+
function T(a) {
|
|
145
|
+
r.value.success(a);
|
|
146
146
|
}
|
|
147
|
-
function j(
|
|
148
|
-
|
|
147
|
+
function j(a) {
|
|
148
|
+
r.value.error(a);
|
|
149
149
|
}
|
|
150
|
-
function A(
|
|
151
|
-
|
|
150
|
+
function A(a) {
|
|
151
|
+
r.value.warning(a);
|
|
152
152
|
}
|
|
153
|
-
function W(
|
|
154
|
-
|
|
153
|
+
function W(a) {
|
|
154
|
+
r.value.loading(a);
|
|
155
155
|
}
|
|
156
156
|
return U({
|
|
157
|
-
info:
|
|
157
|
+
info: N,
|
|
158
158
|
success: T,
|
|
159
159
|
error: j,
|
|
160
160
|
warning: A,
|
|
161
161
|
loading: W
|
|
162
|
-
}), (
|
|
162
|
+
}), (a, e) => (p(), h("div", {
|
|
163
163
|
class: "upload-wrap",
|
|
164
|
-
style: O(`--upload-primary-color: ${
|
|
164
|
+
style: O(`--upload-primary-color: ${w(B)[5]};`)
|
|
165
165
|
}, [
|
|
166
|
-
|
|
166
|
+
z(w(se), C({ gap: "small" }, u.spaceProps), {
|
|
167
167
|
default: Q(() => [
|
|
168
|
-
(p(!0),
|
|
168
|
+
(p(!0), h(X, null, Y(d.value, (l) => (p(), h("div", {
|
|
169
169
|
class: "upload-item-panel",
|
|
170
|
-
key:
|
|
170
|
+
key: l
|
|
171
171
|
}, [
|
|
172
|
-
|
|
173
|
-
class:
|
|
174
|
-
onDragenter:
|
|
172
|
+
M(i("div", {
|
|
173
|
+
class: _(["upload-item", { "upload-disabled": u.disabled }]),
|
|
174
|
+
onDragenter: e[1] || (e[1] = y(() => {
|
|
175
175
|
}, ["stop", "prevent"])),
|
|
176
|
-
onDragover:
|
|
176
|
+
onDragover: e[2] || (e[2] = y(() => {
|
|
177
177
|
}, ["stop", "prevent"])),
|
|
178
|
-
onDrop:
|
|
179
|
-
onClick: (
|
|
178
|
+
onDrop: y((t) => u.draggable && !u.disabled ? q(t, l - 1) : () => !1, ["stop", "prevent"]),
|
|
179
|
+
onClick: (t) => u.disabled ? () => !1 : D(l - 1)
|
|
180
180
|
}, [
|
|
181
|
-
|
|
181
|
+
i("input", {
|
|
182
182
|
ref_for: !0,
|
|
183
183
|
ref_key: "uploadInputRef",
|
|
184
|
-
ref:
|
|
184
|
+
ref: b,
|
|
185
185
|
type: "file",
|
|
186
|
-
onClick:
|
|
186
|
+
onClick: e[0] || (e[0] = y(() => {
|
|
187
187
|
}, ["stop"])),
|
|
188
|
-
accept:
|
|
189
|
-
multiple:
|
|
190
|
-
onChange: (
|
|
188
|
+
accept: u.accept,
|
|
189
|
+
multiple: u.multiple,
|
|
190
|
+
onChange: (t) => I(t, l - 1),
|
|
191
191
|
style: { display: "none" }
|
|
192
192
|
}, null, 40, ce),
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
i("div", null, [
|
|
194
|
+
e[3] || (e[3] = i("svg", {
|
|
195
195
|
focusable: "false",
|
|
196
196
|
class: "plus-svg",
|
|
197
197
|
"data-icon": "plus",
|
|
@@ -201,55 +201,55 @@ const re = ["onDrop", "onClick"], ce = ["accept", "multiple", "onChange"], fe =
|
|
|
201
201
|
"aria-hidden": "true",
|
|
202
202
|
viewBox: "64 64 896 896"
|
|
203
203
|
}, [
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
204
|
+
i("defs"),
|
|
205
|
+
i("path", { d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" }),
|
|
206
|
+
i("path", { d: "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" })
|
|
207
207
|
], -1)),
|
|
208
|
-
|
|
209
|
-
ee(
|
|
210
|
-
le(
|
|
208
|
+
i("p", fe, [
|
|
209
|
+
ee(a.$slots, "tip", {}, () => [
|
|
210
|
+
le(ae(u.tip), 1)
|
|
211
211
|
], !0)
|
|
212
212
|
])
|
|
213
213
|
])
|
|
214
214
|
], 42, re), [
|
|
215
|
-
[
|
|
215
|
+
[R, !m.value[l - 1] && !o.value[l - 1]]
|
|
216
216
|
]),
|
|
217
|
-
|
|
218
|
-
|
|
217
|
+
M(i("div", de, [
|
|
218
|
+
z(w(oe), C({
|
|
219
219
|
class: "spin-uploading",
|
|
220
220
|
tip: "uploading",
|
|
221
221
|
size: "small",
|
|
222
222
|
indicator: "spin-line",
|
|
223
223
|
color: "var(--upload-primary-color)"
|
|
224
|
-
}, { ref_for: !0 },
|
|
224
|
+
}, { ref_for: !0 }, u.spinProps), null, 16)
|
|
225
225
|
], 512), [
|
|
226
|
-
[
|
|
226
|
+
[R, m.value[l - 1]]
|
|
227
227
|
]),
|
|
228
|
-
|
|
229
|
-
|
|
228
|
+
o.value[l - 1] ? (p(), h("div", ve, [
|
|
229
|
+
k(o.value[l - 1].url) ? (p(), te(w(ne), C({
|
|
230
230
|
key: 0,
|
|
231
231
|
ref_for: !0,
|
|
232
232
|
ref_key: "imageRef",
|
|
233
|
-
ref:
|
|
233
|
+
ref: L,
|
|
234
234
|
style: { "--image-primary-color": "var(--upload-primary-color)" },
|
|
235
235
|
bordered: !1,
|
|
236
236
|
width: 82,
|
|
237
237
|
height: 82,
|
|
238
|
-
fit:
|
|
239
|
-
src:
|
|
240
|
-
name:
|
|
241
|
-
}, { ref_for: !0 },
|
|
242
|
-
|
|
243
|
-
])])) : (p(),
|
|
244
|
-
|
|
238
|
+
fit: u.fit,
|
|
239
|
+
src: o.value[l - 1].url,
|
|
240
|
+
name: o.value[l - 1].name
|
|
241
|
+
}, { ref_for: !0 }, u.imageProps), null, 16, ["fit", "src", "name"])) : V(o.value[l - 1].url) ? (p(), h("svg", pe, [...e[4] || (e[4] = [
|
|
242
|
+
i("path", { d: "M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" }, null, -1)
|
|
243
|
+
])])) : (p(), h("svg", me, [...e[5] || (e[5] = [
|
|
244
|
+
i("path", { d: "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" }, null, -1)
|
|
245
245
|
])])),
|
|
246
|
-
|
|
247
|
-
|
|
246
|
+
i("div", ge, [
|
|
247
|
+
i("a", {
|
|
248
248
|
class: "file-icon",
|
|
249
249
|
title: "预览",
|
|
250
|
-
onClick: (
|
|
251
|
-
}, [...
|
|
252
|
-
|
|
250
|
+
onClick: (t) => E(l - 1, o.value[l - 1].url)
|
|
251
|
+
}, [...e[6] || (e[6] = [
|
|
252
|
+
i("svg", {
|
|
253
253
|
class: "icon-svg",
|
|
254
254
|
focusable: "false",
|
|
255
255
|
"data-icon": "eye",
|
|
@@ -259,15 +259,15 @@ const re = ["onDrop", "onClick"], ce = ["accept", "multiple", "onChange"], fe =
|
|
|
259
259
|
"aria-hidden": "true",
|
|
260
260
|
viewBox: "64 64 896 896"
|
|
261
261
|
}, [
|
|
262
|
-
|
|
262
|
+
i("path", { d: "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" })
|
|
263
263
|
], -1)
|
|
264
264
|
])], 8, he),
|
|
265
|
-
|
|
265
|
+
M(i("a", {
|
|
266
266
|
class: "file-icon",
|
|
267
267
|
title: "删除",
|
|
268
|
-
onClick:
|
|
269
|
-
}, [...
|
|
270
|
-
|
|
268
|
+
onClick: y((t) => x(l - 1), ["prevent", "stop"])
|
|
269
|
+
}, [...e[7] || (e[7] = [
|
|
270
|
+
i("svg", {
|
|
271
271
|
class: "icon-svg",
|
|
272
272
|
focusable: "false",
|
|
273
273
|
"data-icon": "delete",
|
|
@@ -277,10 +277,10 @@ const re = ["onDrop", "onClick"], ce = ["accept", "multiple", "onChange"], fe =
|
|
|
277
277
|
"aria-hidden": "true",
|
|
278
278
|
viewBox: "64 64 896 896"
|
|
279
279
|
}, [
|
|
280
|
-
|
|
280
|
+
i("path", { d: "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" })
|
|
281
281
|
], -1)
|
|
282
282
|
])], 8, we), [
|
|
283
|
-
[
|
|
283
|
+
[R, !u.disabled]
|
|
284
284
|
])
|
|
285
285
|
])
|
|
286
286
|
])) : Z("", !0)
|
|
@@ -288,10 +288,10 @@ const re = ["onDrop", "onClick"], ce = ["accept", "multiple", "onChange"], fe =
|
|
|
288
288
|
]),
|
|
289
289
|
_: 3
|
|
290
290
|
}, 16),
|
|
291
|
-
|
|
291
|
+
z(w(ie), C({
|
|
292
292
|
ref_key: "messageRef",
|
|
293
|
-
ref:
|
|
294
|
-
},
|
|
293
|
+
ref: r
|
|
294
|
+
}, u.messageProps), null, 16)
|
|
295
295
|
], 4));
|
|
296
296
|
}
|
|
297
297
|
});
|
package/es/utils/resolver.js
CHANGED
|
@@ -108,8 +108,8 @@ function p(e, t) {
|
|
|
108
108
|
`vue-amazing-ui/${i}/${s[a]}/${a}.css`
|
|
109
109
|
);
|
|
110
110
|
}), e === "DatePicker" && o.push(
|
|
111
|
-
`vue-amazing-ui/${i}/node_modules/.pnpm/@vuepic_vue-datepicker@
|
|
112
|
-
), e === "Swiper" && (o.push(`vue-amazing-ui/${i}/node_modules/.pnpm/swiper@
|
|
111
|
+
`vue-amazing-ui/${i}/node_modules/.pnpm/@vuepic_vue-datepicker@12.0.4_vue@3.5.24_typescript@5.9.3_/node_modules/@vuepic/vue-datepicker/dist/main.css`
|
|
112
|
+
), e === "Swiper" && (o.push(`vue-amazing-ui/${i}/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper.css`), [
|
|
113
113
|
"effect-cards",
|
|
114
114
|
"effect-creative",
|
|
115
115
|
"effect-cube",
|
|
@@ -119,7 +119,7 @@ function p(e, t) {
|
|
|
119
119
|
"pagination"
|
|
120
120
|
].forEach((n) => {
|
|
121
121
|
o.push(
|
|
122
|
-
`vue-amazing-ui/${i}/node_modules/.pnpm/swiper@
|
|
122
|
+
`vue-amazing-ui/${i}/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/${n}.css`
|
|
123
123
|
);
|
|
124
124
|
})), o;
|
|
125
125
|
}
|
package/es/video/Video.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.video-wrap[data-v-
|
|
1
|
+
.video-wrap[data-v-4b1efd1d]{width:var(--video-width);height:var(--video-height);position:relative;background:#000;cursor:pointer}.video-wrap .video-element[data-v-4b1efd1d]{display:inline-block;width:100%;height:100%;vertical-align:bottom}.video-wrap .icon-play[data-v-4b1efd1d]{display:inline-flex;align-items:center;justify-content:center;position:absolute;inset:0;margin:auto;width:80px;height:80px;transform:scale(var(--video-icon-scale));border-radius:50%;background-color:#0009;opacity:0;pointer-events:none;transition:background-color .3s}.video-wrap .icon-play .play-svg[data-v-4b1efd1d]{display:inline-block;color:#fff;fill:currentColor;width:29px;height:34px;margin-left:3px}.video-wrap .icon-show[data-v-4b1efd1d]{opacity:1}.video-hover:hover .icon-play[data-v-4b1efd1d]{background-color:#000000b3}
|
package/es/video/Video.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Video.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4b1efd1d"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
package/es/video/Video.vue2.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as k, ref as s, computed as p, watch as y, createElementBlock as z, openBlock as L, normalizeStyle as S, normalizeClass as m, createElementVNode as v, withDirectives as b, mergeProps as E, withModifiers as R, vShow as T } from "vue";
|
|
2
|
+
const D = ["src", "poster", "autoplay", "controls", "loop", "muted", "preload"], M = /* @__PURE__ */ k({
|
|
3
3
|
__name: "Video",
|
|
4
4
|
props: {
|
|
5
5
|
width: { default: 800 },
|
|
@@ -17,87 +17,87 @@ const H = ["src", "poster", "autoplay", "controls", "loop", "muted", "preload"],
|
|
|
17
17
|
iconSize: { default: 80 }
|
|
18
18
|
},
|
|
19
19
|
emits: ["play", "pause"],
|
|
20
|
-
setup(
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
() =>
|
|
20
|
+
setup(e, { expose: h, emit: g }) {
|
|
21
|
+
const a = e, t = s(), d = s(), n = s(!1), u = s(!0), i = s(!1), r = g, w = p(() => typeof a.width == "number" ? `${a.width}px` : a.width), P = p(() => typeof a.height == "number" ? `${a.height}px` : a.height);
|
|
22
|
+
y(
|
|
23
|
+
() => a.second,
|
|
24
24
|
() => {
|
|
25
|
-
|
|
25
|
+
f();
|
|
26
26
|
}
|
|
27
|
-
),
|
|
28
|
-
() =>
|
|
29
|
-
(
|
|
30
|
-
|
|
27
|
+
), y(
|
|
28
|
+
() => a.autoplay,
|
|
29
|
+
(l) => {
|
|
30
|
+
l ? (i.value = !1, u.value = !1, n.value = !0) : (i.value = !0, u.value = !0, n.value = !1, t.value?.pause());
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
immediate: !0,
|
|
34
34
|
flush: "post"
|
|
35
35
|
}
|
|
36
36
|
);
|
|
37
|
-
function
|
|
38
|
-
if (
|
|
39
|
-
|
|
40
|
-
const
|
|
41
|
-
|
|
37
|
+
function f() {
|
|
38
|
+
if (t.value) {
|
|
39
|
+
t.value.currentTime = a.second;
|
|
40
|
+
const l = document.createElement("canvas"), o = l.getContext("2d");
|
|
41
|
+
l.width = t.value.videoWidth, l.height = t.value.videoHeight, o?.drawImage(t.value, 0, 0, l.width, l.height), d.value = l.toDataURL("image/png");
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
function $() {
|
|
45
|
-
|
|
45
|
+
u.value && (u.value = !1, t.value.currentTime = 0), n.value ? t.value.pause() : t.value.play();
|
|
46
|
+
}
|
|
47
|
+
function x() {
|
|
48
|
+
n.value = !1, a.playIcon && (i.value = !0), r("pause");
|
|
46
49
|
}
|
|
47
50
|
function B() {
|
|
48
|
-
|
|
51
|
+
n.value = !0, a.playIcon && (i.value = !1), r("play");
|
|
49
52
|
}
|
|
50
53
|
function C() {
|
|
51
|
-
u.value = !
|
|
54
|
+
u.value && (u.value = !1, t.value.currentTime = 0), n.value || t.value.play();
|
|
52
55
|
}
|
|
53
56
|
function I() {
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
function k() {
|
|
57
|
-
u.value && a.value.pause();
|
|
57
|
+
n.value && t.value.pause();
|
|
58
58
|
}
|
|
59
59
|
return h({
|
|
60
|
-
play:
|
|
61
|
-
pause:
|
|
62
|
-
}), (
|
|
63
|
-
class:
|
|
64
|
-
style:
|
|
60
|
+
play: C,
|
|
61
|
+
pause: I
|
|
62
|
+
}), (l, o) => (L(), z("div", {
|
|
63
|
+
class: m(["video-wrap", { "video-hover": i.value }]),
|
|
64
|
+
style: S(`--video-width: ${w.value}; --video-height: ${P.value}; --video-icon-scale: ${e.iconSize / 80};`)
|
|
65
65
|
}, [
|
|
66
|
-
|
|
66
|
+
v("video", E({
|
|
67
67
|
ref_key: "veoRef",
|
|
68
|
-
ref:
|
|
68
|
+
ref: t,
|
|
69
69
|
class: "video-element",
|
|
70
70
|
style: `object-fit: ${e.fit};`,
|
|
71
71
|
src: e.src,
|
|
72
|
-
poster: e.poster ? e.poster :
|
|
72
|
+
poster: e.poster ? e.poster : d.value,
|
|
73
73
|
autoplay: e.autoplay,
|
|
74
|
-
controls: !
|
|
74
|
+
controls: !u.value && e.controls,
|
|
75
75
|
loop: e.loop,
|
|
76
76
|
muted: e.autoplay || e.muted,
|
|
77
77
|
preload: e.preload,
|
|
78
78
|
crossorigin: "anonymous",
|
|
79
|
-
onLoadedmetadata:
|
|
80
|
-
onPause:
|
|
81
|
-
onPlay:
|
|
82
|
-
onClick:
|
|
83
|
-
},
|
|
84
|
-
|
|
85
|
-
class:
|
|
86
|
-
}, [...
|
|
87
|
-
|
|
79
|
+
onLoadedmetadata: o[0] || (o[0] = (c) => e.poster ? () => !1 : f()),
|
|
80
|
+
onPause: o[1] || (o[1] = (c) => x()),
|
|
81
|
+
onPlay: o[2] || (o[2] = (c) => B()),
|
|
82
|
+
onClick: R($, ["prevent"])
|
|
83
|
+
}, l.$attrs), " 您的浏览器不支持video标签。 ", 16, D),
|
|
84
|
+
b(v("span", {
|
|
85
|
+
class: m(["icon-play", { "icon-show": i.value }])
|
|
86
|
+
}, [...o[3] || (o[3] = [
|
|
87
|
+
v("svg", {
|
|
88
88
|
class: "play-svg",
|
|
89
89
|
xmlns: "http://www.w3.org/2000/svg",
|
|
90
90
|
viewBox: "0 0 34 34"
|
|
91
91
|
}, [
|
|
92
|
-
|
|
92
|
+
v("path", { d: `M28.26,11.961L11.035,0.813C7.464-1.498,3,1.391,3,6.013v21.974c0,4.622,4.464,7.511,8.035,5.2L28.26,22.039
|
|
93
93
|
C31.913,19.675,31.913,14.325,28.26,11.961z` })
|
|
94
94
|
], -1)
|
|
95
95
|
])], 2), [
|
|
96
|
-
[
|
|
96
|
+
[T, u.value || e.playIcon]
|
|
97
97
|
])
|
|
98
98
|
], 6));
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
101
|
export {
|
|
102
|
-
|
|
102
|
+
M as default
|
|
103
103
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.waterfall-wrap[data-v-
|
|
1
|
+
.waterfall-wrap[data-v-029a8750]{position:relative;width:var(--waterfall-width);height:var(--waterfall-height);border-radius:var(--waterfall-border-radius);background-color:var(--waterfall-bg-color)}.waterfall-wrap .waterfall-image[data-v-029a8750]{position:absolute}.waterfall-wrap .waterfall-image .image-link[data-v-029a8750]{display:block;height:100%;cursor:default}.waterfall-wrap .waterfall-image .image-link .image-item[data-v-029a8750]{width:100%;height:100%;border-radius:var(--border-radius);display:inline-block;vertical-align:bottom}.waterfall-wrap .waterfall-image .link-cursor[data-v-029a8750]{cursor:pointer}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Waterfall.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-029a8750"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|