hy-dispatch-ui-v3 0.2.19 → 0.2.21

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 (226) hide show
  1. package/es/components/{appAudioPlayer/appAudioPlayer.vue.mjs → hyAudioPlayer/audioPlayer.vue.mjs} +17 -17
  2. package/es/components/hyAudioPlayer/index.mjs +6 -0
  3. package/{lib/components/appAudioPlayer/style/appAudioPlayer.scss → es/components/hyAudioPlayer/style/audioPlayer.scss} +5 -5
  4. package/es/components/{appButton/appButton.vue.mjs → hyButton/button.vue.mjs} +11 -9
  5. package/es/components/hyButton/index.mjs +6 -0
  6. package/es/components/{appConfigProvider/appConfigProvider.vue.mjs → hyConfigProvider/configProvider.vue.mjs} +2 -2
  7. package/es/components/hyConfigProvider/index.mjs +6 -0
  8. package/es/components/{appConfirmDialog/appConfirmDialog.vue.mjs → hyConfirmDialog/confirmDialog.vue.mjs} +4 -4
  9. package/es/components/{appConfirmDialog/appConfirmMethod.mjs → hyConfirmDialog/confirmMethod.mjs} +3 -3
  10. package/es/components/hyConfirmDialog/index.mjs +7 -0
  11. package/es/components/{appCutter/appCutter.vue.mjs → hyCutter/cutter.vue.mjs} +11 -11
  12. package/es/components/hyCutter/index.mjs +6 -0
  13. package/es/components/{appCutter/style/appCutter.scss → hyCutter/style/cutter.scss} +6 -6
  14. package/es/components/{appDatePicker/appDatePicker.vue.mjs → hyDatePicker/datePicker.vue.mjs} +3 -3
  15. package/es/components/hyDatePicker/index.mjs +7 -0
  16. package/es/components/{appDialog/appDialog.vue.mjs → hyDialog/dialog.vue.mjs} +6 -6
  17. package/es/components/hyDialog/index.mjs +6 -0
  18. package/es/components/{appForm → hyForm}/cpns/arrayItem.vue.mjs +3 -3
  19. package/es/components/{appForm → hyForm}/cpns/extraItem.vue.mjs +4 -4
  20. package/es/components/{appForm/cpns/appFormItem.vue.mjs → hyForm/cpns/formItem.vue.mjs} +15 -16
  21. package/es/components/{appForm/appForm.vue.mjs → hyForm/form.vue.mjs} +4 -4
  22. package/es/components/hyForm/index.mjs +7 -0
  23. package/{lib/components/appForm/style/appForm.scss → es/components/hyForm/style/form.scss} +6 -6
  24. package/es/components/{appIcon/appIcon.vue.mjs → hyIcon/icon.vue.mjs} +5 -5
  25. package/es/components/hyIcon/index.mjs +6 -0
  26. package/es/components/{appIcon/style/appIcon.scss → hyIcon/style/icon.scss} +1 -1
  27. package/es/components/{appIconBox/appIconBox.vue.mjs → hyIconBox/iconBox.vue.mjs} +6 -6
  28. package/es/components/hyIconBox/index.mjs +6 -0
  29. package/es/components/{appIconBox/style/appIconBox.scss → hyIconBox/style/iconBox.scss} +2 -2
  30. package/es/components/hyInput/index.mjs +7 -0
  31. package/es/components/{appInput/appInput.vue.mjs → hyInput/input.vue.mjs} +1 -1
  32. package/es/components/hyMenu/index.mjs +6 -0
  33. package/es/components/hyMenu/menu.vue.mjs +120 -0
  34. package/es/components/hyNoPermissions/index.mjs +6 -0
  35. package/es/components/{appNoPermissions/appNoPermissions.vue.mjs → hyNoPermissions/noPermissions.vue.mjs} +4 -4
  36. package/es/components/hyNoPermissionsMap/index.mjs +6 -0
  37. package/es/components/{appNoPermissionsMap/appNoPermissionsMap.vue.mjs → hyNoPermissionsMap/noPermissionsMap.vue.mjs} +4 -4
  38. package/es/components/hyOrgCascader/index.mjs +6 -0
  39. package/es/components/{appOrgCascader/appOrgCascader.vue.mjs → hyOrgCascader/orgCascader.vue.mjs} +3 -3
  40. package/es/components/{appSearch/cpns/appSearchItem.vue.mjs → hySearch/cpns/searchItem.vue.mjs} +14 -20
  41. package/es/components/hySearch/index.mjs +7 -0
  42. package/es/components/{appSearch/appSearch.vue.mjs → hySearch/search.vue.mjs} +8 -8
  43. package/es/components/{appSearch/style/appSearch.scss → hySearch/style/search.scss} +7 -7
  44. package/es/components/{appTable → hyTable}/cpns/columnSelect.vue.mjs +2 -2
  45. package/es/components/{appTable → hyTable}/cpns/columnSelectItem.vue.mjs +2 -2
  46. package/es/components/{appTable → hyTable}/cpns/headerItem.vue.mjs +1 -1
  47. package/es/components/{appTable → hyTable}/cpns/virtualTable.vue.mjs +10 -11
  48. package/es/components/hyTable/index.mjs +7 -0
  49. package/es/components/{appTable → hyTable}/js/useAppTable.mjs +1 -1
  50. package/es/components/{appTable/style/appTable.scss → hyTable/style/table.scss} +2 -2
  51. package/es/components/{appTable/appTable.vue.mjs → hyTable/table.vue.mjs} +20 -23
  52. package/es/components/hyTableForm/index.mjs +6 -0
  53. package/es/components/hyTableForm/tableForm.vue.mjs +21 -0
  54. package/es/components/hyTimePicker/index.mjs +7 -0
  55. package/es/components/{appTimePicker/appTimePicker.vue.mjs → hyTimePicker/timePicker.vue.mjs} +2 -2
  56. package/es/components/hyTooltip/index.mjs +7 -0
  57. package/es/components/{appTooltip/appTooltip.vue.mjs → hyTooltip/tooltip.vue.mjs} +4 -4
  58. package/es/components/hyTree/index.mjs +6 -0
  59. package/es/components/{appTree/appTree.vue.mjs → hyTree/tree.vue.mjs} +3 -3
  60. package/es/components/hyUserAvatar/index.mjs +6 -0
  61. package/{lib/components/appUserAvatar/style/appUserAvatar.scss → es/components/hyUserAvatar/style/userAvatar.scss} +1 -1
  62. package/es/components/{appUserAvatar/appUserAvatar.vue.mjs → hyUserAvatar/userAvatar.vue.mjs} +7 -7
  63. package/es/components/hyVideoPlayer/index.mjs +6 -0
  64. package/es/components/{appVideoPlayer → hyVideoPlayer}/js/index.mjs +3 -3
  65. package/es/components/{appVideoPlayer/style/appVideoPlayer.scss → hyVideoPlayer/style/videoPlayer.scss} +6 -6
  66. package/es/components/{appVideoPlayer/appVideoPlayer.vue.mjs → hyVideoPlayer/videoPlayer.vue.mjs} +29 -29
  67. package/es/components/index.mjs +26 -25
  68. package/es/hooks/useGlobalConfig.mjs +1 -1
  69. package/es/index.mjs +26 -25
  70. package/es/make-installer.mjs +0 -2
  71. package/es/version.mjs +1 -1
  72. package/lib/components/{appAudioPlayer/appAudioPlayer.vue.js → hyAudioPlayer/audioPlayer.vue.js} +16 -16
  73. package/lib/components/hyAudioPlayer/index.js +11 -0
  74. package/{es/components/appAudioPlayer/style/appAudioPlayer.scss → lib/components/hyAudioPlayer/style/audioPlayer.scss} +5 -5
  75. package/lib/components/{appButton/appButton.vue.js → hyButton/button.vue.js} +10 -8
  76. package/lib/components/hyButton/index.js +11 -0
  77. package/lib/components/{appConfigProvider/appConfigProvider.vue.js → hyConfigProvider/configProvider.vue.js} +1 -1
  78. package/lib/components/hyConfigProvider/index.js +11 -0
  79. package/lib/components/{appConfirmDialog/appConfirmDialog.vue.js → hyConfirmDialog/confirmDialog.vue.js} +4 -4
  80. package/lib/components/{appConfirmDialog/appConfirmMethod.js → hyConfirmDialog/confirmMethod.js} +9 -9
  81. package/lib/components/hyConfirmDialog/index.js +12 -0
  82. package/lib/components/{appCutter/appCutter.vue.js → hyCutter/cutter.vue.js} +11 -11
  83. package/lib/components/hyCutter/index.js +11 -0
  84. package/lib/components/{appCutter/style/appCutter.scss → hyCutter/style/cutter.scss} +6 -6
  85. package/lib/components/{appDatePicker/appDatePicker.vue.js → hyDatePicker/datePicker.vue.js} +3 -3
  86. package/lib/components/hyDatePicker/index.js +13 -0
  87. package/lib/components/{appDialog/appDialog.vue.js → hyDialog/dialog.vue.js} +6 -6
  88. package/lib/components/hyDialog/index.js +11 -0
  89. package/lib/components/{appForm → hyForm}/cpns/arrayItem.vue.js +4 -4
  90. package/lib/components/{appForm → hyForm}/cpns/extraItem.vue.js +5 -5
  91. package/lib/components/{appForm/cpns/appFormItem.vue.js → hyForm/cpns/formItem.vue.js} +15 -16
  92. package/lib/components/{appForm/appForm.vue.js → hyForm/form.vue.js} +5 -5
  93. package/lib/components/{appForm → hyForm}/index.js +4 -4
  94. package/{es/components/appForm/style/appForm.scss → lib/components/hyForm/style/form.scss} +6 -6
  95. package/lib/components/{appIcon/appIcon.vue.js → hyIcon/icon.vue.js} +4 -4
  96. package/lib/components/hyIcon/index.js +11 -0
  97. package/lib/components/{appIcon/style/appIcon.scss → hyIcon/style/icon.scss} +1 -1
  98. package/lib/components/{appIconBox/appIconBox.vue.js → hyIconBox/iconBox.vue.js} +6 -6
  99. package/lib/components/hyIconBox/index.js +11 -0
  100. package/lib/components/{appIconBox/style/appIconBox.scss → hyIconBox/style/iconBox.scss} +2 -2
  101. package/lib/components/hyInput/index.js +13 -0
  102. package/lib/components/{appInput/appInput.vue.js → hyInput/input.vue.js} +1 -1
  103. package/lib/components/hyMenu/index.js +11 -0
  104. package/lib/components/{appMenu/appMenu.vue.js → hyMenu/menu.vue.js} +42 -52
  105. package/lib/components/hyNoPermissions/index.js +11 -0
  106. package/lib/components/{appNoPermissions/appNoPermissions.vue.js → hyNoPermissions/noPermissions.vue.js} +4 -4
  107. package/lib/components/hyNoPermissionsMap/index.js +11 -0
  108. package/lib/components/{appNoPermissionsMap/appNoPermissionsMap.vue.js → hyNoPermissionsMap/noPermissionsMap.vue.js} +4 -4
  109. package/lib/components/hyOrgCascader/index.js +11 -0
  110. package/lib/components/{appOrgCascader/appOrgCascader.vue.js → hyOrgCascader/orgCascader.vue.js} +3 -3
  111. package/lib/components/{appSearch/cpns/appSearchItem.vue.js → hySearch/cpns/searchItem.vue.js} +14 -20
  112. package/lib/components/{appSearch → hySearch}/index.js +4 -4
  113. package/lib/components/{appSearch/appSearch.vue.js → hySearch/search.vue.js} +9 -9
  114. package/lib/components/{appSearch/style/appSearch.scss → hySearch/style/search.scss} +7 -7
  115. package/lib/components/{appTable → hyTable}/cpns/columnSelect.vue.js +2 -2
  116. package/lib/components/{appTable → hyTable}/cpns/columnSelectItem.vue.js +2 -2
  117. package/lib/components/{appTable → hyTable}/cpns/headerItem.vue.js +1 -1
  118. package/lib/components/{appTable → hyTable}/cpns/virtualTable.vue.js +9 -10
  119. package/lib/components/{appTable → hyTable}/index.js +4 -4
  120. package/lib/components/{appTable → hyTable}/js/useAppTable.js +1 -1
  121. package/lib/components/{appTable/style/appTable.scss → hyTable/style/table.scss} +2 -2
  122. package/lib/components/{appTable/appTable.vue.js → hyTable/table.vue.js} +20 -23
  123. package/lib/components/hyTableForm/index.js +11 -0
  124. package/lib/components/hyTableForm/tableForm.vue.js +25 -0
  125. package/lib/components/hyTimePicker/index.js +13 -0
  126. package/lib/components/hyTimePicker/style/timePicker.scss +0 -0
  127. package/lib/components/{appTimePicker/appTimePicker.vue.js → hyTimePicker/timePicker.vue.js} +2 -2
  128. package/lib/components/hyTooltip/index.js +13 -0
  129. package/lib/components/hyTooltip/style/tooltip.scss +0 -0
  130. package/lib/components/{appTooltip/appTooltip.vue.js → hyTooltip/tooltip.vue.js} +4 -4
  131. package/lib/components/hyTree/index.js +11 -0
  132. package/lib/components/{appTree/appTree.vue.js → hyTree/tree.vue.js} +3 -3
  133. package/lib/components/hyUserAvatar/index.js +11 -0
  134. package/{es/components/appUserAvatar/style/appUserAvatar.scss → lib/components/hyUserAvatar/style/userAvatar.scss} +1 -1
  135. package/lib/components/{appUserAvatar/appUserAvatar.vue.js → hyUserAvatar/userAvatar.vue.js} +7 -7
  136. package/lib/components/hyVideoPlayer/index.js +11 -0
  137. package/lib/components/{appVideoPlayer → hyVideoPlayer}/js/index.js +3 -3
  138. package/lib/components/{appVideoPlayer/style/appVideoPlayer.scss → hyVideoPlayer/style/videoPlayer.scss} +6 -6
  139. package/lib/components/{appVideoPlayer/appVideoPlayer.vue.js → hyVideoPlayer/videoPlayer.vue.js} +29 -29
  140. package/lib/components/index.js +53 -51
  141. package/lib/index.js +53 -51
  142. package/lib/make-installer.js +0 -2
  143. package/lib/version.js +1 -1
  144. package/package.json +2 -2
  145. package/es/components/appAudioPlayer/index.mjs +0 -6
  146. package/es/components/appButton/index.mjs +0 -6
  147. package/es/components/appConfigProvider/index.mjs +0 -6
  148. package/es/components/appConfirmDialog/index.mjs +0 -7
  149. package/es/components/appCutter/index.mjs +0 -6
  150. package/es/components/appDatePicker/index.mjs +0 -7
  151. package/es/components/appDialog/index.mjs +0 -6
  152. package/es/components/appForm/index.mjs +0 -7
  153. package/es/components/appIcon/index.mjs +0 -6
  154. package/es/components/appIconBox/index.mjs +0 -6
  155. package/es/components/appInput/index.mjs +0 -7
  156. package/es/components/appMenu/appMenu.vue.mjs +0 -130
  157. package/es/components/appMenu/index.mjs +0 -6
  158. package/es/components/appNoPermissions/index.mjs +0 -6
  159. package/es/components/appNoPermissionsMap/index.mjs +0 -6
  160. package/es/components/appOrgCascader/index.mjs +0 -6
  161. package/es/components/appSearch/index.mjs +0 -7
  162. package/es/components/appTable/index.mjs +0 -7
  163. package/es/components/appTimePicker/index.mjs +0 -7
  164. package/es/components/appTooltip/index.mjs +0 -7
  165. package/es/components/appTree/index.mjs +0 -6
  166. package/es/components/appUserAvatar/index.mjs +0 -6
  167. package/es/components/appVideoPlayer/index.mjs +0 -6
  168. package/lib/components/appAudioPlayer/index.js +0 -11
  169. package/lib/components/appButton/index.js +0 -11
  170. package/lib/components/appConfigProvider/index.js +0 -11
  171. package/lib/components/appConfirmDialog/index.js +0 -12
  172. package/lib/components/appCutter/index.js +0 -11
  173. package/lib/components/appDatePicker/index.js +0 -13
  174. package/lib/components/appDialog/index.js +0 -11
  175. package/lib/components/appIcon/index.js +0 -11
  176. package/lib/components/appIconBox/index.js +0 -11
  177. package/lib/components/appInput/index.js +0 -13
  178. package/lib/components/appMenu/index.js +0 -11
  179. package/lib/components/appNoPermissions/index.js +0 -11
  180. package/lib/components/appNoPermissionsMap/index.js +0 -11
  181. package/lib/components/appOrgCascader/index.js +0 -11
  182. package/lib/components/appTimePicker/index.js +0 -13
  183. package/lib/components/appTooltip/index.js +0 -13
  184. package/lib/components/appTree/index.js +0 -11
  185. package/lib/components/appUserAvatar/index.js +0 -11
  186. package/lib/components/appVideoPlayer/index.js +0 -11
  187. package/es/components/{appAudioPlayer → hyAudioPlayer}/js/index.mjs +1 -1
  188. package/es/components/{appButton/style/appButton.scss → hyButton/style/button.scss} +0 -0
  189. package/es/components/{appDatePicker/style/appDatePicker.scss → hyDatePicker/style/datePicker.scss} +0 -0
  190. package/es/components/{appDialog/style/appDialog.scss → hyDialog/style/dialog.scss} +0 -0
  191. package/es/components/{appForm → hyForm}/js/index.mjs +0 -0
  192. package/es/components/{appForm → hyForm}/js/useAppForm.mjs +1 -1
  193. package/es/components/{appMenu/style/appMenu.scss → hyMenu/style/menu.scss} +0 -0
  194. package/es/components/{appNoPermissions/style/appNoPermissions.scss → hyNoPermissions/style/noPermissions.scss} +0 -0
  195. package/es/components/{appNoPermissionsMap/style/appNoPermissionsMap.scss → hyNoPermissionsMap/style/noPermissionsMap.scss} +0 -0
  196. package/es/components/{appOrgCascader/style/appOrgCascader.scss → hyOrgCascader/style/orgCascader.scss} +0 -0
  197. package/es/components/{appSearch → hySearch}/js/index.mjs +0 -0
  198. package/es/components/{appSearch → hySearch}/js/useAppSearch.mjs +0 -0
  199. package/es/components/{appTable → hyTable}/js/index.mjs +0 -0
  200. package/es/components/{appTable → hyTable}/js/search.mjs +0 -0
  201. package/es/components/{appTimePicker/style/appTimePicker.scss → hyTableForm/style/tableForm.scss} +0 -0
  202. package/es/components/{appTooltip/style/appTooltip.scss → hyTimePicker/style/timePicker.scss} +0 -0
  203. package/{lib/components/appDatePicker/style/appDatePicker.scss → es/components/hyTooltip/style/tooltip.scss} +0 -0
  204. package/es/components/{appTree → hyTree}/config/tree-config.mjs +0 -0
  205. package/es/components/{appTree → hyTree}/js/index.mjs +0 -0
  206. package/es/components/{appVideoPlayer → hyVideoPlayer}/cpns/mediaLoading.vue.mjs +0 -0
  207. package/es/components/{appVideoPlayer → hyVideoPlayer}/style/mediaLoading.scss +0 -0
  208. package/lib/components/{appAudioPlayer → hyAudioPlayer}/js/index.js +1 -1
  209. package/lib/components/{appButton/style/appButton.scss → hyButton/style/button.scss} +0 -0
  210. package/lib/components/{appDialog/style/appDialog.scss → hyDatePicker/style/datePicker.scss} +0 -0
  211. package/lib/components/{appNoPermissions/style/appNoPermissions.scss → hyDialog/style/dialog.scss} +0 -0
  212. package/lib/components/{appForm → hyForm}/js/index.js +0 -0
  213. package/lib/components/{appForm → hyForm}/js/useAppForm.js +1 -1
  214. /package/lib/components/{appMenu/style/appMenu.scss → hyMenu/style/menu.scss} +0 -0
  215. /package/lib/components/{appNoPermissionsMap/style/appNoPermissionsMap.scss → hyNoPermissions/style/noPermissions.scss} +0 -0
  216. /package/lib/components/{appOrgCascader/style/appOrgCascader.scss → hyNoPermissionsMap/style/noPermissionsMap.scss} +0 -0
  217. /package/lib/components/{appTimePicker/style/appTimePicker.scss → hyOrgCascader/style/orgCascader.scss} +0 -0
  218. /package/lib/components/{appSearch → hySearch}/js/index.js +0 -0
  219. /package/lib/components/{appSearch → hySearch}/js/useAppSearch.js +0 -0
  220. /package/lib/components/{appTable → hyTable}/js/index.js +0 -0
  221. /package/lib/components/{appTable → hyTable}/js/search.js +0 -0
  222. /package/lib/components/{appTooltip/style/appTooltip.scss → hyTableForm/style/tableForm.scss} +0 -0
  223. /package/lib/components/{appTree → hyTree}/config/tree-config.js +0 -0
  224. /package/lib/components/{appTree → hyTree}/js/index.js +0 -0
  225. /package/lib/components/{appVideoPlayer → hyVideoPlayer}/cpns/mediaLoading.vue.js +0 -0
  226. /package/lib/components/{appVideoPlayer → hyVideoPlayer}/style/mediaLoading.scss +0 -0
@@ -1,16 +1,16 @@
1
1
  import { defineComponent, useTemplateRef, computed, unref, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, toDisplayString, Fragment, createCommentVNode, withDirectives, normalizeStyle, vShow, mergeProps, renderList, createBlock, createSlots, renderSlot } from 'vue';
2
2
  import { ElIcon, ElForm } from 'element-plus';
3
3
  import { Filter, ArrowDown } from '@element-plus/icons-vue';
4
- import _sfc_main$1 from './cpns/appSearchItem.vue.mjs';
4
+ import _sfc_main$1 from './cpns/searchItem.vue.mjs';
5
5
  import { useShrink, isEmptyValue } from './js/index.mjs';
6
6
  import { resetAppSearchValue } from './js/useAppSearch.mjs';
7
7
  import { useLocale } from '../../hooks/useLocale.mjs';
8
8
  import { isArray, isObject } from '../../utils/is.mjs';
9
9
 
10
- import "./style/appSearch.scss";
10
+ import "./style/search.scss";
11
11
 
12
12
  const __default__ = defineComponent({
13
- name: "AppSearch"
13
+ name: "HySearch"
14
14
  });
15
15
  const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
16
16
  props: {
@@ -61,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
61
61
  return getFilterCount(props.model, defaultValue);
62
62
  });
63
63
  const appClass = computed(() => {
64
- return [props.class, { "app-search-hidden": props.hidden }].filter(Boolean);
64
+ return [props.class, { "hy-search-hidden": props.hidden }].filter(Boolean);
65
65
  });
66
66
  const containerStyle = computed(() => {
67
67
  const style = {};
@@ -120,13 +120,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
120
120
  return openBlock(), createElementBlock(
121
121
  "div",
122
122
  {
123
- class: normalizeClass(["app-search", appClass.value])
123
+ class: normalizeClass(["hy-search", appClass.value])
124
124
  },
125
125
  [
126
126
  createElementVNode(
127
127
  "div",
128
128
  {
129
- class: normalizeClass(["app-search-header", { "app-search-header-hidden": __props.hidden }])
129
+ class: normalizeClass(["hy-search-header", { "hy-search-header-hidden": __props.hidden }])
130
130
  },
131
131
  [
132
132
  createElementVNode("div", { class: "flex items-center gap-2" }, [
@@ -203,7 +203,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
203
203
  model: __props.model,
204
204
  "label-position": "top",
205
205
  size: __props.size,
206
- class: "app-search-form"
206
+ class: "hy-search-form"
207
207
  }, _ctx.$attrs, { style: containerStyle.value }), {
208
208
  default: withCtx(() => [
209
209
  createElementVNode(
@@ -211,7 +211,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
211
211
  {
212
212
  ref_key: "formItemWrapper",
213
213
  ref: formItemWrapper,
214
- class: "app-search-container"
214
+ class: "hy-search-container"
215
215
  },
216
216
  [
217
217
  createCommentVNode(" \u8868\u5355\u9879 "),
@@ -1,4 +1,4 @@
1
- .app-search {
1
+ .hy-search {
2
2
  border-radius: 4px;
3
3
  border: 1px solid rgb(var(--hy-border));
4
4
  background-color: rgb(var(--hy-background));
@@ -6,13 +6,13 @@
6
6
  opacity: 1;
7
7
  transition: all 0.3s linear;
8
8
  overflow: hidden;
9
- &.app-search-hidden {
9
+ &.hy-search-hidden {
10
10
  padding-top: 0;
11
11
  padding-bottom: 0;
12
12
  opacity: 0;
13
13
  }
14
14
  }
15
- .app-search-header {
15
+ .hy-search-header {
16
16
  height: 16px;
17
17
  display: flex;
18
18
  align-items: center;
@@ -20,16 +20,16 @@
20
20
  color: rgb(var(--hy-main));
21
21
  margin-bottom: 16px;
22
22
  transition: all 0.3s linear;
23
- &.app-search-header-hidden {
23
+ &.hy-search-header-hidden {
24
24
  height: 0;
25
25
  margin-bottom: 0px;
26
26
  }
27
27
  }
28
- .app-search-form {
28
+ .hy-search-form {
29
29
  overflow: hidden;
30
30
  transition: all 0.3s;
31
31
  }
32
- .app-search-container {
32
+ .hy-search-container {
33
33
  display: flex;
34
34
  flex-wrap: wrap;
35
35
  gap: 16px;
@@ -63,7 +63,7 @@
63
63
  box-shadow: none !important;
64
64
  }
65
65
  }
66
- .app-search-custom-wrapper {
66
+ .hy-search-custom-wrapper {
67
67
  min-height: var(--hy-el-component-size);
68
68
  }
69
69
  }
@@ -2,10 +2,10 @@ import { useTemplateRef, ref, computed, unref, watch, openBlock, createBlock, wi
2
2
  import Sortable from 'sortablejs';
3
3
  import { ElPopover, ElIcon, ElCheckboxGroup, ElMessage } from 'element-plus';
4
4
  import { CircleClose, Warning, Edit } from '@element-plus/icons-vue';
5
- import { AppButton } from '../../appButton/index.mjs';
6
5
  import { tableColumnHandler } from '../js/index.mjs';
7
6
  import _sfc_main$1 from './columnSelectItem.vue.mjs';
8
7
  import { useLocale } from '../../../hooks/useLocale.mjs';
8
+ import { HyButton } from '../../hyButton/index.mjs';
9
9
  import { isEmpty } from '../../../utils/is.mjs';
10
10
 
11
11
  const _sfc_main = {
@@ -341,7 +341,7 @@ const _sfc_main = {
341
341
  /* TEXT */
342
342
  )
343
343
  ])) : createCommentVNode("v-if", true),
344
- createVNode(unref(AppButton), {
344
+ createVNode(unref(HyButton), {
345
345
  type: "primary",
346
346
  size: "small",
347
347
  onClick: onConfirmHandler
@@ -2,8 +2,8 @@ import { openBlock, createBlock, unref, withCtx, createElementVNode, toDisplaySt
2
2
  import { ElPopover, ElIcon, ElCheckbox } from 'element-plus';
3
3
  import { Lock, DCaret } from '@element-plus/icons-vue';
4
4
  import { renderHeaderHandler } from '../js/index.mjs';
5
- import { AppTooltip } from '../../appTooltip/index.mjs';
6
5
  import { useLocale } from '../../../hooks/useLocale.mjs';
6
+ import { HyTooltip } from '../../hyTooltip/index.mjs';
7
7
 
8
8
  const _sfc_main = {
9
9
  __name: "columnSelectItem",
@@ -62,7 +62,7 @@ const _sfc_main = {
62
62
  }, ["stop"])
63
63
  }, null, 8, ["value", "onClick"])),
64
64
  createElementVNode("div", { class: "w-0 flex-1" }, [
65
- createVNode(unref(AppTooltip), {
65
+ createVNode(unref(HyTooltip), {
66
66
  "is-always": false,
67
67
  "over-line": 1,
68
68
  content: unref(renderHeaderHandler)(__props.column)
@@ -90,7 +90,7 @@ const _sfc_main = {
90
90
  }, 8, ["color", "onClick"])
91
91
  ]),
92
92
  renderSlot(_ctx.$slots, "default")
93
- ], 8, ["onClick"])) : renderSlot(_ctx.$slots, "default", { key: 1 });
93
+ ], 8, ["onClick"])) : renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1);
94
94
  };
95
95
  }
96
96
  };
@@ -1,12 +1,12 @@
1
- import { ref, computed, openBlock, createBlock, unref, withCtx, renderSlot, resolveDynamicComponent, createElementBlock, Fragment, withModifiers, normalizeProps, mergeProps, createTextVNode, toDisplayString, renderList, createElementVNode, normalizeClass, createVNode, createCommentVNode, guardReactiveProps } from 'vue';
1
+ import { ref, computed, openBlock, createBlock, unref, withCtx, renderSlot, resolveDynamicComponent, createElementBlock, Fragment, withModifiers, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString, renderList, createElementVNode, normalizeClass, createVNode, createCommentVNode } from 'vue';
2
2
  import { ElTableV2, ElCheckbox, ElDropdown, ElIcon, ElDropdownMenu, ElDropdownItem } from 'element-plus';
3
3
  import { MoreFilled } from '@element-plus/icons-vue';
4
4
  import { operatorFilterHandler, operatorClickHandler, operatorDisabledHandler, operatorDisableTextdHandler, renderContentHandler, renderHeaderHandler } from '../js/index.mjs';
5
5
  import _sfc_main$1 from './headerItem.vue.mjs';
6
- import { AppIcon } from '../../appIcon/index.mjs';
7
6
  import { useLocale } from '../../../hooks/useLocale.mjs';
8
7
  import { isNumber, isEmpty, isBoolean, isArray, isFunction } from '../../../utils/is.mjs';
9
- import { AppTooltip } from '../../appTooltip/index.mjs';
8
+ import { HyTooltip } from '../../hyTooltip/index.mjs';
9
+ import { HyIcon } from '../../hyIcon/index.mjs';
10
10
 
11
11
  const _sfc_main = {
12
12
  __name: "virtualTable",
@@ -304,7 +304,7 @@ const _sfc_main = {
304
304
  ],
305
305
  64
306
306
  /* STABLE_FRAGMENT */
307
- )) : !unref(isEmpty)(unref(renderHeaderHandler)(column, { column, $index })) ? (openBlock(), createBlock(unref(AppTooltip), {
307
+ )) : !unref(isEmpty)(unref(renderHeaderHandler)(column, { column, $index })) ? (openBlock(), createBlock(unref(HyTooltip), {
308
308
  key: 1,
309
309
  "is-always": false,
310
310
  "over-line": 1,
@@ -329,7 +329,7 @@ const _sfc_main = {
329
329
  indeterminate: indeterminateKeys.value.has(getRowKey(row)),
330
330
  disabled: !isSelectable(row),
331
331
  onClick: withModifiers(($event) => switchCheckHandler(row), ["stop"])
332
- }, null, 8, ["model-value", "indeterminate", "disabled", "onClick"])) : column?.slot ? renderSlot(_ctx.$slots, column?.slot, normalizeProps(mergeProps({ key: 2 }, { column, row, $index, cellIndex }))) : column.type === "index" ? (openBlock(), createElementBlock(
332
+ }, null, 8, ["model-value", "indeterminate", "disabled", "onClick"])) : column?.slot ? renderSlot(_ctx.$slots, column?.slot, normalizeProps(guardReactiveProps({ column, row, $index, cellIndex })), void 0, void 0, 2) : column.type === "index" ? (openBlock(), createElementBlock(
333
333
  Fragment,
334
334
  { key: 3 },
335
335
  [
@@ -357,7 +357,7 @@ const _sfc_main = {
357
357
  { column, row, $index, cellIndex },
358
358
  "default"
359
359
  ), (citem, cindex) => {
360
- return openBlock(), createBlock(unref(AppTooltip), {
360
+ return openBlock(), createBlock(unref(HyTooltip), {
361
361
  key: cindex,
362
362
  "is-always": "",
363
363
  overLine: 1,
@@ -373,7 +373,7 @@ const _sfc_main = {
373
373
  "default"
374
374
  )
375
375
  }, [
376
- createVNode(unref(AppIcon), {
376
+ createVNode(unref(HyIcon), {
377
377
  "svg-name": citem.svgName,
378
378
  "class-name": "!w-4 !h-4"
379
379
  }, null, 8, ["svg-name"]),
@@ -488,7 +488,7 @@ const _sfc_main = {
488
488
  ]),
489
489
  default: withCtx(() => [
490
490
  createElementVNode("span", null, [
491
- createVNode(unref(AppTooltip), {
491
+ createVNode(unref(HyTooltip), {
492
492
  "is-always": "",
493
493
  overLine: 1,
494
494
  content: unref(t)("table.moreOperations")
@@ -530,7 +530,7 @@ const _sfc_main = {
530
530
  [
531
531
  !unref(isEmpty)(
532
532
  unref(renderContentHandler)(column, { column, row, $index, cellIndex })
533
- ) ? (openBlock(), createBlock(unref(AppTooltip), {
533
+ ) ? (openBlock(), createBlock(unref(HyTooltip), {
534
534
  key: 0,
535
535
  "is-always": false,
536
536
  "over-line": 2,
@@ -546,10 +546,9 @@ const _sfc_main = {
546
546
  ]),
547
547
  row: withCtx(({ cells, depth, expanded, rowData: row }) => [
548
548
  depth > 0 && isExpandTable.value ? renderSlot(_ctx.$slots, expandColumn.value.slot, {
549
- key: 0,
550
549
  row,
551
550
  expanded: expandedMap.value.has(getRowKey(row))
552
- }) : (openBlock(), createBlock(resolveDynamicComponent(() => cells), { key: 1 }))
551
+ }, void 0, void 0, 0) : (openBlock(), createBlock(resolveDynamicComponent(() => cells), { key: 1 }))
553
552
  ]),
554
553
  empty: withCtx(() => [
555
554
  renderSlot(_ctx.$slots, "empty")
@@ -0,0 +1,7 @@
1
+ import _sfc_main from './table.vue.mjs';
2
+ export { useAppTable } from './js/useAppTable.mjs';
3
+ import { withInstall } from '../../utils/handler.mjs';
4
+
5
+ const HyTable = withInstall(_sfc_main);
6
+
7
+ export { HyTable, HyTable as default };
@@ -1,6 +1,6 @@
1
1
  import { toRef } from 'vue';
2
- import { useAppSearch } from '../../appSearch/js/useAppSearch.mjs';
3
2
  import { isEmpty, isBoolean, isString, isObject } from '../../../utils/is.mjs';
3
+ import { useAppSearch } from '../../hySearch/js/useAppSearch.mjs';
4
4
  import { useLocale } from '../../../hooks/useLocale.mjs';
5
5
 
6
6
  function getColumnDefaultConfig(column) {
@@ -1,4 +1,4 @@
1
- .app-table {
1
+ .hy-table {
2
2
  width: 100%;
3
3
  height: 100%;
4
4
  display: flex;
@@ -21,7 +21,7 @@
21
21
  }
22
22
  }
23
23
  }
24
- .app-table-search {
24
+ .hy-table-search {
25
25
  width: 160px;
26
26
  .hy-el-input__inner::placeholder {
27
27
  font-size: 12px;
@@ -6,19 +6,19 @@ import { useAppTableSearch } from './js/search.mjs';
6
6
  import _sfc_main$2 from './cpns/headerItem.vue.mjs';
7
7
  import _sfc_main$1 from './cpns/columnSelect.vue.mjs';
8
8
  import _sfc_main$3 from './cpns/virtualTable.vue.mjs';
9
+ import { useLocale } from '../../hooks/useLocale.mjs';
9
10
  import { useMixins } from '../../hooks/useMixins.mjs';
10
- import { AppButton } from '../appButton/index.mjs';
11
- import { AppSearch } from '../appSearch/index.mjs';
11
+ import { HyTooltip } from '../hyTooltip/index.mjs';
12
+ import { HyButton } from '../hyButton/index.mjs';
13
+ import { HyIcon } from '../hyIcon/index.mjs';
14
+ import { HySearch } from '../hySearch/index.mjs';
12
15
  import { parseRem } from '../../utils/adaptive.mjs';
13
- import { useLocale } from '../../hooks/useLocale.mjs';
14
- import { AppTooltip } from '../appTooltip/index.mjs';
15
- import { AppIcon } from '../appIcon/index.mjs';
16
16
  import { isEmpty } from '../../utils/is.mjs';
17
17
 
18
- import "./style/appTable.scss";
18
+ import "./style/table.scss";
19
19
 
20
20
  const __default__ = defineComponent({
21
- name: "AppTable"
21
+ name: "HyTable"
22
22
  });
23
23
  const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
24
24
  props: {
@@ -250,7 +250,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
250
250
  {
251
251
  ref_key: "containerRef",
252
252
  ref: containerRef,
253
- class: "app-table"
253
+ class: "hy-table"
254
254
  },
255
255
  [
256
256
  createCommentVNode(" \u64CD\u4F5C\u680F "),
@@ -283,7 +283,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
283
283
  /* TEXT */
284
284
  )
285
285
  ], 8, ["onClick"])) : createCommentVNode("v-if", true),
286
- unref(searchPlaceholder) ? (openBlock(), createBlock(unref(AppTooltip), {
286
+ unref(searchPlaceholder) ? (openBlock(), createBlock(unref(HyTooltip), {
287
287
  key: 2,
288
288
  "is-always": "",
289
289
  overLine: 1,
@@ -304,7 +304,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
304
304
  createVNode(unref(ElInput), {
305
305
  modelValue: __props.filterModel.query,
306
306
  "onUpdate:modelValue": ($event) => __props.filterModel.query = $event,
307
- class: "app-table-search",
307
+ class: "hy-table-search",
308
308
  placeholder: unref(t)("table.searchFor", [__props.controllerText || ""]),
309
309
  onFocus: unref(onSearchInputHandler),
310
310
  onBlur: unref(onSearchBlurHandler),
@@ -334,13 +334,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
334
334
  ]),
335
335
  _: 1
336
336
  /* STABLE */
337
- })) : (openBlock(), createBlock(unref(AppButton), {
337
+ })) : (openBlock(), createBlock(unref(HyButton), {
338
338
  key: 3,
339
339
  type: "primary",
340
340
  onClick: ($event) => unref(getData)()
341
341
  }, {
342
342
  default: withCtx(() => [
343
- createVNode(unref(AppIcon), {
343
+ createVNode(unref(HyIcon), {
344
344
  class: "w-[12px] h-[12px]",
345
345
  "svg-name": "refres"
346
346
  })
@@ -358,7 +358,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
358
358
  ])) : createCommentVNode("v-if", true)
359
359
  ]),
360
360
  createCommentVNode(" \u67E5\u8BE2\u8FC7\u6EE4 "),
361
- __props.filterColumns.length > 0 ? (openBlock(), createBlock(unref(AppSearch), {
361
+ __props.filterColumns.length > 0 ? (openBlock(), createBlock(unref(HySearch), {
362
362
  key: 0,
363
363
  ref_key: "appSearchRef",
364
364
  ref: appSearchRef,
@@ -440,7 +440,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
440
440
  }, {
441
441
  default: withCtx(() => [
442
442
  renderSlot(_ctx.$slots, column.headerSlot, mergeProps({ ref_for: true }, { column, $index: scope.$index }), () => [
443
- !unref(isEmpty)(unref(renderHeaderHandler)(column, scope)) ? (openBlock(), createBlock(unref(AppTooltip), {
443
+ !unref(isEmpty)(unref(renderHeaderHandler)(column, scope)) ? (openBlock(), createBlock(unref(HyTooltip), {
444
444
  key: 0,
445
445
  "is-always": false,
446
446
  "over-line": 1,
@@ -453,10 +453,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
453
453
  }, 1032, ["column", "filter-model", "onSearch"])
454
454
  ]),
455
455
  default: withCtx((scope) => [
456
- column?.slot ? renderSlot(_ctx.$slots, column?.slot, mergeProps({
457
- key: 0,
458
- ref_for: true
459
- }, scope)) : column.type === "operator" ? (openBlock(), createElementBlock("div", {
456
+ column?.slot ? renderSlot(_ctx.$slots, column?.slot, mergeProps({ ref_for: true }, scope), void 0, void 0, 0) : column.type === "operator" ? (openBlock(), createElementBlock("div", {
460
457
  key: 1,
461
458
  class: "flex items-center justify-between text-main"
462
459
  }, [
@@ -468,7 +465,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
468
465
  scope,
469
466
  "default"
470
467
  ), (citem, cindex) => {
471
- return openBlock(), createBlock(unref(AppTooltip), {
468
+ return openBlock(), createBlock(unref(HyTooltip), {
472
469
  key: cindex,
473
470
  "is-always": "",
474
471
  overLine: 1,
@@ -479,7 +476,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
479
476
  class: normalizeClass(["w-[40px] h-[48px] inline-flex flex-col items-center justify-center text-xs hover:font-bold border border-transparent hover:border-theme hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-theme),0.5)] rounded box-border cursor-pointer", citem.className]),
480
477
  onClick: ($event) => unref(operatorClickHandler)(cindex, column, scope, "default")
481
478
  }, [
482
- createCommentVNode(' <AppIcon\n :svg-name="citem.svgName"\n class-name="!w-4 !h-4"\n /> '),
479
+ createCommentVNode(' <HyIcon\n :svg-name="citem.svgName"\n class-name="!w-4 !h-4"\n /> '),
483
480
  createElementVNode("div", { class: "w-4 h-4" }, [
484
481
  createVNode(unref(ElIcon), {
485
482
  size: "16",
@@ -581,14 +578,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
581
578
  ]),
582
579
  default: withCtx(() => [
583
580
  createElementVNode("span", null, [
584
- createVNode(unref(AppTooltip), {
581
+ createVNode(unref(HyTooltip), {
585
582
  "is-always": "",
586
583
  overLine: 1,
587
584
  content: unref(t)("table.moreOperations")
588
585
  }, {
589
586
  default: withCtx(() => [
590
587
  createElementVNode("div", { class: "w-[40px] h-[48px] inline-flex flex-col items-center justify-center text-main text-xs hover:font-bold border border-transparent hover:border-theme hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-theme),0.5)] rounded box-border cursor-pointer" }, [
591
- createVNode(unref(AppIcon), {
588
+ createVNode(unref(HyIcon), {
592
589
  "svg-name": "system-burst_analysis_select_option",
593
590
  "class-name": "!w-4 !h-4"
594
591
  }),
@@ -613,7 +610,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
613
610
  Fragment,
614
611
  { key: 2 },
615
612
  [
616
- !unref(isEmpty)(unref(renderContentHandler)(column, scope)) ? (openBlock(), createBlock(unref(AppTooltip), {
613
+ !unref(isEmpty)(unref(renderContentHandler)(column, scope)) ? (openBlock(), createBlock(unref(HyTooltip), {
617
614
  key: 0,
618
615
  "over-line": 2,
619
616
  "is-always": false,
@@ -0,0 +1,6 @@
1
+ import _sfc_main from './tableForm.vue.mjs';
2
+ import { withInstall } from '../../utils/handler.mjs';
3
+
4
+ const HyTableForm = withInstall(_sfc_main);
5
+
6
+ export { HyTableForm, HyTableForm as default };
@@ -0,0 +1,21 @@
1
+ import { defineComponent, openBlock, createElementBlock, createCommentVNode } from 'vue';
2
+
3
+ import "./style/tableForm.scss";
4
+
5
+ const __default__ = defineComponent({
6
+ name: "HyTableForm"
7
+ });
8
+ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
9
+ props: {},
10
+ emits: [],
11
+ setup(__props, { expose: __expose, emit: __emit }) {
12
+ __expose({});
13
+ return (_ctx, _cache) => {
14
+ return openBlock(), createElementBlock("div", null, [
15
+ createCommentVNode(" HyTableForm \u5185\u5BB9 ")
16
+ ]);
17
+ };
18
+ }
19
+ });
20
+
21
+ export { _sfc_main as default };
@@ -0,0 +1,7 @@
1
+ import _sfc_main from './timePicker.vue.mjs';
2
+ import { withInstall } from '../../utils/handler.mjs';
3
+
4
+ const HyTimePicker = withInstall(_sfc_main);
5
+ const ElTimePicker = withInstall(_sfc_main, "ElTimePicker");
6
+
7
+ export { ElTimePicker, HyTimePicker, HyTimePicker as default };
@@ -4,10 +4,10 @@ import { ElTimePicker } from 'element-plus';
4
4
  import { useLocale } from '../../hooks/useLocale.mjs';
5
5
  import { isArray } from '../../utils/is.mjs';
6
6
 
7
- import "./style/appTimePicker.scss";
7
+ import "./style/timePicker.scss";
8
8
 
9
9
  const __default__ = defineComponent({
10
- name: "AppTimePicker"
10
+ name: "HyTimePicker"
11
11
  });
12
12
  const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
13
13
  props: /* @__PURE__ */ mergeModels({
@@ -0,0 +1,7 @@
1
+ import _sfc_main from './tooltip.vue.mjs';
2
+ import { withInstall } from '../../utils/handler.mjs';
3
+
4
+ const HyTooltip = withInstall(_sfc_main);
5
+ const ElTooltip = withInstall(_sfc_main, "ElTooltip");
6
+
7
+ export { ElTooltip, HyTooltip, HyTooltip as default };
@@ -3,10 +3,10 @@ import { ElTooltip } from 'element-plus';
3
3
  import { useTooltipConfig } from '../../hooks/useTooltipConfig.mjs';
4
4
  import { isNumber, isBoolean, isOverflowing } from '../../utils/is.mjs';
5
5
 
6
- import "./style/appTooltip.scss";
6
+ import "./style/tooltip.scss";
7
7
 
8
8
  const __default__ = defineComponent({
9
- name: "AppTooltip"
9
+ name: "HyTooltip"
10
10
  });
11
11
  const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
12
12
  props: {
@@ -69,13 +69,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
69
69
  content: _ctx.$slots.content ? void 0 : __props.content
70
70
  }), createSlots({
71
71
  default: withCtx(() => [
72
- __props.isAlways ? renderSlot(_ctx.$slots, "default", { key: 0 }, () => [
72
+ __props.isAlways ? renderSlot(_ctx.$slots, "default", {}, () => [
73
73
  createTextVNode(
74
74
  toDisplayString(__props.content),
75
75
  1
76
76
  /* TEXT */
77
77
  )
78
- ]) : (openBlock(), createElementBlock(
78
+ ], void 0, 0) : (openBlock(), createElementBlock(
79
79
  "span",
80
80
  {
81
81
  key: 1,
@@ -0,0 +1,6 @@
1
+ import _sfc_main from './tree.vue.mjs';
2
+ import { withInstall } from '../../utils/handler.mjs';
3
+
4
+ const HyTree = withInstall(_sfc_main);
5
+
6
+ export { HyTree, HyTree as default };
@@ -4,10 +4,10 @@ import { VirtualTree } from 'hy-virtual-tree';
4
4
  import { useAppTreeWrapper } from './js/index.mjs';
5
5
  import { searchTypeConfig, treeTypeConfig } from './config/tree-config.mjs';
6
6
  import { useMixins } from '../../hooks/useMixins.mjs';
7
- import { AppIcon } from '../appIcon/index.mjs';
7
+ import { HyIcon } from '../hyIcon/index.mjs';
8
8
 
9
9
  const __default__ = defineComponent({
10
- name: "AppTree"
10
+ name: "HyTree"
11
11
  });
12
12
  const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
13
13
  props: {
@@ -209,7 +209,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
209
209
  class: "searchBox flex-shrink-0",
210
210
  onClick: ($event) => unref(refreshData)()
211
211
  }, [
212
- createVNode(unref(AppIcon), {
212
+ createVNode(unref(HyIcon), {
213
213
  "svg-name": "search",
214
214
  "class-name": "w-[16px] h-[16px]"
215
215
  })
@@ -0,0 +1,6 @@
1
+ import _sfc_main from './userAvatar.vue.mjs';
2
+ import { withInstall } from '../../utils/handler.mjs';
3
+
4
+ const HyUserAvatar = withInstall(_sfc_main);
5
+
6
+ export { HyUserAvatar, HyUserAvatar as default };
@@ -1,4 +1,4 @@
1
- .app-user-avatar {
1
+ .hy-user-avatar {
2
2
  background: rgb(var(--hy-background-2));
3
3
  position: relative;
4
4
  border: 1px solid rgb(var(--hy-main));
@@ -1,13 +1,13 @@
1
1
  import { defineComponent, computed, unref, openBlock, createElementBlock, normalizeStyle, createBlock, normalizeClass, createCommentVNode } from 'vue';
2
- import { AppIcon } from '../appIcon/index.mjs';
2
+ import { useLocale } from '../../hooks/useLocale.mjs';
3
3
  import { useUserAvatarMap } from '../../hooks/useUserAvatarMap.mjs';
4
+ import { HyIcon } from '../hyIcon/index.mjs';
4
5
  import { pxTorem } from '../../utils/adaptive.mjs';
5
- import { useLocale } from '../../hooks/useLocale.mjs';
6
6
 
7
- import "./style/appUserAvatar.scss";
7
+ import "./style/userAvatar.scss";
8
8
 
9
9
  const __default__ = defineComponent({
10
- name: "AppUserAvatar"
10
+ name: "HyUserAvatar"
11
11
  });
12
12
  const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
13
13
  props: {
@@ -81,7 +81,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
81
81
  height: `${parseRem(__props.height)}rem`,
82
82
  "border-color": __props.device?.onlineState === 1 ? __props.audioContextType ? "rgb(var(--hy-theme))" : isGbDevice.value ? "#FDE777" : "rgb(var(--hy-auxiliary))" : "rgb(var(--hy-info))"
83
83
  }),
84
- class: "app-user-avatar"
84
+ class: "hy-user-avatar"
85
85
  },
86
86
  [
87
87
  isGbDevice.value ? (openBlock(), createElementBlock(
@@ -104,11 +104,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
104
104
  key: 0,
105
105
  src: headImg.value,
106
106
  alt: unref(t)("userAvatar.userAvatar")
107
- }, null, 8, ["src", "alt"])) : __props.device?.onlineState === 1 ? (openBlock(), createBlock(unref(AppIcon), {
107
+ }, null, 8, ["src", "alt"])) : __props.device?.onlineState === 1 ? (openBlock(), createBlock(unref(HyIcon), {
108
108
  key: 1,
109
109
  "svg-name": __props.initSelectSvgName,
110
110
  className: "svgBox"
111
- }, null, 8, ["svg-name"])) : (openBlock(), createBlock(unref(AppIcon), {
111
+ }, null, 8, ["svg-name"])) : (openBlock(), createBlock(unref(HyIcon), {
112
112
  key: 2,
113
113
  "svg-name": __props.initSvgName,
114
114
  className: "svgBox"
@@ -0,0 +1,6 @@
1
+ import _sfc_main from './videoPlayer.vue.mjs';
2
+ import { withInstall } from '../../utils/handler.mjs';
3
+
4
+ const HyVideoPlayer = withInstall(_sfc_main);
5
+
6
+ export { HyVideoPlayer, HyVideoPlayer as default };
@@ -1,11 +1,11 @@
1
1
  import { ref, computed, nextTick } from 'vue';
2
2
  import { ElMessage } from 'element-plus';
3
+ import { useLocale } from '../../../hooks/useLocale.mjs';
3
4
  import { useVideoPlayerConfig } from '../../../hooks/useVideoPlayerConfig.mjs';
4
5
  import { formatDuration } from '../../../utils/date.mjs';
5
- import { AppConfirmDialog } from '../../appConfirmDialog/index.mjs';
6
+ import { HyConfirmDialog } from '../../hyConfirmDialog/index.mjs';
6
7
  import { copyText } from '../../../utils/handler.mjs';
7
8
  import { isSupportH265 } from '../../../utils/is.mjs';
8
- import { useLocale } from '../../../hooks/useLocale.mjs';
9
9
 
10
10
  const useVideoPlayer = (hy) => {
11
11
  const { props, emits, videoRef, videoWrapperRef } = hy;
@@ -330,7 +330,7 @@ const useVideoPlayer = (hy) => {
330
330
  if (newOpenWindow) {
331
331
  ElMessage.success(t("videoPlayer.operationSuccessful"));
332
332
  } else {
333
- AppConfirmDialog.confirm({
333
+ HyConfirmDialog.confirm({
334
334
  title: "\u8DF3\u8F6C\u63D0\u793A",
335
335
  content: `<div><p>${t(
336
336
  "videoPlayer.theCurrentBrowserBlocksTheOpeningOfNewWindows"