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,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as m, ref as y, watchEffect as v, watch as h, onMounted as x, computed as S, createElementBlock as _, openBlock as b, normalizeStyle as w, toDisplayString as B } from "vue";
|
|
2
2
|
import { formatNumber as k } from "../utils/index.js";
|
|
3
3
|
import { useTransition as C, TransitionPresets as E } from "@vueuse/core";
|
|
4
|
-
const g = /* @__PURE__ */
|
|
4
|
+
const g = /* @__PURE__ */ m({
|
|
5
5
|
__name: "NumberAnimation",
|
|
6
6
|
props: {
|
|
7
7
|
from: { default: 0 },
|
|
@@ -17,37 +17,37 @@ const g = /* @__PURE__ */ c({
|
|
|
17
17
|
transition: { default: "easeInOutCubic" }
|
|
18
18
|
},
|
|
19
19
|
emits: ["started", "finished"],
|
|
20
|
-
setup(
|
|
21
|
-
const
|
|
20
|
+
setup(a, { expose: u, emit: s }) {
|
|
21
|
+
const t = a, e = y(t.from), n = s;
|
|
22
22
|
v(() => {
|
|
23
|
-
|
|
23
|
+
e.value = t.from;
|
|
24
24
|
}), h(
|
|
25
|
-
() => [
|
|
25
|
+
() => [t.from, t.to],
|
|
26
26
|
() => {
|
|
27
|
-
|
|
27
|
+
t.autoplay && o();
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
deep: !0
|
|
31
31
|
}
|
|
32
32
|
), x(() => {
|
|
33
|
-
|
|
33
|
+
t.autoplay && o();
|
|
34
34
|
});
|
|
35
|
-
const l = C(
|
|
36
|
-
duration:
|
|
37
|
-
transition: E[
|
|
38
|
-
onFinished: () =>
|
|
39
|
-
onStarted: () =>
|
|
35
|
+
const l = C(e, {
|
|
36
|
+
duration: t.duration,
|
|
37
|
+
transition: E[t.transition],
|
|
38
|
+
onFinished: () => n("finished"),
|
|
39
|
+
onStarted: () => n("started")
|
|
40
40
|
});
|
|
41
41
|
function o() {
|
|
42
|
-
|
|
42
|
+
e.value = t.to;
|
|
43
43
|
}
|
|
44
44
|
const f = S(() => {
|
|
45
|
-
const { precision:
|
|
46
|
-
return k(l.value,
|
|
45
|
+
const { precision: r, separator: i, decimal: d, prefix: p, suffix: c } = t;
|
|
46
|
+
return k(l.value, r, i, d, p, c);
|
|
47
47
|
});
|
|
48
48
|
return u({
|
|
49
49
|
play: o
|
|
50
|
-
}), (
|
|
50
|
+
}), (r, i) => (b(), _("span", {
|
|
51
51
|
style: w(a.valueStyle)
|
|
52
52
|
}, B(f.value), 5));
|
|
53
53
|
}
|
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
import o from "./Pagination.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f34667b0"]]);
|
|
5
5
|
export {
|
|
6
6
|
i as default
|
|
7
7
|
};
|
|
@@ -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
|
};
|