gds-plus-design-vue 1.2.6 → 1.2.7

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 (368) hide show
  1. package/lib/approvalModel.a26e8ff6.mjs +340 -0
  2. package/lib/approvalModel.cfd81971.js +1 -0
  3. package/lib/btnFunctionName.9aabfed0.js +1 -0
  4. package/lib/btnFunctionName.d08627cb.mjs +254 -0
  5. package/lib/btnRelation.8e608261.mjs +156 -0
  6. package/lib/btnRelation.cb3dc022.js +1 -0
  7. package/lib/businessRules.754cc398.mjs +539 -0
  8. package/lib/businessRules.f41f7035.js +1 -0
  9. package/lib/buttonRule.4483314f.mjs +396 -0
  10. package/lib/buttonRule.645de1d3.js +1 -0
  11. package/lib/chartDisplayRules.1f4d1f29.mjs +288 -0
  12. package/lib/chartDisplayRules.fedfefe8.js +1 -0
  13. package/lib/components.chartbi.470b96af.mjs +1798 -0
  14. package/lib/components.chartbi.e9459775.js +8 -0
  15. package/lib/components.coloreditor.affa0400.mjs +1505 -0
  16. package/lib/components.coloreditor.dbec8da6.js +6 -0
  17. package/lib/components.dataassign.39281072.mjs +147 -0
  18. package/lib/components.dataassign.b6a1bffb.js +1 -0
  19. package/lib/components.echarts.95ffc3b3.mjs +811 -0
  20. package/lib/components.echarts.d09e9850.js +4 -0
  21. package/lib/components.exception.11315db5.js +1 -0
  22. package/lib/components.exception.facf9df9.mjs +61 -0
  23. package/lib/components.form.56ea8f98.js +41 -0
  24. package/lib/components.form.a7b3ea37.mjs +7813 -0
  25. package/lib/components.globalheader.0a7ce959.js +1 -0
  26. package/lib/components.globalheader.4a5f7225.mjs +54 -0
  27. package/lib/components.iconselector.0c03cfc7.js +1 -0
  28. package/lib/components.iconselector.251c29b9.mjs +1169 -0
  29. package/lib/components.imgpreview.5546e541.mjs +213 -0
  30. package/lib/components.imgpreview.706a89f0.js +1 -0
  31. package/lib/components.lunccalendar.5363cba5.mjs +1137 -0
  32. package/lib/components.lunccalendar.fe7db238.js +1 -0
  33. package/lib/components.middleware.01601349.js +1 -0
  34. package/lib/components.middleware.f5f4ac0f.mjs +148 -0
  35. package/lib/components.modaltitle.5ded43f9.mjs +127 -0
  36. package/lib/components.modaltitle.cc9ba616.js +1 -0
  37. package/lib/components.multitab.0f9da9f3.mjs +140 -0
  38. package/lib/components.multitab.726cff2f.js +1 -0
  39. package/lib/components.selecttree.1a71c963.mjs +170 -0
  40. package/lib/components.selecttree.2fadffca.js +1 -0
  41. package/lib/components.settingdrawer.1af86231.js +1 -0
  42. package/lib/components.settingdrawer.adc262cf.mjs +237 -0
  43. package/lib/components.sidemenu.03442146.mjs +277 -0
  44. package/lib/components.sidemenu.5107c7e3.js +1 -0
  45. package/lib/components.sidenavmenu.3d255147.mjs +1147 -0
  46. package/lib/components.sidenavmenu.ef33de39.js +1 -0
  47. package/lib/components.statuschange.805a751b.mjs +116 -0
  48. package/lib/components.statuschange.83646c5d.js +1 -0
  49. package/lib/components.table.61eb5d81.js +8 -0
  50. package/lib/components.table.c986e58d.mjs +4650 -0
  51. package/lib/components.tableumy.35b465f9.mjs +453 -0
  52. package/lib/components.tableumy.eba43953.js +1 -0
  53. package/lib/components.tablevirtual.14a8dbed.mjs +564 -0
  54. package/lib/components.tablevirtual.6af04c44.js +1 -0
  55. package/lib/components.teamsharing.68865424.js +1 -0
  56. package/lib/components.teamsharing.c4f4f12e.mjs +373 -0
  57. package/lib/components.tooltip.ccb1717d.mjs +86 -0
  58. package/lib/components.tooltip.e2e21e66.js +1 -0
  59. package/lib/components.uploadfile.a0dfedaf.mjs +228 -0
  60. package/lib/components.uploadfile.e93b500d.js +1 -0
  61. package/lib/components.uploadimg.3804913e.js +1 -0
  62. package/lib/components.uploadimg.e49707d9.mjs +192 -0
  63. package/lib/components.verificationcode.5a9c0220.js +1 -0
  64. package/lib/components.verificationcode.ead74922.mjs +71 -0
  65. package/lib/components.viewformdetails.3c1596ad.js +1 -0
  66. package/lib/components.viewformdetails.98be3c0d.mjs +1081 -0
  67. package/lib/components.viewloading.5b178ec5.js +1 -0
  68. package/lib/components.viewloading.cb7917b7.mjs +99 -0
  69. package/lib/components.watermark.849409ca.js +2 -0
  70. package/lib/components.watermark.a2521d0c.mjs +53 -0
  71. package/lib/components.xlsxexport.3405a00b.js +1 -0
  72. package/lib/components.xlsxexport.871f87d1.mjs +263 -0
  73. package/lib/components.xlsximport.85ce77cf.mjs +922 -0
  74. package/lib/components.xlsximport.e3bcb07d.js +1 -0
  75. package/lib/copy.b09a6d38.js +1 -0
  76. package/lib/copy.c0a2f16d.mjs +572 -0
  77. package/lib/dialogLayout.059ee256.mjs +138 -0
  78. package/lib/dialogLayout.cedf2865.js +1 -0
  79. package/lib/drawerContainer.38d7b530.mjs +154 -0
  80. package/lib/drawerContainer.ea7722d7.js +1 -0
  81. package/lib/drawerLayout.454e4921.js +1 -0
  82. package/lib/drawerLayout.fad843ee.mjs +119 -0
  83. package/lib/editForm.c199538f.mjs +434 -0
  84. package/lib/editForm.f9dc93ef.js +1 -0
  85. package/lib/flow.designer.4c83c0d3.js +1 -0
  86. package/lib/flow.designer.9442a995.mjs +7673 -0
  87. package/lib/flow.list.4a31969e.mjs +3032 -0
  88. package/lib/flow.list.f41ee531.js +1 -0
  89. package/lib/form.build.c38bf362.js +1 -0
  90. package/lib/form.build.fb9f905b.mjs +259 -0
  91. package/lib/form.designer.build.3fdf8007.js +1 -0
  92. package/lib/form.designer.build.e1b97dc3.mjs +5135 -0
  93. package/lib/formFiled.624b8dd3.js +1 -0
  94. package/lib/formFiled.94fb1dce.mjs +498 -0
  95. package/lib/gd-initial.js +1 -35
  96. package/lib/gd-initial.mjs +233 -91087
  97. package/lib/http.appmanage.9b22ff82.mjs +50 -0
  98. package/lib/http.appmanage.b998818f.js +1 -0
  99. package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
  100. package/lib/http.codegeneratemanage.e3db2f09.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.2583b5ae.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.d8fe18dc.mjs +50 -0
  111. package/lib/http.duplicatechecking.9b79ce21.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.6fdfc693.js +1 -0
  116. package/lib/http.filedocument.d3a4afd9.mjs +293 -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.1af1e119.mjs +517 -0
  128. package/lib/http.main.2f8a6936.js +1 -0
  129. package/lib/http.menumanage.09fffb7d.mjs +66 -0
  130. package/lib/http.menumanage.6d740f2c.js +1 -0
  131. package/lib/http.message.1d68e914.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.2cdb23b8.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.0b1df8d5.mjs +58 -0
  140. package/lib/http.orgmanage.5162fd7a.js +1 -0
  141. package/lib/http.pluginmanage.54720675.mjs +82 -0
  142. package/lib/http.pluginmanage.6a876040.js +1 -0
  143. package/lib/http.posmanage.c0f80aec.js +1 -0
  144. package/lib/http.posmanage.ee6a7613.mjs +34 -0
  145. package/lib/http.promptmanagement.d115c4b0.js +1 -0
  146. package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
  147. package/lib/http.rolemanage.4d1101dd.js +1 -0
  148. package/lib/http.rolemanage.da5c40e9.mjs +146 -0
  149. package/lib/http.solution.b10d9197.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.176d3d06.mjs +34 -0
  153. package/lib/http.sysapps.469d47f7.js +1 -0
  154. package/lib/http.sysapps.932ba43b.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.7adf4910.mjs +362 -0
  158. package/lib/http.tabledevelopment.a880bb76.js +1 -0
  159. package/lib/http.team.a9c609d5.mjs +90 -0
  160. package/lib/http.team.e45400d5.js +1 -0
  161. package/lib/http.timersmanage.6e894942.js +1 -0
  162. package/lib/http.timersmanage.c79afb66.mjs +146 -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.f8694b51.mjs +104 -0
  167. package/lib/http.useraffiliation.af2013ad.js +1 -0
  168. package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
  169. package/lib/http.usermanage.6dcbc7de.js +1 -0
  170. package/lib/http.usermanage.f5491144.mjs +219 -0
  171. package/lib/http.webresource.1a1a768f.mjs +50 -0
  172. package/lib/http.webresource.7c01b9cd.js +1 -0
  173. package/lib/index.3fa2dc66.mjs +40154 -0
  174. package/lib/index.fe757a98.js +8 -0
  175. package/lib/layoutBlocks.14c77a02.js +1 -0
  176. package/lib/layoutBlocks.5d71a03b.mjs +401 -0
  177. package/lib/layouts.a662f681.js +2 -0
  178. package/lib/layouts.ec4f20a2.mjs +376 -0
  179. package/lib/main.092a2ac8.js +1 -0
  180. package/lib/{main.f0045877.mjs → main.15237e71.mjs} +12 -10
  181. package/lib/main.29769f01.js +1 -0
  182. package/lib/main.401059c6.mjs +189 -0
  183. package/lib/main.447be615.js +1 -0
  184. package/lib/main.4e507685.mjs +231 -0
  185. package/lib/main.72cafa63.mjs +540 -0
  186. package/lib/{main.c41228a0.mjs → main.73f22d9e.mjs} +9 -8
  187. package/lib/main.7601bd3d.mjs +166 -0
  188. package/lib/main.79199ac2.js +1 -0
  189. package/lib/main.821d081b.js +1 -0
  190. package/lib/main.8627466a.mjs +537 -0
  191. package/lib/{main.b5a3be02.mjs → main.88e9be9d.mjs} +4 -4
  192. package/lib/main.8e6f6cba.mjs +323 -0
  193. package/lib/main.a9a54af9.js +1 -0
  194. package/lib/main.e033a376.js +1 -0
  195. package/lib/main.e2e4ba74.js +1 -0
  196. package/lib/{main.3caa11e1.mjs → main.e79d9e56.mjs} +113 -188
  197. package/lib/main.ea3a04f4.js +1 -0
  198. package/lib/main.f44d8279.js +1 -0
  199. package/lib/messages.5f54a62e.js +9 -0
  200. package/lib/{messages.a739f4fc.mjs → messages.d4354532.mjs} +4321 -5268
  201. package/lib/packages.filedocument.8418d852.mjs +4039 -0
  202. package/lib/packages.filedocument.9b8eda0d.js +1 -0
  203. package/lib/page.build.4d28df9a.js +12 -0
  204. package/lib/page.build.78cc7396.mjs +3020 -0
  205. package/lib/personal.echarts.940f1cc9.mjs +696 -0
  206. package/lib/personal.echarts.b5a7f574.js +1 -0
  207. package/lib/result.0161b0e0.js +1 -0
  208. package/lib/result.5a9330d7.mjs +627 -0
  209. package/lib/router.config.79a98ab8.mjs +3105 -0
  210. package/lib/router.config.7fd04c30.js +1 -0
  211. package/lib/solution.application.3ae7c0c5.js +1 -0
  212. package/lib/solution.application.fdc15ffc.mjs +548 -0
  213. package/lib/solution.applicationmenu.67aba620.js +1 -0
  214. package/lib/solution.applicationmenu.daaacb07.mjs +508 -0
  215. package/lib/solution.approvalflow.81b7cfb7.js +1 -0
  216. package/lib/solution.approvalflow.a541adcc.mjs +436 -0
  217. package/lib/solution.dict.addbce33.mjs +769 -0
  218. package/lib/solution.dict.f1c9bae6.js +1 -0
  219. package/lib/solution.menu.2033fa37.mjs +5834 -0
  220. package/lib/solution.menu.6512047f.js +1 -0
  221. package/lib/solution.plugin.7094dbfd.js +1 -0
  222. package/lib/solution.plugin.d8f057cb.mjs +347 -0
  223. package/lib/solution.processflow.0adf4f55.js +1 -0
  224. package/lib/solution.processflow.a779bd58.mjs +392 -0
  225. package/lib/solution.role.d35cb00d.js +1 -0
  226. package/lib/solution.role.d9a4b25a.mjs +456 -0
  227. package/lib/solution.webresources.e1421655.mjs +379 -0
  228. package/lib/solution.webresources.e817757c.js +1 -0
  229. package/lib/solution.workflow.59552b8c.mjs +395 -0
  230. package/lib/solution.workflow.985e1f4d.js +1 -0
  231. package/lib/store.config.556bd56b.js +1 -0
  232. package/lib/store.config.5e5cb48a.mjs +547 -0
  233. package/lib/style.css +3 -3
  234. package/lib/system.account.1b281679.js +216 -0
  235. package/lib/system.account.96d5bc17.mjs +2093 -0
  236. package/lib/system.config.0ff45e62.js +1 -0
  237. package/lib/{system.config.d2ad8c97.mjs → system.config.35b13003.mjs} +7 -6
  238. package/lib/system.datasource.4243937d.js +1 -0
  239. package/lib/{system.datasource.a77831ab.mjs → system.datasource.7f582bef.mjs} +15 -64
  240. package/lib/{system.dict.cb276470.mjs → system.dict.3697546d.mjs} +269 -344
  241. package/lib/system.dict.8e4fe6b0.js +1 -0
  242. package/lib/system.document.69e534a6.js +1 -0
  243. package/lib/system.document.8e4dbe5e.mjs +667 -0
  244. package/lib/system.duplicatechecking.1083eb1e.js +1 -0
  245. package/lib/system.duplicatechecking.c6a8b2b7.mjs +722 -0
  246. package/lib/system.email.06bb7cc1.mjs +133 -0
  247. package/lib/system.email.41036a31.js +1 -0
  248. package/lib/system.fieldsecurity.3ea880d8.js +1 -0
  249. package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
  250. package/lib/{system.file.8064c8e9.mjs → system.file.8ccc4569.mjs} +84 -151
  251. package/lib/system.file.b8e4e6a1.js +1 -0
  252. package/lib/system.log.14c22a7a.js +1 -0
  253. package/lib/{system.log.2b2fc11a.mjs → system.log.aad4ff54.mjs} +31 -93
  254. package/lib/system.machine.379beacb.js +1 -0
  255. package/lib/{system.machine.0130e762.mjs → system.machine.c47be0cc.mjs} +5 -25
  256. package/lib/{system.notice.5f8cd020.mjs → system.notice.dc1b67cc.mjs} +1075 -1255
  257. package/lib/system.notice.fb151c45.js +1 -0
  258. package/lib/system.noticereceived.3a29d891.js +1 -0
  259. package/lib/{system.noticereceived.51b6353a.mjs → system.noticereceived.e75bf358.mjs} +19 -27
  260. package/lib/{system.onlineuser.c0a69360.mjs → system.onlineuser.ab9c2776.mjs} +36 -38
  261. package/lib/system.onlineuser.fc26aff9.js +1 -0
  262. package/lib/system.org.b6f826e8.js +1 -0
  263. package/lib/{system.org.1169fe47.mjs → system.org.dd710a91.mjs} +3 -3
  264. package/lib/system.permissions.75406743.mjs +972 -0
  265. package/lib/system.permissions.97f68887.js +1 -0
  266. package/lib/system.plugin.3fcf7b0b.js +1 -0
  267. package/lib/{system.plugin.502a69d8.mjs → system.plugin.4b80cd95.mjs} +503 -552
  268. package/lib/system.pos.5a1663d8.js +1 -0
  269. package/lib/{system.pos.8c44c029.mjs → system.pos.a3bafaaa.mjs} +31 -62
  270. package/lib/system.promptmanagement.53c301a3.js +1 -0
  271. package/lib/{system.promptmanagement.d8565db4.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
  272. package/lib/{system.role.19959d7f.mjs → system.role.9edb5922.mjs} +512 -486
  273. package/lib/system.role.e164f059.js +1 -0
  274. package/lib/{system.sumberrules.087015a4.mjs → system.sumberrules.4bb2c95c.mjs} +169 -192
  275. package/lib/system.sumberrules.5e9cd262.js +1 -0
  276. package/lib/system.team.3e605266.js +1 -0
  277. package/lib/system.team.bb1fb40e.mjs +452 -0
  278. package/lib/system.teammembers.a098883b.js +1 -0
  279. package/lib/{system.teammembers.4056d586.mjs → system.teammembers.b8e53d99.mjs} +257 -199
  280. package/lib/system.timers.2f884e41.js +38 -0
  281. package/lib/{system.timers.6f61bfe1.mjs → system.timers.551c4a4b.mjs} +2202 -2278
  282. package/lib/system.translation.6e99c852.js +1 -0
  283. package/lib/{system.translation.9b88fbf2.mjs → system.translation.c2c1f40c.mjs} +437 -431
  284. package/lib/{system.user.bdf2613e.mjs → system.user.b99911de.mjs} +1082 -1025
  285. package/lib/system.user.dffc2543.js +14 -0
  286. package/lib/{system.useraffiliation.63b6bb36.mjs → system.useraffiliation.12cae7ef.mjs} +419 -412
  287. package/lib/system.useraffiliation.f8b33def.js +1 -0
  288. package/lib/system.webresource.1d3ed352.js +1 -0
  289. package/lib/{system.webresource.c36d6792.mjs → system.webresource.8a8d856b.mjs} +177 -219
  290. package/lib/{system.welcome.14785b50.mjs → system.welcome.573a76db.mjs} +10 -3
  291. package/lib/system.welcome.eedf1db2.js +1 -0
  292. package/lib/tableDescriptions.923c4ef1.mjs +80 -0
  293. package/lib/tableDescriptions.b12679b0.js +1 -0
  294. package/lib/tcheckboxs.887d733c.mjs +52 -0
  295. package/lib/tcheckboxs.fe7e574a.js +1 -0
  296. package/lib/tcurrency.10ac9aa7.mjs +85 -0
  297. package/lib/tcurrency.20e959c0.js +1 -0
  298. package/lib/tdatepicker.54036bba.js +1 -0
  299. package/lib/tdatepicker.a08ad382.mjs +52 -0
  300. package/lib/tdictSwitch.274e9f86.js +1 -0
  301. package/lib/tdictSwitch.d40f1b4f.mjs +60 -0
  302. package/lib/tfile.5c897827.js +1 -0
  303. package/lib/tfile.f63b73b9.mjs +62 -0
  304. package/lib/tparticipants.4698962b.mjs +56 -0
  305. package/lib/tparticipants.b6fb4545.js +1 -0
  306. package/lib/translation.mains.5cfc7a2f.js +1 -0
  307. package/lib/translation.mains.e6cb610b.mjs +383 -0
  308. package/lib/utils.datepicker.js.0a5a699e.js +1 -0
  309. package/lib/utils.datepicker.js.5549a741.mjs +70 -0
  310. package/lib/utils.echarts.js.461a74e7.js +54 -0
  311. package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
  312. package/lib/utils.mixins.js.750ca50e.js +1 -0
  313. package/lib/utils.mixins.js.be01e599.mjs +41 -0
  314. package/lib/utils.plug.js.9313aead.mjs +31 -0
  315. package/lib/utils.plug.js.f62510ce.js +1 -0
  316. package/lib/utils.util.js.885de913.mjs +439 -0
  317. package/lib/utils.util.js.c0ba699b.js +1 -0
  318. package/lib/view.build.051553d8.mjs +1578 -0
  319. package/lib/view.build.9af3087b.js +1 -0
  320. package/lib/viewList.209956c3.js +1 -0
  321. package/lib/viewList.c05c92be.mjs +318 -0
  322. package/lib/viewTree.0cd9f1a2.js +1 -0
  323. package/lib/viewTree.c5290360.mjs +409 -0
  324. package/locale/en_US.js +92 -28
  325. package/locale/id_ID.js +76 -12
  326. package/locale/vi_VN.js +2012 -1948
  327. package/locale/zh_CN.js +97 -33
  328. package/package.json +106 -105
  329. package/lib/chartbi.114d32d7.js +0 -60
  330. package/lib/chartbi.eb4dd0af.mjs +0 -27639
  331. package/lib/main.03984fed.js +0 -1
  332. package/lib/main.1050afb3.js +0 -1
  333. package/lib/main.64122541.js +0 -1
  334. package/lib/main.b7d2c6ee.js +0 -1
  335. package/lib/messages.828b6ed8.js +0 -9
  336. package/lib/system.account.3181bcd6.js +0 -216
  337. package/lib/system.account.7c6ea20c.mjs +0 -2552
  338. package/lib/system.config.10f57fa2.js +0 -1
  339. package/lib/system.datasource.d5eea7f2.js +0 -1
  340. package/lib/system.dict.d73658f1.js +0 -1
  341. package/lib/system.duplicatechecking.5c8a3eef.mjs +0 -2142
  342. package/lib/system.duplicatechecking.d24ba6ea.js +0 -1
  343. package/lib/system.email.4bf52f2d.js +0 -41
  344. package/lib/system.email.db5da8d7.mjs +0 -7432
  345. package/lib/system.fieldsecurity.eb217079.js +0 -1
  346. package/lib/system.file.c1884db7.js +0 -1
  347. package/lib/system.log.389af80d.js +0 -1
  348. package/lib/system.machine.49fc6405.js +0 -1
  349. package/lib/system.notice.a89f4826.js +0 -1
  350. package/lib/system.noticereceived.5e0773c3.js +0 -1
  351. package/lib/system.onlineuser.67733846.js +0 -1
  352. package/lib/system.org.ff54d620.js +0 -1
  353. package/lib/system.permissions.cc9a9866.mjs +0 -212
  354. package/lib/system.permissions.e6317c5a.js +0 -9
  355. package/lib/system.plugin.3467d572.js +0 -1
  356. package/lib/system.pos.4aadf86e.js +0 -1
  357. package/lib/system.promptmanagement.9ba710d6.js +0 -1
  358. package/lib/system.role.890c8ca2.js +0 -1
  359. package/lib/system.sumberrules.068ebe4a.js +0 -1
  360. package/lib/system.team.27cd57f7.mjs +0 -1000
  361. package/lib/system.team.2b28502b.js +0 -1
  362. package/lib/system.teammembers.e3baf783.js +0 -1
  363. package/lib/system.timers.cb0a3bd0.js +0 -38
  364. package/lib/system.translation.f3884a0a.js +0 -1
  365. package/lib/system.user.3bd95871.js +0 -14
  366. package/lib/system.useraffiliation.7db6e13c.js +0 -1
  367. package/lib/system.webresource.ede248a8.js +0 -1
  368. package/lib/system.welcome.c9eefa06.js +0 -1
@@ -0,0 +1,1505 @@
1
+ import { m as Mt, n as Rt } from "./components.chartbi.470b96af.mjs";
2
+ import { u as Ge, c as $t, a as Xt } from "./utils.util.js.885de913.mjs";
3
+ /**!
4
+ * Sortable 1.15.6
5
+ * @author RubaXa <trash@rubaxa.org>
6
+ * @author owenm <owen23355@gmail.com>
7
+ * @license MIT
8
+ */
9
+ function ut(n, e) {
10
+ var t = Object.keys(n);
11
+ if (Object.getOwnPropertySymbols) {
12
+ var o = Object.getOwnPropertySymbols(n);
13
+ e && (o = o.filter(function(i) {
14
+ return Object.getOwnPropertyDescriptor(n, i).enumerable;
15
+ })), t.push.apply(t, o);
16
+ }
17
+ return t;
18
+ }
19
+ function G(n) {
20
+ for (var e = 1; e < arguments.length; e++) {
21
+ var t = arguments[e] != null ? arguments[e] : {};
22
+ e % 2 ? ut(Object(t), !0).forEach(function(o) {
23
+ Yt(n, o, t[o]);
24
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : ut(Object(t)).forEach(function(o) {
25
+ Object.defineProperty(n, o, Object.getOwnPropertyDescriptor(t, o));
26
+ });
27
+ }
28
+ return n;
29
+ }
30
+ function ke(n) {
31
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? ke = function(e) {
32
+ return typeof e;
33
+ } : ke = function(e) {
34
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
35
+ }, ke(n);
36
+ }
37
+ function Yt(n, e, t) {
38
+ return e in n ? Object.defineProperty(n, e, {
39
+ value: t,
40
+ enumerable: !0,
41
+ configurable: !0,
42
+ writable: !0
43
+ }) : n[e] = t, n;
44
+ }
45
+ function U() {
46
+ return U = Object.assign || function(n) {
47
+ for (var e = 1; e < arguments.length; e++) {
48
+ var t = arguments[e];
49
+ for (var o in t)
50
+ Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]);
51
+ }
52
+ return n;
53
+ }, U.apply(this, arguments);
54
+ }
55
+ function Bt(n, e) {
56
+ if (n == null)
57
+ return {};
58
+ var t = {}, o = Object.keys(n), i, r;
59
+ for (r = 0; r < o.length; r++)
60
+ i = o[r], !(e.indexOf(i) >= 0) && (t[i] = n[i]);
61
+ return t;
62
+ }
63
+ function Lt(n, e) {
64
+ if (n == null)
65
+ return {};
66
+ var t = Bt(n, e), o, i;
67
+ if (Object.getOwnPropertySymbols) {
68
+ var r = Object.getOwnPropertySymbols(n);
69
+ for (i = 0; i < r.length; i++)
70
+ o = r[i], !(e.indexOf(o) >= 0) && (!Object.prototype.propertyIsEnumerable.call(n, o) || (t[o] = n[o]));
71
+ }
72
+ return t;
73
+ }
74
+ var zt = "1.15.6";
75
+ function K(n) {
76
+ if (typeof window < "u" && window.navigator)
77
+ return !!/* @__PURE__ */ navigator.userAgent.match(n);
78
+ }
79
+ var q = K(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ce = K(/Edge/i), dt = K(/firefox/i), Ee = K(/safari/i) && !K(/chrome/i) && !K(/android/i), rt = K(/iP(ad|od|hone)/i), yt = K(/chrome/i) && K(/android/i), wt = {
80
+ capture: !1,
81
+ passive: !1
82
+ };
83
+ function v(n, e, t) {
84
+ n.addEventListener(e, t, !q && wt);
85
+ }
86
+ function m(n, e, t) {
87
+ n.removeEventListener(e, t, !q && wt);
88
+ }
89
+ function Xe(n, e) {
90
+ if (!!e) {
91
+ if (e[0] === ">" && (e = e.substring(1)), n)
92
+ try {
93
+ if (n.matches)
94
+ return n.matches(e);
95
+ if (n.msMatchesSelector)
96
+ return n.msMatchesSelector(e);
97
+ if (n.webkitMatchesSelector)
98
+ return n.webkitMatchesSelector(e);
99
+ } catch {
100
+ return !1;
101
+ }
102
+ return !1;
103
+ }
104
+ }
105
+ function Et(n) {
106
+ return n.host && n !== document && n.host.nodeType ? n.host : n.parentNode;
107
+ }
108
+ function L(n, e, t, o) {
109
+ if (n) {
110
+ t = t || document;
111
+ do {
112
+ if (e != null && (e[0] === ">" ? n.parentNode === t && Xe(n, e) : Xe(n, e)) || o && n === t)
113
+ return n;
114
+ if (n === t)
115
+ break;
116
+ } while (n = Et(n));
117
+ }
118
+ return null;
119
+ }
120
+ var ft = /\s+/g;
121
+ function M(n, e, t) {
122
+ if (n && e)
123
+ if (n.classList)
124
+ n.classList[t ? "add" : "remove"](e);
125
+ else {
126
+ var o = (" " + n.className + " ").replace(ft, " ").replace(" " + e + " ", " ");
127
+ n.className = (o + (t ? " " + e : "")).replace(ft, " ");
128
+ }
129
+ }
130
+ function h(n, e, t) {
131
+ var o = n && n.style;
132
+ if (o) {
133
+ if (t === void 0)
134
+ return document.defaultView && document.defaultView.getComputedStyle ? t = document.defaultView.getComputedStyle(n, "") : n.currentStyle && (t = n.currentStyle), e === void 0 ? t : t[e];
135
+ !(e in o) && e.indexOf("webkit") === -1 && (e = "-webkit-" + e), o[e] = t + (typeof t == "string" ? "" : "px");
136
+ }
137
+ }
138
+ function de(n, e) {
139
+ var t = "";
140
+ if (typeof n == "string")
141
+ t = n;
142
+ else
143
+ do {
144
+ var o = h(n, "transform");
145
+ o && o !== "none" && (t = o + " " + t);
146
+ } while (!e && (n = n.parentNode));
147
+ var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
148
+ return i && new i(t);
149
+ }
150
+ function _t(n, e, t) {
151
+ if (n) {
152
+ var o = n.getElementsByTagName(e), i = 0, r = o.length;
153
+ if (t)
154
+ for (; i < r; i++)
155
+ t(o[i], i);
156
+ return o;
157
+ }
158
+ return [];
159
+ }
160
+ function H() {
161
+ var n = document.scrollingElement;
162
+ return n || document.documentElement;
163
+ }
164
+ function C(n, e, t, o, i) {
165
+ if (!(!n.getBoundingClientRect && n !== window)) {
166
+ var r, a, l, s, c, f, d;
167
+ if (n !== window && n.parentNode && n !== H() ? (r = n.getBoundingClientRect(), a = r.top, l = r.left, s = r.bottom, c = r.right, f = r.height, d = r.width) : (a = 0, l = 0, s = window.innerHeight, c = window.innerWidth, f = window.innerHeight, d = window.innerWidth), (e || t) && n !== window && (i = i || n.parentNode, !q))
168
+ do
169
+ if (i && i.getBoundingClientRect && (h(i, "transform") !== "none" || t && h(i, "position") !== "static")) {
170
+ var b = i.getBoundingClientRect();
171
+ a -= b.top + parseInt(h(i, "border-top-width")), l -= b.left + parseInt(h(i, "border-left-width")), s = a + r.height, c = l + r.width;
172
+ break;
173
+ }
174
+ while (i = i.parentNode);
175
+ if (o && n !== window) {
176
+ var E = de(i || n), y = E && E.a, w = E && E.d;
177
+ E && (a /= w, l /= y, d /= y, f /= w, s = a + f, c = l + d);
178
+ }
179
+ return {
180
+ top: a,
181
+ left: l,
182
+ bottom: s,
183
+ right: c,
184
+ width: d,
185
+ height: f
186
+ };
187
+ }
188
+ }
189
+ function ht(n, e, t) {
190
+ for (var o = ee(n, !0), i = C(n)[e]; o; ) {
191
+ var r = C(o)[t], a = void 0;
192
+ if (t === "top" || t === "left" ? a = i >= r : a = i <= r, !a)
193
+ return o;
194
+ if (o === H())
195
+ break;
196
+ o = ee(o, !1);
197
+ }
198
+ return !1;
199
+ }
200
+ function fe(n, e, t, o) {
201
+ for (var i = 0, r = 0, a = n.children; r < a.length; ) {
202
+ if (a[r].style.display !== "none" && a[r] !== p.ghost && (o || a[r] !== p.dragged) && L(a[r], t.draggable, n, !1)) {
203
+ if (i === e)
204
+ return a[r];
205
+ i++;
206
+ }
207
+ r++;
208
+ }
209
+ return null;
210
+ }
211
+ function at(n, e) {
212
+ for (var t = n.lastElementChild; t && (t === p.ghost || h(t, "display") === "none" || e && !Xe(t, e)); )
213
+ t = t.previousElementSibling;
214
+ return t || null;
215
+ }
216
+ function $(n, e) {
217
+ var t = 0;
218
+ if (!n || !n.parentNode)
219
+ return -1;
220
+ for (; n = n.previousElementSibling; )
221
+ n.nodeName.toUpperCase() !== "TEMPLATE" && n !== p.clone && (!e || Xe(n, e)) && t++;
222
+ return t;
223
+ }
224
+ function pt(n) {
225
+ var e = 0, t = 0, o = H();
226
+ if (n)
227
+ do {
228
+ var i = de(n), r = i.a, a = i.d;
229
+ e += n.scrollLeft * r, t += n.scrollTop * a;
230
+ } while (n !== o && (n = n.parentNode));
231
+ return [e, t];
232
+ }
233
+ function Ht(n, e) {
234
+ for (var t in n)
235
+ if (!!n.hasOwnProperty(t)) {
236
+ for (var o in e)
237
+ if (e.hasOwnProperty(o) && e[o] === n[t][o])
238
+ return Number(t);
239
+ }
240
+ return -1;
241
+ }
242
+ function ee(n, e) {
243
+ if (!n || !n.getBoundingClientRect)
244
+ return H();
245
+ var t = n, o = !1;
246
+ do
247
+ if (t.clientWidth < t.scrollWidth || t.clientHeight < t.scrollHeight) {
248
+ var i = h(t);
249
+ if (t.clientWidth < t.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || t.clientHeight < t.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
250
+ if (!t.getBoundingClientRect || t === document.body)
251
+ return H();
252
+ if (o || e)
253
+ return t;
254
+ o = !0;
255
+ }
256
+ }
257
+ while (t = t.parentNode);
258
+ return H();
259
+ }
260
+ function Gt(n, e) {
261
+ if (n && e)
262
+ for (var t in e)
263
+ e.hasOwnProperty(t) && (n[t] = e[t]);
264
+ return n;
265
+ }
266
+ function We(n, e) {
267
+ return Math.round(n.top) === Math.round(e.top) && Math.round(n.left) === Math.round(e.left) && Math.round(n.height) === Math.round(e.height) && Math.round(n.width) === Math.round(e.width);
268
+ }
269
+ var _e;
270
+ function Dt(n, e) {
271
+ return function() {
272
+ if (!_e) {
273
+ var t = arguments, o = this;
274
+ t.length === 1 ? n.call(o, t[0]) : n.apply(o, t), _e = setTimeout(function() {
275
+ _e = void 0;
276
+ }, e);
277
+ }
278
+ };
279
+ }
280
+ function Wt() {
281
+ clearTimeout(_e), _e = void 0;
282
+ }
283
+ function St(n, e, t) {
284
+ n.scrollLeft += e, n.scrollTop += t;
285
+ }
286
+ function Tt(n) {
287
+ var e = window.Polymer, t = window.jQuery || window.Zepto;
288
+ return e && e.dom ? e.dom(n).cloneNode(!0) : t ? t(n).clone(!0)[0] : n.cloneNode(!0);
289
+ }
290
+ function Ct(n, e, t) {
291
+ var o = {};
292
+ return Array.from(n.children).forEach(function(i) {
293
+ var r, a, l, s;
294
+ if (!(!L(i, e.draggable, n, !1) || i.animated || i === t)) {
295
+ var c = C(i);
296
+ o.left = Math.min((r = o.left) !== null && r !== void 0 ? r : 1 / 0, c.left), o.top = Math.min((a = o.top) !== null && a !== void 0 ? a : 1 / 0, c.top), o.right = Math.max((l = o.right) !== null && l !== void 0 ? l : -1 / 0, c.right), o.bottom = Math.max((s = o.bottom) !== null && s !== void 0 ? s : -1 / 0, c.bottom);
297
+ }
298
+ }), o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
299
+ }
300
+ var A = "Sortable" + new Date().getTime();
301
+ function jt() {
302
+ var n = [], e;
303
+ return {
304
+ captureAnimationState: function() {
305
+ if (n = [], !!this.options.animation) {
306
+ var o = [].slice.call(this.el.children);
307
+ o.forEach(function(i) {
308
+ if (!(h(i, "display") === "none" || i === p.ghost)) {
309
+ n.push({
310
+ target: i,
311
+ rect: C(i)
312
+ });
313
+ var r = G({}, n[n.length - 1].rect);
314
+ if (i.thisAnimationDuration) {
315
+ var a = de(i, !0);
316
+ a && (r.top -= a.f, r.left -= a.e);
317
+ }
318
+ i.fromRect = r;
319
+ }
320
+ });
321
+ }
322
+ },
323
+ addAnimationState: function(o) {
324
+ n.push(o);
325
+ },
326
+ removeAnimationState: function(o) {
327
+ n.splice(Ht(n, {
328
+ target: o
329
+ }), 1);
330
+ },
331
+ animateAll: function(o) {
332
+ var i = this;
333
+ if (!this.options.animation) {
334
+ clearTimeout(e), typeof o == "function" && o();
335
+ return;
336
+ }
337
+ var r = !1, a = 0;
338
+ n.forEach(function(l) {
339
+ var s = 0, c = l.target, f = c.fromRect, d = C(c), b = c.prevFromRect, E = c.prevToRect, y = l.rect, w = de(c, !0);
340
+ w && (d.top -= w.f, d.left -= w.e), c.toRect = d, c.thisAnimationDuration && We(b, d) && !We(f, d) && (y.top - d.top) / (y.left - d.left) === (f.top - d.top) / (f.left - d.left) && (s = Ut(y, b, E, i.options)), We(d, f) || (c.prevFromRect = f, c.prevToRect = d, s || (s = i.options.animation), i.animate(c, y, d, s)), s && (r = !0, a = Math.max(a, s), clearTimeout(c.animationResetTimer), c.animationResetTimer = setTimeout(function() {
341
+ c.animationTime = 0, c.prevFromRect = null, c.fromRect = null, c.prevToRect = null, c.thisAnimationDuration = null;
342
+ }, s), c.thisAnimationDuration = s);
343
+ }), clearTimeout(e), r ? e = setTimeout(function() {
344
+ typeof o == "function" && o();
345
+ }, a) : typeof o == "function" && o(), n = [];
346
+ },
347
+ animate: function(o, i, r, a) {
348
+ if (a) {
349
+ h(o, "transition", ""), h(o, "transform", "");
350
+ var l = de(this.el), s = l && l.a, c = l && l.d, f = (i.left - r.left) / (s || 1), d = (i.top - r.top) / (c || 1);
351
+ o.animatingX = !!f, o.animatingY = !!d, h(o, "transform", "translate3d(" + f + "px," + d + "px,0)"), this.forRepaintDummy = Kt(o), h(o, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), h(o, "transform", "translate3d(0,0,0)"), typeof o.animated == "number" && clearTimeout(o.animated), o.animated = setTimeout(function() {
352
+ h(o, "transition", ""), h(o, "transform", ""), o.animated = !1, o.animatingX = !1, o.animatingY = !1;
353
+ }, a);
354
+ }
355
+ }
356
+ };
357
+ }
358
+ function Kt(n) {
359
+ return n.offsetWidth;
360
+ }
361
+ function Ut(n, e, t, o) {
362
+ return Math.sqrt(Math.pow(e.top - n.top, 2) + Math.pow(e.left - n.left, 2)) / Math.sqrt(Math.pow(e.top - t.top, 2) + Math.pow(e.left - t.left, 2)) * o.animation;
363
+ }
364
+ var le = [], je = {
365
+ initializeByDefault: !0
366
+ }, xe = {
367
+ mount: function(e) {
368
+ for (var t in je)
369
+ je.hasOwnProperty(t) && !(t in e) && (e[t] = je[t]);
370
+ le.forEach(function(o) {
371
+ if (o.pluginName === e.pluginName)
372
+ throw "Sortable: Cannot mount plugin ".concat(e.pluginName, " more than once");
373
+ }), le.push(e);
374
+ },
375
+ pluginEvent: function(e, t, o) {
376
+ var i = this;
377
+ this.eventCanceled = !1, o.cancel = function() {
378
+ i.eventCanceled = !0;
379
+ };
380
+ var r = e + "Global";
381
+ le.forEach(function(a) {
382
+ !t[a.pluginName] || (t[a.pluginName][r] && t[a.pluginName][r](G({
383
+ sortable: t
384
+ }, o)), t.options[a.pluginName] && t[a.pluginName][e] && t[a.pluginName][e](G({
385
+ sortable: t
386
+ }, o)));
387
+ });
388
+ },
389
+ initializePlugins: function(e, t, o, i) {
390
+ le.forEach(function(l) {
391
+ var s = l.pluginName;
392
+ if (!(!e.options[s] && !l.initializeByDefault)) {
393
+ var c = new l(e, t, e.options);
394
+ c.sortable = e, c.options = e.options, e[s] = c, U(o, c.defaults);
395
+ }
396
+ });
397
+ for (var r in e.options)
398
+ if (!!e.options.hasOwnProperty(r)) {
399
+ var a = this.modifyOption(e, r, e.options[r]);
400
+ typeof a < "u" && (e.options[r] = a);
401
+ }
402
+ },
403
+ getEventProperties: function(e, t) {
404
+ var o = {};
405
+ return le.forEach(function(i) {
406
+ typeof i.eventProperties == "function" && U(o, i.eventProperties.call(t[i.pluginName], e));
407
+ }), o;
408
+ },
409
+ modifyOption: function(e, t, o) {
410
+ var i;
411
+ return le.forEach(function(r) {
412
+ !e[r.pluginName] || r.optionListeners && typeof r.optionListeners[t] == "function" && (i = r.optionListeners[t].call(e[r.pluginName], o));
413
+ }), i;
414
+ }
415
+ };
416
+ function qt(n) {
417
+ var e = n.sortable, t = n.rootEl, o = n.name, i = n.targetEl, r = n.cloneEl, a = n.toEl, l = n.fromEl, s = n.oldIndex, c = n.newIndex, f = n.oldDraggableIndex, d = n.newDraggableIndex, b = n.originalEvent, E = n.putSortable, y = n.extraEventProperties;
418
+ if (e = e || t && t[A], !!e) {
419
+ var w, X = e.options, W = "on" + o.charAt(0).toUpperCase() + o.substr(1);
420
+ window.CustomEvent && !q && !Ce ? w = new CustomEvent(o, {
421
+ bubbles: !0,
422
+ cancelable: !0
423
+ }) : (w = document.createEvent("Event"), w.initEvent(o, !0, !0)), w.to = a || t, w.from = l || t, w.item = i || t, w.clone = r, w.oldIndex = s, w.newIndex = c, w.oldDraggableIndex = f, w.newDraggableIndex = d, w.originalEvent = b, w.pullMode = E ? E.lastPutMode : void 0;
424
+ var O = G(G({}, y), xe.getEventProperties(o, e));
425
+ for (var Y in O)
426
+ w[Y] = O[Y];
427
+ t && t.dispatchEvent(w), X[W] && X[W].call(e, w);
428
+ }
429
+ }
430
+ var Vt = ["evt"], P = function(e, t) {
431
+ var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = o.evt, r = Lt(o, Vt);
432
+ xe.pluginEvent.bind(p)(e, t, G({
433
+ dragEl: u,
434
+ parentEl: S,
435
+ ghostEl: g,
436
+ rootEl: _,
437
+ nextEl: ae,
438
+ lastDownEl: Fe,
439
+ cloneEl: D,
440
+ cloneHidden: J,
441
+ dragStarted: be,
442
+ putSortable: x,
443
+ activeSortable: p.active,
444
+ originalEvent: i,
445
+ oldIndex: ue,
446
+ oldDraggableIndex: De,
447
+ newIndex: R,
448
+ newDraggableIndex: Q,
449
+ hideGhostForTarget: Nt,
450
+ unhideGhostForTarget: Pt,
451
+ cloneNowHidden: function() {
452
+ J = !0;
453
+ },
454
+ cloneNowShown: function() {
455
+ J = !1;
456
+ },
457
+ dispatchSortableEvent: function(l) {
458
+ N({
459
+ sortable: t,
460
+ name: l,
461
+ originalEvent: i
462
+ });
463
+ }
464
+ }, r));
465
+ };
466
+ function N(n) {
467
+ qt(G({
468
+ putSortable: x,
469
+ cloneEl: D,
470
+ targetEl: u,
471
+ rootEl: _,
472
+ oldIndex: ue,
473
+ oldDraggableIndex: De,
474
+ newIndex: R,
475
+ newDraggableIndex: Q
476
+ }, n));
477
+ }
478
+ var u, S, g, _, ae, Fe, D, J, ue, R, De, Q, Oe, x, ce = !1, Ye = !1, Be = [], ie, B, Ke, Ue, gt, mt, be, se, Se, Te = !1, Ne = !1, Me, I, qe = [], tt = !1, Le = [], He = typeof document < "u", Pe = rt, vt = Ce || q ? "cssFloat" : "float", Zt = He && !yt && !rt && "draggable" in document.createElement("div"), xt = function() {
479
+ if (!!He) {
480
+ if (q)
481
+ return !1;
482
+ var n = document.createElement("x");
483
+ return n.style.cssText = "pointer-events:auto", n.style.pointerEvents === "auto";
484
+ }
485
+ }(), It = function(e, t) {
486
+ var o = h(e), i = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), r = fe(e, 0, t), a = fe(e, 1, t), l = r && h(r), s = a && h(a), c = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + C(r).width, f = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + C(a).width;
487
+ if (o.display === "flex")
488
+ return o.flexDirection === "column" || o.flexDirection === "column-reverse" ? "vertical" : "horizontal";
489
+ if (o.display === "grid")
490
+ return o.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
491
+ if (r && l.float && l.float !== "none") {
492
+ var d = l.float === "left" ? "left" : "right";
493
+ return a && (s.clear === "both" || s.clear === d) ? "vertical" : "horizontal";
494
+ }
495
+ return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || c >= i && o[vt] === "none" || a && o[vt] === "none" && c + f > i) ? "vertical" : "horizontal";
496
+ }, Qt = function(e, t, o) {
497
+ var i = o ? e.left : e.top, r = o ? e.right : e.bottom, a = o ? e.width : e.height, l = o ? t.left : t.top, s = o ? t.right : t.bottom, c = o ? t.width : t.height;
498
+ return i === l || r === s || i + a / 2 === l + c / 2;
499
+ }, Jt = function(e, t) {
500
+ var o;
501
+ return Be.some(function(i) {
502
+ var r = i[A].options.emptyInsertThreshold;
503
+ if (!(!r || at(i))) {
504
+ var a = C(i), l = e >= a.left - r && e <= a.right + r, s = t >= a.top - r && t <= a.bottom + r;
505
+ if (l && s)
506
+ return o = i;
507
+ }
508
+ }), o;
509
+ }, Ot = function(e) {
510
+ function t(r, a) {
511
+ return function(l, s, c, f) {
512
+ var d = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
513
+ if (r == null && (a || d))
514
+ return !0;
515
+ if (r == null || r === !1)
516
+ return !1;
517
+ if (a && r === "clone")
518
+ return r;
519
+ if (typeof r == "function")
520
+ return t(r(l, s, c, f), a)(l, s, c, f);
521
+ var b = (a ? l : s).options.group.name;
522
+ return r === !0 || typeof r == "string" && r === b || r.join && r.indexOf(b) > -1;
523
+ };
524
+ }
525
+ var o = {}, i = e.group;
526
+ (!i || ke(i) != "object") && (i = {
527
+ name: i
528
+ }), o.name = i.name, o.checkPull = t(i.pull, !0), o.checkPut = t(i.put), o.revertClone = i.revertClone, e.group = o;
529
+ }, Nt = function() {
530
+ !xt && g && h(g, "display", "none");
531
+ }, Pt = function() {
532
+ !xt && g && h(g, "display", "");
533
+ };
534
+ He && !yt && document.addEventListener("click", function(n) {
535
+ if (Ye)
536
+ return n.preventDefault(), n.stopPropagation && n.stopPropagation(), n.stopImmediatePropagation && n.stopImmediatePropagation(), Ye = !1, !1;
537
+ }, !0);
538
+ var re = function(e) {
539
+ if (u) {
540
+ e = e.touches ? e.touches[0] : e;
541
+ var t = Jt(e.clientX, e.clientY);
542
+ if (t) {
543
+ var o = {};
544
+ for (var i in e)
545
+ e.hasOwnProperty(i) && (o[i] = e[i]);
546
+ o.target = o.rootEl = t, o.preventDefault = void 0, o.stopPropagation = void 0, t[A]._onDragOver(o);
547
+ }
548
+ }
549
+ }, en = function(e) {
550
+ u && u.parentNode[A]._isOutsideThisEl(e.target);
551
+ };
552
+ function p(n, e) {
553
+ if (!(n && n.nodeType && n.nodeType === 1))
554
+ throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));
555
+ this.el = n, this.options = e = U({}, e), n[A] = this;
556
+ var t = {
557
+ group: null,
558
+ sort: !0,
559
+ disabled: !1,
560
+ store: null,
561
+ handle: null,
562
+ draggable: /^[uo]l$/i.test(n.nodeName) ? ">li" : ">*",
563
+ swapThreshold: 1,
564
+ invertSwap: !1,
565
+ invertedSwapThreshold: null,
566
+ removeCloneOnHide: !0,
567
+ direction: function() {
568
+ return It(n, this.options);
569
+ },
570
+ ghostClass: "sortable-ghost",
571
+ chosenClass: "sortable-chosen",
572
+ dragClass: "sortable-drag",
573
+ ignore: "a, img",
574
+ filter: null,
575
+ preventOnFilter: !0,
576
+ animation: 0,
577
+ easing: null,
578
+ setData: function(a, l) {
579
+ a.setData("Text", l.textContent);
580
+ },
581
+ dropBubble: !1,
582
+ dragoverBubble: !1,
583
+ dataIdAttr: "data-id",
584
+ delay: 0,
585
+ delayOnTouchOnly: !1,
586
+ touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
587
+ forceFallback: !1,
588
+ fallbackClass: "sortable-fallback",
589
+ fallbackOnBody: !1,
590
+ fallbackTolerance: 0,
591
+ fallbackOffset: {
592
+ x: 0,
593
+ y: 0
594
+ },
595
+ supportPointer: p.supportPointer !== !1 && "PointerEvent" in window && (!Ee || rt),
596
+ emptyInsertThreshold: 5
597
+ };
598
+ xe.initializePlugins(this, n, t);
599
+ for (var o in t)
600
+ !(o in e) && (e[o] = t[o]);
601
+ Ot(e);
602
+ for (var i in this)
603
+ i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
604
+ this.nativeDraggable = e.forceFallback ? !1 : Zt, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? v(n, "pointerdown", this._onTapStart) : (v(n, "mousedown", this._onTapStart), v(n, "touchstart", this._onTapStart)), this.nativeDraggable && (v(n, "dragover", this), v(n, "dragenter", this)), Be.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), U(this, jt());
605
+ }
606
+ p.prototype = {
607
+ constructor: p,
608
+ _isOutsideThisEl: function(e) {
609
+ !this.el.contains(e) && e !== this.el && (se = null);
610
+ },
611
+ _getDirection: function(e, t) {
612
+ return typeof this.options.direction == "function" ? this.options.direction.call(this, e, t, u) : this.options.direction;
613
+ },
614
+ _onTapStart: function(e) {
615
+ if (!!e.cancelable) {
616
+ var t = this, o = this.el, i = this.options, r = i.preventOnFilter, a = e.type, l = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, s = (l || e).target, c = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || s, f = i.filter;
617
+ if (cn(o), !u && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || i.disabled) && !c.isContentEditable && !(!this.nativeDraggable && Ee && s && s.tagName.toUpperCase() === "SELECT") && (s = L(s, i.draggable, o, !1), !(s && s.animated) && Fe !== s)) {
618
+ if (ue = $(s), De = $(s, i.draggable), typeof f == "function") {
619
+ if (f.call(this, e, s, this)) {
620
+ N({
621
+ sortable: t,
622
+ rootEl: c,
623
+ name: "filter",
624
+ targetEl: s,
625
+ toEl: o,
626
+ fromEl: o
627
+ }), P("filter", t, {
628
+ evt: e
629
+ }), r && e.preventDefault();
630
+ return;
631
+ }
632
+ } else if (f && (f = f.split(",").some(function(d) {
633
+ if (d = L(c, d.trim(), o, !1), d)
634
+ return N({
635
+ sortable: t,
636
+ rootEl: d,
637
+ name: "filter",
638
+ targetEl: s,
639
+ fromEl: o,
640
+ toEl: o
641
+ }), P("filter", t, {
642
+ evt: e
643
+ }), !0;
644
+ }), f)) {
645
+ r && e.preventDefault();
646
+ return;
647
+ }
648
+ i.handle && !L(c, i.handle, o, !1) || this._prepareDragStart(e, l, s);
649
+ }
650
+ }
651
+ },
652
+ _prepareDragStart: function(e, t, o) {
653
+ var i = this, r = i.el, a = i.options, l = r.ownerDocument, s;
654
+ if (o && !u && o.parentNode === r) {
655
+ var c = C(o);
656
+ if (_ = r, u = o, S = u.parentNode, ae = u.nextSibling, Fe = o, Oe = a.group, p.dragged = u, ie = {
657
+ target: u,
658
+ clientX: (t || e).clientX,
659
+ clientY: (t || e).clientY
660
+ }, gt = ie.clientX - c.left, mt = ie.clientY - c.top, this._lastX = (t || e).clientX, this._lastY = (t || e).clientY, u.style["will-change"] = "all", s = function() {
661
+ if (P("delayEnded", i, {
662
+ evt: e
663
+ }), p.eventCanceled) {
664
+ i._onDrop();
665
+ return;
666
+ }
667
+ i._disableDelayedDragEvents(), !dt && i.nativeDraggable && (u.draggable = !0), i._triggerDragStart(e, t), N({
668
+ sortable: i,
669
+ name: "choose",
670
+ originalEvent: e
671
+ }), M(u, a.chosenClass, !0);
672
+ }, a.ignore.split(",").forEach(function(f) {
673
+ _t(u, f.trim(), Ve);
674
+ }), v(l, "dragover", re), v(l, "mousemove", re), v(l, "touchmove", re), a.supportPointer ? (v(l, "pointerup", i._onDrop), !this.nativeDraggable && v(l, "pointercancel", i._onDrop)) : (v(l, "mouseup", i._onDrop), v(l, "touchend", i._onDrop), v(l, "touchcancel", i._onDrop)), dt && this.nativeDraggable && (this.options.touchStartThreshold = 4, u.draggable = !0), P("delayStart", this, {
675
+ evt: e
676
+ }), a.delay && (!a.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Ce || q))) {
677
+ if (p.eventCanceled) {
678
+ this._onDrop();
679
+ return;
680
+ }
681
+ a.supportPointer ? (v(l, "pointerup", i._disableDelayedDrag), v(l, "pointercancel", i._disableDelayedDrag)) : (v(l, "mouseup", i._disableDelayedDrag), v(l, "touchend", i._disableDelayedDrag), v(l, "touchcancel", i._disableDelayedDrag)), v(l, "mousemove", i._delayedDragTouchMoveHandler), v(l, "touchmove", i._delayedDragTouchMoveHandler), a.supportPointer && v(l, "pointermove", i._delayedDragTouchMoveHandler), i._dragStartTimer = setTimeout(s, a.delay);
682
+ } else
683
+ s();
684
+ }
685
+ },
686
+ _delayedDragTouchMoveHandler: function(e) {
687
+ var t = e.touches ? e.touches[0] : e;
688
+ Math.max(Math.abs(t.clientX - this._lastX), Math.abs(t.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
689
+ },
690
+ _disableDelayedDrag: function() {
691
+ u && Ve(u), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
692
+ },
693
+ _disableDelayedDragEvents: function() {
694
+ var e = this.el.ownerDocument;
695
+ m(e, "mouseup", this._disableDelayedDrag), m(e, "touchend", this._disableDelayedDrag), m(e, "touchcancel", this._disableDelayedDrag), m(e, "pointerup", this._disableDelayedDrag), m(e, "pointercancel", this._disableDelayedDrag), m(e, "mousemove", this._delayedDragTouchMoveHandler), m(e, "touchmove", this._delayedDragTouchMoveHandler), m(e, "pointermove", this._delayedDragTouchMoveHandler);
696
+ },
697
+ _triggerDragStart: function(e, t) {
698
+ t = t || e.pointerType == "touch" && e, !this.nativeDraggable || t ? this.options.supportPointer ? v(document, "pointermove", this._onTouchMove) : t ? v(document, "touchmove", this._onTouchMove) : v(document, "mousemove", this._onTouchMove) : (v(u, "dragend", this), v(_, "dragstart", this._onDragStart));
699
+ try {
700
+ document.selection ? Re(function() {
701
+ document.selection.empty();
702
+ }) : window.getSelection().removeAllRanges();
703
+ } catch {
704
+ }
705
+ },
706
+ _dragStarted: function(e, t) {
707
+ if (ce = !1, _ && u) {
708
+ P("dragStarted", this, {
709
+ evt: t
710
+ }), this.nativeDraggable && v(document, "dragover", en);
711
+ var o = this.options;
712
+ !e && M(u, o.dragClass, !1), M(u, o.ghostClass, !0), p.active = this, e && this._appendGhost(), N({
713
+ sortable: this,
714
+ name: "start",
715
+ originalEvent: t
716
+ });
717
+ } else
718
+ this._nulling();
719
+ },
720
+ _emulateDragOver: function() {
721
+ if (B) {
722
+ this._lastX = B.clientX, this._lastY = B.clientY, Nt();
723
+ for (var e = document.elementFromPoint(B.clientX, B.clientY), t = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(B.clientX, B.clientY), e !== t); )
724
+ t = e;
725
+ if (u.parentNode[A]._isOutsideThisEl(e), t)
726
+ do {
727
+ if (t[A]) {
728
+ var o = void 0;
729
+ if (o = t[A]._onDragOver({
730
+ clientX: B.clientX,
731
+ clientY: B.clientY,
732
+ target: e,
733
+ rootEl: t
734
+ }), o && !this.options.dragoverBubble)
735
+ break;
736
+ }
737
+ e = t;
738
+ } while (t = Et(t));
739
+ Pt();
740
+ }
741
+ },
742
+ _onTouchMove: function(e) {
743
+ if (ie) {
744
+ var t = this.options, o = t.fallbackTolerance, i = t.fallbackOffset, r = e.touches ? e.touches[0] : e, a = g && de(g, !0), l = g && a && a.a, s = g && a && a.d, c = Pe && I && pt(I), f = (r.clientX - ie.clientX + i.x) / (l || 1) + (c ? c[0] - qe[0] : 0) / (l || 1), d = (r.clientY - ie.clientY + i.y) / (s || 1) + (c ? c[1] - qe[1] : 0) / (s || 1);
745
+ if (!p.active && !ce) {
746
+ if (o && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < o)
747
+ return;
748
+ this._onDragStart(e, !0);
749
+ }
750
+ if (g) {
751
+ a ? (a.e += f - (Ke || 0), a.f += d - (Ue || 0)) : a = {
752
+ a: 1,
753
+ b: 0,
754
+ c: 0,
755
+ d: 1,
756
+ e: f,
757
+ f: d
758
+ };
759
+ var b = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
760
+ h(g, "webkitTransform", b), h(g, "mozTransform", b), h(g, "msTransform", b), h(g, "transform", b), Ke = f, Ue = d, B = r;
761
+ }
762
+ e.cancelable && e.preventDefault();
763
+ }
764
+ },
765
+ _appendGhost: function() {
766
+ if (!g) {
767
+ var e = this.options.fallbackOnBody ? document.body : _, t = C(u, !0, Pe, !0, e), o = this.options;
768
+ if (Pe) {
769
+ for (I = e; h(I, "position") === "static" && h(I, "transform") === "none" && I !== document; )
770
+ I = I.parentNode;
771
+ I !== document.body && I !== document.documentElement ? (I === document && (I = H()), t.top += I.scrollTop, t.left += I.scrollLeft) : I = H(), qe = pt(I);
772
+ }
773
+ g = u.cloneNode(!0), M(g, o.ghostClass, !1), M(g, o.fallbackClass, !0), M(g, o.dragClass, !0), h(g, "transition", ""), h(g, "transform", ""), h(g, "box-sizing", "border-box"), h(g, "margin", 0), h(g, "top", t.top), h(g, "left", t.left), h(g, "width", t.width), h(g, "height", t.height), h(g, "opacity", "0.8"), h(g, "position", Pe ? "absolute" : "fixed"), h(g, "zIndex", "100000"), h(g, "pointerEvents", "none"), p.ghost = g, e.appendChild(g), h(g, "transform-origin", gt / parseInt(g.style.width) * 100 + "% " + mt / parseInt(g.style.height) * 100 + "%");
774
+ }
775
+ },
776
+ _onDragStart: function(e, t) {
777
+ var o = this, i = e.dataTransfer, r = o.options;
778
+ if (P("dragStart", this, {
779
+ evt: e
780
+ }), p.eventCanceled) {
781
+ this._onDrop();
782
+ return;
783
+ }
784
+ P("setupClone", this), p.eventCanceled || (D = Tt(u), D.removeAttribute("id"), D.draggable = !1, D.style["will-change"] = "", this._hideClone(), M(D, this.options.chosenClass, !1), p.clone = D), o.cloneId = Re(function() {
785
+ P("clone", o), !p.eventCanceled && (o.options.removeCloneOnHide || _.insertBefore(D, u), o._hideClone(), N({
786
+ sortable: o,
787
+ name: "clone"
788
+ }));
789
+ }), !t && M(u, r.dragClass, !0), t ? (Ye = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (m(document, "mouseup", o._onDrop), m(document, "touchend", o._onDrop), m(document, "touchcancel", o._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(o, i, u)), v(document, "drop", o), h(u, "transform", "translateZ(0)")), ce = !0, o._dragStartId = Re(o._dragStarted.bind(o, t, e)), v(document, "selectstart", o), be = !0, window.getSelection().removeAllRanges(), Ee && h(document.body, "user-select", "none");
790
+ },
791
+ _onDragOver: function(e) {
792
+ var t = this.el, o = e.target, i, r, a, l = this.options, s = l.group, c = p.active, f = Oe === s, d = l.sort, b = x || c, E, y = this, w = !1;
793
+ if (tt)
794
+ return;
795
+ function X(ve, kt) {
796
+ P(ve, y, G({
797
+ evt: e,
798
+ isOwner: f,
799
+ axis: E ? "vertical" : "horizontal",
800
+ revert: a,
801
+ dragRect: i,
802
+ targetRect: r,
803
+ canSort: d,
804
+ fromSortable: b,
805
+ target: o,
806
+ completed: O,
807
+ onMove: function(ct, Ft) {
808
+ return Ae(_, t, u, i, ct, C(ct), e, Ft);
809
+ },
810
+ changed: Y
811
+ }, kt));
812
+ }
813
+ function W() {
814
+ X("dragOverAnimationCapture"), y.captureAnimationState(), y !== b && b.captureAnimationState();
815
+ }
816
+ function O(ve) {
817
+ return X("dragOverCompleted", {
818
+ insertion: ve
819
+ }), ve && (f ? c._hideClone() : c._showClone(y), y !== b && (M(u, x ? x.options.ghostClass : c.options.ghostClass, !1), M(u, l.ghostClass, !0)), x !== y && y !== p.active ? x = y : y === p.active && x && (x = null), b === y && (y._ignoreWhileAnimating = o), y.animateAll(function() {
820
+ X("dragOverAnimationComplete"), y._ignoreWhileAnimating = null;
821
+ }), y !== b && (b.animateAll(), b._ignoreWhileAnimating = null)), (o === u && !u.animated || o === t && !o.animated) && (se = null), !l.dragoverBubble && !e.rootEl && o !== document && (u.parentNode[A]._isOutsideThisEl(e.target), !ve && re(e)), !l.dragoverBubble && e.stopPropagation && e.stopPropagation(), w = !0;
822
+ }
823
+ function Y() {
824
+ R = $(u), Q = $(u, l.draggable), N({
825
+ sortable: y,
826
+ name: "change",
827
+ toEl: t,
828
+ newIndex: R,
829
+ newDraggableIndex: Q,
830
+ originalEvent: e
831
+ });
832
+ }
833
+ if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), o = L(o, l.draggable, t, !0), X("dragOver"), p.eventCanceled)
834
+ return w;
835
+ if (u.contains(e.target) || o.animated && o.animatingX && o.animatingY || y._ignoreWhileAnimating === o)
836
+ return O(!1);
837
+ if (Ye = !1, c && !l.disabled && (f ? d || (a = S !== _) : x === this || (this.lastPutMode = Oe.checkPull(this, c, u, e)) && s.checkPut(this, c, u, e))) {
838
+ if (E = this._getDirection(e, o) === "vertical", i = C(u), X("dragOverValid"), p.eventCanceled)
839
+ return w;
840
+ if (a)
841
+ return S = _, W(), this._hideClone(), X("revert"), p.eventCanceled || (ae ? _.insertBefore(u, ae) : _.appendChild(u)), O(!0);
842
+ var k = at(t, l.draggable);
843
+ if (!k || rn(e, E, this) && !k.animated) {
844
+ if (k === u)
845
+ return O(!1);
846
+ if (k && t === e.target && (o = k), o && (r = C(o)), Ae(_, t, u, i, o, r, e, !!o) !== !1)
847
+ return W(), k && k.nextSibling ? t.insertBefore(u, k.nextSibling) : t.appendChild(u), S = t, Y(), O(!0);
848
+ } else if (k && on(e, E, this)) {
849
+ var te = fe(t, 0, l, !0);
850
+ if (te === u)
851
+ return O(!1);
852
+ if (o = te, r = C(o), Ae(_, t, u, i, o, r, e, !1) !== !1)
853
+ return W(), t.insertBefore(u, te), S = t, Y(), O(!0);
854
+ } else if (o.parentNode === t) {
855
+ r = C(o);
856
+ var z = 0, ne, he = u.parentNode !== t, F = !Qt(u.animated && u.toRect || i, o.animated && o.toRect || r, E), pe = E ? "top" : "left", V = ht(o, "top", "top") || ht(u, "top", "top"), ge = V ? V.scrollTop : void 0;
857
+ se !== o && (ne = r[pe], Te = !1, Ne = !F && l.invertSwap || he), z = an(e, o, r, E, F ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Ne, se === o);
858
+ var j;
859
+ if (z !== 0) {
860
+ var oe = $(u);
861
+ do
862
+ oe -= z, j = S.children[oe];
863
+ while (j && (h(j, "display") === "none" || j === g));
864
+ }
865
+ if (z === 0 || j === o)
866
+ return O(!1);
867
+ se = o, Se = z;
868
+ var me = o.nextElementSibling, Z = !1;
869
+ Z = z === 1;
870
+ var Ie = Ae(_, t, u, i, o, r, e, Z);
871
+ if (Ie !== !1)
872
+ return (Ie === 1 || Ie === -1) && (Z = Ie === 1), tt = !0, setTimeout(nn, 30), W(), Z && !me ? t.appendChild(u) : o.parentNode.insertBefore(u, Z ? me : o), V && St(V, 0, ge - V.scrollTop), S = u.parentNode, ne !== void 0 && !Ne && (Me = Math.abs(ne - C(o)[pe])), Y(), O(!0);
873
+ }
874
+ if (t.contains(u))
875
+ return O(!1);
876
+ }
877
+ return !1;
878
+ },
879
+ _ignoreWhileAnimating: null,
880
+ _offMoveEvents: function() {
881
+ m(document, "mousemove", this._onTouchMove), m(document, "touchmove", this._onTouchMove), m(document, "pointermove", this._onTouchMove), m(document, "dragover", re), m(document, "mousemove", re), m(document, "touchmove", re);
882
+ },
883
+ _offUpEvents: function() {
884
+ var e = this.el.ownerDocument;
885
+ m(e, "mouseup", this._onDrop), m(e, "touchend", this._onDrop), m(e, "pointerup", this._onDrop), m(e, "pointercancel", this._onDrop), m(e, "touchcancel", this._onDrop), m(document, "selectstart", this);
886
+ },
887
+ _onDrop: function(e) {
888
+ var t = this.el, o = this.options;
889
+ if (R = $(u), Q = $(u, o.draggable), P("drop", this, {
890
+ evt: e
891
+ }), S = u && u.parentNode, R = $(u), Q = $(u, o.draggable), p.eventCanceled) {
892
+ this._nulling();
893
+ return;
894
+ }
895
+ ce = !1, Ne = !1, Te = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), nt(this.cloneId), nt(this._dragStartId), this.nativeDraggable && (m(document, "drop", this), m(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ee && h(document.body, "user-select", ""), h(u, "transform", ""), e && (be && (e.cancelable && e.preventDefault(), !o.dropBubble && e.stopPropagation()), g && g.parentNode && g.parentNode.removeChild(g), (_ === S || x && x.lastPutMode !== "clone") && D && D.parentNode && D.parentNode.removeChild(D), u && (this.nativeDraggable && m(u, "dragend", this), Ve(u), u.style["will-change"] = "", be && !ce && M(u, x ? x.options.ghostClass : this.options.ghostClass, !1), M(u, this.options.chosenClass, !1), N({
896
+ sortable: this,
897
+ name: "unchoose",
898
+ toEl: S,
899
+ newIndex: null,
900
+ newDraggableIndex: null,
901
+ originalEvent: e
902
+ }), _ !== S ? (R >= 0 && (N({
903
+ rootEl: S,
904
+ name: "add",
905
+ toEl: S,
906
+ fromEl: _,
907
+ originalEvent: e
908
+ }), N({
909
+ sortable: this,
910
+ name: "remove",
911
+ toEl: S,
912
+ originalEvent: e
913
+ }), N({
914
+ rootEl: S,
915
+ name: "sort",
916
+ toEl: S,
917
+ fromEl: _,
918
+ originalEvent: e
919
+ }), N({
920
+ sortable: this,
921
+ name: "sort",
922
+ toEl: S,
923
+ originalEvent: e
924
+ })), x && x.save()) : R !== ue && R >= 0 && (N({
925
+ sortable: this,
926
+ name: "update",
927
+ toEl: S,
928
+ originalEvent: e
929
+ }), N({
930
+ sortable: this,
931
+ name: "sort",
932
+ toEl: S,
933
+ originalEvent: e
934
+ })), p.active && ((R == null || R === -1) && (R = ue, Q = De), N({
935
+ sortable: this,
936
+ name: "end",
937
+ toEl: S,
938
+ originalEvent: e
939
+ }), this.save()))), this._nulling();
940
+ },
941
+ _nulling: function() {
942
+ P("nulling", this), _ = u = S = g = ae = D = Fe = J = ie = B = be = R = Q = ue = De = se = Se = x = Oe = p.dragged = p.ghost = p.clone = p.active = null, Le.forEach(function(e) {
943
+ e.checked = !0;
944
+ }), Le.length = Ke = Ue = 0;
945
+ },
946
+ handleEvent: function(e) {
947
+ switch (e.type) {
948
+ case "drop":
949
+ case "dragend":
950
+ this._onDrop(e);
951
+ break;
952
+ case "dragenter":
953
+ case "dragover":
954
+ u && (this._onDragOver(e), tn(e));
955
+ break;
956
+ case "selectstart":
957
+ e.preventDefault();
958
+ break;
959
+ }
960
+ },
961
+ toArray: function() {
962
+ for (var e = [], t, o = this.el.children, i = 0, r = o.length, a = this.options; i < r; i++)
963
+ t = o[i], L(t, a.draggable, this.el, !1) && e.push(t.getAttribute(a.dataIdAttr) || sn(t));
964
+ return e;
965
+ },
966
+ sort: function(e, t) {
967
+ var o = {}, i = this.el;
968
+ this.toArray().forEach(function(r, a) {
969
+ var l = i.children[a];
970
+ L(l, this.options.draggable, i, !1) && (o[r] = l);
971
+ }, this), t && this.captureAnimationState(), e.forEach(function(r) {
972
+ o[r] && (i.removeChild(o[r]), i.appendChild(o[r]));
973
+ }), t && this.animateAll();
974
+ },
975
+ save: function() {
976
+ var e = this.options.store;
977
+ e && e.set && e.set(this);
978
+ },
979
+ closest: function(e, t) {
980
+ return L(e, t || this.options.draggable, this.el, !1);
981
+ },
982
+ option: function(e, t) {
983
+ var o = this.options;
984
+ if (t === void 0)
985
+ return o[e];
986
+ var i = xe.modifyOption(this, e, t);
987
+ typeof i < "u" ? o[e] = i : o[e] = t, e === "group" && Ot(o);
988
+ },
989
+ destroy: function() {
990
+ P("destroy", this);
991
+ var e = this.el;
992
+ e[A] = null, m(e, "mousedown", this._onTapStart), m(e, "touchstart", this._onTapStart), m(e, "pointerdown", this._onTapStart), this.nativeDraggable && (m(e, "dragover", this), m(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(t) {
993
+ t.removeAttribute("draggable");
994
+ }), this._onDrop(), this._disableDelayedDragEvents(), Be.splice(Be.indexOf(this.el), 1), this.el = e = null;
995
+ },
996
+ _hideClone: function() {
997
+ if (!J) {
998
+ if (P("hideClone", this), p.eventCanceled)
999
+ return;
1000
+ h(D, "display", "none"), this.options.removeCloneOnHide && D.parentNode && D.parentNode.removeChild(D), J = !0;
1001
+ }
1002
+ },
1003
+ _showClone: function(e) {
1004
+ if (e.lastPutMode !== "clone") {
1005
+ this._hideClone();
1006
+ return;
1007
+ }
1008
+ if (J) {
1009
+ if (P("showClone", this), p.eventCanceled)
1010
+ return;
1011
+ u.parentNode == _ && !this.options.group.revertClone ? _.insertBefore(D, u) : ae ? _.insertBefore(D, ae) : _.appendChild(D), this.options.group.revertClone && this.animate(u, D), h(D, "display", ""), J = !1;
1012
+ }
1013
+ }
1014
+ };
1015
+ function tn(n) {
1016
+ n.dataTransfer && (n.dataTransfer.dropEffect = "move"), n.cancelable && n.preventDefault();
1017
+ }
1018
+ function Ae(n, e, t, o, i, r, a, l) {
1019
+ var s, c = n[A], f = c.options.onMove, d;
1020
+ return window.CustomEvent && !q && !Ce ? s = new CustomEvent("move", {
1021
+ bubbles: !0,
1022
+ cancelable: !0
1023
+ }) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = e, s.from = n, s.dragged = t, s.draggedRect = o, s.related = i || e, s.relatedRect = r || C(e), s.willInsertAfter = l, s.originalEvent = a, n.dispatchEvent(s), f && (d = f.call(c, s, a)), d;
1024
+ }
1025
+ function Ve(n) {
1026
+ n.draggable = !1;
1027
+ }
1028
+ function nn() {
1029
+ tt = !1;
1030
+ }
1031
+ function on(n, e, t) {
1032
+ var o = C(fe(t.el, 0, t.options, !0)), i = Ct(t.el, t.options, g), r = 10;
1033
+ return e ? n.clientX < i.left - r || n.clientY < o.top && n.clientX < o.right : n.clientY < i.top - r || n.clientY < o.bottom && n.clientX < o.left;
1034
+ }
1035
+ function rn(n, e, t) {
1036
+ var o = C(at(t.el, t.options.draggable)), i = Ct(t.el, t.options, g), r = 10;
1037
+ return e ? n.clientX > i.right + r || n.clientY > o.bottom && n.clientX > o.left : n.clientY > i.bottom + r || n.clientX > o.right && n.clientY > o.top;
1038
+ }
1039
+ function an(n, e, t, o, i, r, a, l) {
1040
+ var s = o ? n.clientY : n.clientX, c = o ? t.height : t.width, f = o ? t.top : t.left, d = o ? t.bottom : t.right, b = !1;
1041
+ if (!a) {
1042
+ if (l && Me < c * i) {
1043
+ if (!Te && (Se === 1 ? s > f + c * r / 2 : s < d - c * r / 2) && (Te = !0), Te)
1044
+ b = !0;
1045
+ else if (Se === 1 ? s < f + Me : s > d - Me)
1046
+ return -Se;
1047
+ } else if (s > f + c * (1 - i) / 2 && s < d - c * (1 - i) / 2)
1048
+ return ln(e);
1049
+ }
1050
+ return b = b || a, b && (s < f + c * r / 2 || s > d - c * r / 2) ? s > f + c / 2 ? 1 : -1 : 0;
1051
+ }
1052
+ function ln(n) {
1053
+ return $(u) < $(n) ? 1 : -1;
1054
+ }
1055
+ function sn(n) {
1056
+ for (var e = n.tagName + n.className + n.src + n.href + n.textContent, t = e.length, o = 0; t--; )
1057
+ o += e.charCodeAt(t);
1058
+ return o.toString(36);
1059
+ }
1060
+ function cn(n) {
1061
+ Le.length = 0;
1062
+ for (var e = n.getElementsByTagName("input"), t = e.length; t--; ) {
1063
+ var o = e[t];
1064
+ o.checked && Le.push(o);
1065
+ }
1066
+ }
1067
+ function Re(n) {
1068
+ return setTimeout(n, 0);
1069
+ }
1070
+ function nt(n) {
1071
+ return clearTimeout(n);
1072
+ }
1073
+ He && v(document, "touchmove", function(n) {
1074
+ (p.active || ce) && n.cancelable && n.preventDefault();
1075
+ });
1076
+ p.utils = {
1077
+ on: v,
1078
+ off: m,
1079
+ css: h,
1080
+ find: _t,
1081
+ is: function(e, t) {
1082
+ return !!L(e, t, e, !1);
1083
+ },
1084
+ extend: Gt,
1085
+ throttle: Dt,
1086
+ closest: L,
1087
+ toggleClass: M,
1088
+ clone: Tt,
1089
+ index: $,
1090
+ nextTick: Re,
1091
+ cancelNextTick: nt,
1092
+ detectDirection: It,
1093
+ getChild: fe,
1094
+ expando: A
1095
+ };
1096
+ p.get = function(n) {
1097
+ return n[A];
1098
+ };
1099
+ p.mount = function() {
1100
+ for (var n = arguments.length, e = new Array(n), t = 0; t < n; t++)
1101
+ e[t] = arguments[t];
1102
+ e[0].constructor === Array && (e = e[0]), e.forEach(function(o) {
1103
+ if (!o.prototype || !o.prototype.constructor)
1104
+ throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));
1105
+ o.utils && (p.utils = G(G({}, p.utils), o.utils)), xe.mount(o);
1106
+ });
1107
+ };
1108
+ p.create = function(n, e) {
1109
+ return new p(n, e);
1110
+ };
1111
+ p.version = zt;
1112
+ var T = [], ye, ot, it = !1, Ze, Qe, ze, we;
1113
+ function un() {
1114
+ function n() {
1115
+ this.defaults = {
1116
+ scroll: !0,
1117
+ forceAutoScrollFallback: !1,
1118
+ scrollSensitivity: 30,
1119
+ scrollSpeed: 10,
1120
+ bubbleScroll: !0
1121
+ };
1122
+ for (var e in this)
1123
+ e.charAt(0) === "_" && typeof this[e] == "function" && (this[e] = this[e].bind(this));
1124
+ }
1125
+ return n.prototype = {
1126
+ dragStarted: function(t) {
1127
+ var o = t.originalEvent;
1128
+ this.sortable.nativeDraggable ? v(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? v(document, "pointermove", this._handleFallbackAutoScroll) : o.touches ? v(document, "touchmove", this._handleFallbackAutoScroll) : v(document, "mousemove", this._handleFallbackAutoScroll);
1129
+ },
1130
+ dragOverCompleted: function(t) {
1131
+ var o = t.originalEvent;
1132
+ !this.options.dragOverBubble && !o.rootEl && this._handleAutoScroll(o);
1133
+ },
1134
+ drop: function() {
1135
+ this.sortable.nativeDraggable ? m(document, "dragover", this._handleAutoScroll) : (m(document, "pointermove", this._handleFallbackAutoScroll), m(document, "touchmove", this._handleFallbackAutoScroll), m(document, "mousemove", this._handleFallbackAutoScroll)), bt(), $e(), Wt();
1136
+ },
1137
+ nulling: function() {
1138
+ ze = ot = ye = it = we = Ze = Qe = null, T.length = 0;
1139
+ },
1140
+ _handleFallbackAutoScroll: function(t) {
1141
+ this._handleAutoScroll(t, !0);
1142
+ },
1143
+ _handleAutoScroll: function(t, o) {
1144
+ var i = this, r = (t.touches ? t.touches[0] : t).clientX, a = (t.touches ? t.touches[0] : t).clientY, l = document.elementFromPoint(r, a);
1145
+ if (ze = t, o || this.options.forceAutoScrollFallback || Ce || q || Ee) {
1146
+ Je(t, this.options, l, o);
1147
+ var s = ee(l, !0);
1148
+ it && (!we || r !== Ze || a !== Qe) && (we && bt(), we = setInterval(function() {
1149
+ var c = ee(document.elementFromPoint(r, a), !0);
1150
+ c !== s && (s = c, $e()), Je(t, i.options, c, o);
1151
+ }, 10), Ze = r, Qe = a);
1152
+ } else {
1153
+ if (!this.options.bubbleScroll || ee(l, !0) === H()) {
1154
+ $e();
1155
+ return;
1156
+ }
1157
+ Je(t, this.options, ee(l, !1), !1);
1158
+ }
1159
+ }
1160
+ }, U(n, {
1161
+ pluginName: "scroll",
1162
+ initializeByDefault: !0
1163
+ });
1164
+ }
1165
+ function $e() {
1166
+ T.forEach(function(n) {
1167
+ clearInterval(n.pid);
1168
+ }), T = [];
1169
+ }
1170
+ function bt() {
1171
+ clearInterval(we);
1172
+ }
1173
+ var Je = Dt(function(n, e, t, o) {
1174
+ if (!!e.scroll) {
1175
+ var i = (n.touches ? n.touches[0] : n).clientX, r = (n.touches ? n.touches[0] : n).clientY, a = e.scrollSensitivity, l = e.scrollSpeed, s = H(), c = !1, f;
1176
+ ot !== t && (ot = t, $e(), ye = e.scroll, f = e.scrollFn, ye === !0 && (ye = ee(t, !0)));
1177
+ var d = 0, b = ye;
1178
+ do {
1179
+ var E = b, y = C(E), w = y.top, X = y.bottom, W = y.left, O = y.right, Y = y.width, k = y.height, te = void 0, z = void 0, ne = E.scrollWidth, he = E.scrollHeight, F = h(E), pe = E.scrollLeft, V = E.scrollTop;
1180
+ E === s ? (te = Y < ne && (F.overflowX === "auto" || F.overflowX === "scroll" || F.overflowX === "visible"), z = k < he && (F.overflowY === "auto" || F.overflowY === "scroll" || F.overflowY === "visible")) : (te = Y < ne && (F.overflowX === "auto" || F.overflowX === "scroll"), z = k < he && (F.overflowY === "auto" || F.overflowY === "scroll"));
1181
+ var ge = te && (Math.abs(O - i) <= a && pe + Y < ne) - (Math.abs(W - i) <= a && !!pe), j = z && (Math.abs(X - r) <= a && V + k < he) - (Math.abs(w - r) <= a && !!V);
1182
+ if (!T[d])
1183
+ for (var oe = 0; oe <= d; oe++)
1184
+ T[oe] || (T[oe] = {});
1185
+ (T[d].vx != ge || T[d].vy != j || T[d].el !== E) && (T[d].el = E, T[d].vx = ge, T[d].vy = j, clearInterval(T[d].pid), (ge != 0 || j != 0) && (c = !0, T[d].pid = setInterval(function() {
1186
+ o && this.layer === 0 && p.active._onTouchMove(ze);
1187
+ var me = T[this.layer].vy ? T[this.layer].vy * l : 0, Z = T[this.layer].vx ? T[this.layer].vx * l : 0;
1188
+ typeof f == "function" && f.call(p.dragged.parentNode[A], Z, me, n, ze, T[this.layer].el) !== "continue" || St(T[this.layer].el, Z, me);
1189
+ }.bind({
1190
+ layer: d
1191
+ }), 24))), d++;
1192
+ } while (e.bubbleScroll && b !== s && (b = ee(b, !1)));
1193
+ it = c;
1194
+ }
1195
+ }, 30), At = function(e) {
1196
+ var t = e.originalEvent, o = e.putSortable, i = e.dragEl, r = e.activeSortable, a = e.dispatchSortableEvent, l = e.hideGhostForTarget, s = e.unhideGhostForTarget;
1197
+ if (!!t) {
1198
+ var c = o || r;
1199
+ l();
1200
+ var f = t.changedTouches && t.changedTouches.length ? t.changedTouches[0] : t, d = document.elementFromPoint(f.clientX, f.clientY);
1201
+ s(), c && !c.el.contains(d) && (a("spill"), this.onSpill({
1202
+ dragEl: i,
1203
+ putSortable: o
1204
+ }));
1205
+ }
1206
+ };
1207
+ function lt() {
1208
+ }
1209
+ lt.prototype = {
1210
+ startIndex: null,
1211
+ dragStart: function(e) {
1212
+ var t = e.oldDraggableIndex;
1213
+ this.startIndex = t;
1214
+ },
1215
+ onSpill: function(e) {
1216
+ var t = e.dragEl, o = e.putSortable;
1217
+ this.sortable.captureAnimationState(), o && o.captureAnimationState();
1218
+ var i = fe(this.sortable.el, this.startIndex, this.options);
1219
+ i ? this.sortable.el.insertBefore(t, i) : this.sortable.el.appendChild(t), this.sortable.animateAll(), o && o.animateAll();
1220
+ },
1221
+ drop: At
1222
+ };
1223
+ U(lt, {
1224
+ pluginName: "revertOnSpill"
1225
+ });
1226
+ function st() {
1227
+ }
1228
+ st.prototype = {
1229
+ onSpill: function(e) {
1230
+ var t = e.dragEl, o = e.putSortable, i = o || this.sortable;
1231
+ i.captureAnimationState(), t.parentNode && t.parentNode.removeChild(t), i.animateAll();
1232
+ },
1233
+ drop: At
1234
+ };
1235
+ U(st, {
1236
+ pluginName: "removeOnSpill"
1237
+ });
1238
+ p.mount(new un());
1239
+ p.mount(st, lt);
1240
+ const dn = ["#00A88E", "#91cc75", "#fac858", "#ee6666", "#73c0de", "#3ba272", "#fc8452", "#9a60b4", "#5470c6", "#ea7ccc", "#FA6400"], fn = {
1241
+ name: "GdColorEditor",
1242
+ props: {
1243
+ maxLength: {
1244
+ type: Number,
1245
+ default: 12
1246
+ }
1247
+ },
1248
+ data() {
1249
+ return {
1250
+ buttons: [
1251
+ {
1252
+ displayName: "\u5BFC\u5165\u6570\u636E",
1253
+ functionName: "importData",
1254
+ show: !0,
1255
+ transKey: "gd.btnConfig.btnImportData",
1256
+ icon: "el-icon-plus"
1257
+ },
1258
+ {
1259
+ displayName: "\u590D\u5236\u6570\u636E",
1260
+ functionName: "copyData",
1261
+ show: !0,
1262
+ transKey: "gd.form.copyData",
1263
+ icon: "el-icon-document-copy"
1264
+ },
1265
+ {
1266
+ displayName: "\u65B0\u589E",
1267
+ functionName: "add",
1268
+ show: !0,
1269
+ transKey: "gd.btn.add",
1270
+ icon: "el-icon-plus"
1271
+ },
1272
+ {
1273
+ displayName: "\u786E\u5B9A",
1274
+ functionName: "handleSubmit",
1275
+ show: !0,
1276
+ transKey: "gd.btn.confirm",
1277
+ icon: "el-icon-document-checked"
1278
+ }
1279
+ ],
1280
+ width: "800px",
1281
+ visible: !1,
1282
+ confirmLoading: !1,
1283
+ fullscreen: !1,
1284
+ loadData: [],
1285
+ columns: [
1286
+ {
1287
+ transKey: "gd.settings.color",
1288
+ prop: "color",
1289
+ label: "\u989C\u8272",
1290
+ type: "slot",
1291
+ slotType: "color",
1292
+ align: "left"
1293
+ },
1294
+ {
1295
+ transKey: "gd.settings.colorValue",
1296
+ prop: "name",
1297
+ label: "\u989C\u8272\u503C",
1298
+ type: "slot",
1299
+ slotType: "name",
1300
+ align: "left"
1301
+ },
1302
+ {
1303
+ transKey: "gd.settings.colorType",
1304
+ prop: "colorType",
1305
+ label: "\u9009\u62E9\u65B9\u5F0F",
1306
+ width: "320",
1307
+ type: "slot",
1308
+ slotType: "colorType",
1309
+ align: "left"
1310
+ },
1311
+ {
1312
+ transKey: "gd.btn.handle",
1313
+ prop: "handle",
1314
+ label: "\u64CD\u4F5C",
1315
+ width: "120",
1316
+ type: "slot",
1317
+ slotType: "handle",
1318
+ align: "center"
1319
+ }
1320
+ ],
1321
+ loadDataSource: (n) => new Promise((e, t) => {
1322
+ this.confirmLoading = !1, e({ pageNo: 1, pageSize: 100, totalRows: 0, rows: this.loadData });
1323
+ })
1324
+ };
1325
+ },
1326
+ computed: {
1327
+ height() {
1328
+ return this.screenHeight - (this.fullscreen ? 72 : 230);
1329
+ },
1330
+ predefine() {
1331
+ let n = [];
1332
+ return dn.forEach((e) => {
1333
+ n.push(e);
1334
+ }), n;
1335
+ },
1336
+ getButtons() {
1337
+ return this.buttons.filter((n) => !(this.loadData.length >= this.maxLength && n.functionName === "add"));
1338
+ },
1339
+ ...Mt(["screenHeight", "tableSize", "tablePageSize", "echartsColor", "primaryColor"])
1340
+ },
1341
+ methods: {
1342
+ followingColor(n) {
1343
+ let e = [];
1344
+ n.forEach((t) => {
1345
+ e.push({
1346
+ color: String(t) === "0" ? this.primaryColor : t,
1347
+ name: String(t) === "0" ? this.$i18nt("gd.settings.followTheme", "\u8DDF\u968F\u7CFB\u7EDF\u4E3B\u9898\u8272") : t,
1348
+ code: t,
1349
+ colorType: String(t) === "0" ? "0" : "1",
1350
+ id: Ge(8)
1351
+ });
1352
+ }), this.loadData = [...e], this.$refs.table.setTableData(this.loadData, !1);
1353
+ },
1354
+ importData() {
1355
+ let n = this;
1356
+ const e = this.$createElement;
1357
+ $t((t) => {
1358
+ if (!t) {
1359
+ n.$message.error(n.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25"));
1360
+ return;
1361
+ }
1362
+ const o = t.split(",");
1363
+ let i = [];
1364
+ o.forEach((r) => {
1365
+ i.push(
1366
+ e(
1367
+ "div",
1368
+ {
1369
+ style: `width: 15px;height: 15px;margin: 0 2px 6px 0;background:${Number(r) === 0 ? n.primaryColor : r}`
1370
+ },
1371
+ ""
1372
+ )
1373
+ );
1374
+ }), n.$msgbox({
1375
+ title: n.$i18nt("gd.settings.followingColorTip", "\u662F\u5426\u5BFC\u5165\u4EE5\u4E0B\u989C\u8272\u503C?"),
1376
+ message: e("div", { style: "display: flex;align-items: center;justify-content: flex-start; flex-wrap: wrap;" }, [
1377
+ i
1378
+ ]),
1379
+ showCancelButton: !0,
1380
+ confirmButtonText: n.$i18nt("gd.btn.confirm", "\u786E\u8BA4"),
1381
+ cancelButtonText: n.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
1382
+ callback: () => {
1383
+ },
1384
+ beforeClose: (r, a, l) => {
1385
+ r === "confirm" && n.followingColor(o), l();
1386
+ }
1387
+ });
1388
+ });
1389
+ },
1390
+ copyData() {
1391
+ let n = [];
1392
+ this.loadData.forEach((e) => {
1393
+ n.push(e.colorType === "0" ? "0" : e.color);
1394
+ }), Xt(n.join(","), () => {
1395
+ this.$message.success(this.$i18nt("gd.https.beenCopied", "\u6570\u636E\u5DF2\u590D\u5236"));
1396
+ });
1397
+ },
1398
+ handleSubmit() {
1399
+ if (this.loadData.length < 5) {
1400
+ this.$message.error(this.$i18nt("gd.settings.colorTip", "\u6700\u5C11\u8BBE\u7F6E5\u79CD\u989C\u8272!"));
1401
+ return;
1402
+ }
1403
+ let n = [];
1404
+ this.loadData.forEach((e) => {
1405
+ n.push(e.colorType === "0" ? "0" : e.color);
1406
+ }), this.$emit("ok", n), this.closed();
1407
+ },
1408
+ add() {
1409
+ const n = {
1410
+ color: this.primaryColor,
1411
+ name: this.$i18nt("gd.settings.followTheme", "\u8DDF\u968F\u7CFB\u7EDF\u4E3B\u9898\u8272"),
1412
+ code: "0",
1413
+ colorType: "0",
1414
+ id: Ge(8)
1415
+ };
1416
+ this.loadData = this.loadData.concat(n), this.$refs.table.setTableData(this.loadData, !1);
1417
+ },
1418
+ deleteItem(n) {
1419
+ this.loadData = this.loadData.filter((e) => e.id !== n.id), this.$refs.table.setTableData(this.loadData, !1);
1420
+ },
1421
+ open(n) {
1422
+ this.confirmLoading = !0;
1423
+ let e = n || [...this.echartsColor];
1424
+ this.record = n, this.visible = !0;
1425
+ let t = [];
1426
+ e.forEach((o) => {
1427
+ t.push({
1428
+ color: String(o) === "0" ? this.primaryColor : o,
1429
+ name: String(o) === "0" ? this.$i18nt("gd.settings.followTheme", "\u8DDF\u968F\u7CFB\u7EDF\u4E3B\u9898\u8272") : o,
1430
+ code: o,
1431
+ colorType: String(o) === "0" ? "0" : "1",
1432
+ id: Ge(8)
1433
+ });
1434
+ }), this.loadData = [...t], this.$nextTick(() => {
1435
+ setTimeout(() => {
1436
+ this.refresh(), this.rowDrop();
1437
+ }, 100);
1438
+ });
1439
+ },
1440
+ refresh() {
1441
+ this.$refs.table.refresh();
1442
+ },
1443
+ rowDrop() {
1444
+ const n = document.querySelector("#config-table .el-table__body-wrapper tbody");
1445
+ let e = this;
1446
+ p.create(n, {
1447
+ onEnd: (t) => {
1448
+ const o = e.loadData[t.oldIndex];
1449
+ e.loadData.splice(t.oldIndex, 1), e.loadData.splice(t.newIndex, 0, o), console.log(e.loadData);
1450
+ },
1451
+ animation: 300,
1452
+ handle: ".el-table__row"
1453
+ });
1454
+ },
1455
+ closed() {
1456
+ this.fullscreen = !1, this.visible = !1;
1457
+ },
1458
+ toggleFullscreen() {
1459
+ this.fullscreen = !this.fullscreen;
1460
+ },
1461
+ doEvent(n) {
1462
+ const e = n.item.functionName;
1463
+ this[e] && this[e]();
1464
+ }
1465
+ }
1466
+ };
1467
+ var hn = function() {
1468
+ var e = this, t = e._self._c;
1469
+ return t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(o) {
1470
+ e.visible = o;
1471
+ }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.settings.echartsColorStyle"), fullscreen: e.fullscreen, buttons: e.getButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "margin-top": "-44px" }, attrs: { id: "config-table" } }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadDataSource, size: e.tableSize, pageSize: e.tablePageSize, columns: e.columns, height: e.height, showPagination: !1, initialLoading: !1, disabledRefresh: !0 }, scopedSlots: e._u([{ key: "color", fn: function({ column: o, row: i }) {
1472
+ return [i.colorType === "1" ? t("div", { staticClass: "echarts-color-item", style: `background:${i.color}` }) : t("div", { staticClass: "echarts-color-item", style: `background:${e.primaryColor}` })];
1473
+ } }, { key: "name", fn: function({ column: o, row: i }) {
1474
+ return [i.colorType === "1" ? t("div", [e._v(e._s(i.name))]) : t("div", [e._v(e._s(e.$i18nt("gd.settings.followTheme", "\u8DDF\u968F\u7CFB\u7EDF\u4E3B\u9898\u8272")))])];
1475
+ } }, { key: "colorType", fn: function({ column: o, row: i, index: r }) {
1476
+ return [t("div", { staticClass: "flex-between" }, [t("el-select", { staticStyle: { flex: "1", "margin-right": "12px" }, attrs: { placeholder: e.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9") }, model: { value: i.colorType, callback: function(a) {
1477
+ e.$set(i, "colorType", a);
1478
+ }, expression: "row.colorType" } }, [t("el-option", { attrs: { label: e.$i18nt("gd.settings.followTheme", "\u8DDF\u968F\u7CFB\u7EDF\u4E3B\u9898\u8272"), value: "0" } }), t("el-option", { attrs: { label: e.$i18nt("gd.settings.custom", "\u81EA\u5B9A\u4E49"), value: "1" } })], 1), i.colorType === "0" ? t("el-color-picker", { ref: "colorPicker", staticClass: "theme-picker", attrs: { size: "small", predefine: e.predefine, "popper-class": "theme-picker-dropdown", disabled: "" }, model: { value: e.primaryColor, callback: function(a) {
1479
+ e.primaryColor = a;
1480
+ }, expression: "primaryColor" } }) : t("el-color-picker", { ref: "colorPicker", staticClass: "theme-picker", attrs: { size: "small", predefine: e.predefine, "popper-class": "theme-picker-dropdown" }, model: { value: i.color, callback: function(a) {
1481
+ e.$set(i, "color", a);
1482
+ }, expression: "row.color" } })], 1)];
1483
+ } }, { key: "handle", fn: function({ column: o, row: i, index: r }) {
1484
+ return [t("div", { staticClass: "export-handle" }, [t("i", { staticClass: "el-icon-rank active-color drag-move" }), t("i", { staticClass: "el-icon-close", on: { click: function(a) {
1485
+ return e.deleteItem(i);
1486
+ } } })])];
1487
+ } }]) })], 1)], 2);
1488
+ }, pn = [], gn = /* @__PURE__ */ Rt(
1489
+ fn,
1490
+ hn,
1491
+ pn,
1492
+ !1,
1493
+ null,
1494
+ "ad8de0a5",
1495
+ null,
1496
+ null
1497
+ );
1498
+ const et = gn.exports;
1499
+ et.install = function(n) {
1500
+ n.component(et.name, et);
1501
+ };
1502
+ export {
1503
+ et as G,
1504
+ p as S
1505
+ };