hy-dispatch-ui-v3 0.2.67 → 0.2.69

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 (282) hide show
  1. package/dist/tailwind.css +232 -20
  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 +178 -0
  14. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.mjs +316 -0
  15. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.mjs +119 -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/hyElectronicFence/style/electronicFenceAssociatedUsersDialog.scss +25 -0
  20. package/es/bussiness/hyMapAearchPlace/js/index.mjs +1 -1
  21. package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +4 -6
  22. package/es/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
  23. package/es/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.mjs +270 -0
  24. package/es/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.mjs +251 -0
  25. package/es/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.mjs +251 -0
  26. package/es/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.mjs +395 -0
  27. package/es/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.mjs +651 -0
  28. package/es/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.mjs +357 -0
  29. package/es/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.mjs +261 -0
  30. package/es/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.mjs +360 -0
  31. package/es/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.mjs +240 -0
  32. package/es/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.mjs +258 -0
  33. package/es/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.mjs +240 -0
  34. package/es/bussiness/hyRuleSetting/index.mjs +15 -0
  35. package/es/bussiness/hyRuleSetting/js/ruleSetting.mjs +65 -0
  36. package/es/bussiness/hyRuleSetting/ruleSetting.vue.mjs +129 -0
  37. package/es/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
  38. package/es/bussiness/index.mjs +2 -0
  39. package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +5 -13
  40. package/es/components/hyAudioPlayer/js/index.mjs +9 -14
  41. package/es/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
  42. package/es/components/hyButton/button.vue.mjs +2 -2
  43. package/es/components/hyButton/style/button.scss +48 -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 +75 -37
  61. package/es/components/hyForm/cpns/locationSelect.vue.mjs +26 -26
  62. package/es/components/hyForm/form.vue.mjs +58 -24
  63. package/es/components/hyForm/js/index.mjs +4 -8
  64. package/es/components/hyForm/js/useAppForm.mjs +5 -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 +29 -4
  72. package/es/components/hyMap/map.vue.mjs +17 -3
  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 +25 -11
  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 +33 -20
  82. package/es/components/hySearch/js/index.mjs +1 -4
  83. package/es/components/hySearch/js/useAppSearch.mjs +6 -10
  84. package/es/components/hySearch/search.vue.mjs +9 -16
  85. package/es/components/hySearch/style/search.scss +2 -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 +18 -28
  93. package/es/components/hyTable/js/index.mjs +56 -59
  94. package/es/components/hyTable/js/useAppTable.mjs +3 -4
  95. package/es/components/hyTable/style/table.scss +8 -0
  96. package/es/components/hyTable/table.vue.mjs +35 -41
  97. package/es/components/hyTableActionButton/tableActionButton.vue.mjs +4 -4
  98. package/es/components/hyTableForm/batchTableForm.vue.mjs +3 -7
  99. package/es/components/hyTableForm/js/index.mjs +3 -11
  100. package/es/components/hyTableForm/js/useAppTableForm.mjs +2 -7
  101. package/es/components/hyTableForm/style/batchTableForm.scss +26 -54
  102. package/es/components/hyTableForm/style/tableForm.scss +3 -2
  103. package/es/components/hyTableForm/tableForm.vue.mjs +90 -46
  104. package/es/components/hyTimePicker/timePicker.vue.mjs +4 -5
  105. package/es/components/hyTree/js/index.mjs +13 -40
  106. package/es/components/hyTree/style/index.css +1 -1
  107. package/es/components/hyTree/tree.vue.mjs +17 -16
  108. package/es/components/hyUserAvatar/userAvatar.vue.mjs +3 -6
  109. package/es/components/hyVideoPlayer/js/index.mjs +14 -23
  110. package/es/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
  111. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +16 -26
  112. package/es/components/index.mjs +3 -0
  113. package/es/hooks/index.mjs +6 -2
  114. package/es/hooks/useAudioPlayerConfig.mjs +1 -3
  115. package/es/hooks/useBaseMainStore.mjs +29 -0
  116. package/es/hooks/useCurrentBus.mjs +20 -0
  117. package/es/hooks/useDialog.mjs +327 -0
  118. package/es/hooks/useExportFile.mjs +133 -0
  119. package/es/hooks/useGlobalConfig.mjs +10 -6
  120. package/es/hooks/useLocale.mjs +22 -12
  121. package/es/hooks/usePermissionMap.mjs +1 -3
  122. package/es/hooks/useResizeHandler.mjs +1 -4
  123. package/es/hooks/useResizeObserver.mjs +3 -1
  124. package/es/hooks/useSubscribe.mjs +2 -2
  125. package/es/hooks/useUserAvatarMap.mjs +1 -3
  126. package/es/hooks/useVideoPlayerConfig.mjs +1 -3
  127. package/es/index.mjs +11 -2
  128. package/es/locale/{en.mjs → en_US.mjs} +81 -5
  129. package/es/locale/index.mjs +2 -2
  130. package/es/locale/zh_CN.mjs +81 -3
  131. package/es/style/tailwind.scss +7 -3
  132. package/es/utils/adaptive.mjs +1 -3
  133. package/es/utils/form.mjs +19 -12
  134. package/es/utils/handler.mjs +4 -8
  135. package/es/utils/input.mjs +8 -9
  136. package/es/utils/map/hook/bigMap.mjs +14 -53
  137. package/es/utils/map/hook/gaode.mjs +5 -20
  138. package/es/utils/map/hook/leafletjs.mjs +23 -79
  139. package/es/utils/map/index.mjs +2 -8
  140. package/es/utils/map/js/webgis.mjs +12 -12
  141. package/es/version.mjs +1 -1
  142. package/lib/api/device.js +2 -3
  143. package/lib/api/exportExcel.js +62 -0
  144. package/lib/api/index.js +27 -16
  145. package/lib/api/mapRail.js +34 -0
  146. package/lib/api/organization.js +17 -8
  147. package/lib/api/rule.js +33 -0
  148. package/lib/api/sypct.js +2 -3
  149. package/lib/api/task.js +2 -3
  150. package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +17 -18
  151. package/lib/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +28 -28
  152. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +515 -0
  153. package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.js +182 -0
  154. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.js +320 -0
  155. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.js +123 -0
  156. package/lib/bussiness/hyElectronicFence/electronicFence.vue.js +362 -0
  157. package/lib/bussiness/hyElectronicFence/index.js +21 -0
  158. package/lib/bussiness/hyElectronicFence/style/electronicFence.scss +0 -0
  159. package/lib/bussiness/hyElectronicFence/style/electronicFenceAssociatedUsersDialog.scss +25 -0
  160. package/lib/bussiness/hyMapAearchPlace/js/index.js +1 -1
  161. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +4 -6
  162. package/lib/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
  163. package/lib/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.js +274 -0
  164. package/lib/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.js +255 -0
  165. package/lib/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.js +255 -0
  166. package/lib/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.js +399 -0
  167. package/lib/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.js +655 -0
  168. package/lib/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.js +361 -0
  169. package/lib/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.js +265 -0
  170. package/lib/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.js +364 -0
  171. package/lib/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.js +244 -0
  172. package/lib/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.js +262 -0
  173. package/lib/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.js +244 -0
  174. package/lib/bussiness/hyRuleSetting/index.js +24 -0
  175. package/lib/bussiness/hyRuleSetting/js/ruleSetting.js +68 -0
  176. package/lib/bussiness/hyRuleSetting/ruleSetting.vue.js +133 -0
  177. package/lib/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
  178. package/lib/bussiness/index.js +21 -10
  179. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +5 -13
  180. package/lib/components/hyAudioPlayer/js/index.js +9 -14
  181. package/lib/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
  182. package/lib/components/hyButton/button.vue.js +2 -2
  183. package/lib/components/hyButton/style/button.scss +48 -74
  184. package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +123 -0
  185. package/lib/components/hyCheckboxGroup/index.js +12 -0
  186. package/lib/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
  187. package/lib/components/hyConfigProvider/configProvider.vue.js +50 -56
  188. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +56 -61
  189. package/lib/components/hyConfirmDialog/confirmMethod.js +23 -21
  190. package/lib/components/hyCutter/cutter.vue.js +8 -22
  191. package/lib/components/hyDatePicker/datePicker.vue.js +11 -16
  192. package/lib/components/hyDialog/dialog.vue.js +5 -9
  193. package/lib/components/hyDialog/style/dialog.scss +12 -13
  194. package/lib/components/hyDrawer/drawer.vue.js +104 -0
  195. package/lib/components/hyDrawer/index.js +12 -0
  196. package/lib/components/hyDrawer/style/drawer.scss +0 -0
  197. package/lib/components/hyForm/cpns/arrayItem.vue.js +9 -27
  198. package/lib/components/hyForm/cpns/arrayItem2.vue.js +202 -0
  199. package/lib/components/hyForm/cpns/extraItem.vue.js +2 -3
  200. package/lib/components/hyForm/cpns/formItem.vue.js +76 -38
  201. package/lib/components/hyForm/cpns/locationSelect.vue.js +26 -26
  202. package/lib/components/hyForm/form.vue.js +53 -19
  203. package/lib/components/hyForm/js/index.js +3 -7
  204. package/lib/components/hyForm/js/useAppForm.js +5 -9
  205. package/lib/components/hyForm/style/form.scss +4 -13
  206. package/lib/components/hyIcon/icon.vue.js +3 -3
  207. package/lib/components/hyIconBox/style/iconBox.scss +2 -6
  208. package/lib/components/hyInput/inputSearch.vue.js +7 -10
  209. package/lib/components/hyInput/style/inputSearch.scss +3 -0
  210. package/lib/components/hyLoading/index.js +2 -4
  211. package/lib/components/hyMap/js/index.js +29 -4
  212. package/lib/components/hyMap/map.vue.js +17 -3
  213. package/lib/components/hyMenu/style/menu.scss +5 -15
  214. package/lib/components/hyNoPermissions/noPermissions.vue.js +3 -4
  215. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +3 -6
  216. package/lib/components/hyOrgCascader/js/index.js +1 -5
  217. package/lib/components/hyOrgCascader/orgCascader.vue.js +23 -9
  218. package/lib/components/hyOrgCascader/style/orgCascader.scss +7 -0
  219. package/lib/components/hyRadioGroup/radioGroup.vue.js +47 -40
  220. package/lib/components/hyRadioGroup/style/radioGroup.scss +9 -0
  221. package/lib/components/hySearch/cpns/searchItem.vue.js +33 -20
  222. package/lib/components/hySearch/js/index.js +1 -4
  223. package/lib/components/hySearch/js/useAppSearch.js +6 -10
  224. package/lib/components/hySearch/search.vue.js +9 -16
  225. package/lib/components/hySearch/style/search.scss +2 -0
  226. package/lib/components/hyStatus/index.js +12 -0
  227. package/lib/components/hyStatus/status.vue.js +114 -0
  228. package/lib/components/hyStatus/style/status.scss +0 -0
  229. package/lib/components/hyTable/cpns/columnSelect.vue.js +22 -26
  230. package/lib/components/hyTable/cpns/columnSelectItem.vue.js +7 -8
  231. package/lib/components/hyTable/cpns/headerItem.vue.js +2 -2
  232. package/lib/components/hyTable/cpns/virtualTable.vue.js +17 -27
  233. package/lib/components/hyTable/js/index.js +54 -57
  234. package/lib/components/hyTable/js/useAppTable.js +2 -3
  235. package/lib/components/hyTable/style/table.scss +8 -0
  236. package/lib/components/hyTable/table.vue.js +35 -41
  237. package/lib/components/hyTableActionButton/tableActionButton.vue.js +4 -4
  238. package/lib/components/hyTableForm/batchTableForm.vue.js +3 -7
  239. package/lib/components/hyTableForm/js/index.js +3 -11
  240. package/lib/components/hyTableForm/js/useAppTableForm.js +2 -7
  241. package/lib/components/hyTableForm/style/batchTableForm.scss +26 -54
  242. package/lib/components/hyTableForm/style/tableForm.scss +3 -2
  243. package/lib/components/hyTableForm/tableForm.vue.js +89 -45
  244. package/lib/components/hyTimePicker/timePicker.vue.js +3 -4
  245. package/lib/components/hyTree/js/index.js +13 -40
  246. package/lib/components/hyTree/style/index.css +1 -1
  247. package/lib/components/hyTree/tree.vue.js +17 -16
  248. package/lib/components/hyUserAvatar/userAvatar.vue.js +3 -6
  249. package/lib/components/hyVideoPlayer/js/index.js +14 -23
  250. package/lib/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
  251. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +16 -26
  252. package/lib/components/index.js +46 -40
  253. package/lib/hooks/index.js +17 -0
  254. package/lib/hooks/useAudioPlayerConfig.js +1 -3
  255. package/lib/hooks/useBaseMainStore.js +32 -0
  256. package/lib/hooks/useCurrentBus.js +23 -0
  257. package/lib/hooks/useDialog.js +331 -0
  258. package/lib/hooks/useExportFile.js +135 -0
  259. package/lib/hooks/useGlobalConfig.js +10 -6
  260. package/lib/hooks/useLocale.js +25 -11
  261. package/lib/hooks/usePermissionMap.js +1 -3
  262. package/lib/hooks/useResizeHandler.js +1 -4
  263. package/lib/hooks/useResizeObserver.js +3 -1
  264. package/lib/hooks/useSubscribe.js +2 -1
  265. package/lib/hooks/useUserAvatarMap.js +1 -3
  266. package/lib/hooks/useVideoPlayerConfig.js +1 -3
  267. package/lib/index.js +107 -73
  268. package/lib/locale/{en.js → en_US.js} +81 -5
  269. package/lib/locale/index.js +3 -3
  270. package/lib/locale/zh_CN.js +81 -3
  271. package/lib/style/tailwind.scss +7 -3
  272. package/lib/utils/adaptive.js +1 -3
  273. package/lib/utils/form.js +17 -10
  274. package/lib/utils/handler.js +3 -7
  275. package/lib/utils/input.js +7 -8
  276. package/lib/utils/map/hook/bigMap.js +14 -53
  277. package/lib/utils/map/hook/gaode.js +5 -20
  278. package/lib/utils/map/hook/leafletjs.js +23 -79
  279. package/lib/utils/map/index.js +2 -8
  280. package/lib/utils/map/js/webgis.js +12 -12
  281. package/lib/version.js +1 -1
  282. package/package.json +3 -2
@@ -0,0 +1,655 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var elementPlus = require('element-plus');
7
+ var index = require('../../../../api/index.js');
8
+ require('../../../../hooks/index.js');
9
+ require('../../../../components/index.js');
10
+ var useAppForm = require('../../../../components/hyForm/js/useAppForm.js');
11
+ var useLocale = require('../../../../hooks/useLocale.js');
12
+ var useAppSearch = require('../../../../components/hySearch/js/useAppSearch.js');
13
+ var useAppTable = require('../../../../components/hyTable/js/useAppTable.js');
14
+ var useMixins = require('../../../../hooks/useMixins.js');
15
+ var useDialog = require('../../../../hooks/useDialog.js');
16
+ var index$1 = require('../../../../components/hyDialog/index.js');
17
+ var index$2 = require('../../../../components/hyForm/index.js');
18
+ var index$3 = require('../../../../components/hyInput/index.js');
19
+ var index$4 = require('../../../../components/hyIcon/index.js');
20
+ var index$5 = require('../../../../components/hySearch/index.js');
21
+ var index$6 = require('../../../../components/hyTable/index.js');
22
+ var index$7 = require('../../../../components/hyButton/index.js');
23
+ var index$8 = require('../../../../components/hyTooltip/index.js');
24
+
25
+ const _sfc_main = {
26
+ __name: "ruleFenceDialog",
27
+ props: {
28
+ ifDraggable: {
29
+ type: Boolean,
30
+ default: false
31
+ },
32
+ ifShrink: {
33
+ type: Boolean,
34
+ default: false
35
+ }
36
+ },
37
+ emits: ["onSubmit"],
38
+ setup(__props, { expose: __expose, emit: __emit }) {
39
+ const props = __props;
40
+ const emits = __emit;
41
+ const useRuleFenceDialog = (hy) => {
42
+ const { emits: emits2 } = hy;
43
+ const HyDialogRef = vue.useTemplateRef("HyDialogRef");
44
+ const dialogVisible2 = vue.ref(false);
45
+ const loading2 = vue.ref(false);
46
+ const title2 = vue.computed(() => {
47
+ switch (hy.formModel.value.type) {
48
+ case 1:
49
+ return isAdd.value ? "\u6DFB\u52A0\u7981\u5165\u89C4\u5219" : "\u7F16\u8F91\u7981\u5165\u89C4\u5219";
50
+ case 2:
51
+ return isAdd.value ? "\u6DFB\u52A0\u7981\u51FA\u89C4\u5219" : "\u7F16\u8F91\u7981\u51FA\u89C4\u5219";
52
+ case 3:
53
+ return isAdd.value ? "\u6DFB\u52A0\u9759\u9ED8\u8BBE\u7F6E" : "\u7F16\u8F91\u9759\u9ED8\u8BBE\u7F6E";
54
+ case 4:
55
+ return isAdd.value ? "\u6DFB\u52A0\u5B9A\u65F6\u62CD\u7167" : "\u7F16\u8F91\u5B9A\u65F6\u62CD\u7167";
56
+ case 5:
57
+ return isAdd.value ? "\u6DFB\u52A0\u5B9A\u65F6\u5F55\u50CF" : "\u7F16\u8F91\u5B9A\u65F6\u5F55\u50CF";
58
+ case 6:
59
+ return isAdd.value ? "\u6DFB\u52A0\u5B9A\u65F6\u56DE\u4F20" : "\u7F16\u8F91\u5B9A\u65F6\u56DE\u4F20";
60
+ case 7:
61
+ return isAdd.value ? "\u6DFB\u52A0\u805A\u96C6\u89C4\u5219" : "\u7F16\u8F91\u805A\u96C6\u89C4\u5219";
62
+ }
63
+ return "\u6DFB\u52A0\u89C4\u5219";
64
+ });
65
+ const isAdd = vue.computed(() => !hy.formModel.value.id);
66
+ const { formModel: formModel2, formColumns: formColumns2 } = useAppForm.useAppForm(
67
+ [
68
+ {
69
+ type: "input",
70
+ prop: "ruleName",
71
+ label: "\u89C4\u5219\u540D\u79F0",
72
+ required: true,
73
+ attrs: {
74
+ clearable: true
75
+ }
76
+ },
77
+ {
78
+ type: "input",
79
+ prop: "stopHour",
80
+ label: "\u505C\u7559\u65F6\u95F4\uFF08\u5206\u949F\uFF09",
81
+ required: true,
82
+ show: (column, model) => {
83
+ return model.type === 3;
84
+ },
85
+ attrs: {
86
+ type: "number",
87
+ min: 0
88
+ }
89
+ },
90
+ {
91
+ type: "input",
92
+ prop: "gatherLimit",
93
+ label: "\u4EBA\u5458\u95F4\u9694\u9608\u503C",
94
+ slot: "gatherLimit",
95
+ required: true,
96
+ show: (column, model) => {
97
+ return model.type === 7;
98
+ },
99
+ attrs: {
100
+ type: "number",
101
+ min: 0
102
+ }
103
+ },
104
+ {
105
+ type: "radio-group",
106
+ prop: "ruleDateType",
107
+ label: "\u89C4\u5219\u6267\u884C\u65E5\u671F",
108
+ required: true,
109
+ rules: [
110
+ {
111
+ validator: (rule, value, callback) => {
112
+ if (value === 2) {
113
+ if (!hy.formModel.value.weekDate.length) {
114
+ callback(new Error("\u8BF7\u9009\u62E9\u6307\u5B9A\u661F\u671F"));
115
+ return;
116
+ }
117
+ }
118
+ callback();
119
+ },
120
+ trigger: ["change", "blur"]
121
+ }
122
+ ],
123
+ attrs: {
124
+ options: [
125
+ { label: "\u6BCF\u65E5", value: 1 },
126
+ { label: "\u6307\u5B9A\u661F\u671F", value: 2 },
127
+ { label: "\u6307\u5B9A\u65E5\u671F", value: 4 }
128
+ ]
129
+ }
130
+ },
131
+ {
132
+ type: "checkbox-group",
133
+ prop: "weekDate",
134
+ label: "\u9009\u62E9\u89E6\u53D1\u7684\u661F\u671F",
135
+ required: true,
136
+ show: (column, model) => model.ruleDateType === 2,
137
+ attrs: {
138
+ options: [
139
+ { label: useLocale.$t("hy.monday"), value: "1" },
140
+ { label: useLocale.$t("hy.tuesday"), value: "2" },
141
+ { label: useLocale.$t("hy.wednesday"), value: "3" },
142
+ { label: useLocale.$t("hy.thursday"), value: "4" },
143
+ { label: useLocale.$t("hy.friday"), value: "5" },
144
+ { label: useLocale.$t("hy.saturday"), value: "6" },
145
+ { label: useLocale.$t("hy.sunday"), value: "7" }
146
+ ]
147
+ }
148
+ },
149
+ {
150
+ type: "date-picker",
151
+ prop: ["apStartDtm", "apEndDtm"],
152
+ label: "\u6307\u5B9A\u65E5\u671F\u8303\u56F4",
153
+ required: true,
154
+ timeRangeFill: true,
155
+ show: (column, model) => {
156
+ return model.ruleDateType === 4;
157
+ },
158
+ attrs: {
159
+ type: "daterange",
160
+ isRange: true,
161
+ timeRangeFill: true,
162
+ clearable: true
163
+ }
164
+ },
165
+ {
166
+ type: "time-picker",
167
+ prop: ["startDtm1", "endDtm1"],
168
+ label: "\u89C4\u5219\u751F\u6548\u65F6\u95F4",
169
+ required: true,
170
+ attrs: {
171
+ isRange: true,
172
+ clearable: true
173
+ }
174
+ }
175
+ ],
176
+ {
177
+ type: 1,
178
+ mapRailId: null
179
+ }
180
+ );
181
+ const { filterModel: filterModel2, filterColumns: filterColumns2 } = useAppSearch.useAppSearch(
182
+ [
183
+ {
184
+ type: "org-cascader",
185
+ prop: "orgId",
186
+ required: true,
187
+ width: 200
188
+ },
189
+ {
190
+ type: "select",
191
+ prop: "showChildOrg",
192
+ label: "\u6570\u636E",
193
+ defaultValue: 0,
194
+ width: 200,
195
+ attrs: {
196
+ options: [
197
+ { label: "\u4EC5\u5C55\u793A\u672C\u7EA7\u90E8\u95E8\u6570\u636E", value: 0 },
198
+ { label: "\u5C55\u793A\u672C\u7EA7\u5305\u62EC\u4E0B\u7EA7\u6570\u636E", value: 1 }
199
+ ],
200
+ clearable: false
201
+ }
202
+ }
203
+ ],
204
+ {
205
+ page: 0,
206
+ size: 1e4
207
+ }
208
+ );
209
+ const { tableColumns: tableColumns2 } = useAppTable.useAppTable({
210
+ columns: [
211
+ {
212
+ prop: "railName",
213
+ label: "\u7535\u5B50\u56F4\u680F\u540D\u79F0",
214
+ slot: "railName"
215
+ },
216
+ {
217
+ prop: "operator",
218
+ label: "\u64CD\u4F5C",
219
+ slot: "operator",
220
+ width: 110
221
+ }
222
+ ]
223
+ });
224
+ const rules2 = vue.ref({});
225
+ async function show2(data) {
226
+ if (hy.loading.value) {
227
+ elementPlus.ElMessage.error("\u6570\u636E\u52A0\u8F7D\u4E2D\uFF0C\u8BF7\u52FF\u91CD\u590D\u70B9\u51FB");
228
+ return;
229
+ }
230
+ await hy.watchPause();
231
+ hy.loading.value = true;
232
+ if (data && data.id) {
233
+ try {
234
+ const res = await index.selectApi("rule", data.id);
235
+ if (res.code === 200) {
236
+ const data2 = res.data || {};
237
+ hy.formModel.value = {
238
+ ...data2,
239
+ ruleDateType: data2.ruleDateType || 1,
240
+ weekDate: data2.weekDate ? data2.weekDate.split(",") : []
241
+ };
242
+ }
243
+ } catch (err) {
244
+ console.error(err);
245
+ }
246
+ } else {
247
+ hy.formModel.value = {
248
+ ruleName: null,
249
+ stopHour: null,
250
+ gatherLimit: null,
251
+ ruleDateType: 1,
252
+ apStartDtm: null,
253
+ apEndDtm: null,
254
+ startDtm1: null,
255
+ endDtm1: null,
256
+ weekDate: [],
257
+ mapRailId: null,
258
+ ...data || {}
259
+ };
260
+ }
261
+ hy.setDragLevelIndex("HyDialogRef");
262
+ hy.dialogVisible.value = true;
263
+ hy.filterModel.value = {
264
+ orgId: null,
265
+ showChildOrg: 0,
266
+ query: null,
267
+ page: 0,
268
+ size: 1e4
269
+ };
270
+ hy.getMapRail();
271
+ await vue.nextTick();
272
+ hy.formRef.value.clearValidate();
273
+ hy.loading.value = false;
274
+ hy.watchResume();
275
+ }
276
+ async function onSubmit2() {
277
+ await hy.formRef.value.validate();
278
+ const form = { ...hy.formModel.value };
279
+ if (hy.formModel.value.type !== 3 && !form.mapRailId) {
280
+ elementPlus.ElMessage.error("\u8BF7\u9009\u62E9\u7535\u5B50\u56F4\u680F");
281
+ return Promise.reject();
282
+ }
283
+ if (form.ruleDateType === 2) {
284
+ form.weekDate = form.weekDate.join(",");
285
+ form.apStartDtm = null;
286
+ form.apEndDtm = null;
287
+ } else if (form.ruleDateType === 4) {
288
+ form.weekDate = null;
289
+ } else {
290
+ form.weekDate = null;
291
+ form.apStartDtm = null;
292
+ form.apEndDtm = null;
293
+ }
294
+ const res = await index.saveApi("rule", form);
295
+ if (res.code === 200) {
296
+ elementPlus.ElMessage.success("\u64CD\u4F5C\u6210\u529F");
297
+ emits2("onSubmit", form.id ? null : 1);
298
+ } else {
299
+ return Promise.reject();
300
+ }
301
+ }
302
+ const formRef2 = vue.useTemplateRef("formRef");
303
+ function setWeekDate2(week) {
304
+ const index = hy.formModel.value.weekDate?.indexOf(week);
305
+ if (index === -1) {
306
+ hy.formModel.value.weekDate.push(week);
307
+ } else {
308
+ hy.formModel.value.weekDate.splice(index, 1);
309
+ }
310
+ hy.formRef.value.validate(["ruleDateType"]);
311
+ }
312
+ const tableRef2 = vue.useTemplateRef("tableRef");
313
+ const mapRailMap2 = vue.ref({});
314
+ const tableLoading2 = vue.ref(false);
315
+ function getMapRail2() {
316
+ hy.tableLoading.value = true;
317
+ index.pageApi("mapRail", hy.filterModel.value).then(async (res) => {
318
+ const data = res.data || [];
319
+ await vue.nextTick();
320
+ hy.tableRef.value.setData(data.content);
321
+ hy.mapRailMap.value = (data.content || []).reduce((obj, item) => {
322
+ obj[item.id] = item.railName;
323
+ return obj;
324
+ }, {});
325
+ }).finally(() => {
326
+ hy.tableLoading.value = false;
327
+ });
328
+ }
329
+ function setMapRail2(item) {
330
+ if (hy.formModel.value.mapRailId === item.id) {
331
+ hy.formModel.value.mapRailId = null;
332
+ } else {
333
+ hy.formModel.value.mapRailId = item.id;
334
+ }
335
+ }
336
+ return {
337
+ HyDialogRef,
338
+ dialogVisible: dialogVisible2,
339
+ loading: loading2,
340
+ title: title2,
341
+ isAdd,
342
+ formModel: formModel2,
343
+ formColumns: formColumns2,
344
+ filterModel: filterModel2,
345
+ filterColumns: filterColumns2,
346
+ tableColumns: tableColumns2,
347
+ rules: rules2,
348
+ show: show2,
349
+ onSubmit: onSubmit2,
350
+ formRef: formRef2,
351
+ setWeekDate: setWeekDate2,
352
+ tableRef: tableRef2,
353
+ mapRailMap: mapRailMap2,
354
+ tableLoading: tableLoading2,
355
+ getMapRail: getMapRail2,
356
+ setMapRail: setMapRail2
357
+ };
358
+ };
359
+ const {
360
+ onMinimized,
361
+ setDragLevelIndex,
362
+ dialogVisible,
363
+ loading,
364
+ title,
365
+ formModel,
366
+ formColumns,
367
+ filterModel,
368
+ filterColumns,
369
+ tableColumns,
370
+ rules,
371
+ show,
372
+ onSubmit,
373
+ formRef,
374
+ setWeekDate,
375
+ tableRef,
376
+ mapRailMap,
377
+ tableLoading,
378
+ getMapRail,
379
+ setMapRail
380
+ } = useMixins.useMixins(
381
+ {
382
+ emits
383
+ },
384
+ [useDialog.useDialog, useDialog.useDialogIsEdit, useRuleFenceDialog]
385
+ );
386
+ __expose({
387
+ show,
388
+ setDragLevelIndex
389
+ });
390
+ return (_ctx, _cache) => {
391
+ return vue.openBlock(), vue.createBlock(vue.unref(index$1.HyDialog), {
392
+ ref: "HyDialogRef",
393
+ modelValue: vue.unref(dialogVisible),
394
+ "onUpdate:modelValue": ($event) => vue.isRef(dialogVisible) ? dialogVisible.value = $event : null,
395
+ loading: vue.unref(loading),
396
+ "onUpdate:loading": ($event) => vue.isRef(loading) ? loading.value = $event : null,
397
+ title: vue.unref(title),
398
+ width: "1000",
399
+ "dialog-type": "right",
400
+ "show-operate": true,
401
+ "if-draggable": __props.ifDraggable,
402
+ "if-shrink": __props.ifShrink,
403
+ "on-submit": vue.unref(onSubmit),
404
+ onOnMinimized: vue.unref(onMinimized),
405
+ onOnDialogMousedown: ($event) => vue.unref(setDragLevelIndex)("HyDialogRef")
406
+ }, {
407
+ default: vue.withCtx(() => [
408
+ vue.createElementVNode("div", { class: "w-full h-full flex gap-1" }, [
409
+ vue.createElementVNode("div", { class: "w-1/2 h-full flex flex-col" }, [
410
+ vue.createElementVNode("div", { class: "text-xs text-auxiliary font-bold mb-1" }, "\u89C4\u5219\u57FA\u7840\u4FE1\u606F"),
411
+ vue.createElementVNode("div", {
412
+ class: "w-full h-0 flex-1 bg-background border border-border rounded p-4 box-border",
413
+ style: { "box-shadow": "0px 2px 4px 0px rgba(0, 0, 0, 0.5),\n inset 0px 0px 10px 0px #1f4b77" }
414
+ }, [
415
+ vue.createVNode(vue.unref(index$2.HyForm), {
416
+ ref_key: "formRef",
417
+ ref: formRef,
418
+ model: vue.unref(formModel),
419
+ columns: vue.unref(formColumns),
420
+ rules: vue.unref(rules),
421
+ "column-num": 1
422
+ }, {
423
+ gatherLimit: vue.withCtx(({ column }) => [
424
+ vue.createVNode(vue.unref(index$3.HyInput), vue.mergeProps({
425
+ modelValue: vue.unref(formModel).gatherLimit,
426
+ "onUpdate:modelValue": ($event) => vue.unref(formModel).gatherLimit = $event
427
+ }, column.attrs), {
428
+ suffix: vue.withCtx(() => [
429
+ vue.createElementVNode("span", { class: "text-main" }, "\u7C73")
430
+ ]),
431
+ _: 1
432
+ /* STABLE */
433
+ }, 16, ["modelValue", "onUpdate:modelValue"])
434
+ ]),
435
+ _: 1
436
+ /* STABLE */
437
+ }, 8, ["model", "columns", "rules"]),
438
+ vue.unref(formModel).type !== 3 ? (vue.openBlock(), vue.createElementBlock("div", {
439
+ key: 0,
440
+ class: "flex items-center gap-2 text-sm text-auxiliary px-2"
441
+ }, [
442
+ vue.createCommentVNode(" \u9759\u9ED8\u89C4\u5219\u7684\u5E94\u7528\u533A\u57DF\u4E0D\u5FC5\u586B "),
443
+ vue.createVNode(vue.unref(index$4.HyIcon), {
444
+ "svg-name": "dispatch-share1-prompt",
445
+ class: "!w-3 !h-3"
446
+ }),
447
+ vue.createElementVNode("span", null, "\u586B\u5199\u5B8C\u6210\u540E\u8BF7\u5728\u53F3\u4FA7\u9009\u62E9\u5E94\u7528\u7684\u533A\u57DF")
448
+ ])) : vue.createCommentVNode("v-if", true)
449
+ ])
450
+ ]),
451
+ vue.createElementVNode("div", { class: "w-1/2 h-full flex flex-col" }, [
452
+ vue.createElementVNode("div", { class: "text-xs text-auxiliary font-bold mb-1" }, "\u9009\u62E9\u56F4\u680F\u533A\u57DF"),
453
+ vue.createElementVNode("div", {
454
+ class: "w-full h-0 flex-1 flex flex-col bg-background border border-border rounded p-1.5 box-border",
455
+ style: { "box-shadow": "0px 2px 4px 0px rgba(0, 0, 0, 0.5),\n inset 0px 0px 10px 0px #1f4b77" }
456
+ }, [
457
+ vue.createVNode(vue.unref(index$5.HySearch), {
458
+ model: vue.unref(filterModel),
459
+ columns: vue.unref(filterColumns),
460
+ disabled: vue.unref(tableLoading),
461
+ onSearch: vue.unref(getMapRail)
462
+ }, null, 8, ["model", "columns", "disabled", "onSearch"]),
463
+ vue.createElementVNode("div", { class: "my-2" }, [
464
+ vue.createVNode(vue.unref(index$3.HyInputSearch), {
465
+ modelValue: vue.unref(filterModel).query,
466
+ "onUpdate:modelValue": ($event) => vue.unref(filterModel).query = $event,
467
+ placeholder: "\u641C\u7D22\u7535\u5B50\u56F4\u680F\u540D\u79F0\u3001\u521B\u5EFA\u4EBA\u5458\u540D\u79F0",
468
+ disabled: vue.unref(tableLoading),
469
+ onSearch: vue.unref(getMapRail)
470
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "onSearch"])
471
+ ]),
472
+ vue.createVNode(vue.unref(index$6.HyTable), {
473
+ ref_key: "tableRef",
474
+ ref: tableRef,
475
+ loading: vue.unref(tableLoading),
476
+ "onUpdate:loading": ($event) => vue.isRef(tableLoading) ? tableLoading.value = $event : null,
477
+ "row-key": "id",
478
+ type: "virtual",
479
+ "table-columns": vue.unref(tableColumns),
480
+ "show-editable": false,
481
+ "default-get-data": false,
482
+ "show-operate": false,
483
+ "show-pagination": false,
484
+ class: "h-0 flex-1"
485
+ }, {
486
+ railName: vue.withCtx(({ row }) => [
487
+ vue.createElementVNode("div", { class: "w-full flex items-center" }, [
488
+ vue.createVNode(vue.unref(index$8.HyTooltip), {
489
+ "is-always": false,
490
+ class: "text-sm text-main truncate",
491
+ content: row.railName
492
+ }, null, 8, ["content"]),
493
+ vue.createVNode(
494
+ vue.unref(index$8.HyTooltip),
495
+ { "show-after": 300 },
496
+ {
497
+ content: vue.withCtx(() => [
498
+ vue.createElementVNode("div", { class: "flex flex-col gap-1 text-xs text-main" }, [
499
+ vue.createElementVNode("div", null, [
500
+ vue.createElementVNode(
501
+ "span",
502
+ { class: "text-auxiliary font-bold" },
503
+ vue.toDisplayString(vue.unref(useLocale.$t)("ruleSetting.railName")) + "\uFF1A",
504
+ 1
505
+ /* TEXT */
506
+ ),
507
+ vue.createElementVNode(
508
+ "span",
509
+ null,
510
+ vue.toDisplayString(row.railName),
511
+ 1
512
+ /* TEXT */
513
+ )
514
+ ]),
515
+ vue.createElementVNode("div", null, [
516
+ vue.createElementVNode(
517
+ "span",
518
+ { class: "text-auxiliary font-bold" },
519
+ vue.toDisplayString(vue.unref(useLocale.$t)("bussiness.department")) + "\uFF1A",
520
+ 1
521
+ /* TEXT */
522
+ ),
523
+ vue.createElementVNode(
524
+ "span",
525
+ null,
526
+ vue.toDisplayString(row.orgName),
527
+ 1
528
+ /* TEXT */
529
+ )
530
+ ]),
531
+ vue.createElementVNode("div", null, [
532
+ vue.createElementVNode(
533
+ "span",
534
+ { class: "text-auxiliary font-bold" },
535
+ vue.toDisplayString(vue.unref(useLocale.$t)("bussiness.creator")) + "\uFF1A",
536
+ 1
537
+ /* TEXT */
538
+ ),
539
+ vue.createElementVNode(
540
+ "span",
541
+ null,
542
+ vue.toDisplayString(row.createUser),
543
+ 1
544
+ /* TEXT */
545
+ )
546
+ ]),
547
+ vue.createElementVNode("div", null, [
548
+ vue.createElementVNode(
549
+ "span",
550
+ { class: "text-auxiliary font-bold" },
551
+ vue.toDisplayString(vue.unref(useLocale.$t)("bussiness.creationTime")) + "\uFF1A",
552
+ 1
553
+ /* TEXT */
554
+ ),
555
+ vue.createElementVNode(
556
+ "span",
557
+ null,
558
+ vue.toDisplayString(row.createDtm),
559
+ 1
560
+ /* TEXT */
561
+ )
562
+ ])
563
+ ])
564
+ ]),
565
+ default: vue.withCtx(() => [
566
+ vue.createElementVNode("div", { class: "flex-shrink-0 flex items-center ml-2" }, [
567
+ vue.createVNode(vue.unref(index$4.HyIcon), {
568
+ "svg-name": "dispatch-linear-v3-task-management-details",
569
+ class: "!w-3 !h-3 text-theme mr-1"
570
+ }),
571
+ vue.createElementVNode("span", { class: "text-xs text-theme whitespace-nowrap" }, vue.toDisplayString("\u8BE6\u60C5"))
572
+ ])
573
+ ]),
574
+ _: 2
575
+ /* DYNAMIC */
576
+ },
577
+ 1024
578
+ /* DYNAMIC_SLOTS */
579
+ )
580
+ ])
581
+ ]),
582
+ operator: vue.withCtx(({ row }) => [
583
+ vue.createElementVNode("div", { class: "py-1 w-full" }, [
584
+ vue.unref(formModel).mapRailId === row.id ? (vue.openBlock(), vue.createBlock(vue.unref(index$7.HyButton), {
585
+ key: 0,
586
+ type: "danger",
587
+ onClick: ($event) => vue.unref(setMapRail)(row)
588
+ }, {
589
+ default: vue.withCtx(() => [
590
+ vue.createTextVNode("\u53D6\u6D88\u9009\u62E9")
591
+ ]),
592
+ _: 1
593
+ /* STABLE */
594
+ }, 8, ["onClick"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$7.HyButton), {
595
+ key: 1,
596
+ type: "default",
597
+ onClick: ($event) => vue.unref(setMapRail)(row)
598
+ }, {
599
+ default: vue.withCtx(() => [
600
+ vue.createTextVNode("\u70B9\u51FB\u9009\u62E9")
601
+ ]),
602
+ _: 1
603
+ /* STABLE */
604
+ }, 8, ["onClick"]))
605
+ ])
606
+ ]),
607
+ _: 1
608
+ /* STABLE */
609
+ }, 8, ["loading", "onUpdate:loading", "table-columns"]),
610
+ vue.unref(formModel).mapRailId ? (vue.openBlock(), vue.createElementBlock("div", {
611
+ key: 0,
612
+ class: "w-full h-[48px] bg-background-3 rounded-[0_0_4px_4px] flex items-center justify-between gap-2 box-border px-3"
613
+ }, [
614
+ vue.createElementVNode("div", { class: "w-0 flex-1 text-sm flex items-center" }, [
615
+ vue.createElementVNode("span", { class: "flex-shrink-0" }, "\u5DF2\u9009\u62E9\uFF1A"),
616
+ vue.createVNode(vue.unref(index$8.HyTooltip), {
617
+ "is-always": false,
618
+ content: vue.unref(mapRailMap)[vue.unref(formModel).mapRailId]
619
+ }, {
620
+ default: vue.withCtx(() => [
621
+ vue.createElementVNode(
622
+ "span",
623
+ { class: "text-theme font-bold" },
624
+ vue.toDisplayString(vue.unref(mapRailMap)[vue.unref(formModel).mapRailId]),
625
+ 1
626
+ /* TEXT */
627
+ )
628
+ ]),
629
+ _: 1
630
+ /* STABLE */
631
+ }, 8, ["content"])
632
+ ]),
633
+ vue.createVNode(vue.unref(index$7.HyButton), {
634
+ type: "default",
635
+ onClick: ($event) => vue.unref(setMapRail)({ id: vue.unref(formModel).mapRailId })
636
+ }, {
637
+ default: vue.withCtx(() => [
638
+ vue.createTextVNode("\u53D6\u6D88")
639
+ ]),
640
+ _: 1
641
+ /* STABLE */
642
+ }, 8, ["onClick"])
643
+ ])) : vue.createCommentVNode("v-if", true)
644
+ ])
645
+ ])
646
+ ])
647
+ ]),
648
+ _: 1
649
+ /* STABLE */
650
+ }, 8, ["modelValue", "onUpdate:modelValue", "loading", "onUpdate:loading", "title", "if-draggable", "if-shrink", "on-submit", "onOnMinimized", "onOnDialogMousedown"]);
651
+ };
652
+ }
653
+ };
654
+
655
+ exports.default = _sfc_main;