star-horse-lowcode 2.8.74 → 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.
@@ -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
- }, any>;
194
+ }, HTMLDivElement>;
185
195
 
186
196
  declare const __VLS_component_2: DefineComponent<ExtractPropTypes< {
187
197
  dialogVisible: {
@@ -743,12 +753,12 @@ title?(_: {}): any;
743
753
 
744
754
  declare const __VLS_component_7: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
745
755
 
746
- declare const __VLS_component_8: DefineComponent<__VLS_Props_47, {
756
+ declare const __VLS_component_8: DefineComponent<__VLS_Props_50, {
747
757
  getConfigInfo: () => any;
748
758
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
749
759
  "update:modelValue": (...args: any[]) => void;
750
760
  saveData: (...args: any[]) => void;
751
- }, string, PublicProps, Readonly<__VLS_Props_47> & Readonly<{
761
+ }, string, PublicProps, Readonly<__VLS_Props_50> & Readonly<{
752
762
  "onUpdate:modelValue"?: (...args: any[]) => any;
753
763
  onSaveData?: (...args: any[]) => any;
754
764
  }>, {
@@ -782,7 +792,11 @@ declare type __VLS_Props_18 = ItemPreps;
782
792
 
783
793
  declare type __VLS_Props_19 = ItemPreps;
784
794
 
785
- declare type __VLS_Props_2 = ItemPreps;
795
+ declare type __VLS_Props_2 = {
796
+ categories: MenuItem[];
797
+ iconType?: "user" | "ele";
798
+ position?: "top" | "bottom" | "left" | "right";
799
+ };
786
800
 
787
801
  declare type __VLS_Props_20 = ItemPreps;
788
802
 
@@ -804,7 +818,17 @@ declare type __VLS_Props_28 = ItemPreps;
804
818
 
805
819
  declare type __VLS_Props_29 = ItemPreps;
806
820
 
807
- declare type __VLS_Props_3 = ItemPreps;
821
+ declare type __VLS_Props_3 = {
822
+ categories: Array<{
823
+ component: any;
824
+ name: string;
825
+ menuIcon?: string;
826
+ path?: string;
827
+ meta?: Record<string, any>;
828
+ }>;
829
+ systemConfigName?: string;
830
+ position?: "top" | "bottom" | "left" | "right";
831
+ };
808
832
 
809
833
  declare type __VLS_Props_30 = ItemPreps;
810
834
 
@@ -826,7 +850,13 @@ declare type __VLS_Props_38 = ItemPreps;
826
850
 
827
851
  declare type __VLS_Props_39 = ItemPreps;
828
852
 
829
- declare type __VLS_Props_4 = ItemPreps;
853
+ declare type __VLS_Props_4 = {
854
+ categories: MenuItem_2[];
855
+ systemConfigName?: string;
856
+ position?: "top" | "bottom" | "left" | "right";
857
+ iconType?: "user" | "ele";
858
+ preps?: Record<string, any>;
859
+ };
830
860
 
831
861
  declare type __VLS_Props_40 = ItemPreps;
832
862
 
@@ -842,7 +872,15 @@ declare type __VLS_Props_45 = ItemPreps;
842
872
 
843
873
  declare type __VLS_Props_46 = ItemPreps;
844
874
 
845
- declare type __VLS_Props_47 = {
875
+ declare type __VLS_Props_47 = ItemPreps;
876
+
877
+ declare type __VLS_Props_48 = ItemPreps;
878
+
879
+ declare type __VLS_Props_49 = ItemPreps;
880
+
881
+ declare type __VLS_Props_5 = ItemPreps;
882
+
883
+ declare type __VLS_Props_50 = {
846
884
  hideDefaultConfig?: boolean;
847
885
  modelValue: boolean;
848
886
  direction?: string;
@@ -851,8 +889,6 @@ declare type __VLS_Props_47 = {
851
889
  compSize?: string;
852
890
  };
853
891
 
854
- declare type __VLS_Props_5 = ItemPreps;
855
-
856
892
  declare type __VLS_Props_6 = ItemPreps;
857
893
 
858
894
  declare type __VLS_Props_7 = ItemPreps;
@@ -867,183 +903,183 @@ declare type __VLS_PublicProps = {
867
903
 
868
904
  declare type __VLS_PublicProps_10 = {
869
905
  "formData"?: any;
870
- } & __VLS_Props_10;
906
+ } & __VLS_Props_13;
871
907
 
872
908
  declare type __VLS_PublicProps_11 = {
873
909
  "formData"?: any;
874
- } & __VLS_Props_11;
910
+ } & __VLS_Props_14;
875
911
 
876
912
  declare type __VLS_PublicProps_12 = {
877
913
  "formData"?: any;
878
- } & __VLS_Props_12;
914
+ } & __VLS_Props_15;
879
915
 
880
916
  declare type __VLS_PublicProps_13 = {
881
917
  "formData"?: any;
882
- } & __VLS_Props_13;
918
+ } & __VLS_Props_16;
883
919
 
884
920
  declare type __VLS_PublicProps_14 = {
885
921
  "formData"?: any;
886
- } & __VLS_Props_14;
922
+ } & __VLS_Props_17;
887
923
 
888
924
  declare type __VLS_PublicProps_15 = {
889
925
  "formData"?: any;
890
- } & __VLS_Props_15;
926
+ } & __VLS_Props_18;
891
927
 
892
928
  declare type __VLS_PublicProps_16 = {
893
929
  "formData"?: any;
894
- } & __VLS_Props_16;
930
+ } & __VLS_Props_19;
895
931
 
896
932
  declare type __VLS_PublicProps_17 = {
897
933
  "formData"?: any;
898
- } & __VLS_Props_17;
934
+ } & __VLS_Props_20;
899
935
 
900
936
  declare type __VLS_PublicProps_18 = {
901
937
  "formData"?: any;
902
- } & __VLS_Props_18;
938
+ } & __VLS_Props_21;
903
939
 
904
940
  declare type __VLS_PublicProps_19 = {
905
941
  "formData"?: any;
906
- } & __VLS_Props_19;
942
+ } & __VLS_Props_22;
907
943
 
908
944
  declare type __VLS_PublicProps_2 = {
909
945
  "formData"?: any;
910
- } & __VLS_Props_2;
946
+ } & __VLS_Props_5;
911
947
 
912
948
  declare type __VLS_PublicProps_20 = {
913
949
  "formData"?: any;
914
- } & __VLS_Props_20;
950
+ } & __VLS_Props_23;
915
951
 
916
952
  declare type __VLS_PublicProps_21 = {
917
953
  "formData"?: any;
918
- } & __VLS_Props_21;
954
+ } & __VLS_Props_24;
919
955
 
920
956
  declare type __VLS_PublicProps_22 = {
921
957
  "formData"?: any;
922
- } & __VLS_Props_22;
958
+ } & __VLS_Props_25;
923
959
 
924
960
  declare type __VLS_PublicProps_23 = {
925
961
  "formData"?: any;
926
- } & __VLS_Props_23;
962
+ } & __VLS_Props_26;
927
963
 
928
964
  declare type __VLS_PublicProps_24 = {
929
965
  "formData"?: any;
930
- } & __VLS_Props_24;
966
+ } & __VLS_Props_27;
931
967
 
932
968
  declare type __VLS_PublicProps_25 = {
933
969
  "formData"?: any;
934
- } & __VLS_Props_25;
970
+ } & __VLS_Props_28;
935
971
 
936
972
  declare type __VLS_PublicProps_26 = {
937
973
  "formData"?: any;
938
- } & __VLS_Props_26;
974
+ } & __VLS_Props_29;
939
975
 
940
976
  declare type __VLS_PublicProps_27 = {
941
977
  "formData"?: any;
942
- } & __VLS_Props_27;
978
+ } & __VLS_Props_30;
943
979
 
944
980
  declare type __VLS_PublicProps_28 = {
945
981
  "formData"?: any;
946
- } & __VLS_Props_28;
982
+ } & __VLS_Props_31;
947
983
 
948
984
  declare type __VLS_PublicProps_29 = {
949
985
  "formData"?: any;
950
- } & __VLS_Props_29;
986
+ } & __VLS_Props_32;
951
987
 
952
988
  declare type __VLS_PublicProps_3 = {
953
989
  "formData"?: any;
954
- } & __VLS_Props_3;
990
+ } & __VLS_Props_6;
955
991
 
956
992
  declare type __VLS_PublicProps_30 = {
957
993
  "formData"?: any;
958
- } & __VLS_Props_30;
994
+ } & __VLS_Props_33;
959
995
 
960
996
  declare type __VLS_PublicProps_31 = {
961
997
  "formData"?: any;
962
- } & __VLS_Props_31;
998
+ } & __VLS_Props_34;
963
999
 
964
1000
  declare type __VLS_PublicProps_32 = {
965
1001
  "formData"?: any;
966
- } & __VLS_Props_32;
1002
+ } & __VLS_Props_35;
967
1003
 
968
1004
  declare type __VLS_PublicProps_33 = {
969
1005
  "formData"?: any;
970
- } & __VLS_Props_33;
1006
+ } & __VLS_Props_36;
971
1007
 
972
1008
  declare type __VLS_PublicProps_34 = {
973
1009
  "formData"?: any;
974
- } & __VLS_Props_34;
1010
+ } & __VLS_Props_37;
975
1011
 
976
1012
  declare type __VLS_PublicProps_35 = {
977
1013
  "formData"?: any;
978
- } & __VLS_Props_35;
1014
+ } & __VLS_Props_38;
979
1015
 
980
1016
  declare type __VLS_PublicProps_36 = {
981
1017
  "formData"?: any;
982
- } & __VLS_Props_36;
1018
+ } & __VLS_Props_39;
983
1019
 
984
1020
  declare type __VLS_PublicProps_37 = {
985
1021
  "formData"?: any;
986
- } & __VLS_Props_37;
1022
+ } & __VLS_Props_40;
987
1023
 
988
1024
  declare type __VLS_PublicProps_38 = {
989
1025
  "formData"?: any;
990
- } & __VLS_Props_38;
1026
+ } & __VLS_Props_41;
991
1027
 
992
1028
  declare type __VLS_PublicProps_39 = {
993
1029
  "formData"?: any;
994
- } & __VLS_Props_39;
1030
+ } & __VLS_Props_42;
995
1031
 
996
1032
  declare type __VLS_PublicProps_4 = {
997
1033
  "formData"?: any;
998
- } & __VLS_Props_4;
1034
+ } & __VLS_Props_7;
999
1035
 
1000
1036
  declare type __VLS_PublicProps_40 = {
1001
1037
  "formData"?: any;
1002
- } & __VLS_Props_40;
1038
+ } & __VLS_Props_43;
1003
1039
 
1004
1040
  declare type __VLS_PublicProps_41 = {
1005
1041
  "formData"?: any;
1006
- } & __VLS_Props_41;
1042
+ } & __VLS_Props_44;
1007
1043
 
1008
1044
  declare type __VLS_PublicProps_42 = {
1009
1045
  "formData"?: any;
1010
- } & __VLS_Props_42;
1046
+ } & __VLS_Props_45;
1011
1047
 
1012
1048
  declare type __VLS_PublicProps_43 = {
1013
1049
  "formData"?: any;
1014
- } & __VLS_Props_43;
1050
+ } & __VLS_Props_46;
1015
1051
 
1016
1052
  declare type __VLS_PublicProps_44 = {
1017
1053
  "formData"?: any;
1018
- } & __VLS_Props_44;
1054
+ } & __VLS_Props_47;
1019
1055
 
1020
1056
  declare type __VLS_PublicProps_45 = {
1021
1057
  "formData"?: any;
1022
- } & __VLS_Props_45;
1058
+ } & __VLS_Props_48;
1023
1059
 
1024
1060
  declare type __VLS_PublicProps_46 = {
1025
1061
  "formData"?: any;
1026
- } & __VLS_Props_46;
1062
+ } & __VLS_Props_49;
1027
1063
 
1028
1064
  declare type __VLS_PublicProps_5 = {
1029
1065
  "formData"?: any;
1030
- } & __VLS_Props_5;
1066
+ } & __VLS_Props_8;
1031
1067
 
1032
1068
  declare type __VLS_PublicProps_6 = {
1033
1069
  "formData"?: any;
1034
- } & __VLS_Props_6;
1070
+ } & __VLS_Props_9;
1035
1071
 
1036
1072
  declare type __VLS_PublicProps_7 = {
1037
1073
  "formData"?: any;
1038
- } & __VLS_Props_7;
1074
+ } & __VLS_Props_10;
1039
1075
 
1040
1076
  declare type __VLS_PublicProps_8 = {
1041
1077
  "formData"?: any;
1042
- } & __VLS_Props_8;
1078
+ } & __VLS_Props_11;
1043
1079
 
1044
1080
  declare type __VLS_PublicProps_9 = {
1045
1081
  "formData"?: any;
1046
- } & __VLS_Props_9;
1082
+ } & __VLS_Props_12;
1047
1083
 
1048
1084
  declare function __VLS_template(): {
1049
1085
  attrs: Partial<{}>;
@@ -1058,7 +1094,7 @@ declare function __VLS_template(): {
1058
1094
  refs: {
1059
1095
  starHorseFormRef: unknown;
1060
1096
  };
1061
- rootEl: any;
1097
+ rootEl: HTMLDivElement;
1062
1098
  };
1063
1099
 
1064
1100
  declare function __VLS_template_2(): {
@@ -1389,6 +1425,38 @@ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
1389
1425
  */
1390
1426
  export declare const allAction: (context: any, emits: any, formData: any, actionName: string, isInit?: boolean) => void;
1391
1427
 
1428
+ /**
1429
+ * 解析所有组件按顺序排列,去掉所有容器布局,
1430
+ * 需考虑如果是主子表单的情况需要怎么操作,
1431
+ * 除了box,dytable,其它的是否只需要解析容器内部的子容器,
1432
+ * 第一步,先将dytable容器的数据解析完成
1433
+ * @param dataList
1434
+ */
1435
+ export declare function analysisAppComps(dataList: any): {
1436
+ selectList: any[];
1437
+ compListResult: Record<string, any>;
1438
+ fieldList: any;
1439
+ searchItemList: SearchProps[];
1440
+ };
1441
+
1442
+ /**
1443
+ * 解析自动匹配平台格式的数据
1444
+ * @param fieldList
1445
+ */
1446
+ export declare const analysisAutoFitOsCompDatas: (fieldList: any) => {
1447
+ selectList: any[];
1448
+ compListResult: Record<string, any>;
1449
+ compFieldList: FieldInfo[];
1450
+ fieldList: any[];
1451
+ searchFieldList: SearchProps[];
1452
+ searchItemList?: undefined;
1453
+ } | {
1454
+ selectList: any[];
1455
+ compListResult: Record<string, any>;
1456
+ fieldList: any;
1457
+ searchItemList: SearchProps[];
1458
+ };
1459
+
1392
1460
  /**
1393
1461
  * 解析表单字段信息及层级
1394
1462
  */
@@ -1396,7 +1464,8 @@ export declare const analysisCompDatas: (dataList: any) => {
1396
1464
  selectList: any[];
1397
1465
  compListResult: Record<string, any>;
1398
1466
  compFieldList: FieldInfo[];
1399
- fieldList?: undefined;
1467
+ fieldList: any[];
1468
+ searchFieldList: SearchProps[];
1400
1469
  searchItemList?: undefined;
1401
1470
  } | {
1402
1471
  selectList: any[];
@@ -1404,6 +1473,7 @@ export declare const analysisCompDatas: (dataList: any) => {
1404
1473
  fieldList: FieldInfo[];
1405
1474
  searchItemList: SearchProps[];
1406
1475
  compFieldList?: undefined;
1476
+ searchFieldList?: undefined;
1407
1477
  };
1408
1478
 
1409
1479
  /**
@@ -1592,6 +1662,12 @@ export declare type ApiUrls = {
1592
1662
  modifyColumnsAction?: Function;
1593
1663
  };
1594
1664
 
1665
+ /**
1666
+ * AppList App容器信息,专门处理有表单在app 中有主子表的情况
1667
+ */
1668
+ export declare interface AppFieldInfo extends TabFieldInfo {
1669
+ }
1670
+
1595
1671
  export declare const areaItem: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1596
1672
  selfFunc: (...args: any[]) => void;
1597
1673
  selectItem: (...args: any[]) => void;
@@ -1953,7 +2029,7 @@ export declare function closeLoad(): void;
1953
2029
  /**
1954
2030
  * Collapse 容器信息
1955
2031
  */
1956
- export declare interface CollapseList extends TabFieldInfo {
2032
+ export declare interface CollapseFieldInfo extends TabFieldInfo {
1957
2033
  }
1958
2034
 
1959
2035
  export declare const colorItem: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -2199,8 +2275,24 @@ export declare const ContentMenu: __VLS_WithTemplateSlots_6<typeof __VLS_compone
2199
2275
  */
2200
2276
  export declare function contextOperation(act: string, item: any, parentItem: any): void;
2201
2277
 
2278
+ /**
2279
+ * 将pc模型转为app模型
2280
+ * @param pageInfo
2281
+ */
2282
+ export declare function convertCompToAppComps(pageInfo: PageFieldInfo): {
2283
+ fieldList: any[];
2284
+ };
2285
+
2202
2286
  export declare const convertData: (data: any) => any;
2203
2287
 
2288
+ /**
2289
+ * 将pc模型转为app模型
2290
+ * @param pageInfo
2291
+ */
2292
+ export declare function convertPcCompToFitPlatformComps(pageInfo: PageFieldInfo): PageFieldInfo | {
2293
+ fieldList: any[];
2294
+ };
2295
+
2204
2296
  /**
2205
2297
  * 下划线转驼峰
2206
2298
  * @param str
@@ -2748,6 +2840,154 @@ declare interface DataDropdownProps {
2748
2840
  autoClose?: boolean;
2749
2841
  }
2750
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
+
2751
2991
  export declare const DataPicker: DefineComponent<DataDropdownProps, {
2752
2992
  open: () => void;
2753
2993
  close: () => void;
@@ -2930,6 +3170,8 @@ isSearch: boolean;
2930
3170
  showFormItem: boolean;
2931
3171
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2932
3172
 
3173
+ export declare const device: any;
3174
+
2933
3175
  export declare const dialogInputItem: DefineComponent<__VLS_PublicProps_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2934
3176
  selfFunc: (...args: any[]) => void;
2935
3177
  selectItem: (...args: any[]) => void;
@@ -3012,7 +3254,7 @@ export declare type DialogProps = {
3012
3254
  /**
3013
3255
  * 数据id
3014
3256
  */
3015
- ids?: number | string | undefined | null;
3257
+ ids?: any;
3016
3258
  /**
3017
3259
  * 是否扩展表
3018
3260
  */
@@ -3383,6 +3625,10 @@ export declare interface FieldInfo {
3383
3625
  * Tab容器数据
3384
3626
  */
3385
3627
  tabList?: TabFieldInfo[];
3628
+ /**
3629
+ * 专门处理app
3630
+ */
3631
+ appList?: AppFieldInfo[];
3386
3632
  /**
3387
3633
  * Card 容器数据
3388
3634
  */
@@ -3390,11 +3636,11 @@ export declare interface FieldInfo {
3390
3636
  /**
3391
3637
  * 折叠容器(collapse)数据
3392
3638
  */
3393
- collapseList?: CollapseList[];
3639
+ collapseList?: CollapseFieldInfo[];
3394
3640
  /**
3395
3641
  * 分栏容器(splitter)数据
3396
3642
  */
3397
- splitterList?: SplitterList[];
3643
+ splitterList?: SplitterFieldInfo[];
3398
3644
  /**
3399
3645
  * 传统table布局表单,对应动态表格(dytable)容器
3400
3646
  */
@@ -3530,6 +3776,11 @@ export declare function getAxiosInstance(): AxiosInstance;
3530
3776
  */
3531
3777
  export declare function getDataIndex(data: any, prefix: string, parentIndex: any, index: any): number;
3532
3778
 
3779
+ /**
3780
+ * 获取当前设备类型
3781
+ */
3782
+ export declare function getDeviceInfo(): any;
3783
+
3533
3784
  export declare function getDynamicEvents(props: any, recall: Function): Record<string, any>;
3534
3785
 
3535
3786
  /**
@@ -3713,20 +3964,40 @@ isSearch: boolean;
3713
3964
  showFormItem: boolean;
3714
3965
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
3715
3966
 
3967
+ export declare const isAndroid: boolean;
3968
+
3716
3969
  export declare const isDark: UseDarkReturn;
3717
3970
 
3971
+ export declare const isHarmony: any;
3972
+
3973
+ export declare const isHuawei: any;
3974
+
3975
+ export declare const isIos: boolean;
3976
+
3718
3977
  /**
3719
3978
  * 判断是不是Json
3720
3979
  * @param v
3721
3980
  */
3722
3981
  export declare function isJson(v: any): boolean;
3723
3982
 
3983
+ export declare const isLinux: boolean;
3984
+
3985
+ export declare const isMac: boolean;
3986
+
3987
+ export declare const isMobile: boolean;
3988
+
3989
+ export declare const isPc: boolean;
3990
+
3724
3991
  /**
3725
3992
  * 判断是否是Promise
3726
3993
  * @param obj
3727
3994
  */
3728
3995
  export declare function isPromise<T = any>(obj: any): obj is Promise<T>;
3729
3996
 
3997
+ export declare const isTablet: boolean;
3998
+
3999
+ export declare const isWindows: boolean;
4000
+
3730
4001
  /**
3731
4002
  * 校验组件
3732
4003
  * @param item
@@ -3889,6 +4160,12 @@ isSearch: boolean;
3889
4160
  showFormItem: boolean;
3890
4161
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
3891
4162
 
4163
+ /**
4164
+ * 判断标签是否需要显示
4165
+ * @param item
4166
+ */
4167
+ export declare function labelVisibleCheck(item: any): any;
4168
+
3892
4169
  declare enum LangType {
3893
4170
  EN_US = "en_US",
3894
4171
  ZH_CN = "zh_CN"
@@ -3939,25 +4216,169 @@ export declare function loadGetData(url: string): Promise<{
3939
4216
  */
3940
4217
  export declare function loadProp(prefix: string, fieldName: string, parentIndex: number, currentIndex: number): string;
3941
4218
 
3942
- export declare const markdownItem: DefineComponent<__VLS_PublicProps_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3943
- selfFunc: (...args: any[]) => void;
3944
- selectItem: (...args: any[]) => void;
3945
- "update:formData": (value: any) => void;
3946
- }, string, PublicProps, Readonly<__VLS_PublicProps_20> & Readonly<{
3947
- onSelfFunc?: (...args: any[]) => any;
3948
- onSelectItem?: (...args: any[]) => any;
3949
- "onUpdate:formData"?: (value: any) => any;
3950
- }>, {
3951
- disabled: boolean;
3952
- isDesign: boolean;
3953
- bareFlag: boolean;
3954
- isSearch: boolean;
3955
- showFormItem: boolean;
3956
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
4219
+ export declare const MainBar: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
4220
+ select: (isSubMenu: boolean, item: any) => any;
4221
+ }, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
4222
+ onSelect?: (isSubMenu: boolean, item: any) => any;
4223
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
3957
4224
 
3958
- declare const menu: Ref<HTMLDivElement, HTMLDivElement>;
4225
+ declare interface MainBarItem {
4226
+ id: string;
4227
+ name: string;
4228
+ icon: string;
4229
+ route: string;
4230
+ }
3959
4231
 
3960
- /**
4232
+ export declare const MainContainer: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
4233
+
4234
+ export declare const MainContent: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
4235
+ select: (item: MainBarItem) => any;
4236
+ "system-config": () => any;
4237
+ }, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
4238
+ onSelect?: (item: MainBarItem) => any;
4239
+ "onSystem-config"?: () => any;
4240
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
4241
+
4242
+ export declare const MainSubBar: DefineComponent<ExtractPropTypes< {
4243
+ level: {
4244
+ type: NumberConstructor;
4245
+ default: number;
4246
+ required: true;
4247
+ };
4248
+ menuType: {
4249
+ type: StringConstructor;
4250
+ default: string;
4251
+ };
4252
+ dataList: {
4253
+ type: PropType<any>;
4254
+ };
4255
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4256
+ selectMenu: (...args: any[]) => void;
4257
+ "update:dataList": (value: any) => void;
4258
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
4259
+ level: {
4260
+ type: NumberConstructor;
4261
+ default: number;
4262
+ required: true;
4263
+ };
4264
+ menuType: {
4265
+ type: StringConstructor;
4266
+ default: string;
4267
+ };
4268
+ dataList: {
4269
+ type: PropType<any>;
4270
+ };
4271
+ }>> & Readonly<{
4272
+ onSelectMenu?: (...args: any[]) => any;
4273
+ "onUpdate:dataList"?: (value: any) => any;
4274
+ }>, {
4275
+ level: number;
4276
+ menuType: string;
4277
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
4278
+
4279
+ export declare const markdownItem: DefineComponent<__VLS_PublicProps_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4280
+ selfFunc: (...args: any[]) => void;
4281
+ selectItem: (...args: any[]) => void;
4282
+ "update:formData": (value: any) => void;
4283
+ }, string, PublicProps, Readonly<__VLS_PublicProps_20> & Readonly<{
4284
+ onSelfFunc?: (...args: any[]) => any;
4285
+ onSelectItem?: (...args: any[]) => any;
4286
+ "onUpdate:formData"?: (value: any) => any;
4287
+ }>, {
4288
+ disabled: boolean;
4289
+ isDesign: boolean;
4290
+ bareFlag: boolean;
4291
+ isSearch: boolean;
4292
+ showFormItem: boolean;
4293
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
4294
+
4295
+ declare const menu: Ref<HTMLDivElement, HTMLDivElement>;
4296
+
4297
+ declare interface MenuItem {
4298
+ component: any;
4299
+ name: string;
4300
+ menuIcon?: string;
4301
+ path?: string;
4302
+ meta?: Record<string, any>;
4303
+ children?: MenuItem[];
4304
+ }
4305
+
4306
+ declare interface MenuItem_2 {
4307
+ component: any;
4308
+ name: string;
4309
+ menuIcon?: string;
4310
+ path?: string;
4311
+ meta?: Record<string, any>;
4312
+ children?: MenuItem_2[];
4313
+ }
4314
+
4315
+ export declare const MenuShot: DefineComponent<ExtractPropTypes< {
4316
+ menus: {
4317
+ type: {
4318
+ (arrayLength: number): any[];
4319
+ (...items: any[]): any[];
4320
+ new (arrayLength: number): any[];
4321
+ new (...items: any[]): any[];
4322
+ isArray(arg: any): arg is any[];
4323
+ readonly prototype: any[];
4324
+ from<T>(arrayLike: ArrayLike<T>): T[];
4325
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
4326
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
4327
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
4328
+ of<T>(...items: T[]): T[];
4329
+ readonly [Symbol.species]: ArrayConstructor;
4330
+ };
4331
+ default: () => any[];
4332
+ };
4333
+ icon: {
4334
+ type: StringConstructor;
4335
+ default: string;
4336
+ };
4337
+ position: {
4338
+ type: PropType<Record<string, any>>;
4339
+ default: {};
4340
+ };
4341
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4342
+ change: (...args: any[]) => void;
4343
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
4344
+ menus: {
4345
+ type: {
4346
+ (arrayLength: number): any[];
4347
+ (...items: any[]): any[];
4348
+ new (arrayLength: number): any[];
4349
+ new (...items: any[]): any[];
4350
+ isArray(arg: any): arg is any[];
4351
+ readonly prototype: any[];
4352
+ from<T>(arrayLike: ArrayLike<T>): T[];
4353
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
4354
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
4355
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
4356
+ of<T>(...items: T[]): T[];
4357
+ readonly [Symbol.species]: ArrayConstructor;
4358
+ };
4359
+ default: () => any[];
4360
+ };
4361
+ icon: {
4362
+ type: StringConstructor;
4363
+ default: string;
4364
+ };
4365
+ position: {
4366
+ type: PropType<Record<string, any>>;
4367
+ default: {};
4368
+ };
4369
+ }>> & Readonly<{
4370
+ onChange?: (...args: any[]) => any;
4371
+ }>, {
4372
+ icon: string;
4373
+ position: Record<string, any>;
4374
+ menus: any[];
4375
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
4376
+ screenshot: HTMLDivElement;
4377
+ screenshotDropdown: HTMLDivElement;
4378
+ screenshotBtnRef: unknown;
4379
+ }, HTMLDivElement>;
4380
+
4381
+ /**
3961
4382
  * 菜单信息
3962
4383
  */
3963
4384
  export declare interface MenusInfo {
@@ -4649,6 +5070,13 @@ export declare type SelectOption = {
4649
5070
  */
4650
5071
  export declare function setCssVar(name: string, val: any, dom?: HTMLElement): void;
4651
5072
 
5073
+ /**
5074
+ * 设置测试
5075
+ * @param testFlag
5076
+ * @param type
5077
+ */
5078
+ export declare function setTest(testFlag: boolean, type?: string): void;
5079
+
4652
5080
  export declare const ShDynamicForm: DefineComponent<ExtractPropTypes< {
4653
5081
  compUrl: {
4654
5082
  type: PropType<ApiUrls>;
@@ -4853,7 +5281,7 @@ showFormItem: boolean;
4853
5281
  /**
4854
5282
  * Splitter 容器信息
4855
5283
  */
4856
- export declare interface SplitterList extends TabFieldInfo {
5284
+ export declare interface SplitterFieldInfo extends TabFieldInfo {
4857
5285
  }
4858
5286
 
4859
5287
  export declare const starHorseAxios: AxiosInstance;
@@ -5119,6 +5547,10 @@ dynamicForm: {
5119
5547
  type: BooleanConstructor;
5120
5548
  default: boolean;
5121
5549
  };
5550
+ preview: {
5551
+ type: BooleanConstructor;
5552
+ default: boolean;
5553
+ };
5122
5554
  selectData: {
5123
5555
  type: {
5124
5556
  (arrayLength: number): SelectOption[];
@@ -5202,6 +5634,10 @@ dynamicForm: {
5202
5634
  type: BooleanConstructor;
5203
5635
  default: boolean;
5204
5636
  };
5637
+ preview: {
5638
+ type: BooleanConstructor;
5639
+ default: boolean;
5640
+ };
5205
5641
  selectData: {
5206
5642
  type: {
5207
5643
  (arrayLength: number): SelectOption[];
@@ -5231,6 +5667,7 @@ onExportData?: (...args: any[]) => any;
5231
5667
  onInited?: (...args: any[]) => any;
5232
5668
  }>, {
5233
5669
  batchName: string;
5670
+ preview: boolean;
5234
5671
  labelPosition: string;
5235
5672
  selectData: SelectOption[];
5236
5673
  batchFieldName: string;
@@ -5462,6 +5899,10 @@ dynamicForm: {
5462
5899
  type: BooleanConstructor;
5463
5900
  default: boolean;
5464
5901
  };
5902
+ preview: {
5903
+ type: BooleanConstructor;
5904
+ default: boolean;
5905
+ };
5465
5906
  selectData: {
5466
5907
  type: {
5467
5908
  (arrayLength: number): SelectOption[];
@@ -5511,6 +5952,7 @@ exportData: (...args: any[]) => void;
5511
5952
  inited: (...args: any[]) => void;
5512
5953
  }, PublicProps, {
5513
5954
  batchName: string;
5955
+ preview: boolean;
5514
5956
  labelPosition: string;
5515
5957
  selectData: SelectOption[];
5516
5958
  batchFieldName: string;
@@ -5568,6 +6010,10 @@ dynamicForm: {
5568
6010
  type: BooleanConstructor;
5569
6011
  default: boolean;
5570
6012
  };
6013
+ preview: {
6014
+ type: BooleanConstructor;
6015
+ default: boolean;
6016
+ };
5571
6017
  selectData: {
5572
6018
  type: {
5573
6019
  (arrayLength: number): SelectOption[];
@@ -5610,6 +6056,7 @@ validate: () => Promise<any>;
5610
6056
  setSource: (dataSource: number) => void;
5611
6057
  }, {}, {}, {}, {
5612
6058
  batchName: string;
6059
+ preview: boolean;
5613
6060
  labelPosition: string;
5614
6061
  selectData: SelectOption[];
5615
6062
  batchFieldName: string;
@@ -5891,6 +6338,7 @@ default: any;
5891
6338
  };
5892
6339
  indentation: PropType<string | number>;
5893
6340
  tabSize: PropType<number>;
6341
+ truncateTextSize: PropType<number>;
5894
6342
  escapeControlCharacters: {
5895
6343
  type: PropType<boolean>;
5896
6344
  default: any;
@@ -5912,6 +6360,7 @@ queryLanguageId: PropType<QueryLanguageId>;
5912
6360
  onClassName: PropType<OnClassName>;
5913
6361
  onRenderValue: PropType<OnRenderValue>;
5914
6362
  onRenderMenu: PropType<OnRenderMenu>;
6363
+ onRenderContextMenu: PropType<OnRenderContextMenu>;
5915
6364
  height: PropType<string | number>;
5916
6365
  fullWidthButton: {
5917
6366
  type: PropType<boolean>;
@@ -6021,6 +6470,7 @@ default: any;
6021
6470
  };
6022
6471
  indentation: PropType<string | number>;
6023
6472
  tabSize: PropType<number>;
6473
+ truncateTextSize: PropType<number>;
6024
6474
  escapeControlCharacters: {
6025
6475
  type: PropType<boolean>;
6026
6476
  default: any;
@@ -6042,6 +6492,7 @@ queryLanguageId: PropType<QueryLanguageId>;
6042
6492
  onClassName: PropType<OnClassName>;
6043
6493
  onRenderValue: PropType<OnRenderValue>;
6044
6494
  onRenderMenu: PropType<OnRenderMenu>;
6495
+ onRenderContextMenu: PropType<OnRenderContextMenu>;
6045
6496
  height: PropType<string | number>;
6046
6497
  fullWidthButton: {
6047
6498
  type: PropType<boolean>;
@@ -6142,9 +6593,44 @@ type: BooleanConstructor;
6142
6593
  default: boolean;
6143
6594
  };
6144
6595
  compUrl: {
6145
- type: PropType<ApiUrls>;
6596
+ type: ObjectConstructor;
6597
+ };
6598
+ formData: {
6599
+ type: ObjectConstructor;
6600
+ required: true;
6601
+ };
6602
+ defaultCondition: {
6603
+ type: ArrayConstructor;
6604
+ };
6605
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6606
+ searchData: (...args: any[]) => void;
6607
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
6608
+ dialogInput: {
6609
+ type: BooleanConstructor;
6610
+ default: boolean;
6611
+ };
6612
+ mutComp: {
6613
+ type: BooleanConstructor;
6614
+ default: boolean;
6615
+ };
6616
+ compUrl: {
6617
+ type: ObjectConstructor;
6146
6618
  };
6147
6619
  formData: {
6620
+ type: ObjectConstructor;
6621
+ required: true;
6622
+ };
6623
+ defaultCondition: {
6624
+ type: ArrayConstructor;
6625
+ };
6626
+ }>> & Readonly<{
6627
+ onSearchData?: (...args: any[]) => any;
6628
+ }>, {
6629
+ dialogInput: boolean;
6630
+ mutComp: boolean;
6631
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
6632
+ searchFormRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
6633
+ formData: {
6148
6634
  type: PropType<SearchFields>;
6149
6635
  required: true;
6150
6636
  };
@@ -6164,13 +6650,6 @@ of<T>(...items: T[]): T[];
6164
6650
  readonly [Symbol.species]: ArrayConstructor;
6165
6651
  };
6166
6652
  };
6167
- }>, {
6168
- searchForm: Ref<any, any>;
6169
- setData: (data: any) => void;
6170
- createSearchParams: (formData: any) => any[];
6171
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6172
- searchData: (...args: any[]) => void;
6173
- }, string, PublicProps, Readonly<ExtractPropTypes< {
6174
6653
  dialogInput: {
6175
6654
  type: BooleanConstructor;
6176
6655
  default: boolean;
@@ -6179,9 +6658,27 @@ mutComp: {
6179
6658
  type: BooleanConstructor;
6180
6659
  default: boolean;
6181
6660
  };
6182
- compUrl: {
6183
- type: PropType<ApiUrls>;
6184
- };
6661
+ }>> & Readonly<{
6662
+ onSearchData?: (...args: any[]) => any;
6663
+ onInitComplete?: (...args: any[]) => any;
6664
+ }>, {
6665
+ searchForm: Ref<any, any>;
6666
+ setData: (data: any) => void;
6667
+ createSearchParams: (formData: any) => any[];
6668
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6669
+ searchData: (...args: any[]) => void;
6670
+ initComplete: (...args: any[]) => void;
6671
+ }, PublicProps, {
6672
+ dialogInput: boolean;
6673
+ mutComp: boolean;
6674
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
6675
+ P: {};
6676
+ B: {};
6677
+ D: {};
6678
+ C: {};
6679
+ M: {};
6680
+ Defaults: {};
6681
+ }, Readonly<ExtractPropTypes< {
6185
6682
  formData: {
6186
6683
  type: PropType<SearchFields>;
6187
6684
  required: true;
@@ -6202,12 +6699,26 @@ of<T>(...items: T[]): T[];
6202
6699
  readonly [Symbol.species]: ArrayConstructor;
6203
6700
  };
6204
6701
  };
6702
+ dialogInput: {
6703
+ type: BooleanConstructor;
6704
+ default: boolean;
6705
+ };
6706
+ mutComp: {
6707
+ type: BooleanConstructor;
6708
+ default: boolean;
6709
+ };
6205
6710
  }>> & Readonly<{
6206
6711
  onSearchData?: (...args: any[]) => any;
6712
+ onInitComplete?: (...args: any[]) => any;
6207
6713
  }>, {
6714
+ searchForm: Ref<any, any>;
6715
+ setData: (data: any) => void;
6716
+ createSearchParams: (formData: any) => any[];
6717
+ }, {}, {}, {}, {
6208
6718
  dialogInput: boolean;
6209
6719
  mutComp: boolean;
6210
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
6720
+ }>;
6721
+ }, any>;
6211
6722
 
6212
6723
  export declare const StarHorseSidebar: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
6213
6724
 
@@ -6529,159 +7040,12 @@ isDynamic: boolean;
6529
7040
  popover: unknown;
6530
7041
  }, any>;
6531
7042
 
6532
- export declare const StarHorseTableComp: DefineComponent<ExtractPropTypes< {
6533
- compUrl: {
6534
- type: PropType<ApiUrls | any>;
6535
- required: true;
6536
- };
6537
- primaryKey: {
6538
- type: PropType<string | any>;
6539
- required: true;
6540
- };
6541
- fieldList: {
6542
- type: PropType<PageFieldInfo>;
6543
- required: true;
6544
- };
6545
- hideBtnCondition: {
6546
- type: PropType<BtnHideCondition[]>;
6547
- default: any[];
6548
- };
6549
- showBatchField: {
6550
- type: BooleanConstructor;
6551
- default: boolean;
6552
- };
6553
- dataFormat: {
6554
- type: FunctionConstructor;
6555
- default: any;
6556
- };
6557
- disableAction: {
6558
- type: BooleanConstructor;
6559
- default: boolean;
6560
- };
6561
- dialogInput: {
6562
- type: BooleanConstructor;
6563
- default: boolean;
6564
- };
6565
- height: {
6566
- type: StringConstructor;
6567
- default: string;
6568
- };
6569
- filterCondition: {
6570
- type: PropType<SearchParams[]>;
6571
- };
6572
- orderBy: {
6573
- type: PropType<OrderByInfo[]>;
6574
- };
6575
- showPageBar: {
6576
- type: BooleanConstructor;
6577
- default: boolean;
6578
- };
6579
- tableDataList: {
6580
- type: ArrayConstructor;
6581
- };
6582
- reverseDataList: {
6583
- type: ArrayConstructor;
6584
- };
6585
- allowSelectParent: {
6586
- type: BooleanConstructor;
6587
- default: boolean;
6588
- };
6589
- expand: {
6590
- type: BooleanConstructor;
6591
- default: boolean;
6592
- };
6593
- needLoad: {
6594
- type: BooleanConstructor;
6595
- default: boolean;
6596
- };
6597
- title: {
6598
- type: StringConstructor;
6599
- };
6600
- extendBtns: {
6601
- type: PropType<UserFuncInfo[]>;
6602
- };
6603
- preValidFunc: {
6604
- type: PropType<Array<PreValid>>;
6605
- default: {};
6606
- };
6607
- multipleSelect: {
6608
- type: BooleanConstructor;
6609
- default: boolean;
6610
- };
6611
- lineHeight: {
6612
- type: StringConstructor;
6613
- default: string;
6614
- };
6615
- showSelection: {
6616
- type: BooleanConstructor;
6617
- default: boolean;
6618
- };
6619
- expandTable: {
6620
- type: PropType<ExpandTable>;
6621
- };
6622
- helpMsg: {
6623
- type: StringConstructor;
6624
- };
6625
- globalConfig: {
6626
- type: PropType<any>;
6627
- required: false;
6628
- };
6629
- isDynamic: {
6630
- type: BooleanConstructor;
6631
- default: boolean;
6632
- };
6633
- hideButtonList: {
6634
- type: BooleanConstructor;
6635
- default: boolean;
6636
- };
6637
- /**
6638
- * Data sharer
6639
- * Get information shared by others
6640
- * let resultData = await loadData('/system-config/system/dataPermission/currentMenuPermissionPerson', {});
6641
- * The above interface mainly returns the account of the sharer
6642
- * commonPersons.value = resultData?.data;
6643
- */
6644
- commonPersons: {
6645
- type: PropType<any>;
6646
- default: any[];
6647
- };
6648
- /**
6649
- * 在数据提权的时候需要指定通过那个字段做关联条件
6650
- */
6651
- userColumnName: {
6652
- type: StringConstructor;
6653
- default: string;
6654
- };
6655
- btnPermissions: {
6656
- type: PropType<Record<string, string>>;
6657
- required: false;
6658
- default: {};
6659
- };
6660
- /**
6661
- * 每页数据备选项
6662
- */
6663
- pageCombList: {
6664
- type: ArrayConstructor;
6665
- default: number[];
6666
- };
6667
- /**
6668
- * 分页条布局
6669
- */
6670
- pageBarLayout: {
6671
- type: StringConstructor;
6672
- default: string;
6673
- };
6674
- /**
6675
- * 编辑条件
6676
- */
6677
- editCondition: {
6678
- type: PropType<EditCondition[]>;
6679
- };
6680
- }>, {
7043
+ export declare const StarHorseTableComp: DefineComponent<DataListProps, {
6681
7044
  init: () => Promise<void>;
6682
7045
  createSearchParams: (formData: SearchParams[], orderBy?: OrderByInfo[]) => void;
6683
7046
  loadByPage: (initPageInfo?: boolean) => void;
6684
7047
  getIds: () => any;
7048
+ assignStaticData: (data: any) => void;
6685
7049
  getSelectedDatas: () => any;
6686
7050
  multipleSelection: Ref<any, any>;
6687
7051
  setDataInfo: (fieldName: string, val: any) => void;
@@ -6693,180 +7057,25 @@ permissionList: () => Record<string, string>;
6693
7057
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6694
7058
  selectItem: (...args: any[]) => void;
6695
7059
  permission: (...args: any[]) => void;
6696
- }, string, PublicProps, Readonly<ExtractPropTypes< {
6697
- compUrl: {
6698
- type: PropType<ApiUrls | any>;
6699
- required: true;
6700
- };
6701
- primaryKey: {
6702
- type: PropType<string | any>;
6703
- required: true;
6704
- };
6705
- fieldList: {
6706
- type: PropType<PageFieldInfo>;
6707
- required: true;
6708
- };
6709
- hideBtnCondition: {
6710
- type: PropType<BtnHideCondition[]>;
6711
- default: any[];
6712
- };
6713
- showBatchField: {
6714
- type: BooleanConstructor;
6715
- default: boolean;
6716
- };
6717
- dataFormat: {
6718
- type: FunctionConstructor;
6719
- default: any;
6720
- };
6721
- disableAction: {
6722
- type: BooleanConstructor;
6723
- default: boolean;
6724
- };
6725
- dialogInput: {
6726
- type: BooleanConstructor;
6727
- default: boolean;
6728
- };
6729
- height: {
6730
- type: StringConstructor;
6731
- default: string;
6732
- };
6733
- filterCondition: {
6734
- type: PropType<SearchParams[]>;
6735
- };
6736
- orderBy: {
6737
- type: PropType<OrderByInfo[]>;
6738
- };
6739
- showPageBar: {
6740
- type: BooleanConstructor;
6741
- default: boolean;
6742
- };
6743
- tableDataList: {
6744
- type: ArrayConstructor;
6745
- };
6746
- reverseDataList: {
6747
- type: ArrayConstructor;
6748
- };
6749
- allowSelectParent: {
6750
- type: BooleanConstructor;
6751
- default: boolean;
6752
- };
6753
- expand: {
6754
- type: BooleanConstructor;
6755
- default: boolean;
6756
- };
6757
- needLoad: {
6758
- type: BooleanConstructor;
6759
- default: boolean;
6760
- };
6761
- title: {
6762
- type: StringConstructor;
6763
- };
6764
- extendBtns: {
6765
- type: PropType<UserFuncInfo[]>;
6766
- };
6767
- preValidFunc: {
6768
- type: PropType<Array<PreValid>>;
6769
- default: {};
6770
- };
6771
- multipleSelect: {
6772
- type: BooleanConstructor;
6773
- default: boolean;
6774
- };
6775
- lineHeight: {
6776
- type: StringConstructor;
6777
- default: string;
6778
- };
6779
- showSelection: {
6780
- type: BooleanConstructor;
6781
- default: boolean;
6782
- };
6783
- expandTable: {
6784
- type: PropType<ExpandTable>;
6785
- };
6786
- helpMsg: {
6787
- type: StringConstructor;
6788
- };
6789
- globalConfig: {
6790
- type: PropType<any>;
6791
- required: false;
6792
- };
6793
- isDynamic: {
6794
- type: BooleanConstructor;
6795
- default: boolean;
6796
- };
6797
- hideButtonList: {
6798
- type: BooleanConstructor;
6799
- default: boolean;
6800
- };
6801
- /**
6802
- * Data sharer
6803
- * Get information shared by others
6804
- * let resultData = await loadData('/system-config/system/dataPermission/currentMenuPermissionPerson', {});
6805
- * The above interface mainly returns the account of the sharer
6806
- * commonPersons.value = resultData?.data;
6807
- */
6808
- commonPersons: {
6809
- type: PropType<any>;
6810
- default: any[];
6811
- };
6812
- /**
6813
- * 在数据提权的时候需要指定通过那个字段做关联条件
6814
- */
6815
- userColumnName: {
6816
- type: StringConstructor;
6817
- default: string;
6818
- };
6819
- btnPermissions: {
6820
- type: PropType<Record<string, string>>;
6821
- required: false;
6822
- default: {};
6823
- };
6824
- /**
6825
- * 每页数据备选项
6826
- */
6827
- pageCombList: {
6828
- type: ArrayConstructor;
6829
- default: number[];
6830
- };
6831
- /**
6832
- * 分页条布局
6833
- */
6834
- pageBarLayout: {
6835
- type: StringConstructor;
6836
- default: string;
6837
- };
6838
- /**
6839
- * 编辑条件
6840
- */
6841
- editCondition: {
6842
- type: PropType<EditCondition[]>;
6843
- };
6844
- }>> & Readonly<{
7060
+ }, string, PublicProps, Readonly<DataListProps> & Readonly<{
6845
7061
  onSelectItem?: (...args: any[]) => any;
6846
7062
  onPermission?: (...args: any[]) => any;
6847
7063
  }>, {
6848
7064
  height: string;
6849
- dataFormat: Function;
6850
- dialogInput: boolean;
6851
- expand: boolean;
6852
- showBatchField: boolean;
6853
7065
  allowSelectParent: boolean;
6854
- isDynamic: boolean;
6855
7066
  hideBtnCondition: BtnHideCondition[];
6856
- disableAction: boolean;
6857
7067
  showPageBar: boolean;
7068
+ reverseDataList: Array<any>;
6858
7069
  needLoad: boolean;
6859
7070
  preValidFunc: PreValid[];
6860
- multipleSelect: boolean;
6861
7071
  lineHeight: string;
6862
7072
  showSelection: boolean;
6863
- hideButtonList: boolean;
6864
- commonPersons: any;
7073
+ commonPersons: Array<any>;
6865
7074
  userColumnName: string;
6866
7075
  btnPermissions: Record<string, string>;
6867
- pageCombList: unknown[];
7076
+ pageCombList: number[];
6868
7077
  pageBarLayout: string;
6869
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
7078
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
6870
7079
  table: unknown;
6871
7080
  starHorseTableCompRef: unknown;
6872
7081
  }, any>;