hy-dispatch-ui-v3 0.2.66 → 0.2.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/dist/tailwind.css +257 -21
  2. package/es/api/device.mjs +2 -3
  3. package/es/api/exportExcel.mjs +57 -0
  4. package/es/api/index.mjs +27 -16
  5. package/es/api/mapRail.mjs +31 -0
  6. package/es/api/organization.mjs +17 -9
  7. package/es/api/rule.mjs +30 -0
  8. package/es/api/sypct.mjs +2 -3
  9. package/es/api/task.mjs +2 -3
  10. package/es/bussiness/hyAddDepartmentType/addDepartmentType.vue.mjs +18 -19
  11. package/es/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +28 -28
  12. package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.mjs +511 -0
  13. package/es/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.mjs +169 -0
  14. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.mjs +318 -0
  15. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.mjs +123 -0
  16. package/es/bussiness/hyElectronicFence/electronicFence.vue.mjs +358 -0
  17. package/es/bussiness/hyElectronicFence/index.mjs +13 -0
  18. package/es/bussiness/hyElectronicFence/style/electronicFence.scss +0 -0
  19. package/es/bussiness/hyMapAearchPlace/js/index.mjs +1 -1
  20. package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +4 -6
  21. package/es/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
  22. package/es/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.mjs +270 -0
  23. package/es/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.mjs +251 -0
  24. package/es/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.mjs +251 -0
  25. package/es/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.mjs +395 -0
  26. package/es/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.mjs +651 -0
  27. package/es/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.mjs +357 -0
  28. package/es/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.mjs +261 -0
  29. package/es/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.mjs +360 -0
  30. package/es/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.mjs +240 -0
  31. package/es/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.mjs +258 -0
  32. package/es/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.mjs +240 -0
  33. package/es/bussiness/hyRuleSetting/index.mjs +15 -0
  34. package/es/bussiness/hyRuleSetting/js/ruleSetting.mjs +65 -0
  35. package/es/bussiness/hyRuleSetting/ruleSetting.vue.mjs +129 -0
  36. package/es/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
  37. package/es/bussiness/index.mjs +2 -0
  38. package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +5 -13
  39. package/es/components/hyAudioPlayer/js/index.mjs +9 -14
  40. package/es/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
  41. package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +174 -142
  42. package/es/components/hyButton/button.vue.mjs +18 -5
  43. package/es/components/hyButton/style/button.scss +50 -74
  44. package/es/components/hyCheckboxGroup/checkboxGroup.vue.mjs +119 -0
  45. package/es/components/hyCheckboxGroup/index.mjs +7 -0
  46. package/es/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
  47. package/es/components/hyConfigProvider/configProvider.vue.mjs +51 -38
  48. package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +57 -62
  49. package/es/components/hyConfirmDialog/confirmMethod.mjs +24 -22
  50. package/es/components/hyCutter/cutter.vue.mjs +9 -23
  51. package/es/components/hyDatePicker/datePicker.vue.mjs +12 -17
  52. package/es/components/hyDialog/dialog.vue.mjs +5 -9
  53. package/es/components/hyDialog/style/dialog.scss +12 -13
  54. package/es/components/hyDrawer/drawer.vue.mjs +100 -0
  55. package/es/components/hyDrawer/index.mjs +7 -0
  56. package/es/components/hyDrawer/style/drawer.scss +0 -0
  57. package/es/components/hyForm/cpns/arrayItem.vue.mjs +10 -28
  58. package/es/components/hyForm/cpns/arrayItem2.vue.mjs +198 -0
  59. package/es/components/hyForm/cpns/extraItem.vue.mjs +2 -3
  60. package/es/components/hyForm/cpns/formItem.vue.mjs +149 -69
  61. package/es/components/hyForm/cpns/locationSelect.vue.mjs +26 -26
  62. package/es/components/hyForm/form.vue.mjs +74 -28
  63. package/es/components/hyForm/js/index.mjs +4 -8
  64. package/es/components/hyForm/js/useAppForm.mjs +4 -9
  65. package/es/components/hyForm/style/form.scss +4 -13
  66. package/es/components/hyIcon/icon.vue.mjs +3 -3
  67. package/es/components/hyIconBox/style/iconBox.scss +2 -6
  68. package/es/components/hyInput/inputSearch.vue.mjs +8 -11
  69. package/es/components/hyInput/style/inputSearch.scss +3 -0
  70. package/es/components/hyLoading/index.mjs +3 -5
  71. package/es/components/hyMap/js/index.mjs +35 -10
  72. package/es/components/hyMap/map.vue.mjs +30 -6
  73. package/es/components/hyMenu/style/menu.scss +5 -15
  74. package/es/components/hyNoPermissions/noPermissions.vue.mjs +3 -4
  75. package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +3 -6
  76. package/es/components/hyOrgCascader/js/index.mjs +1 -5
  77. package/es/components/hyOrgCascader/orgCascader.vue.mjs +31 -12
  78. package/es/components/hyOrgCascader/style/orgCascader.scss +7 -0
  79. package/es/components/hyRadioGroup/radioGroup.vue.mjs +48 -41
  80. package/es/components/hyRadioGroup/style/radioGroup.scss +9 -0
  81. package/es/components/hySearch/cpns/searchItem.vue.mjs +409 -324
  82. package/es/components/hySearch/js/index.mjs +1 -4
  83. package/es/components/hySearch/js/useAppSearch.mjs +5 -10
  84. package/es/components/hySearch/search.vue.mjs +23 -20
  85. package/es/components/hySearch/style/search.scss +9 -0
  86. package/es/components/hyStatus/index.mjs +7 -0
  87. package/es/components/hyStatus/status.vue.mjs +110 -0
  88. package/es/components/hyStatus/style/status.scss +0 -0
  89. package/es/components/hyTable/cpns/columnSelect.vue.mjs +24 -28
  90. package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +8 -9
  91. package/es/components/hyTable/cpns/headerItem.vue.mjs +2 -2
  92. package/es/components/hyTable/cpns/virtualTable.vue.mjs +43 -34
  93. package/es/components/hyTable/js/index.mjs +67 -64
  94. package/es/components/hyTable/js/search.mjs +25 -1
  95. package/es/components/hyTable/js/useAppTable.mjs +3 -4
  96. package/es/components/hyTable/style/table.scss +8 -0
  97. package/es/components/hyTable/table.vue.mjs +68 -53
  98. package/es/components/hyTableActionButton/tableActionButton.vue.mjs +13 -6
  99. package/es/components/hyTableForm/batchTableForm.vue.mjs +26 -9
  100. package/es/components/hyTableForm/js/index.mjs +2 -8
  101. package/es/components/hyTableForm/js/useAppTableForm.mjs +3 -8
  102. package/es/components/hyTableForm/style/batchTableForm.scss +26 -54
  103. package/es/components/hyTableForm/style/tableForm.scss +3 -2
  104. package/es/components/hyTableForm/tableForm.vue.mjs +160 -70
  105. package/es/components/hyTimePicker/timePicker.vue.mjs +4 -5
  106. package/es/components/hyTree/js/index.mjs +113 -72
  107. package/es/components/hyTree/style/index.css +1 -1
  108. package/es/components/hyTree/tree.vue.mjs +21 -18
  109. package/es/components/hyUserAvatar/userAvatar.vue.mjs +3 -6
  110. package/es/components/hyVideoPlayer/js/index.mjs +14 -23
  111. package/es/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
  112. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +16 -26
  113. package/es/components/index.mjs +3 -0
  114. package/es/hooks/index.mjs +6 -2
  115. package/es/hooks/useAudioPlayerConfig.mjs +1 -3
  116. package/es/hooks/useBaseMainStore.mjs +29 -0
  117. package/es/hooks/useCurrentBus.mjs +20 -0
  118. package/es/hooks/useDialog.mjs +327 -0
  119. package/es/hooks/useExportFile.mjs +133 -0
  120. package/es/hooks/useGlobalConfig.mjs +10 -6
  121. package/es/hooks/useLocale.mjs +22 -12
  122. package/es/hooks/usePermissionMap.mjs +1 -3
  123. package/es/hooks/useResizeHandler.mjs +1 -4
  124. package/es/hooks/useResizeObserver.mjs +3 -1
  125. package/es/hooks/useSubscribe.mjs +2 -2
  126. package/es/hooks/useUserAvatarMap.mjs +1 -3
  127. package/es/hooks/useVideoPlayerConfig.mjs +1 -3
  128. package/es/index.mjs +11 -2
  129. package/es/locale/{en.mjs → en_US.mjs} +79 -4
  130. package/es/locale/index.mjs +2 -2
  131. package/es/locale/zh_CN.mjs +79 -2
  132. package/es/style/index.scss +0 -1
  133. package/es/style/tailwind.scss +7 -4
  134. package/es/utils/adaptive.mjs +1 -3
  135. package/es/utils/form.mjs +7 -10
  136. package/es/utils/handler.mjs +4 -8
  137. package/es/utils/input.mjs +8 -9
  138. package/es/utils/is.mjs +3 -1
  139. package/es/utils/map/hook/bigMap.mjs +16 -53
  140. package/es/utils/map/hook/gaode.mjs +53 -33
  141. package/es/utils/map/hook/leafletjs.mjs +38 -82
  142. package/es/utils/map/index.mjs +3 -9
  143. package/es/utils/map/js/webgis.mjs +12 -12
  144. package/es/version.mjs +1 -1
  145. package/lib/api/device.js +2 -3
  146. package/lib/api/exportExcel.js +62 -0
  147. package/lib/api/index.js +27 -16
  148. package/lib/api/mapRail.js +34 -0
  149. package/lib/api/organization.js +17 -8
  150. package/lib/api/rule.js +33 -0
  151. package/lib/api/sypct.js +2 -3
  152. package/lib/api/task.js +2 -3
  153. package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +17 -18
  154. package/lib/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +28 -28
  155. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +515 -0
  156. package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.js +173 -0
  157. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.js +322 -0
  158. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.js +127 -0
  159. package/lib/bussiness/hyElectronicFence/electronicFence.vue.js +362 -0
  160. package/lib/bussiness/hyElectronicFence/index.js +21 -0
  161. package/lib/bussiness/hyElectronicFence/style/electronicFence.scss +0 -0
  162. package/lib/bussiness/hyMapAearchPlace/js/index.js +1 -1
  163. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +4 -6
  164. package/lib/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
  165. package/lib/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.js +274 -0
  166. package/lib/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.js +255 -0
  167. package/lib/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.js +255 -0
  168. package/lib/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.js +399 -0
  169. package/lib/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.js +655 -0
  170. package/lib/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.js +361 -0
  171. package/lib/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.js +265 -0
  172. package/lib/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.js +364 -0
  173. package/lib/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.js +244 -0
  174. package/lib/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.js +262 -0
  175. package/lib/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.js +244 -0
  176. package/lib/bussiness/hyRuleSetting/index.js +24 -0
  177. package/lib/bussiness/hyRuleSetting/js/ruleSetting.js +68 -0
  178. package/lib/bussiness/hyRuleSetting/ruleSetting.vue.js +133 -0
  179. package/lib/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
  180. package/lib/bussiness/index.js +21 -10
  181. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +5 -13
  182. package/lib/components/hyAudioPlayer/js/index.js +9 -14
  183. package/lib/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
  184. package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +173 -141
  185. package/lib/components/hyButton/button.vue.js +17 -4
  186. package/lib/components/hyButton/style/button.scss +50 -74
  187. package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +123 -0
  188. package/lib/components/hyCheckboxGroup/index.js +12 -0
  189. package/lib/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
  190. package/lib/components/hyConfigProvider/configProvider.vue.js +50 -56
  191. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +56 -61
  192. package/lib/components/hyConfirmDialog/confirmMethod.js +23 -21
  193. package/lib/components/hyCutter/cutter.vue.js +8 -22
  194. package/lib/components/hyDatePicker/datePicker.vue.js +11 -16
  195. package/lib/components/hyDialog/dialog.vue.js +5 -9
  196. package/lib/components/hyDialog/style/dialog.scss +12 -13
  197. package/lib/components/hyDrawer/drawer.vue.js +104 -0
  198. package/lib/components/hyDrawer/index.js +12 -0
  199. package/lib/components/hyDrawer/style/drawer.scss +0 -0
  200. package/lib/components/hyForm/cpns/arrayItem.vue.js +9 -27
  201. package/lib/components/hyForm/cpns/arrayItem2.vue.js +202 -0
  202. package/lib/components/hyForm/cpns/extraItem.vue.js +2 -3
  203. package/lib/components/hyForm/cpns/formItem.vue.js +148 -68
  204. package/lib/components/hyForm/cpns/locationSelect.vue.js +26 -26
  205. package/lib/components/hyForm/form.vue.js +69 -23
  206. package/lib/components/hyForm/js/index.js +3 -7
  207. package/lib/components/hyForm/js/useAppForm.js +4 -9
  208. package/lib/components/hyForm/style/form.scss +4 -13
  209. package/lib/components/hyIcon/icon.vue.js +3 -3
  210. package/lib/components/hyIconBox/style/iconBox.scss +2 -6
  211. package/lib/components/hyInput/inputSearch.vue.js +7 -10
  212. package/lib/components/hyInput/style/inputSearch.scss +3 -0
  213. package/lib/components/hyLoading/index.js +2 -4
  214. package/lib/components/hyMap/js/index.js +34 -9
  215. package/lib/components/hyMap/map.vue.js +29 -5
  216. package/lib/components/hyMenu/style/menu.scss +5 -15
  217. package/lib/components/hyNoPermissions/noPermissions.vue.js +3 -4
  218. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +3 -6
  219. package/lib/components/hyOrgCascader/js/index.js +1 -5
  220. package/lib/components/hyOrgCascader/orgCascader.vue.js +29 -10
  221. package/lib/components/hyOrgCascader/style/orgCascader.scss +7 -0
  222. package/lib/components/hyRadioGroup/radioGroup.vue.js +47 -40
  223. package/lib/components/hyRadioGroup/style/radioGroup.scss +9 -0
  224. package/lib/components/hySearch/cpns/searchItem.vue.js +407 -322
  225. package/lib/components/hySearch/js/index.js +1 -4
  226. package/lib/components/hySearch/js/useAppSearch.js +5 -10
  227. package/lib/components/hySearch/search.vue.js +23 -20
  228. package/lib/components/hySearch/style/search.scss +9 -0
  229. package/lib/components/hyStatus/index.js +12 -0
  230. package/lib/components/hyStatus/status.vue.js +114 -0
  231. package/lib/components/hyStatus/style/status.scss +0 -0
  232. package/lib/components/hyTable/cpns/columnSelect.vue.js +22 -26
  233. package/lib/components/hyTable/cpns/columnSelectItem.vue.js +7 -8
  234. package/lib/components/hyTable/cpns/headerItem.vue.js +2 -2
  235. package/lib/components/hyTable/cpns/virtualTable.vue.js +41 -32
  236. package/lib/components/hyTable/js/index.js +65 -61
  237. package/lib/components/hyTable/js/search.js +25 -1
  238. package/lib/components/hyTable/js/useAppTable.js +2 -3
  239. package/lib/components/hyTable/style/table.scss +8 -0
  240. package/lib/components/hyTable/table.vue.js +67 -52
  241. package/lib/components/hyTableActionButton/tableActionButton.vue.js +13 -6
  242. package/lib/components/hyTableForm/batchTableForm.vue.js +26 -9
  243. package/lib/components/hyTableForm/js/index.js +2 -8
  244. package/lib/components/hyTableForm/js/useAppTableForm.js +3 -8
  245. package/lib/components/hyTableForm/style/batchTableForm.scss +26 -54
  246. package/lib/components/hyTableForm/style/tableForm.scss +3 -2
  247. package/lib/components/hyTableForm/tableForm.vue.js +159 -69
  248. package/lib/components/hyTimePicker/timePicker.vue.js +3 -4
  249. package/lib/components/hyTree/js/index.js +113 -72
  250. package/lib/components/hyTree/style/index.css +1 -1
  251. package/lib/components/hyTree/tree.vue.js +21 -18
  252. package/lib/components/hyUserAvatar/userAvatar.vue.js +3 -6
  253. package/lib/components/hyVideoPlayer/js/index.js +14 -23
  254. package/lib/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
  255. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +16 -26
  256. package/lib/components/index.js +46 -40
  257. package/lib/hooks/index.js +17 -0
  258. package/lib/hooks/useAudioPlayerConfig.js +1 -3
  259. package/lib/hooks/useBaseMainStore.js +32 -0
  260. package/lib/hooks/useCurrentBus.js +23 -0
  261. package/lib/hooks/useDialog.js +331 -0
  262. package/lib/hooks/useExportFile.js +135 -0
  263. package/lib/hooks/useGlobalConfig.js +10 -6
  264. package/lib/hooks/useLocale.js +25 -11
  265. package/lib/hooks/usePermissionMap.js +1 -3
  266. package/lib/hooks/useResizeHandler.js +1 -4
  267. package/lib/hooks/useResizeObserver.js +3 -1
  268. package/lib/hooks/useSubscribe.js +2 -1
  269. package/lib/hooks/useUserAvatarMap.js +1 -3
  270. package/lib/hooks/useVideoPlayerConfig.js +1 -3
  271. package/lib/index.js +107 -73
  272. package/lib/locale/{en.js → en_US.js} +79 -4
  273. package/lib/locale/index.js +3 -3
  274. package/lib/locale/zh_CN.js +79 -2
  275. package/lib/style/index.scss +0 -1
  276. package/lib/style/tailwind.scss +7 -4
  277. package/lib/utils/adaptive.js +1 -3
  278. package/lib/utils/form.js +6 -9
  279. package/lib/utils/handler.js +3 -7
  280. package/lib/utils/input.js +7 -8
  281. package/lib/utils/is.js +5 -3
  282. package/lib/utils/map/hook/bigMap.js +16 -53
  283. package/lib/utils/map/hook/gaode.js +53 -33
  284. package/lib/utils/map/hook/leafletjs.js +38 -82
  285. package/lib/utils/map/index.js +3 -9
  286. package/lib/utils/map/js/webgis.js +12 -12
  287. package/lib/version.js +1 -1
  288. package/package.json +3 -2
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;
@@ -50,7 +52,6 @@
50
52
  --tw-contain-layout: ;
51
53
  --tw-contain-paint: ;
52
54
  --tw-contain-style: ;
53
- box-sizing: border-box;
54
55
  /* 1 */
55
56
  border-width: 0;
56
57
  /* 2 */
@@ -192,14 +193,18 @@
192
193
  right: 43px !important;
193
194
  }
194
195
 
195
- .-left-1 {
196
- left: -0.25rem;
196
+ .-bottom-4 {
197
+ bottom: -1rem;
197
198
  }
198
199
 
199
200
  .-left-1\.5 {
200
201
  left: -0.375rem;
201
202
  }
202
203
 
204
+ .-right-2 {
205
+ right: -0.5rem;
206
+ }
207
+
203
208
  .bottom-0 {
204
209
  bottom: 0px;
205
210
  }
@@ -260,6 +265,10 @@
260
265
  top: 19px;
261
266
  }
262
267
 
268
+ .top-\[32px\] {
269
+ top: 32px;
270
+ }
271
+
263
272
  .z-0 {
264
273
  z-index: 0;
265
274
  }
@@ -276,10 +285,22 @@
276
285
  z-index: 1;
277
286
  }
278
287
 
288
+ .z-\[2\] {
289
+ z-index: 2;
290
+ }
291
+
279
292
  .z-\[3\] {
280
293
  z-index: 3;
281
294
  }
282
295
 
296
+ .z-\[500\] {
297
+ z-index: 500;
298
+ }
299
+
300
+ .z-\[600\] {
301
+ z-index: 600;
302
+ }
303
+
283
304
  .\!my-4 {
284
305
  margin-top: 1rem !important;
285
306
  margin-bottom: 1rem !important;
@@ -290,6 +311,11 @@
290
311
  margin-right: 0.25rem;
291
312
  }
292
313
 
314
+ .mx-2 {
315
+ margin-left: 0.5rem;
316
+ margin-right: 0.5rem;
317
+ }
318
+
293
319
  .my-0 {
294
320
  margin-top: 0px;
295
321
  margin-bottom: 0px;
@@ -305,6 +331,11 @@
305
331
  margin-bottom: 0.375rem;
306
332
  }
307
333
 
334
+ .my-2 {
335
+ margin-top: 0.5rem;
336
+ margin-bottom: 0.5rem;
337
+ }
338
+
308
339
  .\!ml-auto {
309
340
  margin-left: auto !important;
310
341
  }
@@ -361,6 +392,10 @@
361
392
  margin-left: 0.375rem;
362
393
  }
363
394
 
395
+ .ml-16 {
396
+ margin-left: 4rem;
397
+ }
398
+
364
399
  .ml-2 {
365
400
  margin-left: 0.5rem;
366
401
  }
@@ -417,6 +452,10 @@
417
452
  margin-right: 0.75rem;
418
453
  }
419
454
 
455
+ .mr-5 {
456
+ margin-right: 1.25rem;
457
+ }
458
+
420
459
  .mt-0\.5 {
421
460
  margin-top: 0.125rem;
422
461
  }
@@ -493,6 +532,11 @@
493
532
  display: none;
494
533
  }
495
534
 
535
+ .size-\[18px\] {
536
+ width: 18px;
537
+ height: 18px;
538
+ }
539
+
496
540
  .\!h-14 {
497
541
  height: 3.5rem !important;
498
542
  }
@@ -505,6 +549,10 @@
505
549
  height: 1rem !important;
506
550
  }
507
551
 
552
+ .\!h-5 {
553
+ height: 1.25rem !important;
554
+ }
555
+
508
556
  .\!h-\[12px\] {
509
557
  height: 12px !important;
510
558
  }
@@ -545,6 +593,10 @@
545
593
  height: 66px !important;
546
594
  }
547
595
 
596
+ .\!h-\[80px\] {
597
+ height: 80px !important;
598
+ }
599
+
548
600
  .h-0 {
549
601
  height: 0px;
550
602
  }
@@ -561,6 +613,14 @@
561
613
  height: 0.375rem;
562
614
  }
563
615
 
616
+ .h-12 {
617
+ height: 3rem;
618
+ }
619
+
620
+ .h-2 {
621
+ height: 0.5rem;
622
+ }
623
+
564
624
  .h-2\.5 {
565
625
  height: 0.625rem;
566
626
  }
@@ -581,16 +641,20 @@
581
641
  height: 12px;
582
642
  }
583
643
 
644
+ .h-\[14px\] {
645
+ height: 14px;
646
+ }
647
+
584
648
  .h-\[16px\] {
585
649
  height: 16px;
586
650
  }
587
651
 
588
- .h-\[22px\] {
589
- height: 22px;
652
+ .h-\[18px\] {
653
+ height: 18px;
590
654
  }
591
655
 
592
- .h-\[24px\] {
593
- height: 24px;
656
+ .h-\[22px\] {
657
+ height: 22px;
594
658
  }
595
659
 
596
660
  .h-\[26px\] {
@@ -609,6 +673,10 @@
609
673
  height: 32px;
610
674
  }
611
675
 
676
+ .h-\[34px\] {
677
+ height: 34px;
678
+ }
679
+
612
680
  .h-\[364px\] {
613
681
  height: 364px;
614
682
  }
@@ -649,6 +717,10 @@
649
717
  height: 500px;
650
718
  }
651
719
 
720
+ .h-\[52px\] {
721
+ height: 52px;
722
+ }
723
+
652
724
  .h-\[54px\] {
653
725
  height: 54px;
654
726
  }
@@ -677,6 +749,10 @@
677
749
  max-height: 100%;
678
750
  }
679
751
 
752
+ .min-h-40 {
753
+ min-height: 10rem;
754
+ }
755
+
680
756
  .min-h-6 {
681
757
  min-height: 1.5rem;
682
758
  }
@@ -717,6 +793,10 @@
717
793
  width: 1rem !important;
718
794
  }
719
795
 
796
+ .\!w-5 {
797
+ width: 1.25rem !important;
798
+ }
799
+
720
800
  .\!w-9 {
721
801
  width: 2.25rem !important;
722
802
  }
@@ -761,6 +841,10 @@
761
841
  width: 58px !important;
762
842
  }
763
843
 
844
+ .\!w-\[80px\] {
845
+ width: 80px !important;
846
+ }
847
+
764
848
  .w-0 {
765
849
  width: 0px;
766
850
  }
@@ -777,6 +861,18 @@
777
861
  width: 0.375rem;
778
862
  }
779
863
 
864
+ .w-1\/2 {
865
+ width: 50%;
866
+ }
867
+
868
+ .w-2 {
869
+ width: 0.5rem;
870
+ }
871
+
872
+ .w-2\.5 {
873
+ width: 0.625rem;
874
+ }
875
+
780
876
  .w-3 {
781
877
  width: 0.75rem;
782
878
  }
@@ -793,6 +889,10 @@
793
889
  width: 1.25rem;
794
890
  }
795
891
 
892
+ .w-\[100px\] {
893
+ width: 100px;
894
+ }
895
+
796
896
  .w-\[110px\] {
797
897
  width: 110px;
798
898
  }
@@ -801,10 +901,18 @@
801
901
  width: 12px;
802
902
  }
803
903
 
904
+ .w-\[14px\] {
905
+ width: 14px;
906
+ }
907
+
804
908
  .w-\[16px\] {
805
909
  width: 16px;
806
910
  }
807
911
 
912
+ .w-\[18px\] {
913
+ width: 18px;
914
+ }
915
+
808
916
  .w-\[1px\] {
809
917
  width: 1px;
810
918
  }
@@ -897,6 +1005,10 @@
897
1005
  flex-grow: 1;
898
1006
  }
899
1007
 
1008
+ .flex-grow-0 {
1009
+ flex-grow: 0;
1010
+ }
1011
+
900
1012
  .border-collapse {
901
1013
  border-collapse: collapse;
902
1014
  }
@@ -916,10 +1028,24 @@
916
1028
  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));
917
1029
  }
918
1030
 
1031
+ .translate-x-1\/2 {
1032
+ --tw-translate-x: 50%;
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));
1034
+ }
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
+
919
1041
  .transform {
920
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));
921
1043
  }
922
1044
 
1045
+ .\!cursor-not-allowed {
1046
+ cursor: not-allowed !important;
1047
+ }
1048
+
923
1049
  .cursor-default {
924
1050
  cursor: default;
925
1051
  }
@@ -1037,6 +1163,12 @@
1037
1163
  overflow-y: auto;
1038
1164
  }
1039
1165
 
1166
+ .truncate {
1167
+ overflow: hidden;
1168
+ text-overflow: ellipsis;
1169
+ white-space: nowrap;
1170
+ }
1171
+
1040
1172
  .whitespace-nowrap {
1041
1173
  white-space: nowrap;
1042
1174
  }
@@ -1045,10 +1177,22 @@
1045
1177
  word-break: break-all;
1046
1178
  }
1047
1179
 
1180
+ .break-keep {
1181
+ word-break: keep-all;
1182
+ }
1183
+
1184
+ .\!rounded-none {
1185
+ border-radius: 0px !important;
1186
+ }
1187
+
1048
1188
  .rounded {
1049
1189
  border-radius: 0.25rem;
1050
1190
  }
1051
1191
 
1192
+ .rounded-\[0_0_4px_4px\] {
1193
+ border-radius: 0 0 4px 4px;
1194
+ }
1195
+
1052
1196
  .rounded-\[2px\] {
1053
1197
  border-radius: 2px;
1054
1198
  }
@@ -1146,6 +1290,11 @@
1146
1290
  border-color: transparent;
1147
1291
  }
1148
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
+
1149
1298
  .\!bg-\[rgba\(var\(--hy-background\)\2c 0\.7\)\] {
1150
1299
  background-color: rgba(var(--hy-background),0.7) !important;
1151
1300
  }
@@ -1160,14 +1309,42 @@
1160
1309
  background-color: rgb(61 98 134 / var(--tw-bg-opacity, 1));
1161
1310
  }
1162
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
+
1163
1320
  .bg-\[rgba\(var\(--hy-background-4\)\2c 0\.9\)\] {
1164
1321
  background-color: rgba(var(--hy-background-4),0.9);
1165
1322
  }
1166
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
+
1167
1336
  .bg-\[rgba\(var\(--hy-theme\)\2c 0\.2\)\] {
1168
1337
  background-color: rgba(var(--hy-theme),0.2);
1169
1338
  }
1170
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
+
1171
1348
  .bg-auxiliary {
1172
1349
  --tw-bg-opacity: 1;
1173
1350
  background-color: rgb(var(--hy-auxiliary), var(--tw-bg-opacity, 1));
@@ -1222,6 +1399,11 @@
1222
1399
  background-color: rgb(var(--hy-theme), var(--tw-bg-opacity, 1));
1223
1400
  }
1224
1401
 
1402
+ .bg-warning {
1403
+ --tw-bg-opacity: 1;
1404
+ background-color: rgb(var(--hy-warning), var(--tw-bg-opacity, 1));
1405
+ }
1406
+
1225
1407
  .\!p-0 {
1226
1408
  padding: 0px !important;
1227
1409
  }
@@ -1230,6 +1412,14 @@
1230
1412
  padding: 0.25rem;
1231
1413
  }
1232
1414
 
1415
+ .p-1\.5 {
1416
+ padding: 0.375rem;
1417
+ }
1418
+
1419
+ .p-2 {
1420
+ padding: 0.5rem;
1421
+ }
1422
+
1233
1423
  .p-4 {
1234
1424
  padding: 1rem;
1235
1425
  }
@@ -1242,6 +1432,10 @@
1242
1432
  padding: 10px;
1243
1433
  }
1244
1434
 
1435
+ .p-\[10px_20px\] {
1436
+ padding: 10px 20px;
1437
+ }
1438
+
1245
1439
  .p-\[1px\] {
1246
1440
  padding: 1px;
1247
1441
  }
@@ -1331,11 +1525,21 @@
1331
1525
  padding-bottom: 0.625rem;
1332
1526
  }
1333
1527
 
1528
+ .py-3 {
1529
+ padding-top: 0.75rem;
1530
+ padding-bottom: 0.75rem;
1531
+ }
1532
+
1334
1533
  .py-4 {
1335
1534
  padding-top: 1rem;
1336
1535
  padding-bottom: 1rem;
1337
1536
  }
1338
1537
 
1538
+ .py-5 {
1539
+ padding-top: 1.25rem;
1540
+ padding-bottom: 1.25rem;
1541
+ }
1542
+
1339
1543
  .py-\[10px\] {
1340
1544
  padding-top: 10px;
1341
1545
  padding-bottom: 10px;
@@ -1349,6 +1553,14 @@
1349
1553
  padding-bottom: 0.5rem;
1350
1554
  }
1351
1555
 
1556
+ .pb-2\.5 {
1557
+ padding-bottom: 0.625rem;
1558
+ }
1559
+
1560
+ .pb-3 {
1561
+ padding-bottom: 0.75rem;
1562
+ }
1563
+
1352
1564
  .pb-4 {
1353
1565
  padding-bottom: 1rem;
1354
1566
  }
@@ -1373,6 +1585,10 @@
1373
1585
  padding-left: 1rem;
1374
1586
  }
1375
1587
 
1588
+ .pl-5 {
1589
+ padding-left: 1.25rem;
1590
+ }
1591
+
1376
1592
  .pl-\[14px\] {
1377
1593
  padding-left: 14px;
1378
1594
  }
@@ -1385,6 +1601,10 @@
1385
1601
  padding-left: 52px;
1386
1602
  }
1387
1603
 
1604
+ .pr-1 {
1605
+ padding-right: 0.25rem;
1606
+ }
1607
+
1388
1608
  .pr-2 {
1389
1609
  padding-right: 0.5rem;
1390
1610
  }
@@ -1397,6 +1617,10 @@
1397
1617
  padding-right: 0.75rem;
1398
1618
  }
1399
1619
 
1620
+ .pr-4 {
1621
+ padding-right: 1rem;
1622
+ }
1623
+
1400
1624
  .pr-\[10px\] {
1401
1625
  padding-right: 10px;
1402
1626
  }
@@ -1441,6 +1665,10 @@
1441
1665
  padding-top: 5px;
1442
1666
  }
1443
1667
 
1668
+ .pt-\[7px\] {
1669
+ padding-top: 7px;
1670
+ }
1671
+
1444
1672
  .text-center {
1445
1673
  text-align: center;
1446
1674
  }
@@ -1485,6 +1713,10 @@
1485
1713
  line-height: 1.25rem;
1486
1714
  }
1487
1715
 
1716
+ .leading-\[1\] {
1717
+ line-height: 1;
1718
+ }
1719
+
1488
1720
  .leading-\[20px\] {
1489
1721
  line-height: 20px;
1490
1722
  }
@@ -1497,6 +1729,11 @@
1497
1729
  line-height: 32px;
1498
1730
  }
1499
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
+
1500
1737
  .text-\[var\(--hy-el-text-color-disabled\)\] {
1501
1738
  color: var(--hy-el-text-color-disabled);
1502
1739
  }
@@ -1540,6 +1777,10 @@
1540
1777
  text-decoration-line: underline;
1541
1778
  }
1542
1779
 
1780
+ .opacity-90 {
1781
+ opacity: 0.9;
1782
+ }
1783
+
1543
1784
  .shadow {
1544
1785
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
1545
1786
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
@@ -1552,12 +1793,6 @@
1552
1793
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1553
1794
  }
1554
1795
 
1555
- .shadow-\[0_0_6px_0\] {
1556
- --tw-shadow: 0 0 6px 0;
1557
- --tw-shadow-colored: 0 0 6px 0 var(--tw-shadow-color);
1558
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1559
- }
1560
-
1561
1796
  .shadow-\[0px_0px_10px_2px_var\(--dangerv2\)\] {
1562
1797
  --tw-shadow: 0px 0px 10px 2px var(--dangerv2);
1563
1798
  --tw-shadow-colored: 0px 0px 10px 2px var(--tw-shadow-color);
@@ -1569,11 +1804,6 @@
1569
1804
  --tw-shadow: var(--tw-shadow-colored);
1570
1805
  }
1571
1806
 
1572
- .shadow-theme {
1573
- --tw-shadow-color: rgb(var(--hy-theme), 1);
1574
- --tw-shadow: var(--tw-shadow-colored);
1575
- }
1576
-
1577
1807
  .outline {
1578
1808
  outline-style: solid;
1579
1809
  }
@@ -1586,6 +1816,10 @@
1586
1816
  outline-offset: 0px;
1587
1817
  }
1588
1818
 
1819
+ .\!outline-danger-2 {
1820
+ outline-color: rgb(var(--hy-danger-2), 1) !important;
1821
+ }
1822
+
1589
1823
  .outline-transparent {
1590
1824
  outline-color: transparent;
1591
1825
  }
@@ -1660,11 +1894,13 @@
1660
1894
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
1661
1895
  }
1662
1896
 
1663
- html,body, #app{
1897
+ html,
1898
+ body,
1899
+ #app {
1664
1900
  width: 100%;
1665
1901
  height: 100%;
1666
1902
  position: relative;
1667
- background: rgb(var(--hy-background), var(--tw-bg-opacity, 1));
1903
+ background: rgb(var(--hy-background), var(--tw-bg-opacity, 1));
1668
1904
  }
1669
1905
 
1670
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 };