star-horse-lowcode 3.0.0 → 3.0.1
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 +5 -0
- package/dist/assets/index.css +1 -1
- package/dist/index.es.js +8 -8
- package/dist/types/index.d.ts +191 -339
- package/package.json +20 -20
package/dist/types/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ import { nextTick } from 'vue';
|
|
|
28
28
|
import { OnChangeStatus } from 'vanilla-jsoneditor';
|
|
29
29
|
import { OnClassName } from 'vanilla-jsoneditor';
|
|
30
30
|
import { OnCleanup } from '@vue/reactivity';
|
|
31
|
+
import { OnRenderContextMenu } from 'vanilla-jsoneditor';
|
|
31
32
|
import { OnRenderMenu } from 'vanilla-jsoneditor';
|
|
32
33
|
import { OnRenderValue } from 'vanilla-jsoneditor';
|
|
33
34
|
import { Pinia } from 'pinia';
|
|
@@ -89,6 +90,10 @@ dynamicForm: {
|
|
|
89
90
|
type: BooleanConstructor;
|
|
90
91
|
default: boolean;
|
|
91
92
|
};
|
|
93
|
+
preview: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
92
97
|
primaryKey: {
|
|
93
98
|
type: PropType<string | any>;
|
|
94
99
|
default: string;
|
|
@@ -150,6 +155,10 @@ dynamicForm: {
|
|
|
150
155
|
type: BooleanConstructor;
|
|
151
156
|
default: boolean;
|
|
152
157
|
};
|
|
158
|
+
preview: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
153
162
|
primaryKey: {
|
|
154
163
|
type: PropType<string | any>;
|
|
155
164
|
default: string;
|
|
@@ -172,6 +181,7 @@ onDataLoaded?: (...args: any[]) => any;
|
|
|
172
181
|
batchName: string;
|
|
173
182
|
primaryKey: any;
|
|
174
183
|
subFormFlag: string;
|
|
184
|
+
preview: boolean;
|
|
175
185
|
labelPosition: string;
|
|
176
186
|
dataFormat: Function;
|
|
177
187
|
batchFieldName: string;
|
|
@@ -181,7 +191,7 @@ useViewUrl: boolean;
|
|
|
181
191
|
slotType: string;
|
|
182
192
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
183
193
|
starHorseFormRef: unknown;
|
|
184
|
-
},
|
|
194
|
+
}, HTMLDivElement>;
|
|
185
195
|
|
|
186
196
|
declare const __VLS_component_2: DefineComponent<ExtractPropTypes< {
|
|
187
197
|
dialogVisible: {
|
|
@@ -1084,7 +1094,7 @@ declare function __VLS_template(): {
|
|
|
1084
1094
|
refs: {
|
|
1085
1095
|
starHorseFormRef: unknown;
|
|
1086
1096
|
};
|
|
1087
|
-
rootEl:
|
|
1097
|
+
rootEl: HTMLDivElement;
|
|
1088
1098
|
};
|
|
1089
1099
|
|
|
1090
1100
|
declare function __VLS_template_2(): {
|
|
@@ -2830,6 +2840,154 @@ declare interface DataDropdownProps {
|
|
|
2830
2840
|
autoClose?: boolean;
|
|
2831
2841
|
}
|
|
2832
2842
|
|
|
2843
|
+
export declare interface DataListProps {
|
|
2844
|
+
/**
|
|
2845
|
+
* 接口地址
|
|
2846
|
+
*/
|
|
2847
|
+
compUrl: ApiUrls | any;
|
|
2848
|
+
/**
|
|
2849
|
+
* 主键
|
|
2850
|
+
*/
|
|
2851
|
+
primaryKey: string | any;
|
|
2852
|
+
/**
|
|
2853
|
+
* 页面信息
|
|
2854
|
+
*/
|
|
2855
|
+
fieldList: PageFieldInfo;
|
|
2856
|
+
/**
|
|
2857
|
+
* 隐藏按钮条件
|
|
2858
|
+
*/
|
|
2859
|
+
hideBtnCondition: BtnHideCondition[];
|
|
2860
|
+
/**
|
|
2861
|
+
* 是否显示批量属性
|
|
2862
|
+
*/
|
|
2863
|
+
showBatchField: boolean;
|
|
2864
|
+
/**
|
|
2865
|
+
* 格式化函数
|
|
2866
|
+
*/
|
|
2867
|
+
dataFormat: Function;
|
|
2868
|
+
/**
|
|
2869
|
+
* 禁用列表按钮
|
|
2870
|
+
*/
|
|
2871
|
+
disableAction: boolean;
|
|
2872
|
+
/**
|
|
2873
|
+
* 弹窗模式
|
|
2874
|
+
*/
|
|
2875
|
+
dialogInput: boolean;
|
|
2876
|
+
/**
|
|
2877
|
+
* 高度
|
|
2878
|
+
*/
|
|
2879
|
+
height: string;
|
|
2880
|
+
/**
|
|
2881
|
+
* 数据过滤条
|
|
2882
|
+
*/
|
|
2883
|
+
filterCondition: SearchParams[];
|
|
2884
|
+
/**
|
|
2885
|
+
* 排序条件
|
|
2886
|
+
*/
|
|
2887
|
+
orderBy: OrderByInfo[];
|
|
2888
|
+
/**
|
|
2889
|
+
* 是否显示分页条
|
|
2890
|
+
*/
|
|
2891
|
+
showPageBar: boolean;
|
|
2892
|
+
/**
|
|
2893
|
+
* 列表数据
|
|
2894
|
+
*/
|
|
2895
|
+
tableDataList: Array<any>;
|
|
2896
|
+
reverseDataList: Array<any>;
|
|
2897
|
+
/**
|
|
2898
|
+
* 是否运行选择父节点
|
|
2899
|
+
*/
|
|
2900
|
+
allowSelectParent: boolean;
|
|
2901
|
+
/**
|
|
2902
|
+
*是否默认展开所有子节点
|
|
2903
|
+
*/
|
|
2904
|
+
expand: boolean;
|
|
2905
|
+
/**
|
|
2906
|
+
* 是否需要加载遮罩
|
|
2907
|
+
*/
|
|
2908
|
+
needLoad: boolean;
|
|
2909
|
+
/**
|
|
2910
|
+
* 标题
|
|
2911
|
+
*/
|
|
2912
|
+
title: string;
|
|
2913
|
+
/**
|
|
2914
|
+
* 用户自定义按钮
|
|
2915
|
+
*/
|
|
2916
|
+
extendBtns: UserFuncInfo[];
|
|
2917
|
+
/**
|
|
2918
|
+
* 按钮是否可以点击的前置条件
|
|
2919
|
+
*/
|
|
2920
|
+
preValidFunc: PreValid[];
|
|
2921
|
+
/**
|
|
2922
|
+
* 是否运行多选
|
|
2923
|
+
*/
|
|
2924
|
+
multipleSelect: boolean;
|
|
2925
|
+
/**
|
|
2926
|
+
* 行高
|
|
2927
|
+
*/
|
|
2928
|
+
lineHeight: string;
|
|
2929
|
+
/**
|
|
2930
|
+
* 是否显示选择框
|
|
2931
|
+
*/
|
|
2932
|
+
showSelection: boolean;
|
|
2933
|
+
/**
|
|
2934
|
+
* 嵌套表信息
|
|
2935
|
+
*/
|
|
2936
|
+
expandTable: ExpandTable;
|
|
2937
|
+
/**
|
|
2938
|
+
* 帮助提示
|
|
2939
|
+
*/
|
|
2940
|
+
helpMsg: string;
|
|
2941
|
+
/**
|
|
2942
|
+
* 全局配置
|
|
2943
|
+
*/
|
|
2944
|
+
globalConfig: Record<string, any>;
|
|
2945
|
+
/**
|
|
2946
|
+
* 是否动态表
|
|
2947
|
+
*/
|
|
2948
|
+
isDynamic: boolean;
|
|
2949
|
+
/**
|
|
2950
|
+
* 需要隐藏的按钮
|
|
2951
|
+
*/
|
|
2952
|
+
hideButtonList: boolean;
|
|
2953
|
+
/**
|
|
2954
|
+
* Data sharer
|
|
2955
|
+
* Get information shared by others
|
|
2956
|
+
* let resultData = await loadData('/system-config/system/dataPermission/currentMenuPermissionPerson', {});
|
|
2957
|
+
* The above interface mainly returns the account of the sharer
|
|
2958
|
+
* commonPersons.value = resultData?.data;
|
|
2959
|
+
*/
|
|
2960
|
+
commonPersons: Array<any>;
|
|
2961
|
+
/**
|
|
2962
|
+
* 在数据提权的时候需要指定通过那个字段做关联条件
|
|
2963
|
+
*/
|
|
2964
|
+
userColumnName: string;
|
|
2965
|
+
/**
|
|
2966
|
+
* 按钮自定义权限
|
|
2967
|
+
*/
|
|
2968
|
+
btnPermissions: Record<string, string>;
|
|
2969
|
+
/**
|
|
2970
|
+
* 每页数据备选项
|
|
2971
|
+
*/
|
|
2972
|
+
pageCombList: number[];
|
|
2973
|
+
/**
|
|
2974
|
+
* 分页条布局
|
|
2975
|
+
*/
|
|
2976
|
+
pageBarLayout: string;
|
|
2977
|
+
/**
|
|
2978
|
+
* 编辑条件
|
|
2979
|
+
*/
|
|
2980
|
+
editCondition: EditCondition[];
|
|
2981
|
+
/**
|
|
2982
|
+
* 翻页保留历史数据
|
|
2983
|
+
*/
|
|
2984
|
+
pageKeepOldData: boolean;
|
|
2985
|
+
/**
|
|
2986
|
+
* 是否预览模式
|
|
2987
|
+
*/
|
|
2988
|
+
preview: boolean;
|
|
2989
|
+
}
|
|
2990
|
+
|
|
2833
2991
|
export declare const DataPicker: DefineComponent<DataDropdownProps, {
|
|
2834
2992
|
open: () => void;
|
|
2835
2993
|
close: () => void;
|
|
@@ -3096,7 +3254,7 @@ export declare type DialogProps = {
|
|
|
3096
3254
|
/**
|
|
3097
3255
|
* 数据id
|
|
3098
3256
|
*/
|
|
3099
|
-
ids?:
|
|
3257
|
+
ids?: any;
|
|
3100
3258
|
/**
|
|
3101
3259
|
* 是否扩展表
|
|
3102
3260
|
*/
|
|
@@ -5151,9 +5309,6 @@ btnPermissions: {
|
|
|
5151
5309
|
type: PropType<any>;
|
|
5152
5310
|
required: false;
|
|
5153
5311
|
};
|
|
5154
|
-
searchParams: {
|
|
5155
|
-
type: PropType<SearchFields>;
|
|
5156
|
-
};
|
|
5157
5312
|
}>, {
|
|
5158
5313
|
setFormData: (val: any) => void;
|
|
5159
5314
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -5186,9 +5341,6 @@ btnPermissions: {
|
|
|
5186
5341
|
type: PropType<any>;
|
|
5187
5342
|
required: false;
|
|
5188
5343
|
};
|
|
5189
|
-
searchParams: {
|
|
5190
|
-
type: PropType<SearchFields>;
|
|
5191
|
-
};
|
|
5192
5344
|
}>> & Readonly<{
|
|
5193
5345
|
onUpload?: (...args: any[]) => any;
|
|
5194
5346
|
onUploadError?: (...args: any[]) => any;
|
|
@@ -5395,6 +5547,10 @@ dynamicForm: {
|
|
|
5395
5547
|
type: BooleanConstructor;
|
|
5396
5548
|
default: boolean;
|
|
5397
5549
|
};
|
|
5550
|
+
preview: {
|
|
5551
|
+
type: BooleanConstructor;
|
|
5552
|
+
default: boolean;
|
|
5553
|
+
};
|
|
5398
5554
|
selectData: {
|
|
5399
5555
|
type: {
|
|
5400
5556
|
(arrayLength: number): SelectOption[];
|
|
@@ -5478,6 +5634,10 @@ dynamicForm: {
|
|
|
5478
5634
|
type: BooleanConstructor;
|
|
5479
5635
|
default: boolean;
|
|
5480
5636
|
};
|
|
5637
|
+
preview: {
|
|
5638
|
+
type: BooleanConstructor;
|
|
5639
|
+
default: boolean;
|
|
5640
|
+
};
|
|
5481
5641
|
selectData: {
|
|
5482
5642
|
type: {
|
|
5483
5643
|
(arrayLength: number): SelectOption[];
|
|
@@ -5507,6 +5667,7 @@ onExportData?: (...args: any[]) => any;
|
|
|
5507
5667
|
onInited?: (...args: any[]) => any;
|
|
5508
5668
|
}>, {
|
|
5509
5669
|
batchName: string;
|
|
5670
|
+
preview: boolean;
|
|
5510
5671
|
labelPosition: string;
|
|
5511
5672
|
selectData: SelectOption[];
|
|
5512
5673
|
batchFieldName: string;
|
|
@@ -5738,6 +5899,10 @@ dynamicForm: {
|
|
|
5738
5899
|
type: BooleanConstructor;
|
|
5739
5900
|
default: boolean;
|
|
5740
5901
|
};
|
|
5902
|
+
preview: {
|
|
5903
|
+
type: BooleanConstructor;
|
|
5904
|
+
default: boolean;
|
|
5905
|
+
};
|
|
5741
5906
|
selectData: {
|
|
5742
5907
|
type: {
|
|
5743
5908
|
(arrayLength: number): SelectOption[];
|
|
@@ -5787,6 +5952,7 @@ exportData: (...args: any[]) => void;
|
|
|
5787
5952
|
inited: (...args: any[]) => void;
|
|
5788
5953
|
}, PublicProps, {
|
|
5789
5954
|
batchName: string;
|
|
5955
|
+
preview: boolean;
|
|
5790
5956
|
labelPosition: string;
|
|
5791
5957
|
selectData: SelectOption[];
|
|
5792
5958
|
batchFieldName: string;
|
|
@@ -5844,6 +6010,10 @@ dynamicForm: {
|
|
|
5844
6010
|
type: BooleanConstructor;
|
|
5845
6011
|
default: boolean;
|
|
5846
6012
|
};
|
|
6013
|
+
preview: {
|
|
6014
|
+
type: BooleanConstructor;
|
|
6015
|
+
default: boolean;
|
|
6016
|
+
};
|
|
5847
6017
|
selectData: {
|
|
5848
6018
|
type: {
|
|
5849
6019
|
(arrayLength: number): SelectOption[];
|
|
@@ -5886,6 +6056,7 @@ validate: () => Promise<any>;
|
|
|
5886
6056
|
setSource: (dataSource: number) => void;
|
|
5887
6057
|
}, {}, {}, {}, {
|
|
5888
6058
|
batchName: string;
|
|
6059
|
+
preview: boolean;
|
|
5889
6060
|
labelPosition: string;
|
|
5890
6061
|
selectData: SelectOption[];
|
|
5891
6062
|
batchFieldName: string;
|
|
@@ -6167,6 +6338,7 @@ default: any;
|
|
|
6167
6338
|
};
|
|
6168
6339
|
indentation: PropType<string | number>;
|
|
6169
6340
|
tabSize: PropType<number>;
|
|
6341
|
+
truncateTextSize: PropType<number>;
|
|
6170
6342
|
escapeControlCharacters: {
|
|
6171
6343
|
type: PropType<boolean>;
|
|
6172
6344
|
default: any;
|
|
@@ -6188,6 +6360,7 @@ queryLanguageId: PropType<QueryLanguageId>;
|
|
|
6188
6360
|
onClassName: PropType<OnClassName>;
|
|
6189
6361
|
onRenderValue: PropType<OnRenderValue>;
|
|
6190
6362
|
onRenderMenu: PropType<OnRenderMenu>;
|
|
6363
|
+
onRenderContextMenu: PropType<OnRenderContextMenu>;
|
|
6191
6364
|
height: PropType<string | number>;
|
|
6192
6365
|
fullWidthButton: {
|
|
6193
6366
|
type: PropType<boolean>;
|
|
@@ -6297,6 +6470,7 @@ default: any;
|
|
|
6297
6470
|
};
|
|
6298
6471
|
indentation: PropType<string | number>;
|
|
6299
6472
|
tabSize: PropType<number>;
|
|
6473
|
+
truncateTextSize: PropType<number>;
|
|
6300
6474
|
escapeControlCharacters: {
|
|
6301
6475
|
type: PropType<boolean>;
|
|
6302
6476
|
default: any;
|
|
@@ -6318,6 +6492,7 @@ queryLanguageId: PropType<QueryLanguageId>;
|
|
|
6318
6492
|
onClassName: PropType<OnClassName>;
|
|
6319
6493
|
onRenderValue: PropType<OnRenderValue>;
|
|
6320
6494
|
onRenderMenu: PropType<OnRenderMenu>;
|
|
6495
|
+
onRenderContextMenu: PropType<OnRenderContextMenu>;
|
|
6321
6496
|
height: PropType<string | number>;
|
|
6322
6497
|
fullWidthButton: {
|
|
6323
6498
|
type: PropType<boolean>;
|
|
@@ -6865,169 +7040,12 @@ isDynamic: boolean;
|
|
|
6865
7040
|
popover: unknown;
|
|
6866
7041
|
}, any>;
|
|
6867
7042
|
|
|
6868
|
-
export declare const StarHorseTableComp: DefineComponent<
|
|
6869
|
-
compUrl: {
|
|
6870
|
-
type: PropType<ApiUrls | any>;
|
|
6871
|
-
required: true;
|
|
6872
|
-
};
|
|
6873
|
-
primaryKey: {
|
|
6874
|
-
type: PropType<string | any>;
|
|
6875
|
-
required: true;
|
|
6876
|
-
};
|
|
6877
|
-
fieldList: {
|
|
6878
|
-
type: PropType<PageFieldInfo>;
|
|
6879
|
-
required: true;
|
|
6880
|
-
};
|
|
6881
|
-
hideBtnCondition: {
|
|
6882
|
-
type: PropType<BtnHideCondition[]>;
|
|
6883
|
-
default: any[];
|
|
6884
|
-
};
|
|
6885
|
-
showBatchField: {
|
|
6886
|
-
type: BooleanConstructor;
|
|
6887
|
-
default: boolean;
|
|
6888
|
-
};
|
|
6889
|
-
dataFormat: {
|
|
6890
|
-
type: FunctionConstructor;
|
|
6891
|
-
default: any;
|
|
6892
|
-
};
|
|
6893
|
-
disableAction: {
|
|
6894
|
-
type: BooleanConstructor;
|
|
6895
|
-
default: boolean;
|
|
6896
|
-
};
|
|
6897
|
-
dialogInput: {
|
|
6898
|
-
type: BooleanConstructor;
|
|
6899
|
-
default: boolean;
|
|
6900
|
-
};
|
|
6901
|
-
height: {
|
|
6902
|
-
type: StringConstructor;
|
|
6903
|
-
default: string;
|
|
6904
|
-
};
|
|
6905
|
-
filterCondition: {
|
|
6906
|
-
type: PropType<SearchParams[]>;
|
|
6907
|
-
};
|
|
6908
|
-
orderBy: {
|
|
6909
|
-
type: PropType<OrderByInfo[]>;
|
|
6910
|
-
};
|
|
6911
|
-
showPageBar: {
|
|
6912
|
-
type: BooleanConstructor;
|
|
6913
|
-
default: boolean;
|
|
6914
|
-
};
|
|
6915
|
-
tableDataList: {
|
|
6916
|
-
type: ArrayConstructor;
|
|
6917
|
-
};
|
|
6918
|
-
reverseDataList: {
|
|
6919
|
-
type: ArrayConstructor;
|
|
6920
|
-
};
|
|
6921
|
-
allowSelectParent: {
|
|
6922
|
-
type: BooleanConstructor;
|
|
6923
|
-
default: boolean;
|
|
6924
|
-
};
|
|
6925
|
-
expand: {
|
|
6926
|
-
type: BooleanConstructor;
|
|
6927
|
-
default: boolean;
|
|
6928
|
-
};
|
|
6929
|
-
needLoad: {
|
|
6930
|
-
type: BooleanConstructor;
|
|
6931
|
-
default: boolean;
|
|
6932
|
-
};
|
|
6933
|
-
title: {
|
|
6934
|
-
type: StringConstructor;
|
|
6935
|
-
};
|
|
6936
|
-
extendBtns: {
|
|
6937
|
-
type: PropType<UserFuncInfo[]>;
|
|
6938
|
-
};
|
|
6939
|
-
preValidFunc: {
|
|
6940
|
-
type: PropType<Array<PreValid>>;
|
|
6941
|
-
default: {};
|
|
6942
|
-
};
|
|
6943
|
-
multipleSelect: {
|
|
6944
|
-
type: BooleanConstructor;
|
|
6945
|
-
default: boolean;
|
|
6946
|
-
};
|
|
6947
|
-
lineHeight: {
|
|
6948
|
-
type: StringConstructor;
|
|
6949
|
-
default: string;
|
|
6950
|
-
};
|
|
6951
|
-
showSelection: {
|
|
6952
|
-
type: BooleanConstructor;
|
|
6953
|
-
default: boolean;
|
|
6954
|
-
};
|
|
6955
|
-
expandTable: {
|
|
6956
|
-
type: PropType<ExpandTable>;
|
|
6957
|
-
};
|
|
6958
|
-
helpMsg: {
|
|
6959
|
-
type: StringConstructor;
|
|
6960
|
-
};
|
|
6961
|
-
globalConfig: {
|
|
6962
|
-
type: PropType<any>;
|
|
6963
|
-
required: false;
|
|
6964
|
-
};
|
|
6965
|
-
isDynamic: {
|
|
6966
|
-
type: BooleanConstructor;
|
|
6967
|
-
default: boolean;
|
|
6968
|
-
};
|
|
6969
|
-
hideButtonList: {
|
|
6970
|
-
type: BooleanConstructor;
|
|
6971
|
-
default: boolean;
|
|
6972
|
-
};
|
|
6973
|
-
searchParams: {
|
|
6974
|
-
type: PropType<SearchFields>;
|
|
6975
|
-
};
|
|
6976
|
-
/**
|
|
6977
|
-
* Data sharer
|
|
6978
|
-
* Get information shared by others
|
|
6979
|
-
* let resultData = await loadData('/system-config/system/dataPermission/currentMenuPermissionPerson', {});
|
|
6980
|
-
* The above interface mainly returns the account of the sharer
|
|
6981
|
-
* commonPersons.value = resultData?.data;
|
|
6982
|
-
*/
|
|
6983
|
-
commonPersons: {
|
|
6984
|
-
type: PropType<any>;
|
|
6985
|
-
default: any[];
|
|
6986
|
-
};
|
|
6987
|
-
/**
|
|
6988
|
-
* 在数据提权的时候需要指定通过那个字段做关联条件
|
|
6989
|
-
*/
|
|
6990
|
-
userColumnName: {
|
|
6991
|
-
type: StringConstructor;
|
|
6992
|
-
default: string;
|
|
6993
|
-
};
|
|
6994
|
-
btnPermissions: {
|
|
6995
|
-
type: PropType<Record<string, string>>;
|
|
6996
|
-
required: false;
|
|
6997
|
-
default: {};
|
|
6998
|
-
};
|
|
6999
|
-
/**
|
|
7000
|
-
* 每页数据备选项
|
|
7001
|
-
*/
|
|
7002
|
-
pageCombList: {
|
|
7003
|
-
type: ArrayConstructor;
|
|
7004
|
-
default: number[];
|
|
7005
|
-
};
|
|
7006
|
-
/**
|
|
7007
|
-
* 分页条布局
|
|
7008
|
-
*/
|
|
7009
|
-
pageBarLayout: {
|
|
7010
|
-
type: StringConstructor;
|
|
7011
|
-
default: string;
|
|
7012
|
-
};
|
|
7013
|
-
/**
|
|
7014
|
-
* 编辑条件
|
|
7015
|
-
*/
|
|
7016
|
-
editCondition: {
|
|
7017
|
-
type: PropType<EditCondition[]>;
|
|
7018
|
-
};
|
|
7019
|
-
/**
|
|
7020
|
-
* 翻页保留历史数据
|
|
7021
|
-
*/
|
|
7022
|
-
pageKeepOldData: {
|
|
7023
|
-
type: BooleanConstructor;
|
|
7024
|
-
default: boolean;
|
|
7025
|
-
};
|
|
7026
|
-
}>, {
|
|
7043
|
+
export declare const StarHorseTableComp: DefineComponent<DataListProps, {
|
|
7027
7044
|
init: () => Promise<void>;
|
|
7028
7045
|
createSearchParams: (formData: SearchParams[], orderBy?: OrderByInfo[]) => void;
|
|
7029
7046
|
loadByPage: (initPageInfo?: boolean) => void;
|
|
7030
7047
|
getIds: () => any;
|
|
7048
|
+
assignStaticData: (data: any) => void;
|
|
7031
7049
|
getSelectedDatas: () => any;
|
|
7032
7050
|
multipleSelection: Ref<any, any>;
|
|
7033
7051
|
setDataInfo: (fieldName: string, val: any) => void;
|
|
@@ -7039,191 +7057,25 @@ permissionList: () => Record<string, string>;
|
|
|
7039
7057
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7040
7058
|
selectItem: (...args: any[]) => void;
|
|
7041
7059
|
permission: (...args: any[]) => void;
|
|
7042
|
-
}, string, PublicProps, Readonly<
|
|
7043
|
-
compUrl: {
|
|
7044
|
-
type: PropType<ApiUrls | any>;
|
|
7045
|
-
required: true;
|
|
7046
|
-
};
|
|
7047
|
-
primaryKey: {
|
|
7048
|
-
type: PropType<string | any>;
|
|
7049
|
-
required: true;
|
|
7050
|
-
};
|
|
7051
|
-
fieldList: {
|
|
7052
|
-
type: PropType<PageFieldInfo>;
|
|
7053
|
-
required: true;
|
|
7054
|
-
};
|
|
7055
|
-
hideBtnCondition: {
|
|
7056
|
-
type: PropType<BtnHideCondition[]>;
|
|
7057
|
-
default: any[];
|
|
7058
|
-
};
|
|
7059
|
-
showBatchField: {
|
|
7060
|
-
type: BooleanConstructor;
|
|
7061
|
-
default: boolean;
|
|
7062
|
-
};
|
|
7063
|
-
dataFormat: {
|
|
7064
|
-
type: FunctionConstructor;
|
|
7065
|
-
default: any;
|
|
7066
|
-
};
|
|
7067
|
-
disableAction: {
|
|
7068
|
-
type: BooleanConstructor;
|
|
7069
|
-
default: boolean;
|
|
7070
|
-
};
|
|
7071
|
-
dialogInput: {
|
|
7072
|
-
type: BooleanConstructor;
|
|
7073
|
-
default: boolean;
|
|
7074
|
-
};
|
|
7075
|
-
height: {
|
|
7076
|
-
type: StringConstructor;
|
|
7077
|
-
default: string;
|
|
7078
|
-
};
|
|
7079
|
-
filterCondition: {
|
|
7080
|
-
type: PropType<SearchParams[]>;
|
|
7081
|
-
};
|
|
7082
|
-
orderBy: {
|
|
7083
|
-
type: PropType<OrderByInfo[]>;
|
|
7084
|
-
};
|
|
7085
|
-
showPageBar: {
|
|
7086
|
-
type: BooleanConstructor;
|
|
7087
|
-
default: boolean;
|
|
7088
|
-
};
|
|
7089
|
-
tableDataList: {
|
|
7090
|
-
type: ArrayConstructor;
|
|
7091
|
-
};
|
|
7092
|
-
reverseDataList: {
|
|
7093
|
-
type: ArrayConstructor;
|
|
7094
|
-
};
|
|
7095
|
-
allowSelectParent: {
|
|
7096
|
-
type: BooleanConstructor;
|
|
7097
|
-
default: boolean;
|
|
7098
|
-
};
|
|
7099
|
-
expand: {
|
|
7100
|
-
type: BooleanConstructor;
|
|
7101
|
-
default: boolean;
|
|
7102
|
-
};
|
|
7103
|
-
needLoad: {
|
|
7104
|
-
type: BooleanConstructor;
|
|
7105
|
-
default: boolean;
|
|
7106
|
-
};
|
|
7107
|
-
title: {
|
|
7108
|
-
type: StringConstructor;
|
|
7109
|
-
};
|
|
7110
|
-
extendBtns: {
|
|
7111
|
-
type: PropType<UserFuncInfo[]>;
|
|
7112
|
-
};
|
|
7113
|
-
preValidFunc: {
|
|
7114
|
-
type: PropType<Array<PreValid>>;
|
|
7115
|
-
default: {};
|
|
7116
|
-
};
|
|
7117
|
-
multipleSelect: {
|
|
7118
|
-
type: BooleanConstructor;
|
|
7119
|
-
default: boolean;
|
|
7120
|
-
};
|
|
7121
|
-
lineHeight: {
|
|
7122
|
-
type: StringConstructor;
|
|
7123
|
-
default: string;
|
|
7124
|
-
};
|
|
7125
|
-
showSelection: {
|
|
7126
|
-
type: BooleanConstructor;
|
|
7127
|
-
default: boolean;
|
|
7128
|
-
};
|
|
7129
|
-
expandTable: {
|
|
7130
|
-
type: PropType<ExpandTable>;
|
|
7131
|
-
};
|
|
7132
|
-
helpMsg: {
|
|
7133
|
-
type: StringConstructor;
|
|
7134
|
-
};
|
|
7135
|
-
globalConfig: {
|
|
7136
|
-
type: PropType<any>;
|
|
7137
|
-
required: false;
|
|
7138
|
-
};
|
|
7139
|
-
isDynamic: {
|
|
7140
|
-
type: BooleanConstructor;
|
|
7141
|
-
default: boolean;
|
|
7142
|
-
};
|
|
7143
|
-
hideButtonList: {
|
|
7144
|
-
type: BooleanConstructor;
|
|
7145
|
-
default: boolean;
|
|
7146
|
-
};
|
|
7147
|
-
searchParams: {
|
|
7148
|
-
type: PropType<SearchFields>;
|
|
7149
|
-
};
|
|
7150
|
-
/**
|
|
7151
|
-
* Data sharer
|
|
7152
|
-
* Get information shared by others
|
|
7153
|
-
* let resultData = await loadData('/system-config/system/dataPermission/currentMenuPermissionPerson', {});
|
|
7154
|
-
* The above interface mainly returns the account of the sharer
|
|
7155
|
-
* commonPersons.value = resultData?.data;
|
|
7156
|
-
*/
|
|
7157
|
-
commonPersons: {
|
|
7158
|
-
type: PropType<any>;
|
|
7159
|
-
default: any[];
|
|
7160
|
-
};
|
|
7161
|
-
/**
|
|
7162
|
-
* 在数据提权的时候需要指定通过那个字段做关联条件
|
|
7163
|
-
*/
|
|
7164
|
-
userColumnName: {
|
|
7165
|
-
type: StringConstructor;
|
|
7166
|
-
default: string;
|
|
7167
|
-
};
|
|
7168
|
-
btnPermissions: {
|
|
7169
|
-
type: PropType<Record<string, string>>;
|
|
7170
|
-
required: false;
|
|
7171
|
-
default: {};
|
|
7172
|
-
};
|
|
7173
|
-
/**
|
|
7174
|
-
* 每页数据备选项
|
|
7175
|
-
*/
|
|
7176
|
-
pageCombList: {
|
|
7177
|
-
type: ArrayConstructor;
|
|
7178
|
-
default: number[];
|
|
7179
|
-
};
|
|
7180
|
-
/**
|
|
7181
|
-
* 分页条布局
|
|
7182
|
-
*/
|
|
7183
|
-
pageBarLayout: {
|
|
7184
|
-
type: StringConstructor;
|
|
7185
|
-
default: string;
|
|
7186
|
-
};
|
|
7187
|
-
/**
|
|
7188
|
-
* 编辑条件
|
|
7189
|
-
*/
|
|
7190
|
-
editCondition: {
|
|
7191
|
-
type: PropType<EditCondition[]>;
|
|
7192
|
-
};
|
|
7193
|
-
/**
|
|
7194
|
-
* 翻页保留历史数据
|
|
7195
|
-
*/
|
|
7196
|
-
pageKeepOldData: {
|
|
7197
|
-
type: BooleanConstructor;
|
|
7198
|
-
default: boolean;
|
|
7199
|
-
};
|
|
7200
|
-
}>> & Readonly<{
|
|
7060
|
+
}, string, PublicProps, Readonly<DataListProps> & Readonly<{
|
|
7201
7061
|
onSelectItem?: (...args: any[]) => any;
|
|
7202
7062
|
onPermission?: (...args: any[]) => any;
|
|
7203
7063
|
}>, {
|
|
7204
7064
|
height: string;
|
|
7205
|
-
dataFormat: Function;
|
|
7206
|
-
dialogInput: boolean;
|
|
7207
|
-
expand: boolean;
|
|
7208
|
-
showBatchField: boolean;
|
|
7209
7065
|
allowSelectParent: boolean;
|
|
7210
|
-
isDynamic: boolean;
|
|
7211
7066
|
hideBtnCondition: BtnHideCondition[];
|
|
7212
|
-
disableAction: boolean;
|
|
7213
7067
|
showPageBar: boolean;
|
|
7068
|
+
reverseDataList: Array<any>;
|
|
7214
7069
|
needLoad: boolean;
|
|
7215
7070
|
preValidFunc: PreValid[];
|
|
7216
|
-
multipleSelect: boolean;
|
|
7217
7071
|
lineHeight: string;
|
|
7218
7072
|
showSelection: boolean;
|
|
7219
|
-
|
|
7220
|
-
commonPersons: any;
|
|
7073
|
+
commonPersons: Array<any>;
|
|
7221
7074
|
userColumnName: string;
|
|
7222
7075
|
btnPermissions: Record<string, string>;
|
|
7223
|
-
pageCombList:
|
|
7076
|
+
pageCombList: number[];
|
|
7224
7077
|
pageBarLayout: string;
|
|
7225
|
-
|
|
7226
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
7078
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
7227
7079
|
table: unknown;
|
|
7228
7080
|
starHorseTableCompRef: unknown;
|
|
7229
7081
|
}, any>;
|