star-horse-lowcode 2.8.74 → 3.0.0
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 +4 -0
- package/dist/assets/index.css +1 -1
- package/dist/index.es.js +5 -5
- package/dist/types/index.d.ts +427 -70
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -743,12 +743,12 @@ title?(_: {}): any;
|
|
|
743
743
|
|
|
744
744
|
declare const __VLS_component_7: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
745
745
|
|
|
746
|
-
declare const __VLS_component_8: DefineComponent<
|
|
746
|
+
declare const __VLS_component_8: DefineComponent<__VLS_Props_50, {
|
|
747
747
|
getConfigInfo: () => any;
|
|
748
748
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
749
749
|
"update:modelValue": (...args: any[]) => void;
|
|
750
750
|
saveData: (...args: any[]) => void;
|
|
751
|
-
}, string, PublicProps, Readonly<
|
|
751
|
+
}, string, PublicProps, Readonly<__VLS_Props_50> & Readonly<{
|
|
752
752
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
753
753
|
onSaveData?: (...args: any[]) => any;
|
|
754
754
|
}>, {
|
|
@@ -782,7 +782,11 @@ declare type __VLS_Props_18 = ItemPreps;
|
|
|
782
782
|
|
|
783
783
|
declare type __VLS_Props_19 = ItemPreps;
|
|
784
784
|
|
|
785
|
-
declare type __VLS_Props_2 =
|
|
785
|
+
declare type __VLS_Props_2 = {
|
|
786
|
+
categories: MenuItem[];
|
|
787
|
+
iconType?: "user" | "ele";
|
|
788
|
+
position?: "top" | "bottom" | "left" | "right";
|
|
789
|
+
};
|
|
786
790
|
|
|
787
791
|
declare type __VLS_Props_20 = ItemPreps;
|
|
788
792
|
|
|
@@ -804,7 +808,17 @@ declare type __VLS_Props_28 = ItemPreps;
|
|
|
804
808
|
|
|
805
809
|
declare type __VLS_Props_29 = ItemPreps;
|
|
806
810
|
|
|
807
|
-
declare type __VLS_Props_3 =
|
|
811
|
+
declare type __VLS_Props_3 = {
|
|
812
|
+
categories: Array<{
|
|
813
|
+
component: any;
|
|
814
|
+
name: string;
|
|
815
|
+
menuIcon?: string;
|
|
816
|
+
path?: string;
|
|
817
|
+
meta?: Record<string, any>;
|
|
818
|
+
}>;
|
|
819
|
+
systemConfigName?: string;
|
|
820
|
+
position?: "top" | "bottom" | "left" | "right";
|
|
821
|
+
};
|
|
808
822
|
|
|
809
823
|
declare type __VLS_Props_30 = ItemPreps;
|
|
810
824
|
|
|
@@ -826,7 +840,13 @@ declare type __VLS_Props_38 = ItemPreps;
|
|
|
826
840
|
|
|
827
841
|
declare type __VLS_Props_39 = ItemPreps;
|
|
828
842
|
|
|
829
|
-
declare type __VLS_Props_4 =
|
|
843
|
+
declare type __VLS_Props_4 = {
|
|
844
|
+
categories: MenuItem_2[];
|
|
845
|
+
systemConfigName?: string;
|
|
846
|
+
position?: "top" | "bottom" | "left" | "right";
|
|
847
|
+
iconType?: "user" | "ele";
|
|
848
|
+
preps?: Record<string, any>;
|
|
849
|
+
};
|
|
830
850
|
|
|
831
851
|
declare type __VLS_Props_40 = ItemPreps;
|
|
832
852
|
|
|
@@ -842,7 +862,15 @@ declare type __VLS_Props_45 = ItemPreps;
|
|
|
842
862
|
|
|
843
863
|
declare type __VLS_Props_46 = ItemPreps;
|
|
844
864
|
|
|
845
|
-
declare type __VLS_Props_47 =
|
|
865
|
+
declare type __VLS_Props_47 = ItemPreps;
|
|
866
|
+
|
|
867
|
+
declare type __VLS_Props_48 = ItemPreps;
|
|
868
|
+
|
|
869
|
+
declare type __VLS_Props_49 = ItemPreps;
|
|
870
|
+
|
|
871
|
+
declare type __VLS_Props_5 = ItemPreps;
|
|
872
|
+
|
|
873
|
+
declare type __VLS_Props_50 = {
|
|
846
874
|
hideDefaultConfig?: boolean;
|
|
847
875
|
modelValue: boolean;
|
|
848
876
|
direction?: string;
|
|
@@ -851,8 +879,6 @@ declare type __VLS_Props_47 = {
|
|
|
851
879
|
compSize?: string;
|
|
852
880
|
};
|
|
853
881
|
|
|
854
|
-
declare type __VLS_Props_5 = ItemPreps;
|
|
855
|
-
|
|
856
882
|
declare type __VLS_Props_6 = ItemPreps;
|
|
857
883
|
|
|
858
884
|
declare type __VLS_Props_7 = ItemPreps;
|
|
@@ -867,183 +893,183 @@ declare type __VLS_PublicProps = {
|
|
|
867
893
|
|
|
868
894
|
declare type __VLS_PublicProps_10 = {
|
|
869
895
|
"formData"?: any;
|
|
870
|
-
} &
|
|
896
|
+
} & __VLS_Props_13;
|
|
871
897
|
|
|
872
898
|
declare type __VLS_PublicProps_11 = {
|
|
873
899
|
"formData"?: any;
|
|
874
|
-
} &
|
|
900
|
+
} & __VLS_Props_14;
|
|
875
901
|
|
|
876
902
|
declare type __VLS_PublicProps_12 = {
|
|
877
903
|
"formData"?: any;
|
|
878
|
-
} &
|
|
904
|
+
} & __VLS_Props_15;
|
|
879
905
|
|
|
880
906
|
declare type __VLS_PublicProps_13 = {
|
|
881
907
|
"formData"?: any;
|
|
882
|
-
} &
|
|
908
|
+
} & __VLS_Props_16;
|
|
883
909
|
|
|
884
910
|
declare type __VLS_PublicProps_14 = {
|
|
885
911
|
"formData"?: any;
|
|
886
|
-
} &
|
|
912
|
+
} & __VLS_Props_17;
|
|
887
913
|
|
|
888
914
|
declare type __VLS_PublicProps_15 = {
|
|
889
915
|
"formData"?: any;
|
|
890
|
-
} &
|
|
916
|
+
} & __VLS_Props_18;
|
|
891
917
|
|
|
892
918
|
declare type __VLS_PublicProps_16 = {
|
|
893
919
|
"formData"?: any;
|
|
894
|
-
} &
|
|
920
|
+
} & __VLS_Props_19;
|
|
895
921
|
|
|
896
922
|
declare type __VLS_PublicProps_17 = {
|
|
897
923
|
"formData"?: any;
|
|
898
|
-
} &
|
|
924
|
+
} & __VLS_Props_20;
|
|
899
925
|
|
|
900
926
|
declare type __VLS_PublicProps_18 = {
|
|
901
927
|
"formData"?: any;
|
|
902
|
-
} &
|
|
928
|
+
} & __VLS_Props_21;
|
|
903
929
|
|
|
904
930
|
declare type __VLS_PublicProps_19 = {
|
|
905
931
|
"formData"?: any;
|
|
906
|
-
} &
|
|
932
|
+
} & __VLS_Props_22;
|
|
907
933
|
|
|
908
934
|
declare type __VLS_PublicProps_2 = {
|
|
909
935
|
"formData"?: any;
|
|
910
|
-
} &
|
|
936
|
+
} & __VLS_Props_5;
|
|
911
937
|
|
|
912
938
|
declare type __VLS_PublicProps_20 = {
|
|
913
939
|
"formData"?: any;
|
|
914
|
-
} &
|
|
940
|
+
} & __VLS_Props_23;
|
|
915
941
|
|
|
916
942
|
declare type __VLS_PublicProps_21 = {
|
|
917
943
|
"formData"?: any;
|
|
918
|
-
} &
|
|
944
|
+
} & __VLS_Props_24;
|
|
919
945
|
|
|
920
946
|
declare type __VLS_PublicProps_22 = {
|
|
921
947
|
"formData"?: any;
|
|
922
|
-
} &
|
|
948
|
+
} & __VLS_Props_25;
|
|
923
949
|
|
|
924
950
|
declare type __VLS_PublicProps_23 = {
|
|
925
951
|
"formData"?: any;
|
|
926
|
-
} &
|
|
952
|
+
} & __VLS_Props_26;
|
|
927
953
|
|
|
928
954
|
declare type __VLS_PublicProps_24 = {
|
|
929
955
|
"formData"?: any;
|
|
930
|
-
} &
|
|
956
|
+
} & __VLS_Props_27;
|
|
931
957
|
|
|
932
958
|
declare type __VLS_PublicProps_25 = {
|
|
933
959
|
"formData"?: any;
|
|
934
|
-
} &
|
|
960
|
+
} & __VLS_Props_28;
|
|
935
961
|
|
|
936
962
|
declare type __VLS_PublicProps_26 = {
|
|
937
963
|
"formData"?: any;
|
|
938
|
-
} &
|
|
964
|
+
} & __VLS_Props_29;
|
|
939
965
|
|
|
940
966
|
declare type __VLS_PublicProps_27 = {
|
|
941
967
|
"formData"?: any;
|
|
942
|
-
} &
|
|
968
|
+
} & __VLS_Props_30;
|
|
943
969
|
|
|
944
970
|
declare type __VLS_PublicProps_28 = {
|
|
945
971
|
"formData"?: any;
|
|
946
|
-
} &
|
|
972
|
+
} & __VLS_Props_31;
|
|
947
973
|
|
|
948
974
|
declare type __VLS_PublicProps_29 = {
|
|
949
975
|
"formData"?: any;
|
|
950
|
-
} &
|
|
976
|
+
} & __VLS_Props_32;
|
|
951
977
|
|
|
952
978
|
declare type __VLS_PublicProps_3 = {
|
|
953
979
|
"formData"?: any;
|
|
954
|
-
} &
|
|
980
|
+
} & __VLS_Props_6;
|
|
955
981
|
|
|
956
982
|
declare type __VLS_PublicProps_30 = {
|
|
957
983
|
"formData"?: any;
|
|
958
|
-
} &
|
|
984
|
+
} & __VLS_Props_33;
|
|
959
985
|
|
|
960
986
|
declare type __VLS_PublicProps_31 = {
|
|
961
987
|
"formData"?: any;
|
|
962
|
-
} &
|
|
988
|
+
} & __VLS_Props_34;
|
|
963
989
|
|
|
964
990
|
declare type __VLS_PublicProps_32 = {
|
|
965
991
|
"formData"?: any;
|
|
966
|
-
} &
|
|
992
|
+
} & __VLS_Props_35;
|
|
967
993
|
|
|
968
994
|
declare type __VLS_PublicProps_33 = {
|
|
969
995
|
"formData"?: any;
|
|
970
|
-
} &
|
|
996
|
+
} & __VLS_Props_36;
|
|
971
997
|
|
|
972
998
|
declare type __VLS_PublicProps_34 = {
|
|
973
999
|
"formData"?: any;
|
|
974
|
-
} &
|
|
1000
|
+
} & __VLS_Props_37;
|
|
975
1001
|
|
|
976
1002
|
declare type __VLS_PublicProps_35 = {
|
|
977
1003
|
"formData"?: any;
|
|
978
|
-
} &
|
|
1004
|
+
} & __VLS_Props_38;
|
|
979
1005
|
|
|
980
1006
|
declare type __VLS_PublicProps_36 = {
|
|
981
1007
|
"formData"?: any;
|
|
982
|
-
} &
|
|
1008
|
+
} & __VLS_Props_39;
|
|
983
1009
|
|
|
984
1010
|
declare type __VLS_PublicProps_37 = {
|
|
985
1011
|
"formData"?: any;
|
|
986
|
-
} &
|
|
1012
|
+
} & __VLS_Props_40;
|
|
987
1013
|
|
|
988
1014
|
declare type __VLS_PublicProps_38 = {
|
|
989
1015
|
"formData"?: any;
|
|
990
|
-
} &
|
|
1016
|
+
} & __VLS_Props_41;
|
|
991
1017
|
|
|
992
1018
|
declare type __VLS_PublicProps_39 = {
|
|
993
1019
|
"formData"?: any;
|
|
994
|
-
} &
|
|
1020
|
+
} & __VLS_Props_42;
|
|
995
1021
|
|
|
996
1022
|
declare type __VLS_PublicProps_4 = {
|
|
997
1023
|
"formData"?: any;
|
|
998
|
-
} &
|
|
1024
|
+
} & __VLS_Props_7;
|
|
999
1025
|
|
|
1000
1026
|
declare type __VLS_PublicProps_40 = {
|
|
1001
1027
|
"formData"?: any;
|
|
1002
|
-
} &
|
|
1028
|
+
} & __VLS_Props_43;
|
|
1003
1029
|
|
|
1004
1030
|
declare type __VLS_PublicProps_41 = {
|
|
1005
1031
|
"formData"?: any;
|
|
1006
|
-
} &
|
|
1032
|
+
} & __VLS_Props_44;
|
|
1007
1033
|
|
|
1008
1034
|
declare type __VLS_PublicProps_42 = {
|
|
1009
1035
|
"formData"?: any;
|
|
1010
|
-
} &
|
|
1036
|
+
} & __VLS_Props_45;
|
|
1011
1037
|
|
|
1012
1038
|
declare type __VLS_PublicProps_43 = {
|
|
1013
1039
|
"formData"?: any;
|
|
1014
|
-
} &
|
|
1040
|
+
} & __VLS_Props_46;
|
|
1015
1041
|
|
|
1016
1042
|
declare type __VLS_PublicProps_44 = {
|
|
1017
1043
|
"formData"?: any;
|
|
1018
|
-
} &
|
|
1044
|
+
} & __VLS_Props_47;
|
|
1019
1045
|
|
|
1020
1046
|
declare type __VLS_PublicProps_45 = {
|
|
1021
1047
|
"formData"?: any;
|
|
1022
|
-
} &
|
|
1048
|
+
} & __VLS_Props_48;
|
|
1023
1049
|
|
|
1024
1050
|
declare type __VLS_PublicProps_46 = {
|
|
1025
1051
|
"formData"?: any;
|
|
1026
|
-
} &
|
|
1052
|
+
} & __VLS_Props_49;
|
|
1027
1053
|
|
|
1028
1054
|
declare type __VLS_PublicProps_5 = {
|
|
1029
1055
|
"formData"?: any;
|
|
1030
|
-
} &
|
|
1056
|
+
} & __VLS_Props_8;
|
|
1031
1057
|
|
|
1032
1058
|
declare type __VLS_PublicProps_6 = {
|
|
1033
1059
|
"formData"?: any;
|
|
1034
|
-
} &
|
|
1060
|
+
} & __VLS_Props_9;
|
|
1035
1061
|
|
|
1036
1062
|
declare type __VLS_PublicProps_7 = {
|
|
1037
1063
|
"formData"?: any;
|
|
1038
|
-
} &
|
|
1064
|
+
} & __VLS_Props_10;
|
|
1039
1065
|
|
|
1040
1066
|
declare type __VLS_PublicProps_8 = {
|
|
1041
1067
|
"formData"?: any;
|
|
1042
|
-
} &
|
|
1068
|
+
} & __VLS_Props_11;
|
|
1043
1069
|
|
|
1044
1070
|
declare type __VLS_PublicProps_9 = {
|
|
1045
1071
|
"formData"?: any;
|
|
1046
|
-
} &
|
|
1072
|
+
} & __VLS_Props_12;
|
|
1047
1073
|
|
|
1048
1074
|
declare function __VLS_template(): {
|
|
1049
1075
|
attrs: Partial<{}>;
|
|
@@ -1389,6 +1415,38 @@ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
|
1389
1415
|
*/
|
|
1390
1416
|
export declare const allAction: (context: any, emits: any, formData: any, actionName: string, isInit?: boolean) => void;
|
|
1391
1417
|
|
|
1418
|
+
/**
|
|
1419
|
+
* 解析所有组件按顺序排列,去掉所有容器布局,
|
|
1420
|
+
* 需考虑如果是主子表单的情况需要怎么操作,
|
|
1421
|
+
* 除了box,dytable,其它的是否只需要解析容器内部的子容器,
|
|
1422
|
+
* 第一步,先将dytable容器的数据解析完成
|
|
1423
|
+
* @param dataList
|
|
1424
|
+
*/
|
|
1425
|
+
export declare function analysisAppComps(dataList: any): {
|
|
1426
|
+
selectList: any[];
|
|
1427
|
+
compListResult: Record<string, any>;
|
|
1428
|
+
fieldList: any;
|
|
1429
|
+
searchItemList: SearchProps[];
|
|
1430
|
+
};
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* 解析自动匹配平台格式的数据
|
|
1434
|
+
* @param fieldList
|
|
1435
|
+
*/
|
|
1436
|
+
export declare const analysisAutoFitOsCompDatas: (fieldList: any) => {
|
|
1437
|
+
selectList: any[];
|
|
1438
|
+
compListResult: Record<string, any>;
|
|
1439
|
+
compFieldList: FieldInfo[];
|
|
1440
|
+
fieldList: any[];
|
|
1441
|
+
searchFieldList: SearchProps[];
|
|
1442
|
+
searchItemList?: undefined;
|
|
1443
|
+
} | {
|
|
1444
|
+
selectList: any[];
|
|
1445
|
+
compListResult: Record<string, any>;
|
|
1446
|
+
fieldList: any;
|
|
1447
|
+
searchItemList: SearchProps[];
|
|
1448
|
+
};
|
|
1449
|
+
|
|
1392
1450
|
/**
|
|
1393
1451
|
* 解析表单字段信息及层级
|
|
1394
1452
|
*/
|
|
@@ -1396,7 +1454,8 @@ export declare const analysisCompDatas: (dataList: any) => {
|
|
|
1396
1454
|
selectList: any[];
|
|
1397
1455
|
compListResult: Record<string, any>;
|
|
1398
1456
|
compFieldList: FieldInfo[];
|
|
1399
|
-
fieldList
|
|
1457
|
+
fieldList: any[];
|
|
1458
|
+
searchFieldList: SearchProps[];
|
|
1400
1459
|
searchItemList?: undefined;
|
|
1401
1460
|
} | {
|
|
1402
1461
|
selectList: any[];
|
|
@@ -1404,6 +1463,7 @@ export declare const analysisCompDatas: (dataList: any) => {
|
|
|
1404
1463
|
fieldList: FieldInfo[];
|
|
1405
1464
|
searchItemList: SearchProps[];
|
|
1406
1465
|
compFieldList?: undefined;
|
|
1466
|
+
searchFieldList?: undefined;
|
|
1407
1467
|
};
|
|
1408
1468
|
|
|
1409
1469
|
/**
|
|
@@ -1592,6 +1652,12 @@ export declare type ApiUrls = {
|
|
|
1592
1652
|
modifyColumnsAction?: Function;
|
|
1593
1653
|
};
|
|
1594
1654
|
|
|
1655
|
+
/**
|
|
1656
|
+
* AppList App容器信息,专门处理有表单在app 中有主子表的情况
|
|
1657
|
+
*/
|
|
1658
|
+
export declare interface AppFieldInfo extends TabFieldInfo {
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1595
1661
|
export declare const areaItem: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1596
1662
|
selfFunc: (...args: any[]) => void;
|
|
1597
1663
|
selectItem: (...args: any[]) => void;
|
|
@@ -1953,7 +2019,7 @@ export declare function closeLoad(): void;
|
|
|
1953
2019
|
/**
|
|
1954
2020
|
* Collapse 容器信息
|
|
1955
2021
|
*/
|
|
1956
|
-
export declare interface
|
|
2022
|
+
export declare interface CollapseFieldInfo extends TabFieldInfo {
|
|
1957
2023
|
}
|
|
1958
2024
|
|
|
1959
2025
|
export declare const colorItem: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -2199,8 +2265,24 @@ export declare const ContentMenu: __VLS_WithTemplateSlots_6<typeof __VLS_compone
|
|
|
2199
2265
|
*/
|
|
2200
2266
|
export declare function contextOperation(act: string, item: any, parentItem: any): void;
|
|
2201
2267
|
|
|
2268
|
+
/**
|
|
2269
|
+
* 将pc模型转为app模型
|
|
2270
|
+
* @param pageInfo
|
|
2271
|
+
*/
|
|
2272
|
+
export declare function convertCompToAppComps(pageInfo: PageFieldInfo): {
|
|
2273
|
+
fieldList: any[];
|
|
2274
|
+
};
|
|
2275
|
+
|
|
2202
2276
|
export declare const convertData: (data: any) => any;
|
|
2203
2277
|
|
|
2278
|
+
/**
|
|
2279
|
+
* 将pc模型转为app模型
|
|
2280
|
+
* @param pageInfo
|
|
2281
|
+
*/
|
|
2282
|
+
export declare function convertPcCompToFitPlatformComps(pageInfo: PageFieldInfo): PageFieldInfo | {
|
|
2283
|
+
fieldList: any[];
|
|
2284
|
+
};
|
|
2285
|
+
|
|
2204
2286
|
/**
|
|
2205
2287
|
* 下划线转驼峰
|
|
2206
2288
|
* @param str
|
|
@@ -2930,6 +3012,8 @@ isSearch: boolean;
|
|
|
2930
3012
|
showFormItem: boolean;
|
|
2931
3013
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2932
3014
|
|
|
3015
|
+
export declare const device: any;
|
|
3016
|
+
|
|
2933
3017
|
export declare const dialogInputItem: DefineComponent<__VLS_PublicProps_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2934
3018
|
selfFunc: (...args: any[]) => void;
|
|
2935
3019
|
selectItem: (...args: any[]) => void;
|
|
@@ -3383,6 +3467,10 @@ export declare interface FieldInfo {
|
|
|
3383
3467
|
* Tab容器数据
|
|
3384
3468
|
*/
|
|
3385
3469
|
tabList?: TabFieldInfo[];
|
|
3470
|
+
/**
|
|
3471
|
+
* 专门处理app
|
|
3472
|
+
*/
|
|
3473
|
+
appList?: AppFieldInfo[];
|
|
3386
3474
|
/**
|
|
3387
3475
|
* Card 容器数据
|
|
3388
3476
|
*/
|
|
@@ -3390,11 +3478,11 @@ export declare interface FieldInfo {
|
|
|
3390
3478
|
/**
|
|
3391
3479
|
* 折叠容器(collapse)数据
|
|
3392
3480
|
*/
|
|
3393
|
-
collapseList?:
|
|
3481
|
+
collapseList?: CollapseFieldInfo[];
|
|
3394
3482
|
/**
|
|
3395
3483
|
* 分栏容器(splitter)数据
|
|
3396
3484
|
*/
|
|
3397
|
-
splitterList?:
|
|
3485
|
+
splitterList?: SplitterFieldInfo[];
|
|
3398
3486
|
/**
|
|
3399
3487
|
* 传统table布局表单,对应动态表格(dytable)容器
|
|
3400
3488
|
*/
|
|
@@ -3530,6 +3618,11 @@ export declare function getAxiosInstance(): AxiosInstance;
|
|
|
3530
3618
|
*/
|
|
3531
3619
|
export declare function getDataIndex(data: any, prefix: string, parentIndex: any, index: any): number;
|
|
3532
3620
|
|
|
3621
|
+
/**
|
|
3622
|
+
* 获取当前设备类型
|
|
3623
|
+
*/
|
|
3624
|
+
export declare function getDeviceInfo(): any;
|
|
3625
|
+
|
|
3533
3626
|
export declare function getDynamicEvents(props: any, recall: Function): Record<string, any>;
|
|
3534
3627
|
|
|
3535
3628
|
/**
|
|
@@ -3713,20 +3806,40 @@ isSearch: boolean;
|
|
|
3713
3806
|
showFormItem: boolean;
|
|
3714
3807
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
3715
3808
|
|
|
3809
|
+
export declare const isAndroid: boolean;
|
|
3810
|
+
|
|
3716
3811
|
export declare const isDark: UseDarkReturn;
|
|
3717
3812
|
|
|
3813
|
+
export declare const isHarmony: any;
|
|
3814
|
+
|
|
3815
|
+
export declare const isHuawei: any;
|
|
3816
|
+
|
|
3817
|
+
export declare const isIos: boolean;
|
|
3818
|
+
|
|
3718
3819
|
/**
|
|
3719
3820
|
* 判断是不是Json
|
|
3720
3821
|
* @param v
|
|
3721
3822
|
*/
|
|
3722
3823
|
export declare function isJson(v: any): boolean;
|
|
3723
3824
|
|
|
3825
|
+
export declare const isLinux: boolean;
|
|
3826
|
+
|
|
3827
|
+
export declare const isMac: boolean;
|
|
3828
|
+
|
|
3829
|
+
export declare const isMobile: boolean;
|
|
3830
|
+
|
|
3831
|
+
export declare const isPc: boolean;
|
|
3832
|
+
|
|
3724
3833
|
/**
|
|
3725
3834
|
* 判断是否是Promise
|
|
3726
3835
|
* @param obj
|
|
3727
3836
|
*/
|
|
3728
3837
|
export declare function isPromise<T = any>(obj: any): obj is Promise<T>;
|
|
3729
3838
|
|
|
3839
|
+
export declare const isTablet: boolean;
|
|
3840
|
+
|
|
3841
|
+
export declare const isWindows: boolean;
|
|
3842
|
+
|
|
3730
3843
|
/**
|
|
3731
3844
|
* 校验组件
|
|
3732
3845
|
* @param item
|
|
@@ -3889,6 +4002,12 @@ isSearch: boolean;
|
|
|
3889
4002
|
showFormItem: boolean;
|
|
3890
4003
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
3891
4004
|
|
|
4005
|
+
/**
|
|
4006
|
+
* 判断标签是否需要显示
|
|
4007
|
+
* @param item
|
|
4008
|
+
*/
|
|
4009
|
+
export declare function labelVisibleCheck(item: any): any;
|
|
4010
|
+
|
|
3892
4011
|
declare enum LangType {
|
|
3893
4012
|
EN_US = "en_US",
|
|
3894
4013
|
ZH_CN = "zh_CN"
|
|
@@ -3939,6 +4058,66 @@ export declare function loadGetData(url: string): Promise<{
|
|
|
3939
4058
|
*/
|
|
3940
4059
|
export declare function loadProp(prefix: string, fieldName: string, parentIndex: number, currentIndex: number): string;
|
|
3941
4060
|
|
|
4061
|
+
export declare const MainBar: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4062
|
+
select: (isSubMenu: boolean, item: any) => any;
|
|
4063
|
+
}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
|
|
4064
|
+
onSelect?: (isSubMenu: boolean, item: any) => any;
|
|
4065
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4066
|
+
|
|
4067
|
+
declare interface MainBarItem {
|
|
4068
|
+
id: string;
|
|
4069
|
+
name: string;
|
|
4070
|
+
icon: string;
|
|
4071
|
+
route: string;
|
|
4072
|
+
}
|
|
4073
|
+
|
|
4074
|
+
export declare const MainContainer: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4075
|
+
|
|
4076
|
+
export declare const MainContent: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4077
|
+
select: (item: MainBarItem) => any;
|
|
4078
|
+
"system-config": () => any;
|
|
4079
|
+
}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
|
|
4080
|
+
onSelect?: (item: MainBarItem) => any;
|
|
4081
|
+
"onSystem-config"?: () => any;
|
|
4082
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4083
|
+
|
|
4084
|
+
export declare const MainSubBar: DefineComponent<ExtractPropTypes< {
|
|
4085
|
+
level: {
|
|
4086
|
+
type: NumberConstructor;
|
|
4087
|
+
default: number;
|
|
4088
|
+
required: true;
|
|
4089
|
+
};
|
|
4090
|
+
menuType: {
|
|
4091
|
+
type: StringConstructor;
|
|
4092
|
+
default: string;
|
|
4093
|
+
};
|
|
4094
|
+
dataList: {
|
|
4095
|
+
type: PropType<any>;
|
|
4096
|
+
};
|
|
4097
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4098
|
+
selectMenu: (...args: any[]) => void;
|
|
4099
|
+
"update:dataList": (value: any) => void;
|
|
4100
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
4101
|
+
level: {
|
|
4102
|
+
type: NumberConstructor;
|
|
4103
|
+
default: number;
|
|
4104
|
+
required: true;
|
|
4105
|
+
};
|
|
4106
|
+
menuType: {
|
|
4107
|
+
type: StringConstructor;
|
|
4108
|
+
default: string;
|
|
4109
|
+
};
|
|
4110
|
+
dataList: {
|
|
4111
|
+
type: PropType<any>;
|
|
4112
|
+
};
|
|
4113
|
+
}>> & Readonly<{
|
|
4114
|
+
onSelectMenu?: (...args: any[]) => any;
|
|
4115
|
+
"onUpdate:dataList"?: (value: any) => any;
|
|
4116
|
+
}>, {
|
|
4117
|
+
level: number;
|
|
4118
|
+
menuType: string;
|
|
4119
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4120
|
+
|
|
3942
4121
|
export declare const markdownItem: DefineComponent<__VLS_PublicProps_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3943
4122
|
selfFunc: (...args: any[]) => void;
|
|
3944
4123
|
selectItem: (...args: any[]) => void;
|
|
@@ -3957,6 +4136,90 @@ showFormItem: boolean;
|
|
|
3957
4136
|
|
|
3958
4137
|
declare const menu: Ref<HTMLDivElement, HTMLDivElement>;
|
|
3959
4138
|
|
|
4139
|
+
declare interface MenuItem {
|
|
4140
|
+
component: any;
|
|
4141
|
+
name: string;
|
|
4142
|
+
menuIcon?: string;
|
|
4143
|
+
path?: string;
|
|
4144
|
+
meta?: Record<string, any>;
|
|
4145
|
+
children?: MenuItem[];
|
|
4146
|
+
}
|
|
4147
|
+
|
|
4148
|
+
declare interface MenuItem_2 {
|
|
4149
|
+
component: any;
|
|
4150
|
+
name: string;
|
|
4151
|
+
menuIcon?: string;
|
|
4152
|
+
path?: string;
|
|
4153
|
+
meta?: Record<string, any>;
|
|
4154
|
+
children?: MenuItem_2[];
|
|
4155
|
+
}
|
|
4156
|
+
|
|
4157
|
+
export declare const MenuShot: DefineComponent<ExtractPropTypes< {
|
|
4158
|
+
menus: {
|
|
4159
|
+
type: {
|
|
4160
|
+
(arrayLength: number): any[];
|
|
4161
|
+
(...items: any[]): any[];
|
|
4162
|
+
new (arrayLength: number): any[];
|
|
4163
|
+
new (...items: any[]): any[];
|
|
4164
|
+
isArray(arg: any): arg is any[];
|
|
4165
|
+
readonly prototype: any[];
|
|
4166
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
4167
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
4168
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
4169
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
4170
|
+
of<T>(...items: T[]): T[];
|
|
4171
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
4172
|
+
};
|
|
4173
|
+
default: () => any[];
|
|
4174
|
+
};
|
|
4175
|
+
icon: {
|
|
4176
|
+
type: StringConstructor;
|
|
4177
|
+
default: string;
|
|
4178
|
+
};
|
|
4179
|
+
position: {
|
|
4180
|
+
type: PropType<Record<string, any>>;
|
|
4181
|
+
default: {};
|
|
4182
|
+
};
|
|
4183
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4184
|
+
change: (...args: any[]) => void;
|
|
4185
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
4186
|
+
menus: {
|
|
4187
|
+
type: {
|
|
4188
|
+
(arrayLength: number): any[];
|
|
4189
|
+
(...items: any[]): any[];
|
|
4190
|
+
new (arrayLength: number): any[];
|
|
4191
|
+
new (...items: any[]): any[];
|
|
4192
|
+
isArray(arg: any): arg is any[];
|
|
4193
|
+
readonly prototype: any[];
|
|
4194
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
4195
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
4196
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
4197
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
4198
|
+
of<T>(...items: T[]): T[];
|
|
4199
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
4200
|
+
};
|
|
4201
|
+
default: () => any[];
|
|
4202
|
+
};
|
|
4203
|
+
icon: {
|
|
4204
|
+
type: StringConstructor;
|
|
4205
|
+
default: string;
|
|
4206
|
+
};
|
|
4207
|
+
position: {
|
|
4208
|
+
type: PropType<Record<string, any>>;
|
|
4209
|
+
default: {};
|
|
4210
|
+
};
|
|
4211
|
+
}>> & Readonly<{
|
|
4212
|
+
onChange?: (...args: any[]) => any;
|
|
4213
|
+
}>, {
|
|
4214
|
+
icon: string;
|
|
4215
|
+
position: Record<string, any>;
|
|
4216
|
+
menus: any[];
|
|
4217
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
4218
|
+
screenshot: HTMLDivElement;
|
|
4219
|
+
screenshotDropdown: HTMLDivElement;
|
|
4220
|
+
screenshotBtnRef: unknown;
|
|
4221
|
+
}, HTMLDivElement>;
|
|
4222
|
+
|
|
3960
4223
|
/**
|
|
3961
4224
|
* 菜单信息
|
|
3962
4225
|
*/
|
|
@@ -4649,6 +4912,13 @@ export declare type SelectOption = {
|
|
|
4649
4912
|
*/
|
|
4650
4913
|
export declare function setCssVar(name: string, val: any, dom?: HTMLElement): void;
|
|
4651
4914
|
|
|
4915
|
+
/**
|
|
4916
|
+
* 设置测试
|
|
4917
|
+
* @param testFlag
|
|
4918
|
+
* @param type
|
|
4919
|
+
*/
|
|
4920
|
+
export declare function setTest(testFlag: boolean, type?: string): void;
|
|
4921
|
+
|
|
4652
4922
|
export declare const ShDynamicForm: DefineComponent<ExtractPropTypes< {
|
|
4653
4923
|
compUrl: {
|
|
4654
4924
|
type: PropType<ApiUrls>;
|
|
@@ -4853,7 +5123,7 @@ showFormItem: boolean;
|
|
|
4853
5123
|
/**
|
|
4854
5124
|
* Splitter 容器信息
|
|
4855
5125
|
*/
|
|
4856
|
-
export declare interface
|
|
5126
|
+
export declare interface SplitterFieldInfo extends TabFieldInfo {
|
|
4857
5127
|
}
|
|
4858
5128
|
|
|
4859
5129
|
export declare const starHorseAxios: AxiosInstance;
|
|
@@ -4881,6 +5151,9 @@ btnPermissions: {
|
|
|
4881
5151
|
type: PropType<any>;
|
|
4882
5152
|
required: false;
|
|
4883
5153
|
};
|
|
5154
|
+
searchParams: {
|
|
5155
|
+
type: PropType<SearchFields>;
|
|
5156
|
+
};
|
|
4884
5157
|
}>, {
|
|
4885
5158
|
setFormData: (val: any) => void;
|
|
4886
5159
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -4913,6 +5186,9 @@ btnPermissions: {
|
|
|
4913
5186
|
type: PropType<any>;
|
|
4914
5187
|
required: false;
|
|
4915
5188
|
};
|
|
5189
|
+
searchParams: {
|
|
5190
|
+
type: PropType<SearchFields>;
|
|
5191
|
+
};
|
|
4916
5192
|
}>> & Readonly<{
|
|
4917
5193
|
onUpload?: (...args: any[]) => any;
|
|
4918
5194
|
onUploadError?: (...args: any[]) => any;
|
|
@@ -6142,9 +6418,44 @@ type: BooleanConstructor;
|
|
|
6142
6418
|
default: boolean;
|
|
6143
6419
|
};
|
|
6144
6420
|
compUrl: {
|
|
6145
|
-
type:
|
|
6421
|
+
type: ObjectConstructor;
|
|
6146
6422
|
};
|
|
6147
6423
|
formData: {
|
|
6424
|
+
type: ObjectConstructor;
|
|
6425
|
+
required: true;
|
|
6426
|
+
};
|
|
6427
|
+
defaultCondition: {
|
|
6428
|
+
type: ArrayConstructor;
|
|
6429
|
+
};
|
|
6430
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6431
|
+
searchData: (...args: any[]) => void;
|
|
6432
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
6433
|
+
dialogInput: {
|
|
6434
|
+
type: BooleanConstructor;
|
|
6435
|
+
default: boolean;
|
|
6436
|
+
};
|
|
6437
|
+
mutComp: {
|
|
6438
|
+
type: BooleanConstructor;
|
|
6439
|
+
default: boolean;
|
|
6440
|
+
};
|
|
6441
|
+
compUrl: {
|
|
6442
|
+
type: ObjectConstructor;
|
|
6443
|
+
};
|
|
6444
|
+
formData: {
|
|
6445
|
+
type: ObjectConstructor;
|
|
6446
|
+
required: true;
|
|
6447
|
+
};
|
|
6448
|
+
defaultCondition: {
|
|
6449
|
+
type: ArrayConstructor;
|
|
6450
|
+
};
|
|
6451
|
+
}>> & Readonly<{
|
|
6452
|
+
onSearchData?: (...args: any[]) => any;
|
|
6453
|
+
}>, {
|
|
6454
|
+
dialogInput: boolean;
|
|
6455
|
+
mutComp: boolean;
|
|
6456
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
6457
|
+
searchFormRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
6458
|
+
formData: {
|
|
6148
6459
|
type: PropType<SearchFields>;
|
|
6149
6460
|
required: true;
|
|
6150
6461
|
};
|
|
@@ -6164,13 +6475,6 @@ of<T>(...items: T[]): T[];
|
|
|
6164
6475
|
readonly [Symbol.species]: ArrayConstructor;
|
|
6165
6476
|
};
|
|
6166
6477
|
};
|
|
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
6478
|
dialogInput: {
|
|
6175
6479
|
type: BooleanConstructor;
|
|
6176
6480
|
default: boolean;
|
|
@@ -6179,9 +6483,27 @@ mutComp: {
|
|
|
6179
6483
|
type: BooleanConstructor;
|
|
6180
6484
|
default: boolean;
|
|
6181
6485
|
};
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6486
|
+
}>> & Readonly<{
|
|
6487
|
+
onSearchData?: (...args: any[]) => any;
|
|
6488
|
+
onInitComplete?: (...args: any[]) => any;
|
|
6489
|
+
}>, {
|
|
6490
|
+
searchForm: Ref<any, any>;
|
|
6491
|
+
setData: (data: any) => void;
|
|
6492
|
+
createSearchParams: (formData: any) => any[];
|
|
6493
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6494
|
+
searchData: (...args: any[]) => void;
|
|
6495
|
+
initComplete: (...args: any[]) => void;
|
|
6496
|
+
}, PublicProps, {
|
|
6497
|
+
dialogInput: boolean;
|
|
6498
|
+
mutComp: boolean;
|
|
6499
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
6500
|
+
P: {};
|
|
6501
|
+
B: {};
|
|
6502
|
+
D: {};
|
|
6503
|
+
C: {};
|
|
6504
|
+
M: {};
|
|
6505
|
+
Defaults: {};
|
|
6506
|
+
}, Readonly<ExtractPropTypes< {
|
|
6185
6507
|
formData: {
|
|
6186
6508
|
type: PropType<SearchFields>;
|
|
6187
6509
|
required: true;
|
|
@@ -6202,12 +6524,26 @@ of<T>(...items: T[]): T[];
|
|
|
6202
6524
|
readonly [Symbol.species]: ArrayConstructor;
|
|
6203
6525
|
};
|
|
6204
6526
|
};
|
|
6527
|
+
dialogInput: {
|
|
6528
|
+
type: BooleanConstructor;
|
|
6529
|
+
default: boolean;
|
|
6530
|
+
};
|
|
6531
|
+
mutComp: {
|
|
6532
|
+
type: BooleanConstructor;
|
|
6533
|
+
default: boolean;
|
|
6534
|
+
};
|
|
6205
6535
|
}>> & Readonly<{
|
|
6206
6536
|
onSearchData?: (...args: any[]) => any;
|
|
6537
|
+
onInitComplete?: (...args: any[]) => any;
|
|
6207
6538
|
}>, {
|
|
6539
|
+
searchForm: Ref<any, any>;
|
|
6540
|
+
setData: (data: any) => void;
|
|
6541
|
+
createSearchParams: (formData: any) => any[];
|
|
6542
|
+
}, {}, {}, {}, {
|
|
6208
6543
|
dialogInput: boolean;
|
|
6209
6544
|
mutComp: boolean;
|
|
6210
|
-
}
|
|
6545
|
+
}>;
|
|
6546
|
+
}, any>;
|
|
6211
6547
|
|
|
6212
6548
|
export declare const StarHorseSidebar: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
6213
6549
|
|
|
@@ -6634,6 +6970,9 @@ hideButtonList: {
|
|
|
6634
6970
|
type: BooleanConstructor;
|
|
6635
6971
|
default: boolean;
|
|
6636
6972
|
};
|
|
6973
|
+
searchParams: {
|
|
6974
|
+
type: PropType<SearchFields>;
|
|
6975
|
+
};
|
|
6637
6976
|
/**
|
|
6638
6977
|
* Data sharer
|
|
6639
6978
|
* Get information shared by others
|
|
@@ -6677,6 +7016,13 @@ default: string;
|
|
|
6677
7016
|
editCondition: {
|
|
6678
7017
|
type: PropType<EditCondition[]>;
|
|
6679
7018
|
};
|
|
7019
|
+
/**
|
|
7020
|
+
* 翻页保留历史数据
|
|
7021
|
+
*/
|
|
7022
|
+
pageKeepOldData: {
|
|
7023
|
+
type: BooleanConstructor;
|
|
7024
|
+
default: boolean;
|
|
7025
|
+
};
|
|
6680
7026
|
}>, {
|
|
6681
7027
|
init: () => Promise<void>;
|
|
6682
7028
|
createSearchParams: (formData: SearchParams[], orderBy?: OrderByInfo[]) => void;
|
|
@@ -6798,6 +7144,9 @@ hideButtonList: {
|
|
|
6798
7144
|
type: BooleanConstructor;
|
|
6799
7145
|
default: boolean;
|
|
6800
7146
|
};
|
|
7147
|
+
searchParams: {
|
|
7148
|
+
type: PropType<SearchFields>;
|
|
7149
|
+
};
|
|
6801
7150
|
/**
|
|
6802
7151
|
* Data sharer
|
|
6803
7152
|
* Get information shared by others
|
|
@@ -6841,6 +7190,13 @@ default: string;
|
|
|
6841
7190
|
editCondition: {
|
|
6842
7191
|
type: PropType<EditCondition[]>;
|
|
6843
7192
|
};
|
|
7193
|
+
/**
|
|
7194
|
+
* 翻页保留历史数据
|
|
7195
|
+
*/
|
|
7196
|
+
pageKeepOldData: {
|
|
7197
|
+
type: BooleanConstructor;
|
|
7198
|
+
default: boolean;
|
|
7199
|
+
};
|
|
6844
7200
|
}>> & Readonly<{
|
|
6845
7201
|
onSelectItem?: (...args: any[]) => any;
|
|
6846
7202
|
onPermission?: (...args: any[]) => any;
|
|
@@ -6866,6 +7222,7 @@ userColumnName: string;
|
|
|
6866
7222
|
btnPermissions: Record<string, string>;
|
|
6867
7223
|
pageCombList: unknown[];
|
|
6868
7224
|
pageBarLayout: string;
|
|
7225
|
+
pageKeepOldData: boolean;
|
|
6869
7226
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
6870
7227
|
table: unknown;
|
|
6871
7228
|
starHorseTableCompRef: unknown;
|