hy-dispatch-ui-v3 0.2.66 → 0.2.68

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 (288) hide show
  1. package/dist/tailwind.css +257 -21
  2. package/es/api/device.mjs +2 -3
  3. package/es/api/exportExcel.mjs +57 -0
  4. package/es/api/index.mjs +27 -16
  5. package/es/api/mapRail.mjs +31 -0
  6. package/es/api/organization.mjs +17 -9
  7. package/es/api/rule.mjs +30 -0
  8. package/es/api/sypct.mjs +2 -3
  9. package/es/api/task.mjs +2 -3
  10. package/es/bussiness/hyAddDepartmentType/addDepartmentType.vue.mjs +18 -19
  11. package/es/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +28 -28
  12. package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.mjs +511 -0
  13. package/es/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.mjs +169 -0
  14. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.mjs +318 -0
  15. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.mjs +123 -0
  16. package/es/bussiness/hyElectronicFence/electronicFence.vue.mjs +358 -0
  17. package/es/bussiness/hyElectronicFence/index.mjs +13 -0
  18. package/es/bussiness/hyElectronicFence/style/electronicFence.scss +0 -0
  19. package/es/bussiness/hyMapAearchPlace/js/index.mjs +1 -1
  20. package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +4 -6
  21. package/es/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
  22. package/es/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.mjs +270 -0
  23. package/es/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.mjs +251 -0
  24. package/es/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.mjs +251 -0
  25. package/es/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.mjs +395 -0
  26. package/es/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.mjs +651 -0
  27. package/es/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.mjs +357 -0
  28. package/es/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.mjs +261 -0
  29. package/es/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.mjs +360 -0
  30. package/es/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.mjs +240 -0
  31. package/es/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.mjs +258 -0
  32. package/es/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.mjs +240 -0
  33. package/es/bussiness/hyRuleSetting/index.mjs +15 -0
  34. package/es/bussiness/hyRuleSetting/js/ruleSetting.mjs +65 -0
  35. package/es/bussiness/hyRuleSetting/ruleSetting.vue.mjs +129 -0
  36. package/es/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
  37. package/es/bussiness/index.mjs +2 -0
  38. package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +5 -13
  39. package/es/components/hyAudioPlayer/js/index.mjs +9 -14
  40. package/es/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
  41. package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +174 -142
  42. package/es/components/hyButton/button.vue.mjs +18 -5
  43. package/es/components/hyButton/style/button.scss +50 -74
  44. package/es/components/hyCheckboxGroup/checkboxGroup.vue.mjs +119 -0
  45. package/es/components/hyCheckboxGroup/index.mjs +7 -0
  46. package/es/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
  47. package/es/components/hyConfigProvider/configProvider.vue.mjs +51 -38
  48. package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +57 -62
  49. package/es/components/hyConfirmDialog/confirmMethod.mjs +24 -22
  50. package/es/components/hyCutter/cutter.vue.mjs +9 -23
  51. package/es/components/hyDatePicker/datePicker.vue.mjs +12 -17
  52. package/es/components/hyDialog/dialog.vue.mjs +5 -9
  53. package/es/components/hyDialog/style/dialog.scss +12 -13
  54. package/es/components/hyDrawer/drawer.vue.mjs +100 -0
  55. package/es/components/hyDrawer/index.mjs +7 -0
  56. package/es/components/hyDrawer/style/drawer.scss +0 -0
  57. package/es/components/hyForm/cpns/arrayItem.vue.mjs +10 -28
  58. package/es/components/hyForm/cpns/arrayItem2.vue.mjs +198 -0
  59. package/es/components/hyForm/cpns/extraItem.vue.mjs +2 -3
  60. package/es/components/hyForm/cpns/formItem.vue.mjs +149 -69
  61. package/es/components/hyForm/cpns/locationSelect.vue.mjs +26 -26
  62. package/es/components/hyForm/form.vue.mjs +74 -28
  63. package/es/components/hyForm/js/index.mjs +4 -8
  64. package/es/components/hyForm/js/useAppForm.mjs +4 -9
  65. package/es/components/hyForm/style/form.scss +4 -13
  66. package/es/components/hyIcon/icon.vue.mjs +3 -3
  67. package/es/components/hyIconBox/style/iconBox.scss +2 -6
  68. package/es/components/hyInput/inputSearch.vue.mjs +8 -11
  69. package/es/components/hyInput/style/inputSearch.scss +3 -0
  70. package/es/components/hyLoading/index.mjs +3 -5
  71. package/es/components/hyMap/js/index.mjs +35 -10
  72. package/es/components/hyMap/map.vue.mjs +30 -6
  73. package/es/components/hyMenu/style/menu.scss +5 -15
  74. package/es/components/hyNoPermissions/noPermissions.vue.mjs +3 -4
  75. package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +3 -6
  76. package/es/components/hyOrgCascader/js/index.mjs +1 -5
  77. package/es/components/hyOrgCascader/orgCascader.vue.mjs +31 -12
  78. package/es/components/hyOrgCascader/style/orgCascader.scss +7 -0
  79. package/es/components/hyRadioGroup/radioGroup.vue.mjs +48 -41
  80. package/es/components/hyRadioGroup/style/radioGroup.scss +9 -0
  81. package/es/components/hySearch/cpns/searchItem.vue.mjs +409 -324
  82. package/es/components/hySearch/js/index.mjs +1 -4
  83. package/es/components/hySearch/js/useAppSearch.mjs +5 -10
  84. package/es/components/hySearch/search.vue.mjs +23 -20
  85. package/es/components/hySearch/style/search.scss +9 -0
  86. package/es/components/hyStatus/index.mjs +7 -0
  87. package/es/components/hyStatus/status.vue.mjs +110 -0
  88. package/es/components/hyStatus/style/status.scss +0 -0
  89. package/es/components/hyTable/cpns/columnSelect.vue.mjs +24 -28
  90. package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +8 -9
  91. package/es/components/hyTable/cpns/headerItem.vue.mjs +2 -2
  92. package/es/components/hyTable/cpns/virtualTable.vue.mjs +43 -34
  93. package/es/components/hyTable/js/index.mjs +67 -64
  94. package/es/components/hyTable/js/search.mjs +25 -1
  95. package/es/components/hyTable/js/useAppTable.mjs +3 -4
  96. package/es/components/hyTable/style/table.scss +8 -0
  97. package/es/components/hyTable/table.vue.mjs +68 -53
  98. package/es/components/hyTableActionButton/tableActionButton.vue.mjs +13 -6
  99. package/es/components/hyTableForm/batchTableForm.vue.mjs +26 -9
  100. package/es/components/hyTableForm/js/index.mjs +2 -8
  101. package/es/components/hyTableForm/js/useAppTableForm.mjs +3 -8
  102. package/es/components/hyTableForm/style/batchTableForm.scss +26 -54
  103. package/es/components/hyTableForm/style/tableForm.scss +3 -2
  104. package/es/components/hyTableForm/tableForm.vue.mjs +160 -70
  105. package/es/components/hyTimePicker/timePicker.vue.mjs +4 -5
  106. package/es/components/hyTree/js/index.mjs +113 -72
  107. package/es/components/hyTree/style/index.css +1 -1
  108. package/es/components/hyTree/tree.vue.mjs +21 -18
  109. package/es/components/hyUserAvatar/userAvatar.vue.mjs +3 -6
  110. package/es/components/hyVideoPlayer/js/index.mjs +14 -23
  111. package/es/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
  112. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +16 -26
  113. package/es/components/index.mjs +3 -0
  114. package/es/hooks/index.mjs +6 -2
  115. package/es/hooks/useAudioPlayerConfig.mjs +1 -3
  116. package/es/hooks/useBaseMainStore.mjs +29 -0
  117. package/es/hooks/useCurrentBus.mjs +20 -0
  118. package/es/hooks/useDialog.mjs +327 -0
  119. package/es/hooks/useExportFile.mjs +133 -0
  120. package/es/hooks/useGlobalConfig.mjs +10 -6
  121. package/es/hooks/useLocale.mjs +22 -12
  122. package/es/hooks/usePermissionMap.mjs +1 -3
  123. package/es/hooks/useResizeHandler.mjs +1 -4
  124. package/es/hooks/useResizeObserver.mjs +3 -1
  125. package/es/hooks/useSubscribe.mjs +2 -2
  126. package/es/hooks/useUserAvatarMap.mjs +1 -3
  127. package/es/hooks/useVideoPlayerConfig.mjs +1 -3
  128. package/es/index.mjs +11 -2
  129. package/es/locale/{en.mjs → en_US.mjs} +79 -4
  130. package/es/locale/index.mjs +2 -2
  131. package/es/locale/zh_CN.mjs +79 -2
  132. package/es/style/index.scss +0 -1
  133. package/es/style/tailwind.scss +7 -4
  134. package/es/utils/adaptive.mjs +1 -3
  135. package/es/utils/form.mjs +7 -10
  136. package/es/utils/handler.mjs +4 -8
  137. package/es/utils/input.mjs +8 -9
  138. package/es/utils/is.mjs +3 -1
  139. package/es/utils/map/hook/bigMap.mjs +16 -53
  140. package/es/utils/map/hook/gaode.mjs +53 -33
  141. package/es/utils/map/hook/leafletjs.mjs +38 -82
  142. package/es/utils/map/index.mjs +3 -9
  143. package/es/utils/map/js/webgis.mjs +12 -12
  144. package/es/version.mjs +1 -1
  145. package/lib/api/device.js +2 -3
  146. package/lib/api/exportExcel.js +62 -0
  147. package/lib/api/index.js +27 -16
  148. package/lib/api/mapRail.js +34 -0
  149. package/lib/api/organization.js +17 -8
  150. package/lib/api/rule.js +33 -0
  151. package/lib/api/sypct.js +2 -3
  152. package/lib/api/task.js +2 -3
  153. package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +17 -18
  154. package/lib/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +28 -28
  155. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +515 -0
  156. package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.js +173 -0
  157. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.js +322 -0
  158. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.js +127 -0
  159. package/lib/bussiness/hyElectronicFence/electronicFence.vue.js +362 -0
  160. package/lib/bussiness/hyElectronicFence/index.js +21 -0
  161. package/lib/bussiness/hyElectronicFence/style/electronicFence.scss +0 -0
  162. package/lib/bussiness/hyMapAearchPlace/js/index.js +1 -1
  163. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +4 -6
  164. package/lib/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
  165. package/lib/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.js +274 -0
  166. package/lib/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.js +255 -0
  167. package/lib/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.js +255 -0
  168. package/lib/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.js +399 -0
  169. package/lib/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.js +655 -0
  170. package/lib/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.js +361 -0
  171. package/lib/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.js +265 -0
  172. package/lib/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.js +364 -0
  173. package/lib/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.js +244 -0
  174. package/lib/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.js +262 -0
  175. package/lib/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.js +244 -0
  176. package/lib/bussiness/hyRuleSetting/index.js +24 -0
  177. package/lib/bussiness/hyRuleSetting/js/ruleSetting.js +68 -0
  178. package/lib/bussiness/hyRuleSetting/ruleSetting.vue.js +133 -0
  179. package/lib/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
  180. package/lib/bussiness/index.js +21 -10
  181. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +5 -13
  182. package/lib/components/hyAudioPlayer/js/index.js +9 -14
  183. package/lib/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
  184. package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +173 -141
  185. package/lib/components/hyButton/button.vue.js +17 -4
  186. package/lib/components/hyButton/style/button.scss +50 -74
  187. package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +123 -0
  188. package/lib/components/hyCheckboxGroup/index.js +12 -0
  189. package/lib/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
  190. package/lib/components/hyConfigProvider/configProvider.vue.js +50 -56
  191. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +56 -61
  192. package/lib/components/hyConfirmDialog/confirmMethod.js +23 -21
  193. package/lib/components/hyCutter/cutter.vue.js +8 -22
  194. package/lib/components/hyDatePicker/datePicker.vue.js +11 -16
  195. package/lib/components/hyDialog/dialog.vue.js +5 -9
  196. package/lib/components/hyDialog/style/dialog.scss +12 -13
  197. package/lib/components/hyDrawer/drawer.vue.js +104 -0
  198. package/lib/components/hyDrawer/index.js +12 -0
  199. package/lib/components/hyDrawer/style/drawer.scss +0 -0
  200. package/lib/components/hyForm/cpns/arrayItem.vue.js +9 -27
  201. package/lib/components/hyForm/cpns/arrayItem2.vue.js +202 -0
  202. package/lib/components/hyForm/cpns/extraItem.vue.js +2 -3
  203. package/lib/components/hyForm/cpns/formItem.vue.js +148 -68
  204. package/lib/components/hyForm/cpns/locationSelect.vue.js +26 -26
  205. package/lib/components/hyForm/form.vue.js +69 -23
  206. package/lib/components/hyForm/js/index.js +3 -7
  207. package/lib/components/hyForm/js/useAppForm.js +4 -9
  208. package/lib/components/hyForm/style/form.scss +4 -13
  209. package/lib/components/hyIcon/icon.vue.js +3 -3
  210. package/lib/components/hyIconBox/style/iconBox.scss +2 -6
  211. package/lib/components/hyInput/inputSearch.vue.js +7 -10
  212. package/lib/components/hyInput/style/inputSearch.scss +3 -0
  213. package/lib/components/hyLoading/index.js +2 -4
  214. package/lib/components/hyMap/js/index.js +34 -9
  215. package/lib/components/hyMap/map.vue.js +29 -5
  216. package/lib/components/hyMenu/style/menu.scss +5 -15
  217. package/lib/components/hyNoPermissions/noPermissions.vue.js +3 -4
  218. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +3 -6
  219. package/lib/components/hyOrgCascader/js/index.js +1 -5
  220. package/lib/components/hyOrgCascader/orgCascader.vue.js +29 -10
  221. package/lib/components/hyOrgCascader/style/orgCascader.scss +7 -0
  222. package/lib/components/hyRadioGroup/radioGroup.vue.js +47 -40
  223. package/lib/components/hyRadioGroup/style/radioGroup.scss +9 -0
  224. package/lib/components/hySearch/cpns/searchItem.vue.js +407 -322
  225. package/lib/components/hySearch/js/index.js +1 -4
  226. package/lib/components/hySearch/js/useAppSearch.js +5 -10
  227. package/lib/components/hySearch/search.vue.js +23 -20
  228. package/lib/components/hySearch/style/search.scss +9 -0
  229. package/lib/components/hyStatus/index.js +12 -0
  230. package/lib/components/hyStatus/status.vue.js +114 -0
  231. package/lib/components/hyStatus/style/status.scss +0 -0
  232. package/lib/components/hyTable/cpns/columnSelect.vue.js +22 -26
  233. package/lib/components/hyTable/cpns/columnSelectItem.vue.js +7 -8
  234. package/lib/components/hyTable/cpns/headerItem.vue.js +2 -2
  235. package/lib/components/hyTable/cpns/virtualTable.vue.js +41 -32
  236. package/lib/components/hyTable/js/index.js +65 -61
  237. package/lib/components/hyTable/js/search.js +25 -1
  238. package/lib/components/hyTable/js/useAppTable.js +2 -3
  239. package/lib/components/hyTable/style/table.scss +8 -0
  240. package/lib/components/hyTable/table.vue.js +67 -52
  241. package/lib/components/hyTableActionButton/tableActionButton.vue.js +13 -6
  242. package/lib/components/hyTableForm/batchTableForm.vue.js +26 -9
  243. package/lib/components/hyTableForm/js/index.js +2 -8
  244. package/lib/components/hyTableForm/js/useAppTableForm.js +3 -8
  245. package/lib/components/hyTableForm/style/batchTableForm.scss +26 -54
  246. package/lib/components/hyTableForm/style/tableForm.scss +3 -2
  247. package/lib/components/hyTableForm/tableForm.vue.js +159 -69
  248. package/lib/components/hyTimePicker/timePicker.vue.js +3 -4
  249. package/lib/components/hyTree/js/index.js +113 -72
  250. package/lib/components/hyTree/style/index.css +1 -1
  251. package/lib/components/hyTree/tree.vue.js +21 -18
  252. package/lib/components/hyUserAvatar/userAvatar.vue.js +3 -6
  253. package/lib/components/hyVideoPlayer/js/index.js +14 -23
  254. package/lib/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
  255. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +16 -26
  256. package/lib/components/index.js +46 -40
  257. package/lib/hooks/index.js +17 -0
  258. package/lib/hooks/useAudioPlayerConfig.js +1 -3
  259. package/lib/hooks/useBaseMainStore.js +32 -0
  260. package/lib/hooks/useCurrentBus.js +23 -0
  261. package/lib/hooks/useDialog.js +331 -0
  262. package/lib/hooks/useExportFile.js +135 -0
  263. package/lib/hooks/useGlobalConfig.js +10 -6
  264. package/lib/hooks/useLocale.js +25 -11
  265. package/lib/hooks/usePermissionMap.js +1 -3
  266. package/lib/hooks/useResizeHandler.js +1 -4
  267. package/lib/hooks/useResizeObserver.js +3 -1
  268. package/lib/hooks/useSubscribe.js +2 -1
  269. package/lib/hooks/useUserAvatarMap.js +1 -3
  270. package/lib/hooks/useVideoPlayerConfig.js +1 -3
  271. package/lib/index.js +107 -73
  272. package/lib/locale/{en.js → en_US.js} +79 -4
  273. package/lib/locale/index.js +3 -3
  274. package/lib/locale/zh_CN.js +79 -2
  275. package/lib/style/index.scss +0 -1
  276. package/lib/style/tailwind.scss +7 -4
  277. package/lib/utils/adaptive.js +1 -3
  278. package/lib/utils/form.js +6 -9
  279. package/lib/utils/handler.js +3 -7
  280. package/lib/utils/input.js +7 -8
  281. package/lib/utils/is.js +5 -3
  282. package/lib/utils/map/hook/bigMap.js +16 -53
  283. package/lib/utils/map/hook/gaode.js +53 -33
  284. package/lib/utils/map/hook/leafletjs.js +38 -82
  285. package/lib/utils/map/index.js +3 -9
  286. package/lib/utils/map/js/webgis.js +12 -12
  287. package/lib/version.js +1 -1
  288. package/package.json +3 -2
@@ -202,8 +202,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
202
202
  batchTableFormRef.value.submitDataSource();
203
203
  }
204
204
  }
205
+ function getIsSubmitting() {
206
+ return isSubmitting.value;
207
+ }
205
208
  __expose({
206
209
  show,
210
+ getIsSubmitting,
207
211
  getTableDataSource: () => {
208
212
  return batchTableFormRef.value.getTableDataSource();
209
213
  },
@@ -221,159 +225,187 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
221
225
  },
222
226
  setDragLevelIndex: (dragLevel) => {
223
227
  HyDialogRef.value.setDragLevelIndex(dragLevel);
228
+ },
229
+ async getOptions() {
230
+ if (batchTableFormRef.value) {
231
+ await batchTableFormRef.value.getOptions();
232
+ }
233
+ },
234
+ async getOptionsFields(keys) {
235
+ if (batchTableFormRef.value) {
236
+ await batchTableFormRef.value.getOptionsFields(keys);
237
+ }
238
+ },
239
+ async getOptionsError() {
240
+ if (batchTableFormRef.value) {
241
+ await batchTableFormRef.value.getOptionsError();
242
+ }
243
+ },
244
+ getOptionsByField(key) {
245
+ if (batchTableFormRef.value) {
246
+ return batchTableFormRef.value.getOptionsByField(key);
247
+ }
224
248
  }
225
249
  });
226
250
  return (_ctx, _cache) => {
227
- return vue.openBlock(), vue.createBlock(vue.unref(index.HyDialog), vue.mergeProps({
228
- ref_key: "HyDialogRef",
229
- ref: HyDialogRef,
230
- modelValue: visible.value,
231
- "onUpdate:modelValue": ($event) => visible.value = $event,
232
- loading: isSubmitting.value,
233
- "onUpdate:loading": ($event) => isSubmitting.value = $event,
234
- title: __props.title,
235
- width: __props.width,
236
- "dialog-type": __props.dialogType,
237
- "show-operate": true,
238
- "show-submit": false,
239
- "show-cancel": !isSubmitting.value,
240
- ifShrink: __props.ifShrink,
241
- ifDraggable: __props.ifDraggable
242
- }, _ctx.$attrs, {
243
- onOnMinimized: onMinimized,
244
- onOnDialogMousedown: onDialogMousedown
245
- }), vue.createSlots({
246
- "operate-left-box": vue.withCtx(() => [
247
- failedCount.value ? (vue.openBlock(), vue.createElementBlock("div", {
248
- key: 0,
249
- class: "flex items-center gap-1.5 text-xs text-warning"
250
- }, [
251
- vue.createVNode(vue.unref(index$4.HyIcon), {
252
- "svg-name": "dispatch-share1-prompt",
253
- class: "!w-3 !h-3"
254
- }),
255
- failedStatus.value === "validate" ? (vue.openBlock(), vue.createElementBlock(
256
- "span",
257
- { key: 0 },
258
- "\u5F53\u524D " + vue.toDisplayString(failedCount.value) + " \u6761\u5F02\u5E38\u6570\u636E\uFF0C\u70B9\u51FB\u5BFC\u5165\u5C06\u4EC5\u5BFC\u5165\u5C31\u7EEA\u6570\u636E\uFF0C\u5F02\u5E38\u6570\u636E\u5C06\u88AB\u5FFD\u7565\u3002",
259
- 1
260
- /* TEXT */
261
- )) : (vue.openBlock(), vue.createElementBlock(
262
- "span",
263
- { key: 1 },
264
- "\u5F53\u524D " + vue.toDisplayString(failedCount.value) + " \u6761\u5F02\u5E38\u6570\u636E\uFF0C\u8BF7\u4FEE\u6B63\u5185\u5BB9",
265
- 1
266
- /* TEXT */
267
- ))
268
- ])) : currentStep.value === 2 && !totalElements.value ? (vue.openBlock(), vue.createElementBlock("div", {
269
- key: 1,
270
- class: "flex items-center gap-1.5 text-xs text-warning"
271
- }, [
272
- vue.createVNode(vue.unref(index$4.HyIcon), {
273
- "svg-name": "dispatch-share1-prompt",
274
- class: "!w-3 !h-3"
275
- }),
276
- vue.createElementVNode("span", null, "\u5F53\u524D\u672A\u5BFC\u5165\u6570\u636E\uFF0C\u8BF7\u60A8\u5BFC\u5165\u6DFB\u52A0\u6570\u636E")
277
- ])) : vue.createCommentVNode("v-if", true)
278
- ]),
279
- "operate-right-box": vue.withCtx(() => [
280
- currentStep.value === 1 && !importing.value && __props.showAddBtn ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.HyButton), {
281
- key: 0,
282
- type: "primary",
283
- class: "!min-w-[120px]",
284
- onClick: onNextStep
285
- }, {
286
- default: vue.withCtx(() => [
287
- vue.createTextVNode("\u8FDB\u5165\u6DFB\u52A0")
251
+ return vue.openBlock(), vue.createElementBlock(
252
+ vue.Fragment,
253
+ null,
254
+ [
255
+ vue.createCommentVNode(' v-model:loading="isSubmitting"'),
256
+ vue.createVNode(vue.unref(index.HyDialog), vue.mergeProps({
257
+ ref_key: "HyDialogRef",
258
+ ref: HyDialogRef,
259
+ modelValue: visible.value,
260
+ "onUpdate:modelValue": ($event) => visible.value = $event,
261
+ title: __props.title,
262
+ width: __props.width,
263
+ "dialog-type": __props.dialogType,
264
+ "show-operate": true,
265
+ "show-submit": false,
266
+ "show-cancel": !isSubmitting.value,
267
+ ifShrink: __props.ifShrink,
268
+ ifDraggable: __props.ifDraggable
269
+ }, _ctx.$attrs, {
270
+ onOnMinimized: onMinimized,
271
+ onOnDialogMousedown: onDialogMousedown
272
+ }), vue.createSlots({
273
+ "operate-left-box": vue.withCtx(() => [
274
+ failedCount.value ? (vue.openBlock(), vue.createElementBlock("div", {
275
+ key: 0,
276
+ class: "flex items-center gap-1.5 text-xs text-warning"
277
+ }, [
278
+ vue.createVNode(vue.unref(index$4.HyIcon), {
279
+ "svg-name": "dispatch-share1-prompt",
280
+ class: "!w-3 !h-3"
281
+ }),
282
+ failedStatus.value === "validate" ? (vue.openBlock(), vue.createElementBlock(
283
+ "span",
284
+ { key: 0 },
285
+ "\u5F53\u524D " + vue.toDisplayString(failedCount.value) + " \u6761\u5F02\u5E38\u6570\u636E\uFF0C\u70B9\u51FB\u5BFC\u5165\u5C06\u4EC5\u5BFC\u5165\u5C31\u7EEA\u6570\u636E\uFF0C\u5F02\u5E38\u6570\u636E\u5C06\u88AB\u5FFD\u7565\u3002",
286
+ 1
287
+ /* TEXT */
288
+ )) : (vue.openBlock(), vue.createElementBlock(
289
+ "span",
290
+ { key: 1 },
291
+ "\u5F53\u524D " + vue.toDisplayString(failedCount.value) + " \u6761\u5F02\u5E38\u6570\u636E\uFF0C\u8BF7\u4FEE\u6B63\u5185\u5BB9",
292
+ 1
293
+ /* TEXT */
294
+ ))
295
+ ])) : currentStep.value === 2 && !totalElements.value ? (vue.openBlock(), vue.createElementBlock("div", {
296
+ key: 1,
297
+ class: "flex items-center gap-1.5 text-xs text-warning"
298
+ }, [
299
+ vue.createVNode(vue.unref(index$4.HyIcon), {
300
+ "svg-name": "dispatch-share1-prompt",
301
+ class: "!w-3 !h-3"
302
+ }),
303
+ vue.createElementVNode("span", null, "\u5F53\u524D\u672A\u5BFC\u5165\u6570\u636E\uFF0C\u8BF7\u60A8\u5BFC\u5165\u6DFB\u52A0\u6570\u636E")
304
+ ])) : vue.createCommentVNode("v-if", true)
288
305
  ]),
289
- _: 1
290
- /* STABLE */
291
- })) : currentStep.value === 2 ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.HyTooltip), {
292
- key: 1,
293
- disabled: !isSubmitting.value,
294
- content: "\u6570\u636E\u6B63\u5728\u5BFC\u5165\u4E2D\uFF0C\u8BF7\u7A0D\u7B49"
295
- }, {
296
- default: vue.withCtx(() => [
297
- vue.createVNode(vue.unref(index$2.HyButton), {
306
+ "operate-right-box": vue.withCtx(() => [
307
+ currentStep.value === 1 && !importing.value && __props.showAddBtn ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.HyButton), {
308
+ key: 0,
298
309
  type: "primary",
299
- loading: isSubmitting.value,
300
310
  class: "!min-w-[120px]",
301
- onClick: onSubmitHandler
311
+ onClick: onNextStep
312
+ }, {
313
+ default: vue.withCtx(() => [
314
+ vue.createTextVNode("\u8FDB\u5165\u6DFB\u52A0")
315
+ ]),
316
+ _: 1
317
+ /* STABLE */
318
+ })) : currentStep.value === 2 ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.HyTooltip), {
319
+ key: 1,
320
+ disabled: !isSubmitting.value,
321
+ content: "\u6570\u636E\u6B63\u5728\u5BFC\u5165\u4E2D\uFF0C\u8BF7\u7A0D\u7B49"
302
322
  }, {
303
323
  default: vue.withCtx(() => [
304
- vue.createTextVNode(
305
- vue.toDisplayString(isSubmitting.value ? "\u6B63\u5728\u5BFC\u5165" : "\u786E\u8BA4\u5BFC\u5165"),
306
- 1
307
- /* TEXT */
308
- )
324
+ vue.createVNode(vue.unref(index$2.HyButton), {
325
+ type: "primary",
326
+ loading: isSubmitting.value,
327
+ class: "!min-w-[120px]",
328
+ onClick: onSubmitHandler
329
+ }, {
330
+ default: vue.withCtx(() => [
331
+ vue.createTextVNode(
332
+ vue.toDisplayString(isSubmitting.value ? "\u6B63\u5728\u5BFC\u5165" : "\u786E\u8BA4\u5BFC\u5165"),
333
+ 1
334
+ /* TEXT */
335
+ )
336
+ ]),
337
+ _: 1
338
+ /* STABLE */
339
+ }, 8, ["loading"])
309
340
  ]),
310
341
  _: 1
311
342
  /* STABLE */
312
- }, 8, ["loading"])
343
+ }, 8, ["disabled"])) : vue.createCommentVNode("v-if", true)
313
344
  ]),
314
- _: 1
315
- /* STABLE */
316
- }, 8, ["disabled"])) : vue.createCommentVNode("v-if", true)
317
- ]),
318
- default: vue.withCtx(() => [
319
- vue.createElementVNode("div", { class: "flex flex-col w-full h-full" }, [
320
- vue.renderSlot(_ctx.$slots, "dialog-head-box", vue.normalizeProps(vue.guardReactiveProps({ currentStep: currentStep.value }))),
321
- vue.createElementVNode("div", { class: "flex-grow h-0" }, [
322
- visible.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.HyBatchTableForm), {
323
- key: 0,
324
- ref_key: "batchTableFormRef",
325
- ref: batchTableFormRef,
326
- step: currentStep.value,
327
- "onUpdate:step": ($event) => currentStep.value = $event,
328
- tableColumns: __props.tableColumns,
329
- formColumns: __props.formColumns,
330
- rules: __props.rules,
331
- emptyText: __props.emptyText,
332
- fontSize: __props.fontSize,
333
- rowClickExpand: __props.rowClickExpand,
334
- columnNum: __props.columnNum,
335
- size: __props.size,
336
- beforeDataHandle: __props.beforeDataHandle,
337
- beforeDataListHandle: __props.beforeDataListHandle,
338
- onExpandRowChange: __props.onExpandRowChange,
339
- "submit-handler": __props.submitHandler,
340
- showAddBtn: __props.showAddBtn,
341
- onTableDataChange: tableDataChange,
342
- onUploading: onTableUploadingHandler,
343
- onUploaded: onTableUploadedHandler,
344
- onReset: onTableResetHandler,
345
- onValidate: onTableValidateHandler,
346
- onSubmitting: onTableSubmittingHandler,
347
- onSubmit: onTableSubmitHandler,
348
- onSubmitProgress: onSubmitProgressHandler
349
- }, vue.createSlots({
350
- _: 2
351
- /* DYNAMIC */
352
- }, [
353
- vue.renderList(_ctx.$slots, (_, slotName) => {
354
- return {
355
- name: slotName,
356
- fn: vue.withCtx((scope) => [
357
- vue.renderSlot(_ctx.$slots, slotName, vue.normalizeProps(vue.guardReactiveProps(scope)))
358
- ])
359
- };
360
- })
361
- ]), 1032, ["step", "onUpdate:step", "tableColumns", "formColumns", "rules", "emptyText", "fontSize", "rowClickExpand", "columnNum", "size", "beforeDataHandle", "beforeDataListHandle", "onExpandRowChange", "submit-handler", "showAddBtn"])) : vue.createCommentVNode("v-if", true)
362
- ])
363
- ])
364
- ]),
365
- _: 2
366
- /* DYNAMIC */
367
- }, [
368
- vue.renderList(_ctx.$slots, (_, slotName) => {
369
- return {
370
- name: slotName,
371
- fn: vue.withCtx((scope) => [
372
- vue.renderSlot(_ctx.$slots, slotName, vue.normalizeProps(vue.guardReactiveProps(scope)))
373
- ])
374
- };
375
- })
376
- ]), 1040, ["modelValue", "onUpdate:modelValue", "loading", "onUpdate:loading", "title", "width", "dialog-type", "show-cancel", "ifShrink", "ifDraggable"]);
345
+ default: vue.withCtx(() => [
346
+ vue.createElementVNode("div", { class: "flex flex-col w-full h-full" }, [
347
+ vue.renderSlot(_ctx.$slots, "dialog-head-box", vue.normalizeProps(vue.guardReactiveProps({ currentStep: currentStep.value }))),
348
+ vue.createElementVNode("div", { class: "flex-grow h-0" }, [
349
+ visible.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.HyBatchTableForm), {
350
+ key: 0,
351
+ ref_key: "batchTableFormRef",
352
+ ref: batchTableFormRef,
353
+ step: currentStep.value,
354
+ "onUpdate:step": ($event) => currentStep.value = $event,
355
+ tableColumns: __props.tableColumns,
356
+ formColumns: __props.formColumns,
357
+ rules: __props.rules,
358
+ emptyText: __props.emptyText,
359
+ fontSize: __props.fontSize,
360
+ rowClickExpand: __props.rowClickExpand,
361
+ columnNum: __props.columnNum,
362
+ size: __props.size,
363
+ beforeDataHandle: __props.beforeDataHandle,
364
+ beforeDataListHandle: __props.beforeDataListHandle,
365
+ onExpandRowChange: __props.onExpandRowChange,
366
+ "submit-handler": __props.submitHandler,
367
+ showAddBtn: __props.showAddBtn,
368
+ onTableDataChange: tableDataChange,
369
+ onUploading: onTableUploadingHandler,
370
+ onUploaded: onTableUploadedHandler,
371
+ onReset: onTableResetHandler,
372
+ onValidate: onTableValidateHandler,
373
+ onSubmitting: onTableSubmittingHandler,
374
+ onSubmit: onTableSubmitHandler,
375
+ onSubmitProgress: onSubmitProgressHandler,
376
+ onOptionsStatus: _ctx.$attrs.onOptionsStatus
377
+ }, vue.createSlots({
378
+ _: 2
379
+ /* DYNAMIC */
380
+ }, [
381
+ vue.renderList(_ctx.$slots, (_, slotName) => {
382
+ return {
383
+ name: slotName,
384
+ fn: vue.withCtx((scope) => [
385
+ vue.renderSlot(_ctx.$slots, slotName, vue.normalizeProps(vue.guardReactiveProps(scope)))
386
+ ])
387
+ };
388
+ })
389
+ ]), 1032, ["step", "onUpdate:step", "tableColumns", "formColumns", "rules", "emptyText", "fontSize", "rowClickExpand", "columnNum", "size", "beforeDataHandle", "beforeDataListHandle", "onExpandRowChange", "submit-handler", "showAddBtn", "onOptionsStatus"])) : vue.createCommentVNode("v-if", true)
390
+ ])
391
+ ])
392
+ ]),
393
+ _: 2
394
+ /* DYNAMIC */
395
+ }, [
396
+ vue.renderList(_ctx.$slots, (_, slotName) => {
397
+ return {
398
+ name: slotName,
399
+ fn: vue.withCtx((scope) => [
400
+ vue.renderSlot(_ctx.$slots, slotName, vue.normalizeProps(vue.guardReactiveProps(scope)))
401
+ ])
402
+ };
403
+ })
404
+ ]), 1040, ["modelValue", "onUpdate:modelValue", "title", "width", "dialog-type", "show-cancel", "ifShrink", "ifDraggable"])
405
+ ],
406
+ 2112
407
+ /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
408
+ );
377
409
  };
378
410
  }
379
411
  });
@@ -45,6 +45,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
45
45
  // 链接按钮
46
46
  type: Boolean,
47
47
  default: false
48
+ },
49
+ isDot: {
50
+ // 是否显示小红点
51
+ type: Boolean,
52
+ default: false
48
53
  }
49
54
  },
50
55
  emits: ["click"],
@@ -79,7 +84,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
79
84
  }
80
85
  ]]
81
86
  }, _ctx.$attrs, { onClick: handleClick }), [
82
- vue.renderSlot(_ctx.$slots, "default")
87
+ vue.renderSlot(_ctx.$slots, "default"),
88
+ __props.isDot ? (vue.openBlock(), vue.createElementBlock("div", {
89
+ key: 0,
90
+ class: "w-2 h-2 absolute right-0 top-0 transform translate-x-1/2 -translate-y-1/2 rounded-full bg-danger-2 z-[2]"
91
+ })) : vue.createCommentVNode("v-if", true)
83
92
  ], 16, ["type", "disabled", "loading"])) : (vue.openBlock(), vue.createElementBlock("button", {
84
93
  key: 1,
85
94
  type: "button",
@@ -125,12 +134,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
125
134
  }, {
126
135
  default: vue.withCtx(() => [
127
136
  vue.renderSlot(_ctx.$slots, "content", {}, () => [
128
- vue.createElementVNode("div", { class: "h-full flex items-center text-main px-3" }, [
137
+ vue.createElementVNode("div", { class: "h-full flex items-center text-main px-3 box-border" }, [
129
138
  !__props.loading ? vue.renderSlot(_ctx.$slots, "svg", {}, () => [
130
139
  __props.svgName ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.HyIcon), {
131
140
  key: 0,
132
141
  "svg-name": __props.svgName,
133
- "class-name": "!w-3 !h-3 text-main mr-2"
142
+ class: "w-[14px] h-[14px] text-main mr-2"
134
143
  }, null, 8, ["svg-name"])) : vue.createCommentVNode("v-if", true)
135
144
  ], void 0, 0) : (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElIcon), {
136
145
  key: 1,
@@ -160,7 +169,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
160
169
  ],
161
170
  2
162
171
  /* CLASS */
163
- )
172
+ ),
173
+ __props.isDot ? (vue.openBlock(), vue.createElementBlock("div", {
174
+ key: 0,
175
+ class: "w-2 h-2 absolute right-0 top-0 transform translate-x-1/2 -translate-y-1/2 rounded-full bg-danger-2 z-[2]"
176
+ })) : vue.createCommentVNode("v-if", true)
164
177
  ], 10, ["disabled"]));
165
178
  };
166
179
  }