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,129 @@
1
+ import { defineComponent, ref, onMounted, openBlock, createElementBlock, createBlock, unref, withCtx, Fragment, renderList, createCommentVNode, createElementVNode, createVNode, toDisplayString } from 'vue';
2
+ import { ElTabs, ElTabPane } from 'element-plus';
3
+ import '../../hooks/index.mjs';
4
+ import '../../components/index.mjs';
5
+ import { getTabsList } from './js/ruleSetting.mjs';
6
+ import _sfc_main$1 from './cpns/missionInRule/missionInRule.vue.mjs';
7
+ import _sfc_main$2 from './cpns/missionOutRule/missionOutRule.vue.mjs';
8
+ import _sfc_main$3 from './cpns/sedentary/sedentary.vue.mjs';
9
+ import _sfc_main$4 from './cpns/timerCamera/timerCamera.vue.mjs';
10
+ import _sfc_main$5 from './cpns/timedVideo/timedVideo.vue.mjs';
11
+ import _sfc_main$6 from './cpns/timingReturn/timingReturn.vue.mjs';
12
+ import _sfc_main$7 from './cpns/gatheringPeople/gatheringPeople.vue.mjs';
13
+ import { HyIcon } from '../../components/hyIcon/index.mjs';
14
+ import { $t } from '../../hooks/useLocale.mjs';
15
+
16
+ import "./style/ruleSetting.scss";
17
+
18
+ const __default__ = defineComponent({
19
+ name: "HyRuleSetting"
20
+ });
21
+ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
22
+ props: {},
23
+ emits: ["on-add", "on-edit", "on-rule-assign", "on-set-aggregation-alarm"],
24
+ setup(__props, { expose: __expose, emit: __emit }) {
25
+ const props = __props;
26
+ const emits = __emit;
27
+ const tabList = ref([]);
28
+ const tabValue = ref(null);
29
+ function onAddRule(row) {
30
+ emits("on-add", row);
31
+ }
32
+ function onEditRule(row) {
33
+ emits("on-edit", row);
34
+ }
35
+ function onRuleAssign(row) {
36
+ emits("on-rule-assign", row);
37
+ }
38
+ function onSetAggregationAlarm() {
39
+ emits("on-set-aggregation-alarm");
40
+ }
41
+ onMounted(() => {
42
+ tabList.value = getTabsList();
43
+ tabValue.value = tabList.value.length ? tabList.value[0].permission : null;
44
+ });
45
+ __expose({});
46
+ return (_ctx, _cache) => {
47
+ return openBlock(), createElementBlock("div", { class: "w-full h-full flex flex-col" }, [
48
+ tabList.value.length ? (openBlock(), createBlock(unref(ElTabs), {
49
+ key: 0,
50
+ modelValue: tabValue.value,
51
+ "onUpdate:modelValue": ($event) => tabValue.value = $event
52
+ }, {
53
+ default: withCtx(() => [
54
+ (openBlock(true), createElementBlock(
55
+ Fragment,
56
+ null,
57
+ renderList(tabList.value, (item, index) => {
58
+ return openBlock(), createBlock(unref(ElTabPane), {
59
+ key: index,
60
+ label: item.name,
61
+ name: item.permission
62
+ }, null, 8, ["label", "name"]);
63
+ }),
64
+ 128
65
+ /* KEYED_FRAGMENT */
66
+ ))
67
+ ]),
68
+ _: 1
69
+ /* STABLE */
70
+ }, 8, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true),
71
+ createElementVNode("div", { class: "h-0 flex-1 mt-3" }, [
72
+ tabValue.value === "operator_ruleSetting_missionInRule" ? (openBlock(), createBlock(_sfc_main$1, {
73
+ key: 0,
74
+ onOnAdd: onAddRule,
75
+ onOnEdit: onEditRule,
76
+ onOnRuleAssign: onRuleAssign
77
+ })) : tabValue.value === "operator_ruleSetting_missionOutRule" ? (openBlock(), createBlock(_sfc_main$2, {
78
+ key: 1,
79
+ onOnAdd: onAddRule,
80
+ onOnEdit: onEditRule,
81
+ onOnRuleAssign: onRuleAssign
82
+ })) : tabValue.value === "operator_ruleSetting_sedentary" ? (openBlock(), createBlock(_sfc_main$3, {
83
+ key: 2,
84
+ onOnAdd: onAddRule,
85
+ onOnEdit: onEditRule,
86
+ onOnRuleAssign: onRuleAssign
87
+ })) : tabValue.value === "operator_ruleSetting_timerCamera" ? (openBlock(), createBlock(_sfc_main$4, {
88
+ key: 3,
89
+ onOnAdd: onAddRule,
90
+ onOnEdit: onEditRule,
91
+ onOnRuleAssign: onRuleAssign
92
+ })) : tabValue.value === "operator_ruleSetting_timedVideo" ? (openBlock(), createBlock(_sfc_main$5, {
93
+ key: 4,
94
+ onOnAdd: onAddRule,
95
+ onOnEdit: onEditRule,
96
+ onOnRuleAssign: onRuleAssign
97
+ })) : tabValue.value === "operator_ruleSetting_timingReturn" ? (openBlock(), createBlock(_sfc_main$6, {
98
+ key: 5,
99
+ onOnAdd: onAddRule,
100
+ onOnEdit: onEditRule,
101
+ onOnRuleAssign: onRuleAssign
102
+ })) : tabValue.value === "operator_ruleSetting_gatheringPeople" ? (openBlock(), createBlock(_sfc_main$7, {
103
+ key: 6,
104
+ onOnAdd: onAddRule,
105
+ onOnEdit: onEditRule,
106
+ onOnSetAggregationAlarm: onSetAggregationAlarm
107
+ })) : (openBlock(), createElementBlock("div", {
108
+ key: 7,
109
+ class: "w-full h-full flex flex-col items-center justify-center text-auxiliary text-xs"
110
+ }, [
111
+ createVNode(unref(HyIcon), {
112
+ "svg-name": "ops-list-no-data",
113
+ class: "!w-[42px] !h-[42px]"
114
+ }),
115
+ createElementVNode(
116
+ "div",
117
+ { class: "mt-2.5" },
118
+ toDisplayString(unref($t)("bussiness.noPermission")),
119
+ 1
120
+ /* TEXT */
121
+ )
122
+ ]))
123
+ ])
124
+ ]);
125
+ };
126
+ }
127
+ });
128
+
129
+ export { _sfc_main as default };
@@ -5,3 +5,5 @@ export { HyDeviceTree } from './hyDeviceTree/index.mjs';
5
5
  export { HyOrgGroupTree } from './hyOrgGroupTree/index.mjs';
6
6
  export { HyPlanGroupDeviceTree } from './hyPlanGroupDeviceTree/index.mjs';
7
7
  export { HyAcquisitionStationTree } from './hyAcquisitionStationTree/index.mjs';
8
+ export { HyAddElectronicFenceDialog, HyBatchSetElectronicFenceUserDialog, HyElectronicFence, HyElectronicFenceAssociatedUsersDialog } from './hyElectronicFence/index.mjs';
9
+ export { HyRuleAssignDialog, HyRuleFenceDialog, HyRuleSetting, HyRuleSettingDialog, HySetRuleAggregationAlarmDialog } from './hyRuleSetting/index.mjs';
@@ -5,8 +5,8 @@ import '../../utils/index.mjs';
5
5
  import '../index.mjs';
6
6
  import _sfc_main$1 from '../hyVideoPlayer/cpns/mediaLoading.vue.mjs';
7
7
  import { useAudioPlayer } from './js/index.mjs';
8
- import { useLocale } from '../../hooks/useLocale.mjs';
9
8
  import { useMixins } from '../../hooks/useMixins.mjs';
9
+ import { $t } from '../../hooks/useLocale.mjs';
10
10
  import { HyIcon } from '../hyIcon/index.mjs';
11
11
  import { HyTooltip } from '../hyTooltip/index.mjs';
12
12
  import { useAudioPlayerConfig } from '../../hooks/useAudioPlayerConfig.mjs';
@@ -87,18 +87,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
87
87
  type: Function
88
88
  }
89
89
  },
90
- emits: [
91
- "canplay",
92
- "timeupdate",
93
- "play-start",
94
- "play-ended",
95
- "play-previous",
96
- "play-next"
97
- ],
90
+ emits: ["canplay", "timeupdate", "play-start", "play-ended", "play-previous", "play-next"],
98
91
  setup(__props, { expose: __expose, emit: __emit }) {
99
92
  const props = __props;
100
93
  const emits = __emit;
101
- const { t } = useLocale();
102
94
  const audioWrapperRef = useTemplateRef("audioWrapperRef");
103
95
  const audioRef = useTemplateRef("audioRef");
104
96
  const {
@@ -181,7 +173,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
181
173
  createElementVNode(
182
174
  "span",
183
175
  { class: "text-xs text-theme mt-4" },
184
- "..." + toDisplayString(unref(t)("audioPlayer.audioResourcesAreLoading")) + "...",
176
+ "..." + toDisplayString(unref($t)("audioPlayer.audioResourcesAreLoading")) + "...",
185
177
  1
186
178
  /* TEXT */
187
179
  )
@@ -374,7 +366,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
374
366
  key: 0,
375
367
  isAlways: "",
376
368
  overLine: 1,
377
- content: unref(t)("audioPlayer.downloadFile")
369
+ content: unref($t)("audioPlayer.downloadFile")
378
370
  }, {
379
371
  default: withCtx(() => [
380
372
  createVNode(unref(HyIcon), {
@@ -429,7 +421,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
429
421
  createVNode(unref(HyTooltip), {
430
422
  isAlways: "",
431
423
  overLine: 1,
432
- content: unref(t)("audioPlayer.adjustPlaybackVolume")
424
+ content: unref($t)("audioPlayer.adjustPlaybackVolume")
433
425
  }, {
434
426
  default: withCtx(() => [
435
427
  createVNode(unref(HyIcon), { "svg-name": "dispatch-share-audio-volumn" })
@@ -3,13 +3,12 @@ import { ElMessage } from 'element-plus';
3
3
  import 'dayjs';
4
4
  import '../../../hooks/index.mjs';
5
5
  import '../../../utils/index.mjs';
6
- import { useLocale } from '../../../hooks/useLocale.mjs';
7
6
  import { useAudioPlayerConfig } from '../../../hooks/useAudioPlayerConfig.mjs';
7
+ import { $t } from '../../../hooks/useLocale.mjs';
8
8
  import { formatDuration } from '../../../utils/date.mjs';
9
9
 
10
10
  const useAudioPlayer = (hy) => {
11
11
  const { props, emits, audioRef } = hy;
12
- const { t } = useLocale();
13
12
  const { audioPlayerConfig } = useAudioPlayerConfig();
14
13
  const speed = ref(1);
15
14
  const playRules = ref(1);
@@ -33,17 +32,17 @@ const useAudioPlayer = (hy) => {
33
32
  const playRulesList = [
34
33
  {
35
34
  value: 1,
36
- label: t("audioPlayer.stopAfterPlayback"),
35
+ label: $t("audioPlayer.stopAfterPlayback"),
37
36
  svgName: "ops-audio-media-center-stop-playing"
38
37
  },
39
38
  {
40
39
  value: 2,
41
- label: t("audioPlayer.continuousPlayback"),
40
+ label: $t("audioPlayer.continuousPlayback"),
42
41
  svgName: "ops-audio-media-center-autoplay"
43
42
  },
44
43
  {
45
44
  value: 3,
46
- label: t("audioPlayer.loopPlayback"),
45
+ label: $t("audioPlayer.loopPlayback"),
47
46
  svgName: "ops-audio-media-center-loop-playback"
48
47
  }
49
48
  ];
@@ -52,7 +51,7 @@ const useAudioPlayer = (hy) => {
52
51
  });
53
52
  const speedLabel = computed(() => {
54
53
  if (speed.value === 1) {
55
- return t("audioPlayer.multiples");
54
+ return $t("audioPlayer.multiples");
56
55
  } else {
57
56
  return speedList.find((item) => item.value === speed.value).label;
58
57
  }
@@ -162,15 +161,13 @@ const useAudioPlayer = (hy) => {
162
161
  }
163
162
  function playPrevious() {
164
163
  if (props.type === "default") {
165
- const index = props.playList.findIndex(
166
- (item) => item.id === audioItem.value.id
167
- );
164
+ const index = props.playList.findIndex((item) => item.id === audioItem.value.id);
168
165
  if (index > 0 && index !== props.playList.length) {
169
166
  const item = props.playList[index - 1];
170
167
  playAudio(item.filePath, item);
171
168
  emits("play-previous");
172
169
  } else {
173
- ElMessage.warning(t("audioPlayer.currentIsTheFirstItem"));
170
+ ElMessage.warning($t("audioPlayer.currentIsTheFirstItem"));
174
171
  }
175
172
  } else if (isAnalyseType.value) {
176
173
  if (!isCanPlay.value) return;
@@ -179,15 +176,13 @@ const useAudioPlayer = (hy) => {
179
176
  }
180
177
  function playNext() {
181
178
  if (props.type === "default") {
182
- const index = props.playList.findIndex(
183
- (item) => item.id === audioItem.value.id
184
- );
179
+ const index = props.playList.findIndex((item) => item.id === audioItem.value.id);
185
180
  if (index !== props.playList.length - 1) {
186
181
  const item = props.playList[index + 1];
187
182
  playAudio(item.filePath, item);
188
183
  emits("play-next");
189
184
  } else {
190
- ElMessage.warning(t("audioPlayer.currentIsTheLastItem"));
185
+ ElMessage.warning($t("audioPlayer.currentIsTheLastItem"));
191
186
  }
192
187
  } else if (isAnalyseType.value) {
193
188
  if (!isCanPlay.value) return;
@@ -16,8 +16,7 @@
16
16
  background: rgba(var(--hy-background-3));
17
17
  box-shadow: rgba(var(--hy-dialog-box-shadow));
18
18
  border: 1px solid rgba(var(--hy-dialog-border));
19
- border-radius: rgba(var(--hy-dialog-border-radius))
20
- rgba(var(--hy-dialog-border-radius)) 0px 0px;
19
+ border-radius: rgba(var(--hy-dialog-border-radius)) rgba(var(--hy-dialog-border-radius)) 0px 0px;
21
20
 
22
21
  .point_area {
23
22
  text-align: center;
@@ -122,6 +121,7 @@
122
121
  padding: 0 12px 0;
123
122
  color: rgba(var(--hy-main));
124
123
  background: #040814;
124
+ box-sizing: border-box;
125
125
 
126
126
  .progress-operator {
127
127
  display: flex;
@@ -156,6 +156,7 @@
156
156
  left: 0px;
157
157
  top: 13px;
158
158
  padding: 0 12px;
159
+ box-sizing: border-box;
159
160
  }
160
161
  &:not(.progress-analyse) {
161
162
  width: 0;
@@ -231,6 +232,7 @@
231
232
  border: 1px solid rgba(var(--hy-border));
232
233
  border-radius: 4px;
233
234
  background-color: rgba(var(--hy-background-2));
235
+ box-sizing: border-box;
234
236
  }
235
237
  .hy-icon {
236
238
  width: 26px;
@@ -250,6 +252,7 @@
250
252
 
251
253
  &.operator-analyse {
252
254
  padding-top: 20px;
255
+ box-sizing: border-box;
253
256
  }
254
257
  }
255
258
 
@@ -261,12 +264,14 @@
261
264
  min-width: auto !important;
262
265
  width: 40px !important;
263
266
  padding: 16px 0;
267
+ box-sizing: border-box;
264
268
  }
265
269
 
266
270
  .hy-audio-player-popover-speed {
267
271
  min-width: auto !important;
268
272
  width: 62px !important;
269
273
  padding: 0px !important;
274
+ box-sizing: border-box;
270
275
  .speed-list {
271
276
  width: 100%;
272
277
  color: rgba(var(--hy-auxiliary));
@@ -130,12 +130,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
130
130
  }, {
131
131
  default: withCtx(() => [
132
132
  renderSlot(_ctx.$slots, "content", {}, () => [
133
- createElementVNode("div", { class: "h-full flex items-center text-main px-3" }, [
133
+ createElementVNode("div", { class: "h-full flex items-center text-main px-3 box-border" }, [
134
134
  !__props.loading ? renderSlot(_ctx.$slots, "svg", {}, () => [
135
135
  __props.svgName ? (openBlock(), createBlock(unref(HyIcon), {
136
136
  key: 0,
137
137
  "svg-name": __props.svgName,
138
- "class-name": "!w-3 !h-3 text-main mr-2"
138
+ class: "w-[14px] h-[14px] text-main mr-2"
139
139
  }, null, 8, ["svg-name"])) : createCommentVNode("v-if", true)
140
140
  ], void 0, 0) : (openBlock(), createBlock(unref(ElIcon), {
141
141
  key: 1,