hy-dispatch-ui-v3 0.2.67 → 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 (280) 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 +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/hyButton/button.vue.mjs +2 -2
  42. package/es/components/hyButton/style/button.scss +48 -74
  43. package/es/components/hyCheckboxGroup/checkboxGroup.vue.mjs +119 -0
  44. package/es/components/hyCheckboxGroup/index.mjs +7 -0
  45. package/es/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
  46. package/es/components/hyConfigProvider/configProvider.vue.mjs +51 -38
  47. package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +57 -62
  48. package/es/components/hyConfirmDialog/confirmMethod.mjs +24 -22
  49. package/es/components/hyCutter/cutter.vue.mjs +9 -23
  50. package/es/components/hyDatePicker/datePicker.vue.mjs +12 -17
  51. package/es/components/hyDialog/dialog.vue.mjs +5 -9
  52. package/es/components/hyDialog/style/dialog.scss +12 -13
  53. package/es/components/hyDrawer/drawer.vue.mjs +100 -0
  54. package/es/components/hyDrawer/index.mjs +7 -0
  55. package/es/components/hyDrawer/style/drawer.scss +0 -0
  56. package/es/components/hyForm/cpns/arrayItem.vue.mjs +10 -28
  57. package/es/components/hyForm/cpns/arrayItem2.vue.mjs +198 -0
  58. package/es/components/hyForm/cpns/extraItem.vue.mjs +2 -3
  59. package/es/components/hyForm/cpns/formItem.vue.mjs +65 -35
  60. package/es/components/hyForm/cpns/locationSelect.vue.mjs +26 -26
  61. package/es/components/hyForm/form.vue.mjs +56 -24
  62. package/es/components/hyForm/js/index.mjs +4 -8
  63. package/es/components/hyForm/js/useAppForm.mjs +4 -9
  64. package/es/components/hyForm/style/form.scss +4 -13
  65. package/es/components/hyIcon/icon.vue.mjs +3 -3
  66. package/es/components/hyIconBox/style/iconBox.scss +2 -6
  67. package/es/components/hyInput/inputSearch.vue.mjs +8 -11
  68. package/es/components/hyInput/style/inputSearch.scss +3 -0
  69. package/es/components/hyLoading/index.mjs +3 -5
  70. package/es/components/hyMap/js/index.mjs +29 -4
  71. package/es/components/hyMap/map.vue.mjs +17 -3
  72. package/es/components/hyMenu/style/menu.scss +5 -15
  73. package/es/components/hyNoPermissions/noPermissions.vue.mjs +3 -4
  74. package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +3 -6
  75. package/es/components/hyOrgCascader/js/index.mjs +1 -5
  76. package/es/components/hyOrgCascader/orgCascader.vue.mjs +25 -11
  77. package/es/components/hyOrgCascader/style/orgCascader.scss +7 -0
  78. package/es/components/hyRadioGroup/radioGroup.vue.mjs +48 -41
  79. package/es/components/hyRadioGroup/style/radioGroup.scss +9 -0
  80. package/es/components/hySearch/cpns/searchItem.vue.mjs +33 -20
  81. package/es/components/hySearch/js/index.mjs +1 -4
  82. package/es/components/hySearch/js/useAppSearch.mjs +5 -10
  83. package/es/components/hySearch/search.vue.mjs +9 -16
  84. package/es/components/hySearch/style/search.scss +2 -0
  85. package/es/components/hyStatus/index.mjs +7 -0
  86. package/es/components/hyStatus/status.vue.mjs +110 -0
  87. package/es/components/hyStatus/style/status.scss +0 -0
  88. package/es/components/hyTable/cpns/columnSelect.vue.mjs +24 -28
  89. package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +8 -9
  90. package/es/components/hyTable/cpns/headerItem.vue.mjs +2 -2
  91. package/es/components/hyTable/cpns/virtualTable.vue.mjs +18 -28
  92. package/es/components/hyTable/js/index.mjs +56 -59
  93. package/es/components/hyTable/js/useAppTable.mjs +3 -4
  94. package/es/components/hyTable/style/table.scss +8 -0
  95. package/es/components/hyTable/table.vue.mjs +35 -41
  96. package/es/components/hyTableActionButton/tableActionButton.vue.mjs +4 -4
  97. package/es/components/hyTableForm/batchTableForm.vue.mjs +3 -7
  98. package/es/components/hyTableForm/js/index.mjs +2 -8
  99. package/es/components/hyTableForm/js/useAppTableForm.mjs +2 -7
  100. package/es/components/hyTableForm/style/batchTableForm.scss +26 -54
  101. package/es/components/hyTableForm/style/tableForm.scss +3 -2
  102. package/es/components/hyTableForm/tableForm.vue.mjs +90 -46
  103. package/es/components/hyTimePicker/timePicker.vue.mjs +4 -5
  104. package/es/components/hyTree/js/index.mjs +13 -40
  105. package/es/components/hyTree/style/index.css +1 -1
  106. package/es/components/hyTree/tree.vue.mjs +17 -16
  107. package/es/components/hyUserAvatar/userAvatar.vue.mjs +3 -6
  108. package/es/components/hyVideoPlayer/js/index.mjs +14 -23
  109. package/es/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
  110. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +16 -26
  111. package/es/components/index.mjs +3 -0
  112. package/es/hooks/index.mjs +6 -2
  113. package/es/hooks/useAudioPlayerConfig.mjs +1 -3
  114. package/es/hooks/useBaseMainStore.mjs +29 -0
  115. package/es/hooks/useCurrentBus.mjs +20 -0
  116. package/es/hooks/useDialog.mjs +327 -0
  117. package/es/hooks/useExportFile.mjs +133 -0
  118. package/es/hooks/useGlobalConfig.mjs +10 -6
  119. package/es/hooks/useLocale.mjs +22 -12
  120. package/es/hooks/usePermissionMap.mjs +1 -3
  121. package/es/hooks/useResizeHandler.mjs +1 -4
  122. package/es/hooks/useResizeObserver.mjs +3 -1
  123. package/es/hooks/useSubscribe.mjs +2 -2
  124. package/es/hooks/useUserAvatarMap.mjs +1 -3
  125. package/es/hooks/useVideoPlayerConfig.mjs +1 -3
  126. package/es/index.mjs +11 -2
  127. package/es/locale/{en.mjs → en_US.mjs} +79 -4
  128. package/es/locale/index.mjs +2 -2
  129. package/es/locale/zh_CN.mjs +79 -2
  130. package/es/style/tailwind.scss +7 -3
  131. package/es/utils/adaptive.mjs +1 -3
  132. package/es/utils/form.mjs +7 -10
  133. package/es/utils/handler.mjs +4 -8
  134. package/es/utils/input.mjs +8 -9
  135. package/es/utils/map/hook/bigMap.mjs +14 -53
  136. package/es/utils/map/hook/gaode.mjs +5 -20
  137. package/es/utils/map/hook/leafletjs.mjs +23 -79
  138. package/es/utils/map/index.mjs +2 -8
  139. package/es/utils/map/js/webgis.mjs +12 -12
  140. package/es/version.mjs +1 -1
  141. package/lib/api/device.js +2 -3
  142. package/lib/api/exportExcel.js +62 -0
  143. package/lib/api/index.js +27 -16
  144. package/lib/api/mapRail.js +34 -0
  145. package/lib/api/organization.js +17 -8
  146. package/lib/api/rule.js +33 -0
  147. package/lib/api/sypct.js +2 -3
  148. package/lib/api/task.js +2 -3
  149. package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +17 -18
  150. package/lib/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +28 -28
  151. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +515 -0
  152. package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.js +173 -0
  153. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.js +322 -0
  154. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.js +127 -0
  155. package/lib/bussiness/hyElectronicFence/electronicFence.vue.js +362 -0
  156. package/lib/bussiness/hyElectronicFence/index.js +21 -0
  157. package/lib/bussiness/hyElectronicFence/style/electronicFence.scss +0 -0
  158. package/lib/bussiness/hyMapAearchPlace/js/index.js +1 -1
  159. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +4 -6
  160. package/lib/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
  161. package/lib/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.js +274 -0
  162. package/lib/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.js +255 -0
  163. package/lib/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.js +255 -0
  164. package/lib/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.js +399 -0
  165. package/lib/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.js +655 -0
  166. package/lib/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.js +361 -0
  167. package/lib/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.js +265 -0
  168. package/lib/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.js +364 -0
  169. package/lib/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.js +244 -0
  170. package/lib/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.js +262 -0
  171. package/lib/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.js +244 -0
  172. package/lib/bussiness/hyRuleSetting/index.js +24 -0
  173. package/lib/bussiness/hyRuleSetting/js/ruleSetting.js +68 -0
  174. package/lib/bussiness/hyRuleSetting/ruleSetting.vue.js +133 -0
  175. package/lib/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
  176. package/lib/bussiness/index.js +21 -10
  177. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +5 -13
  178. package/lib/components/hyAudioPlayer/js/index.js +9 -14
  179. package/lib/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
  180. package/lib/components/hyButton/button.vue.js +2 -2
  181. package/lib/components/hyButton/style/button.scss +48 -74
  182. package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +123 -0
  183. package/lib/components/hyCheckboxGroup/index.js +12 -0
  184. package/lib/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
  185. package/lib/components/hyConfigProvider/configProvider.vue.js +50 -56
  186. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +56 -61
  187. package/lib/components/hyConfirmDialog/confirmMethod.js +23 -21
  188. package/lib/components/hyCutter/cutter.vue.js +8 -22
  189. package/lib/components/hyDatePicker/datePicker.vue.js +11 -16
  190. package/lib/components/hyDialog/dialog.vue.js +5 -9
  191. package/lib/components/hyDialog/style/dialog.scss +12 -13
  192. package/lib/components/hyDrawer/drawer.vue.js +104 -0
  193. package/lib/components/hyDrawer/index.js +12 -0
  194. package/lib/components/hyDrawer/style/drawer.scss +0 -0
  195. package/lib/components/hyForm/cpns/arrayItem.vue.js +9 -27
  196. package/lib/components/hyForm/cpns/arrayItem2.vue.js +202 -0
  197. package/lib/components/hyForm/cpns/extraItem.vue.js +2 -3
  198. package/lib/components/hyForm/cpns/formItem.vue.js +66 -36
  199. package/lib/components/hyForm/cpns/locationSelect.vue.js +26 -26
  200. package/lib/components/hyForm/form.vue.js +51 -19
  201. package/lib/components/hyForm/js/index.js +3 -7
  202. package/lib/components/hyForm/js/useAppForm.js +4 -9
  203. package/lib/components/hyForm/style/form.scss +4 -13
  204. package/lib/components/hyIcon/icon.vue.js +3 -3
  205. package/lib/components/hyIconBox/style/iconBox.scss +2 -6
  206. package/lib/components/hyInput/inputSearch.vue.js +7 -10
  207. package/lib/components/hyInput/style/inputSearch.scss +3 -0
  208. package/lib/components/hyLoading/index.js +2 -4
  209. package/lib/components/hyMap/js/index.js +29 -4
  210. package/lib/components/hyMap/map.vue.js +17 -3
  211. package/lib/components/hyMenu/style/menu.scss +5 -15
  212. package/lib/components/hyNoPermissions/noPermissions.vue.js +3 -4
  213. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +3 -6
  214. package/lib/components/hyOrgCascader/js/index.js +1 -5
  215. package/lib/components/hyOrgCascader/orgCascader.vue.js +23 -9
  216. package/lib/components/hyOrgCascader/style/orgCascader.scss +7 -0
  217. package/lib/components/hyRadioGroup/radioGroup.vue.js +47 -40
  218. package/lib/components/hyRadioGroup/style/radioGroup.scss +9 -0
  219. package/lib/components/hySearch/cpns/searchItem.vue.js +33 -20
  220. package/lib/components/hySearch/js/index.js +1 -4
  221. package/lib/components/hySearch/js/useAppSearch.js +5 -10
  222. package/lib/components/hySearch/search.vue.js +9 -16
  223. package/lib/components/hySearch/style/search.scss +2 -0
  224. package/lib/components/hyStatus/index.js +12 -0
  225. package/lib/components/hyStatus/status.vue.js +114 -0
  226. package/lib/components/hyStatus/style/status.scss +0 -0
  227. package/lib/components/hyTable/cpns/columnSelect.vue.js +22 -26
  228. package/lib/components/hyTable/cpns/columnSelectItem.vue.js +7 -8
  229. package/lib/components/hyTable/cpns/headerItem.vue.js +2 -2
  230. package/lib/components/hyTable/cpns/virtualTable.vue.js +17 -27
  231. package/lib/components/hyTable/js/index.js +54 -57
  232. package/lib/components/hyTable/js/useAppTable.js +2 -3
  233. package/lib/components/hyTable/style/table.scss +8 -0
  234. package/lib/components/hyTable/table.vue.js +35 -41
  235. package/lib/components/hyTableActionButton/tableActionButton.vue.js +4 -4
  236. package/lib/components/hyTableForm/batchTableForm.vue.js +3 -7
  237. package/lib/components/hyTableForm/js/index.js +2 -8
  238. package/lib/components/hyTableForm/js/useAppTableForm.js +2 -7
  239. package/lib/components/hyTableForm/style/batchTableForm.scss +26 -54
  240. package/lib/components/hyTableForm/style/tableForm.scss +3 -2
  241. package/lib/components/hyTableForm/tableForm.vue.js +89 -45
  242. package/lib/components/hyTimePicker/timePicker.vue.js +3 -4
  243. package/lib/components/hyTree/js/index.js +13 -40
  244. package/lib/components/hyTree/style/index.css +1 -1
  245. package/lib/components/hyTree/tree.vue.js +17 -16
  246. package/lib/components/hyUserAvatar/userAvatar.vue.js +3 -6
  247. package/lib/components/hyVideoPlayer/js/index.js +14 -23
  248. package/lib/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
  249. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +16 -26
  250. package/lib/components/index.js +46 -40
  251. package/lib/hooks/index.js +17 -0
  252. package/lib/hooks/useAudioPlayerConfig.js +1 -3
  253. package/lib/hooks/useBaseMainStore.js +32 -0
  254. package/lib/hooks/useCurrentBus.js +23 -0
  255. package/lib/hooks/useDialog.js +331 -0
  256. package/lib/hooks/useExportFile.js +135 -0
  257. package/lib/hooks/useGlobalConfig.js +10 -6
  258. package/lib/hooks/useLocale.js +25 -11
  259. package/lib/hooks/usePermissionMap.js +1 -3
  260. package/lib/hooks/useResizeHandler.js +1 -4
  261. package/lib/hooks/useResizeObserver.js +3 -1
  262. package/lib/hooks/useSubscribe.js +2 -1
  263. package/lib/hooks/useUserAvatarMap.js +1 -3
  264. package/lib/hooks/useVideoPlayerConfig.js +1 -3
  265. package/lib/index.js +107 -73
  266. package/lib/locale/{en.js → en_US.js} +79 -4
  267. package/lib/locale/index.js +3 -3
  268. package/lib/locale/zh_CN.js +79 -2
  269. package/lib/style/tailwind.scss +7 -3
  270. package/lib/utils/adaptive.js +1 -3
  271. package/lib/utils/form.js +6 -9
  272. package/lib/utils/handler.js +3 -7
  273. package/lib/utils/input.js +7 -8
  274. package/lib/utils/map/hook/bigMap.js +14 -53
  275. package/lib/utils/map/hook/gaode.js +5 -20
  276. package/lib/utils/map/hook/leafletjs.js +23 -79
  277. package/lib/utils/map/index.js +2 -8
  278. package/lib/utils/map/js/webgis.js +12 -12
  279. package/lib/version.js +1 -1
  280. package/package.json +3 -2
package/dist/tailwind.css CHANGED
@@ -1,4 +1,6 @@
1
- *, ::before, ::after {
1
+ *,
2
+ ::before,
3
+ ::after {
2
4
  --tw-border-spacing-x: 0;
3
5
  --tw-border-spacing-y: 0;
4
6
  --tw-translate-x: 0;
@@ -191,14 +193,18 @@
191
193
  right: 43px !important;
192
194
  }
193
195
 
194
- .-left-1 {
195
- left: -0.25rem;
196
+ .-bottom-4 {
197
+ bottom: -1rem;
196
198
  }
197
199
 
198
200
  .-left-1\.5 {
199
201
  left: -0.375rem;
200
202
  }
201
203
 
204
+ .-right-2 {
205
+ right: -0.5rem;
206
+ }
207
+
202
208
  .bottom-0 {
203
209
  bottom: 0px;
204
210
  }
@@ -259,6 +265,10 @@
259
265
  top: 19px;
260
266
  }
261
267
 
268
+ .top-\[32px\] {
269
+ top: 32px;
270
+ }
271
+
262
272
  .z-0 {
263
273
  z-index: 0;
264
274
  }
@@ -283,6 +293,14 @@
283
293
  z-index: 3;
284
294
  }
285
295
 
296
+ .z-\[500\] {
297
+ z-index: 500;
298
+ }
299
+
300
+ .z-\[600\] {
301
+ z-index: 600;
302
+ }
303
+
286
304
  .\!my-4 {
287
305
  margin-top: 1rem !important;
288
306
  margin-bottom: 1rem !important;
@@ -293,6 +311,11 @@
293
311
  margin-right: 0.25rem;
294
312
  }
295
313
 
314
+ .mx-2 {
315
+ margin-left: 0.5rem;
316
+ margin-right: 0.5rem;
317
+ }
318
+
296
319
  .my-0 {
297
320
  margin-top: 0px;
298
321
  margin-bottom: 0px;
@@ -308,6 +331,11 @@
308
331
  margin-bottom: 0.375rem;
309
332
  }
310
333
 
334
+ .my-2 {
335
+ margin-top: 0.5rem;
336
+ margin-bottom: 0.5rem;
337
+ }
338
+
311
339
  .\!ml-auto {
312
340
  margin-left: auto !important;
313
341
  }
@@ -364,6 +392,10 @@
364
392
  margin-left: 0.375rem;
365
393
  }
366
394
 
395
+ .ml-16 {
396
+ margin-left: 4rem;
397
+ }
398
+
367
399
  .ml-2 {
368
400
  margin-left: 0.5rem;
369
401
  }
@@ -420,6 +452,10 @@
420
452
  margin-right: 0.75rem;
421
453
  }
422
454
 
455
+ .mr-5 {
456
+ margin-right: 1.25rem;
457
+ }
458
+
423
459
  .mt-0\.5 {
424
460
  margin-top: 0.125rem;
425
461
  }
@@ -496,6 +532,11 @@
496
532
  display: none;
497
533
  }
498
534
 
535
+ .size-\[18px\] {
536
+ width: 18px;
537
+ height: 18px;
538
+ }
539
+
499
540
  .\!h-14 {
500
541
  height: 3.5rem !important;
501
542
  }
@@ -508,6 +549,10 @@
508
549
  height: 1rem !important;
509
550
  }
510
551
 
552
+ .\!h-5 {
553
+ height: 1.25rem !important;
554
+ }
555
+
511
556
  .\!h-\[12px\] {
512
557
  height: 12px !important;
513
558
  }
@@ -548,6 +593,10 @@
548
593
  height: 66px !important;
549
594
  }
550
595
 
596
+ .\!h-\[80px\] {
597
+ height: 80px !important;
598
+ }
599
+
551
600
  .h-0 {
552
601
  height: 0px;
553
602
  }
@@ -564,6 +613,10 @@
564
613
  height: 0.375rem;
565
614
  }
566
615
 
616
+ .h-12 {
617
+ height: 3rem;
618
+ }
619
+
567
620
  .h-2 {
568
621
  height: 0.5rem;
569
622
  }
@@ -588,16 +641,20 @@
588
641
  height: 12px;
589
642
  }
590
643
 
644
+ .h-\[14px\] {
645
+ height: 14px;
646
+ }
647
+
591
648
  .h-\[16px\] {
592
649
  height: 16px;
593
650
  }
594
651
 
595
- .h-\[22px\] {
596
- height: 22px;
652
+ .h-\[18px\] {
653
+ height: 18px;
597
654
  }
598
655
 
599
- .h-\[24px\] {
600
- height: 24px;
656
+ .h-\[22px\] {
657
+ height: 22px;
601
658
  }
602
659
 
603
660
  .h-\[26px\] {
@@ -616,6 +673,10 @@
616
673
  height: 32px;
617
674
  }
618
675
 
676
+ .h-\[34px\] {
677
+ height: 34px;
678
+ }
679
+
619
680
  .h-\[364px\] {
620
681
  height: 364px;
621
682
  }
@@ -656,6 +717,10 @@
656
717
  height: 500px;
657
718
  }
658
719
 
720
+ .h-\[52px\] {
721
+ height: 52px;
722
+ }
723
+
659
724
  .h-\[54px\] {
660
725
  height: 54px;
661
726
  }
@@ -684,6 +749,10 @@
684
749
  max-height: 100%;
685
750
  }
686
751
 
752
+ .min-h-40 {
753
+ min-height: 10rem;
754
+ }
755
+
687
756
  .min-h-6 {
688
757
  min-height: 1.5rem;
689
758
  }
@@ -724,6 +793,10 @@
724
793
  width: 1rem !important;
725
794
  }
726
795
 
796
+ .\!w-5 {
797
+ width: 1.25rem !important;
798
+ }
799
+
727
800
  .\!w-9 {
728
801
  width: 2.25rem !important;
729
802
  }
@@ -768,6 +841,10 @@
768
841
  width: 58px !important;
769
842
  }
770
843
 
844
+ .\!w-\[80px\] {
845
+ width: 80px !important;
846
+ }
847
+
771
848
  .w-0 {
772
849
  width: 0px;
773
850
  }
@@ -784,10 +861,18 @@
784
861
  width: 0.375rem;
785
862
  }
786
863
 
864
+ .w-1\/2 {
865
+ width: 50%;
866
+ }
867
+
787
868
  .w-2 {
788
869
  width: 0.5rem;
789
870
  }
790
871
 
872
+ .w-2\.5 {
873
+ width: 0.625rem;
874
+ }
875
+
791
876
  .w-3 {
792
877
  width: 0.75rem;
793
878
  }
@@ -804,6 +889,10 @@
804
889
  width: 1.25rem;
805
890
  }
806
891
 
892
+ .w-\[100px\] {
893
+ width: 100px;
894
+ }
895
+
807
896
  .w-\[110px\] {
808
897
  width: 110px;
809
898
  }
@@ -812,10 +901,18 @@
812
901
  width: 12px;
813
902
  }
814
903
 
904
+ .w-\[14px\] {
905
+ width: 14px;
906
+ }
907
+
815
908
  .w-\[16px\] {
816
909
  width: 16px;
817
910
  }
818
911
 
912
+ .w-\[18px\] {
913
+ width: 18px;
914
+ }
915
+
819
916
  .w-\[1px\] {
820
917
  width: 1px;
821
918
  }
@@ -908,6 +1005,10 @@
908
1005
  flex-grow: 1;
909
1006
  }
910
1007
 
1008
+ .flex-grow-0 {
1009
+ flex-grow: 0;
1010
+ }
1011
+
911
1012
  .border-collapse {
912
1013
  border-collapse: collapse;
913
1014
  }
@@ -932,10 +1033,19 @@
932
1033
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
933
1034
  }
934
1035
 
1036
+ .translate-x-full {
1037
+ --tw-translate-x: 100%;
1038
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1039
+ }
1040
+
935
1041
  .transform {
936
1042
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
937
1043
  }
938
1044
 
1045
+ .\!cursor-not-allowed {
1046
+ cursor: not-allowed !important;
1047
+ }
1048
+
939
1049
  .cursor-default {
940
1050
  cursor: default;
941
1051
  }
@@ -1053,6 +1163,12 @@
1053
1163
  overflow-y: auto;
1054
1164
  }
1055
1165
 
1166
+ .truncate {
1167
+ overflow: hidden;
1168
+ text-overflow: ellipsis;
1169
+ white-space: nowrap;
1170
+ }
1171
+
1056
1172
  .whitespace-nowrap {
1057
1173
  white-space: nowrap;
1058
1174
  }
@@ -1061,10 +1177,22 @@
1061
1177
  word-break: break-all;
1062
1178
  }
1063
1179
 
1180
+ .break-keep {
1181
+ word-break: keep-all;
1182
+ }
1183
+
1184
+ .\!rounded-none {
1185
+ border-radius: 0px !important;
1186
+ }
1187
+
1064
1188
  .rounded {
1065
1189
  border-radius: 0.25rem;
1066
1190
  }
1067
1191
 
1192
+ .rounded-\[0_0_4px_4px\] {
1193
+ border-radius: 0 0 4px 4px;
1194
+ }
1195
+
1068
1196
  .rounded-\[2px\] {
1069
1197
  border-radius: 2px;
1070
1198
  }
@@ -1162,6 +1290,11 @@
1162
1290
  border-color: transparent;
1163
1291
  }
1164
1292
 
1293
+ .border-t-border {
1294
+ --tw-border-opacity: 1;
1295
+ border-top-color: rgb(var(--hy-border), var(--tw-border-opacity, 1));
1296
+ }
1297
+
1165
1298
  .\!bg-\[rgba\(var\(--hy-background\)\2c 0\.7\)\] {
1166
1299
  background-color: rgba(var(--hy-background),0.7) !important;
1167
1300
  }
@@ -1176,14 +1309,42 @@
1176
1309
  background-color: rgb(61 98 134 / var(--tw-bg-opacity, 1));
1177
1310
  }
1178
1311
 
1312
+ .bg-\[rgba\(var\(--hy-auxiliary\)\2c 0\.28\)\] {
1313
+ background-color: rgba(var(--hy-auxiliary),0.28);
1314
+ }
1315
+
1316
+ .bg-\[rgba\(var\(--hy-background-2\)\2c 0\.9\)\] {
1317
+ background-color: rgba(var(--hy-background-2),0.9);
1318
+ }
1319
+
1179
1320
  .bg-\[rgba\(var\(--hy-background-4\)\2c 0\.9\)\] {
1180
1321
  background-color: rgba(var(--hy-background-4),0.9);
1181
1322
  }
1182
1323
 
1324
+ .bg-\[rgba\(var\(--hy-danger\)\2c 0\.28\)\] {
1325
+ background-color: rgba(var(--hy-danger),0.28);
1326
+ }
1327
+
1328
+ .bg-\[rgba\(var\(--hy-danger-2\)\2c 0\.2\)\] {
1329
+ background-color: rgba(var(--hy-danger-2),0.2);
1330
+ }
1331
+
1332
+ .bg-\[rgba\(var\(--hy-success\)\2c 0\.28\)\] {
1333
+ background-color: rgba(var(--hy-success),0.28);
1334
+ }
1335
+
1183
1336
  .bg-\[rgba\(var\(--hy-theme\)\2c 0\.2\)\] {
1184
1337
  background-color: rgba(var(--hy-theme),0.2);
1185
1338
  }
1186
1339
 
1340
+ .bg-\[rgba\(var\(--hy-theme\)\2c 0\.28\)\] {
1341
+ background-color: rgba(var(--hy-theme),0.28);
1342
+ }
1343
+
1344
+ .bg-\[rgba\(var\(--hy-warning\)\2c 0\.28\)\] {
1345
+ background-color: rgba(var(--hy-warning),0.28);
1346
+ }
1347
+
1187
1348
  .bg-auxiliary {
1188
1349
  --tw-bg-opacity: 1;
1189
1350
  background-color: rgb(var(--hy-auxiliary), var(--tw-bg-opacity, 1));
@@ -1238,6 +1399,11 @@
1238
1399
  background-color: rgb(var(--hy-theme), var(--tw-bg-opacity, 1));
1239
1400
  }
1240
1401
 
1402
+ .bg-warning {
1403
+ --tw-bg-opacity: 1;
1404
+ background-color: rgb(var(--hy-warning), var(--tw-bg-opacity, 1));
1405
+ }
1406
+
1241
1407
  .\!p-0 {
1242
1408
  padding: 0px !important;
1243
1409
  }
@@ -1246,6 +1412,14 @@
1246
1412
  padding: 0.25rem;
1247
1413
  }
1248
1414
 
1415
+ .p-1\.5 {
1416
+ padding: 0.375rem;
1417
+ }
1418
+
1419
+ .p-2 {
1420
+ padding: 0.5rem;
1421
+ }
1422
+
1249
1423
  .p-4 {
1250
1424
  padding: 1rem;
1251
1425
  }
@@ -1258,6 +1432,10 @@
1258
1432
  padding: 10px;
1259
1433
  }
1260
1434
 
1435
+ .p-\[10px_20px\] {
1436
+ padding: 10px 20px;
1437
+ }
1438
+
1261
1439
  .p-\[1px\] {
1262
1440
  padding: 1px;
1263
1441
  }
@@ -1347,11 +1525,21 @@
1347
1525
  padding-bottom: 0.625rem;
1348
1526
  }
1349
1527
 
1528
+ .py-3 {
1529
+ padding-top: 0.75rem;
1530
+ padding-bottom: 0.75rem;
1531
+ }
1532
+
1350
1533
  .py-4 {
1351
1534
  padding-top: 1rem;
1352
1535
  padding-bottom: 1rem;
1353
1536
  }
1354
1537
 
1538
+ .py-5 {
1539
+ padding-top: 1.25rem;
1540
+ padding-bottom: 1.25rem;
1541
+ }
1542
+
1355
1543
  .py-\[10px\] {
1356
1544
  padding-top: 10px;
1357
1545
  padding-bottom: 10px;
@@ -1365,6 +1553,14 @@
1365
1553
  padding-bottom: 0.5rem;
1366
1554
  }
1367
1555
 
1556
+ .pb-2\.5 {
1557
+ padding-bottom: 0.625rem;
1558
+ }
1559
+
1560
+ .pb-3 {
1561
+ padding-bottom: 0.75rem;
1562
+ }
1563
+
1368
1564
  .pb-4 {
1369
1565
  padding-bottom: 1rem;
1370
1566
  }
@@ -1389,6 +1585,10 @@
1389
1585
  padding-left: 1rem;
1390
1586
  }
1391
1587
 
1588
+ .pl-5 {
1589
+ padding-left: 1.25rem;
1590
+ }
1591
+
1392
1592
  .pl-\[14px\] {
1393
1593
  padding-left: 14px;
1394
1594
  }
@@ -1417,6 +1617,10 @@
1417
1617
  padding-right: 0.75rem;
1418
1618
  }
1419
1619
 
1620
+ .pr-4 {
1621
+ padding-right: 1rem;
1622
+ }
1623
+
1420
1624
  .pr-\[10px\] {
1421
1625
  padding-right: 10px;
1422
1626
  }
@@ -1461,6 +1665,10 @@
1461
1665
  padding-top: 5px;
1462
1666
  }
1463
1667
 
1668
+ .pt-\[7px\] {
1669
+ padding-top: 7px;
1670
+ }
1671
+
1464
1672
  .text-center {
1465
1673
  text-align: center;
1466
1674
  }
@@ -1505,6 +1713,10 @@
1505
1713
  line-height: 1.25rem;
1506
1714
  }
1507
1715
 
1716
+ .leading-\[1\] {
1717
+ line-height: 1;
1718
+ }
1719
+
1508
1720
  .leading-\[20px\] {
1509
1721
  line-height: 20px;
1510
1722
  }
@@ -1517,6 +1729,11 @@
1517
1729
  line-height: 32px;
1518
1730
  }
1519
1731
 
1732
+ .\!text-danger-2 {
1733
+ --tw-text-opacity: 1 !important;
1734
+ color: rgb(var(--hy-danger-2), var(--tw-text-opacity, 1)) !important;
1735
+ }
1736
+
1520
1737
  .text-\[var\(--hy-el-text-color-disabled\)\] {
1521
1738
  color: var(--hy-el-text-color-disabled);
1522
1739
  }
@@ -1560,6 +1777,10 @@
1560
1777
  text-decoration-line: underline;
1561
1778
  }
1562
1779
 
1780
+ .opacity-90 {
1781
+ opacity: 0.9;
1782
+ }
1783
+
1563
1784
  .shadow {
1564
1785
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
1565
1786
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
@@ -1572,12 +1793,6 @@
1572
1793
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1573
1794
  }
1574
1795
 
1575
- .shadow-\[0_0_6px_0\] {
1576
- --tw-shadow: 0 0 6px 0;
1577
- --tw-shadow-colored: 0 0 6px 0 var(--tw-shadow-color);
1578
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1579
- }
1580
-
1581
1796
  .shadow-\[0px_0px_10px_2px_var\(--dangerv2\)\] {
1582
1797
  --tw-shadow: 0px 0px 10px 2px var(--dangerv2);
1583
1798
  --tw-shadow-colored: 0px 0px 10px 2px var(--tw-shadow-color);
@@ -1589,11 +1804,6 @@
1589
1804
  --tw-shadow: var(--tw-shadow-colored);
1590
1805
  }
1591
1806
 
1592
- .shadow-theme {
1593
- --tw-shadow-color: rgb(var(--hy-theme), 1);
1594
- --tw-shadow: var(--tw-shadow-colored);
1595
- }
1596
-
1597
1807
  .outline {
1598
1808
  outline-style: solid;
1599
1809
  }
@@ -1684,11 +1894,13 @@
1684
1894
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
1685
1895
  }
1686
1896
 
1687
- html,body, #app{
1897
+ html,
1898
+ body,
1899
+ #app {
1688
1900
  width: 100%;
1689
1901
  height: 100%;
1690
1902
  position: relative;
1691
- background: rgb(var(--hy-background), var(--tw-bg-opacity, 1));
1903
+ background: rgb(var(--hy-background), var(--tw-bg-opacity, 1));
1692
1904
  }
1693
1905
 
1694
1906
  ol,
package/es/api/device.mjs CHANGED
@@ -1,17 +1,16 @@
1
1
  import '../hooks/index.mjs';
2
2
  import { unref } from 'vue';
3
- import { useLocale } from '../hooks/useLocale.mjs';
4
3
  import { useApi } from '../hooks/useApi.mjs';
4
+ import { $t } from '../hooks/useLocale.mjs';
5
5
 
6
6
  function detailApi(deviceId) {
7
7
  return new Promise((resolve, reject) => {
8
- const { t } = useLocale();
9
8
  const { api } = useApi();
10
9
  const http = unref(api);
11
10
  http.post("device/detail", { deviceId }).then((res) => {
12
11
  resolve(res);
13
12
  }).catch((res) => {
14
- reject(new Error(t("interfaceError")));
13
+ reject(new Error($t("hy")));
15
14
  });
16
15
  });
17
16
  }
@@ -0,0 +1,57 @@
1
+ import { unref } from 'vue';
2
+ import '../hooks/index.mjs';
3
+ import { useApi } from '../hooks/useApi.mjs';
4
+
5
+ function exportDailyCheckReportApi(url) {
6
+ return new Promise((resolve, reject) => {
7
+ const { api } = useApi();
8
+ const http = unref(api);
9
+ http.get(url, {
10
+ responseType: "blob"
11
+ }).then((res) => {
12
+ resolve(res);
13
+ }).catch((err) => {
14
+ reject(err);
15
+ });
16
+ });
17
+ }
18
+ function exportDailyCheckReportPostApi(url, params) {
19
+ return new Promise((resolve, reject) => {
20
+ const { api } = useApi();
21
+ const http = unref(api);
22
+ http.post(url, params, {
23
+ responseType: "blob",
24
+ isJSON: true
25
+ }).then((res) => {
26
+ resolve(res);
27
+ }).catch((err) => {
28
+ reject(err);
29
+ });
30
+ });
31
+ }
32
+ function exportDailyCheckReportPostToFormApi(url, params) {
33
+ return new Promise((resolve, reject) => {
34
+ const { api } = useApi();
35
+ const http = unref(api);
36
+ http.post(url, params, {
37
+ responseType: "blob"
38
+ }).then((res) => {
39
+ resolve(res);
40
+ }).catch((err) => {
41
+ reject(err);
42
+ });
43
+ });
44
+ }
45
+ function exportExcelFnApi(url) {
46
+ return new Promise((resolve, reject) => {
47
+ const { api } = useApi();
48
+ const http = unref(api);
49
+ http.get(url).then((res) => {
50
+ resolve(res);
51
+ }).catch((err) => {
52
+ reject(err);
53
+ });
54
+ });
55
+ }
56
+
57
+ export { exportDailyCheckReportApi, exportDailyCheckReportPostApi, exportDailyCheckReportPostToFormApi, exportExcelFnApi };