hy-dispatch-ui-v3 0.2.62 → 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 (230) 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 +1 -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 +92 -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 +3 -0
  35. package/es/components/hyForm/form.vue.mjs +3 -0
  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 +7 -2
  70. package/es/components/hyTable/index.mjs +1 -0
  71. package/es/components/hyTable/js/index.mjs +10 -10
  72. package/es/components/hyTable/js/search.mjs +2 -0
  73. package/es/components/hyTable/js/useAppTable.mjs +5 -2
  74. package/es/components/hyTable/table.vue.mjs +3 -0
  75. package/es/components/hyTableActionButton/index.mjs +1 -0
  76. package/es/components/hyTableActionButton/tableActionButton.vue.mjs +5 -2
  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 +15 -2
  88. package/es/components/hyTree/tree.vue.mjs +9 -4
  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/utils/file.mjs +1 -0
  105. package/es/utils/form.mjs +2 -1
  106. package/es/utils/handler.mjs +2 -0
  107. package/es/utils/index.mjs +2 -0
  108. package/es/utils/input.mjs +1 -0
  109. package/es/utils/is.mjs +1 -0
  110. package/es/utils/map/hook/bigMap.mjs +3 -2
  111. package/es/utils/map/hook/gaode.mjs +2 -2
  112. package/es/utils/map/hook/leafletjs.mjs +7 -1
  113. package/es/utils/map/index.mjs +12 -0
  114. package/es/utils/map/js/webgis.mjs +4 -1
  115. package/es/utils/sharedContent.mjs +12 -0
  116. package/es/version.mjs +1 -1
  117. package/lib/api/device.js +1 -0
  118. package/lib/api/index.js +1 -0
  119. package/lib/api/sypct.js +1 -0
  120. package/lib/api/task.js +1 -0
  121. package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +15 -12
  122. package/lib/bussiness/hyAddDepartmentType/index.js +1 -0
  123. package/lib/bussiness/hyMapAearchPlace/index.js +1 -0
  124. package/lib/bussiness/hyMapAearchPlace/js/index.js +37 -40
  125. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +23 -4
  126. package/lib/bussiness/hyMapAearchPlace/mapAearchPlaceItem.vue.js +2 -0
  127. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +3 -0
  128. package/lib/components/hyAudioPlayer/index.js +1 -0
  129. package/lib/components/hyAudioPlayer/js/index.js +5 -1
  130. package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +1 -0
  131. package/lib/components/hyBatchUploadDialog/index.js +1 -0
  132. package/lib/components/hyButton/button.vue.js +2 -1
  133. package/lib/components/hyButton/index.js +1 -0
  134. package/lib/components/hyButton/style/button.scss +9 -2
  135. package/lib/components/hyConfigProvider/configProvider.vue.js +1 -0
  136. package/lib/components/hyConfigProvider/index.js +1 -0
  137. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +4 -0
  138. package/lib/components/hyConfirmDialog/confirmMethod.js +5 -3
  139. package/lib/components/hyConfirmDialog/index.js +1 -0
  140. package/lib/components/hyCutter/cutter.vue.js +3 -0
  141. package/lib/components/hyCutter/index.js +1 -0
  142. package/lib/components/hyDatePicker/datePicker.vue.js +2 -0
  143. package/lib/components/hyDatePicker/index.js +1 -0
  144. package/lib/components/hyDialog/dialog.vue.js +90 -26
  145. package/lib/components/hyDialog/index.js +1 -0
  146. package/lib/components/hyForm/cpns/arrayItem.vue.js +16 -3
  147. package/lib/components/hyForm/cpns/extraItem.vue.js +2 -0
  148. package/lib/components/hyForm/cpns/formItem.vue.js +3 -0
  149. package/lib/components/hyForm/cpns/locationSelect.vue.js +3 -0
  150. package/lib/components/hyForm/form.vue.js +3 -0
  151. package/lib/components/hyForm/index.js +1 -0
  152. package/lib/components/hyForm/js/index.js +3 -1
  153. package/lib/components/hyForm/js/useAppForm.js +3 -1
  154. package/lib/components/hyIcon/icon.vue.js +1 -0
  155. package/lib/components/hyIcon/index.js +1 -0
  156. package/lib/components/hyIconBox/iconBox.vue.js +1 -0
  157. package/lib/components/hyIconBox/index.js +1 -0
  158. package/lib/components/hyInput/index.js +1 -0
  159. package/lib/components/hyInput/input.vue.js +2 -0
  160. package/lib/components/hyInput/inputSearch.vue.js +1 -0
  161. package/lib/components/hyLoading/index.js +47 -0
  162. package/lib/components/hyMap/index.js +1 -0
  163. package/lib/components/hyMap/js/index.js +82 -0
  164. package/lib/components/hyMap/map.vue.js +1 -0
  165. package/lib/components/hyMenu/index.js +1 -0
  166. package/lib/components/hyMenu/menu.vue.js +4 -0
  167. package/lib/components/hyNoPermissions/index.js +1 -0
  168. package/lib/components/hyNoPermissions/noPermissions.vue.js +4 -0
  169. package/lib/components/hyNoPermissionsMap/index.js +1 -0
  170. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +4 -0
  171. package/lib/components/hyOrgCascader/index.js +1 -0
  172. package/lib/components/hyOrgCascader/js/index.js +2 -0
  173. package/lib/components/hyOrgCascader/orgCascader.vue.js +2 -1
  174. package/lib/components/hyRadioGroup/index.js +1 -0
  175. package/lib/components/hyRadioGroup/radioGroup.vue.js +1 -1
  176. package/lib/components/hySearch/cpns/searchItem.vue.js +2 -0
  177. package/lib/components/hySearch/index.js +1 -0
  178. package/lib/components/hySearch/js/index.js +3 -1
  179. package/lib/components/hySearch/js/useAppSearch.js +4 -2
  180. package/lib/components/hySearch/search.vue.js +3 -0
  181. package/lib/components/hyTable/cpns/columnSelect.vue.js +4 -1
  182. package/lib/components/hyTable/cpns/columnSelectItem.vue.js +3 -0
  183. package/lib/components/hyTable/cpns/headerItem.vue.js +3 -0
  184. package/lib/components/hyTable/cpns/virtualTable.vue.js +6 -1
  185. package/lib/components/hyTable/index.js +1 -0
  186. package/lib/components/hyTable/js/index.js +9 -9
  187. package/lib/components/hyTable/js/search.js +2 -0
  188. package/lib/components/hyTable/js/useAppTable.js +4 -1
  189. package/lib/components/hyTable/table.vue.js +3 -0
  190. package/lib/components/hyTableActionButton/index.js +1 -0
  191. package/lib/components/hyTableActionButton/tableActionButton.vue.js +4 -1
  192. package/lib/components/hyTableForm/batchTableForm.vue.js +15 -12
  193. package/lib/components/hyTableForm/index.js +1 -0
  194. package/lib/components/hyTableForm/js/index.js +36 -0
  195. package/lib/components/hyTableForm/js/useAppTableForm.js +2 -0
  196. package/lib/components/hyTableForm/tableForm.vue.js +12 -10
  197. package/lib/components/hyTimePicker/index.js +1 -0
  198. package/lib/components/hyTimePicker/timePicker.vue.js +2 -0
  199. package/lib/components/hyTooltip/index.js +1 -0
  200. package/lib/components/hyTooltip/tooltip.vue.js +2 -0
  201. package/lib/components/hyTree/index.js +1 -0
  202. package/lib/components/hyTree/js/index.js +14 -1
  203. package/lib/components/hyTree/tree.vue.js +9 -4
  204. package/lib/components/hyUserAvatar/index.js +1 -0
  205. package/lib/components/hyUserAvatar/userAvatar.vue.js +5 -1
  206. package/lib/components/hyVideoPlayer/cpns/mediaLoading.vue.js +1 -0
  207. package/lib/components/hyVideoPlayer/index.js +1 -0
  208. package/lib/components/hyVideoPlayer/js/index.js +7 -2
  209. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +3 -0
  210. package/lib/components/index.js +56 -53
  211. package/lib/hooks/useLocale.js +3 -1
  212. package/lib/hooks/useResizeHandler.js +1 -0
  213. package/lib/index.js +70 -61
  214. package/lib/locale/en.js +1 -2
  215. package/lib/locale/zh_CN.js +1 -2
  216. package/lib/make-installer.js +1 -0
  217. package/lib/utils/file.js +1 -0
  218. package/lib/utils/form.js +1 -0
  219. package/lib/utils/handler.js +2 -0
  220. package/lib/utils/index.js +3 -0
  221. package/lib/utils/input.js +1 -0
  222. package/lib/utils/is.js +1 -0
  223. package/lib/utils/map/hook/bigMap.js +3 -2
  224. package/lib/utils/map/hook/gaode.js +1 -1
  225. package/lib/utils/map/hook/leafletjs.js +7 -1
  226. package/lib/utils/map/index.js +12 -0
  227. package/lib/utils/map/js/webgis.js +4 -1
  228. package/lib/utils/sharedContent.js +14 -0
  229. package/lib/version.js +1 -1
  230. package/package.json +2 -1
@@ -8,9 +8,8 @@
8
8
  color: inherit;
9
9
  white-space: nowrap;
10
10
  font-size: 14px;
11
- padding: 2px;
12
- border: 1px solid transparent;
13
11
  box-sizing: border-box;
12
+ border-radius: 4px;
14
13
 
15
14
  &:disabled,
16
15
  &.is-disabled {
@@ -35,6 +34,8 @@
35
34
 
36
35
  &.hy-button_default {
37
36
  background: rgba(94, 157, 180, 0.32);
37
+ border: 1px solid rgba(94, 157, 180, 1);
38
+ box-shadow: 0px 0px 0px 2px rgba(94, 157, 180, 0.5);
38
39
 
39
40
  .hy-button__border {
40
41
  background: linear-gradient(
@@ -99,6 +100,8 @@
99
100
 
100
101
  &.hy-button_function {
101
102
  background: rgba(45, 242, 255, 0.32);
103
+ border: 1px solid rgba(45, 242, 255, 1);
104
+ box-shadow: 0px 0px 0px 2px rgba(45, 242, 255, 0.5);
102
105
 
103
106
  .hy-button__border {
104
107
  background: linear-gradient(
@@ -163,6 +166,8 @@
163
166
 
164
167
  &.hy-button_addTo {
165
168
  background: rgba(44, 232, 152, 0.32);
169
+ border: 1px solid rgba(44, 232, 152, 1);
170
+ box-shadow: 0px 0px 0px 2px rgba(44, 232, 152, 0.5);
166
171
 
167
172
  .hy-button__border {
168
173
  background: linear-gradient(
@@ -227,6 +232,8 @@
227
232
 
228
233
  &.hy-button_delete {
229
234
  background: rgba(255, 77, 77, 0.32);
235
+ border: 1px solid rgba(255, 77, 77, 1);
236
+ box-shadow: 0px 0px 0px 2px rgba(255, 77, 77, 0.5);
230
237
 
231
238
  .hy-button__border {
232
239
  background: linear-gradient(
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vue = require('vue');
6
6
  var elementPlus = require('element-plus');
7
7
  var ElementLocale = require('element-plus/es/locales.mjs');
8
+ require('../../hooks/index.js');
8
9
  var useGlobalConfig = require('../../hooks/useGlobalConfig.js');
9
10
 
10
11
  function _interopNamespaceDefault(e) {
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var configProvider = require('./configProvider.vue.js');
6
+ require('../../utils/index.js');
6
7
  var handler = require('../../utils/handler.js');
7
8
 
8
9
  const HyConfigProvider = handler.withInstall(configProvider.default);
@@ -4,6 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
6
  var elementPlus = require('element-plus');
7
+ require('../../hooks/index.js');
8
+ require('../index.js');
7
9
  var useLocale = require('../../hooks/useLocale.js');
8
10
  var index = require('../hyIcon/index.js');
9
11
  var index$1 = require('../hyButton/index.js');
@@ -202,6 +204,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
202
204
  key: 0,
203
205
  type: __props.cancelType,
204
206
  disabled: loading.value,
207
+ class: "min-w-[120px]",
205
208
  onClick: onCancelHandler
206
209
  }, {
207
210
  default: vue.withCtx(() => [
@@ -218,6 +221,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
218
221
  key: 1,
219
222
  type: __props.submitType,
220
223
  loading: loading.value,
224
+ class: "min-w-[120px]",
221
225
  onClick: onSubmitHandler
222
226
  }, {
223
227
  default: vue.withCtx(() => [
@@ -3,11 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
+ require('../../hooks/index.js');
6
7
  var useApi = require('../../hooks/useApi.js');
8
+ require('../index.js');
7
9
  var confirmDialog = require('./confirmDialog.vue.js');
8
- var useLocale = require('../../hooks/useLocale.js');
9
10
  var useGlobalConfig = require('../../hooks/useGlobalConfig.js');
10
11
  var index = require('../hyConfigProvider/index.js');
12
+ var useLocale = require('../../hooks/useLocale.js');
11
13
 
12
14
  function appConfirmMethod(config) {
13
15
  let container = document.createDocumentFragment();
@@ -87,11 +89,11 @@ confirmDialog.default.danger = (props) => {
87
89
  const { t } = useLocale.useLocale();
88
90
  return appConfirmMethod({
89
91
  dialogTitle: t("dialog.dangerousOperation"),
90
- titleClass: "text-danger",
92
+ titleClass: "text-danger-2",
91
93
  title: t("dialog.prompt"),
92
94
  content: t("dialog.content"),
93
95
  submitType: "danger",
94
- iconColor: "rgb(var(--hy-danger))",
96
+ iconColor: "rgb(var(--hy-danger-2))",
95
97
  ...props
96
98
  });
97
99
  };
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('./confirmMethod.js');
6
+ require('../../utils/index.js');
6
7
  var handler = require('../../utils/handler.js');
7
8
  var confirmDialog = require('./confirmDialog.vue.js');
8
9
 
@@ -6,6 +6,9 @@ var vue = require('vue');
6
6
  var vueCropper = require('vue-cropper');
7
7
  var elementPlus = require('element-plus');
8
8
  var iconsVue = require('@element-plus/icons-vue');
9
+ require('../../utils/index.js');
10
+ require('../index.js');
11
+ require('../../hooks/index.js');
9
12
  var useLocale = require('../../hooks/useLocale.js');
10
13
  var file = require('../../utils/file.js');
11
14
  var index = require('../hyDialog/index.js');
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var cutter = require('./cutter.vue.js');
6
+ require('../../utils/index.js');
6
7
  var handler = require('../../utils/handler.js');
7
8
 
8
9
  const HyCutter = handler.withInstall(cutter.default);
@@ -4,6 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
6
  var elementPlus = require('element-plus');
7
+ require('../../utils/index.js');
8
+ require('../../hooks/index.js');
7
9
  var useLocale = require('../../hooks/useLocale.js');
8
10
  var date = require('../../utils/date.js');
9
11
  var is = require('../../utils/is.js');
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var datePicker = require('./datePicker.vue.js');
6
+ require('../../utils/index.js');
6
7
  var handler = require('../../utils/handler.js');
7
8
 
8
9
  const HyDatePicker = handler.withInstall(datePicker.default);
@@ -4,6 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
6
  var elementPlus = require('element-plus');
7
+ require('../index.js');
8
+ require('../../hooks/index.js');
7
9
  var useLocale = require('../../hooks/useLocale.js');
8
10
  var index = require('../hyButton/index.js');
9
11
  var index$1 = require('../hyIcon/index.js');
@@ -13,21 +15,22 @@ import "./style/dialog.scss";
13
15
  const __default__ = vue.defineComponent({
14
16
  name: "HyDialog"
15
17
  });
16
- const svg = `
17
- <path class="path" d="
18
- M 30 15
19
- L 28 17
20
- M 25.61 25.61
21
- A 15 15, 0, 0, 1, 15 30
22
- A 15 15, 0, 1, 1, 27.99 7.5
23
- L 15 15
24
- " style="stroke-width: 4px; fill: rgba(0, 0, 0, 0)"/>
25
- `;
26
18
  const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
27
19
  props: /* @__PURE__ */ vue.mergeModels({
28
20
  title: { type: String, default: "\u6807\u9898" },
29
21
  titleAlign: { type: String, default: "default" },
30
22
  // default、center
23
+ titleBasicInfoList: {
24
+ type: Array,
25
+ default: () => {
26
+ return [
27
+ // {
28
+ // label: 'label',
29
+ // value: 'value',
30
+ // },
31
+ ];
32
+ }
33
+ },
31
34
  dialogType: {
32
35
  type: String,
33
36
  default: "default"
@@ -171,15 +174,23 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
171
174
  function setDragLevelIndex(initDragLevelIndex) {
172
175
  dragLevelIndex.value = initDragLevelIndex;
173
176
  if (minimized.value) runAnim();
174
- minimized.value = false;
175
- emits("onMinimized", minimized.value);
177
+ if (minimized.value !== false) {
178
+ minimized.value = false;
179
+ emits("onMinimized", {
180
+ title: props.title,
181
+ type: minimized.value
182
+ });
183
+ }
176
184
  }
177
185
  function hideToWorkspace() {
178
186
  runAnim(() => {
179
187
  dragLevelIndex.value = 1;
180
188
  });
181
189
  minimized.value = true;
182
- emits("onMinimized", minimized.value);
190
+ emits("onMinimized", {
191
+ title: props.title,
192
+ type: minimized.value
193
+ });
183
194
  }
184
195
  const dialogTestRef = vue.ref();
185
196
  function dialogMousedown(e) {
@@ -237,13 +248,72 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
237
248
  class: vue.normalizeClass(["box-border w-full border-0 border-b border-solid border-background-3 px-4 py-[10px] text-main text-sm font-bold flex justify-between items-center relative", { "!justify-center": __props.titleAlign === "center" }])
238
249
  },
239
250
  [
240
- vue.createElementVNode("div", { class: "flex-grow w-0 mr-2 over_one_line" }, [
251
+ vue.createElementVNode("div", { class: "flex-grow w-0 mr-2" }, [
241
252
  vue.renderSlot(_ctx.$slots, "title", {}, () => [
242
- vue.createTextVNode(
243
- vue.toDisplayString(__props.title),
244
- 1
245
- /* TEXT */
246
- )
253
+ vue.createElementVNode("div", { class: "flex items-center" }, [
254
+ vue.createElementVNode(
255
+ "div",
256
+ { class: "over_one_line" },
257
+ vue.toDisplayString(__props.title),
258
+ 1
259
+ /* TEXT */
260
+ ),
261
+ vue.renderSlot(_ctx.$slots, "title-basic-info", {}, () => [
262
+ __props.titleBasicInfoList.length !== 0 ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElPopover), {
263
+ key: 0,
264
+ "show-after": 500,
265
+ placement: "bottom-start",
266
+ width: "200",
267
+ trigger: "hover"
268
+ }, {
269
+ reference: vue.withCtx(() => [
270
+ vue.createElementVNode("span", { class: "text-xs text-theme ml-2 flex items-center flex-shrink-0" }, [
271
+ vue.createVNode(vue.unref(index$1.HyIcon), {
272
+ "svg-name": "dispatch-linear-details",
273
+ class: "!w-3 !h-3 mr-1"
274
+ }),
275
+ vue.createElementVNode("span", null, "\u57FA\u7840\u4FE1\u606F")
276
+ ])
277
+ ]),
278
+ default: vue.withCtx(() => [
279
+ vue.createElementVNode("div", { class: "text-sm text-main" }, [
280
+ vue.createElementVNode("div", { class: "text-auxiliary h-[30px] flex items-center justify-center border-b border-border box-border text-xs" }, " \u5F53\u524D\u64CD\u4F5C\u5BF9\u8C61 "),
281
+ vue.createElementVNode("ul", { class: "py-2 max-h-[500px] overflow-auto" }, [
282
+ (vue.openBlock(true), vue.createElementBlock(
283
+ vue.Fragment,
284
+ null,
285
+ vue.renderList(__props.titleBasicInfoList, (basicInfoItem, index) => {
286
+ return vue.openBlock(), vue.createElementBlock("li", {
287
+ key: index,
288
+ class: "flex px-2 py-1 text-xs"
289
+ }, [
290
+ vue.createElementVNode(
291
+ "div",
292
+ { class: "flex-shrink-0 font-bold" },
293
+ vue.toDisplayString(basicInfoItem.label) + "\uFF1A ",
294
+ 1
295
+ /* TEXT */
296
+ ),
297
+ vue.createElementVNode(
298
+ "div",
299
+ { class: "break-all" },
300
+ vue.toDisplayString(basicInfoItem.value),
301
+ 1
302
+ /* TEXT */
303
+ )
304
+ ]);
305
+ }),
306
+ 128
307
+ /* KEYED_FRAGMENT */
308
+ ))
309
+ ])
310
+ ])
311
+ ]),
312
+ _: 1
313
+ /* STABLE */
314
+ })) : vue.createCommentVNode("v-if", true)
315
+ ])
316
+ ])
247
317
  ])
248
318
  ]),
249
319
  vue.createElementVNode("div", { class: "text-lg cursor-pointer" }, [
@@ -267,13 +337,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
267
337
  )
268
338
  ]),
269
339
  default: vue.withCtx(() => [
270
- vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
271
- "element-loading-text": "\u52A0\u8F7D\u4E2D...",
272
- "element-loading-svg": svg,
273
- "element-loading-svg-view-box": "-10, -10, 50, 50",
274
- "element-loading-background": "rgba(0, 0, 0, 0.8)",
275
- class: "h-full flex flex-col text-main"
276
- }, [
340
+ vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", { class: "h-full flex flex-col text-main" }, [
277
341
  vue.renderSlot(_ctx.$slots, "before-content"),
278
342
  vue.renderSlot(_ctx.$slots, "content", {}, () => [
279
343
  vue.createElementVNode(
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var dialog = require('./dialog.vue.js');
6
+ require('../../utils/index.js');
6
7
  var handler = require('../../utils/handler.js');
7
8
 
8
9
  const HyDialog = handler.withInstall(dialog.default);
@@ -5,6 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vue = require('vue');
6
6
  var elementPlus = require('element-plus');
7
7
  var iconsVue = require('@element-plus/icons-vue');
8
+ require('../../../hooks/index.js');
9
+ require('../../index.js');
10
+ require('../../../utils/index.js');
8
11
  var index = require('../js/index.js');
9
12
  var formItem = require('./formItem.vue.js');
10
13
  var useAppForm = require('../js/useAppForm.js');
@@ -63,9 +66,19 @@ const _sfc_main = {
63
66
  }
64
67
  });
65
68
  const containerRef = vue.useTemplateRef("containerRef");
66
- vue.ref(0);
67
- vue.ref(false);
68
- vue.ref(null);
69
+ const containerHeight = vue.ref(0);
70
+ const isExpand = vue.ref(false);
71
+ const isExpandHover = vue.ref(null);
72
+ function onExpandHandler(column) {
73
+ containerHeight.value = containerRef.value.clientHeight;
74
+ isExpand.value = !isExpand.value;
75
+ }
76
+ function onExpandMouseenter(column) {
77
+ isExpandHover.value = true;
78
+ }
79
+ function onExpandMouseleave(column) {
80
+ isExpandHover.value = false;
81
+ }
69
82
  const containerStyle = vue.computed(() => {
70
83
  const columnNum = is.isNumber(props.column.columnNum) && props.column.columnNum > 0 ? props.column.columnNum : is.isNumber(props.columnNum) && props.columnNum > 0 ? props.columnNum || 1 : 1;
71
84
  return {
@@ -5,6 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vue = require('vue');
6
6
  var elementPlus = require('element-plus');
7
7
  var iconsVue = require('@element-plus/icons-vue');
8
+ require('../../../hooks/index.js');
9
+ require('../../../utils/index.js');
8
10
  var formItem = require('./formItem.vue.js');
9
11
  var useLocale = require('../../../hooks/useLocale.js');
10
12
  var is = require('../../../utils/is.js');
@@ -4,7 +4,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
6
  var elementPlus = require('element-plus');
7
+ require('../../../utils/index.js');
8
+ require('../../index.js');
7
9
  var index = require('../js/index.js');
10
+ require('../../../hooks/index.js');
8
11
  var useLocale = require('../../../hooks/useLocale.js');
9
12
  var is = require('../../../utils/is.js');
10
13
  var form = require('../../../utils/form.js');
@@ -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 formItem = require('./formItem.vue.js');
8
11
  var useLocale = require('../../../hooks/useLocale.js');
9
12
  var is = require('../../../utils/is.js');
@@ -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('@element-plus/icons-vue');
8
+ require('../../hooks/index.js');
9
+ require('../../utils/index.js');
7
10
  var formItem = require('./cpns/formItem.vue.js');
8
11
  var extraItem = require('./cpns/extraItem.vue.js');
9
12
  var arrayItem = require('./cpns/arrayItem.vue.js');
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var form = require('./form.vue.js');
6
+ require('../../utils/index.js');
6
7
  var useAppForm = require('./js/useAppForm.js');
7
8
  var handler = require('../../utils/handler.js');
8
9
 
@@ -1,8 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var vue = require('vue');
4
- var is = require('../../../utils/is.js');
4
+ require('../../../utils/index.js');
5
+ require('../../../hooks/index.js');
5
6
  var handler = require('../../../utils/handler.js');
7
+ var is = require('../../../utils/is.js');
6
8
  var form = require('../../../utils/form.js');
7
9
  var useLocale = require('../../../hooks/useLocale.js');
8
10
 
@@ -1,9 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var vue = require('vue');
4
+ require('../../../hooks/index.js');
5
+ require('../../../utils/index.js');
6
+ var form = require('../../../utils/form.js');
4
7
  var handler = require('../../../utils/handler.js');
5
8
  var is = require('../../../utils/is.js');
6
- var form = require('../../../utils/form.js');
7
9
 
8
10
  function appFormItemHandler(column = {}) {
9
11
  const label = form.genColumnDefaultLabel(column);
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
+ require('../../hooks/index.js');
6
7
  var useEnsureHyIcon = require('../../hooks/useEnsureHyIcon.js');
7
8
 
8
9
  import "./style/icon.scss";
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var icon = require('./icon.vue.js');
6
+ require('../../utils/index.js');
6
7
  var handler = require('../../utils/handler.js');
7
8
 
8
9
  const HyIcon = handler.withInstall(icon.default);
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
6
  var elementPlus = require('element-plus');
7
+ require('../index.js');
7
8
  var index = require('../hyIcon/index.js');
8
9
 
9
10
  import "./style/iconBox.scss";
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var iconBox = require('./iconBox.vue.js');
6
+ require('../../utils/index.js');
6
7
  var handler = require('../../utils/handler.js');
7
8
 
8
9
  const HyIconBox = handler.withInstall(iconBox.default);
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var input = require('./input.vue.js');
6
6
  var inputSearch = require('./inputSearch.vue.js');
7
+ require('../../utils/index.js');
7
8
  var handler = require('../../utils/handler.js');
8
9
 
9
10
  const HyInput = handler.withInstall(input.default);
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
6
  var elementPlus = require('element-plus');
7
+ require('../../utils/index.js');
7
8
  var form = require('../../utils/form.js');
8
9
 
9
10
  const __default__ = vue.defineComponent({
@@ -29,6 +30,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
29
30
  emits: /* @__PURE__ */ vue.mergeModels([], ["update:modelValue"]),
30
31
  setup(__props, { expose: __expose, emit: __emit }) {
31
32
  const props = __props;
33
+ const emits = __emit;
32
34
  const modelValue = vue.useModel(__props, "modelValue");
33
35
  const inputRef = vue.useTemplateRef("inputRef");
34
36
  const clearSpaceType = vue.computed(() => {
@@ -22,6 +22,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
22
22
  }),
23
23
  emits: /* @__PURE__ */ vue.mergeModels(["search"], ["update:modelValue"]),
24
24
  setup(__props, { expose: __expose, emit: __emit }) {
25
+ const props = __props;
25
26
  const emits = __emit;
26
27
  const modelValue = vue.useModel(__props, "modelValue");
27
28
  const inputRef = vue.useTemplateRef("inputRef");
@@ -0,0 +1,47 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var elementPlus = require('element-plus');
6
+ require('../../utils/index.js');
7
+ require('../../hooks/index.js');
8
+ var sharedContent = require('../../utils/sharedContent.js');
9
+ var useLocale = require('../../hooks/useLocale.js');
10
+
11
+ const loadingConfig = {
12
+ svg: sharedContent.loadingSvg,
13
+ svgViewBox: "-10, -10, 50, 50",
14
+ background: "rgba(0, 0, 0, 0.8)"
15
+ };
16
+ const HyLoading = {
17
+ name: "HyLoading",
18
+ install: (app) => {
19
+ HyLoading.service._context = app._context;
20
+ HyLoading.directive._context = app._context;
21
+ app.directive("loading", HyLoading.directive);
22
+ app.config.globalProperties.$loading = HyLoading;
23
+ },
24
+ directive: {
25
+ ...elementPlus.ElLoading.directive,
26
+ mounted: function(el, binding, vnode, prevVnode) {
27
+ const { t } = useLocale.useLocale();
28
+ el.setAttribute("element-loading-text", `${t("hy.loading")}...`);
29
+ el.setAttribute("element-loading-svg", loadingConfig.svg);
30
+ el.setAttribute("element-loading-svg-view-box", loadingConfig.svgViewBox);
31
+ el.setAttribute("element-loading-background", loadingConfig.background);
32
+ elementPlus.ElLoading.directive.mounted.call(this, el, binding, vnode, prevVnode);
33
+ }
34
+ },
35
+ service: function(options = {}) {
36
+ const { t } = useLocale.useLocale();
37
+ return elementPlus.ElLoading.service.call(this, {
38
+ text: `${t("hy.loading")}...`,
39
+ ...loadingConfig,
40
+ ...options
41
+ });
42
+ }
43
+ };
44
+
45
+ exports.ElLoading = HyLoading;
46
+ exports.HyLoading = HyLoading;
47
+ exports.default = HyLoading;
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var map = require('./map.vue.js');
6
+ require('../../utils/index.js');
6
7
  var handler = require('../../utils/handler.js');
7
8
 
8
9
  const HyMap = handler.withInstall(map.default);