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.
- 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/hyMenu/menu.vue.mjs +120 -0
- 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} +42 -52
- 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/appMenu.vue.mjs +0 -130
- 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
|
@@ -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;
|
package/es/components/{appVideoPlayer/appVideoPlayer.vue.mjs → hyVideoPlayer/videoPlayer.vue.mjs}
RENAMED
|
@@ -4,16 +4,16 @@ import _sfc_main$1 from './cpns/mediaLoading.vue.mjs';
|
|
|
4
4
|
import { useVideoPlayer, useVideoResize } from './js/index.mjs';
|
|
5
5
|
import { useLocale } from '../../hooks/useLocale.mjs';
|
|
6
6
|
import { useMixins } from '../../hooks/useMixins.mjs';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { HyIcon } from '../hyIcon/index.mjs';
|
|
8
|
+
import { HyButton } from '../hyButton/index.mjs';
|
|
9
|
+
import { HyTooltip } from '../hyTooltip/index.mjs';
|
|
10
10
|
import { useVideoPlayerConfig } from '../../hooks/useVideoPlayerConfig.mjs';
|
|
11
11
|
import { isBoolean, isNumber } from '../../utils/is.mjs';
|
|
12
12
|
|
|
13
|
-
import "./style/
|
|
13
|
+
import "./style/videoPlayer.scss";
|
|
14
14
|
|
|
15
15
|
const __default__ = defineComponent({
|
|
16
|
-
name: "
|
|
16
|
+
name: "HyVideoPlayer"
|
|
17
17
|
});
|
|
18
18
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
19
19
|
props: {
|
|
@@ -232,7 +232,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
232
232
|
[
|
|
233
233
|
createElementVNode("div", { class: "w-[54px] h-[54px] rounded-full border-[2px] border-dangerv2 flex justify-center items-center shadow-[0px_0px_10px_2px_var(--dangerv2)]" }, [
|
|
234
234
|
createElementVNode("div", { class: "w-[42px] h-[42px] rounded-full border-[1px] border-dashed border-dangerv2 flex justify-center items-center" }, [
|
|
235
|
-
createVNode(unref(
|
|
235
|
+
createVNode(unref(HyIcon), {
|
|
236
236
|
"svg-name": "player-icon_brokLink",
|
|
237
237
|
class: "!w-[24px] !h-[24px] text-dangerv2"
|
|
238
238
|
})
|
|
@@ -263,15 +263,15 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
263
263
|
[
|
|
264
264
|
createCommentVNode(" \u666E\u901A\u6587\u4EF6 "),
|
|
265
265
|
createElementVNode("div", { class: "flex items-center justify-center text-auxiliary" }, [
|
|
266
|
-
createVNode(unref(
|
|
266
|
+
createVNode(unref(HyIcon), {
|
|
267
267
|
"svg-name": "player-media-center-right-ripple",
|
|
268
268
|
className: "!w-[12px] !h-[12px]"
|
|
269
269
|
}),
|
|
270
|
-
createVNode(unref(
|
|
270
|
+
createVNode(unref(HyIcon), {
|
|
271
271
|
"svg-name": "player-media-center-video",
|
|
272
272
|
className: "!w-[40px] !h-[40px] mx-1"
|
|
273
273
|
}),
|
|
274
|
-
createVNode(unref(
|
|
274
|
+
createVNode(unref(HyIcon), {
|
|
275
275
|
"svg-name": "player-media-center-left-ripple",
|
|
276
276
|
className: "!w-[12px] !h-[12px]"
|
|
277
277
|
})
|
|
@@ -287,7 +287,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
287
287
|
key: 0,
|
|
288
288
|
class: "flex justify-center"
|
|
289
289
|
}, [
|
|
290
|
-
unref(hasVLC) ? (openBlock(), createBlock(unref(
|
|
290
|
+
unref(hasVLC) ? (openBlock(), createBlock(unref(HyButton), {
|
|
291
291
|
key: 0,
|
|
292
292
|
onClick: unref(openVLC)
|
|
293
293
|
}, {
|
|
@@ -300,7 +300,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
300
300
|
]),
|
|
301
301
|
_: 1
|
|
302
302
|
/* STABLE */
|
|
303
|
-
}, 8, ["onClick"])) : (openBlock(), createBlock(unref(
|
|
303
|
+
}, 8, ["onClick"])) : (openBlock(), createBlock(unref(HyButton), {
|
|
304
304
|
key: 1,
|
|
305
305
|
onClick: unref(downloadVLC)
|
|
306
306
|
}, {
|
|
@@ -325,7 +325,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
325
325
|
{ key: 2 },
|
|
326
326
|
[
|
|
327
327
|
createElementVNode("div", { class: "vlc-between-control left-0" }, [
|
|
328
|
-
createVNode(unref(
|
|
328
|
+
createVNode(unref(HyTooltip), {
|
|
329
329
|
isAlways: "",
|
|
330
330
|
overLine: 1,
|
|
331
331
|
content: unref(t)("videoPlayer.viewThePreviousVideo")
|
|
@@ -335,7 +335,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
335
335
|
class: "w-[30px] h-[30px] bg-[#3D6286] flex items-center justify-center cursor-pointer",
|
|
336
336
|
onClick: unref(playPrevious)
|
|
337
337
|
}, [
|
|
338
|
-
createVNode(unref(
|
|
338
|
+
createVNode(unref(HyIcon), {
|
|
339
339
|
"svg-name": "player--previous",
|
|
340
340
|
className: "!w-3 !h-3 text-main"
|
|
341
341
|
})
|
|
@@ -346,7 +346,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
346
346
|
}, 8, ["content"])
|
|
347
347
|
]),
|
|
348
348
|
createElementVNode("div", { class: "vlc-between-control right-0" }, [
|
|
349
|
-
createVNode(unref(
|
|
349
|
+
createVNode(unref(HyTooltip), {
|
|
350
350
|
isAlways: "",
|
|
351
351
|
overLine: 1,
|
|
352
352
|
content: unref(t)("videoPlayer.viewTheNextVideo")
|
|
@@ -356,7 +356,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
356
356
|
class: "w-[30px] h-[30px] bg-[#3D6286] flex items-center justify-center cursor-pointer",
|
|
357
357
|
onClick: unref(playNext)
|
|
358
358
|
}, [
|
|
359
|
-
createVNode(unref(
|
|
359
|
+
createVNode(unref(HyIcon), {
|
|
360
360
|
"svg-name": "player--next",
|
|
361
361
|
className: "!w-3 !h-3 text-main"
|
|
362
362
|
})
|
|
@@ -438,7 +438,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
438
438
|
},
|
|
439
439
|
[
|
|
440
440
|
createElementVNode("div", { onClick: unref(playPrevious) }, [
|
|
441
|
-
createVNode(unref(
|
|
441
|
+
createVNode(unref(HyIcon), {
|
|
442
442
|
"svg-name": unref(isAnalyseType) ? "player--interpretation-last" : "player-audio_previous-btn",
|
|
443
443
|
"class-name": "last-icon"
|
|
444
444
|
}, null, 8, ["svg-name"])
|
|
@@ -447,16 +447,16 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
447
447
|
key: 0,
|
|
448
448
|
onClick: ($event) => unref(playVideo)(unref(videoUrl))
|
|
449
449
|
}, [
|
|
450
|
-
createVNode(unref(
|
|
450
|
+
createVNode(unref(HyIcon), { "svg-name": "player-audio_play-btn" })
|
|
451
451
|
], 8, ["onClick"])) : createCommentVNode("v-if", true),
|
|
452
452
|
unref(videoState) === "PLAYING" ? (openBlock(), createElementBlock("div", {
|
|
453
453
|
key: 1,
|
|
454
454
|
onClick: unref(pauseVideo)
|
|
455
455
|
}, [
|
|
456
|
-
createVNode(unref(
|
|
456
|
+
createVNode(unref(HyIcon), { "svg-name": "player-audio_pause-btn" })
|
|
457
457
|
], 8, ["onClick"])) : createCommentVNode("v-if", true),
|
|
458
458
|
createElementVNode("div", { onClick: unref(playNext) }, [
|
|
459
|
-
createVNode(unref(
|
|
459
|
+
createVNode(unref(HyIcon), {
|
|
460
460
|
"svg-name": unref(isAnalyseType) ? "player--interpretation-next" : "player-audio_next-btn",
|
|
461
461
|
"class-name": "next-icon"
|
|
462
462
|
}, null, 8, ["svg-name"])
|
|
@@ -513,13 +513,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
513
513
|
}, {
|
|
514
514
|
reference: withCtx(() => [
|
|
515
515
|
createElementVNode("div", { class: "flex items-center justify-center" }, [
|
|
516
|
-
createVNode(unref(
|
|
516
|
+
createVNode(unref(HyTooltip), {
|
|
517
517
|
isAlways: "",
|
|
518
518
|
overLine: 1,
|
|
519
519
|
content: unref(t)("videoPlayer.adjustPlaybackVolume")
|
|
520
520
|
}, {
|
|
521
521
|
default: withCtx(() => [
|
|
522
|
-
createVNode(unref(
|
|
522
|
+
createVNode(unref(HyIcon), {
|
|
523
523
|
"svg-name": "player-audio_volumn",
|
|
524
524
|
"class-name": "volume-icon"
|
|
525
525
|
})
|
|
@@ -544,14 +544,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
544
544
|
/* STABLE */
|
|
545
545
|
}),
|
|
546
546
|
createCommentVNode(" \u653E\u5927 "),
|
|
547
|
-
__props.showFullScreen ? (openBlock(), createBlock(unref(
|
|
547
|
+
__props.showFullScreen ? (openBlock(), createBlock(unref(HyTooltip), {
|
|
548
548
|
key: 0,
|
|
549
549
|
isAlways: "",
|
|
550
550
|
overLine: 1,
|
|
551
551
|
content: unref(t)("videoPlayer.fullScreenSwitch")
|
|
552
552
|
}, {
|
|
553
553
|
default: withCtx(() => [
|
|
554
|
-
createVNode(unref(
|
|
554
|
+
createVNode(unref(HyIcon), {
|
|
555
555
|
"svg-name": unref(isFullScreen) ? "player-audio_reduce" : "player-audio_enlarge",
|
|
556
556
|
onClick: unref(onFullScreenHandler)
|
|
557
557
|
}, null, 8, ["svg-name", "onClick"])
|
|
@@ -560,14 +560,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
560
560
|
/* STABLE */
|
|
561
561
|
}, 8, ["content"])) : createCommentVNode("v-if", true),
|
|
562
562
|
createCommentVNode(" \u6536\u8D77/\u5C55\u5F00 "),
|
|
563
|
-
!unref(isFullScreen) && __props.showShrink ? (openBlock(), createBlock(unref(
|
|
563
|
+
!unref(isFullScreen) && __props.showShrink ? (openBlock(), createBlock(unref(HyTooltip), {
|
|
564
564
|
key: 1,
|
|
565
565
|
isAlways: "",
|
|
566
566
|
overLine: 1,
|
|
567
567
|
content: unref(isExpand) ? unref(t)("videoPlayer.packUp") : unref(t)("videoPlayer.expand")
|
|
568
568
|
}, {
|
|
569
569
|
default: withCtx(() => [
|
|
570
|
-
createVNode(unref(
|
|
570
|
+
createVNode(unref(HyIcon), {
|
|
571
571
|
"svg-name": unref(isExpand) ? "player--interpretation-foldup" : "player--interpretation-expand",
|
|
572
572
|
onClick: unref(onSwitchShrink)
|
|
573
573
|
}, null, 8, ["svg-name", "onClick"])
|
|
@@ -592,14 +592,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
592
592
|
},
|
|
593
593
|
[
|
|
594
594
|
createCommentVNode(" \u4E0B\u8F7D "),
|
|
595
|
-
__props.showDownloadFiles && showActionBtn.value ? (openBlock(), createBlock(unref(
|
|
595
|
+
__props.showDownloadFiles && showActionBtn.value ? (openBlock(), createBlock(unref(HyTooltip), {
|
|
596
596
|
key: 0,
|
|
597
597
|
isAlways: "",
|
|
598
598
|
overLine: 1,
|
|
599
599
|
content: unref(t)("videoPlayer.downloadFile")
|
|
600
600
|
}, {
|
|
601
601
|
default: withCtx(() => [
|
|
602
|
-
createVNode(unref(
|
|
602
|
+
createVNode(unref(HyIcon), {
|
|
603
603
|
"svg-name": "player-audio_down-btn",
|
|
604
604
|
onClick: unref(onDownloadHandler)
|
|
605
605
|
}, null, 8, ["onClick"])
|
|
@@ -616,14 +616,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
616
616
|
Fragment,
|
|
617
617
|
{ key: index },
|
|
618
618
|
[
|
|
619
|
-
unref(playRules) === item.value ? (openBlock(), createBlock(unref(
|
|
619
|
+
unref(playRules) === item.value ? (openBlock(), createBlock(unref(HyTooltip), {
|
|
620
620
|
key: 0,
|
|
621
621
|
isAlways: "",
|
|
622
622
|
overLine: 1,
|
|
623
623
|
content: item.label
|
|
624
624
|
}, {
|
|
625
625
|
default: withCtx(() => [
|
|
626
|
-
createVNode(unref(
|
|
626
|
+
createVNode(unref(HyIcon), {
|
|
627
627
|
"svg-name": item.svgName,
|
|
628
628
|
onClick: ($event) => unref(playRulesHandler)(item.value)
|
|
629
629
|
}, null, 8, ["svg-name", "onClick"])
|
package/es/components/index.mjs
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
1
|
+
export { HyOrgCascader } from './hyOrgCascader/index.mjs';
|
|
2
|
+
export { HyConfirmDialog } from './hyConfirmDialog/index.mjs';
|
|
3
|
+
export { ElDatePicker, HyDatePicker } from './hyDatePicker/index.mjs';
|
|
4
|
+
export { HyForm } from './hyForm/index.mjs';
|
|
5
|
+
export { HyIcon } from './hyIcon/index.mjs';
|
|
6
|
+
export { HyIconBox } from './hyIconBox/index.mjs';
|
|
7
|
+
export { HySearch } from './hySearch/index.mjs';
|
|
8
|
+
export { HyTable } from './hyTable/index.mjs';
|
|
9
|
+
export { ElTooltip, HyTooltip } from './hyTooltip/index.mjs';
|
|
10
|
+
export { HyConfigProvider } from './hyConfigProvider/index.mjs';
|
|
11
|
+
export { HyButton } from './hyButton/index.mjs';
|
|
12
|
+
export { HyUserAvatar } from './hyUserAvatar/index.mjs';
|
|
13
|
+
export { HyNoPermissions } from './hyNoPermissions/index.mjs';
|
|
14
|
+
export { HyNoPermissionsMap } from './hyNoPermissionsMap/index.mjs';
|
|
15
|
+
export { HyCutter } from './hyCutter/index.mjs';
|
|
16
|
+
export { HyDialog } from './hyDialog/index.mjs';
|
|
17
|
+
export { HyMenu } from './hyMenu/index.mjs';
|
|
18
|
+
export { HyTree } from './hyTree/index.mjs';
|
|
19
|
+
export { HyVideoPlayer } from './hyVideoPlayer/index.mjs';
|
|
20
|
+
export { HyAudioPlayer } from './hyAudioPlayer/index.mjs';
|
|
21
|
+
export { ElInput, HyInput } from './hyInput/index.mjs';
|
|
22
|
+
export { ElTimePicker, HyTimePicker } from './hyTimePicker/index.mjs';
|
|
23
|
+
export { HyTableForm } from './hyTableForm/index.mjs';
|
|
24
|
+
export { useAppForm } from './hyForm/js/useAppForm.mjs';
|
|
25
|
+
export { useAppSearch } from './hySearch/js/useAppSearch.mjs';
|
|
26
|
+
export { useAppTable } from './hyTable/js/useAppTable.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, getCurrentInstance, computed, unref,
|
|
1
|
+
import { ref, getCurrentInstance, inject, computed, unref, provide } from 'vue';
|
|
2
2
|
import * as index from '../locale/index.mjs';
|
|
3
3
|
import { localeContextKey } from './useLocale.mjs';
|
|
4
4
|
import { localApiKey } from './useApi.mjs';
|
package/es/index.mjs
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import installer from './make-installer.mjs';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
2
|
+
export { ElDatePicker, HyDatePicker } from './components/hyDatePicker/index.mjs';
|
|
3
|
+
export { ElInput, HyInput } from './components/hyInput/index.mjs';
|
|
4
|
+
export { ElTimePicker, HyTimePicker } from './components/hyTimePicker/index.mjs';
|
|
5
|
+
export { ElTooltip, HyTooltip } from './components/hyTooltip/index.mjs';
|
|
6
|
+
export { HyAudioPlayer } from './components/hyAudioPlayer/index.mjs';
|
|
7
|
+
export { HyButton } from './components/hyButton/index.mjs';
|
|
8
|
+
export { HyConfigProvider } from './components/hyConfigProvider/index.mjs';
|
|
9
|
+
export { HyConfirmDialog } from './components/hyConfirmDialog/index.mjs';
|
|
10
|
+
export { HyCutter } from './components/hyCutter/index.mjs';
|
|
11
|
+
export { HyDialog } from './components/hyDialog/index.mjs';
|
|
12
|
+
export { HyForm } from './components/hyForm/index.mjs';
|
|
13
|
+
export { HyIcon } from './components/hyIcon/index.mjs';
|
|
14
|
+
export { HyIconBox } from './components/hyIconBox/index.mjs';
|
|
15
|
+
export { HyMenu } from './components/hyMenu/index.mjs';
|
|
16
|
+
export { HyNoPermissions } from './components/hyNoPermissions/index.mjs';
|
|
17
|
+
export { HyNoPermissionsMap } from './components/hyNoPermissionsMap/index.mjs';
|
|
18
|
+
export { HyOrgCascader } from './components/hyOrgCascader/index.mjs';
|
|
19
|
+
export { HySearch } from './components/hySearch/index.mjs';
|
|
20
|
+
export { HyTable } from './components/hyTable/index.mjs';
|
|
21
|
+
export { HyTableForm } from './components/hyTableForm/index.mjs';
|
|
22
|
+
export { HyTree } from './components/hyTree/index.mjs';
|
|
23
|
+
export { HyUserAvatar } from './components/hyUserAvatar/index.mjs';
|
|
24
|
+
export { HyVideoPlayer } from './components/hyVideoPlayer/index.mjs';
|
|
24
25
|
export { base64Decrypt, encryptToBase64, generateRandomCode } from './utils/crypto.mjs';
|
|
25
26
|
export { blobToDataURL, fileFormUpload, fileJsonUplaod, fileUpload, presignedUrl, sizeToTextHandler } from './utils/file.mjs';
|
|
26
27
|
export { buildLocaleContext, buildTranslator, getLanguage, localeContextKey, translate, useLocale } from './hooks/useLocale.mjs';
|
|
@@ -39,9 +40,9 @@ export { localTooltipConfigKey, useTooltipConfig } from './hooks/useTooltipConfi
|
|
|
39
40
|
export { localUserAvatarMapKey, useUserAvatarMap } from './hooks/useUserAvatarMap.mjs';
|
|
40
41
|
export { localVideoPlayerConfigKey, useVideoPlayerConfig } from './hooks/useVideoPlayerConfig.mjs';
|
|
41
42
|
export { parseRem, pxTorem, remToPx, vwToPx } from './utils/adaptive.mjs';
|
|
42
|
-
export { useAppForm } from './components/
|
|
43
|
-
export { useAppSearch } from './components/
|
|
44
|
-
export { useAppTable } from './components/
|
|
43
|
+
export { useAppForm } from './components/hyForm/js/useAppForm.mjs';
|
|
44
|
+
export { useAppSearch } from './components/hySearch/js/useAppSearch.mjs';
|
|
45
|
+
export { useAppTable } from './components/hyTable/js/useAppTable.mjs';
|
|
45
46
|
export { useMixins } from './hooks/useMixins.mjs';
|
|
46
47
|
export { useResizeHandler } from './hooks/useResizeHandler.mjs';
|
|
47
48
|
|
package/es/make-installer.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { INSTALLED_KEY } from './constants/index.mjs';
|
|
2
2
|
import * as index from './components/index.mjs';
|
|
3
3
|
import { version } from './version.mjs';
|
|
4
|
-
import { AppInput } from './components/appInput/index.mjs';
|
|
5
4
|
import { provideGlobalConfig } from './hooks/useGlobalConfig.mjs';
|
|
6
5
|
|
|
7
6
|
const makeInstaller = () => {
|
|
@@ -12,7 +11,6 @@ const makeInstaller = () => {
|
|
|
12
11
|
if (!component.install) return;
|
|
13
12
|
app.use(component);
|
|
14
13
|
});
|
|
15
|
-
app.component("ElInput", AppInput);
|
|
16
14
|
if (options) provideGlobalConfig(options, app, true);
|
|
17
15
|
};
|
|
18
16
|
return {
|
package/es/version.mjs
CHANGED
package/lib/components/{appAudioPlayer/appAudioPlayer.vue.js → hyAudioPlayer/audioPlayer.vue.js}
RENAMED
|
@@ -4,19 +4,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
|
-
var mediaLoading = require('../
|
|
7
|
+
var mediaLoading = require('../hyVideoPlayer/cpns/mediaLoading.vue.js');
|
|
8
8
|
var index = require('./js/index.js');
|
|
9
9
|
var useLocale = require('../../hooks/useLocale.js');
|
|
10
10
|
var useMixins = require('../../hooks/useMixins.js');
|
|
11
|
-
var index$1 = require('../
|
|
12
|
-
var index$2 = require('../
|
|
11
|
+
var index$1 = require('../hyIcon/index.js');
|
|
12
|
+
var index$2 = require('../hyTooltip/index.js');
|
|
13
13
|
var useAudioPlayerConfig = require('../../hooks/useAudioPlayerConfig.js');
|
|
14
14
|
var is = require('../../utils/is.js');
|
|
15
15
|
|
|
16
|
-
import "./style/
|
|
16
|
+
import "./style/audioPlayer.scss";
|
|
17
17
|
|
|
18
18
|
const __default__ = vue.defineComponent({
|
|
19
|
-
name: "
|
|
19
|
+
name: "HyAudioPlayer"
|
|
20
20
|
});
|
|
21
21
|
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
22
22
|
props: {
|
|
@@ -192,7 +192,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
192
192
|
}, [
|
|
193
193
|
vue.createElementVNode("div", { class: "point point_dot" }, [
|
|
194
194
|
vue.createElementVNode("div", { class: "flex items-center justify-center" }, [
|
|
195
|
-
vue.createVNode(vue.unref(index$1.
|
|
195
|
+
vue.createVNode(vue.unref(index$1.HyIcon), { "svg-name": "menu-menu_micphone_v2-select" })
|
|
196
196
|
])
|
|
197
197
|
]),
|
|
198
198
|
vue.withDirectives(vue.createElementVNode(
|
|
@@ -245,7 +245,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
245
245
|
},
|
|
246
246
|
[
|
|
247
247
|
vue.createElementVNode("div", { onClick: vue.unref(playPrevious) }, [
|
|
248
|
-
vue.createVNode(vue.unref(index$1.
|
|
248
|
+
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
249
249
|
"svg-name": vue.unref(isAnalyseType) ? "player--interpretation-last" : "player-audio_previous-btn",
|
|
250
250
|
"class-name": "last-icon"
|
|
251
251
|
}, null, 8, ["svg-name"])
|
|
@@ -254,16 +254,16 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
254
254
|
key: 0,
|
|
255
255
|
onClick: ($event) => vue.unref(playAudio)(vue.unref(audioUrl))
|
|
256
256
|
}, [
|
|
257
|
-
vue.createVNode(vue.unref(index$1.
|
|
257
|
+
vue.createVNode(vue.unref(index$1.HyIcon), { "svg-name": "player-audio_play-btn" })
|
|
258
258
|
], 8, ["onClick"])) : vue.createCommentVNode("v-if", true),
|
|
259
259
|
vue.unref(audioState) === "PLAYING" ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
260
260
|
key: 1,
|
|
261
261
|
onClick: vue.unref(pauseAudio)
|
|
262
262
|
}, [
|
|
263
|
-
vue.createVNode(vue.unref(index$1.
|
|
263
|
+
vue.createVNode(vue.unref(index$1.HyIcon), { "svg-name": "player-audio_pause-btn" })
|
|
264
264
|
], 8, ["onClick"])) : vue.createCommentVNode("v-if", true),
|
|
265
265
|
vue.createElementVNode("div", { onClick: vue.unref(playNext) }, [
|
|
266
|
-
vue.createVNode(vue.unref(index$1.
|
|
266
|
+
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
267
267
|
"svg-name": vue.unref(isAnalyseType) ? "player--interpretation-next" : "player-audio_next-btn",
|
|
268
268
|
"class-name": "next-icon"
|
|
269
269
|
}, null, 8, ["svg-name"])
|
|
@@ -371,14 +371,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
371
371
|
/* STABLE */
|
|
372
372
|
}),
|
|
373
373
|
vue.createCommentVNode(" \u4E0B\u8F7D "),
|
|
374
|
-
__props.showDownloadFiles && showActionBtn.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.
|
|
374
|
+
__props.showDownloadFiles && showActionBtn.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.HyTooltip), {
|
|
375
375
|
key: 0,
|
|
376
376
|
isAlways: "",
|
|
377
377
|
overLine: 1,
|
|
378
378
|
content: vue.unref(t)("audioPlayer.downloadFile")
|
|
379
379
|
}, {
|
|
380
380
|
default: vue.withCtx(() => [
|
|
381
|
-
vue.createVNode(vue.unref(index$1.
|
|
381
|
+
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
382
382
|
"svg-name": "player-audio_down-btn",
|
|
383
383
|
onClick: vue.unref(onDownloadHandler)
|
|
384
384
|
}, null, 8, ["onClick"])
|
|
@@ -395,14 +395,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
395
395
|
vue.Fragment,
|
|
396
396
|
{ key: index },
|
|
397
397
|
[
|
|
398
|
-
vue.unref(playRules) === item.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.
|
|
398
|
+
vue.unref(playRules) === item.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.HyTooltip), {
|
|
399
399
|
key: 0,
|
|
400
400
|
isAlways: "",
|
|
401
401
|
overLine: 1,
|
|
402
402
|
content: item.label
|
|
403
403
|
}, {
|
|
404
404
|
default: vue.withCtx(() => [
|
|
405
|
-
vue.createVNode(vue.unref(index$1.
|
|
405
|
+
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
406
406
|
"svg-name": item.svgName,
|
|
407
407
|
onClick: ($event) => vue.unref(playRulesHandler)(item.value)
|
|
408
408
|
}, null, 8, ["svg-name", "onClick"])
|
|
@@ -427,13 +427,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
427
427
|
}, {
|
|
428
428
|
reference: vue.withCtx(() => [
|
|
429
429
|
vue.createElementVNode("div", { class: "flex items-center justify-center" }, [
|
|
430
|
-
vue.createVNode(vue.unref(index$2.
|
|
430
|
+
vue.createVNode(vue.unref(index$2.HyTooltip), {
|
|
431
431
|
isAlways: "",
|
|
432
432
|
overLine: 1,
|
|
433
433
|
content: vue.unref(t)("audioPlayer.adjustPlaybackVolume")
|
|
434
434
|
}, {
|
|
435
435
|
default: vue.withCtx(() => [
|
|
436
|
-
vue.createVNode(vue.unref(index$1.
|
|
436
|
+
vue.createVNode(vue.unref(index$1.HyIcon), { "svg-name": "player-audio_volumn" })
|
|
437
437
|
]),
|
|
438
438
|
_: 1
|
|
439
439
|
/* STABLE */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var audioPlayer = require('./audioPlayer.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyAudioPlayer = handler.withInstall(audioPlayer.default);
|
|
9
|
+
|
|
10
|
+
exports.HyAudioPlayer = HyAudioPlayer;
|
|
11
|
+
exports.default = HyAudioPlayer;
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
color: rgba(var(--hy-main));
|
|
50
50
|
background-color: rgba(var(--hy-background-2));
|
|
51
51
|
z-index: 1;
|
|
52
|
-
.
|
|
52
|
+
.hy-icon {
|
|
53
53
|
width: 58px;
|
|
54
54
|
height: 58px;
|
|
55
55
|
}
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
justify-content: center;
|
|
194
194
|
cursor: pointer;
|
|
195
195
|
}
|
|
196
|
-
.
|
|
196
|
+
.hy-icon {
|
|
197
197
|
width: 26px;
|
|
198
198
|
height: 26px;
|
|
199
199
|
}
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
top: calc(50% + 8px);
|
|
203
203
|
left: 50%;
|
|
204
204
|
transform: translate(-50%, -50%);
|
|
205
|
-
.
|
|
205
|
+
.hy-icon {
|
|
206
206
|
&.last-icon,
|
|
207
207
|
&.next-icon {
|
|
208
208
|
width: 22px;
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
border-radius: 4px;
|
|
233
233
|
background-color: rgba(var(--hy-background-2));
|
|
234
234
|
}
|
|
235
|
-
.
|
|
235
|
+
.hy-icon {
|
|
236
236
|
width: 26px;
|
|
237
237
|
height: 26px;
|
|
238
238
|
cursor: pointer;
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
.speed-box {
|
|
242
242
|
height: 20px;
|
|
243
243
|
}
|
|
244
|
-
.
|
|
244
|
+
.hy-icon {
|
|
245
245
|
width: 20px;
|
|
246
246
|
height: 20px;
|
|
247
247
|
}
|
|
@@ -5,12 +5,14 @@ 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
|
-
var index = require('../
|
|
8
|
+
var index = require('../hyIcon/index.js');
|
|
9
9
|
|
|
10
|
-
import "./style/
|
|
10
|
+
import "./style/button.scss";
|
|
11
11
|
|
|
12
|
-
const
|
|
13
|
-
|
|
12
|
+
const __default__ = vue.defineComponent({
|
|
13
|
+
name: "HyButton"
|
|
14
|
+
});
|
|
15
|
+
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
14
16
|
props: {
|
|
15
17
|
type: {
|
|
16
18
|
type: String,
|
|
@@ -83,13 +85,13 @@ const _sfc_main = {
|
|
|
83
85
|
}])
|
|
84
86
|
},
|
|
85
87
|
[
|
|
86
|
-
!__props.loading ? vue.renderSlot(_ctx.$slots, "svg", {
|
|
87
|
-
__props.svgName ? (vue.openBlock(), vue.createBlock(vue.unref(index.
|
|
88
|
+
!__props.loading ? vue.renderSlot(_ctx.$slots, "svg", {}, () => [
|
|
89
|
+
__props.svgName ? (vue.openBlock(), vue.createBlock(vue.unref(index.HyIcon), {
|
|
88
90
|
key: 0,
|
|
89
91
|
"svg-name": __props.svgName,
|
|
90
92
|
"class-name": "!w-3 !h-3 text-main mr-2"
|
|
91
93
|
}, null, 8, ["svg-name"])) : vue.createCommentVNode("v-if", true)
|
|
92
|
-
]) : (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElIcon), {
|
|
94
|
+
], void 0, 0) : (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElIcon), {
|
|
93
95
|
key: 1,
|
|
94
96
|
color: "rgb(var(--hy-main))",
|
|
95
97
|
class: "is-loading mr-2"
|
|
@@ -132,6 +134,6 @@ const _sfc_main = {
|
|
|
132
134
|
], 10, ["disabled"]);
|
|
133
135
|
};
|
|
134
136
|
}
|
|
135
|
-
};
|
|
137
|
+
});
|
|
136
138
|
|
|
137
139
|
exports.default = _sfc_main;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var button = require('./button.vue.js');
|
|
6
|
+
var handler = require('../../utils/handler.js');
|
|
7
|
+
|
|
8
|
+
const HyButton = handler.withInstall(button.default);
|
|
9
|
+
|
|
10
|
+
exports.HyButton = HyButton;
|
|
11
|
+
exports.default = HyButton;
|