gds-plus-design-vue 1.2.62 → 1.2.71
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/addPermission.179a09f4.mjs +443 -0
- package/lib/addPermission.c72ebbe0.js +1 -0
- package/lib/approvalModel.7b550187.mjs +340 -0
- package/lib/approvalModel.7cfcac3c.js +1 -0
- package/lib/attribute.3fed1dd9.js +1 -0
- package/lib/attribute.e9a8faa1.mjs +367 -0
- package/lib/businessRules.cf106f09.js +1 -0
- package/lib/businessRules.d7d35011.mjs +539 -0
- package/lib/buttonRule.2afe380d.mjs +396 -0
- package/lib/buttonRule.737e8e3f.js +1 -0
- package/lib/chartDisplayRules.370065e8.mjs +288 -0
- package/lib/chartDisplayRules.c9162f81.js +1 -0
- package/lib/components.chartbi.3bbac955.js +8 -0
- package/lib/components.chartbi.571c5ff5.mjs +1813 -0
- package/lib/components.coloreditor.06cf0433.mjs +1505 -0
- package/lib/components.coloreditor.f81d322a.js +6 -0
- package/lib/components.dataassign.21d3938b.mjs +147 -0
- package/lib/components.dataassign.565d22c0.js +1 -0
- package/lib/components.echarts.490abdfa.mjs +811 -0
- package/lib/components.echarts.fe84f881.js +4 -0
- package/lib/components.exception.374f2ad9.js +1 -0
- package/lib/components.exception.ee1c4f83.mjs +61 -0
- package/lib/components.form.5533a8c3.js +41 -0
- package/lib/components.form.db8af727.mjs +7813 -0
- package/lib/components.globalheader.2eb787a4.js +1 -0
- package/lib/components.globalheader.b3b35343.mjs +54 -0
- package/lib/components.iconselector.8940b1a9.mjs +1169 -0
- package/lib/components.iconselector.f5a58033.js +1 -0
- package/lib/components.imgpreview.d97cf25c.js +1 -0
- package/lib/components.imgpreview.f05b3e06.mjs +213 -0
- package/lib/components.lunccalendar.18f84642.js +1 -0
- package/lib/components.lunccalendar.2a097955.mjs +1137 -0
- package/lib/components.middleware.43b9b264.js +1 -0
- package/lib/components.middleware.de012955.mjs +148 -0
- package/lib/components.modaltitle.5060623f.mjs +127 -0
- package/lib/components.modaltitle.957cab33.js +1 -0
- package/lib/components.multitab.5eb6edff.mjs +140 -0
- package/lib/components.multitab.80eeb3ae.js +1 -0
- package/lib/components.selecttree.2fe70d88.js +1 -0
- package/lib/components.selecttree.756c4d22.mjs +170 -0
- package/lib/components.settingdrawer.29dbc31e.mjs +237 -0
- package/lib/components.settingdrawer.8c12650b.js +1 -0
- package/lib/components.sidemenu.0673fe0a.mjs +277 -0
- package/lib/components.sidemenu.240dfde7.js +1 -0
- package/lib/components.sidenavmenu.b1330d69.js +1 -0
- package/lib/components.sidenavmenu.fa81ff82.mjs +1147 -0
- package/lib/components.statuschange.858b72e8.js +1 -0
- package/lib/components.statuschange.fae4adba.mjs +116 -0
- package/lib/components.table.1e338902.js +8 -0
- package/lib/components.table.9ed77207.mjs +4650 -0
- package/lib/components.tableumy.1d804d70.js +1 -0
- package/lib/components.tableumy.3e1c9a5b.mjs +453 -0
- package/lib/components.tablevirtual.66890b2c.mjs +564 -0
- package/lib/components.tablevirtual.8e21a6e7.js +1 -0
- package/lib/components.teamsharing.3a17ddc0.mjs +373 -0
- package/lib/components.teamsharing.89e668fd.js +1 -0
- package/lib/components.tooltip.0ea7e2b1.js +1 -0
- package/lib/components.tooltip.376d95fe.mjs +86 -0
- package/lib/components.uploadfile.0a5a1608.mjs +228 -0
- package/lib/components.uploadfile.8e0e702c.js +1 -0
- package/lib/components.uploadimg.bc160e00.js +1 -0
- package/lib/components.uploadimg.decb0360.mjs +192 -0
- package/lib/components.verificationcode.140533c7.js +1 -0
- package/lib/components.verificationcode.7091b10b.mjs +71 -0
- package/lib/components.viewformdetails.940addba.js +1 -0
- package/lib/components.viewformdetails.d241c652.mjs +1081 -0
- package/lib/components.viewloading.1e9f4b3c.js +1 -0
- package/lib/components.viewloading.aae3aab4.mjs +99 -0
- package/lib/components.watermark.2ec3260c.mjs +53 -0
- package/lib/components.watermark.d9ec8130.js +2 -0
- package/lib/components.xlsxexport.0d1553b1.js +1 -0
- package/lib/components.xlsxexport.c33f83ca.mjs +263 -0
- package/lib/components.xlsximport.81df7841.mjs +922 -0
- package/lib/components.xlsximport.8c209857.js +1 -0
- package/lib/copy.8db86d9f.mjs +572 -0
- package/lib/copy.a8753f38.js +1 -0
- package/lib/createFile.04a6b293.js +1 -0
- package/lib/createFile.4cac1673.mjs +439 -0
- package/lib/createSubfolders.e105fa86.js +1 -0
- package/lib/createSubfolders.eac5ccae.mjs +154 -0
- package/lib/dialogLayout.bf435838.mjs +138 -0
- package/lib/dialogLayout.f0779aed.js +1 -0
- package/lib/drawerContainer.6ab3df46.mjs +163 -0
- package/lib/drawerContainer.8f9df583.js +1 -0
- package/lib/drawerLayout.b6c7c3c6.js +1 -0
- package/lib/drawerLayout.e3c0164d.mjs +119 -0
- package/lib/editForm.0f3fd3b0.js +1 -0
- package/lib/editForm.aef93ed0.mjs +434 -0
- package/lib/extendedAttributes.ea93dbaa.mjs +293 -0
- package/lib/extendedAttributes.ef3ead02.js +1 -0
- package/lib/fileSearch.43465e1c.js +1 -0
- package/lib/fileSearch.5c8a883d.mjs +363 -0
- package/lib/flow.designer.81c29f62.mjs +7673 -0
- package/lib/flow.designer.ffd0aa8b.js +1 -0
- package/lib/flow.list.4c05f2f0.js +1 -0
- package/lib/flow.list.ab420927.mjs +3032 -0
- package/lib/form.build.724d3357.js +1 -0
- package/lib/form.build.d04773f0.mjs +259 -0
- package/lib/form.designer.build.c82cb559.mjs +2529 -0
- package/lib/form.designer.build.dac501fa.js +1 -0
- package/lib/formFiled.4b5062d7.js +1 -0
- package/lib/formFiled.c949a27f.mjs +507 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +245 -91338
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.appmanage.e389782d.mjs +50 -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.8fa3fe2d.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.2f8a6936.js +1 -0
- package/lib/http.main.aefea27d.mjs +517 -0
- package/lib/http.menumanage.3060f4c7.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.message.ceb0a1c6.mjs +178 -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.3dcb3e97.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.9deaa991.mjs +25906 -0
- package/lib/index.d95c407c.js +8 -0
- package/lib/layoutBlocks.26e1b57b.js +1 -0
- package/lib/layoutBlocks.31454610.mjs +413 -0
- package/lib/layoutItem.c1c836a1.js +1 -0
- package/lib/layoutItem.cf18143e.mjs +71 -0
- package/lib/layouts.2d06f3e9.js +2 -0
- package/lib/layouts.3b383d04.mjs +373 -0
- package/lib/main.09d48801.js +1 -0
- package/lib/main.28b7c398.js +1 -0
- package/lib/main.29e204f9.mjs +166 -0
- package/lib/main.33443996.mjs +231 -0
- package/lib/main.357c50d2.js +1 -0
- package/lib/{main.fb4a8edf.mjs → main.3e886f21.mjs} +113 -188
- package/lib/{main.7921130e.mjs → main.419a7b42.mjs} +4 -4
- package/lib/main.4a38d5f8.js +1 -0
- package/lib/{main.c569c0a5.mjs → main.60329866.mjs} +12 -10
- package/lib/main.60c2a1a2.js +1 -0
- package/lib/main.61c9e5c6.mjs +537 -0
- package/lib/main.643d21a0.mjs +552 -0
- package/lib/main.64ddb5f6.mjs +189 -0
- package/lib/main.728eaf53.js +1 -0
- package/lib/main.892caa37.js +1 -0
- package/lib/main.aea9b6a8.mjs +323 -0
- package/lib/main.b7a5a02b.js +1 -0
- package/lib/main.c71e5b11.js +1 -0
- package/lib/main.edc0b23b.js +1 -0
- package/lib/{main.5a6c881a.mjs → main.f520fcf5.mjs} +9 -8
- package/lib/manage.101f1aa9.js +1 -0
- package/lib/manage.f4000654.mjs +441 -0
- package/lib/messages.fieldconfiguration.0d98a290.mjs +1097 -0
- package/lib/messages.fieldconfiguration.ad4d11cf.js +1 -0
- package/lib/messages.messagetemplate.32273e00.js +7 -0
- package/lib/messages.messagetemplate.7adbbc58.mjs +1319 -0
- package/lib/messages.sendplan.7d0097c2.mjs +1054 -0
- package/lib/messages.sendplan.fbac188d.js +1 -0
- package/lib/messages.sendrecord.ef80d44a.js +2 -0
- package/lib/messages.sendrecord.f0d2fd54.mjs +651 -0
- package/lib/messages.templatelibrary.ec512390.js +2 -0
- package/lib/messages.templatelibrary.ff151513.mjs +808 -0
- package/lib/mobile.designer.componentstree.03f61105.js +1 -0
- package/lib/mobile.designer.componentstree.4a1442dc.mjs +2064 -0
- package/lib/mobile.designer.menutree.0a2f7911.mjs +1036 -0
- package/lib/mobile.designer.menutree.97bb4046.js +1 -0
- package/lib/moveFile.335ebc8d.js +1 -0
- package/lib/moveFile.d71c0824.mjs +276 -0
- package/lib/page.build.376104d5.mjs +3164 -0
- package/lib/page.build.37b26617.js +12 -0
- package/lib/page.designer.componentstree.0ffc933d.js +1 -0
- package/lib/page.designer.componentstree.b0ecddd8.mjs +2958 -0
- package/lib/page.designer.fieldfiltering.1ecd65a3.mjs +430 -0
- package/lib/page.designer.fieldfiltering.7e913256.js +1 -0
- package/lib/page.designer.menutree.2c1846bc.mjs +5952 -0
- package/lib/page.designer.menutree.c49d9ee6.js +1 -0
- package/lib/page.designer.operation.6179b661.js +1 -0
- package/lib/page.designer.operation.80b1a5d1.mjs +44 -0
- package/lib/page.designer.page.09402332.js +1 -0
- package/lib/page.designer.page.6d8232c7.mjs +10638 -0
- package/lib/personal.echarts.414b7e3d.mjs +268 -0
- package/lib/personal.echarts.b7ee86f4.js +1 -0
- package/lib/result.0c089066.mjs +639 -0
- package/lib/result.9282a717.js +1 -0
- package/lib/router.config.68077a12.js +1 -0
- package/lib/router.config.86225b11.mjs +1424 -0
- package/lib/solution.application.d459e382.js +1 -0
- package/lib/solution.application.e0d58df1.mjs +548 -0
- package/lib/solution.applicationmenu.71ef6b8e.mjs +508 -0
- package/lib/solution.applicationmenu.ae295083.js +1 -0
- package/lib/solution.approvalflow.436b3502.js +1 -0
- package/lib/solution.approvalflow.bef7fbdd.mjs +436 -0
- package/lib/solution.dict.acbe9c55.js +1 -0
- package/lib/solution.dict.ef98b194.mjs +769 -0
- package/lib/solution.menu.5c17348f.mjs +432 -0
- package/lib/solution.menu.cca5e1f9.js +1 -0
- package/lib/solution.plugin.90f8dcc1.mjs +347 -0
- package/lib/solution.plugin.f9a8063f.js +1 -0
- package/lib/solution.processflow.2692dac6.js +1 -0
- package/lib/solution.processflow.c1544b05.mjs +392 -0
- package/lib/solution.role.b1ab40dd.mjs +456 -0
- package/lib/solution.role.b28c4dbe.js +1 -0
- package/lib/solution.webresources.0b51beba.mjs +379 -0
- package/lib/solution.webresources.6961cc68.js +1 -0
- package/lib/solution.workflow.11e49e25.js +1 -0
- package/lib/solution.workflow.c48545d1.mjs +395 -0
- package/lib/store.config.03dd7b19.mjs +547 -0
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/style.css +3 -3
- package/lib/system.account.1cadbf03.mjs +2093 -0
- package/lib/system.account.5cc9fe8d.js +216 -0
- package/lib/system.config.a0b94e40.js +1 -0
- package/lib/{system.config.00dd0a29.mjs → system.config.a9a1ee96.mjs} +7 -6
- package/lib/system.datasource.6c30ce25.js +1 -0
- package/lib/{system.datasource.eb8d16df.mjs → system.datasource.c103a9c2.mjs} +15 -64
- package/lib/{system.dict.787ff1ec.mjs → system.dict.0c229d1c.mjs} +269 -344
- package/lib/system.dict.6b000092.js +1 -0
- package/lib/system.document.f67c2994.mjs +667 -0
- package/lib/system.document.f8fd7af0.js +1 -0
- package/lib/system.duplicatechecking.94c7ce17.mjs +722 -0
- package/lib/system.duplicatechecking.f4cab147.js +1 -0
- package/lib/system.email.11ab6f31.js +1 -0
- package/lib/system.email.13823361.mjs +133 -0
- package/lib/system.fieldsecurity.2ef2881c.js +1 -0
- package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.d35acd97.mjs} +486 -938
- package/lib/{system.file.eae6eac2.mjs → system.file.30d3e7bc.mjs} +84 -151
- package/lib/system.file.b9f8320c.js +1 -0
- package/lib/system.log.470d3efd.js +1 -0
- package/lib/{system.log.9bf208c1.mjs → system.log.815840d8.mjs} +24 -93
- package/lib/{system.machine.0130e762.mjs → system.machine.1665954f.mjs} +5 -25
- package/lib/system.machine.f8aff893.js +1 -0
- package/lib/{system.notice.dba4c597.mjs → system.notice.bef6c23c.mjs} +1075 -1255
- package/lib/system.notice.db26f308.js +1 -0
- package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.0d293a87.mjs} +19 -27
- package/lib/system.noticereceived.84b88b9a.js +1 -0
- package/lib/system.onlineuser.985621a6.js +1 -0
- package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.bccb1cd9.mjs} +36 -38
- package/lib/{system.org.6da23c73.mjs → system.org.92f4d7f1.mjs} +3 -3
- package/lib/system.org.9f87a010.js +1 -0
- package/lib/system.permissions.15e6b8b7.js +1 -0
- package/lib/system.permissions.be9238ee.mjs +972 -0
- package/lib/system.plugin.0bccfec4.js +1 -0
- package/lib/{system.plugin.f8765f96.mjs → system.plugin.af27d7ac.mjs} +503 -552
- package/lib/system.pos.61e58a92.js +1 -0
- package/lib/{system.pos.5645b45a.mjs → system.pos.fe067063.mjs} +31 -62
- package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.0b9083c5.mjs} +318 -450
- package/lib/system.promptmanagement.e750de82.js +1 -0
- package/lib/{system.role.0c6c327d.mjs → system.role.67f62146.mjs} +512 -486
- package/lib/system.role.e86b60f1.js +1 -0
- package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.093d998e.mjs} +169 -192
- package/lib/system.sumberrules.810f7b55.js +1 -0
- package/lib/system.team.58ee701b.js +1 -0
- package/lib/system.team.8911fd95.mjs +452 -0
- package/lib/system.teammembers.1880f962.js +1 -0
- package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.35564a00.mjs} +257 -199
- package/lib/{system.timers.63d03fc9.mjs → system.timers.4b2d509f.mjs} +2202 -2278
- package/lib/system.timers.9e956553.js +38 -0
- package/lib/system.translation.26b6bb39.js +1 -0
- package/lib/{system.translation.52452a24.mjs → system.translation.60ec676c.mjs} +437 -431
- package/lib/system.user.134a3988.js +14 -0
- package/lib/{system.user.8d97a219.mjs → system.user.9a02295e.mjs} +1082 -1025
- package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.96695aeb.mjs} +419 -412
- package/lib/system.useraffiliation.c2421c7e.js +1 -0
- package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.016d0000.mjs} +177 -219
- package/lib/system.webresource.e92e8a8f.js +1 -0
- package/lib/{system.welcome.14785b50.mjs → system.welcome.127b5dd4.mjs} +10 -3
- package/lib/system.welcome.ff0c85e2.js +1 -0
- package/lib/table.definition..btnconfig.9847cac5.mjs +938 -0
- package/lib/table.definition..btnconfig.ce57ed41.js +1 -0
- package/lib/table.definition..echartsconfig.625bce88.mjs +2150 -0
- package/lib/table.definition..echartsconfig.d2b65881.js +1 -0
- package/lib/tableDescriptions.a4196776.mjs +80 -0
- package/lib/tableDescriptions.b9b0d7fa.js +1 -0
- package/lib/tcheckboxs.7ea99d35.js +1 -0
- package/lib/tcheckboxs.999b7c2e.mjs +52 -0
- package/lib/tcurrency.4afb9192.mjs +85 -0
- package/lib/tcurrency.8a2361f2.js +1 -0
- package/lib/tdatepicker.606214fa.mjs +52 -0
- package/lib/tdatepicker.8e94a60c.js +1 -0
- package/lib/tdictSwitch.ccbdd153.js +1 -0
- package/lib/tdictSwitch.e016d4cf.mjs +60 -0
- package/lib/tfile.3f39223d.mjs +62 -0
- package/lib/tfile.b3ebdc71.js +1 -0
- package/lib/tparticipants.5fe27540.mjs +56 -0
- package/lib/tparticipants.78c8c175.js +1 -0
- package/lib/translation.mains.2688be5b.mjs +383 -0
- package/lib/translation.mains.a6f19343.js +1 -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.333daba2.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/versionControl.46a7f31a.js +1 -0
- package/lib/versionControl.c53bfb5d.mjs +488 -0
- package/lib/versionEdit.4246d5db.js +1 -0
- package/lib/versionEdit.5a8292ec.mjs +452 -0
- package/lib/view.build.85732408.mjs +1578 -0
- package/lib/view.build.e43a2077.js +1 -0
- package/lib/viewList.868edcd7.js +1 -0
- package/lib/viewList.978b72c5.mjs +324 -0
- package/lib/viewTree.7497ff90.js +1 -0
- package/lib/viewTree.bde43a3b.mjs +409 -0
- package/locale/en_US.js +82 -27
- package/locale/id_ID.js +66 -11
- package/locale/vi_VN.js +1968 -1913
- package/locale/zh_CN.js +88 -32
- package/package.json +106 -105
- package/lib/chartbi.114d32d7.js +0 -60
- package/lib/chartbi.eb4dd0af.mjs +0 -27639
- package/lib/main.083e0ba3.js +0 -1
- package/lib/main.4a858284.js +0 -1
- package/lib/main.64cb2027.js +0 -1
- package/lib/main.70a46cbc.js +0 -1
- package/lib/messages.364eb728.js +0 -9
- package/lib/messages.5bcc42f9.mjs +0 -5863
- package/lib/system.account.95bd8508.js +0 -216
- package/lib/system.account.d6c7485b.mjs +0 -2552
- package/lib/system.config.63c0217d.js +0 -1
- package/lib/system.datasource.a2c0bad4.js +0 -1
- package/lib/system.dict.dfb4c376.js +0 -1
- package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
- package/lib/system.duplicatechecking.c4141ebd.js +0 -1
- package/lib/system.email.545cedff.mjs +0 -7432
- package/lib/system.email.ec0ac728.js +0 -41
- package/lib/system.fieldsecurity.eb217079.js +0 -1
- package/lib/system.file.1cb952a4.js +0 -1
- package/lib/system.log.348b3605.js +0 -1
- package/lib/system.machine.49fc6405.js +0 -1
- package/lib/system.notice.d7a3346d.js +0 -1
- package/lib/system.noticereceived.c0b24616.js +0 -1
- package/lib/system.onlineuser.b3c94b5b.js +0 -1
- package/lib/system.org.30063246.js +0 -1
- package/lib/system.permissions.1ff855c2.js +0 -9
- package/lib/system.permissions.fdad3c36.mjs +0 -212
- package/lib/system.plugin.2c7c8a5a.js +0 -1
- package/lib/system.pos.21294c28.js +0 -1
- package/lib/system.promptmanagement.7e8da777.js +0 -1
- package/lib/system.role.078fac85.js +0 -1
- package/lib/system.sumberrules.b0252f77.js +0 -1
- package/lib/system.team.296512d7.mjs +0 -1000
- package/lib/system.team.5d6169bc.js +0 -1
- package/lib/system.teammembers.313345f7.js +0 -1
- package/lib/system.timers.8246e6ba.js +0 -38
- package/lib/system.translation.fdff4956.js +0 -1
- package/lib/system.user.49457fd3.js +0 -14
- package/lib/system.useraffiliation.0e9da6a8.js +0 -1
- package/lib/system.webresource.2a341e05.js +0 -1
- package/lib/system.welcome.c9eefa06.js +0 -1
|
@@ -0,0 +1,1813 @@
|
|
|
1
|
+
import { e as T } from "./utils.echarts.js.d1bb8ac6.mjs";
|
|
2
|
+
import { f as F, s as pt, r as et, u as ht } from "./utils.util.js.333daba2.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: r });
|
|
12
|
+
else {
|
|
13
|
+
var o = t.prototype._init;
|
|
14
|
+
t.prototype._init = function(i) {
|
|
15
|
+
i === void 0 && (i = {}), i.init = i.init ? [r].concat(i.init) : r, o.call(this, i);
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function r() {
|
|
19
|
+
var i = this.$options;
|
|
20
|
+
i.store ? this.$store = typeof i.store == "function" ? i.store() : i.store : i.parent && i.parent.$store && (this.$store = i.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 r = e.state;
|
|
56
|
+
this.state = (typeof r == "function" ? r() : r) || {};
|
|
57
|
+
}, rt = { namespaced: { configurable: !0 } };
|
|
58
|
+
rt.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, rt);
|
|
89
|
+
var V = function(e) {
|
|
90
|
+
this.register([], e, !1);
|
|
91
|
+
};
|
|
92
|
+
V.prototype.get = function(e) {
|
|
93
|
+
return e.reduce(function(o, r) {
|
|
94
|
+
return o.getChild(r);
|
|
95
|
+
}, this.root);
|
|
96
|
+
};
|
|
97
|
+
V.prototype.getNamespace = function(e) {
|
|
98
|
+
var o = this.root;
|
|
99
|
+
return e.reduce(function(r, i) {
|
|
100
|
+
return o = o.getChild(i), r + (o.namespaced ? i + "/" : "");
|
|
101
|
+
}, "");
|
|
102
|
+
};
|
|
103
|
+
V.prototype.update = function(e) {
|
|
104
|
+
it([], this.root, e);
|
|
105
|
+
};
|
|
106
|
+
V.prototype.register = function(e, o, r) {
|
|
107
|
+
var i = this;
|
|
108
|
+
r === void 0 && (r = !0), process.env.NODE_ENV !== "production" && nt(e, o);
|
|
109
|
+
var s = new j(o, r);
|
|
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(f, l) {
|
|
117
|
+
i.register(e.concat(l), f, r);
|
|
118
|
+
});
|
|
119
|
+
};
|
|
120
|
+
V.prototype.unregister = function(e) {
|
|
121
|
+
var o = this.get(e.slice(0, -1)), r = e[e.length - 1], i = o.getChild(r);
|
|
122
|
+
if (!i) {
|
|
123
|
+
process.env.NODE_ENV !== "production" && console.warn(
|
|
124
|
+
"[vuex] trying to unregister module '" + r + "', which is not registered"
|
|
125
|
+
);
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
!i.runtime || o.removeChild(r);
|
|
129
|
+
};
|
|
130
|
+
V.prototype.isRegistered = function(e) {
|
|
131
|
+
var o = this.get(e.slice(0, -1)), r = e[e.length - 1];
|
|
132
|
+
return o ? o.hasChild(r) : !1;
|
|
133
|
+
};
|
|
134
|
+
function it(t, e, o) {
|
|
135
|
+
if (process.env.NODE_ENV !== "production" && nt(t, o), e.update(o), o.modules)
|
|
136
|
+
for (var r in o.modules) {
|
|
137
|
+
if (!e.getChild(r)) {
|
|
138
|
+
process.env.NODE_ENV !== "production" && console.warn(
|
|
139
|
+
"[vuex] trying to add a new module '" + r + "' on hot reloading, manual reload is needed"
|
|
140
|
+
);
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
it(
|
|
144
|
+
t.concat(r),
|
|
145
|
+
e.getChild(r),
|
|
146
|
+
o.modules[r]
|
|
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 r = J[o];
|
|
169
|
+
A(e[o], function(i, s) {
|
|
170
|
+
w(
|
|
171
|
+
r.assert(i),
|
|
172
|
+
xt(t, o, s, i, r.expected)
|
|
173
|
+
);
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
function xt(t, e, o, r, i) {
|
|
179
|
+
var s = e + " should be " + i + ' but "' + e + "." + o + '"';
|
|
180
|
+
return t.length > 0 && (s += ' in module "' + t.join(".") + '"'), s += " is " + JSON.stringify(r) + ".", s;
|
|
181
|
+
}
|
|
182
|
+
var C, E = function t(e) {
|
|
183
|
+
var o = this;
|
|
184
|
+
e === void 0 && (e = {}), !C && typeof window < "u" && window.Vue && Et(window.Vue), process.env.NODE_ENV !== "production" && (w(C, "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 r = e.plugins;
|
|
186
|
+
r === void 0 && (r = []);
|
|
187
|
+
var i = e.strict;
|
|
188
|
+
i === void 0 && (i = !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 C(), this._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
|
|
189
|
+
var s = this, a = this, f = a.dispatch, l = a.commit;
|
|
190
|
+
this.dispatch = function(g, n) {
|
|
191
|
+
return f.call(s, g, n);
|
|
192
|
+
}, this.commit = function(g, n, m) {
|
|
193
|
+
return l.call(s, g, n, m);
|
|
194
|
+
}, this.strict = i;
|
|
195
|
+
var c = this._modules.root.state;
|
|
196
|
+
W(this, c, [], this._modules.root), B(this, c), r.forEach(function(u) {
|
|
197
|
+
return u(o);
|
|
198
|
+
});
|
|
199
|
+
var d = e.devtools !== void 0 ? e.devtools : C.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, r) {
|
|
209
|
+
var i = this, s = R(e, o, r), a = s.type, f = s.payload, l = s.options, c = { type: a, payload: f }, 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(f);
|
|
217
|
+
});
|
|
218
|
+
}), this._subscribers.slice().forEach(function(u) {
|
|
219
|
+
return u(c, i.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 r = this, i = R(e, o), s = i.type, a = i.payload, f = { 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(f, r.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, u) {
|
|
243
|
+
c.then(function(g) {
|
|
244
|
+
try {
|
|
245
|
+
r._actionSubscribers.filter(function(n) {
|
|
246
|
+
return n.after;
|
|
247
|
+
}).forEach(function(n) {
|
|
248
|
+
return n.after(f, r.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
|
+
r._actionSubscribers.filter(function(n) {
|
|
257
|
+
return n.error;
|
|
258
|
+
}).forEach(function(n) {
|
|
259
|
+
return n.error(f, r.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
|
+
u(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 r = typeof e == "function" ? { before: e } : e;
|
|
273
|
+
return st(r, this._actionSubscribers, o);
|
|
274
|
+
};
|
|
275
|
+
E.prototype.watch = function(e, o, r) {
|
|
276
|
+
var i = 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(i.state, i.getters);
|
|
279
|
+
}, o, r);
|
|
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, r) {
|
|
288
|
+
r === void 0 && (r = {}), 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), r.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 r = H(o.state, e.slice(0, -1));
|
|
294
|
+
C.delete(r, 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 r = e.indexOf(t);
|
|
311
|
+
r > -1 && e.splice(r, 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 r = t._vm;
|
|
321
|
+
t.getters = {}, t._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
|
|
322
|
+
var i = t._wrappedGetters, s = {};
|
|
323
|
+
A(i, function(f, l) {
|
|
324
|
+
s[l] = bt(f, t), Object.defineProperty(t.getters, l, {
|
|
325
|
+
get: function() {
|
|
326
|
+
return t._vm[l];
|
|
327
|
+
},
|
|
328
|
+
enumerable: !0
|
|
329
|
+
});
|
|
330
|
+
});
|
|
331
|
+
var a = C.config.silent;
|
|
332
|
+
C.config.silent = !0, t._vm = new C({
|
|
333
|
+
data: {
|
|
334
|
+
$$state: e
|
|
335
|
+
},
|
|
336
|
+
computed: s
|
|
337
|
+
}), C.config.silent = a, t.strict && wt(t), r && (o && t._withCommit(function() {
|
|
338
|
+
r._data.$$state = null;
|
|
339
|
+
}), C.nextTick(function() {
|
|
340
|
+
return r.$destroy();
|
|
341
|
+
}));
|
|
342
|
+
}
|
|
343
|
+
function W(t, e, o, r, i) {
|
|
344
|
+
var s = !o.length, a = t._modules.getNamespace(o);
|
|
345
|
+
if (r.namespaced && (t._modulesNamespaceMap[a] && process.env.NODE_ENV !== "production" && console.error("[vuex] duplicate namespace " + a + " for the namespaced module " + o.join("/")), t._modulesNamespaceMap[a] = r), !s && !i) {
|
|
346
|
+
var f = H(e, o.slice(0, -1)), l = o[o.length - 1];
|
|
347
|
+
t._withCommit(function() {
|
|
348
|
+
process.env.NODE_ENV !== "production" && l in f && console.warn(
|
|
349
|
+
'[vuex] state field "' + l + '" was overridden by a module with the same name at "' + o.join(".") + '"'
|
|
350
|
+
), C.set(f, l, r.state);
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
var c = r.context = $t(t, a, o);
|
|
354
|
+
r.forEachMutation(function(d, u) {
|
|
355
|
+
var g = a + u;
|
|
356
|
+
Ct(t, g, d, c);
|
|
357
|
+
}), r.forEachAction(function(d, u) {
|
|
358
|
+
var g = d.root ? u : a + u, n = d.handler || d;
|
|
359
|
+
St(t, g, n, c);
|
|
360
|
+
}), r.forEachGetter(function(d, u) {
|
|
361
|
+
var g = a + u;
|
|
362
|
+
Nt(t, g, d, c);
|
|
363
|
+
}), r.forEachChild(function(d, u) {
|
|
364
|
+
W(t, e, o.concat(u), d, i);
|
|
365
|
+
});
|
|
366
|
+
}
|
|
367
|
+
function $t(t, e, o) {
|
|
368
|
+
var r = e === "", i = {
|
|
369
|
+
dispatch: r ? t.dispatch : function(s, a, f) {
|
|
370
|
+
var l = R(s, a, f), c = l.payload, d = l.options, u = l.type;
|
|
371
|
+
if ((!d || !d.root) && (u = e + u, process.env.NODE_ENV !== "production" && !t._actions[u])) {
|
|
372
|
+
console.error("[vuex] unknown local action type: " + l.type + ", global type: " + u);
|
|
373
|
+
return;
|
|
374
|
+
}
|
|
375
|
+
return t.dispatch(u, c);
|
|
376
|
+
},
|
|
377
|
+
commit: r ? t.commit : function(s, a, f) {
|
|
378
|
+
var l = R(s, a, f), c = l.payload, d = l.options, u = l.type;
|
|
379
|
+
if ((!d || !d.root) && (u = e + u, process.env.NODE_ENV !== "production" && !t._mutations[u])) {
|
|
380
|
+
console.error("[vuex] unknown local mutation type: " + l.type + ", global type: " + u);
|
|
381
|
+
return;
|
|
382
|
+
}
|
|
383
|
+
t.commit(u, c, d);
|
|
384
|
+
}
|
|
385
|
+
};
|
|
386
|
+
return Object.defineProperties(i, {
|
|
387
|
+
getters: {
|
|
388
|
+
get: r ? 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
|
+
}), i;
|
|
400
|
+
}
|
|
401
|
+
function Ot(t, e) {
|
|
402
|
+
if (!t._makeLocalGettersCache[e]) {
|
|
403
|
+
var o = {}, r = e.length;
|
|
404
|
+
Object.keys(t.getters).forEach(function(i) {
|
|
405
|
+
if (i.slice(0, r) === e) {
|
|
406
|
+
var s = i.slice(r);
|
|
407
|
+
Object.defineProperty(o, s, {
|
|
408
|
+
get: function() {
|
|
409
|
+
return t.getters[i];
|
|
410
|
+
},
|
|
411
|
+
enumerable: !0
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
}), t._makeLocalGettersCache[e] = o;
|
|
415
|
+
}
|
|
416
|
+
return t._makeLocalGettersCache[e];
|
|
417
|
+
}
|
|
418
|
+
function Ct(t, e, o, r) {
|
|
419
|
+
var i = t._mutations[e] || (t._mutations[e] = []);
|
|
420
|
+
i.push(function(a) {
|
|
421
|
+
o.call(t, r.state, a);
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
|
+
function St(t, e, o, r) {
|
|
425
|
+
var i = t._actions[e] || (t._actions[e] = []);
|
|
426
|
+
i.push(function(a) {
|
|
427
|
+
var f = o.call(t, {
|
|
428
|
+
dispatch: r.dispatch,
|
|
429
|
+
commit: r.commit,
|
|
430
|
+
getters: r.getters,
|
|
431
|
+
state: r.state,
|
|
432
|
+
rootGetters: t.getters,
|
|
433
|
+
rootState: t.state
|
|
434
|
+
}, a);
|
|
435
|
+
return vt(f) || (f = Promise.resolve(f)), t._devtoolHook ? f.catch(function(l) {
|
|
436
|
+
throw t._devtoolHook.emit("vuex:error", l), l;
|
|
437
|
+
}) : f;
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
function Nt(t, e, o, r) {
|
|
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
|
+
r.state,
|
|
448
|
+
r.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, r) {
|
|
463
|
+
return o[r];
|
|
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 (C && t === C) {
|
|
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
|
+
C = t, mt(C);
|
|
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(r) {
|
|
481
|
+
var i = r.key, s = r.val;
|
|
482
|
+
s = t + s, o[i] = 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[i].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(r) {
|
|
495
|
+
var i = r.key, s = r.val;
|
|
496
|
+
o[i] = function() {
|
|
497
|
+
for (var f = [], l = arguments.length; l--; )
|
|
498
|
+
f[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(f)) : c.apply(this.$store, [s].concat(f));
|
|
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 r = t._modulesNamespaceMap[o];
|
|
527
|
+
return process.env.NODE_ENV !== "production" && !r && console.error("[vuex] module namespace not found in " + e + "(): " + o), r;
|
|
528
|
+
}
|
|
529
|
+
function z(t, e, o, r, i, s, a, f) {
|
|
530
|
+
var l = typeof t == "function" ? t.options : t;
|
|
531
|
+
e && (l.render = e, l.staticRenderFns = o, l._compiled = !0), r && (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__), i && i.call(this, g), g && g._registeredComponents && g._registeredComponents.add(a);
|
|
535
|
+
}, l._ssrRegister = c) : i && (c = f ? function() {
|
|
536
|
+
i.call(
|
|
537
|
+
this,
|
|
538
|
+
(l.functional ? this.parent : this).$root.$options.shadowRoot
|
|
539
|
+
);
|
|
540
|
+
} : i), 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 u = l.beforeCreate;
|
|
549
|
+
l.beforeCreate = u ? [].concat(u, c) : [c];
|
|
550
|
+
}
|
|
551
|
+
return {
|
|
552
|
+
exports: t,
|
|
553
|
+
options: l
|
|
554
|
+
};
|
|
555
|
+
}
|
|
556
|
+
function ft(t, e, o) {
|
|
557
|
+
let r = /* @__PURE__ */ new Map();
|
|
558
|
+
return t.forEach((s, a) => {
|
|
559
|
+
r.set(s.id, kt(s.operation.list));
|
|
560
|
+
}), {
|
|
561
|
+
rich: Object.fromEntries(r),
|
|
562
|
+
formatter: (s) => Ft(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 Ft(t, e, o, r) {
|
|
578
|
+
const i = o.formatter ? o.formatter : "", s = o.transKeyPrefix ? r(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((u) => {
|
|
583
|
+
const g = I(u.val), n = o.bei === 0 ? 0 : o.bei === 100 ? g.l - 2 : g.l - 3, m = k(Number(u.val) * o.bei, n);
|
|
584
|
+
let p = Lt({
|
|
585
|
+
data: Object.assign({
|
|
586
|
+
...u
|
|
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} ${F(t.data)} ${i}}` : `${s} ${F(t.data)} ${i}`;
|
|
596
|
+
}
|
|
597
|
+
function Lt(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), r = Number(t.val);
|
|
620
|
+
return t.rules === "1" ? o === r : o !== r;
|
|
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
|
+
}), r = Y("inputnumber", t);
|
|
631
|
+
if (t.rules === "7")
|
|
632
|
+
return o > r;
|
|
633
|
+
if (t.rules === "8")
|
|
634
|
+
return o >= r;
|
|
635
|
+
if (t.rules === "9")
|
|
636
|
+
return o < r;
|
|
637
|
+
if (t.rules === "10")
|
|
638
|
+
return o <= r;
|
|
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 r = o === 0 ? "1" : e.condition.list[o - 1].type, i = Tt(t, r);
|
|
649
|
+
return r === "2" && !i ? !0 : !!(r !== "2" && i);
|
|
650
|
+
}
|
|
651
|
+
function Tt(t, e) {
|
|
652
|
+
return e === "2" ? t.every((o, r, i) => !o) : t.every((o, r, i) => !!o);
|
|
653
|
+
}
|
|
654
|
+
function I(t) {
|
|
655
|
+
const e = String(t), o = e.substr(e.lastIndexOf(".") + 1).toLowerCase();
|
|
656
|
+
let r = 1;
|
|
657
|
+
for (let i = 0; i < o.length; i++)
|
|
658
|
+
r *= 10;
|
|
659
|
+
return {
|
|
660
|
+
n: r,
|
|
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
|
+
myChart: null
|
|
691
|
+
};
|
|
692
|
+
},
|
|
693
|
+
methods: {
|
|
694
|
+
init(t) {
|
|
695
|
+
let e = T.init(this.$refs.container), o = this.getOption(t);
|
|
696
|
+
e.clear(), e.dispose(), e = T.init(this.$refs.container), e.setOption(o), e.on("click", (r) => {
|
|
697
|
+
this.$emit("change", r);
|
|
698
|
+
}), this.myChart = e;
|
|
699
|
+
},
|
|
700
|
+
getOption(t) {
|
|
701
|
+
this.colorList = [...this.color];
|
|
702
|
+
let e = [], o = [], r = [], i = [];
|
|
703
|
+
const s = t.series.filter((n) => n.type === "bar")[0];
|
|
704
|
+
t.columns.forEach((n) => {
|
|
705
|
+
e.push({
|
|
706
|
+
type: "category",
|
|
707
|
+
data: n.data,
|
|
708
|
+
axisPointer: {
|
|
709
|
+
type: s === void 0 ? "line" : "shadow"
|
|
710
|
+
},
|
|
711
|
+
axisTick: {
|
|
712
|
+
alignWithLabel: !1
|
|
713
|
+
},
|
|
714
|
+
axisLine: {
|
|
715
|
+
onZero: !1,
|
|
716
|
+
lineStyle: {
|
|
717
|
+
color: this.options.labelLineColor
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
axisLabel: {
|
|
721
|
+
interval: 0,
|
|
722
|
+
rotate: n.rotate !== void 0 ? n.rotate : this.options.labelRotate,
|
|
723
|
+
fontSize: n.fontSize !== void 0 ? n.fontSize : this.options.labelFontSize,
|
|
724
|
+
color: n.color !== void 0 ? n.color : this.options.xAxisLabelColor
|
|
725
|
+
},
|
|
726
|
+
offset: n.offset,
|
|
727
|
+
position: n.position
|
|
728
|
+
});
|
|
729
|
+
}), t.data.forEach((n, m) => {
|
|
730
|
+
this.$i18nt(n.item.transKey, n.item.name);
|
|
731
|
+
let p = {
|
|
732
|
+
type: "value",
|
|
733
|
+
axisLine: {
|
|
734
|
+
show: !0,
|
|
735
|
+
lineStyle: {
|
|
736
|
+
color: this.options.labelLineColor
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
axisLabel: {
|
|
740
|
+
formatter: n.formatter ? `{value} ${n.formatter}` : "{value}",
|
|
741
|
+
color: this.options.labelFontColor
|
|
742
|
+
}
|
|
743
|
+
};
|
|
744
|
+
n.max !== void 0 && Object.assign(p, {
|
|
745
|
+
max: n.max
|
|
746
|
+
}), n.min !== void 0 && Object.assign(p, {
|
|
747
|
+
min: n.min
|
|
748
|
+
}), t.data.length !== 1 && Object.assign(p, {
|
|
749
|
+
position: m === 0 ? "left" : "right",
|
|
750
|
+
alignTicks: !0,
|
|
751
|
+
show: m < 2,
|
|
752
|
+
axisLabel: {
|
|
753
|
+
formatter: n.formatter ? `{value} ${n.formatter}` : "{value}"
|
|
754
|
+
}
|
|
755
|
+
}), o.push(p);
|
|
756
|
+
});
|
|
757
|
+
const f = t.series.filter((n) => {
|
|
758
|
+
const m = n.item.columnName ? n.item.columnName : "", p = t.series[0].columnName ? t.series[0].columnName : "";
|
|
759
|
+
return m === p;
|
|
760
|
+
}).length === t.series.length;
|
|
761
|
+
t.series.forEach((n, m) => {
|
|
762
|
+
let p = this.$i18nt(n.item.transKey, n.item.name);
|
|
763
|
+
n.item.transkeyDict && (p += ` (${this.$i18nt(n.item.transkeyDict, n.item.transkeyName)})`);
|
|
764
|
+
let y = {
|
|
765
|
+
label: {
|
|
766
|
+
show: n.tooltip ? this.options.labelShow : n.tooltip,
|
|
767
|
+
position: this.options.labelTextPosition,
|
|
768
|
+
textStyle: {
|
|
769
|
+
fontSize: this.options.textFontSize,
|
|
770
|
+
color: this.options.textFontColor
|
|
771
|
+
},
|
|
772
|
+
formatter: (_) => F(_.data)
|
|
773
|
+
},
|
|
774
|
+
color: (_) => t.type === 1 ? this.colorList[_.dataIndex] : this.colorList[m]
|
|
775
|
+
};
|
|
776
|
+
this.ruleList.length > 0 && (y = this.getNormal(y, n)), (t.data.length !== 1 || t.type === 2) && n.item.name && i.push(p);
|
|
777
|
+
let b = {
|
|
778
|
+
type: n.type,
|
|
779
|
+
name: p,
|
|
780
|
+
emphasis: {
|
|
781
|
+
focus: this.options.emphasisFocus
|
|
782
|
+
},
|
|
783
|
+
data: n.data.map((_) => {
|
|
784
|
+
if (n.bei === 1)
|
|
785
|
+
return k(_, this.options.numericalPrecision).toFixed(this.options.numericalPrecision);
|
|
786
|
+
const O = I(_), L = n.bei === 100 ? O.l - 2 : O.l - 3, P = k(Number(_) * n.bei, L);
|
|
787
|
+
return k(P, this.options.numericalPrecision).toFixed(this.options.numericalPrecision);
|
|
788
|
+
}),
|
|
789
|
+
tooltip: {
|
|
790
|
+
show: n.tooltip,
|
|
791
|
+
valueFormatter: (_) => {
|
|
792
|
+
const O = n.formatter ? n.formatter : "";
|
|
793
|
+
return `${n.transKeyPrefix ? this.$i18nt(n.transKeyPrefix, n.prefix) : ""} ${F(_)} ${O}`;
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
itemStyle: t.data.length === 1 ? { normal: y } : { normal: Object.assign({ ...y }, { color: this.colorList[m] }) }
|
|
797
|
+
};
|
|
798
|
+
const v = this.options.overlayStack ? { stack: n.stack ? n.stack : "Total" } : {};
|
|
799
|
+
t.type === 1 && Object.assign(b, { yAxisIndex: f || v.stack !== void 0 ? 0 : m }), n.type === "line" && Object.assign(b, {
|
|
800
|
+
smooth: this.options.smooth,
|
|
801
|
+
showSymbol: this.options.showSymbol,
|
|
802
|
+
lineStyle: {
|
|
803
|
+
width: this.options.lineStyleWidth
|
|
804
|
+
}
|
|
805
|
+
}), r.push(Object.assign(b, v));
|
|
806
|
+
});
|
|
807
|
+
let l = {
|
|
808
|
+
containLabel: !0
|
|
809
|
+
};
|
|
810
|
+
this.options.gridPosition.forEach((n, m) => {
|
|
811
|
+
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 });
|
|
812
|
+
});
|
|
813
|
+
let c = {
|
|
814
|
+
show: this.options.legendShow,
|
|
815
|
+
data: i,
|
|
816
|
+
type: "scroll",
|
|
817
|
+
textStyle: {
|
|
818
|
+
color: this.options.legendTextColor
|
|
819
|
+
},
|
|
820
|
+
orient: this.options.legendOrient
|
|
821
|
+
};
|
|
822
|
+
if (this.options.legendPosition.forEach((n, m) => {
|
|
823
|
+
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 });
|
|
824
|
+
}), s === void 0 && this.options.areaStyleStack && (e.forEach((n, m) => {
|
|
825
|
+
e[m] = Object.assign(n, {
|
|
826
|
+
boundaryGap: !1
|
|
827
|
+
});
|
|
828
|
+
}), r.forEach((n, m) => {
|
|
829
|
+
r[m] = Object.assign(n, {
|
|
830
|
+
areaStyle: {}
|
|
831
|
+
});
|
|
832
|
+
})), this.options.overlayStack && this.options.numericalSummary && this.options.labelTextPosition === "inside") {
|
|
833
|
+
let n = [], m = [];
|
|
834
|
+
const p = t.series[0].bei;
|
|
835
|
+
for (let y = 0; y < r[0].data.length; y++) {
|
|
836
|
+
let b = 0;
|
|
837
|
+
for (let v = 0; v < r.length; v++)
|
|
838
|
+
b += Number(r[v].data[y]);
|
|
839
|
+
if (m.push(0), p === 1)
|
|
840
|
+
n.push(k(b, this.options.numericalPrecision).toFixed(this.options.numericalPrecision));
|
|
841
|
+
else {
|
|
842
|
+
const v = I(b), _ = p === 100 ? v.l - 2 : v.l - 3, O = k(Number(ite) * p, _);
|
|
843
|
+
n.push(k(O, this.options.numericalPrecision).toFixed(this.options.numericalPrecision));
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
r.push({
|
|
847
|
+
name: "\u6C47\u603B",
|
|
848
|
+
stack: r[0].stack,
|
|
849
|
+
type: "bar",
|
|
850
|
+
label: {
|
|
851
|
+
normal: {
|
|
852
|
+
show: !0,
|
|
853
|
+
position: "top",
|
|
854
|
+
formatter: function(y) {
|
|
855
|
+
return n[y.dataIndex];
|
|
856
|
+
},
|
|
857
|
+
textStyle: { color: "#333", fontSize: this.options.textFontSize }
|
|
858
|
+
}
|
|
859
|
+
},
|
|
860
|
+
tooltip: {
|
|
861
|
+
show: !1
|
|
862
|
+
},
|
|
863
|
+
data: m
|
|
864
|
+
});
|
|
865
|
+
}
|
|
866
|
+
const d = Math.ceil(r[0].data.length / this.color.length);
|
|
867
|
+
let u = [];
|
|
868
|
+
for (let n = 0; n < d; n++)
|
|
869
|
+
u = u.concat(this.color);
|
|
870
|
+
return this.colorList = u, {
|
|
871
|
+
color: u,
|
|
872
|
+
tooltip: {
|
|
873
|
+
trigger: "axis",
|
|
874
|
+
axisPointer: {
|
|
875
|
+
type: s === void 0 ? "cross" : "shadow"
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
grid: l,
|
|
879
|
+
legend: c,
|
|
880
|
+
xAxis: e,
|
|
881
|
+
yAxis: o,
|
|
882
|
+
series: r
|
|
883
|
+
};
|
|
884
|
+
},
|
|
885
|
+
getNormal(t, e) {
|
|
886
|
+
const o = `${e.columnName}&${e.mode}`, r = this.ruleList.filter((s) => `${s.columnName}&${s.mode}` === o)[0];
|
|
887
|
+
if (!r)
|
|
888
|
+
return t;
|
|
889
|
+
let i = ft(r.ruleSequence, e, this.$i18nt);
|
|
890
|
+
return Object.assign({ ...t }, { label: Object.assign({ ...t.label }, i) });
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
destroyed() {
|
|
894
|
+
this.myChart.dispose();
|
|
895
|
+
}
|
|
896
|
+
};
|
|
897
|
+
var At = function() {
|
|
898
|
+
var e = this, o = e._self._c;
|
|
899
|
+
return o("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
900
|
+
}, Vt = [], Mt = /* @__PURE__ */ z(
|
|
901
|
+
Pt,
|
|
902
|
+
At,
|
|
903
|
+
Vt,
|
|
904
|
+
!1,
|
|
905
|
+
null,
|
|
906
|
+
"00d8b996",
|
|
907
|
+
null,
|
|
908
|
+
null
|
|
909
|
+
);
|
|
910
|
+
const tt = Mt.exports;
|
|
911
|
+
const zt = {
|
|
912
|
+
props: {
|
|
913
|
+
develop: {
|
|
914
|
+
type: [Number, String],
|
|
915
|
+
default: 1
|
|
916
|
+
},
|
|
917
|
+
color: {
|
|
918
|
+
type: Array,
|
|
919
|
+
default: () => []
|
|
920
|
+
},
|
|
921
|
+
options: {
|
|
922
|
+
type: Object,
|
|
923
|
+
default: () => ({})
|
|
924
|
+
}
|
|
925
|
+
},
|
|
926
|
+
data() {
|
|
927
|
+
return {
|
|
928
|
+
myChart: null
|
|
929
|
+
};
|
|
930
|
+
},
|
|
931
|
+
methods: {
|
|
932
|
+
init(t) {
|
|
933
|
+
let e = T.init(this.$refs.container), o = this.getOption(t);
|
|
934
|
+
e.clear(), e.dispose(), e = T.init(this.$refs.container), e.setOption(o), e.on("click", (r) => {
|
|
935
|
+
this.$emit("change", r);
|
|
936
|
+
}), this.myChart = e;
|
|
937
|
+
},
|
|
938
|
+
getOption(t) {
|
|
939
|
+
let e = 0, o = t.data[0].dataName;
|
|
940
|
+
o.forEach((s, a) => {
|
|
941
|
+
e += Number(s.value), o[a].order = s.value;
|
|
942
|
+
}), o = [...pt(o)];
|
|
943
|
+
let r = {
|
|
944
|
+
show: this.options.legendShow,
|
|
945
|
+
data: t.columns[0].data,
|
|
946
|
+
type: "scroll",
|
|
947
|
+
textStyle: {
|
|
948
|
+
color: this.options.legendTextColor
|
|
949
|
+
},
|
|
950
|
+
orient: this.options.legendOrient
|
|
951
|
+
};
|
|
952
|
+
return this.options.legendPosition.forEach((s, a) => {
|
|
953
|
+
s !== "" && a === 0 ? Object.assign(r, { top: s }) : s !== "" && a === 1 ? Object.assign(r, { right: s }) : s !== "" && a === 2 ? Object.assign(r, { bottom: s }) : s !== "" && a === 3 && Object.assign(r, { left: s });
|
|
954
|
+
}), {
|
|
955
|
+
tooltip: {
|
|
956
|
+
trigger: "item",
|
|
957
|
+
formatter: function(s) {
|
|
958
|
+
return `${s.data.name}:\r\r${F(s.data.values)}\r
|
|
959
|
+
(${s.data.percentage}%)`;
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
color: this.color,
|
|
963
|
+
legend: r,
|
|
964
|
+
series: [
|
|
965
|
+
{
|
|
966
|
+
type: "funnel",
|
|
967
|
+
left: "10%",
|
|
968
|
+
top: 50,
|
|
969
|
+
bottom: 50,
|
|
970
|
+
width: "76%",
|
|
971
|
+
min: 0,
|
|
972
|
+
max: 100,
|
|
973
|
+
minSize: "10%",
|
|
974
|
+
maxSize: "90%",
|
|
975
|
+
sort: "descending",
|
|
976
|
+
gap: 1,
|
|
977
|
+
label: {
|
|
978
|
+
show: this.options.labelShow,
|
|
979
|
+
fontSize: this.options.textFontSize,
|
|
980
|
+
formatter: function(s) {
|
|
981
|
+
return `${s.data.name}:\r\r${F(s.data.values)}\r
|
|
982
|
+
(${s.data.percentage}%)`;
|
|
983
|
+
}
|
|
984
|
+
},
|
|
985
|
+
labelLine: {
|
|
986
|
+
length: 10,
|
|
987
|
+
lineStyle: {
|
|
988
|
+
width: 1,
|
|
989
|
+
type: "solid"
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
itemStyle: {
|
|
993
|
+
borderColor: "#fff",
|
|
994
|
+
borderWidth: 1
|
|
995
|
+
},
|
|
996
|
+
emphasis: {
|
|
997
|
+
label: {
|
|
998
|
+
fontSize: 15
|
|
999
|
+
}
|
|
1000
|
+
},
|
|
1001
|
+
data: o.map((s, a) => {
|
|
1002
|
+
const f = s.value;
|
|
1003
|
+
return Object.assign(
|
|
1004
|
+
{ ...s },
|
|
1005
|
+
{
|
|
1006
|
+
values: et(f, this.options.numericalPrecision).toFixed(this.options.numericalPrecision),
|
|
1007
|
+
percentage: e === 0 ? "0" : (Number(f) / e * 1e4).toFixed(0) / 100,
|
|
1008
|
+
value: (1 / o.length * (a + 1) * 100).toFixed(0)
|
|
1009
|
+
}
|
|
1010
|
+
);
|
|
1011
|
+
})
|
|
1012
|
+
}
|
|
1013
|
+
]
|
|
1014
|
+
};
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
destroyed() {
|
|
1018
|
+
this.myChart.dispose();
|
|
1019
|
+
}
|
|
1020
|
+
};
|
|
1021
|
+
var Gt = function() {
|
|
1022
|
+
var e = this, o = e._self._c;
|
|
1023
|
+
return o("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
1024
|
+
}, Kt = [], Rt = /* @__PURE__ */ z(
|
|
1025
|
+
zt,
|
|
1026
|
+
Gt,
|
|
1027
|
+
Kt,
|
|
1028
|
+
!1,
|
|
1029
|
+
null,
|
|
1030
|
+
"45bb05f0",
|
|
1031
|
+
null,
|
|
1032
|
+
null
|
|
1033
|
+
);
|
|
1034
|
+
const It = Rt.exports;
|
|
1035
|
+
const Wt = {
|
|
1036
|
+
props: {
|
|
1037
|
+
develop: {
|
|
1038
|
+
type: [Number, String],
|
|
1039
|
+
default: 1
|
|
1040
|
+
},
|
|
1041
|
+
color: {
|
|
1042
|
+
type: Array,
|
|
1043
|
+
default: () => []
|
|
1044
|
+
},
|
|
1045
|
+
options: {
|
|
1046
|
+
type: Object,
|
|
1047
|
+
default: () => ({})
|
|
1048
|
+
},
|
|
1049
|
+
ruleList: {
|
|
1050
|
+
type: Array,
|
|
1051
|
+
default: () => []
|
|
1052
|
+
}
|
|
1053
|
+
},
|
|
1054
|
+
data() {
|
|
1055
|
+
return {
|
|
1056
|
+
myChart: null
|
|
1057
|
+
};
|
|
1058
|
+
},
|
|
1059
|
+
methods: {
|
|
1060
|
+
init(t) {
|
|
1061
|
+
let e = T.init(this.$refs.container), o = this.getOption(t);
|
|
1062
|
+
e.clear(), e.dispose(), e = T.init(this.$refs.container), e.setOption(o), e.on("click", (r) => {
|
|
1063
|
+
this.$emit("change", r);
|
|
1064
|
+
}), this.myChart = e;
|
|
1065
|
+
},
|
|
1066
|
+
getOption(t) {
|
|
1067
|
+
let e = [], o = [], r = [], i = [];
|
|
1068
|
+
const s = this.options.areaStyleStack ? { boundaryGap: !1 } : {};
|
|
1069
|
+
t.columns.forEach((c) => {
|
|
1070
|
+
e.push(
|
|
1071
|
+
Object.assign(
|
|
1072
|
+
{
|
|
1073
|
+
type: "category",
|
|
1074
|
+
data: c.data,
|
|
1075
|
+
axisPointer: {
|
|
1076
|
+
type: "line"
|
|
1077
|
+
},
|
|
1078
|
+
axisTick: {
|
|
1079
|
+
alignWithLabel: !0
|
|
1080
|
+
},
|
|
1081
|
+
axisLabel: {
|
|
1082
|
+
interval: 0,
|
|
1083
|
+
rotate: this.options.labelRotate,
|
|
1084
|
+
fontSize: this.options.labelFontSize,
|
|
1085
|
+
color: this.options.xAxisLabelColor
|
|
1086
|
+
}
|
|
1087
|
+
},
|
|
1088
|
+
s
|
|
1089
|
+
)
|
|
1090
|
+
);
|
|
1091
|
+
}), t.data.forEach((c, d) => {
|
|
1092
|
+
let u = {
|
|
1093
|
+
type: "value",
|
|
1094
|
+
axisLine: {
|
|
1095
|
+
show: !0,
|
|
1096
|
+
lineStyle: {
|
|
1097
|
+
color: this.options.labelLineColor
|
|
1098
|
+
}
|
|
1099
|
+
},
|
|
1100
|
+
axisLabel: {
|
|
1101
|
+
formatter: c.formatter ? `{value} ${c.formatter}` : "{value}",
|
|
1102
|
+
color: this.options.labelFontColor
|
|
1103
|
+
}
|
|
1104
|
+
}, g = this.$i18nt(c.item.transKey, c.item.name);
|
|
1105
|
+
t.data.length !== 1 && (i.push(g), Object.assign(u, {
|
|
1106
|
+
name: g,
|
|
1107
|
+
position: d === 0 ? "left" : "right",
|
|
1108
|
+
alignTicks: !0,
|
|
1109
|
+
show: d < 2
|
|
1110
|
+
})), o.push(u);
|
|
1111
|
+
let n = this.options.overlayStack ? { stack: "Total" } : {};
|
|
1112
|
+
this.options.areaStyleStack && Object.assign(n, { areaStyle: {} });
|
|
1113
|
+
let m = {
|
|
1114
|
+
label: {
|
|
1115
|
+
show: this.options.labelShow,
|
|
1116
|
+
position: this.options.labelTextPosition,
|
|
1117
|
+
textStyle: {
|
|
1118
|
+
fontSize: this.options.textFontSize,
|
|
1119
|
+
color: this.options.textFontColor
|
|
1120
|
+
},
|
|
1121
|
+
formatter: (p) => F(p.data)
|
|
1122
|
+
}
|
|
1123
|
+
};
|
|
1124
|
+
this.ruleList.length > 0 && (m = this.getNormal(m, c)), r.push(
|
|
1125
|
+
Object.assign(
|
|
1126
|
+
{
|
|
1127
|
+
emphasis: {
|
|
1128
|
+
focus: this.options.emphasisFocus
|
|
1129
|
+
},
|
|
1130
|
+
type: c.type,
|
|
1131
|
+
name: g,
|
|
1132
|
+
data: c.data.map((p) => {
|
|
1133
|
+
if (c.bei === 1)
|
|
1134
|
+
return k(p, this.options.numericalPrecision).toFixed(this.options.numericalPrecision);
|
|
1135
|
+
const y = I(p), b = c.bei === 100 ? y.l - 2 : y.l - 3, v = k(Number(p) * c.bei, b);
|
|
1136
|
+
return k(v, this.options.numericalPrecision).toFixed(this.options.numericalPrecision);
|
|
1137
|
+
}),
|
|
1138
|
+
smooth: this.options.smooth,
|
|
1139
|
+
showSymbol: this.options.showSymbol,
|
|
1140
|
+
lineStyle: {
|
|
1141
|
+
width: this.options.lineStyleWidth
|
|
1142
|
+
},
|
|
1143
|
+
itemStyle: {
|
|
1144
|
+
normal: m
|
|
1145
|
+
},
|
|
1146
|
+
tooltip: {
|
|
1147
|
+
show: c.tooltip,
|
|
1148
|
+
valueFormatter: (p) => {
|
|
1149
|
+
const y = c.formatter ? c.formatter : "";
|
|
1150
|
+
return `${c.transKeyPrefix ? this.$i18nt(c.transKeyPrefix, c.prefix) : ""} ${F(p)} ${y}`;
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
},
|
|
1154
|
+
n
|
|
1155
|
+
)
|
|
1156
|
+
);
|
|
1157
|
+
});
|
|
1158
|
+
let a = {
|
|
1159
|
+
containLabel: !0
|
|
1160
|
+
};
|
|
1161
|
+
this.options.gridPosition.forEach((c, d) => {
|
|
1162
|
+
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 });
|
|
1163
|
+
});
|
|
1164
|
+
let f = {
|
|
1165
|
+
show: this.options.legendShow,
|
|
1166
|
+
data: i,
|
|
1167
|
+
type: "scroll",
|
|
1168
|
+
textStyle: {
|
|
1169
|
+
color: this.options.legendTextColor
|
|
1170
|
+
},
|
|
1171
|
+
orient: this.options.legendOrient
|
|
1172
|
+
};
|
|
1173
|
+
return this.options.legendPosition.forEach((c, d) => {
|
|
1174
|
+
c !== "" && d === 0 ? Object.assign(f, { top: c }) : c !== "" && d === 1 ? Object.assign(f, { right: c }) : c !== "" && d === 2 ? Object.assign(f, { bottom: c }) : c !== "" && d === 3 && Object.assign(f, { left: c });
|
|
1175
|
+
}), {
|
|
1176
|
+
color: this.color,
|
|
1177
|
+
tooltip: {
|
|
1178
|
+
trigger: "axis",
|
|
1179
|
+
axisPointer: {
|
|
1180
|
+
type: "cross"
|
|
1181
|
+
}
|
|
1182
|
+
},
|
|
1183
|
+
grid: a,
|
|
1184
|
+
legend: f,
|
|
1185
|
+
xAxis: e,
|
|
1186
|
+
yAxis: o,
|
|
1187
|
+
series: r
|
|
1188
|
+
};
|
|
1189
|
+
},
|
|
1190
|
+
getNormal(t, e) {
|
|
1191
|
+
const o = `${e.columnName}&${e.mode}`, r = this.ruleList.filter((s) => `${s.columnName}&${s.mode}` === o)[0];
|
|
1192
|
+
if (!r)
|
|
1193
|
+
return t;
|
|
1194
|
+
let i = ft(r.ruleSequence, e, this.$i18nt);
|
|
1195
|
+
return Object.assign({ ...t }, { label: Object.assign({ ...t.label }, i) });
|
|
1196
|
+
}
|
|
1197
|
+
},
|
|
1198
|
+
destroyed() {
|
|
1199
|
+
this.myChart.dispose();
|
|
1200
|
+
}
|
|
1201
|
+
};
|
|
1202
|
+
var Ut = function() {
|
|
1203
|
+
var e = this, o = e._self._c;
|
|
1204
|
+
return o("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
1205
|
+
}, qt = [], Bt = /* @__PURE__ */ z(
|
|
1206
|
+
Wt,
|
|
1207
|
+
Ut,
|
|
1208
|
+
qt,
|
|
1209
|
+
!1,
|
|
1210
|
+
null,
|
|
1211
|
+
"4f3553d4",
|
|
1212
|
+
null,
|
|
1213
|
+
null
|
|
1214
|
+
);
|
|
1215
|
+
const Ht = Bt.exports;
|
|
1216
|
+
const Qt = {
|
|
1217
|
+
props: {
|
|
1218
|
+
develop: {
|
|
1219
|
+
type: [Number, String],
|
|
1220
|
+
default: 1
|
|
1221
|
+
},
|
|
1222
|
+
color: {
|
|
1223
|
+
type: Array,
|
|
1224
|
+
default: () => []
|
|
1225
|
+
},
|
|
1226
|
+
options: {
|
|
1227
|
+
type: Object,
|
|
1228
|
+
default: () => ({})
|
|
1229
|
+
}
|
|
1230
|
+
},
|
|
1231
|
+
data() {
|
|
1232
|
+
return {
|
|
1233
|
+
colorList: [],
|
|
1234
|
+
myChart: null
|
|
1235
|
+
};
|
|
1236
|
+
},
|
|
1237
|
+
methods: {
|
|
1238
|
+
init(t) {
|
|
1239
|
+
let e = T.init(this.$refs.container), o = this.getOption(t);
|
|
1240
|
+
e.clear(), e.dispose(), e = T.init(this.$refs.container), e.setOption(o), e.on("click", (r) => {
|
|
1241
|
+
this.$emit("change", r);
|
|
1242
|
+
}), this.myChart = e;
|
|
1243
|
+
},
|
|
1244
|
+
getOption(t) {
|
|
1245
|
+
const e = Math.ceil(t.data.length / this.color.length);
|
|
1246
|
+
let o = [];
|
|
1247
|
+
for (let a = 0; a < e; a++)
|
|
1248
|
+
o = o.concat(this.color);
|
|
1249
|
+
this.colorList = o;
|
|
1250
|
+
let r = [];
|
|
1251
|
+
t.data.forEach((a) => {
|
|
1252
|
+
r.push({
|
|
1253
|
+
type: "pie",
|
|
1254
|
+
radius: ["30%", "58%"],
|
|
1255
|
+
center: ["50%", "50%"],
|
|
1256
|
+
data: a.dataName.map((f) => Object.assign({ ...f }, { value: et(f.value, this.options.numericalPrecision).toFixed(this.options.numericalPrecision) })),
|
|
1257
|
+
label: {
|
|
1258
|
+
show: this.options.labelShow,
|
|
1259
|
+
position: this.options.labelTextPosition === "inside" ? "inside" : "outside",
|
|
1260
|
+
textStyle: {
|
|
1261
|
+
fontWeight: 500,
|
|
1262
|
+
color: this.options.textFontColor,
|
|
1263
|
+
fontSize: this.options.textFontSize,
|
|
1264
|
+
lineHeight: 20
|
|
1265
|
+
},
|
|
1266
|
+
formatter: (f) => `${f.name}:\r\r${F(f.value)}\r
|
|
1267
|
+
(${f.percent}%)`
|
|
1268
|
+
},
|
|
1269
|
+
itemStyle: {
|
|
1270
|
+
borderRadius: 2
|
|
1271
|
+
}
|
|
1272
|
+
});
|
|
1273
|
+
});
|
|
1274
|
+
let i = {
|
|
1275
|
+
show: this.options.legendShow,
|
|
1276
|
+
type: "scroll",
|
|
1277
|
+
data: t.columns[0].data,
|
|
1278
|
+
textStyle: {
|
|
1279
|
+
color: this.options.legendTextColor
|
|
1280
|
+
},
|
|
1281
|
+
orient: this.options.legendOrient
|
|
1282
|
+
};
|
|
1283
|
+
return this.options.legendPosition.forEach((a, f) => {
|
|
1284
|
+
a !== "" && f === 0 ? Object.assign(i, { top: a }) : a !== "" && f === 1 ? Object.assign(i, { right: a }) : a !== "" && f === 2 ? Object.assign(i, { bottom: a }) : a !== "" && f === 3 && Object.assign(i, { left: a });
|
|
1285
|
+
}), {
|
|
1286
|
+
color: this.colorList,
|
|
1287
|
+
tooltip: {
|
|
1288
|
+
trigger: "item"
|
|
1289
|
+
},
|
|
1290
|
+
legend: i,
|
|
1291
|
+
series: r
|
|
1292
|
+
};
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
};
|
|
1296
|
+
var Xt = function() {
|
|
1297
|
+
var e = this, o = e._self._c;
|
|
1298
|
+
return o("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
1299
|
+
}, Jt = [], Zt = /* @__PURE__ */ z(
|
|
1300
|
+
Qt,
|
|
1301
|
+
Xt,
|
|
1302
|
+
Jt,
|
|
1303
|
+
!1,
|
|
1304
|
+
null,
|
|
1305
|
+
"72bf5cb3",
|
|
1306
|
+
null,
|
|
1307
|
+
null
|
|
1308
|
+
);
|
|
1309
|
+
const Yt = Zt.exports;
|
|
1310
|
+
const te = {
|
|
1311
|
+
props: {
|
|
1312
|
+
color: {
|
|
1313
|
+
type: Array,
|
|
1314
|
+
default: () => []
|
|
1315
|
+
},
|
|
1316
|
+
options: {
|
|
1317
|
+
type: Object,
|
|
1318
|
+
default: () => ({})
|
|
1319
|
+
},
|
|
1320
|
+
componentItem: {
|
|
1321
|
+
type: Object,
|
|
1322
|
+
default: () => ({})
|
|
1323
|
+
},
|
|
1324
|
+
ruleList: {
|
|
1325
|
+
type: Array,
|
|
1326
|
+
default: () => []
|
|
1327
|
+
},
|
|
1328
|
+
bjstyle: {
|
|
1329
|
+
type: String,
|
|
1330
|
+
default: ""
|
|
1331
|
+
}
|
|
1332
|
+
},
|
|
1333
|
+
data() {
|
|
1334
|
+
return {
|
|
1335
|
+
record: {},
|
|
1336
|
+
width: "80%",
|
|
1337
|
+
confirmLoading: !1,
|
|
1338
|
+
visible: !1,
|
|
1339
|
+
fullscreen: !1
|
|
1340
|
+
};
|
|
1341
|
+
},
|
|
1342
|
+
methods: {
|
|
1343
|
+
open(t) {
|
|
1344
|
+
this.visible = !0, this.record = { ...t }, this.$nextTick(() => {
|
|
1345
|
+
setTimeout(() => {
|
|
1346
|
+
this.$refs.componentItem.init(this.record), this.spinning = !1;
|
|
1347
|
+
}, 0);
|
|
1348
|
+
});
|
|
1349
|
+
},
|
|
1350
|
+
toggleFullscreen() {
|
|
1351
|
+
this.fullscreen = !this.fullscreen, this.$nextTick(() => {
|
|
1352
|
+
setTimeout(() => {
|
|
1353
|
+
this.$refs.componentItem.init(this.record);
|
|
1354
|
+
}, 0);
|
|
1355
|
+
});
|
|
1356
|
+
},
|
|
1357
|
+
doEvent(t) {
|
|
1358
|
+
let e = t.item.functionName;
|
|
1359
|
+
this[e] && this[e]();
|
|
1360
|
+
},
|
|
1361
|
+
closed() {
|
|
1362
|
+
this.fullscreen = !1, this.visible = !1;
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
};
|
|
1366
|
+
var ee = function() {
|
|
1367
|
+
var e = this, o = e._self._c;
|
|
1368
|
+
return o("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1, "destroy-on-close": !0 }, on: { "update:visible": function(r) {
|
|
1369
|
+
e.visible = r;
|
|
1370
|
+
}, 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);
|
|
1371
|
+
}, oe = [], re = /* @__PURE__ */ z(
|
|
1372
|
+
te,
|
|
1373
|
+
ee,
|
|
1374
|
+
oe,
|
|
1375
|
+
!1,
|
|
1376
|
+
null,
|
|
1377
|
+
"920bc331",
|
|
1378
|
+
null,
|
|
1379
|
+
null
|
|
1380
|
+
);
|
|
1381
|
+
const ie = re.exports;
|
|
1382
|
+
const ne = {
|
|
1383
|
+
name: "GdChartBi",
|
|
1384
|
+
props: {
|
|
1385
|
+
develop: {
|
|
1386
|
+
type: [Number, String],
|
|
1387
|
+
default: 1
|
|
1388
|
+
},
|
|
1389
|
+
showTitle: {
|
|
1390
|
+
type: Boolean,
|
|
1391
|
+
default: !0
|
|
1392
|
+
},
|
|
1393
|
+
color: {
|
|
1394
|
+
type: Array,
|
|
1395
|
+
default: () => []
|
|
1396
|
+
},
|
|
1397
|
+
left: {
|
|
1398
|
+
type: [Number, String],
|
|
1399
|
+
default: 10
|
|
1400
|
+
},
|
|
1401
|
+
bjstyle: {
|
|
1402
|
+
type: String,
|
|
1403
|
+
default: ""
|
|
1404
|
+
}
|
|
1405
|
+
},
|
|
1406
|
+
data() {
|
|
1407
|
+
return {
|
|
1408
|
+
record: {},
|
|
1409
|
+
optionData: {},
|
|
1410
|
+
spinning: !0,
|
|
1411
|
+
type: "none",
|
|
1412
|
+
empty: !1,
|
|
1413
|
+
offsetCaudex: 0
|
|
1414
|
+
};
|
|
1415
|
+
},
|
|
1416
|
+
components: { AmplifyEchart: ie },
|
|
1417
|
+
computed: {
|
|
1418
|
+
dictUnit() {
|
|
1419
|
+
const t = [
|
|
1420
|
+
{
|
|
1421
|
+
code: "percent",
|
|
1422
|
+
name: "%",
|
|
1423
|
+
transkey: "",
|
|
1424
|
+
remark: "0.01"
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
code: "permil",
|
|
1428
|
+
name: "\u2030",
|
|
1429
|
+
transkey: "",
|
|
1430
|
+
remark: "0.001"
|
|
1431
|
+
}
|
|
1432
|
+
];
|
|
1433
|
+
return this.getDictionary("statistical_value_unit").map((o) => Object.assign(o, {
|
|
1434
|
+
transkey: `Dynamics.${o.transkey}`
|
|
1435
|
+
})).concat(t);
|
|
1436
|
+
},
|
|
1437
|
+
echartsMode() {
|
|
1438
|
+
return this.getDictionary("table_echarts_mode");
|
|
1439
|
+
},
|
|
1440
|
+
ruleList() {
|
|
1441
|
+
return (this.record.config && this.record.config.series ? this.record.config.series : []).filter((e) => e.ruleOpen);
|
|
1442
|
+
},
|
|
1443
|
+
options() {
|
|
1444
|
+
let t = this.record.options || {};
|
|
1445
|
+
return Object.assign(
|
|
1446
|
+
{ ...t },
|
|
1447
|
+
{
|
|
1448
|
+
labelTextPosition: t.labelTextPosition ? t.labelTextPosition : "top",
|
|
1449
|
+
legendPosition: t.legendPosition ? t.legendPosition : ["", "", "", ""],
|
|
1450
|
+
gridPosition: t.gridPosition ? t.gridPosition : ["60", "4%", "3%", "3%"],
|
|
1451
|
+
overlayStack: t.overlayStack !== void 0 ? t.overlayStack : !1,
|
|
1452
|
+
areaStyleStack: t.areaStyleStack !== void 0 ? t.areaStyleStack : !1,
|
|
1453
|
+
legendShow: t.legendShow !== void 0 ? t.legendShow : !0,
|
|
1454
|
+
labelFontColor: t.labelFontColor ? t.labelFontColor : "#333",
|
|
1455
|
+
textFontColor: t.textFontColor ? t.textFontColor : "#333",
|
|
1456
|
+
textFontSize: t.textFontSize ? t.textFontSize : 14,
|
|
1457
|
+
legendOrient: t.legendOrient ? t.legendOrient : "horizontal",
|
|
1458
|
+
legendTextColor: t.legendTextColor ? t.legendTextColor : "#333",
|
|
1459
|
+
xAxisLabelColor: t.xAxisLabelColor ? t.xAxisLabelColor : "#333",
|
|
1460
|
+
labelLineColor: t.labelLineColor ? t.labelLineColor : "#333",
|
|
1461
|
+
emphasisFocus: t.emphasisFocus ? t.emphasisFocus : "series",
|
|
1462
|
+
lineStyleWidth: t.lineStyleWidth !== void 0 ? t.lineStyleWidth : 1,
|
|
1463
|
+
numericalPrecision: t.numericalPrecision !== void 0 ? t.numericalPrecision : 2,
|
|
1464
|
+
numericalSummary: t.numericalSummary !== void 0 ? t.numericalSummary : !1
|
|
1465
|
+
}
|
|
1466
|
+
);
|
|
1467
|
+
},
|
|
1468
|
+
componentItem() {
|
|
1469
|
+
const e = [
|
|
1470
|
+
{ type: "bar", data: tt },
|
|
1471
|
+
{ type: "pie", data: Yt },
|
|
1472
|
+
{ type: "funnel", data: It },
|
|
1473
|
+
{ type: "line", data: Ht }
|
|
1474
|
+
].filter((o) => o.type === this.type)[0];
|
|
1475
|
+
return e ? e.data : tt;
|
|
1476
|
+
},
|
|
1477
|
+
getColor() {
|
|
1478
|
+
let t = [];
|
|
1479
|
+
return (this.color.length === 0 ? this.echartsColor : this.color).forEach((o) => {
|
|
1480
|
+
t.push(o === "0" ? this.primaryColor : o);
|
|
1481
|
+
}), t;
|
|
1482
|
+
},
|
|
1483
|
+
...jt(["echartsColor", "primaryColor", "language"])
|
|
1484
|
+
},
|
|
1485
|
+
methods: {
|
|
1486
|
+
amplify() {
|
|
1487
|
+
this.$nextTick(() => {
|
|
1488
|
+
setTimeout(() => {
|
|
1489
|
+
this.$refs.amplifyEchart.open(this.optionData);
|
|
1490
|
+
}, 0);
|
|
1491
|
+
});
|
|
1492
|
+
},
|
|
1493
|
+
setType() {
|
|
1494
|
+
this.spinning = !1, this.type = "none";
|
|
1495
|
+
},
|
|
1496
|
+
change(t) {
|
|
1497
|
+
this.$emit("change", { params: t, option: this.optionData, record: this.record });
|
|
1498
|
+
},
|
|
1499
|
+
assembly() {
|
|
1500
|
+
const t = this.optionData.data.filter((e) => e.type === "bar")[0];
|
|
1501
|
+
this.type = t ? t.type : this.optionData.data[0].type, this.$nextTick(() => {
|
|
1502
|
+
setTimeout(() => {
|
|
1503
|
+
this.$refs.componentItem.init(this.optionData), this.spinning = !1;
|
|
1504
|
+
}, 0);
|
|
1505
|
+
});
|
|
1506
|
+
},
|
|
1507
|
+
handleUniaxial({ config: t, data: e, categorydata: o }) {
|
|
1508
|
+
const r = t.series ? t.series : [], i = t.categories ? t.categories : [], s = t.stackList ? t.stackList : [];
|
|
1509
|
+
if (r.length === 0 || i.length === 0)
|
|
1510
|
+
return;
|
|
1511
|
+
const a = s[0] ? s[0].uuid : "", f = a !== "" ? a : i[0].uuid, l = r.filter((p) => p.type === "1")[0];
|
|
1512
|
+
l ? l.type : r[0].type;
|
|
1513
|
+
const c = s.filter((p) => p.dictTypeCode)[0], d = i.filter((p) => p.dictTypeCode)[0], u = a !== "" ? c : d, g = u ? this.getDictionary(u.dictTypeCode) : [];
|
|
1514
|
+
let n = [], m = [];
|
|
1515
|
+
if (r.forEach((p, y) => {
|
|
1516
|
+
let b = [], v = [], _ = [];
|
|
1517
|
+
e.forEach(($) => {
|
|
1518
|
+
const N = $[f], S = $[p.uuid], x = this.getVal({ item: a !== "" ? s[0] : i[0], ite: N, data: e, dict: g });
|
|
1519
|
+
b.push(S), v.push({
|
|
1520
|
+
value: S,
|
|
1521
|
+
name: x
|
|
1522
|
+
}), y === 0 && _.push(x || this.$i18nt("gd.echarts.none", "\u7A7A\u767D"));
|
|
1523
|
+
}), _.length > 0 && n.push({ data: _ });
|
|
1524
|
+
let O = {}, L = "";
|
|
1525
|
+
if (p.ruleOpen && p.ruleFormatter.formatter && p.ruleFormatter.formatter !== "none") {
|
|
1526
|
+
const $ = this.dictUnit.filter((N) => N.code === p.ruleFormatter.formatter)[0];
|
|
1527
|
+
L = $ ? this.$i18nt(`Dynamics.${$.transkey}`, $.name) : "", Object.assign(O, {
|
|
1528
|
+
formatter: L
|
|
1529
|
+
});
|
|
1530
|
+
}
|
|
1531
|
+
p.ruleOpen && p.ruleFormatter.openPrefix && p.ruleFormatter.transKeyPrefix && Object.assign(O, {
|
|
1532
|
+
prefix: p.ruleFormatter.prefix,
|
|
1533
|
+
transKeyPrefix: p.ruleFormatter.transKeyPrefix
|
|
1534
|
+
});
|
|
1535
|
+
const P = this.getBei(p.ruleFormatter.formatter);
|
|
1536
|
+
p.ruleOpen && p.ruleFormatter.min !== void 0 && p.ruleFormatter.min !== "" && Object.assign(O, {
|
|
1537
|
+
min: p.ruleFormatter.min * P
|
|
1538
|
+
}), p.ruleOpen && p.ruleFormatter.max !== void 0 && p.ruleFormatter.max !== "" && Object.assign(O, {
|
|
1539
|
+
max: p.ruleFormatter.max * P
|
|
1540
|
+
});
|
|
1541
|
+
const h = this.echartsMode.filter(($) => $.code == p.mode)[0];
|
|
1542
|
+
m.push(
|
|
1543
|
+
Object.assign(
|
|
1544
|
+
{
|
|
1545
|
+
data: b,
|
|
1546
|
+
dataName: v,
|
|
1547
|
+
type: this.getChartType(p.type),
|
|
1548
|
+
item: Object.assign(
|
|
1549
|
+
{ ...p },
|
|
1550
|
+
{
|
|
1551
|
+
transKey: `Dynamics.${p.transKey}`,
|
|
1552
|
+
transkeyDict: h ? h.transkey : null,
|
|
1553
|
+
transkeyName: h ? h.name : ""
|
|
1554
|
+
}
|
|
1555
|
+
),
|
|
1556
|
+
bei: P,
|
|
1557
|
+
tooltip: !0,
|
|
1558
|
+
columnName: p.columnName,
|
|
1559
|
+
mode: p.mode
|
|
1560
|
+
},
|
|
1561
|
+
O
|
|
1562
|
+
)
|
|
1563
|
+
);
|
|
1564
|
+
}), a !== "") {
|
|
1565
|
+
let p = [];
|
|
1566
|
+
o[i[0].uuid].forEach((y) => {
|
|
1567
|
+
const b = d ? this.getDictionary(d.dictTypeCode) : [], v = this.getVal({ item: i[0], ite: y, data: e, dict: b });
|
|
1568
|
+
p.push(v || this.$i18nt("gd.echarts.none", "\u7A7A\u767D"));
|
|
1569
|
+
}), n[0] = Object.assign(
|
|
1570
|
+
{ ...n[0] },
|
|
1571
|
+
{
|
|
1572
|
+
rotate: s[0].labelRotate,
|
|
1573
|
+
fontSize: s[0].labelFontSize,
|
|
1574
|
+
color: s[0].xAxisLabelColor,
|
|
1575
|
+
offset: s[0].offset,
|
|
1576
|
+
position: s[0].position
|
|
1577
|
+
}
|
|
1578
|
+
), n.push({ data: p, offset: s[0].offsetCaudex, position: "bottom" });
|
|
1579
|
+
}
|
|
1580
|
+
this.optionData = { columns: n, data: m, series: m, type: 1 }, this.assembly();
|
|
1581
|
+
},
|
|
1582
|
+
handleMultiaxis({ config: t, data: e, categorydata: o }) {
|
|
1583
|
+
const r = t.series ? t.series : [], i = t.categories ? t.categories : [], s = t.stackList ? t.stackList : [];
|
|
1584
|
+
if (r.length === 0 || i.length === 0)
|
|
1585
|
+
return;
|
|
1586
|
+
let a = [], f = [], l = [], c = [], d = { item: { transKey: r[0].transKey, name: r[0].name } };
|
|
1587
|
+
const u = this.ruleList[0];
|
|
1588
|
+
let g = "";
|
|
1589
|
+
if (u && u.ruleOpen && u.ruleFormatter.formatter && u.ruleFormatter.formatter !== "none") {
|
|
1590
|
+
const h = this.dictUnit.filter(($) => $.code === u.ruleFormatter.formatter)[0];
|
|
1591
|
+
g = h ? this.$i18nt(`Dynamics.${h.transkey}`, h.name) : "", Object.assign(d, {
|
|
1592
|
+
formatter: g
|
|
1593
|
+
});
|
|
1594
|
+
}
|
|
1595
|
+
u && u.ruleFormatter.openPrefix && u.ruleFormatter.transKeyPrefix && Object.assign(d, {
|
|
1596
|
+
prefix: u.ruleFormatter.prefix,
|
|
1597
|
+
transKeyPrefix: `Dynamics.${u.ruleFormatter.transKeyPrefix}`
|
|
1598
|
+
});
|
|
1599
|
+
let n = {};
|
|
1600
|
+
const m = this.getBei(u && u.ruleFormatter.formatter ? u.ruleFormatter.formatter : "none");
|
|
1601
|
+
u && u.ruleOpen && u.ruleFormatter.min !== void 0 && u.ruleFormatter.min !== "" && Object.assign(n, {
|
|
1602
|
+
min: u.ruleFormatter.min * m
|
|
1603
|
+
}), u && u.ruleOpen && u.ruleFormatter.max !== void 0 && u.ruleFormatter.max !== "" && Object.assign(n, {
|
|
1604
|
+
max: u.ruleFormatter.max * m
|
|
1605
|
+
});
|
|
1606
|
+
const p = [Object.assign(d, n, { type: "bar" })];
|
|
1607
|
+
i.forEach((h, $) => {
|
|
1608
|
+
const N = o[h.uuid] ? o[h.uuid] : [], S = N.map((x) => {
|
|
1609
|
+
const D = h.dictTypeCode ? this.getDictionary(h.dictTypeCode) : [];
|
|
1610
|
+
return x ? this.getVal({ item: h, ite: x, data: e, dict: D }) : this.$i18nt("gd.echarts.none", "\u7A7A\u767D");
|
|
1611
|
+
});
|
|
1612
|
+
S.length > 0 && l.push({
|
|
1613
|
+
data: N,
|
|
1614
|
+
mode: h.mode,
|
|
1615
|
+
effectType: h.effectType,
|
|
1616
|
+
dictTypeCode: h.dictTypeCode,
|
|
1617
|
+
uuid: h.uuid
|
|
1618
|
+
}), $ === 0 && a.push({ data: S, offset: 0, position: "bottom" });
|
|
1619
|
+
}), s.forEach((h, $) => {
|
|
1620
|
+
const N = o[h.uuid] ? o[h.uuid] : [];
|
|
1621
|
+
N.map((S) => {
|
|
1622
|
+
const x = h.dictTypeCode ? this.getDictionary(h.dictTypeCode) : [];
|
|
1623
|
+
return S ? this.getVal({ item: h, ite: S, data: e, dict: x }) : this.$i18nt("gd.echarts.none", "\u7A7A\u767D");
|
|
1624
|
+
}), c.push({
|
|
1625
|
+
data: N,
|
|
1626
|
+
mode: h.mode,
|
|
1627
|
+
effectType: h.effectType,
|
|
1628
|
+
dictTypeCode: h.dictTypeCode,
|
|
1629
|
+
uuid: h.uuid,
|
|
1630
|
+
offset: h.offset,
|
|
1631
|
+
offsetCaudex: h.offsetCaudex,
|
|
1632
|
+
labelRotate: h.labelRotate,
|
|
1633
|
+
labelFontSize: h.labelFontSize,
|
|
1634
|
+
xAxisLabelColor: h.xAxisLabelColor,
|
|
1635
|
+
position: h.position
|
|
1636
|
+
});
|
|
1637
|
+
});
|
|
1638
|
+
let y = [];
|
|
1639
|
+
const b = r[0].uuid, v = this.getChartType(r[0].type);
|
|
1640
|
+
if (e.forEach((h) => {
|
|
1641
|
+
const $ = this.getDataName(h, i.concat(s), b);
|
|
1642
|
+
y.push($);
|
|
1643
|
+
}), l[1] === void 0) {
|
|
1644
|
+
this.spinning = !1, this.develop === 2 && this.$message.error(this.$i18nt("gd.msg.temPlate.dataError", "\u6570\u636E\u9519\u8BEF"));
|
|
1645
|
+
return;
|
|
1646
|
+
}
|
|
1647
|
+
for (let h = 0; h < l[1].data.length; h++) {
|
|
1648
|
+
let $ = [], N = [];
|
|
1649
|
+
for (let x = 0; x < l[0].data.length; x++) {
|
|
1650
|
+
const D = l[0].data[x] + "" + l[1].data[h], G = y.filter((dt) => dt.name === D)[0];
|
|
1651
|
+
N.push(D), $.push(G ? G.val : 0);
|
|
1652
|
+
}
|
|
1653
|
+
let S = l[1].data[h] === null || l[1].data[h] === "" ? { transKey: "gd.echarts.none", name: "\u7A7A\u767D" } : { transKey: null, name: l[1].data[h] + "" };
|
|
1654
|
+
if (l[1].dictTypeCode) {
|
|
1655
|
+
const D = this.getDictionary(l[1].dictTypeCode).filter((G) => G.code == l[1].data[h])[0];
|
|
1656
|
+
Object.assign(S, D ? { transKey: D.transkey, name: D.name } : {});
|
|
1657
|
+
} else if (l[1].effectType === "datepicker") {
|
|
1658
|
+
const x = this.getVal({ item: l[1], ite: l[1].data[h], data: e, dict: [] });
|
|
1659
|
+
Object.assign(S, x ? { transKey: null, name: x } : {});
|
|
1660
|
+
} else if (["fk", "user", "about"].includes(l[1].effectType)) {
|
|
1661
|
+
const x = this.getVal({ item: l[1], ite: l[1].data[h], data: e, dict: [] });
|
|
1662
|
+
Object.assign(S, x ? { transKey: null, name: x } : {});
|
|
1663
|
+
}
|
|
1664
|
+
f.push({
|
|
1665
|
+
data: $,
|
|
1666
|
+
dataName: [],
|
|
1667
|
+
type: v,
|
|
1668
|
+
item: S,
|
|
1669
|
+
tooltip: !0,
|
|
1670
|
+
ruleOpen: !0,
|
|
1671
|
+
columnName: r[0].columnName,
|
|
1672
|
+
mode: r[0].mode,
|
|
1673
|
+
bei: m,
|
|
1674
|
+
formatter: g,
|
|
1675
|
+
combination: N,
|
|
1676
|
+
prefix: d.prefix !== void 0 ? d.prefix : "",
|
|
1677
|
+
transKeyPrefix: d.transKeyPrefix !== void 0 ? d.transKeyPrefix : null
|
|
1678
|
+
});
|
|
1679
|
+
}
|
|
1680
|
+
if (this.options.overlayStack && c.length > 0) {
|
|
1681
|
+
const h = this.multiaxisStack(f, y, c, e);
|
|
1682
|
+
f = h.columnsData, a[0].offset = h.offset, a.push(h.xAxis), a.reverse();
|
|
1683
|
+
}
|
|
1684
|
+
const _ = f.filter((h) => h.item.transKey !== "gd.echarts.none"), O = f.filter((h) => h.item.transKey === "gd.echarts.none"), L = _.concat(O), P = this.options.overlayLineChart && v === "bar" ? L.map((h) => Object.assign(
|
|
1685
|
+
{ ...h },
|
|
1686
|
+
{
|
|
1687
|
+
type: v === "bar" ? "line" : "bar",
|
|
1688
|
+
tooltip: !1,
|
|
1689
|
+
ruleOpen: !1,
|
|
1690
|
+
columnName: "",
|
|
1691
|
+
formatter: ""
|
|
1692
|
+
}
|
|
1693
|
+
)) : [];
|
|
1694
|
+
this.optionData = { columns: a, data: p, series: L.concat(P), type: 2 }, this.assembly();
|
|
1695
|
+
},
|
|
1696
|
+
multiaxisStack(t, e, o, r) {
|
|
1697
|
+
const i = o[0].data, s = o[0].dictTypeCode, a = s ? this.getDictionary(s) : [], f = o[0];
|
|
1698
|
+
let l = [], c = [];
|
|
1699
|
+
i.forEach((n) => {
|
|
1700
|
+
const m = this.getVal({ item: o[0], ite: n, data: r, dict: a });
|
|
1701
|
+
l.push({ name: m, id: n }), c.push(m);
|
|
1702
|
+
});
|
|
1703
|
+
let d = [];
|
|
1704
|
+
for (let n = 0; n < t[0].data.length; n++)
|
|
1705
|
+
d = d.concat(c);
|
|
1706
|
+
let u = [];
|
|
1707
|
+
const g = ht(8);
|
|
1708
|
+
for (let n = 0; n < t.length; n++) {
|
|
1709
|
+
let m = [], p = [];
|
|
1710
|
+
for (let y = 0; y < t[n].combination.length; y++)
|
|
1711
|
+
for (let b = 0; b < i.length; b++) {
|
|
1712
|
+
p.push(t[n].combination[y] + i[b]);
|
|
1713
|
+
const v = t[n].combination[y] + i[b], _ = e.filter((O) => O.name === v)[0];
|
|
1714
|
+
m.push(_ ? _.val : 0);
|
|
1715
|
+
}
|
|
1716
|
+
u.push(Object.assign({ ...t[n] }, { stack: g, data: m }));
|
|
1717
|
+
}
|
|
1718
|
+
return {
|
|
1719
|
+
columnsData: u,
|
|
1720
|
+
stackName: l,
|
|
1721
|
+
offset: f.offsetCaudex,
|
|
1722
|
+
xAxis: {
|
|
1723
|
+
data: d,
|
|
1724
|
+
rotate: f.labelRotate,
|
|
1725
|
+
fontSize: f.labelFontSize,
|
|
1726
|
+
color: f.xAxisLabelColor,
|
|
1727
|
+
offset: f.offset,
|
|
1728
|
+
position: f.position
|
|
1729
|
+
}
|
|
1730
|
+
};
|
|
1731
|
+
},
|
|
1732
|
+
init(t) {
|
|
1733
|
+
if (this.record = t, t.data.length === 0)
|
|
1734
|
+
return this.empty = !0, this.spinning = !1, !1;
|
|
1735
|
+
this.empty = !1, (t.config && t.config.categories ? t.config.categories : []).length <= 1 ? this.handleUniaxial(t) : this.handleMultiaxis(t);
|
|
1736
|
+
},
|
|
1737
|
+
getBei(t) {
|
|
1738
|
+
const e = this.dictUnit.filter((r) => r.code == t)[0], o = e && e.remark ? Number(e.remark) : 1;
|
|
1739
|
+
return isNaN(o) ? 1 : 1 / o;
|
|
1740
|
+
},
|
|
1741
|
+
getVal({ item: t, ite: e, data: o, dict: r }) {
|
|
1742
|
+
let i = e;
|
|
1743
|
+
const s = r.filter((a) => a.code == e)[0];
|
|
1744
|
+
if (t.dictTypeCode && s)
|
|
1745
|
+
i = this.$i18nt(`Dynamics.${s.transkey}`, s.name);
|
|
1746
|
+
else if (t.effectType === "datepicker")
|
|
1747
|
+
i = this.getFormatTime(t.mode, e);
|
|
1748
|
+
else if (["fk", "user", "about"].includes(t.effectType)) {
|
|
1749
|
+
const a = o.filter((f) => f[t.uuid] == e)[0];
|
|
1750
|
+
i = a && a[`${t.uuid}_name`] ? a[`${t.uuid}_name`] : i;
|
|
1751
|
+
}
|
|
1752
|
+
return i;
|
|
1753
|
+
},
|
|
1754
|
+
getDataName(t, e, o) {
|
|
1755
|
+
let r = "";
|
|
1756
|
+
return e.forEach((i) => {
|
|
1757
|
+
r += String(t[i.uuid]);
|
|
1758
|
+
}), { val: t[o], name: r };
|
|
1759
|
+
},
|
|
1760
|
+
getChartType(t) {
|
|
1761
|
+
switch (t) {
|
|
1762
|
+
case "1":
|
|
1763
|
+
return "bar";
|
|
1764
|
+
case "2":
|
|
1765
|
+
return "pie";
|
|
1766
|
+
case "3":
|
|
1767
|
+
return "funnel";
|
|
1768
|
+
case "4":
|
|
1769
|
+
return "line";
|
|
1770
|
+
default:
|
|
1771
|
+
return "bar";
|
|
1772
|
+
}
|
|
1773
|
+
},
|
|
1774
|
+
getDictionary(t) {
|
|
1775
|
+
return this.$options.filters.dictData(t);
|
|
1776
|
+
},
|
|
1777
|
+
getFormatTime(t, e) {
|
|
1778
|
+
if (["1", "3", "5"].includes(t)) {
|
|
1779
|
+
const o = t === "5" ? "yyyy" : t === "3" ? "yyyy-MM" : "yyyy-MM-dd";
|
|
1780
|
+
return this.$options.filters.formatTime(e, o);
|
|
1781
|
+
} else if (t === "2") {
|
|
1782
|
+
const o = e.split("-"), r = { year: o[0], week: o[1] }, i = this.$i18nt("gd.echarts.yearWeek"), s = this.$i18nt("gd.echarts.weekMode");
|
|
1783
|
+
return this.language === "zh_CN" ? `${r.year}${i}${r.week}${s}` : `${s} ${r.week} ${i} ${r.year}`;
|
|
1784
|
+
} else if (t === "4") {
|
|
1785
|
+
const o = e.split("-"), r = { year: o[0], quarter: o[1] }, i = this.$i18nt("gd.echarts.yearQuarter"), s = this.$i18nt("gd.echarts.quarterMode");
|
|
1786
|
+
return this.language === "zh_CN" ? `${r.year}${i}${r.quarter}${s}` : `${s}${r.quarter} ${i} ${r.year}`;
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
}
|
|
1790
|
+
};
|
|
1791
|
+
var se = function() {
|
|
1792
|
+
var e = this, o = e._self._c;
|
|
1793
|
+
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);
|
|
1794
|
+
}, ae = [], le = /* @__PURE__ */ z(
|
|
1795
|
+
ne,
|
|
1796
|
+
se,
|
|
1797
|
+
ae,
|
|
1798
|
+
!1,
|
|
1799
|
+
null,
|
|
1800
|
+
"6e14a233",
|
|
1801
|
+
null,
|
|
1802
|
+
null
|
|
1803
|
+
);
|
|
1804
|
+
const U = le.exports;
|
|
1805
|
+
U.install = function(t) {
|
|
1806
|
+
t.component(U.name, U);
|
|
1807
|
+
};
|
|
1808
|
+
export {
|
|
1809
|
+
U as G,
|
|
1810
|
+
fe as a,
|
|
1811
|
+
jt as m,
|
|
1812
|
+
z as n
|
|
1813
|
+
};
|