@whcecw/maotu 0.0.28
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/LICENSE +165 -0
- package/README.md +72 -0
- package/dist/favicon.svg +34 -0
- package/dist/imgs/change-attr.png +0 -0
- package/dist/imgs/edit-load.png +0 -0
- package/dist/imgs/edit.png +0 -0
- package/dist/imgs/event-callback.png +0 -0
- package/dist/imgs/set-node-attr.gif +0 -0
- package/dist/maotu.es.js +39711 -0
- package/dist/maotu.umd.js +1168 -0
- package/dist/src/components/custom-components/card-vue/index.vue.d.ts +32 -0
- package/dist/src/components/custom-components/jijia-vue/index.vue.d.ts +50 -0
- package/dist/src/components/custom-components/kv-vue/index.vue.d.ts +86 -0
- package/dist/src/components/custom-components/now-time-vue/index.vue.d.ts +41 -0
- package/dist/src/components/custom-components/panche-vue/index.vue.d.ts +59 -0
- package/dist/src/components/custom-components/recttext-vue/index.vue.d.ts +77 -0
- package/dist/src/components/custom-components/rotor-vue/index.vue.d.ts +50 -0
- package/dist/src/components/custom-components/sys-button-vue/index.vue.d.ts +35 -0
- package/dist/src/components/custom-components/text-vue/index.vue.d.ts +50 -0
- package/dist/src/components/custom-components/topcover-vue/index.vue.d.ts +59 -0
- package/dist/src/components/mt-dzr/components/render-item.vue.d.ts +9 -0
- package/dist/src/components/mt-dzr/components/resize-handle.vue.d.ts +49 -0
- package/dist/src/components/mt-dzr/components/rotate-handle.vue.d.ts +34 -0
- package/dist/src/components/mt-dzr/composables/mouse.d.ts +0 -0
- package/dist/src/components/mt-dzr/index.d.ts +3 -0
- package/dist/src/components/mt-dzr/index.vue.d.ts +123 -0
- package/dist/src/components/mt-dzr/store/index.d.ts +3 -0
- package/dist/src/components/mt-dzr/store/types.d.ts +13 -0
- package/dist/src/components/mt-dzr/types.d.ts +31 -0
- package/dist/src/components/mt-dzr/utils/index.d.ts +84 -0
- package/dist/src/components/mt-dzr/utils/types.d.ts +1 -0
- package/dist/src/components/mt-edit/ace-edit.d.ts +1 -0
- package/dist/src/components/mt-edit/components/canvas-ruler/index.vue.d.ts +37 -0
- package/dist/src/components/mt-edit/components/context-menu/index.vue.d.ts +29 -0
- package/dist/src/components/mt-edit/components/custom-svg-render/index.vue.d.ts +2 -0
- package/dist/src/components/mt-edit/components/done-tree/index.vue.d.ts +31 -0
- package/dist/src/components/mt-edit/components/drag-canvas/index.vue.d.ts +40 -0
- package/dist/src/components/mt-edit/components/draw-line-render/index.vue.d.ts +44 -0
- package/dist/src/components/mt-edit/components/export-json/index.vue.d.ts +26 -0
- package/dist/src/components/mt-edit/components/group-render/index.vue.d.ts +27 -0
- package/dist/src/components/mt-edit/components/import-json/index.vue.d.ts +4 -0
- package/dist/src/components/mt-edit/components/layout/header-panel/index.vue.d.ts +92 -0
- package/dist/src/components/mt-edit/components/layout/left-aside/index.vue.d.ts +30 -0
- package/dist/src/components/mt-edit/components/layout/main-panel/index.vue.d.ts +39 -0
- package/dist/src/components/mt-edit/components/layout/right-aside/index.vue.d.ts +11 -0
- package/dist/src/components/mt-edit/components/layout/right-aside/json-edit.vue.d.ts +18 -0
- package/dist/src/components/mt-edit/components/layout/right-aside/page-setting.vue.d.ts +31 -0
- package/dist/src/components/mt-edit/components/layout/right-aside/select-item-animate-setting/common-animate.vue.d.ts +18 -0
- package/dist/src/components/mt-edit/components/layout/right-aside/select-item-animate-setting/index.vue.d.ts +28 -0
- package/dist/src/components/mt-edit/components/layout/right-aside/select-item-event-setting/index.vue.d.ts +35 -0
- package/dist/src/components/mt-edit/components/layout/right-aside/select-item-event-setting/input-target-value.vue.d.ts +28 -0
- package/dist/src/components/mt-edit/components/layout/right-aside/select-item-props-setting.vue.d.ts +24 -0
- package/dist/src/components/mt-edit/components/layout/right-aside/select-item-setting.vue.d.ts +31 -0
- package/dist/src/components/mt-edit/components/line-render/index.vue.d.ts +44 -0
- package/dist/src/components/mt-edit/components/pattern-grid/index.vue.d.ts +32 -0
- package/dist/src/components/mt-edit/components/render-core/index.vue.d.ts +78 -0
- package/dist/src/components/mt-edit/components/render-core/types.d.ts +9 -0
- package/dist/src/components/mt-edit/components/render-item/index.vue.d.ts +47 -0
- package/dist/src/components/mt-edit/components/selected-area/index.vue.d.ts +40 -0
- package/dist/src/components/mt-edit/components/selected-area/types.d.ts +6 -0
- package/dist/src/components/mt-edit/components/svg-analysis/index.vue.d.ts +22 -0
- package/dist/src/components/mt-edit/components/svg-render/index.vue.d.ts +28 -0
- package/dist/src/components/mt-edit/components/types.d.ts +13 -0
- package/dist/src/components/mt-edit/composables/index.d.ts +11 -0
- package/dist/src/components/mt-edit/composables/sys-line.d.ts +18 -0
- package/dist/src/components/mt-edit/composables/thumbnail.d.ts +1 -0
- package/dist/src/components/mt-edit/index.d.ts +3 -0
- package/dist/src/components/mt-edit/index.vue.d.ts +65 -0
- package/dist/src/components/mt-edit/store/cache.d.ts +3 -0
- package/dist/src/components/mt-edit/store/config.d.ts +3 -0
- package/dist/src/components/mt-edit/store/context-menu.d.ts +3 -0
- package/dist/src/components/mt-edit/store/global.d.ts +3 -0
- package/dist/src/components/mt-edit/store/left-aside.d.ts +3 -0
- package/dist/src/components/mt-edit/store/types.d.ts +238 -0
- package/dist/src/components/mt-edit/utils/index.d.ts +206 -0
- package/dist/src/components/mt-preview/index.d.ts +3 -0
- package/dist/src/components/mt-preview/index.vue.d.ts +51 -0
- package/dist/src/export.d.ts +6 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/router/index.d.ts +11 -0
- package/dist/style.css +7 -0
- package/dist/svgs/demo.svg +21 -0
- package/dist/svgs/my-button.svg +1 -0
- package/dist/svgs/my-input.svg +5 -0
- package/dist/svgs/pie-charts.svg +1 -0
- package/dist/svgs/rotor.svg +4 -0
- package/dist/svgs/rotor1.svg +10 -0
- package/package.json +71 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
shadow: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
backGroundColor: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
boxShadow: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
+
shadow: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
backGroundColor: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
boxShadow: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
28
|
+
shadow: string;
|
|
29
|
+
backGroundColor: string;
|
|
30
|
+
boxShadow: string;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
text: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
textColor: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
circleColor: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
fontSize: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
borderWidth: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
text: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
textColor: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
circleColor: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
fontSize: {
|
|
36
|
+
type: NumberConstructor;
|
|
37
|
+
default: number;
|
|
38
|
+
};
|
|
39
|
+
borderWidth: {
|
|
40
|
+
type: NumberConstructor;
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
|
+
}>> & Readonly<{}>, {
|
|
44
|
+
text: string;
|
|
45
|
+
fontSize: number;
|
|
46
|
+
borderWidth: number;
|
|
47
|
+
textColor: string;
|
|
48
|
+
circleColor: string;
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
export default _default;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
fontFamily: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
fontSize: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
label: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
labelWidth: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
value: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
valueWidth: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
color: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
border: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
borderColor: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
39
|
+
fontFamily: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
fontSize: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
label: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
labelWidth: {
|
|
52
|
+
type: NumberConstructor;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
value: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
valueWidth: {
|
|
60
|
+
type: NumberConstructor;
|
|
61
|
+
default: number;
|
|
62
|
+
};
|
|
63
|
+
color: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
border: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
borderColor: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
}>> & Readonly<{}>, {
|
|
76
|
+
value: string;
|
|
77
|
+
label: string;
|
|
78
|
+
color: string;
|
|
79
|
+
border: boolean;
|
|
80
|
+
fontFamily: string;
|
|
81
|
+
fontSize: number;
|
|
82
|
+
labelWidth: number;
|
|
83
|
+
valueWidth: number;
|
|
84
|
+
borderColor: string;
|
|
85
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
86
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
fontColor: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
dateSize: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
weekSize: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
timeSize: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
fontColor: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
dateSize: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
weekSize: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
timeSize: {
|
|
32
|
+
type: NumberConstructor;
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{}>, {
|
|
36
|
+
fontColor: string;
|
|
37
|
+
dateSize: number;
|
|
38
|
+
weekSize: number;
|
|
39
|
+
timeSize: number;
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
text: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
textColor: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
circleColor: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
fontSize: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
borderWidth: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
borderStyle: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
+
text: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
textColor: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
circleColor: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
fontSize: {
|
|
40
|
+
type: NumberConstructor;
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
|
+
borderWidth: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
borderStyle: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
}>> & Readonly<{}>, {
|
|
52
|
+
text: string;
|
|
53
|
+
borderStyle: string;
|
|
54
|
+
fontSize: number;
|
|
55
|
+
borderWidth: number;
|
|
56
|
+
textColor: string;
|
|
57
|
+
circleColor: string;
|
|
58
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
59
|
+
export default _default;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
text: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
backgroundColor: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
borderColor: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
borderWidth: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
borderStyle: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
textColor: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
fontSize: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
borderRadius: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
35
|
+
text: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
backgroundColor: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
borderColor: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
borderWidth: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
51
|
+
borderStyle: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
textColor: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
fontSize: {
|
|
60
|
+
type: NumberConstructor;
|
|
61
|
+
default: number;
|
|
62
|
+
};
|
|
63
|
+
borderRadius: {
|
|
64
|
+
type: NumberConstructor;
|
|
65
|
+
default: number;
|
|
66
|
+
};
|
|
67
|
+
}>> & Readonly<{}>, {
|
|
68
|
+
text: string;
|
|
69
|
+
borderStyle: string;
|
|
70
|
+
fontSize: number;
|
|
71
|
+
borderColor: string;
|
|
72
|
+
backgroundColor: string;
|
|
73
|
+
borderWidth: number;
|
|
74
|
+
textColor: string;
|
|
75
|
+
borderRadius: number;
|
|
76
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
77
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
text: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
textColor: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
circleColor: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
fontSize: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
borderWidth: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
text: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
textColor: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
circleColor: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
fontSize: {
|
|
36
|
+
type: NumberConstructor;
|
|
37
|
+
default: number;
|
|
38
|
+
};
|
|
39
|
+
borderWidth: {
|
|
40
|
+
type: NumberConstructor;
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
|
+
}>> & Readonly<{}>, {
|
|
44
|
+
text: string;
|
|
45
|
+
fontSize: number;
|
|
46
|
+
borderWidth: number;
|
|
47
|
+
textColor: string;
|
|
48
|
+
circleColor: string;
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
type ButtonType = '' | 'default' | 'success' | 'warning' | 'info' | 'primary' | 'danger';
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
text: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
type: {
|
|
10
|
+
type: PropType<ButtonType>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
round: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
+
text: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
type: {
|
|
23
|
+
type: PropType<ButtonType>;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
round: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}>> & Readonly<{}>, {
|
|
31
|
+
type: ButtonType;
|
|
32
|
+
text: string;
|
|
33
|
+
round: boolean;
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
fontFamily: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
fontSize: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
text: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
fill: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
vertical: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
fontFamily: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
fontSize: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
text: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
fill: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
vertical: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
}>> & Readonly<{}>, {
|
|
44
|
+
fill: string;
|
|
45
|
+
text: string;
|
|
46
|
+
vertical: boolean;
|
|
47
|
+
fontFamily: string;
|
|
48
|
+
fontSize: number;
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
export default _default;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
text: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
textColor: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
circleColor: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
fontSize: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
borderWidth: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
borderStyle: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
+
text: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
textColor: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
circleColor: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
fontSize: {
|
|
40
|
+
type: NumberConstructor;
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
|
+
borderWidth: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
borderStyle: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
}>> & Readonly<{}>, {
|
|
52
|
+
text: string;
|
|
53
|
+
borderStyle: string;
|
|
54
|
+
fontSize: number;
|
|
55
|
+
borderWidth: number;
|
|
56
|
+
textColor: string;
|
|
57
|
+
circleColor: string;
|
|
58
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
59
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { IDzrPropsModelValue } from '../types';
|
|
2
|
+
|
|
3
|
+
type ResizeProps = {
|
|
4
|
+
itemInfo: IDzrPropsModelValue;
|
|
5
|
+
targetDom: HTMLElement | null;
|
|
6
|
+
scaleRatio: number;
|
|
7
|
+
gridAlignSize: number;
|
|
8
|
+
genId: string;
|
|
9
|
+
useProportionalScaling?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ResizeProps>, {
|
|
12
|
+
scaleRatio: number;
|
|
13
|
+
gridAlignSize: number;
|
|
14
|
+
useProportionalScaling: boolean;
|
|
15
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:itemInfo": (...args: any[]) => void;
|
|
17
|
+
onResizeDone: (...args: any[]) => void;
|
|
18
|
+
onResizeMove: (...args: any[]) => void;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ResizeProps>, {
|
|
20
|
+
scaleRatio: number;
|
|
21
|
+
gridAlignSize: number;
|
|
22
|
+
useProportionalScaling: boolean;
|
|
23
|
+
}>>> & Readonly<{
|
|
24
|
+
"onUpdate:itemInfo"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
onOnResizeDone?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
onOnResizeMove?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
scaleRatio: number;
|
|
29
|
+
gridAlignSize: number;
|
|
30
|
+
useProportionalScaling: boolean;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
35
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
+
} : {
|
|
38
|
+
type: import('vue').PropType<T[K]>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
type __VLS_WithDefaults<P, D> = {
|
|
43
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
44
|
+
default: D[K];
|
|
45
|
+
}> : P[K];
|
|
46
|
+
};
|
|
47
|
+
type __VLS_Prettify<T> = {
|
|
48
|
+
[K in keyof T]: T[K];
|
|
49
|
+
} & {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IDzrPropsModelValue } from '../types';
|
|
2
|
+
|
|
3
|
+
type RotateProps = {
|
|
4
|
+
itemInfo: IDzrPropsModelValue;
|
|
5
|
+
targetDom: HTMLElement | null;
|
|
6
|
+
genId: string;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RotateProps>, {}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"update:itemInfo": (...args: any[]) => void;
|
|
10
|
+
onRotateDone: (...args: any[]) => void;
|
|
11
|
+
onRotateMove: (...args: any[]) => void;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RotateProps>, {}>>> & Readonly<{
|
|
13
|
+
"onUpdate:itemInfo"?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
onOnRotateDone?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
onOnRotateMove?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type __VLS_WithDefaults<P, D> = {
|
|
28
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
+
default: D[K];
|
|
30
|
+
}> : P[K];
|
|
31
|
+
};
|
|
32
|
+
type __VLS_Prettify<T> = {
|
|
33
|
+
[K in keyof T]: T[K];
|
|
34
|
+
} & {};
|
|
File without changes
|