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
@@ -1,4 +1,5 @@
1
1
  import _sfc_main from './map.vue.mjs';
2
+ import '../../utils/index.mjs';
2
3
  import { withInstall } from '../../utils/handler.mjs';
3
4
 
4
5
  const HyMap = withInstall(_sfc_main);
@@ -10,6 +10,88 @@ const useAppMapWrapper = (hy) => {
10
10
  const hyMap = null;
11
11
  const map = null;
12
12
  function newMap(mapType) {
13
+ const mapFilters = [
14
+ {
15
+ name: "\u6697\u9ED1\u56FE\u5C42",
16
+ filter: "grayscale(98%) invert(100%) sepia(20%) hue-rotate(180deg) saturate(1600%) brightness(80%) contrast(90%)"
17
+ },
18
+ {
19
+ name: "\u590D\u53E4\u98CE\u683C",
20
+ filter: "sepia(80%) saturate(200%) hue-rotate(-20deg) contrast(90%) brightness(90%)"
21
+ },
22
+ {
23
+ name: "\u84DD\u8272\u8C03",
24
+ filter: "grayscale(30%) sepia(10%) hue-rotate(180deg) saturate(200%) brightness(95%) contrast(105%)"
25
+ },
26
+ {
27
+ name: "\u519B\u4E8B\u98CE\u683C",
28
+ filter: "grayscale(40%) sepia(40%) hue-rotate(-40deg) saturate(150%) brightness(90%) contrast(110%)"
29
+ },
30
+ {
31
+ name: "\u9713\u8679\u98CE\u683C",
32
+ filter: "invert(100%) hue-rotate(180deg) saturate(2000%) brightness(110%) contrast(120%)"
33
+ },
34
+ {
35
+ name: "\u6C34\u5F69\u98CE\u683C",
36
+ filter: "blur(1px) brightness(105%) contrast(95%) saturate(120%)"
37
+ },
38
+ {
39
+ name: "\u9ED1\u767D\u9AD8\u5BF9\u6BD4\u5EA6",
40
+ filter: "grayscale(100%) contrast(130%) brightness(105%) saturate(120%)"
41
+ },
42
+ {
43
+ name: "\u9634\u5929\u98CE\u683C",
44
+ filter: "grayscale(30%) contrast(90%) brightness(95%) saturate(80%)"
45
+ },
46
+ {
47
+ name: "\u9633\u5149\u660E\u5A9A",
48
+ filter: "sepia(10%) saturate(120%) brightness(110%) contrast(105%)"
49
+ },
50
+ {
51
+ name: "\u591C\u95F4\u6A21\u5F0F",
52
+ filter: "grayscale(80%) invert(100%) sepia(30%) hue-rotate(180deg) saturate(200%) brightness(90%) contrast(95%)"
53
+ },
54
+ {
55
+ name: "\u6E29\u6696\u8272\u8C03",
56
+ filter: "sepia(40%) hue-rotate(-10deg) saturate(130%) brightness(105%) contrast(100%)"
57
+ },
58
+ {
59
+ name: "\u51B7\u8272\u8C03",
60
+ filter: "grayscale(20%) sepia(10%) hue-rotate(190deg) saturate(150%) brightness(105%) contrast(105%)"
61
+ },
62
+ {
63
+ name: "\u9AD8\u5BF9\u6BD4\u5EA6",
64
+ filter: "contrast(150%) brightness(105%) saturate(110%)"
65
+ },
66
+ {
67
+ name: "\u4F4E\u9971\u548C\u5EA6",
68
+ filter: "saturate(30%) brightness(105%) contrast(105%)"
69
+ },
70
+ {
71
+ name: "\u6DF1\u8910\u8272",
72
+ filter: "sepia(70%) saturate(150%) brightness(90%) contrast(105%)"
73
+ },
74
+ {
75
+ name: "\u9752\u7EFF\u8272",
76
+ filter: "hue-rotate(180deg) saturate(150%) brightness(105%) contrast(105%)"
77
+ },
78
+ {
79
+ name: "\u7D2B\u7EA2\u8272",
80
+ filter: "hue-rotate(270deg) saturate(200%) brightness(105%) contrast(105%)"
81
+ },
82
+ {
83
+ name: "\u67D4\u548C\u590D\u53E4",
84
+ filter: "sepia(50%) saturate(120%) contrast(90%) brightness(105%)"
85
+ },
86
+ {
87
+ name: "\u6DE1\u96C5",
88
+ filter: "saturate(80%) brightness(105%) contrast(95%)"
89
+ },
90
+ {
91
+ name: "\u5F3A\u70C8",
92
+ filter: "saturate(180%) brightness(105%) contrast(115%)"
93
+ }
94
+ ];
13
95
  hy.hyMap = new InitMap({
14
96
  ...mapConfig,
15
97
  mapType,
@@ -1,6 +1,8 @@
1
1
  import { ref, onMounted, openBlock, createElementBlock, createElementVNode } from 'vue';
2
+ import '../../hooks/index.mjs';
2
3
  import { useAppMapWrapper } from './js/index.mjs';
3
4
  import { useMixins } from '../../hooks/useMixins.mjs';
5
+ import { useMapConfig } from '../../hooks/useMapConfig.mjs';
4
6
 
5
7
  import "../../static/map/bigemap.css";
6
8
 
@@ -14,12 +16,18 @@ const _sfc_main = {
14
16
  // 地图配置
15
17
  mapConfig: {
16
18
  type: Object,
17
- default: () => ({})
19
+ default: () => {
20
+ const { mapConfig } = useMapConfig();
21
+ return mapConfig.value || {};
22
+ }
18
23
  },
19
- // 地图类型 gaode leafletjs bugMap
24
+ // 地图类型 gaode leafletjs bigMap
20
25
  mapType: {
21
26
  type: String,
22
- default: "gaode"
27
+ default: () => {
28
+ const { mapConfig } = useMapConfig();
29
+ return mapConfig.value?.mapType || "gaode";
30
+ }
23
31
  }
24
32
  },
25
33
  emits: ["complete"],
@@ -1,4 +1,5 @@
1
1
  import _sfc_main from './menu.vue.mjs';
2
+ import '../../utils/index.mjs';
2
3
  import { withInstall } from '../../utils/handler.mjs';
3
4
 
4
5
  const HyMenu = withInstall(_sfc_main);
@@ -1,4 +1,7 @@
1
1
  import { defineComponent, useModel, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, createBlock, unref, withCtx, withModifiers, createVNode, toDisplayString, createCommentVNode, mergeModels } from 'vue';
2
+ import 'element-plus';
3
+ import '@element-plus/icons-vue';
4
+ import '../index.mjs';
2
5
  import { HyTooltip } from '../hyTooltip/index.mjs';
3
6
  import { HyIcon } from '../hyIcon/index.mjs';
4
7
 
@@ -27,6 +30,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
27
30
  }),
28
31
  emits: /* @__PURE__ */ mergeModels(["select", "open", "close"], ["update:expand"]),
29
32
  setup(__props, { expose: __expose, emit: __emit }) {
33
+ const props = __props;
30
34
  const emits = __emit;
31
35
  const expand = useModel(__props, "expand");
32
36
  function onClickHandler(item) {
@@ -1,4 +1,5 @@
1
1
  import _sfc_main from './noPermissions.vue.mjs';
2
+ import '../../utils/index.mjs';
2
3
  import { withInstall } from '../../utils/handler.mjs';
3
4
 
4
5
  const HyNoPermissions = withInstall(_sfc_main);
@@ -1,4 +1,6 @@
1
1
  import { defineComponent, openBlock, createElementBlock, createVNode, unref, createElementVNode, toDisplayString } from 'vue';
2
+ import '../../hooks/index.mjs';
3
+ import '../index.mjs';
2
4
  import { useLocale } from '../../hooks/useLocale.mjs';
3
5
  import { HyIcon } from '../hyIcon/index.mjs';
4
6
 
@@ -16,6 +18,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
16
18
  },
17
19
  emits: [],
18
20
  setup(__props, { expose: __expose, emit: __emit }) {
21
+ const props = __props;
22
+ const emits = __emit;
19
23
  const { t } = useLocale();
20
24
  __expose({});
21
25
  return (_ctx, _cache) => {
@@ -1,4 +1,5 @@
1
1
  import _sfc_main from './noPermissionsMap.vue.mjs';
2
+ import '../../utils/index.mjs';
2
3
  import { withInstall } from '../../utils/handler.mjs';
3
4
 
4
5
  const HyNoPermissionsMap = withInstall(_sfc_main);
@@ -1,4 +1,6 @@
1
1
  import { defineComponent, openBlock, createElementBlock, createVNode, unref, createElementVNode, toDisplayString } from 'vue';
2
+ import '../../hooks/index.mjs';
3
+ import '../index.mjs';
2
4
  import { useLocale } from '../../hooks/useLocale.mjs';
3
5
  import { HyIcon } from '../hyIcon/index.mjs';
4
6
 
@@ -16,6 +18,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
16
18
  },
17
19
  emits: [],
18
20
  setup(__props, { expose: __expose, emit: __emit }) {
21
+ const props = __props;
22
+ const emits = __emit;
19
23
  const { t } = useLocale();
20
24
  __expose({});
21
25
  return (_ctx, _cache) => {
@@ -1,4 +1,5 @@
1
1
  import _sfc_main from './orgCascader.vue.mjs';
2
+ import '../../utils/index.mjs';
2
3
  import { withInstall } from '../../utils/handler.mjs';
3
4
 
4
5
  const HyOrgCascader = withInstall(_sfc_main);
@@ -1,5 +1,6 @@
1
1
  import Axios from 'axios';
2
2
  import { unref } from 'vue';
3
+ import '../../../hooks/index.mjs';
3
4
  import { useApi } from '../../../hooks/useApi.mjs';
4
5
 
5
6
  let throttleFn = null;
@@ -31,6 +32,7 @@ function getOrgTreeSimple() {
31
32
  function orgTreeDatahandler(data) {
32
33
  const cascaderMap = /* @__PURE__ */ new Map();
33
34
  const handler = (list = [], parentIdsList = []) => {
35
+ ;
34
36
  (list || []).forEach((item) => {
35
37
  item.label = item.companyName;
36
38
  item.value = item.id;
@@ -1,8 +1,9 @@
1
1
  import { defineComponent, useModel, useTemplateRef, ref, computed, watch, onUnmounted, openBlock, createElementBlock, createElementVNode, normalizeStyle, createVNode, unref, renderSlot, toDisplayString, createCommentVNode, createBlock, normalizeClass, mergeModels } from 'vue';
2
2
  import { ElCascader } from 'element-plus';
3
+ import '../../hooks/index.mjs';
3
4
  import { getOrgTreeSimple, orgTreeDatahandler } from './js/index.mjs';
4
- import { useLocale } from '../../hooks/useLocale.mjs';
5
5
  import { useSubscribe } from '../../hooks/useSubscribe.mjs';
6
+ import { useLocale } from '../../hooks/useLocale.mjs';
6
7
 
7
8
  import "./style/orgCascader.scss";
8
9
 
@@ -1,4 +1,5 @@
1
1
  import _sfc_main from './radioGroup.vue.mjs';
2
+ import '../../utils/index.mjs';
2
3
  import { withInstall } from '../../utils/handler.mjs';
3
4
 
4
5
  const HyRadioGroup = withInstall(_sfc_main);
@@ -1,4 +1,4 @@
1
- import { useModel, useTemplateRef, ref, computed, watch, openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, createTextVNode, toDisplayString, normalizeStyle, createCommentVNode, mergeModels, defineComponent, nextTick } from 'vue';
1
+ import { defineComponent, useModel, useTemplateRef, ref, computed, nextTick, watch, openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, createTextVNode, toDisplayString, normalizeStyle, createCommentVNode, mergeModels } from 'vue';
2
2
 
3
3
  import "./style/radioGroup.scss";
4
4
 
@@ -82,7 +82,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
82
82
  return openBlock(), createElementBlock("li", {
83
83
  key: index,
84
84
  class: "w-0 flex-1 flex items-center justify-center text-main clickBox",
85
- onClick: ($event) => switchSelect(item)
85
+ onClick: ($event) => switchSelect(item, index, $event)
86
86
  }, [
87
87
  renderSlot(_ctx.$slots, "default", {
88
88
  item,
@@ -1,6 +1,8 @@
1
1
  import { computed, unref, openBlock, createBlock, withCtx, createElementVNode, normalizeStyle, createCommentVNode, normalizeClass, renderSlot, createElementBlock, toDisplayString, Fragment, createVNode, mergeProps, withKeys, renderList } from 'vue';
2
- import { ElFormItem, ElSelect } from 'element-plus';
3
- import { columnShowHandler, columnItemStyle, columnItemInputStyle, isDisabled, optionsHandler, isSelectedTimeRange, timeRangeHandler } from '../js/index.mjs';
2
+ import { ElFormItem, ElSelect, ElCascader } from 'element-plus';
3
+ import '../../../utils/index.mjs';
4
+ import '../../index.mjs';
5
+ import { timeRangeHandler, columnShowHandler, columnItemStyle, columnItemInputStyle, isDisabled, optionsHandler, isSelectedTimeRange } from '../js/index.mjs';
4
6
  import { isArray } from '../../../utils/is.mjs';
5
7
  import { setValueByProp, getValueByProp, columnPlaceholderHandler, columnLabelHandler } from '../../../utils/form.mjs';
6
8
  import { HyInput } from '../../hyInput/index.mjs';
@@ -239,6 +241,22 @@ const _sfc_main = {
239
241
  ],
240
242
  2112
241
243
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
244
+ )) : __props.column.type === "cascader" ? (openBlock(), createElementBlock(
245
+ Fragment,
246
+ { key: 6 },
247
+ [
248
+ createCommentVNode(" \u7EA7\u8054\u9009\u62E9\u6846 "),
249
+ createVNode(unref(ElCascader), mergeProps({
250
+ modelValue: bindValue.value,
251
+ "onUpdate:modelValue": ($event) => bindValue.value = $event
252
+ }, columnAttrs.value, {
253
+ disabled: unref(isDisabled)(props, __props.column),
254
+ options: unref(optionsHandler)(props, __props.column),
255
+ onChange: onChangeHandler
256
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "options"])
257
+ ],
258
+ 2112
259
+ /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
242
260
  )) : createCommentVNode("v-if", true)
243
261
  ],
244
262
  6
@@ -1,4 +1,5 @@
1
1
  import _sfc_main from './search.vue.mjs';
2
+ import '../../utils/index.mjs';
2
3
  export { resetAppSearchValue, useAppSearch } from './js/useAppSearch.mjs';
3
4
  import { withInstall } from '../../utils/handler.mjs';
4
5
 
@@ -1,7 +1,9 @@
1
1
  import dayjs from 'dayjs';
2
- import { ref, unref } from 'vue';
2
+ import { unref, ref } from 'vue';
3
+ import '../../../utils/index.mjs';
4
+ import '../../../hooks/index.mjs';
5
+ import { isNumber, isString, isBoolean, isFunction, isEmpty, isArray } from '../../../utils/is.mjs';
3
6
  import { useResizeObserver } from '../../../hooks/useResizeObserver.mjs';
4
- import { isEmpty, isArray, isBoolean, isFunction, isNumber, isString } from '../../../utils/is.mjs';
5
7
 
6
8
  function columnItemStyle(props, column) {
7
9
  const { width } = column;
@@ -1,8 +1,10 @@
1
1
  import { unref, toRef } from 'vue';
2
- import { funRunHandler, mergeDeep } from '../../../utils/handler.mjs';
3
- import { genValueByProp, genColumnDefaultLabel } from '../../../utils/form.mjs';
2
+ import '../../../hooks/index.mjs';
3
+ import '../../../utils/index.mjs';
4
4
  import { useLocale } from '../../../hooks/useLocale.mjs';
5
5
  import { isNumber } from '../../../utils/is.mjs';
6
+ import { genColumnDefaultLabel, genValueByProp } from '../../../utils/form.mjs';
7
+ import { mergeDeep, funRunHandler } from '../../../utils/handler.mjs';
6
8
 
7
9
  const genColumnWidth = (config) => {
8
10
  let { width, inputWidth, type, attrs } = config || {};
@@ -1,6 +1,9 @@
1
1
  import { defineComponent, useTemplateRef, computed, unref, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, toDisplayString, Fragment, createCommentVNode, withDirectives, normalizeStyle, withCtx, vShow, mergeProps, renderList, createBlock, createSlots, renderSlot } from 'vue';
2
2
  import { ElIcon, ElForm } from 'element-plus';
3
3
  import { ArrowDown } from '@element-plus/icons-vue';
4
+ import '../../hooks/index.mjs';
5
+ import '../../utils/index.mjs';
6
+ import '../index.mjs';
4
7
  import _sfc_main$1 from './cpns/searchItem.vue.mjs';
5
8
  import { useShrink, isEmptyValue } from './js/index.mjs';
6
9
  import { resetAppSearchValue } from './js/useAppSearch.mjs';
@@ -1,14 +1,17 @@
1
- import { useTemplateRef, ref, computed, unref, watch, openBlock, createBlock, withCtx, createElementVNode, toDisplayString, createVNode, normalizeClass, createCommentVNode, createElementBlock, Fragment, renderList, createTextVNode, nextTick } from 'vue';
1
+ import { useTemplateRef, ref, computed, unref, nextTick, watch, openBlock, createBlock, withCtx, createElementVNode, toDisplayString, createVNode, normalizeClass, createCommentVNode, createElementBlock, Fragment, renderList, createTextVNode } from 'vue';
2
2
  import Sortable from 'sortablejs';
3
- import { ElPopover, ElCheckboxGroup, ElIcon, ElMessage } from 'element-plus';
3
+ import { ElMessage, ElPopover, ElCheckboxGroup, ElIcon } from 'element-plus';
4
4
  import { Warning } from '@element-plus/icons-vue';
5
+ import '../../../hooks/index.mjs';
6
+ import '../../../utils/index.mjs';
7
+ import '../../index.mjs';
5
8
  import { tableColumnShowHandler, tableColumnHandler } from '../js/index.mjs';
6
9
  import _sfc_main$1 from './columnSelectItem.vue.mjs';
7
10
  import { useLocale } from '../../../hooks/useLocale.mjs';
11
+ import { isEmpty } from '../../../utils/is.mjs';
8
12
  import { HyIcon } from '../../hyIcon/index.mjs';
9
13
  import { HyTooltip } from '../../hyTooltip/index.mjs';
10
14
  import { HyButton } from '../../hyButton/index.mjs';
11
- import { isEmpty } from '../../../utils/is.mjs';
12
15
 
13
16
  const _sfc_main = {
14
17
  __name: "columnSelect",
@@ -1,7 +1,9 @@
1
1
  import { openBlock, createBlock, unref, withCtx, createElementVNode, toDisplayString, createElementBlock, createCommentVNode, Fragment, renderList, normalizeClass, createVNode, withModifiers } from 'vue';
2
2
  import { ElPopover, ElIcon, ElCheckbox } from 'element-plus';
3
3
  import { Lock } from '@element-plus/icons-vue';
4
+ import '../../../hooks/index.mjs';
4
5
  import { renderHeaderHandler } from '../js/index.mjs';
6
+ import '../../index.mjs';
5
7
  import { useLocale } from '../../../hooks/useLocale.mjs';
6
8
  import { HyTooltip } from '../../hyTooltip/index.mjs';
7
9
 
@@ -23,6 +25,7 @@ const _sfc_main = {
23
25
  },
24
26
  emits: ["checked"],
25
27
  setup(__props, { emit: __emit }) {
28
+ const props = __props;
26
29
  const emits = __emit;
27
30
  const { t } = useLocale();
28
31
  function onClickHandler(column) {
@@ -1,6 +1,9 @@
1
1
  import { computed, openBlock, createElementBlock, createElementVNode, createVNode, unref, withModifiers, withCtx, renderSlot } from 'vue';
2
2
  import { ElIcon } from 'element-plus';
3
3
  import { ArrowUpBold, ArrowDownBold } from '@element-plus/icons-vue';
4
+ import '../../index.mjs';
5
+ import '../../../utils/index.mjs';
6
+ import '../js/index.mjs';
4
7
 
5
8
  const _sfc_main = {
6
9
  __name: "headerItem",
@@ -1,10 +1,13 @@
1
1
  import { computed, ref, openBlock, createBlock, unref, withCtx, renderSlot, createCommentVNode, createElementBlock, Fragment, renderList, normalizeStyle, withModifiers, normalizeClass, createVNode, mergeProps, createTextVNode, toDisplayString, createElementVNode, normalizeProps, guardReactiveProps } from 'vue';
2
2
  import { ElTableV2, ElIcon, ElCheckbox, ElDropdown, ElDropdownMenu, ElDropdownItem } from 'element-plus';
3
3
  import { ArrowRight, MoreFilled } from '@element-plus/icons-vue';
4
+ import '../../index.mjs';
5
+ import '../../../hooks/index.mjs';
6
+ import '../../../utils/index.mjs';
4
7
  import { operatorFilterHandler, operatorClickHandler, operatorDisabledHandler, operatorDisableTextdHandler, renderContentHandler, renderHeaderHandler } from '../js/index.mjs';
5
8
  import _sfc_main$1 from './headerItem.vue.mjs';
6
9
  import { useLocale } from '../../../hooks/useLocale.mjs';
7
- import { isNumber, isEmpty, isBoolean, isArray, isString, isFunction } from '../../../utils/is.mjs';
10
+ import { isNumber, isString, isFunction, isArray, isBoolean, isEmpty } from '../../../utils/is.mjs';
8
11
  import { HyTooltip } from '../../hyTooltip/index.mjs';
9
12
  import { HyIcon } from '../../hyIcon/index.mjs';
10
13
 
@@ -181,6 +184,7 @@ const _sfc_main = {
181
184
  }
182
185
  const checkedNodeMap = new Map(selectedMap.value);
183
186
  const isChecked = isBoolean(selected) ? selected : !checkedNodeMap.has(key);
187
+ const checkStrictly = false;
184
188
  const toggle = (node, checked) => {
185
189
  const nodeKey = getRowKey(node);
186
190
  if (isSelectable(node)) {
@@ -191,7 +195,7 @@ const _sfc_main = {
191
195
  }
192
196
  }
193
197
  const children = node.children;
194
- if (children) {
198
+ if (!checkStrictly && children) {
195
199
  children.forEach((childNode) => {
196
200
  toggle(childNode, checked);
197
201
  });
@@ -387,6 +391,7 @@ const _sfc_main = {
387
391
  onClick: withModifiers(($event) => onRowExpandSwitch({
388
392
  rowData: _ctx.rowData,
389
393
  row,
394
+ rowIndex: $index,
390
395
  rowKey: getRowKey(row)
391
396
  }), ["stop"])
392
397
  }, [
@@ -1,4 +1,5 @@
1
1
  import _sfc_main from './table.vue.mjs';
2
+ import '../../utils/index.mjs';
2
3
  export { useAppTable } from './js/useAppTable.mjs';
3
4
  import { withInstall } from '../../utils/handler.mjs';
4
5
 
@@ -1,8 +1,11 @@
1
- import { ref, computed, watch, watchEffect, unref, nextTick } from 'vue';
2
- import { ElLoading } from 'element-plus';
3
- import { usePermissionMap } from '../../../hooks/usePermissionMap.mjs';
1
+ import { unref, ref, computed, watch, nextTick, watchEffect } from 'vue';
2
+ import '../../../hooks/index.mjs';
3
+ import '../../../utils/index.mjs';
4
+ import '../../index.mjs';
5
+ import { isPermission, isBoolean, isFunction, isNumber, isString, isArray } from '../../../utils/is.mjs';
4
6
  import { useLocale } from '../../../hooks/useLocale.mjs';
5
- import { isString, isBoolean, isFunction, isPermission, isNumber, isArray } from '../../../utils/is.mjs';
7
+ import { usePermissionMap } from '../../../hooks/usePermissionMap.mjs';
8
+ import { ElLoading as HyLoading } from '../../hyLoading/index.mjs';
6
9
 
7
10
  function tableColumnShowHandler(column) {
8
11
  if (column.permission && !isPermission(column.permission)) {
@@ -28,7 +31,7 @@ function tableColumnsEditableleHandler(columns, columnsEditablele) {
28
31
  column
29
32
  });
30
33
  }
31
- Array.from(sortSet.values()).reduce((a, b) => a - b);
34
+ const sortList = Array.from(sortSet.values()).reduce((a, b) => a - b);
32
35
  const columnsList = Object.keys(columnsEditableleObj).reduce(
33
36
  (columnsList2, key) => {
34
37
  const list = columnsEditableleObj[key];
@@ -198,14 +201,11 @@ const useAppTableWrapper = (hy) => {
198
201
  function showAppTableLoading() {
199
202
  if (loadingInstance || !props.showLoading) return;
200
203
  closeAppTableLoading();
201
- loadingInstance = ElLoading.service({
204
+ loadingInstance = HyLoading.service({
202
205
  target: containerRef.value,
203
206
  body: false,
204
207
  fullscreen: false,
205
- text: t("hy.loading"),
206
- lock: true,
207
- // spinner: 'el-icon-loading',
208
- background: "rgba(0, 0, 0, 0.8)"
208
+ lock: true
209
209
  });
210
210
  loadingTimer = setTimeout(() => {
211
211
  closeAppTableLoading();
@@ -1,4 +1,6 @@
1
1
  import { ref, nextTick, unref } from 'vue';
2
+ import '../../../utils/index.mjs';
3
+ import '../../../hooks/index.mjs';
2
4
  import { useApi } from '../../../hooks/useApi.mjs';
3
5
  import { isEmpty, isNumber, isString } from '../../../utils/is.mjs';
4
6
 
@@ -1,7 +1,10 @@
1
1
  import { toRef } from 'vue';
2
- import { isEmpty, isBoolean, isString, isObject, isPermission } from '../../../utils/is.mjs';
3
- import { useAppSearch } from '../../hySearch/js/useAppSearch.mjs';
2
+ import '../../../hooks/index.mjs';
3
+ import '../../../utils/index.mjs';
4
+ import '../../index.mjs';
4
5
  import { useLocale } from '../../../hooks/useLocale.mjs';
6
+ import { isPermission, isBoolean, isString, isObject, isEmpty } from '../../../utils/is.mjs';
7
+ import { useAppSearch } from '../../hySearch/js/useAppSearch.mjs';
5
8
 
6
9
  function getColumnDefaultConfig(column) {
7
10
  const { t } = useLocale();
@@ -1,6 +1,9 @@
1
1
  import { defineComponent, useModel, useTemplateRef, openBlock, createElementBlock, createCommentVNode, createElementVNode, createBlock, unref, createVNode, toDisplayString, withCtx, renderSlot, normalizeClass, createSlots, renderList, normalizeProps, guardReactiveProps, mergeProps, Fragment, withModifiers, mergeModels } from 'vue';
2
2
  import { ElTable, ElTableColumn, ElDropdown, ElIcon, ElDropdownMenu, ElDropdownItem, ElAutoResizer, ElPagination } from 'element-plus';
3
3
  import { MoreFilled } from '@element-plus/icons-vue';
4
+ import '../index.mjs';
5
+ import '../../hooks/index.mjs';
6
+ import '../../utils/index.mjs';
4
7
  import { useAppTableWrapper, operatorFilterHandler, operatorClickHandler, operatorDisabledHandler, operatorDisableTextdHandler, renderContentHandler, renderHeaderHandler } from './js/index.mjs';
5
8
  import { useAppTableSearch } from './js/search.mjs';
6
9
  import _sfc_main$2 from './cpns/headerItem.vue.mjs';
@@ -239,6 +242,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
239
242
  // 表单查询
240
243
  totalElements,
241
244
  showFilter,
245
+ selectedList,
242
246
  getData,
243
247
  setData,
244
248
  resetFields,
@@ -741,7 +745,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
741
745
  "hide-on-single-page": "",
742
746
  onSizeChange: unref(onSizeChangeHandler),
743
747
  onCurrentChange: unref(onCurrentChangeHandler)
744
- }, null, 8, ["current-page", "onUpdate:currentPage", "page-size", "onUpdate:pageSize", "total", "pager-count", "layout", "onSizeChange", "onCurrentChange"])
748
+ }, null, 8, ["current-page", "onUpdate:currentPage", "page-size", "onUpdate:pageSize", "total", "pager-count", "layout", "onSizeChange", "onCurrentChange"]),
749
+ unref(selectedList) && unref(selectedList).length > 0 ? (openBlock(), createElementBlock("div", {
750
+ key: 0,
751
+ class: "absolute right-4 top-1/2 transform -translate-y-1/2"
752
+ }, [
753
+ renderSlot(_ctx.$slots, "multiple-operator-slot")
754
+ ])) : createCommentVNode("v-if", true)
745
755
  ])) : createCommentVNode("v-if", true)
746
756
  ]),
747
757
  createCommentVNode(" \u8868\u683C\u884C\u53F3\u952E\u5C55\u793A\u64CD\u4F5C\u5217\u8868 "),
@@ -1,4 +1,5 @@
1
1
  import _sfc_main from './tableActionButton.vue.mjs';
2
+ import '../../utils/index.mjs';
2
3
  import { withInstall } from '../../utils/handler.mjs';
3
4
 
4
5
  const HyTableActionButton = withInstall(_sfc_main);
@@ -1,11 +1,14 @@
1
- import { defineComponent, ref, computed, watch, openBlock, createElementBlock, createBlock, unref, withCtx, createVNode, normalizeClass, createTextVNode, toDisplayString, createElementVNode, Fragment, renderList, createCommentVNode, normalizeStyle } from 'vue';
1
+ import { defineComponent, ref, computed, unref, watch, openBlock, createElementBlock, createBlock, withCtx, createVNode, normalizeClass, createTextVNode, toDisplayString, createElementVNode, Fragment, renderList, createCommentVNode, normalizeStyle } from 'vue';
2
2
  import { ElPopover, ElIcon } from 'element-plus';
3
3
  import { Warning, ArrowDown } from '@element-plus/icons-vue';
4
+ import '../../hooks/index.mjs';
5
+ import '../../utils/index.mjs';
6
+ import '../index.mjs';
4
7
  import { useLocale } from '../../hooks/useLocale.mjs';
8
+ import { isPermission } from '../../utils/is.mjs';
5
9
  import { HyTooltip } from '../hyTooltip/index.mjs';
6
10
  import { HyButton } from '../hyButton/index.mjs';
7
11
  import { HyIcon } from '../hyIcon/index.mjs';
8
- import { isPermission } from '../../utils/is.mjs';
9
12
 
10
13
  import "./style/tableActionButton.scss";
11
14