hy-dispatch-ui-v3 0.2.86 → 0.2.88
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/dist/tailwind.css +196 -4
- package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/es/bussiness/hyAcquisitionStationTree/acquisitionStationTree.vue.mjs +1 -0
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.mjs +1 -0
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.mjs +1 -0
- package/es/bussiness/hyDeviceTree/deviceTree.vue.mjs +1 -0
- package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.mjs +1 -0
- package/es/bussiness/hyDisplayQueryAddress/locale/en_US.mjs +3 -3
- package/es/bussiness/hyDisplayQueryAddress/locale/zh_CN.mjs +3 -3
- package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.mjs +1 -0
- package/es/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.mjs +7 -1
- package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.mjs +1 -0
- package/es/bussiness/hyElectronicFence/electronicFence.vue.mjs +7 -1
- package/es/bussiness/hyFilePlayback/locale/en_US.mjs +17 -17
- package/es/bussiness/hyFilePlayback/locale/zh_CN.mjs +17 -17
- package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +1 -0
- package/es/bussiness/hyOrgGroupTree/orgGroupTree.vue.mjs +1 -0
- package/es/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.vue.mjs +1 -0
- package/es/bussiness/hyRuleSetting/ruleSetting.vue.mjs +1 -0
- package/es/bussiness/hySelectDeviceTree/cpns/deviceItem.vue.mjs +3 -3
- package/es/bussiness/hySelectDeviceTree/selectDeviceTree.vue.mjs +2 -8
- package/es/bussiness/hyUserTree/userTree.vue.mjs +1 -0
- package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +9 -1
- package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +1 -0
- package/es/components/hyButton/button.vue.mjs +1 -0
- package/es/components/hyCheckboxGroup/checkboxGroup.vue.mjs +1 -0
- package/es/components/hyConfigProvider/configProvider.vue.mjs +36 -35
- package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +1 -0
- package/es/components/hyCutter/cutter.vue.mjs +10 -1
- package/es/components/hyDatePicker/datePicker.vue.mjs +1 -0
- package/es/components/hyDialog/dialog.vue.mjs +1 -0
- package/es/components/hyDrawer/drawer.vue.mjs +1 -0
- package/es/components/hyForm/cpns/formItem.vue.mjs +15 -11
- package/es/components/hyForm/form.vue.mjs +2 -3
- package/es/components/hyIcon/icon.vue.mjs +1 -0
- package/es/components/hyIconBox/iconBox.vue.mjs +1 -0
- package/es/components/hyInput/input.vue.mjs +1 -0
- package/es/components/hyInput/inputSearch.vue.mjs +1 -0
- package/es/components/hyKindEditor/kindEditor.vue.mjs +17 -4
- package/es/components/hyMenu/menu.vue.mjs +1 -0
- package/es/components/hyNoPermissions/noPermissions.vue.mjs +1 -0
- package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +1 -0
- package/es/components/hyOrgCascader/js/index.mjs +0 -1
- package/es/components/hyOrgCascader/orgCascader.vue.mjs +1 -0
- package/es/components/hyRadioGroup/radioGroup.vue.mjs +4 -1
- package/es/components/hySearch/cpns/searchItem.vue.mjs +3 -1
- package/es/components/hySearch/search.vue.mjs +5 -1
- package/es/components/hyStatus/status.vue.mjs +1 -0
- package/es/components/hyTable/cpns/columnSelect.vue.mjs +5 -1
- package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +1 -1
- package/es/components/hyTable/cpns/virtualTable.vue.mjs +11 -2
- package/es/components/hyTable/js/index.mjs +7 -2
- package/es/components/hyTable/table.vue.mjs +5 -1
- package/es/components/hyTableActionButton/tableActionButton.vue.mjs +1 -0
- package/es/components/hyTableForm/batchTableForm.vue.mjs +6 -3
- package/es/components/hyTableForm/tableForm.vue.mjs +1 -0
- package/es/components/hyTimePicker/timePicker.vue.mjs +1 -0
- package/es/components/hyTooltip/tooltip.vue.mjs +1 -0
- package/es/components/hyTour/tour.vue.mjs +1 -0
- package/es/components/hyTree/js/index.mjs +8 -2
- package/es/components/hyTree/tree.vue.mjs +1 -0
- package/es/components/hyUserAvatar/userAvatar.vue.mjs +1 -0
- package/es/components/hyVideoPlayer/{js → hyVideoPlayer/js}/index.mjs +9 -9
- package/es/components/hyVideoPlayer/hyVideoPlayer/videoPlayer.vue.mjs +656 -0
- package/es/components/hyVideoPlayer/index.mjs +2 -2
- package/es/components/hyVideoPlayer/locale/en_US.mjs +31 -0
- package/es/components/hyVideoPlayer/locale/index.mjs +2 -0
- package/es/components/hyVideoPlayer/locale/zh_CN.mjs +31 -0
- package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +5 -645
- package/es/components/hyVideoPlayer/videoPlayer1.vue.mjs +8 -0
- package/es/components/hyVideoPlayer/videoPlayer12.vue.mjs +947 -0
- package/es/components/hyVideoPlayer/videoPlayer2.vue.mjs +951 -0
- package/es/hooks/useLocale.mjs +7 -2
- package/es/static/hy-svg-icons/hy-icon-ops-Empty-audio.js +22 -0
- package/es/static/hy-svg-icons/hy-icon-ops-Empty-document.js +23 -0
- package/es/static/hy-svg-icons/hy-icon-ops-Empty-fall.js +29 -0
- package/es/static/hy-svg-icons/hy-icon-ops-Empty-up.js +29 -0
- package/es/static/hy-svg-icons/hy-icon-ops-Empty-wait.js +29 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-cycle.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-edit.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-fullscreen.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-next.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-previous.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-reduce.js +10 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-semanticretrieval.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-sequentialplay.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-stopplayback.js +8 -0
- package/es/static/map/bm.geometryutil.js +3 -3
- package/es/static/map/bmDraw.js +6 -6
- package/es/static/map/markercluster.js +22 -22
- package/es/static/map/moveMarker.js +1 -1
- package/es/static/vite-plugin-hy-svg-icons.js +2 -2
- package/es/utils/file.mjs +7 -3
- package/es/utils/form.mjs +3 -1
- package/es/utils/map/hook/bigMap.mjs +18 -5
- package/es/utils/map/hook/gaode.mjs +4 -1
- package/es/utils/map/hook/leafletjs.mjs +29 -8
- package/es/utils/map/index.mjs +0 -1
- package/es/utils/useUiComponent.mjs +3 -1
- package/es/version.mjs +1 -1
- package/lib/_virtual/_plugin-vue_export-helper.js +13 -0
- package/lib/bussiness/hyAcquisitionStationTree/acquisitionStationTree.vue.js +1 -0
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.js +1 -0
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.js +1 -0
- package/lib/bussiness/hyDeviceTree/deviceTree.vue.js +1 -0
- package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.js +1 -0
- package/lib/bussiness/hyDisplayQueryAddress/locale/en_US.js +3 -3
- package/lib/bussiness/hyDisplayQueryAddress/locale/zh_CN.js +3 -3
- package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +1 -0
- package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.js +7 -1
- package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.js +1 -0
- package/lib/bussiness/hyElectronicFence/electronicFence.vue.js +7 -1
- package/lib/bussiness/hyFilePlayback/locale/en_US.js +17 -17
- package/lib/bussiness/hyFilePlayback/locale/zh_CN.js +17 -17
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +1 -0
- package/lib/bussiness/hyOrgGroupTree/orgGroupTree.vue.js +1 -0
- package/lib/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.vue.js +1 -0
- package/lib/bussiness/hyRuleSetting/ruleSetting.vue.js +1 -0
- package/lib/bussiness/hySelectDeviceTree/cpns/deviceItem.vue.js +3 -3
- package/lib/bussiness/hySelectDeviceTree/selectDeviceTree.vue.js +2 -8
- package/lib/bussiness/hyUserTree/userTree.vue.js +1 -0
- package/lib/components/hyAudioPlayer/audioPlayer.vue.js +9 -1
- package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +1 -0
- package/lib/components/hyButton/button.vue.js +1 -0
- package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +1 -0
- package/lib/components/hyConfigProvider/configProvider.vue.js +36 -35
- package/lib/components/hyConfirmDialog/confirmDialog.vue.js +1 -0
- package/lib/components/hyCutter/cutter.vue.js +10 -1
- package/lib/components/hyDatePicker/datePicker.vue.js +1 -0
- package/lib/components/hyDialog/dialog.vue.js +1 -0
- package/lib/components/hyDrawer/drawer.vue.js +1 -0
- package/lib/components/hyForm/cpns/formItem.vue.js +15 -11
- package/lib/components/hyForm/form.vue.js +2 -3
- package/lib/components/hyIcon/icon.vue.js +1 -0
- package/lib/components/hyIconBox/iconBox.vue.js +1 -0
- package/lib/components/hyInput/input.vue.js +1 -0
- package/lib/components/hyInput/inputSearch.vue.js +1 -0
- package/lib/components/hyKindEditor/kindEditor.vue.js +17 -4
- package/lib/components/hyMenu/menu.vue.js +1 -0
- package/lib/components/hyNoPermissions/noPermissions.vue.js +1 -0
- package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +1 -0
- package/lib/components/hyOrgCascader/js/index.js +0 -1
- package/lib/components/hyOrgCascader/orgCascader.vue.js +1 -0
- package/lib/components/hyRadioGroup/radioGroup.vue.js +4 -1
- package/lib/components/hySearch/cpns/searchItem.vue.js +3 -1
- package/lib/components/hySearch/search.vue.js +5 -1
- package/lib/components/hyStatus/status.vue.js +1 -0
- package/lib/components/hyTable/cpns/columnSelect.vue.js +5 -1
- package/lib/components/hyTable/cpns/columnSelectItem.vue.js +1 -1
- package/lib/components/hyTable/cpns/virtualTable.vue.js +11 -2
- package/lib/components/hyTable/js/index.js +7 -2
- package/lib/components/hyTable/table.vue.js +5 -1
- package/lib/components/hyTableActionButton/tableActionButton.vue.js +1 -0
- package/lib/components/hyTableForm/batchTableForm.vue.js +6 -3
- package/lib/components/hyTableForm/tableForm.vue.js +1 -0
- package/lib/components/hyTimePicker/timePicker.vue.js +1 -0
- package/lib/components/hyTooltip/tooltip.vue.js +1 -0
- package/lib/components/hyTour/tour.vue.js +1 -0
- package/lib/components/hyTree/js/index.js +8 -2
- package/lib/components/hyTree/tree.vue.js +1 -0
- package/lib/components/hyUserAvatar/userAvatar.vue.js +1 -0
- package/lib/components/hyVideoPlayer/{js → hyVideoPlayer/js}/index.js +9 -9
- package/lib/components/hyVideoPlayer/hyVideoPlayer/videoPlayer.vue.js +660 -0
- package/lib/components/hyVideoPlayer/locale/en_US.js +35 -0
- package/lib/components/hyVideoPlayer/locale/index.js +9 -0
- package/lib/components/hyVideoPlayer/locale/zh_CN.js +35 -0
- package/lib/components/hyVideoPlayer/videoPlayer.vue.js +5 -645
- package/lib/components/hyVideoPlayer/videoPlayer1.vue.js +12 -0
- package/lib/components/hyVideoPlayer/videoPlayer12.vue.js +951 -0
- package/lib/components/hyVideoPlayer/videoPlayer2.vue.js +955 -0
- package/lib/hooks/useLocale.js +7 -2
- package/lib/static/hy-svg-icons/hy-icon-ops-Empty-audio.js +22 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-Empty-document.js +23 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-Empty-fall.js +29 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-Empty-up.js +29 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-Empty-wait.js +29 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-cycle.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-edit.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-fullscreen.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-next.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-previous.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-reduce.js +10 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-semanticretrieval.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-sequentialplay.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-stopplayback.js +8 -0
- package/lib/static/map/bm.geometryutil.js +3 -3
- package/lib/static/map/bmDraw.js +6 -6
- package/lib/static/map/markercluster.js +22 -22
- package/lib/static/map/moveMarker.js +1 -1
- package/lib/static/vite-plugin-hy-svg-icons.js +2 -2
- package/lib/utils/file.js +7 -3
- package/lib/utils/form.js +3 -1
- package/lib/utils/map/hook/bigMap.js +18 -5
- package/lib/utils/map/hook/gaode.js +4 -1
- package/lib/utils/map/hook/leafletjs.js +29 -8
- package/lib/utils/map/index.js +0 -1
- package/lib/utils/useUiComponent.js +3 -1
- package/lib/version.js +1 -1
- package/package.json +8 -8
- /package/es/components/hyVideoPlayer/{style → hyVideoPlayer/style}/videoPlayer.scss +0 -0
- /package/lib/components/hyVideoPlayer/{style → hyVideoPlayer/style}/videoPlayer.scss +0 -0
|
@@ -2,651 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
require('../../hooks/index.js');
|
|
8
|
-
require('../../utils/index.js');
|
|
9
|
-
require('../index.js');
|
|
10
|
-
var mediaLoading = require('./cpns/mediaLoading.vue.js');
|
|
11
|
-
var index = require('./js/index.js');
|
|
12
|
-
var useMixins = require('../../hooks/useMixins.js');
|
|
13
|
-
var useLocale = require('../../hooks/useLocale.js');
|
|
14
|
-
var index$1 = require('../hyIcon/index.js');
|
|
15
|
-
var index$2 = require('../hyButton/index.js');
|
|
16
|
-
var index$3 = require('../hyTooltip/index.js');
|
|
17
|
-
var useVideoPlayerConfig = require('../../hooks/useVideoPlayerConfig.js');
|
|
18
|
-
var is = require('../../utils/is.js');
|
|
5
|
+
var videoPlayer_vue_vue_type_script_setup_true_lang = require('./videoPlayer2.vue.js');
|
|
6
|
+
var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
|
|
19
7
|
|
|
20
|
-
import "
|
|
8
|
+
import "/data/jenkins-work/workspace/WEB-V3-PROJECT-Web-hy-dispatch-ui@2/tmp/packages/components/hyVideoPlayer/videoPlayer.vue?vue&type=style&index=0&scoped=15fbeded&lang.scss";
|
|
21
9
|
|
|
22
|
-
|
|
23
|
-
name: "HyVideoPlayer"
|
|
24
|
-
});
|
|
25
|
-
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
26
|
-
props: {
|
|
27
|
-
type: {
|
|
28
|
-
type: String,
|
|
29
|
-
default: () => {
|
|
30
|
-
const { videoPlayerConfig } = useVideoPlayerConfig.useVideoPlayerConfig();
|
|
31
|
-
const { type } = videoPlayerConfig.value;
|
|
32
|
-
if (["default", "analyse"].includes(type)) return type;
|
|
33
|
-
return "default";
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
// 播放列表
|
|
37
|
-
playList: {
|
|
38
|
-
type: Array,
|
|
39
|
-
default: () => []
|
|
40
|
-
},
|
|
41
|
-
// 播放速度
|
|
42
|
-
speed: {
|
|
43
|
-
type: Number,
|
|
44
|
-
default: () => {
|
|
45
|
-
const { videoPlayerConfig } = useVideoPlayerConfig.useVideoPlayerConfig();
|
|
46
|
-
if (is.isNumber(videoPlayerConfig.value.speed)) {
|
|
47
|
-
return videoPlayerConfig.value.speed;
|
|
48
|
-
}
|
|
49
|
-
return 1;
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
// 播放规则
|
|
53
|
-
playRules: {
|
|
54
|
-
type: Number,
|
|
55
|
-
default: () => {
|
|
56
|
-
const { videoPlayerConfig } = useVideoPlayerConfig.useVideoPlayerConfig();
|
|
57
|
-
if ([1, 2, 3].includes) {
|
|
58
|
-
return videoPlayerConfig.value.playRules;
|
|
59
|
-
}
|
|
60
|
-
return 3;
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
// 是否显示播放规则
|
|
64
|
-
showPlayRules: {
|
|
65
|
-
type: Boolean,
|
|
66
|
-
default: () => {
|
|
67
|
-
const { videoPlayerConfig } = useVideoPlayerConfig.useVideoPlayerConfig();
|
|
68
|
-
const { showPlayRules } = videoPlayerConfig.value;
|
|
69
|
-
return is.isBoolean(showPlayRules) ? showPlayRules : true;
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
// 是否显示下载文件
|
|
73
|
-
showDownloadFiles: {
|
|
74
|
-
type: Boolean,
|
|
75
|
-
default: () => {
|
|
76
|
-
const { videoPlayerConfig } = useVideoPlayerConfig.useVideoPlayerConfig();
|
|
77
|
-
const { showDownloadFiles } = videoPlayerConfig.value;
|
|
78
|
-
return is.isBoolean(showDownloadFiles) ? showDownloadFiles : true;
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
// 是否显示展开控件
|
|
82
|
-
showShrink: {
|
|
83
|
-
type: Boolean,
|
|
84
|
-
default: () => {
|
|
85
|
-
const { videoPlayerConfig } = useVideoPlayerConfig.useVideoPlayerConfig();
|
|
86
|
-
const { showShrink } = videoPlayerConfig.value;
|
|
87
|
-
return is.isBoolean(showShrink) ? showShrink : false;
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
// 是否显示全屏控件
|
|
91
|
-
showFullScreen: {
|
|
92
|
-
type: Boolean,
|
|
93
|
-
default: () => {
|
|
94
|
-
const { videoPlayerConfig } = useVideoPlayerConfig.useVideoPlayerConfig();
|
|
95
|
-
const { showFullScreen } = videoPlayerConfig.value;
|
|
96
|
-
return is.isBoolean(showFullScreen) ? showFullScreen : true;
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
// VLC协议
|
|
100
|
-
vlcProtocol: {
|
|
101
|
-
type: String,
|
|
102
|
-
default: () => {
|
|
103
|
-
const { videoPlayerConfig } = useVideoPlayerConfig.useVideoPlayerConfig();
|
|
104
|
-
return videoPlayerConfig.value.vlcProtocol || "hyvlc";
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
// VLC下载地址
|
|
108
|
-
vlcAddress: {
|
|
109
|
-
type: String,
|
|
110
|
-
default: () => {
|
|
111
|
-
const { videoPlayerConfig } = useVideoPlayerConfig.useVideoPlayerConfig();
|
|
112
|
-
return videoPlayerConfig.value.vlcAddress;
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
// 下载处理
|
|
116
|
-
downloadFn: {
|
|
117
|
-
type: Function
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
emits: ["canplay", "timeupdate", "play-start", "play-ended", "play-previous", "play-next"],
|
|
121
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
122
|
-
const props = __props;
|
|
123
|
-
const emits = __emit;
|
|
124
|
-
const videoWrapperRef = vue.useTemplateRef("videoWrapperRef");
|
|
125
|
-
const videoRef = vue.useTemplateRef("videoRef");
|
|
126
|
-
const {
|
|
127
|
-
// useVideoPlayer
|
|
128
|
-
speed,
|
|
129
|
-
playRules,
|
|
130
|
-
loading,
|
|
131
|
-
videoItem,
|
|
132
|
-
videoUrl,
|
|
133
|
-
currentDuration,
|
|
134
|
-
totalDuration,
|
|
135
|
-
progress,
|
|
136
|
-
isDrop,
|
|
137
|
-
isFullScreen,
|
|
138
|
-
volumeValue,
|
|
139
|
-
hasVLC,
|
|
140
|
-
isCanNotPlayType,
|
|
141
|
-
videoState,
|
|
142
|
-
speedLabel,
|
|
143
|
-
isCanPlay,
|
|
144
|
-
isAnalyseType,
|
|
145
|
-
// 配置
|
|
146
|
-
speedList,
|
|
147
|
-
playRulesList,
|
|
148
|
-
// 函数
|
|
149
|
-
playVideo,
|
|
150
|
-
pauseVideo,
|
|
151
|
-
playPrevious,
|
|
152
|
-
playNext,
|
|
153
|
-
playRulesHandler,
|
|
154
|
-
speedHandler,
|
|
155
|
-
changeVolume,
|
|
156
|
-
getNowWh,
|
|
157
|
-
setVideoCurrentTime,
|
|
158
|
-
getPercent,
|
|
159
|
-
initFullScreenEvent,
|
|
160
|
-
destroyFullScreenEvent,
|
|
161
|
-
onFullScreenHandler,
|
|
162
|
-
openVLC,
|
|
163
|
-
downloadVLC,
|
|
164
|
-
onDownloadHandler,
|
|
165
|
-
// useVideoResize
|
|
166
|
-
isExpand,
|
|
167
|
-
videoHeight,
|
|
168
|
-
onSwitchShrink,
|
|
169
|
-
listenerVideoWrapper,
|
|
170
|
-
unlistenerVideoWrapper
|
|
171
|
-
} = useMixins.useMixins(
|
|
172
|
-
{
|
|
173
|
-
props,
|
|
174
|
-
emits,
|
|
175
|
-
videoWrapperRef,
|
|
176
|
-
videoRef
|
|
177
|
-
},
|
|
178
|
-
[index.useVideoPlayer, index.useVideoResize]
|
|
179
|
-
);
|
|
180
|
-
const showActionBtn = vue.computed(() => {
|
|
181
|
-
return !!videoUrl.value;
|
|
182
|
-
});
|
|
183
|
-
vue.onMounted(() => {
|
|
184
|
-
initFullScreenEvent();
|
|
185
|
-
listenerVideoWrapper();
|
|
186
|
-
});
|
|
187
|
-
vue.onUnmounted(() => {
|
|
188
|
-
destroyFullScreenEvent();
|
|
189
|
-
unlistenerVideoWrapper();
|
|
190
|
-
});
|
|
191
|
-
__expose({
|
|
192
|
-
playVideo,
|
|
193
|
-
pauseVideo,
|
|
194
|
-
setVideoCurrentTime
|
|
195
|
-
});
|
|
196
|
-
return (_ctx, _cache) => {
|
|
197
|
-
return vue.openBlock(), vue.createElementBlock(
|
|
198
|
-
"div",
|
|
199
|
-
{
|
|
200
|
-
ref_key: "videoWrapperRef",
|
|
201
|
-
ref: videoWrapperRef,
|
|
202
|
-
class: vue.normalizeClass(["hy-video-player-content", {
|
|
203
|
-
"hy-video-player-content-pick-up": !vue.unref(isExpand) && !vue.unref(isFullScreen),
|
|
204
|
-
"hy-full-video-player-content": vue.unref(isFullScreen)
|
|
205
|
-
}])
|
|
206
|
-
},
|
|
207
|
-
[
|
|
208
|
-
vue.createCommentVNode(" loading "),
|
|
209
|
-
vue.unref(loading) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
210
|
-
key: 0,
|
|
211
|
-
class: "w-full h-full flex flex-col justify-center items-center absolute left-0 top-0"
|
|
212
|
-
}, [
|
|
213
|
-
vue.createVNode(mediaLoading.default),
|
|
214
|
-
vue.createElementVNode(
|
|
215
|
-
"span",
|
|
216
|
-
{ class: "text-xs text-theme mt-4" },
|
|
217
|
-
"..." + vue.toDisplayString(vue.unref(useLocale.$t)("videoPlayer.videoResourcesAreLoading")) + "...",
|
|
218
|
-
1
|
|
219
|
-
/* TEXT */
|
|
220
|
-
)
|
|
221
|
-
])) : vue.createCommentVNode("v-if", true),
|
|
222
|
-
vue.createCommentVNode(" \u65E0\u6CD5\u64AD\u653E "),
|
|
223
|
-
vue.unref(videoState) === "CAN_NOT_PLAY" ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
224
|
-
key: 1,
|
|
225
|
-
class: "w-full h-full flex flex-col justify-center items-center px-[34px] box-border"
|
|
226
|
-
}, [
|
|
227
|
-
vue.createCommentVNode(" \u91C7\u96C6\u7AD9\u6587\u4EF6 "),
|
|
228
|
-
vue.unref(videoItem) && vue.unref(videoItem).csFile === 1 && vue.unref(videoItem).onlineState !== 1 ? (vue.openBlock(), vue.createElementBlock(
|
|
229
|
-
vue.Fragment,
|
|
230
|
-
{ key: 0 },
|
|
231
|
-
[
|
|
232
|
-
vue.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)]" }, [
|
|
233
|
-
vue.createElementVNode("div", { class: "w-[42px] h-[42px] rounded-full border-[1px] border-dashed border-dangerv2 flex justify-center items-center" }, [
|
|
234
|
-
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
235
|
-
"svg-name": "ops-button-icon-brok-link",
|
|
236
|
-
class: "!w-[24px] !h-[24px] text-dangerv2"
|
|
237
|
-
})
|
|
238
|
-
])
|
|
239
|
-
]),
|
|
240
|
-
vue.createElementVNode(
|
|
241
|
-
"span",
|
|
242
|
-
{ class: "text-xs text-auxiliary mt-4" },
|
|
243
|
-
vue.toDisplayString(vue.unref(useLocale.$t)("videoPlayer.fileLoadingFailed")),
|
|
244
|
-
1
|
|
245
|
-
/* TEXT */
|
|
246
|
-
),
|
|
247
|
-
vue.createElementVNode(
|
|
248
|
-
"span",
|
|
249
|
-
{ class: "text-xs text-auxiliary" },
|
|
250
|
-
vue.toDisplayString(vue.unref(useLocale.$t)("pleaseCheckWhetherTheCollectionStationIsOnlineAndWhetherTheFileExists")),
|
|
251
|
-
1
|
|
252
|
-
/* TEXT */
|
|
253
|
-
)
|
|
254
|
-
],
|
|
255
|
-
64
|
|
256
|
-
/* STABLE_FRAGMENT */
|
|
257
|
-
)) : (vue.openBlock(), vue.createElementBlock(
|
|
258
|
-
vue.Fragment,
|
|
259
|
-
{ key: 1 },
|
|
260
|
-
[
|
|
261
|
-
vue.createCommentVNode(" \u666E\u901A\u6587\u4EF6 "),
|
|
262
|
-
vue.createElementVNode("div", { class: "flex items-center justify-center text-auxiliary" }, [
|
|
263
|
-
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
264
|
-
"svg-name": "ops-audio-center-right-ripple",
|
|
265
|
-
className: "!w-[12px] !h-[12px]"
|
|
266
|
-
}),
|
|
267
|
-
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
268
|
-
"svg-name": "ops-audio-media-center-video3",
|
|
269
|
-
className: "!w-[40px] !h-[40px] mx-1"
|
|
270
|
-
}),
|
|
271
|
-
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
272
|
-
"svg-name": "ops-audio-media-center-left-rippleV2",
|
|
273
|
-
className: "!w-[12px] !h-[12px]"
|
|
274
|
-
})
|
|
275
|
-
]),
|
|
276
|
-
vue.createElementVNode(
|
|
277
|
-
"div",
|
|
278
|
-
{ class: "text-theme text-center mt-3 mb-[14px]" },
|
|
279
|
-
vue.toDisplayString(vue.unref(isCanNotPlayType) ? vue.unref(useLocale.$t)("videoPlayer.vlcPlayerTip") : vue.unref(useLocale.$t)("videoPlayer.theVideoCannotBePlayed")),
|
|
280
|
-
1
|
|
281
|
-
/* TEXT */
|
|
282
|
-
),
|
|
283
|
-
vue.unref(isCanNotPlayType) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
284
|
-
key: 0,
|
|
285
|
-
class: "flex justify-center"
|
|
286
|
-
}, [
|
|
287
|
-
vue.unref(hasVLC) ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.HyButton), {
|
|
288
|
-
key: 0,
|
|
289
|
-
onClick: vue.unref(openVLC)
|
|
290
|
-
}, {
|
|
291
|
-
default: vue.withCtx(() => [
|
|
292
|
-
vue.createTextVNode(
|
|
293
|
-
vue.toDisplayString(vue.unref(useLocale.$t)("videoPlayer.clickPlay")),
|
|
294
|
-
1
|
|
295
|
-
/* TEXT */
|
|
296
|
-
)
|
|
297
|
-
]),
|
|
298
|
-
_: 1
|
|
299
|
-
/* STABLE */
|
|
300
|
-
}, 8, ["onClick"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.HyButton), {
|
|
301
|
-
key: 1,
|
|
302
|
-
onClick: vue.unref(downloadVLC)
|
|
303
|
-
}, {
|
|
304
|
-
default: vue.withCtx(() => [
|
|
305
|
-
vue.createTextVNode(
|
|
306
|
-
vue.toDisplayString(vue.unref(useLocale.$t)("videoPlayer.toDownloadVlc")),
|
|
307
|
-
1
|
|
308
|
-
/* TEXT */
|
|
309
|
-
)
|
|
310
|
-
]),
|
|
311
|
-
_: 1
|
|
312
|
-
/* STABLE */
|
|
313
|
-
}, 8, ["onClick"]))
|
|
314
|
-
])) : vue.createCommentVNode("v-if", true)
|
|
315
|
-
],
|
|
316
|
-
64
|
|
317
|
-
/* STABLE_FRAGMENT */
|
|
318
|
-
)),
|
|
319
|
-
vue.createCommentVNode(" \u5207\u6362\u89C6\u9891\u63A7\u4EF6 "),
|
|
320
|
-
__props.playList?.length > 1 ? (vue.openBlock(), vue.createElementBlock(
|
|
321
|
-
vue.Fragment,
|
|
322
|
-
{ key: 2 },
|
|
323
|
-
[
|
|
324
|
-
vue.createElementVNode("div", { class: "vlc-between-control left-0" }, [
|
|
325
|
-
vue.createVNode(vue.unref(index$3.HyTooltip), {
|
|
326
|
-
isAlways: "",
|
|
327
|
-
overLine: 1,
|
|
328
|
-
content: vue.unref(useLocale.$t)("videoPlayer.viewThePreviousVideo")
|
|
329
|
-
}, {
|
|
330
|
-
default: vue.withCtx(() => [
|
|
331
|
-
vue.createElementVNode("div", {
|
|
332
|
-
class: "w-[30px] h-[30px] bg-[#3D6286] flex items-center justify-center cursor-pointer",
|
|
333
|
-
onClick: vue.unref(playPrevious)
|
|
334
|
-
}, [
|
|
335
|
-
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
336
|
-
"svg-name": "ops-audio-audio-previous-btn",
|
|
337
|
-
className: "!w-3 !h-3 text-main"
|
|
338
|
-
})
|
|
339
|
-
], 8, ["onClick"])
|
|
340
|
-
]),
|
|
341
|
-
_: 1
|
|
342
|
-
/* STABLE */
|
|
343
|
-
}, 8, ["content"])
|
|
344
|
-
]),
|
|
345
|
-
vue.createElementVNode("div", { class: "vlc-between-control right-0" }, [
|
|
346
|
-
vue.createVNode(vue.unref(index$3.HyTooltip), {
|
|
347
|
-
isAlways: "",
|
|
348
|
-
overLine: 1,
|
|
349
|
-
content: vue.unref(useLocale.$t)("videoPlayer.viewTheNextVideo")
|
|
350
|
-
}, {
|
|
351
|
-
default: vue.withCtx(() => [
|
|
352
|
-
vue.createElementVNode("div", {
|
|
353
|
-
class: "w-[30px] h-[30px] bg-[#3D6286] flex items-center justify-center cursor-pointer",
|
|
354
|
-
onClick: vue.unref(playNext)
|
|
355
|
-
}, [
|
|
356
|
-
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
357
|
-
"svg-name": "dispatch-share1-v3-ai-interpretation-next",
|
|
358
|
-
className: "!w-3 !h-3 text-main"
|
|
359
|
-
})
|
|
360
|
-
], 8, ["onClick"])
|
|
361
|
-
]),
|
|
362
|
-
_: 1
|
|
363
|
-
/* STABLE */
|
|
364
|
-
}, 8, ["content"])
|
|
365
|
-
])
|
|
366
|
-
],
|
|
367
|
-
64
|
|
368
|
-
/* STABLE_FRAGMENT */
|
|
369
|
-
)) : vue.createCommentVNode("v-if", true)
|
|
370
|
-
])) : (vue.openBlock(), vue.createElementBlock(
|
|
371
|
-
vue.Fragment,
|
|
372
|
-
{ key: 2 },
|
|
373
|
-
[
|
|
374
|
-
vue.createCommentVNode(" \u53EF\u4EE5\u64AD\u653E "),
|
|
375
|
-
vue.createElementVNode(
|
|
376
|
-
"video",
|
|
377
|
-
{
|
|
378
|
-
ref_key: "videoRef",
|
|
379
|
-
ref: videoRef,
|
|
380
|
-
style: vue.normalizeStyle({ height: vue.unref(videoHeight) })
|
|
381
|
-
},
|
|
382
|
-
[
|
|
383
|
-
vue.createElementVNode("source", { type: "video/mp4" }),
|
|
384
|
-
vue.createElementVNode("source", { type: "video/webm" }),
|
|
385
|
-
vue.createElementVNode("source", { type: "video/ogg" }),
|
|
386
|
-
vue.createTextVNode(
|
|
387
|
-
" " + vue.toDisplayString(vue.unref(useLocale.$t)("videoPlayer.yourBrowserDoesNotSupportHTMLVideoPlayback")),
|
|
388
|
-
1
|
|
389
|
-
/* TEXT */
|
|
390
|
-
)
|
|
391
|
-
],
|
|
392
|
-
4
|
|
393
|
-
/* STYLE */
|
|
394
|
-
),
|
|
395
|
-
vue.createElementVNode("div", { class: "operator-box" }, [
|
|
396
|
-
vue.createElementVNode("div", { class: "progress-box" }, [
|
|
397
|
-
vue.withDirectives(vue.createElementVNode("input", {
|
|
398
|
-
"onUpdate:modelValue": ($event) => vue.isRef(progress) ? progress.value = $event : null,
|
|
399
|
-
type: "range",
|
|
400
|
-
max: "100",
|
|
401
|
-
style: vue.normalizeStyle({
|
|
402
|
-
background: `linear-gradient(to right, rgba(var(--hy-theme)) ${vue.unref(getPercent)(
|
|
403
|
-
vue.unref(progress),
|
|
404
|
-
100
|
|
405
|
-
)}%, rgba(var(--hy-theme), 0.5) ${vue.unref(getPercent)(vue.unref(progress), 100)}% `
|
|
406
|
-
}),
|
|
407
|
-
onMousedown: ($event) => isDrop.value = true,
|
|
408
|
-
onMouseup: ($event) => vue.unref(getNowWh)($event)
|
|
409
|
-
}, null, 44, ["onUpdate:modelValue", "onMousedown", "onMouseup"]), [
|
|
410
|
-
[vue.vModelText, vue.unref(progress)]
|
|
411
|
-
])
|
|
412
|
-
]),
|
|
413
|
-
vue.createElementVNode("div", { class: "left-operator" }, [
|
|
414
|
-
vue.createElementVNode(
|
|
415
|
-
"span",
|
|
416
|
-
{ class: "text-main" },
|
|
417
|
-
vue.toDisplayString(vue.unref(currentDuration)),
|
|
418
|
-
1
|
|
419
|
-
/* TEXT */
|
|
420
|
-
),
|
|
421
|
-
vue.createTextVNode(" / "),
|
|
422
|
-
vue.createElementVNode(
|
|
423
|
-
"span",
|
|
424
|
-
null,
|
|
425
|
-
vue.toDisplayString(vue.unref(totalDuration)),
|
|
426
|
-
1
|
|
427
|
-
/* TEXT */
|
|
428
|
-
)
|
|
429
|
-
]),
|
|
430
|
-
vue.unref(isCanPlay) ? (vue.openBlock(), vue.createElementBlock(
|
|
431
|
-
"div",
|
|
432
|
-
{
|
|
433
|
-
key: 0,
|
|
434
|
-
class: vue.normalizeClass(["center-operator", { "center-analyse": vue.unref(isAnalyseType) }])
|
|
435
|
-
},
|
|
436
|
-
[
|
|
437
|
-
vue.createElementVNode("div", { onClick: vue.unref(playPrevious) }, [
|
|
438
|
-
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
439
|
-
"svg-name": vue.unref(isAnalyseType) ? "dispatch-share1-v3-ai-interpretation-last" : "ops-audio-audio-previous-btn",
|
|
440
|
-
"class-name": "last-icon"
|
|
441
|
-
}, null, 8, ["svg-name"])
|
|
442
|
-
], 8, ["onClick"]),
|
|
443
|
-
vue.unref(videoState) !== "PLAYING" ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
444
|
-
key: 0,
|
|
445
|
-
onClick: ($event) => vue.unref(playVideo)(vue.unref(videoUrl))
|
|
446
|
-
}, [
|
|
447
|
-
vue.createVNode(vue.unref(index$1.HyIcon), { "svg-name": "ops-audio-audio-play-btn" })
|
|
448
|
-
], 8, ["onClick"])) : vue.createCommentVNode("v-if", true),
|
|
449
|
-
vue.unref(videoState) === "PLAYING" ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
450
|
-
key: 1,
|
|
451
|
-
onClick: vue.unref(pauseVideo)
|
|
452
|
-
}, [
|
|
453
|
-
vue.createVNode(vue.unref(index$1.HyIcon), { "svg-name": "ops-audio-audio-pause-btn" })
|
|
454
|
-
], 8, ["onClick"])) : vue.createCommentVNode("v-if", true),
|
|
455
|
-
vue.createElementVNode("div", { onClick: vue.unref(playNext) }, [
|
|
456
|
-
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
457
|
-
"svg-name": vue.unref(isAnalyseType) ? "dispatch-share1-v3-ai-interpretation-next" : "ops-audio-audio-next-btn",
|
|
458
|
-
"class-name": "next-icon"
|
|
459
|
-
}, null, 8, ["svg-name"])
|
|
460
|
-
], 8, ["onClick"])
|
|
461
|
-
],
|
|
462
|
-
2
|
|
463
|
-
/* CLASS */
|
|
464
|
-
)) : vue.createCommentVNode("v-if", true),
|
|
465
|
-
vue.createElementVNode("div", { class: "right-operator" }, [
|
|
466
|
-
vue.createCommentVNode(" \u901F\u5EA6 "),
|
|
467
|
-
vue.createVNode(vue.unref(elementPlus.ElPopover), {
|
|
468
|
-
placement: "top",
|
|
469
|
-
trigger: "click",
|
|
470
|
-
appendToBody: false,
|
|
471
|
-
"popper-class": "hy-video-player-popover-speed"
|
|
472
|
-
}, {
|
|
473
|
-
reference: vue.withCtx(() => [
|
|
474
|
-
vue.createElementVNode(
|
|
475
|
-
"div",
|
|
476
|
-
{ class: "speed-box" },
|
|
477
|
-
vue.toDisplayString(vue.unref(speedLabel)),
|
|
478
|
-
1
|
|
479
|
-
/* TEXT */
|
|
480
|
-
)
|
|
481
|
-
]),
|
|
482
|
-
default: vue.withCtx(() => [
|
|
483
|
-
vue.createElementVNode("div", { class: "flex items-center justify-center py-[10px]" }, [
|
|
484
|
-
vue.createElementVNode("ul", { class: "speed-list" }, [
|
|
485
|
-
(vue.openBlock(true), vue.createElementBlock(
|
|
486
|
-
vue.Fragment,
|
|
487
|
-
null,
|
|
488
|
-
vue.renderList(vue.unref(speedList), (item, index) => {
|
|
489
|
-
return vue.openBlock(), vue.createElementBlock("li", {
|
|
490
|
-
key: index,
|
|
491
|
-
class: vue.normalizeClass(["clickBox", { selectBox: item.value === vue.unref(speed) }]),
|
|
492
|
-
onClick: ($event) => vue.unref(speedHandler)(item.value)
|
|
493
|
-
}, vue.toDisplayString(item.label), 11, ["onClick"]);
|
|
494
|
-
}),
|
|
495
|
-
128
|
|
496
|
-
/* KEYED_FRAGMENT */
|
|
497
|
-
))
|
|
498
|
-
])
|
|
499
|
-
])
|
|
500
|
-
]),
|
|
501
|
-
_: 1
|
|
502
|
-
/* STABLE */
|
|
503
|
-
}),
|
|
504
|
-
vue.createCommentVNode(" \u58F0\u97F3 "),
|
|
505
|
-
vue.createVNode(vue.unref(elementPlus.ElPopover), {
|
|
506
|
-
placement: "top",
|
|
507
|
-
appendToBody: false,
|
|
508
|
-
trigger: "click",
|
|
509
|
-
"popper-class": "hy-video-player-popover-volume-slider"
|
|
510
|
-
}, {
|
|
511
|
-
reference: vue.withCtx(() => [
|
|
512
|
-
vue.createElementVNode("div", { class: "flex items-center justify-center" }, [
|
|
513
|
-
vue.createVNode(vue.unref(index$3.HyTooltip), {
|
|
514
|
-
isAlways: "",
|
|
515
|
-
overLine: 1,
|
|
516
|
-
content: vue.unref(useLocale.$t)("videoPlayer.adjustPlaybackVolume")
|
|
517
|
-
}, {
|
|
518
|
-
default: vue.withCtx(() => [
|
|
519
|
-
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
520
|
-
"svg-name": "dispatch-share-audio-volumn",
|
|
521
|
-
"class-name": "volume-icon"
|
|
522
|
-
})
|
|
523
|
-
]),
|
|
524
|
-
_: 1
|
|
525
|
-
/* STABLE */
|
|
526
|
-
}, 8, ["content"])
|
|
527
|
-
])
|
|
528
|
-
]),
|
|
529
|
-
default: vue.withCtx(() => [
|
|
530
|
-
vue.createElementVNode("div", { class: "flex items-center justify-center pt-3" }, [
|
|
531
|
-
vue.createVNode(vue.unref(elementPlus.ElSlider), {
|
|
532
|
-
modelValue: vue.unref(volumeValue),
|
|
533
|
-
"onUpdate:modelValue": ($event) => vue.isRef(volumeValue) ? volumeValue.value = $event : null,
|
|
534
|
-
vertical: "",
|
|
535
|
-
height: "105px",
|
|
536
|
-
onInput: ($event) => vue.unref(changeVolume)($event)
|
|
537
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "onInput"])
|
|
538
|
-
])
|
|
539
|
-
]),
|
|
540
|
-
_: 1
|
|
541
|
-
/* STABLE */
|
|
542
|
-
}),
|
|
543
|
-
vue.createCommentVNode(" \u653E\u5927 "),
|
|
544
|
-
__props.showFullScreen ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.HyTooltip), {
|
|
545
|
-
key: 0,
|
|
546
|
-
isAlways: "",
|
|
547
|
-
overLine: 1,
|
|
548
|
-
content: vue.unref(useLocale.$t)("videoPlayer.fullScreenSwitch")
|
|
549
|
-
}, {
|
|
550
|
-
default: vue.withCtx(() => [
|
|
551
|
-
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
552
|
-
"svg-name": vue.unref(isFullScreen) ? "ops-audio-audio-reduce" : "ops-audio-audio-enlarge",
|
|
553
|
-
onClick: vue.unref(onFullScreenHandler)
|
|
554
|
-
}, null, 8, ["svg-name", "onClick"])
|
|
555
|
-
]),
|
|
556
|
-
_: 1
|
|
557
|
-
/* STABLE */
|
|
558
|
-
}, 8, ["content"])) : vue.createCommentVNode("v-if", true),
|
|
559
|
-
vue.createCommentVNode(" \u6536\u8D77/\u5C55\u5F00 "),
|
|
560
|
-
!vue.unref(isFullScreen) && __props.showShrink ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.HyTooltip), {
|
|
561
|
-
key: 1,
|
|
562
|
-
isAlways: "",
|
|
563
|
-
overLine: 1,
|
|
564
|
-
content: vue.unref(isExpand) ? vue.unref(useLocale.$t)("videoPlayer.packUp") : vue.unref(useLocale.$t)("videoPlayer.expand")
|
|
565
|
-
}, {
|
|
566
|
-
default: vue.withCtx(() => [
|
|
567
|
-
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
568
|
-
"svg-name": vue.unref(isExpand) ? "dispatch-share1-v3-ai-interpretation-foldup" : "dispatch-share1-v3-ai-interpretation-expand",
|
|
569
|
-
onClick: vue.unref(onSwitchShrink)
|
|
570
|
-
}, null, 8, ["svg-name", "onClick"])
|
|
571
|
-
]),
|
|
572
|
-
_: 1
|
|
573
|
-
/* STABLE */
|
|
574
|
-
}, 8, ["content"])) : vue.createCommentVNode("v-if", true)
|
|
575
|
-
])
|
|
576
|
-
])
|
|
577
|
-
],
|
|
578
|
-
64
|
|
579
|
-
/* STABLE_FRAGMENT */
|
|
580
|
-
)),
|
|
581
|
-
vue.createCommentVNode(" \u89C6\u9891\u989D\u5916\u529F\u80FD "),
|
|
582
|
-
(__props.showDownloadFiles || __props.showPlayRules) && vue.unref(isExpand) ? (vue.openBlock(), vue.createElementBlock(
|
|
583
|
-
"div",
|
|
584
|
-
{
|
|
585
|
-
key: 3,
|
|
586
|
-
class: vue.normalizeClass(["float-operator-item", {
|
|
587
|
-
"!right-[43px]": vue.unref(videoState) === "CAN_NOT_PLAY" && __props.playList?.length > 1
|
|
588
|
-
}])
|
|
589
|
-
},
|
|
590
|
-
[
|
|
591
|
-
vue.createCommentVNode(" \u4E0B\u8F7D "),
|
|
592
|
-
__props.showDownloadFiles && showActionBtn.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.HyTooltip), {
|
|
593
|
-
key: 0,
|
|
594
|
-
isAlways: "",
|
|
595
|
-
overLine: 1,
|
|
596
|
-
content: vue.unref(useLocale.$t)("videoPlayer.downloadFile")
|
|
597
|
-
}, {
|
|
598
|
-
default: vue.withCtx(() => [
|
|
599
|
-
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
600
|
-
"svg-name": "ops-audio-audio-down-btn",
|
|
601
|
-
onClick: vue.unref(onDownloadHandler)
|
|
602
|
-
}, null, 8, ["onClick"])
|
|
603
|
-
]),
|
|
604
|
-
_: 1
|
|
605
|
-
/* STABLE */
|
|
606
|
-
}, 8, ["content"])) : vue.createCommentVNode("v-if", true),
|
|
607
|
-
vue.createCommentVNode(" \u64AD\u653E\u89C4\u5219 "),
|
|
608
|
-
__props.showPlayRules && vue.unref(videoState) !== "CAN_NOT_PLAY" ? (vue.openBlock(true), vue.createElementBlock(
|
|
609
|
-
vue.Fragment,
|
|
610
|
-
{ key: 1 },
|
|
611
|
-
vue.renderList(vue.unref(playRulesList), (item, index) => {
|
|
612
|
-
return vue.openBlock(), vue.createElementBlock(
|
|
613
|
-
vue.Fragment,
|
|
614
|
-
{ key: index },
|
|
615
|
-
[
|
|
616
|
-
vue.unref(playRules) === item.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.HyTooltip), {
|
|
617
|
-
key: 0,
|
|
618
|
-
isAlways: "",
|
|
619
|
-
overLine: 1,
|
|
620
|
-
content: item.label
|
|
621
|
-
}, {
|
|
622
|
-
default: vue.withCtx(() => [
|
|
623
|
-
vue.createVNode(vue.unref(index$1.HyIcon), {
|
|
624
|
-
"svg-name": item.svgName,
|
|
625
|
-
onClick: ($event) => vue.unref(playRulesHandler)(item.value)
|
|
626
|
-
}, null, 8, ["svg-name", "onClick"])
|
|
627
|
-
]),
|
|
628
|
-
_: 2
|
|
629
|
-
/* DYNAMIC */
|
|
630
|
-
}, 1032, ["content"])) : vue.createCommentVNode("v-if", true)
|
|
631
|
-
],
|
|
632
|
-
64
|
|
633
|
-
/* STABLE_FRAGMENT */
|
|
634
|
-
);
|
|
635
|
-
}),
|
|
636
|
-
128
|
|
637
|
-
/* KEYED_FRAGMENT */
|
|
638
|
-
)) : vue.createCommentVNode("v-if", true),
|
|
639
|
-
vue.renderSlot(_ctx.$slots, "pight-control-ranel")
|
|
640
|
-
],
|
|
641
|
-
2
|
|
642
|
-
/* CLASS */
|
|
643
|
-
)) : vue.createCommentVNode("v-if", true)
|
|
644
|
-
],
|
|
645
|
-
2
|
|
646
|
-
/* CLASS */
|
|
647
|
-
);
|
|
648
|
-
};
|
|
649
|
-
}
|
|
650
|
-
});
|
|
10
|
+
var componnet = /* @__PURE__ */ _pluginVue_exportHelper.default(videoPlayer_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-15fbeded"]]);
|
|
651
11
|
|
|
652
|
-
exports.default =
|
|
12
|
+
exports.default = componnet;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var videoPlayer1_vue_vue_type_script_setup_true_lang = require('./videoPlayer12.vue.js');
|
|
6
|
+
var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
|
|
7
|
+
|
|
8
|
+
import "/data/jenkins-work/workspace/WEB-V3-PROJECT-Web-hy-dispatch-ui@2/tmp/packages/components/hyVideoPlayer/videoPlayer1.vue?vue&type=style&index=0&scoped=b38aede1&lang.scss";
|
|
9
|
+
|
|
10
|
+
var videoPlayer1 = /* @__PURE__ */ _pluginVue_exportHelper.default(videoPlayer1_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-b38aede1"]]);
|
|
11
|
+
|
|
12
|
+
exports.default = videoPlayer1;
|