@zyzgroup/core-vue 0.0.43 → 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 +146 -149
- package/ce/yz_custom_element.iife.js.map +1 -1
- package/ce/yz_custom_element.js +14780 -13330
- package/ce/yz_custom_element.js.map +1 -1
- package/ce/yz_custom_element.umd.cjs +146 -149
- package/ce/yz_custom_element.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/zyzgroup_core_vue.iife.js +17 -10
- package/dist/zyzgroup_core_vue.iife.js.map +1 -1
- package/dist/zyzgroup_core_vue.js +8708 -3704
- package/dist/zyzgroup_core_vue.js.map +1 -1
- package/dist/zyzgroup_core_vue.umd.cjs +17 -10
- package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
- package/package.json +2 -2
- package/types/components/Accordion.ce.vue.d.ts +5 -11
- package/types/components/Accordion.vue.d.ts +5 -11
- package/types/components/Button.ce.vue.d.ts +17 -13
- package/types/components/Button.vue.d.ts +17 -13
- package/types/components/Canvas.ce.vue.d.ts +5 -5
- package/types/components/Canvas.vue.d.ts +5 -5
- package/types/components/Container.ce.vue.d.ts +166 -12
- package/types/components/Container.vue.d.ts +166 -12
- package/types/components/Dialog.ce.vue.d.ts +28 -10
- package/types/components/Dialog.vue.d.ts +28 -10
- package/types/components/MapTianditu.ce.vue.d.ts +8 -4
- package/types/components/MapTianditu.vue.d.ts +8 -4
- package/types/components/Page.ce.vue.d.ts +2 -3
- package/types/components/Page.vue.d.ts +2 -3
- package/types/components/PlateKeyboard.ce.vue.d.ts +2 -2
- package/types/components/PlateKeyboard.vue.d.ts +2 -2
- package/types/components/Pop.ce.vue.d.ts +7 -8
- package/types/components/Pop.vue.d.ts +7 -8
- package/types/components/Popover.ce.vue.d.ts +9 -9
- package/types/components/Popover.vue.d.ts +9 -9
- package/types/components/SVG.ce.vue.d.ts +5 -5
- package/types/components/SVG.vue.d.ts +5 -5
- package/types/components/effect/BorderFocusText.ce.vue.d.ts +3 -4
- package/types/components/effect/BorderFocusText.vue.d.ts +3 -4
- package/types/components/effect/CSSAnimation.ce.vue.d.ts +3 -4
- package/types/components/effect/CSSAnimation.vue.d.ts +3 -4
- package/types/components/effect/CSSTransition.ce.vue.d.ts +3 -4
- package/types/components/effect/CSSTransition.vue.d.ts +3 -4
- package/types/components/effect/Circle.ce.vue.d.ts +4 -5
- package/types/components/effect/Circle.vue.d.ts +4 -5
- package/types/components/effect/Float.ce.vue.d.ts +1 -2
- package/types/components/effect/Float.vue.d.ts +1 -2
- package/types/components/effect/ImageMask.ce.vue.d.ts +3 -3
- package/types/components/effect/ImageMask.vue.d.ts +3 -3
- package/types/components/effect/LineDouble.ce.vue.d.ts +4 -5
- package/types/components/effect/LineDouble.vue.d.ts +4 -5
- package/types/components/effect/LineSingle.ce.vue.d.ts +4 -5
- package/types/components/effect/LineSingle.vue.d.ts +4 -5
- package/types/components/effect/Slide.ce.vue.d.ts +1 -2
- package/types/components/effect/Slide.vue.d.ts +1 -2
- package/types/components/effect/SlideCorner.ce.vue.d.ts +4 -5
- package/types/components/effect/SlideCorner.vue.d.ts +4 -5
- package/types/components/form/ColorPicker.ce.vue.d.ts +9 -13
- package/types/components/form/ColorPicker.vue.d.ts +9 -13
- package/types/components/form/Input.ce.vue.d.ts +1 -1
- package/types/components/form/Input.vue.d.ts +1 -1
- package/types/components/form/InputRangeBox.ce.vue.d.ts +2 -2
- package/types/components/form/InputRangeBox.vue.d.ts +2 -2
- package/types/components/form/InputRangeCanvas.ce.vue.d.ts +6 -4
- package/types/components/form/InputRangeCanvas.vue.d.ts +6 -4
- package/types/components/form/SlideLeftItem.ce.vue.d.ts +8 -7
- package/types/components/form/SlideLeftItem.vue.d.ts +8 -7
- package/types/components/form/Switch.ce.vue.d.ts +1 -1
- package/types/components/form/Switch.vue.d.ts +1 -1
- 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/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 +0 -3
- package/types/components/svg/SVGDelete.vue.d.ts +0 -3
- 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/SVGWarn.ce.vue.d.ts +4 -4
- package/types/components/svg/SVGWarn.vue.d.ts +4 -4
- package/types/globalTeleport.d.ts +3 -2
- package/types/main.d.ts +1 -0
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.44",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/zyzgroup_core_vue.umd.cjs",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"scripts": {
|
|
33
33
|
"dev": "vite",
|
|
34
34
|
"preview": "vite preview",
|
|
35
|
-
"build": "npm run
|
|
35
|
+
"build": "npm run ce && npm run lib",
|
|
36
36
|
"lib": "vue-tsc --emitDeclarationOnly && npm run --prefix ../../../vite/ lib -- ../lib/packages/core-vue/vite.config.json",
|
|
37
37
|
"ce": "copy_ce_vue && npm run --prefix ../../../vite/ lib:ce -- ../lib/packages/core-vue/vite.ce.config.json",
|
|
38
38
|
"copy:components": "copy /src/components/ /dist/ vue",
|
|
@@ -10,23 +10,21 @@ type __VLS_Props = {
|
|
|
10
10
|
padding?: string;
|
|
11
11
|
duration?: number;
|
|
12
12
|
};
|
|
13
|
-
declare const resize: (width: number, height: number) => void;
|
|
14
13
|
declare const content: import("vue").Ref<any, any>;
|
|
15
14
|
declare const contentMaxHeight: import("vue").Ref<string, string>;
|
|
16
15
|
declare const open: import("vue").Ref<boolean, boolean>;
|
|
17
16
|
declare function toggleOpen(): void;
|
|
18
17
|
declare const rotate: import("vue").Ref<number, number>;
|
|
19
18
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
20
|
-
declare var
|
|
19
|
+
declare var __VLS_5: {}, __VLS_10: {};
|
|
21
20
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
22
|
-
title?: (props: typeof
|
|
21
|
+
title?: (props: typeof __VLS_5) => any;
|
|
23
22
|
} & {
|
|
24
|
-
content?: (props: typeof
|
|
23
|
+
content?: (props: typeof __VLS_10) => any;
|
|
25
24
|
}>;
|
|
26
25
|
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
27
26
|
Container: typeof Container;
|
|
28
27
|
SVGDown: typeof SVGDown;
|
|
29
|
-
resize: typeof resize;
|
|
30
28
|
content: typeof content;
|
|
31
29
|
contentMaxHeight: typeof contentMaxHeight;
|
|
32
30
|
open: typeof open;
|
|
@@ -34,36 +32,32 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
|
34
32
|
rotate: typeof rotate;
|
|
35
33
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
36
34
|
close: () => any;
|
|
37
|
-
resize: (width: number, height: number) => any;
|
|
38
35
|
open: () => any;
|
|
39
36
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
37
|
onClose?: () => any;
|
|
41
|
-
onResize?: (width: number, height: number) => any;
|
|
42
38
|
onOpen?: () => any;
|
|
43
39
|
}>, {
|
|
44
40
|
padding: string;
|
|
45
41
|
borderRadius: string;
|
|
42
|
+
fontColor: string;
|
|
46
43
|
borderColor: string;
|
|
47
44
|
bgColor: string;
|
|
48
|
-
fontColor: string;
|
|
49
45
|
duration: number;
|
|
50
46
|
initOpen: boolean;
|
|
51
47
|
titleHeight: string;
|
|
52
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
49
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
54
50
|
close: () => any;
|
|
55
|
-
resize: (width: number, height: number) => any;
|
|
56
51
|
open: () => any;
|
|
57
52
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
58
53
|
onClose?: () => any;
|
|
59
|
-
onResize?: (width: number, height: number) => any;
|
|
60
54
|
onOpen?: () => any;
|
|
61
55
|
}>, {
|
|
62
56
|
padding: string;
|
|
63
57
|
borderRadius: string;
|
|
58
|
+
fontColor: string;
|
|
64
59
|
borderColor: string;
|
|
65
60
|
bgColor: string;
|
|
66
|
-
fontColor: string;
|
|
67
61
|
duration: number;
|
|
68
62
|
initOpen: boolean;
|
|
69
63
|
titleHeight: string;
|
|
@@ -10,23 +10,21 @@ type __VLS_Props = {
|
|
|
10
10
|
padding?: string;
|
|
11
11
|
duration?: number;
|
|
12
12
|
};
|
|
13
|
-
declare const resize: (width: number, height: number) => void;
|
|
14
13
|
declare const content: import("vue").Ref<any, any>;
|
|
15
14
|
declare const contentMaxHeight: import("vue").Ref<string, string>;
|
|
16
15
|
declare const open: import("vue").Ref<boolean, boolean>;
|
|
17
16
|
declare function toggleOpen(): void;
|
|
18
17
|
declare const rotate: import("vue").Ref<number, number>;
|
|
19
18
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
20
|
-
declare var
|
|
19
|
+
declare var __VLS_5: {}, __VLS_10: {};
|
|
21
20
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
22
|
-
title?: (props: typeof
|
|
21
|
+
title?: (props: typeof __VLS_5) => any;
|
|
23
22
|
} & {
|
|
24
|
-
content?: (props: typeof
|
|
23
|
+
content?: (props: typeof __VLS_10) => any;
|
|
25
24
|
}>;
|
|
26
25
|
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
27
26
|
Container: typeof Container;
|
|
28
27
|
SVGDown: typeof SVGDown;
|
|
29
|
-
resize: typeof resize;
|
|
30
28
|
content: typeof content;
|
|
31
29
|
contentMaxHeight: typeof contentMaxHeight;
|
|
32
30
|
open: typeof open;
|
|
@@ -34,36 +32,32 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
|
34
32
|
rotate: typeof rotate;
|
|
35
33
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
36
34
|
close: () => any;
|
|
37
|
-
resize: (width: number, height: number) => any;
|
|
38
35
|
open: () => any;
|
|
39
36
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
37
|
onClose?: () => any;
|
|
41
|
-
onResize?: (width: number, height: number) => any;
|
|
42
38
|
onOpen?: () => any;
|
|
43
39
|
}>, {
|
|
44
40
|
padding: string;
|
|
45
41
|
borderRadius: string;
|
|
42
|
+
fontColor: string;
|
|
46
43
|
borderColor: string;
|
|
47
44
|
bgColor: string;
|
|
48
|
-
fontColor: string;
|
|
49
45
|
duration: number;
|
|
50
46
|
initOpen: boolean;
|
|
51
47
|
titleHeight: string;
|
|
52
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
49
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
54
50
|
close: () => any;
|
|
55
|
-
resize: (width: number, height: number) => any;
|
|
56
51
|
open: () => any;
|
|
57
52
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
58
53
|
onClose?: () => any;
|
|
59
|
-
onResize?: (width: number, height: number) => any;
|
|
60
54
|
onOpen?: () => any;
|
|
61
55
|
}>, {
|
|
62
56
|
padding: string;
|
|
63
57
|
borderRadius: string;
|
|
58
|
+
fontColor: string;
|
|
64
59
|
borderColor: string;
|
|
65
60
|
bgColor: string;
|
|
66
|
-
fontColor: string;
|
|
67
61
|
duration: number;
|
|
68
62
|
initOpen: boolean;
|
|
69
63
|
titleHeight: string;
|
|
@@ -1,31 +1,34 @@
|
|
|
1
1
|
import Icon from "./Icon.vue";
|
|
2
|
-
import { theme } from "@zyzgroup/core-web";
|
|
3
2
|
import Loading11 from "./loading/Loading11.vue";
|
|
3
|
+
export type ButtonStylePatternType = "fullfill" | "outline" | "transparent";
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
label?: string;
|
|
6
6
|
icon?: string;
|
|
7
|
-
iconPosition?:
|
|
7
|
+
iconPosition?: "left" | "right";
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
width?: string;
|
|
10
10
|
height?: string;
|
|
11
11
|
padding?: string;
|
|
12
12
|
fontSize?: string;
|
|
13
|
+
fontWeight?: string;
|
|
13
14
|
borderRadius?: string;
|
|
14
|
-
stylePattern?:
|
|
15
|
+
stylePattern?: ButtonStylePatternType;
|
|
16
|
+
fontColor?: string;
|
|
15
17
|
borderColor?: string;
|
|
16
18
|
bgColor?: string;
|
|
17
|
-
|
|
19
|
+
bgColorStart?: string;
|
|
20
|
+
bgColorEnd?: string;
|
|
18
21
|
asyncClick?: () => Promise<void>;
|
|
19
22
|
};
|
|
20
23
|
declare const el: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
24
|
+
declare const fontColor: import("vue").Ref<string, string>;
|
|
21
25
|
declare const borderColor: import("vue").Ref<string, string>;
|
|
22
26
|
declare const bgColor: import("vue").Ref<string, string>;
|
|
23
|
-
declare const fontColor: import("vue").Ref<string, string>;
|
|
24
27
|
declare const opacity: import("vue").Ref<string, string>;
|
|
25
28
|
declare const cursor: import("vue").Ref<string, string>;
|
|
26
29
|
declare const mouseover: () => void;
|
|
27
30
|
declare const mouseleave: () => void;
|
|
28
|
-
declare const
|
|
31
|
+
declare const asyncClickPending: import("vue").Ref<boolean, boolean>;
|
|
29
32
|
declare const throttleClick: (this: any, ...args: any[]) => void;
|
|
30
33
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
31
34
|
declare var __VLS_4: {};
|
|
@@ -34,17 +37,16 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
34
37
|
}>;
|
|
35
38
|
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
36
39
|
Icon: typeof Icon;
|
|
37
|
-
theme: typeof theme;
|
|
38
40
|
Loading11: typeof Loading11;
|
|
39
41
|
el: typeof el;
|
|
42
|
+
fontColor: typeof fontColor;
|
|
40
43
|
borderColor: typeof borderColor;
|
|
41
44
|
bgColor: typeof bgColor;
|
|
42
|
-
fontColor: typeof fontColor;
|
|
43
45
|
opacity: typeof opacity;
|
|
44
46
|
cursor: typeof cursor;
|
|
45
47
|
mouseover: typeof mouseover;
|
|
46
48
|
mouseleave: typeof mouseleave;
|
|
47
|
-
|
|
49
|
+
asyncClickPending: typeof asyncClickPending;
|
|
48
50
|
throttleClick: typeof throttleClick;
|
|
49
51
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
50
52
|
click: () => any;
|
|
@@ -55,12 +57,13 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
|
55
57
|
}>, {
|
|
56
58
|
width: string;
|
|
57
59
|
height: string;
|
|
58
|
-
iconPosition:
|
|
60
|
+
iconPosition: "left" | "right";
|
|
59
61
|
disabled: boolean;
|
|
60
62
|
padding: string;
|
|
61
63
|
fontSize: string;
|
|
64
|
+
fontWeight: string;
|
|
62
65
|
borderRadius: string;
|
|
63
|
-
stylePattern:
|
|
66
|
+
stylePattern: ButtonStylePatternType;
|
|
64
67
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
65
68
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
66
69
|
el: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
@@ -73,12 +76,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
73
76
|
}>, {
|
|
74
77
|
width: string;
|
|
75
78
|
height: string;
|
|
76
|
-
iconPosition:
|
|
79
|
+
iconPosition: "left" | "right";
|
|
77
80
|
disabled: boolean;
|
|
78
81
|
padding: string;
|
|
79
82
|
fontSize: string;
|
|
83
|
+
fontWeight: string;
|
|
80
84
|
borderRadius: string;
|
|
81
|
-
stylePattern:
|
|
85
|
+
stylePattern: ButtonStylePatternType;
|
|
82
86
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
83
87
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
84
88
|
export default _default;
|
|
@@ -1,31 +1,34 @@
|
|
|
1
1
|
import Icon from "./Icon.vue";
|
|
2
|
-
import { theme } from "@zyzgroup/core-web";
|
|
3
2
|
import Loading11 from "./loading/Loading11.vue";
|
|
3
|
+
export type ButtonStylePatternType = "fullfill" | "outline" | "transparent";
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
label?: string;
|
|
6
6
|
icon?: string;
|
|
7
|
-
iconPosition?:
|
|
7
|
+
iconPosition?: "left" | "right";
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
width?: string;
|
|
10
10
|
height?: string;
|
|
11
11
|
padding?: string;
|
|
12
12
|
fontSize?: string;
|
|
13
|
+
fontWeight?: string;
|
|
13
14
|
borderRadius?: string;
|
|
14
|
-
stylePattern?:
|
|
15
|
+
stylePattern?: ButtonStylePatternType;
|
|
16
|
+
fontColor?: string;
|
|
15
17
|
borderColor?: string;
|
|
16
18
|
bgColor?: string;
|
|
17
|
-
|
|
19
|
+
bgColorStart?: string;
|
|
20
|
+
bgColorEnd?: string;
|
|
18
21
|
asyncClick?: () => Promise<void>;
|
|
19
22
|
};
|
|
20
23
|
declare const el: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
24
|
+
declare const fontColor: import("vue").Ref<string, string>;
|
|
21
25
|
declare const borderColor: import("vue").Ref<string, string>;
|
|
22
26
|
declare const bgColor: import("vue").Ref<string, string>;
|
|
23
|
-
declare const fontColor: import("vue").Ref<string, string>;
|
|
24
27
|
declare const opacity: import("vue").Ref<string, string>;
|
|
25
28
|
declare const cursor: import("vue").Ref<string, string>;
|
|
26
29
|
declare const mouseover: () => void;
|
|
27
30
|
declare const mouseleave: () => void;
|
|
28
|
-
declare const
|
|
31
|
+
declare const asyncClickPending: import("vue").Ref<boolean, boolean>;
|
|
29
32
|
declare const throttleClick: (this: any, ...args: any[]) => void;
|
|
30
33
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
31
34
|
declare var __VLS_4: {};
|
|
@@ -34,17 +37,16 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
34
37
|
}>;
|
|
35
38
|
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
36
39
|
Icon: typeof Icon;
|
|
37
|
-
theme: typeof theme;
|
|
38
40
|
Loading11: typeof Loading11;
|
|
39
41
|
el: typeof el;
|
|
42
|
+
fontColor: typeof fontColor;
|
|
40
43
|
borderColor: typeof borderColor;
|
|
41
44
|
bgColor: typeof bgColor;
|
|
42
|
-
fontColor: typeof fontColor;
|
|
43
45
|
opacity: typeof opacity;
|
|
44
46
|
cursor: typeof cursor;
|
|
45
47
|
mouseover: typeof mouseover;
|
|
46
48
|
mouseleave: typeof mouseleave;
|
|
47
|
-
|
|
49
|
+
asyncClickPending: typeof asyncClickPending;
|
|
48
50
|
throttleClick: typeof throttleClick;
|
|
49
51
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
50
52
|
click: () => any;
|
|
@@ -55,12 +57,13 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
|
55
57
|
}>, {
|
|
56
58
|
width: string;
|
|
57
59
|
height: string;
|
|
58
|
-
iconPosition:
|
|
60
|
+
iconPosition: "left" | "right";
|
|
59
61
|
disabled: boolean;
|
|
60
62
|
padding: string;
|
|
61
63
|
fontSize: string;
|
|
64
|
+
fontWeight: string;
|
|
62
65
|
borderRadius: string;
|
|
63
|
-
stylePattern:
|
|
66
|
+
stylePattern: ButtonStylePatternType;
|
|
64
67
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
65
68
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
66
69
|
el: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
@@ -73,12 +76,13 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
73
76
|
}>, {
|
|
74
77
|
width: string;
|
|
75
78
|
height: string;
|
|
76
|
-
iconPosition:
|
|
79
|
+
iconPosition: "left" | "right";
|
|
77
80
|
disabled: boolean;
|
|
78
81
|
padding: string;
|
|
79
82
|
fontSize: string;
|
|
83
|
+
fontWeight: string;
|
|
80
84
|
borderRadius: string;
|
|
81
|
-
stylePattern:
|
|
85
|
+
stylePattern: ButtonStylePatternType;
|
|
82
86
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
83
87
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
84
88
|
export default _default;
|
|
@@ -3,16 +3,16 @@ type __VLS_Props = {
|
|
|
3
3
|
bgColor?: string;
|
|
4
4
|
enableCustomContext?: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare function getCanvas(): Promise<YZCanvas>;
|
|
7
6
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
getCanvas: () => Promise<YZCanvas>;
|
|
8
|
+
getElement: () => any;
|
|
9
|
+
getRect: () => any;
|
|
10
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
-
resize: (width: number, height: number) => any;
|
|
12
11
|
ready: (canvas: YZCanvas) => any;
|
|
12
|
+
update: (canvas: YZCanvas) => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
-
onResize?: (width: number, height: number) => any;
|
|
15
14
|
onReady?: (canvas: YZCanvas) => any;
|
|
15
|
+
onUpdate?: (canvas: YZCanvas) => any;
|
|
16
16
|
}>, {
|
|
17
17
|
bgColor: string;
|
|
18
18
|
enableCustomContext: boolean;
|
|
@@ -3,16 +3,16 @@ type __VLS_Props = {
|
|
|
3
3
|
bgColor?: string;
|
|
4
4
|
enableCustomContext?: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare function getCanvas(): Promise<YZCanvas>;
|
|
7
6
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
getCanvas: () => Promise<YZCanvas>;
|
|
8
|
+
getElement: () => any;
|
|
9
|
+
getRect: () => any;
|
|
10
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
-
resize: (width: number, height: number) => any;
|
|
12
11
|
ready: (canvas: YZCanvas) => any;
|
|
12
|
+
update: (canvas: YZCanvas) => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
-
onResize?: (width: number, height: number) => any;
|
|
15
14
|
onReady?: (canvas: YZCanvas) => any;
|
|
15
|
+
onUpdate?: (canvas: YZCanvas) => any;
|
|
16
16
|
}>, {
|
|
17
17
|
bgColor: string;
|
|
18
18
|
enableCustomContext: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export type ContainerType = "block" | "shrink" | "full";
|
|
2
|
+
export type EffectTriggerTiming = "manual" | "mouseMove" | "click" | "immediate";
|
|
3
|
+
export type EffectStatus = "start" | "end";
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
type?: ContainerType;
|
|
5
6
|
effectTriggerTiming?: EffectTriggerTiming;
|
|
@@ -14,17 +15,85 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
14
15
|
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
15
16
|
r: typeof r;
|
|
16
17
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
17
|
-
resize: (width: number, height: number, rect: DOMRect) => any;
|
|
18
18
|
start: () => any;
|
|
19
19
|
end: () => any;
|
|
20
|
-
ready: (
|
|
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;
|
|
21
56
|
clipboard_success: (text: string) => any;
|
|
22
57
|
clipboard_error: (text: string) => any;
|
|
23
58
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
-
onResize?: (width: number, height: number, rect: DOMRect) => any;
|
|
25
59
|
onStart?: () => any;
|
|
26
60
|
onEnd?: () => any;
|
|
27
|
-
onReady?: (
|
|
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;
|
|
28
97
|
onClipboard_success?: (text: string) => any;
|
|
29
98
|
onClipboard_error?: (text: string) => any;
|
|
30
99
|
}>, {
|
|
@@ -33,21 +102,106 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
|
33
102
|
supportCopyText: boolean;
|
|
34
103
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
35
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
|
+
}>;
|
|
36
123
|
getElement: () => any;
|
|
37
|
-
|
|
38
|
-
getSize: () => Promise<DOMRect>;
|
|
124
|
+
getRect: () => any;
|
|
39
125
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
40
|
-
resize: (width: number, height: number, rect: DOMRect) => any;
|
|
41
126
|
start: () => any;
|
|
42
127
|
end: () => any;
|
|
43
|
-
ready: (
|
|
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;
|
|
44
164
|
clipboard_success: (text: string) => any;
|
|
45
165
|
clipboard_error: (text: string) => any;
|
|
46
166
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
47
|
-
onResize?: (width: number, height: number, rect: DOMRect) => any;
|
|
48
167
|
onStart?: () => any;
|
|
49
168
|
onEnd?: () => any;
|
|
50
|
-
onReady?: (
|
|
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;
|
|
51
205
|
onClipboard_success?: (text: string) => any;
|
|
52
206
|
onClipboard_error?: (text: string) => any;
|
|
53
207
|
}>, {
|