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
@@ -1,5 +1,5 @@
1
- import { m as A, n as v } from "./components.chartbi.b043dcdc.mjs";
2
- const u = [{
1
+ import { m as p, n as A } from "./components.chartbi.7356b244.mjs";
2
+ const h = [{
3
3
  key: "gd.theme.twilight",
4
4
  color: "#F5222D"
5
5
  }, {
@@ -20,13 +20,13 @@ const u = [{
20
20
  }, {
21
21
  key: "gd.theme.soypurple",
22
22
  color: "#722ED1"
23
- }], b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAtCAMAAADWf7iKAAAAOVBMVEUAAAAAAAAAAAAAAADu8PP+/v/6+vv4+fnf4uT1+/sAAAC/v7+ip6f19fVwc3OChoby9vbw8vX///9pVttoAAAAEXRSTlMABTkQ8/fp57xPKWhgSUk/OZz1RfcAAABbSURBVEjH7c1JDoBACABBRpjFcef/jzUQ74JRT/S90vC0MbO5slyGXe2Ksg9VMYmdpUBvo+OmQIECBQr0ESJFxYeaosmFaBMEOFczorYiSAn7YK6jjJQ5gl87Abbjgzgo9LBPAAAAAElFTkSuQmCC", C = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAtCAMAAADWf7iKAAAAP1BMVEUAAAAAAAAAAAAAAABtcYDu8PNcYW/8/Pzf4uReZW6qr7Z4fHwAAAAAAADt7/L19fXy9vbw8vUyNUn///88QVFmWFQxAAAAEXRSTlMABTkQ9/Tr5bxkT0Q1KfBJOTNg+qgAAABnSURBVEjH7cs7EoAgDAVAEBUQ8IO5/1kd3lhYaeI4Vtl+zVtTT/Viv+OX86BwEqxIfRUl344lfgLbUtX0YdoeaNKkSZMmbiJZGpBGWQpIkSRpTqZxcSRuGkJySNaV3DHlgoMmYH51AAGvhJkKRva7AAAAAElFTkSuQmCC", f = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAtCAMAAADWf7iKAAAAM1BMVEUAAADw8vUyNUn8/Pz4+PjGxsb19fU7QFHs7e3Q09Vtcn9kZ3bk5uje3uDX2NjKysrAw8bSxWzYAAAAAXRSTlMAQObYZgAAAGtJREFUSMftz7sOgCAMhWGlSLnD+z+tBU1MXGwZnPqPJ/mGs60WEhpmGMttJmGzPAwkIyoCIYsyhJaQM8KcogfBe9w/AkWKFClSxES4gpIM+Yk6ilCZyPeIbJTrTmao0A5mrdKlS1l+QObHTi8KDtXr7vnFAAAAAElFTkSuQmCC";
24
- const y = {
23
+ }], v = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAtCAMAAADWf7iKAAAAOVBMVEUAAAAAAAAAAAAAAADu8PP+/v/6+vv4+fnf4uT1+/sAAAC/v7+ip6f19fVwc3OChoby9vbw8vX///9pVttoAAAAEXRSTlMABTkQ8/fp57xPKWhgSUk/OZz1RfcAAABbSURBVEjH7c1JDoBACABBRpjFcef/jzUQ74JRT/S90vC0MbO5slyGXe2Ksg9VMYmdpUBvo+OmQIECBQr0ESJFxYeaosmFaBMEOFczorYiSAn7YK6jjJQ5gl87Abbjgzgo9LBPAAAAAElFTkSuQmCC", b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAtCAMAAADWf7iKAAAAP1BMVEUAAAAAAAAAAAAAAABtcYDu8PNcYW/8/Pzf4uReZW6qr7Z4fHwAAAAAAADt7/L19fXy9vbw8vUyNUn///88QVFmWFQxAAAAEXRSTlMABTkQ9/Tr5bxkT0Q1KfBJOTNg+qgAAABnSURBVEjH7cs7EoAgDAVAEBUQ8IO5/1kd3lhYaeI4Vtl+zVtTT/Viv+OX86BwEqxIfRUl344lfgLbUtX0YdoeaNKkSZMmbiJZGpBGWQpIkSRpTqZxcSRuGkJySNaV3DHlgoMmYH51AAGvhJkKRva7AAAAAElFTkSuQmCC", C = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAtCAMAAADWf7iKAAAAM1BMVEUAAADw8vUyNUn8/Pz4+PjGxsb19fU7QFHs7e3Q09Vtcn9kZ3bk5uje3uDX2NjKysrAw8bSxWzYAAAAAXRSTlMAQObYZgAAAGtJREFUSMftz7sOgCAMhWGlSLnD+z+tBU1MXGwZnPqPJ/mGs60WEhpmGMttJmGzPAwkIyoCIYsyhJaQM8KcogfBe9w/AkWKFClSxES4gpIM+Yk6ilCZyPeIbJTrTmao0A5mrdKlS1l+QObHTi8KDtXr7vnFAAAAAElFTkSuQmCC";
24
+ const f = {
25
25
  name: "GdSettingDrawer",
26
26
  data() {
27
27
  return {
28
28
  visible: !1,
29
- colorList: u,
29
+ colorList: h,
30
30
  chalk: "",
31
31
  languages: "",
32
32
  btnModes: "",
@@ -73,11 +73,11 @@ const y = {
73
73
  },
74
74
  predefine() {
75
75
  let i = [];
76
- return u.forEach((e) => {
76
+ return h.forEach((e) => {
77
77
  i.push(e.color);
78
78
  }), i;
79
79
  },
80
- ...A([
80
+ ...p([
81
81
  "primaryColor",
82
82
  "language",
83
83
  "tablePageSize",
@@ -137,9 +137,9 @@ const y = {
137
137
  duration: 0,
138
138
  iconClass: "el-icon-loading"
139
139
  }), a = this.getThemeCluster(i.replace("#", "")), r = this.getThemeCluster(t.replace("#", "")), l = (d, c) => () => {
140
- const m = this.getThemeCluster(this.primaryColor.replace("#", "")), p = this.updateStyle(this[d], m, a);
140
+ const u = this.getThemeCluster(this.primaryColor.replace("#", "")), m = this.updateStyle(this[d], u, a);
141
141
  let g = document.getElementById(c);
142
- g || (g = document.createElement("style"), g.setAttribute("id", c), document.head.appendChild(g)), g.innerText = p;
142
+ g || (g = document.createElement("style"), g.setAttribute("id", c), document.head.appendChild(g)), g.innerText = m;
143
143
  };
144
144
  this.chalk || await import("./element-theme-chalk.fbb1a631.mjs").then((d) => {
145
145
  this.chalk = d.default;
@@ -180,17 +180,17 @@ const y = {
180
180
  this.menusWidthed = i[0], this.menusWid = i[1] ? Number(i[1]) : this.getMenusWidthed, this.primaryColor && (this.primaryColors = this.primaryColor, this.changeColor(this.primaryColor));
181
181
  }
182
182
  };
183
- var M = function() {
183
+ var y = function() {
184
184
  var e = this, t = e._self._c;
185
185
  return t("div", { staticClass: "gd-setting" }, [t("el-drawer", { attrs: { visible: e.visible, "with-header": !1, "append-to-body": !0, "modal-append-to-body": !1, size: 300 }, on: { "update:visible": function(s) {
186
186
  e.visible = s;
187
187
  } } }, [t("div", { staticClass: "setting-item" }, [t("div", { staticClass: "setting-item-title" }, [e._v(" " + e._s(e.$i18nt("gd.settings.overallStyle", "\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E")) + " ")])]), t("div", { staticClass: "setting-item", staticStyle: { "padding-top": "12px" } }, [t("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.settings.brightMenuStyle", "\u4EAE\u8272\u83DC\u5355\u98CE\u683C"), placement: "top" } }, [t("div", { staticClass: "setting-drawer-index-item", on: { click: function(s) {
188
188
  return e.handleMenuTheme("light");
189
- } } }, [t("img", { attrs: { src: b, alt: "light" } }), e.theme === "light" ? t("i", { staticClass: "el-icon-check active-color" }) : e._e()])]), t("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.settings.darkMenuStyle", "\u6697\u8272\u83DC\u5355\u98CE\u683C"), placement: "top" } }, [t("div", { staticClass: "setting-drawer-index-item", on: { click: function(s) {
189
+ } } }, [t("img", { attrs: { src: v, alt: "light" } }), e.theme === "light" ? t("i", { staticClass: "el-icon-check active-color" }) : e._e()])]), t("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.settings.darkMenuStyle", "\u6697\u8272\u83DC\u5355\u98CE\u683C"), placement: "top" } }, [t("div", { staticClass: "setting-drawer-index-item", on: { click: function(s) {
190
190
  return e.handleMenuTheme("dark");
191
- } } }, [t("img", { attrs: { src: C, alt: "dark" } }), e.theme === "dark" ? t("i", { staticClass: "el-icon-check active-color" }) : e._e()])]), t("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.settings.doubleDarkMenuStyle", "\u53CC\u6697\u8272\u83DC\u5355\u98CE\u683C"), placement: "top" } }, [t("div", { staticClass: "setting-drawer-index-item", on: { click: function(s) {
191
+ } } }, [t("img", { attrs: { src: b, alt: "dark" } }), e.theme === "dark" ? t("i", { staticClass: "el-icon-check active-color" }) : e._e()])]), t("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.settings.doubleDarkMenuStyle", "\u53CC\u6697\u8272\u83DC\u5355\u98CE\u683C"), placement: "top" } }, [t("div", { staticClass: "setting-drawer-index-item", on: { click: function(s) {
192
192
  return e.handleMenuTheme("doubledark");
193
- } } }, [t("img", { attrs: { src: f, alt: "doubledark" } }), e.theme === "doubledark" ? t("i", { staticClass: "el-icon-check active-color" }) : e._e()])])], 1), t("el-divider", { staticClass: "setting-divider" }), t("div", { staticClass: "setting-item" }, [t("div", { staticClass: "setting-item-title" }, [e._v(" " + e._s(e.$i18nt("gd.settings.theme", "\u4E3B\u9898\u8272")) + " ")]), t("div", { staticClass: "setting-item-dao" }, [t("el-color-picker", { ref: "colorPicker", staticClass: "theme-picker", attrs: { size: "mini", predefine: e.predefine, "popper-class": "theme-picker-dropdown" }, on: { change: e.changeColor }, model: { value: e.primaryColors, callback: function(s) {
193
+ } } }, [t("img", { attrs: { src: C, alt: "doubledark" } }), e.theme === "doubledark" ? t("i", { staticClass: "el-icon-check active-color" }) : e._e()])])], 1), t("el-divider", { staticClass: "setting-divider" }), t("div", { staticClass: "setting-item" }, [t("div", { staticClass: "setting-item-title" }, [e._v(" " + e._s(e.$i18nt("gd.settings.theme", "\u4E3B\u9898\u8272")) + " ")]), t("div", { staticClass: "setting-item-dao" }, [t("el-color-picker", { ref: "colorPicker", staticClass: "theme-picker", attrs: { size: "mini", predefine: e.predefine, "popper-class": "theme-picker-dropdown" }, on: { change: e.changeColor }, model: { value: e.primaryColors, callback: function(s) {
194
194
  e.primaryColors = s;
195
195
  }, expression: "primaryColors" } })], 1)]), t("el-divider", { staticClass: "setting-divider" }), e.navMenuThemes !== "customize" ? [t("div", { staticClass: "setting-item" }, [t("div", { staticClass: "setting-item-title" }, [e._v(e._s(e.$i18nt("gd.settings.menuStyle", "\u83DC\u5355\u98CE\u683C")))]), t("div", { staticClass: "setting-item-dao" }, [t("el-select", { staticStyle: { width: "130px" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select"), size: "mini", teleported: !1, disabled: e.navMenuThemes === "customize" }, on: { change: e.changeMenuStyle }, model: { value: e.navMenuThemes, callback: function(s) {
196
196
  e.navMenuThemes = s;
@@ -217,21 +217,21 @@ var M = function() {
217
217
  }, expression: "labelPositions" } }, [t("el-option", { attrs: { value: "right", label: e.$i18nt("gd.settings.right", "\u53F3\u8FB9") } }), t("el-option", { attrs: { value: "left", label: e.$i18nt("gd.settings.left", "\u5DE6\u8FB9") } }), t("el-option", { attrs: { value: "top", label: e.$i18nt("gd.settings.top", "\u4E0A\u8FB9") } })], 1)], 1)]), t("el-divider", { staticClass: "setting-divider" }), t("div", { staticClass: "setting-item" }, [t("div", { staticClass: "setting-item-title" }, [e._v(e._s(e.$i18nt("gd.settings.multipleTabs", "\u591A\u9875\u7B7E\u6A21\u5F0F")))]), t("div", { staticClass: "setting-item-dao" }, [t("el-switch", { attrs: { "active-color": e.primaryColor }, on: { change: e.onMultiTab }, model: { value: e.multiTabed, callback: function(s) {
218
218
  e.multiTabed = s;
219
219
  }, expression: "multiTabed" } })], 1)])], 2)], 1);
220
- }, S = [], $ = /* @__PURE__ */ v(
220
+ }, M = [], S = /* @__PURE__ */ A(
221
+ f,
221
222
  y,
222
223
  M,
223
- S,
224
224
  !1,
225
225
  null,
226
226
  "4902cf87",
227
227
  null,
228
228
  null
229
229
  );
230
- const h = $.exports;
231
- h.install = function(i) {
232
- i.component(h.name, h);
233
- };
230
+ const _ = S.exports, k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
231
+ __proto__: null,
232
+ default: _
233
+ }, Symbol.toStringTag, { value: "Module" }));
234
234
  export {
235
- h as G,
236
- u as c
235
+ h as c,
236
+ k as m
237
237
  };
@@ -1,5 +1,5 @@
1
- import { u as a } from "./utils.util.js.82cd8447.mjs";
2
- import { n as c } from "./components.chartbi.b043dcdc.mjs";
1
+ import { u as a } from "./utils.util.js.333daba2.mjs";
2
+ import { n as c } from "./components.chartbi.7356b244.mjs";
3
3
  const o = [{
4
4
  name: "organization",
5
5
  path: "/organization",
@@ -1 +1 @@
1
- "use strict";const a=require("./utils.util.js.50d1ec9c.js"),l=require("./components.chartbi.e4680eaa.js"),o=[{name:"organization",path:"/organization",component:"PageView",redirect:"/organization/org",transKey:null,pid:0,id:0,meta:{title:"\u7EC4\u7EC7",icon:"gd-icon-zuzhi1"},children:[{name:"organization_org",path:"/organization/org",component:"GdPlatformOrg",transKey:null,pid:0,id:0,meta:{title:"\u673A\u6784\u7BA1\u7406",icon:"gd-icon-jigouguanli"}},{name:"organization_pos",path:"/organization/pos",component:"GdPlatformPos",transKey:null,pid:0,id:0,meta:{title:"\u804C\u4F4D\u7BA1\u7406",icon:"gd-icon-zhiweixinxi"}}]},{name:"management",path:"/management/user",component:"GdPlatformUse",transKey:null,pid:0,id:0,meta:{title:"\u7528\u6237",icon:"gd-icon-group-fill"},children:[]},{name:"application",path:"/application",component:"GdApplication",transKey:null,pid:0,id:0,meta:{title:"\u5E94\u7528",icon:"gd-icon-page"},children:[]},{name:"tableDevelopment",path:"/tableDevelopment",component:"GdTableDevelopment",transKey:null,pid:0,id:0,meta:{title:"\u8868\u5B9A\u4E49",icon:"gd-icon-shujuku1"},children:[]},{name:"system",path:"/system",component:"PageView",redirect:"/system/dict",transKey:null,pid:0,id:0,meta:{title:"\u6570\u636E",icon:"gd-icon-jichushuju"},children:[{name:"\u6570\u636E\u5B57\u5178",path:"/system/dict",component:"GdPlatformDict",transKey:null,pid:0,id:0,meta:{title:"\u6570\u636E\u5B57\u5178",icon:"gd-icon-zidianguanli"}},{name:"\u5F02\u5E38\u65E5\u5FD7",path:"/system/log/exlog",component:"GdPlatformExlog",transKey:null,pid:0,id:0,meta:{title:"\u5F02\u5E38\u65E5\u5FD7",icon:"gd-icon-xitongrizhi1"}},{name:"\u8BBF\u95EE\u65E5\u5FD7",path:"/system/log/vislog",component:"GdPlatformVislog",transKey:null,pid:0,id:0,meta:{title:"\u8BBF\u95EE\u65E5\u5FD7",icon:"gd-icon-xitongrizhi2"}},{name:"\u64CD\u4F5C\u65E5\u5FD7",path:"/system/log/oplog",component:"GdPlatformOplog",transKey:null,pid:0,id:0,meta:{title:"\u64CD\u4F5C\u65E5\u5FD7",icon:"gd-icon-xitongrizhi4"}},{name:"\u516C\u544A\u7BA1\u7406",path:"/system/noticeReceived",component:"GdPlatformNotice",transKey:null,pid:0,id:0,meta:{title:"\u516C\u544A\u7BA1\u7406",icon:"gd-icon-xitong"}},{name:"\u670D\u52A1\u7CFB\u7EDF",path:"/system/machine",component:"GdPlatformMachine",transKey:null,pid:0,id:0,meta:{title:"\u670D\u52A1\u7CFB\u7EDF",icon:"gd-icon-xitong"}},{name:"\u5728\u7EBF\u7528\u6237",path:"/system/onlineUser",component:"GdPlatformOnlineUser",transKey:null,pid:0,id:0,meta:{title:"\u5728\u7EBF\u7528\u6237",icon:"gd-icon-yonghu"}},{name:"\u7CFB\u7EDF\u914D\u7F6E",path:"/system/config",component:"GdplatformConfig",transKey:null,pid:0,id:0,meta:{title:"\u7CFB\u7EDF\u914D\u7F6E",icon:"gd-icon-map-site"}},{name:"\u4EFB\u52A1\u7BA1\u7406",path:"/system/task",component:"GdPlatformTask",transKey:null,pid:0,id:0,meta:{title:"\u4EFB\u52A1\u7BA1\u7406",icon:"gd-icon-map-site"}},{name:"\u7CFB\u7EDF\u6587\u4EF6",path:"/system/file",component:"GdPlatformFile",transKey:null,pid:0,id:0,meta:{title:"\u7CFB\u7EDF\u6587\u4EF6",icon:"gd-icon-map-site"}}]}];function s(){const n=[];return o.forEach(t=>{let i=a.uuid();n.push(Object.assign({...t},{id:i})),t.children&&t.children.length>0&&t.children.forEach(e=>{n.push(Object.assign({...e},{id:a.uuid(),pid:i}))})}),n}const r=s(),d=o;const m={data(){return{activeKey:""}},computed:{menuData(){let n=[];return d.forEach(t=>{t.children.filter(e=>e.path===this.$route.path)[0]&&(n=t.children)}),n}},methods:{changeKey(n){this.activeKey=n.path,this.$router.push({path:n.path})},init(){this.activeKey=this.$route.path}},created(){this.init()}};var p=function(){var t=this,i=t._self._c;return i("div",{staticClass:"gd-tagmenu"},[t._l(t.menuData,function(e,c){return[i("div",{key:c,staticClass:"gd-tagmenu-item",class:t.activeKey===e.path?"gd-active-bj":"",on:{click:function(y){return t.changeKey(e)}}},[i("span",{staticClass:"gd-icons",class:e.meta.icon},[t._v(t._s(e.meta.title))])])]})],2)},u=[],g=l.normalizeComponent(m,p,u,!1,null,"50bfac41",null,null);const h=g.exports;exports.menuData=r;exports.tagMenus=h;
1
+ "use strict";const a=require("./utils.util.js.c0ba699b.js"),l=require("./components.chartbi.13a8a7b5.js"),o=[{name:"organization",path:"/organization",component:"PageView",redirect:"/organization/org",transKey:null,pid:0,id:0,meta:{title:"\u7EC4\u7EC7",icon:"gd-icon-zuzhi1"},children:[{name:"organization_org",path:"/organization/org",component:"GdPlatformOrg",transKey:null,pid:0,id:0,meta:{title:"\u673A\u6784\u7BA1\u7406",icon:"gd-icon-jigouguanli"}},{name:"organization_pos",path:"/organization/pos",component:"GdPlatformPos",transKey:null,pid:0,id:0,meta:{title:"\u804C\u4F4D\u7BA1\u7406",icon:"gd-icon-zhiweixinxi"}}]},{name:"management",path:"/management/user",component:"GdPlatformUse",transKey:null,pid:0,id:0,meta:{title:"\u7528\u6237",icon:"gd-icon-group-fill"},children:[]},{name:"application",path:"/application",component:"GdApplication",transKey:null,pid:0,id:0,meta:{title:"\u5E94\u7528",icon:"gd-icon-page"},children:[]},{name:"tableDevelopment",path:"/tableDevelopment",component:"GdTableDevelopment",transKey:null,pid:0,id:0,meta:{title:"\u8868\u5B9A\u4E49",icon:"gd-icon-shujuku1"},children:[]},{name:"system",path:"/system",component:"PageView",redirect:"/system/dict",transKey:null,pid:0,id:0,meta:{title:"\u6570\u636E",icon:"gd-icon-jichushuju"},children:[{name:"\u6570\u636E\u5B57\u5178",path:"/system/dict",component:"GdPlatformDict",transKey:null,pid:0,id:0,meta:{title:"\u6570\u636E\u5B57\u5178",icon:"gd-icon-zidianguanli"}},{name:"\u5F02\u5E38\u65E5\u5FD7",path:"/system/log/exlog",component:"GdPlatformExlog",transKey:null,pid:0,id:0,meta:{title:"\u5F02\u5E38\u65E5\u5FD7",icon:"gd-icon-xitongrizhi1"}},{name:"\u8BBF\u95EE\u65E5\u5FD7",path:"/system/log/vislog",component:"GdPlatformVislog",transKey:null,pid:0,id:0,meta:{title:"\u8BBF\u95EE\u65E5\u5FD7",icon:"gd-icon-xitongrizhi2"}},{name:"\u64CD\u4F5C\u65E5\u5FD7",path:"/system/log/oplog",component:"GdPlatformOplog",transKey:null,pid:0,id:0,meta:{title:"\u64CD\u4F5C\u65E5\u5FD7",icon:"gd-icon-xitongrizhi4"}},{name:"\u516C\u544A\u7BA1\u7406",path:"/system/noticeReceived",component:"GdPlatformNotice",transKey:null,pid:0,id:0,meta:{title:"\u516C\u544A\u7BA1\u7406",icon:"gd-icon-xitong"}},{name:"\u670D\u52A1\u7CFB\u7EDF",path:"/system/machine",component:"GdPlatformMachine",transKey:null,pid:0,id:0,meta:{title:"\u670D\u52A1\u7CFB\u7EDF",icon:"gd-icon-xitong"}},{name:"\u5728\u7EBF\u7528\u6237",path:"/system/onlineUser",component:"GdPlatformOnlineUser",transKey:null,pid:0,id:0,meta:{title:"\u5728\u7EBF\u7528\u6237",icon:"gd-icon-yonghu"}},{name:"\u7CFB\u7EDF\u914D\u7F6E",path:"/system/config",component:"GdplatformConfig",transKey:null,pid:0,id:0,meta:{title:"\u7CFB\u7EDF\u914D\u7F6E",icon:"gd-icon-map-site"}},{name:"\u4EFB\u52A1\u7BA1\u7406",path:"/system/task",component:"GdPlatformTask",transKey:null,pid:0,id:0,meta:{title:"\u4EFB\u52A1\u7BA1\u7406",icon:"gd-icon-map-site"}},{name:"\u7CFB\u7EDF\u6587\u4EF6",path:"/system/file",component:"GdPlatformFile",transKey:null,pid:0,id:0,meta:{title:"\u7CFB\u7EDF\u6587\u4EF6",icon:"gd-icon-map-site"}}]}];function s(){const n=[];return o.forEach(t=>{let i=a.uuid();n.push(Object.assign({...t},{id:i})),t.children&&t.children.length>0&&t.children.forEach(e=>{n.push(Object.assign({...e},{id:a.uuid(),pid:i}))})}),n}const r=s(),d=o;const m={data(){return{activeKey:""}},computed:{menuData(){let n=[];return d.forEach(t=>{t.children.filter(e=>e.path===this.$route.path)[0]&&(n=t.children)}),n}},methods:{changeKey(n){this.activeKey=n.path,this.$router.push({path:n.path})},init(){this.activeKey=this.$route.path}},created(){this.init()}};var p=function(){var t=this,i=t._self._c;return i("div",{staticClass:"gd-tagmenu"},[t._l(t.menuData,function(e,c){return[i("div",{key:c,staticClass:"gd-tagmenu-item",class:t.activeKey===e.path?"gd-active-bj":"",on:{click:function(y){return t.changeKey(e)}}},[i("span",{staticClass:"gd-icons",class:e.meta.icon},[t._v(t._s(e.meta.title))])])]})],2)},u=[],g=l.normalizeComponent(m,p,u,!1,null,"50bfac41",null,null);const h=g.exports;exports.menuData=r;exports.tagMenus=h;
@@ -0,0 +1 @@
1
+ "use strict";const l=require("./components.chartbi.13a8a7b5.js"),p=require("./http.loginmanage.326984c3.js"),b=require("./http.filemanage.7e6e3e1a.js"),w=require("./utils.util.js.c0ba699b.js"),D=require("./http.main.2f8a6936.js"),A=require("./http.noticemanage.2507d094.js");const E={props:{basicAttribute:{type:Object,default:()=>({})}},data(){return{}},computed:{options(){return this.basicAttribute.logo||{}},tstyle(){return`font-size:${this.options.titleFont!==void 0?this.options.titleFont:15}px`},ystyle(){return`font-size:${this.options.subtitleFont!==void 0?this.options.subtitleFont:11}px`},...l.mapGetters(["userInfo","addRouters","userFavoriteMenu","theme","sidebar"])},methods:{}};var I=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"user-logo",class:e.theme==="light"?"":"user-logo-dark"},[e.options.mode==="imageWithText"?t("div",{staticClass:"logo"},[t("div",{staticClass:"picture"},[e.options.smallPicture?t("img",{directives:[{name:"lazyImg",rawName:"v-lazyImg",value:e.options.smallPicture,expression:"options.smallPicture"}],staticClass:"img",attrs:{"data-url":e.options.smallPicture,"data-load":"Y"}}):e._e()]),e.sidebar?e._e():t("div",{staticClass:"company"},[t("div",{staticClass:"title line1",style:e.tstyle},[e._v(e._s(e.options.title))]),t("div",{staticClass:"ytitle line1",style:e.ystyle},[e._v(e._s(e.options.subtitle))])])]):t("div",{staticClass:"logo"},[e.sidebar?t("div",{staticClass:"picture"},[e.options.smallPicture?t("img",{directives:[{name:"lazyImg",rawName:"v-lazyImg",value:e.options.smallPicture,expression:"options.smallPicture"}],staticClass:"img",attrs:{"data-url":e.options.smallPicture,"data-load":"Y"}}):e._e()]):t("div",{staticClass:"bpicture"},[e.options.bigPicture?t("img",{directives:[{name:"lazyImg",rawName:"v-lazyImg",value:e.options.bigPicture,expression:"options.bigPicture"}],staticClass:"img",attrs:{"data-url":e.options.bigPicture,"data-load":"Y"}}):e._e()])])])])},$=[],x=l.normalizeComponent(E,I,$,!1,null,"15f8e6cd",null,null);const B=x.exports;var m=null;const T={props:{menus:{type:Array,required:!0},collapsed:{type:Boolean,required:!1,default:!1},activeKey:{type:String,default:""}},data(){return{record:{},visible:!1,modeMenus:"singleton",name:"",appMenus:[],omodeMenus:"singleton"}},computed:{getUserFavoriteMenu(){let s=[];return this.userFavoriteMenu.forEach(e=>{s.push(e.menuid)}),s},favoriteMenus(){let s=[];return this.appMenus.map(e=>{e.children.map(t=>{t.type==1&&s.push(Object.assign(t,{menus:e})),t.children&&t.children.map(i=>{s.push(Object.assign(i,{menus:e}))})})}),s.filter(e=>this.getUserFavoriteMenu.includes(e.id))},modeList(){let s=[];return this.menus.forEach(e=>{(this.modeMenus==="singleton"&&e.code===this.record.code||this.modeMenus==="multiple")&&s.push(e.code)}),s},getMode(){let s="gd-icon-bullet-list--points-bullet-unordered-list-lists-bu";return this.modeMenus==="multiple"?s="gd-icon-application":this.modeMenus==="collect"&&(s="gd-icon-star"),s},lstyle(){let s=this.menusWidth.split("&"),e=372;if(s[0]==="secondary")e=472;else if(s[0]==="big")e=672;else if(s[0]==="custom")return`flex:0 0 ${s[1]}px`;return`flex:0 0 ${e}px`},styleds(){return{padding:this.collapsed?`0 0 0 ${this.sidebarConfig.foldWidth}px`:`0 0 0 ${this.sidebarConfig.horizontalWidth}px`}},mstyle(){return{"--bjsmenuvar":"#282c31","--bjseachvar":"#111314"}},cstyle(){return`color:${this.primaryColor}`},fadeColord(){return this.fadeColor(this.primaryColor,.1)},...l.mapGetters(["userInfo","primaryColor","menusSearchMode","userFavoriteMenu","menusWidth","theme","sidebarConfig"])},methods:{seachName(s){let e=[...this.appMenus];e.forEach((t,i)=>{t.children.forEach((o,r)=>{let f=[];o.children&&(o.children.forEach((h,_)=>{let k=this.$i18nt(`Dynamics.${h.transkey}`,h.meta.title);e[i].children[r].children[_].show=k.toLowerCase().includes(s.toLowerCase())}),f=o.children.filter(h=>h.show));let M=this.$i18nt(`Dynamics.${o.transkey}`,o.meta.title);e[i].children[r].show=f.length>0?!0:M.toLowerCase().includes(s.toLowerCase())});let a=this.$i18nt(`Dynamics.${t.transkey}`,t.name),n=t.children.filter(o=>o.show)[0];e[i].show=n!==void 0?!0:a.toLowerCase().includes(s.toLowerCase())}),this.appMenus=[...e],s===""&&this.modeMenus==="multiple"&&this.scrollToAnchor(this.record)},query(){this.seachName(this.name.trim())},changeName(s){this.seachName(s.trim())},refreshCollect(){m&&clearTimeout(m),m=setTimeout(()=>{this.getSysBookmarkPage()},2e3)},countCollect(s,e,t){let i=this.userFavoriteMenu.filter(a=>a.menuId!=s.id);e===1&&i.push(t),this.UserFavoriteMenu(i),this.refreshCollect()},collectMenu(s,e){if(m&&clearTimeout(m),e===1){this.sysBookmarkAdd(s).then(t=>{t.success&&this.countCollect(s,e,t.data)});return}this.sysBookmarkDelete(s).then(t=>{t.success&&this.countCollect(s,e)})},sysBookmarkAdd(s){let e={userId:this.userInfo.id,menuId:s.id,order:0,name:s.meta.title};return p.sysBookmarkAdd(e).then(t=>t)},sysBookmarkDelete(s){let t={id:this.userFavoriteMenu.filter(i=>i.menuid==s.id)[0].id};return p.sysBookmarkDelete(t).then(i=>i)},getSysBookmarkPage(){let s={userId:this.userInfo.id,pageNo:1,pageSize:200};p.sysBookmarkPage(s).then(e=>{e.code===200&&this.UserFavoriteMenu(e.data.rows)})},selMode(s){s!==this.modeMenus&&(this.omodeMenus=this.modeMenus==="collect"?this.omodeMenus:this.modeMenus,this.modeMenus=s,this.MenusSearchMode(s),s==="multiple"&&this.scrollToAnchor(this.record),this.$refs.popover_seach.doClose())},mouseenter(){this.$emit("mouseenter")},mouseleave(){this.$emit("mouseleave")},open(s){this.record=s,this.visible=!0,this.scrollToAnchor(s)},close(){this.visible=!1,this.$emit("close")},setAppMenus(s){this.appMenus=s},goPath(s,e,t){(s.type===void 0?e:s.type)===1&&(this.$emit("goPath",{data:t,item:s}),this.name!==""&&(this.name="",this.query()),this.modeMenus==="collect"&&(this.modeMenus=this.omodeMenus),this.close(),this.$nextTick(()=>{setTimeout(()=>{if((s.opentype!==void 0?s.opentype:1)===2){const n=s.meta.link;n&&window.open(n,s.key);return}this.$router.push({name:s.name})},0)}))},scrollToAnchor(s){this.$nextTick(()=>{let e=document.getElementById(`gd-menus-item-${s.code}`);e&&e.scrollIntoView({behavior:"auto"})})},fadeColor(s,e){let t=parseInt(s.substring(1,3),16),i=parseInt(s.substring(3,5),16),a=parseInt(s.substring(5,7),16);return`rgba(${t},${i},${a},${e})`},...l.mapActions(["MenusSearchMode","UserFavoriteMenu"])},created(){this.modeMenus=this.menusSearchMode}};var R=function(){var e=this,t=e._self._c;return t("div",{style:e.mstyle},[e.visible?t("div",{staticClass:"gd-menus",class:e.theme==="light"?"":"gd-menus-dark",style:e.styleds},[t("div",{staticClass:"gd-menus-list",style:e.lstyle,on:{mouseenter:e.mouseenter,mouseleave:e.mouseleave}},[t("div",{staticClass:"gd-seach"},[t("el-input",{staticClass:"inpu",attrs:{placeholder:e.$i18nt("gd.menu.searchModeName","\u8BF7\u8F93\u5165\u5185\u5BB9"),clearable:""},on:{input:e.changeName},model:{value:e.name,callback:function(i){e.name=i},expression:"name"}},[t("el-popover",{ref:"popover_seach",staticClass:"el-input__icon",attrs:{slot:"prefix",placement:"top-start",trigger:"hover"},slot:"prefix"},[t("div",{staticClass:"popover-hand",style:{"--dilute":e.fadeColord},on:{mouseenter:e.mouseenter}},[t("div",{staticClass:"popover-hand-name",class:e.modeMenus==="singleton"?"inpu-item-activ":"",on:{click:function(i){return i.stopPropagation(),e.selMode("singleton")}}},[t("i",{staticClass:"gd-icons gd-icon-bullet-list--points-bullet-unordered-list-lists-bu"}),e._v(" "+e._s(e.$i18nt("gd.menu.singletonMode","\u5355\u4F8B\u6A21\u5F0F"))+" ")]),t("div",{staticClass:"popover-hand-name",class:e.modeMenus==="multiple"?"inpu-item-activ":"",on:{click:function(i){return i.stopPropagation(),e.selMode("multiple")}}},[t("i",{staticClass:"gd-icons gd-icon-application"}),e._v(" "+e._s(e.$i18nt("gd.menu.multipleMode","\u591A\u4F8B\u6A21\u5F0F"))+" ")]),t("div",{staticClass:"popover-hand-name",class:e.modeMenus==="collect"?"inpu-item-activ":"",on:{click:function(i){return i.stopPropagation(),e.selMode("collect")}}},[t("i",{staticClass:"gd-icons gd-icon-star"}),e._v(" "+e._s(e.$i18nt("gd.menu.collectMode","\u6536\u85CF\u6A21\u5F0F"))+" ")])]),t("i",{staticClass:"gd-icons",class:e.getMode,staticStyle:{"line-height":"32px","padding-left":"2px",cursor:"pointer"},attrs:{slot:"reference"},slot:"reference"})]),t("i",{staticClass:"el-input__icon el-icon-search",staticStyle:{"font-size":"16px",cursor:"pointer"},attrs:{slot:"suffix"},on:{click:e.query},slot:"suffix"})],1)],1),e.modeMenus==="collect"?t("div",{staticClass:"gd-center"},[t("div",{staticClass:"gd-menus-item"},[t("div",{staticClass:"item-list"},[e._l(e.favoriteMenus,function(i){return[t("div",{staticClass:"item",on:{click:function(a){return e.goPath(i,2,i.menus)}}},[i.meta&&i.meta.icon&&i.meta.icon!=="none"?t("div",{staticClass:"iteml"},[t("i",{staticClass:"gd-icons icons-menu",class:i.meta.icon,staticStyle:{"font-size":"16px"}})]):e._e(),t("div",{staticClass:"gdtitle line1",attrs:{title:e.$i18nt(`Dynamics.${i.transkey}`,i.meta.title)}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${i.transkey}`,i.meta.title))+" ")]),t("div",{staticClass:"item-collect"},[t("i",{staticClass:"collect el-icon-delete",staticStyle:{color:"red"},on:{click:function(a){return a.stopPropagation(),e.collectMenu(i,2)}}})])])]})],2)])]):t("div",{staticClass:"gd-center",class:e.modeMenus==="multiple"?"gd-centerbj":""},[e._l(e.appMenus,function(i,a){return[e.modeList.includes(i.code)?t("div",{staticClass:"gd-menus-item",class:a!=0&&i.show?"gd-menus-itembj":"",attrs:{id:`gd-menus-item-${i.code}`}},[i.show&&e.modeMenus==="multiple"?t("div",{staticClass:"divider"},[t("div",{staticClass:"dividerl"},[t("i",{staticClass:"gd-icons icons-menu",class:i.icon})]),t("span",{staticClass:"gdtitle",attrs:{title:e.$i18nt(`Dynamics.${i.transkey}`,i.name)}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${i.transkey}`,i.name))+" ")])]):e._e(),e._l(i.children,function(n){return[!n.hidden&&n.show?t("div",[n.type==1?t("div",{staticClass:"item-list"},[t("div",{staticClass:"item",class:n.path===e.activeKey?"itemactive":"",on:{click:function(o){return e.goPath(n,1,i)}}},[n.meta&&n.meta.icon&&n.meta.icon!=="none"?t("div",{staticClass:"iteml"},[t("i",{staticClass:"gd-icons icons-menu",class:n.meta.icon})]):e._e(),t("div",{staticClass:"gdtitle line1",attrs:{title:e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title)}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title))+" ")]),e.getUserFavoriteMenu.includes(n.id)?t("div",{staticClass:"item-collected"},[e.getUserFavoriteMenu.includes(n.id)?t("i",{staticClass:"gd-icons gd-icon-star-full",style:e.cstyle,on:{click:function(o){return o.stopPropagation(),e.collectMenu(n,2)}}}):t("i",{staticClass:"gd-icons gd-icon-star",style:e.cstyle,on:{click:function(o){return o.stopPropagation(),e.collectMenu(n,2)}}})]):t("div",{staticClass:"item-collect"},[t("i",{staticClass:"gd-icons collect gd-icon-star",style:e.cstyle,on:{click:function(o){return o.stopPropagation(),e.collectMenu(n,1)}}})])])]):t("div",{staticClass:"dividers"},[e.modeMenus==="singleton"?t("el-divider",{attrs:{orientation:"left","content-position":"left"}},[t("span",{staticClass:"gdtitle",class:n.path===e.activeKey?"itemactive":"",attrs:{title:e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title)},on:{click:function(o){return e.goPath(n,2,i)}}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title))+" ")])]):t("span",{staticClass:"gdtitle",class:n.path===e.activeKey?"itemactive":"",attrs:{title:e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title)},on:{click:function(o){return e.goPath(n,2,i)}}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title))+" ")])],1),n.children?t("div",{staticClass:"item-list"},[e._l(n.children,function(o){return[!o.hidden&&o.show?t("div",{staticClass:"item",class:o.path===e.activeKey?"itemactive":"",on:{click:function(r){return e.goPath(o,1,i)}}},[o.meta&&o.meta.icon&&o.meta.icon!=="none"?t("div",{staticClass:"iteml"},[t("i",{staticClass:"icons-menu gd-icons",class:o.meta.icon,staticStyle:{"font-size":"16px"}})]):e._e(),t("div",{staticClass:"gdtitle line1",attrs:{title:e.$i18nt(`Dynamics.${o.transkey}`,o.meta.title)}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${o.transkey}`,o.meta.title))+" ")]),e.getUserFavoriteMenu.includes(o.id)?t("div",{staticClass:"item-collected"},[e.getUserFavoriteMenu.includes(o.id)?t("i",{staticClass:"gd-icons gd-icon-star-full",style:e.cstyle,on:{click:function(r){return r.stopPropagation(),e.collectMenu(o,2)}}}):t("i",{staticClass:"gd-icons gd-icon-star",style:e.cstyle,on:{click:function(r){return r.stopPropagation(),e.collectMenu(o,2)}}})]):t("div",{staticClass:"item-collect"},[t("i",{staticClass:"gd-icons collect gd-icon-star",style:e.cstyle,on:{click:function(r){return r.stopPropagation(),e.collectMenu(o,1)}}})])]):e._e()]})],2):e._e()]):e._e()]})],2):e._e()]}),t("div",{staticClass:"zhan-bj"})],2)]),t("div",{staticClass:"gd-menus-close",on:{click:e.close}})]):e._e()])},S=[],z=l.normalizeComponent(T,R,S,!1,null,"ae5a754d",null,null);const L=z.exports;var d=null;const N={name:"GdSideNavMenu",props:{basicAttribute:{type:Object,default:()=>({})}},data(){return{defApp:"",defMenus:[],activeKey:"",defaultActive:"",activeData:{},type:"click"}},components:{UserLogo:B,SidebarMenus:L},computed:{componentItem(){const s=this.$importViewFiles();let e=`..${this.customizeNavMenu}`,t=s[e];return t?t.default:null},apps(){return this.userInfo.apps},styled(){let s=this.sidebar?`${this.sidebarConfig.foldWidth}px`:`${this.sidebarConfig.horizontalWidth}px`;return this.navMenuTheme==="fold"?s=this.sidebar?`${this.sidebarConfig.foldWidth}px`:`${this.sidebarConfig.verticalWidth}px`:this.navMenuTheme==="customize"&&(s=this.sidebar?`${this.sidebarConfig.foldWidth}px`:`${this.sidebarConfig.customizeWidth}px`),{width:s,"--bjmenuvar":"#1d2126"}},...l.mapGetters(["userInfo","addRouters","userFavoriteMenu","theme","sidebar","userFavoriteMenu","navMenuTheme","primaryColor","sidebar","sidebarConfig","customizeNavMenu"])},watch:{$route(s){this.changeRoute(s)}},methods:{selectMenus(s){if(console.log(s),this.defaultActive===s)return;let e={};const t=n=>(n=n.filter(o=>{const r=o.code?o.code:o.key;return s===r&&(e=o),o.children&&(o.children=t(o.children)),!0}),n);t(this.defMenus);const i=e.type===void 0?1:e.type;if(console.log(e,i),i!==1)return;if((e.opentype!==void 0?e.opentype:1)===2){const n=e.meta.link;n&&window.open(n);return}this.$router.push({name:e.name}),this.defaultActive=e.code?e.code:e.key,this.activeData=e},getDefApp(s){let e=s&&s.name?s.name:"";this.type="";let t="";this.apps.forEach(i=>{i.menus&&i.menus.forEach(a=>{a.name&&e===a.name&&!a.hidden&&(t=i.code)})}),this.defApp=t},goPath(s){this.defApp=s.data.code,this.activeData=s.data.item},getSysBookmarkPage(){this.userInfo.bookmarks&&this.UserFavoriteMenu(this.userInfo.bookmarks);let s={userId:this.userInfo.id,pageNo:1,pageSize:200};p.sysBookmarkPage(s).then(e=>{e.code===200&&this.UserFavoriteMenu(e.data.rows)})},init(){const s=t=>(t=t.filter(i=>(i.children&&(i.children=s(i.children),i.showLeg=i.children.filter(a=>a.show).length,i.show=i.showLeg===0?!1:i.show),!0)),t);let e=[...this.apps];e.forEach((t,i)=>{const a=t.menus.map(o=>(o.show=o.meta.show,o));let n=[];this.listToTree(a,n,0),e[i].children=[...n],e[i].show=!0}),e=s(e).filter(t=>t.children.filter(a=>a.show).length===0?!1:t.show),this.defMenus=[...e],this.$nextTick(()=>{setTimeout(()=>{this.$refs.sMenu.setAppMenus(e)},100)})},mouseenterMenu(){d&&clearTimeout(d),this.type=this.type!=="click"?"mouse":this.type},mouseleaveMenu(){d&&clearTimeout(d),this.type==="mouse"&&(d=setTimeout(()=>{this.$refs.sMenu.close()},100))},mouseenter(s){d&&clearTimeout(d),this.type!=="click"&&(this.type=this.type!=="click"?"mouse":this.type,this.$refs.sMenu.open(s))},mouseleave(){d&&clearTimeout(d),this.type!=="click"&&(d=setTimeout(()=>{this.$refs.sMenu.close()},300))},changeRoute(s){this.activeKey=s.fullPath,this.activeData=s,this.getDefApp(s)},getDefApp(s){let e=s&&s.name?s.name:"";this.defaultActive=e,this.type="";let t="";this.apps.forEach(i=>{i.menus&&i.menus.forEach(a=>{a.name&&e===a.name&&!a.hidden&&(t=i.code)})}),this.defApp=t},goPath(s){this.defApp=s.data.code,this.activeData=s.data.item},selItem(s){this.type="click",this.defApp=s.code,this.$refs.sMenu.open(s)},listToTree(s,e,t){s&&s.forEach(i=>{if(i.pid==t){const a={...i,key:i.key||i.name,children:[]};this.listToTree(s,a.children,i.id),a.children.length<=0&&delete a.children,e.push(a)}})},...l.mapActions(["UserFavoriteMenu"])},created(){this.init(),this.changeRoute(this.$route),this.getSysBookmarkPage()}};var F=function(){var e=this,t=e._self._c;return t("div",[e.componentItem?t("div",{staticClass:"gd-sider",class:e.theme==="light"?"":"gd-sider-dark",style:e.styled},[t(e.componentItem,{tag:"component",attrs:{basicAttribute:e.basicAttribute,defMenus:e.defMenus,sidebar:e.sidebar,defApp:e.defApp},on:{selectMenus:e.selectMenus}})],1):t("div",{staticClass:"gd-sider",class:e.theme==="light"?"":"gd-sider-dark",style:e.styled},[e.basicAttribute.logoOpen?t("UserLogo",{attrs:{basicAttribute:e.basicAttribute}}):e._e(),e.navMenuTheme==="vertical"?t("div",{staticClass:"gd-app"},[e._l(e.defMenus,function(i,a){return[t("div",{staticClass:"item",class:[e.sidebar?"sitem":"",i.code===e.defApp?"itemactive":""],attrs:{title:e.$i18nt(`Dynamics.${i.transkey}`,i.name)},on:{click:function(n){return e.selItem(i)},mouseenter:function(n){return e.mouseenter(i)},mouseleave:e.mouseleave}},[t("i",{staticClass:"gd-icons",class:i.icon}),e.sidebar?e._e():t("div",{staticClass:"pname line1"},[e._v(" "+e._s(e.$i18nt(`Dynamics.${i.transkey}`,i.name))+" ")]),i.code===e.defApp&&!e.sidebar?t("i",{staticClass:"el-icon-arrow-right"}):e._e()])]})],2):t("div",{staticClass:"gd-app"},[e._l(e.defMenus,function(i,a){return[t("el-menu",{staticClass:"el-menu-vertical-demo",class:[e.sidebar?"sitem":""],attrs:{"default-active":e.defaultActive,"background-color":e.theme==="light"?"#fff":"#1d2126","text-color":e.theme==="light"?"#333":"#fff","active-text-color":e.primaryColor,collapse:e.sidebar},on:{select:e.selectMenus}},[i.children&&i.children.length>0?t("el-submenu",{attrs:{index:i.code}},[t("template",{slot:"title"},[t("i",{staticClass:"gd-icons",class:i.icon,staticStyle:{"padding-right":"4px"}}),t("span",[e._v(e._s(e.$i18nt(`Dynamics.${i.transkey}`,i.name)))])]),e._l(i.children,function(n,o){return[n.children&&n.children.length>0?t("el-submenu",{attrs:{index:n.key,title:e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title)}},[t("template",{slot:"title"},[t("i",{staticClass:"gd-icons",class:n.icon,staticStyle:{"padding-right":"4px"}}),t("span",[e._v(e._s(e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title)))])]),e._l(n.children,function(r,f){return[t("el-menu-item",{attrs:{index:r.key,title:e.$i18nt(`Dynamics.${r.transkey}`,r.meta.title)}},[t("template",{slot:"title"},[t("i",{staticClass:"gd-icons",class:r.icon,staticStyle:{"padding-right":"4px"}}),t("span",[e._v(e._s(e.$i18nt(`Dynamics.${r.transkey}`,r.meta.title)))])])],2)]})],2):t("el-menu-item",{attrs:{index:n.key,title:e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title)}},[t("i",{staticClass:"gd-icons",class:n.icon,staticStyle:{"padding-right":"4px"}}),t("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.$i18nt(`Dynamics.${n.transkey}`,n.meta.title)))])])]})],2):t("el-menu-item",{attrs:{index:i.code}},[t("i",{staticClass:"gd-icons",class:i.icon,staticStyle:{"padding-right":"4px"}}),t("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.$i18nt(`Dynamics.${i.transkey}`,e.ite.meta.title)))])])],1)]})],2)],1),t("SidebarMenus",{ref:"sMenu",attrs:{collapsed:e.sidebar,menus:e.defMenus,activeKey:e.activeKey},on:{goPath:e.goPath,close:function(i){return e.getDefApp(e.activeData)},mouseenter:e.mouseenterMenu,mouseleave:e.mouseleaveMenu}})],1)},P=[],U=l.normalizeComponent(N,F,P,!1,null,"b00d3374",null,null);const g=U.exports;g.install=function(s){s.component(g.name,g)};const y=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=(()=>{if(typeof document>"u")return!1;const s=y[0],e={};for(const t of y)if((t==null?void 0:t[1])in document){for(const[a,n]of t.entries())e[s[a]]=n;return e}return!1})(),C={change:u.fullscreenchange,error:u.fullscreenerror};let c={request(s=document.documentElement,e){return new Promise((t,i)=>{const a=()=>{c.off("change",a),t()};c.on("change",a);const n=s[u.requestFullscreen](e);n instanceof Promise&&n.then(a).catch(i)})},exit(){return new Promise((s,e)=>{if(!c.isFullscreen){s();return}const t=()=>{c.off("change",t),s()};c.on("change",t);const i=document[u.exitFullscreen]();i instanceof Promise&&i.then(t).catch(e)})},toggle(s,e){return c.isFullscreen?c.exit():c.request(s,e)},onchange(s){c.on("change",s)},onerror(s){c.on("error",s)},on(s,e){const t=C[s];t&&document.addEventListener(t,e,!1)},off(s,e){const t=C[s];t&&document.removeEventListener(t,e,!1)},raw:u};Object.defineProperties(c,{isFullscreen:{get:()=>Boolean(document[u.fullscreenElement])},element:{enumerable:!0,get:()=>{var s;return(s=document[u.fullscreenElement])!=null?s:void 0}},isEnabled:{enumerable:!0,get:()=>Boolean(document[u.fullscreenEnabled])}});u||(c={isEnabled:!1});const v=c;const Q={props:{basicAttribute:{type:Object,default:()=>({})}},data(){return{isFullscreen:!1,photoUrl:"",avatar:"",unreadCount:"",handletype:"1",tabsReady:!1}},components:{SettingDrawer:()=>Promise.resolve().then(()=>require("./components.settingdrawer.4581f5b1.js")).then(s=>s.main),XlsxImport:()=>Promise.resolve().then(()=>require("./components.xlsximport.c53c50f6.js")).then(s=>s.main),InformationMsg:()=>Promise.resolve().then(()=>re)},computed:{hasLogout(){const s=this.options.filter(e=>e.key==="logout")[0];return s?s.statu:!0},options(){return(this.basicAttribute.menus||[]).map(e=>(e.key==="universalImport"?(e.permission="sysUser:universalImport",e.transkey="gd.menu.universalImport"):e.key==="advancedFind"?(e.permission="sysUser:advancedFind",e.transkey="gd.menu.menuAdvancedFind"):e.key==="information"?e.transkey="gd.menu.information":e.key==="theme"?e.transkey="gd.menu.themeConfiguration":e.key==="fullScreen"&&(e.transkey="gd.menu.fullScreen"),e))},menus(){const s=this.hasItems?[{disabled:!1,key:"application",name:"\u5E94\u7528",statu:!0,permission:"sysApplication:see",transkey:"gd.solution.application"}]:[],e=this.options.filter(t=>t.key!=="logout");return s.concat(e).filter(t=>t.permission?this.$hasPerm(t.permission):!0)},hasItems(){return(this.systemInfo.id?this.systemInfo:window.$systemInfo).code==="GDS_LCDP"},apps(){return this.userInfo.apps},getUserImg(){let s="/gds/"+this.userInfo.filePath+"/"+this.userInfo.fileObjectName;return`${this.$getImageUrl(s)}`},fadeColord(){return this.fadeColor(this.primaryColor,.2)},...l.mapGetters(["tableLists","platformData","userInfo","primaryColor","token","systemInfo"])},methods:{imageUrl(){b.sysFileInfoPreview({id:this.userInfo.avatar}).then(s=>{const e=new Blob([s]);this.photoUrl=window.URL.createObjectURL(e)}).catch(s=>{this.$message.error("\u9884\u89C8\u9519\u8BEF\uFF1A"+s.message)})},echartsManage(s){this.$router.push({name:"echartsManage"}),this.$refs[s][0].doClose()},accountSetting(s){this.$router.push({name:"accountSettings"}),this.$refs[s][0].doClose()},hand(s){s==="theme"?this.$refs.settingDrawer.toggle():s==="fullScreen"?this.toggleFullscreen():s==="application"?this.$router.push({path:"/platform/application"}):s==="universalImport"?this.$refs.xlsxImport.open():s=="information"?this.$refs.informationMsg.open():this.$router.push({path:`/${s}`})},showtabs(){this.tabsReady=!0},hidetabs(){this.tabsReady=!1},toggleFullscreen(){if(!v.isEnabled){message.error(this.$i18nt("gd.account.browserNotSupported","\u60A8\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u5168\u5C4F\u6A21\u5F0F?"));return}v.toggle(),v.isFullscreen?this.isFullscreen=!1:this.isFullscreen=!0},handleLogout(){let s=this;this.$confirm(this.$i18nt("gd.account.logOutContent","\u771F\u7684\u8981\u6CE8\u9500\u767B\u5F55\u5417?"),this.$i18nt("gd.account.logOutTip","\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.menu.logOutOk","\u786E\u8BA4"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,closeOnClickModal:!1,closeOnPressEscape:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,t,i)=>{if(e!=="confirm"){i();return}t.confirmButtonLoading=!0,t.cancelButtonLoading=!0,t.showCancelButton=!1,s.Logout().then(a=>{t.confirmButtonLoading=!1,t.cancelButtonLoading=!1,t.showCancelButton=!0,setTimeout(()=>{window.location.reload(),i()},100)})}})},fadeColor(s,e){let t=parseInt(s.substring(1,3),16),i=parseInt(s.substring(3,5),16),a=parseInt(s.substring(5,7),16);return`rgba(${t},${i},${a},${e})`},handleMessage(s){this.unreadCount=s.count},handleClick(s,e){this.$nextTick(()=>{setTimeout(()=>{const t=s.name==="1"?"messageDataRefun":"readMessageDataRef";this.$refs[t]&&typeof this.$refs[t].init=="function"&&this.$refs[t].init()},10)})},...l.mapActions(["Logout"])},async mounted(){this.$socket.on("receive",this.handleMessage),this.imageUrl(),await this.$socket.authenticate(this.token)}};var K=function(){var e=this,t=e._self._c;return t("div",{staticClass:"user-wrapper"},[e._l(e.menus,function(i){return[i.statu?[i.key==="user"?t("el-popover",{ref:`popover_${i.key}`,refInFor:!0,attrs:{placement:"bottom-start",trigger:"click",tabindex:9999}},[t("div",{staticClass:"selectionl-popover",style:{"--dilute":e.fadeColord}},[t("div",{staticClass:"item",on:{click:function(a){return e.accountSetting(`popover_${i.key}`)}}},[t("i",{staticClass:"gd-icon-xitongshezhi gd-icons"}),t("span",[e._v(e._s(e.$i18nt("gd.menu.accountSettings","\u8D26\u53F7\u8BBE\u7F6E")))])]),t("div",{staticClass:"item",on:{click:function(a){return e.echartsManage(`popover_${i.key}`)}}},[t("i",{staticClass:"gd-icon-zhuzhuangtu gd-icons"}),t("span",[e._v(e._s(e.$i18nt("gd.menu.echarts","\u4E2A\u4EBA\u56FE\u8868\u7BA1\u7406")))])]),t("div",{staticClass:"popover-solid"},[t("el-divider")],1),e.hasLogout?t("div",{staticClass:"item",on:{click:function(a){return e.handleLogout(`popover_${i.key}`)}}},[t("i",{staticClass:"gd-icon-tuichudenglu1 gd-icons"}),t("span",[e._v(e._s(e.$i18nt("gd.menu.logOut","\u9000\u51FA\u767B\u5F55")))])]):e._e()]),t("span",{staticClass:"user-dropdown-menu",attrs:{slot:"reference"},slot:"reference"},[e.userInfo.avatar?t("img",{directives:[{name:"lazyImg",rawName:"v-lazyImg",value:e.userInfo.avatar,expression:"userInfo.avatar"}],staticClass:"user-img"}):e.userInfo.filePath&&e.userInfo.photoUrl==""?t("img",{staticClass:"user-img",attrs:{src:e.getUserImg}}):t("img",{staticClass:"user-img",attrs:{src:"data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDACMYGh4aFiMeHB4nJSMpNFc4NDAwNGpMUD9Xfm+EgnxveneLnMipi5S9lnd6ru2wvc7V4OLgh6f1//PZ/8jb4Nf/2wBDASUnJzQuNGY4OGbXj3qP19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f/wgARCADhAOEDAREAAhEBAxEB/8QAGgABAAIDAQAAAAAAAAAAAAAAAAECAwQFBv/EABgBAQEBAQEAAAAAAAAAAAAAAAABAgME/9oADAMBAAIQAxAAAADuAAAAGFOfLzqwWY6q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+8/k9GgAKq97L+iXohw/wCS9Gl0V46/JmszDvfGeauQfi33VdMZwE9GlGmgL9wA6i71PVpRoqG/UU3CJhA9mQh8WTJnjJXiIso3L4Gj2RL7p1Kl9162XVuUxA6mOzZkyZMmeD5jwOcT0gbqm4QdDJrPXOmDM94f0Psn/m6s/wCpBwIPb/k9c2g+D3nxnu9DCi/ayt+O5W5i7PWy1Lfpkwh7j5Az2nGn7KNqVSjhD1bhmw9a/wCy972qi6TYf3T5P//Z"}})])]):t("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],attrs:{content:e.$i18nt(i.transkey,i.name),placement:"bottom","open-delay":150}},[t("span",{staticClass:"user-dropdown-menu",on:{click:function(a){return e.hand(i.key)}}},[i.key==="universalImport"?t("i",{staticClass:"gd-icons gd-icon-mulu"}):i.key==="information"?t("el-badge",{staticClass:"item",attrs:{slot:"reference",hidden:e.unreadCount=="",value:e.unreadCount>99?"99+":e.unreadCount},slot:"reference"},[t("i",{staticClass:"gd-icons gd-icon-a-huabanbeifen35"})]):i.key==="advancedFind"?t("i",{staticClass:"gd-icons el-icon-search"}):i.key==="theme"?t("i",{staticClass:"gd-icons gd-icon-xitongshezhi"}):i.key==="fullScreen"?t("i",{staticClass:"gd-icons",class:e.isFullscreen?"gd-icon-quanpingsuoxiao":"gd-icon-fangda"}):i.key==="application"?t("i",{staticClass:"gd-icons gd-icon-yemian1"}):e._e()],1)])]:e._e()]}),t("SettingDrawer",{ref:"settingDrawer"}),t("XlsxImport",{ref:"xlsxImport",attrs:{typeImport:2}}),t("InformationMsg",{ref:"informationMsg"})],2)},j=[],O=l.normalizeComponent(Q,K,j,!1,null,"3001357d",null,null);const q=O.exports;const H={props:{daySet:{type:Array,default:()=>[]}},data(){return{queryParam:{readStatus:"UNREAD"},list:[],notifications:[],confirmLoading:!1,pageNo:1,pageSize:20,totalRows:0,loading:!1,observer:null}},computed:{moreTitle(){let s=this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D...");return this.loading||(s=this.list.length>=this.totalRows?this.pageNo>1?this.$i18nt("gd.https.noMoreData","\u6682\u65E0\u66F4\u591A\u6570\u636E"):"":this.$i18nt("gd.https.loadMoreData","\u70B9\u51FB\u52A0\u8F7D\u66F4\u591A")),s},messagetypeData(){return this.getDictionary("messagetype")}},methods:{elLoadMore(){const s=this.$refs.moreTitle;!s||this.observer||(this.observer=new IntersectionObserver((e,t)=>{e.forEach(i=>{i.isIntersecting&&this.loadMore()})}),this.observer.observe(s))},loadMore(){this.loading||this.list.length>=this.totalRows||(this.pageNo+=1,this.getList(!1))},getDictionary(s){return this.$options.filters.dictData(s)},messageType(s){const e=this.messagetypeData.filter(t=>t.code==String(s.messagetype))[0];return e?this.$i18nt(`Dynamics.${e.transkey}`,e.name):s.messagetype},getList(s){return this.confirmLoading=!0,this.loading=!0,A.sysMessagePage(Object.assign({},this.queryParam,{pageNo:s?1:this.pageNo,pageSize:s?this.pageNo*this.pageSize:this.pageSize})).then(e=>{e.code===200&&(this.totalRows=e.data.totalrows,this.list=s||this.pageNo===1?e.data.rows:this.list.concat(e.data.rows),this.handOrganize(),this.$emit("notifications",e.data.rows),this.pageNo===1&&this.$nextTick(()=>{setTimeout(()=>{this.elLoadMore()},0)})),this.confirmLoading=!1})},init(s){s?this.getList(!0):(this.pageNo=1,this.list=[],this.notifications=[],this.getList(!1))},handOrganize(){let s=[],e=[];this.list.forEach(t=>{const i=t.createdtime.split(" ")[0];s.includes(i)?e[e.length-1].messages.push(t):(s.push(i),e.push(Object.assign({},t,{groupdate:i,messages:[t]})))}),this.notifications=e,this.loading=!1},markAsRead(s){this.beaseLoadComplete(s)},beaseLoadComplete(s){const e=s.targeturl.split("?")[1];let t="";if(e&&(t=new URLSearchParams(e).get("complete_request")),t==="")return;const i=decodeURIComponent(t),a=i.indexOf("?")===-1?i:i.slice(0,i.indexOf("?")),n=w.getParamsQuery(i);D.post(a,n),setTimeout(()=>{this.init()},1e3)},dictSwitch(s,e){let t=this.$options.filters.dictData(e).filter(i=>i.code==s)[0];return t!=null&&t.colour?t.colour:null},markAsReadDetail(s){this.$emit("markAsRead",s),setTimeout(()=>{this.init()},300)}},beforeDestroy(){this.observer&&this.observer.disconnect()}};var J=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticStyle:{"min-height":"70%"}},[t("div",{staticClass:"notification-list"},[e._l(e.notifications,function(i,a){return t("div",[t("div",{staticClass:"notification-date",class:a===0?"notification-daten":""},[e.daySet[0].includes(i.groupdate)?t("span",[e._v(" "+e._s(e.$i18nt("gd.view.today","\u4ECA\u5929"))+" ")]):e.daySet[1].includes(i.groupdate)?t("span",[e._v(" "+e._s(e.$i18nt("gd.view.yesterday","\u6628\u5929"))+" ")]):t("span",[e._v(e._s(i.groupdate))])]),e._l(i.messages,function(n,o){return t("div",{key:n.id,staticClass:"notification-item",class:o===i.messages.length-1?"notification-itemn":"",on:{click:function(r){return e.markAsReadDetail(n)}}},[t("div",{staticClass:"notification-content"},[t("div",{staticClass:"notification-message"},[t("div",{staticClass:"name line1"},[e._v(e._s(n.name))]),t("div",{staticClass:"du",on:{click:function(r){return r.stopPropagation(),e.markAsRead(n)}}},[e._v(e._s(e.$i18nt("gd.menu.markAsRead","\u6807\u4E3A\u5DF2\u8BFB")))])]),t("div",{staticClass:"notification-detail line1"},[e._v(e._s(n.content))]),t("div",{staticClass:"notification-nav"},[t("div",{staticClass:"notification-type"},[e._v(e._s(e.messageType(n)))]),t("div",{staticClass:"notification-time"},[e._v(e._s(n.createdtime))])])])])})],2)}),!e.confirmLoading&&e.notifications.length==0?t("div",{staticClass:"none"},[t("div",{staticClass:"empty"},[t("i",{staticClass:"el-icon-receiving"}),t("div",{staticClass:"empty-err"},[e._v(e._s(e.$i18nt("gd.echarts.noData","\u6682\u65E0\u6570\u636E\u5C55\u793A")))])])]):e._e(),e.totalRows>0?t("div",{ref:"moreTitle",staticClass:"list-more",class:{"active-item":e.totalRows>0&&e.list.length>=e.totalRows,"list-morep":e.moreTitle!==""||e.loading}},[e.loading?t("i",{staticClass:"el-icon-loading"}):e._e(),t("div",{staticClass:"more-title",on:{click:e.loadMore}},[e._v(e._s(e.moreTitle))])]):e._e()],2)])},V=[],Y=l.normalizeComponent(H,J,V,!1,null,"8580e637",null,null);const G=Y.exports;const X={props:{daySet:{type:Array,default:()=>[]}},data(){return{queryParam:{readStatus:"READ"},list:[],notifications:[],confirmLoading:!1,showDetails:!1,pageNo:1,pageSize:20,totalRows:0,loading:!1,observer:null}},computed:{moreTitle(){let s=this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D...");return this.loading||(s=this.list.length>=this.totalRows?this.pageNo>1?this.$i18nt("gd.https.noMoreData","\u6682\u65E0\u66F4\u591A\u6570\u636E"):"":this.$i18nt("gd.https.loadMoreData","\u70B9\u51FB\u52A0\u8F7D\u66F4\u591A")),s},messagetypeData(){return this.getDictionary("messagetype")}},methods:{elLoadMore(){const s=this.$refs.moreTitle;!s||this.observer||(this.observer=new IntersectionObserver((e,t)=>{e.forEach(i=>{i.isIntersecting&&this.loadMore()})}),this.observer.observe(s))},loadMore(){this.loading||this.list.length>=this.totalRows||(this.pageNo+=1,this.getList(!1))},getDictionary(s){return this.$options.filters.dictData(s)},messageType(s){const e=this.messagetypeData.filter(t=>t.code==String(s.messagetype))[0];return e?this.$i18nt(`Dynamics.${e.transkey}`,e.name):s.messagetype},getList(s){return this.confirmLoading=!0,this.loading=!0,A.sysMessagePage(Object.assign({},this.queryParam,{pageNo:s?1:this.pageNo,pageSize:s?this.pageNo*this.pageSize:this.pageSize})).then(e=>{e.code===200&&(this.totalRows=e.data.totalrows,this.list=s||this.pageNo===1?e.data.rows:this.list.concat(e.data.rows),this.handOrganize(),this.$emit("notifications",e.data.rows),this.pageNo===1&&this.$nextTick(()=>{setTimeout(()=>{this.elLoadMore()},0)})),this.confirmLoading=!1})},init(s){s?this.getList(!0):(this.pageNo=1,this.list=[],this.notifications=[],this.getList(!1))},handOrganize(){let s=[],e=[];this.list.forEach(t=>{const i=t.createdtime.split(" ")[0];s.includes(i)?e[e.length-1].messages.push(t):(s.push(i),e.push(Object.assign({},t,{groupdate:i,messages:[t]})))}),this.loading=!1,this.notifications=e},dictSwitch(s,e){let t=this.$options.filters.dictData(e).filter(i=>i.code==s)[0];return t!=null&&t.colour?t.colour:null},markAsRead(s){this.$emit("markAsRead",s)}},beforeDestroy(){this.observer&&this.observer.disconnect()}};var Z=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticStyle:{"min-height":"70%"}},[t("div",{staticClass:"notification-list"},[e._l(e.notifications,function(i,a){return t("div",[t("div",{staticClass:"notification-date",class:a===0?"notification-daten":""},[e.daySet[0].includes(i.groupdate)?t("span",[e._v(" "+e._s(e.$i18nt("gd.view.today","\u4ECA\u5929"))+" ")]):e.daySet[1].includes(i.groupdate)?t("span",[e._v(" "+e._s(e.$i18nt("gd.view.yesterday","\u6628\u5929"))+" ")]):t("span",[e._v(e._s(i.groupdate))])]),e._l(i.messages,function(n,o){return t("div",{key:n.id,staticClass:"notification-item",class:o===i.messages.length-1?"notification-itemn":"",on:{click:function(r){return e.markAsRead(n)}}},[t("div",{staticClass:"notification-content"},[t("div",{staticClass:"notification-message"},[e._v(" "+e._s(n.name)+" ")]),t("div",{staticClass:"notification-detail line1"},[e._v(e._s(n.content))]),t("div",{staticClass:"notification-nav"},[t("div",{staticClass:"notification-type"},[e._v(e._s(e.messageType(n)))]),t("div",{staticClass:"notification-time"},[e._v(e._s(n.createdtime))])])])])})],2)}),!e.confirmLoading&&e.notifications.length==0?t("div",{staticClass:"none"},[t("div",{staticClass:"empty"},[t("i",{staticClass:"el-icon-receiving"}),t("div",{staticClass:"empty-err"},[e._v(e._s(e.$i18nt("gd.echarts.noData","\u6682\u65E0\u6570\u636E\u5C55\u793A")))])])]):e._e(),e.totalRows>0?t("div",{ref:"moreTitle",staticClass:"list-more",class:{"active-item":e.totalRows>0&&e.list.length>=e.totalRows,"list-morep":e.moreTitle!==""||e.loading}},[e.loading?t("i",{staticClass:"el-icon-loading"}):e._e(),t("div",{staticClass:"more-title",on:{click:e.loadMore}},[e._v(e._s(e.moreTitle))])]):e._e()],2)])},W=[],ee=l.normalizeComponent(X,Z,W,!1,null,"c25eaf49",null,null);const te=ee.exports;const se={data(){return{visible:!1,width:"384px",type:"messageDataRefun",showDetails:!1,notificationsData:[]}},computed:{daySet(){const s=new Date().getTime(),e=new Date().getTime()-24*60*60*1e3;return[this.getDayNum(s),this.getDayNum(e)]}},components:{MessageData:G,ReadMessageData:te},methods:{notifications(s){this.notificationsData=s},closeShowDetails(){console.log(88),this.showDetails=!1,this.refresh(!0)},markAsRead(s,e){this.showDetails=!0,this.$nextTick(()=>{setTimeout(()=>{this.$refs.viewFormDetails.open(s.targeturl)})})},refresh(s=!0){this.$nextTick(()=>{setTimeout(()=>{const e=this.$refs[this.type];e&&e.init(s)})})},open(){this.visible=!0,this.refresh(!1)},readOneClick(){this.$confirm(this.$i18nt("gd.https.oneClickRead","\u662F\u5426\u4E00\u952E\u5DF2\u8BFB\u6D88\u606F?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.btn.confirm","\u786E\u8BA4"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(s,e,t)=>{if(s!=="confirm"){t();return}this.oneClick(s,e,t)}})},oneClick(s,e,t){e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,A.sysMessageMarkAllAsRead().then(i=>{e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0,i.code==200||i.code==204?(t(),this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.refresh()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+i.message)})},getDayNum(s){const e=new Date(s),t=e.getFullYear(),i=e.getMonth()+1,a=e.getDate();return`${t}-${this.formatNumber(i)}-${this.formatNumber(a)}`},formatNumber(s){return s=s.toString(),s[1]?s:"0"+s}}};var ie=function(){var e=this,t=e._self._c;return t("div",[t("el-drawer",{attrs:{visible:e.visible,"close-on-press-escape":!1,"append-to-body":!1,"modal-append-to-body":!0,size:e.width,"show-close":!1,modal:!1,"custom-class":"gd-drawer-msg",withHeader:!1},on:{"update:visible":function(i){e.visible=i}}},[t("div",{staticClass:"drawer-main"},[t("div",{staticClass:"title"},[t("el-radio-group",{on:{input:function(i){return e.refresh(!1)}},model:{value:e.type,callback:function(i){e.type=i},expression:"type"}},[t("el-radio-button",{attrs:{label:"messageDataRefun"}},[e._v(e._s(e.$i18nt("gd.menu.unreadMessage","\u672A\u8BFB\u6D88\u606F")))]),t("el-radio-button",{attrs:{label:"readMessageDataRef"}},[e._v(e._s(e.$i18nt("gd.menu.readMessages","\u5DF2\u8BFB\u6D88\u606F")))])],1),e.notificationsData.length>0?t("i",{staticClass:"gd-icons gd-icon-qinglihuancun",attrs:{title:e.$i18nt("gd.menu.oneClickRead","\u4E00\u952E\u5DF2\u8BFB")},on:{click:e.readOneClick}}):e._e()],1),e.visible?t("div",{staticClass:"content"},[t("MessageData",{directives:[{name:"show",rawName:"v-show",value:e.type==="messageDataRefun",expression:"type === 'messageDataRefun'"}],ref:"messageDataRefun",attrs:{daySet:e.daySet},on:{markAsRead:e.markAsRead,notifications:e.notifications}}),t("ReadMessageData",{directives:[{name:"show",rawName:"v-show",value:e.type==="readMessageDataRef",expression:"type === 'readMessageDataRef'"}],ref:"readMessageDataRef",attrs:{daySet:e.daySet},on:{markAsRead:e.markAsRead}})],1):e._e()])]),e.showDetails?t("gd-view-form-details",{ref:"viewFormDetails",on:{close:e.closeShowDetails}}):e._e()],1)},ne=[],ae=l.normalizeComponent(se,ie,ne,!1,null,"954b95d6",null,null);const oe=ae.exports,re=Object.freeze(Object.defineProperty({__proto__:null,default:oe},Symbol.toStringTag,{value:"Module"}));exports.GDpackage=g;exports.UserMenus=q;