hy-dispatch-ui-v3 0.2.61 → 0.2.63

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 (245) hide show
  1. package/dist/tailwind.css +70 -5
  2. package/es/api/device.mjs +19 -0
  3. package/es/api/index.mjs +2 -1
  4. package/es/api/sypct.mjs +19 -0
  5. package/es/api/task.mjs +19 -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 +7 -0
  9. package/es/bussiness/hyMapAearchPlace/js/index.mjs +650 -0
  10. package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +366 -0
  11. package/es/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.mjs +101 -0
  12. package/es/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +71 -0
  13. package/es/bussiness/index.mjs +1 -0
  14. package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +3 -0
  15. package/es/components/hyAudioPlayer/index.mjs +1 -0
  16. package/es/components/hyAudioPlayer/js/index.mjs +5 -1
  17. package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +23 -3
  18. package/es/components/hyBatchUploadDialog/index.mjs +1 -0
  19. package/es/components/hyButton/button.vue.mjs +3 -2
  20. package/es/components/hyButton/index.mjs +1 -0
  21. package/es/components/hyButton/style/button.scss +10 -3
  22. package/es/components/hyConfigProvider/configProvider.vue.mjs +6 -1
  23. package/es/components/hyConfigProvider/index.mjs +1 -0
  24. package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +6 -2
  25. package/es/components/hyConfirmDialog/confirmMethod.mjs +5 -3
  26. package/es/components/hyConfirmDialog/index.mjs +1 -0
  27. package/es/components/hyCutter/cutter.vue.mjs +5 -2
  28. package/es/components/hyCutter/index.mjs +1 -0
  29. package/es/components/hyDatePicker/datePicker.vue.mjs +2 -0
  30. package/es/components/hyDatePicker/index.mjs +1 -0
  31. package/es/components/hyDialog/dialog.vue.mjs +98 -14
  32. package/es/components/hyDialog/index.mjs +1 -0
  33. package/es/components/hyForm/cpns/arrayItem.vue.mjs +16 -3
  34. package/es/components/hyForm/cpns/extraItem.vue.mjs +2 -0
  35. package/es/components/hyForm/cpns/formItem.vue.mjs +4 -1
  36. package/es/components/hyForm/cpns/locationSelect.vue.mjs +6 -1
  37. package/es/components/hyForm/form.vue.mjs +3 -0
  38. package/es/components/hyForm/index.mjs +1 -0
  39. package/es/components/hyForm/js/index.mjs +3 -1
  40. package/es/components/hyForm/js/useAppForm.mjs +4 -2
  41. package/es/components/hyIcon/icon.vue.mjs +2 -1
  42. package/es/components/hyIcon/index.mjs +1 -0
  43. package/es/components/hyIconBox/iconBox.vue.mjs +1 -0
  44. package/es/components/hyIconBox/index.mjs +1 -0
  45. package/es/components/hyInput/index.mjs +1 -0
  46. package/es/components/hyInput/input.vue.mjs +3 -1
  47. package/es/components/hyInput/inputSearch.vue.mjs +2 -1
  48. package/es/components/hyLoading/index.mjs +41 -0
  49. package/es/components/hyMap/index.mjs +1 -0
  50. package/es/components/hyMap/js/index.mjs +82 -0
  51. package/es/components/hyMap/map.vue.mjs +11 -3
  52. package/es/components/hyMenu/index.mjs +1 -0
  53. package/es/components/hyMenu/menu.vue.mjs +4 -0
  54. package/es/components/hyNoPermissions/index.mjs +1 -0
  55. package/es/components/hyNoPermissions/noPermissions.vue.mjs +4 -0
  56. package/es/components/hyNoPermissionsMap/index.mjs +1 -0
  57. package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +4 -0
  58. package/es/components/hyOrgCascader/index.mjs +1 -0
  59. package/es/components/hyOrgCascader/js/index.mjs +2 -0
  60. package/es/components/hyOrgCascader/orgCascader.vue.mjs +2 -1
  61. package/es/components/hyRadioGroup/index.mjs +1 -0
  62. package/es/components/hyRadioGroup/radioGroup.vue.mjs +2 -2
  63. package/es/components/hySearch/cpns/searchItem.vue.mjs +20 -2
  64. package/es/components/hySearch/index.mjs +1 -0
  65. package/es/components/hySearch/js/index.mjs +4 -2
  66. package/es/components/hySearch/js/useAppSearch.mjs +4 -2
  67. package/es/components/hySearch/search.vue.mjs +3 -0
  68. package/es/components/hyTable/cpns/columnSelect.vue.mjs +6 -3
  69. package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +3 -0
  70. package/es/components/hyTable/cpns/headerItem.vue.mjs +3 -0
  71. package/es/components/hyTable/cpns/virtualTable.vue.mjs +7 -2
  72. package/es/components/hyTable/index.mjs +1 -0
  73. package/es/components/hyTable/js/index.mjs +10 -10
  74. package/es/components/hyTable/js/search.mjs +2 -0
  75. package/es/components/hyTable/js/useAppTable.mjs +5 -2
  76. package/es/components/hyTable/table.vue.mjs +11 -1
  77. package/es/components/hyTableActionButton/index.mjs +1 -0
  78. package/es/components/hyTableActionButton/tableActionButton.vue.mjs +5 -2
  79. package/es/components/hyTableForm/batchTableForm.vue.mjs +41 -61
  80. package/es/components/hyTableForm/index.mjs +1 -0
  81. package/es/components/hyTableForm/js/index.mjs +13 -27
  82. package/es/components/hyTableForm/js/useAppTableForm.mjs +2 -0
  83. package/es/components/hyTableForm/tableForm.vue.mjs +12 -4
  84. package/es/components/hyTimePicker/index.mjs +1 -0
  85. package/es/components/hyTimePicker/timePicker.vue.mjs +3 -1
  86. package/es/components/hyTooltip/index.mjs +1 -0
  87. package/es/components/hyTooltip/tooltip.vue.mjs +4 -2
  88. package/es/components/hyTree/index.mjs +1 -0
  89. package/es/components/hyTree/js/index.mjs +15 -2
  90. package/es/components/hyTree/tree.vue.mjs +9 -4
  91. package/es/components/hyUserAvatar/index.mjs +1 -0
  92. package/es/components/hyUserAvatar/userAvatar.vue.mjs +5 -1
  93. package/es/components/hyVideoPlayer/cpns/mediaLoading.vue.mjs +1 -0
  94. package/es/components/hyVideoPlayer/index.mjs +1 -0
  95. package/es/components/hyVideoPlayer/js/index.mjs +7 -2
  96. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +3 -0
  97. package/es/components/index.mjs +1 -0
  98. package/es/hooks/index.mjs +1 -0
  99. package/es/hooks/useGlobalConfig.mjs +6 -1
  100. package/es/hooks/useLocale.mjs +4 -2
  101. package/es/hooks/useMapConfig.mjs +18 -0
  102. package/es/hooks/useResizeHandler.mjs +1 -0
  103. package/es/hooks/useResizeObserver.mjs +1 -1
  104. package/es/index.mjs +8 -0
  105. package/es/locale/en.mjs +1 -2
  106. package/es/locale/zh_CN.mjs +1 -2
  107. package/es/make-installer.mjs +1 -0
  108. package/es/static/hy-svg-icons/hy-icon-ops-list-editorialdownsizing.js +14 -0
  109. package/es/static/hy-svg-icons/hy-icon-ops-list-suoxiao.js +14 -0
  110. package/es/style/element/hy-element.scss +10 -1
  111. package/es/utils/file.mjs +1 -0
  112. package/es/utils/form.mjs +6 -1
  113. package/es/utils/handler.mjs +2 -0
  114. package/es/utils/index.mjs +2 -0
  115. package/es/utils/input.mjs +1 -0
  116. package/es/utils/is.mjs +1 -0
  117. package/es/utils/map/hook/bigMap.mjs +3 -2
  118. package/es/utils/map/hook/gaode.mjs +2 -2
  119. package/es/utils/map/hook/leafletjs.mjs +7 -1
  120. package/es/utils/map/index.mjs +12 -0
  121. package/es/utils/map/js/webgis.mjs +5 -2
  122. package/es/utils/sharedContent.mjs +12 -0
  123. package/es/version.mjs +1 -1
  124. package/lib/api/device.js +21 -0
  125. package/lib/api/index.js +2 -1
  126. package/lib/api/sypct.js +21 -0
  127. package/lib/api/task.js +21 -0
  128. package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +15 -12
  129. package/lib/bussiness/hyAddDepartmentType/index.js +1 -0
  130. package/lib/bussiness/hyMapAearchPlace/index.js +12 -0
  131. package/lib/bussiness/hyMapAearchPlace/js/index.js +652 -0
  132. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +370 -0
  133. package/lib/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.js +105 -0
  134. package/lib/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +71 -0
  135. package/lib/bussiness/index.js +2 -0
  136. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +3 -0
  137. package/lib/components/hyAudioPlayer/index.js +1 -0
  138. package/lib/components/hyAudioPlayer/js/index.js +5 -1
  139. package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +23 -3
  140. package/lib/components/hyBatchUploadDialog/index.js +1 -0
  141. package/lib/components/hyButton/button.vue.js +2 -1
  142. package/lib/components/hyButton/index.js +1 -0
  143. package/lib/components/hyButton/style/button.scss +10 -3
  144. package/lib/components/hyConfigProvider/configProvider.vue.js +5 -0
  145. package/lib/components/hyConfigProvider/index.js +1 -0
  146. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +6 -2
  147. package/lib/components/hyConfirmDialog/confirmMethod.js +5 -3
  148. package/lib/components/hyConfirmDialog/index.js +1 -0
  149. package/lib/components/hyCutter/cutter.vue.js +3 -0
  150. package/lib/components/hyCutter/index.js +1 -0
  151. package/lib/components/hyDatePicker/datePicker.vue.js +2 -0
  152. package/lib/components/hyDatePicker/index.js +1 -0
  153. package/lib/components/hyDialog/dialog.vue.js +96 -12
  154. package/lib/components/hyDialog/index.js +1 -0
  155. package/lib/components/hyForm/cpns/arrayItem.vue.js +16 -3
  156. package/lib/components/hyForm/cpns/extraItem.vue.js +2 -0
  157. package/lib/components/hyForm/cpns/formItem.vue.js +3 -0
  158. package/lib/components/hyForm/cpns/locationSelect.vue.js +6 -1
  159. package/lib/components/hyForm/form.vue.js +3 -0
  160. package/lib/components/hyForm/index.js +1 -0
  161. package/lib/components/hyForm/js/index.js +3 -1
  162. package/lib/components/hyForm/js/useAppForm.js +3 -1
  163. package/lib/components/hyIcon/icon.vue.js +1 -0
  164. package/lib/components/hyIcon/index.js +1 -0
  165. package/lib/components/hyIconBox/iconBox.vue.js +1 -0
  166. package/lib/components/hyIconBox/index.js +1 -0
  167. package/lib/components/hyInput/index.js +1 -0
  168. package/lib/components/hyInput/input.vue.js +2 -0
  169. package/lib/components/hyInput/inputSearch.vue.js +1 -0
  170. package/lib/components/hyLoading/index.js +47 -0
  171. package/lib/components/hyMap/index.js +1 -0
  172. package/lib/components/hyMap/js/index.js +82 -0
  173. package/lib/components/hyMap/map.vue.js +11 -3
  174. package/lib/components/hyMenu/index.js +1 -0
  175. package/lib/components/hyMenu/menu.vue.js +4 -0
  176. package/lib/components/hyNoPermissions/index.js +1 -0
  177. package/lib/components/hyNoPermissions/noPermissions.vue.js +4 -0
  178. package/lib/components/hyNoPermissionsMap/index.js +1 -0
  179. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +4 -0
  180. package/lib/components/hyOrgCascader/index.js +1 -0
  181. package/lib/components/hyOrgCascader/js/index.js +2 -0
  182. package/lib/components/hyOrgCascader/orgCascader.vue.js +2 -1
  183. package/lib/components/hyRadioGroup/index.js +1 -0
  184. package/lib/components/hyRadioGroup/radioGroup.vue.js +1 -1
  185. package/lib/components/hySearch/cpns/searchItem.vue.js +18 -0
  186. package/lib/components/hySearch/index.js +1 -0
  187. package/lib/components/hySearch/js/index.js +3 -1
  188. package/lib/components/hySearch/js/useAppSearch.js +4 -2
  189. package/lib/components/hySearch/search.vue.js +3 -0
  190. package/lib/components/hyTable/cpns/columnSelect.vue.js +4 -1
  191. package/lib/components/hyTable/cpns/columnSelectItem.vue.js +3 -0
  192. package/lib/components/hyTable/cpns/headerItem.vue.js +3 -0
  193. package/lib/components/hyTable/cpns/virtualTable.vue.js +6 -1
  194. package/lib/components/hyTable/index.js +1 -0
  195. package/lib/components/hyTable/js/index.js +9 -9
  196. package/lib/components/hyTable/js/search.js +2 -0
  197. package/lib/components/hyTable/js/useAppTable.js +4 -1
  198. package/lib/components/hyTable/table.vue.js +11 -1
  199. package/lib/components/hyTableActionButton/index.js +1 -0
  200. package/lib/components/hyTableActionButton/tableActionButton.vue.js +4 -1
  201. package/lib/components/hyTableForm/batchTableForm.vue.js +42 -62
  202. package/lib/components/hyTableForm/index.js +1 -0
  203. package/lib/components/hyTableForm/js/index.js +12 -27
  204. package/lib/components/hyTableForm/js/useAppTableForm.js +2 -0
  205. package/lib/components/hyTableForm/tableForm.vue.js +19 -11
  206. package/lib/components/hyTimePicker/index.js +1 -0
  207. package/lib/components/hyTimePicker/timePicker.vue.js +2 -0
  208. package/lib/components/hyTooltip/index.js +1 -0
  209. package/lib/components/hyTooltip/tooltip.vue.js +2 -0
  210. package/lib/components/hyTree/index.js +1 -0
  211. package/lib/components/hyTree/js/index.js +14 -1
  212. package/lib/components/hyTree/tree.vue.js +9 -4
  213. package/lib/components/hyUserAvatar/index.js +1 -0
  214. package/lib/components/hyUserAvatar/userAvatar.vue.js +5 -1
  215. package/lib/components/hyVideoPlayer/cpns/mediaLoading.vue.js +1 -0
  216. package/lib/components/hyVideoPlayer/index.js +1 -0
  217. package/lib/components/hyVideoPlayer/js/index.js +7 -2
  218. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +3 -0
  219. package/lib/components/index.js +56 -53
  220. package/lib/hooks/index.js +3 -0
  221. package/lib/hooks/useGlobalConfig.js +5 -0
  222. package/lib/hooks/useLocale.js +3 -1
  223. package/lib/hooks/useMapConfig.js +21 -0
  224. package/lib/hooks/useResizeHandler.js +1 -0
  225. package/lib/index.js +73 -59
  226. package/lib/locale/en.js +1 -2
  227. package/lib/locale/zh_CN.js +1 -2
  228. package/lib/make-installer.js +1 -0
  229. package/lib/static/hy-svg-icons/hy-icon-ops-list-editorialdownsizing.js +14 -0
  230. package/lib/static/hy-svg-icons/hy-icon-ops-list-suoxiao.js +14 -0
  231. package/lib/style/element/hy-element.scss +10 -1
  232. package/lib/utils/file.js +1 -0
  233. package/lib/utils/form.js +5 -0
  234. package/lib/utils/handler.js +2 -0
  235. package/lib/utils/index.js +3 -0
  236. package/lib/utils/input.js +1 -0
  237. package/lib/utils/is.js +1 -0
  238. package/lib/utils/map/hook/bigMap.js +3 -2
  239. package/lib/utils/map/hook/gaode.js +1 -1
  240. package/lib/utils/map/hook/leafletjs.js +7 -1
  241. package/lib/utils/map/index.js +12 -0
  242. package/lib/utils/map/js/webgis.js +5 -1
  243. package/lib/utils/sharedContent.js +14 -0
  244. package/lib/version.js +1 -1
  245. package/package.json +2 -1
@@ -0,0 +1,370 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var VirtualList = require('vue3-virtual-scroll-list');
7
+ var elementPlus = require('element-plus');
8
+ require('../../hooks/index.js');
9
+ require('../../components/index.js');
10
+ var index = require('./js/index.js');
11
+ var mapAearchPlaceItem = require('./mapAearchPlaceItem.vue.js');
12
+ var useLocale = require('../../hooks/useLocale.js');
13
+ var useMixins = require('../../hooks/useMixins.js');
14
+ var index$1 = require('../../components/hyTooltip/index.js');
15
+ var index$2 = require('../../components/hyInput/index.js');
16
+ var index$3 = require('../../components/hyIcon/index.js');
17
+ var useMapConfig = require('../../hooks/useMapConfig.js');
18
+
19
+ import "./style/mapAearchPlace.scss";
20
+
21
+ const __default__ = vue.defineComponent({
22
+ name: "HyMapAearchPlace"
23
+ });
24
+ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
25
+ props: {
26
+ selectIdList: {
27
+ type: Array,
28
+ default: () => [1, 4, 5, 6]
29
+ },
30
+ searchSvgName: {
31
+ type: String,
32
+ default: "dispatch-share-v3-base-search"
33
+ },
34
+ map: {
35
+ type: Object,
36
+ default: () => ({})
37
+ },
38
+ hyMap: {
39
+ type: Object,
40
+ default: () => ({})
41
+ },
42
+ onSelectMarker: {
43
+ type: Function
44
+ },
45
+ setMarkerToMap: {
46
+ type: Function
47
+ },
48
+ mapConfig: {
49
+ type: Object,
50
+ default: () => {
51
+ const { mapConfig } = useMapConfig.useMapConfig();
52
+ return mapConfig.value || {};
53
+ }
54
+ }
55
+ },
56
+ emits: [],
57
+ setup(__props, { expose: __expose, emit: __emit }) {
58
+ const props = __props;
59
+ const emits = __emit;
60
+ const { t } = useLocale.useLocale();
61
+ const {
62
+ searchAddressTypeList,
63
+ nextPageParams,
64
+ lnglat,
65
+ lnglatList,
66
+ customCoordinate,
67
+ searchResultList,
68
+ searchAddressType,
69
+ placeholder,
70
+ searchAddress,
71
+ valid,
72
+ size,
73
+ page,
74
+ noMore,
75
+ loading,
76
+ colorObject,
77
+ timeOut,
78
+ isFocus,
79
+ queryMarkerPoint,
80
+ showItem,
81
+ disabled,
82
+ commonOptions,
83
+ mapCoordinate,
84
+ mapCoordinateName,
85
+ lnglatCheckFn,
86
+ onFocus,
87
+ onBlur,
88
+ lnglatClick,
89
+ queryMarkerPointDelete,
90
+ setQueryMarkerPoint,
91
+ mapJumpLocationFn,
92
+ unbindVehicleFn,
93
+ throttle,
94
+ load,
95
+ searchAddressTypeFn,
96
+ resetFn,
97
+ getData,
98
+ addressRequestFn,
99
+ keepDecimal,
100
+ getVehicleList,
101
+ getTaskList,
102
+ organizationPageFn,
103
+ patrolPointFn,
104
+ titleFn,
105
+ placeholderFn
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
+ );
125
+ __expose({});
126
+ return (_ctx, _cache) => {
127
+ return vue.openBlock(), vue.createElementBlock(
128
+ "div",
129
+ {
130
+ class: vue.normalizeClass(["hy-map-aearch-place", { "is-focus": vue.unref(isFocus) }])
131
+ },
132
+ [
133
+ vue.createElementVNode("div", { class: "hy-map-aearch-place-container" }, [
134
+ vue.createElementVNode("div", { class: "w-full flex items-center" }, [
135
+ vue.createElementVNode("div", { class: "w-0 flex-1 flex" }, [
136
+ vue.createVNode(vue.unref(elementPlus.ElSelect), {
137
+ modelValue: vue.unref(searchAddressType),
138
+ "onUpdate:modelValue": ($event) => vue.isRef(searchAddressType) ? searchAddressType.value = $event : null,
139
+ size: "default",
140
+ class: "!w-[37%] box-border border rounded-[6px] flex-shrink-0",
141
+ style: { "border-color": "var(--input-border)" },
142
+ placeholder: "\u8BF7\u9009\u62E9",
143
+ options: vue.unref(searchAddressTypeList),
144
+ onChange: vue.unref(searchAddressTypeFn),
145
+ onFocus: vue.unref(onFocus),
146
+ onBlur: vue.unref(onBlur)
147
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "options", "onChange", "onFocus", "onBlur"]),
148
+ vue.createVNode(vue.unref(index$1.HyTooltip), {
149
+ "show-after": 500,
150
+ content: vue.unref(placeholder),
151
+ placement: "bottom-start"
152
+ }, {
153
+ default: vue.withCtx(() => [
154
+ vue.withDirectives(vue.createVNode(vue.unref(index$2.HyInput), {
155
+ modelValue: vue.unref(searchAddress),
156
+ "onUpdate:modelValue": ($event) => vue.isRef(searchAddress) ? searchAddress.value = $event : null,
157
+ size: "small",
158
+ clearable: "",
159
+ class: "hy-map-aearch-place-input",
160
+ style: { "border-color": "var(--input-border)" },
161
+ placeholder: vue.unref(placeholder),
162
+ onInput: ($event) => vue.unref(throttle)(vue.unref(resetFn), 1e3)(),
163
+ onFocus: vue.unref(onFocus),
164
+ onBlur: vue.unref(onBlur)
165
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "onInput", "onFocus", "onBlur"]), [
166
+ [vue.vShow, vue.unref(searchAddressType) !== 5]
167
+ ])
168
+ ]),
169
+ _: 1
170
+ /* STABLE */
171
+ }, 8, ["content"]),
172
+ vue.createCommentVNode(" \u7ECF\u7EAC\u5EA6 "),
173
+ vue.createVNode(vue.unref(index$1.HyTooltip), {
174
+ "show-after": 500,
175
+ content: "\u7EAC\u5EA6",
176
+ placement: "bottom-start"
177
+ }, {
178
+ default: vue.withCtx(() => [
179
+ vue.withDirectives(vue.createVNode(vue.unref(index$2.HyInput), {
180
+ modelValue: vue.unref(lnglat).lng,
181
+ "onUpdate:modelValue": ($event) => vue.unref(lnglat).lng = $event,
182
+ size: "small",
183
+ clearable: "",
184
+ maxlength: "20",
185
+ class: "box-border rounded-[6px] border",
186
+ style: { "border-color": "var(--input-border)" },
187
+ placeholder: "\u7EAC\u5EA6",
188
+ onInput: ($event) => vue.unref(lnglatCheckFn)("lng"),
189
+ onFocus: vue.unref(onFocus),
190
+ onBlur: vue.unref(onBlur)
191
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "onInput", "onFocus", "onBlur"]), [
192
+ [vue.vShow, vue.unref(searchAddressType) === 5]
193
+ ])
194
+ ]),
195
+ _: 1
196
+ /* STABLE */
197
+ }),
198
+ vue.createVNode(vue.unref(index$1.HyTooltip), {
199
+ "show-after": 500,
200
+ content: "\u7ECF\u5EA6",
201
+ placement: "bottom-start"
202
+ }, {
203
+ default: vue.withCtx(() => [
204
+ vue.withDirectives(vue.createVNode(vue.unref(index$2.HyInput), {
205
+ modelValue: vue.unref(lnglat).lat,
206
+ "onUpdate:modelValue": ($event) => vue.unref(lnglat).lat = $event,
207
+ size: "small",
208
+ clearable: "",
209
+ maxlength: "20",
210
+ class: "box-border rounded-[6px] border",
211
+ style: { "border-color": "var(--input-border)" },
212
+ placeholder: "\u7ECF\u5EA6",
213
+ onInput: ($event) => vue.unref(lnglatCheckFn)("lat"),
214
+ onFocus: vue.unref(onFocus),
215
+ onBlur: vue.unref(onBlur)
216
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "onInput", "onFocus", "onBlur"]), [
217
+ [vue.vShow, vue.unref(searchAddressType) === 5]
218
+ ])
219
+ ]),
220
+ _: 1
221
+ /* STABLE */
222
+ })
223
+ ]),
224
+ vue.createElementVNode("div", {
225
+ class: "w-[42px] h-[32px] flex items-center justify-center ml-1 rounded bg-background-3 clickBox",
226
+ onClick: vue.unref(resetFn)
227
+ }, [
228
+ vue.createVNode(vue.unref(index$3.HyIcon), {
229
+ "svg-name": __props.searchSvgName,
230
+ "class-name": "text-main"
231
+ }, null, 8, ["svg-name"])
232
+ ], 8, ["onClick"])
233
+ ]),
234
+ vue.withDirectives(vue.createElementVNode(
235
+ "div",
236
+ { class: "w-full h-[365px]" },
237
+ [
238
+ vue.createElementVNode("div", { class: "w-full flex items-center border-t border-b border-background-3 mt-1 py-2 px-2 box-border" }, [
239
+ vue.createVNode(vue.unref(index$3.HyIcon), {
240
+ "svg-name": "dispatch-share1-prompt",
241
+ "class-name": "!w-3 !h-3 text-auxiliary mr-1"
242
+ }),
243
+ vue.createElementVNode("span", { class: "text-xs text-auxiliary" }, "\u652F\u6301\u591A\u79CD\u5750\u6807\u7CFB\u89E3\u6790\uFF0C\u7CFB\u7EDF\u5C06\u81EA\u52A8\u5339\u914D\u3002")
244
+ ]),
245
+ vue.createElementVNode("div", { class: "w-full pt-2 box-border flex justify-center" }, [
246
+ vue.createElementVNode(
247
+ "span",
248
+ { class: "inline-block text-xs text-main px-2 py-1 border border-theme bg-[rgba(var(--hy-theme), 0.2)] rounded-[2px]" },
249
+ "\u5F53\u524D\u5730\u56FE\u5750\u6807\u7CFB\uFF1A" + vue.toDisplayString(vue.unref(mapCoordinateName)),
250
+ 1
251
+ /* TEXT */
252
+ )
253
+ ]),
254
+ (vue.openBlock(true), vue.createElementBlock(
255
+ vue.Fragment,
256
+ null,
257
+ vue.renderList(vue.unref(lnglatList), (lnglatItem, lnglatIndex) => {
258
+ return vue.openBlock(), vue.createElementBlock("div", {
259
+ key: lnglatIndex,
260
+ class: vue.normalizeClass(["flex items-center text-sm text-main border-b border-border rounded p-[10px] mt-[10px] hover:bg-background-3 clickBox", { "border-t": lnglatIndex === 0 }]),
261
+ onClick: ($event) => vue.unref(lnglatClick)(lnglatItem)
262
+ }, [
263
+ vue.createVNode(vue.unref(index$3.HyIcon), {
264
+ "svg-name": "dispatch-share1-maplocation",
265
+ class: "flex-shrink !w-[26px] !h-[26px]"
266
+ }),
267
+ vue.createElementVNode("div", { class: "w-0 flex-1 ml-[10px]" }, [
268
+ vue.createElementVNode("div", { class: "leading-[28px] text-main text-sm over_one_line" }, [
269
+ vue.unref(lnglatList) && vue.unref(lnglatList).length > 1 ? (vue.openBlock(), vue.createElementBlock("span", {
270
+ key: 0,
271
+ class: "font-bold"
272
+ }, "\u5750\u6807\u89E3\u6790")) : vue.createCommentVNode("v-if", true),
273
+ vue.createTextVNode(
274
+ " " + vue.toDisplayString(lnglatItem.titleName),
275
+ 1
276
+ /* TEXT */
277
+ )
278
+ ]),
279
+ vue.createElementVNode("div", { class: "text-xs text-auxiliary" }, [
280
+ vue.createElementVNode("div", null, [
281
+ vue.createElementVNode("span", null, "\u7ECF\u5EA6\uFF1A"),
282
+ vue.withDirectives(vue.createElementVNode(
283
+ "span",
284
+ { class: "text-danger-2" },
285
+ "\u5185\u5BB9\u9519\u8BEF",
286
+ 512
287
+ /* NEED_PATCH */
288
+ ), [
289
+ [vue.vShow, !vue.unref(lnglat).lngType && lnglatItem.lng]
290
+ ]),
291
+ vue.withDirectives(vue.createElementVNode(
292
+ "span",
293
+ null,
294
+ vue.toDisplayString(lnglatItem.lng || "\u8BF7\u8F93\u5165\u7ECF\u5EA6"),
295
+ 513
296
+ /* TEXT, NEED_PATCH */
297
+ ), [
298
+ [vue.vShow, vue.unref(lnglat).lngType || !lnglatItem.lng]
299
+ ])
300
+ ]),
301
+ vue.createElementVNode("div", null, [
302
+ vue.createElementVNode("span", null, "\u7EAC\u5EA6\uFF1A"),
303
+ vue.withDirectives(vue.createElementVNode(
304
+ "span",
305
+ { class: "text-danger-2" },
306
+ "\u5185\u5BB9\u9519\u8BEF",
307
+ 512
308
+ /* NEED_PATCH */
309
+ ), [
310
+ [vue.vShow, !vue.unref(lnglat).latType && lnglatItem.lat]
311
+ ]),
312
+ vue.withDirectives(vue.createElementVNode(
313
+ "span",
314
+ null,
315
+ vue.toDisplayString(lnglatItem.lat || "\u8BF7\u8F93\u5165\u7EAC\u5EA6"),
316
+ 513
317
+ /* TEXT, NEED_PATCH */
318
+ ), [
319
+ [vue.vShow, vue.unref(lnglat).latType || !lnglatItem.lat]
320
+ ])
321
+ ])
322
+ ])
323
+ ])
324
+ ], 10, ["onClick"]);
325
+ }),
326
+ 128
327
+ /* KEYED_FRAGMENT */
328
+ ))
329
+ ],
330
+ 512
331
+ /* NEED_PATCH */
332
+ ), [
333
+ [vue.vShow, vue.unref(searchAddressType) === 5]
334
+ ]),
335
+ vue.unref(searchResultList).length ? (vue.openBlock(), vue.createBlock(vue.unref(VirtualList), {
336
+ key: 0,
337
+ "data-key": "id",
338
+ "data-sources": vue.unref(searchResultList),
339
+ "data-component": mapAearchPlaceItem.default,
340
+ keeps: 10,
341
+ "extra-props": {
342
+ color: vue.unref(colorObject).success,
343
+ mapJumpLocationFn: vue.unref(mapJumpLocationFn),
344
+ unbindVehicleFn: vue.unref(unbindVehicleFn),
345
+ searchAddressType: vue.unref(searchAddressType),
346
+ longitudeTxt: "\u7EAC\u5EA6",
347
+ latitudeTxt: "\u7ECF\u5EA6"
348
+ },
349
+ "estimate-size": 88,
350
+ class: "w-full max-h-[400px] overflow-y-auto scroll-body",
351
+ onTobottom: vue.unref(load)
352
+ }, null, 8, ["data-sources", "extra-props", "onTobottom"])) : vue.createCommentVNode("v-if", true),
353
+ vue.unref(loading) ? (vue.openBlock(), vue.createElementBlock("p", {
354
+ key: 1,
355
+ class: "leading-[32px] flex items-center text-main text-xs"
356
+ }, " \u52A0\u8F7D\u4E2D... ")) : vue.createCommentVNode("v-if", true),
357
+ vue.unref(noMore) ? (vue.openBlock(), vue.createElementBlock("p", {
358
+ key: 2,
359
+ class: "leading-[32px] flex items-center text-main text-xs"
360
+ }, " \u6CA1\u6709\u66F4\u591A\u4E86 ")) : vue.createCommentVNode("v-if", true)
361
+ ])
362
+ ],
363
+ 2
364
+ /* CLASS */
365
+ );
366
+ };
367
+ }
368
+ });
369
+
370
+ exports.default = _sfc_main;
@@ -0,0 +1,105 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ require('../../components/index.js');
7
+ var index = require('../../components/hyIcon/index.js');
8
+
9
+ const _sfc_main = {
10
+ __name: "mapAearchPlaceItem",
11
+ props: {
12
+ mapJumpLocationFn: {
13
+ type: Function
14
+ },
15
+ index: {
16
+ type: Number,
17
+ default() {
18
+ return null;
19
+ }
20
+ },
21
+ searchAddressType: {
22
+ type: Number,
23
+ default() {
24
+ return 1;
25
+ }
26
+ },
27
+ source: {
28
+ type: Object,
29
+ default() {
30
+ return {};
31
+ }
32
+ }
33
+ },
34
+ setup(__props) {
35
+ const props = __props;
36
+ return (_ctx, _cache) => {
37
+ return vue.openBlock(), vue.createElementBlock("li", {
38
+ class: "flex items-center css-text-no-select py-2 pl-2.5 border-b border-background-3 clickBox hover:bg-background-3",
39
+ onClick: ($event) => __props.mapJumpLocationFn(__props.source)
40
+ }, [
41
+ vue.createElementVNode("div", { class: "flex-shrink-0" }, [
42
+ __props.searchAddressType === 1 ? (vue.openBlock(), vue.createBlock(vue.unref(index.HyIcon), {
43
+ key: 0,
44
+ "svg-name": "dispatch-share1-maplocation"
45
+ })) : __props.searchAddressType === 4 ? (vue.openBlock(), vue.createElementBlock("div", {
46
+ key: 1,
47
+ class: "w-[26px] h-[26px] flex items-center border border-theme rounded-full bg-background-3 box-border"
48
+ }, [
49
+ vue.createElementVNode("img", {
50
+ src: __props.source.orgTypeIcon,
51
+ class: "max-w-full"
52
+ }, null, 8, ["src"])
53
+ ])) : vue.createCommentVNode("v-if", true)
54
+ ]),
55
+ vue.createElementVNode("div", { class: "w-0 flex-1 ml-2.5" }, [
56
+ vue.createElementVNode("div", { class: "text-sm text-main over_one_line font-bold" }, [
57
+ (vue.openBlock(true), vue.createElementBlock(
58
+ vue.Fragment,
59
+ null,
60
+ vue.renderList(__props.source.title, (row, rowIndex) => {
61
+ return vue.openBlock(), vue.createElementBlock(
62
+ "span",
63
+ {
64
+ key: rowIndex,
65
+ class: vue.normalizeClass([row.type === 2 ? "text-theme" : "text-auxiliary"])
66
+ },
67
+ vue.toDisplayString(row.content),
68
+ 3
69
+ /* TEXT, CLASS */
70
+ );
71
+ }),
72
+ 128
73
+ /* KEYED_FRAGMENT */
74
+ ))
75
+ ]),
76
+ vue.createElementVNode(
77
+ "div",
78
+ { class: "over_one_line text-xs text-main my-1" },
79
+ vue.toDisplayString(__props.source.address),
80
+ 1
81
+ /* TEXT */
82
+ ),
83
+ vue.createElementVNode("div", { class: "text-xs text-auxiliary" }, [
84
+ vue.createElementVNode(
85
+ "span",
86
+ null,
87
+ "\u7ECF\u5EA6\uFF1A" + vue.toDisplayString(__props.source.lng),
88
+ 1
89
+ /* TEXT */
90
+ ),
91
+ vue.createElementVNode(
92
+ "span",
93
+ { class: "ml-5" },
94
+ "\u7EAC\u5EA6\uFF1A" + vue.toDisplayString(__props.source.lat),
95
+ 1
96
+ /* TEXT */
97
+ )
98
+ ])
99
+ ])
100
+ ], 8, ["onClick"]);
101
+ };
102
+ }
103
+ };
104
+
105
+ exports.default = _sfc_main;
@@ -0,0 +1,71 @@
1
+ .hy-map-aearch-place {
2
+ width: 100%;
3
+ height: 40px;
4
+ position: relative;
5
+ .hy-map-aearch-place-container {
6
+ width: 100%;
7
+ min-width: 340px;
8
+ display: inline-flex;
9
+ flex-direction: column;
10
+ align-items: center;
11
+ gap: 4px;
12
+ border: 1px solid rgba(var(--hy-border));
13
+ border-radius: 4px;
14
+ box-sizing: border-box;
15
+ padding: 2px 4px;
16
+ overflow: hidden;
17
+ background: rgba(var(--hy-background-2));
18
+ position: absolute;
19
+ left: 0;
20
+ top: 0;
21
+ z-index: 10;
22
+ &:hover,
23
+ &.focus {
24
+ border: 1px solid rgba(var(--hy-theme));
25
+ }
26
+
27
+ .hy-map-aearch-place-input {
28
+
29
+ .hy-el-input__inner::placeholder {
30
+ font-size: 12px;
31
+ }
32
+ .hy-el-input__wrapper {
33
+ padding-left: 8px;
34
+ padding-right: 4px;
35
+ background-color: transparent !important;
36
+ box-shadow: none;
37
+ border: none;
38
+ }
39
+ .hy-el-input-group__append {
40
+ color: rgb(var(--hy-main));
41
+ background-color: rgba(var(--hy-background-2));
42
+ box-shadow: none;
43
+ padding: 4px;
44
+ min-height: 100%;
45
+ }
46
+ }
47
+ }
48
+ &.is-focus .hy-map-aearch-place-container{
49
+ border: 1px solid rgba(var(--hy-theme));
50
+ }
51
+ }
52
+
53
+ /* 地图打点闪烁 */
54
+ .hy-map-aearch-place-twinkle-marker {
55
+ animation: hy-map-aearch-place-twinkle 1s ease-out;
56
+ animation-iteration-count: 3; /*次数 infinite(无限次)*/
57
+ animation-delay: 1s;
58
+ }
59
+
60
+ @keyframes hy-map-aearch-place-twinkle {
61
+ 0% {
62
+ opacity: 1;
63
+ }
64
+ 50% {
65
+ opacity: 0.2;
66
+ filter: none;
67
+ }
68
+ 100% {
69
+ opacity: 1;
70
+ }
71
+ }
@@ -1,7 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./hyAddDepartmentType/index.js');
4
+ var index$1 = require('./hyMapAearchPlace/index.js');
4
5
 
5
6
 
6
7
 
7
8
  exports.HyAddDepartmentType = index.HyAddDepartmentType;
9
+ exports.HyMapAearchPlace = index$1.HyMapAearchPlace;
@@ -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
  }