@zyzgroup/core-vue 0.0.16 → 0.0.17
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 -85
- package/ce/yz_custom_element.iife.js.map +1 -1
- package/ce/yz_custom_element.js +10690 -10136
- package/ce/yz_custom_element.js.map +1 -1
- package/ce/yz_custom_element.umd.cjs +88 -85
- package/ce/yz_custom_element.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/zyzgroup_core_vue.iife.js +40 -39
- package/dist/zyzgroup_core_vue.iife.js.map +1 -1
- package/dist/zyzgroup_core_vue.js +11706 -11185
- package/dist/zyzgroup_core_vue.js.map +1 -1
- package/dist/zyzgroup_core_vue.umd.cjs +40 -39
- package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
- package/package.json +2 -1
- package/types/components/Canvas.ce.vue.d.ts +0 -2
- package/types/components/Canvas.vue.d.ts +0 -2
- 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 +2 -0
- package/types/components/SVGAndCanvas.vue.d.ts +2 -0
- package/types/lib.d.ts +2 -2
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.17",
|
|
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
|
}
|
|
@@ -11,14 +11,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
11
11
|
getCanvas: typeof getCanvas;
|
|
12
12
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
13
|
resize: (width: number, height: number) => void;
|
|
14
|
-
complete: (canvas: Canvas) => void;
|
|
15
14
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
16
15
|
bgColor?: string | undefined;
|
|
17
16
|
}>, {
|
|
18
17
|
bgColor: string;
|
|
19
18
|
}>>> & {
|
|
20
19
|
onResize?: ((width: number, height: number) => any) | undefined;
|
|
21
|
-
onComplete?: ((canvas: Canvas) => any) | undefined;
|
|
22
20
|
}, {
|
|
23
21
|
bgColor: string;
|
|
24
22
|
}, {}>;
|
|
@@ -11,14 +11,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
11
11
|
getCanvas: typeof getCanvas;
|
|
12
12
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
13
|
resize: (width: number, height: number) => void;
|
|
14
|
-
complete: (canvas: Canvas) => void;
|
|
15
14
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
16
15
|
bgColor?: string | undefined;
|
|
17
16
|
}>, {
|
|
18
17
|
bgColor: string;
|
|
19
18
|
}>>> & {
|
|
20
19
|
onResize?: ((width: number, height: number) => any) | undefined;
|
|
21
|
-
onComplete?: ((canvas: Canvas) => any) | undefined;
|
|
22
20
|
}, {
|
|
23
21
|
bgColor: string;
|
|
24
22
|
}, {}>;
|
|
@@ -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
|
+
};
|
package/types/lib.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ import InterpolationGroupGraphDisplay from "./components/InterpolationGroupGraph
|
|
|
39
39
|
import TweenCSS from "./components/TweenCSS.vue";
|
|
40
40
|
import CanvasSport from "./components/CanvasSport.vue";
|
|
41
41
|
import CanvasShape from "./components/CanvasShape.vue";
|
|
42
|
-
import
|
|
42
|
+
import SVGAndCanvas from "./components/SVGAndCanvas.vue";
|
|
43
43
|
import SVGCheck from "./components/svg/SVGCheck.vue";
|
|
44
44
|
import SVGDelete from "./components/svg/SVGDelete.vue";
|
|
45
45
|
import SVGCleanUp from "./components/svg/SVGCleanUp.vue";
|
|
@@ -54,4 +54,4 @@ import Loading7 from "./components/loading/Loading7.vue";
|
|
|
54
54
|
import Loading8 from "./components/loading/Loading8.vue";
|
|
55
55
|
import Loading9 from "./components/loading/Loading9.vue";
|
|
56
56
|
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, TweenCSS, HandWritePanel, ProgressBar, PageVerticalScrollProgressBar, Video, Input, Accordion, CanvasSport, CanvasShape,
|
|
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, TweenCSS, HandWritePanel, ProgressBar, PageVerticalScrollProgressBar, Video, Input, Accordion, CanvasSport, CanvasShape, SVGAndCanvas, Image, ImageView, MouseOver, SVGDown };
|