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.
- package/lib/approvalModel.a26e8ff6.mjs +340 -0
- package/lib/approvalModel.cfd81971.js +1 -0
- package/lib/btnFunctionName.9aabfed0.js +1 -0
- package/lib/btnFunctionName.d08627cb.mjs +254 -0
- package/lib/btnRelation.8e608261.mjs +156 -0
- package/lib/btnRelation.cb3dc022.js +1 -0
- package/lib/businessRules.754cc398.mjs +539 -0
- package/lib/businessRules.f41f7035.js +1 -0
- package/lib/buttonRule.4483314f.mjs +396 -0
- package/lib/buttonRule.645de1d3.js +1 -0
- package/lib/chartDisplayRules.1f4d1f29.mjs +288 -0
- package/lib/chartDisplayRules.fedfefe8.js +1 -0
- package/lib/components.chartbi.470b96af.mjs +1798 -0
- package/lib/components.chartbi.e9459775.js +8 -0
- package/lib/components.coloreditor.affa0400.mjs +1505 -0
- package/lib/components.coloreditor.dbec8da6.js +6 -0
- package/lib/components.dataassign.39281072.mjs +147 -0
- package/lib/components.dataassign.b6a1bffb.js +1 -0
- package/lib/components.echarts.95ffc3b3.mjs +811 -0
- package/lib/components.echarts.d09e9850.js +4 -0
- package/lib/components.exception.11315db5.js +1 -0
- package/lib/components.exception.facf9df9.mjs +61 -0
- package/lib/components.form.56ea8f98.js +41 -0
- package/lib/components.form.a7b3ea37.mjs +7813 -0
- package/lib/components.globalheader.0a7ce959.js +1 -0
- package/lib/components.globalheader.4a5f7225.mjs +54 -0
- package/lib/components.iconselector.0c03cfc7.js +1 -0
- package/lib/components.iconselector.251c29b9.mjs +1169 -0
- package/lib/components.imgpreview.5546e541.mjs +213 -0
- package/lib/components.imgpreview.706a89f0.js +1 -0
- package/lib/components.lunccalendar.5363cba5.mjs +1137 -0
- package/lib/components.lunccalendar.fe7db238.js +1 -0
- package/lib/components.middleware.01601349.js +1 -0
- package/lib/components.middleware.f5f4ac0f.mjs +148 -0
- package/lib/components.modaltitle.5ded43f9.mjs +127 -0
- package/lib/components.modaltitle.cc9ba616.js +1 -0
- package/lib/components.multitab.0f9da9f3.mjs +140 -0
- package/lib/components.multitab.726cff2f.js +1 -0
- package/lib/components.selecttree.1a71c963.mjs +170 -0
- package/lib/components.selecttree.2fadffca.js +1 -0
- package/lib/components.settingdrawer.1af86231.js +1 -0
- package/lib/components.settingdrawer.adc262cf.mjs +237 -0
- package/lib/components.sidemenu.03442146.mjs +277 -0
- package/lib/components.sidemenu.5107c7e3.js +1 -0
- package/lib/components.sidenavmenu.3d255147.mjs +1147 -0
- package/lib/components.sidenavmenu.ef33de39.js +1 -0
- package/lib/components.statuschange.805a751b.mjs +116 -0
- package/lib/components.statuschange.83646c5d.js +1 -0
- package/lib/components.table.61eb5d81.js +8 -0
- package/lib/components.table.c986e58d.mjs +4650 -0
- package/lib/components.tableumy.35b465f9.mjs +453 -0
- package/lib/components.tableumy.eba43953.js +1 -0
- package/lib/components.tablevirtual.14a8dbed.mjs +564 -0
- package/lib/components.tablevirtual.6af04c44.js +1 -0
- package/lib/components.teamsharing.68865424.js +1 -0
- package/lib/components.teamsharing.c4f4f12e.mjs +373 -0
- package/lib/components.tooltip.ccb1717d.mjs +86 -0
- package/lib/components.tooltip.e2e21e66.js +1 -0
- package/lib/components.uploadfile.a0dfedaf.mjs +228 -0
- package/lib/components.uploadfile.e93b500d.js +1 -0
- package/lib/components.uploadimg.3804913e.js +1 -0
- package/lib/components.uploadimg.e49707d9.mjs +192 -0
- package/lib/components.verificationcode.5a9c0220.js +1 -0
- package/lib/components.verificationcode.ead74922.mjs +71 -0
- package/lib/components.viewformdetails.3c1596ad.js +1 -0
- package/lib/components.viewformdetails.98be3c0d.mjs +1081 -0
- package/lib/components.viewloading.5b178ec5.js +1 -0
- package/lib/components.viewloading.cb7917b7.mjs +99 -0
- package/lib/components.watermark.849409ca.js +2 -0
- package/lib/components.watermark.a2521d0c.mjs +53 -0
- package/lib/components.xlsxexport.3405a00b.js +1 -0
- package/lib/components.xlsxexport.871f87d1.mjs +263 -0
- package/lib/components.xlsximport.85ce77cf.mjs +922 -0
- package/lib/components.xlsximport.e3bcb07d.js +1 -0
- package/lib/copy.b09a6d38.js +1 -0
- package/lib/copy.c0a2f16d.mjs +572 -0
- package/lib/dialogLayout.059ee256.mjs +138 -0
- package/lib/dialogLayout.cedf2865.js +1 -0
- package/lib/drawerContainer.38d7b530.mjs +154 -0
- package/lib/drawerContainer.ea7722d7.js +1 -0
- package/lib/drawerLayout.454e4921.js +1 -0
- package/lib/drawerLayout.fad843ee.mjs +119 -0
- package/lib/editForm.c199538f.mjs +434 -0
- package/lib/editForm.f9dc93ef.js +1 -0
- package/lib/flow.designer.4c83c0d3.js +1 -0
- package/lib/flow.designer.9442a995.mjs +7673 -0
- package/lib/flow.list.4a31969e.mjs +3032 -0
- package/lib/flow.list.f41ee531.js +1 -0
- package/lib/form.build.c38bf362.js +1 -0
- package/lib/form.build.fb9f905b.mjs +259 -0
- package/lib/form.designer.build.3fdf8007.js +1 -0
- package/lib/form.designer.build.e1b97dc3.mjs +5135 -0
- package/lib/formFiled.624b8dd3.js +1 -0
- package/lib/formFiled.94fb1dce.mjs +498 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +233 -91087
- package/lib/http.appmanage.9b22ff82.mjs +50 -0
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
- package/lib/http.codegeneratemanage.e3db2f09.js +1 -0
- package/lib/http.configmanage.6cfb8ae7.js +1 -0
- package/lib/http.configmanage.c23c7fa8.mjs +34 -0
- package/lib/http.currencymanage.37ab5ced.js +1 -0
- package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
- package/lib/http.datasource.294b01e2.js +1 -0
- package/lib/http.datasource.aa5cd0d1.mjs +58 -0
- package/lib/http.dictdatamanage.2583b5ae.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
- package/lib/http.duplicatechecking.9b79ce21.mjs +50 -0
- package/lib/http.duplicatechecking.ee5c414c.js +1 -0
- package/lib/http.emailmanage.1ddaa8b5.js +1 -0
- package/lib/http.emailmanage.64fd611f.mjs +18 -0
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.d3a4afd9.mjs +293 -0
- package/lib/http.filemanage.7e6e3e1a.js +1 -0
- package/lib/http.filemanage.c0de21d6.mjs +71 -0
- package/lib/http.languagemanage.2ef16159.mjs +10 -0
- package/lib/http.languagemanage.e2c098ec.js +1 -0
- package/lib/http.loginmanage.05500c29.mjs +74 -0
- package/lib/http.loginmanage.326984c3.js +1 -0
- package/lib/http.logmanage.1e12a9bd.js +1 -0
- package/lib/http.logmanage.8ba72635.mjs +82 -0
- package/lib/http.machinemanage.29d72a65.js +1 -0
- package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
- package/lib/http.main.1af1e119.mjs +517 -0
- package/lib/http.main.2f8a6936.js +1 -0
- package/lib/http.menumanage.09fffb7d.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.1d68e914.mjs +178 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.2cdb23b8.mjs +82 -0
- package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
- package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
- package/lib/http.onlineusermanage.3893f897.js +1 -0
- package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
- package/lib/http.orgmanage.0b1df8d5.mjs +58 -0
- package/lib/http.orgmanage.5162fd7a.js +1 -0
- package/lib/http.pluginmanage.54720675.mjs +82 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/http.rolemanage.da5c40e9.mjs +146 -0
- package/lib/http.solution.b10d9197.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.176d3d06.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.932ba43b.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.7adf4910.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.a9c609d5.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.6e894942.js +1 -0
- package/lib/http.timersmanage.c79afb66.mjs +146 -0
- package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
- package/lib/http.timezonemanage.e0aa212f.js +1 -0
- package/lib/http.translationmanage.1f9dce46.js +1 -0
- package/lib/http.translationmanage.f8694b51.mjs +104 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.usermanage.f5491144.mjs +219 -0
- package/lib/http.webresource.1a1a768f.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- package/lib/index.3fa2dc66.mjs +40154 -0
- package/lib/index.fe757a98.js +8 -0
- package/lib/layoutBlocks.14c77a02.js +1 -0
- package/lib/layoutBlocks.5d71a03b.mjs +401 -0
- package/lib/layouts.a662f681.js +2 -0
- package/lib/layouts.ec4f20a2.mjs +376 -0
- package/lib/main.092a2ac8.js +1 -0
- package/lib/{main.f0045877.mjs → main.15237e71.mjs} +12 -10
- package/lib/main.29769f01.js +1 -0
- package/lib/main.401059c6.mjs +189 -0
- package/lib/main.447be615.js +1 -0
- package/lib/main.4e507685.mjs +231 -0
- package/lib/main.72cafa63.mjs +540 -0
- package/lib/{main.c41228a0.mjs → main.73f22d9e.mjs} +9 -8
- package/lib/main.7601bd3d.mjs +166 -0
- package/lib/main.79199ac2.js +1 -0
- package/lib/main.821d081b.js +1 -0
- package/lib/main.8627466a.mjs +537 -0
- package/lib/{main.b5a3be02.mjs → main.88e9be9d.mjs} +4 -4
- package/lib/main.8e6f6cba.mjs +323 -0
- package/lib/main.a9a54af9.js +1 -0
- package/lib/main.e033a376.js +1 -0
- package/lib/main.e2e4ba74.js +1 -0
- package/lib/{main.3caa11e1.mjs → main.e79d9e56.mjs} +113 -188
- package/lib/main.ea3a04f4.js +1 -0
- package/lib/main.f44d8279.js +1 -0
- package/lib/messages.5f54a62e.js +9 -0
- package/lib/{messages.a739f4fc.mjs → messages.d4354532.mjs} +4321 -5268
- package/lib/packages.filedocument.8418d852.mjs +4039 -0
- package/lib/packages.filedocument.9b8eda0d.js +1 -0
- package/lib/page.build.4d28df9a.js +12 -0
- package/lib/page.build.78cc7396.mjs +3020 -0
- package/lib/personal.echarts.940f1cc9.mjs +696 -0
- package/lib/personal.echarts.b5a7f574.js +1 -0
- package/lib/result.0161b0e0.js +1 -0
- package/lib/result.5a9330d7.mjs +627 -0
- package/lib/router.config.79a98ab8.mjs +3105 -0
- package/lib/router.config.7fd04c30.js +1 -0
- package/lib/solution.application.3ae7c0c5.js +1 -0
- package/lib/solution.application.fdc15ffc.mjs +548 -0
- package/lib/solution.applicationmenu.67aba620.js +1 -0
- package/lib/solution.applicationmenu.daaacb07.mjs +508 -0
- package/lib/solution.approvalflow.81b7cfb7.js +1 -0
- package/lib/solution.approvalflow.a541adcc.mjs +436 -0
- package/lib/solution.dict.addbce33.mjs +769 -0
- package/lib/solution.dict.f1c9bae6.js +1 -0
- package/lib/solution.menu.2033fa37.mjs +5834 -0
- package/lib/solution.menu.6512047f.js +1 -0
- package/lib/solution.plugin.7094dbfd.js +1 -0
- package/lib/solution.plugin.d8f057cb.mjs +347 -0
- package/lib/solution.processflow.0adf4f55.js +1 -0
- package/lib/solution.processflow.a779bd58.mjs +392 -0
- package/lib/solution.role.d35cb00d.js +1 -0
- package/lib/solution.role.d9a4b25a.mjs +456 -0
- package/lib/solution.webresources.e1421655.mjs +379 -0
- package/lib/solution.webresources.e817757c.js +1 -0
- package/lib/solution.workflow.59552b8c.mjs +395 -0
- package/lib/solution.workflow.985e1f4d.js +1 -0
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/store.config.5e5cb48a.mjs +547 -0
- package/lib/style.css +3 -3
- package/lib/system.account.1b281679.js +216 -0
- package/lib/system.account.96d5bc17.mjs +2093 -0
- package/lib/system.config.0ff45e62.js +1 -0
- package/lib/{system.config.d2ad8c97.mjs → system.config.35b13003.mjs} +7 -6
- package/lib/system.datasource.4243937d.js +1 -0
- package/lib/{system.datasource.a77831ab.mjs → system.datasource.7f582bef.mjs} +15 -64
- package/lib/{system.dict.cb276470.mjs → system.dict.3697546d.mjs} +269 -344
- package/lib/system.dict.8e4fe6b0.js +1 -0
- package/lib/system.document.69e534a6.js +1 -0
- package/lib/system.document.8e4dbe5e.mjs +667 -0
- package/lib/system.duplicatechecking.1083eb1e.js +1 -0
- package/lib/system.duplicatechecking.c6a8b2b7.mjs +722 -0
- package/lib/system.email.06bb7cc1.mjs +133 -0
- package/lib/system.email.41036a31.js +1 -0
- package/lib/system.fieldsecurity.3ea880d8.js +1 -0
- package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
- package/lib/{system.file.8064c8e9.mjs → system.file.8ccc4569.mjs} +84 -151
- package/lib/system.file.b8e4e6a1.js +1 -0
- package/lib/system.log.14c22a7a.js +1 -0
- package/lib/{system.log.2b2fc11a.mjs → system.log.aad4ff54.mjs} +31 -93
- package/lib/system.machine.379beacb.js +1 -0
- package/lib/{system.machine.0130e762.mjs → system.machine.c47be0cc.mjs} +5 -25
- package/lib/{system.notice.5f8cd020.mjs → system.notice.dc1b67cc.mjs} +1075 -1255
- package/lib/system.notice.fb151c45.js +1 -0
- package/lib/system.noticereceived.3a29d891.js +1 -0
- package/lib/{system.noticereceived.51b6353a.mjs → system.noticereceived.e75bf358.mjs} +19 -27
- package/lib/{system.onlineuser.c0a69360.mjs → system.onlineuser.ab9c2776.mjs} +36 -38
- package/lib/system.onlineuser.fc26aff9.js +1 -0
- package/lib/system.org.b6f826e8.js +1 -0
- package/lib/{system.org.1169fe47.mjs → system.org.dd710a91.mjs} +3 -3
- package/lib/system.permissions.75406743.mjs +972 -0
- package/lib/system.permissions.97f68887.js +1 -0
- package/lib/system.plugin.3fcf7b0b.js +1 -0
- package/lib/{system.plugin.502a69d8.mjs → system.plugin.4b80cd95.mjs} +503 -552
- package/lib/system.pos.5a1663d8.js +1 -0
- package/lib/{system.pos.8c44c029.mjs → system.pos.a3bafaaa.mjs} +31 -62
- package/lib/system.promptmanagement.53c301a3.js +1 -0
- package/lib/{system.promptmanagement.d8565db4.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
- package/lib/{system.role.19959d7f.mjs → system.role.9edb5922.mjs} +512 -486
- package/lib/system.role.e164f059.js +1 -0
- package/lib/{system.sumberrules.087015a4.mjs → system.sumberrules.4bb2c95c.mjs} +169 -192
- package/lib/system.sumberrules.5e9cd262.js +1 -0
- package/lib/system.team.3e605266.js +1 -0
- package/lib/system.team.bb1fb40e.mjs +452 -0
- package/lib/system.teammembers.a098883b.js +1 -0
- package/lib/{system.teammembers.4056d586.mjs → system.teammembers.b8e53d99.mjs} +257 -199
- package/lib/system.timers.2f884e41.js +38 -0
- package/lib/{system.timers.6f61bfe1.mjs → system.timers.551c4a4b.mjs} +2202 -2278
- package/lib/system.translation.6e99c852.js +1 -0
- package/lib/{system.translation.9b88fbf2.mjs → system.translation.c2c1f40c.mjs} +437 -431
- package/lib/{system.user.bdf2613e.mjs → system.user.b99911de.mjs} +1082 -1025
- package/lib/system.user.dffc2543.js +14 -0
- package/lib/{system.useraffiliation.63b6bb36.mjs → system.useraffiliation.12cae7ef.mjs} +419 -412
- package/lib/system.useraffiliation.f8b33def.js +1 -0
- package/lib/system.webresource.1d3ed352.js +1 -0
- package/lib/{system.webresource.c36d6792.mjs → system.webresource.8a8d856b.mjs} +177 -219
- package/lib/{system.welcome.14785b50.mjs → system.welcome.573a76db.mjs} +10 -3
- package/lib/system.welcome.eedf1db2.js +1 -0
- package/lib/tableDescriptions.923c4ef1.mjs +80 -0
- package/lib/tableDescriptions.b12679b0.js +1 -0
- package/lib/tcheckboxs.887d733c.mjs +52 -0
- package/lib/tcheckboxs.fe7e574a.js +1 -0
- package/lib/tcurrency.10ac9aa7.mjs +85 -0
- package/lib/tcurrency.20e959c0.js +1 -0
- package/lib/tdatepicker.54036bba.js +1 -0
- package/lib/tdatepicker.a08ad382.mjs +52 -0
- package/lib/tdictSwitch.274e9f86.js +1 -0
- package/lib/tdictSwitch.d40f1b4f.mjs +60 -0
- package/lib/tfile.5c897827.js +1 -0
- package/lib/tfile.f63b73b9.mjs +62 -0
- package/lib/tparticipants.4698962b.mjs +56 -0
- package/lib/tparticipants.b6fb4545.js +1 -0
- package/lib/translation.mains.5cfc7a2f.js +1 -0
- package/lib/translation.mains.e6cb610b.mjs +383 -0
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.echarts.js.461a74e7.js +54 -0
- package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
- package/lib/utils.mixins.js.750ca50e.js +1 -0
- package/lib/utils.mixins.js.be01e599.mjs +41 -0
- package/lib/utils.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.885de913.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/view.build.051553d8.mjs +1578 -0
- package/lib/view.build.9af3087b.js +1 -0
- package/lib/viewList.209956c3.js +1 -0
- package/lib/viewList.c05c92be.mjs +318 -0
- package/lib/viewTree.0cd9f1a2.js +1 -0
- package/lib/viewTree.c5290360.mjs +409 -0
- package/locale/en_US.js +92 -28
- package/locale/id_ID.js +76 -12
- package/locale/vi_VN.js +2012 -1948
- package/locale/zh_CN.js +97 -33
- package/package.json +106 -105
- package/lib/chartbi.114d32d7.js +0 -60
- package/lib/chartbi.eb4dd0af.mjs +0 -27639
- package/lib/main.03984fed.js +0 -1
- package/lib/main.1050afb3.js +0 -1
- package/lib/main.64122541.js +0 -1
- package/lib/main.b7d2c6ee.js +0 -1
- package/lib/messages.828b6ed8.js +0 -9
- package/lib/system.account.3181bcd6.js +0 -216
- package/lib/system.account.7c6ea20c.mjs +0 -2552
- package/lib/system.config.10f57fa2.js +0 -1
- package/lib/system.datasource.d5eea7f2.js +0 -1
- package/lib/system.dict.d73658f1.js +0 -1
- package/lib/system.duplicatechecking.5c8a3eef.mjs +0 -2142
- package/lib/system.duplicatechecking.d24ba6ea.js +0 -1
- package/lib/system.email.4bf52f2d.js +0 -41
- package/lib/system.email.db5da8d7.mjs +0 -7432
- package/lib/system.fieldsecurity.eb217079.js +0 -1
- package/lib/system.file.c1884db7.js +0 -1
- package/lib/system.log.389af80d.js +0 -1
- package/lib/system.machine.49fc6405.js +0 -1
- package/lib/system.notice.a89f4826.js +0 -1
- package/lib/system.noticereceived.5e0773c3.js +0 -1
- package/lib/system.onlineuser.67733846.js +0 -1
- package/lib/system.org.ff54d620.js +0 -1
- package/lib/system.permissions.cc9a9866.mjs +0 -212
- package/lib/system.permissions.e6317c5a.js +0 -9
- package/lib/system.plugin.3467d572.js +0 -1
- package/lib/system.pos.4aadf86e.js +0 -1
- package/lib/system.promptmanagement.9ba710d6.js +0 -1
- package/lib/system.role.890c8ca2.js +0 -1
- package/lib/system.sumberrules.068ebe4a.js +0 -1
- package/lib/system.team.27cd57f7.mjs +0 -1000
- package/lib/system.team.2b28502b.js +0 -1
- package/lib/system.teammembers.e3baf783.js +0 -1
- package/lib/system.timers.cb0a3bd0.js +0 -38
- package/lib/system.translation.f3884a0a.js +0 -1
- package/lib/system.user.3bd95871.js +0 -14
- package/lib/system.useraffiliation.7db6e13c.js +0 -1
- package/lib/system.webresource.ede248a8.js +0 -1
- package/lib/system.welcome.c9eefa06.js +0 -1
|
@@ -0,0 +1,1798 @@
|
|
|
1
|
+
import { e as T } from "./utils.echarts.js.d1bb8ac6.mjs";
|
|
2
|
+
import { f as L, s as pt, r as et, u as ht } from "./utils.util.js.885de913.mjs";
|
|
3
|
+
/*!
|
|
4
|
+
* vuex v3.6.2
|
|
5
|
+
* (c) 2021 Evan You
|
|
6
|
+
* @license MIT
|
|
7
|
+
*/
|
|
8
|
+
function mt(t) {
|
|
9
|
+
var e = Number(t.version.split(".")[0]);
|
|
10
|
+
if (e >= 2)
|
|
11
|
+
t.mixin({ beforeCreate: i });
|
|
12
|
+
else {
|
|
13
|
+
var o = t.prototype._init;
|
|
14
|
+
t.prototype._init = function(r) {
|
|
15
|
+
r === void 0 && (r = {}), r.init = r.init ? [i].concat(r.init) : i, o.call(this, r);
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function i() {
|
|
19
|
+
var r = this.$options;
|
|
20
|
+
r.store ? this.$store = typeof r.store == "function" ? r.store() : r.store : r.parent && r.parent.$store && (this.$store = r.parent.$store);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
var gt = typeof window < "u" ? window : typeof global < "u" ? global : {}, M = gt.__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
24
|
+
function yt(t) {
|
|
25
|
+
!M || (t._devtoolHook = M, M.emit("vuex:init", t), M.on("vuex:travel-to-state", function(e) {
|
|
26
|
+
t.replaceState(e);
|
|
27
|
+
}), t.subscribe(function(e, o) {
|
|
28
|
+
M.emit("vuex:mutation", e, o);
|
|
29
|
+
}, { prepend: !0 }), t.subscribeAction(function(e, o) {
|
|
30
|
+
M.emit("vuex:action", e, o);
|
|
31
|
+
}, { prepend: !0 }));
|
|
32
|
+
}
|
|
33
|
+
function A(t, e) {
|
|
34
|
+
Object.keys(t).forEach(function(o) {
|
|
35
|
+
return e(t[o], o);
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
function ot(t) {
|
|
39
|
+
return t !== null && typeof t == "object";
|
|
40
|
+
}
|
|
41
|
+
function vt(t) {
|
|
42
|
+
return t && typeof t.then == "function";
|
|
43
|
+
}
|
|
44
|
+
function w(t, e) {
|
|
45
|
+
if (!t)
|
|
46
|
+
throw new Error("[vuex] " + e);
|
|
47
|
+
}
|
|
48
|
+
function bt(t, e) {
|
|
49
|
+
return function() {
|
|
50
|
+
return t(e);
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
var j = function(e, o) {
|
|
54
|
+
this.runtime = o, this._children = /* @__PURE__ */ Object.create(null), this._rawModule = e;
|
|
55
|
+
var i = e.state;
|
|
56
|
+
this.state = (typeof i == "function" ? i() : i) || {};
|
|
57
|
+
}, it = { namespaced: { configurable: !0 } };
|
|
58
|
+
it.namespaced.get = function() {
|
|
59
|
+
return !!this._rawModule.namespaced;
|
|
60
|
+
};
|
|
61
|
+
j.prototype.addChild = function(e, o) {
|
|
62
|
+
this._children[e] = o;
|
|
63
|
+
};
|
|
64
|
+
j.prototype.removeChild = function(e) {
|
|
65
|
+
delete this._children[e];
|
|
66
|
+
};
|
|
67
|
+
j.prototype.getChild = function(e) {
|
|
68
|
+
return this._children[e];
|
|
69
|
+
};
|
|
70
|
+
j.prototype.hasChild = function(e) {
|
|
71
|
+
return e in this._children;
|
|
72
|
+
};
|
|
73
|
+
j.prototype.update = function(e) {
|
|
74
|
+
this._rawModule.namespaced = e.namespaced, e.actions && (this._rawModule.actions = e.actions), e.mutations && (this._rawModule.mutations = e.mutations), e.getters && (this._rawModule.getters = e.getters);
|
|
75
|
+
};
|
|
76
|
+
j.prototype.forEachChild = function(e) {
|
|
77
|
+
A(this._children, e);
|
|
78
|
+
};
|
|
79
|
+
j.prototype.forEachGetter = function(e) {
|
|
80
|
+
this._rawModule.getters && A(this._rawModule.getters, e);
|
|
81
|
+
};
|
|
82
|
+
j.prototype.forEachAction = function(e) {
|
|
83
|
+
this._rawModule.actions && A(this._rawModule.actions, e);
|
|
84
|
+
};
|
|
85
|
+
j.prototype.forEachMutation = function(e) {
|
|
86
|
+
this._rawModule.mutations && A(this._rawModule.mutations, e);
|
|
87
|
+
};
|
|
88
|
+
Object.defineProperties(j.prototype, it);
|
|
89
|
+
var V = function(e) {
|
|
90
|
+
this.register([], e, !1);
|
|
91
|
+
};
|
|
92
|
+
V.prototype.get = function(e) {
|
|
93
|
+
return e.reduce(function(o, i) {
|
|
94
|
+
return o.getChild(i);
|
|
95
|
+
}, this.root);
|
|
96
|
+
};
|
|
97
|
+
V.prototype.getNamespace = function(e) {
|
|
98
|
+
var o = this.root;
|
|
99
|
+
return e.reduce(function(i, r) {
|
|
100
|
+
return o = o.getChild(r), i + (o.namespaced ? r + "/" : "");
|
|
101
|
+
}, "");
|
|
102
|
+
};
|
|
103
|
+
V.prototype.update = function(e) {
|
|
104
|
+
rt([], this.root, e);
|
|
105
|
+
};
|
|
106
|
+
V.prototype.register = function(e, o, i) {
|
|
107
|
+
var r = this;
|
|
108
|
+
i === void 0 && (i = !0), process.env.NODE_ENV !== "production" && nt(e, o);
|
|
109
|
+
var s = new j(o, i);
|
|
110
|
+
if (e.length === 0)
|
|
111
|
+
this.root = s;
|
|
112
|
+
else {
|
|
113
|
+
var a = this.get(e.slice(0, -1));
|
|
114
|
+
a.addChild(e[e.length - 1], s);
|
|
115
|
+
}
|
|
116
|
+
o.modules && A(o.modules, function(u, l) {
|
|
117
|
+
r.register(e.concat(l), u, i);
|
|
118
|
+
});
|
|
119
|
+
};
|
|
120
|
+
V.prototype.unregister = function(e) {
|
|
121
|
+
var o = this.get(e.slice(0, -1)), i = e[e.length - 1], r = o.getChild(i);
|
|
122
|
+
if (!r) {
|
|
123
|
+
process.env.NODE_ENV !== "production" && console.warn(
|
|
124
|
+
"[vuex] trying to unregister module '" + i + "', which is not registered"
|
|
125
|
+
);
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
!r.runtime || o.removeChild(i);
|
|
129
|
+
};
|
|
130
|
+
V.prototype.isRegistered = function(e) {
|
|
131
|
+
var o = this.get(e.slice(0, -1)), i = e[e.length - 1];
|
|
132
|
+
return o ? o.hasChild(i) : !1;
|
|
133
|
+
};
|
|
134
|
+
function rt(t, e, o) {
|
|
135
|
+
if (process.env.NODE_ENV !== "production" && nt(t, o), e.update(o), o.modules)
|
|
136
|
+
for (var i in o.modules) {
|
|
137
|
+
if (!e.getChild(i)) {
|
|
138
|
+
process.env.NODE_ENV !== "production" && console.warn(
|
|
139
|
+
"[vuex] trying to add a new module '" + i + "' on hot reloading, manual reload is needed"
|
|
140
|
+
);
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
rt(
|
|
144
|
+
t.concat(i),
|
|
145
|
+
e.getChild(i),
|
|
146
|
+
o.modules[i]
|
|
147
|
+
);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
var X = {
|
|
151
|
+
assert: function(t) {
|
|
152
|
+
return typeof t == "function";
|
|
153
|
+
},
|
|
154
|
+
expected: "function"
|
|
155
|
+
}, _t = {
|
|
156
|
+
assert: function(t) {
|
|
157
|
+
return typeof t == "function" || typeof t == "object" && typeof t.handler == "function";
|
|
158
|
+
},
|
|
159
|
+
expected: 'function or object with "handler" function'
|
|
160
|
+
}, J = {
|
|
161
|
+
getters: X,
|
|
162
|
+
mutations: X,
|
|
163
|
+
actions: _t
|
|
164
|
+
};
|
|
165
|
+
function nt(t, e) {
|
|
166
|
+
Object.keys(J).forEach(function(o) {
|
|
167
|
+
if (!!e[o]) {
|
|
168
|
+
var i = J[o];
|
|
169
|
+
A(e[o], function(r, s) {
|
|
170
|
+
w(
|
|
171
|
+
i.assert(r),
|
|
172
|
+
xt(t, o, s, r, i.expected)
|
|
173
|
+
);
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
function xt(t, e, o, i, r) {
|
|
179
|
+
var s = e + " should be " + r + ' but "' + e + "." + o + '"';
|
|
180
|
+
return t.length > 0 && (s += ' in module "' + t.join(".") + '"'), s += " is " + JSON.stringify(i) + ".", s;
|
|
181
|
+
}
|
|
182
|
+
var S, E = function t(e) {
|
|
183
|
+
var o = this;
|
|
184
|
+
e === void 0 && (e = {}), !S && typeof window < "u" && window.Vue && Et(window.Vue), process.env.NODE_ENV !== "production" && (w(S, "must call Vue.use(Vuex) before creating a store instance."), w(typeof Promise < "u", "vuex requires a Promise polyfill in this browser."), w(this instanceof t, "store must be called with the new operator."));
|
|
185
|
+
var i = e.plugins;
|
|
186
|
+
i === void 0 && (i = []);
|
|
187
|
+
var r = e.strict;
|
|
188
|
+
r === void 0 && (r = !1), this._committing = !1, this._actions = /* @__PURE__ */ Object.create(null), this._actionSubscribers = [], this._mutations = /* @__PURE__ */ Object.create(null), this._wrappedGetters = /* @__PURE__ */ Object.create(null), this._modules = new V(e), this._modulesNamespaceMap = /* @__PURE__ */ Object.create(null), this._subscribers = [], this._watcherVM = new S(), this._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
|
|
189
|
+
var s = this, a = this, u = a.dispatch, l = a.commit;
|
|
190
|
+
this.dispatch = function(g, n) {
|
|
191
|
+
return u.call(s, g, n);
|
|
192
|
+
}, this.commit = function(g, n, m) {
|
|
193
|
+
return l.call(s, g, n, m);
|
|
194
|
+
}, this.strict = r;
|
|
195
|
+
var c = this._modules.root.state;
|
|
196
|
+
W(this, c, [], this._modules.root), B(this, c), i.forEach(function(f) {
|
|
197
|
+
return f(o);
|
|
198
|
+
});
|
|
199
|
+
var d = e.devtools !== void 0 ? e.devtools : S.config.devtools;
|
|
200
|
+
d && yt(this);
|
|
201
|
+
}, q = { state: { configurable: !0 } };
|
|
202
|
+
q.state.get = function() {
|
|
203
|
+
return this._vm._data.$$state;
|
|
204
|
+
};
|
|
205
|
+
q.state.set = function(t) {
|
|
206
|
+
process.env.NODE_ENV !== "production" && w(!1, "use store.replaceState() to explicit replace store state.");
|
|
207
|
+
};
|
|
208
|
+
E.prototype.commit = function(e, o, i) {
|
|
209
|
+
var r = this, s = R(e, o, i), a = s.type, u = s.payload, l = s.options, c = { type: a, payload: u }, d = this._mutations[a];
|
|
210
|
+
if (!d) {
|
|
211
|
+
process.env.NODE_ENV !== "production" && console.error("[vuex] unknown mutation type: " + a);
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
this._withCommit(function() {
|
|
215
|
+
d.forEach(function(g) {
|
|
216
|
+
g(u);
|
|
217
|
+
});
|
|
218
|
+
}), this._subscribers.slice().forEach(function(f) {
|
|
219
|
+
return f(c, r.state);
|
|
220
|
+
}), process.env.NODE_ENV !== "production" && l && l.silent && console.warn(
|
|
221
|
+
"[vuex] mutation type: " + a + ". Silent option has been removed. Use the filter functionality in the vue-devtools"
|
|
222
|
+
);
|
|
223
|
+
};
|
|
224
|
+
E.prototype.dispatch = function(e, o) {
|
|
225
|
+
var i = this, r = R(e, o), s = r.type, a = r.payload, u = { type: s, payload: a }, l = this._actions[s];
|
|
226
|
+
if (!l) {
|
|
227
|
+
process.env.NODE_ENV !== "production" && console.error("[vuex] unknown action type: " + s);
|
|
228
|
+
return;
|
|
229
|
+
}
|
|
230
|
+
try {
|
|
231
|
+
this._actionSubscribers.slice().filter(function(d) {
|
|
232
|
+
return d.before;
|
|
233
|
+
}).forEach(function(d) {
|
|
234
|
+
return d.before(u, i.state);
|
|
235
|
+
});
|
|
236
|
+
} catch (d) {
|
|
237
|
+
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in before action subscribers: "), console.error(d));
|
|
238
|
+
}
|
|
239
|
+
var c = l.length > 1 ? Promise.all(l.map(function(d) {
|
|
240
|
+
return d(a);
|
|
241
|
+
})) : l[0](a);
|
|
242
|
+
return new Promise(function(d, f) {
|
|
243
|
+
c.then(function(g) {
|
|
244
|
+
try {
|
|
245
|
+
i._actionSubscribers.filter(function(n) {
|
|
246
|
+
return n.after;
|
|
247
|
+
}).forEach(function(n) {
|
|
248
|
+
return n.after(u, i.state);
|
|
249
|
+
});
|
|
250
|
+
} catch (n) {
|
|
251
|
+
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in after action subscribers: "), console.error(n));
|
|
252
|
+
}
|
|
253
|
+
d(g);
|
|
254
|
+
}, function(g) {
|
|
255
|
+
try {
|
|
256
|
+
i._actionSubscribers.filter(function(n) {
|
|
257
|
+
return n.error;
|
|
258
|
+
}).forEach(function(n) {
|
|
259
|
+
return n.error(u, i.state, g);
|
|
260
|
+
});
|
|
261
|
+
} catch (n) {
|
|
262
|
+
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in error action subscribers: "), console.error(n));
|
|
263
|
+
}
|
|
264
|
+
f(g);
|
|
265
|
+
});
|
|
266
|
+
});
|
|
267
|
+
};
|
|
268
|
+
E.prototype.subscribe = function(e, o) {
|
|
269
|
+
return st(e, this._subscribers, o);
|
|
270
|
+
};
|
|
271
|
+
E.prototype.subscribeAction = function(e, o) {
|
|
272
|
+
var i = typeof e == "function" ? { before: e } : e;
|
|
273
|
+
return st(i, this._actionSubscribers, o);
|
|
274
|
+
};
|
|
275
|
+
E.prototype.watch = function(e, o, i) {
|
|
276
|
+
var r = this;
|
|
277
|
+
return process.env.NODE_ENV !== "production" && w(typeof e == "function", "store.watch only accepts a function."), this._watcherVM.$watch(function() {
|
|
278
|
+
return e(r.state, r.getters);
|
|
279
|
+
}, o, i);
|
|
280
|
+
};
|
|
281
|
+
E.prototype.replaceState = function(e) {
|
|
282
|
+
var o = this;
|
|
283
|
+
this._withCommit(function() {
|
|
284
|
+
o._vm._data.$$state = e;
|
|
285
|
+
});
|
|
286
|
+
};
|
|
287
|
+
E.prototype.registerModule = function(e, o, i) {
|
|
288
|
+
i === void 0 && (i = {}), typeof e == "string" && (e = [e]), process.env.NODE_ENV !== "production" && (w(Array.isArray(e), "module path must be a string or an Array."), w(e.length > 0, "cannot register the root module by using registerModule.")), this._modules.register(e, o), W(this, this.state, e, this._modules.get(e), i.preserveState), B(this, this.state);
|
|
289
|
+
};
|
|
290
|
+
E.prototype.unregisterModule = function(e) {
|
|
291
|
+
var o = this;
|
|
292
|
+
typeof e == "string" && (e = [e]), process.env.NODE_ENV !== "production" && w(Array.isArray(e), "module path must be a string or an Array."), this._modules.unregister(e), this._withCommit(function() {
|
|
293
|
+
var i = H(o.state, e.slice(0, -1));
|
|
294
|
+
S.delete(i, e[e.length - 1]);
|
|
295
|
+
}), at(this);
|
|
296
|
+
};
|
|
297
|
+
E.prototype.hasModule = function(e) {
|
|
298
|
+
return typeof e == "string" && (e = [e]), process.env.NODE_ENV !== "production" && w(Array.isArray(e), "module path must be a string or an Array."), this._modules.isRegistered(e);
|
|
299
|
+
};
|
|
300
|
+
E.prototype.hotUpdate = function(e) {
|
|
301
|
+
this._modules.update(e), at(this, !0);
|
|
302
|
+
};
|
|
303
|
+
E.prototype._withCommit = function(e) {
|
|
304
|
+
var o = this._committing;
|
|
305
|
+
this._committing = !0, e(), this._committing = o;
|
|
306
|
+
};
|
|
307
|
+
Object.defineProperties(E.prototype, q);
|
|
308
|
+
function st(t, e, o) {
|
|
309
|
+
return e.indexOf(t) < 0 && (o && o.prepend ? e.unshift(t) : e.push(t)), function() {
|
|
310
|
+
var i = e.indexOf(t);
|
|
311
|
+
i > -1 && e.splice(i, 1);
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
function at(t, e) {
|
|
315
|
+
t._actions = /* @__PURE__ */ Object.create(null), t._mutations = /* @__PURE__ */ Object.create(null), t._wrappedGetters = /* @__PURE__ */ Object.create(null), t._modulesNamespaceMap = /* @__PURE__ */ Object.create(null);
|
|
316
|
+
var o = t.state;
|
|
317
|
+
W(t, o, [], t._modules.root, !0), B(t, o, e);
|
|
318
|
+
}
|
|
319
|
+
function B(t, e, o) {
|
|
320
|
+
var i = t._vm;
|
|
321
|
+
t.getters = {}, t._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
|
|
322
|
+
var r = t._wrappedGetters, s = {};
|
|
323
|
+
A(r, function(u, l) {
|
|
324
|
+
s[l] = bt(u, t), Object.defineProperty(t.getters, l, {
|
|
325
|
+
get: function() {
|
|
326
|
+
return t._vm[l];
|
|
327
|
+
},
|
|
328
|
+
enumerable: !0
|
|
329
|
+
});
|
|
330
|
+
});
|
|
331
|
+
var a = S.config.silent;
|
|
332
|
+
S.config.silent = !0, t._vm = new S({
|
|
333
|
+
data: {
|
|
334
|
+
$$state: e
|
|
335
|
+
},
|
|
336
|
+
computed: s
|
|
337
|
+
}), S.config.silent = a, t.strict && wt(t), i && (o && t._withCommit(function() {
|
|
338
|
+
i._data.$$state = null;
|
|
339
|
+
}), S.nextTick(function() {
|
|
340
|
+
return i.$destroy();
|
|
341
|
+
}));
|
|
342
|
+
}
|
|
343
|
+
function W(t, e, o, i, r) {
|
|
344
|
+
var s = !o.length, a = t._modules.getNamespace(o);
|
|
345
|
+
if (i.namespaced && (t._modulesNamespaceMap[a] && process.env.NODE_ENV !== "production" && console.error("[vuex] duplicate namespace " + a + " for the namespaced module " + o.join("/")), t._modulesNamespaceMap[a] = i), !s && !r) {
|
|
346
|
+
var u = H(e, o.slice(0, -1)), l = o[o.length - 1];
|
|
347
|
+
t._withCommit(function() {
|
|
348
|
+
process.env.NODE_ENV !== "production" && l in u && console.warn(
|
|
349
|
+
'[vuex] state field "' + l + '" was overridden by a module with the same name at "' + o.join(".") + '"'
|
|
350
|
+
), S.set(u, l, i.state);
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
var c = i.context = $t(t, a, o);
|
|
354
|
+
i.forEachMutation(function(d, f) {
|
|
355
|
+
var g = a + f;
|
|
356
|
+
St(t, g, d, c);
|
|
357
|
+
}), i.forEachAction(function(d, f) {
|
|
358
|
+
var g = d.root ? f : a + f, n = d.handler || d;
|
|
359
|
+
Ct(t, g, n, c);
|
|
360
|
+
}), i.forEachGetter(function(d, f) {
|
|
361
|
+
var g = a + f;
|
|
362
|
+
Nt(t, g, d, c);
|
|
363
|
+
}), i.forEachChild(function(d, f) {
|
|
364
|
+
W(t, e, o.concat(f), d, r);
|
|
365
|
+
});
|
|
366
|
+
}
|
|
367
|
+
function $t(t, e, o) {
|
|
368
|
+
var i = e === "", r = {
|
|
369
|
+
dispatch: i ? t.dispatch : function(s, a, u) {
|
|
370
|
+
var l = R(s, a, u), c = l.payload, d = l.options, f = l.type;
|
|
371
|
+
if ((!d || !d.root) && (f = e + f, process.env.NODE_ENV !== "production" && !t._actions[f])) {
|
|
372
|
+
console.error("[vuex] unknown local action type: " + l.type + ", global type: " + f);
|
|
373
|
+
return;
|
|
374
|
+
}
|
|
375
|
+
return t.dispatch(f, c);
|
|
376
|
+
},
|
|
377
|
+
commit: i ? t.commit : function(s, a, u) {
|
|
378
|
+
var l = R(s, a, u), c = l.payload, d = l.options, f = l.type;
|
|
379
|
+
if ((!d || !d.root) && (f = e + f, process.env.NODE_ENV !== "production" && !t._mutations[f])) {
|
|
380
|
+
console.error("[vuex] unknown local mutation type: " + l.type + ", global type: " + f);
|
|
381
|
+
return;
|
|
382
|
+
}
|
|
383
|
+
t.commit(f, c, d);
|
|
384
|
+
}
|
|
385
|
+
};
|
|
386
|
+
return Object.defineProperties(r, {
|
|
387
|
+
getters: {
|
|
388
|
+
get: i ? function() {
|
|
389
|
+
return t.getters;
|
|
390
|
+
} : function() {
|
|
391
|
+
return Ot(t, e);
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
state: {
|
|
395
|
+
get: function() {
|
|
396
|
+
return H(t.state, o);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}), r;
|
|
400
|
+
}
|
|
401
|
+
function Ot(t, e) {
|
|
402
|
+
if (!t._makeLocalGettersCache[e]) {
|
|
403
|
+
var o = {}, i = e.length;
|
|
404
|
+
Object.keys(t.getters).forEach(function(r) {
|
|
405
|
+
if (r.slice(0, i) === e) {
|
|
406
|
+
var s = r.slice(i);
|
|
407
|
+
Object.defineProperty(o, s, {
|
|
408
|
+
get: function() {
|
|
409
|
+
return t.getters[r];
|
|
410
|
+
},
|
|
411
|
+
enumerable: !0
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
}), t._makeLocalGettersCache[e] = o;
|
|
415
|
+
}
|
|
416
|
+
return t._makeLocalGettersCache[e];
|
|
417
|
+
}
|
|
418
|
+
function St(t, e, o, i) {
|
|
419
|
+
var r = t._mutations[e] || (t._mutations[e] = []);
|
|
420
|
+
r.push(function(a) {
|
|
421
|
+
o.call(t, i.state, a);
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
|
+
function Ct(t, e, o, i) {
|
|
425
|
+
var r = t._actions[e] || (t._actions[e] = []);
|
|
426
|
+
r.push(function(a) {
|
|
427
|
+
var u = o.call(t, {
|
|
428
|
+
dispatch: i.dispatch,
|
|
429
|
+
commit: i.commit,
|
|
430
|
+
getters: i.getters,
|
|
431
|
+
state: i.state,
|
|
432
|
+
rootGetters: t.getters,
|
|
433
|
+
rootState: t.state
|
|
434
|
+
}, a);
|
|
435
|
+
return vt(u) || (u = Promise.resolve(u)), t._devtoolHook ? u.catch(function(l) {
|
|
436
|
+
throw t._devtoolHook.emit("vuex:error", l), l;
|
|
437
|
+
}) : u;
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
function Nt(t, e, o, i) {
|
|
441
|
+
if (t._wrappedGetters[e]) {
|
|
442
|
+
process.env.NODE_ENV !== "production" && console.error("[vuex] duplicate getter key: " + e);
|
|
443
|
+
return;
|
|
444
|
+
}
|
|
445
|
+
t._wrappedGetters[e] = function(s) {
|
|
446
|
+
return o(
|
|
447
|
+
i.state,
|
|
448
|
+
i.getters,
|
|
449
|
+
s.state,
|
|
450
|
+
s.getters
|
|
451
|
+
);
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
function wt(t) {
|
|
455
|
+
t._vm.$watch(function() {
|
|
456
|
+
return this._data.$$state;
|
|
457
|
+
}, function() {
|
|
458
|
+
process.env.NODE_ENV !== "production" && w(t._committing, "do not mutate vuex store state outside mutation handlers.");
|
|
459
|
+
}, { deep: !0, sync: !0 });
|
|
460
|
+
}
|
|
461
|
+
function H(t, e) {
|
|
462
|
+
return e.reduce(function(o, i) {
|
|
463
|
+
return o[i];
|
|
464
|
+
}, t);
|
|
465
|
+
}
|
|
466
|
+
function R(t, e, o) {
|
|
467
|
+
return ot(t) && t.type && (o = e, e = t, t = t.type), process.env.NODE_ENV !== "production" && w(typeof t == "string", "expects string as the type, but found " + typeof t + "."), { type: t, payload: e, options: o };
|
|
468
|
+
}
|
|
469
|
+
function Et(t) {
|
|
470
|
+
if (S && t === S) {
|
|
471
|
+
process.env.NODE_ENV !== "production" && console.error(
|
|
472
|
+
"[vuex] already installed. Vue.use(Vuex) should be called only once."
|
|
473
|
+
);
|
|
474
|
+
return;
|
|
475
|
+
}
|
|
476
|
+
S = t, mt(S);
|
|
477
|
+
}
|
|
478
|
+
var jt = ct(function(t, e) {
|
|
479
|
+
var o = {};
|
|
480
|
+
return process.env.NODE_ENV !== "production" && !Q(e) && console.error("[vuex] mapGetters: mapper parameter must be either an Array or an Object"), lt(e).forEach(function(i) {
|
|
481
|
+
var r = i.key, s = i.val;
|
|
482
|
+
s = t + s, o[r] = function() {
|
|
483
|
+
if (!(t && !ut(this.$store, "mapGetters", t))) {
|
|
484
|
+
if (process.env.NODE_ENV !== "production" && !(s in this.$store.getters)) {
|
|
485
|
+
console.error("[vuex] unknown getter: " + s);
|
|
486
|
+
return;
|
|
487
|
+
}
|
|
488
|
+
return this.$store.getters[s];
|
|
489
|
+
}
|
|
490
|
+
}, o[r].vuex = !0;
|
|
491
|
+
}), o;
|
|
492
|
+
}), fe = ct(function(t, e) {
|
|
493
|
+
var o = {};
|
|
494
|
+
return process.env.NODE_ENV !== "production" && !Q(e) && console.error("[vuex] mapActions: mapper parameter must be either an Array or an Object"), lt(e).forEach(function(i) {
|
|
495
|
+
var r = i.key, s = i.val;
|
|
496
|
+
o[r] = function() {
|
|
497
|
+
for (var u = [], l = arguments.length; l--; )
|
|
498
|
+
u[l] = arguments[l];
|
|
499
|
+
var c = this.$store.dispatch;
|
|
500
|
+
if (t) {
|
|
501
|
+
var d = ut(this.$store, "mapActions", t);
|
|
502
|
+
if (!d)
|
|
503
|
+
return;
|
|
504
|
+
c = d.context.dispatch;
|
|
505
|
+
}
|
|
506
|
+
return typeof s == "function" ? s.apply(this, [c].concat(u)) : c.apply(this.$store, [s].concat(u));
|
|
507
|
+
};
|
|
508
|
+
}), o;
|
|
509
|
+
});
|
|
510
|
+
function lt(t) {
|
|
511
|
+
return Q(t) ? Array.isArray(t) ? t.map(function(e) {
|
|
512
|
+
return { key: e, val: e };
|
|
513
|
+
}) : Object.keys(t).map(function(e) {
|
|
514
|
+
return { key: e, val: t[e] };
|
|
515
|
+
}) : [];
|
|
516
|
+
}
|
|
517
|
+
function Q(t) {
|
|
518
|
+
return Array.isArray(t) || ot(t);
|
|
519
|
+
}
|
|
520
|
+
function ct(t) {
|
|
521
|
+
return function(e, o) {
|
|
522
|
+
return typeof e != "string" ? (o = e, e = "") : e.charAt(e.length - 1) !== "/" && (e += "/"), t(e, o);
|
|
523
|
+
};
|
|
524
|
+
}
|
|
525
|
+
function ut(t, e, o) {
|
|
526
|
+
var i = t._modulesNamespaceMap[o];
|
|
527
|
+
return process.env.NODE_ENV !== "production" && !i && console.error("[vuex] module namespace not found in " + e + "(): " + o), i;
|
|
528
|
+
}
|
|
529
|
+
function z(t, e, o, i, r, s, a, u) {
|
|
530
|
+
var l = typeof t == "function" ? t.options : t;
|
|
531
|
+
e && (l.render = e, l.staticRenderFns = o, l._compiled = !0), i && (l.functional = !0), s && (l._scopeId = "data-v-" + s);
|
|
532
|
+
var c;
|
|
533
|
+
if (a ? (c = function(g) {
|
|
534
|
+
g = g || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !g && typeof __VUE_SSR_CONTEXT__ < "u" && (g = __VUE_SSR_CONTEXT__), r && r.call(this, g), g && g._registeredComponents && g._registeredComponents.add(a);
|
|
535
|
+
}, l._ssrRegister = c) : r && (c = u ? function() {
|
|
536
|
+
r.call(
|
|
537
|
+
this,
|
|
538
|
+
(l.functional ? this.parent : this).$root.$options.shadowRoot
|
|
539
|
+
);
|
|
540
|
+
} : r), c)
|
|
541
|
+
if (l.functional) {
|
|
542
|
+
l._injectStyles = c;
|
|
543
|
+
var d = l.render;
|
|
544
|
+
l.render = function(n, m) {
|
|
545
|
+
return c.call(m), d(n, m);
|
|
546
|
+
};
|
|
547
|
+
} else {
|
|
548
|
+
var f = l.beforeCreate;
|
|
549
|
+
l.beforeCreate = f ? [].concat(f, c) : [c];
|
|
550
|
+
}
|
|
551
|
+
return {
|
|
552
|
+
exports: t,
|
|
553
|
+
options: l
|
|
554
|
+
};
|
|
555
|
+
}
|
|
556
|
+
function ft(t, e, o) {
|
|
557
|
+
let i = /* @__PURE__ */ new Map();
|
|
558
|
+
return t.forEach((s, a) => {
|
|
559
|
+
i.set(s.id, kt(s.operation.list));
|
|
560
|
+
}), {
|
|
561
|
+
rich: Object.fromEntries(i),
|
|
562
|
+
formatter: (s) => Lt(s, t, e, o)
|
|
563
|
+
};
|
|
564
|
+
}
|
|
565
|
+
function kt(t) {
|
|
566
|
+
let e = {};
|
|
567
|
+
return t.forEach((o) => {
|
|
568
|
+
o.rules === "1" ? Object.assign(e, {
|
|
569
|
+
color: o.val ? o.val : "#333"
|
|
570
|
+
}) : o.rules === "2" ? Object.assign(e, {
|
|
571
|
+
fontSize: o.val + "px"
|
|
572
|
+
}) : o.rules === "3" && Object.assign(e, {
|
|
573
|
+
fontWeight: o.val
|
|
574
|
+
});
|
|
575
|
+
}), e;
|
|
576
|
+
}
|
|
577
|
+
function Lt(t, e, o, i) {
|
|
578
|
+
const r = o.formatter ? o.formatter : "", s = o.transKeyPrefix ? i(o.transKeyPrefix, o.prefix) : "";
|
|
579
|
+
let a = "";
|
|
580
|
+
for (let l = 0; l < e.length; l++) {
|
|
581
|
+
let c = [];
|
|
582
|
+
e[l].condition.list.forEach((f) => {
|
|
583
|
+
const g = I(f.val), n = o.bei === 0 ? 0 : o.bei === 100 ? g.l - 2 : g.l - 3, m = k(Number(f.val) * o.bei, n);
|
|
584
|
+
let p = Ft({
|
|
585
|
+
data: Object.assign({
|
|
586
|
+
...f
|
|
587
|
+
}, {
|
|
588
|
+
val: m
|
|
589
|
+
}),
|
|
590
|
+
val: t.data
|
|
591
|
+
});
|
|
592
|
+
c.push(p);
|
|
593
|
+
}), Dt(c, e[l]) && a === "" && (a = e[l].id);
|
|
594
|
+
}
|
|
595
|
+
return a !== "" ? `{${a}|${s} ${L(t.data)} ${r}}` : `${s} ${L(t.data)} ${r}`;
|
|
596
|
+
}
|
|
597
|
+
function Ft(t) {
|
|
598
|
+
switch (t.data.rules) {
|
|
599
|
+
case "1":
|
|
600
|
+
return Z(t);
|
|
601
|
+
case "2":
|
|
602
|
+
return Z(t);
|
|
603
|
+
case "7":
|
|
604
|
+
return K(t);
|
|
605
|
+
case "8":
|
|
606
|
+
return K(t);
|
|
607
|
+
case "9":
|
|
608
|
+
return K(t);
|
|
609
|
+
case "10":
|
|
610
|
+
return K(t);
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
function Z({
|
|
614
|
+
data: t,
|
|
615
|
+
val: e
|
|
616
|
+
}) {
|
|
617
|
+
if (e === "" || e === void 0)
|
|
618
|
+
return !1;
|
|
619
|
+
let o = Number(e), i = Number(t.val);
|
|
620
|
+
return t.rules === "1" ? o === i : o !== i;
|
|
621
|
+
}
|
|
622
|
+
function K({
|
|
623
|
+
data: t,
|
|
624
|
+
val: e
|
|
625
|
+
}) {
|
|
626
|
+
if (e === "" || e === void 0)
|
|
627
|
+
return !1;
|
|
628
|
+
let o = Y("inputnumber", {
|
|
629
|
+
val: e
|
|
630
|
+
}), i = Y("inputnumber", t);
|
|
631
|
+
if (t.rules === "7")
|
|
632
|
+
return o > i;
|
|
633
|
+
if (t.rules === "8")
|
|
634
|
+
return o >= i;
|
|
635
|
+
if (t.rules === "9")
|
|
636
|
+
return o < i;
|
|
637
|
+
if (t.rules === "10")
|
|
638
|
+
return o <= i;
|
|
639
|
+
}
|
|
640
|
+
function Y(t = "inputnumber", e) {
|
|
641
|
+
let o = 0;
|
|
642
|
+
return t === "inputnumber" ? o = Number(e.val) : o = new Date(String(e.val)).getTime(), o;
|
|
643
|
+
}
|
|
644
|
+
function Dt(t, e) {
|
|
645
|
+
let o = e.condition.list.length;
|
|
646
|
+
if (o === 0)
|
|
647
|
+
return !0;
|
|
648
|
+
let i = o === 0 ? "1" : e.condition.list[o - 1].type, r = Tt(t, i);
|
|
649
|
+
return i === "2" && !r ? !0 : !!(i !== "2" && r);
|
|
650
|
+
}
|
|
651
|
+
function Tt(t, e) {
|
|
652
|
+
return e === "2" ? t.every((o, i, r) => !o) : t.every((o, i, r) => !!o);
|
|
653
|
+
}
|
|
654
|
+
function I(t) {
|
|
655
|
+
const e = String(t), o = e.substr(e.lastIndexOf(".") + 1).toLowerCase();
|
|
656
|
+
let i = 1;
|
|
657
|
+
for (let r = 0; r < o.length; r++)
|
|
658
|
+
i *= 10;
|
|
659
|
+
return {
|
|
660
|
+
n: i,
|
|
661
|
+
l: o.length
|
|
662
|
+
};
|
|
663
|
+
}
|
|
664
|
+
function k(t, e) {
|
|
665
|
+
const o = 10 ** e;
|
|
666
|
+
return Math.round(t * o) / o;
|
|
667
|
+
}
|
|
668
|
+
const Pt = {
|
|
669
|
+
props: {
|
|
670
|
+
develop: {
|
|
671
|
+
type: [Number, String],
|
|
672
|
+
default: 1
|
|
673
|
+
},
|
|
674
|
+
color: {
|
|
675
|
+
type: Array,
|
|
676
|
+
default: () => []
|
|
677
|
+
},
|
|
678
|
+
options: {
|
|
679
|
+
type: Object,
|
|
680
|
+
default: () => ({})
|
|
681
|
+
},
|
|
682
|
+
ruleList: {
|
|
683
|
+
type: Array,
|
|
684
|
+
default: () => []
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
data() {
|
|
688
|
+
return {
|
|
689
|
+
colorList: []
|
|
690
|
+
};
|
|
691
|
+
},
|
|
692
|
+
methods: {
|
|
693
|
+
init(t) {
|
|
694
|
+
let e = T.init(this.$refs.container), o = this.getOption(t);
|
|
695
|
+
e.clear(), e.dispose(), e = T.init(this.$refs.container), e.setOption(o), e.on("click", (i) => {
|
|
696
|
+
this.$emit("change", i);
|
|
697
|
+
});
|
|
698
|
+
},
|
|
699
|
+
getOption(t) {
|
|
700
|
+
this.colorList = [...this.color];
|
|
701
|
+
let e = [], o = [], i = [], r = [];
|
|
702
|
+
const s = t.series.filter((n) => n.type === "bar")[0];
|
|
703
|
+
t.columns.forEach((n) => {
|
|
704
|
+
e.push({
|
|
705
|
+
type: "category",
|
|
706
|
+
data: n.data,
|
|
707
|
+
axisPointer: {
|
|
708
|
+
type: s === void 0 ? "line" : "shadow"
|
|
709
|
+
},
|
|
710
|
+
axisTick: {
|
|
711
|
+
alignWithLabel: !1
|
|
712
|
+
},
|
|
713
|
+
axisLine: {
|
|
714
|
+
onZero: !1,
|
|
715
|
+
lineStyle: {
|
|
716
|
+
color: this.options.labelLineColor
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
axisLabel: {
|
|
720
|
+
interval: 0,
|
|
721
|
+
rotate: n.rotate !== void 0 ? n.rotate : this.options.labelRotate,
|
|
722
|
+
fontSize: n.fontSize !== void 0 ? n.fontSize : this.options.labelFontSize,
|
|
723
|
+
color: n.color !== void 0 ? n.color : this.options.xAxisLabelColor
|
|
724
|
+
},
|
|
725
|
+
offset: n.offset,
|
|
726
|
+
position: n.position
|
|
727
|
+
});
|
|
728
|
+
}), t.data.forEach((n, m) => {
|
|
729
|
+
this.$i18nt(n.item.transKey, n.item.name);
|
|
730
|
+
let p = {
|
|
731
|
+
type: "value",
|
|
732
|
+
axisLine: {
|
|
733
|
+
show: !0,
|
|
734
|
+
lineStyle: {
|
|
735
|
+
color: this.options.labelLineColor
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
axisLabel: {
|
|
739
|
+
formatter: n.formatter ? `{value} ${n.formatter}` : "{value}",
|
|
740
|
+
color: this.options.labelFontColor
|
|
741
|
+
}
|
|
742
|
+
};
|
|
743
|
+
n.max !== void 0 && Object.assign(p, {
|
|
744
|
+
max: n.max
|
|
745
|
+
}), n.min !== void 0 && Object.assign(p, {
|
|
746
|
+
min: n.min
|
|
747
|
+
}), t.data.length !== 1 && Object.assign(p, {
|
|
748
|
+
position: m === 0 ? "left" : "right",
|
|
749
|
+
alignTicks: !0,
|
|
750
|
+
show: m < 2,
|
|
751
|
+
axisLabel: {
|
|
752
|
+
formatter: n.formatter ? `{value} ${n.formatter}` : "{value}"
|
|
753
|
+
}
|
|
754
|
+
}), o.push(p);
|
|
755
|
+
});
|
|
756
|
+
const u = t.series.filter((n) => {
|
|
757
|
+
const m = n.item.columnName ? n.item.columnName : "", p = t.series[0].columnName ? t.series[0].columnName : "";
|
|
758
|
+
return m === p;
|
|
759
|
+
}).length === t.series.length;
|
|
760
|
+
t.series.forEach((n, m) => {
|
|
761
|
+
let p = this.$i18nt(n.item.transKey, n.item.name);
|
|
762
|
+
n.item.transkeyDict && (p += ` (${this.$i18nt(n.item.transkeyDict, n.item.transkeyName)})`);
|
|
763
|
+
let y = {
|
|
764
|
+
label: {
|
|
765
|
+
show: n.tooltip ? this.options.labelShow : n.tooltip,
|
|
766
|
+
position: this.options.labelTextPosition,
|
|
767
|
+
textStyle: {
|
|
768
|
+
fontSize: this.options.textFontSize,
|
|
769
|
+
color: this.options.textFontColor
|
|
770
|
+
},
|
|
771
|
+
formatter: (_) => L(_.data)
|
|
772
|
+
},
|
|
773
|
+
color: (_) => t.type === 1 ? this.colorList[_.dataIndex] : this.colorList[m]
|
|
774
|
+
};
|
|
775
|
+
this.ruleList.length > 0 && (y = this.getNormal(y, n)), (t.data.length !== 1 || t.type === 2) && n.item.name && r.push(p);
|
|
776
|
+
let b = {
|
|
777
|
+
type: n.type,
|
|
778
|
+
name: p,
|
|
779
|
+
emphasis: {
|
|
780
|
+
focus: this.options.emphasisFocus
|
|
781
|
+
},
|
|
782
|
+
data: n.data.map((_) => {
|
|
783
|
+
if (n.bei === 1)
|
|
784
|
+
return k(_, this.options.numericalPrecision).toFixed(this.options.numericalPrecision);
|
|
785
|
+
const O = I(_), F = n.bei === 100 ? O.l - 2 : O.l - 3, P = k(Number(_) * n.bei, F);
|
|
786
|
+
return k(P, this.options.numericalPrecision).toFixed(this.options.numericalPrecision);
|
|
787
|
+
}),
|
|
788
|
+
tooltip: {
|
|
789
|
+
show: n.tooltip,
|
|
790
|
+
valueFormatter: (_) => {
|
|
791
|
+
const O = n.formatter ? n.formatter : "";
|
|
792
|
+
return `${n.transKeyPrefix ? this.$i18nt(n.transKeyPrefix, n.prefix) : ""} ${L(_)} ${O}`;
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
itemStyle: t.data.length === 1 ? { normal: y } : { normal: Object.assign({ ...y }, { color: this.colorList[m] }) }
|
|
796
|
+
};
|
|
797
|
+
const v = this.options.overlayStack ? { stack: n.stack ? n.stack : "Total" } : {};
|
|
798
|
+
t.type === 1 && Object.assign(b, { yAxisIndex: u || v.stack !== void 0 ? 0 : m }), n.type === "line" && Object.assign(b, {
|
|
799
|
+
smooth: this.options.smooth,
|
|
800
|
+
showSymbol: this.options.showSymbol,
|
|
801
|
+
lineStyle: {
|
|
802
|
+
width: this.options.lineStyleWidth
|
|
803
|
+
}
|
|
804
|
+
}), i.push(Object.assign(b, v));
|
|
805
|
+
});
|
|
806
|
+
let l = {
|
|
807
|
+
containLabel: !0
|
|
808
|
+
};
|
|
809
|
+
this.options.gridPosition.forEach((n, m) => {
|
|
810
|
+
n !== "" && m === 0 ? Object.assign(l, { top: n }) : n !== "" && m === 1 ? Object.assign(l, { right: n }) : n !== "" && m === 2 ? Object.assign(l, { bottom: n }) : n !== "" && m === 3 && Object.assign(l, { left: n });
|
|
811
|
+
});
|
|
812
|
+
let c = {
|
|
813
|
+
show: this.options.legendShow,
|
|
814
|
+
data: r,
|
|
815
|
+
type: "scroll",
|
|
816
|
+
textStyle: {
|
|
817
|
+
color: this.options.legendTextColor
|
|
818
|
+
},
|
|
819
|
+
orient: this.options.legendOrient
|
|
820
|
+
};
|
|
821
|
+
if (this.options.legendPosition.forEach((n, m) => {
|
|
822
|
+
n !== "" && m === 0 ? Object.assign(c, { top: n }) : n !== "" && m === 1 ? Object.assign(c, { right: n }) : n !== "" && m === 2 ? Object.assign(c, { bottom: n }) : n !== "" && m === 3 && Object.assign(c, { left: n });
|
|
823
|
+
}), s === void 0 && this.options.areaStyleStack && (e.forEach((n, m) => {
|
|
824
|
+
e[m] = Object.assign(n, {
|
|
825
|
+
boundaryGap: !1
|
|
826
|
+
});
|
|
827
|
+
}), i.forEach((n, m) => {
|
|
828
|
+
i[m] = Object.assign(n, {
|
|
829
|
+
areaStyle: {}
|
|
830
|
+
});
|
|
831
|
+
})), this.options.overlayStack && this.options.numericalSummary && this.options.labelTextPosition === "inside") {
|
|
832
|
+
let n = [], m = [];
|
|
833
|
+
const p = t.series[0].bei;
|
|
834
|
+
for (let y = 0; y < i[0].data.length; y++) {
|
|
835
|
+
let b = 0;
|
|
836
|
+
for (let v = 0; v < i.length; v++)
|
|
837
|
+
b += Number(i[v].data[y]);
|
|
838
|
+
if (m.push(0), p === 1)
|
|
839
|
+
n.push(k(b, this.options.numericalPrecision).toFixed(this.options.numericalPrecision));
|
|
840
|
+
else {
|
|
841
|
+
const v = I(b), _ = p === 100 ? v.l - 2 : v.l - 3, O = k(Number(ite) * p, _);
|
|
842
|
+
n.push(k(O, this.options.numericalPrecision).toFixed(this.options.numericalPrecision));
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
i.push({
|
|
846
|
+
name: "\u6C47\u603B",
|
|
847
|
+
stack: i[0].stack,
|
|
848
|
+
type: "bar",
|
|
849
|
+
label: {
|
|
850
|
+
normal: {
|
|
851
|
+
show: !0,
|
|
852
|
+
position: "top",
|
|
853
|
+
formatter: function(y) {
|
|
854
|
+
return n[y.dataIndex];
|
|
855
|
+
},
|
|
856
|
+
textStyle: { color: "#333", fontSize: this.options.textFontSize }
|
|
857
|
+
}
|
|
858
|
+
},
|
|
859
|
+
tooltip: {
|
|
860
|
+
show: !1
|
|
861
|
+
},
|
|
862
|
+
data: m
|
|
863
|
+
});
|
|
864
|
+
}
|
|
865
|
+
const d = Math.ceil(i[0].data.length / this.color.length);
|
|
866
|
+
let f = [];
|
|
867
|
+
for (let n = 0; n < d; n++)
|
|
868
|
+
f = f.concat(this.color);
|
|
869
|
+
return this.colorList = f, {
|
|
870
|
+
color: f,
|
|
871
|
+
tooltip: {
|
|
872
|
+
trigger: "axis",
|
|
873
|
+
axisPointer: {
|
|
874
|
+
type: s === void 0 ? "cross" : "shadow"
|
|
875
|
+
}
|
|
876
|
+
},
|
|
877
|
+
grid: l,
|
|
878
|
+
legend: c,
|
|
879
|
+
xAxis: e,
|
|
880
|
+
yAxis: o,
|
|
881
|
+
series: i
|
|
882
|
+
};
|
|
883
|
+
},
|
|
884
|
+
getNormal(t, e) {
|
|
885
|
+
const o = `${e.columnName}&${e.mode}`, i = this.ruleList.filter((s) => `${s.columnName}&${s.mode}` === o)[0];
|
|
886
|
+
if (!i)
|
|
887
|
+
return t;
|
|
888
|
+
let r = ft(i.ruleSequence, e, this.$i18nt);
|
|
889
|
+
return Object.assign({ ...t }, { label: Object.assign({ ...t.label }, r) });
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
};
|
|
893
|
+
var At = function() {
|
|
894
|
+
var e = this, o = e._self._c;
|
|
895
|
+
return o("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
896
|
+
}, Vt = [], Mt = /* @__PURE__ */ z(
|
|
897
|
+
Pt,
|
|
898
|
+
At,
|
|
899
|
+
Vt,
|
|
900
|
+
!1,
|
|
901
|
+
null,
|
|
902
|
+
"01437a52",
|
|
903
|
+
null,
|
|
904
|
+
null
|
|
905
|
+
);
|
|
906
|
+
const tt = Mt.exports;
|
|
907
|
+
const zt = {
|
|
908
|
+
props: {
|
|
909
|
+
develop: {
|
|
910
|
+
type: [Number, String],
|
|
911
|
+
default: 1
|
|
912
|
+
},
|
|
913
|
+
color: {
|
|
914
|
+
type: Array,
|
|
915
|
+
default: () => []
|
|
916
|
+
},
|
|
917
|
+
options: {
|
|
918
|
+
type: Object,
|
|
919
|
+
default: () => ({})
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
data() {
|
|
923
|
+
return {};
|
|
924
|
+
},
|
|
925
|
+
methods: {
|
|
926
|
+
init(t) {
|
|
927
|
+
let e = T.init(this.$refs.container), o = this.getOption(t);
|
|
928
|
+
e.clear(), e.dispose(), e = T.init(this.$refs.container), e.setOption(o), e.on("click", (i) => {
|
|
929
|
+
this.$emit("change", i);
|
|
930
|
+
});
|
|
931
|
+
},
|
|
932
|
+
getOption(t) {
|
|
933
|
+
let e = 0, o = t.data[0].dataName;
|
|
934
|
+
o.forEach((s, a) => {
|
|
935
|
+
e += Number(s.value), o[a].order = s.value;
|
|
936
|
+
}), o = [...pt(o)];
|
|
937
|
+
let i = {
|
|
938
|
+
show: this.options.legendShow,
|
|
939
|
+
data: t.columns[0].data,
|
|
940
|
+
type: "scroll",
|
|
941
|
+
textStyle: {
|
|
942
|
+
color: this.options.legendTextColor
|
|
943
|
+
},
|
|
944
|
+
orient: this.options.legendOrient
|
|
945
|
+
};
|
|
946
|
+
return this.options.legendPosition.forEach((s, a) => {
|
|
947
|
+
s !== "" && a === 0 ? Object.assign(i, { top: s }) : s !== "" && a === 1 ? Object.assign(i, { right: s }) : s !== "" && a === 2 ? Object.assign(i, { bottom: s }) : s !== "" && a === 3 && Object.assign(i, { left: s });
|
|
948
|
+
}), {
|
|
949
|
+
tooltip: {
|
|
950
|
+
trigger: "item",
|
|
951
|
+
formatter: function(s) {
|
|
952
|
+
return `${s.data.name}:\r\r${L(s.data.values)}\r
|
|
953
|
+
(${s.data.percentage}%)`;
|
|
954
|
+
}
|
|
955
|
+
},
|
|
956
|
+
color: this.color,
|
|
957
|
+
legend: i,
|
|
958
|
+
series: [
|
|
959
|
+
{
|
|
960
|
+
type: "funnel",
|
|
961
|
+
left: "10%",
|
|
962
|
+
top: 50,
|
|
963
|
+
bottom: 50,
|
|
964
|
+
width: "76%",
|
|
965
|
+
min: 0,
|
|
966
|
+
max: 100,
|
|
967
|
+
minSize: "10%",
|
|
968
|
+
maxSize: "90%",
|
|
969
|
+
sort: "descending",
|
|
970
|
+
gap: 1,
|
|
971
|
+
label: {
|
|
972
|
+
show: this.options.labelShow,
|
|
973
|
+
fontSize: this.options.textFontSize,
|
|
974
|
+
formatter: function(s) {
|
|
975
|
+
return `${s.data.name}:\r\r${L(s.data.values)}\r
|
|
976
|
+
(${s.data.percentage}%)`;
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
labelLine: {
|
|
980
|
+
length: 10,
|
|
981
|
+
lineStyle: {
|
|
982
|
+
width: 1,
|
|
983
|
+
type: "solid"
|
|
984
|
+
}
|
|
985
|
+
},
|
|
986
|
+
itemStyle: {
|
|
987
|
+
borderColor: "#fff",
|
|
988
|
+
borderWidth: 1
|
|
989
|
+
},
|
|
990
|
+
emphasis: {
|
|
991
|
+
label: {
|
|
992
|
+
fontSize: 15
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
data: o.map((s, a) => {
|
|
996
|
+
const u = s.value;
|
|
997
|
+
return Object.assign(
|
|
998
|
+
{ ...s },
|
|
999
|
+
{
|
|
1000
|
+
values: et(u, this.options.numericalPrecision).toFixed(this.options.numericalPrecision),
|
|
1001
|
+
percentage: e === 0 ? "0" : (Number(u) / e * 1e4).toFixed(0) / 100,
|
|
1002
|
+
value: (1 / o.length * (a + 1) * 100).toFixed(0)
|
|
1003
|
+
}
|
|
1004
|
+
);
|
|
1005
|
+
})
|
|
1006
|
+
}
|
|
1007
|
+
]
|
|
1008
|
+
};
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
};
|
|
1012
|
+
var Gt = function() {
|
|
1013
|
+
var e = this, o = e._self._c;
|
|
1014
|
+
return o("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
1015
|
+
}, Kt = [], Rt = /* @__PURE__ */ z(
|
|
1016
|
+
zt,
|
|
1017
|
+
Gt,
|
|
1018
|
+
Kt,
|
|
1019
|
+
!1,
|
|
1020
|
+
null,
|
|
1021
|
+
"60b26294",
|
|
1022
|
+
null,
|
|
1023
|
+
null
|
|
1024
|
+
);
|
|
1025
|
+
const It = Rt.exports;
|
|
1026
|
+
const Wt = {
|
|
1027
|
+
props: {
|
|
1028
|
+
develop: {
|
|
1029
|
+
type: [Number, String],
|
|
1030
|
+
default: 1
|
|
1031
|
+
},
|
|
1032
|
+
color: {
|
|
1033
|
+
type: Array,
|
|
1034
|
+
default: () => []
|
|
1035
|
+
},
|
|
1036
|
+
options: {
|
|
1037
|
+
type: Object,
|
|
1038
|
+
default: () => ({})
|
|
1039
|
+
},
|
|
1040
|
+
ruleList: {
|
|
1041
|
+
type: Array,
|
|
1042
|
+
default: () => []
|
|
1043
|
+
}
|
|
1044
|
+
},
|
|
1045
|
+
data() {
|
|
1046
|
+
return {};
|
|
1047
|
+
},
|
|
1048
|
+
methods: {
|
|
1049
|
+
init(t) {
|
|
1050
|
+
let e = T.init(this.$refs.container), o = this.getOption(t);
|
|
1051
|
+
e.clear(), e.dispose(), e = T.init(this.$refs.container), e.setOption(o), e.on("click", (i) => {
|
|
1052
|
+
this.$emit("change", i);
|
|
1053
|
+
});
|
|
1054
|
+
},
|
|
1055
|
+
getOption(t) {
|
|
1056
|
+
let e = [], o = [], i = [], r = [];
|
|
1057
|
+
const s = this.options.areaStyleStack ? { boundaryGap: !1 } : {};
|
|
1058
|
+
t.columns.forEach((c) => {
|
|
1059
|
+
e.push(
|
|
1060
|
+
Object.assign(
|
|
1061
|
+
{
|
|
1062
|
+
type: "category",
|
|
1063
|
+
data: c.data,
|
|
1064
|
+
axisPointer: {
|
|
1065
|
+
type: "line"
|
|
1066
|
+
},
|
|
1067
|
+
axisTick: {
|
|
1068
|
+
alignWithLabel: !0
|
|
1069
|
+
},
|
|
1070
|
+
axisLabel: {
|
|
1071
|
+
interval: 0,
|
|
1072
|
+
rotate: this.options.labelRotate,
|
|
1073
|
+
fontSize: this.options.labelFontSize,
|
|
1074
|
+
color: this.options.xAxisLabelColor
|
|
1075
|
+
}
|
|
1076
|
+
},
|
|
1077
|
+
s
|
|
1078
|
+
)
|
|
1079
|
+
);
|
|
1080
|
+
}), t.data.forEach((c, d) => {
|
|
1081
|
+
let f = {
|
|
1082
|
+
type: "value",
|
|
1083
|
+
axisLine: {
|
|
1084
|
+
show: !0,
|
|
1085
|
+
lineStyle: {
|
|
1086
|
+
color: this.options.labelLineColor
|
|
1087
|
+
}
|
|
1088
|
+
},
|
|
1089
|
+
axisLabel: {
|
|
1090
|
+
formatter: c.formatter ? `{value} ${c.formatter}` : "{value}",
|
|
1091
|
+
color: this.options.labelFontColor
|
|
1092
|
+
}
|
|
1093
|
+
}, g = this.$i18nt(c.item.transKey, c.item.name);
|
|
1094
|
+
t.data.length !== 1 && (r.push(g), Object.assign(f, {
|
|
1095
|
+
name: g,
|
|
1096
|
+
position: d === 0 ? "left" : "right",
|
|
1097
|
+
alignTicks: !0,
|
|
1098
|
+
show: d < 2
|
|
1099
|
+
})), o.push(f);
|
|
1100
|
+
let n = this.options.overlayStack ? { stack: "Total" } : {};
|
|
1101
|
+
this.options.areaStyleStack && Object.assign(n, { areaStyle: {} });
|
|
1102
|
+
let m = {
|
|
1103
|
+
label: {
|
|
1104
|
+
show: this.options.labelShow,
|
|
1105
|
+
position: this.options.labelTextPosition,
|
|
1106
|
+
textStyle: {
|
|
1107
|
+
fontSize: this.options.textFontSize,
|
|
1108
|
+
color: this.options.textFontColor
|
|
1109
|
+
},
|
|
1110
|
+
formatter: (p) => L(p.data)
|
|
1111
|
+
}
|
|
1112
|
+
};
|
|
1113
|
+
this.ruleList.length > 0 && (m = this.getNormal(m, c)), i.push(
|
|
1114
|
+
Object.assign(
|
|
1115
|
+
{
|
|
1116
|
+
emphasis: {
|
|
1117
|
+
focus: this.options.emphasisFocus
|
|
1118
|
+
},
|
|
1119
|
+
type: c.type,
|
|
1120
|
+
name: g,
|
|
1121
|
+
data: c.data.map((p) => {
|
|
1122
|
+
if (c.bei === 1)
|
|
1123
|
+
return k(p, this.options.numericalPrecision).toFixed(this.options.numericalPrecision);
|
|
1124
|
+
const y = I(p), b = c.bei === 100 ? y.l - 2 : y.l - 3, v = k(Number(p) * c.bei, b);
|
|
1125
|
+
return k(v, this.options.numericalPrecision).toFixed(this.options.numericalPrecision);
|
|
1126
|
+
}),
|
|
1127
|
+
smooth: this.options.smooth,
|
|
1128
|
+
showSymbol: this.options.showSymbol,
|
|
1129
|
+
lineStyle: {
|
|
1130
|
+
width: this.options.lineStyleWidth
|
|
1131
|
+
},
|
|
1132
|
+
itemStyle: {
|
|
1133
|
+
normal: m
|
|
1134
|
+
},
|
|
1135
|
+
tooltip: {
|
|
1136
|
+
show: c.tooltip,
|
|
1137
|
+
valueFormatter: (p) => {
|
|
1138
|
+
const y = c.formatter ? c.formatter : "";
|
|
1139
|
+
return `${c.transKeyPrefix ? this.$i18nt(c.transKeyPrefix, c.prefix) : ""} ${L(p)} ${y}`;
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
},
|
|
1143
|
+
n
|
|
1144
|
+
)
|
|
1145
|
+
);
|
|
1146
|
+
});
|
|
1147
|
+
let a = {
|
|
1148
|
+
containLabel: !0
|
|
1149
|
+
};
|
|
1150
|
+
this.options.gridPosition.forEach((c, d) => {
|
|
1151
|
+
c !== "" && d === 0 ? Object.assign(a, { top: c }) : c !== "" && d === 1 ? Object.assign(a, { right: c }) : c !== "" && d === 2 ? Object.assign(a, { bottom: c }) : c !== "" && d === 3 && Object.assign(a, { left: c });
|
|
1152
|
+
});
|
|
1153
|
+
let u = {
|
|
1154
|
+
show: this.options.legendShow,
|
|
1155
|
+
data: r,
|
|
1156
|
+
type: "scroll",
|
|
1157
|
+
textStyle: {
|
|
1158
|
+
color: this.options.legendTextColor
|
|
1159
|
+
},
|
|
1160
|
+
orient: this.options.legendOrient
|
|
1161
|
+
};
|
|
1162
|
+
return this.options.legendPosition.forEach((c, d) => {
|
|
1163
|
+
c !== "" && d === 0 ? Object.assign(u, { top: c }) : c !== "" && d === 1 ? Object.assign(u, { right: c }) : c !== "" && d === 2 ? Object.assign(u, { bottom: c }) : c !== "" && d === 3 && Object.assign(u, { left: c });
|
|
1164
|
+
}), {
|
|
1165
|
+
color: this.color,
|
|
1166
|
+
tooltip: {
|
|
1167
|
+
trigger: "axis",
|
|
1168
|
+
axisPointer: {
|
|
1169
|
+
type: "cross"
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
grid: a,
|
|
1173
|
+
legend: u,
|
|
1174
|
+
xAxis: e,
|
|
1175
|
+
yAxis: o,
|
|
1176
|
+
series: i
|
|
1177
|
+
};
|
|
1178
|
+
},
|
|
1179
|
+
getNormal(t, e) {
|
|
1180
|
+
const o = `${e.columnName}&${e.mode}`, i = this.ruleList.filter((s) => `${s.columnName}&${s.mode}` === o)[0];
|
|
1181
|
+
if (!i)
|
|
1182
|
+
return t;
|
|
1183
|
+
let r = ft(i.ruleSequence, e, this.$i18nt);
|
|
1184
|
+
return Object.assign({ ...t }, { label: Object.assign({ ...t.label }, r) });
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
};
|
|
1188
|
+
var Ut = function() {
|
|
1189
|
+
var e = this, o = e._self._c;
|
|
1190
|
+
return o("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
1191
|
+
}, qt = [], Bt = /* @__PURE__ */ z(
|
|
1192
|
+
Wt,
|
|
1193
|
+
Ut,
|
|
1194
|
+
qt,
|
|
1195
|
+
!1,
|
|
1196
|
+
null,
|
|
1197
|
+
"cf15f92e",
|
|
1198
|
+
null,
|
|
1199
|
+
null
|
|
1200
|
+
);
|
|
1201
|
+
const Ht = Bt.exports;
|
|
1202
|
+
const Qt = {
|
|
1203
|
+
props: {
|
|
1204
|
+
develop: {
|
|
1205
|
+
type: [Number, String],
|
|
1206
|
+
default: 1
|
|
1207
|
+
},
|
|
1208
|
+
color: {
|
|
1209
|
+
type: Array,
|
|
1210
|
+
default: () => []
|
|
1211
|
+
},
|
|
1212
|
+
options: {
|
|
1213
|
+
type: Object,
|
|
1214
|
+
default: () => ({})
|
|
1215
|
+
}
|
|
1216
|
+
},
|
|
1217
|
+
data() {
|
|
1218
|
+
return {
|
|
1219
|
+
colorList: []
|
|
1220
|
+
};
|
|
1221
|
+
},
|
|
1222
|
+
methods: {
|
|
1223
|
+
init(t) {
|
|
1224
|
+
let e = T.init(this.$refs.container), o = this.getOption(t);
|
|
1225
|
+
e.clear(), e.dispose(), e = T.init(this.$refs.container), e.setOption(o), e.on("click", (i) => {
|
|
1226
|
+
this.$emit("change", i);
|
|
1227
|
+
});
|
|
1228
|
+
},
|
|
1229
|
+
getOption(t) {
|
|
1230
|
+
const e = Math.ceil(t.data.length / this.color.length);
|
|
1231
|
+
let o = [];
|
|
1232
|
+
for (let a = 0; a < e; a++)
|
|
1233
|
+
o = o.concat(this.color);
|
|
1234
|
+
this.colorList = o;
|
|
1235
|
+
let i = [];
|
|
1236
|
+
t.data.forEach((a) => {
|
|
1237
|
+
i.push({
|
|
1238
|
+
type: "pie",
|
|
1239
|
+
radius: ["30%", "58%"],
|
|
1240
|
+
center: ["50%", "50%"],
|
|
1241
|
+
data: a.dataName.map((u) => Object.assign({ ...u }, { value: et(u.value, this.options.numericalPrecision).toFixed(this.options.numericalPrecision) })),
|
|
1242
|
+
label: {
|
|
1243
|
+
show: this.options.labelShow,
|
|
1244
|
+
position: this.options.labelTextPosition === "inside" ? "inside" : "outside",
|
|
1245
|
+
textStyle: {
|
|
1246
|
+
fontWeight: 500,
|
|
1247
|
+
color: this.options.textFontColor,
|
|
1248
|
+
fontSize: this.options.textFontSize,
|
|
1249
|
+
lineHeight: 20
|
|
1250
|
+
},
|
|
1251
|
+
formatter: (u) => `${u.name}:\r\r${L(u.value)}\r
|
|
1252
|
+
(${u.percent}%)`
|
|
1253
|
+
},
|
|
1254
|
+
itemStyle: {
|
|
1255
|
+
borderRadius: 2
|
|
1256
|
+
}
|
|
1257
|
+
});
|
|
1258
|
+
});
|
|
1259
|
+
let r = {
|
|
1260
|
+
show: this.options.legendShow,
|
|
1261
|
+
type: "scroll",
|
|
1262
|
+
data: t.columns[0].data,
|
|
1263
|
+
textStyle: {
|
|
1264
|
+
color: this.options.legendTextColor
|
|
1265
|
+
},
|
|
1266
|
+
orient: this.options.legendOrient
|
|
1267
|
+
};
|
|
1268
|
+
return this.options.legendPosition.forEach((a, u) => {
|
|
1269
|
+
a !== "" && u === 0 ? Object.assign(r, { top: a }) : a !== "" && u === 1 ? Object.assign(r, { right: a }) : a !== "" && u === 2 ? Object.assign(r, { bottom: a }) : a !== "" && u === 3 && Object.assign(r, { left: a });
|
|
1270
|
+
}), {
|
|
1271
|
+
color: this.colorList,
|
|
1272
|
+
tooltip: {
|
|
1273
|
+
trigger: "item"
|
|
1274
|
+
},
|
|
1275
|
+
legend: r,
|
|
1276
|
+
series: i
|
|
1277
|
+
};
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
};
|
|
1281
|
+
var Xt = function() {
|
|
1282
|
+
var e = this, o = e._self._c;
|
|
1283
|
+
return o("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
1284
|
+
}, Jt = [], Zt = /* @__PURE__ */ z(
|
|
1285
|
+
Qt,
|
|
1286
|
+
Xt,
|
|
1287
|
+
Jt,
|
|
1288
|
+
!1,
|
|
1289
|
+
null,
|
|
1290
|
+
"a4656473",
|
|
1291
|
+
null,
|
|
1292
|
+
null
|
|
1293
|
+
);
|
|
1294
|
+
const Yt = Zt.exports;
|
|
1295
|
+
const te = {
|
|
1296
|
+
props: {
|
|
1297
|
+
color: {
|
|
1298
|
+
type: Array,
|
|
1299
|
+
default: () => []
|
|
1300
|
+
},
|
|
1301
|
+
options: {
|
|
1302
|
+
type: Object,
|
|
1303
|
+
default: () => ({})
|
|
1304
|
+
},
|
|
1305
|
+
componentItem: {
|
|
1306
|
+
type: Object,
|
|
1307
|
+
default: () => ({})
|
|
1308
|
+
},
|
|
1309
|
+
ruleList: {
|
|
1310
|
+
type: Array,
|
|
1311
|
+
default: () => []
|
|
1312
|
+
},
|
|
1313
|
+
bjstyle: {
|
|
1314
|
+
type: String,
|
|
1315
|
+
default: ""
|
|
1316
|
+
}
|
|
1317
|
+
},
|
|
1318
|
+
data() {
|
|
1319
|
+
return {
|
|
1320
|
+
record: {},
|
|
1321
|
+
width: "80%",
|
|
1322
|
+
confirmLoading: !1,
|
|
1323
|
+
visible: !1,
|
|
1324
|
+
fullscreen: !1
|
|
1325
|
+
};
|
|
1326
|
+
},
|
|
1327
|
+
methods: {
|
|
1328
|
+
open(t) {
|
|
1329
|
+
this.visible = !0, this.record = { ...t }, this.$nextTick(() => {
|
|
1330
|
+
setTimeout(() => {
|
|
1331
|
+
this.$refs.componentItem.init(this.record), this.spinning = !1;
|
|
1332
|
+
}, 0);
|
|
1333
|
+
});
|
|
1334
|
+
},
|
|
1335
|
+
toggleFullscreen() {
|
|
1336
|
+
this.fullscreen = !this.fullscreen, this.$nextTick(() => {
|
|
1337
|
+
setTimeout(() => {
|
|
1338
|
+
this.$refs.componentItem.init(this.record);
|
|
1339
|
+
}, 0);
|
|
1340
|
+
});
|
|
1341
|
+
},
|
|
1342
|
+
doEvent(t) {
|
|
1343
|
+
let e = t.item.functionName;
|
|
1344
|
+
this[e] && this[e]();
|
|
1345
|
+
},
|
|
1346
|
+
closed() {
|
|
1347
|
+
this.fullscreen = !1, this.visible = !1;
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
};
|
|
1351
|
+
var ee = function() {
|
|
1352
|
+
var e = this, o = e._self._c;
|
|
1353
|
+
return o("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1, "destroy-on-close": !0 }, on: { "update:visible": function(i) {
|
|
1354
|
+
e.visible = i;
|
|
1355
|
+
}, closed: e.closed } }, [o("gd-modal-title", { attrs: { slot: "title", title: "", fullscreen: e.fullscreen, buttons: [], confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent }, slot: "title" }), o("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticClass: "generator-form", style: e.bjstyle }, [e.visible ? o(e.componentItem, { ref: "componentItem", tag: "component", attrs: { color: e.color, options: e.options, ruleList: e.ruleList } }) : e._e()], 1)], 1);
|
|
1356
|
+
}, oe = [], ie = /* @__PURE__ */ z(
|
|
1357
|
+
te,
|
|
1358
|
+
ee,
|
|
1359
|
+
oe,
|
|
1360
|
+
!1,
|
|
1361
|
+
null,
|
|
1362
|
+
"920bc331",
|
|
1363
|
+
null,
|
|
1364
|
+
null
|
|
1365
|
+
);
|
|
1366
|
+
const re = ie.exports;
|
|
1367
|
+
const ne = {
|
|
1368
|
+
name: "GdChartBi",
|
|
1369
|
+
props: {
|
|
1370
|
+
develop: {
|
|
1371
|
+
type: [Number, String],
|
|
1372
|
+
default: 1
|
|
1373
|
+
},
|
|
1374
|
+
showTitle: {
|
|
1375
|
+
type: Boolean,
|
|
1376
|
+
default: !0
|
|
1377
|
+
},
|
|
1378
|
+
color: {
|
|
1379
|
+
type: Array,
|
|
1380
|
+
default: () => []
|
|
1381
|
+
},
|
|
1382
|
+
left: {
|
|
1383
|
+
type: [Number, String],
|
|
1384
|
+
default: 10
|
|
1385
|
+
},
|
|
1386
|
+
bjstyle: {
|
|
1387
|
+
type: String,
|
|
1388
|
+
default: ""
|
|
1389
|
+
}
|
|
1390
|
+
},
|
|
1391
|
+
data() {
|
|
1392
|
+
return {
|
|
1393
|
+
record: {},
|
|
1394
|
+
optionData: {},
|
|
1395
|
+
spinning: !0,
|
|
1396
|
+
type: "none",
|
|
1397
|
+
empty: !1,
|
|
1398
|
+
offsetCaudex: 0
|
|
1399
|
+
};
|
|
1400
|
+
},
|
|
1401
|
+
components: { AmplifyEchart: re },
|
|
1402
|
+
computed: {
|
|
1403
|
+
dictUnit() {
|
|
1404
|
+
const t = [
|
|
1405
|
+
{
|
|
1406
|
+
code: "percent",
|
|
1407
|
+
name: "%",
|
|
1408
|
+
transkey: "",
|
|
1409
|
+
remark: "0.01"
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
code: "permil",
|
|
1413
|
+
name: "\u2030",
|
|
1414
|
+
transkey: "",
|
|
1415
|
+
remark: "0.001"
|
|
1416
|
+
}
|
|
1417
|
+
];
|
|
1418
|
+
return this.getDictionary("statistical_value_unit").map((o) => Object.assign(o, {
|
|
1419
|
+
transkey: `Dynamics.${o.transkey}`
|
|
1420
|
+
})).concat(t);
|
|
1421
|
+
},
|
|
1422
|
+
echartsMode() {
|
|
1423
|
+
return this.getDictionary("table_echarts_mode");
|
|
1424
|
+
},
|
|
1425
|
+
ruleList() {
|
|
1426
|
+
return (this.record.config && this.record.config.series ? this.record.config.series : []).filter((e) => e.ruleOpen);
|
|
1427
|
+
},
|
|
1428
|
+
options() {
|
|
1429
|
+
let t = this.record.options || {};
|
|
1430
|
+
return Object.assign(
|
|
1431
|
+
{ ...t },
|
|
1432
|
+
{
|
|
1433
|
+
labelTextPosition: t.labelTextPosition ? t.labelTextPosition : "top",
|
|
1434
|
+
legendPosition: t.legendPosition ? t.legendPosition : ["", "", "", ""],
|
|
1435
|
+
gridPosition: t.gridPosition ? t.gridPosition : ["60", "4%", "3%", "3%"],
|
|
1436
|
+
overlayStack: t.overlayStack !== void 0 ? t.overlayStack : !1,
|
|
1437
|
+
areaStyleStack: t.areaStyleStack !== void 0 ? t.areaStyleStack : !1,
|
|
1438
|
+
legendShow: t.legendShow !== void 0 ? t.legendShow : !0,
|
|
1439
|
+
labelFontColor: t.labelFontColor ? t.labelFontColor : "#333",
|
|
1440
|
+
textFontColor: t.textFontColor ? t.textFontColor : "#333",
|
|
1441
|
+
textFontSize: t.textFontSize ? t.textFontSize : 14,
|
|
1442
|
+
legendOrient: t.legendOrient ? t.legendOrient : "horizontal",
|
|
1443
|
+
legendTextColor: t.legendTextColor ? t.legendTextColor : "#333",
|
|
1444
|
+
xAxisLabelColor: t.xAxisLabelColor ? t.xAxisLabelColor : "#333",
|
|
1445
|
+
labelLineColor: t.labelLineColor ? t.labelLineColor : "#333",
|
|
1446
|
+
emphasisFocus: t.emphasisFocus ? t.emphasisFocus : "series",
|
|
1447
|
+
lineStyleWidth: t.lineStyleWidth !== void 0 ? t.lineStyleWidth : 1,
|
|
1448
|
+
numericalPrecision: t.numericalPrecision !== void 0 ? t.numericalPrecision : 2,
|
|
1449
|
+
numericalSummary: t.numericalSummary !== void 0 ? t.numericalSummary : !1
|
|
1450
|
+
}
|
|
1451
|
+
);
|
|
1452
|
+
},
|
|
1453
|
+
componentItem() {
|
|
1454
|
+
const e = [
|
|
1455
|
+
{ type: "bar", data: tt },
|
|
1456
|
+
{ type: "pie", data: Yt },
|
|
1457
|
+
{ type: "funnel", data: It },
|
|
1458
|
+
{ type: "line", data: Ht }
|
|
1459
|
+
].filter((o) => o.type === this.type)[0];
|
|
1460
|
+
return e ? e.data : tt;
|
|
1461
|
+
},
|
|
1462
|
+
getColor() {
|
|
1463
|
+
let t = [];
|
|
1464
|
+
return (this.color.length === 0 ? this.echartsColor : this.color).forEach((o) => {
|
|
1465
|
+
t.push(o === "0" ? this.primaryColor : o);
|
|
1466
|
+
}), t;
|
|
1467
|
+
},
|
|
1468
|
+
...jt(["echartsColor", "primaryColor", "language"])
|
|
1469
|
+
},
|
|
1470
|
+
methods: {
|
|
1471
|
+
amplify() {
|
|
1472
|
+
this.$nextTick(() => {
|
|
1473
|
+
setTimeout(() => {
|
|
1474
|
+
this.$refs.amplifyEchart.open(this.optionData);
|
|
1475
|
+
}, 0);
|
|
1476
|
+
});
|
|
1477
|
+
},
|
|
1478
|
+
setType() {
|
|
1479
|
+
this.spinning = !1, this.type = "none";
|
|
1480
|
+
},
|
|
1481
|
+
change(t) {
|
|
1482
|
+
this.$emit("change", { params: t, option: this.optionData, record: this.record });
|
|
1483
|
+
},
|
|
1484
|
+
assembly() {
|
|
1485
|
+
const t = this.optionData.data.filter((e) => e.type === "bar")[0];
|
|
1486
|
+
this.type = t ? t.type : this.optionData.data[0].type, this.$nextTick(() => {
|
|
1487
|
+
setTimeout(() => {
|
|
1488
|
+
this.$refs.componentItem.init(this.optionData), this.spinning = !1;
|
|
1489
|
+
}, 0);
|
|
1490
|
+
});
|
|
1491
|
+
},
|
|
1492
|
+
handleUniaxial({ config: t, data: e, categorydata: o }) {
|
|
1493
|
+
const i = t.series ? t.series : [], r = t.categories ? t.categories : [], s = t.stackList ? t.stackList : [];
|
|
1494
|
+
if (i.length === 0 || r.length === 0)
|
|
1495
|
+
return;
|
|
1496
|
+
const a = s[0] ? s[0].uuid : "", u = a !== "" ? a : r[0].uuid, l = i.filter((p) => p.type === "1")[0];
|
|
1497
|
+
l ? l.type : i[0].type;
|
|
1498
|
+
const c = s.filter((p) => p.dictTypeCode)[0], d = r.filter((p) => p.dictTypeCode)[0], f = a !== "" ? c : d, g = f ? this.getDictionary(f.dictTypeCode) : [];
|
|
1499
|
+
let n = [], m = [];
|
|
1500
|
+
if (i.forEach((p, y) => {
|
|
1501
|
+
let b = [], v = [], _ = [];
|
|
1502
|
+
e.forEach(($) => {
|
|
1503
|
+
const N = $[u], C = $[p.uuid], x = this.getVal({ item: a !== "" ? s[0] : r[0], ite: N, data: e, dict: g });
|
|
1504
|
+
b.push(C), v.push({
|
|
1505
|
+
value: C,
|
|
1506
|
+
name: x
|
|
1507
|
+
}), y === 0 && _.push(x || this.$i18nt("gd.echarts.none", "\u7A7A\u767D"));
|
|
1508
|
+
}), _.length > 0 && n.push({ data: _ });
|
|
1509
|
+
let O = {}, F = "";
|
|
1510
|
+
if (p.ruleOpen && p.ruleFormatter.formatter && p.ruleFormatter.formatter !== "none") {
|
|
1511
|
+
const $ = this.dictUnit.filter((N) => N.code === p.ruleFormatter.formatter)[0];
|
|
1512
|
+
F = $ ? this.$i18nt(`Dynamics.${$.transkey}`, $.name) : "", Object.assign(O, {
|
|
1513
|
+
formatter: F
|
|
1514
|
+
});
|
|
1515
|
+
}
|
|
1516
|
+
p.ruleOpen && p.ruleFormatter.openPrefix && p.ruleFormatter.transKeyPrefix && Object.assign(O, {
|
|
1517
|
+
prefix: p.ruleFormatter.prefix,
|
|
1518
|
+
transKeyPrefix: p.ruleFormatter.transKeyPrefix
|
|
1519
|
+
});
|
|
1520
|
+
const P = this.getBei(p.ruleFormatter.formatter);
|
|
1521
|
+
p.ruleOpen && p.ruleFormatter.min !== void 0 && p.ruleFormatter.min !== "" && Object.assign(O, {
|
|
1522
|
+
min: p.ruleFormatter.min * P
|
|
1523
|
+
}), p.ruleOpen && p.ruleFormatter.max !== void 0 && p.ruleFormatter.max !== "" && Object.assign(O, {
|
|
1524
|
+
max: p.ruleFormatter.max * P
|
|
1525
|
+
});
|
|
1526
|
+
const h = this.echartsMode.filter(($) => $.code == p.mode)[0];
|
|
1527
|
+
m.push(
|
|
1528
|
+
Object.assign(
|
|
1529
|
+
{
|
|
1530
|
+
data: b,
|
|
1531
|
+
dataName: v,
|
|
1532
|
+
type: this.getChartType(p.type),
|
|
1533
|
+
item: Object.assign(
|
|
1534
|
+
{ ...p },
|
|
1535
|
+
{
|
|
1536
|
+
transKey: `Dynamics.${p.transKey}`,
|
|
1537
|
+
transkeyDict: h ? h.transkey : null,
|
|
1538
|
+
transkeyName: h ? h.name : ""
|
|
1539
|
+
}
|
|
1540
|
+
),
|
|
1541
|
+
bei: P,
|
|
1542
|
+
tooltip: !0,
|
|
1543
|
+
columnName: p.columnName,
|
|
1544
|
+
mode: p.mode
|
|
1545
|
+
},
|
|
1546
|
+
O
|
|
1547
|
+
)
|
|
1548
|
+
);
|
|
1549
|
+
}), a !== "") {
|
|
1550
|
+
let p = [];
|
|
1551
|
+
o[r[0].uuid].forEach((y) => {
|
|
1552
|
+
const b = d ? this.getDictionary(d.dictTypeCode) : [], v = this.getVal({ item: r[0], ite: y, data: e, dict: b });
|
|
1553
|
+
p.push(v || this.$i18nt("gd.echarts.none", "\u7A7A\u767D"));
|
|
1554
|
+
}), n[0] = Object.assign(
|
|
1555
|
+
{ ...n[0] },
|
|
1556
|
+
{
|
|
1557
|
+
rotate: s[0].labelRotate,
|
|
1558
|
+
fontSize: s[0].labelFontSize,
|
|
1559
|
+
color: s[0].xAxisLabelColor,
|
|
1560
|
+
offset: s[0].offset,
|
|
1561
|
+
position: s[0].position
|
|
1562
|
+
}
|
|
1563
|
+
), n.push({ data: p, offset: s[0].offsetCaudex, position: "bottom" });
|
|
1564
|
+
}
|
|
1565
|
+
this.optionData = { columns: n, data: m, series: m, type: 1 }, this.assembly();
|
|
1566
|
+
},
|
|
1567
|
+
handleMultiaxis({ config: t, data: e, categorydata: o }) {
|
|
1568
|
+
const i = t.series ? t.series : [], r = t.categories ? t.categories : [], s = t.stackList ? t.stackList : [];
|
|
1569
|
+
if (i.length === 0 || r.length === 0)
|
|
1570
|
+
return;
|
|
1571
|
+
let a = [], u = [], l = [], c = [], d = { item: { transKey: i[0].transKey, name: i[0].name } };
|
|
1572
|
+
const f = this.ruleList[0];
|
|
1573
|
+
let g = "";
|
|
1574
|
+
if (f && f.ruleOpen && f.ruleFormatter.formatter && f.ruleFormatter.formatter !== "none") {
|
|
1575
|
+
const h = this.dictUnit.filter(($) => $.code === f.ruleFormatter.formatter)[0];
|
|
1576
|
+
g = h ? this.$i18nt(`Dynamics.${h.transkey}`, h.name) : "", Object.assign(d, {
|
|
1577
|
+
formatter: g
|
|
1578
|
+
});
|
|
1579
|
+
}
|
|
1580
|
+
f && f.ruleFormatter.openPrefix && f.ruleFormatter.transKeyPrefix && Object.assign(d, {
|
|
1581
|
+
prefix: f.ruleFormatter.prefix,
|
|
1582
|
+
transKeyPrefix: `Dynamics.${f.ruleFormatter.transKeyPrefix}`
|
|
1583
|
+
});
|
|
1584
|
+
let n = {};
|
|
1585
|
+
const m = this.getBei(f.ruleFormatter.formatter);
|
|
1586
|
+
f && f.ruleOpen && f.ruleFormatter.min !== void 0 && f.ruleFormatter.min !== "" && Object.assign(n, {
|
|
1587
|
+
min: f.ruleFormatter.min * m
|
|
1588
|
+
}), f && f.ruleOpen && f.ruleFormatter.max !== void 0 && f.ruleFormatter.max !== "" && Object.assign(n, {
|
|
1589
|
+
max: f.ruleFormatter.max * m
|
|
1590
|
+
});
|
|
1591
|
+
const p = [Object.assign(d, n, { type: "bar" })];
|
|
1592
|
+
r.forEach((h, $) => {
|
|
1593
|
+
const N = o[h.uuid] ? o[h.uuid] : [], C = N.map((x) => {
|
|
1594
|
+
const D = h.dictTypeCode ? this.getDictionary(h.dictTypeCode) : [];
|
|
1595
|
+
return x ? this.getVal({ item: h, ite: x, data: e, dict: D }) : this.$i18nt("gd.echarts.none", "\u7A7A\u767D");
|
|
1596
|
+
});
|
|
1597
|
+
C.length > 0 && l.push({
|
|
1598
|
+
data: N,
|
|
1599
|
+
mode: h.mode,
|
|
1600
|
+
effectType: h.effectType,
|
|
1601
|
+
dictTypeCode: h.dictTypeCode,
|
|
1602
|
+
uuid: h.uuid
|
|
1603
|
+
}), $ === 0 && a.push({ data: C, offset: 0, position: "bottom" });
|
|
1604
|
+
}), s.forEach((h, $) => {
|
|
1605
|
+
const N = o[h.uuid] ? o[h.uuid] : [];
|
|
1606
|
+
N.map((C) => {
|
|
1607
|
+
const x = h.dictTypeCode ? this.getDictionary(h.dictTypeCode) : [];
|
|
1608
|
+
return C ? this.getVal({ item: h, ite: C, data: e, dict: x }) : this.$i18nt("gd.echarts.none", "\u7A7A\u767D");
|
|
1609
|
+
}), c.push({
|
|
1610
|
+
data: N,
|
|
1611
|
+
mode: h.mode,
|
|
1612
|
+
effectType: h.effectType,
|
|
1613
|
+
dictTypeCode: h.dictTypeCode,
|
|
1614
|
+
uuid: h.uuid,
|
|
1615
|
+
offset: h.offset,
|
|
1616
|
+
offsetCaudex: h.offsetCaudex,
|
|
1617
|
+
labelRotate: h.labelRotate,
|
|
1618
|
+
labelFontSize: h.labelFontSize,
|
|
1619
|
+
xAxisLabelColor: h.xAxisLabelColor,
|
|
1620
|
+
position: h.position
|
|
1621
|
+
});
|
|
1622
|
+
});
|
|
1623
|
+
let y = [];
|
|
1624
|
+
const b = i[0].uuid, v = this.getChartType(i[0].type);
|
|
1625
|
+
if (e.forEach((h) => {
|
|
1626
|
+
const $ = this.getDataName(h, r.concat(s), b);
|
|
1627
|
+
y.push($);
|
|
1628
|
+
}), l[1] === void 0) {
|
|
1629
|
+
this.spinning = !1, this.develop === 2 && this.$message.error(this.$i18nt("gd.msg.temPlate.dataError", "\u6570\u636E\u9519\u8BEF"));
|
|
1630
|
+
return;
|
|
1631
|
+
}
|
|
1632
|
+
for (let h = 0; h < l[1].data.length; h++) {
|
|
1633
|
+
let $ = [], N = [];
|
|
1634
|
+
for (let x = 0; x < l[0].data.length; x++) {
|
|
1635
|
+
const D = l[0].data[x] + "" + l[1].data[h], G = y.filter((dt) => dt.name === D)[0];
|
|
1636
|
+
N.push(D), $.push(G ? G.val : 0);
|
|
1637
|
+
}
|
|
1638
|
+
let C = l[1].data[h] === null || l[1].data[h] === "" ? { transKey: "gd.echarts.none", name: "\u7A7A\u767D" } : { transKey: null, name: l[1].data[h] + "" };
|
|
1639
|
+
if (l[1].dictTypeCode) {
|
|
1640
|
+
const D = this.getDictionary(l[1].dictTypeCode).filter((G) => G.code == l[1].data[h])[0];
|
|
1641
|
+
Object.assign(C, D ? { transKey: D.transkey, name: D.name } : {});
|
|
1642
|
+
} else if (l[1].effectType === "datepicker") {
|
|
1643
|
+
const x = this.getVal({ item: l[1], ite: l[1].data[h], data: e, dict: [] });
|
|
1644
|
+
Object.assign(C, x ? { transKey: null, name: x } : {});
|
|
1645
|
+
} else if (["fk", "user", "about"].includes(l[1].effectType)) {
|
|
1646
|
+
const x = this.getVal({ item: l[1], ite: l[1].data[h], data: e, dict: [] });
|
|
1647
|
+
Object.assign(C, x ? { transKey: null, name: x } : {});
|
|
1648
|
+
}
|
|
1649
|
+
u.push({
|
|
1650
|
+
data: $,
|
|
1651
|
+
dataName: [],
|
|
1652
|
+
type: v,
|
|
1653
|
+
item: C,
|
|
1654
|
+
tooltip: !0,
|
|
1655
|
+
ruleOpen: !0,
|
|
1656
|
+
columnName: i[0].columnName,
|
|
1657
|
+
mode: i[0].mode,
|
|
1658
|
+
bei: m,
|
|
1659
|
+
formatter: g,
|
|
1660
|
+
combination: N,
|
|
1661
|
+
prefix: d.prefix !== void 0 ? d.prefix : "",
|
|
1662
|
+
transKeyPrefix: d.transKeyPrefix !== void 0 ? d.transKeyPrefix : null
|
|
1663
|
+
});
|
|
1664
|
+
}
|
|
1665
|
+
if (this.options.overlayStack && c.length > 0) {
|
|
1666
|
+
const h = this.multiaxisStack(u, y, c, e);
|
|
1667
|
+
u = h.columnsData, a[0].offset = h.offset, a.push(h.xAxis), a.reverse();
|
|
1668
|
+
}
|
|
1669
|
+
const _ = u.filter((h) => h.item.transKey !== "gd.echarts.none"), O = u.filter((h) => h.item.transKey === "gd.echarts.none"), F = _.concat(O), P = this.options.overlayLineChart && v === "bar" ? F.map((h) => Object.assign(
|
|
1670
|
+
{ ...h },
|
|
1671
|
+
{
|
|
1672
|
+
type: v === "bar" ? "line" : "bar",
|
|
1673
|
+
tooltip: !1,
|
|
1674
|
+
ruleOpen: !1,
|
|
1675
|
+
columnName: "",
|
|
1676
|
+
formatter: ""
|
|
1677
|
+
}
|
|
1678
|
+
)) : [];
|
|
1679
|
+
this.optionData = { columns: a, data: p, series: F.concat(P), type: 2 }, this.assembly();
|
|
1680
|
+
},
|
|
1681
|
+
multiaxisStack(t, e, o, i) {
|
|
1682
|
+
const r = o[0].data, s = o[0].dictTypeCode, a = s ? this.getDictionary(s) : [], u = o[0];
|
|
1683
|
+
let l = [], c = [];
|
|
1684
|
+
r.forEach((n) => {
|
|
1685
|
+
const m = this.getVal({ item: o[0], ite: n, data: i, dict: a });
|
|
1686
|
+
l.push({ name: m, id: n }), c.push(m);
|
|
1687
|
+
});
|
|
1688
|
+
let d = [];
|
|
1689
|
+
for (let n = 0; n < t[0].data.length; n++)
|
|
1690
|
+
d = d.concat(c);
|
|
1691
|
+
let f = [];
|
|
1692
|
+
const g = ht(8);
|
|
1693
|
+
for (let n = 0; n < t.length; n++) {
|
|
1694
|
+
let m = [], p = [];
|
|
1695
|
+
for (let y = 0; y < t[n].combination.length; y++)
|
|
1696
|
+
for (let b = 0; b < r.length; b++) {
|
|
1697
|
+
p.push(t[n].combination[y] + r[b]);
|
|
1698
|
+
const v = t[n].combination[y] + r[b], _ = e.filter((O) => O.name === v)[0];
|
|
1699
|
+
m.push(_ ? _.val : 0);
|
|
1700
|
+
}
|
|
1701
|
+
f.push(Object.assign({ ...t[n] }, { stack: g, data: m }));
|
|
1702
|
+
}
|
|
1703
|
+
return {
|
|
1704
|
+
columnsData: f,
|
|
1705
|
+
stackName: l,
|
|
1706
|
+
offset: u.offsetCaudex,
|
|
1707
|
+
xAxis: {
|
|
1708
|
+
data: d,
|
|
1709
|
+
rotate: u.labelRotate,
|
|
1710
|
+
fontSize: u.labelFontSize,
|
|
1711
|
+
color: u.xAxisLabelColor,
|
|
1712
|
+
offset: u.offset,
|
|
1713
|
+
position: u.position
|
|
1714
|
+
}
|
|
1715
|
+
};
|
|
1716
|
+
},
|
|
1717
|
+
init(t) {
|
|
1718
|
+
if (this.record = t, t.data.length === 0)
|
|
1719
|
+
return this.empty = !0, this.spinning = !1, !1;
|
|
1720
|
+
this.empty = !1, (t.config && t.config.categories ? t.config.categories : []).length <= 1 ? this.handleUniaxial(t) : this.handleMultiaxis(t);
|
|
1721
|
+
},
|
|
1722
|
+
getBei(t) {
|
|
1723
|
+
const e = this.dictUnit.filter((i) => i.code == t)[0], o = e && e.remark ? Number(e.remark) : 1;
|
|
1724
|
+
return isNaN(o) ? 1 : 1 / o;
|
|
1725
|
+
},
|
|
1726
|
+
getVal({ item: t, ite: e, data: o, dict: i }) {
|
|
1727
|
+
let r = e;
|
|
1728
|
+
const s = i.filter((a) => a.code == e)[0];
|
|
1729
|
+
if (t.dictTypeCode && s)
|
|
1730
|
+
r = this.$i18nt(`Dynamics.${s.transkey}`, s.name);
|
|
1731
|
+
else if (t.effectType === "datepicker")
|
|
1732
|
+
r = this.getFormatTime(t.mode, e);
|
|
1733
|
+
else if (["fk", "user", "about"].includes(t.effectType)) {
|
|
1734
|
+
const a = o.filter((u) => u[t.uuid] == e)[0];
|
|
1735
|
+
r = a && a[`${t.uuid}_name`] ? a[`${t.uuid}_name`] : r;
|
|
1736
|
+
}
|
|
1737
|
+
return r;
|
|
1738
|
+
},
|
|
1739
|
+
getDataName(t, e, o) {
|
|
1740
|
+
let i = "";
|
|
1741
|
+
return e.forEach((r) => {
|
|
1742
|
+
i += String(t[r.uuid]);
|
|
1743
|
+
}), { val: t[o], name: i };
|
|
1744
|
+
},
|
|
1745
|
+
getChartType(t) {
|
|
1746
|
+
switch (t) {
|
|
1747
|
+
case "1":
|
|
1748
|
+
return "bar";
|
|
1749
|
+
case "2":
|
|
1750
|
+
return "pie";
|
|
1751
|
+
case "3":
|
|
1752
|
+
return "funnel";
|
|
1753
|
+
case "4":
|
|
1754
|
+
return "line";
|
|
1755
|
+
default:
|
|
1756
|
+
return "bar";
|
|
1757
|
+
}
|
|
1758
|
+
},
|
|
1759
|
+
getDictionary(t) {
|
|
1760
|
+
return this.$options.filters.dictData(t);
|
|
1761
|
+
},
|
|
1762
|
+
getFormatTime(t, e) {
|
|
1763
|
+
if (["1", "3", "5"].includes(t)) {
|
|
1764
|
+
const o = t === "5" ? "yyyy" : t === "3" ? "yyyy-MM" : "yyyy-MM-dd";
|
|
1765
|
+
return this.$options.filters.formatTime(e, o);
|
|
1766
|
+
} else if (t === "2") {
|
|
1767
|
+
const o = e.split("-"), i = { year: o[0], week: o[1] }, r = this.$i18nt("gd.echarts.yearWeek"), s = this.$i18nt("gd.echarts.weekMode");
|
|
1768
|
+
return this.language === "zh_CN" ? `${i.year}${r}${i.week}${s}` : `${s} ${i.week} ${r} ${i.year}`;
|
|
1769
|
+
} else if (t === "4") {
|
|
1770
|
+
const o = e.split("-"), i = { year: o[0], quarter: o[1] }, r = this.$i18nt("gd.echarts.yearQuarter"), s = this.$i18nt("gd.echarts.quarterMode");
|
|
1771
|
+
return this.language === "zh_CN" ? `${i.year}${r}${i.quarter}${s}` : `${s}${i.quarter} ${r} ${i.year}`;
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
};
|
|
1776
|
+
var se = function() {
|
|
1777
|
+
var e = this, o = e._self._c;
|
|
1778
|
+
return o("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.spinning, expression: "spinning" }], staticClass: "gd-echart" }, [e.type === "none" || e.empty ? o("div", { staticClass: "empty" }, [o("i", { staticClass: "el-icon-receiving" }), o("div", { staticClass: "empty-err" }, [e._v(e._s(e.$i18nt("gd.echarts.noData", "\u6682\u65E0\u6570\u636E\u5C55\u793A")))])]) : o(e.componentItem, { ref: "componentItem", tag: "component", attrs: { develop: e.develop, color: e.getColor, options: e.options, ruleList: e.ruleList }, on: { change: e.change } }), o("AmplifyEchart", { ref: "amplifyEchart", attrs: { color: e.getColor, options: e.options, ruleList: e.ruleList, componentItem: e.componentItem, bjstyle: e.bjstyle } })], 1);
|
|
1779
|
+
}, ae = [], le = /* @__PURE__ */ z(
|
|
1780
|
+
ne,
|
|
1781
|
+
se,
|
|
1782
|
+
ae,
|
|
1783
|
+
!1,
|
|
1784
|
+
null,
|
|
1785
|
+
"d13f7100",
|
|
1786
|
+
null,
|
|
1787
|
+
null
|
|
1788
|
+
);
|
|
1789
|
+
const U = le.exports;
|
|
1790
|
+
U.install = function(t) {
|
|
1791
|
+
t.component(U.name, U);
|
|
1792
|
+
};
|
|
1793
|
+
export {
|
|
1794
|
+
U as G,
|
|
1795
|
+
fe as a,
|
|
1796
|
+
jt as m,
|
|
1797
|
+
z as n
|
|
1798
|
+
};
|