gds-plus-design-vue 1.2.63 → 1.2.72

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 (403) hide show
  1. package/lib/addPermission.e559c495.js +1 -0
  2. package/lib/{addPermission.9fc97a47.mjs → addPermission.f2eb7564.mjs} +127 -105
  3. package/lib/approvalModel.2b97fdf8.js +1 -0
  4. package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b3cb5c5.mjs} +7 -7
  5. package/lib/attribute.4f814780.mjs +367 -0
  6. package/lib/attribute.7b4971f5.js +1 -0
  7. package/lib/businessRules.4f7349f3.js +1 -0
  8. package/lib/{businessRules.db6ba874.mjs → businessRules.7ca458f8.mjs} +191 -190
  9. package/lib/buttonRule.4aa9cfd8.mjs +396 -0
  10. package/lib/buttonRule.ba9528ab.js +1 -0
  11. package/lib/chartDisplayRules.25489412.js +1 -0
  12. package/lib/chartDisplayRules.63e53aa7.mjs +288 -0
  13. package/lib/components.chartbi.13a8a7b5.js +8 -0
  14. package/lib/components.chartbi.7356b244.mjs +1813 -0
  15. package/lib/{components.coloreditor.044983d2.mjs → components.coloreditor.20f8b336.mjs} +2 -2
  16. package/lib/{components.coloreditor.779a9419.js → components.coloreditor.8afc4731.js} +1 -1
  17. package/lib/{components.dataassign.1853ed5c.js → components.dataassign.59a87bfd.js} +1 -1
  18. package/lib/{components.dataassign.56632583.mjs → components.dataassign.e398cc99.mjs} +3 -3
  19. package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.17e42353.mjs} +416 -399
  20. package/lib/components.echarts.5dea23f6.js +4 -0
  21. package/lib/{components.exception.cc2f4ca3.mjs → components.exception.8689aba2.mjs} +1 -1
  22. package/lib/{components.exception.3cc33e29.js → components.exception.b4ddeaba.js} +1 -1
  23. package/lib/{components.form.91d5ed3e.js → components.form.14ed3374.js} +19 -19
  24. package/lib/{components.form.3344c817.mjs → components.form.8047a9c3.mjs} +1118 -1090
  25. package/lib/{components.globalheader.07a90c4b.js → components.globalheader.5418b5ec.js} +1 -1
  26. package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.bc91e6fe.mjs} +3 -3
  27. package/lib/components.iconselector.4b5b7901.js +1 -0
  28. package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.d2d970ba.mjs} +7 -3
  29. package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.0563c338.mjs} +4 -4
  30. package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.5fe318f7.js} +1 -1
  31. package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.9a41ea40.mjs} +1 -1
  32. package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.f18b2da3.js} +1 -1
  33. package/lib/{components.middleware.457b1182.mjs → components.middleware.24511f17.mjs} +5 -4
  34. package/lib/components.middleware.64b6a988.js +1 -0
  35. package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.4f454200.mjs} +1 -1
  36. package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.d7ef34cb.js} +1 -1
  37. package/lib/{components.multitab.8441aa6b.mjs → components.multitab.15b91668.mjs} +1 -1
  38. package/lib/{components.multitab.82fd0544.js → components.multitab.92eb4b1e.js} +1 -1
  39. package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.c615fe3e.mjs} +1 -1
  40. package/lib/{components.selecttree.d710a362.js → components.selecttree.ce4fbb44.js} +1 -1
  41. package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.4581f5b1.js} +1 -1
  42. package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.bdd68e73.mjs} +21 -21
  43. package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.c40eee2e.mjs} +2 -2
  44. package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.cd6d0301.js} +1 -1
  45. package/lib/components.sidenavmenu.1f0bbfca.js +1 -0
  46. package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.47d7f44a.mjs} +448 -632
  47. package/lib/{components.statuschange.ed1218a4.js → components.statuschange.190f14ff.js} +1 -1
  48. package/lib/{components.statuschange.15938660.mjs → components.statuschange.85956695.mjs} +3 -3
  49. package/lib/{components.table.e3e5e3bc.mjs → components.table.389ab22a.mjs} +331 -316
  50. package/lib/{components.table.17c02054.js → components.table.d016f609.js} +3 -3
  51. package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.750ec792.mjs} +7 -4
  52. package/lib/components.tableumy.aa73378d.js +1 -0
  53. package/lib/components.tablevirtual.879ff28f.js +1 -0
  54. package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.9bf87b78.mjs} +7 -4
  55. package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.b9f112cf.mjs} +3 -3
  56. package/lib/{components.teamsharing.05503821.js → components.teamsharing.efe58448.js} +1 -1
  57. package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.065f3dee.mjs} +1 -1
  58. package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.edf8e4ca.js} +1 -1
  59. package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0439b870.mjs} +2 -2
  60. package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.586aca36.js} +1 -1
  61. package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.2324089d.js} +1 -1
  62. package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.5f2194ff.mjs} +2 -2
  63. package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.863ff11e.js} +1 -1
  64. package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.d8893ff6.mjs} +1 -1
  65. package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.1236a66e.mjs} +94 -61
  66. package/lib/components.viewformdetails.328c8642.js +1 -0
  67. package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.5761b277.mjs} +54 -51
  68. package/lib/components.viewloading.5b9c8fee.js +1 -0
  69. package/lib/{components.watermark.da3d7220.js → components.watermark.af8b5718.js} +1 -1
  70. package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.d3638d63.mjs} +1 -1
  71. package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.8c121797.js} +1 -1
  72. package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.a1b7b087.mjs} +4 -4
  73. package/lib/components.xlsximport.c53c50f6.js +1 -0
  74. package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.d39bfeaa.mjs} +541 -532
  75. package/lib/copy.3b06d60f.mjs +572 -0
  76. package/lib/copy.fa2fcb22.js +1 -0
  77. package/lib/createFile.526dd6db.js +1 -0
  78. package/lib/createFile.c8d65b52.mjs +439 -0
  79. package/lib/createSubfolders.51df8fcd.js +1 -0
  80. package/lib/{createSubfolders.d35b97e9.mjs → createSubfolders.f8cad77f.mjs} +7 -7
  81. package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.539feafb.mjs} +2 -2
  82. package/lib/{dialogLayout.08823bb7.js → dialogLayout.621a3d40.js} +1 -1
  83. package/lib/drawerContainer.790b0ee6.mjs +163 -0
  84. package/lib/drawerContainer.c971d22d.js +1 -0
  85. package/lib/{drawerLayout.36cf4d05.js → drawerLayout.accd44be.js} +1 -1
  86. package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.c52b8374.mjs} +2 -2
  87. package/lib/editForm.83d10fae.mjs +434 -0
  88. package/lib/editForm.e284e5ec.js +1 -0
  89. package/lib/extendedAttributes.bfff1926.js +1 -0
  90. package/lib/extendedAttributes.e6b11c68.mjs +293 -0
  91. package/lib/{fileSearch.86c356fe.mjs → fileSearch.423b64a3.mjs} +140 -115
  92. package/lib/fileSearch.e849491c.js +1 -0
  93. package/lib/{flow.designer.6da03949.mjs → flow.designer.5feba43c.mjs} +3184 -3197
  94. package/lib/flow.designer.85d0054b.js +1 -0
  95. package/lib/{flow.list.03694808.mjs → flow.list.82131d80.mjs} +234 -232
  96. package/lib/flow.list.e001d91a.js +1 -0
  97. package/lib/form.build.19f0c882.js +1 -0
  98. package/lib/{form.build.b768d613.mjs → form.build.33cc213e.mjs} +22 -14
  99. package/lib/form.designer.build.2bcc355d.js +1 -0
  100. package/lib/form.designer.build.7dc12e87.mjs +2529 -0
  101. package/lib/formFiled.40284ed9.js +1 -0
  102. package/lib/{formFiled.fe7d9df3.mjs → formFiled.5a1c8f7f.mjs} +15 -13
  103. package/lib/gd-initial.js +1 -1
  104. package/lib/gd-initial.mjs +231 -207
  105. package/lib/{http.appmanage.4554a629.mjs → http.appmanage.e389782d.mjs} +3 -3
  106. package/lib/{http.codegeneratemanage.2f925b10.mjs → http.codegeneratemanage.b123bab3.mjs} +19 -11
  107. package/lib/{http.codegeneratemanage.aecadd5d.js → http.codegeneratemanage.e3db2f09.js} +1 -1
  108. package/lib/{http.dictdatamanage.4baf16c0.mjs → http.dictdatamanage.2583b5ae.mjs} +4 -4
  109. package/lib/{http.dictmanage.77c69971.mjs → http.dictmanage.d8fe18dc.mjs} +4 -4
  110. package/lib/{http.duplicatechecking.31964ce7.mjs → http.duplicatechecking.9b79ce21.mjs} +3 -3
  111. package/lib/http.filedocument.6fdfc693.js +1 -0
  112. package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
  113. package/lib/{http.main.40657f51.mjs → http.main.aefea27d.mjs} +17 -17
  114. package/lib/{http.menumanage.3240ba0d.mjs → http.menumanage.3060f4c7.mjs} +5 -5
  115. package/lib/{http.message.5004bf60.mjs → http.message.ceb0a1c6.mjs} +19 -19
  116. package/lib/{http.noticemanage.e03bd5f3.mjs → http.noticemanage.2cdb23b8.mjs} +7 -7
  117. package/lib/{http.orgmanage.84e43edb.mjs → http.orgmanage.0b1df8d5.mjs} +2 -2
  118. package/lib/{http.pluginmanage.6bc6197f.mjs → http.pluginmanage.54720675.mjs} +7 -7
  119. package/lib/{http.promptmanagement.c7912f6c.mjs → http.promptmanagement.dad4c6a7.mjs} +3 -3
  120. package/lib/http.rolemanage.4d1101dd.js +1 -0
  121. package/lib/{http.rolemanage.dbf3fda1.mjs → http.rolemanage.da5c40e9.mjs} +51 -19
  122. package/lib/{http.solution.175d36c8.mjs → http.solution.b10d9197.mjs} +4 -4
  123. package/lib/{http.sumberrules.608a06d6.mjs → http.sumberrules.176d3d06.mjs} +4 -4
  124. package/lib/{http.sysapps.e294ceaf.mjs → http.sysapps.932ba43b.mjs} +4 -4
  125. package/lib/{http.tabledevelopment.1d370398.mjs → http.tabledevelopment.3dcb3e97.mjs} +40 -40
  126. package/lib/{http.team.c8487c0b.mjs → http.team.a9c609d5.mjs} +11 -11
  127. package/lib/{http.timersmanage.01dbc1a2.mjs → http.timersmanage.c79afb66.mjs} +18 -18
  128. package/lib/{http.translationmanage.a4640c9a.mjs → http.translationmanage.f8694b51.mjs} +11 -11
  129. package/lib/{http.useraffiliation.840741ed.mjs → http.useraffiliation.f2a29f92.mjs} +10 -10
  130. package/lib/{http.usermanage.3e5eff33.mjs → http.usermanage.f5491144.mjs} +16 -16
  131. package/lib/{http.webresource.5158b431.mjs → http.webresource.1a1a768f.mjs} +4 -4
  132. package/lib/index.07adebf0.js +8 -0
  133. package/lib/index.340d6f00.mjs +25906 -0
  134. package/lib/layoutBlocks.756e4b57.js +1 -0
  135. package/lib/layoutBlocks.816b49a7.mjs +413 -0
  136. package/lib/layoutItem.051495bc.mjs +71 -0
  137. package/lib/layoutItem.6f6017a5.js +1 -0
  138. package/lib/{layouts.051a0bba.mjs → layouts.1852e8e4.mjs} +19 -22
  139. package/lib/{layouts.a6a36612.js → layouts.2030bf01.js} +2 -2
  140. package/lib/main.0dc447c8.js +1 -0
  141. package/lib/main.12118407.mjs +552 -0
  142. package/lib/main.1551de4d.js +1 -0
  143. package/lib/main.1611bb43.js +1 -0
  144. package/lib/{main.70357352.mjs → main.26d3511c.mjs} +6 -6
  145. package/lib/{main.7f44e3bf.mjs → main.2f9312bb.mjs} +40 -50
  146. package/lib/main.316ac1b8.js +1 -0
  147. package/lib/main.48dc325f.mjs +231 -0
  148. package/lib/main.54ac9faa.mjs +189 -0
  149. package/lib/main.69a2b457.mjs +166 -0
  150. package/lib/{main.ad1e8d4d.js → main.6df74fe7.js} +1 -1
  151. package/lib/main.72c15ab0.js +1 -0
  152. package/lib/{main.8a2a590d.js → main.736883a9.js} +1 -1
  153. package/lib/main.9b2769b1.js +1 -0
  154. package/lib/main.b2314767.mjs +323 -0
  155. package/lib/{main.c1df94d8.mjs → main.ca46939e.mjs} +2 -2
  156. package/lib/main.e1cf9798.js +1 -0
  157. package/lib/{main.b0e5e1b0.mjs → main.efc8dc7b.mjs} +2 -2
  158. package/lib/main.fc38c7c8.mjs +537 -0
  159. package/lib/main.fcb67463.js +1 -0
  160. package/lib/{manage.a1df9b88.mjs → manage.1bc511ff.mjs} +162 -140
  161. package/lib/manage.eb0a6c8c.js +1 -0
  162. package/lib/messages.fieldconfiguration.092bb027.js +1 -0
  163. package/lib/messages.fieldconfiguration.7fd9ceb0.mjs +1097 -0
  164. package/lib/messages.messagetemplate.0935e5a3.mjs +1319 -0
  165. package/lib/messages.messagetemplate.50334e5f.js +7 -0
  166. package/lib/messages.sendplan.60929f46.js +1 -0
  167. package/lib/messages.sendplan.61edcc7f.mjs +1054 -0
  168. package/lib/messages.sendrecord.09a1d1cd.js +2 -0
  169. package/lib/messages.sendrecord.1c48aa6e.mjs +651 -0
  170. package/lib/messages.templatelibrary.f31e8d58.mjs +808 -0
  171. package/lib/messages.templatelibrary.f5952edd.js +2 -0
  172. package/lib/mobile.designer.componentstree.365945a3.js +1 -0
  173. package/lib/mobile.designer.componentstree.9439895e.mjs +2064 -0
  174. package/lib/mobile.designer.menutree.4d4e059b.js +1 -0
  175. package/lib/mobile.designer.menutree.7d3b783d.mjs +1036 -0
  176. package/lib/moveFile.3dc1dc37.mjs +276 -0
  177. package/lib/moveFile.f70bbff7.js +1 -0
  178. package/lib/{page.build.846096e6.js → page.build.7ac1ee9b.js} +3 -3
  179. package/lib/{page.build.685c1e15.mjs → page.build.ae61a39b.mjs} +607 -601
  180. package/lib/page.designer.componentstree.74a3a114.js +1 -0
  181. package/lib/page.designer.componentstree.cdabec2d.mjs +2958 -0
  182. package/lib/page.designer.fieldfiltering.e341aa60.mjs +430 -0
  183. package/lib/page.designer.fieldfiltering.f2d1b6e4.js +1 -0
  184. package/lib/page.designer.menutree.71c18258.js +1 -0
  185. package/lib/page.designer.menutree.e4ce1e90.mjs +5952 -0
  186. package/lib/page.designer.operation.1d435e6e.js +1 -0
  187. package/lib/page.designer.operation.fe808988.mjs +44 -0
  188. package/lib/page.designer.page.654634aa.js +1 -0
  189. package/lib/page.designer.page.821f8994.mjs +10638 -0
  190. package/lib/personal.echarts.118bcafb.mjs +268 -0
  191. package/lib/personal.echarts.e5915542.js +1 -0
  192. package/lib/result.4d4039ea.js +1 -0
  193. package/lib/result.a87217ae.mjs +639 -0
  194. package/lib/router.config.a09f29e7.js +1 -0
  195. package/lib/router.config.f0ad16fd.mjs +1424 -0
  196. package/lib/solution.application.8d6c84e8.js +1 -0
  197. package/lib/solution.application.e6b5dc4f.mjs +548 -0
  198. package/lib/solution.applicationmenu.c6cd2b59.js +1 -0
  199. package/lib/solution.applicationmenu.e878c41a.mjs +508 -0
  200. package/lib/solution.approvalflow.79da028c.js +1 -0
  201. package/lib/solution.approvalflow.eb1c0607.mjs +436 -0
  202. package/lib/solution.dict.088a1e72.mjs +769 -0
  203. package/lib/solution.dict.1d5195d0.js +1 -0
  204. package/lib/solution.menu.e58922fe.mjs +432 -0
  205. package/lib/solution.menu.fa48a7e8.js +1 -0
  206. package/lib/solution.plugin.5d6d29cf.js +1 -0
  207. package/lib/solution.plugin.ae6df926.mjs +347 -0
  208. package/lib/solution.processflow.62936f1c.mjs +392 -0
  209. package/lib/solution.processflow.aa1e808b.js +1 -0
  210. package/lib/solution.role.2eff83a1.js +1 -0
  211. package/lib/solution.role.7b3e7030.mjs +456 -0
  212. package/lib/solution.webresources.88c4483b.mjs +379 -0
  213. package/lib/solution.webresources.bc00603d.js +1 -0
  214. package/lib/solution.workflow.0ed2cb24.js +1 -0
  215. package/lib/solution.workflow.85de0ae5.mjs +395 -0
  216. package/lib/{store.config.fff8a5a1.mjs → store.config.03dd7b19.mjs} +22 -17
  217. package/lib/store.config.556bd56b.js +1 -0
  218. package/lib/style.css +3 -3
  219. package/lib/{system.account.014f3e0b.mjs → system.account.3d7480ba.mjs} +877 -881
  220. package/lib/{system.account.0d4f1fdc.js → system.account.93ad722e.js} +7 -7
  221. package/lib/{system.config.0899edb8.mjs → system.config.6084ad21.mjs} +1 -1
  222. package/lib/{system.config.210f516c.js → system.config.9520e7f9.js} +1 -1
  223. package/lib/{system.datasource.82492d27.js → system.datasource.76c0ccdb.js} +1 -1
  224. package/lib/{system.datasource.986768c9.mjs → system.datasource.d74df021.mjs} +1 -1
  225. package/lib/system.dict.ab148847.js +1 -0
  226. package/lib/{system.dict.ef24873d.mjs → system.dict.caad4d66.mjs} +264 -260
  227. package/lib/system.document.0e46ff8c.js +1 -0
  228. package/lib/system.document.cbdf25a9.mjs +667 -0
  229. package/lib/{system.duplicatechecking.dcf9f86b.mjs → system.duplicatechecking.46e182d7.mjs} +245 -265
  230. package/lib/system.duplicatechecking.a217fc52.js +1 -0
  231. package/lib/system.email.1db14214.js +1 -0
  232. package/lib/{system.email.252fd642.mjs → system.email.c1ad6598.mjs} +10 -15
  233. package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.2e55e839.mjs} +370 -361
  234. package/lib/system.fieldsecurity.40b4f48a.js +1 -0
  235. package/lib/system.file.6a6bd77c.js +1 -0
  236. package/lib/{system.file.73eeb731.mjs → system.file.80aa0809.mjs} +81 -149
  237. package/lib/{system.log.b86cf57f.mjs → system.log.3986a8ca.mjs} +1 -1
  238. package/lib/{system.log.fc60f5e6.js → system.log.9d394678.js} +1 -1
  239. package/lib/{system.machine.0114001b.mjs → system.machine.395c67c2.mjs} +1 -1
  240. package/lib/{system.machine.f1d95c86.js → system.machine.d33b0b6e.js} +1 -1
  241. package/lib/system.notice.2090c130.js +1 -0
  242. package/lib/{system.notice.25ea8dca.mjs → system.notice.51880df6.mjs} +994 -992
  243. package/lib/system.noticereceived.0b79642e.js +1 -0
  244. package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.55f276ab.mjs} +10 -11
  245. package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.71034956.mjs} +37 -26
  246. package/lib/system.onlineuser.e74f010d.js +1 -0
  247. package/lib/{system.org.c20fe6b2.mjs → system.org.e1e156c6.mjs} +2 -2
  248. package/lib/{system.org.79ee5bd6.js → system.org.f6d58d0f.js} +1 -1
  249. package/lib/system.permissions.4090552f.mjs +972 -0
  250. package/lib/system.permissions.fdb64929.js +1 -0
  251. package/lib/{system.plugin.45a0f530.mjs → system.plugin.8a9a6448.mjs} +500 -479
  252. package/lib/system.plugin.a0f25733.js +1 -0
  253. package/lib/{system.pos.7946a99c.mjs → system.pos.0ad80a53.mjs} +1 -1
  254. package/lib/{system.pos.0a3d2a37.js → system.pos.71f3eba7.js} +1 -1
  255. package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.39607ddb.mjs} +246 -243
  256. package/lib/system.promptmanagement.9718aa24.js +1 -0
  257. package/lib/system.role.321c48d3.js +1 -0
  258. package/lib/{system.role.75da7929.mjs → system.role.3b533a3e.mjs} +511 -488
  259. package/lib/system.sumberrules.6e8d208e.js +1 -0
  260. package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.c2b8c5e7.mjs} +168 -165
  261. package/lib/{system.team.e6a9608e.mjs → system.team.367bf5e7.mjs} +163 -161
  262. package/lib/system.team.cf1c1558.js +1 -0
  263. package/lib/system.teammembers.63f21557.js +1 -0
  264. package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.851ce63b.mjs} +203 -198
  265. package/lib/system.timers.51bedf97.js +38 -0
  266. package/lib/{system.timers.eb0b6f3e.mjs → system.timers.5e735567.mjs} +2261 -2213
  267. package/lib/{system.translation.e34f0891.mjs → system.translation.61765713.mjs} +435 -429
  268. package/lib/system.translation.c9f1b505.js +1 -0
  269. package/lib/{system.user.fa2d2997.mjs → system.user.254bbe85.mjs} +1082 -1026
  270. package/lib/system.user.475d7391.js +14 -0
  271. package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.b96c984a.mjs} +418 -412
  272. package/lib/system.useraffiliation.fe1e1d39.js +1 -0
  273. package/lib/{system.webresource.469db736.mjs → system.webresource.2c6cf4a7.mjs} +179 -179
  274. package/lib/system.webresource.81cfa690.js +1 -0
  275. package/lib/{system.welcome.191e98f5.mjs → system.welcome.72da74ae.mjs} +1 -1
  276. package/lib/{system.welcome.f64e49f8.js → system.welcome.d86a3cdb.js} +1 -1
  277. package/lib/table.definition..btnconfig.24402bf0.mjs +938 -0
  278. package/lib/table.definition..btnconfig.add3d840.js +1 -0
  279. package/lib/table.definition..echartsconfig.4310b5a2.js +1 -0
  280. package/lib/table.definition..echartsconfig.9c3c88f6.mjs +2150 -0
  281. package/lib/tableDescriptions.143d8e67.js +1 -0
  282. package/lib/tableDescriptions.60a07f7c.mjs +80 -0
  283. package/lib/tcheckboxs.e4d387ff.js +1 -0
  284. package/lib/{tcheckboxs.090e75eb.mjs → tcheckboxs.ee4adb9e.mjs} +2 -2
  285. package/lib/tcurrency.0360c142.mjs +85 -0
  286. package/lib/tcurrency.233f4e63.js +1 -0
  287. package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.9e5d99f4.mjs} +2 -2
  288. package/lib/{tdatepicker.b19e689d.js → tdatepicker.b10536fd.js} +1 -1
  289. package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.10d64c18.js} +1 -1
  290. package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.eed5a945.mjs} +2 -2
  291. package/lib/{tfile.72925615.mjs → tfile.7c635ee4.mjs} +2 -2
  292. package/lib/{tfile.1bc381f9.js → tfile.e183d25f.js} +1 -1
  293. package/lib/{tparticipants.ca5b556c.mjs → tparticipants.04280449.mjs} +2 -2
  294. package/lib/{tparticipants.77b876e2.js → tparticipants.f732d245.js} +1 -1
  295. package/lib/{translation.mains.278e4ba6.mjs → translation.mains.0df71304.mjs} +7 -7
  296. package/lib/{translation.mains.1ce7e110.js → translation.mains.6f941967.js} +1 -1
  297. package/lib/utils.datepicker.js.0a5a699e.js +1 -0
  298. package/lib/utils.datepicker.js.5549a741.mjs +70 -0
  299. package/lib/utils.plug.js.9313aead.mjs +31 -0
  300. package/lib/utils.plug.js.f62510ce.js +1 -0
  301. package/lib/utils.util.js.333daba2.mjs +439 -0
  302. package/lib/utils.util.js.c0ba699b.js +1 -0
  303. package/lib/versionControl.97590ce8.js +1 -0
  304. package/lib/versionControl.d1b2b0da.mjs +488 -0
  305. package/lib/versionEdit.c51606e4.mjs +452 -0
  306. package/lib/versionEdit.f710d0bb.js +1 -0
  307. package/lib/view.build.5789a6eb.js +1 -0
  308. package/lib/view.build.9976c958.mjs +1578 -0
  309. package/lib/{viewList.5a25c4b6.mjs → viewList.3ca52f0c.mjs} +70 -92
  310. package/lib/viewList.6e181715.js +1 -0
  311. package/lib/viewTree.9bdf96f0.js +1 -0
  312. package/lib/viewTree.c2e11b7f.mjs +409 -0
  313. package/locale/en_US.js +45 -6
  314. package/locale/id_ID.js +45 -6
  315. package/locale/vi_VN.js +45 -6
  316. package/locale/zh_CN.js +45 -5
  317. package/package.json +1 -1
  318. package/lib/addPermission.5036013c.js +0 -1
  319. package/lib/approvalModel.66f49dfb.js +0 -1
  320. package/lib/attribute.318f485c.js +0 -1
  321. package/lib/attribute.a06ac9e7.mjs +0 -237
  322. package/lib/buildItem.6a834227.js +0 -1
  323. package/lib/buildItem.fd8634ab.mjs +0 -205
  324. package/lib/businessRules.0e4dbb3a.js +0 -1
  325. package/lib/components.chartbi.b043dcdc.mjs +0 -1729
  326. package/lib/components.chartbi.e4680eaa.js +0 -7
  327. package/lib/components.echarts.e4d6b13e.js +0 -3
  328. package/lib/components.iconselector.d712170f.js +0 -1
  329. package/lib/components.middleware.3bad5748.js +0 -1
  330. package/lib/components.sidenavmenu.b9bb9304.js +0 -1
  331. package/lib/components.tableumy.9cf33062.js +0 -1
  332. package/lib/components.tablevirtual.38d4d3d8.js +0 -1
  333. package/lib/components.viewformdetails.1621bc18.js +0 -1
  334. package/lib/components.viewloading.807bbf68.js +0 -1
  335. package/lib/components.xlsximport.dbd826bb.js +0 -1
  336. package/lib/createFile.6b37ecf2.js +0 -1
  337. package/lib/createFile.82d6e415.mjs +0 -239
  338. package/lib/createSubfolders.47af629c.js +0 -1
  339. package/lib/drawerContainer.604a1271.mjs +0 -146
  340. package/lib/drawerContainer.6a9813ce.js +0 -1
  341. package/lib/fileSearch.65311ded.js +0 -1
  342. package/lib/flow.designer.1ba3a90d.js +0 -1
  343. package/lib/flow.list.4eb10554.js +0 -1
  344. package/lib/form.build.51bd261e.js +0 -1
  345. package/lib/form.designer.build.5a950455.js +0 -1
  346. package/lib/form.designer.build.e521c9c6.mjs +0 -5091
  347. package/lib/formFiled.464856f5.js +0 -1
  348. package/lib/http.filedocument.7c656b91.js +0 -1
  349. package/lib/http.filedocument.d456d26a.mjs +0 -156
  350. package/lib/http.rolemanage.03363732.js +0 -1
  351. package/lib/index.69ad4631.mjs +0 -44291
  352. package/lib/index.cca024bf.js +0 -8
  353. package/lib/layoutBlocks.1a9e3e05.mjs +0 -204
  354. package/lib/layoutBlocks.5e6be06f.js +0 -1
  355. package/lib/main.457f4326.js +0 -1
  356. package/lib/main.4fff412e.js +0 -1
  357. package/lib/main.77373aa4.mjs +0 -441
  358. package/lib/main.c3726602.js +0 -1
  359. package/lib/manage.5bb4f719.js +0 -1
  360. package/lib/messages.7b74736f.js +0 -9
  361. package/lib/messages.ad082386.mjs +0 -4889
  362. package/lib/moveFile.0ce803e0.js +0 -1
  363. package/lib/moveFile.8310ea94.mjs +0 -254
  364. package/lib/personal.echarts.b22fba61.mjs +0 -701
  365. package/lib/personal.echarts.f77bfc9e.js +0 -1
  366. package/lib/result.19351665.mjs +0 -526
  367. package/lib/result.e59c0e40.js +0 -1
  368. package/lib/router.config.2501ec51.js +0 -1
  369. package/lib/router.config.98a73167.mjs +0 -3172
  370. package/lib/solution.58580123.js +0 -1
  371. package/lib/solution.890ff164.mjs +0 -6942
  372. package/lib/store.config.3cb11578.js +0 -1
  373. package/lib/system.dict.f5708400.js +0 -1
  374. package/lib/system.duplicatechecking.8e3a37c0.js +0 -1
  375. package/lib/system.email.070ab2be.js +0 -1
  376. package/lib/system.fieldsecurity.3ef07bf7.js +0 -1
  377. package/lib/system.file.17a7f2ed.js +0 -1
  378. package/lib/system.notice.96c770a6.js +0 -1
  379. package/lib/system.noticereceived.dfe4ecc7.js +0 -1
  380. package/lib/system.onlineuser.e2e39bdc.js +0 -1
  381. package/lib/system.permissions.90f73461.js +0 -9
  382. package/lib/system.permissions.c3d34921.mjs +0 -213
  383. package/lib/system.plugin.b34a3b47.js +0 -1
  384. package/lib/system.promptmanagement.b5fa6b2d.js +0 -1
  385. package/lib/system.role.03be0982.js +0 -1
  386. package/lib/system.sumberrules.bb228fce.js +0 -1
  387. package/lib/system.team.32183b63.js +0 -1
  388. package/lib/system.teammembers.847d8ea7.js +0 -1
  389. package/lib/system.timers.28691ce4.js +0 -38
  390. package/lib/system.translation.6237f071.js +0 -1
  391. package/lib/system.user.fca3f2d6.js +0 -14
  392. package/lib/system.useraffiliation.7547b9c7.js +0 -1
  393. package/lib/system.webresource.12712b90.js +0 -1
  394. package/lib/tcheckboxs.99361be3.js +0 -1
  395. package/lib/tcurrency.0ddac2f8.mjs +0 -92
  396. package/lib/tcurrency.62763c6d.js +0 -1
  397. package/lib/utils.datepicker.js.2076c2a2.mjs +0 -61
  398. package/lib/utils.datepicker.js.8576e2fc.js +0 -1
  399. package/lib/utils.util.js.50d1ec9c.js +0 -1
  400. package/lib/utils.util.js.82cd8447.mjs +0 -424
  401. package/lib/view.build.b44fd7d7.js +0 -1
  402. package/lib/view.build.f2a9fcfb.mjs +0 -2727
  403. package/lib/viewList.be5a5ec5.js +0 -1
@@ -0,0 +1,288 @@
1
+ import { m as c, n as d } from "./components.chartbi.7356b244.mjs";
2
+ import { u as o } from "./utils.util.js.333daba2.mjs";
3
+ import "./utils.echarts.js.d1bb8ac6.mjs";
4
+ const u = {
5
+ props: {
6
+ fieldData: {
7
+ type: Array,
8
+ default: () => []
9
+ },
10
+ echartsMode: {
11
+ type: Array,
12
+ default: () => []
13
+ },
14
+ sequenceField: {
15
+ type: Array,
16
+ default: () => []
17
+ },
18
+ size: {
19
+ type: Array,
20
+ default: () => []
21
+ }
22
+ },
23
+ data() {
24
+ return {
25
+ width: "800px",
26
+ record: null,
27
+ confirmLoading: !1,
28
+ visible: !1,
29
+ fullscreen: !1,
30
+ buttons: [
31
+ {
32
+ displayName: "\u786E\u5B9A",
33
+ functionName: "handleSubmit",
34
+ show: !0,
35
+ transKey: "gd.btn.confirm",
36
+ icon: "el-icon-document-checked"
37
+ }
38
+ ],
39
+ list: [],
40
+ showAdd: !0
41
+ };
42
+ },
43
+ computed: {
44
+ predefine() {
45
+ return ["#F5222D", "#52C41A", "#FAAD14", "#13C2C2", "#1890FF", "#722ED1", "#eee", "#333", "#666", "#999"];
46
+ },
47
+ operationList() {
48
+ return [
49
+ { name: "\u5B57\u4F53\u989C\u8272", transKey: "gd.page.fontcolor", code: "1" },
50
+ { name: "\u5B57\u4F53\u5927\u5C0F", transKey: "gd.page.fontSize", code: "2" },
51
+ { name: "\u5B57\u4F53\u52A0\u7C97", transKey: "gd.page.fontWeight", code: "3" }
52
+ ];
53
+ },
54
+ rulesList() {
55
+ return this.getDictionary("table_form_rules").filter((e) => e.remark.split(",").includes("double")).filter((e) => !["6", "5", "4", "3"].includes(e.code));
56
+ },
57
+ height() {
58
+ let i = this.fullscreen ? 190 : 340;
59
+ return this.screenHeight - i;
60
+ },
61
+ ...c(["screenHeight"])
62
+ },
63
+ methods: {
64
+ handleSubmit() {
65
+ let i = [], t = [];
66
+ if (this.list.forEach((e, n) => {
67
+ i = i.concat(e.condition.list), t = t.concat(e.operation.list);
68
+ }), i.length === 0 && t.length === 0) {
69
+ this.$emit("ok", this.record, []), this.closed();
70
+ return;
71
+ }
72
+ if (!this.isCheckedAll(i)) {
73
+ this.$message.warning(this.$i18nt("gd.basics.businessRulesConditionTip", "\u8BF7\u8865\u5145\u6761\u4EF6\u6570\u636E!"));
74
+ return;
75
+ }
76
+ this.$emit("ok", this.record, this.list), this.closed();
77
+ },
78
+ addList() {
79
+ let i = [...this.list];
80
+ i.length > 1 && (i[i.length - 1].title = "ELSE IF");
81
+ let t = {
82
+ title: "Else",
83
+ open: !0,
84
+ condition: {
85
+ open: !0,
86
+ list: []
87
+ },
88
+ operation: {
89
+ open: !0,
90
+ list: []
91
+ },
92
+ id: o()
93
+ };
94
+ i.push(t), this.list = [...i];
95
+ },
96
+ del(i) {
97
+ let t = this;
98
+ this.$confirm(this.$i18nt("gd.https.delExpression", "\u662F\u5426\u5220\u9664\u6B64\u8868\u8FBE\u5F0F?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
99
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
100
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
101
+ showClose: !1,
102
+ confirmButtonLoading: !1,
103
+ cancelButtonLoading: !1,
104
+ closeOnClickModal: !1,
105
+ type: "warning",
106
+ confirmButtonClass: "el-button--danger",
107
+ customClass: "custom-alert",
108
+ callback: () => {
109
+ },
110
+ beforeClose: (e, n, a) => {
111
+ if (a(), e !== "confirm")
112
+ return;
113
+ let l = [...t.list];
114
+ l.splice(i, 1), l.length > 1 && (l[l.length - 1].title = "Else"), t.list = [...l];
115
+ }
116
+ });
117
+ },
118
+ delCondition(i, t) {
119
+ let e = [...this.list];
120
+ e[i].condition.list.splice(t, 1), e[i].condition.list.length > 0 && (e[i].condition.list[0].type = "0"), e[i].condition.list.length === 0 && i != e.length - 1 && (e[i].operation.list = []), this.list = [...e];
121
+ },
122
+ delOperation(i, t) {
123
+ let e = [...this.list];
124
+ e[i].operation.list = [], this.list = [...e];
125
+ },
126
+ addCondition(i) {
127
+ let t = this.list[i].condition.list.length, n = {
128
+ type: t == 0 ? "0" : t > 1 ? this.list[i].condition.list[t - 1].type : "1",
129
+ rules: "1",
130
+ val: void 0,
131
+ id: o(12)
132
+ };
133
+ this.list[i].condition.list.push(n), this.list[i].operation.list.length === 0 && (this.addOperation(i, "1", "#333"), this.addOperation(i, "2", 14), this.addOperation(i, "3", "normal"));
134
+ },
135
+ addOperation(i, t, e) {
136
+ let n = {
137
+ rules: t,
138
+ val: e,
139
+ type: 1,
140
+ id: o()
141
+ };
142
+ this.list[i].operation.list.push(n);
143
+ },
144
+ addOperationMore(i) {
145
+ this.list[i].operation.list.length === 0 && (this.addOperation(i, "1", "#333"), this.addOperation(i, "2", 14), this.addOperation(i, "3", "normal"));
146
+ },
147
+ openItem(i, t) {
148
+ if (i == 1) {
149
+ this.list[t].open = !this.list[t].open;
150
+ return;
151
+ }
152
+ if (i == 2) {
153
+ this.list[t].condition.open = !this.list[t].condition.open;
154
+ return;
155
+ }
156
+ if (i == 3) {
157
+ this.list[t].operation.open = !this.list[t].operation.open;
158
+ return;
159
+ }
160
+ },
161
+ del(i) {
162
+ let t = this;
163
+ this.$confirm(this.$i18nt("gd.https.delExpression", "\u662F\u5426\u5220\u9664\u6B64\u8868\u8FBE\u5F0F?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
164
+ confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
165
+ cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
166
+ showClose: !1,
167
+ confirmButtonLoading: !1,
168
+ cancelButtonLoading: !1,
169
+ closeOnClickModal: !1,
170
+ type: "warning",
171
+ confirmButtonClass: "el-button--danger",
172
+ customClass: "custom-alert",
173
+ callback: () => {
174
+ },
175
+ beforeClose: (e, n, a) => {
176
+ if (a(), e !== "confirm")
177
+ return;
178
+ let l = [...t.list];
179
+ l.splice(i, 1), l.length > 1 && (l[l.length - 1].title = "Else"), t.list = [...l];
180
+ }
181
+ });
182
+ },
183
+ open(i) {
184
+ const t = JSON.parse(JSON.stringify(i));
185
+ this.record = t, this.list = t.ruleSequence.length > 0 ? [...t.ruleSequence] : [
186
+ {
187
+ title: "IF",
188
+ open: !0,
189
+ condition: {
190
+ open: !0,
191
+ list: []
192
+ },
193
+ operation: {
194
+ open: !0,
195
+ list: []
196
+ },
197
+ id: o(12)
198
+ }
199
+ ], this.visible = !0;
200
+ },
201
+ isCheckedAll(i, t) {
202
+ return i.every((e, n, a) => e.val !== "" && e.val !== void 0);
203
+ },
204
+ closed() {
205
+ this.confirmLoading = !1, this.fullscreen = !1, this.visible = !1;
206
+ },
207
+ toggleFullscreen() {
208
+ this.fullscreen = !this.fullscreen;
209
+ },
210
+ getDictionary(i) {
211
+ return this.$options.filters.dictData(i);
212
+ },
213
+ doEvent(i) {
214
+ let t = i.item.functionName;
215
+ this[t] && this[t]();
216
+ }
217
+ }
218
+ };
219
+ var p = function() {
220
+ var t = this, e = t._self._c;
221
+ return e("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: t.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: t.fullscreen, visible: t.visible, width: t.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(n) {
222
+ t.visible = n;
223
+ }, closed: t.closed } }, [e("template", { slot: "title" }, [e("gd-modal-title", { attrs: { title: t.$i18nt("gd.echarts.displayRules", "\u663E\u793A\u89C4\u5219"), fullscreen: t.fullscreen, buttons: t.buttons, confirmLoading: t.confirmLoading, showClose: !0 }, on: { changeEvent: t.doEvent } })], 1), e("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.confirmLoading, expression: "confirmLoading" }] }, [e("div", { staticClass: "rules" }, [t._l(t.list, function(n, a) {
224
+ return e("div", { key: a, staticClass: "rules-if" }, [e("div", { staticClass: "title" }, [e("div", { staticClass: "l", on: { click: function(l) {
225
+ return t.openItem(1, a);
226
+ } } }, [e("i", { staticClass: "if-icon", class: n.open ? "el-icon-caret-bottom" : "el-icon-caret-right" }), t._v(" " + t._s(n.title) + " ")]), a != 0 ? e("div", { staticClass: "r" }, [e("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "18px", cursor: "pointer", color: "#ff4d4f" }, on: { click: function(l) {
227
+ return t.del(a);
228
+ } } })]) : t._e()]), n.open ? e("div", { staticClass: "rules-ifs" }, [e("div", { staticClass: "condition" }, [e("div", { staticClass: "title", on: { click: function(l) {
229
+ return t.openItem(2, a);
230
+ } } }, [e("i", { staticClass: "if-icon", class: n.condition.open ? "el-icon-caret-bottom" : "el-icon-caret-right" }), t._v(" " + t._s(t.$i18nt("gd.basics.if", "\u5982\u679C")) + " ")]), n.condition && n.condition.open ? e("div", { staticClass: "detail" }, [t._l(n.condition.list, function(l, r) {
231
+ return e("div", { staticClass: "lists" }, [e("div", { staticClass: "rg" }, [l.type == 0 ? e("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.input"), value: t.$i18nt("gd.basics.if", "\u5982\u679C"), disabled: "" } }) : e("el-select", { staticStyle: { width: "100%" }, model: { value: l.type, callback: function(s) {
232
+ t.$set(l, "type", s);
233
+ }, expression: "ite.type" } }, [e("el-option", { attrs: { value: "1", label: t.$i18nt("gd.filter.and", "\u548C") } }), e("el-option", { attrs: { value: "2", label: t.$i18nt("gd.filter.or", "\u6216") } })], 1)], 1), e("div", { staticClass: "zd" }, [e("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: "" }, model: { value: t.record.columnName, callback: function(s) {
234
+ t.$set(t.record, "columnName", s);
235
+ }, expression: "record.columnName" } }, [t._l(t.sequenceField, function(s) {
236
+ return [e("el-option", { attrs: { value: s.columnName, label: s.transkeyDict ? `${t.$i18nt(`Dynamics.${s.transkey}`, s.columncomment)} (${t.$i18nt(
237
+ `Dynamics.${s.transkeyDict}`,
238
+ s.transkeyName
239
+ )})` : t.$i18nt(`Dynamics.${t.V.transkey}`, s.columncomment) } })];
240
+ })], 2)], 1), e("div", { staticClass: "tj" }, [e("el-select", { staticStyle: { width: "100%" }, model: { value: l.rules, callback: function(s) {
241
+ t.$set(l, "rules", s);
242
+ }, expression: "ite.rules" } }, [t._l(t.rulesList, function(s) {
243
+ return [e("el-option", { attrs: { value: s.code, label: t.$i18nt(`Dynamics.${s.transkey}`, s.name) } }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${s.transkey}`, s.name)) + " ")])];
244
+ })], 2)], 1), e("div", { staticClass: "jg" }, [e("el-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right", step: 1 }, model: { value: l.val, callback: function(s) {
245
+ t.$set(l, "val", s);
246
+ }, expression: "ite.val" } })], 1), e("div", { staticClass: "sc" }, [e("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "18px", color: "#ff4d4f" }, on: { click: function(s) {
247
+ return t.delCondition(a, r);
248
+ } } })])]);
249
+ }), e("div", { staticClass: "add" }, [e("span", { staticClass: "active-color", on: { click: function(l) {
250
+ return t.addCondition(a);
251
+ } } }, [e("i", { staticClass: "el-icon-plus" }), t._v(" " + t._s(t.$i18nt("gd.basics.addCondition", "\u6DFB\u52A0\u6761\u4EF6")) + " ")])])], 2) : t._e()]), e("div", { staticClass: "operation" }, [e("div", { staticClass: "title", on: { click: function(l) {
252
+ return t.openItem(3, a);
253
+ } } }, [e("i", { class: n.operation.open ? "el-icon-caret-bottom" : "el-icon-caret-right" }), t._v(" " + t._s(t.$i18nt("gd.basics.handle")) + " "), a === t.list.length - 1 && n.operation.list.length > 0 && n.condition.list.length === 0 ? e("div", { staticClass: "title-sc" }, [e("i", { staticClass: "el-icon-delete", staticStyle: { "font-size": "18px", color: "#ff4d4f" }, on: { click: function(l) {
254
+ return l.stopPropagation(), t.delOperation(a);
255
+ } } })]) : t._e()]), n.operation && n.operation.open ? e("div", { staticClass: "list" }, [t._l(n.operation.list, function(l, r) {
256
+ return e("div", { staticClass: "lists" }, [e("div", { staticClass: "zd" }, [e("el-select", { staticStyle: { width: "100%" }, model: { value: l.rules, callback: function(s) {
257
+ t.$set(l, "rules", s);
258
+ }, expression: "ite.rules" } }, [t._l(t.operationList, function(s) {
259
+ return [e("el-option", { attrs: { value: s.code, label: t.$i18nt(`Dynamics.${s.transKey}`, s.name) } })];
260
+ })], 2)], 1), e("div", { staticClass: "zd" }, [l.rules === "1" ? e("el-input", { model: { value: l.val, callback: function(s) {
261
+ t.$set(l, "val", s);
262
+ }, expression: "ite.val" } }, [e("el-color-picker", { staticClass: "theme-picker", staticStyle: { "margin-right": "-5px" }, attrs: { slot: "suffix", predefine: t.predefine, "popper-class": "theme-picker-dropdown" }, slot: "suffix", model: { value: l.val, callback: function(s) {
263
+ t.$set(l, "val", s);
264
+ }, expression: "ite.val" } })], 1) : l.rules === "2" ? e("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), size: "mini" }, model: { value: l.val, callback: function(s) {
265
+ t.$set(l, "val", s);
266
+ }, expression: "ite.val" } }, t._l(t.size, function(s) {
267
+ return e("el-option", { key: s, attrs: { label: s, value: s } });
268
+ }), 1) : l.rules === "3" ? e("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: t.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), size: "mini" }, model: { value: l.val, callback: function(s) {
269
+ t.$set(l, "val", s);
270
+ }, expression: "ite.val" } }, [e("el-option", { attrs: { value: "lighter", label: t.$i18nt("gd.page.lighter", "\u7EC6") } }), e("el-option", { attrs: { value: "normal", label: t.$i18nt("gd.page.fontNormal", "\u9ED8\u8BA4") } }), e("el-option", { attrs: { value: "bolder", label: t.$i18nt("gd.page.bolder", "\u7C97") } })], 1) : t._e()], 1)]);
271
+ }), n.operation.list.length === 0 ? e("div", { staticClass: "add active-color" }, [e("span", { on: { click: function(l) {
272
+ return t.addOperationMore(a);
273
+ } } }, [e("i", { staticClass: "el-icon-plus" }), t._v(" " + t._s(t.$i18nt("gd.basics.addHandle", "\u6DFB\u52A0\u64CD\u4F5C")) + " ")])]) : t._e()], 2) : t._e()])]) : t._e()]);
274
+ }), t.showAdd ? e("div", { staticClass: "rules-el" }, [e("span", { staticClass: "active-color", staticStyle: { cursor: "pointer" }, on: { click: t.addList } }, [e("i", { staticClass: "el-icon-plus" }), t._v(" " + t._s(t.$i18nt("gd.basics.addElse", "\u6DFB\u52A0 ELSE")) + " ")])]) : t._e()], 2)])], 2);
275
+ }, f = [], h = /* @__PURE__ */ d(
276
+ u,
277
+ p,
278
+ f,
279
+ !1,
280
+ null,
281
+ "8a162d6f",
282
+ null,
283
+ null
284
+ );
285
+ const y = h.exports;
286
+ export {
287
+ y as default
288
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";const A=require("./utils.echarts.js.461a74e7.js"),N=require("./utils.util.js.c0ba699b.js");/*!
2
+ * vuex v3.6.2
3
+ * (c) 2021 Evan You
4
+ * @license MIT
5
+ */function ht(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:r});else{var o=t.prototype._init;t.prototype._init=function(i){i===void 0&&(i={}),i.init=i.init?[r].concat(i.init):r,o.call(this,i)}}function r(){var i=this.$options;i.store?this.$store=typeof i.store=="function"?i.store():i.store:i.parent&&i.parent.$store&&(this.$store=i.parent.$store)}}var pt=typeof window<"u"?window:typeof global<"u"?global:{},z=pt.__VUE_DEVTOOLS_GLOBAL_HOOK__;function mt(t){!z||(t._devtoolHook=z,z.emit("vuex:init",t),z.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(e,o){z.emit("vuex:mutation",e,o)},{prepend:!0}),t.subscribeAction(function(e,o){z.emit("vuex:action",e,o)},{prepend:!0}))}function P(t,e){Object.keys(t).forEach(function(o){return e(t[o],o)})}function et(t){return t!==null&&typeof t=="object"}function gt(t){return t&&typeof t.then=="function"}function E(t,e){if(!t)throw new Error("[vuex] "+e)}function yt(t,e){return function(){return t(e)}}var k=function(e,o){this.runtime=o,this._children=Object.create(null),this._rawModule=e;var r=e.state;this.state=(typeof r=="function"?r():r)||{}},ot={namespaced:{configurable:!0}};ot.namespaced.get=function(){return!!this._rawModule.namespaced};k.prototype.addChild=function(e,o){this._children[e]=o};k.prototype.removeChild=function(e){delete this._children[e]};k.prototype.getChild=function(e){return this._children[e]};k.prototype.hasChild=function(e){return e in this._children};k.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)};k.prototype.forEachChild=function(e){P(this._children,e)};k.prototype.forEachGetter=function(e){this._rawModule.getters&&P(this._rawModule.getters,e)};k.prototype.forEachAction=function(e){this._rawModule.actions&&P(this._rawModule.actions,e)};k.prototype.forEachMutation=function(e){this._rawModule.mutations&&P(this._rawModule.mutations,e)};Object.defineProperties(k.prototype,ot);var V=function(e){this.register([],e,!1)};V.prototype.get=function(e){return e.reduce(function(o,r){return o.getChild(r)},this.root)};V.prototype.getNamespace=function(e){var o=this.root;return e.reduce(function(r,i){return o=o.getChild(i),r+(o.namespaced?i+"/":"")},"")};V.prototype.update=function(e){rt([],this.root,e)};V.prototype.register=function(e,o,r){var i=this;r===void 0&&(r=!0),process.env.NODE_ENV!=="production"&&it(e,o);var s=new k(o,r);if(e.length===0)this.root=s;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],s)}o.modules&&P(o.modules,function(f,l){i.register(e.concat(l),f,r)})};V.prototype.unregister=function(e){var o=this.get(e.slice(0,-1)),r=e[e.length-1],i=o.getChild(r);if(!i){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to unregister module '"+r+"', which is not registered");return}!i.runtime||o.removeChild(r)};V.prototype.isRegistered=function(e){var o=this.get(e.slice(0,-1)),r=e[e.length-1];return o?o.hasChild(r):!1};function rt(t,e,o){if(process.env.NODE_ENV!=="production"&&it(t,o),e.update(o),o.modules)for(var r in o.modules){if(!e.getChild(r)){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to add a new module '"+r+"' on hot reloading, manual reload is needed");return}rt(t.concat(r),e.getChild(r),o.modules[r])}}var X={assert:function(t){return typeof t=="function"},expected:"function"},vt={assert:function(t){return typeof t=="function"||typeof t=="object"&&typeof t.handler=="function"},expected:'function or object with "handler" function'},J={getters:X,mutations:X,actions:vt};function it(t,e){Object.keys(J).forEach(function(o){if(!!e[o]){var r=J[o];P(e[o],function(i,s){E(r.assert(i),bt(t,o,s,i,r.expected))})}})}function bt(t,e,o,r,i){var s=e+" should be "+i+' but "'+e+"."+o+'"';return t.length>0&&(s+=' in module "'+t.join(".")+'"'),s+=" is "+JSON.stringify(r)+".",s}var C,j=function t(e){var o=this;e===void 0&&(e={}),!C&&typeof window<"u"&&window.Vue&&Nt(window.Vue),process.env.NODE_ENV!=="production"&&(E(C,"must call Vue.use(Vuex) before creating a store instance."),E(typeof Promise<"u","vuex requires a Promise polyfill in this browser."),E(this instanceof t,"store must be called with the new operator."));var r=e.plugins;r===void 0&&(r=[]);var i=e.strict;i===void 0&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new V(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new C,this._makeLocalGettersCache=Object.create(null);var s=this,a=this,f=a.dispatch,l=a.commit;this.dispatch=function(g,n){return f.call(s,g,n)},this.commit=function(g,n,m){return l.call(s,g,n,m)},this.strict=i;var c=this._modules.root.state;W(this,c,[],this._modules.root),B(this,c),r.forEach(function(u){return u(o)});var d=e.devtools!==void 0?e.devtools:C.config.devtools;d&&mt(this)},U={state:{configurable:!0}};U.state.get=function(){return this._vm._data.$$state};U.state.set=function(t){process.env.NODE_ENV!=="production"&&E(!1,"use store.replaceState() to explicit replace store state.")};j.prototype.commit=function(e,o,r){var i=this,s=I(e,o,r),a=s.type,f=s.payload,l=s.options,c={type:a,payload:f},d=this._mutations[a];if(!d){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown mutation type: "+a);return}this._withCommit(function(){d.forEach(function(g){g(f)})}),this._subscribers.slice().forEach(function(u){return u(c,i.state)}),process.env.NODE_ENV!=="production"&&l&&l.silent&&console.warn("[vuex] mutation type: "+a+". Silent option has been removed. Use the filter functionality in the vue-devtools")};j.prototype.dispatch=function(e,o){var r=this,i=I(e,o),s=i.type,a=i.payload,f={type:s,payload:a},l=this._actions[s];if(!l){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown action type: "+s);return}try{this._actionSubscribers.slice().filter(function(d){return d.before}).forEach(function(d){return d.before(f,r.state)})}catch(d){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in before action subscribers: "),console.error(d))}var c=l.length>1?Promise.all(l.map(function(d){return d(a)})):l[0](a);return new Promise(function(d,u){c.then(function(g){try{r._actionSubscribers.filter(function(n){return n.after}).forEach(function(n){return n.after(f,r.state)})}catch(n){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in after action subscribers: "),console.error(n))}d(g)},function(g){try{r._actionSubscribers.filter(function(n){return n.error}).forEach(function(n){return n.error(f,r.state,g)})}catch(n){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in error action subscribers: "),console.error(n))}u(g)})})};j.prototype.subscribe=function(e,o){return nt(e,this._subscribers,o)};j.prototype.subscribeAction=function(e,o){var r=typeof e=="function"?{before:e}:e;return nt(r,this._actionSubscribers,o)};j.prototype.watch=function(e,o,r){var i=this;return process.env.NODE_ENV!=="production"&&E(typeof e=="function","store.watch only accepts a function."),this._watcherVM.$watch(function(){return e(i.state,i.getters)},o,r)};j.prototype.replaceState=function(e){var o=this;this._withCommit(function(){o._vm._data.$$state=e})};j.prototype.registerModule=function(e,o,r){r===void 0&&(r={}),typeof e=="string"&&(e=[e]),process.env.NODE_ENV!=="production"&&(E(Array.isArray(e),"module path must be a string or an Array."),E(e.length>0,"cannot register the root module by using registerModule.")),this._modules.register(e,o),W(this,this.state,e,this._modules.get(e),r.preserveState),B(this,this.state)};j.prototype.unregisterModule=function(e){var o=this;typeof e=="string"&&(e=[e]),process.env.NODE_ENV!=="production"&&E(Array.isArray(e),"module path must be a string or an Array."),this._modules.unregister(e),this._withCommit(function(){var r=H(o.state,e.slice(0,-1));C.delete(r,e[e.length-1])}),st(this)};j.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),process.env.NODE_ENV!=="production"&&E(Array.isArray(e),"module path must be a string or an Array."),this._modules.isRegistered(e)};j.prototype.hotUpdate=function(e){this._modules.update(e),st(this,!0)};j.prototype._withCommit=function(e){var o=this._committing;this._committing=!0,e(),this._committing=o};Object.defineProperties(j.prototype,U);function nt(t,e,o){return e.indexOf(t)<0&&(o&&o.prepend?e.unshift(t):e.push(t)),function(){var r=e.indexOf(t);r>-1&&e.splice(r,1)}}function st(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var o=t.state;W(t,o,[],t._modules.root,!0),B(t,o,e)}function B(t,e,o){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,s={};P(i,function(f,l){s[l]=yt(f,t),Object.defineProperty(t.getters,l,{get:function(){return t._vm[l]},enumerable:!0})});var a=C.config.silent;C.config.silent=!0,t._vm=new C({data:{$$state:e},computed:s}),C.config.silent=a,t.strict&&St(t),r&&(o&&t._withCommit(function(){r._data.$$state=null}),C.nextTick(function(){return r.$destroy()}))}function W(t,e,o,r,i){var s=!o.length,a=t._modules.getNamespace(o);if(r.namespaced&&(t._modulesNamespaceMap[a]&&process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate namespace "+a+" for the namespaced module "+o.join("/")),t._modulesNamespaceMap[a]=r),!s&&!i){var f=H(e,o.slice(0,-1)),l=o[o.length-1];t._withCommit(function(){process.env.NODE_ENV!=="production"&&l in f&&console.warn('[vuex] state field "'+l+'" was overridden by a module with the same name at "'+o.join(".")+'"'),C.set(f,l,r.state)})}var c=r.context=_t(t,a,o);r.forEachMutation(function(d,u){var g=a+u;$t(t,g,d,c)}),r.forEachAction(function(d,u){var g=d.root?u:a+u,n=d.handler||d;Ot(t,g,n,c)}),r.forEachGetter(function(d,u){var g=a+u;Ct(t,g,d,c)}),r.forEachChild(function(d,u){W(t,e,o.concat(u),d,i)})}function _t(t,e,o){var r=e==="",i={dispatch:r?t.dispatch:function(s,a,f){var l=I(s,a,f),c=l.payload,d=l.options,u=l.type;if((!d||!d.root)&&(u=e+u,process.env.NODE_ENV!=="production"&&!t._actions[u])){console.error("[vuex] unknown local action type: "+l.type+", global type: "+u);return}return t.dispatch(u,c)},commit:r?t.commit:function(s,a,f){var l=I(s,a,f),c=l.payload,d=l.options,u=l.type;if((!d||!d.root)&&(u=e+u,process.env.NODE_ENV!=="production"&&!t._mutations[u])){console.error("[vuex] unknown local mutation type: "+l.type+", global type: "+u);return}t.commit(u,c,d)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return xt(t,e)}},state:{get:function(){return H(t.state,o)}}}),i}function xt(t,e){if(!t._makeLocalGettersCache[e]){var o={},r=e.length;Object.keys(t.getters).forEach(function(i){if(i.slice(0,r)===e){var s=i.slice(r);Object.defineProperty(o,s,{get:function(){return t.getters[i]},enumerable:!0})}}),t._makeLocalGettersCache[e]=o}return t._makeLocalGettersCache[e]}function $t(t,e,o,r){var i=t._mutations[e]||(t._mutations[e]=[]);i.push(function(a){o.call(t,r.state,a)})}function Ot(t,e,o,r){var i=t._actions[e]||(t._actions[e]=[]);i.push(function(a){var f=o.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},a);return gt(f)||(f=Promise.resolve(f)),t._devtoolHook?f.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):f})}function Ct(t,e,o,r){if(t._wrappedGetters[e]){process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate getter key: "+e);return}t._wrappedGetters[e]=function(s){return o(r.state,r.getters,s.state,s.getters)}}function St(t){t._vm.$watch(function(){return this._data.$$state},function(){process.env.NODE_ENV!=="production"&&E(t._committing,"do not mutate vuex store state outside mutation handlers.")},{deep:!0,sync:!0})}function H(t,e){return e.reduce(function(o,r){return o[r]},t)}function I(t,e,o){return et(t)&&t.type&&(o=e,e=t,t=t.type),process.env.NODE_ENV!=="production"&&E(typeof t=="string","expects string as the type, but found "+typeof t+"."),{type:t,payload:e,options:o}}function Nt(t){if(C&&t===C){process.env.NODE_ENV!=="production"&&console.error("[vuex] already installed. Vue.use(Vuex) should be called only once.");return}C=t,ht(C)}var at=ct(function(t,e){var o={};return process.env.NODE_ENV!=="production"&&!Q(e)&&console.error("[vuex] mapGetters: mapper parameter must be either an Array or an Object"),lt(e).forEach(function(r){var i=r.key,s=r.val;s=t+s,o[i]=function(){if(!(t&&!ut(this.$store,"mapGetters",t))){if(process.env.NODE_ENV!=="production"&&!(s in this.$store.getters)){console.error("[vuex] unknown getter: "+s);return}return this.$store.getters[s]}},o[i].vuex=!0}),o}),wt=ct(function(t,e){var o={};return process.env.NODE_ENV!=="production"&&!Q(e)&&console.error("[vuex] mapActions: mapper parameter must be either an Array or an Object"),lt(e).forEach(function(r){var i=r.key,s=r.val;o[i]=function(){for(var f=[],l=arguments.length;l--;)f[l]=arguments[l];var c=this.$store.dispatch;if(t){var d=ut(this.$store,"mapActions",t);if(!d)return;c=d.context.dispatch}return typeof s=="function"?s.apply(this,[c].concat(f)):c.apply(this.$store,[s].concat(f))}}),o});function lt(t){return Q(t)?Array.isArray(t)?t.map(function(e){return{key:e,val:e}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function Q(t){return Array.isArray(t)||et(t)}function ct(t){return function(e,o){return typeof e!="string"?(o=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),t(e,o)}}function ut(t,e,o){var r=t._modulesNamespaceMap[o];return process.env.NODE_ENV!=="production"&&!r&&console.error("[vuex] module namespace not found in "+e+"(): "+o),r}function M(t,e,o,r,i,s,a,f){var l=typeof t=="function"?t.options:t;e&&(l.render=e,l.staticRenderFns=o,l._compiled=!0),r&&(l.functional=!0),s&&(l._scopeId="data-v-"+s);var c;if(a?(c=function(g){g=g||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!g&&typeof __VUE_SSR_CONTEXT__<"u"&&(g=__VUE_SSR_CONTEXT__),i&&i.call(this,g),g&&g._registeredComponents&&g._registeredComponents.add(a)},l._ssrRegister=c):i&&(c=f?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(n,m){return c.call(m),d(n,m)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:l}}function ft(t,e,o){let r=new Map;return t.forEach((s,a)=>{r.set(s.id,Et(s.operation.list))}),{rich:Object.fromEntries(r),formatter:s=>jt(s,t,e,o)}}function Et(t){let e={};return t.forEach(o=>{o.rules==="1"?Object.assign(e,{color:o.val?o.val:"#333"}):o.rules==="2"?Object.assign(e,{fontSize:o.val+"px"}):o.rules==="3"&&Object.assign(e,{fontWeight:o.val})}),e}function jt(t,e,o,r){const i=o.formatter?o.formatter:"",s=o.transKeyPrefix?r(o.transKeyPrefix,o.prefix):"";let a="";for(let l=0;l<e.length;l++){let c=[];e[l].condition.list.forEach(u=>{const g=q(u.val),n=o.bei===0?0:o.bei===100?g.l-2:g.l-3,m=F(Number(u.val)*o.bei,n);let h=kt({data:Object.assign({...u},{val:m}),val:t.data});c.push(h)}),Ft(c,e[l])&&a===""&&(a=e[l].id)}return a!==""?`{${a}|${s} ${N.formatterAmount(t.data)} ${i}}`:`${s} ${N.formatterAmount(t.data)} ${i}`}function kt(t){switch(t.data.rules){case"1":return Z(t);case"2":return Z(t);case"7":return K(t);case"8":return K(t);case"9":return K(t);case"10":return K(t)}}function Z({data:t,val:e}){if(e===""||e===void 0)return!1;let o=Number(e),r=Number(t.val);return t.rules==="1"?o===r:o!==r}function K({data:t,val:e}){if(e===""||e===void 0)return!1;let o=Y("inputnumber",{val:e}),r=Y("inputnumber",t);if(t.rules==="7")return o>r;if(t.rules==="8")return o>=r;if(t.rules==="9")return o<r;if(t.rules==="10")return o<=r}function Y(t="inputnumber",e){let o=0;return t==="inputnumber"?o=Number(e.val):o=new Date(String(e.val)).getTime(),o}function Ft(t,e){let o=e.condition.list.length;if(o===0)return!0;let r=o===0?"1":e.condition.list[o-1].type,i=Lt(t,r);return r==="2"&&!i?!0:!!(r!=="2"&&i)}function Lt(t,e){return e==="2"?t.every((o,r,i)=>!o):t.every((o,r,i)=>!!o)}function q(t){const e=String(t),o=e.substr(e.lastIndexOf(".")+1).toLowerCase();let r=1;for(let i=0;i<o.length;i++)r*=10;return{n:r,l:o.length}}function F(t,e){const o=10**e;return Math.round(t*o)/o}const Dt={props:{develop:{type:[Number,String],default:1},color:{type:Array,default:()=>[]},options:{type:Object,default:()=>({})},ruleList:{type:Array,default:()=>[]}},data(){return{colorList:[],myChart:null}},methods:{init(t){let e=A.echarts.init(this.$refs.container),o=this.getOption(t);e.clear(),e.dispose(),e=A.echarts.init(this.$refs.container),e.setOption(o),e.on("click",r=>{this.$emit("change",r)}),this.myChart=e},getOption(t){this.colorList=[...this.color];let e=[],o=[],r=[],i=[];const s=t.series.filter(n=>n.type==="bar")[0];t.columns.forEach(n=>{e.push({type:"category",data:n.data,axisPointer:{type:s===void 0?"line":"shadow"},axisTick:{alignWithLabel:!1},axisLine:{onZero:!1,lineStyle:{color:this.options.labelLineColor}},axisLabel:{interval:0,rotate:n.rotate!==void 0?n.rotate:this.options.labelRotate,fontSize:n.fontSize!==void 0?n.fontSize:this.options.labelFontSize,color:n.color!==void 0?n.color:this.options.xAxisLabelColor},offset:n.offset,position:n.position})}),t.data.forEach((n,m)=>{this.$i18nt(n.item.transKey,n.item.name);let h={type:"value",axisLine:{show:!0,lineStyle:{color:this.options.labelLineColor}},axisLabel:{formatter:n.formatter?`{value} ${n.formatter}`:"{value}",color:this.options.labelFontColor}};n.max!==void 0&&Object.assign(h,{max:n.max}),n.min!==void 0&&Object.assign(h,{min:n.min}),t.data.length!==1&&Object.assign(h,{position:m===0?"left":"right",alignTicks:!0,show:m<2,axisLabel:{formatter:n.formatter?`{value} ${n.formatter}`:"{value}"}}),o.push(h)});const f=t.series.filter(n=>{const m=n.item.columnName?n.item.columnName:"",h=t.series[0].columnName?t.series[0].columnName:"";return m===h}).length===t.series.length;t.series.forEach((n,m)=>{let h=this.$i18nt(n.item.transKey,n.item.name);n.item.transkeyDict&&(h+=` (${this.$i18nt(n.item.transkeyDict,n.item.transkeyName)})`);let y={label:{show:n.tooltip?this.options.labelShow:n.tooltip,position:this.options.labelTextPosition,textStyle:{fontSize:this.options.textFontSize,color:this.options.textFontColor},formatter:_=>N.formatterAmount(_.data)},color:_=>t.type===1?this.colorList[_.dataIndex]:this.colorList[m]};this.ruleList.length>0&&(y=this.getNormal(y,n)),(t.data.length!==1||t.type===2)&&n.item.name&&i.push(h);let b={type:n.type,name:h,emphasis:{focus:this.options.emphasisFocus},data:n.data.map(_=>{if(n.bei===1)return F(_,this.options.numericalPrecision).toFixed(this.options.numericalPrecision);const O=q(_),L=n.bei===100?O.l-2:O.l-3,T=F(Number(_)*n.bei,L);return F(T,this.options.numericalPrecision).toFixed(this.options.numericalPrecision)}),tooltip:{show:n.tooltip,valueFormatter:_=>{const O=n.formatter?n.formatter:"";return`${n.transKeyPrefix?this.$i18nt(n.transKeyPrefix,n.prefix):""} ${N.formatterAmount(_)} ${O}`}},itemStyle:t.data.length===1?{normal:y}:{normal:Object.assign({...y},{color:this.colorList[m]})}};const v=this.options.overlayStack?{stack:n.stack?n.stack:"Total"}:{};t.type===1&&Object.assign(b,{yAxisIndex:f||v.stack!==void 0?0:m}),n.type==="line"&&Object.assign(b,{smooth:this.options.smooth,showSymbol:this.options.showSymbol,lineStyle:{width:this.options.lineStyleWidth}}),r.push(Object.assign(b,v))});let l={containLabel:!0};this.options.gridPosition.forEach((n,m)=>{n!==""&&m===0?Object.assign(l,{top:n}):n!==""&&m===1?Object.assign(l,{right:n}):n!==""&&m===2?Object.assign(l,{bottom:n}):n!==""&&m===3&&Object.assign(l,{left:n})});let c={show:this.options.legendShow,data:i,type:"scroll",textStyle:{color:this.options.legendTextColor},orient:this.options.legendOrient};if(this.options.legendPosition.forEach((n,m)=>{n!==""&&m===0?Object.assign(c,{top:n}):n!==""&&m===1?Object.assign(c,{right:n}):n!==""&&m===2?Object.assign(c,{bottom:n}):n!==""&&m===3&&Object.assign(c,{left:n})}),s===void 0&&this.options.areaStyleStack&&(e.forEach((n,m)=>{e[m]=Object.assign(n,{boundaryGap:!1})}),r.forEach((n,m)=>{r[m]=Object.assign(n,{areaStyle:{}})})),this.options.overlayStack&&this.options.numericalSummary&&this.options.labelTextPosition==="inside"){let n=[],m=[];const h=t.series[0].bei;for(let y=0;y<r[0].data.length;y++){let b=0;for(let v=0;v<r.length;v++)b+=Number(r[v].data[y]);if(m.push(0),h===1)n.push(F(b,this.options.numericalPrecision).toFixed(this.options.numericalPrecision));else{const v=q(b),_=h===100?v.l-2:v.l-3,O=F(Number(ite)*h,_);n.push(F(O,this.options.numericalPrecision).toFixed(this.options.numericalPrecision))}}r.push({name:"\u6C47\u603B",stack:r[0].stack,type:"bar",label:{normal:{show:!0,position:"top",formatter:function(y){return n[y.dataIndex]},textStyle:{color:"#333",fontSize:this.options.textFontSize}}},tooltip:{show:!1},data:m})}const d=Math.ceil(r[0].data.length/this.color.length);let u=[];for(let n=0;n<d;n++)u=u.concat(this.color);return this.colorList=u,{color:u,tooltip:{trigger:"axis",axisPointer:{type:s===void 0?"cross":"shadow"}},grid:l,legend:c,xAxis:e,yAxis:o,series:r}},getNormal(t,e){const o=`${e.columnName}&${e.mode}`,r=this.ruleList.filter(s=>`${s.columnName}&${s.mode}`===o)[0];if(!r)return t;let i=ft(r.ruleSequence,e,this.$i18nt);return Object.assign({...t},{label:Object.assign({...t.label},i)})}},destroyed(){this.myChart.dispose()}};var At=function(){var e=this,o=e._self._c;return o("div",{ref:"container",staticStyle:{height:"100%",width:"100%"},attrs:{id:"container"}})},Tt=[],Pt=M(Dt,At,Tt,!1,null,"f2f67492",null,null);const tt=Pt.exports;const Vt={props:{develop:{type:[Number,String],default:1},color:{type:Array,default:()=>[]},options:{type:Object,default:()=>({})}},data(){return{myChart:null}},methods:{init(t){let e=A.echarts.init(this.$refs.container),o=this.getOption(t);e.clear(),e.dispose(),e=A.echarts.init(this.$refs.container),e.setOption(o),e.on("click",r=>{this.$emit("change",r)}),this.myChart=e},getOption(t){let e=0,o=t.data[0].dataName;o.forEach((s,a)=>{e+=Number(s.value),o[a].order=s.value}),o=[...N.sort(o)];let r={show:this.options.legendShow,data:t.columns[0].data,type:"scroll",textStyle:{color:this.options.legendTextColor},orient:this.options.legendOrient};return this.options.legendPosition.forEach((s,a)=>{s!==""&&a===0?Object.assign(r,{top:s}):s!==""&&a===1?Object.assign(r,{right:s}):s!==""&&a===2?Object.assign(r,{bottom:s}):s!==""&&a===3&&Object.assign(r,{left:s})}),{tooltip:{trigger:"item",formatter:function(s){return`${s.data.name}:\r\r${N.formatterAmount(s.data.values)}\r
6
+ (${s.data.percentage}%)`}},color:this.color,legend:r,series:[{type:"funnel",left:"10%",top:50,bottom:50,width:"76%",min:0,max:100,minSize:"10%",maxSize:"90%",sort:"descending",gap:1,label:{show:this.options.labelShow,fontSize:this.options.textFontSize,formatter:function(s){return`${s.data.name}:\r\r${N.formatterAmount(s.data.values)}\r
7
+ (${s.data.percentage}%)`}},labelLine:{length:10,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{fontSize:15}},data:o.map((s,a)=>{const f=s.value;return Object.assign({...s},{values:N.roundNumber(f,this.options.numericalPrecision).toFixed(this.options.numericalPrecision),percentage:e===0?"0":(Number(f)/e*1e4).toFixed(0)/100,value:(1/o.length*(a+1)*100).toFixed(0)})})}]}}},destroyed(){this.myChart.dispose()}};var Mt=function(){var e=this,o=e._self._c;return o("div",{ref:"container",staticStyle:{height:"100%",width:"100%"},attrs:{id:"container"}})},zt=[],Gt=M(Vt,Mt,zt,!1,null,"c2d6a048",null,null);const Kt=Gt.exports;const Rt={props:{develop:{type:[Number,String],default:1},color:{type:Array,default:()=>[]},options:{type:Object,default:()=>({})},ruleList:{type:Array,default:()=>[]}},data(){return{myChart:null}},methods:{init(t){let e=A.echarts.init(this.$refs.container),o=this.getOption(t);e.clear(),e.dispose(),e=A.echarts.init(this.$refs.container),e.setOption(o),e.on("click",r=>{this.$emit("change",r)}),this.myChart=e},getOption(t){let e=[],o=[],r=[],i=[];const s=this.options.areaStyleStack?{boundaryGap:!1}:{};t.columns.forEach(c=>{e.push(Object.assign({type:"category",data:c.data,axisPointer:{type:"line"},axisTick:{alignWithLabel:!0},axisLabel:{interval:0,rotate:this.options.labelRotate,fontSize:this.options.labelFontSize,color:this.options.xAxisLabelColor}},s))}),t.data.forEach((c,d)=>{let u={type:"value",axisLine:{show:!0,lineStyle:{color:this.options.labelLineColor}},axisLabel:{formatter:c.formatter?`{value} ${c.formatter}`:"{value}",color:this.options.labelFontColor}},g=this.$i18nt(c.item.transKey,c.item.name);t.data.length!==1&&(i.push(g),Object.assign(u,{name:g,position:d===0?"left":"right",alignTicks:!0,show:d<2})),o.push(u);let n=this.options.overlayStack?{stack:"Total"}:{};this.options.areaStyleStack&&Object.assign(n,{areaStyle:{}});let m={label:{show:this.options.labelShow,position:this.options.labelTextPosition,textStyle:{fontSize:this.options.textFontSize,color:this.options.textFontColor},formatter:h=>N.formatterAmount(h.data)}};this.ruleList.length>0&&(m=this.getNormal(m,c)),r.push(Object.assign({emphasis:{focus:this.options.emphasisFocus},type:c.type,name:g,data:c.data.map(h=>{if(c.bei===1)return F(h,this.options.numericalPrecision).toFixed(this.options.numericalPrecision);const y=q(h),b=c.bei===100?y.l-2:y.l-3,v=F(Number(h)*c.bei,b);return F(v,this.options.numericalPrecision).toFixed(this.options.numericalPrecision)}),smooth:this.options.smooth,showSymbol:this.options.showSymbol,lineStyle:{width:this.options.lineStyleWidth},itemStyle:{normal:m},tooltip:{show:c.tooltip,valueFormatter:h=>{const y=c.formatter?c.formatter:"";return`${c.transKeyPrefix?this.$i18nt(c.transKeyPrefix,c.prefix):""} ${N.formatterAmount(h)} ${y}`}}},n))});let a={containLabel:!0};this.options.gridPosition.forEach((c,d)=>{c!==""&&d===0?Object.assign(a,{top:c}):c!==""&&d===1?Object.assign(a,{right:c}):c!==""&&d===2?Object.assign(a,{bottom:c}):c!==""&&d===3&&Object.assign(a,{left:c})});let f={show:this.options.legendShow,data:i,type:"scroll",textStyle:{color:this.options.legendTextColor},orient:this.options.legendOrient};return this.options.legendPosition.forEach((c,d)=>{c!==""&&d===0?Object.assign(f,{top:c}):c!==""&&d===1?Object.assign(f,{right:c}):c!==""&&d===2?Object.assign(f,{bottom:c}):c!==""&&d===3&&Object.assign(f,{left:c})}),{color:this.color,tooltip:{trigger:"axis",axisPointer:{type:"cross"}},grid:a,legend:f,xAxis:e,yAxis:o,series:r}},getNormal(t,e){const o=`${e.columnName}&${e.mode}`,r=this.ruleList.filter(s=>`${s.columnName}&${s.mode}`===o)[0];if(!r)return t;let i=ft(r.ruleSequence,e,this.$i18nt);return Object.assign({...t},{label:Object.assign({...t.label},i)})}},destroyed(){this.myChart.dispose()}};var It=function(){var e=this,o=e._self._c;return o("div",{ref:"container",staticStyle:{height:"100%",width:"100%"},attrs:{id:"container"}})},qt=[],Wt=M(Rt,It,qt,!1,null,"4f3553d4",null,null);const Ut=Wt.exports;const Bt={props:{develop:{type:[Number,String],default:1},color:{type:Array,default:()=>[]},options:{type:Object,default:()=>({})}},data(){return{colorList:[],myChart:null}},methods:{init(t){let e=A.echarts.init(this.$refs.container),o=this.getOption(t);e.clear(),e.dispose(),e=A.echarts.init(this.$refs.container),e.setOption(o),e.on("click",r=>{this.$emit("change",r)}),this.myChart=e},getOption(t){const e=Math.ceil(t.data.length/this.color.length);let o=[];for(let a=0;a<e;a++)o=o.concat(this.color);this.colorList=o;let r=[];t.data.forEach(a=>{r.push({type:"pie",radius:["30%","58%"],center:["50%","50%"],data:a.dataName.map(f=>Object.assign({...f},{value:N.roundNumber(f.value,this.options.numericalPrecision).toFixed(this.options.numericalPrecision)})),label:{show:this.options.labelShow,position:this.options.labelTextPosition==="inside"?"inside":"outside",textStyle:{fontWeight:500,color:this.options.textFontColor,fontSize:this.options.textFontSize,lineHeight:20},formatter:f=>`${f.name}:\r\r${N.formatterAmount(f.value)}\r
8
+ (${f.percent}%)`},itemStyle:{borderRadius:2}})});let i={show:this.options.legendShow,type:"scroll",data:t.columns[0].data,textStyle:{color:this.options.legendTextColor},orient:this.options.legendOrient};return this.options.legendPosition.forEach((a,f)=>{a!==""&&f===0?Object.assign(i,{top:a}):a!==""&&f===1?Object.assign(i,{right:a}):a!==""&&f===2?Object.assign(i,{bottom:a}):a!==""&&f===3&&Object.assign(i,{left:a})}),{color:this.colorList,tooltip:{trigger:"item"},legend:i,series:r}}}};var Ht=function(){var e=this,o=e._self._c;return o("div",{ref:"container",staticStyle:{height:"100%",width:"100%"},attrs:{id:"container"}})},Qt=[],Xt=M(Bt,Ht,Qt,!1,null,"58c796ca",null,null);const Jt=Xt.exports;const Zt={props:{color:{type:Array,default:()=>[]},options:{type:Object,default:()=>({})},componentItem:{type:Object,default:()=>({})},ruleList:{type:Array,default:()=>[]},bjstyle:{type:String,default:""}},data(){return{record:{},width:"80%",confirmLoading:!1,visible:!1,fullscreen:!1}},methods:{open(t){this.visible=!0,this.record={...t},this.$nextTick(()=>{setTimeout(()=>{this.$refs.componentItem.init(this.record),this.spinning=!1},0)})},toggleFullscreen(){this.fullscreen=!this.fullscreen,this.$nextTick(()=>{setTimeout(()=>{this.$refs.componentItem.init(this.record)},0)})},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},closed(){this.fullscreen=!1,this.visible=!1}}};var Yt=function(){var e=this,o=e._self._c;return o("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,"destroy-on-close":!0},on:{"update:visible":function(r){e.visible=r},closed:e.closed}},[o("gd-modal-title",{attrs:{slot:"title",title:"",fullscreen:e.fullscreen,buttons:[],confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent},slot:"title"}),o("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticClass:"generator-form",style:e.bjstyle},[e.visible?o(e.componentItem,{ref:"componentItem",tag:"component",attrs:{color:e.color,options:e.options,ruleList:e.ruleList}}):e._e()],1)],1)},te=[],ee=M(Zt,Yt,te,!1,null,"920bc331",null,null);const oe=ee.exports;const re={name:"GdChartBi",props:{develop:{type:[Number,String],default:1},showTitle:{type:Boolean,default:!0},color:{type:Array,default:()=>[]},left:{type:[Number,String],default:10},bjstyle:{type:String,default:""}},data(){return{record:{},optionData:{},spinning:!0,type:"none",empty:!1,offsetCaudex:0}},components:{AmplifyEchart:oe},computed:{dictUnit(){const t=[{code:"percent",name:"%",transkey:"",remark:"0.01"},{code:"permil",name:"\u2030",transkey:"",remark:"0.001"}];return this.getDictionary("statistical_value_unit").map(o=>Object.assign(o,{transkey:`Dynamics.${o.transkey}`})).concat(t)},echartsMode(){return this.getDictionary("table_echarts_mode")},ruleList(){return(this.record.config&&this.record.config.series?this.record.config.series:[]).filter(e=>e.ruleOpen)},options(){let t=this.record.options||{};return Object.assign({...t},{labelTextPosition:t.labelTextPosition?t.labelTextPosition:"top",legendPosition:t.legendPosition?t.legendPosition:["","","",""],gridPosition:t.gridPosition?t.gridPosition:["60","4%","3%","3%"],overlayStack:t.overlayStack!==void 0?t.overlayStack:!1,areaStyleStack:t.areaStyleStack!==void 0?t.areaStyleStack:!1,legendShow:t.legendShow!==void 0?t.legendShow:!0,labelFontColor:t.labelFontColor?t.labelFontColor:"#333",textFontColor:t.textFontColor?t.textFontColor:"#333",textFontSize:t.textFontSize?t.textFontSize:14,legendOrient:t.legendOrient?t.legendOrient:"horizontal",legendTextColor:t.legendTextColor?t.legendTextColor:"#333",xAxisLabelColor:t.xAxisLabelColor?t.xAxisLabelColor:"#333",labelLineColor:t.labelLineColor?t.labelLineColor:"#333",emphasisFocus:t.emphasisFocus?t.emphasisFocus:"series",lineStyleWidth:t.lineStyleWidth!==void 0?t.lineStyleWidth:1,numericalPrecision:t.numericalPrecision!==void 0?t.numericalPrecision:2,numericalSummary:t.numericalSummary!==void 0?t.numericalSummary:!1})},componentItem(){const e=[{type:"bar",data:tt},{type:"pie",data:Jt},{type:"funnel",data:Kt},{type:"line",data:Ut}].filter(o=>o.type===this.type)[0];return e?e.data:tt},getColor(){let t=[];return(this.color.length===0?this.echartsColor:this.color).forEach(o=>{t.push(o==="0"?this.primaryColor:o)}),t},...at(["echartsColor","primaryColor","language"])},methods:{amplify(){this.$nextTick(()=>{setTimeout(()=>{this.$refs.amplifyEchart.open(this.optionData)},0)})},setType(){this.spinning=!1,this.type="none"},change(t){this.$emit("change",{params:t,option:this.optionData,record:this.record})},assembly(){const t=this.optionData.data.filter(e=>e.type==="bar")[0];this.type=t?t.type:this.optionData.data[0].type,this.$nextTick(()=>{setTimeout(()=>{this.$refs.componentItem.init(this.optionData),this.spinning=!1},0)})},handleUniaxial({config:t,data:e,categorydata:o}){const r=t.series?t.series:[],i=t.categories?t.categories:[],s=t.stackList?t.stackList:[];if(r.length===0||i.length===0)return;const a=s[0]?s[0].uuid:"",f=a!==""?a:i[0].uuid,l=r.filter(h=>h.type==="1")[0];l?l.type:r[0].type;const c=s.filter(h=>h.dictTypeCode)[0],d=i.filter(h=>h.dictTypeCode)[0],u=a!==""?c:d,g=u?this.getDictionary(u.dictTypeCode):[];let n=[],m=[];if(r.forEach((h,y)=>{let b=[],v=[],_=[];e.forEach($=>{const w=$[f],S=$[h.uuid],x=this.getVal({item:a!==""?s[0]:i[0],ite:w,data:e,dict:g});b.push(S),v.push({value:S,name:x}),y===0&&_.push(x||this.$i18nt("gd.echarts.none","\u7A7A\u767D"))}),_.length>0&&n.push({data:_});let O={},L="";if(h.ruleOpen&&h.ruleFormatter.formatter&&h.ruleFormatter.formatter!=="none"){const $=this.dictUnit.filter(w=>w.code===h.ruleFormatter.formatter)[0];L=$?this.$i18nt(`Dynamics.${$.transkey}`,$.name):"",Object.assign(O,{formatter:L})}h.ruleOpen&&h.ruleFormatter.openPrefix&&h.ruleFormatter.transKeyPrefix&&Object.assign(O,{prefix:h.ruleFormatter.prefix,transKeyPrefix:h.ruleFormatter.transKeyPrefix});const T=this.getBei(h.ruleFormatter.formatter);h.ruleOpen&&h.ruleFormatter.min!==void 0&&h.ruleFormatter.min!==""&&Object.assign(O,{min:h.ruleFormatter.min*T}),h.ruleOpen&&h.ruleFormatter.max!==void 0&&h.ruleFormatter.max!==""&&Object.assign(O,{max:h.ruleFormatter.max*T});const p=this.echartsMode.filter($=>$.code==h.mode)[0];m.push(Object.assign({data:b,dataName:v,type:this.getChartType(h.type),item:Object.assign({...h},{transKey:`Dynamics.${h.transKey}`,transkeyDict:p?p.transkey:null,transkeyName:p?p.name:""}),bei:T,tooltip:!0,columnName:h.columnName,mode:h.mode},O))}),a!==""){let h=[];o[i[0].uuid].forEach(y=>{const b=d?this.getDictionary(d.dictTypeCode):[],v=this.getVal({item:i[0],ite:y,data:e,dict:b});h.push(v||this.$i18nt("gd.echarts.none","\u7A7A\u767D"))}),n[0]=Object.assign({...n[0]},{rotate:s[0].labelRotate,fontSize:s[0].labelFontSize,color:s[0].xAxisLabelColor,offset:s[0].offset,position:s[0].position}),n.push({data:h,offset:s[0].offsetCaudex,position:"bottom"})}this.optionData={columns:n,data:m,series:m,type:1},this.assembly()},handleMultiaxis({config:t,data:e,categorydata:o}){const r=t.series?t.series:[],i=t.categories?t.categories:[],s=t.stackList?t.stackList:[];if(r.length===0||i.length===0)return;let a=[],f=[],l=[],c=[],d={item:{transKey:r[0].transKey,name:r[0].name}};const u=this.ruleList[0];let g="";if(u&&u.ruleOpen&&u.ruleFormatter.formatter&&u.ruleFormatter.formatter!=="none"){const p=this.dictUnit.filter($=>$.code===u.ruleFormatter.formatter)[0];g=p?this.$i18nt(`Dynamics.${p.transkey}`,p.name):"",Object.assign(d,{formatter:g})}u&&u.ruleFormatter.openPrefix&&u.ruleFormatter.transKeyPrefix&&Object.assign(d,{prefix:u.ruleFormatter.prefix,transKeyPrefix:`Dynamics.${u.ruleFormatter.transKeyPrefix}`});let n={};const m=this.getBei(u&&u.ruleFormatter.formatter?u.ruleFormatter.formatter:"none");u&&u.ruleOpen&&u.ruleFormatter.min!==void 0&&u.ruleFormatter.min!==""&&Object.assign(n,{min:u.ruleFormatter.min*m}),u&&u.ruleOpen&&u.ruleFormatter.max!==void 0&&u.ruleFormatter.max!==""&&Object.assign(n,{max:u.ruleFormatter.max*m});const h=[Object.assign(d,n,{type:"bar"})];i.forEach((p,$)=>{const w=o[p.uuid]?o[p.uuid]:[],S=w.map(x=>{const D=p.dictTypeCode?this.getDictionary(p.dictTypeCode):[];return x?this.getVal({item:p,ite:x,data:e,dict:D}):this.$i18nt("gd.echarts.none","\u7A7A\u767D")});S.length>0&&l.push({data:w,mode:p.mode,effectType:p.effectType,dictTypeCode:p.dictTypeCode,uuid:p.uuid}),$===0&&a.push({data:S,offset:0,position:"bottom"})}),s.forEach((p,$)=>{const w=o[p.uuid]?o[p.uuid]:[];w.map(S=>{const x=p.dictTypeCode?this.getDictionary(p.dictTypeCode):[];return S?this.getVal({item:p,ite:S,data:e,dict:x}):this.$i18nt("gd.echarts.none","\u7A7A\u767D")}),c.push({data:w,mode:p.mode,effectType:p.effectType,dictTypeCode:p.dictTypeCode,uuid:p.uuid,offset:p.offset,offsetCaudex:p.offsetCaudex,labelRotate:p.labelRotate,labelFontSize:p.labelFontSize,xAxisLabelColor:p.xAxisLabelColor,position:p.position})});let y=[];const b=r[0].uuid,v=this.getChartType(r[0].type);if(e.forEach(p=>{const $=this.getDataName(p,i.concat(s),b);y.push($)}),l[1]===void 0){this.spinning=!1,this.develop===2&&this.$message.error(this.$i18nt("gd.msg.temPlate.dataError","\u6570\u636E\u9519\u8BEF"));return}for(let p=0;p<l[1].data.length;p++){let $=[],w=[];for(let x=0;x<l[0].data.length;x++){const D=l[0].data[x]+""+l[1].data[p],G=y.filter(dt=>dt.name===D)[0];w.push(D),$.push(G?G.val:0)}let S=l[1].data[p]===null||l[1].data[p]===""?{transKey:"gd.echarts.none",name:"\u7A7A\u767D"}:{transKey:null,name:l[1].data[p]+""};if(l[1].dictTypeCode){const D=this.getDictionary(l[1].dictTypeCode).filter(G=>G.code==l[1].data[p])[0];Object.assign(S,D?{transKey:D.transkey,name:D.name}:{})}else if(l[1].effectType==="datepicker"){const x=this.getVal({item:l[1],ite:l[1].data[p],data:e,dict:[]});Object.assign(S,x?{transKey:null,name:x}:{})}else if(["fk","user","about"].includes(l[1].effectType)){const x=this.getVal({item:l[1],ite:l[1].data[p],data:e,dict:[]});Object.assign(S,x?{transKey:null,name:x}:{})}f.push({data:$,dataName:[],type:v,item:S,tooltip:!0,ruleOpen:!0,columnName:r[0].columnName,mode:r[0].mode,bei:m,formatter:g,combination:w,prefix:d.prefix!==void 0?d.prefix:"",transKeyPrefix:d.transKeyPrefix!==void 0?d.transKeyPrefix:null})}if(this.options.overlayStack&&c.length>0){const p=this.multiaxisStack(f,y,c,e);f=p.columnsData,a[0].offset=p.offset,a.push(p.xAxis),a.reverse()}const _=f.filter(p=>p.item.transKey!=="gd.echarts.none"),O=f.filter(p=>p.item.transKey==="gd.echarts.none"),L=_.concat(O),T=this.options.overlayLineChart&&v==="bar"?L.map(p=>Object.assign({...p},{type:v==="bar"?"line":"bar",tooltip:!1,ruleOpen:!1,columnName:"",formatter:""})):[];this.optionData={columns:a,data:h,series:L.concat(T),type:2},this.assembly()},multiaxisStack(t,e,o,r){const i=o[0].data,s=o[0].dictTypeCode,a=s?this.getDictionary(s):[],f=o[0];let l=[],c=[];i.forEach(n=>{const m=this.getVal({item:o[0],ite:n,data:r,dict:a});l.push({name:m,id:n}),c.push(m)});let d=[];for(let n=0;n<t[0].data.length;n++)d=d.concat(c);let u=[];const g=N.uuid(8);for(let n=0;n<t.length;n++){let m=[],h=[];for(let y=0;y<t[n].combination.length;y++)for(let b=0;b<i.length;b++){h.push(t[n].combination[y]+i[b]);const v=t[n].combination[y]+i[b],_=e.filter(O=>O.name===v)[0];m.push(_?_.val:0)}u.push(Object.assign({...t[n]},{stack:g,data:m}))}return{columnsData:u,stackName:l,offset:f.offsetCaudex,xAxis:{data:d,rotate:f.labelRotate,fontSize:f.labelFontSize,color:f.xAxisLabelColor,offset:f.offset,position:f.position}}},init(t){if(this.record=t,t.data.length===0)return this.empty=!0,this.spinning=!1,!1;this.empty=!1,(t.config&&t.config.categories?t.config.categories:[]).length<=1?this.handleUniaxial(t):this.handleMultiaxis(t)},getBei(t){const e=this.dictUnit.filter(r=>r.code==t)[0],o=e&&e.remark?Number(e.remark):1;return isNaN(o)?1:1/o},getVal({item:t,ite:e,data:o,dict:r}){let i=e;const s=r.filter(a=>a.code==e)[0];if(t.dictTypeCode&&s)i=this.$i18nt(`Dynamics.${s.transkey}`,s.name);else if(t.effectType==="datepicker")i=this.getFormatTime(t.mode,e);else if(["fk","user","about"].includes(t.effectType)){const a=o.filter(f=>f[t.uuid]==e)[0];i=a&&a[`${t.uuid}_name`]?a[`${t.uuid}_name`]:i}return i},getDataName(t,e,o){let r="";return e.forEach(i=>{r+=String(t[i.uuid])}),{val:t[o],name:r}},getChartType(t){switch(t){case"1":return"bar";case"2":return"pie";case"3":return"funnel";case"4":return"line";default:return"bar"}},getDictionary(t){return this.$options.filters.dictData(t)},getFormatTime(t,e){if(["1","3","5"].includes(t)){const o=t==="5"?"yyyy":t==="3"?"yyyy-MM":"yyyy-MM-dd";return this.$options.filters.formatTime(e,o)}else if(t==="2"){const o=e.split("-"),r={year:o[0],week:o[1]},i=this.$i18nt("gd.echarts.yearWeek"),s=this.$i18nt("gd.echarts.weekMode");return this.language==="zh_CN"?`${r.year}${i}${r.week}${s}`:`${s} ${r.week} ${i} ${r.year}`}else if(t==="4"){const o=e.split("-"),r={year:o[0],quarter:o[1]},i=this.$i18nt("gd.echarts.yearQuarter"),s=this.$i18nt("gd.echarts.quarterMode");return this.language==="zh_CN"?`${r.year}${i}${r.quarter}${s}`:`${s}${r.quarter} ${i} ${r.year}`}}}};var ie=function(){var e=this,o=e._self._c;return o("div",{directives:[{name:"loading",rawName:"v-loading",value:e.spinning,expression:"spinning"}],staticClass:"gd-echart"},[e.type==="none"||e.empty?o("div",{staticClass:"empty"},[o("i",{staticClass:"el-icon-receiving"}),o("div",{staticClass:"empty-err"},[e._v(e._s(e.$i18nt("gd.echarts.noData","\u6682\u65E0\u6570\u636E\u5C55\u793A")))])]):o(e.componentItem,{ref:"componentItem",tag:"component",attrs:{develop:e.develop,color:e.getColor,options:e.options,ruleList:e.ruleList},on:{change:e.change}}),o("AmplifyEchart",{ref:"amplifyEchart",attrs:{color:e.getColor,options:e.options,ruleList:e.ruleList,componentItem:e.componentItem,bjstyle:e.bjstyle}})],1)},ne=[],se=M(re,ie,ne,!1,null,"07a37139",null,null);const R=se.exports;R.install=function(t){t.component(R.name,R)};exports.GDpackage=R;exports.mapActions=wt;exports.mapGetters=at;exports.normalizeComponent=M;