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/select/Select.vue2.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as Te, ref as o, computed as T, watch as G, watchEffect as oe, onMounted as ze, onBeforeUnmount as Re, nextTick as Oe, createElementBlock as C, openBlock as g, normalizeStyle as ne, normalizeClass as x, unref as M, createElementVNode as b, createBlock as Pe, withDirectives as F, vModelText as De, toDisplayString as ue, withModifiers as N, Teleport as He, createVNode as J, Transition as We, withCtx as se, createCommentVNode as Fe, mergeProps as Ne, Fragment as Ie, renderList as Ue, vShow as K } from "vue";
|
|
2
2
|
import je from "../empty/index.js";
|
|
3
3
|
import Ae from "../scrollbar/index.js";
|
|
4
4
|
import { useInject as Xe, useOptionsSupported as Ye, useMutationObserver as qe, useEventListener as Ge } from "../utils/index.js";
|
|
5
|
-
const Je = { class: "select-search" }, Ke = ["readonly", "disabled"], Qe = ["title"], Ze = ["title", "onMouseenter", "onClick"],
|
|
5
|
+
const Je = { class: "select-search" }, Ke = ["readonly", "disabled"], Qe = ["title"], Ze = ["title", "onMouseenter", "onClick"], at = /* @__PURE__ */ Te({
|
|
6
6
|
__name: "Select",
|
|
7
7
|
props: {
|
|
8
8
|
options: { default: () => [] },
|
|
@@ -24,8 +24,8 @@ const Je = { class: "select-search" }, Ke = ["readonly", "disabled"], Qe = ["tit
|
|
|
24
24
|
modelValue: { default: void 0 }
|
|
25
25
|
},
|
|
26
26
|
emits: ["update:modelValue", "change", "openChange"],
|
|
27
|
-
setup(
|
|
28
|
-
const t =
|
|
27
|
+
setup(n, { emit: ie }) {
|
|
28
|
+
const t = n, I = o(!1), v = o([]), s = o(), z = o(null), d = o(), m = o(!1), R = o(!1), c = o(), u = o(!1), p = o(!0), $ = o(!1), U = o(!1), w = o(!1), O = o(!1), { colorPalettes: j, shadowColor: re } = Xe("Select"), i = o(null), Q = o(0), P = o(0), Z = o("bottom"), A = o(null), y = o(), X = o(null), D = o(), Y = o(null), q = o(), ce = o(document.documentElement.clientWidth), H = o(document.documentElement.clientHeight), { isSupported: ve } = Ye("passive"), k = ie, fe = T(() => typeof t.width == "number" ? `${t.width}px` : t.width), de = T(() => {
|
|
29
29
|
const e = {
|
|
30
30
|
small: 24,
|
|
31
31
|
middle: 32,
|
|
@@ -34,38 +34,38 @@ const Je = { class: "select-search" }, Ke = ["readonly", "disabled"], Qe = ["tit
|
|
|
34
34
|
return t.height !== void 0 ? `${t.height}px` : `${e[t.size]}px`;
|
|
35
35
|
});
|
|
36
36
|
T(() => t.options.length > t.maxDisplay);
|
|
37
|
-
const
|
|
37
|
+
const me = T(() => ({
|
|
38
38
|
maxHeight: `${t.maxDisplay * 32 + 8}px`
|
|
39
|
-
})),
|
|
40
|
-
const e =
|
|
41
|
-
switch (
|
|
39
|
+
})), pe = T(() => {
|
|
40
|
+
const e = y.value?.top ?? 0, l = D.value?.top ?? 0, a = e - l, h = y.value?.bottom ?? 0, L = (D.value?.bottom ?? 0) - h, f = y.value?.left ?? 0, W = D.value?.left ?? 0, r = f - W, E = y.value?.width ?? 0;
|
|
41
|
+
switch (Z.value) {
|
|
42
42
|
case "bottom":
|
|
43
43
|
return {
|
|
44
44
|
transformOrigin: "0 0",
|
|
45
|
-
top: `${
|
|
46
|
-
left: `${
|
|
45
|
+
top: `${a + P.value}px`,
|
|
46
|
+
left: `${r}px`,
|
|
47
47
|
minWidth: `${E}px`,
|
|
48
48
|
width: `${E}px`
|
|
49
49
|
};
|
|
50
50
|
case "top":
|
|
51
51
|
return {
|
|
52
52
|
transformOrigin: "100% 100%",
|
|
53
|
-
bottom: `${L +
|
|
54
|
-
left: `${
|
|
53
|
+
bottom: `${L + P.value}px`,
|
|
54
|
+
left: `${r}px`,
|
|
55
55
|
minWidth: `${E}px`,
|
|
56
56
|
width: `${E}px`
|
|
57
57
|
};
|
|
58
58
|
default:
|
|
59
59
|
return {
|
|
60
60
|
transformOrigin: "0 0",
|
|
61
|
-
top: `${
|
|
62
|
-
left: `${
|
|
61
|
+
top: `${a + P.value}px`,
|
|
62
|
+
left: `${r}px`,
|
|
63
63
|
minWidth: `${E}px`,
|
|
64
64
|
width: `${E}px`
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
|
-
|
|
68
|
+
G(
|
|
69
69
|
() => [t.placement, t.flip],
|
|
70
70
|
() => {
|
|
71
71
|
V();
|
|
@@ -73,194 +73,194 @@ const Je = { class: "select-search" }, Ke = ["readonly", "disabled"], Qe = ["tit
|
|
|
73
73
|
{
|
|
74
74
|
deep: !0
|
|
75
75
|
}
|
|
76
|
-
),
|
|
77
|
-
e && !
|
|
78
|
-
}),
|
|
79
|
-
k("openChange", e), t.search && !e && (
|
|
76
|
+
), G(u, (e) => {
|
|
77
|
+
e && !I.value && (I.value = !0);
|
|
78
|
+
}), G(u, (e) => {
|
|
79
|
+
k("openChange", e), t.search && !e && (d.value = void 0, R.value = !1);
|
|
80
80
|
}), oe(() => {
|
|
81
|
-
t.search ? (
|
|
82
|
-
|
|
83
|
-
}, 200),
|
|
81
|
+
t.search ? (d.value ? v.value = t.options.filter((e) => typeof t.filter == "function" ? t.filter(d.value, e) : e[t.label].includes(d.value)) : u.value ? v.value = [...t.options] : setTimeout(() => {
|
|
82
|
+
v.value = [...t.options];
|
|
83
|
+
}, 200), v.value.length && d.value ? c.value = v.value[0][t.value] : c.value = null) : v.value = t.options;
|
|
84
84
|
}), oe(() => {
|
|
85
85
|
Ce();
|
|
86
|
-
}),
|
|
87
|
-
_();
|
|
88
|
-
}), xe(() => {
|
|
86
|
+
}), ze(() => {
|
|
89
87
|
ee();
|
|
88
|
+
}), Re(() => {
|
|
89
|
+
te();
|
|
90
90
|
});
|
|
91
|
-
const
|
|
92
|
-
|
|
91
|
+
const _ = qe(
|
|
92
|
+
i,
|
|
93
93
|
() => {
|
|
94
|
-
|
|
94
|
+
Q.value !== i.value?.scrollTop && (Q.value = i.value?.scrollTop ?? 0, V());
|
|
95
95
|
},
|
|
96
96
|
{ subtree: !0, attributes: !0 }
|
|
97
97
|
);
|
|
98
98
|
Ge(window, "resize", ge);
|
|
99
99
|
function he() {
|
|
100
|
-
let e =
|
|
100
|
+
let e = Y.value?.parentElement;
|
|
101
101
|
for (; e; ) {
|
|
102
102
|
if (e === document.documentElement) {
|
|
103
|
-
|
|
103
|
+
X.value = document.documentElement;
|
|
104
104
|
return;
|
|
105
105
|
}
|
|
106
106
|
const { position: l } = getComputedStyle(e);
|
|
107
107
|
if (l !== "static") {
|
|
108
|
-
|
|
108
|
+
X.value = e;
|
|
109
109
|
return;
|
|
110
110
|
}
|
|
111
111
|
e = e.parentElement;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
function ge() {
|
|
115
|
-
ce.value = document.documentElement.clientWidth,
|
|
115
|
+
ce.value = document.documentElement.clientWidth, H.value = document.documentElement.clientHeight, ee(), V();
|
|
116
116
|
}
|
|
117
|
-
function
|
|
118
|
-
|
|
117
|
+
function ee() {
|
|
118
|
+
te(), i.value = le(A.value), i.value && i.value.addEventListener(
|
|
119
119
|
"scroll",
|
|
120
120
|
V,
|
|
121
121
|
ve.value ? { passive: !0 } : void 0
|
|
122
|
-
),
|
|
122
|
+
), i.value === document.documentElement ? _.start() : _.stop();
|
|
123
123
|
}
|
|
124
|
-
function
|
|
125
|
-
|
|
124
|
+
function te() {
|
|
125
|
+
i.value && i.value.removeEventListener("scroll", V), i.value = null;
|
|
126
126
|
}
|
|
127
127
|
function be(e) {
|
|
128
128
|
return e === document.documentElement ? null : e.parentElement;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function le(e) {
|
|
131
131
|
if (e === null) return null;
|
|
132
132
|
const l = be(e);
|
|
133
|
-
return l === null ? null : l === document.documentElement ? document.documentElement : ((
|
|
134
|
-
const { overflow: S, overflowX: L, overflowY:
|
|
135
|
-
return /(auto|scroll|overlay)/.test(S +
|
|
136
|
-
})(l) ? l :
|
|
133
|
+
return l === null ? null : l === document.documentElement ? document.documentElement : ((h) => {
|
|
134
|
+
const { overflow: S, overflowX: L, overflowY: f } = getComputedStyle(h);
|
|
135
|
+
return /(auto|scroll|overlay)/.test(S + f + L);
|
|
136
|
+
})(l) ? l : le(l);
|
|
137
137
|
}
|
|
138
138
|
function V() {
|
|
139
|
-
|
|
139
|
+
u.value && ae();
|
|
140
140
|
}
|
|
141
|
-
async function
|
|
142
|
-
await Oe(), he(),
|
|
141
|
+
async function ae() {
|
|
142
|
+
await Oe(), he(), D.value = X.value?.getBoundingClientRect(), y.value = A.value?.getBoundingClientRect(), q.value = Y.value?.offsetHeight, P.value = y.value.height + 4, t.flip && (Z.value = ye());
|
|
143
143
|
}
|
|
144
144
|
function we() {
|
|
145
|
-
if (
|
|
146
|
-
const e =
|
|
145
|
+
if (i.value) {
|
|
146
|
+
const e = i.value.getBoundingClientRect();
|
|
147
147
|
return {
|
|
148
148
|
top: e.top < 0 ? 0 : e.top,
|
|
149
|
-
bottom: e.bottom >
|
|
149
|
+
bottom: e.bottom > H.value ? H.value : e.bottom
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
return {
|
|
153
153
|
top: 0,
|
|
154
|
-
bottom:
|
|
154
|
+
bottom: H.value
|
|
155
155
|
};
|
|
156
156
|
}
|
|
157
157
|
function ye() {
|
|
158
|
-
const { top: e, bottom: l } =
|
|
159
|
-
return
|
|
160
|
-
function
|
|
161
|
-
if (
|
|
162
|
-
if (
|
|
163
|
-
if (!
|
|
164
|
-
return
|
|
158
|
+
const { top: e, bottom: l } = y.value, { top: a, bottom: h } = we(), S = e - a, L = h - l;
|
|
159
|
+
return f(t.placement, []);
|
|
160
|
+
function f(W, r) {
|
|
161
|
+
if (W === "bottom")
|
|
162
|
+
if (r.includes("bottom")) {
|
|
163
|
+
if (!r.includes("top"))
|
|
164
|
+
return f("top", r);
|
|
165
165
|
} else
|
|
166
|
-
return L <
|
|
167
|
-
else if (
|
|
168
|
-
if (
|
|
169
|
-
if (!
|
|
170
|
-
return
|
|
166
|
+
return L < q.value + 4 ? f("top", [...r, "bottom"]) : "bottom";
|
|
167
|
+
else if (W === "top")
|
|
168
|
+
if (r.includes("top")) {
|
|
169
|
+
if (!r.includes("bottom"))
|
|
170
|
+
return f("bottom", r);
|
|
171
171
|
} else
|
|
172
|
-
return S <
|
|
172
|
+
return S < q.value + 4 ? f("bottom", [...r, "top"]) : "top";
|
|
173
173
|
return t.placement;
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
function Ce() {
|
|
177
177
|
if (t.modelValue) {
|
|
178
178
|
const e = t.options.find((l) => l[t.value] === t.modelValue);
|
|
179
|
-
e ? (
|
|
179
|
+
e ? (s.value = e[t.label], c.value = e[t.value]) : (s.value = t.modelValue, c.value = null);
|
|
180
180
|
} else
|
|
181
|
-
|
|
181
|
+
s.value = null, c.value = null;
|
|
182
|
+
}
|
|
183
|
+
function xe() {
|
|
184
|
+
O.value = !0;
|
|
182
185
|
}
|
|
183
186
|
function $e() {
|
|
184
|
-
|
|
187
|
+
O.value = !1, u.value && (u.value = !1), t.search && (w.value = !1, p.value = !0, R.value = !1);
|
|
185
188
|
}
|
|
186
189
|
function Be() {
|
|
187
|
-
|
|
190
|
+
m.value = !0, t.allowClear && (s.value || t.search && d.value) && (p.value = !1, $.value = !0, t.search && (w.value = !1));
|
|
188
191
|
}
|
|
189
192
|
function Se() {
|
|
190
|
-
|
|
191
|
-
}
|
|
192
|
-
function Ee() {
|
|
193
|
-
d.value = !1, t.allowClear && $.value && ($.value = !1, t.search || (p.value = !0)), t.search && (n.value ? (b.value = !0, p.value = !1) : (b.value = !1, p.value = !0));
|
|
193
|
+
m.value = !1, t.allowClear && $.value && ($.value = !1, t.search || (p.value = !0)), t.search && (u.value ? (w.value = !0, p.value = !1) : (w.value = !1, p.value = !0));
|
|
194
194
|
}
|
|
195
|
-
function
|
|
196
|
-
|
|
195
|
+
function Ee(e, l) {
|
|
196
|
+
m.value = !!l, c.value = e;
|
|
197
197
|
}
|
|
198
|
-
async function
|
|
199
|
-
if (B(), !t.search && z.value && (z.value.style.opacity = "0"),
|
|
200
|
-
const e = t.options.find((l) => l[t.label] ===
|
|
201
|
-
|
|
198
|
+
async function Me() {
|
|
199
|
+
if (B(), !t.search && z.value && (z.value.style.opacity = "0"), u.value = !u.value, u.value && ae(), !c.value && s.value) {
|
|
200
|
+
const e = t.options.find((l) => l[t.label] === s.value);
|
|
201
|
+
c.value = e ? e[t.value] : null;
|
|
202
202
|
}
|
|
203
|
-
t.search && ($.value || (p.value = !
|
|
203
|
+
t.search && ($.value || (p.value = !u.value, w.value = u.value));
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function ke(e) {
|
|
206
206
|
R.value = !!e.target?.value;
|
|
207
207
|
}
|
|
208
|
-
function
|
|
209
|
-
|
|
208
|
+
function Ve() {
|
|
209
|
+
O.value && (B(), U.value = !0), $.value = !1, s.value = null, c.value = null, u.value = !1, w.value = !1, p.value = !0, k("update:modelValue"), k("change");
|
|
210
210
|
}
|
|
211
211
|
function B() {
|
|
212
212
|
z.value?.focus();
|
|
213
213
|
}
|
|
214
|
-
function
|
|
215
|
-
t.modelValue !== e && (
|
|
214
|
+
function Le(e, l, a) {
|
|
215
|
+
t.modelValue !== e && (s.value = l, c.value = e, k("update:modelValue", e), k("change", e, l, a)), U.value = !1, B();
|
|
216
216
|
}
|
|
217
|
-
return (e, l) => (
|
|
218
|
-
class:
|
|
219
|
-
"select-focused":
|
|
220
|
-
"search-select":
|
|
221
|
-
"select-small":
|
|
222
|
-
"select-large":
|
|
223
|
-
"select-disabled":
|
|
217
|
+
return (e, l) => (g(), C("div", {
|
|
218
|
+
class: x(["select-wrap", {
|
|
219
|
+
"select-focused": O.value,
|
|
220
|
+
"search-select": n.search,
|
|
221
|
+
"select-small": n.size === "small",
|
|
222
|
+
"select-large": n.size === "large",
|
|
223
|
+
"select-disabled": n.disabled
|
|
224
224
|
}]),
|
|
225
|
-
style:
|
|
225
|
+
style: ne(`
|
|
226
226
|
--select-width: ${fe.value};
|
|
227
227
|
--select-height: ${de.value};
|
|
228
|
-
--select-primary-color-hover: ${M(
|
|
229
|
-
--select-primary-color-focus: ${M(
|
|
228
|
+
--select-primary-color-hover: ${M(j)[4]};
|
|
229
|
+
--select-primary-color-focus: ${M(j)[4]};
|
|
230
230
|
--select-primary-shadow-color: ${M(re)};
|
|
231
231
|
`),
|
|
232
|
-
onClick: l[7] || (l[7] = (
|
|
232
|
+
onClick: l[7] || (l[7] = (a) => n.disabled ? () => !1 : Me())
|
|
233
233
|
}, [
|
|
234
|
-
|
|
234
|
+
b("div", {
|
|
235
235
|
ref_key: "selectContentRef",
|
|
236
|
-
ref:
|
|
236
|
+
ref: A,
|
|
237
237
|
class: "select-content-container",
|
|
238
|
-
onMouseenter:
|
|
239
|
-
onMouseleave:
|
|
238
|
+
onMouseenter: Be,
|
|
239
|
+
onMouseleave: Se
|
|
240
240
|
}, [
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
b("span", Je, [
|
|
242
|
+
F(b("input", {
|
|
243
243
|
ref_key: "inputRef",
|
|
244
244
|
ref: z,
|
|
245
|
-
class:
|
|
245
|
+
class: x(["search-input", { "caret-show": u.value || U.value }]),
|
|
246
246
|
type: "text",
|
|
247
247
|
autocomplete: "off",
|
|
248
|
-
readonly: !
|
|
249
|
-
disabled:
|
|
250
|
-
onInput:
|
|
251
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
252
|
-
onBlur: l[1] || (l[1] = (
|
|
253
|
-
onFocus: l[2] || (l[2] = (
|
|
248
|
+
readonly: !n.search,
|
|
249
|
+
disabled: n.disabled,
|
|
250
|
+
onInput: ke,
|
|
251
|
+
"onUpdate:modelValue": l[0] || (l[0] = (a) => d.value = a),
|
|
252
|
+
onBlur: l[1] || (l[1] = (a) => !m.value && !n.disabled ? $e() : () => !1),
|
|
253
|
+
onFocus: l[2] || (l[2] = (a) => n.disabled ? () => !1 : xe())
|
|
254
254
|
}, null, 42, Ke), [
|
|
255
|
-
[De,
|
|
255
|
+
[De, d.value]
|
|
256
256
|
])
|
|
257
257
|
]),
|
|
258
|
-
|
|
259
|
-
class:
|
|
260
|
-
title:
|
|
261
|
-
},
|
|
262
|
-
(
|
|
263
|
-
class:
|
|
258
|
+
b("span", {
|
|
259
|
+
class: x(["select-item", { "select-placeholder": !s.value || u.value, "select-item-hidden": R.value }]),
|
|
260
|
+
title: s.value
|
|
261
|
+
}, ue(s.value || n.placeholder), 11, Qe),
|
|
262
|
+
(g(), C("svg", {
|
|
263
|
+
class: x(["arrow-svg", { "arrow-rotate": u.value, "show-svg": p.value }]),
|
|
264
264
|
focusable: "false",
|
|
265
265
|
"data-icon": "down",
|
|
266
266
|
width: "1em",
|
|
@@ -269,10 +269,10 @@ const Je = { class: "select-search" }, Ke = ["readonly", "disabled"], Qe = ["tit
|
|
|
269
269
|
"aria-hidden": "true",
|
|
270
270
|
viewBox: "64 64 896 896"
|
|
271
271
|
}, [...l[8] || (l[8] = [
|
|
272
|
-
|
|
272
|
+
b("path", { d: "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" }, null, -1)
|
|
273
273
|
])], 2)),
|
|
274
|
-
(
|
|
275
|
-
class:
|
|
274
|
+
(g(), C("svg", {
|
|
275
|
+
class: x(["search-svg", { "show-svg": w.value }]),
|
|
276
276
|
focusable: "false",
|
|
277
277
|
"data-icon": "search",
|
|
278
278
|
width: "1em",
|
|
@@ -281,10 +281,10 @@ const Je = { class: "select-search" }, Ke = ["readonly", "disabled"], Qe = ["tit
|
|
|
281
281
|
"aria-hidden": "true",
|
|
282
282
|
viewBox: "64 64 896 896"
|
|
283
283
|
}, [...l[9] || (l[9] = [
|
|
284
|
-
|
|
284
|
+
b("path", { d: "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" }, null, -1)
|
|
285
285
|
])], 2)),
|
|
286
|
-
(
|
|
287
|
-
class:
|
|
286
|
+
(g(), C("svg", {
|
|
287
|
+
class: x(["clear-svg", { "show-svg": $.value }]),
|
|
288
288
|
focusable: "false",
|
|
289
289
|
"data-icon": "close-circle",
|
|
290
290
|
width: "1em",
|
|
@@ -293,16 +293,16 @@ const Je = { class: "select-search" }, Ke = ["readonly", "disabled"], Qe = ["tit
|
|
|
293
293
|
"aria-hidden": "true",
|
|
294
294
|
"fill-rule": "evenodd",
|
|
295
295
|
viewBox: "64 64 896 896",
|
|
296
|
-
onClick:
|
|
296
|
+
onClick: N(Ve, ["stop"])
|
|
297
297
|
}, [...l[10] || (l[10] = [
|
|
298
|
-
|
|
298
|
+
b("path", { d: "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" }, null, -1)
|
|
299
299
|
])], 2))
|
|
300
300
|
], 544),
|
|
301
|
-
(
|
|
302
|
-
disabled:
|
|
303
|
-
to:
|
|
301
|
+
(g(), Pe(He, {
|
|
302
|
+
disabled: n.to === !1,
|
|
303
|
+
to: n.to === !1 ? null : n.to
|
|
304
304
|
}, [
|
|
305
|
-
|
|
305
|
+
J(We, {
|
|
306
306
|
name: "slide",
|
|
307
307
|
"enter-from-class": "slide-enter",
|
|
308
308
|
"enter-active-class": "slide-enter",
|
|
@@ -311,56 +311,56 @@ const Je = { class: "select-search" }, Ke = ["readonly", "disabled"], Qe = ["tit
|
|
|
311
311
|
"leave-active-class": "slide-leave slide-leave-active",
|
|
312
312
|
"leave-to-class": "slide-leave slide-leave-active"
|
|
313
313
|
}, {
|
|
314
|
-
default:
|
|
315
|
-
|
|
314
|
+
default: se(() => [
|
|
315
|
+
I.value ? F((g(), C("div", {
|
|
316
316
|
key: 0,
|
|
317
317
|
ref_key: "selectPanelRef",
|
|
318
|
-
ref:
|
|
318
|
+
ref: Y,
|
|
319
319
|
class: "select-panel-container",
|
|
320
|
-
style:
|
|
321
|
-
...
|
|
322
|
-
"--select-option-bg-color-active": M(
|
|
320
|
+
style: ne({
|
|
321
|
+
...pe.value,
|
|
322
|
+
"--select-option-bg-color-active": M(j)[0]
|
|
323
323
|
})
|
|
324
324
|
}, [
|
|
325
|
-
|
|
326
|
-
style: { ...
|
|
325
|
+
F(J(M(Ae), Ne({
|
|
326
|
+
style: { ...me.value, "--scrollbar-rail-vertical-right": "2px 0 2px auto" },
|
|
327
327
|
class: "select-options-panel",
|
|
328
|
-
onClick:
|
|
329
|
-
onMouseenter: l[3] || (l[3] = (
|
|
330
|
-
onMouseleave: l[4] || (l[4] = (
|
|
331
|
-
},
|
|
332
|
-
default:
|
|
333
|
-
(
|
|
334
|
-
key:
|
|
335
|
-
class:
|
|
328
|
+
onClick: N(B, ["stop"]),
|
|
329
|
+
onMouseenter: l[3] || (l[3] = (a) => m.value = !0),
|
|
330
|
+
onMouseleave: l[4] || (l[4] = (a) => m.value = !1)
|
|
331
|
+
}, n.scrollbarProps), {
|
|
332
|
+
default: se(() => [
|
|
333
|
+
(g(!0), C(Ie, null, Ue(v.value, (a, h) => (g(), C("p", {
|
|
334
|
+
key: h,
|
|
335
|
+
class: x([
|
|
336
336
|
"select-option",
|
|
337
337
|
{
|
|
338
|
-
"option-hover": !
|
|
339
|
-
"option-selected":
|
|
340
|
-
"option-disabled":
|
|
338
|
+
"option-hover": !a.disabled && a[n.value] === c.value,
|
|
339
|
+
"option-selected": a[n.label] === s.value,
|
|
340
|
+
"option-disabled": a.disabled
|
|
341
341
|
}
|
|
342
342
|
]),
|
|
343
|
-
title:
|
|
344
|
-
onMouseenter: (S) =>
|
|
345
|
-
onClick:
|
|
346
|
-
},
|
|
343
|
+
title: a[n.label],
|
|
344
|
+
onMouseenter: (S) => Ee(a[n.value], a.disabled),
|
|
345
|
+
onClick: N((S) => a.disabled ? B() : Le(a[n.value], a[n.label], h), ["stop"])
|
|
346
|
+
}, ue(a[n.label]), 43, Ze))), 128))
|
|
347
347
|
]),
|
|
348
348
|
_: 1
|
|
349
349
|
}, 16, ["style"]), [
|
|
350
|
-
[
|
|
350
|
+
[K, v.value.length]
|
|
351
351
|
]),
|
|
352
|
-
|
|
352
|
+
F(b("div", {
|
|
353
353
|
class: "select-options-panel options-panel-empty",
|
|
354
|
-
onClick:
|
|
355
|
-
onMouseenter: l[5] || (l[5] = (
|
|
356
|
-
onMouseleave: l[6] || (l[6] = (
|
|
354
|
+
onClick: N(B, ["stop"]),
|
|
355
|
+
onMouseenter: l[5] || (l[5] = (a) => m.value = !0),
|
|
356
|
+
onMouseleave: l[6] || (l[6] = (a) => m.value = !1)
|
|
357
357
|
}, [
|
|
358
|
-
|
|
358
|
+
J(M(je), { image: "outlined" })
|
|
359
359
|
], 544), [
|
|
360
|
-
[
|
|
360
|
+
[K, !v.value.length]
|
|
361
361
|
])
|
|
362
362
|
], 4)), [
|
|
363
|
-
[
|
|
363
|
+
[K, u.value]
|
|
364
364
|
]) : Fe("", !0)
|
|
365
365
|
]),
|
|
366
366
|
_: 1
|
|
@@ -370,5 +370,5 @@ const Je = { class: "select-search" }, Ke = ["readonly", "disabled"], Qe = ["tit
|
|
|
370
370
|
}
|
|
371
371
|
});
|
|
372
372
|
export {
|
|
373
|
-
|
|
373
|
+
at as default
|
|
374
374
|
};
|
package/es/skeleton/Skeleton.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.skeleton-wrap[data-v-
|
|
1
|
+
.skeleton-wrap[data-v-882c2f85]{display:table;width:100%}.skeleton-wrap .skeleton-button[data-v-882c2f85]{display:inline-block;vertical-align:top;background:#0000000f;border-radius:4px;width:64px;min-width:64px;height:32px;line-height:32px}.skeleton-wrap .button-sm[data-v-882c2f85]{width:48px;min-width:48px;height:24px;line-height:24px}.skeleton-wrap .button-lg[data-v-882c2f85]{width:80px;min-width:80px;height:40px;line-height:40px}.skeleton-wrap .button-round[data-v-882c2f85]{border-radius:var(--button-size)}.skeleton-wrap .button-circle[data-v-882c2f85]{width:var(--button-size);min-width:var(--button-size);border-radius:50%}.skeleton-wrap .button-block[data-v-882c2f85]{width:100%}.skeleton-wrap .skeleton-input[data-v-882c2f85]{display:inline-block;vertical-align:top;background:#0000000f;border-radius:4px;width:160px;min-width:160px;height:32px;line-height:32px}.skeleton-wrap .input-sm[data-v-882c2f85]{width:120px;min-width:120px;height:24px;line-height:24px}.skeleton-wrap .input-lg[data-v-882c2f85]{width:200px;min-width:200px;height:40px;line-height:40px}.skeleton-wrap .skeleton-image[data-v-882c2f85]{display:flex;align-items:center;justify-content:center;vertical-align:top;background:#0000000f;border-radius:4px;width:96px;height:96px;line-height:96px}.skeleton-wrap .skeleton-image .image-svg[data-v-882c2f85]{width:48px;height:48px;line-height:48px;max-width:192px;max-height:192px;color:#bfbfbf}.skeleton-wrap .skeleton-image .image-svg .svg-path[data-v-882c2f85]{fill:currentColor}.skeleton-wrap .skeleton-header[data-v-882c2f85]{display:table-cell;padding-right:16px;vertical-align:top}.skeleton-wrap .skeleton-header .skeleton-avatar[data-v-882c2f85]{display:inline-block;vertical-align:top;background:#0000000f;width:32px;height:32px;line-height:32px;border-radius:50%}.skeleton-wrap .skeleton-header .avatar-sm[data-v-882c2f85]{width:24px;height:24px;line-height:24px}.skeleton-wrap .skeleton-header .avatar-lg[data-v-882c2f85]{width:40px;height:40px;line-height:40px}.skeleton-wrap .skeleton-header .avatar-square[data-v-882c2f85]{border-radius:6px}.skeleton-wrap .skeleton-content[data-v-882c2f85]{display:table-cell;width:100%;vertical-align:top}.skeleton-wrap .skeleton-content .skeleton-title[data-v-882c2f85]{margin:0;height:16px;background:#0000000f;border-radius:4px}.skeleton-wrap .skeleton-content .skeleton-paragraph[data-v-882c2f85]{margin:0;padding:0}.skeleton-wrap .skeleton-content .skeleton-paragraph li[data-v-882c2f85]{height:16px;list-style:none;background:#0000000f;border-radius:4px}.skeleton-wrap .skeleton-content .skeleton-paragraph li[data-v-882c2f85]:not(:first-child){margin-top:16px}.skeleton-wrap .skeleton-content .skeleton-paragraph li[data-v-882c2f85]:last-child{width:61%}.skeleton-wrap .skeleton-content .mt24[data-v-882c2f85]{margin-top:24px}.skeleton-wrap .skeleton-content .mt28[data-v-882c2f85]{margin-top:28px}.skeleton-avatar .skeleton-content .skeleton-title[data-v-882c2f85]{margin-top:var(--title-top)}.skeleton-animated .skeleton-button[data-v-882c2f85],.skeleton-animated .skeleton-input[data-v-882c2f85],.skeleton-animated .skeleton-image[data-v-882c2f85],.skeleton-animated .skeleton-header .skeleton-avatar[data-v-882c2f85],.skeleton-animated .skeleton-content .skeleton-title[data-v-882c2f85],.skeleton-animated .skeleton-content .skeleton-paragraph li[data-v-882c2f85]{position:relative;z-index:0;overflow:hidden;background:transparent}.skeleton-animated .skeleton-button[data-v-882c2f85]:after,.skeleton-animated .skeleton-input[data-v-882c2f85]:after,.skeleton-animated .skeleton-image[data-v-882c2f85]:after,.skeleton-animated .skeleton-header .skeleton-avatar[data-v-882c2f85]:after,.skeleton-animated .skeleton-content .skeleton-title[data-v-882c2f85]:after,.skeleton-animated .skeleton-content .skeleton-paragraph li[data-v-882c2f85]:after{position:absolute;inset:0 -150%;background:linear-gradient(90deg,#0000000f 25%,#00000026 37%,#0000000f 63%);animation-name:skeletonLoading-882c2f85;animation-duration:1.4s;animation-timing-function:ease;animation-iteration-count:infinite;content:""}@keyframes skeletonLoading-882c2f85{0%{transform:translate(-37.5%)}to{transform:translate(37.5%)}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Skeleton.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-882c2f85"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|