hy-dispatch-ui-v3 0.2.86 → 0.2.87

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 (195) hide show
  1. package/dist/tailwind.css +27 -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/videoPlayer2.vue.mjs +930 -0
  71. package/es/hooks/useLocale.mjs +7 -2
  72. package/es/static/hy-svg-icons/hy-icon-ops-Empty-audio.js +22 -0
  73. package/es/static/hy-svg-icons/hy-icon-ops-Empty-document.js +23 -0
  74. package/es/static/hy-svg-icons/hy-icon-ops-Empty-fall.js +29 -0
  75. package/es/static/hy-svg-icons/hy-icon-ops-Empty-up.js +29 -0
  76. package/es/static/hy-svg-icons/hy-icon-ops-Empty-wait.js +29 -0
  77. package/es/static/hy-svg-icons/hy-icon-ops-audio-cycle.js +8 -0
  78. package/es/static/hy-svg-icons/hy-icon-ops-audio-edit.js +8 -0
  79. package/es/static/hy-svg-icons/hy-icon-ops-audio-fullscreen.js +8 -0
  80. package/es/static/hy-svg-icons/hy-icon-ops-audio-next.js +8 -0
  81. package/es/static/hy-svg-icons/hy-icon-ops-audio-previous.js +8 -0
  82. package/es/static/hy-svg-icons/hy-icon-ops-audio-semanticretrieval.js +8 -0
  83. package/es/static/hy-svg-icons/hy-icon-ops-audio-sequentialplay.js +8 -0
  84. package/es/static/hy-svg-icons/hy-icon-ops-audio-stopplayback.js +8 -0
  85. package/es/static/map/bm.geometryutil.js +3 -3
  86. package/es/static/map/bmDraw.js +6 -6
  87. package/es/static/map/markercluster.js +22 -22
  88. package/es/static/map/moveMarker.js +1 -1
  89. package/es/static/vite-plugin-hy-svg-icons.js +2 -2
  90. package/es/utils/file.mjs +7 -3
  91. package/es/utils/form.mjs +3 -1
  92. package/es/utils/map/hook/bigMap.mjs +18 -5
  93. package/es/utils/map/hook/gaode.mjs +4 -1
  94. package/es/utils/map/hook/leafletjs.mjs +29 -8
  95. package/es/utils/map/index.mjs +0 -1
  96. package/es/utils/useUiComponent.mjs +3 -1
  97. package/es/version.mjs +1 -1
  98. package/lib/_virtual/_plugin-vue_export-helper.js +13 -0
  99. package/lib/bussiness/hyAcquisitionStationTree/acquisitionStationTree.vue.js +1 -0
  100. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.js +1 -0
  101. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.js +1 -0
  102. package/lib/bussiness/hyDeviceTree/deviceTree.vue.js +1 -0
  103. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.js +1 -0
  104. package/lib/bussiness/hyDisplayQueryAddress/locale/en_US.js +3 -3
  105. package/lib/bussiness/hyDisplayQueryAddress/locale/zh_CN.js +3 -3
  106. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +1 -0
  107. package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.js +7 -1
  108. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.js +1 -0
  109. package/lib/bussiness/hyElectronicFence/electronicFence.vue.js +7 -1
  110. package/lib/bussiness/hyFilePlayback/locale/en_US.js +17 -17
  111. package/lib/bussiness/hyFilePlayback/locale/zh_CN.js +17 -17
  112. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +1 -0
  113. package/lib/bussiness/hyOrgGroupTree/orgGroupTree.vue.js +1 -0
  114. package/lib/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.vue.js +1 -0
  115. package/lib/bussiness/hyRuleSetting/ruleSetting.vue.js +1 -0
  116. package/lib/bussiness/hySelectDeviceTree/cpns/deviceItem.vue.js +3 -3
  117. package/lib/bussiness/hySelectDeviceTree/selectDeviceTree.vue.js +2 -8
  118. package/lib/bussiness/hyUserTree/userTree.vue.js +1 -0
  119. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +9 -1
  120. package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +1 -0
  121. package/lib/components/hyButton/button.vue.js +1 -0
  122. package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +1 -0
  123. package/lib/components/hyConfigProvider/configProvider.vue.js +36 -35
  124. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +1 -0
  125. package/lib/components/hyCutter/cutter.vue.js +10 -1
  126. package/lib/components/hyDatePicker/datePicker.vue.js +1 -0
  127. package/lib/components/hyDialog/dialog.vue.js +1 -0
  128. package/lib/components/hyDrawer/drawer.vue.js +1 -0
  129. package/lib/components/hyForm/cpns/formItem.vue.js +15 -11
  130. package/lib/components/hyForm/form.vue.js +2 -3
  131. package/lib/components/hyIcon/icon.vue.js +1 -0
  132. package/lib/components/hyIconBox/iconBox.vue.js +1 -0
  133. package/lib/components/hyInput/input.vue.js +1 -0
  134. package/lib/components/hyInput/inputSearch.vue.js +1 -0
  135. package/lib/components/hyKindEditor/kindEditor.vue.js +17 -4
  136. package/lib/components/hyMenu/menu.vue.js +1 -0
  137. package/lib/components/hyNoPermissions/noPermissions.vue.js +1 -0
  138. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +1 -0
  139. package/lib/components/hyOrgCascader/js/index.js +0 -1
  140. package/lib/components/hyOrgCascader/orgCascader.vue.js +1 -0
  141. package/lib/components/hyRadioGroup/radioGroup.vue.js +4 -1
  142. package/lib/components/hySearch/cpns/searchItem.vue.js +3 -1
  143. package/lib/components/hySearch/search.vue.js +5 -1
  144. package/lib/components/hyStatus/status.vue.js +1 -0
  145. package/lib/components/hyTable/cpns/columnSelect.vue.js +5 -1
  146. package/lib/components/hyTable/cpns/columnSelectItem.vue.js +1 -1
  147. package/lib/components/hyTable/cpns/virtualTable.vue.js +11 -2
  148. package/lib/components/hyTable/js/index.js +7 -2
  149. package/lib/components/hyTable/table.vue.js +5 -1
  150. package/lib/components/hyTableActionButton/tableActionButton.vue.js +1 -0
  151. package/lib/components/hyTableForm/batchTableForm.vue.js +6 -3
  152. package/lib/components/hyTableForm/tableForm.vue.js +1 -0
  153. package/lib/components/hyTimePicker/timePicker.vue.js +1 -0
  154. package/lib/components/hyTooltip/tooltip.vue.js +1 -0
  155. package/lib/components/hyTour/tour.vue.js +1 -0
  156. package/lib/components/hyTree/js/index.js +8 -2
  157. package/lib/components/hyTree/tree.vue.js +1 -0
  158. package/lib/components/hyUserAvatar/userAvatar.vue.js +1 -0
  159. package/lib/components/hyVideoPlayer/{js → hyVideoPlayer/js}/index.js +9 -9
  160. package/lib/components/hyVideoPlayer/hyVideoPlayer/videoPlayer.vue.js +660 -0
  161. package/lib/components/hyVideoPlayer/locale/en_US.js +35 -0
  162. package/lib/components/hyVideoPlayer/locale/index.js +9 -0
  163. package/lib/components/hyVideoPlayer/locale/zh_CN.js +35 -0
  164. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +5 -645
  165. package/lib/components/hyVideoPlayer/videoPlayer2.vue.js +934 -0
  166. package/lib/hooks/useLocale.js +7 -2
  167. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-audio.js +22 -0
  168. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-document.js +23 -0
  169. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-fall.js +29 -0
  170. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-up.js +29 -0
  171. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-wait.js +29 -0
  172. package/lib/static/hy-svg-icons/hy-icon-ops-audio-cycle.js +8 -0
  173. package/lib/static/hy-svg-icons/hy-icon-ops-audio-edit.js +8 -0
  174. package/lib/static/hy-svg-icons/hy-icon-ops-audio-fullscreen.js +8 -0
  175. package/lib/static/hy-svg-icons/hy-icon-ops-audio-next.js +8 -0
  176. package/lib/static/hy-svg-icons/hy-icon-ops-audio-previous.js +8 -0
  177. package/lib/static/hy-svg-icons/hy-icon-ops-audio-semanticretrieval.js +8 -0
  178. package/lib/static/hy-svg-icons/hy-icon-ops-audio-sequentialplay.js +8 -0
  179. package/lib/static/hy-svg-icons/hy-icon-ops-audio-stopplayback.js +8 -0
  180. package/lib/static/map/bm.geometryutil.js +3 -3
  181. package/lib/static/map/bmDraw.js +6 -6
  182. package/lib/static/map/markercluster.js +22 -22
  183. package/lib/static/map/moveMarker.js +1 -1
  184. package/lib/static/vite-plugin-hy-svg-icons.js +2 -2
  185. package/lib/utils/file.js +7 -3
  186. package/lib/utils/form.js +3 -1
  187. package/lib/utils/map/hook/bigMap.js +18 -5
  188. package/lib/utils/map/hook/gaode.js +4 -1
  189. package/lib/utils/map/hook/leafletjs.js +29 -8
  190. package/lib/utils/map/index.js +0 -1
  191. package/lib/utils/useUiComponent.js +3 -1
  192. package/lib/version.js +1 -1
  193. package/package.json +8 -8
  194. /package/es/components/hyVideoPlayer/{style → hyVideoPlayer/style}/videoPlayer.scss +0 -0
  195. /package/lib/components/hyVideoPlayer/{style → hyVideoPlayer/style}/videoPlayer.scss +0 -0
package/lib/utils/form.js CHANGED
@@ -104,7 +104,9 @@ const columnRuleHandler = (column, model, config) => {
104
104
  value = `${value}`;
105
105
  }
106
106
  if (is.isString(value) && value.length > 255) {
107
- callback(new Error(useLocale.$t("form.characterLimit", [columnLabelHandler(column, model), 255])));
107
+ callback(
108
+ new Error(useLocale.$t("form.characterLimit", [columnLabelHandler(column, model), 255]))
109
+ );
108
110
  return;
109
111
  }
110
112
  callback();
@@ -55,7 +55,10 @@ const generalMapMethods = {
55
55
  // 导入到地图里面
56
56
  getBounds: function(target, BM2) {
57
57
  const bounds = target.getBounds ? target.getBounds() : target;
58
- return BM2.latLngBounds(latAndLngCheck(bounds.getSouthWest()), latAndLngCheck(bounds.getNorthEast()));
58
+ return BM2.latLngBounds(
59
+ latAndLngCheck(bounds.getSouthWest()),
60
+ latAndLngCheck(bounds.getNorthEast())
61
+ );
59
62
  },
60
63
  getMap: function(map) {
61
64
  return map.getRawMap ? map.getRawMap() : map;
@@ -63,7 +66,10 @@ const generalMapMethods = {
63
66
  // 导出到外面
64
67
  getBoundsExport: function(target, BM2) {
65
68
  const bounds = target.getBounds();
66
- return BM2.latLngBounds(latAndLngCheckExport(bounds.getSouthWest()), latAndLngCheckExport(bounds.getNorthEast()));
69
+ return BM2.latLngBounds(
70
+ latAndLngCheckExport(bounds.getSouthWest()),
71
+ latAndLngCheckExport(bounds.getNorthEast())
72
+ );
67
73
  }
68
74
  };
69
75
  function latAndLngCheck(item) {
@@ -799,7 +805,9 @@ class bigMap extends events.EventEmitter {
799
805
  const markerItem = rangingMarker[index];
800
806
  const isLast = showDeleteAll ?? !rangingMarker[index + 1]?.options?.extData?.distance;
801
807
  markerItem.setIcon({
802
- divIcon: _this.DivIcon(rangingPointIconOption(options, distance, markerItem.options.extData.dicId, isLast))
808
+ divIcon: _this.DivIcon(
809
+ rangingPointIconOption(options, distance, markerItem.options.extData.dicId, isLast)
810
+ )
803
811
  });
804
812
  markerItem.options.extData.distance = distance;
805
813
  }
@@ -827,7 +835,10 @@ class bigMap extends events.EventEmitter {
827
835
  rangingPointsIng.push({ lat, lng });
828
836
  } else {
829
837
  const latlngs = [
830
- [rangingPointsIng[rangingPointsIng.length - 1].lat, rangingPointsIng[rangingPointsIng.length - 1].lng],
838
+ [
839
+ rangingPointsIng[rangingPointsIng.length - 1].lat,
840
+ rangingPointsIng[rangingPointsIng.length - 1].lng
841
+ ],
831
842
  [lat, lng]
832
843
  ];
833
844
  const polyline = _this.Polyline(latlngs, {
@@ -845,7 +856,9 @@ class bigMap extends events.EventEmitter {
845
856
  { lat: latlngs[1][0], lng: latlngs[1][1] }
846
857
  );
847
858
  distance = parseFloat((distance / 1e3).toFixed(2));
848
- const total = parseFloat(rangingMarker[rangingMarker.length - 1].options.extData.distance || 0);
859
+ const total = parseFloat(
860
+ rangingMarker[rangingMarker.length - 1].options.extData.distance || 0
861
+ );
849
862
  distance = (distance + total).toFixed(2);
850
863
  const customIcon = _this.DivIcon(rangingPointIconOption(options, distance, dicId));
851
864
  const markerItem = _this.Marker({
@@ -143,7 +143,10 @@ class Google extends events.EventEmitter {
143
143
  const handlers = {
144
144
  // return 单位:m
145
145
  distance: function(target, latAndlng1, latAndlng2) {
146
- return AMap.GeometryUtil.distance([latAndlng1.lng, latAndlng1.lat], [latAndlng2.lng, latAndlng2.lat]);
146
+ return AMap.GeometryUtil.distance(
147
+ [latAndlng1.lng, latAndlng1.lat],
148
+ [latAndlng2.lng, latAndlng2.lat]
149
+ );
147
150
  },
148
151
  // 删除地图
149
152
  removeMap: function(target) {
@@ -87,7 +87,10 @@ const generalMapMethods = {
87
87
  */
88
88
  getBounds(target) {
89
89
  const bounds = target.getBounds();
90
- return L.latLngBounds(latAndLngCheck(bounds.getSouthWest()), latAndLngCheck(bounds.getNorthEast()));
90
+ return L.latLngBounds(
91
+ latAndLngCheck(bounds.getSouthWest()),
92
+ latAndLngCheck(bounds.getNorthEast())
93
+ );
91
94
  },
92
95
  /**
93
96
  * 包装Map实例
@@ -104,7 +107,10 @@ const generalMapMethods = {
104
107
  */
105
108
  getBoundsExport(target) {
106
109
  const bounds = target.getBounds();
107
- return L.latLngBounds(latAndLngCheckExport(bounds.getSouthWest()), latAndLngCheckExport(bounds.getNorthEast()));
110
+ return L.latLngBounds(
111
+ latAndLngCheckExport(bounds.getSouthWest()),
112
+ latAndLngCheckExport(bounds.getNorthEast())
113
+ );
108
114
  }
109
115
  };
110
116
  function latAndLngCheck(item) {
@@ -132,7 +138,8 @@ function latLngListCheck(dataList = []) {
132
138
  function latLngListCheckExport(dataList = []) {
133
139
  return dataList.map((item) => {
134
140
  const isArray = Array.isArray(item);
135
- if (isArray && (item.length === 0 || typeof item[0] === "object")) return latLngListCheckExport(item);
141
+ if (isArray && (item.length === 0 || typeof item[0] === "object"))
142
+ return latLngListCheckExport(item);
136
143
  const { lat, lng } = latAndLngCheckExport(item);
137
144
  return isArray ? [lat, lng] : { ...item, lat, lng };
138
145
  });
@@ -410,7 +417,12 @@ class Leafletjs extends events.EventEmitter {
410
417
  }
411
418
  // 超图 WMTS 图层(不适用所有的WMTS图层,目前仅支持超图WMTS,因不同的WMTS服务规范不一样,主要体现在路由访问参数)
412
419
  createWMTSLayer(map, option = {}) {
413
- const { url, layer, tilematrixSet, format = "image/png" } = typeof option === "string" ? { url: option } : option;
420
+ const {
421
+ url,
422
+ layer,
423
+ tilematrixSet,
424
+ format = "image/png"
425
+ } = typeof option === "string" ? { url: option } : option;
414
426
  const crs = getCrs(this.initParams.crs);
415
427
  if (!L.WMTSLayer) {
416
428
  L.WMTSLayer = L.TileLayer.extend({
@@ -519,7 +531,9 @@ class Leafletjs extends events.EventEmitter {
519
531
  }
520
532
  // 地图图层
521
533
  layerGroup(map, markers = []) {
522
- const layerGroup = L.layerGroup(markers.map((item) => item.getInitLayer?.() || item)).addTo(getInitMap(map));
534
+ const layerGroup = L.layerGroup(markers.map((item) => item.getInitLayer?.() || item)).addTo(
535
+ getInitMap(map)
536
+ );
523
537
  const handlers = {
524
538
  addLayer: function(target, addItem) {
525
539
  return target.addLayer(addItem.getInitLayer?.() || addItem);
@@ -1041,7 +1055,9 @@ class Leafletjs extends events.EventEmitter {
1041
1055
  const markerItem = rangingMarker[index];
1042
1056
  const isLast = showDeleteAll ?? !rangingMarker[index + 1]?.options?.extData?.distance;
1043
1057
  markerItem.setIcon({
1044
- divIcon: _this.DivIcon(rangingPointIconOption(options, distance, markerItem.options.extData.dicId, isLast))
1058
+ divIcon: _this.DivIcon(
1059
+ rangingPointIconOption(options, distance, markerItem.options.extData.dicId, isLast)
1060
+ )
1045
1061
  });
1046
1062
  markerItem.options.extData.distance = distance;
1047
1063
  }
@@ -1069,7 +1085,10 @@ class Leafletjs extends events.EventEmitter {
1069
1085
  rangingPointsIng.push({ lat, lng });
1070
1086
  } else {
1071
1087
  const latlngs = [
1072
- [rangingPointsIng[rangingPointsIng.length - 1].lat, rangingPointsIng[rangingPointsIng.length - 1].lng],
1088
+ [
1089
+ rangingPointsIng[rangingPointsIng.length - 1].lat,
1090
+ rangingPointsIng[rangingPointsIng.length - 1].lng
1091
+ ],
1073
1092
  [lat, lng]
1074
1093
  ];
1075
1094
  const polyline = _this.Polyline(latlngs, {
@@ -1087,7 +1106,9 @@ class Leafletjs extends events.EventEmitter {
1087
1106
  { lat: latlngs[1][0], lng: latlngs[1][1] }
1088
1107
  );
1089
1108
  distance = parseFloat((distance / 1e3).toFixed(2));
1090
- const total = parseFloat(rangingMarker[rangingMarker.length - 1].options.extData.distance || 0);
1109
+ const total = parseFloat(
1110
+ rangingMarker[rangingMarker.length - 1].options.extData.distance || 0
1111
+ );
1091
1112
  distance = (distance + total).toFixed(2);
1092
1113
  const customIcon = _this.DivIcon(rangingPointIconOption(options, distance, dicId));
1093
1114
  const markerItem = _this.Marker({
@@ -144,7 +144,6 @@ function loadScript(url) {
144
144
  return promise;
145
145
  }
146
146
  function bmInit() {
147
- ;
148
147
  (function() {
149
148
  var originalInitTile = window.BM.GridLayer.prototype._initTile;
150
149
  window.BM.GridLayer.include({
@@ -22,7 +22,9 @@ function useUiComponent(componentName) {
22
22
  throw new Error(`[useUiComponent] \u7EC4\u4EF6 ${componentName} \u5728 componentsMap \u4E2D\u4E0D\u5B58\u5728`);
23
23
  });
24
24
  }
25
- throw new Error(`[useUiComponent] useUiComponent('${componentName}') \u9700\u8981\u901A\u8FC7 HyConfigProvider \u63D0\u4F9B componentsMap \u548C versionStore`);
25
+ throw new Error(
26
+ `[useUiComponent] useUiComponent('${componentName}') \u9700\u8981\u901A\u8FC7 HyConfigProvider \u63D0\u4F9B componentsMap \u548C versionStore`
27
+ );
26
28
  return {
27
29
  currentComponentsMap,
28
30
  currentVersionStore
package/lib/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
- const version = "0.2.85";
3
+ const version = "0.2.86";
4
4
 
5
5
  exports.version = version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hy-dispatch-ui-v3",
3
- "version": "0.2.86",
3
+ "version": "0.2.87",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.mjs",
6
6
  "scripts": {
@@ -52,8 +52,8 @@
52
52
  "xlsx": "^0.17.3"
53
53
  },
54
54
  "devDependencies": {
55
- "@babel/eslint-parser": "^7.28.6",
56
55
  "@babel/parser": "^8.0.4",
56
+ "@eslint/js": "^10.0.1",
57
57
  "@pnpm/find-workspace-packages": "^6.0.9",
58
58
  "@rollup/plugin-alias": "^6.0.0",
59
59
  "@rollup/plugin-babel": "7.0.0",
@@ -70,13 +70,13 @@
70
70
  "commander": "11.0.0",
71
71
  "consola": "^2.15.3",
72
72
  "element-plus": "^2.14.2",
73
- "eslint": "8.57.1",
74
- "eslint-config-prettier": "9.1.2",
75
- "eslint-define-config": "2.1.0",
76
- "eslint-plugin-prettier": "5.5.4",
77
- "eslint-plugin-vue": "9.32.0",
73
+ "eslint": "^10.0.3",
74
+ "eslint-config-prettier": "^10.1.8",
75
+ "eslint-plugin-prettier": "^5.5.5",
76
+ "eslint-plugin-vue": "^10.8.0",
78
77
  "fast-glob": "^3.3.3",
79
78
  "fs-extra": "^11.1.0",
79
+ "globals": "^17.4.0",
80
80
  "gulp": "4.0.2",
81
81
  "gulp-babel": "^8.0.0",
82
82
  "gulp-postcss": "^10.0.0",
@@ -98,7 +98,7 @@
98
98
  "vite": "^7.3.1",
99
99
  "vue": "^3.5.25",
100
100
  "vue-draggable-plus": "^0.6.1",
101
- "vue-eslint-parser": "^9.4.3",
101
+ "vue-eslint-parser": "^10.4.0",
102
102
  "vue-i18n": "^11.4.12",
103
103
  "vue-router": "^5.2.0"
104
104
  },