@touchvue/plugin 1.0.0-beta.1 → 1.0.0-beta.11
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/components/echarts-bar/index.d.ts +7 -0
- package/components/echarts-bar/src/echarts-bar.d.ts +222 -0
- package/components/echarts-bar/src/echarts-bar.vue.d.ts +334 -0
- package/components/echarts-bar/src/instance.d.ts +3 -0
- package/components/echarts-map/index.d.ts +7 -0
- package/components/echarts-map/src/echarts-map.d.ts +226 -0
- package/components/echarts-map/src/echarts-map.vue.d.ts +471 -0
- package/components/echarts-map/src/instance.d.ts +3 -0
- package/components/echarts-pie/index.d.ts +7 -0
- package/components/echarts-pie/src/echarts-pie.d.ts +99 -0
- package/components/echarts-pie/src/echarts-pie.vue.d.ts +194 -0
- package/components/echarts-pie/src/instance.d.ts +3 -0
- package/components/echarts-radar/index.d.ts +7 -0
- package/components/echarts-radar/src/echarts-radar.d.ts +221 -0
- package/components/echarts-radar/src/echarts-radar.vue.d.ts +294 -0
- package/components/echarts-radar/src/instance.d.ts +1 -0
- package/components/editor/index.d.ts +8 -0
- package/components/editor/src/editor.d.ts +99 -0
- package/components/editor/src/editor.vue.d.ts +163 -0
- package/components/editor/src/instance.d.ts +3 -0
- package/components/editor/src/plugins.d.ts +2 -0
- package/components/editor/src/toolbar.d.ts +2 -0
- package/components/step-tree/index.d.ts +8 -0
- package/components/step-tree/src/instance.d.ts +3 -0
- package/components/step-tree/src/step-tree-item.vue.d.ts +56 -0
- package/components/step-tree/src/step-tree.d.ts +78 -0
- package/components/step-tree/src/step-tree.vue.d.ts +38 -0
- package/components/watermark/index.d.ts +8 -0
- package/components/watermark/src/instance.d.ts +3 -0
- package/components/watermark/src/watermark.d.ts +34 -0
- package/components/watermark/src/watermark.vue.d.ts +69 -0
- package/index.cjs +12 -0
- package/index.d.ts +19 -0
- package/index.mjs +30848 -0
- package/package.json +15 -4
- package/style/style.css +1 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 步骤树数据项接口
|
|
5
|
+
*/
|
|
6
|
+
export interface StepTreeData {
|
|
7
|
+
/** 标签文本 */
|
|
8
|
+
label?: string;
|
|
9
|
+
/** 状态:current-当前步骤, finished-已完成 */
|
|
10
|
+
state?: 'current' | 'finished' | string;
|
|
11
|
+
/** 子节点 */
|
|
12
|
+
children?: StepTreeData[];
|
|
13
|
+
/** 当前步骤索引(内部使用) */
|
|
14
|
+
current?: number;
|
|
15
|
+
/** 层级(内部使用) */
|
|
16
|
+
level?: number;
|
|
17
|
+
/** 相对行索引(内部使用) */
|
|
18
|
+
rowIndex?: number;
|
|
19
|
+
/** 其他自定义属性 */
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* 步骤树根数据接口
|
|
24
|
+
*/
|
|
25
|
+
export interface StepTreeRootData {
|
|
26
|
+
/** 子节点 */
|
|
27
|
+
children?: StepTreeData[];
|
|
28
|
+
/** 当前步骤索引 */
|
|
29
|
+
current?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* 步骤树组件属性
|
|
33
|
+
*/
|
|
34
|
+
export interface StepTreeProps {
|
|
35
|
+
/** 步骤树数据 */
|
|
36
|
+
data?: StepTreeRootData;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* 步骤树组件 Props 定义
|
|
40
|
+
*/
|
|
41
|
+
export declare const stepTreeProps: {
|
|
42
|
+
/** 步骤树数据 */
|
|
43
|
+
data: {
|
|
44
|
+
type: PropType<StepTreeRootData>;
|
|
45
|
+
default: () => {};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* 步骤树项组件属性
|
|
50
|
+
*/
|
|
51
|
+
export interface StepTreeItemProps {
|
|
52
|
+
/** 当前步骤索引 */
|
|
53
|
+
current?: number;
|
|
54
|
+
/** 节点索引 */
|
|
55
|
+
index?: number;
|
|
56
|
+
/** 节点数据 */
|
|
57
|
+
data?: StepTreeData;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* 步骤树项组件 Props 定义
|
|
61
|
+
*/
|
|
62
|
+
export declare const stepTreeItemProps: {
|
|
63
|
+
/** 当前步骤索引 */
|
|
64
|
+
current: {
|
|
65
|
+
type: NumberConstructor;
|
|
66
|
+
default: number;
|
|
67
|
+
};
|
|
68
|
+
/** 节点索引 */
|
|
69
|
+
index: {
|
|
70
|
+
type: NumberConstructor;
|
|
71
|
+
default: number;
|
|
72
|
+
};
|
|
73
|
+
/** 节点数据 */
|
|
74
|
+
data: {
|
|
75
|
+
type: PropType<StepTreeData>;
|
|
76
|
+
default: () => {};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { StepTreeRootData } from 'index';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {
|
|
5
|
+
item: any;
|
|
6
|
+
current: any;
|
|
7
|
+
index: any;
|
|
8
|
+
}): any;
|
|
9
|
+
arrow?(_: {
|
|
10
|
+
item: any;
|
|
11
|
+
}): any;
|
|
12
|
+
arrowTop?(_: {
|
|
13
|
+
item: any;
|
|
14
|
+
}): any;
|
|
15
|
+
arrowBottom?(_: {
|
|
16
|
+
item: any;
|
|
17
|
+
}): any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
20
|
+
data: {
|
|
21
|
+
type: PropType<StepTreeRootData>;
|
|
22
|
+
default: () => {};
|
|
23
|
+
};
|
|
24
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
25
|
+
data: {
|
|
26
|
+
type: PropType<StepTreeRootData>;
|
|
27
|
+
default: () => {};
|
|
28
|
+
};
|
|
29
|
+
}>> & Readonly<{}>, {
|
|
30
|
+
data: StepTreeRootData;
|
|
31
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as Watermark } from './src/watermark.vue';
|
|
2
|
+
import { SFCWithInstall } from '../../../utils/index.ts';
|
|
3
|
+
|
|
4
|
+
export declare const ToWatermark: SFCWithInstall<typeof Watermark>;
|
|
5
|
+
export default ToWatermark;
|
|
6
|
+
export * from './src/instance';
|
|
7
|
+
export * from './src/watermark';
|
|
8
|
+
export type { WatermarkInstance } from './src/instance';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface WatermarkProps {
|
|
2
|
+
space?: string | number;
|
|
3
|
+
col?: string | number;
|
|
4
|
+
row?: string | number;
|
|
5
|
+
rotate?: string | number;
|
|
6
|
+
zIndex?: string | number;
|
|
7
|
+
opacity?: string | number;
|
|
8
|
+
}
|
|
9
|
+
export declare const watermarkProps: {
|
|
10
|
+
space: {
|
|
11
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
col: {
|
|
15
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
row: {
|
|
19
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
rotate: {
|
|
23
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
zIndex: {
|
|
27
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
opacity: {
|
|
31
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
space: {
|
|
7
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
col: {
|
|
11
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
row: {
|
|
15
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
rotate: {
|
|
19
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
zIndex: {
|
|
23
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
opacity: {
|
|
27
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
31
|
+
space: {
|
|
32
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
col: {
|
|
36
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
37
|
+
default: number;
|
|
38
|
+
};
|
|
39
|
+
row: {
|
|
40
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
|
+
rotate: {
|
|
44
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
zIndex: {
|
|
48
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
51
|
+
opacity: {
|
|
52
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
}>> & Readonly<{}>, {
|
|
56
|
+
col: string | number;
|
|
57
|
+
zIndex: string | number;
|
|
58
|
+
space: string | number;
|
|
59
|
+
row: string | number;
|
|
60
|
+
opacity: string | number;
|
|
61
|
+
rotate: string | number;
|
|
62
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
63
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
64
|
+
export default _default;
|
|
65
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$slots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|