hs-admin-ui 15.5.3 → 15.5.4

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 (717) hide show
  1. package/dist/bcIcon-CaJjqyzR.mjs +4 -0
  2. package/dist/bcIcon-D6INZFFL.js +1 -0
  3. package/dist/index-B73QQLCi.mjs +144167 -0
  4. package/dist/index-BlijNcTF.js +349 -0
  5. package/dist/index.css +1 -0
  6. package/dist/index.js +1 -1
  7. package/dist/index.mjs +171 -169
  8. package/dist/types/element-plus.d.ts +2 -0
  9. package/dist/types/index.d.ts +35 -1
  10. package/dist/types/src/components/base/Affix/index.d.ts +1 -0
  11. package/dist/types/src/components/base/Affix/src/Affix.vue.d.ts +3 -0
  12. package/dist/types/src/components/base/Alert/index.d.ts +1 -0
  13. package/dist/types/src/components/base/Alert/src/Alert.vue.d.ts +3 -0
  14. package/dist/types/src/components/base/Aside/index.d.ts +1 -0
  15. package/dist/types/src/components/base/Aside/src/Aside.vue.d.ts +3 -0
  16. package/dist/types/src/components/base/Autocomplete/index.d.ts +1 -0
  17. package/dist/types/src/components/base/Autocomplete/src/Autocomplete.vue.d.ts +3 -0
  18. package/dist/types/src/components/base/Badge/index.d.ts +1 -0
  19. package/dist/types/src/components/base/Badge/src/Badge.vue.d.ts +3 -0
  20. package/dist/types/src/components/base/Button/index.d.ts +2 -0
  21. package/dist/types/src/components/base/Button/src/Button.vue.d.ts +3 -0
  22. package/dist/types/src/components/base/Button/src/ButtonGroup.vue.d.ts +3 -0
  23. package/dist/types/src/components/base/Calendar/index.d.ts +1 -0
  24. package/dist/types/src/components/base/Calendar/src/Calendar.vue.d.ts +3 -0
  25. package/dist/types/src/components/base/Card/index.d.ts +1 -0
  26. package/dist/types/src/components/base/Card/src/Card.vue.d.ts +3 -0
  27. package/dist/types/src/components/base/Carousel/index.d.ts +2 -0
  28. package/dist/types/src/components/base/Carousel/src/Carousel.vue.d.ts +3 -0
  29. package/dist/types/src/components/base/Carousel/src/CarouselItem.vue.d.ts +3 -0
  30. package/dist/types/src/components/base/Cascader/index.d.ts +2 -0
  31. package/dist/types/src/components/base/Cascader/src/Cascader.vue.d.ts +3 -0
  32. package/dist/types/src/components/base/Cascader/src/CascaderPanel.vue.d.ts +3 -0
  33. package/dist/types/src/components/base/Checkbox/index.d.ts +3 -0
  34. package/dist/types/src/components/base/Checkbox/src/Checkbox.vue.d.ts +3 -0
  35. package/dist/types/src/components/base/Checkbox/src/CheckboxButton.vue.d.ts +3 -0
  36. package/dist/types/src/components/base/Checkbox/src/CheckboxGroup.vue.d.ts +3 -0
  37. package/dist/types/src/components/base/Col/index.d.ts +1 -0
  38. package/dist/types/src/components/base/Col/src/Col.vue.d.ts +3 -0
  39. package/dist/types/src/components/base/Collapse/index.d.ts +2 -0
  40. package/dist/types/src/components/base/Collapse/src/Collapse.vue.d.ts +3 -0
  41. package/dist/types/src/components/base/Collapse/src/CollapseItem.vue.d.ts +3 -0
  42. package/dist/types/src/components/base/ColorPicker/index.d.ts +1 -0
  43. package/dist/types/src/components/base/ColorPicker/src/ColorPicker.vue.d.ts +3 -0
  44. package/dist/types/src/components/base/Container/index.d.ts +1 -0
  45. package/dist/types/src/components/base/Container/src/Container.vue.d.ts +3 -0
  46. package/dist/types/src/components/base/DatePicker/index.d.ts +1 -0
  47. package/dist/types/src/components/base/DatePicker/src/DatePicker.vue.d.ts +3 -0
  48. package/dist/types/src/components/base/Descriptions/index.d.ts +2 -0
  49. package/dist/types/src/components/base/Descriptions/src/Descriptions.vue.d.ts +3 -0
  50. package/dist/types/src/components/base/Descriptions/src/DescriptionsItem.vue.d.ts +3 -0
  51. package/dist/types/src/components/base/Dialog/index.d.ts +1 -0
  52. package/dist/types/src/components/base/Dialog/src/Dialog.vue.d.ts +3 -0
  53. package/dist/types/src/components/base/Divider/index.d.ts +1 -0
  54. package/dist/types/src/components/base/Divider/src/Divider.vue.d.ts +3 -0
  55. package/dist/types/src/components/base/Drawer/index.d.ts +1 -0
  56. package/dist/types/src/components/base/Drawer/src/Drawer.vue.d.ts +3 -0
  57. package/dist/types/src/components/base/Dropdown/index.d.ts +3 -0
  58. package/dist/types/src/components/base/Dropdown/src/Dropdown.vue.d.ts +3 -0
  59. package/dist/types/src/components/base/Dropdown/src/DropdownItem.vue.d.ts +3 -0
  60. package/dist/types/src/components/base/Dropdown/src/DropdownMenu.vue.d.ts +3 -0
  61. package/dist/types/src/components/base/Empty/index.d.ts +1 -0
  62. package/dist/types/src/components/base/Empty/src/Empty.vue.d.ts +3 -0
  63. package/dist/types/src/components/base/Footer/index.d.ts +1 -0
  64. package/dist/types/src/components/base/Footer/src/Footer.vue.d.ts +3 -0
  65. package/dist/types/src/components/base/Form/index.d.ts +2 -0
  66. package/dist/types/src/components/base/Form/src/Form.vue.d.ts +3 -0
  67. package/dist/types/src/components/base/Form/src/FormItem.vue.d.ts +3 -0
  68. package/dist/types/src/components/base/Header/index.d.ts +1 -0
  69. package/dist/types/src/components/base/Header/src/Header.vue.d.ts +3 -0
  70. package/dist/types/src/components/base/Icon/index.d.ts +1 -0
  71. package/dist/types/src/components/base/Icon/src/Icon.vue.d.ts +3 -0
  72. package/dist/types/src/components/base/Image/index.d.ts +1 -0
  73. package/dist/types/src/components/base/Image/src/Image.vue.d.ts +3 -0
  74. package/dist/types/src/components/base/ImageViewer/index.d.ts +1 -0
  75. package/dist/types/src/components/base/ImageViewer/src/ImageViewer.vue.d.ts +3 -0
  76. package/dist/types/src/components/base/Input/index.d.ts +1 -0
  77. package/dist/types/src/components/base/Input/src/Input.vue.d.ts +30 -0
  78. package/dist/types/src/components/base/InputNumber/index.d.ts +1 -0
  79. package/dist/types/src/components/base/InputNumber/src/InputNumber.vue.d.ts +3 -0
  80. package/dist/types/src/components/base/Main/index.d.ts +1 -0
  81. package/dist/types/src/components/base/Main/src/Main.vue.d.ts +3 -0
  82. package/dist/types/src/components/base/Menu/index.d.ts +3 -0
  83. package/dist/types/src/components/base/Menu/src/Menu.vue.d.ts +3 -0
  84. package/dist/types/src/components/base/Menu/src/MenuItem.vue.d.ts +3 -0
  85. package/dist/types/src/components/base/Menu/src/SubMenu.vue.d.ts +3 -0
  86. package/dist/types/src/components/base/Pagination/index.d.ts +1 -0
  87. package/dist/types/src/components/base/Pagination/src/Pagination.vue.d.ts +3 -0
  88. package/dist/types/src/components/base/Popconfirm/index.d.ts +1 -0
  89. package/dist/types/src/components/base/Popconfirm/src/Popconfirm.vue.d.ts +3 -0
  90. package/dist/types/src/components/base/Popover/index.d.ts +1 -0
  91. package/dist/types/src/components/base/Popover/src/Popover.vue.d.ts +3 -0
  92. package/dist/types/src/components/base/Progress/index.d.ts +1 -0
  93. package/dist/types/src/components/base/Progress/src/Progress.vue.d.ts +3 -0
  94. package/dist/types/src/components/base/Qr/index.d.ts +1 -0
  95. package/dist/types/src/components/base/Qr/src/Qr.vue.d.ts +3 -0
  96. package/dist/types/src/components/base/Radio/index.d.ts +3 -0
  97. package/dist/types/src/components/base/Radio/src/Radio.vue.d.ts +17 -0
  98. package/dist/types/src/components/base/Radio/src/RadioButton.vue.d.ts +3 -0
  99. package/dist/types/src/components/base/Radio/src/RadioGroup.vue.d.ts +3 -0
  100. package/dist/types/src/components/base/Rate/index.d.ts +1 -0
  101. package/dist/types/src/components/base/Rate/src/Rate.vue.d.ts +3 -0
  102. package/dist/types/src/components/base/Result/index.d.ts +1 -0
  103. package/dist/types/src/components/base/Result/src/Result.vue.d.ts +3 -0
  104. package/dist/types/src/components/base/Row/index.d.ts +1 -0
  105. package/dist/types/src/components/base/Row/src/Row.vue.d.ts +3 -0
  106. package/dist/types/src/components/base/Scrollbar/index.d.ts +1 -0
  107. package/dist/types/src/components/base/Scrollbar/src/Scrollbar.vue.d.ts +3 -0
  108. package/dist/types/src/components/base/Select/index.d.ts +3 -0
  109. package/dist/types/src/components/base/Select/src/Option.vue.d.ts +3 -0
  110. package/dist/types/src/components/base/Select/src/OptionGroup.vue.d.ts +3 -0
  111. package/dist/types/src/components/base/Select/src/Select.vue.d.ts +37 -0
  112. package/dist/types/src/components/base/SelectV2/index.d.ts +1 -0
  113. package/dist/types/src/components/base/SelectV2/src/SelectV2.vue.d.ts +3 -0
  114. package/dist/types/src/components/base/Slider/index.d.ts +1 -0
  115. package/dist/types/src/components/base/Slider/src/Slider.vue.d.ts +3 -0
  116. package/dist/types/src/components/base/Steps/index.d.ts +1 -0
  117. package/dist/types/src/components/base/Steps/src/Step.vue.d.ts +3 -0
  118. package/dist/types/src/components/base/Steps/src/Steps.vue.d.ts +3 -0
  119. package/dist/types/src/components/base/Switch/index.d.ts +1 -0
  120. package/dist/types/src/components/base/Switch/src/Switch.vue.d.ts +3 -0
  121. package/dist/types/src/components/base/Table/index.d.ts +2 -0
  122. package/dist/types/src/components/base/Table/src/Table.vue.d.ts +3 -0
  123. package/dist/types/src/components/base/Table/src/TableColumn.vue.d.ts +3 -0
  124. package/dist/types/src/components/base/Tabs/index.d.ts +2 -0
  125. package/dist/types/src/components/base/Tabs/src/TabPane.vue.d.ts +3 -0
  126. package/dist/types/src/components/base/Tabs/src/Tabs.vue.d.ts +3 -0
  127. package/dist/types/src/components/base/Tag/index.d.ts +2 -0
  128. package/dist/types/src/components/base/Tag/src/CheckTag.vue.d.ts +3 -0
  129. package/dist/types/src/components/base/Tag/src/Tag.vue.d.ts +3 -0
  130. package/dist/types/src/components/base/Text/index.d.ts +1 -0
  131. package/dist/types/src/components/base/Text/src/Text.vue.d.ts +3 -0
  132. package/dist/types/src/components/base/TimePicker/index.d.ts +1 -0
  133. package/dist/types/src/components/base/TimePicker/src/TimePicker.vue.d.ts +3 -0
  134. package/dist/types/src/components/base/TimeSelect/index.d.ts +1 -0
  135. package/dist/types/src/components/base/TimeSelect/src/TimeSelect.vue.d.ts +3 -0
  136. package/dist/types/src/components/base/Tooltip/index.d.ts +1 -0
  137. package/dist/types/src/components/base/Tooltip/src/Tooltip.vue.d.ts +3 -0
  138. package/dist/types/src/components/base/Tour/index.d.ts +2 -0
  139. package/dist/types/src/components/base/Tour/src/Tour.vue.d.ts +3 -0
  140. package/dist/types/src/components/base/Tour/src/TourStep.vue.d.ts +3 -0
  141. package/dist/types/src/components/base/Transfer/index.d.ts +1 -0
  142. package/dist/types/src/components/base/Transfer/src/Transfer.vue.d.ts +3 -0
  143. package/dist/types/src/components/base/Tree/index.d.ts +1 -0
  144. package/dist/types/src/components/base/Tree/src/Tree.vue.d.ts +3 -0
  145. package/dist/types/src/components/base/TreeSelect/index.d.ts +1 -0
  146. package/dist/types/src/components/base/TreeSelect/src/TreeSelect.vue.d.ts +3 -0
  147. package/dist/types/src/components/base/TreeV2/index.d.ts +1 -0
  148. package/dist/types/src/components/base/TreeV2/src/TreeV2.vue.d.ts +3 -0
  149. package/dist/types/src/components/base/Upload/index.d.ts +1 -0
  150. package/dist/types/src/components/base/Upload/src/Upload.vue.d.ts +3 -0
  151. package/dist/types/src/components/base/Watermark/index.d.ts +1 -0
  152. package/dist/types/src/components/base/Watermark/src/Watermark.vue.d.ts +3 -0
  153. package/dist/types/src/components/base/components.d.ts +59 -0
  154. package/dist/types/src/components/base/index.d.ts +187 -0
  155. package/dist/types/src/components/business/bcBox/bcBox.vue.d.ts +48 -0
  156. package/dist/types/{components → src/components}/business/bcBox/utils.d.ts +10 -11
  157. package/dist/types/src/components/business/bcBreadcrumb/bcBreadcrumb.vue.d.ts +14 -0
  158. package/dist/types/{components → src/components}/business/bcBreadcrumb/index.d.ts +1 -2
  159. package/dist/types/src/components/business/bcButton/bcButton.vue.d.ts +13 -0
  160. package/dist/types/src/components/business/bcCheckbox/bcCheckbox.vue.d.ts +23 -0
  161. package/dist/types/src/components/business/bcContextBox/bcContextBox.vue.d.ts +40 -0
  162. package/dist/types/src/components/business/bcContextBox/useContextMenu.d.ts +34 -0
  163. package/dist/types/src/components/business/bcDivider/bcDivider.vue.d.ts +38 -0
  164. package/dist/types/src/components/business/bcFace/bcFace.vue.d.ts +24 -0
  165. package/dist/types/src/components/business/bcForm/baseForm.vue.d.ts +275 -0
  166. package/dist/types/src/components/business/bcForm/bcForm.vue.d.ts +33 -0
  167. package/dist/types/{components → src/components}/business/bcForm/type.d.ts +6 -7
  168. package/dist/types/src/components/business/bcForm/useGuide.d.ts +559 -0
  169. package/dist/types/src/components/business/bcGroup/bcGroup.vue.d.ts +36 -0
  170. package/dist/types/src/components/business/bcIcon/bcIcon.vue.d.ts +27 -0
  171. package/dist/types/src/components/business/bcInputGroup/bcInputGroup.vue.d.ts +20 -0
  172. package/dist/types/src/components/business/bcRadio/bcRadio.vue.d.ts +18 -0
  173. package/dist/types/src/components/business/bcSelect/bcSelect.vue.d.ts +33 -0
  174. package/dist/types/src/components/business/bcSignature/index.vue.d.ts +19 -0
  175. package/dist/types/src/components/business/bcSystemAuth/components/data.vue.d.ts +3 -0
  176. package/dist/types/src/components/business/bcSystemAuth/components/dict.vue.d.ts +3 -0
  177. package/dist/types/src/components/business/bcSystemAuth/components/fastSet/popup.vue.d.ts +17 -0
  178. package/dist/types/src/components/business/bcSystemAuth/components/field.vue.d.ts +3 -0
  179. package/dist/types/src/components/business/bcSystemAuth/components/form.vue.d.ts +11 -0
  180. package/dist/types/{components → src/components}/business/bcSystemAuth/components/selectAll/index.d.ts +2 -3
  181. package/dist/types/src/components/business/bcSystemAuth/components/selectAll/index.vue.d.ts +5 -0
  182. package/dist/types/src/components/business/bcSystemAuth/components/table.vue.d.ts +11 -0
  183. package/dist/types/src/components/business/bcSystemAuth/components/widget/btns.vue.d.ts +11 -0
  184. package/dist/types/src/components/business/bcSystemAuth/components/widget/form.vue.d.ts +11 -0
  185. package/dist/types/src/components/business/bcSystemAuth/components/widget/tab.vue.d.ts +17 -0
  186. package/dist/types/src/components/business/bcSystemAuth/components/widget/tables.vue.d.ts +11 -0
  187. package/dist/types/src/components/business/bcSystemAuth/components/widget/tablesWraper.vue.d.ts +11 -0
  188. package/dist/types/{components → src/components}/business/bcSystemAuth/fastStore.d.ts +48 -49
  189. package/dist/types/{components → src/components}/business/bcSystemAuth/fastUtils.d.ts +28 -30
  190. package/dist/types/src/components/business/bcSystemAuth/index.d.ts +2 -0
  191. package/dist/types/src/components/business/bcSystemAuth/index.vue.d.ts +17 -0
  192. package/dist/types/{components → src/components}/business/bcSystemAuth/store.d.ts +48 -49
  193. package/dist/types/src/components/business/bcSystemAuth/type.d.ts +342 -0
  194. package/dist/types/src/components/business/bcSystemAuth/useAuth.d.ts +26 -0
  195. package/dist/types/{components → src/components}/business/bcSystemAuth/utils.d.ts +28 -30
  196. package/dist/types/src/components/business/bcSystemField/components/field.vue.d.ts +3 -0
  197. package/dist/types/src/components/business/bcSystemField/components/form.vue.d.ts +11 -0
  198. package/dist/types/{components → src/components}/business/bcSystemField/components/selectAll/index.d.ts +4 -5
  199. package/dist/types/src/components/business/bcSystemField/components/selectAll/index.vue.d.ts +5 -0
  200. package/dist/types/src/components/business/bcSystemField/components/table.vue.d.ts +11 -0
  201. package/dist/types/src/components/business/bcSystemField/components/widget/form.vue.d.ts +11 -0
  202. package/dist/types/src/components/business/bcSystemField/components/widget/tab.vue.d.ts +17 -0
  203. package/dist/types/src/components/business/bcSystemField/components/widget/tables.vue.d.ts +11 -0
  204. package/dist/types/src/components/business/bcSystemField/components/widget/tablesWraper.vue.d.ts +11 -0
  205. package/dist/types/src/components/business/bcSystemField/index.d.ts +2 -0
  206. package/dist/types/src/components/business/bcSystemField/index.vue.d.ts +7 -0
  207. package/dist/types/{components → src/components}/business/bcSystemField/store.d.ts +39 -40
  208. package/dist/types/src/components/business/bcSystemField/useAuth.d.ts +14 -0
  209. package/dist/types/{components → src/components}/business/bcSystemField/utils.d.ts +20 -21
  210. package/dist/types/src/components/business/bcTable/bcFormTable.vue.d.ts +143 -0
  211. package/dist/types/src/components/business/bcTable/bcTable.vue.d.ts +32 -0
  212. package/dist/types/src/components/business/bcTable/components/btn/btn.vue.d.ts +58 -0
  213. package/dist/types/src/components/business/bcTable/components/popup/index.d.ts +2 -0
  214. package/dist/types/src/components/business/bcTable/components/popup/popup.vue.d.ts +49 -0
  215. package/dist/types/src/components/business/bcTable/components/query/components/sortForm/sortForm.vue.d.ts +14 -0
  216. package/dist/types/src/components/business/bcTable/components/query/drag.vue.d.ts +222 -0
  217. package/dist/types/src/components/business/bcTable/components/query/query.vue.d.ts +226 -0
  218. package/dist/types/{components → src/components}/business/bcTable/components/query/useQuickSearch.d.ts +2 -3
  219. package/dist/types/src/components/business/bcTable/components/table/colgroup.vue.d.ts +25 -0
  220. package/dist/types/src/components/business/bcTable/components/table/column.vue.d.ts +49 -0
  221. package/dist/types/src/components/business/bcTable/components/table/components/sortColumn/sortColumn.vue.d.ts +16 -0
  222. package/dist/types/{components → src/components}/business/bcTable/components/table/components/sortColumn/types.d.ts +1 -2
  223. package/dist/types/src/components/business/bcTable/components/table/table.vue.d.ts +64 -0
  224. package/dist/types/{components → src/components}/business/bcTable/components/table/useTable.d.ts +5 -5
  225. package/dist/types/src/components/business/bcTable/components/table/useTableHeight.d.ts +23 -0
  226. package/dist/types/{components → src/components}/business/bcTable/methods/cellDetailMethod.d.ts +0 -1
  227. package/dist/types/{components → src/components}/business/bcTable/methods/filterAgeMethod.d.ts +0 -1
  228. package/dist/types/{components → src/components}/business/bcTable/methods/footerMethod.d.ts +1 -2
  229. package/dist/types/{components → src/components}/business/bcTable/methods/formBtnMethod.d.ts +1 -2
  230. package/dist/types/{components → src/components}/business/bcTable/methods/index.d.ts +1 -2
  231. package/dist/types/{components → src/components}/business/bcTable/utils/authField.d.ts +1 -2
  232. package/dist/types/{components → src/components}/business/bcTable/utils/onFormKey.d.ts +4 -5
  233. package/dist/types/{components → src/components}/business/bcTable/utils/onTableKey.d.ts +5 -6
  234. package/dist/types/{components → src/components}/business/bcTable/utils/parseTable.d.ts +20 -21
  235. package/dist/types/{components → src/components}/business/bcTable/utils/type.d.ts +11 -12
  236. package/dist/types/{components → src/components}/business/bcTable/utils/useBcTable.d.ts +7075 -7081
  237. package/dist/types/{components → src/components}/business/bcTable/utils/useButon.d.ts +5 -6
  238. package/dist/types/src/components/business/bcTable/utils/useFormTableHeight.d.ts +18 -0
  239. package/dist/types/{components → src/components}/business/bcTable/utils/useKeydownEvent.d.ts +17 -18
  240. package/dist/types/src/components/business/bcTabs/bcTabs.vue.d.ts +61 -0
  241. package/dist/types/src/components/business/bcTabs/components/BetterScroll/index.d.ts +2 -0
  242. package/dist/types/src/components/business/bcTabs/components/BetterScroll/index.vue.d.ts +33 -0
  243. package/dist/types/src/components/business/bcTreeSearch/bcTreeSearch.vue.d.ts +55 -0
  244. package/dist/types/src/components/business/bcTreeSelect/bcTreeSelect.vue.d.ts +28 -0
  245. package/dist/types/src/components/business/bcTrtc/bcTrtc.vue.d.ts +104 -0
  246. package/dist/types/src/components/business/bcTrtc/hooks/useOperateLog.d.ts +8 -0
  247. package/dist/types/src/components/business/bcTrtc/hooks/useTrtcRoomEvent.d.ts +50 -0
  248. package/dist/types/src/components/business/bcTrtc/type.d.ts +124 -0
  249. package/dist/types/src/components/business/bcTrtc/useTrtc.d.ts +39 -0
  250. package/dist/types/src/components/business/bcTrtc/util/generateTestUserSig.d.ts +64 -0
  251. package/dist/types/src/components/business/bcTrtc/util/lib-generate-test-usersig-es.min.d.ts +20 -0
  252. package/dist/types/src/components/business/bcTrtc/util/utils.d.ts +4 -0
  253. package/dist/types/src/components/business/bcUpload/bcUpload.vue.d.ts +13 -0
  254. package/dist/types/src/components/business/bcUpload/component/highSpeedCamera.vue.d.ts +19 -0
  255. package/dist/types/src/components/business/bcUpload/component/qwebchannel.d.ts +15 -0
  256. package/dist/types/src/components/business/bcUpload/component/type.d.ts +44 -0
  257. package/dist/types/src/components/business/bcUpload/type.d.ts +83 -0
  258. package/dist/types/src/components/business/bcUpload/upload.vue.d.ts +272 -0
  259. package/dist/types/src/components/business/bcUpload/useUpload.d.ts +21 -0
  260. package/dist/types/{components → src/components}/business/bcVisual/bcVisual.vue.d.ts +9 -8
  261. package/dist/types/{components → src/components}/business/bcVisual/components/setting/dragItem.vue.d.ts +16 -9
  262. package/dist/types/src/components/business/bcVisual/components/setting/extendItem.vue.d.ts +13 -0
  263. package/dist/types/src/components/business/bcVisual/components/setting/setting.vue.d.ts +3 -0
  264. package/dist/types/{components → src/components}/business/bcVisual/components/setting/useDrag.d.ts +2 -4
  265. package/dist/types/src/components/business/bcVisual/components/table/table.vue.d.ts +6 -0
  266. package/dist/types/src/components/business/bcVisual/components/updateName/popup.vue.d.ts +17 -0
  267. package/dist/types/src/components/business/bcVisual/components/updateSql/addCondition.vue.d.ts +23 -0
  268. package/dist/types/{components → src/components}/business/bcVisual/components/updateSql/index.d.ts +1 -2
  269. package/dist/types/{components → src/components}/business/bcVisual/components/updateSql/nodeTree/index.d.ts +1 -2
  270. package/dist/types/src/components/business/bcVisual/components/updateSql/nodeTree/index.vue.d.ts +21 -0
  271. package/dist/types/src/components/business/bcVisual/components/updateSql/nodeTree/nodeTree.vue.d.ts +27 -0
  272. package/dist/types/src/components/business/bcVisual/components/updateSql/popup.vue.d.ts +17 -0
  273. package/dist/types/{components → src/components}/business/bcVisual/useTableFormat.d.ts +28 -29
  274. package/dist/types/{components → src/components}/business/bcVisual/utils.d.ts +1 -3
  275. package/dist/types/src/components/business/index.d.ts +52 -0
  276. package/dist/types/src/hooks/index.d.ts +3 -0
  277. package/dist/types/src/hooks/onKeyStroke.d.ts +13 -0
  278. package/dist/types/src/hooks/useExpose.d.ts +23 -0
  279. package/dist/types/src/hooks/useKeyStroke.d.ts +22 -0
  280. package/dist/types/{types → src/types}/auth.d.ts +1 -2
  281. package/dist/types/{types → src/types}/components.d.ts +1 -2
  282. package/dist/types/{types → src/types}/customData.d.ts +16 -17
  283. package/dist/types/{types → src/types}/form.d.ts +1 -2
  284. package/dist/types/{types → src/types}/formItem/autocomplete.d.ts +1 -2
  285. package/dist/types/{types → src/types}/formItem/checkbox.d.ts +1 -2
  286. package/dist/types/{types → src/types}/formItem/input.d.ts +1 -2
  287. package/dist/types/{types → src/types}/formItem/inputGroup.d.ts +1 -2
  288. package/dist/types/{types → src/types}/formItem/inputNumber.d.ts +1 -2
  289. package/dist/types/{types → src/types}/formItem/radio.d.ts +1 -2
  290. package/dist/types/{types → src/types}/formItem/selelct.d.ts +1 -2
  291. package/dist/types/{types → src/types}/formItem/treeSelect.d.ts +1 -2
  292. package/dist/types/{utils → src/utils}/arrayOperation.d.ts +1 -1
  293. package/dist/types/{utils → src/utils}/common.d.ts +3 -4
  294. package/dist/types/src/utils/commonFunction.d.ts +14 -0
  295. package/dist/types/{utils → src/utils}/download.d.ts +4 -4
  296. package/dist/types/{utils → src/utils}/getDataType.d.ts +2 -3
  297. package/dist/types/src/utils/index.d.ts +26 -0
  298. package/dist/types/{utils/loading.d.ts → src/utils/loading/index.d.ts} +1 -1
  299. package/dist/types/src/utils/lodash.d.ts +2 -0
  300. package/dist/types/{utils → src/utils}/mitt.d.ts +2 -3
  301. package/dist/types/{utils → src/utils}/number.d.ts +2 -14
  302. package/dist/types/{utils → src/utils}/other.d.ts +11 -12
  303. package/dist/types/src/utils/request/index.d.ts +6 -0
  304. package/dist/types/{utils → src/utils}/request/interceptors/request/authorization.interceptor.d.ts +1 -2
  305. package/dist/types/{utils → src/utils}/request/interceptors/request/result.type.interceptor.d.ts +6 -2
  306. package/dist/types/{utils → src/utils}/request/interceptors/request/undefined-params-handler.interceptor.d.ts +13 -2
  307. package/dist/types/{utils → src/utils}/request/interceptors/response/error-handler.interceptor.d.ts +1 -2
  308. package/dist/types/{utils → src/utils}/request/repeatRequest.d.ts +1 -2
  309. package/dist/types/src/utils/request/request.d.ts +6 -0
  310. package/dist/types/src/utils/showMessage.d.ts +3 -0
  311. package/dist/types/src/utils/showMessageBox.d.ts +3 -0
  312. package/dist/types/src/utils/showNotification.d.ts +3 -0
  313. package/dist/types/{utils → src/utils}/showPopup/index.d.ts +5 -6
  314. package/dist/types/src/utils/showPopup/showPopup.vue.d.ts +56 -0
  315. package/dist/types/{utils → src/utils}/storage.d.ts +12 -14
  316. package/dist/types/{utils → src/utils}/tree.d.ts +3 -4
  317. package/dist/types/{utils → src/utils}/url.d.ts +2 -3
  318. package/package.json +16 -41
  319. package/LICENSE +0 -21
  320. package/dist/401-CaFGhD56.js +0 -1
  321. package/dist/401-dNBqBBQB.mjs +0 -56
  322. package/dist/404-BBjjPQnq.js +0 -1
  323. package/dist/404-BBjjPQnq.js.gz +0 -0
  324. package/dist/404-CXaFz1H_.mjs +0 -61
  325. package/dist/404-CXaFz1H_.mjs.gz +0 -0
  326. package/dist/account-Dl2F8kzB.mjs +0 -215
  327. package/dist/account-j6DmqhU5.js +0 -1
  328. package/dist/aside-DYuDthGf.js +0 -1
  329. package/dist/aside-U9WBrI1F.mjs +0 -164
  330. package/dist/baseBtnConfig-C6KLedE5.mjs +0 -273
  331. package/dist/baseBtnConfig-DRxjBT8Z.js +0 -1
  332. package/dist/baseFormConfig-BaFbaMWd.mjs +0 -722
  333. package/dist/baseFormConfig-BaFbaMWd.mjs.gz +0 -0
  334. package/dist/baseFormConfig-BfwuF6e2.mjs +0 -504
  335. package/dist/baseFormConfig-BfwuF6e2.mjs.gz +0 -0
  336. package/dist/baseFormConfig-D0n1_pUw.js +0 -1
  337. package/dist/baseFormConfig-D5Q35Bo3.js +0 -1
  338. package/dist/baseTableConfig-Cqz33Bik.mjs +0 -2624
  339. package/dist/baseTableConfig-Cqz33Bik.mjs.gz +0 -0
  340. package/dist/baseTableConfig-Tc9NkB4Z.js +0 -1
  341. package/dist/baseTableConfig-Tc9NkB4Z.js.gz +0 -0
  342. package/dist/bcFormConfig-De_NDIJX.js +0 -1
  343. package/dist/bcFormConfig-k01YVL7i.mjs +0 -234
  344. package/dist/bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-Cinv4rqH.mjs +0 -131
  345. package/dist/bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-DYPKK-F9.js +0 -1
  346. package/dist/bcSwitchSystems.vue_vue_type_script_setup_true_lang-CBnZ0Gtd.js +0 -1
  347. package/dist/bcSwitchSystems.vue_vue_type_script_setup_true_lang-ap2SoWQx.mjs +0 -101
  348. package/dist/btnIndex-BWYqart_.js +0 -1
  349. package/dist/btnIndex-CIxuTGaV.mjs +0 -287
  350. package/dist/btnIndex-CIxuTGaV.mjs.gz +0 -0
  351. package/dist/classic-BHDWrphH.mjs +0 -81
  352. package/dist/classic-Cggtuvww.js +0 -1
  353. package/dist/cloneConfigDialog-C-Wgt6lp.mjs +0 -817
  354. package/dist/cloneConfigDialog-C-Wgt6lp.mjs.gz +0 -0
  355. package/dist/cloneConfigDialog-DStfblnx.js +0 -1
  356. package/dist/cloneConfigDialog-DStfblnx.js.gz +0 -0
  357. package/dist/columns-Co0sc2Vp.mjs +0 -87
  358. package/dist/columns-KUgBQ-bi.js +0 -1
  359. package/dist/columnsAside-6e_Rdbm2.js +0 -1
  360. package/dist/columnsAside-BqApWcwH.mjs +0 -220
  361. package/dist/contextmenu-0Efiyp1u.mjs +0 -125
  362. package/dist/contextmenu-BBMMi-TN.mjs +0 -125
  363. package/dist/contextmenu-CCDgfmrK.js +0 -1
  364. package/dist/contextmenu-D5Ssw8tr.js +0 -1
  365. package/dist/copyMenuConfig-M_voURcU.mjs +0 -4
  366. package/dist/copyMenuConfig-reOnQJ5_.js +0 -1
  367. package/dist/copyMenuConfig.vue_vue_type_script_setup_true_lang-1WltOLrD.mjs +0 -85
  368. package/dist/copyMenuConfig.vue_vue_type_script_setup_true_lang-Bn7uwbn6.js +0 -1
  369. package/dist/copySystem-BYNmlnJJ.js +0 -1
  370. package/dist/copySystem-CU-ec_wc.mjs +0 -4
  371. package/dist/copySystem.vue_vue_type_script_setup_true_lang-BQdZABZN.mjs +0 -78
  372. package/dist/copySystem.vue_vue_type_script_setup_true_lang-DVIPeHaZ.js +0 -1
  373. package/dist/defaults-C8u0Ixi6.js +0 -1
  374. package/dist/defaults-DbE_9uBD.mjs +0 -86
  375. package/dist/dialog-BpY5TPcI.mjs +0 -365
  376. package/dist/dialog-BpY5TPcI.mjs.gz +0 -0
  377. package/dist/dialog-C3qdP9_7.mjs +0 -4
  378. package/dist/dialog-CbtiX4bf.js +0 -1
  379. package/dist/dialog-Crw1svNb.mjs +0 -4
  380. package/dist/dialog-D2oaUQ1K.js +0 -1
  381. package/dist/dialog-DQP53khI.mjs +0 -359
  382. package/dist/dialog-DQP53khI.mjs.gz +0 -0
  383. package/dist/dialog-DpdeHbfb.js +0 -1
  384. package/dist/dialog-DxBOYlwo.js +0 -1
  385. package/dist/dialog-TFJ52Qpk.js +0 -1
  386. package/dist/dialog-yPzNGOhd.mjs +0 -10
  387. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-BXa1w9sl.js +0 -1
  388. package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-Cj6QZ_1n.mjs +0 -220
  389. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-C-2ohzef.mjs +0 -694
  390. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-C-2ohzef.mjs.gz +0 -0
  391. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DDxJaope.js +0 -1
  392. package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DDxJaope.js.gz +0 -0
  393. package/dist/dictDialog-2-XNTIeA.js +0 -1
  394. package/dist/dictDialog-Xiry_5wf.mjs +0 -4
  395. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CYIV2qih.js +0 -1
  396. package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-nAtI0_qU.mjs +0 -154
  397. package/dist/dictItemDialog-Clje_DKj.mjs +0 -4
  398. package/dist/dictItemDialog-z9uIEmqs.js +0 -1
  399. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-BYoT3YIw.mjs +0 -231
  400. package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-C7wUo8tZ.js +0 -1
  401. package/dist/favicon.ico +0 -0
  402. package/dist/formConfig-Ci7tuaaU.js +0 -1
  403. package/dist/formConfig-Ci7tuaaU.js.gz +0 -0
  404. package/dist/formConfig-DwB-R3is.mjs +0 -592
  405. package/dist/formConfig-DwB-R3is.mjs.gz +0 -0
  406. package/dist/header-BIFSpl3F.mjs +0 -28
  407. package/dist/header-SxlPkWE1.js +0 -1
  408. package/dist/horizontal-BMBXN_h_.js +0 -1
  409. package/dist/horizontal-DEV7AR_G.mjs +0 -151
  410. package/dist/hsAttrBtn-CFzqiBsx.mjs +0 -4
  411. package/dist/hsAttrBtn-R49LSu_d.js +0 -1
  412. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-BA5qD9D_.mjs +0 -128
  413. package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-l3_0rFKn.js +0 -1
  414. package/dist/hsAttrForm-B2BhYTdK.mjs +0 -4
  415. package/dist/hsAttrForm-Dax6V0Jm.js +0 -1
  416. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CKrb7xs8.js +0 -1
  417. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CT1OxoWO.mjs +0 -439
  418. package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CT1OxoWO.mjs.gz +0 -0
  419. package/dist/hsBtnConfigList-BOlR66mr.js +0 -1
  420. package/dist/hsBtnConfigList-CL1Pbm8t.mjs +0 -117
  421. package/dist/hsBtnItemConfig-ChdcqgZp.mjs +0 -4
  422. package/dist/hsBtnItemConfig-pecTB5lk.js +0 -1
  423. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-2guM43p0.js +0 -1
  424. package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-lsmFzJFI.mjs +0 -147
  425. package/dist/hsBtnPanel-83nht1UQ.js +0 -1
  426. package/dist/hsBtnPanel-CDXIlZ_p.mjs +0 -4
  427. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DA7FmG0n.mjs +0 -67
  428. package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-u2pZC_gR.js +0 -1
  429. package/dist/hsCheckbox-BKa_El3s.js +0 -1
  430. package/dist/hsCheckbox-CalDndlZ.mjs +0 -4
  431. package/dist/hsCheckbox.vue_vue_type_script_setup_true_lang-Dh-lqGjq.js +0 -1
  432. package/dist/hsCheckbox.vue_vue_type_script_setup_true_lang-XCUyHi8X.mjs +0 -28
  433. package/dist/hsExpand-B1cUAaAw.mjs +0 -4
  434. package/dist/hsExpand-Bwd73fvo.js +0 -1
  435. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-BNyT0h7t.js +0 -1
  436. package/dist/hsExpand.vue_vue_type_script_setup_true_lang-ezt_aGUO.mjs +0 -285
  437. package/dist/hsFormConfig-B6c-_yYP.js +0 -1
  438. package/dist/hsFormConfig-XU9bJ3kx.mjs +0 -207
  439. package/dist/hsFormConfigList-TKRLW26e.mjs +0 -414
  440. package/dist/hsFormConfigList-TKRLW26e.mjs.gz +0 -0
  441. package/dist/hsFormConfigList-dZqSrJSK.js +0 -1
  442. package/dist/hsFormPanel-CGFysBUk.mjs +0 -238
  443. package/dist/hsFormPanel-CGFysBUk.mjs.gz +0 -0
  444. package/dist/hsFormPanel-kYjgElFR.js +0 -1
  445. package/dist/hsFormParse-BNbnHW6i.mjs +0 -4
  446. package/dist/hsFormParse-CORdqc6m.js +0 -1
  447. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-Ch8RhdXV.mjs +0 -242
  448. package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-Dhlc8D2i.js +0 -1
  449. package/dist/hsPanelItem-BOZ1av6y.js +0 -1
  450. package/dist/hsPanelItem-tPpJnnJd.mjs +0 -4
  451. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Dao7NDhZ.mjs +0 -86
  452. package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-KozoMnkD.js +0 -1
  453. package/dist/iframes-CWdXFiYU.mjs +0 -122
  454. package/dist/iframes-DnAW1ZV2.js +0 -1
  455. package/dist/index copy-DFE_yWCx.mjs +0 -69
  456. package/dist/index copy-DkSt5nzl.js +0 -1
  457. package/dist/index copy-DtsDgBF8.mjs +0 -134
  458. package/dist/index copy-tJ9FVsS0.js +0 -1
  459. package/dist/index-0EMZK_Ri.mjs +0 -10
  460. package/dist/index-24BJiQB9.js +0 -1
  461. package/dist/index-3R5jyrHz.mjs +0 -4
  462. package/dist/index-4ncpQ4eO.js +0 -1
  463. package/dist/index-7sWorN-E.mjs +0 -10
  464. package/dist/index-B1OFpRFB.js +0 -1
  465. package/dist/index-B3waQo6j.mjs +0 -331
  466. package/dist/index-B3waQo6j.mjs.gz +0 -0
  467. package/dist/index-B9WSj98p.mjs +0 -173
  468. package/dist/index-BENZ2WH6.mjs +0 -1009
  469. package/dist/index-BENZ2WH6.mjs.gz +0 -0
  470. package/dist/index-BIgnSPCb.js +0 -1
  471. package/dist/index-BLGhN7h0.js +0 -1
  472. package/dist/index-BM5nAlyo.js +0 -1
  473. package/dist/index-BO1FveAU.js +0 -1
  474. package/dist/index-BPcf0Qgl.js +0 -1
  475. package/dist/index-BRmPrBX8.js +0 -1
  476. package/dist/index-BTs82niR.js +0 -1
  477. package/dist/index-BU8dO1hT.js +0 -1
  478. package/dist/index-BUojF4y6.mjs +0 -4
  479. package/dist/index-BXJWAHGd.mjs +0 -254
  480. package/dist/index-BfOP9sXo.js +0 -1
  481. package/dist/index-Bg2dWQkx.mjs +0 -152
  482. package/dist/index-BhMp70XH.mjs +0 -94
  483. package/dist/index-Bhj2Qelk.js +0 -1
  484. package/dist/index-BiE_2Gfj.js +0 -1
  485. package/dist/index-BmHxBvI1.js +0 -1
  486. package/dist/index-BoPRlzO3.mjs +0 -4
  487. package/dist/index-BpCPATgk.js +0 -1
  488. package/dist/index-BrlBUe6h.mjs +0 -133
  489. package/dist/index-Bvr5XYtq.mjs +0 -73
  490. package/dist/index-CF51_jlI.js +0 -1
  491. package/dist/index-CH_1fUdz.mjs +0 -30
  492. package/dist/index-CJNK6Cjy.js +0 -1
  493. package/dist/index-CLq_LQxX.js +0 -1
  494. package/dist/index-CLq_LQxX.js.gz +0 -0
  495. package/dist/index-CPj-Yh8g.js +0 -1
  496. package/dist/index-CPz6ggKd.mjs +0 -4
  497. package/dist/index-CUE6cOFE.mjs +0 -76
  498. package/dist/index-CVRPmktf.js +0 -1
  499. package/dist/index-CXgFr4Ld.mjs +0 -65
  500. package/dist/index-CYGyHWBv.mjs +0 -258264
  501. package/dist/index-CYGyHWBv.mjs.gz +0 -0
  502. package/dist/index-C_ugVEaP.mjs +0 -119
  503. package/dist/index-CbCppT2z.js +0 -1
  504. package/dist/index-CbgKih92.js +0 -1
  505. package/dist/index-Ci6RD5--.js +0 -1
  506. package/dist/index-Ci6RD5--.js.gz +0 -0
  507. package/dist/index-CjgoMe9f.mjs +0 -5403
  508. package/dist/index-CjgoMe9f.mjs.gz +0 -0
  509. package/dist/index-CnF3_P-G.js +0 -1
  510. package/dist/index-Cqp3Jnya.mjs +0 -95
  511. package/dist/index-CyV3ZVir.js +0 -1
  512. package/dist/index-D-2xfhbK.js +0 -1
  513. package/dist/index-D2GFhA-V.mjs +0 -47
  514. package/dist/index-D2Jd-mM6.mjs +0 -4
  515. package/dist/index-D6ZLwYDH.mjs +0 -89
  516. package/dist/index-DC-Js6Hi.js +0 -1
  517. package/dist/index-DCbmeDfO.js +0 -1
  518. package/dist/index-DCqtHRF9.mjs +0 -23
  519. package/dist/index-DDqY4_A5.mjs +0 -14
  520. package/dist/index-DEykAVeO.js +0 -1
  521. package/dist/index-DFIV43KD.js +0 -1
  522. package/dist/index-DHHcO6BG.js +0 -1
  523. package/dist/index-DJA7OrZO.js +0 -1
  524. package/dist/index-DKCFYKAH.js +0 -1
  525. package/dist/index-DNDaCoMF.js +0 -1
  526. package/dist/index-DRBjUBTG.mjs +0 -65
  527. package/dist/index-DT3c6iM1.mjs +0 -49
  528. package/dist/index-DTZW2hE_.js +0 -1
  529. package/dist/index-DWkT7_xS.mjs +0 -200
  530. package/dist/index-DXXKvOqN.mjs +0 -67
  531. package/dist/index-DZ_UFJE2.mjs +0 -43
  532. package/dist/index-Db25V09U.mjs +0 -73
  533. package/dist/index-DdVbsoiV.js +0 -1
  534. package/dist/index-Dgj5D7n5.mjs +0 -262
  535. package/dist/index-Dlp-NK3p.mjs +0 -172
  536. package/dist/index-DnFBRN9K.js +0 -110
  537. package/dist/index-DnFBRN9K.js.gz +0 -0
  538. package/dist/index-DvbPzC-6.js +0 -1
  539. package/dist/index-Dz9KzQ5V.mjs +0 -50
  540. package/dist/index-DzuU21Ls.js +0 -1
  541. package/dist/index-GKB-XroO.mjs +0 -22
  542. package/dist/index-J73yPVKq.mjs +0 -285
  543. package/dist/index-OdAUnbSV.mjs +0 -131
  544. package/dist/index-PCI3lWru.mjs +0 -38
  545. package/dist/index-PFUkwGmD.js +0 -1
  546. package/dist/index-PFUkwGmD.js.gz +0 -0
  547. package/dist/index-TmdsXxg4.mjs +0 -403
  548. package/dist/index-TmdsXxg4.mjs.gz +0 -0
  549. package/dist/index-URGFFXl5.js +0 -1
  550. package/dist/index-W8MzP83s.mjs +0 -213
  551. package/dist/index-YTNJNmBt.js +0 -1
  552. package/dist/index-Z83-84L3.js +0 -1
  553. package/dist/index-ZKhBU3tw.js +0 -1
  554. package/dist/index-aOzMz2B9.mjs +0 -51
  555. package/dist/index-bZH91HoC.mjs +0 -2208
  556. package/dist/index-bZH91HoC.mjs.gz +0 -0
  557. package/dist/index-feq0FF6W.mjs +0 -23
  558. package/dist/index-g_BDa62N.mjs +0 -19
  559. package/dist/index.vue_vue_type_script_setup_true_lang-B1f-mj3k.mjs +0 -103
  560. package/dist/index.vue_vue_type_script_setup_true_lang-BtDusFoW.js +0 -1
  561. package/dist/index.vue_vue_type_script_setup_true_lang-BxsT79jf.js +0 -1
  562. package/dist/index.vue_vue_type_script_setup_true_lang-C0UurXCc.js +0 -1
  563. package/dist/index.vue_vue_type_script_setup_true_lang-CFxpNArv.mjs +0 -97
  564. package/dist/index.vue_vue_type_script_setup_true_lang-Ch2lZaTn.mjs +0 -194
  565. package/dist/index.vue_vue_type_script_setup_true_lang-Dv-kZosQ.mjs +0 -267
  566. package/dist/index.vue_vue_type_script_setup_true_lang-Dv-kZosQ.mjs.gz +0 -0
  567. package/dist/index.vue_vue_type_script_setup_true_lang-IJKBTB3Y.js +0 -1
  568. package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-CZUzRg_n.js +0 -1
  569. package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-NkgQCBte.mjs +0 -288
  570. package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-NkgQCBte.mjs.gz +0 -0
  571. package/dist/lib-generate-test-usersig.min.js +0 -2
  572. package/dist/lib-generate-test-usersig.min.js.gz +0 -0
  573. package/dist/link-B9jZK3Co.js +0 -1
  574. package/dist/link-x-yMf2aU.mjs +0 -63
  575. package/dist/list-CGMCMNPw.js +0 -1
  576. package/dist/list-CpLsLqR3.mjs +0 -85
  577. package/dist/logo-mini-BQ9BrQ1U.mjs +0 -4
  578. package/dist/logo-mini-DwRdfcE7.js +0 -1
  579. package/dist/main-CeHb7mmf.mjs +0 -72
  580. package/dist/main-VC_qocWi.js +0 -1
  581. package/dist/mobile-BYhQ989p.mjs +0 -115
  582. package/dist/mobile-DKd-GevH.js +0 -1
  583. package/dist/parent-BrZUDcxI.mjs +0 -131
  584. package/dist/parent-Cqft6ke8.js +0 -1
  585. package/dist/popup-B8dQsRMA.mjs +0 -4
  586. package/dist/popup-BhaF4a5x.js +0 -1
  587. package/dist/popup.vue_vue_type_script_setup_true_name_replaceRules_lang-6oT8xreJ.mjs +0 -89
  588. package/dist/popup.vue_vue_type_script_setup_true_name_replaceRules_lang-UweFIPnt.js +0 -1
  589. package/dist/roleItem-sC4o_Aj4.mjs +0 -103
  590. package/dist/roleItem-yqdApgll.js +0 -1
  591. package/dist/saveForm-C2E9Y6ON.mjs +0 -160
  592. package/dist/saveForm-TjA9LESw.js +0 -1
  593. package/dist/scan-BnUS-AoC.js +0 -1
  594. package/dist/scan-BnUS-AoC.js.gz +0 -0
  595. package/dist/scan-DoY8mPqe.mjs +0 -945
  596. package/dist/scan-DoY8mPqe.mjs.gz +0 -0
  597. package/dist/search-BS0R6DrM.js +0 -1
  598. package/dist/search-DI-pcuZu.mjs +0 -114
  599. package/dist/selectConfig-CnxTVchz.mjs +0 -546
  600. package/dist/selectConfig-CnxTVchz.mjs.gz +0 -0
  601. package/dist/selectConfig-D2HVovD8.js +0 -1
  602. package/dist/shortcutList-BXBGQdNn.mjs +0 -76
  603. package/dist/shortcutList-WSi4lUlm.js +0 -1
  604. package/dist/style.css +0 -1
  605. package/dist/style.css.gz +0 -0
  606. package/dist/subItem-BfyxcMb4.js +0 -1
  607. package/dist/subItem-DUZskY5M.mjs +0 -77
  608. package/dist/tagsView-Dft974Qb.mjs +0 -2695
  609. package/dist/tagsView-Dft974Qb.mjs.gz +0 -0
  610. package/dist/tagsView-PBsI_cCp.js +0 -8
  611. package/dist/tagsView-PBsI_cCp.js.gz +0 -0
  612. package/dist/transverse-CjKbGMR0.js +0 -1
  613. package/dist/transverse-cTm57se-.mjs +0 -65
  614. package/dist/types/components/business/bcBox/bcBox.vue.d.ts +0 -66
  615. package/dist/types/components/business/bcBreadcrumb/bcBreadcrumb.vue.d.ts +0 -23
  616. package/dist/types/components/business/bcForm/baseForm.vue.d.ts +0 -273
  617. package/dist/types/components/business/bcForm/bcForm.vue.d.ts +0 -42
  618. package/dist/types/components/business/bcForm/useGuide.d.ts +0 -564
  619. package/dist/types/components/business/bcSystemAuth/components/data.vue.d.ts +0 -3
  620. package/dist/types/components/business/bcSystemAuth/components/dict.vue.d.ts +0 -3
  621. package/dist/types/components/business/bcSystemAuth/components/fastSet/popup.vue.d.ts +0 -17
  622. package/dist/types/components/business/bcSystemAuth/components/field.vue.d.ts +0 -3
  623. package/dist/types/components/business/bcSystemAuth/components/form.vue.d.ts +0 -13
  624. package/dist/types/components/business/bcSystemAuth/components/selectAll/index.vue.d.ts +0 -5
  625. package/dist/types/components/business/bcSystemAuth/components/table.vue.d.ts +0 -13
  626. package/dist/types/components/business/bcSystemAuth/components/widget/btns.vue.d.ts +0 -15
  627. package/dist/types/components/business/bcSystemAuth/components/widget/form.vue.d.ts +0 -15
  628. package/dist/types/components/business/bcSystemAuth/components/widget/tab.vue.d.ts +0 -45
  629. package/dist/types/components/business/bcSystemAuth/components/widget/tables.vue.d.ts +0 -15
  630. package/dist/types/components/business/bcSystemAuth/components/widget/tablesWraper.vue.d.ts +0 -15
  631. package/dist/types/components/business/bcSystemAuth/index.d.ts +0 -3
  632. package/dist/types/components/business/bcSystemAuth/index.vue.d.ts +0 -26
  633. package/dist/types/components/business/bcSystemAuth/type.d.ts +0 -42
  634. package/dist/types/components/business/bcSystemAuth/useAuth.d.ts +0 -28
  635. package/dist/types/components/business/bcSystemField/components/field.vue.d.ts +0 -3
  636. package/dist/types/components/business/bcSystemField/components/form.vue.d.ts +0 -13
  637. package/dist/types/components/business/bcSystemField/components/selectAll/index.vue.d.ts +0 -5
  638. package/dist/types/components/business/bcSystemField/components/table.vue.d.ts +0 -13
  639. package/dist/types/components/business/bcSystemField/components/widget/form.vue.d.ts +0 -15
  640. package/dist/types/components/business/bcSystemField/components/widget/tab.vue.d.ts +0 -45
  641. package/dist/types/components/business/bcSystemField/components/widget/tables.vue.d.ts +0 -15
  642. package/dist/types/components/business/bcSystemField/components/widget/tablesWraper.vue.d.ts +0 -15
  643. package/dist/types/components/business/bcSystemField/index.d.ts +0 -3
  644. package/dist/types/components/business/bcSystemField/index.vue.d.ts +0 -16
  645. package/dist/types/components/business/bcSystemField/useAuth.d.ts +0 -16
  646. package/dist/types/components/business/bcTable/bcFormTable.vue.d.ts +0 -142
  647. package/dist/types/components/business/bcTable/bcTable.vue.d.ts +0 -51
  648. package/dist/types/components/business/bcTable/components/btn/btn.vue.d.ts +0 -77
  649. package/dist/types/components/business/bcTable/components/popup/index.d.ts +0 -3
  650. package/dist/types/components/business/bcTable/components/query/components/sortForm/sortForm.vue.d.ts +0 -23
  651. package/dist/types/components/business/bcTable/components/query/drag.vue.d.ts +0 -244
  652. package/dist/types/components/business/bcTable/components/query/query.vue.d.ts +0 -249
  653. package/dist/types/components/business/bcTable/components/table/colgroup.vue.d.ts +0 -28
  654. package/dist/types/components/business/bcTable/components/table/column.vue.d.ts +0 -35
  655. package/dist/types/components/business/bcTable/components/table/components/sortColumn/sortColumn.vue.d.ts +0 -25
  656. package/dist/types/components/business/bcTable/components/table/table.vue.d.ts +0 -67
  657. package/dist/types/components/business/bcTable/components/table/useTableHeight.d.ts +0 -25
  658. package/dist/types/components/business/bcTable/utils/useFormTableHeight.d.ts +0 -20
  659. package/dist/types/components/business/bcVisual/components/setting/extendItem.vue.d.ts +0 -13
  660. package/dist/types/components/business/bcVisual/components/setting/setting.vue.d.ts +0 -3
  661. package/dist/types/components/business/bcVisual/components/table/table.vue.d.ts +0 -6
  662. package/dist/types/components/business/bcVisual/components/updateName/popup.vue.d.ts +0 -17
  663. package/dist/types/components/business/bcVisual/components/updateSql/addCondition.vue.d.ts +0 -23
  664. package/dist/types/components/business/bcVisual/components/updateSql/nodeTree/index.vue.d.ts +0 -21
  665. package/dist/types/components/business/bcVisual/components/updateSql/nodeTree/nodeTree.vue.d.ts +0 -19
  666. package/dist/types/components/business/bcVisual/components/updateSql/popup.vue.d.ts +0 -17
  667. package/dist/types/plugins/index.d.ts +0 -33
  668. package/dist/types/types/system.d.ts +0 -14
  669. package/dist/types/utils/authFunction.d.ts +0 -18
  670. package/dist/types/utils/build.d.ts +0 -11
  671. package/dist/types/utils/commonFunction.d.ts +0 -29
  672. package/dist/types/utils/file.d.ts +0 -6
  673. package/dist/types/utils/getStyleSheets.d.ts +0 -11
  674. package/dist/types/utils/index.d.ts +0 -29
  675. package/dist/types/utils/lodash.d.ts +0 -3
  676. package/dist/types/utils/request/index.d.ts +0 -6
  677. package/dist/types/utils/request/request.d.ts +0 -7
  678. package/dist/types/utils/setIconfont.d.ts +0 -11
  679. package/dist/types/utils/showMessage.d.ts +0 -6
  680. package/dist/types/utils/showMessageBox.d.ts +0 -6
  681. package/dist/types/utils/showNotification.d.ts +0 -6
  682. package/dist/useConfigInfo-2zEYLSSs.js +0 -1
  683. package/dist/useConfigInfo-PTkkdx-l.mjs +0 -19
  684. package/dist/user-BVfFipEN.js +0 -1
  685. package/dist/user-BwTaSlHV.mjs +0 -246
  686. package/dist/userNews-Bu82hvh-.mjs +0 -72
  687. package/dist/userNews-CqtqTrvp.js +0 -1
  688. package/dist/userSelect-CTM8Fa6N.mjs +0 -4
  689. package/dist/userSelect-CpdC2OeS.js +0 -1
  690. package/dist/userSelect.vue_vue_type_script_setup_true_lang-BAeRpB4d.js +0 -1
  691. package/dist/userSelect.vue_vue_type_script_setup_true_lang-bmpwfuqr.mjs +0 -100
  692. package/dist/vertical-CQrO0kp6.js +0 -1
  693. package/dist/vertical-vdV35A3P.mjs +0 -133
  694. /package/dist/types/{components → src/components}/business/bcSystemAuth/components/fastSet/index.d.ts +0 -0
  695. /package/dist/types/{components → src/components}/business/bcSystemAuth/components/index.d.ts +0 -0
  696. /package/dist/types/{components → src/components}/business/bcSystemAuth/components/widget/index.d.ts +0 -0
  697. /package/dist/types/{components → src/components}/business/bcSystemField/components/index.d.ts +0 -0
  698. /package/dist/types/{components → src/components}/business/bcSystemField/components/widget/index.d.ts +0 -0
  699. /package/dist/types/{components → src/components}/business/bcTable/components/index.d.ts +0 -0
  700. /package/dist/types/{components → src/components}/business/bcTable/components/query/components/sortForm/index.d.ts +0 -0
  701. /package/dist/types/{components → src/components}/business/bcTable/components/table/components/sortColumn/index.d.ts +0 -0
  702. /package/dist/types/{components → src/components}/business/bcVisual/components/updateName/index.d.ts +0 -0
  703. /package/dist/types/{components → src/components}/business/bcVisual/type.d.ts +0 -0
  704. /package/dist/types/{types → src/types}/formItem/button.d.ts +0 -0
  705. /package/dist/types/{types → src/types}/formItem/index.d.ts +0 -0
  706. /package/dist/types/{types → src/types}/index.d.ts +0 -0
  707. /package/dist/types/{utils → src/utils}/cfprint.d.ts +0 -0
  708. /package/dist/types/{utils → src/utils}/crypto.d.ts +0 -0
  709. /package/dist/types/{utils → src/utils}/device_info.d.ts +0 -0
  710. /package/dist/types/{utils → src/utils}/formatTime.d.ts +0 -0
  711. /package/dist/types/{utils → src/utils}/request/interceptors/request/index.d.ts +0 -0
  712. /package/dist/types/{utils → src/utils}/request/interceptors/response/index.d.ts +0 -0
  713. /package/dist/types/{utils → src/utils}/shortcutList.d.ts +0 -0
  714. /package/dist/types/{utils → src/utils}/theme.d.ts +0 -0
  715. /package/dist/types/{utils → src/utils}/toolsValidate.d.ts +0 -0
  716. /package/dist/types/{utils → src/utils}/update.d.ts +0 -0
  717. /package/dist/types/{utils → src/utils}/watermark.d.ts +0 -0
@@ -1,133 +0,0 @@
1
- import { ref, defineComponent, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, withDirectives, unref, createElementVNode, vShow } from "vue";
2
- import { _ as _sfc_main$1 } from "./bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-Cinv4rqH.mjs";
3
- import hsFormConfig from "./formConfig-DwB-R3is.mjs";
4
- import { n as useMenuController, _ as _export_sfc } from "./index-CYGyHWBv.mjs";
5
- import { u as useFieldConfigController } from "./index-B9WSj98p.mjs";
6
- import { u as useConfigInfo } from "./useConfigInfo-PTkkdx-l.mjs";
7
- const menu = useMenuController();
8
- const fieldConfig = useFieldConfigController();
9
- function useForm(formRef, currentPageData) {
10
- const configInfo = useConfigInfo();
11
- let currentPage = ref("");
12
- const configs = ref({});
13
- let sysData = ref();
14
- const menuData = ref();
15
- const onChangeSystem = (system) => {
16
- sysData.value = system;
17
- configs.value = {};
18
- currentPage.value = "";
19
- currentPageData.value = {};
20
- getMenuData(system);
21
- };
22
- const getMenuData = (sysData2) => {
23
- menu.getMenuList({ project_code: sysData2.project_code }).then((res) => {
24
- if (res.code != 1) return;
25
- menuData.value = formatMenuData(res.data || []);
26
- }).catch((err) => {
27
- console.log("err", err);
28
- });
29
- };
30
- const formatMenuData = (data) => {
31
- return data.map((item) => {
32
- item.label = item.meta.title;
33
- item.value = item.name;
34
- if (item.children && item.children.length > 0) {
35
- item.children = formatMenuData(item.children || []);
36
- }
37
- return item;
38
- });
39
- };
40
- const getFormByMenuFn = (params) => {
41
- fieldConfig.getFormByMenu(params).then((res) => {
42
- if (res.code != 1) return;
43
- if (res.data.length > 0) {
44
- configs.value = res.data || [];
45
- if (formRef.value) {
46
- formRef.value.initData(configs.value);
47
- formRef.value.saveFormRef.initConfig(res.data);
48
- }
49
- } else {
50
- configs.value = [];
51
- if (formRef.value) {
52
- formRef.value.initData(configs.value);
53
- formRef.value.saveFormRef.initConfig([]);
54
- }
55
- }
56
- });
57
- };
58
- const changeNode = (data) => {
59
- if (currentPageData.value.id == data.id) return;
60
- currentPage.value = data.value;
61
- currentPageData.value = data;
62
- configInfo.$patch({
63
- form_menu: data
64
- });
65
- let params = {
66
- menu_id: data.id,
67
- project_code: sysData.value.project_code
68
- };
69
- getFormByMenuFn(params);
70
- };
71
- const reGetFormByMenuFn = () => {
72
- let params = {
73
- menu_id: currentPageData.value.id,
74
- project_code: sysData.value.project_code
75
- };
76
- getFormByMenuFn(params);
77
- };
78
- return {
79
- currentPage,
80
- onChangeSystem,
81
- menuData,
82
- changeNode,
83
- currentPageData,
84
- reGetFormByMenuFn,
85
- sysData
86
- };
87
- }
88
- const _hoisted_1 = { class: "system-user-container layout-padding" };
89
- const _hoisted_2 = { class: "flex-1" };
90
- const __default__ = defineComponent({
91
- name: "formSetting"
92
- });
93
- const _sfc_main = /* @__PURE__ */ defineComponent({
94
- ...__default__,
95
- setup(__props) {
96
- const formRef = ref();
97
- let currentPageData = ref({});
98
- const { currentPage, onChangeSystem, changeNode, reGetFormByMenuFn, sysData } = useForm(formRef, currentPageData);
99
- return (_ctx, _cache) => {
100
- const _component_el_card = resolveComponent("el-card");
101
- return openBlock(), createElementBlock("div", _hoisted_1, [
102
- createVNode(_component_el_card, {
103
- shadow: "hover",
104
- class: "layout-padding-auto"
105
- }, {
106
- default: withCtx(() => [
107
- createVNode(_sfc_main$1, {
108
- onChangeNode: unref(changeNode),
109
- onChangeSystem: unref(onChangeSystem)
110
- }, null, 8, ["onChangeNode", "onChangeSystem"]),
111
- withDirectives(createElementVNode("div", _hoisted_2, [
112
- createVNode(hsFormConfig, {
113
- ref_key: "formRef",
114
- ref: formRef,
115
- class: "h-full",
116
- currentPageData: unref(currentPageData),
117
- onRefresh: unref(reGetFormByMenuFn),
118
- sysData: unref(sysData)
119
- }, null, 8, ["currentPageData", "onRefresh", "sysData"])
120
- ], 512), [
121
- [vShow, unref(currentPage)]
122
- ])
123
- ]),
124
- _: 1
125
- })
126
- ]);
127
- };
128
- }
129
- });
130
- const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a1cd6eed"]]);
131
- export {
132
- index as default
133
- };
@@ -1,73 +0,0 @@
1
- import { defineComponent, shallowRef, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, mergeProps, createTextVNode, toDisplayString } from "vue";
2
- import { s as showPopup$1 } from "./index-CYGyHWBv.mjs";
3
- import { _ as _sfc_main$1 } from "./popup.vue_vue_type_script_setup_true_name_replaceRules_lang-6oT8xreJ.mjs";
4
- function showPopup(row) {
5
- return new Promise((resolve) => {
6
- showPopup$1(
7
- _sfc_main$1,
8
- { row },
9
- {
10
- title: row ? "修改" : "新增",
11
- width: "600px",
12
- height: "500px",
13
- success: ({ data }) => resolve(data),
14
- showFooter: false
15
- }
16
- );
17
- });
18
- }
19
- const _hoisted_1 = { class: "system-user-container layout-padding" };
20
- const __default__ = defineComponent({
21
- name: "systemUser"
22
- });
23
- const _sfc_main = /* @__PURE__ */ defineComponent({
24
- ...__default__,
25
- setup(__props) {
26
- const tableInstance = shallowRef();
27
- async function onReady(params) {
28
- tableInstance.value = params;
29
- }
30
- function getRole(row) {
31
- var _a, _b;
32
- return ((_b = (_a = row == null ? void 0 : row.roleList) == null ? void 0 : _a.map((item) => item.role_name)) == null ? void 0 : _b.join(",")) || "";
33
- }
34
- function editItem(row) {
35
- showPopup(row).then((res) => {
36
- var _a;
37
- if (res == "refresh") {
38
- (_a = tableInstance.value) == null ? void 0 : _a.search();
39
- }
40
- });
41
- }
42
- return (_ctx, _cache) => {
43
- const _component_bc_button = resolveComponent("bc-button");
44
- const _component_bc_box = resolveComponent("bc-box");
45
- return openBlock(), createElementBlock("div", _hoisted_1, [
46
- createVNode(_component_bc_box, {
47
- type: "1",
48
- id: "9ebece96-e96a-4f0f-9af5-95860e550088",
49
- isAuth: false,
50
- onReady
51
- }, {
52
- roleList: withCtx(({ row }) => [
53
- createTextVNode(toDisplayString(getRole(row)), 1)
54
- ]),
55
- btn_add: withCtx((scoped) => [
56
- createVNode(_component_bc_button, mergeProps(scoped, {
57
- onClick: _cache[0] || (_cache[0] = ($event) => editItem())
58
- }), null, 16)
59
- ]),
60
- table_btn_edit: withCtx(({ row, btnData }) => [
61
- createVNode(_component_bc_button, mergeProps(btnData, {
62
- onClick: ($event) => editItem(row)
63
- }), null, 16, ["onClick"])
64
- ]),
65
- _: 1
66
- })
67
- ]);
68
- };
69
- }
70
- });
71
- export {
72
- _sfc_main as default
73
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-DnFBRN9K.js"),o=require("./dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-BXa1w9sl.js"),n=require("./index-DFIV43KD.js"),a=require("./index-BU8dO1hT.js"),i=n.useFieldConfigController(),r=a.useDataPermissionController();const l={class:"system-menu-container layout-padding"},s=e.defineComponent({name:"dataAuth"}),d=e.defineComponent({...s,setup(n){const a=e.ref();function s(e){a.value=e,a.value}e.onMounted((()=>{d()}));const{getPageConfig:d,openAddDialog:c,openEditDialog:u,deleteRow:p}=function(n){const a=e.ref(),l=()=>{var t;let o=e.toValue(n.value.formData);null==(t=n.value)||t.fetchTableData({...o})},s=(e,n)=>{t.showPopup(o._sfc_main,{type:e,row:n,search:l},{title:"add"==e?"新增数据权限":"修改数据权限",showFooter:!1,width:"600px",height:"380px",mask:!0})};return{getPageConfig:()=>{i.getFieldListPage({config_type:"1",config_unique_id:"1710555261080",project_code:"scmp",qry_page_name_like:"数据权限"}).then((e=>{let t=e.data&&e.data.customPageList;if(t&&t[0]&&t[0].business_json){let e=JSON.parse(t[0].business_json);a.value=e}})).catch((e=>{}))},openAddDialog:e=>{s(e)},openEditDialog:(e,t)=>{s(e,t)},deleteRow:e=>{t.ElMessageBox.confirm(`确认删除【${e.config_label}】数据权限吗?`,"提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then((()=>{r.postDeleteDataPermissionConfig({id:e.id}).then((e=>{if(1!=e.code)return t.ElMessage.warning(e.msg);t.ElMessage.success(e.msg),l()}))})).catch((()=>{}))},tableData:a}}(a);return(t,o)=>{const n=e.resolveComponent("bc-icon"),a=e.resolveComponent("hs-button"),i=e.resolveComponent("bc-box");return e.openBlock(),e.createElementBlock("div",l,[e.createVNode(i,{id:"1710555261080",mid:"24756d565d164566bc5015118936f84a",type:"1",projectCode:"scmp",isAuth:!1,onReady:s},{btn_add:e.withCtx((()=>[e.createVNode(a,{size:"small",type:"primary",onClick:o[0]||(o[0]=t=>e.unref(c)("add"))},{default:e.withCtx((()=>[e.createVNode(n,{name:"ele-Plus"}),o[1]||(o[1]=e.createTextVNode("新增"))])),_:1,__:[1]})])),table_btn_edit:e.withCtx((({row:t,column:n})=>[e.createVNode(a,{size:"small",text:"",type:"primary",onClick:o=>e.unref(u)("edit",t)},{default:e.withCtx((()=>o[2]||(o[2]=[e.createTextVNode("编辑")]))),_:2,__:[2]},1032,["onClick"])])),table_btn_delete:e.withCtx((({row:t,column:n})=>[e.createVNode(a,{size:"small",text:"",type:"primary",onClick:o=>e.unref(p)(t)},{default:e.withCtx((()=>o[3]||(o[3]=[e.createTextVNode("删除")]))),_:2,__:[3]},1032,["onClick"])])),_:1})])}}});exports.default=d;
@@ -1,30 +0,0 @@
1
- import { defineComponent, defineAsyncComponent, computed, createElementBlock, openBlock, createVNode, createBlock, createCommentVNode, unref } from "vue";
2
- import { storeToRefs } from "pinia";
3
- import { a as useThemeConfig, _ as _export_sfc } from "./index-CYGyHWBv.mjs";
4
- const _hoisted_1 = { class: "layout-navbars-container" };
5
- const __default__ = defineComponent({
6
- name: "layoutNavBars"
7
- });
8
- const _sfc_main = /* @__PURE__ */ defineComponent({
9
- ...__default__,
10
- setup(__props) {
11
- const BreadcrumbIndex = defineAsyncComponent(() => import("./index-Cqp3Jnya.mjs"));
12
- const TagsView = defineAsyncComponent(() => import("./tagsView-Dft974Qb.mjs"));
13
- const storesThemeConfig = useThemeConfig();
14
- const { themeConfig } = storeToRefs(storesThemeConfig);
15
- const setShowTagsView = computed(() => {
16
- let { layout, isTagsview } = themeConfig.value;
17
- return layout !== "classic" && isTagsview;
18
- });
19
- return (_ctx, _cache) => {
20
- return openBlock(), createElementBlock("div", _hoisted_1, [
21
- createVNode(unref(BreadcrumbIndex)),
22
- setShowTagsView.value ? (openBlock(), createBlock(unref(TagsView), { key: 0 })) : createCommentVNode("", true)
23
- ]);
24
- };
25
- }
26
- });
27
- const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6cf86195"]]);
28
- export {
29
- index as default
30
- };
@@ -1 +0,0 @@
1
- "use strict";const e=require("./index-DnFBRN9K.js"),t=(t={})=>{let s=t.proxy?"/"+t.proxy:"";return delete t.proxy,t=((e,t)=>Object.assign(e,{title:t}))(t,"后台api获取接口"),e.request({url:s?s+"/v3/api-docs":"/scmp-web/v3/api-docs",method:"get",params:t})};exports.usePostMan=function(){return{getApiDocs:t}};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),e=require("./index-DnFBRN9K.js"),i={};i.getData=t=>new Promise(((e,i)=>{let s={};(function(t){let e=null;return new Promise(((i,s)=>{if(t.src)if(/^data\:/i.test(t.src))e=function(t,e){e=e||t.match(/^data\:([^\;]+)\;base64,/im)[1]||"",t=t.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var i=atob(t),s=i.length%2==0?i.length:i.length+1,o=new ArrayBuffer(s),h=new Uint16Array(o),r=0;r<s;r++)h[r]=i.charCodeAt(r);return o}(t.src),i(e);else if(/^blob\:/i.test(t.src)){var o=new FileReader;o.onload=function(t){e=t.target.result,i(e)},function(t,e){var i=new XMLHttpRequest;i.open("GET",t,!0),i.responseType="blob",i.onload=function(t){200!=this.status&&0!==this.status||e(this.response)},i.send()}(t.src,(function(t){o.readAsArrayBuffer(t)}))}else{var h=new XMLHttpRequest;h.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";e=h.response,i(e),h=null},h.open("GET",t.src,!0),h.responseType="arraybuffer",h.send(null)}else s("img error")}))})(t).then((t=>{s.arrayBuffer=t;try{s.orientation=function(t){var e,i,s,o,h,r,a,c,n,p=new DataView(t),l=p.byteLength;if(255===p.getUint8(0)&&216===p.getUint8(1))for(c=2;c<l;){if(255===p.getUint8(c)&&225===p.getUint8(c+1)){r=c;break}c++}r&&(i=r+10,"Exif"===function(t,e,i){var s,o="";for(s=e,i+=e;s<i;s++)o+=String.fromCharCode(t.getUint8(s));return o}(p,r+4,4)&&((o=18761===(h=p.getUint16(i)))||19789===h)&&42===p.getUint16(i+2,o)&&(s=p.getUint32(i+4,o))>=8&&(a=i+s));if(a)for(l=p.getUint16(a,o),n=0;n<l;n++)if(c=a+12*n+2,274===p.getUint16(c,o)){c+=8,e=p.getUint16(c,o);break}return e}(t)}catch{s.orientation=-1}e(s)})).catch((t=>{i(t)}))}));const s={data:function(){return{w:0,h:0,scale:1,x:0,y:0,loading:!0,trueWidth:0,trueHeight:0,move:!0,moveX:0,moveY:0,crop:!1,cropping:!1,cropW:0,cropH:0,cropOldW:0,cropOldH:0,canChangeX:!1,canChangeY:!1,changeCropTypeX:1,changeCropTypeY:1,cropX:0,cropY:0,cropChangeX:0,cropChangeY:0,cropOffsertX:0,cropOffsertY:0,support:"",touches:[],touchNow:!1,rotate:0,isIos:!1,orientation:0,imgs:"",coe:.2,scaling:!1,scalingSet:"",coeStatus:"",isCanShow:!0,imgIsQqualCrop:!1}},props:{img:{type:[String,Blob,null,File],default:""},outputSize:{type:Number,default:1},outputType:{type:String,default:"jpeg"},info:{type:Boolean,default:!0},canScale:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!1},autoCropWidth:{type:[Number,String],default:0},autoCropHeight:{type:[Number,String],default:0},fixed:{type:Boolean,default:!1},fixedNumber:{type:Array,default:()=>[1,1]},fixedBox:{type:Boolean,default:!1},full:{type:Boolean,default:!1},canMove:{type:Boolean,default:!0},canMoveBox:{type:Boolean,default:!0},original:{type:Boolean,default:!1},centerBox:{type:Boolean,default:!1},high:{type:Boolean,default:!0},infoTrue:{type:Boolean,default:!1},maxImgSize:{type:[Number,String],default:2e3},enlarge:{type:[Number,String],default:1},preW:{type:[Number,String],default:0},mode:{type:String,default:"contain"},limitMinSize:{type:[Number,Array,String],default:()=>10,validator:function(t){return Array.isArray(t)?Number(t[0])>=0&&Number(t[1])>=0:Number(t)>=0}},fillColor:{type:String,default:""}},computed:{cropInfo(){let t={};if(t.top=this.cropOffsertY>21?"-21px":"0px",t.width=this.cropW>0?this.cropW:0,t.height=this.cropH>0?this.cropH:0,this.infoTrue){let e=1;this.high&&!this.full&&(e=window.devicePixelRatio),1!==this.enlarge&!this.full&&(e=Math.abs(Number(this.enlarge))),t.width=t.width*e,t.height=t.height*e,this.full&&(t.width=t.width/this.scale,t.height=t.height/this.scale)}return t.width=t.width.toFixed(0),t.height=t.height.toFixed(0),t},isIE:()=>!!window.ActiveXObject||"ActiveXObject"in window,passive(){return this.isIE?null:{passive:!1}}},watch:{img(){this.checkedImg()},imgs(t){""!==t&&this.reload()},cropW(){this.showPreview()},cropH(){this.showPreview()},cropOffsertX(){this.showPreview()},cropOffsertY(){this.showPreview()},scale(t,e){this.showPreview()},x(){this.showPreview()},y(){this.showPreview()},autoCrop(t){t&&this.goAutoCrop()},autoCropWidth(){this.autoCrop&&this.goAutoCrop()},autoCropHeight(){this.autoCrop&&this.goAutoCrop()},mode(){this.checkedImg()},rotate(){this.showPreview(),(this.autoCrop||this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion(t){var e=navigator.userAgent.split(" "),i="";let s=0;const o=new RegExp(t,"i");for(var h=0;h<e.length;h++)o.test(e[h])&&(i=e[h]);return s=i?i.split("/")[1].split("."):["0","0","0"],s},checkOrientationImage(t,e,i,s){if(this.getVersion("chrome")[0]>=81)e=-1;else if(this.getVersion("safari")[0]>=605){const t=this.getVersion("version");t[0]>13&&t[1]>1&&(e=-1)}else{const t=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(t){let i=t[1];i=i.split("_"),(i[0]>13||i[0]>=13&&i[1]>=4)&&(e=-1)}}let o=document.createElement("canvas"),h=o.getContext("2d");switch(h.save(),e){case 2:o.width=i,o.height=s,h.translate(i,0),h.scale(-1,1);break;case 3:o.width=i,o.height=s,h.translate(i/2,s/2),h.rotate(180*Math.PI/180),h.translate(-i/2,-s/2);break;case 4:o.width=i,o.height=s,h.translate(0,s),h.scale(1,-1);break;case 5:o.height=i,o.width=s,h.rotate(.5*Math.PI),h.scale(1,-1);break;case 6:o.width=s,o.height=i,h.translate(s/2,i/2),h.rotate(90*Math.PI/180),h.translate(-i/2,-s/2);break;case 7:o.height=i,o.width=s,h.rotate(.5*Math.PI),h.translate(i,-s),h.scale(-1,1);break;case 8:o.height=i,o.width=s,h.translate(s/2,i/2),h.rotate(-90*Math.PI/180),h.translate(-i/2,-s/2);break;default:o.width=i,o.height=s}h.drawImage(t,0,0,i,s),h.restore(),o.toBlob((t=>{let e=URL.createObjectURL(t);URL.revokeObjectURL(this.imgs),this.imgs=e}),"image/"+this.outputType,1)},checkedImg(){if(null===this.img||""===this.img)return this.imgs="",void this.clearCrop();this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();let t=new Image;if(t.onload=()=>{if(""===this.img)return this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load",new Error("图片不能为空")),!1;let e=t.width,s=t.height;i.getData(t).then((i=>{this.orientation=i.orientation||1;let o=Number(this.maxImgSize);!this.orientation&&e<o&s<o?this.imgs=this.img:(e>o&&(s=s/e*o,e=o),s>o&&(e=e/s*o,s=o),this.checkOrientationImage(t,this.orientation,e,s))})).catch((t=>{this.$emit("img-load","error"),this.$emit("img-load-error",t)}))},t.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error"),this.$emit("img-load-error",error)},"data"!==this.img.substr(0,4)&&(t.crossOrigin=""),this.isIE){var e=new XMLHttpRequest;e.onload=function(){var e=URL.createObjectURL(this.response);t.src=e},e.open("GET",this.img,!0),e.responseType="blob",e.send()}else t.src=this.img},startMove(t){if(t.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in t?t.clientX:t.touches[0].clientX)-this.x,this.moveY=("clientY"in t?t.clientY:t.touches[0].clientY)-this.y,t.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),2==t.touches.length&&(this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=t.offsetX?t.offsetX:t.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=t.offsetY?t.offsetY:t.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(t){t.preventDefault();let e=this.scale;var i=this.touches[0].clientX,s=this.touches[0].clientY,o=t.touches[0].clientX,h=t.touches[0].clientY,r=this.touches[1].clientX,a=this.touches[1].clientY,c=t.touches[1].clientX,n=t.touches[1].clientY,p=Math.sqrt(Math.pow(i-r,2)+Math.pow(s-a,2)),l=Math.sqrt(Math.pow(o-c,2)+Math.pow(h-n,2))-p,d=1,u=(d=(d=d/this.trueWidth>d/this.trueHeight?d/this.trueHeight:d/this.trueWidth)>.1?.1:d)*l;if(!this.touchNow){if(this.touchNow=!0,l>0?e+=Math.abs(u):l<0&&e>Math.abs(u)&&(e-=Math.abs(u)),this.touches=t.touches,setTimeout((()=>{this.touchNow=!1}),8),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e}},cancelTouchScale(t){window.removeEventListener("touchmove",this.touchScale)},moveImg(t){if(t.preventDefault(),t.touches&&2===t.touches.length)return this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let e,i,s="clientX"in t?t.clientX:t.touches[0].clientX,o="clientY"in t?t.clientY:t.touches[0].clientY;e=s-this.moveX,i=o-this.moveY,this.$nextTick((()=>{if(this.centerBox){let t,s,o,h,r=this.getImgAxis(e,i,this.scale),a=this.getCropAxis(),c=this.trueHeight*this.scale,n=this.trueWidth*this.scale;switch(this.rotate){case 1:case-1:case 3:case-3:t=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(c-n)/2,s=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(n-c)/2,o=t-c+this.cropW,h=s-n+this.cropH;break;default:t=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,s=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,o=t-n+this.cropW,h=s-c+this.cropH}r.x1>=a.x1&&(e=t),r.y1>=a.y1&&(i=s),r.x2<=a.x2&&(e=o),r.y2<=a.y2&&(i=h)}this.x=e,this.y=i,this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}))},leaveImg(t){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize(t){t.preventDefault();let e=this.scale;var i=t.deltaY||t.wheelDelta;i=navigator.userAgent.indexOf("Firefox")>0?30*i:i,this.isIE&&(i=-i);var s=this.coe,o=(s=s/this.trueWidth>s/this.trueHeight?s/this.trueHeight:s/this.trueWidth)*i;o<0?e+=Math.abs(o):e>Math.abs(o)&&(e-=Math.abs(o));let h=o<0?"add":"reduce";if(h!==this.coeStatus&&(this.coeStatus=h,this.coe=.2),this.scaling||(this.scalingSet=setTimeout((()=>{this.scaling=!1,this.coe=this.coe+=.01}),50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},changeScale(t){let e=this.scale;t=t||1;var i=20;if((t*=i=i/this.trueWidth>i/this.trueHeight?i/this.trueHeight:i/this.trueWidth)>0?e+=Math.abs(t):e>Math.abs(t)&&(e-=Math.abs(t)),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},createCrop(t){t.preventDefault();var e="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,i="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0;this.$nextTick((()=>{var t=e-this.cropX,s=i-this.cropY;if(t>0?(this.cropW=t+this.cropChangeX>this.w?this.w-this.cropChangeX:t,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(t)>this.w?this.cropChangeX:Math.abs(t),this.cropOffsertX=this.cropChangeX+t>0?this.cropChangeX+t:0),this.fixed){var o=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];o+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],this.cropOffsertX=t>0?this.cropChangeX:this.cropChangeX-this.cropW):this.cropH=o,this.cropOffsertY=this.cropOffsertY}else s>0?(this.cropH=s+this.cropChangeY>this.h?this.h-this.cropChangeY:s,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(s)>this.h?this.cropChangeY:Math.abs(s),this.cropOffsertY=this.cropChangeY+s>0?this.cropChangeY+s:0)}))},changeCropSize(t,e,i,s,o){t.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=e,this.canChangeY=i,this.changeCropTypeX=s,this.changeCropTypeY=o,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("changeCropSize",{width:this.cropW,height:this.cropH}),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow(t){t.preventDefault();var e="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,i="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0;let s=this.w,o=this.h,h=0,r=0;if(this.centerBox){let t=this.getImgAxis(),e=t.x2,i=t.y2;h=t.x1>0?t.x1:0,r=t.y1>0?t.y1:0,s>e&&(s=e),o>i&&(o=i)}const[a,c]=this.checkCropLimitSize();this.$nextTick((()=>{var t=e-this.cropX,n=i-this.cropY;if(this.canChangeX&&(1===this.changeCropTypeX?this.cropOldW-t<a?(this.cropW=a,this.cropOffsertX=this.cropOldW+this.cropChangeX-h-a):this.cropOldW-t>0?(this.cropW=s-this.cropChangeX-t<=s-h?this.cropOldW-t:this.cropOldW+this.cropChangeX-h,this.cropOffsertX=s-this.cropChangeX-t<=s-h?this.cropChangeX+t:h):(this.cropW=Math.abs(t)+this.cropChangeX<=s?Math.abs(t)-this.cropOldW:s-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):2===this.changeCropTypeX&&(this.cropOldW+t<a?this.cropW=a:this.cropOldW+t>0?(this.cropW=this.cropOldW+t+this.cropOffsertX<=s?this.cropOldW+t:s-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=s-this.cropChangeX+Math.abs(t+this.cropOldW)<=s-h?Math.abs(t+this.cropOldW):this.cropChangeX-h,this.cropOffsertX=s-this.cropChangeX+Math.abs(t+this.cropOldW)<=s-h?this.cropChangeX-Math.abs(t+this.cropOldW):h))),this.canChangeY&&(1===this.changeCropTypeY?this.cropOldH-n<c?(this.cropH=c,this.cropOffsertY=this.cropOldH+this.cropChangeY-r-c):this.cropOldH-n>0?(this.cropH=o-this.cropChangeY-n<=o-r?this.cropOldH-n:this.cropOldH+this.cropChangeY-r,this.cropOffsertY=o-this.cropChangeY-n<=o-r?this.cropChangeY+n:r):(this.cropH=Math.abs(n)+this.cropChangeY<=o?Math.abs(n)-this.cropOldH:o-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):2===this.changeCropTypeY&&(this.cropOldH+n<c?this.cropH=c:this.cropOldH+n>0?(this.cropH=this.cropOldH+n+this.cropOffsertY<=o?this.cropOldH+n:o-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=o-this.cropChangeY+Math.abs(n+this.cropOldH)<=o-r?Math.abs(n+this.cropOldH):this.cropChangeY-r,this.cropOffsertY=o-this.cropChangeY+Math.abs(n+this.cropOldH)<=o-r?this.cropChangeY-Math.abs(n+this.cropOldH):r))),this.canChangeX&&this.fixed){var p=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];p<c?(this.cropH=c,this.cropW=this.fixedNumber[0]*c/this.fixedNumber[1],1===this.changeCropTypeX&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):p+this.cropOffsertY>o?(this.cropH=o-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],1===this.changeCropTypeX&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):this.cropH=p}if(this.canChangeY&&this.fixed){var l=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];l<a?(this.cropW=a,this.cropH=this.fixedNumber[1]*a/this.fixedNumber[0]):l+this.cropOffsertX>s?(this.cropW=s-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=l}this.$emit("cropSizing",{cropW:this.cropW,cropH:this.cropH}),this.$emit("crop-sizing",{cropW:this.cropW,cropH:this.cropH})}))},checkCropLimitSize(){let{cropW:t,cropH:e,limitMinSize:i}=this,s=new Array;return s=Array.isArray(i)?i:[i,i],t=parseFloat(s[0]),e=parseFloat(s[1]),[t,e]},changeCropEnd(t){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},calculateSize(t,e,i,s,o,h){const r=t/e;let a=o,c=h;return a<i&&(a=i,c=Math.ceil(a/r)),c<s&&(c=s,a=Math.ceil(c*r),a<i&&(a=i,c=Math.ceil(a/r))),a<o&&(a=o,c=Math.ceil(a/r)),c<h&&(c=h,a=Math.ceil(c*r)),{width:a,height:c}},endCrop(){0===this.cropW&&0===this.cropH&&(this.cropping=!1);let[t,e]=this.checkCropLimitSize();const{width:i,height:s}=this.fixed?this.calculateSize(this.fixedNumber[0],this.fixedNumber[1],t,e,this.cropW,this.cropH):{width:t,height:e};i>this.cropW&&(this.cropW=i,this.cropOffsertX+i>this.w&&(this.cropOffsertX=this.w-i)),s>this.cropH&&(this.cropH=s,this.cropOffsertY+s>this.h&&(this.cropOffsertY=this.h-s)),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop(){this.crop=!0},stopCrop(){this.crop=!1},clearCrop(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove(t){if(t.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(t),!1;if(t.touches&&2===t.touches.length)return this.crop=!1,this.startMove(t),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let e,i,s="clientX"in t?t.clientX:t.touches[0].clientX,o="clientY"in t?t.clientY:t.touches[0].clientY;e=s-this.cropOffsertX,i=o-this.cropOffsertY,this.cropX=e,this.cropY=i,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(t,e){let i=0,s=0;t&&(t.preventDefault(),i="clientX"in t?t.clientX:t.touches[0].clientX,s="clientY"in t?t.clientY:t.touches[0].clientY),this.$nextTick((()=>{let t,o,h=i-this.cropX,r=s-this.cropY;if(e&&(h=this.cropOffsertX,r=this.cropOffsertY),t=h<=0?0:h+this.cropW>this.w?this.w-this.cropW:h,o=r<=0?0:r+this.cropH>this.h?this.h-this.cropH:r,this.centerBox){let e=this.getImgAxis();t<=e.x1&&(t=e.x1),t+this.cropW>e.x2&&(t=e.x2-this.cropW),o<=e.y1&&(o=e.y1),o+this.cropH>e.y2&&(o=e.y2-this.cropH)}this.cropOffsertX=t,this.cropOffsertY=o,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})}))},getImgAxis(t,e,i){t=t||this.x,e=e||this.y,i=i||this.scale;let s={x1:0,x2:0,y1:0,y2:0},o=this.trueWidth*i,h=this.trueHeight*i;switch(this.rotate){case 0:s.x1=t+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=e+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i;break;case 1:case-1:case 3:case-3:s.x1=t+this.trueWidth*(1-i)/2+(o-h)/2,s.x2=s.x1+this.trueHeight*i,s.y1=e+this.trueHeight*(1-i)/2+(h-o)/2,s.y2=s.y1+this.trueWidth*i;break;default:s.x1=t+this.trueWidth*(1-i)/2,s.x2=s.x1+this.trueWidth*i,s.y1=e+this.trueHeight*(1-i)/2,s.y2=s.y1+this.trueHeight*i}return s},getCropAxis(){let t={x1:0,x2:0,y1:0,y2:0};return t.x1=this.cropOffsertX,t.x2=t.x1+this.cropW,t.y1=this.cropOffsertY,t.y2=t.y1+this.cropH,t},leaveCrop(t){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked(t){let e=document.createElement("canvas"),i=e.getContext("2d"),s=new Image,o=this.rotate,h=this.trueWidth,r=this.trueHeight,a=this.cropOffsertX,c=this.cropOffsertY;s.onload=()=>{if(0!==this.cropW){let t=1;this.high&!this.full&&(t=window.devicePixelRatio),1!==this.enlarge&!this.full&&(t=Math.abs(Number(this.enlarge)));let e=this.cropW*t,n=this.cropH*t,l=h*this.scale*t,d=r*this.scale*t,u=(this.x-a+this.trueWidth*(1-this.scale)/2)*t,g=(this.y-c+this.trueHeight*(1-this.scale)/2)*t;switch(p(e,n),i.save(),o){case 0:this.full?(p(e/this.scale,n/this.scale),i.drawImage(s,u/this.scale,g/this.scale,l/this.scale,d/this.scale)):i.drawImage(s,u,g,l,d);break;case 1:case-3:this.full?(p(e/this.scale,n/this.scale),u=u/this.scale+(l/this.scale-d/this.scale)/2,g=g/this.scale+(d/this.scale-l/this.scale)/2,i.rotate(90*o*Math.PI/180),i.drawImage(s,g,-u-d/this.scale,l/this.scale,d/this.scale)):(u+=(l-d)/2,g+=(d-l)/2,i.rotate(90*o*Math.PI/180),i.drawImage(s,g,-u-d,l,d));break;case 2:case-2:this.full?(p(e/this.scale,n/this.scale),i.rotate(90*o*Math.PI/180),u/=this.scale,g/=this.scale,i.drawImage(s,-u-l/this.scale,-g-d/this.scale,l/this.scale,d/this.scale)):(i.rotate(90*o*Math.PI/180),i.drawImage(s,-u-l,-g-d,l,d));break;case 3:case-1:this.full?(p(e/this.scale,n/this.scale),u=u/this.scale+(l/this.scale-d/this.scale)/2,g=g/this.scale+(d/this.scale-l/this.scale)/2,i.rotate(90*o*Math.PI/180),i.drawImage(s,-g-l/this.scale,u,l/this.scale,d/this.scale)):(u+=(l-d)/2,g+=(d-l)/2,i.rotate(90*o*Math.PI/180),i.drawImage(s,-g-l,u,l,d));break;default:this.full?(p(e/this.scale,n/this.scale),i.drawImage(s,u/this.scale,g/this.scale,l/this.scale,d/this.scale)):i.drawImage(s,u,g,l,d)}i.restore()}else{let t=h*this.scale,e=r*this.scale;switch(i.save(),o){case 0:p(t,e),i.drawImage(s,0,0,t,e);break;case 1:case-3:p(e,t),i.rotate(90*o*Math.PI/180),i.drawImage(s,0,-e,t,e);break;case 2:case-2:p(t,e),i.rotate(90*o*Math.PI/180),i.drawImage(s,-t,-e,t,e);break;case 3:case-1:p(e,t),i.rotate(90*o*Math.PI/180),i.drawImage(s,-t,0,t,e);break;default:p(t,e),i.drawImage(s,0,0,t,e)}i.restore()}t(e)},"data"!==this.img.substr(0,4)&&(s.crossOrigin="Anonymous"),s.src=this.imgs;const n=this.fillColor;function p(t,s){e.width=Math.round(t),e.height=Math.round(s),n&&(i.fillStyle=n,i.fillRect(0,0,e.width,e.height))}},getCropData(t){this.getCropChecked((e=>{t(e.toDataURL("image/"+this.outputType,this.outputSize))}))},getCropBlob(t){this.getCropChecked((e=>{e.toBlob((e=>t(e)),"image/"+this.outputType,this.outputSize)}))},showPreview(){if(!this.isCanShow)return!1;this.isCanShow=!1,setTimeout((()=>{this.isCanShow=!0}),16);let t=this.cropW,e=this.cropH,i=this.scale;var s={};s.div={width:`${t}px`,height:`${e}px`};let o=(this.x-this.cropOffsertX)/i,h=(this.y-this.cropOffsertY)/i;s.w=t,s.h=e,s.url=this.imgs,s.img={width:`${this.trueWidth}px`,height:`${this.trueHeight}px`,transform:`scale(${i})translate3d(${o}px, ${h}px, 0px)rotateZ(${90*this.rotate}deg)`},s.html=`\n <div class="show-preview" style="width: ${s.w}px; height: ${s.h}px; overflow: hidden">\n <div style="width: ${t}px; height: ${e}px">\n <img src=${s.url} style="width: ${this.trueWidth}px; height: ${this.trueHeight}px; transform:\n scale(${i})translate3d(${o}px, ${h}px, 0px)rotateZ(${90*this.rotate}deg)">\n </div>\n </div>`,this.$emit("realTime",s),this.$emit("real-time",s)},reload(){let t=new Image;t.onload=()=>{this.w=parseFloat(window.getComputedStyle(this.$refs.cropper).width),this.h=parseFloat(window.getComputedStyle(this.$refs.cropper).height),this.trueWidth=t.width,this.trueHeight=t.height,this.original?this.scale=1:this.scale=this.checkedMode(),this.$nextTick((()=>{this.x=-(this.trueWidth-this.trueWidth*this.scale)/2+(this.w-this.trueWidth*this.scale)/2,this.y=-(this.trueHeight-this.trueHeight*this.scale)/2+(this.h-this.trueHeight*this.scale)/2,this.loading=!1,this.autoCrop&&this.goAutoCrop(),this.$emit("img-load","success"),this.$emit("imgLoad","success"),setTimeout((()=>{this.showPreview()}),20)}))},t.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error")},t.src=this.imgs},checkedMode(){let t=1,e=this.trueWidth,i=this.trueHeight;const s=this.mode.split(" ");switch(s[0]){case"contain":this.trueWidth>this.w&&(t=this.w/this.trueWidth),this.trueHeight*t>this.h&&(t=this.h/this.trueHeight);break;case"cover":e=this.w,t=e/this.trueWidth,i*=t,i<this.h&&(i=this.h,t=i/this.trueHeight);break;default:try{let o=s[0];if(-1!==o.search("px")){o=o.replace("px",""),e=parseFloat(o);const h=e/this.trueWidth;let r=1,a=s[1];-1!==a.search("px")&&(a=a.replace("px",""),i=parseFloat(a),r=i/this.trueHeight),t=Math.min(h,r)}if(-1!==o.search("%")&&(o=o.replace("%",""),e=parseFloat(o)/100*this.w,t=e/this.trueWidth),2===s.length&&"auto"===o){let e=s[1];-1!==e.search("px")&&(e=e.replace("px",""),i=parseFloat(e),t=i/this.trueHeight),-1!==e.search("%")&&(e=e.replace("%",""),i=parseFloat(e)/100*this.h,t=i/this.trueHeight)}}catch(o){t=1}}return t},goAutoCrop(t,e){if(""===this.imgs||null===this.imgs)return;this.clearCrop(),this.cropping=!0;let i=this.w,s=this.h;if(this.centerBox){const t=Math.abs(this.rotate)%2>0;let e=(t?this.trueHeight:this.trueWidth)*this.scale,o=(t?this.trueWidth:this.trueHeight)*this.scale;i=e<i?e:i,s=o<s?o:s}var o=t||parseFloat(this.autoCropWidth),h=e||parseFloat(this.autoCropHeight);0!==o&&0!==h||(o=.8*i,h=.8*s),o=o>i?i:o,h=h>s?s:h,this.fixed&&(h=o/this.fixedNumber[0]*this.fixedNumber[1]),h>this.h&&(o=(h=this.h)/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(o,h)},changeCrop(t,e){if(this.centerBox){let i=this.getImgAxis();t>i.x2-i.x1&&(e=(t=i.x2-i.x1)/this.fixedNumber[0]*this.fixedNumber[1]),e>i.y2-i.y1&&(t=(e=i.y2-i.y1)/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=t,this.cropH=e,this.checkCropLimitSize(),this.$nextTick((()=>{this.cropOffsertX=(this.w-this.cropW)/2,this.cropOffsertY=(this.h-this.cropH)/2,this.centerBox&&this.moveCrop(null,!0)}))},refresh(){this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.clearCrop(),this.$nextTick((()=>{this.checkedImg()}))},rotateLeft(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear(){this.rotate=0},checkoutImgAxis(t,e,i){t=t||this.x,e=e||this.y,i=i||this.scale;let s=!0;if(this.centerBox){let o=this.getImgAxis(t,e,i),h=this.getCropAxis();o.x1>=h.x1&&(s=!1),o.x2<=h.x2&&(s=!1),o.y1>=h.y1&&(s=!1),o.y2<=h.y2&&(s=!1),s||this.changeImgScale(o,h,i)}return s},changeImgScale(t,e,i){let s=this.trueWidth,o=this.trueHeight,h=s*i,r=o*i;if(h>=this.cropW&&r>=this.cropH)this.scale=i;else{const t=this.cropW/s,e=this.cropH/o,i=this.cropH<=o*t?t:e;this.scale=i,h=s*i,r=o*i}this.imgIsQqualCrop||(t.x1>=e.x1&&(this.isRotateRightOrLeft?this.x=e.x1-(s-h)/2-(h-r)/2:this.x=e.x1-(s-h)/2),t.x2<=e.x2&&(this.isRotateRightOrLeft?this.x=e.x1-(s-h)/2-(h-r)/2-r+this.cropW:this.x=e.x2-(s-h)/2-h),t.y1>=e.y1&&(this.isRotateRightOrLeft?this.y=e.y1-(o-r)/2-(r-h)/2:this.y=e.y1-(o-r)/2),t.y2<=e.y2&&(this.isRotateRightOrLeft?this.y=e.y2-(o-r)/2-(r-h)/2-h:this.y=e.y2-(o-r)/2-r)),(h<this.cropW||r<this.cropH)&&(this.imgIsQqualCrop=!0)}},mounted(){this.support="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";let t=this;var e=navigator.userAgent;this.isIOS=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(e,i,s){for(var o=atob(this.toDataURL(i,s).split(",")[1]),h=o.length,r=new Uint8Array(h),a=0;a<h;a++)r[a]=o.charCodeAt(a);e(new Blob([r],{type:t.type||"image/png"}))}}),this.showPreview(),this.checkedImg()},destroyed(){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.cancelScale()}},o={key:0,class:"cropper-box"},h=["src"],r={class:"cropper-view-box"},a=["src"],c={key:1};const n=e._export_sfc(s,[["render",function(e,i,s,n,p,l){return t.openBlock(),t.createElementBlock("div",{class:"vue-cropper",ref:"cropper",onMouseover:i[28]||(i[28]=(...t)=>l.scaleImg&&l.scaleImg(...t)),onMouseout:i[29]||(i[29]=(...t)=>l.cancelScale&&l.cancelScale(...t))},[e.imgs?(t.openBlock(),t.createElementBlock("div",o,[t.withDirectives(t.createElementVNode("div",{class:"cropper-box-canvas",style:t.normalizeStyle({width:e.trueWidth+"px",height:e.trueHeight+"px",transform:"scale("+e.scale+","+e.scale+") translate3d("+e.x/e.scale+"px,"+e.y/e.scale+"px,0)rotateZ("+90*e.rotate+"deg)"})},[t.createElementVNode("img",{src:e.imgs,alt:"cropper-img",ref:"cropperImg"},null,8,h)],4),[[t.vShow,!e.loading]])])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["cropper-drag-box",{"cropper-move":e.move&&!e.crop,"cropper-crop":e.crop,"cropper-modal":e.cropping}]),onMousedown:i[0]||(i[0]=(...t)=>l.startMove&&l.startMove(...t)),onTouchstart:i[1]||(i[1]=(...t)=>l.startMove&&l.startMove(...t))},null,34),t.withDirectives(t.createElementVNode("div",{class:"cropper-crop-box",style:t.normalizeStyle({width:e.cropW+"px",height:e.cropH+"px",transform:"translate3d("+e.cropOffsertX+"px,"+e.cropOffsertY+"px,0)"})},[t.createElementVNode("span",r,[t.createElementVNode("img",{style:t.normalizeStyle({width:e.trueWidth+"px",height:e.trueHeight+"px",transform:"scale("+e.scale+","+e.scale+") translate3d("+(e.x-e.cropOffsertX)/e.scale+"px,"+(e.y-e.cropOffsertY)/e.scale+"px,0)rotateZ("+90*e.rotate+"deg)"}),src:e.imgs,alt:"cropper-img"},null,12,a)]),t.createElementVNode("span",{class:"cropper-face cropper-move",onMousedown:i[2]||(i[2]=(...t)=>l.cropMove&&l.cropMove(...t)),onTouchstart:i[3]||(i[3]=(...t)=>l.cropMove&&l.cropMove(...t))},null,32),s.info?(t.openBlock(),t.createElementBlock("span",{key:0,class:"crop-info",style:t.normalizeStyle({top:l.cropInfo.top})},t.toDisplayString(l.cropInfo.width)+" × "+t.toDisplayString(l.cropInfo.height),5)):t.createCommentVNode("",!0),s.fixedBox?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",c,[t.createElementVNode("span",{class:"crop-line line-w",onMousedown:i[4]||(i[4]=t=>l.changeCropSize(t,!1,!0,0,1)),onTouchstart:i[5]||(i[5]=t=>l.changeCropSize(t,!1,!0,0,1))},null,32),t.createElementVNode("span",{class:"crop-line line-a",onMousedown:i[6]||(i[6]=t=>l.changeCropSize(t,!0,!1,1,0)),onTouchstart:i[7]||(i[7]=t=>l.changeCropSize(t,!0,!1,1,0))},null,32),t.createElementVNode("span",{class:"crop-line line-s",onMousedown:i[8]||(i[8]=t=>l.changeCropSize(t,!1,!0,0,2)),onTouchstart:i[9]||(i[9]=t=>l.changeCropSize(t,!1,!0,0,2))},null,32),t.createElementVNode("span",{class:"crop-line line-d",onMousedown:i[10]||(i[10]=t=>l.changeCropSize(t,!0,!1,2,0)),onTouchstart:i[11]||(i[11]=t=>l.changeCropSize(t,!0,!1,2,0))},null,32),t.createElementVNode("span",{class:"crop-point point1",onMousedown:i[12]||(i[12]=t=>l.changeCropSize(t,!0,!0,1,1)),onTouchstart:i[13]||(i[13]=t=>l.changeCropSize(t,!0,!0,1,1))},null,32),t.createElementVNode("span",{class:"crop-point point2",onMousedown:i[14]||(i[14]=t=>l.changeCropSize(t,!1,!0,0,1)),onTouchstart:i[15]||(i[15]=t=>l.changeCropSize(t,!1,!0,0,1))},null,32),t.createElementVNode("span",{class:"crop-point point3",onMousedown:i[16]||(i[16]=t=>l.changeCropSize(t,!0,!0,2,1)),onTouchstart:i[17]||(i[17]=t=>l.changeCropSize(t,!0,!0,2,1))},null,32),t.createElementVNode("span",{class:"crop-point point4",onMousedown:i[18]||(i[18]=t=>l.changeCropSize(t,!0,!1,1,0)),onTouchstart:i[19]||(i[19]=t=>l.changeCropSize(t,!0,!1,1,0))},null,32),t.createElementVNode("span",{class:"crop-point point5",onMousedown:i[20]||(i[20]=t=>l.changeCropSize(t,!0,!1,2,0)),onTouchstart:i[21]||(i[21]=t=>l.changeCropSize(t,!0,!1,2,0))},null,32),t.createElementVNode("span",{class:"crop-point point6",onMousedown:i[22]||(i[22]=t=>l.changeCropSize(t,!0,!0,1,2)),onTouchstart:i[23]||(i[23]=t=>l.changeCropSize(t,!0,!0,1,2))},null,32),t.createElementVNode("span",{class:"crop-point point7",onMousedown:i[24]||(i[24]=t=>l.changeCropSize(t,!1,!0,0,2)),onTouchstart:i[25]||(i[25]=t=>l.changeCropSize(t,!1,!0,0,2))},null,32),t.createElementVNode("span",{class:"crop-point point8",onMousedown:i[26]||(i[26]=t=>l.changeCropSize(t,!0,!0,2,2)),onTouchstart:i[27]||(i[27]=t=>l.changeCropSize(t,!0,!0,2,2))},null,32)]))],4),[[t.vShow,e.cropping]])],544)}],["__scopeId","data-v-8e42ffcf"]]),p={class:"h-full"},l={class:"avatar-upload-preview"},d=["src"],u=t.defineComponent({name:"cropper"}),g=t.defineComponent({...u,props:{avatar:{default:""},close:{type:Function,default:close},proxyId:{default:""}},setup(i){const{postSinglefile:s,postUpdateFile:o}=e.useFileController(),h=i;let r=t.ref({});t.onMounted((async()=>{r.value=await e.systemStore.get("userInfo")}));let{avatar:a}=t.toRefs(h);const c=t.reactive({img:"",autoCrop:!0,autoCropWidth:200,autoCropHeight:200,fixedBox:!1,outputSize:.5,outputType:"jpeg",canScale:!1,fixed:!1,fixedNumber:[1,1],full:!0,canMoveBox:!1,original:!1,centerBox:!1,infoTrue:!0,filename:""}),u=t.ref({}),g=t.ref({});t.ref(!1);let f=t=>{"left"==t&&g.value.rotateLeft(),"right"==t&&g.value.rotateRight()},m=t=>{const e=t||1;g.value.changeScale(e)},w=()=>{g.value.refresh()};const v=t=>{u.value=t};let x=()=>{},C=t=>{if(!["image/png","image/jpg","image/jpeg","image/PNG","image/JPG","image/JPEG","image/gif"].includes(t.type))return e.ElMessage.error("图片格式有误,请重新上传"),!1;{const e=new FileReader;e.readAsDataURL(t),e.onload=()=>{c.img=e.result,c.filename=t.name}}},y=()=>{c.img||e.ElMessage.warning("请先选择图片"),g.value.getCropBlob((async t=>{const e=await s({data:{file:t},proxy:h.proxyId}),i=await o({data:{id:r.value.id,attchIdArrStr:e.data.id,attachType:2},proxy:h.proxyId});h.close(i)}))};return t.onMounted((()=>{setTimeout((()=>{c.img=a.value}),100)})),(e,i)=>{const s=t.resolveComponent("el-col"),o=t.resolveComponent("el-row"),h=t.resolveComponent("bc-icon"),r=t.resolveComponent("el-button"),a=t.resolveComponent("hs-upload");return t.openBlock(),t.createElementBlock("div",p,[t.createVNode(o,null,{default:t.withCtx((()=>[t.createVNode(s,{xs:24,md:13,style:{height:"350px"}},{default:t.withCtx((()=>[t.createVNode(n,{ref_key:"cropperRef",ref:g,img:c.img,info:!0,infoTrue:c.infoTrue,"auto-crop":c.autoCrop,"fixed-box":c.fixedBox,fixedNumber:c.fixedNumber,fixed:c.fixed,centerBox:c.centerBox,outputType:"png",onRealTime:v},null,8,["img","infoTrue","auto-crop","fixed-box","fixedNumber","fixed","centerBox"])])),_:1}),t.createVNode(s,{xs:24,md:11,style:{height:"350px"}},{default:t.withCtx((()=>[t.createElementVNode("div",l,[t.createElementVNode("img",{src:u.value.url,style:t.normalizeStyle(u.value.img)},null,12,d)])])),_:1})])),_:1}),t.createVNode(o,{class:"ptb2 py-3"},{default:t.withCtx((()=>[t.createVNode(s,{lg:2,md:2},{default:t.withCtx((()=>[t.createVNode(a,{action:"#","http-request":t.unref(x),"show-file-list":!1,"before-upload":t.unref(C),accept:"image/*"},{default:t.withCtx((()=>[t.createVNode(r,{size:"default"},{default:t.withCtx((()=>[i[6]||(i[6]=t.createTextVNode(" 选择 ")),t.createVNode(h,{name:"ele-UploadFilled"})])),_:1,__:[6]})])),_:1},8,["http-request","before-upload"])])),_:1}),t.createVNode(s,{lg:{span:1,offset:1},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",icon:"ele-Plus",onClick:i[0]||(i[0]=e=>t.unref(m)(1))})])),_:1}),t.createVNode(s,{lg:{span:1,offset:1},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",icon:"ele-Minus",onClick:i[1]||(i[1]=e=>t.unref(m)(-1))})])),_:1}),t.createVNode(s,{lg:{span:1,offset:1},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",icon:"ele-RefreshLeft",onClick:i[2]||(i[2]=e=>t.unref(f)("left"))})])),_:1}),t.createVNode(s,{lg:{span:1,offset:1},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",icon:"ele-RefreshRight",onClick:i[3]||(i[3]=e=>t.unref(f)("right"))})])),_:1}),t.createVNode(s,{lg:{span:1,offset:1},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",onClick:i[4]||(i[4]=e=>t.unref(w)())},{default:t.withCtx((()=>i[7]||(i[7]=[t.createTextVNode("重 置")]))),_:1,__:[7]})])),_:1}),t.createVNode(s,{lg:{span:1,offset:7},md:2},{default:t.withCtx((()=>[t.createVNode(r,{size:"default",type:"primary",onClick:i[5]||(i[5]=e=>t.unref(y)())},{default:t.withCtx((()=>i[8]||(i[8]=[t.createTextVNode("提 交")]))),_:1,__:[8]})])),_:1})])),_:1})])}}}),f=e._export_sfc(g,[["__scopeId","data-v-730d1d41"]]);exports.default=f;
Binary file
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r={};const t=require("./index-DnFBRN9K.js")._export_sfc(r,[["render",function(r,t){return e.openBlock(),e.createElementBlock("div",null,"表单属性配置")}]]);exports.default=t;
@@ -1,4 +0,0 @@
1
- import { _ as _sfc_main } from "./index.vue_vue_type_script_setup_true_lang-Dv-kZosQ.mjs";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,76 +0,0 @@
1
- import { defineComponent, computed, createElementBlock, openBlock, normalizeStyle, createBlock, resolveDynamicComponent, createElementVNode, normalizeClass } from "vue";
2
- const _hoisted_1 = ["src"];
3
- const __default__ = defineComponent({
4
- name: "svgIcon"
5
- });
6
- const _sfc_main = /* @__PURE__ */ defineComponent({
7
- ...__default__,
8
- props: {
9
- // svg 图标组件名字
10
- name: {
11
- type: String
12
- },
13
- // svg 大小
14
- size: {
15
- type: Number,
16
- default: () => 14
17
- },
18
- // svg 颜色
19
- color: {
20
- type: String
21
- }
22
- },
23
- setup(__props) {
24
- const props = __props;
25
- const linesString = ["https", "http", "/src", "/assets", "data:image", "/"];
26
- const getIconName = computed(() => {
27
- return props == null ? void 0 : props.name;
28
- });
29
- const isShowIconSvg = computed(() => {
30
- var _a;
31
- return (_a = props == null ? void 0 : props.name) == null ? void 0 : _a.startsWith("ele-");
32
- });
33
- const isShowIconImg = computed(() => {
34
- return linesString.find((str) => {
35
- var _a;
36
- return (_a = props.name) == null ? void 0 : _a.startsWith(str);
37
- });
38
- });
39
- const setIconSvgStyle = computed(() => {
40
- return `font-size: ${props.size}px;color: ${props.color};`;
41
- });
42
- const setIconImgOutStyle = computed(() => {
43
- return `width: ${props.size}px;height: ${props.size}px;display: inline-block;overflow: hidden;`;
44
- });
45
- const setIconSvgInsStyle = computed(() => {
46
- const filterStyle = [];
47
- const compatibles = ["-webkit", "-ms", "-o", "-moz"];
48
- compatibles.forEach((j) => filterStyle.push(`${j}-filter: drop-shadow(${props.color} 30px 0);`));
49
- return `width: ${props.size}px;height: ${props.size}px;position: relative;left: -${props.size}px;${filterStyle.join("")}`;
50
- });
51
- return (_ctx, _cache) => {
52
- return isShowIconSvg.value ? (openBlock(), createElementBlock("i", {
53
- key: 0,
54
- class: "el-icon",
55
- style: normalizeStyle(setIconSvgStyle.value)
56
- }, [
57
- (openBlock(), createBlock(resolveDynamicComponent(getIconName.value)))
58
- ], 4)) : isShowIconImg.value ? (openBlock(), createElementBlock("div", {
59
- key: 1,
60
- style: normalizeStyle(setIconImgOutStyle.value)
61
- }, [
62
- createElementVNode("img", {
63
- src: getIconName.value,
64
- style: normalizeStyle(setIconSvgInsStyle.value)
65
- }, null, 12, _hoisted_1)
66
- ], 4)) : (openBlock(), createElementBlock("i", {
67
- key: 2,
68
- class: normalizeClass(getIconName.value),
69
- style: normalizeStyle(setIconSvgStyle.value)
70
- }, null, 6));
71
- };
72
- }
73
- });
74
- export {
75
- _sfc_main as default
76
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-DnFBRN9K.js"),i=require("./index-BLGhN7h0.js"),c=require("./dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CYIV2qih.js"),a=require("./dictItemDialog.vue_vue_type_script_setup_true_lang-C7wUo8tZ.js"),o=i.useDictController();const d={class:"system-menu-container layout-padding"},l={class:"flex",style:{height:"5%"}},n={class:"flex",style:{height:"95%"}},r={class:"w-1/5 border-1 border-solid border-slate-300"},s={class:"overflow-y-auto",style:{height:"95%"}},u=["onClick"],f={class:"flex-1 h-full"},m={class:"flex"},h=e.defineComponent({name:"dataDict"}),_=e.defineComponent({...h,setup(i){const{addDict:h,deleteDict:_,addDictItem:p,getDictData:D,choseDict:v,editDictItem:g,deleteDictItem:V,searchDict:C,onChangeEffect:x,onChangeDefault:y,dict:w}=function(){const i=e.reactive({keyword:"",dictData:[],originDictData:[],currentDict:void 0,dictItemData:[]}),d=()=>{o.getDictListByProject({project_code:"scmp"}).then((e=>{1==e.code&&(i.originDictData=e.data,l(),i.currentDict||(i.currentDict=e.data[0]||void 0,i.currentDict&&n()))}))},l=()=>{i.dictData=t._.cloneDeep(i.originDictData).filter((e=>t._.includes(e.dict_name,i.keyword)||t._.includes(e.dict_code,i.keyword)))},n=()=>{var e,t;(null==(e=i.currentDict)?void 0:e.id)&&o.getListPageDictChild({dict_id:null==(t=i.currentDict)?void 0:t.id}).then((e=>{i.dictItemData=e.data}))},r=(e,c)=>{t.showPopup(a._sfc_main,{dict:i.currentDict,dictList:i.originDictData,type:e,dictItem:c||void 0},{title:"edit"==e?"编辑字典项":"新增字典项",confirmButtonText:"保存",mask:!0,width:500,height:500,async success({type:e,close:t,data:i}){"cancel"==e?t():"confirm"==e&&"success"==await i()&&(t(),n())}})};return{addDict:()=>{t.showPopup(c._sfc_main,{},{title:"新增字典",mask:!0,width:500,height:400,confirmButtonText:"保存",async success({type:e,close:t,data:i}){"cancel"==e?t():"confirm"==e&&"success"==await i()&&(t(),d())}})},deleteDict:()=>{var e;t.ElMessageBox.confirm(`确认删除字典${null==(e=i.currentDict)?void 0:e.dict_name}”吗?`,"提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then((()=>{var e;o.postDelDictInfo({id:null==(e=i.currentDict)?void 0:e.id}).then((e=>{1==e.code&&(i.currentDict=void 0,t.ElMessage.success("删除成功"),d())}))}))},addDictItem:()=>{r("add")},getDictData:d,choseDict:e=>{i.currentDict=e,n()},editDictItem:e=>{r("edit",e)},deleteDictItem:e=>{t.ElMessageBox.confirm(`确认删除字典项“${e.dict_child_name}”吗?`,"提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then((()=>{o.postDelDictChildInfo({id:e.id}).then((e=>{1==e.code&&(t.ElMessage.success("删除成功"),n())}))}))},searchDict:l,onChangeEffect:(e,i)=>{"1"!=e&&"0"!=e||o.postUpdateSwitch({id:i.id,is_effect:e}).then((e=>{1==e.code&&t.ElMessage.success(e.msg),n()}))},onChangeDefault:(e,c)=>{var a;o.postUpdateDefault({dict_id:null==(a=i.currentDict)?void 0:a.id,id:c.id,is_default:e}).then((e=>{1==e.code&&t.ElMessage.success(e.msg),n()}))},dict:i}}();return e.onMounted((()=>{D()})),(t,i)=>{const c=e.resolveComponent("hs-button"),a=e.resolveComponent("hs-input"),o=e.resolveComponent("vxe-column"),D=e.resolveComponent("hs-switch"),N=e.resolveComponent("vxe-table"),k=e.resolveComponent("el-card");return e.openBlock(),e.createElementBlock("div",d,[e.createVNode(k,{shadow:"hover",class:"layout-padding-auto"},{default:e.withCtx((()=>[e.createElementVNode("div",l,[e.createVNode(c,{type:"primary",size:"default",onClick:e.unref(h)},{default:e.withCtx((()=>i[1]||(i[1]=[e.createTextVNode("新增字典")]))),_:1,__:[1]},8,["onClick"]),e.unref(w).currentDict?(e.openBlock(),e.createBlock(c,{key:0,type:"primary",size:"default",onClick:e.unref(_)},{default:e.withCtx((()=>i[2]||(i[2]=[e.createTextVNode("删除字典")]))),_:1,__:[2]},8,["onClick"])):e.createCommentVNode("",!0),e.createVNode(c,{type:"primary",size:"default",onClick:e.unref(p)},{default:e.withCtx((()=>i[3]||(i[3]=[e.createTextVNode("新增字典项")]))),_:1,__:[3]},8,["onClick"])]),e.createElementVNode("div",n,[e.createElementVNode("div",r,[e.createVNode(a,{placeholder:"字典列表","suffix-icon":"ele-Search",modelValue:e.unref(w).keyword,"onUpdate:modelValue":i[0]||(i[0]=t=>e.unref(w).keyword=t),onInput:e.unref(C)},null,8,["modelValue","onInput"]),e.createElementVNode("div",s,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(w).dictData,((t,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex bg-white p-4 border-0 border-b border-dashed border-slate-400 hover:bg-cyan-100",""+(e.unref(w).currentDict&&e.unref(w).currentDict.id==t.id?"active":"")]),key:c,onClick:i=>e.unref(v)(t)},[e.createElementVNode("div",null,e.toDisplayString(t.dict_name)+" ",1),i[4]||(i[4]=e.createTextVNode(" - ")),e.createElementVNode("div",null," "+e.toDisplayString(t.dict_code),1)],10,u)))),128))])]),e.createElementVNode("div",f,[e.createVNode(N,{data:e.unref(w).dictItemData,height:"auto"},{default:e.withCtx((()=>[e.createVNode(o,{type:"seq",width:"60"}),e.createVNode(o,{field:"dict_child_code",title:"字典项代码"}),e.createVNode(o,{field:"dict_child_name",title:"字典项名称"}),e.createVNode(o,{field:"show_name",title:"显示名称"}),e.createVNode(o,{field:"sort",title:"排序"}),e.createVNode(o,{field:"remark",title:"字典说明"}),e.createVNode(o,{field:"is_effect",title:"开关"},{default:e.withCtx((({row:t})=>[e.createVNode(D,{size:"default",modelValue:t.is_effect,"onUpdate:modelValue":e=>t.is_effect=e,"active-value":"1","inactive-value":"0",onChange:i=>e.unref(x)(i,t)},null,8,["modelValue","onUpdate:modelValue","onChange"])])),_:1}),e.createVNode(o,{field:"is_default",title:"默认值"},{default:e.withCtx((({row:t})=>[e.createVNode(D,{size:"default",modelValue:t.is_default,"onUpdate:modelValue":e=>t.is_default=e,"active-value":"1","inactive-value":"0",onChange:i=>e.unref(y)(i,t)},null,8,["modelValue","onUpdate:modelValue","onChange"])])),_:1}),e.createVNode(o,{title:"操作",fixed:"right"},{default:e.withCtx((({row:t})=>[e.createElementVNode("div",m,[e.createVNode(c,{text:"",size:"small",onClick:i=>e.unref(g)(t),type:"primary"},{default:e.withCtx((()=>i[5]||(i[5]=[e.createTextVNode("编辑")]))),_:2,__:[5]},1032,["onClick"]),e.createVNode(c,{text:"",size:"small",onClick:i=>e.unref(V)(t),type:"primary"},{default:e.withCtx((()=>i[6]||(i[6]=[e.createTextVNode("删除")]))),_:2,__:[6]},1032,["onClick"])])])),_:1})])),_:1},8,["data"])])])])),_:1})])}}}),p=t._export_sfc(_,[["__scopeId","data-v-94679299"]]);exports.default=p;
@@ -1,65 +0,0 @@
1
- import { r as request } from "./index-CYGyHWBv.mjs";
2
- const assign = (params, title) => {
3
- return Object.assign(params, { other_log_info: { title } });
4
- };
5
- const getBtnConfigPageList = (params = {}) => {
6
- params = assign(params, "获取按钮配置信息列表");
7
- return request({
8
- url: "/scmp-web/pri/btn_config/get_btn_config_page_list",
9
- method: "get",
10
- params
11
- });
12
- };
13
- const postSaveBtnConfig = (data = {}) => {
14
- data = assign(data, "保存按钮配置信息");
15
- return request({
16
- url: "/scmp-web/pri/btn_config/save_btn_config",
17
- method: "post",
18
- data
19
- });
20
- };
21
- const postSaveBtnConfig4Config = (data = {}) => {
22
- data = assign(data, "保存按钮配置在配置页面使用");
23
- return request({
24
- url: "/scmp-web/pri/btn_config/save_btn_config_4_config",
25
- method: "post",
26
- data
27
- });
28
- };
29
- const postSaveBtnConfigBatch4Config = (data = {}) => {
30
- data = assign(data, "批量按钮配置在配置页面使用");
31
- return request({
32
- url: "/scmp-web/pri/btn_config/save_btn_config_batch_4_config",
33
- method: "post",
34
- data
35
- });
36
- };
37
- const postDeleteBtnConfig = (data = {}) => {
38
- data = assign(data, "删除");
39
- return request({
40
- url: "/scmp-web/pri/btn_config/delete_btn_config",
41
- method: "post",
42
- data
43
- });
44
- };
45
- const getBtnConfigByKeyMap = (data = {}) => {
46
- data = assign(data, "根据字段代码集合获取字段池信息");
47
- return request({
48
- url: "/scmp-web/pri/btn_config/get_btn_config_by_key_map",
49
- method: "post",
50
- data
51
- });
52
- };
53
- function useBtnConfigController() {
54
- return {
55
- getBtnConfigPageList,
56
- postSaveBtnConfig,
57
- postSaveBtnConfig4Config,
58
- postSaveBtnConfigBatch4Config,
59
- postDeleteBtnConfig,
60
- getBtnConfigByKeyMap
61
- };
62
- }
63
- export {
64
- useBtnConfigController as u
65
- };