gds-plus-design-vue 1.2.6 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/approvalModel.a26e8ff6.mjs +340 -0
- package/lib/approvalModel.cfd81971.js +1 -0
- package/lib/btnFunctionName.9aabfed0.js +1 -0
- package/lib/btnFunctionName.d08627cb.mjs +254 -0
- package/lib/btnRelation.8e608261.mjs +156 -0
- package/lib/btnRelation.cb3dc022.js +1 -0
- package/lib/businessRules.754cc398.mjs +539 -0
- package/lib/businessRules.f41f7035.js +1 -0
- package/lib/buttonRule.4483314f.mjs +396 -0
- package/lib/buttonRule.645de1d3.js +1 -0
- package/lib/chartDisplayRules.1f4d1f29.mjs +288 -0
- package/lib/chartDisplayRules.fedfefe8.js +1 -0
- package/lib/components.chartbi.470b96af.mjs +1798 -0
- package/lib/components.chartbi.e9459775.js +8 -0
- package/lib/components.coloreditor.affa0400.mjs +1505 -0
- package/lib/components.coloreditor.dbec8da6.js +6 -0
- package/lib/components.dataassign.39281072.mjs +147 -0
- package/lib/components.dataassign.b6a1bffb.js +1 -0
- package/lib/components.echarts.95ffc3b3.mjs +811 -0
- package/lib/components.echarts.d09e9850.js +4 -0
- package/lib/components.exception.11315db5.js +1 -0
- package/lib/components.exception.facf9df9.mjs +61 -0
- package/lib/components.form.56ea8f98.js +41 -0
- package/lib/components.form.a7b3ea37.mjs +7813 -0
- package/lib/components.globalheader.0a7ce959.js +1 -0
- package/lib/components.globalheader.4a5f7225.mjs +54 -0
- package/lib/components.iconselector.0c03cfc7.js +1 -0
- package/lib/components.iconselector.251c29b9.mjs +1169 -0
- package/lib/components.imgpreview.5546e541.mjs +213 -0
- package/lib/components.imgpreview.706a89f0.js +1 -0
- package/lib/components.lunccalendar.5363cba5.mjs +1137 -0
- package/lib/components.lunccalendar.fe7db238.js +1 -0
- package/lib/components.middleware.01601349.js +1 -0
- package/lib/components.middleware.f5f4ac0f.mjs +148 -0
- package/lib/components.modaltitle.5ded43f9.mjs +127 -0
- package/lib/components.modaltitle.cc9ba616.js +1 -0
- package/lib/components.multitab.0f9da9f3.mjs +140 -0
- package/lib/components.multitab.726cff2f.js +1 -0
- package/lib/components.selecttree.1a71c963.mjs +170 -0
- package/lib/components.selecttree.2fadffca.js +1 -0
- package/lib/components.settingdrawer.1af86231.js +1 -0
- package/lib/components.settingdrawer.adc262cf.mjs +237 -0
- package/lib/components.sidemenu.03442146.mjs +277 -0
- package/lib/components.sidemenu.5107c7e3.js +1 -0
- package/lib/components.sidenavmenu.3d255147.mjs +1147 -0
- package/lib/components.sidenavmenu.ef33de39.js +1 -0
- package/lib/components.statuschange.805a751b.mjs +116 -0
- package/lib/components.statuschange.83646c5d.js +1 -0
- package/lib/components.table.61eb5d81.js +8 -0
- package/lib/components.table.c986e58d.mjs +4650 -0
- package/lib/components.tableumy.35b465f9.mjs +453 -0
- package/lib/components.tableumy.eba43953.js +1 -0
- package/lib/components.tablevirtual.14a8dbed.mjs +564 -0
- package/lib/components.tablevirtual.6af04c44.js +1 -0
- package/lib/components.teamsharing.68865424.js +1 -0
- package/lib/components.teamsharing.c4f4f12e.mjs +373 -0
- package/lib/components.tooltip.ccb1717d.mjs +86 -0
- package/lib/components.tooltip.e2e21e66.js +1 -0
- package/lib/components.uploadfile.a0dfedaf.mjs +228 -0
- package/lib/components.uploadfile.e93b500d.js +1 -0
- package/lib/components.uploadimg.3804913e.js +1 -0
- package/lib/components.uploadimg.e49707d9.mjs +192 -0
- package/lib/components.verificationcode.5a9c0220.js +1 -0
- package/lib/components.verificationcode.ead74922.mjs +71 -0
- package/lib/components.viewformdetails.3c1596ad.js +1 -0
- package/lib/components.viewformdetails.98be3c0d.mjs +1081 -0
- package/lib/components.viewloading.5b178ec5.js +1 -0
- package/lib/components.viewloading.cb7917b7.mjs +99 -0
- package/lib/components.watermark.849409ca.js +2 -0
- package/lib/components.watermark.a2521d0c.mjs +53 -0
- package/lib/components.xlsxexport.3405a00b.js +1 -0
- package/lib/components.xlsxexport.871f87d1.mjs +263 -0
- package/lib/components.xlsximport.85ce77cf.mjs +922 -0
- package/lib/components.xlsximport.e3bcb07d.js +1 -0
- package/lib/copy.b09a6d38.js +1 -0
- package/lib/copy.c0a2f16d.mjs +572 -0
- package/lib/dialogLayout.059ee256.mjs +138 -0
- package/lib/dialogLayout.cedf2865.js +1 -0
- package/lib/drawerContainer.38d7b530.mjs +154 -0
- package/lib/drawerContainer.ea7722d7.js +1 -0
- package/lib/drawerLayout.454e4921.js +1 -0
- package/lib/drawerLayout.fad843ee.mjs +119 -0
- package/lib/editForm.c199538f.mjs +434 -0
- package/lib/editForm.f9dc93ef.js +1 -0
- package/lib/flow.designer.4c83c0d3.js +1 -0
- package/lib/flow.designer.9442a995.mjs +7673 -0
- package/lib/flow.list.4a31969e.mjs +3032 -0
- package/lib/flow.list.f41ee531.js +1 -0
- package/lib/form.build.c38bf362.js +1 -0
- package/lib/form.build.fb9f905b.mjs +259 -0
- package/lib/form.designer.build.3fdf8007.js +1 -0
- package/lib/form.designer.build.e1b97dc3.mjs +5135 -0
- package/lib/formFiled.624b8dd3.js +1 -0
- package/lib/formFiled.94fb1dce.mjs +498 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +233 -91087
- package/lib/http.appmanage.9b22ff82.mjs +50 -0
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
- package/lib/http.codegeneratemanage.e3db2f09.js +1 -0
- package/lib/http.configmanage.6cfb8ae7.js +1 -0
- package/lib/http.configmanage.c23c7fa8.mjs +34 -0
- package/lib/http.currencymanage.37ab5ced.js +1 -0
- package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
- package/lib/http.datasource.294b01e2.js +1 -0
- package/lib/http.datasource.aa5cd0d1.mjs +58 -0
- package/lib/http.dictdatamanage.2583b5ae.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
- package/lib/http.duplicatechecking.9b79ce21.mjs +50 -0
- package/lib/http.duplicatechecking.ee5c414c.js +1 -0
- package/lib/http.emailmanage.1ddaa8b5.js +1 -0
- package/lib/http.emailmanage.64fd611f.mjs +18 -0
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.d3a4afd9.mjs +293 -0
- package/lib/http.filemanage.7e6e3e1a.js +1 -0
- package/lib/http.filemanage.c0de21d6.mjs +71 -0
- package/lib/http.languagemanage.2ef16159.mjs +10 -0
- package/lib/http.languagemanage.e2c098ec.js +1 -0
- package/lib/http.loginmanage.05500c29.mjs +74 -0
- package/lib/http.loginmanage.326984c3.js +1 -0
- package/lib/http.logmanage.1e12a9bd.js +1 -0
- package/lib/http.logmanage.8ba72635.mjs +82 -0
- package/lib/http.machinemanage.29d72a65.js +1 -0
- package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
- package/lib/http.main.1af1e119.mjs +517 -0
- package/lib/http.main.2f8a6936.js +1 -0
- package/lib/http.menumanage.09fffb7d.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.1d68e914.mjs +178 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.2cdb23b8.mjs +82 -0
- package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
- package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
- package/lib/http.onlineusermanage.3893f897.js +1 -0
- package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
- package/lib/http.orgmanage.0b1df8d5.mjs +58 -0
- package/lib/http.orgmanage.5162fd7a.js +1 -0
- package/lib/http.pluginmanage.54720675.mjs +82 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/http.rolemanage.da5c40e9.mjs +146 -0
- package/lib/http.solution.b10d9197.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.176d3d06.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.932ba43b.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.7adf4910.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.a9c609d5.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.6e894942.js +1 -0
- package/lib/http.timersmanage.c79afb66.mjs +146 -0
- package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
- package/lib/http.timezonemanage.e0aa212f.js +1 -0
- package/lib/http.translationmanage.1f9dce46.js +1 -0
- package/lib/http.translationmanage.f8694b51.mjs +104 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.usermanage.f5491144.mjs +219 -0
- package/lib/http.webresource.1a1a768f.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- package/lib/index.3fa2dc66.mjs +40154 -0
- package/lib/index.fe757a98.js +8 -0
- package/lib/layoutBlocks.14c77a02.js +1 -0
- package/lib/layoutBlocks.5d71a03b.mjs +401 -0
- package/lib/layouts.a662f681.js +2 -0
- package/lib/layouts.ec4f20a2.mjs +376 -0
- package/lib/main.092a2ac8.js +1 -0
- package/lib/{main.f0045877.mjs → main.15237e71.mjs} +12 -10
- package/lib/main.29769f01.js +1 -0
- package/lib/main.401059c6.mjs +189 -0
- package/lib/main.447be615.js +1 -0
- package/lib/main.4e507685.mjs +231 -0
- package/lib/main.72cafa63.mjs +540 -0
- package/lib/{main.c41228a0.mjs → main.73f22d9e.mjs} +9 -8
- package/lib/main.7601bd3d.mjs +166 -0
- package/lib/main.79199ac2.js +1 -0
- package/lib/main.821d081b.js +1 -0
- package/lib/main.8627466a.mjs +537 -0
- package/lib/{main.b5a3be02.mjs → main.88e9be9d.mjs} +4 -4
- package/lib/main.8e6f6cba.mjs +323 -0
- package/lib/main.a9a54af9.js +1 -0
- package/lib/main.e033a376.js +1 -0
- package/lib/main.e2e4ba74.js +1 -0
- package/lib/{main.3caa11e1.mjs → main.e79d9e56.mjs} +113 -188
- package/lib/main.ea3a04f4.js +1 -0
- package/lib/main.f44d8279.js +1 -0
- package/lib/messages.5f54a62e.js +9 -0
- package/lib/{messages.a739f4fc.mjs → messages.d4354532.mjs} +4321 -5268
- package/lib/packages.filedocument.8418d852.mjs +4039 -0
- package/lib/packages.filedocument.9b8eda0d.js +1 -0
- package/lib/page.build.4d28df9a.js +12 -0
- package/lib/page.build.78cc7396.mjs +3020 -0
- package/lib/personal.echarts.940f1cc9.mjs +696 -0
- package/lib/personal.echarts.b5a7f574.js +1 -0
- package/lib/result.0161b0e0.js +1 -0
- package/lib/result.5a9330d7.mjs +627 -0
- package/lib/router.config.79a98ab8.mjs +3105 -0
- package/lib/router.config.7fd04c30.js +1 -0
- package/lib/solution.application.3ae7c0c5.js +1 -0
- package/lib/solution.application.fdc15ffc.mjs +548 -0
- package/lib/solution.applicationmenu.67aba620.js +1 -0
- package/lib/solution.applicationmenu.daaacb07.mjs +508 -0
- package/lib/solution.approvalflow.81b7cfb7.js +1 -0
- package/lib/solution.approvalflow.a541adcc.mjs +436 -0
- package/lib/solution.dict.addbce33.mjs +769 -0
- package/lib/solution.dict.f1c9bae6.js +1 -0
- package/lib/solution.menu.2033fa37.mjs +5834 -0
- package/lib/solution.menu.6512047f.js +1 -0
- package/lib/solution.plugin.7094dbfd.js +1 -0
- package/lib/solution.plugin.d8f057cb.mjs +347 -0
- package/lib/solution.processflow.0adf4f55.js +1 -0
- package/lib/solution.processflow.a779bd58.mjs +392 -0
- package/lib/solution.role.d35cb00d.js +1 -0
- package/lib/solution.role.d9a4b25a.mjs +456 -0
- package/lib/solution.webresources.e1421655.mjs +379 -0
- package/lib/solution.webresources.e817757c.js +1 -0
- package/lib/solution.workflow.59552b8c.mjs +395 -0
- package/lib/solution.workflow.985e1f4d.js +1 -0
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/store.config.5e5cb48a.mjs +547 -0
- package/lib/style.css +3 -3
- package/lib/system.account.1b281679.js +216 -0
- package/lib/system.account.96d5bc17.mjs +2093 -0
- package/lib/system.config.0ff45e62.js +1 -0
- package/lib/{system.config.d2ad8c97.mjs → system.config.35b13003.mjs} +7 -6
- package/lib/system.datasource.4243937d.js +1 -0
- package/lib/{system.datasource.a77831ab.mjs → system.datasource.7f582bef.mjs} +15 -64
- package/lib/{system.dict.cb276470.mjs → system.dict.3697546d.mjs} +269 -344
- package/lib/system.dict.8e4fe6b0.js +1 -0
- package/lib/system.document.69e534a6.js +1 -0
- package/lib/system.document.8e4dbe5e.mjs +667 -0
- package/lib/system.duplicatechecking.1083eb1e.js +1 -0
- package/lib/system.duplicatechecking.c6a8b2b7.mjs +722 -0
- package/lib/system.email.06bb7cc1.mjs +133 -0
- package/lib/system.email.41036a31.js +1 -0
- package/lib/system.fieldsecurity.3ea880d8.js +1 -0
- package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.dd504643.mjs} +486 -938
- package/lib/{system.file.8064c8e9.mjs → system.file.8ccc4569.mjs} +84 -151
- package/lib/system.file.b8e4e6a1.js +1 -0
- package/lib/system.log.14c22a7a.js +1 -0
- package/lib/{system.log.2b2fc11a.mjs → system.log.aad4ff54.mjs} +31 -93
- package/lib/system.machine.379beacb.js +1 -0
- package/lib/{system.machine.0130e762.mjs → system.machine.c47be0cc.mjs} +5 -25
- package/lib/{system.notice.5f8cd020.mjs → system.notice.dc1b67cc.mjs} +1075 -1255
- package/lib/system.notice.fb151c45.js +1 -0
- package/lib/system.noticereceived.3a29d891.js +1 -0
- package/lib/{system.noticereceived.51b6353a.mjs → system.noticereceived.e75bf358.mjs} +19 -27
- package/lib/{system.onlineuser.c0a69360.mjs → system.onlineuser.ab9c2776.mjs} +36 -38
- package/lib/system.onlineuser.fc26aff9.js +1 -0
- package/lib/system.org.b6f826e8.js +1 -0
- package/lib/{system.org.1169fe47.mjs → system.org.dd710a91.mjs} +3 -3
- package/lib/system.permissions.75406743.mjs +972 -0
- package/lib/system.permissions.97f68887.js +1 -0
- package/lib/system.plugin.3fcf7b0b.js +1 -0
- package/lib/{system.plugin.502a69d8.mjs → system.plugin.4b80cd95.mjs} +503 -552
- package/lib/system.pos.5a1663d8.js +1 -0
- package/lib/{system.pos.8c44c029.mjs → system.pos.a3bafaaa.mjs} +31 -62
- package/lib/system.promptmanagement.53c301a3.js +1 -0
- package/lib/{system.promptmanagement.d8565db4.mjs → system.promptmanagement.fd651c09.mjs} +318 -449
- package/lib/{system.role.19959d7f.mjs → system.role.9edb5922.mjs} +512 -486
- package/lib/system.role.e164f059.js +1 -0
- package/lib/{system.sumberrules.087015a4.mjs → system.sumberrules.4bb2c95c.mjs} +169 -192
- package/lib/system.sumberrules.5e9cd262.js +1 -0
- package/lib/system.team.3e605266.js +1 -0
- package/lib/system.team.bb1fb40e.mjs +452 -0
- package/lib/system.teammembers.a098883b.js +1 -0
- package/lib/{system.teammembers.4056d586.mjs → system.teammembers.b8e53d99.mjs} +257 -199
- package/lib/system.timers.2f884e41.js +38 -0
- package/lib/{system.timers.6f61bfe1.mjs → system.timers.551c4a4b.mjs} +2202 -2278
- package/lib/system.translation.6e99c852.js +1 -0
- package/lib/{system.translation.9b88fbf2.mjs → system.translation.c2c1f40c.mjs} +437 -431
- package/lib/{system.user.bdf2613e.mjs → system.user.b99911de.mjs} +1082 -1025
- package/lib/system.user.dffc2543.js +14 -0
- package/lib/{system.useraffiliation.63b6bb36.mjs → system.useraffiliation.12cae7ef.mjs} +419 -412
- package/lib/system.useraffiliation.f8b33def.js +1 -0
- package/lib/system.webresource.1d3ed352.js +1 -0
- package/lib/{system.webresource.c36d6792.mjs → system.webresource.8a8d856b.mjs} +177 -219
- package/lib/{system.welcome.14785b50.mjs → system.welcome.573a76db.mjs} +10 -3
- package/lib/system.welcome.eedf1db2.js +1 -0
- package/lib/tableDescriptions.923c4ef1.mjs +80 -0
- package/lib/tableDescriptions.b12679b0.js +1 -0
- package/lib/tcheckboxs.887d733c.mjs +52 -0
- package/lib/tcheckboxs.fe7e574a.js +1 -0
- package/lib/tcurrency.10ac9aa7.mjs +85 -0
- package/lib/tcurrency.20e959c0.js +1 -0
- package/lib/tdatepicker.54036bba.js +1 -0
- package/lib/tdatepicker.a08ad382.mjs +52 -0
- package/lib/tdictSwitch.274e9f86.js +1 -0
- package/lib/tdictSwitch.d40f1b4f.mjs +60 -0
- package/lib/tfile.5c897827.js +1 -0
- package/lib/tfile.f63b73b9.mjs +62 -0
- package/lib/tparticipants.4698962b.mjs +56 -0
- package/lib/tparticipants.b6fb4545.js +1 -0
- package/lib/translation.mains.5cfc7a2f.js +1 -0
- package/lib/translation.mains.e6cb610b.mjs +383 -0
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.echarts.js.461a74e7.js +54 -0
- package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
- package/lib/utils.mixins.js.750ca50e.js +1 -0
- package/lib/utils.mixins.js.be01e599.mjs +41 -0
- package/lib/utils.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.885de913.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/view.build.051553d8.mjs +1578 -0
- package/lib/view.build.9af3087b.js +1 -0
- package/lib/viewList.209956c3.js +1 -0
- package/lib/viewList.c05c92be.mjs +318 -0
- package/lib/viewTree.0cd9f1a2.js +1 -0
- package/lib/viewTree.c5290360.mjs +409 -0
- package/locale/en_US.js +92 -28
- package/locale/id_ID.js +76 -12
- package/locale/vi_VN.js +2012 -1948
- package/locale/zh_CN.js +97 -33
- package/package.json +106 -105
- package/lib/chartbi.114d32d7.js +0 -60
- package/lib/chartbi.eb4dd0af.mjs +0 -27639
- package/lib/main.03984fed.js +0 -1
- package/lib/main.1050afb3.js +0 -1
- package/lib/main.64122541.js +0 -1
- package/lib/main.b7d2c6ee.js +0 -1
- package/lib/messages.828b6ed8.js +0 -9
- package/lib/system.account.3181bcd6.js +0 -216
- package/lib/system.account.7c6ea20c.mjs +0 -2552
- package/lib/system.config.10f57fa2.js +0 -1
- package/lib/system.datasource.d5eea7f2.js +0 -1
- package/lib/system.dict.d73658f1.js +0 -1
- package/lib/system.duplicatechecking.5c8a3eef.mjs +0 -2142
- package/lib/system.duplicatechecking.d24ba6ea.js +0 -1
- package/lib/system.email.4bf52f2d.js +0 -41
- package/lib/system.email.db5da8d7.mjs +0 -7432
- package/lib/system.fieldsecurity.eb217079.js +0 -1
- package/lib/system.file.c1884db7.js +0 -1
- package/lib/system.log.389af80d.js +0 -1
- package/lib/system.machine.49fc6405.js +0 -1
- package/lib/system.notice.a89f4826.js +0 -1
- package/lib/system.noticereceived.5e0773c3.js +0 -1
- package/lib/system.onlineuser.67733846.js +0 -1
- package/lib/system.org.ff54d620.js +0 -1
- package/lib/system.permissions.cc9a9866.mjs +0 -212
- package/lib/system.permissions.e6317c5a.js +0 -9
- package/lib/system.plugin.3467d572.js +0 -1
- package/lib/system.pos.4aadf86e.js +0 -1
- package/lib/system.promptmanagement.9ba710d6.js +0 -1
- package/lib/system.role.890c8ca2.js +0 -1
- package/lib/system.sumberrules.068ebe4a.js +0 -1
- package/lib/system.team.27cd57f7.mjs +0 -1000
- package/lib/system.team.2b28502b.js +0 -1
- package/lib/system.teammembers.e3baf783.js +0 -1
- package/lib/system.timers.cb0a3bd0.js +0 -38
- package/lib/system.translation.f3884a0a.js +0 -1
- package/lib/system.user.3bd95871.js +0 -14
- package/lib/system.useraffiliation.7db6e13c.js +0 -1
- package/lib/system.webresource.ede248a8.js +0 -1
- package/lib/system.welcome.c9eefa06.js +0 -1
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { n as a } from "./components.chartbi.470b96af.mjs";
|
|
2
|
+
const n = {
|
|
3
|
+
name: "GdSelectTree",
|
|
4
|
+
components: {},
|
|
5
|
+
model: {
|
|
6
|
+
prop: "inputValue",
|
|
7
|
+
event: "myInputEvent"
|
|
8
|
+
},
|
|
9
|
+
props: {
|
|
10
|
+
defaultValue: {
|
|
11
|
+
type: [Number, String]
|
|
12
|
+
},
|
|
13
|
+
filterable: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: !1
|
|
16
|
+
},
|
|
17
|
+
remote: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !1
|
|
20
|
+
},
|
|
21
|
+
disabled: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !1
|
|
24
|
+
},
|
|
25
|
+
remoteMethod: {
|
|
26
|
+
type: Function
|
|
27
|
+
},
|
|
28
|
+
treeOptions: {
|
|
29
|
+
type: Array,
|
|
30
|
+
default: () => []
|
|
31
|
+
},
|
|
32
|
+
placeholder: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: "\u8BF7\u9009\u62E9"
|
|
35
|
+
},
|
|
36
|
+
defaultProps: {
|
|
37
|
+
type: Object,
|
|
38
|
+
default: () => ({
|
|
39
|
+
children: "children",
|
|
40
|
+
label: "title",
|
|
41
|
+
value: "value"
|
|
42
|
+
})
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
watch: {
|
|
46
|
+
treeOptions: {
|
|
47
|
+
handler(e) {
|
|
48
|
+
this.loading = !1, this.dataOfTree = JSON.parse(JSON.stringify(e)), this.dataSource = JSON.parse(JSON.stringify(e));
|
|
49
|
+
},
|
|
50
|
+
deep: !0,
|
|
51
|
+
immediate: !1
|
|
52
|
+
},
|
|
53
|
+
defaultValue: {
|
|
54
|
+
handler(e) {
|
|
55
|
+
this.isFilterWithValue || (this.selectedNode = {}, this.currentLabel = void 0, this.currentValue = e, this.$nextTick(() => {
|
|
56
|
+
setTimeout(() => {
|
|
57
|
+
this.isFilterWithValue = !0, this.dataOfTree && this.$refs.treeRef && this.$refs.treeRef.filter(e), !e && this.$refs.treeRef && e !== 0 && this.$refs.treeRef.setCurrentKey(null);
|
|
58
|
+
}, 100);
|
|
59
|
+
}));
|
|
60
|
+
},
|
|
61
|
+
deep: !0,
|
|
62
|
+
immediate: !0
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
computed: {
|
|
66
|
+
filterableFor() {
|
|
67
|
+
return this.remote ? !1 : this.filterable;
|
|
68
|
+
},
|
|
69
|
+
remoteFor() {
|
|
70
|
+
return this.filterable ? !1 : this.remote;
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
data() {
|
|
74
|
+
return {
|
|
75
|
+
selectedNode: {},
|
|
76
|
+
loading: !1,
|
|
77
|
+
currentValue: void 0,
|
|
78
|
+
currentLabel: void 0,
|
|
79
|
+
dataOfTree: [],
|
|
80
|
+
isFilterWithValue: !1
|
|
81
|
+
};
|
|
82
|
+
},
|
|
83
|
+
created() {
|
|
84
|
+
this.dataOfTree = JSON.parse(JSON.stringify(this.treeOptions)), this.dataSource = JSON.parse(JSON.stringify(this.treeOptions));
|
|
85
|
+
},
|
|
86
|
+
mounted() {
|
|
87
|
+
},
|
|
88
|
+
methods: {
|
|
89
|
+
selectRemoteMethod(e) {
|
|
90
|
+
this.isFilterWithValue = !1, this.filterableFor ? this.$refs.treeRef.filter(e) : this.remoteFor && (this.loading = !0, this.remoteMethod(e));
|
|
91
|
+
},
|
|
92
|
+
handleClear() {
|
|
93
|
+
this.selectedNode = {}, this.currentLabel = void 0, this.currentValue = void 0;
|
|
94
|
+
const e = this.buildEmptyResult();
|
|
95
|
+
this.$emit("myInputEvent", e.data.value), this.$emit("onNodeSelectEvent", e);
|
|
96
|
+
},
|
|
97
|
+
handleVisibleChange(e) {
|
|
98
|
+
e || (this.dataOfTree.splice(0), this.dataOfTree.splice(0, 0, ...this.dataSource), this.$refs.treeRef.filter(""));
|
|
99
|
+
},
|
|
100
|
+
filterNode(e, t) {
|
|
101
|
+
if (!e && e !== 0)
|
|
102
|
+
return t;
|
|
103
|
+
if (this.isFilterWithValue) {
|
|
104
|
+
if (t[this.defaultProps.value] === e) {
|
|
105
|
+
this.selectedNode = t, this.currentLabel = t[this.defaultProps.label], this.$refs.treeRef.setCurrentKey(this.selectedNode[this.defaultProps.value]);
|
|
106
|
+
const l = this.buildResultByNodeData(t);
|
|
107
|
+
this.$emit("myInputEvent", l.data.value);
|
|
108
|
+
}
|
|
109
|
+
} else
|
|
110
|
+
return t[this.defaultProps.label].indexOf(e) !== -1;
|
|
111
|
+
return t;
|
|
112
|
+
},
|
|
113
|
+
closeSelect() {
|
|
114
|
+
this.$refs.selectRef.blur();
|
|
115
|
+
},
|
|
116
|
+
handleNodeClicked(e, t, l) {
|
|
117
|
+
if (e.disabled !== void 0 && e.disabled) {
|
|
118
|
+
this.$refs.treeRef.setCurrentKey(null);
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
this.selectedNode = e, this.currentLabel = e[this.defaultProps.label], this.currentValue = e[this.defaultProps.value];
|
|
122
|
+
const r = this.buildResultByNodeData(e);
|
|
123
|
+
this.$emit("myInputEvent", r.data.value), this.$emit("onNodeSelectEvent", r), this.closeSelect();
|
|
124
|
+
},
|
|
125
|
+
buildResultByNodeData(e) {
|
|
126
|
+
return {
|
|
127
|
+
node: e[this.defaultProps.value],
|
|
128
|
+
data: {
|
|
129
|
+
label: e[this.defaultProps.label],
|
|
130
|
+
value: e[this.defaultProps.value]
|
|
131
|
+
},
|
|
132
|
+
meta: e
|
|
133
|
+
};
|
|
134
|
+
},
|
|
135
|
+
buildEmptyResult() {
|
|
136
|
+
return {
|
|
137
|
+
node: void 0,
|
|
138
|
+
data: {
|
|
139
|
+
label: void 0,
|
|
140
|
+
value: void 0
|
|
141
|
+
},
|
|
142
|
+
meta: void 0
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
var d = function() {
|
|
148
|
+
var t = this, l = t._self._c;
|
|
149
|
+
return l("el-select", { ref: "selectRef", staticStyle: { width: "100%" }, attrs: { disabled: t.disabled, clearable: "", filterable: t.filterableFor || t.remoteFor, remote: t.filterableFor || t.remoteFor, "remote-method": t.selectRemoteMethod, placeholder: t.placeholder }, on: { "visible-change": t.handleVisibleChange, clear: t.handleClear }, model: { value: t.currentLabel, callback: function(r) {
|
|
150
|
+
t.currentLabel = r;
|
|
151
|
+
}, expression: "currentLabel" } }, [l("el-option", { directives: [{ name: "loading", rawName: "v-loading", value: t.loading, expression: "loading" }], staticStyle: { height: "100%", padding: "0" }, attrs: { value: "", "element-loading-text": t.$i18nt("gd.https.Loading", "\u52A0\u8F7D\u4E2D..."), "element-loading-spinner": "el-icon-loading" } }, [l("el-tree", { ref: "treeRef", attrs: { data: t.dataOfTree, "node-key": t.defaultProps.value, props: t.defaultProps, "highlight-current": "", "default-expand-all": "", "current-node-key": t.selectedNode.value, "expand-on-click-node": !1, "filter-node-method": t.filterNode }, on: { "node-click": t.handleNodeClicked }, scopedSlots: t._u([{ key: "default", fn: function({ node: r, data: i }) {
|
|
152
|
+
return l("span", {}, [l("span", { class: i.disabled ? "tree-is-disabled" : "", attrs: { title: i[t.defaultProps.label] } }, [t._v(t._s(i[t.defaultProps.label]))])]);
|
|
153
|
+
} }]) })], 1)], 1);
|
|
154
|
+
}, o = [], u = /* @__PURE__ */ a(
|
|
155
|
+
n,
|
|
156
|
+
d,
|
|
157
|
+
o,
|
|
158
|
+
!1,
|
|
159
|
+
null,
|
|
160
|
+
"c66125a1",
|
|
161
|
+
null,
|
|
162
|
+
null
|
|
163
|
+
);
|
|
164
|
+
const s = u.exports;
|
|
165
|
+
s.install = function(e) {
|
|
166
|
+
e.component(s.name, s);
|
|
167
|
+
};
|
|
168
|
+
export {
|
|
169
|
+
s as G
|
|
170
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const a=require("./components.chartbi.e9459775.js");const n={name:"GdSelectTree",components:{},model:{prop:"inputValue",event:"myInputEvent"},props:{defaultValue:{type:[Number,String]},filterable:{type:Boolean,default:!1},remote:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},remoteMethod:{type:Function},treeOptions:{type:Array,default:()=>[]},placeholder:{type:String,default:"\u8BF7\u9009\u62E9"},defaultProps:{type:Object,default:()=>({children:"children",label:"title",value:"value"})}},watch:{treeOptions:{handler(e){this.loading=!1,this.dataOfTree=JSON.parse(JSON.stringify(e)),this.dataSource=JSON.parse(JSON.stringify(e))},deep:!0,immediate:!1},defaultValue:{handler(e){this.isFilterWithValue||(this.selectedNode={},this.currentLabel=void 0,this.currentValue=e,this.$nextTick(()=>{setTimeout(()=>{this.isFilterWithValue=!0,this.dataOfTree&&this.$refs.treeRef&&this.$refs.treeRef.filter(e),!e&&this.$refs.treeRef&&e!==0&&this.$refs.treeRef.setCurrentKey(null)},100)}))},deep:!0,immediate:!0}},computed:{filterableFor(){return this.remote?!1:this.filterable},remoteFor(){return this.filterable?!1:this.remote}},data(){return{selectedNode:{},loading:!1,currentValue:void 0,currentLabel:void 0,dataOfTree:[],isFilterWithValue:!1}},created(){this.dataOfTree=JSON.parse(JSON.stringify(this.treeOptions)),this.dataSource=JSON.parse(JSON.stringify(this.treeOptions))},mounted(){},methods:{selectRemoteMethod(e){this.isFilterWithValue=!1,this.filterableFor?this.$refs.treeRef.filter(e):this.remoteFor&&(this.loading=!0,this.remoteMethod(e))},handleClear(){this.selectedNode={},this.currentLabel=void 0,this.currentValue=void 0;const e=this.buildEmptyResult();this.$emit("myInputEvent",e.data.value),this.$emit("onNodeSelectEvent",e)},handleVisibleChange(e){e||(this.dataOfTree.splice(0),this.dataOfTree.splice(0,0,...this.dataSource),this.$refs.treeRef.filter(""))},filterNode(e,t){if(!e&&e!==0)return t;if(this.isFilterWithValue){if(t[this.defaultProps.value]===e){this.selectedNode=t,this.currentLabel=t[this.defaultProps.label],this.$refs.treeRef.setCurrentKey(this.selectedNode[this.defaultProps.value]);const l=this.buildResultByNodeData(t);this.$emit("myInputEvent",l.data.value)}}else return t[this.defaultProps.label].indexOf(e)!==-1;return t},closeSelect(){this.$refs.selectRef.blur()},handleNodeClicked(e,t,l){if(e.disabled!==void 0&&e.disabled){this.$refs.treeRef.setCurrentKey(null);return}this.selectedNode=e,this.currentLabel=e[this.defaultProps.label],this.currentValue=e[this.defaultProps.value];const r=this.buildResultByNodeData(e);this.$emit("myInputEvent",r.data.value),this.$emit("onNodeSelectEvent",r),this.closeSelect()},buildResultByNodeData(e){return{node:e[this.defaultProps.value],data:{label:e[this.defaultProps.label],value:e[this.defaultProps.value]},meta:e}},buildEmptyResult(){return{node:void 0,data:{label:void 0,value:void 0},meta:void 0}}}};var d=function(){var t=this,l=t._self._c;return l("el-select",{ref:"selectRef",staticStyle:{width:"100%"},attrs:{disabled:t.disabled,clearable:"",filterable:t.filterableFor||t.remoteFor,remote:t.filterableFor||t.remoteFor,"remote-method":t.selectRemoteMethod,placeholder:t.placeholder},on:{"visible-change":t.handleVisibleChange,clear:t.handleClear},model:{value:t.currentLabel,callback:function(r){t.currentLabel=r},expression:"currentLabel"}},[l("el-option",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{height:"100%",padding:"0"},attrs:{value:"","element-loading-text":t.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D..."),"element-loading-spinner":"el-icon-loading"}},[l("el-tree",{ref:"treeRef",attrs:{data:t.dataOfTree,"node-key":t.defaultProps.value,props:t.defaultProps,"highlight-current":"","default-expand-all":"","current-node-key":t.selectedNode.value,"expand-on-click-node":!1,"filter-node-method":t.filterNode},on:{"node-click":t.handleNodeClicked},scopedSlots:t._u([{key:"default",fn:function({node:r,data:s}){return l("span",{},[l("span",{class:s.disabled?"tree-is-disabled":"",attrs:{title:s[t.defaultProps.label]}},[t._v(t._s(s[t.defaultProps.label]))])])}}])})],1)],1)},o=[],u=a.normalizeComponent(n,d,o,!1,null,"c66125a1",null,null);const i=u.exports;i.install=function(e){e.component(i.name,i)};exports.GDpackage=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const u=require("./components.chartbi.e9459775.js"),h=[{key:"gd.theme.twilight",color:"#F5222D"},{key:"gd.theme.volcano",color:"#FA541C"},{key:"gd.theme.nightfall",color:"#FAAD14"},{key:"gd.theme.mingQing",color:"#13C2C2"},{key:"gd.theme.auroragreen",color:"#52C41A"},{key:"gd.theme.dawnBlue",color:"#1890FF"},{key:"gd.theme.soypurple",color:"#722ED1"}],A="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAtCAMAAADWf7iKAAAAOVBMVEUAAAAAAAAAAAAAAADu8PP+/v/6+vv4+fnf4uT1+/sAAAC/v7+ip6f19fVwc3OChoby9vbw8vX///9pVttoAAAAEXRSTlMABTkQ8/fp57xPKWhgSUk/OZz1RfcAAABbSURBVEjH7c1JDoBACABBRpjFcef/jzUQ74JRT/S90vC0MbO5slyGXe2Ksg9VMYmdpUBvo+OmQIECBQr0ESJFxYeaosmFaBMEOFczorYiSAn7YK6jjJQ5gl87Abbjgzgo9LBPAAAAAElFTkSuQmCC",v="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAtCAMAAADWf7iKAAAAP1BMVEUAAAAAAAAAAAAAAABtcYDu8PNcYW/8/Pzf4uReZW6qr7Z4fHwAAAAAAADt7/L19fXy9vbw8vUyNUn///88QVFmWFQxAAAAEXRSTlMABTkQ9/Tr5bxkT0Q1KfBJOTNg+qgAAABnSURBVEjH7cs7EoAgDAVAEBUQ8IO5/1kd3lhYaeI4Vtl+zVtTT/Viv+OX86BwEqxIfRUl344lfgLbUtX0YdoeaNKkSZMmbiJZGpBGWQpIkSRpTqZxcSRuGkJySNaV3DHlgoMmYH51AAGvhJkKRva7AAAAAElFTkSuQmCC",b="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAtCAMAAADWf7iKAAAAM1BMVEUAAADw8vUyNUn8/Pz4+PjGxsb19fU7QFHs7e3Q09Vtcn9kZ3bk5uje3uDX2NjKysrAw8bSxWzYAAAAAXRSTlMAQObYZgAAAGtJREFUSMftz7sOgCAMhWGlSLnD+z+tBU1MXGwZnPqPJ/mGs60WEhpmGMttJmGzPAwkIyoCIYsyhJaQM8KcogfBe9w/AkWKFClSxES4gpIM+Yk6ilCZyPeIbJTrTmao0A5mrdKlS1l+QObHTi8KDtXr7vnFAAAAAElFTkSuQmCC";const C={name:"GdSettingDrawer",data(){return{visible:!1,colorList:h,chalk:"",languages:"",btnModes:"",tableSizes:"mini",labelPositions:"right",formModes:"dialog",tablePageSizes:50,pageSizeOptions:[10,20,30,40,50,100,200,500],primaryColors:this.primaryColor,multiTabed:!1,navMenuThemes:"vertical",menusWidthed:"default",menusWid:372}},watch:{primaryColor(){this.primaryColors=this.primaryColor}},computed:{getMenusWidthed(){let i=372;return this.menusWidthed==="secondary"?i=472:this.menusWidthed==="big"&&(i=672),i},languageMessages(){return this.$i18n.messages},languagesList(){let i=[];for(let t in this.languageMessages)i.push(t);return[{code:"zh_CN",transKey:"gd.settings.chineseLanguage"},{code:"en_US",transKey:"gd.settings.englishLanguage"},{code:"vi_VN",transKey:"gd.settings.vietnamLanguage"},{code:"id_ID",transKey:"gd.settings.indonesiaLanguage"}].filter(t=>i.includes(t.code))},style(){return{"--color":this.primaryColor}},predefine(){let i=[];return h.forEach(e=>{i.push(e.color)}),i},...u.mapGetters(["primaryColor","language","tablePageSize","tableSize","btnMode","labelPosition","formMode","theme","multiTab","navMenuTheme","menusWidth"])},methods:{changeMenusWidth(i){this.$store.dispatch("MenusWidth",`${i}&${this.menusWid}`)},changeMenusWid(i){this.$store.dispatch("MenusWidth",`${this.menusWidthed}&${i}`)},changeMenuStyle(i){this.$store.dispatch("NavMenuTheme",i)},onMultiTab(i){this.$store.dispatch("ToggleMultiTab",i)},handleMenuTheme(i){this.$store.dispatch("ToggleTheme",i)},changeLanguage(i){this.$i18n.locale=i,this.$store.dispatch("Language",i)},changeBtnMode(i){this.$store.dispatch("BtnMode",i)},changePageSize(i){this.$store.dispatch("TablePageSize",i)},changeSize(i){this.$store.dispatch("TableSize",i)},changeLabelPosition(i){this.$store.dispatch("LabelPosition",i)},changeFormMode(i){this.$store.dispatch("FormMode",i)},toggle(){this.visible=!this.visible},async changeColor(i){const e=this,t=this.primaryColor;if(typeof i!="string")return;const s=this.$message({message:e.$i18nt("gd.theme.switchingTopics"),duration:0,iconClass:"el-icon-loading"}),a=this.getThemeCluster(i.replace("#","")),r=this.getThemeCluster(t.replace("#","")),l=(d,c)=>()=>{const m=this.getThemeCluster(this.primaryColor.replace("#","")),p=this.updateStyle(this[d],m,a);let g=document.getElementById(c);g||(g=document.createElement("style"),g.setAttribute("id",c),document.head.appendChild(g)),g.innerText=p};this.chalk||await Promise.resolve().then(()=>require("./element-theme-chalk.dee12271.js")).then(d=>{this.chalk=d.default}),l("chalk","chalk-style")(),[].slice.call(document.querySelectorAll("style")).filter(d=>{const c=d.innerText;return new RegExp(t,"i").test(c)&&!/Chalk Variables/.test(c)}).forEach(d=>{const{innerText:c}=d;typeof c=="string"&&(d.innerText=this.updateStyle(c,r,a))}),this.$store.dispatch("ToggleColor",i),window.document.body.style=`--color:${i}`,this.$nextTick(()=>{setTimeout(()=>{s.close()},200)})},updateStyle(i,e,t){let s=i;return e.forEach((a,r)=>{s=s.replace(new RegExp(a,"ig"),t[r])}),s},getThemeCluster(i){const e=(a,r)=>{let l=parseInt(a.slice(0,2),16),n=parseInt(a.slice(2,4),16),o=parseInt(a.slice(4,6),16);return r===0?[l,n,o].join(","):(l+=Math.round(r*(255-l)),n+=Math.round(r*(255-n)),o+=Math.round(r*(255-o)),l=l.toString(16),n=n.toString(16),o=o.toString(16),`#${l}${n}${o}`)},t=(a,r)=>{let l=parseInt(a.slice(0,2),16),n=parseInt(a.slice(2,4),16),o=parseInt(a.slice(4,6),16);return l=Math.round((1-r)*l),n=Math.round((1-r)*n),o=Math.round((1-r)*o),l=l.toString(16),n=n.toString(16),o=o.toString(16),`#${l}${n}${o}`},s=[i];for(let a=0;a<=9;a++)s.push(e(i,Number((a/10).toFixed(2))));return s.push(t(i,.1)),s}},created(){this.languages=this.language,this.tableSizes=this.tableSize,this.tablePageSizes=this.tablePageSize,this.btnModes=this.btnMode,this.formModes=this.formMode,this.multiTabed=this.multiTab,this.labelPositions=this.labelPosition,this.navMenuThemes=this.navMenuTheme;let i=this.menusWidth?this.menusWidth.split("&"):["default"];this.menusWidthed=i[0],this.menusWid=i[1]?Number(i[1]):this.getMenusWidthed,this.primaryColor&&(this.primaryColors=this.primaryColor,this.changeColor(this.primaryColor))}};var f=function(){var e=this,t=e._self._c;return t("div",{staticClass:"gd-setting"},[t("el-drawer",{attrs:{visible:e.visible,"with-header":!1,"append-to-body":!0,"modal-append-to-body":!1,size:300},on:{"update:visible":function(s){e.visible=s}}},[t("div",{staticClass:"setting-item"},[t("div",{staticClass:"setting-item-title"},[e._v(" "+e._s(e.$i18nt("gd.settings.overallStyle","\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E"))+" ")])]),t("div",{staticClass:"setting-item",staticStyle:{"padding-top":"12px"}},[t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.$i18nt("gd.settings.brightMenuStyle","\u4EAE\u8272\u83DC\u5355\u98CE\u683C"),placement:"top"}},[t("div",{staticClass:"setting-drawer-index-item",on:{click:function(s){return e.handleMenuTheme("light")}}},[t("img",{attrs:{src:A,alt:"light"}}),e.theme==="light"?t("i",{staticClass:"el-icon-check active-color"}):e._e()])]),t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.$i18nt("gd.settings.darkMenuStyle","\u6697\u8272\u83DC\u5355\u98CE\u683C"),placement:"top"}},[t("div",{staticClass:"setting-drawer-index-item",on:{click:function(s){return e.handleMenuTheme("dark")}}},[t("img",{attrs:{src:v,alt:"dark"}}),e.theme==="dark"?t("i",{staticClass:"el-icon-check active-color"}):e._e()])]),t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.$i18nt("gd.settings.doubleDarkMenuStyle","\u53CC\u6697\u8272\u83DC\u5355\u98CE\u683C"),placement:"top"}},[t("div",{staticClass:"setting-drawer-index-item",on:{click:function(s){return e.handleMenuTheme("doubledark")}}},[t("img",{attrs:{src:b,alt:"doubledark"}}),e.theme==="doubledark"?t("i",{staticClass:"el-icon-check active-color"}):e._e()])])],1),t("el-divider",{staticClass:"setting-divider"}),t("div",{staticClass:"setting-item"},[t("div",{staticClass:"setting-item-title"},[e._v(" "+e._s(e.$i18nt("gd.settings.theme","\u4E3B\u9898\u8272"))+" ")]),t("div",{staticClass:"setting-item-dao"},[t("el-color-picker",{ref:"colorPicker",staticClass:"theme-picker",attrs:{size:"mini",predefine:e.predefine,"popper-class":"theme-picker-dropdown"},on:{change:e.changeColor},model:{value:e.primaryColors,callback:function(s){e.primaryColors=s},expression:"primaryColors"}})],1)]),t("el-divider",{staticClass:"setting-divider"}),e.navMenuThemes!=="customize"?[t("div",{staticClass:"setting-item"},[t("div",{staticClass:"setting-item-title"},[e._v(e._s(e.$i18nt("gd.settings.menuStyle","\u83DC\u5355\u98CE\u683C")))]),t("div",{staticClass:"setting-item-dao"},[t("el-select",{staticStyle:{width:"130px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),size:"mini",teleported:!1,disabled:e.navMenuThemes==="customize"},on:{change:e.changeMenuStyle},model:{value:e.navMenuThemes,callback:function(s){e.navMenuThemes=s},expression:"navMenuThemes"}},[t("el-option",{attrs:{value:"vertical",label:e.$i18nt("gd.settings.verticalInsertion","\u5782\u76F4\u5212\u5165")}}),t("el-option",{attrs:{value:"fold",label:e.$i18nt("gd.settings.horizontalFold","\u6C34\u5E73\u6298\u53E0")}})],1)],1)]),t("el-divider",{staticClass:"setting-divider"})]:e._e(),e.navMenuThemes==="vertical"?[t("div",{staticClass:"setting-item"},[t("div",{staticClass:"setting-item-title"},[e._v(e._s(e.$i18nt("gd.settings.menusWidth","\u83DC\u5355\u533A\u57DF\u5BBD\u5EA6")))]),t("div",{staticClass:"setting-item-dao"},[t("el-select",{staticStyle:{width:"130px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),size:"mini",teleported:!1},on:{change:e.changeMenusWidth},model:{value:e.menusWidthed,callback:function(s){e.menusWidthed=s},expression:"menusWidthed"}},[t("el-option",{attrs:{value:"default",label:e.$i18nt("gd.settings.default","\u9ED8\u8BA4")}}),t("el-option",{attrs:{value:"secondary",label:e.$i18nt("gd.settings.secondary","\u4E2D\u7B49")}}),t("el-option",{attrs:{value:"big",label:e.$i18nt("gd.form.tabLarge","\u5927")}}),t("el-option",{attrs:{value:"custom",label:e.$i18nt("gd.settings.custom","\u81EA\u5B9A\u4E49")}})],1)],1)]),e.menusWidthed==="custom"?t("div",{staticClass:"setting-item",staticStyle:{"margin-top":"12px"}},[t("div",{staticClass:"setting-item-title"}),t("div",{staticClass:"setting-item-dao"},[t("el-input-number",{attrs:{slot:"actions",placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165"),"controls-position":"right",min:300,max:3e4,step:20,size:"small"},on:{change:e.changeMenusWid},slot:"actions",model:{value:e.menusWid,callback:function(s){e.menusWid=s},expression:"menusWid"}})],1)]):e._e(),t("el-divider",{staticClass:"setting-divider"})]:e._e(),t("div",{staticClass:"setting-item"},[t("div",{staticClass:"setting-item-title"},[e._v(e._s(e.$i18nt("gd.settings.language","\u8BED\u8A00")))]),t("div",{staticClass:"setting-item-dao"},[t("el-select",{staticStyle:{width:"130px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),size:"mini",teleported:!1},on:{change:e.changeLanguage},model:{value:e.languages,callback:function(s){e.languages=s},expression:"languages"}},[e._l(e.languagesList,function(s){return[t("el-option",{attrs:{value:s.code,label:e.$i18nt(s.transKey)}})]})],2)],1)]),t("el-divider",{staticClass:"setting-divider"}),t("div",{staticClass:"setting-item"},[t("div",{staticClass:"setting-item-title"},[e._v(e._s(e.$i18nt("gd.settings.btnModes","\u6309\u94AE\u663E\u793A")))]),t("div",{staticClass:"setting-item-dao"},[t("el-select",{staticStyle:{width:"130px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),size:"mini",teleported:!1},on:{change:e.changeBtnMode},model:{value:e.btnModes,callback:function(s){e.btnModes=s},expression:"btnModes"}},[t("el-option",{attrs:{value:"btn",label:e.$i18nt("gd.settings.button","\u6309\u94AE")}}),t("el-option",{attrs:{value:"text",label:e.$i18nt("gd.settings.text","\u6587\u672C")}})],1)],1)]),t("el-divider",{staticClass:"setting-divider"}),t("div",{staticClass:"setting-item"},[t("div",{staticClass:"setting-item-title"},[e._v(e._s(e.$i18nt("gd.settings.tableSize","\u8868\u683C\u5927\u5C0F")))]),t("div",{staticClass:"setting-item-dao"},[t("el-select",{staticStyle:{width:"130px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),size:"mini"},on:{change:e.changeSize},model:{value:e.tableSizes,callback:function(s){e.tableSizes=s},expression:"tableSizes"}},[t("el-option",{attrs:{value:"medium",label:e.$i18nt("gd.settings.default","\u9ED8\u8BA4")}}),t("el-option",{attrs:{value:"small",label:e.$i18nt("gd.settings.secondary","\u4E2D\u7B49")}}),t("el-option",{attrs:{value:"mini",label:e.$i18nt("gd.settings.compact","\u7D27\u51D1")}})],1)],1)]),t("el-divider",{staticClass:"setting-divider"}),t("div",{staticClass:"setting-item"},[t("div",{staticClass:"setting-item-title"},[e._v(e._s(e.$i18nt("gd.settings.tablePageSize","\u8868\u683C\u9875\u5BB9\u91CF")))]),t("div",{staticClass:"setting-item-dao"},[t("el-select",{staticStyle:{width:"130px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),size:"mini"},on:{change:e.changePageSize},model:{value:e.tablePageSizes,callback:function(s){e.tablePageSizes=s},expression:"tablePageSizes"}},e._l(e.pageSizeOptions,function(s){return t("el-option",{key:s,attrs:{value:s,label:`${s}${e.$i18nt("el.pagination.pagesize")}`}})}),1)],1)]),t("el-divider",{staticClass:"setting-divider"}),t("div",{staticClass:"setting-item"},[t("div",{staticClass:"setting-item-title"},[e._v(e._s(e.$i18nt("gd.settings.formMode","\u8868\u5355\u6253\u5F00\u6A21\u5F0F")))]),t("div",{staticClass:"setting-item-dao"},[t("el-select",{staticStyle:{width:"130px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),size:"mini"},on:{change:e.changeFormMode},model:{value:e.formModes,callback:function(s){e.formModes=s},expression:"formModes"}},[t("el-option",{attrs:{value:"dialog",label:e.$i18nt("gd.settings.dialog","\u4E2D\u95F4\u5F39\u7A97")}}),t("el-option",{attrs:{value:"drawer",label:e.$i18nt("gd.settings.drawer","\u53F3\u4FA7\u62BD\u5C49")}})],1)],1)]),t("el-divider",{staticClass:"setting-divider"}),t("div",{staticClass:"setting-item"},[t("div",{staticClass:"setting-item-title"},[e._v(e._s(e.$i18nt("gd.settings.labelPosition","\u8868\u5355\u6807\u7B7E\u4F4D\u7F6E")))]),t("div",{staticClass:"setting-item-dao"},[t("el-select",{staticStyle:{width:"130px"},attrs:{placeholder:e.$i18nt("gd.placeholder.select"),size:"mini"},on:{change:e.changeLabelPosition},model:{value:e.labelPositions,callback:function(s){e.labelPositions=s},expression:"labelPositions"}},[t("el-option",{attrs:{value:"right",label:e.$i18nt("gd.settings.right","\u53F3\u8FB9")}}),t("el-option",{attrs:{value:"left",label:e.$i18nt("gd.settings.left","\u5DE6\u8FB9")}}),t("el-option",{attrs:{value:"top",label:e.$i18nt("gd.settings.top","\u4E0A\u8FB9")}})],1)],1)]),t("el-divider",{staticClass:"setting-divider"}),t("div",{staticClass:"setting-item"},[t("div",{staticClass:"setting-item-title"},[e._v(e._s(e.$i18nt("gd.settings.multipleTabs","\u591A\u9875\u7B7E\u6A21\u5F0F")))]),t("div",{staticClass:"setting-item-dao"},[t("el-switch",{attrs:{"active-color":e.primaryColor},on:{change:e.onMultiTab},model:{value:e.multiTabed,callback:function(s){e.multiTabed=s},expression:"multiTabed"}})],1)])],2)],1)},y=[],M=u.normalizeComponent(C,f,y,!1,null,"4902cf87",null,null);const S=M.exports,_=Object.freeze(Object.defineProperty({__proto__:null,default:S},Symbol.toStringTag,{value:"Module"}));exports.colorList=h;exports.main=_;
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { m as p, n as A } from "./components.chartbi.470b96af.mjs";
|
|
2
|
+
const h = [{
|
|
3
|
+
key: "gd.theme.twilight",
|
|
4
|
+
color: "#F5222D"
|
|
5
|
+
}, {
|
|
6
|
+
key: "gd.theme.volcano",
|
|
7
|
+
color: "#FA541C"
|
|
8
|
+
}, {
|
|
9
|
+
key: "gd.theme.nightfall",
|
|
10
|
+
color: "#FAAD14"
|
|
11
|
+
}, {
|
|
12
|
+
key: "gd.theme.mingQing",
|
|
13
|
+
color: "#13C2C2"
|
|
14
|
+
}, {
|
|
15
|
+
key: "gd.theme.auroragreen",
|
|
16
|
+
color: "#52C41A"
|
|
17
|
+
}, {
|
|
18
|
+
key: "gd.theme.dawnBlue",
|
|
19
|
+
color: "#1890FF"
|
|
20
|
+
}, {
|
|
21
|
+
key: "gd.theme.soypurple",
|
|
22
|
+
color: "#722ED1"
|
|
23
|
+
}], v = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAtCAMAAADWf7iKAAAAOVBMVEUAAAAAAAAAAAAAAADu8PP+/v/6+vv4+fnf4uT1+/sAAAC/v7+ip6f19fVwc3OChoby9vbw8vX///9pVttoAAAAEXRSTlMABTkQ8/fp57xPKWhgSUk/OZz1RfcAAABbSURBVEjH7c1JDoBACABBRpjFcef/jzUQ74JRT/S90vC0MbO5slyGXe2Ksg9VMYmdpUBvo+OmQIECBQr0ESJFxYeaosmFaBMEOFczorYiSAn7YK6jjJQ5gl87Abbjgzgo9LBPAAAAAElFTkSuQmCC", b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAtCAMAAADWf7iKAAAAP1BMVEUAAAAAAAAAAAAAAABtcYDu8PNcYW/8/Pzf4uReZW6qr7Z4fHwAAAAAAADt7/L19fXy9vbw8vUyNUn///88QVFmWFQxAAAAEXRSTlMABTkQ9/Tr5bxkT0Q1KfBJOTNg+qgAAABnSURBVEjH7cs7EoAgDAVAEBUQ8IO5/1kd3lhYaeI4Vtl+zVtTT/Viv+OX86BwEqxIfRUl344lfgLbUtX0YdoeaNKkSZMmbiJZGpBGWQpIkSRpTqZxcSRuGkJySNaV3DHlgoMmYH51AAGvhJkKRva7AAAAAElFTkSuQmCC", C = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAtCAMAAADWf7iKAAAAM1BMVEUAAADw8vUyNUn8/Pz4+PjGxsb19fU7QFHs7e3Q09Vtcn9kZ3bk5uje3uDX2NjKysrAw8bSxWzYAAAAAXRSTlMAQObYZgAAAGtJREFUSMftz7sOgCAMhWGlSLnD+z+tBU1MXGwZnPqPJ/mGs60WEhpmGMttJmGzPAwkIyoCIYsyhJaQM8KcogfBe9w/AkWKFClSxES4gpIM+Yk6ilCZyPeIbJTrTmao0A5mrdKlS1l+QObHTi8KDtXr7vnFAAAAAElFTkSuQmCC";
|
|
24
|
+
const f = {
|
|
25
|
+
name: "GdSettingDrawer",
|
|
26
|
+
data() {
|
|
27
|
+
return {
|
|
28
|
+
visible: !1,
|
|
29
|
+
colorList: h,
|
|
30
|
+
chalk: "",
|
|
31
|
+
languages: "",
|
|
32
|
+
btnModes: "",
|
|
33
|
+
tableSizes: "mini",
|
|
34
|
+
labelPositions: "right",
|
|
35
|
+
formModes: "dialog",
|
|
36
|
+
tablePageSizes: 50,
|
|
37
|
+
pageSizeOptions: [10, 20, 30, 40, 50, 100, 200, 500],
|
|
38
|
+
primaryColors: this.primaryColor,
|
|
39
|
+
multiTabed: !1,
|
|
40
|
+
navMenuThemes: "vertical",
|
|
41
|
+
menusWidthed: "default",
|
|
42
|
+
menusWid: 372
|
|
43
|
+
};
|
|
44
|
+
},
|
|
45
|
+
watch: {
|
|
46
|
+
primaryColor() {
|
|
47
|
+
this.primaryColors = this.primaryColor;
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
computed: {
|
|
51
|
+
getMenusWidthed() {
|
|
52
|
+
let i = 372;
|
|
53
|
+
return this.menusWidthed === "secondary" ? i = 472 : this.menusWidthed === "big" && (i = 672), i;
|
|
54
|
+
},
|
|
55
|
+
languageMessages() {
|
|
56
|
+
return this.$i18n.messages;
|
|
57
|
+
},
|
|
58
|
+
languagesList() {
|
|
59
|
+
let i = [];
|
|
60
|
+
for (let t in this.languageMessages)
|
|
61
|
+
i.push(t);
|
|
62
|
+
return [
|
|
63
|
+
{ code: "zh_CN", transKey: "gd.settings.chineseLanguage" },
|
|
64
|
+
{ code: "en_US", transKey: "gd.settings.englishLanguage" },
|
|
65
|
+
{ code: "vi_VN", transKey: "gd.settings.vietnamLanguage" },
|
|
66
|
+
{ code: "id_ID", transKey: "gd.settings.indonesiaLanguage" }
|
|
67
|
+
].filter((t) => i.includes(t.code));
|
|
68
|
+
},
|
|
69
|
+
style() {
|
|
70
|
+
return {
|
|
71
|
+
"--color": this.primaryColor
|
|
72
|
+
};
|
|
73
|
+
},
|
|
74
|
+
predefine() {
|
|
75
|
+
let i = [];
|
|
76
|
+
return h.forEach((e) => {
|
|
77
|
+
i.push(e.color);
|
|
78
|
+
}), i;
|
|
79
|
+
},
|
|
80
|
+
...p([
|
|
81
|
+
"primaryColor",
|
|
82
|
+
"language",
|
|
83
|
+
"tablePageSize",
|
|
84
|
+
"tableSize",
|
|
85
|
+
"btnMode",
|
|
86
|
+
"labelPosition",
|
|
87
|
+
"formMode",
|
|
88
|
+
"theme",
|
|
89
|
+
"multiTab",
|
|
90
|
+
"navMenuTheme",
|
|
91
|
+
"menusWidth"
|
|
92
|
+
])
|
|
93
|
+
},
|
|
94
|
+
methods: {
|
|
95
|
+
changeMenusWidth(i) {
|
|
96
|
+
this.$store.dispatch("MenusWidth", `${i}&${this.menusWid}`);
|
|
97
|
+
},
|
|
98
|
+
changeMenusWid(i) {
|
|
99
|
+
this.$store.dispatch("MenusWidth", `${this.menusWidthed}&${i}`);
|
|
100
|
+
},
|
|
101
|
+
changeMenuStyle(i) {
|
|
102
|
+
this.$store.dispatch("NavMenuTheme", i);
|
|
103
|
+
},
|
|
104
|
+
onMultiTab(i) {
|
|
105
|
+
this.$store.dispatch("ToggleMultiTab", i);
|
|
106
|
+
},
|
|
107
|
+
handleMenuTheme(i) {
|
|
108
|
+
this.$store.dispatch("ToggleTheme", i);
|
|
109
|
+
},
|
|
110
|
+
changeLanguage(i) {
|
|
111
|
+
this.$i18n.locale = i, this.$store.dispatch("Language", i);
|
|
112
|
+
},
|
|
113
|
+
changeBtnMode(i) {
|
|
114
|
+
this.$store.dispatch("BtnMode", i);
|
|
115
|
+
},
|
|
116
|
+
changePageSize(i) {
|
|
117
|
+
this.$store.dispatch("TablePageSize", i);
|
|
118
|
+
},
|
|
119
|
+
changeSize(i) {
|
|
120
|
+
this.$store.dispatch("TableSize", i);
|
|
121
|
+
},
|
|
122
|
+
changeLabelPosition(i) {
|
|
123
|
+
this.$store.dispatch("LabelPosition", i);
|
|
124
|
+
},
|
|
125
|
+
changeFormMode(i) {
|
|
126
|
+
this.$store.dispatch("FormMode", i);
|
|
127
|
+
},
|
|
128
|
+
toggle() {
|
|
129
|
+
this.visible = !this.visible;
|
|
130
|
+
},
|
|
131
|
+
async changeColor(i) {
|
|
132
|
+
const e = this, t = this.primaryColor;
|
|
133
|
+
if (typeof i != "string")
|
|
134
|
+
return;
|
|
135
|
+
const s = this.$message({
|
|
136
|
+
message: e.$i18nt("gd.theme.switchingTopics"),
|
|
137
|
+
duration: 0,
|
|
138
|
+
iconClass: "el-icon-loading"
|
|
139
|
+
}), a = this.getThemeCluster(i.replace("#", "")), r = this.getThemeCluster(t.replace("#", "")), l = (d, c) => () => {
|
|
140
|
+
const u = this.getThemeCluster(this.primaryColor.replace("#", "")), m = this.updateStyle(this[d], u, a);
|
|
141
|
+
let g = document.getElementById(c);
|
|
142
|
+
g || (g = document.createElement("style"), g.setAttribute("id", c), document.head.appendChild(g)), g.innerText = m;
|
|
143
|
+
};
|
|
144
|
+
this.chalk || await import("./element-theme-chalk.fbb1a631.mjs").then((d) => {
|
|
145
|
+
this.chalk = d.default;
|
|
146
|
+
}), l("chalk", "chalk-style")(), [].slice.call(document.querySelectorAll("style")).filter((d) => {
|
|
147
|
+
const c = d.innerText;
|
|
148
|
+
return new RegExp(t, "i").test(c) && !/Chalk Variables/.test(c);
|
|
149
|
+
}).forEach((d) => {
|
|
150
|
+
const { innerText: c } = d;
|
|
151
|
+
typeof c == "string" && (d.innerText = this.updateStyle(c, r, a));
|
|
152
|
+
}), this.$store.dispatch("ToggleColor", i), window.document.body.style = `--color:${i}`, this.$nextTick(() => {
|
|
153
|
+
setTimeout(() => {
|
|
154
|
+
s.close();
|
|
155
|
+
}, 200);
|
|
156
|
+
});
|
|
157
|
+
},
|
|
158
|
+
updateStyle(i, e, t) {
|
|
159
|
+
let s = i;
|
|
160
|
+
return e.forEach((a, r) => {
|
|
161
|
+
s = s.replace(new RegExp(a, "ig"), t[r]);
|
|
162
|
+
}), s;
|
|
163
|
+
},
|
|
164
|
+
getThemeCluster(i) {
|
|
165
|
+
const e = (a, r) => {
|
|
166
|
+
let l = parseInt(a.slice(0, 2), 16), n = parseInt(a.slice(2, 4), 16), o = parseInt(a.slice(4, 6), 16);
|
|
167
|
+
return r === 0 ? [l, n, o].join(",") : (l += Math.round(r * (255 - l)), n += Math.round(r * (255 - n)), o += Math.round(r * (255 - o)), l = l.toString(16), n = n.toString(16), o = o.toString(16), `#${l}${n}${o}`);
|
|
168
|
+
}, t = (a, r) => {
|
|
169
|
+
let l = parseInt(a.slice(0, 2), 16), n = parseInt(a.slice(2, 4), 16), o = parseInt(a.slice(4, 6), 16);
|
|
170
|
+
return l = Math.round((1 - r) * l), n = Math.round((1 - r) * n), o = Math.round((1 - r) * o), l = l.toString(16), n = n.toString(16), o = o.toString(16), `#${l}${n}${o}`;
|
|
171
|
+
}, s = [i];
|
|
172
|
+
for (let a = 0; a <= 9; a++)
|
|
173
|
+
s.push(e(i, Number((a / 10).toFixed(2))));
|
|
174
|
+
return s.push(t(i, 0.1)), s;
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
created() {
|
|
178
|
+
this.languages = this.language, this.tableSizes = this.tableSize, this.tablePageSizes = this.tablePageSize, this.btnModes = this.btnMode, this.formModes = this.formMode, this.multiTabed = this.multiTab, this.labelPositions = this.labelPosition, this.navMenuThemes = this.navMenuTheme;
|
|
179
|
+
let i = this.menusWidth ? this.menusWidth.split("&") : ["default"];
|
|
180
|
+
this.menusWidthed = i[0], this.menusWid = i[1] ? Number(i[1]) : this.getMenusWidthed, this.primaryColor && (this.primaryColors = this.primaryColor, this.changeColor(this.primaryColor));
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
var y = function() {
|
|
184
|
+
var e = this, t = e._self._c;
|
|
185
|
+
return t("div", { staticClass: "gd-setting" }, [t("el-drawer", { attrs: { visible: e.visible, "with-header": !1, "append-to-body": !0, "modal-append-to-body": !1, size: 300 }, on: { "update:visible": function(s) {
|
|
186
|
+
e.visible = s;
|
|
187
|
+
} } }, [t("div", { staticClass: "setting-item" }, [t("div", { staticClass: "setting-item-title" }, [e._v(" " + e._s(e.$i18nt("gd.settings.overallStyle", "\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E")) + " ")])]), t("div", { staticClass: "setting-item", staticStyle: { "padding-top": "12px" } }, [t("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.settings.brightMenuStyle", "\u4EAE\u8272\u83DC\u5355\u98CE\u683C"), placement: "top" } }, [t("div", { staticClass: "setting-drawer-index-item", on: { click: function(s) {
|
|
188
|
+
return e.handleMenuTheme("light");
|
|
189
|
+
} } }, [t("img", { attrs: { src: v, alt: "light" } }), e.theme === "light" ? t("i", { staticClass: "el-icon-check active-color" }) : e._e()])]), t("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.settings.darkMenuStyle", "\u6697\u8272\u83DC\u5355\u98CE\u683C"), placement: "top" } }, [t("div", { staticClass: "setting-drawer-index-item", on: { click: function(s) {
|
|
190
|
+
return e.handleMenuTheme("dark");
|
|
191
|
+
} } }, [t("img", { attrs: { src: b, alt: "dark" } }), e.theme === "dark" ? t("i", { staticClass: "el-icon-check active-color" }) : e._e()])]), t("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.settings.doubleDarkMenuStyle", "\u53CC\u6697\u8272\u83DC\u5355\u98CE\u683C"), placement: "top" } }, [t("div", { staticClass: "setting-drawer-index-item", on: { click: function(s) {
|
|
192
|
+
return e.handleMenuTheme("doubledark");
|
|
193
|
+
} } }, [t("img", { attrs: { src: C, alt: "doubledark" } }), e.theme === "doubledark" ? t("i", { staticClass: "el-icon-check active-color" }) : e._e()])])], 1), t("el-divider", { staticClass: "setting-divider" }), t("div", { staticClass: "setting-item" }, [t("div", { staticClass: "setting-item-title" }, [e._v(" " + e._s(e.$i18nt("gd.settings.theme", "\u4E3B\u9898\u8272")) + " ")]), t("div", { staticClass: "setting-item-dao" }, [t("el-color-picker", { ref: "colorPicker", staticClass: "theme-picker", attrs: { size: "mini", predefine: e.predefine, "popper-class": "theme-picker-dropdown" }, on: { change: e.changeColor }, model: { value: e.primaryColors, callback: function(s) {
|
|
194
|
+
e.primaryColors = s;
|
|
195
|
+
}, expression: "primaryColors" } })], 1)]), t("el-divider", { staticClass: "setting-divider" }), e.navMenuThemes !== "customize" ? [t("div", { staticClass: "setting-item" }, [t("div", { staticClass: "setting-item-title" }, [e._v(e._s(e.$i18nt("gd.settings.menuStyle", "\u83DC\u5355\u98CE\u683C")))]), t("div", { staticClass: "setting-item-dao" }, [t("el-select", { staticStyle: { width: "130px" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select"), size: "mini", teleported: !1, disabled: e.navMenuThemes === "customize" }, on: { change: e.changeMenuStyle }, model: { value: e.navMenuThemes, callback: function(s) {
|
|
196
|
+
e.navMenuThemes = s;
|
|
197
|
+
}, expression: "navMenuThemes" } }, [t("el-option", { attrs: { value: "vertical", label: e.$i18nt("gd.settings.verticalInsertion", "\u5782\u76F4\u5212\u5165") } }), t("el-option", { attrs: { value: "fold", label: e.$i18nt("gd.settings.horizontalFold", "\u6C34\u5E73\u6298\u53E0") } })], 1)], 1)]), t("el-divider", { staticClass: "setting-divider" })] : e._e(), e.navMenuThemes === "vertical" ? [t("div", { staticClass: "setting-item" }, [t("div", { staticClass: "setting-item-title" }, [e._v(e._s(e.$i18nt("gd.settings.menusWidth", "\u83DC\u5355\u533A\u57DF\u5BBD\u5EA6")))]), t("div", { staticClass: "setting-item-dao" }, [t("el-select", { staticStyle: { width: "130px" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select"), size: "mini", teleported: !1 }, on: { change: e.changeMenusWidth }, model: { value: e.menusWidthed, callback: function(s) {
|
|
198
|
+
e.menusWidthed = s;
|
|
199
|
+
}, expression: "menusWidthed" } }, [t("el-option", { attrs: { value: "default", label: e.$i18nt("gd.settings.default", "\u9ED8\u8BA4") } }), t("el-option", { attrs: { value: "secondary", label: e.$i18nt("gd.settings.secondary", "\u4E2D\u7B49") } }), t("el-option", { attrs: { value: "big", label: e.$i18nt("gd.form.tabLarge", "\u5927") } }), t("el-option", { attrs: { value: "custom", label: e.$i18nt("gd.settings.custom", "\u81EA\u5B9A\u4E49") } })], 1)], 1)]), e.menusWidthed === "custom" ? t("div", { staticClass: "setting-item", staticStyle: { "margin-top": "12px" } }, [t("div", { staticClass: "setting-item-title" }), t("div", { staticClass: "setting-item-dao" }, [t("el-input-number", { attrs: { slot: "actions", placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right", min: 300, max: 3e4, step: 20, size: "small" }, on: { change: e.changeMenusWid }, slot: "actions", model: { value: e.menusWid, callback: function(s) {
|
|
200
|
+
e.menusWid = s;
|
|
201
|
+
}, expression: "menusWid" } })], 1)]) : e._e(), t("el-divider", { staticClass: "setting-divider" })] : e._e(), t("div", { staticClass: "setting-item" }, [t("div", { staticClass: "setting-item-title" }, [e._v(e._s(e.$i18nt("gd.settings.language", "\u8BED\u8A00")))]), t("div", { staticClass: "setting-item-dao" }, [t("el-select", { staticStyle: { width: "130px" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select"), size: "mini", teleported: !1 }, on: { change: e.changeLanguage }, model: { value: e.languages, callback: function(s) {
|
|
202
|
+
e.languages = s;
|
|
203
|
+
}, expression: "languages" } }, [e._l(e.languagesList, function(s) {
|
|
204
|
+
return [t("el-option", { attrs: { value: s.code, label: e.$i18nt(s.transKey) } })];
|
|
205
|
+
})], 2)], 1)]), t("el-divider", { staticClass: "setting-divider" }), t("div", { staticClass: "setting-item" }, [t("div", { staticClass: "setting-item-title" }, [e._v(e._s(e.$i18nt("gd.settings.btnModes", "\u6309\u94AE\u663E\u793A")))]), t("div", { staticClass: "setting-item-dao" }, [t("el-select", { staticStyle: { width: "130px" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select"), size: "mini", teleported: !1 }, on: { change: e.changeBtnMode }, model: { value: e.btnModes, callback: function(s) {
|
|
206
|
+
e.btnModes = s;
|
|
207
|
+
}, expression: "btnModes" } }, [t("el-option", { attrs: { value: "btn", label: e.$i18nt("gd.settings.button", "\u6309\u94AE") } }), t("el-option", { attrs: { value: "text", label: e.$i18nt("gd.settings.text", "\u6587\u672C") } })], 1)], 1)]), t("el-divider", { staticClass: "setting-divider" }), t("div", { staticClass: "setting-item" }, [t("div", { staticClass: "setting-item-title" }, [e._v(e._s(e.$i18nt("gd.settings.tableSize", "\u8868\u683C\u5927\u5C0F")))]), t("div", { staticClass: "setting-item-dao" }, [t("el-select", { staticStyle: { width: "130px" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select"), size: "mini" }, on: { change: e.changeSize }, model: { value: e.tableSizes, callback: function(s) {
|
|
208
|
+
e.tableSizes = s;
|
|
209
|
+
}, expression: "tableSizes" } }, [t("el-option", { attrs: { value: "medium", label: e.$i18nt("gd.settings.default", "\u9ED8\u8BA4") } }), t("el-option", { attrs: { value: "small", label: e.$i18nt("gd.settings.secondary", "\u4E2D\u7B49") } }), t("el-option", { attrs: { value: "mini", label: e.$i18nt("gd.settings.compact", "\u7D27\u51D1") } })], 1)], 1)]), t("el-divider", { staticClass: "setting-divider" }), t("div", { staticClass: "setting-item" }, [t("div", { staticClass: "setting-item-title" }, [e._v(e._s(e.$i18nt("gd.settings.tablePageSize", "\u8868\u683C\u9875\u5BB9\u91CF")))]), t("div", { staticClass: "setting-item-dao" }, [t("el-select", { staticStyle: { width: "130px" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select"), size: "mini" }, on: { change: e.changePageSize }, model: { value: e.tablePageSizes, callback: function(s) {
|
|
210
|
+
e.tablePageSizes = s;
|
|
211
|
+
}, expression: "tablePageSizes" } }, e._l(e.pageSizeOptions, function(s) {
|
|
212
|
+
return t("el-option", { key: s, attrs: { value: s, label: `${s}${e.$i18nt("el.pagination.pagesize")}` } });
|
|
213
|
+
}), 1)], 1)]), t("el-divider", { staticClass: "setting-divider" }), t("div", { staticClass: "setting-item" }, [t("div", { staticClass: "setting-item-title" }, [e._v(e._s(e.$i18nt("gd.settings.formMode", "\u8868\u5355\u6253\u5F00\u6A21\u5F0F")))]), t("div", { staticClass: "setting-item-dao" }, [t("el-select", { staticStyle: { width: "130px" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select"), size: "mini" }, on: { change: e.changeFormMode }, model: { value: e.formModes, callback: function(s) {
|
|
214
|
+
e.formModes = s;
|
|
215
|
+
}, expression: "formModes" } }, [t("el-option", { attrs: { value: "dialog", label: e.$i18nt("gd.settings.dialog", "\u4E2D\u95F4\u5F39\u7A97") } }), t("el-option", { attrs: { value: "drawer", label: e.$i18nt("gd.settings.drawer", "\u53F3\u4FA7\u62BD\u5C49") } })], 1)], 1)]), t("el-divider", { staticClass: "setting-divider" }), t("div", { staticClass: "setting-item" }, [t("div", { staticClass: "setting-item-title" }, [e._v(e._s(e.$i18nt("gd.settings.labelPosition", "\u8868\u5355\u6807\u7B7E\u4F4D\u7F6E")))]), t("div", { staticClass: "setting-item-dao" }, [t("el-select", { staticStyle: { width: "130px" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select"), size: "mini" }, on: { change: e.changeLabelPosition }, model: { value: e.labelPositions, callback: function(s) {
|
|
216
|
+
e.labelPositions = s;
|
|
217
|
+
}, expression: "labelPositions" } }, [t("el-option", { attrs: { value: "right", label: e.$i18nt("gd.settings.right", "\u53F3\u8FB9") } }), t("el-option", { attrs: { value: "left", label: e.$i18nt("gd.settings.left", "\u5DE6\u8FB9") } }), t("el-option", { attrs: { value: "top", label: e.$i18nt("gd.settings.top", "\u4E0A\u8FB9") } })], 1)], 1)]), t("el-divider", { staticClass: "setting-divider" }), t("div", { staticClass: "setting-item" }, [t("div", { staticClass: "setting-item-title" }, [e._v(e._s(e.$i18nt("gd.settings.multipleTabs", "\u591A\u9875\u7B7E\u6A21\u5F0F")))]), t("div", { staticClass: "setting-item-dao" }, [t("el-switch", { attrs: { "active-color": e.primaryColor }, on: { change: e.onMultiTab }, model: { value: e.multiTabed, callback: function(s) {
|
|
218
|
+
e.multiTabed = s;
|
|
219
|
+
}, expression: "multiTabed" } })], 1)])], 2)], 1);
|
|
220
|
+
}, M = [], S = /* @__PURE__ */ A(
|
|
221
|
+
f,
|
|
222
|
+
y,
|
|
223
|
+
M,
|
|
224
|
+
!1,
|
|
225
|
+
null,
|
|
226
|
+
"4902cf87",
|
|
227
|
+
null,
|
|
228
|
+
null
|
|
229
|
+
);
|
|
230
|
+
const _ = S.exports, k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
231
|
+
__proto__: null,
|
|
232
|
+
default: _
|
|
233
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
234
|
+
export {
|
|
235
|
+
h as c,
|
|
236
|
+
k as m
|
|
237
|
+
};
|