hy-dispatch-ui-v3 0.2.62 → 0.2.64

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 (232) hide show
  1. package/dist/tailwind.css +4 -5
  2. package/es/api/device.mjs +1 -0
  3. package/es/api/index.mjs +1 -0
  4. package/es/api/sypct.mjs +1 -0
  5. package/es/api/task.mjs +1 -0
  6. package/es/bussiness/hyAddDepartmentType/addDepartmentType.vue.mjs +6 -3
  7. package/es/bussiness/hyAddDepartmentType/index.mjs +1 -0
  8. package/es/bussiness/hyMapAearchPlace/index.mjs +1 -0
  9. package/es/bussiness/hyMapAearchPlace/js/index.mjs +39 -42
  10. package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +24 -5
  11. package/es/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.mjs +2 -0
  12. package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +3 -0
  13. package/es/components/hyAudioPlayer/index.mjs +1 -0
  14. package/es/components/hyAudioPlayer/js/index.mjs +5 -1
  15. package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +4 -0
  16. package/es/components/hyBatchUploadDialog/index.mjs +1 -0
  17. package/es/components/hyButton/button.vue.mjs +3 -2
  18. package/es/components/hyButton/index.mjs +1 -0
  19. package/es/components/hyButton/style/button.scss +9 -2
  20. package/es/components/hyConfigProvider/configProvider.vue.mjs +2 -1
  21. package/es/components/hyConfigProvider/index.mjs +1 -0
  22. package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +4 -0
  23. package/es/components/hyConfirmDialog/confirmMethod.mjs +5 -3
  24. package/es/components/hyConfirmDialog/index.mjs +1 -0
  25. package/es/components/hyCutter/cutter.vue.mjs +5 -2
  26. package/es/components/hyCutter/index.mjs +1 -0
  27. package/es/components/hyDatePicker/datePicker.vue.mjs +2 -0
  28. package/es/components/hyDatePicker/index.mjs +1 -0
  29. package/es/components/hyDialog/dialog.vue.mjs +99 -28
  30. package/es/components/hyDialog/index.mjs +1 -0
  31. package/es/components/hyForm/cpns/arrayItem.vue.mjs +16 -3
  32. package/es/components/hyForm/cpns/extraItem.vue.mjs +2 -0
  33. package/es/components/hyForm/cpns/formItem.vue.mjs +4 -1
  34. package/es/components/hyForm/cpns/locationSelect.vue.mjs +5 -1
  35. package/es/components/hyForm/form.vue.mjs +9 -3
  36. package/es/components/hyForm/index.mjs +1 -0
  37. package/es/components/hyForm/js/index.mjs +3 -1
  38. package/es/components/hyForm/js/useAppForm.mjs +4 -2
  39. package/es/components/hyIcon/icon.vue.mjs +2 -1
  40. package/es/components/hyIcon/index.mjs +1 -0
  41. package/es/components/hyIconBox/iconBox.vue.mjs +1 -0
  42. package/es/components/hyIconBox/index.mjs +1 -0
  43. package/es/components/hyInput/index.mjs +1 -0
  44. package/es/components/hyInput/input.vue.mjs +3 -1
  45. package/es/components/hyInput/inputSearch.vue.mjs +2 -1
  46. package/es/components/hyLoading/index.mjs +41 -0
  47. package/es/components/hyMap/index.mjs +1 -0
  48. package/es/components/hyMap/js/index.mjs +82 -0
  49. package/es/components/hyMap/map.vue.mjs +1 -0
  50. package/es/components/hyMenu/index.mjs +1 -0
  51. package/es/components/hyMenu/menu.vue.mjs +4 -0
  52. package/es/components/hyNoPermissions/index.mjs +1 -0
  53. package/es/components/hyNoPermissions/noPermissions.vue.mjs +4 -0
  54. package/es/components/hyNoPermissionsMap/index.mjs +1 -0
  55. package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +4 -0
  56. package/es/components/hyOrgCascader/index.mjs +1 -0
  57. package/es/components/hyOrgCascader/js/index.mjs +2 -0
  58. package/es/components/hyOrgCascader/orgCascader.vue.mjs +2 -1
  59. package/es/components/hyRadioGroup/index.mjs +1 -0
  60. package/es/components/hyRadioGroup/radioGroup.vue.mjs +2 -2
  61. package/es/components/hySearch/cpns/searchItem.vue.mjs +3 -1
  62. package/es/components/hySearch/index.mjs +1 -0
  63. package/es/components/hySearch/js/index.mjs +4 -2
  64. package/es/components/hySearch/js/useAppSearch.mjs +4 -2
  65. package/es/components/hySearch/search.vue.mjs +3 -0
  66. package/es/components/hyTable/cpns/columnSelect.vue.mjs +6 -3
  67. package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +3 -0
  68. package/es/components/hyTable/cpns/headerItem.vue.mjs +3 -0
  69. package/es/components/hyTable/cpns/virtualTable.vue.mjs +27 -45
  70. package/es/components/hyTable/index.mjs +1 -0
  71. package/es/components/hyTable/js/index.mjs +80 -28
  72. package/es/components/hyTable/js/search.mjs +2 -0
  73. package/es/components/hyTable/js/useAppTable.mjs +9 -5
  74. package/es/components/hyTable/table.vue.mjs +16 -8
  75. package/es/components/hyTableActionButton/index.mjs +1 -0
  76. package/es/components/hyTableActionButton/tableActionButton.vue.mjs +8 -7
  77. package/es/components/hyTableForm/batchTableForm.vue.mjs +5 -2
  78. package/es/components/hyTableForm/index.mjs +1 -0
  79. package/es/components/hyTableForm/js/index.mjs +36 -0
  80. package/es/components/hyTableForm/js/useAppTableForm.mjs +2 -0
  81. package/es/components/hyTableForm/tableForm.vue.mjs +4 -2
  82. package/es/components/hyTimePicker/index.mjs +1 -0
  83. package/es/components/hyTimePicker/timePicker.vue.mjs +3 -1
  84. package/es/components/hyTooltip/index.mjs +1 -0
  85. package/es/components/hyTooltip/tooltip.vue.mjs +4 -2
  86. package/es/components/hyTree/index.mjs +1 -0
  87. package/es/components/hyTree/js/index.mjs +49 -14
  88. package/es/components/hyTree/tree.vue.mjs +13 -6
  89. package/es/components/hyUserAvatar/index.mjs +1 -0
  90. package/es/components/hyUserAvatar/userAvatar.vue.mjs +5 -1
  91. package/es/components/hyVideoPlayer/cpns/mediaLoading.vue.mjs +1 -0
  92. package/es/components/hyVideoPlayer/index.mjs +1 -0
  93. package/es/components/hyVideoPlayer/js/index.mjs +7 -2
  94. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +3 -0
  95. package/es/components/index.mjs +1 -0
  96. package/es/hooks/useGlobalConfig.mjs +1 -1
  97. package/es/hooks/useLocale.mjs +4 -2
  98. package/es/hooks/useResizeHandler.mjs +1 -0
  99. package/es/hooks/useResizeObserver.mjs +1 -1
  100. package/es/index.mjs +6 -0
  101. package/es/locale/en.mjs +1 -2
  102. package/es/locale/zh_CN.mjs +1 -2
  103. package/es/make-installer.mjs +1 -0
  104. package/es/static/hy-svg-icons/hy-icon-ops-list-lod.js +14 -0
  105. package/es/utils/file.mjs +1 -0
  106. package/es/utils/form.mjs +2 -1
  107. package/es/utils/handler.mjs +2 -0
  108. package/es/utils/index.mjs +2 -0
  109. package/es/utils/input.mjs +1 -0
  110. package/es/utils/is.mjs +1 -0
  111. package/es/utils/map/hook/bigMap.mjs +3 -2
  112. package/es/utils/map/hook/gaode.mjs +2 -2
  113. package/es/utils/map/hook/leafletjs.mjs +7 -1
  114. package/es/utils/map/index.mjs +12 -0
  115. package/es/utils/map/js/webgis.mjs +4 -1
  116. package/es/utils/sharedContent.mjs +12 -0
  117. package/es/version.mjs +1 -1
  118. package/lib/api/device.js +1 -0
  119. package/lib/api/index.js +1 -0
  120. package/lib/api/sypct.js +1 -0
  121. package/lib/api/task.js +1 -0
  122. package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +15 -12
  123. package/lib/bussiness/hyAddDepartmentType/index.js +1 -0
  124. package/lib/bussiness/hyMapAearchPlace/index.js +1 -0
  125. package/lib/bussiness/hyMapAearchPlace/js/index.js +37 -40
  126. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +23 -4
  127. package/lib/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.js +2 -0
  128. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +3 -0
  129. package/lib/components/hyAudioPlayer/index.js +1 -0
  130. package/lib/components/hyAudioPlayer/js/index.js +5 -1
  131. package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +4 -0
  132. package/lib/components/hyBatchUploadDialog/index.js +1 -0
  133. package/lib/components/hyButton/button.vue.js +2 -1
  134. package/lib/components/hyButton/index.js +1 -0
  135. package/lib/components/hyButton/style/button.scss +9 -2
  136. package/lib/components/hyConfigProvider/configProvider.vue.js +1 -0
  137. package/lib/components/hyConfigProvider/index.js +1 -0
  138. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +4 -0
  139. package/lib/components/hyConfirmDialog/confirmMethod.js +5 -3
  140. package/lib/components/hyConfirmDialog/index.js +1 -0
  141. package/lib/components/hyCutter/cutter.vue.js +3 -0
  142. package/lib/components/hyCutter/index.js +1 -0
  143. package/lib/components/hyDatePicker/datePicker.vue.js +2 -0
  144. package/lib/components/hyDatePicker/index.js +1 -0
  145. package/lib/components/hyDialog/dialog.vue.js +97 -26
  146. package/lib/components/hyDialog/index.js +1 -0
  147. package/lib/components/hyForm/cpns/arrayItem.vue.js +16 -3
  148. package/lib/components/hyForm/cpns/extraItem.vue.js +2 -0
  149. package/lib/components/hyForm/cpns/formItem.vue.js +3 -0
  150. package/lib/components/hyForm/cpns/locationSelect.vue.js +5 -1
  151. package/lib/components/hyForm/form.vue.js +9 -3
  152. package/lib/components/hyForm/index.js +1 -0
  153. package/lib/components/hyForm/js/index.js +3 -1
  154. package/lib/components/hyForm/js/useAppForm.js +3 -1
  155. package/lib/components/hyIcon/icon.vue.js +1 -0
  156. package/lib/components/hyIcon/index.js +1 -0
  157. package/lib/components/hyIconBox/iconBox.vue.js +1 -0
  158. package/lib/components/hyIconBox/index.js +1 -0
  159. package/lib/components/hyInput/index.js +1 -0
  160. package/lib/components/hyInput/input.vue.js +2 -0
  161. package/lib/components/hyInput/inputSearch.vue.js +1 -0
  162. package/lib/components/hyLoading/index.js +47 -0
  163. package/lib/components/hyMap/index.js +1 -0
  164. package/lib/components/hyMap/js/index.js +82 -0
  165. package/lib/components/hyMap/map.vue.js +1 -0
  166. package/lib/components/hyMenu/index.js +1 -0
  167. package/lib/components/hyMenu/menu.vue.js +4 -0
  168. package/lib/components/hyNoPermissions/index.js +1 -0
  169. package/lib/components/hyNoPermissions/noPermissions.vue.js +4 -0
  170. package/lib/components/hyNoPermissionsMap/index.js +1 -0
  171. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +4 -0
  172. package/lib/components/hyOrgCascader/index.js +1 -0
  173. package/lib/components/hyOrgCascader/js/index.js +2 -0
  174. package/lib/components/hyOrgCascader/orgCascader.vue.js +2 -1
  175. package/lib/components/hyRadioGroup/index.js +1 -0
  176. package/lib/components/hyRadioGroup/radioGroup.vue.js +1 -1
  177. package/lib/components/hySearch/cpns/searchItem.vue.js +2 -0
  178. package/lib/components/hySearch/index.js +1 -0
  179. package/lib/components/hySearch/js/index.js +3 -1
  180. package/lib/components/hySearch/js/useAppSearch.js +4 -2
  181. package/lib/components/hySearch/search.vue.js +3 -0
  182. package/lib/components/hyTable/cpns/columnSelect.vue.js +4 -1
  183. package/lib/components/hyTable/cpns/columnSelectItem.vue.js +3 -0
  184. package/lib/components/hyTable/cpns/headerItem.vue.js +3 -0
  185. package/lib/components/hyTable/cpns/virtualTable.vue.js +25 -43
  186. package/lib/components/hyTable/index.js +1 -0
  187. package/lib/components/hyTable/js/index.js +79 -27
  188. package/lib/components/hyTable/js/search.js +2 -0
  189. package/lib/components/hyTable/js/useAppTable.js +8 -4
  190. package/lib/components/hyTable/table.vue.js +15 -7
  191. package/lib/components/hyTableActionButton/index.js +1 -0
  192. package/lib/components/hyTableActionButton/tableActionButton.vue.js +7 -6
  193. package/lib/components/hyTableForm/batchTableForm.vue.js +15 -12
  194. package/lib/components/hyTableForm/index.js +1 -0
  195. package/lib/components/hyTableForm/js/index.js +36 -0
  196. package/lib/components/hyTableForm/js/useAppTableForm.js +2 -0
  197. package/lib/components/hyTableForm/tableForm.vue.js +12 -10
  198. package/lib/components/hyTimePicker/index.js +1 -0
  199. package/lib/components/hyTimePicker/timePicker.vue.js +2 -0
  200. package/lib/components/hyTooltip/index.js +1 -0
  201. package/lib/components/hyTooltip/tooltip.vue.js +2 -0
  202. package/lib/components/hyTree/index.js +1 -0
  203. package/lib/components/hyTree/js/index.js +48 -13
  204. package/lib/components/hyTree/tree.vue.js +13 -6
  205. package/lib/components/hyUserAvatar/index.js +1 -0
  206. package/lib/components/hyUserAvatar/userAvatar.vue.js +5 -1
  207. package/lib/components/hyVideoPlayer/cpns/mediaLoading.vue.js +1 -0
  208. package/lib/components/hyVideoPlayer/index.js +1 -0
  209. package/lib/components/hyVideoPlayer/js/index.js +7 -2
  210. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +3 -0
  211. package/lib/components/index.js +56 -53
  212. package/lib/hooks/useLocale.js +3 -1
  213. package/lib/hooks/useResizeHandler.js +1 -0
  214. package/lib/index.js +70 -61
  215. package/lib/locale/en.js +1 -2
  216. package/lib/locale/zh_CN.js +1 -2
  217. package/lib/make-installer.js +1 -0
  218. package/lib/static/hy-svg-icons/hy-icon-ops-list-lod.js +14 -0
  219. package/lib/utils/file.js +1 -0
  220. package/lib/utils/form.js +1 -0
  221. package/lib/utils/handler.js +2 -0
  222. package/lib/utils/index.js +3 -0
  223. package/lib/utils/input.js +1 -0
  224. package/lib/utils/is.js +1 -0
  225. package/lib/utils/map/hook/bigMap.js +3 -2
  226. package/lib/utils/map/hook/gaode.js +1 -1
  227. package/lib/utils/map/hook/leafletjs.js +7 -1
  228. package/lib/utils/map/index.js +12 -0
  229. package/lib/utils/map/js/webgis.js +4 -1
  230. package/lib/utils/sharedContent.js +14 -0
  231. package/lib/version.js +1 -1
  232. package/package.json +2 -1
@@ -3,6 +3,7 @@ import Leafletjs from './hook/leafletjs.mjs';
3
3
  import bigMap from './hook/bigMap.mjs';
4
4
  import { EventEmitter } from 'events';
5
5
  import hyCommon, { Common } from 'hy-common';
6
+ import '../../hooks/index.mjs';
6
7
  import { useApi } from '../../hooks/useApi.mjs';
7
8
 
8
9
  const scriptPromises = new globalThis.Map();
@@ -146,6 +147,7 @@ function loadScript(url) {
146
147
  return promise;
147
148
  }
148
149
  function bmInit() {
150
+ ;
149
151
  (function() {
150
152
  var originalInitTile = window.BM.GridLayer.prototype._initTile;
151
153
  window.BM.GridLayer.include({
@@ -259,6 +261,8 @@ class InitMap extends EventEmitter {
259
261
  // 自定义 Circle
260
262
  Circle(latLngList, option) {
261
263
  option = {
264
+ opacity: 1,
265
+ weight: 1,
262
266
  ...option,
263
267
  radius: option.radius,
264
268
  color: option.color,
@@ -272,6 +276,8 @@ class InitMap extends EventEmitter {
272
276
  // 自定义 Polygon
273
277
  Polygon(pathList = [], option) {
274
278
  option = {
279
+ opacity: 1,
280
+ weight: 1,
275
281
  ...option,
276
282
  color: option.color,
277
283
  opacity: option.opacity,
@@ -296,6 +302,8 @@ class InitMap extends EventEmitter {
296
302
  // 自定义 Polyline
297
303
  Polyline(latLngList, option) {
298
304
  option = {
305
+ opacity: 1,
306
+ weight: 1,
299
307
  closeOnClick: false,
300
308
  ...option,
301
309
  color: option.color,
@@ -320,6 +328,10 @@ class InitMap extends EventEmitter {
320
328
  RangingTool(options = {}, map) {
321
329
  return this.map.RangingTool(options, map);
322
330
  }
331
+ // 地图图层
332
+ layerGroup(map, markers = []) {
333
+ return this.map.layerGroup(map, markers);
334
+ }
323
335
  }
324
336
 
325
337
  export { InitMap, setMapServer, setPoiServer };
@@ -32,7 +32,10 @@ function ToLon(x, y) {
32
32
  return ret;
33
33
  }
34
34
  const Coordinate = {
35
- "WGS84": 0};
35
+ "WGS84": 0,
36
+ "GCJ02": 1,
37
+ "BD09": 2
38
+ };
36
39
  const reverseCoordinate = {
37
40
  0: "WGS84",
38
41
  1: "GCJ02",
@@ -0,0 +1,12 @@
1
+ const loadingSvg = `
2
+ <path class="path" d="
3
+ M 30 15
4
+ L 28 17
5
+ M 25.61 25.61
6
+ A 15 15, 0, 0, 1, 15 30
7
+ A 15 15, 0, 1, 1, 27.99 7.5
8
+ L 15 15
9
+ " style="stroke-width: 4px; fill: rgba(0, 0, 0, 0)"/>
10
+ `;
11
+
12
+ export { loadingSvg };
package/es/version.mjs CHANGED
@@ -1,3 +1,3 @@
1
- const version = "0.2.61";
1
+ const version = "0.2.63";
2
2
 
3
3
  export { version };
package/lib/api/device.js CHANGED
@@ -1,5 +1,6 @@
1
1
  'use strict';
2
2
 
3
+ require('../hooks/index.js');
3
4
  var vue = require('vue');
4
5
  var useLocale = require('../hooks/useLocale.js');
5
6
  var useApi = require('../hooks/useApi.js');
package/lib/api/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  'use strict';
2
2
 
3
+ require('../hooks/index.js');
3
4
  var vue = require('vue');
4
5
  var useLocale = require('../hooks/useLocale.js');
5
6
  var useApi = require('../hooks/useApi.js');
package/lib/api/sypct.js CHANGED
@@ -1,5 +1,6 @@
1
1
  'use strict';
2
2
 
3
+ require('../hooks/index.js');
3
4
  var vue = require('vue');
4
5
  var useLocale = require('../hooks/useLocale.js');
5
6
  var useApi = require('../hooks/useApi.js');
package/lib/api/task.js CHANGED
@@ -1,5 +1,6 @@
1
1
  'use strict';
2
2
 
3
+ require('../hooks/index.js');
3
4
  var vue = require('vue');
4
5
  var useLocale = require('../hooks/useLocale.js');
5
6
  var useApi = require('../hooks/useApi.js');
@@ -3,16 +3,19 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
+ require('../../hooks/index.js');
6
7
  var elementPlus = require('element-plus');
7
- var index$4 = require('../../api/index.js');
8
+ var index = require('../../api/index.js');
9
+ require('../../utils/index.js');
10
+ require('../../components/index.js');
8
11
  var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
9
12
  var useLocale = require('../../hooks/useLocale.js');
10
- var useMixins = require('../../hooks/useMixins.js');
11
- var index = require('../../components/hyDialog/index.js');
12
- var index$1 = require('../../components/hyIcon/index.js');
13
- var index$2 = require('../../components/hyButton/index.js');
14
- var index$3 = require('../../components/hyCutter/index.js');
15
13
  var file = require('../../utils/file.js');
14
+ var useMixins = require('../../hooks/useMixins.js');
15
+ var index$1 = require('../../components/hyDialog/index.js');
16
+ var index$2 = require('../../components/hyIcon/index.js');
17
+ var index$3 = require('../../components/hyButton/index.js');
18
+ var index$4 = require('../../components/hyCutter/index.js');
16
19
 
17
20
  const __default__ = vue.defineComponent({
18
21
  name: "HyAddDepartmentType"
@@ -92,7 +95,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
92
95
  if (!hy.form.value.icon) {
93
96
  hy.form.value.iconKey = null;
94
97
  }
95
- index$4.saveApi("organization/orgType", {
98
+ index.saveApi("organization/orgType", {
96
99
  ...hy.form.value,
97
100
  icon: null
98
101
  }).then((res) => {
@@ -169,7 +172,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
169
172
  });
170
173
  return (_ctx, _cache) => {
171
174
  const _component_el_input = vue.resolveComponent("el-input");
172
- return vue.openBlock(), vue.createBlock(vue.unref(index.HyDialog), {
175
+ return vue.openBlock(), vue.createBlock(vue.unref(index$1.HyDialog), {
173
176
  ref_key: "HyDialogRef",
174
177
  ref: HyDialogRef,
175
178
  modelValue: vue.unref(visible),
@@ -238,7 +241,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
238
241
  fit: "contain",
239
242
  class: "w-[44px] h-[44px]",
240
243
  src: vue.unref(form).icon
241
- }, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$1.HyIcon), {
244
+ }, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.HyIcon), {
242
245
  key: 1,
243
246
  "svg-name": "ops-file-empty-head",
244
247
  class: "text-auxiliary !w-[42px] !h-[42px]"
@@ -310,7 +313,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
310
313
  }, 8, ["model", "rules"])
311
314
  ]),
312
315
  vue.createElementVNode("div", { class: "flex items-center justify-center mt-5" }, [
313
- vue.createVNode(vue.unref(index$2.HyButton), {
316
+ vue.createVNode(vue.unref(index$3.HyButton), {
314
317
  class: "!min-w-[120px]",
315
318
  onClick: vue.unref(onClose)
316
319
  }, {
@@ -324,7 +327,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
324
327
  _: 1
325
328
  /* STABLE */
326
329
  }, 8, ["onClick"]),
327
- vue.createVNode(vue.unref(index$2.HyButton), {
330
+ vue.createVNode(vue.unref(index$3.HyButton), {
328
331
  type: "primary",
329
332
  class: "!min-w-[120px]",
330
333
  onClick: vue.unref(submit)
@@ -343,7 +346,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
343
346
  ])
344
347
  ]),
345
348
  vue.unref(visible) ? (vue.openBlock(), vue.createBlock(
346
- vue.unref(index$3.HyCutter),
349
+ vue.unref(index$4.HyCutter),
347
350
  {
348
351
  key: 0,
349
352
  ref_key: "HyCutterRef",
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var addDepartmentType = require('./addDepartmentType.vue.js');
6
+ require('../../utils/index.js');
6
7
  var handler = require('../../utils/handler.js');
7
8
 
8
9
  const HyAddDepartmentType = handler.withInstall(addDepartmentType.default);
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var mapAearchPlace = require('./mapAearchPlace.vue.js');
6
+ require('../../utils/index.js');
6
7
  var handler = require('../../utils/handler.js');
7
8
 
8
9
  const HyMapAearchPlace = handler.withInstall(mapAearchPlace.default);
@@ -6,10 +6,11 @@ var index$1 = require('../../../api/index.js');
6
6
  var task = require('../../../api/task.js');
7
7
  var device = require('../../../api/device.js');
8
8
  var sypct = require('../../../api/sypct.js');
9
+ require('../../../utils/index.js');
9
10
  var webgis = require('../../../utils/map/js/webgis.js');
10
11
  var index = require('../../../utils/map/index.js');
11
- var input = require('../../../utils/input.js');
12
12
  var is = require('../../../utils/is.js');
13
+ var input = require('../../../utils/input.js');
13
14
 
14
15
  const CoordinateDict = {
15
16
  0: "WGS84",
@@ -24,32 +25,6 @@ const CoordinateMap = {
24
25
  const useMapAearchPlace = (hy) => {
25
26
  const { props, emits, t } = hy;
26
27
  const poiServer = index.setPoiServer(props.mapConfig);
27
- const searchAddressTypeList = vue.ref([
28
- { label: "\u5730\u7406\u5730\u5740", value: 1 },
29
- // 水源点: 2
30
- // 防火单位: 3
31
- {
32
- label: "\u90E8\u95E8\u540D\u79F0",
33
- value: 4,
34
- permission: "operator_departmentManage"
35
- },
36
- { label: "\u67E5\u7ECF\u7EAC\u5EA6", value: 5 },
37
- {
38
- label: "\u67E5\u5DE1\u67E5\u70B9",
39
- value: 6,
40
- permission: "mission_patrolInspectionTask"
41
- },
42
- {
43
- label: "\u4EFB\u52A1\u540D\u79F0",
44
- value: 7,
45
- permission: "mission_commonTasks"
46
- },
47
- {
48
- label: "\u67E5\u8BE2\u8F66\u8F86",
49
- value: 8,
50
- permission: "commands_dutyStatus"
51
- }
52
- ]);
53
28
  const nextPageParams = vue.ref(null);
54
29
  const lnglat = vue.ref({
55
30
  lng: null,
@@ -93,20 +68,43 @@ const useMapAearchPlace = (hy) => {
93
68
  const mapCoordinateName = vue.computed(() => {
94
69
  return CoordinateDict[hy.mapCoordinate.value];
95
70
  });
96
- async function setSelectList() {
97
- const selectList = [];
98
- props.selectIdList.forEach((id) => {
99
- const item = hy.selectList.find((item2) => item2.value === id);
100
- if (item) {
101
- if (!item.permission || is.isPermission(item.permission)) {
102
- selectList.push(item);
103
- }
71
+ const searchAddressTypeList = vue.computed(() => {
72
+ const selectIdSet = props.selectIdList.reduce((value, id) => {
73
+ value.add(id);
74
+ return value;
75
+ }, /* @__PURE__ */ new Set());
76
+ return [
77
+ { label: "\u5730\u7406\u5730\u5740", value: 1 },
78
+ // 水源点: 2
79
+ // 防火单位: 3
80
+ {
81
+ label: "\u90E8\u95E8\u540D\u79F0",
82
+ value: 4,
83
+ permission: "operator_departmentManage"
84
+ },
85
+ { label: "\u67E5\u7ECF\u7EAC\u5EA6", value: 5 },
86
+ {
87
+ label: "\u67E5\u5DE1\u67E5\u70B9",
88
+ value: 6,
89
+ permission: "mission_patrolInspectionTask"
90
+ },
91
+ {
92
+ label: "\u4EFB\u52A1\u540D\u79F0",
93
+ value: 7,
94
+ permission: "mission_commonTasks"
95
+ },
96
+ {
97
+ label: "\u67E5\u8BE2\u8F66\u8F86",
98
+ value: 8,
99
+ permission: "commands_dutyStatus"
104
100
  }
101
+ ].filter((item) => {
102
+ if (!item.permission && !is.isPermission(item.permission)) {
103
+ return false;
104
+ }
105
+ return selectIdSet.has(item.value);
105
106
  });
106
- await vue.nextTick();
107
- hy.searchAddressType.value = selectList[0].value;
108
- hy.selectList = selectList;
109
- }
107
+ });
110
108
  async function lnglatCheckFn(content) {
111
109
  input.onlyNumber(hy.lnglat.value, content);
112
110
  await vue.nextTick();
@@ -627,7 +625,6 @@ const useMapAearchPlace = (hy) => {
627
625
  commonOptions,
628
626
  mapCoordinate,
629
627
  mapCoordinateName,
630
- setSelectList,
631
628
  lnglatCheckFn,
632
629
  onFocus,
633
630
  onBlur,
@@ -5,6 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vue = require('vue');
6
6
  var VirtualList = require('vue3-virtual-scroll-list');
7
7
  var elementPlus = require('element-plus');
8
+ require('../../hooks/index.js');
9
+ require('../../components/index.js');
8
10
  var index = require('./js/index.js');
9
11
  var mapAearchPlaceItem = require('./mapAearchPlaceItem.vue.js');
10
12
  var useLocale = require('../../hooks/useLocale.js');
@@ -80,7 +82,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
80
82
  commonOptions,
81
83
  mapCoordinate,
82
84
  mapCoordinateName,
83
- setSelectList,
84
85
  lnglatCheckFn,
85
86
  onFocus,
86
87
  onBlur,
@@ -103,6 +104,24 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
103
104
  titleFn,
104
105
  placeholderFn
105
106
  } = useMixins.useMixins({ props, emits, t }, [index.useMapAearchPlace]);
107
+ vue.watch(
108
+ () => searchAddressTypeList.value,
109
+ () => {
110
+ if (!searchAddressType.value) {
111
+ searchAddressType.value = searchAddressType.value[0];
112
+ searchAddressTypeFn();
113
+ } else {
114
+ const index = searchAddressTypeList.value.findIndex((item) => {
115
+ return searchAddressType.value === item.value;
116
+ });
117
+ if (index === -1) {
118
+ searchAddressType.value = searchAddressType.value[0];
119
+ searchAddressTypeFn();
120
+ }
121
+ }
122
+ },
123
+ { immediate: true, deep: true }
124
+ );
106
125
  __expose({});
107
126
  return (_ctx, _cache) => {
108
127
  return vue.openBlock(), vue.createElementBlock(
@@ -127,7 +146,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
127
146
  onBlur: vue.unref(onBlur)
128
147
  }, null, 8, ["modelValue", "onUpdate:modelValue", "options", "onChange", "onFocus", "onBlur"]),
129
148
  vue.createVNode(vue.unref(index$1.HyTooltip), {
130
- "open-delay": 500,
149
+ "show-after": 500,
131
150
  content: vue.unref(placeholder),
132
151
  placement: "bottom-start"
133
152
  }, {
@@ -152,7 +171,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
152
171
  }, 8, ["content"]),
153
172
  vue.createCommentVNode(" \u7ECF\u7EAC\u5EA6 "),
154
173
  vue.createVNode(vue.unref(index$1.HyTooltip), {
155
- "open-delay": 500,
174
+ "show-after": 500,
156
175
  content: "\u7EAC\u5EA6",
157
176
  placement: "bottom-start"
158
177
  }, {
@@ -177,7 +196,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
177
196
  /* STABLE */
178
197
  }),
179
198
  vue.createVNode(vue.unref(index$1.HyTooltip), {
180
- "open-delay": 500,
199
+ "show-after": 500,
181
200
  content: "\u7ECF\u5EA6",
182
201
  placement: "bottom-start"
183
202
  }, {
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
+ require('../../components/index.js');
6
7
  var index = require('../../components/hyIcon/index.js');
7
8
 
8
9
  const _sfc_main = {
@@ -31,6 +32,7 @@ const _sfc_main = {
31
32
  }
32
33
  },
33
34
  setup(__props) {
35
+ const props = __props;
34
36
  return (_ctx, _cache) => {
35
37
  return vue.openBlock(), vue.createElementBlock("li", {
36
38
  class: "flex items-center css-text-no-select py-2 pl-2.5 border-b border-background-3 clickBox hover:bg-background-3",
@@ -4,6 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
6
  var elementPlus = require('element-plus');
7
+ require('../../hooks/index.js');
8
+ require('../../utils/index.js');
9
+ require('../index.js');
7
10
  var mediaLoading = require('../hyVideoPlayer/cpns/mediaLoading.vue.js');
8
11
  var index = require('./js/index.js');
9
12
  var useLocale = require('../../hooks/useLocale.js');
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var audioPlayer = require('./audioPlayer.vue.js');
6
+ require('../../utils/index.js');
6
7
  var handler = require('../../utils/handler.js');
7
8
 
8
9
  const HyAudioPlayer = handler.withInstall(audioPlayer.default);
@@ -2,6 +2,9 @@
2
2
 
3
3
  var vue = require('vue');
4
4
  var elementPlus = require('element-plus');
5
+ require('dayjs');
6
+ require('../../../hooks/index.js');
7
+ require('../../../utils/index.js');
5
8
  var useLocale = require('../../../hooks/useLocale.js');
6
9
  var useAudioPlayerConfig = require('../../../hooks/useAudioPlayerConfig.js');
7
10
  var date = require('../../../utils/date.js');
@@ -243,7 +246,8 @@ const useAudioPlayer = (hy) => {
243
246
  document.removeEventListener("fullscreenchange", fullscreenchangeHandler);
244
247
  }
245
248
  function fullscreenchangeHandler(e) {
246
- if (document.fullscreenElement) ; else {
249
+ if (document.fullscreenElement) {
250
+ } else {
247
251
  isFullScreen.value = false;
248
252
  }
249
253
  }
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vue = require('vue');
6
6
  var elementPlus = require('element-plus');
7
7
  var iconsVue = require('@element-plus/icons-vue');
8
+ require('../index.js');
8
9
  var index = require('../hyDialog/index.js');
9
10
  var index$1 = require('../hyTableForm/index.js');
10
11
  var index$2 = require('../hyButton/index.js');
@@ -211,6 +212,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
211
212
  },
212
213
  setData: (source) => {
213
214
  batchTableFormRef.value.setData(source);
215
+ },
216
+ setDragLevelIndex: (dragLevel) => {
217
+ HyDialogRef.value.setDragLevelIndex(dragLevel);
214
218
  }
215
219
  });
216
220
  return (_ctx, _cache) => {
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var batchUploadDialog = require('./batchUploadDialog.vue.js');
6
+ require('../../utils/index.js');
6
7
  var handler = require('../../utils/handler.js');
7
8
 
8
9
  const HyBatchUploadDialog = handler.withInstall(batchUploadDialog.default);
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vue = require('vue');
6
6
  var elementPlus = require('element-plus');
7
7
  var iconsVue = require('@element-plus/icons-vue');
8
+ require('../index.js');
8
9
  var index = require('../hyTooltip/index.js');
9
10
  var index$1 = require('../hyIcon/index.js');
10
11
 
@@ -123,7 +124,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
123
124
  }, {
124
125
  default: vue.withCtx(() => [
125
126
  vue.renderSlot(_ctx.$slots, "content", {}, () => [
126
- vue.createElementVNode("div", { class: "flex items-center text-main px-3" }, [
127
+ vue.createElementVNode("div", { class: "h-full flex items-center text-main px-3" }, [
127
128
  !__props.loading ? vue.renderSlot(_ctx.$slots, "svg", {}, () => [
128
129
  __props.svgName ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.HyIcon), {
129
130
  key: 0,
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var button = require('./button.vue.js');
6
+ require('../../utils/index.js');
6
7
  var handler = require('../../utils/handler.js');
7
8
 
8
9
  const HyButton = handler.withInstall(button.default);
@@ -8,9 +8,8 @@
8
8
  color: inherit;
9
9
  white-space: nowrap;
10
10
  font-size: 14px;
11
- padding: 2px;
12
- border: 1px solid transparent;
13
11
  box-sizing: border-box;
12
+ border-radius: 4px;
14
13
 
15
14
  &:disabled,
16
15
  &.is-disabled {
@@ -35,6 +34,8 @@
35
34
 
36
35
  &.hy-button_default {
37
36
  background: rgba(94, 157, 180, 0.32);
37
+ border: 1px solid rgba(94, 157, 180, 1);
38
+ box-shadow: 0px 0px 0px 2px rgba(94, 157, 180, 0.5);
38
39
 
39
40
  .hy-button__border {
40
41
  background: linear-gradient(
@@ -99,6 +100,8 @@
99
100
 
100
101
  &.hy-button_function {
101
102
  background: rgba(45, 242, 255, 0.32);
103
+ border: 1px solid rgba(45, 242, 255, 1);
104
+ box-shadow: 0px 0px 0px 2px rgba(45, 242, 255, 0.5);
102
105
 
103
106
  .hy-button__border {
104
107
  background: linear-gradient(
@@ -163,6 +166,8 @@
163
166
 
164
167
  &.hy-button_addTo {
165
168
  background: rgba(44, 232, 152, 0.32);
169
+ border: 1px solid rgba(44, 232, 152, 1);
170
+ box-shadow: 0px 0px 0px 2px rgba(44, 232, 152, 0.5);
166
171
 
167
172
  .hy-button__border {
168
173
  background: linear-gradient(
@@ -227,6 +232,8 @@
227
232
 
228
233
  &.hy-button_delete {
229
234
  background: rgba(255, 77, 77, 0.32);
235
+ border: 1px solid rgba(255, 77, 77, 1);
236
+ box-shadow: 0px 0px 0px 2px rgba(255, 77, 77, 0.5);
230
237
 
231
238
  .hy-button__border {
232
239
  background: linear-gradient(
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vue = require('vue');
6
6
  var elementPlus = require('element-plus');
7
7
  var ElementLocale = require('element-plus/es/locales.mjs');
8
+ require('../../hooks/index.js');
8
9
  var useGlobalConfig = require('../../hooks/useGlobalConfig.js');
9
10
 
10
11
  function _interopNamespaceDefault(e) {
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var configProvider = require('./configProvider.vue.js');
6
+ require('../../utils/index.js');
6
7
  var handler = require('../../utils/handler.js');
7
8
 
8
9
  const HyConfigProvider = handler.withInstall(configProvider.default);
@@ -4,6 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
6
  var elementPlus = require('element-plus');
7
+ require('../../hooks/index.js');
8
+ require('../index.js');
7
9
  var useLocale = require('../../hooks/useLocale.js');
8
10
  var index = require('../hyIcon/index.js');
9
11
  var index$1 = require('../hyButton/index.js');
@@ -202,6 +204,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
202
204
  key: 0,
203
205
  type: __props.cancelType,
204
206
  disabled: loading.value,
207
+ class: "min-w-[120px]",
205
208
  onClick: onCancelHandler
206
209
  }, {
207
210
  default: vue.withCtx(() => [
@@ -218,6 +221,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
218
221
  key: 1,
219
222
  type: __props.submitType,
220
223
  loading: loading.value,
224
+ class: "min-w-[120px]",
221
225
  onClick: onSubmitHandler
222
226
  }, {
223
227
  default: vue.withCtx(() => [
@@ -3,11 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
+ require('../../hooks/index.js');
6
7
  var useApi = require('../../hooks/useApi.js');
8
+ require('../index.js');
7
9
  var confirmDialog = require('./confirmDialog.vue.js');
8
- var useLocale = require('../../hooks/useLocale.js');
9
10
  var useGlobalConfig = require('../../hooks/useGlobalConfig.js');
10
11
  var index = require('../hyConfigProvider/index.js');
12
+ var useLocale = require('../../hooks/useLocale.js');
11
13
 
12
14
  function appConfirmMethod(config) {
13
15
  let container = document.createDocumentFragment();
@@ -87,11 +89,11 @@ confirmDialog.default.danger = (props) => {
87
89
  const { t } = useLocale.useLocale();
88
90
  return appConfirmMethod({
89
91
  dialogTitle: t("dialog.dangerousOperation"),
90
- titleClass: "text-danger",
92
+ titleClass: "text-danger-2",
91
93
  title: t("dialog.prompt"),
92
94
  content: t("dialog.content"),
93
95
  submitType: "danger",
94
- iconColor: "rgb(var(--hy-danger))",
96
+ iconColor: "rgb(var(--hy-danger-2))",
95
97
  ...props
96
98
  });
97
99
  };
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('./confirmMethod.js');
6
+ require('../../utils/index.js');
6
7
  var handler = require('../../utils/handler.js');
7
8
  var confirmDialog = require('./confirmDialog.vue.js');
8
9
 
@@ -6,6 +6,9 @@ var vue = require('vue');
6
6
  var vueCropper = require('vue-cropper');
7
7
  var elementPlus = require('element-plus');
8
8
  var iconsVue = require('@element-plus/icons-vue');
9
+ require('../../utils/index.js');
10
+ require('../index.js');
11
+ require('../../hooks/index.js');
9
12
  var useLocale = require('../../hooks/useLocale.js');
10
13
  var file = require('../../utils/file.js');
11
14
  var index = require('../hyDialog/index.js');
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var cutter = require('./cutter.vue.js');
6
+ require('../../utils/index.js');
6
7
  var handler = require('../../utils/handler.js');
7
8
 
8
9
  const HyCutter = handler.withInstall(cutter.default);
@@ -4,6 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
6
  var elementPlus = require('element-plus');
7
+ require('../../utils/index.js');
8
+ require('../../hooks/index.js');
7
9
  var useLocale = require('../../hooks/useLocale.js');
8
10
  var date = require('../../utils/date.js');
9
11
  var is = require('../../utils/is.js');