gds-plus-design-vue 1.2.62 → 1.2.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/addPermission.179a09f4.mjs +443 -0
- package/lib/addPermission.c72ebbe0.js +1 -0
- package/lib/approvalModel.7b550187.mjs +340 -0
- package/lib/approvalModel.7cfcac3c.js +1 -0
- package/lib/attribute.3fed1dd9.js +1 -0
- package/lib/attribute.e9a8faa1.mjs +367 -0
- package/lib/businessRules.cf106f09.js +1 -0
- package/lib/businessRules.d7d35011.mjs +539 -0
- package/lib/buttonRule.2afe380d.mjs +396 -0
- package/lib/buttonRule.737e8e3f.js +1 -0
- package/lib/chartDisplayRules.370065e8.mjs +288 -0
- package/lib/chartDisplayRules.c9162f81.js +1 -0
- package/lib/components.chartbi.3bbac955.js +8 -0
- package/lib/components.chartbi.571c5ff5.mjs +1813 -0
- package/lib/components.coloreditor.06cf0433.mjs +1505 -0
- package/lib/components.coloreditor.f81d322a.js +6 -0
- package/lib/components.dataassign.21d3938b.mjs +147 -0
- package/lib/components.dataassign.565d22c0.js +1 -0
- package/lib/components.echarts.490abdfa.mjs +811 -0
- package/lib/components.echarts.fe84f881.js +4 -0
- package/lib/components.exception.374f2ad9.js +1 -0
- package/lib/components.exception.ee1c4f83.mjs +61 -0
- package/lib/components.form.5533a8c3.js +41 -0
- package/lib/components.form.db8af727.mjs +7813 -0
- package/lib/components.globalheader.2eb787a4.js +1 -0
- package/lib/components.globalheader.b3b35343.mjs +54 -0
- package/lib/components.iconselector.8940b1a9.mjs +1169 -0
- package/lib/components.iconselector.f5a58033.js +1 -0
- package/lib/components.imgpreview.d97cf25c.js +1 -0
- package/lib/components.imgpreview.f05b3e06.mjs +213 -0
- package/lib/components.lunccalendar.18f84642.js +1 -0
- package/lib/components.lunccalendar.2a097955.mjs +1137 -0
- package/lib/components.middleware.43b9b264.js +1 -0
- package/lib/components.middleware.de012955.mjs +148 -0
- package/lib/components.modaltitle.5060623f.mjs +127 -0
- package/lib/components.modaltitle.957cab33.js +1 -0
- package/lib/components.multitab.5eb6edff.mjs +140 -0
- package/lib/components.multitab.80eeb3ae.js +1 -0
- package/lib/components.selecttree.2fe70d88.js +1 -0
- package/lib/components.selecttree.756c4d22.mjs +170 -0
- package/lib/components.settingdrawer.29dbc31e.mjs +237 -0
- package/lib/components.settingdrawer.8c12650b.js +1 -0
- package/lib/components.sidemenu.0673fe0a.mjs +277 -0
- package/lib/components.sidemenu.240dfde7.js +1 -0
- package/lib/components.sidenavmenu.b1330d69.js +1 -0
- package/lib/components.sidenavmenu.fa81ff82.mjs +1147 -0
- package/lib/components.statuschange.858b72e8.js +1 -0
- package/lib/components.statuschange.fae4adba.mjs +116 -0
- package/lib/components.table.1e338902.js +8 -0
- package/lib/components.table.9ed77207.mjs +4650 -0
- package/lib/components.tableumy.1d804d70.js +1 -0
- package/lib/components.tableumy.3e1c9a5b.mjs +453 -0
- package/lib/components.tablevirtual.66890b2c.mjs +564 -0
- package/lib/components.tablevirtual.8e21a6e7.js +1 -0
- package/lib/components.teamsharing.3a17ddc0.mjs +373 -0
- package/lib/components.teamsharing.89e668fd.js +1 -0
- package/lib/components.tooltip.0ea7e2b1.js +1 -0
- package/lib/components.tooltip.376d95fe.mjs +86 -0
- package/lib/components.uploadfile.0a5a1608.mjs +228 -0
- package/lib/components.uploadfile.8e0e702c.js +1 -0
- package/lib/components.uploadimg.bc160e00.js +1 -0
- package/lib/components.uploadimg.decb0360.mjs +192 -0
- package/lib/components.verificationcode.140533c7.js +1 -0
- package/lib/components.verificationcode.7091b10b.mjs +71 -0
- package/lib/components.viewformdetails.940addba.js +1 -0
- package/lib/components.viewformdetails.d241c652.mjs +1081 -0
- package/lib/components.viewloading.1e9f4b3c.js +1 -0
- package/lib/components.viewloading.aae3aab4.mjs +99 -0
- package/lib/components.watermark.2ec3260c.mjs +53 -0
- package/lib/components.watermark.d9ec8130.js +2 -0
- package/lib/components.xlsxexport.0d1553b1.js +1 -0
- package/lib/components.xlsxexport.c33f83ca.mjs +263 -0
- package/lib/components.xlsximport.81df7841.mjs +922 -0
- package/lib/components.xlsximport.8c209857.js +1 -0
- package/lib/copy.8db86d9f.mjs +572 -0
- package/lib/copy.a8753f38.js +1 -0
- package/lib/createFile.04a6b293.js +1 -0
- package/lib/createFile.4cac1673.mjs +439 -0
- package/lib/createSubfolders.e105fa86.js +1 -0
- package/lib/createSubfolders.eac5ccae.mjs +154 -0
- package/lib/dialogLayout.bf435838.mjs +138 -0
- package/lib/dialogLayout.f0779aed.js +1 -0
- package/lib/drawerContainer.6ab3df46.mjs +163 -0
- package/lib/drawerContainer.8f9df583.js +1 -0
- package/lib/drawerLayout.b6c7c3c6.js +1 -0
- package/lib/drawerLayout.e3c0164d.mjs +119 -0
- package/lib/editForm.0f3fd3b0.js +1 -0
- package/lib/editForm.aef93ed0.mjs +434 -0
- package/lib/extendedAttributes.ea93dbaa.mjs +293 -0
- package/lib/extendedAttributes.ef3ead02.js +1 -0
- package/lib/fileSearch.43465e1c.js +1 -0
- package/lib/fileSearch.5c8a883d.mjs +363 -0
- package/lib/flow.designer.81c29f62.mjs +7673 -0
- package/lib/flow.designer.ffd0aa8b.js +1 -0
- package/lib/flow.list.4c05f2f0.js +1 -0
- package/lib/flow.list.ab420927.mjs +3032 -0
- package/lib/form.build.724d3357.js +1 -0
- package/lib/form.build.d04773f0.mjs +259 -0
- package/lib/form.designer.build.c82cb559.mjs +2529 -0
- package/lib/form.designer.build.dac501fa.js +1 -0
- package/lib/formFiled.4b5062d7.js +1 -0
- package/lib/formFiled.c949a27f.mjs +507 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +245 -91338
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.appmanage.e389782d.mjs +50 -0
- package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
- package/lib/http.codegeneratemanage.e3db2f09.js +1 -0
- package/lib/http.configmanage.6cfb8ae7.js +1 -0
- package/lib/http.configmanage.c23c7fa8.mjs +34 -0
- package/lib/http.currencymanage.37ab5ced.js +1 -0
- package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
- package/lib/http.datasource.294b01e2.js +1 -0
- package/lib/http.datasource.aa5cd0d1.mjs +58 -0
- package/lib/http.dictdatamanage.2583b5ae.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
- package/lib/http.duplicatechecking.9b79ce21.mjs +50 -0
- package/lib/http.duplicatechecking.ee5c414c.js +1 -0
- package/lib/http.emailmanage.1ddaa8b5.js +1 -0
- package/lib/http.emailmanage.64fd611f.mjs +18 -0
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
- package/lib/http.filemanage.7e6e3e1a.js +1 -0
- package/lib/http.filemanage.c0de21d6.mjs +71 -0
- package/lib/http.languagemanage.2ef16159.mjs +10 -0
- package/lib/http.languagemanage.e2c098ec.js +1 -0
- package/lib/http.loginmanage.05500c29.mjs +74 -0
- package/lib/http.loginmanage.326984c3.js +1 -0
- package/lib/http.logmanage.1e12a9bd.js +1 -0
- package/lib/http.logmanage.8ba72635.mjs +82 -0
- package/lib/http.machinemanage.29d72a65.js +1 -0
- package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
- package/lib/http.main.2f8a6936.js +1 -0
- package/lib/http.main.aefea27d.mjs +517 -0
- package/lib/http.menumanage.3060f4c7.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.message.ceb0a1c6.mjs +178 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.2cdb23b8.mjs +82 -0
- package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
- package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
- package/lib/http.onlineusermanage.3893f897.js +1 -0
- package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
- package/lib/http.orgmanage.0b1df8d5.mjs +58 -0
- package/lib/http.orgmanage.5162fd7a.js +1 -0
- package/lib/http.pluginmanage.54720675.mjs +82 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/http.rolemanage.da5c40e9.mjs +146 -0
- package/lib/http.solution.b10d9197.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.176d3d06.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.932ba43b.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.3dcb3e97.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.a9c609d5.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.6e894942.js +1 -0
- package/lib/http.timersmanage.c79afb66.mjs +146 -0
- package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
- package/lib/http.timezonemanage.e0aa212f.js +1 -0
- package/lib/http.translationmanage.1f9dce46.js +1 -0
- package/lib/http.translationmanage.f8694b51.mjs +104 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.usermanage.f5491144.mjs +219 -0
- package/lib/http.webresource.1a1a768f.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- package/lib/index.9deaa991.mjs +25906 -0
- package/lib/index.d95c407c.js +8 -0
- package/lib/layoutBlocks.26e1b57b.js +1 -0
- package/lib/layoutBlocks.31454610.mjs +413 -0
- package/lib/layoutItem.c1c836a1.js +1 -0
- package/lib/layoutItem.cf18143e.mjs +71 -0
- package/lib/layouts.2d06f3e9.js +2 -0
- package/lib/layouts.3b383d04.mjs +373 -0
- package/lib/main.09d48801.js +1 -0
- package/lib/main.28b7c398.js +1 -0
- package/lib/main.29e204f9.mjs +166 -0
- package/lib/main.33443996.mjs +231 -0
- package/lib/main.357c50d2.js +1 -0
- package/lib/{main.fb4a8edf.mjs → main.3e886f21.mjs} +113 -188
- package/lib/{main.7921130e.mjs → main.419a7b42.mjs} +4 -4
- package/lib/main.4a38d5f8.js +1 -0
- package/lib/{main.c569c0a5.mjs → main.60329866.mjs} +12 -10
- package/lib/main.60c2a1a2.js +1 -0
- package/lib/main.61c9e5c6.mjs +537 -0
- package/lib/main.643d21a0.mjs +552 -0
- package/lib/main.64ddb5f6.mjs +189 -0
- package/lib/main.728eaf53.js +1 -0
- package/lib/main.892caa37.js +1 -0
- package/lib/main.aea9b6a8.mjs +323 -0
- package/lib/main.b7a5a02b.js +1 -0
- package/lib/main.c71e5b11.js +1 -0
- package/lib/main.edc0b23b.js +1 -0
- package/lib/{main.5a6c881a.mjs → main.f520fcf5.mjs} +9 -8
- package/lib/manage.101f1aa9.js +1 -0
- package/lib/manage.f4000654.mjs +441 -0
- package/lib/messages.fieldconfiguration.0d98a290.mjs +1097 -0
- package/lib/messages.fieldconfiguration.ad4d11cf.js +1 -0
- package/lib/messages.messagetemplate.32273e00.js +7 -0
- package/lib/messages.messagetemplate.7adbbc58.mjs +1319 -0
- package/lib/messages.sendplan.7d0097c2.mjs +1054 -0
- package/lib/messages.sendplan.fbac188d.js +1 -0
- package/lib/messages.sendrecord.ef80d44a.js +2 -0
- package/lib/messages.sendrecord.f0d2fd54.mjs +651 -0
- package/lib/messages.templatelibrary.ec512390.js +2 -0
- package/lib/messages.templatelibrary.ff151513.mjs +808 -0
- package/lib/mobile.designer.componentstree.03f61105.js +1 -0
- package/lib/mobile.designer.componentstree.4a1442dc.mjs +2064 -0
- package/lib/mobile.designer.menutree.0a2f7911.mjs +1036 -0
- package/lib/mobile.designer.menutree.97bb4046.js +1 -0
- package/lib/moveFile.335ebc8d.js +1 -0
- package/lib/moveFile.d71c0824.mjs +276 -0
- package/lib/page.build.376104d5.mjs +3164 -0
- package/lib/page.build.37b26617.js +12 -0
- package/lib/page.designer.componentstree.0ffc933d.js +1 -0
- package/lib/page.designer.componentstree.b0ecddd8.mjs +2958 -0
- package/lib/page.designer.fieldfiltering.1ecd65a3.mjs +430 -0
- package/lib/page.designer.fieldfiltering.7e913256.js +1 -0
- package/lib/page.designer.menutree.2c1846bc.mjs +5952 -0
- package/lib/page.designer.menutree.c49d9ee6.js +1 -0
- package/lib/page.designer.operation.6179b661.js +1 -0
- package/lib/page.designer.operation.80b1a5d1.mjs +44 -0
- package/lib/page.designer.page.09402332.js +1 -0
- package/lib/page.designer.page.6d8232c7.mjs +10638 -0
- package/lib/personal.echarts.414b7e3d.mjs +268 -0
- package/lib/personal.echarts.b7ee86f4.js +1 -0
- package/lib/result.0c089066.mjs +639 -0
- package/lib/result.9282a717.js +1 -0
- package/lib/router.config.68077a12.js +1 -0
- package/lib/router.config.86225b11.mjs +1424 -0
- package/lib/solution.application.d459e382.js +1 -0
- package/lib/solution.application.e0d58df1.mjs +548 -0
- package/lib/solution.applicationmenu.71ef6b8e.mjs +508 -0
- package/lib/solution.applicationmenu.ae295083.js +1 -0
- package/lib/solution.approvalflow.436b3502.js +1 -0
- package/lib/solution.approvalflow.bef7fbdd.mjs +436 -0
- package/lib/solution.dict.acbe9c55.js +1 -0
- package/lib/solution.dict.ef98b194.mjs +769 -0
- package/lib/solution.menu.5c17348f.mjs +432 -0
- package/lib/solution.menu.cca5e1f9.js +1 -0
- package/lib/solution.plugin.90f8dcc1.mjs +347 -0
- package/lib/solution.plugin.f9a8063f.js +1 -0
- package/lib/solution.processflow.2692dac6.js +1 -0
- package/lib/solution.processflow.c1544b05.mjs +392 -0
- package/lib/solution.role.b1ab40dd.mjs +456 -0
- package/lib/solution.role.b28c4dbe.js +1 -0
- package/lib/solution.webresources.0b51beba.mjs +379 -0
- package/lib/solution.webresources.6961cc68.js +1 -0
- package/lib/solution.workflow.11e49e25.js +1 -0
- package/lib/solution.workflow.c48545d1.mjs +395 -0
- package/lib/store.config.03dd7b19.mjs +547 -0
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/style.css +3 -3
- package/lib/system.account.1cadbf03.mjs +2093 -0
- package/lib/system.account.5cc9fe8d.js +216 -0
- package/lib/system.config.a0b94e40.js +1 -0
- package/lib/{system.config.00dd0a29.mjs → system.config.a9a1ee96.mjs} +7 -6
- package/lib/system.datasource.6c30ce25.js +1 -0
- package/lib/{system.datasource.eb8d16df.mjs → system.datasource.c103a9c2.mjs} +15 -64
- package/lib/{system.dict.787ff1ec.mjs → system.dict.0c229d1c.mjs} +269 -344
- package/lib/system.dict.6b000092.js +1 -0
- package/lib/system.document.f67c2994.mjs +667 -0
- package/lib/system.document.f8fd7af0.js +1 -0
- package/lib/system.duplicatechecking.94c7ce17.mjs +722 -0
- package/lib/system.duplicatechecking.f4cab147.js +1 -0
- package/lib/system.email.11ab6f31.js +1 -0
- package/lib/system.email.13823361.mjs +133 -0
- package/lib/system.fieldsecurity.2ef2881c.js +1 -0
- package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.d35acd97.mjs} +486 -938
- package/lib/{system.file.eae6eac2.mjs → system.file.30d3e7bc.mjs} +84 -151
- package/lib/system.file.b9f8320c.js +1 -0
- package/lib/system.log.470d3efd.js +1 -0
- package/lib/{system.log.9bf208c1.mjs → system.log.815840d8.mjs} +24 -93
- package/lib/{system.machine.0130e762.mjs → system.machine.1665954f.mjs} +5 -25
- package/lib/system.machine.f8aff893.js +1 -0
- package/lib/{system.notice.dba4c597.mjs → system.notice.bef6c23c.mjs} +1075 -1255
- package/lib/system.notice.db26f308.js +1 -0
- package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.0d293a87.mjs} +19 -27
- package/lib/system.noticereceived.84b88b9a.js +1 -0
- package/lib/system.onlineuser.985621a6.js +1 -0
- package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.bccb1cd9.mjs} +36 -38
- package/lib/{system.org.6da23c73.mjs → system.org.92f4d7f1.mjs} +3 -3
- package/lib/system.org.9f87a010.js +1 -0
- package/lib/system.permissions.15e6b8b7.js +1 -0
- package/lib/system.permissions.be9238ee.mjs +972 -0
- package/lib/system.plugin.0bccfec4.js +1 -0
- package/lib/{system.plugin.f8765f96.mjs → system.plugin.af27d7ac.mjs} +503 -552
- package/lib/system.pos.61e58a92.js +1 -0
- package/lib/{system.pos.5645b45a.mjs → system.pos.fe067063.mjs} +31 -62
- package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.0b9083c5.mjs} +318 -450
- package/lib/system.promptmanagement.e750de82.js +1 -0
- package/lib/{system.role.0c6c327d.mjs → system.role.67f62146.mjs} +512 -486
- package/lib/system.role.e86b60f1.js +1 -0
- package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.093d998e.mjs} +169 -192
- package/lib/system.sumberrules.810f7b55.js +1 -0
- package/lib/system.team.58ee701b.js +1 -0
- package/lib/system.team.8911fd95.mjs +452 -0
- package/lib/system.teammembers.1880f962.js +1 -0
- package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.35564a00.mjs} +257 -199
- package/lib/{system.timers.63d03fc9.mjs → system.timers.4b2d509f.mjs} +2202 -2278
- package/lib/system.timers.9e956553.js +38 -0
- package/lib/system.translation.26b6bb39.js +1 -0
- package/lib/{system.translation.52452a24.mjs → system.translation.60ec676c.mjs} +437 -431
- package/lib/system.user.134a3988.js +14 -0
- package/lib/{system.user.8d97a219.mjs → system.user.9a02295e.mjs} +1082 -1025
- package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.96695aeb.mjs} +419 -412
- package/lib/system.useraffiliation.c2421c7e.js +1 -0
- package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.016d0000.mjs} +177 -219
- package/lib/system.webresource.e92e8a8f.js +1 -0
- package/lib/{system.welcome.14785b50.mjs → system.welcome.127b5dd4.mjs} +10 -3
- package/lib/system.welcome.ff0c85e2.js +1 -0
- package/lib/table.definition..btnconfig.9847cac5.mjs +938 -0
- package/lib/table.definition..btnconfig.ce57ed41.js +1 -0
- package/lib/table.definition..echartsconfig.625bce88.mjs +2150 -0
- package/lib/table.definition..echartsconfig.d2b65881.js +1 -0
- package/lib/tableDescriptions.a4196776.mjs +80 -0
- package/lib/tableDescriptions.b9b0d7fa.js +1 -0
- package/lib/tcheckboxs.7ea99d35.js +1 -0
- package/lib/tcheckboxs.999b7c2e.mjs +52 -0
- package/lib/tcurrency.4afb9192.mjs +85 -0
- package/lib/tcurrency.8a2361f2.js +1 -0
- package/lib/tdatepicker.606214fa.mjs +52 -0
- package/lib/tdatepicker.8e94a60c.js +1 -0
- package/lib/tdictSwitch.ccbdd153.js +1 -0
- package/lib/tdictSwitch.e016d4cf.mjs +60 -0
- package/lib/tfile.3f39223d.mjs +62 -0
- package/lib/tfile.b3ebdc71.js +1 -0
- package/lib/tparticipants.5fe27540.mjs +56 -0
- package/lib/tparticipants.78c8c175.js +1 -0
- package/lib/translation.mains.2688be5b.mjs +383 -0
- package/lib/translation.mains.a6f19343.js +1 -0
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.echarts.js.461a74e7.js +54 -0
- package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
- package/lib/utils.mixins.js.750ca50e.js +1 -0
- package/lib/utils.mixins.js.be01e599.mjs +41 -0
- package/lib/utils.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.333daba2.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/versionControl.46a7f31a.js +1 -0
- package/lib/versionControl.c53bfb5d.mjs +488 -0
- package/lib/versionEdit.4246d5db.js +1 -0
- package/lib/versionEdit.5a8292ec.mjs +452 -0
- package/lib/view.build.85732408.mjs +1578 -0
- package/lib/view.build.e43a2077.js +1 -0
- package/lib/viewList.868edcd7.js +1 -0
- package/lib/viewList.978b72c5.mjs +324 -0
- package/lib/viewTree.7497ff90.js +1 -0
- package/lib/viewTree.bde43a3b.mjs +409 -0
- package/locale/en_US.js +82 -27
- package/locale/id_ID.js +66 -11
- package/locale/vi_VN.js +1968 -1913
- package/locale/zh_CN.js +88 -32
- package/package.json +106 -105
- package/lib/chartbi.114d32d7.js +0 -60
- package/lib/chartbi.eb4dd0af.mjs +0 -27639
- package/lib/main.083e0ba3.js +0 -1
- package/lib/main.4a858284.js +0 -1
- package/lib/main.64cb2027.js +0 -1
- package/lib/main.70a46cbc.js +0 -1
- package/lib/messages.364eb728.js +0 -9
- package/lib/messages.5bcc42f9.mjs +0 -5863
- package/lib/system.account.95bd8508.js +0 -216
- package/lib/system.account.d6c7485b.mjs +0 -2552
- package/lib/system.config.63c0217d.js +0 -1
- package/lib/system.datasource.a2c0bad4.js +0 -1
- package/lib/system.dict.dfb4c376.js +0 -1
- package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
- package/lib/system.duplicatechecking.c4141ebd.js +0 -1
- package/lib/system.email.545cedff.mjs +0 -7432
- package/lib/system.email.ec0ac728.js +0 -41
- package/lib/system.fieldsecurity.eb217079.js +0 -1
- package/lib/system.file.1cb952a4.js +0 -1
- package/lib/system.log.348b3605.js +0 -1
- package/lib/system.machine.49fc6405.js +0 -1
- package/lib/system.notice.d7a3346d.js +0 -1
- package/lib/system.noticereceived.c0b24616.js +0 -1
- package/lib/system.onlineuser.b3c94b5b.js +0 -1
- package/lib/system.org.30063246.js +0 -1
- package/lib/system.permissions.1ff855c2.js +0 -9
- package/lib/system.permissions.fdad3c36.mjs +0 -212
- package/lib/system.plugin.2c7c8a5a.js +0 -1
- package/lib/system.pos.21294c28.js +0 -1
- package/lib/system.promptmanagement.7e8da777.js +0 -1
- package/lib/system.role.078fac85.js +0 -1
- package/lib/system.sumberrules.b0252f77.js +0 -1
- package/lib/system.team.296512d7.mjs +0 -1000
- package/lib/system.team.5d6169bc.js +0 -1
- package/lib/system.teammembers.313345f7.js +0 -1
- package/lib/system.timers.8246e6ba.js +0 -38
- package/lib/system.translation.fdff4956.js +0 -1
- package/lib/system.user.49457fd3.js +0 -14
- package/lib/system.useraffiliation.0e9da6a8.js +0 -1
- package/lib/system.webresource.2a341e05.js +0 -1
- package/lib/system.welcome.c9eefa06.js +0 -1
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { m as l, n } from "./components.chartbi.571c5ff5.mjs";
|
|
2
|
+
import { r as a, t as o, u as d } from "./http.filedocument.8fa3fe2d.mjs";
|
|
3
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
4
|
+
import "./utils.util.js.333daba2.mjs";
|
|
5
|
+
const m = {
|
|
6
|
+
data() {
|
|
7
|
+
return {
|
|
8
|
+
type: "",
|
|
9
|
+
record: null,
|
|
10
|
+
width: "700px",
|
|
11
|
+
confirmLoading: !1,
|
|
12
|
+
visible: !1,
|
|
13
|
+
fullscreen: !1,
|
|
14
|
+
parentId: 0,
|
|
15
|
+
parentList: [],
|
|
16
|
+
buttons: [
|
|
17
|
+
{
|
|
18
|
+
displayName: "\u786E\u5B9A",
|
|
19
|
+
functionName: "handleSubmit",
|
|
20
|
+
show: !0,
|
|
21
|
+
transKey: "gd.btn.confirm",
|
|
22
|
+
icon: "el-icon-document-checked"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
ruleForm: {},
|
|
26
|
+
rules: {
|
|
27
|
+
name: [
|
|
28
|
+
{ required: !0, message: this.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), trigger: ["change", "blur"] },
|
|
29
|
+
{
|
|
30
|
+
pattern: /^((?!\\|\/|:|\*|\?|<|>|\||'|%|\!|"|').){1,50}$/,
|
|
31
|
+
message: this.$i18nt("gd.fileDocument.addNameTip", '\u540D\u79F0\u4E0D\u80FD\u5305\u542B\u4EE5\u4E0B\u5B57\u7B26\uFF1A<>:"/|?*%!')
|
|
32
|
+
},
|
|
33
|
+
{ validator: this.validateName, trigger: ["change", "blur"] }
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
computed: {
|
|
39
|
+
disabled() {
|
|
40
|
+
return !0;
|
|
41
|
+
},
|
|
42
|
+
title() {
|
|
43
|
+
return this.type === "rename" ? this.$i18nt("gd.btn.rename", "\u91CD\u547D\u540D") : this.$i18nt("gd.btn.createSubfolders", "\u521B\u5EFA\u6587\u4EF6\u5939");
|
|
44
|
+
},
|
|
45
|
+
fileName() {
|
|
46
|
+
return this.type === "rename" ? this.$i18nt("gd.fileDocument.newFileName", "\u65B0\u540D\u79F0") : this.$i18nt("gd.translation.name", "\u540D\u79F0");
|
|
47
|
+
},
|
|
48
|
+
...l(["primaryColor"])
|
|
49
|
+
},
|
|
50
|
+
methods: {
|
|
51
|
+
validateName(t, e, r) {
|
|
52
|
+
if (e) {
|
|
53
|
+
if (this.type === "rename" && e === this.ruleForm.oname)
|
|
54
|
+
return r(new Error(this.$i18nt("gd.fileDocument.renameTip", "\u65B0\u540D\u79F0\u4E0D\u80FD\u4E0E\u5F53\u524D\u540D\u79F0\u91CD\u590D")));
|
|
55
|
+
r();
|
|
56
|
+
} else
|
|
57
|
+
return r(new Error(this.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165")));
|
|
58
|
+
},
|
|
59
|
+
inputName(t) {
|
|
60
|
+
this.ruleForm.name = t.replace(/\s+/g, "");
|
|
61
|
+
},
|
|
62
|
+
add() {
|
|
63
|
+
let t = {
|
|
64
|
+
name: this.ruleForm.name,
|
|
65
|
+
parentid: this.ruleForm.parentid,
|
|
66
|
+
type: this.ruleForm.type,
|
|
67
|
+
inheritpermissions: this.ruleForm.inheritpermissions
|
|
68
|
+
};
|
|
69
|
+
this.confirmLoading = !0, a(t).then((e) => {
|
|
70
|
+
e.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok", t), this.closed()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + e.message), this.confirmLoading = !1;
|
|
71
|
+
});
|
|
72
|
+
},
|
|
73
|
+
edit() {
|
|
74
|
+
this.confirmLoading = !0;
|
|
75
|
+
const t = this.type === "rename" ? { docId: this.record.id, newName: this.ruleForm.name } : Object.assign({}, this.record, this.ruleForm);
|
|
76
|
+
(this.type === "rename" ? o : d)(t).then((r) => {
|
|
77
|
+
r.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok", t), this.closed()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + r.message), this.confirmLoading = !1;
|
|
78
|
+
});
|
|
79
|
+
},
|
|
80
|
+
handleSubmit() {
|
|
81
|
+
this.$refs.ruleForm.validate((t) => {
|
|
82
|
+
if (t) {
|
|
83
|
+
if (["createsubfolder", "createrootdirectory"].includes(this.type)) {
|
|
84
|
+
this.add();
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
this.edit();
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
},
|
|
91
|
+
open(t, e) {
|
|
92
|
+
this.type = e, this.record = t, this.visible = !0;
|
|
93
|
+
let r = {}, i = "", s = {
|
|
94
|
+
parentid: t && t.parentid ? t.parentid : 0,
|
|
95
|
+
name: "",
|
|
96
|
+
type: t && t.type ? String(t.type) : "1",
|
|
97
|
+
inheritpermissions: t ? t.inheritpermissions : 1
|
|
98
|
+
};
|
|
99
|
+
e === "createsubfolder" ? (this.parentId = t ? t.id : 0, this.parentList = [{ name: t.name, id: t.id }], r = { parentid: this.parentId }, i = "ruleFormName") : e === "rename" ? (r = { oname: t.name, name: "" }, i = "ruleFormName") : e === "createrootdirectory" && (i = "ruleFormName"), this.ruleForm = Object.assign(s, r), this.$nextTick(() => {
|
|
100
|
+
setTimeout(() => {
|
|
101
|
+
this.$refs.ruleForm && this.$refs.ruleForm.clearValidate(), i && this.$refs[i].focus();
|
|
102
|
+
}, 0);
|
|
103
|
+
});
|
|
104
|
+
},
|
|
105
|
+
closed() {
|
|
106
|
+
this.ruleForm = {}, this.fullscreen = !1, this.visible = !1;
|
|
107
|
+
},
|
|
108
|
+
getDictionary(t) {
|
|
109
|
+
return this.$options.filters.dictData(t);
|
|
110
|
+
},
|
|
111
|
+
toggleFullscreen() {
|
|
112
|
+
this.fullscreen = !this.fullscreen;
|
|
113
|
+
},
|
|
114
|
+
doEvent(t) {
|
|
115
|
+
let e = t.item.functionName;
|
|
116
|
+
this[e] && this[e]();
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
var c = function() {
|
|
121
|
+
var e = this, r = e._self._c;
|
|
122
|
+
return r("div", [r("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
|
|
123
|
+
e.visible = i;
|
|
124
|
+
}, closed: e.closed } }, [r("gd-modal-title", { attrs: { slot: "title", title: e.title, fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), r("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.visible ? r("el-form", { ref: "ruleForm", staticClass: "gd-form", staticStyle: { width: "90%", margin: "0 auto" }, attrs: { model: e.ruleForm, "label-width": "140px", rules: e.rules }, nativeOn: { submit: function(i) {
|
|
125
|
+
i.preventDefault();
|
|
126
|
+
} } }, [["createsubfolder"].includes(e.type) ? r("el-form-item", { attrs: { label: e.$i18nt("gd.fileDocument.parentDirectory", "\u4E0A\u7EA7\u76EE\u5F55") } }, [r("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"), disabled: e.disabled }, model: { value: e.ruleForm.parentid, callback: function(i) {
|
|
127
|
+
e.$set(e.ruleForm, "parentid", i);
|
|
128
|
+
}, expression: "ruleForm.parentid" } }, e._l(e.parentList, function(i) {
|
|
129
|
+
return r("el-option", { key: i.id, attrs: { label: i.name, value: i.id } });
|
|
130
|
+
}), 1)], 1) : e._e(), ["rename"].includes(e.type) ? r("el-form-item", { attrs: { label: e.$i18nt("gd.fileDocument.currentFileName", "\u5F53\u524D\u540D\u79F0") } }, [r("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), disabled: "" }, model: { value: e.ruleForm.oname, callback: function(i) {
|
|
131
|
+
e.$set(e.ruleForm, "oname", i);
|
|
132
|
+
}, expression: "ruleForm.oname" } })], 1) : e._e(), r("el-form-item", { attrs: { label: e.fileName, prop: "name" } }, [r("el-input", { ref: "ruleFormName", attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), maxlength: 50 }, on: { input: e.inputName }, model: { value: e.ruleForm.name, callback: function(i) {
|
|
133
|
+
e.$set(e.ruleForm, "name", i);
|
|
134
|
+
}, expression: "ruleForm.name" } })], 1), ["createsubfolder", "createrootdirectory"].includes(e.type) ? r("el-form-item", { attrs: { label: e.$i18nt("gd.file.fileAccept", "\u6587\u4EF6\u7C7B\u578B"), prop: "type" } }, [r("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"), disabled: "" }, model: { value: e.ruleForm.type, callback: function(i) {
|
|
135
|
+
e.$set(e.ruleForm, "type", i);
|
|
136
|
+
}, expression: "ruleForm.type" } }, e._l(e.getDictionary("sys_doc_objects_type"), function(i) {
|
|
137
|
+
return r("el-option", { key: i.code, attrs: { label: e.$i18nt(`Dynamics.${i.transkey}`, i.name), value: i.code } });
|
|
138
|
+
}), 1)], 1) : e._e(), ["createsubfolder"].includes(e.type) ? r("el-form-item", { attrs: { label: e.$i18nt("gd.fileDocument.inheritedPermissions", "\u7EE7\u627F\u6743\u9650") } }, [r("el-switch", { attrs: { "active-value": 1, "inactive-value": 0, "active-color": e.primaryColor }, model: { value: e.ruleForm.inheritpermissions, callback: function(i) {
|
|
139
|
+
e.$set(e.ruleForm, "inheritpermissions", i);
|
|
140
|
+
}, expression: "ruleForm.inheritpermissions" } })], 1) : e._e()], 1) : e._e()], 1)], 1)], 1);
|
|
141
|
+
}, u = [], p = /* @__PURE__ */ n(
|
|
142
|
+
m,
|
|
143
|
+
c,
|
|
144
|
+
u,
|
|
145
|
+
!1,
|
|
146
|
+
null,
|
|
147
|
+
"a9a3fa42",
|
|
148
|
+
null,
|
|
149
|
+
null
|
|
150
|
+
);
|
|
151
|
+
const y = p.exports;
|
|
152
|
+
export {
|
|
153
|
+
y as default
|
|
154
|
+
};
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { m as i, n as l } from "./components.chartbi.571c5ff5.mjs";
|
|
2
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
3
|
+
import "./utils.util.js.333daba2.mjs";
|
|
4
|
+
const a = {
|
|
5
|
+
props: {
|
|
6
|
+
record: {
|
|
7
|
+
type: Object,
|
|
8
|
+
required: !0
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
data() {
|
|
12
|
+
return {
|
|
13
|
+
visible: !1,
|
|
14
|
+
fullscreen: !1,
|
|
15
|
+
contentHeight: 0,
|
|
16
|
+
headHeight: 0,
|
|
17
|
+
callbackFun: [],
|
|
18
|
+
parameterData: null
|
|
19
|
+
};
|
|
20
|
+
},
|
|
21
|
+
computed: {
|
|
22
|
+
showList() {
|
|
23
|
+
return this.record.interactive.filter((t) => t.type === "show");
|
|
24
|
+
},
|
|
25
|
+
hideList() {
|
|
26
|
+
return this.record.interactive.filter((t) => t.type === "hide");
|
|
27
|
+
},
|
|
28
|
+
stationHeight() {
|
|
29
|
+
const e = this.options.openTop !== void 0 ? this.options.openTop : 80;
|
|
30
|
+
return this.fullscreen ? this.headHeight : e * 2 + this.headHeight;
|
|
31
|
+
},
|
|
32
|
+
getClass() {
|
|
33
|
+
const e = this.record.customClass ? `${this.record.customClass}` : "";
|
|
34
|
+
return this.fullscreen ? `gd-dialog-build gd-dialog-fullscreen ${e}` : `gd-dialog-build ${e}`;
|
|
35
|
+
},
|
|
36
|
+
style() {
|
|
37
|
+
const e = this.record.customCss ? this.record.customCss : "", t = this.fullscreen ? 0 : this.openTop;
|
|
38
|
+
return `--stationHeight:${this.stationHeight}px; --openTop: ${t};${e}`;
|
|
39
|
+
},
|
|
40
|
+
width() {
|
|
41
|
+
return `${this.options.flexWidth}${this.options.flexUnit}`;
|
|
42
|
+
},
|
|
43
|
+
openTop() {
|
|
44
|
+
return `${this.options.openTop !== void 0 ? this.options.openTop : 80}px`;
|
|
45
|
+
},
|
|
46
|
+
options() {
|
|
47
|
+
return this.record.options;
|
|
48
|
+
},
|
|
49
|
+
...i(["screenHeight"])
|
|
50
|
+
},
|
|
51
|
+
methods: {
|
|
52
|
+
executeEvent(e) {
|
|
53
|
+
const t = e.functionName ? e.functionName : "";
|
|
54
|
+
t && this[t] !== void 0 ? this[t](e) : console.log("\u6267\u884C\u9519\u8BEF");
|
|
55
|
+
},
|
|
56
|
+
getStationHeight() {
|
|
57
|
+
this.$nextTick(() => {
|
|
58
|
+
setTimeout(() => {
|
|
59
|
+
const e = this.$refs.dialogHead, t = this.$refs.dialogFooter, s = this.$refs.dialogFooter, o = e && e[0] ? e[0].clientHeight : 0, n = t && t[0] ? t[0].clientHeight : 0, c = s && s[0] ? s[0].clientHeight : 0;
|
|
60
|
+
this.contentHeight = c === 0 ? this.screenHeight - o - n : c, this.headHeight = o;
|
|
61
|
+
}, 0);
|
|
62
|
+
});
|
|
63
|
+
},
|
|
64
|
+
toggleFullscreen(e) {
|
|
65
|
+
this.fullscreen = !this.fullscreen, e.toggleFullscreen && e.toggleFullscreen(this.fullscreen);
|
|
66
|
+
},
|
|
67
|
+
open(e) {
|
|
68
|
+
this.parameterData = e, this.fullscreen = !1, this.visible = !0, this.getStationHeight(), this.showList.length !== 0 && this.$nextTick(() => {
|
|
69
|
+
setTimeout(() => {
|
|
70
|
+
this.showList.forEach((t) => {
|
|
71
|
+
t.componentKey !== "" && t.componentFunction !== "" && this.record.doEvent({
|
|
72
|
+
key: t.componentKey,
|
|
73
|
+
functionName: t.componentFunction,
|
|
74
|
+
data: e && e.data,
|
|
75
|
+
id: null,
|
|
76
|
+
source: e && e.source ? e.source : this.record,
|
|
77
|
+
transfer: this.record,
|
|
78
|
+
parameterData: this.parameterData,
|
|
79
|
+
callback: t.callbackTwo ? t.callbackTwo : !1,
|
|
80
|
+
callbackComponents: t.callbackTwo ? t.callbackComponents : "",
|
|
81
|
+
callbackFunction: t.callbackTwo ? t.callbackFunction : ""
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
}, 0);
|
|
85
|
+
});
|
|
86
|
+
},
|
|
87
|
+
closed(e) {
|
|
88
|
+
this.visible = !1, this.hideList.length !== 0 && this.$nextTick(() => {
|
|
89
|
+
setTimeout(() => {
|
|
90
|
+
this.hideList.forEach((t) => {
|
|
91
|
+
t.componentKey !== "" && t.componentFunction !== "" && this.record.doEvent({
|
|
92
|
+
key: t.componentKey,
|
|
93
|
+
functionName: t.componentFunction,
|
|
94
|
+
data: e && e.data,
|
|
95
|
+
id: null,
|
|
96
|
+
source: e && e.source ? e.source : this.record,
|
|
97
|
+
transfer: this.record,
|
|
98
|
+
parameterData: this.parameterData,
|
|
99
|
+
callback: t.callbackTwo ? t.callbackTwo : !1,
|
|
100
|
+
callbackComponents: t.callbackTwo ? t.callbackComponents : "",
|
|
101
|
+
callbackFunction: t.callbackTwo ? t.callbackFunction : ""
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
}, 0);
|
|
105
|
+
});
|
|
106
|
+
},
|
|
107
|
+
centralizedCallback(e) {
|
|
108
|
+
let t = [...this.callbackFun];
|
|
109
|
+
t.push(e), this.callbackFun = [...t];
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
mounted() {
|
|
113
|
+
this.record.executeEvent = this.executeEvent;
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
var r = function() {
|
|
117
|
+
var t = this, s = t._self._c;
|
|
118
|
+
return t.visible ? s("div", [s("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: t.getClass, style: t.style, attrs: { fullscreen: t.fullscreen, visible: t.visible, width: t.width, center: !0, "close-on-press-escape": t.options.closePressEscape, "close-on-click-modal": t.options.closeClickModal, "append-to-body": t.options.appendToBody, "modal-append-to-body": t.options.modalAppendToDody, "show-close": !1, top: t.openTop }, on: { "update:visible": function(o) {
|
|
119
|
+
t.visible = o;
|
|
120
|
+
} } }, [t._l(t.record.columns, function(o) {
|
|
121
|
+
return [o.code === "title" && o.show ? s("div", { ref: "dialogHead", refInFor: !0, staticClass: "dialog-head", attrs: { slot: "title" }, slot: "title" }, [s("div", { staticClass: "dialog-head-title" }, [t._t("title", null, { recordItem: o })], 2), t.options.showClose ? s("div", { staticClass: "dialog-head-closed" }, [s("i", { staticClass: "el-icon-close", on: { click: function(n) {
|
|
122
|
+
return t.closed(null);
|
|
123
|
+
} } })]) : t._e()]) : t._e(), o.code === "content" ? s("div", { ref: "dialogContent", refInFor: !0, staticClass: "dialog-content" }, [t._t("content", null, { recordItem: o, contentHeight: t.contentHeight })], 2) : t._e(), o.code === "footer" && o.show ? s("div", { ref: "dialogFooter", refInFor: !0, staticClass: "dialog-footer" }, [t._t("footer", null, { recordItem: o })], 2) : t._e()];
|
|
124
|
+
})], 2)], 1) : t._e();
|
|
125
|
+
}, d = [], h = /* @__PURE__ */ l(
|
|
126
|
+
a,
|
|
127
|
+
r,
|
|
128
|
+
d,
|
|
129
|
+
!1,
|
|
130
|
+
null,
|
|
131
|
+
"bfc05715",
|
|
132
|
+
null,
|
|
133
|
+
null
|
|
134
|
+
);
|
|
135
|
+
const g = h.exports;
|
|
136
|
+
export {
|
|
137
|
+
g as default
|
|
138
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./components.chartbi.3bbac955.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.c0ba699b.js");const l={props:{record:{type:Object,required:!0}},data(){return{visible:!1,fullscreen:!1,contentHeight:0,headHeight:0,callbackFun:[],parameterData:null}},computed:{showList(){return this.record.interactive.filter(t=>t.type==="show")},hideList(){return this.record.interactive.filter(t=>t.type==="hide")},stationHeight(){const e=this.options.openTop!==void 0?this.options.openTop:80;return this.fullscreen?this.headHeight:e*2+this.headHeight},getClass(){const e=this.record.customClass?`${this.record.customClass}`:"";return this.fullscreen?`gd-dialog-build gd-dialog-fullscreen ${e}`:`gd-dialog-build ${e}`},style(){const e=this.record.customCss?this.record.customCss:"",t=this.fullscreen?0:this.openTop;return`--stationHeight:${this.stationHeight}px; --openTop: ${t};${e}`},width(){return`${this.options.flexWidth}${this.options.flexUnit}`},openTop(){return`${this.options.openTop!==void 0?this.options.openTop:80}px`},options(){return this.record.options},...i.mapGetters(["screenHeight"])},methods:{executeEvent(e){const t=e.functionName?e.functionName:"";t&&this[t]!==void 0?this[t](e):console.log("\u6267\u884C\u9519\u8BEF")},getStationHeight(){this.$nextTick(()=>{setTimeout(()=>{const e=this.$refs.dialogHead,t=this.$refs.dialogFooter,s=this.$refs.dialogFooter,o=e&&e[0]?e[0].clientHeight:0,n=t&&t[0]?t[0].clientHeight:0,c=s&&s[0]?s[0].clientHeight:0;this.contentHeight=c===0?this.screenHeight-o-n:c,this.headHeight=o},0)})},toggleFullscreen(e){this.fullscreen=!this.fullscreen,e.toggleFullscreen&&e.toggleFullscreen(this.fullscreen)},open(e){this.parameterData=e,this.fullscreen=!1,this.visible=!0,this.getStationHeight(),this.showList.length!==0&&this.$nextTick(()=>{setTimeout(()=>{this.showList.forEach(t=>{t.componentKey!==""&&t.componentFunction!==""&&this.record.doEvent({key:t.componentKey,functionName:t.componentFunction,data:e&&e.data,id:null,source:e&&e.source?e.source:this.record,transfer:this.record,parameterData:this.parameterData,callback:t.callbackTwo?t.callbackTwo:!1,callbackComponents:t.callbackTwo?t.callbackComponents:"",callbackFunction:t.callbackTwo?t.callbackFunction:""})})},0)})},closed(e){this.visible=!1,this.hideList.length!==0&&this.$nextTick(()=>{setTimeout(()=>{this.hideList.forEach(t=>{t.componentKey!==""&&t.componentFunction!==""&&this.record.doEvent({key:t.componentKey,functionName:t.componentFunction,data:e&&e.data,id:null,source:e&&e.source?e.source:this.record,transfer:this.record,parameterData:this.parameterData,callback:t.callbackTwo?t.callbackTwo:!1,callbackComponents:t.callbackTwo?t.callbackComponents:"",callbackFunction:t.callbackTwo?t.callbackFunction:""})})},0)})},centralizedCallback(e){let t=[...this.callbackFun];t.push(e),this.callbackFun=[...t]}},mounted(){this.record.executeEvent=this.executeEvent}};var a=function(){var t=this,s=t._self._c;return t.visible?s("div",[s("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:t.getClass,style:t.style,attrs:{fullscreen:t.fullscreen,visible:t.visible,width:t.width,center:!0,"close-on-press-escape":t.options.closePressEscape,"close-on-click-modal":t.options.closeClickModal,"append-to-body":t.options.appendToBody,"modal-append-to-body":t.options.modalAppendToDody,"show-close":!1,top:t.openTop},on:{"update:visible":function(o){t.visible=o}}},[t._l(t.record.columns,function(o){return[o.code==="title"&&o.show?s("div",{ref:"dialogHead",refInFor:!0,staticClass:"dialog-head",attrs:{slot:"title"},slot:"title"},[s("div",{staticClass:"dialog-head-title"},[t._t("title",null,{recordItem:o})],2),t.options.showClose?s("div",{staticClass:"dialog-head-closed"},[s("i",{staticClass:"el-icon-close",on:{click:function(n){return t.closed(null)}}})]):t._e()]):t._e(),o.code==="content"?s("div",{ref:"dialogContent",refInFor:!0,staticClass:"dialog-content"},[t._t("content",null,{recordItem:o,contentHeight:t.contentHeight})],2):t._e(),o.code==="footer"&&o.show?s("div",{ref:"dialogFooter",refInFor:!0,staticClass:"dialog-footer"},[t._t("footer",null,{recordItem:o})],2):t._e()]})],2)],1):t._e()},r=[],d=i.normalizeComponent(l,a,r,!1,null,"bfc05715",null,null);const h=d.exports;exports.default=h;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { g as o } from "./page.build.376104d5.mjs";
|
|
2
|
+
import { n as l } from "./components.chartbi.571c5ff5.mjs";
|
|
3
|
+
import "./form.designer.build.c82cb559.mjs";
|
|
4
|
+
import "vue";
|
|
5
|
+
import "./http.main.aefea27d.mjs";
|
|
6
|
+
import "./page.designer.componentstree.b0ecddd8.mjs";
|
|
7
|
+
import "./mobile.designer.componentstree.4a1442dc.mjs";
|
|
8
|
+
import "./components.table.9ed77207.mjs";
|
|
9
|
+
import "./utils.util.js.333daba2.mjs";
|
|
10
|
+
import "./utils.datepicker.js.5549a741.mjs";
|
|
11
|
+
import "./components.form.db8af727.mjs";
|
|
12
|
+
import "./http.filemanage.c0de21d6.mjs";
|
|
13
|
+
import "./http.tabledevelopment.3dcb3e97.mjs";
|
|
14
|
+
import "./http.codegeneratemanage.b123bab3.mjs";
|
|
15
|
+
import "./http.duplicatechecking.9b79ce21.mjs";
|
|
16
|
+
import "./http.menumanage.3060f4c7.mjs";
|
|
17
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
18
|
+
const r = {
|
|
19
|
+
props: {
|
|
20
|
+
record: {
|
|
21
|
+
type: Object,
|
|
22
|
+
required: !0
|
|
23
|
+
},
|
|
24
|
+
develop: {
|
|
25
|
+
type: [Number, String],
|
|
26
|
+
default: 1
|
|
27
|
+
},
|
|
28
|
+
isFlexLayout: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !1
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
data() {
|
|
34
|
+
return {
|
|
35
|
+
visible: !1,
|
|
36
|
+
show: !1,
|
|
37
|
+
statuVisible: !0
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
computed: {
|
|
41
|
+
getVisible() {
|
|
42
|
+
return this.options.particle === "component" ? !0 : this.visible;
|
|
43
|
+
},
|
|
44
|
+
options() {
|
|
45
|
+
return this.record.options;
|
|
46
|
+
},
|
|
47
|
+
astyle() {
|
|
48
|
+
const s = this.options.top ? this.options.top : "0", t = this.options.right ? this.options.right : "12", i = isNaN(Number(s)) ? s : Number(s) + "px", n = isNaN(Number(t)) ? t : Number(t) + "px", e = this.record.css, c = {
|
|
49
|
+
fontSize: e.fontSize,
|
|
50
|
+
color: e.color,
|
|
51
|
+
lineHeight: e.lineHeight
|
|
52
|
+
};
|
|
53
|
+
return `${o(c)}top:calc(${i} + var(--dialog-head));right:${n};`;
|
|
54
|
+
},
|
|
55
|
+
fstyle() {
|
|
56
|
+
return `${o(this.options)}${o(this.record.css)}${this.iconStyle}`;
|
|
57
|
+
},
|
|
58
|
+
cstyle() {
|
|
59
|
+
const s = this.options.openWidth ? this.options.openWidth : "45";
|
|
60
|
+
return `${o({
|
|
61
|
+
flexWidth: s,
|
|
62
|
+
flexUnit: this.options.openUnit
|
|
63
|
+
})}${o(this.record.css)}`;
|
|
64
|
+
},
|
|
65
|
+
iconStyle() {
|
|
66
|
+
return `${this.record.customCss ? this.record.customCss : ""}`;
|
|
67
|
+
},
|
|
68
|
+
mstyle() {
|
|
69
|
+
const s = this.options.wrapperClosable ? "cursor: pointer;" : "", t = this.options.hasModal ? "background:rgba(0,0,0,.1);" : "";
|
|
70
|
+
return `${s}${t}`;
|
|
71
|
+
},
|
|
72
|
+
getIcon() {
|
|
73
|
+
const s = this.options.openIcon ? this.options.openIcon : "gd-icon-youjiantou_huaban", t = this.options.closeIcon ? this.options.closeIcon : "gd-icon-zuojiantou_huaban";
|
|
74
|
+
return this.visible ? t : s;
|
|
75
|
+
},
|
|
76
|
+
getCloseIcon() {
|
|
77
|
+
return this.options.closeIcon ? this.options.closeIcon : "gd-icon-zuojiantou_huaban";
|
|
78
|
+
},
|
|
79
|
+
cistyle() {
|
|
80
|
+
const s = this.options.top ? this.options.top : "20", t = isNaN(Number(s)) ? s : Number(s) + "px", i = this.options.openWidth ? this.options.openWidth : "45", n = this.options.openUnit ? this.options.openUnit : "%", e = this.options.positionMode === "fixed" && this.options.positioning === "absolute" ? "10%" : "0px";
|
|
81
|
+
return `top:calc(${t} + var(--dialog-head) + ${e} );right:calc(${i}${n} - 15px);`;
|
|
82
|
+
},
|
|
83
|
+
istyle() {
|
|
84
|
+
const s = this.record.css, t = {
|
|
85
|
+
fontSize: s.fontSize,
|
|
86
|
+
color: s.color,
|
|
87
|
+
fontWeight: s.fontWeight
|
|
88
|
+
};
|
|
89
|
+
return `${o(t)}`;
|
|
90
|
+
},
|
|
91
|
+
gclass() {
|
|
92
|
+
return this.record.customClass ? `${this.record.customClass}` : "";
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
methods: {
|
|
96
|
+
setVisibility(s) {
|
|
97
|
+
const t = s.data === "1";
|
|
98
|
+
this.statuVisible = t;
|
|
99
|
+
},
|
|
100
|
+
mengClose() {
|
|
101
|
+
this.options.wrapperClosable && this.selIcon();
|
|
102
|
+
},
|
|
103
|
+
selIconAbsolute() {
|
|
104
|
+
this.visible = !this.visible;
|
|
105
|
+
},
|
|
106
|
+
selIcon() {
|
|
107
|
+
if (this.visible = !this.visible, this.options.particle === "popup" && this.options.positionMode === "absolute")
|
|
108
|
+
return;
|
|
109
|
+
const s = this.options.openWidth ? this.options.openWidth : "45", t = this.options.openUnit ? this.options.openUnit : "%";
|
|
110
|
+
let i = "";
|
|
111
|
+
this.visible && this.options.positioning === "fixed" && (i = `${s}${t}`), this.record.changeVisible && this.record.changeVisible({ data: this.record, visible: this.visible, wid: i });
|
|
112
|
+
},
|
|
113
|
+
open() {
|
|
114
|
+
this.visible = !0;
|
|
115
|
+
},
|
|
116
|
+
closed(s) {
|
|
117
|
+
this.visible = !1;
|
|
118
|
+
},
|
|
119
|
+
isDefaultVisible() {
|
|
120
|
+
this.$nextTick(() => {
|
|
121
|
+
setTimeout(() => {
|
|
122
|
+
const s = this.options.defaultVisible !== void 0 ? this.options.defaultVisible : 0;
|
|
123
|
+
this.develop === 2 && s === 1 && this.options.particle === "component" && this.options.positionMode === "fixed" ? this.selIcon() : this.develop === 2 && s === 1 && this.options.particle === "popup" && this.options.positionMode === "absolute" && this.selIconAbsolute();
|
|
124
|
+
}, 200);
|
|
125
|
+
});
|
|
126
|
+
},
|
|
127
|
+
init() {
|
|
128
|
+
this.$nextTick(() => {
|
|
129
|
+
setTimeout(() => {
|
|
130
|
+
this.options.open = this.open, this.options.closed = this.closed;
|
|
131
|
+
}, 100), setTimeout(() => {
|
|
132
|
+
this.isDefaultVisible();
|
|
133
|
+
}, 200), setTimeout(() => {
|
|
134
|
+
this.show = !0;
|
|
135
|
+
}, 300);
|
|
136
|
+
});
|
|
137
|
+
},
|
|
138
|
+
executeEvent(s) {
|
|
139
|
+
const t = s.functionName ? s.functionName : "";
|
|
140
|
+
t && this[t] !== void 0 ? this[t](s) : console.log("\u6267\u884C\u9519\u8BEF");
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
mounted() {
|
|
144
|
+
this.record.executeEvent = this.executeEvent, this.record.setVisibility = this.setVisibility, this.init();
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
var p = function() {
|
|
148
|
+
var t = this, i = t._self._c;
|
|
149
|
+
return i("div", { staticClass: "gd-drawer-container" }, [t.options.particle === "popup" && t.options.positionMode === "absolute" && t.statuVisible ? i("div", { staticClass: "drawer-container-absolute", style: t.astyle }, [t.show ? i("i", { staticClass: "gd-icons", class: t.getIcon, style: t.istyle, on: { click: t.selIcon } }) : t._e()]) : t._e(), i("div", { directives: [{ name: "show", rawName: "v-show", value: t.getVisible, expression: "getVisible" }], class: t.gclass }, [t.options.particle === "component" && t.options.positionMode === "fixed" && t.statuVisible ? i("div", { staticClass: "drawer-container-fixed", style: t.fstyle }, [i("i", { staticClass: "gd-icons", class: t.getIcon, style: t.istyle, on: { click: t.selIcon } })]) : t._e(), t.options.particle === "popup" ? [i("div", { directives: [{ name: "show", rawName: "v-show", value: t.visible, expression: "visible" }], staticClass: "drawer-content", style: t.cstyle }, [t._t("drcontainContent")], 2), t.options.positionMode === "absolute" ? i("div", { staticClass: "drawer-content-meng", style: t.mstyle, on: { click: t.mengClose } }) : t._e(), t.options.positionMode === "absolute" && t.options.showClose || t.options.positionMode === "fixed" && t.options.positioning === "absolute" ? i("div", { staticClass: "drawer-content-close", style: t.cistyle }, [i("i", { staticClass: "gd-icons", class: t.getCloseIcon, style: t.istyle, on: { click: t.selIcon } })]) : t._e()] : t._e()], 2)]);
|
|
150
|
+
}, a = [], h = /* @__PURE__ */ l(
|
|
151
|
+
r,
|
|
152
|
+
p,
|
|
153
|
+
a,
|
|
154
|
+
!1,
|
|
155
|
+
null,
|
|
156
|
+
"e4577efd",
|
|
157
|
+
null,
|
|
158
|
+
null
|
|
159
|
+
);
|
|
160
|
+
const W = h.exports;
|
|
161
|
+
export {
|
|
162
|
+
W as default
|
|
163
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./page.build.37b26617.js"),r=require("./components.chartbi.3bbac955.js");require("./form.designer.build.dac501fa.js");require("vue");require("./http.main.2f8a6936.js");require("./page.designer.componentstree.0ffc933d.js");require("./mobile.designer.componentstree.03f61105.js");require("./components.table.1e338902.js");require("./utils.util.js.c0ba699b.js");require("./utils.datepicker.js.0a5a699e.js");require("./components.form.5533a8c3.js");require("./http.filemanage.7e6e3e1a.js");require("./http.tabledevelopment.a880bb76.js");require("./http.codegeneratemanage.e3db2f09.js");require("./http.duplicatechecking.ee5c414c.js");require("./http.menumanage.6d740f2c.js");require("./utils.echarts.js.461a74e7.js");const l={props:{record:{type:Object,required:!0},develop:{type:[Number,String],default:1},isFlexLayout:{type:Boolean,default:!1}},data(){return{visible:!1,show:!1,statuVisible:!0}},computed:{getVisible(){return this.options.particle==="component"?!0:this.visible},options(){return this.record.options},astyle(){const s=this.options.top?this.options.top:"0",t=this.options.right?this.options.right:"12",e=isNaN(Number(s))?s:Number(s)+"px",n=isNaN(Number(t))?t:Number(t)+"px",o=this.record.css,c={fontSize:o.fontSize,color:o.color,lineHeight:o.lineHeight};return`${i.getCss(c)}top:calc(${e} + var(--dialog-head));right:${n};`},fstyle(){return`${i.getCss(this.options)}${i.getCss(this.record.css)}${this.iconStyle}`},cstyle(){const s=this.options.openWidth?this.options.openWidth:"45";return`${i.getCss({flexWidth:s,flexUnit:this.options.openUnit})}${i.getCss(this.record.css)}`},iconStyle(){return`${this.record.customCss?this.record.customCss:""}`},mstyle(){const s=this.options.wrapperClosable?"cursor: pointer;":"",t=this.options.hasModal?"background:rgba(0,0,0,.1);":"";return`${s}${t}`},getIcon(){const s=this.options.openIcon?this.options.openIcon:"gd-icon-youjiantou_huaban",t=this.options.closeIcon?this.options.closeIcon:"gd-icon-zuojiantou_huaban";return this.visible?t:s},getCloseIcon(){return this.options.closeIcon?this.options.closeIcon:"gd-icon-zuojiantou_huaban"},cistyle(){const s=this.options.top?this.options.top:"20",t=isNaN(Number(s))?s:Number(s)+"px",e=this.options.openWidth?this.options.openWidth:"45",n=this.options.openUnit?this.options.openUnit:"%",o=this.options.positionMode==="fixed"&&this.options.positioning==="absolute"?"10%":"0px";return`top:calc(${t} + var(--dialog-head) + ${o} );right:calc(${e}${n} - 15px);`},istyle(){const s=this.record.css,t={fontSize:s.fontSize,color:s.color,fontWeight:s.fontWeight};return`${i.getCss(t)}`},gclass(){return this.record.customClass?`${this.record.customClass}`:""}},methods:{setVisibility(s){const t=s.data==="1";this.statuVisible=t},mengClose(){this.options.wrapperClosable&&this.selIcon()},selIconAbsolute(){this.visible=!this.visible},selIcon(){if(this.visible=!this.visible,this.options.particle==="popup"&&this.options.positionMode==="absolute")return;const s=this.options.openWidth?this.options.openWidth:"45",t=this.options.openUnit?this.options.openUnit:"%";let e="";this.visible&&this.options.positioning==="fixed"&&(e=`${s}${t}`),this.record.changeVisible&&this.record.changeVisible({data:this.record,visible:this.visible,wid:e})},open(){this.visible=!0},closed(s){this.visible=!1},isDefaultVisible(){this.$nextTick(()=>{setTimeout(()=>{const s=this.options.defaultVisible!==void 0?this.options.defaultVisible:0;this.develop===2&&s===1&&this.options.particle==="component"&&this.options.positionMode==="fixed"?this.selIcon():this.develop===2&&s===1&&this.options.particle==="popup"&&this.options.positionMode==="absolute"&&this.selIconAbsolute()},200)})},init(){this.$nextTick(()=>{setTimeout(()=>{this.options.open=this.open,this.options.closed=this.closed},100),setTimeout(()=>{this.isDefaultVisible()},200),setTimeout(()=>{this.show=!0},300)})},executeEvent(s){const t=s.functionName?s.functionName:"";t&&this[t]!==void 0?this[t](s):console.log("\u6267\u884C\u9519\u8BEF")}},mounted(){this.record.executeEvent=this.executeEvent,this.record.setVisibility=this.setVisibility,this.init()}};var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"gd-drawer-container"},[t.options.particle==="popup"&&t.options.positionMode==="absolute"&&t.statuVisible?e("div",{staticClass:"drawer-container-absolute",style:t.astyle},[t.show?e("i",{staticClass:"gd-icons",class:t.getIcon,style:t.istyle,on:{click:t.selIcon}}):t._e()]):t._e(),e("div",{directives:[{name:"show",rawName:"v-show",value:t.getVisible,expression:"getVisible"}],class:t.gclass},[t.options.particle==="component"&&t.options.positionMode==="fixed"&&t.statuVisible?e("div",{staticClass:"drawer-container-fixed",style:t.fstyle},[e("i",{staticClass:"gd-icons",class:t.getIcon,style:t.istyle,on:{click:t.selIcon}})]):t._e(),t.options.particle==="popup"?[e("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"drawer-content",style:t.cstyle},[t._t("drcontainContent")],2),t.options.positionMode==="absolute"?e("div",{staticClass:"drawer-content-meng",style:t.mstyle,on:{click:t.mengClose}}):t._e(),t.options.positionMode==="absolute"&&t.options.showClose||t.options.positionMode==="fixed"&&t.options.positioning==="absolute"?e("div",{staticClass:"drawer-content-close",style:t.cistyle},[e("i",{staticClass:"gd-icons",class:t.getCloseIcon,style:t.istyle,on:{click:t.selIcon}})]):t._e()]:t._e()],2)])},p=[],h=r.normalizeComponent(l,a,p,!1,null,"e4577efd",null,null);const u=h.exports;exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./components.chartbi.3bbac955.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.c0ba699b.js");const a={props:{record:{type:Object,required:!0}},data(){return{visible:!1,stationHeight:0,contentHeight:0,callbackFun:[],parameterData:null}},computed:{showList(){return this.record.interactive.filter(t=>t.type==="show")},hideList(){return this.record.interactive.filter(t=>t.type==="hide")},getClass(){return`gd-drawer-build ${this.record.customClass?`${this.record.customClass}`:""}`},style(){const e=this.record.customCss?this.record.customCss:"";return`--stationHeight:${this.stationHeight}px;${e}`},width(){return`${this.options.flexWidth}${this.options.flexUnit}`},options(){return this.record.options}},methods:{executeEvent(e){const t=e.functionName?e.functionName:"";t&&this[t]!==void 0?this[t](e):console.log("\u6267\u884C\u9519\u8BEF")},getStationHeight(){this.$nextTick(()=>{setTimeout(()=>{const e=this.$refs.dialogHead,t=this.$refs.dialogContent,o=this.$refs.dialogFooter,s=e&&e[0]?e[0].clientHeight:0,c=o&&o[0]?o[0].clientHeight:0;this.contentHeight=t&&t[0]?t[0].clientHeight:0,this.stationHeight=s+c},0)})},open(e){this.parameterData=e,this.visible=!0,this.getStationHeight(),this.showList.length!==0&&this.$nextTick(()=>{setTimeout(()=>{this.showList.forEach(t=>{t.componentKey!==""&&t.componentFunction!==""&&this.record.doEvent({key:t.componentKey,functionName:t.componentFunction,data:e&&e.data,id:null,source:e&&e.source?e.source:this.record,transfer:this.record,parameterData:this.parameterData,callback:t.callbackTwo?t.callbackTwo:!1,callbackComponents:t.callbackTwo?t.callbackComponents:"",callbackFunction:t.callbackTwo?t.callbackFunction:""})})},0)})},closed(e){this.visible=!1,this.hideList.length!==0&&this.hideList.forEach(t=>{t.componentKey!==""&&t.componentFunction!==""&&this.record.doEvent({key:t.componentKey,functionName:t.componentFunction,data:e&&e.data,id:null,source:e&&e.source?e.source:this.record,transfer:this.record,parameterData:this.parameterData,callback:t.callbackTwo?t.callbackTwo:!1,callbackComponents:t.callbackTwo?t.callbackComponents:"",callbackFunction:t.callbackTwo?t.callbackFunction:""})})},centralizedCallback(e){let t=[...this.callbackFun];t.push(e),this.callbackFun=[...t]}},mounted(){this.record.executeEvent=this.executeEvent}};var r=function(){var t=this,o=t._self._c;return o("div",[o("el-drawer",{class:t.getClass,style:t.style,attrs:{visible:t.visible,"close-on-press-escape":t.options.closePressEscape,"append-to-body":t.options.appendToBody,"modal-append-to-body":t.options.modalAppendToDody,size:t.width,wrapperClosable:t.options.closeClickModal,"show-close":t.options.showClose,direction:t.options.openDirection,"with-header":!1},on:{"update:visible":function(s){t.visible=s}}},[t._l(t.record.columns,function(s){return[s.code==="title"&&s.show?o("div",{ref:"dialogHead",refInFor:!0,staticClass:"drawer-head"},[o("div",{staticClass:"drawer-head-title"},[t._t("title",null,{recordItem:s})],2),t.options.showClose?o("div",{staticClass:"drawer-head-closed"},[o("i",{staticClass:"el-icon-close",on:{click:t.closed}})]):t._e()]):t._e(),s.code==="content"?o("div",{ref:"dialogContent",refInFor:!0,staticClass:"drawer-content"},[t._t("content",null,{recordItem:s,contentHeight:t.contentHeight})],2):t._e(),s.code==="footer"&&s.show?o("div",{ref:"dialogFooter",refInFor:!0,staticClass:"drawer-footer"},[t._t("footer",null,{recordItem:s})],2):t._e()]})],2)],1)},i=[],l=n.normalizeComponent(a,r,i,!1,null,"897cf424",null,null);const d=l.exports;exports.default=d;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { n as c } from "./components.chartbi.571c5ff5.mjs";
|
|
2
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
3
|
+
import "./utils.util.js.333daba2.mjs";
|
|
4
|
+
const a = {
|
|
5
|
+
props: {
|
|
6
|
+
record: {
|
|
7
|
+
type: Object,
|
|
8
|
+
required: !0
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
data() {
|
|
12
|
+
return {
|
|
13
|
+
visible: !1,
|
|
14
|
+
stationHeight: 0,
|
|
15
|
+
contentHeight: 0,
|
|
16
|
+
callbackFun: [],
|
|
17
|
+
parameterData: null
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
computed: {
|
|
21
|
+
showList() {
|
|
22
|
+
return this.record.interactive.filter((t) => t.type === "show");
|
|
23
|
+
},
|
|
24
|
+
hideList() {
|
|
25
|
+
return this.record.interactive.filter((t) => t.type === "hide");
|
|
26
|
+
},
|
|
27
|
+
getClass() {
|
|
28
|
+
return `gd-drawer-build ${this.record.customClass ? `${this.record.customClass}` : ""}`;
|
|
29
|
+
},
|
|
30
|
+
style() {
|
|
31
|
+
const e = this.record.customCss ? this.record.customCss : "";
|
|
32
|
+
return `--stationHeight:${this.stationHeight}px;${e}`;
|
|
33
|
+
},
|
|
34
|
+
width() {
|
|
35
|
+
return `${this.options.flexWidth}${this.options.flexUnit}`;
|
|
36
|
+
},
|
|
37
|
+
options() {
|
|
38
|
+
return this.record.options;
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
methods: {
|
|
42
|
+
executeEvent(e) {
|
|
43
|
+
const t = e.functionName ? e.functionName : "";
|
|
44
|
+
t && this[t] !== void 0 ? this[t](e) : console.log("\u6267\u884C\u9519\u8BEF");
|
|
45
|
+
},
|
|
46
|
+
getStationHeight() {
|
|
47
|
+
this.$nextTick(() => {
|
|
48
|
+
setTimeout(() => {
|
|
49
|
+
const e = this.$refs.dialogHead, t = this.$refs.dialogContent, o = this.$refs.dialogFooter, s = e && e[0] ? e[0].clientHeight : 0, n = o && o[0] ? o[0].clientHeight : 0;
|
|
50
|
+
this.contentHeight = t && t[0] ? t[0].clientHeight : 0, this.stationHeight = s + n;
|
|
51
|
+
}, 0);
|
|
52
|
+
});
|
|
53
|
+
},
|
|
54
|
+
open(e) {
|
|
55
|
+
this.parameterData = e, this.visible = !0, this.getStationHeight(), this.showList.length !== 0 && this.$nextTick(() => {
|
|
56
|
+
setTimeout(() => {
|
|
57
|
+
this.showList.forEach((t) => {
|
|
58
|
+
t.componentKey !== "" && t.componentFunction !== "" && this.record.doEvent({
|
|
59
|
+
key: t.componentKey,
|
|
60
|
+
functionName: t.componentFunction,
|
|
61
|
+
data: e && e.data,
|
|
62
|
+
id: null,
|
|
63
|
+
source: e && e.source ? e.source : this.record,
|
|
64
|
+
transfer: this.record,
|
|
65
|
+
parameterData: this.parameterData,
|
|
66
|
+
callback: t.callbackTwo ? t.callbackTwo : !1,
|
|
67
|
+
callbackComponents: t.callbackTwo ? t.callbackComponents : "",
|
|
68
|
+
callbackFunction: t.callbackTwo ? t.callbackFunction : ""
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
}, 0);
|
|
72
|
+
});
|
|
73
|
+
},
|
|
74
|
+
closed(e) {
|
|
75
|
+
this.visible = !1, this.hideList.length !== 0 && this.hideList.forEach((t) => {
|
|
76
|
+
t.componentKey !== "" && t.componentFunction !== "" && this.record.doEvent({
|
|
77
|
+
key: t.componentKey,
|
|
78
|
+
functionName: t.componentFunction,
|
|
79
|
+
data: e && e.data,
|
|
80
|
+
id: null,
|
|
81
|
+
source: e && e.source ? e.source : this.record,
|
|
82
|
+
transfer: this.record,
|
|
83
|
+
parameterData: this.parameterData,
|
|
84
|
+
callback: t.callbackTwo ? t.callbackTwo : !1,
|
|
85
|
+
callbackComponents: t.callbackTwo ? t.callbackComponents : "",
|
|
86
|
+
callbackFunction: t.callbackTwo ? t.callbackFunction : ""
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
},
|
|
90
|
+
centralizedCallback(e) {
|
|
91
|
+
let t = [...this.callbackFun];
|
|
92
|
+
t.push(e), this.callbackFun = [...t];
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
mounted() {
|
|
96
|
+
this.record.executeEvent = this.executeEvent;
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
var r = function() {
|
|
100
|
+
var t = this, o = t._self._c;
|
|
101
|
+
return o("div", [o("el-drawer", { class: t.getClass, style: t.style, attrs: { visible: t.visible, "close-on-press-escape": t.options.closePressEscape, "append-to-body": t.options.appendToBody, "modal-append-to-body": t.options.modalAppendToDody, size: t.width, wrapperClosable: t.options.closeClickModal, "show-close": t.options.showClose, direction: t.options.openDirection, "with-header": !1 }, on: { "update:visible": function(s) {
|
|
102
|
+
t.visible = s;
|
|
103
|
+
} } }, [t._l(t.record.columns, function(s) {
|
|
104
|
+
return [s.code === "title" && s.show ? o("div", { ref: "dialogHead", refInFor: !0, staticClass: "drawer-head" }, [o("div", { staticClass: "drawer-head-title" }, [t._t("title", null, { recordItem: s })], 2), t.options.showClose ? o("div", { staticClass: "drawer-head-closed" }, [o("i", { staticClass: "el-icon-close", on: { click: t.closed } })]) : t._e()]) : t._e(), s.code === "content" ? o("div", { ref: "dialogContent", refInFor: !0, staticClass: "drawer-content" }, [t._t("content", null, { recordItem: s, contentHeight: t.contentHeight })], 2) : t._e(), s.code === "footer" && s.show ? o("div", { ref: "dialogFooter", refInFor: !0, staticClass: "drawer-footer" }, [t._t("footer", null, { recordItem: s })], 2) : t._e()];
|
|
105
|
+
})], 2)], 1);
|
|
106
|
+
}, i = [], l = /* @__PURE__ */ c(
|
|
107
|
+
a,
|
|
108
|
+
r,
|
|
109
|
+
i,
|
|
110
|
+
!1,
|
|
111
|
+
null,
|
|
112
|
+
"897cf424",
|
|
113
|
+
null,
|
|
114
|
+
null
|
|
115
|
+
);
|
|
116
|
+
const p = l.exports;
|
|
117
|
+
export {
|
|
118
|
+
p as default
|
|
119
|
+
};
|