gds-plus-design-vue 1.2.62 → 1.2.63

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 (332) hide show
  1. package/lib/addPermission.5036013c.js +1 -0
  2. package/lib/addPermission.9fc97a47.mjs +421 -0
  3. package/lib/approvalModel.51d07afe.mjs +340 -0
  4. package/lib/approvalModel.66f49dfb.js +1 -0
  5. package/lib/attribute.318f485c.js +1 -0
  6. package/lib/attribute.a06ac9e7.mjs +237 -0
  7. package/lib/buildItem.6a834227.js +1 -0
  8. package/lib/buildItem.fd8634ab.mjs +205 -0
  9. package/lib/businessRules.0e4dbb3a.js +1 -0
  10. package/lib/businessRules.db6ba874.mjs +538 -0
  11. package/lib/components.chartbi.b043dcdc.mjs +1729 -0
  12. package/lib/components.chartbi.e4680eaa.js +7 -0
  13. package/lib/components.coloreditor.044983d2.mjs +1505 -0
  14. package/lib/components.coloreditor.779a9419.js +6 -0
  15. package/lib/components.dataassign.1853ed5c.js +1 -0
  16. package/lib/components.dataassign.56632583.mjs +147 -0
  17. package/lib/components.echarts.10d3ffe2.mjs +794 -0
  18. package/lib/components.echarts.e4d6b13e.js +3 -0
  19. package/lib/components.exception.3cc33e29.js +1 -0
  20. package/lib/components.exception.cc2f4ca3.mjs +61 -0
  21. package/lib/components.form.3344c817.mjs +7785 -0
  22. package/lib/components.form.91d5ed3e.js +41 -0
  23. package/lib/components.globalheader.07a90c4b.js +1 -0
  24. package/lib/components.globalheader.43fafa8c.mjs +54 -0
  25. package/lib/components.iconselector.8caabeaa.mjs +1165 -0
  26. package/lib/components.iconselector.d712170f.js +1 -0
  27. package/lib/components.imgpreview.57290b54.mjs +213 -0
  28. package/lib/components.imgpreview.86bf7971.js +1 -0
  29. package/lib/components.lunccalendar.76159d2e.js +1 -0
  30. package/lib/components.lunccalendar.f6765c94.mjs +1137 -0
  31. package/lib/components.middleware.3bad5748.js +1 -0
  32. package/lib/components.middleware.457b1182.mjs +147 -0
  33. package/lib/components.modaltitle.ae92f96c.mjs +127 -0
  34. package/lib/components.modaltitle.e0b34fcb.js +1 -0
  35. package/lib/components.multitab.82fd0544.js +1 -0
  36. package/lib/components.multitab.8441aa6b.mjs +140 -0
  37. package/lib/components.selecttree.85d940a9.mjs +170 -0
  38. package/lib/components.selecttree.d710a362.js +1 -0
  39. package/lib/components.settingdrawer.779f6715.js +1 -0
  40. package/lib/components.settingdrawer.a6693034.mjs +237 -0
  41. package/lib/components.sidemenu.725677e3.mjs +277 -0
  42. package/lib/components.sidemenu.80e46c2d.js +1 -0
  43. package/lib/components.sidenavmenu.23b8edce.mjs +1331 -0
  44. package/lib/components.sidenavmenu.b9bb9304.js +1 -0
  45. package/lib/components.statuschange.15938660.mjs +116 -0
  46. package/lib/components.statuschange.ed1218a4.js +1 -0
  47. package/lib/components.table.17c02054.js +8 -0
  48. package/lib/components.table.e3e5e3bc.mjs +4635 -0
  49. package/lib/components.tableumy.2f5dfa12.mjs +450 -0
  50. package/lib/components.tableumy.9cf33062.js +1 -0
  51. package/lib/components.tablevirtual.38d4d3d8.js +1 -0
  52. package/lib/components.tablevirtual.ba03746e.mjs +561 -0
  53. package/lib/components.teamsharing.05503821.js +1 -0
  54. package/lib/components.teamsharing.fb4351ec.mjs +373 -0
  55. package/lib/components.tooltip.950dc77b.mjs +86 -0
  56. package/lib/components.tooltip.a05d8dd1.js +1 -0
  57. package/lib/components.uploadfile.10f6cb2a.mjs +228 -0
  58. package/lib/components.uploadfile.5a9b6cc1.js +1 -0
  59. package/lib/components.uploadimg.cce7452a.js +1 -0
  60. package/lib/components.uploadimg.f4fe4e77.mjs +192 -0
  61. package/lib/components.verificationcode.afb9aa1a.mjs +71 -0
  62. package/lib/components.verificationcode.d1946db4.js +1 -0
  63. package/lib/components.viewformdetails.1621bc18.js +1 -0
  64. package/lib/components.viewformdetails.f362d69e.mjs +1048 -0
  65. package/lib/components.viewloading.807bbf68.js +1 -0
  66. package/lib/components.viewloading.ea40b244.mjs +96 -0
  67. package/lib/components.watermark.1ffc66e0.mjs +53 -0
  68. package/lib/components.watermark.da3d7220.js +2 -0
  69. package/lib/components.xlsxexport.d98572f8.mjs +263 -0
  70. package/lib/components.xlsxexport.f5ace2cd.js +1 -0
  71. package/lib/components.xlsximport.cffa88fe.mjs +913 -0
  72. package/lib/components.xlsximport.dbd826bb.js +1 -0
  73. package/lib/createFile.6b37ecf2.js +1 -0
  74. package/lib/createFile.82d6e415.mjs +239 -0
  75. package/lib/createSubfolders.47af629c.js +1 -0
  76. package/lib/createSubfolders.d35b97e9.mjs +154 -0
  77. package/lib/dialogLayout.08823bb7.js +1 -0
  78. package/lib/dialogLayout.c4bc3b55.mjs +138 -0
  79. package/lib/drawerContainer.604a1271.mjs +146 -0
  80. package/lib/drawerContainer.6a9813ce.js +1 -0
  81. package/lib/drawerLayout.36cf4d05.js +1 -0
  82. package/lib/drawerLayout.fb60950f.mjs +119 -0
  83. package/lib/fileSearch.65311ded.js +1 -0
  84. package/lib/fileSearch.86c356fe.mjs +338 -0
  85. package/lib/flow.designer.1ba3a90d.js +1 -0
  86. package/lib/flow.designer.6da03949.mjs +7686 -0
  87. package/lib/flow.list.03694808.mjs +3030 -0
  88. package/lib/flow.list.4eb10554.js +1 -0
  89. package/lib/form.build.51bd261e.js +1 -0
  90. package/lib/form.build.b768d613.mjs +251 -0
  91. package/lib/form.designer.build.5a950455.js +1 -0
  92. package/lib/form.designer.build.e521c9c6.mjs +5091 -0
  93. package/lib/formFiled.464856f5.js +1 -0
  94. package/lib/formFiled.fe7d9df3.mjs +505 -0
  95. package/lib/gd-initial.js +1 -35
  96. package/lib/gd-initial.mjs +221 -91338
  97. package/lib/http.appmanage.4554a629.mjs +50 -0
  98. package/lib/http.appmanage.b998818f.js +1 -0
  99. package/lib/http.codegeneratemanage.2f925b10.mjs +112 -0
  100. package/lib/http.codegeneratemanage.aecadd5d.js +1 -0
  101. package/lib/http.configmanage.6cfb8ae7.js +1 -0
  102. package/lib/http.configmanage.c23c7fa8.mjs +34 -0
  103. package/lib/http.currencymanage.37ab5ced.js +1 -0
  104. package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
  105. package/lib/http.datasource.294b01e2.js +1 -0
  106. package/lib/http.datasource.aa5cd0d1.mjs +58 -0
  107. package/lib/http.dictdatamanage.4baf16c0.mjs +42 -0
  108. package/lib/http.dictdatamanage.70545d8a.js +1 -0
  109. package/lib/http.dictmanage.3dc07b5d.js +1 -0
  110. package/lib/http.dictmanage.77c69971.mjs +50 -0
  111. package/lib/http.duplicatechecking.31964ce7.mjs +50 -0
  112. package/lib/http.duplicatechecking.ee5c414c.js +1 -0
  113. package/lib/http.emailmanage.1ddaa8b5.js +1 -0
  114. package/lib/http.emailmanage.64fd611f.mjs +18 -0
  115. package/lib/http.filedocument.7c656b91.js +1 -0
  116. package/lib/http.filedocument.d456d26a.mjs +156 -0
  117. package/lib/http.filemanage.7e6e3e1a.js +1 -0
  118. package/lib/http.filemanage.c0de21d6.mjs +71 -0
  119. package/lib/http.languagemanage.2ef16159.mjs +10 -0
  120. package/lib/http.languagemanage.e2c098ec.js +1 -0
  121. package/lib/http.loginmanage.05500c29.mjs +74 -0
  122. package/lib/http.loginmanage.326984c3.js +1 -0
  123. package/lib/http.logmanage.1e12a9bd.js +1 -0
  124. package/lib/http.logmanage.8ba72635.mjs +82 -0
  125. package/lib/http.machinemanage.29d72a65.js +1 -0
  126. package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
  127. package/lib/http.main.2f8a6936.js +1 -0
  128. package/lib/http.main.40657f51.mjs +517 -0
  129. package/lib/http.menumanage.3240ba0d.mjs +66 -0
  130. package/lib/http.menumanage.6d740f2c.js +1 -0
  131. package/lib/http.message.5004bf60.mjs +178 -0
  132. package/lib/http.message.87f319d7.js +1 -0
  133. package/lib/http.noticemanage.2507d094.js +1 -0
  134. package/lib/http.noticemanage.e03bd5f3.mjs +82 -0
  135. package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
  136. package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
  137. package/lib/http.onlineusermanage.3893f897.js +1 -0
  138. package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
  139. package/lib/http.orgmanage.5162fd7a.js +1 -0
  140. package/lib/http.orgmanage.84e43edb.mjs +58 -0
  141. package/lib/http.pluginmanage.6a876040.js +1 -0
  142. package/lib/http.pluginmanage.6bc6197f.mjs +82 -0
  143. package/lib/http.posmanage.c0f80aec.js +1 -0
  144. package/lib/http.posmanage.ee6a7613.mjs +34 -0
  145. package/lib/http.promptmanagement.c7912f6c.mjs +42 -0
  146. package/lib/http.promptmanagement.d115c4b0.js +1 -0
  147. package/lib/http.rolemanage.03363732.js +1 -0
  148. package/lib/http.rolemanage.dbf3fda1.mjs +114 -0
  149. package/lib/http.solution.175d36c8.mjs +91 -0
  150. package/lib/http.solution.c6b2634f.js +1 -0
  151. package/lib/http.sumberrules.0b68ce6d.js +1 -0
  152. package/lib/http.sumberrules.608a06d6.mjs +34 -0
  153. package/lib/http.sysapps.469d47f7.js +1 -0
  154. package/lib/http.sysapps.e294ceaf.mjs +58 -0
  155. package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
  156. package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
  157. package/lib/http.tabledevelopment.1d370398.mjs +362 -0
  158. package/lib/http.tabledevelopment.a880bb76.js +1 -0
  159. package/lib/http.team.c8487c0b.mjs +90 -0
  160. package/lib/http.team.e45400d5.js +1 -0
  161. package/lib/http.timersmanage.01dbc1a2.mjs +146 -0
  162. package/lib/http.timersmanage.6e894942.js +1 -0
  163. package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
  164. package/lib/http.timezonemanage.e0aa212f.js +1 -0
  165. package/lib/http.translationmanage.1f9dce46.js +1 -0
  166. package/lib/http.translationmanage.a4640c9a.mjs +104 -0
  167. package/lib/http.useraffiliation.840741ed.mjs +90 -0
  168. package/lib/http.useraffiliation.af2013ad.js +1 -0
  169. package/lib/http.usermanage.3e5eff33.mjs +219 -0
  170. package/lib/http.usermanage.6dcbc7de.js +1 -0
  171. package/lib/http.webresource.5158b431.mjs +50 -0
  172. package/lib/http.webresource.7c01b9cd.js +1 -0
  173. package/lib/index.69ad4631.mjs +44291 -0
  174. package/lib/index.cca024bf.js +8 -0
  175. package/lib/layoutBlocks.1a9e3e05.mjs +204 -0
  176. package/lib/layoutBlocks.5e6be06f.js +1 -0
  177. package/lib/layouts.051a0bba.mjs +376 -0
  178. package/lib/layouts.a6a36612.js +2 -0
  179. package/lib/main.457f4326.js +1 -0
  180. package/lib/main.4fff412e.js +1 -0
  181. package/lib/{main.c569c0a5.mjs → main.70357352.mjs} +12 -10
  182. package/lib/main.77373aa4.mjs +441 -0
  183. package/lib/{main.fb4a8edf.mjs → main.7f44e3bf.mjs} +78 -143
  184. package/lib/main.8a2a590d.js +1 -0
  185. package/lib/main.ad1e8d4d.js +1 -0
  186. package/lib/{main.5a6c881a.mjs → main.b0e5e1b0.mjs} +9 -8
  187. package/lib/{main.7921130e.mjs → main.c1df94d8.mjs} +4 -4
  188. package/lib/main.c3726602.js +1 -0
  189. package/lib/manage.5bb4f719.js +1 -0
  190. package/lib/manage.a1df9b88.mjs +419 -0
  191. package/lib/messages.7b74736f.js +9 -0
  192. package/lib/{messages.5bcc42f9.mjs → messages.ad082386.mjs} +994 -1968
  193. package/lib/moveFile.0ce803e0.js +1 -0
  194. package/lib/moveFile.8310ea94.mjs +254 -0
  195. package/lib/page.build.685c1e15.mjs +3158 -0
  196. package/lib/page.build.846096e6.js +12 -0
  197. package/lib/personal.echarts.b22fba61.mjs +701 -0
  198. package/lib/personal.echarts.f77bfc9e.js +1 -0
  199. package/lib/result.19351665.mjs +526 -0
  200. package/lib/result.e59c0e40.js +1 -0
  201. package/lib/router.config.2501ec51.js +1 -0
  202. package/lib/router.config.98a73167.mjs +3172 -0
  203. package/lib/solution.58580123.js +1 -0
  204. package/lib/solution.890ff164.mjs +6942 -0
  205. package/lib/store.config.3cb11578.js +1 -0
  206. package/lib/store.config.fff8a5a1.mjs +542 -0
  207. package/lib/style.css +3 -3
  208. package/lib/system.account.014f3e0b.mjs +2097 -0
  209. package/lib/system.account.0d4f1fdc.js +216 -0
  210. package/lib/{system.config.00dd0a29.mjs → system.config.0899edb8.mjs} +7 -6
  211. package/lib/system.config.210f516c.js +1 -0
  212. package/lib/system.datasource.82492d27.js +1 -0
  213. package/lib/{system.datasource.eb8d16df.mjs → system.datasource.986768c9.mjs} +15 -64
  214. package/lib/{system.dict.787ff1ec.mjs → system.dict.ef24873d.mjs} +28 -107
  215. package/lib/system.dict.f5708400.js +1 -0
  216. package/lib/system.duplicatechecking.8e3a37c0.js +1 -0
  217. package/lib/system.duplicatechecking.dcf9f86b.mjs +742 -0
  218. package/lib/system.email.070ab2be.js +1 -0
  219. package/lib/system.email.252fd642.mjs +138 -0
  220. package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.0234d390.mjs} +224 -685
  221. package/lib/system.fieldsecurity.3ef07bf7.js +1 -0
  222. package/lib/system.file.17a7f2ed.js +1 -0
  223. package/lib/{system.file.eae6eac2.mjs → system.file.73eeb731.mjs} +8 -7
  224. package/lib/{system.log.9bf208c1.mjs → system.log.b86cf57f.mjs} +24 -93
  225. package/lib/system.log.fc60f5e6.js +1 -0
  226. package/lib/{system.machine.0130e762.mjs → system.machine.0114001b.mjs} +5 -25
  227. package/lib/system.machine.f1d95c86.js +1 -0
  228. package/lib/{system.notice.dba4c597.mjs → system.notice.25ea8dca.mjs} +292 -474
  229. package/lib/system.notice.96c770a6.js +1 -0
  230. package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.369f634c.mjs} +17 -24
  231. package/lib/system.noticereceived.dfe4ecc7.js +1 -0
  232. package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.2dc284b1.mjs} +11 -24
  233. package/lib/system.onlineuser.e2e39bdc.js +1 -0
  234. package/lib/system.org.79ee5bd6.js +1 -0
  235. package/lib/{system.org.6da23c73.mjs → system.org.c20fe6b2.mjs} +3 -3
  236. package/lib/system.permissions.90f73461.js +9 -0
  237. package/lib/{system.permissions.fdad3c36.mjs → system.permissions.c3d34921.mjs} +4 -3
  238. package/lib/{system.plugin.f8765f96.mjs → system.plugin.45a0f530.mjs} +23 -93
  239. package/lib/system.plugin.b34a3b47.js +1 -0
  240. package/lib/system.pos.0a3d2a37.js +1 -0
  241. package/lib/{system.pos.5645b45a.mjs → system.pos.7946a99c.mjs} +31 -62
  242. package/lib/system.promptmanagement.b5fa6b2d.js +1 -0
  243. package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.d7250932.mjs} +153 -288
  244. package/lib/system.role.03be0982.js +1 -0
  245. package/lib/{system.role.0c6c327d.mjs → system.role.75da7929.mjs} +8 -5
  246. package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.4a1376a6.mjs} +13 -39
  247. package/lib/system.sumberrules.bb228fce.js +1 -0
  248. package/lib/system.team.32183b63.js +1 -0
  249. package/lib/system.team.e6a9608e.mjs +450 -0
  250. package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.4a7e7339.mjs} +135 -82
  251. package/lib/system.teammembers.847d8ea7.js +1 -0
  252. package/lib/system.timers.28691ce4.js +38 -0
  253. package/lib/{system.timers.63d03fc9.mjs → system.timers.eb0b6f3e.mjs} +50 -174
  254. package/lib/system.translation.6237f071.js +1 -0
  255. package/lib/{system.translation.52452a24.mjs → system.translation.e34f0891.mjs} +5 -5
  256. package/lib/{system.user.8d97a219.mjs → system.user.fa2d2997.mjs} +17 -16
  257. package/lib/{system.user.49457fd3.js → system.user.fca3f2d6.js} +5 -5
  258. package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.518e341e.mjs} +4 -3
  259. package/lib/system.useraffiliation.7547b9c7.js +1 -0
  260. package/lib/system.webresource.12712b90.js +1 -0
  261. package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.469db736.mjs} +16 -58
  262. package/lib/{system.welcome.14785b50.mjs → system.welcome.191e98f5.mjs} +10 -3
  263. package/lib/system.welcome.f64e49f8.js +1 -0
  264. package/lib/tcheckboxs.090e75eb.mjs +52 -0
  265. package/lib/tcheckboxs.99361be3.js +1 -0
  266. package/lib/tcurrency.0ddac2f8.mjs +92 -0
  267. package/lib/tcurrency.62763c6d.js +1 -0
  268. package/lib/tdatepicker.8fe48b1b.mjs +52 -0
  269. package/lib/tdatepicker.b19e689d.js +1 -0
  270. package/lib/tdictSwitch.2e07dc8a.js +1 -0
  271. package/lib/tdictSwitch.43d882c7.mjs +60 -0
  272. package/lib/tfile.1bc381f9.js +1 -0
  273. package/lib/tfile.72925615.mjs +62 -0
  274. package/lib/tparticipants.77b876e2.js +1 -0
  275. package/lib/tparticipants.ca5b556c.mjs +56 -0
  276. package/lib/translation.mains.1ce7e110.js +1 -0
  277. package/lib/translation.mains.278e4ba6.mjs +383 -0
  278. package/lib/utils.datepicker.js.2076c2a2.mjs +61 -0
  279. package/lib/utils.datepicker.js.8576e2fc.js +1 -0
  280. package/lib/utils.echarts.js.461a74e7.js +54 -0
  281. package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
  282. package/lib/utils.mixins.js.750ca50e.js +1 -0
  283. package/lib/utils.mixins.js.be01e599.mjs +41 -0
  284. package/lib/utils.util.js.50d1ec9c.js +1 -0
  285. package/lib/utils.util.js.82cd8447.mjs +424 -0
  286. package/lib/view.build.b44fd7d7.js +1 -0
  287. package/lib/view.build.f2a9fcfb.mjs +2727 -0
  288. package/lib/viewList.5a25c4b6.mjs +346 -0
  289. package/lib/viewList.be5a5ec5.js +1 -0
  290. package/locale/en_US.js +38 -22
  291. package/locale/id_ID.js +22 -6
  292. package/locale/vi_VN.js +1929 -1913
  293. package/locale/zh_CN.js +44 -28
  294. package/package.json +106 -105
  295. package/lib/chartbi.114d32d7.js +0 -60
  296. package/lib/chartbi.eb4dd0af.mjs +0 -27639
  297. package/lib/main.083e0ba3.js +0 -1
  298. package/lib/main.4a858284.js +0 -1
  299. package/lib/main.64cb2027.js +0 -1
  300. package/lib/main.70a46cbc.js +0 -1
  301. package/lib/messages.364eb728.js +0 -9
  302. package/lib/system.account.95bd8508.js +0 -216
  303. package/lib/system.account.d6c7485b.mjs +0 -2552
  304. package/lib/system.config.63c0217d.js +0 -1
  305. package/lib/system.datasource.a2c0bad4.js +0 -1
  306. package/lib/system.dict.dfb4c376.js +0 -1
  307. package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
  308. package/lib/system.duplicatechecking.c4141ebd.js +0 -1
  309. package/lib/system.email.545cedff.mjs +0 -7432
  310. package/lib/system.email.ec0ac728.js +0 -41
  311. package/lib/system.fieldsecurity.eb217079.js +0 -1
  312. package/lib/system.file.1cb952a4.js +0 -1
  313. package/lib/system.log.348b3605.js +0 -1
  314. package/lib/system.machine.49fc6405.js +0 -1
  315. package/lib/system.notice.d7a3346d.js +0 -1
  316. package/lib/system.noticereceived.c0b24616.js +0 -1
  317. package/lib/system.onlineuser.b3c94b5b.js +0 -1
  318. package/lib/system.org.30063246.js +0 -1
  319. package/lib/system.permissions.1ff855c2.js +0 -9
  320. package/lib/system.plugin.2c7c8a5a.js +0 -1
  321. package/lib/system.pos.21294c28.js +0 -1
  322. package/lib/system.promptmanagement.7e8da777.js +0 -1
  323. package/lib/system.role.078fac85.js +0 -1
  324. package/lib/system.sumberrules.b0252f77.js +0 -1
  325. package/lib/system.team.296512d7.mjs +0 -1000
  326. package/lib/system.team.5d6169bc.js +0 -1
  327. package/lib/system.teammembers.313345f7.js +0 -1
  328. package/lib/system.timers.8246e6ba.js +0 -38
  329. package/lib/system.translation.fdff4956.js +0 -1
  330. package/lib/system.useraffiliation.0e9da6a8.js +0 -1
  331. package/lib/system.webresource.2a341e05.js +0 -1
  332. package/lib/system.welcome.c9eefa06.js +0 -1
@@ -0,0 +1,701 @@
1
+ import { m as d, n as h } from "./components.chartbi.b043dcdc.mjs";
2
+ import { s as p, a as g, b as y, c as b, d as w, e as $ } from "./http.tabledevelopment.1d370398.mjs";
3
+ import { m as c, u as v } from "./utils.util.js.82cd8447.mjs";
4
+ import { o as D } from "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
5
+ import { E as _ } from "./components.xlsximport.cffa88fe.mjs";
6
+ import k from "./components.teamsharing.fb4351ec.mjs";
7
+ import { t as C } from "./utils.mixins.js.be01e599.mjs";
8
+ const F = {
9
+ data() {
10
+ return {
11
+ tableColumns: [
12
+ {
13
+ type: "selection",
14
+ width: "60",
15
+ fixed: !0
16
+ },
17
+ {
18
+ transKey: "gd.form.name",
19
+ prop: "name",
20
+ label: "\u540D\u79F0",
21
+ width: "260",
22
+ type: "slot",
23
+ slotType: "name",
24
+ align: "left",
25
+ fixed: !0,
26
+ showOverflowTooltip: !0
27
+ },
28
+ {
29
+ transKey: "gd.echarts.type",
30
+ prop: "echartsType",
31
+ width: "160",
32
+ label: "\u56FE\u8868\u7C7B\u578B",
33
+ type: "slot",
34
+ slotType: "echartsType",
35
+ align: "left",
36
+ showOverflowTooltip: !0
37
+ },
38
+ {
39
+ transKey: "gd.echarts.mode",
40
+ prop: "collectWay",
41
+ width: "160",
42
+ label: "\u6C47\u603B\u65B9\u5F0F",
43
+ type: "slot",
44
+ slotType: "collectWay",
45
+ align: "left",
46
+ showOverflowTooltip: !0
47
+ },
48
+ {
49
+ transKey: "gd.settings.echartsColor",
50
+ prop: "colour",
51
+ minWidth: "360",
52
+ label: "\u989C\u8272",
53
+ type: "slot",
54
+ slotType: "colour",
55
+ align: "left",
56
+ showOverflowTooltip: !0
57
+ }
58
+ ],
59
+ formColumns: [],
60
+ tableButtons: [
61
+ {
62
+ displayName: "\u65B0\u589E",
63
+ functionName: "add",
64
+ show: !0,
65
+ transKey: "gd.btn.add",
66
+ icon: "el-icon-plus",
67
+ name: "sysOrg:add"
68
+ },
69
+ {
70
+ displayName: "\u7F16\u8F91",
71
+ functionName: "edit",
72
+ show: !0,
73
+ transKey: "gd.btn.edit",
74
+ icon: "el-icon-edit",
75
+ name: "sysOrg:edit"
76
+ },
77
+ {
78
+ displayName: "\u5220\u9664",
79
+ functionName: "del",
80
+ show: !0,
81
+ transKey: "gd.btn.del",
82
+ icon: "el-icon-delete",
83
+ btnType: "danger",
84
+ name: "sysOrg:delete"
85
+ },
86
+ {
87
+ displayName: "\u5171\u4EAB",
88
+ functionName: "share",
89
+ title: "\u5171\u4EAB",
90
+ show: !0,
91
+ transKey: "gd.btn.share",
92
+ icon: "el-icon-share",
93
+ name: "sysOrg:delete"
94
+ }
95
+ ],
96
+ formButtons: [{
97
+ displayName: "\u786E\u5B9A",
98
+ functionName: "handleSubmit",
99
+ show: !0,
100
+ transKey: "gd.btn.confirm",
101
+ icon: "el-icon-document-checked",
102
+ validate: !0
103
+ }]
104
+ };
105
+ }
106
+ };
107
+ const T = {
108
+ props: {
109
+ table: {
110
+ type: Object,
111
+ default: () => ({})
112
+ },
113
+ holderType: {
114
+ type: [String, Number],
115
+ default: 1
116
+ }
117
+ },
118
+ data() {
119
+ return {
120
+ width: "80%",
121
+ record: null,
122
+ confirmLoading: !1,
123
+ visible: !1,
124
+ fullscreen: !1,
125
+ show: !1,
126
+ buttons: [
127
+ {
128
+ displayName: "\u786E\u5B9A",
129
+ functionName: "handleSubmit",
130
+ show: !0,
131
+ transKey: "gd.btn.confirm",
132
+ icon: "el-icon-document-checked"
133
+ }
134
+ ],
135
+ ruleFormData: {
136
+ tableName: "",
137
+ name: "",
138
+ transKey: "",
139
+ type: "1",
140
+ colorList: [],
141
+ code: "",
142
+ mode: "",
143
+ viewId: "",
144
+ columnName: "",
145
+ list: ""
146
+ },
147
+ list: [],
148
+ viewList: [],
149
+ loadFieldData: [],
150
+ loadCountData: [],
151
+ loadTableData: [],
152
+ selectedRowKeys: [],
153
+ selectedRows: [],
154
+ pid: [],
155
+ tableShow: !1,
156
+ transKey: null,
157
+ loadData: (s) => this.getLoadField(),
158
+ rules: {
159
+ tableName: [
160
+ {
161
+ required: !0,
162
+ message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
163
+ trigger: "change"
164
+ }
165
+ ],
166
+ name: [
167
+ {
168
+ required: !0,
169
+ message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
170
+ trigger: "change"
171
+ }
172
+ ],
173
+ code: [
174
+ {
175
+ required: !0,
176
+ message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
177
+ trigger: "change"
178
+ },
179
+ {
180
+ pattern: /^[a-zA-Z]([a-zA-Z0-9]+)?$/,
181
+ message: this.$i18nt("gd.view.viewNameTip", "\u8BF7\u8F93\u5165\u82F1\u6587\u5B57\u6BCD!")
182
+ }
183
+ ],
184
+ type: [
185
+ {
186
+ required: !0,
187
+ message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
188
+ trigger: "change"
189
+ }
190
+ ],
191
+ list: [
192
+ {
193
+ required: !0,
194
+ message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
195
+ trigger: "change"
196
+ }
197
+ ],
198
+ viewId: [
199
+ {
200
+ required: !0,
201
+ message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
202
+ trigger: "change"
203
+ }
204
+ ]
205
+ },
206
+ tableColumns: [
207
+ {
208
+ type: "selection",
209
+ width: "80"
210
+ },
211
+ {
212
+ type: "selection-radio",
213
+ width: "80"
214
+ },
215
+ {
216
+ transKey: "gd.field.describe",
217
+ prop: "columncomment",
218
+ label: "\u663E\u793A\u540D",
219
+ width: "160",
220
+ align: "left",
221
+ showOverflowTooltip: !0
222
+ },
223
+ {
224
+ transKey: "gd.field.field",
225
+ prop: "columnname",
226
+ label: "\u5B57\u6BB5\u540D",
227
+ width: "140",
228
+ align: "left",
229
+ showOverflowTooltip: !0
230
+ },
231
+ {
232
+ transKey: "gd.field.effectType",
233
+ prop: "effectType",
234
+ label: "\u7C7B\u578B",
235
+ width: "110",
236
+ align: "left",
237
+ type: "slot",
238
+ slotType: "effectType",
239
+ showOverflowTooltip: !0
240
+ }
241
+ ]
242
+ };
243
+ },
244
+ components: { EffectTypeIcon: _ },
245
+ computed: {
246
+ megs() {
247
+ let s = "";
248
+ return this.list.forEach((e, a) => {
249
+ s += a == 0 ? e.alias : " ," + e.alias;
250
+ }), `${this.$i18nt("gd.echarts.selected", "\u5DF2\u9009")}: ${s}`;
251
+ },
252
+ getTableColumns() {
253
+ return this.tableColumns.filter((s) => {
254
+ let e = this.ruleFormData.mode === "1" || this.ruleFormData.columnName !== "" ? "radio" : "checkbox";
255
+ return s.type === "selection" ? e === "checkbox" : s.type === "selection-radio" ? e === "radio" : !0;
256
+ });
257
+ },
258
+ disabled() {
259
+ return !!this.record;
260
+ },
261
+ title() {
262
+ return this.record ? this.$i18nt("gd.https.edit", "\u7F16\u8F91") : this.$i18nt("gd.https.add", "\u65B0\u589E");
263
+ },
264
+ height() {
265
+ let s = this.fullscreen ? 190 : 340;
266
+ return this.screenHeight - s;
267
+ },
268
+ ...d(["screenHeight", "tableLists", "echartsColor", "primaryColor", "tablePageSize", "tableSize"])
269
+ },
270
+ methods: {
271
+ present() {
272
+ (this.list.length === 0 ? 0 : this.type) === 0 ? this.$refs.VEcharts.setType() : this.seeEcharts();
273
+ },
274
+ seeEcharts() {
275
+ const s = this.tableLists.filter((e) => e.tablename === this.ruleFormData.tableName)[0];
276
+ this.$nextTick(() => {
277
+ setTimeout(() => {
278
+ let e = {
279
+ tableId: s.id,
280
+ view: this.viewList.filter((a) => a.id == this.ruleFormData.viewId)[0],
281
+ viewId: this.ruleFormData.viewId,
282
+ mode: this.ruleFormData.mode,
283
+ type: this.ruleFormData.type,
284
+ columnName: this.ruleFormData.columnName,
285
+ list: this.list,
286
+ name: this.ruleFormData.name,
287
+ transKey: this.transKey
288
+ };
289
+ this.$refs.VEcharts.init(e);
290
+ }, 0);
291
+ });
292
+ },
293
+ save() {
294
+ let s = this.record ? this.holderType == 2 ? p : g : y;
295
+ const e = this.tableLists.filter((t) => t.tablename === this.ruleFormData.tableName)[0];
296
+ let a = {
297
+ name: this.ruleFormData.name,
298
+ syscodegenid: e.id,
299
+ collectway: this.ruleFormData.mode,
300
+ echartstype: this.ruleFormData.type,
301
+ classlabel: JSON.stringify(this.list),
302
+ echartsorder: this.ruleFormData.columnName !== "" ? this.ruleFormData.columnName : null,
303
+ echartspreview: this.ruleFormData.viewId !== "" ? this.ruleFormData.viewId : null,
304
+ holdertype: this.holderType,
305
+ colour: this.ruleFormData.colorList.join(","),
306
+ code: this.ruleFormData.code
307
+ };
308
+ this.record && (a = Object.assign(this.record, a)), s(a).then((t) => {
309
+ t.success ? (this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F")), this.$emit("ok"), this.closed()) : this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25:") + t.message), this.confirmLoading = !1;
310
+ });
311
+ },
312
+ handleSubmit() {
313
+ this.confirmLoading = !0, this.$refs.ruleForm.validate((s) => {
314
+ s ? this.save() : this.confirmLoading = !1;
315
+ });
316
+ },
317
+ hidePopover() {
318
+ let s = [];
319
+ this.loadFieldData.forEach((e) => {
320
+ this.selectedRowKeys.filter((t) => e.id === t)[0] && s.push({
321
+ dataIndex: e.dataindex,
322
+ alias: e.alias,
323
+ transKey: e.transkey,
324
+ id: e.id,
325
+ columnComment: e.columncomment,
326
+ dictTypeCode: e.dicttypecode
327
+ }), e.children && e.children.length > 0 && e.children.forEach((t) => {
328
+ if (this.selectedRowKeys.filter((i) => t.id === i)[0]) {
329
+ let i = this.$i18nt(`Dynamics.${e.transkey}`, e.columncomment), l = this.$i18nt(`Dynamics.${t.transkey}`, t.columncomment);
330
+ s.push({
331
+ dataIndex: t.dataindex,
332
+ alias: t.alias,
333
+ transKey: t.transkey,
334
+ id: t.id,
335
+ columnComment: `${l}(${i})`,
336
+ dictTypeCode: t.dicttypecode
337
+ });
338
+ }
339
+ });
340
+ }), this.list = [...s], this.ruleFormData.list = JSON.stringify(s), this.tableShow = !1, this.present();
341
+ },
342
+ showPopover() {
343
+ this.tableShow = !0, this.$nextTick(() => {
344
+ setTimeout(() => {
345
+ this.refresh(!1);
346
+ }, 300);
347
+ });
348
+ },
349
+ getLoadField() {
350
+ return new Promise((s, e) => {
351
+ let a = [...this.loadFieldData].filter((t) => !(t.effecttype == "about" && t.columnname == (t.relations + "_AboutTable").toLowerCase()));
352
+ a.forEach((t, r) => {
353
+ if (t.children && t.children.length > 0) {
354
+ let i = [];
355
+ t.children.forEach((l, E) => {
356
+ if (l.effecttype != "fk" && l.effecttype != "about") {
357
+ let m = this.$i18nt(`Dynamics.${t.transkey}`, t.columncomment), n = this.$i18nt(`Dynamics.${l.transkey}`, l.columncomment), f = Object.assign(
358
+ { ...l },
359
+ { id: l.id + "-" + t.id },
360
+ {
361
+ dataindex: c(l, t),
362
+ alias: `${n}(${m})`,
363
+ transkey: t.transkey ? t.transkey : null,
364
+ transkeys: l.transkey ? l.transkey : null,
365
+ columncommentd: `${n}`
366
+ }
367
+ );
368
+ i.push(f);
369
+ }
370
+ }), i = i.filter((l) => !(l.effecttype == "about" && l.columnname == (l.relations + "_AboutTable").toLowerCase())), this.ruleFormData.mode !== "1" && this.ruleFormData.columnName === "" && (i = i.filter(
371
+ (l) => l.effecttype == "currency" || l.effecttype == "inputnumber" || l.effecttype == "double"
372
+ )), a[r].children = i.length == 0 ? null : [...i];
373
+ }
374
+ a[r].alias = this.$i18nt(`Dynamics.${t.transkey}`, t.columncomment), a[r].dataindex = c(t, t), a[r].transkey = t.transkey ? t.transkey : null, a[r].transkeys = null, a[r].columncommentd = this.$i18nt(`Dynamics.${t.transkey}`, t.columncomment);
375
+ }), this.ruleFormData.mode !== "1" && this.ruleFormData.columnName === "" && (a = a.filter((t) => t.effecttype == "currency" || t.effecttype == "inputnumber" || t.effecttype == "double" ? !0 : !!((t.effecttype == "fk" || t.effecttype == "about") && t.children && t.children.length > 0))), this.loadTableData = [...a], s({ pageNo: 1, pageSize: 200, totalRows: 0, rows: this.loadTableData });
376
+ });
377
+ },
378
+ changeMode() {
379
+ let s = this.show;
380
+ this.show = this.ruleFormData.mode !== "1", s != this.show && (this.ruleFormData.columnName = "", this.ruleFormData.list = "", this.list = [], this.selectedRowKeys = [], this.selectedRows = []), this.present();
381
+ },
382
+ changeColumnName() {
383
+ this.list.length > 1 && (this.list = [], this.selectedRowKeys = [], this.selectedRows = []), this.present();
384
+ },
385
+ changeTable() {
386
+ this.ruleFormData = Object.assign(this.ruleFormData, {
387
+ viewId: "",
388
+ columnName: "",
389
+ list: ""
390
+ }), this.list = [], this.selectedRowKeys = [], this.selectedRows = [], this.init();
391
+ },
392
+ okColor(s) {
393
+ this.ruleFormData.colorList = [...s];
394
+ },
395
+ editEchartsTheme() {
396
+ this.$refs.echartsTheme.open(this.ruleFormData.colorList);
397
+ },
398
+ init() {
399
+ this.confirmLoading = !0, Promise.all([this.getLoadData(), this.getViewList()]).then((s) => {
400
+ this.confirmLoading = !1, this.present();
401
+ });
402
+ },
403
+ open(s) {
404
+ this.record = s, this.visible = !0;
405
+ const e = this.tableLists.filter((a) => a.tablename === this.table.tablename)[0];
406
+ if (this.transKey = s && s.transkey ? s.transkey : null, this.list = s && s.classlabel ? JSON.parse(s.classlabel) : [], this.list.length > 0) {
407
+ let a = [];
408
+ this.list.forEach((t) => {
409
+ a.push(t.id);
410
+ }), this.selectedRowKeys = a;
411
+ }
412
+ this.ruleFormData = {
413
+ tableName: e ? e.tablename : "",
414
+ name: s ? s.name : "",
415
+ type: s ? String(s.echartstype) : "1",
416
+ colorList: s && s.colour ? s.colour.split(",") : [...this.echartsColor],
417
+ code: s ? s.code ? s.code : "" : v(8),
418
+ columnName: s && s.echartsorder ? s.echartsorder : "",
419
+ list: s ? JSON.parse(s.classlabel) : "",
420
+ viewId: s ? Number(s.echartspreview) : "",
421
+ mode: s ? String(s.collectway) : "1",
422
+ transKey: s ? s.transkey : ""
423
+ }, this.show = this.ruleFormData.mode !== "1", this.$nextTick(() => {
424
+ this.$refs.ruleForm.clearValidate(), this.init();
425
+ });
426
+ },
427
+ getViewList() {
428
+ const s = this.tableLists.filter((e) => e.tablename === this.ruleFormData.tableName)[0];
429
+ if (!s)
430
+ return new Promise((e, a) => {
431
+ e();
432
+ });
433
+ b({
434
+ SysCodeGenId: s.id
435
+ }).then((e) => {
436
+ if (e.success) {
437
+ let a = e.data.filter((t) => t.type == 1);
438
+ this.viewList = a;
439
+ }
440
+ });
441
+ },
442
+ getLoadData() {
443
+ const s = this.tableLists.filter((e) => e.tablename === this.ruleFormData.tableName)[0];
444
+ return s ? D({
445
+ codeGenId: s.id
446
+ }).then((e) => {
447
+ let a = [], t = e.data.filter((l) => (l.children && l.children.length > 0 && a.push(l.id), l.effecttype == "about" && l.columnname == (l.relations + "_AboutTable").toLowerCase() ? !1 : !(l.effecttype == "currency" && l.columnname == (l.relations + "_Currency_Base").toLowerCase())));
448
+ this.pid = a, this.loadFieldData = [...e.data];
449
+ let r = t.filter(
450
+ (l) => l.effecttype == "currency" || l.effecttype == "inputnumber" || l.effecttype == "double"
451
+ ), i = t.filter((l) => l.dicttypecode).filter((l) => !!this.isChecked(l.dicttypecode));
452
+ return this.loadCountData = r.concat(i), e.data;
453
+ }) : new Promise((e, a) => {
454
+ e();
455
+ });
456
+ },
457
+ isChecked(s) {
458
+ return this.$options.filters.dictData(s).every((a, t, r) => !isNaN(Number(a.name)));
459
+ },
460
+ refresh(s = !0) {
461
+ this.$refs.table.refresh(s);
462
+ },
463
+ closed() {
464
+ this.fullscreen = !1, this.visible = !1, this.selectedRowKeys = [], this.selectedRows = [];
465
+ },
466
+ toggleFullscreen() {
467
+ this.fullscreen = !this.fullscreen, this.present();
468
+ },
469
+ onSelectChange(s, e) {
470
+ this.selectedRowKeys = s, this.selectedRows = e;
471
+ },
472
+ doEvent(s) {
473
+ let e = s.item.functionName;
474
+ this[e] && this[e]();
475
+ },
476
+ getDictionary(s) {
477
+ return this.$options.filters.dictData(s);
478
+ },
479
+ lookupSeled(s) {
480
+ this.ruleFormData.name = s.defaulttext;
481
+ }
482
+ }
483
+ };
484
+ var N = function() {
485
+ var e = this, a = e._self._c;
486
+ return a("div", [a("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(t) {
487
+ e.visible = t;
488
+ }, closed: e.closed } }, [a("template", { slot: "title" }, [a("gd-modal-title", { attrs: { title: e.title, fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), a("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticClass: "generator-form" }, [a("div", { staticClass: "view-config" }, [a("div", { staticClass: "config-item" }, [e.visible ? a("gd-echarts", { ref: "VEcharts", attrs: { loadData: e.loadFieldData, color: e.ruleFormData.colorList } }) : e._e()], 1), a("div", { staticClass: "config-item config-items" }, [a("div", { staticClass: "b" }, [a("el-form", { ref: "ruleForm", attrs: { "label-width": "110px", "label-position": "top", model: e.ruleFormData, size: "mini", rules: e.rules }, nativeOn: { submit: function(t) {
489
+ t.preventDefault();
490
+ } } }, [a("el-form-item", { attrs: { label: e.$i18nt("gd.view.sourceTable", "\u6765\u6E90\u8868"), prop: "tableName" } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", disabled: !!e.table.tablename }, on: { change: e.changeTable }, model: { value: e.ruleFormData.tableName, callback: function(t) {
491
+ e.$set(e.ruleFormData, "tableName", t);
492
+ }, expression: "ruleFormData.tableName" } }, e._l(e.tableLists, function(t, r) {
493
+ return a("el-option", { key: t.tablename, attrs: { value: t.tablename, label: e.$i18nt(`Dynamics.${t.transkey}`, t.busname) } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.busname)) + " (" + e._s(t.tablename) + ") ")]);
494
+ }), 1)], 1), a("el-form-item", { attrs: { label: e.$i18nt("gd.echarts.name", "\u540D\u79F0"), prop: "name" } }, [e.record ? e._e() : a("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.name, callback: function(t) {
495
+ e.$set(e.ruleFormData, "name", t);
496
+ }, expression: "ruleFormData.name" } }), e.record && e.visible ? a("gd-translation", { ref: "gdTranslation", attrs: { keyI18n: "transKey", recordData: e.ruleFormData, type: 2 }, on: { lookupSeled: e.lookupSeled } }) : e._e()], 1), a("el-form-item", { attrs: { label: e.$i18nt("gd.approval.code", "\u7F16\u7801"), prop: "code" } }, [a("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: e.disabled }, model: { value: e.ruleFormData.code, callback: function(t) {
497
+ e.$set(e.ruleFormData, "code", t);
498
+ }, expression: "ruleFormData.code" } })], 1), a("el-form-item", { attrs: { label: e.$i18nt("gd.echarts.viewId", "\u7528\u4E8E\u56FE\u8868\u9884\u89C8\u7684\u89C6\u56FE"), prop: "viewId" } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: e.present }, model: { value: e.ruleFormData.viewId, callback: function(t) {
499
+ e.$set(e.ruleFormData, "viewId", t);
500
+ }, expression: "ruleFormData.viewId" } }, e._l(e.viewList, function(t, r) {
501
+ return a("el-option", { key: t.id, attrs: { value: t.id, label: e.$i18nt(`Dynamics.${t.transkey}`, t.name) } });
502
+ }), 1)], 1), a("el-form-item", { attrs: { label: e.$i18nt("gd.echarts.type", "\u56FE\u8868\u7C7B\u578B"), prop: "type" } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: e.present }, model: { value: e.ruleFormData.type, callback: function(t) {
503
+ e.$set(e.ruleFormData, "type", t);
504
+ }, expression: "ruleFormData.type" } }, e._l(e.getDictionary("table_echarts_type"), function(t, r) {
505
+ return a("el-option", { key: t.code, attrs: { value: t.code, label: e.$i18nt(`Dynamics.${t.transkey}`, t.name) } }, [a("span", [t.code === "1" ? a("i", { staticClass: "gd-icons gd-icon-zhuzhuangtu" }) : e._e(), t.code === "2" ? a("i", { staticClass: "gd-icons gd-icon-bingtu" }) : e._e(), t.code === "3" ? a("i", { staticClass: "gd-icons gd-icon-loudoutu" }) : e._e(), t.code === "4" ? a("i", { staticClass: "gd-icons gd-icon-zhexiantu" }) : e._e()]), a("span", [e._v(" " + e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.name)) + " ")])]);
506
+ }), 1)], 1), a("el-form-item", { attrs: { label: e.$i18nt("gd.settings.echartsColor", "\u56FE\u8868\u989C\u8272") } }, [a("div", { staticClass: "echarts-color" }, [e._l(e.ruleFormData.colorList, function(t) {
507
+ return [t == 0 ? a("div", { staticClass: "echarts-color-item", style: `background:${e.primaryColor}` }) : a("div", { staticClass: "echarts-color-item", style: `background:${t}` })];
508
+ }), a("div", { staticClass: "echarts-color-btn active-color", on: { click: e.editEchartsTheme } }, [e._v(" " + e._s(e.$i18nt("gd.btn.edit", "\u7F16\u8F91")) + " ")])], 2)]), a("el-form-item", { attrs: { label: e.$i18nt("gd.echarts.mode", "\u6C47\u603B\u65B9\u5F0F"), prop: "mode" } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: e.changeMode }, model: { value: e.ruleFormData.mode, callback: function(t) {
509
+ e.$set(e.ruleFormData, "mode", t);
510
+ }, expression: "ruleFormData.mode" } }, e._l(e.getDictionary("table_echarts_mode"), function(t, r) {
511
+ return a("el-option", { key: t.code, attrs: { value: t.code, label: e.$i18nt(`Dynamics.${t.transkey}`, t.name) } });
512
+ }), 1)], 1), e.show ? a("el-form-item", { attrs: { label: e.$i18nt("gd.echarts.columnName", "\u56FE\u4F8B\u6761\u76EE(\u5E8F\u5217)"), prop: "columnName" } }, [a("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, on: { change: e.changeColumnName }, model: { value: e.ruleFormData.columnName, callback: function(t) {
513
+ e.$set(e.ruleFormData, "columnName", t);
514
+ }, expression: "ruleFormData.columnName" } }, e._l(e.loadCountData, function(t, r) {
515
+ return a("el-option", { key: t.columnname, attrs: { value: t.columnname, label: e.$i18nt(`Dynamics.${t.transkey}`, t.columncomment) } }, [a("EffectTypeIcon", { attrs: { effectType: t.effecttype } }), a("span", [e._v(" " + e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.columncomment)) + " (" + e._s(t.columnname) + ") ")])], 1);
516
+ }), 1), a("el-alert", { staticStyle: { "margin-top": "6px" }, attrs: { title: e.$i18nt(
517
+ "gd.echarts.columnNameTip",
518
+ "\u53EF\u9009\u62E9\u8BA1\u7B97\u5B57\u6BB5(\u6309\u9009\u62E9\u5B57\u6BB5\u8FD0\u7B97)\uFF1B\u5982\u9700\u9009\u62E9\u5B57\u6BB5\u542B\u6709\u5B57\u5178,\u8BF7\u6309\u5B57\u5178\u540D\u79F0\u8BBE\u7F6E\u503C(\u6309\u5B57\u5178\u503C\u540D\u79F0\u8FD0\u7B97)\u3002"
519
+ ), type: "info", "show-icon": "", closable: !1 } })], 1) : e._e(), a("el-form-item", { attrs: { label: e.$i18nt("gd.echarts.label", "\u6C34\u5E73(\u5206\u7C7B)\u8F74\u6807\u7B7E"), prop: "list" } }, [a("el-popover", { attrs: { placement: "top-end", trigger: "click" }, on: { hide: e.hidePopover, show: e.showPopover } }, [a("span", { staticClass: "el-dropdown-link", attrs: { slot: "reference" }, slot: "reference" }, [a("el-button", { attrs: { type: "primary", disabled: e.ruleFormData.tableName === "" } }, [e._v(" " + e._s(e.$i18nt("gd.echarts.addLabel", "\u6DFB\u52A0\u6C34\u5E73(\u5206\u7C7B)\u8F74\u6807\u7B7E")) + " ")])], 1), a("div", [e.tableShow ? a("gd-table-umy", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.getTableColumns, selectedRowKeys: e.selectedRowKeys, height: e.height, showPagination: !1, disabledRowId: e.pid, initialLoading: !1, disabledRefresh: !0, tableTree: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "effectType", fn: function({ column: t, row: r }) {
520
+ return [e._v(" " + e._s(e._f("dictType")("code_gen_effect_type", r.effecttype)) + " ")];
521
+ } }], null, !1, 4060202120) }) : e._e()], 1)]), e.list.length == 0 ? a("el-alert", { staticStyle: { "margin-top": "6px" }, attrs: { title: e.$i18nt("gd.echarts.addsLabel", "\u8BF7\u6DFB\u52A0\u6C34\u5E73(\u5206\u7C7B)\u8F74\u6807\u7B7E"), type: "warning", "show-icon": "", closable: !1 } }) : a("el-alert", { staticStyle: { "margin-top": "6px" }, attrs: { title: e.megs, type: "success", "show-icon": "", closable: !1 } })], 1)], 1)], 1)])])])], 2), a("gd-color-editor", { ref: "echartsTheme", on: { ok: e.okColor } })], 1);
522
+ }, S = [], L = /* @__PURE__ */ h(
523
+ T,
524
+ N,
525
+ S,
526
+ !1,
527
+ null,
528
+ "f8244293",
529
+ null,
530
+ null
531
+ );
532
+ const u = L.exports, G = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
533
+ __proto__: null,
534
+ default: u
535
+ }, Symbol.toStringTag, { value: "Module" }));
536
+ const K = {
537
+ name: "GdPersonalEcharts",
538
+ mixins: [C, F],
539
+ data() {
540
+ return {
541
+ height: 0,
542
+ transKey: "gd.btn.add",
543
+ formLoading: !1,
544
+ loading: !0,
545
+ selectedRowKeys: [],
546
+ selectedRows: [],
547
+ queryParam: {
548
+ tableId: ""
549
+ },
550
+ loadData: (s) => this.queryParam.tableId === "" ? new Promise((e, a) => {
551
+ e({ pageNo: 1, pageSize: 40, totalRows: 0, rows: [] });
552
+ }) : w({
553
+ sysCodeGenId: this.queryParam.tableId,
554
+ holderType: 2
555
+ }).then((e) => ({ pageNo: 1, pageSize: 40, totalRows: 0, rows: e.data })),
556
+ tableNames: "sys_user,sys_team"
557
+ };
558
+ },
559
+ components: { EditForm: u, TeamSharing: k },
560
+ watch: {
561
+ screenHeight() {
562
+ this.getHeight();
563
+ }
564
+ },
565
+ computed: {
566
+ tableData() {
567
+ return this.tableLists.filter((s) => this.queryParam.tableId === s.id)[0];
568
+ },
569
+ style() {
570
+ return `min-height:${this.height == 0 ? 600 : this.height}px`;
571
+ },
572
+ getHig() {
573
+ return this.height - 24;
574
+ },
575
+ ...d(["tablePageSize", "tableSize", "echartsColor", "primaryColor", "tableLists", "screenHeight", "seekTableId"])
576
+ },
577
+ methods: {
578
+ share() {
579
+ if (this.selectedRowKeys.length === 0) {
580
+ this.$message.warning(this.$i18nt("gd.https.shareTip", "\u8BF7\u9009\u62E9\u8981\u5171\u4EAB\u7684\u6570\u636E!"));
581
+ return;
582
+ }
583
+ if (this.selectedRowKeys.length > 1) {
584
+ this.$message.warning(this.$i18nt("gd.https.shareTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u5171\u4EAB!"));
585
+ return;
586
+ }
587
+ this.$refs.teamSharing.open(this.selectedRowKeys[0]);
588
+ },
589
+ getHeight() {
590
+ const s = document.getElementById("gd-layout-head-height"), e = s ? s.offsetHeight : 0, a = 80;
591
+ this.height = this.screenHeight - e - a, this.queryParam.tableId === "" && (this.queryParam.tableId = this.seekTableId ? Number(this.seekTableId) : this.tableLists[0].id), this.refresh();
592
+ },
593
+ getColor(s) {
594
+ return s.colour ? s.colour.split(",") : [...this.echartsColor];
595
+ },
596
+ refresh() {
597
+ this.$refs.table.refresh();
598
+ },
599
+ editForm(s) {
600
+ this.transKey = "gd.btn.edit", this.$refs.editForm.open(s);
601
+ },
602
+ del() {
603
+ if (this.selectedRowKeys.length === 0) {
604
+ this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
605
+ return;
606
+ }
607
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
608
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
609
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
610
+ showClose: !1,
611
+ confirmButtonLoading: !1,
612
+ cancelButtonLoading: !1,
613
+ closeOnClickModal: !1,
614
+ type: "warning",
615
+ confirmButtonClass: "el-button--danger",
616
+ customClass: "custom-alert",
617
+ callback: () => {
618
+ },
619
+ beforeClose: (s, e, a) => {
620
+ this.delHand(s, e, a);
621
+ }
622
+ });
623
+ },
624
+ delHand(s, e, a) {
625
+ if (s !== "confirm") {
626
+ a();
627
+ return;
628
+ }
629
+ e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, $({
630
+ ids: this.selectedRowKeys.join(",")
631
+ }).then((t) => {
632
+ a(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, t.success ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + t.message), this.refresh();
633
+ });
634
+ },
635
+ add() {
636
+ this.transKey = "gd.btn.add", this.$refs.editForm.open(null);
637
+ },
638
+ edit() {
639
+ if (this.selectedRowKeys.length === 0) {
640
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
641
+ return;
642
+ }
643
+ if (this.selectedRowKeys.length > 1) {
644
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
645
+ return;
646
+ }
647
+ this.editForm(this.selectedRows[0]);
648
+ },
649
+ refresh() {
650
+ this.$refs.table.refresh();
651
+ },
652
+ onSelectChange(s, e) {
653
+ this.selectedRowKeys = s, this.selectedRows = e;
654
+ },
655
+ doEvent(s) {
656
+ let e = s.item.functionName;
657
+ this[e] && this[e]();
658
+ }
659
+ },
660
+ mounted() {
661
+ this.getHeight();
662
+ }
663
+ };
664
+ var x = function() {
665
+ var e = this, a = e._self._c;
666
+ return a("div", { staticClass: "gd-personal-echarts", style: e.style }, [a("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.height, showPagination: !1, initialLoading: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: t, row: r }) {
667
+ return [a("gd-tooltip", { attrs: { rowKey: "name", row: r, highlight: "", transKey: `Dynamics.${r.transKey}` }, on: { click: e.editForm } })];
668
+ } }, { key: "echartsType", fn: function({ column: t, row: r }) {
669
+ return [r.echartstype == 1 ? a("i", { staticClass: "active-color gd-icons gd-icon-zhuzhuangtu" }) : r.echartstype == 2 ? a("i", { staticClass: "active-color gd-icons gd-icon-bingtu" }) : r.echartstype == 3 ? a("i", { staticClass: "active-color gd-icons gd-icon-loudoutu" }) : r.echartstype == 4 ? a("i", { staticClass: "active-color gd-icons gd-icon-zhexiantu" }) : e._e(), e._v(" " + e._s(e._f("dictType")("table_echarts_type", r.echartstype)) + " ")];
670
+ } }, { key: "collectWay", fn: function(t) {
671
+ return [e._v(" " + e._s(e._f("dictType")("table_echarts_mode", t.row.collectway)) + " ")];
672
+ } }, { key: "colour", fn: function({ column: t, row: r }) {
673
+ return [a("div", { staticClass: "follow-theme" }, [e._l(e.getColor(r), function(i, l) {
674
+ return [a("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], attrs: { content: i === "0" ? e.$i18nt("gd.settings.followTheme", "\u8DDF\u968F\u7CFB\u7EDF\u4E3B\u9898\u8272") : i, placement: "top", "open-delay": 50 } }, [i === "0" ? a("div", { style: `background:${e.primaryColor};width: 15px;height: 15px;margin-right: 4px;` }) : a("div", { style: `background:${i};width: 15px;height: 15px;margin-right: 4px;` })])];
675
+ })], 2)];
676
+ } }, { key: "operator", fn: function() {
677
+ return [a("div", { staticClass: "gd-table-operator" }, [a("div", { staticClass: "gd-table-operatorl", staticStyle: { width: "260px" } }, [a("el-select", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.fieldSecurity.table", "\u8868"), "reserve-keyword": "", filterable: "", remote: "" }, on: { change: e.refresh }, model: { value: e.queryParam.tableId, callback: function(t) {
678
+ e.$set(e.queryParam, "tableId", t);
679
+ }, expression: "queryParam.tableId" } }, e._l(e.tableLists, function(t) {
680
+ return a("el-option", { key: t.id, attrs: { label: e.$i18nt(`Dynamics.${t.transkey}`, t.busname), value: t.id } }, [a("span", [e._v(" " + e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.busname)) + " " + e._s(t.tablename) + " ")])]);
681
+ }), 1), a("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [a("i", { staticClass: "el-input__icon el-icon-search" })])], 1), a("div", { staticClass: "gd-table-operatorr" }, [a("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
682
+ }, proxy: !0 }]) }), a("EditForm", { ref: "editForm", attrs: { table: e.tableData, holderType: 2 }, on: { ok: e.refresh } }), a("TeamSharing", { ref: "teamSharing", attrs: { tableData: { tablename: "sys_echarts" }, tableNames: e.tableNames }, on: { ok: e.refresh } })], 1);
683
+ }, I = [], R = /* @__PURE__ */ h(
684
+ K,
685
+ x,
686
+ I,
687
+ !1,
688
+ null,
689
+ "9714184f",
690
+ null,
691
+ null
692
+ );
693
+ const o = R.exports;
694
+ o.install = function(s) {
695
+ s.component(o.name, o);
696
+ };
697
+ export {
698
+ o as G,
699
+ G as a,
700
+ u as e
701
+ };