gds-plus-design-vue 1.2.62 → 1.2.63
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.5036013c.js +1 -0
- package/lib/addPermission.9fc97a47.mjs +421 -0
- package/lib/approvalModel.51d07afe.mjs +340 -0
- package/lib/approvalModel.66f49dfb.js +1 -0
- package/lib/attribute.318f485c.js +1 -0
- package/lib/attribute.a06ac9e7.mjs +237 -0
- package/lib/buildItem.6a834227.js +1 -0
- package/lib/buildItem.fd8634ab.mjs +205 -0
- package/lib/businessRules.0e4dbb3a.js +1 -0
- package/lib/businessRules.db6ba874.mjs +538 -0
- package/lib/components.chartbi.b043dcdc.mjs +1729 -0
- package/lib/components.chartbi.e4680eaa.js +7 -0
- package/lib/components.coloreditor.044983d2.mjs +1505 -0
- package/lib/components.coloreditor.779a9419.js +6 -0
- package/lib/components.dataassign.1853ed5c.js +1 -0
- package/lib/components.dataassign.56632583.mjs +147 -0
- package/lib/components.echarts.10d3ffe2.mjs +794 -0
- package/lib/components.echarts.e4d6b13e.js +3 -0
- package/lib/components.exception.3cc33e29.js +1 -0
- package/lib/components.exception.cc2f4ca3.mjs +61 -0
- package/lib/components.form.3344c817.mjs +7785 -0
- package/lib/components.form.91d5ed3e.js +41 -0
- package/lib/components.globalheader.07a90c4b.js +1 -0
- package/lib/components.globalheader.43fafa8c.mjs +54 -0
- package/lib/components.iconselector.8caabeaa.mjs +1165 -0
- package/lib/components.iconselector.d712170f.js +1 -0
- package/lib/components.imgpreview.57290b54.mjs +213 -0
- package/lib/components.imgpreview.86bf7971.js +1 -0
- package/lib/components.lunccalendar.76159d2e.js +1 -0
- package/lib/components.lunccalendar.f6765c94.mjs +1137 -0
- package/lib/components.middleware.3bad5748.js +1 -0
- package/lib/components.middleware.457b1182.mjs +147 -0
- package/lib/components.modaltitle.ae92f96c.mjs +127 -0
- package/lib/components.modaltitle.e0b34fcb.js +1 -0
- package/lib/components.multitab.82fd0544.js +1 -0
- package/lib/components.multitab.8441aa6b.mjs +140 -0
- package/lib/components.selecttree.85d940a9.mjs +170 -0
- package/lib/components.selecttree.d710a362.js +1 -0
- package/lib/components.settingdrawer.779f6715.js +1 -0
- package/lib/components.settingdrawer.a6693034.mjs +237 -0
- package/lib/components.sidemenu.725677e3.mjs +277 -0
- package/lib/components.sidemenu.80e46c2d.js +1 -0
- package/lib/components.sidenavmenu.23b8edce.mjs +1331 -0
- package/lib/components.sidenavmenu.b9bb9304.js +1 -0
- package/lib/components.statuschange.15938660.mjs +116 -0
- package/lib/components.statuschange.ed1218a4.js +1 -0
- package/lib/components.table.17c02054.js +8 -0
- package/lib/components.table.e3e5e3bc.mjs +4635 -0
- package/lib/components.tableumy.2f5dfa12.mjs +450 -0
- package/lib/components.tableumy.9cf33062.js +1 -0
- package/lib/components.tablevirtual.38d4d3d8.js +1 -0
- package/lib/components.tablevirtual.ba03746e.mjs +561 -0
- package/lib/components.teamsharing.05503821.js +1 -0
- package/lib/components.teamsharing.fb4351ec.mjs +373 -0
- package/lib/components.tooltip.950dc77b.mjs +86 -0
- package/lib/components.tooltip.a05d8dd1.js +1 -0
- package/lib/components.uploadfile.10f6cb2a.mjs +228 -0
- package/lib/components.uploadfile.5a9b6cc1.js +1 -0
- package/lib/components.uploadimg.cce7452a.js +1 -0
- package/lib/components.uploadimg.f4fe4e77.mjs +192 -0
- package/lib/components.verificationcode.afb9aa1a.mjs +71 -0
- package/lib/components.verificationcode.d1946db4.js +1 -0
- package/lib/components.viewformdetails.1621bc18.js +1 -0
- package/lib/components.viewformdetails.f362d69e.mjs +1048 -0
- package/lib/components.viewloading.807bbf68.js +1 -0
- package/lib/components.viewloading.ea40b244.mjs +96 -0
- package/lib/components.watermark.1ffc66e0.mjs +53 -0
- package/lib/components.watermark.da3d7220.js +2 -0
- package/lib/components.xlsxexport.d98572f8.mjs +263 -0
- package/lib/components.xlsxexport.f5ace2cd.js +1 -0
- package/lib/components.xlsximport.cffa88fe.mjs +913 -0
- package/lib/components.xlsximport.dbd826bb.js +1 -0
- package/lib/createFile.6b37ecf2.js +1 -0
- package/lib/createFile.82d6e415.mjs +239 -0
- package/lib/createSubfolders.47af629c.js +1 -0
- package/lib/createSubfolders.d35b97e9.mjs +154 -0
- package/lib/dialogLayout.08823bb7.js +1 -0
- package/lib/dialogLayout.c4bc3b55.mjs +138 -0
- package/lib/drawerContainer.604a1271.mjs +146 -0
- package/lib/drawerContainer.6a9813ce.js +1 -0
- package/lib/drawerLayout.36cf4d05.js +1 -0
- package/lib/drawerLayout.fb60950f.mjs +119 -0
- package/lib/fileSearch.65311ded.js +1 -0
- package/lib/fileSearch.86c356fe.mjs +338 -0
- package/lib/flow.designer.1ba3a90d.js +1 -0
- package/lib/flow.designer.6da03949.mjs +7686 -0
- package/lib/flow.list.03694808.mjs +3030 -0
- package/lib/flow.list.4eb10554.js +1 -0
- package/lib/form.build.51bd261e.js +1 -0
- package/lib/form.build.b768d613.mjs +251 -0
- package/lib/form.designer.build.5a950455.js +1 -0
- package/lib/form.designer.build.e521c9c6.mjs +5091 -0
- package/lib/formFiled.464856f5.js +1 -0
- package/lib/formFiled.fe7d9df3.mjs +505 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +221 -91338
- package/lib/http.appmanage.4554a629.mjs +50 -0
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.codegeneratemanage.2f925b10.mjs +112 -0
- package/lib/http.codegeneratemanage.aecadd5d.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.4baf16c0.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.77c69971.mjs +50 -0
- package/lib/http.duplicatechecking.31964ce7.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.7c656b91.js +1 -0
- package/lib/http.filedocument.d456d26a.mjs +156 -0
- package/lib/http.filemanage.7e6e3e1a.js +1 -0
- package/lib/http.filemanage.c0de21d6.mjs +71 -0
- package/lib/http.languagemanage.2ef16159.mjs +10 -0
- package/lib/http.languagemanage.e2c098ec.js +1 -0
- package/lib/http.loginmanage.05500c29.mjs +74 -0
- package/lib/http.loginmanage.326984c3.js +1 -0
- package/lib/http.logmanage.1e12a9bd.js +1 -0
- package/lib/http.logmanage.8ba72635.mjs +82 -0
- package/lib/http.machinemanage.29d72a65.js +1 -0
- package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
- package/lib/http.main.2f8a6936.js +1 -0
- package/lib/http.main.40657f51.mjs +517 -0
- package/lib/http.menumanage.3240ba0d.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.5004bf60.mjs +178 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.e03bd5f3.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.5162fd7a.js +1 -0
- package/lib/http.orgmanage.84e43edb.mjs +58 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.pluginmanage.6bc6197f.mjs +82 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.c7912f6c.mjs +42 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.rolemanage.03363732.js +1 -0
- package/lib/http.rolemanage.dbf3fda1.mjs +114 -0
- package/lib/http.solution.175d36c8.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.608a06d6.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.e294ceaf.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.1d370398.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.c8487c0b.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.01dbc1a2.mjs +146 -0
- package/lib/http.timersmanage.6e894942.js +1 -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.a4640c9a.mjs +104 -0
- package/lib/http.useraffiliation.840741ed.mjs +90 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.usermanage.3e5eff33.mjs +219 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.webresource.5158b431.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- package/lib/index.69ad4631.mjs +44291 -0
- package/lib/index.cca024bf.js +8 -0
- package/lib/layoutBlocks.1a9e3e05.mjs +204 -0
- package/lib/layoutBlocks.5e6be06f.js +1 -0
- package/lib/layouts.051a0bba.mjs +376 -0
- package/lib/layouts.a6a36612.js +2 -0
- package/lib/main.457f4326.js +1 -0
- package/lib/main.4fff412e.js +1 -0
- package/lib/{main.c569c0a5.mjs → main.70357352.mjs} +12 -10
- package/lib/main.77373aa4.mjs +441 -0
- package/lib/{main.fb4a8edf.mjs → main.7f44e3bf.mjs} +78 -143
- package/lib/main.8a2a590d.js +1 -0
- package/lib/main.ad1e8d4d.js +1 -0
- package/lib/{main.5a6c881a.mjs → main.b0e5e1b0.mjs} +9 -8
- package/lib/{main.7921130e.mjs → main.c1df94d8.mjs} +4 -4
- package/lib/main.c3726602.js +1 -0
- package/lib/manage.5bb4f719.js +1 -0
- package/lib/manage.a1df9b88.mjs +419 -0
- package/lib/messages.7b74736f.js +9 -0
- package/lib/{messages.5bcc42f9.mjs → messages.ad082386.mjs} +994 -1968
- package/lib/moveFile.0ce803e0.js +1 -0
- package/lib/moveFile.8310ea94.mjs +254 -0
- package/lib/page.build.685c1e15.mjs +3158 -0
- package/lib/page.build.846096e6.js +12 -0
- package/lib/personal.echarts.b22fba61.mjs +701 -0
- package/lib/personal.echarts.f77bfc9e.js +1 -0
- package/lib/result.19351665.mjs +526 -0
- package/lib/result.e59c0e40.js +1 -0
- package/lib/router.config.2501ec51.js +1 -0
- package/lib/router.config.98a73167.mjs +3172 -0
- package/lib/solution.58580123.js +1 -0
- package/lib/solution.890ff164.mjs +6942 -0
- package/lib/store.config.3cb11578.js +1 -0
- package/lib/store.config.fff8a5a1.mjs +542 -0
- package/lib/style.css +3 -3
- package/lib/system.account.014f3e0b.mjs +2097 -0
- package/lib/system.account.0d4f1fdc.js +216 -0
- package/lib/{system.config.00dd0a29.mjs → system.config.0899edb8.mjs} +7 -6
- package/lib/system.config.210f516c.js +1 -0
- package/lib/system.datasource.82492d27.js +1 -0
- package/lib/{system.datasource.eb8d16df.mjs → system.datasource.986768c9.mjs} +15 -64
- package/lib/{system.dict.787ff1ec.mjs → system.dict.ef24873d.mjs} +28 -107
- package/lib/system.dict.f5708400.js +1 -0
- package/lib/system.duplicatechecking.8e3a37c0.js +1 -0
- package/lib/system.duplicatechecking.dcf9f86b.mjs +742 -0
- package/lib/system.email.070ab2be.js +1 -0
- package/lib/system.email.252fd642.mjs +138 -0
- package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.0234d390.mjs} +224 -685
- package/lib/system.fieldsecurity.3ef07bf7.js +1 -0
- package/lib/system.file.17a7f2ed.js +1 -0
- package/lib/{system.file.eae6eac2.mjs → system.file.73eeb731.mjs} +8 -7
- package/lib/{system.log.9bf208c1.mjs → system.log.b86cf57f.mjs} +24 -93
- package/lib/system.log.fc60f5e6.js +1 -0
- package/lib/{system.machine.0130e762.mjs → system.machine.0114001b.mjs} +5 -25
- package/lib/system.machine.f1d95c86.js +1 -0
- package/lib/{system.notice.dba4c597.mjs → system.notice.25ea8dca.mjs} +292 -474
- package/lib/system.notice.96c770a6.js +1 -0
- package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.369f634c.mjs} +17 -24
- package/lib/system.noticereceived.dfe4ecc7.js +1 -0
- package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.2dc284b1.mjs} +11 -24
- package/lib/system.onlineuser.e2e39bdc.js +1 -0
- package/lib/system.org.79ee5bd6.js +1 -0
- package/lib/{system.org.6da23c73.mjs → system.org.c20fe6b2.mjs} +3 -3
- package/lib/system.permissions.90f73461.js +9 -0
- package/lib/{system.permissions.fdad3c36.mjs → system.permissions.c3d34921.mjs} +4 -3
- package/lib/{system.plugin.f8765f96.mjs → system.plugin.45a0f530.mjs} +23 -93
- package/lib/system.plugin.b34a3b47.js +1 -0
- package/lib/system.pos.0a3d2a37.js +1 -0
- package/lib/{system.pos.5645b45a.mjs → system.pos.7946a99c.mjs} +31 -62
- package/lib/system.promptmanagement.b5fa6b2d.js +1 -0
- package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.d7250932.mjs} +153 -288
- package/lib/system.role.03be0982.js +1 -0
- package/lib/{system.role.0c6c327d.mjs → system.role.75da7929.mjs} +8 -5
- package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.4a1376a6.mjs} +13 -39
- package/lib/system.sumberrules.bb228fce.js +1 -0
- package/lib/system.team.32183b63.js +1 -0
- package/lib/system.team.e6a9608e.mjs +450 -0
- package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.4a7e7339.mjs} +135 -82
- package/lib/system.teammembers.847d8ea7.js +1 -0
- package/lib/system.timers.28691ce4.js +38 -0
- package/lib/{system.timers.63d03fc9.mjs → system.timers.eb0b6f3e.mjs} +50 -174
- package/lib/system.translation.6237f071.js +1 -0
- package/lib/{system.translation.52452a24.mjs → system.translation.e34f0891.mjs} +5 -5
- package/lib/{system.user.8d97a219.mjs → system.user.fa2d2997.mjs} +17 -16
- package/lib/{system.user.49457fd3.js → system.user.fca3f2d6.js} +5 -5
- package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.518e341e.mjs} +4 -3
- package/lib/system.useraffiliation.7547b9c7.js +1 -0
- package/lib/system.webresource.12712b90.js +1 -0
- package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.469db736.mjs} +16 -58
- package/lib/{system.welcome.14785b50.mjs → system.welcome.191e98f5.mjs} +10 -3
- package/lib/system.welcome.f64e49f8.js +1 -0
- package/lib/tcheckboxs.090e75eb.mjs +52 -0
- package/lib/tcheckboxs.99361be3.js +1 -0
- package/lib/tcurrency.0ddac2f8.mjs +92 -0
- package/lib/tcurrency.62763c6d.js +1 -0
- package/lib/tdatepicker.8fe48b1b.mjs +52 -0
- package/lib/tdatepicker.b19e689d.js +1 -0
- package/lib/tdictSwitch.2e07dc8a.js +1 -0
- package/lib/tdictSwitch.43d882c7.mjs +60 -0
- package/lib/tfile.1bc381f9.js +1 -0
- package/lib/tfile.72925615.mjs +62 -0
- package/lib/tparticipants.77b876e2.js +1 -0
- package/lib/tparticipants.ca5b556c.mjs +56 -0
- package/lib/translation.mains.1ce7e110.js +1 -0
- package/lib/translation.mains.278e4ba6.mjs +383 -0
- package/lib/utils.datepicker.js.2076c2a2.mjs +61 -0
- package/lib/utils.datepicker.js.8576e2fc.js +1 -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.util.js.50d1ec9c.js +1 -0
- package/lib/utils.util.js.82cd8447.mjs +424 -0
- package/lib/view.build.b44fd7d7.js +1 -0
- package/lib/view.build.f2a9fcfb.mjs +2727 -0
- package/lib/viewList.5a25c4b6.mjs +346 -0
- package/lib/viewList.be5a5ec5.js +1 -0
- package/locale/en_US.js +38 -22
- package/locale/id_ID.js +22 -6
- package/locale/vi_VN.js +1929 -1913
- package/locale/zh_CN.js +44 -28
- package/package.json +106 -105
- package/lib/chartbi.114d32d7.js +0 -60
- package/lib/chartbi.eb4dd0af.mjs +0 -27639
- package/lib/main.083e0ba3.js +0 -1
- package/lib/main.4a858284.js +0 -1
- package/lib/main.64cb2027.js +0 -1
- package/lib/main.70a46cbc.js +0 -1
- package/lib/messages.364eb728.js +0 -9
- package/lib/system.account.95bd8508.js +0 -216
- package/lib/system.account.d6c7485b.mjs +0 -2552
- package/lib/system.config.63c0217d.js +0 -1
- package/lib/system.datasource.a2c0bad4.js +0 -1
- package/lib/system.dict.dfb4c376.js +0 -1
- package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
- package/lib/system.duplicatechecking.c4141ebd.js +0 -1
- package/lib/system.email.545cedff.mjs +0 -7432
- package/lib/system.email.ec0ac728.js +0 -41
- package/lib/system.fieldsecurity.eb217079.js +0 -1
- package/lib/system.file.1cb952a4.js +0 -1
- package/lib/system.log.348b3605.js +0 -1
- package/lib/system.machine.49fc6405.js +0 -1
- package/lib/system.notice.d7a3346d.js +0 -1
- package/lib/system.noticereceived.c0b24616.js +0 -1
- package/lib/system.onlineuser.b3c94b5b.js +0 -1
- package/lib/system.org.30063246.js +0 -1
- package/lib/system.permissions.1ff855c2.js +0 -9
- package/lib/system.plugin.2c7c8a5a.js +0 -1
- package/lib/system.pos.21294c28.js +0 -1
- package/lib/system.promptmanagement.7e8da777.js +0 -1
- package/lib/system.role.078fac85.js +0 -1
- package/lib/system.sumberrules.b0252f77.js +0 -1
- package/lib/system.team.296512d7.mjs +0 -1000
- package/lib/system.team.5d6169bc.js +0 -1
- package/lib/system.teammembers.313345f7.js +0 -1
- package/lib/system.timers.8246e6ba.js +0 -38
- package/lib/system.translation.fdff4956.js +0 -1
- package/lib/system.useraffiliation.0e9da6a8.js +0 -1
- package/lib/system.webresource.2a341e05.js +0 -1
- package/lib/system.welcome.c9eefa06.js +0 -1
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { m as A, n as v } from "./components.chartbi.b043dcdc.mjs";
|
|
2
|
+
const u = [{
|
|
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
|
+
}], b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAtCAMAAADWf7iKAAAAOVBMVEUAAAAAAAAAAAAAAADu8PP+/v/6+vv4+fnf4uT1+/sAAAC/v7+ip6f19fVwc3OChoby9vbw8vX///9pVttoAAAAEXRSTlMABTkQ8/fp57xPKWhgSUk/OZz1RfcAAABbSURBVEjH7c1JDoBACABBRpjFcef/jzUQ74JRT/S90vC0MbO5slyGXe2Ksg9VMYmdpUBvo+OmQIECBQr0ESJFxYeaosmFaBMEOFczorYiSAn7YK6jjJQ5gl87Abbjgzgo9LBPAAAAAElFTkSuQmCC", C = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAtCAMAAADWf7iKAAAAP1BMVEUAAAAAAAAAAAAAAABtcYDu8PNcYW/8/Pzf4uReZW6qr7Z4fHwAAAAAAADt7/L19fXy9vbw8vUyNUn///88QVFmWFQxAAAAEXRSTlMABTkQ9/Tr5bxkT0Q1KfBJOTNg+qgAAABnSURBVEjH7cs7EoAgDAVAEBUQ8IO5/1kd3lhYaeI4Vtl+zVtTT/Viv+OX86BwEqxIfRUl344lfgLbUtX0YdoeaNKkSZMmbiJZGpBGWQpIkSRpTqZxcSRuGkJySNaV3DHlgoMmYH51AAGvhJkKRva7AAAAAElFTkSuQmCC", f = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAtCAMAAADWf7iKAAAAM1BMVEUAAADw8vUyNUn8/Pz4+PjGxsb19fU7QFHs7e3Q09Vtcn9kZ3bk5uje3uDX2NjKysrAw8bSxWzYAAAAAXRSTlMAQObYZgAAAGtJREFUSMftz7sOgCAMhWGlSLnD+z+tBU1MXGwZnPqPJ/mGs60WEhpmGMttJmGzPAwkIyoCIYsyhJaQM8KcogfBe9w/AkWKFClSxES4gpIM+Yk6ilCZyPeIbJTrTmao0A5mrdKlS1l+QObHTi8KDtXr7vnFAAAAAElFTkSuQmCC";
|
|
24
|
+
const y = {
|
|
25
|
+
name: "GdSettingDrawer",
|
|
26
|
+
data() {
|
|
27
|
+
return {
|
|
28
|
+
visible: !1,
|
|
29
|
+
colorList: u,
|
|
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 u.forEach((e) => {
|
|
77
|
+
i.push(e.color);
|
|
78
|
+
}), i;
|
|
79
|
+
},
|
|
80
|
+
...A([
|
|
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 m = this.getThemeCluster(this.primaryColor.replace("#", "")), p = this.updateStyle(this[d], m, a);
|
|
141
|
+
let g = document.getElementById(c);
|
|
142
|
+
g || (g = document.createElement("style"), g.setAttribute("id", c), document.head.appendChild(g)), g.innerText = p;
|
|
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 M = 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: b, 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: C, 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: f, 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
|
+
}, S = [], $ = /* @__PURE__ */ v(
|
|
221
|
+
y,
|
|
222
|
+
M,
|
|
223
|
+
S,
|
|
224
|
+
!1,
|
|
225
|
+
null,
|
|
226
|
+
"4902cf87",
|
|
227
|
+
null,
|
|
228
|
+
null
|
|
229
|
+
);
|
|
230
|
+
const h = $.exports;
|
|
231
|
+
h.install = function(i) {
|
|
232
|
+
i.component(h.name, h);
|
|
233
|
+
};
|
|
234
|
+
export {
|
|
235
|
+
h as G,
|
|
236
|
+
u as c
|
|
237
|
+
};
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import { u as a } from "./utils.util.js.82cd8447.mjs";
|
|
2
|
+
import { n as c } from "./components.chartbi.b043dcdc.mjs";
|
|
3
|
+
const o = [{
|
|
4
|
+
name: "organization",
|
|
5
|
+
path: "/organization",
|
|
6
|
+
component: "PageView",
|
|
7
|
+
redirect: "/organization/org",
|
|
8
|
+
transKey: null,
|
|
9
|
+
pid: 0,
|
|
10
|
+
id: 0,
|
|
11
|
+
meta: {
|
|
12
|
+
title: "\u7EC4\u7EC7",
|
|
13
|
+
icon: "gd-icon-zuzhi1"
|
|
14
|
+
},
|
|
15
|
+
children: [{
|
|
16
|
+
name: "organization_org",
|
|
17
|
+
path: "/organization/org",
|
|
18
|
+
component: "GdPlatformOrg",
|
|
19
|
+
transKey: null,
|
|
20
|
+
pid: 0,
|
|
21
|
+
id: 0,
|
|
22
|
+
meta: {
|
|
23
|
+
title: "\u673A\u6784\u7BA1\u7406",
|
|
24
|
+
icon: "gd-icon-jigouguanli"
|
|
25
|
+
}
|
|
26
|
+
}, {
|
|
27
|
+
name: "organization_pos",
|
|
28
|
+
path: "/organization/pos",
|
|
29
|
+
component: "GdPlatformPos",
|
|
30
|
+
transKey: null,
|
|
31
|
+
pid: 0,
|
|
32
|
+
id: 0,
|
|
33
|
+
meta: {
|
|
34
|
+
title: "\u804C\u4F4D\u7BA1\u7406",
|
|
35
|
+
icon: "gd-icon-zhiweixinxi"
|
|
36
|
+
}
|
|
37
|
+
}]
|
|
38
|
+
}, {
|
|
39
|
+
name: "management",
|
|
40
|
+
path: "/management/user",
|
|
41
|
+
component: "GdPlatformUse",
|
|
42
|
+
transKey: null,
|
|
43
|
+
pid: 0,
|
|
44
|
+
id: 0,
|
|
45
|
+
meta: {
|
|
46
|
+
title: "\u7528\u6237",
|
|
47
|
+
icon: "gd-icon-group-fill"
|
|
48
|
+
},
|
|
49
|
+
children: []
|
|
50
|
+
}, {
|
|
51
|
+
name: "application",
|
|
52
|
+
path: "/application",
|
|
53
|
+
component: "GdApplication",
|
|
54
|
+
transKey: null,
|
|
55
|
+
pid: 0,
|
|
56
|
+
id: 0,
|
|
57
|
+
meta: {
|
|
58
|
+
title: "\u5E94\u7528",
|
|
59
|
+
icon: "gd-icon-page"
|
|
60
|
+
},
|
|
61
|
+
children: []
|
|
62
|
+
}, {
|
|
63
|
+
name: "tableDevelopment",
|
|
64
|
+
path: "/tableDevelopment",
|
|
65
|
+
component: "GdTableDevelopment",
|
|
66
|
+
transKey: null,
|
|
67
|
+
pid: 0,
|
|
68
|
+
id: 0,
|
|
69
|
+
meta: {
|
|
70
|
+
title: "\u8868\u5B9A\u4E49",
|
|
71
|
+
icon: "gd-icon-shujuku1"
|
|
72
|
+
},
|
|
73
|
+
children: []
|
|
74
|
+
}, {
|
|
75
|
+
name: "system",
|
|
76
|
+
path: "/system",
|
|
77
|
+
component: "PageView",
|
|
78
|
+
redirect: "/system/dict",
|
|
79
|
+
transKey: null,
|
|
80
|
+
pid: 0,
|
|
81
|
+
id: 0,
|
|
82
|
+
meta: {
|
|
83
|
+
title: "\u6570\u636E",
|
|
84
|
+
icon: "gd-icon-jichushuju"
|
|
85
|
+
},
|
|
86
|
+
children: [
|
|
87
|
+
{
|
|
88
|
+
name: "\u6570\u636E\u5B57\u5178",
|
|
89
|
+
path: "/system/dict",
|
|
90
|
+
component: "GdPlatformDict",
|
|
91
|
+
transKey: null,
|
|
92
|
+
pid: 0,
|
|
93
|
+
id: 0,
|
|
94
|
+
meta: {
|
|
95
|
+
title: "\u6570\u636E\u5B57\u5178",
|
|
96
|
+
icon: "gd-icon-zidianguanli"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: "\u5F02\u5E38\u65E5\u5FD7",
|
|
101
|
+
path: "/system/log/exlog",
|
|
102
|
+
component: "GdPlatformExlog",
|
|
103
|
+
transKey: null,
|
|
104
|
+
pid: 0,
|
|
105
|
+
id: 0,
|
|
106
|
+
meta: {
|
|
107
|
+
title: "\u5F02\u5E38\u65E5\u5FD7",
|
|
108
|
+
icon: "gd-icon-xitongrizhi1"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: "\u8BBF\u95EE\u65E5\u5FD7",
|
|
113
|
+
path: "/system/log/vislog",
|
|
114
|
+
component: "GdPlatformVislog",
|
|
115
|
+
transKey: null,
|
|
116
|
+
pid: 0,
|
|
117
|
+
id: 0,
|
|
118
|
+
meta: {
|
|
119
|
+
title: "\u8BBF\u95EE\u65E5\u5FD7",
|
|
120
|
+
icon: "gd-icon-xitongrizhi2"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
name: "\u64CD\u4F5C\u65E5\u5FD7",
|
|
125
|
+
path: "/system/log/oplog",
|
|
126
|
+
component: "GdPlatformOplog",
|
|
127
|
+
transKey: null,
|
|
128
|
+
pid: 0,
|
|
129
|
+
id: 0,
|
|
130
|
+
meta: {
|
|
131
|
+
title: "\u64CD\u4F5C\u65E5\u5FD7",
|
|
132
|
+
icon: "gd-icon-xitongrizhi4"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
name: "\u516C\u544A\u7BA1\u7406",
|
|
137
|
+
path: "/system/noticeReceived",
|
|
138
|
+
component: "GdPlatformNotice",
|
|
139
|
+
transKey: null,
|
|
140
|
+
pid: 0,
|
|
141
|
+
id: 0,
|
|
142
|
+
meta: {
|
|
143
|
+
title: "\u516C\u544A\u7BA1\u7406",
|
|
144
|
+
icon: "gd-icon-xitong"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
name: "\u670D\u52A1\u7CFB\u7EDF",
|
|
149
|
+
path: "/system/machine",
|
|
150
|
+
component: "GdPlatformMachine",
|
|
151
|
+
transKey: null,
|
|
152
|
+
pid: 0,
|
|
153
|
+
id: 0,
|
|
154
|
+
meta: {
|
|
155
|
+
title: "\u670D\u52A1\u7CFB\u7EDF",
|
|
156
|
+
icon: "gd-icon-xitong"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
name: "\u5728\u7EBF\u7528\u6237",
|
|
161
|
+
path: "/system/onlineUser",
|
|
162
|
+
component: "GdPlatformOnlineUser",
|
|
163
|
+
transKey: null,
|
|
164
|
+
pid: 0,
|
|
165
|
+
id: 0,
|
|
166
|
+
meta: {
|
|
167
|
+
title: "\u5728\u7EBF\u7528\u6237",
|
|
168
|
+
icon: "gd-icon-yonghu"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
name: "\u7CFB\u7EDF\u914D\u7F6E",
|
|
173
|
+
path: "/system/config",
|
|
174
|
+
component: "GdplatformConfig",
|
|
175
|
+
transKey: null,
|
|
176
|
+
pid: 0,
|
|
177
|
+
id: 0,
|
|
178
|
+
meta: {
|
|
179
|
+
title: "\u7CFB\u7EDF\u914D\u7F6E",
|
|
180
|
+
icon: "gd-icon-map-site"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
name: "\u4EFB\u52A1\u7BA1\u7406",
|
|
185
|
+
path: "/system/task",
|
|
186
|
+
component: "GdPlatformTask",
|
|
187
|
+
transKey: null,
|
|
188
|
+
pid: 0,
|
|
189
|
+
id: 0,
|
|
190
|
+
meta: {
|
|
191
|
+
title: "\u4EFB\u52A1\u7BA1\u7406",
|
|
192
|
+
icon: "gd-icon-map-site"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
name: "\u7CFB\u7EDF\u6587\u4EF6",
|
|
197
|
+
path: "/system/file",
|
|
198
|
+
component: "GdPlatformFile",
|
|
199
|
+
transKey: null,
|
|
200
|
+
pid: 0,
|
|
201
|
+
id: 0,
|
|
202
|
+
meta: {
|
|
203
|
+
title: "\u7CFB\u7EDF\u6587\u4EF6",
|
|
204
|
+
icon: "gd-icon-map-site"
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
}];
|
|
209
|
+
function s() {
|
|
210
|
+
const n = [];
|
|
211
|
+
return o.forEach((t) => {
|
|
212
|
+
let i = a();
|
|
213
|
+
n.push(Object.assign({
|
|
214
|
+
...t
|
|
215
|
+
}, {
|
|
216
|
+
id: i
|
|
217
|
+
})), t.children && t.children.length > 0 && t.children.forEach((e) => {
|
|
218
|
+
n.push(Object.assign({
|
|
219
|
+
...e
|
|
220
|
+
}, {
|
|
221
|
+
id: a(),
|
|
222
|
+
pid: i
|
|
223
|
+
}));
|
|
224
|
+
});
|
|
225
|
+
}), n;
|
|
226
|
+
}
|
|
227
|
+
const f = s(), m = o;
|
|
228
|
+
const r = {
|
|
229
|
+
data() {
|
|
230
|
+
return {
|
|
231
|
+
activeKey: ""
|
|
232
|
+
};
|
|
233
|
+
},
|
|
234
|
+
computed: {
|
|
235
|
+
menuData() {
|
|
236
|
+
let n = [];
|
|
237
|
+
return m.forEach((t) => {
|
|
238
|
+
t.children.filter((e) => e.path === this.$route.path)[0] && (n = t.children);
|
|
239
|
+
}), n;
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
methods: {
|
|
243
|
+
changeKey(n) {
|
|
244
|
+
this.activeKey = n.path, this.$router.push({
|
|
245
|
+
path: n.path
|
|
246
|
+
});
|
|
247
|
+
},
|
|
248
|
+
init() {
|
|
249
|
+
this.activeKey = this.$route.path;
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
created() {
|
|
253
|
+
this.init();
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
var d = function() {
|
|
257
|
+
var t = this, i = t._self._c;
|
|
258
|
+
return i("div", { staticClass: "gd-tagmenu" }, [t._l(t.menuData, function(e, l) {
|
|
259
|
+
return [i("div", { key: l, staticClass: "gd-tagmenu-item", class: t.activeKey === e.path ? "gd-active-bj" : "", on: { click: function(u) {
|
|
260
|
+
return t.changeKey(e);
|
|
261
|
+
} } }, [i("span", { staticClass: "gd-icons", class: e.meta.icon }, [t._v(t._s(e.meta.title))])])];
|
|
262
|
+
})], 2);
|
|
263
|
+
}, p = [], g = /* @__PURE__ */ c(
|
|
264
|
+
r,
|
|
265
|
+
d,
|
|
266
|
+
p,
|
|
267
|
+
!1,
|
|
268
|
+
null,
|
|
269
|
+
"50bfac41",
|
|
270
|
+
null,
|
|
271
|
+
null
|
|
272
|
+
);
|
|
273
|
+
const _ = g.exports;
|
|
274
|
+
export {
|
|
275
|
+
f as m,
|
|
276
|
+
_ as t
|
|
277
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const a=require("./utils.util.js.50d1ec9c.js"),l=require("./components.chartbi.e4680eaa.js"),o=[{name:"organization",path:"/organization",component:"PageView",redirect:"/organization/org",transKey:null,pid:0,id:0,meta:{title:"\u7EC4\u7EC7",icon:"gd-icon-zuzhi1"},children:[{name:"organization_org",path:"/organization/org",component:"GdPlatformOrg",transKey:null,pid:0,id:0,meta:{title:"\u673A\u6784\u7BA1\u7406",icon:"gd-icon-jigouguanli"}},{name:"organization_pos",path:"/organization/pos",component:"GdPlatformPos",transKey:null,pid:0,id:0,meta:{title:"\u804C\u4F4D\u7BA1\u7406",icon:"gd-icon-zhiweixinxi"}}]},{name:"management",path:"/management/user",component:"GdPlatformUse",transKey:null,pid:0,id:0,meta:{title:"\u7528\u6237",icon:"gd-icon-group-fill"},children:[]},{name:"application",path:"/application",component:"GdApplication",transKey:null,pid:0,id:0,meta:{title:"\u5E94\u7528",icon:"gd-icon-page"},children:[]},{name:"tableDevelopment",path:"/tableDevelopment",component:"GdTableDevelopment",transKey:null,pid:0,id:0,meta:{title:"\u8868\u5B9A\u4E49",icon:"gd-icon-shujuku1"},children:[]},{name:"system",path:"/system",component:"PageView",redirect:"/system/dict",transKey:null,pid:0,id:0,meta:{title:"\u6570\u636E",icon:"gd-icon-jichushuju"},children:[{name:"\u6570\u636E\u5B57\u5178",path:"/system/dict",component:"GdPlatformDict",transKey:null,pid:0,id:0,meta:{title:"\u6570\u636E\u5B57\u5178",icon:"gd-icon-zidianguanli"}},{name:"\u5F02\u5E38\u65E5\u5FD7",path:"/system/log/exlog",component:"GdPlatformExlog",transKey:null,pid:0,id:0,meta:{title:"\u5F02\u5E38\u65E5\u5FD7",icon:"gd-icon-xitongrizhi1"}},{name:"\u8BBF\u95EE\u65E5\u5FD7",path:"/system/log/vislog",component:"GdPlatformVislog",transKey:null,pid:0,id:0,meta:{title:"\u8BBF\u95EE\u65E5\u5FD7",icon:"gd-icon-xitongrizhi2"}},{name:"\u64CD\u4F5C\u65E5\u5FD7",path:"/system/log/oplog",component:"GdPlatformOplog",transKey:null,pid:0,id:0,meta:{title:"\u64CD\u4F5C\u65E5\u5FD7",icon:"gd-icon-xitongrizhi4"}},{name:"\u516C\u544A\u7BA1\u7406",path:"/system/noticeReceived",component:"GdPlatformNotice",transKey:null,pid:0,id:0,meta:{title:"\u516C\u544A\u7BA1\u7406",icon:"gd-icon-xitong"}},{name:"\u670D\u52A1\u7CFB\u7EDF",path:"/system/machine",component:"GdPlatformMachine",transKey:null,pid:0,id:0,meta:{title:"\u670D\u52A1\u7CFB\u7EDF",icon:"gd-icon-xitong"}},{name:"\u5728\u7EBF\u7528\u6237",path:"/system/onlineUser",component:"GdPlatformOnlineUser",transKey:null,pid:0,id:0,meta:{title:"\u5728\u7EBF\u7528\u6237",icon:"gd-icon-yonghu"}},{name:"\u7CFB\u7EDF\u914D\u7F6E",path:"/system/config",component:"GdplatformConfig",transKey:null,pid:0,id:0,meta:{title:"\u7CFB\u7EDF\u914D\u7F6E",icon:"gd-icon-map-site"}},{name:"\u4EFB\u52A1\u7BA1\u7406",path:"/system/task",component:"GdPlatformTask",transKey:null,pid:0,id:0,meta:{title:"\u4EFB\u52A1\u7BA1\u7406",icon:"gd-icon-map-site"}},{name:"\u7CFB\u7EDF\u6587\u4EF6",path:"/system/file",component:"GdPlatformFile",transKey:null,pid:0,id:0,meta:{title:"\u7CFB\u7EDF\u6587\u4EF6",icon:"gd-icon-map-site"}}]}];function s(){const n=[];return o.forEach(t=>{let i=a.uuid();n.push(Object.assign({...t},{id:i})),t.children&&t.children.length>0&&t.children.forEach(e=>{n.push(Object.assign({...e},{id:a.uuid(),pid:i}))})}),n}const r=s(),d=o;const m={data(){return{activeKey:""}},computed:{menuData(){let n=[];return d.forEach(t=>{t.children.filter(e=>e.path===this.$route.path)[0]&&(n=t.children)}),n}},methods:{changeKey(n){this.activeKey=n.path,this.$router.push({path:n.path})},init(){this.activeKey=this.$route.path}},created(){this.init()}};var p=function(){var t=this,i=t._self._c;return i("div",{staticClass:"gd-tagmenu"},[t._l(t.menuData,function(e,c){return[i("div",{key:c,staticClass:"gd-tagmenu-item",class:t.activeKey===e.path?"gd-active-bj":"",on:{click:function(y){return t.changeKey(e)}}},[i("span",{staticClass:"gd-icons",class:e.meta.icon},[t._v(t._s(e.meta.title))])])]})],2)},u=[],g=l.normalizeComponent(m,p,u,!1,null,"50bfac41",null,null);const h=g.exports;exports.menuData=r;exports.tagMenus=h;
|