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
package/es/dialog/Dialog.vue2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as I, ref as w, computed as C, watch as J, nextTick as R, watchEffect as Q, onMounted as Z, onUnmounted as _, createElementBlock as n, openBlock as i, createVNode as s, withDirectives as h, Transition as D, withCtx as u, createElementVNode as o, normalizeStyle as d, vShow as L, withKeys as ee, withModifiers as le, normalizeClass as k, createCommentVNode as p, renderSlot as b, createTextVNode as f, toDisplayString as v, unref as z, normalizeProps as N, guardReactiveProps as V, mergeProps as x } from "vue";
|
|
2
2
|
import H from "../scrollbar/index.js";
|
|
3
3
|
import S from "../button/index.js";
|
|
4
4
|
import { useOptionsSupported as te } from "../utils/index.js";
|
|
@@ -18,10 +18,10 @@ const oe = { class: "dialog-root" }, ae = {
|
|
|
18
18
|
fill: "currentColor",
|
|
19
19
|
"aria-hidden": "true",
|
|
20
20
|
viewBox: "64 64 896 896"
|
|
21
|
-
},
|
|
21
|
+
}, ie = {
|
|
22
22
|
key: 1,
|
|
23
23
|
class: "dialog-footer"
|
|
24
|
-
},
|
|
24
|
+
}, ce = {
|
|
25
25
|
focusable: "false",
|
|
26
26
|
"data-icon": "fullscreen",
|
|
27
27
|
width: "1em",
|
|
@@ -29,7 +29,7 @@ const oe = { class: "dialog-root" }, ae = {
|
|
|
29
29
|
fill: "currentColor",
|
|
30
30
|
"aria-hidden": "true",
|
|
31
31
|
viewBox: "64 64 896 896"
|
|
32
|
-
},
|
|
32
|
+
}, re = {
|
|
33
33
|
focusable: "false",
|
|
34
34
|
"data-icon": "fullscreen-exit",
|
|
35
35
|
width: "1em",
|
|
@@ -37,10 +37,10 @@ const oe = { class: "dialog-root" }, ae = {
|
|
|
37
37
|
fill: "currentColor",
|
|
38
38
|
"aria-hidden": "true",
|
|
39
39
|
viewBox: "64 64 896 896"
|
|
40
|
-
},
|
|
40
|
+
}, se = {
|
|
41
41
|
key: 1,
|
|
42
42
|
class: "dialog-footer"
|
|
43
|
-
}, me = /* @__PURE__ */
|
|
43
|
+
}, me = /* @__PURE__ */ I({
|
|
44
44
|
__name: "Dialog",
|
|
45
45
|
props: {
|
|
46
46
|
width: { default: 520 },
|
|
@@ -71,97 +71,97 @@ const oe = { class: "dialog-root" }, ae = {
|
|
|
71
71
|
open: { type: Boolean, default: !1 }
|
|
72
72
|
},
|
|
73
73
|
emits: ["update:open", "cancel", "ok"],
|
|
74
|
-
setup(
|
|
75
|
-
const l =
|
|
74
|
+
setup(e, { emit: Y }) {
|
|
75
|
+
const l = e, P = w(), r = w(null), m = w(), B = w(), y = w("50% 50%"), c = w(!1), { isSupported: O } = te("capture"), $ = Y, T = C(() => typeof l.width == "number" ? `${l.width}px` : l.width), K = C(() => typeof l.height == "number" ? `${l.height}px` : l.height), W = C(() => typeof l.top == "number" ? `${l.top}px` : l.top), U = C(() => c.value ? l.transformOrigin === "mouse" ? {
|
|
76
76
|
width: "100%",
|
|
77
|
-
transformOrigin: `${
|
|
77
|
+
transformOrigin: `${r.value?.x}px ${r.value?.y}px`
|
|
78
78
|
} : {
|
|
79
79
|
width: "100%",
|
|
80
|
-
transformOrigin:
|
|
80
|
+
transformOrigin: y.value
|
|
81
81
|
} : l.centered ? {
|
|
82
82
|
width: T.value,
|
|
83
|
-
transformOrigin:
|
|
83
|
+
transformOrigin: y.value
|
|
84
84
|
} : {
|
|
85
85
|
width: T.value,
|
|
86
|
-
transformOrigin:
|
|
87
|
-
top:
|
|
88
|
-
}), M =
|
|
86
|
+
transformOrigin: y.value,
|
|
87
|
+
top: W.value
|
|
88
|
+
}), M = C(() => c.value ? {
|
|
89
89
|
height: "100vh",
|
|
90
90
|
...l.bodyStyle
|
|
91
91
|
} : {
|
|
92
|
-
height:
|
|
92
|
+
height: K.value,
|
|
93
93
|
...l.bodyStyle
|
|
94
94
|
});
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
async (
|
|
98
|
-
|
|
95
|
+
J(
|
|
96
|
+
m,
|
|
97
|
+
async (a) => {
|
|
98
|
+
a ? (await R(), P.value.focus(), l.blockScroll && (document.documentElement.style.overflowY = "hidden", document.body.style.overflowY = "hidden")) : l.blockScroll && (document.documentElement.style.removeProperty("overflow-y"), document.body.style.removeProperty("overflow-y"));
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
immediate: !0
|
|
102
102
|
}
|
|
103
|
-
),
|
|
104
|
-
|
|
105
|
-
}),
|
|
103
|
+
), Q(() => {
|
|
104
|
+
m.value = l.open;
|
|
105
|
+
}), Z(() => {
|
|
106
106
|
document.addEventListener("click", E, O.value ? { capture: !0 } : !0);
|
|
107
107
|
}), _(() => {
|
|
108
108
|
document.removeEventListener("click", E, O.value ? { capture: !0 } : !0);
|
|
109
109
|
});
|
|
110
|
-
function E(
|
|
111
|
-
|
|
112
|
-
x:
|
|
110
|
+
function E(a) {
|
|
111
|
+
m.value || (r.value = {
|
|
112
|
+
x: a.clientX,
|
|
113
113
|
// 相对于浏览器视口左上角的 X 坐标,不页面滚动而改变
|
|
114
|
-
y:
|
|
114
|
+
y: a.clientY
|
|
115
115
|
// 相对于浏览器视口左上角的 Y 坐标,不页面滚动而改变
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
|
-
async function
|
|
119
|
-
if (B.value = !0, await R(), l.transformOrigin === "mouse" &&
|
|
120
|
-
const t =
|
|
121
|
-
|
|
118
|
+
async function X(a) {
|
|
119
|
+
if (B.value = !0, await R(), l.transformOrigin === "mouse" && r.value) {
|
|
120
|
+
const t = a.getBoundingClientRect();
|
|
121
|
+
y.value = `${r.value.x - t.left}px ${r.value.y - t.top}px`;
|
|
122
122
|
} else
|
|
123
|
-
|
|
123
|
+
y.value = "50% 50%";
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
if (l.transformOrigin === "mouse" &&
|
|
127
|
-
const t =
|
|
128
|
-
|
|
125
|
+
function j(a) {
|
|
126
|
+
if (l.transformOrigin === "mouse" && r.value) {
|
|
127
|
+
const t = a.getBoundingClientRect();
|
|
128
|
+
y.value = `${r.value.x - t.left}px ${r.value.y - t.top}px`;
|
|
129
129
|
} else
|
|
130
|
-
|
|
130
|
+
y.value = "50% 50%";
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
B.value = !1,
|
|
132
|
+
function q() {
|
|
133
|
+
B.value = !1, c.value = !1;
|
|
134
134
|
}
|
|
135
135
|
function F() {
|
|
136
|
-
|
|
136
|
+
c.value = !c.value;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
|
|
138
|
+
function g() {
|
|
139
|
+
m.value = !1, $("update:open", !1), $("cancel");
|
|
140
140
|
}
|
|
141
141
|
function A() {
|
|
142
142
|
$("ok");
|
|
143
143
|
}
|
|
144
|
-
return (
|
|
145
|
-
|
|
144
|
+
return (a, t) => (i(), n("div", oe, [
|
|
145
|
+
s(D, { name: "fade" }, {
|
|
146
146
|
default: u(() => [
|
|
147
|
-
|
|
147
|
+
h(o("div", {
|
|
148
148
|
class: "dialog-mask",
|
|
149
|
-
style:
|
|
149
|
+
style: d(e.maskStyle)
|
|
150
150
|
}, null, 4), [
|
|
151
|
-
[
|
|
151
|
+
[L, m.value]
|
|
152
152
|
])
|
|
153
153
|
]),
|
|
154
154
|
_: 1
|
|
155
155
|
}),
|
|
156
|
-
|
|
156
|
+
h(o("div", {
|
|
157
157
|
tabindex: "-1",
|
|
158
158
|
ref_key: "dialogRef",
|
|
159
159
|
ref: P,
|
|
160
|
-
class:
|
|
161
|
-
onClick: t[0] || (t[0] = le((
|
|
162
|
-
onKeydown: t[1] || (t[1] = ee((
|
|
160
|
+
class: k(["dialog-wrap", { "flex-centered": e.centered }]),
|
|
161
|
+
onClick: t[0] || (t[0] = le((G) => l.maskClosable ? g() : () => !1, ["self"])),
|
|
162
|
+
onKeydown: t[1] || (t[1] = ee((G) => l.keyboard ? g() : () => !1, ["esc"]))
|
|
163
163
|
}, [
|
|
164
|
-
|
|
164
|
+
s(D, {
|
|
165
165
|
name: "zoom",
|
|
166
166
|
"enter-from-class": "zoom-enter",
|
|
167
167
|
"enter-active-class": "zoom-enter",
|
|
@@ -169,47 +169,47 @@ const oe = { class: "dialog-root" }, ae = {
|
|
|
169
169
|
"leave-from-class": "zoom-leave",
|
|
170
170
|
"leave-active-class": "zoom-leave zoom-leave-active",
|
|
171
171
|
"leave-to-class": "zoom-leave zoom-leave-active",
|
|
172
|
-
onBeforeEnter:
|
|
173
|
-
onBeforeLeave:
|
|
174
|
-
onAfterLeave:
|
|
172
|
+
onBeforeEnter: X,
|
|
173
|
+
onBeforeLeave: j,
|
|
174
|
+
onAfterLeave: q
|
|
175
175
|
}, {
|
|
176
176
|
default: u(() => [
|
|
177
|
-
|
|
178
|
-
class:
|
|
179
|
-
style:
|
|
177
|
+
h(o("div", {
|
|
178
|
+
class: k(["dialog-container", { "dialog-with-fullscreen": c.value }]),
|
|
179
|
+
style: d(U.value)
|
|
180
180
|
}, [
|
|
181
|
-
e.destroyOnClose ?
|
|
181
|
+
e.destroyOnClose ? p("", !0) : (i(), n("div", {
|
|
182
182
|
key: 0,
|
|
183
|
-
class:
|
|
184
|
-
style:
|
|
183
|
+
class: k(["dialog-body-wrap", e.bodyClass]),
|
|
184
|
+
style: d(M.value)
|
|
185
185
|
}, [
|
|
186
186
|
o("div", {
|
|
187
|
-
class:
|
|
188
|
-
style:
|
|
187
|
+
class: k(["dialog-header", { "header-with-switch": e.switchFullscreen }]),
|
|
188
|
+
style: d(e.titleStyle)
|
|
189
189
|
}, [
|
|
190
|
-
|
|
191
|
-
|
|
190
|
+
b(a.$slots, "title", {}, () => [
|
|
191
|
+
f(v(e.title), 1)
|
|
192
192
|
], !0)
|
|
193
193
|
], 6),
|
|
194
|
-
e.switchFullscreen ? (
|
|
194
|
+
e.switchFullscreen ? (i(), n("span", {
|
|
195
195
|
key: 0,
|
|
196
196
|
class: "fullscreen-action",
|
|
197
197
|
onClick: F
|
|
198
198
|
}, [
|
|
199
|
-
|
|
199
|
+
h((i(), n("svg", ae, [...t[2] || (t[2] = [
|
|
200
200
|
o("path", { d: "M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z" }, null, -1)
|
|
201
201
|
])], 512)), [
|
|
202
|
-
[
|
|
202
|
+
[L, !c.value]
|
|
203
203
|
]),
|
|
204
|
-
|
|
204
|
+
h((i(), n("svg", ne, [...t[3] || (t[3] = [
|
|
205
205
|
o("path", { d: "M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z" }, null, -1)
|
|
206
206
|
])], 512)), [
|
|
207
|
-
[
|
|
207
|
+
[L, c.value]
|
|
208
208
|
])
|
|
209
|
-
])) :
|
|
209
|
+
])) : p("", !0),
|
|
210
210
|
o("span", {
|
|
211
211
|
class: "close-action",
|
|
212
|
-
onClick:
|
|
212
|
+
onClick: g
|
|
213
213
|
}, [...t[4] || (t[4] = [
|
|
214
214
|
o("svg", {
|
|
215
215
|
width: "1em",
|
|
@@ -223,75 +223,75 @@ const oe = { class: "dialog-root" }, ae = {
|
|
|
223
223
|
o("path", { d: "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" })
|
|
224
224
|
], -1)
|
|
225
225
|
])]),
|
|
226
|
-
|
|
226
|
+
s(z(H), N(V(e.scrollbarProps)), {
|
|
227
227
|
default: u(() => [
|
|
228
228
|
o("div", {
|
|
229
229
|
class: "dialog-content",
|
|
230
|
-
style:
|
|
230
|
+
style: d(e.contentStyle)
|
|
231
231
|
}, [
|
|
232
|
-
|
|
233
|
-
|
|
232
|
+
b(a.$slots, "default", {}, () => [
|
|
233
|
+
f(v(e.content), 1)
|
|
234
234
|
], !0)
|
|
235
235
|
], 4)
|
|
236
236
|
]),
|
|
237
237
|
_: 3
|
|
238
238
|
}, 16),
|
|
239
|
-
e.footer ? (
|
|
240
|
-
|
|
241
|
-
|
|
239
|
+
e.footer ? (i(), n("div", ie, [
|
|
240
|
+
b(a.$slots, "footer", {}, () => [
|
|
241
|
+
s(z(S), x({
|
|
242
242
|
class: "mr8",
|
|
243
|
-
onClick:
|
|
243
|
+
onClick: g
|
|
244
244
|
}, e.cancelProps), {
|
|
245
245
|
default: u(() => [
|
|
246
|
-
|
|
246
|
+
f(v(e.cancelText), 1)
|
|
247
247
|
]),
|
|
248
248
|
_: 1
|
|
249
249
|
}, 16),
|
|
250
|
-
|
|
250
|
+
s(z(S), x({
|
|
251
251
|
type: e.okType,
|
|
252
252
|
loading: l.confirmLoading,
|
|
253
253
|
onClick: A
|
|
254
254
|
}, e.okProps), {
|
|
255
255
|
default: u(() => [
|
|
256
|
-
|
|
256
|
+
f(v(e.okText), 1)
|
|
257
257
|
]),
|
|
258
258
|
_: 1
|
|
259
259
|
}, 16, ["type", "loading"])
|
|
260
260
|
], !0)
|
|
261
|
-
])) :
|
|
261
|
+
])) : p("", !0)
|
|
262
262
|
], 6)),
|
|
263
|
-
e.destroyOnClose &&
|
|
263
|
+
e.destroyOnClose && m.value ? (i(), n("div", {
|
|
264
264
|
key: 1,
|
|
265
|
-
class:
|
|
266
|
-
style:
|
|
265
|
+
class: k(["dialog-body-wrap", e.bodyClass]),
|
|
266
|
+
style: d(M.value)
|
|
267
267
|
}, [
|
|
268
268
|
o("div", {
|
|
269
|
-
class:
|
|
270
|
-
style:
|
|
269
|
+
class: k(["dialog-header", { "header-with-switch": e.switchFullscreen }]),
|
|
270
|
+
style: d(e.titleStyle)
|
|
271
271
|
}, [
|
|
272
|
-
|
|
273
|
-
|
|
272
|
+
b(a.$slots, "title", {}, () => [
|
|
273
|
+
f(v(e.title), 1)
|
|
274
274
|
], !0)
|
|
275
275
|
], 6),
|
|
276
|
-
e.switchFullscreen ? (
|
|
276
|
+
e.switchFullscreen ? (i(), n("span", {
|
|
277
277
|
key: 0,
|
|
278
278
|
class: "fullscreen-action",
|
|
279
279
|
onClick: F
|
|
280
280
|
}, [
|
|
281
|
-
|
|
281
|
+
h((i(), n("svg", ce, [...t[5] || (t[5] = [
|
|
282
282
|
o("path", { d: "M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z" }, null, -1)
|
|
283
283
|
])], 512)), [
|
|
284
|
-
[
|
|
284
|
+
[L, !c.value]
|
|
285
285
|
]),
|
|
286
|
-
|
|
286
|
+
h((i(), n("svg", re, [...t[6] || (t[6] = [
|
|
287
287
|
o("path", { d: "M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z" }, null, -1)
|
|
288
288
|
])], 512)), [
|
|
289
|
-
[
|
|
289
|
+
[L, c.value]
|
|
290
290
|
])
|
|
291
|
-
])) :
|
|
291
|
+
])) : p("", !0),
|
|
292
292
|
o("span", {
|
|
293
293
|
class: "close-action",
|
|
294
|
-
onClick:
|
|
294
|
+
onClick: g
|
|
295
295
|
}, [...t[7] || (t[7] = [
|
|
296
296
|
o("svg", {
|
|
297
297
|
width: "1em",
|
|
@@ -305,51 +305,51 @@ const oe = { class: "dialog-root" }, ae = {
|
|
|
305
305
|
o("path", { d: "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" })
|
|
306
306
|
], -1)
|
|
307
307
|
])]),
|
|
308
|
-
|
|
308
|
+
s(z(H), N(V(e.scrollbarProps)), {
|
|
309
309
|
default: u(() => [
|
|
310
310
|
o("div", {
|
|
311
311
|
class: "dialog-content",
|
|
312
|
-
style:
|
|
312
|
+
style: d(e.contentStyle)
|
|
313
313
|
}, [
|
|
314
|
-
|
|
315
|
-
|
|
314
|
+
b(a.$slots, "default", {}, () => [
|
|
315
|
+
f(v(e.content), 1)
|
|
316
316
|
], !0)
|
|
317
317
|
], 4)
|
|
318
318
|
]),
|
|
319
319
|
_: 3
|
|
320
320
|
}, 16),
|
|
321
|
-
e.footer ? (
|
|
322
|
-
|
|
323
|
-
|
|
321
|
+
e.footer ? (i(), n("div", se, [
|
|
322
|
+
b(a.$slots, "footer", {}, () => [
|
|
323
|
+
s(z(S), x({
|
|
324
324
|
class: "mr8",
|
|
325
|
-
onClick:
|
|
325
|
+
onClick: g
|
|
326
326
|
}, e.cancelProps), {
|
|
327
327
|
default: u(() => [
|
|
328
|
-
|
|
328
|
+
f(v(e.cancelText), 1)
|
|
329
329
|
]),
|
|
330
330
|
_: 1
|
|
331
331
|
}, 16),
|
|
332
|
-
|
|
332
|
+
s(z(S), x({
|
|
333
333
|
type: e.okType,
|
|
334
334
|
loading: l.confirmLoading,
|
|
335
335
|
onClick: A
|
|
336
336
|
}, e.okProps), {
|
|
337
337
|
default: u(() => [
|
|
338
|
-
|
|
338
|
+
f(v(e.okText), 1)
|
|
339
339
|
]),
|
|
340
340
|
_: 1
|
|
341
341
|
}, 16, ["type", "loading"])
|
|
342
342
|
], !0)
|
|
343
|
-
])) :
|
|
344
|
-
], 6)) :
|
|
343
|
+
])) : p("", !0)
|
|
344
|
+
], 6)) : p("", !0)
|
|
345
345
|
], 6), [
|
|
346
|
-
[
|
|
346
|
+
[L, m.value]
|
|
347
347
|
])
|
|
348
348
|
]),
|
|
349
349
|
_: 3
|
|
350
350
|
})
|
|
351
351
|
], 34), [
|
|
352
|
-
[
|
|
352
|
+
[L, B.value]
|
|
353
353
|
])
|
|
354
354
|
]));
|
|
355
355
|
}
|
package/es/dialog/index.d.ts
CHANGED
|
@@ -22,15 +22,15 @@ declare const _default: {
|
|
|
22
22
|
scrollbarProps: object;
|
|
23
23
|
bodyStyle: import('vue').CSSProperties;
|
|
24
24
|
titleStyle: import('vue').CSSProperties;
|
|
25
|
-
|
|
25
|
+
centered: boolean;
|
|
26
26
|
bodyClass: string;
|
|
27
|
+
cancelText: string;
|
|
27
28
|
cancelProps: object;
|
|
28
29
|
okText: string;
|
|
29
30
|
okType: "primary" | "danger";
|
|
30
31
|
okProps: object;
|
|
31
32
|
destroyOnClose: boolean;
|
|
32
33
|
switchFullscreen: boolean;
|
|
33
|
-
centered: boolean;
|
|
34
34
|
confirmLoading: boolean;
|
|
35
35
|
blockScroll: boolean;
|
|
36
36
|
maskClosable: boolean;
|
|
@@ -62,15 +62,15 @@ declare const _default: {
|
|
|
62
62
|
scrollbarProps: object;
|
|
63
63
|
bodyStyle: import('vue').CSSProperties;
|
|
64
64
|
titleStyle: import('vue').CSSProperties;
|
|
65
|
-
|
|
65
|
+
centered: boolean;
|
|
66
66
|
bodyClass: string;
|
|
67
|
+
cancelText: string;
|
|
67
68
|
cancelProps: object;
|
|
68
69
|
okText: string;
|
|
69
70
|
okType: "primary" | "danger";
|
|
70
71
|
okProps: object;
|
|
71
72
|
destroyOnClose: boolean;
|
|
72
73
|
switchFullscreen: boolean;
|
|
73
|
-
centered: boolean;
|
|
74
74
|
confirmLoading: boolean;
|
|
75
75
|
blockScroll: boolean;
|
|
76
76
|
maskClosable: boolean;
|
|
@@ -101,15 +101,15 @@ declare const _default: {
|
|
|
101
101
|
scrollbarProps: object;
|
|
102
102
|
bodyStyle: import('vue').CSSProperties;
|
|
103
103
|
titleStyle: import('vue').CSSProperties;
|
|
104
|
-
|
|
104
|
+
centered: boolean;
|
|
105
105
|
bodyClass: string;
|
|
106
|
+
cancelText: string;
|
|
106
107
|
cancelProps: object;
|
|
107
108
|
okText: string;
|
|
108
109
|
okType: "primary" | "danger";
|
|
109
110
|
okProps: object;
|
|
110
111
|
destroyOnClose: boolean;
|
|
111
112
|
switchFullscreen: boolean;
|
|
112
|
-
centered: boolean;
|
|
113
113
|
confirmLoading: boolean;
|
|
114
114
|
blockScroll: boolean;
|
|
115
115
|
maskClosable: boolean;
|
package/es/divider/Divider.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.divider-wrap[data-v-
|
|
1
|
+
.divider-wrap[data-v-405c5f62]{color:#000000e0;font-size:14px;line-height:1.57142857;border-top:var(--border-width) var(--border-style) var(--border-color)}.divider-wrap .divider-text[data-v-405c5f62]{display:inline-block;padding:0 1em}.divider-horizontal[data-v-405c5f62]{display:flex;clear:both;width:100%;min-width:100%;margin:24px 0}.divider-vertical[data-v-405c5f62]{position:relative;top:-.06em;display:inline-block;height:var(--line-height);margin:0 8px;vertical-align:middle;border-top:0;border-left:var(--border-width) var(--border-style) var(--border-color)}.divider-with-text[data-v-405c5f62]{display:flex;align-items:center;margin:16px 0;color:#000000e0;font-weight:500;font-size:16px;white-space:nowrap;text-align:center;border-top:0 var(--border-color)}.divider-with-text[data-v-405c5f62]:before,.divider-with-text[data-v-405c5f62]:after{position:relative;width:50%;border-top-width:var(--border-width);border-top-style:var(--border-style);border-top-color:inherit;transform:translateY(50%);content:""}.divider-with-text-left[data-v-405c5f62]:before{width:5%}.divider-with-text-left[data-v-405c5f62]:after{width:95%}.divider-with-text-right[data-v-405c5f62]:before{width:95%}.divider-with-text-right[data-v-405c5f62]:after{width:5%}.divider-orientation-margin-left[data-v-405c5f62]:before{width:0}.divider-orientation-margin-left[data-v-405c5f62]:after{width:100%}.divider-orientation-margin-left .divider-text[data-v-405c5f62]{margin-left:var(--margin);padding-left:0}.divider-orientation-margin-right[data-v-405c5f62]:before{width:100%}.divider-orientation-margin-right[data-v-405c5f62]:after{width:0}.divider-orientation-margin-right .divider-text[data-v-405c5f62]{margin-right:var(--margin);padding-right:0}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Divider.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-405c5f62"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useSlotsExist as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as v, computed as r, createElementBlock as n, openBlock as o, normalizeStyle as h, normalizeClass as c, createCommentVNode as f, renderSlot as s } from "vue";
|
|
2
|
+
import { useSlotsExist as g } from "../utils/index.js";
|
|
3
|
+
const m = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "divider-text"
|
|
6
|
-
}, $ = /* @__PURE__ */
|
|
6
|
+
}, $ = /* @__PURE__ */ v({
|
|
7
7
|
__name: "Divider",
|
|
8
8
|
props: {
|
|
9
9
|
orientation: { default: "center" },
|
|
@@ -14,10 +14,10 @@ const p = {
|
|
|
14
14
|
vertical: { type: Boolean, default: !1 },
|
|
15
15
|
height: { default: "0.9em" }
|
|
16
16
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const i =
|
|
19
|
-
return (
|
|
20
|
-
class:
|
|
17
|
+
setup(e) {
|
|
18
|
+
const i = e, a = g(["default"]), d = r(() => typeof i.orientationMargin == "number" ? `${i.orientationMargin}px` : i.orientationMargin), l = r(() => typeof i.height == "number" ? `${i.height}px` : i.height), t = r(() => a.default);
|
|
19
|
+
return (u, b) => (o(), n("div", {
|
|
20
|
+
class: c(["divider-wrap", [
|
|
21
21
|
e.vertical ? "divider-vertical" : "divider-horizontal",
|
|
22
22
|
{
|
|
23
23
|
"divider-with-text": t.value,
|
|
@@ -28,10 +28,10 @@ const p = {
|
|
|
28
28
|
"divider-orientation-margin-right": t.value && e.orientation === "right" && e.orientationMargin !== void 0
|
|
29
29
|
}
|
|
30
30
|
]]),
|
|
31
|
-
style:
|
|
31
|
+
style: h(`--border-width: ${e.borderWidth}px; --border-style: ${e.borderStyle}; --border-color: ${e.borderColor}; --margin: ${d.value}; --line-height: ${l.value};`)
|
|
32
32
|
}, [
|
|
33
|
-
t.value ? (
|
|
34
|
-
|
|
33
|
+
t.value ? (o(), n("span", m, [
|
|
34
|
+
s(u.$slots, "default", {}, void 0, !0)
|
|
35
35
|
])) : f("", !0)
|
|
36
36
|
], 6));
|
|
37
37
|
}
|
package/es/drawer/Drawer.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.fade-enter-active[data-v-
|
|
1
|
+
.fade-enter-active[data-v-07f3fc04],.fade-leave-active[data-v-07f3fc04]{transition:opacity .3s}.fade-enter-from[data-v-07f3fc04],.fade-leave-to[data-v-07f3fc04]{opacity:0}.motion-top-enter-active[data-v-07f3fc04],.motion-top-leave-active[data-v-07f3fc04]{transition:all .3s}.motion-top-enter-from[data-v-07f3fc04],.motion-top-leave-to[data-v-07f3fc04]{transform:translateY(-100%)}.motion-right-enter-active[data-v-07f3fc04],.motion-right-leave-active[data-v-07f3fc04]{transition:all .3s}.motion-right-enter-from[data-v-07f3fc04],.motion-right-leave-to[data-v-07f3fc04]{transform:translate(100%)}.motion-bottom-enter-active[data-v-07f3fc04],.motion-bottom-leave-active[data-v-07f3fc04]{transition:all .3s}.motion-bottom-enter-from[data-v-07f3fc04],.motion-bottom-leave-to[data-v-07f3fc04]{transform:translateY(100%)}.motion-left-enter-active[data-v-07f3fc04],.motion-left-leave-active[data-v-07f3fc04]{transition:all .3s}.motion-left-enter-from[data-v-07f3fc04],.motion-left-leave-to[data-v-07f3fc04]{transform:translate(-100%)}.drawer-wrap[data-v-07f3fc04]{position:fixed;inset:0;z-index:1000;pointer-events:none;outline:none}.drawer-wrap .drawer-mask[data-v-07f3fc04]{position:absolute;inset:0;z-index:1000;background:#00000073;pointer-events:auto}.drawer-wrap .drawer-container[data-v-07f3fc04]{position:absolute;transition:all .3s}.drawer-wrap .drawer-container .drawer-content[data-v-07f3fc04]{width:100%;height:100%;overflow:auto;background:#fff;pointer-events:auto}.drawer-wrap .drawer-container .drawer-content .drawer-body-wrapper[data-v-07f3fc04]{display:flex;flex-direction:column;width:100%;height:100%}.drawer-wrap .drawer-container .drawer-content .drawer-body-wrapper .drawer-header[data-v-07f3fc04]{display:flex;flex:0;align-items:center;padding:16px 24px;font-size:16px;line-height:1.5;border-bottom:1px solid rgba(5,5,5,.06)}.drawer-wrap .drawer-container .drawer-content .drawer-body-wrapper .drawer-header .header-title[data-v-07f3fc04]{display:flex;flex:1;align-items:center;min-width:0;min-height:0}.drawer-wrap .drawer-container .drawer-content .drawer-body-wrapper .drawer-header .header-title .svg-close[data-v-07f3fc04]{display:inline-block;margin-right:12px;font-size:16px;font-weight:600;color:#00000073;fill:currentColor;cursor:pointer;transition:color .2s}.drawer-wrap .drawer-container .drawer-content .drawer-body-wrapper .drawer-header .header-title .svg-close[data-v-07f3fc04]:hover{color:#000000e0}.drawer-wrap .drawer-container .drawer-content .drawer-body-wrapper .drawer-header .header-title .header-title[data-v-07f3fc04]{flex:1;margin:0;color:#000000e0;font-weight:600;font-size:16px;line-height:1.5}.drawer-wrap .drawer-container .drawer-content .drawer-body-wrapper .drawer-header .header-extra[data-v-07f3fc04]{flex:none;color:#000000e0}.drawer-wrap .drawer-container .drawer-content .drawer-body-wrapper .drawer-body[data-v-07f3fc04]{height:100%;padding:24px;word-break:break-all}.drawer-wrap .drawer-container .drawer-content .drawer-body-wrapper .drawer-footer[data-v-07f3fc04]{flex-shrink:0;padding:8px 16px;border-top:1px solid rgba(5,5,5,.06);color:#000000e0}.drawer-wrap .drawer-top[data-v-07f3fc04]{top:0;left:0;right:0;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}.drawer-wrap .drawer-right[data-v-07f3fc04]{top:0;right:0;bottom:0;box-shadow:-6px 0 16px #00000014,-3px 0 6px -4px #0000001f,-9px 0 28px 8px #0000000d}.drawer-wrap .drawer-bottom[data-v-07f3fc04]{bottom:0;left:0;right:0;box-shadow:0 -6px 16px #00000014,0 -3px 6px -4px #0000001f,0 -9px 28px 8px #0000000d}.drawer-wrap .drawer-left[data-v-07f3fc04]{top:0;bottom:0;left:0;box-shadow:6px 0 16px #00000014,3px 0 6px -4px #0000001f,9px 0 28px 8px #0000000d}
|
package/es/drawer/Drawer.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Drawer.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-07f3fc04"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|