hy-dispatch-ui-v3 0.2.85 → 0.2.87

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 +27 -4
  2. package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
  3. package/es/bussiness/hyAcquisitionStationTree/acquisitionStationTree.vue.mjs +1 -0
  4. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.mjs +1 -0
  5. package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.mjs +1 -0
  6. package/es/bussiness/hyDeviceTree/deviceTree.vue.mjs +1 -0
  7. package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.mjs +1 -0
  8. package/es/bussiness/hyDisplayQueryAddress/locale/en_US.mjs +3 -3
  9. package/es/bussiness/hyDisplayQueryAddress/locale/zh_CN.mjs +3 -3
  10. package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.mjs +1 -0
  11. package/es/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.mjs +7 -1
  12. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.mjs +1 -0
  13. package/es/bussiness/hyElectronicFence/electronicFence.vue.mjs +7 -1
  14. package/es/bussiness/hyFilePlayback/locale/en_US.mjs +17 -17
  15. package/es/bussiness/hyFilePlayback/locale/zh_CN.mjs +17 -17
  16. package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +1 -0
  17. package/es/bussiness/hyOrgGroupTree/orgGroupTree.vue.mjs +1 -0
  18. package/es/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.vue.mjs +1 -0
  19. package/es/bussiness/hyRuleSetting/ruleSetting.vue.mjs +1 -0
  20. package/es/bussiness/hySelectDeviceTree/cpns/deviceItem.vue.mjs +3 -3
  21. package/es/bussiness/hySelectDeviceTree/selectDeviceTree.vue.mjs +2 -8
  22. package/es/bussiness/hyUserTree/userTree.vue.mjs +1 -0
  23. package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +9 -1
  24. package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +1 -0
  25. package/es/components/hyButton/button.vue.mjs +1 -0
  26. package/es/components/hyCheckboxGroup/checkboxGroup.vue.mjs +1 -0
  27. package/es/components/hyConfigProvider/configProvider.vue.mjs +36 -35
  28. package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +1 -0
  29. package/es/components/hyCutter/cutter.vue.mjs +10 -1
  30. package/es/components/hyDatePicker/datePicker.vue.mjs +1 -0
  31. package/es/components/hyDialog/dialog.vue.mjs +1 -0
  32. package/es/components/hyDrawer/drawer.vue.mjs +1 -0
  33. package/es/components/hyForm/cpns/formItem.vue.mjs +15 -11
  34. package/es/components/hyForm/form.vue.mjs +2 -3
  35. package/es/components/hyIcon/icon.vue.mjs +1 -0
  36. package/es/components/hyIconBox/iconBox.vue.mjs +1 -0
  37. package/es/components/hyInput/input.vue.mjs +1 -0
  38. package/es/components/hyInput/inputSearch.vue.mjs +1 -0
  39. package/es/components/hyKindEditor/kindEditor.vue.mjs +17 -4
  40. package/es/components/hyMenu/menu.vue.mjs +1 -0
  41. package/es/components/hyNoPermissions/noPermissions.vue.mjs +1 -0
  42. package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +1 -0
  43. package/es/components/hyOrgCascader/js/index.mjs +0 -1
  44. package/es/components/hyOrgCascader/orgCascader.vue.mjs +1 -0
  45. package/es/components/hyRadioGroup/radioGroup.vue.mjs +4 -1
  46. package/es/components/hySearch/cpns/searchItem.vue.mjs +3 -1
  47. package/es/components/hySearch/search.vue.mjs +5 -1
  48. package/es/components/hyStatus/status.vue.mjs +1 -0
  49. package/es/components/hyTable/cpns/columnSelect.vue.mjs +5 -1
  50. package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +1 -1
  51. package/es/components/hyTable/cpns/virtualTable.vue.mjs +11 -2
  52. package/es/components/hyTable/js/index.mjs +7 -2
  53. package/es/components/hyTable/table.vue.mjs +5 -1
  54. package/es/components/hyTableActionButton/tableActionButton.vue.mjs +1 -0
  55. package/es/components/hyTableForm/batchTableForm.vue.mjs +6 -3
  56. package/es/components/hyTableForm/tableForm.vue.mjs +1 -0
  57. package/es/components/hyTimePicker/timePicker.vue.mjs +1 -0
  58. package/es/components/hyTooltip/tooltip.vue.mjs +1 -0
  59. package/es/components/hyTour/tour.vue.mjs +1 -0
  60. package/es/components/hyTree/js/index.mjs +8 -2
  61. package/es/components/hyTree/tree.vue.mjs +1 -0
  62. package/es/components/hyUserAvatar/userAvatar.vue.mjs +1 -0
  63. package/es/components/hyVideoPlayer/{js → hyVideoPlayer/js}/index.mjs +9 -9
  64. package/es/components/hyVideoPlayer/hyVideoPlayer/videoPlayer.vue.mjs +656 -0
  65. package/es/components/hyVideoPlayer/index.mjs +2 -2
  66. package/es/components/hyVideoPlayer/locale/en_US.mjs +31 -0
  67. package/es/components/hyVideoPlayer/locale/index.mjs +2 -0
  68. package/es/components/hyVideoPlayer/locale/zh_CN.mjs +31 -0
  69. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +5 -645
  70. package/es/components/hyVideoPlayer/videoPlayer2.vue.mjs +930 -0
  71. package/es/hooks/useLocale.mjs +7 -2
  72. package/es/static/hy-svg-icons/hy-icon-ops-Empty-audio.js +22 -0
  73. package/es/static/hy-svg-icons/hy-icon-ops-Empty-document.js +23 -0
  74. package/es/static/hy-svg-icons/hy-icon-ops-Empty-fall.js +29 -0
  75. package/es/static/hy-svg-icons/hy-icon-ops-Empty-up.js +29 -0
  76. package/es/static/hy-svg-icons/hy-icon-ops-Empty-wait.js +29 -0
  77. package/es/static/hy-svg-icons/hy-icon-ops-audio-cycle.js +8 -0
  78. package/es/static/hy-svg-icons/hy-icon-ops-audio-edit.js +8 -0
  79. package/es/static/hy-svg-icons/hy-icon-ops-audio-fullscreen.js +8 -0
  80. package/es/static/hy-svg-icons/hy-icon-ops-audio-next.js +8 -0
  81. package/es/static/hy-svg-icons/hy-icon-ops-audio-previous.js +8 -0
  82. package/es/static/hy-svg-icons/hy-icon-ops-audio-semanticretrieval.js +8 -0
  83. package/es/static/hy-svg-icons/hy-icon-ops-audio-sequentialplay.js +8 -0
  84. package/es/static/hy-svg-icons/hy-icon-ops-audio-stopplayback.js +8 -0
  85. package/es/static/map/bm.geometryutil.js +3 -3
  86. package/es/static/map/bmDraw.js +6 -6
  87. package/es/static/map/markercluster.js +22 -22
  88. package/es/static/map/moveMarker.js +1 -1
  89. package/es/static/vite-plugin-hy-svg-icons.js +2 -2
  90. package/es/utils/file.mjs +7 -3
  91. package/es/utils/form.mjs +3 -1
  92. package/es/utils/map/hook/bigMap.mjs +18 -5
  93. package/es/utils/map/hook/gaode.mjs +4 -1
  94. package/es/utils/map/hook/leafletjs.mjs +29 -8
  95. package/es/utils/map/index.mjs +0 -1
  96. package/es/utils/useUiComponent.mjs +3 -1
  97. package/es/version.mjs +1 -1
  98. package/lib/_virtual/_plugin-vue_export-helper.js +13 -0
  99. package/lib/bussiness/hyAcquisitionStationTree/acquisitionStationTree.vue.js +1 -0
  100. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.js +1 -0
  101. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.js +1 -0
  102. package/lib/bussiness/hyDeviceTree/deviceTree.vue.js +1 -0
  103. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.js +1 -0
  104. package/lib/bussiness/hyDisplayQueryAddress/locale/en_US.js +3 -3
  105. package/lib/bussiness/hyDisplayQueryAddress/locale/zh_CN.js +3 -3
  106. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +1 -0
  107. package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.js +7 -1
  108. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.js +1 -0
  109. package/lib/bussiness/hyElectronicFence/electronicFence.vue.js +7 -1
  110. package/lib/bussiness/hyFilePlayback/locale/en_US.js +17 -17
  111. package/lib/bussiness/hyFilePlayback/locale/zh_CN.js +17 -17
  112. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +1 -0
  113. package/lib/bussiness/hyOrgGroupTree/orgGroupTree.vue.js +1 -0
  114. package/lib/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.vue.js +1 -0
  115. package/lib/bussiness/hyRuleSetting/ruleSetting.vue.js +1 -0
  116. package/lib/bussiness/hySelectDeviceTree/cpns/deviceItem.vue.js +3 -3
  117. package/lib/bussiness/hySelectDeviceTree/selectDeviceTree.vue.js +2 -8
  118. package/lib/bussiness/hyUserTree/userTree.vue.js +1 -0
  119. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +9 -1
  120. package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +1 -0
  121. package/lib/components/hyButton/button.vue.js +1 -0
  122. package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +1 -0
  123. package/lib/components/hyConfigProvider/configProvider.vue.js +36 -35
  124. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +1 -0
  125. package/lib/components/hyCutter/cutter.vue.js +10 -1
  126. package/lib/components/hyDatePicker/datePicker.vue.js +1 -0
  127. package/lib/components/hyDialog/dialog.vue.js +1 -0
  128. package/lib/components/hyDrawer/drawer.vue.js +1 -0
  129. package/lib/components/hyForm/cpns/formItem.vue.js +15 -11
  130. package/lib/components/hyForm/form.vue.js +2 -3
  131. package/lib/components/hyIcon/icon.vue.js +1 -0
  132. package/lib/components/hyIconBox/iconBox.vue.js +1 -0
  133. package/lib/components/hyInput/input.vue.js +1 -0
  134. package/lib/components/hyInput/inputSearch.vue.js +1 -0
  135. package/lib/components/hyKindEditor/kindEditor.vue.js +17 -4
  136. package/lib/components/hyMenu/menu.vue.js +1 -0
  137. package/lib/components/hyNoPermissions/noPermissions.vue.js +1 -0
  138. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +1 -0
  139. package/lib/components/hyOrgCascader/js/index.js +0 -1
  140. package/lib/components/hyOrgCascader/orgCascader.vue.js +1 -0
  141. package/lib/components/hyRadioGroup/radioGroup.vue.js +4 -1
  142. package/lib/components/hySearch/cpns/searchItem.vue.js +3 -1
  143. package/lib/components/hySearch/search.vue.js +5 -1
  144. package/lib/components/hyStatus/status.vue.js +1 -0
  145. package/lib/components/hyTable/cpns/columnSelect.vue.js +5 -1
  146. package/lib/components/hyTable/cpns/columnSelectItem.vue.js +1 -1
  147. package/lib/components/hyTable/cpns/virtualTable.vue.js +11 -2
  148. package/lib/components/hyTable/js/index.js +7 -2
  149. package/lib/components/hyTable/table.vue.js +5 -1
  150. package/lib/components/hyTableActionButton/tableActionButton.vue.js +1 -0
  151. package/lib/components/hyTableForm/batchTableForm.vue.js +6 -3
  152. package/lib/components/hyTableForm/tableForm.vue.js +1 -0
  153. package/lib/components/hyTimePicker/timePicker.vue.js +1 -0
  154. package/lib/components/hyTooltip/tooltip.vue.js +1 -0
  155. package/lib/components/hyTour/tour.vue.js +1 -0
  156. package/lib/components/hyTree/js/index.js +8 -2
  157. package/lib/components/hyTree/tree.vue.js +1 -0
  158. package/lib/components/hyUserAvatar/userAvatar.vue.js +1 -0
  159. package/lib/components/hyVideoPlayer/{js → hyVideoPlayer/js}/index.js +9 -9
  160. package/lib/components/hyVideoPlayer/hyVideoPlayer/videoPlayer.vue.js +660 -0
  161. package/lib/components/hyVideoPlayer/locale/en_US.js +35 -0
  162. package/lib/components/hyVideoPlayer/locale/index.js +9 -0
  163. package/lib/components/hyVideoPlayer/locale/zh_CN.js +35 -0
  164. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +5 -645
  165. package/lib/components/hyVideoPlayer/videoPlayer2.vue.js +934 -0
  166. package/lib/hooks/useLocale.js +7 -2
  167. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-audio.js +22 -0
  168. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-document.js +23 -0
  169. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-fall.js +29 -0
  170. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-up.js +29 -0
  171. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-wait.js +29 -0
  172. package/lib/static/hy-svg-icons/hy-icon-ops-audio-cycle.js +8 -0
  173. package/lib/static/hy-svg-icons/hy-icon-ops-audio-edit.js +8 -0
  174. package/lib/static/hy-svg-icons/hy-icon-ops-audio-fullscreen.js +8 -0
  175. package/lib/static/hy-svg-icons/hy-icon-ops-audio-next.js +8 -0
  176. package/lib/static/hy-svg-icons/hy-icon-ops-audio-previous.js +8 -0
  177. package/lib/static/hy-svg-icons/hy-icon-ops-audio-semanticretrieval.js +8 -0
  178. package/lib/static/hy-svg-icons/hy-icon-ops-audio-sequentialplay.js +8 -0
  179. package/lib/static/hy-svg-icons/hy-icon-ops-audio-stopplayback.js +8 -0
  180. package/lib/static/map/bm.geometryutil.js +3 -3
  181. package/lib/static/map/bmDraw.js +6 -6
  182. package/lib/static/map/markercluster.js +22 -22
  183. package/lib/static/map/moveMarker.js +1 -1
  184. package/lib/static/vite-plugin-hy-svg-icons.js +2 -2
  185. package/lib/utils/file.js +7 -3
  186. package/lib/utils/form.js +3 -1
  187. package/lib/utils/map/hook/bigMap.js +18 -5
  188. package/lib/utils/map/hook/gaode.js +4 -1
  189. package/lib/utils/map/hook/leafletjs.js +29 -8
  190. package/lib/utils/map/index.js +0 -1
  191. package/lib/utils/useUiComponent.js +3 -1
  192. package/lib/version.js +1 -1
  193. package/package.json +14 -8
  194. /package/es/components/hyVideoPlayer/{style → hyVideoPlayer/style}/videoPlayer.scss +0 -0
  195. /package/lib/components/hyVideoPlayer/{style → hyVideoPlayer/style}/videoPlayer.scss +0 -0
@@ -247,8 +247,8 @@ const _sfc_main = {
247
247
  id: __props.column.id,
248
248
  style: normalizeStyle(unref(columnItemStyle)(props, __props.column)),
249
249
  class: normalizeClass(["hy-el-form-item", [
250
- __props.size === "large" ? "hy-el-form-item--large" : __props.size === "small" ? "hy-el-form-item--small" : "hy-el-form-item--default",
251
- __props.size === "large" ? "min-h-[72px]" : __props.size === "small" ? "min-h-[56px]" : "min-h-[64px]"
250
+ unref(formContext).size === "large" ? "hy-el-form-item--large" : unref(formContext).size === "small" ? "hy-el-form-item--small" : "hy-el-form-item--default",
251
+ unref(formContext).labelPosition === "top" ? unref(formContext).size === "large" ? "min-h-[80px]" : unref(formContext).size === "small" ? "min-h-[48px]" : "min-h-[64px]" : unref(formContext).size === "large" ? "min-h-[40px]" : unref(formContext).size === "small" ? "min-h-[24px]" : "min-h-[32px]"
252
252
  ]])
253
253
  }, null, 14, ["id"])) : unref(columnShowHandler)(props, __props.column) ? (openBlock(), createBlock(unref(ElFormItem), {
254
254
  key: 1,
@@ -280,7 +280,9 @@ const _sfc_main = {
280
280
  { "max-w-full mr-2": unref(formContext).labelPosition !== "top" },
281
281
  __props.column.labelClass
282
282
  ]]),
283
- style: normalizeStyle({ width: unref(formContext).labelPosition !== "top" ? unref(formContext).labelWidth || null : null })
283
+ style: normalizeStyle({
284
+ width: unref(formContext).labelPosition !== "top" ? unref(formContext).labelWidth || null : null
285
+ })
284
286
  },
285
287
  [
286
288
  createElementVNode(
@@ -307,9 +309,9 @@ const _sfc_main = {
307
309
  }, () => [
308
310
  createVNode(unref(HyTooltip), {
309
311
  "is-always": false,
310
- "over-line": 1,
312
+ "over-line": 2,
311
313
  class: normalizeClass({
312
- "block": unref(formContext).labelPosition !== "top"
314
+ "block leading-[14px]": unref(formContext).labelPosition !== "top"
313
315
  }),
314
316
  disabled: !unref(columnLabelHandler)(__props.column, props.model),
315
317
  content: unref(columnLabelHandler)(__props.column, props.model) || "\xA0"
@@ -402,9 +404,9 @@ const _sfc_main = {
402
404
  {
403
405
  key: 0,
404
406
  class: normalizeClass(["w-full flex items-center text-main px-2 box-border", {
405
- "min-h-[40px]": __props.size === "large",
406
- "min-h-[32px]": __props.size === "default",
407
- "min-h-[24px]": __props.size === "small",
407
+ "min-h-[40px]": unref(formContext).size === "large",
408
+ "min-h-[32px]": unref(formContext).size === "default",
409
+ "min-h-[24px]": unref(formContext).size === "small",
408
410
  "bg-background": __props.level === 1,
409
411
  "bg-background-2": __props.level === 2,
410
412
  "bg-background-3": __props.level === 3,
@@ -536,7 +538,9 @@ const _sfc_main = {
536
538
  { key: 4 },
537
539
  [
538
540
  createCommentVNode(" \u65E5\u671F\u9009\u62E9\u6846 "),
539
- ["datetimerange", "daterange", "monthrange", "yearrange"].includes(columnAttrs.value?.type) && unref(isArray)(__props.column.field) ? (openBlock(), createBlock(unref(HyDatePicker), mergeProps({
541
+ ["datetimerange", "daterange", "monthrange", "yearrange"].includes(
542
+ columnAttrs.value?.type
543
+ ) && unref(isArray)(__props.column.field) ? (openBlock(), createBlock(unref(HyDatePicker), mergeProps({
540
544
  key: 0,
541
545
  start: bindValue.value,
542
546
  "onUpdate:start": ($event) => bindValue.value = $event,
@@ -620,7 +624,7 @@ const _sfc_main = {
620
624
  }, columnAttrs.value, {
621
625
  disabled: unref(isDisabled)(props, __props.column),
622
626
  options: getOptionsHandler(props, __props.column),
623
- size: __props.size,
627
+ size: unref(formContext).size,
624
628
  onChange: onChangeHandler
625
629
  }), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "options", "size"])
626
630
  ],
@@ -653,7 +657,7 @@ const _sfc_main = {
653
657
  }, columnAttrs.value, {
654
658
  disabled: unref(isDisabled)(props, __props.column),
655
659
  options: getOptionsHandler(props, __props.column),
656
- size: __props.size,
660
+ size: unref(formContext).size,
657
661
  onChange: onChangeHandler
658
662
  }), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "options", "size"])
659
663
  ],
@@ -71,6 +71,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
71
71
  },
72
72
  emits: ["on-allMapSelect", "complete", "optionsStatus"],
73
73
  setup(__props, { expose: __expose, emit: __emit }) {
74
+ ;
74
75
  const props = __props;
75
76
  const emits = __emit;
76
77
  const formTemplateRef = useTemplateRef("formTemplateRef");
@@ -192,9 +193,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
192
193
  if (locationSelectRef.value) {
193
194
  if (isArray(locationSelectRef.value)) {
194
195
  await Promise.all(
195
- locationSelectRef.value.map(
196
- (item) => item.setMarker(latlng, getAddress)
197
- )
196
+ locationSelectRef.value.map((item) => item.setMarker(latlng, getAddress))
198
197
  );
199
198
  } else {
200
199
  await locationSelectRef.value.setMarker(latlng, getAddress);
@@ -31,6 +31,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
31
31
  }
32
32
  },
33
33
  setup(__props) {
34
+ ;
34
35
  const props = __props;
35
36
  if (props.ensureHyIcon) {
36
37
  onMounted(() => props.ensureHyIcon(props.svgName));
@@ -33,6 +33,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
33
33
  className: String
34
34
  },
35
35
  setup(__props) {
36
+ ;
36
37
  const props = __props;
37
38
  const style = computed(() => {
38
39
  let width = 28;
@@ -25,6 +25,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
25
25
  }),
26
26
  emits: /* @__PURE__ */ mergeModels([], ["update:modelValue"]),
27
27
  setup(__props, { expose: __expose, emit: __emit }) {
28
+ ;
28
29
  const props = __props;
29
30
  const emits = __emit;
30
31
  const modelValue = useModel(__props, "modelValue");
@@ -18,6 +18,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
18
18
  }),
19
19
  emits: /* @__PURE__ */ mergeModels(["search"], ["update:modelValue"]),
20
20
  setup(__props, { expose: __expose, emit: __emit }) {
21
+ ;
21
22
  const props = __props;
22
23
  const emits = __emit;
23
24
  const modelValue = useModel(__props, "modelValue");
@@ -38,11 +38,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
38
38
  }),
39
39
  emits: /* @__PURE__ */ mergeModels(["created", "change", "focus", "blur"], ["update:modelValue"]),
40
40
  setup(__props, { expose: __expose, emit: __emit }) {
41
+ ;
41
42
  const props = __props;
42
43
  const emits = __emit;
43
44
  const modelValue = useModel(__props, "modelValue");
44
45
  const editorRef = shallowRef();
45
- const editorHeight = computed(() => typeof props.height === "number" ? `${props.height}px` : props.height);
46
+ const editorHeight = computed(
47
+ () => typeof props.height === "number" ? `${props.height}px` : props.height
48
+ );
46
49
  const fileURLList = [];
47
50
  const rememberFile = ({ key, url }) => {
48
51
  if (!key || !url) return;
@@ -74,7 +77,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
74
77
  html = replaceSrc(html, key, url);
75
78
  rememberFile({ key, url });
76
79
  });
77
- const failCount = keyList.filter((key) => !data.some((item) => item.key === key && item.url)).length;
80
+ const failCount = keyList.filter(
81
+ (key) => !data.some((item) => item.key === key && item.url)
82
+ ).length;
78
83
  if (failCount) {
79
84
  ElMessage.warning(`\u5185\u5BB9\u4E2D\u6709 ${failCount} \u4E2A\u56FE\u7247/\u89C6\u9891\u52A0\u8F7D\u5931\u8D25`);
80
85
  }
@@ -104,7 +109,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
104
109
  getMaxSize: () => props.maxVideoSize
105
110
  }
106
111
  };
107
- const isAllowedType = (file, types) => types.some((type) => type.endsWith("/*") ? file.type.startsWith(type.slice(0, -1)) : file.type === type);
112
+ const isAllowedType = (file, types) => types.some(
113
+ (type) => type.endsWith("/*") ? file.type.startsWith(type.slice(0, -1)) : file.type === type
114
+ );
108
115
  const checkFile = (file, fileType) => {
109
116
  const { name, types, typesText, getMaxSize } = FILE_TYPES[fileType];
110
117
  if (!isAllowedType(file, types)) {
@@ -138,7 +145,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
138
145
  }
139
146
  }
140
147
  });
141
- const DEFAULT_EXCLUDE_KEYS = ["emotion", "insertLink", "insertImage", "insertVideo", "fullScreen"];
148
+ const DEFAULT_EXCLUDE_KEYS = [
149
+ "emotion",
150
+ "insertLink",
151
+ "insertImage",
152
+ "insertVideo",
153
+ "fullScreen"
154
+ ];
142
155
  const toolbarOptions = computed(() => {
143
156
  const { excludeKeys = [], ...rest } = props.toolbarConfig;
144
157
  return {
@@ -30,6 +30,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
30
30
  }),
31
31
  emits: /* @__PURE__ */ mergeModels(["select", "open", "close"], ["update:expand"]),
32
32
  setup(__props, { expose: __expose, emit: __emit }) {
33
+ ;
33
34
  const props = __props;
34
35
  const emits = __emit;
35
36
  const expand = useModel(__props, "expand");
@@ -18,6 +18,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
18
18
  },
19
19
  emits: [],
20
20
  setup(__props, { expose: __expose, emit: __emit }) {
21
+ ;
21
22
  const props = __props;
22
23
  const emits = __emit;
23
24
  __expose({});
@@ -18,6 +18,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
18
18
  },
19
19
  emits: [],
20
20
  setup(__props, { expose: __expose, emit: __emit }) {
21
+ ;
21
22
  const props = __props;
22
23
  const emits = __emit;
23
24
  __expose({});
@@ -28,7 +28,6 @@ function getOrgTreeSimple() {
28
28
  function orgTreeDatahandler(data) {
29
29
  const cascaderMap = /* @__PURE__ */ new Map();
30
30
  const handler = (list = [], parentIdsList = []) => {
31
- ;
32
31
  (list || []).forEach((item) => {
33
32
  item.label = item.companyName;
34
33
  item.value = item.id;
@@ -86,6 +86,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
86
86
  }),
87
87
  emits: /* @__PURE__ */ mergeModels(["change", "requesting", "fulfilled", "rejected"], ["update:modelValue"]),
88
88
  setup(__props, { expose: __expose, emit: __emit }) {
89
+ ;
89
90
  const props = __props;
90
91
  const emits = __emit;
91
92
  const { subOrgCascader, unsubOrgCascader } = useSubscribe();
@@ -31,6 +31,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
31
31
  }),
32
32
  emits: /* @__PURE__ */ mergeModels(["change"], ["update:modelValue"]),
33
33
  setup(__props, { expose: __expose, emit: __emit }) {
34
+ ;
34
35
  const props = __props;
35
36
  const emits = __emit;
36
37
  const modelValue = useModel(__props, "modelValue");
@@ -88,7 +89,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
88
89
  renderList(__props.options, (item, index) => {
89
90
  return openBlock(), createElementBlock("div", {
90
91
  key: index,
91
- class: normalizeClass(["w-0 flex-1 h-full flex items-center justify-center text-main whitespace-nowrap user-select-none relative z-[2]", [item[radioProps.value.disabled] || __props.disabled ? "cursor-not-allowed opacity-90" : "cursor-pointer"]]),
92
+ class: normalizeClass(["w-0 flex-1 h-full flex items-center justify-center text-main whitespace-nowrap user-select-none relative z-[2]", [
93
+ item[radioProps.value.disabled] || __props.disabled ? "cursor-not-allowed opacity-90" : "cursor-pointer"
94
+ ]]),
92
95
  onClick: ($event) => switchSelect(item, index, $event)
93
96
  }, [
94
97
  renderSlot(_ctx.$slots, "default", {
@@ -381,7 +381,9 @@ const _sfc_main = {
381
381
  { key: 4 },
382
382
  [
383
383
  createCommentVNode(" \u65E5\u671F\u9009\u62E9\u6846 "),
384
- ["datetimerange", "daterange", "monthrange", "yearrange"].includes(columnAttrs.value?.type) && unref(isArray)(__props.column.field) ? (openBlock(), createBlock(unref(HyDatePicker), mergeProps({
384
+ ["datetimerange", "daterange", "monthrange", "yearrange"].includes(
385
+ columnAttrs.value?.type
386
+ ) && unref(isArray)(__props.column.field) ? (openBlock(), createBlock(unref(HyDatePicker), mergeProps({
385
387
  key: 0,
386
388
  ref_key: "componentRef",
387
389
  ref: componentRef,
@@ -49,10 +49,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
49
49
  },
50
50
  emits: ["search", "optionsStatus"],
51
51
  setup(__props, { expose: __expose, emit: __emit }) {
52
+ ;
52
53
  const props = __props;
53
54
  const emits = __emit;
54
55
  const formItemWrapper = useTemplateRef("formItemWrapper");
55
- const { showShrink, isExpand, containerHeight, switchShrink, shrinkDestroy } = useShrink(props, formItemWrapper);
56
+ const { showShrink, isExpand, containerHeight, switchShrink, shrinkDestroy } = useShrink(
57
+ props,
58
+ formItemWrapper
59
+ );
56
60
  const formColumnMap = computed(() => {
57
61
  return (props.columns || []).reduce((map, column) => {
58
62
  if (isArray(column.field)) {
@@ -23,6 +23,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
23
23
  },
24
24
  emits: [],
25
25
  setup(__props, { expose: __expose, emit: __emit }) {
26
+ ;
26
27
  const props = __props;
27
28
  const emits = __emit;
28
29
  const color = {
@@ -135,7 +135,11 @@ const _sfc_main = {
135
135
  for (let i = minIndex; i <= maxIndex; i++) {
136
136
  sortList[i] = tableEditableColumns.value[i].sortIndex;
137
137
  }
138
- tableEditableColumns.value.splice(newIndex, 0, tableEditableColumns.value.splice(oldIndex, 1)[0]);
138
+ tableEditableColumns.value.splice(
139
+ newIndex,
140
+ 0,
141
+ tableEditableColumns.value.splice(oldIndex, 1)[0]
142
+ );
139
143
  for (let i = minIndex; i <= maxIndex; i++) {
140
144
  tableEditableColumns.value[i].sortIndex = sortList[i];
141
145
  }
@@ -98,7 +98,7 @@ const _sfc_main = {
98
98
  }, [
99
99
  createElementVNode("div", {
100
100
  class: "w-5 h-2.5",
101
- style: { "background": "radial-gradient(circle, rgba(var(--hy-theme)) 1px, transparent 2px) 0px 0px / 5px 5px" }
101
+ style: { "background": "radial-gradient(circle, rgba(var(--hy-theme)) 1px, transparent 2px) 0px\n 0px / 5px 5px" }
102
102
  })
103
103
  ], 8, ["onClick"])) : createCommentVNode("v-if", true)
104
104
  ])) : createCommentVNode("v-if", true)
@@ -430,7 +430,11 @@ const _sfc_main = {
430
430
  (openBlock(true), createElementBlock(
431
431
  Fragment,
432
432
  null,
433
- renderList(unref(operatorFilterHandler)(column, { column, row, $index, cellIndex }, "default"), (citem, cindex) => {
433
+ renderList(unref(operatorFilterHandler)(
434
+ column,
435
+ { column, row, $index, cellIndex },
436
+ "default"
437
+ ), (citem, cindex) => {
434
438
  return openBlock(), createBlock(unref(HyTooltip), {
435
439
  key: cindex,
436
440
  "is-always": "",
@@ -448,7 +452,12 @@ const _sfc_main = {
448
452
  cellIndex
449
453
  }) ? "cursor-not-allowed text-[var(--hy-el-text-color-disabled)] hover:border-[rgba(var(--hy-auxiliary),1)] hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-auxiliary),0.5)]" : "cursor-pointer hover:border-theme hover:shadow-[0px_0px_5px_0px_rgba(var(--hy-theme),0.5)]"
450
454
  ]]),
451
- onClick: ($event) => unref(operatorClickHandler)(cindex, column, { column, row, $index, cellIndex }, "default")
455
+ onClick: ($event) => unref(operatorClickHandler)(
456
+ cindex,
457
+ column,
458
+ { column, row, $index, cellIndex },
459
+ "default"
460
+ )
452
461
  }, [
453
462
  createVNode(unref(HyIcon), {
454
463
  "svg-name": citem.svgName,
@@ -281,7 +281,9 @@ const useAppTableWrapper = (hy) => {
281
281
  if (props.type === "default") {
282
282
  return tableColumnsList.value.some((column) => column.type === "expand");
283
283
  } else if (props.type === "virtual") {
284
- return tableColumnsList.value.some((column) => column.type === "expand" && column.expandType === "expand");
284
+ return tableColumnsList.value.some(
285
+ (column) => column.type === "expand" && column.expandType === "expand"
286
+ );
285
287
  }
286
288
  return false;
287
289
  });
@@ -455,7 +457,10 @@ const useAppTableWrapper = (hy) => {
455
457
  }, 250);
456
458
  window.scrollToTop = scrollToTop;
457
459
  watchEffect(() => {
458
- const { columnsList, columnsEditablele, searchText } = tableColumnHandler(props.tableColumns, CACHE_COLUMNS_KEY);
460
+ const { columnsList, columnsEditablele, searchText } = tableColumnHandler(
461
+ props.tableColumns,
462
+ CACHE_COLUMNS_KEY
463
+ );
459
464
  tableColumns.value = columnsList;
460
465
  tableColumnsEditablele.value = columnsEditablele;
461
466
  });
@@ -206,6 +206,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
206
206
  "scrollBottom"
207
207
  ], ["update:loading", "update:showFilter"]),
208
208
  setup(__props, { expose: __expose, emit: __emit }) {
209
+ ;
209
210
  const props = __props;
210
211
  const emits = __emit;
211
212
  const loading = useModel(__props, "loading");
@@ -852,7 +853,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
852
853
  (openBlock(true), createElementBlock(
853
854
  Fragment,
854
855
  null,
855
- renderList(unref(operatorFilterHandler)(unref(tableTriggerRef).column, unref(tableTriggerRef).scope), (citem, cindex) => {
856
+ renderList(unref(operatorFilterHandler)(
857
+ unref(tableTriggerRef).column,
858
+ unref(tableTriggerRef).scope
859
+ ), (citem, cindex) => {
856
860
  return openBlock(), createBlock(unref(ElDropdownItem), {
857
861
  key: cindex,
858
862
  command: cindex,
@@ -66,6 +66,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
66
66
  },
67
67
  emits: ["change"],
68
68
  setup(__props, { expose: __expose, emit: __emit }) {
69
+ ;
69
70
  const props = __props;
70
71
  const emits = __emit;
71
72
  const visible = ref(false);
@@ -96,6 +96,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
96
96
  "tableDataChange"
97
97
  ], ["update:step"]),
98
98
  setup(__props, { expose: __expose, emit: __emit }) {
99
+ ;
99
100
  const props = __props;
100
101
  const emits = __emit;
101
102
  const { api } = useApi();
@@ -304,7 +305,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
304
305
  emits("submit", submitResult);
305
306
  onResetUpload();
306
307
  } else {
307
- ElMessage.warning(`${submitResult.success} \u6761\u6570\u636E\u5BFC\u5165\u6210\u529F\uFF0C ${submitResult.failed} \u6761\u6570\u636E\u5F02\u5E38\uFF0C\u8BF7\u8C03\u6574`);
308
+ ElMessage.warning(
309
+ `${submitResult.success} \u6761\u6570\u636E\u5BFC\u5165\u6210\u529F\uFF0C ${submitResult.failed} \u6761\u6570\u636E\u5F02\u5E38\uFF0C\u8BF7\u8C03\u6574`
310
+ );
308
311
  emits("submit", submitResult);
309
312
  }
310
313
  }
@@ -408,8 +411,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
408
411
  createElementVNode("div", { class: "w-full text-main absolute left-1/2 bottom-4 transform -translate-x-1/2" }, [
409
412
  createElementVNode("div", { class: "flex items-center justify-center text-xs text-auxiliary gap-2" }, [
410
413
  createElementVNode("span", null, "\u6587\u4EF6\u652F\u6301\uFF1A"),
411
- createElementVNode("div", { class: "border border-border rounded py-1 px-2.5 bg-background-4 box-border" }, ".xls"),
412
- createElementVNode("div", { class: "border border-border rounded py-1 px-2.5 bg-background-4 box-border" }, ".xlsx"),
414
+ createElementVNode("div", { class: "border border-border rounded py-1 px-2.5 bg-background-4 box-border" }, " .xls "),
415
+ createElementVNode("div", { class: "border border-border rounded py-1 px-2.5 bg-background-4 box-border" }, " .xlsx "),
413
416
  createElementVNode("span", null, "\u5355\u6587\u4EF6\u4E0D\u8D85\u8FC7 10 MB")
414
417
  ])
415
418
  ])
@@ -71,6 +71,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
71
71
  },
72
72
  emits: ["validate", "tableDataChange"],
73
73
  setup(__props, { expose: __expose, emit: __emit }) {
74
+ ;
74
75
  const props = __props;
75
76
  const emits = __emit;
76
77
  const tableRef = useTemplateRef("tableRef");
@@ -39,6 +39,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
39
39
  }),
40
40
  emits: /* @__PURE__ */ mergeModels(["change"], ["update:modelValue", "update:start", "update:end"]),
41
41
  setup(__props, { expose: __expose, emit: __emit }) {
42
+ ;
42
43
  const props = __props;
43
44
  const emits = __emit;
44
45
  const appTimePicker = useTemplateRef("appTimePicker");
@@ -51,6 +51,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
51
51
  }),
52
52
  emits: ["update:modelValue"],
53
53
  setup(__props) {
54
+ ;
54
55
  const props = __props;
55
56
  const visible = useModel(__props, "modelValue");
56
57
  const isShow = ref(false);
@@ -9,6 +9,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
9
9
  props: {},
10
10
  emits: [],
11
11
  setup(__props, { expose: __expose, emit: __emit }) {
12
+ ;
12
13
  const props = __props;
13
14
  const emits = __emit;
14
15
  __expose({});
@@ -42,7 +42,9 @@ const useAppTreeWrapper = (hy) => {
42
42
  return data[props.treeProps?.value];
43
43
  }
44
44
  function deleteNoTreeSelData(item) {
45
- const index = hy.noTreeSelData.value.findIndex((v) => hy.getSelectedDataKey(v) === hy.getSelectedDataKey(item));
45
+ const index = hy.noTreeSelData.value.findIndex(
46
+ (v) => hy.getSelectedDataKey(v) === hy.getSelectedDataKey(item)
47
+ );
46
48
  if (index !== -1) {
47
49
  hy.noTreeSelData.value.splice(index, 1);
48
50
  }
@@ -173,7 +175,11 @@ const useAppTreeWrapper = (hy) => {
173
175
  }
174
176
  emits(
175
177
  "on-check-tree",
176
- JSON.parse(JSON.stringify(hy.mergeNoTreeSelData(info.checkedBusinessNodes || info.checkedNodes))),
178
+ JSON.parse(
179
+ JSON.stringify(
180
+ hy.mergeNoTreeSelData(info.checkedBusinessNodes || info.checkedNodes)
181
+ )
182
+ ),
177
183
  {
178
184
  data,
179
185
  info,
@@ -181,6 +181,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
181
181
  "on-selectedDataList"
182
182
  ],
183
183
  setup(__props, { expose: __expose, emit: __emit }) {
184
+ ;
184
185
  const props = __props;
185
186
  const slots = useSlots();
186
187
  const emits = __emit;
@@ -72,6 +72,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
72
72
  setup(__props) {
73
73
  const { baseMainStore } = useBaseMainStore();
74
74
  const props = __props;
75
+ ;
75
76
  const getDeviceMap = computed(() => {
76
77
  return baseMainStore.value.getters.getDeviceMap;
77
78
  });
@@ -1,15 +1,15 @@
1
1
  import { ref, computed, nextTick } from 'vue';
2
2
  import { ElMessage } from 'element-plus';
3
3
  import 'dayjs';
4
- import '../../../hooks/index.mjs';
5
- import '../../../utils/index.mjs';
6
- import '../../index.mjs';
7
- import { useVideoPlayerConfig } from '../../../hooks/useVideoPlayerConfig.mjs';
8
- import { $t } from '../../../hooks/useLocale.mjs';
9
- import { formatDuration } from '../../../utils/date.mjs';
10
- import { isSupportH265 } from '../../../utils/is.mjs';
11
- import { HyConfirmDialog } from '../../hyConfirmDialog/index.mjs';
12
- import { copyText } from '../../../utils/handler.mjs';
4
+ import '../../../../hooks/index.mjs';
5
+ import '../../../../utils/index.mjs';
6
+ import '../../../index.mjs';
7
+ import { useVideoPlayerConfig } from '../../../../hooks/useVideoPlayerConfig.mjs';
8
+ import { $t } from '../../../../hooks/useLocale.mjs';
9
+ import { formatDuration } from '../../../../utils/date.mjs';
10
+ import { isSupportH265 } from '../../../../utils/is.mjs';
11
+ import { HyConfirmDialog } from '../../../hyConfirmDialog/index.mjs';
12
+ import { copyText } from '../../../../utils/handler.mjs';
13
13
 
14
14
  const useVideoPlayer = (hy) => {
15
15
  const { props, emits, videoRef, videoWrapperRef } = hy;