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/input/Input.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.input-wrap[data-v-
|
|
1
|
+
.input-wrap[data-v-07f770b6]{width:var(--input-width);text-align:start;vertical-align:top;position:relative;display:inline-table;border-collapse:separate;border-spacing:0}.input-wrap .input-addon[data-v-07f770b6]{position:relative;padding:0 11px;color:#000000e0;font-weight:400;font-size:14px;text-align:center;background-color:#00000005;border:1px solid #d9d9d9;border-radius:6px;line-height:1;display:table-cell;width:1px;white-space:nowrap;vertical-align:middle;transition:all .3s}.input-wrap .input-addon[data-v-07f770b6] svg{fill:currentColor}.input-wrap .addon-before[data-v-07f770b6]{border-top-right-radius:0;border-bottom-right-radius:0;border-right:0}.input-wrap .addon-after[data-v-07f770b6]{border-top-left-radius:0;border-bottom-left-radius:0;border-left:0}.input-wrap .input-container[data-v-07f770b6]{font-size:14px;color:#000000e0;line-height:1.57142857;position:relative;display:inline-flex;vertical-align:top;width:100%;min-width:0;background-color:#fff}.input-wrap .input-container .input-border[data-v-07f770b6]{position:absolute;inset:0;pointer-events:none;border-radius:inherit;border:1px solid #d9d9d9}.input-wrap .input-container .input-border-state[data-v-07f770b6]{position:absolute;z-index:1;inset:0;pointer-events:none;border-radius:inherit;border:1px solid #d9d9d9;border-color:#0000;transition:all .2s}.input-wrap .input-container .input-hover[data-v-07f770b6]{border:1px solid var(--input-primary-color-hover)}.input-wrap .input-container .input-focus[data-v-07f770b6]{border:1px solid var(--input-primary-color-focus);box-shadow:0 0 0 2px var(--input-primary-shadow-color)}.input-wrap .input-container .input-prefix[data-v-07f770b6]{margin-right:4px;display:inline-flex;flex:none;align-items:center}.input-wrap .input-container .input-prefix[data-v-07f770b6] svg{fill:currentColor}.input-wrap .input-container .input-item[data-v-07f770b6]{font-size:14px;color:#000000e0;line-height:1.57142857;position:relative;display:inline-block;width:100%;min-width:0;background-color:#fff;border:none;outline:none;text-overflow:ellipsis;transition:all .2s}.input-wrap .input-container input[data-v-07f770b6]::-webkit-input-placeholder{color:#00000040}.input-wrap .input-container input[data-v-07f770b6]:-moz-placeholder{color:#00000040}.input-wrap .input-container input[data-v-07f770b6]::-moz-placeholder{color:#00000040}.input-wrap .input-container input[data-v-07f770b6]:-ms-input-placeholder{color:#00000040}.input-wrap .input-container .input-suffix[data-v-07f770b6]{margin-left:4px;display:inline-flex;flex:none;gap:8px;align-items:center}.input-wrap .input-container .input-suffix .input-actions[data-v-07f770b6]{display:inline-flex;align-items:center;cursor:pointer}.input-wrap .input-container .input-suffix .input-actions .clear-svg[data-v-07f770b6]{display:inline-block;font-size:12px;color:#00000040;fill:currentColor;transition:color .3s}.input-wrap .input-container .input-suffix .input-actions .clear-svg[data-v-07f770b6]:hover{color:#00000073}.input-wrap .input-container .input-suffix .input-actions .eye-svg[data-v-07f770b6]{display:inline-block;font-size:14px;color:#00000073;fill:currentColor;transition:color .3s}.input-wrap .input-container .input-suffix .input-actions .eye-svg[data-v-07f770b6]:hover{color:#000000d9}.input-wrap .input-container .input-suffix .clear-hidden[data-v-07f770b6]{visibility:hidden}.input-wrap .input-container .input-suffix .input-count[data-v-07f770b6]{color:#00000073}.input-wrap .input-container .input-suffix .suffix-item[data-v-07f770b6]{display:flex;flex:none;align-items:center}.input-wrap .input-container .input-suffix .suffix-item[data-v-07f770b6] svg{fill:currentColor}.input-wrap .input-small[data-v-07f770b6]{padding:1px 7px;border-radius:4px}.input-wrap .input-middle[data-v-07f770b6]{padding:5px 11px;border-radius:6px}.input-wrap .input-large[data-v-07f770b6]{padding:8px 11px;font-size:16px;line-height:1.5;border-radius:8px}.input-wrap .input-large .input-item[data-v-07f770b6]{font-size:16px;line-height:1.5}.input-wrap .input-before[data-v-07f770b6]{border-top-left-radius:0;border-bottom-left-radius:0}.input-wrap .input-after[data-v-07f770b6]{border-top-right-radius:0;border-bottom-right-radius:0}.input-wrap .input-disabled[data-v-07f770b6]{color:#00000040;background-color:#0000000a;cursor:not-allowed}.input-wrap .input-disabled .input-hover[data-v-07f770b6]{border-color:#d9d9d9}.input-wrap .input-disabled .input-focus[data-v-07f770b6]{border-color:#d9d9d9;box-shadow:none}.input-wrap .input-disabled .input-item[data-v-07f770b6]{color:#00000040;background-color:transparent;cursor:not-allowed}
|
package/es/input/Input.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Input.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-07f770b6"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
package/es/input/Input.vue2.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as O, ref as
|
|
1
|
+
import { defineComponent as O, ref as f, computed as s, watch as U, createElementBlock as o, openBlock as l, normalizeStyle as X, unref as z, createCommentVNode as d, createElementVNode as i, normalizeClass as v, renderSlot as w, createTextVNode as g, toDisplayString as p, withKeys as Y, withModifiers as Z, withDirectives as L, vShow as S } from "vue";
|
|
2
2
|
import { useInject as _, useSlotsExist as ee } from "../utils/index.js";
|
|
3
3
|
const te = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "input-prefix"
|
|
6
|
-
}, ae = ["type", "value", "placeholder", "maxlength", "disabled", "onKeydown"],
|
|
6
|
+
}, ae = ["type", "value", "placeholder", "maxlength", "disabled", "onKeydown"], ne = {
|
|
7
7
|
key: 1,
|
|
8
8
|
class: "input-suffix"
|
|
9
|
-
},
|
|
9
|
+
}, oe = {
|
|
10
10
|
class: "eye-svg",
|
|
11
11
|
focusable: "false",
|
|
12
12
|
"data-icon": "eye",
|
|
@@ -24,10 +24,10 @@ const te = {
|
|
|
24
24
|
fill: "currentColor",
|
|
25
25
|
"aria-hidden": "true",
|
|
26
26
|
viewBox: "64 64 896 896"
|
|
27
|
-
},
|
|
27
|
+
}, ue = {
|
|
28
28
|
key: 2,
|
|
29
29
|
class: "input-count"
|
|
30
|
-
},
|
|
30
|
+
}, se = {
|
|
31
31
|
key: 3,
|
|
32
32
|
class: "suffix-item"
|
|
33
33
|
}, de = /* @__PURE__ */ O({
|
|
@@ -49,22 +49,22 @@ const te = {
|
|
|
49
49
|
valueModifiers: { default: () => ({}) }
|
|
50
50
|
},
|
|
51
51
|
emits: ["update:value", "compositionstart", "compositionend", "change", "enter"],
|
|
52
|
-
setup(
|
|
53
|
-
const a =
|
|
52
|
+
setup(n, { emit: A }) {
|
|
53
|
+
const a = n, B = f(null), x = f(!1), y = f(!1), h = f(!1), u = f(), c = f(!1), { colorPalettes: k, shadowColor: I } = _("Input"), r = A, m = ee(["prefix", "suffix", "addonBefore", "addonAfter"]), q = s(() => typeof a.width == "number" ? `${a.width}px` : a.width), E = s(() => !a.disabled && a.allowClear), N = s(() => a.maxlength ? `${u.value ? u.value.length : 0} / ${a.maxlength}` : u.value ? u.value.length : 0), P = s(() => m.prefix || a.prefix), M = s(() => m.suffix || a.suffix), V = s(() => E.value || a.password || a.showCount || M.value), C = s(() => m.addonBefore || a.addonBefore), b = s(() => m.addonAfter || a.addonAfter), $ = s(() => "lazy" in a.valueModifiers);
|
|
54
54
|
U(
|
|
55
55
|
() => a.value,
|
|
56
56
|
(e) => {
|
|
57
|
-
|
|
57
|
+
u.value !== e && (u.value = e);
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
immediate: !0
|
|
61
61
|
}
|
|
62
62
|
);
|
|
63
63
|
function K() {
|
|
64
|
-
|
|
64
|
+
x.value = !0;
|
|
65
65
|
}
|
|
66
66
|
function Q() {
|
|
67
|
-
|
|
67
|
+
x.value = !1;
|
|
68
68
|
}
|
|
69
69
|
function D() {
|
|
70
70
|
y.value = !0;
|
|
@@ -73,83 +73,83 @@ const te = {
|
|
|
73
73
|
y.value = !1;
|
|
74
74
|
}
|
|
75
75
|
function R(e) {
|
|
76
|
-
|
|
76
|
+
h.value = !0, r("compositionstart", e);
|
|
77
77
|
}
|
|
78
78
|
function W(e) {
|
|
79
|
-
|
|
79
|
+
h.value = !1, r("compositionend", e);
|
|
80
80
|
const t = new Event("change");
|
|
81
81
|
e.target?.dispatchEvent(t);
|
|
82
82
|
}
|
|
83
83
|
function j(e) {
|
|
84
|
-
if (!
|
|
84
|
+
if (!h.value) {
|
|
85
85
|
const t = e.target;
|
|
86
|
-
|
|
86
|
+
u.value = t.value, $.value || (r("update:value", t.value), r("change", e));
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
function H(e) {
|
|
90
90
|
const t = e.target;
|
|
91
|
-
t.value !== a.value && (
|
|
91
|
+
t.value !== a.value && (r("update:value", t.value), r("change", e));
|
|
92
92
|
}
|
|
93
93
|
function T(e) {
|
|
94
|
-
if (!
|
|
94
|
+
if (!h.value && (r("enter", e), $.value)) {
|
|
95
95
|
const t = new Event("change");
|
|
96
96
|
e.target?.dispatchEvent(t);
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
function G() {
|
|
100
|
-
|
|
100
|
+
u.value = "", r("update:value", ""), B.value?.focus();
|
|
101
101
|
}
|
|
102
102
|
function J() {
|
|
103
|
-
|
|
103
|
+
c.value = !c.value;
|
|
104
104
|
}
|
|
105
|
-
return (e, t) => (
|
|
105
|
+
return (e, t) => (l(), o("div", {
|
|
106
106
|
class: "input-wrap",
|
|
107
107
|
style: X(`
|
|
108
108
|
--input-width: ${q.value};
|
|
109
|
-
--input-primary-color-hover: ${
|
|
110
|
-
--input-primary-color-focus: ${
|
|
111
|
-
--input-primary-shadow-color: ${
|
|
109
|
+
--input-primary-color-hover: ${z(k)[4]};
|
|
110
|
+
--input-primary-color-focus: ${z(k)[4]};
|
|
111
|
+
--input-primary-shadow-color: ${z(I)};
|
|
112
112
|
`)
|
|
113
113
|
}, [
|
|
114
|
-
C.value ? (
|
|
114
|
+
C.value ? (l(), o("span", {
|
|
115
115
|
key: 0,
|
|
116
|
-
class:
|
|
116
|
+
class: v(["input-addon", { "addon-before": C.value }])
|
|
117
117
|
}, [
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
w(e.$slots, "addonBefore", {}, () => [
|
|
119
|
+
g(p(n.addonBefore), 1)
|
|
120
120
|
], !0)
|
|
121
|
-
], 2)) :
|
|
122
|
-
|
|
121
|
+
], 2)) : d("", !0),
|
|
122
|
+
i("div", {
|
|
123
123
|
tabindex: "1",
|
|
124
|
-
class:
|
|
125
|
-
`input-${
|
|
124
|
+
class: v(["input-container", [
|
|
125
|
+
`input-${n.size}`,
|
|
126
126
|
{
|
|
127
127
|
"input-before": C.value,
|
|
128
|
-
"input-after":
|
|
129
|
-
"input-disabled":
|
|
128
|
+
"input-after": b.value,
|
|
129
|
+
"input-disabled": n.disabled
|
|
130
130
|
}
|
|
131
131
|
]]),
|
|
132
132
|
onMouseenter: K,
|
|
133
133
|
onMouseleave: Q
|
|
134
134
|
}, [
|
|
135
|
-
t[3] || (t[3] =
|
|
136
|
-
|
|
137
|
-
class:
|
|
135
|
+
t[3] || (t[3] = i("div", { class: "input-border" }, null, -1)),
|
|
136
|
+
i("div", {
|
|
137
|
+
class: v(["input-border-state", { "input-hover": x.value, "input-focus": y.value }])
|
|
138
138
|
}, null, 2),
|
|
139
|
-
P.value ? (
|
|
140
|
-
|
|
141
|
-
|
|
139
|
+
P.value ? (l(), o("span", te, [
|
|
140
|
+
w(e.$slots, "prefix", {}, () => [
|
|
141
|
+
g(p(n.prefix), 1)
|
|
142
142
|
], !0)
|
|
143
|
-
])) :
|
|
144
|
-
|
|
143
|
+
])) : d("", !0),
|
|
144
|
+
i("input", {
|
|
145
145
|
ref_key: "inputRef",
|
|
146
|
-
ref:
|
|
146
|
+
ref: B,
|
|
147
147
|
class: "input-item",
|
|
148
|
-
type:
|
|
149
|
-
value:
|
|
150
|
-
placeholder:
|
|
151
|
-
maxlength:
|
|
152
|
-
disabled:
|
|
148
|
+
type: n.password && !c.value ? "password" : "text",
|
|
149
|
+
value: u.value,
|
|
150
|
+
placeholder: n.placeholder,
|
|
151
|
+
maxlength: n.maxlength,
|
|
152
|
+
disabled: n.disabled,
|
|
153
153
|
onFocus: D,
|
|
154
154
|
onBlur: F,
|
|
155
155
|
onCompositionstart: R,
|
|
@@ -158,13 +158,13 @@ const te = {
|
|
|
158
158
|
onChange: H,
|
|
159
159
|
onKeydown: Y(Z(T, ["prevent"]), ["enter"])
|
|
160
160
|
}, null, 40, ae),
|
|
161
|
-
V.value ? (
|
|
162
|
-
|
|
161
|
+
V.value ? (l(), o("span", ne, [
|
|
162
|
+
E.value ? (l(), o("span", {
|
|
163
163
|
key: 0,
|
|
164
|
-
class:
|
|
164
|
+
class: v(["input-actions", { "clear-hidden": !u.value }]),
|
|
165
165
|
onClick: G
|
|
166
166
|
}, [...t[0] || (t[0] = [
|
|
167
|
-
|
|
167
|
+
i("svg", {
|
|
168
168
|
class: "clear-svg",
|
|
169
169
|
focusable: "false",
|
|
170
170
|
"data-icon": "close-circle",
|
|
@@ -174,42 +174,42 @@ const te = {
|
|
|
174
174
|
"aria-hidden": "true",
|
|
175
175
|
viewBox: "64 64 896 896"
|
|
176
176
|
}, [
|
|
177
|
-
|
|
177
|
+
i("path", { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" })
|
|
178
178
|
], -1)
|
|
179
|
-
])], 2)) :
|
|
180
|
-
|
|
179
|
+
])], 2)) : d("", !0),
|
|
180
|
+
n.password ? (l(), o("span", {
|
|
181
181
|
key: 1,
|
|
182
182
|
class: "input-actions",
|
|
183
183
|
onClick: J
|
|
184
184
|
}, [
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
L((l(), o("svg", oe, [...t[1] || (t[1] = [
|
|
186
|
+
i("path", { d: "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" }, null, -1)
|
|
187
187
|
])], 512)), [
|
|
188
|
-
[
|
|
188
|
+
[S, c.value]
|
|
189
189
|
]),
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
190
|
+
L((l(), o("svg", le, [...t[2] || (t[2] = [
|
|
191
|
+
i("path", { d: "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" }, null, -1),
|
|
192
|
+
i("path", { d: "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" }, null, -1)
|
|
193
193
|
])], 512)), [
|
|
194
|
-
[
|
|
194
|
+
[S, !c.value]
|
|
195
195
|
])
|
|
196
|
-
])) :
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
196
|
+
])) : d("", !0),
|
|
197
|
+
n.showCount ? (l(), o("span", ue, p(N.value), 1)) : d("", !0),
|
|
198
|
+
M.value ? (l(), o("span", se, [
|
|
199
|
+
w(e.$slots, "suffix", {}, () => [
|
|
200
|
+
g(p(n.suffix), 1)
|
|
201
201
|
], !0)
|
|
202
|
-
])) :
|
|
203
|
-
])) :
|
|
202
|
+
])) : d("", !0)
|
|
203
|
+
])) : d("", !0)
|
|
204
204
|
], 34),
|
|
205
|
-
|
|
205
|
+
b.value ? (l(), o("span", {
|
|
206
206
|
key: 1,
|
|
207
|
-
class:
|
|
207
|
+
class: v(["input-addon", { "addon-after": b.value }])
|
|
208
208
|
}, [
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
w(e.$slots, "addonAfter", {}, () => [
|
|
210
|
+
g(p(n.addonAfter), 1)
|
|
211
211
|
], !0)
|
|
212
|
-
], 2)) :
|
|
212
|
+
], 2)) : d("", !0)
|
|
213
213
|
], 4));
|
|
214
214
|
}
|
|
215
215
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.input-number-wrap[data-v-
|
|
1
|
+
.input-number-wrap[data-v-279760db]{position:relative;display:inline-block;width:var(--input-number-width);height:32px;font-size:14px;color:#000000e0;line-height:1.57142857;padding:0 11px;background-color:#fff;border-radius:6px;border:1px solid #d9d9d9;transition:all .2s}.input-number-wrap[data-v-279760db]:hover{border-color:var(--input-number-primary-color-hover)}.input-number-wrap:hover .input-number-handler-wrap[data-v-279760db]{background:#fff;opacity:1}.input-number-wrap[data-v-279760db]:focus-within{border-color:var(--input-number-primary-color-focus);box-shadow:0 0 0 2px var(--input-number-primary-shadow-color)}.input-number-wrap .input-number-container[data-v-279760db]{height:100%;display:flex}.input-number-wrap .input-number-container .input-prefix[data-v-279760db]{pointer-events:none;margin-right:4px;display:inline-flex;align-items:center}.input-number-wrap .input-number-container .input-number[data-v-279760db]{font-size:14px;color:#000000e0;width:100%;height:100%;background:transparent;border-radius:6px;transition:all .2s linear;appearance:textfield;border:none;outline:none}.input-number-wrap .input-number-container input[data-v-279760db]::-webkit-input-placeholder{color:#00000040}.input-number-wrap .input-number-container input[data-v-279760db]:-moz-placeholder{color:#00000040}.input-number-wrap .input-number-container input[data-v-279760db]::-moz-placeholder{color:#00000040}.input-number-wrap .input-number-container input[data-v-279760db]:-ms-input-placeholder{color:#00000040}.input-number-wrap .input-number-handler-wrap[data-v-279760db]{position:absolute;top:0;right:0;width:22px;height:100%;background:transparent;border-radius:0 6px 6px 0;opacity:0;display:flex;flex-direction:column;align-items:stretch;transition:all .2s linear}.input-number-wrap .input-number-handler-wrap .input-number-arrow[data-v-279760db]{display:flex;align-items:center;justify-content:center;flex:auto;height:40%;border-left:1px solid #d9d9d9;cursor:pointer;transition:all .2s linear}.input-number-wrap .input-number-handler-wrap .input-number-arrow[data-v-279760db]:hover{height:60%}.input-number-wrap .input-number-handler-wrap .input-number-arrow:hover .icon-svg[data-v-279760db]{color:var(--input-number-primary-color)}.input-number-wrap .input-number-handler-wrap .input-number-arrow .icon-svg[data-v-279760db]{font-size:7px;color:#00000073;fill:currentColor;-webkit-user-select:none;user-select:none;transition:color .2s}.input-number-wrap .input-number-handler-wrap .up-arrow[data-v-279760db]{border-top-right-radius:6px}.input-number-wrap .input-number-handler-wrap .down-arrow[data-v-279760db]{border-top:1px solid #d9d9d9;border-bottom-right-radius:6px}.input-number-wrap .input-number-handler-wrap .arrow-disabled[data-v-279760db]{cursor:not-allowed}.input-number-disabled[data-v-279760db]{color:#00000040;background-color:#0000000a;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.input-number-disabled[data-v-279760db]:hover{border-color:#d9d9d9}.input-number-disabled[data-v-279760db]:focus-within{border-color:#d9d9d9;box-shadow:none}.input-number-disabled .input-number-container .input-number[data-v-279760db]{color:#00000040;cursor:not-allowed}.input-number-disabled .input-number-handler-wrap[data-v-279760db]{display:none}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./InputNumber.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-279760db"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
_ as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as W, ref as
|
|
2
|
-
import { useInject as Y, useSlotsExist as Z, add as
|
|
1
|
+
import { defineComponent as W, ref as k, computed as v, watch as T, nextTick as j, createElementBlock as C, openBlock as S, normalizeStyle as O, normalizeClass as x, unref as p, createElementVNode as r, createCommentVNode as q, withDirectives as G, renderSlot as H, createTextVNode as J, toDisplayString as Q, withKeys as F, withModifiers as M, vModelText as X } from "vue";
|
|
2
|
+
import { useInject as Y, useSlotsExist as Z, add as $ } from "../utils/index.js";
|
|
3
3
|
const _ = { class: "input-number-container" }, ee = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "input-prefix"
|
|
6
|
-
}, te = ["disabled", "placeholder", "onKeydown"], ne = { class: "input-number-handler-wrap" },
|
|
6
|
+
}, te = ["disabled", "placeholder", "onKeydown"], ne = { class: "input-number-handler-wrap" }, re = /* @__PURE__ */ W({
|
|
7
7
|
__name: "InputNumber",
|
|
8
8
|
props: {
|
|
9
9
|
width: { default: 90 },
|
|
@@ -21,20 +21,20 @@ const _ = { class: "input-number-container" }, ee = {
|
|
|
21
21
|
valueModifiers: { default: () => ({}) }
|
|
22
22
|
},
|
|
23
23
|
emits: ["update:value", "change", "enter"],
|
|
24
|
-
setup(
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
return Math.max(
|
|
28
|
-
}), L =
|
|
24
|
+
setup(i, { emit: I }) {
|
|
25
|
+
const t = i, s = k(), u = k(), { colorPalettes: h, shadowColor: z } = Y("InputNumber"), b = I, B = Z(["prefix"]), E = v(() => typeof t.width == "number" ? `${t.width}px` : t.width), d = v(() => {
|
|
26
|
+
const n = String(t.step).split(".")[1]?.length || 0;
|
|
27
|
+
return Math.max(t.precision, n);
|
|
28
|
+
}), L = v(() => B.prefix || t.prefix), g = v(() => "lazy" in t.valueModifiers);
|
|
29
29
|
T(
|
|
30
|
-
() => [
|
|
30
|
+
() => [t.value, d.value, t.formatter],
|
|
31
31
|
async () => {
|
|
32
|
-
if (
|
|
33
|
-
if (
|
|
34
|
-
const { selectionStart:
|
|
35
|
-
|
|
32
|
+
if (t.value !== void 0)
|
|
33
|
+
if (s.value) {
|
|
34
|
+
const { selectionStart: n, selectionEnd: e, value: a } = s.value, l = a.slice(0, n), o = a.slice(e);
|
|
35
|
+
u.value = m(), await j(), D(n, l, o);
|
|
36
36
|
} else
|
|
37
|
-
|
|
37
|
+
u.value = m();
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
immediate: !0,
|
|
@@ -42,106 +42,106 @@ const _ = { class: "input-number-container" }, ee = {
|
|
|
42
42
|
deep: !0
|
|
43
43
|
}
|
|
44
44
|
);
|
|
45
|
-
function D(
|
|
46
|
-
const { value:
|
|
47
|
-
let
|
|
48
|
-
if (
|
|
49
|
-
|
|
50
|
-
else if (
|
|
51
|
-
|
|
45
|
+
function D(n, e, a) {
|
|
46
|
+
const { value: l } = s.value;
|
|
47
|
+
let o = l.length;
|
|
48
|
+
if (l.endsWith(a))
|
|
49
|
+
o = l.length - a.length;
|
|
50
|
+
else if (l.startsWith(e))
|
|
51
|
+
o = e.length;
|
|
52
52
|
else {
|
|
53
|
-
const U =
|
|
54
|
-
|
|
53
|
+
const U = e[n - 1], V = l.indexOf(U, n - 1);
|
|
54
|
+
V !== -1 && (o = V + 1);
|
|
55
55
|
}
|
|
56
|
-
|
|
56
|
+
s.value.setSelectionRange(o, o);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
|
|
58
|
+
function c(n) {
|
|
59
|
+
b("update:value", n), b("change", n);
|
|
60
60
|
}
|
|
61
|
-
function
|
|
62
|
-
return
|
|
61
|
+
function m() {
|
|
62
|
+
return t.formatter ? t.formatter(t.value?.toFixed(d.value)) : t.value?.toFixed(d.value);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
let
|
|
66
|
-
return
|
|
64
|
+
function f(n) {
|
|
65
|
+
let e = parseFloat(n);
|
|
66
|
+
return e > t.max && (e = t.max), e < t.min && (e = t.min), e;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
if (Number.isNaN(parseFloat(
|
|
70
|
-
|
|
68
|
+
function w(n) {
|
|
69
|
+
if (Number.isNaN(parseFloat(n)))
|
|
70
|
+
u.value = m();
|
|
71
71
|
else {
|
|
72
|
-
const
|
|
73
|
-
|
|
72
|
+
const e = f(n);
|
|
73
|
+
e !== t.value ? c(e) : u.value = m();
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function K(
|
|
76
|
+
function K(n) {
|
|
77
77
|
if (!g.value) {
|
|
78
|
-
const
|
|
79
|
-
a && !Number.isNaN(
|
|
78
|
+
const e = n.target, a = t.parser ? String(t.parser(e.value)) : e.value;
|
|
79
|
+
a && !Number.isNaN(f(a)) && f(a) !== t.value && w(a), !a && t.value !== void 0 && c(void 0);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
function P(
|
|
83
|
-
const
|
|
84
|
-
|
|
82
|
+
function P(n) {
|
|
83
|
+
const e = n.target, a = t.parser ? String(t.parser(e.value)) : e.value;
|
|
84
|
+
w(a);
|
|
85
85
|
}
|
|
86
|
-
function A(
|
|
87
|
-
|
|
86
|
+
function A(n) {
|
|
87
|
+
n.key === "ArrowUp" && y(), n.key === "ArrowDown" && N();
|
|
88
88
|
}
|
|
89
|
-
function R(
|
|
90
|
-
if (
|
|
91
|
-
const
|
|
92
|
-
|
|
89
|
+
function R(n) {
|
|
90
|
+
if (b("enter", n), g.value) {
|
|
91
|
+
const e = n.target, a = t.parser ? String(t.parser(e.value)) : e.value;
|
|
92
|
+
w(a);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
function y() {
|
|
96
|
-
const
|
|
97
|
-
|
|
96
|
+
const n = Math.min(t.max, $(t.value || 0, +t.step)).toFixed(d.value);
|
|
97
|
+
c(f(n));
|
|
98
98
|
}
|
|
99
|
-
function
|
|
100
|
-
const
|
|
101
|
-
|
|
99
|
+
function N() {
|
|
100
|
+
const n = Math.max(t.min, $(t.value || 0, -t.step)).toFixed(d.value);
|
|
101
|
+
c(f(n));
|
|
102
102
|
}
|
|
103
|
-
return (
|
|
103
|
+
return (n, e) => (S(), C("div", {
|
|
104
104
|
tabindex: "1",
|
|
105
|
-
class:
|
|
105
|
+
class: x(["input-number-wrap", { "input-number-disabled": i.disabled }]),
|
|
106
106
|
style: O(`
|
|
107
107
|
--input-number-width: ${E.value};
|
|
108
|
-
--input-number-primary-color: ${
|
|
109
|
-
--input-number-primary-color-hover: ${
|
|
110
|
-
--input-number-primary-color-focus: ${
|
|
111
|
-
--input-number-primary-shadow-color: ${
|
|
108
|
+
--input-number-primary-color: ${p(h)[5]};
|
|
109
|
+
--input-number-primary-color-hover: ${p(h)[4]};
|
|
110
|
+
--input-number-primary-color-focus: ${p(h)[4]};
|
|
111
|
+
--input-number-primary-shadow-color: ${p(z)};
|
|
112
112
|
`)
|
|
113
113
|
}, [
|
|
114
114
|
r("div", _, [
|
|
115
|
-
L.value ? (
|
|
116
|
-
H(
|
|
117
|
-
J(Q(
|
|
115
|
+
L.value ? (S(), C("span", ee, [
|
|
116
|
+
H(n.$slots, "prefix", {}, () => [
|
|
117
|
+
J(Q(i.prefix), 1)
|
|
118
118
|
], !0)
|
|
119
119
|
])) : q("", !0),
|
|
120
120
|
G(r("input", {
|
|
121
121
|
ref_key: "inputRef",
|
|
122
|
-
ref:
|
|
122
|
+
ref: s,
|
|
123
123
|
class: "input-number",
|
|
124
124
|
autocomplete: "off",
|
|
125
|
-
disabled:
|
|
126
|
-
placeholder:
|
|
127
|
-
"onUpdate:modelValue":
|
|
125
|
+
disabled: i.disabled,
|
|
126
|
+
placeholder: i.placeholder,
|
|
127
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => u.value = a),
|
|
128
128
|
onInput: K,
|
|
129
129
|
onChange: P,
|
|
130
130
|
onKeydown: [
|
|
131
|
-
|
|
131
|
+
e[1] || (e[1] = F(M(() => {
|
|
132
132
|
}, ["prevent"]), ["up"])),
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
e[2] || (e[2] = (a) => i.keyboard ? A(a) : () => !1),
|
|
134
|
+
F(M(R, ["prevent"]), ["enter"])
|
|
135
135
|
]
|
|
136
136
|
}, null, 40, te), [
|
|
137
|
-
[X,
|
|
137
|
+
[X, u.value]
|
|
138
138
|
])
|
|
139
139
|
]),
|
|
140
140
|
r("div", ne, [
|
|
141
141
|
r("span", {
|
|
142
|
-
class:
|
|
143
|
-
onClick:
|
|
144
|
-
}, [...
|
|
142
|
+
class: x(["input-number-arrow up-arrow", { "arrow-disabled": (i.value || 0) >= i.max }]),
|
|
143
|
+
onClick: e[3] || (e[3] = (a) => (i.value || 0) >= i.max ? () => !1 : y())
|
|
144
|
+
}, [...e[5] || (e[5] = [
|
|
145
145
|
r("svg", {
|
|
146
146
|
class: "icon-svg",
|
|
147
147
|
focusable: "false",
|
|
@@ -156,9 +156,9 @@ const _ = { class: "input-number-container" }, ee = {
|
|
|
156
156
|
], -1)
|
|
157
157
|
])], 2),
|
|
158
158
|
r("span", {
|
|
159
|
-
class:
|
|
160
|
-
onClick:
|
|
161
|
-
}, [...
|
|
159
|
+
class: x(["input-number-arrow down-arrow", { "arrow-disabled": (i.value || 0) <= i.min }]),
|
|
160
|
+
onClick: e[4] || (e[4] = (a) => (i.value || 0) <= i.min ? () => !1 : N())
|
|
161
|
+
}, [...e[6] || (e[6] = [
|
|
162
162
|
r("svg", {
|
|
163
163
|
class: "icon-svg",
|
|
164
164
|
focusable: "false",
|
|
@@ -177,5 +177,5 @@ const _ = { class: "input-number-container" }, ee = {
|
|
|
177
177
|
}
|
|
178
178
|
});
|
|
179
179
|
export {
|
|
180
|
-
|
|
180
|
+
re as default
|
|
181
181
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.input-search-wrap[data-v-
|
|
1
|
+
.input-search-wrap[data-v-b3de7221]{width:var(--input-search-width);position:relative;display:inline-flex;align-items:center}.input-search-wrap .input-search-addon-before[data-v-b3de7221]{display:inline-flex;justify-content:center;align-items:center;position:relative;padding:0 11px;color:#000000e0;font-weight:400;font-size:14px;line-height:1.57142857;text-align:center;background-color:#00000005;border:1px solid #d9d9d9;border-radius:6px 0 0 6px;border-right:0;transition:all .3s}.input-search-wrap .input-search-addon-before[data-v-b3de7221] svg{fill:currentColor}.input-search-wrap .addon-before-small[data-v-b3de7221]{height:24px}.input-search-wrap .addon-before-middle[data-v-b3de7221]{height:32px}.input-search-wrap .addon-before-small[data-v-b3de7221]{height:40px}.input-search-wrap .input-search-container[data-v-b3de7221]{font-size:14px;color:#000000e0;line-height:1.57142857;position:relative;display:inline-flex;width:100%;min-width:0;background-color:#fff;border:1px solid #d9d9d9;transition:all .2s}.input-search-wrap .input-search-container[data-v-b3de7221]:hover{border-color:var(--input-search-primary-color-hover);border-right-width:1px;z-index:1}.input-search-wrap .input-search-container[data-v-b3de7221]:focus-within{border-color:var(--input-search-primary-color-focus);box-shadow:0 0 0 2px var(--input-search-primary-shadow-color);border-right-width:1px;outline:0;z-index:1}.input-search-wrap .input-search-container .input-search-prefix[data-v-b3de7221]{margin-right:4px;display:flex;flex:none;align-items:center}.input-search-wrap .input-search-container .input-search-prefix[data-v-b3de7221] svg{fill:currentColor}.input-search-wrap .input-search-container .input-search[data-v-b3de7221]{font-size:14px;color:inherit;line-height:1.57142857;position:relative;display:inline-block;width:100%;min-width:0;background-color:#fff;border:none;outline:none;text-overflow:ellipsis;transition:all .2s}.input-search-wrap .input-search-container input[data-v-b3de7221]::-webkit-input-placeholder{color:#00000040}.input-search-wrap .input-search-container input[data-v-b3de7221]:-moz-placeholder{color:#00000040}.input-search-wrap .input-search-container input[data-v-b3de7221]::-moz-placeholder{color:#00000040}.input-search-wrap .input-search-container input[data-v-b3de7221]:-ms-input-placeholder{color:#00000040}.input-search-wrap .input-search-container .input-search-suffix[data-v-b3de7221]{margin-left:4px;display:flex;flex:none;gap:8px;align-items:center}.input-search-wrap .input-search-container .input-search-suffix .input-search-clear[data-v-b3de7221]{display:inline-flex;justify-content:center;align-items:center;cursor:pointer}.input-search-wrap .input-search-container .input-search-suffix .input-search-clear .clear-svg[data-v-b3de7221]{display:inline-block;font-size:12px;color:#00000040;fill:currentColor;transition:color .3s}.input-search-wrap .input-search-container .input-search-suffix .input-search-clear .clear-svg[data-v-b3de7221]:hover{color:#00000073}.input-search-wrap .input-search-container .input-search-suffix .clear-hidden[data-v-b3de7221]{visibility:hidden}.input-search-wrap .input-search-container .input-search-suffix .input-search-count[data-v-b3de7221]{color:#00000073}.input-search-wrap .input-search-container .input-search-suffix .suffix-item[data-v-b3de7221]{display:flex;flex:none;align-items:center}.input-search-wrap .input-search-container .input-search-suffix .suffix-item[data-v-b3de7221] svg{fill:currentColor}.input-search-wrap .input-search-small[data-v-b3de7221]{height:24px;padding:0 7px;border-radius:4px 0 0 4px}.input-search-wrap .input-search-middle[data-v-b3de7221]{height:32px;padding:4px 11px;border-radius:6px 0 0 6px}.input-search-wrap .input-search-large[data-v-b3de7221]{height:40px;padding:7px 11px;font-size:16px;line-height:1.5;border-radius:8px 0 0 8px}.input-search-wrap .input-search-large .input-search[data-v-b3de7221]{font-size:16px;line-height:1.5}.input-search-wrap .input-search-before[data-v-b3de7221]{border-top-left-radius:0;border-bottom-left-radius:0}.input-search-wrap .input-search-disabled[data-v-b3de7221]{color:#00000040;background-color:#0000000a;cursor:not-allowed}.input-search-wrap .input-search-disabled[data-v-b3de7221]:hover{border-color:#d9d9d9}.input-search-wrap .input-search-disabled[data-v-b3de7221]:focus-within{border-color:#d9d9d9;box-shadow:none}.input-search-wrap .input-search-disabled .input-search[data-v-b3de7221]{color:#00000040;background-color:transparent;cursor:not-allowed}.input-search-wrap .input-search-button[data-v-b3de7221]{position:relative;left:-1px;border-left:0;color:#000000e0;font-weight:400;font-size:14px;text-align:center;background-color:#00000005;border-radius:0 6px 6px 0;transition:all .3s;line-height:1}.input-search-wrap .input-search-button[data-v-b3de7221] .m-btn{padding-top:0;padding-bottom:0;border-radius:0 6px 6px 0}.input-search-wrap .input-search-button[data-v-b3de7221] .m-btn:not(.btn-primary):not(.btn-danger):not(.btn-link):not(.btn-disabled){color:#00000073}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./InputSearch.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-b3de7221"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|