gds-plus-design-vue 1.2.62 → 1.2.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (332) hide show
  1. package/lib/addPermission.5036013c.js +1 -0
  2. package/lib/addPermission.9fc97a47.mjs +421 -0
  3. package/lib/approvalModel.51d07afe.mjs +340 -0
  4. package/lib/approvalModel.66f49dfb.js +1 -0
  5. package/lib/attribute.318f485c.js +1 -0
  6. package/lib/attribute.a06ac9e7.mjs +237 -0
  7. package/lib/buildItem.6a834227.js +1 -0
  8. package/lib/buildItem.fd8634ab.mjs +205 -0
  9. package/lib/businessRules.0e4dbb3a.js +1 -0
  10. package/lib/businessRules.db6ba874.mjs +538 -0
  11. package/lib/components.chartbi.b043dcdc.mjs +1729 -0
  12. package/lib/components.chartbi.e4680eaa.js +7 -0
  13. package/lib/components.coloreditor.044983d2.mjs +1505 -0
  14. package/lib/components.coloreditor.779a9419.js +6 -0
  15. package/lib/components.dataassign.1853ed5c.js +1 -0
  16. package/lib/components.dataassign.56632583.mjs +147 -0
  17. package/lib/components.echarts.10d3ffe2.mjs +794 -0
  18. package/lib/components.echarts.e4d6b13e.js +3 -0
  19. package/lib/components.exception.3cc33e29.js +1 -0
  20. package/lib/components.exception.cc2f4ca3.mjs +61 -0
  21. package/lib/components.form.3344c817.mjs +7785 -0
  22. package/lib/components.form.91d5ed3e.js +41 -0
  23. package/lib/components.globalheader.07a90c4b.js +1 -0
  24. package/lib/components.globalheader.43fafa8c.mjs +54 -0
  25. package/lib/components.iconselector.8caabeaa.mjs +1165 -0
  26. package/lib/components.iconselector.d712170f.js +1 -0
  27. package/lib/components.imgpreview.57290b54.mjs +213 -0
  28. package/lib/components.imgpreview.86bf7971.js +1 -0
  29. package/lib/components.lunccalendar.76159d2e.js +1 -0
  30. package/lib/components.lunccalendar.f6765c94.mjs +1137 -0
  31. package/lib/components.middleware.3bad5748.js +1 -0
  32. package/lib/components.middleware.457b1182.mjs +147 -0
  33. package/lib/components.modaltitle.ae92f96c.mjs +127 -0
  34. package/lib/components.modaltitle.e0b34fcb.js +1 -0
  35. package/lib/components.multitab.82fd0544.js +1 -0
  36. package/lib/components.multitab.8441aa6b.mjs +140 -0
  37. package/lib/components.selecttree.85d940a9.mjs +170 -0
  38. package/lib/components.selecttree.d710a362.js +1 -0
  39. package/lib/components.settingdrawer.779f6715.js +1 -0
  40. package/lib/components.settingdrawer.a6693034.mjs +237 -0
  41. package/lib/components.sidemenu.725677e3.mjs +277 -0
  42. package/lib/components.sidemenu.80e46c2d.js +1 -0
  43. package/lib/components.sidenavmenu.23b8edce.mjs +1331 -0
  44. package/lib/components.sidenavmenu.b9bb9304.js +1 -0
  45. package/lib/components.statuschange.15938660.mjs +116 -0
  46. package/lib/components.statuschange.ed1218a4.js +1 -0
  47. package/lib/components.table.17c02054.js +8 -0
  48. package/lib/components.table.e3e5e3bc.mjs +4635 -0
  49. package/lib/components.tableumy.2f5dfa12.mjs +450 -0
  50. package/lib/components.tableumy.9cf33062.js +1 -0
  51. package/lib/components.tablevirtual.38d4d3d8.js +1 -0
  52. package/lib/components.tablevirtual.ba03746e.mjs +561 -0
  53. package/lib/components.teamsharing.05503821.js +1 -0
  54. package/lib/components.teamsharing.fb4351ec.mjs +373 -0
  55. package/lib/components.tooltip.950dc77b.mjs +86 -0
  56. package/lib/components.tooltip.a05d8dd1.js +1 -0
  57. package/lib/components.uploadfile.10f6cb2a.mjs +228 -0
  58. package/lib/components.uploadfile.5a9b6cc1.js +1 -0
  59. package/lib/components.uploadimg.cce7452a.js +1 -0
  60. package/lib/components.uploadimg.f4fe4e77.mjs +192 -0
  61. package/lib/components.verificationcode.afb9aa1a.mjs +71 -0
  62. package/lib/components.verificationcode.d1946db4.js +1 -0
  63. package/lib/components.viewformdetails.1621bc18.js +1 -0
  64. package/lib/components.viewformdetails.f362d69e.mjs +1048 -0
  65. package/lib/components.viewloading.807bbf68.js +1 -0
  66. package/lib/components.viewloading.ea40b244.mjs +96 -0
  67. package/lib/components.watermark.1ffc66e0.mjs +53 -0
  68. package/lib/components.watermark.da3d7220.js +2 -0
  69. package/lib/components.xlsxexport.d98572f8.mjs +263 -0
  70. package/lib/components.xlsxexport.f5ace2cd.js +1 -0
  71. package/lib/components.xlsximport.cffa88fe.mjs +913 -0
  72. package/lib/components.xlsximport.dbd826bb.js +1 -0
  73. package/lib/createFile.6b37ecf2.js +1 -0
  74. package/lib/createFile.82d6e415.mjs +239 -0
  75. package/lib/createSubfolders.47af629c.js +1 -0
  76. package/lib/createSubfolders.d35b97e9.mjs +154 -0
  77. package/lib/dialogLayout.08823bb7.js +1 -0
  78. package/lib/dialogLayout.c4bc3b55.mjs +138 -0
  79. package/lib/drawerContainer.604a1271.mjs +146 -0
  80. package/lib/drawerContainer.6a9813ce.js +1 -0
  81. package/lib/drawerLayout.36cf4d05.js +1 -0
  82. package/lib/drawerLayout.fb60950f.mjs +119 -0
  83. package/lib/fileSearch.65311ded.js +1 -0
  84. package/lib/fileSearch.86c356fe.mjs +338 -0
  85. package/lib/flow.designer.1ba3a90d.js +1 -0
  86. package/lib/flow.designer.6da03949.mjs +7686 -0
  87. package/lib/flow.list.03694808.mjs +3030 -0
  88. package/lib/flow.list.4eb10554.js +1 -0
  89. package/lib/form.build.51bd261e.js +1 -0
  90. package/lib/form.build.b768d613.mjs +251 -0
  91. package/lib/form.designer.build.5a950455.js +1 -0
  92. package/lib/form.designer.build.e521c9c6.mjs +5091 -0
  93. package/lib/formFiled.464856f5.js +1 -0
  94. package/lib/formFiled.fe7d9df3.mjs +505 -0
  95. package/lib/gd-initial.js +1 -35
  96. package/lib/gd-initial.mjs +221 -91338
  97. package/lib/http.appmanage.4554a629.mjs +50 -0
  98. package/lib/http.appmanage.b998818f.js +1 -0
  99. package/lib/http.codegeneratemanage.2f925b10.mjs +112 -0
  100. package/lib/http.codegeneratemanage.aecadd5d.js +1 -0
  101. package/lib/http.configmanage.6cfb8ae7.js +1 -0
  102. package/lib/http.configmanage.c23c7fa8.mjs +34 -0
  103. package/lib/http.currencymanage.37ab5ced.js +1 -0
  104. package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
  105. package/lib/http.datasource.294b01e2.js +1 -0
  106. package/lib/http.datasource.aa5cd0d1.mjs +58 -0
  107. package/lib/http.dictdatamanage.4baf16c0.mjs +42 -0
  108. package/lib/http.dictdatamanage.70545d8a.js +1 -0
  109. package/lib/http.dictmanage.3dc07b5d.js +1 -0
  110. package/lib/http.dictmanage.77c69971.mjs +50 -0
  111. package/lib/http.duplicatechecking.31964ce7.mjs +50 -0
  112. package/lib/http.duplicatechecking.ee5c414c.js +1 -0
  113. package/lib/http.emailmanage.1ddaa8b5.js +1 -0
  114. package/lib/http.emailmanage.64fd611f.mjs +18 -0
  115. package/lib/http.filedocument.7c656b91.js +1 -0
  116. package/lib/http.filedocument.d456d26a.mjs +156 -0
  117. package/lib/http.filemanage.7e6e3e1a.js +1 -0
  118. package/lib/http.filemanage.c0de21d6.mjs +71 -0
  119. package/lib/http.languagemanage.2ef16159.mjs +10 -0
  120. package/lib/http.languagemanage.e2c098ec.js +1 -0
  121. package/lib/http.loginmanage.05500c29.mjs +74 -0
  122. package/lib/http.loginmanage.326984c3.js +1 -0
  123. package/lib/http.logmanage.1e12a9bd.js +1 -0
  124. package/lib/http.logmanage.8ba72635.mjs +82 -0
  125. package/lib/http.machinemanage.29d72a65.js +1 -0
  126. package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
  127. package/lib/http.main.2f8a6936.js +1 -0
  128. package/lib/http.main.40657f51.mjs +517 -0
  129. package/lib/http.menumanage.3240ba0d.mjs +66 -0
  130. package/lib/http.menumanage.6d740f2c.js +1 -0
  131. package/lib/http.message.5004bf60.mjs +178 -0
  132. package/lib/http.message.87f319d7.js +1 -0
  133. package/lib/http.noticemanage.2507d094.js +1 -0
  134. package/lib/http.noticemanage.e03bd5f3.mjs +82 -0
  135. package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
  136. package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
  137. package/lib/http.onlineusermanage.3893f897.js +1 -0
  138. package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
  139. package/lib/http.orgmanage.5162fd7a.js +1 -0
  140. package/lib/http.orgmanage.84e43edb.mjs +58 -0
  141. package/lib/http.pluginmanage.6a876040.js +1 -0
  142. package/lib/http.pluginmanage.6bc6197f.mjs +82 -0
  143. package/lib/http.posmanage.c0f80aec.js +1 -0
  144. package/lib/http.posmanage.ee6a7613.mjs +34 -0
  145. package/lib/http.promptmanagement.c7912f6c.mjs +42 -0
  146. package/lib/http.promptmanagement.d115c4b0.js +1 -0
  147. package/lib/http.rolemanage.03363732.js +1 -0
  148. package/lib/http.rolemanage.dbf3fda1.mjs +114 -0
  149. package/lib/http.solution.175d36c8.mjs +91 -0
  150. package/lib/http.solution.c6b2634f.js +1 -0
  151. package/lib/http.sumberrules.0b68ce6d.js +1 -0
  152. package/lib/http.sumberrules.608a06d6.mjs +34 -0
  153. package/lib/http.sysapps.469d47f7.js +1 -0
  154. package/lib/http.sysapps.e294ceaf.mjs +58 -0
  155. package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
  156. package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
  157. package/lib/http.tabledevelopment.1d370398.mjs +362 -0
  158. package/lib/http.tabledevelopment.a880bb76.js +1 -0
  159. package/lib/http.team.c8487c0b.mjs +90 -0
  160. package/lib/http.team.e45400d5.js +1 -0
  161. package/lib/http.timersmanage.01dbc1a2.mjs +146 -0
  162. package/lib/http.timersmanage.6e894942.js +1 -0
  163. package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
  164. package/lib/http.timezonemanage.e0aa212f.js +1 -0
  165. package/lib/http.translationmanage.1f9dce46.js +1 -0
  166. package/lib/http.translationmanage.a4640c9a.mjs +104 -0
  167. package/lib/http.useraffiliation.840741ed.mjs +90 -0
  168. package/lib/http.useraffiliation.af2013ad.js +1 -0
  169. package/lib/http.usermanage.3e5eff33.mjs +219 -0
  170. package/lib/http.usermanage.6dcbc7de.js +1 -0
  171. package/lib/http.webresource.5158b431.mjs +50 -0
  172. package/lib/http.webresource.7c01b9cd.js +1 -0
  173. package/lib/index.69ad4631.mjs +44291 -0
  174. package/lib/index.cca024bf.js +8 -0
  175. package/lib/layoutBlocks.1a9e3e05.mjs +204 -0
  176. package/lib/layoutBlocks.5e6be06f.js +1 -0
  177. package/lib/layouts.051a0bba.mjs +376 -0
  178. package/lib/layouts.a6a36612.js +2 -0
  179. package/lib/main.457f4326.js +1 -0
  180. package/lib/main.4fff412e.js +1 -0
  181. package/lib/{main.c569c0a5.mjs → main.70357352.mjs} +12 -10
  182. package/lib/main.77373aa4.mjs +441 -0
  183. package/lib/{main.fb4a8edf.mjs → main.7f44e3bf.mjs} +78 -143
  184. package/lib/main.8a2a590d.js +1 -0
  185. package/lib/main.ad1e8d4d.js +1 -0
  186. package/lib/{main.5a6c881a.mjs → main.b0e5e1b0.mjs} +9 -8
  187. package/lib/{main.7921130e.mjs → main.c1df94d8.mjs} +4 -4
  188. package/lib/main.c3726602.js +1 -0
  189. package/lib/manage.5bb4f719.js +1 -0
  190. package/lib/manage.a1df9b88.mjs +419 -0
  191. package/lib/messages.7b74736f.js +9 -0
  192. package/lib/{messages.5bcc42f9.mjs → messages.ad082386.mjs} +994 -1968
  193. package/lib/moveFile.0ce803e0.js +1 -0
  194. package/lib/moveFile.8310ea94.mjs +254 -0
  195. package/lib/page.build.685c1e15.mjs +3158 -0
  196. package/lib/page.build.846096e6.js +12 -0
  197. package/lib/personal.echarts.b22fba61.mjs +701 -0
  198. package/lib/personal.echarts.f77bfc9e.js +1 -0
  199. package/lib/result.19351665.mjs +526 -0
  200. package/lib/result.e59c0e40.js +1 -0
  201. package/lib/router.config.2501ec51.js +1 -0
  202. package/lib/router.config.98a73167.mjs +3172 -0
  203. package/lib/solution.58580123.js +1 -0
  204. package/lib/solution.890ff164.mjs +6942 -0
  205. package/lib/store.config.3cb11578.js +1 -0
  206. package/lib/store.config.fff8a5a1.mjs +542 -0
  207. package/lib/style.css +3 -3
  208. package/lib/system.account.014f3e0b.mjs +2097 -0
  209. package/lib/system.account.0d4f1fdc.js +216 -0
  210. package/lib/{system.config.00dd0a29.mjs → system.config.0899edb8.mjs} +7 -6
  211. package/lib/system.config.210f516c.js +1 -0
  212. package/lib/system.datasource.82492d27.js +1 -0
  213. package/lib/{system.datasource.eb8d16df.mjs → system.datasource.986768c9.mjs} +15 -64
  214. package/lib/{system.dict.787ff1ec.mjs → system.dict.ef24873d.mjs} +28 -107
  215. package/lib/system.dict.f5708400.js +1 -0
  216. package/lib/system.duplicatechecking.8e3a37c0.js +1 -0
  217. package/lib/system.duplicatechecking.dcf9f86b.mjs +742 -0
  218. package/lib/system.email.070ab2be.js +1 -0
  219. package/lib/system.email.252fd642.mjs +138 -0
  220. package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.0234d390.mjs} +224 -685
  221. package/lib/system.fieldsecurity.3ef07bf7.js +1 -0
  222. package/lib/system.file.17a7f2ed.js +1 -0
  223. package/lib/{system.file.eae6eac2.mjs → system.file.73eeb731.mjs} +8 -7
  224. package/lib/{system.log.9bf208c1.mjs → system.log.b86cf57f.mjs} +24 -93
  225. package/lib/system.log.fc60f5e6.js +1 -0
  226. package/lib/{system.machine.0130e762.mjs → system.machine.0114001b.mjs} +5 -25
  227. package/lib/system.machine.f1d95c86.js +1 -0
  228. package/lib/{system.notice.dba4c597.mjs → system.notice.25ea8dca.mjs} +292 -474
  229. package/lib/system.notice.96c770a6.js +1 -0
  230. package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.369f634c.mjs} +17 -24
  231. package/lib/system.noticereceived.dfe4ecc7.js +1 -0
  232. package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.2dc284b1.mjs} +11 -24
  233. package/lib/system.onlineuser.e2e39bdc.js +1 -0
  234. package/lib/system.org.79ee5bd6.js +1 -0
  235. package/lib/{system.org.6da23c73.mjs → system.org.c20fe6b2.mjs} +3 -3
  236. package/lib/system.permissions.90f73461.js +9 -0
  237. package/lib/{system.permissions.fdad3c36.mjs → system.permissions.c3d34921.mjs} +4 -3
  238. package/lib/{system.plugin.f8765f96.mjs → system.plugin.45a0f530.mjs} +23 -93
  239. package/lib/system.plugin.b34a3b47.js +1 -0
  240. package/lib/system.pos.0a3d2a37.js +1 -0
  241. package/lib/{system.pos.5645b45a.mjs → system.pos.7946a99c.mjs} +31 -62
  242. package/lib/system.promptmanagement.b5fa6b2d.js +1 -0
  243. package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.d7250932.mjs} +153 -288
  244. package/lib/system.role.03be0982.js +1 -0
  245. package/lib/{system.role.0c6c327d.mjs → system.role.75da7929.mjs} +8 -5
  246. package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.4a1376a6.mjs} +13 -39
  247. package/lib/system.sumberrules.bb228fce.js +1 -0
  248. package/lib/system.team.32183b63.js +1 -0
  249. package/lib/system.team.e6a9608e.mjs +450 -0
  250. package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.4a7e7339.mjs} +135 -82
  251. package/lib/system.teammembers.847d8ea7.js +1 -0
  252. package/lib/system.timers.28691ce4.js +38 -0
  253. package/lib/{system.timers.63d03fc9.mjs → system.timers.eb0b6f3e.mjs} +50 -174
  254. package/lib/system.translation.6237f071.js +1 -0
  255. package/lib/{system.translation.52452a24.mjs → system.translation.e34f0891.mjs} +5 -5
  256. package/lib/{system.user.8d97a219.mjs → system.user.fa2d2997.mjs} +17 -16
  257. package/lib/{system.user.49457fd3.js → system.user.fca3f2d6.js} +5 -5
  258. package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.518e341e.mjs} +4 -3
  259. package/lib/system.useraffiliation.7547b9c7.js +1 -0
  260. package/lib/system.webresource.12712b90.js +1 -0
  261. package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.469db736.mjs} +16 -58
  262. package/lib/{system.welcome.14785b50.mjs → system.welcome.191e98f5.mjs} +10 -3
  263. package/lib/system.welcome.f64e49f8.js +1 -0
  264. package/lib/tcheckboxs.090e75eb.mjs +52 -0
  265. package/lib/tcheckboxs.99361be3.js +1 -0
  266. package/lib/tcurrency.0ddac2f8.mjs +92 -0
  267. package/lib/tcurrency.62763c6d.js +1 -0
  268. package/lib/tdatepicker.8fe48b1b.mjs +52 -0
  269. package/lib/tdatepicker.b19e689d.js +1 -0
  270. package/lib/tdictSwitch.2e07dc8a.js +1 -0
  271. package/lib/tdictSwitch.43d882c7.mjs +60 -0
  272. package/lib/tfile.1bc381f9.js +1 -0
  273. package/lib/tfile.72925615.mjs +62 -0
  274. package/lib/tparticipants.77b876e2.js +1 -0
  275. package/lib/tparticipants.ca5b556c.mjs +56 -0
  276. package/lib/translation.mains.1ce7e110.js +1 -0
  277. package/lib/translation.mains.278e4ba6.mjs +383 -0
  278. package/lib/utils.datepicker.js.2076c2a2.mjs +61 -0
  279. package/lib/utils.datepicker.js.8576e2fc.js +1 -0
  280. package/lib/utils.echarts.js.461a74e7.js +54 -0
  281. package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
  282. package/lib/utils.mixins.js.750ca50e.js +1 -0
  283. package/lib/utils.mixins.js.be01e599.mjs +41 -0
  284. package/lib/utils.util.js.50d1ec9c.js +1 -0
  285. package/lib/utils.util.js.82cd8447.mjs +424 -0
  286. package/lib/view.build.b44fd7d7.js +1 -0
  287. package/lib/view.build.f2a9fcfb.mjs +2727 -0
  288. package/lib/viewList.5a25c4b6.mjs +346 -0
  289. package/lib/viewList.be5a5ec5.js +1 -0
  290. package/locale/en_US.js +38 -22
  291. package/locale/id_ID.js +22 -6
  292. package/locale/vi_VN.js +1929 -1913
  293. package/locale/zh_CN.js +44 -28
  294. package/package.json +106 -105
  295. package/lib/chartbi.114d32d7.js +0 -60
  296. package/lib/chartbi.eb4dd0af.mjs +0 -27639
  297. package/lib/main.083e0ba3.js +0 -1
  298. package/lib/main.4a858284.js +0 -1
  299. package/lib/main.64cb2027.js +0 -1
  300. package/lib/main.70a46cbc.js +0 -1
  301. package/lib/messages.364eb728.js +0 -9
  302. package/lib/system.account.95bd8508.js +0 -216
  303. package/lib/system.account.d6c7485b.mjs +0 -2552
  304. package/lib/system.config.63c0217d.js +0 -1
  305. package/lib/system.datasource.a2c0bad4.js +0 -1
  306. package/lib/system.dict.dfb4c376.js +0 -1
  307. package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
  308. package/lib/system.duplicatechecking.c4141ebd.js +0 -1
  309. package/lib/system.email.545cedff.mjs +0 -7432
  310. package/lib/system.email.ec0ac728.js +0 -41
  311. package/lib/system.fieldsecurity.eb217079.js +0 -1
  312. package/lib/system.file.1cb952a4.js +0 -1
  313. package/lib/system.log.348b3605.js +0 -1
  314. package/lib/system.machine.49fc6405.js +0 -1
  315. package/lib/system.notice.d7a3346d.js +0 -1
  316. package/lib/system.noticereceived.c0b24616.js +0 -1
  317. package/lib/system.onlineuser.b3c94b5b.js +0 -1
  318. package/lib/system.org.30063246.js +0 -1
  319. package/lib/system.permissions.1ff855c2.js +0 -9
  320. package/lib/system.plugin.2c7c8a5a.js +0 -1
  321. package/lib/system.pos.21294c28.js +0 -1
  322. package/lib/system.promptmanagement.7e8da777.js +0 -1
  323. package/lib/system.role.078fac85.js +0 -1
  324. package/lib/system.sumberrules.b0252f77.js +0 -1
  325. package/lib/system.team.296512d7.mjs +0 -1000
  326. package/lib/system.team.5d6169bc.js +0 -1
  327. package/lib/system.teammembers.313345f7.js +0 -1
  328. package/lib/system.timers.8246e6ba.js +0 -38
  329. package/lib/system.translation.fdff4956.js +0 -1
  330. package/lib/system.useraffiliation.0e9da6a8.js +0 -1
  331. package/lib/system.webresource.2a341e05.js +0 -1
  332. package/lib/system.welcome.c9eefa06.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";const l=require("./http.syscodegenerateconfigmanage.840f1136.js"),d=require("./http.main.2f8a6936.js"),m=require("./form.build.51bd261e.js"),c=require("./components.chartbi.e4680eaa.js");const h={name:"GdMiddleware",data(){return{isRelevance:!1,tableData:{},tableId:"",detail:{},fieldData:[],visible:!1}},computed:{componentItem(){const t=this.$importViewFiles();let e=`../views/main/${this.tableData.tablename}/editForm.vue`,i=t[e];return i?i.default:m.FormDesigner}},methods:{invokeFun({ref:t="editForm",functionName:e,data:i,time:o=50}){return new Promise((a,s)=>{this.$nextTick(()=>{setTimeout(()=>{const r=this.$refs[t];if(!r){a({code:404,message:"\u672A\u627E\u5230\u5BF9\u5E94\u5143\u7D20"});return}e&&r[e]?(r[e](i),a({code:200})):a({code:404,message:"\u672A\u627E\u5230\u65B9\u6CD5"})},o)})})},initAdd(t){let e=this;return this.tableId=t.tableId,this.isRelevance=t.isRelevance?t.isRelevance:!1,new Promise((i,o)=>{Promise.all([e.baseTableData(),e.getLoadData()]).then(a=>{e.visible=!0;let s={title:t.title?t.title:this.$i18nt("gd.https.quickActions","\u5FEB\u6377\u64CD\u4F5C")};e.$nextTick(()=>{setTimeout(()=>{e.openForm(s)},0),setTimeout(()=>{i({res:a,invokeFun:this.invokeFun})},20)})})})},init(t){this.tableId=t.tableId||t.tableid,this.detail=t.data[0],this.isRelevance=t.isRelevance?t.isRelevance:!1;let e=this;return new Promise((i,o)=>{t.data.length==0?(e.$nextTick(()=>{setTimeout(()=>{e.$message.error(e.$i18nt("gd.https.noData","\u672A\u67E5\u8BE2\u5230\u5BF9\u5E94\u6570\u636E"))},0)}),i()):Promise.all([e.baseTableData(),e.getLoadData()]).then(a=>{if(this.formList.length>0){e.visible=!0;let s={title:this.$i18nt("gd.https.quickActions","\u5FEB\u6377\u64CD\u4F5C"),id:e.detail.id};e.$nextTick(()=>{setTimeout(()=>{e.openForm(s)},0)})}else e.$nextTick(()=>{setTimeout(()=>{e.$message.error(e.$i18nt("gd.https.noDataForm","\u672A\u67E5\u8BE2\u5230\u5BF9\u5E94\u8868\u5355\u6570\u636E"))},10)});i()})})},openForm(t){if(this.$refs.editForm){const e=this.formList.filter(i=>i.type===1)[0];this.$refs.editForm.setFormRecord(e).then(i=>{this.$nextTick(()=>{setTimeout(()=>{this.$refs.editForm.open(t)},10)})})}else setTimeout(()=>{this.openForm(t)},200)},baseTableData(){return d.baseTableData({tableId:this.tableId}).then(t=>{if(t.success){if(t.data.formlist.length==0)return t.data;this.formList=t.data.formlist,this.tableData=t.data.table}return t})},getLoadData(){return l.onlineFormGetCodeGenerateList({codeGenId:this.tableId}).then(t=>(this.fieldData=t.data,t.data))},relationOk(t){this.$emit("ok",t)},handleSubmit(t){this.$emit("ok")},closed(){this.$emit("closed"),this.visible=!1}}};var u=function(){var e=this,i=e._self._c;return i("div",[e.visible?i(e.componentItem,{ref:"editForm",tag:"component",attrs:{fieldData:e.fieldData,isRelevance:e.isRelevance,tableData:e.tableData},on:{ok:e.handleSubmit,closed:e.closed,relationOk:e.relationOk}}):e._e()],1)},f=[],b=c.normalizeComponent(h,u,f,!1,null,"020bd72f",null,null);const n=b.exports;n.install=function(t){t.component(n.name,n)};exports.GDpackage=n;
@@ -0,0 +1,147 @@
1
+ import { o as r } from "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
2
+ import { d } from "./http.main.40657f51.mjs";
3
+ import { F as m } from "./form.build.b768d613.mjs";
4
+ import { n as c } from "./components.chartbi.b043dcdc.mjs";
5
+ const h = {
6
+ name: "GdMiddleware",
7
+ data() {
8
+ return {
9
+ isRelevance: !1,
10
+ tableData: {},
11
+ tableId: "",
12
+ detail: {},
13
+ fieldData: [],
14
+ visible: !1
15
+ };
16
+ },
17
+ computed: {
18
+ componentItem() {
19
+ const t = this.$importViewFiles();
20
+ let e = `../views/main/${this.tableData.tablename}/editForm.vue`, i = t[e];
21
+ return i ? i.default : m;
22
+ }
23
+ },
24
+ methods: {
25
+ invokeFun({ ref: t = "editForm", functionName: e, data: i, time: n = 50 }) {
26
+ return new Promise((a, s) => {
27
+ this.$nextTick(() => {
28
+ setTimeout(() => {
29
+ const o = this.$refs[t];
30
+ if (!o) {
31
+ a({ code: 404, message: "\u672A\u627E\u5230\u5BF9\u5E94\u5143\u7D20" });
32
+ return;
33
+ }
34
+ e && o[e] ? (o[e](i), a({ code: 200 })) : a({ code: 404, message: "\u672A\u627E\u5230\u65B9\u6CD5" });
35
+ }, n);
36
+ });
37
+ });
38
+ },
39
+ initAdd(t) {
40
+ let e = this;
41
+ return this.tableId = t.tableId, this.isRelevance = t.isRelevance ? t.isRelevance : !1, new Promise((i, n) => {
42
+ Promise.all([e.baseTableData(), e.getLoadData()]).then((a) => {
43
+ e.visible = !0;
44
+ let s = {
45
+ title: t.title ? t.title : this.$i18nt("gd.https.quickActions", "\u5FEB\u6377\u64CD\u4F5C")
46
+ };
47
+ e.$nextTick(() => {
48
+ setTimeout(() => {
49
+ e.openForm(s);
50
+ }, 0), setTimeout(() => {
51
+ i({ res: a, invokeFun: this.invokeFun });
52
+ }, 20);
53
+ });
54
+ });
55
+ });
56
+ },
57
+ init(t) {
58
+ this.tableId = t.tableId || t.tableid, this.detail = t.data[0], this.isRelevance = t.isRelevance ? t.isRelevance : !1;
59
+ let e = this;
60
+ return new Promise((i, n) => {
61
+ t.data.length == 0 ? (e.$nextTick(() => {
62
+ setTimeout(() => {
63
+ e.$message.error(e.$i18nt("gd.https.noData", "\u672A\u67E5\u8BE2\u5230\u5BF9\u5E94\u6570\u636E"));
64
+ }, 0);
65
+ }), i()) : Promise.all([e.baseTableData(), e.getLoadData()]).then((a) => {
66
+ if (this.formList.length > 0) {
67
+ e.visible = !0;
68
+ let s = {
69
+ title: this.$i18nt("gd.https.quickActions", "\u5FEB\u6377\u64CD\u4F5C"),
70
+ id: e.detail.id
71
+ };
72
+ e.$nextTick(() => {
73
+ setTimeout(() => {
74
+ e.openForm(s);
75
+ }, 0);
76
+ });
77
+ } else
78
+ e.$nextTick(() => {
79
+ setTimeout(() => {
80
+ e.$message.error(e.$i18nt("gd.https.noDataForm", "\u672A\u67E5\u8BE2\u5230\u5BF9\u5E94\u8868\u5355\u6570\u636E"));
81
+ }, 10);
82
+ });
83
+ i();
84
+ });
85
+ });
86
+ },
87
+ openForm(t) {
88
+ if (this.$refs.editForm) {
89
+ const e = this.formList.filter((i) => i.type === 1)[0];
90
+ this.$refs.editForm.setFormRecord(e).then((i) => {
91
+ this.$nextTick(() => {
92
+ setTimeout(() => {
93
+ this.$refs.editForm.open(t);
94
+ }, 10);
95
+ });
96
+ });
97
+ } else
98
+ setTimeout(() => {
99
+ this.openForm(t);
100
+ }, 200);
101
+ },
102
+ baseTableData() {
103
+ return d({ tableId: this.tableId }).then((t) => {
104
+ if (t.success) {
105
+ if (t.data.formlist.length == 0)
106
+ return t.data;
107
+ this.formList = t.data.formlist, this.tableData = t.data.table;
108
+ }
109
+ return t;
110
+ });
111
+ },
112
+ getLoadData() {
113
+ return r({
114
+ codeGenId: this.tableId
115
+ }).then((t) => (this.fieldData = t.data, t.data));
116
+ },
117
+ relationOk(t) {
118
+ this.$emit("ok", t);
119
+ },
120
+ handleSubmit(t) {
121
+ this.$emit("ok");
122
+ },
123
+ closed() {
124
+ this.$emit("closed"), this.visible = !1;
125
+ }
126
+ }
127
+ };
128
+ var f = function() {
129
+ var e = this, i = e._self._c;
130
+ return i("div", [e.visible ? i(e.componentItem, { ref: "editForm", tag: "component", attrs: { fieldData: e.fieldData, isRelevance: e.isRelevance, tableData: e.tableData }, on: { ok: e.handleSubmit, closed: e.closed, relationOk: e.relationOk } }) : e._e()], 1);
131
+ }, u = [], b = /* @__PURE__ */ c(
132
+ h,
133
+ f,
134
+ u,
135
+ !1,
136
+ null,
137
+ "020bd72f",
138
+ null,
139
+ null
140
+ );
141
+ const l = b.exports;
142
+ l.install = function(t) {
143
+ t.component(l.name, l);
144
+ };
145
+ export {
146
+ l as G
147
+ };
@@ -0,0 +1,127 @@
1
+ import { m as o, n as a } from "./components.chartbi.b043dcdc.mjs";
2
+ const i = {
3
+ name: "GdModalTitle",
4
+ props: {
5
+ showTitle: {
6
+ type: Boolean,
7
+ default: !0
8
+ },
9
+ showScale: {
10
+ type: Boolean,
11
+ default: !0
12
+ },
13
+ title: {
14
+ type: String,
15
+ default: ""
16
+ },
17
+ showClose: {
18
+ type: Boolean,
19
+ default: !1
20
+ },
21
+ showFullscreen: {
22
+ type: Boolean,
23
+ default: !0
24
+ },
25
+ fullscreen: {
26
+ type: Boolean,
27
+ default: !1
28
+ },
29
+ buttons: {
30
+ type: Array,
31
+ default: () => []
32
+ },
33
+ confirmLoading: {
34
+ type: Boolean,
35
+ default: !1
36
+ },
37
+ modalType: {
38
+ type: String,
39
+ default: "dialog"
40
+ },
41
+ closed: {
42
+ type: String,
43
+ default: "closed"
44
+ },
45
+ toggleFullscreen: {
46
+ type: String,
47
+ default: "toggleFullscreen"
48
+ },
49
+ emitFun: {
50
+ type: Boolean,
51
+ default: !1
52
+ }
53
+ },
54
+ data() {
55
+ return {};
56
+ },
57
+ computed: {
58
+ getButtons() {
59
+ const t = this.showFullscreen ? [
60
+ {
61
+ displayName: this.fullscreen ? "\u9000\u51FA\u5168\u5C4F" : "\u5168\u5C4F",
62
+ functionName: this.toggleFullscreen,
63
+ icon: this.fullscreen ? "gd-icon-quanpingsuoxiao" : "gd-icon-fangda",
64
+ show: !0,
65
+ transKey: this.fullscreen ? "gd.menu.outFullScreen" : "gd.menu.fullScreen",
66
+ btnType: this.fullscreen ? "danger" : "primary",
67
+ btnMode: "scale"
68
+ }
69
+ ] : [], e = this.showClose ? [
70
+ {
71
+ displayName: "\u5173\u95ED",
72
+ functionName: this.closed,
73
+ icon: "el-icon-close",
74
+ show: !0,
75
+ transKey: "gd.btn.close",
76
+ btnType: "info",
77
+ btnMode: "close"
78
+ }
79
+ ] : [];
80
+ return this.buttons.concat(t).concat(e);
81
+ },
82
+ mstyle() {
83
+ const t = this.getButtons.filter((l) => l.functionName === this.closed)[0], e = this.showClose ? 0 : 20;
84
+ return `right:${t ? e + 62 : e}px`;
85
+ },
86
+ style() {
87
+ return this.showClose ? "margin-right: 0;padding-right:0;" : this.modalType === "dialog" ? "margin-right: 26px;padding-right:0;" : "margin-right: 6px;padding-right:0;";
88
+ },
89
+ ...o(["btnMode"])
90
+ },
91
+ methods: {
92
+ doEvent(t) {
93
+ if (t.item.btnMode === "close" && this.emitFun) {
94
+ this.$emit("close");
95
+ return;
96
+ }
97
+ if (t.item.btnMode === "scale" && this.emitFun) {
98
+ this.toggle();
99
+ return;
100
+ }
101
+ this.$emit("changeEvent", t);
102
+ },
103
+ toggle() {
104
+ this.$emit("toggleFullscreen");
105
+ }
106
+ }
107
+ };
108
+ var r = function() {
109
+ var e = this, n = e._self._c;
110
+ return n("div", { staticClass: "gd-dialog-head", style: e.style }, [e.showTitle ? n("div", { staticClass: "dialog-head-title" }, [e._v(e._s(e.title))]) : e._e(), e._t("default"), n("div", { staticClass: "dialog-head-btn" }, [e._t("operator"), n("gd-btn-list", { attrs: { sysViewButtons: e.getButtons }, on: { functionName: e.doEvent } })], 2), e.confirmLoading ? n("div", { staticClass: "gd-dialog-meng", style: e.mstyle }) : e._e()], 2);
111
+ }, d = [], c = /* @__PURE__ */ a(
112
+ i,
113
+ r,
114
+ d,
115
+ !1,
116
+ null,
117
+ "49ab1e13",
118
+ null,
119
+ null
120
+ );
121
+ const s = c.exports;
122
+ s.install = function(t) {
123
+ t.component(s.name, s);
124
+ };
125
+ export {
126
+ s as G
127
+ };
@@ -0,0 +1 @@
1
+ "use strict";const l=require("./components.chartbi.e4680eaa.js");const a={name:"GdModalTitle",props:{showTitle:{type:Boolean,default:!0},showScale:{type:Boolean,default:!0},title:{type:String,default:""},showClose:{type:Boolean,default:!1},showFullscreen:{type:Boolean,default:!0},fullscreen:{type:Boolean,default:!1},buttons:{type:Array,default:()=>[]},confirmLoading:{type:Boolean,default:!1},modalType:{type:String,default:"dialog"},closed:{type:String,default:"closed"},toggleFullscreen:{type:String,default:"toggleFullscreen"},emitFun:{type:Boolean,default:!1}},data(){return{}},computed:{getButtons(){const t=this.showFullscreen?[{displayName:this.fullscreen?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F",functionName:this.toggleFullscreen,icon:this.fullscreen?"gd-icon-quanpingsuoxiao":"gd-icon-fangda",show:!0,transKey:this.fullscreen?"gd.menu.outFullScreen":"gd.menu.fullScreen",btnType:this.fullscreen?"danger":"primary",btnMode:"scale"}]:[],e=this.showClose?[{displayName:"\u5173\u95ED",functionName:this.closed,icon:"el-icon-close",show:!0,transKey:"gd.btn.close",btnType:"info",btnMode:"close"}]:[];return this.buttons.concat(t).concat(e)},mstyle(){const t=this.getButtons.filter(o=>o.functionName===this.closed)[0],e=this.showClose?0:20;return`right:${t?e+62:e}px`},style(){return this.showClose?"margin-right: 0;padding-right:0;":this.modalType==="dialog"?"margin-right: 26px;padding-right:0;":"margin-right: 6px;padding-right:0;"},...l.mapGetters(["btnMode"])},methods:{doEvent(t){if(t.item.btnMode==="close"&&this.emitFun){this.$emit("close");return}if(t.item.btnMode==="scale"&&this.emitFun){this.toggle();return}this.$emit("changeEvent",t)},toggle(){this.$emit("toggleFullscreen")}}};var i=function(){var e=this,n=e._self._c;return n("div",{staticClass:"gd-dialog-head",style:e.style},[e.showTitle?n("div",{staticClass:"dialog-head-title"},[e._v(e._s(e.title))]):e._e(),e._t("default"),n("div",{staticClass:"dialog-head-btn"},[e._t("operator"),n("gd-btn-list",{attrs:{sysViewButtons:e.getButtons},on:{functionName:e.doEvent}})],2),e.confirmLoading?n("div",{staticClass:"gd-dialog-meng",style:e.mstyle}):e._e()],2)},r=[],c=l.normalizeComponent(a,i,r,!1,null,"49ab1e13",null,null);const s=c.exports;s.install=function(t){t.component(s.name,s)};exports.GDpackage=s;
@@ -0,0 +1 @@
1
+ "use strict";const l=require("./components.chartbi.e4680eaa.js");const n={name:"GdMultiTab",data(){return{fullPathList:[],pages:[],activeKey:"",newTabIndex:0,contextMenuVisible:!1,left:0,top:0,selKey:""}},computed:{styled(){return{"--bjnavvar":"#f6f6f6","--color":this.primaryColor}},...l.mapGetters(["theme","primaryColor","multiTab"])},watch:{$route:function(e){this.activeKey=e.fullPath,this.fullPathList.indexOf(e.fullPath)<0&&(this.fullPathList.push(e.fullPath),this.pages.push(Object.assign({...e},{matched:[]})))},activeKey:function(e){this.$router.push({path:e})}},methods:{openContextMenu(e){this.contextMenuVisible=!1,e.srcElement.id&&this.$nextTick(()=>{this.contextMenuVisible=!0,this.$nextTick(()=>{const t=this.$refs.dropdown;this.left=e.clientX,this.top=e.clientY+10,this.selKey=e.srcElement.id.replace("tab-",""),t.doShow()})})},doClose(){this.$nextTick(()=>{const e=this.$refs.dropdown;e&&e.doClose()})},init(){this.$on("open",e=>{if(!e)throw new Error(`multi-tab: open tab ${e} err`);this.activeKey=e}).$on("close",e=>{if(!e){this.closeThat(this.activeKey);return}this.closeThat(e)}).$on("rename",({key:e,name:t})=>{try{const i=this.pages.find(s=>s.path===e);i.meta.customTitle=t,this.$forceUpdate()}catch{}}),this.pages.push(Object.assign({...this.$route},{matched:[]})),this.fullPathList.push(this.$route.fullPath),this.selectedLastPath()},tabClick(){this.doClose()},onEdit(e,t){this[t](e),this.doClose()},remove(e){this.pages=this.pages.filter(t=>t.fullPath!==e),this.fullPathList=this.fullPathList.filter(t=>t!==e),this.fullPathList.includes(this.activeKey)||this.selectedLastPath()},selectedLastPath(){this.activeKey=this.fullPathList[this.fullPathList.length-1]},closeThat(e){this.fullPathList.length>1?this.remove(e):this.$message.info(this.$i18nt("gd.menu.closeLabelTip","\u8FD9\u662F\u6700\u540E\u4E00\u4E2A\u6807\u7B7E\u4E86, \u65E0\u6CD5\u88AB\u5173\u95ED")),this.doClose()},closeLeft(e){const t=this.fullPathList.indexOf(e);t>0?this.fullPathList.forEach((i,s)=>{s<t&&this.remove(i)}):this.$message.info(this.$i18nt("gd.menu.noLabelLeft","\u5DE6\u4FA7\u6CA1\u6709\u6807\u7B7E")),this.doClose()},closeRight(e){const t=this.fullPathList.indexOf(e);t<this.fullPathList.length-1?this.fullPathList.forEach((i,s)=>{s>t&&this.remove(i)}):this.$message.info(this.$i18nt("gd.menu.noLabelRight","\u53F3\u4FA7\u6CA1\u6709\u6807\u7B7E")),this.doClose()},closeAll(e){const t=this.fullPathList.indexOf(e);this.fullPathList.forEach((i,s)=>{s!==t&&this.remove(i)}),this.doClose()},closeMenuClick(e,t){this[e](t)}},created(){this.init()}};var o=function(){var t=this,i=t._self._c;return i("div",{staticClass:"gd-multi",style:t.styled},[i("div",{staticClass:"gd-multi-wrapper",class:t.theme==="doubledark"?"gd-multi-wrapperdark":""},[i("el-tabs",{attrs:{closable:!(t.pages.length<=1)},on:{edit:t.onEdit,"tab-click":t.tabClick},nativeOn:{contextmenu:function(s){return s.preventDefault(),t.openContextMenu(s)}},model:{value:t.activeKey,callback:function(s){t.activeKey=s},expression:"activeKey"}},[t._l(t.pages,function(s){return[i("el-tab-pane",{key:s.fullPath,attrs:{label:t.$i18nt(`${s.meta.transKey}`,s.meta.title),name:s.fullPath,closable:!(t.pages.length<=1)}})]})],2),t.contextMenuVisible?i("div",{staticClass:"contextmenu",style:{left:t.left+"px",top:t.top+"px"}},[i("el-popover",{ref:"dropdown",attrs:{placement:"right",trigger:"hover"}},[i("div",{staticClass:"selectionl-popover"},[i("div",{staticClass:"popover-item",on:{click:function(s){return t.closeThat(t.selKey)}}},[t._v(t._s(t.$i18nt("gd.menu.closeThat","\u5173\u95ED\u5F53\u524D\u6807\u7B7E")))]),i("div",{staticClass:"popover-item",on:{click:function(s){return t.closeRight(t.selKey)}}},[t._v(t._s(t.$i18nt("gd.menu.closeRight","\u5173\u95ED\u53F3\u4FA7")))]),i("div",{staticClass:"popover-item",on:{click:function(s){return t.closeLeft(t.selKey)}}},[t._v(t._s(t.$i18nt("gd.menu.closeLeft","\u5173\u95ED\u5DE6\u4FA7")))]),i("div",{staticClass:"popover-item",on:{click:function(s){return t.closeAll(t.selKey)}}},[t._v(t._s(t.$i18nt("gd.menu.closeAll","\u5173\u95ED\u5168\u90E8")))])])])],1):t._e()],1)])},a=[],h=l.normalizeComponent(n,o,a,!1,null,"07451732",null,null);const c=h.exports;exports.MultiTab=c;
@@ -0,0 +1,140 @@
1
+ import { m as l, n } from "./components.chartbi.b043dcdc.mjs";
2
+ const o = {
3
+ name: "GdMultiTab",
4
+ data() {
5
+ return {
6
+ fullPathList: [],
7
+ pages: [],
8
+ activeKey: "",
9
+ newTabIndex: 0,
10
+ contextMenuVisible: !1,
11
+ left: 0,
12
+ top: 0,
13
+ selKey: ""
14
+ };
15
+ },
16
+ computed: {
17
+ styled() {
18
+ return {
19
+ "--bjnavvar": "#f6f6f6",
20
+ "--color": this.primaryColor
21
+ };
22
+ },
23
+ ...l(["theme", "primaryColor", "multiTab"])
24
+ },
25
+ watch: {
26
+ $route: function(e) {
27
+ this.activeKey = e.fullPath, this.fullPathList.indexOf(e.fullPath) < 0 && (this.fullPathList.push(e.fullPath), this.pages.push(Object.assign({ ...e }, { matched: [] })));
28
+ },
29
+ activeKey: function(e) {
30
+ this.$router.push({
31
+ path: e
32
+ });
33
+ }
34
+ },
35
+ methods: {
36
+ openContextMenu(e) {
37
+ this.contextMenuVisible = !1, e.srcElement.id && this.$nextTick(() => {
38
+ this.contextMenuVisible = !0, this.$nextTick(() => {
39
+ const t = this.$refs.dropdown;
40
+ this.left = e.clientX, this.top = e.clientY + 10, this.selKey = e.srcElement.id.replace("tab-", ""), t.doShow();
41
+ });
42
+ });
43
+ },
44
+ doClose() {
45
+ this.$nextTick(() => {
46
+ const e = this.$refs.dropdown;
47
+ e && e.doClose();
48
+ });
49
+ },
50
+ init() {
51
+ this.$on("open", (e) => {
52
+ if (!e)
53
+ throw new Error(`multi-tab: open tab ${e} err`);
54
+ this.activeKey = e;
55
+ }).$on("close", (e) => {
56
+ if (!e) {
57
+ this.closeThat(this.activeKey);
58
+ return;
59
+ }
60
+ this.closeThat(e);
61
+ }).$on("rename", ({ key: e, name: t }) => {
62
+ try {
63
+ const i = this.pages.find((s) => s.path === e);
64
+ i.meta.customTitle = t, this.$forceUpdate();
65
+ } catch {
66
+ }
67
+ }), this.pages.push(Object.assign({ ...this.$route }, { matched: [] })), this.fullPathList.push(this.$route.fullPath), this.selectedLastPath();
68
+ },
69
+ tabClick() {
70
+ this.doClose();
71
+ },
72
+ onEdit(e, t) {
73
+ this[t](e), this.doClose();
74
+ },
75
+ remove(e) {
76
+ this.pages = this.pages.filter((t) => t.fullPath !== e), this.fullPathList = this.fullPathList.filter((t) => t !== e), this.fullPathList.includes(this.activeKey) || this.selectedLastPath();
77
+ },
78
+ selectedLastPath() {
79
+ this.activeKey = this.fullPathList[this.fullPathList.length - 1];
80
+ },
81
+ closeThat(e) {
82
+ this.fullPathList.length > 1 ? this.remove(e) : this.$message.info(this.$i18nt("gd.menu.closeLabelTip", "\u8FD9\u662F\u6700\u540E\u4E00\u4E2A\u6807\u7B7E\u4E86, \u65E0\u6CD5\u88AB\u5173\u95ED")), this.doClose();
83
+ },
84
+ closeLeft(e) {
85
+ const t = this.fullPathList.indexOf(e);
86
+ t > 0 ? this.fullPathList.forEach((i, s) => {
87
+ s < t && this.remove(i);
88
+ }) : this.$message.info(this.$i18nt("gd.menu.noLabelLeft", "\u5DE6\u4FA7\u6CA1\u6709\u6807\u7B7E")), this.doClose();
89
+ },
90
+ closeRight(e) {
91
+ const t = this.fullPathList.indexOf(e);
92
+ t < this.fullPathList.length - 1 ? this.fullPathList.forEach((i, s) => {
93
+ s > t && this.remove(i);
94
+ }) : this.$message.info(this.$i18nt("gd.menu.noLabelRight", "\u53F3\u4FA7\u6CA1\u6709\u6807\u7B7E")), this.doClose();
95
+ },
96
+ closeAll(e) {
97
+ const t = this.fullPathList.indexOf(e);
98
+ this.fullPathList.forEach((i, s) => {
99
+ s !== t && this.remove(i);
100
+ }), this.doClose();
101
+ },
102
+ closeMenuClick(e, t) {
103
+ this[e](t);
104
+ }
105
+ },
106
+ created() {
107
+ this.init();
108
+ }
109
+ };
110
+ var a = function() {
111
+ var t = this, i = t._self._c;
112
+ return i("div", { staticClass: "gd-multi", style: t.styled }, [i("div", { staticClass: "gd-multi-wrapper", class: t.theme === "doubledark" ? "gd-multi-wrapperdark" : "" }, [i("el-tabs", { attrs: { closable: !(t.pages.length <= 1) }, on: { edit: t.onEdit, "tab-click": t.tabClick }, nativeOn: { contextmenu: function(s) {
113
+ return s.preventDefault(), t.openContextMenu(s);
114
+ } }, model: { value: t.activeKey, callback: function(s) {
115
+ t.activeKey = s;
116
+ }, expression: "activeKey" } }, [t._l(t.pages, function(s) {
117
+ return [i("el-tab-pane", { key: s.fullPath, attrs: { label: t.$i18nt(`${s.meta.transKey}`, s.meta.title), name: s.fullPath, closable: !(t.pages.length <= 1) } })];
118
+ })], 2), t.contextMenuVisible ? i("div", { staticClass: "contextmenu", style: { left: t.left + "px", top: t.top + "px" } }, [i("el-popover", { ref: "dropdown", attrs: { placement: "right", trigger: "hover" } }, [i("div", { staticClass: "selectionl-popover" }, [i("div", { staticClass: "popover-item", on: { click: function(s) {
119
+ return t.closeThat(t.selKey);
120
+ } } }, [t._v(t._s(t.$i18nt("gd.menu.closeThat", "\u5173\u95ED\u5F53\u524D\u6807\u7B7E")))]), i("div", { staticClass: "popover-item", on: { click: function(s) {
121
+ return t.closeRight(t.selKey);
122
+ } } }, [t._v(t._s(t.$i18nt("gd.menu.closeRight", "\u5173\u95ED\u53F3\u4FA7")))]), i("div", { staticClass: "popover-item", on: { click: function(s) {
123
+ return t.closeLeft(t.selKey);
124
+ } } }, [t._v(t._s(t.$i18nt("gd.menu.closeLeft", "\u5173\u95ED\u5DE6\u4FA7")))]), i("div", { staticClass: "popover-item", on: { click: function(s) {
125
+ return t.closeAll(t.selKey);
126
+ } } }, [t._v(t._s(t.$i18nt("gd.menu.closeAll", "\u5173\u95ED\u5168\u90E8")))])])])], 1) : t._e()], 1)]);
127
+ }, h = [], c = /* @__PURE__ */ n(
128
+ o,
129
+ a,
130
+ h,
131
+ !1,
132
+ null,
133
+ "07451732",
134
+ null,
135
+ null
136
+ );
137
+ const u = c.exports;
138
+ export {
139
+ u as M
140
+ };
@@ -0,0 +1,170 @@
1
+ import { n as a } from "./components.chartbi.b043dcdc.mjs";
2
+ const n = {
3
+ name: "GdSelectTree",
4
+ components: {},
5
+ model: {
6
+ prop: "inputValue",
7
+ event: "myInputEvent"
8
+ },
9
+ props: {
10
+ defaultValue: {
11
+ type: [Number, String]
12
+ },
13
+ filterable: {
14
+ type: Boolean,
15
+ default: !1
16
+ },
17
+ remote: {
18
+ type: Boolean,
19
+ default: !1
20
+ },
21
+ disabled: {
22
+ type: Boolean,
23
+ default: !1
24
+ },
25
+ remoteMethod: {
26
+ type: Function
27
+ },
28
+ treeOptions: {
29
+ type: Array,
30
+ default: () => []
31
+ },
32
+ placeholder: {
33
+ type: String,
34
+ default: "\u8BF7\u9009\u62E9"
35
+ },
36
+ defaultProps: {
37
+ type: Object,
38
+ default: () => ({
39
+ children: "children",
40
+ label: "title",
41
+ value: "value"
42
+ })
43
+ }
44
+ },
45
+ watch: {
46
+ treeOptions: {
47
+ handler(e) {
48
+ this.loading = !1, this.dataOfTree = JSON.parse(JSON.stringify(e)), this.dataSource = JSON.parse(JSON.stringify(e));
49
+ },
50
+ deep: !0,
51
+ immediate: !1
52
+ },
53
+ defaultValue: {
54
+ handler(e) {
55
+ this.isFilterWithValue || (this.selectedNode = {}, this.currentLabel = void 0, this.currentValue = e, this.$nextTick(() => {
56
+ setTimeout(() => {
57
+ this.isFilterWithValue = !0, this.dataOfTree && this.$refs.treeRef && this.$refs.treeRef.filter(e), !e && this.$refs.treeRef && e !== 0 && this.$refs.treeRef.setCurrentKey(null);
58
+ }, 100);
59
+ }));
60
+ },
61
+ deep: !0,
62
+ immediate: !0
63
+ }
64
+ },
65
+ computed: {
66
+ filterableFor() {
67
+ return this.remote ? !1 : this.filterable;
68
+ },
69
+ remoteFor() {
70
+ return this.filterable ? !1 : this.remote;
71
+ }
72
+ },
73
+ data() {
74
+ return {
75
+ selectedNode: {},
76
+ loading: !1,
77
+ currentValue: void 0,
78
+ currentLabel: void 0,
79
+ dataOfTree: [],
80
+ isFilterWithValue: !1
81
+ };
82
+ },
83
+ created() {
84
+ this.dataOfTree = JSON.parse(JSON.stringify(this.treeOptions)), this.dataSource = JSON.parse(JSON.stringify(this.treeOptions));
85
+ },
86
+ mounted() {
87
+ },
88
+ methods: {
89
+ selectRemoteMethod(e) {
90
+ this.isFilterWithValue = !1, this.filterableFor ? this.$refs.treeRef.filter(e) : this.remoteFor && (this.loading = !0, this.remoteMethod(e));
91
+ },
92
+ handleClear() {
93
+ this.selectedNode = {}, this.currentLabel = void 0, this.currentValue = void 0;
94
+ const e = this.buildEmptyResult();
95
+ this.$emit("myInputEvent", e.data.value), this.$emit("onNodeSelectEvent", e);
96
+ },
97
+ handleVisibleChange(e) {
98
+ e || (this.dataOfTree.splice(0), this.dataOfTree.splice(0, 0, ...this.dataSource), this.$refs.treeRef.filter(""));
99
+ },
100
+ filterNode(e, t) {
101
+ if (!e && e !== 0)
102
+ return t;
103
+ if (this.isFilterWithValue) {
104
+ if (t[this.defaultProps.value] === e) {
105
+ this.selectedNode = t, this.currentLabel = t[this.defaultProps.label], this.$refs.treeRef.setCurrentKey(this.selectedNode[this.defaultProps.value]);
106
+ const l = this.buildResultByNodeData(t);
107
+ this.$emit("myInputEvent", l.data.value);
108
+ }
109
+ } else
110
+ return t[this.defaultProps.label].indexOf(e) !== -1;
111
+ return t;
112
+ },
113
+ closeSelect() {
114
+ this.$refs.selectRef.blur();
115
+ },
116
+ handleNodeClicked(e, t, l) {
117
+ if (e.disabled !== void 0 && e.disabled) {
118
+ this.$refs.treeRef.setCurrentKey(null);
119
+ return;
120
+ }
121
+ this.selectedNode = e, this.currentLabel = e[this.defaultProps.label], this.currentValue = e[this.defaultProps.value];
122
+ const r = this.buildResultByNodeData(e);
123
+ this.$emit("myInputEvent", r.data.value), this.$emit("onNodeSelectEvent", r), this.closeSelect();
124
+ },
125
+ buildResultByNodeData(e) {
126
+ return {
127
+ node: e[this.defaultProps.value],
128
+ data: {
129
+ label: e[this.defaultProps.label],
130
+ value: e[this.defaultProps.value]
131
+ },
132
+ meta: e
133
+ };
134
+ },
135
+ buildEmptyResult() {
136
+ return {
137
+ node: void 0,
138
+ data: {
139
+ label: void 0,
140
+ value: void 0
141
+ },
142
+ meta: void 0
143
+ };
144
+ }
145
+ }
146
+ };
147
+ var d = function() {
148
+ var t = this, l = t._self._c;
149
+ return l("el-select", { ref: "selectRef", staticStyle: { width: "100%" }, attrs: { disabled: t.disabled, clearable: "", filterable: t.filterableFor || t.remoteFor, remote: t.filterableFor || t.remoteFor, "remote-method": t.selectRemoteMethod, placeholder: t.placeholder }, on: { "visible-change": t.handleVisibleChange, clear: t.handleClear }, model: { value: t.currentLabel, callback: function(r) {
150
+ t.currentLabel = r;
151
+ }, expression: "currentLabel" } }, [l("el-option", { directives: [{ name: "loading", rawName: "v-loading", value: t.loading, expression: "loading" }], staticStyle: { height: "100%", padding: "0" }, attrs: { value: "", "element-loading-text": t.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."), "element-loading-spinner": "el-icon-loading" } }, [l("el-tree", { ref: "treeRef", attrs: { data: t.dataOfTree, "node-key": t.defaultProps.value, props: t.defaultProps, "highlight-current": "", "default-expand-all": "", "current-node-key": t.selectedNode.value, "expand-on-click-node": !1, "filter-node-method": t.filterNode }, on: { "node-click": t.handleNodeClicked }, scopedSlots: t._u([{ key: "default", fn: function({ node: r, data: i }) {
152
+ return l("span", {}, [l("span", { class: i.disabled ? "tree-is-disabled" : "", attrs: { title: i[t.defaultProps.label] } }, [t._v(t._s(i[t.defaultProps.label]))])]);
153
+ } }]) })], 1)], 1);
154
+ }, o = [], u = /* @__PURE__ */ a(
155
+ n,
156
+ d,
157
+ o,
158
+ !1,
159
+ null,
160
+ "c66125a1",
161
+ null,
162
+ null
163
+ );
164
+ const s = u.exports;
165
+ s.install = function(e) {
166
+ e.component(s.name, s);
167
+ };
168
+ export {
169
+ s as G
170
+ };
@@ -0,0 +1 @@
1
+ "use strict";const a=require("./components.chartbi.e4680eaa.js");const n={name:"GdSelectTree",components:{},model:{prop:"inputValue",event:"myInputEvent"},props:{defaultValue:{type:[Number,String]},filterable:{type:Boolean,default:!1},remote:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},remoteMethod:{type:Function},treeOptions:{type:Array,default:()=>[]},placeholder:{type:String,default:"\u8BF7\u9009\u62E9"},defaultProps:{type:Object,default:()=>({children:"children",label:"title",value:"value"})}},watch:{treeOptions:{handler(e){this.loading=!1,this.dataOfTree=JSON.parse(JSON.stringify(e)),this.dataSource=JSON.parse(JSON.stringify(e))},deep:!0,immediate:!1},defaultValue:{handler(e){this.isFilterWithValue||(this.selectedNode={},this.currentLabel=void 0,this.currentValue=e,this.$nextTick(()=>{setTimeout(()=>{this.isFilterWithValue=!0,this.dataOfTree&&this.$refs.treeRef&&this.$refs.treeRef.filter(e),!e&&this.$refs.treeRef&&e!==0&&this.$refs.treeRef.setCurrentKey(null)},100)}))},deep:!0,immediate:!0}},computed:{filterableFor(){return this.remote?!1:this.filterable},remoteFor(){return this.filterable?!1:this.remote}},data(){return{selectedNode:{},loading:!1,currentValue:void 0,currentLabel:void 0,dataOfTree:[],isFilterWithValue:!1}},created(){this.dataOfTree=JSON.parse(JSON.stringify(this.treeOptions)),this.dataSource=JSON.parse(JSON.stringify(this.treeOptions))},mounted(){},methods:{selectRemoteMethod(e){this.isFilterWithValue=!1,this.filterableFor?this.$refs.treeRef.filter(e):this.remoteFor&&(this.loading=!0,this.remoteMethod(e))},handleClear(){this.selectedNode={},this.currentLabel=void 0,this.currentValue=void 0;const e=this.buildEmptyResult();this.$emit("myInputEvent",e.data.value),this.$emit("onNodeSelectEvent",e)},handleVisibleChange(e){e||(this.dataOfTree.splice(0),this.dataOfTree.splice(0,0,...this.dataSource),this.$refs.treeRef.filter(""))},filterNode(e,t){if(!e&&e!==0)return t;if(this.isFilterWithValue){if(t[this.defaultProps.value]===e){this.selectedNode=t,this.currentLabel=t[this.defaultProps.label],this.$refs.treeRef.setCurrentKey(this.selectedNode[this.defaultProps.value]);const l=this.buildResultByNodeData(t);this.$emit("myInputEvent",l.data.value)}}else return t[this.defaultProps.label].indexOf(e)!==-1;return t},closeSelect(){this.$refs.selectRef.blur()},handleNodeClicked(e,t,l){if(e.disabled!==void 0&&e.disabled){this.$refs.treeRef.setCurrentKey(null);return}this.selectedNode=e,this.currentLabel=e[this.defaultProps.label],this.currentValue=e[this.defaultProps.value];const r=this.buildResultByNodeData(e);this.$emit("myInputEvent",r.data.value),this.$emit("onNodeSelectEvent",r),this.closeSelect()},buildResultByNodeData(e){return{node:e[this.defaultProps.value],data:{label:e[this.defaultProps.label],value:e[this.defaultProps.value]},meta:e}},buildEmptyResult(){return{node:void 0,data:{label:void 0,value:void 0},meta:void 0}}}};var d=function(){var t=this,l=t._self._c;return l("el-select",{ref:"selectRef",staticStyle:{width:"100%"},attrs:{disabled:t.disabled,clearable:"",filterable:t.filterableFor||t.remoteFor,remote:t.filterableFor||t.remoteFor,"remote-method":t.selectRemoteMethod,placeholder:t.placeholder},on:{"visible-change":t.handleVisibleChange,clear:t.handleClear},model:{value:t.currentLabel,callback:function(r){t.currentLabel=r},expression:"currentLabel"}},[l("el-option",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{height:"100%",padding:"0"},attrs:{value:"","element-loading-text":t.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D..."),"element-loading-spinner":"el-icon-loading"}},[l("el-tree",{ref:"treeRef",attrs:{data:t.dataOfTree,"node-key":t.defaultProps.value,props:t.defaultProps,"highlight-current":"","default-expand-all":"","current-node-key":t.selectedNode.value,"expand-on-click-node":!1,"filter-node-method":t.filterNode},on:{"node-click":t.handleNodeClicked},scopedSlots:t._u([{key:"default",fn:function({node:r,data:s}){return l("span",{},[l("span",{class:s.disabled?"tree-is-disabled":"",attrs:{title:s[t.defaultProps.label]}},[t._v(t._s(s[t.defaultProps.label]))])])}}])})],1)],1)},o=[],u=a.normalizeComponent(n,d,o,!1,null,"c66125a1",null,null);const i=u.exports;i.install=function(e){e.component(i.name,i)};exports.GDpackage=i;
@@ -0,0 +1 @@
1
+ "use strict";const m=require("./components.chartbi.e4680eaa.js"),u=[{key:"gd.theme.twilight",color:"#F5222D"},{key:"gd.theme.volcano",color:"#FA541C"},{key:"gd.theme.nightfall",color:"#FAAD14"},{key:"gd.theme.mingQing",color:"#13C2C2"},{key:"gd.theme.auroragreen",color:"#52C41A"},{key:"gd.theme.dawnBlue",color:"#1890FF"},{key:"gd.theme.soypurple",color:"#722ED1"}],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";const f={name:"GdSettingDrawer",data(){return{visible:!1,colorList:u,chalk:"",languages:"",btnModes:"",tableSizes:"mini",labelPositions:"right",formModes:"dialog",tablePageSizes:50,pageSizeOptions:[10,20,30,40,50,100,200,500],primaryColors:this.primaryColor,multiTabed:!1,navMenuThemes:"vertical",menusWidthed:"default",menusWid:372}},watch:{primaryColor(){this.primaryColors=this.primaryColor}},computed:{getMenusWidthed(){let i=372;return this.menusWidthed==="secondary"?i=472:this.menusWidthed==="big"&&(i=672),i},languageMessages(){return this.$i18n.messages},languagesList(){let i=[];for(let t in this.languageMessages)i.push(t);return[{code:"zh_CN",transKey:"gd.settings.chineseLanguage"},{code:"en_US",transKey:"gd.settings.englishLanguage"},{code:"vi_VN",transKey:"gd.settings.vietnamLanguage"},{code:"id_ID",transKey:"gd.settings.indonesiaLanguage"}].filter(t=>i.includes(t.code))},style(){return{"--color":this.primaryColor}},predefine(){let i=[];return u.forEach(e=>{i.push(e.color)}),i},...m.mapGetters(["primaryColor","language","tablePageSize","tableSize","btnMode","labelPosition","formMode","theme","multiTab","navMenuTheme","menusWidth"])},methods:{changeMenusWidth(i){this.$store.dispatch("MenusWidth",`${i}&${this.menusWid}`)},changeMenusWid(i){this.$store.dispatch("MenusWidth",`${this.menusWidthed}&${i}`)},changeMenuStyle(i){this.$store.dispatch("NavMenuTheme",i)},onMultiTab(i){this.$store.dispatch("ToggleMultiTab",i)},handleMenuTheme(i){this.$store.dispatch("ToggleTheme",i)},changeLanguage(i){this.$i18n.locale=i,this.$store.dispatch("Language",i)},changeBtnMode(i){this.$store.dispatch("BtnMode",i)},changePageSize(i){this.$store.dispatch("TablePageSize",i)},changeSize(i){this.$store.dispatch("TableSize",i)},changeLabelPosition(i){this.$store.dispatch("LabelPosition",i)},changeFormMode(i){this.$store.dispatch("FormMode",i)},toggle(){this.visible=!this.visible},async changeColor(i){const e=this,t=this.primaryColor;if(typeof i!="string")return;const s=this.$message({message:e.$i18nt("gd.theme.switchingTopics"),duration:0,iconClass:"el-icon-loading"}),a=this.getThemeCluster(i.replace("#","")),r=this.getThemeCluster(t.replace("#","")),l=(d,c)=>()=>{const p=this.getThemeCluster(this.primaryColor.replace("#","")),A=this.updateStyle(this[d],p,a);let g=document.getElementById(c);g||(g=document.createElement("style"),g.setAttribute("id",c),document.head.appendChild(g)),g.innerText=A};this.chalk||await Promise.resolve().then(()=>require("./element-theme-chalk.dee12271.js")).then(d=>{this.chalk=d.default}),l("chalk","chalk-style")(),[].slice.call(document.querySelectorAll("style")).filter(d=>{const c=d.innerText;return new RegExp(t,"i").test(c)&&!/Chalk Variables/.test(c)}).forEach(d=>{const{innerText:c}=d;typeof c=="string"&&(d.innerText=this.updateStyle(c,r,a))}),this.$store.dispatch("ToggleColor",i),window.document.body.style=`--color:${i}`,this.$nextTick(()=>{setTimeout(()=>{s.close()},200)})},updateStyle(i,e,t){let s=i;return e.forEach((a,r)=>{s=s.replace(new RegExp(a,"ig"),t[r])}),s},getThemeCluster(i){const e=(a,r)=>{let l=parseInt(a.slice(0,2),16),n=parseInt(a.slice(2,4),16),o=parseInt(a.slice(4,6),16);return r===0?[l,n,o].join(","):(l+=Math.round(r*(255-l)),n+=Math.round(r*(255-n)),o+=Math.round(r*(255-o)),l=l.toString(16),n=n.toString(16),o=o.toString(16),`#${l}${n}${o}`)},t=(a,r)=>{let l=parseInt(a.slice(0,2),16),n=parseInt(a.slice(2,4),16),o=parseInt(a.slice(4,6),16);return l=Math.round((1-r)*l),n=Math.round((1-r)*n),o=Math.round((1-r)*o),l=l.toString(16),n=n.toString(16),o=o.toString(16),`#${l}${n}${o}`},s=[i];for(let a=0;a<=9;a++)s.push(e(i,Number((a/10).toFixed(2))));return s.push(t(i,.1)),s}},created(){this.languages=this.language,this.tableSizes=this.tableSize,this.tablePageSizes=this.tablePageSize,this.btnModes=this.btnMode,this.formModes=this.formMode,this.multiTabed=this.multiTab,this.labelPositions=this.labelPosition,this.navMenuThemes=this.navMenuTheme;let i=this.menusWidth?this.menusWidth.split("&"):["default"];this.menusWidthed=i[0],this.menusWid=i[1]?Number(i[1]):this.getMenusWidthed,this.primaryColor&&(this.primaryColors=this.primaryColor,this.changeColor(this.primaryColor))}};var y=function(){var e=this,t=e._self._c;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){e.visible=s}}},[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){return e.handleMenuTheme("light")}}},[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){return e.handleMenuTheme("dark")}}},[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){return e.handleMenuTheme("doubledark")}}},[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){e.primaryColors=s},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){e.navMenuThemes=s},expression:"navMenuThemes"}},[t("el-option",{attrs:{value:"vertical",label:e.$i18nt("gd.settings.verticalInsertion","\u5782\u76F4\u5212\u5165")}}),t("el-option",{attrs:{value:"fold",label:e.$i18nt("gd.settings.horizontalFold","\u6C34\u5E73\u6298\u53E0")}})],1)],1)]),t("el-divider",{staticClass:"setting-divider"})]:e._e(),e.navMenuThemes==="vertical"?[t("div",{staticClass:"setting-item"},[t("div",{staticClass:"setting-item-title"},[e._v(e._s(e.$i18nt("gd.settings.menusWidth","\u83DC\u5355\u533A\u57DF\u5BBD\u5EA6")))]),t("div",{staticClass:"setting-item-dao"},[t("el-select",{staticStyle:{width:"130px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),size:"mini",teleported:!1},on:{change:e.changeMenusWidth},model:{value:e.menusWidthed,callback:function(s){e.menusWidthed=s},expression:"menusWidthed"}},[t("el-option",{attrs:{value:"default",label:e.$i18nt("gd.settings.default","\u9ED8\u8BA4")}}),t("el-option",{attrs:{value:"secondary",label:e.$i18nt("gd.settings.secondary","\u4E2D\u7B49")}}),t("el-option",{attrs:{value:"big",label:e.$i18nt("gd.form.tabLarge","\u5927")}}),t("el-option",{attrs:{value:"custom",label:e.$i18nt("gd.settings.custom","\u81EA\u5B9A\u4E49")}})],1)],1)]),e.menusWidthed==="custom"?t("div",{staticClass:"setting-item",staticStyle:{"margin-top":"12px"}},[t("div",{staticClass:"setting-item-title"}),t("div",{staticClass:"setting-item-dao"},[t("el-input-number",{attrs:{slot:"actions",placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),"controls-position":"right",min:300,max:3e4,step:20,size:"small"},on:{change:e.changeMenusWid},slot:"actions",model:{value:e.menusWid,callback:function(s){e.menusWid=s},expression:"menusWid"}})],1)]):e._e(),t("el-divider",{staticClass:"setting-divider"})]:e._e(),t("div",{staticClass:"setting-item"},[t("div",{staticClass:"setting-item-title"},[e._v(e._s(e.$i18nt("gd.settings.language","\u8BED\u8A00")))]),t("div",{staticClass:"setting-item-dao"},[t("el-select",{staticStyle:{width:"130px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),size:"mini",teleported:!1},on:{change:e.changeLanguage},model:{value:e.languages,callback:function(s){e.languages=s},expression:"languages"}},[e._l(e.languagesList,function(s){return[t("el-option",{attrs:{value:s.code,label:e.$i18nt(s.transKey)}})]})],2)],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.btnModes","\u6309\u94AE\u663E\u793A")))]),t("div",{staticClass:"setting-item-dao"},[t("el-select",{staticStyle:{width:"130px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),size:"mini",teleported:!1},on:{change:e.changeBtnMode},model:{value:e.btnModes,callback:function(s){e.btnModes=s},expression:"btnModes"}},[t("el-option",{attrs:{value:"btn",label:e.$i18nt("gd.settings.button","\u6309\u94AE")}}),t("el-option",{attrs:{value:"text",label:e.$i18nt("gd.settings.text","\u6587\u672C")}})],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.tableSize","\u8868\u683C\u5927\u5C0F")))]),t("div",{staticClass:"setting-item-dao"},[t("el-select",{staticStyle:{width:"130px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),size:"mini"},on:{change:e.changeSize},model:{value:e.tableSizes,callback:function(s){e.tableSizes=s},expression:"tableSizes"}},[t("el-option",{attrs:{value:"medium",label:e.$i18nt("gd.settings.default","\u9ED8\u8BA4")}}),t("el-option",{attrs:{value:"small",label:e.$i18nt("gd.settings.secondary","\u4E2D\u7B49")}}),t("el-option",{attrs:{value:"mini",label:e.$i18nt("gd.settings.compact","\u7D27\u51D1")}})],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.tablePageSize","\u8868\u683C\u9875\u5BB9\u91CF")))]),t("div",{staticClass:"setting-item-dao"},[t("el-select",{staticStyle:{width:"130px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),size:"mini"},on:{change:e.changePageSize},model:{value:e.tablePageSizes,callback:function(s){e.tablePageSizes=s},expression:"tablePageSizes"}},e._l(e.pageSizeOptions,function(s){return t("el-option",{key:s,attrs:{value:s,label:`${s}${e.$i18nt("el.pagination.pagesize")}`}})}),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.formMode","\u8868\u5355\u6253\u5F00\u6A21\u5F0F")))]),t("div",{staticClass:"setting-item-dao"},[t("el-select",{staticStyle:{width:"130px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),size:"mini"},on:{change:e.changeFormMode},model:{value:e.formModes,callback:function(s){e.formModes=s},expression:"formModes"}},[t("el-option",{attrs:{value:"dialog",label:e.$i18nt("gd.settings.dialog","\u4E2D\u95F4\u5F39\u7A97")}}),t("el-option",{attrs:{value:"drawer",label:e.$i18nt("gd.settings.drawer","\u53F3\u4FA7\u62BD\u5C49")}})],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.labelPosition","\u8868\u5355\u6807\u7B7E\u4F4D\u7F6E")))]),t("div",{staticClass:"setting-item-dao"},[t("el-select",{staticStyle:{width:"130px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),size:"mini"},on:{change:e.changeLabelPosition},model:{value:e.labelPositions,callback:function(s){e.labelPositions=s},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){e.multiTabed=s},expression:"multiTabed"}})],1)])],2)],1)},M=[],S=m.normalizeComponent(f,y,M,!1,null,"4902cf87",null,null);const h=S.exports;h.install=function(i){i.component(h.name,h)};exports.GDpackage=h;exports.colorList=u;