@zyui/components 0.0.107 → 0.0.109
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/es/index.js +61 -61
- package/es/index.mjs +12297 -12254
- package/es/src/components/FormFlow/hooks/useFlowProps.d.ts +4 -0
- package/es/src/components/NodesEditor/PagesizeWrap/index.vue.d.ts +9 -0
- package/es/src/components/NodesEditor/index.vue.d.ts +9 -0
- package/es/style.css +1 -1
- package/lib/src/components/FormFlow/hooks/useFlowProps.d.ts +4 -0
- package/lib/src/components/NodesEditor/PagesizeWrap/index.vue.d.ts +9 -0
- package/lib/src/components/NodesEditor/index.vue.d.ts +9 -0
- package/package.json +1 -1
|
@@ -6,6 +6,10 @@ type FlowPropsContext = {
|
|
|
6
6
|
mode: string;
|
|
7
7
|
/** 自定义label不触发双击事件,所以自己传一个事件调用emit */
|
|
8
8
|
handleEdgeDblClick: (edge: Edge) => void;
|
|
9
|
+
/** 自定义节点默认数据 */
|
|
10
|
+
getNodeDefaultData?: (node: any) => Record<string, any>;
|
|
11
|
+
/** 自定义边默认数据 */
|
|
12
|
+
getEdgeDefaultData?: (edge: any) => Record<string, any>;
|
|
9
13
|
};
|
|
10
14
|
export declare function provideFlowProps(params: any): FlowPropsContext;
|
|
11
15
|
export declare function useFlowProps(): FlowPropsContext;
|
|
@@ -10,6 +10,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
|
+
style: {
|
|
14
|
+
type: ObjectConstructor;
|
|
15
|
+
default: () => {};
|
|
16
|
+
};
|
|
13
17
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
18
|
pagesize: {
|
|
15
19
|
type: StringConstructor;
|
|
@@ -19,7 +23,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
19
23
|
type: StringConstructor;
|
|
20
24
|
default: string;
|
|
21
25
|
};
|
|
26
|
+
style: {
|
|
27
|
+
type: ObjectConstructor;
|
|
28
|
+
default: () => {};
|
|
29
|
+
};
|
|
22
30
|
}>> & Readonly<{}>, {
|
|
31
|
+
style: Record<string, any>;
|
|
23
32
|
pagesize: string;
|
|
24
33
|
orientation: string;
|
|
25
34
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -55,6 +55,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
55
55
|
type: StringConstructor;
|
|
56
56
|
default: string;
|
|
57
57
|
};
|
|
58
|
+
pagesizeStyle: {
|
|
59
|
+
type: ObjectConstructor;
|
|
60
|
+
default: () => {};
|
|
61
|
+
};
|
|
58
62
|
}>, {
|
|
59
63
|
formRef: {
|
|
60
64
|
validate: () => any;
|
|
@@ -115,6 +119,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
115
119
|
type: StringConstructor;
|
|
116
120
|
default: string;
|
|
117
121
|
};
|
|
122
|
+
pagesizeStyle: {
|
|
123
|
+
type: ObjectConstructor;
|
|
124
|
+
default: () => {};
|
|
125
|
+
};
|
|
118
126
|
}>> & Readonly<{
|
|
119
127
|
onOnSelectedNodes?: ((...args: any[]) => any) | undefined;
|
|
120
128
|
onOnUiReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -133,6 +141,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
133
141
|
headerHtml: string;
|
|
134
142
|
footerHtml: string;
|
|
135
143
|
orientation: string;
|
|
144
|
+
pagesizeStyle: Record<string, any>;
|
|
136
145
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
137
146
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
138
147
|
export default _default;
|