@zyzgroup/core-vue 0.0.42 → 0.0.44
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 -171
- package/ce/yz_custom_element.iife.js.map +1 -1
- package/ce/yz_custom_element.js +21124 -20422
- package/ce/yz_custom_element.js.map +1 -1
- package/ce/yz_custom_element.umd.cjs +209 -171
- package/ce/yz_custom_element.umd.cjs.map +1 -1
- package/dist/style.css +1 -0
- package/dist/zyzgroup_core_vue.iife.js +29 -1
- package/dist/zyzgroup_core_vue.iife.js.map +1 -1
- package/dist/zyzgroup_core_vue.js +11751 -122
- package/dist/zyzgroup_core_vue.js.map +1 -1
- package/dist/zyzgroup_core_vue.umd.cjs +29 -1
- package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
- package/package.json +3 -2
- package/types/App.vue.d.ts +0 -2
- package/types/components/Accordion.ce.vue.d.ts +45 -54
- package/types/components/Accordion.vue.d.ts +45 -54
- package/types/components/Button.ce.vue.d.ts +63 -61
- package/types/components/Button.vue.d.ts +63 -61
- package/types/components/Canvas.ce.vue.d.ts +11 -36
- package/types/components/Canvas.vue.d.ts +11 -36
- 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 +203 -49
- package/types/components/Container.vue.d.ts +203 -49
- 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 +82 -46
- package/types/components/Dialog.vue.d.ts +82 -46
- 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 +32 -42
- package/types/components/MapTianditu.vue.d.ts +32 -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 -48
- package/types/components/Page.vue.d.ts +55 -48
- 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 -65
- package/types/components/Pop.vue.d.ts +150 -65
- 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 +11 -33
- package/types/components/SVG.vue.d.ts +11 -33
- 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 -50
- package/types/components/effect/BorderFocusText.vue.d.ts +31 -50
- package/types/components/effect/CSSAnimation.ce.vue.d.ts +49 -61
- package/types/components/effect/CSSAnimation.vue.d.ts +49 -61
- package/types/components/effect/CSSTransition.ce.vue.d.ts +44 -53
- package/types/components/effect/CSSTransition.vue.d.ts +44 -53
- package/types/components/effect/Circle.ce.vue.d.ts +31 -44
- package/types/components/effect/Circle.vue.d.ts +31 -44
- package/types/components/effect/Float.ce.vue.d.ts +28 -47
- package/types/components/effect/Float.vue.d.ts +28 -47
- 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 -53
- package/types/components/effect/LineDouble.vue.d.ts +40 -53
- package/types/components/effect/LineSingle.ce.vue.d.ts +36 -53
- package/types/components/effect/LineSingle.vue.d.ts +36 -53
- package/types/components/effect/Slide.ce.vue.d.ts +30 -47
- package/types/components/effect/Slide.vue.d.ts +30 -47
- package/types/components/effect/SlideCorner.ce.vue.d.ts +31 -44
- package/types/components/effect/SlideCorner.vue.d.ts +31 -44
- 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 +43 -32
- package/types/components/form/ColorPicker.vue.d.ts +43 -32
- 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 +33 -53
- package/types/components/form/InputRangeCanvas.vue.d.ts +33 -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 +51 -0
- package/types/components/form/SlideLeftItem.vue.d.ts +51 -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/SVGAdd.ce.vue.d.ts +7 -0
- package/types/components/svg/SVGAdd.vue.d.ts +7 -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/SVGClose.ce.vue.d.ts +7 -0
- package/types/components/svg/SVGClose.vue.d.ts +7 -0
- package/types/components/svg/SVGDelete.ce.vue.d.ts +3 -32
- package/types/components/svg/SVGDelete.vue.d.ts +3 -32
- 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/SVGEllipse.ce.vue.d.ts +7 -0
- package/types/components/svg/SVGEllipse.vue.d.ts +7 -0
- 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 +6 -7
- 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 +3 -1
|
@@ -1,45 +1,20 @@
|
|
|
1
1
|
import { YZCanvas } from "@zyzgroup/core-web";
|
|
2
|
-
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
type __VLS_Props = {
|
|
4
3
|
bgColor?: string;
|
|
5
4
|
enableCustomContext?: boolean;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
16
|
-
bgColor?: string;
|
|
17
|
-
enableCustomContext?: boolean;
|
|
18
|
-
}>, {
|
|
19
|
-
bgColor: string;
|
|
20
|
-
enableCustomContext: boolean;
|
|
21
|
-
}>>> & Readonly<{
|
|
22
|
-
onResize?: (width: number, height: number) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
7
|
+
getCanvas: () => Promise<YZCanvas>;
|
|
8
|
+
getElement: () => any;
|
|
9
|
+
getRect: () => any;
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
+
ready: (canvas: YZCanvas) => any;
|
|
12
|
+
update: (canvas: YZCanvas) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
14
|
onReady?: (canvas: YZCanvas) => any;
|
|
15
|
+
onUpdate?: (canvas: YZCanvas) => any;
|
|
24
16
|
}>, {
|
|
25
17
|
bgColor: string;
|
|
26
18
|
enableCustomContext: boolean;
|
|
27
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
20
|
export default _default;
|
|
29
|
-
type __VLS_WithDefaults<P, D> = {
|
|
30
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
-
default: D[K];
|
|
32
|
-
}> : P[K];
|
|
33
|
-
};
|
|
34
|
-
type __VLS_Prettify<T> = {
|
|
35
|
-
[K in keyof T]: T[K];
|
|
36
|
-
} & {};
|
|
37
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
-
type __VLS_TypePropsToOption<T> = {
|
|
39
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
-
} : {
|
|
42
|
-
type: import('vue').PropType<T[K]>;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
@@ -1,51 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
type?: "" | "slide";
|
|
3
|
-
dur?: number;
|
|
4
|
-
perspective?: string;
|
|
5
|
-
}>, {
|
|
6
|
-
type: string;
|
|
7
|
-
dur: number;
|
|
8
|
-
perspective: string;
|
|
9
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
click: (isFlipped: boolean) => void;
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
1
|
+
type __VLS_Props = {
|
|
12
2
|
type?: "" | "slide";
|
|
13
3
|
dur?: number;
|
|
14
4
|
perspective?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const flip: import("vue").Ref<boolean, boolean>;
|
|
7
|
+
declare const click: () => void;
|
|
8
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
9
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
10
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
11
|
+
front?: (props: typeof __VLS_1) => any;
|
|
12
|
+
} & {
|
|
13
|
+
back?: (props: typeof __VLS_3) => any;
|
|
14
|
+
}>;
|
|
15
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
16
|
+
flip: typeof flip;
|
|
17
|
+
click: typeof click;
|
|
18
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
19
|
+
click: (isFlipped: boolean) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
onClick?: (isFlipped: boolean) => any;
|
|
15
22
|
}>, {
|
|
16
|
-
type:
|
|
23
|
+
type: "" | "slide";
|
|
17
24
|
dur: number;
|
|
18
25
|
perspective: string;
|
|
19
|
-
}
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
28
|
+
click: (isFlipped: boolean) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
30
|
onClick?: (isFlipped: boolean) => any;
|
|
21
31
|
}>, {
|
|
22
|
-
dur: number;
|
|
23
32
|
type: "" | "slide";
|
|
33
|
+
dur: number;
|
|
24
34
|
perspective: string;
|
|
25
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any
|
|
26
|
-
|
|
27
|
-
back?(_: {}): any;
|
|
28
|
-
}>;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
29
37
|
export default _default;
|
|
30
|
-
type
|
|
31
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
-
default: D[K];
|
|
33
|
-
}> : P[K];
|
|
34
|
-
};
|
|
35
|
-
type __VLS_Prettify<T> = {
|
|
36
|
-
[K in keyof T]: T[K];
|
|
37
|
-
} & {};
|
|
38
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
39
39
|
new (): {
|
|
40
40
|
$slots: S;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
-
type __VLS_TypePropsToOption<T> = {
|
|
45
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
-
} : {
|
|
48
|
-
type: import('vue').PropType<T[K]>;
|
|
49
|
-
required: true;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
@@ -1,51 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
type?: "" | "slide";
|
|
3
|
-
dur?: number;
|
|
4
|
-
perspective?: string;
|
|
5
|
-
}>, {
|
|
6
|
-
type: string;
|
|
7
|
-
dur: number;
|
|
8
|
-
perspective: string;
|
|
9
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
click: (isFlipped: boolean) => void;
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
1
|
+
type __VLS_Props = {
|
|
12
2
|
type?: "" | "slide";
|
|
13
3
|
dur?: number;
|
|
14
4
|
perspective?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const flip: import("vue").Ref<boolean, boolean>;
|
|
7
|
+
declare const click: () => void;
|
|
8
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
9
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
10
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
11
|
+
front?: (props: typeof __VLS_1) => any;
|
|
12
|
+
} & {
|
|
13
|
+
back?: (props: typeof __VLS_3) => any;
|
|
14
|
+
}>;
|
|
15
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
16
|
+
flip: typeof flip;
|
|
17
|
+
click: typeof click;
|
|
18
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
19
|
+
click: (isFlipped: boolean) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
onClick?: (isFlipped: boolean) => any;
|
|
15
22
|
}>, {
|
|
16
|
-
type:
|
|
23
|
+
type: "" | "slide";
|
|
17
24
|
dur: number;
|
|
18
25
|
perspective: string;
|
|
19
|
-
}
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
28
|
+
click: (isFlipped: boolean) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
30
|
onClick?: (isFlipped: boolean) => any;
|
|
21
31
|
}>, {
|
|
22
|
-
dur: number;
|
|
23
32
|
type: "" | "slide";
|
|
33
|
+
dur: number;
|
|
24
34
|
perspective: string;
|
|
25
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any
|
|
26
|
-
|
|
27
|
-
back?(_: {}): any;
|
|
28
|
-
}>;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
29
37
|
export default _default;
|
|
30
|
-
type
|
|
31
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
-
default: D[K];
|
|
33
|
-
}> : P[K];
|
|
34
|
-
};
|
|
35
|
-
type __VLS_Prettify<T> = {
|
|
36
|
-
[K in keyof T]: T[K];
|
|
37
|
-
} & {};
|
|
38
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
39
39
|
new (): {
|
|
40
40
|
$slots: S;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
-
type __VLS_TypePropsToOption<T> = {
|
|
45
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
-
} : {
|
|
48
|
-
type: import('vue').PropType<T[K]>;
|
|
49
|
-
required: true;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
@@ -1,64 +1,218 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export type ContainerType = "block" | "shrink" | "full";
|
|
2
|
+
export type EffectTriggerTiming = "manual" | "mouseMove" | "click" | "immediate";
|
|
3
|
+
export type EffectStatus = "start" | "end";
|
|
4
|
+
type __VLS_Props = {
|
|
4
5
|
type?: ContainerType;
|
|
5
6
|
effectTriggerTiming?: EffectTriggerTiming;
|
|
6
7
|
supportCopyText?: boolean;
|
|
7
|
-
|
|
8
|
+
};
|
|
9
|
+
declare const r: import("vue").Ref<any, any>;
|
|
10
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
11
|
+
declare var __VLS_1: {};
|
|
12
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
13
|
+
default?: (props: typeof __VLS_1) => any;
|
|
14
|
+
}>;
|
|
15
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
16
|
+
r: typeof r;
|
|
17
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
18
|
+
start: () => any;
|
|
19
|
+
end: () => any;
|
|
20
|
+
ready: (controller: {
|
|
21
|
+
el: HTMLElement;
|
|
22
|
+
readonly rect: {
|
|
23
|
+
width: number;
|
|
24
|
+
height: number;
|
|
25
|
+
x: number;
|
|
26
|
+
y: number;
|
|
27
|
+
bottom: number;
|
|
28
|
+
left: number;
|
|
29
|
+
right: number;
|
|
30
|
+
top: number;
|
|
31
|
+
toJSON(): any;
|
|
32
|
+
};
|
|
33
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
34
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
35
|
+
start: () => Promise<void>;
|
|
36
|
+
end: () => void;
|
|
37
|
+
}) => any;
|
|
38
|
+
update: (controller: {
|
|
39
|
+
el: HTMLElement;
|
|
40
|
+
readonly rect: {
|
|
41
|
+
width: number;
|
|
42
|
+
height: number;
|
|
43
|
+
x: number;
|
|
44
|
+
y: number;
|
|
45
|
+
bottom: number;
|
|
46
|
+
left: number;
|
|
47
|
+
right: number;
|
|
48
|
+
top: number;
|
|
49
|
+
toJSON(): any;
|
|
50
|
+
};
|
|
51
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
52
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
53
|
+
start: () => Promise<void>;
|
|
54
|
+
end: () => void;
|
|
55
|
+
}) => any;
|
|
56
|
+
clipboard_success: (text: string) => any;
|
|
57
|
+
clipboard_error: (text: string) => any;
|
|
58
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
59
|
+
onStart?: () => any;
|
|
60
|
+
onEnd?: () => any;
|
|
61
|
+
onReady?: (controller: {
|
|
62
|
+
el: HTMLElement;
|
|
63
|
+
readonly rect: {
|
|
64
|
+
width: number;
|
|
65
|
+
height: number;
|
|
66
|
+
x: number;
|
|
67
|
+
y: number;
|
|
68
|
+
bottom: number;
|
|
69
|
+
left: number;
|
|
70
|
+
right: number;
|
|
71
|
+
top: number;
|
|
72
|
+
toJSON(): any;
|
|
73
|
+
};
|
|
74
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
75
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
76
|
+
start: () => Promise<void>;
|
|
77
|
+
end: () => void;
|
|
78
|
+
}) => any;
|
|
79
|
+
onUpdate?: (controller: {
|
|
80
|
+
el: HTMLElement;
|
|
81
|
+
readonly rect: {
|
|
82
|
+
width: number;
|
|
83
|
+
height: number;
|
|
84
|
+
x: number;
|
|
85
|
+
y: number;
|
|
86
|
+
bottom: number;
|
|
87
|
+
left: number;
|
|
88
|
+
right: number;
|
|
89
|
+
top: number;
|
|
90
|
+
toJSON(): any;
|
|
91
|
+
};
|
|
92
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
93
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
94
|
+
start: () => Promise<void>;
|
|
95
|
+
end: () => void;
|
|
96
|
+
}) => any;
|
|
97
|
+
onClipboard_success?: (text: string) => any;
|
|
98
|
+
onClipboard_error?: (text: string) => any;
|
|
8
99
|
}>, {
|
|
9
|
-
type:
|
|
10
|
-
effectTriggerTiming:
|
|
100
|
+
type: ContainerType;
|
|
101
|
+
effectTriggerTiming: EffectTriggerTiming;
|
|
11
102
|
supportCopyText: boolean;
|
|
12
|
-
}
|
|
103
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
104
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
105
|
+
getController: () => Promise<{
|
|
106
|
+
el: HTMLElement;
|
|
107
|
+
readonly rect: {
|
|
108
|
+
width: number;
|
|
109
|
+
height: number;
|
|
110
|
+
x: number;
|
|
111
|
+
y: number;
|
|
112
|
+
bottom: number;
|
|
113
|
+
left: number;
|
|
114
|
+
right: number;
|
|
115
|
+
top: number;
|
|
116
|
+
toJSON(): any;
|
|
117
|
+
};
|
|
118
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
119
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
120
|
+
start: () => Promise<void>;
|
|
121
|
+
end: () => void;
|
|
122
|
+
}>;
|
|
13
123
|
getElement: () => any;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
124
|
+
getRect: () => any;
|
|
125
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
126
|
+
start: () => any;
|
|
127
|
+
end: () => any;
|
|
128
|
+
ready: (controller: {
|
|
129
|
+
el: HTMLElement;
|
|
130
|
+
readonly rect: {
|
|
131
|
+
width: number;
|
|
132
|
+
height: number;
|
|
133
|
+
x: number;
|
|
134
|
+
y: number;
|
|
135
|
+
bottom: number;
|
|
136
|
+
left: number;
|
|
137
|
+
right: number;
|
|
138
|
+
top: number;
|
|
139
|
+
toJSON(): any;
|
|
140
|
+
};
|
|
141
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
142
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
143
|
+
start: () => Promise<void>;
|
|
144
|
+
end: () => void;
|
|
145
|
+
}) => any;
|
|
146
|
+
update: (controller: {
|
|
147
|
+
el: HTMLElement;
|
|
148
|
+
readonly rect: {
|
|
149
|
+
width: number;
|
|
150
|
+
height: number;
|
|
151
|
+
x: number;
|
|
152
|
+
y: number;
|
|
153
|
+
bottom: number;
|
|
154
|
+
left: number;
|
|
155
|
+
right: number;
|
|
156
|
+
top: number;
|
|
157
|
+
toJSON(): any;
|
|
158
|
+
};
|
|
159
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
160
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
161
|
+
start: () => Promise<void>;
|
|
162
|
+
end: () => void;
|
|
163
|
+
}) => any;
|
|
164
|
+
clipboard_success: (text: string) => any;
|
|
165
|
+
clipboard_error: (text: string) => any;
|
|
166
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
33
167
|
onStart?: () => any;
|
|
34
|
-
|
|
168
|
+
onEnd?: () => any;
|
|
169
|
+
onReady?: (controller: {
|
|
170
|
+
el: HTMLElement;
|
|
171
|
+
readonly rect: {
|
|
172
|
+
width: number;
|
|
173
|
+
height: number;
|
|
174
|
+
x: number;
|
|
175
|
+
y: number;
|
|
176
|
+
bottom: number;
|
|
177
|
+
left: number;
|
|
178
|
+
right: number;
|
|
179
|
+
top: number;
|
|
180
|
+
toJSON(): any;
|
|
181
|
+
};
|
|
182
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
183
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
184
|
+
start: () => Promise<void>;
|
|
185
|
+
end: () => void;
|
|
186
|
+
}) => any;
|
|
187
|
+
onUpdate?: (controller: {
|
|
188
|
+
el: HTMLElement;
|
|
189
|
+
readonly rect: {
|
|
190
|
+
width: number;
|
|
191
|
+
height: number;
|
|
192
|
+
x: number;
|
|
193
|
+
y: number;
|
|
194
|
+
bottom: number;
|
|
195
|
+
left: number;
|
|
196
|
+
right: number;
|
|
197
|
+
top: number;
|
|
198
|
+
toJSON(): any;
|
|
199
|
+
};
|
|
200
|
+
mousePoint: import("@zyzgroup/core-web").MousePoint;
|
|
201
|
+
eb: import("@zyzgroup/core-common").EventBus<import("@zyzgroup/core-web").ElementEventBusListeners>;
|
|
202
|
+
start: () => Promise<void>;
|
|
203
|
+
end: () => void;
|
|
204
|
+
}) => any;
|
|
205
|
+
onClipboard_success?: (text: string) => any;
|
|
206
|
+
onClipboard_error?: (text: string) => any;
|
|
35
207
|
}>, {
|
|
36
208
|
type: ContainerType;
|
|
37
|
-
supportCopyText: boolean;
|
|
38
209
|
effectTriggerTiming: EffectTriggerTiming;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
210
|
+
supportCopyText: boolean;
|
|
211
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
212
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
42
213
|
export default _default;
|
|
43
|
-
type
|
|
44
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
-
default: D[K];
|
|
46
|
-
}> : P[K];
|
|
47
|
-
};
|
|
48
|
-
type __VLS_Prettify<T> = {
|
|
49
|
-
[K in keyof T]: T[K];
|
|
50
|
-
} & {};
|
|
51
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
214
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
52
215
|
new (): {
|
|
53
216
|
$slots: S;
|
|
54
217
|
};
|
|
55
218
|
};
|
|
56
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
57
|
-
type __VLS_TypePropsToOption<T> = {
|
|
58
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
59
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
60
|
-
} : {
|
|
61
|
-
type: import('vue').PropType<T[K]>;
|
|
62
|
-
required: true;
|
|
63
|
-
};
|
|
64
|
-
};
|