star-horse-lowcode 2.7.65 → 2.7.66

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.
Files changed (220) hide show
  1. package/README.md +1 -0
  2. package/dist/assets/index.css +1 -1
  3. package/dist/index.es.js +491 -253
  4. package/package.json +1 -1
  5. package/.env.development +0 -3
  6. package/.env.production +0 -3
  7. package/.eslintrc-auto-import.json +0 -77
  8. package/.gitignore +0 -27
  9. package/.idea/.gitignore +0 -5
  10. package/.idea/MarsCodeWorkspaceAppSettings.xml +0 -6
  11. package/.idea/inspectionProfiles/Project_Default.xml +0 -7
  12. package/.idea/modules.xml +0 -8
  13. package/.idea/testcode.iml +0 -12
  14. package/.idea/vcs.xml +0 -6
  15. package/.idea/watcherTasks.xml +0 -4
  16. package/.idea/workspace.xml +0 -207
  17. package/.npmignore +0 -21
  18. package/.prettierignore +0 -26
  19. package/auto-imports.d.ts +0 -137
  20. package/components.d.ts +0 -189
  21. package/eslint.config.js +0 -37
  22. package/index.html +0 -14
  23. package/package-lock.json +0 -8276
  24. package/prettier.config.js +0 -20
  25. package/public/logo.svg +0 -660
  26. package/src/App.vue +0 -11
  27. package/src/api/date_utils.ts +0 -219
  28. package/src/api/finger_utils.ts +0 -71
  29. package/src/api/form_utils.ts +0 -281
  30. package/src/api/jquery.min.js +0 -2
  31. package/src/api/pcas-code.json +0 -1
  32. package/src/api/settings.ts +0 -81
  33. package/src/api/star_horse_apis.ts +0 -196
  34. package/src/api/star_horse_utils.ts +0 -797
  35. package/src/api/system.ts +0 -351
  36. package/src/api/user_func.ts +0 -147
  37. package/src/api/valid_utils.ts +0 -165
  38. package/src/assets/css/index.scss +0 -908
  39. package/src/assets/icons.css +0 -574
  40. package/src/assets/star-horse-icons.woff +0 -0
  41. package/src/components/comp/ShDynamicForm.vue +0 -160
  42. package/src/components/comp/ShForm.vue +0 -30
  43. package/src/components/comp/ShTableListColumn.vue +0 -61
  44. package/src/components/comp/StarHorseDataSelector.vue +0 -139
  45. package/src/components/comp/StarHorseDataView.vue +0 -110
  46. package/src/components/comp/StarHorseDataViewItems.vue +0 -61
  47. package/src/components/comp/StarHorseDataViewTable.vue +0 -102
  48. package/src/components/comp/StarHorseDialog.vue +0 -383
  49. package/src/components/comp/StarHorseDraggable.vue +0 -401
  50. package/src/components/comp/StarHorseForm.vue +0 -458
  51. package/src/components/comp/StarHorseFormItem.vue +0 -82
  52. package/src/components/comp/StarHorseFormList.vue +0 -516
  53. package/src/components/comp/StarHorseFormTable.vue +0 -56
  54. package/src/components/comp/StarHorseIcon.vue +0 -76
  55. package/src/components/comp/StarHorseItem.vue +0 -302
  56. package/src/components/comp/StarHorseJsonEditor.vue +0 -115
  57. package/src/components/comp/StarHorsePopover.vue +0 -66
  58. package/src/components/comp/StarHorseSearchComp.vue +0 -253
  59. package/src/components/comp/StarHorseStaticTable.vue +0 -395
  60. package/src/components/comp/StarHorseTableColumn.vue +0 -249
  61. package/src/components/comp/StarHorseTableComp.vue +0 -1193
  62. package/src/components/comp/StarHorseTableViewColumn.vue +0 -61
  63. package/src/components/comp/StarHorseTree.vue +0 -494
  64. package/src/components/comp/index.ts +0 -22
  65. package/src/components/comp/items/UTableColumn.vue +0 -65
  66. package/src/components/comp/items/boxItem.vue +0 -98
  67. package/src/components/comp/items/callitem.ts +0 -9
  68. package/src/components/comp/items/cardItem.vue +0 -152
  69. package/src/components/comp/items/collapseItem.vue +0 -134
  70. package/src/components/comp/items/dytableItem.vue +0 -135
  71. package/src/components/comp/items/otherItem.vue +0 -65
  72. package/src/components/comp/items/tabItem.vue +0 -155
  73. package/src/components/comp/items/tabPanelItem.vue +0 -110
  74. package/src/components/comp/items/tableColumn.vue +0 -129
  75. package/src/components/comp/items/tableItem.vue +0 -97
  76. package/src/components/comp/items/tablebtn.vue +0 -158
  77. package/src/components/comp/items/viewBoxItem.vue +0 -55
  78. package/src/components/comp/items/viewCardItem.vue +0 -47
  79. package/src/components/comp/items/viewCollapseItem.vue +0 -71
  80. package/src/components/comp/items/viewDytableItem.vue +0 -77
  81. package/src/components/comp/items/viewOtherItem.vue +0 -55
  82. package/src/components/comp/items/viewTabItem.vue +0 -77
  83. package/src/components/comp/items/viewTabPanelItem.vue +0 -54
  84. package/src/components/comp/items/viewTableItem.vue +0 -74
  85. package/src/components/comp/selfcomp.ts +0 -9
  86. package/src/components/comp/utils/DataPicker.vue +0 -302
  87. package/src/components/comp/utils/DataTag.vue +0 -51
  88. package/src/components/cron/Crontab-Day.vue +0 -230
  89. package/src/components/cron/Crontab-Hour.vue +0 -165
  90. package/src/components/cron/Crontab-Min.vue +0 -166
  91. package/src/components/cron/Crontab-Month.vue +0 -166
  92. package/src/components/cron/Crontab-Result.vue +0 -615
  93. package/src/components/cron/Crontab-Second.vue +0 -185
  94. package/src/components/cron/Crontab-Week.vue +0 -208
  95. package/src/components/cron/Crontab-Year.vue +0 -183
  96. package/src/components/cron/Crontab.vue +0 -474
  97. package/src/components/enums/ModuleEnums.ts +0 -10
  98. package/src/components/enums/ServiceEnums.ts +0 -18
  99. package/src/components/formcomp/container/box-container.vue +0 -162
  100. package/src/components/formcomp/container/callitem.ts +0 -9
  101. package/src/components/formcomp/container/card-container.vue +0 -170
  102. package/src/components/formcomp/container/collapse-container.vue +0 -133
  103. package/src/components/formcomp/container/dytable-col.vue +0 -448
  104. package/src/components/formcomp/container/dytable-container.vue +0 -57
  105. package/src/components/formcomp/container/dytableUtils.ts +0 -358
  106. package/src/components/formcomp/container/group-box-container.vue +0 -331
  107. package/src/components/formcomp/container/index.ts +0 -6
  108. package/src/components/formcomp/container/tab-container.vue +0 -153
  109. package/src/components/formcomp/container/table-container.vue +0 -249
  110. package/src/components/formcomp/items/allitem.ts +0 -9
  111. package/src/components/formcomp/items/area-item.vue +0 -116
  112. package/src/components/formcomp/items/audio-item.vue +0 -163
  113. package/src/components/formcomp/items/autocomplete-item.vue +0 -118
  114. package/src/components/formcomp/items/barcode-item.vue +0 -87
  115. package/src/components/formcomp/items/base-json-item.vue +0 -207
  116. package/src/components/formcomp/items/button-item.vue +0 -228
  117. package/src/components/formcomp/items/cascade-item.vue +0 -113
  118. package/src/components/formcomp/items/checkbox-item.vue +0 -97
  119. package/src/components/formcomp/items/color-item.vue +0 -70
  120. package/src/components/formcomp/items/cron-item.vue +0 -115
  121. package/src/components/formcomp/items/datetime-item.vue +0 -99
  122. package/src/components/formcomp/items/depart-item.vue +0 -51
  123. package/src/components/formcomp/items/dialog-input-item.vue +0 -207
  124. package/src/components/formcomp/items/divider-item.vue +0 -66
  125. package/src/components/formcomp/items/html-item.vue +0 -65
  126. package/src/components/formcomp/items/htmleditor-item.vue +0 -104
  127. package/src/components/formcomp/items/icon-item.vue +0 -195
  128. package/src/components/formcomp/items/image-item.vue +0 -247
  129. package/src/components/formcomp/items/index.ts +0 -44
  130. package/src/components/formcomp/items/input-item.vue +0 -150
  131. package/src/components/formcomp/items/json-array-item.vue +0 -67
  132. package/src/components/formcomp/items/json-item.vue +0 -66
  133. package/src/components/formcomp/items/markdown-item.vue +0 -77
  134. package/src/components/formcomp/items/number-item.vue +0 -94
  135. package/src/components/formcomp/items/number-range-item.vue +0 -278
  136. package/src/components/formcomp/items/page-select-item.vue +0 -407
  137. package/src/components/formcomp/items/password-item.vue +0 -71
  138. package/src/components/formcomp/items/qrcode-item.vue +0 -84
  139. package/src/components/formcomp/items/radio-item.vue +0 -112
  140. package/src/components/formcomp/items/rate-item.vue +0 -68
  141. package/src/components/formcomp/items/select-item.vue +0 -133
  142. package/src/components/formcomp/items/signature-item.vue +0 -216
  143. package/src/components/formcomp/items/slider-item.vue +0 -68
  144. package/src/components/formcomp/items/starhorse-form-item.vue +0 -334
  145. package/src/components/formcomp/items/switch-item.vue +0 -77
  146. package/src/components/formcomp/items/tag-item.vue +0 -77
  147. package/src/components/formcomp/items/text-item.vue +0 -75
  148. package/src/components/formcomp/items/textarea-item.vue +0 -85
  149. package/src/components/formcomp/items/time-item.vue +0 -77
  150. package/src/components/formcomp/items/time-picker-item.vue +0 -74
  151. package/src/components/formcomp/items/transfer-item.vue +0 -93
  152. package/src/components/formcomp/items/tselect-item.vue +0 -121
  153. package/src/components/formcomp/items/unknown-item.vue +0 -51
  154. package/src/components/formcomp/items/upload-item.vue +0 -189
  155. package/src/components/formcomp/items/user-item.vue +0 -177
  156. package/src/components/formcomp/items/usercomp-item.vue +0 -85
  157. package/src/components/formcomp/items/view-markdown-item.vue +0 -77
  158. package/src/components/formcomp/utils/EditDataDialog.vue +0 -67
  159. package/src/components/formcomp/utils/FieldList.vue +0 -125
  160. package/src/components/formcomp/utils/ItemRelationEventUtils.ts +0 -284
  161. package/src/components/help.vue +0 -31
  162. package/src/components/menu/MenuItem.vue +0 -95
  163. package/src/components/menu/SubMenu.vue +0 -68
  164. package/src/components/menu/SubSystemMenu.vue +0 -142
  165. package/src/components/register.ts +0 -24
  166. package/src/components/system/ContentMenu.vue +0 -260
  167. package/src/components/system/StarHorseButtonList.vue +0 -344
  168. package/src/components/system/StarHorseMenu.vue +0 -97
  169. package/src/components/system/StarHorseSvg.vue +0 -62
  170. package/src/components/system/SystemComp.ts +0 -9
  171. package/src/components/system/index.ts +0 -4
  172. package/src/components/types/ApiUrls.ts +0 -168
  173. package/src/components/types/BtnAction.ts +0 -51
  174. package/src/components/types/BtnAuth.ts +0 -43
  175. package/src/components/types/CompInfo.ts +0 -81
  176. package/src/components/types/DialogProps.ts +0 -55
  177. package/src/components/types/DyCompField.ts +0 -23
  178. package/src/components/types/DynamicNode.ts +0 -42
  179. package/src/components/types/MenusInfo.ts +0 -45
  180. package/src/components/types/PageFieldInfo.ts +0 -530
  181. package/src/components/types/PageProps.ts +0 -25
  182. package/src/components/types/Params.ts +0 -93
  183. package/src/components/types/RuleType.ts +0 -10
  184. package/src/components/types/SearchProps.ts +0 -42
  185. package/src/components/types/ShortKey.ts +0 -30
  186. package/src/components/types/StarHorseType.ts +0 -18
  187. package/src/components/types/index.ts +0 -15
  188. package/src/config/element.ts +0 -15
  189. package/src/config/styles.ts +0 -4
  190. package/src/index.ts +0 -98
  191. package/src/install.ts +0 -33
  192. package/src/lang/en_US.ts +0 -81
  193. package/src/lang/index.ts +0 -35
  194. package/src/lang/zh_CN.ts +0 -84
  195. package/src/main.ts +0 -57
  196. package/src/plugins/AblesPlugin.ts +0 -618
  197. package/src/plugins/registerCompPlugin.ts +0 -15
  198. package/src/sample/test.vue +0 -9
  199. package/src/store/ButtonPermission.ts +0 -101
  200. package/src/store/ConsumerView.ts +0 -52
  201. package/src/store/ContinusConfig.ts +0 -78
  202. package/src/store/CopyerOperation.ts +0 -74
  203. package/src/store/DesignForm.ts +0 -481
  204. package/src/store/DesignPage.ts +0 -59
  205. package/src/store/DynamicForm.ts +0 -241
  206. package/src/store/GlobalConfig.ts +0 -90
  207. package/src/store/SelfOperation.ts +0 -95
  208. package/src/store/UserInfo.ts +0 -88
  209. package/src/store/index.ts +0 -6
  210. package/src/theme/localStorge.ts +0 -16
  211. package/src/theme/theme.ts +0 -27
  212. package/src/utils/FieldOperationUtils.ts +0 -91
  213. package/src/utils/auth.ts +0 -83
  214. package/src/utils/message.ts +0 -69
  215. package/src/utils/preview.ts +0 -125
  216. package/tsconfig.json +0 -39
  217. package/tsconfig.node.json +0 -10
  218. package/vite-env.d.ts +0 -16
  219. package/vite.config.ts +0 -162
  220. package/yarn.lock +0 -4627
@@ -1,530 +0,0 @@
1
- import {ApiUrls} from "@/components/types/ApiUrls";
2
- import {SearchParams} from "@/components/types/Params";
3
- import {RuleType} from "@/components/types/RuleType";
4
- import {SearchFields} from "@/components/types/SearchProps";
5
- import {Ref} from "vue";
6
-
7
- /**
8
- * Tab 表单数据
9
- */
10
- export declare interface TabFieldInfo {
11
- /**
12
- * 标题,显示名称
13
- */
14
- title: string;
15
- /**
16
- * TabName 定义每个Tab 的名字
17
- */
18
- tabName: string;
19
- /**
20
- * 是否默认禁用
21
- */
22
- disabled: string;
23
- /**
24
- * fieldList 是否是子表单
25
- */
26
- subFormFlag: string;
27
- /**
28
- * 如果要列表显示则该属性需要设置为Y
29
- */
30
- tableFlag: string;
31
- /**
32
- * 子集合Key 名称,如果配置了此名字,所有tab 下组件的数据将存入该名字下
33
- * 该属性的使用场景是 1对1 或者1 对多关系时,tab里组件是另外一个表的情况
34
- * eg:{
35
- * objectName:{
36
- * xx:[]
37
- * yy:{}
38
- * }}
39
- */
40
- objectName?: string;
41
- /**
42
- * 主键
43
- */
44
- primaryKey: string | Array<any>;
45
- /**
46
- * 属性名
47
- */
48
- fieldList: Array<FieldInfo>;
49
- /**
50
- * 批量表单属性,该属性对应的数据默认是其它表的数据,
51
- */
52
- batchFieldList?: Array<BatchFieldInfo>;
53
- }
54
-
55
- /**
56
- * Card 容器信息
57
- */
58
- export declare interface CardFieldInfo extends TabFieldInfo {
59
- /**
60
- * 头部右侧组件信息
61
- */
62
- headerFieldList?: FieldInfo[];
63
- }
64
-
65
- /**
66
- * Collapse 容器信息
67
- */
68
- export declare interface CollapseList extends TabFieldInfo {
69
- }
70
-
71
- export declare interface FieldInfo {
72
- /**
73
- * 标签名称
74
- */
75
- label?: string;
76
- /**
77
- * 属性名称
78
- */
79
- fieldName: string;
80
- /**
81
- * 隐藏属性名称
82
- */
83
- hideFieldName?: string;
84
- /**
85
- * 属性别名
86
- */
87
- aliasName?: string;
88
- /**
89
- * 帮助信息
90
- */
91
- helpMsg?: string;
92
- /**
93
- * 类型名称,支持
94
- * date 日期,
95
- * daterange 日期范围,
96
- * icon 图标,
97
- * select 下拉菜单(一级),
98
- * number 数字,
99
- * textrarea 文本域,
100
- * password 密码,
101
- * 非以上类型全部按照input处理
102
- */
103
- type?: string;
104
- /**
105
- * 以组件形式展示,如果是指定的组件,将以指定组件形式展示
106
- */
107
- listPrototypeDisplay?: boolean;
108
- /**
109
- * 是否必须项
110
- */
111
- required?: boolean | Ref<boolean>;
112
- /**
113
- * 表单是否显示该属性
114
- */
115
- formVisible?: boolean | Ref<boolean>;
116
- /**
117
- * 列表是否显示该属性
118
- */
119
- listVisible?: boolean | Ref<boolean>;
120
- /**
121
- * 查看页面是否显示该属性
122
- */
123
- viewVisible?: boolean | Ref<boolean>;
124
-
125
- /**
126
- * 列表所在列最小宽度
127
- */
128
- minWidth?: number;
129
-
130
- /**
131
- * 是否禁用,true 禁用 false 非禁用
132
- */
133
- disabled?: boolean | Ref<boolean>;
134
- /**
135
- * 编辑时禁用,true 禁用 false 非禁用
136
- */
137
- editDisabled?: boolean | Ref<boolean>;
138
- /**
139
- * Tab容器数据
140
- */
141
- tabList?: TabFieldInfo[];
142
- /**
143
- * Card 容器数据
144
- */
145
- cardList?: CardFieldInfo[];
146
- /**
147
- * 折叠容器(collapse)数据
148
- */
149
- collapseList?: CollapseList[];
150
- /**
151
- * 传统table布局表单,对应动态表格(dytable)容器
152
- */
153
- dytableList?: FieldInfo[];
154
- /**
155
- * 列表属性,对应动态列表(table) 容器
156
- */
157
- batchFieldList?: BatchFieldInfo[];
158
- /**
159
- * 默认值,在重置表单时,自动填充默认值,自定义重置表单时失效
160
- */
161
- defaultValue?: any;
162
- /**
163
- * 事件内容
164
- */
165
- actions?: Function | Record<string, Function>;
166
- /**
167
- * 小数点精度
168
- */
169
- precision?: number;
170
-
171
- /**
172
- * 组件个性化属性
173
- */
174
- preps?: Record<string, any | CompParams>;
175
- /**
176
- * 查询表前缀
177
- */
178
- prefix?: string;
179
- /**
180
- * 默认值匹配类型
181
- */
182
- matchType?: string;
183
- /**
184
- * 多数据显示风格,支持tab ,list 默认tab
185
- */
186
- displayStyle?: string;
187
- /**
188
- * 相邻的兄弟节点
189
- */
190
- brotherNodes?: FieldInfo[];
191
- /**
192
- * 优先级,数字越小,组件越靠前
193
- */
194
- priority?: number;
195
- /**
196
- * 列表搜索时是否显示该属性
197
- */
198
- searchVisible?: boolean;
199
- /**
200
- * 校验规则,废弃 在2.8.0 版本中删除 请在preps 中配置rules
201
- */
202
- rules?: RuleType[] | any;
203
- /**
204
- * 添加事件
205
- */
206
- addActions?: Function | string;
207
- /**
208
- * 编辑事件
209
- */
210
- editActions?: Function | string;
211
-
212
- /**
213
- * 删除事件
214
- */
215
- removeActions?: Function | string;
216
- }
217
-
218
- /**
219
- * 属性映射
220
- *
221
- */
222
- export declare interface FieldMapping {
223
- /**
224
- * 列表属性
225
- */
226
- sourceField: string;
227
- /**
228
- * 需要赋值的属性
229
- */
230
- distField: string;
231
- }
232
-
233
- /**
234
- * 动态组件的参数对象
235
- */
236
- export declare interface CompParams {
237
- /**
238
- * 选中数据时需要的字段
239
- */
240
- needField: Array<FieldMapping>;
241
- /**
242
- * 回调函数
243
- */
244
- recall?: Function;
245
- /**
246
- * 主键名称
247
- */
248
- primaryKey: string | Array<any>;
249
- /**
250
- * 接口地址
251
- */
252
- dataUrl: ApiUrls;
253
- /**
254
- * 字段信息
255
- */
256
- fieldList: Array<FieldInfo>;
257
- /**
258
- * 接口过滤条件
259
- */
260
- condition?: Array<SearchParams>;
261
- /**
262
- * 列表数据排序
263
- */
264
- orderBy?: Array<OrderByInfo>;
265
- /**
266
- * 格式化方法
267
- */
268
- dataFormat?: Function;
269
- /**
270
- * 查询字段
271
- */
272
- searchFieldList?: Array<SearchFields>;
273
- /**
274
- * 是否只读
275
- */
276
- readonly?: string;
277
- }
278
-
279
- /**
280
- * 用户自定义方法信息
281
- */
282
- export declare interface UserFuncInfo {
283
- /**
284
- * 权限编码
285
- */
286
- authority?: string;
287
- /**
288
- * 方法名称
289
- */
290
- funcName?: string | Function;
291
- /**
292
- * 按钮显示文字名称
293
- */
294
- btnName?: string;
295
- /**
296
- * 图标
297
- */
298
- icon?: string;
299
- /**
300
- * 优先级
301
- */
302
- priority?: number;
303
- /**
304
- * 帮助提示
305
- */
306
- helpMsg?: string;
307
- /**
308
- * 是否禁用 Y 是 N 否
309
- */
310
- disabled?: string;
311
- /**
312
- * 按钮显示位置,默认在列表的右侧
313
- */
314
- position?: "table" | "toolbar";
315
- /**
316
- * 子节点
317
- */
318
- children?: UserFuncInfo[];
319
- }
320
-
321
- /**
322
- * 列表排序
323
- */
324
- export declare interface OrderByInfo {
325
- /**
326
- * 排序属性名称,如果关联表,请带上表别名前置
327
- */
328
- fieldName: string;
329
- /**
330
- * 升降序 asc 升序 desc 降序
331
- */
332
- ascOrDesc: string;
333
- }
334
-
335
- /**
336
- * 批量添加时的导入信息
337
- */
338
- export declare interface ImportInfo {
339
- /**
340
- * 下载模板地址,在新增时下载对应的模板
341
- */
342
- downloadTemplateUrl?: string;
343
- /**
344
- * 导入数据地址,新增或者编辑时将数据导入
345
- */
346
- importDataUrl?: string;
347
- /**
348
- * 默认查询条件
349
- */
350
- conditions?: Array<SearchParams>;
351
- }
352
-
353
- /**
354
- * 子表单信息
355
- */
356
- export declare interface SubFieldInfo {
357
- /**
358
- * 对应后端dto 里的Object/Map属性名称
359
- */
360
- objectName: string;
361
- /**
362
- * 主键名称,对应后端dto Object/Map泛型对象的主键名称
363
- */
364
- primaryKey?: string | Array<any>;
365
- /**
366
- * 字段属性
367
- */
368
- fieldList: Array<FieldInfo> | any;
369
- /**
370
- * fieldName和fieldList 是否同一个表,组件会根据这个字段校验数据是一对多关系
371
- * 还是单表的批量处理
372
- */
373
- subFormFlag?: string;
374
- }
375
-
376
- /**
377
- * 批量表单
378
- */
379
- export declare interface BatchFieldInfo {
380
- /**
381
- * 对应后端dto 里的List属性名称
382
- */
383
- batchName: string;
384
- /**
385
- * 是否禁用
386
- */
387
- disabled?: string;
388
- /**
389
- * 禁止显示
390
- */
391
- disVisible?: boolean;
392
- /**
393
- * 列表标题
394
- */
395
- title?: string;
396
- /**
397
- * 帮助提示
398
- */
399
- helpMsg?: string;
400
- /**
401
- * 默认初始化行数
402
- */
403
- initRows?: number;
404
- /**
405
- * 主键名称,对应后端dto List泛型对象的主键名称
406
- */
407
- primaryKey?: string;
408
- /**
409
- * 新增行时默认添加的属性
410
- */
411
- batchDefaultData?: any;
412
- /**
413
- * 字段属性
414
- */
415
- fieldList: Array<FieldInfo> | any;
416
- /**
417
- * 当前组件接口
418
- */
419
- compUrl?: ApiUrls;
420
- /**
421
- * 导入数据
422
- */
423
- importInfo?: ImportInfo;
424
- /**
425
- * 是否静态数据 Y 是 N 否
426
- */
427
- staticData?: string;
428
- /**
429
- * batchFieldList 和fieldList 是否同一个表,组件会根据这个字段校验数据是一对多关系
430
- * 还是单表的批量处理
431
- */
432
- subFormFlag?: string | boolean;
433
- /**
434
- * 表单标识,如果需要作为form表单显示,则需要将该属性设置为Y
435
- */
436
- formFlag?: string;
437
- }
438
-
439
- /**
440
- * 页面属性信息
441
- */
442
- export declare interface PageFieldInfo {
443
- /**
444
- * 表单属性
445
- */
446
- fieldList?: Array<FieldInfo> | any;
447
- /**
448
- * 批量表单属性
449
- * 对象格式的数据{} 数据格式为{
450
- * tb1:{title:"xx",primaryKey:"xx",fieldList:[]},
451
- * tb2:{title:"xx2",primaryKey:"xx2",fieldList:[]}
452
- * }
453
- * tb1 对应后端dto 里的List属性名称
454
- * primaryKey 对应后端dto List泛型对象的主键名称
455
- * fieldList 对应后端dto List泛型对象的属性
456
- * 后面将废弃这种用法,此种用户没法保证动态表单设置的数据位置
457
- */
458
- batchFieldList?: Array<BatchFieldInfo>;
459
- /**
460
- * 表格自定义方法
461
- */
462
- userTableFuncs?: Array<UserFuncInfo>;
463
- /**
464
- * 是否阻止自动加载列表数据
465
- */
466
- stopAutoLoad?: boolean;
467
- /**
468
- * 是否允许列表单元格可以编辑
469
- */
470
- cellEditable?: boolean;
471
- /**
472
- * 列表数据排序
473
- */
474
- orderBy?: Array<OrderByInfo>;
475
- /**
476
- * 默认查询条件
477
- */
478
- conditions?: Array<SearchParams>;
479
- /**
480
- * 表单有列表数据时,在提交后端是批量数据的Key名称
481
- */
482
- batchName?: string;
483
- /**
484
- * batchFieldList 和fieldList 是否同一个表,组件会根据这个字段校验数据是一对多关系
485
- * 还是单表的批量处理
486
- */
487
- sameTable?: boolean;
488
- /**
489
- * 主键
490
- */
491
- primaryKey?: string | Array<any>;
492
- /**
493
- * 优先级
494
- */
495
- priority?: number;
496
- }
497
-
498
- /**
499
- * 嵌套表结构
500
- */
501
- export declare interface ExpandTable {
502
- /**
503
- * 列表数据字段
504
- */
505
- dataField: string;
506
- /**
507
- * 列表标题
508
- */
509
- title?: string;
510
- /**
511
- * 是否显示操作按钮
512
- */
513
- showButton?: boolean;
514
- /**
515
- * 扩展表主键
516
- */
517
- primaryKey?: string | Array<any>;
518
- /**
519
- * 扩展按钮方法
520
- */
521
- extendFuncs?: UserFuncInfo[];
522
- /**
523
- * 扩展方法API接口
524
- */
525
- expandUrls?: ApiUrls;
526
- /**
527
- * 列表字段
528
- */
529
- fieldList: FieldInfo[];
530
- }
@@ -1,25 +0,0 @@
1
- /**
2
- * 页面数据信息
3
- */
4
- export declare interface PageProps {
5
- /**
6
- * 数据总条数
7
- */
8
- totalData?: number;
9
- /**
10
- * 每页数据条数
11
- */
12
- pageSize?: number;
13
- /**
14
- * 页码
15
- */
16
- currentPage?: number;
17
- /**
18
- * 总页数
19
- */
20
- totalPage?: number;
21
- /**
22
- * 数据
23
- */
24
- dataList?: Array<any> | null;
25
- }
@@ -1,93 +0,0 @@
1
- import { OrderByInfo } from "@/components/types/PageFieldInfo";
2
-
3
- /**
4
- * 查询条件组装数据对象
5
- */
6
- export declare interface SearchParams {
7
- /**
8
- * 属性名称
9
- */
10
- propertyName?: string;
11
- /**
12
- * 匹配方式 eq,lk,gt,gte,lt,lte,llk,rlk,in ,nin,exits
13
- */
14
- operation?: string | null;
15
- /**
16
- * 查询值
17
- */
18
- value?: any;
19
- /**
20
- * 或查询
21
- */
22
- orOperList?: SearchParams[];
23
- }
24
-
25
- /**
26
- * 查询条件组装数据对象
27
- */
28
- export declare interface JoinSearchParams {
29
- /**
30
- * 属性名称
31
- */
32
- leftFieldName: string;
33
- /**
34
- * 匹配方式 eq,neq,gt,gte,lt,lte
35
- */
36
- operation?: string | null;
37
- /**
38
- * 查询值
39
- */
40
- rightFieldName: string;
41
- /**
42
- * 或查询
43
- */
44
- or?: JoinSearchParams[];
45
- }
46
-
47
- /**
48
- * 查询对象
49
- */
50
- export declare interface SearchInfo {
51
- /**
52
- * 每页数据量大小
53
- */
54
- pageSize: number;
55
- /**
56
- * 页码
57
- */
58
- currentPage: number;
59
- /**
60
- * 总数据量
61
- */
62
- totalDatas: number;
63
- /**
64
- * 总页数
65
- */
66
- totalPages: number;
67
- /**
68
- * 查询条件
69
- */
70
- fieldList: SearchParams[];
71
- /**
72
- * 排序条件
73
- */
74
- orderBy: OrderByInfo[];
75
- }
76
-
77
- /**
78
- * 列表按钮隐藏条件
79
- */
80
- export declare interface BtnHideCondition {
81
- /**
82
- * 属性名
83
- */
84
- fieldName: string;
85
- /**
86
- * 按钮
87
- */
88
- btnName: Array<string> | string;
89
- /**
90
- * 值
91
- */
92
- value: any;
93
- }
@@ -1,10 +0,0 @@
1
- export declare interface RuleType {
2
- /**
3
- * 批量表单属性,该属性对应的数据默认是其它表的数据,
4
- */
5
- name: any;
6
- /**
7
- * 参数
8
- */
9
- options?: any;
10
- }
@@ -1,42 +0,0 @@
1
- import { CompParams } from "@/components/types/PageFieldInfo";
2
- import { Ref } from "vue";
3
-
4
- export type SelectOption = {
5
- name?: string;
6
- value?: string | number;
7
- disabled?: string;
8
- children?: SelectOption[] | Ref<SelectOption[]>;
9
- };
10
- /**
11
- * 查询组件的属性
12
- */
13
- export type SearchProps = {
14
- label?: string;
15
- fieldName?: string;
16
- type?: string;
17
- matchType?: string;
18
- disabled?: boolean | string;
19
- defaultValue?: any | null;
20
- defaultVisible?: boolean;
21
- helpMsg?: string;
22
- minWidth?: string;
23
- /**
24
- * 表的别名
25
- */
26
- prefix?: string;
27
- /**
28
- * 弹窗数据配置
29
- */
30
- params?: CompParams;
31
- preps?: any;
32
- /**
33
- * 废弃,请根据具体业务在preps 中添加 values 或者data
34
- */
35
- optionList?: SelectOption[] | Ref<SelectOption[]>;
36
- };
37
- /**
38
- * 查询属性
39
- */
40
- export type SearchFields = {
41
- fieldList: SearchProps[];
42
- };
@@ -1,30 +0,0 @@
1
- export type ShortKey = {
2
- /**
3
- * 快捷键
4
- */
5
- key: string;
6
- /**
7
- * 动作名称
8
- */
9
- action: string;
10
- /**
11
- * 是否需要alt 键组合
12
- */
13
- alt?: boolean;
14
- /**
15
- * 是否需要ctrl 键组合
16
- */
17
- ctrl?: boolean;
18
- /**
19
- * 是否需要shift 键组合
20
- */
21
- shift?: boolean;
22
- /**
23
- * 其他键
24
- */
25
- other?: Array<string> | string;
26
- /**
27
- * 处理函数
28
- */
29
- handler?: Function;
30
- };