@zyzgroup/core-vue 0.0.16 → 0.0.18
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 +88 -88
- package/ce/yz_custom_element.iife.js.map +1 -1
- package/ce/yz_custom_element.js +16021 -14394
- package/ce/yz_custom_element.js.map +1 -1
- package/ce/yz_custom_element.umd.cjs +88 -88
- package/ce/yz_custom_element.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/zyzgroup_core_vue.iife.js +36 -35
- package/dist/zyzgroup_core_vue.iife.js.map +1 -1
- package/dist/zyzgroup_core_vue.js +16323 -14723
- package/dist/zyzgroup_core_vue.js.map +1 -1
- package/dist/zyzgroup_core_vue.umd.cjs +36 -35
- package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
- package/package.json +2 -1
- package/types/components/Button.ce.vue.d.ts +1 -1
- package/types/components/Button.vue.d.ts +1 -1
- package/types/components/Canvas.ce.vue.d.ts +1 -5
- package/types/components/Canvas.vue.d.ts +1 -5
- package/types/components/CheckboxGroup.ce.vue.d.ts +21 -6
- package/types/components/CheckboxGroup.vue.d.ts +21 -6
- package/types/components/RadioGroup.ce.vue.d.ts +24 -9
- package/types/components/RadioGroup.vue.d.ts +24 -9
- package/types/components/SVG.ce.vue.d.ts +38 -0
- package/types/components/SVG.vue.d.ts +38 -0
- package/types/components/SVGAndCanvas.ce.vue.d.ts +35 -0
- package/types/components/SVGAndCanvas.vue.d.ts +35 -0
- package/types/lib.d.ts +2 -5
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.18",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/zyzgroup_core_vue.umd.cjs",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"typescript": "^5.2.2",
|
|
51
51
|
"vanilla-colorful": "^0.7.2",
|
|
52
52
|
"vite": "^5.2.0",
|
|
53
|
+
"vite-svg-loader": "^5.1.0",
|
|
53
54
|
"vue-tsc": "^2.0.6"
|
|
54
55
|
}
|
|
55
56
|
}
|
|
@@ -20,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
20
20
|
borderRadius: string;
|
|
21
21
|
stylePattern: string;
|
|
22
22
|
}>, {
|
|
23
|
-
|
|
23
|
+
el: import("vue").Ref<HTMLElement | undefined>;
|
|
24
24
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
25
|
ceClick: () => void;
|
|
26
26
|
click: () => void;
|
|
@@ -20,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
20
20
|
borderRadius: string;
|
|
21
21
|
stylePattern: string;
|
|
22
22
|
}>, {
|
|
23
|
-
|
|
23
|
+
el: import("vue").Ref<HTMLElement | undefined>;
|
|
24
24
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
25
|
ceClick: () => void;
|
|
26
26
|
click: () => void;
|
|
@@ -1,24 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Canvas } from "@zyzgroup/core-web";
|
|
2
2
|
declare function getCanvas(): Promise<Canvas>;
|
|
3
|
-
declare function draw(cb: (app: DOMEventBus) => void): void;
|
|
4
3
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
4
|
bgColor?: string | undefined;
|
|
6
5
|
}>, {
|
|
7
6
|
bgColor: string;
|
|
8
7
|
}>, {
|
|
9
|
-
draw: typeof draw;
|
|
10
8
|
getCanvasElement: () => any;
|
|
11
9
|
getCanvas: typeof getCanvas;
|
|
12
10
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
11
|
resize: (width: number, height: number) => void;
|
|
14
|
-
complete: (canvas: Canvas) => void;
|
|
15
12
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
16
13
|
bgColor?: string | undefined;
|
|
17
14
|
}>, {
|
|
18
15
|
bgColor: string;
|
|
19
16
|
}>>> & {
|
|
20
17
|
onResize?: ((width: number, height: number) => any) | undefined;
|
|
21
|
-
onComplete?: ((canvas: Canvas) => any) | undefined;
|
|
22
18
|
}, {
|
|
23
19
|
bgColor: string;
|
|
24
20
|
}, {}>;
|
|
@@ -1,24 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Canvas } from "@zyzgroup/core-web";
|
|
2
2
|
declare function getCanvas(): Promise<Canvas>;
|
|
3
|
-
declare function draw(cb: (app: DOMEventBus) => void): void;
|
|
4
3
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
4
|
bgColor?: string | undefined;
|
|
6
5
|
}>, {
|
|
7
6
|
bgColor: string;
|
|
8
7
|
}>, {
|
|
9
|
-
draw: typeof draw;
|
|
10
8
|
getCanvasElement: () => any;
|
|
11
9
|
getCanvas: typeof getCanvas;
|
|
12
10
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
11
|
resize: (width: number, height: number) => void;
|
|
14
|
-
complete: (canvas: Canvas) => void;
|
|
15
12
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
16
13
|
bgColor?: string | undefined;
|
|
17
14
|
}>, {
|
|
18
15
|
bgColor: string;
|
|
19
16
|
}>>> & {
|
|
20
17
|
onResize?: ((width: number, height: number) => any) | undefined;
|
|
21
|
-
onComplete?: ((canvas: Canvas) => any) | undefined;
|
|
22
18
|
}, {
|
|
23
19
|
bgColor: string;
|
|
24
20
|
}, {}>;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
declare const _default: <T extends string>(__VLS_props: {
|
|
2
2
|
onChange?: ((values: T[]) => any) | undefined;
|
|
3
3
|
options: T[];
|
|
4
|
+
disabledIndexs?: number[] | undefined;
|
|
4
5
|
initIndexs?: number[] | undefined;
|
|
5
6
|
isRounded?: boolean | undefined;
|
|
6
|
-
isFullfilled?: boolean | undefined;
|
|
7
|
-
colorPath?: string | undefined;
|
|
8
7
|
colorBg?: string | undefined;
|
|
8
|
+
colorBgSelected?: string | undefined;
|
|
9
|
+
colorBgDisabled?: string | undefined;
|
|
9
10
|
colorBorder?: string | undefined;
|
|
11
|
+
colorBorderSelected?: string | undefined;
|
|
12
|
+
colorBorderDisabled?: string | undefined;
|
|
13
|
+
colorPath?: string | undefined;
|
|
14
|
+
colorPathDisabled?: string | undefined;
|
|
10
15
|
fontSize?: string | undefined;
|
|
11
16
|
itemWidth?: string | undefined;
|
|
12
17
|
itemPadding?: string | undefined;
|
|
@@ -24,12 +29,17 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
24
29
|
props: {
|
|
25
30
|
onChange?: ((values: T[]) => any) | undefined;
|
|
26
31
|
options: T[];
|
|
32
|
+
disabledIndexs?: number[] | undefined;
|
|
27
33
|
initIndexs?: number[] | undefined;
|
|
28
34
|
isRounded?: boolean | undefined;
|
|
29
|
-
isFullfilled?: boolean | undefined;
|
|
30
|
-
colorPath?: string | undefined;
|
|
31
35
|
colorBg?: string | undefined;
|
|
36
|
+
colorBgSelected?: string | undefined;
|
|
37
|
+
colorBgDisabled?: string | undefined;
|
|
32
38
|
colorBorder?: string | undefined;
|
|
39
|
+
colorBorderSelected?: string | undefined;
|
|
40
|
+
colorBorderDisabled?: string | undefined;
|
|
41
|
+
colorPath?: string | undefined;
|
|
42
|
+
colorPathDisabled?: string | undefined;
|
|
33
43
|
fontSize?: string | undefined;
|
|
34
44
|
itemWidth?: string | undefined;
|
|
35
45
|
itemPadding?: string | undefined;
|
|
@@ -51,12 +61,17 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
51
61
|
props: {
|
|
52
62
|
onChange?: ((values: T[]) => any) | undefined;
|
|
53
63
|
options: T[];
|
|
64
|
+
disabledIndexs?: number[] | undefined;
|
|
54
65
|
initIndexs?: number[] | undefined;
|
|
55
66
|
isRounded?: boolean | undefined;
|
|
56
|
-
isFullfilled?: boolean | undefined;
|
|
57
|
-
colorPath?: string | undefined;
|
|
58
67
|
colorBg?: string | undefined;
|
|
68
|
+
colorBgSelected?: string | undefined;
|
|
69
|
+
colorBgDisabled?: string | undefined;
|
|
59
70
|
colorBorder?: string | undefined;
|
|
71
|
+
colorBorderSelected?: string | undefined;
|
|
72
|
+
colorBorderDisabled?: string | undefined;
|
|
73
|
+
colorPath?: string | undefined;
|
|
74
|
+
colorPathDisabled?: string | undefined;
|
|
60
75
|
fontSize?: string | undefined;
|
|
61
76
|
itemWidth?: string | undefined;
|
|
62
77
|
itemPadding?: string | undefined;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
declare const _default: <T extends string>(__VLS_props: {
|
|
2
2
|
onChange?: ((values: T[]) => any) | undefined;
|
|
3
3
|
options: T[];
|
|
4
|
+
disabledIndexs?: number[] | undefined;
|
|
4
5
|
initIndexs?: number[] | undefined;
|
|
5
6
|
isRounded?: boolean | undefined;
|
|
6
|
-
isFullfilled?: boolean | undefined;
|
|
7
|
-
colorPath?: string | undefined;
|
|
8
7
|
colorBg?: string | undefined;
|
|
8
|
+
colorBgSelected?: string | undefined;
|
|
9
|
+
colorBgDisabled?: string | undefined;
|
|
9
10
|
colorBorder?: string | undefined;
|
|
11
|
+
colorBorderSelected?: string | undefined;
|
|
12
|
+
colorBorderDisabled?: string | undefined;
|
|
13
|
+
colorPath?: string | undefined;
|
|
14
|
+
colorPathDisabled?: string | undefined;
|
|
10
15
|
fontSize?: string | undefined;
|
|
11
16
|
itemWidth?: string | undefined;
|
|
12
17
|
itemPadding?: string | undefined;
|
|
@@ -24,12 +29,17 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
24
29
|
props: {
|
|
25
30
|
onChange?: ((values: T[]) => any) | undefined;
|
|
26
31
|
options: T[];
|
|
32
|
+
disabledIndexs?: number[] | undefined;
|
|
27
33
|
initIndexs?: number[] | undefined;
|
|
28
34
|
isRounded?: boolean | undefined;
|
|
29
|
-
isFullfilled?: boolean | undefined;
|
|
30
|
-
colorPath?: string | undefined;
|
|
31
35
|
colorBg?: string | undefined;
|
|
36
|
+
colorBgSelected?: string | undefined;
|
|
37
|
+
colorBgDisabled?: string | undefined;
|
|
32
38
|
colorBorder?: string | undefined;
|
|
39
|
+
colorBorderSelected?: string | undefined;
|
|
40
|
+
colorBorderDisabled?: string | undefined;
|
|
41
|
+
colorPath?: string | undefined;
|
|
42
|
+
colorPathDisabled?: string | undefined;
|
|
33
43
|
fontSize?: string | undefined;
|
|
34
44
|
itemWidth?: string | undefined;
|
|
35
45
|
itemPadding?: string | undefined;
|
|
@@ -51,12 +61,17 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
51
61
|
props: {
|
|
52
62
|
onChange?: ((values: T[]) => any) | undefined;
|
|
53
63
|
options: T[];
|
|
64
|
+
disabledIndexs?: number[] | undefined;
|
|
54
65
|
initIndexs?: number[] | undefined;
|
|
55
66
|
isRounded?: boolean | undefined;
|
|
56
|
-
isFullfilled?: boolean | undefined;
|
|
57
|
-
colorPath?: string | undefined;
|
|
58
67
|
colorBg?: string | undefined;
|
|
68
|
+
colorBgSelected?: string | undefined;
|
|
69
|
+
colorBgDisabled?: string | undefined;
|
|
59
70
|
colorBorder?: string | undefined;
|
|
71
|
+
colorBorderSelected?: string | undefined;
|
|
72
|
+
colorBorderDisabled?: string | undefined;
|
|
73
|
+
colorPath?: string | undefined;
|
|
74
|
+
colorPathDisabled?: string | undefined;
|
|
60
75
|
fontSize?: string | undefined;
|
|
61
76
|
itemWidth?: string | undefined;
|
|
62
77
|
itemPadding?: string | undefined;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
declare const _default: <T extends string>(__VLS_props: {
|
|
2
2
|
onChange?: ((values: T) => any) | undefined;
|
|
3
3
|
options: T[];
|
|
4
|
-
|
|
4
|
+
disabledIndexs?: number[] | undefined;
|
|
5
|
+
initIndex?: number | undefined;
|
|
5
6
|
isRounded?: boolean | undefined;
|
|
6
|
-
isFullfilled?: boolean | undefined;
|
|
7
|
-
colorPath?: string | undefined;
|
|
8
7
|
colorBg?: string | undefined;
|
|
8
|
+
colorBgSelected?: string | undefined;
|
|
9
|
+
colorBgDisabled?: string | undefined;
|
|
9
10
|
colorBorder?: string | undefined;
|
|
11
|
+
colorBorderSelected?: string | undefined;
|
|
12
|
+
colorBorderDisabled?: string | undefined;
|
|
13
|
+
colorPath?: string | undefined;
|
|
14
|
+
colorPathDisabled?: string | undefined;
|
|
10
15
|
fontSize?: string | undefined;
|
|
11
16
|
itemWidth?: string | undefined;
|
|
12
17
|
itemPadding?: string | undefined;
|
|
@@ -24,12 +29,17 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
24
29
|
props: {
|
|
25
30
|
onChange?: ((values: T) => any) | undefined;
|
|
26
31
|
options: T[];
|
|
27
|
-
|
|
32
|
+
disabledIndexs?: number[] | undefined;
|
|
33
|
+
initIndex?: number | undefined;
|
|
28
34
|
isRounded?: boolean | undefined;
|
|
29
|
-
isFullfilled?: boolean | undefined;
|
|
30
|
-
colorPath?: string | undefined;
|
|
31
35
|
colorBg?: string | undefined;
|
|
36
|
+
colorBgSelected?: string | undefined;
|
|
37
|
+
colorBgDisabled?: string | undefined;
|
|
32
38
|
colorBorder?: string | undefined;
|
|
39
|
+
colorBorderSelected?: string | undefined;
|
|
40
|
+
colorBorderDisabled?: string | undefined;
|
|
41
|
+
colorPath?: string | undefined;
|
|
42
|
+
colorPathDisabled?: string | undefined;
|
|
33
43
|
fontSize?: string | undefined;
|
|
34
44
|
itemWidth?: string | undefined;
|
|
35
45
|
itemPadding?: string | undefined;
|
|
@@ -51,12 +61,17 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
51
61
|
props: {
|
|
52
62
|
onChange?: ((values: T) => any) | undefined;
|
|
53
63
|
options: T[];
|
|
54
|
-
|
|
64
|
+
disabledIndexs?: number[] | undefined;
|
|
65
|
+
initIndex?: number | undefined;
|
|
55
66
|
isRounded?: boolean | undefined;
|
|
56
|
-
isFullfilled?: boolean | undefined;
|
|
57
|
-
colorPath?: string | undefined;
|
|
58
67
|
colorBg?: string | undefined;
|
|
68
|
+
colorBgSelected?: string | undefined;
|
|
69
|
+
colorBgDisabled?: string | undefined;
|
|
59
70
|
colorBorder?: string | undefined;
|
|
71
|
+
colorBorderSelected?: string | undefined;
|
|
72
|
+
colorBorderDisabled?: string | undefined;
|
|
73
|
+
colorPath?: string | undefined;
|
|
74
|
+
colorPathDisabled?: string | undefined;
|
|
60
75
|
fontSize?: string | undefined;
|
|
61
76
|
itemWidth?: string | undefined;
|
|
62
77
|
itemPadding?: string | undefined;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
declare const _default: <T extends string>(__VLS_props: {
|
|
2
2
|
onChange?: ((values: T) => any) | undefined;
|
|
3
3
|
options: T[];
|
|
4
|
-
|
|
4
|
+
disabledIndexs?: number[] | undefined;
|
|
5
|
+
initIndex?: number | undefined;
|
|
5
6
|
isRounded?: boolean | undefined;
|
|
6
|
-
isFullfilled?: boolean | undefined;
|
|
7
|
-
colorPath?: string | undefined;
|
|
8
7
|
colorBg?: string | undefined;
|
|
8
|
+
colorBgSelected?: string | undefined;
|
|
9
|
+
colorBgDisabled?: string | undefined;
|
|
9
10
|
colorBorder?: string | undefined;
|
|
11
|
+
colorBorderSelected?: string | undefined;
|
|
12
|
+
colorBorderDisabled?: string | undefined;
|
|
13
|
+
colorPath?: string | undefined;
|
|
14
|
+
colorPathDisabled?: string | undefined;
|
|
10
15
|
fontSize?: string | undefined;
|
|
11
16
|
itemWidth?: string | undefined;
|
|
12
17
|
itemPadding?: string | undefined;
|
|
@@ -24,12 +29,17 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
24
29
|
props: {
|
|
25
30
|
onChange?: ((values: T) => any) | undefined;
|
|
26
31
|
options: T[];
|
|
27
|
-
|
|
32
|
+
disabledIndexs?: number[] | undefined;
|
|
33
|
+
initIndex?: number | undefined;
|
|
28
34
|
isRounded?: boolean | undefined;
|
|
29
|
-
isFullfilled?: boolean | undefined;
|
|
30
|
-
colorPath?: string | undefined;
|
|
31
35
|
colorBg?: string | undefined;
|
|
36
|
+
colorBgSelected?: string | undefined;
|
|
37
|
+
colorBgDisabled?: string | undefined;
|
|
32
38
|
colorBorder?: string | undefined;
|
|
39
|
+
colorBorderSelected?: string | undefined;
|
|
40
|
+
colorBorderDisabled?: string | undefined;
|
|
41
|
+
colorPath?: string | undefined;
|
|
42
|
+
colorPathDisabled?: string | undefined;
|
|
33
43
|
fontSize?: string | undefined;
|
|
34
44
|
itemWidth?: string | undefined;
|
|
35
45
|
itemPadding?: string | undefined;
|
|
@@ -51,12 +61,17 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
51
61
|
props: {
|
|
52
62
|
onChange?: ((values: T) => any) | undefined;
|
|
53
63
|
options: T[];
|
|
54
|
-
|
|
64
|
+
disabledIndexs?: number[] | undefined;
|
|
65
|
+
initIndex?: number | undefined;
|
|
55
66
|
isRounded?: boolean | undefined;
|
|
56
|
-
isFullfilled?: boolean | undefined;
|
|
57
|
-
colorPath?: string | undefined;
|
|
58
67
|
colorBg?: string | undefined;
|
|
68
|
+
colorBgSelected?: string | undefined;
|
|
69
|
+
colorBgDisabled?: string | undefined;
|
|
59
70
|
colorBorder?: string | undefined;
|
|
71
|
+
colorBorderSelected?: string | undefined;
|
|
72
|
+
colorBorderDisabled?: string | undefined;
|
|
73
|
+
colorPath?: string | undefined;
|
|
74
|
+
colorPathDisabled?: string | undefined;
|
|
60
75
|
fontSize?: string | undefined;
|
|
61
76
|
itemWidth?: string | undefined;
|
|
62
77
|
itemPadding?: string | undefined;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { SVG } from "@zyzgroup/core-web";
|
|
2
|
+
declare function getSVG(): Promise<SVG>;
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
4
|
+
bgColor?: string | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
bgColor: string;
|
|
7
|
+
}>, {
|
|
8
|
+
getSVGElement: () => any;
|
|
9
|
+
getSVG: typeof getSVG;
|
|
10
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
resize: (width: number, height: number) => void;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
13
|
+
bgColor?: string | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
bgColor: string;
|
|
16
|
+
}>>> & {
|
|
17
|
+
onResize?: ((width: number, height: number) => any) | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
bgColor: string;
|
|
20
|
+
}, {}>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithDefaults<P, D> = {
|
|
23
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
24
|
+
default: D[K];
|
|
25
|
+
}> : P[K];
|
|
26
|
+
};
|
|
27
|
+
type __VLS_Prettify<T> = {
|
|
28
|
+
[K in keyof T]: T[K];
|
|
29
|
+
} & {};
|
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
+
type __VLS_TypePropsToOption<T> = {
|
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
+
} : {
|
|
35
|
+
type: import('vue').PropType<T[K]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { SVG } from "@zyzgroup/core-web";
|
|
2
|
+
declare function getSVG(): Promise<SVG>;
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
4
|
+
bgColor?: string | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
bgColor: string;
|
|
7
|
+
}>, {
|
|
8
|
+
getSVGElement: () => any;
|
|
9
|
+
getSVG: typeof getSVG;
|
|
10
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
resize: (width: number, height: number) => void;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
13
|
+
bgColor?: string | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
bgColor: string;
|
|
16
|
+
}>>> & {
|
|
17
|
+
onResize?: ((width: number, height: number) => any) | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
bgColor: string;
|
|
20
|
+
}, {}>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithDefaults<P, D> = {
|
|
23
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
24
|
+
default: D[K];
|
|
25
|
+
}> : P[K];
|
|
26
|
+
};
|
|
27
|
+
type __VLS_Prettify<T> = {
|
|
28
|
+
[K in keyof T]: T[K];
|
|
29
|
+
} & {};
|
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
+
type __VLS_TypePropsToOption<T> = {
|
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
+
} : {
|
|
35
|
+
type: import('vue').PropType<T[K]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type EasingFunction } from "@zyzgroup/core-web";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
|
+
easeName?: string | undefined;
|
|
4
|
+
easeFunction?: EasingFunction | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
easeName: string;
|
|
7
|
+
easeFunction: (amount: number) => number;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
|
+
easeName?: string | undefined;
|
|
10
|
+
easeFunction?: EasingFunction | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
easeName: string;
|
|
13
|
+
easeFunction: (amount: number) => number;
|
|
14
|
+
}>>>, {
|
|
15
|
+
easeName: string;
|
|
16
|
+
easeFunction: EasingFunction;
|
|
17
|
+
}, {}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithDefaults<P, D> = {
|
|
20
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
+
default: D[K];
|
|
22
|
+
}> : P[K];
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Prettify<T> = {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} & {};
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToOption<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type EasingFunction } from "@zyzgroup/core-web";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
|
+
easeName?: string | undefined;
|
|
4
|
+
easeFunction?: EasingFunction | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
easeName: string;
|
|
7
|
+
easeFunction: (amount: number) => number;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
|
+
easeName?: string | undefined;
|
|
10
|
+
easeFunction?: EasingFunction | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
easeName: string;
|
|
13
|
+
easeFunction: (amount: number) => number;
|
|
14
|
+
}>>>, {
|
|
15
|
+
easeName: string;
|
|
16
|
+
easeFunction: EasingFunction;
|
|
17
|
+
}, {}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithDefaults<P, D> = {
|
|
20
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
+
default: D[K];
|
|
22
|
+
}> : P[K];
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Prettify<T> = {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} & {};
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToOption<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
package/types/lib.d.ts
CHANGED
|
@@ -36,10 +36,7 @@ import EaseGraphDisplay from "./components/EaseGraphDisplay.vue";
|
|
|
36
36
|
import EaseGroupGraphDisplay from "./components/EaseGroupGraphDisplay.vue";
|
|
37
37
|
import InterpolationGraphDisplay from "./components/InterpolationGraphDisplay.vue";
|
|
38
38
|
import InterpolationGroupGraphDisplay from "./components/InterpolationGroupGraphDisplay.vue";
|
|
39
|
-
import
|
|
40
|
-
import CanvasSport from "./components/CanvasSport.vue";
|
|
41
|
-
import CanvasShape from "./components/CanvasShape.vue";
|
|
42
|
-
import CanvasFromSVG from "./components/CanvasFromSVG.vue";
|
|
39
|
+
import SVGAndCanvas from "./components/SVGAndCanvas.vue";
|
|
43
40
|
import SVGCheck from "./components/svg/SVGCheck.vue";
|
|
44
41
|
import SVGDelete from "./components/svg/SVGDelete.vue";
|
|
45
42
|
import SVGCleanUp from "./components/svg/SVGCleanUp.vue";
|
|
@@ -54,4 +51,4 @@ import Loading7 from "./components/loading/Loading7.vue";
|
|
|
54
51
|
import Loading8 from "./components/loading/Loading8.vue";
|
|
55
52
|
import Loading9 from "./components/loading/Loading9.vue";
|
|
56
53
|
import Loading10 from "./components/loading/Loading10.vue";
|
|
57
|
-
export { Icon, Button, LayoutMobile, LayoutCenter, Loading1, Loading2, Loading3, Loading4, Loading5, Loading6, Loading7, Loading8, Loading9, Loading10, Overlay, Pop, Dialog, DialogLoading, DialogToast, Select, SelectAbsolute, Switch, RadioGroup, CheckboxGroup, Popover, ColorPicker, ResizeObserver, MapTianditu, SVGCheck, PlateMobile, SVGCleanUp, PlateKeyboard, SVGDelete, SlideLeftItem, PlateDisplay, Tab, Tabs, FPSStats, EaseGraphDisplay, EaseGroupGraphDisplay, InterpolationGraphDisplay, InterpolationGroupGraphDisplay,
|
|
54
|
+
export { Icon, Button, LayoutMobile, LayoutCenter, Loading1, Loading2, Loading3, Loading4, Loading5, Loading6, Loading7, Loading8, Loading9, Loading10, Overlay, Pop, Dialog, DialogLoading, DialogToast, Select, SelectAbsolute, Switch, RadioGroup, CheckboxGroup, Popover, ColorPicker, ResizeObserver, MapTianditu, SVGCheck, PlateMobile, SVGCleanUp, PlateKeyboard, SVGDelete, SlideLeftItem, PlateDisplay, Tab, Tabs, FPSStats, EaseGraphDisplay, EaseGroupGraphDisplay, InterpolationGraphDisplay, InterpolationGroupGraphDisplay, HandWritePanel, ProgressBar, PageVerticalScrollProgressBar, Video, Input, Accordion, SVGAndCanvas, Image, ImageView, MouseOver, SVGDown };
|