deja-vue 2.1.0 → 2.1.2
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/dist/index.d.ts +5 -5
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Component, ComputedRef, InjectionKey, MaybeRef, MaybeRefOrGetter, ModelRef, Reactive, Ref, ShallowRef, ShallowUnwrapRef, WatchOptions } from "vue";
|
|
2
2
|
import { NodeRef } from "vue-unwrap";
|
|
3
|
-
import
|
|
3
|
+
import SplitText from "gsap/SplitText";
|
|
4
4
|
|
|
5
5
|
//#region src/core/EventBus.d.ts
|
|
6
6
|
declare class EventBus<E extends string, A extends unknown[] = []> {
|
|
@@ -273,11 +273,11 @@ type __VLS_Slots$2 = {
|
|
|
273
273
|
default(props: DejaVueSplitTextScopeProps): any;
|
|
274
274
|
};
|
|
275
275
|
declare const __VLS_base$2: import("vue").DefineComponent<__VLS_Props, DejaVueSplitTextInstance, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
276
|
-
split: (splitText: SplitText) => any;
|
|
277
276
|
revert: (splitText: SplitText) => any;
|
|
277
|
+
split: (splitText: SplitText) => any;
|
|
278
278
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
279
|
-
onSplit?: ((splitText: SplitText) => any) | undefined;
|
|
280
279
|
onRevert?: ((splitText: SplitText) => any) | undefined;
|
|
280
|
+
onSplit?: ((splitText: SplitText) => any) | undefined;
|
|
281
281
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
282
282
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
283
283
|
declare const _default$1: typeof __VLS_export$2;
|
|
@@ -339,13 +339,13 @@ declare const __VLS_base$1: import("vue").DefineComponent<(DejaVueAnimationCompo
|
|
|
339
339
|
duration?: number;
|
|
340
340
|
options?: gsap.TimelineVars;
|
|
341
341
|
} & __VLS_ModelProps$1)> & Readonly<{
|
|
342
|
-
"onUpdate:progress"?: ((value: number) => any) | undefined;
|
|
343
342
|
onComplete?: ((...args: any[]) => any) | undefined;
|
|
344
343
|
onInterrupt?: ((...args: any[]) => any) | undefined;
|
|
345
344
|
onRepeat?: ((...args: any[]) => any) | undefined;
|
|
346
345
|
onReverseComplete?: ((...args: any[]) => any) | undefined;
|
|
347
346
|
onStart?: ((...args: any[]) => any) | undefined;
|
|
348
347
|
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
348
|
+
"onUpdate:progress"?: ((value: number) => any) | undefined;
|
|
349
349
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
350
350
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
351
351
|
declare const _default$2: typeof __VLS_export$1;
|
|
@@ -547,13 +547,13 @@ declare const __VLS_base: import("vue").DefineComponent<(DejaVueAnimationCompone
|
|
|
547
547
|
effect?: string;
|
|
548
548
|
effectOptions?: gsap.TweenVars;
|
|
549
549
|
} & __VLS_ModelProps)> & Readonly<{
|
|
550
|
-
"onUpdate:progress"?: ((value: number) => any) | undefined;
|
|
551
550
|
onComplete?: ((...args: any[]) => any) | undefined;
|
|
552
551
|
onInterrupt?: ((...args: any[]) => any) | undefined;
|
|
553
552
|
onRepeat?: ((...args: any[]) => any) | undefined;
|
|
554
553
|
onReverseComplete?: ((...args: any[]) => any) | undefined;
|
|
555
554
|
onStart?: ((...args: any[]) => any) | undefined;
|
|
556
555
|
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
556
|
+
"onUpdate:progress"?: ((value: number) => any) | undefined;
|
|
557
557
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
558
558
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
559
559
|
declare const _default$3: typeof __VLS_export;
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import gsap from "gsap";
|
|
2
|
+
import ScrollTrigger from "gsap/ScrollTrigger";
|
|
3
3
|
import { computed, createBlock, defineComponent, effectScope, inject, mergeModels, nextTick, onUnmounted, openBlock, provide, reactive, ref, renderSlot, shallowReactive, shallowRef, toRefs, toValue, unref, useAttrs, useModel, watch } from "vue";
|
|
4
4
|
import { getNodeElement, useUnwrap } from "vue-unwrap";
|
|
5
|
-
import
|
|
5
|
+
import SplitText from "gsap/SplitText";
|
|
6
6
|
//#region src/constants.ts
|
|
7
7
|
const ANIMATION_EVENTS = [
|
|
8
8
|
"complete",
|