@zyzgroup/core-vue 0.0.42 → 0.0.43
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/ce/style.css +1 -1
- package/ce/yz_custom_element.iife.js +209 -168
- package/ce/yz_custom_element.iife.js.map +1 -1
- package/ce/yz_custom_element.js +19799 -20547
- package/ce/yz_custom_element.js.map +1 -1
- package/ce/yz_custom_element.umd.cjs +209 -168
- package/ce/yz_custom_element.umd.cjs.map +1 -1
- package/dist/style.css +1 -0
- package/dist/zyzgroup_core_vue.iife.js +22 -1
- package/dist/zyzgroup_core_vue.iife.js.map +1 -1
- package/dist/zyzgroup_core_vue.js +6744 -119
- package/dist/zyzgroup_core_vue.js.map +1 -1
- package/dist/zyzgroup_core_vue.umd.cjs +22 -1
- package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
- package/package.json +2 -1
- package/types/App.vue.d.ts +0 -2
- package/types/components/Accordion.ce.vue.d.ts +49 -52
- package/types/components/Accordion.vue.d.ts +49 -52
- package/types/components/Button.ce.vue.d.ts +53 -55
- package/types/components/Button.vue.d.ts +53 -55
- package/types/components/Canvas.ce.vue.d.ts +8 -33
- package/types/components/Canvas.vue.d.ts +8 -33
- package/types/components/CardFlip.ce.vue.d.ts +27 -36
- package/types/components/CardFlip.vue.d.ts +27 -36
- package/types/components/Container.ce.vue.d.ts +43 -43
- package/types/components/Container.vue.d.ts +43 -43
- package/types/components/Cube.ce.vue.d.ts +58 -39
- package/types/components/Cube.vue.d.ts +58 -39
- package/types/components/Dialog.ce.vue.d.ts +63 -45
- package/types/components/Dialog.vue.d.ts +63 -45
- package/types/components/DialogLoading.ce.vue.d.ts +37 -35
- package/types/components/DialogLoading.vue.d.ts +37 -35
- package/types/components/DialogToast.ce.vue.d.ts +9 -34
- package/types/components/DialogToast.vue.d.ts +9 -34
- package/types/components/EaseGraphDisplay.ce.vue.d.ts +11 -50
- package/types/components/EaseGraphDisplay.vue.d.ts +11 -50
- package/types/components/EaseGroupGraphDisplay.ce.vue.d.ts +5 -42
- package/types/components/EaseGroupGraphDisplay.vue.d.ts +5 -42
- package/types/components/HandWritePanel.ce.vue.d.ts +4 -44
- package/types/components/HandWritePanel.vue.d.ts +4 -44
- package/types/components/Icon.ce.vue.d.ts +3 -28
- package/types/components/Icon.vue.d.ts +3 -28
- package/types/components/Image.ce.vue.d.ts +6 -38
- package/types/components/Image.vue.d.ts +6 -38
- package/types/components/ImageView.ce.vue.d.ts +7 -32
- package/types/components/ImageView.vue.d.ts +7 -32
- package/types/components/InterpolationGraphDisplay.ce.vue.d.ts +9 -39
- package/types/components/InterpolationGraphDisplay.vue.d.ts +9 -39
- package/types/components/InterpolationGroupGraphDisplay.ce.vue.d.ts +3 -34
- package/types/components/InterpolationGroupGraphDisplay.vue.d.ts +3 -34
- package/types/components/MapTianditu.ce.vue.d.ts +28 -42
- package/types/components/MapTianditu.vue.d.ts +28 -42
- package/types/components/Overlay.ce.vue.d.ts +20 -34
- package/types/components/Overlay.vue.d.ts +20 -34
- package/types/components/Page.ce.vue.d.ts +55 -47
- package/types/components/Page.vue.d.ts +55 -47
- package/types/components/PlateDisplay.ce.vue.d.ts +4 -32
- package/types/components/PlateDisplay.vue.d.ts +4 -32
- package/types/components/PlateKeyboard.ce.vue.d.ts +10 -33
- package/types/components/PlateKeyboard.vue.d.ts +10 -33
- package/types/components/PlateMobile.ce.vue.d.ts +10 -28
- package/types/components/PlateMobile.vue.d.ts +10 -28
- package/types/components/Pop.ce.vue.d.ts +150 -64
- package/types/components/Pop.vue.d.ts +150 -64
- package/types/components/Popover.ce.vue.d.ts +41 -37
- package/types/components/Popover.vue.d.ts +41 -37
- package/types/components/Routes.ce.vue.d.ts +15 -49
- package/types/components/Routes.vue.d.ts +15 -49
- package/types/components/SVG.ce.vue.d.ts +8 -30
- package/types/components/SVG.vue.d.ts +8 -30
- package/types/components/SVGAndCanvas.ce.vue.d.ts +3 -28
- package/types/components/SVGAndCanvas.vue.d.ts +3 -28
- package/types/components/Video.ce.vue.d.ts +12 -44
- package/types/components/Video.vue.d.ts +12 -44
- package/types/components/VueRouterView.ce.vue.d.ts +3 -21
- package/types/components/VueRouterView.vue.d.ts +3 -21
- package/types/components/VueSuspense.ce.vue.d.ts +6 -4
- package/types/components/VueSuspense.vue.d.ts +6 -4
- package/types/components/bg/grid/BgGrid.ce.vue.d.ts +14 -0
- package/types/components/bg/grid/BgGrid.vue.d.ts +14 -0
- package/types/components/chat/ClockFlipper.ce.vue.d.ts +4 -53
- package/types/components/chat/ClockFlipper.vue.d.ts +4 -53
- package/types/components/chat/RingIndicator.ce.vue.d.ts +3 -37
- package/types/components/chat/RingIndicator.vue.d.ts +3 -37
- package/types/components/chat/RingText.ce.vue.d.ts +3 -37
- package/types/components/chat/RingText.vue.d.ts +3 -37
- package/types/components/effect/BorderFocusText.ce.vue.d.ts +31 -49
- package/types/components/effect/BorderFocusText.vue.d.ts +31 -49
- package/types/components/effect/CSSAnimation.ce.vue.d.ts +49 -60
- package/types/components/effect/CSSAnimation.vue.d.ts +49 -60
- package/types/components/effect/CSSTransition.ce.vue.d.ts +44 -52
- package/types/components/effect/CSSTransition.vue.d.ts +44 -52
- package/types/components/effect/Circle.ce.vue.d.ts +31 -43
- package/types/components/effect/Circle.vue.d.ts +31 -43
- package/types/components/effect/Float.ce.vue.d.ts +28 -46
- package/types/components/effect/Float.vue.d.ts +28 -46
- package/types/components/effect/ImageMask.ce.vue.d.ts +27 -32
- package/types/components/effect/ImageMask.vue.d.ts +27 -32
- package/types/components/effect/LineDouble.ce.vue.d.ts +40 -52
- package/types/components/effect/LineDouble.vue.d.ts +40 -52
- package/types/components/effect/LineSingle.ce.vue.d.ts +36 -52
- package/types/components/effect/LineSingle.vue.d.ts +36 -52
- package/types/components/effect/Slide.ce.vue.d.ts +30 -46
- package/types/components/effect/Slide.vue.d.ts +30 -46
- package/types/components/effect/SlideCorner.ce.vue.d.ts +31 -43
- package/types/components/effect/SlideCorner.vue.d.ts +31 -43
- package/types/components/effect/TextBackgroundClip.ce.vue.d.ts +3 -28
- package/types/components/effect/TextBackgroundClip.vue.d.ts +3 -28
- package/types/components/effect/VueTransition.ce.vue.d.ts +30 -43
- package/types/components/effect/VueTransition.vue.d.ts +30 -43
- package/types/components/effect/VueTransitionGroupSlideToLeft.ce.vue.d.ts +9 -3
- package/types/components/effect/VueTransitionGroupSlideToLeft.vue.d.ts +9 -3
- package/types/components/effect/VueTransitionOpacity.ce.vue.d.ts +9 -3
- package/types/components/effect/VueTransitionOpacity.vue.d.ts +9 -3
- package/types/components/effect/VueTransitionSlideUp.ce.vue.d.ts +9 -3
- package/types/components/effect/VueTransitionSlideUp.vue.d.ts +9 -3
- package/types/components/form/BooleanBox.ce.vue.d.ts +44 -60
- package/types/components/form/BooleanBox.vue.d.ts +44 -60
- package/types/components/form/CheckboxGroup.ce.vue.d.ts +11 -51
- package/types/components/form/CheckboxGroup.vue.d.ts +11 -51
- package/types/components/form/ColorPicker.ce.vue.d.ts +46 -31
- package/types/components/form/ColorPicker.vue.d.ts +46 -31
- package/types/components/form/Input.ce.vue.d.ts +23 -74
- package/types/components/form/Input.vue.d.ts +23 -74
- package/types/components/form/InputFileDrop.ce.vue.d.ts +23 -29
- package/types/components/form/InputFileDrop.vue.d.ts +23 -29
- package/types/components/form/InputRange.ce.vue.d.ts +33 -55
- package/types/components/form/InputRange.vue.d.ts +33 -55
- package/types/components/form/InputRangeBox.ce.vue.d.ts +38 -51
- package/types/components/form/InputRangeBox.vue.d.ts +38 -51
- package/types/components/form/InputRangeCanvas.ce.vue.d.ts +31 -53
- package/types/components/form/InputRangeCanvas.vue.d.ts +31 -53
- package/types/components/form/PageVerticalScrollProgressBar.ce.vue.d.ts +21 -0
- package/types/components/form/PageVerticalScrollProgressBar.vue.d.ts +21 -0
- package/types/components/form/ProgressBar.ce.vue.d.ts +22 -0
- package/types/components/form/ProgressBar.vue.d.ts +22 -0
- package/types/components/form/RadioGroup.ce.vue.d.ts +11 -51
- package/types/components/form/RadioGroup.vue.d.ts +11 -51
- package/types/components/form/Select.ce.vue.d.ts +14 -52
- package/types/components/form/Select.vue.d.ts +14 -52
- package/types/components/form/SelectAbsolute.ce.vue.d.ts +16 -64
- package/types/components/form/SelectAbsolute.vue.d.ts +16 -64
- package/types/components/form/SlideLeftItem.ce.vue.d.ts +50 -0
- package/types/components/form/SlideLeftItem.vue.d.ts +50 -0
- package/types/components/form/Status.ce.vue.d.ts +3 -26
- package/types/components/form/Status.vue.d.ts +3 -26
- package/types/components/form/Switch.ce.vue.d.ts +7 -47
- package/types/components/form/Switch.vue.d.ts +7 -47
- package/types/components/form/Tabs.ce.vue.d.ts +14 -0
- package/types/components/form/Tabs.vue.d.ts +14 -0
- package/types/components/form/Text.ce.vue.d.ts +36 -0
- package/types/components/form/Text.vue.d.ts +36 -0
- package/types/components/form/ViewDocument.ce.vue.d.ts +9 -0
- package/types/components/form/ViewDocument.vue.d.ts +9 -0
- package/types/components/layout/LayoutCenter.ce.vue.d.ts +20 -30
- package/types/components/layout/LayoutCenter.vue.d.ts +20 -30
- package/types/components/layout/LayoutMobile.ce.vue.d.ts +4 -36
- package/types/components/layout/LayoutMobile.vue.d.ts +4 -36
- package/types/components/layout/LayoutPage.ce.vue.d.ts +20 -0
- package/types/components/layout/LayoutPage.vue.d.ts +20 -0
- package/types/components/loading/Loading1.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading1.vue.d.ts +3 -25
- package/types/components/loading/Loading10.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading10.vue.d.ts +3 -25
- package/types/components/loading/Loading11.ce.vue.d.ts +3 -28
- package/types/components/loading/Loading11.vue.d.ts +3 -28
- package/types/components/loading/Loading2.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading2.vue.d.ts +3 -25
- package/types/components/loading/Loading3.ce.vue.d.ts +3 -28
- package/types/components/loading/Loading3.vue.d.ts +3 -28
- package/types/components/loading/Loading4.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading4.vue.d.ts +3 -25
- package/types/components/loading/Loading5.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading5.vue.d.ts +3 -25
- package/types/components/loading/Loading6.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading6.vue.d.ts +3 -25
- package/types/components/loading/Loading7.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading7.vue.d.ts +3 -25
- package/types/components/loading/Loading8.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading8.vue.d.ts +3 -25
- package/types/components/loading/Loading9.ce.vue.d.ts +3 -25
- package/types/components/loading/Loading9.vue.d.ts +3 -25
- package/types/components/pop/PopTel.ce.vue.d.ts +10 -0
- package/types/components/pop/PopTel.vue.d.ts +10 -0
- package/types/components/svg/SVGCheck.ce.vue.d.ts +3 -28
- package/types/components/svg/SVGCheck.vue.d.ts +3 -28
- package/types/components/svg/SVGCleanUp.ce.vue.d.ts +3 -28
- package/types/components/svg/SVGCleanUp.vue.d.ts +3 -28
- package/types/components/svg/SVGDelete.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGDelete.vue.d.ts +3 -29
- package/types/components/svg/SVGDown.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGDown.vue.d.ts +3 -29
- package/types/components/svg/SVGElement.ce.vue.d.ts +14 -38
- package/types/components/svg/SVGElement.vue.d.ts +14 -38
- package/types/components/svg/SVGFail.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGFail.vue.d.ts +3 -29
- package/types/components/svg/SVGHome.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGHome.vue.d.ts +3 -29
- package/types/components/svg/SVGLock.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGLock.vue.d.ts +3 -29
- package/types/components/svg/SVGPrompt.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGPrompt.vue.d.ts +3 -29
- package/types/components/svg/SVGQuestion.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGQuestion.vue.d.ts +3 -29
- package/types/components/svg/SVGReturn.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGReturn.vue.d.ts +3 -29
- package/types/components/svg/SVGSuccess.vue.d.ts +3 -29
- package/types/components/svg/SVGWaiting.ce.vue.d.ts +3 -29
- package/types/components/svg/SVGWaiting.vue.d.ts +3 -29
- package/types/components/svg/SVGWarn.ce.vue.d.ts +9 -0
- package/types/components/svg/SVGWarn.vue.d.ts +9 -0
- package/types/components/xg/Park.ce.vue.d.ts +2 -0
- package/types/components/xg/Park.vue.d.ts +2 -0
- package/types/components/xg/XG.ce.vue.d.ts +2 -0
- package/types/components/xg/XG.vue.d.ts +2 -0
- package/types/demo_vue3.vue.d.ts +22 -58
- package/types/globalTeleport.d.ts +4 -6
- package/types/hooks/pinia/counter.d.ts +13 -0
- package/types/hooks/useSafeArea.d.ts +1 -0
- package/types/hooks/useVueRouter.d.ts +5 -14
- package/types/hooks/useVuex/modules/root.d.ts +0 -1
- package/types/hooks/useVuex/useVuex.d.ts +0 -1
- package/types/main.d.ts +2 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import Container from "../Container.vue";
|
|
1
2
|
import { ContainerType, EffectTriggerTiming } from "../../types";
|
|
2
|
-
import { SupportedEaseNameToCubicBezier } from "@zyzgroup/core-web";
|
|
3
|
+
import { DOMEventBus, SupportedEaseNameToCubicBezier } from "@zyzgroup/core-web";
|
|
3
4
|
export type SupportedCSSAnimation = "jelly" | "bounce" | "flash" | "pulse" | "rubberBand" | "shakeX" | "shakeY" | "headShake" | "swing" | "tada" | "wobble" | "jello" | "heartBeat" | "backInLeft" | "backInRight" | "backInUp" | "backInDown" | "backOutLeft" | "backOutRight" | "backOutUp" | "backOutDown" | "bounceIn" | "bounceInLeft" | "bounceInRight" | "bounceInUp" | "bounceInDown" | "bounceOut" | "bounceOutLeft" | "bounceOutRight" | "bounceOutUp" | "bounceOutDown" | "fadeIn" | "fadeInLeft" | "fadeInLeftBig" | "fadeInRight" | "fadeInRightBig" | "fadeInUp" | "fadeInUpBig" | "fadeInDown" | "fadeInDownBig" | "fadeInTopLeft" | "fadeInTopRight" | "fadeInBottomLeft" | "fadeInBottomRight" | "fadeOut" | "fadeOutLeft" | "fadeOutLeftBig" | "fadeOutRight" | "fadeOutRightBig" | "fadeOutUp" | "fadeOutUpBig" | "fadeOutDown" | "fadeOutDownBig" | "fadeOutTopLeft" | "fadeOutTopRight" | "fadeOutBottomRight" | "fadeOutBottomLeft" | "flip" | "flipInX" | "flipInY" | "flipOutX" | "flipOutY" | "flipOutRight" | "flipInLeft" | "flipOutLeft" | "flipInRight" | "flipOutTop" | "flipInBottom" | "flipOutBottom" | "flipInTop" | "lightSpeedInLeft" | "lightSpeedInRight" | "lightSpeedOutLeft" | "lightSpeedOutRight" | "rotateIn" | "rotateInUpLeft" | "rotateInUpRight" | "rotateInDownLeft" | "rotateInDownRight" | "rotateOut" | "rotateOutUpLeft" | "rotateOutUpRight" | "rotateOutDownLeft" | "rotateOutDownRight" | "hinge" | "rotateFall" | "rotateOutNewspaper" | "rotateInNewspaper" | "jackInTheBox" | "rollIn" | "rollOut" | "zoomIn" | "zoomInLeft" | "zoomInRight" | "zoomInUp" | "zoomInDown" | "zoomOut" | "zoomOutLeft" | "zoomOutRight" | "zoomOutUp" | "zoomOutDown" | "fade" | "moveFromLeft" | "moveToLeft" | "moveFromRight" | "moveToRight" | "moveFromTop" | "moveToTop" | "moveFromBottom" | "moveToBottom" | "moveFromLeftFade" | "moveToLeftFade" | "moveFromRightFade" | "moveToRightFade" | "moveFromTopFade" | "moveToTopFade" | "moveFromBottomFade" | "moveToBottomFade" | "scaleFromSmall" | "scaleToSmall" | "scaleFromLarge" | "scaleToLarge" | "scaleFromSmallCenter" | "scaleToSmallCenter" | "slideInLeft" | "slideInRight" | "slideInUp" | "slideInDown" | "slideOutLeft" | "slideOutRight" | "slideOutUp" | "slideOutDown" | "rotateRightSideFirst" | "rotateLeftSideFirst" | "rotateTopSideFirst" | "rotateBottomSideFirst" | "rotatePushLeft" | "rotatePushRight" | "rotatePushTop" | "rotatePushBottom" | "rotatePullRight" | "rotatePullLeft" | "rotatePullTop" | "rotatePullBottom" | "rotateFoldRight" | "rotateFoldLeft" | "rotateFoldTop" | "rotateFoldBottom" | "rotateUnfoldLeft" | "rotateUnfoldRight" | "rotateUnfoldTop" | "rotateUnfoldBottom" | "rotateRoomLeftOut" | "rotateRoomLeftIn" | "rotateRoomRightOut" | "rotateRoomRightIn" | "rotateRoomTopOut" | "rotateRoomTopIn" | "rotateRoomBottomOut" | "rotateRoomBottomIn" | "rotateCubeLeftOut" | "rotateCubeLeftIn" | "rotateCubeRightOut" | "rotateCubeRightIn" | "rotateCubeTopOut" | "rotateCubeTopIn" | "rotateCubeBottomOut" | "rotateCubeBottomIn" | "rotateCarouselLeftOut" | "rotateCarouselLeftIn" | "rotateCarouselRightOut" | "rotateCarouselRightIn" | "rotateCarouselTopOut" | "rotateCarouselTopIn" | "rotateCarouselBottomOut" | "rotateCarouselBottomIn" | "rotateSidesOut" | "rotateSidesIn" | "rotateSlideOut" | "rotateSlideIn" | "superRainbow" | "statusProcessing";
|
|
4
|
-
|
|
5
|
+
type __VLS_Props = {
|
|
5
6
|
containerType?: ContainerType;
|
|
6
7
|
supportCopyText?: boolean;
|
|
7
8
|
effectTriggerTiming?: EffectTriggerTiming;
|
|
@@ -10,80 +11,68 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
10
11
|
duration?: number;
|
|
11
12
|
delay?: number;
|
|
12
13
|
repeat?: number | "infinite";
|
|
13
|
-
direction?: "
|
|
14
|
-
fillMode?: "none" | "
|
|
14
|
+
direction?: "normal" | "reverse" | "alternate" | "alternate-reverse";
|
|
15
|
+
fillMode?: "none" | "forwards" | "backwards" | "both";
|
|
15
16
|
playState?: "running" | "paused";
|
|
16
17
|
perspective?: string;
|
|
18
|
+
};
|
|
19
|
+
declare const parentStyle: Record<string, string>;
|
|
20
|
+
declare const style: Record<string, string>;
|
|
21
|
+
declare const animationRef: import("vue").Ref<any, any>;
|
|
22
|
+
declare const ready: (app: DOMEventBus) => void;
|
|
23
|
+
declare const start: () => void;
|
|
24
|
+
declare const end: () => void;
|
|
25
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
26
|
+
declare var __VLS_11: {};
|
|
27
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
28
|
+
default?: (props: typeof __VLS_11) => any;
|
|
29
|
+
}>;
|
|
30
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
31
|
+
Container: typeof Container;
|
|
32
|
+
parentStyle: typeof parentStyle;
|
|
33
|
+
style: typeof style;
|
|
34
|
+
animationRef: typeof animationRef;
|
|
35
|
+
ready: typeof ready;
|
|
36
|
+
start: typeof start;
|
|
37
|
+
end: typeof end;
|
|
38
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
39
|
+
cssanimationstart: (name: string) => any;
|
|
40
|
+
cssanimationend: (name: string) => any;
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
42
|
+
onCssanimationstart?: (name: string) => any;
|
|
43
|
+
onCssanimationend?: (name: string) => any;
|
|
17
44
|
}>, {
|
|
18
|
-
|
|
45
|
+
name: SupportedCSSAnimation;
|
|
46
|
+
effectTriggerTiming: EffectTriggerTiming;
|
|
19
47
|
supportCopyText: boolean;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
playState: string;
|
|
48
|
+
containerType: ContainerType;
|
|
49
|
+
fillMode: "none" | "forwards" | "backwards" | "both";
|
|
50
|
+
playState: "running" | "paused";
|
|
24
51
|
perspective: string;
|
|
25
|
-
}
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
26
54
|
trigger: (newAnimationName?: SupportedCSSAnimation) => void;
|
|
27
55
|
triggerReverse: (newAnimationName?: SupportedCSSAnimation) => void;
|
|
28
56
|
clear: () => void;
|
|
29
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
-
cssanimationstart: (name: string) =>
|
|
31
|
-
cssanimationend: (name: string) =>
|
|
32
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
33
|
-
containerType?: ContainerType;
|
|
34
|
-
supportCopyText?: boolean;
|
|
35
|
-
effectTriggerTiming?: EffectTriggerTiming;
|
|
36
|
-
name?: SupportedCSSAnimation;
|
|
37
|
-
timingFunction?: SupportedEaseNameToCubicBezier;
|
|
38
|
-
duration?: number;
|
|
39
|
-
delay?: number;
|
|
40
|
-
repeat?: number | "infinite";
|
|
41
|
-
direction?: "reverse" | "normal" | "alternate" | "alternate-reverse";
|
|
42
|
-
fillMode?: "none" | "both" | "forwards" | "backwards";
|
|
43
|
-
playState?: "running" | "paused";
|
|
44
|
-
perspective?: string;
|
|
45
|
-
}>, {
|
|
46
|
-
containerType: string;
|
|
47
|
-
supportCopyText: boolean;
|
|
48
|
-
effectTriggerTiming: string;
|
|
49
|
-
name: string;
|
|
50
|
-
fillMode: string;
|
|
51
|
-
playState: string;
|
|
52
|
-
perspective: string;
|
|
53
|
-
}>>> & Readonly<{
|
|
57
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
58
|
+
cssanimationstart: (name: string) => any;
|
|
59
|
+
cssanimationend: (name: string) => any;
|
|
60
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
54
61
|
onCssanimationstart?: (name: string) => any;
|
|
55
62
|
onCssanimationend?: (name: string) => any;
|
|
56
63
|
}>, {
|
|
57
64
|
name: SupportedCSSAnimation;
|
|
58
|
-
perspective: string;
|
|
59
|
-
containerType: ContainerType;
|
|
60
|
-
supportCopyText: boolean;
|
|
61
65
|
effectTriggerTiming: EffectTriggerTiming;
|
|
62
|
-
|
|
66
|
+
supportCopyText: boolean;
|
|
67
|
+
containerType: ContainerType;
|
|
68
|
+
fillMode: "none" | "forwards" | "backwards" | "both";
|
|
63
69
|
playState: "running" | "paused";
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
70
|
+
perspective: string;
|
|
71
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
72
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
67
73
|
export default _default;
|
|
68
|
-
type
|
|
69
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
70
|
-
default: D[K];
|
|
71
|
-
}> : P[K];
|
|
72
|
-
};
|
|
73
|
-
type __VLS_Prettify<T> = {
|
|
74
|
-
[K in keyof T]: T[K];
|
|
75
|
-
} & {};
|
|
76
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
74
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
77
75
|
new (): {
|
|
78
76
|
$slots: S;
|
|
79
77
|
};
|
|
80
78
|
};
|
|
81
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
82
|
-
type __VLS_TypePropsToOption<T> = {
|
|
83
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
84
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
85
|
-
} : {
|
|
86
|
-
type: import('vue').PropType<T[K]>;
|
|
87
|
-
required: true;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import Container from "../Container.vue";
|
|
1
2
|
import { ContainerType, EffectTriggerTiming } from "../../types";
|
|
2
|
-
import { SupportedEaseNameToCubicBezier } from "@zyzgroup/core-web";
|
|
3
|
+
import { DOMEventBus, SupportedEaseNameToCubicBezier } from "@zyzgroup/core-web";
|
|
3
4
|
export type SupportedCSSAnimation = "jelly" | "bounce" | "flash" | "pulse" | "rubberBand" | "shakeX" | "shakeY" | "headShake" | "swing" | "tada" | "wobble" | "jello" | "heartBeat" | "backInLeft" | "backInRight" | "backInUp" | "backInDown" | "backOutLeft" | "backOutRight" | "backOutUp" | "backOutDown" | "bounceIn" | "bounceInLeft" | "bounceInRight" | "bounceInUp" | "bounceInDown" | "bounceOut" | "bounceOutLeft" | "bounceOutRight" | "bounceOutUp" | "bounceOutDown" | "fadeIn" | "fadeInLeft" | "fadeInLeftBig" | "fadeInRight" | "fadeInRightBig" | "fadeInUp" | "fadeInUpBig" | "fadeInDown" | "fadeInDownBig" | "fadeInTopLeft" | "fadeInTopRight" | "fadeInBottomLeft" | "fadeInBottomRight" | "fadeOut" | "fadeOutLeft" | "fadeOutLeftBig" | "fadeOutRight" | "fadeOutRightBig" | "fadeOutUp" | "fadeOutUpBig" | "fadeOutDown" | "fadeOutDownBig" | "fadeOutTopLeft" | "fadeOutTopRight" | "fadeOutBottomRight" | "fadeOutBottomLeft" | "flip" | "flipInX" | "flipInY" | "flipOutX" | "flipOutY" | "flipOutRight" | "flipInLeft" | "flipOutLeft" | "flipInRight" | "flipOutTop" | "flipInBottom" | "flipOutBottom" | "flipInTop" | "lightSpeedInLeft" | "lightSpeedInRight" | "lightSpeedOutLeft" | "lightSpeedOutRight" | "rotateIn" | "rotateInUpLeft" | "rotateInUpRight" | "rotateInDownLeft" | "rotateInDownRight" | "rotateOut" | "rotateOutUpLeft" | "rotateOutUpRight" | "rotateOutDownLeft" | "rotateOutDownRight" | "hinge" | "rotateFall" | "rotateOutNewspaper" | "rotateInNewspaper" | "jackInTheBox" | "rollIn" | "rollOut" | "zoomIn" | "zoomInLeft" | "zoomInRight" | "zoomInUp" | "zoomInDown" | "zoomOut" | "zoomOutLeft" | "zoomOutRight" | "zoomOutUp" | "zoomOutDown" | "fade" | "moveFromLeft" | "moveToLeft" | "moveFromRight" | "moveToRight" | "moveFromTop" | "moveToTop" | "moveFromBottom" | "moveToBottom" | "moveFromLeftFade" | "moveToLeftFade" | "moveFromRightFade" | "moveToRightFade" | "moveFromTopFade" | "moveToTopFade" | "moveFromBottomFade" | "moveToBottomFade" | "scaleFromSmall" | "scaleToSmall" | "scaleFromLarge" | "scaleToLarge" | "scaleFromSmallCenter" | "scaleToSmallCenter" | "slideInLeft" | "slideInRight" | "slideInUp" | "slideInDown" | "slideOutLeft" | "slideOutRight" | "slideOutUp" | "slideOutDown" | "rotateRightSideFirst" | "rotateLeftSideFirst" | "rotateTopSideFirst" | "rotateBottomSideFirst" | "rotatePushLeft" | "rotatePushRight" | "rotatePushTop" | "rotatePushBottom" | "rotatePullRight" | "rotatePullLeft" | "rotatePullTop" | "rotatePullBottom" | "rotateFoldRight" | "rotateFoldLeft" | "rotateFoldTop" | "rotateFoldBottom" | "rotateUnfoldLeft" | "rotateUnfoldRight" | "rotateUnfoldTop" | "rotateUnfoldBottom" | "rotateRoomLeftOut" | "rotateRoomLeftIn" | "rotateRoomRightOut" | "rotateRoomRightIn" | "rotateRoomTopOut" | "rotateRoomTopIn" | "rotateRoomBottomOut" | "rotateRoomBottomIn" | "rotateCubeLeftOut" | "rotateCubeLeftIn" | "rotateCubeRightOut" | "rotateCubeRightIn" | "rotateCubeTopOut" | "rotateCubeTopIn" | "rotateCubeBottomOut" | "rotateCubeBottomIn" | "rotateCarouselLeftOut" | "rotateCarouselLeftIn" | "rotateCarouselRightOut" | "rotateCarouselRightIn" | "rotateCarouselTopOut" | "rotateCarouselTopIn" | "rotateCarouselBottomOut" | "rotateCarouselBottomIn" | "rotateSidesOut" | "rotateSidesIn" | "rotateSlideOut" | "rotateSlideIn" | "superRainbow" | "statusProcessing";
|
|
4
|
-
|
|
5
|
+
type __VLS_Props = {
|
|
5
6
|
containerType?: ContainerType;
|
|
6
7
|
supportCopyText?: boolean;
|
|
7
8
|
effectTriggerTiming?: EffectTriggerTiming;
|
|
@@ -10,80 +11,68 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
10
11
|
duration?: number;
|
|
11
12
|
delay?: number;
|
|
12
13
|
repeat?: number | "infinite";
|
|
13
|
-
direction?: "
|
|
14
|
-
fillMode?: "none" | "
|
|
14
|
+
direction?: "normal" | "reverse" | "alternate" | "alternate-reverse";
|
|
15
|
+
fillMode?: "none" | "forwards" | "backwards" | "both";
|
|
15
16
|
playState?: "running" | "paused";
|
|
16
17
|
perspective?: string;
|
|
18
|
+
};
|
|
19
|
+
declare const parentStyle: Record<string, string>;
|
|
20
|
+
declare const style: Record<string, string>;
|
|
21
|
+
declare const animationRef: import("vue").Ref<any, any>;
|
|
22
|
+
declare const ready: (app: DOMEventBus) => void;
|
|
23
|
+
declare const start: () => void;
|
|
24
|
+
declare const end: () => void;
|
|
25
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
26
|
+
declare var __VLS_11: {};
|
|
27
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
28
|
+
default?: (props: typeof __VLS_11) => any;
|
|
29
|
+
}>;
|
|
30
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
31
|
+
Container: typeof Container;
|
|
32
|
+
parentStyle: typeof parentStyle;
|
|
33
|
+
style: typeof style;
|
|
34
|
+
animationRef: typeof animationRef;
|
|
35
|
+
ready: typeof ready;
|
|
36
|
+
start: typeof start;
|
|
37
|
+
end: typeof end;
|
|
38
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
39
|
+
cssanimationstart: (name: string) => any;
|
|
40
|
+
cssanimationend: (name: string) => any;
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
42
|
+
onCssanimationstart?: (name: string) => any;
|
|
43
|
+
onCssanimationend?: (name: string) => any;
|
|
17
44
|
}>, {
|
|
18
|
-
|
|
45
|
+
name: SupportedCSSAnimation;
|
|
46
|
+
effectTriggerTiming: EffectTriggerTiming;
|
|
19
47
|
supportCopyText: boolean;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
playState: string;
|
|
48
|
+
containerType: ContainerType;
|
|
49
|
+
fillMode: "none" | "forwards" | "backwards" | "both";
|
|
50
|
+
playState: "running" | "paused";
|
|
24
51
|
perspective: string;
|
|
25
|
-
}
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
26
54
|
trigger: (newAnimationName?: SupportedCSSAnimation) => void;
|
|
27
55
|
triggerReverse: (newAnimationName?: SupportedCSSAnimation) => void;
|
|
28
56
|
clear: () => void;
|
|
29
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
-
cssanimationstart: (name: string) =>
|
|
31
|
-
cssanimationend: (name: string) =>
|
|
32
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
33
|
-
containerType?: ContainerType;
|
|
34
|
-
supportCopyText?: boolean;
|
|
35
|
-
effectTriggerTiming?: EffectTriggerTiming;
|
|
36
|
-
name?: SupportedCSSAnimation;
|
|
37
|
-
timingFunction?: SupportedEaseNameToCubicBezier;
|
|
38
|
-
duration?: number;
|
|
39
|
-
delay?: number;
|
|
40
|
-
repeat?: number | "infinite";
|
|
41
|
-
direction?: "reverse" | "normal" | "alternate" | "alternate-reverse";
|
|
42
|
-
fillMode?: "none" | "both" | "forwards" | "backwards";
|
|
43
|
-
playState?: "running" | "paused";
|
|
44
|
-
perspective?: string;
|
|
45
|
-
}>, {
|
|
46
|
-
containerType: string;
|
|
47
|
-
supportCopyText: boolean;
|
|
48
|
-
effectTriggerTiming: string;
|
|
49
|
-
name: string;
|
|
50
|
-
fillMode: string;
|
|
51
|
-
playState: string;
|
|
52
|
-
perspective: string;
|
|
53
|
-
}>>> & Readonly<{
|
|
57
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
58
|
+
cssanimationstart: (name: string) => any;
|
|
59
|
+
cssanimationend: (name: string) => any;
|
|
60
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
54
61
|
onCssanimationstart?: (name: string) => any;
|
|
55
62
|
onCssanimationend?: (name: string) => any;
|
|
56
63
|
}>, {
|
|
57
64
|
name: SupportedCSSAnimation;
|
|
58
|
-
perspective: string;
|
|
59
|
-
containerType: ContainerType;
|
|
60
|
-
supportCopyText: boolean;
|
|
61
65
|
effectTriggerTiming: EffectTriggerTiming;
|
|
62
|
-
|
|
66
|
+
supportCopyText: boolean;
|
|
67
|
+
containerType: ContainerType;
|
|
68
|
+
fillMode: "none" | "forwards" | "backwards" | "both";
|
|
63
69
|
playState: "running" | "paused";
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
70
|
+
perspective: string;
|
|
71
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
72
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
67
73
|
export default _default;
|
|
68
|
-
type
|
|
69
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
70
|
-
default: D[K];
|
|
71
|
-
}> : P[K];
|
|
72
|
-
};
|
|
73
|
-
type __VLS_Prettify<T> = {
|
|
74
|
-
[K in keyof T]: T[K];
|
|
75
|
-
} & {};
|
|
76
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
74
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
77
75
|
new (): {
|
|
78
76
|
$slots: S;
|
|
79
77
|
};
|
|
80
78
|
};
|
|
81
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
82
|
-
type __VLS_TypePropsToOption<T> = {
|
|
83
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
84
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
85
|
-
} : {
|
|
86
|
-
type: import('vue').PropType<T[K]>;
|
|
87
|
-
required: true;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
@@ -1,75 +1,67 @@
|
|
|
1
|
+
import Container from "../Container.vue";
|
|
1
2
|
import { ContainerType, EffectTriggerTiming } from "../../types";
|
|
2
|
-
import { SupportedEaseNameToCubicBezier } from "@zyzgroup/core-web";
|
|
3
|
+
import { DOMEventBus, SupportedEaseNameToCubicBezier } from "@zyzgroup/core-web";
|
|
3
4
|
export type SupportedCSSTransition = "superRainbow";
|
|
4
|
-
|
|
5
|
+
type __VLS_Props = {
|
|
5
6
|
containerType?: ContainerType;
|
|
6
7
|
supportCopyText?: boolean;
|
|
7
8
|
effectTriggerTiming?: EffectTriggerTiming;
|
|
8
|
-
name?:
|
|
9
|
-
duration?: number;
|
|
10
|
-
timingFunction?: SupportedEaseNameToCubicBezier;
|
|
11
|
-
delay?: number;
|
|
12
|
-
}>, {
|
|
13
|
-
containerType: string;
|
|
14
|
-
supportCopyText: boolean;
|
|
15
|
-
effectTriggerTiming: string;
|
|
16
|
-
name: string;
|
|
17
|
-
duration: number;
|
|
18
|
-
timingFunction: string;
|
|
19
|
-
delay: number;
|
|
20
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
-
csstransitionstart: (e: TransitionEvent) => void;
|
|
22
|
-
csstransitionend: (e: TransitionEvent) => void;
|
|
23
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
24
|
-
containerType?: ContainerType;
|
|
25
|
-
supportCopyText?: boolean;
|
|
26
|
-
effectTriggerTiming?: EffectTriggerTiming;
|
|
27
|
-
name?: "superRainbow";
|
|
9
|
+
name?: SupportedCSSTransition;
|
|
28
10
|
duration?: number;
|
|
29
11
|
timingFunction?: SupportedEaseNameToCubicBezier;
|
|
30
12
|
delay?: number;
|
|
13
|
+
};
|
|
14
|
+
declare const parentStyle: Record<string, string>;
|
|
15
|
+
declare const style: Record<string, string>;
|
|
16
|
+
declare const ready: (app: DOMEventBus) => void;
|
|
17
|
+
declare const start: () => void;
|
|
18
|
+
declare const end: () => void;
|
|
19
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
20
|
+
declare var __VLS_11: {};
|
|
21
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
22
|
+
default?: (props: typeof __VLS_11) => any;
|
|
23
|
+
}>;
|
|
24
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
25
|
+
Container: typeof Container;
|
|
26
|
+
parentStyle: typeof parentStyle;
|
|
27
|
+
style: typeof style;
|
|
28
|
+
ready: typeof ready;
|
|
29
|
+
start: typeof start;
|
|
30
|
+
end: typeof end;
|
|
31
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
32
|
+
csstransitionstart: (e: TransitionEvent) => any;
|
|
33
|
+
csstransitionend: (e: TransitionEvent) => any;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
35
|
+
onCsstransitionstart?: (e: TransitionEvent) => any;
|
|
36
|
+
onCsstransitionend?: (e: TransitionEvent) => any;
|
|
31
37
|
}>, {
|
|
32
|
-
|
|
38
|
+
name: SupportedCSSTransition;
|
|
39
|
+
effectTriggerTiming: EffectTriggerTiming;
|
|
33
40
|
supportCopyText: boolean;
|
|
34
|
-
effectTriggerTiming: string;
|
|
35
|
-
name: string;
|
|
36
41
|
duration: number;
|
|
37
|
-
|
|
42
|
+
containerType: ContainerType;
|
|
43
|
+
timingFunction: SupportedEaseNameToCubicBezier;
|
|
38
44
|
delay: number;
|
|
39
|
-
}
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
46
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
47
|
+
csstransitionstart: (e: TransitionEvent) => any;
|
|
48
|
+
csstransitionend: (e: TransitionEvent) => any;
|
|
49
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
50
|
onCsstransitionstart?: (e: TransitionEvent) => any;
|
|
41
51
|
onCsstransitionend?: (e: TransitionEvent) => any;
|
|
42
52
|
}>, {
|
|
53
|
+
name: SupportedCSSTransition;
|
|
54
|
+
effectTriggerTiming: EffectTriggerTiming;
|
|
55
|
+
supportCopyText: boolean;
|
|
43
56
|
duration: number;
|
|
44
|
-
|
|
57
|
+
containerType: ContainerType;
|
|
45
58
|
timingFunction: SupportedEaseNameToCubicBezier;
|
|
46
59
|
delay: number;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
effectTriggerTiming: EffectTriggerTiming;
|
|
50
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
51
|
-
default?(_: {}): any;
|
|
52
|
-
}>;
|
|
60
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
61
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
53
62
|
export default _default;
|
|
54
|
-
type
|
|
55
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
56
|
-
default: D[K];
|
|
57
|
-
}> : P[K];
|
|
58
|
-
};
|
|
59
|
-
type __VLS_Prettify<T> = {
|
|
60
|
-
[K in keyof T]: T[K];
|
|
61
|
-
} & {};
|
|
62
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
63
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
63
64
|
new (): {
|
|
64
65
|
$slots: S;
|
|
65
66
|
};
|
|
66
67
|
};
|
|
67
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
68
|
-
type __VLS_TypePropsToOption<T> = {
|
|
69
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
70
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
71
|
-
} : {
|
|
72
|
-
type: import('vue').PropType<T[K]>;
|
|
73
|
-
required: true;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
@@ -1,75 +1,67 @@
|
|
|
1
|
+
import Container from "../Container.vue";
|
|
1
2
|
import { ContainerType, EffectTriggerTiming } from "../../types";
|
|
2
|
-
import { SupportedEaseNameToCubicBezier } from "@zyzgroup/core-web";
|
|
3
|
+
import { DOMEventBus, SupportedEaseNameToCubicBezier } from "@zyzgroup/core-web";
|
|
3
4
|
export type SupportedCSSTransition = "superRainbow";
|
|
4
|
-
|
|
5
|
+
type __VLS_Props = {
|
|
5
6
|
containerType?: ContainerType;
|
|
6
7
|
supportCopyText?: boolean;
|
|
7
8
|
effectTriggerTiming?: EffectTriggerTiming;
|
|
8
|
-
name?:
|
|
9
|
-
duration?: number;
|
|
10
|
-
timingFunction?: SupportedEaseNameToCubicBezier;
|
|
11
|
-
delay?: number;
|
|
12
|
-
}>, {
|
|
13
|
-
containerType: string;
|
|
14
|
-
supportCopyText: boolean;
|
|
15
|
-
effectTriggerTiming: string;
|
|
16
|
-
name: string;
|
|
17
|
-
duration: number;
|
|
18
|
-
timingFunction: string;
|
|
19
|
-
delay: number;
|
|
20
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
-
csstransitionstart: (e: TransitionEvent) => void;
|
|
22
|
-
csstransitionend: (e: TransitionEvent) => void;
|
|
23
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
24
|
-
containerType?: ContainerType;
|
|
25
|
-
supportCopyText?: boolean;
|
|
26
|
-
effectTriggerTiming?: EffectTriggerTiming;
|
|
27
|
-
name?: "superRainbow";
|
|
9
|
+
name?: SupportedCSSTransition;
|
|
28
10
|
duration?: number;
|
|
29
11
|
timingFunction?: SupportedEaseNameToCubicBezier;
|
|
30
12
|
delay?: number;
|
|
13
|
+
};
|
|
14
|
+
declare const parentStyle: Record<string, string>;
|
|
15
|
+
declare const style: Record<string, string>;
|
|
16
|
+
declare const ready: (app: DOMEventBus) => void;
|
|
17
|
+
declare const start: () => void;
|
|
18
|
+
declare const end: () => void;
|
|
19
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
20
|
+
declare var __VLS_11: {};
|
|
21
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
22
|
+
default?: (props: typeof __VLS_11) => any;
|
|
23
|
+
}>;
|
|
24
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
25
|
+
Container: typeof Container;
|
|
26
|
+
parentStyle: typeof parentStyle;
|
|
27
|
+
style: typeof style;
|
|
28
|
+
ready: typeof ready;
|
|
29
|
+
start: typeof start;
|
|
30
|
+
end: typeof end;
|
|
31
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
32
|
+
csstransitionstart: (e: TransitionEvent) => any;
|
|
33
|
+
csstransitionend: (e: TransitionEvent) => any;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
35
|
+
onCsstransitionstart?: (e: TransitionEvent) => any;
|
|
36
|
+
onCsstransitionend?: (e: TransitionEvent) => any;
|
|
31
37
|
}>, {
|
|
32
|
-
|
|
38
|
+
name: SupportedCSSTransition;
|
|
39
|
+
effectTriggerTiming: EffectTriggerTiming;
|
|
33
40
|
supportCopyText: boolean;
|
|
34
|
-
effectTriggerTiming: string;
|
|
35
|
-
name: string;
|
|
36
41
|
duration: number;
|
|
37
|
-
|
|
42
|
+
containerType: ContainerType;
|
|
43
|
+
timingFunction: SupportedEaseNameToCubicBezier;
|
|
38
44
|
delay: number;
|
|
39
|
-
}
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
46
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
47
|
+
csstransitionstart: (e: TransitionEvent) => any;
|
|
48
|
+
csstransitionend: (e: TransitionEvent) => any;
|
|
49
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
50
|
onCsstransitionstart?: (e: TransitionEvent) => any;
|
|
41
51
|
onCsstransitionend?: (e: TransitionEvent) => any;
|
|
42
52
|
}>, {
|
|
53
|
+
name: SupportedCSSTransition;
|
|
54
|
+
effectTriggerTiming: EffectTriggerTiming;
|
|
55
|
+
supportCopyText: boolean;
|
|
43
56
|
duration: number;
|
|
44
|
-
|
|
57
|
+
containerType: ContainerType;
|
|
45
58
|
timingFunction: SupportedEaseNameToCubicBezier;
|
|
46
59
|
delay: number;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
effectTriggerTiming: EffectTriggerTiming;
|
|
50
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
51
|
-
default?(_: {}): any;
|
|
52
|
-
}>;
|
|
60
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
61
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
53
62
|
export default _default;
|
|
54
|
-
type
|
|
55
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
56
|
-
default: D[K];
|
|
57
|
-
}> : P[K];
|
|
58
|
-
};
|
|
59
|
-
type __VLS_Prettify<T> = {
|
|
60
|
-
[K in keyof T]: T[K];
|
|
61
|
-
} & {};
|
|
62
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
63
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
63
64
|
new (): {
|
|
64
65
|
$slots: S;
|
|
65
66
|
};
|
|
66
67
|
};
|
|
67
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
68
|
-
type __VLS_TypePropsToOption<T> = {
|
|
69
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
70
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
71
|
-
} : {
|
|
72
|
-
type: import('vue').PropType<T[K]>;
|
|
73
|
-
required: true;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
@@ -1,59 +1,47 @@
|
|
|
1
|
+
import Container from "../Container.vue";
|
|
1
2
|
import { ContainerType, EffectTriggerTiming } from "../../types";
|
|
2
|
-
|
|
3
|
+
type __VLS_Props = {
|
|
3
4
|
containerType?: ContainerType;
|
|
4
5
|
supportCopyText?: boolean;
|
|
5
6
|
effectTriggerTiming?: EffectTriggerTiming;
|
|
6
7
|
color?: string;
|
|
7
8
|
dur?: number;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
};
|
|
10
|
+
declare const containerRef: import("vue").Ref<any, any>;
|
|
11
|
+
declare const style: Record<string, string>;
|
|
12
|
+
declare const resize: (w: number, h: number) => void;
|
|
13
|
+
declare const start: () => void;
|
|
14
|
+
declare const end: () => void;
|
|
15
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
16
|
+
declare var __VLS_12: {};
|
|
17
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
18
|
+
default?: (props: typeof __VLS_12) => any;
|
|
19
|
+
}>;
|
|
20
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
21
|
+
Container: typeof Container;
|
|
22
|
+
containerRef: typeof containerRef;
|
|
23
|
+
style: typeof style;
|
|
24
|
+
resize: typeof resize;
|
|
25
|
+
start: typeof start;
|
|
26
|
+
end: typeof end;
|
|
27
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
28
|
color: string;
|
|
14
|
-
|
|
15
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
16
|
-
containerType?: ContainerType;
|
|
17
|
-
supportCopyText?: boolean;
|
|
18
|
-
effectTriggerTiming?: EffectTriggerTiming;
|
|
19
|
-
color?: string;
|
|
20
|
-
dur?: number;
|
|
21
|
-
}>, {
|
|
22
|
-
containerType: string;
|
|
29
|
+
effectTriggerTiming: EffectTriggerTiming;
|
|
23
30
|
supportCopyText: boolean;
|
|
24
|
-
effectInit: string;
|
|
25
|
-
effectTriggerTiming: string;
|
|
26
|
-
color: string;
|
|
27
31
|
dur: number;
|
|
28
|
-
}>>> & Readonly<{}>, {
|
|
29
|
-
dur: number;
|
|
30
|
-
color: string;
|
|
31
32
|
containerType: ContainerType;
|
|
32
|
-
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
34
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
35
|
+
color: string;
|
|
33
36
|
effectTriggerTiming: EffectTriggerTiming;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
supportCopyText: boolean;
|
|
38
|
+
dur: number;
|
|
39
|
+
containerType: ContainerType;
|
|
40
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
37
42
|
export default _default;
|
|
38
|
-
type
|
|
39
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
-
default: D[K];
|
|
41
|
-
}> : P[K];
|
|
42
|
-
};
|
|
43
|
-
type __VLS_Prettify<T> = {
|
|
44
|
-
[K in keyof T]: T[K];
|
|
45
|
-
} & {};
|
|
46
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
47
44
|
new (): {
|
|
48
45
|
$slots: S;
|
|
49
46
|
};
|
|
50
47
|
};
|
|
51
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
|
-
type __VLS_TypePropsToOption<T> = {
|
|
53
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
54
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
55
|
-
} : {
|
|
56
|
-
type: import('vue').PropType<T[K]>;
|
|
57
|
-
required: true;
|
|
58
|
-
};
|
|
59
|
-
};
|