vue-amazing-ui 2.4.21 → 2.4.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +292 -292
- package/README.zh-CN.md +292 -292
- package/dist/index.iife.js +147 -147
- package/dist/index.js +6726 -6712
- package/dist/index.umd.cjs +151 -151
- package/dist/style.css +1 -1
- package/es/alert/Alert.css +1 -1
- package/es/alert/Alert.vue.js +2 -2
- package/es/alert/Alert.vue2.js +56 -56
- package/es/avatar/Avatar.css +1 -1
- package/es/avatar/Avatar.vue.js +1 -1
- package/es/avatar/Avatar.vue2.js +29 -29
- package/es/backtop/BackTop.css +1 -1
- package/es/backtop/BackTop.vue.js +2 -2
- package/es/backtop/BackTop.vue2.js +77 -77
- package/es/badge/Badge.css +1 -1
- package/es/badge/Badge.vue.js +2 -2
- package/es/badge/Badge.vue2.js +39 -39
- package/es/breadcrumb/Breadcrumb.css +1 -1
- package/es/breadcrumb/Breadcrumb.vue.js +2 -2
- package/es/breadcrumb/Breadcrumb.vue2.js +35 -35
- package/es/button/Button.css +1 -1
- package/es/button/Button.vue.js +2 -2
- package/es/button/Button.vue2.js +43 -43
- package/es/calendar/Calendar.css +1 -1
- package/es/calendar/Calendar.vue.js +2 -2
- package/es/calendar/Calendar.vue2.js +111 -111
- package/es/card/Card.css +1 -1
- package/es/card/Card.vue.js +2 -2
- package/es/card/Card.vue2.js +21 -21
- package/es/carousel/Carousel.css +1 -1
- package/es/carousel/Carousel.vue.js +2 -2
- package/es/carousel/Carousel.vue2.js +131 -131
- package/es/cascader/Cascader.css +1 -1
- package/es/cascader/Cascader.d.ts +8 -0
- package/es/cascader/Cascader.vue.js +2 -2
- package/es/cascader/Cascader.vue2.js +71 -55
- package/es/cascader/index.d.ts +12 -0
- package/es/checkbox/Checkbox.css +1 -1
- package/es/checkbox/Checkbox.vue.js +2 -2
- package/es/checkbox/Checkbox.vue2.js +52 -52
- package/es/collapse/Collapse.css +1 -1
- package/es/collapse/Collapse.vue.js +2 -2
- package/es/collapse/Collapse.vue2.js +86 -86
- package/es/colorpicker/ColorPicker.css +1 -1
- package/es/colorpicker/ColorPicker.vue.js +2 -2
- package/es/colorpicker/ColorPicker.vue2.js +232 -232
- package/es/configprovider/ConfigProvider.vue.js +29 -29
- package/es/countdown/Countdown.css +1 -1
- package/es/countdown/Countdown.vue.js +2 -2
- package/es/countdown/Countdown.vue2.js +67 -67
- package/es/datepicker/DatePicker.css +1 -1
- package/es/datepicker/DatePicker.vue.js +4 -4
- package/es/datepicker/DatePicker.vue2.js +20 -21
- package/es/descriptions/descriptions/Descriptions.css +1 -1
- package/es/descriptions/descriptions/Descriptions.vue.js +2 -2
- package/es/descriptions/descriptions/Descriptions.vue2.js +61 -61
- package/es/descriptions/descriptionsitem/DescriptionsItem.css +1 -1
- package/es/descriptions/descriptionsitem/DescriptionsItem.vue.js +2 -2
- package/es/descriptions/descriptionsitem/DescriptionsItem.vue2.js +17 -17
- package/es/dialog/Dialog.css +1 -1
- package/es/dialog/Dialog.d.ts +2 -2
- package/es/dialog/Dialog.vue.js +1 -1
- package/es/dialog/Dialog.vue2.js +112 -112
- package/es/dialog/index.d.ts +6 -6
- package/es/divider/Divider.css +1 -1
- package/es/divider/Divider.vue.js +1 -1
- package/es/divider/Divider.vue2.js +11 -11
- package/es/drawer/Drawer.css +1 -1
- package/es/drawer/Drawer.vue.js +2 -2
- package/es/drawer/Drawer.vue2.js +84 -84
- package/es/ellipsis/Ellipsis.css +1 -1
- package/es/ellipsis/Ellipsis.vue.js +2 -2
- package/es/ellipsis/Ellipsis.vue2.js +32 -32
- package/es/empty/Empty.css +1 -1
- package/es/empty/Empty.vue.js +2 -2
- package/es/empty/Empty.vue2.js +22 -22
- package/es/flex/Flex.css +1 -1
- package/es/flex/Flex.vue.js +2 -2
- package/es/flex/Flex.vue2.js +10 -10
- package/es/floatbutton/FloatButton.css +1 -1
- package/es/floatbutton/FloatButton.vue.js +1 -1
- package/es/floatbutton/FloatButton.vue2.js +57 -57
- package/es/gradienttext/GradientText.css +1 -1
- package/es/gradienttext/GradientText.vue.js +1 -1
- package/es/gradienttext/GradientText.vue2.js +7 -7
- package/es/grid/col/Col.css +1 -1
- package/es/grid/col/Col.vue.js +2 -2
- package/es/grid/col/Col.vue2.js +7 -7
- package/es/grid/row/Row.css +1 -1
- package/es/grid/row/Row.vue.js +1 -1
- package/es/grid/row/Row.vue2.js +14 -14
- package/es/image/Image.css +1 -1
- package/es/image/Image.vue.js +2 -2
- package/es/image/Image.vue2.js +177 -177
- package/es/input/Input.css +1 -1
- package/es/input/Input.vue.js +2 -2
- package/es/input/Input.vue2.js +72 -72
- package/es/inputnumber/InputNumber.css +1 -1
- package/es/inputnumber/InputNumber.vue.js +2 -2
- package/es/inputnumber/InputNumber.vue2.js +77 -77
- package/es/inputsearch/InputSearch.css +1 -1
- package/es/inputsearch/InputSearch.vue.js +2 -2
- package/es/inputsearch/InputSearch.vue2.js +61 -61
- package/es/list/list/List.css +1 -1
- package/es/list/list/List.vue.js +2 -2
- package/es/list/list/List.vue2.js +14 -14
- package/es/list/listitem/ListItem.css +1 -1
- package/es/list/listitem/ListItem.vue.js +2 -2
- package/es/list/listitem/ListItem.vue2.js +41 -41
- package/es/loadingbar/LoadingBar.css +1 -1
- package/es/loadingbar/LoadingBar.vue.js +2 -2
- package/es/loadingbar/LoadingBar.vue2.js +25 -25
- package/es/message/Message.css +1 -1
- package/es/message/Message.vue.js +2 -2
- package/es/message/Message.vue2.js +37 -37
- package/es/modal/Modal.css +1 -1
- package/es/modal/Modal.d.ts +2 -2
- package/es/modal/Modal.vue.js +1 -1
- package/es/modal/index.d.ts +6 -6
- package/es/node_modules/.pnpm/@vuepic_vue-datepicker@12.0.4_vue@3.5.24_typescript@5.9.3_/node_modules/@vuepic/vue-datepicker/dist/main.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-cards.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-creative.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-cube.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-flip.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/navigation.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper.css +1 -0
- package/es/notification/Notification.css +1 -1
- package/es/notification/Notification.vue.js +2 -2
- package/es/notification/Notification.vue2.js +45 -45
- package/es/numberanimation/NumberAnimation.vue.js +17 -17
- package/es/pagination/Pagination.css +1 -1
- package/es/pagination/Pagination.vue.js +1 -1
- package/es/pagination/Pagination.vue2.js +124 -124
- package/es/popconfirm/Popconfirm.css +1 -1
- package/es/popconfirm/Popconfirm.vue.js +1 -1
- package/es/popconfirm/Popconfirm.vue2.js +58 -58
- package/es/popover/Popover.css +1 -1
- package/es/popover/Popover.vue.js +2 -2
- package/es/popover/Popover.vue2.js +20 -20
- package/es/progress/Progress.css +1 -1
- package/es/progress/Progress.vue.js +2 -2
- package/es/progress/Progress.vue2.js +81 -81
- package/es/qrcode/QRCode.css +1 -1
- package/es/qrcode/QRCode.vue.js +3 -3
- package/es/qrcode/QRCode.vue2.js +18 -18
- package/es/radio/Radio.css +1 -1
- package/es/radio/Radio.vue.js +2 -2
- package/es/radio/Radio.vue2.js +88 -88
- package/es/rate/Rate.css +1 -1
- package/es/rate/Rate.d.ts +1 -1
- package/es/rate/Rate.vue.js +1 -1
- package/es/rate/Rate.vue2.js +90 -90
- package/es/rate/index.d.ts +3 -3
- package/es/result/Result.css +1 -1
- package/es/result/Result.vue.js +2 -2
- package/es/result/Result.vue2.js +51 -51
- package/es/scrollbar/Scrollbar.css +1 -1
- package/es/scrollbar/Scrollbar.vue.js +1 -1
- package/es/scrollbar/Scrollbar.vue2.js +106 -106
- package/es/segmented/Segmented.css +1 -1
- package/es/segmented/Segmented.vue.js +2 -2
- package/es/segmented/Segmented.vue2.js +51 -51
- package/es/select/Select.css +1 -1
- package/es/select/Select.vue.js +2 -2
- package/es/select/Select.vue2.js +157 -157
- package/es/skeleton/Skeleton.css +1 -1
- package/es/skeleton/Skeleton.vue.js +2 -2
- package/es/skeleton/Skeleton.vue2.js +61 -61
- package/es/slider/Slider.css +1 -1
- package/es/slider/Slider.vue.js +2 -2
- package/es/slider/Slider.vue2.js +195 -195
- package/es/space/Space.css +1 -1
- package/es/space/Space.vue.js +2 -2
- package/es/space/Space.vue2.js +7 -7
- package/es/spin/Spin.css +1 -1
- package/es/spin/Spin.vue.js +2 -2
- package/es/spin/Spin.vue2.js +67 -67
- package/es/statistic/Statistic.css +1 -1
- package/es/statistic/Statistic.vue.js +2 -2
- package/es/statistic/Statistic.vue2.js +21 -21
- package/es/steps/Steps.css +1 -1
- package/es/steps/Steps.vue.js +2 -2
- package/es/steps/Steps.vue2.js +35 -35
- package/es/swiper/Swiper.css +1 -1
- package/es/swiper/Swiper.vue.js +1 -1
- package/es/swiper/Swiper.vue2.js +89 -89
- package/es/switch/Switch.css +1 -1
- package/es/switch/Switch.vue.js +1 -1
- package/es/switch/Switch.vue2.js +32 -32
- package/es/table/Table.css +1 -1
- package/es/table/Table.vue.js +2 -2
- package/es/table/Table.vue2.js +686 -687
- package/es/tabs/Tabs.css +1 -1
- package/es/tabs/Tabs.vue.js +2 -2
- package/es/tabs/Tabs.vue2.js +91 -91
- package/es/tag/Tag.css +1 -1
- package/es/tag/Tag.vue.js +1 -1
- package/es/tag/Tag.vue2.js +91 -91
- package/es/textarea/Textarea.css +1 -1
- package/es/textarea/Textarea.vue.js +1 -1
- package/es/textarea/Textarea.vue2.js +37 -37
- package/es/textscroll/TextScroll.css +1 -1
- package/es/textscroll/TextScroll.d.ts +1 -1
- package/es/textscroll/TextScroll.vue.js +2 -2
- package/es/textscroll/TextScroll.vue2.js +100 -100
- package/es/textscroll/index.d.ts +3 -3
- package/es/timeline/Timeline.css +1 -1
- package/es/timeline/Timeline.vue.js +2 -2
- package/es/timeline/Timeline.vue2.js +24 -24
- package/es/tooltip/Tooltip.css +1 -1
- package/es/tooltip/Tooltip.vue.js +2 -2
- package/es/tooltip/Tooltip.vue2.js +129 -129
- package/es/upload/Upload.css +1 -1
- package/es/upload/Upload.vue.js +2 -2
- package/es/upload/Upload.vue2.js +137 -137
- package/es/utils/resolver.js +3 -3
- package/es/video/Video.css +1 -1
- package/es/video/Video.vue.js +2 -2
- package/es/video/Video.vue2.js +44 -44
- package/es/waterfall/Waterfall.css +1 -1
- package/es/waterfall/Waterfall.vue.js +2 -2
- package/es/waterfall/Waterfall.vue2.js +54 -54
- package/lib/alert/Alert.css +1 -1
- package/lib/alert/Alert.vue.cjs +1 -1
- package/lib/alert/Alert.vue2.cjs +2 -2
- package/lib/avatar/Avatar.css +1 -1
- package/lib/avatar/Avatar.vue.cjs +1 -1
- package/lib/avatar/Avatar.vue2.cjs +1 -1
- package/lib/backtop/BackTop.css +1 -1
- package/lib/backtop/BackTop.vue.cjs +1 -1
- package/lib/backtop/BackTop.vue2.cjs +6 -6
- package/lib/badge/Badge.css +1 -1
- package/lib/badge/Badge.vue.cjs +1 -1
- package/lib/badge/Badge.vue2.cjs +1 -1
- package/lib/breadcrumb/Breadcrumb.css +1 -1
- package/lib/breadcrumb/Breadcrumb.vue.cjs +1 -1
- package/lib/breadcrumb/Breadcrumb.vue2.cjs +2 -2
- package/lib/button/Button.css +1 -1
- package/lib/button/Button.vue.cjs +1 -1
- package/lib/button/Button.vue2.cjs +3 -3
- package/lib/calendar/Calendar.css +1 -1
- package/lib/calendar/Calendar.vue.cjs +1 -1
- package/lib/calendar/Calendar.vue2.cjs +5 -5
- package/lib/card/Card.css +1 -1
- package/lib/card/Card.vue.cjs +1 -1
- package/lib/card/Card.vue2.cjs +1 -1
- package/lib/carousel/Carousel.css +1 -1
- package/lib/carousel/Carousel.vue.cjs +1 -1
- package/lib/carousel/Carousel.vue2.cjs +7 -7
- package/lib/cascader/Cascader.css +1 -1
- package/lib/cascader/Cascader.d.ts +8 -0
- package/lib/cascader/Cascader.vue.cjs +1 -1
- package/lib/cascader/Cascader.vue2.cjs +1 -1
- package/lib/cascader/index.d.ts +12 -0
- package/lib/checkbox/Checkbox.css +1 -1
- package/lib/checkbox/Checkbox.vue.cjs +1 -1
- package/lib/checkbox/Checkbox.vue2.cjs +1 -1
- package/lib/collapse/Collapse.css +1 -1
- package/lib/collapse/Collapse.vue.cjs +1 -1
- package/lib/collapse/Collapse.vue2.cjs +1 -1
- package/lib/colorpicker/ColorPicker.css +1 -1
- package/lib/colorpicker/ColorPicker.vue.cjs +1 -1
- package/lib/colorpicker/ColorPicker.vue2.cjs +8 -8
- package/lib/configprovider/ConfigProvider.vue.cjs +1 -1
- package/lib/countdown/Countdown.css +1 -1
- package/lib/countdown/Countdown.vue.cjs +1 -1
- package/lib/countdown/Countdown.vue2.cjs +1 -1
- package/lib/datepicker/DatePicker.css +1 -1
- package/lib/datepicker/DatePicker.vue.cjs +1 -1
- package/lib/datepicker/DatePicker.vue2.cjs +2 -2
- package/lib/descriptions/descriptions/Descriptions.css +1 -1
- package/lib/descriptions/descriptions/Descriptions.vue.cjs +1 -1
- package/lib/descriptions/descriptions/Descriptions.vue2.cjs +1 -1
- package/lib/descriptions/descriptionsitem/DescriptionsItem.css +1 -1
- package/lib/descriptions/descriptionsitem/DescriptionsItem.vue.cjs +1 -1
- package/lib/descriptions/descriptionsitem/DescriptionsItem.vue2.cjs +1 -1
- package/lib/dialog/Dialog.css +1 -1
- package/lib/dialog/Dialog.d.ts +2 -2
- package/lib/dialog/Dialog.vue.cjs +1 -1
- package/lib/dialog/Dialog.vue2.cjs +1 -1
- package/lib/dialog/index.d.ts +6 -6
- package/lib/divider/Divider.css +1 -1
- package/lib/divider/Divider.vue.cjs +1 -1
- package/lib/divider/Divider.vue2.cjs +1 -1
- package/lib/drawer/Drawer.css +1 -1
- package/lib/drawer/Drawer.vue.cjs +1 -1
- package/lib/drawer/Drawer.vue2.cjs +1 -1
- package/lib/ellipsis/Ellipsis.css +1 -1
- package/lib/ellipsis/Ellipsis.vue.cjs +1 -1
- package/lib/ellipsis/Ellipsis.vue2.cjs +1 -1
- package/lib/empty/Empty.css +1 -1
- package/lib/empty/Empty.vue.cjs +1 -1
- package/lib/empty/Empty.vue2.cjs +1 -1
- package/lib/flex/Flex.css +1 -1
- package/lib/flex/Flex.vue.cjs +1 -1
- package/lib/flex/Flex.vue2.cjs +8 -8
- package/lib/floatbutton/FloatButton.css +1 -1
- package/lib/floatbutton/FloatButton.vue.cjs +1 -1
- package/lib/floatbutton/FloatButton.vue2.cjs +5 -5
- package/lib/gradienttext/GradientText.css +1 -1
- package/lib/gradienttext/GradientText.vue.cjs +1 -1
- package/lib/gradienttext/GradientText.vue2.cjs +1 -1
- package/lib/grid/col/Col.css +1 -1
- package/lib/grid/col/Col.vue.cjs +1 -1
- package/lib/grid/col/Col.vue2.cjs +1 -1
- package/lib/grid/row/Row.css +1 -1
- package/lib/grid/row/Row.vue.cjs +1 -1
- package/lib/grid/row/Row.vue2.cjs +1 -1
- package/lib/image/Image.css +1 -1
- package/lib/image/Image.vue.cjs +1 -1
- package/lib/image/Image.vue2.cjs +1 -1
- package/lib/input/Input.css +1 -1
- package/lib/input/Input.vue.cjs +1 -1
- package/lib/input/Input.vue2.cjs +5 -5
- package/lib/inputnumber/InputNumber.css +1 -1
- package/lib/inputnumber/InputNumber.vue.cjs +1 -1
- package/lib/inputnumber/InputNumber.vue2.cjs +6 -6
- package/lib/inputsearch/InputSearch.css +1 -1
- package/lib/inputsearch/InputSearch.vue.cjs +1 -1
- package/lib/inputsearch/InputSearch.vue2.cjs +2 -2
- package/lib/list/list/List.css +1 -1
- package/lib/list/list/List.vue.cjs +1 -1
- package/lib/list/list/List.vue2.cjs +1 -1
- package/lib/list/listitem/ListItem.css +1 -1
- package/lib/list/listitem/ListItem.vue.cjs +1 -1
- package/lib/list/listitem/ListItem.vue2.cjs +1 -1
- package/lib/loadingbar/LoadingBar.css +1 -1
- package/lib/loadingbar/LoadingBar.vue.cjs +1 -1
- package/lib/loadingbar/LoadingBar.vue2.cjs +3 -3
- package/lib/message/Message.css +1 -1
- package/lib/message/Message.vue.cjs +1 -1
- package/lib/message/Message.vue2.cjs +2 -2
- package/lib/modal/Modal.css +1 -1
- package/lib/modal/Modal.d.ts +2 -2
- package/lib/modal/Modal.vue.cjs +1 -1
- package/lib/modal/index.d.ts +6 -6
- package/lib/node_modules/.pnpm/@vuepic_vue-datepicker@12.0.4_vue@3.5.24_typescript@5.9.3_/node_modules/@vuepic/vue-datepicker/dist/main.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-cards.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-creative.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-cube.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/effect-flip.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/navigation.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper.css +1 -0
- package/lib/notification/Notification.css +1 -1
- package/lib/notification/Notification.vue.cjs +1 -1
- package/lib/notification/Notification.vue2.cjs +2 -2
- package/lib/numberanimation/NumberAnimation.vue.cjs +1 -1
- package/lib/pagination/Pagination.css +1 -1
- package/lib/pagination/Pagination.vue.cjs +1 -1
- package/lib/pagination/Pagination.vue2.cjs +1 -1
- package/lib/popconfirm/Popconfirm.css +1 -1
- package/lib/popconfirm/Popconfirm.vue.cjs +1 -1
- package/lib/popconfirm/Popconfirm.vue2.cjs +2 -2
- package/lib/popover/Popover.css +1 -1
- package/lib/popover/Popover.vue.cjs +1 -1
- package/lib/popover/Popover.vue2.cjs +1 -1
- package/lib/progress/Progress.css +1 -1
- package/lib/progress/Progress.vue.cjs +1 -1
- package/lib/progress/Progress.vue2.cjs +9 -9
- package/lib/qrcode/QRCode.css +1 -1
- package/lib/qrcode/QRCode.vue.cjs +1 -1
- package/lib/qrcode/QRCode.vue2.cjs +1 -1
- package/lib/radio/Radio.css +1 -1
- package/lib/radio/Radio.vue.cjs +1 -1
- package/lib/radio/Radio.vue2.cjs +4 -4
- package/lib/rate/Rate.css +1 -1
- package/lib/rate/Rate.d.ts +1 -1
- package/lib/rate/Rate.vue.cjs +1 -1
- package/lib/rate/Rate.vue2.cjs +1 -1
- package/lib/rate/index.d.ts +3 -3
- package/lib/result/Result.css +1 -1
- package/lib/result/Result.vue.cjs +1 -1
- package/lib/result/Result.vue2.cjs +1 -1
- package/lib/scrollbar/Scrollbar.css +1 -1
- package/lib/scrollbar/Scrollbar.vue.cjs +1 -1
- package/lib/scrollbar/Scrollbar.vue2.cjs +5 -5
- package/lib/segmented/Segmented.css +1 -1
- package/lib/segmented/Segmented.vue.cjs +1 -1
- package/lib/segmented/Segmented.vue2.cjs +1 -1
- package/lib/select/Select.css +1 -1
- package/lib/select/Select.vue.cjs +1 -1
- package/lib/select/Select.vue2.cjs +4 -4
- package/lib/skeleton/Skeleton.css +1 -1
- package/lib/skeleton/Skeleton.vue.cjs +1 -1
- package/lib/skeleton/Skeleton.vue2.cjs +1 -1
- package/lib/slider/Slider.css +1 -1
- package/lib/slider/Slider.vue.cjs +1 -1
- package/lib/slider/Slider.vue2.cjs +7 -7
- package/lib/space/Space.css +1 -1
- package/lib/space/Space.vue.cjs +1 -1
- package/lib/space/Space.vue2.cjs +1 -1
- package/lib/spin/Spin.css +1 -1
- package/lib/spin/Spin.vue.cjs +1 -1
- package/lib/spin/Spin.vue2.cjs +5 -5
- package/lib/statistic/Statistic.css +1 -1
- package/lib/statistic/Statistic.vue.cjs +1 -1
- package/lib/statistic/Statistic.vue2.cjs +1 -1
- package/lib/steps/Steps.css +1 -1
- package/lib/steps/Steps.vue.cjs +1 -1
- package/lib/steps/Steps.vue2.cjs +3 -3
- package/lib/swiper/Swiper.css +1 -1
- package/lib/swiper/Swiper.vue.cjs +1 -1
- package/lib/swiper/Swiper.vue2.cjs +13 -13
- package/lib/switch/Switch.css +1 -1
- package/lib/switch/Switch.vue.cjs +1 -1
- package/lib/switch/Switch.vue2.cjs +5 -5
- package/lib/table/Table.css +1 -1
- package/lib/table/Table.vue.cjs +1 -1
- package/lib/table/Table.vue2.cjs +1 -1
- package/lib/tabs/Tabs.css +1 -1
- package/lib/tabs/Tabs.vue.cjs +1 -1
- package/lib/tabs/Tabs.vue2.cjs +1 -1
- package/lib/tag/Tag.css +1 -1
- package/lib/tag/Tag.vue.cjs +1 -1
- package/lib/tag/Tag.vue2.cjs +1 -1
- package/lib/textarea/Textarea.css +1 -1
- package/lib/textarea/Textarea.vue.cjs +1 -1
- package/lib/textarea/Textarea.vue2.cjs +4 -4
- package/lib/textscroll/TextScroll.css +1 -1
- package/lib/textscroll/TextScroll.d.ts +1 -1
- package/lib/textscroll/TextScroll.vue.cjs +1 -1
- package/lib/textscroll/TextScroll.vue2.cjs +9 -9
- package/lib/textscroll/index.d.ts +3 -3
- package/lib/timeline/Timeline.css +1 -1
- package/lib/timeline/Timeline.vue.cjs +1 -1
- package/lib/timeline/Timeline.vue2.cjs +1 -1
- package/lib/tooltip/Tooltip.css +1 -1
- package/lib/tooltip/Tooltip.vue.cjs +1 -1
- package/lib/tooltip/Tooltip.vue2.cjs +1 -1
- package/lib/upload/Upload.css +1 -1
- package/lib/upload/Upload.vue.cjs +1 -1
- package/lib/upload/Upload.vue2.cjs +1 -1
- package/lib/utils/resolver.cjs +1 -1
- package/lib/video/Video.css +1 -1
- package/lib/video/Video.vue.cjs +1 -1
- package/lib/video/Video.vue2.cjs +2 -2
- package/lib/waterfall/Waterfall.css +1 -1
- package/lib/waterfall/Waterfall.vue.cjs +1 -1
- package/lib/waterfall/Waterfall.vue2.cjs +4 -4
- package/package.json +30 -27
- package/es/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_/node_modules/@vuepic/vue-datepicker/dist/main.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cards.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-creative.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cube.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-flip.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/navigation.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/pagination.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper.css +0 -1
- package/lib/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_/node_modules/@vuepic/vue-datepicker/dist/main.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cards.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-creative.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cube.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-flip.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/navigation.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/pagination.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper.css +0 -1
- /package/es/node_modules/.pnpm/{swiper@11.2.10 → swiper@12.0.3}/node_modules/swiper/modules/effect-fade.css +0 -0
- /package/lib/node_modules/.pnpm/{swiper@11.2.10 → swiper@12.0.3}/node_modules/swiper/modules/effect-fade.css +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),y=require("../utils/index.cjs"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),y=require("../utils/index.cjs"),s=require("@vueuse/core"),h=t.defineComponent({__name:"NumberAnimation",props:{from:{default:0},to:{default:1e3},duration:{default:3e3},autoplay:{type:Boolean,default:!0},precision:{default:0},prefix:{default:void 0},suffix:{default:void 0},separator:{default:","},decimal:{default:"."},valueStyle:{default:()=>({})},transition:{default:"easeInOutCubic"}},emits:["started","finished"],setup(u,{expose:l,emit:d}){const e=u,o=t.ref(e.from),n=d;t.watchEffect(()=>{o.value=e.from}),t.watch(()=>[e.from,e.to],()=>{e.autoplay&&a()},{deep:!0}),t.onMounted(()=>{e.autoplay&&a()});const f=s.useTransition(o,{duration:e.duration,transition:s.TransitionPresets[e.transition],onFinished:()=>n("finished"),onStarted:()=>n("started")});function a(){o.value=e.to}const c=t.computed(()=>{const{precision:r,separator:i,decimal:p,prefix:m,suffix:v}=e;return y.formatNumber(f.value,r,i,p,m,v)});return l({play:a}),(r,i)=>(t.openBlock(),t.createElementBlock("span",{style:t.normalizeStyle(u.valueStyle)},t.toDisplayString(c.value),5))}});exports.default=h;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.pagination-wrap[data-v-
|
|
1
|
+
.pagination-wrap[data-v-f34667b0]{display:flex;align-items:center;gap:8px;font-size:14px;color:#000000e0;line-height:1.57142857}.pagination-wrap .pagination-total-text[data-v-f34667b0]{display:inline-flex;align-items:center;height:32px}.pagination-wrap .pagination-item[data-v-f34667b0]{display:inline-flex;justify-content:center;align-items:center;padding:0 6px;min-width:32px;height:32px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;cursor:pointer;outline:0;-webkit-user-select:none;user-select:none;transition:all .3s}.pagination-wrap .pagination-item[data-v-f34667b0]:hover{color:var(--pagination-primary-color);border-color:var(--pagination-primary-color)}.pagination-wrap .pagination-item[data-v-f34667b0]:focus-visible{outline:2px solid var(--pagination-primary-color-focus-visible);outline-offset:1px;transition:outline-offset 0s,outline 0s}.pagination-wrap .pagination-prev[data-v-f34667b0],.pagination-wrap .pagination-next[data-v-f34667b0]{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;cursor:pointer;outline:0;-webkit-user-select:none;user-select:none;transition:all .3s}.pagination-wrap .pagination-prev .arrow-svg[data-v-f34667b0],.pagination-wrap .pagination-next .arrow-svg[data-v-f34667b0]{display:inline-block;font-size:12px;color:#000000a6;fill:currentColor;transition:color .3s}.pagination-wrap .pagination-prev[data-v-f34667b0]:hover,.pagination-wrap .pagination-next[data-v-f34667b0]:hover{border-color:var(--pagination-primary-color)}.pagination-wrap .pagination-prev:hover .arrow-svg[data-v-f34667b0],.pagination-wrap .pagination-next:hover .arrow-svg[data-v-f34667b0]{color:var(--pagination-primary-color)}.pagination-wrap .pagination-prev[data-v-f34667b0]:focus-visible:not(.pagination-item-disabled),.pagination-wrap .pagination-next[data-v-f34667b0]:focus-visible:not(.pagination-item-disabled){outline:2px solid var(--pagination-primary-color-focus-visible);outline-offset:1px;transition:outline-offset 0s,outline 0s}.pagination-wrap .pagination-item-active[data-v-f34667b0]{color:var(--pagination-primary-color);border-color:var(--pagination-primary-color)}.pagination-wrap .pagination-item-disabled[data-v-f34667b0]{color:#00000040;background:#fff;border-color:#d9d9d9;cursor:not-allowed}.pagination-wrap .pagination-item-disabled[data-v-f34667b0]:hover{font-weight:400;color:#000000a6;border-color:#d9d9d9}.pagination-wrap .pagination-item-disabled:hover .arrow-svg[data-v-f34667b0],.pagination-wrap .pagination-item-disabled .arrow-svg[data-v-f34667b0]{color:#00000040}.pagination-wrap .pagintion-jump-prev[data-v-f34667b0],.pagination-wrap .pagintion-jump-next[data-v-f34667b0]{position:relative;display:inline-flex;align-items:center;min-width:32px;height:32px;border-radius:6px;cursor:pointer;outline:0}.pagination-wrap .pagintion-jump-prev .ellipsis-character[data-v-f34667b0],.pagination-wrap .pagintion-jump-next .ellipsis-character[data-v-f34667b0]{position:absolute;inset:0;margin:auto;color:#00000040;font-family:Arial,Helvetica,sans-serif;line-height:32px;letter-spacing:2px;text-align:center;text-indent:.13em;opacity:1;transition:all .3s}.pagination-wrap .pagintion-jump-prev .icon-svg[data-v-f34667b0],.pagination-wrap .pagintion-jump-next .icon-svg[data-v-f34667b0]{position:absolute;inset:0;margin:auto;display:inline-block;font-size:12px;color:var(--pagination-primary-color);fill:currentColor;opacity:0;pointer-events:none;transition:all .3s}.pagination-wrap .pagintion-jump-prev:hover .ellipsis-character[data-v-f34667b0],.pagination-wrap .pagintion-jump-next:hover .ellipsis-character[data-v-f34667b0]{opacity:0;pointer-events:none}.pagination-wrap .pagintion-jump-prev:hover .icon-svg[data-v-f34667b0],.pagination-wrap .pagintion-jump-next:hover .icon-svg[data-v-f34667b0]{opacity:1;pointer-events:auto}.pagination-wrap .pagintion-jump-prev[data-v-f34667b0]:focus-visible,.pagination-wrap .pagintion-jump-next[data-v-f34667b0]:focus-visible{outline:2px solid var(--pagination-primary-color-focus-visible);outline-offset:1px;transition:outline-offset 0s,outline 0s}.pagination-wrap .pagintion-jump-prev:focus-visible .ellipsis-character[data-v-f34667b0],.pagination-wrap .pagintion-jump-next:focus-visible .ellipsis-character[data-v-f34667b0]{opacity:0;pointer-events:none}.pagination-wrap .pagintion-jump-prev:focus-visible .icon-svg[data-v-f34667b0],.pagination-wrap .pagintion-jump-next:focus-visible .icon-svg[data-v-f34667b0]{opacity:1;pointer-events:auto}.pagination-wrap .pagination-options[data-v-f34667b0]{display:inline-flex;gap:8px;margin-left:8px}.pagination-wrap .pagination-options .pagination-jump-page[data-v-f34667b0]{display:inline-flex;gap:8px;align-items:center;vertical-align:bottom;height:32px}.pagination-left[data-v-f34667b0]{justify-content:flex-start}.pagination-center[data-v-f34667b0]{justify-content:center}.pagination-right[data-v-f34667b0]{justify-content:flex-end}.pagination-small[data-v-f34667b0]{gap:4px}.pagination-small .pagination-total-text[data-v-f34667b0]{height:24px}.pagination-small .pagination-item[data-v-f34667b0],.pagination-small .pagination-prev[data-v-f34667b0],.pagination-small .pagination-next[data-v-f34667b0],.pagination-small .pagintion-jump-prev[data-v-f34667b0],.pagination-small .pagintion-jump-next[data-v-f34667b0]{min-width:24px;height:24px}.pagination-small .pagintion-jump-prev .ellipsis-character[data-v-f34667b0],.pagination-small .pagintion-jump-next .ellipsis-character[data-v-f34667b0]{line-height:24px}.pagination-small .pagination-options[data-v-f34667b0]{gap:4px;margin-left:4px}.pagination-small .pagination-options .pagination-jump-page[data-v-f34667b0]{gap:4px;height:24px}.pagination-middle[data-v-f34667b0]{gap:6px}.pagination-middle .pagination-total-text[data-v-f34667b0]{height:28px}.pagination-middle .pagination-item[data-v-f34667b0],.pagination-middle .pagination-prev[data-v-f34667b0],.pagination-middle .pagination-next[data-v-f34667b0],.pagination-middle .pagintion-jump-prev[data-v-f34667b0],.pagination-middle .pagintion-jump-next[data-v-f34667b0]{min-width:28px;height:28px}.pagination-middle .pagintion-jump-prev .ellipsis-character[data-v-f34667b0],.pagination-middle .pagintion-jump-next .ellipsis-character[data-v-f34667b0]{line-height:28px}.pagination-middle .pagination-options[data-v-f34667b0]{gap:6px;margin-left:6px}.pagination-middle .pagination-options .pagination-jump-page[data-v-f34667b0]{gap:6px;height:28px}.pagination-middle .pagination-options .pagination-jump-page[data-v-f34667b0] .input-wrap .input-container{padding:3px 11px}.pagination-disabled .pagination-prev[data-v-f34667b0],.pagination-disabled .pagination-next[data-v-f34667b0]{color:#00000040;border-color:#00000040;cursor:not-allowed}.pagination-disabled .pagination-prev .arrow-svg[data-v-f34667b0],.pagination-disabled .pagination-next .arrow-svg[data-v-f34667b0]{color:#00000040}.pagination-disabled .pagination-prev[data-v-f34667b0]:hover,.pagination-disabled .pagination-next[data-v-f34667b0]:hover{border-color:#00000040}.pagination-disabled .pagination-prev:hover .arrow-svg[data-v-f34667b0],.pagination-disabled .pagination-next:hover .arrow-svg[data-v-f34667b0]{color:#00000040}.pagination-disabled .pagination-prev[data-v-f34667b0]:focus-visible,.pagination-disabled .pagination-next[data-v-f34667b0]:focus-visible{outline:0!important}.pagination-disabled .pagination-item[data-v-f34667b0]{color:#00000040;border-color:#00000040;cursor:not-allowed}.pagination-disabled .pagination-item[data-v-f34667b0]:hover{font-weight:400;color:#00000040;border-color:#00000040}.pagination-disabled .pagination-item[data-v-f34667b0]:focus-visible{outline:0}.pagination-disabled .pagination-item-active[data-v-f34667b0]{border-color:#d9d9d9;background-color:#00000026}.pagination-disabled .pagination-item-active[data-v-f34667b0]:hover{font-weight:600;color:#00000040;border-color:#d9d9d9;background-color:#00000026}.pagination-disabled .pagintion-jump-prev[data-v-f34667b0],.pagination-disabled .pagintion-jump-next[data-v-f34667b0]{color:#00000040;cursor:not-allowed}.pagination-disabled .pagintion-jump-prev:hover .ellipsis-character[data-v-f34667b0],.pagination-disabled .pagintion-jump-next:hover .ellipsis-character[data-v-f34667b0]{opacity:1;pointer-events:none}.pagination-disabled .pagintion-jump-prev:hover .icon-svg[data-v-f34667b0],.pagination-disabled .pagintion-jump-next:hover .icon-svg[data-v-f34667b0]{opacity:0;pointer-events:none}.pagination-disabled .pagintion-jump-prev[data-v-f34667b0]:focus-visible,.pagination-disabled .pagintion-jump-next[data-v-f34667b0]:focus-visible{outline:0}.pagination-disabled .pagintion-jump-prev:focus-visible .ellipsis-character[data-v-f34667b0],.pagination-disabled .pagintion-jump-next:focus-visible .ellipsis-character[data-v-f34667b0]{opacity:1;pointer-events:none}.pagination-disabled .pagintion-jump-prev:focus-visible .icon-svg[data-v-f34667b0],.pagination-disabled .pagintion-jump-next:focus-visible .icon-svg[data-v-f34667b0]{opacity:0;pointer-events:none}.pagination-disabled .pagination-options[data-v-f34667b0]{color:#00000040;cursor:not-allowed}.pagination-hidden[data-v-f34667b0]{display:none}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Pagination.vue2.cjs");;/* empty css */const t=require("../_virtual/_plugin-vue_export-helper.cjs"),u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Pagination.vue2.cjs");;/* empty css */const t=require("../_virtual/_plugin-vue_export-helper.cjs"),u=t.default(e.default,[["__scopeId","data-v-f34667b0"]]);exports.default=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue")
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),$=require("../input/index.cjs"),L=require("../select/index.cjs"),K=require("../utils/index.cjs"),A={key:0,class:"pagination-total-text"},T=["onKeydown","onClick"],j={key:1,class:"pagination-options"},O={key:1,class:"pagination-jump-page"},D=e.defineComponent({__name:"Pagination",props:{page:{default:1},pageSize:{default:10},total:{default:0},disabled:{type:Boolean,default:!1},pageAmount:{default:5},hideOnSinglePage:{type:Boolean,default:!1},showQuickJumper:{type:Boolean,default:!1},jumperProps:{default:()=>({})},showSizeChanger:{type:Boolean,default:void 0},changerProps:{default:()=>({})},pageSizeOptions:{default:()=>[10,20,50,100]},showTotal:{type:[Boolean,Function],default:!1},placement:{default:"center"},size:{default:"large"}},emits:["update:page","update:pageSize","change","pageSizeChange"],setup(n,{emit:V}){const o=n,l=e.ref(o.page),r=e.ref(o.pageSize),w=e.ref(null),c=e.ref(),g=e.ref(!1),p=e.ref(!1),{colorPalettes:h}=K.useInject("Pagination"),v=V,s=e.computed(()=>Math.ceil(o.total/r.value)),b=e.computed(()=>{if(typeof o.showTotal=="boolean"){if(o.showTotal)return`共 ${o.total} 条`}else{const t=(l.value-1)*r.value+1,a=l.value*r.value>o.total?o.total:l.value*r.value;return o.showTotal(o.total,[t,a])}return null}),f=e.computed(()=>B(l.value).filter(t=>t!==1&&t!==s.value)),y=e.computed(()=>typeof o.showSizeChanger=="boolean"?o.showSizeChanger:o.total>50),x=e.computed(()=>{const t=[r.value,...o.pageSizeOptions].map(a=>Number(a));return Array.from(new Set(t)).sort((a,i)=>a-i).map(a=>({label:`${a} 条/页`,value:a}))}),S=e.computed(()=>{const t={small:24,middle:28,large:32};return t[o.size]||t.large}),z=e.computed(()=>o.size==="small"?"small":"middle");e.watch(()=>o.page,t=>{l.value=t}),e.watch(()=>o.pageSize,t=>{r.value=t});function B(t){const a=[],i=Math.floor(o.pageAmount/2),u={start:t-i,end:t+i};u.start<1&&(u.end=u.end+(1-u.start),u.start=1),u.end>s.value&&(u.start=u.start-(u.end-s.value),u.end=s.value),u.start<1&&(u.start=1),u.start>1?g.value=!0:g.value=!1,u.end<s.value?p.value=!0:p.value=!1;for(let m=u.start;m<=u.end;m++)a.push(m);return a}function k(){l.value=l.value-o.pageAmount>0?l.value-o.pageAmount:1,v("update:page",l.value),v("change",l.value,r.value)}function C(){l.value=l.value+o.pageAmount<s.value?l.value+o.pageAmount:s.value,v("update:page",l.value),v("change",l.value,r.value)}async function N(){let t=Number(c.value);c.value&&Number.isInteger(t)&&(t<1&&(t=1),t>s.value&&(t=s.value),d(t)),await e.nextTick(),c.value=void 0}async function P(t){await e.nextTick();const a=f.value.findIndex(i=>i===t);w.value?.[a].focus()}function d(t,a=!1){if(t===0||t===s.value+1)return!1;l.value!==t&&(l.value=t,a&&P(t),v("update:page",l.value),v("change",l.value,r.value))}function E(t,a){t.target.focus(),d(a)}function M(t){r.value=t;const a=Math.ceil(o.total/t);l.value>a&&(l.value=a),v("update:page",l.value),v("update:pageSize",r.value),v("pageSizeChange",l.value,r.value),v("change",l.value,r.value)}return(t,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pagination-wrap",[`pagination-${n.placement}`,{"pagination-small":n.size==="small","pagination-middle":n.size==="middle","pagination-disabled":n.disabled,"pagination-hidden":!n.total||n.hideOnSinglePage&&n.total<=r.value}]]),style:e.normalizeStyle(`--pagination-primary-color: ${e.unref(h)[5]}; --pagination-primary-color-focus-visible: ${e.unref(h)[2]};`)},[b.value?(e.openBlock(),e.createElementBlock("span",A,e.toDisplayString(b.value),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{tabindex:"0",class:e.normalizeClass(["pagination-prev",{"pagination-item-disabled":l.value===1}]),onKeydown:a[0]||(a[0]=e.withKeys(e.withModifiers(i=>n.disabled?()=>!1:d(l.value-1),["prevent"]),["enter"])),onClick:a[1]||(a[1]=i=>n.disabled||l.value===1?()=>!1:d(l.value-1))},[...a[14]||(a[14]=[e.createElementVNode("svg",{class:"arrow-svg",viewBox:"64 64 896 896","data-icon":"left",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},[e.createElementVNode("path",{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 0 0 0 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"})],-1)])],34),e.createElementVNode("span",{tabindex:"0",class:e.normalizeClass(["pagination-item",{"pagination-item-active":l.value===1}]),onKeydown:a[2]||(a[2]=e.withKeys(e.withModifiers(i=>n.disabled?()=>!1:d(1),["prevent"]),["enter"])),onClick:a[3]||(a[3]=i=>n.disabled?()=>!1:d(1))}," 1 ",34),e.withDirectives(e.createElementVNode("span",{tabindex:"0",ref:"forward",class:"pagintion-jump-prev",onKeydown:a[4]||(a[4]=e.withKeys(e.withModifiers(i=>n.disabled?()=>!1:k(),["prevent"]),["enter"])),onClick:a[5]||(a[5]=i=>n.disabled?()=>!1:k())},[...a[15]||(a[15]=[e.createElementVNode("span",{class:"ellipsis-character"},"•••",-1),e.createElementVNode("svg",{class:"icon-svg",focusable:"false","data-icon":"double-left",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},[e.createElementVNode("path",{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"})],-1)])],544),[[e.vShow,g.value&&f.value[0]-1>1]]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,(i,u)=>(e.openBlock(),e.createElementBlock("span",{ref_for:!0,ref_key:"pageListRef",ref:w,tabindex:"0",class:e.normalizeClass(["pagination-item",{"pagination-item-active":l.value===i}]),key:u,onKeydown:e.withKeys(e.withModifiers(m=>n.disabled?()=>!1:d(i,!0),["prevent"]),["enter"]),onClick:m=>n.disabled?()=>!1:d(i,!0)},e.toDisplayString(i),43,T))),128)),e.withDirectives(e.createElementVNode("span",{tabindex:"0",ref:"backward",class:"pagintion-jump-next",onKeydown:a[6]||(a[6]=e.withKeys(e.withModifiers(i=>n.disabled?()=>!1:C(),["prevent"]),["enter"])),onClick:a[7]||(a[7]=i=>n.disabled?()=>!1:C())},[...a[16]||(a[16]=[e.createElementVNode("span",{class:"ellipsis-character"},"•••",-1),e.createElementVNode("svg",{class:"icon-svg",focusable:"false","data-icon":"double-right",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},[e.createElementVNode("path",{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"})],-1)])],544),[[e.vShow,p.value&&f.value[f.value.length-1]+1<s.value]]),e.withDirectives(e.createElementVNode("span",{tabindex:"0",class:e.normalizeClass(["pagination-item",{"pagination-item-active":l.value===s.value}]),onKeydown:a[8]||(a[8]=e.withKeys(e.withModifiers(i=>n.disabled?()=>!1:d(s.value),["prevent"]),["enter"])),onClick:a[9]||(a[9]=i=>n.disabled?()=>!1:d(s.value))},e.toDisplayString(s.value),35),[[e.vShow,s.value!==1]]),e.createElementVNode("span",{tabindex:"0",class:e.normalizeClass(["pagination-next",{"pagination-item-disabled":l.value===s.value}]),onKeydown:a[10]||(a[10]=e.withKeys(e.withModifiers(i=>n.disabled?()=>!1:d(l.value+1),["prevent"]),["enter"])),onClick:a[11]||(a[11]=i=>n.disabled||l.value===s.value?()=>!1:E(i,l.value+1))},[...a[17]||(a[17]=[e.createElementVNode("svg",{class:"arrow-svg",viewBox:"64 64 896 896","data-icon":"right",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},[e.createElementVNode("path",{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 0 0 0-50.4z"})],-1)])],34),y.value||n.showQuickJumper?(e.openBlock(),e.createElementBlock("span",j,[y.value?(e.openBlock(),e.createBlock(e.unref(L.default),e.mergeProps({key:0,size:z.value,height:S.value,disabled:n.disabled,options:x.value,modelValue:r.value,"onUpdate:modelValue":a[12]||(a[12]=i=>r.value=i),onChange:M},n.changerProps),null,16,["size","height","disabled","options","modelValue"])):e.createCommentVNode("",!0),n.showQuickJumper?(e.openBlock(),e.createElementBlock("span",O,[a[18]||(a[18]=e.createTextVNode(" 跳至",-1)),e.createVNode(e.unref($.default),e.mergeProps({width:50,size:z.value,disabled:n.disabled,value:c.value,"onUpdate:value":a[13]||(a[13]=i=>c.value=i),valueModifiers:{lazy:!0},onChange:N,onEnter:N},n.jumperProps),null,16,["size","disabled","value"]),a[19]||(a[19]=e.createTextVNode("页 ",-1))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],6))}});exports.default=D;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.popconfirm-wrap[data-v-
|
|
1
|
+
.popconfirm-wrap[data-v-74b749f8]{position:relative;margin-bottom:8px;font-size:14px;color:#000000e0;display:flex;flex-wrap:nowrap;align-items:start}.popconfirm-wrap .popconfirm-icon[data-v-74b749f8]{flex:none;font-size:14px;line-height:1;padding-top:4px;display:inline-block;text-align:center}.popconfirm-wrap .popconfirm-icon .icon-svg[data-v-74b749f8]{display:inline-block;fill:currentColor}.popconfirm-wrap .popconfirm-icon[data-v-74b749f8] svg{fill:currentColor}.popconfirm-wrap .icon-info[data-v-74b749f8]{color:var(--popconfirm-primary-color)}.popconfirm-wrap .icon-success[data-v-74b749f8]{color:var(--popconfirm-success-color)}.popconfirm-wrap .icon-danger[data-v-74b749f8]{color:var(--popconfirm-danger-color)}.popconfirm-wrap .icon-warning[data-v-74b749f8]{color:var(--popconfirm-warning-color)}.popconfirm-wrap .popconfirm-title[data-v-74b749f8]{flex:auto;margin-left:8px}.popconfirm-wrap .title-font-weight[data-v-74b749f8]{font-weight:600}.popconfirm-description[data-v-74b749f8]{position:relative;margin-left:22px;margin-bottom:8px;font-size:14px;color:#000000e0}.popconfirm-btns[data-v-74b749f8]{text-align:end}.popconfirm-btns .btn-wrap[data-v-74b749f8]{margin-left:8px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Popconfirm.vue2.cjs");;/* empty css */const t=require("../_virtual/_plugin-vue_export-helper.cjs"),u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Popconfirm.vue2.cjs");;/* empty css */const t=require("../_virtual/_plugin-vue_export-helper.cjs"),u=t.default(e.default,[["__scopeId","data-v-74b749f8"]]);exports.default=u;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("../tooltip/index.cjs"),r=require("../button/index.cjs"),a=require("../utils/index.cjs"),k={key:0,class:"icon-info",focusable:"false",width:"1em",height:"1em",fill:"currentColor",viewBox:"64 64 896 896","data-icon":"info-circle","aria-hidden":"true"},h={key:1,class:"icon-success",focusable:"false",width:"1em",height:"1em",fill:"currentColor",viewBox:"64 64 896 896","data-icon":"check-circle","aria-hidden":"true"},g={key:2,class:"icon-danger",focusable:"false",width:"1em",height:"1em",fill:"currentColor",viewBox:"64 64 896 896","data-icon":"close-circle","aria-hidden":"true"},S={key:3,class:"icon-warning",focusable:"false",width:"1em",height:"1em",fill:"currentColor",viewBox:"64 64 896 896","data-icon":"exclamation-circle","aria-hidden":"true"},v={class:"popconfirm-btns"},x=e.defineComponent({__name:"Popconfirm",props:{title:{default:void 0},titleStyle:{default:()=>({})},description:{default:void 0},descriptionStyle:{default:()=>({})},keyboard:{type:Boolean,default:!0},tooltipStyle:{default:()=>({})},icon:{type:[String,Object,Function],default:"warning"},iconStyle:{default:()=>({})},cancelText:{default:"取消"},cancelType:{default:"default"},cancelProps:{default:()=>({})},okText:{default:"确定"},okType:{default:"primary"},okProps:{default:()=>({})},showCancel:{type:Boolean,default:!0}},emits:["cancel","ok"],setup(t,{emit:s}){const d=t,n=e.ref(),{colorPalettes:u}=a.useInject("Popconfirm"),c=s,f=a.useSlotsExist(["description"]),i=e.computed(()=>f.description||d.description);function m(o){c("cancel",o),n.value.hide()}function y(o){c("ok",o),n.value.hide()}return(o,l)=>(e.openBlock(),e.createBlock(e.unref(p.default),{ref_key:"tooltipRef",ref:n,"max-width":"auto","bg-color":"#fff","tooltip-style":{padding:"12px",borderRadius:"8px",textAlign:"start",...t.tooltipStyle},trigger:"click",keyboard:t.keyboard,"transition-duration":200},{tooltip:e.withCtx(()=>[e.createElementVNode("div",{class:"popconfirm-wrap",style:e.normalizeStyle(`
|
|
2
2
|
--popconfirm-primary-color: ${e.unref(u)[5]};
|
|
3
3
|
--popconfirm-success-color: #52c41a;
|
|
4
4
|
--popconfirm-danger-color: #ff4d4f;
|
|
5
5
|
--popconfirm-warning-color: #faad14;
|
|
6
|
-
`)},[e.createElementVNode("span",{class:"popconfirm-icon",style:e.normalizeStyle(
|
|
6
|
+
`)},[e.createElementVNode("span",{class:"popconfirm-icon",style:e.normalizeStyle(t.iconStyle)},[e.renderSlot(o.$slots,"icon",{},()=>[t.icon==="info"?(e.openBlock(),e.createElementBlock("svg",k,[...l[0]||(l[0]=[e.createElementVNode("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z"},null,-1)])])):t.icon==="success"?(e.openBlock(),e.createElementBlock("svg",h,[...l[1]||(l[1]=[e.createElementVNode("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 0 1-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"},null,-1)])])):t.icon==="danger"?(e.openBlock(),e.createElementBlock("svg",g,[...l[2]||(l[2]=[e.createElementVNode("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 0 1-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)])])):t.icon==="warning"?(e.openBlock(),e.createElementBlock("svg",S,[...l[3]||(l[3]=[e.createElementVNode("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z"},null,-1)])])):t.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon),{key:4})):e.createCommentVNode("",!0)],!0)],4),e.createElementVNode("div",{class:e.normalizeClass(["popconfirm-title",{"title-font-weight":i.value}]),style:e.normalizeStyle(t.titleStyle)},[e.renderSlot(o.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)],!0)],6)],4),i.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"popconfirm-description",style:e.normalizeStyle(t.descriptionStyle)},[e.renderSlot(o.$slots,"description",{},()=>[e.createTextVNode(e.toDisplayString(t.description),1)],!0)],4)):e.createCommentVNode("",!0),e.createElementVNode("div",v,[t.showCancel?(e.openBlock(),e.createBlock(e.unref(r.default),e.mergeProps({key:0,size:"small",type:t.cancelType,onClick:m},t.cancelProps),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"cancelText",{},()=>[e.createTextVNode(e.toDisplayString(t.cancelText),1)],!0)]),_:3},16,["type"])):e.createCommentVNode("",!0),e.createVNode(e.unref(r.default),e.mergeProps({size:"small",type:t.okType,onClick:y},t.okProps),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"okText",{},()=>[e.createTextVNode(e.toDisplayString(t.okText),1)],!0)]),_:3},16,["type"])])]),default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},void 0,!0)]),_:3},8,["tooltip-style","keyboard"]))}});exports.default=x;
|
package/lib/popover/Popover.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.popover-title[data-v-
|
|
1
|
+
.popover-title[data-v-3f271a6a]{min-width:176px;color:#000000e0;font-weight:600}.mb8[data-v-3f271a6a]{margin-bottom:8px}.popover-content[data-v-3f271a6a]{color:#000000e0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Popover.vue2.cjs");;/* empty css */const t=require("../_virtual/_plugin-vue_export-helper.cjs"),u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Popover.vue2.cjs");;/* empty css */const t=require("../_virtual/_plugin-vue_export-helper.cjs"),u=t.default(e.default,[["__scopeId","data-v-3f271a6a"]]);exports.default=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),a=require("../tooltip/index.cjs"),u=require("../utils/index.cjs"),d=t.defineComponent({__name:"Popover",props:{title:{default:void 0},titleStyle:{default:()=>({})},content:{default:void 0},contentStyle:{default:()=>({})},keyboard:{type:Boolean,default:!0},tooltipStyle:{default:()=>({})}},setup(e){const l=e,n=u.useSlotsExist(["title","content"]),i=t.computed(()=>n.title||l.title),r=t.computed(()=>n.content||l.content);return(o,s)=>(t.openBlock(),t.createBlock(t.unref(a.default),{"max-width":"auto","bg-color":"#fff","tooltip-style":{padding:"12px",borderRadius:"8px",textAlign:"start",...e.tooltipStyle},keyboard:e.keyboard,"transition-duration":200},{tooltip:t.withCtx(()=>[i.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["popover-title",{mb8:r.value}]),style:t.normalizeStyle(e.titleStyle)},[t.renderSlot(o.$slots,"title",{},()=>[t.createTextVNode(t.toDisplayString(e.title),1)],!0)],6)):t.createCommentVNode("",!0),r.value?(t.openBlock(),t.createElementBlock("div",{key:1,class:"popover-content",style:t.normalizeStyle(e.contentStyle)},[t.renderSlot(o.$slots,"content",{},()=>[t.createTextVNode(t.toDisplayString(e.content),1)],!0)],4)):t.createCommentVNode("",!0)]),default:t.withCtx(()=>[t.renderSlot(o.$slots,"default",{},void 0,!0)]),_:3},8,["tooltip-style","keyboard"]))}});exports.default=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.fade-enter-active[data-v-
|
|
1
|
+
.fade-enter-active[data-v-b0119df1],.fade-leave-active[data-v-b0119df1]{transition:opacity .2s}.fade-enter-from[data-v-b0119df1],.fade-leave-to[data-v-b0119df1]{opacity:0}.progress-line-wrap[data-v-b0119df1]{display:flex;align-items:center;width:var(--progress-size);height:calc(var(--progress-font-size) * 1.57142857);font-size:var(--progress-font-size);line-height:1.57142857}.progress-line-wrap .progress-inner[data-v-b0119df1]{width:100%;background:#0000000f;border-radius:100px;overflow:hidden}.progress-line-wrap .progress-inner .progress-bg[data-v-b0119df1]{position:relative;background:var(--progress-primary-color);border-radius:var(--progress-border-radius);transition:all .3s cubic-bezier(.78,.14,.15,.86)}.progress-line-wrap .progress-inner .progress-bg[data-v-b0119df1]:after{content:"";background-image:linear-gradient(90deg,#ffffff4d,#ffffff80);animation:progressRipple-b0119df1 2s cubic-bezier(.4,0,.2,1) infinite}@keyframes progressRipple-b0119df1{0%{position:absolute;inset:0 100% 0 0;opacity:1}66%{position:absolute;inset:0;opacity:0}to{position:absolute;inset:0;opacity:0}}.progress-line-wrap .progress-inner .line-success[data-v-b0119df1]{background:var(--progress-success-color)!important}.progress-line-wrap .progress-success[data-v-b0119df1]{width:40px;text-align:center;display:inline-flex;align-items:center;padding-left:8px;flex-shrink:0}.progress-line-wrap .progress-success .icon-svg[data-v-b0119df1]{display:inline-block;font-size:var(--progress-font-size);fill:currentColor;color:var(--progress-success-color)}.progress-line-wrap .progress-success .progress-success-info[data-v-b0119df1]{flex-shrink:0;width:40px;font-size:var(--progress-font-size);padding-left:8px;color:var(--progress-success-color)}.progress-line-wrap .progress-text[data-v-b0119df1]{flex-shrink:0;min-width:40px;font-size:var(--progress-font-size);padding-left:8px;color:#000000e0}.progress-circle-wrap[data-v-b0119df1]{display:inline-block;position:relative;width:var(--progress-size);height:var(--progress-size)}.progress-circle-wrap .progress-circle .circle-trail[data-v-b0119df1]{stroke:#0000000f;stroke-dashoffset:0;transition:stroke-dashoffset .3s ease 0s,stroke-dasharray .3s ease 0s,stroke .3s ease 0s,stroke-width .06s ease .3s,opacity .3s ease 0s}.progress-circle-wrap .progress-circle .circle-path[data-v-b0119df1]{stroke:var(--progress-primary-color);stroke-dashoffset:0;transition:stroke-dashoffset .3s ease 0s,stroke-dasharray .3s ease 0s,stroke .3s ease 0s,stroke-width .06s ease .3s,opacity .3s ease 0s}.progress-circle-wrap .progress-circle .circle-path-success[data-v-b0119df1]{stroke:var(--progress-success-color)!important}.progress-circle-wrap .icon-svg[data-v-b0119df1]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:inline-block;width:30%;height:30%;fill:currentColor;color:var(--progress-success-color)}.progress-circle-wrap .progress-success-info[data-v-b0119df1]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;font-size:var(--progress-font-size);line-height:1;text-align:center;color:var(--progress-success-color)}.progress-circle-wrap .progress-text[data-v-b0119df1]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;font-size:var(--progress-font-size);line-height:1;text-align:center;color:#000000d9}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Progress.vue2.cjs");;/* empty css */const r=require("../_virtual/_plugin-vue_export-helper.cjs"),t=r.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Progress.vue2.cjs");;/* empty css */const r=require("../_virtual/_plugin-vue_export-helper.cjs"),t=r.default(e.default,[["__scopeId","data-v-b0119df1"]]);exports.default=t;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("../utils/index.cjs"),C={class:"progress-inner"},$={key:0,class:"progress-success"},B={key:0,class:"icon-svg",focusable:"false","data-icon":"check-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},S={key:1,class:"progress-success-info"},w={key:1,class:"progress-text"},
|
|
2
|
-
a ${
|
|
3
|
-
a ${
|
|
4
|
-
--progress-size: ${
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("../utils/index.cjs"),C={class:"progress-inner"},$={key:0,class:"progress-success"},B={key:0,class:"icon-svg",focusable:"false","data-icon":"check-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},S={key:1,class:"progress-success-info"},w={key:1,class:"progress-text"},x={class:"progress-circle",viewBox:"0 0 100 100"},z={key:0},E=["id"],N=["stop-color"],V=["stop-color"],T=["d","stroke-linecap","stroke-width"],b=["d","stroke-linecap","stroke-width","opacity"],I={key:0,class:"icon-svg",focusable:"false","data-icon":"check",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},M={key:1,class:"progress-success-info"},P={key:2,class:"progress-text"},D=e.defineComponent({__name:"Progress",props:{width:{default:void 0},percent:{default:0},lineSize:{default:void 0},lineColor:{default:void 0},lineCap:{default:"round"},showInfo:{type:Boolean,default:!0},infoSize:{default:void 0},success:{default:void 0},format:{type:Function,default:r=>r+"%"},type:{default:"line"}},setup(r){const o=r,{colorPalettes:h}=v.useInject("Progress"),g=v.useSlotsExist(["success"]),i=e.computed(()=>{if(o.width===void 0){if(o.type==="line")return"100%";if(o.type==="circle")return"120px"}return typeof o.width=="number"?`${o.width}px`:o.width}),s=e.computed(()=>{if(o.lineSize===void 0){if(o.type==="line")return 8;if(o.type==="circle")return 6}return o.lineSize}),a=e.computed(()=>{if(o.infoSize===void 0){if(o.type==="line")return"14px";if(o.type==="circle")return"24px"}return`${o.infoSize}px`}),n=e.computed(()=>(100-s.value)*Math.PI),u=e.computed(()=>{const t=100-s.value;return`M 50,50 m 0,-${t/2}
|
|
2
|
+
a ${t/2},${t/2} 0 1 1 0,${t}
|
|
3
|
+
a ${t/2},${t/2} 0 1 1 0,-${t}`}),l=e.computed(()=>o.lineColor!==void 0&&typeof o.lineColor!="string"),d=e.computed(()=>o.lineColor===void 0?h.value[5]:typeof o.lineColor=="string"?o.lineColor:`linear-gradient(to ${o.lineColor.direction||"right"}, ${o.lineColor["0%"]||o.lineColor.from}, ${o.lineColor["100%"]||o.lineColor.to})`),p=e.computed(()=>{if(l.value){const t=o.lineColor;return t.direction===void 0||t.direction==="right"?`right-${t["0%"]||t.from}-${t["100%"]||t.to}`:`left-${t["100%"]||t.to}-${t["0%"]||t.from}`}return null}),k=e.computed(()=>{if(l.value){const t=o.lineColor;return t.direction===void 0||t.direction==="right"?t["0%"]||t.from:t["100%"]||t.to}}),y=e.computed(()=>{if(l.value){const t=o.lineColor;return!t.direction||t.direction==="right"?t["100%"]||t.to:t["0%"]||t.from}}),f=e.computed(()=>o.format(o.percent>100?100:o.percent)),m=e.computed(()=>g.success||o.success);return(t,c)=>r.type==="line"?(e.openBlock(),e.createElementBlock("div",{key:0,class:"progress-line-wrap",style:e.normalizeStyle(`
|
|
4
|
+
--progress-size: ${i.value};
|
|
5
5
|
--progress-primary-color: ${d.value};
|
|
6
6
|
--progress-success-color: #52c41a;
|
|
7
7
|
--progress-font-size: ${a.value};
|
|
8
|
-
--progress-border-radius: ${
|
|
9
|
-
`)},[e.createElementVNode("div",C,[e.createElementVNode("div",{class:e.normalizeClass(["progress-bg",{"line-success":
|
|
10
|
-
--progress-size: ${
|
|
11
|
-
--progress-primary-color: ${
|
|
8
|
+
--progress-border-radius: ${r.lineCap==="round"?"100px":0};
|
|
9
|
+
`)},[e.createElementVNode("div",C,[e.createElementVNode("div",{class:e.normalizeClass(["progress-bg",{"line-success":r.percent>=100&&!l.value}]),style:e.normalizeStyle(`width: ${r.percent>=100?100:r.percent}%; height: ${s.value}px;`)},null,6)]),r.showInfo?(e.openBlock(),e.createBlock(e.Transition,{key:0,name:"fade",mode:"out-in"},{default:e.withCtx(()=>[r.percent>=100?(e.openBlock(),e.createElementBlock("span",$,[m.value===void 0?(e.openBlock(),e.createElementBlock("svg",B,[...c[0]||(c[0]=[e.createElementVNode("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"},null,-1)])])):(e.openBlock(),e.createElementBlock("p",S,[e.renderSlot(t.$slots,"success",{},()=>[e.createTextVNode(e.toDisplayString(r.success),1)],!0)]))])):(e.openBlock(),e.createElementBlock("p",w,[e.renderSlot(t.$slots,"format",{percent:r.percent},()=>[e.createTextVNode(e.toDisplayString(f.value),1)],!0)]))]),_:3})):e.createCommentVNode("",!0)],4)):(e.openBlock(),e.createElementBlock("div",{key:1,class:"progress-circle-wrap",style:e.normalizeStyle(`
|
|
10
|
+
--progress-size: ${i.value};
|
|
11
|
+
--progress-primary-color: ${l.value?`url(#${p.value})`:d.value};
|
|
12
12
|
--progress-success-color: #52c41a;
|
|
13
13
|
--progress-font-size: ${a.value};
|
|
14
|
-
`)},[(e.openBlock(),e.createElementBlock("svg",
|
|
14
|
+
`)},[(e.openBlock(),e.createElementBlock("svg",x,[l.value?(e.openBlock(),e.createElementBlock("defs",z,[e.createElementVNode("linearGradient",{id:`${p.value}`,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":k.value},null,8,N),e.createElementVNode("stop",{offset:"100%","stop-color":y.value},null,8,V)],8,E)])):e.createCommentVNode("",!0),e.createElementVNode("path",{d:u.value,"stroke-linecap":r.lineCap,class:"circle-trail","stroke-width":s.value,style:e.normalizeStyle(`stroke-dasharray: ${n.value}px, ${n.value}px;`),"fill-opacity":"0"},null,12,T),e.createElementVNode("path",{d:u.value,"stroke-linecap":r.lineCap,class:e.normalizeClass(["circle-path",{"circle-path-success":r.percent>=100&&!l.value}]),"stroke-width":s.value,style:e.normalizeStyle(`stroke-dasharray: ${r.percent/100*n.value}px, ${n.value}px;`),opacity:r.percent===0?0:1,"fill-opacity":"0"},null,14,b)])),r.showInfo?(e.openBlock(),e.createBlock(e.Transition,{key:0,name:"fade",mode:"out-in"},{default:e.withCtx(()=>[m.value===void 0&&r.percent>=100?(e.openBlock(),e.createElementBlock("svg",I,[...c[1]||(c[1]=[e.createElementVNode("path",{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"},null,-1)])])):r.percent>=100?(e.openBlock(),e.createElementBlock("p",M,[e.renderSlot(t.$slots,"success",{},()=>[e.createTextVNode(e.toDisplayString(r.success),1)],!0)])):(e.openBlock(),e.createElementBlock("p",P,[e.renderSlot(t.$slots,"format",{percent:r.percent},()=>[e.createTextVNode(e.toDisplayString(f.value),1)],!0)]))]),_:3})):e.createCommentVNode("",!0)],4))}});exports.default=D;
|
package/lib/qrcode/QRCode.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.qrcode-wrap[data-v-
|
|
1
|
+
.qrcode-wrap[data-v-aed8aa6f]{position:relative;display:inline-flex;justify-content:center;align-items:center;padding:12px;border-radius:8px;overflow:hidden}.qrcode-wrap .qrcode-svg[data-v-aed8aa6f],.qrcode-wrap .qrcode-canvas[data-v-aed8aa6f],.qrcode-wrap .qrcode-image[data-v-aed8aa6f]{width:100%;height:100%}.qrcode-wrap .qrcode-canvas[data-v-aed8aa6f] canvas{max-width:100%;max-height:100%}.qrcode-wrap .qrcode-icon[data-v-aed8aa6f]{position:absolute;z-index:1;inset:0;margin:auto;pointer-events:none}.qrcode-bordered[data-v-aed8aa6f]{border-width:1px;border-style:solid}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./QRCode.vue2.cjs");;/* empty css */const t=require("../_virtual/_plugin-vue_export-helper.cjs"),u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./QRCode.vue2.cjs");;/* empty css */const t=require("../_virtual/_plugin-vue_export-helper.cjs"),u=t.default(e.default,[["__scopeId","data-v-aed8aa6f"]]);exports.default=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("qrcode"),v=["src"],m=["src"],f=e.defineComponent({__name:"QRCode",props:{value:{default:void 0},type:{default:"svg"},icon:{default:void 0},size:{default:160},iconSize:{default:40},color:{default:"#000"},bgColor:{default:"#FFF"},bordered:{type:Boolean,default:!0},borderColor:{default:"rgba(5, 5, 5, 0.06)"},scale:{default:8},errorLevel:{default:"H"}},setup(t,{expose:s}){const o=t,c=e.ref(null),n=e.ref(null),l=e.ref(""),d=e.computed(()=>({width:`${o.size}px`,height:`${o.size}px`,backgroundColor:`${o.bgColor}`,borderColor:`${o.borderColor}`})),i=e.computed(()=>({width:`${o.iconSize}px`,height:`${o.iconSize}px`,backgroundColor:`${o.bgColor}`})),a=e.computed(()=>({quality:1,margin:0,scale:o.scale,color:{dark:o.color,light:"#00000000"},errorCorrectionLevel:o.errorLevel}));return e.watch(()=>[o.value,o.type,a.value],async()=>{o.value&&(o.type==="svg"?(l.value=await r.toString(o.value,a.value),c.value.innerHTML=l.value):o.type==="canvas"?(l.value=await r.toCanvas(o.value,a.value),n.value?.appendChild(l.value)):l.value=await r.toDataURL(o.value,a.value))},{immediate:!0,deep:!0,flush:"post"}),s({getQRCodeImage:()=>o.value&&r.toDataURL(o.value,a.value)}),(u,y)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["qrcode-wrap",{"qrcode-bordered":t.bordered}]),style:e.normalizeStyle(d.value)},[t.type==="svg"?(e.openBlock(),e.createElementBlock("span",{key:0,ref_key:"qrcodeSVGRef",ref:c,class:"qrcode-svg"},null,512)):e.createCommentVNode("",!0),t.type==="canvas"?(e.openBlock(),e.createElementBlock("span",{key:1,ref_key:"qrcodeCanvasRef",ref:n,class:"qrcode-canvas"},null,512)):e.createCommentVNode("",!0),t.type==="image"?(e.openBlock(),e.createElementBlock("img",{key:2,src:l.value,class:"qrcode-image",alt:"QR Code"},null,8,v)):e.createCommentVNode("",!0),t.icon?(e.openBlock(),e.createElementBlock("img",{key:3,src:t.icon,style:e.normalizeStyle(i.value),class:"qrcode-icon",alt:"QR Code Icon"},null,12,m)):e.createCommentVNode("",!0)],6))}});exports.default=f;
|
package/lib/radio/Radio.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.radio-wrap[data-v-
|
|
1
|
+
.radio-wrap[data-v-6f97b417]{display:inline-flex;flex-wrap:wrap;gap:var(--radio-gap)}.radio-vertical[data-v-6f97b417]{flex-direction:column;flex-wrap:nowrap}.radio-container[data-v-6f97b417]{display:inline-flex;align-items:baseline;cursor:pointer;color:#000000e0;font-size:14px;line-height:1.57142857}.radio-container:not(.radio-disabled):hover .radio-handle[data-v-6f97b417]{border-color:var(--radio-primary-color)}.radio-container .radio-handle[data-v-6f97b417]{flex-shrink:0;align-self:center;position:relative;width:16px;height:16px;background:transparent;border:1px solid #d9d9d9;border-radius:50%;transition:all .3s}.radio-container .radio-handle[data-v-6f97b417]:after{box-sizing:border-box;position:absolute;top:50%;left:50%;display:block;width:16px;height:16px;margin-top:-8px;margin-left:-8px;background-color:#fff;border-top:0;border-left:0;border-radius:16px;transform:scale(0);opacity:0;transition:all .3s cubic-bezier(.78,.14,.15,.86);content:""}.radio-container .radio-checked[data-v-6f97b417]{border-color:var(--radio-primary-color);background-color:var(--radio-primary-color)}.radio-container .radio-checked[data-v-6f97b417]:after{transform:scale(.375);opacity:1;transition:all .3s cubic-bezier(.78,.14,.15,.86)}.radio-container .radio-label[data-v-6f97b417]{word-break:break-all;padding:0 8px;line-height:1.57142857}.radio-disabled[data-v-6f97b417]{color:#00000040;cursor:not-allowed}.radio-disabled .radio-handle[data-v-6f97b417]{background-color:#0000000a;border-color:#d9d9d9;cursor:not-allowed}.radio-disabled .radio-handle[data-v-6f97b417]:after{transform:scale(.5);background-color:#00000040}.radio-button-wrap[data-v-6f97b417]{position:relative;height:32px;padding-inline:15px;line-height:30px;background:#fff;border:1px solid #d9d9d9;border-top-width:1px;border-left-width:0;border-right-width:1px;cursor:pointer;outline:none;transition:all .2s,box-shadow .2s cubic-bezier(.4,0,.2,1)}.radio-button-wrap[data-v-6f97b417]:first-child{border-left:1px solid #d9d9d9;border-start-start-radius:6px;border-end-start-radius:6px}.radio-button-wrap[data-v-6f97b417]:not(:first-child):not(.radio-button-single):before{position:absolute;top:-1px;left:-1px;display:block;width:1px;height:100%;padding-block:1px;box-sizing:content-box;background-color:#d9d9d9;transition:background-color .3s;content:""}.radio-button-wrap[data-v-6f97b417]:last-child{border-start-end-radius:6px;border-end-end-radius:6px}.radio-button-wrap[data-v-6f97b417]:not(.radio-button-disabled):hover{color:var(--radio-primary-color)}.radio-button-single[data-v-6f97b417]{border-left:1px solid #d9d9d9;border-radius:6px}.radio-button-wrap.radio-button-checked[data-v-6f97b417]:not(.radio-button-disabled){z-index:1;color:var(--radio-primary-color);background-color:#fff;border-color:var(--radio-primary-color)}.radio-button-wrap.radio-button-checked[data-v-6f97b417]:not(.radio-button-disabled):before{background-color:var(--radio-primary-color)}.radio-button-disabled[data-v-6f97b417]{color:#00000040;background-color:#0000000a;border-color:#d9d9d9;cursor:not-allowed}.radio-button-disabled.radio-button-checked[data-v-6f97b417]{background-color:#00000026}.radio-button-solid.radio-button-checked[data-v-6f97b417]:not(.radio-button-disabled){color:#fff;background-color:var(--radio-primary-color);border-color:var(--radio-primary-color)}.radio-button-solid.radio-button-checked[data-v-6f97b417]:not(.radio-button-disabled):hover{color:#fff}.radio-button-small.radio-button-wrap[data-v-6f97b417]{height:24px;padding-inline:7px;line-height:22px}.radio-button-small.radio-button-wrap[data-v-6f97b417]:first-child{border-start-start-radius:4px;border-end-start-radius:4px}.radio-button-small.radio-button-wrap[data-v-6f97b417]:last-child{border-start-end-radius:4px;border-end-end-radius:4px}.radio-button-small.radio-button-single[data-v-6f97b417]{border-radius:4px}.radio-button-large.radio-button-wrap[data-v-6f97b417]{height:40px;font-size:16px;line-height:38px}.radio-button-large.radio-button-wrap[data-v-6f97b417]:first-child{border-start-start-radius:8px;border-end-start-radius:8px}.radio-button-large.radio-button-wrap[data-v-6f97b417]:last-child{border-start-end-radius:8px;border-end-end-radius:8px}.radio-button-large.radio-button-single[data-v-6f97b417]{border-radius:8px}.radio-wave[data-v-6f97b417]{position:absolute;pointer-events:none;inset:0;animation-iteration-count:1;animation-duration:.6s;animation-timing-function:cubic-bezier(0,0,.2,1),cubic-bezier(0,0,.2,1);border-radius:inherit}.wave-active[data-v-6f97b417]{z-index:1;animation-name:waveSpread-6f97b417,waveOpacity-6f97b417}@keyframes waveSpread-6f97b417{0%{box-shadow:0 0 .5px 0 var(--radio-primary-color)}to{box-shadow:0 0 .5px 5px var(--radio-primary-color)}}@keyframes waveOpacity-6f97b417{0%{opacity:.6}to{opacity:0}}
|
package/lib/radio/Radio.vue.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Radio.vue2.cjs");;/* empty css */const t=require("../_virtual/_plugin-vue_export-helper.cjs"),u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Radio.vue2.cjs");;/* empty css */const t=require("../_virtual/_plugin-vue_export-helper.cjs"),u=t.default(e.default,[["__scopeId","data-v-6f97b417"]]);exports.default=u;
|
package/lib/radio/Radio.vue2.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
2
|
-
--radio-gap: ${
|
|
3
|
-
--radio-primary-color: ${e.unref(
|
|
4
|
-
`},
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("../utils/index.cjs"),S=["onClick"],$={class:"radio-label"},p=["onClick"],w={class:"radio-label"},V={key:0,class:"radio-label"},z={class:"radio-label"},N=e.defineComponent({__name:"Radio",props:{options:{default:()=>[]},disabled:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},gap:{default:8},button:{type:Boolean,default:!1},buttonStyle:{default:"outline"},buttonSize:{default:"middle"},value:{type:[String,Number,Boolean],default:void 0}},emits:["update:checked","update:value","change"],setup(l,{emit:B}){const o=l,r=e.ref(!1),d=e.ref(),n=e.ref(!1),{colorPalettes:m}=y.useInject("Radio"),u=B,g=y.useSlotsExist(["default"]),C=e.computed(()=>o.options.length),h=e.computed(()=>o.button?0:!o.vertical&&Array.isArray(o.gap)?`${o.gap[1]}px ${o.gap[0]}px`:`${o.gap}px`);e.watchEffect(()=>{r.value=o.checked}),e.watchEffect(()=>{d.value=o.value});function s(t){return t===void 0?o.disabled:t}function b(t){t!==d.value&&(f(),d.value=t,u("update:value",t),u("change",t))}function k(){r.value||(f(),r.value=!0,u("update:checked",!0),u("change",!0))}function f(){n.value?(n.value=!1,e.nextTick(()=>{n.value=!0})):n.value=!0}function c(){n.value=!1}return(t,v)=>C.value?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0,class:["radio-wrap",{"radio-vertical":!l.button&&l.vertical}],style:`
|
|
2
|
+
--radio-gap: ${h.value};
|
|
3
|
+
--radio-primary-color: ${e.unref(m)[5]};
|
|
4
|
+
`},t.$attrs),[l.button?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(l.options,(a,i)=>(e.openBlock(),e.createElementBlock("div",{tabindex:"0",class:e.normalizeClass(["radio-button-wrap",{"radio-button-checked":d.value===a.value,"radio-button-disabled":s(a.disabled),"radio-button-solid":l.buttonStyle==="solid","radio-button-small":l.buttonSize==="small","radio-button-large":l.buttonSize==="large"}]),key:i,onClick:E=>s(a.disabled)?()=>!1:b(a.value)},[e.createElementVNode("span",w,[e.renderSlot(t.$slots,"default",{option:a,label:a.label,index:i},()=>[e.createTextVNode(e.toDisplayString(a.label),1)],!0)]),s(a.disabled)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["radio-wave",{"wave-active":n.value&&d.value===a.value}]),onAnimationend:c},null,34))],10,p))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(l.options,(a,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["radio-container",{"radio-disabled":s(a.disabled)}]),key:i,onClick:E=>s(a.disabled)?()=>!1:b(a.value)},[e.createElementVNode("span",{class:e.normalizeClass(["radio-handle",{"radio-checked":d.value===a.value}])},[s(a.disabled)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["radio-wave",{"wave-active":n.value&&d.value===a.value}]),onAnimationend:c},null,34))],2),e.createElementVNode("span",$,[e.renderSlot(t.$slots,"default",{option:a,label:a.label,index:i},()=>[e.createTextVNode(e.toDisplayString(a.label),1)],!0)])],10,S))),128))],16)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l.button?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:1,tabindex:"0",class:["radio-button-wrap radio-button-single",{"radio-button-checked":r.value,"radio-button-disabled":l.disabled,"radio-button-solid":l.buttonStyle==="solid","radio-button-small":l.buttonSize==="small","radio-button-large":l.buttonSize==="large"}],style:`--radio-primary-color: ${e.unref(m)[5]};`,onClick:v[1]||(v[1]=a=>l.disabled?()=>!1:k())},t.$attrs),[e.createElementVNode("span",z,[e.renderSlot(t.$slots,"default",{},void 0,!0)]),l.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["radio-wave",{"wave-active":n.value&&r.value}]),onAnimationend:c},null,34))],16)):(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0,class:["radio-container",{"radio-disabled":l.disabled}],style:`--radio-primary-color: ${e.unref(m)[5]};`,onClick:v[0]||(v[0]=a=>l.disabled?()=>!1:k())},t.$attrs),[e.createElementVNode("span",{class:e.normalizeClass(["radio-handle",{"radio-checked":r.value}])},[l.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["radio-wave",{"wave-active":n.value&&r.value}]),onAnimationend:c},null,34))],2),e.unref(g).default?(e.openBlock(),e.createElementBlock("span",V,[e.renderSlot(t.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0)],16))],64))}});exports.default=N;
|
package/lib/rate/Rate.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.rate-wrap[data-v-
|
|
1
|
+
.rate-wrap[data-v-6fbf507a]{display:inline-flex;gap:var(--rate-star-gap);line-height:normal;outline:none}.rate-wrap .rate-star[data-v-6fbf507a]{position:relative;display:inline-block;cursor:pointer;transition:transform .2s ease-in-out}.rate-wrap .rate-star[data-v-6fbf507a]:focus-visible{outline:1px dashed var(--rate-star-color);transform:scale(1.1)}.rate-wrap .rate-star[data-v-6fbf507a] svg{font-size:var(--rate-star-size);color:#0000000f;fill:currentColor;transition:color .2s}.rate-wrap .rate-star[data-v-6fbf507a]:hover{transform:scale(1.1)}.rate-wrap .rate-star .icon-character[data-v-6fbf507a]{display:inline-flex;align-items:center;vertical-align:middle;height:1em;font-size:var(--rate-star-size);color:#0000000f;transition:color .2s}.rate-wrap .rate-star .star-first[data-v-6fbf507a]{position:absolute;top:0;width:50%;height:100%;opacity:0;overflow:hidden;transition:all .2s;-webkit-user-select:none;user-select:none}.rate-wrap .rate-star .star-second[data-v-6fbf507a]{display:inline-block;-webkit-user-select:none;user-select:none}.rate-wrap .rate-star .temp-gray-first[data-v-6fbf507a]:hover{opacity:0}.rate-wrap .rate-star .temp-gray-first:hover .icon-character[data-v-6fbf507a],.rate-wrap .rate-star .temp-gray-second:hover .icon-character[data-v-6fbf507a]{color:#0000000f}.rate-wrap .star-half .star-first[data-v-6fbf507a]{opacity:1}.rate-wrap .star-half .star-first[data-v-6fbf507a] svg{color:var(--rate-star-color)}.rate-wrap .star-half .star-first .icon-character[data-v-6fbf507a]{color:var(--rate-star-color)}.rate-wrap .star-full .star-second[data-v-6fbf507a] svg{color:var(--rate-star-color)}.rate-wrap .star-full .star-second .icon-character[data-v-6fbf507a]{color:var(--rate-star-color)}.rate-disabled[data-v-6fbf507a]{pointer-events:none}
|
package/lib/rate/Rate.d.ts
CHANGED
|
@@ -45,8 +45,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
45
45
|
value: number;
|
|
46
46
|
gap: number;
|
|
47
47
|
allowClear: boolean;
|
|
48
|
-
count: number;
|
|
49
48
|
allowHalf: boolean;
|
|
49
|
+
count: number;
|
|
50
50
|
character: "star-outlined" | "star-filled" | "heart-outlined" | "heart-filled" | string;
|
|
51
51
|
tooltips: string[];
|
|
52
52
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
package/lib/rate/Rate.vue.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Rate.vue2.cjs");;/* empty css */const t=require("../_virtual/_plugin-vue_export-helper.cjs"),u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Rate.vue2.cjs");;/* empty css */const t=require("../_virtual/_plugin-vue_export-helper.cjs"),u=t.default(e.default,[["__scopeId","data-v-6fbf507a"]]);exports.default=u;
|
package/lib/rate/Rate.vue2.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("../tooltip/index.cjs"),B=["onClick","onKeydown"],C=["onClick","onMouseenter"],y={key:0,class:"icon-character",focusable:"false","data-icon":"star",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},E={key:1,class:"icon-character",focusable:"false","data-icon":"star",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},M={key:2,class:"icon-character",focusable:"false","data-icon":"heart",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},z={key:3,class:"icon-character",focusable:"false","data-icon":"heart",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},L={key:4,class:"icon-character"},V=["onClick","onMouseenter"],b={key:0,class:"icon-character",focusable:"false","data-icon":"star",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},N={key:1,class:"icon-character",focusable:"false","data-icon":"star",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},S={key:2,class:"icon-character",focusable:"false","data-icon":"heart",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},$={key:3,class:"icon-character",focusable:"false","data-icon":"heart",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},H={key:4,class:"icon-character"},A=e.defineComponent({__name:"Rate",props:{allowClear:{type:Boolean,default:!0},allowHalf:{type:Boolean,default:!1},count:{default:5},character:{default:"star-filled"},size:{default:20},color:{default:"#fadb14"},gap:{default:8},disabled:{type:Boolean,default:!1},tooltips:{default:()=>[]},tooltipProps:{default:()=>({})},value:{default:0}},emits:["update:value","change","hoverChange"],setup(h,{emit:f}){const i=h,o=e.ref(),c=e.ref(),n=e.ref(),r=f;e.watch(()=>i.value,l=>{o.value=l},{immediate:!0}),e.watch(o,l=>{c.value=l},{immediate:!0});function u(l){n.value=null,l!==o.value?(o.value=l,r("change",l),r("update:value",l)):i.allowClear?(n.value=l,o.value=0,r("change",0),r("update:value",0)):r("change",l)}function v(l){c.value=l,r("hoverChange",l)}function p(l){c.value=l,r("hoverChange",l)}function d(){n.value=null}function m(){c.value=o.value}function k(){n.value=null,o.value<i.count&&(o.value+=i.allowHalf?.5:1,r("change",o.value),r("update:value",o.value))}function g(){n.value=null,o.value>0&&(o.value-=i.allowHalf?.5:1,r("change",o.value),r("update:value",o.value))}return(l,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["rate-wrap",{"rate-disabled":l.disabled}]),style:e.normalizeStyle(`--rate-star-color: ${l.color}; --rate-star-gap: ${l.gap}px; --rate-star-size: ${l.size}px;`),onMouseleave:m},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.count,a=>(e.openBlock(),e.createBlock(e.unref(w.default),e.mergeProps({key:a,ref_for:!0},l.tooltipProps),e.createSlots({default:e.withCtx(()=>[e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass(["rate-star",{"star-half":l.allowHalf&&c.value>=a-.5&&c.value<a,"star-full":c.value>=a,"temp-gray":!l.allowHalf&&n.value===a}]),onClick:s=>l.allowHalf?()=>!1:u(a),onKeydown:[e.withKeys(e.withModifiers(k,["prevent"]),["right"]),e.withKeys(e.withModifiers(g,["prevent"]),["left"])]},[l.allowHalf?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["star-first",{"temp-gray-first":n.value===a-.5}]),onClick:e.withModifiers(s=>u(a-.5),["stop"]),onMouseenter:s=>v(a-.5),onMouseleave:d},[e.renderSlot(l.$slots,"character",{value:a},()=>[l.character==="star-filled"?(e.openBlock(),e.createElementBlock("svg",y,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"},null,-1)])])):l.character==="star-outlined"?(e.openBlock(),e.createElementBlock("svg",E,[...t[1]||(t[1]=[e.createElementVNode("path",{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"},null,-1)])])):l.character==="heart-filled"?(e.openBlock(),e.createElementBlock("svg",M,[...t[2]||(t[2]=[e.createElementVNode("path",{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"},null,-1)])])):l.character==="heart-outlined"?(e.openBlock(),e.createElementBlock("svg",z,[...t[3]||(t[3]=[e.createElementVNode("path",{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"},null,-1)])])):l.character?(e.openBlock(),e.createElementBlock("span",L,e.toDisplayString(l.character),1)):e.createCommentVNode("",!0)],!0)],42,C)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["star-second",{"temp-gray-second":n.value===a}]),onClick:e.withModifiers(s=>u(a),["stop"]),onMouseenter:s=>p(a),onMouseleave:d},[e.renderSlot(l.$slots,"character",{value:a},()=>[l.character==="star-filled"?(e.openBlock(),e.createElementBlock("svg",b,[...t[4]||(t[4]=[e.createElementVNode("path",{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"},null,-1)])])):l.character==="star-outlined"?(e.openBlock(),e.createElementBlock("svg",N,[...t[5]||(t[5]=[e.createElementVNode("path",{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"},null,-1)])])):l.character==="heart-filled"?(e.openBlock(),e.createElementBlock("svg",S,[...t[6]||(t[6]=[e.createElementVNode("path",{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"},null,-1)])])):l.character==="heart-outlined"?(e.openBlock(),e.createElementBlock("svg",$,[...t[7]||(t[7]=[e.createElementVNode("path",{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"},null,-1)])])):(e.openBlock(),e.createElementBlock("span",H,e.toDisplayString(l.character),1))],!0)],42,V)],42,B)]),_:2},[l.tooltips[a-1]?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip",{tooltip:l.tooltips[a-1],value:a},()=>[e.createTextVNode(e.toDisplayString(l.tooltips[a-1]),1)],!0)]),key:"0"}:void 0]),1040))),128))],38))}});exports.default=A;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),B=require("../tooltip/index.cjs"),C=["onClick","onKeydown"],y=["onClick","onMouseenter"],E={key:0,class:"icon-character",focusable:"false","data-icon":"star",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},M={key:1,class:"icon-character",focusable:"false","data-icon":"star",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},p={key:2,class:"icon-character",focusable:"false","data-icon":"heart",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},z={key:3,class:"icon-character",focusable:"false","data-icon":"heart",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},L={key:4,class:"icon-character"},V=["onClick","onMouseenter"],b={key:0,class:"icon-character",focusable:"false","data-icon":"star",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},x={key:1,class:"icon-character",focusable:"false","data-icon":"star",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},N={key:2,class:"icon-character",focusable:"false","data-icon":"heart",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},S={key:3,class:"icon-character",focusable:"false","data-icon":"heart",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"64 64 896 896"},$={key:4,class:"icon-character"},H=e.defineComponent({__name:"Rate",props:{allowClear:{type:Boolean,default:!0},allowHalf:{type:Boolean,default:!1},count:{default:5},character:{default:"star-filled"},size:{default:20},color:{default:"#fadb14"},gap:{default:8},disabled:{type:Boolean,default:!1},tooltips:{default:()=>[]},tooltipProps:{default:()=>({})},value:{default:0}},emits:["update:value","change","hoverChange"],setup(t,{emit:f}){const s=t,c=e.ref(),i=e.ref(),n=e.ref(),r=f;e.watch(()=>s.value,l=>{c.value=l},{immediate:!0}),e.watch(c,l=>{i.value=l},{immediate:!0});function d(l){n.value=null,l!==c.value?(c.value=l,r("change",l),r("update:value",l)):s.allowClear?(n.value=l,c.value=0,r("change",0),r("update:value",0)):r("change",l)}function v(l){i.value=l,r("hoverChange",l)}function m(l){i.value=l,r("hoverChange",l)}function h(){n.value=null}function k(){i.value=c.value}function g(){n.value=null,c.value<s.count&&(c.value+=s.allowHalf?.5:1,r("change",c.value),r("update:value",c.value))}function w(){n.value=null,c.value>0&&(c.value-=s.allowHalf?.5:1,r("change",c.value),r("update:value",c.value))}return(l,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["rate-wrap",{"rate-disabled":t.disabled}]),style:e.normalizeStyle(`--rate-star-color: ${t.color}; --rate-star-gap: ${t.gap}px; --rate-star-size: ${t.size}px;`),onMouseleave:k},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.count,a=>(e.openBlock(),e.createBlock(e.unref(B.default),e.mergeProps({key:a,ref_for:!0},t.tooltipProps),e.createSlots({default:e.withCtx(()=>[e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass(["rate-star",{"star-half":t.allowHalf&&i.value>=a-.5&&i.value<a,"star-full":i.value>=a,"temp-gray":!t.allowHalf&&n.value===a}]),onClick:u=>t.allowHalf?()=>!1:d(a),onKeydown:[e.withKeys(e.withModifiers(g,["prevent"]),["right"]),e.withKeys(e.withModifiers(w,["prevent"]),["left"])]},[t.allowHalf?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["star-first",{"temp-gray-first":n.value===a-.5}]),onClick:e.withModifiers(u=>d(a-.5),["stop"]),onMouseenter:u=>v(a-.5),onMouseleave:h},[e.renderSlot(l.$slots,"character",{value:a},()=>[t.character==="star-filled"?(e.openBlock(),e.createElementBlock("svg",E,[...o[0]||(o[0]=[e.createElementVNode("path",{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"},null,-1)])])):t.character==="star-outlined"?(e.openBlock(),e.createElementBlock("svg",M,[...o[1]||(o[1]=[e.createElementVNode("path",{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"},null,-1)])])):t.character==="heart-filled"?(e.openBlock(),e.createElementBlock("svg",p,[...o[2]||(o[2]=[e.createElementVNode("path",{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"},null,-1)])])):t.character==="heart-outlined"?(e.openBlock(),e.createElementBlock("svg",z,[...o[3]||(o[3]=[e.createElementVNode("path",{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"},null,-1)])])):t.character?(e.openBlock(),e.createElementBlock("span",L,e.toDisplayString(t.character),1)):e.createCommentVNode("",!0)],!0)],42,y)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["star-second",{"temp-gray-second":n.value===a}]),onClick:e.withModifiers(u=>d(a),["stop"]),onMouseenter:u=>m(a),onMouseleave:h},[e.renderSlot(l.$slots,"character",{value:a},()=>[t.character==="star-filled"?(e.openBlock(),e.createElementBlock("svg",b,[...o[4]||(o[4]=[e.createElementVNode("path",{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"},null,-1)])])):t.character==="star-outlined"?(e.openBlock(),e.createElementBlock("svg",x,[...o[5]||(o[5]=[e.createElementVNode("path",{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"},null,-1)])])):t.character==="heart-filled"?(e.openBlock(),e.createElementBlock("svg",N,[...o[6]||(o[6]=[e.createElementVNode("path",{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"},null,-1)])])):t.character==="heart-outlined"?(e.openBlock(),e.createElementBlock("svg",S,[...o[7]||(o[7]=[e.createElementVNode("path",{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"},null,-1)])])):(e.openBlock(),e.createElementBlock("span",$,e.toDisplayString(t.character),1))],!0)],42,V)],42,C)]),_:2},[t.tooltips[a-1]?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip",{tooltip:t.tooltips[a-1],value:a},()=>[e.createTextVNode(e.toDisplayString(t.tooltips[a-1]),1)],!0)]),key:"0"}:void 0]),1040))),128))],38))}});exports.default=H;
|
package/lib/rate/index.d.ts
CHANGED
|
@@ -16,8 +16,8 @@ declare const _default: {
|
|
|
16
16
|
value: number;
|
|
17
17
|
gap: number;
|
|
18
18
|
allowClear: boolean;
|
|
19
|
-
count: number;
|
|
20
19
|
allowHalf: boolean;
|
|
20
|
+
count: number;
|
|
21
21
|
character: "star-outlined" | "star-filled" | "heart-outlined" | "heart-filled" | string;
|
|
22
22
|
tooltips: string[];
|
|
23
23
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
@@ -39,8 +39,8 @@ declare const _default: {
|
|
|
39
39
|
value: number;
|
|
40
40
|
gap: number;
|
|
41
41
|
allowClear: boolean;
|
|
42
|
-
count: number;
|
|
43
42
|
allowHalf: boolean;
|
|
43
|
+
count: number;
|
|
44
44
|
character: "star-outlined" | "star-filled" | "heart-outlined" | "heart-filled" | string;
|
|
45
45
|
tooltips: string[];
|
|
46
46
|
}>;
|
|
@@ -63,8 +63,8 @@ declare const _default: {
|
|
|
63
63
|
value: number;
|
|
64
64
|
gap: number;
|
|
65
65
|
allowClear: boolean;
|
|
66
|
-
count: number;
|
|
67
66
|
allowHalf: boolean;
|
|
67
|
+
count: number;
|
|
68
68
|
character: "star-outlined" | "star-filled" | "heart-outlined" | "heart-filled" | string;
|
|
69
69
|
tooltips: string[];
|
|
70
70
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
package/lib/result/Result.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.result-wrap[data-v-
|
|
1
|
+
.result-wrap[data-v-a15e1d50]{padding:48px 32px;font-size:14px;color:#000000e0}.result-wrap .result-image[data-v-a15e1d50]{margin-bottom:24px;text-align:center}.result-wrap .result-image .icon-svg[data-v-a15e1d50]{display:inline-block;vertical-align:bottom;font-size:72px;fill:currentColor}.result-wrap .result-image[data-v-a15e1d50] svg{font-size:72px}.result-wrap .result-image .icon-info[data-v-a15e1d50]{color:#1677ff}.result-wrap .result-image .icon-success[data-v-a15e1d50]{color:#52c41a}.result-wrap .result-image .icon-warning[data-v-a15e1d50]{color:#faad14}.result-wrap .result-image .icon-error[data-v-a15e1d50]{color:#ff4d4f}.result-wrap .result-image .result-icon[data-v-a15e1d50]{display:inline-block;vertical-align:bottom}.result-wrap .result-title[data-v-a15e1d50]{color:#000000e0;font-size:24px;line-height:1.33333333;margin:8px 0;text-align:center}.result-wrap .result-subtitle[data-v-a15e1d50]{color:#00000073;font-size:14px;line-height:1.57142857;text-align:center}.result-wrap .result-extra[data-v-a15e1d50]{margin-top:24px;text-align:center}.result-wrap[data-v-a15e1d50] .result-extra>*{margin-right:8px}.result-wrap[data-v-a15e1d50] .result-extra>*:last-child{margin-right:0}.result-wrap .result-content[data-v-a15e1d50]{margin-top:24px;padding:24px 40px;background-color:#00000005}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Result.vue2.cjs");;/* empty css */const t=require("../_virtual/_plugin-vue_export-helper.cjs"),u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Result.vue2.cjs");;/* empty css */const t=require("../_virtual/_plugin-vue_export-helper.cjs"),u=t.default(e.default,[["__scopeId","data-v-a15e1d50"]]);exports.default=u;
|