hy-dispatch-ui-v3 0.2.76 → 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 (195) hide show
  1. package/dist/tailwind.css +91 -8
  2. package/es/api/common.mjs +28 -0
  3. package/es/bussiness/hyAcquisitionStationTree/acquisitionStationTree.install.mjs +6 -0
  4. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.install.mjs +6 -0
  5. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.mjs +109 -121
  6. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.install.mjs +6 -0
  7. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.mjs +108 -117
  8. package/es/bussiness/hyDepartmentTypeOperation/index.mjs +4 -1
  9. package/es/bussiness/hyDepartmentTypeOperation/locale/en_US.mjs +7 -7
  10. package/es/bussiness/hyDepartmentTypeOperation/locale/zh_CN.mjs +6 -6
  11. package/es/bussiness/hyDeviceTree/deviceTree.install.mjs +6 -0
  12. package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress.vue.mjs +5 -0
  13. package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.install.mjs +6 -0
  14. package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.mjs +182 -0
  15. package/es/bussiness/hyDisplayQueryAddress/index.mjs +8 -0
  16. package/es/bussiness/hyDisplayQueryAddress/locale/en_US.mjs +7 -0
  17. package/es/bussiness/hyDisplayQueryAddress/locale/index.mjs +2 -0
  18. package/es/bussiness/hyDisplayQueryAddress/locale/zh_CN.mjs +7 -0
  19. package/es/bussiness/hyDisplayQueryAddress/style/dialog.scss +0 -0
  20. package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.install.mjs +6 -0
  21. package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.mjs +2 -2
  22. package/es/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.install.mjs +6 -0
  23. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.install.mjs +6 -0
  24. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.install.mjs +6 -0
  25. package/es/bussiness/hyElectronicFence/electronicFence.install.mjs +6 -0
  26. package/es/bussiness/hyFilePlayback/cpns/audioDetail.vue.mjs +5 -0
  27. package/es/bussiness/hyFilePlayback/cpns/audioDetail2.install.mjs +6 -0
  28. package/es/bussiness/hyFilePlayback/cpns/audioDetail2.vue.mjs +247 -0
  29. package/es/bussiness/hyFilePlayback/cpns/picDetail.vue.mjs +5 -0
  30. package/es/bussiness/hyFilePlayback/cpns/picDetail2.install.mjs +6 -0
  31. package/es/bussiness/hyFilePlayback/cpns/picDetail2.vue.mjs +206 -0
  32. package/es/bussiness/hyFilePlayback/cpns/videoDetail.vue.mjs +5 -0
  33. package/es/bussiness/hyFilePlayback/cpns/videoDetail2.install.mjs +6 -0
  34. package/es/bussiness/hyFilePlayback/cpns/videoDetail2.vue.mjs +238 -0
  35. package/es/bussiness/hyFilePlayback/filePlayback.vue.mjs +5 -0
  36. package/es/bussiness/hyFilePlayback/filePlayback2.install.mjs +6 -0
  37. package/es/bussiness/hyFilePlayback/filePlayback2.vue.mjs +166 -0
  38. package/es/bussiness/hyFilePlayback/index.mjs +8 -0
  39. package/es/bussiness/hyFilePlayback/locale/en_US.mjs +22 -0
  40. package/es/bussiness/hyFilePlayback/locale/index.mjs +2 -0
  41. package/es/bussiness/hyFilePlayback/locale/zh_CN.mjs +22 -0
  42. package/es/bussiness/hyFilePlayback/style/filePlayback.scss +2 -0
  43. package/es/bussiness/hyMapAearchPlace/mapAearchPlace.install.mjs +6 -0
  44. package/es/bussiness/hyMapAearchPlace/mapAearchPlaceItem.install.mjs +6 -0
  45. package/es/bussiness/hyOrgGroupTree/orgGroupTree.install.mjs +6 -0
  46. package/es/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.install.mjs +6 -0
  47. package/es/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.install.mjs +6 -0
  48. package/es/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.install.mjs +6 -0
  49. package/es/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.install.mjs +6 -0
  50. package/es/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.install.mjs +6 -0
  51. package/es/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.install.mjs +6 -0
  52. package/es/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.install.mjs +6 -0
  53. package/es/bussiness/hyRuleSetting/cpns/sedentary/sedentary.install.mjs +6 -0
  54. package/es/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.install.mjs +6 -0
  55. package/es/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.install.mjs +6 -0
  56. package/es/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.install.mjs +6 -0
  57. package/es/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.install.mjs +6 -0
  58. package/es/bussiness/hyRuleSetting/ruleSetting.install.mjs +6 -0
  59. package/es/bussiness/hyUserTree/userTree.install.mjs +6 -0
  60. package/es/bussiness/index.mjs +3 -2
  61. package/es/components/hyCutter/cutter.vue.mjs +2 -2
  62. package/es/components/hyForm/cpns/arrayItem.vue.mjs +2 -2
  63. package/es/components/hyForm/cpns/formItem.vue.mjs +3 -2
  64. package/es/components/hyForm/js/index.mjs +2 -8
  65. package/es/components/hySearch/cpns/searchItem.vue.mjs +57 -67
  66. package/es/components/hySearch/js/index.mjs +1 -35
  67. package/es/components/hySearch/js/useAppSearch.mjs +3 -3
  68. package/es/components/hySearch/style/search.scss +1 -0
  69. package/es/components/hyTable/cpns/virtualTable.vue.mjs +5 -5
  70. package/es/components/hyTable/js/index.mjs +44 -4
  71. package/es/components/hyTable/js/search.mjs +0 -6
  72. package/es/components/hyTable/table.vue.mjs +47 -30
  73. package/es/components/hyTooltip/tooltip.vue.mjs +14 -6
  74. package/es/components/hyUserAvatar/userAvatar.vue.mjs +1 -1
  75. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +3 -3
  76. package/es/components-map.mjs +19 -10
  77. package/es/hooks/index.mjs +1 -0
  78. package/es/hooks/useBaseMainStore.mjs +16 -5
  79. package/es/hooks/useCurrentBus.mjs +5 -4
  80. package/es/hooks/useDialog.mjs +2 -2
  81. package/es/hooks/useGlobalConfig.mjs +26 -16
  82. package/es/hooks/useVersionControl.mjs +34 -0
  83. package/es/index.mjs +7 -4
  84. package/es/locale/en_US.mjs +1 -0
  85. package/es/locale/zh_CN.mjs +1 -0
  86. package/es/style/index.scss +2 -2
  87. package/es/utils/file.mjs +1 -2
  88. package/es/utils/form.mjs +70 -7
  89. package/es/utils/index.mjs +3 -2
  90. package/es/utils/map/hook/leafletjs.mjs +4 -0
  91. package/es/utils/map/index.mjs +4 -0
  92. package/es/utils/timeUtils.mjs +95 -0
  93. package/es/utils/useUiComponent.mjs +34 -0
  94. package/es/version.mjs +1 -1
  95. package/lib/api/common.js +33 -0
  96. package/lib/bussiness/hyAcquisitionStationTree/acquisitionStationTree.install.js +6 -0
  97. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.install.js +6 -0
  98. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.js +107 -119
  99. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.install.js +6 -0
  100. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.js +107 -116
  101. package/lib/bussiness/hyDepartmentTypeOperation/index.js +4 -0
  102. package/lib/bussiness/hyDepartmentTypeOperation/locale/en_US.js +7 -7
  103. package/lib/bussiness/hyDepartmentTypeOperation/locale/zh_CN.js +6 -6
  104. package/lib/bussiness/hyDeviceTree/deviceTree.install.js +6 -0
  105. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress.install.js +6 -0
  106. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress.vue.js +9 -0
  107. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.install.js +6 -0
  108. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.js +186 -0
  109. package/lib/bussiness/hyDisplayQueryAddress/index.js +13 -0
  110. package/lib/bussiness/hyDisplayQueryAddress/locale/en_US.js +11 -0
  111. package/lib/bussiness/hyDisplayQueryAddress/locale/index.js +9 -0
  112. package/lib/bussiness/hyDisplayQueryAddress/locale/zh_CN.js +11 -0
  113. package/lib/bussiness/hyDisplayQueryAddress/style/dialog.scss +0 -0
  114. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.install.js +6 -0
  115. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +11 -11
  116. package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.install.js +6 -0
  117. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.install.js +6 -0
  118. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.install.js +6 -0
  119. package/lib/bussiness/hyElectronicFence/electronicFence.install.js +6 -0
  120. package/lib/bussiness/hyFilePlayback/cpns/audioDetail.install.js +6 -0
  121. package/lib/bussiness/hyFilePlayback/cpns/audioDetail.vue.js +9 -0
  122. package/lib/bussiness/hyFilePlayback/cpns/audioDetail2.install.js +6 -0
  123. package/lib/bussiness/hyFilePlayback/cpns/audioDetail2.vue.js +251 -0
  124. package/lib/bussiness/hyFilePlayback/cpns/picDetail.install.js +6 -0
  125. package/lib/bussiness/hyFilePlayback/cpns/picDetail.vue.js +9 -0
  126. package/lib/bussiness/hyFilePlayback/cpns/picDetail2.install.js +6 -0
  127. package/lib/bussiness/hyFilePlayback/cpns/picDetail2.vue.js +210 -0
  128. package/lib/bussiness/hyFilePlayback/cpns/videoDetail.install.js +6 -0
  129. package/lib/bussiness/hyFilePlayback/cpns/videoDetail.vue.js +9 -0
  130. package/lib/bussiness/hyFilePlayback/cpns/videoDetail2.install.js +6 -0
  131. package/lib/bussiness/hyFilePlayback/cpns/videoDetail2.vue.js +242 -0
  132. package/lib/bussiness/hyFilePlayback/filePlayback.install.js +6 -0
  133. package/lib/bussiness/hyFilePlayback/filePlayback.vue.js +9 -0
  134. package/lib/bussiness/hyFilePlayback/filePlayback2.install.js +6 -0
  135. package/lib/bussiness/hyFilePlayback/filePlayback2.vue.js +170 -0
  136. package/lib/bussiness/hyFilePlayback/index.js +13 -0
  137. package/lib/bussiness/hyFilePlayback/locale/en_US.js +26 -0
  138. package/lib/bussiness/hyFilePlayback/locale/index.js +9 -0
  139. package/lib/bussiness/hyFilePlayback/locale/zh_CN.js +26 -0
  140. package/lib/bussiness/hyFilePlayback/style/filePlayback.scss +2 -0
  141. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.install.js +6 -0
  142. package/lib/bussiness/hyMapAearchPlace/mapAearchPlaceItem.install.js +6 -0
  143. package/lib/bussiness/hyOrgGroupTree/orgGroupTree.install.js +6 -0
  144. package/lib/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.install.js +6 -0
  145. package/lib/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.install.js +6 -0
  146. package/lib/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.install.js +6 -0
  147. package/lib/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.install.js +6 -0
  148. package/lib/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.install.js +6 -0
  149. package/lib/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.install.js +6 -0
  150. package/lib/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.install.js +6 -0
  151. package/lib/bussiness/hyRuleSetting/cpns/sedentary/sedentary.install.js +6 -0
  152. package/lib/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.install.js +6 -0
  153. package/lib/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.install.js +6 -0
  154. package/lib/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.install.js +6 -0
  155. package/lib/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.install.js +6 -0
  156. package/lib/bussiness/hyRuleSetting/ruleSetting.install.js +6 -0
  157. package/lib/bussiness/hyUserTree/userTree.install.js +6 -0
  158. package/lib/bussiness/index.js +19 -16
  159. package/lib/components/hyCutter/cutter.vue.js +2 -2
  160. package/lib/components/hyForm/cpns/arrayItem.vue.js +2 -2
  161. package/lib/components/hyForm/cpns/formItem.vue.js +3 -2
  162. package/lib/components/hyForm/js/index.js +0 -7
  163. package/lib/components/hySearch/cpns/searchItem.vue.js +64 -74
  164. package/lib/components/hySearch/js/index.js +0 -36
  165. package/lib/components/hySearch/js/useAppSearch.js +3 -3
  166. package/lib/components/hySearch/style/search.scss +1 -0
  167. package/lib/components/hyTable/cpns/virtualTable.vue.js +4 -4
  168. package/lib/components/hyTable/js/index.js +45 -3
  169. package/lib/components/hyTable/js/search.js +0 -6
  170. package/lib/components/hyTable/table.vue.js +46 -29
  171. package/lib/components/hyTooltip/tooltip.vue.js +13 -5
  172. package/lib/components/hyUserAvatar/userAvatar.vue.js +1 -1
  173. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +3 -3
  174. package/lib/components-map.js +19 -10
  175. package/lib/hooks/index.js +4 -0
  176. package/lib/hooks/useBaseMainStore.js +15 -4
  177. package/lib/hooks/useCurrentBus.js +4 -3
  178. package/lib/hooks/useDialog.js +2 -2
  179. package/lib/hooks/useGlobalConfig.js +25 -15
  180. package/lib/hooks/useVersionControl.js +38 -0
  181. package/lib/index.js +75 -57
  182. package/lib/locale/en_US.js +1 -0
  183. package/lib/locale/zh_CN.js +1 -0
  184. package/lib/style/index.scss +2 -2
  185. package/lib/utils/file.js +1 -2
  186. package/lib/utils/form.js +72 -6
  187. package/lib/utils/index.js +12 -1
  188. package/lib/utils/map/hook/leafletjs.js +4 -0
  189. package/lib/utils/map/index.js +4 -0
  190. package/lib/utils/timeUtils.js +105 -0
  191. package/lib/utils/useUiComponent.js +37 -0
  192. package/lib/version.js +1 -1
  193. package/package.json +113 -58
  194. package/es/bussiness/hyDepartmentTypeOperation/tiantong.mjs +0 -8
  195. package/lib/bussiness/hyDepartmentTypeOperation/tiantong.js +0 -13
@@ -0,0 +1,242 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ require('../../../hooks/index.js');
7
+ var elementPlus = require('element-plus');
8
+ require('../../../components/index.js');
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/hyVideoPlayer/index.js');
14
+
15
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
16
+ __name: "videoDetail",
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 useVideoDetail(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
+ videoPlayerRef2.value?.playVideo(hy.playItem.value.filePath, hy.playItem.value);
52
+ });
53
+ });
54
+ });
55
+ const videoPlayerRef2 = vue.useTemplateRef("videoPlayerRef");
56
+ const paramsList2 = vue.ref([
57
+ { name: $t("fileNumber"), params: "fileUniqueId" },
58
+ { name: $t("videoDuration"), params: "audioLength" },
59
+ { name: $t("fileName"), params: "fileName" },
60
+ { name: $t("resolution"), params: "fileheight" },
61
+ // filewidth
62
+ { name: $t("creationTime"), params: "uploadDateStr" },
63
+ { name: $t("fileSize"), params: "fileSize" },
64
+ { name: $t("collectionTime"), params: "fileDtmStart" },
65
+ // fileDtmEnd
66
+ { name: $t("deviceNumber"), params: "deviceId" },
67
+ { name: $t("deviceName"), params: "devName" },
68
+ { name: $t("workNumber"), params: "jobNum" },
69
+ { name: $t("collectionStationIP"), params: "sip" },
70
+ { name: $t("userName-0"), params: "devUserName" },
71
+ { name: $t("deviceCode"), params: "deviceCode" }
72
+ ]);
73
+ const fileScore2 = vue.ref(null);
74
+ const fileScoreLoading2 = vue.ref(true);
75
+ const colors2 = vue.ref({});
76
+ const colorObject2 = vue.ref({});
77
+ const fileList2 = vue.ref([]);
78
+ const playItem2 = vue.ref({
79
+ id: ""
80
+ });
81
+ const videoCurTime2 = vue.ref(0);
82
+ const videoTotalTime2 = vue.ref(0);
83
+ function detectingHashValues2() {
84
+ elementPlus.ElMessage.success($t("detectionIsCorrect"));
85
+ }
86
+ function playStart2(audioUrl, newItem = {}) {
87
+ const id = newItem.id;
88
+ if (hy.playItem.value.id !== id) {
89
+ hy.playItem.value = { ...newItem };
90
+ }
91
+ emit("playItemChange", hy.playItem.value);
92
+ }
93
+ function onTimeUpdate2(curTime) {
94
+ hy.videoCurTime.value = curTime;
95
+ }
96
+ function canPlay2(totalTime) {
97
+ hy.videoTotalTime.value = totalTime;
98
+ }
99
+ return {
100
+ videoPlayerRef: videoPlayerRef2,
101
+ paramsList: paramsList2,
102
+ fileScore: fileScore2,
103
+ fileScoreLoading: fileScoreLoading2,
104
+ colors: colors2,
105
+ colorObject: colorObject2,
106
+ fileList: fileList2,
107
+ playItem: playItem2,
108
+ videoCurTime: videoCurTime2,
109
+ videoTotalTime: videoTotalTime2,
110
+ detectingHashValues: detectingHashValues2,
111
+ playStart: playStart2,
112
+ onTimeUpdate: onTimeUpdate2,
113
+ canPlay: canPlay2
114
+ };
115
+ }
116
+ const {
117
+ canPlay,
118
+ colorObject,
119
+ colors,
120
+ detectingHashValues,
121
+ fileList,
122
+ fileScore,
123
+ fileScoreLoading,
124
+ onTimeUpdate,
125
+ paramsList,
126
+ playItem,
127
+ playStart,
128
+ videoCurTime,
129
+ videoPlayerRef,
130
+ videoTotalTime
131
+ } = useMixins.useMixins({ props }, [useVideoDetail]);
132
+ __expose({});
133
+ return (_ctx, _cache) => {
134
+ 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" }, [
135
+ vue.createElementVNode("div", { class: "w-full flex-1 relative mt-5 flex" }, [
136
+ vue.createVNode(vue.unref(index.HyVideoPlayer), {
137
+ ref_key: "videoPlayerRef",
138
+ ref: videoPlayerRef,
139
+ "play-list": __props.playList,
140
+ class: "!h-full",
141
+ onCanPlay: vue.unref(canPlay),
142
+ onOnTimeUpdate: vue.unref(onTimeUpdate),
143
+ onPlayStart: vue.unref(playStart)
144
+ }, null, 8, ["play-list", "onCanPlay", "onOnTimeUpdate", "onPlayStart"])
145
+ ]),
146
+ vue.unref(playItem) && vue.unref(playItem).id ? (vue.openBlock(), vue.createElementBlock("div", {
147
+ key: 0,
148
+ class: "w-full h-[30%] overflow-y-auto overflow-x-hidden my-[10px]"
149
+ }, [
150
+ vue.createVNode(vue.unref(elementPlus.ElRow), {
151
+ gutter: 20,
152
+ class: "text-xs text-auxiliary leading-5"
153
+ }, {
154
+ default: vue.withCtx(() => [
155
+ (vue.openBlock(true), vue.createElementBlock(
156
+ vue.Fragment,
157
+ null,
158
+ vue.renderList(vue.unref(paramsList), (paramsItem, paramsIndex) => {
159
+ return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElCol), {
160
+ key: paramsIndex + "_paramsList",
161
+ span: paramsItem.span || 12
162
+ }, {
163
+ default: vue.withCtx(() => [
164
+ vue.createElementVNode("div", { class: "flex mb-1.5" }, [
165
+ vue.createElementVNode(
166
+ "span",
167
+ {
168
+ class: "w-14 shrink-0 mr-5",
169
+ style: { "text-align-last": "justify" }
170
+ },
171
+ vue.toDisplayString(paramsItem.name) + ":",
172
+ 1
173
+ /* TEXT */
174
+ ),
175
+ vue.createElementVNode("span", { class: "overflow-ellipsis overflow-hidden whitespace-nowrap text-main" }, [
176
+ !vue.unref(playItem)[`${paramsItem.params}`] ? (vue.openBlock(), vue.createElementBlock("span", {
177
+ key: 0,
178
+ class: "text-auxiliary"
179
+ }, "- -")) : paramsItem.params === "audioLength" ? (vue.openBlock(), vue.createElementBlock(
180
+ "span",
181
+ { key: 1 },
182
+ vue.toDisplayString(vue.unref(playItem).audioLength) + "s ",
183
+ 1
184
+ /* TEXT */
185
+ )) : paramsItem.params === "fileSize" ? (vue.openBlock(), vue.createElementBlock(
186
+ "span",
187
+ { key: 2 },
188
+ vue.toDisplayString(vue.unref(input.getPublicFileSize)(vue.unref(playItem).fileSize)),
189
+ 1
190
+ /* TEXT */
191
+ )) : paramsItem.params === "fileDtmStart" ? (vue.openBlock(), vue.createElementBlock("span", { key: 3 }, [
192
+ vue.createTextVNode(
193
+ vue.toDisplayString(vue.unref(playItem).fileDtmStart) + " ",
194
+ 1
195
+ /* TEXT */
196
+ ),
197
+ vue.createElementVNode("span", { class: "text-auxiliary" }, "-"),
198
+ vue.createTextVNode(
199
+ " " + vue.toDisplayString(vue.unref(playItem).fileDtmEnd),
200
+ 1
201
+ /* TEXT */
202
+ )
203
+ ])) : paramsItem.params === "fileheight" ? (vue.openBlock(), vue.createElementBlock("span", { key: 4 }, [
204
+ vue.createTextVNode(
205
+ vue.toDisplayString(vue.unref(playItem).filewidth) + " ",
206
+ 1
207
+ /* TEXT */
208
+ ),
209
+ vue.createElementVNode("span", { class: "text-auxiliary" }, "*"),
210
+ vue.createTextVNode(
211
+ " " + vue.toDisplayString(vue.unref(playItem).fileheight),
212
+ 1
213
+ /* TEXT */
214
+ )
215
+ ])) : (vue.openBlock(), vue.createElementBlock(
216
+ "span",
217
+ { key: 5 },
218
+ vue.toDisplayString(vue.unref(playItem)[`${paramsItem.params}`]),
219
+ 1
220
+ /* TEXT */
221
+ ))
222
+ ])
223
+ ])
224
+ ]),
225
+ _: 2
226
+ /* DYNAMIC */
227
+ }, 1032, ["span"]);
228
+ }),
229
+ 128
230
+ /* KEYED_FRAGMENT */
231
+ ))
232
+ ]),
233
+ _: 1
234
+ /* STABLE */
235
+ })
236
+ ])) : vue.createCommentVNode("v-if", true)
237
+ ]);
238
+ };
239
+ }
240
+ });
241
+
242
+ 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 './filePlayback.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 filePlayback_vue_vue_type_script_setup_true_lang = require('./filePlayback2.vue.js');
6
+
7
+
8
+
9
+ exports.default = filePlayback_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 './filePlayback2.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,170 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ require('./cpns/videoDetail.vue.js');
7
+ var useDialog = require('../../hooks/useDialog.js');
8
+ require('./cpns/audioDetail.vue.js');
9
+ require('./cpns/picDetail.vue.js');
10
+ require('../../hooks/index.js');
11
+ require('../../components/index.js');
12
+ var index = require('./locale/index.js');
13
+ var useLocale = require('../../hooks/useLocale.js');
14
+ var useMixins = require('../../hooks/useMixins.js');
15
+ var index$1 = require('../../components/hyDialog/index.js');
16
+ var audioDetail_vue_vue_type_script_setup_true_lang = require('./cpns/audioDetail2.vue.js');
17
+ var videoDetail_vue_vue_type_script_setup_true_lang = require('./cpns/videoDetail2.vue.js');
18
+ var picDetail_vue_vue_type_script_setup_true_lang = require('./cpns/picDetail2.vue.js');
19
+ var index$2 = require('../../components/hyIcon/index.js');
20
+
21
+ const __default__ = vue.defineComponent({
22
+ name: "HyFilePlayback"
23
+ });
24
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
25
+ ...__default__,
26
+ emits: ["on-submit"],
27
+ setup(__props, { expose: __expose, emit: __emit }) {
28
+ useLocale.registerComponentLocale("HyFilePlayback", index);
29
+ vue.onUnmounted(() => {
30
+ useLocale.unregisterComponentLocale("HyFilePlayback");
31
+ });
32
+ const $t = (key, option) => useLocale.$t(`HyFilePlayback.${key}`, option);
33
+ const emit = __emit;
34
+ function useFilePlayback(hy) {
35
+ vue.onMounted(() => {
36
+ });
37
+ const HyDialogRef2 = vue.useTemplateRef("HyDialogRef");
38
+ const dialogVisible2 = vue.ref(false);
39
+ const loading2 = vue.ref(false);
40
+ const curMediaType2 = vue.ref(1);
41
+ const curItem2 = vue.ref({});
42
+ const playItem2 = vue.ref({});
43
+ const playList2 = vue.ref([]);
44
+ function setPlayItem2(newPlayItem = {}) {
45
+ hy.playItem.value = newPlayItem;
46
+ }
47
+ function show2(params = {}) {
48
+ hy.curMediaType.value = params.curMediaType;
49
+ hy.curItem.value = params.curItem;
50
+ hy.playList.value = params.playList | [];
51
+ vue.nextTick(() => {
52
+ hy.setDragLevelIndex("HyDialogRef");
53
+ hy.dialogVisible.value = true;
54
+ });
55
+ }
56
+ function onClose2() {
57
+ hy.dialogVisible.value = false;
58
+ }
59
+ return {
60
+ HyDialogRef: HyDialogRef2,
61
+ dialogVisible: dialogVisible2,
62
+ loading: loading2,
63
+ curMediaType: curMediaType2,
64
+ curItem: curItem2,
65
+ playItem: playItem2,
66
+ playList: playList2,
67
+ setPlayItem: setPlayItem2,
68
+ show: show2,
69
+ onClose: onClose2
70
+ };
71
+ }
72
+ const {
73
+ HyDialogRef,
74
+ confirmReplace,
75
+ curItem,
76
+ curMediaType,
77
+ dialogVisible,
78
+ getCacheData,
79
+ getIsEdit,
80
+ instance,
81
+ isEdit,
82
+ loading,
83
+ minimized,
84
+ minimizedClose,
85
+ minimizedRemove,
86
+ minimizedShow,
87
+ minimizedTitle,
88
+ onClose,
89
+ onMinimized,
90
+ playItem,
91
+ playList,
92
+ restoreCache,
93
+ setDragLevelIndex,
94
+ setIsEdit,
95
+ setPlayItem,
96
+ show
97
+ } = useMixins.useMixins({}, [useDialog.useDialog, useFilePlayback]);
98
+ __expose({
99
+ show
100
+ });
101
+ return (_ctx, _cache) => {
102
+ return vue.openBlock(), vue.createBlock(vue.unref(index$1.HyDialog), vue.mergeProps({
103
+ ref_key: "HyDialogRef",
104
+ ref: HyDialogRef,
105
+ modelValue: vue.unref(dialogVisible),
106
+ "onUpdate:modelValue": ($event) => vue.isRef(dialogVisible) ? dialogVisible.value = $event : null,
107
+ loading: vue.unref(loading),
108
+ "onUpdate:loading": ($event) => vue.isRef(loading) ? loading.value = $event : null,
109
+ ifDraggable: true,
110
+ width: "90%",
111
+ "dialog-type": "right"
112
+ }, _ctx.$attrs, {
113
+ title: "\u67E5\u770B\u6587\u4EF6",
114
+ "on-cancel": vue.unref(onClose),
115
+ "on-close": vue.unref(onClose),
116
+ "show-operate": false,
117
+ "operate-class": "w-full justify-center",
118
+ onOnMinimized: vue.unref(onMinimized),
119
+ onOnDialogMousedown: ($event) => vue.unref(setDragLevelIndex)("HyDialogRef")
120
+ }), {
121
+ title: vue.withCtx(() => [
122
+ vue.unref(playItem) ? (vue.openBlock(), vue.createElementBlock("div", {
123
+ key: 0,
124
+ class: "group-info flex items-center text-base font-bold w-full"
125
+ }, [
126
+ vue.unref(playItem).mark ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.HyIcon), {
127
+ key: 0,
128
+ class: "mr-[4px] svgBox relative text-warning",
129
+ "svg-name": "dispatch-share-media-center-mark-filev2"
130
+ })) : vue.createCommentVNode("v-if", true),
131
+ vue.unref(playItem) ? (vue.openBlock(), vue.createElementBlock(
132
+ "div",
133
+ {
134
+ key: 1,
135
+ class: "w-full overflow-ellipsis overflow-hidden whitespace-nowrap"
136
+ },
137
+ vue.toDisplayString(vue.unref(playItem).fileName),
138
+ 1
139
+ /* TEXT */
140
+ )) : vue.createCommentVNode("v-if", true)
141
+ ])) : vue.createCommentVNode("v-if", true)
142
+ ]),
143
+ default: vue.withCtx(() => [
144
+ vue.createElementVNode("div", { class: "filePlayback w-full h-full" }, [
145
+ vue.unref(curMediaType) === 2 ? (vue.openBlock(), vue.createBlock(audioDetail_vue_vue_type_script_setup_true_lang.default, {
146
+ key: 0,
147
+ item: vue.unref(curItem),
148
+ playList: vue.unref(playList),
149
+ onPlayItemChange: vue.unref(setPlayItem)
150
+ }, null, 8, ["item", "playList", "onPlayItemChange"])) : vue.unref(curMediaType) === 3 ? (vue.openBlock(), vue.createBlock(videoDetail_vue_vue_type_script_setup_true_lang.default, {
151
+ key: 1,
152
+ item: vue.unref(curItem),
153
+ playList: vue.unref(playList),
154
+ onPlayItemChange: vue.unref(setPlayItem)
155
+ }, null, 8, ["item", "playList", "onPlayItemChange"])) : vue.unref(curMediaType) === 4 ? (vue.openBlock(), vue.createBlock(picDetail_vue_vue_type_script_setup_true_lang.default, {
156
+ key: 2,
157
+ item: vue.unref(curItem),
158
+ playList: vue.unref(playList),
159
+ onPlayItemChange: vue.unref(setPlayItem)
160
+ }, null, 8, ["item", "playList", "onPlayItemChange"])) : vue.createCommentVNode("v-if", true)
161
+ ])
162
+ ]),
163
+ _: 1
164
+ /* STABLE */
165
+ }, 16, ["modelValue", "onUpdate:modelValue", "loading", "onUpdate:loading", "on-cancel", "on-close", "onOnMinimized", "onOnDialogMousedown"]);
166
+ };
167
+ }
168
+ });
169
+
170
+ exports.default = _sfc_main;
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ require('./filePlayback.vue.js');
6
+ require('../../utils/index.js');
7
+ var handler = require('../../utils/handler.js');
8
+ var filePlayback_vue_vue_type_script_setup_true_lang = require('./filePlayback2.vue.js');
9
+
10
+ const HyFilePlayback = handler.withInstall(filePlayback_vue_vue_type_script_setup_true_lang.default);
11
+
12
+ exports.HyFilePlayback = HyFilePlayback;
13
+ exports.default = HyFilePlayback;
@@ -0,0 +1,26 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var en_US = {
6
+ "fileNumber": "File Number",
7
+ "videoDuration": "Video Duration",
8
+ "fileName": "File Name",
9
+ "resolution": "Resolution",
10
+ "creationTime": "Creation Time",
11
+ "fileSize": "File Size",
12
+ "collectionTime": "Collection Time",
13
+ "deviceNumber": "Device Number",
14
+ "deviceName": "Device Name",
15
+ "workNumber": "Work Number",
16
+ "collectionStationIP": "Collection Station IP",
17
+ "userName-0": "User Name",
18
+ "deviceCode": "Device Code",
19
+ "detectionIsCorrect": "Detection Is Correct",
20
+ "audioDuration": "Audio Duration",
21
+ "equipmentNumber": "Device Number:",
22
+ "shootingTime": "Shooting Time",
23
+ "clickTheImageToDisplayInFullScreen": "Click The Image To Display In Full Screen"
24
+ };
25
+
26
+ 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,26 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var zh_CN = {
6
+ "fileNumber": "\u6587\u4EF6\u7F16\u53F7",
7
+ "videoDuration": "\u89C6\u9891\u65F6\u957F",
8
+ "fileName": "\u6587\u4EF6\u540D\u79F0",
9
+ "resolution": "\u5206\u8FA8\u7387",
10
+ "creationTime": "\u521B\u5EFA\u65F6\u95F4",
11
+ "fileSize": "\u6587\u4EF6\u5927\u5C0F",
12
+ "collectionTime": "\u91C7\u96C6\u65F6\u95F4",
13
+ "deviceNumber": "\u8BBE\u5907\u7F16\u53F7",
14
+ "deviceName": "\u8BBE\u5907\u540D\u79F0",
15
+ "workNumber": "\u5DE5\u53F7",
16
+ "collectionStationIP": "\u91C7\u96C6\u7AD9IP",
17
+ "userName-0": "\u7528\u6237\u540D\u79F0",
18
+ "deviceCode": "\u8BBE\u5907\u7F16\u7801",
19
+ "detectionIsCorrect": "\u68C0\u6D4B\u6B63\u786E",
20
+ "audioDuration": "\u97F3\u9891\u65F6\u957F",
21
+ "equipmentNumber": "\u8BBE\u5907\u7F16\u53F7\uFF1A",
22
+ "shootingTime": "\u62CD\u6444\u65F6\u95F4",
23
+ "clickTheImageToDisplayInFullScreen": "\u70B9\u51FB\u56FE\u7247\uFF0C\u5373\u53EF\u5168\u5C4F\u5C55\u793A"
24
+ };
25
+
26
+ exports.default = zh_CN;
@@ -0,0 +1,2 @@
1
+ .filePlayback{
2
+ }
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './mapAearchPlace.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './mapAearchPlaceItem.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './orgGroupTree.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './planGroupDeviceTree.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './gatheringPeople.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './missionInRule.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './missionOutRule.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './ruleAssignDialog.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './ruleFenceDialog.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './ruleSettingDialog.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './sedentary.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './setRuleAggregationAlarmDialog.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './timedVideo.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './timerCamera.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './timingReturn.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './ruleSetting.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }
@@ -0,0 +1,6 @@
1
+ import '../../utils/index.js';
2
+ import { withInstall } from '../../utils/handler.js';
3
+ import _sfc_main from './userTree.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }