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,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { useInject as
|
|
4
|
-
const de = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as le, ref as i, computed as p, watch as T, nextTick as J, createElementBlock as s, openBlock as a, normalizeStyle as $, unref as S, createElementVNode as K, normalizeClass as w, Fragment as h, renderList as W, createBlock as m, resolveDynamicComponent as O, withCtx as f, mergeProps as P, createTextVNode as y, toDisplayString as g, createVNode as ae, TransitionGroup as ie, withDirectives as se, vShow as re } from "vue";
|
|
2
|
+
import b from "../ellipsis/index.js";
|
|
3
|
+
import { useInject as ne, useResizeObserver as oe, cancelRaf as A, rafTimeout as ue } from "../utils/index.js";
|
|
4
|
+
const de = /* @__PURE__ */ le({
|
|
5
5
|
__name: "TextScroll",
|
|
6
6
|
props: {
|
|
7
7
|
items: { default: () => [] },
|
|
@@ -21,24 +21,24 @@ const de = /* @__PURE__ */ te({
|
|
|
21
21
|
pauseOnMouseEnter: { type: Boolean, default: !1 }
|
|
22
22
|
},
|
|
23
23
|
emits: ["click"],
|
|
24
|
-
setup(
|
|
25
|
-
const
|
|
26
|
-
width: typeof
|
|
27
|
-
height: `${
|
|
28
|
-
})), H =
|
|
29
|
-
|
|
30
|
-
() =>
|
|
24
|
+
setup(t, { expose: Q, emit: U }) {
|
|
25
|
+
const l = t, x = i(), D = i(0), I = i(), B = i(), N = i(0), c = i("paused"), C = i(!0), k = i(0), u = i(), r = i(!0), n = i([]), { colorPalettes: V } = ne("TextScroll"), X = U, R = p(() => n.value.length), F = p(() => ({
|
|
26
|
+
width: typeof l.width == "number" ? `${l.width}px` : l.width,
|
|
27
|
+
height: `${l.height}px`
|
|
28
|
+
})), H = p(() => l.single ? 1 : l.amount === !1 ? 0 : l.amount), M = p(() => l.amount === !1 ? "auto" : `${parseFloat((D.value / H.value).toFixed(2)) - l.gap}px`), Y = p(() => N.value / l.speed);
|
|
29
|
+
T(
|
|
30
|
+
() => l.items,
|
|
31
31
|
() => {
|
|
32
|
-
|
|
32
|
+
l.single ? n.value = [l.items] : l.vertical && l.items.length === 1 ? n.value = [...l.items, ...l.items] : n.value = [...l.items];
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
immediate: !0,
|
|
36
36
|
deep: !0
|
|
37
37
|
}
|
|
38
|
-
),
|
|
38
|
+
), T(n, () => {
|
|
39
39
|
G();
|
|
40
|
-
}),
|
|
41
|
-
() => [
|
|
40
|
+
}), T(
|
|
41
|
+
() => [l.vertical, l.duration, l.interval],
|
|
42
42
|
() => {
|
|
43
43
|
j();
|
|
44
44
|
},
|
|
@@ -46,185 +46,185 @@ const de = /* @__PURE__ */ te({
|
|
|
46
46
|
deep: !0,
|
|
47
47
|
flush: "post"
|
|
48
48
|
}
|
|
49
|
-
),
|
|
49
|
+
), oe([x, B, I], () => {
|
|
50
50
|
j();
|
|
51
51
|
});
|
|
52
52
|
function j() {
|
|
53
|
-
u.value && A(u.value),
|
|
53
|
+
u.value && A(u.value), r.value || (r.value = !0), l.vertical || Z(), v();
|
|
54
54
|
}
|
|
55
55
|
function Z() {
|
|
56
|
-
D.value =
|
|
56
|
+
D.value = x.value.offsetWidth, N.value = B.value.offsetWidth;
|
|
57
57
|
}
|
|
58
58
|
function _() {
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
c.value = "paused", J(() => {
|
|
60
|
+
x.value?.offsetTop, c.value = "running";
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
function ee() {
|
|
64
64
|
_();
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function te() {
|
|
67
67
|
u.value = ue(
|
|
68
68
|
() => {
|
|
69
|
-
|
|
69
|
+
r.value && (r.value = !1), k.value = (k.value + 1) % R.value;
|
|
70
70
|
},
|
|
71
|
-
|
|
71
|
+
r.value ? l.interval : l.interval + l.duration,
|
|
72
72
|
!0
|
|
73
73
|
);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
76
|
-
X("click",
|
|
75
|
+
function z(L) {
|
|
76
|
+
X("click", L);
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
|
|
78
|
+
function v() {
|
|
79
|
+
l.vertical ? R.value >= 1 && te() : R.value >= H.value && (C.value = !1, c.value = "running");
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
|
|
81
|
+
function E() {
|
|
82
|
+
l.vertical ? (r.value = !0, u.value && A(u.value)) : c.value = "paused";
|
|
83
83
|
}
|
|
84
84
|
function G() {
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
l.vertical ? (u.value && A(u.value), k.value !== 0 ? (k.value = 0, r.value = !1) : r.value = !0, v()) : (c.value = "paused", C.value = !0, J(() => {
|
|
86
|
+
x.value?.offsetTop, v();
|
|
87
87
|
}));
|
|
88
88
|
}
|
|
89
89
|
return Q({
|
|
90
|
-
start:
|
|
91
|
-
stop:
|
|
90
|
+
start: v,
|
|
91
|
+
stop: E,
|
|
92
92
|
reset: G
|
|
93
|
-
}), (
|
|
93
|
+
}), (L, o) => t.vertical ? (a(), s("div", {
|
|
94
94
|
key: 1,
|
|
95
95
|
ref_key: "verticalRef",
|
|
96
96
|
ref: I,
|
|
97
97
|
class: "text-scroll-vertical",
|
|
98
|
-
style:
|
|
98
|
+
style: $([
|
|
99
99
|
F.value,
|
|
100
100
|
`
|
|
101
101
|
--text-scroll-shadow-color: #d3d3d3;
|
|
102
102
|
--text-scroll-bg-color: #fff;
|
|
103
|
-
--text-scroll-href-hover-color: ${
|
|
104
|
-
--text-scroll-duration: ${
|
|
103
|
+
--text-scroll-href-hover-color: ${t.hrefHoverColor || S(V)[5]};
|
|
104
|
+
--text-scroll-duration: ${t.duration}ms;
|
|
105
105
|
--text-scroll-timing-function: ease;
|
|
106
106
|
--text-scroll-scale: 0.5;
|
|
107
|
-
--text-scroll-item-padding: ${
|
|
107
|
+
--text-scroll-item-padding: ${t.gap}px;
|
|
108
108
|
`
|
|
109
109
|
]),
|
|
110
|
-
onMouseenter:
|
|
111
|
-
onMouseleave:
|
|
110
|
+
onMouseenter: o[2] || (o[2] = (e) => t.pauseOnMouseEnter ? E() : () => !1),
|
|
111
|
+
onMouseleave: o[3] || (o[3] = (e) => t.pauseOnMouseEnter ? v() : () => !1)
|
|
112
112
|
}, [
|
|
113
|
-
|
|
113
|
+
ae(ie, { name: "slide" }, {
|
|
114
114
|
default: f(() => [
|
|
115
|
-
(
|
|
115
|
+
(a(!0), s(h, null, W(n.value, (e, d) => se((a(), s("div", {
|
|
116
116
|
class: "scroll-item-wrap",
|
|
117
117
|
key: d
|
|
118
118
|
}, [
|
|
119
|
-
(
|
|
120
|
-
class:
|
|
121
|
-
style:
|
|
122
|
-
title:
|
|
123
|
-
href:
|
|
124
|
-
target:
|
|
125
|
-
onClick: (
|
|
119
|
+
(a(), m(O(e.href ? "a" : "div"), {
|
|
120
|
+
class: w(["scroll-item", { "href-item": !t.ellipsis && e.href }]),
|
|
121
|
+
style: $(t.ellipsis ? {} : t.itemStyle),
|
|
122
|
+
title: t.ellipsis ? null : e.title,
|
|
123
|
+
href: e.href,
|
|
124
|
+
target: e.target,
|
|
125
|
+
onClick: (q) => z(e)
|
|
126
126
|
}, {
|
|
127
127
|
default: f(() => [
|
|
128
|
-
|
|
128
|
+
t.ellipsis ? (a(), m(S(b), P({
|
|
129
129
|
key: 0,
|
|
130
|
-
"content-class": `${
|
|
131
|
-
"content-style": { ...
|
|
132
|
-
}, { ref_for: !0 },
|
|
130
|
+
"content-class": `${e.href ? "href-item" : null}`,
|
|
131
|
+
"content-style": { ...t.itemStyle, maxWidth: "100%" }
|
|
132
|
+
}, { ref_for: !0 }, t.ellipsisProps), {
|
|
133
133
|
default: f(() => [
|
|
134
|
-
|
|
134
|
+
y(g(e.title), 1)
|
|
135
135
|
]),
|
|
136
136
|
_: 2
|
|
137
|
-
}, 1040, ["content-class", "content-style"])) : (
|
|
138
|
-
|
|
137
|
+
}, 1040, ["content-class", "content-style"])) : (a(), s(h, { key: 1 }, [
|
|
138
|
+
y(g(e.title), 1)
|
|
139
139
|
], 64))
|
|
140
140
|
]),
|
|
141
141
|
_: 2
|
|
142
142
|
}, 1032, ["class", "style", "title", "href", "target", "onClick"]))
|
|
143
143
|
])), [
|
|
144
|
-
[
|
|
144
|
+
[re, k.value === d]
|
|
145
145
|
])), 128))
|
|
146
146
|
]),
|
|
147
147
|
_: 1
|
|
148
148
|
})
|
|
149
|
-
], 36)) : (
|
|
149
|
+
], 36)) : (a(), s("div", {
|
|
150
150
|
key: 0,
|
|
151
151
|
ref_key: "horizontalRef",
|
|
152
|
-
ref:
|
|
152
|
+
ref: x,
|
|
153
153
|
class: "text-scroll-horizontal",
|
|
154
|
-
style:
|
|
154
|
+
style: $([
|
|
155
155
|
F.value,
|
|
156
156
|
`
|
|
157
157
|
--text-scroll-shadow-color: #d3d3d3;
|
|
158
158
|
--text-scroll-bg-color: #fff;
|
|
159
|
-
--text-scroll-href-hover-color: ${
|
|
160
|
-
--text-scroll-item-gap: ${
|
|
161
|
-
--text-scroll-play-state: ${
|
|
159
|
+
--text-scroll-href-hover-color: ${t.hrefHoverColor || S(V)[5]};
|
|
160
|
+
--text-scroll-item-gap: ${t.gap}px;
|
|
161
|
+
--text-scroll-play-state: ${c.value};
|
|
162
162
|
--text-scroll-duration: ${Y.value}s;
|
|
163
163
|
--text-scroll-delay: 0s;
|
|
164
164
|
--text-scroll-iteration-count: infinite;
|
|
165
165
|
`
|
|
166
166
|
]),
|
|
167
|
-
onMouseenter:
|
|
168
|
-
onMouseleave:
|
|
167
|
+
onMouseenter: o[0] || (o[0] = (e) => t.pauseOnMouseEnter ? E() : () => !1),
|
|
168
|
+
onMouseleave: o[1] || (o[1] = (e) => t.pauseOnMouseEnter ? v() : () => !1)
|
|
169
169
|
}, [
|
|
170
|
-
|
|
170
|
+
K("div", {
|
|
171
171
|
ref_key: "groupRef",
|
|
172
|
-
ref:
|
|
173
|
-
class:
|
|
172
|
+
ref: B,
|
|
173
|
+
class: w(["scroll-items-group", { "scroll-items-reset": C.value }]),
|
|
174
174
|
onAnimationiteration: ee
|
|
175
175
|
}, [
|
|
176
|
-
(
|
|
177
|
-
class:
|
|
178
|
-
style:
|
|
176
|
+
(a(!0), s(h, null, W(n.value, (e, d) => (a(), m(O(e.href ? "a" : "div"), {
|
|
177
|
+
class: w(["scroll-item", { "href-item": !t.ellipsis && e.href }]),
|
|
178
|
+
style: $([t.ellipsis ? null : t.itemStyle, `width: ${M.value};`]),
|
|
179
179
|
key: d,
|
|
180
|
-
title:
|
|
181
|
-
href:
|
|
182
|
-
target:
|
|
183
|
-
onClick: (
|
|
180
|
+
title: t.ellipsis ? null : e.title,
|
|
181
|
+
href: e.href,
|
|
182
|
+
target: e.target,
|
|
183
|
+
onClick: (q) => z(e)
|
|
184
184
|
}, {
|
|
185
185
|
default: f(() => [
|
|
186
|
-
|
|
186
|
+
t.ellipsis ? (a(), m(S(b), P({
|
|
187
187
|
key: 0,
|
|
188
|
-
"max-width":
|
|
189
|
-
"content-class": `${
|
|
190
|
-
"content-style":
|
|
191
|
-
}, { ref_for: !0 },
|
|
188
|
+
"max-width": M.value,
|
|
189
|
+
"content-class": `${e.href ? "href-item" : null}`,
|
|
190
|
+
"content-style": t.itemStyle
|
|
191
|
+
}, { ref_for: !0 }, t.ellipsisProps), {
|
|
192
192
|
default: f(() => [
|
|
193
|
-
|
|
193
|
+
y(g(e.title), 1)
|
|
194
194
|
]),
|
|
195
195
|
_: 2
|
|
196
|
-
}, 1040, ["max-width", "content-class", "content-style"])) : (
|
|
197
|
-
|
|
196
|
+
}, 1040, ["max-width", "content-class", "content-style"])) : (a(), s(h, { key: 1 }, [
|
|
197
|
+
y(g(e.title), 1)
|
|
198
198
|
], 64))
|
|
199
199
|
]),
|
|
200
200
|
_: 2
|
|
201
201
|
}, 1032, ["class", "style", "title", "href", "target", "onClick"]))), 128))
|
|
202
202
|
], 34),
|
|
203
|
-
|
|
204
|
-
class:
|
|
203
|
+
K("div", {
|
|
204
|
+
class: w(["scroll-items-group", { "scroll-items-reset": C.value }])
|
|
205
205
|
}, [
|
|
206
|
-
(
|
|
207
|
-
class:
|
|
208
|
-
style:
|
|
206
|
+
(a(!0), s(h, null, W(n.value, (e, d) => (a(), m(O(e.href ? "a" : "div"), {
|
|
207
|
+
class: w(["scroll-item", { "href-item": !t.ellipsis && e.href }]),
|
|
208
|
+
style: $([t.ellipsis ? null : t.itemStyle, `width: ${M.value};`]),
|
|
209
209
|
key: d,
|
|
210
|
-
title:
|
|
211
|
-
href:
|
|
212
|
-
target:
|
|
213
|
-
onClick: (
|
|
210
|
+
title: t.ellipsis ? null : e.title,
|
|
211
|
+
href: e.href,
|
|
212
|
+
target: e.target,
|
|
213
|
+
onClick: (q) => z(e)
|
|
214
214
|
}, {
|
|
215
215
|
default: f(() => [
|
|
216
|
-
|
|
216
|
+
t.ellipsis ? (a(), m(S(b), P({
|
|
217
217
|
key: 0,
|
|
218
|
-
"max-width":
|
|
219
|
-
"content-class": `${
|
|
220
|
-
"content-style":
|
|
221
|
-
}, { ref_for: !0 },
|
|
218
|
+
"max-width": M.value,
|
|
219
|
+
"content-class": `${e.href ? "href-item" : null}`,
|
|
220
|
+
"content-style": t.itemStyle
|
|
221
|
+
}, { ref_for: !0 }, t.ellipsisProps), {
|
|
222
222
|
default: f(() => [
|
|
223
|
-
|
|
223
|
+
y(g(e.title), 1)
|
|
224
224
|
]),
|
|
225
225
|
_: 2
|
|
226
|
-
}, 1040, ["max-width", "content-class", "content-style"])) : (
|
|
227
|
-
|
|
226
|
+
}, 1040, ["max-width", "content-class", "content-style"])) : (a(), s(h, { key: 1 }, [
|
|
227
|
+
y(g(e.title), 1)
|
|
228
228
|
], 64))
|
|
229
229
|
]),
|
|
230
230
|
_: 2
|
package/es/timeline/Timeline.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.timeline-wrap[data-v-
|
|
1
|
+
.timeline-wrap[data-v-5435ee64]{font-size:14px;color:#000000e0;line-height:1.57142857}.timeline-wrap .timeline-item[data-v-5435ee64]{position:relative;padding-bottom:30px}.timeline-wrap .timeline-item .timeline-tail[data-v-5435ee64]{position:absolute;top:12px;width:0;height:100%;border-left-width:2px;border-left-color:#e8e8e8}.timeline-wrap .timeline-item .tail-left[data-v-5435ee64]{left:5px}.timeline-wrap .timeline-item .tail-center[data-v-5435ee64]{left:0;right:0;margin:0 auto}.timeline-wrap .timeline-item .tail-right[data-v-5435ee64]{right:5px}.timeline-wrap .timeline-item .timeline-dot[data-v-5435ee64]{position:absolute;display:flex;align-items:center}.timeline-wrap .timeline-item .timeline-dot[data-v-5435ee64] svg{fill:currentColor}.timeline-wrap .timeline-item .timeline-dot .dot-item[data-v-5435ee64]{display:inline-block;width:12px;height:12px;border-width:2px;border-style:solid;border-radius:50%;background:#fff}.timeline-wrap .timeline-item .dot-left[data-v-5435ee64]{left:6px;transform:translate(-50%)}.timeline-wrap .timeline-item .dot-center[data-v-5435ee64]{left:50%;transform:translate(-50%)}.timeline-wrap .timeline-item .dot-right[data-v-5435ee64]{right:6px;transform:translate(50%)}.timeline-wrap .timeline-item .timeline-desc[data-v-5435ee64]{font-size:14px;line-height:1.57142857;word-break:break-all}.timeline-wrap .timeline-item .desc-left[data-v-5435ee64]{margin-left:25px}.timeline-wrap .timeline-item .desc-center[data-v-5435ee64]{width:calc(50% - 12px)}.timeline-wrap .timeline-item .desc-alternate-left[data-v-5435ee64]{text-align:end}.timeline-wrap .timeline-item .desc-alternate-right[data-v-5435ee64]{margin-left:calc(50% + 12px)}.timeline-wrap .timeline-item .desc-right[data-v-5435ee64]{margin-right:25px;text-align:end}.timeline-wrap .item-last .timeline-tail[data-v-5435ee64]{display:none}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Timeline.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const i = /* @__PURE__ */
|
|
3
|
+
import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const i = /* @__PURE__ */ e(o, [["__scopeId", "data-v-5435ee64"]]);
|
|
5
5
|
export {
|
|
6
6
|
i as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as k, ref as
|
|
1
|
+
import { defineComponent as k, ref as m, computed as y, watchEffect as h, createElementBlock as l, openBlock as s, normalizeStyle as o, Fragment as C, renderList as $, normalizeClass as i, createElementVNode as c, renderSlot as g, createTextVNode as b, toDisplayString as w } from "vue";
|
|
2
2
|
const E = /* @__PURE__ */ k({
|
|
3
3
|
__name: "Timeline",
|
|
4
4
|
props: {
|
|
@@ -8,46 +8,46 @@ const E = /* @__PURE__ */ k({
|
|
|
8
8
|
mode: { default: "left" },
|
|
9
9
|
position: { default: "left" }
|
|
10
10
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const r =
|
|
11
|
+
setup(a) {
|
|
12
|
+
const r = a, n = m(), f = m([]), p = y(() => typeof r.width == "number" ? `${r.width}px` : r.width), u = y(() => r.items.length);
|
|
13
13
|
function v() {
|
|
14
14
|
for (let e = 0; e < u.value; e++)
|
|
15
15
|
f.value[e] = getComputedStyle(
|
|
16
|
-
|
|
16
|
+
n.value[e].firstElementChild || n.value[e],
|
|
17
17
|
null
|
|
18
18
|
).getPropertyValue("line-height");
|
|
19
19
|
}
|
|
20
|
-
return
|
|
20
|
+
return h(
|
|
21
21
|
() => {
|
|
22
22
|
v();
|
|
23
23
|
},
|
|
24
24
|
{ flush: "post" }
|
|
25
|
-
),
|
|
25
|
+
), h(
|
|
26
26
|
() => {
|
|
27
27
|
if (r.mode === "center")
|
|
28
28
|
for (let e = 0; e < u.value; e++)
|
|
29
|
-
(e + 1) % 2 ? r.position === "left" ?
|
|
29
|
+
(e + 1) % 2 ? r.position === "left" ? n.value[e].classList.add("desc-alternate-left") : n.value[e].classList.add("desc-alternate-right") : r.position === "left" ? n.value[e].classList.add("desc-alternate-right") : n.value[e].classList.add("desc-alternate-left");
|
|
30
30
|
},
|
|
31
31
|
{ flush: "post" }
|
|
32
32
|
), (e, S) => (s(), l("div", {
|
|
33
33
|
class: "timeline-wrap",
|
|
34
|
-
style: o(`width: ${
|
|
34
|
+
style: o(`width: ${p.value};`)
|
|
35
35
|
}, [
|
|
36
|
-
(s(!0), l(C, null, $(
|
|
37
|
-
class:
|
|
38
|
-
key:
|
|
36
|
+
(s(!0), l(C, null, $(a.items, (t, d) => (s(), l("div", {
|
|
37
|
+
class: i(["timeline-item", { "item-last": d === a.items.length - 1 }]),
|
|
38
|
+
key: d
|
|
39
39
|
}, [
|
|
40
|
-
|
|
41
|
-
class:
|
|
42
|
-
style: o(`border-left-style: ${
|
|
40
|
+
c("span", {
|
|
41
|
+
class: i(["timeline-tail", `tail-${a.mode}`]),
|
|
42
|
+
style: o(`border-left-style: ${a.lineStyle};`)
|
|
43
43
|
}, null, 6),
|
|
44
|
-
|
|
45
|
-
class:
|
|
46
|
-
style: o(`height: ${f.value[
|
|
44
|
+
c("div", {
|
|
45
|
+
class: i(["timeline-dot", `dot-${a.mode}`]),
|
|
46
|
+
style: o(`height: ${f.value[d]}`)
|
|
47
47
|
}, [
|
|
48
|
-
|
|
48
|
+
g(e.$slots, "dot", {
|
|
49
49
|
item: t,
|
|
50
|
-
index:
|
|
50
|
+
index: d
|
|
51
51
|
}, () => [
|
|
52
52
|
t.color === "red" ? (s(), l("span", {
|
|
53
53
|
key: 0,
|
|
@@ -87,15 +87,15 @@ const E = /* @__PURE__ */ k({
|
|
|
87
87
|
}, null, 4))
|
|
88
88
|
], !0)
|
|
89
89
|
], 6),
|
|
90
|
-
|
|
90
|
+
c("div", {
|
|
91
91
|
ref_for: !0,
|
|
92
92
|
ref_key: "descRef",
|
|
93
|
-
ref:
|
|
94
|
-
class:
|
|
93
|
+
ref: n,
|
|
94
|
+
class: i(`timeline-desc desc-${a.mode}`)
|
|
95
95
|
}, [
|
|
96
|
-
|
|
96
|
+
g(e.$slots, "desc", {
|
|
97
97
|
item: t,
|
|
98
|
-
index:
|
|
98
|
+
index: d
|
|
99
99
|
}, () => [
|
|
100
100
|
b(w(t.desc || "--"), 1)
|
|
101
101
|
], !0)
|
package/es/tooltip/Tooltip.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.m-tooltip-wrap[data-v-
|
|
1
|
+
.m-tooltip-wrap[data-v-703d1812]{position:relative;display:inline-block}.zoom-enter[data-v-703d1812]{transform:none;opacity:0;animation-duration:var(--tooltip-transition-duration);animation-fill-mode:both;animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-play-state:paused}.zoom-enter-active[data-v-703d1812]{animation-name:zoomIn-703d1812;animation-play-state:running}@keyframes zoomIn-703d1812{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}.zoom-leave[data-v-703d1812]{animation-duration:var(--tooltip-transition-duration);animation-fill-mode:both;animation-play-state:paused;animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-leave-active[data-v-703d1812]{animation-name:zoomOut-703d1812;animation-play-state:running;pointer-events:none}@keyframes zoomOut-703d1812{0%{transform:scale(1);opacity:1}to{transform:scale(.8);opacity:0}}.tooltip-card-container[data-v-703d1812]{position:absolute;z-index:999;width:max-content;outline:none}.tooltip-card-container .tooltip-card[data-v-703d1812]{min-width:32px;max-width:var(--tooltip-max-width);min-height:32px;padding:6px 8px;font-size:14px;color:#fff;line-height:1.57142857;text-align:justify;text-decoration:none;word-break:break-all;background-color:var(--tooltip-background-color);border-radius:6px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}.tooltip-card-container .tooltip-card[data-v-703d1812] svg{fill:currentColor}.tooltip-card-container .tooltip-arrow[data-v-703d1812]{position:absolute;z-index:9;display:block;pointer-events:none;width:16px;height:16px;overflow:hidden}.tooltip-card-container .tooltip-arrow[data-v-703d1812]:before{position:absolute;width:16px;height:8px;background-color:var(--tooltip-background-color);clip-path:path("M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z");content:""}.tooltip-card-container .tooltip-arrow[data-v-703d1812]:after{position:absolute;width:8.97056275px;height:8.97056275px;margin:auto;border-radius:0 0 2px;transform:translateY(50%) rotate(-135deg);box-shadow:3px 3px 7px #0000001a;z-index:0;background:transparent;content:""}.tooltip-card-container .arrow-top[data-v-703d1812]{left:50%;bottom:12px;transform:translate(-50%) translateY(100%) rotate(180deg)}.tooltip-card-container .arrow-top[data-v-703d1812]:before{bottom:0;left:0}.tooltip-card-container .arrow-top[data-v-703d1812]:after{bottom:0;left:0;right:0}.tooltip-card-container .arrow-bottom[data-v-703d1812]{left:50%;top:12px;transform:translate(-50%) translateY(-100%) rotate(0)}.tooltip-card-container .arrow-bottom[data-v-703d1812]:before{bottom:0;left:0}.tooltip-card-container .arrow-bottom[data-v-703d1812]:after{bottom:0;left:0;right:0}.tooltip-card-container .arrow-left[data-v-703d1812]{top:50%;right:12px;transform:translate(100%) translateY(-50%) rotate(90deg)}.tooltip-card-container .arrow-left[data-v-703d1812]:before{bottom:0;left:0}.tooltip-card-container .arrow-left[data-v-703d1812]:after{bottom:0;left:0;right:0}.tooltip-card-container .arrow-right[data-v-703d1812]{top:50%;left:12px;transform:translate(-100%) translateY(-50%) rotate(-90deg)}.tooltip-card-container .arrow-right[data-v-703d1812]:before{bottom:0;left:0}.tooltip-card-container .arrow-right[data-v-703d1812]:after{bottom:0;left:0;right:0}.tooltip-top-padding[data-v-703d1812]{padding-bottom:12px}.tooltip-bottom-padding[data-v-703d1812]{padding-top:12px}.tooltip-left-padding[data-v-703d1812]{padding-right:12px}.tooltip-right-padding[data-v-703d1812]{padding-left:12px}.tooltip-content[data-v-703d1812]{display:inline-block}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Tooltip.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-703d1812"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
_ as default
|
|
7
7
|
};
|