@noction/vue-bezier 1.11.2 → 2.0.0-beta.1
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 +13 -13
- package/dist/style.css +1 -1
- package/dist/types/components/Collapse/CollapseTransition.vue.d.ts +21 -51
- package/dist/types/components/Fade/FadeTransition.vue.d.ts +21 -51
- package/dist/types/components/Scale/ScaleTransition.vue.d.ts +21 -51
- package/dist/types/components/Slide/SlideXLeftTransition.vue.d.ts +21 -51
- package/dist/types/components/Slide/SlideXRightTransition.vue.d.ts +21 -51
- package/dist/types/components/Slide/SlideYDownTransition.vue.d.ts +21 -51
- package/dist/types/components/Slide/SlideYUpTransition.vue.d.ts +21 -51
- package/dist/types/components/Zoom/ZoomCenterTransition.vue.d.ts +21 -51
- package/dist/types/components/Zoom/ZoomUpTransition.vue.d.ts +21 -51
- package/dist/types/components/Zoom/ZoomXTransition.vue.d.ts +21 -51
- package/dist/types/components/Zoom/ZoomYTransition.vue.d.ts +21 -51
- package/dist/types/components/index.d.ts +10 -0
- package/dist/types/components/v2/Blur/BlurTransition.vue.d.ts +34 -0
- package/dist/types/components/v2/ClipPath/ClipPathTransition.vue.d.ts +21 -0
- package/dist/types/components/v2/Dissolve/DissolveListTransition.vue.d.ts +17 -0
- package/dist/types/components/v2/Dissolve/DissolveTransition.vue.d.ts +17 -0
- package/dist/types/components/v2/FadeSlide/FadeSlideTransition.vue.d.ts +17 -0
- package/dist/types/components/v2/Push/PushTransition.vue.d.ts +21 -0
- package/dist/types/components/v2/Rotate/RotateTransition.vue.d.ts +17 -0
- package/dist/types/components/v2/Scale/ScaleListTransition.vue.d.ts +17 -0
- package/dist/types/components/v2/Wipe/WipeTransition.vue.d.ts +17 -0
- package/dist/types/components/v2/Zoom/ZoomTransition.vue.d.ts +17 -0
- package/dist/types/composables/buildComponentType.d.ts +2 -2
- package/dist/types/composables/useHooks.d.ts +2 -2
- package/dist/types/main.d.ts +1 -1
- package/dist/types/types/index.d.ts +6 -6
- package/dist/vue-bezier.js +691 -190
- package/dist/web-types.json +160 -12
- package/package.json +39 -35
- package/LICENSE +0 -21
package/dist/vue-bezier.js
CHANGED
|
@@ -1,66 +1,65 @@
|
|
|
1
|
-
import { TransitionGroup as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return typeof a == "number" ? a : typeof a == "object" && a !== null ? a[o] ?? 0 : 0;
|
|
1
|
+
import { TransitionGroup as k, Transition as B, defineComponent as c, openBlock as m, createBlock as v, resolveDynamicComponent as T, unref as f, mergeProps as b, withCtx as y, renderSlot as g, computed as d, normalizeStyle as L, normalizeClass as M } from "vue";
|
|
2
|
+
function F(e, a) {
|
|
3
|
+
return typeof e == "number" ? e : typeof e == "object" && e !== null ? e[a] ?? 0 : 0;
|
|
5
4
|
}
|
|
6
|
-
function
|
|
7
|
-
return
|
|
5
|
+
function Z(e) {
|
|
6
|
+
return e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
8
7
|
}
|
|
9
|
-
function
|
|
10
|
-
const
|
|
11
|
-
|
|
8
|
+
function O(e, a) {
|
|
9
|
+
const t = F(e.duration, "enter"), o = F(e.delay, "enter");
|
|
10
|
+
a.style.setProperty("animation-duration", `${t}ms`), a.style.setProperty("animation-delay", `${o}ms`), w(e, a);
|
|
12
11
|
}
|
|
13
|
-
function
|
|
14
|
-
const
|
|
15
|
-
|
|
12
|
+
function X(e, a) {
|
|
13
|
+
const t = F(e.duration, "leave"), o = F(e.delay, "leave");
|
|
14
|
+
a.style.setProperty("animation-duration", `${t}ms`), a.style.setProperty("animation-delay", `${o}ms`), w(e, a);
|
|
16
15
|
}
|
|
17
|
-
function
|
|
18
|
-
|
|
19
|
-
const
|
|
20
|
-
setTimeout(
|
|
16
|
+
function N(e, a, t) {
|
|
17
|
+
I(e, a);
|
|
18
|
+
const o = F(e.duration, "leave"), s = F(e.delay, "leave");
|
|
19
|
+
setTimeout(t, o + s);
|
|
21
20
|
}
|
|
22
|
-
function
|
|
23
|
-
|
|
24
|
-
if (
|
|
25
|
-
const
|
|
26
|
-
|
|
21
|
+
function z(e, a) {
|
|
22
|
+
e.styles && Object.entries(e.styles).forEach(([t]) => {
|
|
23
|
+
if (t in a.style) {
|
|
24
|
+
const o = Z(t);
|
|
25
|
+
a.style.removeProperty(o);
|
|
27
26
|
}
|
|
28
|
-
}),
|
|
27
|
+
}), a.style.removeProperty("animation-duration"), a.style.removeProperty("animation-delay");
|
|
29
28
|
}
|
|
30
|
-
function
|
|
31
|
-
|
|
32
|
-
if (
|
|
33
|
-
const
|
|
34
|
-
|
|
29
|
+
function w(e, a) {
|
|
30
|
+
Y(e, a), e.styles && Object.entries(e.styles).forEach(([t, o]) => {
|
|
31
|
+
if (t in a.style) {
|
|
32
|
+
const s = Z(t);
|
|
33
|
+
a.style.setProperty(s, o);
|
|
35
34
|
}
|
|
36
35
|
});
|
|
37
36
|
}
|
|
38
|
-
function
|
|
39
|
-
if (
|
|
40
|
-
const
|
|
41
|
-
|
|
37
|
+
function I(e, a) {
|
|
38
|
+
if (e.group && a instanceof HTMLElement) {
|
|
39
|
+
const t = getComputedStyle(a), { width: o, height: s, marginLeft: u, marginTop: l } = t, n = o !== "auto" ? Number.parseFloat(o) : a.offsetWidth, $ = s !== "auto" ? Number.parseFloat(s) : a.offsetHeight, E = Number.parseFloat(u), r = Number.parseFloat(l);
|
|
40
|
+
a.style.setProperty("left", `${a.offsetLeft - E}px`, "important"), a.style.setProperty("top", `${a.offsetTop - r}px`, "important"), a.style.setProperty("width", `${n}px`, "important"), a.style.setProperty("height", `${$}px`, "important"), a.style.setProperty("position", "absolute", "important");
|
|
42
41
|
}
|
|
43
42
|
}
|
|
44
|
-
function
|
|
45
|
-
|
|
43
|
+
function Y(e, a) {
|
|
44
|
+
e.origin && a.style.setProperty("transform-origin", e.origin);
|
|
46
45
|
}
|
|
47
|
-
const
|
|
48
|
-
onAfterEnter: (
|
|
49
|
-
|
|
46
|
+
const P = (e, a) => ({
|
|
47
|
+
onAfterEnter: (t) => {
|
|
48
|
+
z(e, t), a("after-enter", t);
|
|
50
49
|
},
|
|
51
|
-
onAfterLeave: (
|
|
52
|
-
|
|
50
|
+
onAfterLeave: (t) => {
|
|
51
|
+
z(e, t), a("after-leave", t);
|
|
53
52
|
},
|
|
54
|
-
onBeforeEnter: (
|
|
55
|
-
|
|
53
|
+
onBeforeEnter: (t) => {
|
|
54
|
+
O(e, t), a("before-enter", t);
|
|
56
55
|
},
|
|
57
|
-
onBeforeLeave: (
|
|
58
|
-
|
|
56
|
+
onBeforeLeave: (t) => {
|
|
57
|
+
X(e, t), a("before-leave", t);
|
|
59
58
|
},
|
|
60
|
-
onLeave: (
|
|
61
|
-
|
|
59
|
+
onLeave: (t, o) => {
|
|
60
|
+
N(e, t, o), a("leave", t, o);
|
|
62
61
|
}
|
|
63
|
-
}),
|
|
62
|
+
}), h = (e) => e.group ? k : B, H = /* @__PURE__ */ c({
|
|
64
63
|
__name: "CollapseTransition",
|
|
65
64
|
props: {
|
|
66
65
|
delay: { default: 0 },
|
|
@@ -73,44 +72,45 @@ const T = (a, o) => ({
|
|
|
73
72
|
}) },
|
|
74
73
|
tag: { default: "span" }
|
|
75
74
|
},
|
|
76
|
-
emits: ["
|
|
77
|
-
setup(
|
|
78
|
-
const
|
|
79
|
-
onAfterEnter(
|
|
80
|
-
|
|
75
|
+
emits: ["afterEnter", "afterLeave", "beforeEnter", "beforeLeave", "leave"],
|
|
76
|
+
setup(e, { emit: a }) {
|
|
77
|
+
const t = e, o = a, s = h(t), u = {
|
|
78
|
+
onAfterEnter(n) {
|
|
79
|
+
n.style.transition = "", n.style.height = "", n.style.overflow = n.dataset.oldOverflow, o("afterEnter", n);
|
|
81
80
|
},
|
|
82
|
-
onAfterLeave(
|
|
83
|
-
|
|
81
|
+
onAfterLeave(n) {
|
|
82
|
+
n.style.transition = "", n.style.height = "", n.style.overflow = n.dataset.oldOverflow, n.style.paddingTop = n.dataset.oldPaddingTop, n.style.paddingBottom = n.dataset.oldPaddingBottom, o("afterLeave", n);
|
|
84
83
|
},
|
|
85
|
-
onBeforeEnter(
|
|
86
|
-
const
|
|
87
|
-
|
|
84
|
+
onBeforeEnter(n) {
|
|
85
|
+
const $ = F(t.duration, "enter");
|
|
86
|
+
n.style.transition = l($), n.dataset || (n.dataset = {}), n.dataset.oldPaddingTop = n.style.paddingTop, n.dataset.oldPaddingBottom = n.style.paddingBottom, n.style.height = "0", n.style.paddingTop = 0, n.style.paddingBottom = 0, w(t, n), o("beforeEnter", n);
|
|
88
87
|
},
|
|
89
|
-
onBeforeLeave(
|
|
90
|
-
|
|
88
|
+
onBeforeLeave(n) {
|
|
89
|
+
n.dataset || (n.dataset = {}), n.dataset.oldPaddingTop = n.style.paddingTop, n.dataset.oldPaddingBottom = n.style.paddingBottom, n.dataset.oldOverflow = n.style.overflow, n.style.height = `${n.scrollHeight}px`, n.style.overflow = "hidden", w(t, n), o("beforeLeave", n);
|
|
91
90
|
},
|
|
92
|
-
onEnter(
|
|
93
|
-
|
|
91
|
+
onEnter(n) {
|
|
92
|
+
n.dataset.oldOverflow = n.style.overflow, n.scrollHeight !== 0 ? (n.style.height = `${n.scrollHeight}px`, n.style.paddingTop = n.dataset.oldPaddingTop, n.style.paddingBottom = n.dataset.oldPaddingBottom) : (n.style.height = "", n.style.paddingTop = n.dataset.oldPaddingTop, n.style.paddingBottom = n.dataset.oldPaddingBottom), n.style.overflow = "hidden";
|
|
94
93
|
},
|
|
95
|
-
onLeave(
|
|
96
|
-
const
|
|
97
|
-
|
|
94
|
+
onLeave(n, $) {
|
|
95
|
+
const E = F(t.duration, "leave");
|
|
96
|
+
n.scrollHeight !== 0 && (n.style.transition = l(E), n.style.height = 0, n.style.paddingTop = 0, n.style.paddingBottom = 0), I(t, n), N(t, n, $), o("leave", n, $);
|
|
98
97
|
}
|
|
99
|
-
}, s = (t) => {
|
|
100
|
-
const d = t / 1e3;
|
|
101
|
-
return `${d}s height ease-in-out, ${d}s padding-top ease-in-out, ${d}s padding-bottom ease-in-out`;
|
|
102
98
|
};
|
|
103
|
-
|
|
104
|
-
|
|
99
|
+
function l(n) {
|
|
100
|
+
const $ = n / 1e3;
|
|
101
|
+
return `${$}s height ease-in-out, ${$}s padding-top ease-in-out, ${$}s padding-bottom ease-in-out`;
|
|
102
|
+
}
|
|
103
|
+
return (n, $) => (m(), v(T(f(s)), b({
|
|
104
|
+
tag: t.tag,
|
|
105
105
|
name: "noc-collapse"
|
|
106
|
-
}, { ...
|
|
107
|
-
default:
|
|
108
|
-
|
|
106
|
+
}, { ...n.$attrs, ...u }), {
|
|
107
|
+
default: y(() => [
|
|
108
|
+
g(n.$slots, "default")
|
|
109
109
|
]),
|
|
110
110
|
_: 3
|
|
111
111
|
}, 16, ["tag"]));
|
|
112
112
|
}
|
|
113
|
-
}),
|
|
113
|
+
}), j = /* @__PURE__ */ c({
|
|
114
114
|
inheritAttrs: !1,
|
|
115
115
|
__name: "FadeTransition",
|
|
116
116
|
props: {
|
|
@@ -124,20 +124,20 @@ const T = (a, o) => ({
|
|
|
124
124
|
}) },
|
|
125
125
|
tag: { default: "span" }
|
|
126
126
|
},
|
|
127
|
-
emits: ["
|
|
128
|
-
setup(
|
|
129
|
-
const
|
|
130
|
-
return (
|
|
131
|
-
tag:
|
|
127
|
+
emits: ["afterEnter", "afterLeave", "beforeEnter", "beforeLeave", "leave"],
|
|
128
|
+
setup(e, { emit: a }) {
|
|
129
|
+
const t = e, o = a, s = h(t), u = P(t, o);
|
|
130
|
+
return (l, n) => (m(), v(T(f(s)), b({
|
|
131
|
+
tag: t.tag,
|
|
132
132
|
name: "noc-fade"
|
|
133
|
-
}, { ...
|
|
134
|
-
default:
|
|
135
|
-
|
|
133
|
+
}, { ...l.$attrs, ...f(u) }), {
|
|
134
|
+
default: y(() => [
|
|
135
|
+
g(l.$slots, "default")
|
|
136
136
|
]),
|
|
137
137
|
_: 3
|
|
138
138
|
}, 16, ["tag"]));
|
|
139
139
|
}
|
|
140
|
-
}),
|
|
140
|
+
}), U = /* @__PURE__ */ c({
|
|
141
141
|
inheritAttrs: !1,
|
|
142
142
|
__name: "ScaleTransition",
|
|
143
143
|
props: {
|
|
@@ -151,20 +151,20 @@ const T = (a, o) => ({
|
|
|
151
151
|
}) },
|
|
152
152
|
tag: { default: "span" }
|
|
153
153
|
},
|
|
154
|
-
emits: ["
|
|
155
|
-
setup(
|
|
156
|
-
const
|
|
157
|
-
return (
|
|
158
|
-
tag:
|
|
154
|
+
emits: ["afterEnter", "afterLeave", "beforeEnter", "beforeLeave", "leave"],
|
|
155
|
+
setup(e, { emit: a }) {
|
|
156
|
+
const t = e, o = a, s = h(t), u = P(t, o);
|
|
157
|
+
return (l, n) => (m(), v(T(f(s)), b({
|
|
158
|
+
tag: t.tag,
|
|
159
159
|
name: "noc-scale"
|
|
160
|
-
}, { ...
|
|
161
|
-
default:
|
|
162
|
-
|
|
160
|
+
}, { ...l.$attrs, ...f(u) }), {
|
|
161
|
+
default: y(() => [
|
|
162
|
+
g(l.$slots, "default")
|
|
163
163
|
]),
|
|
164
164
|
_: 3
|
|
165
165
|
}, 16, ["tag"]));
|
|
166
166
|
}
|
|
167
|
-
}),
|
|
167
|
+
}), x = /* @__PURE__ */ c({
|
|
168
168
|
inheritAttrs: !1,
|
|
169
169
|
__name: "SlideXLeftTransition",
|
|
170
170
|
props: {
|
|
@@ -178,20 +178,20 @@ const T = (a, o) => ({
|
|
|
178
178
|
}) },
|
|
179
179
|
tag: { default: "span" }
|
|
180
180
|
},
|
|
181
|
-
emits: ["
|
|
182
|
-
setup(
|
|
183
|
-
const
|
|
184
|
-
return (
|
|
185
|
-
tag:
|
|
181
|
+
emits: ["afterEnter", "afterLeave", "beforeEnter", "beforeLeave", "leave"],
|
|
182
|
+
setup(e, { emit: a }) {
|
|
183
|
+
const t = e, o = a, s = h(t), u = P(t, o);
|
|
184
|
+
return (l, n) => (m(), v(T(f(s)), b({
|
|
185
|
+
tag: t.tag,
|
|
186
186
|
name: "noc-slide-left"
|
|
187
|
-
}, { ...
|
|
188
|
-
default:
|
|
189
|
-
|
|
187
|
+
}, { ...l.$attrs, ...f(u) }), {
|
|
188
|
+
default: y(() => [
|
|
189
|
+
g(l.$slots, "default")
|
|
190
190
|
]),
|
|
191
191
|
_: 3
|
|
192
192
|
}, 16, ["tag"]));
|
|
193
193
|
}
|
|
194
|
-
}),
|
|
194
|
+
}), R = /* @__PURE__ */ c({
|
|
195
195
|
inheritAttrs: !1,
|
|
196
196
|
__name: "SlideXRightTransition",
|
|
197
197
|
props: {
|
|
@@ -205,20 +205,20 @@ const T = (a, o) => ({
|
|
|
205
205
|
}) },
|
|
206
206
|
tag: { default: "span" }
|
|
207
207
|
},
|
|
208
|
-
emits: ["
|
|
209
|
-
setup(
|
|
210
|
-
const
|
|
211
|
-
return (
|
|
212
|
-
tag:
|
|
208
|
+
emits: ["afterEnter", "afterLeave", "beforeEnter", "beforeLeave", "leave"],
|
|
209
|
+
setup(e, { emit: a }) {
|
|
210
|
+
const t = e, o = a, s = h(t), u = P(t, o);
|
|
211
|
+
return (l, n) => (m(), v(T(f(s)), b({
|
|
212
|
+
tag: t.tag,
|
|
213
213
|
name: "noc-slide-right"
|
|
214
|
-
}, { ...
|
|
215
|
-
default:
|
|
216
|
-
|
|
214
|
+
}, { ...l.$attrs, ...f(u) }), {
|
|
215
|
+
default: y(() => [
|
|
216
|
+
g(l.$slots, "default")
|
|
217
217
|
]),
|
|
218
218
|
_: 3
|
|
219
219
|
}, 16, ["tag"]));
|
|
220
220
|
}
|
|
221
|
-
}),
|
|
221
|
+
}), W = /* @__PURE__ */ c({
|
|
222
222
|
inheritAttrs: !1,
|
|
223
223
|
__name: "SlideYDownTransition",
|
|
224
224
|
props: {
|
|
@@ -232,20 +232,20 @@ const T = (a, o) => ({
|
|
|
232
232
|
}) },
|
|
233
233
|
tag: { default: "span" }
|
|
234
234
|
},
|
|
235
|
-
emits: ["
|
|
236
|
-
setup(
|
|
237
|
-
const
|
|
238
|
-
return (
|
|
239
|
-
tag:
|
|
235
|
+
emits: ["afterEnter", "afterLeave", "beforeEnter", "beforeLeave", "leave"],
|
|
236
|
+
setup(e, { emit: a }) {
|
|
237
|
+
const t = e, o = a, s = h(t), u = P(t, o);
|
|
238
|
+
return (l, n) => (m(), v(T(f(s)), b({
|
|
239
|
+
tag: t.tag,
|
|
240
240
|
name: "noc-slide-down"
|
|
241
|
-
}, { ...
|
|
242
|
-
default:
|
|
243
|
-
|
|
241
|
+
}, { ...l.$attrs, ...f(u) }), {
|
|
242
|
+
default: y(() => [
|
|
243
|
+
g(l.$slots, "default")
|
|
244
244
|
]),
|
|
245
245
|
_: 3
|
|
246
246
|
}, 16, ["tag"]));
|
|
247
247
|
}
|
|
248
|
-
}),
|
|
248
|
+
}), K = /* @__PURE__ */ c({
|
|
249
249
|
inheritAttrs: !1,
|
|
250
250
|
__name: "SlideYUpTransition",
|
|
251
251
|
props: {
|
|
@@ -259,20 +259,501 @@ const T = (a, o) => ({
|
|
|
259
259
|
}) },
|
|
260
260
|
tag: { default: "span" }
|
|
261
261
|
},
|
|
262
|
-
emits: ["
|
|
263
|
-
setup(
|
|
264
|
-
const
|
|
265
|
-
return (
|
|
266
|
-
tag:
|
|
262
|
+
emits: ["afterEnter", "afterLeave", "beforeEnter", "beforeLeave", "leave"],
|
|
263
|
+
setup(e, { emit: a }) {
|
|
264
|
+
const t = e, o = a, s = h(t), u = P(t, o);
|
|
265
|
+
return (l, n) => (m(), v(T(f(s)), b({
|
|
266
|
+
tag: t.tag,
|
|
267
267
|
name: "noc-slide-up"
|
|
268
|
-
}, { ...
|
|
269
|
-
default:
|
|
270
|
-
|
|
268
|
+
}, { ...l.$attrs, ...f(u) }), {
|
|
269
|
+
default: y(() => [
|
|
270
|
+
g(l.$slots, "default")
|
|
271
271
|
]),
|
|
272
272
|
_: 3
|
|
273
273
|
}, 16, ["tag"]));
|
|
274
274
|
}
|
|
275
|
-
}),
|
|
275
|
+
}), q = /* @__PURE__ */ c({
|
|
276
|
+
__name: "BlurTransition",
|
|
277
|
+
props: {
|
|
278
|
+
duration: { default: 500 },
|
|
279
|
+
delay: { default: 0 }
|
|
280
|
+
},
|
|
281
|
+
setup(e) {
|
|
282
|
+
const a = d(() => ({
|
|
283
|
+
enter: `${typeof e.duration == "number" ? e.duration : e.duration.enter}ms`,
|
|
284
|
+
leave: `${typeof e.duration == "number" ? e.duration : e.duration.leave}ms`
|
|
285
|
+
})), t = d(() => ({
|
|
286
|
+
enter: `${typeof e.delay == "number" ? e.delay : e.delay.enter}ms`,
|
|
287
|
+
leave: `${typeof e.delay == "number" ? e.delay : e.delay.leave}ms`
|
|
288
|
+
}));
|
|
289
|
+
return (o, s) => (m(), v(B, {
|
|
290
|
+
"enter-active-class": "blur-enter-active",
|
|
291
|
+
"enter-from-class": "blur-enter-from",
|
|
292
|
+
"enter-to-class": "blur-enter-to",
|
|
293
|
+
"leave-active-class": "blur-leave-active",
|
|
294
|
+
"leave-from-class": "blur-leave-from",
|
|
295
|
+
"leave-to-class": "blur-leave-to",
|
|
296
|
+
style: L({
|
|
297
|
+
"--transition-enter-duration": a.value.enter,
|
|
298
|
+
"--transition-leave-duration": a.value.leave,
|
|
299
|
+
"--transition-enter-delay": t.value.enter,
|
|
300
|
+
"--transition-leave-delay": t.value.leave
|
|
301
|
+
})
|
|
302
|
+
}, {
|
|
303
|
+
default: y(() => [
|
|
304
|
+
g(o.$slots, "default", {}, void 0, !0)
|
|
305
|
+
]),
|
|
306
|
+
_: 3
|
|
307
|
+
}, 8, ["style"]));
|
|
308
|
+
}
|
|
309
|
+
}), D = (e, a) => {
|
|
310
|
+
const t = e.__vccOpts || e;
|
|
311
|
+
for (const [o, s] of a)
|
|
312
|
+
t[o] = s;
|
|
313
|
+
return t;
|
|
314
|
+
}, G = /* @__PURE__ */ D(q, [["__scopeId", "data-v-7be59bae"]]), V = /* @__PURE__ */ c({
|
|
315
|
+
__name: "ClipPathTransition",
|
|
316
|
+
props: {
|
|
317
|
+
delay: { default: 0 },
|
|
318
|
+
duration: { default: 1e3 },
|
|
319
|
+
group: { type: Boolean },
|
|
320
|
+
origin: {},
|
|
321
|
+
styles: {},
|
|
322
|
+
tag: {},
|
|
323
|
+
clipType: { default: "circle" }
|
|
324
|
+
},
|
|
325
|
+
setup(e) {
|
|
326
|
+
const a = d(() => ({
|
|
327
|
+
enter: `${typeof e.duration == "number" ? e.duration : e.duration.enter}ms`,
|
|
328
|
+
leave: `${typeof e.duration == "number" ? e.duration : e.duration.leave}ms`
|
|
329
|
+
})), t = d(() => ({
|
|
330
|
+
enter: `${typeof e.delay == "number" ? e.delay : e.delay.enter}ms`,
|
|
331
|
+
leave: `${typeof e.delay == "number" ? e.delay : e.delay.leave}ms`
|
|
332
|
+
})), o = d(() => e.clipType === "circle" ? "clip-circle" : "clip-square");
|
|
333
|
+
return (s, u) => (m(), v(B, {
|
|
334
|
+
mode: "default",
|
|
335
|
+
class: M([o.value]),
|
|
336
|
+
"enter-active-class": "clip-enter-active",
|
|
337
|
+
"enter-from-class": "clip-enter-from",
|
|
338
|
+
"enter-to-class": "clip-enter-to",
|
|
339
|
+
"leave-active-class": "clip-leave-active",
|
|
340
|
+
style: L({
|
|
341
|
+
"--transition-enter-duration": a.value.enter,
|
|
342
|
+
"--transition-leave-duration": a.value.leave,
|
|
343
|
+
"--transition-enter-delay": t.value.enter,
|
|
344
|
+
"--transition-leave-delay": t.value.leave
|
|
345
|
+
})
|
|
346
|
+
}, {
|
|
347
|
+
default: y(() => [
|
|
348
|
+
g(s.$slots, "default", {}, void 0, !0)
|
|
349
|
+
]),
|
|
350
|
+
_: 3
|
|
351
|
+
}, 8, ["class", "style"]));
|
|
352
|
+
}
|
|
353
|
+
}), J = /* @__PURE__ */ D(V, [["__scopeId", "data-v-df810289"]]), Q = /* @__PURE__ */ c({
|
|
354
|
+
__name: "DissolveListTransition",
|
|
355
|
+
props: {
|
|
356
|
+
delay: { default: 0 },
|
|
357
|
+
duration: { default: 300 },
|
|
358
|
+
group: { type: Boolean },
|
|
359
|
+
origin: {},
|
|
360
|
+
styles: {},
|
|
361
|
+
tag: { default: "span" }
|
|
362
|
+
},
|
|
363
|
+
setup(e) {
|
|
364
|
+
const a = d(() => typeof e.duration == "number" ? {
|
|
365
|
+
enter: `${e.duration}ms`,
|
|
366
|
+
leave: `${e.duration}ms`
|
|
367
|
+
} : {
|
|
368
|
+
enter: `${e.duration.enter}ms`,
|
|
369
|
+
leave: `${e.duration.leave}ms`
|
|
370
|
+
}), t = d(() => typeof e.delay == "number" ? {
|
|
371
|
+
enter: `${e.delay}ms`,
|
|
372
|
+
leave: `${e.delay}ms`
|
|
373
|
+
} : {
|
|
374
|
+
enter: `${e.delay.enter}ms`,
|
|
375
|
+
leave: `${e.delay.leave}ms`
|
|
376
|
+
});
|
|
377
|
+
function o(r) {
|
|
378
|
+
const i = getComputedStyle(r), { width: p, height: S } = i, { marginLeft: C, marginTop: A } = i;
|
|
379
|
+
r.style.setProperty("left", `${r.offsetLeft - Number.parseFloat(C)}px`, "important"), r.style.setProperty("top", `${r.offsetTop - Number.parseFloat(A)}px`, "important"), r.style.setProperty("width", `${Number.parseFloat(p)}px`, "important"), r.style.setProperty("height", `${Number.parseFloat(S)}px`, "important");
|
|
380
|
+
}
|
|
381
|
+
function s(r) {
|
|
382
|
+
r.style.setProperty("transition-duration", "0ms", "important"), r.style.setProperty("transition-delay", "0ms", "important");
|
|
383
|
+
}
|
|
384
|
+
function u(r) {
|
|
385
|
+
r.style.removeProperty("transition-duration"), r.style.removeProperty("transition-timing-function"), r.style.removeProperty("transition-delay");
|
|
386
|
+
}
|
|
387
|
+
function l(r, i = "enter") {
|
|
388
|
+
const p = a.value[i], S = t.value[i];
|
|
389
|
+
r.style.setProperty("transition-duration", p, "important"), r.style.setProperty("transition-delay", S, "important");
|
|
390
|
+
}
|
|
391
|
+
function n(r) {
|
|
392
|
+
const i = r;
|
|
393
|
+
u(i), i.style.removeProperty("opacity");
|
|
394
|
+
}
|
|
395
|
+
function $(r) {
|
|
396
|
+
const i = r;
|
|
397
|
+
s(i), o(i);
|
|
398
|
+
}
|
|
399
|
+
function E(r) {
|
|
400
|
+
const i = r;
|
|
401
|
+
l(i, "leave"), i.style.setProperty("opacity", "0", "important");
|
|
402
|
+
}
|
|
403
|
+
return (r, i) => (m(), v(k, {
|
|
404
|
+
tag: r.tag,
|
|
405
|
+
class: "dissolve-list",
|
|
406
|
+
"enter-active-class": "dissolve-enter-active",
|
|
407
|
+
"enter-from-class": "dissolve-enter-from",
|
|
408
|
+
"enter-to-class": "dissolve-enter-to",
|
|
409
|
+
"leave-active-class": "dissolve-leave-active",
|
|
410
|
+
"leave-from-class": "dissolve-leave-from",
|
|
411
|
+
"leave-to-class": "dissolve-leave-to",
|
|
412
|
+
"move-class": "dissolve-move",
|
|
413
|
+
style: L({
|
|
414
|
+
"--transition-enter-duration": a.value.enter,
|
|
415
|
+
"--transition-leave-duration": a.value.leave,
|
|
416
|
+
"--transition-enter-delay": t.value.enter,
|
|
417
|
+
"--transition-leave-delay": t.value.leave
|
|
418
|
+
}),
|
|
419
|
+
onAfterLeave: i[0] || (i[0] = (p) => n(p)),
|
|
420
|
+
onBeforeLeave: i[1] || (i[1] = (p) => $(p)),
|
|
421
|
+
onLeave: i[2] || (i[2] = (p) => E(p))
|
|
422
|
+
}, {
|
|
423
|
+
default: y(() => [
|
|
424
|
+
g(r.$slots, "default")
|
|
425
|
+
]),
|
|
426
|
+
_: 3
|
|
427
|
+
}, 8, ["tag", "style"]));
|
|
428
|
+
}
|
|
429
|
+
}), _ = /* @__PURE__ */ c({
|
|
430
|
+
__name: "DissolveTransition",
|
|
431
|
+
props: {
|
|
432
|
+
delay: { default: 0 },
|
|
433
|
+
duration: { default: 300 },
|
|
434
|
+
group: { type: Boolean },
|
|
435
|
+
origin: {},
|
|
436
|
+
styles: {},
|
|
437
|
+
tag: {}
|
|
438
|
+
},
|
|
439
|
+
setup(e) {
|
|
440
|
+
const a = d(() => typeof e.duration == "number" ? {
|
|
441
|
+
enter: `${e.duration}ms`,
|
|
442
|
+
leave: `${e.duration}ms`
|
|
443
|
+
} : {
|
|
444
|
+
enter: `${e.duration.enter}ms`,
|
|
445
|
+
leave: `${e.duration.leave}ms`
|
|
446
|
+
}), t = d(() => typeof e.delay == "number" ? {
|
|
447
|
+
enter: `${e.delay}ms`,
|
|
448
|
+
leave: `${e.delay}ms`
|
|
449
|
+
} : {
|
|
450
|
+
enter: `${e.delay.enter}ms`,
|
|
451
|
+
leave: `${e.delay.leave}ms`
|
|
452
|
+
});
|
|
453
|
+
return (o, s) => (m(), v(B, {
|
|
454
|
+
"enter-active-class": "dissolve-enter-active",
|
|
455
|
+
"enter-from-class": "dissolve-enter-from",
|
|
456
|
+
"enter-to-class": "dissolve-enter-to",
|
|
457
|
+
"leave-active-class": "dissolve-leave-active",
|
|
458
|
+
"leave-from-class": "dissolve-leave-from",
|
|
459
|
+
"leave-to-class": "dissolve-leave-to",
|
|
460
|
+
"move-class": "dissolve-move",
|
|
461
|
+
style: L({
|
|
462
|
+
"--transition-enter-duration": a.value.enter,
|
|
463
|
+
"--transition-leave-duration": a.value.leave,
|
|
464
|
+
"--transition-enter-delay": t.value.enter,
|
|
465
|
+
"--transition-leave-delay": t.value.leave
|
|
466
|
+
})
|
|
467
|
+
}, {
|
|
468
|
+
default: y(() => [
|
|
469
|
+
g(o.$slots, "default", {}, void 0, !0)
|
|
470
|
+
]),
|
|
471
|
+
_: 3
|
|
472
|
+
}, 8, ["style"]));
|
|
473
|
+
}
|
|
474
|
+
}), ee = /* @__PURE__ */ D(_, [["__scopeId", "data-v-5960431f"]]), te = /* @__PURE__ */ c({
|
|
475
|
+
__name: "FadeSlideTransition",
|
|
476
|
+
props: {
|
|
477
|
+
delay: { default: 0 },
|
|
478
|
+
duration: { default: 300 },
|
|
479
|
+
group: { type: Boolean },
|
|
480
|
+
origin: {},
|
|
481
|
+
styles: {},
|
|
482
|
+
tag: {}
|
|
483
|
+
},
|
|
484
|
+
setup(e) {
|
|
485
|
+
const a = d(() => typeof e.duration == "number" ? {
|
|
486
|
+
enter: `${e.duration}ms`,
|
|
487
|
+
leave: `${e.duration}ms`
|
|
488
|
+
} : {
|
|
489
|
+
enter: `${e.duration.enter}ms`,
|
|
490
|
+
leave: `${e.duration.leave}ms`
|
|
491
|
+
}), t = d(() => typeof e.delay == "number" ? {
|
|
492
|
+
enter: `${e.delay}ms`,
|
|
493
|
+
leave: `${e.delay}ms`
|
|
494
|
+
} : {
|
|
495
|
+
enter: `${e.delay.enter}ms`,
|
|
496
|
+
leave: `${e.delay.leave}ms`
|
|
497
|
+
});
|
|
498
|
+
return (o, s) => (m(), v(B, {
|
|
499
|
+
"enter-active-class": "fade-slide-enter-active",
|
|
500
|
+
"enter-from-class": "fade-slide-enter-from",
|
|
501
|
+
"enter-to-class": "fade-slide-enter-to",
|
|
502
|
+
"leave-active-class": "fade-slide-leave-active",
|
|
503
|
+
"leave-from-class": "fade-slide-leave-from",
|
|
504
|
+
"leave-to-class": "fade-slide-leave-to",
|
|
505
|
+
style: L({
|
|
506
|
+
"--transition-enter-duration": a.value.enter,
|
|
507
|
+
"--transition-leave-duration": a.value.leave,
|
|
508
|
+
"--transition-enter-delay": t.value.enter,
|
|
509
|
+
"--transition-leave-delay": t.value.leave
|
|
510
|
+
})
|
|
511
|
+
}, {
|
|
512
|
+
default: y(() => [
|
|
513
|
+
g(o.$slots, "default", {}, void 0, !0)
|
|
514
|
+
]),
|
|
515
|
+
_: 3
|
|
516
|
+
}, 8, ["style"]));
|
|
517
|
+
}
|
|
518
|
+
}), ae = /* @__PURE__ */ D(te, [["__scopeId", "data-v-9e8b9b73"]]), ne = /* @__PURE__ */ c({
|
|
519
|
+
__name: "PushTransition",
|
|
520
|
+
props: {
|
|
521
|
+
delay: { default: 0 },
|
|
522
|
+
duration: { default: 300 },
|
|
523
|
+
group: { type: Boolean },
|
|
524
|
+
origin: {},
|
|
525
|
+
styles: {},
|
|
526
|
+
tag: {},
|
|
527
|
+
direction: { default: "right" }
|
|
528
|
+
},
|
|
529
|
+
setup(e) {
|
|
530
|
+
const a = d(() => typeof e.duration == "number" ? {
|
|
531
|
+
enter: `${e.duration}ms`,
|
|
532
|
+
leave: `${e.duration}ms`
|
|
533
|
+
} : {
|
|
534
|
+
enter: `${e.duration.enter}ms`,
|
|
535
|
+
leave: `${e.duration.leave}ms`
|
|
536
|
+
}), t = d(() => typeof e.delay == "number" ? {
|
|
537
|
+
enter: `${e.delay}ms`,
|
|
538
|
+
leave: `${e.delay}ms`
|
|
539
|
+
} : {
|
|
540
|
+
enter: `${e.delay.enter}ms`,
|
|
541
|
+
leave: `${e.delay.leave}ms`
|
|
542
|
+
}), o = d(() => `push-${e.direction}`);
|
|
543
|
+
return (s, u) => (m(), v(B, {
|
|
544
|
+
class: M([o.value]),
|
|
545
|
+
"enter-active-class": "push-enter-active",
|
|
546
|
+
"enter-from-class": "push-enter-from",
|
|
547
|
+
"enter-to-class": "push-enter-to",
|
|
548
|
+
"leave-active-class": "push-leave-active",
|
|
549
|
+
"leave-from-class": "push-leave-from",
|
|
550
|
+
"leave-to-class": "push-leave-to",
|
|
551
|
+
style: L({
|
|
552
|
+
"--transition-enter-duration": a.value.enter,
|
|
553
|
+
"--transition-leave-duration": a.value.leave,
|
|
554
|
+
"--transition-enter-delay": t.value.enter,
|
|
555
|
+
"--transition-leave-delay": t.value.leave
|
|
556
|
+
})
|
|
557
|
+
}, {
|
|
558
|
+
default: y(() => [
|
|
559
|
+
g(s.$slots, "default", {}, void 0, !0)
|
|
560
|
+
]),
|
|
561
|
+
_: 3
|
|
562
|
+
}, 8, ["class", "style"]));
|
|
563
|
+
}
|
|
564
|
+
}), oe = /* @__PURE__ */ D(ne, [["__scopeId", "data-v-534f8451"]]), re = /* @__PURE__ */ c({
|
|
565
|
+
__name: "RotateTransition",
|
|
566
|
+
props: {
|
|
567
|
+
delay: { default: 0 },
|
|
568
|
+
duration: { default: 300 },
|
|
569
|
+
group: { type: Boolean },
|
|
570
|
+
origin: {},
|
|
571
|
+
styles: {},
|
|
572
|
+
tag: {}
|
|
573
|
+
},
|
|
574
|
+
setup(e) {
|
|
575
|
+
const a = d(() => ({
|
|
576
|
+
enter: `${typeof e.duration == "number" ? e.duration : e.duration.enter}ms`,
|
|
577
|
+
leave: `${typeof e.duration == "number" ? e.duration : e.duration.leave}ms`
|
|
578
|
+
})), t = d(() => ({
|
|
579
|
+
enter: `${typeof e.delay == "number" ? e.delay : e.delay.enter}ms`,
|
|
580
|
+
leave: `${typeof e.delay == "number" ? e.delay : e.delay.leave}ms`
|
|
581
|
+
}));
|
|
582
|
+
return (o, s) => (m(), v(B, {
|
|
583
|
+
mode: "out-in",
|
|
584
|
+
"enter-active-class": "rotate-enter-active",
|
|
585
|
+
"enter-from-class": "rotate-enter-from",
|
|
586
|
+
"enter-to-class": "rotate-enter-to",
|
|
587
|
+
"leave-active-class": "rotate-leave-active",
|
|
588
|
+
"leave-from-class": "rotate-leave-from",
|
|
589
|
+
"leave-to-class": "rotate-leave-to",
|
|
590
|
+
style: L({
|
|
591
|
+
"--transition-enter-duration": a.value.enter,
|
|
592
|
+
"--transition-leave-duration": a.value.leave,
|
|
593
|
+
"--transition-enter-delay": t.value.enter,
|
|
594
|
+
"--transition-leave-delay": t.value.leave
|
|
595
|
+
})
|
|
596
|
+
}, {
|
|
597
|
+
default: y(() => [
|
|
598
|
+
g(o.$slots, "default", {}, void 0, !0)
|
|
599
|
+
]),
|
|
600
|
+
_: 3
|
|
601
|
+
}, 8, ["style"]));
|
|
602
|
+
}
|
|
603
|
+
}), se = /* @__PURE__ */ D(re, [["__scopeId", "data-v-543c1e7a"]]), ie = /* @__PURE__ */ c({
|
|
604
|
+
__name: "ScaleListTransition",
|
|
605
|
+
props: {
|
|
606
|
+
delay: { default: 0 },
|
|
607
|
+
duration: { default: 300 },
|
|
608
|
+
group: { type: Boolean },
|
|
609
|
+
origin: {},
|
|
610
|
+
styles: {},
|
|
611
|
+
tag: { default: "span" }
|
|
612
|
+
},
|
|
613
|
+
setup(e) {
|
|
614
|
+
const a = d(() => typeof e.duration == "number" ? {
|
|
615
|
+
enter: `${e.duration}ms`,
|
|
616
|
+
leave: `${e.duration}ms`
|
|
617
|
+
} : {
|
|
618
|
+
enter: `${e.duration.enter}ms`,
|
|
619
|
+
leave: `${e.duration.leave}ms`
|
|
620
|
+
}), t = d(() => typeof e.delay == "number" ? {
|
|
621
|
+
enter: `${e.delay}ms`,
|
|
622
|
+
leave: `${e.delay}ms`
|
|
623
|
+
} : {
|
|
624
|
+
enter: `${e.delay.enter}ms`,
|
|
625
|
+
leave: `${e.delay.leave}ms`
|
|
626
|
+
});
|
|
627
|
+
function o(r) {
|
|
628
|
+
const i = getComputedStyle(r), { width: p, height: S } = i, { marginLeft: C, marginTop: A } = i;
|
|
629
|
+
return r.style.setProperty("left", `${r.offsetLeft - Number.parseFloat(C)}px`, "important"), r.style.setProperty("top", `${r.offsetTop - Number.parseFloat(A)}px`, "important"), r.style.setProperty("width", `${Number.parseFloat(p)}px`, "important"), r.style.setProperty("height", `${Number.parseFloat(S)}px`, "important"), r;
|
|
630
|
+
}
|
|
631
|
+
function s(r) {
|
|
632
|
+
r.style.setProperty("transition-duration", "0ms", "important"), r.style.setProperty("transition-delay", "0ms", "important");
|
|
633
|
+
}
|
|
634
|
+
function u(r) {
|
|
635
|
+
r.style.removeProperty("transition-duration"), r.style.removeProperty("transition-timing-function"), r.style.removeProperty("transition-delay");
|
|
636
|
+
}
|
|
637
|
+
function l(r, i = "enter") {
|
|
638
|
+
const p = a.value[i], S = t.value[i];
|
|
639
|
+
r.style.setProperty("transition-duration", p, "important"), r.style.setProperty("transition-delay", S, "important");
|
|
640
|
+
}
|
|
641
|
+
function n(r) {
|
|
642
|
+
const i = r;
|
|
643
|
+
u(i), i.style.removeProperty("opacity");
|
|
644
|
+
}
|
|
645
|
+
function $(r) {
|
|
646
|
+
const i = r;
|
|
647
|
+
s(i), o(i);
|
|
648
|
+
}
|
|
649
|
+
function E(r) {
|
|
650
|
+
const i = r;
|
|
651
|
+
l(i, "leave"), i.style.setProperty("opacity", "0", "important");
|
|
652
|
+
}
|
|
653
|
+
return (r, i) => (m(), v(k, {
|
|
654
|
+
tag: r.tag,
|
|
655
|
+
class: "scale-list",
|
|
656
|
+
"enter-active-class": "scale-list-enter-active",
|
|
657
|
+
"enter-from-class": "scale-list-enter-from",
|
|
658
|
+
"enter-to-class": "scale-list-enter-to",
|
|
659
|
+
"leave-active-class": "scale-list-leave-active",
|
|
660
|
+
"leave-from-class": "scale-list-leave-from",
|
|
661
|
+
"leave-to-class": "scale-list-leave-to",
|
|
662
|
+
"move-class": "scale-list-move",
|
|
663
|
+
style: L({
|
|
664
|
+
"--transition-enter-duration": a.value.enter,
|
|
665
|
+
"--transition-leave-duration": a.value.leave,
|
|
666
|
+
"--transition-enter-delay": t.value.enter,
|
|
667
|
+
"--transition-leave-delay": t.value.leave
|
|
668
|
+
}),
|
|
669
|
+
onAfterLeave: i[0] || (i[0] = (p) => n(p)),
|
|
670
|
+
onBeforeLeave: i[1] || (i[1] = (p) => $(p)),
|
|
671
|
+
onLeave: i[2] || (i[2] = (p) => E(p))
|
|
672
|
+
}, {
|
|
673
|
+
default: y(() => [
|
|
674
|
+
g(r.$slots, "default")
|
|
675
|
+
]),
|
|
676
|
+
_: 3
|
|
677
|
+
}, 8, ["tag", "style"]));
|
|
678
|
+
}
|
|
679
|
+
}), le = /* @__PURE__ */ c({
|
|
680
|
+
__name: "WipeTransition",
|
|
681
|
+
props: {
|
|
682
|
+
delay: { default: 0 },
|
|
683
|
+
duration: { default: 300 },
|
|
684
|
+
group: { type: Boolean },
|
|
685
|
+
origin: {},
|
|
686
|
+
styles: {},
|
|
687
|
+
tag: {}
|
|
688
|
+
},
|
|
689
|
+
setup(e) {
|
|
690
|
+
const a = d(() => ({
|
|
691
|
+
enter: `${typeof e.duration == "number" ? e.duration : e.duration.enter}ms`,
|
|
692
|
+
leave: `${typeof e.duration == "number" ? e.duration : e.duration.leave}ms`
|
|
693
|
+
})), t = d(() => ({
|
|
694
|
+
enter: `${typeof e.delay == "number" ? e.delay : e.delay.enter}ms`,
|
|
695
|
+
leave: `${typeof e.delay == "number" ? e.delay : e.delay.leave}ms`
|
|
696
|
+
}));
|
|
697
|
+
return (o, s) => (m(), v(B, {
|
|
698
|
+
"enter-active-class": "wipe-enter-active",
|
|
699
|
+
"enter-from-class": "wipe-enter-from",
|
|
700
|
+
"enter-to-class": "wipe-enter-to",
|
|
701
|
+
"leave-active-class": "wipe-leave-active",
|
|
702
|
+
"leave-from-class": "wipe-leave-from",
|
|
703
|
+
"leave-to-class": "wipe-leave-to",
|
|
704
|
+
style: L({
|
|
705
|
+
"--transition-enter-duration": a.value.enter,
|
|
706
|
+
"--transition-leave-duration": a.value.leave,
|
|
707
|
+
"--transition-enter-delay": t.value.enter,
|
|
708
|
+
"--transition-leave-delay": t.value.leave
|
|
709
|
+
})
|
|
710
|
+
}, {
|
|
711
|
+
default: y(() => [
|
|
712
|
+
g(o.$slots, "default", {}, void 0, !0)
|
|
713
|
+
]),
|
|
714
|
+
_: 3
|
|
715
|
+
}, 8, ["style"]));
|
|
716
|
+
}
|
|
717
|
+
}), ue = /* @__PURE__ */ D(le, [["__scopeId", "data-v-8d219fef"]]), de = /* @__PURE__ */ c({
|
|
718
|
+
__name: "ZoomTransition",
|
|
719
|
+
props: {
|
|
720
|
+
delay: { default: 0 },
|
|
721
|
+
duration: { default: 300 },
|
|
722
|
+
group: { type: Boolean },
|
|
723
|
+
origin: {},
|
|
724
|
+
styles: {},
|
|
725
|
+
tag: {}
|
|
726
|
+
},
|
|
727
|
+
setup(e) {
|
|
728
|
+
const a = d(() => ({
|
|
729
|
+
enter: `${typeof e.duration == "number" ? e.duration : e.duration.enter}ms`,
|
|
730
|
+
leave: `${typeof e.duration == "number" ? e.duration : e.duration.leave}ms`
|
|
731
|
+
})), t = d(() => ({
|
|
732
|
+
enter: `${typeof e.delay == "number" ? e.delay : e.delay.enter}ms`,
|
|
733
|
+
leave: `${typeof e.delay == "number" ? e.delay : e.delay.leave}ms`
|
|
734
|
+
}));
|
|
735
|
+
return (o, s) => (m(), v(B, {
|
|
736
|
+
"enter-active-class": "zoom-enter-active",
|
|
737
|
+
"enter-from-class": "zoom-enter-from",
|
|
738
|
+
"enter-to-class": "zoom-enter-to",
|
|
739
|
+
"leave-active-class": "zoom-leave-active",
|
|
740
|
+
"leave-from-class": "zoom-leave-from",
|
|
741
|
+
"leave-to-class": "zoom-leave-to",
|
|
742
|
+
mode: "out-in",
|
|
743
|
+
style: L({
|
|
744
|
+
"--transition-enter-duration": a.value.enter,
|
|
745
|
+
"--transition-leave-duration": a.value.leave,
|
|
746
|
+
"--transition-enter-delay": t.value.enter,
|
|
747
|
+
"--transition-leave-delay": t.value.leave
|
|
748
|
+
})
|
|
749
|
+
}, {
|
|
750
|
+
default: y(() => [
|
|
751
|
+
g(o.$slots, "default", {}, void 0, !0)
|
|
752
|
+
]),
|
|
753
|
+
_: 3
|
|
754
|
+
}, 8, ["style"]));
|
|
755
|
+
}
|
|
756
|
+
}), fe = /* @__PURE__ */ D(de, [["__scopeId", "data-v-b022280d"]]), ce = /* @__PURE__ */ c({
|
|
276
757
|
inheritAttrs: !1,
|
|
277
758
|
__name: "ZoomCenterTransition",
|
|
278
759
|
props: {
|
|
@@ -286,20 +767,20 @@ const T = (a, o) => ({
|
|
|
286
767
|
}) },
|
|
287
768
|
tag: { default: "span" }
|
|
288
769
|
},
|
|
289
|
-
emits: ["
|
|
290
|
-
setup(
|
|
291
|
-
const
|
|
292
|
-
return (
|
|
293
|
-
tag:
|
|
770
|
+
emits: ["afterEnter", "afterLeave", "beforeEnter", "beforeLeave", "leave"],
|
|
771
|
+
setup(e, { emit: a }) {
|
|
772
|
+
const t = e, o = a, s = h(t), u = P(t, o);
|
|
773
|
+
return (l, n) => (m(), v(T(f(s)), b({
|
|
774
|
+
tag: t.tag,
|
|
294
775
|
name: "noc-zoom"
|
|
295
|
-
}, { ...
|
|
296
|
-
default:
|
|
297
|
-
|
|
776
|
+
}, { ...l.$attrs, ...f(u) }), {
|
|
777
|
+
default: y(() => [
|
|
778
|
+
g(l.$slots, "default")
|
|
298
779
|
]),
|
|
299
780
|
_: 3
|
|
300
781
|
}, 16, ["tag"]));
|
|
301
782
|
}
|
|
302
|
-
}),
|
|
783
|
+
}), me = /* @__PURE__ */ c({
|
|
303
784
|
inheritAttrs: !1,
|
|
304
785
|
__name: "ZoomUpTransition",
|
|
305
786
|
props: {
|
|
@@ -313,20 +794,20 @@ const T = (a, o) => ({
|
|
|
313
794
|
}) },
|
|
314
795
|
tag: { default: "span" }
|
|
315
796
|
},
|
|
316
|
-
emits: ["
|
|
317
|
-
setup(
|
|
318
|
-
const
|
|
319
|
-
return (
|
|
320
|
-
tag:
|
|
797
|
+
emits: ["afterEnter", "afterLeave", "beforeEnter", "beforeLeave", "leave"],
|
|
798
|
+
setup(e, { emit: a }) {
|
|
799
|
+
const t = e, o = a, s = h(t), u = P(t, o);
|
|
800
|
+
return (l, n) => (m(), v(T(f(s)), b({
|
|
801
|
+
tag: t.tag,
|
|
321
802
|
name: "noc-zoom-up"
|
|
322
|
-
}, { ...
|
|
323
|
-
default:
|
|
324
|
-
|
|
803
|
+
}, { ...l.$attrs, ...f(u) }), {
|
|
804
|
+
default: y(() => [
|
|
805
|
+
g(l.$slots, "default")
|
|
325
806
|
]),
|
|
326
807
|
_: 3
|
|
327
808
|
}, 16, ["tag"]));
|
|
328
809
|
}
|
|
329
|
-
}),
|
|
810
|
+
}), ve = /* @__PURE__ */ c({
|
|
330
811
|
inheritAttrs: !1,
|
|
331
812
|
__name: "ZoomXTransition",
|
|
332
813
|
props: {
|
|
@@ -340,20 +821,20 @@ const T = (a, o) => ({
|
|
|
340
821
|
}) },
|
|
341
822
|
tag: { default: "span" }
|
|
342
823
|
},
|
|
343
|
-
emits: ["
|
|
344
|
-
setup(
|
|
345
|
-
const
|
|
346
|
-
return (
|
|
347
|
-
tag:
|
|
824
|
+
emits: ["afterEnter", "afterLeave", "beforeEnter", "beforeLeave", "leave"],
|
|
825
|
+
setup(e, { emit: a }) {
|
|
826
|
+
const t = e, o = a, s = h(t), u = P(t, o);
|
|
827
|
+
return (l, n) => (m(), v(T(f(s)), b({
|
|
828
|
+
tag: t.tag,
|
|
348
829
|
name: "noc-zoom-x"
|
|
349
|
-
}, { ...
|
|
350
|
-
default:
|
|
351
|
-
|
|
830
|
+
}, { ...l.$attrs, ...f(u) }), {
|
|
831
|
+
default: y(() => [
|
|
832
|
+
g(l.$slots, "default")
|
|
352
833
|
]),
|
|
353
834
|
_: 3
|
|
354
835
|
}, 16, ["tag"]));
|
|
355
836
|
}
|
|
356
|
-
}),
|
|
837
|
+
}), ye = /* @__PURE__ */ c({
|
|
357
838
|
inheritAttrs: !1,
|
|
358
839
|
__name: "ZoomYTransition",
|
|
359
840
|
props: {
|
|
@@ -367,53 +848,73 @@ const T = (a, o) => ({
|
|
|
367
848
|
}) },
|
|
368
849
|
tag: { default: "span" }
|
|
369
850
|
},
|
|
370
|
-
emits: ["
|
|
371
|
-
setup(
|
|
372
|
-
const
|
|
373
|
-
return (
|
|
374
|
-
tag:
|
|
851
|
+
emits: ["afterEnter", "afterLeave", "beforeEnter", "beforeLeave", "leave"],
|
|
852
|
+
setup(e, { emit: a }) {
|
|
853
|
+
const t = e, o = a, s = h(t), u = P(t, o);
|
|
854
|
+
return (l, n) => (m(), v(T(f(s)), b({
|
|
855
|
+
tag: t.tag,
|
|
375
856
|
name: "noc-zoom-y"
|
|
376
|
-
}, { ...
|
|
377
|
-
default:
|
|
378
|
-
|
|
857
|
+
}, { ...l.$attrs, ...f(u) }), {
|
|
858
|
+
default: y(() => [
|
|
859
|
+
g(l.$slots, "default")
|
|
379
860
|
]),
|
|
380
861
|
_: 3
|
|
381
862
|
}, 16, ["tag"]));
|
|
382
863
|
}
|
|
383
|
-
}),
|
|
864
|
+
}), ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
384
865
|
__proto__: null,
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
866
|
+
BlurTransition: G,
|
|
867
|
+
ClipPathTransition: J,
|
|
868
|
+
CollapseTransition: H,
|
|
869
|
+
DissolveListTransition: Q,
|
|
870
|
+
DissolveTransition: ee,
|
|
871
|
+
FadeSlideTransition: ae,
|
|
872
|
+
FadeTransition: j,
|
|
873
|
+
PushTransition: oe,
|
|
874
|
+
RotateTransition: se,
|
|
875
|
+
ScaleListTransition: ie,
|
|
876
|
+
ScaleTransition: U,
|
|
877
|
+
SlideXLeftTransition: x,
|
|
878
|
+
SlideXRightTransition: R,
|
|
879
|
+
SlideYDownTransition: W,
|
|
880
|
+
SlideYUpTransition: K,
|
|
881
|
+
WipeTransition: ue,
|
|
882
|
+
ZoomCenterTransition: ce,
|
|
883
|
+
ZoomTransition: fe,
|
|
884
|
+
ZoomUpTransition: me,
|
|
885
|
+
ZoomXTransition: ve,
|
|
886
|
+
ZoomYTransition: ye
|
|
396
887
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
397
|
-
function
|
|
398
|
-
|
|
399
|
-
([
|
|
888
|
+
function pe(e) {
|
|
889
|
+
e.$_vueBezierInstalled || (e.$_vueBezierInstalled = !0, Object.entries(ge).forEach(
|
|
890
|
+
([a, t]) => e.component(a, t)
|
|
400
891
|
));
|
|
401
892
|
}
|
|
402
|
-
const
|
|
403
|
-
install:
|
|
893
|
+
const Te = {
|
|
894
|
+
install: pe
|
|
404
895
|
};
|
|
405
896
|
export {
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
897
|
+
G as BlurTransition,
|
|
898
|
+
J as ClipPathTransition,
|
|
899
|
+
H as CollapseTransition,
|
|
900
|
+
Q as DissolveListTransition,
|
|
901
|
+
ee as DissolveTransition,
|
|
902
|
+
ae as FadeSlideTransition,
|
|
903
|
+
j as FadeTransition,
|
|
904
|
+
oe as PushTransition,
|
|
905
|
+
se as RotateTransition,
|
|
906
|
+
ie as ScaleListTransition,
|
|
907
|
+
U as ScaleTransition,
|
|
908
|
+
x as SlideXLeftTransition,
|
|
909
|
+
R as SlideXRightTransition,
|
|
910
|
+
W as SlideYDownTransition,
|
|
911
|
+
K as SlideYUpTransition,
|
|
912
|
+
ue as WipeTransition,
|
|
913
|
+
ce as ZoomCenterTransition,
|
|
914
|
+
fe as ZoomTransition,
|
|
915
|
+
me as ZoomUpTransition,
|
|
916
|
+
ve as ZoomXTransition,
|
|
917
|
+
ye as ZoomYTransition,
|
|
918
|
+
Te as default,
|
|
919
|
+
pe as install
|
|
419
920
|
};
|