hy-dispatch-ui-v3 0.2.86 → 0.2.88

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 (201) hide show
  1. package/dist/tailwind.css +196 -4
  2. package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
  3. package/es/bussiness/hyAcquisitionStationTree/acquisitionStationTree.vue.mjs +1 -0
  4. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.mjs +1 -0
  5. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.mjs +1 -0
  6. package/es/bussiness/hyDeviceTree/deviceTree.vue.mjs +1 -0
  7. package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.mjs +1 -0
  8. package/es/bussiness/hyDisplayQueryAddress/locale/en_US.mjs +3 -3
  9. package/es/bussiness/hyDisplayQueryAddress/locale/zh_CN.mjs +3 -3
  10. package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.mjs +1 -0
  11. package/es/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.mjs +7 -1
  12. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.mjs +1 -0
  13. package/es/bussiness/hyElectronicFence/electronicFence.vue.mjs +7 -1
  14. package/es/bussiness/hyFilePlayback/locale/en_US.mjs +17 -17
  15. package/es/bussiness/hyFilePlayback/locale/zh_CN.mjs +17 -17
  16. package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +1 -0
  17. package/es/bussiness/hyOrgGroupTree/orgGroupTree.vue.mjs +1 -0
  18. package/es/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.vue.mjs +1 -0
  19. package/es/bussiness/hyRuleSetting/ruleSetting.vue.mjs +1 -0
  20. package/es/bussiness/hySelectDeviceTree/cpns/deviceItem.vue.mjs +3 -3
  21. package/es/bussiness/hySelectDeviceTree/selectDeviceTree.vue.mjs +2 -8
  22. package/es/bussiness/hyUserTree/userTree.vue.mjs +1 -0
  23. package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +9 -1
  24. package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +1 -0
  25. package/es/components/hyButton/button.vue.mjs +1 -0
  26. package/es/components/hyCheckboxGroup/checkboxGroup.vue.mjs +1 -0
  27. package/es/components/hyConfigProvider/configProvider.vue.mjs +36 -35
  28. package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +1 -0
  29. package/es/components/hyCutter/cutter.vue.mjs +10 -1
  30. package/es/components/hyDatePicker/datePicker.vue.mjs +1 -0
  31. package/es/components/hyDialog/dialog.vue.mjs +1 -0
  32. package/es/components/hyDrawer/drawer.vue.mjs +1 -0
  33. package/es/components/hyForm/cpns/formItem.vue.mjs +15 -11
  34. package/es/components/hyForm/form.vue.mjs +2 -3
  35. package/es/components/hyIcon/icon.vue.mjs +1 -0
  36. package/es/components/hyIconBox/iconBox.vue.mjs +1 -0
  37. package/es/components/hyInput/input.vue.mjs +1 -0
  38. package/es/components/hyInput/inputSearch.vue.mjs +1 -0
  39. package/es/components/hyKindEditor/kindEditor.vue.mjs +17 -4
  40. package/es/components/hyMenu/menu.vue.mjs +1 -0
  41. package/es/components/hyNoPermissions/noPermissions.vue.mjs +1 -0
  42. package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +1 -0
  43. package/es/components/hyOrgCascader/js/index.mjs +0 -1
  44. package/es/components/hyOrgCascader/orgCascader.vue.mjs +1 -0
  45. package/es/components/hyRadioGroup/radioGroup.vue.mjs +4 -1
  46. package/es/components/hySearch/cpns/searchItem.vue.mjs +3 -1
  47. package/es/components/hySearch/search.vue.mjs +5 -1
  48. package/es/components/hyStatus/status.vue.mjs +1 -0
  49. package/es/components/hyTable/cpns/columnSelect.vue.mjs +5 -1
  50. package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +1 -1
  51. package/es/components/hyTable/cpns/virtualTable.vue.mjs +11 -2
  52. package/es/components/hyTable/js/index.mjs +7 -2
  53. package/es/components/hyTable/table.vue.mjs +5 -1
  54. package/es/components/hyTableActionButton/tableActionButton.vue.mjs +1 -0
  55. package/es/components/hyTableForm/batchTableForm.vue.mjs +6 -3
  56. package/es/components/hyTableForm/tableForm.vue.mjs +1 -0
  57. package/es/components/hyTimePicker/timePicker.vue.mjs +1 -0
  58. package/es/components/hyTooltip/tooltip.vue.mjs +1 -0
  59. package/es/components/hyTour/tour.vue.mjs +1 -0
  60. package/es/components/hyTree/js/index.mjs +8 -2
  61. package/es/components/hyTree/tree.vue.mjs +1 -0
  62. package/es/components/hyUserAvatar/userAvatar.vue.mjs +1 -0
  63. package/es/components/hyVideoPlayer/{js → hyVideoPlayer/js}/index.mjs +9 -9
  64. package/es/components/hyVideoPlayer/hyVideoPlayer/videoPlayer.vue.mjs +656 -0
  65. package/es/components/hyVideoPlayer/index.mjs +2 -2
  66. package/es/components/hyVideoPlayer/locale/en_US.mjs +31 -0
  67. package/es/components/hyVideoPlayer/locale/index.mjs +2 -0
  68. package/es/components/hyVideoPlayer/locale/zh_CN.mjs +31 -0
  69. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +5 -645
  70. package/es/components/hyVideoPlayer/videoPlayer1.vue.mjs +8 -0
  71. package/es/components/hyVideoPlayer/videoPlayer12.vue.mjs +947 -0
  72. package/es/components/hyVideoPlayer/videoPlayer2.vue.mjs +951 -0
  73. package/es/hooks/useLocale.mjs +7 -2
  74. package/es/static/hy-svg-icons/hy-icon-ops-Empty-audio.js +22 -0
  75. package/es/static/hy-svg-icons/hy-icon-ops-Empty-document.js +23 -0
  76. package/es/static/hy-svg-icons/hy-icon-ops-Empty-fall.js +29 -0
  77. package/es/static/hy-svg-icons/hy-icon-ops-Empty-up.js +29 -0
  78. package/es/static/hy-svg-icons/hy-icon-ops-Empty-wait.js +29 -0
  79. package/es/static/hy-svg-icons/hy-icon-ops-audio-cycle.js +8 -0
  80. package/es/static/hy-svg-icons/hy-icon-ops-audio-edit.js +8 -0
  81. package/es/static/hy-svg-icons/hy-icon-ops-audio-fullscreen.js +8 -0
  82. package/es/static/hy-svg-icons/hy-icon-ops-audio-next.js +8 -0
  83. package/es/static/hy-svg-icons/hy-icon-ops-audio-previous.js +8 -0
  84. package/es/static/hy-svg-icons/hy-icon-ops-audio-reduce.js +10 -0
  85. package/es/static/hy-svg-icons/hy-icon-ops-audio-semanticretrieval.js +8 -0
  86. package/es/static/hy-svg-icons/hy-icon-ops-audio-sequentialplay.js +8 -0
  87. package/es/static/hy-svg-icons/hy-icon-ops-audio-stopplayback.js +8 -0
  88. package/es/static/map/bm.geometryutil.js +3 -3
  89. package/es/static/map/bmDraw.js +6 -6
  90. package/es/static/map/markercluster.js +22 -22
  91. package/es/static/map/moveMarker.js +1 -1
  92. package/es/static/vite-plugin-hy-svg-icons.js +2 -2
  93. package/es/utils/file.mjs +7 -3
  94. package/es/utils/form.mjs +3 -1
  95. package/es/utils/map/hook/bigMap.mjs +18 -5
  96. package/es/utils/map/hook/gaode.mjs +4 -1
  97. package/es/utils/map/hook/leafletjs.mjs +29 -8
  98. package/es/utils/map/index.mjs +0 -1
  99. package/es/utils/useUiComponent.mjs +3 -1
  100. package/es/version.mjs +1 -1
  101. package/lib/_virtual/_plugin-vue_export-helper.js +13 -0
  102. package/lib/bussiness/hyAcquisitionStationTree/acquisitionStationTree.vue.js +1 -0
  103. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.js +1 -0
  104. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.js +1 -0
  105. package/lib/bussiness/hyDeviceTree/deviceTree.vue.js +1 -0
  106. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.js +1 -0
  107. package/lib/bussiness/hyDisplayQueryAddress/locale/en_US.js +3 -3
  108. package/lib/bussiness/hyDisplayQueryAddress/locale/zh_CN.js +3 -3
  109. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +1 -0
  110. package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.js +7 -1
  111. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.js +1 -0
  112. package/lib/bussiness/hyElectronicFence/electronicFence.vue.js +7 -1
  113. package/lib/bussiness/hyFilePlayback/locale/en_US.js +17 -17
  114. package/lib/bussiness/hyFilePlayback/locale/zh_CN.js +17 -17
  115. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +1 -0
  116. package/lib/bussiness/hyOrgGroupTree/orgGroupTree.vue.js +1 -0
  117. package/lib/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.vue.js +1 -0
  118. package/lib/bussiness/hyRuleSetting/ruleSetting.vue.js +1 -0
  119. package/lib/bussiness/hySelectDeviceTree/cpns/deviceItem.vue.js +3 -3
  120. package/lib/bussiness/hySelectDeviceTree/selectDeviceTree.vue.js +2 -8
  121. package/lib/bussiness/hyUserTree/userTree.vue.js +1 -0
  122. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +9 -1
  123. package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +1 -0
  124. package/lib/components/hyButton/button.vue.js +1 -0
  125. package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +1 -0
  126. package/lib/components/hyConfigProvider/configProvider.vue.js +36 -35
  127. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +1 -0
  128. package/lib/components/hyCutter/cutter.vue.js +10 -1
  129. package/lib/components/hyDatePicker/datePicker.vue.js +1 -0
  130. package/lib/components/hyDialog/dialog.vue.js +1 -0
  131. package/lib/components/hyDrawer/drawer.vue.js +1 -0
  132. package/lib/components/hyForm/cpns/formItem.vue.js +15 -11
  133. package/lib/components/hyForm/form.vue.js +2 -3
  134. package/lib/components/hyIcon/icon.vue.js +1 -0
  135. package/lib/components/hyIconBox/iconBox.vue.js +1 -0
  136. package/lib/components/hyInput/input.vue.js +1 -0
  137. package/lib/components/hyInput/inputSearch.vue.js +1 -0
  138. package/lib/components/hyKindEditor/kindEditor.vue.js +17 -4
  139. package/lib/components/hyMenu/menu.vue.js +1 -0
  140. package/lib/components/hyNoPermissions/noPermissions.vue.js +1 -0
  141. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +1 -0
  142. package/lib/components/hyOrgCascader/js/index.js +0 -1
  143. package/lib/components/hyOrgCascader/orgCascader.vue.js +1 -0
  144. package/lib/components/hyRadioGroup/radioGroup.vue.js +4 -1
  145. package/lib/components/hySearch/cpns/searchItem.vue.js +3 -1
  146. package/lib/components/hySearch/search.vue.js +5 -1
  147. package/lib/components/hyStatus/status.vue.js +1 -0
  148. package/lib/components/hyTable/cpns/columnSelect.vue.js +5 -1
  149. package/lib/components/hyTable/cpns/columnSelectItem.vue.js +1 -1
  150. package/lib/components/hyTable/cpns/virtualTable.vue.js +11 -2
  151. package/lib/components/hyTable/js/index.js +7 -2
  152. package/lib/components/hyTable/table.vue.js +5 -1
  153. package/lib/components/hyTableActionButton/tableActionButton.vue.js +1 -0
  154. package/lib/components/hyTableForm/batchTableForm.vue.js +6 -3
  155. package/lib/components/hyTableForm/tableForm.vue.js +1 -0
  156. package/lib/components/hyTimePicker/timePicker.vue.js +1 -0
  157. package/lib/components/hyTooltip/tooltip.vue.js +1 -0
  158. package/lib/components/hyTour/tour.vue.js +1 -0
  159. package/lib/components/hyTree/js/index.js +8 -2
  160. package/lib/components/hyTree/tree.vue.js +1 -0
  161. package/lib/components/hyUserAvatar/userAvatar.vue.js +1 -0
  162. package/lib/components/hyVideoPlayer/{js → hyVideoPlayer/js}/index.js +9 -9
  163. package/lib/components/hyVideoPlayer/hyVideoPlayer/videoPlayer.vue.js +660 -0
  164. package/lib/components/hyVideoPlayer/locale/en_US.js +35 -0
  165. package/lib/components/hyVideoPlayer/locale/index.js +9 -0
  166. package/lib/components/hyVideoPlayer/locale/zh_CN.js +35 -0
  167. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +5 -645
  168. package/lib/components/hyVideoPlayer/videoPlayer1.vue.js +12 -0
  169. package/lib/components/hyVideoPlayer/videoPlayer12.vue.js +951 -0
  170. package/lib/components/hyVideoPlayer/videoPlayer2.vue.js +955 -0
  171. package/lib/hooks/useLocale.js +7 -2
  172. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-audio.js +22 -0
  173. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-document.js +23 -0
  174. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-fall.js +29 -0
  175. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-up.js +29 -0
  176. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-wait.js +29 -0
  177. package/lib/static/hy-svg-icons/hy-icon-ops-audio-cycle.js +8 -0
  178. package/lib/static/hy-svg-icons/hy-icon-ops-audio-edit.js +8 -0
  179. package/lib/static/hy-svg-icons/hy-icon-ops-audio-fullscreen.js +8 -0
  180. package/lib/static/hy-svg-icons/hy-icon-ops-audio-next.js +8 -0
  181. package/lib/static/hy-svg-icons/hy-icon-ops-audio-previous.js +8 -0
  182. package/lib/static/hy-svg-icons/hy-icon-ops-audio-reduce.js +10 -0
  183. package/lib/static/hy-svg-icons/hy-icon-ops-audio-semanticretrieval.js +8 -0
  184. package/lib/static/hy-svg-icons/hy-icon-ops-audio-sequentialplay.js +8 -0
  185. package/lib/static/hy-svg-icons/hy-icon-ops-audio-stopplayback.js +8 -0
  186. package/lib/static/map/bm.geometryutil.js +3 -3
  187. package/lib/static/map/bmDraw.js +6 -6
  188. package/lib/static/map/markercluster.js +22 -22
  189. package/lib/static/map/moveMarker.js +1 -1
  190. package/lib/static/vite-plugin-hy-svg-icons.js +2 -2
  191. package/lib/utils/file.js +7 -3
  192. package/lib/utils/form.js +3 -1
  193. package/lib/utils/map/hook/bigMap.js +18 -5
  194. package/lib/utils/map/hook/gaode.js +4 -1
  195. package/lib/utils/map/hook/leafletjs.js +29 -8
  196. package/lib/utils/map/index.js +0 -1
  197. package/lib/utils/useUiComponent.js +3 -1
  198. package/lib/version.js +1 -1
  199. package/package.json +8 -8
  200. /package/es/components/hyVideoPlayer/{style → hyVideoPlayer/style}/videoPlayer.scss +0 -0
  201. /package/lib/components/hyVideoPlayer/{style → hyVideoPlayer/style}/videoPlayer.scss +0 -0
@@ -86,7 +86,7 @@ export function hySvgIconsPlugin(options = {}) {
86
86
  const m = idRe.exec(content);
87
87
  if (m) map.set(m[1], file);
88
88
  } catch {}
89
- }),
89
+ })
90
90
  );
91
91
  available = map;
92
92
  }
@@ -130,7 +130,7 @@ export function hySvgIconsPlugin(options = {}) {
130
130
  while ((m = nameRe.exec(content))) {
131
131
  if (available.has(m[0])) found.add(m[0]);
132
132
  }
133
- }),
133
+ })
134
134
  );
135
135
  return found;
136
136
  }
package/es/utils/file.mjs CHANGED
@@ -35,9 +35,13 @@ async function fileJsonUplaod(file) {
35
35
  }
36
36
  async function preSignedUrlGetApi(keyList) {
37
37
  const { api } = useApi();
38
- return await unref(api).post("file/preSignedUrlGet", { keyList }, {
39
- isJSON: true
40
- });
38
+ return await unref(api).post(
39
+ "file/preSignedUrlGet",
40
+ { keyList },
41
+ {
42
+ isJSON: true
43
+ }
44
+ );
41
45
  }
42
46
  async function fileFormUpload(file) {
43
47
  const { api } = useApi();
package/es/utils/form.mjs CHANGED
@@ -102,7 +102,9 @@ const columnRuleHandler = (column, model, config) => {
102
102
  value = `${value}`;
103
103
  }
104
104
  if (isString(value) && value.length > 255) {
105
- callback(new Error($t("form.characterLimit", [columnLabelHandler(column, model), 255])));
105
+ callback(
106
+ new Error($t("form.characterLimit", [columnLabelHandler(column, model), 255]))
107
+ );
106
108
  return;
107
109
  }
108
110
  callback();
@@ -51,7 +51,10 @@ const generalMapMethods = {
51
51
  // 导入到地图里面
52
52
  getBounds: function(target, BM2) {
53
53
  const bounds = target.getBounds ? target.getBounds() : target;
54
- return BM2.latLngBounds(latAndLngCheck(bounds.getSouthWest()), latAndLngCheck(bounds.getNorthEast()));
54
+ return BM2.latLngBounds(
55
+ latAndLngCheck(bounds.getSouthWest()),
56
+ latAndLngCheck(bounds.getNorthEast())
57
+ );
55
58
  },
56
59
  getMap: function(map) {
57
60
  return map.getRawMap ? map.getRawMap() : map;
@@ -59,7 +62,10 @@ const generalMapMethods = {
59
62
  // 导出到外面
60
63
  getBoundsExport: function(target, BM2) {
61
64
  const bounds = target.getBounds();
62
- return BM2.latLngBounds(latAndLngCheckExport(bounds.getSouthWest()), latAndLngCheckExport(bounds.getNorthEast()));
65
+ return BM2.latLngBounds(
66
+ latAndLngCheckExport(bounds.getSouthWest()),
67
+ latAndLngCheckExport(bounds.getNorthEast())
68
+ );
63
69
  }
64
70
  };
65
71
  function latAndLngCheck(item) {
@@ -795,7 +801,9 @@ class bigMap extends EventEmitter {
795
801
  const markerItem = rangingMarker[index];
796
802
  const isLast = showDeleteAll ?? !rangingMarker[index + 1]?.options?.extData?.distance;
797
803
  markerItem.setIcon({
798
- divIcon: _this.DivIcon(rangingPointIconOption(options, distance, markerItem.options.extData.dicId, isLast))
804
+ divIcon: _this.DivIcon(
805
+ rangingPointIconOption(options, distance, markerItem.options.extData.dicId, isLast)
806
+ )
799
807
  });
800
808
  markerItem.options.extData.distance = distance;
801
809
  }
@@ -823,7 +831,10 @@ class bigMap extends EventEmitter {
823
831
  rangingPointsIng.push({ lat, lng });
824
832
  } else {
825
833
  const latlngs = [
826
- [rangingPointsIng[rangingPointsIng.length - 1].lat, rangingPointsIng[rangingPointsIng.length - 1].lng],
834
+ [
835
+ rangingPointsIng[rangingPointsIng.length - 1].lat,
836
+ rangingPointsIng[rangingPointsIng.length - 1].lng
837
+ ],
827
838
  [lat, lng]
828
839
  ];
829
840
  const polyline = _this.Polyline(latlngs, {
@@ -841,7 +852,9 @@ class bigMap extends EventEmitter {
841
852
  { lat: latlngs[1][0], lng: latlngs[1][1] }
842
853
  );
843
854
  distance = parseFloat((distance / 1e3).toFixed(2));
844
- const total = parseFloat(rangingMarker[rangingMarker.length - 1].options.extData.distance || 0);
855
+ const total = parseFloat(
856
+ rangingMarker[rangingMarker.length - 1].options.extData.distance || 0
857
+ );
845
858
  distance = (distance + total).toFixed(2);
846
859
  const customIcon = _this.DivIcon(rangingPointIconOption(options, distance, dicId));
847
860
  const markerItem = _this.Marker({
@@ -139,7 +139,10 @@ class Google extends EventEmitter {
139
139
  const handlers = {
140
140
  // return 单位:m
141
141
  distance: function(target, latAndlng1, latAndlng2) {
142
- return AMap.GeometryUtil.distance([latAndlng1.lng, latAndlng1.lat], [latAndlng2.lng, latAndlng2.lat]);
142
+ return AMap.GeometryUtil.distance(
143
+ [latAndlng1.lng, latAndlng1.lat],
144
+ [latAndlng2.lng, latAndlng2.lat]
145
+ );
143
146
  },
144
147
  // 删除地图
145
148
  removeMap: function(target) {
@@ -63,7 +63,10 @@ const generalMapMethods = {
63
63
  */
64
64
  getBounds(target) {
65
65
  const bounds = target.getBounds();
66
- return L.latLngBounds(latAndLngCheck(bounds.getSouthWest()), latAndLngCheck(bounds.getNorthEast()));
66
+ return L.latLngBounds(
67
+ latAndLngCheck(bounds.getSouthWest()),
68
+ latAndLngCheck(bounds.getNorthEast())
69
+ );
67
70
  },
68
71
  /**
69
72
  * 包装Map实例
@@ -80,7 +83,10 @@ const generalMapMethods = {
80
83
  */
81
84
  getBoundsExport(target) {
82
85
  const bounds = target.getBounds();
83
- return L.latLngBounds(latAndLngCheckExport(bounds.getSouthWest()), latAndLngCheckExport(bounds.getNorthEast()));
86
+ return L.latLngBounds(
87
+ latAndLngCheckExport(bounds.getSouthWest()),
88
+ latAndLngCheckExport(bounds.getNorthEast())
89
+ );
84
90
  }
85
91
  };
86
92
  function latAndLngCheck(item) {
@@ -108,7 +114,8 @@ function latLngListCheck(dataList = []) {
108
114
  function latLngListCheckExport(dataList = []) {
109
115
  return dataList.map((item) => {
110
116
  const isArray = Array.isArray(item);
111
- if (isArray && (item.length === 0 || typeof item[0] === "object")) return latLngListCheckExport(item);
117
+ if (isArray && (item.length === 0 || typeof item[0] === "object"))
118
+ return latLngListCheckExport(item);
112
119
  const { lat, lng } = latAndLngCheckExport(item);
113
120
  return isArray ? [lat, lng] : { ...item, lat, lng };
114
121
  });
@@ -386,7 +393,12 @@ class Leafletjs extends EventEmitter {
386
393
  }
387
394
  // 超图 WMTS 图层(不适用所有的WMTS图层,目前仅支持超图WMTS,因不同的WMTS服务规范不一样,主要体现在路由访问参数)
388
395
  createWMTSLayer(map, option = {}) {
389
- const { url, layer, tilematrixSet, format = "image/png" } = typeof option === "string" ? { url: option } : option;
396
+ const {
397
+ url,
398
+ layer,
399
+ tilematrixSet,
400
+ format = "image/png"
401
+ } = typeof option === "string" ? { url: option } : option;
390
402
  const crs = getCrs(this.initParams.crs);
391
403
  if (!L.WMTSLayer) {
392
404
  L.WMTSLayer = L.TileLayer.extend({
@@ -495,7 +507,9 @@ class Leafletjs extends EventEmitter {
495
507
  }
496
508
  // 地图图层
497
509
  layerGroup(map, markers = []) {
498
- const layerGroup = L.layerGroup(markers.map((item) => item.getInitLayer?.() || item)).addTo(getInitMap(map));
510
+ const layerGroup = L.layerGroup(markers.map((item) => item.getInitLayer?.() || item)).addTo(
511
+ getInitMap(map)
512
+ );
499
513
  const handlers = {
500
514
  addLayer: function(target, addItem) {
501
515
  return target.addLayer(addItem.getInitLayer?.() || addItem);
@@ -1017,7 +1031,9 @@ class Leafletjs extends EventEmitter {
1017
1031
  const markerItem = rangingMarker[index];
1018
1032
  const isLast = showDeleteAll ?? !rangingMarker[index + 1]?.options?.extData?.distance;
1019
1033
  markerItem.setIcon({
1020
- divIcon: _this.DivIcon(rangingPointIconOption(options, distance, markerItem.options.extData.dicId, isLast))
1034
+ divIcon: _this.DivIcon(
1035
+ rangingPointIconOption(options, distance, markerItem.options.extData.dicId, isLast)
1036
+ )
1021
1037
  });
1022
1038
  markerItem.options.extData.distance = distance;
1023
1039
  }
@@ -1045,7 +1061,10 @@ class Leafletjs extends EventEmitter {
1045
1061
  rangingPointsIng.push({ lat, lng });
1046
1062
  } else {
1047
1063
  const latlngs = [
1048
- [rangingPointsIng[rangingPointsIng.length - 1].lat, rangingPointsIng[rangingPointsIng.length - 1].lng],
1064
+ [
1065
+ rangingPointsIng[rangingPointsIng.length - 1].lat,
1066
+ rangingPointsIng[rangingPointsIng.length - 1].lng
1067
+ ],
1049
1068
  [lat, lng]
1050
1069
  ];
1051
1070
  const polyline = _this.Polyline(latlngs, {
@@ -1063,7 +1082,9 @@ class Leafletjs extends EventEmitter {
1063
1082
  { lat: latlngs[1][0], lng: latlngs[1][1] }
1064
1083
  );
1065
1084
  distance = parseFloat((distance / 1e3).toFixed(2));
1066
- const total = parseFloat(rangingMarker[rangingMarker.length - 1].options.extData.distance || 0);
1085
+ const total = parseFloat(
1086
+ rangingMarker[rangingMarker.length - 1].options.extData.distance || 0
1087
+ );
1067
1088
  distance = (distance + total).toFixed(2);
1068
1089
  const customIcon = _this.DivIcon(rangingPointIconOption(options, distance, dicId));
1069
1090
  const markerItem = _this.Marker({
@@ -141,7 +141,6 @@ function loadScript(url) {
141
141
  return promise;
142
142
  }
143
143
  function bmInit() {
144
- ;
145
144
  (function() {
146
145
  var originalInitTile = window.BM.GridLayer.prototype._initTile;
147
146
  window.BM.GridLayer.include({
@@ -20,7 +20,9 @@ function useUiComponent(componentName) {
20
20
  throw new Error(`[useUiComponent] \u7EC4\u4EF6 ${componentName} \u5728 componentsMap \u4E2D\u4E0D\u5B58\u5728`);
21
21
  });
22
22
  }
23
- throw new Error(`[useUiComponent] useUiComponent('${componentName}') \u9700\u8981\u901A\u8FC7 HyConfigProvider \u63D0\u4F9B componentsMap \u548C versionStore`);
23
+ throw new Error(
24
+ `[useUiComponent] useUiComponent('${componentName}') \u9700\u8981\u901A\u8FC7 HyConfigProvider \u63D0\u4F9B componentsMap \u548C versionStore`
25
+ );
24
26
  return {
25
27
  currentComponentsMap,
26
28
  currentVersionStore
package/es/version.mjs CHANGED
@@ -1,3 +1,3 @@
1
- const version = "0.2.85";
1
+ const version = "0.2.87";
2
2
 
3
3
  export { version };
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var _export_sfc = (sfc, props) => {
6
+ const target = sfc.__vccOpts || sfc;
7
+ for (const [key, val] of props) {
8
+ target[key] = val;
9
+ }
10
+ return target;
11
+ };
12
+
13
+ exports.default = _export_sfc;
@@ -167,6 +167,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
167
167
  "on-selectedDataList"
168
168
  ],
169
169
  setup(__props, { expose: __expose, emit: __emit }) {
170
+ ;
170
171
  const props = __props;
171
172
  const emits = __emit;
172
173
  const slots = vue.useSlots();
@@ -32,6 +32,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
32
32
  useLocale.unregisterComponentLocale("HyDepartmentTypeOperation");
33
33
  });
34
34
  const $t = (key, option) => useLocale.$t(`HyDepartmentTypeOperation.${key}`, option);
35
+ ;
35
36
  const emit = __emit;
36
37
  function useDepartmentTypeOperation(hy) {
37
38
  const { currentBus } = useCurrentBus.useCurrentBus();
@@ -27,6 +27,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
27
27
  ...__default__,
28
28
  emits: ["on-submit"],
29
29
  setup(__props, { expose: __expose, emit: __emit }) {
30
+ ;
30
31
  useLocale.registerComponentLocale("HyDepartmentTypeOperationTiantonmg", index);
31
32
  vue.onUnmounted(() => {
32
33
  useLocale.unregisterComponentLocale("HyDepartmentTypeOperationTiantonmg");
@@ -177,6 +177,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
177
177
  "on-selectedDataList"
178
178
  ],
179
179
  setup(__props, { expose: __expose, emit: __emit }) {
180
+ ;
180
181
  const props = __props;
181
182
  const emits = __emit;
182
183
  const slots = vue.useSlots();
@@ -72,6 +72,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
72
72
  useLocale.unregisterComponentLocale("HyDisplayQueryAddress");
73
73
  });
74
74
  const $t = (key, option) => useLocale.$t(`HyDisplayQueryAddress.${key}`, option);
75
+ ;
75
76
  const props = __props;
76
77
  function useDisplayQueryAddress(hy) {
77
78
  vue.onMounted(() => {
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var en_US = {
6
- "failedToGetAddress": "Failed To Get Address",
7
- "querying": "...Querying...",
8
- "queryAddress": "Query Address"
6
+ failedToGetAddress: "Failed To Get Address",
7
+ querying: "...Querying...",
8
+ queryAddress: "Query Address"
9
9
  };
10
10
 
11
11
  exports.default = en_US;
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var zh_CN = {
6
- "failedToGetAddress": "\u83B7\u53D6\u5730\u5740\u5931\u8D25",
7
- "querying": "...\u67E5\u8BE2\u4E2D...",
8
- "queryAddress": "\u67E5\u8BE2\u5730\u5740"
6
+ failedToGetAddress: "\u83B7\u53D6\u5730\u5740\u5931\u8D25",
7
+ querying: "...\u67E5\u8BE2\u4E2D...",
8
+ queryAddress: "\u67E5\u8BE2\u5730\u5740"
9
9
  };
10
10
 
11
11
  exports.default = zh_CN;
@@ -39,6 +39,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
39
39
  },
40
40
  setup(__props, { expose: __expose }) {
41
41
  const HyMapAearchPlace = useUiComponent.useUiComponent("HyMapAearchPlace");
42
+ ;
42
43
  const props = __props;
43
44
  const { currentBus } = useCurrentBus.useCurrentBus();
44
45
  const useAddElectronicFenceDialog = (hy) => {
@@ -28,6 +28,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
28
28
  }
29
29
  },
30
30
  setup(__props, { expose: __expose }) {
31
+ ;
31
32
  const props = __props;
32
33
  const { currentBus } = useCurrentBus.useCurrentBus();
33
34
  function useBatchSetElectronicFenceUserDialog(hy) {
@@ -142,7 +143,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
142
143
  show,
143
144
  submitHandler,
144
145
  onSubmit
145
- } = useMixins.useMixins({ currentBus }, [useDialog.useDialog, useDialog.useDialogIsEdit, useDialog.useBatchDialog, useBatchSetElectronicFenceUserDialog]);
146
+ } = useMixins.useMixins({ currentBus }, [
147
+ useDialog.useDialog,
148
+ useDialog.useDialogIsEdit,
149
+ useDialog.useBatchDialog,
150
+ useBatchSetElectronicFenceUserDialog
151
+ ]);
146
152
  __expose({
147
153
  show,
148
154
  setIsEdit,
@@ -37,6 +37,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
37
37
  },
38
38
  emits: ["onSubmit"],
39
39
  setup(__props, { expose: __expose, emit: __emit }) {
40
+ ;
40
41
  const props = __props;
41
42
  const emits = __emit;
42
43
  const useElectronicFenceAssociatedUsersDialog = (hy) => {
@@ -24,8 +24,14 @@ const __default__ = vue.defineComponent({
24
24
  });
25
25
  const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
26
26
  props: {},
27
- emits: ["on-add", "on-edit", "on-associated-users", "on-batch-associated-users"],
27
+ emits: [
28
+ "on-add",
29
+ "on-edit",
30
+ "on-associated-users",
31
+ "on-batch-associated-users"
32
+ ],
28
33
  setup(__props, { expose: __expose, emit: __emit }) {
34
+ ;
29
35
  const props = __props;
30
36
  const emits = __emit;
31
37
  const { currentBus } = useCurrentBus.useCurrentBus();
@@ -3,24 +3,24 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var en_US = {
6
- "fileNumber": "File Number",
7
- "videoDuration": "Video Duration",
8
- "fileName": "File Name",
9
- "resolution": "Resolution",
10
- "creationTime": "Creation Time",
11
- "fileSize": "File Size",
12
- "collectionTime": "Collection Time",
13
- "deviceNumber": "Device Number",
14
- "deviceName": "Device Name",
15
- "workNumber": "Work Number",
16
- "collectionStationIP": "Collection Station IP",
6
+ fileNumber: "File Number",
7
+ videoDuration: "Video Duration",
8
+ fileName: "File Name",
9
+ resolution: "Resolution",
10
+ creationTime: "Creation Time",
11
+ fileSize: "File Size",
12
+ collectionTime: "Collection Time",
13
+ deviceNumber: "Device Number",
14
+ deviceName: "Device Name",
15
+ workNumber: "Work Number",
16
+ collectionStationIP: "Collection Station IP",
17
17
  "userName-0": "User Name",
18
- "deviceCode": "Device Code",
19
- "detectionIsCorrect": "Detection Is Correct",
20
- "audioDuration": "Audio Duration",
21
- "equipmentNumber": "Device Number:",
22
- "shootingTime": "Shooting Time",
23
- "clickTheImageToDisplayInFullScreen": "Click The Image To Display In Full Screen"
18
+ deviceCode: "Device Code",
19
+ detectionIsCorrect: "Detection Is Correct",
20
+ audioDuration: "Audio Duration",
21
+ equipmentNumber: "Device Number:",
22
+ shootingTime: "Shooting Time",
23
+ clickTheImageToDisplayInFullScreen: "Click The Image To Display In Full Screen"
24
24
  };
25
25
 
26
26
  exports.default = en_US;
@@ -3,24 +3,24 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var zh_CN = {
6
- "fileNumber": "\u6587\u4EF6\u7F16\u53F7",
7
- "videoDuration": "\u89C6\u9891\u65F6\u957F",
8
- "fileName": "\u6587\u4EF6\u540D\u79F0",
9
- "resolution": "\u5206\u8FA8\u7387",
10
- "creationTime": "\u521B\u5EFA\u65F6\u95F4",
11
- "fileSize": "\u6587\u4EF6\u5927\u5C0F",
12
- "collectionTime": "\u91C7\u96C6\u65F6\u95F4",
13
- "deviceNumber": "\u8BBE\u5907\u7F16\u53F7",
14
- "deviceName": "\u8BBE\u5907\u540D\u79F0",
15
- "workNumber": "\u5DE5\u53F7",
16
- "collectionStationIP": "\u91C7\u96C6\u7AD9IP",
6
+ fileNumber: "\u6587\u4EF6\u7F16\u53F7",
7
+ videoDuration: "\u89C6\u9891\u65F6\u957F",
8
+ fileName: "\u6587\u4EF6\u540D\u79F0",
9
+ resolution: "\u5206\u8FA8\u7387",
10
+ creationTime: "\u521B\u5EFA\u65F6\u95F4",
11
+ fileSize: "\u6587\u4EF6\u5927\u5C0F",
12
+ collectionTime: "\u91C7\u96C6\u65F6\u95F4",
13
+ deviceNumber: "\u8BBE\u5907\u7F16\u53F7",
14
+ deviceName: "\u8BBE\u5907\u540D\u79F0",
15
+ workNumber: "\u5DE5\u53F7",
16
+ collectionStationIP: "\u91C7\u96C6\u7AD9IP",
17
17
  "userName-0": "\u7528\u6237\u540D\u79F0",
18
- "deviceCode": "\u8BBE\u5907\u7F16\u7801",
19
- "detectionIsCorrect": "\u68C0\u6D4B\u6B63\u786E",
20
- "audioDuration": "\u97F3\u9891\u65F6\u957F",
21
- "equipmentNumber": "\u8BBE\u5907\u7F16\u53F7\uFF1A",
22
- "shootingTime": "\u62CD\u6444\u65F6\u95F4",
23
- "clickTheImageToDisplayInFullScreen": "\u70B9\u51FB\u56FE\u7247\uFF0C\u5373\u53EF\u5168\u5C4F\u5C55\u793A"
18
+ deviceCode: "\u8BBE\u5907\u7F16\u7801",
19
+ detectionIsCorrect: "\u68C0\u6D4B\u6B63\u786E",
20
+ audioDuration: "\u97F3\u9891\u65F6\u957F",
21
+ equipmentNumber: "\u8BBE\u5907\u7F16\u53F7\uFF1A",
22
+ shootingTime: "\u62CD\u6444\u65F6\u95F4",
23
+ clickTheImageToDisplayInFullScreen: "\u70B9\u51FB\u56FE\u7247\uFF0C\u5373\u53EF\u5168\u5C4F\u5C55\u793A"
24
24
  };
25
25
 
26
26
  exports.default = zh_CN;
@@ -54,6 +54,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
54
54
  },
55
55
  emits: [],
56
56
  setup(__props, { expose: __expose, emit: __emit }) {
57
+ ;
57
58
  const props = __props;
58
59
  const emits = __emit;
59
60
  const {
@@ -167,6 +167,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
167
167
  "on-selectedDataList"
168
168
  ],
169
169
  setup(__props, { expose: __expose, emit: __emit }) {
170
+ ;
170
171
  const props = __props;
171
172
  const emits = __emit;
172
173
  const slots = vue.useSlots();
@@ -167,6 +167,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
167
167
  "on-selectedDataList"
168
168
  ],
169
169
  setup(__props, { expose: __expose, emit: __emit }) {
170
+ ;
170
171
  const props = __props;
171
172
  const emits = __emit;
172
173
  const slots = vue.useSlots();
@@ -26,6 +26,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
26
26
  props: {},
27
27
  emits: ["on-add", "on-edit", "on-rule-assign", "on-set-aggregation-alarm"],
28
28
  setup(__props, { expose: __expose, emit: __emit }) {
29
+ ;
29
30
  const props = __props;
30
31
  const emits = __emit;
31
32
  const tabList = vue.ref([]);
@@ -41,7 +41,7 @@ const _sfc_main = {
41
41
  vue.createElementVNode("div", {
42
42
  class: "w-20 flex-shrink-0 text-auxiliary",
43
43
  style: { "text-align-last": "justify" }
44
- }, "\u8BBE\u5907\u540D\u79F0"),
44
+ }, " \u8BBE\u5907\u540D\u79F0 "),
45
45
  vue.createElementVNode("span", { class: "text-auxiliary" }, ":"),
46
46
  vue.createElementVNode(
47
47
  "span",
@@ -58,7 +58,7 @@ const _sfc_main = {
58
58
  vue.createElementVNode("div", {
59
59
  class: "w-20 flex-shrink-0 text-auxiliary",
60
60
  style: { "text-align-last": "justify" }
61
- }, "\uFF29\uFF2D\uFF25\uFF29"),
61
+ }, " \uFF29\uFF2D\uFF25\uFF29 "),
62
62
  vue.createElementVNode("span", { class: "text-auxiliary" }, ":"),
63
63
  vue.createElementVNode(
64
64
  "span",
@@ -75,7 +75,7 @@ const _sfc_main = {
75
75
  vue.createElementVNode("div", {
76
76
  class: "w-20 flex-shrink-0 text-auxiliary",
77
77
  style: { "text-align-last": "justify" }
78
- }, "\u5F53\u524D\u7528\u6237"),
78
+ }, " \u5F53\u524D\u7528\u6237 "),
79
79
  vue.createElementVNode("span", { class: "text-auxiliary" }, ":"),
80
80
  vue.createElementVNode(
81
81
  "span",
@@ -84,16 +84,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
84
84
  },
85
85
  emits: [],
86
86
  setup(__props, { expose: __expose, emit: __emit }) {
87
+ ;
87
88
  const props = __props;
88
89
  const emits = __emit;
89
- const {
90
- selDeviceList,
91
- hyDeviceTreeRef,
92
- deleteFn,
93
- onCheckTreeFn,
94
- clearAllFn,
95
- getData
96
- } = useMixins.useMixins({ props, emits }, [index.useHySelectDeviceTree]);
90
+ const { selDeviceList, hyDeviceTreeRef, deleteFn, onCheckTreeFn, clearAllFn, getData } = useMixins.useMixins({ props, emits }, [index.useHySelectDeviceTree]);
97
91
  __expose({
98
92
  getData
99
93
  });
@@ -161,6 +161,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
161
161
  "on-selectedDataList"
162
162
  ],
163
163
  setup(__props, { expose: __expose, emit: __emit }) {
164
+ ;
164
165
  const props = __props;
165
166
  const emits = __emit;
166
167
  const slots = vue.useSlots();
@@ -91,8 +91,16 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
91
91
  type: Function
92
92
  }
93
93
  },
94
- emits: ["canplay", "timeupdate", "play-start", "play-ended", "play-previous", "play-next"],
94
+ emits: [
95
+ "canplay",
96
+ "timeupdate",
97
+ "play-start",
98
+ "play-ended",
99
+ "play-previous",
100
+ "play-next"
101
+ ],
95
102
  setup(__props, { expose: __expose, emit: __emit }) {
103
+ ;
96
104
  const props = __props;
97
105
  const emits = __emit;
98
106
  const audioWrapperRef = vue.useTemplateRef("audioWrapperRef");
@@ -118,6 +118,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
118
118
  "onDialogMousedown"
119
119
  ], ["update:modelValue"]),
120
120
  setup(__props, { expose: __expose, emit: __emit }) {
121
+ ;
121
122
  const props = __props;
122
123
  const emits = __emit;
123
124
  const batchTableFormRef = vue.useTemplateRef("batchTableFormRef");
@@ -54,6 +54,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
54
54
  },
55
55
  emits: ["click"],
56
56
  setup(__props, { emit: __emit }) {
57
+ ;
57
58
  const props = __props;
58
59
  const typeObj = {
59
60
  default: "hy-button_default",
@@ -39,6 +39,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
39
39
  }),
40
40
  emits: /* @__PURE__ */ vue.mergeModels(["change"], ["update:modelValue"]),
41
41
  setup(__props, { expose: __expose, emit: __emit }) {
42
+ ;
42
43
  const props = __props;
43
44
  const emits = __emit;
44
45
  const modelValue = vue.useModel(__props, "modelValue");