hy-dispatch-ui-v3 0.2.77 → 0.2.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/dist/tailwind.css +91 -8
  2. package/es/api/common.mjs +28 -0
  3. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.mjs +5 -8
  4. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.mjs +108 -125
  5. package/es/bussiness/hyDepartmentTypeOperation/locale/en_US.mjs +7 -7
  6. package/es/bussiness/hyDepartmentTypeOperation/locale/zh_CN.mjs +6 -6
  7. package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress.vue.mjs +5 -0
  8. package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.install.mjs +6 -0
  9. package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.mjs +182 -0
  10. package/es/bussiness/hyDisplayQueryAddress/index.mjs +8 -0
  11. package/es/bussiness/hyDisplayQueryAddress/locale/en_US.mjs +7 -0
  12. package/es/bussiness/hyDisplayQueryAddress/locale/index.mjs +2 -0
  13. package/es/bussiness/hyDisplayQueryAddress/locale/zh_CN.mjs +7 -0
  14. package/es/bussiness/hyDisplayQueryAddress/style/dialog.scss +0 -0
  15. package/es/bussiness/hyFilePlayback/cpns/audioDetail.vue.mjs +5 -0
  16. package/es/bussiness/hyFilePlayback/cpns/audioDetail2.install.mjs +6 -0
  17. package/es/bussiness/hyFilePlayback/cpns/audioDetail2.vue.mjs +247 -0
  18. package/es/bussiness/hyFilePlayback/cpns/picDetail.vue.mjs +5 -0
  19. package/es/bussiness/hyFilePlayback/cpns/picDetail2.install.mjs +6 -0
  20. package/es/bussiness/hyFilePlayback/cpns/picDetail2.vue.mjs +206 -0
  21. package/es/bussiness/hyFilePlayback/cpns/videoDetail.vue.mjs +5 -0
  22. package/es/bussiness/hyFilePlayback/cpns/videoDetail2.install.mjs +6 -0
  23. package/es/bussiness/hyFilePlayback/cpns/videoDetail2.vue.mjs +238 -0
  24. package/es/bussiness/hyFilePlayback/filePlayback.vue.mjs +5 -0
  25. package/es/bussiness/hyFilePlayback/filePlayback2.install.mjs +6 -0
  26. package/es/bussiness/hyFilePlayback/filePlayback2.vue.mjs +166 -0
  27. package/es/bussiness/hyFilePlayback/index.mjs +8 -0
  28. package/es/bussiness/hyFilePlayback/locale/en_US.mjs +22 -0
  29. package/es/bussiness/hyFilePlayback/locale/index.mjs +2 -0
  30. package/es/bussiness/hyFilePlayback/locale/zh_CN.mjs +22 -0
  31. package/es/bussiness/hyFilePlayback/style/filePlayback.scss +2 -0
  32. package/es/bussiness/index.mjs +2 -0
  33. package/es/components/hyCutter/cutter.vue.mjs +2 -2
  34. package/es/components/hyForm/cpns/arrayItem.vue.mjs +2 -2
  35. package/es/components/hyForm/cpns/formItem.vue.mjs +3 -2
  36. package/es/components/hyForm/js/index.mjs +2 -8
  37. package/es/components/hySearch/cpns/searchItem.vue.mjs +57 -67
  38. package/es/components/hySearch/js/index.mjs +1 -35
  39. package/es/components/hySearch/js/useAppSearch.mjs +3 -3
  40. package/es/components/hySearch/style/search.scss +1 -0
  41. package/es/components/hyTable/cpns/virtualTable.vue.mjs +5 -5
  42. package/es/components/hyTable/js/index.mjs +44 -4
  43. package/es/components/hyTable/js/search.mjs +0 -6
  44. package/es/components/hyTable/table.vue.mjs +47 -30
  45. package/es/components/hyTooltip/tooltip.vue.mjs +14 -6
  46. package/es/components/hyUserAvatar/userAvatar.vue.mjs +1 -1
  47. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +3 -3
  48. package/es/components-map.mjs +2 -0
  49. package/es/hooks/useBaseMainStore.mjs +16 -5
  50. package/es/hooks/useCurrentBus.mjs +5 -4
  51. package/es/hooks/useDialog.mjs +2 -2
  52. package/es/hooks/useGlobalConfig.mjs +19 -18
  53. package/es/index.mjs +5 -2
  54. package/es/locale/en_US.mjs +1 -0
  55. package/es/locale/zh_CN.mjs +1 -0
  56. package/es/style/index.scss +2 -2
  57. package/es/utils/file.mjs +1 -2
  58. package/es/utils/form.mjs +59 -5
  59. package/es/utils/index.mjs +3 -2
  60. package/es/utils/map/hook/leafletjs.mjs +4 -0
  61. package/es/utils/map/index.mjs +4 -0
  62. package/es/utils/timeUtils.mjs +95 -0
  63. package/es/version.mjs +1 -1
  64. package/lib/api/common.js +33 -0
  65. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.js +3 -6
  66. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.js +107 -124
  67. package/lib/bussiness/hyDepartmentTypeOperation/locale/en_US.js +7 -7
  68. package/lib/bussiness/hyDepartmentTypeOperation/locale/zh_CN.js +6 -6
  69. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress.install.js +6 -0
  70. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress.vue.js +9 -0
  71. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.install.js +6 -0
  72. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.js +186 -0
  73. package/lib/bussiness/hyDisplayQueryAddress/index.js +13 -0
  74. package/lib/bussiness/hyDisplayQueryAddress/locale/en_US.js +11 -0
  75. package/lib/bussiness/hyDisplayQueryAddress/locale/index.js +9 -0
  76. package/lib/bussiness/hyDisplayQueryAddress/locale/zh_CN.js +11 -0
  77. package/lib/bussiness/hyDisplayQueryAddress/style/dialog.scss +0 -0
  78. package/lib/bussiness/hyFilePlayback/cpns/audioDetail.install.js +6 -0
  79. package/lib/bussiness/hyFilePlayback/cpns/audioDetail.vue.js +9 -0
  80. package/lib/bussiness/hyFilePlayback/cpns/audioDetail2.install.js +6 -0
  81. package/lib/bussiness/hyFilePlayback/cpns/audioDetail2.vue.js +251 -0
  82. package/lib/bussiness/hyFilePlayback/cpns/picDetail.install.js +6 -0
  83. package/lib/bussiness/hyFilePlayback/cpns/picDetail.vue.js +9 -0
  84. package/lib/bussiness/hyFilePlayback/cpns/picDetail2.install.js +6 -0
  85. package/lib/bussiness/hyFilePlayback/cpns/picDetail2.vue.js +210 -0
  86. package/lib/bussiness/hyFilePlayback/cpns/videoDetail.install.js +6 -0
  87. package/lib/bussiness/hyFilePlayback/cpns/videoDetail.vue.js +9 -0
  88. package/lib/bussiness/hyFilePlayback/cpns/videoDetail2.install.js +6 -0
  89. package/lib/bussiness/hyFilePlayback/cpns/videoDetail2.vue.js +242 -0
  90. package/lib/bussiness/hyFilePlayback/filePlayback.install.js +6 -0
  91. package/lib/bussiness/hyFilePlayback/filePlayback.vue.js +9 -0
  92. package/lib/bussiness/hyFilePlayback/filePlayback2.install.js +6 -0
  93. package/lib/bussiness/hyFilePlayback/filePlayback2.vue.js +170 -0
  94. package/lib/bussiness/hyFilePlayback/index.js +13 -0
  95. package/lib/bussiness/hyFilePlayback/locale/en_US.js +26 -0
  96. package/lib/bussiness/hyFilePlayback/locale/index.js +9 -0
  97. package/lib/bussiness/hyFilePlayback/locale/zh_CN.js +26 -0
  98. package/lib/bussiness/hyFilePlayback/style/filePlayback.scss +2 -0
  99. package/lib/bussiness/index.js +18 -14
  100. package/lib/components/hyCutter/cutter.vue.js +2 -2
  101. package/lib/components/hyForm/cpns/arrayItem.vue.js +2 -2
  102. package/lib/components/hyForm/cpns/formItem.vue.js +3 -2
  103. package/lib/components/hyForm/js/index.js +0 -7
  104. package/lib/components/hySearch/cpns/searchItem.vue.js +64 -74
  105. package/lib/components/hySearch/js/index.js +0 -36
  106. package/lib/components/hySearch/js/useAppSearch.js +3 -3
  107. package/lib/components/hySearch/style/search.scss +1 -0
  108. package/lib/components/hyTable/cpns/virtualTable.vue.js +4 -4
  109. package/lib/components/hyTable/js/index.js +45 -3
  110. package/lib/components/hyTable/js/search.js +0 -6
  111. package/lib/components/hyTable/table.vue.js +46 -29
  112. package/lib/components/hyTooltip/tooltip.vue.js +13 -5
  113. package/lib/components/hyUserAvatar/userAvatar.vue.js +1 -1
  114. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +3 -3
  115. package/lib/components-map.js +2 -0
  116. package/lib/hooks/useBaseMainStore.js +15 -4
  117. package/lib/hooks/useCurrentBus.js +4 -3
  118. package/lib/hooks/useDialog.js +2 -2
  119. package/lib/hooks/useGlobalConfig.js +18 -17
  120. package/lib/index.js +70 -55
  121. package/lib/locale/en_US.js +1 -0
  122. package/lib/locale/zh_CN.js +1 -0
  123. package/lib/style/index.scss +2 -2
  124. package/lib/utils/file.js +1 -2
  125. package/lib/utils/form.js +61 -4
  126. package/lib/utils/index.js +12 -1
  127. package/lib/utils/map/hook/leafletjs.js +4 -0
  128. package/lib/utils/map/index.js +4 -0
  129. package/lib/utils/timeUtils.js +105 -0
  130. package/lib/version.js +1 -1
  131. package/package.json +14 -1
@@ -0,0 +1,186 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var common = require('../../api/common.js');
7
+ var elementPlus = require('element-plus');
8
+ require('../../hooks/index.js');
9
+ var index = require('./locale/index.js');
10
+ var useLocale = require('../../hooks/useLocale.js');
11
+ var useMixins = require('../../hooks/useMixins.js');
12
+
13
+ const __default__ = vue.defineComponent({
14
+ name: "HyDisplayQueryAddress"
15
+ });
16
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
17
+ ...__default__,
18
+ props: {
19
+ linesNum: {
20
+ type: [Number, String],
21
+ default: () => {
22
+ return 1;
23
+ }
24
+ },
25
+ emptyClass: {
26
+ type: String,
27
+ default: () => {
28
+ return "text-auxiliary";
29
+ }
30
+ },
31
+ emptyText: {
32
+ type: String,
33
+ default: () => {
34
+ return "--";
35
+ }
36
+ },
37
+ sourceType: {
38
+ type: String,
39
+ default: () => {
40
+ return "";
41
+ }
42
+ },
43
+ item: {
44
+ type: Object,
45
+ default: () => {
46
+ return {};
47
+ }
48
+ },
49
+ // 地址参数名称
50
+ addressName: {
51
+ type: String,
52
+ default: () => {
53
+ return "address";
54
+ }
55
+ },
56
+ lngName: {
57
+ type: String,
58
+ default: () => {
59
+ return "lng";
60
+ }
61
+ },
62
+ latName: {
63
+ type: String,
64
+ default: () => {
65
+ return "lat";
66
+ }
67
+ }
68
+ },
69
+ setup(__props) {
70
+ useLocale.registerComponentLocale("HyDisplayQueryAddress", index);
71
+ vue.onUnmounted(() => {
72
+ useLocale.unregisterComponentLocale("HyDisplayQueryAddress");
73
+ });
74
+ const $t = (key, option) => useLocale.$t(`HyDisplayQueryAddress.${key}`, option);
75
+ const props = __props;
76
+ function useDisplayQueryAddress(hy) {
77
+ vue.onMounted(() => {
78
+ vue.watch(
79
+ () => props.item?.[props.addressName],
80
+ (newVal) => {
81
+ hy.address.value = newVal;
82
+ },
83
+ {
84
+ // deep: true,
85
+ immediate: true
86
+ }
87
+ );
88
+ });
89
+ const getAddressType2 = vue.ref(false);
90
+ const address2 = vue.ref(null);
91
+ const lng2 = vue.computed(() => {
92
+ return props.item[`${props.lngName}`];
93
+ });
94
+ const lat2 = vue.computed(() => {
95
+ return props.item[`${props.latName}`];
96
+ });
97
+ async function getAddress2() {
98
+ hy.getAddressType.value = true;
99
+ const res = await common.reverseGeocodingApi({
100
+ list: [
101
+ {
102
+ sourceType: props.sourceType,
103
+ createDtm: props.item.createDtm,
104
+ sourceId: props.item.id,
105
+ lng: hy.lng.value,
106
+ lat: hy.lat.value
107
+ }
108
+ ]
109
+ });
110
+ if (res && res.code === 200) {
111
+ const dataList = res.data || [];
112
+ if (dataList.length) {
113
+ hy.address.value = dataList[0].address;
114
+ hy.getAddressType.value = false;
115
+ }
116
+ } else {
117
+ elementPlus.ElMessage.error($t("failedToGetAddress"));
118
+ hy.getAddressType.value = false;
119
+ }
120
+ }
121
+ return {
122
+ getAddressType: getAddressType2,
123
+ address: address2,
124
+ lng: lng2,
125
+ lat: lat2,
126
+ getAddress: getAddress2
127
+ };
128
+ }
129
+ const {
130
+ address,
131
+ getAddress,
132
+ getAddressType,
133
+ lat,
134
+ lng
135
+ } = useMixins.useMixins({}, [useDisplayQueryAddress]);
136
+ return (_ctx, _cache) => {
137
+ const _component_el_tooltip = vue.resolveComponent("el-tooltip");
138
+ return vue.openBlock(), vue.createBlock(_component_el_tooltip, {
139
+ disabled: !vue.unref(address),
140
+ content: vue.unref(address),
141
+ "show-after": 500,
142
+ class: "text-xs"
143
+ }, {
144
+ default: vue.withCtx(() => [
145
+ vue.createElementVNode(
146
+ "div",
147
+ {
148
+ class: vue.normalizeClass([{
149
+ "overflow-ellipsis overflow-hidden whitespace-nowrap": Number(__props.linesNum) === 1,
150
+ over_two_line: Number(__props.linesNum) === 2
151
+ }, "w-full"])
152
+ },
153
+ [
154
+ vue.unref(address) ? (vue.openBlock(), vue.createElementBlock(
155
+ "span",
156
+ { key: 0 },
157
+ vue.toDisplayString(vue.unref(address)),
158
+ 1
159
+ /* TEXT */
160
+ )) : vue.unref(lng) && vue.unref(lat) ? (vue.openBlock(), vue.createElementBlock("div", {
161
+ key: 1,
162
+ onClick: vue.withModifiers(($event) => vue.unref(getAddress)(), ["stop"]),
163
+ class: "w-full box-border text-center text-theme rounded border border-theme px-1 py-0.5 text-xs clickBox float-left"
164
+ }, vue.toDisplayString(vue.unref(getAddressType) ? $t("querying") : $t("queryAddress")), 9, ["onClick"])) : (vue.openBlock(), vue.createElementBlock(
165
+ "span",
166
+ {
167
+ key: 2,
168
+ class: vue.normalizeClass(__props.emptyClass)
169
+ },
170
+ vue.toDisplayString(__props.emptyText),
171
+ 3
172
+ /* TEXT, CLASS */
173
+ ))
174
+ ],
175
+ 2
176
+ /* CLASS */
177
+ )
178
+ ]),
179
+ _: 1
180
+ /* STABLE */
181
+ }, 8, ["disabled", "content"]);
182
+ };
183
+ }
184
+ });
185
+
186
+ exports.default = _sfc_main;
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ require('./displayQueryAddress.vue.js');
6
+ require('../../utils/index.js');
7
+ var handler = require('../../utils/handler.js');
8
+ var displayQueryAddress_vue_vue_type_script_setup_true_lang = require('./displayQueryAddress2.vue.js');
9
+
10
+ const HyDisplayQueryAddress = handler.withInstall(displayQueryAddress_vue_vue_type_script_setup_true_lang.default);
11
+
12
+ exports.HyDisplayQueryAddress = HyDisplayQueryAddress;
13
+ exports.default = HyDisplayQueryAddress;
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var en_US = {
6
+ "failedToGetAddress": "Failed To Get Address",
7
+ "querying": "...Querying...",
8
+ "queryAddress": "Query Address"
9
+ };
10
+
11
+ exports.default = en_US;
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ var en_US = require('./en_US.js');
4
+ var zh_CN = require('./zh_CN.js');
5
+
6
+
7
+
8
+ exports.en_US = en_US.default;
9
+ exports.zh_CN = zh_CN.default;
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var zh_CN = {
6
+ "failedToGetAddress": "\u83B7\u53D6\u5730\u5740\u5931\u8D25",
7
+ "querying": "...\u67E5\u8BE2\u4E2D...",
8
+ "queryAddress": "\u67E5\u8BE2\u5730\u5740"
9
+ };
10
+
11
+ exports.default = zh_CN;
@@ -0,0 +1,6 @@
1
+ import '../../../utils/index.js';
2
+ import { withInstall } from '../../../utils/handler.js';
3
+ import _sfc_main from './audioDetail.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var audioDetail_vue_vue_type_script_setup_true_lang = require('./audioDetail2.vue.js');
6
+
7
+
8
+
9
+ exports.default = audioDetail_vue_vue_type_script_setup_true_lang.default;
@@ -0,0 +1,6 @@
1
+ import '../../../utils/index.js';
2
+ import { withInstall } from '../../../utils/handler.js';
3
+ import _sfc_main from './audioDetail2.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,251 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ require('../../../hooks/index.js');
7
+ require('../../../components/index.js');
8
+ var elementPlus = require('element-plus');
9
+ var input = require('../../../utils/input.js');
10
+ var useLocale = require('../../../hooks/useLocale.js');
11
+ var useBaseMainStore = require('../../../hooks/useBaseMainStore.js');
12
+ var useMixins = require('../../../hooks/useMixins.js');
13
+ var index = require('../../../components/hyAudioPlayer/index.js');
14
+
15
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
16
+ __name: "audioDetail",
17
+ props: {
18
+ item: {
19
+ type: Object,
20
+ required: true,
21
+ default: () => {
22
+ }
23
+ },
24
+ playList: {
25
+ type: Array,
26
+ required: true,
27
+ default: () => []
28
+ }
29
+ },
30
+ emits: ["playItemChange"],
31
+ setup(__props, { expose: __expose, emit: __emit }) {
32
+ const $t = (key, option) => useLocale.$t(`HyFilePlayback.${key}`, option);
33
+ const emit = __emit;
34
+ const props = __props;
35
+ function useAudioDetail(hy) {
36
+ const { baseMainStore } = useBaseMainStore.useBaseMainStore();
37
+ vue.onMounted(() => {
38
+ let newColorObject = baseMainStore.value.getters.colorObject || {};
39
+ const newColors = {
40
+ 2: newColorObject.auxiliary,
41
+ 3: newColorObject.warning,
42
+ 4: newColorObject.success,
43
+ 5: newColorObject.theme
44
+ };
45
+ vue.nextTick(() => {
46
+ hy.playItem.value = {};
47
+ hy.playStart(null, hy.props.item);
48
+ hy.colors.value = newColors;
49
+ hy.colorObject.value = newColorObject;
50
+ vue.nextTick(() => {
51
+ audioPlayerRef2.value?.playAudio(hy.playItem.value.filePath, hy.playItem.value);
52
+ });
53
+ });
54
+ });
55
+ const fileScoreRef2 = vue.useTemplateRef("fileScoreRef");
56
+ const audioPlayerRef2 = vue.useTemplateRef("audioPlayerRef");
57
+ const paramsList2 = vue.ref([
58
+ { name: $t("fileNumber"), params: "fileUniqueId" },
59
+ { name: $t("audioDuration"), params: "audioLength" },
60
+ { name: $t("fileName"), params: "fileName" },
61
+ { name: $t("fileSize"), params: "fileSize" },
62
+ { name: $t("creationTime"), params: "uploadDateStr" },
63
+ { name: $t("equipmentNumber"), params: "deviceId" },
64
+ { name: $t("collectionTime"), params: "fileDtmStart" },
65
+ { name: $t("deviceName"), params: "devName" },
66
+ { name: $t("workNumber"), params: "jobNum" },
67
+ { name: $t("userName-0"), params: "devUserName" },
68
+ { name: $t("collectionStationIP"), params: "sip" },
69
+ { name: $t("deviceCode"), params: "deviceCode" }
70
+ ]);
71
+ const fileScoreLoading2 = vue.ref(true);
72
+ const fileScore2 = vue.ref(null);
73
+ const colors2 = vue.ref({});
74
+ const colorObject2 = vue.ref({});
75
+ const fileList2 = vue.ref([]);
76
+ const playItem2 = vue.ref({
77
+ id: ""
78
+ });
79
+ const audioTotalTime2 = vue.ref(0);
80
+ const audioCurTime2 = vue.ref(0);
81
+ function fileScoreShow2() {
82
+ fileScoreRef2.value?.show(hy.playItem.value.id, hy.fileScore.value).then(() => {
83
+ hy.playItem.value.fileScore = hy.fileScore.value;
84
+ });
85
+ }
86
+ function playEnd2() {
87
+ }
88
+ function playStart2(audioUrl, newItem = {}) {
89
+ const id = newItem.id;
90
+ if (hy.playItem.value.id !== id) {
91
+ hy.playItem.value = { ...newItem };
92
+ }
93
+ console.log("hy.playItem.value", hy.playItem.value);
94
+ emit("playItemChange", hy.playItem.value);
95
+ }
96
+ function canPlay2(totalTime) {
97
+ hy.audioTotalTime.value = totalTime;
98
+ }
99
+ function onTimeUpdate2(curTime) {
100
+ hy.audioCurTime.value = curTime;
101
+ }
102
+ return {
103
+ fileScoreRef: fileScoreRef2,
104
+ audioPlayerRef: audioPlayerRef2,
105
+ paramsList: paramsList2,
106
+ fileScoreLoading: fileScoreLoading2,
107
+ fileScore: fileScore2,
108
+ colors: colors2,
109
+ colorObject: colorObject2,
110
+ fileList: fileList2,
111
+ playItem: playItem2,
112
+ audioTotalTime: audioTotalTime2,
113
+ audioCurTime: audioCurTime2,
114
+ fileScoreShow: fileScoreShow2,
115
+ playEnd: playEnd2,
116
+ playStart: playStart2,
117
+ canPlay: canPlay2,
118
+ onTimeUpdate: onTimeUpdate2
119
+ };
120
+ }
121
+ vue.onMounted(() => {
122
+ });
123
+ const {
124
+ audioCurTime,
125
+ audioPlayerRef,
126
+ audioTotalTime,
127
+ canPlay,
128
+ colorObject,
129
+ colors,
130
+ fileList,
131
+ fileScore,
132
+ fileScoreLoading,
133
+ fileScoreRef,
134
+ fileScoreShow,
135
+ onTimeUpdate,
136
+ paramsList,
137
+ playEnd,
138
+ playItem,
139
+ playStart
140
+ } = useMixins.useMixins({ props }, [useAudioDetail]);
141
+ __expose({});
142
+ return (_ctx, _cache) => {
143
+ return vue.openBlock(), vue.createElementBlock("div", { class: "flex flex-col w-full h-full box-border border border-border items-center px-[15px] bg-background-2 rounded shadow-[0_0_10px_0_rgb(var(--hy-background), 1)]" }, [
144
+ vue.createElementVNode("div", { class: "w-full flex mt-5" }, [
145
+ vue.createVNode(vue.unref(index.HyAudioPlayer), {
146
+ ref_key: "audioPlayerRef",
147
+ ref: audioPlayerRef,
148
+ "play-list": __props.playList,
149
+ onOnTimeUpdate: vue.unref(onTimeUpdate),
150
+ onCanPlay: vue.unref(canPlay),
151
+ onPlayEnd: vue.unref(playEnd),
152
+ onPlayStart: vue.unref(playStart)
153
+ }, null, 8, ["play-list", "onOnTimeUpdate", "onCanPlay", "onPlayEnd", "onPlayStart"])
154
+ ]),
155
+ vue.unref(playItem) && vue.unref(playItem).id ? (vue.openBlock(), vue.createElementBlock("div", {
156
+ key: 0,
157
+ class: "w-full mb-[10px] flex-grow h-0 overflow-y-auto overflow-x-hidden mt-5"
158
+ }, [
159
+ vue.createVNode(vue.unref(elementPlus.ElRow), {
160
+ gutter: 20,
161
+ class: "text-xs text-auxiliary leading-5"
162
+ }, {
163
+ default: vue.withCtx(() => [
164
+ (vue.openBlock(true), vue.createElementBlock(
165
+ vue.Fragment,
166
+ null,
167
+ vue.renderList(vue.unref(paramsList), (paramsItem, paramsIndex) => {
168
+ return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElCol), {
169
+ key: paramsIndex + "_paramsList",
170
+ span: paramsItem.span || 12
171
+ }, {
172
+ default: vue.withCtx(() => [
173
+ vue.createElementVNode("div", { class: "flex mb-1.5" }, [
174
+ vue.createElementVNode(
175
+ "span",
176
+ {
177
+ class: "w-[70px] shrink-0 mr-5",
178
+ style: { "text-align-last": "justify" }
179
+ },
180
+ vue.toDisplayString(paramsItem.name) + ":",
181
+ 1
182
+ /* TEXT */
183
+ ),
184
+ vue.createElementVNode("span", { class: "overflow-ellipsis overflow-hidden whitespace-nowrap text-main" }, [
185
+ !vue.unref(playItem)[`${paramsItem.params}`] ? (vue.openBlock(), vue.createElementBlock("span", {
186
+ key: 0,
187
+ class: "text-auxiliary"
188
+ }, "- -")) : paramsItem.params === "audioLength" ? (vue.openBlock(), vue.createElementBlock(
189
+ "span",
190
+ { key: 1 },
191
+ vue.toDisplayString(vue.unref(playItem).audioLength) + "s ",
192
+ 1
193
+ /* TEXT */
194
+ )) : paramsItem.params === "fileSize" ? (vue.openBlock(), vue.createElementBlock(
195
+ "span",
196
+ { key: 2 },
197
+ vue.toDisplayString(vue.unref(input.getPublicFileSize)(vue.unref(playItem).fileSize)),
198
+ 1
199
+ /* TEXT */
200
+ )) : paramsItem.params === "fileDtmStart" ? (vue.openBlock(), vue.createElementBlock("span", { key: 3 }, [
201
+ vue.createTextVNode(
202
+ vue.toDisplayString(vue.unref(playItem).fileDtmStart) + " ",
203
+ 1
204
+ /* TEXT */
205
+ ),
206
+ vue.createElementVNode("span", { class: "text-auxiliary" }, "-"),
207
+ vue.createTextVNode(
208
+ " " + vue.toDisplayString(vue.unref(playItem).fileDtmEnd),
209
+ 1
210
+ /* TEXT */
211
+ )
212
+ ])) : paramsItem.params === "fileheight" ? (vue.openBlock(), vue.createElementBlock("span", { key: 4 }, [
213
+ vue.createTextVNode(
214
+ vue.toDisplayString(vue.unref(playItem).filewidth) + " ",
215
+ 1
216
+ /* TEXT */
217
+ ),
218
+ vue.createElementVNode("span", { class: "text-auxiliary" }, "*"),
219
+ vue.createTextVNode(
220
+ " " + vue.toDisplayString(vue.unref(playItem).fileheight),
221
+ 1
222
+ /* TEXT */
223
+ )
224
+ ])) : (vue.openBlock(), vue.createElementBlock(
225
+ "span",
226
+ { key: 5 },
227
+ vue.toDisplayString(vue.unref(playItem)[`${paramsItem.params}`]),
228
+ 1
229
+ /* TEXT */
230
+ ))
231
+ ])
232
+ ])
233
+ ]),
234
+ _: 2
235
+ /* DYNAMIC */
236
+ }, 1032, ["span"]);
237
+ }),
238
+ 128
239
+ /* KEYED_FRAGMENT */
240
+ ))
241
+ ]),
242
+ _: 1
243
+ /* STABLE */
244
+ })
245
+ ])) : vue.createCommentVNode("v-if", true)
246
+ ]);
247
+ };
248
+ }
249
+ });
250
+
251
+ exports.default = _sfc_main;
@@ -0,0 +1,6 @@
1
+ import '../../../utils/index.js';
2
+ import { withInstall } from '../../../utils/handler.js';
3
+ import _sfc_main from './picDetail.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var picDetail_vue_vue_type_script_setup_true_lang = require('./picDetail2.vue.js');
6
+
7
+
8
+
9
+ exports.default = picDetail_vue_vue_type_script_setup_true_lang.default;
@@ -0,0 +1,6 @@
1
+ import '../../../utils/index.js';
2
+ import { withInstall } from '../../../utils/handler.js';
3
+ import _sfc_main from './picDetail2.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }