star-horse-lowcode 2.7.36 → 2.7.37
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 +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.es.js +945 -1964
- package/dist/index.umd.js +3 -3
- package/dist/types/index.d.ts +151 -303
- package/package.json +1 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ import { Ref } from 'vue';
|
|
|
24
24
|
import { RouteLocationNormalized } from 'vue-router';
|
|
25
25
|
import { Router } from 'vue-router';
|
|
26
26
|
import { StoreDefinition } from 'pinia';
|
|
27
|
-
import { TreeNodeData } from 'element-plus/es/components/tree-v2/src/types';
|
|
28
27
|
import { Validator } from 'vanilla-jsoneditor';
|
|
29
28
|
import { WritableComputedRef } from 'vue';
|
|
30
29
|
|
|
@@ -243,11 +242,40 @@ declare const __VLS_component_2: DefineComponent<ExtractPropTypes< {
|
|
|
243
242
|
menuIcon: {
|
|
244
243
|
type: StringConstructor;
|
|
245
244
|
};
|
|
246
|
-
|
|
245
|
+
iconUrl: {
|
|
246
|
+
type: StringConstructor;
|
|
247
|
+
};
|
|
248
|
+
iconSize: {
|
|
249
|
+
type: NumberConstructor;
|
|
250
|
+
default: number;
|
|
251
|
+
};
|
|
252
|
+
icons: {
|
|
253
|
+
type: ArrayConstructor;
|
|
254
|
+
default: () => any[];
|
|
255
|
+
};
|
|
256
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
257
|
+
selectIcon: (...args: any[]) => void;
|
|
258
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
247
259
|
menuIcon: {
|
|
248
260
|
type: StringConstructor;
|
|
249
261
|
};
|
|
250
|
-
|
|
262
|
+
iconUrl: {
|
|
263
|
+
type: StringConstructor;
|
|
264
|
+
};
|
|
265
|
+
iconSize: {
|
|
266
|
+
type: NumberConstructor;
|
|
267
|
+
default: number;
|
|
268
|
+
};
|
|
269
|
+
icons: {
|
|
270
|
+
type: ArrayConstructor;
|
|
271
|
+
default: () => any[];
|
|
272
|
+
};
|
|
273
|
+
}>> & Readonly<{
|
|
274
|
+
onSelectIcon?: (...args: any[]) => any;
|
|
275
|
+
}>, {
|
|
276
|
+
iconSize: number;
|
|
277
|
+
icons: unknown[];
|
|
278
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
251
279
|
|
|
252
280
|
declare const __VLS_component_3: DefineComponent<ExtractPropTypes< {
|
|
253
281
|
needScroller: {
|
|
@@ -277,7 +305,7 @@ shFormRef: unknown;
|
|
|
277
305
|
|
|
278
306
|
declare const __VLS_component_4: DefineComponent<ExtractPropTypes< {
|
|
279
307
|
menuData: {
|
|
280
|
-
type:
|
|
308
|
+
type: PropType<any>;
|
|
281
309
|
default: () => any[];
|
|
282
310
|
};
|
|
283
311
|
isSubMenu: {
|
|
@@ -314,7 +342,7 @@ show: () => any;
|
|
|
314
342
|
hide: () => any;
|
|
315
343
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
316
344
|
menuData: {
|
|
317
|
-
type:
|
|
345
|
+
type: PropType<any>;
|
|
318
346
|
default: () => any[];
|
|
319
347
|
};
|
|
320
348
|
isSubMenu: {
|
|
@@ -335,7 +363,7 @@ onShow?: () => any;
|
|
|
335
363
|
onHide?: () => any;
|
|
336
364
|
}>, {
|
|
337
365
|
active: string | number;
|
|
338
|
-
menuData:
|
|
366
|
+
menuData: any;
|
|
339
367
|
isSubMenu: boolean;
|
|
340
368
|
autoHide: boolean;
|
|
341
369
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
@@ -344,6 +372,10 @@ buttons: HTMLDivElement;
|
|
|
344
372
|
subMenu: unknown;
|
|
345
373
|
}, any>;
|
|
346
374
|
|
|
375
|
+
declare type __VLS_PublicProps = {
|
|
376
|
+
"dataList"?: any;
|
|
377
|
+
};
|
|
378
|
+
|
|
347
379
|
declare function __VLS_template(): {
|
|
348
380
|
attrs: Partial<{}>;
|
|
349
381
|
slots: {
|
|
@@ -438,13 +470,6 @@ export declare interface ActionRelation {
|
|
|
438
470
|
actionMethod: Function;
|
|
439
471
|
}
|
|
440
472
|
|
|
441
|
-
/**
|
|
442
|
-
* 解析已组装的条件
|
|
443
|
-
* @param conditions
|
|
444
|
-
* @param name
|
|
445
|
-
*/
|
|
446
|
-
export declare function analysisField(conditions: SearchParams[], name: string): SearchParams;
|
|
447
|
-
|
|
448
473
|
/**
|
|
449
474
|
* 公共Api接口
|
|
450
475
|
* @param appName 应用名称
|
|
@@ -690,11 +715,6 @@ isDesign: boolean;
|
|
|
690
715
|
parentField: Record<string, any>;
|
|
691
716
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
692
717
|
|
|
693
|
-
/**
|
|
694
|
-
* 升序或者降序
|
|
695
|
-
*/
|
|
696
|
-
export declare function ascOrDesc(): SelectOption[];
|
|
697
|
-
|
|
698
718
|
export declare const audioItem: DefineComponent<ExtractPropTypes< {
|
|
699
719
|
isDesign: {
|
|
700
720
|
type: BooleanConstructor;
|
|
@@ -1008,6 +1028,10 @@ export declare interface BatchFieldInfo {
|
|
|
1008
1028
|
* 还是单表的批量处理
|
|
1009
1029
|
*/
|
|
1010
1030
|
subFormFlag?: string;
|
|
1031
|
+
/**
|
|
1032
|
+
* 表单标识,如果需要作为form表单显示,则需要将该属性设置为Y
|
|
1033
|
+
*/
|
|
1034
|
+
formFlag?: string;
|
|
1011
1035
|
}
|
|
1012
1036
|
|
|
1013
1037
|
/**
|
|
@@ -1575,20 +1599,6 @@ isDesign: boolean;
|
|
|
1575
1599
|
parentField: Record<string, any>;
|
|
1576
1600
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1577
1601
|
|
|
1578
|
-
/**
|
|
1579
|
-
* 公共数据格式化
|
|
1580
|
-
* @param _row
|
|
1581
|
-
* @param column
|
|
1582
|
-
* @param cellValue
|
|
1583
|
-
* @param _index
|
|
1584
|
-
*/
|
|
1585
|
-
export declare function commonDataFormat(_row: any, column: any, cellValue: any, _index: number): any;
|
|
1586
|
-
|
|
1587
|
-
/**
|
|
1588
|
-
* 公共字段
|
|
1589
|
-
*/
|
|
1590
|
-
export declare function commonField(): FieldInfo[];
|
|
1591
|
-
|
|
1592
1602
|
/**
|
|
1593
1603
|
* 数据格式化
|
|
1594
1604
|
* @param name
|
|
@@ -1707,14 +1717,6 @@ export declare function createDatetime(val: any, isDateTime?: boolean, needSecon
|
|
|
1707
1717
|
*/
|
|
1708
1718
|
export declare function createFilter(queryString: string): Promise<(restaurant: SelectOption) => number>;
|
|
1709
1719
|
|
|
1710
|
-
/**
|
|
1711
|
-
* 创建关联条件
|
|
1712
|
-
* @param leftFieldName 左表字段名称
|
|
1713
|
-
* @param rightFieldName 右表字段名称
|
|
1714
|
-
* @param matchType 匹配方式
|
|
1715
|
-
*/
|
|
1716
|
-
export declare function createJoinCondition(leftFieldName: string, rightFieldName: string, matchType?: string): JoinSearchParams;
|
|
1717
|
-
|
|
1718
1720
|
/**
|
|
1719
1721
|
* 构建菜单树
|
|
1720
1722
|
* @param data
|
|
@@ -2196,11 +2198,6 @@ declare interface DataSelectorProps {
|
|
|
2196
2198
|
style?: CSSProperties;
|
|
2197
2199
|
}
|
|
2198
2200
|
|
|
2199
|
-
/**
|
|
2200
|
-
* 数据格式
|
|
2201
|
-
*/
|
|
2202
|
-
export declare function dataType(): SelectOption[];
|
|
2203
|
-
|
|
2204
2201
|
/**
|
|
2205
2202
|
* 将日期解析为字符串
|
|
2206
2203
|
* @param date
|
|
@@ -2646,14 +2643,6 @@ export declare function download(url: string, param: any): Promise<unknown>;
|
|
|
2646
2643
|
*/
|
|
2647
2644
|
export declare function downloadData(data: any, name: string): void;
|
|
2648
2645
|
|
|
2649
|
-
/**
|
|
2650
|
-
* 下载文件
|
|
2651
|
-
* @param fileUrl 文件路径
|
|
2652
|
-
* @param fileName 文件名称
|
|
2653
|
-
* @param method 请求方式
|
|
2654
|
-
*/
|
|
2655
|
-
export declare function downloadFile(fileUrl: string, fileName: string, method?: string): Promise<unknown>;
|
|
2656
|
-
|
|
2657
2646
|
export declare interface DyCompField {
|
|
2658
2647
|
name: string;
|
|
2659
2648
|
template: any;
|
|
@@ -3011,21 +3000,6 @@ export declare interface FieldMapping {
|
|
|
3011
3000
|
distField: string;
|
|
3012
3001
|
}
|
|
3013
3002
|
|
|
3014
|
-
/**
|
|
3015
|
-
* 动态过滤数据
|
|
3016
|
-
* @param search
|
|
3017
|
-
* @param menusList
|
|
3018
|
-
*/
|
|
3019
|
-
export declare function filterTree(search: any, menusList: MenusInfo[]): MenusInfo[];
|
|
3020
|
-
|
|
3021
|
-
/**
|
|
3022
|
-
* 根据值,遍历树,找到满足条件的数据
|
|
3023
|
-
* @param nodes
|
|
3024
|
-
* @param valueFieldName
|
|
3025
|
-
* @param value
|
|
3026
|
-
*/
|
|
3027
|
-
export declare function findNodesWithValue(nodes: Array<any>, valueFieldName: string, value: any): any[];
|
|
3028
|
-
|
|
3029
3003
|
/**
|
|
3030
3004
|
* 解析表单字段映射
|
|
3031
3005
|
* @param fieldList
|
|
@@ -3057,11 +3031,6 @@ export declare function getMenuId(): string;
|
|
|
3057
3031
|
*/
|
|
3058
3032
|
export declare function getRequest(url: string): Promise<AxiosResponse<any, any>>;
|
|
3059
3033
|
|
|
3060
|
-
/**
|
|
3061
|
-
* 获取系统验证码
|
|
3062
|
-
*/
|
|
3063
|
-
export declare function getValidateImg(): Promise<AxiosResponse<any, any>>;
|
|
3064
|
-
|
|
3065
3034
|
export declare const htmleditorItem: DefineComponent<ExtractPropTypes< {
|
|
3066
3035
|
isDesign: {
|
|
3067
3036
|
type: BooleanConstructor;
|
|
@@ -3226,11 +3195,6 @@ isDesign: boolean;
|
|
|
3226
3195
|
parentField: Record<string, any>;
|
|
3227
3196
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3228
3197
|
|
|
3229
|
-
/**
|
|
3230
|
-
* 请求方式
|
|
3231
|
-
*/
|
|
3232
|
-
export declare function httpMethod(): SelectOption[];
|
|
3233
|
-
|
|
3234
3198
|
/**
|
|
3235
3199
|
* Request 请求
|
|
3236
3200
|
* @param url 请求地址
|
|
@@ -3406,12 +3370,6 @@ isDesign: boolean;
|
|
|
3406
3370
|
parentField: Record<string, any>;
|
|
3407
3371
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3408
3372
|
|
|
3409
|
-
/**
|
|
3410
|
-
* 预览图片
|
|
3411
|
-
* @param images
|
|
3412
|
-
*/
|
|
3413
|
-
export declare function imagesPreview(images: Array<string> | string): void;
|
|
3414
|
-
|
|
3415
3373
|
/**
|
|
3416
3374
|
* 批量添加时的导入信息
|
|
3417
3375
|
*/
|
|
@@ -3704,12 +3662,13 @@ onDataLoaded?: (...args: any[]) => any;
|
|
|
3704
3662
|
onExportData?: (...args: any[]) => any;
|
|
3705
3663
|
onRemoveRow?: (...args: any[]) => any;
|
|
3706
3664
|
onAddRow?: (...args: any[]) => any;
|
|
3665
|
+
onInited?: (...args: any[]) => any;
|
|
3707
3666
|
}>, {
|
|
3708
3667
|
merge: (type: string) => void;
|
|
3709
3668
|
mergeDraft: (type: string) => void;
|
|
3710
3669
|
resetForm: () => void;
|
|
3711
3670
|
setFormData: (data: any) => void;
|
|
3712
|
-
getFormData: () => Ref<
|
|
3671
|
+
getFormData: () => Ref<any, any>;
|
|
3713
3672
|
updateFormData: (data: any) => void;
|
|
3714
3673
|
starHorseFormRef: Ref<any, any>;
|
|
3715
3674
|
tableListRef: Ref<any, any>;
|
|
@@ -3719,6 +3678,7 @@ dataLoaded: (...args: any[]) => void;
|
|
|
3719
3678
|
exportData: (...args: any[]) => void;
|
|
3720
3679
|
removeRow: (...args: any[]) => void;
|
|
3721
3680
|
addRow: (...args: any[]) => void;
|
|
3681
|
+
inited: (...args: any[]) => void;
|
|
3722
3682
|
}, PublicProps, {
|
|
3723
3683
|
batchName: string;
|
|
3724
3684
|
labelPosition: string;
|
|
@@ -3809,12 +3769,13 @@ onDataLoaded?: (...args: any[]) => any;
|
|
|
3809
3769
|
onExportData?: (...args: any[]) => any;
|
|
3810
3770
|
onRemoveRow?: (...args: any[]) => any;
|
|
3811
3771
|
onAddRow?: (...args: any[]) => any;
|
|
3772
|
+
onInited?: (...args: any[]) => any;
|
|
3812
3773
|
}>, {
|
|
3813
3774
|
merge: (type: string) => void;
|
|
3814
3775
|
mergeDraft: (type: string) => void;
|
|
3815
3776
|
resetForm: () => void;
|
|
3816
3777
|
setFormData: (data: any) => void;
|
|
3817
|
-
getFormData: () => Ref<
|
|
3778
|
+
getFormData: () => Ref<any, any>;
|
|
3818
3779
|
updateFormData: (data: any) => void;
|
|
3819
3780
|
starHorseFormRef: Ref<any, any>;
|
|
3820
3781
|
tableListRef: Ref<any, any>;
|
|
@@ -3983,12 +3944,13 @@ onDataLoaded?: (...args: any[]) => any;
|
|
|
3983
3944
|
onExportData?: (...args: any[]) => any;
|
|
3984
3945
|
onRemoveRow?: (...args: any[]) => any;
|
|
3985
3946
|
onAddRow?: (...args: any[]) => any;
|
|
3947
|
+
onInited?: (...args: any[]) => any;
|
|
3986
3948
|
}>, {
|
|
3987
3949
|
merge: (type: string) => void;
|
|
3988
3950
|
mergeDraft: (type: string) => void;
|
|
3989
3951
|
resetForm: () => void;
|
|
3990
3952
|
setFormData: (data: any) => void;
|
|
3991
|
-
getFormData: () => Ref<
|
|
3953
|
+
getFormData: () => Ref<any, any>;
|
|
3992
3954
|
updateFormData: (data: any) => void;
|
|
3993
3955
|
starHorseFormRef: Ref<any, any>;
|
|
3994
3956
|
tableListRef: Ref<any, any>;
|
|
@@ -3998,6 +3960,7 @@ dataLoaded: (...args: any[]) => void;
|
|
|
3998
3960
|
exportData: (...args: any[]) => void;
|
|
3999
3961
|
removeRow: (...args: any[]) => void;
|
|
4000
3962
|
addRow: (...args: any[]) => void;
|
|
3963
|
+
inited: (...args: any[]) => void;
|
|
4001
3964
|
}, PublicProps, {
|
|
4002
3965
|
batchName: string;
|
|
4003
3966
|
labelPosition: string;
|
|
@@ -4088,12 +4051,13 @@ onDataLoaded?: (...args: any[]) => any;
|
|
|
4088
4051
|
onExportData?: (...args: any[]) => any;
|
|
4089
4052
|
onRemoveRow?: (...args: any[]) => any;
|
|
4090
4053
|
onAddRow?: (...args: any[]) => any;
|
|
4054
|
+
onInited?: (...args: any[]) => any;
|
|
4091
4055
|
}>, {
|
|
4092
4056
|
merge: (type: string) => void;
|
|
4093
4057
|
mergeDraft: (type: string) => void;
|
|
4094
4058
|
resetForm: () => void;
|
|
4095
4059
|
setFormData: (data: any) => void;
|
|
4096
|
-
getFormData: () => Ref<
|
|
4060
|
+
getFormData: () => Ref<any, any>;
|
|
4097
4061
|
updateFormData: (data: any) => void;
|
|
4098
4062
|
starHorseFormRef: Ref<any, any>;
|
|
4099
4063
|
tableListRef: Ref<any, any>;
|
|
@@ -4123,18 +4087,6 @@ export declare function load(msg: string, defaultTarget?: string): void;
|
|
|
4123
4087
|
*/
|
|
4124
4088
|
export declare function loadById(url: string, id: any, params?: any): Promise<any>;
|
|
4125
4089
|
|
|
4126
|
-
/**
|
|
4127
|
-
* 加载已配置的菜单
|
|
4128
|
-
* @param param
|
|
4129
|
-
*/
|
|
4130
|
-
export declare function loadConfigedMenus(param: Array<object>): Promise<AxiosResponse<any, any>>;
|
|
4131
|
-
|
|
4132
|
-
/**
|
|
4133
|
-
* 加载所有主体信息
|
|
4134
|
-
* @param params 查询参数
|
|
4135
|
-
*/
|
|
4136
|
-
export declare function loadCustomInfo(params: any): Promise<SelectOption[]>;
|
|
4137
|
-
|
|
4138
4090
|
/**
|
|
4139
4091
|
* 加载Post 数据
|
|
4140
4092
|
* @param url 接口地址
|
|
@@ -4146,27 +4098,6 @@ export declare function loadData(url: string, params: SearchParams[] | any, orde
|
|
|
4146
4098
|
error: string;
|
|
4147
4099
|
}>;
|
|
4148
4100
|
|
|
4149
|
-
/**
|
|
4150
|
-
* 加载部门信息
|
|
4151
|
-
* @param param 查询参数
|
|
4152
|
-
*/
|
|
4153
|
-
export declare function loadDepartmentInfo(param: any): Promise<any>;
|
|
4154
|
-
|
|
4155
|
-
/**
|
|
4156
|
-
* 获取部门信息
|
|
4157
|
-
* @param param
|
|
4158
|
-
*/
|
|
4159
|
-
export declare function loadDepartments(param: Array<object>): Promise<{
|
|
4160
|
-
redata: any[];
|
|
4161
|
-
errMsg: any;
|
|
4162
|
-
}>;
|
|
4163
|
-
|
|
4164
|
-
/**
|
|
4165
|
-
* 获取数据字典
|
|
4166
|
-
* @param dictName
|
|
4167
|
-
*/
|
|
4168
|
-
export declare function loadDict(dictName: string): Promise<SelectOption[]>;
|
|
4169
|
-
|
|
4170
4101
|
/**
|
|
4171
4102
|
* 加载ElementPlus 提供的官方矢量图标
|
|
4172
4103
|
*/
|
|
@@ -4182,55 +4113,11 @@ export declare function loadGetData(url: string): Promise<{
|
|
|
4182
4113
|
error: string;
|
|
4183
4114
|
}>;
|
|
4184
4115
|
|
|
4185
|
-
/**
|
|
4186
|
-
* 加载菜单数据
|
|
4187
|
-
* @param direct
|
|
4188
|
-
* @param params
|
|
4189
|
-
* @param needSystem
|
|
4190
|
-
*/
|
|
4191
|
-
export declare function loadMenusInfo(direct: boolean, params: any, needSystem: boolean): Promise<any>;
|
|
4192
|
-
|
|
4193
|
-
/**
|
|
4194
|
-
* 加载权限
|
|
4195
|
-
* @param menuId 菜单id
|
|
4196
|
-
*/
|
|
4197
|
-
export declare function loadPagePermission(menuId: string): Promise<any>;
|
|
4198
|
-
|
|
4199
|
-
/**
|
|
4200
|
-
* 获取下拉数据
|
|
4201
|
-
* @param param
|
|
4202
|
-
*/
|
|
4203
|
-
export declare function loadRoleDatas(param: Array<object>): Promise<{
|
|
4204
|
-
redata: any[];
|
|
4205
|
-
errMsg: any;
|
|
4206
|
-
}>;
|
|
4207
|
-
|
|
4208
|
-
/**
|
|
4209
|
-
* 获取角色信息
|
|
4210
|
-
* @param param
|
|
4211
|
-
*/
|
|
4212
|
-
export declare function loadRolesInfo(param: any): Promise<SelectOption[]>;
|
|
4213
|
-
|
|
4214
4116
|
/**
|
|
4215
4117
|
* 自定义的svg图标
|
|
4216
4118
|
*/
|
|
4217
4119
|
export declare function loadSvgIcons(): any[];
|
|
4218
4120
|
|
|
4219
|
-
/**
|
|
4220
|
-
* 加载所有系统信息
|
|
4221
|
-
* @param params 查询参数
|
|
4222
|
-
*/
|
|
4223
|
-
export declare function loadSystemInfo(params: any): Promise<SelectOption[]>;
|
|
4224
|
-
|
|
4225
|
-
/**
|
|
4226
|
-
* 获取部门信息
|
|
4227
|
-
* @param param
|
|
4228
|
-
*/
|
|
4229
|
-
export declare function loadSystems(param: Array<object>): Promise<{
|
|
4230
|
-
redata: any[];
|
|
4231
|
-
errMsg: any;
|
|
4232
|
-
}>;
|
|
4233
|
-
|
|
4234
4121
|
export declare const markdownItem: DefineComponent<ExtractPropTypes< {
|
|
4235
4122
|
isDesign: {
|
|
4236
4123
|
type: BooleanConstructor;
|
|
@@ -4346,20 +4233,6 @@ export declare interface MenusInfo {
|
|
|
4346
4233
|
*/
|
|
4347
4234
|
export declare const message: (msg: string, type?: any, duration?: number, title?: string, position?: any) => void;
|
|
4348
4235
|
|
|
4349
|
-
export declare const MessageItem: DefineComponent<ExtractPropTypes< {
|
|
4350
|
-
compSize: {
|
|
4351
|
-
type: StringConstructor;
|
|
4352
|
-
default: string;
|
|
4353
|
-
};
|
|
4354
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
4355
|
-
compSize: {
|
|
4356
|
-
type: StringConstructor;
|
|
4357
|
-
default: string;
|
|
4358
|
-
};
|
|
4359
|
-
}>> & Readonly<{}>, {
|
|
4360
|
-
compSize: string;
|
|
4361
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4362
|
-
|
|
4363
4236
|
/**
|
|
4364
4237
|
* Meta 信息
|
|
4365
4238
|
*/
|
|
@@ -4793,13 +4666,6 @@ starHorseTableCompRef: unknown;
|
|
|
4793
4666
|
*/
|
|
4794
4667
|
export declare function parseDateByType(val: any, type: string, needSecond?: boolean, split?: string): any;
|
|
4795
4668
|
|
|
4796
|
-
/**
|
|
4797
|
-
* 解析属性
|
|
4798
|
-
* @param dataList
|
|
4799
|
-
* @param name
|
|
4800
|
-
*/
|
|
4801
|
-
export declare function parseFormData(dataList: any, name: string): any;
|
|
4802
|
-
|
|
4803
4669
|
export declare const passwordItem: DefineComponent<ExtractPropTypes< {
|
|
4804
4670
|
isDesign: {
|
|
4805
4671
|
type: BooleanConstructor;
|
|
@@ -4882,15 +4748,6 @@ isDesign: boolean;
|
|
|
4882
4748
|
parentField: Record<string, any>;
|
|
4883
4749
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4884
4750
|
|
|
4885
|
-
/**
|
|
4886
|
-
* 一次性加载用户权限菜单
|
|
4887
|
-
* @param data
|
|
4888
|
-
* @param sysId
|
|
4889
|
-
*/
|
|
4890
|
-
export declare function permissionMenus(data: any, sysId: string): Promise<AxiosResponse<any, any>>;
|
|
4891
|
-
|
|
4892
|
-
export declare function permissionResources(data: any): Promise<any>;
|
|
4893
|
-
|
|
4894
4751
|
export declare const piniaInstance: Pinia;
|
|
4895
4752
|
|
|
4896
4753
|
/**
|
|
@@ -4900,11 +4757,6 @@ export declare const piniaInstance: Pinia;
|
|
|
4900
4757
|
*/
|
|
4901
4758
|
export declare function postRequest(url: string, data: Array<any> | any): Promise<AxiosResponse<any, any>>;
|
|
4902
4759
|
|
|
4903
|
-
/**
|
|
4904
|
-
* 获取打印机列表
|
|
4905
|
-
*/
|
|
4906
|
-
export declare function printerList(): Promise<Array<SelectOption>>;
|
|
4907
|
-
|
|
4908
4760
|
export declare const qrcodeItem: DefineComponent<ExtractPropTypes< {
|
|
4909
4761
|
isDesign: {
|
|
4910
4762
|
type: BooleanConstructor;
|
|
@@ -5151,28 +5003,6 @@ isDesign: boolean;
|
|
|
5151
5003
|
parentField: Record<string, any>;
|
|
5152
5004
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
5153
5005
|
|
|
5154
|
-
/**
|
|
5155
|
-
* 通过系统重定向接口
|
|
5156
|
-
* @param url 接口地址
|
|
5157
|
-
* @param params 参数
|
|
5158
|
-
* @param searchInfo 查询信息
|
|
5159
|
-
* @param dataType 请求数据类型
|
|
5160
|
-
* @param httpMethod 请求类型
|
|
5161
|
-
*/
|
|
5162
|
-
export declare function redirectUrlOperation(url: string, searchInfo?: SearchInfo, params?: any, dataType?: string, httpMethod?: string): Promise<{
|
|
5163
|
-
data: any;
|
|
5164
|
-
error: string;
|
|
5165
|
-
}>;
|
|
5166
|
-
|
|
5167
|
-
/**
|
|
5168
|
-
* 获取关联属性逻辑
|
|
5169
|
-
* @param formFields 表单属性
|
|
5170
|
-
* @param fieldName 属性名称
|
|
5171
|
-
* @param batchName 关联Key 如果有
|
|
5172
|
-
* @param xh 列序号
|
|
5173
|
-
*/
|
|
5174
|
-
export declare function relationFieldOperation(formFields: any, fieldName: string, batchName: string | null, xh: number | null): any;
|
|
5175
|
-
|
|
5176
5006
|
/**
|
|
5177
5007
|
* 删除查询条件中出现的空值和空对象
|
|
5178
5008
|
* @param condition
|
|
@@ -5186,12 +5016,6 @@ export declare function removeEmptyCondition(condition: SearchParams[]): SearchP
|
|
|
5186
5016
|
*/
|
|
5187
5017
|
export declare function rowClassName({ row, rowIndex }: any): void;
|
|
5188
5018
|
|
|
5189
|
-
/**
|
|
5190
|
-
* 加载二维码
|
|
5191
|
-
* @param content
|
|
5192
|
-
*/
|
|
5193
|
-
export declare function rtCode(content: string): Promise<string>;
|
|
5194
|
-
|
|
5195
5019
|
export declare interface RuleType {
|
|
5196
5020
|
/**
|
|
5197
5021
|
* 批量表单属性,该属性对应的数据默认是其它表的数据,
|
|
@@ -5377,13 +5201,6 @@ isDesign: boolean;
|
|
|
5377
5201
|
parentField: Record<string, any>;
|
|
5378
5202
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
5379
5203
|
|
|
5380
|
-
/**
|
|
5381
|
-
* 菜单选择树
|
|
5382
|
-
* @param data
|
|
5383
|
-
* @returns {[]}
|
|
5384
|
-
*/
|
|
5385
|
-
export declare function selectMenusTreeData(data: any): any;
|
|
5386
|
-
|
|
5387
5204
|
export declare type SelectOption = {
|
|
5388
5205
|
name?: string;
|
|
5389
5206
|
value?: string | number;
|
|
@@ -5391,24 +5208,6 @@ export declare type SelectOption = {
|
|
|
5391
5208
|
children?: SelectOption[] | Ref<SelectOption[]>;
|
|
5392
5209
|
};
|
|
5393
5210
|
|
|
5394
|
-
/**
|
|
5395
|
-
* 设置css 全局变量
|
|
5396
|
-
* @param name 变量名称
|
|
5397
|
-
* @param val 变量值
|
|
5398
|
-
* @param dom
|
|
5399
|
-
*/
|
|
5400
|
-
export declare function setCssVar(name: string, val: any, dom?: HTMLElement): void;
|
|
5401
|
-
|
|
5402
|
-
declare type ShapeInfo = {
|
|
5403
|
-
viewBox: number[];
|
|
5404
|
-
path: string;
|
|
5405
|
-
title?: string;
|
|
5406
|
-
name?: string;
|
|
5407
|
-
pathFormula?: any;
|
|
5408
|
-
special?: boolean;
|
|
5409
|
-
outlined?: boolean;
|
|
5410
|
-
};
|
|
5411
|
-
|
|
5412
5211
|
export declare const ShDynamicForm: DefineComponent<ExtractPropTypes< {
|
|
5413
5212
|
compUrl: {
|
|
5414
5213
|
type: PropType<ApiUrls>;
|
|
@@ -5507,7 +5306,7 @@ type: ObjectConstructor;
|
|
|
5507
5306
|
required: true;
|
|
5508
5307
|
};
|
|
5509
5308
|
item: {
|
|
5510
|
-
type:
|
|
5309
|
+
type: PropType<any>;
|
|
5511
5310
|
required: true;
|
|
5512
5311
|
};
|
|
5513
5312
|
staticColumn: {
|
|
@@ -5538,7 +5337,7 @@ type: ObjectConstructor;
|
|
|
5538
5337
|
required: true;
|
|
5539
5338
|
};
|
|
5540
5339
|
item: {
|
|
5541
|
-
type:
|
|
5340
|
+
type: PropType<any>;
|
|
5542
5341
|
required: true;
|
|
5543
5342
|
};
|
|
5544
5343
|
staticColumn: {
|
|
@@ -6012,7 +5811,7 @@ batchFieldName: string;
|
|
|
6012
5811
|
|
|
6013
5812
|
export declare const StarHorseDataViewTable: DefineComponent<ExtractPropTypes< {
|
|
6014
5813
|
item: {
|
|
6015
|
-
type: PropType<Array<FieldInfo
|
|
5814
|
+
type: PropType<Array<FieldInfo> | any>;
|
|
6016
5815
|
required: true;
|
|
6017
5816
|
};
|
|
6018
5817
|
batchName: {
|
|
@@ -6034,7 +5833,7 @@ type: PropType<any>;
|
|
|
6034
5833
|
"update:dataForm": (value: any) => any;
|
|
6035
5834
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
6036
5835
|
item: {
|
|
6037
|
-
type: PropType<Array<FieldInfo
|
|
5836
|
+
type: PropType<Array<FieldInfo> | any>;
|
|
6038
5837
|
required: true;
|
|
6039
5838
|
};
|
|
6040
5839
|
batchName: {
|
|
@@ -6168,7 +5967,7 @@ merge: (type: string) => void;
|
|
|
6168
5967
|
mergeDraft: (type: string) => void;
|
|
6169
5968
|
resetForm: () => void;
|
|
6170
5969
|
setFormData: (data: any) => void;
|
|
6171
|
-
getFormData: () => Ref<
|
|
5970
|
+
getFormData: () => Ref<any, any>;
|
|
6172
5971
|
updateFormData: (data: any) => void;
|
|
6173
5972
|
starHorseFormRef: Ref<any, any>;
|
|
6174
5973
|
tableListRef: Ref<any, any>;
|
|
@@ -6178,6 +5977,7 @@ dataLoaded: (...args: any[]) => void;
|
|
|
6178
5977
|
exportData: (...args: any[]) => void;
|
|
6179
5978
|
removeRow: (...args: any[]) => void;
|
|
6180
5979
|
addRow: (...args: any[]) => void;
|
|
5980
|
+
inited: (...args: any[]) => void;
|
|
6181
5981
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
6182
5982
|
compUrl: {
|
|
6183
5983
|
type: PropType<ApiUrls>;
|
|
@@ -6251,6 +6051,7 @@ onDataLoaded?: (...args: any[]) => any;
|
|
|
6251
6051
|
onExportData?: (...args: any[]) => any;
|
|
6252
6052
|
onRemoveRow?: (...args: any[]) => any;
|
|
6253
6053
|
onAddRow?: (...args: any[]) => any;
|
|
6054
|
+
onInited?: (...args: any[]) => any;
|
|
6254
6055
|
}>, {
|
|
6255
6056
|
batchName: string;
|
|
6256
6057
|
labelPosition: string;
|
|
@@ -6449,6 +6250,7 @@ type: PropType<any>;
|
|
|
6449
6250
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6450
6251
|
removeRow: (...args: any[]) => void;
|
|
6451
6252
|
addRow: (...args: any[]) => void;
|
|
6253
|
+
inited: (...args: any[]) => void;
|
|
6452
6254
|
"update:dataForm": (value: any) => void;
|
|
6453
6255
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
6454
6256
|
compUrl: {
|
|
@@ -6518,6 +6320,7 @@ type: PropType<any>;
|
|
|
6518
6320
|
"onUpdate:dataForm"?: (value: any) => any;
|
|
6519
6321
|
onRemoveRow?: (...args: any[]) => any;
|
|
6520
6322
|
onAddRow?: (...args: any[]) => any;
|
|
6323
|
+
onInited?: (...args: any[]) => any;
|
|
6521
6324
|
}>, {
|
|
6522
6325
|
title: string;
|
|
6523
6326
|
size: string;
|
|
@@ -6604,12 +6407,13 @@ onDataLoaded?: (...args: any[]) => any;
|
|
|
6604
6407
|
onExportData?: (...args: any[]) => any;
|
|
6605
6408
|
onRemoveRow?: (...args: any[]) => any;
|
|
6606
6409
|
onAddRow?: (...args: any[]) => any;
|
|
6410
|
+
onInited?: (...args: any[]) => any;
|
|
6607
6411
|
}>, {
|
|
6608
6412
|
merge: (type: string) => void;
|
|
6609
6413
|
mergeDraft: (type: string) => void;
|
|
6610
6414
|
resetForm: () => void;
|
|
6611
6415
|
setFormData: (data: any) => void;
|
|
6612
|
-
getFormData: () => Ref<
|
|
6416
|
+
getFormData: () => Ref<any, any>;
|
|
6613
6417
|
updateFormData: (data: any) => void;
|
|
6614
6418
|
starHorseFormRef: Ref<any, any>;
|
|
6615
6419
|
tableListRef: Ref<any, any>;
|
|
@@ -6619,6 +6423,7 @@ dataLoaded: (...args: any[]) => void;
|
|
|
6619
6423
|
exportData: (...args: any[]) => void;
|
|
6620
6424
|
removeRow: (...args: any[]) => void;
|
|
6621
6425
|
addRow: (...args: any[]) => void;
|
|
6426
|
+
inited: (...args: any[]) => void;
|
|
6622
6427
|
}, PublicProps, {
|
|
6623
6428
|
batchName: string;
|
|
6624
6429
|
labelPosition: string;
|
|
@@ -6709,12 +6514,13 @@ onDataLoaded?: (...args: any[]) => any;
|
|
|
6709
6514
|
onExportData?: (...args: any[]) => any;
|
|
6710
6515
|
onRemoveRow?: (...args: any[]) => any;
|
|
6711
6516
|
onAddRow?: (...args: any[]) => any;
|
|
6517
|
+
onInited?: (...args: any[]) => any;
|
|
6712
6518
|
}>, {
|
|
6713
6519
|
merge: (type: string) => void;
|
|
6714
6520
|
mergeDraft: (type: string) => void;
|
|
6715
6521
|
resetForm: () => void;
|
|
6716
6522
|
setFormData: (data: any) => void;
|
|
6717
|
-
getFormData: () => Ref<
|
|
6523
|
+
getFormData: () => Ref<any, any>;
|
|
6718
6524
|
updateFormData: (data: any) => void;
|
|
6719
6525
|
starHorseFormRef: Ref<any, any>;
|
|
6720
6526
|
tableListRef: Ref<any, any>;
|
|
@@ -6732,7 +6538,7 @@ starHorseFormListRef: unknown;
|
|
|
6732
6538
|
|
|
6733
6539
|
export declare const StarHorseFormTable: DefineComponent<ExtractPropTypes< {
|
|
6734
6540
|
item: {
|
|
6735
|
-
type:
|
|
6541
|
+
type: PropType<any>;
|
|
6736
6542
|
required: true;
|
|
6737
6543
|
};
|
|
6738
6544
|
rules: {
|
|
@@ -6755,7 +6561,7 @@ addRow: (...args: any[]) => void;
|
|
|
6755
6561
|
"update:dataForm": (value: any) => void;
|
|
6756
6562
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
6757
6563
|
item: {
|
|
6758
|
-
type:
|
|
6564
|
+
type: PropType<any>;
|
|
6759
6565
|
required: true;
|
|
6760
6566
|
};
|
|
6761
6567
|
rules: {
|
|
@@ -6783,7 +6589,11 @@ initRows: number;
|
|
|
6783
6589
|
currentTableRef: unknown;
|
|
6784
6590
|
}, any>;
|
|
6785
6591
|
|
|
6786
|
-
export declare const StarHorseHmenu: DefineComponent<
|
|
6592
|
+
export declare const StarHorseHmenu: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6593
|
+
"update:dataList": (value: any) => any;
|
|
6594
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
6595
|
+
"onUpdate:dataList"?: (value: any) => any;
|
|
6596
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
6787
6597
|
|
|
6788
6598
|
export declare const StarHorseIcon: DefineComponent<ExtractPropTypes< {
|
|
6789
6599
|
iconClass: {
|
|
@@ -6875,13 +6685,13 @@ type: StringConstructor;
|
|
|
6875
6685
|
default: string;
|
|
6876
6686
|
};
|
|
6877
6687
|
modelValue: {
|
|
6878
|
-
type: PropType<
|
|
6688
|
+
type: PropType< {}>;
|
|
6879
6689
|
};
|
|
6880
6690
|
}>, {
|
|
6881
6691
|
editor: Ref<any, any>;
|
|
6882
6692
|
setEditorContent: (value: any) => void;
|
|
6883
6693
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6884
|
-
"update:modelValue": (value:
|
|
6694
|
+
"update:modelValue": (value: {}) => any;
|
|
6885
6695
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
6886
6696
|
options: {
|
|
6887
6697
|
type: ObjectConstructor;
|
|
@@ -6899,10 +6709,10 @@ type: StringConstructor;
|
|
|
6899
6709
|
default: string;
|
|
6900
6710
|
};
|
|
6901
6711
|
modelValue: {
|
|
6902
|
-
type: PropType<
|
|
6712
|
+
type: PropType< {}>;
|
|
6903
6713
|
};
|
|
6904
6714
|
}>> & Readonly<{
|
|
6905
|
-
"onUpdate:modelValue"?: (value:
|
|
6715
|
+
"onUpdate:modelValue"?: (value: {}) => any;
|
|
6906
6716
|
}>, {
|
|
6907
6717
|
currentMode: string;
|
|
6908
6718
|
modeList: unknown[];
|
|
@@ -7340,7 +7150,7 @@ type: NumberConstructor;
|
|
|
7340
7150
|
default: number;
|
|
7341
7151
|
};
|
|
7342
7152
|
data: {
|
|
7343
|
-
type: PropType<
|
|
7153
|
+
type: PropType<any>;
|
|
7344
7154
|
default: {};
|
|
7345
7155
|
};
|
|
7346
7156
|
borderOffset: {
|
|
@@ -7388,7 +7198,7 @@ type: NumberConstructor;
|
|
|
7388
7198
|
default: number;
|
|
7389
7199
|
};
|
|
7390
7200
|
data: {
|
|
7391
|
-
type: PropType<
|
|
7201
|
+
type: PropType<any>;
|
|
7392
7202
|
default: {};
|
|
7393
7203
|
};
|
|
7394
7204
|
borderOffset: {
|
|
@@ -7417,7 +7227,7 @@ default: string;
|
|
|
7417
7227
|
};
|
|
7418
7228
|
}>> & Readonly<{}>, {
|
|
7419
7229
|
title: string;
|
|
7420
|
-
data:
|
|
7230
|
+
data: any;
|
|
7421
7231
|
size: string;
|
|
7422
7232
|
width: number;
|
|
7423
7233
|
color: string;
|
|
@@ -7618,6 +7428,17 @@ hideButtonList: {
|
|
|
7618
7428
|
type: BooleanConstructor;
|
|
7619
7429
|
default: boolean;
|
|
7620
7430
|
};
|
|
7431
|
+
/**
|
|
7432
|
+
* 数据共享人
|
|
7433
|
+
* 拿到别人共享的信息
|
|
7434
|
+
* let resultData = await loadData('/system-config/system/dataPermission/currentMenuPermissionPerson', {});
|
|
7435
|
+
* 上面接口主要返回共享人的账号
|
|
7436
|
+
* commonPersons.value = resultData?.data;
|
|
7437
|
+
*/
|
|
7438
|
+
commonPersons: {
|
|
7439
|
+
type: PropType<any>;
|
|
7440
|
+
default: any[];
|
|
7441
|
+
};
|
|
7621
7442
|
btnPermissions: {
|
|
7622
7443
|
type: PropType<any>;
|
|
7623
7444
|
required: false;
|
|
@@ -7736,6 +7557,17 @@ hideButtonList: {
|
|
|
7736
7557
|
type: BooleanConstructor;
|
|
7737
7558
|
default: boolean;
|
|
7738
7559
|
};
|
|
7560
|
+
/**
|
|
7561
|
+
* 数据共享人
|
|
7562
|
+
* 拿到别人共享的信息
|
|
7563
|
+
* let resultData = await loadData('/system-config/system/dataPermission/currentMenuPermissionPerson', {});
|
|
7564
|
+
* 上面接口主要返回共享人的账号
|
|
7565
|
+
* commonPersons.value = resultData?.data;
|
|
7566
|
+
*/
|
|
7567
|
+
commonPersons: {
|
|
7568
|
+
type: PropType<any>;
|
|
7569
|
+
default: any[];
|
|
7570
|
+
};
|
|
7739
7571
|
btnPermissions: {
|
|
7740
7572
|
type: PropType<any>;
|
|
7741
7573
|
required: false;
|
|
@@ -7758,6 +7590,7 @@ multipleSelect: boolean;
|
|
|
7758
7590
|
lineHeight: string;
|
|
7759
7591
|
showSelection: boolean;
|
|
7760
7592
|
hideButtonList: boolean;
|
|
7593
|
+
commonPersons: any;
|
|
7761
7594
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
7762
7595
|
table: unknown;
|
|
7763
7596
|
starHorseTableCompRef: unknown;
|
|
@@ -7884,6 +7717,17 @@ showDropdown: {
|
|
|
7884
7717
|
type: BooleanConstructor;
|
|
7885
7718
|
default: boolean;
|
|
7886
7719
|
};
|
|
7720
|
+
/**
|
|
7721
|
+
* 数据共享人
|
|
7722
|
+
* 拿到别人共享的信息
|
|
7723
|
+
* let resultData = await loadData('/system-config/system/dataPermission/currentMenuPermissionPerson', {});
|
|
7724
|
+
* 上面接口主要返回共享人的账号
|
|
7725
|
+
* commonPersons.value = resultData?.data;
|
|
7726
|
+
*/
|
|
7727
|
+
commonPersons: {
|
|
7728
|
+
type: PropType<any>;
|
|
7729
|
+
default: any[];
|
|
7730
|
+
};
|
|
7887
7731
|
treeDatas: {
|
|
7888
7732
|
type: PropType<any>;
|
|
7889
7733
|
};
|
|
@@ -7988,6 +7832,17 @@ showDropdown: {
|
|
|
7988
7832
|
type: BooleanConstructor;
|
|
7989
7833
|
default: boolean;
|
|
7990
7834
|
};
|
|
7835
|
+
/**
|
|
7836
|
+
* 数据共享人
|
|
7837
|
+
* 拿到别人共享的信息
|
|
7838
|
+
* let resultData = await loadData('/system-config/system/dataPermission/currentMenuPermissionPerson', {});
|
|
7839
|
+
* 上面接口主要返回共享人的账号
|
|
7840
|
+
* commonPersons.value = resultData?.data;
|
|
7841
|
+
*/
|
|
7842
|
+
commonPersons: {
|
|
7843
|
+
type: PropType<any>;
|
|
7844
|
+
default: any[];
|
|
7845
|
+
};
|
|
7991
7846
|
treeDatas: {
|
|
7992
7847
|
type: PropType<any>;
|
|
7993
7848
|
};
|
|
@@ -8005,6 +7860,7 @@ preps: Record<string, any>;
|
|
|
8005
7860
|
showCheckBox: boolean;
|
|
8006
7861
|
expand: boolean;
|
|
8007
7862
|
showPageBar: boolean;
|
|
7863
|
+
commonPersons: any;
|
|
8008
7864
|
btnTitle: string;
|
|
8009
7865
|
rmvTitle: string;
|
|
8010
7866
|
btnVisible: boolean;
|
|
@@ -8202,6 +8058,10 @@ export declare interface TabFieldInfo {
|
|
|
8202
8058
|
* fieldList 是否是子表单
|
|
8203
8059
|
*/
|
|
8204
8060
|
subFormFlag: string;
|
|
8061
|
+
/**
|
|
8062
|
+
* 如果要列表显示则该属性需要设置为Y
|
|
8063
|
+
*/
|
|
8064
|
+
tableFlag: string;
|
|
8205
8065
|
/**
|
|
8206
8066
|
* 子集合Key 名称,如果配置了此名字,所有tab 下组件的数据将存入该名字下
|
|
8207
8067
|
* 该属性的使用场景是 1对1 或者1 对多关系时,tab里组件是另外一个表的情况
|
|
@@ -8720,8 +8580,6 @@ parentField: Record<string, any>;
|
|
|
8720
8580
|
|
|
8721
8581
|
export declare const toggle: (value?: boolean) => boolean;
|
|
8722
8582
|
|
|
8723
|
-
export declare const toggleDark: (val: string) => void;
|
|
8724
|
-
|
|
8725
8583
|
export declare const transferItem: DefineComponent<ExtractPropTypes< {
|
|
8726
8584
|
isDesign: {
|
|
8727
8585
|
type: BooleanConstructor;
|
|
@@ -8804,16 +8662,6 @@ isDesign: boolean;
|
|
|
8804
8662
|
parentField: Record<string, any>;
|
|
8805
8663
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
8806
8664
|
|
|
8807
|
-
/**
|
|
8808
|
-
* 点击事件
|
|
8809
|
-
* @param treeComp 树组件对象
|
|
8810
|
-
* @param tableComp 表格组件对象
|
|
8811
|
-
* @param dataForm form表单数据
|
|
8812
|
-
* @param data 树节点
|
|
8813
|
-
* @param checked
|
|
8814
|
-
*/
|
|
8815
|
-
export declare function treeCheckChange(tableComp: any, data: TreeNodeData): void;
|
|
8816
|
-
|
|
8817
8665
|
/**
|
|
8818
8666
|
* 去除空格
|
|
8819
8667
|
* @param data
|
|
@@ -9003,7 +8851,7 @@ type: BooleanConstructor;
|
|
|
9003
8851
|
default: boolean;
|
|
9004
8852
|
};
|
|
9005
8853
|
field: {
|
|
9006
|
-
type:
|
|
8854
|
+
type: PropType<any>;
|
|
9007
8855
|
default: {};
|
|
9008
8856
|
};
|
|
9009
8857
|
formFieldList: {
|
|
@@ -9043,7 +8891,7 @@ type: BooleanConstructor;
|
|
|
9043
8891
|
default: boolean;
|
|
9044
8892
|
};
|
|
9045
8893
|
field: {
|
|
9046
|
-
type:
|
|
8894
|
+
type: PropType<any>;
|
|
9047
8895
|
default: {};
|
|
9048
8896
|
};
|
|
9049
8897
|
formFieldList: {
|
|
@@ -9069,7 +8917,7 @@ onSelectItem?: (...args: any[]) => any;
|
|
|
9069
8917
|
disabled: boolean;
|
|
9070
8918
|
formFieldList: Record<string, any>;
|
|
9071
8919
|
formInfo: Record<string, any>;
|
|
9072
|
-
field:
|
|
8920
|
+
field: any;
|
|
9073
8921
|
isSearch: boolean;
|
|
9074
8922
|
bareFlag: boolean;
|
|
9075
8923
|
isDesign: boolean;
|
|
@@ -9089,6 +8937,7 @@ export declare function uploadRequest(url: string, data: Array<any>): Promise<Ax
|
|
|
9089
8937
|
export declare const useButtonPermissionStore: StoreDefinition<"buttonPermission", Pick<{
|
|
9090
8938
|
pageBtnPermisson: Ref<any, any>;
|
|
9091
8939
|
currentPermission: Ref<any, any>;
|
|
8940
|
+
setPermissionUrl: (url: string) => void;
|
|
9092
8941
|
addPermission: (menuId: string, data: any) => void;
|
|
9093
8942
|
addAllPermission: (data: any) => void;
|
|
9094
8943
|
addRoute: (route: RouteLocationNormalized) => Promise<any>;
|
|
@@ -9097,6 +8946,7 @@ cleanPermission: () => void;
|
|
|
9097
8946
|
}, "pageBtnPermisson" | "currentPermission">, Pick<{
|
|
9098
8947
|
pageBtnPermisson: Ref<any, any>;
|
|
9099
8948
|
currentPermission: Ref<any, any>;
|
|
8949
|
+
setPermissionUrl: (url: string) => void;
|
|
9100
8950
|
addPermission: (menuId: string, data: any) => void;
|
|
9101
8951
|
addAllPermission: (data: any) => void;
|
|
9102
8952
|
addRoute: (route: RouteLocationNormalized) => Promise<any>;
|
|
@@ -9105,12 +8955,13 @@ cleanPermission: () => void;
|
|
|
9105
8955
|
}, never>, Pick<{
|
|
9106
8956
|
pageBtnPermisson: Ref<any, any>;
|
|
9107
8957
|
currentPermission: Ref<any, any>;
|
|
8958
|
+
setPermissionUrl: (url: string) => void;
|
|
9108
8959
|
addPermission: (menuId: string, data: any) => void;
|
|
9109
8960
|
addAllPermission: (data: any) => void;
|
|
9110
8961
|
addRoute: (route: RouteLocationNormalized) => Promise<any>;
|
|
9111
8962
|
removePermission: (menuId: string) => void;
|
|
9112
8963
|
cleanPermission: () => void;
|
|
9113
|
-
}, "addPermission" | "addAllPermission" | "addRoute" | "removePermission" | "cleanPermission">>;
|
|
8964
|
+
}, "setPermissionUrl" | "addPermission" | "addAllPermission" | "addRoute" | "removePermission" | "cleanPermission">>;
|
|
9114
8965
|
|
|
9115
8966
|
export declare const useConsumerViewStore: StoreDefinition<"consumerView", Pick<{
|
|
9116
8967
|
tableList: Ref<any, any>;
|
|
@@ -9226,6 +9077,7 @@ componentVisible: Ref<boolean, boolean>;
|
|
|
9226
9077
|
batchEditFieldVisible: Ref<boolean, boolean>;
|
|
9227
9078
|
previewVisible: Ref<boolean, boolean>;
|
|
9228
9079
|
shortKeyDisabled: Ref<boolean, boolean>;
|
|
9080
|
+
setCurrentSubTabName: (tabName: string) => void;
|
|
9229
9081
|
selectItemById: (itemId: string) => any;
|
|
9230
9082
|
setAllFormDataList: (list: any) => void;
|
|
9231
9083
|
setSelfFormDataList: (list: any) => void;
|
|
@@ -9281,6 +9133,7 @@ componentVisible: Ref<boolean, boolean>;
|
|
|
9281
9133
|
batchEditFieldVisible: Ref<boolean, boolean>;
|
|
9282
9134
|
previewVisible: Ref<boolean, boolean>;
|
|
9283
9135
|
shortKeyDisabled: Ref<boolean, boolean>;
|
|
9136
|
+
setCurrentSubTabName: (tabName: string) => void;
|
|
9284
9137
|
selectItemById: (itemId: string) => any;
|
|
9285
9138
|
setAllFormDataList: (list: any) => void;
|
|
9286
9139
|
setSelfFormDataList: (list: any) => void;
|
|
@@ -9336,6 +9189,7 @@ componentVisible: Ref<boolean, boolean>;
|
|
|
9336
9189
|
batchEditFieldVisible: Ref<boolean, boolean>;
|
|
9337
9190
|
previewVisible: Ref<boolean, boolean>;
|
|
9338
9191
|
shortKeyDisabled: Ref<boolean, boolean>;
|
|
9192
|
+
setCurrentSubTabName: (tabName: string) => void;
|
|
9339
9193
|
selectItemById: (itemId: string) => any;
|
|
9340
9194
|
setAllFormDataList: (list: any) => void;
|
|
9341
9195
|
setSelfFormDataList: (list: any) => void;
|
|
@@ -9367,7 +9221,7 @@ setBatchEditFieldVisible: (visible: boolean) => void;
|
|
|
9367
9221
|
setPreviewVisible: (visible: boolean) => void;
|
|
9368
9222
|
setShortKeyDisabled: (disabled: boolean) => void;
|
|
9369
9223
|
getFieldDataIndex: () => number;
|
|
9370
|
-
}, "
|
|
9224
|
+
}, "setFormData" | "clearAll" | "undo" | "setCurrentSubTabName" | "selectItemById" | "setAllFormDataList" | "setSelfFormDataList" | "setFormDataList" | "setContainerList" | "addHistoryRecord" | "redo" | "selectItem" | "setRefresh" | "setSubItemId" | "setFormInfo" | "setCompList" | "loadCompNames" | "addComp" | "setIsDragging" | "setIsEdit" | "setCurrentComp" | "setCurrentItemType" | "setParentCompType" | "setCurrentItemId" | "setCurrentFormPreps" | "setDraggingItem" | "removePromise" | "setComponentVisible" | "setBatchEditFieldVisible" | "setPreviewVisible" | "setShortKeyDisabled" | "getFieldDataIndex">>;
|
|
9371
9225
|
|
|
9372
9226
|
export declare const useDesignPageStore: StoreDefinition<"designPage", Pick<{
|
|
9373
9227
|
nodeList: Ref< {
|
|
@@ -9540,7 +9394,7 @@ clearAll: () => void;
|
|
|
9540
9394
|
setIsEdit: (edit: boolean) => void;
|
|
9541
9395
|
maxZIndex: () => number;
|
|
9542
9396
|
init: () => void;
|
|
9543
|
-
}, "
|
|
9397
|
+
}, "init" | "clearAll" | "setIsEdit" | "setNodeList" | "removeNode" | "addNode" | "selectNode" | "maxZIndex">>;
|
|
9544
9398
|
|
|
9545
9399
|
export declare const useDynamicFormStore: StoreDefinition<"dynamicForm", Pick<{
|
|
9546
9400
|
dataForm: any;
|
|
@@ -9593,7 +9447,7 @@ batchRenameField: (batchName: string, sourceField: string, distField: string, ne
|
|
|
9593
9447
|
getFieldValue: (fieldName: string) => any;
|
|
9594
9448
|
getBatchFieldValue: (batchName: string, fieldName: string, rowIndex?: number) => any;
|
|
9595
9449
|
clearAll: () => void;
|
|
9596
|
-
}, "
|
|
9450
|
+
}, "setFormData" | "clearAll" | "dataForm" | "selectData" | "dataId" | "setSelectData" | "setDataId" | "addBatchData" | "delField" | "delBatchField" | "addOrUpdateField" | "batchAddOrUpdateField" | "renameField" | "batchRenameField" | "getFieldValue" | "getBatchFieldValue">>;
|
|
9597
9451
|
|
|
9598
9452
|
export declare const useGlobalConfigStore: StoreDefinition<"globalConfig", Pick<{
|
|
9599
9453
|
configFormInfo: Ref<any, any>;
|
|
@@ -9607,7 +9461,7 @@ clearAll: (isDark?: string) => void;
|
|
|
9607
9461
|
configFormInfo: Ref<any, any>;
|
|
9608
9462
|
setConfigFormInfo: (data: any) => void;
|
|
9609
9463
|
clearAll: (isDark?: string) => void;
|
|
9610
|
-
}, "
|
|
9464
|
+
}, "clearAll" | "setConfigFormInfo">>;
|
|
9611
9465
|
|
|
9612
9466
|
/**
|
|
9613
9467
|
* 用户自定义按钮
|
|
@@ -9906,6 +9760,7 @@ orOperList?: /*elided*/ any[];
|
|
|
9906
9760
|
};
|
|
9907
9761
|
staticData?: string;
|
|
9908
9762
|
subFormFlag?: string;
|
|
9763
|
+
formFlag?: string;
|
|
9909
9764
|
}[];
|
|
9910
9765
|
userTableFuncs?: {
|
|
9911
9766
|
authority?: string;
|
|
@@ -10002,6 +9857,7 @@ orOperList?: /*elided*/ any[];
|
|
|
10002
9857
|
};
|
|
10003
9858
|
staticData?: string;
|
|
10004
9859
|
subFormFlag?: string;
|
|
9860
|
+
formFlag?: string;
|
|
10005
9861
|
}[];
|
|
10006
9862
|
userTableFuncs?: {
|
|
10007
9863
|
authority?: string;
|
|
@@ -10111,6 +9967,7 @@ orOperList?: /*elided*/ any[];
|
|
|
10111
9967
|
};
|
|
10112
9968
|
staticData?: string;
|
|
10113
9969
|
subFormFlag?: string;
|
|
9970
|
+
formFlag?: string;
|
|
10114
9971
|
}[];
|
|
10115
9972
|
userTableFuncs?: {
|
|
10116
9973
|
authority?: string;
|
|
@@ -10207,6 +10064,7 @@ orOperList?: /*elided*/ any[];
|
|
|
10207
10064
|
};
|
|
10208
10065
|
staticData?: string;
|
|
10209
10066
|
subFormFlag?: string;
|
|
10067
|
+
formFlag?: string;
|
|
10210
10068
|
}[];
|
|
10211
10069
|
userTableFuncs?: {
|
|
10212
10070
|
authority?: string;
|
|
@@ -10316,6 +10174,7 @@ orOperList?: /*elided*/ any[];
|
|
|
10316
10174
|
};
|
|
10317
10175
|
staticData?: string;
|
|
10318
10176
|
subFormFlag?: string;
|
|
10177
|
+
formFlag?: string;
|
|
10319
10178
|
}[];
|
|
10320
10179
|
userTableFuncs?: {
|
|
10321
10180
|
authority?: string;
|
|
@@ -10412,6 +10271,7 @@ orOperList?: /*elided*/ any[];
|
|
|
10412
10271
|
};
|
|
10413
10272
|
staticData?: string;
|
|
10414
10273
|
subFormFlag?: string;
|
|
10274
|
+
formFlag?: string;
|
|
10415
10275
|
}[];
|
|
10416
10276
|
userTableFuncs?: {
|
|
10417
10277
|
authority?: string;
|
|
@@ -10452,7 +10312,7 @@ addFormItemList: (formItems: Array<any>) => void;
|
|
|
10452
10312
|
getFormItem: (fieldName: string) => any;
|
|
10453
10313
|
init: (fieldList: PageFieldInfo, data: any, formRef: Ref) => void;
|
|
10454
10314
|
clearAll: () => void;
|
|
10455
|
-
}, "
|
|
10315
|
+
}, "setFormInstance" | "setFormFields" | "setFormData" | "addFormItem" | "addFormItemList" | "getFormItem" | "init" | "clearAll">>;
|
|
10456
10316
|
|
|
10457
10317
|
export declare const useUserInfoStore: StoreDefinition<"userInfo", Pick<{
|
|
10458
10318
|
userInfo: Ref<any, any>;
|
|
@@ -10509,18 +10369,6 @@ export declare const useZIndex: (zIndexOverrides?: Ref<number>) => {
|
|
|
10509
10369
|
*/
|
|
10510
10370
|
export declare function uuid(): string;
|
|
10511
10371
|
|
|
10512
|
-
/**
|
|
10513
|
-
* 验证接口,并取回数据
|
|
10514
|
-
* @param url
|
|
10515
|
-
* @param params 参数
|
|
10516
|
-
* @param dataType 数据类型 FORM,JSON 默认JSON
|
|
10517
|
-
* @param httpMethod 接口请求方式 POST,GET,PUT,DELETE
|
|
10518
|
-
*/
|
|
10519
|
-
export declare function validDataUrl(url: string, params?: any, dataType?: string, httpMethod?: string): Promise<{
|
|
10520
|
-
data: any;
|
|
10521
|
-
error: string;
|
|
10522
|
-
}>;
|
|
10523
|
-
|
|
10524
10372
|
export declare const viewMarkdownItem: DefineComponent<ExtractPropTypes< {
|
|
10525
10373
|
isDesign: {
|
|
10526
10374
|
type: BooleanConstructor;
|