star-horse-lowcode 3.1.10 → 3.1.12
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 +10 -0
- package/dist/assets/index.css +1 -1
- package/dist/components/comp/StarHorseJsonEditor.vue.d.ts +4 -4
- package/dist/components/comp/StarHorseSearchComp.vue.d.ts +20 -4
- package/dist/components/comp/StarHorseSearchForm.vue.d.ts +12 -2
- package/dist/components/comp/StarHorseStaticTable.vue.d.ts +1 -1
- package/dist/components/formcomp/utils/FieldList.vue.d.ts +4 -4
- package/dist/components/system/StarHorseQueryBuilder.vue.d.ts +271 -0
- package/dist/components/types/PageFieldInfo.d.ts +7 -8
- package/dist/components/types/SearchProps.d.ts +2 -3
- package/dist/index.es.js +6 -6
- package/dist/lang/en_US.d.ts +47 -0
- package/dist/lang/zh_CN.d.ts +47 -0
- package/dist/plugins/AblesPlugin.d.ts +1 -1
- package/dist/store/DesignForm.d.ts +75 -75
- package/dist/store/FormDataCache.d.ts +24 -12
- package/dist/store/StoreManager.d.ts +198 -174
- package/dist/types/components/comp/StarHorseJsonEditor.vue.d.ts +4 -4
- package/dist/types/components/comp/StarHorseSearchComp.vue.d.ts +20 -4
- package/dist/types/components/comp/StarHorseSearchForm.vue.d.ts +12 -2
- package/dist/types/components/formcomp/utils/FieldList.vue.d.ts +4 -4
- package/dist/types/components/system/StarHorseQueryBuilder.vue.d.ts +271 -0
- package/dist/types/components/system/StarHorseSvg.vue.d.ts +2 -2
- package/dist/types/components/system/code-editor/TabBar.vue.d.ts +2 -2
- package/dist/types/components/types/PageFieldInfo.d.ts +7 -8
- package/dist/types/components/types/SearchProps.d.ts +2 -3
- package/dist/types/lang/en_US.d.ts +47 -0
- package/dist/types/lang/zh_CN.d.ts +47 -0
- package/dist/types/plugins/AblesPlugin.d.ts +1 -1
- package/dist/types/sample/commonpage/dynamic_form_utils.d.ts +8 -0
- package/dist/types/store/DesignForm.d.ts +75 -75
- package/dist/types/store/FormDataCache.d.ts +24 -12
- package/dist/types/store/StoreManager.d.ts +198 -174
- package/dist/types/utils/preview.d.ts +2 -1
- package/dist/utils/preview.d.ts +2 -1
- package/package.json +13 -13
|
@@ -12,13 +12,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
12
12
|
default: () => string[];
|
|
13
13
|
};
|
|
14
14
|
modelValue: {
|
|
15
|
-
type: PropType<
|
|
15
|
+
type: PropType<any>;
|
|
16
16
|
};
|
|
17
17
|
}>, {
|
|
18
18
|
editor: import("vue").Ref<any, any>;
|
|
19
19
|
setEditorContent: (value: any) => void;
|
|
20
20
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
-
"update:modelValue": (value:
|
|
21
|
+
"update:modelValue": (value: any) => any;
|
|
22
22
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
options: {
|
|
24
24
|
type: PropType<any>;
|
|
@@ -32,10 +32,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
32
32
|
default: () => string[];
|
|
33
33
|
};
|
|
34
34
|
modelValue: {
|
|
35
|
-
type: PropType<
|
|
35
|
+
type: PropType<any>;
|
|
36
36
|
};
|
|
37
37
|
}>> & Readonly<{
|
|
38
|
-
"onUpdate:modelValue"?: (value:
|
|
38
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
39
39
|
}>, {
|
|
40
40
|
currentMode: any;
|
|
41
41
|
modeList: unknown[];
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
import type { SearchFields } from "../../components/types/SearchProps";
|
|
3
|
+
import type { SearchParams } from "../../components/types/Params";
|
|
1
4
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
5
|
dialogInput: {
|
|
3
6
|
type: BooleanConstructor;
|
|
@@ -11,14 +14,20 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
11
14
|
type: ObjectConstructor;
|
|
12
15
|
};
|
|
13
16
|
formData: {
|
|
14
|
-
type:
|
|
17
|
+
type: PropType<SearchFields>;
|
|
15
18
|
required: true;
|
|
16
19
|
};
|
|
17
20
|
defaultCondition: {
|
|
18
|
-
type:
|
|
21
|
+
type: PropType<SearchParams[]>;
|
|
22
|
+
};
|
|
23
|
+
/** 是否展示「高级查询」入口,默认开启 */
|
|
24
|
+
showAdvanced: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
19
27
|
};
|
|
20
28
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
29
|
searchData: (...args: any[]) => void;
|
|
30
|
+
searchOrderBy: (...args: any[]) => void;
|
|
22
31
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
32
|
dialogInput: {
|
|
24
33
|
type: BooleanConstructor;
|
|
@@ -32,17 +41,24 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
32
41
|
type: ObjectConstructor;
|
|
33
42
|
};
|
|
34
43
|
formData: {
|
|
35
|
-
type:
|
|
44
|
+
type: PropType<SearchFields>;
|
|
36
45
|
required: true;
|
|
37
46
|
};
|
|
38
47
|
defaultCondition: {
|
|
39
|
-
type:
|
|
48
|
+
type: PropType<SearchParams[]>;
|
|
49
|
+
};
|
|
50
|
+
/** 是否展示「高级查询」入口,默认开启 */
|
|
51
|
+
showAdvanced: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
40
54
|
};
|
|
41
55
|
}>> & Readonly<{
|
|
42
56
|
onSearchData?: (...args: any[]) => any;
|
|
57
|
+
onSearchOrderBy?: (...args: any[]) => any;
|
|
43
58
|
}>, {
|
|
44
59
|
dialogInput: boolean;
|
|
45
60
|
mutComp: boolean;
|
|
61
|
+
showAdvanced: boolean;
|
|
46
62
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
63
|
declare const _default: typeof __VLS_export;
|
|
48
64
|
export default _default;
|
|
@@ -2,11 +2,15 @@ import { SearchParams } from "../../components/types/Params";
|
|
|
2
2
|
import { SearchFields } from "../../components/types/SearchProps";
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
formData: SearchFields;
|
|
5
|
-
defaultCondition
|
|
5
|
+
defaultCondition?: SearchParams[];
|
|
6
6
|
dialogInput: boolean;
|
|
7
7
|
mutComp: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare
|
|
9
|
+
declare var __VLS_115: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
'action-append'?: (props: typeof __VLS_115) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
10
14
|
searchForm: import("vue").Ref<any, any>;
|
|
11
15
|
setData: (data: any) => void;
|
|
12
16
|
createSearchParams: (formData: any) => any[];
|
|
@@ -20,5 +24,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
20
24
|
dialogInput: boolean;
|
|
21
25
|
mutComp: boolean;
|
|
22
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
28
|
declare const _default: typeof __VLS_export;
|
|
24
29
|
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
showContainer
|
|
3
|
-
showFormItems
|
|
4
|
-
showThirdItems
|
|
2
|
+
showContainer?: boolean;
|
|
3
|
+
showFormItems?: boolean;
|
|
4
|
+
showThirdItems?: boolean;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
selectData: (...args: any[]) => void;
|
|
@@ -11,6 +11,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
11
11
|
showContainer: boolean;
|
|
12
12
|
showFormItems: boolean;
|
|
13
13
|
showThirdItems: boolean;
|
|
14
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
export default _default;
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
import { SelectOption } from "../types/SearchProps";
|
|
3
|
+
declare var __VLS_73: {
|
|
4
|
+
item: any;
|
|
5
|
+
valueKey: string;
|
|
6
|
+
prop: any;
|
|
7
|
+
condition: any;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
}, __VLS_153: {
|
|
10
|
+
item: any;
|
|
11
|
+
valueKey: string;
|
|
12
|
+
prop: any;
|
|
13
|
+
condition: any;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
'value-input'?: (props: typeof __VLS_73) => any;
|
|
18
|
+
} & {
|
|
19
|
+
'value-input'?: (props: typeof __VLS_153) => any;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
22
|
+
/** Property name options for dropdown (SelectOption[] or string[]) */
|
|
23
|
+
properties: {
|
|
24
|
+
type: PropType<SelectOption[] | string[]>;
|
|
25
|
+
default: () => any[];
|
|
26
|
+
};
|
|
27
|
+
/** Alias options for table alias dropdown (e.g., [{name:'t', value:'t'}]) */
|
|
28
|
+
aliasOptions: {
|
|
29
|
+
type: PropType<SelectOption[] | string[]>;
|
|
30
|
+
default: () => any[];
|
|
31
|
+
};
|
|
32
|
+
/** Max nesting depth (default 3) */
|
|
33
|
+
maxDepth: {
|
|
34
|
+
type: NumberConstructor;
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
/** Current depth (used internally for recursion) */
|
|
38
|
+
depth: {
|
|
39
|
+
type: NumberConstructor;
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
/** Whether component is disabled */
|
|
43
|
+
disabled: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
/** Max height before scrollbar appears (CSS value, e.g. '400px', '50vh') */
|
|
48
|
+
maxHeight: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
/** Placeholder text for property name */
|
|
53
|
+
propertyPlaceholder: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
/** Output key name for property field */
|
|
58
|
+
propertyName: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
/** Output key name for value field */
|
|
63
|
+
valueName: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
/** Output key name for condition field */
|
|
68
|
+
conditionName: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
/** Output key name for OR sub-list */
|
|
73
|
+
orConditionName: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
/** Output key name for alias field */
|
|
78
|
+
aliasName: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
/** Hide the alias column entirely (for single-table scenarios where alias is not part of the output format) */
|
|
83
|
+
hideAlias: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
/** Which tabs to show: 'all' or array of 'conditions','sort','aggregate' */
|
|
88
|
+
tabs: {
|
|
89
|
+
type: PropType<"all" | ("conditions" | "sort" | "aggregate")[]>;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
/** Output key name for sort field */
|
|
93
|
+
sortName: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
/** Output key name for aggregate field */
|
|
98
|
+
aggName: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
/** Sort items (use with v-model:sort-value or :sort-value) */
|
|
103
|
+
sortValue: {
|
|
104
|
+
type: PropType<any[]>;
|
|
105
|
+
default: any;
|
|
106
|
+
};
|
|
107
|
+
/** Aggregate items (use with v-model:agg-value or :agg-value) */
|
|
108
|
+
aggValue: {
|
|
109
|
+
type: PropType<any[]>;
|
|
110
|
+
default: any;
|
|
111
|
+
};
|
|
112
|
+
/** GroupBy items (part of aggregate query) */
|
|
113
|
+
groupByValue: {
|
|
114
|
+
type: PropType<any[]>;
|
|
115
|
+
default: any;
|
|
116
|
+
};
|
|
117
|
+
/** Having items (part of aggregate query) */
|
|
118
|
+
havingValue: {
|
|
119
|
+
type: PropType<any[]>;
|
|
120
|
+
default: any;
|
|
121
|
+
};
|
|
122
|
+
modelValue: {
|
|
123
|
+
type: PropType<any[]>;
|
|
124
|
+
};
|
|
125
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
126
|
+
"update:modelValue": (value: any[]) => any;
|
|
127
|
+
} & {
|
|
128
|
+
"update:sortValue": (val: any[]) => any;
|
|
129
|
+
"update:aggValue": (val: any[]) => any;
|
|
130
|
+
"update:groupByValue": (val: any[]) => any;
|
|
131
|
+
"update:havingValue": (val: any[]) => any;
|
|
132
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
133
|
+
/** Property name options for dropdown (SelectOption[] or string[]) */
|
|
134
|
+
properties: {
|
|
135
|
+
type: PropType<SelectOption[] | string[]>;
|
|
136
|
+
default: () => any[];
|
|
137
|
+
};
|
|
138
|
+
/** Alias options for table alias dropdown (e.g., [{name:'t', value:'t'}]) */
|
|
139
|
+
aliasOptions: {
|
|
140
|
+
type: PropType<SelectOption[] | string[]>;
|
|
141
|
+
default: () => any[];
|
|
142
|
+
};
|
|
143
|
+
/** Max nesting depth (default 3) */
|
|
144
|
+
maxDepth: {
|
|
145
|
+
type: NumberConstructor;
|
|
146
|
+
default: number;
|
|
147
|
+
};
|
|
148
|
+
/** Current depth (used internally for recursion) */
|
|
149
|
+
depth: {
|
|
150
|
+
type: NumberConstructor;
|
|
151
|
+
default: number;
|
|
152
|
+
};
|
|
153
|
+
/** Whether component is disabled */
|
|
154
|
+
disabled: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
/** Max height before scrollbar appears (CSS value, e.g. '400px', '50vh') */
|
|
159
|
+
maxHeight: {
|
|
160
|
+
type: StringConstructor;
|
|
161
|
+
default: string;
|
|
162
|
+
};
|
|
163
|
+
/** Placeholder text for property name */
|
|
164
|
+
propertyPlaceholder: {
|
|
165
|
+
type: StringConstructor;
|
|
166
|
+
default: string;
|
|
167
|
+
};
|
|
168
|
+
/** Output key name for property field */
|
|
169
|
+
propertyName: {
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
default: string;
|
|
172
|
+
};
|
|
173
|
+
/** Output key name for value field */
|
|
174
|
+
valueName: {
|
|
175
|
+
type: StringConstructor;
|
|
176
|
+
default: string;
|
|
177
|
+
};
|
|
178
|
+
/** Output key name for condition field */
|
|
179
|
+
conditionName: {
|
|
180
|
+
type: StringConstructor;
|
|
181
|
+
default: string;
|
|
182
|
+
};
|
|
183
|
+
/** Output key name for OR sub-list */
|
|
184
|
+
orConditionName: {
|
|
185
|
+
type: StringConstructor;
|
|
186
|
+
default: string;
|
|
187
|
+
};
|
|
188
|
+
/** Output key name for alias field */
|
|
189
|
+
aliasName: {
|
|
190
|
+
type: StringConstructor;
|
|
191
|
+
default: string;
|
|
192
|
+
};
|
|
193
|
+
/** Hide the alias column entirely (for single-table scenarios where alias is not part of the output format) */
|
|
194
|
+
hideAlias: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: boolean;
|
|
197
|
+
};
|
|
198
|
+
/** Which tabs to show: 'all' or array of 'conditions','sort','aggregate' */
|
|
199
|
+
tabs: {
|
|
200
|
+
type: PropType<"all" | ("conditions" | "sort" | "aggregate")[]>;
|
|
201
|
+
default: string;
|
|
202
|
+
};
|
|
203
|
+
/** Output key name for sort field */
|
|
204
|
+
sortName: {
|
|
205
|
+
type: StringConstructor;
|
|
206
|
+
default: string;
|
|
207
|
+
};
|
|
208
|
+
/** Output key name for aggregate field */
|
|
209
|
+
aggName: {
|
|
210
|
+
type: StringConstructor;
|
|
211
|
+
default: string;
|
|
212
|
+
};
|
|
213
|
+
/** Sort items (use with v-model:sort-value or :sort-value) */
|
|
214
|
+
sortValue: {
|
|
215
|
+
type: PropType<any[]>;
|
|
216
|
+
default: any;
|
|
217
|
+
};
|
|
218
|
+
/** Aggregate items (use with v-model:agg-value or :agg-value) */
|
|
219
|
+
aggValue: {
|
|
220
|
+
type: PropType<any[]>;
|
|
221
|
+
default: any;
|
|
222
|
+
};
|
|
223
|
+
/** GroupBy items (part of aggregate query) */
|
|
224
|
+
groupByValue: {
|
|
225
|
+
type: PropType<any[]>;
|
|
226
|
+
default: any;
|
|
227
|
+
};
|
|
228
|
+
/** Having items (part of aggregate query) */
|
|
229
|
+
havingValue: {
|
|
230
|
+
type: PropType<any[]>;
|
|
231
|
+
default: any;
|
|
232
|
+
};
|
|
233
|
+
modelValue: {
|
|
234
|
+
type: PropType<any[]>;
|
|
235
|
+
};
|
|
236
|
+
}>> & Readonly<{
|
|
237
|
+
"onUpdate:modelValue"?: (value: any[]) => any;
|
|
238
|
+
"onUpdate:sortValue"?: (val: any[]) => any;
|
|
239
|
+
"onUpdate:aggValue"?: (val: any[]) => any;
|
|
240
|
+
"onUpdate:groupByValue"?: (val: any[]) => any;
|
|
241
|
+
"onUpdate:havingValue"?: (val: any[]) => any;
|
|
242
|
+
}>, {
|
|
243
|
+
disabled: boolean;
|
|
244
|
+
propertyName: string;
|
|
245
|
+
aliasName: string;
|
|
246
|
+
valueName: string;
|
|
247
|
+
properties: SelectOption[] | string[];
|
|
248
|
+
aliasOptions: SelectOption[] | string[];
|
|
249
|
+
maxDepth: number;
|
|
250
|
+
depth: number;
|
|
251
|
+
maxHeight: string;
|
|
252
|
+
propertyPlaceholder: string;
|
|
253
|
+
conditionName: string;
|
|
254
|
+
orConditionName: string;
|
|
255
|
+
hideAlias: boolean;
|
|
256
|
+
tabs: "all" | ("conditions" | "sort" | "aggregate")[];
|
|
257
|
+
sortName: string;
|
|
258
|
+
aggName: string;
|
|
259
|
+
sortValue: any[];
|
|
260
|
+
aggValue: any[];
|
|
261
|
+
groupByValue: any[];
|
|
262
|
+
havingValue: any[];
|
|
263
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
264
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
265
|
+
declare const _default: typeof __VLS_export;
|
|
266
|
+
export default _default;
|
|
267
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
268
|
+
new (): {
|
|
269
|
+
$slots: S;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
@@ -99,10 +99,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
99
99
|
data: any;
|
|
100
100
|
title: string;
|
|
101
101
|
size: string;
|
|
102
|
+
height: number;
|
|
103
|
+
width: number;
|
|
102
104
|
color: string;
|
|
103
105
|
cursor: string;
|
|
104
|
-
width: number;
|
|
105
|
-
height: number;
|
|
106
106
|
borderOffset: number;
|
|
107
107
|
backgroundColor: string;
|
|
108
108
|
borderColor: string;
|
|
@@ -4,11 +4,11 @@ type __VLS_Props = {
|
|
|
4
4
|
activeId: string;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
close: (id: string) => any;
|
|
8
7
|
switch: (id: string) => any;
|
|
8
|
+
close: (id: string) => any;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
onClose?: (id: string) => any;
|
|
11
10
|
onSwitch?: (id: string) => any;
|
|
11
|
+
onClose?: (id: string) => any;
|
|
12
12
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
export default _default;
|
|
@@ -2,7 +2,6 @@ import { ApiUrls } from "../../components/types/ApiUrls";
|
|
|
2
2
|
import { SearchParams } from "../../components/types/Params";
|
|
3
3
|
import { RuleType } from "../../components/types/RuleType";
|
|
4
4
|
import { SearchFields } from "../../components/types/SearchProps";
|
|
5
|
-
import { Ref } from "vue";
|
|
6
5
|
/**
|
|
7
6
|
* Tab 表单数据
|
|
8
7
|
*/
|
|
@@ -126,23 +125,23 @@ export declare interface FieldInfo {
|
|
|
126
125
|
/**
|
|
127
126
|
* 是否必须项
|
|
128
127
|
*/
|
|
129
|
-
required?: boolean
|
|
128
|
+
required?: boolean;
|
|
130
129
|
/**
|
|
131
130
|
* 表单是否显示该属性
|
|
132
131
|
*/
|
|
133
|
-
formVisible?: boolean
|
|
132
|
+
formVisible?: boolean;
|
|
134
133
|
/**
|
|
135
134
|
* 列表是否显示该属性
|
|
136
135
|
*/
|
|
137
|
-
listVisible?: boolean
|
|
136
|
+
listVisible?: boolean;
|
|
138
137
|
/**
|
|
139
138
|
* 查看页面是否显示该属性
|
|
140
139
|
*/
|
|
141
|
-
viewVisible?: boolean
|
|
140
|
+
viewVisible?: boolean;
|
|
142
141
|
/**
|
|
143
142
|
* app端是否可见
|
|
144
143
|
*/
|
|
145
|
-
visiblePlatform?: string
|
|
144
|
+
visiblePlatform?: string;
|
|
146
145
|
/**
|
|
147
146
|
* 列表所在列最小宽度
|
|
148
147
|
*/
|
|
@@ -150,11 +149,11 @@ export declare interface FieldInfo {
|
|
|
150
149
|
/**
|
|
151
150
|
* 是否禁用,true 禁用 false 非禁用
|
|
152
151
|
*/
|
|
153
|
-
disabled?: boolean
|
|
152
|
+
disabled?: boolean;
|
|
154
153
|
/**
|
|
155
154
|
* 编辑时禁用,true 禁用 false 非禁用
|
|
156
155
|
*/
|
|
157
|
-
editDisabled?: boolean
|
|
156
|
+
editDisabled?: boolean;
|
|
158
157
|
/**
|
|
159
158
|
* Tab容器数据
|
|
160
159
|
*/
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { CompParams } from "../../components/types/PageFieldInfo";
|
|
2
|
-
import { Ref } from "vue";
|
|
3
2
|
export type SelectOption = {
|
|
4
3
|
name?: string;
|
|
5
4
|
value?: string | number;
|
|
6
5
|
disabled?: string;
|
|
7
6
|
helpMsg?: string;
|
|
8
|
-
children?: SelectOption[]
|
|
7
|
+
children?: SelectOption[];
|
|
9
8
|
};
|
|
10
9
|
/**
|
|
11
10
|
* 查询组件的属性
|
|
@@ -36,7 +35,7 @@ export type SearchProps = {
|
|
|
36
35
|
/**
|
|
37
36
|
* 废弃,请根据具体业务在preps 中添加 values 或者data
|
|
38
37
|
*/
|
|
39
|
-
optionList?: SelectOption[]
|
|
38
|
+
optionList?: SelectOption[];
|
|
40
39
|
};
|
|
41
40
|
/**
|
|
42
41
|
* 查询属性
|
|
@@ -100,6 +100,9 @@ declare const _default: {
|
|
|
100
100
|
"search.collapse": string;
|
|
101
101
|
"search.query": string;
|
|
102
102
|
"search.reset": string;
|
|
103
|
+
"search.advancedQuery": string;
|
|
104
|
+
"search.simple": string;
|
|
105
|
+
"search.cancel": string;
|
|
103
106
|
/**
|
|
104
107
|
* Table--------------
|
|
105
108
|
*/
|
|
@@ -522,6 +525,9 @@ declare const _default: {
|
|
|
522
525
|
"comp.undefinedFunction": string;
|
|
523
526
|
"comp.dataLoadingException": string;
|
|
524
527
|
"comp.dataLoading": string;
|
|
528
|
+
"commonPage.dataLoading": string;
|
|
529
|
+
"commonPage.dataLoadError": string;
|
|
530
|
+
"commonPage.dataTypeMismatch": string;
|
|
525
531
|
/**
|
|
526
532
|
* Star Horse Utils Messages
|
|
527
533
|
*/
|
|
@@ -1068,5 +1074,46 @@ declare const _default: {
|
|
|
1068
1074
|
"ide.menu.view.diffEditor": string;
|
|
1069
1075
|
"ide.menu.file.resolveConflict": string;
|
|
1070
1076
|
"ide.diff.noConflict": string;
|
|
1077
|
+
"queryBuilder.logic.and": string;
|
|
1078
|
+
"queryBuilder.logic.or": string;
|
|
1079
|
+
"queryBuilder.logic.all": string;
|
|
1080
|
+
"queryBuilder.logic.any": string;
|
|
1081
|
+
"queryBuilder.logic.switch": string;
|
|
1082
|
+
"queryBuilder.col.property": string;
|
|
1083
|
+
"queryBuilder.col.condition": string;
|
|
1084
|
+
"queryBuilder.col.value": string;
|
|
1085
|
+
"queryBuilder.placeholder.property": string;
|
|
1086
|
+
"queryBuilder.placeholder.condition": string;
|
|
1087
|
+
"queryBuilder.placeholder.value": string;
|
|
1088
|
+
"queryBuilder.placeholder.min": string;
|
|
1089
|
+
"queryBuilder.placeholder.max": string;
|
|
1090
|
+
"queryBuilder.placeholder.multi": string;
|
|
1091
|
+
"queryBuilder.action.addCondition": string;
|
|
1092
|
+
"queryBuilder.action.addGroup": string;
|
|
1093
|
+
"queryBuilder.action.addOr": string;
|
|
1094
|
+
"queryBuilder.action.addSort": string;
|
|
1095
|
+
"queryBuilder.action.addAggregate": string;
|
|
1096
|
+
"queryBuilder.action.removeGroup": string;
|
|
1097
|
+
"queryBuilder.tab.conditions": string;
|
|
1098
|
+
"queryBuilder.tab.sort": string;
|
|
1099
|
+
"queryBuilder.tab.aggregate": string;
|
|
1100
|
+
"queryBuilder.sort.field": string;
|
|
1101
|
+
"queryBuilder.sort.direction": string;
|
|
1102
|
+
"queryBuilder.sort.asc": string;
|
|
1103
|
+
"queryBuilder.sort.desc": string;
|
|
1104
|
+
"queryBuilder.sort.selectField": string;
|
|
1105
|
+
"queryBuilder.agg.field": string;
|
|
1106
|
+
"queryBuilder.agg.function": string;
|
|
1107
|
+
"queryBuilder.agg.selectField": string;
|
|
1108
|
+
"queryBuilder.agg.selectFunc": string;
|
|
1109
|
+
"queryBuilder.col.alias": string;
|
|
1110
|
+
"queryBuilder.placeholder.alias": string;
|
|
1111
|
+
"queryBuilder.tab.groupBy": string;
|
|
1112
|
+
"queryBuilder.tab.having": string;
|
|
1113
|
+
"queryBuilder.groupBy.field": string;
|
|
1114
|
+
"queryBuilder.groupBy.selectField": string;
|
|
1115
|
+
"queryBuilder.action.addGroupBy": string;
|
|
1116
|
+
"queryBuilder.action.addHaving": string;
|
|
1117
|
+
"queryBuilder.having.hint": string;
|
|
1071
1118
|
};
|
|
1072
1119
|
export default _default;
|
|
@@ -100,6 +100,9 @@ declare const _default: {
|
|
|
100
100
|
"search.collapse": string;
|
|
101
101
|
"search.query": string;
|
|
102
102
|
"search.reset": string;
|
|
103
|
+
"search.advancedQuery": string;
|
|
104
|
+
"search.simple": string;
|
|
105
|
+
"search.cancel": string;
|
|
103
106
|
/**
|
|
104
107
|
* 表格--------------
|
|
105
108
|
*/
|
|
@@ -523,6 +526,9 @@ declare const _default: {
|
|
|
523
526
|
"comp.undefinedFunction": string;
|
|
524
527
|
"comp.dataLoadingException": string;
|
|
525
528
|
"comp.dataLoading": string;
|
|
529
|
+
"commonPage.dataLoading": string;
|
|
530
|
+
"commonPage.dataLoadError": string;
|
|
531
|
+
"commonPage.dataTypeMismatch": string;
|
|
526
532
|
/**
|
|
527
533
|
* Star Horse Utils Messages
|
|
528
534
|
*/
|
|
@@ -1086,5 +1092,46 @@ declare const _default: {
|
|
|
1086
1092
|
"ide.menu.view.diffEditor": string;
|
|
1087
1093
|
"ide.menu.file.resolveConflict": string;
|
|
1088
1094
|
"ide.diff.noConflict": string;
|
|
1095
|
+
"queryBuilder.logic.and": string;
|
|
1096
|
+
"queryBuilder.logic.or": string;
|
|
1097
|
+
"queryBuilder.logic.all": string;
|
|
1098
|
+
"queryBuilder.logic.any": string;
|
|
1099
|
+
"queryBuilder.logic.switch": string;
|
|
1100
|
+
"queryBuilder.col.property": string;
|
|
1101
|
+
"queryBuilder.col.condition": string;
|
|
1102
|
+
"queryBuilder.col.value": string;
|
|
1103
|
+
"queryBuilder.placeholder.property": string;
|
|
1104
|
+
"queryBuilder.placeholder.condition": string;
|
|
1105
|
+
"queryBuilder.placeholder.value": string;
|
|
1106
|
+
"queryBuilder.placeholder.min": string;
|
|
1107
|
+
"queryBuilder.placeholder.max": string;
|
|
1108
|
+
"queryBuilder.placeholder.multi": string;
|
|
1109
|
+
"queryBuilder.action.addCondition": string;
|
|
1110
|
+
"queryBuilder.action.addGroup": string;
|
|
1111
|
+
"queryBuilder.action.addOr": string;
|
|
1112
|
+
"queryBuilder.action.addSort": string;
|
|
1113
|
+
"queryBuilder.action.addAggregate": string;
|
|
1114
|
+
"queryBuilder.action.removeGroup": string;
|
|
1115
|
+
"queryBuilder.tab.conditions": string;
|
|
1116
|
+
"queryBuilder.tab.sort": string;
|
|
1117
|
+
"queryBuilder.tab.aggregate": string;
|
|
1118
|
+
"queryBuilder.sort.field": string;
|
|
1119
|
+
"queryBuilder.sort.direction": string;
|
|
1120
|
+
"queryBuilder.sort.asc": string;
|
|
1121
|
+
"queryBuilder.sort.desc": string;
|
|
1122
|
+
"queryBuilder.sort.selectField": string;
|
|
1123
|
+
"queryBuilder.agg.field": string;
|
|
1124
|
+
"queryBuilder.agg.function": string;
|
|
1125
|
+
"queryBuilder.agg.selectField": string;
|
|
1126
|
+
"queryBuilder.agg.selectFunc": string;
|
|
1127
|
+
"queryBuilder.col.alias": string;
|
|
1128
|
+
"queryBuilder.placeholder.alias": string;
|
|
1129
|
+
"queryBuilder.tab.groupBy": string;
|
|
1130
|
+
"queryBuilder.tab.having": string;
|
|
1131
|
+
"queryBuilder.groupBy.field": string;
|
|
1132
|
+
"queryBuilder.groupBy.selectField": string;
|
|
1133
|
+
"queryBuilder.action.addGroupBy": string;
|
|
1134
|
+
"queryBuilder.action.addHaving": string;
|
|
1135
|
+
"queryBuilder.having.hint": string;
|
|
1089
1136
|
};
|
|
1090
1137
|
export default _default;
|
|
@@ -4,6 +4,10 @@ export interface FormDataProp {
|
|
|
4
4
|
* 主键
|
|
5
5
|
*/
|
|
6
6
|
primaryKey: string;
|
|
7
|
+
/**
|
|
8
|
+
* 绑定流程ID
|
|
9
|
+
*/
|
|
10
|
+
bindWorkFlowId: string;
|
|
7
11
|
/**
|
|
8
12
|
* 表单验证规则
|
|
9
13
|
*/
|
|
@@ -48,6 +52,10 @@ export interface FormDataProp {
|
|
|
48
52
|
* 流程节点
|
|
49
53
|
*/
|
|
50
54
|
processDefineNodes: Array<any>;
|
|
55
|
+
/**
|
|
56
|
+
* 表单信息
|
|
57
|
+
*/
|
|
58
|
+
formInfo: Record<string, any>;
|
|
51
59
|
}
|
|
52
60
|
/**
|
|
53
61
|
* 获取动态表单数据
|