gds-plus-design-vue 1.2.63 → 1.2.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{addPermission.9fc97a47.mjs → addPermission.179a09f4.mjs} +127 -105
- package/lib/addPermission.c72ebbe0.js +1 -0
- package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b550187.mjs} +7 -7
- package/lib/approvalModel.7cfcac3c.js +1 -0
- package/lib/attribute.3fed1dd9.js +1 -0
- package/lib/attribute.e9a8faa1.mjs +367 -0
- package/lib/businessRules.cf106f09.js +1 -0
- package/lib/{businessRules.db6ba874.mjs → businessRules.d7d35011.mjs} +191 -190
- package/lib/buttonRule.2afe380d.mjs +396 -0
- package/lib/buttonRule.737e8e3f.js +1 -0
- package/lib/chartDisplayRules.370065e8.mjs +288 -0
- package/lib/chartDisplayRules.c9162f81.js +1 -0
- package/lib/components.chartbi.3bbac955.js +8 -0
- package/lib/components.chartbi.571c5ff5.mjs +1813 -0
- package/lib/{components.coloreditor.044983d2.mjs → components.coloreditor.06cf0433.mjs} +2 -2
- package/lib/{components.coloreditor.779a9419.js → components.coloreditor.f81d322a.js} +1 -1
- package/lib/{components.dataassign.56632583.mjs → components.dataassign.21d3938b.mjs} +3 -3
- package/lib/{components.dataassign.1853ed5c.js → components.dataassign.565d22c0.js} +1 -1
- package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.490abdfa.mjs} +416 -399
- package/lib/components.echarts.fe84f881.js +4 -0
- package/lib/{components.exception.3cc33e29.js → components.exception.374f2ad9.js} +1 -1
- package/lib/{components.exception.cc2f4ca3.mjs → components.exception.ee1c4f83.mjs} +1 -1
- package/lib/{components.form.91d5ed3e.js → components.form.5533a8c3.js} +19 -19
- package/lib/{components.form.3344c817.mjs → components.form.db8af727.mjs} +1118 -1090
- package/lib/{components.globalheader.07a90c4b.js → components.globalheader.2eb787a4.js} +1 -1
- package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.b3b35343.mjs} +3 -3
- package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.8940b1a9.mjs} +7 -3
- package/lib/components.iconselector.f5a58033.js +1 -0
- package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.d97cf25c.js} +1 -1
- package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.f05b3e06.mjs} +4 -4
- package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.18f84642.js} +1 -1
- package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.2a097955.mjs} +1 -1
- package/lib/components.middleware.43b9b264.js +1 -0
- package/lib/{components.middleware.457b1182.mjs → components.middleware.de012955.mjs} +5 -4
- package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.5060623f.mjs} +1 -1
- package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.957cab33.js} +1 -1
- package/lib/{components.multitab.8441aa6b.mjs → components.multitab.5eb6edff.mjs} +1 -1
- package/lib/{components.multitab.82fd0544.js → components.multitab.80eeb3ae.js} +1 -1
- package/lib/{components.selecttree.d710a362.js → components.selecttree.2fe70d88.js} +1 -1
- package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.756c4d22.mjs} +1 -1
- package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.29dbc31e.mjs} +21 -21
- package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.8c12650b.js} +1 -1
- package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.0673fe0a.mjs} +2 -2
- package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.240dfde7.js} +1 -1
- package/lib/components.sidenavmenu.b1330d69.js +1 -0
- package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.fa81ff82.mjs} +448 -632
- package/lib/{components.statuschange.ed1218a4.js → components.statuschange.858b72e8.js} +1 -1
- package/lib/{components.statuschange.15938660.mjs → components.statuschange.fae4adba.mjs} +3 -3
- package/lib/{components.table.17c02054.js → components.table.1e338902.js} +3 -3
- package/lib/{components.table.e3e5e3bc.mjs → components.table.9ed77207.mjs} +331 -316
- package/lib/components.tableumy.1d804d70.js +1 -0
- package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.3e1c9a5b.mjs} +7 -4
- package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.66890b2c.mjs} +7 -4
- package/lib/components.tablevirtual.8e21a6e7.js +1 -0
- package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.3a17ddc0.mjs} +3 -3
- package/lib/{components.teamsharing.05503821.js → components.teamsharing.89e668fd.js} +1 -1
- package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.0ea7e2b1.js} +1 -1
- package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.376d95fe.mjs} +1 -1
- package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0a5a1608.mjs} +2 -2
- package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.8e0e702c.js} +1 -1
- package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.bc160e00.js} +1 -1
- package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.decb0360.mjs} +2 -2
- package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.140533c7.js} +1 -1
- package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.7091b10b.mjs} +1 -1
- package/lib/components.viewformdetails.940addba.js +1 -0
- package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.d241c652.mjs} +94 -61
- package/lib/components.viewloading.1e9f4b3c.js +1 -0
- package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.aae3aab4.mjs} +54 -51
- package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.2ec3260c.mjs} +1 -1
- package/lib/{components.watermark.da3d7220.js → components.watermark.d9ec8130.js} +1 -1
- package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.0d1553b1.js} +1 -1
- package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.c33f83ca.mjs} +4 -4
- package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.81df7841.mjs} +541 -532
- package/lib/components.xlsximport.8c209857.js +1 -0
- package/lib/copy.8db86d9f.mjs +572 -0
- package/lib/copy.a8753f38.js +1 -0
- package/lib/createFile.04a6b293.js +1 -0
- package/lib/createFile.4cac1673.mjs +439 -0
- package/lib/createSubfolders.e105fa86.js +1 -0
- package/lib/{createSubfolders.d35b97e9.mjs → createSubfolders.eac5ccae.mjs} +7 -7
- package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.bf435838.mjs} +2 -2
- package/lib/{dialogLayout.08823bb7.js → dialogLayout.f0779aed.js} +1 -1
- package/lib/drawerContainer.6ab3df46.mjs +163 -0
- package/lib/drawerContainer.8f9df583.js +1 -0
- package/lib/{drawerLayout.36cf4d05.js → drawerLayout.b6c7c3c6.js} +1 -1
- package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.e3c0164d.mjs} +2 -2
- package/lib/editForm.0f3fd3b0.js +1 -0
- package/lib/editForm.aef93ed0.mjs +434 -0
- package/lib/extendedAttributes.ea93dbaa.mjs +293 -0
- package/lib/extendedAttributes.ef3ead02.js +1 -0
- package/lib/fileSearch.43465e1c.js +1 -0
- package/lib/{fileSearch.86c356fe.mjs → fileSearch.5c8a883d.mjs} +140 -115
- package/lib/{flow.designer.6da03949.mjs → flow.designer.81c29f62.mjs} +3184 -3197
- package/lib/flow.designer.ffd0aa8b.js +1 -0
- package/lib/flow.list.4c05f2f0.js +1 -0
- package/lib/{flow.list.03694808.mjs → flow.list.ab420927.mjs} +234 -232
- package/lib/form.build.724d3357.js +1 -0
- package/lib/{form.build.b768d613.mjs → form.build.d04773f0.mjs} +22 -14
- package/lib/form.designer.build.c82cb559.mjs +2529 -0
- package/lib/form.designer.build.dac501fa.js +1 -0
- package/lib/formFiled.4b5062d7.js +1 -0
- package/lib/{formFiled.fe7d9df3.mjs → formFiled.c949a27f.mjs} +15 -13
- package/lib/gd-initial.js +1 -1
- package/lib/gd-initial.mjs +231 -207
- package/lib/{http.appmanage.4554a629.mjs → http.appmanage.e389782d.mjs} +3 -3
- package/lib/{http.codegeneratemanage.2f925b10.mjs → http.codegeneratemanage.b123bab3.mjs} +19 -11
- package/lib/{http.codegeneratemanage.aecadd5d.js → http.codegeneratemanage.e3db2f09.js} +1 -1
- package/lib/{http.dictdatamanage.4baf16c0.mjs → http.dictdatamanage.2583b5ae.mjs} +4 -4
- package/lib/{http.dictmanage.77c69971.mjs → http.dictmanage.d8fe18dc.mjs} +4 -4
- package/lib/{http.duplicatechecking.31964ce7.mjs → http.duplicatechecking.9b79ce21.mjs} +3 -3
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
- package/lib/{http.main.40657f51.mjs → http.main.aefea27d.mjs} +17 -17
- package/lib/{http.menumanage.3240ba0d.mjs → http.menumanage.3060f4c7.mjs} +5 -5
- package/lib/{http.message.5004bf60.mjs → http.message.ceb0a1c6.mjs} +19 -19
- package/lib/{http.noticemanage.e03bd5f3.mjs → http.noticemanage.2cdb23b8.mjs} +7 -7
- package/lib/{http.orgmanage.84e43edb.mjs → http.orgmanage.0b1df8d5.mjs} +2 -2
- package/lib/{http.pluginmanage.6bc6197f.mjs → http.pluginmanage.54720675.mjs} +7 -7
- package/lib/{http.promptmanagement.c7912f6c.mjs → http.promptmanagement.dad4c6a7.mjs} +3 -3
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/{http.rolemanage.dbf3fda1.mjs → http.rolemanage.da5c40e9.mjs} +51 -19
- package/lib/{http.solution.175d36c8.mjs → http.solution.b10d9197.mjs} +4 -4
- package/lib/{http.sumberrules.608a06d6.mjs → http.sumberrules.176d3d06.mjs} +4 -4
- package/lib/{http.sysapps.e294ceaf.mjs → http.sysapps.932ba43b.mjs} +4 -4
- package/lib/{http.tabledevelopment.1d370398.mjs → http.tabledevelopment.3dcb3e97.mjs} +40 -40
- package/lib/{http.team.c8487c0b.mjs → http.team.a9c609d5.mjs} +11 -11
- package/lib/{http.timersmanage.01dbc1a2.mjs → http.timersmanage.c79afb66.mjs} +18 -18
- package/lib/{http.translationmanage.a4640c9a.mjs → http.translationmanage.f8694b51.mjs} +11 -11
- package/lib/{http.useraffiliation.840741ed.mjs → http.useraffiliation.f2a29f92.mjs} +10 -10
- package/lib/{http.usermanage.3e5eff33.mjs → http.usermanage.f5491144.mjs} +16 -16
- package/lib/{http.webresource.5158b431.mjs → http.webresource.1a1a768f.mjs} +4 -4
- package/lib/index.9deaa991.mjs +25906 -0
- package/lib/index.d95c407c.js +8 -0
- package/lib/layoutBlocks.26e1b57b.js +1 -0
- package/lib/layoutBlocks.31454610.mjs +413 -0
- package/lib/layoutItem.c1c836a1.js +1 -0
- package/lib/layoutItem.cf18143e.mjs +71 -0
- package/lib/{layouts.a6a36612.js → layouts.2d06f3e9.js} +2 -2
- package/lib/{layouts.051a0bba.mjs → layouts.3b383d04.mjs} +19 -22
- package/lib/main.09d48801.js +1 -0
- package/lib/main.28b7c398.js +1 -0
- package/lib/main.29e204f9.mjs +166 -0
- package/lib/main.33443996.mjs +231 -0
- package/lib/main.357c50d2.js +1 -0
- package/lib/{main.7f44e3bf.mjs → main.3e886f21.mjs} +40 -50
- package/lib/{main.c1df94d8.mjs → main.419a7b42.mjs} +2 -2
- package/lib/main.4a38d5f8.js +1 -0
- package/lib/{main.70357352.mjs → main.60329866.mjs} +6 -6
- package/lib/{main.ad1e8d4d.js → main.60c2a1a2.js} +1 -1
- package/lib/main.61c9e5c6.mjs +537 -0
- package/lib/main.643d21a0.mjs +552 -0
- package/lib/main.64ddb5f6.mjs +189 -0
- package/lib/main.728eaf53.js +1 -0
- package/lib/{main.8a2a590d.js → main.892caa37.js} +1 -1
- package/lib/main.aea9b6a8.mjs +323 -0
- package/lib/main.b7a5a02b.js +1 -0
- package/lib/main.c71e5b11.js +1 -0
- package/lib/main.edc0b23b.js +1 -0
- package/lib/{main.b0e5e1b0.mjs → main.f520fcf5.mjs} +2 -2
- package/lib/manage.101f1aa9.js +1 -0
- package/lib/{manage.a1df9b88.mjs → manage.f4000654.mjs} +162 -140
- package/lib/messages.fieldconfiguration.0d98a290.mjs +1097 -0
- package/lib/messages.fieldconfiguration.ad4d11cf.js +1 -0
- package/lib/messages.messagetemplate.32273e00.js +7 -0
- package/lib/messages.messagetemplate.7adbbc58.mjs +1319 -0
- package/lib/messages.sendplan.7d0097c2.mjs +1054 -0
- package/lib/messages.sendplan.fbac188d.js +1 -0
- package/lib/messages.sendrecord.ef80d44a.js +2 -0
- package/lib/messages.sendrecord.f0d2fd54.mjs +651 -0
- package/lib/messages.templatelibrary.ec512390.js +2 -0
- package/lib/messages.templatelibrary.ff151513.mjs +808 -0
- package/lib/mobile.designer.componentstree.03f61105.js +1 -0
- package/lib/mobile.designer.componentstree.4a1442dc.mjs +2064 -0
- package/lib/mobile.designer.menutree.0a2f7911.mjs +1036 -0
- package/lib/mobile.designer.menutree.97bb4046.js +1 -0
- package/lib/moveFile.335ebc8d.js +1 -0
- package/lib/moveFile.d71c0824.mjs +276 -0
- package/lib/{page.build.685c1e15.mjs → page.build.376104d5.mjs} +607 -601
- package/lib/{page.build.846096e6.js → page.build.37b26617.js} +3 -3
- package/lib/page.designer.componentstree.0ffc933d.js +1 -0
- package/lib/page.designer.componentstree.b0ecddd8.mjs +2958 -0
- package/lib/page.designer.fieldfiltering.1ecd65a3.mjs +430 -0
- package/lib/page.designer.fieldfiltering.7e913256.js +1 -0
- package/lib/page.designer.menutree.2c1846bc.mjs +5952 -0
- package/lib/page.designer.menutree.c49d9ee6.js +1 -0
- package/lib/page.designer.operation.6179b661.js +1 -0
- package/lib/page.designer.operation.80b1a5d1.mjs +44 -0
- package/lib/page.designer.page.09402332.js +1 -0
- package/lib/page.designer.page.6d8232c7.mjs +10638 -0
- package/lib/personal.echarts.414b7e3d.mjs +268 -0
- package/lib/personal.echarts.b7ee86f4.js +1 -0
- package/lib/result.0c089066.mjs +639 -0
- package/lib/result.9282a717.js +1 -0
- package/lib/router.config.68077a12.js +1 -0
- package/lib/router.config.86225b11.mjs +1424 -0
- package/lib/solution.application.d459e382.js +1 -0
- package/lib/solution.application.e0d58df1.mjs +548 -0
- package/lib/solution.applicationmenu.71ef6b8e.mjs +508 -0
- package/lib/solution.applicationmenu.ae295083.js +1 -0
- package/lib/solution.approvalflow.436b3502.js +1 -0
- package/lib/solution.approvalflow.bef7fbdd.mjs +436 -0
- package/lib/solution.dict.acbe9c55.js +1 -0
- package/lib/solution.dict.ef98b194.mjs +769 -0
- package/lib/solution.menu.5c17348f.mjs +432 -0
- package/lib/solution.menu.cca5e1f9.js +1 -0
- package/lib/solution.plugin.90f8dcc1.mjs +347 -0
- package/lib/solution.plugin.f9a8063f.js +1 -0
- package/lib/solution.processflow.2692dac6.js +1 -0
- package/lib/solution.processflow.c1544b05.mjs +392 -0
- package/lib/solution.role.b1ab40dd.mjs +456 -0
- package/lib/solution.role.b28c4dbe.js +1 -0
- package/lib/solution.webresources.0b51beba.mjs +379 -0
- package/lib/solution.webresources.6961cc68.js +1 -0
- package/lib/solution.workflow.11e49e25.js +1 -0
- package/lib/solution.workflow.c48545d1.mjs +395 -0
- package/lib/{store.config.fff8a5a1.mjs → store.config.03dd7b19.mjs} +22 -17
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/style.css +3 -3
- package/lib/{system.account.014f3e0b.mjs → system.account.1cadbf03.mjs} +877 -881
- package/lib/{system.account.0d4f1fdc.js → system.account.5cc9fe8d.js} +7 -7
- package/lib/{system.config.210f516c.js → system.config.a0b94e40.js} +1 -1
- package/lib/{system.config.0899edb8.mjs → system.config.a9a1ee96.mjs} +1 -1
- package/lib/{system.datasource.82492d27.js → system.datasource.6c30ce25.js} +1 -1
- package/lib/{system.datasource.986768c9.mjs → system.datasource.c103a9c2.mjs} +1 -1
- package/lib/{system.dict.ef24873d.mjs → system.dict.0c229d1c.mjs} +264 -260
- package/lib/system.dict.6b000092.js +1 -0
- package/lib/system.document.f67c2994.mjs +667 -0
- package/lib/system.document.f8fd7af0.js +1 -0
- package/lib/{system.duplicatechecking.dcf9f86b.mjs → system.duplicatechecking.94c7ce17.mjs} +245 -265
- package/lib/system.duplicatechecking.f4cab147.js +1 -0
- package/lib/system.email.11ab6f31.js +1 -0
- package/lib/{system.email.252fd642.mjs → system.email.13823361.mjs} +10 -15
- package/lib/system.fieldsecurity.2ef2881c.js +1 -0
- package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.d35acd97.mjs} +370 -361
- package/lib/{system.file.73eeb731.mjs → system.file.30d3e7bc.mjs} +81 -149
- package/lib/system.file.b9f8320c.js +1 -0
- package/lib/{system.log.fc60f5e6.js → system.log.470d3efd.js} +1 -1
- package/lib/{system.log.b86cf57f.mjs → system.log.815840d8.mjs} +1 -1
- package/lib/{system.machine.0114001b.mjs → system.machine.1665954f.mjs} +1 -1
- package/lib/{system.machine.f1d95c86.js → system.machine.f8aff893.js} +1 -1
- package/lib/{system.notice.25ea8dca.mjs → system.notice.bef6c23c.mjs} +994 -992
- package/lib/system.notice.db26f308.js +1 -0
- package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.0d293a87.mjs} +10 -11
- package/lib/system.noticereceived.84b88b9a.js +1 -0
- package/lib/system.onlineuser.985621a6.js +1 -0
- package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.bccb1cd9.mjs} +37 -26
- package/lib/{system.org.c20fe6b2.mjs → system.org.92f4d7f1.mjs} +2 -2
- package/lib/{system.org.79ee5bd6.js → system.org.9f87a010.js} +1 -1
- package/lib/system.permissions.15e6b8b7.js +1 -0
- package/lib/system.permissions.be9238ee.mjs +972 -0
- package/lib/system.plugin.0bccfec4.js +1 -0
- package/lib/{system.plugin.45a0f530.mjs → system.plugin.af27d7ac.mjs} +500 -479
- package/lib/{system.pos.0a3d2a37.js → system.pos.61e58a92.js} +1 -1
- package/lib/{system.pos.7946a99c.mjs → system.pos.fe067063.mjs} +1 -1
- package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.0b9083c5.mjs} +246 -243
- package/lib/system.promptmanagement.e750de82.js +1 -0
- package/lib/{system.role.75da7929.mjs → system.role.67f62146.mjs} +511 -488
- package/lib/system.role.e86b60f1.js +1 -0
- package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.093d998e.mjs} +168 -165
- package/lib/system.sumberrules.810f7b55.js +1 -0
- package/lib/system.team.58ee701b.js +1 -0
- package/lib/{system.team.e6a9608e.mjs → system.team.8911fd95.mjs} +163 -161
- package/lib/system.teammembers.1880f962.js +1 -0
- package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.35564a00.mjs} +203 -198
- package/lib/{system.timers.eb0b6f3e.mjs → system.timers.4b2d509f.mjs} +2261 -2213
- package/lib/system.timers.9e956553.js +38 -0
- package/lib/system.translation.26b6bb39.js +1 -0
- package/lib/{system.translation.e34f0891.mjs → system.translation.60ec676c.mjs} +435 -429
- package/lib/system.user.134a3988.js +14 -0
- package/lib/{system.user.fa2d2997.mjs → system.user.9a02295e.mjs} +1082 -1026
- package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.96695aeb.mjs} +418 -412
- package/lib/system.useraffiliation.c2421c7e.js +1 -0
- package/lib/{system.webresource.469db736.mjs → system.webresource.016d0000.mjs} +179 -179
- package/lib/system.webresource.e92e8a8f.js +1 -0
- package/lib/{system.welcome.191e98f5.mjs → system.welcome.127b5dd4.mjs} +1 -1
- package/lib/{system.welcome.f64e49f8.js → system.welcome.ff0c85e2.js} +1 -1
- package/lib/table.definition..btnconfig.9847cac5.mjs +938 -0
- package/lib/table.definition..btnconfig.ce57ed41.js +1 -0
- package/lib/table.definition..echartsconfig.625bce88.mjs +2150 -0
- package/lib/table.definition..echartsconfig.d2b65881.js +1 -0
- package/lib/tableDescriptions.a4196776.mjs +80 -0
- package/lib/tableDescriptions.b9b0d7fa.js +1 -0
- package/lib/tcheckboxs.7ea99d35.js +1 -0
- package/lib/{tcheckboxs.090e75eb.mjs → tcheckboxs.999b7c2e.mjs} +2 -2
- package/lib/tcurrency.4afb9192.mjs +85 -0
- package/lib/tcurrency.8a2361f2.js +1 -0
- package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.606214fa.mjs} +2 -2
- package/lib/{tdatepicker.b19e689d.js → tdatepicker.8e94a60c.js} +1 -1
- package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.ccbdd153.js} +1 -1
- package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.e016d4cf.mjs} +2 -2
- package/lib/{tfile.72925615.mjs → tfile.3f39223d.mjs} +2 -2
- package/lib/{tfile.1bc381f9.js → tfile.b3ebdc71.js} +1 -1
- package/lib/{tparticipants.ca5b556c.mjs → tparticipants.5fe27540.mjs} +2 -2
- package/lib/{tparticipants.77b876e2.js → tparticipants.78c8c175.js} +1 -1
- package/lib/{translation.mains.278e4ba6.mjs → translation.mains.2688be5b.mjs} +7 -7
- package/lib/{translation.mains.1ce7e110.js → translation.mains.a6f19343.js} +1 -1
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.333daba2.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/versionControl.46a7f31a.js +1 -0
- package/lib/versionControl.c53bfb5d.mjs +488 -0
- package/lib/versionEdit.4246d5db.js +1 -0
- package/lib/versionEdit.5a8292ec.mjs +452 -0
- package/lib/view.build.85732408.mjs +1578 -0
- package/lib/view.build.e43a2077.js +1 -0
- package/lib/viewList.868edcd7.js +1 -0
- package/lib/{viewList.5a25c4b6.mjs → viewList.978b72c5.mjs} +70 -92
- package/lib/viewTree.7497ff90.js +1 -0
- package/lib/viewTree.bde43a3b.mjs +409 -0
- package/locale/en_US.js +45 -6
- package/locale/id_ID.js +45 -6
- package/locale/vi_VN.js +45 -6
- package/locale/zh_CN.js +45 -5
- package/package.json +1 -1
- package/lib/addPermission.5036013c.js +0 -1
- package/lib/approvalModel.66f49dfb.js +0 -1
- package/lib/attribute.318f485c.js +0 -1
- package/lib/attribute.a06ac9e7.mjs +0 -237
- package/lib/buildItem.6a834227.js +0 -1
- package/lib/buildItem.fd8634ab.mjs +0 -205
- package/lib/businessRules.0e4dbb3a.js +0 -1
- package/lib/components.chartbi.b043dcdc.mjs +0 -1729
- package/lib/components.chartbi.e4680eaa.js +0 -7
- package/lib/components.echarts.e4d6b13e.js +0 -3
- package/lib/components.iconselector.d712170f.js +0 -1
- package/lib/components.middleware.3bad5748.js +0 -1
- package/lib/components.sidenavmenu.b9bb9304.js +0 -1
- package/lib/components.tableumy.9cf33062.js +0 -1
- package/lib/components.tablevirtual.38d4d3d8.js +0 -1
- package/lib/components.viewformdetails.1621bc18.js +0 -1
- package/lib/components.viewloading.807bbf68.js +0 -1
- package/lib/components.xlsximport.dbd826bb.js +0 -1
- package/lib/createFile.6b37ecf2.js +0 -1
- package/lib/createFile.82d6e415.mjs +0 -239
- package/lib/createSubfolders.47af629c.js +0 -1
- package/lib/drawerContainer.604a1271.mjs +0 -146
- package/lib/drawerContainer.6a9813ce.js +0 -1
- package/lib/fileSearch.65311ded.js +0 -1
- package/lib/flow.designer.1ba3a90d.js +0 -1
- package/lib/flow.list.4eb10554.js +0 -1
- package/lib/form.build.51bd261e.js +0 -1
- package/lib/form.designer.build.5a950455.js +0 -1
- package/lib/form.designer.build.e521c9c6.mjs +0 -5091
- package/lib/formFiled.464856f5.js +0 -1
- package/lib/http.filedocument.7c656b91.js +0 -1
- package/lib/http.filedocument.d456d26a.mjs +0 -156
- package/lib/http.rolemanage.03363732.js +0 -1
- package/lib/index.69ad4631.mjs +0 -44291
- package/lib/index.cca024bf.js +0 -8
- package/lib/layoutBlocks.1a9e3e05.mjs +0 -204
- package/lib/layoutBlocks.5e6be06f.js +0 -1
- package/lib/main.457f4326.js +0 -1
- package/lib/main.4fff412e.js +0 -1
- package/lib/main.77373aa4.mjs +0 -441
- package/lib/main.c3726602.js +0 -1
- package/lib/manage.5bb4f719.js +0 -1
- package/lib/messages.7b74736f.js +0 -9
- package/lib/messages.ad082386.mjs +0 -4889
- package/lib/moveFile.0ce803e0.js +0 -1
- package/lib/moveFile.8310ea94.mjs +0 -254
- package/lib/personal.echarts.b22fba61.mjs +0 -701
- package/lib/personal.echarts.f77bfc9e.js +0 -1
- package/lib/result.19351665.mjs +0 -526
- package/lib/result.e59c0e40.js +0 -1
- package/lib/router.config.2501ec51.js +0 -1
- package/lib/router.config.98a73167.mjs +0 -3172
- package/lib/solution.58580123.js +0 -1
- package/lib/solution.890ff164.mjs +0 -6942
- package/lib/store.config.3cb11578.js +0 -1
- package/lib/system.dict.f5708400.js +0 -1
- package/lib/system.duplicatechecking.8e3a37c0.js +0 -1
- package/lib/system.email.070ab2be.js +0 -1
- package/lib/system.fieldsecurity.3ef07bf7.js +0 -1
- package/lib/system.file.17a7f2ed.js +0 -1
- package/lib/system.notice.96c770a6.js +0 -1
- package/lib/system.noticereceived.dfe4ecc7.js +0 -1
- package/lib/system.onlineuser.e2e39bdc.js +0 -1
- package/lib/system.permissions.90f73461.js +0 -9
- package/lib/system.permissions.c3d34921.mjs +0 -213
- package/lib/system.plugin.b34a3b47.js +0 -1
- package/lib/system.promptmanagement.b5fa6b2d.js +0 -1
- package/lib/system.role.03be0982.js +0 -1
- package/lib/system.sumberrules.bb228fce.js +0 -1
- package/lib/system.team.32183b63.js +0 -1
- package/lib/system.teammembers.847d8ea7.js +0 -1
- package/lib/system.timers.28691ce4.js +0 -38
- package/lib/system.translation.6237f071.js +0 -1
- package/lib/system.user.fca3f2d6.js +0 -14
- package/lib/system.useraffiliation.7547b9c7.js +0 -1
- package/lib/system.webresource.12712b90.js +0 -1
- package/lib/tcheckboxs.99361be3.js +0 -1
- package/lib/tcurrency.0ddac2f8.mjs +0 -92
- package/lib/tcurrency.62763c6d.js +0 -1
- package/lib/utils.datepicker.js.2076c2a2.mjs +0 -61
- package/lib/utils.datepicker.js.8576e2fc.js +0 -1
- package/lib/utils.util.js.50d1ec9c.js +0 -1
- package/lib/utils.util.js.82cd8447.mjs +0 -424
- package/lib/view.build.b44fd7d7.js +0 -1
- package/lib/view.build.f2a9fcfb.mjs +0 -2727
- package/lib/viewList.be5a5ec5.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const p=require("./utils.util.js.c0ba699b.js"),h=require("./components.chartbi.3bbac955.js");const f={name:"GdTableUmy",props:Object.assign({},{record:{type:Object,default:()=>({})},dataSource:{type:Function,required:!0},size:{type:String,default:"small"},rowKey:{type:[String,Function],default:"id"},amount:{type:Function},load:{type:Function},tableTree:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},border:{type:Boolean,default:!1},columns:{type:Array,default:()=>[]},cellStyle:{type:Function},cellClassName:{type:Function},rowClassName:{type:Function},defaultExpandedKeys:{type:Array,default:()=>[]},selectedRowKeys:{type:Array,default:()=>[]},selectedKeep:{type:Boolean,default:!1},height:{type:Number,default:0},maxHeight:{type:Number,default:0},indent:{type:Number,default:16},pageSize:{type:Number,default:10},pageSizes:{type:Array,default:()=>[10,20,30,40,50,100,200,500]},tableExpand:{type:Array,default:()=>[]},defaultExpandAll:{type:Boolean,default:!1},method:{type:Boolean,default:!1},columnKey:{type:String,default:""},showSummary:{type:Boolean,default:!1},headerCellStyle:{type:[Object,Function],default:()=>({})},showPagination:{type:Boolean,default:!0},initialLoading:{type:Boolean,default:!0},filtering:{type:Boolean,default:!1},disabledRowId:{type:Array,default:()=>[]},disabledRefresh:{type:Boolean,default:!1},stripe:{type:Boolean,default:!1}}),computed:{getHeaderCellStyle(){return Object.assign({background:this.fadeColor(this.primaryColor,.05)},this.headerCellStyle)},fadeColord(){return this.fadeColor(this.primaryColor,.3)},getColumns(){return this.columnsSetting.filter(t=>t.checked===void 0||t.checked)},selectionType(){const t=this.columns.filter(e=>e.type==="selection"||e.type==="selection-radio")[0];return t?t.type==="selection"?"checkbox":"radio":null},hasClear(){let t=[];for(let e in this.sorter)t.push(e);return t.length},dropdownActive(){return`background-color: ${this.fadeColor(this.primaryColor,.1)};color:${this.primaryColor}`},totalPages(){return Math.ceil(this.total/this.pageSized)},...h.mapGetters(["primaryColor","language"])},data(){return{tableData:[],loading:!1,customSize:this.size,keyValue:null,currentRow:"",total:0,sorter:{},state:!1,currentPage:1,pageSized:this.pageSize,columnsSetting:[],visibleFilter:!1}},watch:{tableExpand:{handler(){const t=this.$refs.refTable,e=this.getChildRens(this.tableData);p.treeToArray(JSON.parse(JSON.stringify(this.tableData)),"children").map(a=>{e.includes(a.id)?t.toggleRowExpansion(a,!1):t.toggleRowExpansion(a,!0)})},deep:!0},tableData:{handler(){this.keyValue=void 0,this.numbers=0},deep:!0},language:{handler(){this.$nextTick(()=>{setTimeout(()=>{this.$refs.refTable.doLayout()},0)})},deep:!0},size:{handler(t){this.$nextTick(()=>{setTimeout(()=>{this.customSize=t,this.$refs.refTable.doLayout()},0)})},deep:!0}},methods:{selecTables({row:t}){return!this.disabledRowId.includes(t.id)},changeFilter(t){this.visibleFilter=t},closeFilter(){this.$refs.filterdropdown.hide()},cellClassNamed({row:t,rowIndex:e}){return this.cellClassName&&typeof this.cellClassName=="function"?this.cellClassName({row:t,rowIndex:e}):""},rowClassNamed({row:t,rowIndex:e}){return this.rowClassName&&typeof this.rowClassName=="function"?this.rowClassName({row:t,rowIndex:e}):""},columnChange(t){let e=t.filter(a=>a.fixed),l=[...t];return l.forEach((a,s)=>{l[s].fixed=!1,s<e.length&&(l[s].fixed=!0)}),this.$emit("columnChange",l),this.columnsSetting=l,new Promise((a,s)=>{this.$nextTick(()=>{setTimeout(()=>{this.$refs.refTable.doLayout(),a()},0)})})},summaries(t){return this.amount(t)},spanMethod({row:t,column:e}){if(e.property===this.columnKey){let l=0,a=0;if(this.keyValue!==t[this.columnKey]){for(;l<this.tableData.length;)this.tableData[l][this.columnKey]===t[this.columnKey]&&a++,l++;this.keyValue=t[this.columnKey]}else a=0;return{rowspan:a,colspan:1}}},handlerClick(t){this.$emit("handlerClick",t)},handleButton(t,e,l){this.$emit("handleButton",{methods:t,row:e})},handleFilterChange(t){this.$emit("handleFilterChange",t)},handleSelectionChange(t){if(this.loading)return;const e=this.rowKey||"index";let l=[];t.forEach((a,s)=>{l.push(a[e])}),this.$emit("onChange",l,t)},changRadio(t){if(this.loading)return;const e=this.rowKey||"index";let l={};this.tableData.forEach(a=>{if(a[e]===t&&(l={...a}),a.children&&a.children.length>0){const s=a.children.filter(i=>i[e]===t)[0];l=s?{...s}:l}}),this.$emit("onChange",[l[e]],[l])},handleSelect(t,e){this.$emit("handleSelect",t,e)},selectAll(t){this.$emit("selectAll",t)},rowClick(t,e,l){this.$emit("rowClick",t,e)},handleSizeChange(t){this.pageSized=t,this.currentPage>this.totalPages&&(this.currentPage=this.totalPages),this.selectedKeep||this.$emit("onChange",[],[]),this.loadData()},handleCurrentChange(t){this.currentPage=t,this.selectedKeep||this.$emit("onChange",[],[]),this.loadData()},expandChange(t,e){this.$emit("expandChange",{val:t,expanded:e})},getChildRens(t){const e=[];return t.map(l=>{if(this.tableExpand.includes(l.id)||e.push(l.id),Object.prototype.hasOwnProperty.call(l,"children")){const a=this.getChildRens(l.children);e.push(...a)}}),e},handleCurrentRowChange(t){this.$emit("handleCurrentRowChange",t)},handleHeaderDragEnd(){this.$nextTick(()=>{this.$refs.refTable.doLayout()})},changColumnHeight(t){this.customSize=t,this.$nextTick(()=>{this.$refs.refTable.doLayout()})},sortChange({prop:t,order:e}){this.sorter=e?{sortField:t,sortOrder:e.replace("ending","")}:{},this.loadData()},loadData(){this.loading=!0;const t=this.dataSource(Object.assign({...this.sorter},{pageNo:this.currentPage,pageSize:this.pageSized}));(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"?t.then(e=>{let l=e&&e.rows?e.rows:[];this.tableData=[...l],this.currentPage=e.pageNo,this.total=e.totalRows,this.toggleRowSelection()}):this.loading=!1},setLoadData(t){this.tableData=[...t],this.total=t.length,this.$nextTick(()=>{setTimeout(()=>{this.$refs.refTable.doLayout()},0)})},doLayout(){this.$nextTick(()=>{setTimeout(()=>{this.$refs.refTable.doLayout()},0)})},getLoadData(){return new Promise((t,e)=>{t(this.tableData)})},async toggleRowSelection(){if(!this.selectionType){this.loading=!1;return}this.selectionType==="radio"&&(this.currentRow=this.selectedRowKeys[0]?this.selectedRowKeys[0]:""),this.$nextTick(async()=>{setTimeout(async()=>{const t=this.rowKey||"index";let e=[];const l=(n,o)=>(n=n.filter((r,u)=>(this.selectedRowKeys.includes(r[t])&&e.push(r),r.children&&r.children.length>0&&l(r.children),!0)),n);await l(this.tableData);const a=this.selectedRowKeys.filter(n=>!this.tableData.filter(r=>n===r[t])[0]);let s=[];for(let n=0;n<a.length;n++){let o=new Map;o.set(t,a[n]),s.push(Object.fromEntries(o))}const i=e.concat(s);let d=[];for(let n=0;n<i.length;n++){let o=new Promise((r,u)=>{this.$refs.refTable.toggleRowSelection([{row:i[n],selected:!0}]),r(n)});d.push(o)}Promise.all(d).then(n=>{this.loading=!1})},10)})},refresh(t=!0){!this.selectedKeep&&t&&this.$emit("onChange",[],[]),t&&(this.currentPage=1),this.loadData()},clearAll(){if(this.state||this.loading)return;let t=[];for(let e in this.sorter)t.push(e);t.length!==0&&(this.state=!0,this.sorter={},this.$refs.refTable.clearSort(),this.$refs.refTable.clearFilter(),setTimeout(()=>{this.refresh(),this.state=!1},100))},fadeColor(t,e){let l=parseInt(t.substring(1,3),16),a=parseInt(t.substring(3,5),16),s=parseInt(t.substring(5,7),16);return`rgba(${l},${a},${s},${e})`}},created(){this.columnsSetting=this.columns,this.initialLoading&&this.loadData()}};var g=function(){var e=this,l=e._self._c;return l("div",{staticClass:"gd-tables",style:{"--theme":e.primaryColor,"--fadecolor":e.fadeColord}},[l("div",{staticClass:"tables-tool"},[l("div",{staticClass:"tables-tool-l"},[e._t("operator")],2),l("div",{staticClass:"tables-tool-r"},[e.hasClear?l("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],staticClass:"item",attrs:{effect:"dark",content:e.$i18nt("gd.basics.reset","\u91CD\u7F6E"),placement:"bottom"}},[l("i",{staticClass:"el-icon-brush",on:{click:e.clearAll}})]):e._e(),e.filtering?l("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],staticClass:"item",attrs:{effect:"dark",content:e.$i18nt("gd.basics.screen","\u7B5B\u9009"),placement:"bottom"}},[l("el-dropdown",{ref:"filterdropdown",attrs:{trigger:"click",placement:"bottom"},on:{"visible-change":e.changeFilter}},[l("span",{staticClass:"el-dropdown-link"},[l("i",{staticClass:"gd-icons gd-icon-a-guangqi_guolv11x"})]),l("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e._t("filtering",null,{columns:e.columns,height:e.height,colse:e.closeFilter,visible:e.visibleFilter})],2)],1)],1):e._e(),e.disabledRefresh?e._e():l("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],staticClass:"item",attrs:{effect:"dark",content:e.$i18nt("gd.basics.refresh","\u5237\u65B0"),placement:"bottom"}},[l("i",{staticClass:"el-icon-refresh",on:{click:function(a){return e.refresh(!1)}}})]),l("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],staticClass:"item",attrs:{effect:"dark",content:e.$i18nt("gd.basics.density","\u5BC6\u5EA6"),placement:"bottom"}},[l("el-dropdown",{attrs:{trigger:"click",placement:"bottom"},on:{command:e.changColumnHeight}},[l("span",{staticClass:"el-dropdown-link"},[l("i",{staticClass:"el-icon-s-operation"})]),l("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[l("el-dropdown-item",{style:e.customSize==="medium"?e.dropdownActive:"",attrs:{command:"medium"}},[e._v(" "+e._s(e.$i18nt("gd.basics.default","\u9ED8\u8BA4"))+" ")]),l("el-dropdown-item",{style:e.customSize==="small"?e.dropdownActive:"",attrs:{command:"small"}},[e._v(" "+e._s(e.$i18nt("gd.basics.secondary","\u4E2D\u7B49"))+" ")]),l("el-dropdown-item",{style:e.customSize==="mini"?e.dropdownActive:"",attrs:{command:"mini"}},[e._v(" "+e._s(e.$i18nt("gd.basics.compact","\u7D27\u51D1"))+" ")])],1)],1)],1),l("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.$i18nt("gd.basics.columnSettings","\u5217\u8BBE\u7F6E"),placement:"bottom"}},[l("el-dropdown",{attrs:{trigger:"click",placement:"bottom"}},[l("span",{staticClass:"el-dropdown-link"},[l("i",{staticClass:"el-icon-setting"})]),l("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[l("gd-column-settings",{attrs:{columns:e.columns,height:e.height},on:{columnChange:e.columnChange}})],1)],1)],1)],1)]),l("ux-grid",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"refTable",staticClass:"table",staticStyle:{width:"100%"},attrs:{stripe:e.stripe,"row-key":"","expand-row-keys":e.tableExpand,"tree-props":e.tableTree?{children:"children",hasChildren:"isLeaf"}:void 0,"tree-config":e.tableTree?{children:"children",hasChildren:"isLeaf"}:void 0,tooltip:!0,border:e.border,size:e.customSize,indent:e.indent,lazy:e.lazy,"show-summary":e.showSummary,"summary-method":e.summaries,"default-expand-all":e.defaultExpandAll,"virtual-scroll":!0,"element-loading-background":"rgba(255, 255, 255, 0.8)","element-loading-spinner":"el-icon-loading",data:e.tableData,"cell-style":e.cellStyle,height:e.height||null,"max-height":e.maxHeight||null,"default-sort":{prop:"id",order:null},load:e.lazy?e.load:null,"span-method":e.method?e.spanMethod:null,"header-cell-style":e.getHeaderCellStyle,"cell-class-name":e.cellClassNamed,"row-class-name":e.rowClassNamed,"checkbox-config":{checkMethod:e.selecTables}},on:{"sort-change":e.sortChange,"filter-change":e.handleFilterChange,"selection-change":e.handleSelectionChange,"row-click":e.rowClick,"expand-change":e.expandChange,"select-all":e.selectAll,select:e.handleSelect,"current-change":e.handleCurrentRowChange,"header-dragend":e.handleHeaderDragEnd}},[e._l(e.getColumns,function(a,s){return[a.type=="selection"?[l("ux-table-column",{attrs:{"tree-node":"",type:"checkbox",width:a.width,align:a.align?a.align:"center"}})]:a.type=="selection-radio"?[l("ux-table-column",{key:a.key?a.key:s,attrs:{"tree-node":"",width:a.width,label:"",fixed:a.fixed?a.fixed:"left",align:a.align?a.align:"center"},scopedSlots:e._u([{key:"default",fn:function(i){return[l("el-radio",{attrs:{label:i.row[e.rowKey],size:"small",disabled:e.disabledRowId.includes(i.row[e.rowKey])},on:{input:e.changRadio},model:{value:e.currentRow,callback:function(d){e.currentRow=d},expression:"currentRow"}},[e._v(" "+e._s("")+" ")])]}}],null,!0)})]:a.hidden!=!1&&a.type!=="slot"&&a.type!="expand"&&a.type!="selection-radio"?[l("ux-table-column",{attrs:{width:a.width,field:a.prop,label:e.$i18nt(a.transKey,a.label),fixed:a.fixed?a.fixed:"",title:e.$i18nt(a.transKey,a.label)}})]:a.type==="slot"?[l("ux-table-column",{key:a.key?a.key:s,attrs:{width:a.width,"show-header-overflow":typeof a.showTooltip>"u"?!0:a.showTooltip,"min-width":a.minWidth,field:a.prop,title:e.$i18nt(a.transKey,a.label),fixed:a.fixed?a.fixed:"",sortable:a.sortable?a.sortable:!1,align:a.align?a.align:"center","render-header":a.renderHeader,filters:a.filters,"filter-method":a.filterTag,"filter-placement":"bottom-end","reserve-selection":a.reserveSelection,type:a.colType},scopedSlots:e._u([{key:"default",fn:function(i){return[e._t(a.slotType,null,{row:i.row,index:i.$index,column:i.column})]}}],null,!0)})]:e._e()]}),l("template",{slot:"empty"},[l("div",{staticClass:"gd-table-empty"},[l("i",{staticClass:"el-icon-receiving"}),l("div",{staticClass:"empty-title"},[e._v(e._s(e.$i18nt("gd.echarts.noData","\u6682\u65E0\u6570\u636E\u5C55\u793A")))])])])],2),l("div",{staticClass:"gd-paging"},[e.showPagination?l("el-pagination",{attrs:{background:"","page-sizes":e.pageSizes,"page-size":e.pageSized,"current-page":e.currentPage,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"update:currentPage":function(a){e.currentPage=a},"update:current-page":function(a){e.currentPage=a},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}):e._e()],1)],1)},m=[],y=h.normalizeComponent(f,g,m,!1,null,"60a25e45",null,null);const c=y.exports;c.install=function(t){t.component(c.name,c)};exports.GDpackage=c;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as u } from "./utils.util.js.
|
|
2
|
-
import { m as p, n as f } from "./components.chartbi.
|
|
1
|
+
import { t as u } from "./utils.util.js.333daba2.mjs";
|
|
2
|
+
import { m as p, n as f } from "./components.chartbi.571c5ff5.mjs";
|
|
3
3
|
const g = {
|
|
4
4
|
name: "GdTableUmy",
|
|
5
5
|
props: Object.assign(
|
|
@@ -135,6 +135,9 @@ const g = {
|
|
|
135
135
|
}
|
|
136
136
|
),
|
|
137
137
|
computed: {
|
|
138
|
+
getHeaderCellStyle() {
|
|
139
|
+
return Object.assign({ background: this.fadeColor(this.primaryColor, 0.05) }, this.headerCellStyle);
|
|
140
|
+
},
|
|
138
141
|
fadeColord() {
|
|
139
142
|
return this.fadeColor(this.primaryColor, 0.3);
|
|
140
143
|
},
|
|
@@ -418,7 +421,7 @@ var m = function() {
|
|
|
418
421
|
var e = this, l = e._self._c;
|
|
419
422
|
return l("div", { staticClass: "gd-tables", style: { "--theme": e.primaryColor, "--fadecolor": e.fadeColord } }, [l("div", { staticClass: "tables-tool" }, [l("div", { staticClass: "tables-tool-l" }, [e._t("operator")], 2), l("div", { staticClass: "tables-tool-r" }, [e.hasClear ? l("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.basics.reset", "\u91CD\u7F6E"), placement: "bottom" } }, [l("i", { staticClass: "el-icon-brush", on: { click: e.clearAll } })]) : e._e(), e.filtering ? l("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.basics.screen", "\u7B5B\u9009"), placement: "bottom" } }, [l("el-dropdown", { ref: "filterdropdown", attrs: { trigger: "click", placement: "bottom" }, on: { "visible-change": e.changeFilter } }, [l("span", { staticClass: "el-dropdown-link" }, [l("i", { staticClass: "gd-icons gd-icon-a-guangqi_guolv11x" })]), l("el-dropdown-menu", { attrs: { slot: "dropdown" }, slot: "dropdown" }, [e._t("filtering", null, { columns: e.columns, height: e.height, colse: e.closeFilter, visible: e.visibleFilter })], 2)], 1)], 1) : e._e(), e.disabledRefresh ? e._e() : l("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.basics.refresh", "\u5237\u65B0"), placement: "bottom" } }, [l("i", { staticClass: "el-icon-refresh", on: { click: function(a) {
|
|
420
423
|
return e.refresh(!1);
|
|
421
|
-
} } })]), l("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.basics.density", "\u5BC6\u5EA6"), placement: "bottom" } }, [l("el-dropdown", { attrs: { trigger: "click", placement: "bottom" }, on: { command: e.changColumnHeight } }, [l("span", { staticClass: "el-dropdown-link" }, [l("i", { staticClass: "el-icon-s-operation" })]), l("el-dropdown-menu", { attrs: { slot: "dropdown" }, slot: "dropdown" }, [l("el-dropdown-item", { style: e.customSize === "medium" ? e.dropdownActive : "", attrs: { command: "medium" } }, [e._v(" " + e._s(e.$i18nt("gd.basics.default", "\u9ED8\u8BA4")) + " ")]), l("el-dropdown-item", { style: e.customSize === "small" ? e.dropdownActive : "", attrs: { command: "small" } }, [e._v(" " + e._s(e.$i18nt("gd.basics.secondary", "\u4E2D\u7B49")) + " ")]), l("el-dropdown-item", { style: e.customSize === "mini" ? e.dropdownActive : "", attrs: { command: "mini" } }, [e._v(" " + e._s(e.$i18nt("gd.basics.compact", "\u7D27\u51D1")) + " ")])], 1)], 1)], 1), l("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.basics.columnSettings", "\u5217\u8BBE\u7F6E"), placement: "bottom" } }, [l("el-dropdown", { attrs: { trigger: "click", placement: "bottom" } }, [l("span", { staticClass: "el-dropdown-link" }, [l("i", { staticClass: "el-icon-setting" })]), l("el-dropdown-menu", { attrs: { slot: "dropdown" }, slot: "dropdown" }, [l("gd-column-settings", { attrs: { columns: e.columns, height: e.height }, on: { columnChange: e.columnChange } })], 1)], 1)], 1)], 1)]), l("ux-grid", { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], ref: "refTable", staticClass: "table", staticStyle: { width: "100%" }, attrs: { stripe: e.stripe, "row-key": "", "expand-row-keys": e.tableExpand, "tree-props": e.tableTree ? { children: "children", hasChildren: "isLeaf" } : void 0, "tree-config": e.tableTree ? { children: "children", hasChildren: "isLeaf" } : void 0, tooltip: !0, border: e.border, size: e.customSize, indent: e.indent, lazy: e.lazy, "show-summary": e.showSummary, "summary-method": e.summaries, "default-expand-all": e.defaultExpandAll, "virtual-scroll": !0, "element-loading-background": "rgba(255, 255, 255, 0.8)", "element-loading-spinner": "el-icon-loading", data: e.tableData, "cell-style": e.cellStyle, height: e.height || null, "max-height": e.maxHeight || null, "default-sort": { prop: "id", order: null }, load: e.lazy ? e.load : null, "span-method": e.method ? e.spanMethod : null, "header-cell-style": e.
|
|
424
|
+
} } })]), l("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.basics.density", "\u5BC6\u5EA6"), placement: "bottom" } }, [l("el-dropdown", { attrs: { trigger: "click", placement: "bottom" }, on: { command: e.changColumnHeight } }, [l("span", { staticClass: "el-dropdown-link" }, [l("i", { staticClass: "el-icon-s-operation" })]), l("el-dropdown-menu", { attrs: { slot: "dropdown" }, slot: "dropdown" }, [l("el-dropdown-item", { style: e.customSize === "medium" ? e.dropdownActive : "", attrs: { command: "medium" } }, [e._v(" " + e._s(e.$i18nt("gd.basics.default", "\u9ED8\u8BA4")) + " ")]), l("el-dropdown-item", { style: e.customSize === "small" ? e.dropdownActive : "", attrs: { command: "small" } }, [e._v(" " + e._s(e.$i18nt("gd.basics.secondary", "\u4E2D\u7B49")) + " ")]), l("el-dropdown-item", { style: e.customSize === "mini" ? e.dropdownActive : "", attrs: { command: "mini" } }, [e._v(" " + e._s(e.$i18nt("gd.basics.compact", "\u7D27\u51D1")) + " ")])], 1)], 1)], 1), l("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.basics.columnSettings", "\u5217\u8BBE\u7F6E"), placement: "bottom" } }, [l("el-dropdown", { attrs: { trigger: "click", placement: "bottom" } }, [l("span", { staticClass: "el-dropdown-link" }, [l("i", { staticClass: "el-icon-setting" })]), l("el-dropdown-menu", { attrs: { slot: "dropdown" }, slot: "dropdown" }, [l("gd-column-settings", { attrs: { columns: e.columns, height: e.height }, on: { columnChange: e.columnChange } })], 1)], 1)], 1)], 1)]), l("ux-grid", { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], ref: "refTable", staticClass: "table", staticStyle: { width: "100%" }, attrs: { stripe: e.stripe, "row-key": "", "expand-row-keys": e.tableExpand, "tree-props": e.tableTree ? { children: "children", hasChildren: "isLeaf" } : void 0, "tree-config": e.tableTree ? { children: "children", hasChildren: "isLeaf" } : void 0, tooltip: !0, border: e.border, size: e.customSize, indent: e.indent, lazy: e.lazy, "show-summary": e.showSummary, "summary-method": e.summaries, "default-expand-all": e.defaultExpandAll, "virtual-scroll": !0, "element-loading-background": "rgba(255, 255, 255, 0.8)", "element-loading-spinner": "el-icon-loading", data: e.tableData, "cell-style": e.cellStyle, height: e.height || null, "max-height": e.maxHeight || null, "default-sort": { prop: "id", order: null }, load: e.lazy ? e.load : null, "span-method": e.method ? e.spanMethod : null, "header-cell-style": e.getHeaderCellStyle, "cell-class-name": e.cellClassNamed, "row-class-name": e.rowClassNamed, "checkbox-config": { checkMethod: e.selecTables } }, on: { "sort-change": e.sortChange, "filter-change": e.handleFilterChange, "selection-change": e.handleSelectionChange, "row-click": e.rowClick, "expand-change": e.expandChange, "select-all": e.selectAll, select: e.handleSelect, "current-change": e.handleCurrentRowChange, "header-dragend": e.handleHeaderDragEnd } }, [e._l(e.getColumns, function(a, s) {
|
|
422
425
|
return [a.type == "selection" ? [l("ux-table-column", { attrs: { "tree-node": "", type: "checkbox", width: a.width, align: a.align ? a.align : "center" } })] : a.type == "selection-radio" ? [l("ux-table-column", { key: a.key ? a.key : s, attrs: { "tree-node": "", width: a.width, label: "", fixed: a.fixed ? a.fixed : "left", align: a.align ? a.align : "center" }, scopedSlots: e._u([{ key: "default", fn: function(i) {
|
|
423
426
|
return [l("el-radio", { attrs: { label: i.row[e.rowKey], size: "small", disabled: e.disabledRowId.includes(i.row[e.rowKey]) }, on: { input: e.changRadio }, model: { value: e.currentRow, callback: function(d) {
|
|
424
427
|
e.currentRow = d;
|
|
@@ -437,7 +440,7 @@ var m = function() {
|
|
|
437
440
|
y,
|
|
438
441
|
!1,
|
|
439
442
|
null,
|
|
440
|
-
"
|
|
443
|
+
"60a25e45",
|
|
441
444
|
null,
|
|
442
445
|
null
|
|
443
446
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as p } from "./utils.util.js.
|
|
2
|
-
import { m as g, n as m } from "./components.chartbi.
|
|
1
|
+
import { t as p } from "./utils.util.js.333daba2.mjs";
|
|
2
|
+
import { m as g, n as m } from "./components.chartbi.571c5ff5.mjs";
|
|
3
3
|
const y = {
|
|
4
4
|
name: "GdTableVirtual",
|
|
5
5
|
props: Object.assign(
|
|
@@ -147,6 +147,9 @@ const y = {
|
|
|
147
147
|
}
|
|
148
148
|
),
|
|
149
149
|
computed: {
|
|
150
|
+
getHeaderCellStyle() {
|
|
151
|
+
return Object.assign({ background: this.fadeColor(this.primaryColor, 0.05) }, this.headerCellStyle);
|
|
152
|
+
},
|
|
150
153
|
getRowHeight() {
|
|
151
154
|
let t = 0;
|
|
152
155
|
return this.rowHeight + t;
|
|
@@ -527,7 +530,7 @@ var b = function() {
|
|
|
527
530
|
return e.$emit("baseSeecharts");
|
|
528
531
|
} } })]) : e._e(), e.disabledRefresh ? e._e() : l("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.basics.refresh", "\u5237\u65B0"), placement: "bottom" } }, [l("i", { staticClass: "el-icon-refresh", on: { click: function(s) {
|
|
529
532
|
return e.refresh(!1);
|
|
530
|
-
} } })]), l("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.basics.density", "\u5BC6\u5EA6"), placement: "bottom" } }, [l("el-dropdown", { attrs: { trigger: "click", placement: "bottom" }, on: { command: e.changColumnHeight } }, [l("span", { staticClass: "el-dropdown-link" }, [l("i", { staticClass: "el-icon-s-operation" })]), l("el-dropdown-menu", { attrs: { slot: "dropdown" }, slot: "dropdown" }, [l("el-dropdown-item", { style: e.customSize === "medium" ? e.dropdownActive : "", attrs: { command: "medium" } }, [e._v(" " + e._s(e.$i18nt("gd.basics.default", "\u9ED8\u8BA4")) + " ")]), l("el-dropdown-item", { style: e.customSize === "small" ? e.dropdownActive : "", attrs: { command: "small" } }, [e._v(" " + e._s(e.$i18nt("gd.basics.secondary", "\u4E2D\u7B49")) + " ")]), l("el-dropdown-item", { style: e.customSize === "mini" ? e.dropdownActive : "", attrs: { command: "mini" } }, [e._v(" " + e._s(e.$i18nt("gd.basics.compact", "\u7D27\u51D1")) + " ")])], 1)], 1)], 1), e.disabledColumnSettings ? e._e() : l("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.basics.columnSettings", "\u5217\u8BBE\u7F6E"), placement: "bottom" } }, [l("el-dropdown", { attrs: { trigger: "click", placement: "bottom" } }, [l("span", { staticClass: "el-dropdown-link" }, [l("i", { staticClass: "el-icon-setting" })]), l("el-dropdown-menu", { attrs: { slot: "dropdown" }, slot: "dropdown" }, [l("gd-column-settings", { ref: "columnSettings", attrs: { columns: e.columns, height: e.height }, on: { columnChange: e.columnChange } })], 1)], 1)], 1)], 1)]), l("u-table", { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], ref: "refTable", staticClass: "table", class: e.border ? "" : "table-border", staticStyle: { width: "100%" }, attrs: { "row-height": e.getRowHeight, "use-virtual": "", stripe: e.stripe, "row-key": e.rowKey, "expand-row-keys": e.tableExpand, "tree-props": e.tableTree ? { children: "children", hasChildren: "isLeaf" } : void 0, tooltip: !0, border: e.border, size: e.customSize, indent: e.indent, lazy: e.lazy, "show-summary": e.showSummary, "summary-method": e.summaries, "default-expand-all": e.defaultExpandAll, "virtual-scroll": !0, "element-loading-background": "rgba(255, 255, 255, 0.8)", "element-loading-spinner": "el-icon-loading", data: e.tableData, "cell-style": e.cellStyle, height: e.height || null, "max-height": e.maxHeight || null, "default-sort": { prop: "id", order: null }, load: e.lazy ? e.load : null, "span-method": e.method ? e.spanMethod : null, "header-cell-style": e.
|
|
533
|
+
} } })]), l("el-tooltip", { directives: [{ name: "delTabIndex", rawName: "v-delTabIndex" }], staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.basics.density", "\u5BC6\u5EA6"), placement: "bottom" } }, [l("el-dropdown", { attrs: { trigger: "click", placement: "bottom" }, on: { command: e.changColumnHeight } }, [l("span", { staticClass: "el-dropdown-link" }, [l("i", { staticClass: "el-icon-s-operation" })]), l("el-dropdown-menu", { attrs: { slot: "dropdown" }, slot: "dropdown" }, [l("el-dropdown-item", { style: e.customSize === "medium" ? e.dropdownActive : "", attrs: { command: "medium" } }, [e._v(" " + e._s(e.$i18nt("gd.basics.default", "\u9ED8\u8BA4")) + " ")]), l("el-dropdown-item", { style: e.customSize === "small" ? e.dropdownActive : "", attrs: { command: "small" } }, [e._v(" " + e._s(e.$i18nt("gd.basics.secondary", "\u4E2D\u7B49")) + " ")]), l("el-dropdown-item", { style: e.customSize === "mini" ? e.dropdownActive : "", attrs: { command: "mini" } }, [e._v(" " + e._s(e.$i18nt("gd.basics.compact", "\u7D27\u51D1")) + " ")])], 1)], 1)], 1), e.disabledColumnSettings ? e._e() : l("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e.$i18nt("gd.basics.columnSettings", "\u5217\u8BBE\u7F6E"), placement: "bottom" } }, [l("el-dropdown", { attrs: { trigger: "click", placement: "bottom" } }, [l("span", { staticClass: "el-dropdown-link" }, [l("i", { staticClass: "el-icon-setting" })]), l("el-dropdown-menu", { attrs: { slot: "dropdown" }, slot: "dropdown" }, [l("gd-column-settings", { ref: "columnSettings", attrs: { columns: e.columns, height: e.height }, on: { columnChange: e.columnChange } })], 1)], 1)], 1)], 1)]), l("u-table", { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], ref: "refTable", staticClass: "table", class: e.border ? "" : "table-border", staticStyle: { width: "100%" }, attrs: { "row-height": e.getRowHeight, "use-virtual": "", stripe: e.stripe, "row-key": e.rowKey, "expand-row-keys": e.tableExpand, "tree-props": e.tableTree ? { children: "children", hasChildren: "isLeaf" } : void 0, tooltip: !0, border: e.border, size: e.customSize, indent: e.indent, lazy: e.lazy, "show-summary": e.showSummary, "summary-method": e.summaries, "default-expand-all": e.defaultExpandAll, "virtual-scroll": !0, "element-loading-background": "rgba(255, 255, 255, 0.8)", "element-loading-spinner": "el-icon-loading", data: e.tableData, "cell-style": e.cellStyle, height: e.height || null, "max-height": e.maxHeight || null, "default-sort": { prop: "id", order: null }, load: e.lazy ? e.load : null, "span-method": e.method ? e.spanMethod : null, "header-cell-style": e.getHeaderCellStyle, "cell-class-name": e.cellClassNamed, "row-class-name": e.rowClassNamed }, on: { "sort-change": e.sortChange, "filter-change": e.handleFilterChange, "selection-change": e.handleSelectionChange, "row-click": e.rowClick, "expand-change": e.expandChange, "select-all": e.selectAll, select: e.handleSelect, "current-change": e.handleCurrentRowChange, "header-dragend": e.handleHeaderDragEnd } }, [e._l(e.getColumns, function(s, a) {
|
|
531
534
|
return [s.type == "selection" ? [l("u-table-column", { attrs: { type: "selection", width: s.width, fixed: s.fixed ? s.fixed : !1, align: s.align ? s.align : "center", selectable: e.selecTables } })] : s.type == "selection-radio" ? [l("u-table-column", { key: s.key ? s.key : a, attrs: { width: s.width, label: "", fixed: s.fixed ? s.fixed : !1, align: s.align ? s.align : "center" }, scopedSlots: e._u([{ key: "default", fn: function(o) {
|
|
532
535
|
return [l("el-radio", { attrs: { label: o.row[e.rowKey], size: "small" }, on: { input: e.changRadio }, model: { value: e.currentRow, callback: function(d) {
|
|
533
536
|
e.currentRow = d;
|
|
@@ -548,7 +551,7 @@ var b = function() {
|
|
|
548
551
|
w,
|
|
549
552
|
!1,
|
|
550
553
|
null,
|
|
551
|
-
"
|
|
554
|
+
"cf983a7d",
|
|
552
555
|
null,
|
|
553
556
|
null
|
|
554
557
|
);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const g=require("./utils.util.js.c0ba699b.js"),f=require("./components.chartbi.3bbac955.js");const m={name:"GdTableVirtual",props:Object.assign({},{record:{type:Object,default:()=>({})},dataSource:{type:Function,required:!0},size:{type:String,default:"small"},rowKey:{type:[String,Function],default:"id"},amount:{type:Function},load:{type:Function},tableTree:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},border:{type:Boolean,default:!0},columns:{type:Array,default:()=>[]},cellStyle:{type:Function},cellClassName:{type:Function},rowClassName:{type:Function},defaultExpandedKeys:{type:Array,default:()=>[]},selectedRowKeys:{type:Array,default:()=>[]},selectedKeep:{type:Boolean,default:!1},height:{type:Number,default:0},maxHeight:{type:Number,default:0},indent:{type:Number,default:16},pageSize:{type:Number,default:10},pageSizes:{type:Array,default:()=>[10,20,30,40,50,100,200,500]},tableExpand:{type:Array,default:()=>[]},defaultExpandAll:{type:Boolean,default:!1},method:{type:Boolean,default:!1},columnKey:{type:String,default:""},showSummary:{type:Boolean,default:!1},headerCellStyle:{type:[Object,Function],default:()=>({})},showPagination:{type:Boolean,default:!0},initialLoading:{type:Boolean,default:!0},filtering:{type:Boolean,default:!1},isGather:{type:Boolean,default:!1},disabledRowId:{type:Array,default:()=>[]},disabledRefresh:{type:Boolean,default:!1},disabledColumnSettings:{type:Boolean,default:!1},stripe:{type:Boolean,default:!0},rowHeight:{type:Number,default:25}}),computed:{getHeaderCellStyle(){return Object.assign({background:this.fadeColor(this.primaryColor,.05)},this.headerCellStyle)},getRowHeight(){let t=0;return this.rowHeight+t},fadeColord(){return this.fadeColor(this.primaryColor,.3)},getColumns(){let t=0,e=this.columnsSetting.filter(d=>{const n=d.checked===void 0||d.checked,i=this.columns.filter(c=>c.prop===d.prop)[0],r=i?i.owidth?i.owidth:i.width?i.width:i.minWidth?i.minWidth:"150":"150";return i&&i.width&&!d.width&&(d.width=i.width),i&&i.minWidth&&!d.minWidth&&(d.minWidth=i.minWidth),n&&(t+=Number(r)),n});if(this.wid===0||e.filter(d=>d.width||d.minWidth).length!==e.length)return e;const s=t-this.wid,a=e[e.length-1],o=a?a.width?Number(a.width):a.minWidth?Number(a.minWidth):0:0;if(s<0){const d=e.length===0?0:Math.floor(Math.abs(s)/e.length);e.filter(n=>(n.width&&!["selection","selection-radio"].includes(n.type)&&(n.width=d+Number(n.owidth)),a.prop===n.prop&&delete n.width,n))}else s<o&&(a.minWidth||a.width)&&(a.width=o);return e},selectionType(){const t=this.columns.filter(e=>e.type==="selection"||e.type==="selection-radio")[0];return t?t.type==="selection"?"checkbox":"radio":null},hasClear(){let t=[];for(let e in this.sorter)t.push(e);return t.length},dropdownActive(){return`background-color: ${this.fadeColor(this.primaryColor,.1)};color:${this.primaryColor}`},totalPages(){return Math.ceil(this.total/this.pageSized)},...f.mapGetters(["primaryColor","language","screenWidth","multiTab"])},data(){return{tableData:[],loading:!1,customSize:this.size,keyValue:null,currentRow:"",total:0,sorter:{},state:!1,currentPage:1,pageSized:this.pageSize,columnsSetting:[],visibleFilter:!1,frozenColumn:0,wid:0}},watch:{screenWidth(){this.$nextTick(()=>{this.getWid(),setTimeout(()=>{this.$refs.refTable.doLayout()},0)})},tableExpand:{handler(){const t=this.$refs.refTable,e=this.getChildRens(this.tableData);g.treeToArray(JSON.parse(JSON.stringify(this.tableData)),"children").map(s=>{e.includes(s.id)?t.toggleRowExpansion(s,!1):t.toggleRowExpansion(s,!0)})},deep:!0},tableData:{handler(){this.keyValue=void 0,this.numbers=0},deep:!0},language:{handler(){this.$nextTick(()=>{setTimeout(()=>{this.$refs.refTable.doLayout()},0)})},deep:!0},size:{handler(t){this.$nextTick(()=>{setTimeout(()=>{this.customSize=t,this.$refs.refTable.doLayout(),this.getWid()},0)})},deep:!0},"$route.path"(t,e){t!==e&&this.multiTab&&this.$nextTick(()=>{setTimeout(()=>{this.$refs.refTable&&this.$refs.refTable.doLayout()},0)})}},methods:{doLayout(){this.$nextTick(()=>{setTimeout(()=>{this.$refs.refTable.doLayout()},0)})},getWid(){let t=this.$refs.reftables;this.wid=t?t.clientWidth:this.wid},setTableData(t,e=!1){this.tableData=t,this.loading=e},selecTables(t,e){return!this.disabledRowId.includes(t.id)},changeFilter(t){this.visibleFilter=t},closeFilter(){this.$refs.filterdropdown.doClose()},cellClassNamed({row:t,rowIndex:e}){return this.cellClassName&&typeof this.cellClassName=="function"?this.cellClassName({row:t,rowIndex:e}):""},rowClassNamed({row:t,rowIndex:e}){return this.rowClassName&&typeof this.rowClassName=="function"?this.rowClassName({row:t,rowIndex:e}):""},columnChange(t){this.columns.filter(a=>a.fixed);let e=[...t],l=1;return e.forEach((a,o)=>{e[o].fixed=!1,l<this.frozenColumn&&a.checked&&(e[o].fixed=!0,l++)}),e.filter(a=>["selection","selection-radio"].includes(a.type)?!1:a.checked).length===0&&(e=JSON.parse(JSON.stringify(e))),this.$emit("columnChange",e),this.columnsSetting=e,new Promise((a,o)=>{this.$nextTick(()=>{setTimeout(()=>{this.$refs.refTable.doLayout(),a()},0)})})},summaries(t){return this.$nextTick(()=>{setTimeout(()=>{this.$refs.refTable&&this.$refs.refTable.doLayout()},10)}),this.amount(t)},spanMethod({row:t,column:e}){if(e.property===this.columnKey){let l=0,s=0;if(this.keyValue!==t[this.columnKey]){for(;l<this.tableData.length;)this.tableData[l][this.columnKey]===t[this.columnKey]&&s++,l++;this.keyValue=t[this.columnKey]}else s=0;return{rowspan:s,colspan:1}}},handlerClick(t){this.$emit("handlerClick",t)},handleButton(t,e,l){this.$emit("handleButton",{methods:t,row:e})},handleFilterChange(t){this.$emit("handleFilterChange",t)},handleSelectionChange(t){if(!this.loading){const e=this.rowKey||"index";let l=[];t.forEach((s,a)=>{l.push(s[e])}),this.$emit("onChange",l,t);return}this.selectedKeep&&this.$emit("onChange",this.selectedRowKeys,[])},changRadio(t){if(this.loading)return;const e=this.rowKey||"index",l=this.tableData.filter(s=>s[e]===t)[0];this.$emit("onChange",[l[e]],[l])},handleSelect(t,e){this.$emit("handleSelect",t,e)},selectAll(t){this.$emit("selectAll",t)},rowClick(t,e,l){this.$emit("rowClick",t,e)},handleSizeChange(t){this.pageSized=t,this.currentPage>this.totalPages&&(this.currentPage=this.totalPages),this.selectedKeep||this.$emit("onChange",[],[]),this.loadData()},handleCurrentChange(t){this.currentPage=t,this.selectedKeep||this.$emit("onChange",[],[]),this.loadData()},expandChange(t,e){this.$emit("expandChange",{val:t,expanded:e})},getChildRens(t){const e=[];return t.map(l=>{if(this.tableExpand.includes(l.id)||e.push(l.id),Object.prototype.hasOwnProperty.call(l,"children")){const s=this.getChildRens(l.children);e.push(...s)}}),e},handleCurrentRowChange(t){this.$emit("handleCurrentRowChange",t)},handleHeaderDragEnd(){this.$nextTick(()=>{this.$refs.refTable.doLayout()})},changColumnHeight(t){this.customSize=t,this.$nextTick(()=>{this.$refs.refTable.doLayout()})},sortChange({prop:t,order:e}){this.sorter=e?{sortField:t,sortOrder:e.replace("ending","")}:{},this.loadData()},loadData(){if(this.loading)return;this.loading=!0;const t=this.dataSource(Object.assign({...this.sorter},{pageNo:this.currentPage,pageSize:this.pageSized}));(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"?t.then(e=>{let l=e&&e.rows?e.rows:[];this.tableData=l,this.currentPage=e.pageno,this.total=e.totalrows,this.getWid(),this.toggleRowSelection()}):this.loading=!1},loadColumns(){return new Promise(t=>{this.$nextTick(()=>{this.columnsSetting=[...this.columns],this.$emit("columnChange",this.columnsSetting);const e=this.columns.filter(l=>l.fixed);this.frozenColumn=e.length,setTimeout(()=>{this.$refs.columnSettings.init(),this.$refs.refTable.doLayout(),t(!0)},0)})})},setLoadData(t){this.tableData=[...t],this.total=t.length},getLoadData(){return new Promise((t,e)=>{t(this.tableData)})},toggleRowSelectioClear(t){if(!this.selectionType){this.loading=!1;return}this.selectionType==="radio"&&(this.currentRow=t[0]?t[0]:""),this.$nextTick(async()=>{setTimeout(async()=>{const e=this.rowKey||"index";let l=[];const s=(i,r)=>(i=i.filter((c,h)=>(t.includes(c[e])&&l.push(c),c.children&&c.children.length>0&&s(c.children),!0)),i);await s(this.tableData);const a=t.filter(i=>{let r=null;return this.tableData.filter(c=>{if(i===c[e]&&(r=c),c.children&&c.children.length>0){const h=c.children.filter(p=>i===p[e])[0];r=h||r}return!0})[0],!r});let o=[];for(let i=0;i<a.length;i++){let r=new Map;r.set(e,a[i]),o.push(Object.fromEntries(r))}const d=l.concat(o);let n=[];for(let i=0;i<d.length;i++){let r=new Promise((c,h)=>{this.$refs.refTable.toggleRowSelection(d[i],!1),c(i)});n.push(r)}Promise.all(n).then(i=>{this.loading=!1})},10)})},async toggleRowSelection(){if(!this.selectionType){this.loading=!1;return}this.selectionType==="radio"&&(this.currentRow=this.selectedRowKeys[0]?this.selectedRowKeys[0]:""),this.$nextTick(async()=>{setTimeout(async()=>{const t=this.rowKey||"index";let e=[];const l=(n,i)=>(n=n.filter((r,c)=>(this.selectedRowKeys.includes(r[t])&&e.push(r),r.children&&r.children.length>0&&l(r.children),!0)),n);await l(this.tableData);const s=this.selectedRowKeys.filter(n=>!this.tableData.filter(r=>n===r[t])[0]);let a=[];for(let n=0;n<s.length;n++){let i=new Map;i.set(t,s[n]),a.push(Object.fromEntries(i))}const o=e.concat(a);let d=[];for(let n=0;n<o.length;n++){let i=new Promise((r,c)=>{this.$refs.refTable.toggleRowSelection(o[n],!0),r(n)});d.push(i)}Promise.all(d).then(n=>{this.loading=!1})},10)})},refresh(t=!0){!this.selectedKeep&&t&&this.$emit("onChange",[],[]),t&&(this.currentPage=1),this.loadData()},clearAll(){if(this.state||this.loading)return;let t=[];for(let e in this.sorter)t.push(e);t.length!==0&&(this.state=!0,this.sorter={},this.$refs.refTable.clearSort(),this.$refs.refTable.clearFilter(),setTimeout(()=>{this.refresh(),this.state=!1},100))},fadeColor(t,e){let l=parseInt(t.substring(1,3),16),s=parseInt(t.substring(3,5),16),a=parseInt(t.substring(5,7),16);return`rgba(${l},${s},${a},${e})`}},created(){this.columnsSetting=[...this.columns];const t=this.columns.filter(e=>e.fixed);this.frozenColumn=t.length,this.initialLoading&&this.loadData()}};var y=function(){var e=this,l=e._self._c;return l("div",{ref:"reftables",staticClass:"gd-tables",style:{"--theme":e.primaryColor,"--fadecolor":e.fadeColord},attrs:{id:"reftables"}},[l("div",{staticClass:"tables-tool"},[l("div",{staticClass:"tables-tool-l"},[e._t("operator")],2),l("div",{staticClass:"tables-tool-r"},[e.hasClear?l("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],staticClass:"item",attrs:{effect:"dark",content:e.$i18nt("gd.basics.reset","\u91CD\u7F6E"),placement:"bottom"}},[l("i",{staticClass:"el-icon-brush",on:{click:e.clearAll}})]):e._e(),e.filtering?l("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],staticClass:"item",attrs:{effect:"dark",content:e.$i18nt("gd.basics.screen","\u7B5B\u9009"),placement:"bottom"}},[l("el-popover",{ref:"filterdropdown",attrs:{trigger:"click",placement:"bottom"},on:{show:function(s){return e.changeFilter(!0)},hide:function(s){return e.changeFilter(!1)}}},[l("span",{staticClass:"el-dropdown-link",attrs:{slot:"reference"},slot:"reference"},[l("i",{staticClass:"gd-icons gd-icon-a-guangqi_guolv11x"})]),l("div",[e._t("filtering",null,{columns:e.columns,height:e.height,colse:e.closeFilter,visible:e.visibleFilter})],2)])],1):e._e(),e.isGather?l("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],staticClass:"item",attrs:{effect:"dark",content:e.$i18nt("gd.basics.chart","\u56FE\u8868"),placement:"bottom"}},[l("i",{staticClass:"gd-icons gd-icon-zhuzhuangtu",on:{click:function(s){return e.$emit("baseSeecharts")}}})]):e._e(),e.disabledRefresh?e._e():l("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],staticClass:"item",attrs:{effect:"dark",content:e.$i18nt("gd.basics.refresh","\u5237\u65B0"),placement:"bottom"}},[l("i",{staticClass:"el-icon-refresh",on:{click:function(s){return e.refresh(!1)}}})]),l("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],staticClass:"item",attrs:{effect:"dark",content:e.$i18nt("gd.basics.density","\u5BC6\u5EA6"),placement:"bottom"}},[l("el-dropdown",{attrs:{trigger:"click",placement:"bottom"},on:{command:e.changColumnHeight}},[l("span",{staticClass:"el-dropdown-link"},[l("i",{staticClass:"el-icon-s-operation"})]),l("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[l("el-dropdown-item",{style:e.customSize==="medium"?e.dropdownActive:"",attrs:{command:"medium"}},[e._v(" "+e._s(e.$i18nt("gd.basics.default","\u9ED8\u8BA4"))+" ")]),l("el-dropdown-item",{style:e.customSize==="small"?e.dropdownActive:"",attrs:{command:"small"}},[e._v(" "+e._s(e.$i18nt("gd.basics.secondary","\u4E2D\u7B49"))+" ")]),l("el-dropdown-item",{style:e.customSize==="mini"?e.dropdownActive:"",attrs:{command:"mini"}},[e._v(" "+e._s(e.$i18nt("gd.basics.compact","\u7D27\u51D1"))+" ")])],1)],1)],1),e.disabledColumnSettings?e._e():l("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.$i18nt("gd.basics.columnSettings","\u5217\u8BBE\u7F6E"),placement:"bottom"}},[l("el-dropdown",{attrs:{trigger:"click",placement:"bottom"}},[l("span",{staticClass:"el-dropdown-link"},[l("i",{staticClass:"el-icon-setting"})]),l("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[l("gd-column-settings",{ref:"columnSettings",attrs:{columns:e.columns,height:e.height},on:{columnChange:e.columnChange}})],1)],1)],1)],1)]),l("u-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"refTable",staticClass:"table",class:e.border?"":"table-border",staticStyle:{width:"100%"},attrs:{"row-height":e.getRowHeight,"use-virtual":"",stripe:e.stripe,"row-key":e.rowKey,"expand-row-keys":e.tableExpand,"tree-props":e.tableTree?{children:"children",hasChildren:"isLeaf"}:void 0,tooltip:!0,border:e.border,size:e.customSize,indent:e.indent,lazy:e.lazy,"show-summary":e.showSummary,"summary-method":e.summaries,"default-expand-all":e.defaultExpandAll,"virtual-scroll":!0,"element-loading-background":"rgba(255, 255, 255, 0.8)","element-loading-spinner":"el-icon-loading",data:e.tableData,"cell-style":e.cellStyle,height:e.height||null,"max-height":e.maxHeight||null,"default-sort":{prop:"id",order:null},load:e.lazy?e.load:null,"span-method":e.method?e.spanMethod:null,"header-cell-style":e.getHeaderCellStyle,"cell-class-name":e.cellClassNamed,"row-class-name":e.rowClassNamed},on:{"sort-change":e.sortChange,"filter-change":e.handleFilterChange,"selection-change":e.handleSelectionChange,"row-click":e.rowClick,"expand-change":e.expandChange,"select-all":e.selectAll,select:e.handleSelect,"current-change":e.handleCurrentRowChange,"header-dragend":e.handleHeaderDragEnd}},[e._l(e.getColumns,function(s,a){return[s.type=="selection"?[l("u-table-column",{attrs:{type:"selection",width:s.width,fixed:s.fixed?s.fixed:!1,align:s.align?s.align:"center",selectable:e.selecTables}})]:s.type=="selection-radio"?[l("u-table-column",{key:s.key?s.key:a,attrs:{width:s.width,label:"",fixed:s.fixed?s.fixed:!1,align:s.align?s.align:"center"},scopedSlots:e._u([{key:"default",fn:function(o){return[l("el-radio",{attrs:{label:o.row[e.rowKey],size:"small"},on:{input:e.changRadio},model:{value:e.currentRow,callback:function(d){e.currentRow=d},expression:"currentRow"}},[e._v(" "+e._s("")+" ")])]}}],null,!0)})]:s.hidden!=!1&&s.type!=="slot"&&s.type!="expand"&&s.type!="selection-radio"?[l("u-table-column",{attrs:{width:s.width,prop:s.prop,label:e.$i18nt(s.transKey,s.label),fixed:s.fixed?s.fixed:!1,title:e.$i18nt(s.transKey,s.label)}})]:s.type=="expand"?[l("u-table-column",{key:s.key?s.key:a,attrs:{width:s.width,label:e.$i18nt(s.transKey,s.label),type:"expand"},scopedSlots:e._u([{key:"default",fn:function(o){return[e._t(s.slotType,null,{row:o.row,index:o.$index})]}}],null,!0)})]:s.type==="slot"?[l("u-table-column",{key:s.key?s.key:a,attrs:{width:s.width,"show-overflow-tooltip":typeof s.showTooltip>"u"?!0:s.showTooltip,"min-width":s.minWidth,prop:s.prop,label:e.$i18nt(s.transKey,s.label),fixed:s.fixed?s.fixed:!1,sortable:s.sortable?s.sortable:!1,align:s.align?s.align:"center","render-header":s.renderHeader,filters:s.filters,"filter-method":s.filterTag,"filter-placement":"bottom-end","reserve-selection":s.reserveSelection,type:s.colType},scopedSlots:e._u([{key:"default",fn:function(o){return[e._t(s.slotType,null,{row:o.row,index:o.$index,column:o.column})]}}],null,!0)})]:e._e()]}),l("template",{slot:"empty"},[l("div",{staticClass:"gd-table-empty"},[l("i",{staticClass:"el-icon-receiving"}),l("div",{staticClass:"empty-title"},[e._v(" "+e._s(e.$i18nt("gd.echarts.noData","\u6682\u65E0\u6570\u636E\u5C55\u793A"))+" ")])])])],2),l("div",{staticClass:"gd-paging"},[e.showPagination?l("el-pagination",{attrs:{background:"","page-sizes":e.pageSizes,"page-size":e.pageSized,"current-page":e.currentPage,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"update:currentPage":function(s){e.currentPage=s},"update:current-page":function(s){e.currentPage=s},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}):e._e()],1)],1)},b=[],w=f.normalizeComponent(m,y,b,!1,null,"cf983a7d",null,null);const u=w.exports;u.install=function(t){t.component(u.name,u)};exports.GDpackage=u;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as h, n as f } from "./components.chartbi.
|
|
2
|
-
import { g as p, h as g } from "./http.main.
|
|
1
|
+
import { m as h, n as f } from "./components.chartbi.571c5ff5.mjs";
|
|
2
|
+
import { g as p, h as g } from "./http.main.aefea27d.mjs";
|
|
3
3
|
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
4
|
-
import "./utils.util.js.
|
|
4
|
+
import "./utils.util.js.333daba2.mjs";
|
|
5
5
|
const b = {
|
|
6
6
|
name: "GdTeamSharing",
|
|
7
7
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./components.chartbi.e4680eaa.js"),u=require("./http.main.2f8a6936.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.50d1ec9c.js");const p={name:"GdTeamSharing",props:{tableNames:{type:String,default:"sys_user,sys_team"},tableData:{type:Object,default:()=>({})},isInterface:{type:Boolean,default:!0},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!1}},data(){return{buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],operatorButtons:[{displayName:"\u6DFB\u52A0\u7528\u6237/\u56E2\u961F",functionName:"selRecord",show:!0,transKey:"gd.teamSharing.addut",icon:"el-icon-plus"},{displayName:"\u5220\u9664\u5DF2\u9009",functionName:"delRecord",show:!0,transKey:"gd.teamSharing.delSelected",icon:"el-icon-delete",btnType:"danger"}],id:"",visible:!1,confirmLoading:!1,fullscreen:!1,selectedAllRowKeys:[],selectedRowKeys:[],selectedRows:[],width:"90%",loadDataList:s=>new Promise((e,t)=>{e({pageNo:1,pageSize:100,totalRows:0,rows:this.loadData})}),loadData:[],loadOldData:[],columns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.teamSharing.name",prop:"name",label:"\u7528\u6237\u540D\u79F0",align:"left"},{transKey:"gd.teamSharing.query",prop:"isQuery",label:"\u67E5\u8BE2",type:"slot",slotType:"isQuery",align:"center",width:"120px"},{transKey:"gd.teamSharing.edit",prop:"isEdit",label:"\u7F16\u8F91",type:"slot",slotType:"isEdit",align:"center",width:"120px"},{transKey:"gd.teamSharing.delete",prop:"isDelete",label:"\u5220\u9664",type:"slot",slotType:"isDelete",align:"center",width:"120px"},{transKey:"gd.https.assign",prop:"isAllocation",label:"\u5206\u6D3E",type:"slot",slotType:"isAllocation",align:"center",width:"120px"},{transKey:"gd.teamSharing.share",prop:"isShare",label:"\u5171\u4EAB",type:"slot",slotType:"isShare",align:"center",width:"120px"},{transKey:"gd.teamSharing.source",prop:"source",label:"\u6765\u6E90",align:"left",type:"slot",slotType:"source"}]}},computed:{height(){return this.screenHeight-(this.fullscreen?130:280)},...h.mapGetters(["screenHeight","tableLists","tableSize","tablePageSize"])},methods:{handleSubmit(){let s=this;s.confirmLoading=!0;const e=this.$refs.table.tableData;if(e.length===0&&this.loadOldData.length===0){this.$message.warning(this.$i18nt("gd.teamSharing.addutTip","\u8BF7\u6DFB\u52A0\u7528\u6237/\u56E2\u961F!")),s.confirmLoading=!1;return}this.$confirm(this.$i18nt("gd.https.confirmSaveTip","\u662F\u5426\u786E\u8BA4\u4FDD\u5B58\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.saveOk","\u786E\u8BA4\u4FDD\u5B58"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,i,a)=>{if(t!=="confirm"){s.confirmLoading=!1,a();return}i.confirmButtonLoading=!0,i.cancelButtonLoading=!0,i.showCancelButton=!1;let n=[],o=[];e.forEach(l=>{o.push(l.ids);const d=s.loadOldData.filter(f=>l.ids===f.ids)[0];n.push({isdelete:l.isdelete?1:0,isedit:l.isedit?1:0,isquery:l.isquery?1:0,isshare:l.isshare?1:0,isallocation:l.isallocation?1:0,dataid:l.dataid,userteamid_aboutid:l.userteamid_aboutid,userteamid_abouttable:l.userteamid_abouttable,name:l.name,type:d?2:1,id:d?d.id:0})});let r=s.loadOldData.filter(l=>!o.includes(l.ids)).map(l=>(l.isdelete=l.isdelete?1:0,l.isedit=l.isedit?1:0,l.isquery=l.isquery?1:0,l.isshare=l.isshare?1:0,l.isallocation=l.isallocation?1:0,l.type=3,l));if(this.isInterface){let l={tablename:s.tableData.tablename,dataid:s.id,list:n.concat(r)};u.baseSharedDataSave(l).then(d=>{i.confirmButtonLoading=!1,i.cancelButtonLoading=!1,i.showCancelButton=!0,s.confirmLoading=!1,d.success?(s.$message.success(s.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),a(),s.$emit("ok",l),s.closed()):s.$message.error(s.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+d.message)})}else{let l={tablename:s.tableData.tablename,dataid:s.id,list:n};s.$message.success(s.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),a(),s.$emit("ok",l),s.closed()}}})},delRecord(){this.selectedRowKeys.length!==0&&this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(s,e,t)=>{if(t(),s!=="confirm")return;const i=this.$refs.table.tableData,a=i.filter(o=>!this.selectedRowKeys.includes(o.ids)),n=i.filter(o=>this.selectedRowKeys.includes(o.ids));this.selectedAllRowKeys=this.selectedAllRowKeys.filter(o=>!n.filter(l=>l.userteamid_aboutid===o)[0]),this.loadData=[...a],this.refresh()}})},lookupSeled(s){const e=this.$refs.table.tableData,t=e.filter(a=>s.data.includes(a.userteamid_aboutid));let i=[...t];s.fkData.forEach(a=>{if(!t.filter(o=>o.userteamid_aboutid===a.id)[0]){const o=this.tableLists.filter(l=>l.tablename===a.tableName)[0],r=e.filter(l=>l.id===a.userteamid_aboutid)[0];i.push(Object.assign({...a},{transkey:o.transkey,busname:o.busname,isquery:!0,isedit:!1,isdelete:!1,isshare:!1,isallocation:!1,userteamid_abouttable:o.tablename,userteamid_aboutid:a.id,dataid:this.id,ids:`${a.id}&${o.tablename}`},r?{isquery:r.isquery,isedit:r.isedit,isdelete:r.isdelete,isshare:r.isshare,isallocation:r.isallocation}:{}))}}),this.selectedAllRowKeys=[...s.data],this.loadData=[...i],this.refresh()},selRecord(){this.$refs.viewSearch.open({fkEntityName:this.tableNames,effectType:"participants",val:this.selectedAllRowKeys})},open(s){if(this.visible=!0,this.loadOldData=[],this.isInterface)this.id=s,this.getShared();else{if(s.extensionobj){let e=[];this.loadData=[...JSON.parse(s.extensionobj)].map(t=>{const i=this.tableLists.filter(a=>a.tablename===t.userteamid_abouttable)[0];return t.isdelete=t.isdelete===1,t.isedit=t.isedit===1,t.isquery=t.isquery===1,t.isshare=t.isshare===1,t.isallocation=t.isallocation===1,t.transkey=i.transkey,t.busname=i.busname,t.ids=`${t.userteamid_aboutid}&${i.tablename}`,e.push(t.userteamid_aboutid),t}),this.loadOldData=JSON.parse(s.extensionobj),this.selectedAllRowKeys=[...e]}this.$nextTick(()=>{setTimeout(()=>{this.refresh()},0)}),this.confirmLoading=!1}},getShared(){this.confirmLoading=!0,u.baseGetShared({id:this.id,tableName:this.tableData.tablename}).then(s=>{if(s.success){let e=[];this.loadData=[...s.data].map(t=>{const i=this.tableLists.filter(a=>a.tablename===t.userteamid_abouttable)[0];return t.isdelete=t.isdelete===1,t.isedit=t.isedit===1,t.isquery=t.isquery===1,t.isshare=t.isshare===1,t.isallocation=t.isallocation===1,t.transkey=i.transkey,t.busname=i.busname,t.ids=`${t.userteamid_aboutid}&${i.tablename}`,e.push(t.userteamid_aboutid),t}),this.loadOldData=JSON.parse(JSON.stringify(s.data)),this.selectedAllRowKeys=[...e]}else this.$message.warning(s.message),this.confirmLoading=!1;this.$nextTick(()=>{setTimeout(()=>{this.refresh()},0)}),this.confirmLoading=!1})},onSelectChange(s,e){this.selectedRowKeys=s,this.selectedRows=e},refresh(){this.$refs.table.refresh(!0)},closed(){this.fullscreen=!1,this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(s){const e=s.item.functionName;this[e]&&this[e]()}}};var g=function(){var e=this,t=e._self._c;return t("div",[t("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,"modal-append-to-body":!1,"append-to-body":!0,appendToBody:!0,top:"80px","show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.closed}},[t("template",{slot:"title"},[t("gd-modal-title",{attrs:{title:e.$i18nt("gd.teamSharing.title","\u5171\u4EAB"),fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen}})],1),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[e.visible?t("gd-tables",{ref:"table",attrs:{dataSource:e.loadDataList,size:e.tableSize,pageSize:e.tablePageSize,columns:e.columns,selectedRowKeys:e.selectedRowKeys,height:e.height,showPagination:!1,initialLoading:!1,disabledRefresh:!0,rowKey:"ids"},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[t("gd-btn-list",{attrs:{sysViewButtons:e.operatorButtons},on:{functionName:e.doEvent}})]},proxy:!0},{key:"isQuery",fn:function({column:i,row:a}){return[t("el-checkbox",{model:{value:a.isquery,callback:function(n){e.$set(a,"isquery",n)},expression:"row.isquery"}})]}},{key:"isEdit",fn:function({column:i,row:a}){return[t("el-checkbox",{model:{value:a.isedit,callback:function(n){e.$set(a,"isedit",n)},expression:"row.isedit"}})]}},{key:"isDelete",fn:function({column:i,row:a}){return[t("el-checkbox",{model:{value:a.isdelete,callback:function(n){e.$set(a,"isdelete",n)},expression:"row.isdelete"}})]}},{key:"isAllocation",fn:function({column:i,row:a}){return[t("el-checkbox",{model:{value:a.isallocation,callback:function(n){e.$set(a,"isallocation",n)},expression:"row.isallocation"}})]}},{key:"isShare",fn:function({column:i,row:a}){return[t("el-checkbox",{model:{value:a.isshare,callback:function(n){e.$set(a,"isshare",n)},expression:"row.isshare"}})]}},{key:"source",fn:function({column:i,row:a}){return[e._v(" "+e._s(e.$i18nt(`Dynamics.${a.transkey}`,a.busname))+"/"+e._s(a.userteamid_abouttable)+" ")]}}],null,!1,428592404)}):e._e()],1)],2),t("gd-search",{ref:"viewSearch",attrs:{modalAppendToBody:e.modalAppendToBody,appendToBody:e.appendToBody},on:{lookupSeled:e.lookupSeled}})],1)},b=[],m=h.normalizeComponent(p,g,b,!1,null,"74494856",null,null);const c=m.exports;c.install=function(s){s.component(c.name,c)};exports.default=c;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./components.chartbi.3bbac955.js"),u=require("./http.main.2f8a6936.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.c0ba699b.js");const p={name:"GdTeamSharing",props:{tableNames:{type:String,default:"sys_user,sys_team"},tableData:{type:Object,default:()=>({})},isInterface:{type:Boolean,default:!0},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!1}},data(){return{buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],operatorButtons:[{displayName:"\u6DFB\u52A0\u7528\u6237/\u56E2\u961F",functionName:"selRecord",show:!0,transKey:"gd.teamSharing.addut",icon:"el-icon-plus"},{displayName:"\u5220\u9664\u5DF2\u9009",functionName:"delRecord",show:!0,transKey:"gd.teamSharing.delSelected",icon:"el-icon-delete",btnType:"danger"}],id:"",visible:!1,confirmLoading:!1,fullscreen:!1,selectedAllRowKeys:[],selectedRowKeys:[],selectedRows:[],width:"90%",loadDataList:s=>new Promise((e,t)=>{e({pageNo:1,pageSize:100,totalRows:0,rows:this.loadData})}),loadData:[],loadOldData:[],columns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.teamSharing.name",prop:"name",label:"\u7528\u6237\u540D\u79F0",align:"left"},{transKey:"gd.teamSharing.query",prop:"isQuery",label:"\u67E5\u8BE2",type:"slot",slotType:"isQuery",align:"center",width:"120px"},{transKey:"gd.teamSharing.edit",prop:"isEdit",label:"\u7F16\u8F91",type:"slot",slotType:"isEdit",align:"center",width:"120px"},{transKey:"gd.teamSharing.delete",prop:"isDelete",label:"\u5220\u9664",type:"slot",slotType:"isDelete",align:"center",width:"120px"},{transKey:"gd.https.assign",prop:"isAllocation",label:"\u5206\u6D3E",type:"slot",slotType:"isAllocation",align:"center",width:"120px"},{transKey:"gd.teamSharing.share",prop:"isShare",label:"\u5171\u4EAB",type:"slot",slotType:"isShare",align:"center",width:"120px"},{transKey:"gd.teamSharing.source",prop:"source",label:"\u6765\u6E90",align:"left",type:"slot",slotType:"source"}]}},computed:{height(){return this.screenHeight-(this.fullscreen?130:280)},...h.mapGetters(["screenHeight","tableLists","tableSize","tablePageSize"])},methods:{handleSubmit(){let s=this;s.confirmLoading=!0;const e=this.$refs.table.tableData;if(e.length===0&&this.loadOldData.length===0){this.$message.warning(this.$i18nt("gd.teamSharing.addutTip","\u8BF7\u6DFB\u52A0\u7528\u6237/\u56E2\u961F!")),s.confirmLoading=!1;return}this.$confirm(this.$i18nt("gd.https.confirmSaveTip","\u662F\u5426\u786E\u8BA4\u4FDD\u5B58\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.saveOk","\u786E\u8BA4\u4FDD\u5B58"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,i,a)=>{if(t!=="confirm"){s.confirmLoading=!1,a();return}i.confirmButtonLoading=!0,i.cancelButtonLoading=!0,i.showCancelButton=!1;let n=[],o=[];e.forEach(l=>{o.push(l.ids);const d=s.loadOldData.filter(f=>l.ids===f.ids)[0];n.push({isdelete:l.isdelete?1:0,isedit:l.isedit?1:0,isquery:l.isquery?1:0,isshare:l.isshare?1:0,isallocation:l.isallocation?1:0,dataid:l.dataid,userteamid_aboutid:l.userteamid_aboutid,userteamid_abouttable:l.userteamid_abouttable,name:l.name,type:d?2:1,id:d?d.id:0})});let r=s.loadOldData.filter(l=>!o.includes(l.ids)).map(l=>(l.isdelete=l.isdelete?1:0,l.isedit=l.isedit?1:0,l.isquery=l.isquery?1:0,l.isshare=l.isshare?1:0,l.isallocation=l.isallocation?1:0,l.type=3,l));if(this.isInterface){let l={tablename:s.tableData.tablename,dataid:s.id,list:n.concat(r)};u.baseSharedDataSave(l).then(d=>{i.confirmButtonLoading=!1,i.cancelButtonLoading=!1,i.showCancelButton=!0,s.confirmLoading=!1,d.success?(s.$message.success(s.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),a(),s.$emit("ok",l),s.closed()):s.$message.error(s.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+d.message)})}else{let l={tablename:s.tableData.tablename,dataid:s.id,list:n};s.$message.success(s.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),a(),s.$emit("ok",l),s.closed()}}})},delRecord(){this.selectedRowKeys.length!==0&&this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(s,e,t)=>{if(t(),s!=="confirm")return;const i=this.$refs.table.tableData,a=i.filter(o=>!this.selectedRowKeys.includes(o.ids)),n=i.filter(o=>this.selectedRowKeys.includes(o.ids));this.selectedAllRowKeys=this.selectedAllRowKeys.filter(o=>!n.filter(l=>l.userteamid_aboutid===o)[0]),this.loadData=[...a],this.refresh()}})},lookupSeled(s){const e=this.$refs.table.tableData,t=e.filter(a=>s.data.includes(a.userteamid_aboutid));let i=[...t];s.fkData.forEach(a=>{if(!t.filter(o=>o.userteamid_aboutid===a.id)[0]){const o=this.tableLists.filter(l=>l.tablename===a.tableName)[0],r=e.filter(l=>l.id===a.userteamid_aboutid)[0];i.push(Object.assign({...a},{transkey:o.transkey,busname:o.busname,isquery:!0,isedit:!1,isdelete:!1,isshare:!1,isallocation:!1,userteamid_abouttable:o.tablename,userteamid_aboutid:a.id,dataid:this.id,ids:`${a.id}&${o.tablename}`},r?{isquery:r.isquery,isedit:r.isedit,isdelete:r.isdelete,isshare:r.isshare,isallocation:r.isallocation}:{}))}}),this.selectedAllRowKeys=[...s.data],this.loadData=[...i],this.refresh()},selRecord(){this.$refs.viewSearch.open({fkEntityName:this.tableNames,effectType:"participants",val:this.selectedAllRowKeys})},open(s){if(this.visible=!0,this.loadOldData=[],this.isInterface)this.id=s,this.getShared();else{if(s.extensionobj){let e=[];this.loadData=[...JSON.parse(s.extensionobj)].map(t=>{const i=this.tableLists.filter(a=>a.tablename===t.userteamid_abouttable)[0];return t.isdelete=t.isdelete===1,t.isedit=t.isedit===1,t.isquery=t.isquery===1,t.isshare=t.isshare===1,t.isallocation=t.isallocation===1,t.transkey=i.transkey,t.busname=i.busname,t.ids=`${t.userteamid_aboutid}&${i.tablename}`,e.push(t.userteamid_aboutid),t}),this.loadOldData=JSON.parse(s.extensionobj),this.selectedAllRowKeys=[...e]}this.$nextTick(()=>{setTimeout(()=>{this.refresh()},0)}),this.confirmLoading=!1}},getShared(){this.confirmLoading=!0,u.baseGetShared({id:this.id,tableName:this.tableData.tablename}).then(s=>{if(s.success){let e=[];this.loadData=[...s.data].map(t=>{const i=this.tableLists.filter(a=>a.tablename===t.userteamid_abouttable)[0];return t.isdelete=t.isdelete===1,t.isedit=t.isedit===1,t.isquery=t.isquery===1,t.isshare=t.isshare===1,t.isallocation=t.isallocation===1,t.transkey=i.transkey,t.busname=i.busname,t.ids=`${t.userteamid_aboutid}&${i.tablename}`,e.push(t.userteamid_aboutid),t}),this.loadOldData=JSON.parse(JSON.stringify(s.data)),this.selectedAllRowKeys=[...e]}else this.$message.warning(s.message),this.confirmLoading=!1;this.$nextTick(()=>{setTimeout(()=>{this.refresh()},0)}),this.confirmLoading=!1})},onSelectChange(s,e){this.selectedRowKeys=s,this.selectedRows=e},refresh(){this.$refs.table.refresh(!0)},closed(){this.fullscreen=!1,this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(s){const e=s.item.functionName;this[e]&&this[e]()}}};var g=function(){var e=this,t=e._self._c;return t("div",[t("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,"modal-append-to-body":!1,"append-to-body":!0,appendToBody:!0,top:"80px","show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.closed}},[t("template",{slot:"title"},[t("gd-modal-title",{attrs:{title:e.$i18nt("gd.teamSharing.title","\u5171\u4EAB"),fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen}})],1),t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[e.visible?t("gd-tables",{ref:"table",attrs:{dataSource:e.loadDataList,size:e.tableSize,pageSize:e.tablePageSize,columns:e.columns,selectedRowKeys:e.selectedRowKeys,height:e.height,showPagination:!1,initialLoading:!1,disabledRefresh:!0,rowKey:"ids"},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[t("gd-btn-list",{attrs:{sysViewButtons:e.operatorButtons},on:{functionName:e.doEvent}})]},proxy:!0},{key:"isQuery",fn:function({column:i,row:a}){return[t("el-checkbox",{model:{value:a.isquery,callback:function(n){e.$set(a,"isquery",n)},expression:"row.isquery"}})]}},{key:"isEdit",fn:function({column:i,row:a}){return[t("el-checkbox",{model:{value:a.isedit,callback:function(n){e.$set(a,"isedit",n)},expression:"row.isedit"}})]}},{key:"isDelete",fn:function({column:i,row:a}){return[t("el-checkbox",{model:{value:a.isdelete,callback:function(n){e.$set(a,"isdelete",n)},expression:"row.isdelete"}})]}},{key:"isAllocation",fn:function({column:i,row:a}){return[t("el-checkbox",{model:{value:a.isallocation,callback:function(n){e.$set(a,"isallocation",n)},expression:"row.isallocation"}})]}},{key:"isShare",fn:function({column:i,row:a}){return[t("el-checkbox",{model:{value:a.isshare,callback:function(n){e.$set(a,"isshare",n)},expression:"row.isshare"}})]}},{key:"source",fn:function({column:i,row:a}){return[e._v(" "+e._s(e.$i18nt(`Dynamics.${a.transkey}`,a.busname))+"/"+e._s(a.userteamid_abouttable)+" ")]}}],null,!1,428592404)}):e._e()],1)],2),t("gd-search",{ref:"viewSearch",attrs:{modalAppendToBody:e.modalAppendToBody,appendToBody:e.appendToBody},on:{lookupSeled:e.lookupSeled}})],1)},b=[],m=h.normalizeComponent(p,g,b,!1,null,"74494856",null,null);const c=m.exports;c.install=function(s){s.component(c.name,c)};exports.default=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("./components.chartbi.
|
|
1
|
+
"use strict";const s=require("./components.chartbi.3bbac955.js");const i={name:"GdTooltip",props:{highlight:{type:Boolean,default:!1},align:{type:String,default:"align"},rowKey:{type:String,default:"name"},line:{type:[String,Number],default:"1"},row:{type:Object,default:()=>({})},disabled:{type:Boolean,default:!0},transKey:{type:String,default:""},prevent:{type:Boolean,default:!0}},computed:{content(){const e=this.row[this.rowKey]||"";return this.$i18nt(this.transKey,e)},lineClass(){return`line${this.line}`},placement(){let e="top";const t=this.row[this.align]||"is-center";return t==="is-left"?e="top-start":t==="is-right"&&(e="top-end"),e},cstyle(){return this.highlight?`color:${this.primaryColor};cursor: pointer;`:"cursor: pointer;"},...s.mapGetters(["primaryColor"])},data(){return{}},methods:{changeHand(){this.$emit("click",this.row)}}};var r=function(){var t=this,n=t._self._c;return n("div",[n("el-tooltip",{directives:[{name:"delTabIndex",rawName:"v-delTabIndex"}],attrs:{placement:t.placement,"open-delay":50,disabled:t.disabled}},[n("div",{staticClass:"tooltip-content",attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.content))]),t.prevent?n("div",{class:t.lineClass,style:t.cstyle,on:{click:function(l){return l.stopPropagation(),t.changeHand.apply(null,arguments)}}},[t._v(t._s(t.content))]):n("div",{class:t.lineClass,style:t.cstyle,on:{click:t.changeHand}},[t._v(t._s(t.content))])])],1)},o=[],c=s.normalizeComponent(i,r,o,!1,null,"b6a24a5e",null,null);const a=c.exports;a.install=function(e){e.component(a.name,a)};exports.GDpackage=a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as d, s as p } from "./http.filemanage.c0de21d6.mjs";
|
|
2
|
-
import { b as f, d as c } from "./utils.util.js.
|
|
3
|
-
import { n as h } from "./components.chartbi.
|
|
2
|
+
import { b as f, d as c } from "./utils.util.js.333daba2.mjs";
|
|
3
|
+
import { n as h } from "./components.chartbi.571c5ff5.mjs";
|
|
4
4
|
const u = {
|
|
5
5
|
name: "GdUploadFile",
|
|
6
6
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const d=require("./http.filemanage.7e6e3e1a.js"),p=require("./utils.util.js.
|
|
1
|
+
"use strict";const d=require("./http.filemanage.7e6e3e1a.js"),p=require("./utils.util.js.c0ba699b.js"),f=require("./components.chartbi.3bbac955.js");const c={name:"GdUploadFile",props:{record:{type:Object,required:!0},model:{type:Object,default:()=>({})},disabled:{type:Boolean,default:!1},limit:{type:Number,default:1},prop:{type:String,default:""},develop:{type:[Number,String],default:1},accept:{type:String,default:""},size:{type:Number,default:100}},data(){return{fileUploadList:[],fileListFile:[],uid:"",imgList:[],currentImg:"",leg:0,fileName:"",uidUploading:[]}},computed:{isDrag(){return this.options.drag!==void 0?this.options.drag:!1},download(){return this.options.download!==void 0?this.options.download:!1},disableds(){return this.limit<=this.leg?!0:this.disabled},fileAccept(){return this.accept?this.accept:p.getFileAccept("file")},fileSize(){return this.size?this.size:p.getFileSize("file")},options(){return this.record.options}},methods:{clearFiles(){this.fileListFile=[],this.uidUploading=[],this.record.uidUploading=[],this.leg=0,this.record.sourceData=JSON.stringify([]),this.model[this.prop]="",this.$refs.uploadFile&&this.$refs.uploadFile.clearFiles(),this.handleChange()},onExceed(){this.$message.error(this.$i18nt("gd.view.fileLimitTip","\u5DF2\u8D85\u8FC7\u6700\u5927\u4E0A\u4F20\u6570\u91CF"))},beforeUpload(i){return!(this.limit<=this.leg)},setDataMore({val:i,data:e,items:l,fkData:o}){this.setData(i)},isJSON(i){try{JSON.parse(i)}catch{return!1}return!0},setData(i){if(i===""||i===null){this.clearFiles();return}const e=this.isJSON(i)?JSON.parse(i):[];let l=[],o=[];e.forEach(s=>{const r=s.id?s.id:s.fileId;l.push({uid:r,name:s.name?s.name:s.fileoriginname,fileoriginname:s.name?s.name:s.fileoriginname,id:r,fileId:r,url:s.url?s.url:s.filepath}),r&&o.push(r)}),this.fileListFile=[...l],this.fileListFile.length===0&&this.clearFiles(),this.leg=l.length,this.record.sourceData=JSON.stringify(l),this.model[this.prop]=o.join(",")},previewFile(i){this.fileName=i.fileoriginname||i.name;let e="",l="";i.response&&i.response.fileoriginname?(e=i.response.fileoriginname,l=i.response.id):(e=i.name,l=i.fileId);const o=e.substr(e.lastIndexOf(".")+1).toLowerCase();["gif","jpeg","png","jpg","gif","bmp","JPG","PNG"].includes(o)?this.imgPreview(l):["mp4","webm","mp3","wav","docx","excel","pdf","xlsx","pptx","doc","dot","txt"].includes(o)&&this.$refs.filePreview.open(Object.assign(i,{fileId:i.response&&i.response.fileoriginname?i.response.id:i.fileId}))},imgPreview(i){d.sysFileInfoPreview({id:i}).then(e=>{const l=window.URL.createObjectURL(new Blob([e]));this.imgList=[l],this.currentImg=l,this.$refs.imgPreview.open()})},removeFileManual(i){const e=this.fileUploadList.filter(l=>(l.response?l.response.id:l.id)===i)[0];e&&this.$refs.uploadFile.handleRemove&&this.$refs.uploadFile.handleRemove(e)},removeFile(i,e){let l=[],o=[];e.forEach(s=>{s.response&&s.response.id?(l.push(s.response.id),o.push({uid:s.response.id,name:s.response.fileoriginname,fileoriginname:s.response.fileoriginname,id:s.response.id,fileId:s.response.id,url:s.response.url})):(l.push(s.fileId),o.push({uid:s.id?s.id:s.fileId,name:s.name?s.name:s.fileoriginname,fileoriginname:s.name?s.name:s.fileoriginname,id:s.fileId?s.fileId:s.id,fileId:s.fileId?s.fileId:s.id,url:s.url?s.url:s.filepath}))}),this.uidUploading=this.uidUploading.filter(s=>s!==i.uid),this.record.uidUploading=this.uidUploading,this.record.sourceData=JSON.stringify(o),this.model[this.prop]=l.join(","),this.leg=l.length,this.handleChange()},uploadFile(i){if(!this.fileAccept.includes(i.file.type)||i.file.type===""){console.log("fileAccept: "+i.file.type),this.$message.error(this.$i18nt("gd.view.fileAcceptTip","\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")),i.onError();return}if(!(i.file.size/1024/1024<this.fileSize)){this.$message.error(this.$i18nt("gd.view.fileSizeTip","\u4E0A\u4F20\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7")+this.fileSize+"(MB)"),i.onError();return}this.$emit("uploadFile",i);const o=new FormData;o.append(this.options.fileName,i.file),this.uidUploading.push(i.file.uid),this.record.uidUploading=this.uidUploading,d.sysFileInfoUploadShop(o,{"Content-Type":i.file.type}).then(s=>{s.code===200?i.onSuccess(s.data):(this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25:")+s.message),i.onError())}).catch(s=>{i.onError(s)})},successFile(i,e,l){this.uidUploading=this.uidUploading.filter(t=>t!==e.uid),this.record.uidUploading=this.uidUploading;const o=this.model[this.prop],r=(o?o.split(","):[]).concat([i.id]);this.model[this.prop]=r.join(",");let a=[];l.forEach(t=>{t.response&&t.response.id?a.push({ouid:t.uid,uid:t.response.id,name:t.response.fileoriginname,fileoriginname:t.response.fileoriginname,id:t.response.id,fileId:t.response.id,url:t.response.url}):a.push({uid:t.id?t.id:t.fileId,name:t.name?t.name:t.fileoriginname,fileoriginname:t.name?t.name:t.fileoriginname,id:t.fileId?t.fileId:t.id,fileId:t.fileId?t.fileId:t.id,url:t.url?t.url:t.filepath,ouid:t.ouid?t.ouid:t.uid})}),this.leg=r.length,this.record.sourceData=JSON.stringify(a),this.fileUploadList.push(e),this.handleChange()},handleChange(){this.$emit("change",this.record)}},mounted(){this.develop!==1&&this.$nextTick(()=>{setTimeout(()=>{this.record.setData===void 0&&(this.record.setData=this.setDataMore),this.record.clearFiles===void 0&&(this.record.clearFiles=this.clearFiles)},20)})}};var h=function(){var e=this,l=e._self._c;return l("div",{staticClass:"gd-upload-file"},[e.isDrag?l("el-upload",{ref:"uploadFile",attrs:{action:"","on-preview":e.previewFile,"on-remove":e.removeFile,multiple:"",limit:e.limit,"http-request":e.uploadFile,"file-list":e.fileListFile,"on-success":e.successFile,disabled:e.disabled,"before-upload":e.beforeUpload,"on-exceed":e.onExceed,drag:e.isDrag}},[l("div",{staticClass:"drag-kuang"},[l("i",{staticClass:"el-icon-upload",staticStyle:{margin:"0","font-size":"50px"}}),l("el-button",{staticClass:"btn-drag",attrs:{type:"text",disabled:e.disableds}},[l("span",{class:e.disableds?"":"active-color"},[e._v(e._s(e.$i18nt("gd.btn.uploadDrag","\u62D6\u62FD\u6587\u4EF6\u6216\u70B9\u51FB\u4E0A\u4F20")))])])],1)]):l("el-upload",{ref:"uploadFile",attrs:{action:"","on-preview":e.previewFile,"on-remove":e.removeFile,multiple:"",limit:e.limit,"http-request":e.uploadFile,"file-list":e.fileListFile,"on-success":e.successFile,accept:e.fileAccept,disabled:e.disabled,"before-upload":e.beforeUpload,"on-exceed":e.onExceed}},[e.isDrag?e._e():l("div",{staticClass:"upload-file-click"},[l("el-button",{attrs:{size:"mini",type:e.disableds?"info":"primary",disabled:e.disableds}},[l("i",{staticClass:"gd-icons gd-icon-shangchuan"}),e._v(" "+e._s(e.$i18nt("gd.btn.upload","\u4E0A\u4F20"))+" ")])],1)]),l("gd-img-preview",{ref:"imgPreview",attrs:{filePreviewShow:e.imgList.length>0,imgList:e.imgList,currentImg:e.currentImg,download:e.download,fileName:e.fileName}}),l("gd-file-preview",{ref:"filePreview",attrs:{options:e.options}})],1)},u=[],g=f.normalizeComponent(c,h,u,!1,null,"4641301d",null,null);const n=g.exports;n.install=function(i){i.component(n.name,n)};exports.UploadFile=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const p=require("./http.filemanage.7e6e3e1a.js"),d=require("./utils.util.js.
|
|
1
|
+
"use strict";const p=require("./http.filemanage.7e6e3e1a.js"),d=require("./utils.util.js.c0ba699b.js"),u=require("./components.chartbi.3bbac955.js");const h={name:"GdUploadImg",props:{record:{type:Object,default:()=>({})},model:{type:Object,required:!0},limit:{type:Number,default:1},disabled:{type:Boolean,default:!1},prop:{type:String,default:""},develop:{type:[Number,String],default:1},accept:{type:String,default:""},size:{type:Number,default:100}},data(){return{fileList:[],imgList:[],currentImg:"",uidUploading:[]}},computed:{fileAccept(){return this.accept?this.accept:d.getFileAccept("image")},fileSize(){return this.size?this.size:d.getFileSize("image")}},methods:{clearFiles(){this.fileListFile=[],this.uidUploading=[],this.record.uidUploading=[],this.model[this.prop]="",this.$refs.uploadFile&&this.$refs.uploadFile.clearFiles(),this.handleChange()},setDataMore({val:i,data:s,items:l,fkData:t}){this.setData(i)},setData(i){const s=i?i.split(","):[];if(s.length===0){this.clearFiles();return}let l=[];s.forEach(t=>{let e=this.getFileBlob(t).then(r=>r);l.push(e)}),Promise.all(l).then(t=>{let e=[];t.forEach(r=>{const a=this.fileList.filter(o=>o.fileId===r.fileId)[0];e.push({uid:a?a.uid:r.uuid,url:r.url,filePath:r.url,fileId:r.fileId})}),this.fileList=[...e]})},getFileBlob(i){return i.includes("http")?new Promise(l=>{l({url:i,fileId:"",uuid:d.uuid(8)})}):p.sysFileInfoPreview({id:i}).then(l=>({url:window.URL.createObjectURL(new Blob([l])),fileId:i,uuid:i}))},successImg(i,s,l){this.uidUploading=this.uidUploading.filter(e=>e!==s.uid),this.record.uidUploading=this.uidUploading;let t=[];l.forEach(e=>{e.response&&e.response.id?t.push({uid:e.response.id,name:e.response.fileoriginname,fileoriginname:e.response.fileoriginname,id:e.response.id,fileId:e.response.id,url:e.response.url}):t.push({uid:e.id?e.id:e.fileId,name:e.name?e.name:e.fileoriginname,fileoriginname:e.name?e.name:e.fileoriginname,id:e.fileId?e.fileId:e.id,fileId:e.fileId?e.fileId:e.id,url:e.url?e.url:e.filepath})}),this.fileList=[...l],this.handleChange()},uploadImgs(i){if(!this.fileAccept.split(",").includes(i.file.type)){this.$message.error(this.$i18nt("gd.view.fileAcceptTip","\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")),i.onError();return}if(!(i.file.size/1024/1024<this.fileSize)){this.$message.error(this.$i18nt("gd.view.fileSizeTip","\u4E0A\u4F20\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7")+this.fileSize+"(MB)"),i.onError();return}const t=new FormData;t.append("file",i.file),this.uidUploading.push(i.file.uid),this.record.uidUploading=this.uidUploading,p.sysFileInfoUploadShop(t).then(e=>{if(e.code===200){const r=e.data.id,o=(this.model[this.prop]?this.model[this.prop].split(","):[]).concat([r]);this.model[this.prop]=o.join(","),i.onSuccess(e.data)}else this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25:")+e.message),i.onError()}).catch(e=>{i.onError(e)})},previewImg(i){this.imgList=[];let s=[];this.fileList.forEach(l=>{s.push(l.url)}),this.imgList=s,this.currentImg=i.url,this.$refs.imgPreview.open()},removeImg(i,s){let l=[],t=[];s.forEach(e=>{e.response&&e.response.id?(l.push(e.response.id),t.push({uid:e.response.id,name:e.response.fileoriginname,fileoriginname:e.response.fileoriginname,id:e.response.id,fileId:e.response.id,url:e.response.url})):(l.push(e.fileId?e.fileId:e.id),t.push({uid:e.id?e.id:e.fileId,name:e.name?e.name:e.fileoriginname,fileoriginname:e.name?e.name:e.fileoriginname,id:e.fileId?e.fileId:e.id,fileId:e.fileId?e.fileId:e.id,url:e.url?e.url:e.filepath}))}),this.uidUploading=this.uidUploading.filter(e=>e!==i.uid),this.record.uidUploading=this.uidUploading,this.fileList=[...s],this.model[this.prop]=l.join(","),this.handleChange()},handleChange(){this.$emit("change",this.record)}},mounted(){this.develop!==1&&this.$nextTick(()=>{setTimeout(()=>{this.record.setData===void 0&&(this.record.setData=this.setDataMore),this.record.clearFiles===void 0&&(this.record.clearFiles=this.clearFiles)},20)})}};var c=function(){var s=this,l=s._self._c;return l("div",[l("el-upload",{staticClass:"upload-demo",class:s.fileList.length>=s.limit?"hide-demo":"",attrs:{action:"","list-type":"picture-card","on-preview":s.previewImg,"on-remove":s.removeImg,limit:s.limit,"http-request":s.uploadImgs,"on-success":s.successImg,"file-list":s.fileList,disabled:s.disabled,accept:s.fileAccept}},[l("i",{staticClass:"el-icon-plus"})]),l("gd-img-preview",{ref:"imgPreview",attrs:{filePreviewShow:s.imgList.length>0,imgList:s.imgList,currentImg:s.currentImg}})],1)},f=[],g=u.normalizeComponent(h,c,f,!1,null,"99ae0c7b",null,null);const n=g.exports;n.install=function(i){i.component(n.name,n)};exports.uploadImg=n;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as d, s as p } from "./http.filemanage.c0de21d6.mjs";
|
|
2
|
-
import { b as h, d as u, u as f } from "./utils.util.js.
|
|
3
|
-
import { n as c } from "./components.chartbi.
|
|
2
|
+
import { b as h, d as u, u as f } from "./utils.util.js.333daba2.mjs";
|
|
3
|
+
import { n as c } from "./components.chartbi.571c5ff5.mjs";
|
|
4
4
|
const g = {
|
|
5
5
|
name: "GdUploadImg",
|
|
6
6
|
props: {
|
package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.140533c7.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const d=require("./components.chartbi.
|
|
1
|
+
"use strict";const d=require("./components.chartbi.3bbac955.js");const s={name:"GdVerificationCode",props:{width:{type:String,default:"180px"},height:{type:String,default:"40px"},length:{type:Number,default:4}},data(){return{codeList:[]}},mounted(){this.createdCode()},methods:{refreshCode(){this.createdCode()},createdCode(){const e=this.length,t=[],n="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz0123456789",r=n.length;for(let o=0;o<e;o++){const a=[Math.round(Math.random()*220),Math.round(Math.random()*240),Math.round(Math.random()*200)];t.push({code:n.charAt(Math.floor(Math.random()*r)),color:`rgb(${a})`,fontSize:`${[Math.floor(Math.random()*(30-16+1)+16)]}px`,padding:`${[Math.floor(Math.random()*10)]}px`,transform:`rotate(${Math.floor(Math.random()*90)-Math.floor(Math.random()*90)}deg)`})}this.codeList=t,this.$emit("update",t.map(o=>o.code).join(""))},getStyle(e){return`color: ${e.color}; font-size: ${e.fontSize}; padding: ${e.padding}; transform: ${e.transform}`}}};var c=function(){var t=this,n=t._self._c;return n("div",{staticClass:"validcode disabled-select",style:`width:${t.width}; height:${t.height}`,on:{click:t.refreshCode}},t._l(t.codeList,function(r,o){return n("span",{key:o,style:t.getStyle(r)},[t._v(t._s(r.code))])}),0)},i=[],h=d.normalizeComponent(s,c,i,!1,null,"c4c21346",null,null);const l=h.exports;exports.VerificationCode=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("./components.chartbi.3bbac955.js"),l=require("./utils.util.js.c0ba699b.js"),d=require("./http.main.2f8a6936.js"),p=require("./http.loginmanage.326984c3.js"),f=require("./http.syscodegenerateconfigmanage.840f1136.js"),y=require("./form.build.724d3357.js"),g=require("./http.codegeneratemanage.e3db2f09.js"),C=require("./system.notice.db26f308.js"),b={props:{record:{type:Object,default:()=>({})},recordoperations:{type:Object,default:()=>({})},develop:{type:[Number,String],default:1},openMode:{type:[String,Number],default:1},height:{type:Number,default:100},foreign:{type:Object,default:()=>({})},disabledRowId:{type:Array,default:()=>[]},istable:{type:Boolean,default:!1}},data(){return{statu:!1,viewRecord:{},formList:[],tableData:{},sysViewList:[],personalViewList:[],sysViewButtons:[],selectedRowKeys:[],selectedRows:[],defaultViewId:0,excludeButtons:[],fieldData:[],tableDataSource:[],componentList:[],lineQuickView:t=>{const e="baseQuickView";return this[e]===void 0&&this.func===void 0?new Promise(i=>i(t)):this[e](t)}}},computed:{componentForm(){const t=this.$importViewFiles();let i=`../views/main/${this.options.table.tableName||this.options.table.tablename}/editForm.vue`;const s=t[i];return s?s.default:y.FormDesigner},viewList(){return this.sysViewList.concat(this.personalViewList)},formCode(){return this.options.form.id},options(){return this.record.options},...r.mapGetters(["tableLists"])},methods:{showLoading(){this.statu=!0,this.$refs.table.showLoading()},hideLoading(t=1500){this.$refs.table.hideLoading(t),setTimeout(()=>{this.statu=!1},t)},add(t){this.baseAdd()},edit(t){this.baseEdit()},del(t){this.baseDel()},deactivateData(){this.baseEnable(0)},enableData(){this.baseEnable()},assign(t){this.baseAssign(t)},batchUpdate(t){this.baseBatchUpdate()},teamSharing(t){this.baseTeamSharing(t)},statusChange(){this.baseStatusChange()},importData(){this.baseImportData()},exportData(t){this.baseExportData(t)},open(t){this.$nextTick(()=>{setTimeout(()=>{if(this.$refs.editForm){if(!(this.tableData.isvirtualtable===1)){this.$refs.editForm.open(t);return}this.openVirtual(t)}else console.log("err:\u8868\u5355\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01")},0)})},openVirtual(t){let e=new Map;this.fieldData.filter(s=>["fk","user"].includes(s.effecttype)).forEach(s=>{Object.keys(t).includes(s.columnname);const o=`name${s.fkentityname}${s.columnname}`;if(Object.keys(t).includes(o)){const a=t[`${s.columnname}id`],c=a||new Date().getTime();e.set(`${s.columnname}`,c),e.set(`${s.columnname}name`,t[o])}}),this.$refs.editForm.openDisplay(Object.assign({},t,Object.fromEntries(e)))},refresh(t=!0){this.$refs.table?this.$refs.table.refresh(t):console.log("err:\u89C6\u56FE\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01")},init(){this.record.hasLoad&&this.record.hasLoad(this.record.key),Promise.all([this.baseGetTableView(),this.baseGetPersonalView(!0),this.baseGetLoadData()]).then(t=>{this.$nextTick(()=>{setTimeout(()=>{this.$refs.table&&(this.$refs.table.init({fieldData:this.fieldData,tableData:this.tableData,sysViewList:this.sysViewList,personalViewList:this.personalViewList,defaultViewId:this.defaultViewId}),this.$refs.table.baseCustomComponents(this.componentList));let e=this.formList.filter(i=>i.id===this.formCode)[0];e||(e=this.formList.filter(i=>i.type===1)[0]),this.$refs.editForm&&e&&this.$refs.editForm.setFormRecord(e),this.beaseLoadComplete()},0)})})},onChangeBtn(t){this.sysViewButtons=t},onChangeView(t){this.viewRecord=t},onChangeData(t){this.tableDataSource=[...t],this.$emit("changeData",t)},onChangeSelect(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("onChangeSelect",t,e);const i="baseChangeSelect";this[i]&&this[i](t,e)},beaseLoadComplete(){const t="onLoadCompleted";this[t]===void 0&&this.func===void 0||this[t]&&this[t]()},baseGetTableView(){const t=this.tableLists.filter(e=>{const i=this.options.table.tableName||this.options.table.tablename;return e.tablename.toLowerCase()===i.toLowerCase()})[0];return t?d.baseTableData({tableId:t.id}).then(e=>(e.code===200?(e.data.viewlist.map(i=>(i.mode=1,i)),this.formList=e.data.formlist,this.tableData=e.data.table,this.sysViewList=e.data.viewlist):this.$message.error(e.message),e)):(console.log("\u6570\u636E\u9519\u8BEF,\u8868\u4E0D\u5B58\u5728"),new Promise((e,i)=>{e({})}))},baseGetPersonalView(t){if(t&&this.openMode!=1)return new Promise((i,s)=>{i()});const e=this.tableLists.filter(i=>{const s=this.options.table.tableName||this.options.table.tablename;return i.tablename.toLowerCase()===s.toLowerCase()})[0];return e===void 0?(console.log("\u8868\u4E0D\u5B58\u5728"),new Promise((i,s)=>{i()})):d.basePersonalData({tableId:e.id}).then(i=>{if(i.code===200){const s=this.options.layoutConfig!==void 0?this.options.layoutConfig:!1;this.defaultViewId=s?0:i.data.defaultqueryid,this.personalViewList=i.data.savedquerylist}else console.log(i.message);return i.data})},baseGetLoadData(){const t=this.tableLists.filter(e=>{const i=this.options.table.tableName||this.options.table.tablename;return e.tablename.toLowerCase()===i.toLowerCase()})[0];return t?f.onlineFormGetCodeGenerateList({codeGenId:t.id}).then(e=>{e.code===200&&(this.fieldData=JSON.parse(JSON.stringify(e.data)),this.$emit("fieldData",e.data))}):(console.log("\u6570\u636E\u9519\u8BEF,\u8868\u4E0D\u5B58\u5728"),new Promise((e,i)=>{e({})}))},baseAdd(){this.$nextTick(()=>{setTimeout(()=>{this.$refs.editForm?this.$refs.editForm.open({title:this.$i18nt("gd.https.add","\u65B0\u589E")}):console.log("err:\u8868\u5355\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01")},0)})},baseEdit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}let t={title:this.$i18nt("gd.https.edit","\u7F16\u8F91")};this.openMode==3?Object.assign(t,{data:this.selectedRows[0]}):Object.assign(t,{id:this.selectedRowKeys[0]}),this.open(t)},baseCopyData(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}const t=this.tableDataSource.filter(e=>this.selectedRowKeys.includes(e.id))[0];this.$refs.editForm.openCopyData({title:this.$i18nt("gd.advancedFind.anotherSave","\u53E6\u5B58\u4E3A"),data:t})},baseDel(){this.$refs.table.baseDel()},baseEnable(t=1){return this.$refs.table.baseEnable(t)},baseRelationOk(t){this.$refs.table.baseRelationOk(t)},baseBatchUpdate(){this.$refs.table.baseBatchUpdate()},baseTeamSharing(t){this.$refs.table.baseTeamSharing(t)},baseStatusChange(){this.$refs.table.baseStatusChange()},baseAssign(t){this.$refs.table.baseAssign(t)},baseImportData(){this.$refs.table.baseImportData()},baseExportData(t){this.$refs.table.baseExportData(t)},baseGetParentFormData(t){if(this.openMode!=3)return new Promise((i,s)=>{i({})});let e=t===void 0?!1:t;return this.record.getFormAllData(e,!0).then(i=>i)},baseRelationRefresh(t=!0,e,i={}){this.openMode==3&&this.record.refresh(t,e,i)},baseBtnsStatus(t){this.$refs.table.baseBtnsStatus(t)},baseForceShowBtns(t){this.$refs.table.baseForceShowBtns(t)},baseComponentsInit(t){this.$refs.table.baseComponentsInit(t)},baseSetTableData(t){this.$refs.table.baseSetTableData(t)},getDictionary(t){return this.$options.filters.dictData(t)},baseTriggerFilter(t){this.$refs.table.baseTriggerFilter(t)},beseDoComponentEvent(t){const e=t.key?t.key:"",i=t.functionName?t.functionName:"",s=t.data?t.data:null,o=t.callback?t.callback:!1,h=t.callback?t.callback:this.record.key,a=t.callbackFunction?t.callbackFunction:"";this.record.doEvent&&this.record.doEvent({key:e,functionName:i,data:s,source:this.record,callback:o,callbackComponents:h,callbackFunction:a})},baseGetComponentData(t,e="key"){return this.record.getComponentData?this.record.getComponentData(t,e):null},doEvent(t){const e=t.item.functionName||t.item.functionname,i=t.key?t:t.item;if(this[e]===void 0){console.log("\u8BF7\u5B9A\u4E49 "+e+" \u65B9\u6CD5");return}this.showLoading(),this[e]&&this[e](i),this.hideLoading()},executeEvent(t){const e=t.functionName?t.functionName:"";e&&this[e]!==void 0?this.$nextTick(()=>{setTimeout(()=>{this[e](t)},100)}):console.log("\u6267\u884C\u9519\u8BEF")}},created(){this.init(),this.develop==2&&(this.record.executeEvent=this.executeEvent)},beforeDestroy(){this.sysViewList=[],this.personalViewList=[],this.selectedRows=[],this.sysViewButtons=[],this.fieldData=[],this.componentList=[],this.tableDataSource=[]}};const D={mixins:[b],methods:{}};var L=function(){var e=this,i=e._self._c;return i("div",[i("gd-view-build-designer",{ref:"table",attrs:{record:e.record,develop:e.develop,openMode:e.openMode,height:e.height,foreign:e.foreign,disabledRowId:e.disabledRowId,excludeButtons:e.excludeButtons,lineQuickView:e.lineQuickView},on:{baseOpen:e.open,changeBtn:e.onChangeBtn,changeView:e.onChangeView,changeData:e.onChangeData,changeSelect:e.onChangeSelect,doEvent:e.doEvent}}),i(e.componentForm,{ref:"editForm",tag:"component",attrs:{fieldData:e.fieldData,tableData:e.tableData,recordRelation:e.record,openMode:e.openMode},on:{ok:e.refresh,relationOk:e.baseRelationOk}})],1)},I=[],k=r.normalizeComponent(D,L,I,!1,null,"ca0b408e",null,null);const _=k.exports;const x={name:"GdViewFormDetails",props:{modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!0}},data(){return{record:"",query:{},openType:"",modeType:"",popupType:"dialog",iframeUri:"",showPopup:!1,statu:!1}},computed:{hig(){return`${this.screenHeight}px`},istyle(){return`width:100%;overflow:hidden;height:${this.hig};`},...r.mapGetters(["primaryColor","screenHeight"])},components:{PopupDetails:()=>Promise.resolve().then(()=>P),ViewDetails:()=>Promise.resolve().then(()=>G)},methods:{open(t,e=!1){console.log(t),this.record=t;const i=l.getParamsQuery(t);this.query=i,this.modeType=e?this.modeType:i.mode_type?i.mode_type:"",this.openType=e?this.openType:i.open_type?i.open_type:"popup";const s=this.query.redirect_uri?this.query.redirect_uri:"";if(this.modeType==="request"){this.getRequestDetail();return}if(["authorize_view","authorize_form","authorize_details"].includes(this.modeType)){this.getAuthorizeCode();return}if(this.openType==="iframe"){this.getIframeUri(s);return}if(["redirect_self","redirect_blank"].includes(this.openType)){this.goRedirectUri(s);return}this.showPopup=!0,this.$nextTick(()=>{setTimeout(()=>{const o=`${this.openType}Details`;this.$refs[o]&&this.$refs[o].init()},0)})},getRequestDetail(){if(this.statu)return;const t=this.query.request_url?this.query.request_url:"";if(t==="")return;const e=decodeURIComponent(t),i=e.indexOf("?")===-1?e:e.slice(0,e.indexOf("?")),s=l.getParamsQuery(e);this.statu=!0,d.post(i,s).then(o=>{if(this.statu=!1,o.code!==200){this.$message.error(o.message);return}if(["redirect_self","redirect_blank"].includes(this.openType)){this.goRedirectUri(o.data),this.beaseLoadComplete();return}if(["iframe"].includes(this.openType)){this.getIframeUri(o.data),this.beaseLoadComplete();return}this.open(o.data,!0)})},getAuthorizeCode(){const t=this.query.code?this.query.code:"";if(t){this.Logout().then(e=>{this.getCode(t)});return}this.oauthAuthorize()},oauthAuthorize(){const t=this.query.client_id?this.query.client_id:"";this.query.response_type&&this.query.response_type,p.oauthAuthorize({client_id:t,response_type:"code"}).then(e=>{if(e.code!==200){this.$message.error(e.message);return}const i=this.query.redirect_uri?this.query.redirect_uri:"";if(i==="")return;const s=decodeURIComponent(i);s.indexOf("?")===-1||s.slice(0,s.indexOf("?"));const o=s.indexOf("?")===-1?[]:s.slice(s.indexOf("?")+1).split("&").map(n=>n.split("=")).map(([n,q])=>({key:n,value:q})).concat([{key:"code",value:e.data.code}]);if(["redirect_self","redirect_blank"].includes(this.openType)){this.oauthAuthorizeRedirect(o);return}const h=this.modeType.replace("authorize_","");let a=`?authorize_type=${this.modeType}&mode_type=${h}`,c=`?authorize_type=${this.modeType}&mode_type=${h}&open_type=view`;for(let n=0;n<o.length;n++)a+=`&${o[n].key}=${o[n].value}`,o[n].key!=="open_type"&&(c+=`&${o[n].key}=${o[n].value}`);const m=encodeURIComponent(s.slice(0,s.indexOf("?"))+c);a+=a===""?`?redirect_uri=${m}`:`&redirect_uri=${m}`,this.query.complete_request&&(a+=`&complete_request=${this.query.complete_request}`);const T=l.getParamsQuery(a);this.query=T,this.showPopup=!0,this.$nextTick(()=>{setTimeout(()=>{const n=`${this.openType}Details`;this.$refs[n]&&this.$refs[n].init()},0)})})},oauthAuthorizeRedirect(t){let e="";for(let s=0;s<t.length;s++)e+=`${s===0?"?":"&"}${t[s].key}=${t[s].value}`;const i=this.openType==="redirect_self"?"_self":this.openType==="redirect_blank"?"_blank":"_self";window.open(`${url}${e}`,i)},getCode(t){p.oauthCodeLogin({code:t}).then(e=>{if(e.code!==200){this.$message.error(e.message);return}this.loginSuccess(e.data),this.loginOther()})},goRedirectUri(t){if(t==="")return;const e=decodeURIComponent(t),i=this.openType==="redirect_self"?"_self":this.openType==="redirect_blank"?"_blank":"";window.open(e,i)},getIframeUri(t){t!==""&&(this.iframeUri=decodeURIComponent(t))},beaseLoadComplete(){const t=this.query.complete_request?this.query.complete_request:"";if(t==="")return;const e=decodeURIComponent(t),i=e.indexOf("?")===-1?e:e.slice(0,e.indexOf("?")),s=l.getParamsQuery(e);d.post(i,s)},loginSuccess(t){Vue.ls.set("ACCESS_TOKEN",t.accesstoken),this.$store.commit("SET_TOKEN",t.accesstoken);let e="";for(let i in this.query)["authorize_view","authorize_form","authorize_details"].includes(i)?e+=`${e===""?"?":"&"}${i}=${this.query[i].replace("authorize_","")}`:e+=`${e===""?"?":"&"}${i}=${this.query[i]}`;this.open(e,!0)},loginOther(){this.dictTypeData().then(e=>{});const t=new BroadcastChannel("gd-channel-msg");t.postMessage({type:"login",data:{gdTagName:window.gdTagName}}),t.close()},close(){this.modeType="",this.openType="",this.$nextTick(()=>{setTimeout(()=>{this.$emit("close")},300)})},doEvent(t){const e=`${this.openType}Details`;this.$refs[e]&&this.$refs[e].doEvent&&this.$refs[e].doEvent(t)},...r.mapActions(["Logout","dictTypeData"])}};var F=function(){var e=this,i=e._self._c;return i("div",{staticClass:"gd-vf-details"},[e.showPopup&&e.openType==="popup"?i("PopupDetails",{ref:"popupDetails",attrs:{record:e.record,query:e.query,modalAppendToBody:e.modalAppendToBody,appendToBody:e.appendToBody},on:{ok:function(s){return e.$emit("ok")},beaseLoadComplete:function(s){return e.$emit("beaseLoadComplete")},closed:e.close}}):e.openType==="view"?i("ViewDetails",{ref:"viewDetails",attrs:{record:e.record,query:e.query},on:{ok:function(s){return e.$emit("ok")},closed:e.close,onChangeBtn:s=>e.$emit("changeBtn",s),beaseLoadComplete:function(s){return e.$emit("beaseLoadComplete")}}}):e.openType==="iframe"?i("iframe",{style:e.istyle,attrs:{id:"iframe",height:e.hig,src:e.iframeUri,frameBorder:"0"}}):e._e()],1)},B=[],O=r.normalizeComponent(x,F,B,!1,null,"127122b3",null,null);const u=O.exports;u.install=function(t){t.component(u.name,u)};const S={props:{record:{type:String,default:""},query:{type:Object,default:()=>{}},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!0}},data(){return{modeType:"",popupMode:"drawer",fullscreen:!1,confirmLoading:!1,visible:!1,width:"80%",iframeUri:"",sysViewButtons:[]}},components:{ViewItem:()=>Promise.resolve().then(()=>v),FormItem:()=>Promise.resolve().then(()=>$),DetailsItem:()=>Promise.resolve().then(()=>w)},computed:{urls(){return this.iframeUri.indexOf("?")===-1?this.iframeUri:this.iframeUri.slice(0,this.iframeUri.indexOf("?"))},title(){return""},hig(){return`${this.height-24}px`},istyle(){return`width:100%;overflow:hidden;height:${this.hig};`},height(){return this.popupMode==="drawer"?this.screenHeight-48:this.fullscreen?this.screenHeight-72:this.screenHeight-230},...r.mapGetters(["formMode","screenHeight"])},methods:{onChangeBtn(t){this.sysViewButtons=t},init(){const t=this.query.popup_wid?this.query.popup_wid:"80%",e=this.query.popup_fullscreen?this.query.popup_fullscreen:"";this.width=isNaN(Number(t))?t:Number(t)+"px",this.fullscreen=e==="true";let i=this.query.popup_type?this.query.popup_type:"drawer";i==="followSystem"&&(i=this.formMode),this.popupMode=i,this.modeType=this.query.mode_type?this.query.mode_type:"form";let s=this.query.redirect_uri?decodeURIComponent(this.query.redirect_uri):"";this.iframeUri=s,console.log(this.iframeUri),this.visible=!0,this.query.open_type&&this.query.open_type!=="popup"&&(this.modeType=this.query.open_type),this.modeType==="iframe"&&window.addEventListener("message",this.monitorIframe),this.$nextTick(()=>{const o=`${this.modeType}Item`;this.$refs[o]&&this.$refs[o].init()})},toggleFullscreen(){this.fullscreen=!this.fullscreen},closed(){this.modeType="",this.fullscreen=!1,this.visible=!1,this.$emit("closed")},doEvent(t){if(this.modeType==="iframe"){document.getElementById("gd-view-iframe").contentWindow.postMessage({data:JSON.stringify(t),eventType:"btn-click"},this.urls);return}const e=`${this.modeType}Item`;this.$refs[e]&&this.$refs[e].doEvent(t)},monitorIframe(t){if(t.data.eventType==="form-btn"){this.onChangeBtn(t.data.data&&l.isJson(t.data.data)?JSON.parse(t.data.data):[]);return}if(t.data.eventType==="load-complete"){this.beaseLoadComplete();return}t.data.eventType==="close-drawer"&&this.closed()},beaseLoadComplete(t){console.log(this.query);const e=this.query.complete_request?this.query.complete_request:"";if(e==="")return;const i=decodeURIComponent(e),s=i.indexOf("?")===-1?i:i.slice(0,i.indexOf("?")),o=l.getParamsQuery(i);d.post(s,o)}},beforeDestory(){window.removeEventListener("message",this.monitorIframe)}};var V=function(){var e=this,i=e._self._c;return i("div",[e.popupMode==="dialog"?i("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":e.appendToBody,"modal-append-to-body":e.modalAppendToBody,top:"80px","show-close":!1},on:{"update:visible":function(s){e.visible=s},closed:e.closed}},[i("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullscreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,emitFun:!0,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen,close:e.closed},slot:"title"}),e.visible?i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticStyle:{"min-height":"30vh"}},[e.modeType==="view"?i("ViewItem",{ref:"viewItem",attrs:{query:e.query,height:e.height}}):e.modeType==="form"?i("FormItem",{ref:"formItem",attrs:{query:e.query,height:e.height},on:{onChangeBtn:e.onChangeBtn,closed:e.closed,ok:function(s){return e.$emit("ok")},beaseLoadComplete:function(s){return e.$emit("beaseLoadComplete")}}}):e.modeType==="details"?i("DetailsItem",{ref:"detailsItem",attrs:{query:e.query,height:e.height}}):e.modeType==="iframe"?i("iframe",{style:e.istyle,attrs:{id:"gd-view-iframe",height:e.hig,src:e.iframeUri,frameBorder:"0"}}):e._e()],1):e._e()],1):i("el-drawer",{attrs:{visible:e.visible,"close-on-press-escape":!1,"append-to-body":e.appendToBody,"modal-append-to-body":e.modalAppendToBody,size:e.width,"custom-class":"gd-drawer-form","show-close":!1},on:{"update:visible":function(s){e.visible=s}}},[i("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullscreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,emitFun:!0,showFullscreen:!1,showClose:!0},on:{changeEvent:e.doEvent,close:e.closed},slot:"title"}),e.visible?i("div",{staticStyle:{height:"100%"}},[e.modeType==="view"?i("ViewItem",{ref:"viewItem",attrs:{query:e.query,height:e.height}}):e.modeType==="form"?i("FormItem",{ref:"formItem",attrs:{query:e.query,height:e.height},on:{onChangeBtn:e.onChangeBtn,closed:e.closed,ok:function(s){return e.$emit("ok")},beaseLoadComplete:function(s){return e.$emit("beaseLoadComplete")}}}):e.modeType==="details"?i("DetailsItem",{ref:"detailsItem",attrs:{query:e.query,height:e.height}}):e.modeType==="iframe"?i("iframe",{style:e.istyle,attrs:{id:"gd-view-iframe",height:e.hig,src:e.iframeUri,frameBorder:"0"}}):e._e()],1):e._e()],1)],1)},R=[],N=r.normalizeComponent(S,V,R,!1,null,"1aaea733",null,null);const E=N.exports,P=Object.freeze(Object.defineProperty({__proto__:null,default:E},Symbol.toStringTag,{value:"Module"}));const j={props:{record:{type:String,default:""},query:{type:Object,default:()=>{}}},data(){return{modeType:""}},components:{ViewItem:()=>Promise.resolve().then(()=>v),FormItem:()=>Promise.resolve().then(()=>$),DetailsItem:()=>Promise.resolve().then(()=>w)},computed:{height(){return this.screenHeight-72},...r.mapGetters(["screenHeight"])},methods:{init(){this.modeType=this.query.mode_type?this.query.mode_type:"form",this.visible=!0,this.$nextTick(()=>{const t=`${this.modeType}Item`;this.$refs[t]&&this.$refs[t].init()})},doEvent(t){const e=`${this.modeType}Item`;this.$refs[e]&&this.$refs[e].doEvent&&this.$refs[e].doEvent(t)}}};var U=function(){var e=this,i=e._self._c;return i("div",[e.modeType==="view"?i("ViewItem",{ref:"viewItem",attrs:{query:e.query,height:e.height}}):e.modeType==="form"?i("FormItem",{ref:"formItem",attrs:{query:e.query,height:e.height,modeType:"component"},on:{ok:function(s){return e.$emit("ok")},onChangeBtn:s=>e.$emit("onChangeBtn",s),closed:function(s){return e.$emit("closed")},beaseLoadComplete:function(s){return e.$emit("beaseLoadComplete")}}}):e.modeType==="details"?i("DetailsItem",{ref:"detailsItem",attrs:{query:e.query,height:e.height}}):e._e()],1)},M=[],z=r.normalizeComponent(j,U,M,!1,null,"dd2e4515",null,null);const A=z.exports,G=Object.freeze(Object.defineProperty({__proto__:null,default:A},Symbol.toStringTag,{value:"Module"}));const H={props:{height:{type:Number,default:600},query:{type:Object,default:()=>{}}},data(){return{record:{},openMode:1,viewId:"",tableId:"",formId:"",show:!1,confirmLoading:!1}},computed:{table(){const t=this.tableLists.filter(e=>e.id===this.tableId)[0];return t||{}},getHeight(){return this.height-24},componentItem(){const t=this.$importViewFiles();let e=`../views/main/${this.table.tablename}/index.vue`,i=t[e];return i?i.default:_},...r.mapGetters(["tableLists"])},methods:{init(){this.viewId=this.query.view_id?Number(this.query.view_id):"",this.tableId=this.query.table_id?Number(this.query.table_id):"",this.formId=this.query.form_id?Number(this.query.form_id):"",this.tableId!==""&&this.getAllTable().then(t=>{this.record={options:{table:this.table,form:{id:this.formId},view:{id:this.viewId},viewWeights:"1"}},this.$nextTick(()=>{setTimeout(()=>{this.show=!0},0)})})},getAllTable(){return this.tableLists.length>0?new Promise(t=>{t()}):g.codeGenerateInformationList({busName:""}).then(t=>(t.success&&this.TableLists(t.data),t.data))}}};var Q=function(){var e=this,i=e._self._c;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticStyle:{"min-height":"300px"}},[e.show?i(e.componentItem,{ref:"lookuptable",tag:"component",attrs:{record:e.record,height:e.getHeight,develop:2,openMode:e.openMode}}):e._e()],1)},K=[],J=r.normalizeComponent(H,Q,K,!1,null,"5b928d29",null,null);const W=J.exports,v=Object.freeze(Object.defineProperty({__proto__:null,default:W},Symbol.toStringTag,{value:"Module"}));const X={props:{query:{type:Object,default:()=>{}},modeType:{type:String,default:"component"}},data(){return{record:{},openMode:1,tableId:"",formId:"",show:!1,formData:{},fieldData:{},sysViewButtons:[],confirmLoading:!1}},computed:{table(){const t=this.tableLists.filter(e=>e.id===this.tableId)[0];return t||{}},getHeight(){return this.height-24},componentItem(){const t=this.$importViewFiles();let e=`../views/main/${this.table.tablename}/editForm.vue`,i=t[e];return i?i.default:y.FormDesigner},...r.mapGetters(["tableLists"])},methods:{beaseLoadComplete(t){console.log(this.query),this.$emit("beaseLoadComplete");const e=this.query.complete_request?this.query.complete_request:"";if(e==="")return;const i=decodeURIComponent(e),s=i.indexOf("?")===-1?i:i.slice(0,i.indexOf("?")),o=l.getParamsQuery(i);d.post(s,o)},onChangeBtn(t){this.sysViewButtons=t,this.$emit("onChangeBtn",t)},init(){this.confirmLoading=!0,this.tableId=this.query.table_id?Number(this.query.table_id):"",this.formId=this.query.form_id?Number(this.query.form_id):"",this.id=this.query.id?Number(this.query.id):"",this.tableId!==""&&Promise.all([this.sysFormDetails(),this.getLoadData(),this.getAllTable()]).then(t=>{this.record={options:{table:this.table,form:{id:this.formId}}},this.show=!0,this.confirmLoading=!1,this.$nextTick(()=>{setTimeout(()=>{this.$refs.editForm&&this.$refs.editForm.setFormRecord(this.formData).then(()=>{this.$refs.editForm.open({id:this.id,title:""})})},0)})})},getLoadData(){return f.onlineFormGetCodeGenerateList({codeGenId:this.tableId}).then(t=>(this.fieldData=t.data,t.data))},sysFormDetails(){return d.baseTableData({tableId:this.tableId}).then(t=>{if(t.code===200){const e=t.data.formlist.filter(i=>i.id===this.formId)[0];console.log(e),this.formData=e}return t.data})},getAllTable(){return this.tableLists.length>0?new Promise(t=>{t()}):g.codeGenerateInformationList({busName:""}).then(t=>(t.success&&this.TableLists(t.data),t.data))},doEvent(t){this.$refs.editForm&&this.$refs.editForm.doEvent(t)},closed(){console.log("\u5173\u95ED"),this.$emit("closed")},...r.mapActions(["TableLists"])}};var Y=function(){var e=this,i=e._self._c;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}],staticStyle:{"min-height":"300px",height:"100%"}},[e.show?i(e.componentItem,{ref:"editForm",tag:"component",attrs:{recordRelation:e.record,openMode:e.openMode,tableData:e.table,fieldData:e.fieldData,modeType:e.modeType},on:{onChangeBtn:e.onChangeBtn,closed:e.closed,ok:function(s){return e.$emit("ok")},onLoadCompleted:e.beaseLoadComplete}}):e._e()],1)},Z=[],ee=r.normalizeComponent(X,Y,Z,!1,null,"b8e777c7",null,null);const te=ee.exports,$=Object.freeze(Object.defineProperty({__proto__:null,default:te},Symbol.toStringTag,{value:"Module"}));const ie={props:{query:{type:Object,default:()=>{}}},data(){return{dictCode:"messagetype",messageType:"",componentItem:""}},computed:{componentForm(){return this.componentItem==="GdNoticeDetails"?C.noticeItem:""}},methods:{onLoadCompleted(){const t=this.query.complete_request?this.query.complete_request:"";if(t==="")return;const e=decodeURIComponent(t),i=e.indexOf("?")===-1?e:e.slice(0,e.indexOf("?")),s=l.getParamsQuery(e);d.post(i,s)},init(){if(this.messageType=this.query.message_type?this.query.message_type:"",this.messageType==="")return;const e=this.getDictionary(this.dictCode).filter(s=>s.code===this.messageType)[0];if(!e)return;const i=this.query.id?this.query.id:"";this.componentItem=e.remark,this.$nextTick(()=>{setTimeout(()=>{this.$refs.editForm&&this.$refs.editForm.open({id:i})},0)})},getDictionary(t){return this.$options.filters.dictData(t)}}};var se=function(){var e=this,i=e._self._c;return e.componentForm?i(e.componentForm,{ref:"editForm",tag:"component",attrs:{modeType:"component"},on:{onLoadCompleted:e.onLoadCompleted}}):e._e()},oe=[],re=r.normalizeComponent(ie,se,oe,!1,null,"2e905682",null,null);const ne=re.exports,w=Object.freeze(Object.defineProperty({__proto__:null,default:ne},Symbol.toStringTag,{value:"Module"}));exports.GDpackage=u;exports.ViewTable=_;exports.viewMixins=b;
|