star-horse-lowcode 2.8.73 → 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.
@@ -39,7 +39,6 @@ import { Ref } from 'vue';
39
39
  import { RouteLocationNormalized } from 'vue-router';
40
40
  import { Router } from 'vue-router';
41
41
  import { ShallowRef } from 'vue';
42
- import { ShallowUnwrapRef } from 'vue';
43
42
  import { Slot } from 'vue';
44
43
  import { StoreDefinition } from 'pinia';
45
44
  import { UseDarkReturn } from '@vueuse/core';
@@ -47,8 +46,144 @@ import { Validator } from 'vanilla-jsoneditor';
47
46
  import { VNodeProps } from 'vue';
48
47
  import { WatchOptions } from 'vue';
49
48
  import { WatchStopHandle } from 'vue';
49
+ import { WritableComputedRef } from 'vue';
50
50
 
51
51
  declare const __VLS_component: DefineComponent<ExtractPropTypes< {
52
+ compUrl: {
53
+ type: PropType<ApiUrls>;
54
+ };
55
+ objectName: {
56
+ type: StringConstructor;
57
+ };
58
+ subFormFlag: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ formSize: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ labelPosition: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ batchName: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
74
+ batchFieldName: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
78
+ fieldList: {
79
+ type: ObjectConstructor;
80
+ required: true;
81
+ };
82
+ globalCondition: {
83
+ type: ObjectConstructor;
84
+ };
85
+ outerData: {
86
+ type: ObjectConstructor;
87
+ };
88
+ dynamicForm: {
89
+ type: BooleanConstructor;
90
+ default: boolean;
91
+ };
92
+ primaryKey: {
93
+ type: PropType<string | any>;
94
+ default: string;
95
+ };
96
+ dataFormat: {
97
+ type: FunctionConstructor;
98
+ default: any;
99
+ };
100
+ useViewUrl: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
104
+ slotType: {
105
+ type: StringConstructor;
106
+ default: string;
107
+ };
108
+ }>, {
109
+ setData: (data: any) => void;
110
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
111
+ dataLoaded: (...args: any[]) => void;
112
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
113
+ compUrl: {
114
+ type: PropType<ApiUrls>;
115
+ };
116
+ objectName: {
117
+ type: StringConstructor;
118
+ };
119
+ subFormFlag: {
120
+ type: StringConstructor;
121
+ default: string;
122
+ };
123
+ formSize: {
124
+ type: StringConstructor;
125
+ default: string;
126
+ };
127
+ labelPosition: {
128
+ type: StringConstructor;
129
+ default: string;
130
+ };
131
+ batchName: {
132
+ type: StringConstructor;
133
+ default: string;
134
+ };
135
+ batchFieldName: {
136
+ type: StringConstructor;
137
+ default: string;
138
+ };
139
+ fieldList: {
140
+ type: ObjectConstructor;
141
+ required: true;
142
+ };
143
+ globalCondition: {
144
+ type: ObjectConstructor;
145
+ };
146
+ outerData: {
147
+ type: ObjectConstructor;
148
+ };
149
+ dynamicForm: {
150
+ type: BooleanConstructor;
151
+ default: boolean;
152
+ };
153
+ primaryKey: {
154
+ type: PropType<string | any>;
155
+ default: string;
156
+ };
157
+ dataFormat: {
158
+ type: FunctionConstructor;
159
+ default: any;
160
+ };
161
+ useViewUrl: {
162
+ type: BooleanConstructor;
163
+ default: boolean;
164
+ };
165
+ slotType: {
166
+ type: StringConstructor;
167
+ default: string;
168
+ };
169
+ }>> & Readonly<{
170
+ onDataLoaded?: (...args: any[]) => any;
171
+ }>, {
172
+ batchName: string;
173
+ primaryKey: any;
174
+ subFormFlag: string;
175
+ labelPosition: string;
176
+ dataFormat: Function;
177
+ batchFieldName: string;
178
+ formSize: string;
179
+ dynamicForm: boolean;
180
+ useViewUrl: boolean;
181
+ slotType: string;
182
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
183
+ starHorseFormRef: unknown;
184
+ }, any>;
185
+
186
+ declare const __VLS_component_2: DefineComponent<ExtractPropTypes< {
52
187
  dialogVisible: {
53
188
  type: BooleanConstructor;
54
189
  default: boolean;
@@ -259,7 +394,7 @@ userBtn: UserFuncInfo[];
259
394
  btnTextContinue: string;
260
395
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
261
396
 
262
- declare const __VLS_component_2: DefineComponent<ExtractPropTypes< {
397
+ declare const __VLS_component_3: DefineComponent<ExtractPropTypes< {
263
398
  msg: {
264
399
  type: StringConstructor;
265
400
  };
@@ -330,7 +465,7 @@ contentMenuRef: unknown;
330
465
  sizeInfoRef: HTMLDivElement;
331
466
  }, any>;
332
467
 
333
- declare const __VLS_component_3: DefineComponent<ExtractPropTypes< {
468
+ declare const __VLS_component_4: DefineComponent<ExtractPropTypes< {
334
469
  menuIcon: {
335
470
  type: StringConstructor;
336
471
  };
@@ -369,7 +504,7 @@ iconSize: number;
369
504
  icons: unknown[];
370
505
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
371
506
 
372
- declare const __VLS_component_4: DefineComponent<ExtractPropTypes< {
507
+ declare const __VLS_component_5: DefineComponent<ExtractPropTypes< {
373
508
  needScroller: {
374
509
  type: BooleanConstructor;
375
510
  default: boolean;
@@ -398,7 +533,7 @@ needScroller: boolean;
398
533
  shFormRef: unknown;
399
534
  }, any>;
400
535
 
401
- declare const __VLS_component_5: DefineComponent<ExtractPropTypes< {
536
+ declare const __VLS_component_6: DefineComponent<ExtractPropTypes< {
402
537
  menuData: {
403
538
  type: PropType<any>;
404
539
  default: () => any[];
@@ -582,34 +717,38 @@ default: string;
582
717
  onMouseenter?: () => any;
583
718
  onShow?: () => any;
584
719
  onHide?: () => any;
585
- }>, "menu" | "visible" | "compKey" | "StarHorseIcon" | "hide" | "buttons" | "subMenu" | "subMenuData" | "menuStyle" | "clickHandler" | "showSubMenu" | "mouseenterHandler" | ("active" | "menuData" | "isSubMenu" | "autoHide")> & ShallowUnwrapRef< {
720
+ }>, "menu" | "visible" | "compKey" | "StarHorseIcon" | "hide" | "buttons" | "subMenu" | "subMenuData" | "menuStyle" | "clickHandler" | "showSubMenu" | "mouseenterHandler" | ("active" | "menuData" | "isSubMenu" | "autoHide")> & {
586
721
  compKey: typeof compKey;
587
722
  StarHorseIcon: typeof StarHorseIcon;
588
- menu: typeof menu;
589
- buttons: typeof buttons;
590
- subMenu: typeof subMenu;
591
- visible: typeof visible;
592
- subMenuData: typeof subMenuData;
593
- menuStyle: typeof menuStyle;
723
+ menu: HTMLDivElement;
724
+ buttons: any[];
725
+ subMenu: any;
726
+ visible: boolean;
727
+ subMenuData: any[];
728
+ menuStyle: {
729
+ top: string;
730
+ left: string;
731
+ zIndex: number;
732
+ };
594
733
  hide: typeof hide;
595
734
  clickHandler: typeof clickHandler;
596
735
  showSubMenu: typeof showSubMenu;
597
736
  mouseenterHandler: typeof mouseenterHandler;
598
- }> & {} & ComponentCustomProperties & {} & {
737
+ } & {} & ComponentCustomProperties & {} & {
599
738
  $slots: {
600
739
  title?(_: {}): any;
601
740
  };
602
741
  };
603
742
  }, any>;
604
743
 
605
- declare const __VLS_component_6: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
744
+ declare const __VLS_component_7: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
606
745
 
607
- declare const __VLS_component_7: DefineComponent<__VLS_Props_47, {
746
+ declare const __VLS_component_8: DefineComponent<__VLS_Props_50, {
608
747
  getConfigInfo: () => any;
609
748
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
610
749
  "update:modelValue": (...args: any[]) => void;
611
750
  saveData: (...args: any[]) => void;
612
- }, string, PublicProps, Readonly<__VLS_Props_47> & Readonly<{
751
+ }, string, PublicProps, Readonly<__VLS_Props_50> & Readonly<{
613
752
  "onUpdate:modelValue"?: (...args: any[]) => any;
614
753
  onSaveData?: (...args: any[]) => any;
615
754
  }>, {
@@ -643,7 +782,11 @@ declare type __VLS_Props_18 = ItemPreps;
643
782
 
644
783
  declare type __VLS_Props_19 = ItemPreps;
645
784
 
646
- declare type __VLS_Props_2 = ItemPreps;
785
+ declare type __VLS_Props_2 = {
786
+ categories: MenuItem[];
787
+ iconType?: "user" | "ele";
788
+ position?: "top" | "bottom" | "left" | "right";
789
+ };
647
790
 
648
791
  declare type __VLS_Props_20 = ItemPreps;
649
792
 
@@ -665,7 +808,17 @@ declare type __VLS_Props_28 = ItemPreps;
665
808
 
666
809
  declare type __VLS_Props_29 = ItemPreps;
667
810
 
668
- declare type __VLS_Props_3 = ItemPreps;
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
+ };
669
822
 
670
823
  declare type __VLS_Props_30 = ItemPreps;
671
824
 
@@ -687,7 +840,13 @@ declare type __VLS_Props_38 = ItemPreps;
687
840
 
688
841
  declare type __VLS_Props_39 = ItemPreps;
689
842
 
690
- declare type __VLS_Props_4 = ItemPreps;
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
+ };
691
850
 
692
851
  declare type __VLS_Props_40 = ItemPreps;
693
852
 
@@ -703,7 +862,15 @@ declare type __VLS_Props_45 = ItemPreps;
703
862
 
704
863
  declare type __VLS_Props_46 = ItemPreps;
705
864
 
706
- 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 = {
707
874
  hideDefaultConfig?: boolean;
708
875
  modelValue: boolean;
709
876
  direction?: string;
@@ -712,8 +879,6 @@ declare type __VLS_Props_47 = {
712
879
  compSize?: string;
713
880
  };
714
881
 
715
- declare type __VLS_Props_5 = ItemPreps;
716
-
717
882
  declare type __VLS_Props_6 = ItemPreps;
718
883
 
719
884
  declare type __VLS_Props_7 = ItemPreps;
@@ -728,185 +893,201 @@ declare type __VLS_PublicProps = {
728
893
 
729
894
  declare type __VLS_PublicProps_10 = {
730
895
  "formData"?: any;
731
- } & __VLS_Props_10;
896
+ } & __VLS_Props_13;
732
897
 
733
898
  declare type __VLS_PublicProps_11 = {
734
899
  "formData"?: any;
735
- } & __VLS_Props_11;
900
+ } & __VLS_Props_14;
736
901
 
737
902
  declare type __VLS_PublicProps_12 = {
738
903
  "formData"?: any;
739
- } & __VLS_Props_12;
904
+ } & __VLS_Props_15;
740
905
 
741
906
  declare type __VLS_PublicProps_13 = {
742
907
  "formData"?: any;
743
- } & __VLS_Props_13;
908
+ } & __VLS_Props_16;
744
909
 
745
910
  declare type __VLS_PublicProps_14 = {
746
911
  "formData"?: any;
747
- } & __VLS_Props_14;
912
+ } & __VLS_Props_17;
748
913
 
749
914
  declare type __VLS_PublicProps_15 = {
750
915
  "formData"?: any;
751
- } & __VLS_Props_15;
916
+ } & __VLS_Props_18;
752
917
 
753
918
  declare type __VLS_PublicProps_16 = {
754
919
  "formData"?: any;
755
- } & __VLS_Props_16;
920
+ } & __VLS_Props_19;
756
921
 
757
922
  declare type __VLS_PublicProps_17 = {
758
923
  "formData"?: any;
759
- } & __VLS_Props_17;
924
+ } & __VLS_Props_20;
760
925
 
761
926
  declare type __VLS_PublicProps_18 = {
762
927
  "formData"?: any;
763
- } & __VLS_Props_18;
928
+ } & __VLS_Props_21;
764
929
 
765
930
  declare type __VLS_PublicProps_19 = {
766
931
  "formData"?: any;
767
- } & __VLS_Props_19;
932
+ } & __VLS_Props_22;
768
933
 
769
934
  declare type __VLS_PublicProps_2 = {
770
935
  "formData"?: any;
771
- } & __VLS_Props_2;
936
+ } & __VLS_Props_5;
772
937
 
773
938
  declare type __VLS_PublicProps_20 = {
774
939
  "formData"?: any;
775
- } & __VLS_Props_20;
940
+ } & __VLS_Props_23;
776
941
 
777
942
  declare type __VLS_PublicProps_21 = {
778
943
  "formData"?: any;
779
- } & __VLS_Props_21;
944
+ } & __VLS_Props_24;
780
945
 
781
946
  declare type __VLS_PublicProps_22 = {
782
947
  "formData"?: any;
783
- } & __VLS_Props_22;
948
+ } & __VLS_Props_25;
784
949
 
785
950
  declare type __VLS_PublicProps_23 = {
786
951
  "formData"?: any;
787
- } & __VLS_Props_23;
952
+ } & __VLS_Props_26;
788
953
 
789
954
  declare type __VLS_PublicProps_24 = {
790
955
  "formData"?: any;
791
- } & __VLS_Props_24;
956
+ } & __VLS_Props_27;
792
957
 
793
958
  declare type __VLS_PublicProps_25 = {
794
959
  "formData"?: any;
795
- } & __VLS_Props_25;
960
+ } & __VLS_Props_28;
796
961
 
797
962
  declare type __VLS_PublicProps_26 = {
798
963
  "formData"?: any;
799
- } & __VLS_Props_26;
964
+ } & __VLS_Props_29;
800
965
 
801
966
  declare type __VLS_PublicProps_27 = {
802
967
  "formData"?: any;
803
- } & __VLS_Props_27;
968
+ } & __VLS_Props_30;
804
969
 
805
970
  declare type __VLS_PublicProps_28 = {
806
971
  "formData"?: any;
807
- } & __VLS_Props_28;
972
+ } & __VLS_Props_31;
808
973
 
809
974
  declare type __VLS_PublicProps_29 = {
810
975
  "formData"?: any;
811
- } & __VLS_Props_29;
976
+ } & __VLS_Props_32;
812
977
 
813
978
  declare type __VLS_PublicProps_3 = {
814
979
  "formData"?: any;
815
- } & __VLS_Props_3;
980
+ } & __VLS_Props_6;
816
981
 
817
982
  declare type __VLS_PublicProps_30 = {
818
983
  "formData"?: any;
819
- } & __VLS_Props_30;
984
+ } & __VLS_Props_33;
820
985
 
821
986
  declare type __VLS_PublicProps_31 = {
822
987
  "formData"?: any;
823
- } & __VLS_Props_31;
988
+ } & __VLS_Props_34;
824
989
 
825
990
  declare type __VLS_PublicProps_32 = {
826
991
  "formData"?: any;
827
- } & __VLS_Props_32;
992
+ } & __VLS_Props_35;
828
993
 
829
994
  declare type __VLS_PublicProps_33 = {
830
995
  "formData"?: any;
831
- } & __VLS_Props_33;
996
+ } & __VLS_Props_36;
832
997
 
833
998
  declare type __VLS_PublicProps_34 = {
834
999
  "formData"?: any;
835
- } & __VLS_Props_34;
1000
+ } & __VLS_Props_37;
836
1001
 
837
1002
  declare type __VLS_PublicProps_35 = {
838
1003
  "formData"?: any;
839
- } & __VLS_Props_35;
1004
+ } & __VLS_Props_38;
840
1005
 
841
1006
  declare type __VLS_PublicProps_36 = {
842
1007
  "formData"?: any;
843
- } & __VLS_Props_36;
1008
+ } & __VLS_Props_39;
844
1009
 
845
1010
  declare type __VLS_PublicProps_37 = {
846
1011
  "formData"?: any;
847
- } & __VLS_Props_37;
1012
+ } & __VLS_Props_40;
848
1013
 
849
1014
  declare type __VLS_PublicProps_38 = {
850
1015
  "formData"?: any;
851
- } & __VLS_Props_38;
1016
+ } & __VLS_Props_41;
852
1017
 
853
1018
  declare type __VLS_PublicProps_39 = {
854
1019
  "formData"?: any;
855
- } & __VLS_Props_39;
1020
+ } & __VLS_Props_42;
856
1021
 
857
1022
  declare type __VLS_PublicProps_4 = {
858
1023
  "formData"?: any;
859
- } & __VLS_Props_4;
1024
+ } & __VLS_Props_7;
860
1025
 
861
1026
  declare type __VLS_PublicProps_40 = {
862
1027
  "formData"?: any;
863
- } & __VLS_Props_40;
1028
+ } & __VLS_Props_43;
864
1029
 
865
1030
  declare type __VLS_PublicProps_41 = {
866
1031
  "formData"?: any;
867
- } & __VLS_Props_41;
1032
+ } & __VLS_Props_44;
868
1033
 
869
1034
  declare type __VLS_PublicProps_42 = {
870
1035
  "formData"?: any;
871
- } & __VLS_Props_42;
1036
+ } & __VLS_Props_45;
872
1037
 
873
1038
  declare type __VLS_PublicProps_43 = {
874
1039
  "formData"?: any;
875
- } & __VLS_Props_43;
1040
+ } & __VLS_Props_46;
876
1041
 
877
1042
  declare type __VLS_PublicProps_44 = {
878
1043
  "formData"?: any;
879
- } & __VLS_Props_44;
1044
+ } & __VLS_Props_47;
880
1045
 
881
1046
  declare type __VLS_PublicProps_45 = {
882
1047
  "formData"?: any;
883
- } & __VLS_Props_45;
1048
+ } & __VLS_Props_48;
884
1049
 
885
1050
  declare type __VLS_PublicProps_46 = {
886
1051
  "formData"?: any;
887
- } & __VLS_Props_46;
1052
+ } & __VLS_Props_49;
888
1053
 
889
1054
  declare type __VLS_PublicProps_5 = {
890
1055
  "formData"?: any;
891
- } & __VLS_Props_5;
1056
+ } & __VLS_Props_8;
892
1057
 
893
1058
  declare type __VLS_PublicProps_6 = {
894
1059
  "formData"?: any;
895
- } & __VLS_Props_6;
1060
+ } & __VLS_Props_9;
896
1061
 
897
1062
  declare type __VLS_PublicProps_7 = {
898
1063
  "formData"?: any;
899
- } & __VLS_Props_7;
1064
+ } & __VLS_Props_10;
900
1065
 
901
1066
  declare type __VLS_PublicProps_8 = {
902
1067
  "formData"?: any;
903
- } & __VLS_Props_8;
1068
+ } & __VLS_Props_11;
904
1069
 
905
1070
  declare type __VLS_PublicProps_9 = {
906
1071
  "formData"?: any;
907
- } & __VLS_Props_9;
1072
+ } & __VLS_Props_12;
908
1073
 
909
1074
  declare function __VLS_template(): {
1075
+ attrs: Partial<{}>;
1076
+ slots: {
1077
+ ext?(_: {
1078
+ dataForm: any;
1079
+ }): any;
1080
+ user?(_: {
1081
+ dataForm: any;
1082
+ }): any;
1083
+ };
1084
+ refs: {
1085
+ starHorseFormRef: unknown;
1086
+ };
1087
+ rootEl: any;
1088
+ };
1089
+
1090
+ declare function __VLS_template_2(): {
910
1091
  attrs: Partial<{}>;
911
1092
  slots: {
912
1093
  header?(_: {}): any;
@@ -918,7 +1099,7 @@ declare function __VLS_template(): {
918
1099
  rootEl: any;
919
1100
  };
920
1101
 
921
- declare function __VLS_template_2(): {
1102
+ declare function __VLS_template_3(): {
922
1103
  attrs: Partial<{}>;
923
1104
  slots: {
924
1105
  default?(_: {}): any;
@@ -932,7 +1113,7 @@ declare function __VLS_template_2(): {
932
1113
  rootEl: any;
933
1114
  };
934
1115
 
935
- declare function __VLS_template_3(): {
1116
+ declare function __VLS_template_4(): {
936
1117
  attrs: Partial<{}>;
937
1118
  slots: {
938
1119
  default?(_: {}): any;
@@ -941,7 +1122,7 @@ declare function __VLS_template_3(): {
941
1122
  rootEl: any;
942
1123
  };
943
1124
 
944
- declare function __VLS_template_4(): {
1125
+ declare function __VLS_template_5(): {
945
1126
  attrs: Partial<{}>;
946
1127
  slots: {
947
1128
  header?(_: {}): any;
@@ -967,7 +1148,7 @@ declare function __VLS_template_4(): {
967
1148
  rootEl: any;
968
1149
  };
969
1150
 
970
- declare function __VLS_template_5(): {
1151
+ declare function __VLS_template_6(): {
971
1152
  attrs: Partial<{}>;
972
1153
  slots: {
973
1154
  title?(_: {}): any;
@@ -1093,20 +1274,24 @@ declare function __VLS_template_5(): {
1093
1274
  onMouseenter?: () => any;
1094
1275
  onShow?: () => any;
1095
1276
  onHide?: () => any;
1096
- }>, "menu" | "visible" | "compKey" | "StarHorseIcon" | "hide" | "buttons" | "subMenu" | "subMenuData" | "menuStyle" | "clickHandler" | "showSubMenu" | "mouseenterHandler" | ("active" | "menuData" | "isSubMenu" | "autoHide")> & ShallowUnwrapRef< {
1097
- compKey: typeof compKey;
1098
- StarHorseIcon: typeof StarHorseIcon;
1099
- menu: typeof menu;
1100
- buttons: typeof buttons;
1101
- subMenu: typeof subMenu;
1102
- visible: typeof visible;
1103
- subMenuData: typeof subMenuData;
1104
- menuStyle: typeof menuStyle;
1105
- hide: typeof hide;
1106
- clickHandler: typeof clickHandler;
1107
- showSubMenu: typeof showSubMenu;
1108
- mouseenterHandler: typeof mouseenterHandler;
1109
- }> & {} & ComponentCustomProperties & {} & {
1277
+ }>, "menu" | "visible" | "compKey" | "StarHorseIcon" | "hide" | "buttons" | "subMenu" | "subMenuData" | "menuStyle" | "clickHandler" | "showSubMenu" | "mouseenterHandler" | ("active" | "menuData" | "isSubMenu" | "autoHide")> & {
1278
+ compKey: typeof compKey;
1279
+ StarHorseIcon: typeof StarHorseIcon;
1280
+ menu: HTMLDivElement;
1281
+ buttons: any[];
1282
+ subMenu: any;
1283
+ visible: boolean;
1284
+ subMenuData: any[];
1285
+ menuStyle: {
1286
+ top: string;
1287
+ left: string;
1288
+ zIndex: number;
1289
+ };
1290
+ hide: typeof hide;
1291
+ clickHandler: typeof clickHandler;
1292
+ showSubMenu: typeof showSubMenu;
1293
+ mouseenterHandler: typeof mouseenterHandler;
1294
+ } & {} & ComponentCustomProperties & {} & {
1110
1295
  $slots: {
1111
1296
  title?(_: {}): any;
1112
1297
  };
@@ -1115,7 +1300,7 @@ declare function __VLS_template_5(): {
1115
1300
  rootEl: any;
1116
1301
  };
1117
1302
 
1118
- declare function __VLS_template_6(): {
1303
+ declare function __VLS_template_7(): {
1119
1304
  attrs: Partial<{}>;
1120
1305
  slots: {
1121
1306
  default?(_: {}): any;
@@ -1124,7 +1309,7 @@ declare function __VLS_template_6(): {
1124
1309
  rootEl: HTMLDivElement;
1125
1310
  };
1126
1311
 
1127
- declare function __VLS_template_7(): {
1312
+ declare function __VLS_template_8(): {
1128
1313
  attrs: Partial<{}>;
1129
1314
  slots: {
1130
1315
  header?(_: {
@@ -1170,6 +1355,8 @@ declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
1170
1355
 
1171
1356
  declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
1172
1357
 
1358
+ declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
1359
+
1173
1360
  declare type __VLS_WithTemplateSlots<T, S> = T & {
1174
1361
  new (): {
1175
1362
  $slots: S;
@@ -1212,6 +1399,54 @@ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
1212
1399
  };
1213
1400
  };
1214
1401
 
1402
+ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
1403
+ new (): {
1404
+ $slots: S;
1405
+ };
1406
+ };
1407
+
1408
+ /**
1409
+ * 所有触发的事件
1410
+ * @param context
1411
+ * @param emits
1412
+ * @param formData
1413
+ * @param actionName
1414
+ * @param isInit
1415
+ */
1416
+ export declare const allAction: (context: any, emits: any, formData: any, actionName: string, isInit?: boolean) => void;
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
+
1215
1450
  /**
1216
1451
  * 解析表单字段信息及层级
1217
1452
  */
@@ -1219,7 +1454,8 @@ export declare const analysisCompDatas: (dataList: any) => {
1219
1454
  selectList: any[];
1220
1455
  compListResult: Record<string, any>;
1221
1456
  compFieldList: FieldInfo[];
1222
- fieldList?: undefined;
1457
+ fieldList: any[];
1458
+ searchFieldList: SearchProps[];
1223
1459
  searchItemList?: undefined;
1224
1460
  } | {
1225
1461
  selectList: any[];
@@ -1227,6 +1463,7 @@ export declare const analysisCompDatas: (dataList: any) => {
1227
1463
  fieldList: FieldInfo[];
1228
1464
  searchItemList: SearchProps[];
1229
1465
  compFieldList?: undefined;
1466
+ searchFieldList?: undefined;
1230
1467
  };
1231
1468
 
1232
1469
  /**
@@ -1415,6 +1652,12 @@ export declare type ApiUrls = {
1415
1652
  modifyColumnsAction?: Function;
1416
1653
  };
1417
1654
 
1655
+ /**
1656
+ * AppList App容器信息,专门处理有表单在app 中有主子表的情况
1657
+ */
1658
+ export declare interface AppFieldInfo extends TabFieldInfo {
1659
+ }
1660
+
1418
1661
  export declare const areaItem: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1419
1662
  selfFunc: (...args: any[]) => void;
1420
1663
  selectItem: (...args: any[]) => void;
@@ -1551,105 +1794,36 @@ export declare interface BatchFieldInfo {
1551
1794
  /**
1552
1795
  * 导入数据
1553
1796
  */
1554
- importInfo?: ImportInfo;
1555
- /**
1556
- * 是否静态数据 Y 是 N 否
1557
- */
1558
- staticData?: string;
1559
- /**
1560
- * batchFieldList 和fieldList 是否同一个表,组件会根据这个字段校验数据是一对多关系
1561
- * 还是单表的批量处理
1562
- */
1563
- subFormFlag?: string | boolean;
1564
- /**
1565
- * 表单标识,如果需要作为form表单显示,则需要将该属性设置为Y
1566
- */
1567
- formFlag?: string;
1568
- }
1569
-
1570
- /**
1571
- * 批量修改公共属性
1572
- * @param items
1573
- * @param val
1574
- * @param fieldName
1575
- */
1576
- export declare const batchModifyAction: (items: Array<any>, val: any, fieldName: string) => void;
1577
-
1578
- /**
1579
- * 加载资源文件
1580
- * @param url
1581
- * @param method
1582
- */
1583
- export declare function blobData(url: string, method?: string): Promise<any>;
1584
-
1585
- export declare const boxContainer: DefineComponent<ExtractPropTypes< {
1586
- parentField: {
1587
- type: PropType<any>;
1588
- };
1589
- isDesign: {
1590
- type: BooleanConstructor;
1591
- default: boolean;
1592
- };
1593
- showFormItem: {
1594
- type: BooleanConstructor;
1595
- default: boolean;
1596
- };
1597
- disabled: {
1598
- type: BooleanConstructor;
1599
- default: boolean;
1600
- };
1601
- formInfo: {
1602
- type: PropType<any>;
1603
- };
1604
- field: {
1605
- type: PropType<any>;
1606
- };
1607
- compSize: {
1608
- type: StringConstructor;
1609
- default: string;
1610
- };
1611
- formData: {
1612
- type: PropType<any>;
1613
- };
1614
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1615
- "update:formData": (value: any) => any;
1616
- }, string, PublicProps, Readonly<ExtractPropTypes< {
1617
- parentField: {
1618
- type: PropType<any>;
1619
- };
1620
- isDesign: {
1621
- type: BooleanConstructor;
1622
- default: boolean;
1623
- };
1624
- showFormItem: {
1625
- type: BooleanConstructor;
1626
- default: boolean;
1627
- };
1628
- disabled: {
1629
- type: BooleanConstructor;
1630
- default: boolean;
1631
- };
1632
- formInfo: {
1633
- type: PropType<any>;
1634
- };
1635
- field: {
1636
- type: PropType<any>;
1637
- };
1638
- compSize: {
1639
- type: StringConstructor;
1640
- default: string;
1641
- };
1642
- formData: {
1643
- type: PropType<any>;
1644
- };
1645
- }>> & Readonly<{
1646
- "onUpdate:formData"?: (value: any) => any;
1647
- }>, {
1648
- disabled: boolean;
1649
- compSize: string;
1650
- isDesign: boolean;
1651
- showFormItem: boolean;
1652
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1797
+ importInfo?: ImportInfo;
1798
+ /**
1799
+ * 是否静态数据 Y 是 N 否
1800
+ */
1801
+ staticData?: string;
1802
+ /**
1803
+ * batchFieldList 和fieldList 是否同一个表,组件会根据这个字段校验数据是一对多关系
1804
+ * 还是单表的批量处理
1805
+ */
1806
+ subFormFlag?: string | boolean;
1807
+ /**
1808
+ * 表单标识,如果需要作为form表单显示,则需要将该属性设置为Y
1809
+ */
1810
+ formFlag?: string;
1811
+ }
1812
+
1813
+ /**
1814
+ * 批量修改公共属性
1815
+ * @param items
1816
+ * @param val
1817
+ * @param fieldName
1818
+ */
1819
+ export declare const batchModifyAction: (items: Array<any>, val: any, fieldName: string) => void;
1820
+
1821
+ /**
1822
+ * 加载资源文件
1823
+ * @param url
1824
+ * @param method
1825
+ */
1826
+ export declare function blobData(url: string, method?: string): Promise<any>;
1653
1827
 
1654
1828
  /**
1655
1829
  * 按钮事件
@@ -1733,6 +1907,16 @@ export declare interface BtnHideCondition {
1733
1907
  visible: boolean;
1734
1908
  }
1735
1909
 
1910
+ /**
1911
+ * Button 组件的点击事件
1912
+ * @param context
1913
+ * @param emits
1914
+ * @param formData
1915
+ * @param code
1916
+ * @param evtName 时间名称
1917
+ */
1918
+ export declare const buttonAction: (context: any, emits: any, formData: any, code: string, evtName?: string) => void;
1919
+
1736
1920
  export declare const buttonItem: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1737
1921
  selfFunc: (...args: any[]) => void;
1738
1922
  selectItem: (...args: any[]) => void;
@@ -1760,66 +1944,6 @@ declare const buttons: Ref<any[], any[]>;
1760
1944
  */
1761
1945
  export declare function camelCaseToUnderline(str: string): string;
1762
1946
 
1763
- export declare const cardContainer: DefineComponent<ExtractPropTypes< {
1764
- parentField: {
1765
- type: PropType<any>;
1766
- };
1767
- isDesign: {
1768
- type: BooleanConstructor;
1769
- default: boolean;
1770
- };
1771
- showFormItem: {
1772
- type: BooleanConstructor;
1773
- default: boolean;
1774
- };
1775
- disabled: {
1776
- type: BooleanConstructor;
1777
- default: boolean;
1778
- };
1779
- formInfo: {
1780
- type: PropType<any>;
1781
- };
1782
- field: {
1783
- type: PropType<any>;
1784
- };
1785
- formData: {
1786
- type: PropType<any>;
1787
- };
1788
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1789
- "update:formData": (value: any) => any;
1790
- }, string, PublicProps, Readonly<ExtractPropTypes< {
1791
- parentField: {
1792
- type: PropType<any>;
1793
- };
1794
- isDesign: {
1795
- type: BooleanConstructor;
1796
- default: boolean;
1797
- };
1798
- showFormItem: {
1799
- type: BooleanConstructor;
1800
- default: boolean;
1801
- };
1802
- disabled: {
1803
- type: BooleanConstructor;
1804
- default: boolean;
1805
- };
1806
- formInfo: {
1807
- type: PropType<any>;
1808
- };
1809
- field: {
1810
- type: PropType<any>;
1811
- };
1812
- formData: {
1813
- type: PropType<any>;
1814
- };
1815
- }>> & Readonly<{
1816
- "onUpdate:formData"?: (value: any) => any;
1817
- }>, {
1818
- disabled: boolean;
1819
- isDesign: boolean;
1820
- showFormItem: boolean;
1821
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1822
-
1823
1947
  /**
1824
1948
  * Card 容器信息
1825
1949
  */
@@ -1862,6 +1986,12 @@ isSearch: boolean;
1862
1986
  showFormItem: boolean;
1863
1987
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1864
1988
 
1989
+ /**
1990
+ * 检查是否禁用
1991
+ * @param attrs
1992
+ */
1993
+ export declare const checkIsDisabled: (attrs: any) => boolean;
1994
+
1865
1995
  /**
1866
1996
  * 检查对象是否需要创建
1867
1997
  * @param dataForm 数据对象
@@ -1886,70 +2016,10 @@ declare const clickHandler: (item: any) => void;
1886
2016
  */
1887
2017
  export declare function closeLoad(): void;
1888
2018
 
1889
- export declare const collapseContainer: DefineComponent<ExtractPropTypes< {
1890
- parentField: {
1891
- type: PropType<any>;
1892
- };
1893
- isDesign: {
1894
- type: BooleanConstructor;
1895
- default: boolean;
1896
- };
1897
- showFormItem: {
1898
- type: BooleanConstructor;
1899
- default: boolean;
1900
- };
1901
- disabled: {
1902
- type: BooleanConstructor;
1903
- default: boolean;
1904
- };
1905
- formInfo: {
1906
- type: PropType<any>;
1907
- };
1908
- field: {
1909
- type: PropType<any>;
1910
- };
1911
- formData: {
1912
- type: PropType<any>;
1913
- };
1914
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1915
- "update:formData": (value: any) => any;
1916
- }, string, PublicProps, Readonly<ExtractPropTypes< {
1917
- parentField: {
1918
- type: PropType<any>;
1919
- };
1920
- isDesign: {
1921
- type: BooleanConstructor;
1922
- default: boolean;
1923
- };
1924
- showFormItem: {
1925
- type: BooleanConstructor;
1926
- default: boolean;
1927
- };
1928
- disabled: {
1929
- type: BooleanConstructor;
1930
- default: boolean;
1931
- };
1932
- formInfo: {
1933
- type: PropType<any>;
1934
- };
1935
- field: {
1936
- type: PropType<any>;
1937
- };
1938
- formData: {
1939
- type: PropType<any>;
1940
- };
1941
- }>> & Readonly<{
1942
- "onUpdate:formData"?: (value: any) => any;
1943
- }>, {
1944
- disabled: boolean;
1945
- isDesign: boolean;
1946
- showFormItem: boolean;
1947
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1948
-
1949
2019
  /**
1950
2020
  * Collapse 容器信息
1951
2021
  */
1952
- export declare interface CollapseList extends TabFieldInfo {
2022
+ export declare interface CollapseFieldInfo extends TabFieldInfo {
1953
2023
  }
1954
2024
 
1955
2025
  export declare const colorItem: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -2185,7 +2255,7 @@ export declare interface ContainerPreps {
2185
2255
  commonFormat?: Function;
2186
2256
  }
2187
2257
 
2188
- export declare const ContentMenu: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
2258
+ export declare const ContentMenu: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2189
2259
 
2190
2260
  /**
2191
2261
  * 操作接口
@@ -2195,6 +2265,24 @@ export declare const ContentMenu: __VLS_WithTemplateSlots_5<typeof __VLS_compone
2195
2265
  */
2196
2266
  export declare function contextOperation(act: string, item: any, parentItem: any): void;
2197
2267
 
2268
+ /**
2269
+ * 将pc模型转为app模型
2270
+ * @param pageInfo
2271
+ */
2272
+ export declare function convertCompToAppComps(pageInfo: PageFieldInfo): {
2273
+ fieldList: any[];
2274
+ };
2275
+
2276
+ export declare const convertData: (data: any) => any;
2277
+
2278
+ /**
2279
+ * 将pc模型转为app模型
2280
+ * @param pageInfo
2281
+ */
2282
+ export declare function convertPcCompToFitPlatformComps(pageInfo: PageFieldInfo): PageFieldInfo | {
2283
+ fieldList: any[];
2284
+ };
2285
+
2198
2286
  /**
2199
2287
  * 下划线转驼峰
2200
2288
  * @param str
@@ -2924,6 +3012,8 @@ isSearch: boolean;
2924
3012
  showFormItem: boolean;
2925
3013
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2926
3014
 
3015
+ export declare const device: any;
3016
+
2927
3017
  export declare const dialogInputItem: DefineComponent<__VLS_PublicProps_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2928
3018
  selfFunc: (...args: any[]) => void;
2929
3019
  selectItem: (...args: any[]) => void;
@@ -3158,68 +3248,6 @@ export declare interface DynamicParamField {
3158
3248
  */
3159
3249
  export declare function dynamicUrlOperation(preps: any, queryInfo?: SearchParams[], proxyUrl?: string): Promise<SelectOption[]>;
3160
3250
 
3161
- export declare const dytableContainer: DefineComponent<ExtractPropTypes< {
3162
- parentField: {
3163
- type: PropType<any>;
3164
- };
3165
- isDesign: {
3166
- type: BooleanConstructor;
3167
- default: boolean;
3168
- };
3169
- showFormItem: {
3170
- type: BooleanConstructor;
3171
- default: boolean;
3172
- };
3173
- disabled: {
3174
- type: BooleanConstructor;
3175
- default: boolean;
3176
- };
3177
- formInfo: {
3178
- type: PropType<any>;
3179
- };
3180
- field: {
3181
- type: PropType<any>;
3182
- };
3183
- formData: {
3184
- type: PropType<any>;
3185
- };
3186
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3187
- "update:formData": (value: any) => any;
3188
- }, string, PublicProps, Readonly<ExtractPropTypes< {
3189
- parentField: {
3190
- type: PropType<any>;
3191
- };
3192
- isDesign: {
3193
- type: BooleanConstructor;
3194
- default: boolean;
3195
- };
3196
- showFormItem: {
3197
- type: BooleanConstructor;
3198
- default: boolean;
3199
- };
3200
- disabled: {
3201
- type: BooleanConstructor;
3202
- default: boolean;
3203
- };
3204
- formInfo: {
3205
- type: PropType<any>;
3206
- };
3207
- field: {
3208
- type: PropType<any>;
3209
- };
3210
- formData: {
3211
- type: PropType<any>;
3212
- };
3213
- }>> & Readonly<{
3214
- "onUpdate:formData"?: (value: any) => any;
3215
- }>, {
3216
- disabled: boolean;
3217
- isDesign: boolean;
3218
- showFormItem: boolean;
3219
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
3220
- containerTableRef: HTMLTableElement;
3221
- }, any>;
3222
-
3223
3251
  /**
3224
3252
  * 边构建信息
3225
3253
  */
@@ -3248,6 +3276,60 @@ export declare interface EditCondition {
3248
3276
  matchType?: string;
3249
3277
  }
3250
3278
 
3279
+ export declare const EditDataDialog: DefineComponent<ExtractPropTypes< {
3280
+ modelValue: BooleanConstructor;
3281
+ title: {
3282
+ type: StringConstructor;
3283
+ default: string;
3284
+ };
3285
+ boxWidth: {
3286
+ type: StringConstructor;
3287
+ default: string;
3288
+ };
3289
+ disabled: {
3290
+ type: BooleanConstructor;
3291
+ default: boolean;
3292
+ };
3293
+ showFormItem: {
3294
+ type: BooleanConstructor;
3295
+ default: boolean;
3296
+ };
3297
+ placeholder: StringConstructor;
3298
+ initialContent: StringConstructor;
3299
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3300
+ confirm: (...args: any[]) => void;
3301
+ "update:modelValue": (...args: any[]) => void;
3302
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
3303
+ modelValue: BooleanConstructor;
3304
+ title: {
3305
+ type: StringConstructor;
3306
+ default: string;
3307
+ };
3308
+ boxWidth: {
3309
+ type: StringConstructor;
3310
+ default: string;
3311
+ };
3312
+ disabled: {
3313
+ type: BooleanConstructor;
3314
+ default: boolean;
3315
+ };
3316
+ showFormItem: {
3317
+ type: BooleanConstructor;
3318
+ default: boolean;
3319
+ };
3320
+ placeholder: StringConstructor;
3321
+ initialContent: StringConstructor;
3322
+ }>> & Readonly<{
3323
+ onConfirm?: (...args: any[]) => any;
3324
+ "onUpdate:modelValue"?: (...args: any[]) => any;
3325
+ }>, {
3326
+ title: string;
3327
+ disabled: boolean;
3328
+ boxWidth: string;
3329
+ modelValue: boolean;
3330
+ showFormItem: boolean;
3331
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3332
+
3251
3333
  export declare const emptyItem: DefineComponent<ItemPreps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3252
3334
  selfFunc: (...args: any[]) => void;
3253
3335
  selectItem: (...args: any[]) => void;
@@ -3302,6 +3384,13 @@ export declare interface ExpandTable {
3302
3384
  fieldList: FieldInfo[];
3303
3385
  }
3304
3386
 
3387
+ /**
3388
+ * 复制字段
3389
+ * @param data
3390
+ * @param type
3391
+ */
3392
+ export declare function fieldCopy(data: any, type: string): any;
3393
+
3305
3394
  /**
3306
3395
  * 表单属性
3307
3396
  */
@@ -3378,6 +3467,10 @@ export declare interface FieldInfo {
3378
3467
  * Tab容器数据
3379
3468
  */
3380
3469
  tabList?: TabFieldInfo[];
3470
+ /**
3471
+ * 专门处理app
3472
+ */
3473
+ appList?: AppFieldInfo[];
3381
3474
  /**
3382
3475
  * Card 容器数据
3383
3476
  */
@@ -3385,11 +3478,11 @@ export declare interface FieldInfo {
3385
3478
  /**
3386
3479
  * 折叠容器(collapse)数据
3387
3480
  */
3388
- collapseList?: CollapseList[];
3481
+ collapseList?: CollapseFieldInfo[];
3389
3482
  /**
3390
3483
  * 分栏容器(splitter)数据
3391
3484
  */
3392
- splitterList?: SplitterList[];
3485
+ splitterList?: SplitterFieldInfo[];
3393
3486
  /**
3394
3487
  * 传统table布局表单,对应动态表格(dytable)容器
3395
3488
  */
@@ -3456,6 +3549,14 @@ export declare interface FieldInfo {
3456
3549
  removeActions?: Function | string;
3457
3550
  }
3458
3551
 
3552
+ export declare const FieldList: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3553
+ selectData: (...args: any[]) => void;
3554
+ }, string, PublicProps, Readonly<{}> & Readonly<{
3555
+ onSelectData?: (...args: any[]) => any;
3556
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
3557
+ containerRef: HTMLDivElement;
3558
+ }, HTMLDivElement>;
3559
+
3459
3560
  /**
3460
3561
  * 属性映射
3461
3562
  *
@@ -3517,6 +3618,11 @@ export declare function getAxiosInstance(): AxiosInstance;
3517
3618
  */
3518
3619
  export declare function getDataIndex(data: any, prefix: string, parentIndex: any, index: any): number;
3519
3620
 
3621
+ /**
3622
+ * 获取当前设备类型
3623
+ */
3624
+ export declare function getDeviceInfo(): any;
3625
+
3520
3626
  export declare function getDynamicEvents(props: any, recall: Function): Record<string, any>;
3521
3627
 
3522
3628
  /**
@@ -3664,6 +3770,8 @@ export declare interface ImportInfo {
3664
3770
  conditions?: Array<SearchParams>;
3665
3771
  }
3666
3772
 
3773
+ export declare const initCompCallEvent: (props: any, emits: any, formData: any) => void;
3774
+
3667
3775
  /**
3668
3776
  * 输入组件
3669
3777
  * @returns
@@ -3698,20 +3806,40 @@ isSearch: boolean;
3698
3806
  showFormItem: boolean;
3699
3807
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
3700
3808
 
3809
+ export declare const isAndroid: boolean;
3810
+
3701
3811
  export declare const isDark: UseDarkReturn;
3702
3812
 
3813
+ export declare const isHarmony: any;
3814
+
3815
+ export declare const isHuawei: any;
3816
+
3817
+ export declare const isIos: boolean;
3818
+
3703
3819
  /**
3704
3820
  * 判断是不是Json
3705
3821
  * @param v
3706
3822
  */
3707
3823
  export declare function isJson(v: any): boolean;
3708
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
+
3709
3833
  /**
3710
3834
  * 判断是否是Promise
3711
3835
  * @param obj
3712
3836
  */
3713
3837
  export declare function isPromise<T = any>(obj: any): obj is Promise<T>;
3714
3838
 
3839
+ export declare const isTablet: boolean;
3840
+
3841
+ export declare const isWindows: boolean;
3842
+
3715
3843
  /**
3716
3844
  * 校验组件
3717
3845
  * @param item
@@ -3874,6 +4002,12 @@ isSearch: boolean;
3874
4002
  showFormItem: boolean;
3875
4003
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
3876
4004
 
4005
+ /**
4006
+ * 判断标签是否需要显示
4007
+ * @param item
4008
+ */
4009
+ export declare function labelVisibleCheck(item: any): any;
4010
+
3877
4011
  declare enum LangType {
3878
4012
  EN_US = "en_US",
3879
4013
  ZH_CN = "zh_CN"
@@ -3924,6 +4058,66 @@ export declare function loadGetData(url: string): Promise<{
3924
4058
  */
3925
4059
  export declare function loadProp(prefix: string, fieldName: string, parentIndex: number, currentIndex: number): string;
3926
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
+
3927
4121
  export declare const markdownItem: DefineComponent<__VLS_PublicProps_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3928
4122
  selfFunc: (...args: any[]) => void;
3929
4123
  selectItem: (...args: any[]) => void;
@@ -3942,6 +4136,90 @@ showFormItem: boolean;
3942
4136
 
3943
4137
  declare const menu: Ref<HTMLDivElement, HTMLDivElement>;
3944
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
+
3945
4223
  /**
3946
4224
  * 菜单信息
3947
4225
  */
@@ -4118,7 +4396,7 @@ export declare interface OrderByInfo {
4118
4396
  orderBy: string;
4119
4397
  }
4120
4398
 
4121
- export declare const PageConfig: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
4399
+ export declare const PageConfig: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
4122
4400
 
4123
4401
  /**
4124
4402
  * 页面属性信息
@@ -4259,6 +4537,36 @@ export declare const piniaInstance: Pinia;
4259
4537
  */
4260
4538
  export declare function postRequest(url: string, data: Array<any> | any): Promise<AxiosResponse<any, any, {}>>;
4261
4539
 
4540
+ export declare interface PrefixSuffixOptions {
4541
+ field: any;
4542
+ formData: Ref<any>;
4543
+ mergePrefix?: boolean;
4544
+ mergeAppend?: boolean;
4545
+ }
4546
+
4547
+ export declare interface PrefixSuffixResult {
4548
+ preName: ComputedRef<string>;
4549
+ appName: ComputedRef<string>;
4550
+ prependList: ComputedRef<any[]>;
4551
+ appendList: ComputedRef<any[]>;
4552
+ normalData: Ref<string>;
4553
+ findMatchingPrefix: (mainValue: string) => string;
4554
+ findMatchingSuffix: (mainValue: string) => string;
4555
+ parseMainValue: () => string;
4556
+ extractPrefixFromInput: (inputValue: string) => {
4557
+ prefix: string;
4558
+ remaining: string;
4559
+ };
4560
+ extractSuffixFromInput: (inputValue: string) => {
4561
+ suffix: string;
4562
+ remaining: string;
4563
+ };
4564
+ mergeData: (isParsing?: boolean) => void;
4565
+ setupWatchers: () => void;
4566
+ }
4567
+
4568
+ export declare const prepsFilter: (preps: any) => any;
4569
+
4262
4570
  /**
4263
4571
  * 按钮响应事件前置校验
4264
4572
  */
@@ -4411,6 +4719,8 @@ export declare interface RelationDetail {
4411
4719
  isWorking: boolean;
4412
4720
  }
4413
4721
 
4722
+ export declare const relationEvent: (props: any, relationDetails: RelationDetail[], e: any, actionName: string) => void;
4723
+
4414
4724
  /**
4415
4725
  * 删除查询条件中出现的空值和空对象
4416
4726
  * @param condition
@@ -4602,6 +4912,13 @@ export declare type SelectOption = {
4602
4912
  */
4603
4913
  export declare function setCssVar(name: string, val: any, dom?: HTMLElement): void;
4604
4914
 
4915
+ /**
4916
+ * 设置测试
4917
+ * @param testFlag
4918
+ * @param type
4919
+ */
4920
+ export declare function setTest(testFlag: boolean, type?: string): void;
4921
+
4605
4922
  export declare const ShDynamicForm: DefineComponent<ExtractPropTypes< {
4606
4923
  compUrl: {
4607
4924
  type: PropType<ApiUrls>;
@@ -4657,7 +4974,7 @@ typeModel: string;
4657
4974
  starHorseFormRef: unknown;
4658
4975
  }, any>;
4659
4976
 
4660
- export declare const ShForm: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
4977
+ export declare const ShForm: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
4661
4978
 
4662
4979
  export declare type ShortKey = {
4663
4980
  /**
@@ -4806,7 +5123,7 @@ showFormItem: boolean;
4806
5123
  /**
4807
5124
  * Splitter 容器信息
4808
5125
  */
4809
- export declare interface SplitterList extends TabFieldInfo {
5126
+ export declare interface SplitterFieldInfo extends TabFieldInfo {
4810
5127
  }
4811
5128
 
4812
5129
  export declare const starHorseAxios: AxiosInstance;
@@ -4834,6 +5151,9 @@ btnPermissions: {
4834
5151
  type: PropType<any>;
4835
5152
  required: false;
4836
5153
  };
5154
+ searchParams: {
5155
+ type: PropType<SearchFields>;
5156
+ };
4837
5157
  }>, {
4838
5158
  setFormData: (val: any) => void;
4839
5159
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -4866,6 +5186,9 @@ btnPermissions: {
4866
5186
  type: PropType<any>;
4867
5187
  required: false;
4868
5188
  };
5189
+ searchParams: {
5190
+ type: PropType<SearchFields>;
5191
+ };
4869
5192
  }>> & Readonly<{
4870
5193
  onUpload?: (...args: any[]) => any;
4871
5194
  onUploadError?: (...args: any[]) => any;
@@ -4916,152 +5239,37 @@ checkStrictly: boolean;
4916
5239
  selectLeaf: boolean;
4917
5240
  autoClose: boolean;
4918
5241
  }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
4919
- orgTreeRef: unknown;
4920
- }, any, ComponentProvideOptions, {
4921
- P: {};
4922
- B: {};
4923
- D: {};
4924
- C: {};
4925
- M: {};
4926
- Defaults: {};
4927
- }, Readonly<DataDropdownProps> & Readonly<{
4928
- "onUpdate:modelValue"?: (modelValue: any) => any;
4929
- onDataSubmit?: (data: any[]) => any;
4930
- }>, {
4931
- open: () => void;
4932
- close: () => void;
4933
- }, {}, {}, {}, {
4934
- displayName: string;
4935
- compSize: string;
4936
- pageSize: number;
4937
- displayValue: string;
4938
- multiple: boolean;
4939
- checkStrictly: boolean;
4940
- selectLeaf: boolean;
4941
- autoClose: boolean;
4942
- }>;
4943
- }, any>;
4944
-
4945
- export declare const StarHorseDataView: DefineComponent<ExtractPropTypes< {
4946
- compUrl: {
4947
- type: PropType<ApiUrls>;
4948
- };
4949
- objectName: {
4950
- type: StringConstructor;
4951
- };
4952
- subFormFlag: {
4953
- type: StringConstructor;
4954
- default: string;
4955
- };
4956
- formSize: {
4957
- type: StringConstructor;
4958
- default: string;
4959
- };
4960
- labelPosition: {
4961
- type: StringConstructor;
4962
- default: string;
4963
- };
4964
- batchName: {
4965
- type: StringConstructor;
4966
- default: string;
4967
- };
4968
- batchFieldName: {
4969
- type: StringConstructor;
4970
- default: string;
4971
- };
4972
- fieldList: {
4973
- type: ObjectConstructor;
4974
- required: true;
4975
- };
4976
- globalCondition: {
4977
- type: ObjectConstructor;
4978
- };
4979
- outerData: {
4980
- type: ObjectConstructor;
4981
- };
4982
- dynamicForm: {
4983
- type: BooleanConstructor;
4984
- default: boolean;
4985
- };
4986
- primaryKey: {
4987
- type: PropType<string | any>;
4988
- default: string;
4989
- };
4990
- dataFormat: {
4991
- type: FunctionConstructor;
4992
- default: any;
4993
- };
4994
- }>, {
4995
- setData: (data: any) => void;
4996
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4997
- dataLoaded: (...args: any[]) => void;
4998
- }, string, PublicProps, Readonly<ExtractPropTypes< {
4999
- compUrl: {
5000
- type: PropType<ApiUrls>;
5001
- };
5002
- objectName: {
5003
- type: StringConstructor;
5004
- };
5005
- subFormFlag: {
5006
- type: StringConstructor;
5007
- default: string;
5008
- };
5009
- formSize: {
5010
- type: StringConstructor;
5011
- default: string;
5012
- };
5013
- labelPosition: {
5014
- type: StringConstructor;
5015
- default: string;
5016
- };
5017
- batchName: {
5018
- type: StringConstructor;
5019
- default: string;
5020
- };
5021
- batchFieldName: {
5022
- type: StringConstructor;
5023
- default: string;
5024
- };
5025
- fieldList: {
5026
- type: ObjectConstructor;
5027
- required: true;
5028
- };
5029
- globalCondition: {
5030
- type: ObjectConstructor;
5031
- };
5032
- outerData: {
5033
- type: ObjectConstructor;
5034
- };
5035
- dynamicForm: {
5036
- type: BooleanConstructor;
5037
- default: boolean;
5038
- };
5039
- primaryKey: {
5040
- type: PropType<string | any>;
5041
- default: string;
5042
- };
5043
- dataFormat: {
5044
- type: FunctionConstructor;
5045
- default: any;
5046
- };
5047
- }>> & Readonly<{
5048
- onDataLoaded?: (...args: any[]) => any;
5242
+ orgTreeRef: unknown;
5243
+ }, any, ComponentProvideOptions, {
5244
+ P: {};
5245
+ B: {};
5246
+ D: {};
5247
+ C: {};
5248
+ M: {};
5249
+ Defaults: {};
5250
+ }, Readonly<DataDropdownProps> & Readonly<{
5251
+ "onUpdate:modelValue"?: (modelValue: any) => any;
5252
+ onDataSubmit?: (data: any[]) => any;
5049
5253
  }>, {
5050
- batchName: string;
5051
- primaryKey: any;
5052
- subFormFlag: string;
5053
- labelPosition: string;
5054
- dataFormat: Function;
5055
- batchFieldName: string;
5056
- formSize: string;
5057
- dynamicForm: boolean;
5058
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
5059
- starHorseFormRef: unknown;
5254
+ open: () => void;
5255
+ close: () => void;
5256
+ }, {}, {}, {}, {
5257
+ displayName: string;
5258
+ compSize: string;
5259
+ pageSize: number;
5260
+ displayValue: string;
5261
+ multiple: boolean;
5262
+ checkStrictly: boolean;
5263
+ selectLeaf: boolean;
5264
+ autoClose: boolean;
5265
+ }>;
5060
5266
  }, any>;
5061
5267
 
5062
- export declare const StarHorseDialog: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
5268
+ export declare const StarHorseDataView: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
5269
+
5270
+ export declare const StarHorseDialog: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
5063
5271
 
5064
- export declare const StarHorseDraggable: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
5272
+ export declare const StarHorseDraggable: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
5065
5273
 
5066
5274
  export declare const StarHorseEditor: DefineComponent<ExtractPropTypes< {
5067
5275
  funcName: {
@@ -5306,7 +5514,7 @@ formSize: string;
5306
5514
  dynamicForm: boolean;
5307
5515
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
5308
5516
  starHorseFormRef: unknown;
5309
- }, any>;
5517
+ }, HTMLDivElement>;
5310
5518
 
5311
5519
  export declare const StarHorseFormItem: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
5312
5520
  addRow: (...args: any[]) => void;
@@ -5586,7 +5794,7 @@ formSize: string;
5586
5794
  dynamicForm: boolean;
5587
5795
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
5588
5796
  starHorseFormRef: unknown;
5589
- }, any, ComponentProvideOptions, {
5797
+ }, HTMLDivElement, ComponentProvideOptions, {
5590
5798
  P: {};
5591
5799
  B: {};
5592
5800
  D: {};
@@ -6198,7 +6406,7 @@ onSelectItem?: (...args: any[]) => any;
6198
6406
  preps: any;
6199
6407
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
6200
6408
 
6201
- export declare const StarHorsePopover: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
6409
+ export declare const StarHorsePopover: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
6202
6410
 
6203
6411
  export declare const StarHorseSearchComp: DefineComponent<ExtractPropTypes< {
6204
6412
  dialogInput: {
@@ -6210,8 +6418,43 @@ type: BooleanConstructor;
6210
6418
  default: boolean;
6211
6419
  };
6212
6420
  compUrl: {
6213
- type: PropType<ApiUrls>;
6421
+ type: ObjectConstructor;
6422
+ };
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;
6214
6450
  };
6451
+ }>> & Readonly<{
6452
+ onSearchData?: (...args: any[]) => any;
6453
+ }>, {
6454
+ dialogInput: boolean;
6455
+ mutComp: boolean;
6456
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
6457
+ searchFormRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
6215
6458
  formData: {
6216
6459
  type: PropType<SearchFields>;
6217
6460
  required: true;
@@ -6232,13 +6475,6 @@ of<T>(...items: T[]): T[];
6232
6475
  readonly [Symbol.species]: ArrayConstructor;
6233
6476
  };
6234
6477
  };
6235
- }>, {
6236
- searchForm: Ref<any, any>;
6237
- setData: (data: any) => void;
6238
- createSearchParams: (formData: any) => any[];
6239
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6240
- searchData: (...args: any[]) => void;
6241
- }, string, PublicProps, Readonly<ExtractPropTypes< {
6242
6478
  dialogInput: {
6243
6479
  type: BooleanConstructor;
6244
6480
  default: boolean;
@@ -6247,9 +6483,27 @@ mutComp: {
6247
6483
  type: BooleanConstructor;
6248
6484
  default: boolean;
6249
6485
  };
6250
- compUrl: {
6251
- type: PropType<ApiUrls>;
6252
- };
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< {
6253
6507
  formData: {
6254
6508
  type: PropType<SearchFields>;
6255
6509
  required: true;
@@ -6270,14 +6524,28 @@ of<T>(...items: T[]): T[];
6270
6524
  readonly [Symbol.species]: ArrayConstructor;
6271
6525
  };
6272
6526
  };
6527
+ dialogInput: {
6528
+ type: BooleanConstructor;
6529
+ default: boolean;
6530
+ };
6531
+ mutComp: {
6532
+ type: BooleanConstructor;
6533
+ default: boolean;
6534
+ };
6273
6535
  }>> & Readonly<{
6274
6536
  onSearchData?: (...args: any[]) => any;
6537
+ onInitComplete?: (...args: any[]) => any;
6275
6538
  }>, {
6539
+ searchForm: Ref<any, any>;
6540
+ setData: (data: any) => void;
6541
+ createSearchParams: (formData: any) => any[];
6542
+ }, {}, {}, {}, {
6276
6543
  dialogInput: boolean;
6277
6544
  mutComp: boolean;
6278
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
6545
+ }>;
6546
+ }, any>;
6279
6547
 
6280
- export declare const StarHorseSidebar: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
6548
+ export declare const StarHorseSidebar: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
6281
6549
 
6282
6550
  export declare const StarHorseStaticTable: DefineComponent<ExtractPropTypes< {
6283
6551
  primaryKey: {
@@ -6369,9 +6637,9 @@ dataList: {
6369
6637
  type: ArrayConstructor;
6370
6638
  };
6371
6639
  }>> & Readonly<{}>, {
6640
+ height: string;
6372
6641
  dataFormat: Function;
6373
6642
  compSize: string;
6374
- height: string;
6375
6643
  dialogInput: boolean;
6376
6644
  expand: boolean;
6377
6645
  showBatchField: boolean;
@@ -6702,6 +6970,9 @@ hideButtonList: {
6702
6970
  type: BooleanConstructor;
6703
6971
  default: boolean;
6704
6972
  };
6973
+ searchParams: {
6974
+ type: PropType<SearchFields>;
6975
+ };
6705
6976
  /**
6706
6977
  * Data sharer
6707
6978
  * Get information shared by others
@@ -6745,6 +7016,13 @@ default: string;
6745
7016
  editCondition: {
6746
7017
  type: PropType<EditCondition[]>;
6747
7018
  };
7019
+ /**
7020
+ * 翻页保留历史数据
7021
+ */
7022
+ pageKeepOldData: {
7023
+ type: BooleanConstructor;
7024
+ default: boolean;
7025
+ };
6748
7026
  }>, {
6749
7027
  init: () => Promise<void>;
6750
7028
  createSearchParams: (formData: SearchParams[], orderBy?: OrderByInfo[]) => void;
@@ -6866,6 +7144,9 @@ hideButtonList: {
6866
7144
  type: BooleanConstructor;
6867
7145
  default: boolean;
6868
7146
  };
7147
+ searchParams: {
7148
+ type: PropType<SearchFields>;
7149
+ };
6869
7150
  /**
6870
7151
  * Data sharer
6871
7152
  * Get information shared by others
@@ -6909,12 +7190,19 @@ default: string;
6909
7190
  editCondition: {
6910
7191
  type: PropType<EditCondition[]>;
6911
7192
  };
7193
+ /**
7194
+ * 翻页保留历史数据
7195
+ */
7196
+ pageKeepOldData: {
7197
+ type: BooleanConstructor;
7198
+ default: boolean;
7199
+ };
6912
7200
  }>> & Readonly<{
6913
7201
  onSelectItem?: (...args: any[]) => any;
6914
7202
  onPermission?: (...args: any[]) => any;
6915
7203
  }>, {
6916
- dataFormat: Function;
6917
7204
  height: string;
7205
+ dataFormat: Function;
6918
7206
  dialogInput: boolean;
6919
7207
  expand: boolean;
6920
7208
  showBatchField: boolean;
@@ -6934,6 +7222,7 @@ userColumnName: string;
6934
7222
  btnPermissions: Record<string, string>;
6935
7223
  pageCombList: unknown[];
6936
7224
  pageBarLayout: string;
7225
+ pageKeepOldData: boolean;
6937
7226
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
6938
7227
  table: unknown;
6939
7228
  starHorseTableCompRef: unknown;
@@ -7310,66 +7599,6 @@ isSearch: boolean;
7310
7599
  showFormItem: boolean;
7311
7600
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
7312
7601
 
7313
- export declare const tabContainer: DefineComponent<ExtractPropTypes< {
7314
- parentField: {
7315
- type: PropType<any>;
7316
- };
7317
- isDesign: {
7318
- type: BooleanConstructor;
7319
- default: boolean;
7320
- };
7321
- showFormItem: {
7322
- type: BooleanConstructor;
7323
- default: boolean;
7324
- };
7325
- disabled: {
7326
- type: BooleanConstructor;
7327
- default: boolean;
7328
- };
7329
- formInfo: {
7330
- type: PropType<any>;
7331
- };
7332
- field: {
7333
- type: PropType<any>;
7334
- };
7335
- formData: {
7336
- type: PropType<any>;
7337
- };
7338
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7339
- "update:formData": (value: any) => any;
7340
- }, string, PublicProps, Readonly<ExtractPropTypes< {
7341
- parentField: {
7342
- type: PropType<any>;
7343
- };
7344
- isDesign: {
7345
- type: BooleanConstructor;
7346
- default: boolean;
7347
- };
7348
- showFormItem: {
7349
- type: BooleanConstructor;
7350
- default: boolean;
7351
- };
7352
- disabled: {
7353
- type: BooleanConstructor;
7354
- default: boolean;
7355
- };
7356
- formInfo: {
7357
- type: PropType<any>;
7358
- };
7359
- field: {
7360
- type: PropType<any>;
7361
- };
7362
- formData: {
7363
- type: PropType<any>;
7364
- };
7365
- }>> & Readonly<{
7366
- "onUpdate:formData"?: (value: any) => any;
7367
- }>, {
7368
- disabled: boolean;
7369
- isDesign: boolean;
7370
- showFormItem: boolean;
7371
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
7372
-
7373
7602
  /**
7374
7603
  * Tab 表单数据
7375
7604
  */
@@ -7423,77 +7652,6 @@ export declare interface TabFieldInfo {
7423
7652
  mapping?: "1" | "n";
7424
7653
  }
7425
7654
 
7426
- export declare const tableContainer: DefineComponent<ExtractPropTypes< {
7427
- parentField: {
7428
- type: PropType<any>;
7429
- };
7430
- isDesign: {
7431
- type: BooleanConstructor;
7432
- default: boolean;
7433
- };
7434
- showFormItem: {
7435
- type: BooleanConstructor;
7436
- default: boolean;
7437
- };
7438
- disabled: {
7439
- type: BooleanConstructor;
7440
- default: boolean;
7441
- };
7442
- formInfo: {
7443
- type: PropType<any>;
7444
- };
7445
- field: {
7446
- type: PropType<any>;
7447
- };
7448
- compSize: {
7449
- type: StringConstructor;
7450
- default: string;
7451
- };
7452
- formData: {
7453
- type: PropType<any>;
7454
- };
7455
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7456
- "update:formData": (value: any) => any;
7457
- }, string, PublicProps, Readonly<ExtractPropTypes< {
7458
- parentField: {
7459
- type: PropType<any>;
7460
- };
7461
- isDesign: {
7462
- type: BooleanConstructor;
7463
- default: boolean;
7464
- };
7465
- showFormItem: {
7466
- type: BooleanConstructor;
7467
- default: boolean;
7468
- };
7469
- disabled: {
7470
- type: BooleanConstructor;
7471
- default: boolean;
7472
- };
7473
- formInfo: {
7474
- type: PropType<any>;
7475
- };
7476
- field: {
7477
- type: PropType<any>;
7478
- };
7479
- compSize: {
7480
- type: StringConstructor;
7481
- default: string;
7482
- };
7483
- formData: {
7484
- type: PropType<any>;
7485
- };
7486
- }>> & Readonly<{
7487
- "onUpdate:formData"?: (value: any) => any;
7488
- }>, {
7489
- disabled: boolean;
7490
- compSize: string;
7491
- isDesign: boolean;
7492
- showFormItem: boolean;
7493
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
7494
- containerTableRef: HTMLTableElement;
7495
- }, any>;
7496
-
7497
7655
  export declare const tagItem: DefineComponent<__VLS_PublicProps_31, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7498
7656
  selfFunc: (...args: any[]) => void;
7499
7657
  selectItem: (...args: any[]) => void;
@@ -8312,6 +8470,9 @@ setAllFormDataList: (list: CompType[]) => void;
8312
8470
  setSelfFormDataList: (list: CompType[]) => void;
8313
8471
  setFormDataList: (list: CompType[]) => void;
8314
8472
  setContainerList: (list: CompType[]) => void;
8473
+ setParentContainer: (item: any) => void;
8474
+ getParentContainer: () => Record<string, any>;
8475
+ getParentCompType: () => string;
8315
8476
  addSelfFormDataList: (list: CompType[]) => void;
8316
8477
  addContainerList: (list: CompType[]) => void;
8317
8478
  addFormDataList: (list: CompType[]) => void;
@@ -8884,6 +9045,9 @@ setAllFormDataList: (list: CompType[]) => void;
8884
9045
  setSelfFormDataList: (list: CompType[]) => void;
8885
9046
  setFormDataList: (list: CompType[]) => void;
8886
9047
  setContainerList: (list: CompType[]) => void;
9048
+ setParentContainer: (item: any) => void;
9049
+ getParentContainer: () => Record<string, any>;
9050
+ getParentCompType: () => string;
8887
9051
  addSelfFormDataList: (list: CompType[]) => void;
8888
9052
  addContainerList: (list: CompType[]) => void;
8889
9053
  addFormDataList: (list: CompType[]) => void;
@@ -9456,6 +9620,9 @@ setAllFormDataList: (list: CompType[]) => void;
9456
9620
  setSelfFormDataList: (list: CompType[]) => void;
9457
9621
  setFormDataList: (list: CompType[]) => void;
9458
9622
  setContainerList: (list: CompType[]) => void;
9623
+ setParentContainer: (item: any) => void;
9624
+ getParentContainer: () => Record<string, any>;
9625
+ getParentCompType: () => string;
9459
9626
  addSelfFormDataList: (list: CompType[]) => void;
9460
9627
  addContainerList: (list: CompType[]) => void;
9461
9628
  addFormDataList: (list: CompType[]) => void;
@@ -9488,7 +9655,7 @@ getFieldDataIndex: () => number;
9488
9655
  getCurrentCompEditUserInfo: (compId: string) => UserInfo;
9489
9656
  addCurrentCompEditUserInfo: (compId: string, userinfo: UserInfo) => void;
9490
9657
  removeCurrentCompEditUserInfo: (compId: string) => void;
9491
- }, "setFormData" | "clearAll" | "setCurrentSubTabName" | "selectItemById" | "setAllFormDataList" | "setSelfFormDataList" | "setFormDataList" | "setContainerList" | "addSelfFormDataList" | "addContainerList" | "addFormDataList" | "addHistoryRecord" | "redo" | "undo" | "selectItem" | "setRefresh" | "setSubItemId" | "setFormInfo" | "setCompList" | "loadCompNames" | "addComp" | "setIsDragging" | "setIsEdit" | "setCurrentComp" | "setCurrentItemType" | "setParentCompType" | "setCurrentItemId" | "setCurrentFormPreps" | "setDraggingItem" | "removePromise" | "setComponentVisible" | "setBatchEditFieldVisible" | "setPreviewVisible" | "setShortKeyDisabled" | "getFieldDataIndex" | "getCurrentCompEditUserInfo" | "addCurrentCompEditUserInfo" | "removeCurrentCompEditUserInfo">>;
9658
+ }, "setFormData" | "clearAll" | "setParentContainer" | "setCurrentSubTabName" | "selectItemById" | "setAllFormDataList" | "setSelfFormDataList" | "setFormDataList" | "setContainerList" | "getParentContainer" | "getParentCompType" | "addSelfFormDataList" | "addContainerList" | "addFormDataList" | "addHistoryRecord" | "redo" | "undo" | "selectItem" | "setRefresh" | "setSubItemId" | "setFormInfo" | "setCompList" | "loadCompNames" | "addComp" | "setIsDragging" | "setIsEdit" | "setCurrentComp" | "setCurrentItemType" | "setParentCompType" | "setCurrentItemId" | "setCurrentFormPreps" | "setDraggingItem" | "removePromise" | "setComponentVisible" | "setBatchEditFieldVisible" | "setPreviewVisible" | "setShortKeyDisabled" | "getFieldDataIndex" | "getCurrentCompEditUserInfo" | "addCurrentCompEditUserInfo" | "removeCurrentCompEditUserInfo">>;
9492
9659
 
9493
9660
  export declare const useDesignPageStore: StoreDefinition<"designPage", Pick<{
9494
9661
  nodeList: Ref< {
@@ -9692,6 +9859,10 @@ getBatchFieldValue: (batchName: string, fieldName: string, rowIndex?: number) =>
9692
9859
  clearAll: () => void;
9693
9860
  }, "setFormData" | "clearAll" | "dataForm" | "selectData" | "dataId" | "setSelectData" | "setDataId" | "addBatchData" | "delField" | "delBatchField" | "addOrUpdateField" | "batchAddOrUpdateField" | "renameField" | "batchRenameField" | "getFieldValue" | "getBatchFieldValue">>;
9694
9861
 
9862
+ export declare const useFormField: (context: any, field: any) => {
9863
+ fieldValue: WritableComputedRef<any, any>;
9864
+ };
9865
+
9695
9866
  export declare const useGlobalConfigStore: StoreDefinition<"globalConfig", Pick<{
9696
9867
  configFormInfo: Ref<any, any>;
9697
9868
  setConfigFormInfo: (data: any) => void;
@@ -9706,6 +9877,8 @@ setConfigFormInfo: (data: any) => void;
9706
9877
  clearAll: (isDark?: string) => void;
9707
9878
  }, "clearAll" | "setConfigFormInfo">>;
9708
9879
 
9880
+ export declare const usePrefixSuffix: (options: PrefixSuffixOptions) => PrefixSuffixResult;
9881
+
9709
9882
  /**
9710
9883
  * 用户自定义按钮
9711
9884
  * @param tableRef 表格实例