vue-amazing-ui 2.4.21 → 2.4.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +292 -292
- package/README.zh-CN.md +292 -292
- package/dist/index.iife.js +141 -141
- package/dist/index.js +6726 -6711
- package/dist/index.umd.cjs +151 -151
- package/dist/style.css +1 -1
- package/es/alert/Alert.css +1 -1
- package/es/alert/Alert.vue.js +2 -2
- package/es/alert/Alert.vue2.js +56 -56
- package/es/avatar/Avatar.css +1 -1
- package/es/avatar/Avatar.vue.js +1 -1
- package/es/avatar/Avatar.vue2.js +29 -29
- package/es/backtop/BackTop.css +1 -1
- package/es/backtop/BackTop.vue.js +2 -2
- package/es/backtop/BackTop.vue2.js +77 -77
- package/es/badge/Badge.css +1 -1
- package/es/badge/Badge.vue.js +2 -2
- package/es/badge/Badge.vue2.js +39 -39
- package/es/breadcrumb/Breadcrumb.css +1 -1
- package/es/breadcrumb/Breadcrumb.vue.js +2 -2
- package/es/breadcrumb/Breadcrumb.vue2.js +35 -35
- package/es/button/Button.css +1 -1
- package/es/button/Button.vue.js +2 -2
- package/es/button/Button.vue2.js +43 -43
- package/es/calendar/Calendar.css +1 -1
- package/es/calendar/Calendar.vue.js +2 -2
- package/es/calendar/Calendar.vue2.js +111 -111
- package/es/card/Card.css +1 -1
- package/es/card/Card.vue.js +2 -2
- package/es/card/Card.vue2.js +21 -21
- package/es/carousel/Carousel.css +1 -1
- package/es/carousel/Carousel.vue.js +2 -2
- package/es/carousel/Carousel.vue2.js +131 -131
- package/es/cascader/Cascader.css +1 -1
- package/es/cascader/Cascader.d.ts +8 -0
- package/es/cascader/Cascader.vue.js +2 -2
- package/es/cascader/Cascader.vue2.js +71 -55
- package/es/cascader/index.d.ts +12 -0
- package/es/checkbox/Checkbox.css +1 -1
- package/es/checkbox/Checkbox.vue.js +2 -2
- package/es/checkbox/Checkbox.vue2.js +52 -52
- package/es/collapse/Collapse.css +1 -1
- package/es/collapse/Collapse.vue.js +2 -2
- package/es/collapse/Collapse.vue2.js +86 -86
- package/es/colorpicker/ColorPicker.css +1 -1
- package/es/colorpicker/ColorPicker.vue.js +2 -2
- package/es/colorpicker/ColorPicker.vue2.js +232 -232
- package/es/configprovider/ConfigProvider.vue.js +29 -29
- package/es/countdown/Countdown.css +1 -1
- package/es/countdown/Countdown.vue.js +2 -2
- package/es/countdown/Countdown.vue2.js +67 -67
- package/es/datepicker/DatePicker.css +1 -1
- package/es/datepicker/DatePicker.vue.js +4 -4
- package/es/datepicker/DatePicker.vue2.js +21 -21
- package/es/descriptions/descriptions/Descriptions.css +1 -1
- package/es/descriptions/descriptions/Descriptions.vue.js +2 -2
- package/es/descriptions/descriptions/Descriptions.vue2.js +61 -61
- package/es/descriptions/descriptionsitem/DescriptionsItem.css +1 -1
- package/es/descriptions/descriptionsitem/DescriptionsItem.vue.js +2 -2
- package/es/descriptions/descriptionsitem/DescriptionsItem.vue2.js +17 -17
- package/es/dialog/Dialog.css +1 -1
- package/es/dialog/Dialog.vue.js +1 -1
- package/es/dialog/Dialog.vue2.js +112 -112
- package/es/divider/Divider.css +1 -1
- package/es/divider/Divider.vue.js +1 -1
- package/es/divider/Divider.vue2.js +11 -11
- package/es/drawer/Drawer.css +1 -1
- package/es/drawer/Drawer.vue.js +2 -2
- package/es/drawer/Drawer.vue2.js +84 -84
- package/es/ellipsis/Ellipsis.css +1 -1
- package/es/ellipsis/Ellipsis.vue.js +2 -2
- package/es/ellipsis/Ellipsis.vue2.js +32 -32
- package/es/empty/Empty.css +1 -1
- package/es/empty/Empty.vue.js +2 -2
- package/es/empty/Empty.vue2.js +22 -22
- package/es/flex/Flex.css +1 -1
- package/es/flex/Flex.vue.js +2 -2
- package/es/flex/Flex.vue2.js +10 -10
- package/es/floatbutton/FloatButton.css +1 -1
- package/es/floatbutton/FloatButton.vue.js +1 -1
- package/es/floatbutton/FloatButton.vue2.js +57 -57
- package/es/gradienttext/GradientText.css +1 -1
- package/es/gradienttext/GradientText.vue.js +1 -1
- package/es/gradienttext/GradientText.vue2.js +7 -7
- package/es/grid/col/Col.css +1 -1
- package/es/grid/col/Col.vue.js +2 -2
- package/es/grid/col/Col.vue2.js +7 -7
- package/es/grid/row/Row.css +1 -1
- package/es/grid/row/Row.vue.js +1 -1
- package/es/grid/row/Row.vue2.js +14 -14
- package/es/image/Image.css +1 -1
- package/es/image/Image.vue.js +2 -2
- package/es/image/Image.vue2.js +177 -177
- package/es/input/Input.css +1 -1
- package/es/input/Input.vue.js +2 -2
- package/es/input/Input.vue2.js +72 -72
- package/es/inputnumber/InputNumber.css +1 -1
- package/es/inputnumber/InputNumber.vue.js +1 -1
- package/es/inputnumber/InputNumber.vue2.js +76 -76
- package/es/inputsearch/InputSearch.css +1 -1
- package/es/inputsearch/InputSearch.vue.js +2 -2
- package/es/inputsearch/InputSearch.vue2.js +61 -61
- package/es/list/list/List.css +1 -1
- package/es/list/list/List.vue.js +2 -2
- package/es/list/list/List.vue2.js +14 -14
- package/es/list/listitem/ListItem.css +1 -1
- package/es/list/listitem/ListItem.vue.js +2 -2
- package/es/list/listitem/ListItem.vue2.js +41 -41
- package/es/loadingbar/LoadingBar.css +1 -1
- package/es/loadingbar/LoadingBar.vue.js +2 -2
- package/es/loadingbar/LoadingBar.vue2.js +25 -25
- package/es/message/Message.css +1 -1
- package/es/message/Message.vue.js +2 -2
- package/es/message/Message.vue2.js +37 -37
- package/es/modal/Modal.css +1 -1
- package/es/modal/Modal.vue.js +1 -1
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-cards.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-creative.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-cube.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-flip.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/navigation.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/pagination.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/swiper.css +1 -0
- package/es/notification/Notification.css +1 -1
- package/es/notification/Notification.vue.js +2 -2
- package/es/notification/Notification.vue2.js +45 -45
- package/es/numberanimation/NumberAnimation.vue.js +17 -17
- package/es/pagination/Pagination.css +1 -1
- package/es/pagination/Pagination.vue.js +1 -1
- package/es/pagination/Pagination.vue2.js +124 -124
- package/es/popconfirm/Popconfirm.css +1 -1
- package/es/popconfirm/Popconfirm.vue.js +1 -1
- package/es/popconfirm/Popconfirm.vue2.js +58 -58
- package/es/popover/Popover.css +1 -1
- package/es/popover/Popover.vue.js +2 -2
- package/es/popover/Popover.vue2.js +20 -20
- package/es/progress/Progress.css +1 -1
- package/es/progress/Progress.vue.js +2 -2
- package/es/progress/Progress.vue2.js +81 -81
- package/es/qrcode/QRCode.css +1 -1
- package/es/qrcode/QRCode.vue.js +3 -3
- package/es/qrcode/QRCode.vue2.js +18 -18
- package/es/radio/Radio.css +1 -1
- package/es/radio/Radio.vue.js +2 -2
- package/es/radio/Radio.vue2.js +88 -88
- package/es/rate/Rate.css +1 -1
- package/es/rate/Rate.vue.js +1 -1
- package/es/rate/Rate.vue2.js +90 -90
- package/es/result/Result.css +1 -1
- package/es/result/Result.vue.js +2 -2
- package/es/result/Result.vue2.js +51 -51
- package/es/scrollbar/Scrollbar.css +1 -1
- package/es/scrollbar/Scrollbar.vue.js +1 -1
- package/es/scrollbar/Scrollbar.vue2.js +106 -106
- package/es/segmented/Segmented.css +1 -1
- package/es/segmented/Segmented.vue.js +2 -2
- package/es/segmented/Segmented.vue2.js +51 -51
- package/es/select/Select.css +1 -1
- package/es/select/Select.vue.js +2 -2
- package/es/select/Select.vue2.js +157 -157
- package/es/skeleton/Skeleton.css +1 -1
- package/es/skeleton/Skeleton.vue.js +2 -2
- package/es/skeleton/Skeleton.vue2.js +61 -61
- package/es/slider/Slider.css +1 -1
- package/es/slider/Slider.vue.js +2 -2
- package/es/slider/Slider.vue2.js +195 -195
- package/es/space/Space.css +1 -1
- package/es/space/Space.vue.js +2 -2
- package/es/space/Space.vue2.js +7 -7
- package/es/spin/Spin.css +1 -1
- package/es/spin/Spin.vue.js +2 -2
- package/es/spin/Spin.vue2.js +67 -67
- package/es/statistic/Statistic.css +1 -1
- package/es/statistic/Statistic.vue.js +2 -2
- package/es/statistic/Statistic.vue2.js +21 -21
- package/es/steps/Steps.css +1 -1
- package/es/steps/Steps.vue.js +2 -2
- package/es/steps/Steps.vue2.js +35 -35
- package/es/swiper/Swiper.css +1 -1
- package/es/swiper/Swiper.vue.js +1 -1
- package/es/swiper/Swiper.vue2.js +89 -89
- package/es/switch/Switch.css +1 -1
- package/es/switch/Switch.vue.js +1 -1
- package/es/switch/Switch.vue2.js +32 -32
- package/es/table/Table.css +1 -1
- package/es/table/Table.vue.js +2 -2
- package/es/table/Table.vue2.js +686 -687
- package/es/tabs/Tabs.css +1 -1
- package/es/tabs/Tabs.vue.js +2 -2
- package/es/tabs/Tabs.vue2.js +91 -91
- package/es/tag/Tag.css +1 -1
- package/es/tag/Tag.vue.js +1 -1
- package/es/tag/Tag.vue2.js +91 -91
- package/es/textarea/Textarea.css +1 -1
- package/es/textarea/Textarea.vue.js +1 -1
- package/es/textarea/Textarea.vue2.js +37 -37
- package/es/textscroll/TextScroll.css +1 -1
- package/es/textscroll/TextScroll.vue.js +2 -2
- package/es/textscroll/TextScroll.vue2.js +100 -100
- package/es/timeline/Timeline.css +1 -1
- package/es/timeline/Timeline.vue.js +2 -2
- package/es/timeline/Timeline.vue2.js +24 -24
- package/es/tooltip/Tooltip.css +1 -1
- package/es/tooltip/Tooltip.vue.js +2 -2
- package/es/tooltip/Tooltip.vue2.js +129 -129
- package/es/upload/Upload.css +1 -1
- package/es/upload/Upload.vue.js +2 -2
- package/es/upload/Upload.vue2.js +137 -137
- package/es/utils/resolver.js +3 -3
- package/es/video/Video.css +1 -1
- package/es/video/Video.vue.js +2 -2
- package/es/video/Video.vue2.js +44 -44
- package/es/waterfall/Waterfall.css +1 -1
- package/es/waterfall/Waterfall.vue.js +2 -2
- package/es/waterfall/Waterfall.vue2.js +54 -54
- package/lib/alert/Alert.css +1 -1
- package/lib/alert/Alert.vue.cjs +1 -1
- package/lib/alert/Alert.vue2.cjs +2 -2
- package/lib/avatar/Avatar.css +1 -1
- package/lib/avatar/Avatar.vue.cjs +1 -1
- package/lib/avatar/Avatar.vue2.cjs +1 -1
- package/lib/backtop/BackTop.css +1 -1
- package/lib/backtop/BackTop.vue.cjs +1 -1
- package/lib/backtop/BackTop.vue2.cjs +6 -6
- package/lib/badge/Badge.css +1 -1
- package/lib/badge/Badge.vue.cjs +1 -1
- package/lib/badge/Badge.vue2.cjs +1 -1
- package/lib/breadcrumb/Breadcrumb.css +1 -1
- package/lib/breadcrumb/Breadcrumb.vue.cjs +1 -1
- package/lib/breadcrumb/Breadcrumb.vue2.cjs +2 -2
- package/lib/button/Button.css +1 -1
- package/lib/button/Button.vue.cjs +1 -1
- package/lib/button/Button.vue2.cjs +3 -3
- package/lib/calendar/Calendar.css +1 -1
- package/lib/calendar/Calendar.vue.cjs +1 -1
- package/lib/calendar/Calendar.vue2.cjs +5 -5
- package/lib/card/Card.css +1 -1
- package/lib/card/Card.vue.cjs +1 -1
- package/lib/card/Card.vue2.cjs +1 -1
- package/lib/carousel/Carousel.css +1 -1
- package/lib/carousel/Carousel.vue.cjs +1 -1
- package/lib/carousel/Carousel.vue2.cjs +7 -7
- package/lib/cascader/Cascader.css +1 -1
- package/lib/cascader/Cascader.d.ts +8 -0
- package/lib/cascader/Cascader.vue.cjs +1 -1
- package/lib/cascader/Cascader.vue2.cjs +1 -1
- package/lib/cascader/index.d.ts +12 -0
- package/lib/checkbox/Checkbox.css +1 -1
- package/lib/checkbox/Checkbox.vue.cjs +1 -1
- package/lib/checkbox/Checkbox.vue2.cjs +1 -1
- package/lib/collapse/Collapse.css +1 -1
- package/lib/collapse/Collapse.vue.cjs +1 -1
- package/lib/collapse/Collapse.vue2.cjs +1 -1
- package/lib/colorpicker/ColorPicker.css +1 -1
- package/lib/colorpicker/ColorPicker.vue.cjs +1 -1
- package/lib/colorpicker/ColorPicker.vue2.cjs +8 -8
- package/lib/configprovider/ConfigProvider.vue.cjs +1 -1
- package/lib/countdown/Countdown.css +1 -1
- package/lib/countdown/Countdown.vue.cjs +1 -1
- package/lib/countdown/Countdown.vue2.cjs +1 -1
- package/lib/datepicker/DatePicker.css +1 -1
- package/lib/datepicker/DatePicker.vue.cjs +1 -1
- package/lib/datepicker/DatePicker.vue2.cjs +5 -5
- package/lib/descriptions/descriptions/Descriptions.css +1 -1
- package/lib/descriptions/descriptions/Descriptions.vue.cjs +1 -1
- package/lib/descriptions/descriptions/Descriptions.vue2.cjs +1 -1
- package/lib/descriptions/descriptionsitem/DescriptionsItem.css +1 -1
- package/lib/descriptions/descriptionsitem/DescriptionsItem.vue.cjs +1 -1
- package/lib/descriptions/descriptionsitem/DescriptionsItem.vue2.cjs +1 -1
- package/lib/dialog/Dialog.css +1 -1
- package/lib/dialog/Dialog.vue.cjs +1 -1
- package/lib/dialog/Dialog.vue2.cjs +1 -1
- package/lib/divider/Divider.css +1 -1
- package/lib/divider/Divider.vue.cjs +1 -1
- package/lib/divider/Divider.vue2.cjs +1 -1
- package/lib/drawer/Drawer.css +1 -1
- package/lib/drawer/Drawer.vue.cjs +1 -1
- package/lib/drawer/Drawer.vue2.cjs +1 -1
- package/lib/ellipsis/Ellipsis.css +1 -1
- package/lib/ellipsis/Ellipsis.vue.cjs +1 -1
- package/lib/ellipsis/Ellipsis.vue2.cjs +1 -1
- package/lib/empty/Empty.css +1 -1
- package/lib/empty/Empty.vue.cjs +1 -1
- package/lib/empty/Empty.vue2.cjs +1 -1
- package/lib/flex/Flex.css +1 -1
- package/lib/flex/Flex.vue.cjs +1 -1
- package/lib/flex/Flex.vue2.cjs +8 -8
- package/lib/floatbutton/FloatButton.css +1 -1
- package/lib/floatbutton/FloatButton.vue.cjs +1 -1
- package/lib/floatbutton/FloatButton.vue2.cjs +5 -5
- package/lib/gradienttext/GradientText.css +1 -1
- package/lib/gradienttext/GradientText.vue.cjs +1 -1
- package/lib/gradienttext/GradientText.vue2.cjs +1 -1
- package/lib/grid/col/Col.css +1 -1
- package/lib/grid/col/Col.vue.cjs +1 -1
- package/lib/grid/col/Col.vue2.cjs +1 -1
- package/lib/grid/row/Row.css +1 -1
- package/lib/grid/row/Row.vue.cjs +1 -1
- package/lib/grid/row/Row.vue2.cjs +1 -1
- package/lib/image/Image.css +1 -1
- package/lib/image/Image.vue.cjs +1 -1
- package/lib/image/Image.vue2.cjs +1 -1
- package/lib/input/Input.css +1 -1
- package/lib/input/Input.vue.cjs +1 -1
- package/lib/input/Input.vue2.cjs +5 -5
- package/lib/inputnumber/InputNumber.css +1 -1
- package/lib/inputnumber/InputNumber.vue.cjs +1 -1
- package/lib/inputnumber/InputNumber.vue2.cjs +6 -6
- package/lib/inputsearch/InputSearch.css +1 -1
- package/lib/inputsearch/InputSearch.vue.cjs +1 -1
- package/lib/inputsearch/InputSearch.vue2.cjs +2 -2
- package/lib/list/list/List.css +1 -1
- package/lib/list/list/List.vue.cjs +1 -1
- package/lib/list/list/List.vue2.cjs +1 -1
- package/lib/list/listitem/ListItem.css +1 -1
- package/lib/list/listitem/ListItem.vue.cjs +1 -1
- package/lib/list/listitem/ListItem.vue2.cjs +1 -1
- package/lib/loadingbar/LoadingBar.css +1 -1
- package/lib/loadingbar/LoadingBar.vue.cjs +1 -1
- package/lib/loadingbar/LoadingBar.vue2.cjs +3 -3
- package/lib/message/Message.css +1 -1
- package/lib/message/Message.vue.cjs +1 -1
- package/lib/message/Message.vue2.cjs +2 -2
- package/lib/modal/Modal.css +1 -1
- package/lib/modal/Modal.vue.cjs +1 -1
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-cards.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-creative.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-cube.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-flip.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/navigation.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/pagination.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/swiper.css +1 -0
- package/lib/notification/Notification.css +1 -1
- package/lib/notification/Notification.vue.cjs +1 -1
- package/lib/notification/Notification.vue2.cjs +2 -2
- package/lib/numberanimation/NumberAnimation.vue.cjs +1 -1
- package/lib/pagination/Pagination.css +1 -1
- package/lib/pagination/Pagination.vue.cjs +1 -1
- package/lib/pagination/Pagination.vue2.cjs +1 -1
- package/lib/popconfirm/Popconfirm.css +1 -1
- package/lib/popconfirm/Popconfirm.vue.cjs +1 -1
- package/lib/popconfirm/Popconfirm.vue2.cjs +2 -2
- package/lib/popover/Popover.css +1 -1
- package/lib/popover/Popover.vue.cjs +1 -1
- package/lib/popover/Popover.vue2.cjs +1 -1
- package/lib/progress/Progress.css +1 -1
- package/lib/progress/Progress.vue.cjs +1 -1
- package/lib/progress/Progress.vue2.cjs +9 -9
- package/lib/qrcode/QRCode.css +1 -1
- package/lib/qrcode/QRCode.vue.cjs +1 -1
- package/lib/qrcode/QRCode.vue2.cjs +1 -1
- package/lib/radio/Radio.css +1 -1
- package/lib/radio/Radio.vue.cjs +1 -1
- package/lib/radio/Radio.vue2.cjs +4 -4
- package/lib/rate/Rate.css +1 -1
- package/lib/rate/Rate.vue.cjs +1 -1
- package/lib/rate/Rate.vue2.cjs +1 -1
- package/lib/result/Result.css +1 -1
- package/lib/result/Result.vue.cjs +1 -1
- package/lib/result/Result.vue2.cjs +1 -1
- package/lib/scrollbar/Scrollbar.css +1 -1
- package/lib/scrollbar/Scrollbar.vue.cjs +1 -1
- package/lib/scrollbar/Scrollbar.vue2.cjs +5 -5
- package/lib/segmented/Segmented.css +1 -1
- package/lib/segmented/Segmented.vue.cjs +1 -1
- package/lib/segmented/Segmented.vue2.cjs +1 -1
- package/lib/select/Select.css +1 -1
- package/lib/select/Select.vue.cjs +1 -1
- package/lib/select/Select.vue2.cjs +4 -4
- package/lib/skeleton/Skeleton.css +1 -1
- package/lib/skeleton/Skeleton.vue.cjs +1 -1
- package/lib/skeleton/Skeleton.vue2.cjs +1 -1
- package/lib/slider/Slider.css +1 -1
- package/lib/slider/Slider.vue.cjs +1 -1
- package/lib/slider/Slider.vue2.cjs +7 -7
- package/lib/space/Space.css +1 -1
- package/lib/space/Space.vue.cjs +1 -1
- package/lib/space/Space.vue2.cjs +1 -1
- package/lib/spin/Spin.css +1 -1
- package/lib/spin/Spin.vue.cjs +1 -1
- package/lib/spin/Spin.vue2.cjs +5 -5
- package/lib/statistic/Statistic.css +1 -1
- package/lib/statistic/Statistic.vue.cjs +1 -1
- package/lib/statistic/Statistic.vue2.cjs +1 -1
- package/lib/steps/Steps.css +1 -1
- package/lib/steps/Steps.vue.cjs +1 -1
- package/lib/steps/Steps.vue2.cjs +3 -3
- package/lib/swiper/Swiper.css +1 -1
- package/lib/swiper/Swiper.vue.cjs +1 -1
- package/lib/swiper/Swiper.vue2.cjs +13 -13
- package/lib/switch/Switch.css +1 -1
- package/lib/switch/Switch.vue.cjs +1 -1
- package/lib/switch/Switch.vue2.cjs +5 -5
- package/lib/table/Table.css +1 -1
- package/lib/table/Table.vue.cjs +1 -1
- package/lib/table/Table.vue2.cjs +1 -1
- package/lib/tabs/Tabs.css +1 -1
- package/lib/tabs/Tabs.vue.cjs +1 -1
- package/lib/tabs/Tabs.vue2.cjs +1 -1
- package/lib/tag/Tag.css +1 -1
- package/lib/tag/Tag.vue.cjs +1 -1
- package/lib/tag/Tag.vue2.cjs +1 -1
- package/lib/textarea/Textarea.css +1 -1
- package/lib/textarea/Textarea.vue.cjs +1 -1
- package/lib/textarea/Textarea.vue2.cjs +4 -4
- package/lib/textscroll/TextScroll.css +1 -1
- package/lib/textscroll/TextScroll.vue.cjs +1 -1
- package/lib/textscroll/TextScroll.vue2.cjs +9 -9
- package/lib/timeline/Timeline.css +1 -1
- package/lib/timeline/Timeline.vue.cjs +1 -1
- package/lib/timeline/Timeline.vue2.cjs +1 -1
- package/lib/tooltip/Tooltip.css +1 -1
- package/lib/tooltip/Tooltip.vue.cjs +1 -1
- package/lib/tooltip/Tooltip.vue2.cjs +1 -1
- package/lib/upload/Upload.css +1 -1
- package/lib/upload/Upload.vue.cjs +1 -1
- package/lib/upload/Upload.vue2.cjs +1 -1
- package/lib/utils/resolver.cjs +1 -1
- package/lib/video/Video.css +1 -1
- package/lib/video/Video.vue.cjs +1 -1
- package/lib/video/Video.vue2.cjs +2 -2
- package/lib/waterfall/Waterfall.css +1 -1
- package/lib/waterfall/Waterfall.vue.cjs +1 -1
- package/lib/waterfall/Waterfall.vue2.cjs +4 -4
- package/package.json +21 -21
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cards.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-creative.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cube.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-flip.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/navigation.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/pagination.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cards.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-creative.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cube.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-flip.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/navigation.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/pagination.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper.css +0 -1
- /package/es/node_modules/.pnpm/{@vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_ → @vuepic_vue-datepicker@11.0.2_vue@3.5.22_typescript@5.9.3_}/node_modules/@vuepic/vue-datepicker/dist/main.css +0 -0
- /package/es/node_modules/.pnpm/{swiper@11.2.10 → swiper@12.0.2}/node_modules/swiper/modules/effect-fade.css +0 -0
- /package/lib/node_modules/.pnpm/{@vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_ → @vuepic_vue-datepicker@11.0.2_vue@3.5.22_typescript@5.9.3_}/node_modules/@vuepic/vue-datepicker/dist/main.css +0 -0
- /package/lib/node_modules/.pnpm/{swiper@11.2.10 → swiper@12.0.2}/node_modules/swiper/modules/effect-fade.css +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as G, ref as c, computed as f, watch as O, createElementBlock as b, openBlock as g, normalizeStyle as W, normalizeClass as w, unref as C, createCommentVNode as k, createElementVNode as r, withDirectives as S, toDisplayString as $, withKeys as m, withModifiers as p, vShow as L, Fragment as X, renderList as Y, createBlock as Z, mergeProps as H, createTextVNode as I, createVNode as _, nextTick as F } from "vue";
|
|
2
2
|
import ee from "../input/index.js";
|
|
3
3
|
import ae from "../select/index.js";
|
|
4
|
-
import { useInject as
|
|
5
|
-
const
|
|
4
|
+
import { useInject as te } from "../utils/index.js";
|
|
5
|
+
const le = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "pagination-total-text"
|
|
8
8
|
}, ne = ["onKeydown", "onClick"], ie = {
|
|
@@ -11,7 +11,7 @@ const te = {
|
|
|
11
11
|
}, oe = {
|
|
12
12
|
key: 1,
|
|
13
13
|
class: "pagination-jump-page"
|
|
14
|
-
}, ve = /* @__PURE__ */
|
|
14
|
+
}, ve = /* @__PURE__ */ G({
|
|
15
15
|
__name: "Pagination",
|
|
16
16
|
props: {
|
|
17
17
|
page: { default: 1 },
|
|
@@ -30,101 +30,101 @@ const te = {
|
|
|
30
30
|
size: { default: "large" }
|
|
31
31
|
},
|
|
32
32
|
emits: ["update:page", "update:pageSize", "change", "pageSizeChange"],
|
|
33
|
-
setup(
|
|
34
|
-
const
|
|
35
|
-
if (typeof
|
|
36
|
-
if (
|
|
37
|
-
return `共 ${
|
|
33
|
+
setup(l, { emit: J }) {
|
|
34
|
+
const i = l, t = c(i.page), s = c(i.pageSize), B = c(null), h = c(), x = c(!1), P = c(!1), { colorPalettes: M } = te("Pagination"), v = J, o = f(() => Math.ceil(i.total / s.value)), A = f(() => {
|
|
35
|
+
if (typeof i.showTotal == "boolean") {
|
|
36
|
+
if (i.showTotal)
|
|
37
|
+
return `共 ${i.total} 条`;
|
|
38
38
|
} else {
|
|
39
|
-
const
|
|
40
|
-
return
|
|
39
|
+
const a = (t.value - 1) * s.value + 1, e = t.value * s.value > i.total ? i.total : t.value * s.value;
|
|
40
|
+
return i.showTotal(i.total, [a, e]);
|
|
41
41
|
}
|
|
42
42
|
return null;
|
|
43
|
-
}),
|
|
44
|
-
const
|
|
45
|
-
(
|
|
43
|
+
}), z = f(() => D(t.value).filter((a) => a !== 1 && a !== o.value)), K = f(() => typeof i.showSizeChanger == "boolean" ? i.showSizeChanger : i.total > 50), E = f(() => {
|
|
44
|
+
const a = [s.value, ...i.pageSizeOptions].map(
|
|
45
|
+
(e) => Number(e)
|
|
46
46
|
);
|
|
47
|
-
return Array.from(new Set(
|
|
48
|
-
label: `${
|
|
49
|
-
value:
|
|
47
|
+
return Array.from(new Set(a)).sort((e, n) => e - n).map((e) => ({
|
|
48
|
+
label: `${e} 条/页`,
|
|
49
|
+
value: e
|
|
50
50
|
}));
|
|
51
|
-
}),
|
|
52
|
-
const
|
|
51
|
+
}), Q = f(() => {
|
|
52
|
+
const a = {
|
|
53
53
|
small: 24,
|
|
54
54
|
middle: 28,
|
|
55
55
|
large: 32
|
|
56
56
|
};
|
|
57
|
-
return
|
|
58
|
-
}), N =
|
|
57
|
+
return a[i.size] || a.large;
|
|
58
|
+
}), N = f(() => i.size === "small" ? "small" : "middle");
|
|
59
59
|
O(
|
|
60
|
-
() =>
|
|
61
|
-
(
|
|
62
|
-
|
|
60
|
+
() => i.page,
|
|
61
|
+
(a) => {
|
|
62
|
+
t.value = a;
|
|
63
63
|
}
|
|
64
64
|
), O(
|
|
65
|
-
() =>
|
|
66
|
-
(
|
|
67
|
-
s.value =
|
|
65
|
+
() => i.pageSize,
|
|
66
|
+
(a) => {
|
|
67
|
+
s.value = a;
|
|
68
68
|
}
|
|
69
69
|
);
|
|
70
|
-
function
|
|
71
|
-
const
|
|
72
|
-
start:
|
|
73
|
-
end:
|
|
70
|
+
function D(a) {
|
|
71
|
+
const e = [], n = Math.floor(i.pageAmount / 2), u = {
|
|
72
|
+
start: a - n,
|
|
73
|
+
end: a + n
|
|
74
74
|
};
|
|
75
|
-
|
|
76
|
-
for (let
|
|
77
|
-
|
|
78
|
-
return
|
|
75
|
+
u.start < 1 && (u.end = u.end + (1 - u.start), u.start = 1), u.end > o.value && (u.start = u.start - (u.end - o.value), u.end = o.value), u.start < 1 && (u.start = 1), u.start > 1 ? x.value = !0 : x.value = !1, u.end < o.value ? P.value = !0 : P.value = !1;
|
|
76
|
+
for (let y = u.start; y <= u.end; y++)
|
|
77
|
+
e.push(y);
|
|
78
|
+
return e;
|
|
79
79
|
}
|
|
80
80
|
function V() {
|
|
81
|
-
|
|
81
|
+
t.value = t.value - i.pageAmount > 0 ? t.value - i.pageAmount : 1, v("update:page", t.value), v("change", t.value, s.value);
|
|
82
82
|
}
|
|
83
83
|
function j() {
|
|
84
|
-
|
|
84
|
+
t.value = t.value + i.pageAmount < o.value ? t.value + i.pageAmount : o.value, v("update:page", t.value), v("change", t.value, s.value);
|
|
85
85
|
}
|
|
86
86
|
async function T() {
|
|
87
|
-
let
|
|
88
|
-
|
|
87
|
+
let a = Number(h.value);
|
|
88
|
+
h.value && Number.isInteger(a) && (a < 1 && (a = 1), a > o.value && (a = o.value), d(a)), await F(), h.value = void 0;
|
|
89
89
|
}
|
|
90
|
-
async function
|
|
90
|
+
async function R(a) {
|
|
91
91
|
await F();
|
|
92
|
-
const
|
|
93
|
-
B.value?.[
|
|
92
|
+
const e = z.value.findIndex((n) => n === a);
|
|
93
|
+
B.value?.[e].focus();
|
|
94
94
|
}
|
|
95
|
-
function
|
|
96
|
-
if (
|
|
95
|
+
function d(a, e = !1) {
|
|
96
|
+
if (a === 0 || a === o.value + 1)
|
|
97
97
|
return !1;
|
|
98
|
-
|
|
98
|
+
t.value !== a && (t.value = a, e && R(a), v("update:page", t.value), v("change", t.value, s.value));
|
|
99
99
|
}
|
|
100
|
-
function
|
|
101
|
-
|
|
100
|
+
function U(a, e) {
|
|
101
|
+
a.target.focus(), d(e);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
s.value =
|
|
105
|
-
const
|
|
106
|
-
|
|
103
|
+
function q(a) {
|
|
104
|
+
s.value = a;
|
|
105
|
+
const e = Math.ceil(i.total / a);
|
|
106
|
+
t.value > e && (t.value = e), v("update:page", t.value), v("update:pageSize", s.value), v("pageSizeChange", t.value, s.value), v("change", t.value, s.value);
|
|
107
107
|
}
|
|
108
|
-
return (
|
|
109
|
-
class:
|
|
110
|
-
`pagination-${
|
|
108
|
+
return (a, e) => (g(), b("div", {
|
|
109
|
+
class: w(["pagination-wrap", [
|
|
110
|
+
`pagination-${l.placement}`,
|
|
111
111
|
{
|
|
112
|
-
"pagination-small":
|
|
113
|
-
"pagination-middle":
|
|
114
|
-
"pagination-disabled":
|
|
115
|
-
"pagination-hidden": !
|
|
112
|
+
"pagination-small": l.size === "small",
|
|
113
|
+
"pagination-middle": l.size === "middle",
|
|
114
|
+
"pagination-disabled": l.disabled,
|
|
115
|
+
"pagination-hidden": !l.total || l.hideOnSinglePage && l.total <= s.value
|
|
116
116
|
}
|
|
117
117
|
]]),
|
|
118
|
-
style:
|
|
118
|
+
style: W(`--pagination-primary-color: ${C(M)[5]}; --pagination-primary-color-focus-visible: ${C(M)[2]};`)
|
|
119
119
|
}, [
|
|
120
|
-
A.value ? (
|
|
121
|
-
|
|
120
|
+
A.value ? (g(), b("span", le, $(A.value), 1)) : k("", !0),
|
|
121
|
+
r("span", {
|
|
122
122
|
tabindex: "0",
|
|
123
|
-
class:
|
|
124
|
-
onKeydown:
|
|
125
|
-
onClick:
|
|
126
|
-
}, [...
|
|
127
|
-
|
|
123
|
+
class: w(["pagination-prev", { "pagination-item-disabled": t.value === 1 }]),
|
|
124
|
+
onKeydown: e[0] || (e[0] = m(p((n) => l.disabled ? () => !1 : d(t.value - 1), ["prevent"]), ["enter"])),
|
|
125
|
+
onClick: e[1] || (e[1] = (n) => l.disabled || t.value === 1 ? () => !1 : d(t.value - 1))
|
|
126
|
+
}, [...e[14] || (e[14] = [
|
|
127
|
+
r("svg", {
|
|
128
128
|
class: "arrow-svg",
|
|
129
129
|
viewBox: "64 64 896 896",
|
|
130
130
|
"data-icon": "left",
|
|
@@ -134,24 +134,24 @@ const te = {
|
|
|
134
134
|
"aria-hidden": "true",
|
|
135
135
|
focusable: "false"
|
|
136
136
|
}, [
|
|
137
|
-
|
|
137
|
+
r("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" })
|
|
138
138
|
], -1)
|
|
139
139
|
])], 34),
|
|
140
|
-
|
|
140
|
+
r("span", {
|
|
141
141
|
tabindex: "0",
|
|
142
|
-
class:
|
|
143
|
-
onKeydown:
|
|
144
|
-
onClick:
|
|
142
|
+
class: w(["pagination-item", { "pagination-item-active": t.value === 1 }]),
|
|
143
|
+
onKeydown: e[2] || (e[2] = m(p((n) => l.disabled ? () => !1 : d(1), ["prevent"]), ["enter"])),
|
|
144
|
+
onClick: e[3] || (e[3] = (n) => l.disabled ? () => !1 : d(1))
|
|
145
145
|
}, " 1 ", 34),
|
|
146
|
-
S(
|
|
146
|
+
S(r("span", {
|
|
147
147
|
tabindex: "0",
|
|
148
148
|
ref: "forward",
|
|
149
149
|
class: "pagintion-jump-prev",
|
|
150
|
-
onKeydown:
|
|
151
|
-
onClick:
|
|
152
|
-
}, [...
|
|
153
|
-
|
|
154
|
-
|
|
150
|
+
onKeydown: e[4] || (e[4] = m(p((n) => l.disabled ? () => !1 : V(), ["prevent"]), ["enter"])),
|
|
151
|
+
onClick: e[5] || (e[5] = (n) => l.disabled ? () => !1 : V())
|
|
152
|
+
}, [...e[15] || (e[15] = [
|
|
153
|
+
r("span", { class: "ellipsis-character" }, "•••", -1),
|
|
154
|
+
r("svg", {
|
|
155
155
|
class: "icon-svg",
|
|
156
156
|
focusable: "false",
|
|
157
157
|
"data-icon": "double-left",
|
|
@@ -161,30 +161,30 @@ const te = {
|
|
|
161
161
|
"aria-hidden": "true",
|
|
162
162
|
viewBox: "64 64 896 896"
|
|
163
163
|
}, [
|
|
164
|
-
|
|
164
|
+
r("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" })
|
|
165
165
|
], -1)
|
|
166
166
|
])], 544), [
|
|
167
|
-
[L,
|
|
167
|
+
[L, x.value && z.value[0] - 1 > 1]
|
|
168
168
|
]),
|
|
169
|
-
(
|
|
169
|
+
(g(!0), b(X, null, Y(z.value, (n, u) => (g(), b("span", {
|
|
170
170
|
ref_for: !0,
|
|
171
171
|
ref_key: "pageListRef",
|
|
172
172
|
ref: B,
|
|
173
173
|
tabindex: "0",
|
|
174
|
-
class:
|
|
175
|
-
key:
|
|
176
|
-
onKeydown:
|
|
177
|
-
onClick: (
|
|
178
|
-
}, $(
|
|
179
|
-
S(
|
|
174
|
+
class: w(["pagination-item", { "pagination-item-active": t.value === n }]),
|
|
175
|
+
key: u,
|
|
176
|
+
onKeydown: m(p((y) => l.disabled ? () => !1 : d(n, !0), ["prevent"]), ["enter"]),
|
|
177
|
+
onClick: (y) => l.disabled ? () => !1 : d(n, !0)
|
|
178
|
+
}, $(n), 43, ne))), 128)),
|
|
179
|
+
S(r("span", {
|
|
180
180
|
tabindex: "0",
|
|
181
181
|
ref: "backward",
|
|
182
182
|
class: "pagintion-jump-next",
|
|
183
|
-
onKeydown:
|
|
184
|
-
onClick:
|
|
185
|
-
}, [...
|
|
186
|
-
|
|
187
|
-
|
|
183
|
+
onKeydown: e[6] || (e[6] = m(p((n) => l.disabled ? () => !1 : j(), ["prevent"]), ["enter"])),
|
|
184
|
+
onClick: e[7] || (e[7] = (n) => l.disabled ? () => !1 : j())
|
|
185
|
+
}, [...e[16] || (e[16] = [
|
|
186
|
+
r("span", { class: "ellipsis-character" }, "•••", -1),
|
|
187
|
+
r("svg", {
|
|
188
188
|
class: "icon-svg",
|
|
189
189
|
focusable: "false",
|
|
190
190
|
"data-icon": "double-right",
|
|
@@ -194,26 +194,26 @@ const te = {
|
|
|
194
194
|
"aria-hidden": "true",
|
|
195
195
|
viewBox: "64 64 896 896"
|
|
196
196
|
}, [
|
|
197
|
-
|
|
197
|
+
r("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" })
|
|
198
198
|
], -1)
|
|
199
199
|
])], 544), [
|
|
200
|
-
[L, P.value &&
|
|
200
|
+
[L, P.value && z.value[z.value.length - 1] + 1 < o.value]
|
|
201
201
|
]),
|
|
202
|
-
S(
|
|
202
|
+
S(r("span", {
|
|
203
203
|
tabindex: "0",
|
|
204
|
-
class:
|
|
205
|
-
onKeydown:
|
|
206
|
-
onClick:
|
|
207
|
-
}, $(
|
|
208
|
-
[L,
|
|
204
|
+
class: w(["pagination-item", { "pagination-item-active": t.value === o.value }]),
|
|
205
|
+
onKeydown: e[8] || (e[8] = m(p((n) => l.disabled ? () => !1 : d(o.value), ["prevent"]), ["enter"])),
|
|
206
|
+
onClick: e[9] || (e[9] = (n) => l.disabled ? () => !1 : d(o.value))
|
|
207
|
+
}, $(o.value), 35), [
|
|
208
|
+
[L, o.value !== 1]
|
|
209
209
|
]),
|
|
210
|
-
|
|
210
|
+
r("span", {
|
|
211
211
|
tabindex: "0",
|
|
212
|
-
class:
|
|
213
|
-
onKeydown:
|
|
214
|
-
onClick:
|
|
215
|
-
}, [...
|
|
216
|
-
|
|
212
|
+
class: w(["pagination-next", { "pagination-item-disabled": t.value === o.value }]),
|
|
213
|
+
onKeydown: e[10] || (e[10] = m(p((n) => l.disabled ? () => !1 : d(t.value + 1), ["prevent"]), ["enter"])),
|
|
214
|
+
onClick: e[11] || (e[11] = (n) => l.disabled || t.value === o.value ? () => !1 : U(n, t.value + 1))
|
|
215
|
+
}, [...e[17] || (e[17] = [
|
|
216
|
+
r("svg", {
|
|
217
217
|
class: "arrow-svg",
|
|
218
218
|
viewBox: "64 64 896 896",
|
|
219
219
|
"data-icon": "right",
|
|
@@ -223,35 +223,35 @@ const te = {
|
|
|
223
223
|
"aria-hidden": "true",
|
|
224
224
|
focusable: "false"
|
|
225
225
|
}, [
|
|
226
|
-
|
|
226
|
+
r("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" })
|
|
227
227
|
], -1)
|
|
228
228
|
])], 34),
|
|
229
|
-
K.value ||
|
|
230
|
-
K.value ? (
|
|
229
|
+
K.value || l.showQuickJumper ? (g(), b("span", ie, [
|
|
230
|
+
K.value ? (g(), Z(C(ae), H({
|
|
231
231
|
key: 0,
|
|
232
232
|
size: N.value,
|
|
233
|
-
height:
|
|
234
|
-
disabled:
|
|
235
|
-
options:
|
|
233
|
+
height: Q.value,
|
|
234
|
+
disabled: l.disabled,
|
|
235
|
+
options: E.value,
|
|
236
236
|
modelValue: s.value,
|
|
237
|
-
"onUpdate:modelValue":
|
|
238
|
-
onChange:
|
|
239
|
-
},
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
_(
|
|
237
|
+
"onUpdate:modelValue": e[12] || (e[12] = (n) => s.value = n),
|
|
238
|
+
onChange: q
|
|
239
|
+
}, l.changerProps), null, 16, ["size", "height", "disabled", "options", "modelValue"])) : k("", !0),
|
|
240
|
+
l.showQuickJumper ? (g(), b("span", oe, [
|
|
241
|
+
e[18] || (e[18] = I(" 跳至", -1)),
|
|
242
|
+
_(C(ee), H({
|
|
243
243
|
width: 50,
|
|
244
244
|
size: N.value,
|
|
245
|
-
disabled:
|
|
246
|
-
value:
|
|
247
|
-
"onUpdate:value":
|
|
245
|
+
disabled: l.disabled,
|
|
246
|
+
value: h.value,
|
|
247
|
+
"onUpdate:value": e[13] || (e[13] = (n) => h.value = n),
|
|
248
248
|
valueModifiers: { lazy: !0 },
|
|
249
249
|
onChange: T,
|
|
250
250
|
onEnter: T
|
|
251
|
-
},
|
|
252
|
-
|
|
253
|
-
])) :
|
|
254
|
-
])) :
|
|
251
|
+
}, l.jumperProps), null, 16, ["size", "disabled", "value"]),
|
|
252
|
+
e[19] || (e[19] = I("页 ", -1))
|
|
253
|
+
])) : k("", !0)
|
|
254
|
+
])) : k("", !0)
|
|
255
255
|
], 6));
|
|
256
256
|
}
|
|
257
257
|
});
|
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
import o from "./Popconfirm.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-74b749f8"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useInject as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as b, ref as T, computed as B, createBlock as m, openBlock as l, unref as a, withCtx as s, renderSlot as c, createElementVNode as i, createElementBlock as n, createCommentVNode as y, normalizeStyle as r, resolveDynamicComponent as P, normalizeClass as $, createTextVNode as d, toDisplayString as u, createVNode as V, mergeProps as k } from "vue";
|
|
2
|
+
import L from "../tooltip/index.js";
|
|
3
|
+
import g from "../button/index.js";
|
|
4
|
+
import { useInject as E, useSlotsExist as M } from "../utils/index.js";
|
|
5
|
+
const N = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "icon-info",
|
|
8
8
|
focusable: "false",
|
|
@@ -12,7 +12,7 @@ const D = {
|
|
|
12
12
|
viewBox: "64 64 896 896",
|
|
13
13
|
"data-icon": "info-circle",
|
|
14
14
|
"aria-hidden": "true"
|
|
15
|
-
},
|
|
15
|
+
}, D = {
|
|
16
16
|
key: 1,
|
|
17
17
|
class: "icon-success",
|
|
18
18
|
focusable: "false",
|
|
@@ -22,7 +22,7 @@ const D = {
|
|
|
22
22
|
viewBox: "64 64 896 896",
|
|
23
23
|
"data-icon": "check-circle",
|
|
24
24
|
"aria-hidden": "true"
|
|
25
|
-
},
|
|
25
|
+
}, R = {
|
|
26
26
|
key: 2,
|
|
27
27
|
class: "icon-danger",
|
|
28
28
|
focusable: "false",
|
|
@@ -32,7 +32,7 @@ const D = {
|
|
|
32
32
|
viewBox: "64 64 896 896",
|
|
33
33
|
"data-icon": "close-circle",
|
|
34
34
|
"aria-hidden": "true"
|
|
35
|
-
},
|
|
35
|
+
}, j = {
|
|
36
36
|
key: 3,
|
|
37
37
|
class: "icon-warning",
|
|
38
38
|
focusable: "false",
|
|
@@ -42,7 +42,7 @@ const D = {
|
|
|
42
42
|
viewBox: "64 64 896 896",
|
|
43
43
|
"data-icon": "exclamation-circle",
|
|
44
44
|
"aria-hidden": "true"
|
|
45
|
-
},
|
|
45
|
+
}, O = { class: "popconfirm-btns" }, q = /* @__PURE__ */ b({
|
|
46
46
|
__name: "Popconfirm",
|
|
47
47
|
props: {
|
|
48
48
|
title: { default: void 0 },
|
|
@@ -62,17 +62,17 @@ const D = {
|
|
|
62
62
|
showCancel: { type: Boolean, default: !0 }
|
|
63
63
|
},
|
|
64
64
|
emits: ["cancel", "ok"],
|
|
65
|
-
setup(
|
|
66
|
-
const w =
|
|
67
|
-
function
|
|
68
|
-
|
|
65
|
+
setup(e, { emit: v }) {
|
|
66
|
+
const w = e, f = T(), { colorPalettes: C } = E("Popconfirm"), p = v, S = M(["description"]), h = B(() => S.description || w.description);
|
|
67
|
+
function x(t) {
|
|
68
|
+
p("cancel", t), f.value.hide();
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
|
|
70
|
+
function z(t) {
|
|
71
|
+
p("ok", t), f.value.hide();
|
|
72
72
|
}
|
|
73
|
-
return (
|
|
73
|
+
return (t, o) => (l(), m(a(L), {
|
|
74
74
|
ref_key: "tooltipRef",
|
|
75
|
-
ref:
|
|
75
|
+
ref: f,
|
|
76
76
|
"max-width": "auto",
|
|
77
77
|
"bg-color": "#fff",
|
|
78
78
|
"tooltip-style": {
|
|
@@ -85,85 +85,85 @@ const D = {
|
|
|
85
85
|
keyboard: e.keyboard,
|
|
86
86
|
"transition-duration": 200
|
|
87
87
|
}, {
|
|
88
|
-
tooltip:
|
|
89
|
-
|
|
88
|
+
tooltip: s(() => [
|
|
89
|
+
i("div", {
|
|
90
90
|
class: "popconfirm-wrap",
|
|
91
|
-
style:
|
|
92
|
-
--popconfirm-primary-color: ${
|
|
91
|
+
style: r(`
|
|
92
|
+
--popconfirm-primary-color: ${a(C)[5]};
|
|
93
93
|
--popconfirm-success-color: #52c41a;
|
|
94
94
|
--popconfirm-danger-color: #ff4d4f;
|
|
95
95
|
--popconfirm-warning-color: #faad14;
|
|
96
96
|
`)
|
|
97
97
|
}, [
|
|
98
|
-
|
|
98
|
+
i("span", {
|
|
99
99
|
class: "popconfirm-icon",
|
|
100
|
-
style:
|
|
100
|
+
style: r(e.iconStyle)
|
|
101
101
|
}, [
|
|
102
|
-
|
|
103
|
-
e.icon === "info" ? (
|
|
104
|
-
|
|
105
|
-
])])) : e.icon === "success" ? (
|
|
106
|
-
|
|
107
|
-
])])) : e.icon === "danger" ? (
|
|
108
|
-
|
|
109
|
-
])])) : e.icon === "warning" ? (
|
|
110
|
-
|
|
111
|
-
])])) : e.icon ? (
|
|
102
|
+
c(t.$slots, "icon", {}, () => [
|
|
103
|
+
e.icon === "info" ? (l(), n("svg", N, [...o[0] || (o[0] = [
|
|
104
|
+
i("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)
|
|
105
|
+
])])) : e.icon === "success" ? (l(), n("svg", D, [...o[1] || (o[1] = [
|
|
106
|
+
i("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)
|
|
107
|
+
])])) : e.icon === "danger" ? (l(), n("svg", R, [...o[2] || (o[2] = [
|
|
108
|
+
i("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)
|
|
109
|
+
])])) : e.icon === "warning" ? (l(), n("svg", j, [...o[3] || (o[3] = [
|
|
110
|
+
i("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)
|
|
111
|
+
])])) : e.icon ? (l(), m(P(e.icon), { key: 4 })) : y("", !0)
|
|
112
112
|
], !0)
|
|
113
113
|
], 4),
|
|
114
|
-
|
|
115
|
-
class:
|
|
116
|
-
style:
|
|
114
|
+
i("div", {
|
|
115
|
+
class: $(["popconfirm-title", { "title-font-weight": h.value }]),
|
|
116
|
+
style: r(e.titleStyle)
|
|
117
117
|
}, [
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
c(t.$slots, "title", {}, () => [
|
|
119
|
+
d(u(e.title), 1)
|
|
120
120
|
], !0)
|
|
121
121
|
], 6)
|
|
122
122
|
], 4),
|
|
123
|
-
|
|
123
|
+
h.value ? (l(), n("div", {
|
|
124
124
|
key: 0,
|
|
125
125
|
class: "popconfirm-description",
|
|
126
|
-
style:
|
|
126
|
+
style: r(e.descriptionStyle)
|
|
127
127
|
}, [
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
c(t.$slots, "description", {}, () => [
|
|
129
|
+
d(u(e.description), 1)
|
|
130
130
|
], !0)
|
|
131
|
-
], 4)) :
|
|
132
|
-
|
|
133
|
-
e.showCancel ? (
|
|
131
|
+
], 4)) : y("", !0),
|
|
132
|
+
i("div", O, [
|
|
133
|
+
e.showCancel ? (l(), m(a(g), k({
|
|
134
134
|
key: 0,
|
|
135
135
|
size: "small",
|
|
136
136
|
type: e.cancelType,
|
|
137
|
-
onClick:
|
|
137
|
+
onClick: x
|
|
138
138
|
}, e.cancelProps), {
|
|
139
|
-
default:
|
|
140
|
-
|
|
141
|
-
|
|
139
|
+
default: s(() => [
|
|
140
|
+
c(t.$slots, "cancelText", {}, () => [
|
|
141
|
+
d(u(e.cancelText), 1)
|
|
142
142
|
], !0)
|
|
143
143
|
]),
|
|
144
144
|
_: 3
|
|
145
|
-
}, 16, ["type"])) :
|
|
146
|
-
|
|
145
|
+
}, 16, ["type"])) : y("", !0),
|
|
146
|
+
V(a(g), k({
|
|
147
147
|
size: "small",
|
|
148
148
|
type: e.okType,
|
|
149
|
-
onClick:
|
|
149
|
+
onClick: z
|
|
150
150
|
}, e.okProps), {
|
|
151
|
-
default:
|
|
152
|
-
|
|
153
|
-
|
|
151
|
+
default: s(() => [
|
|
152
|
+
c(t.$slots, "okText", {}, () => [
|
|
153
|
+
d(u(e.okText), 1)
|
|
154
154
|
], !0)
|
|
155
155
|
]),
|
|
156
156
|
_: 3
|
|
157
157
|
}, 16, ["type"])
|
|
158
158
|
])
|
|
159
159
|
]),
|
|
160
|
-
default:
|
|
161
|
-
|
|
160
|
+
default: s(() => [
|
|
161
|
+
c(t.$slots, "default", {}, void 0, !0)
|
|
162
162
|
]),
|
|
163
163
|
_: 3
|
|
164
164
|
}, 8, ["tooltip-style", "keyboard"]));
|
|
165
165
|
}
|
|
166
166
|
});
|
|
167
167
|
export {
|
|
168
|
-
|
|
168
|
+
q as default
|
|
169
169
|
};
|
package/es/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,7 +1,7 @@
|
|
|
1
1
|
import o from "./Popover.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-3f271a6a"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|