gds-plus-design-vue 1.2.62 → 1.2.71

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 (411) hide show
  1. package/lib/addPermission.179a09f4.mjs +443 -0
  2. package/lib/addPermission.c72ebbe0.js +1 -0
  3. package/lib/approvalModel.7b550187.mjs +340 -0
  4. package/lib/approvalModel.7cfcac3c.js +1 -0
  5. package/lib/attribute.3fed1dd9.js +1 -0
  6. package/lib/attribute.e9a8faa1.mjs +367 -0
  7. package/lib/businessRules.cf106f09.js +1 -0
  8. package/lib/businessRules.d7d35011.mjs +539 -0
  9. package/lib/buttonRule.2afe380d.mjs +396 -0
  10. package/lib/buttonRule.737e8e3f.js +1 -0
  11. package/lib/chartDisplayRules.370065e8.mjs +288 -0
  12. package/lib/chartDisplayRules.c9162f81.js +1 -0
  13. package/lib/components.chartbi.3bbac955.js +8 -0
  14. package/lib/components.chartbi.571c5ff5.mjs +1813 -0
  15. package/lib/components.coloreditor.06cf0433.mjs +1505 -0
  16. package/lib/components.coloreditor.f81d322a.js +6 -0
  17. package/lib/components.dataassign.21d3938b.mjs +147 -0
  18. package/lib/components.dataassign.565d22c0.js +1 -0
  19. package/lib/components.echarts.490abdfa.mjs +811 -0
  20. package/lib/components.echarts.fe84f881.js +4 -0
  21. package/lib/components.exception.374f2ad9.js +1 -0
  22. package/lib/components.exception.ee1c4f83.mjs +61 -0
  23. package/lib/components.form.5533a8c3.js +41 -0
  24. package/lib/components.form.db8af727.mjs +7813 -0
  25. package/lib/components.globalheader.2eb787a4.js +1 -0
  26. package/lib/components.globalheader.b3b35343.mjs +54 -0
  27. package/lib/components.iconselector.8940b1a9.mjs +1169 -0
  28. package/lib/components.iconselector.f5a58033.js +1 -0
  29. package/lib/components.imgpreview.d97cf25c.js +1 -0
  30. package/lib/components.imgpreview.f05b3e06.mjs +213 -0
  31. package/lib/components.lunccalendar.18f84642.js +1 -0
  32. package/lib/components.lunccalendar.2a097955.mjs +1137 -0
  33. package/lib/components.middleware.43b9b264.js +1 -0
  34. package/lib/components.middleware.de012955.mjs +148 -0
  35. package/lib/components.modaltitle.5060623f.mjs +127 -0
  36. package/lib/components.modaltitle.957cab33.js +1 -0
  37. package/lib/components.multitab.5eb6edff.mjs +140 -0
  38. package/lib/components.multitab.80eeb3ae.js +1 -0
  39. package/lib/components.selecttree.2fe70d88.js +1 -0
  40. package/lib/components.selecttree.756c4d22.mjs +170 -0
  41. package/lib/components.settingdrawer.29dbc31e.mjs +237 -0
  42. package/lib/components.settingdrawer.8c12650b.js +1 -0
  43. package/lib/components.sidemenu.0673fe0a.mjs +277 -0
  44. package/lib/components.sidemenu.240dfde7.js +1 -0
  45. package/lib/components.sidenavmenu.b1330d69.js +1 -0
  46. package/lib/components.sidenavmenu.fa81ff82.mjs +1147 -0
  47. package/lib/components.statuschange.858b72e8.js +1 -0
  48. package/lib/components.statuschange.fae4adba.mjs +116 -0
  49. package/lib/components.table.1e338902.js +8 -0
  50. package/lib/components.table.9ed77207.mjs +4650 -0
  51. package/lib/components.tableumy.1d804d70.js +1 -0
  52. package/lib/components.tableumy.3e1c9a5b.mjs +453 -0
  53. package/lib/components.tablevirtual.66890b2c.mjs +564 -0
  54. package/lib/components.tablevirtual.8e21a6e7.js +1 -0
  55. package/lib/components.teamsharing.3a17ddc0.mjs +373 -0
  56. package/lib/components.teamsharing.89e668fd.js +1 -0
  57. package/lib/components.tooltip.0ea7e2b1.js +1 -0
  58. package/lib/components.tooltip.376d95fe.mjs +86 -0
  59. package/lib/components.uploadfile.0a5a1608.mjs +228 -0
  60. package/lib/components.uploadfile.8e0e702c.js +1 -0
  61. package/lib/components.uploadimg.bc160e00.js +1 -0
  62. package/lib/components.uploadimg.decb0360.mjs +192 -0
  63. package/lib/components.verificationcode.140533c7.js +1 -0
  64. package/lib/components.verificationcode.7091b10b.mjs +71 -0
  65. package/lib/components.viewformdetails.940addba.js +1 -0
  66. package/lib/components.viewformdetails.d241c652.mjs +1081 -0
  67. package/lib/components.viewloading.1e9f4b3c.js +1 -0
  68. package/lib/components.viewloading.aae3aab4.mjs +99 -0
  69. package/lib/components.watermark.2ec3260c.mjs +53 -0
  70. package/lib/components.watermark.d9ec8130.js +2 -0
  71. package/lib/components.xlsxexport.0d1553b1.js +1 -0
  72. package/lib/components.xlsxexport.c33f83ca.mjs +263 -0
  73. package/lib/components.xlsximport.81df7841.mjs +922 -0
  74. package/lib/components.xlsximport.8c209857.js +1 -0
  75. package/lib/copy.8db86d9f.mjs +572 -0
  76. package/lib/copy.a8753f38.js +1 -0
  77. package/lib/createFile.04a6b293.js +1 -0
  78. package/lib/createFile.4cac1673.mjs +439 -0
  79. package/lib/createSubfolders.e105fa86.js +1 -0
  80. package/lib/createSubfolders.eac5ccae.mjs +154 -0
  81. package/lib/dialogLayout.bf435838.mjs +138 -0
  82. package/lib/dialogLayout.f0779aed.js +1 -0
  83. package/lib/drawerContainer.6ab3df46.mjs +163 -0
  84. package/lib/drawerContainer.8f9df583.js +1 -0
  85. package/lib/drawerLayout.b6c7c3c6.js +1 -0
  86. package/lib/drawerLayout.e3c0164d.mjs +119 -0
  87. package/lib/editForm.0f3fd3b0.js +1 -0
  88. package/lib/editForm.aef93ed0.mjs +434 -0
  89. package/lib/extendedAttributes.ea93dbaa.mjs +293 -0
  90. package/lib/extendedAttributes.ef3ead02.js +1 -0
  91. package/lib/fileSearch.43465e1c.js +1 -0
  92. package/lib/fileSearch.5c8a883d.mjs +363 -0
  93. package/lib/flow.designer.81c29f62.mjs +7673 -0
  94. package/lib/flow.designer.ffd0aa8b.js +1 -0
  95. package/lib/flow.list.4c05f2f0.js +1 -0
  96. package/lib/flow.list.ab420927.mjs +3032 -0
  97. package/lib/form.build.724d3357.js +1 -0
  98. package/lib/form.build.d04773f0.mjs +259 -0
  99. package/lib/form.designer.build.c82cb559.mjs +2529 -0
  100. package/lib/form.designer.build.dac501fa.js +1 -0
  101. package/lib/formFiled.4b5062d7.js +1 -0
  102. package/lib/formFiled.c949a27f.mjs +507 -0
  103. package/lib/gd-initial.js +1 -35
  104. package/lib/gd-initial.mjs +245 -91338
  105. package/lib/http.appmanage.b998818f.js +1 -0
  106. package/lib/http.appmanage.e389782d.mjs +50 -0
  107. package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
  108. package/lib/http.codegeneratemanage.e3db2f09.js +1 -0
  109. package/lib/http.configmanage.6cfb8ae7.js +1 -0
  110. package/lib/http.configmanage.c23c7fa8.mjs +34 -0
  111. package/lib/http.currencymanage.37ab5ced.js +1 -0
  112. package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
  113. package/lib/http.datasource.294b01e2.js +1 -0
  114. package/lib/http.datasource.aa5cd0d1.mjs +58 -0
  115. package/lib/http.dictdatamanage.2583b5ae.mjs +42 -0
  116. package/lib/http.dictdatamanage.70545d8a.js +1 -0
  117. package/lib/http.dictmanage.3dc07b5d.js +1 -0
  118. package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
  119. package/lib/http.duplicatechecking.9b79ce21.mjs +50 -0
  120. package/lib/http.duplicatechecking.ee5c414c.js +1 -0
  121. package/lib/http.emailmanage.1ddaa8b5.js +1 -0
  122. package/lib/http.emailmanage.64fd611f.mjs +18 -0
  123. package/lib/http.filedocument.6fdfc693.js +1 -0
  124. package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
  125. package/lib/http.filemanage.7e6e3e1a.js +1 -0
  126. package/lib/http.filemanage.c0de21d6.mjs +71 -0
  127. package/lib/http.languagemanage.2ef16159.mjs +10 -0
  128. package/lib/http.languagemanage.e2c098ec.js +1 -0
  129. package/lib/http.loginmanage.05500c29.mjs +74 -0
  130. package/lib/http.loginmanage.326984c3.js +1 -0
  131. package/lib/http.logmanage.1e12a9bd.js +1 -0
  132. package/lib/http.logmanage.8ba72635.mjs +82 -0
  133. package/lib/http.machinemanage.29d72a65.js +1 -0
  134. package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
  135. package/lib/http.main.2f8a6936.js +1 -0
  136. package/lib/http.main.aefea27d.mjs +517 -0
  137. package/lib/http.menumanage.3060f4c7.mjs +66 -0
  138. package/lib/http.menumanage.6d740f2c.js +1 -0
  139. package/lib/http.message.87f319d7.js +1 -0
  140. package/lib/http.message.ceb0a1c6.mjs +178 -0
  141. package/lib/http.noticemanage.2507d094.js +1 -0
  142. package/lib/http.noticemanage.2cdb23b8.mjs +82 -0
  143. package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
  144. package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
  145. package/lib/http.onlineusermanage.3893f897.js +1 -0
  146. package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
  147. package/lib/http.orgmanage.0b1df8d5.mjs +58 -0
  148. package/lib/http.orgmanage.5162fd7a.js +1 -0
  149. package/lib/http.pluginmanage.54720675.mjs +82 -0
  150. package/lib/http.pluginmanage.6a876040.js +1 -0
  151. package/lib/http.posmanage.c0f80aec.js +1 -0
  152. package/lib/http.posmanage.ee6a7613.mjs +34 -0
  153. package/lib/http.promptmanagement.d115c4b0.js +1 -0
  154. package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
  155. package/lib/http.rolemanage.4d1101dd.js +1 -0
  156. package/lib/http.rolemanage.da5c40e9.mjs +146 -0
  157. package/lib/http.solution.b10d9197.mjs +91 -0
  158. package/lib/http.solution.c6b2634f.js +1 -0
  159. package/lib/http.sumberrules.0b68ce6d.js +1 -0
  160. package/lib/http.sumberrules.176d3d06.mjs +34 -0
  161. package/lib/http.sysapps.469d47f7.js +1 -0
  162. package/lib/http.sysapps.932ba43b.mjs +58 -0
  163. package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
  164. package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
  165. package/lib/http.tabledevelopment.3dcb3e97.mjs +362 -0
  166. package/lib/http.tabledevelopment.a880bb76.js +1 -0
  167. package/lib/http.team.a9c609d5.mjs +90 -0
  168. package/lib/http.team.e45400d5.js +1 -0
  169. package/lib/http.timersmanage.6e894942.js +1 -0
  170. package/lib/http.timersmanage.c79afb66.mjs +146 -0
  171. package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
  172. package/lib/http.timezonemanage.e0aa212f.js +1 -0
  173. package/lib/http.translationmanage.1f9dce46.js +1 -0
  174. package/lib/http.translationmanage.f8694b51.mjs +104 -0
  175. package/lib/http.useraffiliation.af2013ad.js +1 -0
  176. package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
  177. package/lib/http.usermanage.6dcbc7de.js +1 -0
  178. package/lib/http.usermanage.f5491144.mjs +219 -0
  179. package/lib/http.webresource.1a1a768f.mjs +50 -0
  180. package/lib/http.webresource.7c01b9cd.js +1 -0
  181. package/lib/index.9deaa991.mjs +25906 -0
  182. package/lib/index.d95c407c.js +8 -0
  183. package/lib/layoutBlocks.26e1b57b.js +1 -0
  184. package/lib/layoutBlocks.31454610.mjs +413 -0
  185. package/lib/layoutItem.c1c836a1.js +1 -0
  186. package/lib/layoutItem.cf18143e.mjs +71 -0
  187. package/lib/layouts.2d06f3e9.js +2 -0
  188. package/lib/layouts.3b383d04.mjs +373 -0
  189. package/lib/main.09d48801.js +1 -0
  190. package/lib/main.28b7c398.js +1 -0
  191. package/lib/main.29e204f9.mjs +166 -0
  192. package/lib/main.33443996.mjs +231 -0
  193. package/lib/main.357c50d2.js +1 -0
  194. package/lib/{main.fb4a8edf.mjs → main.3e886f21.mjs} +113 -188
  195. package/lib/{main.7921130e.mjs → main.419a7b42.mjs} +4 -4
  196. package/lib/main.4a38d5f8.js +1 -0
  197. package/lib/{main.c569c0a5.mjs → main.60329866.mjs} +12 -10
  198. package/lib/main.60c2a1a2.js +1 -0
  199. package/lib/main.61c9e5c6.mjs +537 -0
  200. package/lib/main.643d21a0.mjs +552 -0
  201. package/lib/main.64ddb5f6.mjs +189 -0
  202. package/lib/main.728eaf53.js +1 -0
  203. package/lib/main.892caa37.js +1 -0
  204. package/lib/main.aea9b6a8.mjs +323 -0
  205. package/lib/main.b7a5a02b.js +1 -0
  206. package/lib/main.c71e5b11.js +1 -0
  207. package/lib/main.edc0b23b.js +1 -0
  208. package/lib/{main.5a6c881a.mjs → main.f520fcf5.mjs} +9 -8
  209. package/lib/manage.101f1aa9.js +1 -0
  210. package/lib/manage.f4000654.mjs +441 -0
  211. package/lib/messages.fieldconfiguration.0d98a290.mjs +1097 -0
  212. package/lib/messages.fieldconfiguration.ad4d11cf.js +1 -0
  213. package/lib/messages.messagetemplate.32273e00.js +7 -0
  214. package/lib/messages.messagetemplate.7adbbc58.mjs +1319 -0
  215. package/lib/messages.sendplan.7d0097c2.mjs +1054 -0
  216. package/lib/messages.sendplan.fbac188d.js +1 -0
  217. package/lib/messages.sendrecord.ef80d44a.js +2 -0
  218. package/lib/messages.sendrecord.f0d2fd54.mjs +651 -0
  219. package/lib/messages.templatelibrary.ec512390.js +2 -0
  220. package/lib/messages.templatelibrary.ff151513.mjs +808 -0
  221. package/lib/mobile.designer.componentstree.03f61105.js +1 -0
  222. package/lib/mobile.designer.componentstree.4a1442dc.mjs +2064 -0
  223. package/lib/mobile.designer.menutree.0a2f7911.mjs +1036 -0
  224. package/lib/mobile.designer.menutree.97bb4046.js +1 -0
  225. package/lib/moveFile.335ebc8d.js +1 -0
  226. package/lib/moveFile.d71c0824.mjs +276 -0
  227. package/lib/page.build.376104d5.mjs +3164 -0
  228. package/lib/page.build.37b26617.js +12 -0
  229. package/lib/page.designer.componentstree.0ffc933d.js +1 -0
  230. package/lib/page.designer.componentstree.b0ecddd8.mjs +2958 -0
  231. package/lib/page.designer.fieldfiltering.1ecd65a3.mjs +430 -0
  232. package/lib/page.designer.fieldfiltering.7e913256.js +1 -0
  233. package/lib/page.designer.menutree.2c1846bc.mjs +5952 -0
  234. package/lib/page.designer.menutree.c49d9ee6.js +1 -0
  235. package/lib/page.designer.operation.6179b661.js +1 -0
  236. package/lib/page.designer.operation.80b1a5d1.mjs +44 -0
  237. package/lib/page.designer.page.09402332.js +1 -0
  238. package/lib/page.designer.page.6d8232c7.mjs +10638 -0
  239. package/lib/personal.echarts.414b7e3d.mjs +268 -0
  240. package/lib/personal.echarts.b7ee86f4.js +1 -0
  241. package/lib/result.0c089066.mjs +639 -0
  242. package/lib/result.9282a717.js +1 -0
  243. package/lib/router.config.68077a12.js +1 -0
  244. package/lib/router.config.86225b11.mjs +1424 -0
  245. package/lib/solution.application.d459e382.js +1 -0
  246. package/lib/solution.application.e0d58df1.mjs +548 -0
  247. package/lib/solution.applicationmenu.71ef6b8e.mjs +508 -0
  248. package/lib/solution.applicationmenu.ae295083.js +1 -0
  249. package/lib/solution.approvalflow.436b3502.js +1 -0
  250. package/lib/solution.approvalflow.bef7fbdd.mjs +436 -0
  251. package/lib/solution.dict.acbe9c55.js +1 -0
  252. package/lib/solution.dict.ef98b194.mjs +769 -0
  253. package/lib/solution.menu.5c17348f.mjs +432 -0
  254. package/lib/solution.menu.cca5e1f9.js +1 -0
  255. package/lib/solution.plugin.90f8dcc1.mjs +347 -0
  256. package/lib/solution.plugin.f9a8063f.js +1 -0
  257. package/lib/solution.processflow.2692dac6.js +1 -0
  258. package/lib/solution.processflow.c1544b05.mjs +392 -0
  259. package/lib/solution.role.b1ab40dd.mjs +456 -0
  260. package/lib/solution.role.b28c4dbe.js +1 -0
  261. package/lib/solution.webresources.0b51beba.mjs +379 -0
  262. package/lib/solution.webresources.6961cc68.js +1 -0
  263. package/lib/solution.workflow.11e49e25.js +1 -0
  264. package/lib/solution.workflow.c48545d1.mjs +395 -0
  265. package/lib/store.config.03dd7b19.mjs +547 -0
  266. package/lib/store.config.556bd56b.js +1 -0
  267. package/lib/style.css +3 -3
  268. package/lib/system.account.1cadbf03.mjs +2093 -0
  269. package/lib/system.account.5cc9fe8d.js +216 -0
  270. package/lib/system.config.a0b94e40.js +1 -0
  271. package/lib/{system.config.00dd0a29.mjs → system.config.a9a1ee96.mjs} +7 -6
  272. package/lib/system.datasource.6c30ce25.js +1 -0
  273. package/lib/{system.datasource.eb8d16df.mjs → system.datasource.c103a9c2.mjs} +15 -64
  274. package/lib/{system.dict.787ff1ec.mjs → system.dict.0c229d1c.mjs} +269 -344
  275. package/lib/system.dict.6b000092.js +1 -0
  276. package/lib/system.document.f67c2994.mjs +667 -0
  277. package/lib/system.document.f8fd7af0.js +1 -0
  278. package/lib/system.duplicatechecking.94c7ce17.mjs +722 -0
  279. package/lib/system.duplicatechecking.f4cab147.js +1 -0
  280. package/lib/system.email.11ab6f31.js +1 -0
  281. package/lib/system.email.13823361.mjs +133 -0
  282. package/lib/system.fieldsecurity.2ef2881c.js +1 -0
  283. package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.d35acd97.mjs} +486 -938
  284. package/lib/{system.file.eae6eac2.mjs → system.file.30d3e7bc.mjs} +84 -151
  285. package/lib/system.file.b9f8320c.js +1 -0
  286. package/lib/system.log.470d3efd.js +1 -0
  287. package/lib/{system.log.9bf208c1.mjs → system.log.815840d8.mjs} +24 -93
  288. package/lib/{system.machine.0130e762.mjs → system.machine.1665954f.mjs} +5 -25
  289. package/lib/system.machine.f8aff893.js +1 -0
  290. package/lib/{system.notice.dba4c597.mjs → system.notice.bef6c23c.mjs} +1075 -1255
  291. package/lib/system.notice.db26f308.js +1 -0
  292. package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.0d293a87.mjs} +19 -27
  293. package/lib/system.noticereceived.84b88b9a.js +1 -0
  294. package/lib/system.onlineuser.985621a6.js +1 -0
  295. package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.bccb1cd9.mjs} +36 -38
  296. package/lib/{system.org.6da23c73.mjs → system.org.92f4d7f1.mjs} +3 -3
  297. package/lib/system.org.9f87a010.js +1 -0
  298. package/lib/system.permissions.15e6b8b7.js +1 -0
  299. package/lib/system.permissions.be9238ee.mjs +972 -0
  300. package/lib/system.plugin.0bccfec4.js +1 -0
  301. package/lib/{system.plugin.f8765f96.mjs → system.plugin.af27d7ac.mjs} +503 -552
  302. package/lib/system.pos.61e58a92.js +1 -0
  303. package/lib/{system.pos.5645b45a.mjs → system.pos.fe067063.mjs} +31 -62
  304. package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.0b9083c5.mjs} +318 -450
  305. package/lib/system.promptmanagement.e750de82.js +1 -0
  306. package/lib/{system.role.0c6c327d.mjs → system.role.67f62146.mjs} +512 -486
  307. package/lib/system.role.e86b60f1.js +1 -0
  308. package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.093d998e.mjs} +169 -192
  309. package/lib/system.sumberrules.810f7b55.js +1 -0
  310. package/lib/system.team.58ee701b.js +1 -0
  311. package/lib/system.team.8911fd95.mjs +452 -0
  312. package/lib/system.teammembers.1880f962.js +1 -0
  313. package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.35564a00.mjs} +257 -199
  314. package/lib/{system.timers.63d03fc9.mjs → system.timers.4b2d509f.mjs} +2202 -2278
  315. package/lib/system.timers.9e956553.js +38 -0
  316. package/lib/system.translation.26b6bb39.js +1 -0
  317. package/lib/{system.translation.52452a24.mjs → system.translation.60ec676c.mjs} +437 -431
  318. package/lib/system.user.134a3988.js +14 -0
  319. package/lib/{system.user.8d97a219.mjs → system.user.9a02295e.mjs} +1082 -1025
  320. package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.96695aeb.mjs} +419 -412
  321. package/lib/system.useraffiliation.c2421c7e.js +1 -0
  322. package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.016d0000.mjs} +177 -219
  323. package/lib/system.webresource.e92e8a8f.js +1 -0
  324. package/lib/{system.welcome.14785b50.mjs → system.welcome.127b5dd4.mjs} +10 -3
  325. package/lib/system.welcome.ff0c85e2.js +1 -0
  326. package/lib/table.definition..btnconfig.9847cac5.mjs +938 -0
  327. package/lib/table.definition..btnconfig.ce57ed41.js +1 -0
  328. package/lib/table.definition..echartsconfig.625bce88.mjs +2150 -0
  329. package/lib/table.definition..echartsconfig.d2b65881.js +1 -0
  330. package/lib/tableDescriptions.a4196776.mjs +80 -0
  331. package/lib/tableDescriptions.b9b0d7fa.js +1 -0
  332. package/lib/tcheckboxs.7ea99d35.js +1 -0
  333. package/lib/tcheckboxs.999b7c2e.mjs +52 -0
  334. package/lib/tcurrency.4afb9192.mjs +85 -0
  335. package/lib/tcurrency.8a2361f2.js +1 -0
  336. package/lib/tdatepicker.606214fa.mjs +52 -0
  337. package/lib/tdatepicker.8e94a60c.js +1 -0
  338. package/lib/tdictSwitch.ccbdd153.js +1 -0
  339. package/lib/tdictSwitch.e016d4cf.mjs +60 -0
  340. package/lib/tfile.3f39223d.mjs +62 -0
  341. package/lib/tfile.b3ebdc71.js +1 -0
  342. package/lib/tparticipants.5fe27540.mjs +56 -0
  343. package/lib/tparticipants.78c8c175.js +1 -0
  344. package/lib/translation.mains.2688be5b.mjs +383 -0
  345. package/lib/translation.mains.a6f19343.js +1 -0
  346. package/lib/utils.datepicker.js.0a5a699e.js +1 -0
  347. package/lib/utils.datepicker.js.5549a741.mjs +70 -0
  348. package/lib/utils.echarts.js.461a74e7.js +54 -0
  349. package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
  350. package/lib/utils.mixins.js.750ca50e.js +1 -0
  351. package/lib/utils.mixins.js.be01e599.mjs +41 -0
  352. package/lib/utils.plug.js.9313aead.mjs +31 -0
  353. package/lib/utils.plug.js.f62510ce.js +1 -0
  354. package/lib/utils.util.js.333daba2.mjs +439 -0
  355. package/lib/utils.util.js.c0ba699b.js +1 -0
  356. package/lib/versionControl.46a7f31a.js +1 -0
  357. package/lib/versionControl.c53bfb5d.mjs +488 -0
  358. package/lib/versionEdit.4246d5db.js +1 -0
  359. package/lib/versionEdit.5a8292ec.mjs +452 -0
  360. package/lib/view.build.85732408.mjs +1578 -0
  361. package/lib/view.build.e43a2077.js +1 -0
  362. package/lib/viewList.868edcd7.js +1 -0
  363. package/lib/viewList.978b72c5.mjs +324 -0
  364. package/lib/viewTree.7497ff90.js +1 -0
  365. package/lib/viewTree.bde43a3b.mjs +409 -0
  366. package/locale/en_US.js +82 -27
  367. package/locale/id_ID.js +66 -11
  368. package/locale/vi_VN.js +1968 -1913
  369. package/locale/zh_CN.js +88 -32
  370. package/package.json +106 -105
  371. package/lib/chartbi.114d32d7.js +0 -60
  372. package/lib/chartbi.eb4dd0af.mjs +0 -27639
  373. package/lib/main.083e0ba3.js +0 -1
  374. package/lib/main.4a858284.js +0 -1
  375. package/lib/main.64cb2027.js +0 -1
  376. package/lib/main.70a46cbc.js +0 -1
  377. package/lib/messages.364eb728.js +0 -9
  378. package/lib/messages.5bcc42f9.mjs +0 -5863
  379. package/lib/system.account.95bd8508.js +0 -216
  380. package/lib/system.account.d6c7485b.mjs +0 -2552
  381. package/lib/system.config.63c0217d.js +0 -1
  382. package/lib/system.datasource.a2c0bad4.js +0 -1
  383. package/lib/system.dict.dfb4c376.js +0 -1
  384. package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
  385. package/lib/system.duplicatechecking.c4141ebd.js +0 -1
  386. package/lib/system.email.545cedff.mjs +0 -7432
  387. package/lib/system.email.ec0ac728.js +0 -41
  388. package/lib/system.fieldsecurity.eb217079.js +0 -1
  389. package/lib/system.file.1cb952a4.js +0 -1
  390. package/lib/system.log.348b3605.js +0 -1
  391. package/lib/system.machine.49fc6405.js +0 -1
  392. package/lib/system.notice.d7a3346d.js +0 -1
  393. package/lib/system.noticereceived.c0b24616.js +0 -1
  394. package/lib/system.onlineuser.b3c94b5b.js +0 -1
  395. package/lib/system.org.30063246.js +0 -1
  396. package/lib/system.permissions.1ff855c2.js +0 -9
  397. package/lib/system.permissions.fdad3c36.mjs +0 -212
  398. package/lib/system.plugin.2c7c8a5a.js +0 -1
  399. package/lib/system.pos.21294c28.js +0 -1
  400. package/lib/system.promptmanagement.7e8da777.js +0 -1
  401. package/lib/system.role.078fac85.js +0 -1
  402. package/lib/system.sumberrules.b0252f77.js +0 -1
  403. package/lib/system.team.296512d7.mjs +0 -1000
  404. package/lib/system.team.5d6169bc.js +0 -1
  405. package/lib/system.teammembers.313345f7.js +0 -1
  406. package/lib/system.timers.8246e6ba.js +0 -38
  407. package/lib/system.translation.fdff4956.js +0 -1
  408. package/lib/system.user.49457fd3.js +0 -14
  409. package/lib/system.useraffiliation.0e9da6a8.js +0 -1
  410. package/lib/system.webresource.2a341e05.js +0 -1
  411. package/lib/system.welcome.c9eefa06.js +0 -1
@@ -0,0 +1,1319 @@
1
+ import { m, n as g } from "./components.chartbi.571c5ff5.mjs";
2
+ import { m as _, a as w, b as L, c as k, d as I, e as D, f as T } from "./http.message.ceb0a1c6.mjs";
3
+ import { t as F } from "./utils.mixins.js.be01e599.mjs";
4
+ import { a as $, s as x } from "./http.filemanage.c0de21d6.mjs";
5
+ import { a as v } from "./http.main.aefea27d.mjs";
6
+ import { f as C } from "./messages.fieldconfiguration.0d98a290.mjs";
7
+ import { u as S } from "./utils.util.js.333daba2.mjs";
8
+ const j = {
9
+ data() {
10
+ return {
11
+ tableColumns: [
12
+ {
13
+ type: "selection",
14
+ width: "60",
15
+ fixed: !0
16
+ },
17
+ {
18
+ transKey: "gd.msg.temPlate.name",
19
+ prop: "name",
20
+ label: "\u540D\u79F0",
21
+ width: "160",
22
+ type: "slot",
23
+ slotType: "name",
24
+ align: "left",
25
+ fixed: !0,
26
+ showOverflowTooltip: !0
27
+ },
28
+ {
29
+ transKey: "gd.msg.temPlate.temPlate",
30
+ prop: "msg_TemplateLibraryId",
31
+ width: "120",
32
+ label: "\u6A21\u677F\u5E93",
33
+ type: "slot",
34
+ slotType: "msg_TemplateLibraryId",
35
+ align: "left",
36
+ showOverflowTooltip: !0
37
+ },
38
+ {
39
+ transKey: "gd.msg.temPlate.diagram",
40
+ prop: "example",
41
+ width: "160",
42
+ label: "\u793A\u4F8B\u56FE",
43
+ align: "left",
44
+ type: "slot",
45
+ slotType: "example"
46
+ },
47
+ {
48
+ transKey: "gd.msg.temPlate.state",
49
+ prop: "stateCodes",
50
+ width: "160",
51
+ label: "\u72B6\u6001",
52
+ type: "slot",
53
+ slotType: "stateCodes",
54
+ align: "left"
55
+ },
56
+ {
57
+ transKey: "gd.msg.temPlate.creationTime",
58
+ prop: "createdtime",
59
+ width: "160",
60
+ label: "\u521B\u5EFA\u65F6\u95F4",
61
+ align: "center"
62
+ }
63
+ ],
64
+ formColumns: [
65
+ {
66
+ transKey: "gd.msg.temPlate.name",
67
+ prop: "name",
68
+ label: "\u540D\u79F0",
69
+ effectType: "input",
70
+ placeholder: "\u8BF7\u8F93\u5165",
71
+ placeholderTransKey: "gd.placeholder.input",
72
+ disabled: !1,
73
+ rules: [{
74
+ required: !0,
75
+ message: "\u8BF7\u8F93\u5165",
76
+ transKey: "gd.placeholder.input",
77
+ trigger: "change"
78
+ }]
79
+ },
80
+ {
81
+ transKey: "gd.msg.temPlate.temPlate",
82
+ effectType: "selectFkMultiple",
83
+ prop: "msg_TemplateLibraryId",
84
+ label: "\u6A21\u677F\u5E93",
85
+ placeholder: "\u8BF7\u9009\u62E9",
86
+ placeholderTransKey: "gd.placeholder.select",
87
+ fkEntityName: "Msg_TemplateLibrary",
88
+ disabled: !1,
89
+ multiple: !1,
90
+ rules: []
91
+ },
92
+ {
93
+ transKey: "gd.msg.temPlate.diagram",
94
+ effectType: "image",
95
+ prop: "example",
96
+ label: "\u793A\u4F8B\u56FE",
97
+ placeholder: "\u8BF7\u4E0A\u4F20",
98
+ placeholderTransKey: "gd.placeholder.input",
99
+ limit: 1,
100
+ rules: [{
101
+ required: !1,
102
+ message: "\u8BF7\u4E0A\u4F20",
103
+ transKey: "gd.placeholder.input",
104
+ trigger: "change"
105
+ }]
106
+ }
107
+ ],
108
+ tableButtons: [
109
+ {
110
+ displayName: "\u65B0\u589E",
111
+ functionName: "add",
112
+ show: !0,
113
+ transKey: "gd.btn.add",
114
+ icon: "el-icon-plus",
115
+ name: "sysMsgTemPlate:add"
116
+ },
117
+ {
118
+ displayName: "\u7F16\u8F91",
119
+ functionName: "edit",
120
+ show: !0,
121
+ transKey: "gd.btn.edit",
122
+ icon: "el-icon-edit",
123
+ name: "sysMsgTemPlate:edit"
124
+ },
125
+ {
126
+ displayName: "\u5220\u9664",
127
+ functionName: "del",
128
+ show: !0,
129
+ transKey: "gd.btn.del",
130
+ icon: "el-icon-delete",
131
+ btnType: "danger",
132
+ name: "sysMsgTemPlate:delete"
133
+ },
134
+ {
135
+ displayName: "\u590D\u5236",
136
+ functionName: "copy",
137
+ show: !0,
138
+ transKey: "gd.btn.copy",
139
+ icon: "el-icon-document-copy",
140
+ name: "sysMsgTemPlate:copy"
141
+ }
142
+ ],
143
+ formButtons: [{
144
+ displayName: "\u786E\u5B9A",
145
+ functionName: "handleSubmit",
146
+ show: !0,
147
+ transKey: "gd.btn.confirm",
148
+ icon: "el-icon-document-checked",
149
+ validate: !0
150
+ }],
151
+ tableQueries: [{
152
+ transKey: "gd.msg.temPlate.name",
153
+ prop: "name",
154
+ label: "\u540D\u79F0",
155
+ effectType: "input",
156
+ rules: []
157
+ }, {
158
+ transKey: "gd.msg.temPlate.temPlate",
159
+ prop: "msg_TemplateLibraryId",
160
+ label: "\u6A21\u677F\u5E93",
161
+ effectType: "selectFkMultiple",
162
+ fkEntityName: "Msg_TemplateLibrary",
163
+ rules: []
164
+ }, {
165
+ transKey: "gd.msg.temPlate.state",
166
+ prop: "stateCodes",
167
+ label: "\u72B6\u6001",
168
+ effectType: "selectMultiple",
169
+ dictTypeCode: "state_code",
170
+ rules: []
171
+ }]
172
+ };
173
+ }
174
+ };
175
+ const P = {
176
+ props: {
177
+ height: {
178
+ type: Number,
179
+ default: 0
180
+ }
181
+ },
182
+ name: "GdSysMsgTemPlate",
183
+ mixins: [F, j],
184
+ data() {
185
+ return {
186
+ formLoading: !1,
187
+ send: null,
188
+ selectedRowKeys: [],
189
+ isLoading: !1,
190
+ pageSize: 10,
191
+ isChangeSize: !1,
192
+ ppShow: !0,
193
+ advanced: !1,
194
+ queryParam: {},
195
+ oselectedRowKeys: [],
196
+ transKey: "gd.btn.edit",
197
+ imgList: [],
198
+ currentImg: "",
199
+ loadData: (s, e) => {
200
+ this.sorter = e;
201
+ let t = [...this.oselectedRowKeys];
202
+ return this.isLoading = !0, _(Object.assign(s, this.getQueryParam)).then((i) => (this.ppShow = !0, this.isLoading = !1, this.isChangeSize = !1, i.success && this.openMode == 2 && (this.$emit("changeData", i.data.rows), setTimeout(() => {
203
+ this.$refs.table && this.$refs.table.updateSelect(t, []), this.selectedRowKeys = [...t], this.onSelectChange(t, []);
204
+ }, 10)), i.data));
205
+ },
206
+ visible: !1
207
+ };
208
+ },
209
+ computed: {
210
+ getHeight() {
211
+ return this.height;
212
+ },
213
+ getQueryParam() {
214
+ let s = /* @__PURE__ */ new Map();
215
+ for (let e in this.queryParam)
216
+ this.queryParam[e] && e === "msg_TemplateLibraryId" ? s.set(e, this.queryParam[e].join(",")) : s.set(e, this.queryParam[e]);
217
+ return Object.fromEntries(s);
218
+ },
219
+ ...m(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
220
+ },
221
+ components: {
222
+ editForm: () => Promise.resolve().then(() => ie),
223
+ editFormTemplate: () => import("./messages.templatelibrary.ff151513.mjs").then((s) => s.e)
224
+ },
225
+ methods: {
226
+ templateLibrary(s) {
227
+ this.$refs.editFormTemplate.open({
228
+ id: s.msg_templatelibraryid
229
+ });
230
+ },
231
+ templateOk(s) {
232
+ this.refresh();
233
+ },
234
+ showImg(s) {
235
+ $({
236
+ id: s.example
237
+ }).then((e) => {
238
+ const t = window.URL.createObjectURL(new Blob([e]));
239
+ this.imgList = [t], this.currentImg = t, this.$refs.imgPreview.open();
240
+ });
241
+ },
242
+ saveQueries(s) {
243
+ this.queryParam = {
244
+ ...s
245
+ }, this.refresh();
246
+ },
247
+ editForm(s) {
248
+ this.transKey = "gd.btn.edit", this.$refs.editForm.open(
249
+ Object.assign(
250
+ {
251
+ ...s
252
+ },
253
+ {
254
+ sendtype: String(s.sendtype),
255
+ msgstatus: String(s.msgstatus)
256
+ }
257
+ )
258
+ );
259
+ },
260
+ add() {
261
+ this.transKey = "gd.btn.add", this.visible = !0, this.$refs.editForm.open(null);
262
+ },
263
+ edit() {
264
+ if (this.selectedRowKeys.length === 0) {
265
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));
266
+ return;
267
+ }
268
+ if (this.selectedRowKeys.length > 1) {
269
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
270
+ return;
271
+ }
272
+ this.editForm(this.selectedRows[0]);
273
+ },
274
+ copy() {
275
+ if (this.selectedRowKeys.length === 0) {
276
+ this.$message.warning(this.$i18nt("gd.https.editTip", "\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E"));
277
+ return;
278
+ }
279
+ if (this.selectedRowKeys.length > 1) {
280
+ this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));
281
+ return;
282
+ }
283
+ this.$refs.editForm.copyInit(this.selectedRows[0]);
284
+ },
285
+ del() {
286
+ if (this.selectedRowKeys.length === 0) {
287
+ this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));
288
+ return;
289
+ }
290
+ this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
291
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
292
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
293
+ showClose: !1,
294
+ confirmButtonLoading: !1,
295
+ cancelButtonLoading: !1,
296
+ closeOnClickModal: !1,
297
+ type: "warning",
298
+ confirmButtonClass: "el-button--danger",
299
+ customClass: "custom-alert",
300
+ callback: () => {
301
+ },
302
+ beforeClose: (s, e, t) => {
303
+ this.delHand(s, e, t);
304
+ }
305
+ });
306
+ },
307
+ delHand(s, e, t) {
308
+ if (s !== "confirm") {
309
+ t();
310
+ return;
311
+ }
312
+ let i = [], a = w({
313
+ ids: this.selectedRowKeys.join(",")
314
+ }).then((l) => l);
315
+ i.push(a), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((l) => {
316
+ t();
317
+ const o = l.filter((n) => !n.success);
318
+ o.length === 0 ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + o[0].message), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
319
+ });
320
+ },
321
+ enabling(s) {
322
+ },
323
+ enabHand(s, e, t, i) {
324
+ if (s !== "confirm") {
325
+ t();
326
+ return;
327
+ }
328
+ let a = [], l = L(i).then((o) => o);
329
+ a.push(l), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(a).then((o) => {
330
+ t();
331
+ const n = o.filter((r) => !r.success);
332
+ n.length === 0 ? this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25") + n[0].message), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
333
+ });
334
+ },
335
+ onSelectChange(s, e) {
336
+ this.selectedRowKeys = s, this.selectedRows = e, this.isChangeSize || (this.oselectedRowKeys = s), this.$emit("onSelectChange", s, e);
337
+ },
338
+ refresh() {
339
+ this.$refs.table.refresh();
340
+ },
341
+ dictSwitch(s, e) {
342
+ let t = this.$options.filters.dictData(e).filter((i) => i.code == s)[0];
343
+ return t && t.colour ? t.colour : null;
344
+ },
345
+ getDict(s) {
346
+ return this.$options.filters.dictData(s);
347
+ },
348
+ doEvent(s) {
349
+ let e = s.item.functionName;
350
+ this[e] && this[e]();
351
+ }
352
+ }
353
+ };
354
+ var O = function() {
355
+ var e = this, t = e._self._c;
356
+ return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
357
+ return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl" }, [t("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.msg.templateLibrary.name", "\u540D\u79F0"), clearable: "" }, nativeOn: { keyup: function(i) {
358
+ return !i.type.indexOf("key") && e._k(i.keyCode, "enter", 13, i.key, "Enter") ? null : e.refresh.apply(null, arguments);
359
+ } }, model: { value: e.queryParam.name, callback: function(i) {
360
+ e.$set(e.queryParam, "name", i);
361
+ }, expression: "queryParam.name" } }), t("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
362
+ }, proxy: !0 }, { key: "name", fn: function({ column: i, row: a }) {
363
+ return [t("gd-tooltip", { attrs: { rowKey: "name", row: a, highlight: "" }, on: { click: e.editForm } })];
364
+ } }, { key: "msg_TemplateLibraryId", fn: function({ column: i, row: a }) {
365
+ return [t("gd-tooltip", { attrs: { rowKey: "msg_templatelibraryidname", row: a, highlight: "" }, on: { click: function(l) {
366
+ return e.templateLibrary(a);
367
+ } } })];
368
+ } }, { key: "example", fn: function(i) {
369
+ return [i.row.example ? t("el-button", { staticStyle: { margin: "0 1px 0 0", padding: "6px 8px" }, attrs: { type: "primary" }, on: { click: function(a) {
370
+ return e.showImg(i.row);
371
+ } } }, [e._v(" " + e._s(e.$i18nt("gd.btn.viewPicture")) + " ")]) : e._e()];
372
+ } }, { key: "stateCodes", fn: function(i) {
373
+ return [e.dictSwitch(i.row.statecodes, "state_code") ? t("el-tag", { staticStyle: { "border-color": "transparent" }, attrs: { effect: "dark", color: e.dictSwitch(i.row.statecodes, "state_code") }, on: { click: function(a) {
374
+ return e.enabling(i.row);
375
+ } } }, [e._v(" " + e._s(e._f("dictType")("state_code", i.row.statecodes)) + " ")]) : t("span", { on: { click: function(a) {
376
+ return e.enabling(i.row);
377
+ } } }, [e._v(e._s(e._f("dictType")("state_code", i.row.statecodes)))])];
378
+ } }, { key: "filtering", fn: function({ colse: i, visible: a }) {
379
+ return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: i, visible: a }, on: { save: e.saveQueries } })];
380
+ } }]) })], 1), t("editForm", { ref: "editForm", on: { ok: e.refresh } }), t("editFormTemplate", { ref: "editFormTemplate", on: { ok: e.templateOk } }), t("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: e.imgList.length > 0, imgList: e.imgList, currentImg: e.currentImg } })], 1);
381
+ }, E = [], N = /* @__PURE__ */ g(
382
+ P,
383
+ O,
384
+ E,
385
+ !1,
386
+ null,
387
+ "0d4fa776",
388
+ null,
389
+ null
390
+ );
391
+ const b = N.exports;
392
+ b.install = function(s) {
393
+ s.component(b.name, b);
394
+ };
395
+ const K = {
396
+ props: {
397
+ record: {
398
+ type: Object,
399
+ required: !0
400
+ },
401
+ ind: {
402
+ type: [String, Number],
403
+ default: "0"
404
+ },
405
+ detail: {
406
+ type: Array,
407
+ default: () => []
408
+ }
409
+ },
410
+ data() {
411
+ return {
412
+ selIndex: 0,
413
+ splitList: [],
414
+ ofieldValue: ""
415
+ };
416
+ },
417
+ watch: {
418
+ record: {
419
+ handler(s) {
420
+ this.$nextTick(() => {
421
+ setTimeout(() => {
422
+ this.analysis(s);
423
+ }, 10);
424
+ });
425
+ },
426
+ deep: !0,
427
+ immediate: !0
428
+ }
429
+ },
430
+ computed: {
431
+ ids() {
432
+ return `fieldInfos-${this.ind}`;
433
+ },
434
+ style() {
435
+ return {
436
+ "--background-color-hover": this.primaryColor
437
+ };
438
+ },
439
+ ...m(["primaryColor"])
440
+ },
441
+ methods: {
442
+ getField(s, e) {
443
+ return new Promise((t, i) => {
444
+ let a = this.splitList.filter((c) => c.selIndex == this.selIndex)[0].fieldvalue, l = document.querySelectorAll(`.${this.ids}>.splicing>.splicing-l>.el-input>.el-input__inner`)[this.selIndex].selectionStart, o = a.slice(0, l), n = a.slice(l), r = "", f = [];
445
+ this.splitList.forEach((c) => {
446
+ if (c.type === 1)
447
+ c.selIndex == this.selIndex ? (r += o, r += `[${s.varnumber}-${s.title}]`, r += n, f.push(
448
+ Object.assign(
449
+ {
450
+ ...e
451
+ },
452
+ {
453
+ varnumber: s.varnumber,
454
+ title: s.title,
455
+ transkey: s.transkey
456
+ }
457
+ )
458
+ )) : r += c.fieldvalue;
459
+ else if (c.type === 2) {
460
+ r += `[${c.varnumber}-${c.title}]`;
461
+ let u = this.record.fieldjsons.filter((d) => `[${d.varnumber}-${d.title}]` == `[${c.varnumber}-${c.title}]`)[0];
462
+ u !== void 0 && f.push(u);
463
+ }
464
+ }), t({
465
+ fieldinfos: f,
466
+ content: r
467
+ });
468
+ });
469
+ },
470
+ addFocused(s) {
471
+ let e = s ? this.splitList.length - 1 : 0;
472
+ this.$refs[`splicing${e}`][0].blur(), this.$refs[`splicing${e}`][0].focus(), !s && (this.$refs[`splicing${e}`][0].$refs.input.setSelectionRange(0, 0), this.selIndex = e);
473
+ },
474
+ mergeFocused(s, e) {
475
+ let t = `splicing${e - 1}`;
476
+ this.$refs[t][0].blur(), this.$refs[t][0].focus(), this.$refs[t][0].$refs.input.setSelectionRange(s, s), this.selIndex = this.splitList[e - 1].selIndex;
477
+ },
478
+ addField(s) {
479
+ let e = this.splitList.filter((r) => r.selIndex == this.selIndex)[0].fieldvalue, t = document.querySelectorAll(`.${this.ids}>.splicing>.splicing-l>.el-input`)[this.selIndex].selectionStart, i = e.slice(0, t), a = e.slice(t), l = "", o = 1, n = [];
480
+ this.splitList.forEach((r) => {
481
+ if (r.type === 1)
482
+ r.selIndex == this.selIndex ? (l += i, l += `[${varnumber}-${s.title}]`, l += a, n.push(
483
+ Object.assign(s, {
484
+ varnumber: o
485
+ })
486
+ ), o += 1) : l += r.fieldValue;
487
+ else if (r.type === 2) {
488
+ l += `[${o}-${r.title}]`;
489
+ let f = this.record.fieldJsons.filter((c) => `[${c.varnumber}-${c.title}]` == `[${r.varnumber}-${r.title}]`)[0];
490
+ f !== void 0 && (n.push(
491
+ Object.assign(f, {
492
+ varnumber: o
493
+ })
494
+ ), o += 1);
495
+ }
496
+ }), this.$nextTick(() => {
497
+ setTimeout(() => {
498
+ this.record.content = l, this.record.fieldjsons = n;
499
+ let r = l.replace(/\[/g, "<a class='varkey'>[");
500
+ this.record.html = r.replace(/\]/g, "]</a>");
501
+ }, 100);
502
+ });
503
+ },
504
+ styled(s) {
505
+ return `${String(s).length * 11 + 4}px`;
506
+ },
507
+ analysis(s) {
508
+ let e = {
509
+ title: "",
510
+ fieldvalue: "",
511
+ varnumber: 0,
512
+ type: 1,
513
+ wid: "4px",
514
+ selIndex: -1,
515
+ transkey: null
516
+ }, t = 0, i = s.content, a = [];
517
+ [...s.fieldjsons].forEach((o, n) => {
518
+ let r = `[${o.varnumber}-${o.title}]`, f = i.split(r);
519
+ f.forEach((c, u) => {
520
+ u < f.length - 1 && (a = a.concat([
521
+ Object.assign(
522
+ {
523
+ ...e
524
+ },
525
+ {
526
+ fieldvalue: `${f[u]}`,
527
+ wid: this.styled(f[u]),
528
+ selIndex: t,
529
+ type: 1
530
+ }
531
+ )
532
+ ]).concat([
533
+ Object.assign(
534
+ {
535
+ ...e
536
+ },
537
+ {
538
+ title: o.title,
539
+ transkey: o.transkey,
540
+ type: 2,
541
+ varnumber: o.varnumber
542
+ }
543
+ )
544
+ ]), t += 1);
545
+ }), i = f[f.length - 1] ? f[f.length - 1] : "";
546
+ }), a = a.concat([
547
+ Object.assign(
548
+ {
549
+ ...e
550
+ },
551
+ {
552
+ fieldvalue: i,
553
+ wid: "4px",
554
+ selIndex: t,
555
+ type: 1
556
+ }
557
+ )
558
+ ]), this.splitList = [...a], this.selIndex = t;
559
+ },
560
+ delItem(s) {
561
+ this.$emit("delItem", this.splitList[s]);
562
+ },
563
+ selData(s) {
564
+ this.selIndex = s.selIndex, this.$emit("selData", s);
565
+ },
566
+ changeInput(s, e, t) {
567
+ console.log(s, e, t, this.detail);
568
+ let i = s, a = [];
569
+ this.detail.forEach((n) => {
570
+ n.fieldjsons.forEach((r) => {
571
+ let f = `[${r.varnumber}-${r.title}]`;
572
+ i.split(f).length > 1 && (a.push(
573
+ Object.assign(
574
+ {
575
+ ...r
576
+ },
577
+ {
578
+ varnumber: 1e4
579
+ }
580
+ )
581
+ ), i = i.replace(f, `[10000-${r.title}]`));
582
+ });
583
+ });
584
+ let l = "";
585
+ this.splitList.forEach((n, r) => {
586
+ n.type === 1 ? (l += r == e ? i : n.fieldvalue, this.splitList[r].fieldvalue = r == e ? i : n.fieldvalue) : n.type === 2 && (l += `[${n.varnumber}-${n.title}]`);
587
+ }), this.record.content = l, this.record.fieldjsons = this.record.fieldjsons.concat(a);
588
+ let o = l.replace(/\[/g, "<a class='varkey'>[");
589
+ this.record.html = o.replace(/\]/g, "]</a>"), t.wid = this.styled(i), a.length > 0 && this.$emit("addFieldJsons", a);
590
+ },
591
+ pressEnter(s, e, t) {
592
+ let i = document.querySelectorAll(`.${this.ids}>.splicing>.splicing-l>.el-input>.el-input__inner`)[t.selIndex].selectionStart, a = t.fieldvalue.slice(0, i), l = t.fieldvalue.slice(i);
593
+ this.$emit("add", {
594
+ qtitle: a,
595
+ hTitle: l,
596
+ i: e,
597
+ item: t,
598
+ splitList: this.splitList
599
+ });
600
+ },
601
+ keydown(s, e, t) {
602
+ this.ofieldValue = t.fieldvalue;
603
+ },
604
+ keyup(s, e, t) {
605
+ if (e !== 0 && e !== this.splitList.length - 1)
606
+ return;
607
+ let i = document.querySelectorAll(`.${this.ids}>.splicing>.splicing-l>.el-input>.el-input__inner`)[t.selIndex].selectionStart, a = t.fieldvalue.slice(0, i);
608
+ t.fieldvalue.slice(i), e === 0 && s.keyCode === 8 && a == "" && this.ofieldValue === t.fieldvalue && i === 0 && this.$emit("merge", this.splitList);
609
+ }
610
+ }
611
+ };
612
+ var q = function() {
613
+ var e = this, t = e._self._c;
614
+ return t("div", { class: e.ids, staticStyle: { padding: "1px 0" } }, [t("div", { staticClass: "splicing pa" }, [e._l(e.splitList, function(i, a) {
615
+ return [i.type == 1 ? t("div", { staticClass: "splicing-l pa", on: { click: function(l) {
616
+ return e.selData(i);
617
+ } } }, [t("div", { staticClass: "splicing-zhan line1" }, [e._v(e._s(i.fieldvalue))]), t("el-input", { ref: `splicing${a}`, refInFor: !0, on: { change: function(l) {
618
+ return e.changeInput(l, a, i);
619
+ } }, nativeOn: { keyup: [function(l) {
620
+ return !l.type.indexOf("key") && e._k(l.keyCode, "enter", 13, l.key, "Enter") ? null : e.pressEnter(l, a, i);
621
+ }, function(l) {
622
+ return e.keyup(l, a, i);
623
+ }], keydown: function(l) {
624
+ return e.keydown(l, a, i);
625
+ } }, model: { value: i.fieldvalue, callback: function(l) {
626
+ e.$set(i, "fieldvalue", l);
627
+ }, expression: "item.fieldvalue" } })], 1) : e._e(), i.type == 2 ? [t("div", { staticClass: "splicing-l pa" }, [t("div", { staticClass: "splicing-d" }, [t("span", { staticClass: "splicing-tilte" }, [e._v("[" + e._s(i.varnumber) + "-" + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.title)) + "]")]), t("i", { staticClass: "el-icon-close close", on: { click: function(l) {
628
+ return e.delItem(a);
629
+ } } })])])] : e._e()];
630
+ })], 2)]);
631
+ }, z = [], B = /* @__PURE__ */ g(
632
+ K,
633
+ q,
634
+ z,
635
+ !1,
636
+ null,
637
+ "9b5ac4bf",
638
+ null,
639
+ null
640
+ );
641
+ const R = B.exports;
642
+ const M = {
643
+ props: {
644
+ record: {
645
+ type: Object,
646
+ required: !0
647
+ },
648
+ ind: {
649
+ type: [String, Number],
650
+ default: "0"
651
+ }
652
+ },
653
+ data() {
654
+ return {
655
+ selIndex: -1,
656
+ splitList: []
657
+ };
658
+ },
659
+ computed: {
660
+ style() {
661
+ return {
662
+ "--background-color-hover": this.primaryColor
663
+ };
664
+ },
665
+ ...m(["primaryColor"])
666
+ },
667
+ watch: {
668
+ record: {
669
+ handler(s) {
670
+ this.$nextTick(() => {
671
+ setTimeout(() => {
672
+ this.analysis(s);
673
+ }, 10);
674
+ });
675
+ },
676
+ deep: !0,
677
+ immediate: !0
678
+ }
679
+ },
680
+ components: {
681
+ fieldConcatenation: R
682
+ },
683
+ methods: {
684
+ addFieldJsons(s, e) {
685
+ let t = "";
686
+ `${s[0].varnumber}${s[0].title}`;
687
+ let i = [];
688
+ this.splitList.forEach((l, o) => {
689
+ o !== 0 && (t += `
690
+ `), t += l.content, i = i.concat(l.fieldjsons);
691
+ });
692
+ let a = [];
693
+ i.forEach((l, o) => {
694
+ let n = `[${l.varnumber}-${l.title}]`;
695
+ t = t.replace(n, `[${o + 1}-${l.title}]`), a.push(
696
+ Object.assign(
697
+ {
698
+ ...l
699
+ },
700
+ {
701
+ varnumber: o + 1
702
+ }
703
+ )
704
+ );
705
+ }), this.record.content = t, this.record.fieldjsons = a;
706
+ },
707
+ addField(s) {
708
+ let e = JSON.parse(s.data)[0], t = s.item;
709
+ e = Object.assign(
710
+ {
711
+ ...e
712
+ },
713
+ {
714
+ pid: 0,
715
+ title: t.title
716
+ }
717
+ );
718
+ let a = `dismantle${this.selIndex === -1 ? this.splitList.length - 1 : this.selIndex}`;
719
+ this.$refs[a][0].getField(t, e).then((l) => {
720
+ this.addFieldCount(s, l);
721
+ });
722
+ },
723
+ addFieldCount(s, e) {
724
+ let t = this.selIndex === -1 ? this.splitList.length - 1 : this.selIndex, i = "", a = [];
725
+ this.splitList.forEach((n, r) => {
726
+ r !== 0 && (i += `
727
+ `), r == t ? (i += e.content, a = a.concat(e.fieldinfos)) : (i += n.content, a = a.concat(n.fieldjsons));
728
+ });
729
+ let l = [], o = [];
730
+ a.forEach((n, r) => {
731
+ o.push({
732
+ oval: `[${n.varnumber}-${n.title}-${r + 1}]`,
733
+ nval: `[${r + 1}-${n.title}]`
734
+ }), i = i.replace(`[${n.varnumber}-${n.title}]`, `[${n.varnumber}-${n.title}-${r + 1}]`), l.push(
735
+ Object.assign(
736
+ {
737
+ ...n
738
+ },
739
+ {
740
+ varnumber: r + 1
741
+ }
742
+ )
743
+ );
744
+ }), o.forEach((n) => {
745
+ i = i.replace(n.oval, n.nval);
746
+ }), this.record.content = i, this.record.fieldjsons = [...l];
747
+ },
748
+ selData(s, e) {
749
+ this.selIndex = e;
750
+ },
751
+ delItem(s, e) {
752
+ let t = "", i = `[${s.varnumber}-${s.title}]`, a = [];
753
+ this.splitList.forEach((l, o) => {
754
+ if (o !== 0 && (t += `
755
+ `), o == e) {
756
+ t += l.content.replace(i, "");
757
+ let n = l.fieldjsons.filter((r) => `[${r.varnumber}-${r.title}]` !== i);
758
+ a = a.concat(n);
759
+ } else
760
+ t += l.content, a = a.concat(l.fieldjsons);
761
+ }), a.map((l, o) => {
762
+ let n = `[${l.varnumber}-${l.title}]`;
763
+ return t = t.replace(n, `[${o + 1}-${l.title}]`), l.varnumber = o + 1, l;
764
+ }), this.record.content = t, this.record.fieldjsons = a;
765
+ },
766
+ add(s, e) {
767
+ let t = [], i = [], a = [], l = [], o = [], n = "", r = "";
768
+ s.splitList.forEach((d, h) => {
769
+ h < s.i ? i.push(d) : h === s.i ? s.qtitle === "" && s.hTitle !== "" ? (a.push(
770
+ Object.assign(
771
+ {
772
+ ...d
773
+ },
774
+ {
775
+ fieldvalue: ""
776
+ }
777
+ )
778
+ ), a.push(
779
+ Object.assign(
780
+ {
781
+ ...d
782
+ },
783
+ {
784
+ fieldvalue: s.hTitle
785
+ }
786
+ )
787
+ )) : s.hTitle === "" ? i.push(
788
+ Object.assign(
789
+ {
790
+ ...d
791
+ },
792
+ {
793
+ fieldvalue: s.qtitle
794
+ }
795
+ )
796
+ ) : (i.push(
797
+ Object.assign(
798
+ {
799
+ ...d
800
+ },
801
+ {
802
+ fieldvalue: s.qtitle
803
+ }
804
+ )
805
+ ), a.push(
806
+ Object.assign(
807
+ {
808
+ ...d
809
+ },
810
+ {
811
+ fieldvalue: s.hTitle
812
+ }
813
+ )
814
+ )) : a.push(d);
815
+ }), i.forEach((d) => {
816
+ if (d.type === 1)
817
+ n += d.fieldvalue;
818
+ else if (d.type === 2) {
819
+ n += `[${d.varnumber}-${d.title}]`;
820
+ let h = this.record.fieldjsons.filter((p) => `[${d.varnumber}-${d.title}]` == `[${p.varnumber}-${p.title}]`)[0];
821
+ l.push(h);
822
+ }
823
+ }), a.forEach((d) => {
824
+ if (d.type === 1)
825
+ r += d.fieldvalue;
826
+ else if (d.type === 2) {
827
+ r += `[${d.varnumber}-${d.title}]`;
828
+ let h = this.record.fieldjsons.filter((p) => `[${d.varnumber}-${d.title}]` == `[${p.varnumber}-${p.title}]`)[0];
829
+ o.push(h);
830
+ }
831
+ });
832
+ let f = !0, c = e;
833
+ this.splitList.forEach((d, h) => {
834
+ i.length === 0 ? (h === e && t.push(
835
+ Object.assign(
836
+ {
837
+ ...d
838
+ },
839
+ {
840
+ content: "",
841
+ fieldjsons: []
842
+ }
843
+ )
844
+ ), t.push(d), c = a.filter((y) => y.type == 2 ? !0 : y.type == 1 && y.fieldvalue !== "").length === 0 ? e + 1 : c) : a.length === 0 ? (t.push(d), h === e && t.push(
845
+ Object.assign(
846
+ {
847
+ ...d
848
+ },
849
+ {
850
+ content: "",
851
+ fieldjsons: []
852
+ }
853
+ )
854
+ ), c = e + 1) : h === e ? (t.push(
855
+ Object.assign(
856
+ {
857
+ ...d
858
+ },
859
+ {
860
+ content: n,
861
+ fieldjsons: l
862
+ }
863
+ )
864
+ ), t.push(
865
+ Object.assign(
866
+ {
867
+ ...d
868
+ },
869
+ {
870
+ content: r,
871
+ fieldjsons: o
872
+ }
873
+ )
874
+ )) : t.push(d);
875
+ }), this.splitList = [...t];
876
+ let u = `dismantle${c}`;
877
+ this.$nextTick(() => {
878
+ setTimeout(() => {
879
+ this.$refs[u][0].addFocused(f), this.selData(null, c);
880
+ }, 30);
881
+ });
882
+ },
883
+ merge(s, e) {
884
+ if (e === 0)
885
+ return;
886
+ let t = [], i = "";
887
+ s.forEach((n) => {
888
+ n.type === 1 ? i += n.fieldvalue : n.type === 2 && (i += `[${n.varnumber}-${n.title}]`);
889
+ }), this.splitList.forEach((n, r) => {
890
+ r !== e ? t.push(n) : (t[t.length - 1].fieldjsons = t[t.length - 1].fieldjsons.concat(n.fieldjsons), t[t.length - 1].content = t[t.length - 1].content + i);
891
+ });
892
+ let a = `dismantle${e - 1}`, l = this.$refs[a][0].splitList.length, o = this.$refs[a][0].splitList[l - 1].fieldvalue.split("").length;
893
+ this.splitList = [...t], this.$nextTick(() => {
894
+ setTimeout(() => {
895
+ this.$refs[a][0].mergeFocused(o, l), this.selData(null, e - 1);
896
+ }, 30);
897
+ });
898
+ },
899
+ analysis(s) {
900
+ let e = [];
901
+ this.record.content.replace(/\\n/g, `
902
+ `).split(`
903
+ `).forEach((i) => {
904
+ e.push(
905
+ Object.assign(
906
+ {
907
+ ...this.record
908
+ },
909
+ {
910
+ content: i,
911
+ fieldjsons: this.getFieldInfos(i)
912
+ }
913
+ )
914
+ );
915
+ }), this.splitList = e;
916
+ },
917
+ getFieldInfos(s) {
918
+ let e = [];
919
+ return (this.record.fieldjsons ? this.record.fieldjsons : []).forEach((i) => {
920
+ let a = `[${i.varnumber}-${i.title}]`;
921
+ s.split(a).length > 1 && e.push(i);
922
+ }), e;
923
+ }
924
+ }
925
+ };
926
+ var J = function() {
927
+ var e = this, t = e._self._c;
928
+ return t("div", { staticClass: "dismantle pa", style: e.style }, [e._l(e.splitList, function(i, a) {
929
+ return [t("fieldConcatenation", { ref: `dismantle${a}`, refInFor: !0, attrs: { record: i, ind: `${e.ind}_${a}`, detail: e.splitList }, on: { merge: (l) => e.merge(l, a, i), add: (l) => e.add(l, a), delItem: (l) => e.delItem(l, a), selData: (l) => e.selData(l, a), addFieldJsons: (l) => e.addFieldJsons(l, a) } })];
930
+ })], 2);
931
+ }, A = [], H = /* @__PURE__ */ g(
932
+ M,
933
+ J,
934
+ A,
935
+ !1,
936
+ null,
937
+ "0e46c479",
938
+ null,
939
+ null
940
+ );
941
+ const V = H.exports;
942
+ const U = {
943
+ data() {
944
+ return {
945
+ ruleFormData: {},
946
+ id: "",
947
+ spinning: !1,
948
+ tempData: [],
949
+ otempData: [],
950
+ currentFieldIdx: 0
951
+ };
952
+ },
953
+ components: {
954
+ fieldConfiguration: () => import("./messages.fieldconfiguration.0d98a290.mjs").then((s) => s.i),
955
+ fieldLook: C,
956
+ dismantle: V
957
+ },
958
+ computed: {
959
+ styled() {
960
+ return `color:${this.primaryColor};`;
961
+ },
962
+ varkey() {
963
+ return `color:${this.primaryColor};`;
964
+ },
965
+ ...m(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
966
+ },
967
+ methods: {
968
+ getHtml(s) {
969
+ let e = s.html;
970
+ return (s.fieldjsons ? s.fieldjsons : []).forEach((i) => {
971
+ let a = this.$i18nt(`Dynamics.${i.transkey}`, i.title);
972
+ e = e.replace(`[${i.varnumber}-${i.title}]`, `[${i.varnumber}-${a}]`);
973
+ }), e;
974
+ },
975
+ handleSubmitOk(s) {
976
+ let e = `fieldConcatenation${this.currentFieldIdx}`;
977
+ this.$refs[e][0].addField(s);
978
+ },
979
+ changeUsables(s, e) {
980
+ this.tempData[e].isUsables = s;
981
+ },
982
+ setTempData(s) {
983
+ this.spinning = !0, this.tempData = s.msg_templatedetailedlist.map((e) => (e.isusables = e.isusable == 1, e.showedit = !1, e.showfield = !1, e.isdisplay = 1, e)), this.spinning = !1;
984
+ },
985
+ getTemplateDetailed(s) {
986
+ if (s == "") {
987
+ this.tempData = [];
988
+ return;
989
+ }
990
+ this.id = s, this.spinning = !0, k({
991
+ id: s
992
+ }).then((e) => {
993
+ let t = [];
994
+ e.data.msg_templatedetailedlist.forEach((i) => {
995
+ if (i.isdisplay == 1) {
996
+ let a = {
997
+ name: i.name,
998
+ content: i.content,
999
+ color: "",
1000
+ showedit: !1,
1001
+ html: i.content,
1002
+ showfield: !1,
1003
+ fieldinfos: [],
1004
+ fieldjsons: [],
1005
+ isdisplay: i.isdisplay,
1006
+ isusable: 1,
1007
+ isusables: !0
1008
+ };
1009
+ t.push(a);
1010
+ }
1011
+ }), this.tempData = t, this.spinning = !1;
1012
+ });
1013
+ },
1014
+ addField(s) {
1015
+ let e = 0;
1016
+ this.$refs.fieldConfiguration.addField(s, e), this.currentFieldIdx = s;
1017
+ },
1018
+ confirmText(s) {
1019
+ let e = [...this.tempData], t = `fieldConcatenation${s}`, i = this.$refs[t][0].splitList, a = "", l = [];
1020
+ i.forEach((n, r) => {
1021
+ r !== 0 && (a += `
1022
+ `), a += n.content, l = l.concat(n.fieldjsons);
1023
+ });
1024
+ let o = a.replace(/\[/g, "<a class='varkey'>[");
1025
+ e[s] = Object.assign(e[s], {
1026
+ html: o.replace(/\]/g, "]</a>"),
1027
+ content: a,
1028
+ showedit: !1,
1029
+ fieldjsons: l
1030
+ }), this.tempData = [...e];
1031
+ },
1032
+ showField(s) {
1033
+ let e = [...this.tempData];
1034
+ e[s].showfield = !e[s].showfield, this.tempData = [...e];
1035
+ },
1036
+ showEdit(s) {
1037
+ let e = this.otempData.filter((t) => t.ind !== s);
1038
+ this.otempData = e.concat({
1039
+ ind: s,
1040
+ data: JSON.stringify(this.tempData[s])
1041
+ }), this.tempData[s].showedit = !this.tempData[s].showedit;
1042
+ },
1043
+ hideEdit(s) {
1044
+ let e = this.otempData.filter((a) => a.ind === s)[0], t = JSON.parse(e.data), i = [...this.tempData];
1045
+ i.forEach((a, l) => {
1046
+ l === s && (i[l] = Object.assign(
1047
+ {
1048
+ ...a
1049
+ },
1050
+ t,
1051
+ {
1052
+ showedit: !1
1053
+ }
1054
+ ));
1055
+ }), this.tempData = [...i];
1056
+ },
1057
+ getDictionary(s) {
1058
+ return this.$options.filters.dictData(s);
1059
+ }
1060
+ }
1061
+ };
1062
+ var Q = function() {
1063
+ var e = this, t = e._self._c;
1064
+ return t("div", [t("el-form", { ref: "ruleForm", attrs: { "label-width": "110px", "label-position": e.labelPosition }, nativeOn: { submit: function(i) {
1065
+ i.preventDefault();
1066
+ } } }, [t("el-row", { attrs: { gutter: 24 } }, e._l(e.tempData, function(i, a) {
1067
+ return t("el-col", { key: a, attrs: { span: 24 } }, [t("el-form-item", { attrs: { label: i.name } }, [t("el-button", { directives: [{ name: "show", rawName: "v-show", value: !i.showedit, expression: "!item.showedit" }], staticStyle: { "font-size": "14px", padding: "6px 8px", "margin-left": "0px" }, attrs: { type: "primary", icon: "el-icon-edit", size: "mini" }, on: { click: function(l) {
1068
+ return e.showEdit(a);
1069
+ } } }, [e._v(" " + e._s(e.$i18nt("gd.btn.edit", "\u7F16\u8F91")) + " ")]), i.noable ? e._e() : [t("el-checkbox", { directives: [{ name: "show", rawName: "v-show", value: !i.showedit, expression: "!item.showedit" }], staticStyle: { "margin-left": "30px" }, on: { change: function(l) {
1070
+ return e.changeUsables(l, a);
1071
+ } }, model: { value: i.isusables, callback: function(l) {
1072
+ e.$set(i, "isusables", l);
1073
+ }, expression: "item.isusables" } }, [e._v(" " + e._s(e.$i18nt("gd.msg.temPlate.isEnabled", "\u662F\u5426\u542F\u7528")) + " ")])], t("div", { staticClass: "showdoc", domProps: { innerHTML: e._s(e.getHtml(i)) }, on: { click: function(l) {
1074
+ return e.showField(a);
1075
+ } } }), t("div", { directives: [{ name: "show", rawName: "v-show", value: i.showedit, expression: "item.showedit" }], staticClass: "inputbox" }, [t("dismantle", { ref: `fieldConcatenation${a}`, refInFor: !0, attrs: { record: i, ind: a } }), t("div", { staticClass: "flex-between" }, [t("div", { staticClass: "left-btn" }, [t("el-button", { staticStyle: { "font-size": "14px", padding: "6px 8px", "margin-left": "0px" }, attrs: { type: "primary", icon: "el-icon-plus", size: "mini" }, on: { click: function(l) {
1076
+ return e.addField(a);
1077
+ } } }, [e._v(" " + e._s(e.$i18nt("gd.msg.temPlate.addField", "\u6DFB\u52A0\u5B57\u6BB5")) + " ")])], 1), t("div", { staticClass: "right-btn" }, [t("el-button", { staticStyle: { "font-size": "14px", padding: "6px 8px" }, attrs: { size: "mini", icon: "el-icon-back", type: "info" }, on: { click: function(l) {
1078
+ return e.hideEdit(a);
1079
+ } } }, [e._v(" " + e._s(e.$i18nt("gd.btn.cancel", "\u53D6\u6D88")) + " ")]), t("el-button", { staticStyle: { "font-size": "14px", padding: "6px 8px", "margin-left": "1px" }, attrs: { type: "primary", size: "mini", icon: "el-icon-document-checked" }, on: { click: function(l) {
1080
+ return e.confirmText(a);
1081
+ } } }, [e._v(" " + e._s(e.$i18nt("gd.btn.confirm", "\u786E\u5B9A")) + " ")])], 1)])], 1), t("fieldLook", { attrs: { item: i }, on: { close: function(l) {
1082
+ return e.showField(a);
1083
+ } } })], 2)], 1);
1084
+ }), 1)], 1), t("fieldConfiguration", { ref: "fieldConfiguration", attrs: { tempData: e.tempData }, on: { ok: e.handleSubmitOk } })], 1);
1085
+ }, G = [], W = /* @__PURE__ */ g(
1086
+ U,
1087
+ Q,
1088
+ G,
1089
+ !1,
1090
+ null,
1091
+ "2f65e0d8",
1092
+ null,
1093
+ null
1094
+ );
1095
+ const X = W.exports;
1096
+ const Y = {
1097
+ data() {
1098
+ return {
1099
+ fullscreen: !1,
1100
+ visible: !1,
1101
+ confirmLoading: !1,
1102
+ showWeCom: !1,
1103
+ showWeOfficial: !1,
1104
+ weComList: [],
1105
+ weComAppList: [],
1106
+ weOfficialList: [],
1107
+ sysViewButtons: [
1108
+ {
1109
+ displayName: "\u786E\u5B9A",
1110
+ functionName: "handleSubmit",
1111
+ show: !0,
1112
+ transKey: "gd.btn.confirm",
1113
+ icon: "el-icon-document-checked"
1114
+ }
1115
+ ],
1116
+ title: "",
1117
+ loading: !1,
1118
+ rules: {
1119
+ name: [
1120
+ {
1121
+ required: !0,
1122
+ message: this.$i18nt("gd.btn.input", "\u8BF7\u8F93\u5165"),
1123
+ trigger: "change"
1124
+ }
1125
+ ],
1126
+ msg_templatelibraryid: [
1127
+ {
1128
+ required: !0,
1129
+ message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
1130
+ trigger: "change"
1131
+ }
1132
+ ]
1133
+ },
1134
+ ruleFormData: {
1135
+ id: 0,
1136
+ name: "",
1137
+ msg_templatelibraryid: "",
1138
+ example: ""
1139
+ },
1140
+ fkEntityName: "msg_templatelibrary",
1141
+ firstLoading: !1,
1142
+ parseData: [],
1143
+ showParseInfo: !1,
1144
+ width: "1000px",
1145
+ dataList: [],
1146
+ fileList: [],
1147
+ filePath: "",
1148
+ detail: {},
1149
+ imgList: [],
1150
+ currentImg: ""
1151
+ };
1152
+ },
1153
+ computed: {
1154
+ ...m(["tablePageSize", "tableSize", "tableLists", "screenHeight", "labelPosition", "formMode"])
1155
+ },
1156
+ components: {
1157
+ plateTemp: X
1158
+ },
1159
+ methods: {
1160
+ lookupSeled(s) {
1161
+ this.dataList = s.fkData, this.ruleFormData.msg_templatelibraryid = s.data[0], this.changeTemplate(s.data[0]);
1162
+ },
1163
+ lookup(s) {
1164
+ let e = s, t = {
1165
+ effectType: "fk",
1166
+ fkEntityName: "SysMsgTemplateLibrary",
1167
+ val: e || []
1168
+ };
1169
+ this.$refs.msgSearch.open(t);
1170
+ },
1171
+ copyInit(s) {
1172
+ this.parameterData = {}, this.fullScreen = !1, this.visible = !0, this.detail = s, this.type = 1, this.title = this.$i18nt("gd.https.copy", "\u590D\u5236\u65B0\u589E"), this.getDetail(!1);
1173
+ },
1174
+ open(s) {
1175
+ this.visible = !0, this.detail = s || [], this.title = s ? this.$i18nt("gd.btn.edit") : this.$i18nt("gd.btn.add"), this.type = s ? 2 : 1, s ? this.getDetail() : (this.searchData(""), this.$nextTick(() => {
1176
+ setTimeout(() => {
1177
+ this.ruleFormData.name = "", this.ruleFormData.msg_templatelibraryid = "";
1178
+ }, 0);
1179
+ }));
1180
+ },
1181
+ getDetail(s) {
1182
+ this.confirmLoading = !0, I({
1183
+ id: this.detail.id
1184
+ }).then((e) => {
1185
+ if (e.code === 200) {
1186
+ this.parameterData = e.data.msg_templatelibrary;
1187
+ let t = e.data.msg_templatelibrary;
1188
+ t.example != "" && t.example != null ? this.sysFileInfoPreview(t.example) : this.fileList = [];
1189
+ let i = {
1190
+ name: t.name,
1191
+ msg_templatelibraryid: t.msg_templatelibraryid ? t.msg_templatelibraryid : "",
1192
+ example: t.example
1193
+ };
1194
+ s && (i = Object.assign(i, {
1195
+ id: t.id
1196
+ })), this.ruleFormData = i, e.data.msg_templatedetailedlist.length > 0 && this.$refs.plateTemp.setTempData(e.data), t.msg_templatelibraryid ? (this.searchId(t.msg_templatelibraryid), this.confirmLoading = !1) : (this.searchData(""), this.confirmLoading = !1);
1197
+ } else
1198
+ this.confirmLoading = !1;
1199
+ });
1200
+ },
1201
+ changeTemplate(s) {
1202
+ this.$refs.plateTemp.getTemplateDetailed(s);
1203
+ },
1204
+ searchList() {
1205
+ this.firstLoading || (this.searchData(""), this.firstLoading = !0);
1206
+ },
1207
+ searchData(s) {
1208
+ this.dataList = [], v({
1209
+ fkEntityName: this.fkEntityName,
1210
+ name: s
1211
+ }).then((e) => {
1212
+ this.dataList = e.success ? e.data.map((t) => (t.tableName = this.fkEntityName, t)) : [];
1213
+ });
1214
+ },
1215
+ searchId(s) {
1216
+ return this.dataList = [], this.fetching = !0, v({
1217
+ fkEntityName: this.fkEntityName,
1218
+ id: s
1219
+ }).then((e) => (this.dataList = e.success ? e.data.map((t) => (t.tableName = this.fkEntityName, t)) : [], this.fetching = !1, e));
1220
+ },
1221
+ closed() {
1222
+ this.$refs.ruleForm.resetFields(), this.visible = !1, this.showParseInfo = !1, this.fullscreen = !1, this.parseData = [];
1223
+ },
1224
+ toggleFullscreen() {
1225
+ this.fullscreen = !this.fullscreen;
1226
+ },
1227
+ handleSubmit() {
1228
+ this.confirmLoading = !0, this.$refs.ruleForm.validate((s) => {
1229
+ if (s) {
1230
+ let e = this.$refs.plateTemp.tempData, t = JSON.parse(JSON.stringify(e));
1231
+ t.forEach((l, o) => (l.isusable = l.isusables ? 1 : 0, l.templatejson = JSON.stringify(l.fieldjsons), l));
1232
+ let i;
1233
+ this.type == 1 ? i = Object.assign(this.ruleFormData, {
1234
+ msg_messagetemplatedetailed_msg_messagetemplateid: t
1235
+ }) : i = Object.assign(this.parameterData, this.ruleFormData, {
1236
+ msg_messagetemplatedetailed_msg_messagetemplateid: t
1237
+ }), (this.type == 1 ? D : T)(i).then((l) => {
1238
+ l.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.confirmLoading = !1, this.$emit("ok", i), this.closed()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + l.message), this.confirmLoading = !1;
1239
+ });
1240
+ } else
1241
+ this.confirmLoading = !1;
1242
+ });
1243
+ },
1244
+ successImg(s, e, t) {
1245
+ this.ruleFormData.example = s.id;
1246
+ },
1247
+ removeImg() {
1248
+ this.ruleFormData.example = "";
1249
+ },
1250
+ previewImg(s) {
1251
+ this.imgList = [s.url], this.currentImg = s.url, this.$refs.imgPreview.open();
1252
+ },
1253
+ uploadImg(s) {
1254
+ new FormData().append("file", s.file), x(s).then((t) => {
1255
+ t.code === 200 ? s.onSuccess(t.data) : (this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + t.message), s.onError());
1256
+ }).catch((t) => {
1257
+ s.onError(t);
1258
+ });
1259
+ },
1260
+ sysFileInfoPreview(s) {
1261
+ $({
1262
+ id: s
1263
+ }).then((e) => {
1264
+ this.confirmLoading = !1, this.downloadfile(e);
1265
+ }).catch((e) => {
1266
+ this.confirmLoading = !1, this.$message.error("\u9884\u89C8\u9519\u8BEF\uFF1A" + e.message);
1267
+ });
1268
+ },
1269
+ downloadfile(s) {
1270
+ const e = new Blob([s]);
1271
+ this.filePath = window.URL.createObjectURL(e), this.fileList = [
1272
+ {
1273
+ name: S(),
1274
+ url: this.filePath
1275
+ }
1276
+ ];
1277
+ },
1278
+ doEvent(s) {
1279
+ let e = s.item.functionName;
1280
+ this[e] && this[e]();
1281
+ },
1282
+ getDictionary(s) {
1283
+ return this.$options.filters.dictData(s);
1284
+ }
1285
+ }
1286
+ };
1287
+ var Z = function() {
1288
+ var e = this, t = e._self._c;
1289
+ return t("div", [t("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(i) {
1290
+ e.visible = i;
1291
+ }, closed: e.closed } }, [t("gd-modal-title", { attrs: { slot: "title", title: e.title, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent }, slot: "title" }), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticClass: "b" }, [t("el-form", { ref: "ruleForm", attrs: { "label-width": "110px", "label-position": e.labelPosition, model: e.ruleFormData, rules: e.rules }, nativeOn: { submit: function(i) {
1292
+ i.preventDefault();
1293
+ } } }, [t("el-row", { attrs: { gutter: 20 } }, [t("el-col", { attrs: { md: 12, sm: 24 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.msg.temPlate.name", "\u540D\u79F0"), prop: "name" } }, [t("el-input", { model: { value: e.ruleFormData.name, callback: function(i) {
1294
+ e.$set(e.ruleFormData, "name", i);
1295
+ }, expression: "ruleFormData.name" } })], 1)], 1), t("el-col", { attrs: { md: 12, sm: 24 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.msg.temPlate.temPlate", "\u6A21\u677F\u5E93"), prop: "msg_templatelibraryid" } }, [t("div", { staticClass: "cao_about" }, [t("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), loading: e.loading, "reserve-keyword": "", filterable: "", remote: "", clearable: "", "remote-method": e.searchData, "collapse-tags": !0 }, on: { focus: e.searchList, change: e.changeTemplate }, model: { value: e.ruleFormData.msg_templatelibraryid, callback: function(i) {
1296
+ e.$set(e.ruleFormData, "msg_templatelibraryid", i);
1297
+ }, expression: "ruleFormData.msg_templatelibraryid" } }, e._l(e.dataList, function(i) {
1298
+ return t("el-option", { key: i.id, attrs: { label: i.name, value: i.id } });
1299
+ }), 1), t("div", { staticClass: "cao_setting" }, [t("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(i) {
1300
+ return i.stopPropagation(), e.lookup(e.ruleFormData.msg_templatelibraryid);
1301
+ } } })])], 1)])], 1)], 1), t("el-row", { attrs: { gutter: 20 } }, [t("el-col", { attrs: { md: 12, sm: 24 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.msg.temPlate.diagram", "\u793A\u4F8B\u56FE"), prop: "example" } }, [t("el-upload", { staticClass: "upload-demo", class: e.ruleFormData.example ? "hide-demo" : "", attrs: { action: "", "list-type": "picture-card", "on-preview": e.previewImg, "on-remove": e.removeImg, limit: 1, "http-request": e.uploadImg, "on-success": e.successImg, "file-list": e.fileList, accept: "image/gif, image/jpeg, image/png" } }, [t("i", { staticClass: "el-icon-plus", staticStyle: { "font-size": "18px" } })])], 1)], 1)], 1)], 1), e.visible ? t("plateTemp", { ref: "plateTemp" }) : e._e()], 1)], 1), t("gd-search", { ref: "msgSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } }), t("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: e.imgList.length > 0, imgList: e.imgList, currentImg: e.currentImg } })], 1);
1302
+ }, ee = [], te = /* @__PURE__ */ g(
1303
+ Y,
1304
+ Z,
1305
+ ee,
1306
+ !1,
1307
+ null,
1308
+ "ad6c78fa",
1309
+ null,
1310
+ null
1311
+ );
1312
+ const se = te.exports, ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1313
+ __proto__: null,
1314
+ default: se
1315
+ }, Symbol.toStringTag, { value: "Module" }));
1316
+ export {
1317
+ b as G,
1318
+ ie as e
1319
+ };