@zyzgroup/core-vue 0.0.41 → 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 +19818 -20560
- 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 +4 -2
- 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
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zyzgroup/core-vue",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.43",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/zyzgroup_core_vue.umd.cjs",
|
|
@@ -31,13 +31,15 @@
|
|
|
31
31
|
],
|
|
32
32
|
"scripts": {
|
|
33
33
|
"dev": "vite",
|
|
34
|
-
"build": "vue-tsc --emitDeclarationOnly && npm run --prefix ../../../vite/ lib -- ../lib/packages/core-vue/vite.config.json && npm run ce",
|
|
35
34
|
"preview": "vite preview",
|
|
35
|
+
"build": "npm run lib && npm run ce",
|
|
36
|
+
"lib": "vue-tsc --emitDeclarationOnly && npm run --prefix ../../../vite/ lib -- ../lib/packages/core-vue/vite.config.json",
|
|
36
37
|
"ce": "copy_ce_vue && npm run --prefix ../../../vite/ lib:ce -- ../lib/packages/core-vue/vite.ce.config.json",
|
|
37
38
|
"copy:components": "copy /src/components/ /dist/ vue",
|
|
38
39
|
"publishToNpm": "npm run build && update_package_version ./package.json && npm publish --access public"
|
|
39
40
|
},
|
|
40
41
|
"dependencies": {
|
|
42
|
+
"pinia": "^3.0.1",
|
|
41
43
|
"vue": "^3.5.13",
|
|
42
44
|
"vue-router": "^4.5.0",
|
|
43
45
|
"vuex": "^4.1.0"
|
package/types/App.vue.d.ts
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import "@zyzgroup/core-web/dist/better.css";
|
|
2
|
-
import "@zyzgroup/core-web/dist/theme.css";
|
|
3
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
2
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import Container from "./Container.vue";
|
|
2
|
+
import SVGDown from "./svg/SVGDown.vue";
|
|
3
|
+
type __VLS_Props = {
|
|
2
4
|
initOpen?: boolean;
|
|
3
5
|
titleHeight?: string;
|
|
4
6
|
bgColor?: string;
|
|
@@ -7,74 +9,69 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
7
9
|
borderRadius?: string;
|
|
8
10
|
padding?: string;
|
|
9
11
|
duration?: number;
|
|
12
|
+
};
|
|
13
|
+
declare const resize: (width: number, height: number) => void;
|
|
14
|
+
declare const content: import("vue").Ref<any, any>;
|
|
15
|
+
declare const contentMaxHeight: import("vue").Ref<string, string>;
|
|
16
|
+
declare const open: import("vue").Ref<boolean, boolean>;
|
|
17
|
+
declare function toggleOpen(): void;
|
|
18
|
+
declare const rotate: import("vue").Ref<number, number>;
|
|
19
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
20
|
+
declare var __VLS_9: {}, __VLS_14: {};
|
|
21
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
22
|
+
title?: (props: typeof __VLS_9) => any;
|
|
23
|
+
} & {
|
|
24
|
+
content?: (props: typeof __VLS_14) => any;
|
|
25
|
+
}>;
|
|
26
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
27
|
+
Container: typeof Container;
|
|
28
|
+
SVGDown: typeof SVGDown;
|
|
29
|
+
resize: typeof resize;
|
|
30
|
+
content: typeof content;
|
|
31
|
+
contentMaxHeight: typeof contentMaxHeight;
|
|
32
|
+
open: typeof open;
|
|
33
|
+
toggleOpen: typeof toggleOpen;
|
|
34
|
+
rotate: typeof rotate;
|
|
35
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
36
|
+
close: () => any;
|
|
37
|
+
resize: (width: number, height: number) => any;
|
|
38
|
+
open: () => any;
|
|
39
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
|
+
onClose?: () => any;
|
|
41
|
+
onResize?: (width: number, height: number) => any;
|
|
42
|
+
onOpen?: () => any;
|
|
10
43
|
}>, {
|
|
11
|
-
|
|
12
|
-
|
|
44
|
+
padding: string;
|
|
45
|
+
borderRadius: string;
|
|
46
|
+
borderColor: string;
|
|
13
47
|
bgColor: string;
|
|
14
48
|
fontColor: string;
|
|
15
|
-
borderColor: string;
|
|
16
|
-
borderRadius: string;
|
|
17
|
-
padding: string;
|
|
18
49
|
duration: number;
|
|
19
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
-
open: () => void;
|
|
21
|
-
close: () => void;
|
|
22
|
-
resize: (width: number, height: number) => void;
|
|
23
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
24
|
-
initOpen?: boolean;
|
|
25
|
-
titleHeight?: string;
|
|
26
|
-
bgColor?: string;
|
|
27
|
-
fontColor?: string;
|
|
28
|
-
borderColor?: string;
|
|
29
|
-
borderRadius?: string;
|
|
30
|
-
padding?: string;
|
|
31
|
-
duration?: number;
|
|
32
|
-
}>, {
|
|
33
50
|
initOpen: boolean;
|
|
34
51
|
titleHeight: string;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}>>> & Readonly<{
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
54
|
+
close: () => any;
|
|
55
|
+
resize: (width: number, height: number) => any;
|
|
56
|
+
open: () => any;
|
|
57
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
42
58
|
onClose?: () => any;
|
|
43
59
|
onResize?: (width: number, height: number) => any;
|
|
44
60
|
onOpen?: () => any;
|
|
45
61
|
}>, {
|
|
62
|
+
padding: string;
|
|
63
|
+
borderRadius: string;
|
|
46
64
|
borderColor: string;
|
|
65
|
+
bgColor: string;
|
|
47
66
|
fontColor: string;
|
|
48
|
-
borderRadius: string;
|
|
49
67
|
duration: number;
|
|
50
|
-
padding: string;
|
|
51
|
-
bgColor: string;
|
|
52
68
|
initOpen: boolean;
|
|
53
69
|
titleHeight: string;
|
|
54
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any
|
|
55
|
-
|
|
56
|
-
content?(_: {}): any;
|
|
57
|
-
}>;
|
|
70
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
71
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
58
72
|
export default _default;
|
|
59
|
-
type
|
|
60
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
61
|
-
default: D[K];
|
|
62
|
-
}> : P[K];
|
|
63
|
-
};
|
|
64
|
-
type __VLS_Prettify<T> = {
|
|
65
|
-
[K in keyof T]: T[K];
|
|
66
|
-
} & {};
|
|
67
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
73
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
68
74
|
new (): {
|
|
69
75
|
$slots: S;
|
|
70
76
|
};
|
|
71
77
|
};
|
|
72
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
73
|
-
type __VLS_TypePropsToOption<T> = {
|
|
74
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
75
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
76
|
-
} : {
|
|
77
|
-
type: import('vue').PropType<T[K]>;
|
|
78
|
-
required: true;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import Container from "./Container.vue";
|
|
2
|
+
import SVGDown from "./svg/SVGDown.vue";
|
|
3
|
+
type __VLS_Props = {
|
|
2
4
|
initOpen?: boolean;
|
|
3
5
|
titleHeight?: string;
|
|
4
6
|
bgColor?: string;
|
|
@@ -7,74 +9,69 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
7
9
|
borderRadius?: string;
|
|
8
10
|
padding?: string;
|
|
9
11
|
duration?: number;
|
|
12
|
+
};
|
|
13
|
+
declare const resize: (width: number, height: number) => void;
|
|
14
|
+
declare const content: import("vue").Ref<any, any>;
|
|
15
|
+
declare const contentMaxHeight: import("vue").Ref<string, string>;
|
|
16
|
+
declare const open: import("vue").Ref<boolean, boolean>;
|
|
17
|
+
declare function toggleOpen(): void;
|
|
18
|
+
declare const rotate: import("vue").Ref<number, number>;
|
|
19
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
20
|
+
declare var __VLS_9: {}, __VLS_14: {};
|
|
21
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
22
|
+
title?: (props: typeof __VLS_9) => any;
|
|
23
|
+
} & {
|
|
24
|
+
content?: (props: typeof __VLS_14) => any;
|
|
25
|
+
}>;
|
|
26
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
27
|
+
Container: typeof Container;
|
|
28
|
+
SVGDown: typeof SVGDown;
|
|
29
|
+
resize: typeof resize;
|
|
30
|
+
content: typeof content;
|
|
31
|
+
contentMaxHeight: typeof contentMaxHeight;
|
|
32
|
+
open: typeof open;
|
|
33
|
+
toggleOpen: typeof toggleOpen;
|
|
34
|
+
rotate: typeof rotate;
|
|
35
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
36
|
+
close: () => any;
|
|
37
|
+
resize: (width: number, height: number) => any;
|
|
38
|
+
open: () => any;
|
|
39
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
|
+
onClose?: () => any;
|
|
41
|
+
onResize?: (width: number, height: number) => any;
|
|
42
|
+
onOpen?: () => any;
|
|
10
43
|
}>, {
|
|
11
|
-
|
|
12
|
-
|
|
44
|
+
padding: string;
|
|
45
|
+
borderRadius: string;
|
|
46
|
+
borderColor: string;
|
|
13
47
|
bgColor: string;
|
|
14
48
|
fontColor: string;
|
|
15
|
-
borderColor: string;
|
|
16
|
-
borderRadius: string;
|
|
17
|
-
padding: string;
|
|
18
49
|
duration: number;
|
|
19
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
-
open: () => void;
|
|
21
|
-
close: () => void;
|
|
22
|
-
resize: (width: number, height: number) => void;
|
|
23
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
24
|
-
initOpen?: boolean;
|
|
25
|
-
titleHeight?: string;
|
|
26
|
-
bgColor?: string;
|
|
27
|
-
fontColor?: string;
|
|
28
|
-
borderColor?: string;
|
|
29
|
-
borderRadius?: string;
|
|
30
|
-
padding?: string;
|
|
31
|
-
duration?: number;
|
|
32
|
-
}>, {
|
|
33
50
|
initOpen: boolean;
|
|
34
51
|
titleHeight: string;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}>>> & Readonly<{
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
54
|
+
close: () => any;
|
|
55
|
+
resize: (width: number, height: number) => any;
|
|
56
|
+
open: () => any;
|
|
57
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
42
58
|
onClose?: () => any;
|
|
43
59
|
onResize?: (width: number, height: number) => any;
|
|
44
60
|
onOpen?: () => any;
|
|
45
61
|
}>, {
|
|
62
|
+
padding: string;
|
|
63
|
+
borderRadius: string;
|
|
46
64
|
borderColor: string;
|
|
65
|
+
bgColor: string;
|
|
47
66
|
fontColor: string;
|
|
48
|
-
borderRadius: string;
|
|
49
67
|
duration: number;
|
|
50
|
-
padding: string;
|
|
51
|
-
bgColor: string;
|
|
52
68
|
initOpen: boolean;
|
|
53
69
|
titleHeight: string;
|
|
54
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any
|
|
55
|
-
|
|
56
|
-
content?(_: {}): any;
|
|
57
|
-
}>;
|
|
70
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
71
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
58
72
|
export default _default;
|
|
59
|
-
type
|
|
60
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
61
|
-
default: D[K];
|
|
62
|
-
}> : P[K];
|
|
63
|
-
};
|
|
64
|
-
type __VLS_Prettify<T> = {
|
|
65
|
-
[K in keyof T]: T[K];
|
|
66
|
-
} & {};
|
|
67
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
73
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
68
74
|
new (): {
|
|
69
75
|
$slots: S;
|
|
70
76
|
};
|
|
71
77
|
};
|
|
72
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
73
|
-
type __VLS_TypePropsToOption<T> = {
|
|
74
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
75
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
76
|
-
} : {
|
|
77
|
-
type: import('vue').PropType<T[K]>;
|
|
78
|
-
required: true;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import Icon from "./Icon.vue";
|
|
2
|
+
import { theme } from "@zyzgroup/core-web";
|
|
3
|
+
import Loading11 from "./loading/Loading11.vue";
|
|
4
|
+
type __VLS_Props = {
|
|
2
5
|
label?: string;
|
|
3
6
|
icon?: string;
|
|
4
7
|
iconPosition?: string;
|
|
@@ -13,79 +16,74 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
13
16
|
bgColor?: string;
|
|
14
17
|
fontColor?: string;
|
|
15
18
|
asyncClick?: () => Promise<void>;
|
|
19
|
+
};
|
|
20
|
+
declare const el: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
21
|
+
declare const borderColor: import("vue").Ref<string, string>;
|
|
22
|
+
declare const bgColor: import("vue").Ref<string, string>;
|
|
23
|
+
declare const fontColor: import("vue").Ref<string, string>;
|
|
24
|
+
declare const opacity: import("vue").Ref<string, string>;
|
|
25
|
+
declare const cursor: import("vue").Ref<string, string>;
|
|
26
|
+
declare const mouseover: () => void;
|
|
27
|
+
declare const mouseleave: () => void;
|
|
28
|
+
declare const asyncClickResultPending: import("vue").Ref<boolean, boolean>;
|
|
29
|
+
declare const throttleClick: (this: any, ...args: any[]) => void;
|
|
30
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
31
|
+
declare var __VLS_4: {};
|
|
32
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
33
|
+
default?: (props: typeof __VLS_4) => any;
|
|
34
|
+
}>;
|
|
35
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
36
|
+
Icon: typeof Icon;
|
|
37
|
+
theme: typeof theme;
|
|
38
|
+
Loading11: typeof Loading11;
|
|
39
|
+
el: typeof el;
|
|
40
|
+
borderColor: typeof borderColor;
|
|
41
|
+
bgColor: typeof bgColor;
|
|
42
|
+
fontColor: typeof fontColor;
|
|
43
|
+
opacity: typeof opacity;
|
|
44
|
+
cursor: typeof cursor;
|
|
45
|
+
mouseover: typeof mouseover;
|
|
46
|
+
mouseleave: typeof mouseleave;
|
|
47
|
+
asyncClickResultPending: typeof asyncClickResultPending;
|
|
48
|
+
throttleClick: typeof throttleClick;
|
|
49
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
50
|
+
click: () => any;
|
|
51
|
+
"yz-click": () => any;
|
|
52
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
53
|
+
onClick?: () => any;
|
|
54
|
+
"onYz-click"?: () => any;
|
|
16
55
|
}>, {
|
|
17
|
-
iconPosition: string;
|
|
18
|
-
disabled: boolean;
|
|
19
56
|
width: string;
|
|
20
57
|
height: string;
|
|
21
|
-
padding: string;
|
|
22
|
-
fontSize: string;
|
|
23
|
-
borderRadius: string;
|
|
24
|
-
stylePattern: string;
|
|
25
|
-
}>>, {
|
|
26
|
-
el: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
27
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
"yz-click": () => void;
|
|
29
|
-
click: () => void;
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
31
|
-
label?: string;
|
|
32
|
-
icon?: string;
|
|
33
|
-
iconPosition?: string;
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
width?: string;
|
|
36
|
-
height?: string;
|
|
37
|
-
padding?: string;
|
|
38
|
-
fontSize?: string;
|
|
39
|
-
borderRadius?: string;
|
|
40
|
-
stylePattern?: "fullfilled" | "outline";
|
|
41
|
-
borderColor?: string;
|
|
42
|
-
bgColor?: string;
|
|
43
|
-
fontColor?: string;
|
|
44
|
-
asyncClick?: () => Promise<void>;
|
|
45
|
-
}>, {
|
|
46
58
|
iconPosition: string;
|
|
47
59
|
disabled: boolean;
|
|
48
|
-
width: string;
|
|
49
|
-
height: string;
|
|
50
60
|
padding: string;
|
|
51
61
|
fontSize: string;
|
|
52
62
|
borderRadius: string;
|
|
53
|
-
stylePattern:
|
|
54
|
-
}
|
|
63
|
+
stylePattern: "fullfilled" | "outline";
|
|
64
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
65
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
66
|
+
el: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
67
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
68
|
+
click: () => any;
|
|
69
|
+
"yz-click": () => any;
|
|
70
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
55
71
|
onClick?: () => any;
|
|
56
72
|
"onYz-click"?: () => any;
|
|
57
73
|
}>, {
|
|
58
|
-
height: string;
|
|
59
|
-
borderRadius: string;
|
|
60
74
|
width: string;
|
|
75
|
+
height: string;
|
|
61
76
|
iconPosition: string;
|
|
62
77
|
disabled: boolean;
|
|
63
78
|
padding: string;
|
|
64
79
|
fontSize: string;
|
|
80
|
+
borderRadius: string;
|
|
65
81
|
stylePattern: "fullfilled" | "outline";
|
|
66
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any
|
|
67
|
-
|
|
68
|
-
}>;
|
|
82
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
83
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
69
84
|
export default _default;
|
|
70
|
-
type
|
|
71
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
72
|
-
default: D[K];
|
|
73
|
-
}> : P[K];
|
|
74
|
-
};
|
|
75
|
-
type __VLS_Prettify<T> = {
|
|
76
|
-
[K in keyof T]: T[K];
|
|
77
|
-
} & {};
|
|
78
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
85
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
79
86
|
new (): {
|
|
80
87
|
$slots: S;
|
|
81
88
|
};
|
|
82
89
|
};
|
|
83
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
84
|
-
type __VLS_TypePropsToOption<T> = {
|
|
85
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
86
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
87
|
-
} : {
|
|
88
|
-
type: import('vue').PropType<T[K]>;
|
|
89
|
-
required: true;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import Icon from "./Icon.vue";
|
|
2
|
+
import { theme } from "@zyzgroup/core-web";
|
|
3
|
+
import Loading11 from "./loading/Loading11.vue";
|
|
4
|
+
type __VLS_Props = {
|
|
2
5
|
label?: string;
|
|
3
6
|
icon?: string;
|
|
4
7
|
iconPosition?: string;
|
|
@@ -13,79 +16,74 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
13
16
|
bgColor?: string;
|
|
14
17
|
fontColor?: string;
|
|
15
18
|
asyncClick?: () => Promise<void>;
|
|
19
|
+
};
|
|
20
|
+
declare const el: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
21
|
+
declare const borderColor: import("vue").Ref<string, string>;
|
|
22
|
+
declare const bgColor: import("vue").Ref<string, string>;
|
|
23
|
+
declare const fontColor: import("vue").Ref<string, string>;
|
|
24
|
+
declare const opacity: import("vue").Ref<string, string>;
|
|
25
|
+
declare const cursor: import("vue").Ref<string, string>;
|
|
26
|
+
declare const mouseover: () => void;
|
|
27
|
+
declare const mouseleave: () => void;
|
|
28
|
+
declare const asyncClickResultPending: import("vue").Ref<boolean, boolean>;
|
|
29
|
+
declare const throttleClick: (this: any, ...args: any[]) => void;
|
|
30
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
31
|
+
declare var __VLS_4: {};
|
|
32
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
33
|
+
default?: (props: typeof __VLS_4) => any;
|
|
34
|
+
}>;
|
|
35
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
36
|
+
Icon: typeof Icon;
|
|
37
|
+
theme: typeof theme;
|
|
38
|
+
Loading11: typeof Loading11;
|
|
39
|
+
el: typeof el;
|
|
40
|
+
borderColor: typeof borderColor;
|
|
41
|
+
bgColor: typeof bgColor;
|
|
42
|
+
fontColor: typeof fontColor;
|
|
43
|
+
opacity: typeof opacity;
|
|
44
|
+
cursor: typeof cursor;
|
|
45
|
+
mouseover: typeof mouseover;
|
|
46
|
+
mouseleave: typeof mouseleave;
|
|
47
|
+
asyncClickResultPending: typeof asyncClickResultPending;
|
|
48
|
+
throttleClick: typeof throttleClick;
|
|
49
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
50
|
+
click: () => any;
|
|
51
|
+
"yz-click": () => any;
|
|
52
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
53
|
+
onClick?: () => any;
|
|
54
|
+
"onYz-click"?: () => any;
|
|
16
55
|
}>, {
|
|
17
|
-
iconPosition: string;
|
|
18
|
-
disabled: boolean;
|
|
19
56
|
width: string;
|
|
20
57
|
height: string;
|
|
21
|
-
padding: string;
|
|
22
|
-
fontSize: string;
|
|
23
|
-
borderRadius: string;
|
|
24
|
-
stylePattern: string;
|
|
25
|
-
}>>, {
|
|
26
|
-
el: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
27
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
"yz-click": () => void;
|
|
29
|
-
click: () => void;
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
31
|
-
label?: string;
|
|
32
|
-
icon?: string;
|
|
33
|
-
iconPosition?: string;
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
width?: string;
|
|
36
|
-
height?: string;
|
|
37
|
-
padding?: string;
|
|
38
|
-
fontSize?: string;
|
|
39
|
-
borderRadius?: string;
|
|
40
|
-
stylePattern?: "fullfilled" | "outline";
|
|
41
|
-
borderColor?: string;
|
|
42
|
-
bgColor?: string;
|
|
43
|
-
fontColor?: string;
|
|
44
|
-
asyncClick?: () => Promise<void>;
|
|
45
|
-
}>, {
|
|
46
58
|
iconPosition: string;
|
|
47
59
|
disabled: boolean;
|
|
48
|
-
width: string;
|
|
49
|
-
height: string;
|
|
50
60
|
padding: string;
|
|
51
61
|
fontSize: string;
|
|
52
62
|
borderRadius: string;
|
|
53
|
-
stylePattern:
|
|
54
|
-
}
|
|
63
|
+
stylePattern: "fullfilled" | "outline";
|
|
64
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
65
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
66
|
+
el: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
67
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
68
|
+
click: () => any;
|
|
69
|
+
"yz-click": () => any;
|
|
70
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
55
71
|
onClick?: () => any;
|
|
56
72
|
"onYz-click"?: () => any;
|
|
57
73
|
}>, {
|
|
58
|
-
height: string;
|
|
59
|
-
borderRadius: string;
|
|
60
74
|
width: string;
|
|
75
|
+
height: string;
|
|
61
76
|
iconPosition: string;
|
|
62
77
|
disabled: boolean;
|
|
63
78
|
padding: string;
|
|
64
79
|
fontSize: string;
|
|
80
|
+
borderRadius: string;
|
|
65
81
|
stylePattern: "fullfilled" | "outline";
|
|
66
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any
|
|
67
|
-
|
|
68
|
-
}>;
|
|
82
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
83
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
69
84
|
export default _default;
|
|
70
|
-
type
|
|
71
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
72
|
-
default: D[K];
|
|
73
|
-
}> : P[K];
|
|
74
|
-
};
|
|
75
|
-
type __VLS_Prettify<T> = {
|
|
76
|
-
[K in keyof T]: T[K];
|
|
77
|
-
} & {};
|
|
78
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
85
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
79
86
|
new (): {
|
|
80
87
|
$slots: S;
|
|
81
88
|
};
|
|
82
89
|
};
|
|
83
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
84
|
-
type __VLS_TypePropsToOption<T> = {
|
|
85
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
86
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
87
|
-
} : {
|
|
88
|
-
type: import('vue').PropType<T[K]>;
|
|
89
|
-
required: true;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
@@ -1,24 +1,16 @@
|
|
|
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
|
-
}>>, {
|
|
5
|
+
};
|
|
6
|
+
declare function getCanvas(): Promise<YZCanvas>;
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
10
8
|
getCanvasElement: () => any;
|
|
11
9
|
getCanvas: typeof getCanvas;
|
|
12
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
16
|
-
bgColor?: string;
|
|
17
|
-
enableCustomContext?: boolean;
|
|
18
|
-
}>, {
|
|
19
|
-
bgColor: string;
|
|
20
|
-
enableCustomContext: boolean;
|
|
21
|
-
}>>> & Readonly<{
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
+
resize: (width: number, height: number) => any;
|
|
12
|
+
ready: (canvas: YZCanvas) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
14
|
onResize?: (width: number, height: number) => any;
|
|
23
15
|
onReady?: (canvas: YZCanvas) => any;
|
|
24
16
|
}>, {
|
|
@@ -26,20 +18,3 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
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,24 +1,16 @@
|
|
|
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
|
-
}>>, {
|
|
5
|
+
};
|
|
6
|
+
declare function getCanvas(): Promise<YZCanvas>;
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
10
8
|
getCanvasElement: () => any;
|
|
11
9
|
getCanvas: typeof getCanvas;
|
|
12
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
16
|
-
bgColor?: string;
|
|
17
|
-
enableCustomContext?: boolean;
|
|
18
|
-
}>, {
|
|
19
|
-
bgColor: string;
|
|
20
|
-
enableCustomContext: boolean;
|
|
21
|
-
}>>> & Readonly<{
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
+
resize: (width: number, height: number) => any;
|
|
12
|
+
ready: (canvas: YZCanvas) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
14
|
onResize?: (width: number, height: number) => any;
|
|
23
15
|
onReady?: (canvas: YZCanvas) => any;
|
|
24
16
|
}>, {
|
|
@@ -26,20 +18,3 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
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
|
-
};
|