@epxing/business 5.3.0-beta.1 → 5.3.0-beta.3

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 (404) hide show
  1. package/API.md +11 -6
  2. package/README.md +44 -43
  3. package/dist/src/base/AiPromptDesigner.js +1 -0
  4. package/dist/src/base/AiPromptView.js +1 -0
  5. package/dist/src/base/AiSkillEditor.js +2 -1
  6. package/dist/src/base/AiSkillEditor.vue.js +2 -0
  7. package/dist/src/base/AppConfigFormItem.js +2 -3
  8. package/dist/src/base/AppConfigFormItem.vue.js +210 -85
  9. package/dist/src/base/AppMarket.js +1 -0
  10. package/dist/src/base/AppMarketList.js +1 -0
  11. package/dist/src/base/AppMarketSystemDetail.js +1 -0
  12. package/dist/src/base/AttributeSubAdd.js +1 -0
  13. package/dist/src/base/ChooseApplication.js +1 -0
  14. package/dist/src/base/ClientAppItem.js +1 -0
  15. package/dist/src/base/ClientApplication.js +1 -0
  16. package/dist/src/base/ClientApplicationList.js +1 -0
  17. package/dist/src/base/ClientModule.js +1 -0
  18. package/dist/src/base/ClientModuleIndex.js +1 -0
  19. package/dist/src/base/ClientSystemDetail.js +1 -0
  20. package/dist/src/base/ClientSystemList.js +1 -0
  21. package/dist/src/base/CommonFieldList.js +2 -1
  22. package/dist/src/base/CommonFieldList.vue.js +2 -1
  23. package/dist/src/base/CommonSearchList.js +1 -0
  24. package/dist/src/base/CompayDetail.js +1 -0
  25. package/dist/src/base/ComponentGlobalSet.js +1 -0
  26. package/dist/src/base/ComponentParamsTree.js +1 -0
  27. package/dist/src/base/ConfigModuleIndex.js +39 -1
  28. package/dist/src/base/CurrentClientApplication.js +1 -0
  29. package/dist/src/base/CurrentVersionInfo.js +1 -0
  30. package/dist/src/base/EntityMatchCompare.js +1 -0
  31. package/dist/src/base/FieldRelationFormItem.js +1 -0
  32. package/dist/src/base/HelpDocSet.js +1 -0
  33. package/dist/src/base/IndexFormItem.js +1 -0
  34. package/dist/src/base/JobFormItem.js +1 -0
  35. package/dist/src/base/ManageAppNav.js +2 -1
  36. package/dist/src/base/ManageMenu.js +2 -1
  37. package/dist/src/base/ManageMenuItem.js +1 -0
  38. package/dist/src/base/NoInstallSystemList.js +1 -0
  39. package/dist/src/base/PageList.js +1 -0
  40. package/dist/src/base/PasswordFormItem.js +1 -0
  41. package/dist/src/base/ProcessFormItem.js +1 -0
  42. package/dist/src/base/PublishSystemApplyFormItem.js +1 -0
  43. package/dist/src/base/RequestLog.js +1 -0
  44. package/dist/src/base/RightRiskList.js +1 -0
  45. package/dist/src/base/RoleAccredit.js +1 -0
  46. package/dist/src/base/RoleBindTrace.js +253 -0
  47. package/dist/src/base/RoleGroupManage.js +1037 -0
  48. package/dist/src/base/RoleRightList.js +1 -0
  49. package/dist/src/base/RoleUserManage.js +1 -0
  50. package/dist/src/base/ServiceAccredit.js +1 -0
  51. package/dist/src/base/ServiceMenu.js +8 -6
  52. package/dist/src/base/ServiceMenuFormItem.js +1 -0
  53. package/dist/src/base/ServiceOperate.js +1 -0
  54. package/dist/src/base/SystemHelpTreeFind.js +1 -0
  55. package/dist/src/base/aiPromptMode.js +1 -0
  56. package/dist/src/base/data-check/DataChckDetail.js +1 -0
  57. package/dist/src/base/data-check/DataCheck.js +1 -0
  58. package/dist/src/base/data-check/DataCheckList.js +1 -0
  59. package/dist/src/base/data-check/DataCheckSubList.js +1 -0
  60. package/dist/src/base/entity-view/EntityViewFormItem.js +1 -0
  61. package/dist/src/base/entity-view/EntityViewSubList.js +1 -0
  62. package/dist/src/base/entity-view-config/BasicInfoDialog.js +1 -0
  63. package/dist/src/base/entity-view-config/FieldPanel.js +1 -0
  64. package/dist/src/base/entity-view-config/FieldPropForm.js +1 -0
  65. package/dist/src/base/entity-view-config/FormulaDialog.js +1 -0
  66. package/dist/src/base/entity-view-config/ObjectFieldDialog.js +1 -0
  67. package/dist/src/base/entity-view-config/RelationPanel.js +1 -0
  68. package/dist/src/base/entity-view-config/SourceManagerDialog.js +1 -0
  69. package/dist/src/base/entity-view-config/SqlPanel.js +1 -0
  70. package/dist/src/base/entity-view-config/UnionPanel.js +1 -0
  71. package/dist/src/base/entity-view-config/ViewConfig.js +1 -0
  72. package/dist/src/base/entity-view-config/constants.js +1 -0
  73. package/dist/src/base/user-type/UserTypeFormItem.js +1 -0
  74. package/dist/src/components/AddPageFormItem.js +1 -0
  75. package/dist/src/components/AddUsedInterface.js +1 -0
  76. package/dist/src/components/AiDocFormItem.js +1 -0
  77. package/dist/src/components/AiList.js +1279 -3
  78. package/dist/src/components/AiPermissionAssistant.js +1 -0
  79. package/dist/src/components/AppList.js +1 -0
  80. package/dist/src/components/Apply/AIApplyIndex.js +1 -0
  81. package/dist/src/components/Apply/ApplyIndex.js +1 -0
  82. package/dist/src/components/AttributeList.js +1 -0
  83. package/dist/src/components/Banner.js +1 -0
  84. package/dist/src/components/BatchAddFieldDialog.js +1 -0
  85. package/dist/src/components/CardO.js +1 -0
  86. package/dist/src/components/CheckForm.js +1 -0
  87. package/dist/src/components/ClientAdminFormItem.js +1 -0
  88. package/dist/src/components/ClientAdminList.js +1 -0
  89. package/dist/src/components/ClientFormItem.js +1 -0
  90. package/dist/src/components/ClientList.js +1 -0
  91. package/dist/src/components/CodeDetail.js +1 -0
  92. package/dist/src/components/CodeManage.js +1 -0
  93. package/dist/src/components/ComponentFind.js +1 -0
  94. package/dist/src/components/ComponentList.js +1 -0
  95. package/dist/src/components/ConfigParamFormItem.js +1 -0
  96. package/dist/src/components/CreatePage.js +1 -0
  97. package/dist/src/components/DashboardCreate.js +1 -0
  98. package/dist/src/components/DataLog.js +1 -0
  99. package/dist/src/components/DataLogTimeline.js +1 -0
  100. package/dist/src/components/DataSnapshot.js +1 -0
  101. package/dist/src/components/DataSnapshotList.js +1 -0
  102. package/dist/src/components/DataSyncInit.js +1 -0
  103. package/dist/src/components/DblogList.js +1 -0
  104. package/dist/src/components/DeptFind.js +1 -0
  105. package/dist/src/components/DynamicUserList.js +1 -0
  106. package/dist/src/components/EntityCheckboxFind.js +1 -0
  107. package/dist/src/components/EntityCheckboxFind.vue.js +14 -10
  108. package/dist/src/components/EntityRelationAdd.js +1 -0
  109. package/dist/src/components/EntityRelationAddFormItem.js +1 -0
  110. package/dist/src/components/EntityRightFormItem.js +2 -5
  111. package/dist/src/components/EntityRightFormItem.vue.js +3 -1
  112. package/dist/src/components/EntityRightSubList.js +1 -0
  113. package/dist/src/components/EntitySystemEr.js +492 -0
  114. package/dist/src/components/EntityTagSubList.js +1 -0
  115. package/dist/src/components/EntityTreeManage.js +1 -0
  116. package/dist/src/components/ExportSystemConfig.js +1 -0
  117. package/dist/src/components/FieldTreeFind.js +1 -0
  118. package/dist/src/components/FormulaEditor.js +1 -0
  119. package/dist/src/components/GenTestData.js +1 -0
  120. package/dist/src/components/HallNav.js +1 -0
  121. package/dist/src/components/HallNav.vue.js +7 -36
  122. package/dist/src/components/HeaderNav.js +1 -0
  123. package/dist/src/components/IconCard.js +1 -0
  124. package/dist/src/components/IconFontLibrary.js +23 -1
  125. package/dist/src/components/IconFontList.js +22 -1
  126. package/dist/src/components/IdentifyList.js +1 -0
  127. package/dist/src/components/ImportSystemConfig.js +1 -0
  128. package/dist/src/components/InterfaceSubList.js +1 -0
  129. package/dist/src/components/JsPanel.js +1 -0
  130. package/dist/src/components/LanguageImportPage.js +1 -0
  131. package/dist/src/components/LanguageSetting.js +1 -0
  132. package/dist/src/components/List/LinkItem.js +1 -0
  133. package/dist/src/components/List/List.js +1 -0
  134. package/dist/src/components/List/ListItem.js +1 -0
  135. package/dist/src/components/MenuTreeFind.js +1 -0
  136. package/dist/src/components/MessageList.js +1 -0
  137. package/dist/src/components/MessageRuleFormItem.js +1 -0
  138. package/dist/src/components/MessageRuleReceiverFormItem.js +1 -0
  139. package/dist/src/components/MessageTemplate.js +1 -0
  140. package/dist/src/components/MetaList.js +1 -0
  141. package/dist/src/components/Nav.js +1 -0
  142. package/dist/src/components/NavFormCatalogItem.js +1 -0
  143. package/dist/src/components/NumList.js +1 -0
  144. package/dist/src/components/OperateLog.js +1 -0
  145. package/dist/src/components/PageCatalog.js +1 -0
  146. package/dist/src/components/PageChart.js +1 -0
  147. package/dist/src/components/PageSwipes.js +1 -0
  148. package/dist/src/components/PersonFormItem.js +1 -0
  149. package/dist/src/components/Popup.js +1 -0
  150. package/dist/src/components/PrintFormList.js +3 -1
  151. package/dist/src/components/PrintFormList.vue.js +3 -1
  152. package/dist/src/components/PublishEntity.js +1 -0
  153. package/dist/src/components/RelyFieldTreeFind.js +1 -0
  154. package/dist/src/components/ReportFormList.js +1 -0
  155. package/dist/src/components/ReportList.js +1 -0
  156. package/dist/src/components/RightSubList.js +1 -0
  157. package/dist/src/components/RoleAddUser.js +1 -0
  158. package/dist/src/components/RoleApplicationCard.js +1 -0
  159. package/dist/src/components/RoleApplicationList.js +1 -0
  160. package/dist/src/components/RoleApplicationSet.js +1 -0
  161. package/dist/src/components/Search.js +1 -0
  162. package/dist/src/components/ServiceFormItem.js +1 -0
  163. package/dist/src/components/SnapshotDataList.js +1 -0
  164. package/dist/src/components/SystemAdminList.js +1 -0
  165. package/dist/src/components/SystemFormItem.js +1 -0
  166. package/dist/src/components/SystemNav.js +1 -0
  167. package/dist/src/components/TaskNumCard.js +1 -0
  168. package/dist/src/components/TimerRuleFormItem.js +1 -0
  169. package/dist/src/components/TodoList.js +1 -0
  170. package/dist/src/components/UpdateSystemConfig.js +1 -0
  171. package/dist/src/components/UserCard.js +1 -0
  172. package/dist/src/components/UserFind.js +1 -0
  173. package/dist/src/components/UserFormItem.js +1 -0
  174. package/dist/src/components/UserList.js +1 -0
  175. package/dist/src/components/UserManage.js +1 -0
  176. package/dist/src/components/UserRoleList.js +1 -0
  177. package/dist/src/components/ValidateRuleFormItem.js +1 -0
  178. package/dist/src/components/ViewFieldDefine.js +1 -0
  179. package/dist/src/components/WikiSpaceList.js +1 -0
  180. package/dist/src/components/WikiWorkbench.js +154 -129
  181. package/dist/src/components/authorization/AddApiPermiss.js +1 -0
  182. package/dist/src/components/authorization/AddAuthorization.js +1 -0
  183. package/dist/src/components/authorization/AddEntityFind.js +1 -0
  184. package/dist/src/components/authorization/AddNoApi.js +1 -0
  185. package/dist/src/components/authorization/AddRoleScope.js +1 -0
  186. package/dist/src/components/authorization/AiRolePlan.js +1 -0
  187. package/dist/src/components/authorization/ApiShareOtherList.js +1 -0
  188. package/dist/src/components/authorization/ApiSystemList.js +1 -0
  189. package/dist/src/components/authorization/AuthorizationInterface.js +4 -1
  190. package/dist/src/components/authorization/AuthorizationRoleSystem.js +1 -0
  191. package/dist/src/components/authorization/EntityConstraintFormItem.js +1 -0
  192. package/dist/src/components/authorization/OtherShareApiList.js +1 -0
  193. package/dist/src/components/authorization/PermissCommonRoleTabs.js +1 -0
  194. package/dist/src/components/authorization/PermissRoleAuthorization.js +1 -0
  195. package/dist/src/components/authorization/PermissRoleTabs.js +1 -0
  196. package/dist/src/components/authorization/RoleLevel.js +1 -0
  197. package/dist/src/components/authorization/RoleLevelScope.js +1 -0
  198. package/dist/src/components/authorization/SystemAddNoApi.js +1 -0
  199. package/dist/src/components/card/CardList.js +1 -0
  200. package/dist/src/components/card/CardListItem.js +1 -0
  201. package/dist/src/components/card/Title.js +1 -0
  202. package/dist/src/components/custom-bpmn/CustomContextPad.js +1 -0
  203. package/dist/src/components/custom-bpmn/CustomPalette.js +1 -0
  204. package/dist/src/components/custom-bpmn/CustomRenderer.js +1 -0
  205. package/dist/src/components/custom-bpmn/CustomRendererBpmn.js +1 -0
  206. package/dist/src/components/custom-bpmn/PropertiesView.js +1992 -1942
  207. package/dist/src/components/custom-bpmn/components/AiModel.js +1 -0
  208. package/dist/src/components/custom-bpmn/components/Api.js +1 -0
  209. package/dist/src/components/custom-bpmn/components/BatchOperation.js +1 -0
  210. package/dist/src/components/custom-bpmn/components/Copy.js +1 -0
  211. package/dist/src/components/custom-bpmn/components/DataTransform.js +1 -0
  212. package/dist/src/components/custom-bpmn/components/Demo.js +1 -0
  213. package/dist/src/components/custom-bpmn/components/EditDiv.js +1 -0
  214. package/dist/src/components/custom-bpmn/components/GenScope.js +1 -0
  215. package/dist/src/components/custom-bpmn/components/GlobalParamsTree.js +1 -0
  216. package/dist/src/components/custom-bpmn/components/Knowledges.js +1 -0
  217. package/dist/src/components/custom-bpmn/components/Login.js +1 -0
  218. package/dist/src/components/custom-bpmn/components/MessageQueue.js +1 -0
  219. package/dist/src/components/custom-bpmn/components/MetaSelect.js +1 -0
  220. package/dist/src/components/custom-bpmn/components/NumStatistic.js +1 -0
  221. package/dist/src/components/custom-bpmn/components/ObjectTransform.js +1 -0
  222. package/dist/src/components/custom-bpmn/components/OutPut.js +1 -0
  223. package/dist/src/components/custom-bpmn/components/ParamsMachining.js +1 -0
  224. package/dist/src/components/custom-bpmn/components/ParamsOutput.js +1 -0
  225. package/dist/src/components/custom-bpmn/components/ProcessAudit.js +1 -0
  226. package/dist/src/components/custom-bpmn/components/SingleMultipleFind.js +1 -0
  227. package/dist/src/components/custom-bpmn/components/TestDialog.js +1 -0
  228. package/dist/src/components/custom-bpmn/index.js +1 -0
  229. package/dist/src/components/custom-bpmn/palette.js +1 -0
  230. package/dist/src/components/custom-bpmn/util.js +1 -0
  231. package/dist/src/components/dashboard-create.js +1 -0
  232. package/dist/src/components/entity-relation-diagram/Er.js +1 -0
  233. package/dist/src/components/entity-relation-diagram/renderErNode.js +1 -0
  234. package/dist/src/components/expand/AddForm.js +1 -0
  235. package/dist/src/components/expand/AddFormItem.js +1 -0
  236. package/dist/src/components/filter/Filter.js +1 -0
  237. package/dist/src/components/filter/FilterItem.js +1 -0
  238. package/dist/src/components/hall/AppCollect.js +1 -0
  239. package/dist/src/components/hall/AppList.js +1 -0
  240. package/dist/src/components/hall/AppVisitRecord.js +1 -0
  241. package/dist/src/components/hall/Banner.js +1 -0
  242. package/dist/src/components/hall/ServiceCard.js +1 -0
  243. package/dist/src/components/hall/UserCard.js +1 -0
  244. package/dist/src/components/icon-gallery/IconGallery.js +193 -0
  245. package/dist/src/components/icon-gallery/mixin.js +150 -0
  246. package/dist/src/components/permiss/AddApi.js +1 -0
  247. package/dist/src/components/permiss/AddNoEntityApi.js +1 -0
  248. package/dist/src/components/permiss/AddSystemPermiss.js +1 -0
  249. package/dist/src/components/permiss/AllocateRole.js +1 -0
  250. package/dist/src/components/permiss/ApiSubList.js +1 -0
  251. package/dist/src/components/permiss/CommonRoleMenu.js +1 -0
  252. package/dist/src/components/permiss/FieldScope.js +1 -0
  253. package/dist/src/components/permiss/PermissManage.js +1 -0
  254. package/dist/src/components/permiss/RoleAppList.js +1 -0
  255. package/dist/src/components/permiss/RoleMenu.js +1 -0
  256. package/dist/src/components/permiss/RoleSubList.js +1 -0
  257. package/dist/src/components/permiss/jurisdiction.js +1 -0
  258. package/dist/src/components/process-healthcheck/HealthcheckChart.js +1 -0
  259. package/dist/src/components/process-healthcheck/HealthcheckRenderer.js +1 -0
  260. package/dist/src/components/process-healthcheck/index.js +1 -0
  261. package/dist/src/components/report/Config.js +1 -0
  262. package/dist/src/components/report/Design.js +1 -0
  263. package/dist/src/components/report/StatList.js +1 -0
  264. package/dist/src/components/right/EntityOtherSystemList.js +1 -0
  265. package/dist/src/components/right/SystemInterfaceList.js +1 -0
  266. package/dist/src/components/right/SystemList.js +1 -0
  267. package/dist/src/components/upLoad.js +1 -0
  268. package/dist/src/components/viewport/LookViewList.js +1 -0
  269. package/dist/src/components/viewport/ViewAddForm.js +1 -0
  270. package/dist/src/components/viewport/ViewDefineList.js +1 -0
  271. package/dist/src/components/viewport/ViewFiedList.js +1 -0
  272. package/dist/src/components/viewport/ViewScope.js +1 -0
  273. package/dist/src/components/wiki-workbench/WikiCites.js +1 -0
  274. package/dist/src/components/wiki-workbench/WikiIntake.js +87 -93
  275. package/dist/src/components/wiki-workbench/WikiIntake.vue.js +153 -73
  276. package/dist/src/components/wiki-workbench/WikiJobs.js +1 -0
  277. package/dist/src/components/wiki-workbench/WikiRevisions.js +1 -0
  278. package/dist/src/components/wiki-workbench/WikiSpaceSettings.js +1 -0
  279. package/dist/src/components/wiki-workbench/codes.js +1 -0
  280. package/dist/src/components/wiki-workbench/index.js +1 -0
  281. package/dist/src/index.js +27 -20
  282. package/dist/src/popup.js +1 -0
  283. package/dist/src/public-components.js +17 -14
  284. package/dist/src/remote.entry.js +1 -0
  285. package/dist/src/route-components.js +6 -5
  286. package/dist/src/system.component.index.js +2 -1
  287. package/dist/src/system.component.js +9 -3
  288. package/dist/src/system.component.lazy.js +2 -1
  289. package/dist/src/views/Add.js +2 -1
  290. package/dist/src/views/Add.vue.js +8 -3
  291. package/dist/src/views/AiToolManager.js +793 -317
  292. package/dist/src/views/App.js +4 -45
  293. package/dist/src/views/AppRoleSelect.js +4 -230
  294. package/dist/src/views/BatchEdit.js +1 -0
  295. package/dist/src/views/Bpmn.js +1 -0
  296. package/dist/src/views/EntityCheckPage.js +1 -0
  297. package/dist/src/views/EntityDetailPage.js +1 -0
  298. package/dist/src/views/EntityEditPage.js +1 -0
  299. package/dist/src/views/EntitySubListPage.js +1 -0
  300. package/dist/src/views/EntityTreePage.js +1 -0
  301. package/dist/src/views/Error.js +4 -207
  302. package/dist/src/views/ExcelDesign.js +327 -316
  303. package/dist/src/views/ExcelPreviewPage.js +1 -0
  304. package/dist/src/views/ExportFilePage.js +1 -0
  305. package/dist/src/views/ExportPage.js +1 -0
  306. package/dist/src/views/FormDesign.js +1 -0
  307. package/dist/src/views/I18nWorkbench.js +1 -0
  308. package/dist/src/views/ImportFilePage.js +1 -0
  309. package/dist/src/views/ImportPage.js +1 -0
  310. package/dist/src/views/JvmMemoryMonitor.js +463 -0
  311. package/dist/src/views/MEntityListPage.js +1 -0
  312. package/dist/src/views/MEntitySubListPage.js +1 -0
  313. package/dist/src/views/MinePage.js +1 -0
  314. package/dist/src/views/Module.js +4 -170
  315. package/dist/src/views/PageAttributeTreePage.js +1 -0
  316. package/dist/src/views/PageConfig.js +1 -0
  317. package/dist/src/views/Permission.js +1 -0
  318. package/dist/src/views/PersonalInfo.js +1 -0
  319. package/dist/src/views/QyWechat.js +1 -0
  320. package/dist/src/views/ReportFormListPage.js +1 -0
  321. package/dist/src/views/TaskPage.js +1 -0
  322. package/dist/src/views/WikiBinding.js +89 -25
  323. package/dist/src/views/client/AddForm.js +1 -0
  324. package/dist/src/views/client/AppMarket.js +1 -0
  325. package/dist/src/views/client/ClientIndex.js +1 -0
  326. package/dist/src/views/client/ClientModuleIndexPage.js +1 -0
  327. package/dist/src/views/client/CopySystem.js +1 -0
  328. package/dist/src/views/client/CreateAppFormItem.js +1 -0
  329. package/dist/src/views/client/CreateMethod.js +1 -0
  330. package/dist/src/views/client/InstallSystem.js +1 -0
  331. package/dist/src/views/client/ManageList.js +1 -0
  332. package/dist/src/views/client/OpenClientManage.js +1 -0
  333. package/dist/src/views/client/OpenSystemManage.js +1 -0
  334. package/dist/src/views/client/PageTabsCyclic.js +1 -0
  335. package/dist/src/views/client/SelfBuiltSystem.js +1 -0
  336. package/dist/src/views/client/StandardProduct.js +1 -0
  337. package/dist/src/views/client/SystemAppAccredit.js +1 -0
  338. package/dist/src/views/client/SystemAppManager.js +1 -0
  339. package/dist/src/views/client/SystemManager.js +1 -0
  340. package/dist/src/views/i18n/I18nAiTaskHistoryDialog.js +1 -0
  341. package/dist/src/views/i18n/I18nPublishDialog.js +1 -0
  342. package/dist/src/views/i18n/I18nTranslationList.js +1 -0
  343. package/dist/src/views/i18n/i18n-workbench-text.js +1 -0
  344. package/dist/src/views/layout/CardList.js +1 -0
  345. package/dist/src/views/layout/Grid.js +1 -0
  346. package/dist/src/views/match/AddTargetField.js +1 -0
  347. package/dist/src/views/match/MatchAddFormItem.js +1 -0
  348. package/dist/src/views/match/conversion.js +1 -0
  349. package/dist/src/views/match/customize.js +1 -0
  350. package/dist/src/views/match/fieldMatch.js +1 -0
  351. package/dist/src/views/report/AddFormItem.js +1 -0
  352. package/dist/src/views/report/DesignReport.js +1 -0
  353. package/dist/src/views/report/ReportTreeFind.js +1 -0
  354. package/dist/style.css +2867 -1487
  355. package/package.json +14 -7
  356. package/src/base/AiSkillEditor.vue +2 -0
  357. package/src/base/AppConfigFormItem.vue +211 -145
  358. package/src/base/CommonFieldList.vue +9 -6
  359. package/src/base/ConfigModuleIndex.vue +37 -1
  360. package/src/base/ManageAppNav.vue +1188 -1188
  361. package/src/base/ManageMenu.vue +933 -933
  362. package/src/base/RoleBindTrace.vue +364 -0
  363. package/src/base/RoleGroupManage.vue +1160 -0
  364. package/src/base/ServiceMenu.vue +6 -5
  365. package/src/components/AiList.vue +439 -113
  366. package/src/components/EntityCheckboxFind.vue +12 -8
  367. package/src/components/EntityRightFormItem.vue +9 -10
  368. package/src/components/EntitySystemEr.vue +517 -0
  369. package/src/components/HallNav.vue +6 -33
  370. package/src/components/IconFontLibrary.vue +27 -60
  371. package/src/components/IconFontList.vue +13 -64
  372. package/src/components/PrintFormList.vue +33 -27
  373. package/src/components/WikiWorkbench.vue +90 -60
  374. package/src/components/authorization/AuthorizationInterface.vue +2 -0
  375. package/src/components/custom-bpmn/CustomPalette.js +1 -1
  376. package/src/components/custom-bpmn/CustomRenderer.js +1 -1
  377. package/src/components/custom-bpmn/PropertiesView.vue +35 -4
  378. package/src/components/custom-bpmn/index.js +1 -1
  379. package/src/components/icon-gallery/IconGallery.vue +130 -0
  380. package/src/components/icon-gallery/mixin.jsx +109 -0
  381. package/src/components/wiki-workbench/WikiIntake.vue +178 -104
  382. package/src/index.js +24 -20
  383. package/src/public-components.js +1 -0
  384. package/src/route-components.js +4 -4
  385. package/src/system.component.index.js +1 -1
  386. package/src/views/Add.vue +8 -5
  387. package/src/views/AiToolManager.vue +326 -4
  388. package/src/views/App.vue +4 -53
  389. package/src/views/AppRoleSelect.vue +4 -334
  390. package/src/views/Error.vue +4 -63
  391. package/src/views/ExcelDesign.vue +24 -7
  392. package/src/views/JvmMemoryMonitor.vue +284 -0
  393. package/src/views/Module.vue +4 -210
  394. package/src/views/WikiBinding.vue +42 -0
  395. package/types/app.d.ts +1 -0
  396. package/types/dept-find.d.ts +1 -1
  397. package/types/index.d.ts +15 -14
  398. package/types/popup.d.ts +2 -2
  399. package/types/route-components.d.ts +1 -1
  400. package/types/user-find.d.ts +1 -1
  401. package/dist/assets/role_select-DTqRlFNz.webp +0 -0
  402. package/dist/src/components/AiList.vue.js +0 -93
  403. package/dist/src/components/IconFontLibrary.vue.js +0 -67
  404. package/dist/src/components/IconFontList.vue.js +0 -79
package/API.md CHANGED
@@ -2,19 +2,18 @@
2
2
 
3
3
  系统业务页面、人员/部门选择器、页面目录和报表组件。
4
4
 
5
- 本页对应包版本 `5.3.0-beta.1`。导出名、子路径和签名从当前源码、package.json 与类型声明生成。
5
+ 本页对应包版本 `5.3.0-beta.3`。导出名、子路径和签名从当前源码、package.json 与类型声明生成。
6
6
 
7
7
  ## 安装与使用
8
8
 
9
9
 
10
10
  ```sh
11
- pnpm add @epxing/business
11
+ pnpm add @epxing/business@5.3.0-beta.3
12
12
  ```
13
13
 
14
14
 
15
15
  ```js
16
16
  import Business, { UserFind, DeptFind, EntityTreeManage } from '@epxing/business'
17
- import '@epxing/business/style.css'
18
17
 
19
18
  // app 已安装 core 和基础组件
20
19
  app.use(Business)
@@ -23,13 +22,16 @@ app.component('ProductUserFind', UserFind)
23
22
 
24
23
  ## 接入约定
25
24
 
26
- 业务组件依赖核心服务、基础组件和服务端元数据/权限。根 default 插件负责系统业务组件、弹层和路由映射注册;只使用具名组件时,产品仍需准备该组件实际使用的服务与子组件。远程产品的共享入口支持公开组件;宿主负责安装业务插件。
25
+ 业务组件依赖核心服务、基础组件和服务端元数据/权限。根 default 插件负责系统业务组件、弹层和路由映射注册。平台系统入口使用 createApp({ router: createFrameRouter() }) 并安装 Components、Business 和产品插件;其中 App 可从本包根入口或 @epxing/business/app 导入,用于系统视图定制,不直接作为最外层根组件。只使用具名组件时,产品仍需准备该组件实际使用的服务与子组件。远程产品的共享入口支持公开组件;宿主负责安装业务插件。
26
+
27
+ 本版 JS 入口自动加载本包聚合样式,根导入和稳定子路径均无需手动 import style.css;保留显式样式入口以兼容旧代码。样式按包加载,产品覆盖样式放在框架导入之后。
27
28
 
28
29
  ## 根入口完整导出
29
30
 
30
31
  | 导出名 | 形态 | 用途 | 参数 / 配置 / 事件 |
31
32
  | --- | --- | --- | --- |
32
33
  | `UserFind` | Vue 组件 | 人员选择器,用于选择用户并按组件协议回填标识和显示标签。 | [详细参考](../../docs/revision/business/components/UserFind.md) |
34
+ | `App` | Vue 组件 | 平台系统路由视图,在应用配置加载后读取 FIRST_PAGE / MOBILE_FIRST_PAGE 并显示首页。由 Business 注册给平台路由,不是最外层路由根组件。 | [详细参考](../../docs/revision/business/views/App.md) |
33
35
  | `DeptFind` | Vue 组件 | 部门选择器,用于组织部门的查找、选择和回填。 | [详细参考](../../docs/revision/business/components/DeptFind.md) |
34
36
  | `HeaderNav` | Vue 组件 | 应用顶部导航组件,展示应用和菜单导航入口。 | [详细参考](../../docs/revision/business/components/HeaderNav.md) |
35
37
  | `EntityTreeManage` | Vue 组件 | 实体树管理组件,组合分类树、实体查询和管理操作。 | [详细参考](../../docs/revision/business/components/EntityTreeManage.md) |
@@ -48,6 +50,8 @@ app.component('ProductUserFind', UserFind)
48
50
 
49
51
  ### routeComponents
50
52
 
53
+ 基础页面 App、Module、AppRoleSelect、Error 由 core 提供;此处保留映射兼容,并补充 QyWechat、Task、HelpDocSet。未使用这些业务页面时无需安装 business。
54
+
51
55
  业务层路由页面映射,供核心路由解析使用。
52
56
 
53
57
  通过 `routeComponents.成员名` 访问,下面的成员不是额外的根具名导出。
@@ -55,7 +59,7 @@ app.component('ProductUserFind', UserFind)
55
59
  | 成员名 | 用途 | 配置参考 |
56
60
  | --- | --- | --- |
57
61
  | `QyWechat` | 企业微信接入页面,承载对应客户端的认证与跳转流程。 | [详细参考](../../docs/revision/business/views/QyWechat.md) |
58
- | `App` | 平台应用外壳,承载导航、标签页和应用页面。 | [详细参考](../../docs/revision/business/views/App.md) |
62
+ | `App` | 平台系统路由视图,在应用配置加载后读取 FIRST_PAGE / MOBILE_FIRST_PAGE 并显示首页。由 Business 注册给平台路由,不是最外层路由根组件。 | [详细参考](../../docs/revision/business/views/App.md) |
59
63
  | `Module` | 平台模块容器页面,承载模块中的业务内容。 | [详细参考](../../docs/revision/business/views/Module.md) |
60
64
  | `AppRoleSelect` | 应用角色选择页面,供用户选择进入应用时使用的角色。 | [详细参考](../../docs/revision/business/views/AppRoleSelect.md) |
61
65
  | `Task` | 平台任务页面,展示和处理任务相关内容。 | [详细参考](../../docs/revision/business/views/TaskPage.md) |
@@ -68,6 +72,7 @@ app.component('ProductUserFind', UserFind)
68
72
 
69
73
  | 导入路径 | 完整导出名 | 用途 / 详细说明 |
70
74
  | --- | --- | --- |
75
+ | `@epxing/business/app` | `default` | 平台系统路由视图,在应用配置加载后读取 FIRST_PAGE / MOBILE_FIRST_PAGE 并显示首页。由 Business 注册给平台路由,不是最外层路由根组件。 [详细参考](../../docs/revision/business/views/App.md) |
71
76
  | `@epxing/business/user-find` | `default` | 人员选择器,用于选择用户并按组件协议回填标识和显示标签。 [详细参考](../../docs/revision/business/components/UserFind.md) |
72
77
  | `@epxing/business/dept-find` | `default` | 部门选择器,用于组织部门的查找、选择和回填。 [详细参考](../../docs/revision/business/components/DeptFind.md) |
73
78
  | `@epxing/business/popup` | `default` | 默认导出弹层安装函数 (app),用 app.use(PopupInstall) 安装 $popup;与主应用共享上下文。 [详细参考](../../docs/revision/business/api/popup.md) |
@@ -78,7 +83,7 @@ app.component('ProductUserFind', UserFind)
78
83
  | `@epxing/business/report-form-list` | `default` | 报表列表组件,展示报表及其查询、打开操作。 [详细参考](../../docs/revision/business/components/ReportFormList.md) |
79
84
  | `@epxing/business/report-form-list-page` | `default` | 报表列表页面,承载报表列表与页面配置。 [详细参考](../../docs/revision/business/views/ReportFormListPage.md) |
80
85
  | `@epxing/business/excel-preview-page` | `default` | Excel 预览页面,加载并展示表格文件内容。 [详细参考](../../docs/revision/business/views/ExcelPreviewPage.md) |
81
- | `@epxing/business/style.css` | 样式副作用入口 | 在产品入口引入一次。 |
86
+ | `@epxing/business/style.css` | 可选的显式样式入口 | JS 入口自动加载本包样式;保留此路径以兼容旧代码。 |
82
87
 
83
88
  ## 源码兼容与其他入口
84
89
 
package/README.md CHANGED
@@ -1,43 +1,44 @@
1
- # @epxing/business
2
-
3
- [完整公开 API、导入方式与示例](./API.md)
4
-
5
- 平台业务组件包。产品可继承 UserFind、EntityTreeManage 等业务组件,整包安装时补充平台业务视图与 popup。
6
-
7
- ## 范围
8
-
9
- - `src/frame/components/` 业务组件(authorization / permiss / UserManage 等)
10
- - `src/frame/base/` 平台基础组件(AppMarket / ClientApplication / 角色权限 等)
11
- - `src/frame/views/` 运行时业务页面(App / Module / Container / Login / Error / EntityListPage 等)
12
- - `src/frame/views/client/` / `src/frame/views/layout/`
13
-
14
- ## 依赖
15
-
16
- - `@epxing/utils`
17
- - `@epxing/theme`
18
- - `@epxing/core`
19
- - `@epxing/components`
20
-
21
- ## 状态
22
-
23
- 已提供公共根入口、稳定组件子路径和类型声明。
24
-
25
-
26
- ## 独立包公共入口(2026-10-22)
27
-
28
- 根入口及稳定子路径提供类型声明。先安装 core 与需要的 component,再按需安装本包。
29
-
30
- ```js
31
- import { UserFind, DeptFind, EntityTreeManage, HeaderNav } from '@epxing/business'
32
- import EntityTreeManageDefault from '@epxing/business/entity-tree-manage'
33
- ```
34
-
35
- 还提供 PageCatalog、ReportFormList、ReportFormListPage、ExcelPreviewPage。远程产品可共享这些单件,整包安装由宿主负责。使用与迁移说明见 `docs/guide/getting-started/packages.md`。
36
-
37
- ```js
38
- import plugin from '@epxing/business'
39
- import '@epxing/business/style.css'
40
- app.use(plugin)
41
- ```
42
-
43
- 工作区构建:`pnpm --filter @epxing/business build`。pack/publish 的 prepack 会重建;版本由 Changesets 独立管理。旧 `/src/*` 入口保留。完整初始化、打包与远程共享流程见 docs/build-and-publish.md。
1
+ # @epxing/business
2
+
3
+ [完整公开 API、导入方式与示例](./API.md)
4
+
5
+ 从 5.3.0-beta.2 起,导入本包 JS 时自动加载包级样式,根入口和稳定子路径均无需手动引入 style.css。显式样式入口继续兼容旧代码;产品覆盖样式放在框架导入之后。
6
+
7
+ 平台业务组件包。产品可继承 UserFind、EntityTreeManage 等业务组件,整包安装时补充平台业务视图与 popup。
8
+
9
+ ## 范围
10
+
11
+ - `src/frame/components/` 业务组件(authorization / permiss / UserManage 等)
12
+ - `src/frame/base/` 平台基础组件(AppMarket / ClientApplication / 角色权限 等)
13
+ - `src/frame/views/` 运行时业务页面(App / Module / Container / Login / Error / EntityListPage 等)
14
+ - `src/frame/views/client/` / `src/frame/views/layout/`
15
+
16
+ ## 依赖
17
+
18
+ - `@epxing/utils`
19
+ - `@epxing/theme`
20
+ - `@epxing/core`
21
+ - `@epxing/components`
22
+
23
+ ## 状态
24
+
25
+ 已提供公共根入口、稳定组件子路径和类型声明。
26
+
27
+
28
+ ## 独立包公共入口(2026-10-22)
29
+
30
+ 根入口及稳定子路径提供类型声明。先安装 core 与需要的 component,再按需安装本包。
31
+
32
+ ```js
33
+ import { UserFind, DeptFind, EntityTreeManage, HeaderNav } from '@epxing/business'
34
+ import EntityTreeManageDefault from '@epxing/business/entity-tree-manage'
35
+ ```
36
+
37
+ 还提供 PageCatalog、ReportFormList、ReportFormListPage、ExcelPreviewPage。远程产品可共享这些单件,整包安装由宿主负责。使用与迁移说明见 `docs/guide/getting-started/packages.md`。
38
+
39
+ ```js
40
+ import plugin from '@epxing/business'
41
+ app.use(plugin)
42
+ ```
43
+
44
+ 工作区构建:`pnpm --filter @epxing/business build`。pack/publish 的 prepack 会重建;版本由 Changesets 独立管理。旧 `/src/*` 入口保留。完整初始化、打包与远程共享流程见 docs/build-and-publish.md。
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import "codemirror/addon/hint/show-hint.js";
2
3
  import "codemirror/lib/codemirror.css";
3
4
  import "codemirror/addon/hint/show-hint.css";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import "codemirror/addon/hint/show-hint.js";
2
3
  import "codemirror/lib/codemirror.css";
3
4
  import "codemirror/addon/hint/show-hint.css";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main from "./AiSkillEditor.vue.js";
2
3
  import { resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createBlock, withCtx, createVNode, createTextVNode, createCommentVNode, normalizeClass } from "vue";
3
4
  /* empty css */
@@ -1022,7 +1023,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1022
1023
  }, 8, ["model-value", "onUpdate:modelValue", "functionList", "extendVariable"])) : createCommentVNode("", true)
1023
1024
  ]);
1024
1025
  }
1025
- const AiSkillEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-61ea38d3"]]);
1026
+ const AiSkillEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-148f13cb"]]);
1026
1027
  export {
1027
1028
  AiSkillEditor as default
1028
1029
  };
@@ -53,6 +53,8 @@ const _sfc_main = {
53
53
  name: "epx-base-ai-skill-editor",
54
54
  mixins: [component],
55
55
  props: {
56
+ // 接收父表单实例,避免被作为 DOM 属性透传导致记忆设置渲染失败。
57
+ form: Object,
56
58
  value: {
57
59
  type: String,
58
60
  default: ""
@@ -1,7 +1,6 @@
1
+ import '../../style.css';
1
2
  import _sfc_main from "./AppConfigFormItem.vue.js";
2
3
  /* empty css */
3
- import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- const AppConfigFormItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7e3ef531"]]);
5
4
  export {
6
- AppConfigFormItem as default
5
+ _sfc_main as default
7
6
  };
@@ -2,23 +2,61 @@ import __cjsReq7 from "../assets/images/nav/0.png.js";
2
2
  import __cjsReq6 from "../assets/images/nav/1.png.js";
3
3
  import __cjsReq8 from "../assets/images/nav/2.png.js";
4
4
  import __cjsReq9 from "../assets/images/nav/3.svg.js";
5
- import { createVNode, resolveComponent, isVNode } from "vue";
5
+ import { createVNode, resolveComponent, createTextVNode, isVNode } from "vue";
6
6
  import AddFormItem from "@epxing/components/src/add-form-item";
7
+ import TableForm from "@epxing/components/src/form";
8
+ import AppSettings from "@epxing/components/src/app-settings/AppSettings.vue";
9
+ import AppAppearancePreview from "@epxing/components/src/app-settings/AppAppearancePreview.vue";
10
+ import { createAppUiDraft } from "@epxing/core/src/app-ui-settings";
11
+ import { captureRef } from "@epxing/core/src/capture-ref";
7
12
  function _isSlot(s) {
8
13
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
9
14
  }
10
15
  const _sfc_main = {
11
16
  name: "epx-base-app-config-form-item",
12
17
  extends: AddFormItem,
18
+ components: {
19
+ AppSettings,
20
+ AppAppearancePreview,
21
+ TableForm
22
+ },
13
23
  data() {
14
24
  return {
15
25
  config: {},
16
- fieldsConfigs: []
26
+ fieldsConfigs: [],
27
+ layoutFieldsConfigs: [],
28
+ activeGroup: "theme",
29
+ uiDraft: {},
30
+ initialConfig: "{}",
31
+ syncingDraft: true,
32
+ settingsGroups: [{
33
+ key: "theme",
34
+ label: "主题与配色"
35
+ }, {
36
+ key: "layout",
37
+ label: "导航与布局"
38
+ }, {
39
+ key: "style",
40
+ label: "界面风格"
41
+ }, {
42
+ key: "tabs",
43
+ label: "页签设置"
44
+ }, {
45
+ key: "page",
46
+ label: "页面与效果"
47
+ }]
17
48
  };
18
49
  },
19
50
  computed: {
51
+ readOnly() {
52
+ return ["DETAIL", "READONLY"].includes(this.componentType);
53
+ },
20
54
  showFieldsConfigs() {
21
- return this.fieldsConfigs.filter((item) => {
55
+ return this.layoutFieldsConfigs.filter((item) => {
56
+ const themeKeys = ["navBackgroundColorType", "navBackgroundColor"];
57
+ const pageKeys = ["pageBackgroundType", "pageBackgroundColor", "pageBackgroundGradient", "pageBackgroundImage", "pageBackgroundSize"];
58
+ const group = themeKeys.includes(item.key) ? "theme" : pageKeys.includes(item.key) ? "page" : "layout";
59
+ if (group !== this.activeGroup) return false;
22
60
  let flag = true;
23
61
  if (item.showFlag) {
24
62
  for (const key in item.showFlag) {
@@ -35,6 +73,7 @@ const _sfc_main = {
35
73
  watch: {
36
74
  config: {
37
75
  handler(v) {
76
+ if (this.syncingDraft || this.readOnly) return;
38
77
  const APP_CONFIG = JSON.stringify(v);
39
78
  this.$emit("change", {
40
79
  ...this.data,
@@ -42,6 +81,15 @@ const _sfc_main = {
42
81
  });
43
82
  },
44
83
  deep: true
84
+ },
85
+ uiDraft: {
86
+ deep: true,
87
+ handler(value) {
88
+ if (!this.syncingDraft && !this.readOnly) this.config.uiDefaults = JSON.parse(JSON.stringify(value));
89
+ }
90
+ },
91
+ "formData.APP_CONFIG"(value) {
92
+ if (value !== JSON.stringify(this.config)) this.loadConfig(value);
45
93
  }
46
94
  },
47
95
  methods: {
@@ -122,6 +170,9 @@ const _sfc_main = {
122
170
  key: "navBackgroundColor",
123
171
  label: "自定义导航背景色",
124
172
  type: "color",
173
+ showFlag: {
174
+ navBackgroundColorType: "custom"
175
+ },
125
176
  predefineColors: []
126
177
  }, {
127
178
  key: "navOperates",
@@ -218,42 +269,6 @@ const _sfc_main = {
218
269
  type: "number",
219
270
  defaultValue: 992
220
271
  }];
221
- if (this.appConfig["SYSTEM|TYPE"] === "hall") {
222
- fieldsConfigs.splice(9, 0, {
223
- key: "componentMargin",
224
- label: "页面组件间距",
225
- type: "radio",
226
- options: [{
227
- label: "小",
228
- value: "small"
229
- }, {
230
- label: "中",
231
- value: "medium"
232
- }, {
233
- label: "默认",
234
- value: "base"
235
- }],
236
- defaultValue: "base"
237
- }, {
238
- key: "borderRadius",
239
- label: "圆角",
240
- type: "radio",
241
- options: [{
242
- label: "无",
243
- value: "zero"
244
- }, {
245
- label: "默认",
246
- value: "base"
247
- }, {
248
- label: "中",
249
- value: "medium"
250
- }, {
251
- label: "大",
252
- value: "large"
253
- }],
254
- defaultValue: "base"
255
- });
256
- }
257
272
  for (const item of fieldsConfigs) {
258
273
  item.state = pageType;
259
274
  if (item.options) item.options = item.options.map((item2) => ({
@@ -263,12 +278,23 @@ const _sfc_main = {
263
278
  preview: item2.preview
264
279
  }));
265
280
  }
266
- this.fieldsConfigs = fieldsConfigs;
281
+ this.layoutFieldsConfigs = fieldsConfigs;
282
+ this.fieldsConfigs = [{
283
+ attriName: "APP_CONFIG",
284
+ state: "HIDDEN"
285
+ }];
267
286
  },
268
287
  changeConfigItem(key, value) {
288
+ if (this.readOnly) return;
269
289
  this.config[key] = value;
270
290
  },
271
291
  save() {
292
+ var _a;
293
+ if (this.readOnly) return;
294
+ if (((_a = this.form) == null ? void 0 : _a.submitForm) && !this.isEdit) {
295
+ this.$nextTick(() => this.form.submitForm());
296
+ return;
297
+ }
272
298
  const params = {};
273
299
  const {
274
300
  submitParams: querySumitParams = {}
@@ -276,7 +302,12 @@ const _sfc_main = {
276
302
  if (this.formData[this.$metaKey]) {
277
303
  params[`bean.${this.$metaKey}`] = this.formData[this.$metaKey];
278
304
  }
279
- params["bean.APP_CONFIG"] = this.formData.APP_CONFIG;
305
+ Object.entries({
306
+ ...this.formData,
307
+ APP_CONFIG: JSON.stringify(this.config)
308
+ }).forEach(([key, value]) => {
309
+ params[`bean.${key}`] = value;
310
+ });
280
311
  const {
281
312
  componentEvents = {}
282
313
  } = this.$configs;
@@ -298,47 +329,150 @@ const _sfc_main = {
298
329
  });
299
330
  },
300
331
  switchNav(value, item) {
301
- if (item.state !== "DETAIL") {
332
+ if (!["DETAIL", "READONLY"].includes(item.state)) {
302
333
  this.config[item.key] = value;
303
334
  }
304
335
  },
336
+ loadConfig(value = "{}") {
337
+ this.syncingDraft = true;
338
+ const config = JSON.parse(value || "{}");
339
+ this.initialConfig = JSON.stringify(config);
340
+ for (const item of this.layoutFieldsConfigs) {
341
+ if (config[item.key] === void 0 && item.defaultValue !== void 0) config[item.key] = item.defaultValue;
342
+ }
343
+ this.config = config;
344
+ this.uiDraft = createAppUiDraft(config);
345
+ this.$nextTick(() => {
346
+ this.syncingDraft = false;
347
+ });
348
+ },
349
+ restorePlatform() {
350
+ if (this.readOnly) return;
351
+ this.uiDraft = createAppUiDraft();
352
+ const businessKeys = ["appPageType", "pageId", "navComponent", "navOperates", "mobileSize"];
353
+ for (const field of this.layoutFieldsConfigs) {
354
+ if (businessKeys.includes(field.key)) continue;
355
+ if (field.defaultValue !== void 0) this.config[field.key] = field.defaultValue;
356
+ else delete this.config[field.key];
357
+ }
358
+ },
359
+ discardDraft() {
360
+ const initial = this.initialConfig;
361
+ this.loadConfig(initial);
362
+ this.$emit("change", {
363
+ ...this.data,
364
+ APP_CONFIG: initial
365
+ });
366
+ },
305
367
  renderForm() {
306
- let _slot;
307
- return createVNode(resolveComponent("el-form"), {
308
- "class": "app-config-form",
309
- "inline": true,
310
- "label-position": "right",
311
- "label-width": "140px"
312
- }, _isSlot(_slot = this.showFieldsConfigs.map((item) => createVNode(resolveComponent("el-form-item"), {
313
- "label": `${item.label}`,
314
- "style": item.block ? {
315
- width: "100%"
316
- } : null
368
+ var _a;
369
+ return createVNode("section", {
370
+ "class": "epx-app-interface-settings"
371
+ }, [createVNode("div", {
372
+ "hidden": true
373
+ }, [createVNode(TableForm, {
374
+ "ref": captureRef(this, "form"),
375
+ "fieldsConfigs": this.fieldsConfigs,
376
+ "modelValue": {
377
+ ...this.data,
378
+ APP_CONFIG: JSON.stringify(this.config)
379
+ },
380
+ "type": "auto",
381
+ "showRelyFlag": false,
382
+ "valueRelyFlag": false,
383
+ "requiredRelyFlag": false
384
+ }, null)]), createVNode("div", {
385
+ "class": "epx-app-interface-settings__heading"
386
+ }, [createVNode("p", null, [createTextVNode("设置当前应用的默认外观;用户的个人选择优先。右侧预览不会改变当前界面。")])]), createVNode("div", {
387
+ "class": "epx-app-interface-settings__workspace"
388
+ }, [createVNode("nav", {
389
+ "class": "epx-app-interface-settings__nav",
390
+ "aria-label": "界面设置分组"
391
+ }, [this.settingsGroups.map((group) => createVNode("button", {
392
+ "type": "button",
393
+ "key": group.key,
394
+ "class": {
395
+ "is-active": this.activeGroup === group.key
396
+ },
397
+ "aria-current": this.activeGroup === group.key ? "page" : void 0,
398
+ "onClick": () => {
399
+ this.activeGroup = group.key;
400
+ }
401
+ }, [group.label]))]), createVNode("div", {
402
+ "class": "epx-app-interface-settings__editor"
403
+ }, [createVNode("h4", null, [(_a = this.settingsGroups.find((group) => group.key === this.activeGroup)) == null ? void 0 : _a.label]), createVNode(AppSettings, {
404
+ "embedded": true,
405
+ "settings": this.uiDraft,
406
+ "sections": [this.activeGroup],
407
+ "disabled": this.readOnly
408
+ }, null), this.renderLayoutFields()]), createVNode(AppAppearancePreview, {
409
+ "config": this.config,
410
+ "settings": this.uiDraft,
411
+ "title": this.data.NAME || "应用名称"
412
+ }, null)]), !this.readOnly && createVNode("div", {
413
+ "class": "epx-app-interface-settings__actions"
414
+ }, [createVNode(resolveComponent("el-button"), {
415
+ "onClick": this.restorePlatform
317
416
  }, {
318
- default: () => [item.key === "navType" ? createVNode("div", {
319
- "class": ["nav-type", {
320
- "is-disabled": item.state === "DETAIL"
417
+ default: () => [createTextVNode("恢复平台默认")]
418
+ }), createVNode(resolveComponent("el-button"), {
419
+ "onClick": this.discardDraft
420
+ }, {
421
+ default: () => [createTextVNode("撤销本次修改")]
422
+ }), createVNode(resolveComponent("el-button"), {
423
+ "type": "primary",
424
+ "onClick": this.save
425
+ }, {
426
+ default: () => [createTextVNode("保存")]
427
+ })])]);
428
+ },
429
+ renderLayoutFields() {
430
+ let _slot2;
431
+ return createVNode(resolveComponent("el-form"), {
432
+ "disabled": this.readOnly,
433
+ "class": "epx-base-app-config-form-item__form"
434
+ }, _isSlot(_slot2 = this.showFieldsConfigs.map((item) => {
435
+ let _slot;
436
+ return createVNode("div", {
437
+ "key": item.key,
438
+ "class": ["epx-app-interface-settings__field", {
439
+ "epx-app-interface-settings__field--block": item.block || item.type === "radio"
321
440
  }]
322
- }, [item.options.map((option) => createVNode("div", {
441
+ }, [createVNode("span", {
442
+ "class": "epx-app-interface-settings__label"
443
+ }, [item.label]), createVNode("div", {
444
+ "class": "epx-app-interface-settings__control"
445
+ }, [item.key === "navType" ? createVNode("div", {
446
+ "class": "nav-type",
447
+ "role": "group",
448
+ "aria-label": item.label
449
+ }, [item.options.map((option) => createVNode("button", {
450
+ "type": "button",
323
451
  "class": ["nav-type__item", {
324
452
  "is-active": this.config[item.key] === option.id
325
453
  }],
326
454
  "key": option.id,
455
+ "disabled": this.readOnly,
456
+ "aria-pressed": this.config[item.key] === option.id,
327
457
  "onClick": this.switchNav.bind(this, option.id, item)
328
- }, [createVNode("div", null, [createVNode("img", {
329
- "src": option.preview
330
- }, null)]), createVNode("p", null, [option.name])]))]) : item.type === "radio" ? createVNode(resolveComponent("epx-radio"), {
331
- "modelValue": this.config[item.key],
332
- "onUpdate:modelValue": ($event) => this.config[item.key] = $event,
333
- "fieldConfigs": {
334
- state: item.state,
335
- attriName: item.key,
336
- attriLabel: item.label,
337
- options: item.options
338
- }
339
- }, null) : item.type === "object" ? createVNode(resolveComponent("epx-visual-config-object"), {
458
+ }, [createVNode("img", {
459
+ "src": option.preview,
460
+ "alt": ""
461
+ }, null), createVNode("span", null, [option.name])]))]) : item.type === "radio" ? createVNode(resolveComponent("el-radio-group"), {
340
462
  "modelValue": this.config[item.key],
341
463
  "onUpdate:modelValue": ($event) => this.config[item.key] = $event,
464
+ "size": "small",
465
+ "aria-label": item.label
466
+ }, _isSlot(_slot = item.options.map((option) => createVNode(resolveComponent("el-radio-button"), {
467
+ "key": option.id,
468
+ "value": option.id
469
+ }, {
470
+ default: () => [option.name]
471
+ }))) ? _slot : {
472
+ default: () => [_slot]
473
+ }) : item.type === "object" ? createVNode(resolveComponent("epx-visual-config-object"), {
474
+ "value": this.config[item.key],
475
+ "onChangeConfigs": this.changeConfigItem.bind(this, item.key),
342
476
  "label": item.label,
343
477
  "object": item.object,
344
478
  "flag": item.flag,
@@ -348,11 +482,11 @@ const _sfc_main = {
348
482
  "modelValue": this.config[item.key],
349
483
  "onUpdate:modelValue": ($event) => this.config[item.key] = $event,
350
484
  "predefine": item.predefineColors,
351
- "disabled": item.state === "DETAIL"
485
+ "disabled": this.readOnly
352
486
  }, null) : item.type === "gradient" ? createVNode(resolveComponent("epx-color-picker"), {
353
487
  "modelValue": this.config[item.key],
354
488
  "onUpdate:modelValue": ($event) => this.config[item.key] = $event,
355
- "disabled": item.state === "DETAIL"
489
+ "disabled": this.readOnly
356
490
  }, null) : item.type === "photo" ? createVNode(resolveComponent("epx-photo"), {
357
491
  "modelValue": this.config[item.key],
358
492
  "onUpdate:modelValue": ($event) => this.config[item.key] = $event,
@@ -361,7 +495,7 @@ const _sfc_main = {
361
495
  attriName: item.key,
362
496
  attriLabel: item.label
363
497
  }
364
- }, null) : item.type === "num" ? createVNode(resolveComponent("epx-number"), {
498
+ }, null) : ["num", "number"].includes(item.type) ? createVNode(resolveComponent("epx-number"), {
365
499
  "modelValue": this.config[item.key],
366
500
  "onUpdate:modelValue": ($event) => this.config[item.key] = $event,
367
501
  "fieldConfigs": {
@@ -383,23 +517,14 @@ const _sfc_main = {
383
517
  attriName: item.key,
384
518
  attriLabel: item.label
385
519
  }
386
- }, null)]
387
- }))) ? _slot : {
388
- default: () => [_slot]
520
+ }, null)])]);
521
+ })) ? _slot2 : {
522
+ default: () => [_slot2]
389
523
  });
390
524
  }
391
525
  },
392
526
  created() {
393
- const {
394
- APP_CONFIG = "{}"
395
- } = this.data;
396
- const appConfig = JSON.parse(APP_CONFIG);
397
- for (const item of this.fieldsConfigs) {
398
- if (!appConfig[item.key] && item.defaultValue) {
399
- appConfig[item.key] = item.defaultValue;
400
- }
401
- }
402
- this.config = appConfig;
527
+ this.loadConfig(this.data.APP_CONFIG);
403
528
  }
404
529
  };
405
530
  export {
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import __cjsReq0 from "../assets/images/app.png.js";
2
3
  import { component } from "@epxing/core/src/mixins";
3
4
  import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, createElementVNode, Fragment, renderList, toDisplayString, createCommentVNode } from "vue";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import _sfc_main from "./AppMarketList.vue.js";
2
3
  /* empty css */
3
4
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import __cjsReq0 from "../assets/images/app.png.js";
2
3
  import component from "@epxing/core/src/mixins/component";
3
4
  import { imageAsset } from "@epxing/utils/src/asset-images.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import AddForm from "@epxing/components/src/add-form";
2
3
  const _sfc_main = {
3
4
  name: "epx-base-attribute-sub-add",
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import { resolveComponent, openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, createVNode, withCtx, Fragment, renderList, normalizeClass } from "vue";
2
3
  /* empty css */
3
4
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
@@ -1,3 +1,4 @@
1
+ import '../../style.css';
1
2
  import __cjsReq0 from "../assets/images/app.png.js";
2
3
  import component from "@epxing/core/src/mixins/component";
3
4
  import { resolveComponent, openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, createVNode, withCtx, Fragment, renderList, normalizeClass, createCommentVNode } from "vue";