@utogether/udp-core 1.0.0

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 (343) hide show
  1. package/build/index.ts +90 -0
  2. package/build/plugins.ts +26 -0
  3. package/dist/403-B1R-4vXw.js +64 -0
  4. package/dist/404-fXPl8csw.js +64 -0
  5. package/dist/500-eI5842YB.js +66 -0
  6. package/dist/AuthorityInfo-CfVH6PaB.js +4 -0
  7. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-DbK-f8jH.js +102 -0
  8. package/dist/AuthorityPanel-BaLMwMgW.js +4 -0
  9. package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-C_bkqLD9.js +107 -0
  10. package/dist/Company-CYC9Avfz.js +25 -0
  11. package/dist/CompanyPanel-B4MzoqN_.js +206 -0
  12. package/dist/DataSet-DT-rGICv.js +147 -0
  13. package/dist/Department-B4BNSiYx.js +25 -0
  14. package/dist/DepartmentPanel-zJO89L2O.js +224 -0
  15. package/dist/DesignPanel-S8P0J97f.js +4 -0
  16. package/dist/DesignPanel.vue_vue_type_style_index_0_lang-DW-_Vqrr.js +1015 -0
  17. package/dist/DictView-bIS5-rK-.js +95 -0
  18. package/dist/InvOrganization-MuM2jtsG.js +66 -0
  19. package/dist/Org-kXHSjsgJ.js +35 -0
  20. package/dist/Preview-CRyiwUIR.js +48 -0
  21. package/dist/ReportDefine-WZYIx8Sm.js +10 -0
  22. package/dist/ReportDesign-D-7GKgpb.js +165 -0
  23. package/dist/ReportQuery-BIIJny6w.js +75 -0
  24. package/dist/ReportQueryFrom-OoUl7N2O.js +4 -0
  25. package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-B878fgj8.js +177 -0
  26. package/dist/ReportTemplate-Cfeq9US-.js +161 -0
  27. package/dist/Role-BwTV2QMH.js +25 -0
  28. package/dist/RoleAssign-De1JjOun.js +26 -0
  29. package/dist/RolePanel-E3RcdByM.js +4 -0
  30. package/dist/RolePanel-pUBXsqCM.js +4 -0
  31. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-B2pQwHb0.js +148 -0
  32. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-CTIad9_Q.js +126 -0
  33. package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-vMR1fBi0.js +100 -0
  34. package/dist/Staff-Czm7A8vI.js +25 -0
  35. package/dist/StaffInfo-DJzvBuxy.js +4 -0
  36. package/dist/StaffInfo.vue_vue_type_style_index_0_lang-DMTL7KCh.js +108 -0
  37. package/dist/StaffPanel-CHk60LEz.js +4 -0
  38. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-iPKLb5wG.js +114 -0
  39. package/dist/SysUser-BGwbttRn.js +15 -0
  40. package/dist/SysUserPanel-BCbKoLKt.js +4 -0
  41. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-0QUjnhjF.js +289 -0
  42. package/dist/SystemMenu-BkqZSDKl.js +151 -0
  43. package/dist/UserInfo-BsyAcT2d.js +4 -0
  44. package/dist/UserInfo.vue_vue_type_style_index_0_lang-D0-KDxAh.js +158 -0
  45. package/dist/await-to-js.es5-BtRbN2QH.js +10 -0
  46. package/dist/childView-CF83nhxb.js +4 -0
  47. package/dist/childView-CyuLTUqC.js +4 -0
  48. package/dist/childView.vue_vue_type_style_index_0_lang-CNSgGda3.js +187 -0
  49. package/dist/childView.vue_vue_type_style_index_0_lang-Cch4lE-i.js +144 -0
  50. package/dist/code-rule-Bz-gnktN.js +147 -0
  51. package/dist/core.es.js +13 -0
  52. package/dist/core.umd.js +173 -0
  53. package/dist/cron-task-CIifSUdW.js +135 -0
  54. package/dist/frameView-_d2mqjjQ.js +43 -0
  55. package/dist/img/l_img.svg +1 -0
  56. package/dist/img/minicolors.png +0 -0
  57. package/dist/img/v_img.svg +1 -0
  58. package/dist/index-BKIw8tSn.js +9195 -0
  59. package/dist/layoutView-DLKVepB8.js +3317 -0
  60. package/dist/log-in-e7D5Ss1P.js +110 -0
  61. package/dist/log-out--RRncZhN.js +120 -0
  62. package/dist/login-LREiDfFU.js +251 -0
  63. package/dist/login-log-CvVnyGi3.js +68 -0
  64. package/dist/lov-view-DDrIVILB.js +97 -0
  65. package/dist/menuInfo-B1FUV-Sk.js +4 -0
  66. package/dist/menuInfo.vue_vue_type_style_index_0_lang-Cnk3vdtD.js +338 -0
  67. package/dist/pda-app-CRhVGijN.js +2209 -0
  68. package/dist/redirect-DiaNDu8F.js +15 -0
  69. package/dist/resource-BCwx9fEv.js +97 -0
  70. package/dist/su-welcome-189A7N4r.js +526 -0
  71. package/dist/sys-config-BZ3sejow.js +277 -0
  72. package/dist/udp-core.css +9 -0
  73. package/dist/utogether-r08LNiIZ.js +182 -0
  74. package/index.ts +36 -0
  75. package/package.json +16 -0
  76. package/public/img/l_img.svg +1 -0
  77. package/public/img/minicolors.png +0 -0
  78. package/public/img/v_img.svg +1 -0
  79. package/src/App.vue +70 -0
  80. package/src/api/http.ts +50 -0
  81. package/src/api/index.ts +31 -0
  82. package/src/api/mock.ts +20 -0
  83. package/src/api/user.ts +43 -0
  84. package/src/assets/images/avatars.jpg +0 -0
  85. package/src/assets/images/empty.png +0 -0
  86. package/src/assets/images/login.png +0 -0
  87. package/src/assets/images/logo.png +0 -0
  88. package/src/assets/images/mask-text.jpg +0 -0
  89. package/src/assets/images/minicolors.png +0 -0
  90. package/src/assets/images/utogether.png +0 -0
  91. package/src/assets/images/welcome.png +0 -0
  92. package/src/assets/status/403.svg +1 -0
  93. package/src/assets/status/404.svg +1 -0
  94. package/src/assets/status/500.svg +1 -0
  95. package/src/assets/svg/back_top.svg +1 -0
  96. package/src/assets/svg/bg.svg +1 -0
  97. package/src/assets/svg/close.svg +1 -0
  98. package/src/assets/svg/close_all.svg +1 -0
  99. package/src/assets/svg/close_left.svg +1 -0
  100. package/src/assets/svg/close_other.svg +1 -0
  101. package/src/assets/svg/close_right.svg +1 -0
  102. package/src/assets/svg/dark.svg +1 -0
  103. package/src/assets/svg/day.svg +1 -0
  104. package/src/assets/svg/enter_outlined.svg +1 -0
  105. package/src/assets/svg/exit_screen.svg +1 -0
  106. package/src/assets/svg/full_screen.svg +1 -0
  107. package/src/assets/svg/globalization.svg +1 -0
  108. package/src/assets/svg/loading.svg +17 -0
  109. package/src/assets/svg/mdi_keyboard_esc.svg +1 -0
  110. package/src/assets/svg/refresh.svg +1 -0
  111. package/src/assets/svg/system.svg +1 -0
  112. package/src/components/ReCountTo/README.md +2 -0
  113. package/src/components/ReCountTo/index.ts +18 -0
  114. package/src/components/ReCountTo/src/normal/index.tsx +165 -0
  115. package/src/components/ReCountTo/src/normal/props.ts +37 -0
  116. package/src/components/ReCountTo/src/rebound/index.tsx +67 -0
  117. package/src/components/ReCountTo/src/rebound/props.ts +14 -0
  118. package/src/components/ReCountTo/src/rebound/rebound.css +77 -0
  119. package/src/components/ReCropper/index.ts +14 -0
  120. package/src/components/ReCropper/src/index.tsx +141 -0
  121. package/src/components/ReFlicker/index.css +39 -0
  122. package/src/components/ReFlicker/index.ts +50 -0
  123. package/src/components/ReFlop/index.ts +14 -0
  124. package/src/components/ReFlop/src/Filpper.tsx +99 -0
  125. package/src/components/ReFlop/src/filpper.css +184 -0
  126. package/src/components/ReFlop/src/index.vue +126 -0
  127. package/src/components/ReFlowChart/index.ts +24 -0
  128. package/src/components/ReFlowChart/src/Control.vue +139 -0
  129. package/src/components/ReFlowChart/src/DataDialog.vue +12 -0
  130. package/src/components/ReFlowChart/src/NodePanel.vue +151 -0
  131. package/src/components/ReFlowChart/src/adpterForTurbo.ts +160 -0
  132. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.css +49 -0
  133. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.eot +0 -0
  134. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.js +61 -0
  135. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.json +58 -0
  136. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.svg +47 -0
  137. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.ttf +0 -0
  138. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff +0 -0
  139. package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff2 +0 -0
  140. package/src/components/ReFlowChart/src/config.ts +62 -0
  141. package/src/components/ReIcon/index.ts +12 -0
  142. package/src/components/ReIcon/src/Icon.vue +81 -0
  143. package/src/components/ReIcon/src/hooks.ts +63 -0
  144. package/src/components/ReIcon/src/iconfont.ts +45 -0
  145. package/src/components/ReIcon/src/iconifyIconOffline.ts +36 -0
  146. package/src/components/ReIcon/src/iconifyIconOnline.ts +28 -0
  147. package/src/components/ReIcon/src/offlineIcon.ts +64 -0
  148. package/src/components/ReIcon/src/types.ts +20 -0
  149. package/src/components/ReSplitPane/index.css +49 -0
  150. package/src/components/ReSplitPane/index.tsx +119 -0
  151. package/src/components/ReSplitPane/resizer.css +45 -0
  152. package/src/components/ReSplitPane/resizer.tsx +30 -0
  153. package/src/components/SuCharts/index.ts +36 -0
  154. package/src/components/SuCharts/src/EchartBar.vue +134 -0
  155. package/src/components/SuCharts/src/UserInfo.vue +78 -0
  156. package/src/components/SuCharts/src/echart-line.vue +85 -0
  157. package/src/components/SuCharts/src/echart-pie.vue +95 -0
  158. package/src/components/SuCommon/card/components/Card.vue +148 -0
  159. package/src/components/SuCommon/card/components/DialogForm.vue +127 -0
  160. package/src/components/SuCommon/card/index.vue +142 -0
  161. package/src/components/SuCommon/icon-select/index.vue +241 -0
  162. package/src/components/SuCommon/table/index.vue +208 -0
  163. package/src/components/SuCommon/utils/index.ts +103 -0
  164. package/src/components/SuCommon/utils/slot.tsx +50 -0
  165. package/src/components/SuFloatButton/index.vue +159 -0
  166. package/src/components/SuQrcode/index.ts +14 -0
  167. package/src/components/SuQrcode/src/index.scss +9 -0
  168. package/src/components/SuQrcode/src/index.tsx +236 -0
  169. package/src/components/SuScrollTree/ScrollPanel.vue +175 -0
  170. package/src/components/SuTable/SuTable.vue +334 -0
  171. package/src/components/SuTypeit/index.ts +51 -0
  172. package/src/config/index.ts +35 -0
  173. package/src/contant/index.ts +20 -0
  174. package/src/directives/elResizeDetector/index.ts +33 -0
  175. package/src/directives/index.ts +11 -0
  176. package/src/directives/permission/index.ts +29 -0
  177. package/src/layout/components/lay-chrome/index.vue +30 -0
  178. package/src/layout/components/lay-content/index.vue +143 -0
  179. package/src/layout/components/lay-navbar/index.vue +237 -0
  180. package/src/layout/components/lay-notice/data.ts +59 -0
  181. package/src/layout/components/lay-notice/index.vue +83 -0
  182. package/src/layout/components/lay-notice/noticeItem.vue +160 -0
  183. package/src/layout/components/lay-notice/noticeList.vue +19 -0
  184. package/src/layout/components/lay-panel/index.vue +150 -0
  185. package/src/layout/components/lay-search/components/SearchFooter.vue +67 -0
  186. package/src/layout/components/lay-search/components/SearchModal.vue +189 -0
  187. package/src/layout/components/lay-search/components/SearchResult.vue +132 -0
  188. package/src/layout/components/lay-search/components/index.ts +10 -0
  189. package/src/layout/components/lay-search/index.vue +25 -0
  190. package/src/layout/components/lay-select-org/index.vue +69 -0
  191. package/src/layout/components/lay-setting/index.vue +510 -0
  192. package/src/layout/components/lay-sidebar/breadCrumb.vue +131 -0
  193. package/src/layout/components/lay-sidebar/extraIcon.vue +25 -0
  194. package/src/layout/components/lay-sidebar/hamBurger.vue +72 -0
  195. package/src/layout/components/lay-sidebar/horizontal.vue +191 -0
  196. package/src/layout/components/lay-sidebar/mixNav.vue +258 -0
  197. package/src/layout/components/lay-sidebar/sidebar-logo.vue +98 -0
  198. package/src/layout/components/lay-sidebar/sidebarItem.vue +205 -0
  199. package/src/layout/components/lay-sidebar/vertical.vue +94 -0
  200. package/src/layout/components/lay-tag/index.scss +375 -0
  201. package/src/layout/components/lay-tag/index.vue +625 -0
  202. package/src/layout/frameView.vue +71 -0
  203. package/src/layout/hooks/useBoolean.ts +33 -0
  204. package/src/layout/hooks/useDataThemeChange.ts +142 -0
  205. package/src/layout/hooks/useLayout.ts +65 -0
  206. package/src/layout/hooks/useNav.ts +173 -0
  207. package/src/layout/hooks/useTag.ts +233 -0
  208. package/src/layout/hooks/useTranslationLang.ts +51 -0
  209. package/src/layout/layoutView.vue +215 -0
  210. package/src/layout/redirect.vue +30 -0
  211. package/src/layout/routerView/parent.vue +23 -0
  212. package/src/layout/types.ts +92 -0
  213. package/src/main.ts +108 -0
  214. package/src/plugins/echarts/index.ts +58 -0
  215. package/src/plugins/echarts/theme.json +394 -0
  216. package/src/plugins/i18n/en.ts +289 -0
  217. package/src/plugins/i18n/index.ts +76 -0
  218. package/src/plugins/i18n/module/u-report.ts +64 -0
  219. package/src/plugins/i18n/module/u-workflow.ts +71 -0
  220. package/src/plugins/i18n/module/umsg.ts +28 -0
  221. package/src/plugins/i18n/zh.ts +337 -0
  222. package/src/plugins/vxe-table/index.ts +46 -0
  223. package/src/plugins/vxe-table/render.tsx +397 -0
  224. package/src/router/createComponent.tsx +25 -0
  225. package/src/router/index.ts +183 -0
  226. package/src/router/modules/error.ts +32 -0
  227. package/src/router/modules/home.ts +32 -0
  228. package/src/router/modules/nested.ts +93 -0
  229. package/src/router/modules/remaining.ts +83 -0
  230. package/src/router/modules/tabs.ts +55 -0
  231. package/src/router/utils.ts +377 -0
  232. package/src/store/index.ts +9 -0
  233. package/src/store/modules/app.ts +69 -0
  234. package/src/store/modules/epTheme.ts +49 -0
  235. package/src/store/modules/multiTags.ts +109 -0
  236. package/src/store/modules/permission.ts +103 -0
  237. package/src/store/modules/settings.ts +40 -0
  238. package/src/store/modules/system.ts +180 -0
  239. package/src/store/modules/types.ts +49 -0
  240. package/src/style/button.scss +78 -0
  241. package/src/style/clear-mixin.scss +28 -0
  242. package/src/style/dark.scss +218 -0
  243. package/src/style/element-plus.scss +206 -0
  244. package/src/style/index.scss +76 -0
  245. package/src/style/login.css +336 -0
  246. package/src/style/login2.css +106 -0
  247. package/src/style/print-lock.css +375 -0
  248. package/src/style/reset.scss +272 -0
  249. package/src/style/sidebar.scss +770 -0
  250. package/src/style/suprint.css +985 -0
  251. package/src/style/tailwind.css +68 -0
  252. package/src/style/theme.scss +143 -0
  253. package/src/style/transition.scss +42 -0
  254. package/src/style/vxetable.scss +256 -0
  255. package/src/utils/authority/index.ts +29 -0
  256. package/src/utils/browers.ts +59 -0
  257. package/src/utils/dataFormat/index.ts +223 -0
  258. package/src/utils/http/index.ts +297 -0
  259. package/src/utils/http/types.d.ts +46 -0
  260. package/src/utils/index.ts +47 -0
  261. package/src/utils/lifecycle.ts +20 -0
  262. package/src/utils/mitt.ts +19 -0
  263. package/src/utils/propTypes.ts +47 -0
  264. package/src/utils/storage/index.ts +51 -0
  265. package/src/views/components/contextmenu/basic.vue +74 -0
  266. package/src/views/components/contextmenu/context-menu.vue +40 -0
  267. package/src/views/components/contextmenu/menuDynamic.vue +99 -0
  268. package/src/views/components/contextmenu/menuGroup.vue +71 -0
  269. package/src/views/components/count-to/index.vue +43 -0
  270. package/src/views/components/cropping/index.vue +59 -0
  271. package/src/views/components/cropping/picture.jpeg +0 -0
  272. package/src/views/components/split-pane/index.vue +82 -0
  273. package/src/views/components/video/index.vue +57 -0
  274. package/src/views/error/403.vue +50 -0
  275. package/src/views/error/404.vue +50 -0
  276. package/src/views/error/500.vue +52 -0
  277. package/src/views/login/login-view.vue +314 -0
  278. package/src/views/login/utils/motion.ts +47 -0
  279. package/src/views/login/utils/rule.ts +70 -0
  280. package/src/views/login/utils/verifyCode.ts +52 -0
  281. package/src/views/organization/company/Company.vue +56 -0
  282. package/src/views/organization/company/CompanyPanel.vue +259 -0
  283. package/src/views/organization/department/Department.vue +58 -0
  284. package/src/views/organization/department/DepartmentPanel.vue +283 -0
  285. package/src/views/organization/inv-org/InvOrganization.vue +53 -0
  286. package/src/views/organization/org/Org.vue +43 -0
  287. package/src/views/organization/staff/Staff.vue +58 -0
  288. package/src/views/organization/staff/StaffInfo.vue +163 -0
  289. package/src/views/organization/staff/StaffPanel.vue +144 -0
  290. package/src/views/system/cron/cron-task.vue +157 -0
  291. package/src/views/system/menu/AuthorityPanel.vue +140 -0
  292. package/src/views/system/menu/SystemMenu.vue +191 -0
  293. package/src/views/system/menu/menuInfo.vue +368 -0
  294. package/src/views/system/role/AuthorityInfo.vue +147 -0
  295. package/src/views/system/role/Role.vue +57 -0
  296. package/src/views/system/role/RolePanel.vue +191 -0
  297. package/src/views/system/role/UserInfo.vue +193 -0
  298. package/src/views/system/role-assign/RoleAssign.vue +57 -0
  299. package/src/views/system/role-assign/RolePanel.vue +136 -0
  300. package/src/views/system/sys/sys-config.vue +291 -0
  301. package/src/views/system/sysUser/SysUser.vue +45 -0
  302. package/src/views/system/sysUser/SysUserPanel.vue +278 -0
  303. package/src/views/uapp/pda/pda-app.vue +176 -0
  304. package/src/views/udev/coderule/code-rule.vue +121 -0
  305. package/src/views/udev/dict/DictView.vue +106 -0
  306. package/src/views/udev/dict/childView.vue +222 -0
  307. package/src/views/udev/lov/childView.vue +180 -0
  308. package/src/views/udev/lov/lov-view.vue +91 -0
  309. package/src/views/ufile/aggregation/File.vue +87 -0
  310. package/src/views/ufile/file/water-mark.vue +103 -0
  311. package/src/views/uhome/components/menu-favorite.vue +331 -0
  312. package/src/views/uhome/su-welcome.vue +339 -0
  313. package/src/views/ulogin/login.vue +316 -0
  314. package/src/views/umsg/monitor/msg-monitor.vue +36 -0
  315. package/src/views/umsg/msg/TemplateContent.vue +103 -0
  316. package/src/views/umsg/msg/msg-template.vue +66 -0
  317. package/src/views/umsg/send/childView.vue +142 -0
  318. package/src/views/umsg/send/msg-send.vue +95 -0
  319. package/src/views/upms/interface/log-in.vue +106 -0
  320. package/src/views/upms/interface/log-out.vue +107 -0
  321. package/src/views/upms/user/login-log.vue +60 -0
  322. package/src/views/urpt/dataSet/DataSet.vue +139 -0
  323. package/src/views/urpt/design/DesignPanel.vue +526 -0
  324. package/src/views/urpt/design/Preview.vue +65 -0
  325. package/src/views/urpt/design/ReportDesign.vue +249 -0
  326. package/src/views/urpt/design/bg.png +0 -0
  327. package/src/views/urpt/design/panel.ts +841 -0
  328. package/src/views/urpt/design/print-data.ts +59 -0
  329. package/src/views/urpt/query/ReportQuery.vue +122 -0
  330. package/src/views/urpt/query/ReportQueryFrom.vue +252 -0
  331. package/src/views/urpt/report-request/ReportDefine.vue +10 -0
  332. package/src/views/urpt/static-resource/resource.vue +116 -0
  333. package/src/views/urpt/template/ReportTemplate.vue +198 -0
  334. package/tsconfig.json +30 -0
  335. package/types/env.d.ts +1 -0
  336. package/types/global-components.d.ts +12 -0
  337. package/types/global.d.ts +236 -0
  338. package/types/image.d.ts +7 -0
  339. package/types/index.d.ts +73 -0
  340. package/types/router.d.ts +107 -0
  341. package/types/shims-tsx.d.ts +22 -0
  342. package/types/shims-vue.d.ts +20 -0
  343. package/vite.config.ts +73 -0
@@ -0,0 +1,58 @@
1
+ {
2
+ "id": "2491438",
3
+ "name": "liu'c'tu",
4
+ "font_family": "iconfont",
5
+ "css_prefix_text": "icon-",
6
+ "description": "",
7
+ "glyphs": [
8
+ {
9
+ "icon_id": "755619",
10
+ "name": "自适应图标",
11
+ "font_class": "full-screen-hs",
12
+ "unicode": "e656",
13
+ "unicode_decimal": 58966
14
+ },
15
+ {
16
+ "icon_id": "14445801",
17
+ "name": "查看",
18
+ "font_class": "watch-hs",
19
+ "unicode": "e766",
20
+ "unicode_decimal": 59238
21
+ },
22
+ {
23
+ "icon_id": "9712640",
24
+ "name": "下载",
25
+ "font_class": "download-hs",
26
+ "unicode": "e6af",
27
+ "unicode_decimal": 59055
28
+ },
29
+ {
30
+ "icon_id": "1029099",
31
+ "name": "放大",
32
+ "font_class": "enlarge-hs",
33
+ "unicode": "e765",
34
+ "unicode_decimal": 59237
35
+ },
36
+ {
37
+ "icon_id": "20017362",
38
+ "name": "上一步",
39
+ "font_class": "previous-hs",
40
+ "unicode": "e84c",
41
+ "unicode_decimal": 59468
42
+ },
43
+ {
44
+ "icon_id": "1010015",
45
+ "name": "缩小",
46
+ "font_class": "zoom-out-hs",
47
+ "unicode": "e744",
48
+ "unicode_decimal": 59204
49
+ },
50
+ {
51
+ "icon_id": "20017363",
52
+ "name": "下一步",
53
+ "font_class": "next-step-hs",
54
+ "unicode": "e84b",
55
+ "unicode_decimal": 59467
56
+ }
57
+ ]
58
+ }
@@ -0,0 +1,47 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <!--
4
+ 2013-9-30: Created.
5
+ -->
6
+ <svg>
7
+ <metadata>
8
+ Created by iconfont
9
+ </metadata>
10
+ <defs>
11
+
12
+ <font id="iconfont" horiz-adv-x="1024" >
13
+ <font-face
14
+ font-family="iconfont"
15
+ font-weight="500"
16
+ font-stretch="normal"
17
+ units-per-em="1024"
18
+ ascent="896"
19
+ descent="-128"
20
+ />
21
+ <missing-glyph />
22
+
23
+ <glyph glyph-name="full-screen-hs" unicode="&#58966;" d="M960.605-36.34500000000003v240.231c0.045 7.2-2.723 14.445-8.213 19.98-11.115 11.047-29.002 11.047-40.071 0-5.535-5.535-8.303-12.757-8.303-19.98v-171.923l-351.99 352.035 351.99 352.013v-171.855c0-7.245 2.767-14.49 8.303-20.002 11.07-11.07 28.957-11.07 40.071 0 5.49 5.511 8.257 12.78 8.213 20.002v240.187c0.045 7.223-2.723 14.468-8.213 20.003-5.58 5.511-12.803 8.279-20.025 8.302h-240.233c-7.222 0-14.467-2.79-19.98-8.302-11.115-11.049-11.115-28.957 0-40.05 5.511-5.535 12.735-8.302 19.98-8.279h171.9l-352.013-352.013-352.012 352.035h171.855c7.268-0.022 14.49 2.745 20.025 8.279 11.07 11.047 11.07 29.002 0 40.05-5.49 5.511-12.758 8.279-20.025 8.303h-240.187c-7.268 0-14.513-2.79-20.025-8.303-5.513-5.558-8.279-12.803-8.279-20.048v-240.165c0-7.245 2.79-14.512 8.279-20.002 11.07-11.07 28.98-11.07 40.028 0 5.513 5.511 8.279 12.713 8.279 20.002v171.855l352.058-352.012-352.035-352.035v171.922c0 7.2-2.745 14.445-8.279 19.98-11.07 11.047-29.002 11.047-40.028 0-5.558-5.535-8.279-12.757-8.279-19.98v-240.231c0-7.223 2.79-14.468 8.279-20.048 5.535-5.468 12.757-8.279 20.025-8.279h240.188c7.268 0 14.49 2.745 20.025 8.279 11.07 11.047 11.07 29.002 0 40.05-5.535 5.535-12.78 8.257-20.025 8.257h-171.877l352.012 352.035 352.013-352.035h-171.9c-7.222 0-14.467-2.768-19.98-8.257-11.115-11.049-11.115-29.002 0-40.05 5.511-5.468 12.735-8.279 19.98-8.279h240.255c7.2 0 14.445 2.813 20.025 8.279 5.467 5.602 8.19 12.825 8.19 20.048z" horiz-adv-x="1024" />
24
+
25
+
26
+ <glyph glyph-name="watch-hs" unicode="&#59238;" d="M511.08 265.58000000000004c0.39 0.09 0.8 0.14 1.2 0.2h-0.52zM651 405.5c0-0.2-0.09-0.4-0.13-0.59s0-0.14 0-0.2c0.03 0.29 0.07 0.53 0.13 0.79zM471.17 265.58000000000004l-0.84 0.18h-0.31c0.38-0.03 0.77-0.1 1.15-0.18zM331.49 447v-0.36c0.08 0.51 0.16 1 0.23 1.52-0.12-0.37-0.19-0.78-0.23-1.16zM468.88 265.9l1.14-0.11c-0.83 0.13-1.67 0.23-2.5 0.36a10 10 0 0 1 1.36-0.25zM331.57 403.22a11.92 11.92 0 0 1 0.24-1.36c-0.13 0.87-0.24 1.76-0.38 2.64 0.05-0.43 0.09-0.86 0.14-1.28zM331.25 405.5c0.07-0.33 0.13-0.66 0.18-1v0.23zM331.25 445.42c0.05 0.26 0.1 0.5 0.15 0.73s0 0.34 0.05 0.51c-0.06-0.42-0.12-0.84-0.2-1.24zM650.84 404.59v0.12c-0.07-0.41-0.13-0.83-0.19-1.24 0.09 0.4 0.15 0.8 0.19 1.12zM512 831C264.66 831 65 631.3399999999999 65 384s199.66-447 447-447 447 199.66 447 447S759.34 831 512 831z m213.38-684.87c-8.76-9.55-25-8.88-33.91 0l-12.3 12.3q-42.64 42.63-85.28 85.28a200 200 0 0 0-59.3-22.52 214 214 0 0 0-131.48 14.95c-37.52 16.92-69.56 46.36-90.86 81.46-22 36.33-32.73 80.15-29.4 122.54a213.12 213.12 0 0 0 48.3 119.42c54.37 66.3 150.16 92.22 230.58 62.43a214.42 214.42 0 0 0 100.68-77.16c24.62-34.5 37.4-77.11 37.56-119.37a235.67 235.67 0 0 0-2.92-34.06c-6.88-45.84-30.52-87.73-64.1-118.92l5.81-5.81L725.38 180c9.48-9.43 8.79-24.3 0-33.87zM635.31 353.9c1.2 2.36 2.34 4.74 3.44 7.15 0.28 0.61 0.54 1.22 0.81 1.83 1.5 3.86 3 7.72 4.25 11.67a183.83 183.83 0 0 1 6.56 26.9c0.11 0.66 0.2 1.34 0.29 2-0.35-1.85-0.91-3.8 0.21 1.44 0.24 2.18 0.45 4.37 0.61 6.56 0.35 4.66 0.51 9.32 0.52 14s-0.17 9.33-0.52 14q-0.26 3.45-0.64 6.88v0.08c-1 6-0.2 1.67 0 0 0-0.31 0.11-0.63 0.17-1-0.16 0.89-0.27 1.8-0.41 2.7a182.65 182.65 0 0 1-6.6 27.62c-1.38 4.27-3 8.41-4.59 12.61-0.32 0.71-0.63 1.42-1 2.13-0.92 2-1.87 4-2.87 6a184.55 184.55 0 0 1-13.85 23.12c-1.11 1.58-7 8.66-1.71 2.52-1.42 1.65-2.72 3.42-4.12 5.09q-4.2 5-8.75 9.73c-6.1 6.32-12.78 11.79-19.44 17.49 6.14-5.26-0.94 0.6-2.52 1.71-1.79 1.26-3.6 2.48-5.43 3.68q-5.52 3.59-11.27 6.78-6.07 3.36-12.38 6.26c-0.75 0.35-1.51 0.68-2.26 1-1.64 0.62-3.25 1.3-4.9 1.9a181.3 181.3 0 0 1-27.13 7.74c-2.67 0.55-5.36 1-8.05 1.46-0.9 0.14-1.81 0.25-2.71 0.41l1-0.17c1.67-0.2 6-1 0 0H512q-6.56 0.75-13.15 1a188.34 188.34 0 0 1-28.4-1c-1.1-0.2-2.25-0.31-3.34-0.49-2.24-0.37-4.48-0.78-6.7-1.24q-6.63-1.35-13.14-3.18c-4.29-1.21-8.55-2.58-12.75-4.1-2-0.72-4-1.51-6-2.28l-1.84-0.82a185.92 185.92 0 0 1-24.25-13.32q-3.3-2.16-6.51-4.44c-0.74-0.53-3.82-2.89-3.93-2.93-0.71-0.57-1.41-1.14-2.1-1.72q-2.52-2.1-5-4.27a186.27 186.27 0 0 1-18.65-19.25c-1.32-1.58-6.2-9-2-2.31-1.16-1.83-2.62-3.53-3.86-5.3q-3.78-5.37-7.17-11T346.94 497q-1.5-3-2.89-5.95c-0.86-1.86-3.23-8.91-0.78-1.56-3-8.94-6.46-17.52-8.69-26.72q-1.68-6.94-2.82-14c0-0.21-0.05-0.42-0.08-0.62 0.29 1.51 0.67 2.55-0.28-2-0.2-1.77-0.38-3.54-0.53-5.32a188.09 188.09 0 0 1-0.11-29.36c0.17-2.25 0.41-4.49 0.65-6.74 0.8-3.86 0.63-3.81 0.4-2.87l0.06-0.41q1.06-6.38 2.56-12.66a200.32 200.32 0 0 1 8.27-26c0.46-1 0.89-2 1.35-3q1.4-3 2.89-6 3-5.86 6.39-11.53 3.56-5.89 7.54-11.54c1.13-1.59 2.44-3.11 3.49-4.76-4.09 6.45-0.21 0.31 1.12-1.3a185.34 185.34 0 0 1 19-19.82q2.92-2.63 5.95-5.13c1.62-1.33 7.76-5.22 1.31-1.12 3.49-2.22 6.72-4.91 10.18-7.19a184.79 184.79 0 0 1 23.59-13.12c1-0.48 2.06-0.93 3.09-1.4 2-0.76 3.94-1.54 5.92-2.26 4.2-1.52 8.46-2.89 12.75-4.1s8.72-2.29 13.14-3.18c2.22-0.46 4.46-0.87 6.7-1.24l0.41-0.06c-0.93 0.22-1 0.39 2.81-0.39a200.31 200.31 0 0 1 27.82-1q6.83 0.25 13.61 1c4.64 1 3.6 0.58 2.08 0.28l0.62 0.09c2 0.33 4 0.69 6 1.08a183.29 183.29 0 0 1 27.22 7.55c2.26 0.81 4.49 1.87 6.76 2.64 0.75 0.34 1.51 0.67 2.25 1q5.7 2.64 11.2 5.66c7.94 4.37 15 9.82 22.58 14.65-6.69-4.25 0.74 0.64 2.31 2s3.32 2.83 4.95 4.29q4.86 4.38 9.4 9.08 4.79 5 9.17 10.23c1.26 1.51 2.43 3.1 3.7 4.59-5.06-5.91-0.2-0.17 1 1.45a185.86 185.86 0 0 1 14.31 23.66zM512.68 265.82000000000005l1.16 0.19-1.56-0.23z" horiz-adv-x="1024" />
27
+
28
+
29
+ <glyph glyph-name="download-hs" unicode="&#59055;" d="M200 62h632v-88a8 8 0 0 0-8-8H192v88a8 8 0 0 0 8 8z m239 262.037V711c0 13.255 10.745 24 24 24h104v-401.473l141.997 137.148c9.534 9.209 24.728 8.945 33.936-0.59l0.004-0.003 72.205-74.799-304.959-294.546c-9.534-9.208-24.728-8.944-33.936 0.59l-0.003 0.004-71.859 74.44-0.063-0.062-205.587 212.927c-9.206 9.534-8.941 24.724 0.59 33.932l74.782 72.246L439 324.03700000000003z" horiz-adv-x="1024" />
30
+
31
+
32
+ <glyph glyph-name="enlarge-hs" unicode="&#59237;" d="M945.159 28.389999999999986l-206.543 206.538c49.578 63.772 79.108 143.903 79.108 230.953 0 207.97-168.58 376.547-376.639 376.547-207.97 0-376.547-168.577-376.547-376.547 0-208.038 168.577-376.614 376.547-376.614 87.059 0 167.197 29.532 230.973 79.108l206.543-206.544c9.171-9.17 21.227-13.802 33.278-13.802s24.106 4.629 33.28 13.802c18.431 18.43 18.431 48.215 0 66.559v0zM158.701 465.881c0 155.737 126.65 282.39 282.39 282.39 155.826 0 282.477-126.65 282.477-282.39 0-155.805-126.65-282.458-282.477-282.458-155.739 0-282.39 126.65-282.39 282.458v0zM579.708 506.147h-98.352v98.352c0 22.272-17.991 40.268-40.268 40.352-22.185-0.086-40.267-18.078-40.267-40.352v-98.352h-98.352c-22.272 0-40.268-17.991-40.268-40.179 0-22.272 17.991-40.352 40.268-40.352h98.352v-98.352c0-22.252 18.08-40.246 40.267-40.333 22.274 0.086 40.268 18.08 40.268 40.333v98.352h98.352c22.272 0 40.355 18.079 40.267 40.352 0 22.187-17.991 40.179-40.267 40.179v0z" horiz-adv-x="1024" />
33
+
34
+
35
+ <glyph glyph-name="previous-hs" unicode="&#59468;" d="M814.933333 413.866667C716.8 512 597.333333 567.4666669999999 460.8 580.266667V768c0 17.066667-8.533333 34.133333-25.6 38.4-17.066667 8.533333-34.133333 4.266667-46.933333-8.533333L29.866667 422.4c-17.066667-17.066667-17.066667-42.666667 0-59.733333l358.4-392.533334c8.533333-8.533333 21.333333-12.8 34.133333-12.8 4.266667 0 8.533333 0 17.066667 4.266667 17.066667 4.266667 25.6 21.333333 25.6 38.4v204.8c68.266667 8.533333 128 4.266667 192-12.8 76.8-21.333333 170.666667-93.866667 273.066666-213.333333 12.8-12.8 29.866667-21.333333 51.2-12.8 17.066667 8.533333 29.866667 25.6 25.6 42.666666-21.333333 162.133333-85.333333 298.666667-192 405.333334z" horiz-adv-x="1024" />
36
+
37
+
38
+ <glyph glyph-name="zoom-out-hs" unicode="&#59204;" d="M951.643 18.452999999999975l-210.337 210.335c50.487 64.946 80.56 146.547 80.56 235.199 0 211.793-171.681 383.472-383.563 383.472-211.792 0-383.471-171.679-383.471-383.472 0-211.862 171.679-383.538 383.471-383.538 88.661 0 170.271 30.075 235.218 80.56l210.337-210.339c9.34-9.339 21.614-14.055 33.89-14.055s24.551 4.716 33.892 14.055c18.77 18.77 18.77 49.101 0 67.781v0zM150.725 463.989c0 158.601 128.978 287.58 287.58 287.58 158.691 0 287.671-128.978 287.671-287.58 0-158.668-128.978-287.651-287.671-287.651-158.601 0-287.58 128.978-287.58 287.651v0zM397.297 504.996h-100.16c-22.683 0-41.008-18.324-41.008-40.919 0-22.683 18.324-41.094 41.008-41.094h282.333c22.683 0 41.095 18.412 41.007 41.094 0 22.595-18.324 40.919-41.007 40.919v0h-182.173z" horiz-adv-x="1024" />
39
+
40
+
41
+ <glyph glyph-name="next-step-hs" unicode="&#59467;" d="M209.066667 413.866667c98.133333 98.133333 213.333333 153.6 349.866666 166.4V768c0 17.066667 8.533333 34.133333 25.6 38.4 17.066667 8.533333 34.133333 4.266667 46.933334-8.533333l358.4-375.466667c17.066667-17.066667 17.066667-42.666667 0-59.733333l-358.4-392.533334c-8.533333-8.533333-21.333333-12.8-29.866667-12.8-4.266667 0-8.533333 0-17.066667 4.266667-17.066667 4.266667-25.6 21.333333-25.6 38.4v204.8c-68.266667 8.533333-128 4.266667-192-12.8-76.8-21.333333-170.666667-93.866667-273.066666-213.333333-8.533333-17.066667-29.866667-21.333333-46.933334-12.8-17.066667 8.533333-29.866667 25.6-25.6 42.666666 17.066667 162.133333 81.066667 298.666667 187.733334 405.333334z" horiz-adv-x="1024" />
42
+
43
+
44
+
45
+
46
+ </font>
47
+ </defs></svg>
@@ -0,0 +1,62 @@
1
+ /*
2
+ * @Author: wei.li
3
+ * @Date: 2022-05-24 11:26:59
4
+ * @LastEditors: wei.li
5
+ * @LastEditTime: 2022-09-13 10:53:23
6
+ * @Description: file content
7
+ */
8
+ export const nodeList = [
9
+ {
10
+ text: '开始',
11
+ type: 'start',
12
+ class: 'node-start'
13
+ },
14
+ {
15
+ text: '矩形',
16
+ type: 'rect',
17
+ class: 'node-rect'
18
+ },
19
+ {
20
+ type: 'user',
21
+ text: '用户',
22
+ class: 'node-user'
23
+ },
24
+ {
25
+ type: 'push',
26
+ text: '推送',
27
+ class: 'node-push'
28
+ },
29
+ {
30
+ type: 'download',
31
+ text: '位置',
32
+ class: 'node-download'
33
+ },
34
+ {
35
+ type: 'end',
36
+ text: '结束',
37
+ class: 'node-end'
38
+ }
39
+ ];
40
+
41
+ export const BpmnNode = [
42
+ {
43
+ type: 'bpmn:startEvent',
44
+ text: '开始',
45
+ class: 'bpmn-start'
46
+ },
47
+ {
48
+ type: 'bpmn:endEvent',
49
+ text: '结束',
50
+ class: 'bpmn-end'
51
+ },
52
+ {
53
+ type: 'bpmn:exclusiveGateway',
54
+ text: '网关',
55
+ class: 'bpmn-exclusiveGateway'
56
+ },
57
+ {
58
+ type: 'bpmn:userTask',
59
+ text: '用户',
60
+ class: 'bpmn-user'
61
+ }
62
+ ];
@@ -0,0 +1,12 @@
1
+ import iconifyIconOffline from './src/iconifyIconOffline';
2
+ import iconifyIconOnline from './src/iconifyIconOnline';
3
+ import fontIcon from './src/iconfont';
4
+
5
+ /** 本地图标组件 */
6
+ const IconifyIconOffline = iconifyIconOffline;
7
+ /** 在线图标组件 */
8
+ const IconifyIconOnline = iconifyIconOnline;
9
+ /** iconfont组件 */
10
+ const FontIcon = fontIcon;
11
+
12
+ export { IconifyIconOffline, IconifyIconOnline, FontIcon };
@@ -0,0 +1,81 @@
1
+ <script lang="ts">
2
+ export default {
3
+ name: 'Icon'
4
+ };
5
+ </script>
6
+
7
+ <script setup lang="ts">
8
+ import { ref, computed } from 'vue';
9
+
10
+ const props = defineProps({
11
+ content: {
12
+ type: String,
13
+ default: ''
14
+ },
15
+ size: {
16
+ type: Number,
17
+ default: 18
18
+ },
19
+ width: {
20
+ type: Number,
21
+ default: 20
22
+ },
23
+ height: {
24
+ type: Number,
25
+ default: 20
26
+ },
27
+ color: {
28
+ type: String,
29
+ default: ''
30
+ },
31
+ svg: {
32
+ type: Boolean,
33
+ default: false
34
+ }
35
+ });
36
+
37
+ const emit = defineEmits<{
38
+ (e: 'click'): void;
39
+ }>();
40
+
41
+ const text = ref('');
42
+
43
+ const className = computed(() => {
44
+ if (props.content.indexOf('el-icon-') > -1) {
45
+ return props.content;
46
+ } else if (props.content.indexOf('#') > -1) {
47
+ // eslint-disable-next-line vue/no-side-effects-in-computed-properties
48
+ text.value = props.content;
49
+ return 'iconfont';
50
+ } else {
51
+ // eslint-disable-next-line vue/no-side-effects-in-computed-properties
52
+ text.value = props.content;
53
+ return '';
54
+ }
55
+ });
56
+
57
+ const iconStyle = computed(() => {
58
+ return (
59
+ 'font-size: ' +
60
+ props.size +
61
+ 'px; color: ' +
62
+ props.color +
63
+ '; width: ' +
64
+ props.width +
65
+ 'px; height: ' +
66
+ props.height +
67
+ 'px; font-style: normal;'
68
+ );
69
+ });
70
+
71
+ const clickHandle = () => {
72
+ emit('click');
73
+ };
74
+ </script>
75
+
76
+ <template>
77
+ <i v-if="!props.svg" :class="className" :style="iconStyle" @click="clickHandle" v-html="text" />
78
+ <svg v-if="props.svg" class="icon-svg" aria-hidden="true" :style="iconStyle" @click="clickHandle">
79
+ <use :xlink:href="`#${props.content}`" />
80
+ </svg>
81
+ </template>
@@ -0,0 +1,63 @@
1
+ /*
2
+ * @Author: wei.li
3
+ * @Date: 2022-02-24 09:37:14
4
+ * @LastEditors: levi7754 levi7754@163.com
5
+ * @LastEditTime: 2023-11-15 14:49:17
6
+ * @Description: icon hook
7
+ */
8
+ import type { iconType } from './types';
9
+ import { h, defineComponent, type Component } from 'vue';
10
+ import { IconifyIconOffline, FontIcon } from '../index';
11
+
12
+ /**
13
+ * 支持fontawesome4、5+、iconfont、remixicon、element-plus的icons、自定义svg
14
+ * @param icon 必传 图标
15
+ * @param attrs 可选 iconType 属性
16
+ * @returns Component
17
+ */
18
+ export function useRenderIcon(icon: any, attrs?: iconType): Component {
19
+ // iconfont
20
+ const ifReg = /^IF-/;
21
+ // typeof icon === "function" 属于SVG
22
+
23
+ if (ifReg.test(icon)) {
24
+ // iconfont
25
+ const name = icon?.split(ifReg)[1];
26
+ const iconName = name.slice(0, name.indexOf(' ') == -1 ? name.length : name.indexOf(' '));
27
+ const iconType = name.slice(name.indexOf(' ') + 1, name.length);
28
+ return defineComponent({
29
+ name: 'FontIcon',
30
+ render() {
31
+ return h(FontIcon, {
32
+ icon: iconName,
33
+ iconType,
34
+ ...attrs
35
+ });
36
+ }
37
+ });
38
+ } else if (typeof icon === 'function' || typeof icon?.render === 'function') {
39
+ // svg
40
+ return attrs ? h(icon, { ...attrs }) : icon;
41
+ } else if (typeof icon === 'object') {
42
+ return defineComponent({
43
+ name: 'OfflineIcon',
44
+ render() {
45
+ return h(IconifyIconOffline, {
46
+ icon: icon,
47
+ ...attrs
48
+ });
49
+ }
50
+ });
51
+ } else {
52
+ // 通过是否存在 : 符号来判断是在线还是本地图标,存在即是在线图标,反之
53
+ return defineComponent({
54
+ name: 'FontIcon',
55
+ render() {
56
+ return h(IconifyIconOffline, {
57
+ icon: icon,
58
+ ...attrs
59
+ });
60
+ }
61
+ });
62
+ }
63
+ }
@@ -0,0 +1,45 @@
1
+ import { h, defineComponent } from 'vue';
2
+
3
+ // 封装iconfont组件,默认`font-class`引用模式,支持`unicode`引用、`font-class`引用、`symbol`引用 (https://www.iconfont.cn/help/detail?spm=a313x.7781069.1998910419.20&helptype=code)
4
+ export default defineComponent({
5
+ name: 'FontIcon',
6
+ props: {
7
+ icon: {
8
+ type: String,
9
+ default: ''
10
+ }
11
+ },
12
+ render() {
13
+ const attrs = this.$attrs;
14
+ if (Object.keys(attrs).includes('uni') || attrs?.iconType === 'uni') {
15
+ return h(
16
+ 'i',
17
+ {
18
+ class: 'iconfont',
19
+ ...attrs
20
+ },
21
+ this.icon
22
+ );
23
+ } else if (Object.keys(attrs).includes('svg') || attrs?.iconType === 'svg') {
24
+ return h(
25
+ 'svg',
26
+ {
27
+ class: 'icon-svg',
28
+ 'aria-hidden': true
29
+ },
30
+ {
31
+ default: () => [
32
+ h('use', {
33
+ 'xlink:href': `#${this.icon}`
34
+ })
35
+ ]
36
+ }
37
+ );
38
+ } else {
39
+ return h('i', {
40
+ class: `iconfont ${this.icon}`,
41
+ ...attrs
42
+ });
43
+ }
44
+ }
45
+ });
@@ -0,0 +1,36 @@
1
+ /*
2
+ * @Author: wei.li
3
+ * @Date: 2022-02-24 09:37:12
4
+ * @LastEditors: levi7754 levi7754@163.com
5
+ * @LastEditTime: 2023-11-17 17:39:56
6
+ * @Description: file content
7
+ */
8
+
9
+ import { h, defineComponent } from 'vue';
10
+ import { Icon as IconifyIcon, addIcon } from '@iconify/vue/dist/offline';
11
+
12
+ // Iconify Icon在Vue里离线使用(用于内网环境)https://docs.iconify.design/icon-components/vue/offline.html
13
+ export default defineComponent({
14
+ name: 'IconOffline',
15
+ components: { IconifyIcon },
16
+ props: {
17
+ icon: {
18
+ default: null
19
+ }
20
+ },
21
+ render() {
22
+ if (typeof this.icon === 'object') addIcon(this.icon, this.icon);
23
+ const attrs = this.$attrs;
24
+ return h(
25
+ IconifyIcon,
26
+ {
27
+ icon: this.icon,
28
+ style: attrs?.style ? Object.assign(attrs.style, { outline: 'none' }) : { outline: 'none' },
29
+ ...attrs
30
+ },
31
+ {
32
+ default: () => []
33
+ }
34
+ );
35
+ }
36
+ });
@@ -0,0 +1,28 @@
1
+ import { h, defineComponent } from 'vue';
2
+ import { Icon as IconifyIcon } from '@iconify/vue';
3
+
4
+ // Iconify Icon在Vue里在线使用(用于外网环境)
5
+ export default defineComponent({
6
+ name: 'IconifyIconOnline',
7
+ components: { IconifyIcon },
8
+ props: {
9
+ icon: {
10
+ type: String,
11
+ default: ''
12
+ }
13
+ },
14
+ render() {
15
+ const attrs = this.$attrs;
16
+ return h(
17
+ IconifyIcon,
18
+ {
19
+ icon: `${this.icon}`,
20
+ style: attrs?.style ? Object.assign(attrs.style, { outline: 'none' }) : { outline: 'none' },
21
+ ...attrs
22
+ },
23
+ {
24
+ default: () => []
25
+ }
26
+ );
27
+ }
28
+ });
@@ -0,0 +1,64 @@
1
+ /*
2
+ * @Author: levi7754 levi7754@163.com
3
+ * @Date: 2023-10-12 09:45:19
4
+ * @LastEditors: levi7754 levi7754@163.com
5
+ * @LastEditTime: 2023-10-13 11:29:04
6
+ * @FilePath: /sitzone-mes/src/components/ReIcon/src/offlineIcon.ts
7
+ * @Description: 离线图标
8
+ */
9
+ import { addIcon, addCollection } from '@iconify/vue/dist/offline';
10
+ import { iconSet } from '@utogether/utils';
11
+
12
+ addCollection(iconSet);
13
+
14
+ /**
15
+ * 这里存放本地图标,在 src/layout/index.vue 文件中加载,避免在首启动加载
16
+ */
17
+
18
+ // 本地菜单图标,后端在路由的icon中返回对应的图标字符串并且前端在此处使用addIcon添加即可渲染菜单图标
19
+ // element-plus icon
20
+ import Check from '@iconify-icons/ep/check';
21
+ import Menu from '@iconify-icons/ep/menu';
22
+ import HomeFilled from '@iconify-icons/ep/home-filled';
23
+ import SetUp from '@iconify-icons/ep/set-up';
24
+ import Edit from '@iconify-icons/ep/edit';
25
+ import Link from '@iconify-icons/ep/link';
26
+ import Histogram from '@iconify-icons/ep/histogram';
27
+ import RefreshRight from '@iconify-icons/ep/refresh-right';
28
+ import Close from '@iconify-icons/ep/close';
29
+ import CloseBold from '@iconify-icons/ep/close-bold';
30
+ import Bell from '@iconify-icons/ep/bell';
31
+ import Guide from '@iconify-icons/ep/guide';
32
+ import User from '@iconify-icons/ep/user';
33
+ import Iphone from '@iconify-icons/ep/iphone';
34
+ import Location from '@iconify-icons/ep/location';
35
+ import Tickets from '@iconify-icons/ep/tickets';
36
+ import Notebook from '@iconify-icons/ep/notebook';
37
+ import Rank from '@iconify-icons/ep/rank';
38
+ import videoPlay from '@iconify-icons/ep/video-play';
39
+ import Monitor from '@iconify-icons/ep/monitor';
40
+ import SwitchButton from '@iconify-icons/ep/switch-button';
41
+ import Search from '@iconify-icons/ep/search';
42
+
43
+ addIcon('check', Check);
44
+ addIcon('menu', Menu);
45
+ addIcon('home-filled', HomeFilled);
46
+ addIcon('set-up', SetUp);
47
+ addIcon('edit', Edit);
48
+ addIcon('link', Link);
49
+ addIcon('histogram', Histogram);
50
+ addIcon('refresh-right', RefreshRight);
51
+ addIcon('close', Close);
52
+ addIcon('close-bold', CloseBold);
53
+ addIcon('bell', Bell);
54
+ addIcon('guide', Guide);
55
+ addIcon('user', User);
56
+ addIcon('iphone', Iphone);
57
+ addIcon('location', Location);
58
+ addIcon('tickets', Tickets);
59
+ addIcon('notebook', Notebook);
60
+ addIcon('video-play', videoPlay);
61
+ addIcon('rank', Rank);
62
+ addIcon('monitor', Monitor);
63
+ addIcon('switch-button', SwitchButton);
64
+ addIcon('search', Search);
@@ -0,0 +1,20 @@
1
+ export interface iconType {
2
+ // iconify (https://docs.iconify.design/icon-components/vue/#properties)
3
+ inline?: boolean;
4
+ width?: string | number;
5
+ height?: string | number;
6
+ horizontalFlip?: boolean;
7
+ verticalFlip?: boolean;
8
+ flip?: string;
9
+ rotate?: number | string;
10
+ color?: string;
11
+ horizontalAlign?: boolean;
12
+ verticalAlign?: boolean;
13
+ align?: string;
14
+ onLoad?: Function;
15
+ includes?: Function;
16
+ // svg 需要什么SVG属性自行添加
17
+ fill?: string;
18
+ // all icon
19
+ style?: object;
20
+ }
@@ -0,0 +1,49 @@
1
+ .clearfix::after {
2
+ visibility: hidden;
3
+ display: block;
4
+ font-size: 0;
5
+ content: ' ';
6
+ clear: both;
7
+ height: 0;
8
+ }
9
+
10
+ .vue-splitter-container {
11
+ height: 100%;
12
+ position: relative;
13
+ }
14
+
15
+ .vue-splitter-container-mask {
16
+ z-index: 9999;
17
+ width: 100%;
18
+ height: 100%;
19
+ position: absolute;
20
+ top: 0;
21
+ left: 0;
22
+ }
23
+
24
+ .splitter-pane.vertical.splitter-paneL {
25
+ position: absolute;
26
+ left: 0;
27
+ height: 100%;
28
+ padding-right: 3px;
29
+ }
30
+
31
+ .splitter-pane.vertical.splitter-paneR {
32
+ position: absolute;
33
+ right: 0;
34
+ height: 100%;
35
+ padding-left: 3px;
36
+ }
37
+
38
+ .splitter-pane.horizontal.splitter-paneL {
39
+ position: absolute;
40
+ top: 0;
41
+ width: 100%;
42
+ }
43
+
44
+ .splitter-pane.horizontal.splitter-paneR {
45
+ position: absolute;
46
+ bottom: 0;
47
+ width: 100%;
48
+ padding-top: 3px;
49
+ }