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
package/es/card/Card.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.card-wrap[data-v-
|
|
1
|
+
.card-wrap[data-v-c65b14fd]{font-size:14px;color:#000000e0;line-height:1.57142857;position:relative;background:#fff;border-radius:8px;text-align:left;transition:width .2s}.card-wrap .card-head[data-v-c65b14fd]{display:flex;justify-content:center;flex-direction:column;margin-bottom:-1px;color:#000000e0;font-weight:600;background:transparent;border-bottom:1px solid #f0f0f0;border-radius:8px 8px 0 0;transition:all .2s}.card-wrap .card-head .head-wrapper[data-v-c65b14fd]{width:100%;display:flex;align-items:center;gap:8px}.card-wrap .card-head .head-wrapper .head-title[data-v-c65b14fd]{display:inline-block;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-wrap .card-head .head-wrapper .head-extra[data-v-c65b14fd]{margin-left:auto;font-weight:400;font-size:14px;transition:font-size .2s}.card-wrap .card-body[data-v-c65b14fd]{border-radius:0 0 8px 8px;transition:padding .2s}.card-bordered[data-v-c65b14fd]{border:1px solid #f0f0f0}.card-small .card-head[data-v-c65b14fd]{min-height:38px;padding:0 12px;font-size:14px}.card-small .card-body[data-v-c65b14fd]{padding:12px}.card-middle .card-head[data-v-c65b14fd]{min-height:56px;padding:0 24px;font-size:16px}.card-middle .card-body[data-v-c65b14fd]{padding:24px}.card-large[data-v-c65b14fd]{font-size:16px}.card-large .card-head[data-v-c65b14fd]{min-height:74px;padding:0 36px;font-size:18px}.card-large .card-head .head-wrapper .head-extra[data-v-c65b14fd]{font-size:16px}.card-large .card-body[data-v-c65b14fd]{padding:36px}.card-hoverable[data-v-c65b14fd]{cursor:pointer;transition:box-shadow .2s,border-color .2s}.card-hoverable[data-v-c65b14fd]:hover{box-shadow:0 1px 2px -2px #00000029,0 3px 6px #0000001f,0 5px 12px 4px #00000017}
|
package/es/card/Card.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Card.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-c65b14fd"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
package/es/card/Card.vue2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as x, computed as l, createElementBlock as d, openBlock as r, normalizeStyle as s, normalizeClass as w, createCommentVNode as i, createElementVNode as u, renderSlot as n, createTextVNode as c, toDisplayString as f, createVNode as b, unref as S, mergeProps as g, withCtx as k } from "vue";
|
|
2
2
|
import z from "../skeleton/index.js";
|
|
3
3
|
import { useSlotsExist as B } from "../utils/index.js";
|
|
4
4
|
const C = { class: "head-wrapper" }, E = {
|
|
@@ -7,7 +7,7 @@ const C = { class: "head-wrapper" }, E = {
|
|
|
7
7
|
}, $ = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "head-extra"
|
|
10
|
-
}, T = /* @__PURE__ */
|
|
10
|
+
}, T = /* @__PURE__ */ x({
|
|
11
11
|
__name: "Card",
|
|
12
12
|
props: {
|
|
13
13
|
width: { default: "auto" },
|
|
@@ -21,9 +21,9 @@ const C = { class: "head-wrapper" }, E = {
|
|
|
21
21
|
headStyle: { default: () => ({}) },
|
|
22
22
|
bodyStyle: { default: () => ({}) }
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
25
|
-
const t =
|
|
26
|
-
return (
|
|
24
|
+
setup(e) {
|
|
25
|
+
const t = e, a = B(["title", "extra"]), h = l(() => typeof t.width == "number" ? `${t.width}px` : t.width), m = l(() => a.title || a.extra || t.title || t.extra), y = l(() => a.title || t.title), v = l(() => a.extra || t.extra);
|
|
26
|
+
return (o, N) => (r(), d("div", {
|
|
27
27
|
class: w(["card-wrap", {
|
|
28
28
|
"card-bordered": e.bordered,
|
|
29
29
|
"card-small": e.size === "small",
|
|
@@ -31,36 +31,36 @@ const C = { class: "head-wrapper" }, E = {
|
|
|
31
31
|
"card-large": e.size === "large",
|
|
32
32
|
"card-hoverable": e.hoverable
|
|
33
33
|
}]),
|
|
34
|
-
style:
|
|
34
|
+
style: s(`width: ${h.value};`)
|
|
35
35
|
}, [
|
|
36
|
-
|
|
36
|
+
m.value ? (r(), d("div", {
|
|
37
37
|
key: 0,
|
|
38
38
|
class: "card-head",
|
|
39
|
-
style:
|
|
39
|
+
style: s(e.headStyle)
|
|
40
40
|
}, [
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
u("div", C, [
|
|
42
|
+
y.value ? (r(), d("div", E, [
|
|
43
|
+
n(o.$slots, "title", {}, () => [
|
|
44
|
+
c(f(e.title), 1)
|
|
45
45
|
], !0)
|
|
46
|
-
])) :
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
])) : i("", !0),
|
|
47
|
+
v.value ? (r(), d("div", $, [
|
|
48
|
+
n(o.$slots, "extra", {}, () => [
|
|
49
|
+
c(f(e.extra), 1)
|
|
50
50
|
], !0)
|
|
51
|
-
])) :
|
|
51
|
+
])) : i("", !0)
|
|
52
52
|
])
|
|
53
|
-
], 4)) :
|
|
54
|
-
|
|
53
|
+
], 4)) : i("", !0),
|
|
54
|
+
u("div", {
|
|
55
55
|
class: "card-body",
|
|
56
|
-
style:
|
|
56
|
+
style: s(e.bodyStyle)
|
|
57
57
|
}, [
|
|
58
58
|
b(S(z), g({
|
|
59
59
|
title: !1,
|
|
60
60
|
loading: e.loading
|
|
61
61
|
}, e.skeletonProps), {
|
|
62
62
|
default: k(() => [
|
|
63
|
-
|
|
63
|
+
n(o.$slots, "default", {}, void 0, !0)
|
|
64
64
|
]),
|
|
65
65
|
_: 3
|
|
66
66
|
}, 16, ["loading"])
|
package/es/carousel/Carousel.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.carousel-wrap[data-v-
|
|
1
|
+
.carousel-wrap[data-v-9e7dd240]{display:inline-block;width:var(--carousel-width);height:var(--carousel-height);margin:0 auto;position:relative;overflow:hidden}.carousel-wrap .carousel-flex-wrap[data-v-9e7dd240]{display:flex;width:100%;height:100%}.carousel-wrap .carousel-flex-wrap .image-wrap[data-v-9e7dd240]{flex-shrink:0;display:inline-block;cursor:pointer}.carousel-wrap .carousel-flex-wrap .image-wrap .image-link[data-v-9e7dd240]{display:block;height:100%;cursor:default}.carousel-wrap .carousel-flex-wrap .image-wrap .image-link .image-item[data-v-9e7dd240]{width:100%;height:100%;border-radius:var(--border-radius);display:inline-block;vertical-align:bottom}.carousel-wrap .carousel-flex-wrap .image-wrap .link-cursor[data-v-9e7dd240]{cursor:pointer}.carousel-wrap:hover .arrow-left[data-v-9e7dd240],.carousel-wrap:hover .arrow-right[data-v-9e7dd240]{opacity:.7;pointer-events:auto}.carousel-wrap .arrow-left[data-v-9e7dd240]{position:absolute;left:6px;top:50%;transform:translateY(-50%);color:var(--carousel-arrow-color);fill:currentColor;cursor:pointer;opacity:0;pointer-events:none;outline:none;transition:opacity .3s}.carousel-wrap .arrow-left[data-v-9e7dd240]:hover{opacity:1}.carousel-wrap .arrow-right[data-v-9e7dd240]{position:absolute;right:6px;top:50%;transform:translateY(-50%);color:var(--carousel-arrow-color);fill:currentColor;cursor:pointer;opacity:0;pointer-events:none;outline:none;transition:opacity .3s}.carousel-wrap .arrow-right[data-v-9e7dd240]:hover{opacity:1}.carousel-wrap .carousel-switch[data-v-9e7dd240]{display:flex;justify-content:center;gap:8px;position:absolute;z-index:9;bottom:12px;left:50%;transform:translate(-50%);height:auto}.carousel-wrap .carousel-switch .dot-item[data-v-9e7dd240]{width:var(--carousel-dot-size);height:var(--carousel-dot-size);border-radius:var(--carousel-dot-size);background-color:var(--carousel-dot-color);cursor:pointer;outline:none;transition:all .3s cubic-bezier(.4,0,.2,1)}.carousel-wrap .switch-top[data-v-9e7dd240]{top:12px;bottom:auto}.carousel-wrap .switch-left[data-v-9e7dd240]{inset:50% auto auto 12px;transform:translateY(-50%);flex-direction:column}.carousel-wrap .switch-right[data-v-9e7dd240]{inset:50% 12px auto auto;transform:translateY(-50%);flex-direction:column}.carousel-vertical .carousel-flex-wrap[data-v-9e7dd240]{flex-direction:column}.carousel-vertical .arrow-left[data-v-9e7dd240]{top:6px;left:50%;transform:translate(-50%) rotate(90deg)}.carousel-vertical .arrow-right[data-v-9e7dd240]{top:auto;bottom:6px;left:50%;transform:translate(-50%) rotate(90deg)}.carousel-fade .image-wrap[data-v-9e7dd240]{position:absolute;opacity:0;pointer-events:none;transition-property:opacity;transition-duration:var(--carousel-fade-duration);transition-timing-function:var(--carousel-fade-function)}.carousel-fade .image-fade-active[data-v-9e7dd240]{opacity:1;pointer-events:auto}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Carousel.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-9e7dd240"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useInject as
|
|
1
|
+
import { defineComponent as be, ref as r, computed as m, watch as Z, createElementBlock as f, openBlock as c, normalizeStyle as g, normalizeClass as b, createElementVNode as x, createCommentVNode as I, Fragment as K, renderList as _, createVNode as ee, unref as te, mergeProps as ae, withCtx as le, withModifiers as O } from "vue";
|
|
2
|
+
import { useInject as xe, useEventListener as Se, useResizeObserver as Ae, cancelRaf as h, rafTimeout as ue } from "../utils/index.js";
|
|
3
3
|
import { useTransition as ze } from "@vueuse/core";
|
|
4
|
-
import
|
|
5
|
-
const Fe = ["onClick"], Le = ["href", "target"],
|
|
4
|
+
import ie from "../spin/index.js";
|
|
5
|
+
const Fe = ["onClick"], Le = ["href", "target"], pe = ["onLoad", "src", "alt"], Ee = ["href", "target"], Me = ["src", "alt"], Pe = ["onClick", "onMouseenter"], Te = /* @__PURE__ */ be({
|
|
6
6
|
__name: "Carousel",
|
|
7
7
|
props: {
|
|
8
8
|
images: { default: () => [] },
|
|
@@ -30,20 +30,20 @@ const Fe = ["onClick"], Le = ["href", "target"], Ee = ["onLoad", "src", "alt"],
|
|
|
30
30
|
slideFunction: { default: () => [0.65, 0, 0.35, 1] }
|
|
31
31
|
},
|
|
32
32
|
emits: ["change", "click"],
|
|
33
|
-
setup(
|
|
34
|
-
const t =
|
|
35
|
-
transform: (
|
|
33
|
+
setup(a, { expose: oe, emit: ne }) {
|
|
34
|
+
const t = a, s = r(0), o = r(), M = r(!1), v = r(!1), w = r(), P = r(), S = r(), l = r(1), A = r(), z = r(), k = r(Array(t.images.length).fill(!1)), { colorPalettes: re } = xe("Carousel"), H = ne, se = m(() => typeof t.width == "number" ? `${t.width}px` : t.width), ve = m(() => typeof t.height == "number" ? `${t.height}px` : t.height), n = m(() => t.images.length), F = m(() => ["left", "right"].includes(t.dotPosition)), d = m(() => F.value ? z.value : A.value), fe = m(() => t.dotActiveColor === void 0 ? re.value[5] : t.dotActiveColor), ce = m(() => t.effect === "slide" ? {
|
|
35
|
+
transform: (F.value ? "translateY" : "translateX") + `(${-s.value}px)`
|
|
36
36
|
} : {});
|
|
37
37
|
Z(
|
|
38
38
|
() => [
|
|
39
|
-
|
|
39
|
+
F.value,
|
|
40
40
|
t.effect,
|
|
41
41
|
t.images,
|
|
42
42
|
t.autoplay,
|
|
43
43
|
t.interval,
|
|
44
44
|
t.fadeDuration,
|
|
45
45
|
t.fadeFunction,
|
|
46
|
-
|
|
46
|
+
k.value[0]
|
|
47
47
|
],
|
|
48
48
|
() => {
|
|
49
49
|
V();
|
|
@@ -52,243 +52,243 @@ const Fe = ["onClick"], Le = ["href", "target"], Ee = ["onLoad", "src", "alt"],
|
|
|
52
52
|
deep: !0,
|
|
53
53
|
flush: "post"
|
|
54
54
|
}
|
|
55
|
-
), Z(
|
|
55
|
+
), Z(l, (e) => {
|
|
56
56
|
H("change", e);
|
|
57
|
-
}), Se(document, "visibilitychange", me), Ae(
|
|
57
|
+
}), Se(document, "visibilitychange", me), Ae(S, () => {
|
|
58
58
|
de(), V();
|
|
59
59
|
});
|
|
60
60
|
function V() {
|
|
61
|
-
|
|
61
|
+
o.value && h(o.value), w.value && cancelAnimationFrame(w.value), v.value = !1, t.effect === "slide" && (s.value = (l.value - 1) * d.value), R();
|
|
62
62
|
}
|
|
63
63
|
function W(e) {
|
|
64
|
-
|
|
64
|
+
k.value[e] = !0;
|
|
65
65
|
}
|
|
66
66
|
function de() {
|
|
67
|
-
|
|
67
|
+
A.value = S.value.offsetWidth, z.value = S.value.offsetHeight;
|
|
68
68
|
}
|
|
69
69
|
function B(e) {
|
|
70
|
-
|
|
70
|
+
n.value > 1 && ((e.key === "ArrowLeft" || e.key === "ArrowUp") && D(), (e.key === "ArrowRight" || e.key === "ArrowDown") && N());
|
|
71
71
|
}
|
|
72
72
|
function me() {
|
|
73
|
-
document.visibilityState === "hidden" ? (
|
|
73
|
+
document.visibilityState === "hidden" ? (o.value && h(o.value), s.value = C.value + E.value, v.value = !1) : R();
|
|
74
74
|
}
|
|
75
75
|
function R() {
|
|
76
|
-
t.autoplay &&
|
|
76
|
+
t.autoplay && n.value > 1 && k.value[0] && (M.value = !1, L());
|
|
77
77
|
}
|
|
78
78
|
function ge() {
|
|
79
|
-
|
|
79
|
+
o.value && h(o.value), M.value = !0;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
M.value || (
|
|
83
|
-
if (
|
|
84
|
-
const e =
|
|
85
|
-
T(e),
|
|
81
|
+
function L() {
|
|
82
|
+
M.value || (o.value && h(o.value), o.value = ue(() => {
|
|
83
|
+
if (v.value = !0, t.effect === "slide") {
|
|
84
|
+
const e = s.value % (n.value * d.value) + d.value;
|
|
85
|
+
T(e), l.value = l.value % n.value + 1;
|
|
86
86
|
} else
|
|
87
|
-
|
|
87
|
+
$("left");
|
|
88
88
|
}, t.interval));
|
|
89
89
|
}
|
|
90
90
|
function D() {
|
|
91
|
-
if (!
|
|
92
|
-
if (
|
|
93
|
-
const e = (
|
|
94
|
-
J(e),
|
|
91
|
+
if (!v.value)
|
|
92
|
+
if (v.value = !0, o.value && h(o.value), t.effect === "slide") {
|
|
93
|
+
const e = (l.value + n.value - 2) % n.value * d.value;
|
|
94
|
+
J(e), l.value = l.value - 1 > 0 ? l.value - 1 : n.value;
|
|
95
95
|
} else
|
|
96
|
-
|
|
96
|
+
$("right");
|
|
97
97
|
}
|
|
98
98
|
function N() {
|
|
99
|
-
if (!
|
|
100
|
-
if (
|
|
101
|
-
const e =
|
|
102
|
-
T(e),
|
|
99
|
+
if (!v.value)
|
|
100
|
+
if (v.value = !0, o.value && h(o.value), t.effect === "slide") {
|
|
101
|
+
const e = l.value * d.value;
|
|
102
|
+
T(e), l.value = l.value % n.value + 1;
|
|
103
103
|
} else
|
|
104
|
-
|
|
104
|
+
$("left");
|
|
105
105
|
}
|
|
106
|
-
const
|
|
106
|
+
const p = r(0), C = r(0), E = r(0), U = ze(p, {
|
|
107
107
|
duration: t.slideDuration,
|
|
108
108
|
// 过渡动画时长
|
|
109
109
|
transition: t.slideFunction
|
|
110
110
|
// 过渡动画函数
|
|
111
111
|
});
|
|
112
|
-
function
|
|
113
|
-
e === "left" ?
|
|
114
|
-
|
|
112
|
+
function $(e, u) {
|
|
113
|
+
e === "left" ? l.value = l.value % n.value + 1 : e === "right" ? l.value = l.value - 1 > 0 ? l.value - 1 : n.value : l.value = u, ue(() => {
|
|
114
|
+
v.value = !1, t.autoplay && L();
|
|
115
115
|
}, t.fadeDuration);
|
|
116
116
|
}
|
|
117
117
|
function j(e) {
|
|
118
|
-
P.value = e,
|
|
118
|
+
P.value = e, p.value = p.value ? 0 : 1, C.value = s.value, E.value = e - C.value;
|
|
119
119
|
}
|
|
120
120
|
function X() {
|
|
121
|
-
|
|
121
|
+
p.value ? s.value = C.value + E.value * U.value : s.value = C.value + E.value * (1 - U.value);
|
|
122
122
|
}
|
|
123
123
|
function Y() {
|
|
124
|
-
|
|
124
|
+
s.value >= P.value ? (v.value = !1, t.autoplay && L()) : (X(), w.value = requestAnimationFrame(Y));
|
|
125
125
|
}
|
|
126
126
|
function T(e) {
|
|
127
|
-
|
|
127
|
+
s.value === n.value * d.value && (s.value = 0), j(e), w.value = requestAnimationFrame(Y);
|
|
128
128
|
}
|
|
129
129
|
function G() {
|
|
130
|
-
|
|
130
|
+
s.value <= P.value ? (v.value = !1, t.autoplay && L()) : (X(), w.value = requestAnimationFrame(G));
|
|
131
131
|
}
|
|
132
132
|
function J(e) {
|
|
133
|
-
|
|
133
|
+
s.value === 0 && (s.value = n.value * d.value), j(e), w.value = requestAnimationFrame(G);
|
|
134
134
|
}
|
|
135
135
|
function q(e) {
|
|
136
|
-
if (!
|
|
137
|
-
if (
|
|
136
|
+
if (!v.value && l.value !== e) {
|
|
137
|
+
if (v.value = !0, o.value && h(o.value), e < l.value)
|
|
138
138
|
if (t.effect === "slide") {
|
|
139
|
-
const
|
|
140
|
-
J(
|
|
139
|
+
const u = (e - 1) * d.value;
|
|
140
|
+
J(u), l.value = e;
|
|
141
141
|
} else
|
|
142
|
-
|
|
143
|
-
if (e >
|
|
142
|
+
$("switch", e);
|
|
143
|
+
if (e > l.value)
|
|
144
144
|
if (t.effect === "slide") {
|
|
145
|
-
const
|
|
146
|
-
T(
|
|
145
|
+
const u = (e - 1) * d.value;
|
|
146
|
+
T(u), l.value = e;
|
|
147
147
|
} else
|
|
148
|
-
|
|
148
|
+
$("switch", e);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function he(e) {
|
|
152
152
|
q(e);
|
|
153
153
|
}
|
|
154
154
|
function Q(e) {
|
|
155
155
|
H("click", e);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
158
|
-
e >= 1 && e <=
|
|
157
|
+
function we(e) {
|
|
158
|
+
e >= 1 && e <= n.value && q(e);
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function ye() {
|
|
161
161
|
D();
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function ke() {
|
|
164
164
|
N();
|
|
165
165
|
}
|
|
166
|
-
function
|
|
167
|
-
return
|
|
166
|
+
function Ce() {
|
|
167
|
+
return l.value;
|
|
168
168
|
}
|
|
169
|
-
return
|
|
170
|
-
to:
|
|
171
|
-
prev:
|
|
172
|
-
next:
|
|
173
|
-
getCurrentIndex:
|
|
174
|
-
}), (e,
|
|
169
|
+
return oe({
|
|
170
|
+
to: we,
|
|
171
|
+
prev: ye,
|
|
172
|
+
next: ke,
|
|
173
|
+
getCurrentIndex: Ce
|
|
174
|
+
}), (e, u) => (c(), f("div", {
|
|
175
175
|
ref_key: "carouselRef",
|
|
176
|
-
ref:
|
|
177
|
-
class:
|
|
178
|
-
style:
|
|
176
|
+
ref: S,
|
|
177
|
+
class: b(["carousel-wrap", { "carousel-vertical": F.value, "carousel-fade": a.effect === "fade" }]),
|
|
178
|
+
style: g(`
|
|
179
179
|
--carousel-width: ${se.value};
|
|
180
180
|
--carousel-height: ${ve.value};
|
|
181
|
-
--carousel-arrow-color: ${
|
|
182
|
-
--carousel-dot-size: ${
|
|
183
|
-
--carousel-dot-color: ${
|
|
181
|
+
--carousel-arrow-color: ${a.arrowColor};
|
|
182
|
+
--carousel-dot-size: ${a.dotSize}px;
|
|
183
|
+
--carousel-dot-color: ${a.dotColor};
|
|
184
184
|
--carousel-fade-duration: ${t.fadeDuration}ms;
|
|
185
185
|
--carousel-fade-function: ${t.fadeFunction};
|
|
186
186
|
`),
|
|
187
|
-
onMouseenter:
|
|
188
|
-
onMouseleave:
|
|
187
|
+
onMouseenter: u[2] || (u[2] = (i) => a.autoplay && a.pauseOnMouseEnter ? ge() : () => !1),
|
|
188
|
+
onMouseleave: u[3] || (u[3] = (i) => a.autoplay && a.pauseOnMouseEnter ? R() : () => !1)
|
|
189
189
|
}, [
|
|
190
|
-
|
|
190
|
+
x("div", {
|
|
191
191
|
class: "carousel-flex-wrap",
|
|
192
|
-
style:
|
|
192
|
+
style: g(ce.value)
|
|
193
193
|
}, [
|
|
194
|
-
(
|
|
195
|
-
class:
|
|
196
|
-
onClick: (
|
|
197
|
-
key:
|
|
194
|
+
(c(!0), f(K, null, _(a.images, (i, y) => (c(), f("div", {
|
|
195
|
+
class: b(["image-wrap", { "image-fade-active": a.effect === "fade" && l.value === y + 1 }]),
|
|
196
|
+
onClick: ($e) => Q(i),
|
|
197
|
+
key: y
|
|
198
198
|
}, [
|
|
199
|
-
|
|
200
|
-
spinning: !
|
|
199
|
+
ee(te(ie), ae({
|
|
200
|
+
spinning: !k.value[y],
|
|
201
201
|
indicator: "dynamic-circle"
|
|
202
|
-
}, { ref_for: !0 },
|
|
203
|
-
default:
|
|
204
|
-
|
|
205
|
-
class:
|
|
206
|
-
href:
|
|
207
|
-
target:
|
|
202
|
+
}, { ref_for: !0 }, a.spinProps), {
|
|
203
|
+
default: le(() => [
|
|
204
|
+
x("a", {
|
|
205
|
+
class: b(["image-link", { "link-cursor": i.link }]),
|
|
206
|
+
href: i.link,
|
|
207
|
+
target: i.target ? i.target : "_blank"
|
|
208
208
|
}, [
|
|
209
|
-
(
|
|
210
|
-
onLoad: (
|
|
211
|
-
src:
|
|
212
|
-
key:
|
|
213
|
-
alt:
|
|
209
|
+
(c(), f("img", {
|
|
210
|
+
onLoad: ($e) => W(y),
|
|
211
|
+
src: i.src,
|
|
212
|
+
key: i.src,
|
|
213
|
+
alt: i.name,
|
|
214
214
|
class: "image-item",
|
|
215
|
-
style:
|
|
216
|
-
}, null, 44,
|
|
215
|
+
style: g(`width: ${A.value}px; height: ${z.value}px;`)
|
|
216
|
+
}, null, 44, pe))
|
|
217
217
|
], 10, Le)
|
|
218
218
|
]),
|
|
219
219
|
_: 2
|
|
220
220
|
}, 1040, ["spinning"])
|
|
221
221
|
], 10, Fe))), 128)),
|
|
222
|
-
|
|
222
|
+
n.value && a.effect === "slide" ? (c(), f("div", {
|
|
223
223
|
key: 0,
|
|
224
224
|
class: "image-wrap",
|
|
225
|
-
onClick:
|
|
225
|
+
onClick: u[1] || (u[1] = (i) => Q(a.images[0]))
|
|
226
226
|
}, [
|
|
227
|
-
|
|
228
|
-
spinning: !
|
|
227
|
+
ee(te(ie), ae({
|
|
228
|
+
spinning: !k.value[0],
|
|
229
229
|
indicator: "dynamic-circle"
|
|
230
|
-
},
|
|
231
|
-
default:
|
|
232
|
-
|
|
233
|
-
class:
|
|
234
|
-
href:
|
|
235
|
-
target:
|
|
230
|
+
}, a.spinProps), {
|
|
231
|
+
default: le(() => [
|
|
232
|
+
x("a", {
|
|
233
|
+
class: b(["image-link", { "link-cursor": a.images[0].link }]),
|
|
234
|
+
href: a.images[0].link,
|
|
235
|
+
target: a.images[0].target ? a.images[0].target : "_blank"
|
|
236
236
|
}, [
|
|
237
|
-
(
|
|
238
|
-
onLoad:
|
|
239
|
-
src:
|
|
240
|
-
key:
|
|
241
|
-
alt:
|
|
237
|
+
(c(), f("img", {
|
|
238
|
+
onLoad: u[0] || (u[0] = (i) => W(0)),
|
|
239
|
+
src: a.images[0].src,
|
|
240
|
+
key: a.images[0].src,
|
|
241
|
+
alt: a.images[0].name,
|
|
242
242
|
class: "image-item",
|
|
243
|
-
style:
|
|
244
|
-
}, null, 44,
|
|
245
|
-
], 10,
|
|
243
|
+
style: g(`width: ${A.value}px; height: ${z.value}px;`)
|
|
244
|
+
}, null, 44, Me))
|
|
245
|
+
], 10, Ee)
|
|
246
246
|
]),
|
|
247
247
|
_: 1
|
|
248
248
|
}, 16, ["spinning"])
|
|
249
249
|
])) : I("", !0)
|
|
250
250
|
], 4),
|
|
251
|
-
|
|
252
|
-
(
|
|
251
|
+
a.showArrow ? (c(), f(K, { key: 0 }, [
|
|
252
|
+
(c(), f("svg", {
|
|
253
253
|
tabindex: "0",
|
|
254
254
|
class: "arrow-left",
|
|
255
|
-
style:
|
|
255
|
+
style: g(`width: ${a.arrowSize}px; height: ${a.arrowSize}px;`),
|
|
256
256
|
onClick: D,
|
|
257
257
|
onKeydown: O(B, ["prevent"]),
|
|
258
258
|
xmlns: "http://www.w3.org/2000/svg",
|
|
259
259
|
viewBox: "0 0 16 16"
|
|
260
|
-
}, [...
|
|
261
|
-
|
|
260
|
+
}, [...u[4] || (u[4] = [
|
|
261
|
+
x("path", { d: "M10.26 3.2a.75.75 0 0 1 .04 1.06L6.773 8l3.527 3.74a.75.75 0 1 1-1.1 1.02l-4-4.25a.75.75 0 0 1 0-1.02l4-4.25a.75.75 0 0 1 1.06-.04z" }, null, -1)
|
|
262
262
|
])], 36)),
|
|
263
|
-
(
|
|
263
|
+
(c(), f("svg", {
|
|
264
264
|
tabindex: "0",
|
|
265
265
|
class: "arrow-right",
|
|
266
|
-
style:
|
|
266
|
+
style: g(`width: ${a.arrowSize}px; height: ${a.arrowSize}px;`),
|
|
267
267
|
onClick: N,
|
|
268
268
|
onKeydown: O(B, ["prevent"]),
|
|
269
269
|
xmlns: "http://www.w3.org/2000/svg",
|
|
270
270
|
viewBox: "0 0 16 16"
|
|
271
|
-
}, [...
|
|
272
|
-
|
|
271
|
+
}, [...u[5] || (u[5] = [
|
|
272
|
+
x("path", { d: "M5.74 3.2a.75.75 0 0 0-.04 1.06L9.227 8L5.7 11.74a.75.75 0 1 0 1.1 1.02l4-4.25a.75.75 0 0 0 0-1.02l-4-4.25a.75.75 0 0 0-1.06-.04z" }, null, -1)
|
|
273
273
|
])], 36))
|
|
274
274
|
], 64)) : I("", !0),
|
|
275
|
-
|
|
275
|
+
a.dots ? (c(), f("div", {
|
|
276
276
|
key: 1,
|
|
277
|
-
class:
|
|
277
|
+
class: b(["carousel-switch", `switch-${a.dotPosition}`])
|
|
278
278
|
}, [
|
|
279
|
-
(
|
|
279
|
+
(c(!0), f(K, null, _(n.value, (i) => (c(), f("div", {
|
|
280
280
|
tabindex: "0",
|
|
281
281
|
class: "dot-item",
|
|
282
|
-
style:
|
|
283
|
-
key:
|
|
284
|
-
onClick: (
|
|
285
|
-
onMouseenter: (
|
|
282
|
+
style: g([a.dotStyle, l.value === i ? { backgroundColor: fe.value, ...a.dotActiveStyle } : {}]),
|
|
283
|
+
key: i,
|
|
284
|
+
onClick: (y) => a.dotsTrigger === "click" ? q(i) : () => !1,
|
|
285
|
+
onMouseenter: (y) => a.dotsTrigger === "hover" ? he(i) : () => !1,
|
|
286
286
|
onKeydown: O(B, ["prevent"])
|
|
287
|
-
}, null, 44,
|
|
287
|
+
}, null, 44, Pe))), 128))
|
|
288
288
|
], 2)) : I("", !0)
|
|
289
289
|
], 38));
|
|
290
290
|
}
|
|
291
291
|
});
|
|
292
292
|
export {
|
|
293
|
-
|
|
293
|
+
Te as default
|
|
294
294
|
};
|
package/es/cascader/Cascader.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.cascader-wrap[data-v-
|
|
1
|
+
.cascader-wrap[data-v-44117210]{display:inline-flex;gap:var(--cascader-select-gap)}
|
|
@@ -19,8 +19,12 @@ export interface Props {
|
|
|
19
19
|
changeOnSelect?: boolean;
|
|
20
20
|
allowClear?: boolean;
|
|
21
21
|
search?: boolean;
|
|
22
|
+
placement?: 'bottom' | 'top';
|
|
23
|
+
flip?: boolean;
|
|
24
|
+
to?: string | HTMLElement | false;
|
|
22
25
|
filter?: Function | true;
|
|
23
26
|
maxDisplay?: number;
|
|
27
|
+
scrollbarProps?: object;
|
|
24
28
|
modelValue?: number[] | string[];
|
|
25
29
|
}
|
|
26
30
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -38,12 +42,16 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
38
42
|
placeholder: string | string[];
|
|
39
43
|
width: "auto" | number | number[];
|
|
40
44
|
height: number;
|
|
45
|
+
placement: "bottom" | "top";
|
|
46
|
+
flip: boolean;
|
|
47
|
+
to: string | HTMLElement | false;
|
|
41
48
|
disabled: boolean | boolean[];
|
|
42
49
|
value: string;
|
|
43
50
|
gap: number;
|
|
44
51
|
options: Option[];
|
|
45
52
|
allowClear: boolean;
|
|
46
53
|
maxDisplay: number;
|
|
54
|
+
scrollbarProps: object;
|
|
47
55
|
modelValue: number[] | string[];
|
|
48
56
|
changeOnSelect: boolean;
|
|
49
57
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Cascader.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-44117210"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|