@noction/vue-bezier 1.0.5 → 1.0.7
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 +2 -3
- package/dist/vue-bezier.js +422 -0
- package/dist/web-types.json +551 -1
- package/package.json +28 -19
- package/src/components/Collapse/CollapseTransition.vue +19 -14
- package/src/components/Fade/FadeTransition.vue +19 -19
- package/src/components/Scale/ScaleTransition.vue +18 -33
- package/src/components/Slide/SlideXLeftTransition.vue +18 -29
- package/src/components/Slide/SlideXRightTransition.vue +18 -31
- package/src/components/Slide/SlideYDownTransition.vue +18 -31
- package/src/components/Slide/SlideYUpTransition.vue +18 -31
- package/src/components/Zoom/ZoomCenterTransition.vue +18 -19
- package/src/components/Zoom/ZoomUpTransition.vue +19 -31
- package/src/components/Zoom/ZoomXTransition.vue +18 -29
- package/src/components/Zoom/ZoomYTransition.vue +17 -30
- package/src/{composable → composables}/buildComponentType.ts +2 -1
- package/src/composables/index.ts +4 -0
- package/src/composables/useHooks.ts +110 -0
- package/src/main.ts +48 -0
- package/src/types/index.ts +53 -0
- package/dist/Collapse/CollapseTransition.vue.d.ts +0 -14
- package/dist/Fade/FadeTransition.vue.d.ts +0 -13
- package/dist/Scale/ScaleTransition.vue.d.ts +0 -26
- package/dist/Slide/SlideXLeftTransition.vue.d.ts +0 -22
- package/dist/Slide/SlideXRightTransition.vue.d.ts +0 -22
- package/dist/Slide/SlideYDownTransition.vue.d.ts +0 -22
- package/dist/Slide/SlideYUpTransition.vue.d.ts +0 -22
- package/dist/Zoom/ZoomCenterTransition.vue.d.ts +0 -13
- package/dist/Zoom/ZoomUpTransition.vue.d.ts +0 -22
- package/dist/Zoom/ZoomXTransition.vue.d.ts +0 -22
- package/dist/Zoom/ZoomYTransition.vue.d.ts +0 -22
- package/dist/composable/buildComponentType.d.ts +0 -3
- package/dist/composable/buildEmits.d.ts +0 -2
- package/dist/composable/buildHooks.d.ts +0 -7
- package/dist/composable/buildProps.d.ts +0 -48
- package/dist/composable/buildTag.d.ts +0 -2
- package/dist/composable/index.d.ts +0 -6
- package/dist/index.d.ts +0 -17
- package/dist/vue-bezier.mjs +0 -456
- package/dist/vue-bezier.umd.js +0 -1
- package/src/composable/buildEmits.ts +0 -7
- package/src/composable/buildHooks.ts +0 -92
- package/src/composable/buildProps.ts +0 -52
- package/src/composable/buildTag.ts +0 -1
- package/src/composable/index.ts +0 -7
- package/src/global-shim.d.ts +0 -1
- package/src/index.ts +0 -62
package/dist/vue-bezier.mjs
DELETED
|
@@ -1,456 +0,0 @@
|
|
|
1
|
-
import { TransitionGroup as z, Transition as B, defineComponent as c, openBlock as d, createBlock as u, resolveDynamicComponent as _, unref as i, mergeProps as m, withCtx as p, renderSlot as f } from "vue";
|
|
2
|
-
const y = (o) => o.group ? z : B, g = () => [
|
|
3
|
-
"after-enter",
|
|
4
|
-
"after-leave",
|
|
5
|
-
"before-enter",
|
|
6
|
-
"before-leave",
|
|
7
|
-
"leave"
|
|
8
|
-
], D = (o, n) => {
|
|
9
|
-
var l, r;
|
|
10
|
-
const e = ((l = o.duration) == null ? void 0 : l.enter) ?? o.duration ?? 0, a = ((r = o.delay) == null ? void 0 : r.enter) ?? o.delay ?? 0;
|
|
11
|
-
n.style.animationDuration = `${e}ms`, n.style.animationDelay = `${a}ms`, S(o, n);
|
|
12
|
-
}, w = (o, n) => {
|
|
13
|
-
var l, r;
|
|
14
|
-
const e = ((l = o.duration) == null ? void 0 : l.leave) ?? o.duration ?? 0, a = ((r = o.delay) == null ? void 0 : r.leave) ?? o.delay ?? 0;
|
|
15
|
-
n.style.animationDuration = `${e}ms`, n.style.animationDelay = `${a}ms`, S(o, n);
|
|
16
|
-
}, F = (o, n) => {
|
|
17
|
-
Object.keys(o.styles).forEach((e) => {
|
|
18
|
-
o.styles[e] && (n.style[e] = "");
|
|
19
|
-
}), n.style.animationDuration = "", n.style.animationDelay = "";
|
|
20
|
-
}, P = (o, n, e) => {
|
|
21
|
-
var r, s;
|
|
22
|
-
O(o, n);
|
|
23
|
-
const a = ((r = o.duration) == null ? void 0 : r.leave) ?? o.duration ?? 0, l = ((s = o.delay) == null ? void 0 : s.leave) ?? o.delay ?? 0;
|
|
24
|
-
setTimeout(e, a + l);
|
|
25
|
-
}, S = (o, n) => {
|
|
26
|
-
Z(o, n), Object.keys(o.styles).forEach((e) => {
|
|
27
|
-
const a = o.styles[e];
|
|
28
|
-
a && (n.style[e] = a);
|
|
29
|
-
});
|
|
30
|
-
}, O = (o, n) => {
|
|
31
|
-
o.group && (n.style.position = "absolute");
|
|
32
|
-
}, Z = (o, n) => {
|
|
33
|
-
o.origin && (n.style.transformOrigin = o.origin);
|
|
34
|
-
}, h = (o, n) => ({
|
|
35
|
-
onAfterEnter: (e) => {
|
|
36
|
-
F(o, e), n("after-enter", e);
|
|
37
|
-
},
|
|
38
|
-
onAfterLeave: (e) => {
|
|
39
|
-
F(o, e), n("after-leave", e);
|
|
40
|
-
},
|
|
41
|
-
onBeforeEnter: (e) => {
|
|
42
|
-
D(o, e), n("before-enter", e);
|
|
43
|
-
},
|
|
44
|
-
onBeforeLeave: (e) => {
|
|
45
|
-
w(o, e), n("before-leave", e);
|
|
46
|
-
},
|
|
47
|
-
onLeave: (e, a) => {
|
|
48
|
-
P(o, e, a), n("leave", e, a);
|
|
49
|
-
}
|
|
50
|
-
}), A = {
|
|
51
|
-
/**
|
|
52
|
-
* Transition delay. Number for specifying the same delay for enter/leave transitions
|
|
53
|
-
* Object style {enter: 300, leave: 300} for specifying explicit durations for enter/leave
|
|
54
|
-
*/
|
|
55
|
-
delay: {
|
|
56
|
-
default: 0,
|
|
57
|
-
type: [Number, Object]
|
|
58
|
-
},
|
|
59
|
-
/**
|
|
60
|
-
* Transition duration. Number for specifying the same duration for enter/leave transitions
|
|
61
|
-
* Object style {enter: 300, leave: 300} for specifying explicit durations for enter/leave
|
|
62
|
-
*/
|
|
63
|
-
duration: {
|
|
64
|
-
default: 300,
|
|
65
|
-
type: [Number, Object]
|
|
66
|
-
},
|
|
67
|
-
/**
|
|
68
|
-
* Whether the component should be a `transition-group` component.
|
|
69
|
-
*/
|
|
70
|
-
group: Boolean,
|
|
71
|
-
/**
|
|
72
|
-
* Transform origin property https://tympanus.net/codrops/css_reference/transform-origin/.
|
|
73
|
-
* Can be specified with styles as well but it's shorter with this prop
|
|
74
|
-
*/
|
|
75
|
-
origin: {
|
|
76
|
-
default: "",
|
|
77
|
-
type: String
|
|
78
|
-
},
|
|
79
|
-
/**
|
|
80
|
-
* Element styles that are applied during transition. These styles are applied on @beforeEnter and @beforeLeave hooks
|
|
81
|
-
*/
|
|
82
|
-
styles: {
|
|
83
|
-
default: () => ({
|
|
84
|
-
animationFillMode: "both",
|
|
85
|
-
animationTimingFunction: "ease-out"
|
|
86
|
-
}),
|
|
87
|
-
type: Object
|
|
88
|
-
},
|
|
89
|
-
/**
|
|
90
|
-
* Transition tag, in case the component is a `transition-group`
|
|
91
|
-
*/
|
|
92
|
-
tag: {
|
|
93
|
-
default: "span",
|
|
94
|
-
type: String
|
|
95
|
-
}
|
|
96
|
-
}, v = (o) => ({
|
|
97
|
-
...A,
|
|
98
|
-
...o || {}
|
|
99
|
-
}), T = (o) => o.tag, j = /* @__PURE__ */ c({
|
|
100
|
-
__name: "CollapseTransition",
|
|
101
|
-
props: v(),
|
|
102
|
-
emits: g(),
|
|
103
|
-
setup(o, { emit: n }) {
|
|
104
|
-
const e = o, a = y(e), l = T(e), r = {
|
|
105
|
-
onAfterEnter(t) {
|
|
106
|
-
t.style.transition = "", t.style.height = "", t.style.overflow = t.dataset.oldOverflow, n("after-enter", t);
|
|
107
|
-
},
|
|
108
|
-
onAfterLeave(t) {
|
|
109
|
-
t.style.transition = "", t.style.height = "", t.style.overflow = t.dataset.oldOverflow, t.style.paddingTop = t.dataset.oldPaddingTop, t.style.paddingBottom = t.dataset.oldPaddingBottom, n("after-leave", t);
|
|
110
|
-
},
|
|
111
|
-
onBeforeEnter(t) {
|
|
112
|
-
var b;
|
|
113
|
-
const $ = ((b = e.duration) == null ? void 0 : b.enter) ?? e.duration ?? 0;
|
|
114
|
-
t.style.transition = s($), t.dataset || (t.dataset = {}), t.dataset.oldPaddingTop = t.style.paddingTop, t.dataset.oldPaddingBottom = t.style.paddingBottom, t.style.height = "0", t.style.paddingTop = 0, t.style.paddingBottom = 0, S(e, t), n("before-enter", t);
|
|
115
|
-
},
|
|
116
|
-
onBeforeLeave(t) {
|
|
117
|
-
t.dataset || (t.dataset = {}), t.dataset.oldPaddingTop = t.style.paddingTop, t.dataset.oldPaddingBottom = t.style.paddingBottom, t.dataset.oldOverflow = t.style.overflow, t.style.height = `${t.scrollHeight}px`, t.style.overflow = "hidden", S(e, t), n("before-leave", t);
|
|
118
|
-
},
|
|
119
|
-
onEnter(t) {
|
|
120
|
-
t.dataset.oldOverflow = t.style.overflow, t.scrollHeight !== 0 ? (t.style.height = `${t.scrollHeight}px`, t.style.paddingTop = t.dataset.oldPaddingTop, t.style.paddingBottom = t.dataset.oldPaddingBottom) : (t.style.height = "", t.style.paddingTop = t.dataset.oldPaddingTop, t.style.paddingBottom = t.dataset.oldPaddingBottom), t.style.overflow = "hidden";
|
|
121
|
-
},
|
|
122
|
-
onLeave(t, $) {
|
|
123
|
-
const b = e.duration.leave ?? e.duration ?? 0;
|
|
124
|
-
t.scrollHeight !== 0 && (t.style.transition = s(b), t.style.height = 0, t.style.paddingTop = 0, t.style.paddingBottom = 0), O(e, t), P(e, t, $), n("leave", t, $);
|
|
125
|
-
}
|
|
126
|
-
}, s = (t) => {
|
|
127
|
-
const $ = t / 1e3;
|
|
128
|
-
return `${$}s height ease-in-out, ${$}s padding-top ease-in-out, ${$}s padding-bottom ease-in-out`;
|
|
129
|
-
};
|
|
130
|
-
return (t, $) => (d(), u(_(i(a)), m({ tag: i(l) }, { ...t.$attrs, ...r }, { "move-class": "collapse-move" }), {
|
|
131
|
-
default: p(() => [
|
|
132
|
-
f(t.$slots, "default")
|
|
133
|
-
]),
|
|
134
|
-
_: 3
|
|
135
|
-
}, 16, ["tag"]));
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
const k = {
|
|
139
|
-
inheritAttrs: !1
|
|
140
|
-
}, C = /* @__PURE__ */ c({
|
|
141
|
-
...k,
|
|
142
|
-
__name: "FadeTransition",
|
|
143
|
-
props: v(),
|
|
144
|
-
emits: g(),
|
|
145
|
-
setup(o, { emit: n }) {
|
|
146
|
-
const e = o, a = y(e), l = T(e), r = h(e, n);
|
|
147
|
-
return (s, t) => (d(), u(_(i(a)), m({
|
|
148
|
-
tag: i(l),
|
|
149
|
-
"enter-active-class": "fade-in",
|
|
150
|
-
"move-class": "fade-move",
|
|
151
|
-
"leave-active-class": "fade-out"
|
|
152
|
-
}, { ...s.$attrs, ...i(r) }), {
|
|
153
|
-
default: p(() => [
|
|
154
|
-
f(s.$slots, "default")
|
|
155
|
-
]),
|
|
156
|
-
_: 3
|
|
157
|
-
}, 16, ["tag"]));
|
|
158
|
-
}
|
|
159
|
-
});
|
|
160
|
-
const X = {
|
|
161
|
-
origin: {
|
|
162
|
-
default: "top left",
|
|
163
|
-
type: String
|
|
164
|
-
},
|
|
165
|
-
styles: {
|
|
166
|
-
default: () => ({
|
|
167
|
-
animationFillMode: "both",
|
|
168
|
-
animationTimingFunction: "cubic-bezier(.25,.8,.50,1)"
|
|
169
|
-
}),
|
|
170
|
-
type: Object
|
|
171
|
-
}
|
|
172
|
-
}, Y = {
|
|
173
|
-
inheritAttrs: !1
|
|
174
|
-
}, x = /* @__PURE__ */ c({
|
|
175
|
-
...Y,
|
|
176
|
-
__name: "ScaleTransition",
|
|
177
|
-
props: v(X),
|
|
178
|
-
emits: g(),
|
|
179
|
-
setup(o, { emit: n }) {
|
|
180
|
-
const e = o, a = y(e), l = T(e), r = h(e, n);
|
|
181
|
-
return (s, t) => (d(), u(_(i(a)), m({ tag: i(l) }, { ...s.$attrs, ...i(r) }, {
|
|
182
|
-
"enter-active-class": "scale-in",
|
|
183
|
-
"move-class": "scale-move",
|
|
184
|
-
"leave-active-class": "scale-out"
|
|
185
|
-
}), {
|
|
186
|
-
default: p(() => [
|
|
187
|
-
f(s.$slots, "default")
|
|
188
|
-
]),
|
|
189
|
-
_: 3
|
|
190
|
-
}, 16, ["tag"]));
|
|
191
|
-
}
|
|
192
|
-
});
|
|
193
|
-
const L = {
|
|
194
|
-
styles: {
|
|
195
|
-
default: () => ({
|
|
196
|
-
animationFillMode: "both",
|
|
197
|
-
animationTimingFunction: "cubic-bezier(.25,.8,.50,1)"
|
|
198
|
-
}),
|
|
199
|
-
type: Object
|
|
200
|
-
}
|
|
201
|
-
}, E = {
|
|
202
|
-
inheritAttrs: !1
|
|
203
|
-
}, M = /* @__PURE__ */ c({
|
|
204
|
-
...E,
|
|
205
|
-
__name: "SlideXLeftTransition",
|
|
206
|
-
props: v(L),
|
|
207
|
-
emits: g(),
|
|
208
|
-
setup(o, { emit: n }) {
|
|
209
|
-
const e = o, a = y(e), l = T(e), r = h(e, n);
|
|
210
|
-
return (s, t) => (d(), u(_(i(a)), m({ tag: i(l) }, { ...s.$attrs, ...i(r) }, {
|
|
211
|
-
"enter-active-class": "slide-x-left-in",
|
|
212
|
-
"move-class": "slide-move",
|
|
213
|
-
"leave-active-class": "slide-x-left-out"
|
|
214
|
-
}), {
|
|
215
|
-
default: p(() => [
|
|
216
|
-
f(s.$slots, "default")
|
|
217
|
-
]),
|
|
218
|
-
_: 3
|
|
219
|
-
}, 16, ["tag"]));
|
|
220
|
-
}
|
|
221
|
-
});
|
|
222
|
-
const U = {
|
|
223
|
-
styles: {
|
|
224
|
-
default: () => ({
|
|
225
|
-
animationFillMode: "both",
|
|
226
|
-
animationTimingFunction: "cubic-bezier(.25,.8,.50,1)"
|
|
227
|
-
}),
|
|
228
|
-
type: Object
|
|
229
|
-
}
|
|
230
|
-
}, H = {
|
|
231
|
-
inheritAttrs: !1
|
|
232
|
-
}, R = /* @__PURE__ */ c({
|
|
233
|
-
...H,
|
|
234
|
-
__name: "SlideXRightTransition",
|
|
235
|
-
props: v(U),
|
|
236
|
-
emits: g(),
|
|
237
|
-
setup(o, { emit: n }) {
|
|
238
|
-
const e = o, a = y(e), l = T(e), r = h(e, n);
|
|
239
|
-
return (s, t) => (d(), u(_(i(a)), m({ tag: i(l) }, { ...s.$attrs, ...i(r) }, {
|
|
240
|
-
"enter-active-class": "slide-x-right-in",
|
|
241
|
-
"move-class": "slide-move",
|
|
242
|
-
"leave-active-class": "slide-x-right-out"
|
|
243
|
-
}), {
|
|
244
|
-
default: p(() => [
|
|
245
|
-
f(s.$slots, "default")
|
|
246
|
-
]),
|
|
247
|
-
_: 3
|
|
248
|
-
}, 16, ["tag"]));
|
|
249
|
-
}
|
|
250
|
-
});
|
|
251
|
-
const I = {
|
|
252
|
-
styles: {
|
|
253
|
-
default: () => ({
|
|
254
|
-
animationFillMode: "both",
|
|
255
|
-
animationTimingFunction: "cubic-bezier(.25,.8,.50,1)"
|
|
256
|
-
}),
|
|
257
|
-
type: Object
|
|
258
|
-
}
|
|
259
|
-
}, V = {
|
|
260
|
-
inheritAttrs: !1
|
|
261
|
-
}, N = /* @__PURE__ */ c({
|
|
262
|
-
...V,
|
|
263
|
-
__name: "SlideYDownTransition",
|
|
264
|
-
props: v(I),
|
|
265
|
-
emits: g(),
|
|
266
|
-
setup(o, { emit: n }) {
|
|
267
|
-
const e = o, a = y(e), l = T(e), r = h(e, n);
|
|
268
|
-
return (s, t) => (d(), u(_(i(a)), m({ tag: i(l) }, { ...s.$attrs, ...i(r) }, {
|
|
269
|
-
"enter-active-class": "slide-y-down-in",
|
|
270
|
-
"leave-active-class": "slide-y-down-out"
|
|
271
|
-
}), {
|
|
272
|
-
default: p(() => [
|
|
273
|
-
f(s.$slots, "default")
|
|
274
|
-
]),
|
|
275
|
-
_: 3
|
|
276
|
-
}, 16, ["tag"]));
|
|
277
|
-
}
|
|
278
|
-
});
|
|
279
|
-
const G = {
|
|
280
|
-
styles: {
|
|
281
|
-
default: () => ({
|
|
282
|
-
animationFillMode: "both",
|
|
283
|
-
animationTimingFunction: "cubic-bezier(.25,.8,.50,1)"
|
|
284
|
-
}),
|
|
285
|
-
type: Object
|
|
286
|
-
}
|
|
287
|
-
}, q = {
|
|
288
|
-
inheritAttrs: !1
|
|
289
|
-
}, J = /* @__PURE__ */ c({
|
|
290
|
-
...q,
|
|
291
|
-
__name: "SlideYUpTransition",
|
|
292
|
-
props: v(G),
|
|
293
|
-
emits: g(),
|
|
294
|
-
setup(o, { emit: n }) {
|
|
295
|
-
const e = o, a = y(e), l = T(e), r = h(e, n);
|
|
296
|
-
return (s, t) => (d(), u(_(i(a)), m({
|
|
297
|
-
tag: i(l),
|
|
298
|
-
type: "animation"
|
|
299
|
-
}, { ...s.$attrs, ...i(r) }, {
|
|
300
|
-
"enter-active-class": "slide-y-in",
|
|
301
|
-
"move-class": "slide-move",
|
|
302
|
-
"leave-active-class": "slide-y-out"
|
|
303
|
-
}), {
|
|
304
|
-
default: p(() => [
|
|
305
|
-
f(s.$slots, "default")
|
|
306
|
-
]),
|
|
307
|
-
_: 3
|
|
308
|
-
}, 16, ["tag"]));
|
|
309
|
-
}
|
|
310
|
-
});
|
|
311
|
-
const K = {
|
|
312
|
-
inheritAttrs: !1
|
|
313
|
-
}, Q = /* @__PURE__ */ c({
|
|
314
|
-
...K,
|
|
315
|
-
__name: "ZoomCenterTransition",
|
|
316
|
-
props: v(),
|
|
317
|
-
emits: g(),
|
|
318
|
-
setup(o, { emit: n }) {
|
|
319
|
-
const e = o, a = y(e), l = T(e), r = h(e, n);
|
|
320
|
-
return (s, t) => (d(), u(_(i(a)), m({ tag: i(l) }, { ...s.$attrs, ...i(r) }, {
|
|
321
|
-
"enter-active-class": "zoom-in",
|
|
322
|
-
"move-class": "zoom-move",
|
|
323
|
-
"leave-active-class": "zoom-out"
|
|
324
|
-
}), {
|
|
325
|
-
default: p(() => [
|
|
326
|
-
f(s.$slots, "default")
|
|
327
|
-
]),
|
|
328
|
-
_: 3
|
|
329
|
-
}, 16, ["tag"]));
|
|
330
|
-
}
|
|
331
|
-
});
|
|
332
|
-
const W = {
|
|
333
|
-
styles: {
|
|
334
|
-
default: () => ({
|
|
335
|
-
animationFillMode: "both",
|
|
336
|
-
animationTimingFunction: "ease-out"
|
|
337
|
-
}),
|
|
338
|
-
type: Object
|
|
339
|
-
}
|
|
340
|
-
}, tt = {
|
|
341
|
-
inheritAttrs: !1
|
|
342
|
-
}, et = /* @__PURE__ */ c({
|
|
343
|
-
...tt,
|
|
344
|
-
__name: "ZoomUpTransition",
|
|
345
|
-
props: v(W),
|
|
346
|
-
emits: g(),
|
|
347
|
-
setup(o, { emit: n }) {
|
|
348
|
-
const e = o, a = y(e), l = T(e), r = h(e, n);
|
|
349
|
-
return (s, t) => (d(), u(_(i(a)), m({ tag: i(l) }, { ...s.$attrs, ...i(r) }, {
|
|
350
|
-
"enter-active-class": "zoom-in-up",
|
|
351
|
-
"move-class": "zoom-move",
|
|
352
|
-
"leave-active-class": "zoom-out-up"
|
|
353
|
-
}), {
|
|
354
|
-
default: p(() => [
|
|
355
|
-
f(s.$slots, "default")
|
|
356
|
-
]),
|
|
357
|
-
_: 3
|
|
358
|
-
}, 16, ["tag"]));
|
|
359
|
-
}
|
|
360
|
-
});
|
|
361
|
-
const ot = {
|
|
362
|
-
styles: {
|
|
363
|
-
default: () => ({
|
|
364
|
-
animationFillMode: "both",
|
|
365
|
-
animationTimingFunction: "cubic-bezier(.55,0,.1,1)"
|
|
366
|
-
}),
|
|
367
|
-
type: Object
|
|
368
|
-
}
|
|
369
|
-
}, nt = {
|
|
370
|
-
inheritAttrs: !1
|
|
371
|
-
}, st = /* @__PURE__ */ c({
|
|
372
|
-
...nt,
|
|
373
|
-
__name: "ZoomXTransition",
|
|
374
|
-
props: v(ot),
|
|
375
|
-
emits: g(),
|
|
376
|
-
setup(o, { emit: n }) {
|
|
377
|
-
const e = o, a = y(e), l = T(e), r = h(e, n);
|
|
378
|
-
return (s, t) => (d(), u(_(i(a)), m({
|
|
379
|
-
tag: i(l),
|
|
380
|
-
"enter-active-class": "zoom-in-x",
|
|
381
|
-
"move-class": "zoom-move",
|
|
382
|
-
"leave-active-class": "zoom-out-x"
|
|
383
|
-
}, { ...s.$attrs, ...i(r) }), {
|
|
384
|
-
default: p(() => [
|
|
385
|
-
f(s.$slots, "default")
|
|
386
|
-
]),
|
|
387
|
-
_: 3
|
|
388
|
-
}, 16, ["tag"]));
|
|
389
|
-
}
|
|
390
|
-
});
|
|
391
|
-
const at = {
|
|
392
|
-
styles: {
|
|
393
|
-
default: () => ({
|
|
394
|
-
animationFillMode: "both",
|
|
395
|
-
animationTimingFunction: "cubic-bezier(.55,0,.1,1)"
|
|
396
|
-
}),
|
|
397
|
-
type: Object
|
|
398
|
-
}
|
|
399
|
-
}, it = {
|
|
400
|
-
inheritAttrs: !1
|
|
401
|
-
}, rt = /* @__PURE__ */ c({
|
|
402
|
-
...it,
|
|
403
|
-
__name: "ZoomYTransition",
|
|
404
|
-
props: v(at),
|
|
405
|
-
emits: g(),
|
|
406
|
-
setup(o, { emit: n }) {
|
|
407
|
-
const e = o, a = y(e), l = T(e), r = h(e, n);
|
|
408
|
-
return (s, t) => (d(), u(_(i(a)), m({
|
|
409
|
-
tag: i(l),
|
|
410
|
-
"enter-active-class": "zoom-in-y",
|
|
411
|
-
"move-class": "zoom-move",
|
|
412
|
-
"leave-active-class": "zoom-out-y"
|
|
413
|
-
}, { ...s.$attrs, ...i(r) }), {
|
|
414
|
-
default: p(() => [
|
|
415
|
-
f(s.$slots, "default")
|
|
416
|
-
]),
|
|
417
|
-
_: 3
|
|
418
|
-
}, 16, ["tag"]));
|
|
419
|
-
}
|
|
420
|
-
});
|
|
421
|
-
const lt = {
|
|
422
|
-
CollapseTransition: j,
|
|
423
|
-
FadeTransition: C,
|
|
424
|
-
ScaleTransition: x,
|
|
425
|
-
SlideXLeftTransition: M,
|
|
426
|
-
SlideXRightTransition: R,
|
|
427
|
-
SlideYDownTransition: N,
|
|
428
|
-
SlideYUpTransition: J,
|
|
429
|
-
ZoomCenterTransition: Q,
|
|
430
|
-
ZoomUpTransition: et,
|
|
431
|
-
ZoomXTransition: st,
|
|
432
|
-
ZoomYTransition: rt
|
|
433
|
-
};
|
|
434
|
-
function ct(o) {
|
|
435
|
-
o.$_v3SFCTransitionsInstalled || (o.$_v3SFCTransitionsInstalled = !0, Object.entries(lt).forEach(
|
|
436
|
-
([n, e]) => o.component(n, e)
|
|
437
|
-
));
|
|
438
|
-
}
|
|
439
|
-
const ut = {
|
|
440
|
-
install: ct
|
|
441
|
-
};
|
|
442
|
-
export {
|
|
443
|
-
j as CollapseTransition,
|
|
444
|
-
C as FadeTransition,
|
|
445
|
-
x as ScaleTransition,
|
|
446
|
-
M as SlideXLeftTransition,
|
|
447
|
-
R as SlideXRightTransition,
|
|
448
|
-
N as SlideYDownTransition,
|
|
449
|
-
J as SlideYUpTransition,
|
|
450
|
-
Q as ZoomCenterTransition,
|
|
451
|
-
et as ZoomUpTransition,
|
|
452
|
-
st as ZoomXTransition,
|
|
453
|
-
rt as ZoomYTransition,
|
|
454
|
-
ut as default,
|
|
455
|
-
ct as install
|
|
456
|
-
};
|
package/dist/vue-bezier.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(c,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(c=typeof globalThis<"u"?globalThis:c||self,t(c.VueBezier={},c.Vue))})(this,function(c,t){"use strict";const d=o=>o.group?t.TransitionGroup:t.Transition,m=()=>["after-enter","after-leave","before-enter","before-leave","leave"],v=(o,s)=>{var l,r;const n=((l=o.duration)==null?void 0:l.enter)??o.duration??0,i=((r=o.delay)==null?void 0:r.enter)??o.delay??0;s.style.animationDuration=`${n}ms`,s.style.animationDelay=`${i}ms`,u(o,s)},Z=(o,s)=>{var l,r;const n=((l=o.duration)==null?void 0:l.leave)??o.duration??0,i=((r=o.delay)==null?void 0:r.leave)??o.delay??0;s.style.animationDuration=`${n}ms`,s.style.animationDelay=`${i}ms`,u(o,s)},T=(o,s)=>{Object.keys(o.styles).forEach(n=>{o.styles[n]&&(s.style[n]="")}),s.style.animationDuration="",s.style.animationDelay=""},h=(o,s,n)=>{var r,a;$(o,s);const i=((r=o.duration)==null?void 0:r.leave)??o.duration??0,l=((a=o.delay)==null?void 0:a.leave)??o.delay??0;setTimeout(n,i+l)},u=(o,s)=>{A(o,s),Object.keys(o.styles).forEach(n=>{const i=o.styles[n];i&&(s.style[n]=i)})},$=(o,s)=>{o.group&&(s.style.position="absolute")},A=(o,s)=>{o.origin&&(s.style.transformOrigin=o.origin)},p=(o,s)=>({onAfterEnter:n=>{T(o,n),s("after-enter",n)},onAfterLeave:n=>{T(o,n),s("after-leave",n)},onBeforeEnter:n=>{v(o,n),s("before-enter",n)},onBeforeLeave:n=>{Z(o,n),s("before-leave",n)},onLeave:(n,i)=>{h(o,n,i),s("leave",n,i)}}),X={delay:{default:0,type:[Number,Object]},duration:{default:300,type:[Number,Object]},group:Boolean,origin:{default:"",type:String},styles:{default:()=>({animationFillMode:"both",animationTimingFunction:"ease-out"}),type:Object},tag:{default:"span",type:String}},f=o=>({...X,...o||{}}),_=o=>o.tag,b=t.defineComponent({__name:"CollapseTransition",props:f(),emits:m(),setup(o,{emit:s}){const n=o,i=d(n),l=_(n),r={onAfterEnter(e){e.style.transition="",e.style.height="",e.style.overflow=e.dataset.oldOverflow,s("after-enter",e)},onAfterLeave(e){e.style.transition="",e.style.height="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom,s("after-leave",e)},onBeforeEnter(e){var g;const y=((g=n.duration)==null?void 0:g.enter)??n.duration??0;e.style.transition=a(y),e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height="0",e.style.paddingTop=0,e.style.paddingBottom=0,u(n,e),s("before-enter",e)},onBeforeLeave(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.height=`${e.scrollHeight}px`,e.style.overflow="hidden",u(n,e),s("before-leave",e)},onEnter(e){e.dataset.oldOverflow=e.style.overflow,e.scrollHeight!==0?(e.style.height=`${e.scrollHeight}px`,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom):(e.style.height="",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom),e.style.overflow="hidden"},onLeave(e,y){const g=n.duration.leave??n.duration??0;e.scrollHeight!==0&&(e.style.transition=a(g),e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0),$(n,e),h(n,e,y),s("leave",e,y)}},a=e=>{const y=e/1e3;return`${y}s height ease-in-out, ${y}s padding-top ease-in-out, ${y}s padding-bottom ease-in-out`};return(e,y)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(i)),t.mergeProps({tag:t.unref(l)},{...e.$attrs,...r},{"move-class":"collapse-move"}),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},16,["tag"]))}}),ot="",Y={inheritAttrs:!1},C=t.defineComponent({...Y,__name:"FadeTransition",props:f(),emits:m(),setup(o,{emit:s}){const n=o,i=d(n),l=_(n),r=p(n,s);return(a,e)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(i)),t.mergeProps({tag:t.unref(l),"enter-active-class":"fade-in","move-class":"fade-move","leave-active-class":"fade-out"},{...a.$attrs,...t.unref(r)}),{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default")]),_:3},16,["tag"]))}}),st="",L={origin:{default:"top left",type:String},styles:{default:()=>({animationFillMode:"both",animationTimingFunction:"cubic-bezier(.25,.8,.50,1)"}),type:Object}},M={inheritAttrs:!1},S=t.defineComponent({...M,__name:"ScaleTransition",props:f(L),emits:m(),setup(o,{emit:s}){const n=o,i=d(n),l=_(n),r=p(n,s);return(a,e)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(i)),t.mergeProps({tag:t.unref(l)},{...a.$attrs,...t.unref(r)},{"enter-active-class":"scale-in","move-class":"scale-move","leave-active-class":"scale-out"}),{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default")]),_:3},16,["tag"]))}}),at="",x={styles:{default:()=>({animationFillMode:"both",animationTimingFunction:"cubic-bezier(.25,.8,.50,1)"}),type:Object}},E={inheritAttrs:!1},B=t.defineComponent({...E,__name:"SlideXLeftTransition",props:f(x),emits:m(),setup(o,{emit:s}){const n=o,i=d(n),l=_(n),r=p(n,s);return(a,e)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(i)),t.mergeProps({tag:t.unref(l)},{...a.$attrs,...t.unref(r)},{"enter-active-class":"slide-x-left-in","move-class":"slide-move","leave-active-class":"slide-x-left-out"}),{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default")]),_:3},16,["tag"]))}}),it="",U={styles:{default:()=>({animationFillMode:"both",animationTimingFunction:"cubic-bezier(.25,.8,.50,1)"}),type:Object}},H={inheritAttrs:!1},k=t.defineComponent({...H,__name:"SlideXRightTransition",props:f(U),emits:m(),setup(o,{emit:s}){const n=o,i=d(n),l=_(n),r=p(n,s);return(a,e)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(i)),t.mergeProps({tag:t.unref(l)},{...a.$attrs,...t.unref(r)},{"enter-active-class":"slide-x-right-in","move-class":"slide-move","leave-active-class":"slide-x-right-out"}),{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default")]),_:3},16,["tag"]))}}),rt="",V={styles:{default:()=>({animationFillMode:"both",animationTimingFunction:"cubic-bezier(.25,.8,.50,1)"}),type:Object}},R={inheritAttrs:!1},P=t.defineComponent({...R,__name:"SlideYDownTransition",props:f(V),emits:m(),setup(o,{emit:s}){const n=o,i=d(n),l=_(n),r=p(n,s);return(a,e)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(i)),t.mergeProps({tag:t.unref(l)},{...a.$attrs,...t.unref(r)},{"enter-active-class":"slide-y-down-in","leave-active-class":"slide-y-down-out"}),{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default")]),_:3},16,["tag"]))}}),lt="",I={styles:{default:()=>({animationFillMode:"both",animationTimingFunction:"cubic-bezier(.25,.8,.50,1)"}),type:Object}},N={inheritAttrs:!1},D=t.defineComponent({...N,__name:"SlideYUpTransition",props:f(I),emits:m(),setup(o,{emit:s}){const n=o,i=d(n),l=_(n),r=p(n,s);return(a,e)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(i)),t.mergeProps({tag:t.unref(l),type:"animation"},{...a.$attrs,...t.unref(r)},{"enter-active-class":"slide-y-in","move-class":"slide-move","leave-active-class":"slide-y-out"}),{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default")]),_:3},16,["tag"]))}}),ct="",q={inheritAttrs:!1},w=t.defineComponent({...q,__name:"ZoomCenterTransition",props:f(),emits:m(),setup(o,{emit:s}){const n=o,i=d(n),l=_(n),r=p(n,s);return(a,e)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(i)),t.mergeProps({tag:t.unref(l)},{...a.$attrs,...t.unref(r)},{"enter-active-class":"zoom-in","move-class":"zoom-move","leave-active-class":"zoom-out"}),{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default")]),_:3},16,["tag"]))}}),dt="",G={styles:{default:()=>({animationFillMode:"both",animationTimingFunction:"ease-out"}),type:Object}},J={inheritAttrs:!1},F=t.defineComponent({...J,__name:"ZoomUpTransition",props:f(G),emits:m(),setup(o,{emit:s}){const n=o,i=d(n),l=_(n),r=p(n,s);return(a,e)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(i)),t.mergeProps({tag:t.unref(l)},{...a.$attrs,...t.unref(r)},{"enter-active-class":"zoom-in-up","move-class":"zoom-move","leave-active-class":"zoom-out-up"}),{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default")]),_:3},16,["tag"]))}}),mt="",K={styles:{default:()=>({animationFillMode:"both",animationTimingFunction:"cubic-bezier(.55,0,.1,1)"}),type:Object}},Q={inheritAttrs:!1},O=t.defineComponent({...Q,__name:"ZoomXTransition",props:f(K),emits:m(),setup(o,{emit:s}){const n=o,i=d(n),l=_(n),r=p(n,s);return(a,e)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(i)),t.mergeProps({tag:t.unref(l),"enter-active-class":"zoom-in-x","move-class":"zoom-move","leave-active-class":"zoom-out-x"},{...a.$attrs,...t.unref(r)}),{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default")]),_:3},16,["tag"]))}}),ft="",W={styles:{default:()=>({animationFillMode:"both",animationTimingFunction:"cubic-bezier(.55,0,.1,1)"}),type:Object}},tt={inheritAttrs:!1},z=t.defineComponent({...tt,__name:"ZoomYTransition",props:f(W),emits:m(),setup(o,{emit:s}){const n=o,i=d(n),l=_(n),r=p(n,s);return(a,e)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(i)),t.mergeProps({tag:t.unref(l),"enter-active-class":"zoom-in-y","move-class":"zoom-move","leave-active-class":"zoom-out-y"},{...a.$attrs,...t.unref(r)}),{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default")]),_:3},16,["tag"]))}}),_t="",et={CollapseTransition:b,FadeTransition:C,ScaleTransition:S,SlideXLeftTransition:B,SlideXRightTransition:k,SlideYDownTransition:P,SlideYUpTransition:D,ZoomCenterTransition:w,ZoomUpTransition:F,ZoomXTransition:O,ZoomYTransition:z};function j(o){o.$_v3SFCTransitionsInstalled||(o.$_v3SFCTransitionsInstalled=!0,Object.entries(et).forEach(([s,n])=>o.component(s,n)))}const nt={install:j};c.CollapseTransition=b,c.FadeTransition=C,c.ScaleTransition=S,c.SlideXLeftTransition=B,c.SlideXRightTransition=k,c.SlideYDownTransition=P,c.SlideYUpTransition=D,c.ZoomCenterTransition=w,c.ZoomUpTransition=F,c.ZoomXTransition=O,c.ZoomYTransition=z,c.default=nt,c.install=j,Object.defineProperties(c,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { BaseTransitionProps, RendererElement } from 'vue'
|
|
2
|
-
|
|
3
|
-
const beforeEnter = (props, el: RendererElement) => {
|
|
4
|
-
const enterDuration = props.duration?.enter ?? props.duration ?? 0
|
|
5
|
-
const enterDelay = props.delay?.enter ?? props.delay ?? 0
|
|
6
|
-
|
|
7
|
-
el.style.animationDuration = `${enterDuration}ms`
|
|
8
|
-
el.style.animationDelay = `${enterDelay}ms`
|
|
9
|
-
|
|
10
|
-
setStyles(props, el)
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
const beforeLeave = (props, el: RendererElement) => {
|
|
14
|
-
const leaveDuration = props.duration?.leave ?? props.duration ?? 0
|
|
15
|
-
const leaveDelay = props.delay?.leave ?? props.delay ?? 0
|
|
16
|
-
|
|
17
|
-
el.style.animationDuration = `${leaveDuration}ms`
|
|
18
|
-
el.style.animationDelay = `${leaveDelay}ms`
|
|
19
|
-
|
|
20
|
-
setStyles(props, el)
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
const cleanUpStyles = (props, el: RendererElement) => {
|
|
24
|
-
Object
|
|
25
|
-
.keys(props.styles)
|
|
26
|
-
.forEach(key => {
|
|
27
|
-
const styleValue = props.styles[key]
|
|
28
|
-
|
|
29
|
-
if (styleValue) el.style[key] = ''
|
|
30
|
-
})
|
|
31
|
-
|
|
32
|
-
el.style.animationDuration = ''
|
|
33
|
-
el.style.animationDelay = ''
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
const leave = (props, el: RendererElement, done: () => void) => {
|
|
37
|
-
setAbsolutePosition(props, el)
|
|
38
|
-
|
|
39
|
-
const leaveDuration = props.duration?.leave ?? props.duration ?? 0
|
|
40
|
-
const leaveDelay = props.delay?.leave ?? props.delay ?? 0
|
|
41
|
-
|
|
42
|
-
setTimeout(done, leaveDuration + leaveDelay)
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
const setStyles = (props, el: RendererElement) => {
|
|
46
|
-
setTransformOrigin(props, el)
|
|
47
|
-
|
|
48
|
-
Object
|
|
49
|
-
.keys(props.styles)
|
|
50
|
-
.forEach(key => {
|
|
51
|
-
const styleValue = props.styles[key]
|
|
52
|
-
|
|
53
|
-
if (styleValue) el.style[key] = styleValue
|
|
54
|
-
})
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
const setAbsolutePosition = (props, el: RendererElement) => {
|
|
58
|
-
if (props.group) el.style.position = 'absolute'
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
const setTransformOrigin = (props, el: RendererElement) => {
|
|
62
|
-
if (props.origin) el.style.transformOrigin = props.origin
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export default (props, emit): BaseTransitionProps => ({
|
|
66
|
-
onAfterEnter: (el: RendererElement) => {
|
|
67
|
-
cleanUpStyles(props, el)
|
|
68
|
-
emit('after-enter', el)
|
|
69
|
-
},
|
|
70
|
-
onAfterLeave: (el: RendererElement) => {
|
|
71
|
-
cleanUpStyles(props, el)
|
|
72
|
-
emit('after-leave', el)
|
|
73
|
-
},
|
|
74
|
-
onBeforeEnter: (el: RendererElement) => {
|
|
75
|
-
beforeEnter(props, el)
|
|
76
|
-
emit('before-enter', el)
|
|
77
|
-
},
|
|
78
|
-
onBeforeLeave: (el: RendererElement) => {
|
|
79
|
-
beforeLeave(props, el)
|
|
80
|
-
emit('before-leave', el)
|
|
81
|
-
},
|
|
82
|
-
onLeave: (el: RendererElement, done: () => void) => {
|
|
83
|
-
leave(props, el, done)
|
|
84
|
-
emit('leave', el, done)
|
|
85
|
-
}
|
|
86
|
-
})
|
|
87
|
-
|
|
88
|
-
export {
|
|
89
|
-
leave,
|
|
90
|
-
setAbsolutePosition,
|
|
91
|
-
setStyles
|
|
92
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
const defaultProps = {
|
|
2
|
-
/**
|
|
3
|
-
* Transition delay. Number for specifying the same delay for enter/leave transitions
|
|
4
|
-
* Object style {enter: 300, leave: 300} for specifying explicit durations for enter/leave
|
|
5
|
-
*/
|
|
6
|
-
delay: {
|
|
7
|
-
default: 0,
|
|
8
|
-
type: [Number, Object]
|
|
9
|
-
},
|
|
10
|
-
/**
|
|
11
|
-
* Transition duration. Number for specifying the same duration for enter/leave transitions
|
|
12
|
-
* Object style {enter: 300, leave: 300} for specifying explicit durations for enter/leave
|
|
13
|
-
*/
|
|
14
|
-
duration: {
|
|
15
|
-
default: 300,
|
|
16
|
-
type: [Number, Object]
|
|
17
|
-
},
|
|
18
|
-
/**
|
|
19
|
-
* Whether the component should be a `transition-group` component.
|
|
20
|
-
*/
|
|
21
|
-
group: Boolean,
|
|
22
|
-
/**
|
|
23
|
-
* Transform origin property https://tympanus.net/codrops/css_reference/transform-origin/.
|
|
24
|
-
* Can be specified with styles as well but it's shorter with this prop
|
|
25
|
-
*/
|
|
26
|
-
origin: {
|
|
27
|
-
default: '',
|
|
28
|
-
type: String
|
|
29
|
-
},
|
|
30
|
-
/**
|
|
31
|
-
* Element styles that are applied during transition. These styles are applied on @beforeEnter and @beforeLeave hooks
|
|
32
|
-
*/
|
|
33
|
-
styles: {
|
|
34
|
-
default: () => ({
|
|
35
|
-
animationFillMode: 'both',
|
|
36
|
-
animationTimingFunction: 'ease-out'
|
|
37
|
-
}),
|
|
38
|
-
type: Object
|
|
39
|
-
},
|
|
40
|
-
/**
|
|
41
|
-
* Transition tag, in case the component is a `transition-group`
|
|
42
|
-
*/
|
|
43
|
-
tag: {
|
|
44
|
-
default: 'span',
|
|
45
|
-
type: String
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export default (customProps?: Record<string, unknown>) => ({
|
|
50
|
-
...defaultProps,
|
|
51
|
-
...(customProps || {})
|
|
52
|
-
})
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default props => props.tag
|
package/src/composable/index.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import buildComponentType from './buildComponentType'
|
|
2
|
-
import buildEmits from './buildEmits'
|
|
3
|
-
import buildHooks from './buildHooks'
|
|
4
|
-
import buildProps from './buildProps'
|
|
5
|
-
import buildTag from './buildTag'
|
|
6
|
-
|
|
7
|
-
export { buildComponentType, buildEmits, buildHooks, buildProps, buildTag }
|
package/src/global-shim.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare const VERSION: string
|