gds-plus-design-vue 1.2.63 → 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.9fc97a47.mjs → addPermission.179a09f4.mjs} +127 -105
- package/lib/addPermission.c72ebbe0.js +1 -0
- package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b550187.mjs} +7 -7
- 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.db6ba874.mjs → businessRules.d7d35011.mjs} +191 -190
- 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.044983d2.mjs → components.coloreditor.06cf0433.mjs} +2 -2
- package/lib/{components.coloreditor.779a9419.js → components.coloreditor.f81d322a.js} +1 -1
- package/lib/{components.dataassign.56632583.mjs → components.dataassign.21d3938b.mjs} +3 -3
- package/lib/{components.dataassign.1853ed5c.js → components.dataassign.565d22c0.js} +1 -1
- package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.490abdfa.mjs} +416 -399
- package/lib/components.echarts.fe84f881.js +4 -0
- package/lib/{components.exception.3cc33e29.js → components.exception.374f2ad9.js} +1 -1
- package/lib/{components.exception.cc2f4ca3.mjs → components.exception.ee1c4f83.mjs} +1 -1
- package/lib/{components.form.91d5ed3e.js → components.form.5533a8c3.js} +19 -19
- package/lib/{components.form.3344c817.mjs → components.form.db8af727.mjs} +1118 -1090
- package/lib/{components.globalheader.07a90c4b.js → components.globalheader.2eb787a4.js} +1 -1
- package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.b3b35343.mjs} +3 -3
- package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.8940b1a9.mjs} +7 -3
- package/lib/components.iconselector.f5a58033.js +1 -0
- package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.d97cf25c.js} +1 -1
- package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.f05b3e06.mjs} +4 -4
- package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.18f84642.js} +1 -1
- package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.2a097955.mjs} +1 -1
- package/lib/components.middleware.43b9b264.js +1 -0
- package/lib/{components.middleware.457b1182.mjs → components.middleware.de012955.mjs} +5 -4
- package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.5060623f.mjs} +1 -1
- package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.957cab33.js} +1 -1
- package/lib/{components.multitab.8441aa6b.mjs → components.multitab.5eb6edff.mjs} +1 -1
- package/lib/{components.multitab.82fd0544.js → components.multitab.80eeb3ae.js} +1 -1
- package/lib/{components.selecttree.d710a362.js → components.selecttree.2fe70d88.js} +1 -1
- package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.756c4d22.mjs} +1 -1
- package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.29dbc31e.mjs} +21 -21
- package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.8c12650b.js} +1 -1
- package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.0673fe0a.mjs} +2 -2
- package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.240dfde7.js} +1 -1
- package/lib/components.sidenavmenu.b1330d69.js +1 -0
- package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.fa81ff82.mjs} +448 -632
- package/lib/{components.statuschange.ed1218a4.js → components.statuschange.858b72e8.js} +1 -1
- package/lib/{components.statuschange.15938660.mjs → components.statuschange.fae4adba.mjs} +3 -3
- package/lib/{components.table.17c02054.js → components.table.1e338902.js} +3 -3
- package/lib/{components.table.e3e5e3bc.mjs → components.table.9ed77207.mjs} +331 -316
- package/lib/components.tableumy.1d804d70.js +1 -0
- package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.3e1c9a5b.mjs} +7 -4
- package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.66890b2c.mjs} +7 -4
- package/lib/components.tablevirtual.8e21a6e7.js +1 -0
- package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.3a17ddc0.mjs} +3 -3
- package/lib/{components.teamsharing.05503821.js → components.teamsharing.89e668fd.js} +1 -1
- package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.0ea7e2b1.js} +1 -1
- package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.376d95fe.mjs} +1 -1
- package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0a5a1608.mjs} +2 -2
- package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.8e0e702c.js} +1 -1
- package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.bc160e00.js} +1 -1
- package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.decb0360.mjs} +2 -2
- package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.140533c7.js} +1 -1
- package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.7091b10b.mjs} +1 -1
- package/lib/components.viewformdetails.940addba.js +1 -0
- package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.d241c652.mjs} +94 -61
- package/lib/components.viewloading.1e9f4b3c.js +1 -0
- package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.aae3aab4.mjs} +54 -51
- package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.2ec3260c.mjs} +1 -1
- package/lib/{components.watermark.da3d7220.js → components.watermark.d9ec8130.js} +1 -1
- package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.0d1553b1.js} +1 -1
- package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.c33f83ca.mjs} +4 -4
- package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.81df7841.mjs} +541 -532
- 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.d35b97e9.mjs → createSubfolders.eac5ccae.mjs} +7 -7
- package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.bf435838.mjs} +2 -2
- package/lib/{dialogLayout.08823bb7.js → dialogLayout.f0779aed.js} +1 -1
- package/lib/drawerContainer.6ab3df46.mjs +163 -0
- package/lib/drawerContainer.8f9df583.js +1 -0
- package/lib/{drawerLayout.36cf4d05.js → drawerLayout.b6c7c3c6.js} +1 -1
- package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.e3c0164d.mjs} +2 -2
- 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.86c356fe.mjs → fileSearch.5c8a883d.mjs} +140 -115
- package/lib/{flow.designer.6da03949.mjs → flow.designer.81c29f62.mjs} +3184 -3197
- package/lib/flow.designer.ffd0aa8b.js +1 -0
- package/lib/flow.list.4c05f2f0.js +1 -0
- package/lib/{flow.list.03694808.mjs → flow.list.ab420927.mjs} +234 -232
- package/lib/form.build.724d3357.js +1 -0
- package/lib/{form.build.b768d613.mjs → form.build.d04773f0.mjs} +22 -14
- 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.fe7d9df3.mjs → formFiled.c949a27f.mjs} +15 -13
- package/lib/gd-initial.js +1 -1
- package/lib/gd-initial.mjs +231 -207
- package/lib/{http.appmanage.4554a629.mjs → http.appmanage.e389782d.mjs} +3 -3
- package/lib/{http.codegeneratemanage.2f925b10.mjs → http.codegeneratemanage.b123bab3.mjs} +19 -11
- package/lib/{http.codegeneratemanage.aecadd5d.js → http.codegeneratemanage.e3db2f09.js} +1 -1
- package/lib/{http.dictdatamanage.4baf16c0.mjs → http.dictdatamanage.2583b5ae.mjs} +4 -4
- package/lib/{http.dictmanage.77c69971.mjs → http.dictmanage.d8fe18dc.mjs} +4 -4
- package/lib/{http.duplicatechecking.31964ce7.mjs → http.duplicatechecking.9b79ce21.mjs} +3 -3
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
- package/lib/{http.main.40657f51.mjs → http.main.aefea27d.mjs} +17 -17
- package/lib/{http.menumanage.3240ba0d.mjs → http.menumanage.3060f4c7.mjs} +5 -5
- package/lib/{http.message.5004bf60.mjs → http.message.ceb0a1c6.mjs} +19 -19
- package/lib/{http.noticemanage.e03bd5f3.mjs → http.noticemanage.2cdb23b8.mjs} +7 -7
- package/lib/{http.orgmanage.84e43edb.mjs → http.orgmanage.0b1df8d5.mjs} +2 -2
- package/lib/{http.pluginmanage.6bc6197f.mjs → http.pluginmanage.54720675.mjs} +7 -7
- package/lib/{http.promptmanagement.c7912f6c.mjs → http.promptmanagement.dad4c6a7.mjs} +3 -3
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/{http.rolemanage.dbf3fda1.mjs → http.rolemanage.da5c40e9.mjs} +51 -19
- package/lib/{http.solution.175d36c8.mjs → http.solution.b10d9197.mjs} +4 -4
- package/lib/{http.sumberrules.608a06d6.mjs → http.sumberrules.176d3d06.mjs} +4 -4
- package/lib/{http.sysapps.e294ceaf.mjs → http.sysapps.932ba43b.mjs} +4 -4
- package/lib/{http.tabledevelopment.1d370398.mjs → http.tabledevelopment.3dcb3e97.mjs} +40 -40
- package/lib/{http.team.c8487c0b.mjs → http.team.a9c609d5.mjs} +11 -11
- package/lib/{http.timersmanage.01dbc1a2.mjs → http.timersmanage.c79afb66.mjs} +18 -18
- package/lib/{http.translationmanage.a4640c9a.mjs → http.translationmanage.f8694b51.mjs} +11 -11
- package/lib/{http.useraffiliation.840741ed.mjs → http.useraffiliation.f2a29f92.mjs} +10 -10
- package/lib/{http.usermanage.3e5eff33.mjs → http.usermanage.f5491144.mjs} +16 -16
- package/lib/{http.webresource.5158b431.mjs → http.webresource.1a1a768f.mjs} +4 -4
- 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.a6a36612.js → layouts.2d06f3e9.js} +2 -2
- package/lib/{layouts.051a0bba.mjs → layouts.3b383d04.mjs} +19 -22
- 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.7f44e3bf.mjs → main.3e886f21.mjs} +40 -50
- package/lib/{main.c1df94d8.mjs → main.419a7b42.mjs} +2 -2
- package/lib/main.4a38d5f8.js +1 -0
- package/lib/{main.70357352.mjs → main.60329866.mjs} +6 -6
- package/lib/{main.ad1e8d4d.js → main.60c2a1a2.js} +1 -1
- 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.8a2a590d.js → main.892caa37.js} +1 -1
- 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.b0e5e1b0.mjs → main.f520fcf5.mjs} +2 -2
- package/lib/manage.101f1aa9.js +1 -0
- package/lib/{manage.a1df9b88.mjs → manage.f4000654.mjs} +162 -140
- 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.685c1e15.mjs → page.build.376104d5.mjs} +607 -601
- package/lib/{page.build.846096e6.js → page.build.37b26617.js} +3 -3
- 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.fff8a5a1.mjs → store.config.03dd7b19.mjs} +22 -17
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/style.css +3 -3
- package/lib/{system.account.014f3e0b.mjs → system.account.1cadbf03.mjs} +877 -881
- package/lib/{system.account.0d4f1fdc.js → system.account.5cc9fe8d.js} +7 -7
- package/lib/{system.config.210f516c.js → system.config.a0b94e40.js} +1 -1
- package/lib/{system.config.0899edb8.mjs → system.config.a9a1ee96.mjs} +1 -1
- package/lib/{system.datasource.82492d27.js → system.datasource.6c30ce25.js} +1 -1
- package/lib/{system.datasource.986768c9.mjs → system.datasource.c103a9c2.mjs} +1 -1
- package/lib/{system.dict.ef24873d.mjs → system.dict.0c229d1c.mjs} +264 -260
- 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.dcf9f86b.mjs → system.duplicatechecking.94c7ce17.mjs} +245 -265
- package/lib/system.duplicatechecking.f4cab147.js +1 -0
- package/lib/system.email.11ab6f31.js +1 -0
- package/lib/{system.email.252fd642.mjs → system.email.13823361.mjs} +10 -15
- package/lib/system.fieldsecurity.2ef2881c.js +1 -0
- package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.d35acd97.mjs} +370 -361
- package/lib/{system.file.73eeb731.mjs → system.file.30d3e7bc.mjs} +81 -149
- package/lib/system.file.b9f8320c.js +1 -0
- package/lib/{system.log.fc60f5e6.js → system.log.470d3efd.js} +1 -1
- package/lib/{system.log.b86cf57f.mjs → system.log.815840d8.mjs} +1 -1
- package/lib/{system.machine.0114001b.mjs → system.machine.1665954f.mjs} +1 -1
- package/lib/{system.machine.f1d95c86.js → system.machine.f8aff893.js} +1 -1
- package/lib/{system.notice.25ea8dca.mjs → system.notice.bef6c23c.mjs} +994 -992
- package/lib/system.notice.db26f308.js +1 -0
- package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.0d293a87.mjs} +10 -11
- package/lib/system.noticereceived.84b88b9a.js +1 -0
- package/lib/system.onlineuser.985621a6.js +1 -0
- package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.bccb1cd9.mjs} +37 -26
- package/lib/{system.org.c20fe6b2.mjs → system.org.92f4d7f1.mjs} +2 -2
- package/lib/{system.org.79ee5bd6.js → system.org.9f87a010.js} +1 -1
- 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.45a0f530.mjs → system.plugin.af27d7ac.mjs} +500 -479
- package/lib/{system.pos.0a3d2a37.js → system.pos.61e58a92.js} +1 -1
- package/lib/{system.pos.7946a99c.mjs → system.pos.fe067063.mjs} +1 -1
- package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.0b9083c5.mjs} +246 -243
- package/lib/system.promptmanagement.e750de82.js +1 -0
- package/lib/{system.role.75da7929.mjs → system.role.67f62146.mjs} +511 -488
- package/lib/system.role.e86b60f1.js +1 -0
- package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.093d998e.mjs} +168 -165
- package/lib/system.sumberrules.810f7b55.js +1 -0
- package/lib/system.team.58ee701b.js +1 -0
- package/lib/{system.team.e6a9608e.mjs → system.team.8911fd95.mjs} +163 -161
- package/lib/system.teammembers.1880f962.js +1 -0
- package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.35564a00.mjs} +203 -198
- package/lib/{system.timers.eb0b6f3e.mjs → system.timers.4b2d509f.mjs} +2261 -2213
- package/lib/system.timers.9e956553.js +38 -0
- package/lib/system.translation.26b6bb39.js +1 -0
- package/lib/{system.translation.e34f0891.mjs → system.translation.60ec676c.mjs} +435 -429
- package/lib/system.user.134a3988.js +14 -0
- package/lib/{system.user.fa2d2997.mjs → system.user.9a02295e.mjs} +1082 -1026
- package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.96695aeb.mjs} +418 -412
- package/lib/system.useraffiliation.c2421c7e.js +1 -0
- package/lib/{system.webresource.469db736.mjs → system.webresource.016d0000.mjs} +179 -179
- package/lib/system.webresource.e92e8a8f.js +1 -0
- package/lib/{system.welcome.191e98f5.mjs → system.welcome.127b5dd4.mjs} +1 -1
- package/lib/{system.welcome.f64e49f8.js → system.welcome.ff0c85e2.js} +1 -1
- 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.090e75eb.mjs → tcheckboxs.999b7c2e.mjs} +2 -2
- package/lib/tcurrency.4afb9192.mjs +85 -0
- package/lib/tcurrency.8a2361f2.js +1 -0
- package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.606214fa.mjs} +2 -2
- package/lib/{tdatepicker.b19e689d.js → tdatepicker.8e94a60c.js} +1 -1
- package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.ccbdd153.js} +1 -1
- package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.e016d4cf.mjs} +2 -2
- package/lib/{tfile.72925615.mjs → tfile.3f39223d.mjs} +2 -2
- package/lib/{tfile.1bc381f9.js → tfile.b3ebdc71.js} +1 -1
- package/lib/{tparticipants.ca5b556c.mjs → tparticipants.5fe27540.mjs} +2 -2
- package/lib/{tparticipants.77b876e2.js → tparticipants.78c8c175.js} +1 -1
- package/lib/{translation.mains.278e4ba6.mjs → translation.mains.2688be5b.mjs} +7 -7
- package/lib/{translation.mains.1ce7e110.js → translation.mains.a6f19343.js} +1 -1
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -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.5a25c4b6.mjs → viewList.978b72c5.mjs} +70 -92
- package/lib/viewTree.7497ff90.js +1 -0
- package/lib/viewTree.bde43a3b.mjs +409 -0
- package/locale/en_US.js +45 -6
- package/locale/id_ID.js +45 -6
- package/locale/vi_VN.js +45 -6
- package/locale/zh_CN.js +45 -5
- package/package.json +1 -1
- package/lib/addPermission.5036013c.js +0 -1
- package/lib/approvalModel.66f49dfb.js +0 -1
- package/lib/attribute.318f485c.js +0 -1
- package/lib/attribute.a06ac9e7.mjs +0 -237
- package/lib/buildItem.6a834227.js +0 -1
- package/lib/buildItem.fd8634ab.mjs +0 -205
- package/lib/businessRules.0e4dbb3a.js +0 -1
- package/lib/components.chartbi.b043dcdc.mjs +0 -1729
- package/lib/components.chartbi.e4680eaa.js +0 -7
- package/lib/components.echarts.e4d6b13e.js +0 -3
- package/lib/components.iconselector.d712170f.js +0 -1
- package/lib/components.middleware.3bad5748.js +0 -1
- package/lib/components.sidenavmenu.b9bb9304.js +0 -1
- package/lib/components.tableumy.9cf33062.js +0 -1
- package/lib/components.tablevirtual.38d4d3d8.js +0 -1
- package/lib/components.viewformdetails.1621bc18.js +0 -1
- package/lib/components.viewloading.807bbf68.js +0 -1
- package/lib/components.xlsximport.dbd826bb.js +0 -1
- package/lib/createFile.6b37ecf2.js +0 -1
- package/lib/createFile.82d6e415.mjs +0 -239
- package/lib/createSubfolders.47af629c.js +0 -1
- package/lib/drawerContainer.604a1271.mjs +0 -146
- package/lib/drawerContainer.6a9813ce.js +0 -1
- package/lib/fileSearch.65311ded.js +0 -1
- package/lib/flow.designer.1ba3a90d.js +0 -1
- package/lib/flow.list.4eb10554.js +0 -1
- package/lib/form.build.51bd261e.js +0 -1
- package/lib/form.designer.build.5a950455.js +0 -1
- package/lib/form.designer.build.e521c9c6.mjs +0 -5091
- package/lib/formFiled.464856f5.js +0 -1
- package/lib/http.filedocument.7c656b91.js +0 -1
- package/lib/http.filedocument.d456d26a.mjs +0 -156
- package/lib/http.rolemanage.03363732.js +0 -1
- package/lib/index.69ad4631.mjs +0 -44291
- package/lib/index.cca024bf.js +0 -8
- package/lib/layoutBlocks.1a9e3e05.mjs +0 -204
- package/lib/layoutBlocks.5e6be06f.js +0 -1
- package/lib/main.457f4326.js +0 -1
- package/lib/main.4fff412e.js +0 -1
- package/lib/main.77373aa4.mjs +0 -441
- package/lib/main.c3726602.js +0 -1
- package/lib/manage.5bb4f719.js +0 -1
- package/lib/messages.7b74736f.js +0 -9
- package/lib/messages.ad082386.mjs +0 -4889
- package/lib/moveFile.0ce803e0.js +0 -1
- package/lib/moveFile.8310ea94.mjs +0 -254
- package/lib/personal.echarts.b22fba61.mjs +0 -701
- package/lib/personal.echarts.f77bfc9e.js +0 -1
- package/lib/result.19351665.mjs +0 -526
- package/lib/result.e59c0e40.js +0 -1
- package/lib/router.config.2501ec51.js +0 -1
- package/lib/router.config.98a73167.mjs +0 -3172
- package/lib/solution.58580123.js +0 -1
- package/lib/solution.890ff164.mjs +0 -6942
- package/lib/store.config.3cb11578.js +0 -1
- package/lib/system.dict.f5708400.js +0 -1
- package/lib/system.duplicatechecking.8e3a37c0.js +0 -1
- package/lib/system.email.070ab2be.js +0 -1
- package/lib/system.fieldsecurity.3ef07bf7.js +0 -1
- package/lib/system.file.17a7f2ed.js +0 -1
- package/lib/system.notice.96c770a6.js +0 -1
- package/lib/system.noticereceived.dfe4ecc7.js +0 -1
- package/lib/system.onlineuser.e2e39bdc.js +0 -1
- package/lib/system.permissions.90f73461.js +0 -9
- package/lib/system.permissions.c3d34921.mjs +0 -213
- package/lib/system.plugin.b34a3b47.js +0 -1
- package/lib/system.promptmanagement.b5fa6b2d.js +0 -1
- package/lib/system.role.03be0982.js +0 -1
- package/lib/system.sumberrules.bb228fce.js +0 -1
- package/lib/system.team.32183b63.js +0 -1
- package/lib/system.teammembers.847d8ea7.js +0 -1
- package/lib/system.timers.28691ce4.js +0 -38
- package/lib/system.translation.6237f071.js +0 -1
- package/lib/system.user.fca3f2d6.js +0 -14
- package/lib/system.useraffiliation.7547b9c7.js +0 -1
- package/lib/system.webresource.12712b90.js +0 -1
- package/lib/tcheckboxs.99361be3.js +0 -1
- package/lib/tcurrency.0ddac2f8.mjs +0 -92
- package/lib/tcurrency.62763c6d.js +0 -1
- package/lib/utils.datepicker.js.2076c2a2.mjs +0 -61
- package/lib/utils.datepicker.js.8576e2fc.js +0 -1
- package/lib/utils.util.js.50d1ec9c.js +0 -1
- package/lib/utils.util.js.82cd8447.mjs +0 -424
- package/lib/view.build.b44fd7d7.js +0 -1
- package/lib/view.build.f2a9fcfb.mjs +0 -2727
- package/lib/viewList.be5a5ec5.js +0 -1
|
@@ -1,1729 +0,0 @@
|
|
|
1
|
-
import { e as D } from "./utils.echarts.js.d1bb8ac6.mjs";
|
|
2
|
-
import { s as ft, r as B, u as pt } from "./utils.util.js.82cd8447.mjs";
|
|
3
|
-
/*!
|
|
4
|
-
* vuex v3.6.2
|
|
5
|
-
* (c) 2021 Evan You
|
|
6
|
-
* @license MIT
|
|
7
|
-
*/
|
|
8
|
-
function dt(t) {
|
|
9
|
-
var e = Number(t.version.split(".")[0]);
|
|
10
|
-
if (e >= 2)
|
|
11
|
-
t.mixin({ beforeCreate: i });
|
|
12
|
-
else {
|
|
13
|
-
var o = t.prototype._init;
|
|
14
|
-
t.prototype._init = function(n) {
|
|
15
|
-
n === void 0 && (n = {}), n.init = n.init ? [i].concat(n.init) : i, o.call(this, n);
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
function i() {
|
|
19
|
-
var n = this.$options;
|
|
20
|
-
n.store ? this.$store = typeof n.store == "function" ? n.store() : n.store : n.parent && n.parent.$store && (this.$store = n.parent.$store);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
var ht = typeof window < "u" ? window : typeof global < "u" ? global : {}, V = ht.__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
24
|
-
function mt(t) {
|
|
25
|
-
!V || (t._devtoolHook = V, V.emit("vuex:init", t), V.on("vuex:travel-to-state", function(e) {
|
|
26
|
-
t.replaceState(e);
|
|
27
|
-
}), t.subscribe(function(e, o) {
|
|
28
|
-
V.emit("vuex:mutation", e, o);
|
|
29
|
-
}, { prepend: !0 }), t.subscribeAction(function(e, o) {
|
|
30
|
-
V.emit("vuex:action", e, o);
|
|
31
|
-
}, { prepend: !0 }));
|
|
32
|
-
}
|
|
33
|
-
function P(t, e) {
|
|
34
|
-
Object.keys(t).forEach(function(o) {
|
|
35
|
-
return e(t[o], o);
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
function et(t) {
|
|
39
|
-
return t !== null && typeof t == "object";
|
|
40
|
-
}
|
|
41
|
-
function gt(t) {
|
|
42
|
-
return t && typeof t.then == "function";
|
|
43
|
-
}
|
|
44
|
-
function N(t, e) {
|
|
45
|
-
if (!t)
|
|
46
|
-
throw new Error("[vuex] " + e);
|
|
47
|
-
}
|
|
48
|
-
function yt(t, e) {
|
|
49
|
-
return function() {
|
|
50
|
-
return t(e);
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
var w = function(e, o) {
|
|
54
|
-
this.runtime = o, this._children = /* @__PURE__ */ Object.create(null), this._rawModule = e;
|
|
55
|
-
var i = e.state;
|
|
56
|
-
this.state = (typeof i == "function" ? i() : i) || {};
|
|
57
|
-
}, ot = { namespaced: { configurable: !0 } };
|
|
58
|
-
ot.namespaced.get = function() {
|
|
59
|
-
return !!this._rawModule.namespaced;
|
|
60
|
-
};
|
|
61
|
-
w.prototype.addChild = function(e, o) {
|
|
62
|
-
this._children[e] = o;
|
|
63
|
-
};
|
|
64
|
-
w.prototype.removeChild = function(e) {
|
|
65
|
-
delete this._children[e];
|
|
66
|
-
};
|
|
67
|
-
w.prototype.getChild = function(e) {
|
|
68
|
-
return this._children[e];
|
|
69
|
-
};
|
|
70
|
-
w.prototype.hasChild = function(e) {
|
|
71
|
-
return e in this._children;
|
|
72
|
-
};
|
|
73
|
-
w.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
|
-
w.prototype.forEachChild = function(e) {
|
|
77
|
-
P(this._children, e);
|
|
78
|
-
};
|
|
79
|
-
w.prototype.forEachGetter = function(e) {
|
|
80
|
-
this._rawModule.getters && P(this._rawModule.getters, e);
|
|
81
|
-
};
|
|
82
|
-
w.prototype.forEachAction = function(e) {
|
|
83
|
-
this._rawModule.actions && P(this._rawModule.actions, e);
|
|
84
|
-
};
|
|
85
|
-
w.prototype.forEachMutation = function(e) {
|
|
86
|
-
this._rawModule.mutations && P(this._rawModule.mutations, e);
|
|
87
|
-
};
|
|
88
|
-
Object.defineProperties(w.prototype, ot);
|
|
89
|
-
var A = function(e) {
|
|
90
|
-
this.register([], e, !1);
|
|
91
|
-
};
|
|
92
|
-
A.prototype.get = function(e) {
|
|
93
|
-
return e.reduce(function(o, i) {
|
|
94
|
-
return o.getChild(i);
|
|
95
|
-
}, this.root);
|
|
96
|
-
};
|
|
97
|
-
A.prototype.getNamespace = function(e) {
|
|
98
|
-
var o = this.root;
|
|
99
|
-
return e.reduce(function(i, n) {
|
|
100
|
-
return o = o.getChild(n), i + (o.namespaced ? n + "/" : "");
|
|
101
|
-
}, "");
|
|
102
|
-
};
|
|
103
|
-
A.prototype.update = function(e) {
|
|
104
|
-
it([], this.root, e);
|
|
105
|
-
};
|
|
106
|
-
A.prototype.register = function(e, o, i) {
|
|
107
|
-
var n = this;
|
|
108
|
-
i === void 0 && (i = !0), process.env.NODE_ENV !== "production" && nt(e, o);
|
|
109
|
-
var s = new w(o, i);
|
|
110
|
-
if (e.length === 0)
|
|
111
|
-
this.root = s;
|
|
112
|
-
else {
|
|
113
|
-
var l = this.get(e.slice(0, -1));
|
|
114
|
-
l.addChild(e[e.length - 1], s);
|
|
115
|
-
}
|
|
116
|
-
o.modules && P(o.modules, function(p, a) {
|
|
117
|
-
n.register(e.concat(a), p, i);
|
|
118
|
-
});
|
|
119
|
-
};
|
|
120
|
-
A.prototype.unregister = function(e) {
|
|
121
|
-
var o = this.get(e.slice(0, -1)), i = e[e.length - 1], n = o.getChild(i);
|
|
122
|
-
if (!n) {
|
|
123
|
-
process.env.NODE_ENV !== "production" && console.warn(
|
|
124
|
-
"[vuex] trying to unregister module '" + i + "', which is not registered"
|
|
125
|
-
);
|
|
126
|
-
return;
|
|
127
|
-
}
|
|
128
|
-
!n.runtime || o.removeChild(i);
|
|
129
|
-
};
|
|
130
|
-
A.prototype.isRegistered = function(e) {
|
|
131
|
-
var o = this.get(e.slice(0, -1)), i = e[e.length - 1];
|
|
132
|
-
return o ? o.hasChild(i) : !1;
|
|
133
|
-
};
|
|
134
|
-
function it(t, e, o) {
|
|
135
|
-
if (process.env.NODE_ENV !== "production" && nt(t, o), e.update(o), o.modules)
|
|
136
|
-
for (var i in o.modules) {
|
|
137
|
-
if (!e.getChild(i)) {
|
|
138
|
-
process.env.NODE_ENV !== "production" && console.warn(
|
|
139
|
-
"[vuex] trying to add a new module '" + i + "' on hot reloading, manual reload is needed"
|
|
140
|
-
);
|
|
141
|
-
return;
|
|
142
|
-
}
|
|
143
|
-
it(
|
|
144
|
-
t.concat(i),
|
|
145
|
-
e.getChild(i),
|
|
146
|
-
o.modules[i]
|
|
147
|
-
);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
var X = {
|
|
151
|
-
assert: function(t) {
|
|
152
|
-
return typeof t == "function";
|
|
153
|
-
},
|
|
154
|
-
expected: "function"
|
|
155
|
-
}, vt = {
|
|
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: vt
|
|
164
|
-
};
|
|
165
|
-
function nt(t, e) {
|
|
166
|
-
Object.keys(J).forEach(function(o) {
|
|
167
|
-
if (!!e[o]) {
|
|
168
|
-
var i = J[o];
|
|
169
|
-
P(e[o], function(n, s) {
|
|
170
|
-
N(
|
|
171
|
-
i.assert(n),
|
|
172
|
-
bt(t, o, s, n, i.expected)
|
|
173
|
-
);
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
function bt(t, e, o, i, n) {
|
|
179
|
-
var s = e + " should be " + n + ' but "' + e + "." + o + '"';
|
|
180
|
-
return t.length > 0 && (s += ' in module "' + t.join(".") + '"'), s += " is " + JSON.stringify(i) + ".", s;
|
|
181
|
-
}
|
|
182
|
-
var $, E = function t(e) {
|
|
183
|
-
var o = this;
|
|
184
|
-
e === void 0 && (e = {}), !$ && typeof window < "u" && window.Vue && Nt(window.Vue), process.env.NODE_ENV !== "production" && (N($, "must call Vue.use(Vuex) before creating a store instance."), N(typeof Promise < "u", "vuex requires a Promise polyfill in this browser."), N(this instanceof t, "store must be called with the new operator."));
|
|
185
|
-
var i = e.plugins;
|
|
186
|
-
i === void 0 && (i = []);
|
|
187
|
-
var n = e.strict;
|
|
188
|
-
n === void 0 && (n = !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 A(e), this._modulesNamespaceMap = /* @__PURE__ */ Object.create(null), this._subscribers = [], this._watcherVM = new $(), this._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
|
|
189
|
-
var s = this, l = this, p = l.dispatch, a = l.commit;
|
|
190
|
-
this.dispatch = function(g, r) {
|
|
191
|
-
return p.call(s, g, r);
|
|
192
|
-
}, this.commit = function(g, r, m) {
|
|
193
|
-
return a.call(s, g, r, m);
|
|
194
|
-
}, this.strict = n;
|
|
195
|
-
var c = this._modules.root.state;
|
|
196
|
-
R(this, c, [], this._modules.root), H(this, c), i.forEach(function(u) {
|
|
197
|
-
return u(o);
|
|
198
|
-
});
|
|
199
|
-
var f = e.devtools !== void 0 ? e.devtools : $.config.devtools;
|
|
200
|
-
f && mt(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" && N(!1, "use store.replaceState() to explicit replace store state.");
|
|
207
|
-
};
|
|
208
|
-
E.prototype.commit = function(e, o, i) {
|
|
209
|
-
var n = this, s = K(e, o, i), l = s.type, p = s.payload, a = s.options, c = { type: l, payload: p }, f = this._mutations[l];
|
|
210
|
-
if (!f) {
|
|
211
|
-
process.env.NODE_ENV !== "production" && console.error("[vuex] unknown mutation type: " + l);
|
|
212
|
-
return;
|
|
213
|
-
}
|
|
214
|
-
this._withCommit(function() {
|
|
215
|
-
f.forEach(function(g) {
|
|
216
|
-
g(p);
|
|
217
|
-
});
|
|
218
|
-
}), this._subscribers.slice().forEach(function(u) {
|
|
219
|
-
return u(c, n.state);
|
|
220
|
-
}), process.env.NODE_ENV !== "production" && a && a.silent && console.warn(
|
|
221
|
-
"[vuex] mutation type: " + l + ". Silent option has been removed. Use the filter functionality in the vue-devtools"
|
|
222
|
-
);
|
|
223
|
-
};
|
|
224
|
-
E.prototype.dispatch = function(e, o) {
|
|
225
|
-
var i = this, n = K(e, o), s = n.type, l = n.payload, p = { type: s, payload: l }, a = this._actions[s];
|
|
226
|
-
if (!a) {
|
|
227
|
-
process.env.NODE_ENV !== "production" && console.error("[vuex] unknown action type: " + s);
|
|
228
|
-
return;
|
|
229
|
-
}
|
|
230
|
-
try {
|
|
231
|
-
this._actionSubscribers.slice().filter(function(f) {
|
|
232
|
-
return f.before;
|
|
233
|
-
}).forEach(function(f) {
|
|
234
|
-
return f.before(p, i.state);
|
|
235
|
-
});
|
|
236
|
-
} catch (f) {
|
|
237
|
-
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in before action subscribers: "), console.error(f));
|
|
238
|
-
}
|
|
239
|
-
var c = a.length > 1 ? Promise.all(a.map(function(f) {
|
|
240
|
-
return f(l);
|
|
241
|
-
})) : a[0](l);
|
|
242
|
-
return new Promise(function(f, u) {
|
|
243
|
-
c.then(function(g) {
|
|
244
|
-
try {
|
|
245
|
-
i._actionSubscribers.filter(function(r) {
|
|
246
|
-
return r.after;
|
|
247
|
-
}).forEach(function(r) {
|
|
248
|
-
return r.after(p, i.state);
|
|
249
|
-
});
|
|
250
|
-
} catch (r) {
|
|
251
|
-
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in after action subscribers: "), console.error(r));
|
|
252
|
-
}
|
|
253
|
-
f(g);
|
|
254
|
-
}, function(g) {
|
|
255
|
-
try {
|
|
256
|
-
i._actionSubscribers.filter(function(r) {
|
|
257
|
-
return r.error;
|
|
258
|
-
}).forEach(function(r) {
|
|
259
|
-
return r.error(p, i.state, g);
|
|
260
|
-
});
|
|
261
|
-
} catch (r) {
|
|
262
|
-
process.env.NODE_ENV !== "production" && (console.warn("[vuex] error in error action subscribers: "), console.error(r));
|
|
263
|
-
}
|
|
264
|
-
u(g);
|
|
265
|
-
});
|
|
266
|
-
});
|
|
267
|
-
};
|
|
268
|
-
E.prototype.subscribe = function(e, o) {
|
|
269
|
-
return rt(e, this._subscribers, o);
|
|
270
|
-
};
|
|
271
|
-
E.prototype.subscribeAction = function(e, o) {
|
|
272
|
-
var i = typeof e == "function" ? { before: e } : e;
|
|
273
|
-
return rt(i, this._actionSubscribers, o);
|
|
274
|
-
};
|
|
275
|
-
E.prototype.watch = function(e, o, i) {
|
|
276
|
-
var n = this;
|
|
277
|
-
return process.env.NODE_ENV !== "production" && N(typeof e == "function", "store.watch only accepts a function."), this._watcherVM.$watch(function() {
|
|
278
|
-
return e(n.state, n.getters);
|
|
279
|
-
}, o, i);
|
|
280
|
-
};
|
|
281
|
-
E.prototype.replaceState = function(e) {
|
|
282
|
-
var o = this;
|
|
283
|
-
this._withCommit(function() {
|
|
284
|
-
o._vm._data.$$state = e;
|
|
285
|
-
});
|
|
286
|
-
};
|
|
287
|
-
E.prototype.registerModule = function(e, o, i) {
|
|
288
|
-
i === void 0 && (i = {}), typeof e == "string" && (e = [e]), process.env.NODE_ENV !== "production" && (N(Array.isArray(e), "module path must be a string or an Array."), N(e.length > 0, "cannot register the root module by using registerModule.")), this._modules.register(e, o), R(this, this.state, e, this._modules.get(e), i.preserveState), H(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" && N(Array.isArray(e), "module path must be a string or an Array."), this._modules.unregister(e), this._withCommit(function() {
|
|
293
|
-
var i = U(o.state, e.slice(0, -1));
|
|
294
|
-
$.delete(i, e[e.length - 1]);
|
|
295
|
-
}), st(this);
|
|
296
|
-
};
|
|
297
|
-
E.prototype.hasModule = function(e) {
|
|
298
|
-
return typeof e == "string" && (e = [e]), process.env.NODE_ENV !== "production" && N(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), st(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 rt(t, e, o) {
|
|
309
|
-
return e.indexOf(t) < 0 && (o && o.prepend ? e.unshift(t) : e.push(t)), function() {
|
|
310
|
-
var i = e.indexOf(t);
|
|
311
|
-
i > -1 && e.splice(i, 1);
|
|
312
|
-
};
|
|
313
|
-
}
|
|
314
|
-
function st(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
|
-
R(t, o, [], t._modules.root, !0), H(t, o, e);
|
|
318
|
-
}
|
|
319
|
-
function H(t, e, o) {
|
|
320
|
-
var i = t._vm;
|
|
321
|
-
t.getters = {}, t._makeLocalGettersCache = /* @__PURE__ */ Object.create(null);
|
|
322
|
-
var n = t._wrappedGetters, s = {};
|
|
323
|
-
P(n, function(p, a) {
|
|
324
|
-
s[a] = yt(p, t), Object.defineProperty(t.getters, a, {
|
|
325
|
-
get: function() {
|
|
326
|
-
return t._vm[a];
|
|
327
|
-
},
|
|
328
|
-
enumerable: !0
|
|
329
|
-
});
|
|
330
|
-
});
|
|
331
|
-
var l = $.config.silent;
|
|
332
|
-
$.config.silent = !0, t._vm = new $({
|
|
333
|
-
data: {
|
|
334
|
-
$$state: e
|
|
335
|
-
},
|
|
336
|
-
computed: s
|
|
337
|
-
}), $.config.silent = l, t.strict && St(t), i && (o && t._withCommit(function() {
|
|
338
|
-
i._data.$$state = null;
|
|
339
|
-
}), $.nextTick(function() {
|
|
340
|
-
return i.$destroy();
|
|
341
|
-
}));
|
|
342
|
-
}
|
|
343
|
-
function R(t, e, o, i, n) {
|
|
344
|
-
var s = !o.length, l = t._modules.getNamespace(o);
|
|
345
|
-
if (i.namespaced && (t._modulesNamespaceMap[l] && process.env.NODE_ENV !== "production" && console.error("[vuex] duplicate namespace " + l + " for the namespaced module " + o.join("/")), t._modulesNamespaceMap[l] = i), !s && !n) {
|
|
346
|
-
var p = U(e, o.slice(0, -1)), a = o[o.length - 1];
|
|
347
|
-
t._withCommit(function() {
|
|
348
|
-
process.env.NODE_ENV !== "production" && a in p && console.warn(
|
|
349
|
-
'[vuex] state field "' + a + '" was overridden by a module with the same name at "' + o.join(".") + '"'
|
|
350
|
-
), $.set(p, a, i.state);
|
|
351
|
-
});
|
|
352
|
-
}
|
|
353
|
-
var c = i.context = _t(t, l, o);
|
|
354
|
-
i.forEachMutation(function(f, u) {
|
|
355
|
-
var g = l + u;
|
|
356
|
-
Ot(t, g, f, c);
|
|
357
|
-
}), i.forEachAction(function(f, u) {
|
|
358
|
-
var g = f.root ? u : l + u, r = f.handler || f;
|
|
359
|
-
$t(t, g, r, c);
|
|
360
|
-
}), i.forEachGetter(function(f, u) {
|
|
361
|
-
var g = l + u;
|
|
362
|
-
Ct(t, g, f, c);
|
|
363
|
-
}), i.forEachChild(function(f, u) {
|
|
364
|
-
R(t, e, o.concat(u), f, n);
|
|
365
|
-
});
|
|
366
|
-
}
|
|
367
|
-
function _t(t, e, o) {
|
|
368
|
-
var i = e === "", n = {
|
|
369
|
-
dispatch: i ? t.dispatch : function(s, l, p) {
|
|
370
|
-
var a = K(s, l, p), c = a.payload, f = a.options, u = a.type;
|
|
371
|
-
if ((!f || !f.root) && (u = e + u, process.env.NODE_ENV !== "production" && !t._actions[u])) {
|
|
372
|
-
console.error("[vuex] unknown local action type: " + a.type + ", global type: " + u);
|
|
373
|
-
return;
|
|
374
|
-
}
|
|
375
|
-
return t.dispatch(u, c);
|
|
376
|
-
},
|
|
377
|
-
commit: i ? t.commit : function(s, l, p) {
|
|
378
|
-
var a = K(s, l, p), c = a.payload, f = a.options, u = a.type;
|
|
379
|
-
if ((!f || !f.root) && (u = e + u, process.env.NODE_ENV !== "production" && !t._mutations[u])) {
|
|
380
|
-
console.error("[vuex] unknown local mutation type: " + a.type + ", global type: " + u);
|
|
381
|
-
return;
|
|
382
|
-
}
|
|
383
|
-
t.commit(u, c, f);
|
|
384
|
-
}
|
|
385
|
-
};
|
|
386
|
-
return Object.defineProperties(n, {
|
|
387
|
-
getters: {
|
|
388
|
-
get: i ? function() {
|
|
389
|
-
return t.getters;
|
|
390
|
-
} : function() {
|
|
391
|
-
return xt(t, e);
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
|
-
state: {
|
|
395
|
-
get: function() {
|
|
396
|
-
return U(t.state, o);
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
}), n;
|
|
400
|
-
}
|
|
401
|
-
function xt(t, e) {
|
|
402
|
-
if (!t._makeLocalGettersCache[e]) {
|
|
403
|
-
var o = {}, i = e.length;
|
|
404
|
-
Object.keys(t.getters).forEach(function(n) {
|
|
405
|
-
if (n.slice(0, i) === e) {
|
|
406
|
-
var s = n.slice(i);
|
|
407
|
-
Object.defineProperty(o, s, {
|
|
408
|
-
get: function() {
|
|
409
|
-
return t.getters[n];
|
|
410
|
-
},
|
|
411
|
-
enumerable: !0
|
|
412
|
-
});
|
|
413
|
-
}
|
|
414
|
-
}), t._makeLocalGettersCache[e] = o;
|
|
415
|
-
}
|
|
416
|
-
return t._makeLocalGettersCache[e];
|
|
417
|
-
}
|
|
418
|
-
function Ot(t, e, o, i) {
|
|
419
|
-
var n = t._mutations[e] || (t._mutations[e] = []);
|
|
420
|
-
n.push(function(l) {
|
|
421
|
-
o.call(t, i.state, l);
|
|
422
|
-
});
|
|
423
|
-
}
|
|
424
|
-
function $t(t, e, o, i) {
|
|
425
|
-
var n = t._actions[e] || (t._actions[e] = []);
|
|
426
|
-
n.push(function(l) {
|
|
427
|
-
var p = o.call(t, {
|
|
428
|
-
dispatch: i.dispatch,
|
|
429
|
-
commit: i.commit,
|
|
430
|
-
getters: i.getters,
|
|
431
|
-
state: i.state,
|
|
432
|
-
rootGetters: t.getters,
|
|
433
|
-
rootState: t.state
|
|
434
|
-
}, l);
|
|
435
|
-
return gt(p) || (p = Promise.resolve(p)), t._devtoolHook ? p.catch(function(a) {
|
|
436
|
-
throw t._devtoolHook.emit("vuex:error", a), a;
|
|
437
|
-
}) : p;
|
|
438
|
-
});
|
|
439
|
-
}
|
|
440
|
-
function Ct(t, e, o, i) {
|
|
441
|
-
if (t._wrappedGetters[e]) {
|
|
442
|
-
process.env.NODE_ENV !== "production" && console.error("[vuex] duplicate getter key: " + e);
|
|
443
|
-
return;
|
|
444
|
-
}
|
|
445
|
-
t._wrappedGetters[e] = function(s) {
|
|
446
|
-
return o(
|
|
447
|
-
i.state,
|
|
448
|
-
i.getters,
|
|
449
|
-
s.state,
|
|
450
|
-
s.getters
|
|
451
|
-
);
|
|
452
|
-
};
|
|
453
|
-
}
|
|
454
|
-
function St(t) {
|
|
455
|
-
t._vm.$watch(function() {
|
|
456
|
-
return this._data.$$state;
|
|
457
|
-
}, function() {
|
|
458
|
-
process.env.NODE_ENV !== "production" && N(t._committing, "do not mutate vuex store state outside mutation handlers.");
|
|
459
|
-
}, { deep: !0, sync: !0 });
|
|
460
|
-
}
|
|
461
|
-
function U(t, e) {
|
|
462
|
-
return e.reduce(function(o, i) {
|
|
463
|
-
return o[i];
|
|
464
|
-
}, t);
|
|
465
|
-
}
|
|
466
|
-
function K(t, e, o) {
|
|
467
|
-
return et(t) && t.type && (o = e, e = t, t = t.type), process.env.NODE_ENV !== "production" && N(typeof t == "string", "expects string as the type, but found " + typeof t + "."), { type: t, payload: e, options: o };
|
|
468
|
-
}
|
|
469
|
-
function Nt(t) {
|
|
470
|
-
if ($ && t === $) {
|
|
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
|
-
$ = t, dt($);
|
|
477
|
-
}
|
|
478
|
-
var Et = lt(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"), at(e).forEach(function(i) {
|
|
481
|
-
var n = i.key, s = i.val;
|
|
482
|
-
s = t + s, o[n] = function() {
|
|
483
|
-
if (!(t && !ct(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[n].vuex = !0;
|
|
491
|
-
}), o;
|
|
492
|
-
}), ue = lt(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"), at(e).forEach(function(i) {
|
|
495
|
-
var n = i.key, s = i.val;
|
|
496
|
-
o[n] = function() {
|
|
497
|
-
for (var p = [], a = arguments.length; a--; )
|
|
498
|
-
p[a] = arguments[a];
|
|
499
|
-
var c = this.$store.dispatch;
|
|
500
|
-
if (t) {
|
|
501
|
-
var f = ct(this.$store, "mapActions", t);
|
|
502
|
-
if (!f)
|
|
503
|
-
return;
|
|
504
|
-
c = f.context.dispatch;
|
|
505
|
-
}
|
|
506
|
-
return typeof s == "function" ? s.apply(this, [c].concat(p)) : c.apply(this.$store, [s].concat(p));
|
|
507
|
-
};
|
|
508
|
-
}), o;
|
|
509
|
-
});
|
|
510
|
-
function at(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) || et(t);
|
|
519
|
-
}
|
|
520
|
-
function lt(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 ct(t, e, o) {
|
|
526
|
-
var i = t._modulesNamespaceMap[o];
|
|
527
|
-
return process.env.NODE_ENV !== "production" && !i && console.error("[vuex] module namespace not found in " + e + "(): " + o), i;
|
|
528
|
-
}
|
|
529
|
-
function M(t, e, o, i, n, s, l, p) {
|
|
530
|
-
var a = typeof t == "function" ? t.options : t;
|
|
531
|
-
e && (a.render = e, a.staticRenderFns = o, a._compiled = !0), i && (a.functional = !0), s && (a._scopeId = "data-v-" + s);
|
|
532
|
-
var c;
|
|
533
|
-
if (l ? (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__), n && n.call(this, g), g && g._registeredComponents && g._registeredComponents.add(l);
|
|
535
|
-
}, a._ssrRegister = c) : n && (c = p ? function() {
|
|
536
|
-
n.call(
|
|
537
|
-
this,
|
|
538
|
-
(a.functional ? this.parent : this).$root.$options.shadowRoot
|
|
539
|
-
);
|
|
540
|
-
} : n), c)
|
|
541
|
-
if (a.functional) {
|
|
542
|
-
a._injectStyles = c;
|
|
543
|
-
var f = a.render;
|
|
544
|
-
a.render = function(r, m) {
|
|
545
|
-
return c.call(m), f(r, m);
|
|
546
|
-
};
|
|
547
|
-
} else {
|
|
548
|
-
var u = a.beforeCreate;
|
|
549
|
-
a.beforeCreate = u ? [].concat(u, c) : [c];
|
|
550
|
-
}
|
|
551
|
-
return {
|
|
552
|
-
exports: t,
|
|
553
|
-
options: a
|
|
554
|
-
};
|
|
555
|
-
}
|
|
556
|
-
function wt(t, e, o) {
|
|
557
|
-
let i = /* @__PURE__ */ new Map();
|
|
558
|
-
return t.forEach((s, l) => {
|
|
559
|
-
i.set(s.id, jt(s.operation.list));
|
|
560
|
-
}), {
|
|
561
|
-
rich: Object.fromEntries(i),
|
|
562
|
-
formatter: (s) => kt(s, t, e, o)
|
|
563
|
-
};
|
|
564
|
-
}
|
|
565
|
-
function jt(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 kt(t, e, o, i) {
|
|
578
|
-
const n = o.formatter ? o.formatter : "", s = o.transKeyPrefix ? i(o.transKeyPrefix, o.prefix) : "";
|
|
579
|
-
let l = "";
|
|
580
|
-
for (let a = 0; a < e.length; a++) {
|
|
581
|
-
let c = [];
|
|
582
|
-
e[a].condition.list.forEach((u) => {
|
|
583
|
-
const g = W(u.val), r = o.bei === 0 ? 0 : o.bei === 100 ? g.l - 2 : g.l - 3, m = L(Number(u.val) * o.bei, r);
|
|
584
|
-
let d = Ft({
|
|
585
|
-
data: Object.assign({
|
|
586
|
-
...u
|
|
587
|
-
}, {
|
|
588
|
-
val: m
|
|
589
|
-
}),
|
|
590
|
-
val: t.data
|
|
591
|
-
});
|
|
592
|
-
c.push(d);
|
|
593
|
-
}), Dt(c, e[a]) && l === "" && (l = e[a].id);
|
|
594
|
-
}
|
|
595
|
-
return l !== "" ? `{${l}|${s} ${t.data} ${n}}` : `${s} ${t.data} ${n}`;
|
|
596
|
-
}
|
|
597
|
-
function Ft(t) {
|
|
598
|
-
switch (t.data.rules) {
|
|
599
|
-
case "1":
|
|
600
|
-
return Z(t);
|
|
601
|
-
case "2":
|
|
602
|
-
return Z(t);
|
|
603
|
-
case "7":
|
|
604
|
-
return G(t);
|
|
605
|
-
case "8":
|
|
606
|
-
return G(t);
|
|
607
|
-
case "9":
|
|
608
|
-
return G(t);
|
|
609
|
-
case "10":
|
|
610
|
-
return G(t);
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
function Z({
|
|
614
|
-
data: t,
|
|
615
|
-
val: e
|
|
616
|
-
}) {
|
|
617
|
-
if (e === "" || e === void 0)
|
|
618
|
-
return !1;
|
|
619
|
-
let o = Number(e), i = Number(t.val);
|
|
620
|
-
return t.rules === "1" ? o === i : o !== i;
|
|
621
|
-
}
|
|
622
|
-
function G({
|
|
623
|
-
data: t,
|
|
624
|
-
val: e
|
|
625
|
-
}) {
|
|
626
|
-
if (e === "" || e === void 0)
|
|
627
|
-
return !1;
|
|
628
|
-
let o = Y("inputnumber", {
|
|
629
|
-
val: e
|
|
630
|
-
}), i = Y("inputnumber", t);
|
|
631
|
-
if (t.rules === "7")
|
|
632
|
-
return o > i;
|
|
633
|
-
if (t.rules === "8")
|
|
634
|
-
return o >= i;
|
|
635
|
-
if (t.rules === "9")
|
|
636
|
-
return o < i;
|
|
637
|
-
if (t.rules === "10")
|
|
638
|
-
return o <= i;
|
|
639
|
-
}
|
|
640
|
-
function Y(t = "inputnumber", e) {
|
|
641
|
-
let o = 0;
|
|
642
|
-
return t === "inputnumber" ? o = Number(e.val) : o = new Date(String(e.val)).getTime(), o;
|
|
643
|
-
}
|
|
644
|
-
function Dt(t, e) {
|
|
645
|
-
let o = e.condition.list.length;
|
|
646
|
-
if (o === 0)
|
|
647
|
-
return !0;
|
|
648
|
-
let i = o === 0 ? "1" : e.condition.list[o - 1].type, n = Tt(t, i);
|
|
649
|
-
return i === "2" && !n ? !0 : !!(i !== "2" && n);
|
|
650
|
-
}
|
|
651
|
-
function Tt(t, e) {
|
|
652
|
-
return e === "2" ? t.every((o, i, n) => !o) : t.every((o, i, n) => !!o);
|
|
653
|
-
}
|
|
654
|
-
function W(t) {
|
|
655
|
-
const e = String(t), o = e.substr(e.lastIndexOf(".") + 1).toLowerCase();
|
|
656
|
-
let i = 1;
|
|
657
|
-
for (let n = 0; n < o.length; n++)
|
|
658
|
-
i *= 10;
|
|
659
|
-
return {
|
|
660
|
-
n: i,
|
|
661
|
-
l: o.length
|
|
662
|
-
};
|
|
663
|
-
}
|
|
664
|
-
function L(t, e) {
|
|
665
|
-
const o = 10 ** e;
|
|
666
|
-
return Math.round(t * o) / o;
|
|
667
|
-
}
|
|
668
|
-
const Lt = {
|
|
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
|
-
},
|
|
690
|
-
methods: {
|
|
691
|
-
init(t) {
|
|
692
|
-
let e = D.init(this.$refs.container), o = this.getOption(t);
|
|
693
|
-
e.clear(), e.dispose(), e = D.init(this.$refs.container), e.setOption(o), e.on("click", (i) => {
|
|
694
|
-
this.$emit("change", i);
|
|
695
|
-
});
|
|
696
|
-
},
|
|
697
|
-
getOption(t) {
|
|
698
|
-
let e = [], o = [], i = [], n = [];
|
|
699
|
-
const s = t.series.filter((r) => r.type === "bar")[0];
|
|
700
|
-
t.columns.forEach((r) => {
|
|
701
|
-
e.push({
|
|
702
|
-
type: "category",
|
|
703
|
-
data: r.data,
|
|
704
|
-
axisPointer: {
|
|
705
|
-
type: s === void 0 ? "line" : "shadow"
|
|
706
|
-
},
|
|
707
|
-
axisTick: {
|
|
708
|
-
alignWithLabel: !1
|
|
709
|
-
},
|
|
710
|
-
axisLine: {
|
|
711
|
-
onZero: !1,
|
|
712
|
-
lineStyle: {
|
|
713
|
-
color: this.options.labelLineColor
|
|
714
|
-
}
|
|
715
|
-
},
|
|
716
|
-
axisLabel: {
|
|
717
|
-
interval: 0,
|
|
718
|
-
rotate: r.rotate !== void 0 ? r.rotate : this.options.labelRotate,
|
|
719
|
-
fontSize: r.fontSize !== void 0 ? r.fontSize : this.options.labelFontSize,
|
|
720
|
-
color: r.color !== void 0 ? r.color : this.options.xAxisLabelColor
|
|
721
|
-
},
|
|
722
|
-
offset: r.offset,
|
|
723
|
-
position: r.position
|
|
724
|
-
});
|
|
725
|
-
}), t.data.forEach((r, m) => {
|
|
726
|
-
this.$i18nt(r.item.transKey, r.item.name);
|
|
727
|
-
let d = {
|
|
728
|
-
type: "value",
|
|
729
|
-
axisLine: {
|
|
730
|
-
show: !0,
|
|
731
|
-
lineStyle: {
|
|
732
|
-
color: this.options.labelLineColor
|
|
733
|
-
}
|
|
734
|
-
},
|
|
735
|
-
axisLabel: {
|
|
736
|
-
formatter: r.formatter ? `{value} ${r.formatter}` : "{value}",
|
|
737
|
-
color: this.options.labelFontColor
|
|
738
|
-
}
|
|
739
|
-
};
|
|
740
|
-
r.max !== void 0 && Object.assign(d, {
|
|
741
|
-
max: r.max
|
|
742
|
-
}), r.min !== void 0 && Object.assign(d, {
|
|
743
|
-
min: r.min
|
|
744
|
-
}), t.data.length !== 1 && Object.assign(d, {
|
|
745
|
-
position: m === 0 ? "left" : "right",
|
|
746
|
-
alignTicks: !0,
|
|
747
|
-
show: m < 2,
|
|
748
|
-
axisLabel: {
|
|
749
|
-
formatter: r.formatter ? `{value} ${r.formatter}` : "{value}"
|
|
750
|
-
}
|
|
751
|
-
}), o.push(d);
|
|
752
|
-
});
|
|
753
|
-
const p = t.series.filter((r) => {
|
|
754
|
-
const m = r.item.columnName ? r.item.columnName : "", d = t.series[0].columnName ? t.series[0].columnName : "";
|
|
755
|
-
return m === d;
|
|
756
|
-
}).length === t.series.length;
|
|
757
|
-
t.series.forEach((r, m) => {
|
|
758
|
-
let d = this.$i18nt(r.item.transKey, r.item.name);
|
|
759
|
-
r.item.transkeyDict && (d += ` (${this.$i18nt(r.item.transkeyDict, r.item.transkeyName)})`);
|
|
760
|
-
let y = {
|
|
761
|
-
label: {
|
|
762
|
-
show: r.tooltip ? this.options.labelShow : r.tooltip,
|
|
763
|
-
position: this.options.labelTextPosition,
|
|
764
|
-
textStyle: {
|
|
765
|
-
fontSize: this.options.textFontSize,
|
|
766
|
-
color: this.options.textFontColor
|
|
767
|
-
}
|
|
768
|
-
},
|
|
769
|
-
color: (x) => t.type === 1 ? this.color[x.dataIndex] : this.color[m]
|
|
770
|
-
};
|
|
771
|
-
this.ruleList.length > 0 && (y = this.getNormal(y, r)), (t.data.length !== 1 || t.type === 2) && r.item.name && n.push(d);
|
|
772
|
-
let b = {
|
|
773
|
-
type: r.type,
|
|
774
|
-
name: d,
|
|
775
|
-
emphasis: {
|
|
776
|
-
focus: this.options.emphasisFocus
|
|
777
|
-
},
|
|
778
|
-
data: r.data.map((x) => {
|
|
779
|
-
if (r.bei === 1)
|
|
780
|
-
return L(x, this.options.numericalPrecision).toFixed(this.options.numericalPrecision);
|
|
781
|
-
const O = W(x), k = r.bei === 100 ? O.l - 2 : O.l - 3, T = L(Number(x) * r.bei, k);
|
|
782
|
-
return L(T, this.options.numericalPrecision).toFixed(this.options.numericalPrecision);
|
|
783
|
-
}),
|
|
784
|
-
tooltip: {
|
|
785
|
-
show: r.tooltip,
|
|
786
|
-
valueFormatter: (x) => {
|
|
787
|
-
const O = r.formatter ? r.formatter : "";
|
|
788
|
-
return `${r.transKeyPrefix ? this.$i18nt(r.transKeyPrefix, r.prefix) : ""} ${x} ${O}`;
|
|
789
|
-
}
|
|
790
|
-
},
|
|
791
|
-
itemStyle: t.data.length === 1 ? { normal: y } : { normal: Object.assign({ ...y }, { color: this.color[m] }) }
|
|
792
|
-
};
|
|
793
|
-
const v = this.options.overlayStack ? { stack: r.stack ? r.stack : "Total" } : {};
|
|
794
|
-
t.type === 1 && Object.assign(b, { yAxisIndex: p || v.stack !== void 0 ? 0 : m }), r.type === "line" && Object.assign(b, {
|
|
795
|
-
smooth: this.options.smooth,
|
|
796
|
-
showSymbol: this.options.showSymbol,
|
|
797
|
-
lineStyle: {
|
|
798
|
-
width: this.options.lineStyleWidth
|
|
799
|
-
}
|
|
800
|
-
}), i.push(Object.assign(b, v));
|
|
801
|
-
});
|
|
802
|
-
let a = {
|
|
803
|
-
containLabel: !0
|
|
804
|
-
};
|
|
805
|
-
this.options.gridPosition.forEach((r, m) => {
|
|
806
|
-
r !== "" && m === 0 ? Object.assign(a, { top: r }) : r !== "" && m === 1 ? Object.assign(a, { right: r }) : r !== "" && m === 2 ? Object.assign(a, { bottom: r }) : r !== "" && m === 3 && Object.assign(a, { left: r });
|
|
807
|
-
});
|
|
808
|
-
let c = {
|
|
809
|
-
data: n,
|
|
810
|
-
type: "scroll",
|
|
811
|
-
textStyle: {
|
|
812
|
-
color: this.options.legendTextColor
|
|
813
|
-
},
|
|
814
|
-
orient: this.options.legendOrient
|
|
815
|
-
};
|
|
816
|
-
if (this.options.legendPosition.forEach((r, m) => {
|
|
817
|
-
r !== "" && m === 0 ? Object.assign(c, { top: r }) : r !== "" && m === 1 ? Object.assign(c, { right: r }) : r !== "" && m === 2 ? Object.assign(c, { bottom: r }) : r !== "" && m === 3 && Object.assign(c, { left: r });
|
|
818
|
-
}), s === void 0 && this.options.areaStyleStack && (e.forEach((r, m) => {
|
|
819
|
-
e[m] = Object.assign(r, {
|
|
820
|
-
boundaryGap: !1
|
|
821
|
-
});
|
|
822
|
-
}), i.forEach((r, m) => {
|
|
823
|
-
i[m] = Object.assign(r, {
|
|
824
|
-
areaStyle: {}
|
|
825
|
-
});
|
|
826
|
-
})), this.options.overlayStack && this.options.numericalSummary && this.options.labelTextPosition === "inside") {
|
|
827
|
-
let r = [], m = [];
|
|
828
|
-
const d = t.series[0].bei;
|
|
829
|
-
for (let y = 0; y < i[0].data.length; y++) {
|
|
830
|
-
let b = 0;
|
|
831
|
-
for (let v = 0; v < i.length; v++)
|
|
832
|
-
b += Number(i[v].data[y]);
|
|
833
|
-
if (m.push(0), d === 1)
|
|
834
|
-
r.push(L(b, this.options.numericalPrecision).toFixed(this.options.numericalPrecision));
|
|
835
|
-
else {
|
|
836
|
-
const v = W(b), x = d === 100 ? v.l - 2 : v.l - 3, O = L(Number(ite) * d, x);
|
|
837
|
-
r.push(L(O, this.options.numericalPrecision).toFixed(this.options.numericalPrecision));
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
i.push({
|
|
841
|
-
name: "\u6C47\u603B",
|
|
842
|
-
stack: i[0].stack,
|
|
843
|
-
type: "bar",
|
|
844
|
-
label: {
|
|
845
|
-
normal: {
|
|
846
|
-
show: !0,
|
|
847
|
-
position: "top",
|
|
848
|
-
formatter: function(y) {
|
|
849
|
-
return r[y.dataIndex];
|
|
850
|
-
},
|
|
851
|
-
textStyle: { color: "#333", fontSize: this.options.textFontSize }
|
|
852
|
-
}
|
|
853
|
-
},
|
|
854
|
-
tooltip: {
|
|
855
|
-
show: !1
|
|
856
|
-
},
|
|
857
|
-
data: m
|
|
858
|
-
});
|
|
859
|
-
}
|
|
860
|
-
const f = Math.ceil(i.length / this.color.length);
|
|
861
|
-
let u = [];
|
|
862
|
-
for (let r = 0; r < f; r++)
|
|
863
|
-
u = u.concat(this.color);
|
|
864
|
-
return {
|
|
865
|
-
color: u,
|
|
866
|
-
tooltip: {
|
|
867
|
-
trigger: "axis",
|
|
868
|
-
axisPointer: {
|
|
869
|
-
type: s === void 0 ? "cross" : "shadow"
|
|
870
|
-
}
|
|
871
|
-
},
|
|
872
|
-
grid: a,
|
|
873
|
-
legend: c,
|
|
874
|
-
xAxis: e,
|
|
875
|
-
yAxis: o,
|
|
876
|
-
series: i
|
|
877
|
-
};
|
|
878
|
-
},
|
|
879
|
-
getNormal(t, e) {
|
|
880
|
-
const o = `${e.columnName}&${e.mode}`, i = this.ruleList.filter((s) => `${s.columnName}&${s.mode}` === o)[0];
|
|
881
|
-
if (!i)
|
|
882
|
-
return t;
|
|
883
|
-
let n = wt(i.ruleSequence, e, this.$i18nt);
|
|
884
|
-
return Object.assign({ ...t }, { label: Object.assign({ ...t.label }, n) });
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
};
|
|
888
|
-
var Pt = function() {
|
|
889
|
-
var e = this, o = e._self._c;
|
|
890
|
-
return o("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
891
|
-
}, At = [], Vt = /* @__PURE__ */ M(
|
|
892
|
-
Lt,
|
|
893
|
-
Pt,
|
|
894
|
-
At,
|
|
895
|
-
!1,
|
|
896
|
-
null,
|
|
897
|
-
"2a333f14",
|
|
898
|
-
null,
|
|
899
|
-
null
|
|
900
|
-
);
|
|
901
|
-
const tt = Vt.exports;
|
|
902
|
-
const Mt = {
|
|
903
|
-
props: {
|
|
904
|
-
develop: {
|
|
905
|
-
type: [Number, String],
|
|
906
|
-
default: 1
|
|
907
|
-
},
|
|
908
|
-
color: {
|
|
909
|
-
type: Array,
|
|
910
|
-
default: () => []
|
|
911
|
-
},
|
|
912
|
-
options: {
|
|
913
|
-
type: Object,
|
|
914
|
-
default: () => ({})
|
|
915
|
-
}
|
|
916
|
-
},
|
|
917
|
-
data() {
|
|
918
|
-
return {};
|
|
919
|
-
},
|
|
920
|
-
methods: {
|
|
921
|
-
init(t) {
|
|
922
|
-
let e = D.init(this.$refs.container), o = this.getOption(t);
|
|
923
|
-
e.clear(), e.dispose(), e = D.init(this.$refs.container), e.setOption(o), e.on("click", (i) => {
|
|
924
|
-
this.$emit("change", i);
|
|
925
|
-
});
|
|
926
|
-
},
|
|
927
|
-
getOption(t) {
|
|
928
|
-
let e = 0, o = t.data[0].dataName;
|
|
929
|
-
o.forEach((s, l) => {
|
|
930
|
-
e += Number(s.value), o[l].order = s.value;
|
|
931
|
-
}), o = [...ft(o)];
|
|
932
|
-
let i = {
|
|
933
|
-
data: t.columns[0].data,
|
|
934
|
-
type: "scroll",
|
|
935
|
-
textStyle: {
|
|
936
|
-
color: this.options.legendTextColor
|
|
937
|
-
},
|
|
938
|
-
orient: this.options.legendOrient
|
|
939
|
-
};
|
|
940
|
-
return this.options.legendPosition.forEach((s, l) => {
|
|
941
|
-
s !== "" && l === 0 ? Object.assign(i, { top: s }) : s !== "" && l === 1 ? Object.assign(i, { right: s }) : s !== "" && l === 2 ? Object.assign(i, { bottom: s }) : s !== "" && l === 3 && Object.assign(i, { left: s });
|
|
942
|
-
}), {
|
|
943
|
-
tooltip: {
|
|
944
|
-
trigger: "item",
|
|
945
|
-
formatter: function(s) {
|
|
946
|
-
return s.data.name + ":\r" + s.data.values;
|
|
947
|
-
}
|
|
948
|
-
},
|
|
949
|
-
color: this.color,
|
|
950
|
-
legend: i,
|
|
951
|
-
series: [
|
|
952
|
-
{
|
|
953
|
-
type: "funnel",
|
|
954
|
-
left: "10%",
|
|
955
|
-
top: 50,
|
|
956
|
-
bottom: 50,
|
|
957
|
-
width: "76%",
|
|
958
|
-
min: 0,
|
|
959
|
-
max: 100,
|
|
960
|
-
minSize: "10%",
|
|
961
|
-
maxSize: "90%",
|
|
962
|
-
sort: "descending",
|
|
963
|
-
gap: 1,
|
|
964
|
-
label: {
|
|
965
|
-
show: this.options.labelShow,
|
|
966
|
-
fontSize: this.options.textFontSize,
|
|
967
|
-
formatter: function(s) {
|
|
968
|
-
return s.data.name + ":\r" + s.data.values + `
|
|
969
|
-
` + s.data.percentage + "%";
|
|
970
|
-
}
|
|
971
|
-
},
|
|
972
|
-
labelLine: {
|
|
973
|
-
length: 10,
|
|
974
|
-
lineStyle: {
|
|
975
|
-
width: 1,
|
|
976
|
-
type: "solid"
|
|
977
|
-
}
|
|
978
|
-
},
|
|
979
|
-
itemStyle: {
|
|
980
|
-
borderColor: "#fff",
|
|
981
|
-
borderWidth: 1
|
|
982
|
-
},
|
|
983
|
-
emphasis: {
|
|
984
|
-
label: {
|
|
985
|
-
fontSize: 15
|
|
986
|
-
}
|
|
987
|
-
},
|
|
988
|
-
data: o.map((s, l) => {
|
|
989
|
-
const p = s.value;
|
|
990
|
-
return Object.assign(
|
|
991
|
-
{ ...s },
|
|
992
|
-
{
|
|
993
|
-
values: B(p, this.options.numericalPrecision).toFixed(this.options.numericalPrecision),
|
|
994
|
-
percentage: e === 0 ? "0" : (Number(p) / e * 1e4).toFixed(0) / 100,
|
|
995
|
-
value: (1 / o.length * (l + 1) * 100).toFixed(0)
|
|
996
|
-
}
|
|
997
|
-
);
|
|
998
|
-
})
|
|
999
|
-
}
|
|
1000
|
-
]
|
|
1001
|
-
};
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
};
|
|
1005
|
-
var zt = function() {
|
|
1006
|
-
var e = this, o = e._self._c;
|
|
1007
|
-
return o("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
1008
|
-
}, Gt = [], Kt = /* @__PURE__ */ M(
|
|
1009
|
-
Mt,
|
|
1010
|
-
zt,
|
|
1011
|
-
Gt,
|
|
1012
|
-
!1,
|
|
1013
|
-
null,
|
|
1014
|
-
"82e80ff7",
|
|
1015
|
-
null,
|
|
1016
|
-
null
|
|
1017
|
-
);
|
|
1018
|
-
const Rt = Kt.exports;
|
|
1019
|
-
const It = {
|
|
1020
|
-
props: {
|
|
1021
|
-
develop: {
|
|
1022
|
-
type: [Number, String],
|
|
1023
|
-
default: 1
|
|
1024
|
-
},
|
|
1025
|
-
color: {
|
|
1026
|
-
type: Array,
|
|
1027
|
-
default: () => []
|
|
1028
|
-
},
|
|
1029
|
-
options: {
|
|
1030
|
-
type: Object,
|
|
1031
|
-
default: () => ({})
|
|
1032
|
-
}
|
|
1033
|
-
},
|
|
1034
|
-
data() {
|
|
1035
|
-
return {};
|
|
1036
|
-
},
|
|
1037
|
-
methods: {
|
|
1038
|
-
init(t) {
|
|
1039
|
-
let e = D.init(this.$refs.container), o = this.getOption(t);
|
|
1040
|
-
e.clear(), e.dispose(), e = D.init(this.$refs.container), e.setOption(o), e.on("click", (i) => {
|
|
1041
|
-
this.$emit("change", i);
|
|
1042
|
-
});
|
|
1043
|
-
},
|
|
1044
|
-
getOption(t) {
|
|
1045
|
-
let e = [], o = [], i = [], n = [];
|
|
1046
|
-
const s = this.options.areaStyleStack ? { boundaryGap: !1 } : {};
|
|
1047
|
-
t.columns.forEach((c) => {
|
|
1048
|
-
e.push(
|
|
1049
|
-
Object.assign(
|
|
1050
|
-
{
|
|
1051
|
-
type: "category",
|
|
1052
|
-
data: c.data,
|
|
1053
|
-
axisPointer: {
|
|
1054
|
-
type: "line"
|
|
1055
|
-
},
|
|
1056
|
-
axisTick: {
|
|
1057
|
-
alignWithLabel: !0
|
|
1058
|
-
},
|
|
1059
|
-
axisLabel: {
|
|
1060
|
-
interval: 0,
|
|
1061
|
-
rotate: this.options.labelRotate,
|
|
1062
|
-
fontSize: this.options.labelFontSize,
|
|
1063
|
-
color: this.options.xAxisLabelColor
|
|
1064
|
-
}
|
|
1065
|
-
},
|
|
1066
|
-
s
|
|
1067
|
-
)
|
|
1068
|
-
);
|
|
1069
|
-
}), this.options.labelShow, this.options.labelTextPosition, this.options.textFontSize, this.options.textFontColor, t.data.forEach((c, f) => {
|
|
1070
|
-
let u = {
|
|
1071
|
-
type: "value",
|
|
1072
|
-
axisLine: {
|
|
1073
|
-
show: !0,
|
|
1074
|
-
lineStyle: {
|
|
1075
|
-
color: this.options.labelLineColor
|
|
1076
|
-
}
|
|
1077
|
-
},
|
|
1078
|
-
axisLabel: {
|
|
1079
|
-
formatter: "{value}",
|
|
1080
|
-
color: this.options.labelFontColor
|
|
1081
|
-
}
|
|
1082
|
-
}, g = this.$i18nt(c.item.transKey, c.item.name);
|
|
1083
|
-
c.item.transkeyDict && (g += ` (${this.$i18nt(c.item.transkeyDict, c.item.transkeyName)})`), t.data.length !== 1 && (n.push(g), Object.assign(u, {
|
|
1084
|
-
name: g,
|
|
1085
|
-
position: f === 0 ? "left" : "right",
|
|
1086
|
-
alignTicks: !0,
|
|
1087
|
-
show: f < 2
|
|
1088
|
-
})), o.push(u);
|
|
1089
|
-
let r = this.options.overlayStack ? { stack: "Total" } : {};
|
|
1090
|
-
this.options.areaStyleStack && Object.assign(r, { areaStyle: {} }), i.push(
|
|
1091
|
-
Object.assign(
|
|
1092
|
-
{
|
|
1093
|
-
emphasis: {
|
|
1094
|
-
focus: this.options.emphasisFocus
|
|
1095
|
-
},
|
|
1096
|
-
type: c.type,
|
|
1097
|
-
name: g,
|
|
1098
|
-
data: c.data.map((m) => B(m, this.options.numericalPrecision).toFixed(this.options.numericalPrecision)),
|
|
1099
|
-
smooth: this.options.smooth,
|
|
1100
|
-
showSymbol: this.options.showSymbol,
|
|
1101
|
-
lineStyle: {
|
|
1102
|
-
width: this.options.lineStyleWidth
|
|
1103
|
-
},
|
|
1104
|
-
normal: {
|
|
1105
|
-
label: {
|
|
1106
|
-
show: this.options.labelShow,
|
|
1107
|
-
position: this.options.labelTextPosition,
|
|
1108
|
-
textStyle: {
|
|
1109
|
-
fontSize: this.options.textFontSize,
|
|
1110
|
-
color: this.options.textFontColor
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
}
|
|
1114
|
-
},
|
|
1115
|
-
r
|
|
1116
|
-
)
|
|
1117
|
-
);
|
|
1118
|
-
});
|
|
1119
|
-
let l = {
|
|
1120
|
-
containLabel: !0
|
|
1121
|
-
};
|
|
1122
|
-
this.options.gridPosition.forEach((c, f) => {
|
|
1123
|
-
c !== "" && f === 0 ? Object.assign(l, { top: c }) : c !== "" && f === 1 ? Object.assign(l, { right: c }) : c !== "" && f === 2 ? Object.assign(l, { bottom: c }) : c !== "" && f === 3 && Object.assign(l, { left: c });
|
|
1124
|
-
});
|
|
1125
|
-
let p = {
|
|
1126
|
-
data: n,
|
|
1127
|
-
type: "scroll",
|
|
1128
|
-
textStyle: {
|
|
1129
|
-
color: this.options.legendTextColor
|
|
1130
|
-
},
|
|
1131
|
-
orient: this.options.legendOrient
|
|
1132
|
-
};
|
|
1133
|
-
return this.options.legendPosition.forEach((c, f) => {
|
|
1134
|
-
c !== "" && f === 0 ? Object.assign(p, { top: c }) : c !== "" && f === 1 ? Object.assign(p, { right: c }) : c !== "" && f === 2 ? Object.assign(p, { bottom: c }) : c !== "" && f === 3 && Object.assign(p, { left: c });
|
|
1135
|
-
}), {
|
|
1136
|
-
color: this.color,
|
|
1137
|
-
tooltip: {
|
|
1138
|
-
trigger: "axis",
|
|
1139
|
-
axisPointer: {
|
|
1140
|
-
type: "cross"
|
|
1141
|
-
}
|
|
1142
|
-
},
|
|
1143
|
-
grid: l,
|
|
1144
|
-
legend: p,
|
|
1145
|
-
xAxis: e,
|
|
1146
|
-
yAxis: o,
|
|
1147
|
-
series: i
|
|
1148
|
-
};
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1151
|
-
};
|
|
1152
|
-
var Wt = function() {
|
|
1153
|
-
var e = this, o = e._self._c;
|
|
1154
|
-
return o("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
1155
|
-
}, Bt = [], qt = /* @__PURE__ */ M(
|
|
1156
|
-
It,
|
|
1157
|
-
Wt,
|
|
1158
|
-
Bt,
|
|
1159
|
-
!1,
|
|
1160
|
-
null,
|
|
1161
|
-
"1e3a2a03",
|
|
1162
|
-
null,
|
|
1163
|
-
null
|
|
1164
|
-
);
|
|
1165
|
-
const Ht = qt.exports;
|
|
1166
|
-
const Ut = {
|
|
1167
|
-
props: {
|
|
1168
|
-
develop: {
|
|
1169
|
-
type: [Number, String],
|
|
1170
|
-
default: 1
|
|
1171
|
-
},
|
|
1172
|
-
color: {
|
|
1173
|
-
type: Array,
|
|
1174
|
-
default: () => []
|
|
1175
|
-
},
|
|
1176
|
-
options: {
|
|
1177
|
-
type: Object,
|
|
1178
|
-
default: () => ({})
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
data() {
|
|
1182
|
-
return {};
|
|
1183
|
-
},
|
|
1184
|
-
methods: {
|
|
1185
|
-
init(t) {
|
|
1186
|
-
let e = D.init(this.$refs.container), o = this.getOption(t);
|
|
1187
|
-
e.clear(), e.dispose(), e = D.init(this.$refs.container), e.setOption(o), e.on("click", (i) => {
|
|
1188
|
-
this.$emit("change", i);
|
|
1189
|
-
});
|
|
1190
|
-
},
|
|
1191
|
-
getOption(t) {
|
|
1192
|
-
let e = [];
|
|
1193
|
-
t.data.forEach((n) => {
|
|
1194
|
-
e.push({
|
|
1195
|
-
type: "pie",
|
|
1196
|
-
radius: ["30%", "58%"],
|
|
1197
|
-
center: ["50%", "50%"],
|
|
1198
|
-
data: n.dataName.map((s) => Object.assign(
|
|
1199
|
-
{ ...s },
|
|
1200
|
-
{ value: B(s.value, this.options.numericalPrecision).toFixed(this.options.numericalPrecision) }
|
|
1201
|
-
)),
|
|
1202
|
-
label: {
|
|
1203
|
-
show: this.options.labelShow,
|
|
1204
|
-
position: this.options.labelTextPosition === "inside" ? "inside" : "outside",
|
|
1205
|
-
textStyle: {
|
|
1206
|
-
fontWeight: 500,
|
|
1207
|
-
color: this.options.textFontColor,
|
|
1208
|
-
fontSize: this.options.textFontSize,
|
|
1209
|
-
lineHeight: 20
|
|
1210
|
-
},
|
|
1211
|
-
formatter: `{b}:\r\r{c}\r
|
|
1212
|
-
({d}%)`
|
|
1213
|
-
},
|
|
1214
|
-
itemStyle: {
|
|
1215
|
-
borderRadius: 2
|
|
1216
|
-
}
|
|
1217
|
-
});
|
|
1218
|
-
});
|
|
1219
|
-
let o = {
|
|
1220
|
-
type: "scroll",
|
|
1221
|
-
data: t.columns[0].data,
|
|
1222
|
-
textStyle: {
|
|
1223
|
-
color: this.options.legendTextColor
|
|
1224
|
-
},
|
|
1225
|
-
orient: this.options.legendOrient
|
|
1226
|
-
};
|
|
1227
|
-
return this.options.legendPosition.forEach((n, s) => {
|
|
1228
|
-
n !== "" && s === 0 ? Object.assign(o, { top: n }) : n !== "" && s === 1 ? Object.assign(o, { right: n }) : n !== "" && s === 2 ? Object.assign(o, { bottom: n }) : n !== "" && s === 3 && Object.assign(o, { left: n });
|
|
1229
|
-
}), {
|
|
1230
|
-
color: this.color,
|
|
1231
|
-
tooltip: {
|
|
1232
|
-
trigger: "item"
|
|
1233
|
-
},
|
|
1234
|
-
legend: o,
|
|
1235
|
-
series: e
|
|
1236
|
-
};
|
|
1237
|
-
}
|
|
1238
|
-
}
|
|
1239
|
-
};
|
|
1240
|
-
var Qt = function() {
|
|
1241
|
-
var e = this, o = e._self._c;
|
|
1242
|
-
return o("div", { ref: "container", staticStyle: { height: "100%", width: "100%" }, attrs: { id: "container" } });
|
|
1243
|
-
}, Xt = [], Jt = /* @__PURE__ */ M(
|
|
1244
|
-
Ut,
|
|
1245
|
-
Qt,
|
|
1246
|
-
Xt,
|
|
1247
|
-
!1,
|
|
1248
|
-
null,
|
|
1249
|
-
"0898e464",
|
|
1250
|
-
null,
|
|
1251
|
-
null
|
|
1252
|
-
);
|
|
1253
|
-
const Zt = Jt.exports;
|
|
1254
|
-
const Yt = {
|
|
1255
|
-
props: {
|
|
1256
|
-
color: {
|
|
1257
|
-
type: Array,
|
|
1258
|
-
default: () => []
|
|
1259
|
-
},
|
|
1260
|
-
options: {
|
|
1261
|
-
type: Object,
|
|
1262
|
-
default: () => ({})
|
|
1263
|
-
},
|
|
1264
|
-
componentItem: {
|
|
1265
|
-
type: Object,
|
|
1266
|
-
default: () => ({})
|
|
1267
|
-
},
|
|
1268
|
-
ruleList: {
|
|
1269
|
-
type: Array,
|
|
1270
|
-
default: () => []
|
|
1271
|
-
},
|
|
1272
|
-
bjstyle: {
|
|
1273
|
-
type: String,
|
|
1274
|
-
default: ""
|
|
1275
|
-
}
|
|
1276
|
-
},
|
|
1277
|
-
data() {
|
|
1278
|
-
return {
|
|
1279
|
-
record: {},
|
|
1280
|
-
width: "80%",
|
|
1281
|
-
confirmLoading: !1,
|
|
1282
|
-
visible: !1,
|
|
1283
|
-
fullscreen: !1
|
|
1284
|
-
};
|
|
1285
|
-
},
|
|
1286
|
-
methods: {
|
|
1287
|
-
open(t) {
|
|
1288
|
-
this.visible = !0, this.record = { ...t }, this.$nextTick(() => {
|
|
1289
|
-
setTimeout(() => {
|
|
1290
|
-
this.$refs.componentItem.init(this.record), this.spinning = !1;
|
|
1291
|
-
}, 0);
|
|
1292
|
-
});
|
|
1293
|
-
},
|
|
1294
|
-
toggleFullscreen() {
|
|
1295
|
-
this.fullscreen = !this.fullscreen, this.$nextTick(() => {
|
|
1296
|
-
setTimeout(() => {
|
|
1297
|
-
this.$refs.componentItem.init(this.record);
|
|
1298
|
-
}, 0);
|
|
1299
|
-
});
|
|
1300
|
-
},
|
|
1301
|
-
doEvent(t) {
|
|
1302
|
-
let e = t.item.functionName;
|
|
1303
|
-
this[e] && this[e]();
|
|
1304
|
-
},
|
|
1305
|
-
closed() {
|
|
1306
|
-
this.fullscreen = !1, this.visible = !1;
|
|
1307
|
-
}
|
|
1308
|
-
}
|
|
1309
|
-
};
|
|
1310
|
-
var te = function() {
|
|
1311
|
-
var e = this, o = e._self._c;
|
|
1312
|
-
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 }, on: { "update:visible": function(i) {
|
|
1313
|
-
e.visible = i;
|
|
1314
|
-
}, 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);
|
|
1315
|
-
}, ee = [], oe = /* @__PURE__ */ M(
|
|
1316
|
-
Yt,
|
|
1317
|
-
te,
|
|
1318
|
-
ee,
|
|
1319
|
-
!1,
|
|
1320
|
-
null,
|
|
1321
|
-
"9f0d9ef8",
|
|
1322
|
-
null,
|
|
1323
|
-
null
|
|
1324
|
-
);
|
|
1325
|
-
const ie = oe.exports;
|
|
1326
|
-
const ne = {
|
|
1327
|
-
name: "GdChartBi",
|
|
1328
|
-
props: {
|
|
1329
|
-
develop: {
|
|
1330
|
-
type: [Number, String],
|
|
1331
|
-
default: 1
|
|
1332
|
-
},
|
|
1333
|
-
showTitle: {
|
|
1334
|
-
type: Boolean,
|
|
1335
|
-
default: !0
|
|
1336
|
-
},
|
|
1337
|
-
color: {
|
|
1338
|
-
type: Array,
|
|
1339
|
-
default: () => []
|
|
1340
|
-
},
|
|
1341
|
-
left: {
|
|
1342
|
-
type: [Number, String],
|
|
1343
|
-
default: 10
|
|
1344
|
-
},
|
|
1345
|
-
bjstyle: {
|
|
1346
|
-
type: String,
|
|
1347
|
-
default: ""
|
|
1348
|
-
}
|
|
1349
|
-
},
|
|
1350
|
-
data() {
|
|
1351
|
-
return {
|
|
1352
|
-
record: {},
|
|
1353
|
-
optionData: {},
|
|
1354
|
-
spinning: !0,
|
|
1355
|
-
type: "none",
|
|
1356
|
-
empty: !1,
|
|
1357
|
-
offsetCaudex: 0
|
|
1358
|
-
};
|
|
1359
|
-
},
|
|
1360
|
-
components: { AmplifyEchart: ie },
|
|
1361
|
-
computed: {
|
|
1362
|
-
echartsMode() {
|
|
1363
|
-
return this.getDictionary("table_echarts_mode");
|
|
1364
|
-
},
|
|
1365
|
-
ruleList() {
|
|
1366
|
-
return (this.record.config && this.record.config.series ? this.record.config.series : []).filter((e) => e.ruleOpen);
|
|
1367
|
-
},
|
|
1368
|
-
options() {
|
|
1369
|
-
let t = this.record.options || {};
|
|
1370
|
-
return Object.assign(
|
|
1371
|
-
{ ...t },
|
|
1372
|
-
{
|
|
1373
|
-
labelTextPosition: t.labelTextPosition ? t.labelTextPosition : "top",
|
|
1374
|
-
legendPosition: t.legendPosition ? t.legendPosition : ["", "", "", ""],
|
|
1375
|
-
gridPosition: t.gridPosition ? t.gridPosition : ["60", "4%", "3%", "3%"],
|
|
1376
|
-
overlayStack: t.overlayStack !== void 0 ? t.overlayStack : !1,
|
|
1377
|
-
areaStyleStack: t.areaStyleStack !== void 0 ? t.areaStyleStack : !1,
|
|
1378
|
-
legendShow: t.legendShow !== void 0 ? t.legendShow : !0,
|
|
1379
|
-
labelFontColor: t.labelFontColor ? t.labelFontColor : "#333",
|
|
1380
|
-
textFontColor: t.textFontColor ? t.textFontColor : "#333",
|
|
1381
|
-
textFontSize: t.textFontSize ? t.textFontSize : 14,
|
|
1382
|
-
legendOrient: t.legendOrient ? t.legendOrient : "horizontal",
|
|
1383
|
-
legendTextColor: t.legendTextColor ? t.legendTextColor : "#333",
|
|
1384
|
-
xAxisLabelColor: t.xAxisLabelColor ? t.xAxisLabelColor : "#333",
|
|
1385
|
-
labelLineColor: t.labelLineColor ? t.labelLineColor : "#333",
|
|
1386
|
-
emphasisFocus: t.emphasisFocus ? t.emphasisFocus : "series",
|
|
1387
|
-
lineStyleWidth: t.lineStyleWidth !== void 0 ? t.lineStyleWidth : 1,
|
|
1388
|
-
numericalPrecision: t.numericalPrecision !== void 0 ? t.numericalPrecision : 2,
|
|
1389
|
-
numericalSummary: t.numericalSummary !== void 0 ? t.numericalSummary : !1
|
|
1390
|
-
}
|
|
1391
|
-
);
|
|
1392
|
-
},
|
|
1393
|
-
componentItem() {
|
|
1394
|
-
const e = [
|
|
1395
|
-
{ type: "bar", data: tt },
|
|
1396
|
-
{ type: "pie", data: Zt },
|
|
1397
|
-
{ type: "funnel", data: Rt },
|
|
1398
|
-
{ type: "line", data: Ht }
|
|
1399
|
-
].filter((o) => o.type === this.type)[0];
|
|
1400
|
-
return e ? e.data : tt;
|
|
1401
|
-
},
|
|
1402
|
-
getColor() {
|
|
1403
|
-
let t = [];
|
|
1404
|
-
return (this.color.length === 0 ? this.echartsColor : this.color).forEach((o) => {
|
|
1405
|
-
t.push(o === "0" ? this.primaryColor : o);
|
|
1406
|
-
}), t;
|
|
1407
|
-
},
|
|
1408
|
-
...Et(["echartsColor", "primaryColor", "language"])
|
|
1409
|
-
},
|
|
1410
|
-
methods: {
|
|
1411
|
-
amplify() {
|
|
1412
|
-
this.$nextTick(() => {
|
|
1413
|
-
setTimeout(() => {
|
|
1414
|
-
this.$refs.amplifyEchart.open(this.optionData);
|
|
1415
|
-
}, 0);
|
|
1416
|
-
});
|
|
1417
|
-
},
|
|
1418
|
-
setType() {
|
|
1419
|
-
this.spinning = !1, this.type = "none";
|
|
1420
|
-
},
|
|
1421
|
-
change(t) {
|
|
1422
|
-
this.$emit("change", { params: t, option: this.optionData, record: this.record });
|
|
1423
|
-
},
|
|
1424
|
-
assembly() {
|
|
1425
|
-
const t = this.optionData.data.filter((e) => e.type === "bar")[0];
|
|
1426
|
-
this.type = t ? t.type : this.optionData.data[0].type, this.$nextTick(() => {
|
|
1427
|
-
setTimeout(() => {
|
|
1428
|
-
this.$refs.componentItem.init(this.optionData), this.spinning = !1;
|
|
1429
|
-
}, 0);
|
|
1430
|
-
});
|
|
1431
|
-
},
|
|
1432
|
-
handleUniaxial({ config: t, data: e, categorydata: o }) {
|
|
1433
|
-
const i = t.series ? t.series : [], n = t.categories ? t.categories : [], s = t.stackList ? t.stackList : [];
|
|
1434
|
-
if (i.length === 0 || n.length === 0)
|
|
1435
|
-
return;
|
|
1436
|
-
const l = s[0] ? s[0].uuid : "", p = l !== "" ? l : n[0].uuid, a = i.filter((d) => d.type === "1")[0];
|
|
1437
|
-
a ? a.type : i[0].type;
|
|
1438
|
-
const c = s.filter((d) => d.dictTypeCode)[0], f = n.filter((d) => d.dictTypeCode)[0], u = l !== "" ? c : f, g = u ? this.getDictionary(u.dictTypeCode) : [];
|
|
1439
|
-
let r = [], m = [];
|
|
1440
|
-
if (i.forEach((d, y) => {
|
|
1441
|
-
let b = [], v = [], x = [];
|
|
1442
|
-
e.forEach((S) => {
|
|
1443
|
-
const j = S[p], C = S[d.uuid], _ = this.getVal({ item: l !== "" ? s[0] : n[0], ite: j, data: e, dict: g });
|
|
1444
|
-
b.push(C), v.push({
|
|
1445
|
-
value: C,
|
|
1446
|
-
name: _
|
|
1447
|
-
}), y === 0 && x.push(_ || this.$i18nt("gd.echarts.none", "\u7A7A\u767D"));
|
|
1448
|
-
}), x.length > 0 && r.push({ data: x });
|
|
1449
|
-
let O = {}, k = "";
|
|
1450
|
-
d.ruleOpen && d.ruleFormatter.formatter && d.ruleFormatter.formatter !== "none" && (k = d.ruleFormatter.formatter === "percent" ? "%" : "\u2030", Object.assign(O, {
|
|
1451
|
-
formatter: k
|
|
1452
|
-
})), d.ruleOpen && d.ruleFormatter.openPrefix && d.ruleFormatter.transKeyPrefix && Object.assign(O, {
|
|
1453
|
-
prefix: d.ruleFormatter.prefix,
|
|
1454
|
-
transKeyPrefix: d.ruleFormatter.transKeyPrefix
|
|
1455
|
-
});
|
|
1456
|
-
const T = this.getBei(O.formatter);
|
|
1457
|
-
d.ruleOpen && d.ruleFormatter.min !== void 0 && d.ruleFormatter.min !== "" && Object.assign(O, {
|
|
1458
|
-
min: d.ruleFormatter.min * T
|
|
1459
|
-
}), d.ruleOpen && d.ruleFormatter.max !== void 0 && d.ruleFormatter.max !== "" && Object.assign(O, {
|
|
1460
|
-
max: d.ruleFormatter.max * T
|
|
1461
|
-
});
|
|
1462
|
-
const h = this.echartsMode.filter((S) => S.code == d.mode)[0];
|
|
1463
|
-
m.push(
|
|
1464
|
-
Object.assign(
|
|
1465
|
-
{
|
|
1466
|
-
data: b,
|
|
1467
|
-
dataName: v,
|
|
1468
|
-
type: this.getChartType(d.type),
|
|
1469
|
-
item: Object.assign(
|
|
1470
|
-
{ ...d },
|
|
1471
|
-
{
|
|
1472
|
-
transKey: `Dynamics.${d.transKey}`,
|
|
1473
|
-
transkeyDict: h ? h.transkey : null,
|
|
1474
|
-
transkeyName: h ? h.name : ""
|
|
1475
|
-
}
|
|
1476
|
-
),
|
|
1477
|
-
bei: T,
|
|
1478
|
-
tooltip: !0,
|
|
1479
|
-
columnName: d.columnName,
|
|
1480
|
-
mode: d.mode
|
|
1481
|
-
},
|
|
1482
|
-
O
|
|
1483
|
-
)
|
|
1484
|
-
);
|
|
1485
|
-
}), l !== "") {
|
|
1486
|
-
let d = [];
|
|
1487
|
-
o[n[0].uuid].forEach((y) => {
|
|
1488
|
-
const b = f ? this.getDictionary(f.dictTypeCode) : [], v = this.getVal({ item: n[0], ite: y, data: e, dict: b });
|
|
1489
|
-
d.push(v || this.$i18nt("gd.echarts.none", "\u7A7A\u767D"));
|
|
1490
|
-
}), r[0] = Object.assign(
|
|
1491
|
-
{ ...r[0] },
|
|
1492
|
-
{
|
|
1493
|
-
rotate: s[0].labelRotate,
|
|
1494
|
-
fontSize: s[0].labelFontSize,
|
|
1495
|
-
color: s[0].xAxisLabelColor,
|
|
1496
|
-
offset: s[0].offset,
|
|
1497
|
-
position: s[0].position
|
|
1498
|
-
}
|
|
1499
|
-
), r.push({ data: d, offset: s[0].offsetCaudex, position: "bottom" });
|
|
1500
|
-
}
|
|
1501
|
-
this.optionData = { columns: r, data: m, series: m, type: 1 }, this.assembly();
|
|
1502
|
-
},
|
|
1503
|
-
handleMultiaxis({ config: t, data: e, categorydata: o }) {
|
|
1504
|
-
const i = t.series ? t.series : [], n = t.categories ? t.categories : [], s = t.stackList ? t.stackList : [];
|
|
1505
|
-
if (i.length === 0 || n.length === 0)
|
|
1506
|
-
return;
|
|
1507
|
-
let l = [], p = [], a = [], c = [], f = { item: { transKey: i[0].transKey, name: i[0].name } };
|
|
1508
|
-
const u = this.ruleList[0];
|
|
1509
|
-
let g = "";
|
|
1510
|
-
u && u.ruleOpen && u.ruleFormatter.formatter && u.ruleFormatter.formatter !== "none" && (g = u.ruleFormatter.formatter === "percent" ? "%" : "\u2030", Object.assign(f, {
|
|
1511
|
-
formatter: g
|
|
1512
|
-
})), u && u.ruleFormatter.openPrefix && u.ruleFormatter.transKeyPrefix && Object.assign(f, {
|
|
1513
|
-
prefix: u.ruleFormatter.prefix,
|
|
1514
|
-
transKeyPrefix: `Dynamics.${u.ruleFormatter.transKeyPrefix}`
|
|
1515
|
-
});
|
|
1516
|
-
let r = {};
|
|
1517
|
-
const m = this.getBei(f.formatter);
|
|
1518
|
-
u && u.ruleOpen && u.ruleFormatter.min !== void 0 && u.ruleFormatter.min !== "" && Object.assign(r, {
|
|
1519
|
-
min: u.ruleFormatter.min * m
|
|
1520
|
-
}), u && u.ruleOpen && u.ruleFormatter.max !== void 0 && u.ruleFormatter.max !== "" && Object.assign(r, {
|
|
1521
|
-
max: u.ruleFormatter.max * m
|
|
1522
|
-
});
|
|
1523
|
-
const d = [Object.assign(f, r, { type: "bar" })];
|
|
1524
|
-
n.forEach((h, S) => {
|
|
1525
|
-
const j = o[h.uuid] ? o[h.uuid] : [], C = j.map((_) => {
|
|
1526
|
-
const F = h.dictTypeCode ? this.getDictionary(h.dictTypeCode) : [];
|
|
1527
|
-
return _ ? this.getVal({ item: h, ite: _, data: e, dict: F }) : this.$i18nt("gd.echarts.none", "\u7A7A\u767D");
|
|
1528
|
-
});
|
|
1529
|
-
C.length > 0 && a.push({
|
|
1530
|
-
data: j,
|
|
1531
|
-
mode: h.mode,
|
|
1532
|
-
effectType: h.effectType,
|
|
1533
|
-
dictTypeCode: h.dictTypeCode,
|
|
1534
|
-
uuid: h.uuid
|
|
1535
|
-
}), S === 0 && l.push({ data: C, offset: 0, position: "bottom" });
|
|
1536
|
-
}), s.forEach((h, S) => {
|
|
1537
|
-
const j = o[h.uuid] ? o[h.uuid] : [];
|
|
1538
|
-
j.map((C) => {
|
|
1539
|
-
const _ = h.dictTypeCode ? this.getDictionary(h.dictTypeCode) : [];
|
|
1540
|
-
return C ? this.getVal({ item: h, ite: C, data: e, dict: _ }) : this.$i18nt("gd.echarts.none", "\u7A7A\u767D");
|
|
1541
|
-
}), c.push({
|
|
1542
|
-
data: j,
|
|
1543
|
-
mode: h.mode,
|
|
1544
|
-
effectType: h.effectType,
|
|
1545
|
-
dictTypeCode: h.dictTypeCode,
|
|
1546
|
-
uuid: h.uuid,
|
|
1547
|
-
offset: h.offset,
|
|
1548
|
-
offsetCaudex: h.offsetCaudex,
|
|
1549
|
-
labelRotate: h.labelRotate,
|
|
1550
|
-
labelFontSize: h.labelFontSize,
|
|
1551
|
-
xAxisLabelColor: h.xAxisLabelColor,
|
|
1552
|
-
position: h.position
|
|
1553
|
-
});
|
|
1554
|
-
});
|
|
1555
|
-
let y = [];
|
|
1556
|
-
const b = i[0].uuid, v = this.getChartType(i[0].type);
|
|
1557
|
-
if (e.forEach((h) => {
|
|
1558
|
-
const S = this.getDataName(h, n.concat(s), b);
|
|
1559
|
-
y.push(S);
|
|
1560
|
-
}), a[1] === void 0) {
|
|
1561
|
-
this.spinning = !1, this.develop === 2 && this.$message.error(this.$i18nt("gd.msg.temPlate.dataError", "\u6570\u636E\u9519\u8BEF"));
|
|
1562
|
-
return;
|
|
1563
|
-
}
|
|
1564
|
-
for (let h = 0; h < a[1].data.length; h++) {
|
|
1565
|
-
let S = [], j = [];
|
|
1566
|
-
for (let _ = 0; _ < a[0].data.length; _++) {
|
|
1567
|
-
const F = a[0].data[_] + "" + a[1].data[h], z = y.filter((ut) => ut.name === F)[0];
|
|
1568
|
-
j.push(F), S.push(z ? z.val : 0);
|
|
1569
|
-
}
|
|
1570
|
-
let C = a[1].data[h] === null || a[1].data[h] === "" ? { transKey: "gd.echarts.none", name: "\u7A7A\u767D" } : { transKey: null, name: a[1].data[h] + "" };
|
|
1571
|
-
if (a[1].dictTypeCode) {
|
|
1572
|
-
const F = this.getDictionary(a[1].dictTypeCode).filter((z) => z.code == a[1].data[h])[0];
|
|
1573
|
-
Object.assign(C, F ? { transKey: F.transkey, name: F.name } : {});
|
|
1574
|
-
} else if (a[1].effectType === "datepicker") {
|
|
1575
|
-
const _ = this.getVal({ item: a[1], ite: a[1].data[h], data: e, dict: [] });
|
|
1576
|
-
Object.assign(C, _ ? { transKey: null, name: _ } : {});
|
|
1577
|
-
} else if (["fk", "user", "about"].includes(a[1].effectType)) {
|
|
1578
|
-
const _ = this.getVal({ item: a[1], ite: a[1].data[h], data: e, dict: [] });
|
|
1579
|
-
Object.assign(C, _ ? { transKey: null, name: _ } : {});
|
|
1580
|
-
}
|
|
1581
|
-
p.push({
|
|
1582
|
-
data: S,
|
|
1583
|
-
dataName: [],
|
|
1584
|
-
type: v,
|
|
1585
|
-
item: C,
|
|
1586
|
-
tooltip: !0,
|
|
1587
|
-
ruleOpen: !0,
|
|
1588
|
-
columnName: i[0].columnName,
|
|
1589
|
-
mode: i[0].mode,
|
|
1590
|
-
bei: m,
|
|
1591
|
-
formatter: g,
|
|
1592
|
-
combination: j,
|
|
1593
|
-
prefix: f.prefix !== void 0 ? f.prefix : "",
|
|
1594
|
-
transKeyPrefix: f.transKeyPrefix !== void 0 ? f.transKeyPrefix : null
|
|
1595
|
-
});
|
|
1596
|
-
}
|
|
1597
|
-
if (this.options.overlayStack && c.length > 0) {
|
|
1598
|
-
const h = this.multiaxisStack(p, y, c, e);
|
|
1599
|
-
p = h.columnsData, l[0].offset = h.offset, l.push(h.xAxis), l.reverse();
|
|
1600
|
-
}
|
|
1601
|
-
const x = p.filter((h) => h.item.transKey !== "gd.echarts.none"), O = p.filter((h) => h.item.transKey === "gd.echarts.none"), k = x.concat(O), T = this.options.overlayLineChart && v === "bar" ? k.map((h) => Object.assign(
|
|
1602
|
-
{ ...h },
|
|
1603
|
-
{
|
|
1604
|
-
type: v === "bar" ? "line" : "bar",
|
|
1605
|
-
tooltip: !1,
|
|
1606
|
-
ruleOpen: !1,
|
|
1607
|
-
columnName: "",
|
|
1608
|
-
formatter: ""
|
|
1609
|
-
}
|
|
1610
|
-
)) : [];
|
|
1611
|
-
this.optionData = { columns: l, data: d, series: k.concat(T), type: 2 }, this.assembly();
|
|
1612
|
-
},
|
|
1613
|
-
multiaxisStack(t, e, o, i) {
|
|
1614
|
-
const n = o[0].data, s = o[0].dictTypeCode, l = s ? this.getDictionary(s) : [], p = o[0];
|
|
1615
|
-
let a = [], c = [];
|
|
1616
|
-
n.forEach((r) => {
|
|
1617
|
-
const m = this.getVal({ item: o[0], ite: r, data: i, dict: l });
|
|
1618
|
-
a.push({ name: m, id: r }), c.push(m);
|
|
1619
|
-
});
|
|
1620
|
-
let f = [];
|
|
1621
|
-
for (let r = 0; r < t[0].data.length; r++)
|
|
1622
|
-
f = f.concat(c);
|
|
1623
|
-
let u = [];
|
|
1624
|
-
const g = pt(8);
|
|
1625
|
-
for (let r = 0; r < t.length; r++) {
|
|
1626
|
-
let m = [], d = [];
|
|
1627
|
-
for (let y = 0; y < t[r].combination.length; y++)
|
|
1628
|
-
for (let b = 0; b < n.length; b++) {
|
|
1629
|
-
d.push(t[r].combination[y] + n[b]);
|
|
1630
|
-
const v = t[r].combination[y] + n[b], x = e.filter((O) => O.name === v)[0];
|
|
1631
|
-
m.push(x ? x.val : 0);
|
|
1632
|
-
}
|
|
1633
|
-
u.push(Object.assign({ ...t[r] }, { stack: g, data: m }));
|
|
1634
|
-
}
|
|
1635
|
-
return {
|
|
1636
|
-
columnsData: u,
|
|
1637
|
-
stackName: a,
|
|
1638
|
-
offset: p.offsetCaudex,
|
|
1639
|
-
xAxis: {
|
|
1640
|
-
data: f,
|
|
1641
|
-
rotate: p.labelRotate,
|
|
1642
|
-
fontSize: p.labelFontSize,
|
|
1643
|
-
color: p.xAxisLabelColor,
|
|
1644
|
-
offset: p.offset,
|
|
1645
|
-
position: p.position
|
|
1646
|
-
}
|
|
1647
|
-
};
|
|
1648
|
-
},
|
|
1649
|
-
init(t) {
|
|
1650
|
-
if (this.record = t, t.data.length === 0)
|
|
1651
|
-
return this.empty = !0, this.spinning = !1, !1;
|
|
1652
|
-
this.empty = !1, (t.config && t.config.categories ? t.config.categories : []).length <= 1 ? this.handleUniaxial(t) : this.handleMultiaxis(t);
|
|
1653
|
-
},
|
|
1654
|
-
getBei(t) {
|
|
1655
|
-
return t === void 0 ? 1 : t === "%" ? 100 : 1e3;
|
|
1656
|
-
},
|
|
1657
|
-
getVal({ item: t, ite: e, data: o, dict: i }) {
|
|
1658
|
-
let n = e;
|
|
1659
|
-
const s = i.filter((l) => l.code == e)[0];
|
|
1660
|
-
if (t.dictTypeCode && s)
|
|
1661
|
-
n = this.$i18nt(`Dynamics.${s.transkey}`, s.name);
|
|
1662
|
-
else if (t.effectType === "datepicker")
|
|
1663
|
-
n = this.getFormatTime(t.mode, e);
|
|
1664
|
-
else if (["fk", "user", "about"].includes(t.effectType)) {
|
|
1665
|
-
const l = o.filter((p) => p[t.uuid] == e)[0];
|
|
1666
|
-
n = l && l[`${t.uuid}_name`] ? l[`${t.uuid}_name`] : n;
|
|
1667
|
-
}
|
|
1668
|
-
return n;
|
|
1669
|
-
},
|
|
1670
|
-
getDataName(t, e, o) {
|
|
1671
|
-
let i = "";
|
|
1672
|
-
return e.forEach((n) => {
|
|
1673
|
-
i += String(t[n.uuid]);
|
|
1674
|
-
}), { val: t[o], name: i };
|
|
1675
|
-
},
|
|
1676
|
-
getChartType(t) {
|
|
1677
|
-
switch (t) {
|
|
1678
|
-
case "1":
|
|
1679
|
-
return "bar";
|
|
1680
|
-
case "2":
|
|
1681
|
-
return "pie";
|
|
1682
|
-
case "3":
|
|
1683
|
-
return "funnel";
|
|
1684
|
-
case "4":
|
|
1685
|
-
return "line";
|
|
1686
|
-
default:
|
|
1687
|
-
return "bar";
|
|
1688
|
-
}
|
|
1689
|
-
},
|
|
1690
|
-
getDictionary(t) {
|
|
1691
|
-
return this.$options.filters.dictData(t);
|
|
1692
|
-
},
|
|
1693
|
-
getFormatTime(t, e) {
|
|
1694
|
-
if (["1", "3", "5"].includes(t)) {
|
|
1695
|
-
const o = t === "5" ? "yyyy" : t === "3" ? "yyyy-MM" : "yyyy-MM-dd";
|
|
1696
|
-
return this.$options.filters.formatTime(e, o);
|
|
1697
|
-
} else if (t === "2") {
|
|
1698
|
-
const o = e.split("-"), i = { year: o[0], week: o[1] }, n = this.$i18nt("gd.echarts.yearWeek"), s = this.$i18nt("gd.echarts.weekMode");
|
|
1699
|
-
return this.language === "zh_CN" ? `${i.year}${n}${i.week}${s}` : `${s} ${i.week} ${n} ${i.year}`;
|
|
1700
|
-
} else if (t === "4") {
|
|
1701
|
-
const o = e.split("-"), i = { year: o[0], quarter: o[1] }, n = this.$i18nt("gd.echarts.yearQuarter"), s = this.$i18nt("gd.echarts.quarterMode");
|
|
1702
|
-
return this.language === "zh_CN" ? `${i.year}${n}${i.quarter}${s}` : `${s}${i.quarter} ${n} ${i.year}`;
|
|
1703
|
-
}
|
|
1704
|
-
}
|
|
1705
|
-
}
|
|
1706
|
-
};
|
|
1707
|
-
var re = function() {
|
|
1708
|
-
var e = this, o = e._self._c;
|
|
1709
|
-
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);
|
|
1710
|
-
}, se = [], ae = /* @__PURE__ */ M(
|
|
1711
|
-
ne,
|
|
1712
|
-
re,
|
|
1713
|
-
se,
|
|
1714
|
-
!1,
|
|
1715
|
-
null,
|
|
1716
|
-
"2a8668d6",
|
|
1717
|
-
null,
|
|
1718
|
-
null
|
|
1719
|
-
);
|
|
1720
|
-
const I = ae.exports;
|
|
1721
|
-
I.install = function(t) {
|
|
1722
|
-
t.component(I.name, I);
|
|
1723
|
-
};
|
|
1724
|
-
export {
|
|
1725
|
-
I as G,
|
|
1726
|
-
ue as a,
|
|
1727
|
-
Et as m,
|
|
1728
|
-
M as n
|
|
1729
|
-
};
|