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
package/es/select/Select.vue2.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useInject as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as ze, ref as a, computed as T, watch as q, watchEffect as oe, onMounted as Re, onBeforeUnmount as xe, nextTick as Oe, createElementBlock as y, openBlock as h, normalizeStyle as ae, normalizeClass as C, unref as M, createElementVNode as g, createBlock as Pe, withDirectives as W, vModelText as De, toDisplayString as ne, withModifiers as F, Teleport as He, createVNode as G, Transition as We, withCtx as ue, createCommentVNode as Fe, mergeProps as Ne, Fragment as Ie, renderList as Ue, vShow as J } from "vue";
|
|
2
|
+
import je from "../empty/index.js";
|
|
3
|
+
import Ae from "../scrollbar/index.js";
|
|
4
|
+
import { useInject as Xe, useOptionsSupported as Ye, useMutationObserver as qe, useEventListener as Ge } from "../utils/index.js";
|
|
5
|
+
const Je = { class: "select-search" }, Ke = ["readonly", "disabled"], Qe = ["title"], Ze = ["title", "onMouseenter", "onClick"], ot = /* @__PURE__ */ ze({
|
|
6
6
|
__name: "Select",
|
|
7
7
|
props: {
|
|
8
8
|
options: { default: () => [] },
|
|
@@ -24,8 +24,8 @@ const Ye = { class: "select-search" }, qe = ["readonly", "disabled"], Ge = ["tit
|
|
|
24
24
|
modelValue: { default: void 0 }
|
|
25
25
|
},
|
|
26
26
|
emits: ["update:modelValue", "change", "openChange"],
|
|
27
|
-
setup(
|
|
28
|
-
const t =
|
|
27
|
+
setup(se, { emit: ie }) {
|
|
28
|
+
const t = se, N = a(!1), c = a([]), u = a(), z = a(null), f = a(), d = a(!1), R = a(!1), r = a(), n = a(!1), p = a(!0), $ = a(!1), I = a(!1), b = a(!1), x = a(!1), { colorPalettes: U, shadowColor: re } = Xe("Select"), s = a(null), K = a(0), O = a(0), Q = a("bottom"), j = a(null), w = a(), A = a(null), P = a(), X = a(null), Y = a(), ce = a(document.documentElement.clientWidth), D = a(document.documentElement.clientHeight), { isSupported: ve } = Ye("passive"), k = ie, fe = T(() => typeof t.width == "number" ? `${t.width}px` : t.width), de = T(() => {
|
|
29
29
|
const e = {
|
|
30
30
|
small: 24,
|
|
31
31
|
middle: 32,
|
|
@@ -33,219 +33,234 @@ const Ye = { class: "select-search" }, qe = ["readonly", "disabled"], Ge = ["tit
|
|
|
33
33
|
};
|
|
34
34
|
return t.height !== void 0 ? `${t.height}px` : `${e[t.size]}px`;
|
|
35
35
|
});
|
|
36
|
-
|
|
37
|
-
const
|
|
36
|
+
T(() => t.options.length > t.maxDisplay);
|
|
37
|
+
const pe = T(() => ({
|
|
38
38
|
maxHeight: `${t.maxDisplay * 32 + 8}px`
|
|
39
|
-
})),
|
|
40
|
-
const e =
|
|
41
|
-
switch (
|
|
39
|
+
})), me = T(() => {
|
|
40
|
+
const e = w.value?.top ?? 0, l = P.value?.top ?? 0, o = e - l, m = w.value?.bottom ?? 0, L = (P.value?.bottom ?? 0) - m, v = w.value?.left ?? 0, H = P.value?.left ?? 0, i = v - H, E = w.value?.width ?? 0;
|
|
41
|
+
switch (Q.value) {
|
|
42
42
|
case "bottom":
|
|
43
43
|
return {
|
|
44
44
|
transformOrigin: "0 0",
|
|
45
|
-
top: `${
|
|
46
|
-
left: `${
|
|
45
|
+
top: `${o + O.value}px`,
|
|
46
|
+
left: `${i}px`,
|
|
47
47
|
minWidth: `${E}px`,
|
|
48
48
|
width: `${E}px`
|
|
49
49
|
};
|
|
50
50
|
case "top":
|
|
51
51
|
return {
|
|
52
52
|
transformOrigin: "100% 100%",
|
|
53
|
-
bottom: `${
|
|
54
|
-
left: `${
|
|
53
|
+
bottom: `${L + O.value}px`,
|
|
54
|
+
left: `${i}px`,
|
|
55
55
|
minWidth: `${E}px`,
|
|
56
56
|
width: `${E}px`
|
|
57
57
|
};
|
|
58
58
|
default:
|
|
59
59
|
return {
|
|
60
60
|
transformOrigin: "0 0",
|
|
61
|
-
top: `${
|
|
62
|
-
left: `${
|
|
61
|
+
top: `${o + O.value}px`,
|
|
62
|
+
left: `${i}px`,
|
|
63
63
|
minWidth: `${E}px`,
|
|
64
64
|
width: `${E}px`
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
|
-
|
|
68
|
+
q(
|
|
69
69
|
() => [t.placement, t.flip],
|
|
70
70
|
() => {
|
|
71
|
-
|
|
71
|
+
V();
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
deep: !0
|
|
75
75
|
}
|
|
76
|
-
),
|
|
77
|
-
e && !
|
|
78
|
-
}),
|
|
79
|
-
k("openChange", e), t.search && !e && (
|
|
80
|
-
}),
|
|
81
|
-
t.search ? (
|
|
82
|
-
|
|
83
|
-
}, 200),
|
|
84
|
-
}),
|
|
85
|
-
|
|
86
|
-
}), ze(() => {
|
|
87
|
-
Q();
|
|
76
|
+
), q(n, (e) => {
|
|
77
|
+
e && !N.value && (N.value = !0);
|
|
78
|
+
}), q(n, (e) => {
|
|
79
|
+
k("openChange", e), t.search && !e && (f.value = void 0, R.value = !1);
|
|
80
|
+
}), oe(() => {
|
|
81
|
+
t.search ? (f.value ? c.value = t.options.filter((e) => typeof t.filter == "function" ? t.filter(f.value, e) : e[t.label].includes(f.value)) : n.value ? c.value = [...t.options] : setTimeout(() => {
|
|
82
|
+
c.value = [...t.options];
|
|
83
|
+
}, 200), c.value.length && f.value ? r.value = c.value[0][t.value] : r.value = null) : c.value = t.options;
|
|
84
|
+
}), oe(() => {
|
|
85
|
+
Ce();
|
|
88
86
|
}), Re(() => {
|
|
89
|
-
|
|
90
|
-
}),
|
|
91
|
-
|
|
92
|
-
|
|
87
|
+
_();
|
|
88
|
+
}), xe(() => {
|
|
89
|
+
ee();
|
|
90
|
+
});
|
|
91
|
+
const Z = qe(
|
|
92
|
+
s,
|
|
93
|
+
() => {
|
|
94
|
+
K.value !== s.value?.scrollTop && (K.value = s.value?.scrollTop ?? 0, V());
|
|
95
|
+
},
|
|
96
|
+
{ subtree: !0, attributes: !0 }
|
|
97
|
+
);
|
|
98
|
+
Ge(window, "resize", ge);
|
|
99
|
+
function he() {
|
|
100
|
+
let e = X.value?.parentElement;
|
|
93
101
|
for (; e; ) {
|
|
94
102
|
if (e === document.documentElement) {
|
|
95
|
-
|
|
103
|
+
A.value = document.documentElement;
|
|
96
104
|
return;
|
|
97
105
|
}
|
|
98
106
|
const { position: l } = getComputedStyle(e);
|
|
99
107
|
if (l !== "static") {
|
|
100
|
-
|
|
108
|
+
A.value = e;
|
|
101
109
|
return;
|
|
102
110
|
}
|
|
103
111
|
e = e.parentElement;
|
|
104
112
|
}
|
|
105
113
|
}
|
|
106
|
-
function
|
|
107
|
-
|
|
114
|
+
function ge() {
|
|
115
|
+
ce.value = document.documentElement.clientWidth, D.value = document.documentElement.clientHeight, _(), V();
|
|
108
116
|
}
|
|
109
|
-
function
|
|
110
|
-
|
|
117
|
+
function _() {
|
|
118
|
+
ee(), s.value = te(j.value), s.value && s.value.addEventListener(
|
|
111
119
|
"scroll",
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
);
|
|
120
|
+
V,
|
|
121
|
+
ve.value ? { passive: !0 } : void 0
|
|
122
|
+
), s.value === document.documentElement ? Z.start() : Z.stop();
|
|
115
123
|
}
|
|
116
|
-
function
|
|
117
|
-
|
|
124
|
+
function ee() {
|
|
125
|
+
s.value && s.value.removeEventListener("scroll", V), s.value = null;
|
|
118
126
|
}
|
|
119
|
-
function
|
|
127
|
+
function be(e) {
|
|
120
128
|
return e === document.documentElement ? null : e.parentElement;
|
|
121
129
|
}
|
|
122
|
-
function
|
|
130
|
+
function te(e) {
|
|
123
131
|
if (e === null) return null;
|
|
124
|
-
const l =
|
|
132
|
+
const l = be(e);
|
|
125
133
|
return l === null ? null : l === document.documentElement ? document.documentElement : ((m) => {
|
|
126
|
-
const { overflow: S, overflowX:
|
|
127
|
-
return /(auto|scroll|overlay)/.test(S +
|
|
128
|
-
})(l) ? l :
|
|
134
|
+
const { overflow: S, overflowX: L, overflowY: v } = getComputedStyle(m);
|
|
135
|
+
return /(auto|scroll|overlay)/.test(S + v + L);
|
|
136
|
+
})(l) ? l : te(l);
|
|
129
137
|
}
|
|
130
|
-
function
|
|
131
|
-
n.value &&
|
|
138
|
+
function V() {
|
|
139
|
+
n.value && le();
|
|
132
140
|
}
|
|
133
|
-
async function
|
|
134
|
-
await
|
|
141
|
+
async function le() {
|
|
142
|
+
await Oe(), he(), P.value = A.value?.getBoundingClientRect(), w.value = j.value?.getBoundingClientRect(), Y.value = X.value?.offsetHeight, O.value = w.value.height + 4, t.flip && (Q.value = ye());
|
|
135
143
|
}
|
|
136
|
-
function
|
|
137
|
-
|
|
144
|
+
function we() {
|
|
145
|
+
if (s.value) {
|
|
146
|
+
const e = s.value.getBoundingClientRect();
|
|
147
|
+
return {
|
|
148
|
+
top: e.top < 0 ? 0 : e.top,
|
|
149
|
+
bottom: e.bottom > D.value ? D.value : e.bottom
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
return {
|
|
138
153
|
top: 0,
|
|
139
|
-
bottom:
|
|
154
|
+
bottom: D.value
|
|
140
155
|
};
|
|
141
156
|
}
|
|
142
|
-
function
|
|
143
|
-
const { top: e, bottom: l } =
|
|
144
|
-
return
|
|
145
|
-
function
|
|
157
|
+
function ye() {
|
|
158
|
+
const { top: e, bottom: l } = w.value, { top: o, bottom: m } = we(), S = e - o, L = m - l;
|
|
159
|
+
return v(t.placement, []);
|
|
160
|
+
function v(H, i) {
|
|
146
161
|
if (H === "bottom")
|
|
147
|
-
if (
|
|
148
|
-
if (!
|
|
149
|
-
return
|
|
162
|
+
if (i.includes("bottom")) {
|
|
163
|
+
if (!i.includes("top"))
|
|
164
|
+
return v("top", i);
|
|
150
165
|
} else
|
|
151
|
-
return
|
|
166
|
+
return L < Y.value + 4 ? v("top", [...i, "bottom"]) : "bottom";
|
|
152
167
|
else if (H === "top")
|
|
153
|
-
if (
|
|
154
|
-
if (!
|
|
155
|
-
return
|
|
168
|
+
if (i.includes("top")) {
|
|
169
|
+
if (!i.includes("bottom"))
|
|
170
|
+
return v("bottom", i);
|
|
156
171
|
} else
|
|
157
|
-
return S <
|
|
172
|
+
return S < Y.value + 4 ? v("bottom", [...i, "top"]) : "top";
|
|
158
173
|
return t.placement;
|
|
159
174
|
}
|
|
160
175
|
}
|
|
161
|
-
function
|
|
176
|
+
function Ce() {
|
|
162
177
|
if (t.modelValue) {
|
|
163
178
|
const e = t.options.find((l) => l[t.value] === t.modelValue);
|
|
164
|
-
e ? (u.value = e[t.label],
|
|
179
|
+
e ? (u.value = e[t.label], r.value = e[t.value]) : (u.value = t.modelValue, r.value = null);
|
|
165
180
|
} else
|
|
166
|
-
u.value = null,
|
|
167
|
-
}
|
|
168
|
-
function ye() {
|
|
169
|
-
T.value = !0;
|
|
170
|
-
}
|
|
171
|
-
function Ce() {
|
|
172
|
-
T.value = !1, n.value && (n.value = !1), t.search && (w.value = !1, d.value = !0, R.value = !1);
|
|
181
|
+
u.value = null, r.value = null;
|
|
173
182
|
}
|
|
174
183
|
function $e() {
|
|
175
|
-
|
|
184
|
+
x.value = !0;
|
|
176
185
|
}
|
|
177
186
|
function Be() {
|
|
178
|
-
|
|
187
|
+
x.value = !1, n.value && (n.value = !1), t.search && (b.value = !1, p.value = !0, R.value = !1);
|
|
188
|
+
}
|
|
189
|
+
function Se() {
|
|
190
|
+
d.value = !0, t.allowClear && (u.value || t.search && f.value) && (p.value = !1, $.value = !0, t.search && (b.value = !1));
|
|
191
|
+
}
|
|
192
|
+
function Ee() {
|
|
193
|
+
d.value = !1, t.allowClear && $.value && ($.value = !1, t.search || (p.value = !0)), t.search && (n.value ? (b.value = !0, p.value = !1) : (b.value = !1, p.value = !0));
|
|
179
194
|
}
|
|
180
|
-
function
|
|
181
|
-
|
|
195
|
+
function Me(e, l) {
|
|
196
|
+
d.value = !!l, r.value = e;
|
|
182
197
|
}
|
|
183
|
-
async function
|
|
184
|
-
if (B(), !t.search && z.value && (z.value.style.opacity = "0"), n.value = !n.value, n.value &&
|
|
198
|
+
async function ke() {
|
|
199
|
+
if (B(), !t.search && z.value && (z.value.style.opacity = "0"), n.value = !n.value, n.value && le(), !r.value && u.value) {
|
|
185
200
|
const e = t.options.find((l) => l[t.label] === u.value);
|
|
186
|
-
|
|
201
|
+
r.value = e ? e[t.value] : null;
|
|
187
202
|
}
|
|
188
|
-
t.search && ($.value || (
|
|
203
|
+
t.search && ($.value || (p.value = !n.value, b.value = n.value));
|
|
189
204
|
}
|
|
190
|
-
function
|
|
205
|
+
function Ve(e) {
|
|
191
206
|
R.value = !!e.target?.value;
|
|
192
207
|
}
|
|
193
|
-
function
|
|
194
|
-
|
|
208
|
+
function Le() {
|
|
209
|
+
x.value && (B(), I.value = !0), $.value = !1, u.value = null, r.value = null, n.value = !1, b.value = !1, p.value = !0, k("update:modelValue"), k("change");
|
|
195
210
|
}
|
|
196
211
|
function B() {
|
|
197
212
|
z.value?.focus();
|
|
198
213
|
}
|
|
199
|
-
function
|
|
200
|
-
t.modelValue !== e && (u.value = l,
|
|
214
|
+
function Te(e, l, o) {
|
|
215
|
+
t.modelValue !== e && (u.value = l, r.value = e, k("update:modelValue", e), k("change", e, l, o)), I.value = !1, B();
|
|
201
216
|
}
|
|
202
217
|
return (e, l) => (h(), y("div", {
|
|
203
218
|
class: C(["select-wrap", {
|
|
204
|
-
"select-focused":
|
|
219
|
+
"select-focused": x.value,
|
|
205
220
|
"search-select": e.search,
|
|
206
221
|
"select-small": e.size === "small",
|
|
207
222
|
"select-large": e.size === "large",
|
|
208
223
|
"select-disabled": e.disabled
|
|
209
224
|
}]),
|
|
210
|
-
style:
|
|
211
|
-
--select-width: ${
|
|
212
|
-
--select-height: ${
|
|
213
|
-
--select-primary-color-hover: ${M(
|
|
214
|
-
--select-primary-color-focus: ${M(
|
|
215
|
-
--select-primary-shadow-color: ${M(
|
|
225
|
+
style: ae(`
|
|
226
|
+
--select-width: ${fe.value};
|
|
227
|
+
--select-height: ${de.value};
|
|
228
|
+
--select-primary-color-hover: ${M(U)[4]};
|
|
229
|
+
--select-primary-color-focus: ${M(U)[4]};
|
|
230
|
+
--select-primary-shadow-color: ${M(re)};
|
|
216
231
|
`),
|
|
217
|
-
onClick: l[7] || (l[7] = (
|
|
232
|
+
onClick: l[7] || (l[7] = (o) => e.disabled ? () => !1 : ke())
|
|
218
233
|
}, [
|
|
219
234
|
g("div", {
|
|
220
235
|
ref_key: "selectContentRef",
|
|
221
|
-
ref:
|
|
236
|
+
ref: j,
|
|
222
237
|
class: "select-content-container",
|
|
223
|
-
onMouseenter:
|
|
224
|
-
onMouseleave:
|
|
238
|
+
onMouseenter: Se,
|
|
239
|
+
onMouseleave: Ee
|
|
225
240
|
}, [
|
|
226
|
-
g("span",
|
|
241
|
+
g("span", Je, [
|
|
227
242
|
W(g("input", {
|
|
228
243
|
ref_key: "inputRef",
|
|
229
244
|
ref: z,
|
|
230
|
-
class: C(["search-input", { "caret-show": n.value ||
|
|
245
|
+
class: C(["search-input", { "caret-show": n.value || I.value }]),
|
|
231
246
|
type: "text",
|
|
232
247
|
autocomplete: "off",
|
|
233
248
|
readonly: !e.search,
|
|
234
249
|
disabled: e.disabled,
|
|
235
|
-
onInput:
|
|
236
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
237
|
-
onBlur: l[1] || (l[1] = (
|
|
238
|
-
onFocus: l[2] || (l[2] = (
|
|
239
|
-
}, null, 42,
|
|
240
|
-
[
|
|
250
|
+
onInput: Ve,
|
|
251
|
+
"onUpdate:modelValue": l[0] || (l[0] = (o) => f.value = o),
|
|
252
|
+
onBlur: l[1] || (l[1] = (o) => !d.value && !e.disabled ? Be() : () => !1),
|
|
253
|
+
onFocus: l[2] || (l[2] = (o) => e.disabled ? () => !1 : $e())
|
|
254
|
+
}, null, 42, Ke), [
|
|
255
|
+
[De, f.value]
|
|
241
256
|
])
|
|
242
257
|
]),
|
|
243
258
|
g("span", {
|
|
244
259
|
class: C(["select-item", { "select-placeholder": !u.value || n.value, "select-item-hidden": R.value }]),
|
|
245
260
|
title: u.value
|
|
246
|
-
},
|
|
261
|
+
}, ne(u.value || e.placeholder), 11, Qe),
|
|
247
262
|
(h(), y("svg", {
|
|
248
|
-
class: C(["arrow-svg", { "arrow-rotate": n.value, "show-svg":
|
|
263
|
+
class: C(["arrow-svg", { "arrow-rotate": n.value, "show-svg": p.value }]),
|
|
249
264
|
focusable: "false",
|
|
250
265
|
"data-icon": "down",
|
|
251
266
|
width: "1em",
|
|
@@ -257,7 +272,7 @@ const Ye = { class: "select-search" }, qe = ["readonly", "disabled"], Ge = ["tit
|
|
|
257
272
|
g("path", { d: "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" }, null, -1)
|
|
258
273
|
])], 2)),
|
|
259
274
|
(h(), y("svg", {
|
|
260
|
-
class: C(["search-svg", { "show-svg":
|
|
275
|
+
class: C(["search-svg", { "show-svg": b.value }]),
|
|
261
276
|
focusable: "false",
|
|
262
277
|
"data-icon": "search",
|
|
263
278
|
width: "1em",
|
|
@@ -278,16 +293,16 @@ const Ye = { class: "select-search" }, qe = ["readonly", "disabled"], Ge = ["tit
|
|
|
278
293
|
"aria-hidden": "true",
|
|
279
294
|
"fill-rule": "evenodd",
|
|
280
295
|
viewBox: "64 64 896 896",
|
|
281
|
-
onClick:
|
|
296
|
+
onClick: F(Le, ["stop"])
|
|
282
297
|
}, [...l[10] || (l[10] = [
|
|
283
298
|
g("path", { d: "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" }, null, -1)
|
|
284
299
|
])], 2))
|
|
285
300
|
], 544),
|
|
286
|
-
(h(),
|
|
301
|
+
(h(), Pe(He, {
|
|
287
302
|
disabled: e.to === !1,
|
|
288
303
|
to: e.to === !1 ? null : e.to
|
|
289
304
|
}, [
|
|
290
|
-
|
|
305
|
+
G(We, {
|
|
291
306
|
name: "slide",
|
|
292
307
|
"enter-from-class": "slide-enter",
|
|
293
308
|
"enter-active-class": "slide-enter",
|
|
@@ -296,57 +311,57 @@ const Ye = { class: "select-search" }, qe = ["readonly", "disabled"], Ge = ["tit
|
|
|
296
311
|
"leave-active-class": "slide-leave slide-leave-active",
|
|
297
312
|
"leave-to-class": "slide-leave slide-leave-active"
|
|
298
313
|
}, {
|
|
299
|
-
default:
|
|
300
|
-
|
|
314
|
+
default: ue(() => [
|
|
315
|
+
N.value ? W((h(), y("div", {
|
|
301
316
|
key: 0,
|
|
302
317
|
ref_key: "selectPanelRef",
|
|
303
|
-
ref:
|
|
318
|
+
ref: X,
|
|
304
319
|
class: "select-panel-container",
|
|
305
|
-
style:
|
|
306
|
-
...
|
|
307
|
-
"--select-option-bg-color-active": M(
|
|
320
|
+
style: ae({
|
|
321
|
+
...me.value,
|
|
322
|
+
"--select-option-bg-color-active": M(U)[0]
|
|
308
323
|
})
|
|
309
324
|
}, [
|
|
310
|
-
W(
|
|
311
|
-
style: { ...
|
|
325
|
+
W(G(M(Ae), Ne({
|
|
326
|
+
style: { ...pe.value, "--scrollbar-rail-vertical-right": "2px 0 2px auto" },
|
|
312
327
|
class: "select-options-panel",
|
|
313
|
-
onClick:
|
|
314
|
-
onMouseenter: l[3] || (l[3] = (
|
|
315
|
-
onMouseleave: l[4] || (l[4] = (
|
|
328
|
+
onClick: F(B, ["stop"]),
|
|
329
|
+
onMouseenter: l[3] || (l[3] = (o) => d.value = !0),
|
|
330
|
+
onMouseleave: l[4] || (l[4] = (o) => d.value = !1)
|
|
316
331
|
}, e.scrollbarProps), {
|
|
317
|
-
default:
|
|
318
|
-
(h(!0), y(
|
|
332
|
+
default: ue(() => [
|
|
333
|
+
(h(!0), y(Ie, null, Ue(c.value, (o, m) => (h(), y("p", {
|
|
319
334
|
key: m,
|
|
320
335
|
class: C([
|
|
321
336
|
"select-option",
|
|
322
337
|
{
|
|
323
|
-
"option-hover": !
|
|
324
|
-
"option-selected":
|
|
325
|
-
"option-disabled":
|
|
338
|
+
"option-hover": !o.disabled && o[e.value] === r.value,
|
|
339
|
+
"option-selected": o[e.label] === u.value,
|
|
340
|
+
"option-disabled": o.disabled
|
|
326
341
|
}
|
|
327
342
|
]),
|
|
328
|
-
title:
|
|
329
|
-
onMouseenter: (S) =>
|
|
330
|
-
onClick:
|
|
331
|
-
},
|
|
343
|
+
title: o[e.label],
|
|
344
|
+
onMouseenter: (S) => Me(o[e.value], o.disabled),
|
|
345
|
+
onClick: F((S) => o.disabled ? B() : Te(o[e.value], o[e.label], m), ["stop"])
|
|
346
|
+
}, ne(o[e.label]), 43, Ze))), 128))
|
|
332
347
|
]),
|
|
333
348
|
_: 1
|
|
334
349
|
}, 16, ["style"]), [
|
|
335
|
-
[
|
|
350
|
+
[J, c.value.length]
|
|
336
351
|
]),
|
|
337
352
|
W(g("div", {
|
|
338
353
|
class: "select-options-panel options-panel-empty",
|
|
339
|
-
onClick:
|
|
340
|
-
onMouseenter: l[5] || (l[5] = (
|
|
341
|
-
onMouseleave: l[6] || (l[6] = (
|
|
354
|
+
onClick: F(B, ["stop"]),
|
|
355
|
+
onMouseenter: l[5] || (l[5] = (o) => d.value = !0),
|
|
356
|
+
onMouseleave: l[6] || (l[6] = (o) => d.value = !1)
|
|
342
357
|
}, [
|
|
343
|
-
|
|
358
|
+
G(M(je), { image: "outlined" })
|
|
344
359
|
], 544), [
|
|
345
|
-
[
|
|
360
|
+
[J, !c.value.length]
|
|
346
361
|
])
|
|
347
362
|
], 4)), [
|
|
348
|
-
[
|
|
349
|
-
]) :
|
|
363
|
+
[J, n.value]
|
|
364
|
+
]) : Fe("", !0)
|
|
350
365
|
]),
|
|
351
366
|
_: 1
|
|
352
367
|
})
|
|
@@ -355,5 +370,5 @@ const Ye = { class: "select-search" }, qe = ["readonly", "disabled"], Ge = ["tit
|
|
|
355
370
|
}
|
|
356
371
|
});
|
|
357
372
|
export {
|
|
358
|
-
|
|
373
|
+
ot as default
|
|
359
374
|
};
|
package/es/skeleton/Skeleton.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.skeleton-wrap[data-v-
|
|
1
|
+
.skeleton-wrap[data-v-26bc99be]{display:table;width:100%}.skeleton-wrap .skeleton-button[data-v-26bc99be]{display:inline-block;vertical-align:top;background:#0000000f;border-radius:4px;width:64px;min-width:64px;height:32px;line-height:32px}.skeleton-wrap .button-sm[data-v-26bc99be]{width:48px;min-width:48px;height:24px;line-height:24px}.skeleton-wrap .button-lg[data-v-26bc99be]{width:80px;min-width:80px;height:40px;line-height:40px}.skeleton-wrap .button-round[data-v-26bc99be]{border-radius:var(--button-size)}.skeleton-wrap .button-circle[data-v-26bc99be]{width:var(--button-size);min-width:var(--button-size);border-radius:50%}.skeleton-wrap .button-block[data-v-26bc99be]{width:100%}.skeleton-wrap .skeleton-input[data-v-26bc99be]{display:inline-block;vertical-align:top;background:#0000000f;border-radius:4px;width:160px;min-width:160px;height:32px;line-height:32px}.skeleton-wrap .input-sm[data-v-26bc99be]{width:120px;min-width:120px;height:24px;line-height:24px}.skeleton-wrap .input-lg[data-v-26bc99be]{width:200px;min-width:200px;height:40px;line-height:40px}.skeleton-wrap .skeleton-image[data-v-26bc99be]{display:flex;align-items:center;justify-content:center;vertical-align:top;background:#0000000f;border-radius:4px;width:96px;height:96px;line-height:96px}.skeleton-wrap .skeleton-image .image-svg[data-v-26bc99be]{width:48px;height:48px;line-height:48px;max-width:192px;max-height:192px;color:#bfbfbf}.skeleton-wrap .skeleton-image .image-svg .svg-path[data-v-26bc99be]{fill:currentColor}.skeleton-wrap .skeleton-header[data-v-26bc99be]{display:table-cell;padding-right:16px;vertical-align:top}.skeleton-wrap .skeleton-header .skeleton-avatar[data-v-26bc99be]{display:inline-block;vertical-align:top;background:#0000000f;width:32px;height:32px;line-height:32px;border-radius:50%}.skeleton-wrap .skeleton-header .avatar-sm[data-v-26bc99be]{width:24px;height:24px;line-height:24px}.skeleton-wrap .skeleton-header .avatar-lg[data-v-26bc99be]{width:40px;height:40px;line-height:40px}.skeleton-wrap .skeleton-header .avatar-square[data-v-26bc99be]{border-radius:6px}.skeleton-wrap .skeleton-content[data-v-26bc99be]{display:table-cell;width:100%;vertical-align:top}.skeleton-wrap .skeleton-content .skeleton-title[data-v-26bc99be]{margin:0;height:16px;background:#0000000f;border-radius:4px}.skeleton-wrap .skeleton-content .skeleton-paragraph[data-v-26bc99be]{margin:0;padding:0}.skeleton-wrap .skeleton-content .skeleton-paragraph li[data-v-26bc99be]{height:16px;list-style:none;background:#0000000f;border-radius:4px}.skeleton-wrap .skeleton-content .skeleton-paragraph li[data-v-26bc99be]:not(:first-child){margin-top:16px}.skeleton-wrap .skeleton-content .skeleton-paragraph li[data-v-26bc99be]:last-child{width:61%}.skeleton-wrap .skeleton-content .mt24[data-v-26bc99be]{margin-top:24px}.skeleton-wrap .skeleton-content .mt28[data-v-26bc99be]{margin-top:28px}.skeleton-avatar .skeleton-content .skeleton-title[data-v-26bc99be]{margin-top:var(--title-top)}.skeleton-animated .skeleton-button[data-v-26bc99be],.skeleton-animated .skeleton-input[data-v-26bc99be],.skeleton-animated .skeleton-image[data-v-26bc99be],.skeleton-animated .skeleton-header .skeleton-avatar[data-v-26bc99be],.skeleton-animated .skeleton-content .skeleton-title[data-v-26bc99be],.skeleton-animated .skeleton-content .skeleton-paragraph li[data-v-26bc99be]{position:relative;z-index:0;overflow:hidden;background:transparent}.skeleton-animated .skeleton-button[data-v-26bc99be]:after,.skeleton-animated .skeleton-input[data-v-26bc99be]:after,.skeleton-animated .skeleton-image[data-v-26bc99be]:after,.skeleton-animated .skeleton-header .skeleton-avatar[data-v-26bc99be]:after,.skeleton-animated .skeleton-content .skeleton-title[data-v-26bc99be]:after,.skeleton-animated .skeleton-content .skeleton-paragraph li[data-v-26bc99be]:after{position:absolute;inset:0 -150%;background:linear-gradient(90deg,#0000000f 25%,#00000026 37%,#0000000f 63%);animation-name:skeletonLoading-26bc99be;animation-duration:1.4s;animation-timing-function:ease;animation-iteration-count:infinite;content:""}@keyframes skeletonLoading-26bc99be{0%{transform:translate(-37.5%)}to{transform:translate(37.5%)}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Skeleton.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-26bc99be"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
package/es/slider/Slider.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.slider-wrap[data-v-
|
|
1
|
+
.slider-wrap[data-v-a3a1176f]{position:relative;cursor:pointer;touch-action:none}.slider-wrap .slider-rail[data-v-a3a1176f]{position:absolute;background-color:var(--slider-rail-color);border-radius:2px;transition:background-color .2s cubic-bezier(.4,0,.2,1)}.slider-wrap .slider-track[data-v-a3a1176f]{position:absolute;background-color:var(--slider-track-color);border-radius:2px;transition:background-color .2s cubic-bezier(.4,0,.2,1)}.slider-wrap .slider-dots[data-v-a3a1176f]{position:absolute;background:transparent;pointer-events:none}.slider-wrap .slider-dots .slider-dot[data-v-a3a1176f]{position:absolute;width:8px;height:8px;background-color:var(--slider-dot-color);border:2px solid var(--slider-dot-border-color);border-radius:50%;cursor:pointer;transition:border-color .2s cubic-bezier(.4,0,.2,1)}.slider-wrap .slider-dots .slider-dot-active[data-v-a3a1176f]{border-color:var(--slider-dot-color-active)}.slider-wrap .slider-marks[data-v-a3a1176f]{position:absolute;font-size:14px}.slider-wrap .slider-marks .slider-mark[data-v-a3a1176f]{position:absolute;display:inline-block;color:var(--slider-mark-color);text-align:center;word-break:keep-all;cursor:pointer;-webkit-user-select:none;user-select:none}.slider-wrap .slider-marks .slider-mark[data-v-a3a1176f] strong{color:inherit}.slider-wrap .slider-marks .slider-mark[data-v-a3a1176f] svg{fill:currentColor}.slider-wrap .slider-marks .slider-mark-active[data-v-a3a1176f]{color:var(--slider-mark-color-active)}.slider-wrap:hover .slider-rail[data-v-a3a1176f]{background:var(--slider-rail-color-hover)}.slider-wrap:hover .slider-track[data-v-a3a1176f]{background:var(--slider-track-color-hover)}.slider-wrap:hover .slider-dots .slider-dot[data-v-a3a1176f]{border-color:var(--slider-dot-border-color-hover)}.slider-wrap:hover .slider-dots .slider-dot-active[data-v-a3a1176f]{border-color:var(--slider-track-color-hover)}.slider-wrap .slider-handle[data-v-a3a1176f]{position:absolute;width:10px;height:10px;background:var(--slider-handle-color);box-shadow:0 0 0 2px var(--slider-handle-shadow-color);border-radius:50%;outline:none;transition:width .2s cubic-bezier(.4,0,.2,1),height .2s cubic-bezier(.4,0,.2,1),box-shadow .2s cubic-bezier(.4,0,.2,1)}.slider-wrap .slider-handle[data-v-a3a1176f]:before{content:"";position:absolute;left:-2px;top:-2px;width:14px;height:14px;background-color:transparent}.slider-wrap .slider-handle .hover-focus-handle[data-v-a3a1176f]{width:12px;height:12px;box-shadow:0 0 0 4px var(--slider-handle-shadow-color-hover-focus)}.slider-wrap .slider-handle[data-v-a3a1176f]:hover,.slider-wrap .slider-handle[data-v-a3a1176f]:focus{width:12px;height:12px;box-shadow:0 0 0 4px var(--slider-handle-shadow-color-hover-focus)}.slider-wrap .slider-handle[data-v-a3a1176f]:hover:before,.slider-wrap .slider-handle[data-v-a3a1176f]:focus:before{left:-5px;top:-5px;width:20px;height:20px}.slider-wrap .slider-handle .handle-tooltip[data-v-a3a1176f]{position:relative;display:inline-block;width:max-content;min-width:32px;max-width:250px;padding:6px 8px;height:32px;font-size:14px;color:var(--slider-tooltip-color);line-height:20px;text-align:center;border-radius:6px;background:var(--slider-tooltip-bg-color);box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;pointer-events:none;-webkit-user-select:none;user-select:none;outline:none;opacity:0;transition:transform .2s cubic-bezier(.4,0,.2,1),opacity .2s cubic-bezier(.4,0,.2,1)}.slider-wrap .slider-handle .handle-tooltip .tooltip-arrow[data-v-a3a1176f]{position:absolute;z-index:9;display:block;pointer-events:none;width:16px;height:16px;overflow:hidden}.slider-wrap .slider-handle .handle-tooltip .tooltip-arrow[data-v-a3a1176f]:before{position:absolute;bottom:0;left:0;width:16px;height:8px;background-color:var(--slider-tooltip-bg-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:""}.slider-wrap .slider-handle .handle-tooltip .tooltip-arrow[data-v-a3a1176f]:after{position:absolute;width:8.97056275px;height:8.97056275px;bottom:0;left:0;right:0;margin:auto;border-radius:0 0 2px;transform:translateY(50%) rotate(-135deg);box-shadow:3px 3px 7px #0000001a;z-index:0;background:transparent;content:""}.slider-horizontal[data-v-a3a1176f]{padding-block:4px;height:12px;margin:10px 5px}.slider-horizontal .slider-rail[data-v-a3a1176f]{height:4px;width:100%}.slider-horizontal .slider-track[data-v-a3a1176f]{height:4px}.slider-horizontal .slider-dots[data-v-a3a1176f]{left:0;top:4px;width:100%;height:4px}.slider-horizontal .slider-dots .slider-dot[data-v-a3a1176f]{margin-left:-4px;position:absolute;top:-2px}.slider-horizontal .slider-marks[data-v-a3a1176f]{left:0;top:14px;width:100%}.slider-horizontal .slider-handle[data-v-a3a1176f]{top:50%}.slider-horizontal .slider-handle .handle-tooltip[data-v-a3a1176f]{top:-32px;left:50%;transform:translate(-50%,-50%) scale(.8)}.slider-horizontal .slider-handle .handle-tooltip .tooltip-arrow[data-v-a3a1176f]{left:50%;bottom:0;transform:translate(-50%) translateY(100%) rotate(180deg)}.slider-horizontal .slider-handle .show-handle-tooltip[data-v-a3a1176f],.slider-horizontal .slider-handle:hover .handle-tooltip[data-v-a3a1176f]{pointer-events:auto;transform:translate(-50%,-50%) scale(1);opacity:1}.slider-horizontal.slider-with-marks[data-v-a3a1176f]{margin-bottom:30px}.slider-vertical[data-v-a3a1176f]{padding-inline:4px;width:12px;margin:5px 10px}.slider-vertical .slider-rail[data-v-a3a1176f]{width:4px;height:100%}.slider-vertical .slider-track[data-v-a3a1176f]{width:4px}.slider-vertical .slider-dots[data-v-a3a1176f]{left:4px;top:0;height:100%;width:4px}.slider-vertical .slider-dots .slider-dot[data-v-a3a1176f]{margin-bottom:-4px;position:absolute;left:-2px}.slider-vertical .slider-marks[data-v-a3a1176f]{left:18px;top:0;height:100%}.slider-vertical .slider-handle[data-v-a3a1176f]{left:50%}.slider-vertical .slider-handle .handle-tooltip[data-v-a3a1176f]{left:100%;top:50%;transform:translate(16px,-50%) scale(.8)}.slider-vertical .slider-handle .handle-tooltip .tooltip-arrow[data-v-a3a1176f]{top:50%;left:0;transform:translateY(-50%) translate(-100%) rotate(-90deg)}.slider-vertical .slider-handle .show-handle-tooltip[data-v-a3a1176f],.slider-vertical .slider-handle:hover .handle-tooltip[data-v-a3a1176f]{pointer-events:auto;transform:translate(16px,-50%) scale(1);opacity:1}.slider-disabled[data-v-a3a1176f]{cursor:not-allowed}.slider-disabled .slider-rail[data-v-a3a1176f]{background:var(--slider-rail-color-disabled)}.slider-disabled .slider-track[data-v-a3a1176f]{background:var(--slider-track-color-disabled)}.slider-disabled .slider-handle[data-v-a3a1176f]{box-shadow:0 0 0 2px var(--slider-handle-shadow-color-disabled)}.slider-disabled .slider-handle[data-v-a3a1176f]:hover,.slider-disabled .slider-handle[data-v-a3a1176f]:focus{width:10px;height:10px;box-shadow:0 0 0 2px var(--slider-handle-shadow-color-disabled)}.slider-disabled:hover .slider-rail[data-v-a3a1176f]{background:var(--slider-rail-color-disabled)}.slider-disabled:hover .slider-track[data-v-a3a1176f]{background:var(--slider-track-color-disabled)}.slider-vertical.slider-with-marks[data-v-a3a1176f]{margin-right:36px}
|
package/es/slider/Slider.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Slider.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-a3a1176f"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
package/es/space/Space.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.space-wrap[data-v-
|
|
1
|
+
.space-wrap[data-v-25c222ac]{display:inline-flex;font-size:14px;color:#000000e0;transition:all .3s;flex-direction:row}.space-vertical[data-v-25c222ac]{flex-direction:column}.space-stretch[data-v-25c222ac]{align-items:stretch}.space-start[data-v-25c222ac]{align-items:flex-start}.space-end[data-v-25c222ac]{align-items:flex-end}.space-center[data-v-25c222ac]{align-items:center}.space-baseline[data-v-25c222ac]{align-items:baseline}.space-flex-wrap[data-v-25c222ac]{flex-wrap:wrap}
|
package/es/space/Space.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Space.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-25c222ac"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
r as default
|
|
7
7
|
};
|