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/tag/Tag.vue2.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { useSlotsExist as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as H, ref as i, computed as w, watchEffect as N, nextTick as L, createElementBlock as c, createBlock as P, openBlock as n, normalizeStyle as V, normalizeClass as h, createCommentVNode as d, createElementVNode as s, renderSlot as b, createTextVNode as C, toDisplayString as $, unref as D, mergeProps as K, withCtx as j, withDirectives as F, Fragment as U, renderList as W, vModelText as G } from "vue";
|
|
2
|
+
import J from "../space/index.js";
|
|
3
|
+
import { useSlotsExist as O } from "../utils/index.js";
|
|
4
|
+
const Q = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "tag-icon"
|
|
7
|
-
},
|
|
7
|
+
}, X = { class: "tag-label" }, Y = { class: "tag-label" }, Z = ["onClick"], ae = /* @__PURE__ */ H({
|
|
8
8
|
__name: "Tag",
|
|
9
9
|
props: {
|
|
10
10
|
closable: { type: Boolean, default: !1 },
|
|
@@ -17,8 +17,8 @@ const X = {
|
|
|
17
17
|
value: { default: () => [] }
|
|
18
18
|
},
|
|
19
19
|
emits: ["update:value", "close", "dynamicClose"],
|
|
20
|
-
setup(
|
|
21
|
-
const
|
|
20
|
+
setup(e, { emit: A }) {
|
|
21
|
+
const t = e, g = i(), f = i(!1), y = i(""), r = [
|
|
22
22
|
"success",
|
|
23
23
|
"processing",
|
|
24
24
|
"error",
|
|
@@ -37,99 +37,99 @@ const X = {
|
|
|
37
37
|
"volcano",
|
|
38
38
|
"gold",
|
|
39
39
|
"lime"
|
|
40
|
-
],
|
|
41
|
-
if (
|
|
42
|
-
if (typeof
|
|
40
|
+
], z = i(!1), m = i(), k = i(Array(t.value.length).fill(1)), E = O(["icon"]), v = A, B = w(() => {
|
|
41
|
+
if (t.dynamic && t.value.length) {
|
|
42
|
+
if (typeof t.value[0] == "string")
|
|
43
43
|
return !0;
|
|
44
|
-
if (typeof
|
|
44
|
+
if (typeof t.value[0] == "object")
|
|
45
45
|
return !1;
|
|
46
46
|
}
|
|
47
47
|
return null;
|
|
48
|
-
}),
|
|
49
|
-
label:
|
|
48
|
+
}), I = w(() => t.dynamic && t.value.length ? B.value ? t.value.map((o) => ({
|
|
49
|
+
label: o,
|
|
50
50
|
closable: !0
|
|
51
|
-
})) :
|
|
51
|
+
})) : t.value.map((o) => ({
|
|
52
52
|
closable: !0,
|
|
53
|
-
...
|
|
54
|
-
})) : []),
|
|
55
|
-
|
|
56
|
-
if (
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
if (
|
|
60
|
-
for (let
|
|
61
|
-
|
|
53
|
+
...o
|
|
54
|
+
})) : []), S = w(() => t.dynamic ? !1 : E.icon || t.icon);
|
|
55
|
+
N(() => {
|
|
56
|
+
if (t.dynamic) {
|
|
57
|
+
const o = t.value.length;
|
|
58
|
+
k.value = Array(o).fill(1), L(() => {
|
|
59
|
+
if (m.value)
|
|
60
|
+
for (let a = 0; a < o; a++)
|
|
61
|
+
k.value[a] = m.value[a].offsetWidth;
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
|
-
function
|
|
66
|
-
|
|
65
|
+
function T(o) {
|
|
66
|
+
z.value = !0, v("close", o);
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
const l =
|
|
70
|
-
|
|
68
|
+
function p(o, a) {
|
|
69
|
+
const l = t.value.filter((u, q) => q !== a);
|
|
70
|
+
v("update:value", l), v("dynamicClose", o, a);
|
|
71
71
|
}
|
|
72
72
|
async function M() {
|
|
73
|
-
|
|
73
|
+
f.value = !0, await L(), g.value.focus();
|
|
74
74
|
}
|
|
75
|
-
function
|
|
76
|
-
|
|
77
|
-
...
|
|
75
|
+
function x() {
|
|
76
|
+
B.value ? v("update:value", [...t.value, y.value]) : v("update:value", [
|
|
77
|
+
...t.value,
|
|
78
78
|
{
|
|
79
|
-
label:
|
|
79
|
+
label: y.value
|
|
80
80
|
}
|
|
81
|
-
]),
|
|
81
|
+
]), f.value = !1, g.value = "";
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
|
|
83
|
+
function R(o) {
|
|
84
|
+
o.key === "Enter" && g.value.blur();
|
|
85
85
|
}
|
|
86
|
-
return (
|
|
86
|
+
return (o, a) => e.dynamic ? (n(), P(D(J), K({
|
|
87
87
|
key: 1,
|
|
88
88
|
gap: "small"
|
|
89
89
|
}, e.spaceProps), {
|
|
90
|
-
default:
|
|
91
|
-
(
|
|
92
|
-
class:
|
|
90
|
+
default: j(() => [
|
|
91
|
+
(n(!0), c(U, null, W(I.value, (l, u) => (n(), c("div", {
|
|
92
|
+
class: h(["tag-wrap", [
|
|
93
93
|
`tag-${l.size || e.size}`,
|
|
94
|
-
(l.color || e.color) &&
|
|
94
|
+
(l.color || e.color) && r.includes(l.color || e.color) ? `tag-${l.color || e.color}` : "",
|
|
95
95
|
{
|
|
96
96
|
"tag-borderless": l.bordered !== void 0 && !l.bordered,
|
|
97
|
-
"tag-has-color": (l.color || e.color) && !
|
|
97
|
+
"tag-has-color": (l.color || e.color) && !r.includes(l.color || e.color)
|
|
98
98
|
}
|
|
99
99
|
]]),
|
|
100
|
-
style:
|
|
100
|
+
style: V(`background-color: ${(l.color || e.color) && !r.includes(l.color || e.color) ? l.color || e.color : ""};`),
|
|
101
101
|
key: u
|
|
102
102
|
}, [
|
|
103
|
-
|
|
103
|
+
k.value[u] ? (n(), c("span", {
|
|
104
104
|
key: 0,
|
|
105
105
|
ref_for: !0,
|
|
106
106
|
ref_key: "tagsIconRef",
|
|
107
|
-
ref:
|
|
107
|
+
ref: m,
|
|
108
108
|
class: "tag-icon"
|
|
109
109
|
}, [
|
|
110
|
-
|
|
110
|
+
b(o.$slots, "icon", {
|
|
111
111
|
item: l,
|
|
112
112
|
icon: e.icon,
|
|
113
113
|
index: u
|
|
114
114
|
}, () => [
|
|
115
|
-
|
|
115
|
+
C($(l.icon), 1)
|
|
116
116
|
], !0)
|
|
117
|
-
], 512)) :
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
], 512)) : d("", !0),
|
|
118
|
+
s("span", Y, [
|
|
119
|
+
b(o.$slots, "label", {
|
|
120
120
|
item: l,
|
|
121
121
|
label: l.label,
|
|
122
122
|
index: u
|
|
123
123
|
}, () => [
|
|
124
|
-
|
|
124
|
+
C($(l.label), 1)
|
|
125
125
|
], !0)
|
|
126
126
|
]),
|
|
127
|
-
l.closable || e.closable ? (
|
|
127
|
+
l.closable || e.closable ? (n(), c("span", {
|
|
128
128
|
key: 1,
|
|
129
129
|
class: "tag-close",
|
|
130
|
-
onClick: (
|
|
131
|
-
}, [...
|
|
132
|
-
|
|
130
|
+
onClick: (q) => p(l, u)
|
|
131
|
+
}, [...a[3] || (a[3] = [
|
|
132
|
+
s("svg", {
|
|
133
133
|
focusable: "false",
|
|
134
134
|
class: "close-svg",
|
|
135
135
|
"data-icon": "close",
|
|
@@ -139,16 +139,16 @@ const X = {
|
|
|
139
139
|
"aria-hidden": "true",
|
|
140
140
|
viewBox: "64 64 896 896"
|
|
141
141
|
}, [
|
|
142
|
-
|
|
142
|
+
s("path", { d: "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" })
|
|
143
143
|
], -1)
|
|
144
|
-
])], 8,
|
|
144
|
+
])], 8, Z)) : d("", !0)
|
|
145
145
|
], 6))), 128)),
|
|
146
|
-
|
|
146
|
+
f.value ? d("", !0) : (n(), c("div", {
|
|
147
147
|
key: 0,
|
|
148
|
-
class:
|
|
148
|
+
class: h(["tag-wrap", [`tag-${e.size}`, { "tag-plus": e.dynamic }]]),
|
|
149
149
|
onClick: M
|
|
150
|
-
}, [...
|
|
151
|
-
|
|
150
|
+
}, [...a[4] || (a[4] = [
|
|
151
|
+
s("svg", {
|
|
152
152
|
focusable: "false",
|
|
153
153
|
class: "plus-svg",
|
|
154
154
|
"data-icon": "plus",
|
|
@@ -158,52 +158,52 @@ const X = {
|
|
|
158
158
|
"aria-hidden": "true",
|
|
159
159
|
viewBox: "64 64 896 896"
|
|
160
160
|
}, [
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
s("path", { d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" }),
|
|
162
|
+
s("path", { d: "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" })
|
|
163
163
|
], -1)
|
|
164
164
|
])], 2)),
|
|
165
|
-
|
|
165
|
+
f.value ? F((n(), c("input", {
|
|
166
166
|
key: 1,
|
|
167
167
|
ref_key: "inputRef",
|
|
168
|
-
ref:
|
|
169
|
-
class:
|
|
168
|
+
ref: g,
|
|
169
|
+
class: h(["tag-input", `input-${e.size}`]),
|
|
170
170
|
type: "text",
|
|
171
|
-
"onUpdate:modelValue":
|
|
172
|
-
onBlur:
|
|
173
|
-
onChange:
|
|
174
|
-
onKeydown:
|
|
171
|
+
"onUpdate:modelValue": a[0] || (a[0] = (l) => y.value = l),
|
|
172
|
+
onBlur: a[1] || (a[1] = (l) => f.value = !1),
|
|
173
|
+
onChange: x,
|
|
174
|
+
onKeydown: R
|
|
175
175
|
}, null, 34)), [
|
|
176
|
-
[
|
|
177
|
-
]) :
|
|
176
|
+
[G, y.value]
|
|
177
|
+
]) : d("", !0)
|
|
178
178
|
]),
|
|
179
179
|
_: 3
|
|
180
|
-
}, 16)) : (
|
|
180
|
+
}, 16)) : (n(), c("div", {
|
|
181
181
|
key: 0,
|
|
182
|
-
class:
|
|
182
|
+
class: h(["tag-wrap", [
|
|
183
183
|
`tag-${e.size}`,
|
|
184
|
-
e.color &&
|
|
184
|
+
e.color && r.includes(e.color) ? `tag-${e.color}` : "",
|
|
185
185
|
{
|
|
186
186
|
"tag-borderless": !e.bordered,
|
|
187
|
-
"tag-has-color": e.color && !
|
|
188
|
-
"tag-hidden":
|
|
187
|
+
"tag-has-color": e.color && !r.includes(e.color),
|
|
188
|
+
"tag-hidden": z.value
|
|
189
189
|
}
|
|
190
190
|
]]),
|
|
191
|
-
style:
|
|
191
|
+
style: V(`background-color: ${e.color && !r.includes(e.color) ? e.color : ""};`)
|
|
192
192
|
}, [
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
193
|
+
S.value ? (n(), c("span", Q, [
|
|
194
|
+
b(o.$slots, "icon", {}, () => [
|
|
195
|
+
C($(e.icon), 1)
|
|
196
196
|
], !0)
|
|
197
|
-
])) :
|
|
198
|
-
|
|
199
|
-
|
|
197
|
+
])) : d("", !0),
|
|
198
|
+
s("span", X, [
|
|
199
|
+
b(o.$slots, "default", {}, void 0, !0)
|
|
200
200
|
]),
|
|
201
|
-
e.closable ? (
|
|
201
|
+
e.closable ? (n(), c("span", {
|
|
202
202
|
key: 1,
|
|
203
203
|
class: "tag-close",
|
|
204
|
-
onClick:
|
|
205
|
-
}, [...
|
|
206
|
-
|
|
204
|
+
onClick: T
|
|
205
|
+
}, [...a[2] || (a[2] = [
|
|
206
|
+
s("svg", {
|
|
207
207
|
focusable: "false",
|
|
208
208
|
class: "close-svg",
|
|
209
209
|
"data-icon": "close",
|
|
@@ -213,12 +213,12 @@ const X = {
|
|
|
213
213
|
"aria-hidden": "true",
|
|
214
214
|
viewBox: "64 64 896 896"
|
|
215
215
|
}, [
|
|
216
|
-
|
|
216
|
+
s("path", { d: "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" })
|
|
217
217
|
], -1)
|
|
218
|
-
])])) :
|
|
218
|
+
])])) : d("", !0)
|
|
219
219
|
], 6));
|
|
220
220
|
}
|
|
221
221
|
});
|
|
222
222
|
export {
|
|
223
|
-
|
|
223
|
+
ae as default
|
|
224
224
|
};
|
package/es/textarea/Textarea.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.textarea-wrap[data-v-
|
|
1
|
+
.textarea-wrap[data-v-2ce36b4f]{position:relative;display:inline-block;width:var(--textarea-width)}.textarea-wrap .textarea-item[data-v-2ce36b4f]{width:100%;min-width:0;min-height:32px;max-width:100%;height:auto;padding:4px 11px;color:#000000e0;font-size:14px;line-height:1.57142857;list-style:none;transition:all .3s,height 0s;resize:vertical;position:relative;z-index:9;display:inline-block;vertical-align:bottom;text-overflow:ellipsis;background-color:#fff;border:1px solid #d9d9d9;border-radius:6px;outline:none}.textarea-wrap .textarea-item[data-v-2ce36b4f]:hover{border-color:var(--textarea-primary-color-hover);z-index:1}.textarea-wrap .textarea-item[data-v-2ce36b4f]:focus-within{border-color:var(--textarea-primary-color-focus);box-shadow:0 0 0 2px var(--textarea-primary-shadow-color);outline:0}.textarea-wrap .clear-class[data-v-2ce36b4f]{padding-right:24px}.textarea-wrap textarea[data-v-2ce36b4f]:disabled{color:#00000040}.textarea-wrap textarea[data-v-2ce36b4f]::-webkit-input-placeholder{color:#00000040}.textarea-wrap textarea[data-v-2ce36b4f]:-moz-placeholder{color:#00000040}.textarea-wrap textarea[data-v-2ce36b4f]::-moz-placeholder{color:#00000040}.textarea-wrap textarea[data-v-2ce36b4f]:-ms-input-placeholder{color:#00000040}.textarea-wrap .clear-svg[data-v-2ce36b4f]{position:absolute;top:9px;right:8px;z-index:99;display:inline-block;font-size:12px;color:#00000040;fill:currentColor;cursor:pointer;transition:color .3s}.textarea-wrap .clear-svg[data-v-2ce36b4f]:hover{color:#00000073}.textarea-wrap .textarea-disabled[data-v-2ce36b4f]{color:#00000040;background-color:#0000000a;cursor:not-allowed}.textarea-wrap .textarea-disabled[data-v-2ce36b4f]:hover{border-color:#d9d9d9}.textarea-wrap .textarea-disabled[data-v-2ce36b4f]:focus-within{border-color:#d9d9d9;box-shadow:none}.show-count[data-v-2ce36b4f]:after{font-size:14px;color:#00000073;white-space:nowrap;content:attr(data-count);pointer-events:none;float:right}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Textarea.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2ce36b4f"]]);
|
|
5
5
|
export {
|
|
6
6
|
f as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as N, ref as
|
|
2
|
-
import { useInject as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as N, ref as s, computed as i, watch as T, nextTick as j, onMounted as H, createElementBlock as p, openBlock as x, normalizeStyle as g, normalizeClass as w, unref as d, createElementVNode as y, createCommentVNode as V, withKeys as I } from "vue";
|
|
2
|
+
import { useInject as K } from "../utils/index.js";
|
|
3
|
+
const O = ["data-count"], A = ["value", "placeholder", "maxlength", "disabled"], W = /* @__PURE__ */ N({
|
|
4
4
|
__name: "Textarea",
|
|
5
5
|
props: {
|
|
6
6
|
width: { default: "100%" },
|
|
@@ -14,46 +14,46 @@ const K = ["data-count"], O = ["value", "placeholder", "maxlength", "disabled"],
|
|
|
14
14
|
valueModifiers: { default: () => ({}) }
|
|
15
15
|
},
|
|
16
16
|
emits: ["update:value", "compositionstart", "compositionend", "change", "enter"],
|
|
17
|
-
setup(
|
|
18
|
-
const t =
|
|
17
|
+
setup(n, { emit: C }) {
|
|
18
|
+
const t = n, c = s(null), u = s(!1), a = s(), r = s(32), { colorPalettes: f, shadowColor: z } = K("Textarea"), l = C, S = i(() => typeof t.width == "number" ? `${t.width}px` : t.width), h = i(() => {
|
|
19
19
|
if (typeof t.autoSize == "object") {
|
|
20
20
|
const e = {
|
|
21
|
-
height: `${
|
|
21
|
+
height: `${r.value}px`,
|
|
22
22
|
resize: "none"
|
|
23
23
|
};
|
|
24
24
|
return "minRows" in t.autoSize && (e["min-height"] = `${t.autoSize.minRows * 22 + 10}px`), "maxRows" in t.autoSize && (e["max-height"] = `${t.autoSize.maxRows * 22 + 10}px`), e;
|
|
25
25
|
}
|
|
26
26
|
if (typeof t.autoSize == "boolean")
|
|
27
27
|
return t.autoSize ? {
|
|
28
|
-
height: `${
|
|
28
|
+
height: `${r.value}px`,
|
|
29
29
|
resize: "none"
|
|
30
30
|
} : {};
|
|
31
|
-
}),
|
|
31
|
+
}), v = i(() => !t.disabled && t.allowClear && a.value), b = i(() => t.maxlength ? `${a.value ? a.value.length : 0} / ${t.maxlength}` : a.value ? a.value.length : 0), $ = i(() => "lazy" in t.valueModifiers);
|
|
32
32
|
T(
|
|
33
33
|
() => t.value,
|
|
34
34
|
async (e) => {
|
|
35
|
-
a.value !== e && (a.value = e), JSON.stringify(
|
|
35
|
+
a.value !== e && (a.value = e), JSON.stringify(h.value) !== "{}" && (r.value = 32, await j(), m());
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
immediate: !0,
|
|
39
39
|
flush: "post"
|
|
40
40
|
}
|
|
41
|
-
),
|
|
42
|
-
|
|
41
|
+
), H(() => {
|
|
42
|
+
m();
|
|
43
43
|
});
|
|
44
|
-
function
|
|
45
|
-
|
|
44
|
+
function m() {
|
|
45
|
+
r.value = c.value.scrollHeight + 2;
|
|
46
46
|
}
|
|
47
47
|
function B(e) {
|
|
48
|
-
|
|
48
|
+
u.value = !0, l("compositionstart", e);
|
|
49
49
|
}
|
|
50
50
|
function E(e) {
|
|
51
|
-
|
|
51
|
+
u.value = !1, l("compositionend", e);
|
|
52
52
|
const o = new Event("change");
|
|
53
53
|
e.target?.dispatchEvent(o);
|
|
54
54
|
}
|
|
55
55
|
function k(e) {
|
|
56
|
-
if (!
|
|
56
|
+
if (!u.value) {
|
|
57
57
|
const o = e.target;
|
|
58
58
|
a.value = o.value, $.value || (l("update:value", o.value), l("change", e));
|
|
59
59
|
}
|
|
@@ -63,38 +63,38 @@ const K = ["data-count"], O = ["value", "placeholder", "maxlength", "disabled"],
|
|
|
63
63
|
o.value !== t.value && (l("update:value", o.value), l("change", e));
|
|
64
64
|
}
|
|
65
65
|
function L(e) {
|
|
66
|
-
|
|
66
|
+
u.value || l("enter", e);
|
|
67
67
|
}
|
|
68
68
|
function M() {
|
|
69
|
-
a.value = "", l("update:value", ""),
|
|
69
|
+
a.value = "", l("update:value", ""), c.value?.focus();
|
|
70
70
|
}
|
|
71
|
-
return (e, o) => (
|
|
72
|
-
class:
|
|
71
|
+
return (e, o) => (x(), p("div", {
|
|
72
|
+
class: w(["textarea-wrap", { "show-count": n.showCount }]),
|
|
73
73
|
style: g(`
|
|
74
74
|
--textarea-width: ${S.value};
|
|
75
|
-
--textarea-primary-color-hover: ${
|
|
76
|
-
--textarea-primary-color-focus: ${
|
|
77
|
-
--textarea-primary-shadow-color: ${
|
|
75
|
+
--textarea-primary-color-hover: ${d(f)[4]};
|
|
76
|
+
--textarea-primary-color-focus: ${d(f)[4]};
|
|
77
|
+
--textarea-primary-shadow-color: ${d(z)};
|
|
78
78
|
`),
|
|
79
79
|
"data-count": b.value
|
|
80
80
|
}, [
|
|
81
|
-
|
|
81
|
+
y("textarea", {
|
|
82
82
|
ref_key: "textareaRef",
|
|
83
|
-
ref:
|
|
83
|
+
ref: c,
|
|
84
84
|
type: "hidden",
|
|
85
|
-
class:
|
|
86
|
-
style: g(
|
|
85
|
+
class: w(["textarea-item", { "clear-class": v.value, "textarea-disabled": n.disabled }]),
|
|
86
|
+
style: g(h.value),
|
|
87
87
|
value: a.value,
|
|
88
|
-
placeholder:
|
|
89
|
-
maxlength:
|
|
90
|
-
disabled:
|
|
88
|
+
placeholder: n.placeholder,
|
|
89
|
+
maxlength: n.maxlength,
|
|
90
|
+
disabled: n.disabled,
|
|
91
91
|
onCompositionstart: B,
|
|
92
92
|
onCompositionend: E,
|
|
93
93
|
onInput: k,
|
|
94
94
|
onChange: R,
|
|
95
|
-
onKeydown:
|
|
96
|
-
}, null, 46,
|
|
97
|
-
|
|
95
|
+
onKeydown: I(L, ["enter"])
|
|
96
|
+
}, null, 46, A),
|
|
97
|
+
v.value ? (x(), p("svg", {
|
|
98
98
|
key: 0,
|
|
99
99
|
class: "clear-svg",
|
|
100
100
|
onClick: M,
|
|
@@ -106,11 +106,11 @@ const K = ["data-count"], O = ["value", "placeholder", "maxlength", "disabled"],
|
|
|
106
106
|
"aria-hidden": "true",
|
|
107
107
|
viewBox: "64 64 896 896"
|
|
108
108
|
}, [...o[0] || (o[0] = [
|
|
109
|
-
|
|
110
|
-
])])) :
|
|
111
|
-
], 14,
|
|
109
|
+
y("path", { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" }, null, -1)
|
|
110
|
+
])])) : V("", !0)
|
|
111
|
+
], 14, O));
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
114
|
export {
|
|
115
|
-
|
|
115
|
+
W as default
|
|
116
116
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.text-scroll-horizontal[data-v-
|
|
1
|
+
.text-scroll-horizontal[data-v-cdf5afc9]{overflow:hidden;display:flex;box-shadow:0 0 5px var(--text-scroll-shadow-color);border-radius:6px;background-color:var(--text-scroll-bg-color)}.text-scroll-horizontal .scroll-items-group[data-v-cdf5afc9]{z-index:1;display:flex;align-items:center;will-change:transform;animation:horizontalScroll-cdf5afc9 var(--text-scroll-duration) linear var(--text-scroll-delay) var(--text-scroll-iteration-count);animation-play-state:var(--text-scroll-play-state)}@keyframes horizontalScroll-cdf5afc9{0%{transform:translate(0)}to{transform:translate(-100%)}}.text-scroll-horizontal .scroll-items-group .scroll-item[data-v-cdf5afc9]{margin-left:var(--text-scroll-item-gap);font-size:16px;font-weight:400;color:#000000e0;line-height:1.57;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-scroll-horizontal .scroll-items-group[data-v-cdf5afc9] .href-item{cursor:pointer;transition:color .3s}.text-scroll-horizontal .scroll-items-group[data-v-cdf5afc9] .href-item:hover{color:var(--text-scroll-href-hover-color)!important}.text-scroll-horizontal .scroll-items-group[data-v-cdf5afc9] .href-item .ellipsis-container{cursor:inherit}.text-scroll-horizontal .scroll-items-reset[data-v-cdf5afc9]{animation:none}.slide-enter-active[data-v-cdf5afc9],.slide-leave-active[data-v-cdf5afc9]{transition:all var(--text-scroll-duration) var(--text-scroll-timing-function)}.slide-enter-from[data-v-cdf5afc9]{transform:translateY(100%) scale(var(--text-scroll-scale));opacity:0}.slide-leave-to[data-v-cdf5afc9]{transform:translateY(-100%) scale(var(--text-scroll-scale));opacity:0}.text-scroll-vertical[data-v-cdf5afc9]{overflow:hidden;position:relative;box-shadow:0 0 5px var(--text-scroll-shadow-color);border-radius:6px;background-color:var(--text-scroll-bg-color)}.text-scroll-vertical .scroll-item-wrap[data-v-cdf5afc9]{position:absolute;left:0;right:0;height:100%;display:flex;align-items:center;justify-content:center;padding:0 var(--text-scroll-item-padding)}.text-scroll-vertical .scroll-item-wrap .scroll-item[data-v-cdf5afc9]{font-size:16px;font-weight:400;color:#000000e0;line-height:1.57;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.text-scroll-vertical .scroll-item-wrap[data-v-cdf5afc9] .href-item{cursor:pointer;transition:color .3s}.text-scroll-vertical .scroll-item-wrap[data-v-cdf5afc9] .href-item:hover{color:var(--text-scroll-href-hover-color)!important}.text-scroll-vertical .scroll-item-wrap[data-v-cdf5afc9] .href-item .ellipsis-container{cursor:inherit}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./TextScroll.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cdf5afc9"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|