@cicctencent/low-code-editor 0.0.0-stage → 1.1.9-beta.5
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/README.md +2 -2
- package/api-extractor.json +36 -0
- package/dist/ActivityBar/index.vue.d.ts +29 -0
- package/dist/ComponentTree/components/List.vue.d.ts +29 -0
- package/dist/ComponentTree/index.vue.d.ts +32 -0
- package/dist/DataSource/index.vue.d.ts +34 -0
- package/dist/HeaderBar/components/BarTooltip.vue.d.ts +37 -0
- package/dist/HeaderBar/index.vue.d.ts +49 -0
- package/dist/NavTree/index.vue.d.ts +48 -0
- package/dist/SchemaConfig/index.vue.d.ts +36 -0
- package/dist/SidebarPane/index.vue.d.ts +38 -0
- package/dist/components/ComponentTreeFavorites/components/List.vue.d.ts +41 -0
- package/dist/components/ComponentTreeFavorites/components/Tips.vue.d.ts +16 -0
- package/dist/components/ComponentTreeFavorites/index.vue.d.ts +44 -0
- package/dist/components/ImageGuide/index.vue.d.ts +45 -0
- package/dist/components.d.ts +7 -0
- package/dist/composables/useComponentTree.d.ts +13 -0
- package/dist/config/ace.config.d.ts +3 -0
- package/dist/domain/EditorDomain.d.ts +89 -0
- package/dist/editor.d.ts +286 -0
- package/dist/editor.vue.d.ts +104 -0
- package/dist/formily/ActivityBar/index.d.ts +4 -0
- package/dist/formily/ComponentTree/index.d.ts +4 -0
- package/dist/formily/DataBinding/index.d.ts +4 -0
- package/dist/formily/DataBinding/index.vue.d.ts +26 -0
- package/dist/formily/DataSource/index.d.ts +4 -0
- package/dist/formily/MenuTable/PageList.vue.d.ts +28 -0
- package/dist/formily/MenuTable/index.d.ts +4 -0
- package/dist/formily/MenuTable/index.vue.d.ts +30 -0
- package/dist/formily/MenuTable/useMenuTable.d.ts +227 -0
- package/dist/formily/NavTree/index.d.ts +4 -0
- package/dist/formily/SidebarPane/index.d.ts +4 -0
- package/dist/formily/index.d.ts +2 -0
- package/dist/index.css +1167 -0
- package/dist/index.d.ts +250 -0
- package/dist/index.js +34171 -0
- package/dist/utils/base64.d.ts +4 -0
- package/dist/utils/index.d.ts +27 -0
- package/package.json +58 -4
- package/rollup.config.js +3 -0
- package/src/ActivityBar/index.vue +71 -0
- package/src/ComponentTree/components/List.vue +310 -0
- package/src/ComponentTree/index.vue +77 -0
- package/src/DataSource/index.vue +640 -0
- package/src/HeaderBar/components/BarDialog.vue +43 -0
- package/src/HeaderBar/components/BarTooltip.vue +33 -0
- package/src/HeaderBar/index.vue +513 -0
- package/src/NavTree/index.vue +345 -0
- package/src/SchemaConfig/index.vue +150 -0
- package/src/SidebarPane/index.vue +199 -0
- package/src/SynBarComponent/index.vue +31 -0
- package/src/assets/font/NotoSansSC.ttf +0 -0
- package/src/assets/img/header/edit.png +0 -0
- package/src/assets/img/header/link.png +0 -0
- package/src/assets/img/header/link.svg +9 -0
- package/src/assets/img/header/preview.png +0 -0
- package/src/assets/img/header/preview.svg +9 -0
- package/src/assets/img/header/redo.svg +1 -0
- package/src/assets/img/header/undo.svg +1 -0
- package/src/assets/img/tool/all-select.svg +9 -0
- package/src/assets/img/tool/all.svg +9 -0
- package/src/assets/img/tool/collect.svg +6 -0
- package/src/assets/img/tool/collection-select.svg +3 -0
- package/src/assets/img/tool/collection-tag.svg +5 -0
- package/src/assets/img/tool/info.svg +4 -0
- package/src/assets/img/tool/union.svg +4 -0
- package/src/components/ComponentTreeFavorites/components/List.vue +452 -0
- package/src/components/ComponentTreeFavorites/components/Tips.vue +108 -0
- package/src/components/ComponentTreeFavorites/index.vue +180 -0
- package/src/components/ImageGuide/index.vue +100 -0
- package/src/components.ts +23 -0
- package/src/composables/useComponentTree.ts +38 -0
- package/src/config/ace.config.ts +22 -0
- package/src/domain/EditorDomain.ts +265 -0
- package/src/editor.ts +645 -0
- package/src/editor.vue +380 -0
- package/src/formily/ActivityBar/index.ts +23 -0
- package/src/formily/ActivityBar/index.vue +121 -0
- package/src/formily/ComponentTree/index.ts +22 -0
- package/src/formily/DataBinding/index.ts +22 -0
- package/src/formily/DataBinding/index.vue +285 -0
- package/src/formily/DataSource/index.ts +22 -0
- package/src/formily/MenuTable/PageList.vue +132 -0
- package/src/formily/MenuTable/index.ts +19 -0
- package/src/formily/MenuTable/index.vue +218 -0
- package/src/formily/MenuTable/useMenuTable.ts +147 -0
- package/src/formily/NavTree/index.ts +20 -0
- package/src/formily/SidebarPane/index.ts +23 -0
- package/src/formily/SidebarPane/index.vue +174 -0
- package/src/formily/index.ts +12 -0
- package/src/index.ts +29 -0
- package/src/typings/vue-shim.d.ts +13 -0
- package/src/utils/base64.ts +5 -0
- package/src/utils/index.ts +57 -0
- package/test/case.ts +67 -0
- package/test/utils/index.test.ts +27 -0
- package/tsconfig.json +8 -0
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
export default function (props: any, emits: any): {
|
|
2
|
+
editModalOptions: {
|
|
3
|
+
title: string;
|
|
4
|
+
visible: boolean;
|
|
5
|
+
hasClose: boolean;
|
|
6
|
+
hasFooter: boolean;
|
|
7
|
+
width: string;
|
|
8
|
+
};
|
|
9
|
+
menuForm: {
|
|
10
|
+
content: "pageId" | "url";
|
|
11
|
+
icon: string;
|
|
12
|
+
name: string;
|
|
13
|
+
pageId?: number;
|
|
14
|
+
url?: string;
|
|
15
|
+
target?: "_blank" | "_self";
|
|
16
|
+
};
|
|
17
|
+
menuFormRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
readonly model: ObjectConstructor;
|
|
19
|
+
readonly rules: import("@jt/jtui/es/utils").BuildPropReturn<import("@jt/jtui/es/utils").PropWrapper<Partial<Record<string, import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemRule>>>>, unknown, unknown, unknown, unknown>;
|
|
20
|
+
readonly labelPosition: StringConstructor;
|
|
21
|
+
readonly labelWidth: import("@jt/jtui/es/utils").BuildPropReturn<readonly [StringConstructor, NumberConstructor], "", unknown, unknown, unknown>;
|
|
22
|
+
readonly labelSuffix: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
23
|
+
readonly inline: BooleanConstructor;
|
|
24
|
+
readonly inlineMessage: BooleanConstructor;
|
|
25
|
+
readonly statusIcon: BooleanConstructor;
|
|
26
|
+
readonly showMessage: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
27
|
+
readonly size: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, unknown, unknown, "" | "small" | "default" | "large", unknown>;
|
|
28
|
+
readonly disabled: BooleanConstructor;
|
|
29
|
+
readonly validateOnRuleChange: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
30
|
+
readonly hideRequiredAsterisk: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, false, unknown, unknown, unknown>;
|
|
31
|
+
readonly scrollToError: BooleanConstructor;
|
|
32
|
+
}>> & {
|
|
33
|
+
onValidate?: (prop: import("@jt/jtui").FormItemProp, isValid: boolean, message: string) => any;
|
|
34
|
+
}, {
|
|
35
|
+
COMPONENT_NAME: string;
|
|
36
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
readonly model: ObjectConstructor;
|
|
38
|
+
readonly rules: import("@jt/jtui/es/utils").BuildPropReturn<import("@jt/jtui/es/utils").PropWrapper<Partial<Record<string, import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemRule>>>>, unknown, unknown, unknown, unknown>;
|
|
39
|
+
readonly labelPosition: StringConstructor;
|
|
40
|
+
readonly labelWidth: import("@jt/jtui/es/utils").BuildPropReturn<readonly [StringConstructor, NumberConstructor], "", unknown, unknown, unknown>;
|
|
41
|
+
readonly labelSuffix: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
42
|
+
readonly inline: BooleanConstructor;
|
|
43
|
+
readonly inlineMessage: BooleanConstructor;
|
|
44
|
+
readonly statusIcon: BooleanConstructor;
|
|
45
|
+
readonly showMessage: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
46
|
+
readonly size: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, unknown, unknown, "" | "small" | "default" | "large", unknown>;
|
|
47
|
+
readonly disabled: BooleanConstructor;
|
|
48
|
+
readonly validateOnRuleChange: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
49
|
+
readonly hideRequiredAsterisk: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, false, unknown, unknown, unknown>;
|
|
50
|
+
readonly scrollToError: BooleanConstructor;
|
|
51
|
+
}>> & {
|
|
52
|
+
onValidate?: (prop: import("@jt/jtui").FormItemProp, isValid: boolean, message: string) => any;
|
|
53
|
+
}>>;
|
|
54
|
+
emit: (event: "validate", prop: import("@jt/jtui").FormItemProp, isValid: boolean, message: string) => void;
|
|
55
|
+
fields: import("@jt/jtui").FormItemContext[];
|
|
56
|
+
formSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
57
|
+
ns: {
|
|
58
|
+
namespace: import("vue").ComputedRef<string>;
|
|
59
|
+
b: (blockSuffix?: string) => string;
|
|
60
|
+
e: (element?: string) => string;
|
|
61
|
+
m: (modifier?: string) => string;
|
|
62
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
63
|
+
em: (element?: string, modifier?: string) => string;
|
|
64
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
65
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
66
|
+
is: {
|
|
67
|
+
(name: string, state: boolean): string;
|
|
68
|
+
(name: string): string;
|
|
69
|
+
};
|
|
70
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
71
|
+
cssVarName: (name: string) => string;
|
|
72
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
73
|
+
cssVarBlockName: (name: string) => string;
|
|
74
|
+
};
|
|
75
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
76
|
+
[x: string]: string | boolean;
|
|
77
|
+
})[]>;
|
|
78
|
+
addField: (field: import("@jt/jtui").FormItemContext) => void;
|
|
79
|
+
removeField: (field: import("@jt/jtui").FormItemContext) => void;
|
|
80
|
+
resetFields: (props?: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>) => void;
|
|
81
|
+
clearValidate: (props?: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>) => void;
|
|
82
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
83
|
+
obtainValidateFields: (props: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>) => import("@jt/jtui").FormItemContext[];
|
|
84
|
+
validate: (callback?: import("@jt/jtui").FormValidateCallback) => import("@jt/jtui").FormValidationResult;
|
|
85
|
+
doValidateField: (props?: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>) => Promise<boolean>;
|
|
86
|
+
validateField: (props?: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>, callback?: import("@jt/jtui").FormValidateCallback) => import("@jt/jtui").FormValidationResult;
|
|
87
|
+
scrollToField: (prop: import("@jt/jtui").FormItemProp) => void;
|
|
88
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
89
|
+
validate: (prop: import("@jt/jtui").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
90
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
91
|
+
readonly model: ObjectConstructor;
|
|
92
|
+
readonly rules: import("@jt/jtui/es/utils").BuildPropReturn<import("@jt/jtui/es/utils").PropWrapper<Partial<Record<string, import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemRule>>>>, unknown, unknown, unknown, unknown>;
|
|
93
|
+
readonly labelPosition: StringConstructor;
|
|
94
|
+
readonly labelWidth: import("@jt/jtui/es/utils").BuildPropReturn<readonly [StringConstructor, NumberConstructor], "", unknown, unknown, unknown>;
|
|
95
|
+
readonly labelSuffix: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
96
|
+
readonly inline: BooleanConstructor;
|
|
97
|
+
readonly inlineMessage: BooleanConstructor;
|
|
98
|
+
readonly statusIcon: BooleanConstructor;
|
|
99
|
+
readonly showMessage: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
100
|
+
readonly size: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, unknown, unknown, "" | "small" | "default" | "large", unknown>;
|
|
101
|
+
readonly disabled: BooleanConstructor;
|
|
102
|
+
readonly validateOnRuleChange: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
103
|
+
readonly hideRequiredAsterisk: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, false, unknown, unknown, unknown>;
|
|
104
|
+
readonly scrollToError: BooleanConstructor;
|
|
105
|
+
}>> & {
|
|
106
|
+
onValidate?: (prop: import("@jt/jtui").FormItemProp, isValid: boolean, message: string) => any;
|
|
107
|
+
}, {
|
|
108
|
+
readonly size: import("@jt/jtui/es/utils").BuildPropType<StringConstructor, "" | "small" | "default" | "large", unknown>;
|
|
109
|
+
readonly disabled: boolean;
|
|
110
|
+
readonly rules: Partial<Record<string, import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemRule>>>;
|
|
111
|
+
readonly labelWidth: import("@jt/jtui/es/utils").BuildPropType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
112
|
+
readonly labelSuffix: string;
|
|
113
|
+
readonly showMessage: import("@jt/jtui/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
114
|
+
readonly validateOnRuleChange: import("@jt/jtui/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
115
|
+
readonly hideRequiredAsterisk: import("@jt/jtui/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
116
|
+
readonly inline: boolean;
|
|
117
|
+
readonly inlineMessage: boolean;
|
|
118
|
+
readonly statusIcon: boolean;
|
|
119
|
+
readonly scrollToError: boolean;
|
|
120
|
+
}, true, {}, {}, {
|
|
121
|
+
P: {};
|
|
122
|
+
B: {};
|
|
123
|
+
D: {};
|
|
124
|
+
C: {};
|
|
125
|
+
M: {};
|
|
126
|
+
Defaults: {};
|
|
127
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
128
|
+
readonly model: ObjectConstructor;
|
|
129
|
+
readonly rules: import("@jt/jtui/es/utils").BuildPropReturn<import("@jt/jtui/es/utils").PropWrapper<Partial<Record<string, import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemRule>>>>, unknown, unknown, unknown, unknown>;
|
|
130
|
+
readonly labelPosition: StringConstructor;
|
|
131
|
+
readonly labelWidth: import("@jt/jtui/es/utils").BuildPropReturn<readonly [StringConstructor, NumberConstructor], "", unknown, unknown, unknown>;
|
|
132
|
+
readonly labelSuffix: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
133
|
+
readonly inline: BooleanConstructor;
|
|
134
|
+
readonly inlineMessage: BooleanConstructor;
|
|
135
|
+
readonly statusIcon: BooleanConstructor;
|
|
136
|
+
readonly showMessage: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
137
|
+
readonly size: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, unknown, unknown, "" | "small" | "default" | "large", unknown>;
|
|
138
|
+
readonly disabled: BooleanConstructor;
|
|
139
|
+
readonly validateOnRuleChange: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
140
|
+
readonly hideRequiredAsterisk: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, false, unknown, unknown, unknown>;
|
|
141
|
+
readonly scrollToError: BooleanConstructor;
|
|
142
|
+
}>> & {
|
|
143
|
+
onValidate?: (prop: import("@jt/jtui").FormItemProp, isValid: boolean, message: string) => any;
|
|
144
|
+
}, {
|
|
145
|
+
COMPONENT_NAME: string;
|
|
146
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
147
|
+
readonly model: ObjectConstructor;
|
|
148
|
+
readonly rules: import("@jt/jtui/es/utils").BuildPropReturn<import("@jt/jtui/es/utils").PropWrapper<Partial<Record<string, import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemRule>>>>, unknown, unknown, unknown, unknown>;
|
|
149
|
+
readonly labelPosition: StringConstructor;
|
|
150
|
+
readonly labelWidth: import("@jt/jtui/es/utils").BuildPropReturn<readonly [StringConstructor, NumberConstructor], "", unknown, unknown, unknown>;
|
|
151
|
+
readonly labelSuffix: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
152
|
+
readonly inline: BooleanConstructor;
|
|
153
|
+
readonly inlineMessage: BooleanConstructor;
|
|
154
|
+
readonly statusIcon: BooleanConstructor;
|
|
155
|
+
readonly showMessage: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
156
|
+
readonly size: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, unknown, unknown, "" | "small" | "default" | "large", unknown>;
|
|
157
|
+
readonly disabled: BooleanConstructor;
|
|
158
|
+
readonly validateOnRuleChange: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
159
|
+
readonly hideRequiredAsterisk: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, false, unknown, unknown, unknown>;
|
|
160
|
+
readonly scrollToError: BooleanConstructor;
|
|
161
|
+
}>> & {
|
|
162
|
+
onValidate?: (prop: import("@jt/jtui").FormItemProp, isValid: boolean, message: string) => any;
|
|
163
|
+
}>>;
|
|
164
|
+
emit: (event: "validate", prop: import("@jt/jtui").FormItemProp, isValid: boolean, message: string) => void;
|
|
165
|
+
fields: import("@jt/jtui").FormItemContext[];
|
|
166
|
+
formSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
167
|
+
ns: {
|
|
168
|
+
namespace: import("vue").ComputedRef<string>;
|
|
169
|
+
b: (blockSuffix?: string) => string;
|
|
170
|
+
e: (element?: string) => string;
|
|
171
|
+
m: (modifier?: string) => string;
|
|
172
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
173
|
+
em: (element?: string, modifier?: string) => string;
|
|
174
|
+
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
175
|
+
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
176
|
+
is: {
|
|
177
|
+
(name: string, state: boolean): string;
|
|
178
|
+
(name: string): string;
|
|
179
|
+
};
|
|
180
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
181
|
+
cssVarName: (name: string) => string;
|
|
182
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
183
|
+
cssVarBlockName: (name: string) => string;
|
|
184
|
+
};
|
|
185
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
186
|
+
[x: string]: string | boolean;
|
|
187
|
+
})[]>;
|
|
188
|
+
addField: (field: import("@jt/jtui").FormItemContext) => void;
|
|
189
|
+
removeField: (field: import("@jt/jtui").FormItemContext) => void;
|
|
190
|
+
resetFields: (props?: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>) => void;
|
|
191
|
+
clearValidate: (props?: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>) => void;
|
|
192
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
193
|
+
obtainValidateFields: (props: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>) => import("@jt/jtui").FormItemContext[];
|
|
194
|
+
validate: (callback?: import("@jt/jtui").FormValidateCallback) => import("@jt/jtui").FormValidationResult;
|
|
195
|
+
doValidateField: (props?: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>) => Promise<boolean>;
|
|
196
|
+
validateField: (props?: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>, callback?: import("@jt/jtui").FormValidateCallback) => import("@jt/jtui").FormValidationResult;
|
|
197
|
+
scrollToField: (prop: import("@jt/jtui").FormItemProp) => void;
|
|
198
|
+
}, {}, {}, {}, {
|
|
199
|
+
readonly size: import("@jt/jtui/es/utils").BuildPropType<StringConstructor, "" | "small" | "default" | "large", unknown>;
|
|
200
|
+
readonly disabled: boolean;
|
|
201
|
+
readonly rules: Partial<Record<string, import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemRule>>>;
|
|
202
|
+
readonly labelWidth: import("@jt/jtui/es/utils").BuildPropType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
203
|
+
readonly labelSuffix: string;
|
|
204
|
+
readonly showMessage: import("@jt/jtui/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
205
|
+
readonly validateOnRuleChange: import("@jt/jtui/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
206
|
+
readonly hideRequiredAsterisk: import("@jt/jtui/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
207
|
+
readonly inline: boolean;
|
|
208
|
+
readonly inlineMessage: boolean;
|
|
209
|
+
readonly statusIcon: boolean;
|
|
210
|
+
readonly scrollToError: boolean;
|
|
211
|
+
}>>;
|
|
212
|
+
menuTree: import("vue").Ref<{
|
|
213
|
+
children: any[];
|
|
214
|
+
icon: string;
|
|
215
|
+
name: string;
|
|
216
|
+
pageId?: number;
|
|
217
|
+
url?: string;
|
|
218
|
+
target?: "_blank" | "_self";
|
|
219
|
+
}[]>;
|
|
220
|
+
pageNameMap: import("vue").ComputedRef<any>;
|
|
221
|
+
confirm: () => void;
|
|
222
|
+
cancel: () => void;
|
|
223
|
+
addPeer: (index: any, row: any) => void;
|
|
224
|
+
addSubordinate: (index: any, row: any) => void;
|
|
225
|
+
handleEdit: (index: any, row: any) => void;
|
|
226
|
+
handleDelete: (index: any, row: any) => void;
|
|
227
|
+
};
|