hy-dispatch-ui-v3 0.2.66 → 0.2.68

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 (288) hide show
  1. package/dist/tailwind.css +257 -21
  2. package/es/api/device.mjs +2 -3
  3. package/es/api/exportExcel.mjs +57 -0
  4. package/es/api/index.mjs +27 -16
  5. package/es/api/mapRail.mjs +31 -0
  6. package/es/api/organization.mjs +17 -9
  7. package/es/api/rule.mjs +30 -0
  8. package/es/api/sypct.mjs +2 -3
  9. package/es/api/task.mjs +2 -3
  10. package/es/bussiness/hyAddDepartmentType/addDepartmentType.vue.mjs +18 -19
  11. package/es/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +28 -28
  12. package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.mjs +511 -0
  13. package/es/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.mjs +169 -0
  14. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.mjs +318 -0
  15. package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.mjs +123 -0
  16. package/es/bussiness/hyElectronicFence/electronicFence.vue.mjs +358 -0
  17. package/es/bussiness/hyElectronicFence/index.mjs +13 -0
  18. package/es/bussiness/hyElectronicFence/style/electronicFence.scss +0 -0
  19. package/es/bussiness/hyMapAearchPlace/js/index.mjs +1 -1
  20. package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +4 -6
  21. package/es/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
  22. package/es/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.mjs +270 -0
  23. package/es/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.mjs +251 -0
  24. package/es/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.mjs +251 -0
  25. package/es/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.mjs +395 -0
  26. package/es/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.mjs +651 -0
  27. package/es/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.mjs +357 -0
  28. package/es/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.mjs +261 -0
  29. package/es/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.mjs +360 -0
  30. package/es/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.mjs +240 -0
  31. package/es/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.mjs +258 -0
  32. package/es/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.mjs +240 -0
  33. package/es/bussiness/hyRuleSetting/index.mjs +15 -0
  34. package/es/bussiness/hyRuleSetting/js/ruleSetting.mjs +65 -0
  35. package/es/bussiness/hyRuleSetting/ruleSetting.vue.mjs +129 -0
  36. package/es/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
  37. package/es/bussiness/index.mjs +2 -0
  38. package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +5 -13
  39. package/es/components/hyAudioPlayer/js/index.mjs +9 -14
  40. package/es/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
  41. package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +174 -142
  42. package/es/components/hyButton/button.vue.mjs +18 -5
  43. package/es/components/hyButton/style/button.scss +50 -74
  44. package/es/components/hyCheckboxGroup/checkboxGroup.vue.mjs +119 -0
  45. package/es/components/hyCheckboxGroup/index.mjs +7 -0
  46. package/es/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
  47. package/es/components/hyConfigProvider/configProvider.vue.mjs +51 -38
  48. package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +57 -62
  49. package/es/components/hyConfirmDialog/confirmMethod.mjs +24 -22
  50. package/es/components/hyCutter/cutter.vue.mjs +9 -23
  51. package/es/components/hyDatePicker/datePicker.vue.mjs +12 -17
  52. package/es/components/hyDialog/dialog.vue.mjs +5 -9
  53. package/es/components/hyDialog/style/dialog.scss +12 -13
  54. package/es/components/hyDrawer/drawer.vue.mjs +100 -0
  55. package/es/components/hyDrawer/index.mjs +7 -0
  56. package/es/components/hyDrawer/style/drawer.scss +0 -0
  57. package/es/components/hyForm/cpns/arrayItem.vue.mjs +10 -28
  58. package/es/components/hyForm/cpns/arrayItem2.vue.mjs +198 -0
  59. package/es/components/hyForm/cpns/extraItem.vue.mjs +2 -3
  60. package/es/components/hyForm/cpns/formItem.vue.mjs +149 -69
  61. package/es/components/hyForm/cpns/locationSelect.vue.mjs +26 -26
  62. package/es/components/hyForm/form.vue.mjs +74 -28
  63. package/es/components/hyForm/js/index.mjs +4 -8
  64. package/es/components/hyForm/js/useAppForm.mjs +4 -9
  65. package/es/components/hyForm/style/form.scss +4 -13
  66. package/es/components/hyIcon/icon.vue.mjs +3 -3
  67. package/es/components/hyIconBox/style/iconBox.scss +2 -6
  68. package/es/components/hyInput/inputSearch.vue.mjs +8 -11
  69. package/es/components/hyInput/style/inputSearch.scss +3 -0
  70. package/es/components/hyLoading/index.mjs +3 -5
  71. package/es/components/hyMap/js/index.mjs +35 -10
  72. package/es/components/hyMap/map.vue.mjs +30 -6
  73. package/es/components/hyMenu/style/menu.scss +5 -15
  74. package/es/components/hyNoPermissions/noPermissions.vue.mjs +3 -4
  75. package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +3 -6
  76. package/es/components/hyOrgCascader/js/index.mjs +1 -5
  77. package/es/components/hyOrgCascader/orgCascader.vue.mjs +31 -12
  78. package/es/components/hyOrgCascader/style/orgCascader.scss +7 -0
  79. package/es/components/hyRadioGroup/radioGroup.vue.mjs +48 -41
  80. package/es/components/hyRadioGroup/style/radioGroup.scss +9 -0
  81. package/es/components/hySearch/cpns/searchItem.vue.mjs +409 -324
  82. package/es/components/hySearch/js/index.mjs +1 -4
  83. package/es/components/hySearch/js/useAppSearch.mjs +5 -10
  84. package/es/components/hySearch/search.vue.mjs +23 -20
  85. package/es/components/hySearch/style/search.scss +9 -0
  86. package/es/components/hyStatus/index.mjs +7 -0
  87. package/es/components/hyStatus/status.vue.mjs +110 -0
  88. package/es/components/hyStatus/style/status.scss +0 -0
  89. package/es/components/hyTable/cpns/columnSelect.vue.mjs +24 -28
  90. package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +8 -9
  91. package/es/components/hyTable/cpns/headerItem.vue.mjs +2 -2
  92. package/es/components/hyTable/cpns/virtualTable.vue.mjs +43 -34
  93. package/es/components/hyTable/js/index.mjs +67 -64
  94. package/es/components/hyTable/js/search.mjs +25 -1
  95. package/es/components/hyTable/js/useAppTable.mjs +3 -4
  96. package/es/components/hyTable/style/table.scss +8 -0
  97. package/es/components/hyTable/table.vue.mjs +68 -53
  98. package/es/components/hyTableActionButton/tableActionButton.vue.mjs +13 -6
  99. package/es/components/hyTableForm/batchTableForm.vue.mjs +26 -9
  100. package/es/components/hyTableForm/js/index.mjs +2 -8
  101. package/es/components/hyTableForm/js/useAppTableForm.mjs +3 -8
  102. package/es/components/hyTableForm/style/batchTableForm.scss +26 -54
  103. package/es/components/hyTableForm/style/tableForm.scss +3 -2
  104. package/es/components/hyTableForm/tableForm.vue.mjs +160 -70
  105. package/es/components/hyTimePicker/timePicker.vue.mjs +4 -5
  106. package/es/components/hyTree/js/index.mjs +113 -72
  107. package/es/components/hyTree/style/index.css +1 -1
  108. package/es/components/hyTree/tree.vue.mjs +21 -18
  109. package/es/components/hyUserAvatar/userAvatar.vue.mjs +3 -6
  110. package/es/components/hyVideoPlayer/js/index.mjs +14 -23
  111. package/es/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
  112. package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +16 -26
  113. package/es/components/index.mjs +3 -0
  114. package/es/hooks/index.mjs +6 -2
  115. package/es/hooks/useAudioPlayerConfig.mjs +1 -3
  116. package/es/hooks/useBaseMainStore.mjs +29 -0
  117. package/es/hooks/useCurrentBus.mjs +20 -0
  118. package/es/hooks/useDialog.mjs +327 -0
  119. package/es/hooks/useExportFile.mjs +133 -0
  120. package/es/hooks/useGlobalConfig.mjs +10 -6
  121. package/es/hooks/useLocale.mjs +22 -12
  122. package/es/hooks/usePermissionMap.mjs +1 -3
  123. package/es/hooks/useResizeHandler.mjs +1 -4
  124. package/es/hooks/useResizeObserver.mjs +3 -1
  125. package/es/hooks/useSubscribe.mjs +2 -2
  126. package/es/hooks/useUserAvatarMap.mjs +1 -3
  127. package/es/hooks/useVideoPlayerConfig.mjs +1 -3
  128. package/es/index.mjs +11 -2
  129. package/es/locale/{en.mjs → en_US.mjs} +79 -4
  130. package/es/locale/index.mjs +2 -2
  131. package/es/locale/zh_CN.mjs +79 -2
  132. package/es/style/index.scss +0 -1
  133. package/es/style/tailwind.scss +7 -4
  134. package/es/utils/adaptive.mjs +1 -3
  135. package/es/utils/form.mjs +7 -10
  136. package/es/utils/handler.mjs +4 -8
  137. package/es/utils/input.mjs +8 -9
  138. package/es/utils/is.mjs +3 -1
  139. package/es/utils/map/hook/bigMap.mjs +16 -53
  140. package/es/utils/map/hook/gaode.mjs +53 -33
  141. package/es/utils/map/hook/leafletjs.mjs +38 -82
  142. package/es/utils/map/index.mjs +3 -9
  143. package/es/utils/map/js/webgis.mjs +12 -12
  144. package/es/version.mjs +1 -1
  145. package/lib/api/device.js +2 -3
  146. package/lib/api/exportExcel.js +62 -0
  147. package/lib/api/index.js +27 -16
  148. package/lib/api/mapRail.js +34 -0
  149. package/lib/api/organization.js +17 -8
  150. package/lib/api/rule.js +33 -0
  151. package/lib/api/sypct.js +2 -3
  152. package/lib/api/task.js +2 -3
  153. package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +17 -18
  154. package/lib/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +28 -28
  155. package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +515 -0
  156. package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.js +173 -0
  157. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.js +322 -0
  158. package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.vue.js +127 -0
  159. package/lib/bussiness/hyElectronicFence/electronicFence.vue.js +362 -0
  160. package/lib/bussiness/hyElectronicFence/index.js +21 -0
  161. package/lib/bussiness/hyElectronicFence/style/electronicFence.scss +0 -0
  162. package/lib/bussiness/hyMapAearchPlace/js/index.js +1 -1
  163. package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +4 -6
  164. package/lib/bussiness/hyMapAearchPlace/style/mapAearchPlace.scss +4 -3
  165. package/lib/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.vue.js +274 -0
  166. package/lib/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.vue.js +255 -0
  167. package/lib/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.vue.js +255 -0
  168. package/lib/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.vue.js +399 -0
  169. package/lib/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.vue.js +655 -0
  170. package/lib/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.vue.js +361 -0
  171. package/lib/bussiness/hyRuleSetting/cpns/sedentary/sedentary.vue.js +265 -0
  172. package/lib/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.vue.js +364 -0
  173. package/lib/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.vue.js +244 -0
  174. package/lib/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.vue.js +262 -0
  175. package/lib/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.vue.js +244 -0
  176. package/lib/bussiness/hyRuleSetting/index.js +24 -0
  177. package/lib/bussiness/hyRuleSetting/js/ruleSetting.js +68 -0
  178. package/lib/bussiness/hyRuleSetting/ruleSetting.vue.js +133 -0
  179. package/lib/bussiness/hyRuleSetting/style/ruleSetting.scss +0 -0
  180. package/lib/bussiness/index.js +21 -10
  181. package/lib/components/hyAudioPlayer/audioPlayer.vue.js +5 -13
  182. package/lib/components/hyAudioPlayer/js/index.js +9 -14
  183. package/lib/components/hyAudioPlayer/style/audioPlayer.scss +7 -2
  184. package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +173 -141
  185. package/lib/components/hyButton/button.vue.js +17 -4
  186. package/lib/components/hyButton/style/button.scss +50 -74
  187. package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +123 -0
  188. package/lib/components/hyCheckboxGroup/index.js +12 -0
  189. package/lib/components/hyCheckboxGroup/style/checkboxGroup.scss +58 -0
  190. package/lib/components/hyConfigProvider/configProvider.vue.js +50 -56
  191. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +56 -61
  192. package/lib/components/hyConfirmDialog/confirmMethod.js +23 -21
  193. package/lib/components/hyCutter/cutter.vue.js +8 -22
  194. package/lib/components/hyDatePicker/datePicker.vue.js +11 -16
  195. package/lib/components/hyDialog/dialog.vue.js +5 -9
  196. package/lib/components/hyDialog/style/dialog.scss +12 -13
  197. package/lib/components/hyDrawer/drawer.vue.js +104 -0
  198. package/lib/components/hyDrawer/index.js +12 -0
  199. package/lib/components/hyDrawer/style/drawer.scss +0 -0
  200. package/lib/components/hyForm/cpns/arrayItem.vue.js +9 -27
  201. package/lib/components/hyForm/cpns/arrayItem2.vue.js +202 -0
  202. package/lib/components/hyForm/cpns/extraItem.vue.js +2 -3
  203. package/lib/components/hyForm/cpns/formItem.vue.js +148 -68
  204. package/lib/components/hyForm/cpns/locationSelect.vue.js +26 -26
  205. package/lib/components/hyForm/form.vue.js +69 -23
  206. package/lib/components/hyForm/js/index.js +3 -7
  207. package/lib/components/hyForm/js/useAppForm.js +4 -9
  208. package/lib/components/hyForm/style/form.scss +4 -13
  209. package/lib/components/hyIcon/icon.vue.js +3 -3
  210. package/lib/components/hyIconBox/style/iconBox.scss +2 -6
  211. package/lib/components/hyInput/inputSearch.vue.js +7 -10
  212. package/lib/components/hyInput/style/inputSearch.scss +3 -0
  213. package/lib/components/hyLoading/index.js +2 -4
  214. package/lib/components/hyMap/js/index.js +34 -9
  215. package/lib/components/hyMap/map.vue.js +29 -5
  216. package/lib/components/hyMenu/style/menu.scss +5 -15
  217. package/lib/components/hyNoPermissions/noPermissions.vue.js +3 -4
  218. package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +3 -6
  219. package/lib/components/hyOrgCascader/js/index.js +1 -5
  220. package/lib/components/hyOrgCascader/orgCascader.vue.js +29 -10
  221. package/lib/components/hyOrgCascader/style/orgCascader.scss +7 -0
  222. package/lib/components/hyRadioGroup/radioGroup.vue.js +47 -40
  223. package/lib/components/hyRadioGroup/style/radioGroup.scss +9 -0
  224. package/lib/components/hySearch/cpns/searchItem.vue.js +407 -322
  225. package/lib/components/hySearch/js/index.js +1 -4
  226. package/lib/components/hySearch/js/useAppSearch.js +5 -10
  227. package/lib/components/hySearch/search.vue.js +23 -20
  228. package/lib/components/hySearch/style/search.scss +9 -0
  229. package/lib/components/hyStatus/index.js +12 -0
  230. package/lib/components/hyStatus/status.vue.js +114 -0
  231. package/lib/components/hyStatus/style/status.scss +0 -0
  232. package/lib/components/hyTable/cpns/columnSelect.vue.js +22 -26
  233. package/lib/components/hyTable/cpns/columnSelectItem.vue.js +7 -8
  234. package/lib/components/hyTable/cpns/headerItem.vue.js +2 -2
  235. package/lib/components/hyTable/cpns/virtualTable.vue.js +41 -32
  236. package/lib/components/hyTable/js/index.js +65 -61
  237. package/lib/components/hyTable/js/search.js +25 -1
  238. package/lib/components/hyTable/js/useAppTable.js +2 -3
  239. package/lib/components/hyTable/style/table.scss +8 -0
  240. package/lib/components/hyTable/table.vue.js +67 -52
  241. package/lib/components/hyTableActionButton/tableActionButton.vue.js +13 -6
  242. package/lib/components/hyTableForm/batchTableForm.vue.js +26 -9
  243. package/lib/components/hyTableForm/js/index.js +2 -8
  244. package/lib/components/hyTableForm/js/useAppTableForm.js +3 -8
  245. package/lib/components/hyTableForm/style/batchTableForm.scss +26 -54
  246. package/lib/components/hyTableForm/style/tableForm.scss +3 -2
  247. package/lib/components/hyTableForm/tableForm.vue.js +159 -69
  248. package/lib/components/hyTimePicker/timePicker.vue.js +3 -4
  249. package/lib/components/hyTree/js/index.js +113 -72
  250. package/lib/components/hyTree/style/index.css +1 -1
  251. package/lib/components/hyTree/tree.vue.js +21 -18
  252. package/lib/components/hyUserAvatar/userAvatar.vue.js +3 -6
  253. package/lib/components/hyVideoPlayer/js/index.js +14 -23
  254. package/lib/components/hyVideoPlayer/style/videoPlayer.scss +5 -7
  255. package/lib/components/hyVideoPlayer/videoPlayer.vue.js +16 -26
  256. package/lib/components/index.js +46 -40
  257. package/lib/hooks/index.js +17 -0
  258. package/lib/hooks/useAudioPlayerConfig.js +1 -3
  259. package/lib/hooks/useBaseMainStore.js +32 -0
  260. package/lib/hooks/useCurrentBus.js +23 -0
  261. package/lib/hooks/useDialog.js +331 -0
  262. package/lib/hooks/useExportFile.js +135 -0
  263. package/lib/hooks/useGlobalConfig.js +10 -6
  264. package/lib/hooks/useLocale.js +25 -11
  265. package/lib/hooks/usePermissionMap.js +1 -3
  266. package/lib/hooks/useResizeHandler.js +1 -4
  267. package/lib/hooks/useResizeObserver.js +3 -1
  268. package/lib/hooks/useSubscribe.js +2 -1
  269. package/lib/hooks/useUserAvatarMap.js +1 -3
  270. package/lib/hooks/useVideoPlayerConfig.js +1 -3
  271. package/lib/index.js +107 -73
  272. package/lib/locale/{en.js → en_US.js} +79 -4
  273. package/lib/locale/index.js +3 -3
  274. package/lib/locale/zh_CN.js +79 -2
  275. package/lib/style/index.scss +0 -1
  276. package/lib/style/tailwind.scss +7 -4
  277. package/lib/utils/adaptive.js +1 -3
  278. package/lib/utils/form.js +6 -9
  279. package/lib/utils/handler.js +3 -7
  280. package/lib/utils/input.js +7 -8
  281. package/lib/utils/is.js +5 -3
  282. package/lib/utils/map/hook/bigMap.js +16 -53
  283. package/lib/utils/map/hook/gaode.js +53 -33
  284. package/lib/utils/map/hook/leafletjs.js +38 -82
  285. package/lib/utils/map/index.js +3 -9
  286. package/lib/utils/map/js/webgis.js +12 -12
  287. package/lib/version.js +1 -1
  288. package/package.json +3 -2
@@ -9,10 +9,10 @@ require('../../utils/index.js');
9
9
  var formItem = require('./cpns/formItem.vue.js');
10
10
  var extraItem = require('./cpns/extraItem.vue.js');
11
11
  var arrayItem = require('./cpns/arrayItem.vue.js');
12
+ var arrayItem2 = require('./cpns/arrayItem2.vue.js');
12
13
  var locationSelect = require('./cpns/locationSelect.vue.js');
13
14
  var index = require('./js/index.js');
14
15
  var useAppForm = require('./js/useAppForm.js');
15
- var useLocale = require('../../hooks/useLocale.js');
16
16
  var is = require('../../utils/is.js');
17
17
 
18
18
  import "./style/form.scss";
@@ -54,14 +54,22 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
54
54
  type: String,
55
55
  default: "default"
56
56
  // 'large' | 'default' | 'small'
57
+ },
58
+ showMessage: {
59
+ type: Boolean,
60
+ default: true
61
+ },
62
+ isTableForm: {
63
+ type: Boolean,
64
+ default: false
57
65
  }
58
66
  },
59
- emits: ["on-allMapSelect", "complete"],
67
+ emits: ["on-allMapSelect", "complete", "optionsStatus"],
60
68
  setup(__props, { expose: __expose, emit: __emit }) {
61
69
  const props = __props;
62
70
  const emits = __emit;
63
- const { t } = useLocale.useLocale();
64
71
  const formTemplateRef = vue.useTemplateRef("formTemplateRef");
72
+ const validateTriggerId = vue.inject("validateTriggerId", vue.ref(0));
65
73
  const formColumnMap = vue.computed(() => {
66
74
  return (props.columns || []).reduce((map, column) => {
67
75
  if (is.isArray(column.field)) {
@@ -92,31 +100,34 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
92
100
  fields.push(field);
93
101
  }
94
102
  const removeField = (field) => {
95
- if (vue.unref(field.columnAttrs)) {
103
+ if (field.propString) {
96
104
  fields.splice(fields.indexOf(field), 1);
97
105
  }
98
106
  };
99
107
  function filterFields(fields2 = [], keys = []) {
100
108
  const filterKeys = keys.map((prop) => is.isArray(prop) ? prop.join(".") : prop);
101
- return filterKeys.length ? fields2.filter(
102
- (field) => field.propString && filterKeys.includes(field.propString)
103
- ) : fields2;
109
+ return filterKeys.length ? fields2.filter((field) => field.propString && filterKeys.includes(field.propString)) : fields2;
104
110
  }
105
- async function obtainOptionsFields(keys) {
111
+ async function obtainOptionsFields(keys, isMountedLoad = false) {
106
112
  const filteredFields = filterFields(fields, keys);
107
- await Promise.allSettled(filteredFields.map((field) => field.obtainOptions()));
113
+ await Promise.allSettled(filteredFields.map((field) => field.obtainOptions(isMountedLoad)));
108
114
  }
109
- async function getOptions() {
110
- await obtainOptionsFields();
115
+ async function getOptions(isMountedLoad = false) {
116
+ await obtainOptionsFields([], isMountedLoad);
117
+ emitOptionsStatus();
111
118
  }
112
119
  async function getOptionsFields(keys) {
113
120
  await obtainOptionsFields(keys);
121
+ emitOptionsStatus();
114
122
  }
115
123
  async function getOptionsError() {
116
- const filteredFields = fields.filter(
117
- (field) => field.propString && field.optionsError
118
- );
124
+ const filteredFields = fields.filter((field) => field.propString && field.optionsError);
119
125
  await Promise.allSettled(filteredFields.map((field) => field.obtainOptions()));
126
+ emitOptionsStatus();
127
+ }
128
+ function emitOptionsStatus() {
129
+ const hasError = fields.some((item) => item.optionsError === "error");
130
+ emits("optionsStatus", { result: !hasError });
120
131
  }
121
132
  vue.provide(
122
133
  index.formContextKey,
@@ -124,11 +135,16 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
124
135
  ...vue.toRefs(props),
125
136
  emits,
126
137
  addField,
127
- removeField
138
+ removeField,
139
+ emitOptionsStatus
128
140
  })
129
141
  );
130
142
  vue.onMounted(() => {
131
- getOptions();
143
+ getOptions(true);
144
+ vue.watch(validateTriggerId, () => {
145
+ vue.unref(formTemplateRef).validate(() => {
146
+ });
147
+ });
132
148
  });
133
149
  __expose({
134
150
  validate: async (callback) => {
@@ -162,10 +178,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
162
178
  await vue.nextTick();
163
179
  return vue.unref(formTemplateRef).getField(fields2);
164
180
  },
165
- setMarker: (latlng) => {
181
+ setMarker: async (latlng, getAddress = false) => {
166
182
  if (locationSelectRef.value) {
167
- is.isArray(locationSelectRef.value) ? locationSelectRef.value.map((item) => item.setMarker(latlng)) : locationSelectRef.value.setMarker(latlng);
183
+ if (is.isArray(locationSelectRef.value)) {
184
+ await Promise.all(
185
+ locationSelectRef.value.map(
186
+ (item) => item.setMarker(latlng, getAddress)
187
+ )
188
+ );
189
+ } else {
190
+ await locationSelectRef.value.setMarker(latlng, getAddress);
191
+ }
168
192
  }
193
+ return 200;
169
194
  },
170
195
  clearMarker: () => {
171
196
  if (locationSelectRef.value) {
@@ -223,10 +248,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
223
248
  "div",
224
249
  {
225
250
  key: 0,
226
- class: vue.normalizeClass(["w-full flex items-center text-theme whitespace-nowrap relative mb-3 mt-1", [
227
- __props.size === "small" ? "text-xs" : "text-sm",
228
- allMapSelect.value ? "hidden" : ""
229
- ]]),
251
+ class: vue.normalizeClass(["w-full flex items-center text-theme whitespace-nowrap relative mb-3 mt-1", [__props.size === "small" ? "text-xs" : "text-sm", allMapSelect.value ? "hidden" : ""]]),
230
252
  style: vue.normalizeStyle(vue.unref(index.columnItemStyle)(props, column))
231
253
  },
232
254
  [
@@ -287,7 +309,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
287
309
  { key: 2 },
288
310
  [
289
311
  vue.createCommentVNode(" \u8868\u5355\u6570\u7EC4 "),
290
- vue.unref(index.columnShowHandler)(props, column) ? (vue.openBlock(), vue.createBlock(arrayItem.default, {
312
+ !__props.isTableForm && vue.unref(index.columnShowHandler)(props, column) ? (vue.openBlock(), vue.createBlock(arrayItem.default, {
291
313
  key: 0,
292
314
  class: vue.normalizeClass([allMapSelect.value ? "hidden" : ""]),
293
315
  model: __props.model,
@@ -311,6 +333,30 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
311
333
  ])
312
334
  };
313
335
  })
336
+ ]), 1032, ["class", "model", "column", "rules", "columnNum", "loading", "disabled", "readonly", "size", "style"])) : __props.isTableForm && vue.unref(index.columnShowHandler)(props, column) ? (vue.openBlock(), vue.createBlock(arrayItem2.default, {
337
+ key: 1,
338
+ class: vue.normalizeClass([allMapSelect.value ? "hidden" : ""]),
339
+ model: __props.model,
340
+ column,
341
+ rules: __props.rules,
342
+ columnNum: __props.columnNum,
343
+ loading: __props.loading,
344
+ disabled: __props.disabled,
345
+ readonly: __props.readonly,
346
+ size: __props.size,
347
+ style: vue.normalizeStyle(vue.unref(index.columnItemStyle)(props, column))
348
+ }, vue.createSlots({
349
+ _: 2
350
+ /* DYNAMIC */
351
+ }, [
352
+ vue.renderList(_ctx.$slots, (_, slotName) => {
353
+ return {
354
+ name: slotName,
355
+ fn: vue.withCtx((scope) => [
356
+ vue.renderSlot(_ctx.$slots, slotName, vue.mergeProps({ ref_for: true }, scope))
357
+ ])
358
+ };
359
+ })
314
360
  ]), 1032, ["class", "model", "column", "rules", "columnNum", "loading", "disabled", "readonly", "size", "style"])) : vue.createCommentVNode("v-if", true)
315
361
  ],
316
362
  64
@@ -90,9 +90,7 @@ function renderText(props, column = {}) {
90
90
  }
91
91
  if (/^(select|radio|checkbox)$/.test(type)) {
92
92
  const optionList = optionsHandler(props, column);
93
- const target = optionList.find(
94
- (item) => item[fieldNames.value] === columnValue
95
- );
93
+ const target = optionList.find((item) => item[fieldNames.value] === columnValue);
96
94
  return target?.[fieldNames.label] || columnValue || "";
97
95
  }
98
96
  if (Array.isArray(field)) {
@@ -104,16 +102,14 @@ function renderText(props, column = {}) {
104
102
  return columnValue || "";
105
103
  }
106
104
  function renderArrayItemLabel(props, column, index) {
107
- const { t } = useLocale.useLocale();
108
105
  const itemLabel = vue.unref(column.itemLabel);
109
106
  if (is.isFunction(itemLabel)) return itemLabel(column, index);
110
- return (itemLabel || t("form.dynamicFormItem")) + ` ${index + 1}`;
107
+ return (itemLabel || useLocale.$t("form.dynamicFormItem")) + ` ${index + 1}`;
111
108
  }
112
109
  function renderAddLabel(props, column) {
113
- const { t } = useLocale.useLocale();
114
110
  let addLabel = vue.unref(column.addLabel);
115
111
  if (is.isFunction(addLabel)) return addLabel();
116
- return addLabel || t("form.addFormItem");
112
+ return addLabel || useLocale.$t("form.addFormItem");
117
113
  }
118
114
  function optionsHandler(props, column) {
119
115
  const options = vue.unref(column.attrs.options);
@@ -1,7 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  var vue = require('vue');
4
- require('../../../hooks/index.js');
5
4
  require('../../../utils/index.js');
6
5
  var form = require('../../../utils/form.js');
7
6
  var handler = require('../../../utils/handler.js');
@@ -25,11 +24,11 @@ function appFormItemHandler(column = {}) {
25
24
  return {
26
25
  ...column,
27
26
  attrs: {
28
- maxlength: attrs.type === "textarea" ? 255 : attrs.type === "text" ? 100 : void 0,
27
+ maxlength: attrs.type === "text" ? 255 : void 0,
29
28
  ...attrs
30
29
  }
31
30
  };
32
- } else if (/^(radio|radio-group|checkbox|select|select-v2)$/.test(column.type)) {
31
+ } else if (/^(radio|radio-group|checkbox|checkbox-group|select|select-v2)$/.test(column.type)) {
33
32
  return {
34
33
  ...column,
35
34
  attrs: {
@@ -50,7 +49,7 @@ function appFormItemHandler(column = {}) {
50
49
  };
51
50
  } else if (/^(array)$/.test(column.type)) {
52
51
  return {
53
- height: 500,
52
+ height: void 0,
54
53
  emptyChildren: false,
55
54
  ...column,
56
55
  children: (column.children || []).map((item) => appFormItemHandler(item))
@@ -83,11 +82,7 @@ const resetAppFormValue = (columns = [], obj = {}) => {
83
82
  resetAppFormValue(item.children, obj);
84
83
  } else if (Array.isArray(item.prop)) {
85
84
  for (let i = 0; i < item.prop.length; i++) {
86
- form.genValueByProp(
87
- obj,
88
- item.prop[i],
89
- Array.isArray(value) ? value[i] : void 0
90
- );
85
+ form.genValueByProp(obj, item.prop[i], Array.isArray(value) ? value[i] : void 0);
91
86
  }
92
87
  } else {
93
88
  form.genValueByProp(obj, item.prop, value);
@@ -25,6 +25,7 @@
25
25
  transition: all 0.1s linear;
26
26
  user-select: none;
27
27
  z-index: 2;
28
+ box-sizing: border-box;
28
29
  .hy-form-extra-arrow {
29
30
  transform: rotateZ(90deg) rotateY(0deg);
30
31
  transition: all 0.3s linear;
@@ -34,11 +35,7 @@
34
35
  border-color: rgba(var(--hy-theme));
35
36
  box-shadow: 0px 0px 12px 1px rgba(var(--hy-theme), 0.5);
36
37
  & + .hy-form-extra-line {
37
- background: radial-gradient(
38
- circle,
39
- rgba(var(--hy-theme), 1),
40
- rgba(var(--hy-theme), 0)
41
- );
38
+ background: radial-gradient(circle, rgba(var(--hy-theme), 1), rgba(var(--hy-theme), 0));
42
39
  }
43
40
  }
44
41
  &.expand {
@@ -47,7 +44,7 @@
47
44
  }
48
45
  }
49
46
  }
50
-
47
+
51
48
  .hy-form-extra-line {
52
49
  width: 100%;
53
50
  height: 2px;
@@ -56,12 +53,6 @@
56
53
  top: 50%;
57
54
  transform: translateY(-50%);
58
55
  pointer-events: none;
59
- background: radial-gradient(
60
- circle,
61
- rgba(var(--hy-auxiliary), 1),
62
- rgba(var(--hy-auxiliary), 0)
63
- );
56
+ background: radial-gradient(circle, rgba(var(--hy-auxiliary), 1), rgba(var(--hy-auxiliary), 0));
64
57
  }
65
58
  }
66
-
67
-
@@ -36,11 +36,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
36
36
  }
37
37
  const iconName = vue.computed(() => `#${props.prefix}${props.svgName}`);
38
38
  const svgClass = vue.computed(() => {
39
+ const classList = ["hy-icon"];
39
40
  if (props.className) {
40
- return "hy-icon " + props.className || "";
41
- } else {
42
- return "hy-icon";
41
+ classList.push(props.className);
43
42
  }
43
+ return classList.filter(Boolean).join(" ");
44
44
  });
45
45
  return (_ctx, _cache) => {
46
46
  return vue.openBlock(), vue.createElementBlock("svg", {
@@ -14,14 +14,10 @@
14
14
  user-select: none;
15
15
  border-radius: 100%;
16
16
  background:
17
- radial-gradient(
18
- 142% 47% at 50% 119%,
19
- rgb(var(--hy-theme), 0.5) 0%,
20
- rgb(var(--hy-theme), 0) 100%
21
- ),
17
+ radial-gradient(142% 47% at 50% 119%, rgb(var(--hy-theme), 0.5) 0%, rgb(var(--hy-theme), 0) 100%),
22
18
  rgb(var(--hy-background-3));
23
19
  border: 1px solid rgb(var(--hy-auxiliary), 0.5);
24
20
  box-shadow: 0px 2px 5px 0px rgba(29, 33, 41, 0.5);
21
+ box-sizing: border-box;
25
22
  }
26
23
  }
27
-
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
- var elementPlus = require('element-plus');
7
- var iconsVue = require('@element-plus/icons-vue');
8
- var input = require('./input.vue.js');
6
+ require('../../index.js');
7
+ var index = require('./index.js');
8
+ var index$1 = require('../hyIcon/index.js');
9
9
 
10
10
  import "./style/inputSearch.scss";
11
11
 
@@ -79,7 +79,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
79
79
  },
80
80
  [
81
81
  vue.renderSlot(_ctx.$slots, "before"),
82
- vue.createVNode(input.default, vue.mergeProps({
82
+ vue.createVNode(vue.unref(index.HyInput), vue.mergeProps({
83
83
  ref_key: "inputRef",
84
84
  ref: inputRef,
85
85
  modelValue: modelValue.value,
@@ -108,12 +108,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
108
108
  class: "w-[32px] h-[32px] flex-shrink-0 flex items-center justify-center bg-background-3 rounded-[2px] cursor-pointer",
109
109
  onClick: onSearchQueryHandler
110
110
  }, [
111
- vue.createVNode(vue.unref(elementPlus.ElIcon), { size: "18" }, {
112
- default: vue.withCtx(() => [
113
- vue.createVNode(vue.unref(iconsVue.Search))
114
- ]),
115
- _: 1
116
- /* STABLE */
111
+ vue.createVNode(vue.unref(index$1.HyIcon), {
112
+ "svg-name": "dispatch-share-v3-base-search",
113
+ class: "w-[18px] h-[18px]"
117
114
  })
118
115
  ])
119
116
  ],
@@ -10,6 +10,7 @@
10
10
  padding: 2px 4px;
11
11
  overflow: hidden;
12
12
  background: rgba(var(--hy-background-2));
13
+ box-sizing: border-box;
13
14
  &:hover,
14
15
  &.focus {
15
16
  border: 1px solid rgba(var(--hy-theme));
@@ -21,6 +22,7 @@
21
22
  & > .hy-el-input__wrapper {
22
23
  padding-left: 8px;
23
24
  padding-right: 4px;
25
+ box-sizing: border-box;
24
26
  }
25
27
  .hy-el-input__inner::placeholder {
26
28
  font-size: 12px;
@@ -34,6 +36,7 @@
34
36
  box-shadow: none;
35
37
  padding: 4px;
36
38
  min-height: 100%;
39
+ box-sizing: border-box;
37
40
  }
38
41
  }
39
42
  }
@@ -24,8 +24,7 @@ const HyLoading = {
24
24
  directive: {
25
25
  ...elementPlus.ElLoading.directive,
26
26
  mounted: function(el, binding, vnode, prevVnode) {
27
- const { t } = useLocale.useLocale();
28
- el.setAttribute("element-loading-text", `${t("hy.loading")}...`);
27
+ el.setAttribute("element-loading-text", `${useLocale.$t("hy.loading")}...`);
29
28
  el.setAttribute("element-loading-svg", loadingConfig.svg);
30
29
  el.setAttribute("element-loading-svg-view-box", loadingConfig.svgViewBox);
31
30
  el.setAttribute("element-loading-background", loadingConfig.background);
@@ -33,9 +32,8 @@ const HyLoading = {
33
32
  }
34
33
  },
35
34
  service: function(options = {}) {
36
- const { t } = useLocale.useLocale();
37
35
  return elementPlus.ElLoading.service.call(this, {
38
- text: `${t("hy.loading")}...`,
36
+ text: `${useLocale.$t("hy.loading")}...`,
39
37
  ...loadingConfig,
40
38
  ...options
41
39
  });
@@ -7,10 +7,12 @@ const useAppMapWrapper = (hy) => {
7
7
  const {
8
8
  props: { mapConfig },
9
9
  mapRef,
10
- emits
10
+ emits,
11
+ isUnmounted
11
12
  } = hy;
12
- const hyMap = null;
13
- const map = null;
13
+ let hyMap = vue.shallowRef(null);
14
+ let map = vue.shallowRef(null);
15
+ let initTimer = null;
14
16
  function newMap(mapType) {
15
17
  const mapFilters = [
16
18
  {
@@ -94,7 +96,7 @@ const useAppMapWrapper = (hy) => {
94
96
  filter: "saturate(180%) brightness(105%) contrast(115%)"
95
97
  }
96
98
  ];
97
- hy.hyMap = new index.InitMap({
99
+ hy.hyMap.value = new index.InitMap({
98
100
  ...mapConfig,
99
101
  mapType,
100
102
  BM: window.BM
@@ -112,12 +114,28 @@ const useAppMapWrapper = (hy) => {
112
114
  // },
113
115
  // ], // 地图瓦片地址
114
116
  });
115
- setTimeout(() => {
116
- hy.initMap();
117
+ if (initTimer) {
118
+ clearTimeout(initTimer);
119
+ }
120
+ initTimer = setTimeout(() => {
121
+ if (!isUnmounted.value) {
122
+ hy.initMap();
123
+ }
124
+ initTimer = null;
117
125
  }, 800);
118
126
  }
119
127
  function initMap() {
120
- hy.map = hy.hyMap.InitMap(mapRef.value, {
128
+ if (isUnmounted.value || !mapRef.value) {
129
+ return;
130
+ }
131
+ const container = mapRef.value;
132
+ if (container) {
133
+ delete container._leaflet_id;
134
+ delete container._bm_id;
135
+ delete container._amap_id;
136
+ container.innerHTML = "";
137
+ }
138
+ hy.map.value = hy.hyMap.value.InitMap(mapRef.value, {
121
139
  minZoom: mapConfig.minZoom || 8,
122
140
  maxZoom: mapConfig.maxZoom || 18,
123
141
  center: mapConfig.center || {
@@ -127,16 +145,23 @@ const useAppMapWrapper = (hy) => {
127
145
  zoom: mapConfig.zoom || 14,
128
146
  completeCallbacks: () => {
129
147
  vue.nextTick(() => {
130
- emits("complete", hy.hyMap, hy.map);
148
+ emits("complete", hy.hyMap.value, hy.map.value);
131
149
  });
132
150
  }
133
151
  });
134
152
  }
153
+ function clearInitTimer() {
154
+ if (initTimer) {
155
+ clearTimeout(initTimer);
156
+ initTimer = null;
157
+ }
158
+ }
135
159
  return {
136
160
  hyMap,
137
161
  map,
138
162
  newMap,
139
- initMap
163
+ initMap,
164
+ clearInitTimer
140
165
  };
141
166
  };
142
167
 
@@ -4,8 +4,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
6
  require('../../hooks/index.js');
7
+ require('../../index.js');
7
8
  var index = require('./js/index.js');
8
9
  var useMixins = require('../../hooks/useMixins.js');
10
+ var index$1 = require('../hyNoPermissionsMap/index.js');
9
11
  var useMapConfig = require('../../hooks/useMapConfig.js');
10
12
 
11
13
  import "../../static/map/bigemap.css";
@@ -39,22 +41,44 @@ const _sfc_main = {
39
41
  const props = __props;
40
42
  const emits = __emit;
41
43
  const mapRef = vue.ref();
42
- const { newMap, map, hyMap } = useMixins.useMixins(
44
+ const isUnmounted = vue.ref(false);
45
+ const { newMap, map, hyMap, clearInitTimer } = useMixins.useMixins(
43
46
  {
44
47
  props,
45
48
  emits,
46
- mapRef
49
+ mapRef,
50
+ isUnmounted
47
51
  },
48
52
  [index.useAppMapWrapper]
49
53
  );
50
54
  vue.onMounted(() => {
51
- newMap(props.mapType);
55
+ if (props.mapType !== "nomap") {
56
+ newMap(props.mapType);
57
+ }
58
+ });
59
+ vue.onBeforeUnmount(() => {
60
+ isUnmounted.value = true;
61
+ clearInitTimer();
62
+ try {
63
+ map.value?.removeMap();
64
+ } catch (error) {
65
+ console.warn("\u5730\u56FE\u5378\u8F7D\u8B66\u544A:", error);
66
+ }
67
+ map.value = null;
68
+ hyMap.value = null;
69
+ if (mapRef.value) {
70
+ mapRef.value.innerHTML = "";
71
+ delete mapRef.value._leaflet_id;
72
+ delete mapRef.value._bm_id;
73
+ delete mapRef.value._amap_id;
74
+ }
52
75
  });
53
76
  return (_ctx, _cache) => {
54
77
  return vue.openBlock(), vue.createElementBlock("div", { class: "w-full h-full box-border border-border border relative" }, [
55
- vue.createElementVNode(
78
+ props.mapType !== "nomap" ? (vue.openBlock(), vue.createElementBlock(
56
79
  "div",
57
80
  {
81
+ key: 0,
58
82
  ref_key: "mapRef",
59
83
  ref: mapRef,
60
84
  class: "w-full h-full rounded overflow-hidden"
@@ -62,7 +86,7 @@ const _sfc_main = {
62
86
  null,
63
87
  512
64
88
  /* NEED_PATCH */
65
- )
89
+ )) : (vue.openBlock(), vue.createBlock(vue.unref(index$1.HyNoPermissionsMap), { key: 1 }))
66
90
  ]);
67
91
  };
68
92
  }
@@ -10,12 +10,9 @@
10
10
  transition: all 0.3s linear;
11
11
  background:
12
12
  linear-gradient(180deg, rgba(33, 58, 84, 0.3) 0.08%, #213a54 100%),
13
- radial-gradient(
14
- 21% 31% at 150% 40%,
15
- rgba(61, 98, 134, 0.5) 0%,
16
- rgba(61, 98, 134, 0) 100%
17
- );
13
+ radial-gradient(21% 31% at 150% 40%, rgba(61, 98, 134, 0.5) 0%, rgba(61, 98, 134, 0) 100%);
18
14
  border-right: 1px solid rgba(var(--hy-border));
15
+ box-sizing: border-box;
19
16
 
20
17
  .operator-menu-list {
21
18
  width: 100%;
@@ -34,6 +31,7 @@
34
31
  font-size: 16px;
35
32
  position: relative;
36
33
  cursor: pointer;
34
+ box-sizing: border-box;
37
35
 
38
36
  .operator-label {
39
37
  width: 100%;
@@ -72,11 +70,7 @@
72
70
  position: absolute;
73
71
  left: 0;
74
72
  top: 3px;
75
- background: linear-gradient(
76
- 90deg,
77
- rgba(var(--hy-theme), 0) 2%,
78
- rgba(var(--hy-theme), 0.4) 100%
79
- );
73
+ background: linear-gradient(90deg, rgba(var(--hy-theme), 0) 2%, rgba(var(--hy-theme), 0.4) 100%);
80
74
  border-radius: 0px 4px 4px 0px;
81
75
  }
82
76
  }
@@ -135,11 +129,7 @@
135
129
  position: absolute;
136
130
  left: 0;
137
131
  top: 0;
138
- background: linear-gradient(
139
- 90deg,
140
- rgba(var(--hy-theme), 0) 2%,
141
- rgba(var(--hy-theme), 0.4) 100%
142
- );
132
+ background: linear-gradient(90deg, rgba(var(--hy-theme), 0) 2%, rgba(var(--hy-theme), 0.4) 100%);
143
133
  //border-radius: 0px 4px 4px 0px;
144
134
  }
145
135
  }
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vue = require('vue');
6
6
  require('../../hooks/index.js');
7
7
  require('../index.js');
8
- var useLocale = require('../../hooks/useLocale.js');
9
8
  var index = require('../hyIcon/index.js');
9
+ var useLocale = require('../../hooks/useLocale.js');
10
10
 
11
11
  import "./style/noPermissions.scss";
12
12
 
@@ -24,7 +24,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
24
24
  setup(__props, { expose: __expose, emit: __emit }) {
25
25
  const props = __props;
26
26
  const emits = __emit;
27
- const { t } = useLocale.useLocale();
28
27
  __expose({});
29
28
  return (_ctx, _cache) => {
30
29
  return vue.openBlock(), vue.createElementBlock("div", { class: "w-full h-full bg-background-2 text-auxiliary text-base flex flex-col items-center justify-center" }, [
@@ -36,14 +35,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
36
35
  vue.createElementVNode(
37
36
  "p",
38
37
  null,
39
- vue.toDisplayString(vue.unref(t)("permissino.youDoNotHaveSubordinatePermissionsForThisModule")),
38
+ vue.toDisplayString(vue.unref(useLocale.$t)("permissino.youDoNotHaveSubordinatePermissionsForThisModule")),
40
39
  1
41
40
  /* TEXT */
42
41
  ),
43
42
  vue.createElementVNode(
44
43
  "p",
45
44
  null,
46
- vue.toDisplayString(vue.unref(t)("permissino.pleaseContactTheAdministrator")),
45
+ vue.toDisplayString(vue.unref(useLocale.$t)("permissino.pleaseContactTheAdministrator")),
47
46
  1
48
47
  /* TEXT */
49
48
  )