vue-amazing-ui 2.4.19 → 2.4.21
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 +65 -65
- package/dist/index.js +4469 -4437
- package/dist/index.umd.cjs +74 -74
- package/dist/style.css +1 -1
- package/es/alert/Alert.css +1 -1
- package/es/alert/Alert.vue.js +2 -2
- package/es/avatar/Avatar.css +1 -1
- package/es/avatar/Avatar.vue.js +1 -1
- package/es/backtop/BackTop.css +1 -1
- package/es/backtop/BackTop.vue.js +2 -2
- package/es/badge/Badge.css +1 -1
- package/es/badge/Badge.vue.js +2 -2
- package/es/breadcrumb/Breadcrumb.css +1 -1
- package/es/breadcrumb/Breadcrumb.vue.js +2 -2
- package/es/button/Button.css +1 -1
- package/es/button/Button.vue.js +2 -2
- package/es/calendar/Calendar.css +1 -1
- package/es/calendar/Calendar.vue.js +2 -2
- package/es/card/Card.css +1 -1
- package/es/card/Card.vue.js +2 -2
- package/es/carousel/Carousel.css +1 -1
- package/es/carousel/Carousel.vue.js +2 -2
- package/es/cascader/Cascader.css +1 -1
- package/es/cascader/Cascader.vue.js +1 -1
- package/es/checkbox/Checkbox.css +1 -1
- package/es/checkbox/Checkbox.vue.js +2 -2
- package/es/collapse/Collapse.css +1 -1
- package/es/collapse/Collapse.vue.js +2 -2
- package/es/colorpicker/ColorPicker.css +1 -1
- package/es/colorpicker/ColorPicker.vue.js +2 -2
- package/es/countdown/Countdown.css +1 -1
- package/es/countdown/Countdown.vue.js +2 -2
- package/es/datepicker/DatePicker.css +1 -1
- package/es/datepicker/DatePicker.vue.js +4 -4
- package/es/descriptions/descriptions/Descriptions.css +1 -1
- package/es/descriptions/descriptions/Descriptions.vue.js +2 -2
- package/es/descriptions/descriptionsitem/DescriptionsItem.css +1 -1
- package/es/descriptions/descriptionsitem/DescriptionsItem.vue.js +2 -2
- package/es/dialog/Dialog.css +1 -1
- package/es/dialog/Dialog.vue.js +1 -1
- package/es/divider/Divider.css +1 -1
- package/es/divider/Divider.vue.js +1 -1
- package/es/drawer/Drawer.css +1 -1
- package/es/drawer/Drawer.vue.js +2 -2
- package/es/ellipsis/Ellipsis.css +1 -1
- package/es/ellipsis/Ellipsis.vue.js +2 -2
- package/es/empty/Empty.css +1 -1
- package/es/empty/Empty.vue.js +2 -2
- package/es/empty/Empty.vue2.js +23 -23
- package/es/flex/Flex.css +1 -1
- package/es/flex/Flex.vue.js +2 -2
- package/es/floatbutton/FloatButton.css +1 -1
- package/es/floatbutton/FloatButton.vue.js +1 -1
- package/es/gradienttext/GradientText.css +1 -1
- package/es/gradienttext/GradientText.vue.js +1 -1
- package/es/grid/col/Col.css +1 -1
- package/es/grid/col/Col.vue.js +2 -2
- package/es/grid/row/Row.css +1 -1
- package/es/grid/row/Row.vue.js +1 -1
- package/es/image/Image.css +1 -1
- package/es/image/Image.vue.js +2 -2
- package/es/input/Input.css +1 -1
- package/es/input/Input.vue.js +2 -2
- package/es/inputnumber/InputNumber.css +1 -1
- package/es/inputnumber/InputNumber.vue.js +1 -1
- package/es/inputsearch/InputSearch.css +1 -1
- package/es/inputsearch/InputSearch.vue.js +2 -2
- package/es/list/list/List.css +1 -1
- package/es/list/list/List.vue.js +2 -2
- package/es/list/listitem/ListItem.css +1 -1
- package/es/list/listitem/ListItem.vue.js +2 -2
- package/es/loadingbar/LoadingBar.css +1 -1
- package/es/loadingbar/LoadingBar.vue.js +2 -2
- package/es/message/Message.css +1 -1
- package/es/message/Message.vue.js +2 -2
- package/es/modal/Modal.css +1 -1
- package/es/modal/Modal.vue.js +1 -1
- package/es/notification/Notification.css +1 -1
- package/es/notification/Notification.vue.js +2 -2
- package/es/pagination/Pagination.css +1 -1
- package/es/pagination/Pagination.vue.js +1 -1
- package/es/popconfirm/Popconfirm.css +1 -1
- package/es/popconfirm/Popconfirm.vue.js +1 -1
- package/es/popover/Popover.css +1 -1
- package/es/popover/Popover.vue.js +2 -2
- package/es/progress/Progress.css +1 -1
- package/es/progress/Progress.vue.js +2 -2
- package/es/qrcode/QRCode.css +1 -1
- package/es/qrcode/QRCode.vue.js +3 -3
- package/es/radio/Radio.css +1 -1
- package/es/radio/Radio.vue.js +2 -2
- package/es/rate/Rate.css +1 -1
- package/es/rate/Rate.vue.js +1 -1
- package/es/result/Result.css +1 -1
- package/es/result/Result.vue.js +2 -2
- package/es/result/Result.vue2.js +52 -52
- package/es/scrollbar/Scrollbar.css +1 -1
- package/es/scrollbar/Scrollbar.vue.js +1 -1
- package/es/segmented/Segmented.css +1 -1
- package/es/segmented/Segmented.vue.js +2 -2
- package/es/select/Select.css +1 -1
- package/es/select/Select.vue.js +2 -2
- package/es/select/Select.vue2.js +163 -148
- package/es/skeleton/Skeleton.css +1 -1
- package/es/skeleton/Skeleton.vue.js +2 -2
- package/es/slider/Slider.css +1 -1
- package/es/slider/Slider.vue.js +2 -2
- package/es/space/Space.css +1 -1
- package/es/space/Space.vue.js +2 -2
- package/es/spin/Spin.css +1 -1
- package/es/spin/Spin.vue.js +2 -2
- package/es/spin/Spin.vue2.js +28 -28
- package/es/statistic/Statistic.css +1 -1
- package/es/statistic/Statistic.vue.js +2 -2
- package/es/steps/Steps.css +1 -1
- package/es/steps/Steps.vue.js +2 -2
- package/es/swiper/Swiper.css +1 -1
- package/es/swiper/Swiper.vue.js +1 -1
- package/es/switch/Switch.css +1 -1
- package/es/switch/Switch.vue.js +1 -1
- package/es/table/Table.css +1 -1
- package/es/table/Table.vue.js +2 -2
- package/es/tabs/Tabs.css +1 -1
- package/es/tabs/Tabs.vue.js +1 -1
- package/es/tag/Tag.css +1 -1
- package/es/tag/Tag.vue.js +1 -1
- package/es/textarea/Textarea.css +1 -1
- package/es/textarea/Textarea.vue.js +1 -1
- package/es/textscroll/TextScroll.css +1 -1
- package/es/textscroll/TextScroll.vue.js +2 -2
- package/es/timeline/Timeline.css +1 -1
- package/es/timeline/Timeline.vue.js +2 -2
- package/es/tooltip/Tooltip.css +1 -1
- package/es/tooltip/Tooltip.vue.js +2 -2
- package/es/tooltip/Tooltip.vue2.js +156 -139
- package/es/upload/Upload.css +1 -1
- package/es/upload/Upload.vue.js +2 -2
- package/es/utils/resolver.js +1 -1
- package/es/video/Video.css +1 -1
- package/es/video/Video.vue.js +2 -2
- package/es/video/Video.vue2.js +1 -1
- package/es/waterfall/Waterfall.css +1 -1
- package/es/waterfall/Waterfall.vue.js +2 -2
- package/lib/alert/Alert.css +1 -1
- package/lib/alert/Alert.vue.cjs +1 -1
- package/lib/avatar/Avatar.css +1 -1
- package/lib/avatar/Avatar.vue.cjs +1 -1
- package/lib/backtop/BackTop.css +1 -1
- package/lib/backtop/BackTop.vue.cjs +1 -1
- package/lib/badge/Badge.css +1 -1
- package/lib/badge/Badge.vue.cjs +1 -1
- package/lib/breadcrumb/Breadcrumb.css +1 -1
- package/lib/breadcrumb/Breadcrumb.vue.cjs +1 -1
- package/lib/button/Button.css +1 -1
- package/lib/button/Button.vue.cjs +1 -1
- package/lib/calendar/Calendar.css +1 -1
- package/lib/calendar/Calendar.vue.cjs +1 -1
- package/lib/card/Card.css +1 -1
- package/lib/card/Card.vue.cjs +1 -1
- package/lib/carousel/Carousel.css +1 -1
- package/lib/carousel/Carousel.vue.cjs +1 -1
- package/lib/cascader/Cascader.css +1 -1
- package/lib/cascader/Cascader.vue.cjs +1 -1
- package/lib/checkbox/Checkbox.css +1 -1
- package/lib/checkbox/Checkbox.vue.cjs +1 -1
- package/lib/collapse/Collapse.css +1 -1
- package/lib/collapse/Collapse.vue.cjs +1 -1
- package/lib/colorpicker/ColorPicker.css +1 -1
- package/lib/colorpicker/ColorPicker.vue.cjs +1 -1
- package/lib/countdown/Countdown.css +1 -1
- package/lib/countdown/Countdown.vue.cjs +1 -1
- package/lib/datepicker/DatePicker.css +1 -1
- package/lib/datepicker/DatePicker.vue.cjs +1 -1
- package/lib/descriptions/descriptions/Descriptions.css +1 -1
- package/lib/descriptions/descriptions/Descriptions.vue.cjs +1 -1
- package/lib/descriptions/descriptionsitem/DescriptionsItem.css +1 -1
- package/lib/descriptions/descriptionsitem/DescriptionsItem.vue.cjs +1 -1
- package/lib/dialog/Dialog.css +1 -1
- package/lib/dialog/Dialog.vue.cjs +1 -1
- package/lib/divider/Divider.css +1 -1
- package/lib/divider/Divider.vue.cjs +1 -1
- package/lib/drawer/Drawer.css +1 -1
- package/lib/drawer/Drawer.vue.cjs +1 -1
- package/lib/ellipsis/Ellipsis.css +1 -1
- package/lib/ellipsis/Ellipsis.vue.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/floatbutton/FloatButton.css +1 -1
- package/lib/floatbutton/FloatButton.vue.cjs +1 -1
- package/lib/gradienttext/GradientText.css +1 -1
- package/lib/gradienttext/GradientText.vue.cjs +1 -1
- package/lib/grid/col/Col.css +1 -1
- package/lib/grid/col/Col.vue.cjs +1 -1
- package/lib/grid/row/Row.css +1 -1
- package/lib/grid/row/Row.vue.cjs +1 -1
- package/lib/image/Image.css +1 -1
- package/lib/image/Image.vue.cjs +1 -1
- package/lib/input/Input.css +1 -1
- package/lib/input/Input.vue.cjs +1 -1
- package/lib/inputnumber/InputNumber.css +1 -1
- package/lib/inputnumber/InputNumber.vue.cjs +1 -1
- package/lib/inputsearch/InputSearch.css +1 -1
- package/lib/inputsearch/InputSearch.vue.cjs +1 -1
- package/lib/list/list/List.css +1 -1
- package/lib/list/list/List.vue.cjs +1 -1
- package/lib/list/listitem/ListItem.css +1 -1
- package/lib/list/listitem/ListItem.vue.cjs +1 -1
- package/lib/loadingbar/LoadingBar.css +1 -1
- package/lib/loadingbar/LoadingBar.vue.cjs +1 -1
- package/lib/message/Message.css +1 -1
- package/lib/message/Message.vue.cjs +1 -1
- package/lib/modal/Modal.css +1 -1
- package/lib/modal/Modal.vue.cjs +1 -1
- package/lib/notification/Notification.css +1 -1
- package/lib/notification/Notification.vue.cjs +1 -1
- package/lib/pagination/Pagination.css +1 -1
- package/lib/pagination/Pagination.vue.cjs +1 -1
- package/lib/popconfirm/Popconfirm.css +1 -1
- package/lib/popconfirm/Popconfirm.vue.cjs +1 -1
- package/lib/popover/Popover.css +1 -1
- package/lib/popover/Popover.vue.cjs +1 -1
- package/lib/progress/Progress.css +1 -1
- package/lib/progress/Progress.vue.cjs +1 -1
- package/lib/qrcode/QRCode.css +1 -1
- package/lib/qrcode/QRCode.vue.cjs +1 -1
- package/lib/radio/Radio.css +1 -1
- package/lib/radio/Radio.vue.cjs +1 -1
- package/lib/rate/Rate.css +1 -1
- package/lib/rate/Rate.vue.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/segmented/Segmented.css +1 -1
- package/lib/segmented/Segmented.vue.cjs +1 -1
- package/lib/select/Select.css +1 -1
- package/lib/select/Select.vue.cjs +1 -1
- package/lib/select/Select.vue2.cjs +5 -5
- package/lib/skeleton/Skeleton.css +1 -1
- package/lib/skeleton/Skeleton.vue.cjs +1 -1
- package/lib/slider/Slider.css +1 -1
- package/lib/slider/Slider.vue.cjs +1 -1
- package/lib/space/Space.css +1 -1
- package/lib/space/Space.vue.cjs +1 -1
- package/lib/spin/Spin.css +1 -1
- package/lib/spin/Spin.vue.cjs +1 -1
- package/lib/spin/Spin.vue2.cjs +4 -4
- package/lib/statistic/Statistic.css +1 -1
- package/lib/statistic/Statistic.vue.cjs +1 -1
- package/lib/steps/Steps.css +1 -1
- package/lib/steps/Steps.vue.cjs +1 -1
- package/lib/swiper/Swiper.css +1 -1
- package/lib/swiper/Swiper.vue.cjs +1 -1
- package/lib/switch/Switch.css +1 -1
- package/lib/switch/Switch.vue.cjs +1 -1
- package/lib/table/Table.css +1 -1
- package/lib/table/Table.vue.cjs +1 -1
- package/lib/tabs/Tabs.css +1 -1
- package/lib/tabs/Tabs.vue.cjs +1 -1
- package/lib/tag/Tag.css +1 -1
- package/lib/tag/Tag.vue.cjs +1 -1
- package/lib/textarea/Textarea.css +1 -1
- package/lib/textarea/Textarea.vue.cjs +1 -1
- package/lib/textscroll/TextScroll.css +1 -1
- package/lib/textscroll/TextScroll.vue.cjs +1 -1
- package/lib/timeline/Timeline.css +1 -1
- package/lib/timeline/Timeline.vue.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/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 +1 -1
- package/lib/waterfall/Waterfall.css +1 -1
- package/lib/waterfall/Waterfall.vue.cjs +1 -1
- package/package.json +8 -8
- /package/es/node_modules/.pnpm/{@vuepic_vue-datepicker@11.0.2_vue@3.5.20_typescript@5.9.2_ → @vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_}/node_modules/@vuepic/vue-datepicker/dist/main.css +0 -0
- /package/lib/node_modules/.pnpm/{@vuepic_vue-datepicker@11.0.2_vue@3.5.20_typescript@5.9.2_ → @vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_}/node_modules/@vuepic/vue-datepicker/dist/main.css +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Timeline.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const i = /* @__PURE__ */
|
|
3
|
+
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e59bdcd7"]]);
|
|
5
5
|
export {
|
|
6
6
|
i as default
|
|
7
7
|
};
|
package/es/tooltip/Tooltip.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.m-tooltip-wrap[data-v-
|
|
1
|
+
.m-tooltip-wrap[data-v-f1dca55a]{position:relative;display:inline-block}.zoom-enter[data-v-f1dca55a]{transform:none;opacity:0;animation-duration:var(--tooltip-transition-duration);animation-fill-mode:both;animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-play-state:paused}.zoom-enter-active[data-v-f1dca55a]{animation-name:zoomIn-f1dca55a;animation-play-state:running}@keyframes zoomIn-f1dca55a{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}.zoom-leave[data-v-f1dca55a]{animation-duration:var(--tooltip-transition-duration);animation-fill-mode:both;animation-play-state:paused;animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-leave-active[data-v-f1dca55a]{animation-name:zoomOut-f1dca55a;animation-play-state:running;pointer-events:none}@keyframes zoomOut-f1dca55a{0%{transform:scale(1);opacity:1}to{transform:scale(.8);opacity:0}}.tooltip-card-container[data-v-f1dca55a]{position:absolute;z-index:999;width:max-content;outline:none}.tooltip-card-container .tooltip-card[data-v-f1dca55a]{min-width:32px;max-width:var(--tooltip-max-width);min-height:32px;padding:6px 8px;font-size:14px;color:#fff;line-height:1.57142857;text-align:justify;text-decoration:none;word-break:break-all;background-color:var(--tooltip-background-color);border-radius:6px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}.tooltip-card-container .tooltip-card[data-v-f1dca55a] svg{fill:currentColor}.tooltip-card-container .tooltip-arrow[data-v-f1dca55a]{position:absolute;z-index:9;display:block;pointer-events:none;width:16px;height:16px;overflow:hidden}.tooltip-card-container .tooltip-arrow[data-v-f1dca55a]:before{position:absolute;width:16px;height:8px;background-color:var(--tooltip-background-color);clip-path:path("M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z");content:""}.tooltip-card-container .tooltip-arrow[data-v-f1dca55a]:after{position:absolute;width:8.97056275px;height:8.97056275px;margin:auto;border-radius:0 0 2px;transform:translateY(50%) rotate(-135deg);box-shadow:3px 3px 7px #0000001a;z-index:0;background:transparent;content:""}.tooltip-card-container .arrow-top[data-v-f1dca55a]{left:50%;bottom:12px;transform:translate(-50%) translateY(100%) rotate(180deg)}.tooltip-card-container .arrow-top[data-v-f1dca55a]:before{bottom:0;left:0}.tooltip-card-container .arrow-top[data-v-f1dca55a]:after{bottom:0;left:0;right:0}.tooltip-card-container .arrow-bottom[data-v-f1dca55a]{left:50%;top:12px;transform:translate(-50%) translateY(-100%) rotate(0)}.tooltip-card-container .arrow-bottom[data-v-f1dca55a]:before{bottom:0;left:0}.tooltip-card-container .arrow-bottom[data-v-f1dca55a]:after{bottom:0;left:0;right:0}.tooltip-card-container .arrow-left[data-v-f1dca55a]{top:50%;right:12px;transform:translate(100%) translateY(-50%) rotate(90deg)}.tooltip-card-container .arrow-left[data-v-f1dca55a]:before{bottom:0;left:0}.tooltip-card-container .arrow-left[data-v-f1dca55a]:after{bottom:0;left:0;right:0}.tooltip-card-container .arrow-right[data-v-f1dca55a]{top:50%;left:12px;transform:translate(-100%) translateY(-50%) rotate(-90deg)}.tooltip-card-container .arrow-right[data-v-f1dca55a]:before{bottom:0;left:0}.tooltip-card-container .arrow-right[data-v-f1dca55a]:after{bottom:0;left:0;right:0}.tooltip-top-padding[data-v-f1dca55a]{padding-bottom:12px}.tooltip-bottom-padding[data-v-f1dca55a]{padding-top:12px}.tooltip-left-padding[data-v-f1dca55a]{padding-right:12px}.tooltip-right-padding[data-v-f1dca55a]{padding-left:12px}.tooltip-content[data-v-f1dca55a]{display:inline-block}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Tooltip.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f1dca55a"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useOptionsSupported as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as Rt, ref as r, computed as X, watch as Y, onMounted as Bt, onBeforeUnmount as Dt, nextTick as bt, createElementBlock as j, openBlock as W, createBlock as Lt, createElementVNode as tt, Teleport as Mt, createVNode as Wt, Transition as xt, withCtx as Ot, withDirectives as Vt, createCommentVNode as et, withKeys as q, normalizeStyle as F, normalizeClass as x, renderSlot as ot, createTextVNode as nt, toDisplayString as lt, vShow as Ht } from "vue";
|
|
2
|
+
import { useOptionsSupported as rt, useSlotsExist as Nt, useMutationObserver as Kt, useEventListener as At, useResizeObserver as Ut, cancelRaf as it, rafTimeout as ut } from "../utils/index.js";
|
|
3
|
+
const jt = /* @__PURE__ */ Rt({
|
|
4
4
|
__name: "Tooltip",
|
|
5
5
|
props: {
|
|
6
6
|
maxWidth: { default: 240 },
|
|
@@ -24,238 +24,255 @@ const Ut = /* @__PURE__ */ zt({
|
|
|
24
24
|
showControl: { type: Boolean, default: !1 }
|
|
25
25
|
},
|
|
26
26
|
emits: ["update:show", "openChange", "animationend"],
|
|
27
|
-
setup(
|
|
28
|
-
const e =
|
|
29
|
-
const t =
|
|
27
|
+
setup(at, { expose: ft, emit: st }) {
|
|
28
|
+
const e = at, O = r(!1), i = r(!1), y = r(), f = r(null), G = r(0), v = r(0), p = r(0), h = r("top"), D = r(null), s = r(), V = r(null), H = r(null), N = r(), K = r(null), u = r(), b = r(document.documentElement.clientWidth), L = r(document.documentElement.clientHeight), { isSupported: vt } = rt("passive"), { isSupported: I } = rt("capture"), S = st, pt = Nt(["tooltip"]), ct = X(() => typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth), c = X(() => pt.tooltip || e.tooltip), mt = X(() => {
|
|
29
|
+
const t = s.value?.top ?? 0, l = N.value?.top ?? 0, a = t - l, k = s.value?.left ?? 0, $ = N.value?.left ?? 0, m = k - $;
|
|
30
30
|
switch (h.value) {
|
|
31
31
|
case "top":
|
|
32
32
|
return {
|
|
33
|
-
transformOrigin: `50% ${
|
|
34
|
-
top: `${a -
|
|
35
|
-
left: `${
|
|
33
|
+
transformOrigin: `50% ${v.value}px`,
|
|
34
|
+
top: `${a - v.value}px`,
|
|
35
|
+
left: `${m - p.value}px`
|
|
36
36
|
};
|
|
37
37
|
case "bottom":
|
|
38
38
|
return {
|
|
39
39
|
transformOrigin: `50% ${e.arrow ? -4 : -6}px`,
|
|
40
|
-
top: `${a +
|
|
41
|
-
left: `${
|
|
40
|
+
top: `${a + v.value}px`,
|
|
41
|
+
left: `${m - p.value}px`
|
|
42
42
|
};
|
|
43
43
|
case "left":
|
|
44
44
|
return {
|
|
45
|
-
transformOrigin: `${
|
|
46
|
-
top: `${a -
|
|
47
|
-
left: `${
|
|
45
|
+
transformOrigin: `${p.value}px 50%`,
|
|
46
|
+
top: `${a - v.value}px`,
|
|
47
|
+
left: `${m - p.value}px`
|
|
48
48
|
};
|
|
49
49
|
case "right":
|
|
50
50
|
return {
|
|
51
51
|
transformOrigin: `${e.arrow ? -4 : -6}px 50%`,
|
|
52
|
-
top: `${a -
|
|
53
|
-
left: `${
|
|
52
|
+
top: `${a - v.value}px`,
|
|
53
|
+
left: `${m + p.value}px`
|
|
54
54
|
};
|
|
55
55
|
default:
|
|
56
56
|
return {
|
|
57
|
-
transformOrigin: `50% ${
|
|
58
|
-
top: `${a -
|
|
59
|
-
left: `${
|
|
57
|
+
transformOrigin: `50% ${v.value}px`,
|
|
58
|
+
top: `${a - v.value}px`,
|
|
59
|
+
left: `${m - p.value}px`
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
|
-
|
|
63
|
+
Y(
|
|
64
64
|
() => [e.placement, e.arrow, e.flip],
|
|
65
65
|
() => {
|
|
66
|
-
|
|
66
|
+
C();
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
deep: !0
|
|
70
70
|
}
|
|
71
|
-
),
|
|
72
|
-
() =>
|
|
71
|
+
), Y(
|
|
72
|
+
() => c.value && i.value,
|
|
73
73
|
(t) => {
|
|
74
|
-
t && !
|
|
74
|
+
t && !O.value && (O.value = !0);
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
immediate: !0
|
|
78
78
|
}
|
|
79
|
-
),
|
|
79
|
+
), Y(
|
|
80
80
|
() => e.show,
|
|
81
81
|
(t) => {
|
|
82
|
-
t && !i.value &&
|
|
82
|
+
t && !i.value && E(), !t && i.value && g();
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
immediate: !0
|
|
86
86
|
}
|
|
87
|
-
),
|
|
88
|
-
|
|
89
|
-
}),
|
|
90
|
-
|
|
91
|
-
})
|
|
92
|
-
|
|
87
|
+
), Bt(() => {
|
|
88
|
+
A();
|
|
89
|
+
}), Dt(() => {
|
|
90
|
+
Q();
|
|
91
|
+
});
|
|
92
|
+
const J = Kt(
|
|
93
|
+
f,
|
|
94
|
+
() => {
|
|
95
|
+
G.value !== f.value?.scrollTop && (G.value = f.value?.scrollTop ?? 0, C());
|
|
96
|
+
},
|
|
97
|
+
{ subtree: !0, attributes: !0 }
|
|
98
|
+
);
|
|
99
|
+
At(window, "resize", gt), Ut([K, D], (t) => {
|
|
100
|
+
if (c.value && i.value) {
|
|
93
101
|
if (t.length === 1 && t[0].target.classList.contains("tooltip-card")) {
|
|
94
102
|
const { blockSize: l, inlineSize: a } = t[0].borderBoxSize[0];
|
|
95
103
|
if (Math.round(l) === Math.round(u.value.height) && Math.round(a) === Math.round(u.value.width))
|
|
96
104
|
return;
|
|
97
105
|
}
|
|
98
|
-
|
|
106
|
+
C();
|
|
99
107
|
}
|
|
100
108
|
});
|
|
101
|
-
function
|
|
102
|
-
let t =
|
|
109
|
+
function ht() {
|
|
110
|
+
let t = V.value?.parentElement;
|
|
103
111
|
for (; t; ) {
|
|
104
112
|
if (t === document.documentElement) {
|
|
105
|
-
|
|
113
|
+
H.value = document.documentElement;
|
|
106
114
|
return;
|
|
107
115
|
}
|
|
108
116
|
const { position: l } = getComputedStyle(t);
|
|
109
117
|
if (l !== "static") {
|
|
110
|
-
|
|
118
|
+
H.value = t;
|
|
111
119
|
return;
|
|
112
120
|
}
|
|
113
121
|
t = t.parentElement;
|
|
114
122
|
}
|
|
115
123
|
}
|
|
116
|
-
function
|
|
117
|
-
|
|
124
|
+
function gt() {
|
|
125
|
+
b.value = document.documentElement.clientWidth, L.value = document.documentElement.clientHeight, A(), C();
|
|
118
126
|
}
|
|
119
|
-
function
|
|
120
|
-
|
|
127
|
+
function A() {
|
|
128
|
+
Q(), f.value = Z(D.value), f.value && f.value.addEventListener(
|
|
121
129
|
"scroll",
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
);
|
|
130
|
+
C,
|
|
131
|
+
vt.value ? { passive: !0 } : void 0
|
|
132
|
+
), f.value === document.documentElement ? J.start() : J.stop();
|
|
125
133
|
}
|
|
126
|
-
function
|
|
127
|
-
|
|
134
|
+
function Q() {
|
|
135
|
+
f.value && f.value.removeEventListener("scroll", C), f.value = null;
|
|
128
136
|
}
|
|
129
|
-
function
|
|
137
|
+
function dt(t) {
|
|
130
138
|
return t === document.documentElement ? null : t.parentElement;
|
|
131
139
|
}
|
|
132
|
-
function
|
|
140
|
+
function Z(t) {
|
|
133
141
|
if (t === null) return null;
|
|
134
|
-
const l =
|
|
142
|
+
const l = dt(t);
|
|
135
143
|
return l === null ? null : l === document.documentElement ? document.documentElement : ((k) => {
|
|
136
|
-
const { overflow: $, overflowX:
|
|
137
|
-
return /(auto|scroll|overlay)/.test($ +
|
|
138
|
-
})(l) ? l :
|
|
144
|
+
const { overflow: $, overflowX: m, overflowY: U } = getComputedStyle(k);
|
|
145
|
+
return /(auto|scroll|overlay)/.test($ + U + m);
|
|
146
|
+
})(l) ? l : Z(l);
|
|
139
147
|
}
|
|
140
|
-
function
|
|
141
|
-
i.value &&
|
|
148
|
+
function C() {
|
|
149
|
+
i.value && _();
|
|
142
150
|
}
|
|
143
|
-
async function
|
|
144
|
-
await
|
|
151
|
+
async function _() {
|
|
152
|
+
await bt(), ht(), N.value = H.value?.getBoundingClientRect(), s.value = D.value?.getBoundingClientRect(), u.value = K.value?.getBoundingClientRect(), e.flip && (h.value = yt()), h.value === "top" ? (v.value = u.value.height + (e.arrow ? 16 : 6), p.value = (u.value.width - s.value.width) / 2) : h.value === "bottom" ? (v.value = s.value.height + (e.arrow ? 4 : 6), p.value = (u.value.width - s.value.width) / 2) : h.value === "left" ? (v.value = (u.value.height - s.value.height) / 2, p.value = u.value.width + (e.arrow ? 16 : 6)) : h.value === "right" && (v.value = (u.value.height - s.value.height) / 2, p.value = s.value.width + (e.arrow ? 4 : 6));
|
|
145
153
|
}
|
|
146
|
-
function
|
|
147
|
-
|
|
154
|
+
function wt() {
|
|
155
|
+
if (f.value) {
|
|
156
|
+
const t = f.value.getBoundingClientRect();
|
|
157
|
+
return {
|
|
158
|
+
top: t.top < 0 ? 0 : t.top,
|
|
159
|
+
left: t.left < 0 ? 0 : t.left,
|
|
160
|
+
bottom: t.bottom > L.value ? L.value : t.bottom,
|
|
161
|
+
right: t.right > b.value ? b.value : t.right
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
return {
|
|
148
165
|
top: 0,
|
|
149
166
|
left: 0,
|
|
150
|
-
bottom:
|
|
151
|
-
right:
|
|
167
|
+
bottom: L.value,
|
|
168
|
+
right: b.value
|
|
152
169
|
};
|
|
153
170
|
}
|
|
154
|
-
function
|
|
155
|
-
const { top: t, bottom: l, left: a, right: k } =
|
|
171
|
+
function yt() {
|
|
172
|
+
const { top: t, bottom: l, left: a, right: k } = s.value, { top: $, bottom: m, left: U, right: zt } = wt(), T = t - $ - (e.arrow ? 12 : 0), z = m - l - (e.arrow ? 12 : 0), R = a - U - (e.arrow ? 12 : 0), B = zt - k - (e.arrow ? 12 : 0), d = (u.value.width - s.value.width) / 2, w = (u.value.height - s.value.height) / 2;
|
|
156
173
|
return n(e.placement, []);
|
|
157
|
-
function n(
|
|
158
|
-
if (
|
|
174
|
+
function n(M, o) {
|
|
175
|
+
if (M === "top") {
|
|
159
176
|
if (o.includes("top"))
|
|
160
177
|
return o.includes("bottom") ? o.includes("left") ? n("right", o) : n("left", o) : n("bottom", o);
|
|
161
|
-
if (
|
|
178
|
+
if (T < u.value.height + (e.arrow ? 4 : 6) && o.length !== 3)
|
|
162
179
|
return n("bottom", [...o, "top"]);
|
|
163
|
-
if (
|
|
180
|
+
if (R >= d && B >= d)
|
|
164
181
|
return "top";
|
|
165
182
|
if (o.length !== 3) {
|
|
166
|
-
if (
|
|
183
|
+
if (R >= d)
|
|
167
184
|
return n("left", ["top", "bottom", "right"]);
|
|
168
|
-
if (
|
|
185
|
+
if (B >= d)
|
|
169
186
|
return n("right", ["top", "bottom", "left"]);
|
|
170
187
|
}
|
|
171
|
-
} else if (
|
|
188
|
+
} else if (M === "bottom") {
|
|
172
189
|
if (o.includes("bottom"))
|
|
173
190
|
return o.includes("top") ? o.includes("left") ? n("right", o) : n("left", o) : n("top", o);
|
|
174
|
-
if (
|
|
191
|
+
if (z < u.value.height + (e.arrow ? 4 : 6) && o.length !== 3)
|
|
175
192
|
return n("top", [...o, "bottom"]);
|
|
176
|
-
if (
|
|
193
|
+
if (R >= d && B >= d)
|
|
177
194
|
return "bottom";
|
|
178
195
|
if (o.length !== 3) {
|
|
179
|
-
if (
|
|
196
|
+
if (R >= d)
|
|
180
197
|
return n("left", ["top", "bottom", "right"]);
|
|
181
|
-
if (
|
|
198
|
+
if (B >= d)
|
|
182
199
|
return n("right", ["top", "bottom", "left"]);
|
|
183
200
|
}
|
|
184
|
-
} else if (
|
|
201
|
+
} else if (M === "left") {
|
|
185
202
|
if (o.includes("left"))
|
|
186
203
|
return o.includes("right") ? o.includes("top") ? n("bottom", o) : n("top", o) : n("right", o);
|
|
187
|
-
if (
|
|
204
|
+
if (R < u.value.width + (e.arrow ? 4 : 6) && o.length !== 3)
|
|
188
205
|
return n("right", [...o, "left"]);
|
|
189
|
-
if (
|
|
206
|
+
if (T >= w && z >= w)
|
|
190
207
|
return "left";
|
|
191
208
|
if (o.length !== 3) {
|
|
192
|
-
if (
|
|
209
|
+
if (T >= w)
|
|
193
210
|
return n("top", ["left", "right", "bottom"]);
|
|
194
|
-
if (
|
|
211
|
+
if (z >= w)
|
|
195
212
|
return n("bottom", ["left", "right", "top"]);
|
|
196
213
|
}
|
|
197
|
-
} else if (
|
|
214
|
+
} else if (M === "right") {
|
|
198
215
|
if (o.includes("right"))
|
|
199
216
|
return o.includes("left") ? o.includes("top") ? n("bottom", o) : n("top", o) : n("left", o);
|
|
200
|
-
if (
|
|
217
|
+
if (B < u.value.width + (e.arrow ? 4 : 6) && o.length !== 3)
|
|
201
218
|
return n("left", [...o, "right"]);
|
|
202
|
-
if (
|
|
219
|
+
if (T >= w && z >= w)
|
|
203
220
|
return "right";
|
|
204
221
|
if (o.length !== 3) {
|
|
205
|
-
if (
|
|
222
|
+
if (T >= w)
|
|
206
223
|
return n("top", ["left", "right", "bottom"]);
|
|
207
|
-
if (
|
|
224
|
+
if (z >= w)
|
|
208
225
|
return n("bottom", ["left", "right", "top"]);
|
|
209
226
|
}
|
|
210
227
|
}
|
|
211
228
|
return e.placement;
|
|
212
229
|
}
|
|
213
230
|
}
|
|
214
|
-
function
|
|
215
|
-
y.value &&
|
|
216
|
-
i.value = !0,
|
|
231
|
+
function E() {
|
|
232
|
+
y.value && it(y.value), i.value || (y.value = ut(() => {
|
|
233
|
+
i.value = !0, _(), S("update:show", !0), S("openChange", !0), c.value && e.trigger === "click" && document.addEventListener("click", P, I.value ? { capture: !0 } : !0);
|
|
217
234
|
}, e.showDelay));
|
|
218
235
|
}
|
|
219
236
|
function g() {
|
|
220
|
-
y.value &&
|
|
221
|
-
i.value = !1, S("update:show", !1), S("openChange", !1),
|
|
237
|
+
y.value && it(y.value), i.value && (y.value = ut(() => {
|
|
238
|
+
i.value = !1, S("update:show", !1), S("openChange", !1), c.value && e.trigger === "click" && document.removeEventListener("click", P, I.value ? { capture: !0 } : !0);
|
|
222
239
|
}, e.hideDelay));
|
|
223
240
|
}
|
|
224
|
-
function
|
|
225
|
-
i.value ? g() :
|
|
226
|
-
}
|
|
227
|
-
function Z(t) {
|
|
228
|
-
b.value?.contains(t.target) || g();
|
|
241
|
+
function Ct() {
|
|
242
|
+
i.value ? g() : E();
|
|
229
243
|
}
|
|
230
|
-
function
|
|
231
|
-
|
|
244
|
+
function P(t) {
|
|
245
|
+
V.value?.contains(t.target) || g();
|
|
232
246
|
}
|
|
233
|
-
function
|
|
234
|
-
|
|
247
|
+
function Et() {
|
|
248
|
+
c.value && e.trigger === "hover" && !e.showControl && E();
|
|
235
249
|
}
|
|
236
250
|
function St() {
|
|
251
|
+
c.value && e.trigger === "hover" && !e.showControl && g();
|
|
252
|
+
}
|
|
253
|
+
function kt() {
|
|
237
254
|
S("animationend", i.value);
|
|
238
255
|
}
|
|
239
|
-
function
|
|
240
|
-
e.trigger === "hover" && !e.showControl &&
|
|
256
|
+
function $t() {
|
|
257
|
+
e.trigger === "hover" && !e.showControl && E();
|
|
241
258
|
}
|
|
242
|
-
function
|
|
259
|
+
function Tt() {
|
|
243
260
|
e.trigger === "hover" && !e.showControl && g();
|
|
244
261
|
}
|
|
245
|
-
return
|
|
246
|
-
show:
|
|
262
|
+
return ft({
|
|
263
|
+
show: E,
|
|
247
264
|
hide: g,
|
|
248
|
-
observeScroll:
|
|
249
|
-
}), (t, l) => (
|
|
265
|
+
observeScroll: A
|
|
266
|
+
}), (t, l) => (W(), j("div", {
|
|
250
267
|
class: "tooltip-wrap",
|
|
251
|
-
onMouseenter:
|
|
252
|
-
onMouseleave:
|
|
268
|
+
onMouseenter: Et,
|
|
269
|
+
onMouseleave: St
|
|
253
270
|
}, [
|
|
254
|
-
(
|
|
271
|
+
(W(), Lt(Mt, {
|
|
255
272
|
disabled: t.to === !1,
|
|
256
273
|
to: t.to === !1 ? null : t.to
|
|
257
274
|
}, [
|
|
258
|
-
|
|
275
|
+
Wt(xt, {
|
|
259
276
|
name: "zoom",
|
|
260
277
|
"enter-from-class": "zoom-enter",
|
|
261
278
|
"enter-active-class": "zoom-enter",
|
|
@@ -263,63 +280,63 @@ const Ut = /* @__PURE__ */ zt({
|
|
|
263
280
|
"leave-from-class": "zoom-leave",
|
|
264
281
|
"leave-active-class": "zoom-leave zoom-leave-active",
|
|
265
282
|
"leave-to-class": "zoom-leave zoom-leave-active",
|
|
266
|
-
onAnimationend:
|
|
283
|
+
onAnimationend: kt
|
|
267
284
|
}, {
|
|
268
|
-
default:
|
|
269
|
-
|
|
285
|
+
default: Ot(() => [
|
|
286
|
+
O.value ? Vt((W(), j("div", {
|
|
270
287
|
key: 0,
|
|
271
288
|
ref_key: "tooltipRef",
|
|
272
|
-
ref:
|
|
273
|
-
class:
|
|
274
|
-
style:
|
|
275
|
-
...
|
|
276
|
-
"--tooltip-max-width":
|
|
289
|
+
ref: V,
|
|
290
|
+
class: x(["tooltip-card-container", { [`tooltip-${h.value}-padding`]: t.arrow }]),
|
|
291
|
+
style: F({
|
|
292
|
+
...mt.value,
|
|
293
|
+
"--tooltip-max-width": ct.value,
|
|
277
294
|
"--tooltip-background-color": t.bgColor,
|
|
278
295
|
"--tooltip-transition-duration": `${t.transitionDuration}ms`
|
|
279
296
|
}),
|
|
280
|
-
onMouseenter:
|
|
281
|
-
onMouseleave:
|
|
282
|
-
onKeydown: l[0] || (l[0] =
|
|
297
|
+
onMouseenter: $t,
|
|
298
|
+
onMouseleave: Tt,
|
|
299
|
+
onKeydown: l[0] || (l[0] = q((a) => t.trigger === "click" && t.keyboard && i.value ? g() : () => !1, ["esc"]))
|
|
283
300
|
}, [
|
|
284
|
-
|
|
301
|
+
tt("div", {
|
|
285
302
|
ref_key: "tooltipCardRef",
|
|
286
|
-
ref:
|
|
287
|
-
class:
|
|
288
|
-
style:
|
|
303
|
+
ref: K,
|
|
304
|
+
class: x(["tooltip-card", t.tooltipClass]),
|
|
305
|
+
style: F(t.tooltipStyle)
|
|
289
306
|
}, [
|
|
290
|
-
|
|
291
|
-
|
|
307
|
+
ot(t.$slots, "tooltip", {}, () => [
|
|
308
|
+
nt(lt(t.tooltip), 1)
|
|
292
309
|
], !0)
|
|
293
310
|
], 6),
|
|
294
|
-
t.arrow ? (
|
|
311
|
+
t.arrow ? (W(), j("div", {
|
|
295
312
|
key: 0,
|
|
296
|
-
class:
|
|
297
|
-
}, null, 2)) :
|
|
313
|
+
class: x(["tooltip-arrow", `arrow-${h.value || "top"}`])
|
|
314
|
+
}, null, 2)) : et("", !0)
|
|
298
315
|
], 38)), [
|
|
299
|
-
[
|
|
300
|
-
]) :
|
|
316
|
+
[Ht, c.value && i.value]
|
|
317
|
+
]) : et("", !0)
|
|
301
318
|
]),
|
|
302
319
|
_: 3
|
|
303
320
|
})
|
|
304
321
|
], 8, ["disabled", "to"])),
|
|
305
|
-
|
|
322
|
+
tt("span", {
|
|
306
323
|
ref_key: "tooltipContentRef",
|
|
307
324
|
ref: D,
|
|
308
|
-
class:
|
|
309
|
-
style:
|
|
310
|
-
onClick: l[1] || (l[1] = (a) =>
|
|
325
|
+
class: x(["tooltip-content", t.contentClass]),
|
|
326
|
+
style: F(t.contentStyle),
|
|
327
|
+
onClick: l[1] || (l[1] = (a) => c.value && t.trigger === "click" && !i.value ? E() : () => !1),
|
|
311
328
|
onKeydown: [
|
|
312
|
-
l[2] || (l[2] =
|
|
313
|
-
l[3] || (l[3] =
|
|
329
|
+
l[2] || (l[2] = q((a) => c.value && t.trigger === "click" && t.keyboard ? Ct() : () => !1, ["enter"])),
|
|
330
|
+
l[3] || (l[3] = q((a) => c.value && t.trigger === "click" && t.keyboard && i.value ? g() : () => !1, ["esc"]))
|
|
314
331
|
]
|
|
315
332
|
}, [
|
|
316
|
-
|
|
317
|
-
|
|
333
|
+
ot(t.$slots, "default", {}, () => [
|
|
334
|
+
nt(lt(t.content), 1)
|
|
318
335
|
], !0)
|
|
319
336
|
], 38)
|
|
320
337
|
], 32));
|
|
321
338
|
}
|
|
322
339
|
});
|
|
323
340
|
export {
|
|
324
|
-
|
|
341
|
+
jt as default
|
|
325
342
|
};
|
package/es/upload/Upload.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.upload-wrap[data-v-
|
|
1
|
+
.upload-wrap[data-v-b9505e06]{display:inline-block;width:100%}.upload-wrap .upload-item-panel[data-v-b9505e06]{position:relative;display:inline-block;width:100px;height:100px}.upload-wrap .upload-item-panel .upload-item[data-v-b9505e06]{display:flex;align-items:center;justify-content:center;text-align:center;width:100px;height:100px;border-radius:8px;border:1px dashed #d9d9d9;background-color:#00000005;cursor:pointer;transition:border-color .3s}.upload-wrap .upload-item-panel .upload-item[data-v-b9505e06]:hover{border-color:var(--upload-primary-color)}.upload-wrap .upload-item-panel .upload-item .plus-svg[data-v-b9505e06]{display:inline-block;font-size:14px;color:#000000e0;fill:currentColor}.upload-wrap .upload-item-panel .upload-item .upload-tip[data-v-b9505e06]{margin-top:8px;font-size:14px;color:#000000e0;line-height:1.57142857}.upload-wrap .upload-item-panel .upload-disabled[data-v-b9505e06]{cursor:not-allowed}.upload-wrap .upload-item-panel .upload-disabled[data-v-b9505e06]:hover{border-color:#d9d9d9}.upload-wrap .upload-item-panel .file-uploading[data-v-b9505e06]{width:100px;height:100px;padding:8px;border-radius:8px;border:1px dashed #d9d9d9;background-color:#00000005;display:flex;align-items:center;text-align:center}.upload-wrap .upload-item-panel .file-uploading .spin-uploading[data-v-b9505e06]{display:inline-block}.upload-wrap .upload-item-panel .file-uploading .spin-uploading[data-v-b9505e06] .spin-tip{max-width:82px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.upload-wrap .upload-item-panel .file-preview[data-v-b9505e06]{position:relative;width:100px;height:100px;border-radius:8px;padding:8px;border:1px solid #d9d9d9;display:flex;align-items:center;text-align:center}.upload-wrap .upload-item-panel .file-preview .file-svg[data-v-b9505e06]{display:inline-block;width:100%;height:60px;color:var(--upload-primary-color);fill:currentColor}.upload-wrap .upload-item-panel .file-preview .file-mask[data-v-b9505e06]{position:absolute;inset:0;margin:8px;display:flex;align-items:center;justify-content:center;background:#00000080;opacity:0;pointer-events:none;transition:opacity .3s}.upload-wrap .upload-item-panel .file-preview .file-mask .file-icon[data-v-b9505e06]{display:inline-block;height:16px;margin:0 4px;cursor:pointer}.upload-wrap .upload-item-panel .file-preview .file-mask .file-icon .icon-svg[data-v-b9505e06]{display:inline-block;font-size:16px;color:#ffffffa6;fill:currentColor;cursor:pointer;transition:color .3s}.upload-wrap .upload-item-panel .file-preview .file-mask .file-icon .icon-svg[data-v-b9505e06]:hover{color:#fff}.upload-wrap .upload-item-panel .file-preview:hover .file-mask[data-v-b9505e06]{opacity:1;pointer-events:auto}
|
package/es/upload/Upload.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Upload.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-b9505e06"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
package/es/utils/resolver.js
CHANGED
|
@@ -108,7 +108,7 @@ function p(e, t) {
|
|
|
108
108
|
`vue-amazing-ui/${i}/${s[a]}/${a}.css`
|
|
109
109
|
);
|
|
110
110
|
}), e === "DatePicker" && o.push(
|
|
111
|
-
`vue-amazing-ui/${i}/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.
|
|
111
|
+
`vue-amazing-ui/${i}/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`
|
|
112
112
|
), e === "Swiper" && (o.push(`vue-amazing-ui/${i}/node_modules/.pnpm/swiper@11.2.10/node_modules/swiper/swiper.css`), [
|
|
113
113
|
"effect-cards",
|
|
114
114
|
"effect-creative",
|
package/es/video/Video.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.video-wrap[data-v-
|
|
1
|
+
.video-wrap[data-v-45ca4be1]{width:var(--video-width);height:var(--video-height);position:relative;background:#000;cursor:pointer}.video-wrap .video-element[data-v-45ca4be1]{display:inline-block;width:100%;height:100%;vertical-align:bottom}.video-wrap .icon-play[data-v-45ca4be1]{display:inline-flex;align-items:center;justify-content:center;position:absolute;inset:0;margin:auto;width:80px;height:80px;transform:scale(var(--video-icon-scale));border-radius:50%;background-color:#0009;opacity:0;pointer-events:none;transition:background-color .3s}.video-wrap .icon-play .play-svg[data-v-45ca4be1]{display:inline-block;color:#fff;fill:currentColor;width:29px;height:34px;margin-left:3px}.video-wrap .icon-show[data-v-45ca4be1]{opacity:1}.video-hover:hover .icon-play[data-v-45ca4be1]{background-color:#000000b3}
|
package/es/video/Video.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Video.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-45ca4be1"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
package/es/video/Video.vue2.js
CHANGED
|
@@ -89,7 +89,7 @@ const H = ["src", "poster", "autoplay", "controls", "loop", "muted", "preload"],
|
|
|
89
89
|
xmlns: "http://www.w3.org/2000/svg",
|
|
90
90
|
viewBox: "0 0 34 34"
|
|
91
91
|
}, [
|
|
92
|
-
i("path", { d: `M28.26,11.961L11.035,0.813C7.464-1.498,3,1.391,3,6.013v21.974c0,4.622,4.464,7.511,8.035,5.2L28.26,22.039
|
|
92
|
+
i("path", { d: `M28.26,11.961L11.035,0.813C7.464-1.498,3,1.391,3,6.013v21.974c0,4.622,4.464,7.511,8.035,5.2L28.26,22.039\r
|
|
93
93
|
C31.913,19.675,31.913,14.325,28.26,11.961z` })
|
|
94
94
|
], -1)
|
|
95
95
|
])], 2), [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.waterfall-wrap[data-v-
|
|
1
|
+
.waterfall-wrap[data-v-dad9d5bb]{position:relative;width:var(--waterfall-width);height:var(--waterfall-height);border-radius:var(--waterfall-border-radius);background-color:var(--waterfall-bg-color)}.waterfall-wrap .waterfall-image[data-v-dad9d5bb]{position:absolute}.waterfall-wrap .waterfall-image .image-link[data-v-dad9d5bb]{display:block;height:100%;cursor:default}.waterfall-wrap .waterfall-image .image-link .image-item[data-v-dad9d5bb]{width:100%;height:100%;border-radius:var(--border-radius);display:inline-block;vertical-align:bottom}.waterfall-wrap .waterfall-image .link-cursor[data-v-dad9d5bb]{cursor:pointer}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Waterfall.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-dad9d5bb"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
package/lib/alert/Alert.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.alert-motion-leave[data-v-
|
|
1
|
+
.alert-motion-leave[data-v-a8544be4]{overflow:hidden;opacity:1;transition:max-height .3s cubic-bezier(.78,.14,.15,.86),opacity .3s cubic-bezier(.78,.14,.15,.86),padding .3s cubic-bezier(.78,.14,.15,.86)}.alert-motion-leave-active[data-v-a8544be4]{max-height:0!important;opacity:0!important;padding-block:0!important}.alert-wrap[data-v-a8544be4]{padding:8px 12px;color:#000000e0;font-size:14px;line-height:1.57142857;position:relative;display:flex;align-items:center;word-break:break-all;border-radius:8px}.alert-wrap .alert-icon[data-v-a8544be4]{display:inline-block;margin-right:8px;line-height:0}.alert-wrap .big-icon[data-v-a8544be4]{margin-right:12px;font-size:24px;line-height:0}.alert-wrap .icon-img[data-v-a8544be4]{display:inline-block;width:14px;height:14px}.alert-wrap .big-icon-img[data-v-a8544be4]{display:inline-block;width:24px;height:24px}.alert-wrap .icon-svg[data-v-a8544be4]{display:inline-block}.alert-wrap .alert-content[data-v-a8544be4]{flex:1;min-width:0}.alert-wrap .alert-actions[data-v-a8544be4]{margin-left:8px}.alert-wrap .alert-close[data-v-a8544be4]{margin-left:8px;font-size:12px;color:#00000073;line-height:12px;cursor:pointer;outline:none;transition:color .2s}.alert-wrap .alert-close[data-v-a8544be4]:hover{color:#000000e0}.alert-wrap .alert-close .alert-close[data-v-a8544be4]{display:inline-block;vertical-align:bottom;fill:#00000073;transition:fill .2s}.alert-wrap .alert-close .alert-close[data-v-a8544be4]:hover{fill:#000000e0}.alert-default[data-v-a8544be4]{background-color:#00000005;border:1px solid #d9d9d9}.alert-default .alert-icon[data-v-a8544be4],.alert-default .big-icon[data-v-a8544be4]{color:#000000e0}.alert-default .alert-icon .icon-svg[data-v-a8544be4],.alert-default .big-icon .icon-svg[data-v-a8544be4],.alert-default .alert-icon[data-v-a8544be4] svg,.alert-default .big-icon[data-v-a8544be4] svg{fill:currentColor}.alert-info[data-v-a8544be4]{background-color:var(--alert-primary-bg-color);border:1px solid var(--alert-primary-border-color)}.alert-info .alert-icon[data-v-a8544be4],.alert-info .big-icon[data-v-a8544be4]{color:var(--alert-primary-color)}.alert-info .alert-icon .icon-svg[data-v-a8544be4],.alert-info .big-icon .icon-svg[data-v-a8544be4],.alert-info .alert-icon[data-v-a8544be4] svg,.alert-info .big-icon[data-v-a8544be4] svg{fill:currentColor}.alert-success[data-v-a8544be4]{background-color:var(--alert-success-bg-color);border:1px solid var(--alert-success-border-color)}.alert-success .alert-icon[data-v-a8544be4],.alert-success .big-icon[data-v-a8544be4]{color:var(--alert-success-color)}.alert-success .alert-icon .icon-svg[data-v-a8544be4],.alert-success .big-icon .icon-svg[data-v-a8544be4],.alert-success .alert-icon[data-v-a8544be4] svg,.alert-success .big-icon[data-v-a8544be4] svg{fill:currentColor}.alert-warning[data-v-a8544be4]{background-color:var(--alert-warning-bg-color);border:1px solid var(--alert-warning-border-color)}.alert-warning .alert-icon[data-v-a8544be4],.alert-warning .big-icon[data-v-a8544be4]{color:var(--alert-warning-color)}.alert-warning .alert-icon .icon-svg[data-v-a8544be4],.alert-warning .big-icon .icon-svg[data-v-a8544be4],.alert-warning .alert-icon[data-v-a8544be4] svg,.alert-warning .big-icon[data-v-a8544be4] svg{fill:currentColor}.alert-error[data-v-a8544be4]{background-color:var(--alert-error-bg-color);border:1px solid var(--alert-error-border-color)}.alert-error .alert-icon[data-v-a8544be4],.alert-error .big-icon[data-v-a8544be4]{color:var(--alert-error-color)}.alert-error .alert-icon .icon-svg[data-v-a8544be4],.alert-error .big-icon .icon-svg[data-v-a8544be4],.alert-error .alert-icon[data-v-a8544be4] svg,.alert-error .big-icon[data-v-a8544be4] svg{fill:currentColor}.alert-borderless[data-v-a8544be4]{border:none}.alert-width-description[data-v-a8544be4]{align-items:flex-start;padding:20px 24px}.alert-width-description .alert-message[data-v-a8544be4]{display:block;margin-bottom:8px;color:#000000e0;font-size:16px}.alert-width-description .alert-description[data-v-a8544be4]{display:block}
|
package/lib/alert/Alert.vue.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Alert.vue2.cjs");;/* empty css */const t=require("../_virtual/_plugin-vue_export-helper.cjs"),u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Alert.vue2.cjs");;/* empty css */const t=require("../_virtual/_plugin-vue_export-helper.cjs"),u=t.default(e.default,[["__scopeId","data-v-a8544be4"]]);exports.default=u;
|