@zyzgroup/core-vue 0.0.17 → 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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zyzgroup/core-vue",
3
3
  "private": false,
4
- "version": "0.0.17",
4
+ "version": "0.0.18",
5
5
  "sideEffects": false,
6
6
  "type": "module",
7
7
  "main": "dist/zyzgroup_core_vue.umd.cjs",
@@ -20,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
20
20
  borderRadius: string;
21
21
  stylePattern: string;
22
22
  }>, {
23
- wrapper: import("vue").Ref<HTMLElement | undefined>;
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
- wrapper: import("vue").Ref<HTMLElement | undefined>;
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,12 +1,10 @@
1
- import { DOMEventBus, Canvas } from "@zyzgroup/core-web";
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, {
@@ -1,12 +1,10 @@
1
- import { DOMEventBus, Canvas } from "@zyzgroup/core-web";
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, {
@@ -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
- initIndexs?: number | undefined;
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
- initIndexs?: number | undefined;
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
- initIndexs?: number | undefined;
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
- initIndexs?: number | undefined;
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
- initIndexs?: number | undefined;
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
- initIndexs?: number | undefined;
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,2 +1,35 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
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
+ }, {}>;
2
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
+ };
@@ -1,2 +1,35 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
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
+ }, {}>;
2
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,9 +36,6 @@ 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 TweenCSS from "./components/TweenCSS.vue";
40
- import CanvasSport from "./components/CanvasSport.vue";
41
- import CanvasShape from "./components/CanvasShape.vue";
42
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";
@@ -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, TweenCSS, HandWritePanel, ProgressBar, PageVerticalScrollProgressBar, Video, Input, Accordion, CanvasSport, CanvasShape, SVGAndCanvas, Image, ImageView, MouseOver, SVGDown };
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 };