@epxing/business 0.0.0-stage → 5.3.0-beta.2

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 (861) hide show
  1. package/API.md +111 -0
  2. package/README.md +43 -2
  3. package/dist/_virtual/_plugin-vue_export-helper.js +10 -0
  4. package/dist/_virtual/preload-helper.js +88 -0
  5. package/dist/assets/0-C_2vdOtO.png +0 -0
  6. package/dist/assets/1-CsiSr5nw.png +0 -0
  7. package/dist/assets/2-C9hZOTyC.png +0 -0
  8. package/dist/assets/ai-CcPHuAhD.jpg +0 -0
  9. package/dist/assets/app-DBNIokDP.png +0 -0
  10. package/dist/assets/approval-DGcBv-re.png +0 -0
  11. package/dist/assets/aurorablue-N56tat3G.png +0 -0
  12. package/dist/assets/basepage-BF4dvOT8.png +0 -0
  13. package/dist/assets/classicblue-BdgPGKXa.png +0 -0
  14. package/dist/assets/create_market_system-BH__UVbt.png +0 -0
  15. package/dist/assets/create_system-irg--ePh.png +0 -0
  16. package/dist/assets/custom-C-ujlHz1.png +0 -0
  17. package/dist/assets/data-BDvuB-m7.png +0 -0
  18. package/dist/assets/deepblue-B78G_DNb.png +0 -0
  19. package/dist/assets/default-icon-2193FMjv.png +0 -0
  20. package/dist/assets/ex_link-4fYPd9nh.png +0 -0
  21. package/dist/assets/forestgreen-B2YR4xgz.png +0 -0
  22. package/dist/assets/hall_banner-Dc5YRV5A.webp +0 -0
  23. package/dist/assets/import-tfKWbWVS.png +0 -0
  24. package/dist/assets/link-BeD2ZGO9.png +0 -0
  25. package/dist/assets/m_hall_banner-Cf1Qwhh3.webp +0 -0
  26. package/dist/assets/orange-wT0uHIyo.png +0 -0
  27. package/dist/assets/palevioletred-DZXBQKru.png +0 -0
  28. package/dist/assets/photo-uscRzRXF.png +0 -0
  29. package/dist/assets/purple-CXrRrENi.png +0 -0
  30. package/dist/assets/role_select-DTqRlFNz.webp +0 -0
  31. package/dist/assets/skyblue-DPPlKPXU.png +0 -0
  32. package/dist/assets/snapshot-history-BsVY9cVj.png +0 -0
  33. package/dist/assets/snapshot-manual-DBRfFHYI.png +0 -0
  34. package/dist/assets/snapshot-realtime-DjHnJI6C.png +0 -0
  35. package/dist/assets/sync_loading-D7LoNPFP.png +0 -0
  36. package/dist/assets/tiffanyblue-DkyBoUQf.png +0 -0
  37. package/dist/assets/topbg-C_5lVpoA.webp +0 -0
  38. package/dist/assets/zxmb-CkPnmDaV.png +0 -0
  39. package/dist/src/assets/customTranslate/customTranslate.js +11 -0
  40. package/dist/src/assets/customTranslate/translations.js +219 -0
  41. package/dist/src/assets/images/addmenu/basepage.png.js +4 -0
  42. package/dist/src/assets/images/addmenu/data.png.js +4 -0
  43. package/dist/src/assets/images/addmenu/link.png.js +4 -0
  44. package/dist/src/assets/images/addmenu/list.png.js +4 -0
  45. package/dist/src/assets/images/addmenu/menu.png.js +4 -0
  46. package/dist/src/assets/images/addmenu/zxmb.png.js +4 -0
  47. package/dist/src/assets/images/ai.jpg.js +4 -0
  48. package/dist/src/assets/images/app.png.js +4 -0
  49. package/dist/src/assets/images/approval.png.js +4 -0
  50. package/dist/src/assets/images/create_market_system.png.js +4 -0
  51. package/dist/src/assets/images/create_system.png.js +4 -0
  52. package/dist/src/assets/images/custom.png.js +4 -0
  53. package/dist/src/assets/images/default-icon.png.js +4 -0
  54. package/dist/src/assets/images/ex_link.png.js +4 -0
  55. package/dist/src/assets/images/hall_banner.webp.js +4 -0
  56. package/dist/src/assets/images/hr.png.js +4 -0
  57. package/dist/src/assets/images/import.png.js +4 -0
  58. package/dist/src/assets/images/m_hall_banner.webp.js +4 -0
  59. package/dist/src/assets/images/nav/0.png.js +4 -0
  60. package/dist/src/assets/images/nav/1.png.js +4 -0
  61. package/dist/src/assets/images/nav/2.png.js +4 -0
  62. package/dist/src/assets/images/nav/3.svg.js +4 -0
  63. package/dist/src/assets/images/photo.png.js +4 -0
  64. package/dist/src/assets/images/snapshot-history.png.js +4 -0
  65. package/dist/src/assets/images/snapshot-manual.png.js +4 -0
  66. package/dist/src/assets/images/snapshot-realtime.png.js +4 -0
  67. package/dist/src/assets/images/sync_loading.png.js +4 -0
  68. package/dist/src/assets/images/theme/aurorablue.png.js +4 -0
  69. package/dist/src/assets/images/theme/classicblue.png.js +4 -0
  70. package/dist/src/assets/images/theme/deepblue.png.js +4 -0
  71. package/dist/src/assets/images/theme/forestgreen.png.js +4 -0
  72. package/dist/src/assets/images/theme/orange.png.js +4 -0
  73. package/dist/src/assets/images/theme/palevioletred.png.js +4 -0
  74. package/dist/src/assets/images/theme/purple.png.js +4 -0
  75. package/dist/src/assets/images/theme/skyblue.png.js +4 -0
  76. package/dist/src/assets/images/theme/tiffanyblue.png.js +4 -0
  77. package/dist/src/base/AiPromptDesigner.js +685 -0
  78. package/dist/src/base/AiPromptView.js +363 -0
  79. package/dist/src/base/AiSkillEditor.js +1029 -0
  80. package/dist/src/base/AiSkillEditor.vue.js +1176 -0
  81. package/dist/src/base/AppConfigFormItem.js +8 -0
  82. package/dist/src/base/AppConfigFormItem.vue.js +407 -0
  83. package/dist/src/base/AppMarket.js +212 -0
  84. package/dist/src/base/AppMarketList.js +8 -0
  85. package/dist/src/base/AppMarketList.vue.js +214 -0
  86. package/dist/src/base/AppMarketSystemDetail.js +293 -0
  87. package/dist/src/base/AttributeSubAdd.js +26 -0
  88. package/dist/src/base/ChooseApplication.js +132 -0
  89. package/dist/src/base/ClientAppItem.js +190 -0
  90. package/dist/src/base/ClientApplication.js +360 -0
  91. package/dist/src/base/ClientApplicationList.js +126 -0
  92. package/dist/src/base/ClientModule.js +119 -0
  93. package/dist/src/base/ClientModuleIndex.js +295 -0
  94. package/dist/src/base/ClientSystemDetail.js +203 -0
  95. package/dist/src/base/ClientSystemList.js +8 -0
  96. package/dist/src/base/ClientSystemList.vue.js +450 -0
  97. package/dist/src/base/CommonFieldList.js +11 -0
  98. package/dist/src/base/CommonFieldList.vue.js +530 -0
  99. package/dist/src/base/CommonSearchList.js +5 -0
  100. package/dist/src/base/CommonSearchList.vue.js +253 -0
  101. package/dist/src/base/CompayDetail.js +116 -0
  102. package/dist/src/base/ComponentGlobalSet.js +8 -0
  103. package/dist/src/base/ComponentGlobalSet.vue.js +722 -0
  104. package/dist/src/base/ComponentParamsTree.js +335 -0
  105. package/dist/src/base/ConfigModuleIndex.js +135 -0
  106. package/dist/src/base/CurrentClientApplication.js +54 -0
  107. package/dist/src/base/CurrentVersionInfo.js +98 -0
  108. package/dist/src/base/EntityMatchCompare.js +533 -0
  109. package/dist/src/base/FieldRelationFormItem.js +8 -0
  110. package/dist/src/base/FieldRelationFormItem.vue.js +272 -0
  111. package/dist/src/base/HelpDocSet.js +363 -0
  112. package/dist/src/base/HelpDocSet.vue.js +685 -0
  113. package/dist/src/base/IndexFormItem.js +5 -0
  114. package/dist/src/base/IndexFormItem.vue.js +230 -0
  115. package/dist/src/base/JobFormItem.js +8 -0
  116. package/dist/src/base/JobFormItem.vue.js +131 -0
  117. package/dist/src/base/ManageAppNav.js +9 -0
  118. package/dist/src/base/ManageAppNav.vue.js +1178 -0
  119. package/dist/src/base/ManageMenu.js +916 -0
  120. package/dist/src/base/ManageMenuItem.js +551 -0
  121. package/dist/src/base/NoInstallSystemList.js +5 -0
  122. package/dist/src/base/NoInstallSystemList.vue.js +159 -0
  123. package/dist/src/base/PageList.js +48 -0
  124. package/dist/src/base/PasswordFormItem.js +8 -0
  125. package/dist/src/base/PasswordFormItem.vue.js +125 -0
  126. package/dist/src/base/ProcessFormItem.js +148 -0
  127. package/dist/src/base/PublishSystemApplyFormItem.js +5 -0
  128. package/dist/src/base/PublishSystemApplyFormItem.vue.js +104 -0
  129. package/dist/src/base/RequestLog.js +170 -0
  130. package/dist/src/base/RightRiskList.js +8 -0
  131. package/dist/src/base/RightRiskList.vue.js +224 -0
  132. package/dist/src/base/RoleAccredit.js +1087 -0
  133. package/dist/src/base/RoleRightList.js +8 -0
  134. package/dist/src/base/RoleRightList.vue.js +118 -0
  135. package/dist/src/base/RoleUserManage.js +8 -0
  136. package/dist/src/base/RoleUserManage.vue.js +146 -0
  137. package/dist/src/base/ServiceAccredit.js +1075 -0
  138. package/dist/src/base/ServiceMenu.js +399 -0
  139. package/dist/src/base/ServiceMenuFormItem.js +20 -0
  140. package/dist/src/base/ServiceOperate.js +1003 -0
  141. package/dist/src/base/SystemHelpTreeFind.js +44 -0
  142. package/dist/src/base/aiPromptMode.js +145 -0
  143. package/dist/src/base/data-check/DataChckDetail.js +243 -0
  144. package/dist/src/base/data-check/DataCheck.js +308 -0
  145. package/dist/src/base/data-check/DataCheckList.js +364 -0
  146. package/dist/src/base/data-check/DataCheckSubList.js +6 -0
  147. package/dist/src/base/data-check/DataCheckSubList.vue.js +195 -0
  148. package/dist/src/base/entity-view/EntityViewFormItem.js +5 -0
  149. package/dist/src/base/entity-view/EntityViewFormItem.vue.js +229 -0
  150. package/dist/src/base/entity-view/EntityViewSubList.js +5 -0
  151. package/dist/src/base/entity-view/EntityViewSubList.vue.js +181 -0
  152. package/dist/src/base/entity-view-config/BasicInfoDialog.js +208 -0
  153. package/dist/src/base/entity-view-config/FieldPanel.js +692 -0
  154. package/dist/src/base/entity-view-config/FieldPropForm.js +786 -0
  155. package/dist/src/base/entity-view-config/FormulaDialog.js +143 -0
  156. package/dist/src/base/entity-view-config/ObjectFieldDialog.js +271 -0
  157. package/dist/src/base/entity-view-config/RelationPanel.js +779 -0
  158. package/dist/src/base/entity-view-config/SourceManagerDialog.js +658 -0
  159. package/dist/src/base/entity-view-config/SqlPanel.js +62 -0
  160. package/dist/src/base/entity-view-config/SqlPanel.vue.js +43 -0
  161. package/dist/src/base/entity-view-config/UnionPanel.js +1082 -0
  162. package/dist/src/base/entity-view-config/ViewConfig.js +586 -0
  163. package/dist/src/base/entity-view-config/constants.js +146 -0
  164. package/dist/src/base/user-type/UserTypeFormItem.js +5 -0
  165. package/dist/src/base/user-type/UserTypeFormItem.vue.js +183 -0
  166. package/dist/src/components/AddPageFormItem.js +5 -0
  167. package/dist/src/components/AddPageFormItem.vue.js +92 -0
  168. package/dist/src/components/AddUsedInterface.js +214 -0
  169. package/dist/src/components/AiDocFormItem.js +6 -0
  170. package/dist/src/components/AiDocFormItem.vue.js +271 -0
  171. package/dist/src/components/AiList.js +8 -0
  172. package/dist/src/components/AiList.vue.js +93 -0
  173. package/dist/src/components/AiPermissionAssistant.js +284 -0
  174. package/dist/src/components/AppList.js +414 -0
  175. package/dist/src/components/Apply/AIApplyIndex.js +179 -0
  176. package/dist/src/components/Apply/ApplyIndex.js +282 -0
  177. package/dist/src/components/AttributeList.js +870 -0
  178. package/dist/src/components/Banner.js +26 -0
  179. package/dist/src/components/BatchAddFieldDialog.js +425 -0
  180. package/dist/src/components/CardO.js +47 -0
  181. package/dist/src/components/CheckForm.js +34 -0
  182. package/dist/src/components/ClientAdminFormItem.js +47 -0
  183. package/dist/src/components/ClientAdminList.js +9 -0
  184. package/dist/src/components/ClientAdminList.vue.js +221 -0
  185. package/dist/src/components/ClientFormItem.js +48 -0
  186. package/dist/src/components/ClientList.js +6 -0
  187. package/dist/src/components/ClientList.vue.js +216 -0
  188. package/dist/src/components/CodeDetail.js +454 -0
  189. package/dist/src/components/CodeManage.js +1030 -0
  190. package/dist/src/components/ComponentFind.js +210 -0
  191. package/dist/src/components/ComponentList.js +499 -0
  192. package/dist/src/components/ConfigParamFormItem.js +8 -0
  193. package/dist/src/components/ConfigParamFormItem.vue.js +389 -0
  194. package/dist/src/components/CreatePage.js +298 -0
  195. package/dist/src/components/DashboardCreate.js +106 -0
  196. package/dist/src/components/DataLog.js +169 -0
  197. package/dist/src/components/DataLogTimeline.js +111 -0
  198. package/dist/src/components/DataSnapshot.js +207 -0
  199. package/dist/src/components/DataSnapshotList.js +75 -0
  200. package/dist/src/components/DataSyncInit.js +173 -0
  201. package/dist/src/components/DblogList.js +6 -0
  202. package/dist/src/components/DblogList.vue.js +143 -0
  203. package/dist/src/components/DeptFind.js +8 -0
  204. package/dist/src/components/DeptFind.vue.js +109 -0
  205. package/dist/src/components/DynamicUserList.js +5 -0
  206. package/dist/src/components/DynamicUserList.vue.js +89 -0
  207. package/dist/src/components/EntityCheckboxFind.js +5 -0
  208. package/dist/src/components/EntityCheckboxFind.vue.js +97 -0
  209. package/dist/src/components/EntityRelationAdd.js +388 -0
  210. package/dist/src/components/EntityRelationAddFormItem.js +5 -0
  211. package/dist/src/components/EntityRelationAddFormItem.vue.js +284 -0
  212. package/dist/src/components/EntityRightFormItem.js +10 -0
  213. package/dist/src/components/EntityRightFormItem.vue.js +401 -0
  214. package/dist/src/components/EntityRightSubList.js +640 -0
  215. package/dist/src/components/EntityTagSubList.js +5 -0
  216. package/dist/src/components/EntityTagSubList.vue.js +103 -0
  217. package/dist/src/components/EntityTreeManage.js +865 -0
  218. package/dist/src/components/ExportSystemConfig.js +167 -0
  219. package/dist/src/components/FieldTreeFind.js +41 -0
  220. package/dist/src/components/FormulaEditor.js +8 -0
  221. package/dist/src/components/FormulaEditor.vue.js +1235 -0
  222. package/dist/src/components/GenTestData.js +638 -0
  223. package/dist/src/components/HallNav.js +6 -0
  224. package/dist/src/components/HallNav.vue.js +156 -0
  225. package/dist/src/components/HeaderNav.js +369 -0
  226. package/dist/src/components/IconCard.js +98 -0
  227. package/dist/src/components/IconFontLibrary.js +5 -0
  228. package/dist/src/components/IconFontLibrary.vue.js +67 -0
  229. package/dist/src/components/IconFontList.js +5 -0
  230. package/dist/src/components/IconFontList.vue.js +79 -0
  231. package/dist/src/components/IdentifyList.js +33 -0
  232. package/dist/src/components/ImportSystemConfig.js +303 -0
  233. package/dist/src/components/InterfaceSubList.js +320 -0
  234. package/dist/src/components/JsPanel.js +101 -0
  235. package/dist/src/components/LanguageImportPage.js +590 -0
  236. package/dist/src/components/LanguageSetting.js +545 -0
  237. package/dist/src/components/List/LinkItem.js +113 -0
  238. package/dist/src/components/List/List.js +18 -0
  239. package/dist/src/components/List/ListItem.js +31 -0
  240. package/dist/src/components/MenuTreeFind.js +8 -0
  241. package/dist/src/components/MenuTreeFind.vue.js +81 -0
  242. package/dist/src/components/MessageList.js +8 -0
  243. package/dist/src/components/MessageList.vue.js +101 -0
  244. package/dist/src/components/MessageRuleFormItem.js +60 -0
  245. package/dist/src/components/MessageRuleReceiverFormItem.js +224 -0
  246. package/dist/src/components/MessageTemplate.js +395 -0
  247. package/dist/src/components/MessageTemplate.vue.js +693 -0
  248. package/dist/src/components/MetaList.js +5 -0
  249. package/dist/src/components/MetaList.vue.js +100 -0
  250. package/dist/src/components/Nav.js +496 -0
  251. package/dist/src/components/NavFormCatalogItem.js +7 -0
  252. package/dist/src/components/NumList.js +60 -0
  253. package/dist/src/components/OperateLog.js +133 -0
  254. package/dist/src/components/PageCatalog.js +8 -0
  255. package/dist/src/components/PageCatalog.vue.js +292 -0
  256. package/dist/src/components/PageChart.js +213 -0
  257. package/dist/src/components/PageSwipes.js +132 -0
  258. package/dist/src/components/PersonFormItem.js +5 -0
  259. package/dist/src/components/PersonFormItem.vue.js +96 -0
  260. package/dist/src/components/Popup.js +239 -0
  261. package/dist/src/components/PrintFormList.js +9 -0
  262. package/dist/src/components/PrintFormList.vue.js +203 -0
  263. package/dist/src/components/PublishEntity.js +114 -0
  264. package/dist/src/components/RelyFieldTreeFind.js +52 -0
  265. package/dist/src/components/ReportFormList.js +236 -0
  266. package/dist/src/components/ReportList.js +9 -0
  267. package/dist/src/components/ReportList.vue.js +248 -0
  268. package/dist/src/components/RightSubList.js +8 -0
  269. package/dist/src/components/RightSubList.vue.js +150 -0
  270. package/dist/src/components/RoleAddUser.js +55 -0
  271. package/dist/src/components/RoleApplicationCard.js +138 -0
  272. package/dist/src/components/RoleApplicationList.js +937 -0
  273. package/dist/src/components/RoleApplicationSet.js +1001 -0
  274. package/dist/src/components/Search.js +254 -0
  275. package/dist/src/components/ServiceFormItem.js +33 -0
  276. package/dist/src/components/SnapshotDataList.js +73 -0
  277. package/dist/src/components/SystemAdminList.js +8 -0
  278. package/dist/src/components/SystemAdminList.vue.js +198 -0
  279. package/dist/src/components/SystemFormItem.js +8 -0
  280. package/dist/src/components/SystemFormItem.vue.js +170 -0
  281. package/dist/src/components/SystemNav.js +30 -0
  282. package/dist/src/components/TaskNumCard.js +23 -0
  283. package/dist/src/components/TimerRuleFormItem.js +333 -0
  284. package/dist/src/components/TodoList.js +8 -0
  285. package/dist/src/components/TodoList.vue.js +327 -0
  286. package/dist/src/components/UpdateSystemConfig.js +241 -0
  287. package/dist/src/components/UserCard.js +83 -0
  288. package/dist/src/components/UserFind.js +6 -0
  289. package/dist/src/components/UserFind.vue.js +592 -0
  290. package/dist/src/components/UserFormItem.js +9 -0
  291. package/dist/src/components/UserFormItem.vue.js +609 -0
  292. package/dist/src/components/UserList.js +5 -0
  293. package/dist/src/components/UserList.vue.js +23 -0
  294. package/dist/src/components/UserManage.js +802 -0
  295. package/dist/src/components/UserRoleList.js +579 -0
  296. package/dist/src/components/ValidateRuleFormItem.js +109 -0
  297. package/dist/src/components/ViewFieldDefine.js +747 -0
  298. package/dist/src/components/WikiSpaceList.js +5 -0
  299. package/dist/src/components/WikiSpaceList.vue.js +330 -0
  300. package/dist/src/components/WikiWorkbench.js +647 -0
  301. package/dist/src/components/authorization/AddApiPermiss.js +231 -0
  302. package/dist/src/components/authorization/AddAuthorization.js +161 -0
  303. package/dist/src/components/authorization/AddEntityFind.js +62 -0
  304. package/dist/src/components/authorization/AddNoApi.js +191 -0
  305. package/dist/src/components/authorization/AddRoleScope.js +337 -0
  306. package/dist/src/components/authorization/AiRolePlan.js +672 -0
  307. package/dist/src/components/authorization/ApiShareOtherList.js +397 -0
  308. package/dist/src/components/authorization/ApiSystemList.js +242 -0
  309. package/dist/src/components/authorization/AuthorizationInterface.js +622 -0
  310. package/dist/src/components/authorization/AuthorizationRoleSystem.js +850 -0
  311. package/dist/src/components/authorization/EntityConstraintFormItem.js +284 -0
  312. package/dist/src/components/authorization/OtherShareApiList.js +247 -0
  313. package/dist/src/components/authorization/PermissCommonRoleTabs.js +114 -0
  314. package/dist/src/components/authorization/PermissRoleAuthorization.js +1286 -0
  315. package/dist/src/components/authorization/PermissRoleTabs.js +113 -0
  316. package/dist/src/components/authorization/RoleLevel.js +5 -0
  317. package/dist/src/components/authorization/RoleLevel.vue.js +110 -0
  318. package/dist/src/components/authorization/RoleLevelScope.js +270 -0
  319. package/dist/src/components/authorization/SystemAddNoApi.js +187 -0
  320. package/dist/src/components/card/CardList.js +65 -0
  321. package/dist/src/components/card/CardListItem.js +97 -0
  322. package/dist/src/components/card/Title.js +42 -0
  323. package/dist/src/components/custom-bpmn/CustomContextPad.js +54 -0
  324. package/dist/src/components/custom-bpmn/CustomPalette.js +5 -0
  325. package/dist/src/components/custom-bpmn/CustomRenderer.js +5 -0
  326. package/dist/src/components/custom-bpmn/CustomRendererBpmn.js +88 -0
  327. package/dist/src/components/custom-bpmn/PropertiesView.js +12560 -0
  328. package/dist/src/components/custom-bpmn/components/AiModel.js +353 -0
  329. package/dist/src/components/custom-bpmn/components/Api.js +376 -0
  330. package/dist/src/components/custom-bpmn/components/BatchOperation.js +209 -0
  331. package/dist/src/components/custom-bpmn/components/Copy.js +653 -0
  332. package/dist/src/components/custom-bpmn/components/DataTransform.js +442 -0
  333. package/dist/src/components/custom-bpmn/components/Demo.js +63 -0
  334. package/dist/src/components/custom-bpmn/components/EditDiv.js +358 -0
  335. package/dist/src/components/custom-bpmn/components/GenScope.js +259 -0
  336. package/dist/src/components/custom-bpmn/components/GlobalParamsTree.js +76 -0
  337. package/dist/src/components/custom-bpmn/components/Knowledges.js +238 -0
  338. package/dist/src/components/custom-bpmn/components/Login.js +591 -0
  339. package/dist/src/components/custom-bpmn/components/MessageQueue.js +221 -0
  340. package/dist/src/components/custom-bpmn/components/MetaSelect.js +160 -0
  341. package/dist/src/components/custom-bpmn/components/NumStatistic.js +408 -0
  342. package/dist/src/components/custom-bpmn/components/ObjectTransform.js +789 -0
  343. package/dist/src/components/custom-bpmn/components/OutPut.js +395 -0
  344. package/dist/src/components/custom-bpmn/components/ParamsMachining.js +889 -0
  345. package/dist/src/components/custom-bpmn/components/ParamsOutput.js +161 -0
  346. package/dist/src/components/custom-bpmn/components/ProcessAudit.js +796 -0
  347. package/dist/src/components/custom-bpmn/components/SingleMultipleFind.js +1040 -0
  348. package/dist/src/components/custom-bpmn/components/TestDialog.js +861 -0
  349. package/dist/src/components/custom-bpmn/img/chaxun.png.js +4 -0
  350. package/dist/src/components/custom-bpmn/img/fasong.png.js +4 -0
  351. package/dist/src/components/custom-bpmn/img/gengxin.png.js +4 -0
  352. package/dist/src/components/custom-bpmn/img/jiagong.png.js +4 -0
  353. package/dist/src/components/custom-bpmn/img/jiekou.png.js +4 -0
  354. package/dist/src/components/custom-bpmn/img/shanchu.png.js +4 -0
  355. package/dist/src/components/custom-bpmn/img/tongbu.png.js +4 -0
  356. package/dist/src/components/custom-bpmn/img/xinzeng.png.js +4 -0
  357. package/dist/src/components/custom-bpmn/img/xunhuanend.png.js +4 -0
  358. package/dist/src/components/custom-bpmn/img/xunhuanstart.png.js +4 -0
  359. package/dist/src/components/custom-bpmn/img/ywgz.png.js +4 -0
  360. package/dist/src/components/custom-bpmn/index.js +5 -0
  361. package/dist/src/components/custom-bpmn/palette.js +13 -0
  362. package/dist/src/components/custom-bpmn/util.js +7 -0
  363. package/dist/src/components/dashboard-create.js +20 -0
  364. package/dist/src/components/entity-relation-diagram/Er.js +340 -0
  365. package/dist/src/components/entity-relation-diagram/renderErNode.js +36 -0
  366. package/dist/src/components/expand/AddForm.js +86 -0
  367. package/dist/src/components/expand/AddFormItem.js +149 -0
  368. package/dist/src/components/filter/Filter.js +720 -0
  369. package/dist/src/components/filter/FilterItem.js +493 -0
  370. package/dist/src/components/hall/AppCollect.js +121 -0
  371. package/dist/src/components/hall/AppList.js +480 -0
  372. package/dist/src/components/hall/AppVisitRecord.js +113 -0
  373. package/dist/src/components/hall/Banner.js +33 -0
  374. package/dist/src/components/hall/ServiceCard.js +124 -0
  375. package/dist/src/components/hall/UserCard.js +81 -0
  376. package/dist/src/components/permiss/AddApi.js +143 -0
  377. package/dist/src/components/permiss/AddNoEntityApi.js +180 -0
  378. package/dist/src/components/permiss/AddSystemPermiss.js +131 -0
  379. package/dist/src/components/permiss/AllocateRole.js +131 -0
  380. package/dist/src/components/permiss/ApiSubList.js +151 -0
  381. package/dist/src/components/permiss/CommonRoleMenu.js +591 -0
  382. package/dist/src/components/permiss/FieldScope.js +200 -0
  383. package/dist/src/components/permiss/PermissManage.js +88 -0
  384. package/dist/src/components/permiss/RoleAppList.js +36 -0
  385. package/dist/src/components/permiss/RoleMenu.js +518 -0
  386. package/dist/src/components/permiss/RoleSubList.js +5 -0
  387. package/dist/src/components/permiss/RoleSubList.vue.js +300 -0
  388. package/dist/src/components/permiss/jurisdiction.js +359 -0
  389. package/dist/src/components/process-healthcheck/HealthcheckChart.js +234 -0
  390. package/dist/src/components/process-healthcheck/HealthcheckChart.vue.js +348 -0
  391. package/dist/src/components/process-healthcheck/HealthcheckRenderer.js +36 -0
  392. package/dist/src/components/process-healthcheck/index.js +8 -0
  393. package/dist/src/components/report/Config.js +1708 -0
  394. package/dist/src/components/report/Design.js +4632 -0
  395. package/dist/src/components/report/StatList.js +217 -0
  396. package/dist/src/components/right/EntityOtherSystemList.js +82 -0
  397. package/dist/src/components/right/SystemInterfaceList.js +418 -0
  398. package/dist/src/components/right/SystemList.js +1017 -0
  399. package/dist/src/components/upLoad.js +71 -0
  400. package/dist/src/components/viewport/LookViewList.js +22 -0
  401. package/dist/src/components/viewport/ViewAddForm.js +142 -0
  402. package/dist/src/components/viewport/ViewDefineList.js +50 -0
  403. package/dist/src/components/viewport/ViewFiedList.js +723 -0
  404. package/dist/src/components/viewport/ViewScope.js +116 -0
  405. package/dist/src/components/wiki-workbench/WikiCites.js +301 -0
  406. package/dist/src/components/wiki-workbench/WikiIntake.js +308 -0
  407. package/dist/src/components/wiki-workbench/WikiIntake.vue.js +309 -0
  408. package/dist/src/components/wiki-workbench/WikiJobs.js +195 -0
  409. package/dist/src/components/wiki-workbench/WikiRevisions.js +229 -0
  410. package/dist/src/components/wiki-workbench/WikiSpaceSettings.js +59 -0
  411. package/dist/src/components/wiki-workbench/WikiSpaceSettings.vue.js +127 -0
  412. package/dist/src/components/wiki-workbench/codes.js +27 -0
  413. package/dist/src/components/wiki-workbench/index.js +13 -0
  414. package/dist/src/index.js +42 -0
  415. package/dist/src/popup.js +68 -0
  416. package/dist/src/public-components.js +20 -0
  417. package/dist/src/remote.entry.js +31 -0
  418. package/dist/src/route-components.js +12 -0
  419. package/dist/src/system.component.index.js +5 -0
  420. package/dist/src/system.component.js +342 -0
  421. package/dist/src/system.component.lazy.js +50 -0
  422. package/dist/src/views/Add.js +8 -0
  423. package/dist/src/views/Add.vue.js +734 -0
  424. package/dist/src/views/AiToolManager.js +2530 -0
  425. package/dist/src/views/App.js +48 -0
  426. package/dist/src/views/AppRoleSelect.js +233 -0
  427. package/dist/src/views/BatchEdit.js +256 -0
  428. package/dist/src/views/Bpmn.js +319 -0
  429. package/dist/src/views/Bpmn.vue.js +1196 -0
  430. package/dist/src/views/EntityCheckPage.js +49 -0
  431. package/dist/src/views/EntityDetailPage.js +5 -0
  432. package/dist/src/views/EntityDetailPage.vue.js +73 -0
  433. package/dist/src/views/EntityEditPage.js +10 -0
  434. package/dist/src/views/EntitySubListPage.js +41 -0
  435. package/dist/src/views/EntityTreePage.js +32 -0
  436. package/dist/src/views/Error.js +210 -0
  437. package/dist/src/views/ExcelDesign.js +2730 -0
  438. package/dist/src/views/ExcelDesign.vue.js +2165 -0
  439. package/dist/src/views/ExcelPreviewPage.js +166 -0
  440. package/dist/src/views/ExcelPreviewPage.vue.js +572 -0
  441. package/dist/src/views/ExportFilePage.js +21 -0
  442. package/dist/src/views/ExportPage.js +21 -0
  443. package/dist/src/views/FormDesign.js +1033 -0
  444. package/dist/src/views/FormDesign.vue.js +1564 -0
  445. package/dist/src/views/I18nWorkbench.js +521 -0
  446. package/dist/src/views/ImportFilePage.js +21 -0
  447. package/dist/src/views/ImportPage.js +21 -0
  448. package/dist/src/views/MEntityListPage.js +66 -0
  449. package/dist/src/views/MEntitySubListPage.js +41 -0
  450. package/dist/src/views/MinePage.js +16 -0
  451. package/dist/src/views/Module.js +173 -0
  452. package/dist/src/views/PageAttributeTreePage.js +421 -0
  453. package/dist/src/views/PageConfig.js +177 -0
  454. package/dist/src/views/Permission.js +742 -0
  455. package/dist/src/views/PersonalInfo.js +792 -0
  456. package/dist/src/views/QyWechat.js +62 -0
  457. package/dist/src/views/ReportFormListPage.js +77 -0
  458. package/dist/src/views/TaskPage.js +180 -0
  459. package/dist/src/views/WikiBinding.js +614 -0
  460. package/dist/src/views/client/AddForm.js +55 -0
  461. package/dist/src/views/client/AppMarket.js +290 -0
  462. package/dist/src/views/client/ClientIndex.js +209 -0
  463. package/dist/src/views/client/ClientModuleIndexPage.js +5 -0
  464. package/dist/src/views/client/ClientModuleIndexPage.vue.js +30 -0
  465. package/dist/src/views/client/CopySystem.js +136 -0
  466. package/dist/src/views/client/CreateAppFormItem.js +8 -0
  467. package/dist/src/views/client/CreateAppFormItem.vue.js +232 -0
  468. package/dist/src/views/client/CreateMethod.js +76 -0
  469. package/dist/src/views/client/InstallSystem.js +309 -0
  470. package/dist/src/views/client/ManageList.js +5 -0
  471. package/dist/src/views/client/ManageList.vue.js +211 -0
  472. package/dist/src/views/client/OpenClientManage.js +51 -0
  473. package/dist/src/views/client/OpenSystemManage.js +56 -0
  474. package/dist/src/views/client/PageTabsCyclic.js +92 -0
  475. package/dist/src/views/client/SelfBuiltSystem.js +444 -0
  476. package/dist/src/views/client/StandardProduct.js +233 -0
  477. package/dist/src/views/client/SystemAppAccredit.js +561 -0
  478. package/dist/src/views/client/SystemAppManager.js +293 -0
  479. package/dist/src/views/client/SystemAppManager.vue.js +559 -0
  480. package/dist/src/views/client/SystemManager.js +452 -0
  481. package/dist/src/views/client/SystemManager.vue.js +522 -0
  482. package/dist/src/views/i18n/I18nAiTaskHistoryDialog.js +230 -0
  483. package/dist/src/views/i18n/I18nPublishDialog.js +451 -0
  484. package/dist/src/views/i18n/I18nTranslationList.js +8 -0
  485. package/dist/src/views/i18n/I18nTranslationList.vue.js +247 -0
  486. package/dist/src/views/i18n/i18n-workbench-text.js +11 -0
  487. package/dist/src/views/layout/CardList.js +96 -0
  488. package/dist/src/views/layout/Grid.js +138 -0
  489. package/dist/src/views/match/AddTargetField.js +8 -0
  490. package/dist/src/views/match/AddTargetField.vue.js +127 -0
  491. package/dist/src/views/match/MatchAddFormItem.js +5 -0
  492. package/dist/src/views/match/MatchAddFormItem.vue.js +84 -0
  493. package/dist/src/views/match/conversion.js +805 -0
  494. package/dist/src/views/match/customize.js +391 -0
  495. package/dist/src/views/match/fieldMatch.js +8 -0
  496. package/dist/src/views/match/fieldMatch.vue.js +610 -0
  497. package/dist/src/views/report/AddFormItem.js +60 -0
  498. package/dist/src/views/report/DesignReport.js +1392 -0
  499. package/dist/src/views/report/ReportTreeFind.js +8 -0
  500. package/dist/src/views/report/ReportTreeFind.vue.js +166 -0
  501. package/dist/style.css +33364 -0
  502. package/package.json +133 -3
  503. package/src/base/AiPromptDesigner.vue +653 -0
  504. package/src/base/AiPromptView.vue +467 -0
  505. package/src/base/AiSkillEditor.vue +2125 -0
  506. package/src/base/AppConfigFormItem.vue +404 -0
  507. package/src/base/AppMarket.vue +264 -0
  508. package/src/base/AppMarketList.vue +233 -0
  509. package/src/base/AppMarketSystemDetail.vue +380 -0
  510. package/src/base/AttributeSubAdd.vue +29 -0
  511. package/src/base/ChooseApplication.vue +176 -0
  512. package/src/base/ClientAppItem.vue +247 -0
  513. package/src/base/ClientApplication.vue +447 -0
  514. package/src/base/ClientApplicationList.vue +180 -0
  515. package/src/base/ClientModule.vue +69 -0
  516. package/src/base/ClientModuleIndex.vue +437 -0
  517. package/src/base/ClientSystemDetail.vue +319 -0
  518. package/src/base/ClientSystemList.vue +435 -0
  519. package/src/base/CommonFieldList.vue +1397 -0
  520. package/src/base/CommonSearchList.vue +191 -0
  521. package/src/base/CompayDetail.vue +199 -0
  522. package/src/base/ComponentGlobalSet.vue +842 -0
  523. package/src/base/ComponentParamsTree.vue +310 -0
  524. package/src/base/ConfigModuleIndex.vue +121 -0
  525. package/src/base/CurrentClientApplication.vue +37 -0
  526. package/src/base/CurrentVersionInfo.vue +107 -0
  527. package/src/base/EntityMatchCompare.vue +442 -0
  528. package/src/base/FieldRelationFormItem.vue +260 -0
  529. package/src/base/HelpDocSet.vue +1217 -0
  530. package/src/base/IndexFormItem.vue +197 -0
  531. package/src/base/JobFormItem.vue +101 -0
  532. package/src/base/ManageAppNav.vue +1190 -0
  533. package/src/base/ManageMenu.vue +935 -0
  534. package/src/base/ManageMenuItem.vue +399 -0
  535. package/src/base/NoInstallSystemList.vue +114 -0
  536. package/src/base/PageList.vue +47 -0
  537. package/src/base/PasswordFormItem.vue +94 -0
  538. package/src/base/ProcessFormItem.vue +129 -0
  539. package/src/base/PublishSystemApplyFormItem.vue +87 -0
  540. package/src/base/RequestLog.vue +198 -0
  541. package/src/base/RightRiskList.vue +212 -0
  542. package/src/base/RoleAccredit.vue +961 -0
  543. package/src/base/RoleRightList.vue +159 -0
  544. package/src/base/RoleUserManage.vue +186 -0
  545. package/src/base/ServiceAccredit.vue +956 -0
  546. package/src/base/ServiceMenu.vue +420 -0
  547. package/src/base/ServiceMenuFormItem.vue +22 -0
  548. package/src/base/ServiceOperate.vue +929 -0
  549. package/src/base/SystemHelpTreeFind.vue +50 -0
  550. package/src/base/aiPromptMode.js +153 -0
  551. package/src/base/data-check/DataChckDetail.vue +281 -0
  552. package/src/base/data-check/DataCheck.vue +261 -0
  553. package/src/base/data-check/DataCheckList.vue +327 -0
  554. package/src/base/data-check/DataCheckSubList.vue +160 -0
  555. package/src/base/entity-view/EntityViewFormItem.vue +170 -0
  556. package/src/base/entity-view/EntityViewSubList.vue +149 -0
  557. package/src/base/entity-view-config/BasicInfoDialog.vue +156 -0
  558. package/src/base/entity-view-config/FieldPanel.vue +742 -0
  559. package/src/base/entity-view-config/FieldPropForm.vue +687 -0
  560. package/src/base/entity-view-config/FormulaDialog.vue +153 -0
  561. package/src/base/entity-view-config/ObjectFieldDialog.vue +367 -0
  562. package/src/base/entity-view-config/RelationPanel.vue +951 -0
  563. package/src/base/entity-view-config/SourceManagerDialog.vue +428 -0
  564. package/src/base/entity-view-config/SqlPanel.vue +138 -0
  565. package/src/base/entity-view-config/UnionPanel.vue +1037 -0
  566. package/src/base/entity-view-config/ViewConfig.vue +661 -0
  567. package/src/base/entity-view-config/constants.js +139 -0
  568. package/src/base/user-type/UserTypeFormItem.vue +134 -0
  569. package/src/components/AddPageFormItem.vue +82 -0
  570. package/src/components/AddUsedInterface.vue +154 -0
  571. package/src/components/AiDocFormItem.vue +293 -0
  572. package/src/components/AiList.vue +132 -0
  573. package/src/components/AiPermissionAssistant.vue +304 -0
  574. package/src/components/AppList.vue +330 -0
  575. package/src/components/Apply/AIApplyIndex.vue +458 -0
  576. package/src/components/Apply/ApplyIndex.vue +358 -0
  577. package/src/components/AttributeList.vue +667 -0
  578. package/src/components/Banner.vue +24 -0
  579. package/src/components/BatchAddFieldDialog.vue +590 -0
  580. package/src/components/CardO.vue +112 -0
  581. package/src/components/CheckForm.vue +32 -0
  582. package/src/components/ClientAdminFormItem.vue +49 -0
  583. package/src/components/ClientAdminList.vue +434 -0
  584. package/src/components/ClientFormItem.vue +49 -0
  585. package/src/components/ClientList.vue +155 -0
  586. package/src/components/CodeDetail.vue +465 -0
  587. package/src/components/CodeManage.vue +1004 -0
  588. package/src/components/ComponentFind.vue +222 -0
  589. package/src/components/ComponentList.vue +526 -0
  590. package/src/components/ConfigParamFormItem.vue +383 -0
  591. package/src/components/CreatePage.vue +348 -0
  592. package/src/components/DashboardCreate.vue +73 -0
  593. package/src/components/DataLog.vue +181 -0
  594. package/src/components/DataLogTimeline.vue +202 -0
  595. package/src/components/DataSnapshot.vue +264 -0
  596. package/src/components/DataSnapshotList.vue +79 -0
  597. package/src/components/DataSyncInit.vue +97 -0
  598. package/src/components/DblogList.vue +163 -0
  599. package/src/components/DeptFind.vue +203 -0
  600. package/src/components/DynamicUserList.vue +72 -0
  601. package/src/components/EntityCheckboxFind.vue +90 -0
  602. package/src/components/EntityRelationAdd.vue +201 -0
  603. package/src/components/EntityRelationAddFormItem.vue +235 -0
  604. package/src/components/EntityRightFormItem.vue +618 -0
  605. package/src/components/EntityRightSubList.vue +740 -0
  606. package/src/components/EntityTagSubList.vue +72 -0
  607. package/src/components/EntityTreeManage.vue +988 -0
  608. package/src/components/ExportSystemConfig.vue +131 -0
  609. package/src/components/FieldTreeFind.vue +48 -0
  610. package/src/components/FormulaEditor.vue +1220 -0
  611. package/src/components/GenTestData.vue +787 -0
  612. package/src/components/HallNav.vue +539 -0
  613. package/src/components/HeaderNav.vue +447 -0
  614. package/src/components/IconCard.vue +158 -0
  615. package/src/components/IconFontLibrary.vue +61 -0
  616. package/src/components/IconFontList.vue +75 -0
  617. package/src/components/IdentifyList.vue +33 -0
  618. package/src/components/ImportSystemConfig.vue +234 -0
  619. package/src/components/InterfaceSubList.vue +295 -0
  620. package/src/components/JsPanel.vue +111 -0
  621. package/src/components/LanguageImportPage.vue +601 -0
  622. package/src/components/LanguageSetting.vue +451 -0
  623. package/src/components/List/LinkItem.vue +98 -0
  624. package/src/components/List/List.vue +17 -0
  625. package/src/components/List/ListItem.vue +52 -0
  626. package/src/components/MenuTreeFind.vue +128 -0
  627. package/src/components/MessageList.vue +198 -0
  628. package/src/components/MessageRuleFormItem.vue +60 -0
  629. package/src/components/MessageRuleReceiverFormItem.vue +179 -0
  630. package/src/components/MessageTemplate.vue +949 -0
  631. package/src/components/MetaList.vue +108 -0
  632. package/src/components/Nav.vue +604 -0
  633. package/src/components/NavFormCatalogItem.vue +9 -0
  634. package/src/components/NumList.vue +108 -0
  635. package/src/components/OperateLog.vue +168 -0
  636. package/src/components/PageCatalog.vue +458 -0
  637. package/src/components/PageChart.vue +339 -0
  638. package/src/components/PageSwipes.vue +234 -0
  639. package/src/components/PersonFormItem.vue +94 -0
  640. package/src/components/Popup.vue +393 -0
  641. package/src/components/PrintFormList.vue +529 -0
  642. package/src/components/PublishEntity.vue +87 -0
  643. package/src/components/RelyFieldTreeFind.vue +57 -0
  644. package/src/components/ReportFormList.vue +247 -0
  645. package/src/components/ReportList.vue +647 -0
  646. package/src/components/RightSubList.vue +256 -0
  647. package/src/components/RoleAddUser.vue +56 -0
  648. package/src/components/RoleApplicationCard.vue +299 -0
  649. package/src/components/RoleApplicationList.vue +766 -0
  650. package/src/components/RoleApplicationSet.vue +845 -0
  651. package/src/components/Search.vue +272 -0
  652. package/src/components/ServiceFormItem.vue +35 -0
  653. package/src/components/SnapshotDataList.vue +78 -0
  654. package/src/components/SystemAdminList.vue +497 -0
  655. package/src/components/SystemFormItem.vue +125 -0
  656. package/src/components/SystemNav.vue +29 -0
  657. package/src/components/TaskNumCard.vue +26 -0
  658. package/src/components/TimerRuleFormItem.vue +227 -0
  659. package/src/components/TodoList.vue +424 -0
  660. package/src/components/UpdateSystemConfig.vue +200 -0
  661. package/src/components/UserCard.vue +110 -0
  662. package/src/components/UserFind.vue +702 -0
  663. package/src/components/UserFormItem.vue +762 -0
  664. package/src/components/UserList.vue +19 -0
  665. package/src/components/UserManage.vue +758 -0
  666. package/src/components/UserRoleList.vue +497 -0
  667. package/src/components/ValidateRuleFormItem.vue +90 -0
  668. package/src/components/ViewFieldDefine.vue +703 -0
  669. package/src/components/WikiSpaceList.vue +270 -0
  670. package/src/components/WikiWorkbench.vue +717 -0
  671. package/src/components/authorization/AddApiPermiss.vue +179 -0
  672. package/src/components/authorization/AddAuthorization.vue +135 -0
  673. package/src/components/authorization/AddEntityFind.vue +68 -0
  674. package/src/components/authorization/AddNoApi.vue +143 -0
  675. package/src/components/authorization/AddRoleScope.vue +291 -0
  676. package/src/components/authorization/AiRolePlan.vue +751 -0
  677. package/src/components/authorization/ApiShareOtherList.vue +353 -0
  678. package/src/components/authorization/ApiSystemList.vue +314 -0
  679. package/src/components/authorization/AuthorizationInterface.vue +668 -0
  680. package/src/components/authorization/AuthorizationRoleSystem.vue +713 -0
  681. package/src/components/authorization/EntityConstraintFormItem.vue +257 -0
  682. package/src/components/authorization/OtherShareApiList.vue +248 -0
  683. package/src/components/authorization/PermissCommonRoleTabs.vue +122 -0
  684. package/src/components/authorization/PermissRoleAuthorization.vue +1097 -0
  685. package/src/components/authorization/PermissRoleTabs.vue +121 -0
  686. package/src/components/authorization/RoleLevel.vue +113 -0
  687. package/src/components/authorization/RoleLevelScope.vue +247 -0
  688. package/src/components/authorization/SystemAddNoApi.vue +139 -0
  689. package/src/components/card/CardList.vue +78 -0
  690. package/src/components/card/CardListItem.vue +147 -0
  691. package/src/components/card/Title.vue +38 -0
  692. package/src/components/custom-bpmn/CustomContextPad.js +58 -0
  693. package/src/components/custom-bpmn/CustomPalette.js +1 -0
  694. package/src/components/custom-bpmn/CustomRenderer.js +1 -0
  695. package/src/components/custom-bpmn/CustomRendererBpmn.js +84 -0
  696. package/src/components/custom-bpmn/PropertiesView.vue +7879 -0
  697. package/src/components/custom-bpmn/components/AiModel.vue +373 -0
  698. package/src/components/custom-bpmn/components/Api.vue +290 -0
  699. package/src/components/custom-bpmn/components/BatchOperation.vue +145 -0
  700. package/src/components/custom-bpmn/components/Copy.vue +440 -0
  701. package/src/components/custom-bpmn/components/DataTransform.vue +260 -0
  702. package/src/components/custom-bpmn/components/Demo.vue +64 -0
  703. package/src/components/custom-bpmn/components/EditDiv.vue +466 -0
  704. package/src/components/custom-bpmn/components/GenScope.vue +252 -0
  705. package/src/components/custom-bpmn/components/GlobalParamsTree.vue +61 -0
  706. package/src/components/custom-bpmn/components/Knowledges.vue +182 -0
  707. package/src/components/custom-bpmn/components/Login.vue +372 -0
  708. package/src/components/custom-bpmn/components/MessageQueue.vue +167 -0
  709. package/src/components/custom-bpmn/components/MetaSelect.vue +136 -0
  710. package/src/components/custom-bpmn/components/NumStatistic.vue +245 -0
  711. package/src/components/custom-bpmn/components/ObjectTransform.vue +454 -0
  712. package/src/components/custom-bpmn/components/OutPut.vue +412 -0
  713. package/src/components/custom-bpmn/components/ParamsMachining.vue +644 -0
  714. package/src/components/custom-bpmn/components/ParamsOutput.vue +130 -0
  715. package/src/components/custom-bpmn/components/ProcessAudit.vue +443 -0
  716. package/src/components/custom-bpmn/components/SingleMultipleFind.vue +637 -0
  717. package/src/components/custom-bpmn/components/TestDialog.vue +1068 -0
  718. package/src/components/custom-bpmn/img/chaxun.png +0 -0
  719. package/src/components/custom-bpmn/img/fasong.png +0 -0
  720. package/src/components/custom-bpmn/img/gengxin.png +0 -0
  721. package/src/components/custom-bpmn/img/jiagong.png +0 -0
  722. package/src/components/custom-bpmn/img/jiekou.png +0 -0
  723. package/src/components/custom-bpmn/img/shanchu.png +0 -0
  724. package/src/components/custom-bpmn/img/tongbu.png +0 -0
  725. package/src/components/custom-bpmn/img/xinzeng.png +0 -0
  726. package/src/components/custom-bpmn/img/xunhuanend.png +0 -0
  727. package/src/components/custom-bpmn/img/xunhuanstart.png +0 -0
  728. package/src/components/custom-bpmn/img/ywgz.png +0 -0
  729. package/src/components/custom-bpmn/index.js +1 -0
  730. package/src/components/custom-bpmn/palette.js +18 -0
  731. package/src/components/custom-bpmn/util.js +5 -0
  732. package/src/components/dashboard-create.js +17 -0
  733. package/src/components/entity-relation-diagram/Er.vue +360 -0
  734. package/src/components/entity-relation-diagram/renderErNode.js +32 -0
  735. package/src/components/expand/AddForm.vue +91 -0
  736. package/src/components/expand/AddFormItem.vue +150 -0
  737. package/src/components/filter/Filter.vue +739 -0
  738. package/src/components/filter/FilterItem.vue +516 -0
  739. package/src/components/hall/AppCollect.vue +190 -0
  740. package/src/components/hall/AppList.vue +513 -0
  741. package/src/components/hall/AppVisitRecord.vue +171 -0
  742. package/src/components/hall/Banner.vue +21 -0
  743. package/src/components/hall/ServiceCard.vue +204 -0
  744. package/src/components/hall/UserCard.vue +114 -0
  745. package/src/components/permiss/AddApi.vue +119 -0
  746. package/src/components/permiss/AddNoEntityApi.vue +131 -0
  747. package/src/components/permiss/AddSystemPermiss.vue +107 -0
  748. package/src/components/permiss/AllocateRole.vue +107 -0
  749. package/src/components/permiss/ApiSubList.vue +193 -0
  750. package/src/components/permiss/CommonRoleMenu.vue +631 -0
  751. package/src/components/permiss/FieldScope.vue +138 -0
  752. package/src/components/permiss/PermissManage.vue +96 -0
  753. package/src/components/permiss/RoleAppList.vue +52 -0
  754. package/src/components/permiss/RoleMenu.vue +547 -0
  755. package/src/components/permiss/RoleSubList.vue +263 -0
  756. package/src/components/permiss/jurisdiction.vue +425 -0
  757. package/src/components/process-healthcheck/HealthcheckChart.vue +529 -0
  758. package/src/components/process-healthcheck/HealthcheckRenderer.js +41 -0
  759. package/src/components/process-healthcheck/index.js +8 -0
  760. package/src/components/report/Config.vue +1654 -0
  761. package/src/components/report/Design.vue +3528 -0
  762. package/src/components/report/StatList.vue +234 -0
  763. package/src/components/right/EntityOtherSystemList.vue +73 -0
  764. package/src/components/right/SystemInterfaceList.vue +413 -0
  765. package/src/components/right/SystemList.vue +848 -0
  766. package/src/components/upLoad.vue +69 -0
  767. package/src/components/viewport/LookViewList.vue +28 -0
  768. package/src/components/viewport/ViewAddForm.vue +151 -0
  769. package/src/components/viewport/ViewDefineList.vue +53 -0
  770. package/src/components/viewport/ViewFiedList.vue +646 -0
  771. package/src/components/viewport/ViewScope.vue +112 -0
  772. package/src/components/wiki-workbench/WikiCites.vue +234 -0
  773. package/src/components/wiki-workbench/WikiIntake.vue +505 -0
  774. package/src/components/wiki-workbench/WikiJobs.vue +175 -0
  775. package/src/components/wiki-workbench/WikiRevisions.vue +208 -0
  776. package/src/components/wiki-workbench/WikiSpaceSettings.vue +137 -0
  777. package/src/components/wiki-workbench/codes.js +43 -0
  778. package/src/components/wiki-workbench/index.js +15 -0
  779. package/src/index.js +20 -0
  780. package/src/popup.js +86 -0
  781. package/src/public-components.js +8 -0
  782. package/src/remote.entry.js +42 -0
  783. package/src/route-components.js +8 -0
  784. package/src/system.component.index.js +3 -0
  785. package/src/system.component.js +46 -0
  786. package/src/system.component.lazy.js +68 -0
  787. package/src/system.component.visual.js +18 -0
  788. package/src/views/Add.vue +827 -0
  789. package/src/views/AiToolManager.vue +2372 -0
  790. package/src/views/App.vue +53 -0
  791. package/src/views/AppRoleSelect.vue +334 -0
  792. package/src/views/BatchEdit.vue +238 -0
  793. package/src/views/Bpmn.vue +1713 -0
  794. package/src/views/EntityCheckPage.vue +52 -0
  795. package/src/views/EntityDetailPage.vue +79 -0
  796. package/src/views/EntityEditPage.vue +13 -0
  797. package/src/views/EntitySubListPage.vue +44 -0
  798. package/src/views/EntityTreePage.vue +37 -0
  799. package/src/views/Error.vue +63 -0
  800. package/src/views/ExcelDesign.vue +3350 -0
  801. package/src/views/ExcelPreviewPage.vue +590 -0
  802. package/src/views/ExportFilePage.vue +19 -0
  803. package/src/views/ExportPage.vue +19 -0
  804. package/src/views/FormDesign.vue +2301 -0
  805. package/src/views/I18nWorkbench.vue +508 -0
  806. package/src/views/ImportFilePage.vue +19 -0
  807. package/src/views/ImportPage.vue +19 -0
  808. package/src/views/MEntityListPage.vue +83 -0
  809. package/src/views/MEntitySubListPage.vue +44 -0
  810. package/src/views/MinePage.vue +18 -0
  811. package/src/views/Module.vue +210 -0
  812. package/src/views/PageAttributeTreePage.vue +437 -0
  813. package/src/views/PageConfig.vue +259 -0
  814. package/src/views/Permission.vue +695 -0
  815. package/src/views/PersonalInfo.vue +693 -0
  816. package/src/views/QyWechat.vue +69 -0
  817. package/src/views/ReportFormListPage.vue +82 -0
  818. package/src/views/TaskPage.vue +199 -0
  819. package/src/views/WikiBinding.vue +740 -0
  820. package/src/views/client/AddForm.vue +64 -0
  821. package/src/views/client/AppMarket.vue +380 -0
  822. package/src/views/client/ClientIndex.vue +261 -0
  823. package/src/views/client/ClientModuleIndexPage.vue +35 -0
  824. package/src/views/client/CopySystem.vue +179 -0
  825. package/src/views/client/CreateAppFormItem.vue +285 -0
  826. package/src/views/client/CreateMethod.vue +114 -0
  827. package/src/views/client/InstallSystem.vue +295 -0
  828. package/src/views/client/ManageList.vue +178 -0
  829. package/src/views/client/OpenClientManage.vue +54 -0
  830. package/src/views/client/OpenSystemManage.vue +57 -0
  831. package/src/views/client/PageTabsCyclic.vue +121 -0
  832. package/src/views/client/SelfBuiltSystem.vue +497 -0
  833. package/src/views/client/StandardProduct.vue +325 -0
  834. package/src/views/client/SystemAppAccredit.vue +607 -0
  835. package/src/views/client/SystemAppManager.vue +967 -0
  836. package/src/views/client/SystemManager.vue +998 -0
  837. package/src/views/i18n/I18nAiTaskHistoryDialog.vue +173 -0
  838. package/src/views/i18n/I18nPublishDialog.vue +360 -0
  839. package/src/views/i18n/I18nTranslationList.vue +195 -0
  840. package/src/views/i18n/i18n-workbench-text.js +7 -0
  841. package/src/views/layout/CardList.vue +122 -0
  842. package/src/views/layout/Grid.vue +176 -0
  843. package/src/views/match/AddTargetField.vue +136 -0
  844. package/src/views/match/MatchAddFormItem.vue +87 -0
  845. package/src/views/match/conversion.vue +740 -0
  846. package/src/views/match/customize.vue +374 -0
  847. package/src/views/match/fieldMatch.vue +734 -0
  848. package/src/views/report/AddFormItem.vue +66 -0
  849. package/src/views/report/DesignReport.vue +1229 -0
  850. package/src/views/report/ReportTreeFind.vue +195 -0
  851. package/types/dept-find.d.ts +1 -0
  852. package/types/entity-tree-manage.d.ts +1 -0
  853. package/types/excel-preview-page.d.ts +1 -0
  854. package/types/header-nav.d.ts +1 -0
  855. package/types/index.d.ts +14 -0
  856. package/types/page-catalog.d.ts +1 -0
  857. package/types/popup.d.ts +2 -0
  858. package/types/report-form-list-page.d.ts +1 -0
  859. package/types/report-form-list.d.ts +1 -0
  860. package/types/route-components.d.ts +1 -0
  861. package/types/user-find.d.ts +1 -0
@@ -0,0 +1,1217 @@
1
+ <template>
2
+ <div class="container" :class="{'new-window': $route.name==='help'}">
3
+ <div class="docset-header">
4
+ <div class="docset-title">
5
+ <i class="docset-back el-icon-arrow-left" v-if="mode==='edit'" @click="backPage"></i>
6
+ <span class="docset-name">
7
+ <span v-if="!editName">{{docSet.NAME}}</span>
8
+ <el-input v-else v-model="docSet.NAME" size="small" @change="setFormName"></el-input>
9
+ <template v-if="mode==='edit'">
10
+ <i v-if="!editName" class="el-icon-edit-outline" @click="editName=!editName"></i>
11
+ <i v-else class="el-icon-circle-check" @click="setFormName"></i>
12
+ </template>
13
+ </span>
14
+ </div>
15
+ <div class="docset-header__right">
16
+ <el-popover
17
+ v-if="mode!=='edit'"
18
+ width="540"
19
+ trigger="manual"
20
+ v-model:visible="showSearchResult"
21
+ >
22
+ <template v-slot:reference><el-input size="default" suffix-icon="el-icon-search" placeholder="搜索" v-model="searchText"></el-input></template>
23
+ <ul class="search-result__list">
24
+ <li class="search-result__item" v-for="item in searchResultList" :key="item.ID" @click="nodeClick({id: item.ID})">
25
+ <div class="search-result__title" v-html="highlightText(item.NAME)"></div>
26
+ <div class="search-result__content" v-html="highlightText(item.CONTENT)"></div>
27
+ </li>
28
+ </ul>
29
+ </el-popover>
30
+ <div class="docset-extra">
31
+ <span>关联产品:{{ docSet['PRODUCT#'] }}</span>
32
+ <span>{{ `版本号:V${docSet.VERSION}` }}</span>
33
+ </div>
34
+ </div>
35
+ </div>
36
+ <div class="docset-container">
37
+ <div class="catalogue">
38
+ <div class="catalogue-header">
39
+ <span class="catalogue-title">目录</span>
40
+ <i v-if="mode==='edit'" class="el-icon-circle-plus-outline" @click="addDoc(null)"></i>
41
+ </div>
42
+ <div class="catalog-content">
43
+ <el-input
44
+ class="catalog-search"
45
+ suffix-icon="el-icon-search"
46
+ placeholder="输入文档名称进行查询"
47
+ v-model="filterText"
48
+ >
49
+ </el-input>
50
+ <div class="catalog-tree">
51
+ <el-tree
52
+ ref="catalogueTree"
53
+ :data="catalogue"
54
+ :props="treeProps"
55
+ :filter-node-method="filterNode"
56
+ node-key="id"
57
+ :expand-on-click-node="true"
58
+ :auto-expand-parent="false"
59
+ :default-expanded-keys="expandKeys"
60
+ :draggable="true"
61
+ @node-drop="drop"
62
+ @node-expand="expandNode"
63
+ @node-collapse="collapseNode"
64
+ @node-click="nodeClick"
65
+ >
66
+ <template #default="{ node, data }">
67
+ <div class="catalog-item">
68
+ <span>{{ node.label }}</span>
69
+ <div class="catalogue-item__operates" v-if="mode==='edit'">
70
+ <i class="el-icon-circle-plus-outline" @click="addDoc(data.id)"></i>
71
+ <el-dropdown @command="command=>executeDocCommand(command, data)">
72
+ <i class="el-icon-more"></i>
73
+ <template v-slot:dropdown><el-dropdown-menu>
74
+ <el-dropdown-item command="rename">重命名</el-dropdown-item>
75
+ <el-dropdown-item command="remove">删除</el-dropdown-item>
76
+ </el-dropdown-menu></template>
77
+ </el-dropdown>
78
+ </div>
79
+ </div>
80
+ </template>
81
+ </el-tree>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ <div class="doc" v-if="docInfo">
86
+ <div class="doc-header">
87
+ <template v-if="mode==='edit'">
88
+ <div class="docset-title">
89
+ <span class="docset-name">
90
+ <span v-if="!editDocName">{{docInfo.NAME}}</span>
91
+ <el-input v-else v-model="docInfo.NAME" size="small" @change="setDocName"></el-input>
92
+ <i v-if="!editDocName" class="el-icon-edit-outline" @click="editDocName=!editDocName"></i>
93
+ <i v-else class="el-icon-circle-check" @click="setDocName"></i>
94
+ </span>
95
+ <span class="doc-updatetime">修改时间: {{ docInfo.LOG_U_TIME }}</span>
96
+ </div>
97
+ <div>
98
+ <el-button type="primary" size="default" @click="copy({id: docInfo.ID})">复制链接</el-button>
99
+ <el-button type="primary" size="default" @click="preview">预览</el-button>
100
+ </div>
101
+ </template>
102
+ <el-breadcrumb v-else separator="›">
103
+ <el-breadcrumb-item v-for="item in docBreadcrumbList" :key="item.id" @click="viewDoc(item)" :to="{ path: `/help/${client}/${system}/${docSet.NUMBER}/${item.id}` }">{{ item.title }}</el-breadcrumb-item>
104
+ </el-breadcrumb>
105
+ </div>
106
+ <div class="doc-content">
107
+ <div class="doc-catalogue" :class="{'doc-catalogue--fold': catalogueFold}">
108
+ <div class="doc-catalogue__header">
109
+ <span>目录</span>
110
+ <i class="el-icon-s-fold" @click="catalogueFold=!catalogueFold"></i>
111
+ </div>
112
+ <ul class="doc-catalogue__list">
113
+ <li class="doc-catalogue__item" :class="[`indent-level-${item.level}`, {'is-active':activeToc === item.id}]" v-for="(item, index) in tocList" :key="item.id + index" @click="scrollToElement(item)">
114
+ <span>{{ item.title }}</span>
115
+ </li>
116
+ </ul>
117
+ </div>
118
+ <div class="doc-editor" ref="editorContainer">
119
+ <template v-if="mode==='edit'" >
120
+ <textarea ref="editor" class="editor"></textarea>
121
+ </template>
122
+ <template v-else>
123
+ <div class="doc-title">{{ docInfo.NAME }}</div>
124
+ <div class="doc-detail-content" ref="docContainer">
125
+ <div class="doc-detail-html" ref="docContent" v-html="docInfo.CONTENT"></div>
126
+ <div class="doc-navigation">
127
+ <div class="doc-navigation__item doc-navigation__pre">
128
+ <div class="doc-navigation__item-inner" v-if="prevDocName" @click="prevDoc">
129
+ <i class="doc-navigation__icon el-icon-arrow-left"></i>
130
+ <div class="doc-navigation__content">
131
+ <div class="doc-navigation__title">上一页</div>
132
+ <div class="doc-navigation__name">{{ prevDocName }}</div>
133
+ </div>
134
+ </div>
135
+ </div>
136
+ <div class="doc-navigation__item doc-navigation__next" >
137
+ <div class="doc-navigation__item-inner" v-if="nextDocName" @click="nextDoc">
138
+ <div class="doc-navigation__content">
139
+ <div class="doc-navigation__title">下一页</div>
140
+ <div class="doc-navigation__name">{{ nextDocName }}</div>
141
+ </div>
142
+ <i class="doc-navigation__icon el-icon-arrow-right"></i>
143
+ </div>
144
+ </div>
145
+ </div>
146
+ </div>
147
+ </template>
148
+ </div>
149
+ </div>
150
+ </div>
151
+ </div>
152
+ </div>
153
+ </template>
154
+
155
+ <script>
156
+ import { mapState } from 'vuex'
157
+ import component from '@epxing/core/src/mixins/component'
158
+ export default {
159
+ name: 'epx-help-docset',
160
+ mixins: [component],
161
+ data () {
162
+ return {
163
+ mode: 'readonly',
164
+ searchText: '',
165
+ editName: false,
166
+ docSet: {},
167
+ catalogue: [],
168
+ treeProps: {
169
+ children: 'children',
170
+ label: 'text'
171
+ },
172
+ expandKeys: [],
173
+ docInfo: null,
174
+ editDocName: false,
175
+ tocList: [],
176
+ catalogueFold: false,
177
+ activeToc: null,
178
+ docSetMetaCode: 'DOC_SET',
179
+ docMetaCode: 'DOC',
180
+ filterText: '',
181
+ searchResultList: [],
182
+ docList: [],
183
+ currentDocIndex: -1,
184
+ client: '',
185
+ system: ''
186
+ }
187
+ },
188
+ computed: {
189
+ ...mapState({
190
+ showMenu: state => state.config.showMenu,
191
+ showAppNav: state => state.config.showAppNav
192
+ }),
193
+ docBreadcrumbList () {
194
+ if (this.docInfo.ID) {
195
+ const getParentTree = (id, tree) => {
196
+ for (let i = 0; i < tree.length; i++) {
197
+ const item = tree[i]
198
+ if (id === item.id) {
199
+ return [item]
200
+ } else if (item.children && item.children.length > 0) {
201
+ const children = getParentTree(id, item.children ? item.children : [])
202
+ if (children && children.length > 0) return [item, ...children]
203
+ }
204
+ }
205
+ }
206
+ return getParentTree(this.docInfo.ID, this.catalogue)
207
+ }
208
+ return []
209
+ },
210
+ highlightText () {
211
+ return text => {
212
+ const regex = new RegExp(`(${this.searchText})`, 'gi')
213
+ return text?.replace(regex, '<mark>$1</mark>')
214
+ }
215
+ },
216
+ prevDocName () {
217
+ let preIndex = this.currentDocIndex - 1
218
+ while (preIndex >= 0) {
219
+ const pre = this.docList[preIndex]
220
+ if (!pre.empty || pre.leaf) {
221
+ return pre.title
222
+ }
223
+ preIndex--
224
+ }
225
+ return null
226
+ },
227
+ nextDocName () {
228
+ let nextIndex = this.currentDocIndex + 1
229
+ while (nextIndex <= this.docList.length - 1) {
230
+ const next = this.docList[nextIndex]
231
+ if (!next.empty || next.leaf) {
232
+ return next.title
233
+ }
234
+ nextIndex++
235
+ }
236
+ return null
237
+ }
238
+ },
239
+ watch: {
240
+ filterText (val) {
241
+ this.$refs.catalogueTree.filter(val)
242
+ },
243
+ searchText (v) {
244
+ if (v) {
245
+ this.delaySearchDoc()
246
+ } else {
247
+ this.showSearchResult = false
248
+ }
249
+ }
250
+ },
251
+ methods: {
252
+ searchDoc () {
253
+ this.$http.$post({
254
+ action: 'searchDoc',
255
+ entityId: this.docMetaCode,
256
+ setId: this.docSet.ID,
257
+ searchText: this.searchText
258
+ })
259
+ .then(data => {
260
+ this.searchResultList = data.entitys
261
+ if (data.entitys.length === 0) {
262
+ this.showSearchResult = false
263
+ } else {
264
+ this.showSearchResult = true
265
+ }
266
+ })
267
+ },
268
+ filterNode (value, data) {
269
+ if (!value) return true
270
+ return (data.text || data.title).indexOf(value) !== -1
271
+ },
272
+ getDocSet () {
273
+ this.$http.find({
274
+ entityId: this.docSetMetaCode,
275
+ 'scope.SYSTEM': this.SYSTEM,
276
+ 'scope.NUMBER': this.$query.code || this.$query.docset
277
+ })
278
+ .then(data => {
279
+ this.docSet = data.data
280
+ })
281
+ .catch(err => {
282
+ this.$message.error(err.message)
283
+ })
284
+ },
285
+ getCatalogue () {
286
+ this.$http.$post({
287
+ action: 'getTree',
288
+ entityId: this.docMetaCode,
289
+ 'scope.SYSTEM': this.SYSTEM,
290
+ 'scope.DOCSET|NUMBER': this.$query.code || this.$query.docset
291
+ })
292
+ .then(data => {
293
+ this.catalogue = data
294
+ this.docList = this.flattenTree(data) // 将树形结构展平为列表
295
+ if (this.$query.docId) {
296
+ this.viewDoc({ id: this.$query.docId })
297
+ .then(() => {
298
+ this.expandKeys = [...new Set([...this.expandKeys, ...this.docBreadcrumbList.map(item => item.id)])]
299
+ })
300
+ this.$nextTick(() => {
301
+ this.$refs.catalogueTree.setCurrentKey(this.$query.docId)
302
+ })
303
+ } else if (!this.docInfo && this.catalogue.length > 0) {
304
+ this.viewDoc(this.catalogue[0])
305
+ this.$nextTick(() => {
306
+ this.$refs.catalogueTree.setCurrentKey(this.catalogue[0])
307
+ })
308
+ }
309
+ })
310
+ .catch(err => {
311
+ this.$message.error(err.message)
312
+ })
313
+ },
314
+ flattenTree (tree) {
315
+ let result = []
316
+ tree.forEach(node => {
317
+ result.push(node)
318
+ if (node.children && node.children.length > 0) {
319
+ result = result.concat(this.flattenTree(node.children))
320
+ }
321
+ })
322
+ return result
323
+ },
324
+ setFormName () {
325
+ this.$http.update({
326
+ entityId: this.docSetMetaCode,
327
+ bean: {
328
+ ID: this.docSet.ID,
329
+ NAME: this.docSet.NAME
330
+ }
331
+ })
332
+ .then(data => {
333
+ this.docSet = data.data
334
+ })
335
+ .catch(err => {
336
+ this.$message.error(err.message)
337
+ })
338
+ },
339
+ expandNode (node) {
340
+ this.expandKeys = [...new Set([...this.expandKeys, node.id])]
341
+ },
342
+ collapseNode (node) {
343
+ const index = this.expandKeys.findIndex(item => item === node.id)
344
+ if (index !== -1) {
345
+ this.expandKeys.splice(index, 1)
346
+ }
347
+ },
348
+ addDoc (parentId) {
349
+ this.$http.save({
350
+ entityId: this.docMetaCode,
351
+ bean: {
352
+ CLIENT: this.CLIENT,
353
+ SYSTEM: this.SYSTEM,
354
+ DOC_SET: this.docSet.ID,
355
+ NAME: '未命名文档',
356
+ UP: parentId
357
+ }
358
+ })
359
+ .then(data => {
360
+ this.getCatalogue()
361
+ })
362
+ .catch(err => {
363
+ this.$message.error(err.message)
364
+ })
365
+ },
366
+ getTreeModuleNode (modules, parentId) {
367
+ let node = null
368
+ for (let i = 0; i < modules.length; i++) {
369
+ const module = modules[i]
370
+ if ((module.id || module.ID) === parentId) {
371
+ node = module
372
+ return node
373
+ } else if (module.children && module.children.length > 0) {
374
+ node = this.getTreeModuleNode(module.children, parentId)
375
+ }
376
+ if (node) {
377
+ return node
378
+ }
379
+ }
380
+ },
381
+ drop (node, current, type, event) {
382
+ if (this.mode !== 'edit') return
383
+ // 获取当前节点结束后的父节点
384
+ let parentId = ''
385
+ let modules = []
386
+ if (type === 'after' || type === 'before') {
387
+ parentId = current.data.parent || 'root'
388
+ } else if (type === 'inner') {
389
+ parentId = current.data.id || current.data.ID
390
+ }
391
+
392
+ if (parentId === 'root') {
393
+ modules = [...this.catalogue]
394
+ } else {
395
+ const parentNode = this.getTreeModuleNode(this.catalogue, parentId) || { children: [...this.catalogue] }
396
+ modules = [...parentNode.children]
397
+ }
398
+
399
+ // 获取其父节点的所有子节点
400
+ const str = modules.reduce((str, item, index) => (str += (item.id || item.ID) + ':' + index + ','), '')
401
+ // 递归获取id为parentId的节点
402
+ this.$http.$request({
403
+ action: 'moveTree',
404
+ entityId: this.docMetaCode,
405
+ id: node.data.id || node.data.ID,
406
+ selfAttriName: 'ID',
407
+ newParentId: parentId,
408
+ orderString: str,
409
+ orderAtrriName: 'ORDER_NUM'
410
+ })
411
+ .then(data => {
412
+ this.getCatalogue()
413
+ })
414
+ },
415
+ executeDocCommand (command, data) {
416
+ this[command](data)
417
+ },
418
+ rename (data) {
419
+ this.$prompt('请输入文档名称', '提示', {
420
+ confirmButtonText: '确定',
421
+ cancelButtonText: '取消',
422
+ inputPattern: /.+/,
423
+ inputValue: data.text,
424
+ inputErrorMessage: '请输入文档名称'
425
+ }).then(({ value }) => {
426
+ this.$http.update({
427
+ entityId: this.docMetaCode,
428
+ bean: {
429
+ NAME: value,
430
+ ID: data.id
431
+ }
432
+ })
433
+ .then(() => {
434
+ this.getCatalogue()
435
+ if (data.id === this.docInfo.ID) {
436
+ this.getDocInfo(data.id)
437
+ }
438
+ })
439
+ .catch(err => {
440
+ this.$message.error(err.message)
441
+ })
442
+ })
443
+ },
444
+ remove (data) {
445
+ const flattenDeep = (arr) => arr.reduce((acc, item) => [...acc, item.id, ...flattenDeep(item.children || [])], [])
446
+ const ids = flattenDeep([data])
447
+ this.$confirm('该操作会删除此文档和它包含的所有子文档,' + this.$t('Confirm the deletion') + '?')
448
+ .then(() => {
449
+ this.$http.$request({
450
+ action: 'removeMulti',
451
+ entityId: this.docMetaCode,
452
+ ids: ids.join(',')
453
+ })
454
+ .then(data => {
455
+ this.$message.success(this.$t('deleted successfully'))
456
+ this.getCatalogue()
457
+ })
458
+ })
459
+ },
460
+ copy (data) {
461
+ const { client, system } = this.$route.params
462
+
463
+ this.$util.copyToClipboard(`${window.location.origin}${window.location.pathname}#/help/${client}/${system}/${this.docSet.NUMBER}/${data.id}`, () => {
464
+ this.$message.success('复制成功')
465
+ })
466
+ },
467
+ getDocInfo (id) {
468
+ return this.$http.get({
469
+ entityId: this.docMetaCode,
470
+ id: id
471
+ })
472
+ .then(data => {
473
+ this.docInfo = data.data
474
+ return data.data
475
+ })
476
+ .catch(err => {
477
+ this.$message.error(err.message)
478
+ })
479
+ },
480
+ nodeClick (data) {
481
+ if (this.mode !== 'edit') {
482
+ if (data.empty && !data.leaf) {
483
+ const { docId } = this.$route.params
484
+ this.$refs.catalogueTree.setCurrentKey(docId)
485
+ return
486
+ }
487
+ this.$refs.catalogueTree.setCurrentKey(data.id)
488
+ const { client, system } = this.$route.params
489
+ this.$router.push(`/help/${client}/${system}/${this.docSet.NUMBER}/${data.id}`)
490
+ this.saveDocContentDebounce?.cancel()
491
+ } else {
492
+ // 编辑模式下也需要更新左侧树的选中状态
493
+ this.$nextTick(() => {
494
+ this.$refs.catalogueTree.setCurrentKey(data.id)
495
+ })
496
+ }
497
+ this.viewDoc(data)
498
+ .then(() => {
499
+ this.expandKeys = [...new Set([...this.expandKeys, ...this.docBreadcrumbList.map(item => item.id)])]
500
+ })
501
+ },
502
+ viewDoc (data) {
503
+ this.docInfo = null
504
+ this.activeToc = null
505
+ this.showSearchResult = false
506
+ this.currentDocIndex = this.docList.findIndex(doc => doc.id === data.id)
507
+ return this.getDocInfo(data.id)
508
+ .then(data => {
509
+ if (this.mode === 'edit') {
510
+ this.$nextTick(() => {
511
+ this.createEditor()
512
+ })
513
+ } else {
514
+ // 预览模式:等待 DOM 更新后再处理
515
+ this.$nextTick(() => {
516
+ this.$nextTick(() => {
517
+ this.convertDocLinksToRealUrls()
518
+ this.getDocCatalogue()
519
+ this.addEventScrollListener()
520
+ this.bindDocLinkClick()
521
+ })
522
+ })
523
+ }
524
+ })
525
+ },
526
+ prevDoc () {
527
+ if (this.currentDocIndex > 0) {
528
+ this.currentDocIndex--
529
+ this.nodeClick(this.docList[this.currentDocIndex])
530
+ }
531
+ },
532
+ nextDoc () {
533
+ if (this.currentDocIndex < this.docList.length - 1) {
534
+ this.currentDocIndex++
535
+ this.nodeClick(this.docList[this.currentDocIndex])
536
+ }
537
+ },
538
+ imageUploadHandler (blobInfo, succFun) {
539
+ var file = blobInfo.blob()
540
+ return this.$http.save({
541
+ action: 'upload',
542
+ file: file
543
+ }, {
544
+ requestType: 'formData'
545
+
546
+ })
547
+ .then(data => {
548
+ if (data && data.bean) {
549
+ return this.$util.getFileUrl(data.bean, '', false)
550
+ }
551
+ })
552
+ },
553
+ async createEditor () {
554
+ if (!window.tinymce) await this.$util.usePlugin('tinymce')
555
+
556
+ // 加载文档链接插件
557
+ try {
558
+ await this.loadDocLinkPlugin()
559
+ } catch (error) {
560
+ console.error('文档链接插件加载失败:', error)
561
+ }
562
+
563
+ const editorNode = this.$refs.editor
564
+ const fontSizeList = []
565
+ for (let i = 8; i <= 48; i++) {
566
+ fontSizeList.push(i + 'px')
567
+ }
568
+ const filePickerCallback = (callback, value, meta) => {
569
+ const that = this
570
+ const changeFile = function () {
571
+ const file = this.files[0]
572
+ that.$http.save({
573
+ action: 'upload',
574
+ file: file,
575
+ SOURCE: 'page'
576
+ }, {
577
+ requestType: 'formData'
578
+ })
579
+ .then(data => {
580
+ if (data && data.bean) {
581
+ callback(that.$util.getFileUrl(data.bean, '', false), { text: file.name })
582
+ }
583
+ })
584
+ }
585
+ let input = document.createElement('input')
586
+ input.setAttribute('type', 'file')
587
+ input.click()
588
+ input.onchange = changeFile
589
+ input = null
590
+ }
591
+ this.saveDocContentDebounce = this.$_.debounce(this.saveDocContent, 500)
592
+
593
+ window.tinymce.init({
594
+ target: editorNode,
595
+ width: '100%',
596
+ plugins: 'searchreplace autolink directionality visualblocks visualchars fullscreen image link media codesample table charmap hr nonbreaking anchor advlist lists imagetools autosave paste quickbars doclink',
597
+ menubar: '',
598
+ toolbar_mode: 'wrap',
599
+ toolbar: 'doclink undo redo | blocks | bold italic underline strikethrough| alignment outdent indent | font_family lineheight fontsize | forecolor backcolor |numlist bullist|table | image | media | link | fullscreen',
600
+ quickbars_selection_toolbar: 'blocks alignment bold italic strikethrough underline quicklink codesample blockquote',
601
+ contextmenu: 'link image imagetools table spellchecker doclink',
602
+ docTree: this.catalogue,
603
+ currentDocId: this.docInfo.ID,
604
+ onDocLinkClick: (docId, isNewWindow) => {
605
+ if (isNewWindow) {
606
+ const url = `/#/help/${this.client}/${this.system}/${this.docSet.NUMBER}/${docId}`
607
+ window.open(url)
608
+ } else {
609
+ this.nodeClick({ id: docId })
610
+ }
611
+ },
612
+ statusbar: false,
613
+ language: 'zh_CN',
614
+ content_style: 'p {margin: 2px 0}',
615
+ // 允许自定义属性
616
+ extended_valid_elements: 'a[href|target|class|style|data-doc-id|data-doc-name]',
617
+ custom_elements: 'a',
618
+ valid_children: '+a[div|p|span]',
619
+ font_family_formats: 'Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats;宋体=simsun,serif;黑体=SimHei;仿宋=FangSong;华文中宋=STZhongsong;楷体=KaiTi;微软雅黑=Microsoft YaHei',
620
+ fontsize_formats: fontSizeList.join(' '),
621
+ paste_enable_default_filters: false,
622
+ convert_urls: false,
623
+ images_upload_handler: this.imageUploadHandler,
624
+ file_picker_callback: filePickerCallback,
625
+ promotion: false,
626
+ paste_preprocess: async (plugin, args) => {
627
+ if (/^<img src="(data:image.+)" alt="">$/.test(args.content)) {
628
+ const file = this.$util.dataURLtoBlob(RegExp.$1)
629
+ this.$http.save({
630
+ action: 'upload',
631
+ file: file,
632
+ SOURCE: 'page'
633
+ }, {
634
+ requestType: 'formData'
635
+ })
636
+ .then(data => {
637
+ if (data && data.bean) {
638
+ this.editor.execCommand('mceInsertClipboardContent', false, {
639
+ content: '<img src="' + this.$util.getFileUrl(data.bean, '', false) + '" alt="">'
640
+ })
641
+ }
642
+ })
643
+ } else {
644
+ let needFormatImage = false
645
+ const parser = new DOMParser()
646
+ const node = parser.parseFromString(args.content, 'text/html')
647
+ const imgs = node.querySelectorAll('img')
648
+ for (const img of imgs) {
649
+ if (img.src.startsWith('http') && !img.src.includes('/file-server/')) {
650
+ needFormatImage = true
651
+ args.preventDefault()
652
+ // 上传
653
+ await this.$http.save({
654
+ action: 'uploadUrl',
655
+ entityId: this.docMetaCode,
656
+ url: img.src
657
+ })
658
+ .then(data => {
659
+ img.setAttribute('src', window.MINIO_IP + data.slice('1'))
660
+ })
661
+ }
662
+ }
663
+ if (needFormatImage) {
664
+ const html = node.body.innerHTML
665
+ args.target.insertContent(html)
666
+ }
667
+ }
668
+ },
669
+ setup: (ed) => {
670
+ ed.ui.registry.addGroupToolbarButton('alignment', {
671
+ icon: 'align-left',
672
+ tooltip: 'Alignment',
673
+ items: 'alignleft aligncenter alignright | alignjustify'
674
+ })
675
+ ed.on('input change keyup undo redo', () => {
676
+ this.editDocId = this.docInfo.ID
677
+ this.editContent = ed.getContent()
678
+ this.saveDocContentDebounce()
679
+ })
680
+ ed.on('remove', () => {
681
+ ed.off('input change keyup undo redo')
682
+ })
683
+ }
684
+ })
685
+ .then(editors => {
686
+ this.editor = editors[0]
687
+ const value = this.docInfo.CONTENT
688
+ if (value && this.editor) {
689
+ this.editor.setContent(value)
690
+ }
691
+ this.getDocCatalogue()
692
+ this.addEventScrollListener()
693
+ })
694
+ },
695
+ setDocName () {
696
+ this.$http.update({
697
+ entityId: this.docMetaCode,
698
+ bean: {
699
+ ID: this.docInfo.ID,
700
+ NAME: this.docInfo.NAME
701
+ }
702
+ })
703
+ .then(data => {
704
+ this.editDocName = false
705
+ this.getCatalogue()
706
+ this.$message.success('修改成功')
707
+ })
708
+ .catch(err => {
709
+ this.$message.error(err.message)
710
+ })
711
+ },
712
+ addEventScrollListener () {
713
+ if (this.isScrollToc) return
714
+ const scrollEl = this.mode === 'edit' ? this.editor.dom.doc : this.$refs.editorContainer
715
+ scrollEl.addEventListener('scroll', (e) => {
716
+ const element = this.mode === 'edit' ? e.target.documentElement : e.target
717
+ const scrollTop = element.scrollTop
718
+ const sortTocList = [...this.tocList]
719
+ sortTocList.sort((item, nextItem) => {
720
+ return Math.abs(item.element.offsetTop - scrollTop) - Math.abs(nextItem.element.offsetTop - scrollTop)
721
+ })
722
+ this.activeToc = sortTocList[0].id
723
+ })
724
+ },
725
+ getDocCatalogue () {
726
+ let headers = []
727
+ if (this.mode === 'edit') {
728
+ headers = this.editor.dom.select('h1,h2,h3,h4,h5,h6,h7,h8,h9')
729
+ } else {
730
+ // const iframe = this.$refs.iframe.contentWindow
731
+ headers = this.$refs.docContent.querySelectorAll('h1,h2,h3,h4,h5,h6,h7,h8,h9')
732
+ }
733
+ const tocList = []
734
+ for (const element of headers) {
735
+ const id = element.id || this.$util.genId()
736
+ element.id = id
737
+ if (element.innerText) {
738
+ tocList.push({
739
+ id,
740
+ title: element.innerText,
741
+ level: element.tagName.replace('H', ''),
742
+ element: element
743
+ })
744
+ }
745
+ }
746
+ this.tocList = tocList
747
+ if (!this.activeToc && tocList.length > 0) this.activeToc = tocList[0].id
748
+ },
749
+ saveDocContent () {
750
+ const value = this.editor.getContent()
751
+ this.$http.update({
752
+ entityId: this.docMetaCode,
753
+ bean: {
754
+ ID: this.editDocId || this.docInfo.ID,
755
+ CONTENT: this.editContent || value
756
+ }
757
+ })
758
+ .then(data => {
759
+ this.getDocInfo(this.docInfo.ID)
760
+ this.getDocCatalogue()
761
+ })
762
+ },
763
+ scrollToElement (item) {
764
+ this.activeToc = item.id
765
+ this.isScrollToc = true
766
+ item.element.scrollIntoView()
767
+ setTimeout(() => {
768
+ this.isScrollToc = false
769
+ }, 500)
770
+ },
771
+ preview () {
772
+ const { client, system } = this.$route.params
773
+ window.open(`/#/help/${client}/${system}/${this.docSet.NUMBER}/${this.docInfo.ID}`)
774
+ },
775
+ async loadDocLinkPlugin () {
776
+ // 检查插件是否已加载
777
+ if (window.tinymce && window.tinymce.PluginManager.get('doclink')) {
778
+ return Promise.resolve()
779
+ }
780
+
781
+ // 动态加载文档链接插件
782
+ return new Promise((resolve, reject) => {
783
+ const script = document.createElement('script')
784
+ // 静态三方库目录随 util.getStaticJsDir()(平台=assets/js/,产品项目默认 js/),别写死 /js/
785
+ script.src = '/' + this.$util.getStaticJsDir() + 'tinymce/plugins/doclink/plugin.js'
786
+ script.onload = resolve
787
+ script.onerror = (error) => {
788
+ console.error('Failed to load doclink plugin:', error)
789
+ reject(error)
790
+ }
791
+ document.head.appendChild(script)
792
+ })
793
+ },
794
+ bindDocLinkClick () {
795
+ const docLinks = this.$refs.docContent?.querySelectorAll('a.doc-link[data-doc-id]')
796
+
797
+ if (docLinks) {
798
+ docLinks.forEach(link => {
799
+ link.addEventListener('click', (e) => {
800
+ const target = link.getAttribute('target')
801
+ const href = link.getAttribute('href')
802
+
803
+ // 如果是新窗口打开且有有效的 href,使用默认行为
804
+ if (target === '_blank' && href && href !== 'javascript:void(0);') {
805
+ return
806
+ }
807
+
808
+ // 阻止默认行为,使用 Vue 路由跳转
809
+ e.preventDefault()
810
+ const docId = link.getAttribute('data-doc-id')
811
+
812
+ if (docId) {
813
+ this.nodeClick({ id: docId })
814
+ }
815
+ })
816
+ })
817
+ }
818
+ },
819
+ convertDocLinksToRealUrls () {
820
+ const docLinks = this.$refs.docContent?.querySelectorAll('a.doc-link[data-doc-id]')
821
+
822
+ if (docLinks && docLinks.length > 0) {
823
+ const client = this.client || this.$route.params.client
824
+ const system = this.system || this.$route.params.system
825
+ const docSetNumber = this.docSet.NUMBER
826
+
827
+ docLinks.forEach(link => {
828
+ const docId = link.getAttribute('data-doc-id')
829
+ if (docId) {
830
+ const url = `${window.location.origin}${window.location.pathname}#/help/${client}/${system}/${docSetNumber}/${docId}`
831
+ link.setAttribute('href', url)
832
+ }
833
+ })
834
+ }
835
+ }
836
+ },
837
+ mounted () {
838
+ const { client, system } = this.$route.params
839
+ this.client = client
840
+ this.system = system
841
+ this.mode = this.$query.mode
842
+ this.getDocSet()
843
+ this.getCatalogue()
844
+ this.delaySearchDoc = this.$_.debounce(this.searchDoc, 500)
845
+ if (this.showMenu) {
846
+ this.changeMenuFlag = true
847
+ this.$store.commit('SWITCH_MENU_SHOW', false)
848
+ }
849
+ if (this.showAppNav) {
850
+ this.changeAppNavFlag = true
851
+ this.$store.commit('SWITCH_APP_NAV_SHOW', false)
852
+ }
853
+ },
854
+ beforeUnmount () {
855
+ if (this.changeMenuFlag) {
856
+ this.$store.commit('SWITCH_MENU_SHOW', true)
857
+ }
858
+ if (this.changeAppNavFlag) {
859
+ this.$store.commit('SWITCH_APP_NAV_SHOW', true)
860
+ }
861
+ }
862
+ }
863
+ </script>
864
+
865
+ <style lang="scss" scoped>
866
+ .container {
867
+ width: calc(100% + 20px);
868
+ height: calc(100% + 20px);
869
+ margin: -10px;
870
+ &.new-window {
871
+ width: 100%;
872
+ height: 100%;
873
+ margin: 0;
874
+ }
875
+ }
876
+
877
+ .docset-header {
878
+ height: 56px;
879
+ background: var(--epx-bg-card);
880
+ padding: 0 20px;
881
+ display: flex;
882
+ align-items: center;
883
+ justify-content: space-between;
884
+ border-bottom: 1px solid var(--epx-border);
885
+ }
886
+ .docset-title {
887
+ display: flex;
888
+ }
889
+ .docset-header__right {
890
+ display: flex;
891
+ align-items: center;
892
+ }
893
+ .docset-back {
894
+ font-size: var(--epx-font-size-xl);
895
+ cursor: pointer;
896
+ position: relative;
897
+ top: 1px;
898
+ }
899
+
900
+ .docset-name {
901
+ color: var(--epx-text);
902
+ font-size: var(--epx-font-size-l);
903
+ line-height: 1;
904
+ margin: 0 12px 0 6px;
905
+ display: flex;
906
+ align-items: center;
907
+ white-space: nowrap;
908
+ i {
909
+ font-size: 18px;
910
+ color: #444;
911
+ cursor: pointer;
912
+ margin-left: 8px;
913
+ }
914
+ }
915
+ .docset-extra {
916
+ span {
917
+ margin-left: 10px;
918
+ color: var(--epx-text);
919
+ }
920
+ }
921
+ .docset-container {
922
+ height: calc(100% - 56px);
923
+ overflow: hidden;
924
+ display: flex;
925
+ }
926
+ .catalogue {
927
+ width: 300px;
928
+ height: 100%;
929
+ background: #F3F5FA;
930
+ box-shadow: 2px 0px 4px 0px rgba(0,0,0,0.15);
931
+ z-index: 1;
932
+ }
933
+ .catalogue-header {
934
+ height: 50px;
935
+ border-bottom: 1px solid var(--epx-border);
936
+ display: flex;
937
+ justify-content: space-between;
938
+ align-items: center;
939
+ padding: 0 16px;
940
+ font-size: var(--epx-font-size-l);
941
+ >i {
942
+ cursor: pointer;
943
+ @include font_color_primary
944
+ }
945
+ }
946
+ .catalog-content {
947
+ height: calc(100% - 50px);
948
+ }
949
+ .catalog-search {
950
+ margin: 10px;
951
+ width: calc(100% - 20px);
952
+ }
953
+ .catalog-tree {
954
+ height: calc(100% - 60px);
955
+ overflow: auto;
956
+
957
+ :deep(.el-tree) {
958
+ background: none;
959
+ }
960
+ :deep(.el-tree-node) {
961
+ &.is-current {
962
+ >.el-tree-node__content{
963
+ @include bg_color_primary(.2);
964
+ @include font_color_primary;
965
+ }
966
+ }
967
+ }
968
+ :deep(.el-tree-node__content) {
969
+ height: 40px;
970
+ }
971
+ :deep(.el-tree-node__expand-icon) {
972
+ color: var(--epx-text);
973
+ &.is-leaf {
974
+ color: transparent;
975
+ }
976
+ }
977
+
978
+ }
979
+
980
+ .catalog-item {
981
+ flex: 1;
982
+ height: 40px;
983
+ display: flex;
984
+ justify-content: space-between;
985
+ align-items: center;
986
+ padding-right: 16px;
987
+ &:hover {
988
+ .catalogue-item__operates {
989
+ display: block;
990
+ }
991
+ }
992
+ }
993
+ .catalogue-item__operates {
994
+ display: none;
995
+ i {
996
+ color: #444;
997
+ margin-left: 8px;
998
+ &:hover {
999
+ @include font_color_primary;
1000
+ }
1001
+ }
1002
+ }
1003
+ .doc {
1004
+ flex: 1;
1005
+ background: var(--epx-bg-card);
1006
+ }
1007
+ .doc-header {
1008
+ height: 50px;
1009
+ background: var(--epx-bg-card);
1010
+ padding: 0 20px;
1011
+ display: flex;
1012
+ justify-content: space-between;
1013
+ align-items: center;
1014
+ border-bottom: 1px solid var(--epx-border);
1015
+ }
1016
+ .doc-updatetime {
1017
+ color: var(--epx-text);
1018
+ padding-left: 8px;
1019
+ border-left: 1px solid var(--epx-border);
1020
+ }
1021
+
1022
+ .doc-content {
1023
+ height: calc(100% - 50px);
1024
+ display: flex;
1025
+ flex-direction: row-reverse;
1026
+ }
1027
+ .doc-catalogue {
1028
+ width: 180px;
1029
+ margin: 20px;
1030
+ position: sticky;
1031
+ height: calc(100% - 40px);
1032
+ }
1033
+ .doc-catalogue--fold {
1034
+ width: 20px;
1035
+ .doc-catalogue__header {
1036
+ border: 0;
1037
+ >span {
1038
+ display: none;
1039
+ }
1040
+ i {
1041
+ transform: rotateZ(180deg);
1042
+ }
1043
+ }
1044
+ .doc-catalogue__list {
1045
+ width: 0;
1046
+ overflow: hidden;
1047
+ }
1048
+ }
1049
+ .doc-catalogue__header {
1050
+ height: 40px;
1051
+ display: flex;
1052
+ justify-content: space-between;
1053
+ align-items: center;
1054
+ font-size: var(--epx-font-size-l);
1055
+ border-bottom: 1px solid var(--epx-border);
1056
+ >i {
1057
+ cursor: pointer;
1058
+ &:hover {
1059
+ @include font_color_primary
1060
+ }
1061
+ }
1062
+ }
1063
+ .doc-catalogue__list {
1064
+ height: calc(100% - 40px);
1065
+ overflow: auto;
1066
+ }
1067
+ .doc-catalogue__item {
1068
+ color: #444;
1069
+ line-height: 20px;
1070
+ margin: 10px 0;
1071
+ cursor: pointer;
1072
+ white-space: nowrap;
1073
+ overflow: hidden;
1074
+ text-overflow: ellipsis;
1075
+ &:hover, &.is-active {
1076
+ @include font_color_primary;
1077
+ }
1078
+ @for $i from 2 to 10 {
1079
+ &.indent-level-#{$i} {
1080
+ padding-left: 10px * ($i - 1);
1081
+ }
1082
+ }
1083
+ }
1084
+ .doc-editor {
1085
+ max-width: 1100px;
1086
+ min-width: 700px;
1087
+ width: calc(100% - 200px);
1088
+ margin: 0 auto;
1089
+ height: 100%;
1090
+ padding: 20px;
1091
+ box-sizing: border-box;
1092
+ overflow: auto;
1093
+ word-break: break-all;
1094
+ .editor {
1095
+ height: 100%;
1096
+ display: block;
1097
+ }
1098
+ }
1099
+ .doc-title {
1100
+ font-size: 32px;
1101
+ font-weight: bold;
1102
+ margin-bottom: 20px;
1103
+ }
1104
+ .doc-detail-content {
1105
+ height: calc(100% - 68px);
1106
+ font-size: var(--epx-font-size-l);
1107
+
1108
+ :deep(iframe) {
1109
+ width: 100%;
1110
+ height: 100%;
1111
+ border:0;
1112
+ }
1113
+
1114
+ }
1115
+ .search-result__list {
1116
+ max-height: 600px;
1117
+ overflow:auto;
1118
+ }
1119
+ .search-result__item {
1120
+ padding: 10px;
1121
+ cursor: pointer;
1122
+ border-radius: var(--epx-radius-base);
1123
+ &:hover {
1124
+ @include bg_color_primary(.1);
1125
+ }
1126
+ }
1127
+ .search-result__title {
1128
+ font-weight: bold;
1129
+ font-size: var(--epx-font-size-l);
1130
+ margin-bottom: 6px;
1131
+ color: var(--epx-text);
1132
+ }
1133
+ .search-result__content {
1134
+ line-height: 20px;
1135
+ max-height: 40px;
1136
+ display: -webkit-box;
1137
+ -webkit-box-orient: vertical;
1138
+ -webkit-line-clamp: 2;
1139
+ overflow: hidden;
1140
+ text-overflow: ellipsis;
1141
+ }
1142
+ .doc-navigation {
1143
+ display: flex;
1144
+ margin: 0 -10px;
1145
+ padding: 20px 0;
1146
+ }
1147
+ .doc-navigation__item {
1148
+ flex: 1;
1149
+ margin: 0 10px;
1150
+ }
1151
+ .doc-navigation__item-inner {
1152
+ height: 70px;
1153
+ background: var(--epx-bg);
1154
+ border-radius: var(--epx-radius-base);
1155
+ display: flex;
1156
+ align-items: center;
1157
+ padding: 0 10px;
1158
+ font-size: var(--epx-font-size-base);
1159
+ color: #444444;
1160
+ line-height: 22px;
1161
+ cursor: pointer;
1162
+ i{
1163
+ font-size: var(--epx-font-size-l);
1164
+ margin-right: 10px;
1165
+ }
1166
+ &:hover {
1167
+ @include bg_color_primary(.1);
1168
+ @include border_color_primary(.5);
1169
+ }
1170
+ }
1171
+ .doc-navigation__name {
1172
+ margin-top: 4px;
1173
+ @include font_color_primary;
1174
+ font-weight: bold;
1175
+ }
1176
+ .doc-navigation__next {
1177
+ .doc-navigation__item-inner {
1178
+ text-align: right;
1179
+ justify-content: flex-end;
1180
+ margin-right: 0;
1181
+ i {
1182
+ margin-left: 10px;
1183
+ }
1184
+ }
1185
+ }
1186
+ .doc-detail-html {
1187
+ white-space: word-break;
1188
+ max-width: 100%;
1189
+
1190
+ :deep(h1),
1191
+ :deep(h2),
1192
+ :deep(h3),
1193
+ :deep(h4),
1194
+ :deep(h5),
1195
+ :deep(h6),
1196
+ :deep(ul),
1197
+ :deep(ol),
1198
+ :deep(p) {
1199
+ margin-block-start: 1em;
1200
+ margin-block-end: 1em;
1201
+ }
1202
+
1203
+ :deep(ul) {
1204
+ padding-inline-start: 40px;
1205
+ li {
1206
+ list-style-type:disc;
1207
+ }
1208
+ }
1209
+ :deep(ol) {
1210
+ padding-inline-start: 40px;
1211
+ li {
1212
+ list-style-type:decimal;
1213
+ }
1214
+ }
1215
+
1216
+ }
1217
+ </style>