star-horse-lowcode 2.8.73 → 2.8.74
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 +6 -0
- package/dist/assets/index.css +1 -1
- package/dist/index.es.js +8 -8
- package/dist/types/index.d.ts +361 -545
- package/package.json +10 -10
package/dist/types/index.d.ts
CHANGED
|
@@ -39,7 +39,6 @@ import { Ref } from 'vue';
|
|
|
39
39
|
import { RouteLocationNormalized } from 'vue-router';
|
|
40
40
|
import { Router } from 'vue-router';
|
|
41
41
|
import { ShallowRef } from 'vue';
|
|
42
|
-
import { ShallowUnwrapRef } from 'vue';
|
|
43
42
|
import { Slot } from 'vue';
|
|
44
43
|
import { StoreDefinition } from 'pinia';
|
|
45
44
|
import { UseDarkReturn } from '@vueuse/core';
|
|
@@ -47,8 +46,144 @@ import { Validator } from 'vanilla-jsoneditor';
|
|
|
47
46
|
import { VNodeProps } from 'vue';
|
|
48
47
|
import { WatchOptions } from 'vue';
|
|
49
48
|
import { WatchStopHandle } from 'vue';
|
|
49
|
+
import { WritableComputedRef } from 'vue';
|
|
50
50
|
|
|
51
51
|
declare const __VLS_component: DefineComponent<ExtractPropTypes< {
|
|
52
|
+
compUrl: {
|
|
53
|
+
type: PropType<ApiUrls>;
|
|
54
|
+
};
|
|
55
|
+
objectName: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
};
|
|
58
|
+
subFormFlag: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
formSize: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
labelPosition: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
batchName: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
batchFieldName: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
fieldList: {
|
|
79
|
+
type: ObjectConstructor;
|
|
80
|
+
required: true;
|
|
81
|
+
};
|
|
82
|
+
globalCondition: {
|
|
83
|
+
type: ObjectConstructor;
|
|
84
|
+
};
|
|
85
|
+
outerData: {
|
|
86
|
+
type: ObjectConstructor;
|
|
87
|
+
};
|
|
88
|
+
dynamicForm: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
primaryKey: {
|
|
93
|
+
type: PropType<string | any>;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
dataFormat: {
|
|
97
|
+
type: FunctionConstructor;
|
|
98
|
+
default: any;
|
|
99
|
+
};
|
|
100
|
+
useViewUrl: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
slotType: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
}>, {
|
|
109
|
+
setData: (data: any) => void;
|
|
110
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
111
|
+
dataLoaded: (...args: any[]) => void;
|
|
112
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
113
|
+
compUrl: {
|
|
114
|
+
type: PropType<ApiUrls>;
|
|
115
|
+
};
|
|
116
|
+
objectName: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
};
|
|
119
|
+
subFormFlag: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
formSize: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
labelPosition: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
batchName: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
batchFieldName: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
139
|
+
fieldList: {
|
|
140
|
+
type: ObjectConstructor;
|
|
141
|
+
required: true;
|
|
142
|
+
};
|
|
143
|
+
globalCondition: {
|
|
144
|
+
type: ObjectConstructor;
|
|
145
|
+
};
|
|
146
|
+
outerData: {
|
|
147
|
+
type: ObjectConstructor;
|
|
148
|
+
};
|
|
149
|
+
dynamicForm: {
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
153
|
+
primaryKey: {
|
|
154
|
+
type: PropType<string | any>;
|
|
155
|
+
default: string;
|
|
156
|
+
};
|
|
157
|
+
dataFormat: {
|
|
158
|
+
type: FunctionConstructor;
|
|
159
|
+
default: any;
|
|
160
|
+
};
|
|
161
|
+
useViewUrl: {
|
|
162
|
+
type: BooleanConstructor;
|
|
163
|
+
default: boolean;
|
|
164
|
+
};
|
|
165
|
+
slotType: {
|
|
166
|
+
type: StringConstructor;
|
|
167
|
+
default: string;
|
|
168
|
+
};
|
|
169
|
+
}>> & Readonly<{
|
|
170
|
+
onDataLoaded?: (...args: any[]) => any;
|
|
171
|
+
}>, {
|
|
172
|
+
batchName: string;
|
|
173
|
+
primaryKey: any;
|
|
174
|
+
subFormFlag: string;
|
|
175
|
+
labelPosition: string;
|
|
176
|
+
dataFormat: Function;
|
|
177
|
+
batchFieldName: string;
|
|
178
|
+
formSize: string;
|
|
179
|
+
dynamicForm: boolean;
|
|
180
|
+
useViewUrl: boolean;
|
|
181
|
+
slotType: string;
|
|
182
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
183
|
+
starHorseFormRef: unknown;
|
|
184
|
+
}, any>;
|
|
185
|
+
|
|
186
|
+
declare const __VLS_component_2: DefineComponent<ExtractPropTypes< {
|
|
52
187
|
dialogVisible: {
|
|
53
188
|
type: BooleanConstructor;
|
|
54
189
|
default: boolean;
|
|
@@ -259,7 +394,7 @@ userBtn: UserFuncInfo[];
|
|
|
259
394
|
btnTextContinue: string;
|
|
260
395
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
261
396
|
|
|
262
|
-
declare const
|
|
397
|
+
declare const __VLS_component_3: DefineComponent<ExtractPropTypes< {
|
|
263
398
|
msg: {
|
|
264
399
|
type: StringConstructor;
|
|
265
400
|
};
|
|
@@ -330,7 +465,7 @@ contentMenuRef: unknown;
|
|
|
330
465
|
sizeInfoRef: HTMLDivElement;
|
|
331
466
|
}, any>;
|
|
332
467
|
|
|
333
|
-
declare const
|
|
468
|
+
declare const __VLS_component_4: DefineComponent<ExtractPropTypes< {
|
|
334
469
|
menuIcon: {
|
|
335
470
|
type: StringConstructor;
|
|
336
471
|
};
|
|
@@ -369,7 +504,7 @@ iconSize: number;
|
|
|
369
504
|
icons: unknown[];
|
|
370
505
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
371
506
|
|
|
372
|
-
declare const
|
|
507
|
+
declare const __VLS_component_5: DefineComponent<ExtractPropTypes< {
|
|
373
508
|
needScroller: {
|
|
374
509
|
type: BooleanConstructor;
|
|
375
510
|
default: boolean;
|
|
@@ -398,7 +533,7 @@ needScroller: boolean;
|
|
|
398
533
|
shFormRef: unknown;
|
|
399
534
|
}, any>;
|
|
400
535
|
|
|
401
|
-
declare const
|
|
536
|
+
declare const __VLS_component_6: DefineComponent<ExtractPropTypes< {
|
|
402
537
|
menuData: {
|
|
403
538
|
type: PropType<any>;
|
|
404
539
|
default: () => any[];
|
|
@@ -582,29 +717,33 @@ default: string;
|
|
|
582
717
|
onMouseenter?: () => any;
|
|
583
718
|
onShow?: () => any;
|
|
584
719
|
onHide?: () => any;
|
|
585
|
-
}>, "menu" | "visible" | "compKey" | "StarHorseIcon" | "hide" | "buttons" | "subMenu" | "subMenuData" | "menuStyle" | "clickHandler" | "showSubMenu" | "mouseenterHandler" | ("active" | "menuData" | "isSubMenu" | "autoHide")> &
|
|
720
|
+
}>, "menu" | "visible" | "compKey" | "StarHorseIcon" | "hide" | "buttons" | "subMenu" | "subMenuData" | "menuStyle" | "clickHandler" | "showSubMenu" | "mouseenterHandler" | ("active" | "menuData" | "isSubMenu" | "autoHide")> & {
|
|
586
721
|
compKey: typeof compKey;
|
|
587
722
|
StarHorseIcon: typeof StarHorseIcon;
|
|
588
|
-
menu:
|
|
589
|
-
buttons:
|
|
590
|
-
subMenu:
|
|
591
|
-
visible:
|
|
592
|
-
subMenuData:
|
|
593
|
-
menuStyle:
|
|
723
|
+
menu: HTMLDivElement;
|
|
724
|
+
buttons: any[];
|
|
725
|
+
subMenu: any;
|
|
726
|
+
visible: boolean;
|
|
727
|
+
subMenuData: any[];
|
|
728
|
+
menuStyle: {
|
|
729
|
+
top: string;
|
|
730
|
+
left: string;
|
|
731
|
+
zIndex: number;
|
|
732
|
+
};
|
|
594
733
|
hide: typeof hide;
|
|
595
734
|
clickHandler: typeof clickHandler;
|
|
596
735
|
showSubMenu: typeof showSubMenu;
|
|
597
736
|
mouseenterHandler: typeof mouseenterHandler;
|
|
598
|
-
}
|
|
737
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
599
738
|
$slots: {
|
|
600
739
|
title?(_: {}): any;
|
|
601
740
|
};
|
|
602
741
|
};
|
|
603
742
|
}, any>;
|
|
604
743
|
|
|
605
|
-
declare const
|
|
744
|
+
declare const __VLS_component_7: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
606
745
|
|
|
607
|
-
declare const
|
|
746
|
+
declare const __VLS_component_8: DefineComponent<__VLS_Props_47, {
|
|
608
747
|
getConfigInfo: () => any;
|
|
609
748
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
610
749
|
"update:modelValue": (...args: any[]) => void;
|
|
@@ -907,6 +1046,22 @@ declare type __VLS_PublicProps_9 = {
|
|
|
907
1046
|
} & __VLS_Props_9;
|
|
908
1047
|
|
|
909
1048
|
declare function __VLS_template(): {
|
|
1049
|
+
attrs: Partial<{}>;
|
|
1050
|
+
slots: {
|
|
1051
|
+
ext?(_: {
|
|
1052
|
+
dataForm: any;
|
|
1053
|
+
}): any;
|
|
1054
|
+
user?(_: {
|
|
1055
|
+
dataForm: any;
|
|
1056
|
+
}): any;
|
|
1057
|
+
};
|
|
1058
|
+
refs: {
|
|
1059
|
+
starHorseFormRef: unknown;
|
|
1060
|
+
};
|
|
1061
|
+
rootEl: any;
|
|
1062
|
+
};
|
|
1063
|
+
|
|
1064
|
+
declare function __VLS_template_2(): {
|
|
910
1065
|
attrs: Partial<{}>;
|
|
911
1066
|
slots: {
|
|
912
1067
|
header?(_: {}): any;
|
|
@@ -918,7 +1073,7 @@ declare function __VLS_template(): {
|
|
|
918
1073
|
rootEl: any;
|
|
919
1074
|
};
|
|
920
1075
|
|
|
921
|
-
declare function
|
|
1076
|
+
declare function __VLS_template_3(): {
|
|
922
1077
|
attrs: Partial<{}>;
|
|
923
1078
|
slots: {
|
|
924
1079
|
default?(_: {}): any;
|
|
@@ -932,7 +1087,7 @@ declare function __VLS_template_2(): {
|
|
|
932
1087
|
rootEl: any;
|
|
933
1088
|
};
|
|
934
1089
|
|
|
935
|
-
declare function
|
|
1090
|
+
declare function __VLS_template_4(): {
|
|
936
1091
|
attrs: Partial<{}>;
|
|
937
1092
|
slots: {
|
|
938
1093
|
default?(_: {}): any;
|
|
@@ -941,7 +1096,7 @@ declare function __VLS_template_3(): {
|
|
|
941
1096
|
rootEl: any;
|
|
942
1097
|
};
|
|
943
1098
|
|
|
944
|
-
declare function
|
|
1099
|
+
declare function __VLS_template_5(): {
|
|
945
1100
|
attrs: Partial<{}>;
|
|
946
1101
|
slots: {
|
|
947
1102
|
header?(_: {}): any;
|
|
@@ -967,7 +1122,7 @@ declare function __VLS_template_4(): {
|
|
|
967
1122
|
rootEl: any;
|
|
968
1123
|
};
|
|
969
1124
|
|
|
970
|
-
declare function
|
|
1125
|
+
declare function __VLS_template_6(): {
|
|
971
1126
|
attrs: Partial<{}>;
|
|
972
1127
|
slots: {
|
|
973
1128
|
title?(_: {}): any;
|
|
@@ -1093,20 +1248,24 @@ declare function __VLS_template_5(): {
|
|
|
1093
1248
|
onMouseenter?: () => any;
|
|
1094
1249
|
onShow?: () => any;
|
|
1095
1250
|
onHide?: () => any;
|
|
1096
|
-
}>, "menu" | "visible" | "compKey" | "StarHorseIcon" | "hide" | "buttons" | "subMenu" | "subMenuData" | "menuStyle" | "clickHandler" | "showSubMenu" | "mouseenterHandler" | ("active" | "menuData" | "isSubMenu" | "autoHide")> &
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1251
|
+
}>, "menu" | "visible" | "compKey" | "StarHorseIcon" | "hide" | "buttons" | "subMenu" | "subMenuData" | "menuStyle" | "clickHandler" | "showSubMenu" | "mouseenterHandler" | ("active" | "menuData" | "isSubMenu" | "autoHide")> & {
|
|
1252
|
+
compKey: typeof compKey;
|
|
1253
|
+
StarHorseIcon: typeof StarHorseIcon;
|
|
1254
|
+
menu: HTMLDivElement;
|
|
1255
|
+
buttons: any[];
|
|
1256
|
+
subMenu: any;
|
|
1257
|
+
visible: boolean;
|
|
1258
|
+
subMenuData: any[];
|
|
1259
|
+
menuStyle: {
|
|
1260
|
+
top: string;
|
|
1261
|
+
left: string;
|
|
1262
|
+
zIndex: number;
|
|
1263
|
+
};
|
|
1264
|
+
hide: typeof hide;
|
|
1265
|
+
clickHandler: typeof clickHandler;
|
|
1266
|
+
showSubMenu: typeof showSubMenu;
|
|
1267
|
+
mouseenterHandler: typeof mouseenterHandler;
|
|
1268
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1110
1269
|
$slots: {
|
|
1111
1270
|
title?(_: {}): any;
|
|
1112
1271
|
};
|
|
@@ -1115,7 +1274,7 @@ declare function __VLS_template_5(): {
|
|
|
1115
1274
|
rootEl: any;
|
|
1116
1275
|
};
|
|
1117
1276
|
|
|
1118
|
-
declare function
|
|
1277
|
+
declare function __VLS_template_7(): {
|
|
1119
1278
|
attrs: Partial<{}>;
|
|
1120
1279
|
slots: {
|
|
1121
1280
|
default?(_: {}): any;
|
|
@@ -1124,7 +1283,7 @@ declare function __VLS_template_6(): {
|
|
|
1124
1283
|
rootEl: HTMLDivElement;
|
|
1125
1284
|
};
|
|
1126
1285
|
|
|
1127
|
-
declare function
|
|
1286
|
+
declare function __VLS_template_8(): {
|
|
1128
1287
|
attrs: Partial<{}>;
|
|
1129
1288
|
slots: {
|
|
1130
1289
|
header?(_: {
|
|
@@ -1170,6 +1329,8 @@ declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
|
1170
1329
|
|
|
1171
1330
|
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
1172
1331
|
|
|
1332
|
+
declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
|
|
1333
|
+
|
|
1173
1334
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
1174
1335
|
new (): {
|
|
1175
1336
|
$slots: S;
|
|
@@ -1212,6 +1373,22 @@ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
|
1212
1373
|
};
|
|
1213
1374
|
};
|
|
1214
1375
|
|
|
1376
|
+
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
1377
|
+
new (): {
|
|
1378
|
+
$slots: S;
|
|
1379
|
+
};
|
|
1380
|
+
};
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* 所有触发的事件
|
|
1384
|
+
* @param context
|
|
1385
|
+
* @param emits
|
|
1386
|
+
* @param formData
|
|
1387
|
+
* @param actionName
|
|
1388
|
+
* @param isInit
|
|
1389
|
+
*/
|
|
1390
|
+
export declare const allAction: (context: any, emits: any, formData: any, actionName: string, isInit?: boolean) => void;
|
|
1391
|
+
|
|
1215
1392
|
/**
|
|
1216
1393
|
* 解析表单字段信息及层级
|
|
1217
1394
|
*/
|
|
@@ -1582,75 +1759,6 @@ export declare const batchModifyAction: (items: Array<any>, val: any, fieldName:
|
|
|
1582
1759
|
*/
|
|
1583
1760
|
export declare function blobData(url: string, method?: string): Promise<any>;
|
|
1584
1761
|
|
|
1585
|
-
export declare const boxContainer: DefineComponent<ExtractPropTypes< {
|
|
1586
|
-
parentField: {
|
|
1587
|
-
type: PropType<any>;
|
|
1588
|
-
};
|
|
1589
|
-
isDesign: {
|
|
1590
|
-
type: BooleanConstructor;
|
|
1591
|
-
default: boolean;
|
|
1592
|
-
};
|
|
1593
|
-
showFormItem: {
|
|
1594
|
-
type: BooleanConstructor;
|
|
1595
|
-
default: boolean;
|
|
1596
|
-
};
|
|
1597
|
-
disabled: {
|
|
1598
|
-
type: BooleanConstructor;
|
|
1599
|
-
default: boolean;
|
|
1600
|
-
};
|
|
1601
|
-
formInfo: {
|
|
1602
|
-
type: PropType<any>;
|
|
1603
|
-
};
|
|
1604
|
-
field: {
|
|
1605
|
-
type: PropType<any>;
|
|
1606
|
-
};
|
|
1607
|
-
compSize: {
|
|
1608
|
-
type: StringConstructor;
|
|
1609
|
-
default: string;
|
|
1610
|
-
};
|
|
1611
|
-
formData: {
|
|
1612
|
-
type: PropType<any>;
|
|
1613
|
-
};
|
|
1614
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1615
|
-
"update:formData": (value: any) => any;
|
|
1616
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1617
|
-
parentField: {
|
|
1618
|
-
type: PropType<any>;
|
|
1619
|
-
};
|
|
1620
|
-
isDesign: {
|
|
1621
|
-
type: BooleanConstructor;
|
|
1622
|
-
default: boolean;
|
|
1623
|
-
};
|
|
1624
|
-
showFormItem: {
|
|
1625
|
-
type: BooleanConstructor;
|
|
1626
|
-
default: boolean;
|
|
1627
|
-
};
|
|
1628
|
-
disabled: {
|
|
1629
|
-
type: BooleanConstructor;
|
|
1630
|
-
default: boolean;
|
|
1631
|
-
};
|
|
1632
|
-
formInfo: {
|
|
1633
|
-
type: PropType<any>;
|
|
1634
|
-
};
|
|
1635
|
-
field: {
|
|
1636
|
-
type: PropType<any>;
|
|
1637
|
-
};
|
|
1638
|
-
compSize: {
|
|
1639
|
-
type: StringConstructor;
|
|
1640
|
-
default: string;
|
|
1641
|
-
};
|
|
1642
|
-
formData: {
|
|
1643
|
-
type: PropType<any>;
|
|
1644
|
-
};
|
|
1645
|
-
}>> & Readonly<{
|
|
1646
|
-
"onUpdate:formData"?: (value: any) => any;
|
|
1647
|
-
}>, {
|
|
1648
|
-
disabled: boolean;
|
|
1649
|
-
compSize: string;
|
|
1650
|
-
isDesign: boolean;
|
|
1651
|
-
showFormItem: boolean;
|
|
1652
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1653
|
-
|
|
1654
1762
|
/**
|
|
1655
1763
|
* 按钮事件
|
|
1656
1764
|
*/
|
|
@@ -1733,6 +1841,16 @@ export declare interface BtnHideCondition {
|
|
|
1733
1841
|
visible: boolean;
|
|
1734
1842
|
}
|
|
1735
1843
|
|
|
1844
|
+
/**
|
|
1845
|
+
* Button 组件的点击事件
|
|
1846
|
+
* @param context
|
|
1847
|
+
* @param emits
|
|
1848
|
+
* @param formData
|
|
1849
|
+
* @param code
|
|
1850
|
+
* @param evtName 时间名称
|
|
1851
|
+
*/
|
|
1852
|
+
export declare const buttonAction: (context: any, emits: any, formData: any, code: string, evtName?: string) => void;
|
|
1853
|
+
|
|
1736
1854
|
export declare const buttonItem: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1737
1855
|
selfFunc: (...args: any[]) => void;
|
|
1738
1856
|
selectItem: (...args: any[]) => void;
|
|
@@ -1760,66 +1878,6 @@ declare const buttons: Ref<any[], any[]>;
|
|
|
1760
1878
|
*/
|
|
1761
1879
|
export declare function camelCaseToUnderline(str: string): string;
|
|
1762
1880
|
|
|
1763
|
-
export declare const cardContainer: DefineComponent<ExtractPropTypes< {
|
|
1764
|
-
parentField: {
|
|
1765
|
-
type: PropType<any>;
|
|
1766
|
-
};
|
|
1767
|
-
isDesign: {
|
|
1768
|
-
type: BooleanConstructor;
|
|
1769
|
-
default: boolean;
|
|
1770
|
-
};
|
|
1771
|
-
showFormItem: {
|
|
1772
|
-
type: BooleanConstructor;
|
|
1773
|
-
default: boolean;
|
|
1774
|
-
};
|
|
1775
|
-
disabled: {
|
|
1776
|
-
type: BooleanConstructor;
|
|
1777
|
-
default: boolean;
|
|
1778
|
-
};
|
|
1779
|
-
formInfo: {
|
|
1780
|
-
type: PropType<any>;
|
|
1781
|
-
};
|
|
1782
|
-
field: {
|
|
1783
|
-
type: PropType<any>;
|
|
1784
|
-
};
|
|
1785
|
-
formData: {
|
|
1786
|
-
type: PropType<any>;
|
|
1787
|
-
};
|
|
1788
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1789
|
-
"update:formData": (value: any) => any;
|
|
1790
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1791
|
-
parentField: {
|
|
1792
|
-
type: PropType<any>;
|
|
1793
|
-
};
|
|
1794
|
-
isDesign: {
|
|
1795
|
-
type: BooleanConstructor;
|
|
1796
|
-
default: boolean;
|
|
1797
|
-
};
|
|
1798
|
-
showFormItem: {
|
|
1799
|
-
type: BooleanConstructor;
|
|
1800
|
-
default: boolean;
|
|
1801
|
-
};
|
|
1802
|
-
disabled: {
|
|
1803
|
-
type: BooleanConstructor;
|
|
1804
|
-
default: boolean;
|
|
1805
|
-
};
|
|
1806
|
-
formInfo: {
|
|
1807
|
-
type: PropType<any>;
|
|
1808
|
-
};
|
|
1809
|
-
field: {
|
|
1810
|
-
type: PropType<any>;
|
|
1811
|
-
};
|
|
1812
|
-
formData: {
|
|
1813
|
-
type: PropType<any>;
|
|
1814
|
-
};
|
|
1815
|
-
}>> & Readonly<{
|
|
1816
|
-
"onUpdate:formData"?: (value: any) => any;
|
|
1817
|
-
}>, {
|
|
1818
|
-
disabled: boolean;
|
|
1819
|
-
isDesign: boolean;
|
|
1820
|
-
showFormItem: boolean;
|
|
1821
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1822
|
-
|
|
1823
1881
|
/**
|
|
1824
1882
|
* Card 容器信息
|
|
1825
1883
|
*/
|
|
@@ -1862,6 +1920,12 @@ isSearch: boolean;
|
|
|
1862
1920
|
showFormItem: boolean;
|
|
1863
1921
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1864
1922
|
|
|
1923
|
+
/**
|
|
1924
|
+
* 检查是否禁用
|
|
1925
|
+
* @param attrs
|
|
1926
|
+
*/
|
|
1927
|
+
export declare const checkIsDisabled: (attrs: any) => boolean;
|
|
1928
|
+
|
|
1865
1929
|
/**
|
|
1866
1930
|
* 检查对象是否需要创建
|
|
1867
1931
|
* @param dataForm 数据对象
|
|
@@ -1886,66 +1950,6 @@ declare const clickHandler: (item: any) => void;
|
|
|
1886
1950
|
*/
|
|
1887
1951
|
export declare function closeLoad(): void;
|
|
1888
1952
|
|
|
1889
|
-
export declare const collapseContainer: DefineComponent<ExtractPropTypes< {
|
|
1890
|
-
parentField: {
|
|
1891
|
-
type: PropType<any>;
|
|
1892
|
-
};
|
|
1893
|
-
isDesign: {
|
|
1894
|
-
type: BooleanConstructor;
|
|
1895
|
-
default: boolean;
|
|
1896
|
-
};
|
|
1897
|
-
showFormItem: {
|
|
1898
|
-
type: BooleanConstructor;
|
|
1899
|
-
default: boolean;
|
|
1900
|
-
};
|
|
1901
|
-
disabled: {
|
|
1902
|
-
type: BooleanConstructor;
|
|
1903
|
-
default: boolean;
|
|
1904
|
-
};
|
|
1905
|
-
formInfo: {
|
|
1906
|
-
type: PropType<any>;
|
|
1907
|
-
};
|
|
1908
|
-
field: {
|
|
1909
|
-
type: PropType<any>;
|
|
1910
|
-
};
|
|
1911
|
-
formData: {
|
|
1912
|
-
type: PropType<any>;
|
|
1913
|
-
};
|
|
1914
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1915
|
-
"update:formData": (value: any) => any;
|
|
1916
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1917
|
-
parentField: {
|
|
1918
|
-
type: PropType<any>;
|
|
1919
|
-
};
|
|
1920
|
-
isDesign: {
|
|
1921
|
-
type: BooleanConstructor;
|
|
1922
|
-
default: boolean;
|
|
1923
|
-
};
|
|
1924
|
-
showFormItem: {
|
|
1925
|
-
type: BooleanConstructor;
|
|
1926
|
-
default: boolean;
|
|
1927
|
-
};
|
|
1928
|
-
disabled: {
|
|
1929
|
-
type: BooleanConstructor;
|
|
1930
|
-
default: boolean;
|
|
1931
|
-
};
|
|
1932
|
-
formInfo: {
|
|
1933
|
-
type: PropType<any>;
|
|
1934
|
-
};
|
|
1935
|
-
field: {
|
|
1936
|
-
type: PropType<any>;
|
|
1937
|
-
};
|
|
1938
|
-
formData: {
|
|
1939
|
-
type: PropType<any>;
|
|
1940
|
-
};
|
|
1941
|
-
}>> & Readonly<{
|
|
1942
|
-
"onUpdate:formData"?: (value: any) => any;
|
|
1943
|
-
}>, {
|
|
1944
|
-
disabled: boolean;
|
|
1945
|
-
isDesign: boolean;
|
|
1946
|
-
showFormItem: boolean;
|
|
1947
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1948
|
-
|
|
1949
1953
|
/**
|
|
1950
1954
|
* Collapse 容器信息
|
|
1951
1955
|
*/
|
|
@@ -2185,7 +2189,7 @@ export declare interface ContainerPreps {
|
|
|
2185
2189
|
commonFormat?: Function;
|
|
2186
2190
|
}
|
|
2187
2191
|
|
|
2188
|
-
export declare const ContentMenu:
|
|
2192
|
+
export declare const ContentMenu: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
2189
2193
|
|
|
2190
2194
|
/**
|
|
2191
2195
|
* 操作接口
|
|
@@ -2195,6 +2199,8 @@ export declare const ContentMenu: __VLS_WithTemplateSlots_5<typeof __VLS_compone
|
|
|
2195
2199
|
*/
|
|
2196
2200
|
export declare function contextOperation(act: string, item: any, parentItem: any): void;
|
|
2197
2201
|
|
|
2202
|
+
export declare const convertData: (data: any) => any;
|
|
2203
|
+
|
|
2198
2204
|
/**
|
|
2199
2205
|
* 下划线转驼峰
|
|
2200
2206
|
* @param str
|
|
@@ -3158,68 +3164,6 @@ export declare interface DynamicParamField {
|
|
|
3158
3164
|
*/
|
|
3159
3165
|
export declare function dynamicUrlOperation(preps: any, queryInfo?: SearchParams[], proxyUrl?: string): Promise<SelectOption[]>;
|
|
3160
3166
|
|
|
3161
|
-
export declare const dytableContainer: DefineComponent<ExtractPropTypes< {
|
|
3162
|
-
parentField: {
|
|
3163
|
-
type: PropType<any>;
|
|
3164
|
-
};
|
|
3165
|
-
isDesign: {
|
|
3166
|
-
type: BooleanConstructor;
|
|
3167
|
-
default: boolean;
|
|
3168
|
-
};
|
|
3169
|
-
showFormItem: {
|
|
3170
|
-
type: BooleanConstructor;
|
|
3171
|
-
default: boolean;
|
|
3172
|
-
};
|
|
3173
|
-
disabled: {
|
|
3174
|
-
type: BooleanConstructor;
|
|
3175
|
-
default: boolean;
|
|
3176
|
-
};
|
|
3177
|
-
formInfo: {
|
|
3178
|
-
type: PropType<any>;
|
|
3179
|
-
};
|
|
3180
|
-
field: {
|
|
3181
|
-
type: PropType<any>;
|
|
3182
|
-
};
|
|
3183
|
-
formData: {
|
|
3184
|
-
type: PropType<any>;
|
|
3185
|
-
};
|
|
3186
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3187
|
-
"update:formData": (value: any) => any;
|
|
3188
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
3189
|
-
parentField: {
|
|
3190
|
-
type: PropType<any>;
|
|
3191
|
-
};
|
|
3192
|
-
isDesign: {
|
|
3193
|
-
type: BooleanConstructor;
|
|
3194
|
-
default: boolean;
|
|
3195
|
-
};
|
|
3196
|
-
showFormItem: {
|
|
3197
|
-
type: BooleanConstructor;
|
|
3198
|
-
default: boolean;
|
|
3199
|
-
};
|
|
3200
|
-
disabled: {
|
|
3201
|
-
type: BooleanConstructor;
|
|
3202
|
-
default: boolean;
|
|
3203
|
-
};
|
|
3204
|
-
formInfo: {
|
|
3205
|
-
type: PropType<any>;
|
|
3206
|
-
};
|
|
3207
|
-
field: {
|
|
3208
|
-
type: PropType<any>;
|
|
3209
|
-
};
|
|
3210
|
-
formData: {
|
|
3211
|
-
type: PropType<any>;
|
|
3212
|
-
};
|
|
3213
|
-
}>> & Readonly<{
|
|
3214
|
-
"onUpdate:formData"?: (value: any) => any;
|
|
3215
|
-
}>, {
|
|
3216
|
-
disabled: boolean;
|
|
3217
|
-
isDesign: boolean;
|
|
3218
|
-
showFormItem: boolean;
|
|
3219
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
3220
|
-
containerTableRef: HTMLTableElement;
|
|
3221
|
-
}, any>;
|
|
3222
|
-
|
|
3223
3167
|
/**
|
|
3224
3168
|
* 边构建信息
|
|
3225
3169
|
*/
|
|
@@ -3248,6 +3192,60 @@ export declare interface EditCondition {
|
|
|
3248
3192
|
matchType?: string;
|
|
3249
3193
|
}
|
|
3250
3194
|
|
|
3195
|
+
export declare const EditDataDialog: DefineComponent<ExtractPropTypes< {
|
|
3196
|
+
modelValue: BooleanConstructor;
|
|
3197
|
+
title: {
|
|
3198
|
+
type: StringConstructor;
|
|
3199
|
+
default: string;
|
|
3200
|
+
};
|
|
3201
|
+
boxWidth: {
|
|
3202
|
+
type: StringConstructor;
|
|
3203
|
+
default: string;
|
|
3204
|
+
};
|
|
3205
|
+
disabled: {
|
|
3206
|
+
type: BooleanConstructor;
|
|
3207
|
+
default: boolean;
|
|
3208
|
+
};
|
|
3209
|
+
showFormItem: {
|
|
3210
|
+
type: BooleanConstructor;
|
|
3211
|
+
default: boolean;
|
|
3212
|
+
};
|
|
3213
|
+
placeholder: StringConstructor;
|
|
3214
|
+
initialContent: StringConstructor;
|
|
3215
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3216
|
+
confirm: (...args: any[]) => void;
|
|
3217
|
+
"update:modelValue": (...args: any[]) => void;
|
|
3218
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
3219
|
+
modelValue: BooleanConstructor;
|
|
3220
|
+
title: {
|
|
3221
|
+
type: StringConstructor;
|
|
3222
|
+
default: string;
|
|
3223
|
+
};
|
|
3224
|
+
boxWidth: {
|
|
3225
|
+
type: StringConstructor;
|
|
3226
|
+
default: string;
|
|
3227
|
+
};
|
|
3228
|
+
disabled: {
|
|
3229
|
+
type: BooleanConstructor;
|
|
3230
|
+
default: boolean;
|
|
3231
|
+
};
|
|
3232
|
+
showFormItem: {
|
|
3233
|
+
type: BooleanConstructor;
|
|
3234
|
+
default: boolean;
|
|
3235
|
+
};
|
|
3236
|
+
placeholder: StringConstructor;
|
|
3237
|
+
initialContent: StringConstructor;
|
|
3238
|
+
}>> & Readonly<{
|
|
3239
|
+
onConfirm?: (...args: any[]) => any;
|
|
3240
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
3241
|
+
}>, {
|
|
3242
|
+
title: string;
|
|
3243
|
+
disabled: boolean;
|
|
3244
|
+
boxWidth: string;
|
|
3245
|
+
modelValue: boolean;
|
|
3246
|
+
showFormItem: boolean;
|
|
3247
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3248
|
+
|
|
3251
3249
|
export declare const emptyItem: DefineComponent<ItemPreps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3252
3250
|
selfFunc: (...args: any[]) => void;
|
|
3253
3251
|
selectItem: (...args: any[]) => void;
|
|
@@ -3302,6 +3300,13 @@ export declare interface ExpandTable {
|
|
|
3302
3300
|
fieldList: FieldInfo[];
|
|
3303
3301
|
}
|
|
3304
3302
|
|
|
3303
|
+
/**
|
|
3304
|
+
* 复制字段
|
|
3305
|
+
* @param data
|
|
3306
|
+
* @param type
|
|
3307
|
+
*/
|
|
3308
|
+
export declare function fieldCopy(data: any, type: string): any;
|
|
3309
|
+
|
|
3305
3310
|
/**
|
|
3306
3311
|
* 表单属性
|
|
3307
3312
|
*/
|
|
@@ -3456,6 +3461,14 @@ export declare interface FieldInfo {
|
|
|
3456
3461
|
removeActions?: Function | string;
|
|
3457
3462
|
}
|
|
3458
3463
|
|
|
3464
|
+
export declare const FieldList: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3465
|
+
selectData: (...args: any[]) => void;
|
|
3466
|
+
}, string, PublicProps, Readonly<{}> & Readonly<{
|
|
3467
|
+
onSelectData?: (...args: any[]) => any;
|
|
3468
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
3469
|
+
containerRef: HTMLDivElement;
|
|
3470
|
+
}, HTMLDivElement>;
|
|
3471
|
+
|
|
3459
3472
|
/**
|
|
3460
3473
|
* 属性映射
|
|
3461
3474
|
*
|
|
@@ -3664,6 +3677,8 @@ export declare interface ImportInfo {
|
|
|
3664
3677
|
conditions?: Array<SearchParams>;
|
|
3665
3678
|
}
|
|
3666
3679
|
|
|
3680
|
+
export declare const initCompCallEvent: (props: any, emits: any, formData: any) => void;
|
|
3681
|
+
|
|
3667
3682
|
/**
|
|
3668
3683
|
* 输入组件
|
|
3669
3684
|
* @returns
|
|
@@ -4118,7 +4133,7 @@ export declare interface OrderByInfo {
|
|
|
4118
4133
|
orderBy: string;
|
|
4119
4134
|
}
|
|
4120
4135
|
|
|
4121
|
-
export declare const PageConfig:
|
|
4136
|
+
export declare const PageConfig: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
4122
4137
|
|
|
4123
4138
|
/**
|
|
4124
4139
|
* 页面属性信息
|
|
@@ -4259,6 +4274,36 @@ export declare const piniaInstance: Pinia;
|
|
|
4259
4274
|
*/
|
|
4260
4275
|
export declare function postRequest(url: string, data: Array<any> | any): Promise<AxiosResponse<any, any, {}>>;
|
|
4261
4276
|
|
|
4277
|
+
export declare interface PrefixSuffixOptions {
|
|
4278
|
+
field: any;
|
|
4279
|
+
formData: Ref<any>;
|
|
4280
|
+
mergePrefix?: boolean;
|
|
4281
|
+
mergeAppend?: boolean;
|
|
4282
|
+
}
|
|
4283
|
+
|
|
4284
|
+
export declare interface PrefixSuffixResult {
|
|
4285
|
+
preName: ComputedRef<string>;
|
|
4286
|
+
appName: ComputedRef<string>;
|
|
4287
|
+
prependList: ComputedRef<any[]>;
|
|
4288
|
+
appendList: ComputedRef<any[]>;
|
|
4289
|
+
normalData: Ref<string>;
|
|
4290
|
+
findMatchingPrefix: (mainValue: string) => string;
|
|
4291
|
+
findMatchingSuffix: (mainValue: string) => string;
|
|
4292
|
+
parseMainValue: () => string;
|
|
4293
|
+
extractPrefixFromInput: (inputValue: string) => {
|
|
4294
|
+
prefix: string;
|
|
4295
|
+
remaining: string;
|
|
4296
|
+
};
|
|
4297
|
+
extractSuffixFromInput: (inputValue: string) => {
|
|
4298
|
+
suffix: string;
|
|
4299
|
+
remaining: string;
|
|
4300
|
+
};
|
|
4301
|
+
mergeData: (isParsing?: boolean) => void;
|
|
4302
|
+
setupWatchers: () => void;
|
|
4303
|
+
}
|
|
4304
|
+
|
|
4305
|
+
export declare const prepsFilter: (preps: any) => any;
|
|
4306
|
+
|
|
4262
4307
|
/**
|
|
4263
4308
|
* 按钮响应事件前置校验
|
|
4264
4309
|
*/
|
|
@@ -4411,6 +4456,8 @@ export declare interface RelationDetail {
|
|
|
4411
4456
|
isWorking: boolean;
|
|
4412
4457
|
}
|
|
4413
4458
|
|
|
4459
|
+
export declare const relationEvent: (props: any, relationDetails: RelationDetail[], e: any, actionName: string) => void;
|
|
4460
|
+
|
|
4414
4461
|
/**
|
|
4415
4462
|
* 删除查询条件中出现的空值和空对象
|
|
4416
4463
|
* @param condition
|
|
@@ -4657,7 +4704,7 @@ typeModel: string;
|
|
|
4657
4704
|
starHorseFormRef: unknown;
|
|
4658
4705
|
}, any>;
|
|
4659
4706
|
|
|
4660
|
-
export declare const ShForm:
|
|
4707
|
+
export declare const ShForm: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
4661
4708
|
|
|
4662
4709
|
export declare type ShortKey = {
|
|
4663
4710
|
/**
|
|
@@ -4942,126 +4989,11 @@ autoClose: boolean;
|
|
|
4942
4989
|
}>;
|
|
4943
4990
|
}, any>;
|
|
4944
4991
|
|
|
4945
|
-
export declare const StarHorseDataView:
|
|
4946
|
-
compUrl: {
|
|
4947
|
-
type: PropType<ApiUrls>;
|
|
4948
|
-
};
|
|
4949
|
-
objectName: {
|
|
4950
|
-
type: StringConstructor;
|
|
4951
|
-
};
|
|
4952
|
-
subFormFlag: {
|
|
4953
|
-
type: StringConstructor;
|
|
4954
|
-
default: string;
|
|
4955
|
-
};
|
|
4956
|
-
formSize: {
|
|
4957
|
-
type: StringConstructor;
|
|
4958
|
-
default: string;
|
|
4959
|
-
};
|
|
4960
|
-
labelPosition: {
|
|
4961
|
-
type: StringConstructor;
|
|
4962
|
-
default: string;
|
|
4963
|
-
};
|
|
4964
|
-
batchName: {
|
|
4965
|
-
type: StringConstructor;
|
|
4966
|
-
default: string;
|
|
4967
|
-
};
|
|
4968
|
-
batchFieldName: {
|
|
4969
|
-
type: StringConstructor;
|
|
4970
|
-
default: string;
|
|
4971
|
-
};
|
|
4972
|
-
fieldList: {
|
|
4973
|
-
type: ObjectConstructor;
|
|
4974
|
-
required: true;
|
|
4975
|
-
};
|
|
4976
|
-
globalCondition: {
|
|
4977
|
-
type: ObjectConstructor;
|
|
4978
|
-
};
|
|
4979
|
-
outerData: {
|
|
4980
|
-
type: ObjectConstructor;
|
|
4981
|
-
};
|
|
4982
|
-
dynamicForm: {
|
|
4983
|
-
type: BooleanConstructor;
|
|
4984
|
-
default: boolean;
|
|
4985
|
-
};
|
|
4986
|
-
primaryKey: {
|
|
4987
|
-
type: PropType<string | any>;
|
|
4988
|
-
default: string;
|
|
4989
|
-
};
|
|
4990
|
-
dataFormat: {
|
|
4991
|
-
type: FunctionConstructor;
|
|
4992
|
-
default: any;
|
|
4993
|
-
};
|
|
4994
|
-
}>, {
|
|
4995
|
-
setData: (data: any) => void;
|
|
4996
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4997
|
-
dataLoaded: (...args: any[]) => void;
|
|
4998
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
4999
|
-
compUrl: {
|
|
5000
|
-
type: PropType<ApiUrls>;
|
|
5001
|
-
};
|
|
5002
|
-
objectName: {
|
|
5003
|
-
type: StringConstructor;
|
|
5004
|
-
};
|
|
5005
|
-
subFormFlag: {
|
|
5006
|
-
type: StringConstructor;
|
|
5007
|
-
default: string;
|
|
5008
|
-
};
|
|
5009
|
-
formSize: {
|
|
5010
|
-
type: StringConstructor;
|
|
5011
|
-
default: string;
|
|
5012
|
-
};
|
|
5013
|
-
labelPosition: {
|
|
5014
|
-
type: StringConstructor;
|
|
5015
|
-
default: string;
|
|
5016
|
-
};
|
|
5017
|
-
batchName: {
|
|
5018
|
-
type: StringConstructor;
|
|
5019
|
-
default: string;
|
|
5020
|
-
};
|
|
5021
|
-
batchFieldName: {
|
|
5022
|
-
type: StringConstructor;
|
|
5023
|
-
default: string;
|
|
5024
|
-
};
|
|
5025
|
-
fieldList: {
|
|
5026
|
-
type: ObjectConstructor;
|
|
5027
|
-
required: true;
|
|
5028
|
-
};
|
|
5029
|
-
globalCondition: {
|
|
5030
|
-
type: ObjectConstructor;
|
|
5031
|
-
};
|
|
5032
|
-
outerData: {
|
|
5033
|
-
type: ObjectConstructor;
|
|
5034
|
-
};
|
|
5035
|
-
dynamicForm: {
|
|
5036
|
-
type: BooleanConstructor;
|
|
5037
|
-
default: boolean;
|
|
5038
|
-
};
|
|
5039
|
-
primaryKey: {
|
|
5040
|
-
type: PropType<string | any>;
|
|
5041
|
-
default: string;
|
|
5042
|
-
};
|
|
5043
|
-
dataFormat: {
|
|
5044
|
-
type: FunctionConstructor;
|
|
5045
|
-
default: any;
|
|
5046
|
-
};
|
|
5047
|
-
}>> & Readonly<{
|
|
5048
|
-
onDataLoaded?: (...args: any[]) => any;
|
|
5049
|
-
}>, {
|
|
5050
|
-
batchName: string;
|
|
5051
|
-
primaryKey: any;
|
|
5052
|
-
subFormFlag: string;
|
|
5053
|
-
labelPosition: string;
|
|
5054
|
-
dataFormat: Function;
|
|
5055
|
-
batchFieldName: string;
|
|
5056
|
-
formSize: string;
|
|
5057
|
-
dynamicForm: boolean;
|
|
5058
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
5059
|
-
starHorseFormRef: unknown;
|
|
5060
|
-
}, any>;
|
|
4992
|
+
export declare const StarHorseDataView: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
5061
4993
|
|
|
5062
|
-
export declare const StarHorseDialog:
|
|
4994
|
+
export declare const StarHorseDialog: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
5063
4995
|
|
|
5064
|
-
export declare const StarHorseDraggable:
|
|
4996
|
+
export declare const StarHorseDraggable: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
5065
4997
|
|
|
5066
4998
|
export declare const StarHorseEditor: DefineComponent<ExtractPropTypes< {
|
|
5067
4999
|
funcName: {
|
|
@@ -5306,7 +5238,7 @@ formSize: string;
|
|
|
5306
5238
|
dynamicForm: boolean;
|
|
5307
5239
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
5308
5240
|
starHorseFormRef: unknown;
|
|
5309
|
-
},
|
|
5241
|
+
}, HTMLDivElement>;
|
|
5310
5242
|
|
|
5311
5243
|
export declare const StarHorseFormItem: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5312
5244
|
addRow: (...args: any[]) => void;
|
|
@@ -5586,7 +5518,7 @@ formSize: string;
|
|
|
5586
5518
|
dynamicForm: boolean;
|
|
5587
5519
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
5588
5520
|
starHorseFormRef: unknown;
|
|
5589
|
-
},
|
|
5521
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
5590
5522
|
P: {};
|
|
5591
5523
|
B: {};
|
|
5592
5524
|
D: {};
|
|
@@ -6198,7 +6130,7 @@ onSelectItem?: (...args: any[]) => any;
|
|
|
6198
6130
|
preps: any;
|
|
6199
6131
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
6200
6132
|
|
|
6201
|
-
export declare const StarHorsePopover:
|
|
6133
|
+
export declare const StarHorsePopover: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
6202
6134
|
|
|
6203
6135
|
export declare const StarHorseSearchComp: DefineComponent<ExtractPropTypes< {
|
|
6204
6136
|
dialogInput: {
|
|
@@ -6277,7 +6209,7 @@ dialogInput: boolean;
|
|
|
6277
6209
|
mutComp: boolean;
|
|
6278
6210
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
6279
6211
|
|
|
6280
|
-
export declare const StarHorseSidebar:
|
|
6212
|
+
export declare const StarHorseSidebar: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
6281
6213
|
|
|
6282
6214
|
export declare const StarHorseStaticTable: DefineComponent<ExtractPropTypes< {
|
|
6283
6215
|
primaryKey: {
|
|
@@ -6369,9 +6301,9 @@ dataList: {
|
|
|
6369
6301
|
type: ArrayConstructor;
|
|
6370
6302
|
};
|
|
6371
6303
|
}>> & Readonly<{}>, {
|
|
6304
|
+
height: string;
|
|
6372
6305
|
dataFormat: Function;
|
|
6373
6306
|
compSize: string;
|
|
6374
|
-
height: string;
|
|
6375
6307
|
dialogInput: boolean;
|
|
6376
6308
|
expand: boolean;
|
|
6377
6309
|
showBatchField: boolean;
|
|
@@ -6913,8 +6845,8 @@ type: PropType<EditCondition[]>;
|
|
|
6913
6845
|
onSelectItem?: (...args: any[]) => any;
|
|
6914
6846
|
onPermission?: (...args: any[]) => any;
|
|
6915
6847
|
}>, {
|
|
6916
|
-
dataFormat: Function;
|
|
6917
6848
|
height: string;
|
|
6849
|
+
dataFormat: Function;
|
|
6918
6850
|
dialogInput: boolean;
|
|
6919
6851
|
expand: boolean;
|
|
6920
6852
|
showBatchField: boolean;
|
|
@@ -7310,66 +7242,6 @@ isSearch: boolean;
|
|
|
7310
7242
|
showFormItem: boolean;
|
|
7311
7243
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
7312
7244
|
|
|
7313
|
-
export declare const tabContainer: DefineComponent<ExtractPropTypes< {
|
|
7314
|
-
parentField: {
|
|
7315
|
-
type: PropType<any>;
|
|
7316
|
-
};
|
|
7317
|
-
isDesign: {
|
|
7318
|
-
type: BooleanConstructor;
|
|
7319
|
-
default: boolean;
|
|
7320
|
-
};
|
|
7321
|
-
showFormItem: {
|
|
7322
|
-
type: BooleanConstructor;
|
|
7323
|
-
default: boolean;
|
|
7324
|
-
};
|
|
7325
|
-
disabled: {
|
|
7326
|
-
type: BooleanConstructor;
|
|
7327
|
-
default: boolean;
|
|
7328
|
-
};
|
|
7329
|
-
formInfo: {
|
|
7330
|
-
type: PropType<any>;
|
|
7331
|
-
};
|
|
7332
|
-
field: {
|
|
7333
|
-
type: PropType<any>;
|
|
7334
|
-
};
|
|
7335
|
-
formData: {
|
|
7336
|
-
type: PropType<any>;
|
|
7337
|
-
};
|
|
7338
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7339
|
-
"update:formData": (value: any) => any;
|
|
7340
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
7341
|
-
parentField: {
|
|
7342
|
-
type: PropType<any>;
|
|
7343
|
-
};
|
|
7344
|
-
isDesign: {
|
|
7345
|
-
type: BooleanConstructor;
|
|
7346
|
-
default: boolean;
|
|
7347
|
-
};
|
|
7348
|
-
showFormItem: {
|
|
7349
|
-
type: BooleanConstructor;
|
|
7350
|
-
default: boolean;
|
|
7351
|
-
};
|
|
7352
|
-
disabled: {
|
|
7353
|
-
type: BooleanConstructor;
|
|
7354
|
-
default: boolean;
|
|
7355
|
-
};
|
|
7356
|
-
formInfo: {
|
|
7357
|
-
type: PropType<any>;
|
|
7358
|
-
};
|
|
7359
|
-
field: {
|
|
7360
|
-
type: PropType<any>;
|
|
7361
|
-
};
|
|
7362
|
-
formData: {
|
|
7363
|
-
type: PropType<any>;
|
|
7364
|
-
};
|
|
7365
|
-
}>> & Readonly<{
|
|
7366
|
-
"onUpdate:formData"?: (value: any) => any;
|
|
7367
|
-
}>, {
|
|
7368
|
-
disabled: boolean;
|
|
7369
|
-
isDesign: boolean;
|
|
7370
|
-
showFormItem: boolean;
|
|
7371
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
7372
|
-
|
|
7373
7245
|
/**
|
|
7374
7246
|
* Tab 表单数据
|
|
7375
7247
|
*/
|
|
@@ -7423,77 +7295,6 @@ export declare interface TabFieldInfo {
|
|
|
7423
7295
|
mapping?: "1" | "n";
|
|
7424
7296
|
}
|
|
7425
7297
|
|
|
7426
|
-
export declare const tableContainer: DefineComponent<ExtractPropTypes< {
|
|
7427
|
-
parentField: {
|
|
7428
|
-
type: PropType<any>;
|
|
7429
|
-
};
|
|
7430
|
-
isDesign: {
|
|
7431
|
-
type: BooleanConstructor;
|
|
7432
|
-
default: boolean;
|
|
7433
|
-
};
|
|
7434
|
-
showFormItem: {
|
|
7435
|
-
type: BooleanConstructor;
|
|
7436
|
-
default: boolean;
|
|
7437
|
-
};
|
|
7438
|
-
disabled: {
|
|
7439
|
-
type: BooleanConstructor;
|
|
7440
|
-
default: boolean;
|
|
7441
|
-
};
|
|
7442
|
-
formInfo: {
|
|
7443
|
-
type: PropType<any>;
|
|
7444
|
-
};
|
|
7445
|
-
field: {
|
|
7446
|
-
type: PropType<any>;
|
|
7447
|
-
};
|
|
7448
|
-
compSize: {
|
|
7449
|
-
type: StringConstructor;
|
|
7450
|
-
default: string;
|
|
7451
|
-
};
|
|
7452
|
-
formData: {
|
|
7453
|
-
type: PropType<any>;
|
|
7454
|
-
};
|
|
7455
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7456
|
-
"update:formData": (value: any) => any;
|
|
7457
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
7458
|
-
parentField: {
|
|
7459
|
-
type: PropType<any>;
|
|
7460
|
-
};
|
|
7461
|
-
isDesign: {
|
|
7462
|
-
type: BooleanConstructor;
|
|
7463
|
-
default: boolean;
|
|
7464
|
-
};
|
|
7465
|
-
showFormItem: {
|
|
7466
|
-
type: BooleanConstructor;
|
|
7467
|
-
default: boolean;
|
|
7468
|
-
};
|
|
7469
|
-
disabled: {
|
|
7470
|
-
type: BooleanConstructor;
|
|
7471
|
-
default: boolean;
|
|
7472
|
-
};
|
|
7473
|
-
formInfo: {
|
|
7474
|
-
type: PropType<any>;
|
|
7475
|
-
};
|
|
7476
|
-
field: {
|
|
7477
|
-
type: PropType<any>;
|
|
7478
|
-
};
|
|
7479
|
-
compSize: {
|
|
7480
|
-
type: StringConstructor;
|
|
7481
|
-
default: string;
|
|
7482
|
-
};
|
|
7483
|
-
formData: {
|
|
7484
|
-
type: PropType<any>;
|
|
7485
|
-
};
|
|
7486
|
-
}>> & Readonly<{
|
|
7487
|
-
"onUpdate:formData"?: (value: any) => any;
|
|
7488
|
-
}>, {
|
|
7489
|
-
disabled: boolean;
|
|
7490
|
-
compSize: string;
|
|
7491
|
-
isDesign: boolean;
|
|
7492
|
-
showFormItem: boolean;
|
|
7493
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
7494
|
-
containerTableRef: HTMLTableElement;
|
|
7495
|
-
}, any>;
|
|
7496
|
-
|
|
7497
7298
|
export declare const tagItem: DefineComponent<__VLS_PublicProps_31, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7498
7299
|
selfFunc: (...args: any[]) => void;
|
|
7499
7300
|
selectItem: (...args: any[]) => void;
|
|
@@ -8312,6 +8113,9 @@ setAllFormDataList: (list: CompType[]) => void;
|
|
|
8312
8113
|
setSelfFormDataList: (list: CompType[]) => void;
|
|
8313
8114
|
setFormDataList: (list: CompType[]) => void;
|
|
8314
8115
|
setContainerList: (list: CompType[]) => void;
|
|
8116
|
+
setParentContainer: (item: any) => void;
|
|
8117
|
+
getParentContainer: () => Record<string, any>;
|
|
8118
|
+
getParentCompType: () => string;
|
|
8315
8119
|
addSelfFormDataList: (list: CompType[]) => void;
|
|
8316
8120
|
addContainerList: (list: CompType[]) => void;
|
|
8317
8121
|
addFormDataList: (list: CompType[]) => void;
|
|
@@ -8884,6 +8688,9 @@ setAllFormDataList: (list: CompType[]) => void;
|
|
|
8884
8688
|
setSelfFormDataList: (list: CompType[]) => void;
|
|
8885
8689
|
setFormDataList: (list: CompType[]) => void;
|
|
8886
8690
|
setContainerList: (list: CompType[]) => void;
|
|
8691
|
+
setParentContainer: (item: any) => void;
|
|
8692
|
+
getParentContainer: () => Record<string, any>;
|
|
8693
|
+
getParentCompType: () => string;
|
|
8887
8694
|
addSelfFormDataList: (list: CompType[]) => void;
|
|
8888
8695
|
addContainerList: (list: CompType[]) => void;
|
|
8889
8696
|
addFormDataList: (list: CompType[]) => void;
|
|
@@ -9456,6 +9263,9 @@ setAllFormDataList: (list: CompType[]) => void;
|
|
|
9456
9263
|
setSelfFormDataList: (list: CompType[]) => void;
|
|
9457
9264
|
setFormDataList: (list: CompType[]) => void;
|
|
9458
9265
|
setContainerList: (list: CompType[]) => void;
|
|
9266
|
+
setParentContainer: (item: any) => void;
|
|
9267
|
+
getParentContainer: () => Record<string, any>;
|
|
9268
|
+
getParentCompType: () => string;
|
|
9459
9269
|
addSelfFormDataList: (list: CompType[]) => void;
|
|
9460
9270
|
addContainerList: (list: CompType[]) => void;
|
|
9461
9271
|
addFormDataList: (list: CompType[]) => void;
|
|
@@ -9488,7 +9298,7 @@ getFieldDataIndex: () => number;
|
|
|
9488
9298
|
getCurrentCompEditUserInfo: (compId: string) => UserInfo;
|
|
9489
9299
|
addCurrentCompEditUserInfo: (compId: string, userinfo: UserInfo) => void;
|
|
9490
9300
|
removeCurrentCompEditUserInfo: (compId: string) => void;
|
|
9491
|
-
}, "setFormData" | "clearAll" | "setCurrentSubTabName" | "selectItemById" | "setAllFormDataList" | "setSelfFormDataList" | "setFormDataList" | "setContainerList" | "addSelfFormDataList" | "addContainerList" | "addFormDataList" | "addHistoryRecord" | "redo" | "undo" | "selectItem" | "setRefresh" | "setSubItemId" | "setFormInfo" | "setCompList" | "loadCompNames" | "addComp" | "setIsDragging" | "setIsEdit" | "setCurrentComp" | "setCurrentItemType" | "setParentCompType" | "setCurrentItemId" | "setCurrentFormPreps" | "setDraggingItem" | "removePromise" | "setComponentVisible" | "setBatchEditFieldVisible" | "setPreviewVisible" | "setShortKeyDisabled" | "getFieldDataIndex" | "getCurrentCompEditUserInfo" | "addCurrentCompEditUserInfo" | "removeCurrentCompEditUserInfo">>;
|
|
9301
|
+
}, "setFormData" | "clearAll" | "setParentContainer" | "setCurrentSubTabName" | "selectItemById" | "setAllFormDataList" | "setSelfFormDataList" | "setFormDataList" | "setContainerList" | "getParentContainer" | "getParentCompType" | "addSelfFormDataList" | "addContainerList" | "addFormDataList" | "addHistoryRecord" | "redo" | "undo" | "selectItem" | "setRefresh" | "setSubItemId" | "setFormInfo" | "setCompList" | "loadCompNames" | "addComp" | "setIsDragging" | "setIsEdit" | "setCurrentComp" | "setCurrentItemType" | "setParentCompType" | "setCurrentItemId" | "setCurrentFormPreps" | "setDraggingItem" | "removePromise" | "setComponentVisible" | "setBatchEditFieldVisible" | "setPreviewVisible" | "setShortKeyDisabled" | "getFieldDataIndex" | "getCurrentCompEditUserInfo" | "addCurrentCompEditUserInfo" | "removeCurrentCompEditUserInfo">>;
|
|
9492
9302
|
|
|
9493
9303
|
export declare const useDesignPageStore: StoreDefinition<"designPage", Pick<{
|
|
9494
9304
|
nodeList: Ref< {
|
|
@@ -9692,6 +9502,10 @@ getBatchFieldValue: (batchName: string, fieldName: string, rowIndex?: number) =>
|
|
|
9692
9502
|
clearAll: () => void;
|
|
9693
9503
|
}, "setFormData" | "clearAll" | "dataForm" | "selectData" | "dataId" | "setSelectData" | "setDataId" | "addBatchData" | "delField" | "delBatchField" | "addOrUpdateField" | "batchAddOrUpdateField" | "renameField" | "batchRenameField" | "getFieldValue" | "getBatchFieldValue">>;
|
|
9694
9504
|
|
|
9505
|
+
export declare const useFormField: (context: any, field: any) => {
|
|
9506
|
+
fieldValue: WritableComputedRef<any, any>;
|
|
9507
|
+
};
|
|
9508
|
+
|
|
9695
9509
|
export declare const useGlobalConfigStore: StoreDefinition<"globalConfig", Pick<{
|
|
9696
9510
|
configFormInfo: Ref<any, any>;
|
|
9697
9511
|
setConfigFormInfo: (data: any) => void;
|
|
@@ -9706,6 +9520,8 @@ setConfigFormInfo: (data: any) => void;
|
|
|
9706
9520
|
clearAll: (isDark?: string) => void;
|
|
9707
9521
|
}, "clearAll" | "setConfigFormInfo">>;
|
|
9708
9522
|
|
|
9523
|
+
export declare const usePrefixSuffix: (options: PrefixSuffixOptions) => PrefixSuffixResult;
|
|
9524
|
+
|
|
9709
9525
|
/**
|
|
9710
9526
|
* 用户自定义按钮
|
|
9711
9527
|
* @param tableRef 表格实例
|