hy-dispatch-ui-v3 0.2.20 → 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.
- package/es/components/{appAudioPlayer/appAudioPlayer.vue.mjs → hyAudioPlayer/audioPlayer.vue.mjs} +17 -17
- package/es/components/hyAudioPlayer/index.mjs +6 -0
- package/{lib/components/appAudioPlayer/style/appAudioPlayer.scss → es/components/hyAudioPlayer/style/audioPlayer.scss} +5 -5
- package/es/components/{appButton/appButton.vue.mjs → hyButton/button.vue.mjs} +11 -9
- package/es/components/hyButton/index.mjs +6 -0
- package/es/components/{appConfigProvider/appConfigProvider.vue.mjs → hyConfigProvider/configProvider.vue.mjs} +2 -2
- package/es/components/hyConfigProvider/index.mjs +6 -0
- package/es/components/{appConfirmDialog/appConfirmDialog.vue.mjs → hyConfirmDialog/confirmDialog.vue.mjs} +4 -4
- package/es/components/{appConfirmDialog/appConfirmMethod.mjs → hyConfirmDialog/confirmMethod.mjs} +3 -3
- package/es/components/hyConfirmDialog/index.mjs +7 -0
- package/es/components/{appCutter/appCutter.vue.mjs → hyCutter/cutter.vue.mjs} +11 -11
- package/es/components/hyCutter/index.mjs +6 -0
- package/es/components/{appCutter/style/appCutter.scss → hyCutter/style/cutter.scss} +6 -6
- package/es/components/{appDatePicker/appDatePicker.vue.mjs → hyDatePicker/datePicker.vue.mjs} +3 -3
- package/es/components/hyDatePicker/index.mjs +7 -0
- package/es/components/{appDialog/appDialog.vue.mjs → hyDialog/dialog.vue.mjs} +6 -6
- package/es/components/hyDialog/index.mjs +6 -0
- package/es/components/{appForm → hyForm}/cpns/arrayItem.vue.mjs +3 -3
- package/es/components/{appForm → hyForm}/cpns/extraItem.vue.mjs +4 -4
- package/es/components/{appForm/cpns/appFormItem.vue.mjs → hyForm/cpns/formItem.vue.mjs} +15 -16
- package/es/components/{appForm/appForm.vue.mjs → hyForm/form.vue.mjs} +4 -4
- package/es/components/hyForm/index.mjs +7 -0
- package/{lib/components/appForm/style/appForm.scss → es/components/hyForm/style/form.scss} +6 -6
- package/es/components/{appIcon/appIcon.vue.mjs → hyIcon/icon.vue.mjs} +5 -5
- package/es/components/hyIcon/index.mjs +6 -0
- package/es/components/{appIcon/style/appIcon.scss → hyIcon/style/icon.scss} +1 -1
- package/es/components/{appIconBox/appIconBox.vue.mjs → hyIconBox/iconBox.vue.mjs} +6 -6
- package/es/components/hyIconBox/index.mjs +6 -0
- package/es/components/{appIconBox/style/appIconBox.scss → hyIconBox/style/iconBox.scss} +2 -2
- package/es/components/hyInput/index.mjs +7 -0
- package/es/components/{appInput/appInput.vue.mjs → hyInput/input.vue.mjs} +1 -1
- package/es/components/hyMenu/index.mjs +6 -0
- package/es/components/{appMenu/appMenu.vue.mjs → hyMenu/menu.vue.mjs} +6 -6
- package/es/components/hyNoPermissions/index.mjs +6 -0
- package/es/components/{appNoPermissions/appNoPermissions.vue.mjs → hyNoPermissions/noPermissions.vue.mjs} +4 -4
- package/es/components/hyNoPermissionsMap/index.mjs +6 -0
- package/es/components/{appNoPermissionsMap/appNoPermissionsMap.vue.mjs → hyNoPermissionsMap/noPermissionsMap.vue.mjs} +4 -4
- package/es/components/hyOrgCascader/index.mjs +6 -0
- package/es/components/{appOrgCascader/appOrgCascader.vue.mjs → hyOrgCascader/orgCascader.vue.mjs} +3 -3
- package/es/components/{appSearch/cpns/appSearchItem.vue.mjs → hySearch/cpns/searchItem.vue.mjs} +14 -20
- package/es/components/hySearch/index.mjs +7 -0
- package/es/components/{appSearch/appSearch.vue.mjs → hySearch/search.vue.mjs} +8 -8
- package/es/components/{appSearch/style/appSearch.scss → hySearch/style/search.scss} +7 -7
- package/es/components/{appTable → hyTable}/cpns/columnSelect.vue.mjs +2 -2
- package/es/components/{appTable → hyTable}/cpns/columnSelectItem.vue.mjs +2 -2
- package/es/components/{appTable → hyTable}/cpns/headerItem.vue.mjs +1 -1
- package/es/components/{appTable → hyTable}/cpns/virtualTable.vue.mjs +10 -11
- package/es/components/hyTable/index.mjs +7 -0
- package/es/components/{appTable → hyTable}/js/useAppTable.mjs +1 -1
- package/es/components/{appTable/style/appTable.scss → hyTable/style/table.scss} +2 -2
- package/es/components/{appTable/appTable.vue.mjs → hyTable/table.vue.mjs} +20 -23
- package/es/components/hyTableForm/index.mjs +6 -0
- package/es/components/hyTableForm/tableForm.vue.mjs +21 -0
- package/es/components/hyTimePicker/index.mjs +7 -0
- package/es/components/{appTimePicker/appTimePicker.vue.mjs → hyTimePicker/timePicker.vue.mjs} +2 -2
- package/es/components/hyTooltip/index.mjs +7 -0
- package/es/components/{appTooltip/appTooltip.vue.mjs → hyTooltip/tooltip.vue.mjs} +4 -4
- package/es/components/hyTree/index.mjs +6 -0
- package/es/components/{appTree/appTree.vue.mjs → hyTree/tree.vue.mjs} +3 -3
- package/es/components/hyUserAvatar/index.mjs +6 -0
- package/{lib/components/appUserAvatar/style/appUserAvatar.scss → es/components/hyUserAvatar/style/userAvatar.scss} +1 -1
- package/es/components/{appUserAvatar/appUserAvatar.vue.mjs → hyUserAvatar/userAvatar.vue.mjs} +7 -7
- package/es/components/hyVideoPlayer/index.mjs +6 -0
- package/es/components/{appVideoPlayer → hyVideoPlayer}/js/index.mjs +3 -3
- package/es/components/{appVideoPlayer/style/appVideoPlayer.scss → hyVideoPlayer/style/videoPlayer.scss} +6 -6
- package/es/components/{appVideoPlayer/appVideoPlayer.vue.mjs → hyVideoPlayer/videoPlayer.vue.mjs} +29 -29
- package/es/components/index.mjs +26 -25
- package/es/hooks/useGlobalConfig.mjs +1 -1
- package/es/index.mjs +26 -25
- package/es/make-installer.mjs +0 -2
- package/es/version.mjs +1 -1
- package/lib/components/{appAudioPlayer/appAudioPlayer.vue.js → hyAudioPlayer/audioPlayer.vue.js} +16 -16
- package/lib/components/hyAudioPlayer/index.js +11 -0
- package/{es/components/appAudioPlayer/style/appAudioPlayer.scss → lib/components/hyAudioPlayer/style/audioPlayer.scss} +5 -5
- package/lib/components/{appButton/appButton.vue.js → hyButton/button.vue.js} +10 -8
- package/lib/components/hyButton/index.js +11 -0
- package/lib/components/{appConfigProvider/appConfigProvider.vue.js → hyConfigProvider/configProvider.vue.js} +1 -1
- package/lib/components/hyConfigProvider/index.js +11 -0
- package/lib/components/{appConfirmDialog/appConfirmDialog.vue.js → hyConfirmDialog/confirmDialog.vue.js} +4 -4
- package/lib/components/{appConfirmDialog/appConfirmMethod.js → hyConfirmDialog/confirmMethod.js} +9 -9
- package/lib/components/hyConfirmDialog/index.js +12 -0
- package/lib/components/{appCutter/appCutter.vue.js → hyCutter/cutter.vue.js} +11 -11
- package/lib/components/hyCutter/index.js +11 -0
- package/lib/components/{appCutter/style/appCutter.scss → hyCutter/style/cutter.scss} +6 -6
- package/lib/components/{appDatePicker/appDatePicker.vue.js → hyDatePicker/datePicker.vue.js} +3 -3
- package/lib/components/hyDatePicker/index.js +13 -0
- package/lib/components/{appDialog/appDialog.vue.js → hyDialog/dialog.vue.js} +6 -6
- package/lib/components/hyDialog/index.js +11 -0
- package/lib/components/{appForm → hyForm}/cpns/arrayItem.vue.js +4 -4
- package/lib/components/{appForm → hyForm}/cpns/extraItem.vue.js +5 -5
- package/lib/components/{appForm/cpns/appFormItem.vue.js → hyForm/cpns/formItem.vue.js} +15 -16
- package/lib/components/{appForm/appForm.vue.js → hyForm/form.vue.js} +5 -5
- package/lib/components/{appForm → hyForm}/index.js +4 -4
- package/{es/components/appForm/style/appForm.scss → lib/components/hyForm/style/form.scss} +6 -6
- package/lib/components/{appIcon/appIcon.vue.js → hyIcon/icon.vue.js} +4 -4
- package/lib/components/hyIcon/index.js +11 -0
- package/lib/components/{appIcon/style/appIcon.scss → hyIcon/style/icon.scss} +1 -1
- package/lib/components/{appIconBox/appIconBox.vue.js → hyIconBox/iconBox.vue.js} +6 -6
- package/lib/components/hyIconBox/index.js +11 -0
- package/lib/components/{appIconBox/style/appIconBox.scss → hyIconBox/style/iconBox.scss} +2 -2
- package/lib/components/hyInput/index.js +13 -0
- package/lib/components/{appInput/appInput.vue.js → hyInput/input.vue.js} +1 -1
- package/lib/components/hyMenu/index.js +11 -0
- package/lib/components/{appMenu/appMenu.vue.js → hyMenu/menu.vue.js} +6 -6
- package/lib/components/hyNoPermissions/index.js +11 -0
- package/lib/components/{appNoPermissions/appNoPermissions.vue.js → hyNoPermissions/noPermissions.vue.js} +4 -4
- package/lib/components/hyNoPermissionsMap/index.js +11 -0
- package/lib/components/{appNoPermissionsMap/appNoPermissionsMap.vue.js → hyNoPermissionsMap/noPermissionsMap.vue.js} +4 -4
- package/lib/components/hyOrgCascader/index.js +11 -0
- package/lib/components/{appOrgCascader/appOrgCascader.vue.js → hyOrgCascader/orgCascader.vue.js} +3 -3
- package/lib/components/{appSearch/cpns/appSearchItem.vue.js → hySearch/cpns/searchItem.vue.js} +14 -20
- package/lib/components/{appSearch → hySearch}/index.js +4 -4
- package/lib/components/{appSearch/appSearch.vue.js → hySearch/search.vue.js} +9 -9
- package/lib/components/{appSearch/style/appSearch.scss → hySearch/style/search.scss} +7 -7
- package/lib/components/{appTable → hyTable}/cpns/columnSelect.vue.js +2 -2
- package/lib/components/{appTable → hyTable}/cpns/columnSelectItem.vue.js +2 -2
- package/lib/components/{appTable → hyTable}/cpns/headerItem.vue.js +1 -1
- package/lib/components/{appTable → hyTable}/cpns/virtualTable.vue.js +9 -10
- package/lib/components/{appTable → hyTable}/index.js +4 -4
- package/lib/components/{appTable → hyTable}/js/useAppTable.js +1 -1
- package/lib/components/{appTable/style/appTable.scss → hyTable/style/table.scss} +2 -2
- package/lib/components/{appTable/appTable.vue.js → hyTable/table.vue.js} +20 -23
- package/lib/components/hyTableForm/index.js +11 -0
- package/lib/components/hyTableForm/tableForm.vue.js +25 -0
- package/lib/components/hyTimePicker/index.js +13 -0
- package/lib/components/hyTimePicker/style/timePicker.scss +0 -0
- package/lib/components/{appTimePicker/appTimePicker.vue.js → hyTimePicker/timePicker.vue.js} +2 -2
- package/lib/components/hyTooltip/index.js +13 -0
- package/lib/components/hyTooltip/style/tooltip.scss +0 -0
- package/lib/components/{appTooltip/appTooltip.vue.js → hyTooltip/tooltip.vue.js} +4 -4
- package/lib/components/hyTree/index.js +11 -0
- package/lib/components/{appTree/appTree.vue.js → hyTree/tree.vue.js} +3 -3
- package/lib/components/hyUserAvatar/index.js +11 -0
- package/{es/components/appUserAvatar/style/appUserAvatar.scss → lib/components/hyUserAvatar/style/userAvatar.scss} +1 -1
- package/lib/components/{appUserAvatar/appUserAvatar.vue.js → hyUserAvatar/userAvatar.vue.js} +7 -7
- package/lib/components/hyVideoPlayer/index.js +11 -0
- package/lib/components/{appVideoPlayer → hyVideoPlayer}/js/index.js +3 -3
- package/lib/components/{appVideoPlayer/style/appVideoPlayer.scss → hyVideoPlayer/style/videoPlayer.scss} +6 -6
- package/lib/components/{appVideoPlayer/appVideoPlayer.vue.js → hyVideoPlayer/videoPlayer.vue.js} +29 -29
- package/lib/components/index.js +53 -51
- package/lib/index.js +53 -51
- package/lib/make-installer.js +0 -2
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/es/components/appAudioPlayer/index.mjs +0 -6
- package/es/components/appButton/index.mjs +0 -6
- package/es/components/appConfigProvider/index.mjs +0 -6
- package/es/components/appConfirmDialog/index.mjs +0 -7
- package/es/components/appCutter/index.mjs +0 -6
- package/es/components/appDatePicker/index.mjs +0 -7
- package/es/components/appDialog/index.mjs +0 -6
- package/es/components/appForm/index.mjs +0 -7
- package/es/components/appIcon/index.mjs +0 -6
- package/es/components/appIconBox/index.mjs +0 -6
- package/es/components/appInput/index.mjs +0 -7
- package/es/components/appMenu/index.mjs +0 -6
- package/es/components/appNoPermissions/index.mjs +0 -6
- package/es/components/appNoPermissionsMap/index.mjs +0 -6
- package/es/components/appOrgCascader/index.mjs +0 -6
- package/es/components/appSearch/index.mjs +0 -7
- package/es/components/appTable/index.mjs +0 -7
- package/es/components/appTimePicker/index.mjs +0 -7
- package/es/components/appTooltip/index.mjs +0 -7
- package/es/components/appTree/index.mjs +0 -6
- package/es/components/appUserAvatar/index.mjs +0 -6
- package/es/components/appVideoPlayer/index.mjs +0 -6
- package/lib/components/appAudioPlayer/index.js +0 -11
- package/lib/components/appButton/index.js +0 -11
- package/lib/components/appConfigProvider/index.js +0 -11
- package/lib/components/appConfirmDialog/index.js +0 -12
- package/lib/components/appCutter/index.js +0 -11
- package/lib/components/appDatePicker/index.js +0 -13
- package/lib/components/appDialog/index.js +0 -11
- package/lib/components/appIcon/index.js +0 -11
- package/lib/components/appIconBox/index.js +0 -11
- package/lib/components/appInput/index.js +0 -13
- package/lib/components/appMenu/index.js +0 -11
- package/lib/components/appNoPermissions/index.js +0 -11
- package/lib/components/appNoPermissionsMap/index.js +0 -11
- package/lib/components/appOrgCascader/index.js +0 -11
- package/lib/components/appTimePicker/index.js +0 -13
- package/lib/components/appTooltip/index.js +0 -13
- package/lib/components/appTree/index.js +0 -11
- package/lib/components/appUserAvatar/index.js +0 -11
- package/lib/components/appVideoPlayer/index.js +0 -11
- package/es/components/{appAudioPlayer → hyAudioPlayer}/js/index.mjs +1 -1
- package/es/components/{appButton/style/appButton.scss → hyButton/style/button.scss} +0 -0
- package/es/components/{appDatePicker/style/appDatePicker.scss → hyDatePicker/style/datePicker.scss} +0 -0
- package/es/components/{appDialog/style/appDialog.scss → hyDialog/style/dialog.scss} +0 -0
- package/es/components/{appForm → hyForm}/js/index.mjs +0 -0
- package/es/components/{appForm → hyForm}/js/useAppForm.mjs +1 -1
- package/es/components/{appMenu/style/appMenu.scss → hyMenu/style/menu.scss} +0 -0
- package/es/components/{appNoPermissions/style/appNoPermissions.scss → hyNoPermissions/style/noPermissions.scss} +0 -0
- package/es/components/{appNoPermissionsMap/style/appNoPermissionsMap.scss → hyNoPermissionsMap/style/noPermissionsMap.scss} +0 -0
- package/es/components/{appOrgCascader/style/appOrgCascader.scss → hyOrgCascader/style/orgCascader.scss} +0 -0
- package/es/components/{appSearch → hySearch}/js/index.mjs +0 -0
- package/es/components/{appSearch → hySearch}/js/useAppSearch.mjs +0 -0
- package/es/components/{appTable → hyTable}/js/index.mjs +0 -0
- package/es/components/{appTable → hyTable}/js/search.mjs +0 -0
- package/es/components/{appTimePicker/style/appTimePicker.scss → hyTableForm/style/tableForm.scss} +0 -0
- package/es/components/{appTooltip/style/appTooltip.scss → hyTimePicker/style/timePicker.scss} +0 -0
- package/{lib/components/appDatePicker/style/appDatePicker.scss → es/components/hyTooltip/style/tooltip.scss} +0 -0
- package/es/components/{appTree → hyTree}/config/tree-config.mjs +0 -0
- package/es/components/{appTree → hyTree}/js/index.mjs +0 -0
- package/es/components/{appVideoPlayer → hyVideoPlayer}/cpns/mediaLoading.vue.mjs +0 -0
- package/es/components/{appVideoPlayer → hyVideoPlayer}/style/mediaLoading.scss +0 -0
- package/lib/components/{appAudioPlayer → hyAudioPlayer}/js/index.js +1 -1
- package/lib/components/{appButton/style/appButton.scss → hyButton/style/button.scss} +0 -0
- package/lib/components/{appDialog/style/appDialog.scss → hyDatePicker/style/datePicker.scss} +0 -0
- package/lib/components/{appNoPermissions/style/appNoPermissions.scss → hyDialog/style/dialog.scss} +0 -0
- package/lib/components/{appForm → hyForm}/js/index.js +0 -0
- package/lib/components/{appForm → hyForm}/js/useAppForm.js +1 -1
- /package/lib/components/{appMenu/style/appMenu.scss → hyMenu/style/menu.scss} +0 -0
- /package/lib/components/{appNoPermissionsMap/style/appNoPermissionsMap.scss → hyNoPermissions/style/noPermissions.scss} +0 -0
- /package/lib/components/{appOrgCascader/style/appOrgCascader.scss → hyNoPermissionsMap/style/noPermissionsMap.scss} +0 -0
- /package/lib/components/{appTimePicker/style/appTimePicker.scss → hyOrgCascader/style/orgCascader.scss} +0 -0
- /package/lib/components/{appSearch → hySearch}/js/index.js +0 -0
- /package/lib/components/{appSearch → hySearch}/js/useAppSearch.js +0 -0
- /package/lib/components/{appTable → hyTable}/js/index.js +0 -0
- /package/lib/components/{appTable → hyTable}/js/search.js +0 -0
- /package/lib/components/{appTooltip/style/appTooltip.scss → hyTableForm/style/tableForm.scss} +0 -0
- /package/lib/components/{appTree → hyTree}/config/tree-config.js +0 -0
- /package/lib/components/{appTree → hyTree}/js/index.js +0 -0
- /package/lib/components/{appVideoPlayer → hyVideoPlayer}/cpns/mediaLoading.vue.js +0 -0
- /package/lib/components/{appVideoPlayer → hyVideoPlayer}/style/mediaLoading.scss +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
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
|
-
&.
|
|
9
|
+
&.hy-search-hidden {
|
|
10
10
|
padding-top: 0;
|
|
11
11
|
padding-bottom: 0;
|
|
12
12
|
opacity: 0;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
.
|
|
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
|
-
&.
|
|
23
|
+
&.hy-search-header-hidden {
|
|
24
24
|
height: 0;
|
|
25
25
|
margin-bottom: 0px;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.hy-search-form {
|
|
29
29
|
overflow: hidden;
|
|
30
30
|
transition: all 0.3s;
|
|
31
31
|
}
|
|
32
|
-
.
|
|
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
|
-
.
|
|
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(
|
|
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(
|
|
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", {
|
|
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,
|
|
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 {
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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")
|
|
@@ -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) {
|
|
@@ -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 {
|
|
11
|
-
import {
|
|
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/
|
|
18
|
+
import "./style/table.scss";
|
|
19
19
|
|
|
20
20
|
const __default__ = defineComponent({
|
|
21
|
-
name: "
|
|
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: "
|
|
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(
|
|
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: "
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(' <
|
|
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(
|
|
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(
|
|
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(
|
|
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,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 };
|
package/es/components/{appTimePicker/appTimePicker.vue.mjs → hyTimePicker/timePicker.vue.mjs}
RENAMED
|
@@ -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/
|
|
7
|
+
import "./style/timePicker.scss";
|
|
8
8
|
|
|
9
9
|
const __default__ = defineComponent({
|
|
10
|
-
name: "
|
|
10
|
+
name: "HyTimePicker"
|
|
11
11
|
});
|
|
12
12
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
13
13
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -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/
|
|
6
|
+
import "./style/tooltip.scss";
|
|
7
7
|
|
|
8
8
|
const __default__ = defineComponent({
|
|
9
|
-
name: "
|
|
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", {
|
|
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,
|
|
@@ -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 {
|
|
7
|
+
import { HyIcon } from '../hyIcon/index.mjs';
|
|
8
8
|
|
|
9
9
|
const __default__ = defineComponent({
|
|
10
|
-
name: "
|
|
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(
|
|
212
|
+
createVNode(unref(HyIcon), {
|
|
213
213
|
"svg-name": "search",
|
|
214
214
|
"class-name": "w-[16px] h-[16px]"
|
|
215
215
|
})
|
package/es/components/{appUserAvatar/appUserAvatar.vue.mjs → hyUserAvatar/userAvatar.vue.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent, computed, unref, openBlock, createElementBlock, normalizeStyle, createBlock, normalizeClass, createCommentVNode } from 'vue';
|
|
2
|
-
import {
|
|
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/
|
|
7
|
+
import "./style/userAvatar.scss";
|
|
8
8
|
|
|
9
9
|
const __default__ = defineComponent({
|
|
10
|
-
name: "
|
|
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: "
|
|
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(
|
|
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(
|
|
111
|
+
}, null, 8, ["svg-name"])) : (openBlock(), createBlock(unref(HyIcon), {
|
|
112
112
|
key: 2,
|
|
113
113
|
"svg-name": __props.initSvgName,
|
|
114
114
|
className: "svgBox"
|
|
@@ -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 {
|
|
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
|
-
|
|
333
|
+
HyConfirmDialog.confirm({
|
|
334
334
|
title: "\u8DF3\u8F6C\u63D0\u793A",
|
|
335
335
|
content: `<div><p>${t(
|
|
336
336
|
"videoPlayer.theCurrentBrowserBlocksTheOpeningOfNewWindows"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
.operator-box {
|
|
28
28
|
height: 65px;
|
|
29
29
|
.center-operator {
|
|
30
|
-
.
|
|
30
|
+
.hy-icon {
|
|
31
31
|
width: 34px;
|
|
32
32
|
height: 34px;
|
|
33
33
|
}
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
height: 28px;
|
|
50
50
|
font-size: 14px;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.hy-icon {
|
|
53
53
|
width: 28px;
|
|
54
54
|
height: 28px;
|
|
55
55
|
&.volume-icon {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
z-index: 100;
|
|
67
67
|
color: rgba(var(--hy-main));
|
|
68
68
|
|
|
69
|
-
.
|
|
69
|
+
.hy-icon {
|
|
70
70
|
width: 28px;
|
|
71
71
|
height: 28px;
|
|
72
72
|
}
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
align-items: center;
|
|
152
152
|
justify-content: center;
|
|
153
153
|
cursor: pointer;
|
|
154
|
-
.
|
|
154
|
+
.hy-icon {
|
|
155
155
|
width: 26px;
|
|
156
156
|
height: 26px;
|
|
157
157
|
}
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
background-color: rgba(var(--hy-background-2));
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
.
|
|
192
|
+
.hy-icon {
|
|
193
193
|
width: 18px;
|
|
194
194
|
height: 18px;
|
|
195
195
|
cursor: pointer;
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
row-gap: 10px;
|
|
213
213
|
transition: all 0.3s linear;
|
|
214
214
|
|
|
215
|
-
.
|
|
215
|
+
.hy-icon {
|
|
216
216
|
width: 24px;
|
|
217
217
|
height: 24px;
|
|
218
218
|
cursor: pointer;
|