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
@@ -3,13 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
+ var useUiComponent = require('../../../../utils/useUiComponent.js');
6
7
  var elementPlus = require('element-plus');
7
8
  var index = require('../../../../api/index.js');
8
9
  var mapRail = require('../../../../api/mapRail.js');
9
10
  require('../../../../hooks/index.js');
10
11
  require('../../../../utils/index.js');
11
12
  require('../../../../components/index.js');
12
- require('../../../index.js');
13
13
  var useCurrentBus = require('../../../../hooks/useCurrentBus.js');
14
14
  var useLocale = require('../../../../hooks/useLocale.js');
15
15
  var useAppForm = require('../../../../components/hyForm/js/useAppForm.js');
@@ -19,10 +19,9 @@ var useDialog = require('../../../../hooks/useDialog.js');
19
19
  var index$1 = require('../../../../components/hyDialog/index.js');
20
20
  var index$2 = require('../../../../components/hyForm/index.js');
21
21
  var index$3 = require('../../../../components/hyInput/index.js');
22
- var index$4 = require('../../../hyMapAearchPlace/index.js');
23
- var index$5 = require('../../../../components/hyMap/index.js');
24
- var index$6 = require('../../../../components/hyIcon/index.js');
25
- var index$7 = require('../../../../components/hyButton/index.js');
22
+ var index$4 = require('../../../../components/hyMap/index.js');
23
+ var index$5 = require('../../../../components/hyIcon/index.js');
24
+ var index$6 = require('../../../../components/hyButton/index.js');
26
25
 
27
26
  const __default__ = vue.defineComponent({
28
27
  name: "HyAddElectronicFenceDialog"
@@ -39,6 +38,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
39
38
  }
40
39
  },
41
40
  setup(__props, { expose: __expose }) {
41
+ const HyMapAearchPlace = useUiComponent.useUiComponent("HyMapAearchPlace");
42
42
  const props = __props;
43
43
  const { currentBus } = useCurrentBus.useCurrentBus();
44
44
  const useAddElectronicFenceDialog = (hy) => {
@@ -407,7 +407,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
407
407
  }, {
408
408
  "operate-left-box": vue.withCtx(() => [
409
409
  vue.createElementVNode("div", { class: "flex items-center mt-2 text-xs" }, [
410
- vue.createVNode(vue.unref(index$6.HyIcon), {
410
+ vue.createVNode(vue.unref(index$5.HyIcon), {
411
411
  "svg-name": "dispatch-share1-prompt",
412
412
  "class-name": "!w-3 !h-3 text-auxiliary mr-1"
413
413
  }),
@@ -436,7 +436,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
436
436
  class: "relative z-[600]"
437
437
  }, {
438
438
  search: vue.withCtx(() => [
439
- vue.createVNode(vue.unref(index$4.HyMapAearchPlace), {
439
+ vue.createVNode(vue.unref(HyMapAearchPlace), {
440
440
  map: vue.unref(map),
441
441
  "hy-map": vue.unref(hyMap)
442
442
  }, null, 8, ["map", "hy-map"])
@@ -455,14 +455,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
455
455
  }, 8, ["model", "columns", "rules"]),
456
456
  vue.createElementVNode("div", { class: "w-full h-0 flex-1 relative border border-border rounded" }, [
457
457
  vue.createElementVNode("div", { class: "w-full h-full" }, [
458
- vue.createVNode(vue.unref(index$5.HyMap), {
458
+ vue.createVNode(vue.unref(index$4.HyMap), {
459
459
  class: "!rounded-none",
460
460
  onComplete: vue.unref(onMapComplete)
461
461
  }, null, 8, ["onComplete"])
462
462
  ]),
463
463
  vue.createElementVNode("div", { class: "w-full h-[60px] flex items-center justify-between border-b border-border pl-5 pr-4 box-border absolute left-0 top-0 z-[500] bg-[rgba(var(--hy-background-2),0.9)]" }, [
464
464
  vue.createElementVNode("div", { class: "flex items-center gap-2 text-auxiliary" }, [
465
- vue.createVNode(vue.unref(index$6.HyIcon), {
465
+ vue.createVNode(vue.unref(index$5.HyIcon), {
466
466
  "svg-name": "dispatch-share1-prompt",
467
467
  "class-name": "!w-3 !h-3 text-auxiliary"
468
468
  }),
@@ -482,7 +482,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
482
482
  /* STABLE */
483
483
  }, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
484
484
  ]),
485
- vue.createVNode(vue.unref(index$7.HyButton), {
485
+ vue.createVNode(vue.unref(index$6.HyButton), {
486
486
  type: "primary",
487
487
  onClick: vue.unref(startDraw)
488
488
  }, {
@@ -492,7 +492,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
492
492
  _: 1
493
493
  /* STABLE */
494
494
  }, 8, ["onClick"]),
495
- vue.createVNode(vue.unref(index$7.HyButton), {
495
+ vue.createVNode(vue.unref(index$6.HyButton), {
496
496
  type: "danger",
497
497
  onClick: vue.unref(clearDraw)
498
498
  }, {
@@ -0,0 +1,6 @@
1
+ import '../../../../utils/index.js';
2
+ import { withInstall } from '../../../../utils/handler.js';
3
+ import _sfc_main from './batchSetElectronicFenceUserDialog.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 './electronicFenceAssociatedUsersDialog.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 './electronicFenceAssociatedUsersItem.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 './electronicFence.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 './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 }
@@ -0,0 +1,210 @@
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
+ var input = require('../../../utils/input.js');
9
+ var useLocale = require('../../../hooks/useLocale.js');
10
+ var useBaseMainStore = require('../../../hooks/useBaseMainStore.js');
11
+ var useMixins = require('../../../hooks/useMixins.js');
12
+
13
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
14
+ __name: "picDetail",
15
+ props: {
16
+ item: {
17
+ type: Object,
18
+ required: true,
19
+ default: () => {
20
+ }
21
+ }
22
+ },
23
+ emits: ["playItemChange"],
24
+ setup(__props, { expose: __expose, emit: __emit }) {
25
+ const emit = __emit;
26
+ const $t = (key, option) => useLocale.$t(`HyFilePlayback.${key}`, option);
27
+ const props = __props;
28
+ function usePicDetail(hy) {
29
+ const { baseMainStore } = useBaseMainStore.useBaseMainStore();
30
+ vue.onMounted(() => {
31
+ let newColorObject = baseMainStore.value.getters.colorObject || {};
32
+ const newColors = {
33
+ 2: newColorObject.auxiliary,
34
+ 3: newColorObject.warning,
35
+ 4: newColorObject.success,
36
+ 5: newColorObject.theme
37
+ };
38
+ vue.nextTick(() => {
39
+ console.log("hy.props.item", hy.props.item);
40
+ hy.playStart(hy.props.item);
41
+ hy.colors.value = newColors;
42
+ hy.colorObject.value = newColorObject;
43
+ });
44
+ });
45
+ const paramsList2 = vue.ref([
46
+ { name: $t("fileNumber"), params: "fileUniqueId" },
47
+ { name: $t("resolution"), params: "fileheight" },
48
+ { name: $t("fileName"), params: "fileName" },
49
+ { name: $t("fileSize"), params: "fileSize" },
50
+ { name: $t("shootingTime"), params: "uploadDateStr" },
51
+ { name: $t("equipmentNumber"), params: "deviceId" },
52
+ { name: $t("collectionTime"), params: "fileDtmStart" },
53
+ { name: $t("collectionStationIP"), params: "sip" },
54
+ { name: $t("workNumber"), params: "jobNum" },
55
+ { name: $t("deviceName"), params: "devName" },
56
+ { name: $t("userName-0"), params: "devUserName" },
57
+ { name: $t("deviceCode"), params: "deviceCode" }
58
+ ]);
59
+ const colors2 = vue.ref({});
60
+ const colorObject2 = vue.ref({});
61
+ const playItem2 = vue.ref({
62
+ id: "",
63
+ filePath: ""
64
+ });
65
+ function onShowViewer2(image) {
66
+ baseMainStore.value.commit("callComponent", {
67
+ name: "fileUpload",
68
+ data: {
69
+ methodName: "onShowViewer",
70
+ params: image
71
+ }
72
+ });
73
+ }
74
+ function playStart2(newItem = {}) {
75
+ hy.playItem.value = { ...newItem };
76
+ emit("playItemChange", hy.playItem.value);
77
+ }
78
+ return {
79
+ paramsList: paramsList2,
80
+ colors: colors2,
81
+ colorObject: colorObject2,
82
+ playItem: playItem2,
83
+ onShowViewer: onShowViewer2,
84
+ playStart: playStart2
85
+ };
86
+ }
87
+ const {
88
+ colorObject,
89
+ colors,
90
+ onShowViewer,
91
+ paramsList,
92
+ playItem,
93
+ playStart
94
+ } = useMixins.useMixins({ props }, [usePicDetail]);
95
+ __expose({});
96
+ return (_ctx, _cache) => {
97
+ return vue.openBlock(), vue.createElementBlock("div", { class: "flex flex-col w-full h-full box-border border border-border text-main p-5 rounded bg-background-2 shadow-[0_0_10px_0_rgb(var(--hy-background))]" }, [
98
+ vue.createElementVNode("div", {
99
+ class: "w-full h-[400px] overflow-hidden flex items-center justify-center box-border rounded-xl shadow-[0px_0px_6px_0px_rgba(var(--hy-background-3),1)]",
100
+ onClick: ($event) => vue.unref(onShowViewer)(vue.unref(playItem).filePath)
101
+ }, [
102
+ vue.createElementVNode("img", {
103
+ src: vue.unref(playItem).filePath,
104
+ class: "h-full"
105
+ }, null, 8, ["src"])
106
+ ], 8, ["onClick"]),
107
+ vue.createElementVNode(
108
+ "div",
109
+ { class: "flex justify-center items-center text-sm font-bold h-[50px] leading-[50px] text-auxiliary" },
110
+ vue.toDisplayString($t("clickTheImageToDisplayInFullScreen")),
111
+ 1
112
+ /* TEXT */
113
+ ),
114
+ vue.unref(playItem) && vue.unref(playItem).id ? (vue.openBlock(), vue.createElementBlock("div", {
115
+ key: 0,
116
+ class: "w-full pt-4 mb-[10px] h-[30%] overflow-y-auto overflow-x-hidden border-t border-border"
117
+ }, [
118
+ vue.createVNode(vue.unref(elementPlus.ElRow), {
119
+ gutter: 20,
120
+ class: "text-xs text-auxiliary leading-5"
121
+ }, {
122
+ default: vue.withCtx(() => [
123
+ (vue.openBlock(true), vue.createElementBlock(
124
+ vue.Fragment,
125
+ null,
126
+ vue.renderList(vue.unref(paramsList), (paramsItem, paramsIndex) => {
127
+ return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElCol), {
128
+ key: paramsIndex + "_paramsList",
129
+ span: paramsItem.span || 12
130
+ }, {
131
+ default: vue.withCtx(() => [
132
+ vue.createElementVNode("div", { class: "flex mb-1.5" }, [
133
+ vue.createElementVNode(
134
+ "span",
135
+ {
136
+ class: "w-[70px] shrink-0 mr-5",
137
+ style: { "text-align-last": "justify" }
138
+ },
139
+ vue.toDisplayString(paramsItem.name) + ":",
140
+ 1
141
+ /* TEXT */
142
+ ),
143
+ vue.createElementVNode("span", { class: "overflow-ellipsis overflow-hidden whitespace-nowrap text-main" }, [
144
+ !vue.unref(playItem)[`${paramsItem.params}`] ? (vue.openBlock(), vue.createElementBlock("span", {
145
+ key: 0,
146
+ class: "text-auxiliary"
147
+ }, "- -")) : paramsItem.params === "audioLength" ? (vue.openBlock(), vue.createElementBlock(
148
+ "span",
149
+ { key: 1 },
150
+ vue.toDisplayString(vue.unref(playItem).audioLength) + "s ",
151
+ 1
152
+ /* TEXT */
153
+ )) : paramsItem.params === "fileSize" ? (vue.openBlock(), vue.createElementBlock(
154
+ "span",
155
+ { key: 2 },
156
+ vue.toDisplayString(vue.unref(input.getPublicFileSize)(vue.unref(playItem).fileSize)),
157
+ 1
158
+ /* TEXT */
159
+ )) : paramsItem.params === "fileDtmStart" ? (vue.openBlock(), vue.createElementBlock("span", { key: 3 }, [
160
+ vue.createTextVNode(
161
+ vue.toDisplayString(vue.unref(playItem).fileDtmStart) + " ",
162
+ 1
163
+ /* TEXT */
164
+ ),
165
+ vue.createElementVNode("span", { class: "text-auxiliary" }, "-"),
166
+ vue.createTextVNode(
167
+ " " + vue.toDisplayString(vue.unref(playItem).fileDtmEnd),
168
+ 1
169
+ /* TEXT */
170
+ )
171
+ ])) : paramsItem.params === "fileheight" ? (vue.openBlock(), vue.createElementBlock("span", { key: 4 }, [
172
+ vue.createTextVNode(
173
+ vue.toDisplayString(vue.unref(playItem).filewidth) + " ",
174
+ 1
175
+ /* TEXT */
176
+ ),
177
+ vue.createElementVNode("span", { class: "text-auxiliary" }, "*"),
178
+ vue.createTextVNode(
179
+ " " + vue.toDisplayString(vue.unref(playItem).fileheight),
180
+ 1
181
+ /* TEXT */
182
+ )
183
+ ])) : (vue.openBlock(), vue.createElementBlock(
184
+ "span",
185
+ { key: 5 },
186
+ vue.toDisplayString(vue.unref(playItem)[`${paramsItem.params}`]),
187
+ 1
188
+ /* TEXT */
189
+ ))
190
+ ])
191
+ ])
192
+ ]),
193
+ _: 2
194
+ /* DYNAMIC */
195
+ }, 1032, ["span"]);
196
+ }),
197
+ 128
198
+ /* KEYED_FRAGMENT */
199
+ ))
200
+ ]),
201
+ _: 1
202
+ /* STABLE */
203
+ })
204
+ ])) : vue.createCommentVNode("v-if", true)
205
+ ]);
206
+ };
207
+ }
208
+ });
209
+
210
+ 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 './videoDetail.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 videoDetail_vue_vue_type_script_setup_true_lang = require('./videoDetail2.vue.js');
6
+
7
+
8
+
9
+ exports.default = videoDetail_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 './videoDetail2.vue.js';
4
+
5
+ const _wrapped = withInstall(_sfc_main);
6
+ export { _wrapped as default }