hy-dispatch-ui-v3 0.2.86 → 0.2.88

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/dist/tailwind.css +196 -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/videoPlayer1.vue.mjs +8 -0
  71. package/es/components/hyVideoPlayer/videoPlayer12.vue.mjs +947 -0
  72. package/es/components/hyVideoPlayer/videoPlayer2.vue.mjs +951 -0
  73. package/es/hooks/useLocale.mjs +7 -2
  74. package/es/static/hy-svg-icons/hy-icon-ops-Empty-audio.js +22 -0
  75. package/es/static/hy-svg-icons/hy-icon-ops-Empty-document.js +23 -0
  76. package/es/static/hy-svg-icons/hy-icon-ops-Empty-fall.js +29 -0
  77. package/es/static/hy-svg-icons/hy-icon-ops-Empty-up.js +29 -0
  78. package/es/static/hy-svg-icons/hy-icon-ops-Empty-wait.js +29 -0
  79. package/es/static/hy-svg-icons/hy-icon-ops-audio-cycle.js +8 -0
  80. package/es/static/hy-svg-icons/hy-icon-ops-audio-edit.js +8 -0
  81. package/es/static/hy-svg-icons/hy-icon-ops-audio-fullscreen.js +8 -0
  82. package/es/static/hy-svg-icons/hy-icon-ops-audio-next.js +8 -0
  83. package/es/static/hy-svg-icons/hy-icon-ops-audio-previous.js +8 -0
  84. package/es/static/hy-svg-icons/hy-icon-ops-audio-reduce.js +10 -0
  85. package/es/static/hy-svg-icons/hy-icon-ops-audio-semanticretrieval.js +8 -0
  86. package/es/static/hy-svg-icons/hy-icon-ops-audio-sequentialplay.js +8 -0
  87. package/es/static/hy-svg-icons/hy-icon-ops-audio-stopplayback.js +8 -0
  88. package/es/static/map/bm.geometryutil.js +3 -3
  89. package/es/static/map/bmDraw.js +6 -6
  90. package/es/static/map/markercluster.js +22 -22
  91. package/es/static/map/moveMarker.js +1 -1
  92. package/es/static/vite-plugin-hy-svg-icons.js +2 -2
  93. package/es/utils/file.mjs +7 -3
  94. package/es/utils/form.mjs +3 -1
  95. package/es/utils/map/hook/bigMap.mjs +18 -5
  96. package/es/utils/map/hook/gaode.mjs +4 -1
  97. package/es/utils/map/hook/leafletjs.mjs +29 -8
  98. package/es/utils/map/index.mjs +0 -1
  99. package/es/utils/useUiComponent.mjs +3 -1
  100. package/es/version.mjs +1 -1
  101. package/lib/_virtual/_plugin-vue_export-helper.js +13 -0
  102. package/lib/bussiness/hyAcquisitionStationTree/acquisitionStationTree.vue.js +1 -0
  103. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.js +1 -0
  104. package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.js +1 -0
  105. package/lib/bussiness/hyDeviceTree/deviceTree.vue.js +1 -0
  106. package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.js +1 -0
  107. package/lib/bussiness/hyDisplayQueryAddress/locale/en_US.js +3 -3
  108. package/lib/bussiness/hyDisplayQueryAddress/locale/zh_CN.js +3 -3
  109. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +1 -0
  110. package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.js +7 -1
  111. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.js +1 -0
  112. package/lib/bussiness/hyElectronicFence/electronicFence.vue.js +7 -1
  113. package/lib/bussiness/hyFilePlayback/locale/en_US.js +17 -17
  114. package/lib/bussiness/hyFilePlayback/locale/zh_CN.js +17 -17
  115. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +1 -0
  116. package/lib/bussiness/hyOrgGroupTree/orgGroupTree.vue.js +1 -0
  117. package/lib/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.vue.js +1 -0
  118. package/lib/bussiness/hyRuleSetting/ruleSetting.vue.js +1 -0
  119. package/lib/bussiness/hySelectDeviceTree/cpns/deviceItem.vue.js +3 -3
  120. package/lib/bussiness/hySelectDeviceTree/selectDeviceTree.vue.js +2 -8
  121. package/lib/bussiness/hyUserTree/userTree.vue.js +1 -0
  122. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +9 -1
  123. package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +1 -0
  124. package/lib/components/hyButton/button.vue.js +1 -0
  125. package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +1 -0
  126. package/lib/components/hyConfigProvider/configProvider.vue.js +36 -35
  127. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +1 -0
  128. package/lib/components/hyCutter/cutter.vue.js +10 -1
  129. package/lib/components/hyDatePicker/datePicker.vue.js +1 -0
  130. package/lib/components/hyDialog/dialog.vue.js +1 -0
  131. package/lib/components/hyDrawer/drawer.vue.js +1 -0
  132. package/lib/components/hyForm/cpns/formItem.vue.js +15 -11
  133. package/lib/components/hyForm/form.vue.js +2 -3
  134. package/lib/components/hyIcon/icon.vue.js +1 -0
  135. package/lib/components/hyIconBox/iconBox.vue.js +1 -0
  136. package/lib/components/hyInput/input.vue.js +1 -0
  137. package/lib/components/hyInput/inputSearch.vue.js +1 -0
  138. package/lib/components/hyKindEditor/kindEditor.vue.js +17 -4
  139. package/lib/components/hyMenu/menu.vue.js +1 -0
  140. package/lib/components/hyNoPermissions/noPermissions.vue.js +1 -0
  141. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +1 -0
  142. package/lib/components/hyOrgCascader/js/index.js +0 -1
  143. package/lib/components/hyOrgCascader/orgCascader.vue.js +1 -0
  144. package/lib/components/hyRadioGroup/radioGroup.vue.js +4 -1
  145. package/lib/components/hySearch/cpns/searchItem.vue.js +3 -1
  146. package/lib/components/hySearch/search.vue.js +5 -1
  147. package/lib/components/hyStatus/status.vue.js +1 -0
  148. package/lib/components/hyTable/cpns/columnSelect.vue.js +5 -1
  149. package/lib/components/hyTable/cpns/columnSelectItem.vue.js +1 -1
  150. package/lib/components/hyTable/cpns/virtualTable.vue.js +11 -2
  151. package/lib/components/hyTable/js/index.js +7 -2
  152. package/lib/components/hyTable/table.vue.js +5 -1
  153. package/lib/components/hyTableActionButton/tableActionButton.vue.js +1 -0
  154. package/lib/components/hyTableForm/batchTableForm.vue.js +6 -3
  155. package/lib/components/hyTableForm/tableForm.vue.js +1 -0
  156. package/lib/components/hyTimePicker/timePicker.vue.js +1 -0
  157. package/lib/components/hyTooltip/tooltip.vue.js +1 -0
  158. package/lib/components/hyTour/tour.vue.js +1 -0
  159. package/lib/components/hyTree/js/index.js +8 -2
  160. package/lib/components/hyTree/tree.vue.js +1 -0
  161. package/lib/components/hyUserAvatar/userAvatar.vue.js +1 -0
  162. package/lib/components/hyVideoPlayer/{js → hyVideoPlayer/js}/index.js +9 -9
  163. package/lib/components/hyVideoPlayer/hyVideoPlayer/videoPlayer.vue.js +660 -0
  164. package/lib/components/hyVideoPlayer/locale/en_US.js +35 -0
  165. package/lib/components/hyVideoPlayer/locale/index.js +9 -0
  166. package/lib/components/hyVideoPlayer/locale/zh_CN.js +35 -0
  167. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +5 -645
  168. package/lib/components/hyVideoPlayer/videoPlayer1.vue.js +12 -0
  169. package/lib/components/hyVideoPlayer/videoPlayer12.vue.js +951 -0
  170. package/lib/components/hyVideoPlayer/videoPlayer2.vue.js +955 -0
  171. package/lib/hooks/useLocale.js +7 -2
  172. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-audio.js +22 -0
  173. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-document.js +23 -0
  174. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-fall.js +29 -0
  175. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-up.js +29 -0
  176. package/lib/static/hy-svg-icons/hy-icon-ops-Empty-wait.js +29 -0
  177. package/lib/static/hy-svg-icons/hy-icon-ops-audio-cycle.js +8 -0
  178. package/lib/static/hy-svg-icons/hy-icon-ops-audio-edit.js +8 -0
  179. package/lib/static/hy-svg-icons/hy-icon-ops-audio-fullscreen.js +8 -0
  180. package/lib/static/hy-svg-icons/hy-icon-ops-audio-next.js +8 -0
  181. package/lib/static/hy-svg-icons/hy-icon-ops-audio-previous.js +8 -0
  182. package/lib/static/hy-svg-icons/hy-icon-ops-audio-reduce.js +10 -0
  183. package/lib/static/hy-svg-icons/hy-icon-ops-audio-semanticretrieval.js +8 -0
  184. package/lib/static/hy-svg-icons/hy-icon-ops-audio-sequentialplay.js +8 -0
  185. package/lib/static/hy-svg-icons/hy-icon-ops-audio-stopplayback.js +8 -0
  186. package/lib/static/map/bm.geometryutil.js +3 -3
  187. package/lib/static/map/bmDraw.js +6 -6
  188. package/lib/static/map/markercluster.js +22 -22
  189. package/lib/static/map/moveMarker.js +1 -1
  190. package/lib/static/vite-plugin-hy-svg-icons.js +2 -2
  191. package/lib/utils/file.js +7 -3
  192. package/lib/utils/form.js +3 -1
  193. package/lib/utils/map/hook/bigMap.js +18 -5
  194. package/lib/utils/map/hook/gaode.js +4 -1
  195. package/lib/utils/map/hook/leafletjs.js +29 -8
  196. package/lib/utils/map/index.js +0 -1
  197. package/lib/utils/useUiComponent.js +3 -1
  198. package/lib/version.js +1 -1
  199. package/package.json +8 -8
  200. /package/es/components/hyVideoPlayer/{style → hyVideoPlayer/style}/videoPlayer.scss +0 -0
  201. /package/lib/components/hyVideoPlayer/{style → hyVideoPlayer/style}/videoPlayer.scss +0 -0
@@ -80,16 +80,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
80
80
  },
81
81
  emits: [],
82
82
  setup(__props, { expose: __expose, emit: __emit }) {
83
+ ;
83
84
  const props = __props;
84
85
  const emits = __emit;
85
- const {
86
- selDeviceList,
87
- hyDeviceTreeRef,
88
- deleteFn,
89
- onCheckTreeFn,
90
- clearAllFn,
91
- getData
92
- } = useMixins({ props, emits }, [useHySelectDeviceTree]);
86
+ const { selDeviceList, hyDeviceTreeRef, deleteFn, onCheckTreeFn, clearAllFn, getData } = useMixins({ props, emits }, [useHySelectDeviceTree]);
93
87
  __expose({
94
88
  getData
95
89
  });
@@ -157,6 +157,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
157
157
  "on-selectedDataList"
158
158
  ],
159
159
  setup(__props, { expose: __expose, emit: __emit }) {
160
+ ;
160
161
  const props = __props;
161
162
  const emits = __emit;
162
163
  const slots = useSlots();
@@ -87,8 +87,16 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
87
87
  type: Function
88
88
  }
89
89
  },
90
- emits: ["canplay", "timeupdate", "play-start", "play-ended", "play-previous", "play-next"],
90
+ emits: [
91
+ "canplay",
92
+ "timeupdate",
93
+ "play-start",
94
+ "play-ended",
95
+ "play-previous",
96
+ "play-next"
97
+ ],
91
98
  setup(__props, { expose: __expose, emit: __emit }) {
99
+ ;
92
100
  const props = __props;
93
101
  const emits = __emit;
94
102
  const audioWrapperRef = useTemplateRef("audioWrapperRef");
@@ -114,6 +114,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
114
114
  "onDialogMousedown"
115
115
  ], ["update:modelValue"]),
116
116
  setup(__props, { expose: __expose, emit: __emit }) {
117
+ ;
117
118
  const props = __props;
118
119
  const emits = __emit;
119
120
  const batchTableFormRef = useTemplateRef("batchTableFormRef");
@@ -50,6 +50,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
50
50
  },
51
51
  emits: ["click"],
52
52
  setup(__props, { emit: __emit }) {
53
+ ;
53
54
  const props = __props;
54
55
  const typeObj = {
55
56
  default: "hy-button_default",
@@ -35,6 +35,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
35
35
  }),
36
36
  emits: /* @__PURE__ */ mergeModels(["change"], ["update:modelValue"]),
37
37
  setup(__props, { expose: __expose, emit: __emit }) {
38
+ ;
38
39
  const props = __props;
39
40
  const emits = __emit;
40
41
  const modelValue = useModel(__props, "modelValue");
@@ -49,47 +49,48 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
49
49
  required: false
50
50
  },
51
51
  /**
52
- * @param {
53
- * locale: 'zh_CN' | 'en_US'
54
- * api: object | function
55
- * userAvatarMap: Map<string, string>,
56
- * permissionMap: Map<string, boolean>,
57
- * audioPlayer: {
58
- type: 'default' | 'analyse',
59
- speed: 0.5 | 1.0 | 1.5 | 2.0 | 3.0,
60
- playRules: 1 | 2 | 3,
61
- showPlayRules: boolean,
62
- showPicture: boolean,
63
- showDownloadFiles: boolean,
64
- downloadFn: () => void,
65
- }
66
- * videoPlayer: {
67
- type: 'default' | 'analyse',
68
- speed: 0.5 | 1.0 | 1.5 | 2.0 | 3.0,
69
- playRules: 1 | 2 | 3,
70
- showPlayRules: boolean,
71
- showDownloadFiles: boolean,
72
- showShrink: boolean,
73
- vlcProtocol: 'hyvlc',
74
- vlcAddress: string,
75
- downloadFn: () => void,
76
- }
77
- * ensureHyIcon: (icon: string) => void
78
- * tooltip: {
79
- isAlways: boolean,
80
- overLine: number,
81
- }
82
- * mapConfig: object
83
- * baseMainStore: function
84
- * currentBus: object
85
- * } hyConfig
86
- */
52
+ * @param {
53
+ * locale: 'zh_CN' | 'en_US'
54
+ * api: object | function
55
+ * userAvatarMap: Map<string, string>,
56
+ * permissionMap: Map<string, boolean>,
57
+ * audioPlayer: {
58
+ type: 'default' | 'analyse',
59
+ speed: 0.5 | 1.0 | 1.5 | 2.0 | 3.0,
60
+ playRules: 1 | 2 | 3,
61
+ showPlayRules: boolean,
62
+ showPicture: boolean,
63
+ showDownloadFiles: boolean,
64
+ downloadFn: () => void,
65
+ }
66
+ * videoPlayer: {
67
+ type: 'default' | 'analyse',
68
+ speed: 0.5 | 1.0 | 1.5 | 2.0 | 3.0,
69
+ playRules: 1 | 2 | 3,
70
+ showPlayRules: boolean,
71
+ showDownloadFiles: boolean,
72
+ showShrink: boolean,
73
+ vlcProtocol: 'hyvlc',
74
+ vlcAddress: string,
75
+ downloadFn: () => void,
76
+ }
77
+ * ensureHyIcon: (icon: string) => void
78
+ * tooltip: {
79
+ isAlways: boolean,
80
+ overLine: number,
81
+ }
82
+ * mapConfig: object
83
+ * baseMainStore: function
84
+ * currentBus: object
85
+ * } hyConfig
86
+ */
87
87
  hyConfig: {
88
88
  type: Object,
89
89
  default: () => ({})
90
90
  }
91
91
  },
92
92
  setup(__props) {
93
+ ;
93
94
  const props = __props;
94
95
  const globalConfig = provideGlobalConfig(props, null, !unref(useGlobalConfig()));
95
96
  const config = computed(() => {
@@ -70,6 +70,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
70
70
  }),
71
71
  emits: /* @__PURE__ */ mergeModels(["hide"], ["update:modelValue"]),
72
72
  setup(__props, { expose: __expose, emit: __emit }) {
73
+ ;
73
74
  const props = __props;
74
75
  const emits = __emit;
75
76
  const visible = useModel(__props, "modelValue");
@@ -78,6 +78,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
78
78
  }),
79
79
  emits: /* @__PURE__ */ mergeModels(["confirm"], ["update:modelValue"]),
80
80
  setup(__props, { expose: __expose, emit: __emit }) {
81
+ ;
81
82
  const props = __props;
82
83
  const emits = __emit;
83
84
  const modelValue = useModel(__props, "modelValue");
@@ -201,7 +202,15 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
201
202
  }
202
203
  __expose({
203
204
  open: async (params) => {
204
- const { url, fileName = "img.png", options: options2, file, onSubmit, onCancel, onClose } = params || {};
205
+ const {
206
+ url,
207
+ fileName = "img.png",
208
+ options: options2,
209
+ file,
210
+ onSubmit,
211
+ onCancel,
212
+ onClose
213
+ } = params || {};
205
214
  if (file) {
206
215
  const result = await blobToDataURL(file);
207
216
  openCutter(result, file.name);
@@ -48,6 +48,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
48
48
  }),
49
49
  emits: /* @__PURE__ */ mergeModels(["change"], ["update:modelValue", "update:start", "update:end"]),
50
50
  setup(__props, { expose: __expose, emit: __emit }) {
51
+ ;
51
52
  const props = __props;
52
53
  const emits = __emit;
53
54
  const appDatePicker = useTemplateRef("appDatePicker");
@@ -95,6 +95,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
95
95
  }),
96
96
  emits: /* @__PURE__ */ mergeModels(["onMinimized", "onDialogMousedown"], ["update:modelValue", "update:loading"]),
97
97
  setup(__props, { expose: __expose, emit: __emit }) {
98
+ ;
98
99
  const props = __props;
99
100
  const emits = __emit;
100
101
  const visible = useModel(__props, "modelValue");
@@ -32,6 +32,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
32
32
  }),
33
33
  emits: /* @__PURE__ */ mergeModels([], ["update:modelValue"]),
34
34
  setup(__props, { expose: __expose, emit: __emit }) {
35
+ ;
35
36
  const props = __props;
36
37
  const emits = __emit;
37
38
  const drawer = useModel(__props, "modelValue");
@@ -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);