vue-amazing-ui 2.4.21 → 2.4.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +292 -292
- package/README.zh-CN.md +292 -292
- package/dist/index.iife.js +141 -141
- package/dist/index.js +6726 -6711
- package/dist/index.umd.cjs +151 -151
- package/dist/style.css +1 -1
- package/es/alert/Alert.css +1 -1
- package/es/alert/Alert.vue.js +2 -2
- package/es/alert/Alert.vue2.js +56 -56
- package/es/avatar/Avatar.css +1 -1
- package/es/avatar/Avatar.vue.js +1 -1
- package/es/avatar/Avatar.vue2.js +29 -29
- package/es/backtop/BackTop.css +1 -1
- package/es/backtop/BackTop.vue.js +2 -2
- package/es/backtop/BackTop.vue2.js +77 -77
- package/es/badge/Badge.css +1 -1
- package/es/badge/Badge.vue.js +2 -2
- package/es/badge/Badge.vue2.js +39 -39
- package/es/breadcrumb/Breadcrumb.css +1 -1
- package/es/breadcrumb/Breadcrumb.vue.js +2 -2
- package/es/breadcrumb/Breadcrumb.vue2.js +35 -35
- package/es/button/Button.css +1 -1
- package/es/button/Button.vue.js +2 -2
- package/es/button/Button.vue2.js +43 -43
- package/es/calendar/Calendar.css +1 -1
- package/es/calendar/Calendar.vue.js +2 -2
- package/es/calendar/Calendar.vue2.js +111 -111
- package/es/card/Card.css +1 -1
- package/es/card/Card.vue.js +2 -2
- package/es/card/Card.vue2.js +21 -21
- package/es/carousel/Carousel.css +1 -1
- package/es/carousel/Carousel.vue.js +2 -2
- package/es/carousel/Carousel.vue2.js +131 -131
- package/es/cascader/Cascader.css +1 -1
- package/es/cascader/Cascader.d.ts +8 -0
- package/es/cascader/Cascader.vue.js +2 -2
- package/es/cascader/Cascader.vue2.js +71 -55
- package/es/cascader/index.d.ts +12 -0
- package/es/checkbox/Checkbox.css +1 -1
- package/es/checkbox/Checkbox.vue.js +2 -2
- package/es/checkbox/Checkbox.vue2.js +52 -52
- package/es/collapse/Collapse.css +1 -1
- package/es/collapse/Collapse.vue.js +2 -2
- package/es/collapse/Collapse.vue2.js +86 -86
- package/es/colorpicker/ColorPicker.css +1 -1
- package/es/colorpicker/ColorPicker.vue.js +2 -2
- package/es/colorpicker/ColorPicker.vue2.js +232 -232
- package/es/configprovider/ConfigProvider.vue.js +29 -29
- package/es/countdown/Countdown.css +1 -1
- package/es/countdown/Countdown.vue.js +2 -2
- package/es/countdown/Countdown.vue2.js +67 -67
- package/es/datepicker/DatePicker.css +1 -1
- package/es/datepicker/DatePicker.vue.js +4 -4
- package/es/datepicker/DatePicker.vue2.js +21 -21
- package/es/descriptions/descriptions/Descriptions.css +1 -1
- package/es/descriptions/descriptions/Descriptions.vue.js +2 -2
- package/es/descriptions/descriptions/Descriptions.vue2.js +61 -61
- package/es/descriptions/descriptionsitem/DescriptionsItem.css +1 -1
- package/es/descriptions/descriptionsitem/DescriptionsItem.vue.js +2 -2
- package/es/descriptions/descriptionsitem/DescriptionsItem.vue2.js +17 -17
- package/es/dialog/Dialog.css +1 -1
- package/es/dialog/Dialog.vue.js +1 -1
- package/es/dialog/Dialog.vue2.js +112 -112
- package/es/divider/Divider.css +1 -1
- package/es/divider/Divider.vue.js +1 -1
- package/es/divider/Divider.vue2.js +11 -11
- package/es/drawer/Drawer.css +1 -1
- package/es/drawer/Drawer.vue.js +2 -2
- package/es/drawer/Drawer.vue2.js +84 -84
- package/es/ellipsis/Ellipsis.css +1 -1
- package/es/ellipsis/Ellipsis.vue.js +2 -2
- package/es/ellipsis/Ellipsis.vue2.js +32 -32
- package/es/empty/Empty.css +1 -1
- package/es/empty/Empty.vue.js +2 -2
- package/es/empty/Empty.vue2.js +22 -22
- package/es/flex/Flex.css +1 -1
- package/es/flex/Flex.vue.js +2 -2
- package/es/flex/Flex.vue2.js +10 -10
- package/es/floatbutton/FloatButton.css +1 -1
- package/es/floatbutton/FloatButton.vue.js +1 -1
- package/es/floatbutton/FloatButton.vue2.js +57 -57
- package/es/gradienttext/GradientText.css +1 -1
- package/es/gradienttext/GradientText.vue.js +1 -1
- package/es/gradienttext/GradientText.vue2.js +7 -7
- package/es/grid/col/Col.css +1 -1
- package/es/grid/col/Col.vue.js +2 -2
- package/es/grid/col/Col.vue2.js +7 -7
- package/es/grid/row/Row.css +1 -1
- package/es/grid/row/Row.vue.js +1 -1
- package/es/grid/row/Row.vue2.js +14 -14
- package/es/image/Image.css +1 -1
- package/es/image/Image.vue.js +2 -2
- package/es/image/Image.vue2.js +177 -177
- package/es/input/Input.css +1 -1
- package/es/input/Input.vue.js +2 -2
- package/es/input/Input.vue2.js +72 -72
- package/es/inputnumber/InputNumber.css +1 -1
- package/es/inputnumber/InputNumber.vue.js +1 -1
- package/es/inputnumber/InputNumber.vue2.js +76 -76
- package/es/inputsearch/InputSearch.css +1 -1
- package/es/inputsearch/InputSearch.vue.js +2 -2
- package/es/inputsearch/InputSearch.vue2.js +61 -61
- package/es/list/list/List.css +1 -1
- package/es/list/list/List.vue.js +2 -2
- package/es/list/list/List.vue2.js +14 -14
- package/es/list/listitem/ListItem.css +1 -1
- package/es/list/listitem/ListItem.vue.js +2 -2
- package/es/list/listitem/ListItem.vue2.js +41 -41
- package/es/loadingbar/LoadingBar.css +1 -1
- package/es/loadingbar/LoadingBar.vue.js +2 -2
- package/es/loadingbar/LoadingBar.vue2.js +25 -25
- package/es/message/Message.css +1 -1
- package/es/message/Message.vue.js +2 -2
- package/es/message/Message.vue2.js +37 -37
- package/es/modal/Modal.css +1 -1
- package/es/modal/Modal.vue.js +1 -1
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-cards.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-creative.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-cube.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-flip.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/navigation.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/pagination.css +1 -0
- package/es/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/swiper.css +1 -0
- package/es/notification/Notification.css +1 -1
- package/es/notification/Notification.vue.js +2 -2
- package/es/notification/Notification.vue2.js +45 -45
- package/es/numberanimation/NumberAnimation.vue.js +17 -17
- package/es/pagination/Pagination.css +1 -1
- package/es/pagination/Pagination.vue.js +1 -1
- package/es/pagination/Pagination.vue2.js +124 -124
- package/es/popconfirm/Popconfirm.css +1 -1
- package/es/popconfirm/Popconfirm.vue.js +1 -1
- package/es/popconfirm/Popconfirm.vue2.js +58 -58
- package/es/popover/Popover.css +1 -1
- package/es/popover/Popover.vue.js +2 -2
- package/es/popover/Popover.vue2.js +20 -20
- package/es/progress/Progress.css +1 -1
- package/es/progress/Progress.vue.js +2 -2
- package/es/progress/Progress.vue2.js +81 -81
- package/es/qrcode/QRCode.css +1 -1
- package/es/qrcode/QRCode.vue.js +3 -3
- package/es/qrcode/QRCode.vue2.js +18 -18
- package/es/radio/Radio.css +1 -1
- package/es/radio/Radio.vue.js +2 -2
- package/es/radio/Radio.vue2.js +88 -88
- package/es/rate/Rate.css +1 -1
- package/es/rate/Rate.vue.js +1 -1
- package/es/rate/Rate.vue2.js +90 -90
- package/es/result/Result.css +1 -1
- package/es/result/Result.vue.js +2 -2
- package/es/result/Result.vue2.js +51 -51
- package/es/scrollbar/Scrollbar.css +1 -1
- package/es/scrollbar/Scrollbar.vue.js +1 -1
- package/es/scrollbar/Scrollbar.vue2.js +106 -106
- package/es/segmented/Segmented.css +1 -1
- package/es/segmented/Segmented.vue.js +2 -2
- package/es/segmented/Segmented.vue2.js +51 -51
- package/es/select/Select.css +1 -1
- package/es/select/Select.vue.js +2 -2
- package/es/select/Select.vue2.js +157 -157
- package/es/skeleton/Skeleton.css +1 -1
- package/es/skeleton/Skeleton.vue.js +2 -2
- package/es/skeleton/Skeleton.vue2.js +61 -61
- package/es/slider/Slider.css +1 -1
- package/es/slider/Slider.vue.js +2 -2
- package/es/slider/Slider.vue2.js +195 -195
- package/es/space/Space.css +1 -1
- package/es/space/Space.vue.js +2 -2
- package/es/space/Space.vue2.js +7 -7
- package/es/spin/Spin.css +1 -1
- package/es/spin/Spin.vue.js +2 -2
- package/es/spin/Spin.vue2.js +67 -67
- package/es/statistic/Statistic.css +1 -1
- package/es/statistic/Statistic.vue.js +2 -2
- package/es/statistic/Statistic.vue2.js +21 -21
- package/es/steps/Steps.css +1 -1
- package/es/steps/Steps.vue.js +2 -2
- package/es/steps/Steps.vue2.js +35 -35
- package/es/swiper/Swiper.css +1 -1
- package/es/swiper/Swiper.vue.js +1 -1
- package/es/swiper/Swiper.vue2.js +89 -89
- package/es/switch/Switch.css +1 -1
- package/es/switch/Switch.vue.js +1 -1
- package/es/switch/Switch.vue2.js +32 -32
- package/es/table/Table.css +1 -1
- package/es/table/Table.vue.js +2 -2
- package/es/table/Table.vue2.js +686 -687
- package/es/tabs/Tabs.css +1 -1
- package/es/tabs/Tabs.vue.js +2 -2
- package/es/tabs/Tabs.vue2.js +91 -91
- package/es/tag/Tag.css +1 -1
- package/es/tag/Tag.vue.js +1 -1
- package/es/tag/Tag.vue2.js +91 -91
- package/es/textarea/Textarea.css +1 -1
- package/es/textarea/Textarea.vue.js +1 -1
- package/es/textarea/Textarea.vue2.js +37 -37
- package/es/textscroll/TextScroll.css +1 -1
- package/es/textscroll/TextScroll.vue.js +2 -2
- package/es/textscroll/TextScroll.vue2.js +100 -100
- package/es/timeline/Timeline.css +1 -1
- package/es/timeline/Timeline.vue.js +2 -2
- package/es/timeline/Timeline.vue2.js +24 -24
- package/es/tooltip/Tooltip.css +1 -1
- package/es/tooltip/Tooltip.vue.js +2 -2
- package/es/tooltip/Tooltip.vue2.js +129 -129
- package/es/upload/Upload.css +1 -1
- package/es/upload/Upload.vue.js +2 -2
- package/es/upload/Upload.vue2.js +137 -137
- package/es/utils/resolver.js +3 -3
- package/es/video/Video.css +1 -1
- package/es/video/Video.vue.js +2 -2
- package/es/video/Video.vue2.js +44 -44
- package/es/waterfall/Waterfall.css +1 -1
- package/es/waterfall/Waterfall.vue.js +2 -2
- package/es/waterfall/Waterfall.vue2.js +54 -54
- package/lib/alert/Alert.css +1 -1
- package/lib/alert/Alert.vue.cjs +1 -1
- package/lib/alert/Alert.vue2.cjs +2 -2
- package/lib/avatar/Avatar.css +1 -1
- package/lib/avatar/Avatar.vue.cjs +1 -1
- package/lib/avatar/Avatar.vue2.cjs +1 -1
- package/lib/backtop/BackTop.css +1 -1
- package/lib/backtop/BackTop.vue.cjs +1 -1
- package/lib/backtop/BackTop.vue2.cjs +6 -6
- package/lib/badge/Badge.css +1 -1
- package/lib/badge/Badge.vue.cjs +1 -1
- package/lib/badge/Badge.vue2.cjs +1 -1
- package/lib/breadcrumb/Breadcrumb.css +1 -1
- package/lib/breadcrumb/Breadcrumb.vue.cjs +1 -1
- package/lib/breadcrumb/Breadcrumb.vue2.cjs +2 -2
- package/lib/button/Button.css +1 -1
- package/lib/button/Button.vue.cjs +1 -1
- package/lib/button/Button.vue2.cjs +3 -3
- package/lib/calendar/Calendar.css +1 -1
- package/lib/calendar/Calendar.vue.cjs +1 -1
- package/lib/calendar/Calendar.vue2.cjs +5 -5
- package/lib/card/Card.css +1 -1
- package/lib/card/Card.vue.cjs +1 -1
- package/lib/card/Card.vue2.cjs +1 -1
- package/lib/carousel/Carousel.css +1 -1
- package/lib/carousel/Carousel.vue.cjs +1 -1
- package/lib/carousel/Carousel.vue2.cjs +7 -7
- package/lib/cascader/Cascader.css +1 -1
- package/lib/cascader/Cascader.d.ts +8 -0
- package/lib/cascader/Cascader.vue.cjs +1 -1
- package/lib/cascader/Cascader.vue2.cjs +1 -1
- package/lib/cascader/index.d.ts +12 -0
- package/lib/checkbox/Checkbox.css +1 -1
- package/lib/checkbox/Checkbox.vue.cjs +1 -1
- package/lib/checkbox/Checkbox.vue2.cjs +1 -1
- package/lib/collapse/Collapse.css +1 -1
- package/lib/collapse/Collapse.vue.cjs +1 -1
- package/lib/collapse/Collapse.vue2.cjs +1 -1
- package/lib/colorpicker/ColorPicker.css +1 -1
- package/lib/colorpicker/ColorPicker.vue.cjs +1 -1
- package/lib/colorpicker/ColorPicker.vue2.cjs +8 -8
- package/lib/configprovider/ConfigProvider.vue.cjs +1 -1
- package/lib/countdown/Countdown.css +1 -1
- package/lib/countdown/Countdown.vue.cjs +1 -1
- package/lib/countdown/Countdown.vue2.cjs +1 -1
- package/lib/datepicker/DatePicker.css +1 -1
- package/lib/datepicker/DatePicker.vue.cjs +1 -1
- package/lib/datepicker/DatePicker.vue2.cjs +5 -5
- package/lib/descriptions/descriptions/Descriptions.css +1 -1
- package/lib/descriptions/descriptions/Descriptions.vue.cjs +1 -1
- package/lib/descriptions/descriptions/Descriptions.vue2.cjs +1 -1
- package/lib/descriptions/descriptionsitem/DescriptionsItem.css +1 -1
- package/lib/descriptions/descriptionsitem/DescriptionsItem.vue.cjs +1 -1
- package/lib/descriptions/descriptionsitem/DescriptionsItem.vue2.cjs +1 -1
- package/lib/dialog/Dialog.css +1 -1
- package/lib/dialog/Dialog.vue.cjs +1 -1
- package/lib/dialog/Dialog.vue2.cjs +1 -1
- package/lib/divider/Divider.css +1 -1
- package/lib/divider/Divider.vue.cjs +1 -1
- package/lib/divider/Divider.vue2.cjs +1 -1
- package/lib/drawer/Drawer.css +1 -1
- package/lib/drawer/Drawer.vue.cjs +1 -1
- package/lib/drawer/Drawer.vue2.cjs +1 -1
- package/lib/ellipsis/Ellipsis.css +1 -1
- package/lib/ellipsis/Ellipsis.vue.cjs +1 -1
- package/lib/ellipsis/Ellipsis.vue2.cjs +1 -1
- package/lib/empty/Empty.css +1 -1
- package/lib/empty/Empty.vue.cjs +1 -1
- package/lib/empty/Empty.vue2.cjs +1 -1
- package/lib/flex/Flex.css +1 -1
- package/lib/flex/Flex.vue.cjs +1 -1
- package/lib/flex/Flex.vue2.cjs +8 -8
- package/lib/floatbutton/FloatButton.css +1 -1
- package/lib/floatbutton/FloatButton.vue.cjs +1 -1
- package/lib/floatbutton/FloatButton.vue2.cjs +5 -5
- package/lib/gradienttext/GradientText.css +1 -1
- package/lib/gradienttext/GradientText.vue.cjs +1 -1
- package/lib/gradienttext/GradientText.vue2.cjs +1 -1
- package/lib/grid/col/Col.css +1 -1
- package/lib/grid/col/Col.vue.cjs +1 -1
- package/lib/grid/col/Col.vue2.cjs +1 -1
- package/lib/grid/row/Row.css +1 -1
- package/lib/grid/row/Row.vue.cjs +1 -1
- package/lib/grid/row/Row.vue2.cjs +1 -1
- package/lib/image/Image.css +1 -1
- package/lib/image/Image.vue.cjs +1 -1
- package/lib/image/Image.vue2.cjs +1 -1
- package/lib/input/Input.css +1 -1
- package/lib/input/Input.vue.cjs +1 -1
- package/lib/input/Input.vue2.cjs +5 -5
- package/lib/inputnumber/InputNumber.css +1 -1
- package/lib/inputnumber/InputNumber.vue.cjs +1 -1
- package/lib/inputnumber/InputNumber.vue2.cjs +6 -6
- package/lib/inputsearch/InputSearch.css +1 -1
- package/lib/inputsearch/InputSearch.vue.cjs +1 -1
- package/lib/inputsearch/InputSearch.vue2.cjs +2 -2
- package/lib/list/list/List.css +1 -1
- package/lib/list/list/List.vue.cjs +1 -1
- package/lib/list/list/List.vue2.cjs +1 -1
- package/lib/list/listitem/ListItem.css +1 -1
- package/lib/list/listitem/ListItem.vue.cjs +1 -1
- package/lib/list/listitem/ListItem.vue2.cjs +1 -1
- package/lib/loadingbar/LoadingBar.css +1 -1
- package/lib/loadingbar/LoadingBar.vue.cjs +1 -1
- package/lib/loadingbar/LoadingBar.vue2.cjs +3 -3
- package/lib/message/Message.css +1 -1
- package/lib/message/Message.vue.cjs +1 -1
- package/lib/message/Message.vue2.cjs +2 -2
- package/lib/modal/Modal.css +1 -1
- package/lib/modal/Modal.vue.cjs +1 -1
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-cards.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-creative.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-cube.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/effect-flip.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/navigation.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/pagination.css +1 -0
- package/lib/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/swiper.css +1 -0
- package/lib/notification/Notification.css +1 -1
- package/lib/notification/Notification.vue.cjs +1 -1
- package/lib/notification/Notification.vue2.cjs +2 -2
- package/lib/numberanimation/NumberAnimation.vue.cjs +1 -1
- package/lib/pagination/Pagination.css +1 -1
- package/lib/pagination/Pagination.vue.cjs +1 -1
- package/lib/pagination/Pagination.vue2.cjs +1 -1
- package/lib/popconfirm/Popconfirm.css +1 -1
- package/lib/popconfirm/Popconfirm.vue.cjs +1 -1
- package/lib/popconfirm/Popconfirm.vue2.cjs +2 -2
- package/lib/popover/Popover.css +1 -1
- package/lib/popover/Popover.vue.cjs +1 -1
- package/lib/popover/Popover.vue2.cjs +1 -1
- package/lib/progress/Progress.css +1 -1
- package/lib/progress/Progress.vue.cjs +1 -1
- package/lib/progress/Progress.vue2.cjs +9 -9
- package/lib/qrcode/QRCode.css +1 -1
- package/lib/qrcode/QRCode.vue.cjs +1 -1
- package/lib/qrcode/QRCode.vue2.cjs +1 -1
- package/lib/radio/Radio.css +1 -1
- package/lib/radio/Radio.vue.cjs +1 -1
- package/lib/radio/Radio.vue2.cjs +4 -4
- package/lib/rate/Rate.css +1 -1
- package/lib/rate/Rate.vue.cjs +1 -1
- package/lib/rate/Rate.vue2.cjs +1 -1
- package/lib/result/Result.css +1 -1
- package/lib/result/Result.vue.cjs +1 -1
- package/lib/result/Result.vue2.cjs +1 -1
- package/lib/scrollbar/Scrollbar.css +1 -1
- package/lib/scrollbar/Scrollbar.vue.cjs +1 -1
- package/lib/scrollbar/Scrollbar.vue2.cjs +5 -5
- package/lib/segmented/Segmented.css +1 -1
- package/lib/segmented/Segmented.vue.cjs +1 -1
- package/lib/segmented/Segmented.vue2.cjs +1 -1
- package/lib/select/Select.css +1 -1
- package/lib/select/Select.vue.cjs +1 -1
- package/lib/select/Select.vue2.cjs +4 -4
- package/lib/skeleton/Skeleton.css +1 -1
- package/lib/skeleton/Skeleton.vue.cjs +1 -1
- package/lib/skeleton/Skeleton.vue2.cjs +1 -1
- package/lib/slider/Slider.css +1 -1
- package/lib/slider/Slider.vue.cjs +1 -1
- package/lib/slider/Slider.vue2.cjs +7 -7
- package/lib/space/Space.css +1 -1
- package/lib/space/Space.vue.cjs +1 -1
- package/lib/space/Space.vue2.cjs +1 -1
- package/lib/spin/Spin.css +1 -1
- package/lib/spin/Spin.vue.cjs +1 -1
- package/lib/spin/Spin.vue2.cjs +5 -5
- package/lib/statistic/Statistic.css +1 -1
- package/lib/statistic/Statistic.vue.cjs +1 -1
- package/lib/statistic/Statistic.vue2.cjs +1 -1
- package/lib/steps/Steps.css +1 -1
- package/lib/steps/Steps.vue.cjs +1 -1
- package/lib/steps/Steps.vue2.cjs +3 -3
- package/lib/swiper/Swiper.css +1 -1
- package/lib/swiper/Swiper.vue.cjs +1 -1
- package/lib/swiper/Swiper.vue2.cjs +13 -13
- package/lib/switch/Switch.css +1 -1
- package/lib/switch/Switch.vue.cjs +1 -1
- package/lib/switch/Switch.vue2.cjs +5 -5
- package/lib/table/Table.css +1 -1
- package/lib/table/Table.vue.cjs +1 -1
- package/lib/table/Table.vue2.cjs +1 -1
- package/lib/tabs/Tabs.css +1 -1
- package/lib/tabs/Tabs.vue.cjs +1 -1
- package/lib/tabs/Tabs.vue2.cjs +1 -1
- package/lib/tag/Tag.css +1 -1
- package/lib/tag/Tag.vue.cjs +1 -1
- package/lib/tag/Tag.vue2.cjs +1 -1
- package/lib/textarea/Textarea.css +1 -1
- package/lib/textarea/Textarea.vue.cjs +1 -1
- package/lib/textarea/Textarea.vue2.cjs +4 -4
- package/lib/textscroll/TextScroll.css +1 -1
- package/lib/textscroll/TextScroll.vue.cjs +1 -1
- package/lib/textscroll/TextScroll.vue2.cjs +9 -9
- package/lib/timeline/Timeline.css +1 -1
- package/lib/timeline/Timeline.vue.cjs +1 -1
- package/lib/timeline/Timeline.vue2.cjs +1 -1
- package/lib/tooltip/Tooltip.css +1 -1
- package/lib/tooltip/Tooltip.vue.cjs +1 -1
- package/lib/tooltip/Tooltip.vue2.cjs +1 -1
- package/lib/upload/Upload.css +1 -1
- package/lib/upload/Upload.vue.cjs +1 -1
- package/lib/upload/Upload.vue2.cjs +1 -1
- package/lib/utils/resolver.cjs +1 -1
- package/lib/video/Video.css +1 -1
- package/lib/video/Video.vue.cjs +1 -1
- package/lib/video/Video.vue2.cjs +2 -2
- package/lib/waterfall/Waterfall.css +1 -1
- package/lib/waterfall/Waterfall.vue.cjs +1 -1
- package/lib/waterfall/Waterfall.vue2.cjs +4 -4
- package/package.json +21 -21
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cards.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-creative.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cube.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-flip.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/navigation.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/pagination.css +0 -1
- package/es/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cards.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-creative.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-cube.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/effect-flip.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/navigation.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/modules/pagination.css +0 -1
- package/lib/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper.css +0 -1
- /package/es/node_modules/.pnpm/{@vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_ → @vuepic_vue-datepicker@11.0.2_vue@3.5.22_typescript@5.9.3_}/node_modules/@vuepic/vue-datepicker/dist/main.css +0 -0
- /package/es/node_modules/.pnpm/{swiper@11.2.10 → swiper@12.0.2}/node_modules/swiper/modules/effect-fade.css +0 -0
- /package/lib/node_modules/.pnpm/{@vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_ → @vuepic_vue-datepicker@11.0.2_vue@3.5.22_typescript@5.9.3_}/node_modules/@vuepic/vue-datepicker/dist/main.css +0 -0
- /package/lib/node_modules/.pnpm/{swiper@11.2.10 → swiper@12.0.2}/node_modules/swiper/modules/effect-fade.css +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as S, ref as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as S, ref as r, computed as O, watchEffect as m, createElementBlock as D, openBlock as P, normalizeStyle as U, createVNode as v, unref as b } from "vue";
|
|
2
|
+
import y from "../select/index.js";
|
|
3
|
+
const E = /* @__PURE__ */ S({
|
|
4
4
|
__name: "Cascader",
|
|
5
5
|
props: {
|
|
6
6
|
options: { default: () => [] },
|
|
@@ -16,62 +16,66 @@ const L = /* @__PURE__ */ S({
|
|
|
16
16
|
changeOnSelect: { type: Boolean, default: !1 },
|
|
17
17
|
allowClear: { type: Boolean, default: !1 },
|
|
18
18
|
search: { type: Boolean, default: !1 },
|
|
19
|
+
placement: { default: "bottom" },
|
|
20
|
+
flip: { type: Boolean, default: !0 },
|
|
21
|
+
to: { type: [String, Boolean], default: "body" },
|
|
19
22
|
filter: { type: [Function, Boolean], default: !0 },
|
|
20
23
|
maxDisplay: { default: 6 },
|
|
24
|
+
scrollbarProps: { default: () => ({}) },
|
|
21
25
|
modelValue: { default: () => [] }
|
|
22
26
|
},
|
|
23
27
|
emits: ["update:modelValue", "change"],
|
|
24
|
-
setup(
|
|
25
|
-
const i =
|
|
26
|
-
const
|
|
28
|
+
setup(e, { emit: w }) {
|
|
29
|
+
const i = e, a = r([]), u = r([]), o = r([]), h = r([]), f = r([]), c = w, A = O(() => {
|
|
30
|
+
const l = {
|
|
27
31
|
small: 4,
|
|
28
32
|
middle: 6,
|
|
29
33
|
large: 8
|
|
30
34
|
};
|
|
31
|
-
return i.gap !== void 0 ? `${i.gap}px` : `${
|
|
35
|
+
return i.gap !== void 0 ? `${i.gap}px` : `${l[i.size]}px`;
|
|
32
36
|
});
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}),
|
|
36
|
-
|
|
37
|
-
}),
|
|
38
|
-
V(
|
|
37
|
+
m(() => {
|
|
38
|
+
o.value = [...i.options];
|
|
39
|
+
}), m(() => {
|
|
40
|
+
a.value = [...i.modelValue];
|
|
41
|
+
}), m(() => {
|
|
42
|
+
V(a.value), C(a.value);
|
|
39
43
|
});
|
|
40
|
-
function
|
|
41
|
-
const
|
|
42
|
-
for (let
|
|
43
|
-
if (
|
|
44
|
-
return
|
|
44
|
+
function g(l, t) {
|
|
45
|
+
const d = l.length;
|
|
46
|
+
for (let n = 0; n < d; n++)
|
|
47
|
+
if (l[n][i.value] === a.value[t])
|
|
48
|
+
return l[n][i.children] || [];
|
|
45
49
|
return [];
|
|
46
50
|
}
|
|
47
|
-
function V(
|
|
48
|
-
|
|
51
|
+
function V(l) {
|
|
52
|
+
h.value = g(o.value, 0), f.value = [], l.length > 1 && (f.value = g(h.value, 1));
|
|
49
53
|
}
|
|
50
|
-
function
|
|
51
|
-
const
|
|
52
|
-
for (let
|
|
53
|
-
if (
|
|
54
|
-
return
|
|
55
|
-
return
|
|
54
|
+
function s(l, t) {
|
|
55
|
+
const d = l.length;
|
|
56
|
+
for (let n = 0; n < d; n++)
|
|
57
|
+
if (l[n][i.value] === a.value[t])
|
|
58
|
+
return l[n][i.label];
|
|
59
|
+
return a.value[t];
|
|
56
60
|
}
|
|
57
|
-
function C(
|
|
58
|
-
|
|
61
|
+
function C(l) {
|
|
62
|
+
u.value[0] = s(o.value, 0), l.length > 1 && (u.value[1] = s(h.value, 1)), l.length > 2 && (u.value[2] = s(f.value, 2));
|
|
59
63
|
}
|
|
60
|
-
function
|
|
61
|
-
i.changeOnSelect ? (
|
|
64
|
+
function x(l, t) {
|
|
65
|
+
i.changeOnSelect ? (c("update:modelValue", [l]), c("change", [l], [t])) : (a.value = [l], u.value = [t]);
|
|
62
66
|
}
|
|
63
|
-
function
|
|
64
|
-
i.changeOnSelect ? (
|
|
67
|
+
function z(l, t) {
|
|
68
|
+
i.changeOnSelect ? (c("update:modelValue", [a.value[0], l]), c("change", [a.value[0], l], [u.value[0], t])) : (a.value = [a.value[0], l], u.value = [u.value[0], t]);
|
|
65
69
|
}
|
|
66
|
-
function
|
|
67
|
-
|
|
70
|
+
function B(l, t) {
|
|
71
|
+
c("update:modelValue", [...a.value.slice(0, 2), l]), c("change", [...a.value.slice(0, 2), l], [...u.value.slice(0, 2), t]);
|
|
68
72
|
}
|
|
69
|
-
return (
|
|
73
|
+
return (l, t) => (P(), D("div", {
|
|
70
74
|
class: "cascader-wrap",
|
|
71
|
-
style:
|
|
75
|
+
style: U(`--cascader-select-gap: ${A.value};`)
|
|
72
76
|
}, [
|
|
73
|
-
v(
|
|
74
|
-
options:
|
|
77
|
+
v(b(y), {
|
|
78
|
+
options: o.value,
|
|
75
79
|
label: e.label,
|
|
76
80
|
value: e.value,
|
|
77
81
|
placeholder: Array.isArray(e.placeholder) ? e.placeholder[0] : e.placeholder,
|
|
@@ -81,14 +85,18 @@ const L = /* @__PURE__ */ S({
|
|
|
81
85
|
size: e.size,
|
|
82
86
|
"allow-clear": e.allowClear,
|
|
83
87
|
search: e.search,
|
|
88
|
+
placement: e.placement,
|
|
89
|
+
flip: e.flip,
|
|
90
|
+
to: e.to,
|
|
84
91
|
filter: e.filter,
|
|
85
92
|
"max-display": e.maxDisplay,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
93
|
+
"scrollbar-props": e.scrollbarProps,
|
|
94
|
+
modelValue: a.value[0],
|
|
95
|
+
"onUpdate:modelValue": t[0] || (t[0] = (d) => a.value[0] = d),
|
|
96
|
+
onChange: x
|
|
97
|
+
}, null, 8, ["options", "label", "value", "placeholder", "disabled", "width", "height", "size", "allow-clear", "search", "placement", "flip", "to", "filter", "max-display", "scrollbar-props", "modelValue"]),
|
|
98
|
+
v(b(y), {
|
|
99
|
+
options: h.value,
|
|
92
100
|
label: e.label,
|
|
93
101
|
value: e.value,
|
|
94
102
|
placeholder: Array.isArray(e.placeholder) ? e.placeholder[1] : e.placeholder,
|
|
@@ -98,14 +106,18 @@ const L = /* @__PURE__ */ S({
|
|
|
98
106
|
size: e.size,
|
|
99
107
|
"allow-clear": e.allowClear,
|
|
100
108
|
search: e.search,
|
|
109
|
+
placement: e.placement,
|
|
110
|
+
flip: e.flip,
|
|
111
|
+
to: e.to,
|
|
101
112
|
filter: e.filter,
|
|
102
113
|
"max-display": e.maxDisplay,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
114
|
+
"scrollbar-props": e.scrollbarProps,
|
|
115
|
+
modelValue: a.value[1],
|
|
116
|
+
"onUpdate:modelValue": t[1] || (t[1] = (d) => a.value[1] = d),
|
|
117
|
+
onChange: z
|
|
118
|
+
}, null, 8, ["options", "label", "value", "placeholder", "disabled", "width", "height", "size", "allow-clear", "search", "placement", "flip", "to", "filter", "max-display", "scrollbar-props", "modelValue"]),
|
|
119
|
+
v(b(y), {
|
|
120
|
+
options: f.value,
|
|
109
121
|
label: e.label,
|
|
110
122
|
value: e.value,
|
|
111
123
|
placeholder: Array.isArray(e.placeholder) ? e.placeholder[2] : e.placeholder,
|
|
@@ -115,15 +127,19 @@ const L = /* @__PURE__ */ S({
|
|
|
115
127
|
size: e.size,
|
|
116
128
|
"allow-clear": e.allowClear,
|
|
117
129
|
search: e.search,
|
|
130
|
+
placement: e.placement,
|
|
131
|
+
flip: e.flip,
|
|
132
|
+
to: e.to,
|
|
118
133
|
filter: e.filter,
|
|
119
134
|
"max-display": e.maxDisplay,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
135
|
+
"scrollbar-props": e.scrollbarProps,
|
|
136
|
+
modelValue: a.value[2],
|
|
137
|
+
"onUpdate:modelValue": t[2] || (t[2] = (d) => a.value[2] = d),
|
|
138
|
+
onChange: B
|
|
139
|
+
}, null, 8, ["options", "label", "value", "placeholder", "disabled", "width", "height", "size", "allow-clear", "search", "placement", "flip", "to", "filter", "max-display", "scrollbar-props", "modelValue"])
|
|
124
140
|
], 4));
|
|
125
141
|
}
|
|
126
142
|
});
|
|
127
143
|
export {
|
|
128
|
-
|
|
144
|
+
E as default
|
|
129
145
|
};
|
package/es/cascader/index.d.ts
CHANGED
|
@@ -15,12 +15,16 @@ declare const _default: {
|
|
|
15
15
|
placeholder: string | string[];
|
|
16
16
|
width: "auto" | number | number[];
|
|
17
17
|
height: number;
|
|
18
|
+
placement: "bottom" | "top";
|
|
19
|
+
flip: boolean;
|
|
20
|
+
to: string | HTMLElement | false;
|
|
18
21
|
disabled: boolean | boolean[];
|
|
19
22
|
value: string;
|
|
20
23
|
gap: number;
|
|
21
24
|
options: import('./Cascader').Option[];
|
|
22
25
|
allowClear: boolean;
|
|
23
26
|
maxDisplay: number;
|
|
27
|
+
scrollbarProps: object;
|
|
24
28
|
modelValue: number[] | string[];
|
|
25
29
|
changeOnSelect: boolean;
|
|
26
30
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
@@ -42,12 +46,16 @@ declare const _default: {
|
|
|
42
46
|
placeholder: string | string[];
|
|
43
47
|
width: "auto" | number | number[];
|
|
44
48
|
height: number;
|
|
49
|
+
placement: "bottom" | "top";
|
|
50
|
+
flip: boolean;
|
|
51
|
+
to: string | HTMLElement | false;
|
|
45
52
|
disabled: boolean | boolean[];
|
|
46
53
|
value: string;
|
|
47
54
|
gap: number;
|
|
48
55
|
options: import('./Cascader').Option[];
|
|
49
56
|
allowClear: boolean;
|
|
50
57
|
maxDisplay: number;
|
|
58
|
+
scrollbarProps: object;
|
|
51
59
|
modelValue: number[] | string[];
|
|
52
60
|
changeOnSelect: boolean;
|
|
53
61
|
}>;
|
|
@@ -69,12 +77,16 @@ declare const _default: {
|
|
|
69
77
|
placeholder: string | string[];
|
|
70
78
|
width: "auto" | number | number[];
|
|
71
79
|
height: number;
|
|
80
|
+
placement: "bottom" | "top";
|
|
81
|
+
flip: boolean;
|
|
82
|
+
to: string | HTMLElement | false;
|
|
72
83
|
disabled: boolean | boolean[];
|
|
73
84
|
value: string;
|
|
74
85
|
gap: number;
|
|
75
86
|
options: import('./Cascader').Option[];
|
|
76
87
|
allowClear: boolean;
|
|
77
88
|
maxDisplay: number;
|
|
89
|
+
scrollbarProps: object;
|
|
78
90
|
modelValue: number[] | string[];
|
|
79
91
|
changeOnSelect: boolean;
|
|
80
92
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
package/es/checkbox/Checkbox.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.checkbox-wrap[data-v-
|
|
1
|
+
.checkbox-wrap[data-v-d105a368]{display:inline-flex;flex-wrap:wrap;gap:var(--checkbox-gap)}.checkbox-vertical[data-v-d105a368]{flex-direction:column;flex-wrap:nowrap}.checkbox-container[data-v-d105a368]{display:inline-flex;align-items:baseline;cursor:pointer;color:#000000e0;font-size:14px;line-height:1.57142857}.checkbox-container:not(.checkbox-disabled):hover .checkbox-box[data-v-d105a368]{border-color:var(--checkbox-primary-color)}.checkbox-container .checkbox-box[data-v-d105a368]{flex-shrink:0;align-self:center;position:relative;width:16px;height:16px;background:transparent;border:1px solid #d9d9d9;border-radius:4px;transition:all .3s}.checkbox-container .checkbox-box[data-v-d105a368]:after{position:absolute;top:50%;left:21.5%;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;content:"";transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s}.checkbox-container .checkbox-box .checkbox-wave[data-v-d105a368]{position:absolute;pointer-events:none;inset:0;animation-iteration-count:1;animation-duration:.6s;animation-timing-function:cubic-bezier(0,0,.2,1),cubic-bezier(0,0,.2,1);border-radius:inherit}.checkbox-container .checkbox-box .wave-active[data-v-d105a368]{z-index:1;animation-name:waveSpread-d105a368,waveOpacity-d105a368}@keyframes waveSpread-d105a368{0%{box-shadow:0 0 .5px 0 var(--checkbox-primary-color)}to{box-shadow:0 0 .5px 5px var(--checkbox-primary-color)}}@keyframes waveOpacity-d105a368{0%{opacity:.6}to{opacity:0}}.checkbox-container .checkbox-checked[data-v-d105a368]{background-color:var(--checkbox-primary-color);border-color:var(--checkbox-primary-color)}.checkbox-container .checkbox-checked[data-v-d105a368]:after{opacity:1;transform:rotate(45deg) scale(1) translate(-50%,-50%);transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s}.checkbox-container .checkbox-indeterminate[data-v-d105a368]:after{top:50%;left:50%;width:8px;height:8px;background-color:var(--checkbox-primary-color);border:0;transform:translate(-50%,-50%) scale(1);opacity:1}.checkbox-container .checkbox-label[data-v-d105a368]{word-break:break-all;padding:0 8px}.checkbox-disabled[data-v-d105a368]{color:#00000040;cursor:not-allowed}.checkbox-disabled .checkbox-box[data-v-d105a368]{border-color:#d9d9d9;background-color:#0000000a}.checkbox-disabled .checkbox-box[data-v-d105a368]:after{border-color:#00000040;animation-name:none}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Checkbox.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d105a368"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as j, ref as
|
|
2
|
-
import { useInject as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as j, ref as f, computed as y, watchEffect as g, createElementBlock as o, openBlock as u, mergeProps as $, unref as h, Fragment as z, renderList as F, normalizeClass as v, createElementVNode as b, createCommentVNode as m, renderSlot as C, createTextVNode as I, toDisplayString as L, nextTick as w } from "vue";
|
|
2
|
+
import { useInject as q, useSlotsExist as G } from "../utils/index.js";
|
|
3
|
+
const H = ["onClick"], J = ["onAnimationend"], K = { class: "checkbox-label" }, M = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "checkbox-label"
|
|
6
|
-
},
|
|
6
|
+
}, U = /* @__PURE__ */ j({
|
|
7
7
|
__name: "Checkbox",
|
|
8
8
|
props: {
|
|
9
9
|
options: { default: () => [] },
|
|
@@ -15,97 +15,97 @@ const G = ["onClick"], H = ["onAnimationend"], J = { class: "checkbox-label" },
|
|
|
15
15
|
checked: { type: Boolean, default: !1 }
|
|
16
16
|
},
|
|
17
17
|
emits: ["update:value", "update:checked", "change"],
|
|
18
|
-
setup(
|
|
19
|
-
const t =
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}),
|
|
23
|
-
|
|
18
|
+
setup(c, { emit: V }) {
|
|
19
|
+
const t = c, i = f(!1), s = f([]), d = f(!1), n = f([]), { colorPalettes: p } = q("Checkbox"), r = V, E = G(["default"]), A = y(() => t.options.length), B = y(() => !t.vertical && Array.isArray(t.gap) ? `${t.gap[1]}px ${t.gap[0]}px` : `${t.gap}px`);
|
|
20
|
+
g(() => {
|
|
21
|
+
i.value = t.checked;
|
|
22
|
+
}), g(() => {
|
|
23
|
+
s.value = t.value;
|
|
24
24
|
});
|
|
25
|
-
function
|
|
25
|
+
function k(e) {
|
|
26
26
|
return e === void 0 ? t.disabled : e;
|
|
27
27
|
}
|
|
28
28
|
function W() {
|
|
29
|
-
O(),
|
|
29
|
+
O(), i.value = !i.value, r("update:checked", i.value), r("change", i.value);
|
|
30
30
|
}
|
|
31
31
|
function N(e) {
|
|
32
|
-
if (D(e),
|
|
33
|
-
const a =
|
|
34
|
-
|
|
32
|
+
if (D(e), s.value.includes(e)) {
|
|
33
|
+
const a = s.value.filter((l) => l !== e);
|
|
34
|
+
s.value = a, r("update:value", a), r("change", a);
|
|
35
35
|
} else {
|
|
36
|
-
const a = [...
|
|
37
|
-
|
|
36
|
+
const a = [...s.value, e];
|
|
37
|
+
s.value = a, r("update:value", a), r("change", a);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
function O() {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
})) :
|
|
41
|
+
d.value ? (d.value = !1, w(() => {
|
|
42
|
+
d.value = !0;
|
|
43
|
+
})) : d.value = !0;
|
|
44
44
|
}
|
|
45
45
|
function S() {
|
|
46
|
-
|
|
46
|
+
d.value = !1;
|
|
47
47
|
}
|
|
48
48
|
function D(e) {
|
|
49
|
-
n.value.includes(e) ? (n.value = n.value.filter((a) => a !== e),
|
|
49
|
+
n.value.includes(e) ? (n.value = n.value.filter((a) => a !== e), w(() => {
|
|
50
50
|
n.value.push(e);
|
|
51
51
|
})) : n.value.push(e);
|
|
52
52
|
}
|
|
53
53
|
function P(e) {
|
|
54
54
|
n.value = n.value.filter((a) => a !== e);
|
|
55
55
|
}
|
|
56
|
-
return (e, a) => A.value ? (
|
|
56
|
+
return (e, a) => A.value ? (u(), o("div", $({
|
|
57
57
|
key: 0,
|
|
58
|
-
class: ["checkbox-wrap", { "checkbox-vertical":
|
|
59
|
-
style: `--checkbox-gap: ${B.value}; --checkbox-primary-color: ${
|
|
58
|
+
class: ["checkbox-wrap", { "checkbox-vertical": c.vertical }],
|
|
59
|
+
style: `--checkbox-gap: ${B.value}; --checkbox-primary-color: ${h(p)[5]};`
|
|
60
60
|
}, e.$attrs), [
|
|
61
|
-
(
|
|
62
|
-
class:
|
|
63
|
-
key:
|
|
64
|
-
onClick: (T) =>
|
|
61
|
+
(u(!0), o(z, null, F(c.options, (l, x) => (u(), o("div", {
|
|
62
|
+
class: v(["checkbox-container", { "checkbox-disabled": k(l.disabled) }]),
|
|
63
|
+
key: x,
|
|
64
|
+
onClick: (T) => k(l.disabled) ? () => !1 : N(l.value)
|
|
65
65
|
}, [
|
|
66
|
-
|
|
67
|
-
class:
|
|
66
|
+
b("span", {
|
|
67
|
+
class: v(["checkbox-box", { "checkbox-checked": s.value.includes(l.value) }])
|
|
68
68
|
}, [
|
|
69
|
-
|
|
69
|
+
k(l.disabled) ? m("", !0) : (u(), o("span", {
|
|
70
70
|
key: 0,
|
|
71
|
-
class:
|
|
71
|
+
class: v(["checkbox-wave", { "wave-active": n.value.includes(l.value) }]),
|
|
72
72
|
onAnimationend: (T) => P(l.value)
|
|
73
|
-
}, null, 42,
|
|
73
|
+
}, null, 42, J))
|
|
74
74
|
], 2),
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
b("span", K, [
|
|
76
|
+
C(e.$slots, "default", {
|
|
77
77
|
option: l,
|
|
78
78
|
label: l.label,
|
|
79
|
-
index:
|
|
79
|
+
index: x
|
|
80
80
|
}, () => [
|
|
81
81
|
I(L(l.label), 1)
|
|
82
82
|
], !0)
|
|
83
83
|
])
|
|
84
|
-
], 10,
|
|
85
|
-
], 16)) : (
|
|
84
|
+
], 10, H))), 128))
|
|
85
|
+
], 16)) : (u(), o("div", $({
|
|
86
86
|
key: 1,
|
|
87
|
-
class: ["checkbox-container", { "checkbox-disabled":
|
|
88
|
-
style: `--checkbox-primary-color: ${
|
|
89
|
-
onClick: a[0] || (a[0] = (l) =>
|
|
87
|
+
class: ["checkbox-container", { "checkbox-disabled": c.disabled }],
|
|
88
|
+
style: `--checkbox-primary-color: ${h(p)[5]};`,
|
|
89
|
+
onClick: a[0] || (a[0] = (l) => c.disabled ? () => !1 : W())
|
|
90
90
|
}, e.$attrs), [
|
|
91
|
-
|
|
92
|
-
class:
|
|
93
|
-
"checkbox-checked":
|
|
94
|
-
"checkbox-indeterminate":
|
|
91
|
+
b("span", {
|
|
92
|
+
class: v(["checkbox-box", {
|
|
93
|
+
"checkbox-checked": i.value && !c.indeterminate,
|
|
94
|
+
"checkbox-indeterminate": c.indeterminate
|
|
95
95
|
}])
|
|
96
96
|
}, [
|
|
97
|
-
|
|
97
|
+
c.disabled ? m("", !0) : (u(), o("span", {
|
|
98
98
|
key: 0,
|
|
99
|
-
class:
|
|
99
|
+
class: v(["checkbox-wave", { "wave-active": d.value }]),
|
|
100
100
|
onAnimationend: S
|
|
101
101
|
}, null, 34))
|
|
102
102
|
], 2),
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
])) :
|
|
103
|
+
h(E).default ? (u(), o("span", M, [
|
|
104
|
+
C(e.$slots, "default", {}, void 0, !0)
|
|
105
|
+
])) : m("", !0)
|
|
106
106
|
], 16));
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
109
|
export {
|
|
110
|
-
|
|
110
|
+
U as default
|
|
111
111
|
};
|
package/es/collapse/Collapse.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.collapse-enter-active[data-v-
|
|
1
|
+
.collapse-enter-active[data-v-4e88124a],.collapse-leave-active[data-v-4e88124a]{overflow:hidden;transition:height .2s cubic-bezier(.645,.045,.355,1),opacity .2s cubic-bezier(.645,.045,.355,1)}.collapse-enter-from[data-v-4e88124a],.collapse-leave-to[data-v-4e88124a]{height:0!important;opacity:0!important}.collapse-wrap[data-v-4e88124a]{font-size:14px;color:#000000e0;line-height:1.57142857;background-color:#00000005;border:1px solid #d9d9d9;border-bottom:0;border-radius:8px}.collapse-wrap .collapse-item[data-v-4e88124a]{border-bottom:1px solid #d9d9d9}.collapse-wrap .collapse-item[data-v-4e88124a]:first-child,.collapse-wrap .collapse-item:first-child .collapse-header-wrap[data-v-4e88124a]{border-radius:8px 8px 0 0}.collapse-wrap .collapse-item[data-v-4e88124a]:last-child{border-radius:0 0 8px 8px}.collapse-wrap .collapse-item:last-child .collapse-header-wrap[data-v-4e88124a],.collapse-wrap .collapse-item:last-child .collapse-content-wrap[data-v-4e88124a]{border-radius:0 0 8px 8px}.collapse-wrap .collapse-item .collapse-header-wrap[data-v-4e88124a]{position:relative;display:flex;flex-wrap:nowrap;align-items:flex-start;padding:12px 16px;color:#000000e0;line-height:1.57142857;cursor:pointer;transition:all .3s}.collapse-wrap .collapse-item .collapse-header-wrap[data-v-4e88124a]:focus{outline:none}.collapse-wrap .collapse-item .collapse-header-wrap .collapse-arrow[data-v-4e88124a]{font-size:12px;height:22px;display:flex;align-items:center}.collapse-wrap .collapse-item .collapse-header-wrap .collapse-arrow[data-v-4e88124a] .arrow-svg{transition:transform .3s}.collapse-wrap .collapse-item .collapse-header-wrap .collapse-arrow[data-v-4e88124a] .arrow-rotate{transform:rotate(90deg)}.collapse-wrap .collapse-item .collapse-header-wrap .collapse-arrow[data-v-4e88124a] svg{fill:currentColor;transition:transform .3s}.collapse-wrap .collapse-item .collapse-header-wrap .collapse-header[data-v-4e88124a]{flex:auto;margin-right:auto;display:inline-block}.collapse-wrap .collapse-item .collapse-header-wrap .collapse-extra[data-v-4e88124a]{display:flex;align-items:center}.collapse-wrap .collapse-item .collapse-header-wrap .collapse-extra[data-v-4e88124a] svg{fill:currentColor}.collapse-wrap .collapse-item .collapse-header-no-arrow[data-v-4e88124a]{padding-left:12px}.collapse-wrap .collapse-item .collapse-content-wrap[data-v-4e88124a]{position:relative;color:#000000e0;background-color:#fff;border-top:1px solid #d9d9d9}.collapse-wrap .collapse-item .collapse-content-wrap .collapse-lang[data-v-4e88124a]{position:absolute;right:10px;top:6px;font-size:14px;color:#00000061;opacity:1;transition:opacity .3s}.collapse-wrap .collapse-item .collapse-content-wrap .collapse-copy[data-v-4e88124a]{position:absolute;right:8px;top:8px;opacity:0;pointer-events:none;transition:opacity .3s}.collapse-wrap .collapse-item .collapse-content-wrap .collapse-content[data-v-4e88124a]{padding:16px;white-space:pre-wrap}.collapse-wrap .collapse-item .collapse-copyable:hover .collapse-lang[data-v-4e88124a]{opacity:0;pointer-events:none}.collapse-wrap .collapse-item .collapse-copyable:hover .collapse-copy[data-v-4e88124a]{opacity:1;pointer-events:auto}.collapse-wrap .collapse-arrow-left .collapse-header-wrap .collapse-arrow[data-v-4e88124a]{padding-right:12px}.collapse-wrap .collapse-arrow-right .collapse-header-wrap .collapse-arrow[data-v-4e88124a]{order:1;padding-left:12px}.collapse-wrap .collapse-item-disabled .collapse-header-wrap[data-v-4e88124a]{color:#00000040;cursor:not-allowed}.collapse-borderless[data-v-4e88124a]{background-color:#00000005;border:0}.collapse-borderless .collapse-item[data-v-4e88124a]:last-child{border-bottom:0}.collapse-borderless .collapse-item:last-child .collapse-header-wrap[data-v-4e88124a]{border-radius:0}.collapse-borderless .collapse-item .collapse-content-wrap[data-v-4e88124a]{background-color:transparent;border-top:0}.collapse-ghost[data-v-4e88124a]{background-color:transparent;border:0}.collapse-ghost .collapse-item[data-v-4e88124a]{border-bottom:0}.collapse-ghost .collapse-item .collapse-content-wrap[data-v-4e88124a]{background-color:transparent;border:0}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Collapse.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4e88124a"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|