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
@@ -1,5 +1,6 @@
1
1
  import _sfc_main from './tableForm.vue.mjs';
2
2
  import _sfc_main$1 from './batchTableForm.vue.mjs';
3
+ import '../../utils/index.mjs';
3
4
  export { useAppTableForm } from './js/useAppTableForm.mjs';
4
5
  import { withInstall } from '../../utils/handler.mjs';
5
6
 
@@ -1,6 +1,11 @@
1
1
  import XLSX from 'xlsx';
2
+ import dayjs from 'dayjs';
3
+ import 'vue';
2
4
  import AsyncValidator from 'async-validator';
5
+ import { ElMessage } from 'element-plus';
3
6
  import { columnShowHandler } from '../../hyForm/js/index.mjs';
7
+ import '../../../utils/index.mjs';
8
+ import '../../../hooks/index.mjs';
4
9
  import { columnRuleHandler, setValueByProp, getValueByProp } from '../../../utils/form.mjs';
5
10
  import { isArray } from '../../../utils/is.mjs';
6
11
 
@@ -69,5 +74,36 @@ const doReadExcel = (files, props) => {
69
74
  fileReader.readAsBinaryString(files[0]);
70
75
  });
71
76
  };
77
+ function blobDownloadFn(blob, name) {
78
+ return new Promise((resolve, reject) => {
79
+ ElMessage.warning("\u5F00\u59CB\u4E0B\u8F7D");
80
+ const today = dayjs().format("YYYY-MM-DD HH:mm:ss");
81
+ const reader = new FileReader();
82
+ reader.readAsDataURL(blob);
83
+ reader.onload = function(ev) {
84
+ let url = null;
85
+ try {
86
+ if (window.navigator.msSaveOrOpenBlob) {
87
+ const blobObject = new Blob([blob]);
88
+ window.navigator.msSaveOrOpenBlob(blobObject, `${name}_${today}.xls`);
89
+ } else {
90
+ url = URL.createObjectURL(new Blob([blob]));
91
+ const a = document.createElement("a");
92
+ document.body.appendChild(a);
93
+ a.href = url;
94
+ a.download = `${name}_${today}.xls`;
95
+ a.target = "_blank";
96
+ a.click();
97
+ a.remove();
98
+ }
99
+ resolve();
100
+ } catch (error) {
101
+ reject(error);
102
+ } finally {
103
+ if (url) URL.revokeObjectURL(url);
104
+ }
105
+ };
106
+ });
107
+ }
72
108
 
73
109
  export { doReadExcel, doValidate };
@@ -1,3 +1,5 @@
1
+ import '../../../utils/index.mjs';
2
+ import '../../index.mjs';
1
3
  import { useAppTable } from '../../hyTable/js/useAppTable.mjs';
2
4
  import { useAppForm } from '../../hyForm/js/useAppForm.mjs';
3
5
  import { isString, isObject } from '../../../utils/is.mjs';
@@ -1,14 +1,16 @@
1
- import { defineComponent, useTemplateRef, ref, computed, openBlock, createElementBlock, createElementVNode, toDisplayString, createCommentVNode, createBlock, unref, withCtx, createTextVNode, Fragment, renderList, normalizeClass, createVNode, mergeProps, createSlots, renderSlot, normalizeProps, guardReactiveProps, nextTick } from 'vue';
1
+ import { defineComponent, useTemplateRef, ref, computed, nextTick, openBlock, createElementBlock, createElementVNode, toDisplayString, createCommentVNode, createBlock, unref, withCtx, createTextVNode, Fragment, renderList, normalizeClass, createVNode, mergeProps, createSlots, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
2
2
  import { ElIcon } from 'element-plus';
3
3
  import { Warning } from '@element-plus/icons-vue';
4
+ import '../index.mjs';
5
+ import '../../utils/index.mjs';
4
6
  import { doValidate } from './js/index.mjs';
5
7
  import { useAppTable } from '../hyTable/js/useAppTable.mjs';
8
+ import { resetAppFormValue } from '../hyForm/js/useAppForm.mjs';
6
9
  import { isArray, isObject } from '../../utils/is.mjs';
7
10
  import { cloneDeep } from '../../utils/handler.mjs';
8
11
  import { HyButton } from '../hyButton/index.mjs';
9
12
  import { HyTable } from '../hyTable/index.mjs';
10
13
  import { HyForm } from '../hyForm/index.mjs';
11
- import { resetAppFormValue } from '../hyForm/js/useAppForm.mjs';
12
14
 
13
15
  import "./style/tableForm.scss";
14
16
 
@@ -1,4 +1,5 @@
1
1
  import _sfc_main from './timePicker.vue.mjs';
2
+ import '../../utils/index.mjs';
2
3
  import { withInstall } from '../../utils/handler.mjs';
3
4
 
4
5
  const HyTimePicker = withInstall(_sfc_main);
@@ -1,6 +1,8 @@
1
- import { useTemplateRef, useModel, computed, watch, unref, openBlock, createBlock, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, mergeModels, defineComponent } from 'vue';
1
+ import { defineComponent, useTemplateRef, useModel, computed, watch, unref, openBlock, createBlock, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, mergeModels } from 'vue';
2
2
  import dayjs from 'dayjs';
3
3
  import { ElTimePicker } from 'element-plus';
4
+ import '../../utils/index.mjs';
5
+ import '../../hooks/index.mjs';
4
6
  import { useLocale } from '../../hooks/useLocale.mjs';
5
7
  import { isArray } from '../../utils/is.mjs';
6
8
 
@@ -1,4 +1,5 @@
1
1
  import _sfc_main from './tooltip.vue.mjs';
2
+ import '../../utils/index.mjs';
2
3
  import { withInstall } from '../../utils/handler.mjs';
3
4
 
4
5
  const HyTooltip = withInstall(_sfc_main);
@@ -1,6 +1,8 @@
1
- import { ref, computed, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, renderSlot, createTextVNode, toDisplayString, createElementBlock, normalizeClass, defineComponent } from 'vue';
1
+ import { defineComponent, ref, computed, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, renderSlot, createTextVNode, toDisplayString, createElementBlock, normalizeClass } from 'vue';
2
2
  import { ElTooltip } from 'element-plus';
3
- import { isNumber, isBoolean, isOverflowing } from '../../utils/is.mjs';
3
+ import '../../utils/index.mjs';
4
+ import '../../hooks/index.mjs';
5
+ import { isNumber, isOverflowing, isBoolean } from '../../utils/is.mjs';
4
6
  import { useTooltipConfig } from '../../hooks/useTooltipConfig.mjs';
5
7
 
6
8
  import "./style/tooltip.scss";
@@ -1,4 +1,5 @@
1
1
  import _sfc_main from './tree.vue.mjs';
2
+ import '../../utils/index.mjs';
2
3
  import { withInstall } from '../../utils/handler.mjs';
3
4
 
4
5
  const HyTree = withInstall(_sfc_main);
@@ -1,5 +1,5 @@
1
1
  import { ElMessage } from 'element-plus';
2
- import { getCurrentInstance, ref, watch, computed, h, render } from 'vue';
2
+ import { getCurrentInstance, ref, watch, h, render, computed } from 'vue';
3
3
  import { treeTypeConfig } from '../config/tree-config.mjs';
4
4
 
5
5
  const deviceStatus = {
@@ -61,7 +61,7 @@ const useAppTreeWrapper = (hy) => {
61
61
  emptyText: "\u6682\u65E0\u6570\u636E",
62
62
  business: props2.treeType,
63
63
  // 自定义整体的插槽
64
- renderItem: props2.treeType === treeTypeConfig.user ? (data, node) => setUserSlot(data) : setSlot("treeParentSlot"),
64
+ renderItem: props2.treeType === treeTypeConfig.user ? (data, node) => setUserSlot(data, node) : setSlot("treeParentSlot"),
65
65
  // // 自定义状态右侧插槽
66
66
  renderRight: (data) => {
67
67
  let renderRight = setSlot("renderRight");
@@ -137,7 +137,12 @@ const useAppTreeWrapper = (hy) => {
137
137
  "on-check-tree",
138
138
  JSON.parse(
139
139
  JSON.stringify(info.checkedBusinessNodes || info.checkedNodes)
140
- )
140
+ ),
141
+ {
142
+ data,
143
+ info,
144
+ checked
145
+ }
141
146
  );
142
147
  }
143
148
  },
@@ -152,6 +157,9 @@ const useAppTreeWrapper = (hy) => {
152
157
  // 筛选方法
153
158
  filterMethod: ({ filterValue: filterValue2 }, data) => {
154
159
  let isFilter = true;
160
+ if (props2.filterMethod) {
161
+ isFilter = props2.filterMethod(data, { filterValue: filterValue2 });
162
+ }
155
163
  if (filterValue2) {
156
164
  isFilter = isFilter && !!filterNodeMethod(data, filterValue2, {
157
165
  treeFilterParam: props2.treeFilterParam
@@ -356,7 +364,15 @@ const useAppTreeWrapper = (hy) => {
356
364
  }
357
365
  return true;
358
366
  }
367
+ function setGroupRenderItem(data, node) {
368
+ const slot = setSlot("treeParentSlot");
369
+ if (slot) {
370
+ return slot(data, node);
371
+ }
372
+ return true;
373
+ }
359
374
  function setSlot(slotName) {
375
+ console.log(slots, slotName);
360
376
  if (!slotName || !slots[slotName]) return null;
361
377
  return (data, node) => {
362
378
  let container = document.createElement("div");
@@ -396,25 +412,35 @@ const useAppTreeWrapper = (hy) => {
396
412
  function addDevice() {
397
413
  emits("on-addDevice");
398
414
  }
399
- function singleRemovalFn(row) {
400
- if (props2.treeType === "device") {
415
+ function setDeviceStatus(payload) {
416
+ virtualTree?.updateData([payload]);
417
+ }
418
+ function singleRemovalFn(row, isForce = false) {
419
+ if (props2.treeType === "device" || props2.treeType === "channel") {
401
420
  virtualTree.setChecked(row.channelId || row.deviceId, false, true);
402
421
  } else if (props2.treeType) {
403
- virtualTree.setChecked(row.id, false, true);
422
+ virtualTree.setChecked(row.id, false, true, isForce);
404
423
  } else if (!props2.treeType && props2.treeProps) {
405
- virtualTree.setChecked(row[`${props2.treeProps.value}`], false, true);
424
+ virtualTree.setChecked(
425
+ row[`${props2.treeProps.value}`],
426
+ false,
427
+ true,
428
+ isForce
429
+ );
406
430
  }
407
431
  }
408
- function setCheckedKeys(dataList) {
432
+ function setCheckedKeys(dataList, isForce = false) {
409
433
  if (props2.treeType === "device" || props2.treeType === "channel") {
410
434
  virtualTree?.setCheckedKeys(
411
435
  dataList.map((v) => v.channelId || v.deviceId),
412
- true
436
+ true,
437
+ isForce
413
438
  );
414
439
  } else if (props2.treeType) {
415
440
  virtualTree?.setCheckedKeys(
416
441
  dataList.map((v) => v.id),
417
- true
442
+ true,
443
+ isForce
418
444
  );
419
445
  } else if (!props2.treeType && props2.treeProps) {
420
446
  console.log(
@@ -422,7 +448,9 @@ const useAppTreeWrapper = (hy) => {
422
448
  dataList.map((v) => v[`${props2.treeProps.value}`])
423
449
  );
424
450
  virtualTree?.setCheckedKeys(
425
- dataList.map((v) => v[`${props2.treeProps.value}`])
451
+ dataList.map((v) => v[`${props2.treeProps.value}`]),
452
+ false,
453
+ isForce
426
454
  );
427
455
  }
428
456
  if (props2.isBackDefaultSelected) {
@@ -455,8 +483,11 @@ const useAppTreeWrapper = (hy) => {
455
483
  }
456
484
  }
457
485
  }
458
- function getSelectedDataList() {
459
- return virtualTree?.getCheckedBusinessNodes(true) || [];
486
+ function getSelectedDataList(leafOnly = false) {
487
+ if (props2.treeType) {
488
+ return virtualTree?.getCheckedBusinessNodes(leafOnly) || [];
489
+ }
490
+ return virtualTree?.getCheckedNodes(leafOnly) || [];
460
491
  }
461
492
  function setFilterListType(type) {
462
493
  if (props2.selectFilterList?.length) {
@@ -517,6 +548,9 @@ const useAppTreeWrapper = (hy) => {
517
548
  refreshData();
518
549
  }
519
550
  }
551
+ function getNode(id) {
552
+ return virtualTree.getNode(id);
553
+ }
520
554
  return {
521
555
  filterValue,
522
556
  virtualTree,
@@ -536,7 +570,8 @@ const useAppTreeWrapper = (hy) => {
536
570
  selectFilterType,
537
571
  selectedDataList,
538
572
  getSelectedDataList,
539
- loading
573
+ loading,
574
+ getNode
540
575
  };
541
576
  };
542
577
  function filterNodeMethod(data, value, { selectFilterType, treeFilterParam = [] }) {
@@ -1,5 +1,7 @@
1
1
  import { defineComponent, useSlots, ref, onMounted, resolveDirective, openBlock, createElementBlock, normalizeStyle, unref, createVNode, withCtx, createElementVNode, isRef, withKeys, Fragment, renderList, createBlock, createCommentVNode, renderSlot, withDirectives } from 'vue';
2
2
  import { ElTooltip, ElInput, ElSelect, ElOption } from 'element-plus';
3
+ import '../index.mjs';
4
+ import '../../hooks/index.mjs';
3
5
  import { VirtualTree } from 'hy-virtual-tree';
4
6
  import { useAppTreeWrapper } from './js/index.mjs';
5
7
  import { searchTypeConfig, treeTypeConfig } from './config/tree-config.mjs';
@@ -177,6 +179,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
177
179
  filterConfig: {
178
180
  type: Array,
179
181
  default: () => []
182
+ },
183
+ // 外部自定义过滤函数
184
+ filterMethod: {
185
+ type: Function,
186
+ default: () => null
180
187
  }
181
188
  },
182
189
  emits: [
@@ -211,7 +218,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
211
218
  getInputPlaceholder,
212
219
  onChange,
213
220
  getSelectedDataList,
214
- loading
221
+ loading,
222
+ getNode
215
223
  } = useMixins(
216
224
  {
217
225
  props,
@@ -223,7 +231,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
223
231
  [useAppTreeWrapper]
224
232
  );
225
233
  onMounted(() => {
226
- if (props.searchType === 2) ;
234
+ if (props.searchType === 2) {
235
+ }
227
236
  setFilterListType();
228
237
  });
229
238
  __expose({
@@ -232,7 +241,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
232
241
  setCheckedKeys,
233
242
  setChecked,
234
243
  getSelectedDataList,
235
- refreshData
244
+ refreshData,
245
+ getNode
236
246
  });
237
247
  return (_ctx, _cache) => {
238
248
  const _directive_loading = resolveDirective("loading");
@@ -345,9 +355,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
345
355
  withDirectives(createElementVNode(
346
356
  "div",
347
357
  {
348
- "element-loading-text": "\u52A0\u8F7D\u4E2D...",
349
- "element-loading-spinner": "el-icon-loading",
350
- "element-loading-background": "rgba(0, 0, 0, 0.8)",
351
358
  ref_key: "treeRef",
352
359
  ref: treeRef,
353
360
  style: { "width": "100%" },
@@ -1,4 +1,5 @@
1
1
  import _sfc_main from './userAvatar.vue.mjs';
2
+ import '../../utils/index.mjs';
2
3
  import { withInstall } from '../../utils/handler.mjs';
3
4
 
4
5
  const HyUserAvatar = withInstall(_sfc_main);
@@ -1,8 +1,11 @@
1
1
  import { defineComponent, computed, unref, openBlock, createElementBlock, normalizeStyle, createBlock, normalizeClass, createCommentVNode } from 'vue';
2
+ import '../../utils/index.mjs';
3
+ import '../../hooks/index.mjs';
4
+ import '../index.mjs';
2
5
  import { useLocale } from '../../hooks/useLocale.mjs';
3
6
  import { useUserAvatarMap } from '../../hooks/useUserAvatarMap.mjs';
4
- import { HyIcon } from '../hyIcon/index.mjs';
5
7
  import { pxTorem } from '../../utils/adaptive.mjs';
8
+ import { HyIcon } from '../hyIcon/index.mjs';
6
9
 
7
10
  import "./style/userAvatar.scss";
8
11
 
@@ -53,6 +56,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
53
56
  emits: [],
54
57
  setup(__props, { emit: __emit }) {
55
58
  const props = __props;
59
+ const emits = __emit;
56
60
  const { t } = useLocale();
57
61
  const { userAvatarMap } = useUserAvatarMap();
58
62
  const isGbDevice = computed(
@@ -15,6 +15,7 @@ const _sfc_main = {
15
15
  }
16
16
  },
17
17
  setup(__props) {
18
+ const props = __props;
18
19
  return (_ctx, _cache) => {
19
20
  return openBlock(), createElementBlock(
20
21
  "div",
@@ -1,4 +1,5 @@
1
1
  import _sfc_main from './videoPlayer.vue.mjs';
2
+ import '../../utils/index.mjs';
2
3
  import { withInstall } from '../../utils/handler.mjs';
3
4
 
4
5
  const HyVideoPlayer = withInstall(_sfc_main);
@@ -1,11 +1,15 @@
1
1
  import { ref, computed, nextTick } from 'vue';
2
2
  import { ElMessage } from 'element-plus';
3
+ import 'dayjs';
4
+ import '../../../hooks/index.mjs';
5
+ import '../../../utils/index.mjs';
6
+ import '../../index.mjs';
3
7
  import { useLocale } from '../../../hooks/useLocale.mjs';
4
8
  import { useVideoPlayerConfig } from '../../../hooks/useVideoPlayerConfig.mjs';
5
9
  import { formatDuration } from '../../../utils/date.mjs';
10
+ import { isSupportH265 } from '../../../utils/is.mjs';
6
11
  import { HyConfirmDialog } from '../../hyConfirmDialog/index.mjs';
7
12
  import { copyText } from '../../../utils/handler.mjs';
8
- import { isSupportH265 } from '../../../utils/is.mjs';
9
13
 
10
14
  const useVideoPlayer = (hy) => {
11
15
  const { props, emits, videoRef, videoWrapperRef } = hy;
@@ -277,7 +281,8 @@ const useVideoPlayer = (hy) => {
277
281
  }
278
282
  function fullscreenchangeHandler(e) {
279
283
  videoWrapperRef.value.style.setProperty("transition", "none");
280
- if (document.fullscreenElement) ; else {
284
+ if (document.fullscreenElement) {
285
+ } else {
281
286
  isFullScreen.value = false;
282
287
  }
283
288
  setTimeout(() => {
@@ -1,5 +1,8 @@
1
1
  import { defineComponent, useTemplateRef, computed, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, unref, createCommentVNode, createVNode, createElementVNode, toDisplayString, Fragment, createBlock, withCtx, createTextVNode, normalizeStyle, withDirectives, isRef, vModelText, renderList, renderSlot } from 'vue';
2
2
  import { ElPopover, ElSlider } from 'element-plus';
3
+ import '../../hooks/index.mjs';
4
+ import '../../utils/index.mjs';
5
+ import '../index.mjs';
3
6
  import _sfc_main$1 from './cpns/mediaLoading.vue.mjs';
4
7
  import { useVideoPlayer, useVideoResize } from './js/index.mjs';
5
8
  import { useLocale } from '../../hooks/useLocale.mjs';
@@ -25,6 +25,7 @@ export { HyTableActionButton } from './hyTableActionButton/index.mjs';
25
25
  export { HyBatchUploadDialog } from './hyBatchUploadDialog/index.mjs';
26
26
  export { HyMap } from './hyMap/index.mjs';
27
27
  export { HyRadioGroup } from './hyRadioGroup/index.mjs';
28
+ export { ElLoading, ElLoading as HyLoading } from './hyLoading/index.mjs';
28
29
  export { resetAppFormValue, useAppForm } from './hyForm/js/useAppForm.mjs';
29
30
  export { resetAppSearchValue, useAppSearch } from './hySearch/js/useAppSearch.mjs';
30
31
  export { useAppTable } from './hyTable/js/useAppTable.mjs';
@@ -1,4 +1,4 @@
1
- import { getCurrentInstance, inject, ref, computed, unref, provide } from 'vue';
1
+ import { ref, getCurrentInstance, inject, computed, provide, unref } from 'vue';
2
2
  import * as index from '../locale/index.mjs';
3
3
  import { localeContextKey } from './useLocale.mjs';
4
4
  import { localApiKey } from './useApi.mjs';
@@ -1,9 +1,11 @@
1
- import { getCurrentInstance, inject, ref, computed, unref, isRef } from 'vue';
1
+ import { unref, computed, isRef, ref, getCurrentInstance, inject } from 'vue';
2
2
  import { get } from 'lodash-unified';
3
+ import './index.mjs';
4
+ import '../utils/index.mjs';
3
5
  import * as index from '../locale/index.mjs';
4
- import { useGlobalConfig } from './useGlobalConfig.mjs';
5
6
  import { isEmpty } from '../utils/is.mjs';
6
7
  import zh_CN from '../locale/zh_CN.mjs';
8
+ import { useGlobalConfig } from './useGlobalConfig.mjs';
7
9
 
8
10
  const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
9
11
  const translate = (path, option, locale) => get(locale, path, path).replace(
@@ -1,4 +1,5 @@
1
1
  import { nextTick } from 'vue';
2
+ import '../utils/index.mjs';
2
3
  import { isFunction } from '../utils/is.mjs';
3
4
 
4
5
  let resizeMap = {};
@@ -1,4 +1,4 @@
1
- import { nextTick, unref } from 'vue';
1
+ import { unref, nextTick } from 'vue';
2
2
 
3
3
  let resizeMap = {};
4
4
  function useResizeObserver(container, callback) {
package/es/index.mjs CHANGED
@@ -1,6 +1,11 @@
1
1
  import installer from './make-installer.mjs';
2
+ import './utils/index.mjs';
3
+ import './components/index.mjs';
4
+ import './bussiness/index.mjs';
5
+ import './hooks/index.mjs';
2
6
  export { ElDatePicker, HyDatePicker } from './components/hyDatePicker/index.mjs';
3
7
  export { ElInput, HyInput, HyInputSearch } from './components/hyInput/index.mjs';
8
+ export { ElLoading, ElLoading as HyLoading } from './components/hyLoading/index.mjs';
4
9
  export { ElTimePicker, HyTimePicker } from './components/hyTimePicker/index.mjs';
5
10
  export { ElTooltip, HyTooltip } from './components/hyTooltip/index.mjs';
6
11
  export { HyAddDepartmentType } from './bussiness/hyAddDepartmentType/index.mjs';
@@ -41,6 +46,7 @@ export { defaultAxios, localApiKey, useApi } from './hooks/useApi.mjs';
41
46
  export { enterNumbersRrLetters, enterTheMumber, filterSpaces, formatNumber, formatTimeFn, getPublicFileSize, inputForbidden, keepTwoDecimalPlaces, onlyNumber } from './utils/input.mjs';
42
47
  export { formatDuration, getDefaultValueFormatByType } from './utils/date.mjs';
43
48
  export { isArray, isBoolean, isEmpty, isFile, isFunction, isNull, isNumber, isObject, isOverflowing, isPermission, isString, isSupportH265, isSymbol, isUndefined, isVueProxy } from './utils/is.mjs';
49
+ export { loadingSvg } from './utils/sharedContent.mjs';
44
50
  export { localAudioPlayerConfigKey, useAudioPlayerConfig } from './hooks/useAudioPlayerConfig.mjs';
45
51
  export { localEnsureHyIconMapKey, useEnsureHyIcon } from './hooks/useEnsureHyIcon.mjs';
46
52
  export { localMapConfigKey, useMapConfig } from './hooks/useMapConfig.mjs';
package/es/locale/en.mjs CHANGED
@@ -27,8 +27,7 @@ var en = {
27
27
  wednesday: "Wednesday",
28
28
  thursday: "Thursday",
29
29
  friday: "Friday",
30
- saturday: "Saturday",
31
- help: "Help"
30
+ saturday: "Saturday"
32
31
  },
33
32
  form: {
34
33
  department: "Department",
@@ -27,8 +27,7 @@ var zh_CN = {
27
27
  wednesday: "\u661F\u671F\u4E09",
28
28
  thursday: "\u661F\u671F\u56DB",
29
29
  friday: "\u661F\u671F\u4E94",
30
- saturday: "\u661F\u671F\u516D",
31
- help: "\u5E2E\u52A9"
30
+ saturday: "\u661F\u671F\u516D"
32
31
  },
33
32
  form: {
34
33
  department: "\u6240\u5C5E\u90E8\u95E8",
@@ -1,3 +1,4 @@
1
+ import './hooks/index.mjs';
1
2
  import { INSTALLED_KEY } from './constants/index.mjs';
2
3
  import * as index from './components/index.mjs';
3
4
  import { version } from './version.mjs';
@@ -0,0 +1,14 @@
1
+ export default {
2
+ id: 'hy-icon-ops-list-lod',
3
+ defs: `<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="hy-icon-ops-list-lod-linearGradient-1">
4
+ <stop stop-color="#FFFFFF" offset="0%"></stop>
5
+ <stop stop-color="#73F6FF" offset="100%"></stop>
6
+ </linearGradient>`,
7
+ symbol: `<symbol id="hy-icon-ops-list-lod" viewBox="0 0 28 7">
8
+ <g id="hy-icon-ops-list-lod-部门管理" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
9
+ <g id="hy-icon-ops-list-lod-缩小化-自适应说明" transform="translate(-1263, -986)" fill="url(#hy-icon-ops-list-lod-linearGradient-1)" fill-rule="nonzero">
10
+ <path d="M1267.42105,986.85 C1268.23495,986.85 1268.89474,987.535564 1268.89474,988.38125 L1268.89474,991.44375 C1268.89474,992.289436 1268.23495,992.975 1267.42105,992.975 L1264.47368,992.975 C1263.65979,992.975 1263,992.289436 1263,991.44375 L1263,988.38125 C1263,987.535564 1263.65979,986.85 1264.47368,986.85 L1267.42105,986.85 L1267.42105,986.85 Z M1278.47368,986.85 C1279.28758,986.85 1279.94737,987.535564 1279.94737,988.38125 L1279.94737,991.44375 C1279.94737,992.289436 1279.28758,992.975 1278.47368,992.975 L1275.52632,992.975 C1274.71242,992.975 1274.05263,992.289436 1274.05263,991.44375 L1274.05263,988.38125 C1274.05263,987.535564 1274.71242,986.85 1275.52632,986.85 L1278.47368,986.85 L1278.47368,986.85 Z M1289.52632,986.85 C1290.34021,986.85 1291,987.535564 1291,988.38125 L1291,991.44375 C1291,992.289436 1290.34021,992.975 1289.52632,992.975 L1286.57895,992.975 C1285.76505,992.975 1285.10526,992.289436 1285.10526,991.44375 L1285.10526,988.38125 C1285.10526,987.535564 1285.76505,986.85 1286.57895,986.85 L1289.52632,986.85 L1289.52632,986.85 Z" id="hy-icon-ops-list-lod-lod"></path>
11
+ </g>
12
+ </g>
13
+ </symbol>`,
14
+ };
package/es/utils/file.mjs CHANGED
@@ -1,4 +1,5 @@
1
1
  import { unref } from 'vue';
2
+ import '../hooks/index.mjs';
2
3
  import { createUniqueId } from './handler.mjs';
3
4
  import { useApi } from '../hooks/useApi.mjs';
4
5
 
package/es/utils/form.mjs CHANGED
@@ -1,5 +1,6 @@
1
1
  import { unref } from 'vue';
2
- import { isString, isArray, isFunction, isEmpty, isObject, isBoolean } from './is.mjs';
2
+ import '../hooks/index.mjs';
3
+ import { isString, isArray, isBoolean, isFunction, isObject, isEmpty } from './is.mjs';
3
4
  import { useLocale } from '../hooks/useLocale.mjs';
4
5
 
5
6
  function getValueByProp(model, prop) {
@@ -1,5 +1,7 @@
1
+ import 'vue';
1
2
  import { ElMessage } from 'element-plus';
2
3
  import { isFunction, isVueProxy, isArray, isObject, isEmpty } from './is.mjs';
4
+ import '../index.mjs';
3
5
  import { useLocale } from '../hooks/useLocale.mjs';
4
6
 
5
7
  function funRunHandler(target, ...args) {
@@ -8,4 +8,6 @@ export { clearSpace, columnLabelHandler, columnPlaceholderHandler, columnRuleHan
8
8
  export { enterNumbersRrLetters, enterTheMumber, filterSpaces, formatNumber, formatTimeFn, getPublicFileSize, inputForbidden, keepTwoDecimalPlaces, onlyNumber } from './input.mjs';
9
9
  export { PERMISSION } from './permission.mjs';
10
10
  export { InitMap, setMapServer, setPoiServer } from './map/index.mjs';
11
+ import './tree.mjs';
12
+ export { loadingSvg } from './sharedContent.mjs';
11
13
  export { setGlobalTreeConfig } from 'hy-virtual-tree';
@@ -1,3 +1,4 @@
1
+ import '../hooks/index.mjs';
1
2
  import { useLocale } from '../hooks/useLocale.mjs';
2
3
 
3
4
  function formatNumber(n) {
package/es/utils/is.mjs CHANGED
@@ -1,4 +1,5 @@
1
1
  import { isRef, isReactive, isReadonly, isProxy } from 'vue';
2
+ import '../hooks/index.mjs';
2
3
  import { usePermissionMap } from '../hooks/usePermissionMap.mjs';
3
4
 
4
5
  const isString = (e) => typeof e === "string";
@@ -5,7 +5,7 @@ import { createMapProxy, createWrappedHandlerStore } from '../js/mapProxy.mjs';
5
5
 
6
6
  var __defProp = Object.defineProperty;
7
7
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
- var __publicField = (obj, key, value) => __defNormalProp(obj, key + "" , value);
8
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
9
9
  const CIRCLE_SEGMENTS = 36;
10
10
  function remToPx(rem) {
11
11
  const rootFontSize = parseFloat(
@@ -712,6 +712,7 @@ class bigMap extends EventEmitter {
712
712
  // 电子围栏
713
713
  CreateFence(pmType = "rectangle", options = {}, map) {
714
714
  let polygon = null;
715
+ const _this = this;
715
716
  const clearPolygon = () => {
716
717
  if (polygon) {
717
718
  polygon.remove();
@@ -822,7 +823,7 @@ class bigMap extends EventEmitter {
822
823
  }
823
824
  function setPointIcon(index, distance, showDeleteAll) {
824
825
  const markerItem = rangingMarker[index];
825
- const isLast = !rangingMarker[index + 1]?.options?.extData?.distance;
826
+ const isLast = showDeleteAll ?? !rangingMarker[index + 1]?.options?.extData?.distance;
826
827
  markerItem.setIcon({
827
828
  divIcon: _this.DivIcon(
828
829
  rangingPointIconOption(
@@ -1,9 +1,9 @@
1
1
  import { EventEmitter } from 'events';
2
- import { createMapProxy, createWrappedHandlerStore } from '../js/mapProxy.mjs';
2
+ import { createWrappedHandlerStore, createMapProxy } from '../js/mapProxy.mjs';
3
3
 
4
4
  var __defProp = Object.defineProperty;
5
5
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
- var __publicField = (obj, key, value) => __defNormalProp(obj, key + "" , value);
6
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
7
7
  const createClickHandler = (fn, context, target) => {
8
8
  return (e) => {
9
9
  const newEvent = { ...e };
@@ -1,5 +1,11 @@
1
1
  import { EventEmitter } from 'events';
2
2
  import L from 'leaflet';
3
+ import 'leaflet.pm';
4
+ import 'leaflet.chinatmsproviders';
5
+ import 'proj4leaflet';
6
+ import 'leaflet.motion/dist/leaflet.motion.min';
7
+ import 'leaflet.markercluster/dist/leaflet.markercluster-src.js';
8
+ import 'leaflet-polylinedecorator/dist/leaflet.polylineDecorator';
3
9
  import { importCoordinate, exportCoordinate } from '../js/webgis.mjs';
4
10
  import { createMapProxy, createWrappedHandlerStore } from '../js/mapProxy.mjs';
5
11
  import * as esriNS from 'esri-leaflet';
@@ -8,7 +14,7 @@ import related from 'esri-leaflet-related/dist/esri-leaflet-related';
8
14
 
9
15
  var __defProp = Object.defineProperty;
10
16
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
11
- var __publicField = (obj, key, value) => __defNormalProp(obj, key + "" , value);
17
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
12
18
  import "leaflet/dist/leaflet.css";
13
19
 
14
20
  import "leaflet.pm/dist/leaflet.pm.css";