gds-plus-design-vue 1.2.63 → 1.2.72
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.e559c495.js +1 -0
- package/lib/{addPermission.9fc97a47.mjs → addPermission.f2eb7564.mjs} +127 -105
- package/lib/approvalModel.2b97fdf8.js +1 -0
- package/lib/{approvalModel.51d07afe.mjs → approvalModel.7b3cb5c5.mjs} +7 -7
- package/lib/attribute.4f814780.mjs +367 -0
- package/lib/attribute.7b4971f5.js +1 -0
- package/lib/businessRules.4f7349f3.js +1 -0
- package/lib/{businessRules.db6ba874.mjs → businessRules.7ca458f8.mjs} +191 -190
- package/lib/buttonRule.4aa9cfd8.mjs +396 -0
- package/lib/buttonRule.ba9528ab.js +1 -0
- package/lib/chartDisplayRules.25489412.js +1 -0
- package/lib/chartDisplayRules.63e53aa7.mjs +288 -0
- package/lib/components.chartbi.13a8a7b5.js +8 -0
- package/lib/components.chartbi.7356b244.mjs +1813 -0
- package/lib/{components.coloreditor.044983d2.mjs → components.coloreditor.20f8b336.mjs} +2 -2
- package/lib/{components.coloreditor.779a9419.js → components.coloreditor.8afc4731.js} +1 -1
- package/lib/{components.dataassign.1853ed5c.js → components.dataassign.59a87bfd.js} +1 -1
- package/lib/{components.dataassign.56632583.mjs → components.dataassign.e398cc99.mjs} +3 -3
- package/lib/{components.echarts.10d3ffe2.mjs → components.echarts.17e42353.mjs} +416 -399
- package/lib/components.echarts.5dea23f6.js +4 -0
- package/lib/{components.exception.cc2f4ca3.mjs → components.exception.8689aba2.mjs} +1 -1
- package/lib/{components.exception.3cc33e29.js → components.exception.b4ddeaba.js} +1 -1
- package/lib/{components.form.91d5ed3e.js → components.form.14ed3374.js} +19 -19
- package/lib/{components.form.3344c817.mjs → components.form.8047a9c3.mjs} +1118 -1090
- package/lib/{components.globalheader.07a90c4b.js → components.globalheader.5418b5ec.js} +1 -1
- package/lib/{components.globalheader.43fafa8c.mjs → components.globalheader.bc91e6fe.mjs} +3 -3
- package/lib/components.iconselector.4b5b7901.js +1 -0
- package/lib/{components.iconselector.8caabeaa.mjs → components.iconselector.d2d970ba.mjs} +7 -3
- package/lib/{components.imgpreview.57290b54.mjs → components.imgpreview.0563c338.mjs} +4 -4
- package/lib/{components.imgpreview.86bf7971.js → components.imgpreview.5fe318f7.js} +1 -1
- package/lib/{components.lunccalendar.f6765c94.mjs → components.lunccalendar.9a41ea40.mjs} +1 -1
- package/lib/{components.lunccalendar.76159d2e.js → components.lunccalendar.f18b2da3.js} +1 -1
- package/lib/{components.middleware.457b1182.mjs → components.middleware.24511f17.mjs} +5 -4
- package/lib/components.middleware.64b6a988.js +1 -0
- package/lib/{components.modaltitle.ae92f96c.mjs → components.modaltitle.4f454200.mjs} +1 -1
- package/lib/{components.modaltitle.e0b34fcb.js → components.modaltitle.d7ef34cb.js} +1 -1
- package/lib/{components.multitab.8441aa6b.mjs → components.multitab.15b91668.mjs} +1 -1
- package/lib/{components.multitab.82fd0544.js → components.multitab.92eb4b1e.js} +1 -1
- package/lib/{components.selecttree.85d940a9.mjs → components.selecttree.c615fe3e.mjs} +1 -1
- package/lib/{components.selecttree.d710a362.js → components.selecttree.ce4fbb44.js} +1 -1
- package/lib/{components.settingdrawer.779f6715.js → components.settingdrawer.4581f5b1.js} +1 -1
- package/lib/{components.settingdrawer.a6693034.mjs → components.settingdrawer.bdd68e73.mjs} +21 -21
- package/lib/{components.sidemenu.725677e3.mjs → components.sidemenu.c40eee2e.mjs} +2 -2
- package/lib/{components.sidemenu.80e46c2d.js → components.sidemenu.cd6d0301.js} +1 -1
- package/lib/components.sidenavmenu.1f0bbfca.js +1 -0
- package/lib/{components.sidenavmenu.23b8edce.mjs → components.sidenavmenu.47d7f44a.mjs} +448 -632
- package/lib/{components.statuschange.ed1218a4.js → components.statuschange.190f14ff.js} +1 -1
- package/lib/{components.statuschange.15938660.mjs → components.statuschange.85956695.mjs} +3 -3
- package/lib/{components.table.e3e5e3bc.mjs → components.table.389ab22a.mjs} +331 -316
- package/lib/{components.table.17c02054.js → components.table.d016f609.js} +3 -3
- package/lib/{components.tableumy.2f5dfa12.mjs → components.tableumy.750ec792.mjs} +7 -4
- package/lib/components.tableumy.aa73378d.js +1 -0
- package/lib/components.tablevirtual.879ff28f.js +1 -0
- package/lib/{components.tablevirtual.ba03746e.mjs → components.tablevirtual.9bf87b78.mjs} +7 -4
- package/lib/{components.teamsharing.fb4351ec.mjs → components.teamsharing.b9f112cf.mjs} +3 -3
- package/lib/{components.teamsharing.05503821.js → components.teamsharing.efe58448.js} +1 -1
- package/lib/{components.tooltip.950dc77b.mjs → components.tooltip.065f3dee.mjs} +1 -1
- package/lib/{components.tooltip.a05d8dd1.js → components.tooltip.edf8e4ca.js} +1 -1
- package/lib/{components.uploadfile.10f6cb2a.mjs → components.uploadfile.0439b870.mjs} +2 -2
- package/lib/{components.uploadfile.5a9b6cc1.js → components.uploadfile.586aca36.js} +1 -1
- package/lib/{components.uploadimg.cce7452a.js → components.uploadimg.2324089d.js} +1 -1
- package/lib/{components.uploadimg.f4fe4e77.mjs → components.uploadimg.5f2194ff.mjs} +2 -2
- package/lib/{components.verificationcode.d1946db4.js → components.verificationcode.863ff11e.js} +1 -1
- package/lib/{components.verificationcode.afb9aa1a.mjs → components.verificationcode.d8893ff6.mjs} +1 -1
- package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.1236a66e.mjs} +94 -61
- package/lib/components.viewformdetails.328c8642.js +1 -0
- package/lib/{components.viewloading.ea40b244.mjs → components.viewloading.5761b277.mjs} +54 -51
- package/lib/components.viewloading.5b9c8fee.js +1 -0
- package/lib/{components.watermark.da3d7220.js → components.watermark.af8b5718.js} +1 -1
- package/lib/{components.watermark.1ffc66e0.mjs → components.watermark.d3638d63.mjs} +1 -1
- package/lib/{components.xlsxexport.f5ace2cd.js → components.xlsxexport.8c121797.js} +1 -1
- package/lib/{components.xlsxexport.d98572f8.mjs → components.xlsxexport.a1b7b087.mjs} +4 -4
- package/lib/components.xlsximport.c53c50f6.js +1 -0
- package/lib/{components.xlsximport.cffa88fe.mjs → components.xlsximport.d39bfeaa.mjs} +541 -532
- package/lib/copy.3b06d60f.mjs +572 -0
- package/lib/copy.fa2fcb22.js +1 -0
- package/lib/createFile.526dd6db.js +1 -0
- package/lib/createFile.c8d65b52.mjs +439 -0
- package/lib/createSubfolders.51df8fcd.js +1 -0
- package/lib/{createSubfolders.d35b97e9.mjs → createSubfolders.f8cad77f.mjs} +7 -7
- package/lib/{dialogLayout.c4bc3b55.mjs → dialogLayout.539feafb.mjs} +2 -2
- package/lib/{dialogLayout.08823bb7.js → dialogLayout.621a3d40.js} +1 -1
- package/lib/drawerContainer.790b0ee6.mjs +163 -0
- package/lib/drawerContainer.c971d22d.js +1 -0
- package/lib/{drawerLayout.36cf4d05.js → drawerLayout.accd44be.js} +1 -1
- package/lib/{drawerLayout.fb60950f.mjs → drawerLayout.c52b8374.mjs} +2 -2
- package/lib/editForm.83d10fae.mjs +434 -0
- package/lib/editForm.e284e5ec.js +1 -0
- package/lib/extendedAttributes.bfff1926.js +1 -0
- package/lib/extendedAttributes.e6b11c68.mjs +293 -0
- package/lib/{fileSearch.86c356fe.mjs → fileSearch.423b64a3.mjs} +140 -115
- package/lib/fileSearch.e849491c.js +1 -0
- package/lib/{flow.designer.6da03949.mjs → flow.designer.5feba43c.mjs} +3184 -3197
- package/lib/flow.designer.85d0054b.js +1 -0
- package/lib/{flow.list.03694808.mjs → flow.list.82131d80.mjs} +234 -232
- package/lib/flow.list.e001d91a.js +1 -0
- package/lib/form.build.19f0c882.js +1 -0
- package/lib/{form.build.b768d613.mjs → form.build.33cc213e.mjs} +22 -14
- package/lib/form.designer.build.2bcc355d.js +1 -0
- package/lib/form.designer.build.7dc12e87.mjs +2529 -0
- package/lib/formFiled.40284ed9.js +1 -0
- package/lib/{formFiled.fe7d9df3.mjs → formFiled.5a1c8f7f.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.07adebf0.js +8 -0
- package/lib/index.340d6f00.mjs +25906 -0
- package/lib/layoutBlocks.756e4b57.js +1 -0
- package/lib/layoutBlocks.816b49a7.mjs +413 -0
- package/lib/layoutItem.051495bc.mjs +71 -0
- package/lib/layoutItem.6f6017a5.js +1 -0
- package/lib/{layouts.051a0bba.mjs → layouts.1852e8e4.mjs} +19 -22
- package/lib/{layouts.a6a36612.js → layouts.2030bf01.js} +2 -2
- package/lib/main.0dc447c8.js +1 -0
- package/lib/main.12118407.mjs +552 -0
- package/lib/main.1551de4d.js +1 -0
- package/lib/main.1611bb43.js +1 -0
- package/lib/{main.70357352.mjs → main.26d3511c.mjs} +6 -6
- package/lib/{main.7f44e3bf.mjs → main.2f9312bb.mjs} +40 -50
- package/lib/main.316ac1b8.js +1 -0
- package/lib/main.48dc325f.mjs +231 -0
- package/lib/main.54ac9faa.mjs +189 -0
- package/lib/main.69a2b457.mjs +166 -0
- package/lib/{main.ad1e8d4d.js → main.6df74fe7.js} +1 -1
- package/lib/main.72c15ab0.js +1 -0
- package/lib/{main.8a2a590d.js → main.736883a9.js} +1 -1
- package/lib/main.9b2769b1.js +1 -0
- package/lib/main.b2314767.mjs +323 -0
- package/lib/{main.c1df94d8.mjs → main.ca46939e.mjs} +2 -2
- package/lib/main.e1cf9798.js +1 -0
- package/lib/{main.b0e5e1b0.mjs → main.efc8dc7b.mjs} +2 -2
- package/lib/main.fc38c7c8.mjs +537 -0
- package/lib/main.fcb67463.js +1 -0
- package/lib/{manage.a1df9b88.mjs → manage.1bc511ff.mjs} +162 -140
- package/lib/manage.eb0a6c8c.js +1 -0
- package/lib/messages.fieldconfiguration.092bb027.js +1 -0
- package/lib/messages.fieldconfiguration.7fd9ceb0.mjs +1097 -0
- package/lib/messages.messagetemplate.0935e5a3.mjs +1319 -0
- package/lib/messages.messagetemplate.50334e5f.js +7 -0
- package/lib/messages.sendplan.60929f46.js +1 -0
- package/lib/messages.sendplan.61edcc7f.mjs +1054 -0
- package/lib/messages.sendrecord.09a1d1cd.js +2 -0
- package/lib/messages.sendrecord.1c48aa6e.mjs +651 -0
- package/lib/messages.templatelibrary.f31e8d58.mjs +808 -0
- package/lib/messages.templatelibrary.f5952edd.js +2 -0
- package/lib/mobile.designer.componentstree.365945a3.js +1 -0
- package/lib/mobile.designer.componentstree.9439895e.mjs +2064 -0
- package/lib/mobile.designer.menutree.4d4e059b.js +1 -0
- package/lib/mobile.designer.menutree.7d3b783d.mjs +1036 -0
- package/lib/moveFile.3dc1dc37.mjs +276 -0
- package/lib/moveFile.f70bbff7.js +1 -0
- package/lib/{page.build.846096e6.js → page.build.7ac1ee9b.js} +3 -3
- package/lib/{page.build.685c1e15.mjs → page.build.ae61a39b.mjs} +607 -601
- package/lib/page.designer.componentstree.74a3a114.js +1 -0
- package/lib/page.designer.componentstree.cdabec2d.mjs +2958 -0
- package/lib/page.designer.fieldfiltering.e341aa60.mjs +430 -0
- package/lib/page.designer.fieldfiltering.f2d1b6e4.js +1 -0
- package/lib/page.designer.menutree.71c18258.js +1 -0
- package/lib/page.designer.menutree.e4ce1e90.mjs +5952 -0
- package/lib/page.designer.operation.1d435e6e.js +1 -0
- package/lib/page.designer.operation.fe808988.mjs +44 -0
- package/lib/page.designer.page.654634aa.js +1 -0
- package/lib/page.designer.page.821f8994.mjs +10638 -0
- package/lib/personal.echarts.118bcafb.mjs +268 -0
- package/lib/personal.echarts.e5915542.js +1 -0
- package/lib/result.4d4039ea.js +1 -0
- package/lib/result.a87217ae.mjs +639 -0
- package/lib/router.config.a09f29e7.js +1 -0
- package/lib/router.config.f0ad16fd.mjs +1424 -0
- package/lib/solution.application.8d6c84e8.js +1 -0
- package/lib/solution.application.e6b5dc4f.mjs +548 -0
- package/lib/solution.applicationmenu.c6cd2b59.js +1 -0
- package/lib/solution.applicationmenu.e878c41a.mjs +508 -0
- package/lib/solution.approvalflow.79da028c.js +1 -0
- package/lib/solution.approvalflow.eb1c0607.mjs +436 -0
- package/lib/solution.dict.088a1e72.mjs +769 -0
- package/lib/solution.dict.1d5195d0.js +1 -0
- package/lib/solution.menu.e58922fe.mjs +432 -0
- package/lib/solution.menu.fa48a7e8.js +1 -0
- package/lib/solution.plugin.5d6d29cf.js +1 -0
- package/lib/solution.plugin.ae6df926.mjs +347 -0
- package/lib/solution.processflow.62936f1c.mjs +392 -0
- package/lib/solution.processflow.aa1e808b.js +1 -0
- package/lib/solution.role.2eff83a1.js +1 -0
- package/lib/solution.role.7b3e7030.mjs +456 -0
- package/lib/solution.webresources.88c4483b.mjs +379 -0
- package/lib/solution.webresources.bc00603d.js +1 -0
- package/lib/solution.workflow.0ed2cb24.js +1 -0
- package/lib/solution.workflow.85de0ae5.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.3d7480ba.mjs} +877 -881
- package/lib/{system.account.0d4f1fdc.js → system.account.93ad722e.js} +7 -7
- package/lib/{system.config.0899edb8.mjs → system.config.6084ad21.mjs} +1 -1
- package/lib/{system.config.210f516c.js → system.config.9520e7f9.js} +1 -1
- package/lib/{system.datasource.82492d27.js → system.datasource.76c0ccdb.js} +1 -1
- package/lib/{system.datasource.986768c9.mjs → system.datasource.d74df021.mjs} +1 -1
- package/lib/system.dict.ab148847.js +1 -0
- package/lib/{system.dict.ef24873d.mjs → system.dict.caad4d66.mjs} +264 -260
- package/lib/system.document.0e46ff8c.js +1 -0
- package/lib/system.document.cbdf25a9.mjs +667 -0
- package/lib/{system.duplicatechecking.dcf9f86b.mjs → system.duplicatechecking.46e182d7.mjs} +245 -265
- package/lib/system.duplicatechecking.a217fc52.js +1 -0
- package/lib/system.email.1db14214.js +1 -0
- package/lib/{system.email.252fd642.mjs → system.email.c1ad6598.mjs} +10 -15
- package/lib/{system.fieldsecurity.0234d390.mjs → system.fieldsecurity.2e55e839.mjs} +370 -361
- package/lib/system.fieldsecurity.40b4f48a.js +1 -0
- package/lib/system.file.6a6bd77c.js +1 -0
- package/lib/{system.file.73eeb731.mjs → system.file.80aa0809.mjs} +81 -149
- package/lib/{system.log.b86cf57f.mjs → system.log.3986a8ca.mjs} +1 -1
- package/lib/{system.log.fc60f5e6.js → system.log.9d394678.js} +1 -1
- package/lib/{system.machine.0114001b.mjs → system.machine.395c67c2.mjs} +1 -1
- package/lib/{system.machine.f1d95c86.js → system.machine.d33b0b6e.js} +1 -1
- package/lib/system.notice.2090c130.js +1 -0
- package/lib/{system.notice.25ea8dca.mjs → system.notice.51880df6.mjs} +994 -992
- package/lib/system.noticereceived.0b79642e.js +1 -0
- package/lib/{system.noticereceived.369f634c.mjs → system.noticereceived.55f276ab.mjs} +10 -11
- package/lib/{system.onlineuser.2dc284b1.mjs → system.onlineuser.71034956.mjs} +37 -26
- package/lib/system.onlineuser.e74f010d.js +1 -0
- package/lib/{system.org.c20fe6b2.mjs → system.org.e1e156c6.mjs} +2 -2
- package/lib/{system.org.79ee5bd6.js → system.org.f6d58d0f.js} +1 -1
- package/lib/system.permissions.4090552f.mjs +972 -0
- package/lib/system.permissions.fdb64929.js +1 -0
- package/lib/{system.plugin.45a0f530.mjs → system.plugin.8a9a6448.mjs} +500 -479
- package/lib/system.plugin.a0f25733.js +1 -0
- package/lib/{system.pos.7946a99c.mjs → system.pos.0ad80a53.mjs} +1 -1
- package/lib/{system.pos.0a3d2a37.js → system.pos.71f3eba7.js} +1 -1
- package/lib/{system.promptmanagement.d7250932.mjs → system.promptmanagement.39607ddb.mjs} +246 -243
- package/lib/system.promptmanagement.9718aa24.js +1 -0
- package/lib/system.role.321c48d3.js +1 -0
- package/lib/{system.role.75da7929.mjs → system.role.3b533a3e.mjs} +511 -488
- package/lib/system.sumberrules.6e8d208e.js +1 -0
- package/lib/{system.sumberrules.4a1376a6.mjs → system.sumberrules.c2b8c5e7.mjs} +168 -165
- package/lib/{system.team.e6a9608e.mjs → system.team.367bf5e7.mjs} +163 -161
- package/lib/system.team.cf1c1558.js +1 -0
- package/lib/system.teammembers.63f21557.js +1 -0
- package/lib/{system.teammembers.4a7e7339.mjs → system.teammembers.851ce63b.mjs} +203 -198
- package/lib/system.timers.51bedf97.js +38 -0
- package/lib/{system.timers.eb0b6f3e.mjs → system.timers.5e735567.mjs} +2261 -2213
- package/lib/{system.translation.e34f0891.mjs → system.translation.61765713.mjs} +435 -429
- package/lib/system.translation.c9f1b505.js +1 -0
- package/lib/{system.user.fa2d2997.mjs → system.user.254bbe85.mjs} +1082 -1026
- package/lib/system.user.475d7391.js +14 -0
- package/lib/{system.useraffiliation.518e341e.mjs → system.useraffiliation.b96c984a.mjs} +418 -412
- package/lib/system.useraffiliation.fe1e1d39.js +1 -0
- package/lib/{system.webresource.469db736.mjs → system.webresource.2c6cf4a7.mjs} +179 -179
- package/lib/system.webresource.81cfa690.js +1 -0
- package/lib/{system.welcome.191e98f5.mjs → system.welcome.72da74ae.mjs} +1 -1
- package/lib/{system.welcome.f64e49f8.js → system.welcome.d86a3cdb.js} +1 -1
- package/lib/table.definition..btnconfig.24402bf0.mjs +938 -0
- package/lib/table.definition..btnconfig.add3d840.js +1 -0
- package/lib/table.definition..echartsconfig.4310b5a2.js +1 -0
- package/lib/table.definition..echartsconfig.9c3c88f6.mjs +2150 -0
- package/lib/tableDescriptions.143d8e67.js +1 -0
- package/lib/tableDescriptions.60a07f7c.mjs +80 -0
- package/lib/tcheckboxs.e4d387ff.js +1 -0
- package/lib/{tcheckboxs.090e75eb.mjs → tcheckboxs.ee4adb9e.mjs} +2 -2
- package/lib/tcurrency.0360c142.mjs +85 -0
- package/lib/tcurrency.233f4e63.js +1 -0
- package/lib/{tdatepicker.8fe48b1b.mjs → tdatepicker.9e5d99f4.mjs} +2 -2
- package/lib/{tdatepicker.b19e689d.js → tdatepicker.b10536fd.js} +1 -1
- package/lib/{tdictSwitch.2e07dc8a.js → tdictSwitch.10d64c18.js} +1 -1
- package/lib/{tdictSwitch.43d882c7.mjs → tdictSwitch.eed5a945.mjs} +2 -2
- package/lib/{tfile.72925615.mjs → tfile.7c635ee4.mjs} +2 -2
- package/lib/{tfile.1bc381f9.js → tfile.e183d25f.js} +1 -1
- package/lib/{tparticipants.ca5b556c.mjs → tparticipants.04280449.mjs} +2 -2
- package/lib/{tparticipants.77b876e2.js → tparticipants.f732d245.js} +1 -1
- package/lib/{translation.mains.278e4ba6.mjs → translation.mains.0df71304.mjs} +7 -7
- package/lib/{translation.mains.1ce7e110.js → translation.mains.6f941967.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.97590ce8.js +1 -0
- package/lib/versionControl.d1b2b0da.mjs +488 -0
- package/lib/versionEdit.c51606e4.mjs +452 -0
- package/lib/versionEdit.f710d0bb.js +1 -0
- package/lib/view.build.5789a6eb.js +1 -0
- package/lib/view.build.9976c958.mjs +1578 -0
- package/lib/{viewList.5a25c4b6.mjs → viewList.3ca52f0c.mjs} +70 -92
- package/lib/viewList.6e181715.js +1 -0
- package/lib/viewTree.9bdf96f0.js +1 -0
- package/lib/viewTree.c2e11b7f.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
package/lib/{components.viewformdetails.f362d69e.mjs → components.viewformdetails.1236a66e.mjs}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { m as
|
|
2
|
-
import { g as
|
|
3
|
-
import { d as y, i as D, p as
|
|
4
|
-
import { o as
|
|
1
|
+
import { m as d, n as l, a as f } from "./components.chartbi.7356b244.mjs";
|
|
2
|
+
import { g as a, i as C } from "./utils.util.js.333daba2.mjs";
|
|
3
|
+
import { d as y, i as D, p as c } from "./http.main.aefea27d.mjs";
|
|
4
|
+
import { o as L, c as I } from "./http.loginmanage.05500c29.mjs";
|
|
5
5
|
import { o as g } from "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
|
|
6
|
-
import { F as b } from "./form.build.
|
|
7
|
-
import { c as _ } from "./http.codegeneratemanage.
|
|
8
|
-
import { n as
|
|
9
|
-
const
|
|
6
|
+
import { F as b } from "./form.build.33cc213e.mjs";
|
|
7
|
+
import { c as _ } from "./http.codegeneratemanage.b123bab3.mjs";
|
|
8
|
+
import { n as k } from "./system.notice.51880df6.mjs";
|
|
9
|
+
const x = {
|
|
10
10
|
props: {
|
|
11
11
|
record: {
|
|
12
12
|
type: Object,
|
|
@@ -79,7 +79,7 @@ const F = {
|
|
|
79
79
|
options() {
|
|
80
80
|
return this.record.options;
|
|
81
81
|
},
|
|
82
|
-
...
|
|
82
|
+
...d(["tableLists"])
|
|
83
83
|
},
|
|
84
84
|
methods: {
|
|
85
85
|
showLoading() {
|
|
@@ -124,12 +124,30 @@ const F = {
|
|
|
124
124
|
this.baseExportData(t);
|
|
125
125
|
},
|
|
126
126
|
open(t) {
|
|
127
|
-
|
|
127
|
+
this.$nextTick(() => {
|
|
128
128
|
setTimeout(() => {
|
|
129
|
-
|
|
129
|
+
if (this.$refs.editForm) {
|
|
130
|
+
if (!(this.tableData.isvirtualtable === 1)) {
|
|
131
|
+
this.$refs.editForm.open(t);
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
this.openVirtual(t);
|
|
135
|
+
} else
|
|
136
|
+
console.log("err:\u8868\u5355\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01");
|
|
130
137
|
}, 0);
|
|
131
138
|
});
|
|
132
139
|
},
|
|
140
|
+
openVirtual(t) {
|
|
141
|
+
let e = /* @__PURE__ */ new Map();
|
|
142
|
+
this.fieldData.filter((s) => ["fk", "user"].includes(s.effecttype)).forEach((s) => {
|
|
143
|
+
Object.keys(t).includes(s.columnname);
|
|
144
|
+
const o = `name${s.fkentityname}${s.columnname}`;
|
|
145
|
+
if (Object.keys(t).includes(o)) {
|
|
146
|
+
const n = t[`${s.columnname}id`], u = n || new Date().getTime();
|
|
147
|
+
e.set(`${s.columnname}`, u), e.set(`${s.columnname}name`, t[o]);
|
|
148
|
+
}
|
|
149
|
+
}), this.$refs.editForm.openDisplay(Object.assign({}, t, Object.fromEntries(e)));
|
|
150
|
+
},
|
|
133
151
|
refresh(t = !0) {
|
|
134
152
|
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");
|
|
135
153
|
},
|
|
@@ -213,7 +231,7 @@ const F = {
|
|
|
213
231
|
return t ? g({
|
|
214
232
|
codeGenId: t.id
|
|
215
233
|
}).then((e) => {
|
|
216
|
-
e.code === 200 && (this.fieldData = e.data, this.$emit("fieldData", e.data));
|
|
234
|
+
e.code === 200 && (this.fieldData = JSON.parse(JSON.stringify(e.data)), this.$emit("fieldData", e.data));
|
|
217
235
|
}) : (console.log("\u6570\u636E\u9519\u8BEF,\u8868\u4E0D\u5B58\u5728"), new Promise((e, i) => {
|
|
218
236
|
e({});
|
|
219
237
|
}));
|
|
@@ -316,6 +334,21 @@ const F = {
|
|
|
316
334
|
baseTriggerFilter(t) {
|
|
317
335
|
this.$refs.table.baseTriggerFilter(t);
|
|
318
336
|
},
|
|
337
|
+
beseDoComponentEvent(t) {
|
|
338
|
+
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, n = t.callbackFunction ? t.callbackFunction : "";
|
|
339
|
+
this.record.doEvent && this.record.doEvent({
|
|
340
|
+
key: e,
|
|
341
|
+
functionName: i,
|
|
342
|
+
data: s,
|
|
343
|
+
source: this.record,
|
|
344
|
+
callback: o,
|
|
345
|
+
callbackComponents: h,
|
|
346
|
+
callbackFunction: n
|
|
347
|
+
});
|
|
348
|
+
},
|
|
349
|
+
baseGetComponentData(t, e = "key") {
|
|
350
|
+
return this.record.getComponentData ? this.record.getComponentData(t, e) : null;
|
|
351
|
+
},
|
|
319
352
|
doEvent(t) {
|
|
320
353
|
const e = t.item.functionName || t.item.functionname, i = t.key ? t : t.item;
|
|
321
354
|
if (this[e] === void 0) {
|
|
@@ -337,18 +370,18 @@ const F = {
|
|
|
337
370
|
this.init(), this.develop == 2 && (this.record.executeEvent = this.executeEvent);
|
|
338
371
|
},
|
|
339
372
|
beforeDestroy() {
|
|
340
|
-
|
|
373
|
+
this.sysViewList = [], this.personalViewList = [], this.selectedRows = [], this.sysViewButtons = [], this.fieldData = [], this.componentList = [], this.tableDataSource = [];
|
|
341
374
|
}
|
|
342
375
|
};
|
|
343
|
-
const
|
|
344
|
-
mixins: [
|
|
376
|
+
const F = {
|
|
377
|
+
mixins: [x],
|
|
345
378
|
methods: {}
|
|
346
379
|
};
|
|
347
380
|
var B = function() {
|
|
348
381
|
var e = this, i = e._self._c;
|
|
349
382
|
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);
|
|
350
|
-
}, O = [],
|
|
351
|
-
|
|
383
|
+
}, O = [], S = /* @__PURE__ */ l(
|
|
384
|
+
F,
|
|
352
385
|
B,
|
|
353
386
|
O,
|
|
354
387
|
!1,
|
|
@@ -357,8 +390,8 @@ var B = function() {
|
|
|
357
390
|
null,
|
|
358
391
|
null
|
|
359
392
|
);
|
|
360
|
-
const
|
|
361
|
-
const
|
|
393
|
+
const V = S.exports;
|
|
394
|
+
const R = {
|
|
362
395
|
name: "GdViewFormDetails",
|
|
363
396
|
props: {
|
|
364
397
|
modalAppendToBody: {
|
|
@@ -389,7 +422,7 @@ const V = {
|
|
|
389
422
|
istyle() {
|
|
390
423
|
return `width:100%;overflow:hidden;height:${this.hig};`;
|
|
391
424
|
},
|
|
392
|
-
...
|
|
425
|
+
...d(["primaryColor", "screenHeight"])
|
|
393
426
|
},
|
|
394
427
|
components: {
|
|
395
428
|
PopupDetails: () => Promise.resolve().then(() => G),
|
|
@@ -398,7 +431,7 @@ const V = {
|
|
|
398
431
|
methods: {
|
|
399
432
|
open(t, e = !1) {
|
|
400
433
|
console.log(t), this.record = t;
|
|
401
|
-
const i =
|
|
434
|
+
const i = a(t);
|
|
402
435
|
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";
|
|
403
436
|
const s = this.query.redirect_uri ? this.query.redirect_uri : "";
|
|
404
437
|
if (this.modeType === "request") {
|
|
@@ -430,8 +463,8 @@ const V = {
|
|
|
430
463
|
const t = this.query.request_url ? this.query.request_url : "";
|
|
431
464
|
if (t === "")
|
|
432
465
|
return;
|
|
433
|
-
const e = decodeURIComponent(t), i = e.indexOf("?") === -1 ? e : e.slice(0, e.indexOf("?")), s =
|
|
434
|
-
this.statu = !0,
|
|
466
|
+
const e = decodeURIComponent(t), i = e.indexOf("?") === -1 ? e : e.slice(0, e.indexOf("?")), s = a(e);
|
|
467
|
+
this.statu = !0, c(i, s).then((o) => {
|
|
435
468
|
if (this.statu = !1, o.code !== 200) {
|
|
436
469
|
this.$message.error(o.message);
|
|
437
470
|
return;
|
|
@@ -459,7 +492,7 @@ const V = {
|
|
|
459
492
|
},
|
|
460
493
|
oauthAuthorize() {
|
|
461
494
|
const t = this.query.client_id ? this.query.client_id : "";
|
|
462
|
-
this.query.response_type && this.query.response_type,
|
|
495
|
+
this.query.response_type && this.query.response_type, L({ client_id: t, response_type: "code" }).then((e) => {
|
|
463
496
|
if (e.code !== 200) {
|
|
464
497
|
this.$message.error(e.message);
|
|
465
498
|
return;
|
|
@@ -477,13 +510,13 @@ const V = {
|
|
|
477
510
|
this.oauthAuthorizeRedirect(o);
|
|
478
511
|
return;
|
|
479
512
|
}
|
|
480
|
-
const
|
|
481
|
-
let
|
|
513
|
+
const h = this.modeType.replace("authorize_", "");
|
|
514
|
+
let n = `?authorize_type=${this.modeType}&mode_type=${h}`, u = `?authorize_type=${this.modeType}&mode_type=${h}&open_type=view`;
|
|
482
515
|
for (let r = 0; r < o.length; r++)
|
|
483
|
-
|
|
484
|
-
const p = encodeURIComponent(s.slice(0, s.indexOf("?")) +
|
|
485
|
-
|
|
486
|
-
const T = n
|
|
516
|
+
n += `&${o[r].key}=${o[r].value}`, o[r].key !== "open_type" && (u += `&${o[r].key}=${o[r].value}`);
|
|
517
|
+
const p = encodeURIComponent(s.slice(0, s.indexOf("?")) + u);
|
|
518
|
+
n += n === "" ? `?redirect_uri=${p}` : `&redirect_uri=${p}`, this.query.complete_request && (n += `&complete_request=${this.query.complete_request}`);
|
|
519
|
+
const T = a(n);
|
|
487
520
|
this.query = T, this.showPopup = !0, this.$nextTick(() => {
|
|
488
521
|
setTimeout(() => {
|
|
489
522
|
const r = `${this.openType}Details`;
|
|
@@ -521,8 +554,8 @@ const V = {
|
|
|
521
554
|
const t = this.query.complete_request ? this.query.complete_request : "";
|
|
522
555
|
if (t === "")
|
|
523
556
|
return;
|
|
524
|
-
const e = decodeURIComponent(t), i = e.indexOf("?") === -1 ? e : e.slice(0, e.indexOf("?")), s =
|
|
525
|
-
|
|
557
|
+
const e = decodeURIComponent(t), i = e.indexOf("?") === -1 ? e : e.slice(0, e.indexOf("?")), s = a(e);
|
|
558
|
+
c(i, s);
|
|
526
559
|
},
|
|
527
560
|
loginSuccess(t) {
|
|
528
561
|
Vue.ls.set("ACCESS_TOKEN", t.accesstoken), this.$store.commit("SET_TOKEN", t.accesstoken);
|
|
@@ -565,19 +598,19 @@ var N = function() {
|
|
|
565
598
|
}, closed: e.close, onChangeBtn: (s) => e.$emit("changeBtn", s), beaseLoadComplete: function(s) {
|
|
566
599
|
return e.$emit("beaseLoadComplete");
|
|
567
600
|
} } }) : e.openType === "iframe" ? i("iframe", { style: e.istyle, attrs: { id: "iframe", height: e.hig, src: e.iframeUri, frameBorder: "0" } }) : e._e()], 1);
|
|
568
|
-
},
|
|
569
|
-
|
|
601
|
+
}, E = [], U = /* @__PURE__ */ l(
|
|
602
|
+
R,
|
|
570
603
|
N,
|
|
571
|
-
|
|
604
|
+
E,
|
|
572
605
|
!1,
|
|
573
606
|
null,
|
|
574
607
|
"127122b3",
|
|
575
608
|
null,
|
|
576
609
|
null
|
|
577
610
|
);
|
|
578
|
-
const
|
|
579
|
-
|
|
580
|
-
t.component(
|
|
611
|
+
const m = U.exports;
|
|
612
|
+
m.install = function(t) {
|
|
613
|
+
t.component(m.name, m);
|
|
581
614
|
};
|
|
582
615
|
const P = {
|
|
583
616
|
props: {
|
|
@@ -632,7 +665,7 @@ const P = {
|
|
|
632
665
|
height() {
|
|
633
666
|
return this.popupMode === "drawer" ? this.screenHeight - 48 : this.fullscreen ? this.screenHeight - 72 : this.screenHeight - 230;
|
|
634
667
|
},
|
|
635
|
-
...
|
|
668
|
+
...d(["formMode", "screenHeight"])
|
|
636
669
|
},
|
|
637
670
|
methods: {
|
|
638
671
|
onChangeBtn(t) {
|
|
@@ -665,7 +698,7 @@ const P = {
|
|
|
665
698
|
},
|
|
666
699
|
monitorIframe(t) {
|
|
667
700
|
if (t.data.eventType === "form-btn") {
|
|
668
|
-
this.onChangeBtn(t.data.data &&
|
|
701
|
+
this.onChangeBtn(t.data.data && C(t.data.data) ? JSON.parse(t.data.data) : []);
|
|
669
702
|
return;
|
|
670
703
|
}
|
|
671
704
|
if (t.data.eventType === "load-complete") {
|
|
@@ -679,8 +712,8 @@ const P = {
|
|
|
679
712
|
const e = this.query.complete_request ? this.query.complete_request : "";
|
|
680
713
|
if (e === "")
|
|
681
714
|
return;
|
|
682
|
-
const i = decodeURIComponent(e), s = i.indexOf("?") === -1 ? i : i.slice(0, i.indexOf("?")), o =
|
|
683
|
-
|
|
715
|
+
const i = decodeURIComponent(e), s = i.indexOf("?") === -1 ? i : i.slice(0, i.indexOf("?")), o = a(i);
|
|
716
|
+
c(s, o);
|
|
684
717
|
}
|
|
685
718
|
},
|
|
686
719
|
beforeDestory() {
|
|
@@ -702,7 +735,7 @@ var M = function() {
|
|
|
702
735
|
}, beaseLoadComplete: function(s) {
|
|
703
736
|
return e.$emit("beaseLoadComplete");
|
|
704
737
|
} } }) : 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);
|
|
705
|
-
}, j = [], A = /* @__PURE__ */
|
|
738
|
+
}, j = [], A = /* @__PURE__ */ l(
|
|
706
739
|
P,
|
|
707
740
|
M,
|
|
708
741
|
j,
|
|
@@ -742,7 +775,7 @@ const H = {
|
|
|
742
775
|
height() {
|
|
743
776
|
return this.screenHeight - 72;
|
|
744
777
|
},
|
|
745
|
-
...
|
|
778
|
+
...d(["screenHeight"])
|
|
746
779
|
},
|
|
747
780
|
methods: {
|
|
748
781
|
init() {
|
|
@@ -766,17 +799,17 @@ var K = function() {
|
|
|
766
799
|
}, beaseLoadComplete: function(s) {
|
|
767
800
|
return e.$emit("beaseLoadComplete");
|
|
768
801
|
} } }) : e.modeType === "details" ? i("DetailsItem", { ref: "detailsItem", attrs: { query: e.query, height: e.height } }) : e._e()], 1);
|
|
769
|
-
},
|
|
802
|
+
}, J = [], Q = /* @__PURE__ */ l(
|
|
770
803
|
H,
|
|
771
804
|
K,
|
|
772
|
-
|
|
805
|
+
J,
|
|
773
806
|
!1,
|
|
774
807
|
null,
|
|
775
808
|
"dd2e4515",
|
|
776
809
|
null,
|
|
777
810
|
null
|
|
778
811
|
);
|
|
779
|
-
const W =
|
|
812
|
+
const W = Q.exports, X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
780
813
|
__proto__: null,
|
|
781
814
|
default: W
|
|
782
815
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -814,9 +847,9 @@ const Y = {
|
|
|
814
847
|
componentItem() {
|
|
815
848
|
const t = this.$importViewFiles();
|
|
816
849
|
let e = `../views/main/${this.table.tablename}/index.vue`, i = t[e];
|
|
817
|
-
return i ? i.default :
|
|
850
|
+
return i ? i.default : V;
|
|
818
851
|
},
|
|
819
|
-
...
|
|
852
|
+
...d(["tableLists"])
|
|
820
853
|
},
|
|
821
854
|
methods: {
|
|
822
855
|
init() {
|
|
@@ -847,7 +880,7 @@ const Y = {
|
|
|
847
880
|
var Z = function() {
|
|
848
881
|
var e = this, i = e._self._c;
|
|
849
882
|
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);
|
|
850
|
-
}, ee = [], te = /* @__PURE__ */
|
|
883
|
+
}, ee = [], te = /* @__PURE__ */ l(
|
|
851
884
|
Y,
|
|
852
885
|
Z,
|
|
853
886
|
ee,
|
|
@@ -899,7 +932,7 @@ const se = {
|
|
|
899
932
|
let e = `../views/main/${this.table.tablename}/editForm.vue`, i = t[e];
|
|
900
933
|
return i ? i.default : b;
|
|
901
934
|
},
|
|
902
|
-
...
|
|
935
|
+
...d(["tableLists"])
|
|
903
936
|
},
|
|
904
937
|
methods: {
|
|
905
938
|
beaseLoadComplete(t) {
|
|
@@ -907,8 +940,8 @@ const se = {
|
|
|
907
940
|
const e = this.query.complete_request ? this.query.complete_request : "";
|
|
908
941
|
if (e === "")
|
|
909
942
|
return;
|
|
910
|
-
const i = decodeURIComponent(e), s = i.indexOf("?") === -1 ? i : i.slice(0, i.indexOf("?")), o =
|
|
911
|
-
|
|
943
|
+
const i = decodeURIComponent(e), s = i.indexOf("?") === -1 ? i : i.slice(0, i.indexOf("?")), o = a(i);
|
|
944
|
+
c(s, o);
|
|
912
945
|
},
|
|
913
946
|
onChangeBtn(t) {
|
|
914
947
|
this.sysViewButtons = t, this.$emit("onChangeBtn", t);
|
|
@@ -964,7 +997,7 @@ var oe = function() {
|
|
|
964
997
|
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) {
|
|
965
998
|
return e.$emit("ok");
|
|
966
999
|
}, onLoadCompleted: e.beaseLoadComplete } }) : e._e()], 1);
|
|
967
|
-
}, re = [], ne = /* @__PURE__ */
|
|
1000
|
+
}, re = [], ne = /* @__PURE__ */ l(
|
|
968
1001
|
se,
|
|
969
1002
|
oe,
|
|
970
1003
|
re,
|
|
@@ -995,7 +1028,7 @@ const le = {
|
|
|
995
1028
|
},
|
|
996
1029
|
computed: {
|
|
997
1030
|
componentForm() {
|
|
998
|
-
return this.componentItem === "GdNoticeDetails" ?
|
|
1031
|
+
return this.componentItem === "GdNoticeDetails" ? k : "";
|
|
999
1032
|
}
|
|
1000
1033
|
},
|
|
1001
1034
|
methods: {
|
|
@@ -1003,8 +1036,8 @@ const le = {
|
|
|
1003
1036
|
const t = this.query.complete_request ? this.query.complete_request : "";
|
|
1004
1037
|
if (t === "")
|
|
1005
1038
|
return;
|
|
1006
|
-
const e = decodeURIComponent(t), i = e.indexOf("?") === -1 ? e : e.slice(0, e.indexOf("?")), s =
|
|
1007
|
-
|
|
1039
|
+
const e = decodeURIComponent(t), i = e.indexOf("?") === -1 ? e : e.slice(0, e.indexOf("?")), s = a(e);
|
|
1040
|
+
c(i, s);
|
|
1008
1041
|
},
|
|
1009
1042
|
init() {
|
|
1010
1043
|
if (this.messageType = this.query.message_type ? this.query.message_type : "", this.messageType === "")
|
|
@@ -1027,7 +1060,7 @@ const le = {
|
|
|
1027
1060
|
var de = function() {
|
|
1028
1061
|
var e = this, i = e._self._c;
|
|
1029
1062
|
return e.componentForm ? i(e.componentForm, { ref: "editForm", tag: "component", attrs: { modeType: "component" }, on: { onLoadCompleted: e.onLoadCompleted } }) : e._e();
|
|
1030
|
-
}, he = [], ce = /* @__PURE__ */
|
|
1063
|
+
}, he = [], ce = /* @__PURE__ */ l(
|
|
1031
1064
|
le,
|
|
1032
1065
|
de,
|
|
1033
1066
|
he,
|
|
@@ -1042,7 +1075,7 @@ const ue = ce.exports, w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
1042
1075
|
default: ue
|
|
1043
1076
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1044
1077
|
export {
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1078
|
+
m as G,
|
|
1079
|
+
V,
|
|
1080
|
+
x as v
|
|
1048
1081
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("./components.chartbi.13a8a7b5.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.19f0c882.js"),g=require("./http.codegeneratemanage.e3db2f09.js"),C=require("./system.notice.2090c130.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;
|
|
@@ -1,44 +1,5 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
const
|
|
3
|
-
props: {
|
|
4
|
-
spinning: {
|
|
5
|
-
type: Boolean,
|
|
6
|
-
default: !1
|
|
7
|
-
},
|
|
8
|
-
wid: {
|
|
9
|
-
type: [Number, String],
|
|
10
|
-
default: 100
|
|
11
|
-
},
|
|
12
|
-
hig: {
|
|
13
|
-
type: Number,
|
|
14
|
-
default: 32
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
data() {
|
|
18
|
-
return {};
|
|
19
|
-
},
|
|
20
|
-
computed: {
|
|
21
|
-
style() {
|
|
22
|
-
let s = typeof this.wid, t = "";
|
|
23
|
-
return s === "string" ? t = `width:${this.wid}%;height:${this.hig}px` : t = `width:${this.wid}px;height:${this.hig}px`, t;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
var o = function() {
|
|
28
|
-
var t = this, e = t._self._c;
|
|
29
|
-
return e("div", { staticClass: "skeleton animations", style: t.style }, [t._t("default")], 2);
|
|
30
|
-
}, _ = [], d = /* @__PURE__ */ a(
|
|
31
|
-
r,
|
|
32
|
-
o,
|
|
33
|
-
_,
|
|
34
|
-
!1,
|
|
35
|
-
null,
|
|
36
|
-
"17808e78",
|
|
37
|
-
null,
|
|
38
|
-
null
|
|
39
|
-
);
|
|
40
|
-
const u = d.exports;
|
|
41
|
-
const c = {
|
|
1
|
+
import { n as l } from "./components.chartbi.7356b244.mjs";
|
|
2
|
+
const o = {
|
|
42
3
|
name: "GdViewLoading",
|
|
43
4
|
props: {
|
|
44
5
|
spinning: {
|
|
@@ -60,37 +21,79 @@ const c = {
|
|
|
60
21
|
}
|
|
61
22
|
},
|
|
62
23
|
components: {
|
|
63
|
-
Skeleton:
|
|
24
|
+
Skeleton: () => Promise.resolve().then(() => g)
|
|
64
25
|
},
|
|
65
26
|
data() {
|
|
66
27
|
return {};
|
|
67
28
|
}
|
|
68
29
|
};
|
|
69
|
-
var
|
|
30
|
+
var a = function() {
|
|
70
31
|
var t = this, e = t._self._c;
|
|
71
32
|
return e("div", { staticClass: "spinningl", style: t.style }, [t.openMode !== 3 && t.spinning ? e("div", [e("div", { staticClass: "btn" }, [e("Skeleton", { attrs: { wid: 170 } }), e("Skeleton", { attrs: { wid: 400 } })], 1), e("Skeleton", { attrs: { wid: "100", hig: 24 } }), t._l(22, function(n) {
|
|
72
|
-
return [e("div", { staticClass: "listt" }, t._l(5, function(
|
|
73
|
-
return e("Skeleton", { key:
|
|
33
|
+
return [e("div", { staticClass: "listt" }, t._l(5, function(r) {
|
|
34
|
+
return e("Skeleton", { key: r, attrs: { wid: "18", hig: 24 } });
|
|
74
35
|
}), 1), e("Skeleton", { attrs: { wid: n % 2 == 1 ? "66" : "100", hig: 24 } })];
|
|
75
36
|
})], 2) : t._e(), t.openMode === 3 && t.spinning ? e("div", [e("div", { staticClass: "btnr" }, [e("Skeleton", { attrs: { wid: 246, hig: 22 } })], 1), e("div", { staticClass: "listt listts" }, t._l(6, function(n) {
|
|
76
37
|
return e("Skeleton", { key: n, attrs: { wid: "15", hig: 20 } });
|
|
77
38
|
}), 1), t._l(4, function(n) {
|
|
78
39
|
return e("Skeleton", { key: n, attrs: { wid: n % 2 == 1 ? "66" : "100", hig: 20 } });
|
|
79
40
|
})], 2) : t._e()]);
|
|
80
|
-
},
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
41
|
+
}, _ = [], d = /* @__PURE__ */ l(
|
|
42
|
+
o,
|
|
43
|
+
a,
|
|
44
|
+
_,
|
|
84
45
|
!1,
|
|
85
46
|
null,
|
|
86
|
-
"
|
|
47
|
+
"4f8664a0",
|
|
87
48
|
null,
|
|
88
49
|
null
|
|
89
50
|
);
|
|
90
|
-
const i =
|
|
51
|
+
const i = d.exports;
|
|
91
52
|
i.install = function(s) {
|
|
92
53
|
s.component(i.name, i);
|
|
93
54
|
};
|
|
55
|
+
const u = {
|
|
56
|
+
props: {
|
|
57
|
+
spinning: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: !1
|
|
60
|
+
},
|
|
61
|
+
wid: {
|
|
62
|
+
type: [Number, String],
|
|
63
|
+
default: 100
|
|
64
|
+
},
|
|
65
|
+
hig: {
|
|
66
|
+
type: Number,
|
|
67
|
+
default: 32
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
data() {
|
|
71
|
+
return {};
|
|
72
|
+
},
|
|
73
|
+
computed: {
|
|
74
|
+
style() {
|
|
75
|
+
let s = typeof this.wid, t = "";
|
|
76
|
+
return s === "string" ? t = `width:${this.wid}%;height:${this.hig}px` : t = `width:${this.wid}px;height:${this.hig}px`, t;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
var c = function() {
|
|
81
|
+
var t = this, e = t._self._c;
|
|
82
|
+
return e("div", { staticClass: "skeleton animations", style: t.style }, [t._t("default")], 2);
|
|
83
|
+
}, p = [], f = /* @__PURE__ */ l(
|
|
84
|
+
u,
|
|
85
|
+
c,
|
|
86
|
+
p,
|
|
87
|
+
!1,
|
|
88
|
+
null,
|
|
89
|
+
"17808e78",
|
|
90
|
+
null,
|
|
91
|
+
null
|
|
92
|
+
);
|
|
93
|
+
const h = f.exports, g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94
|
+
__proto__: null,
|
|
95
|
+
default: h
|
|
96
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
94
97
|
export {
|
|
95
98
|
i as G
|
|
96
99
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=require("./components.chartbi.13a8a7b5.js");const r={name:"GdViewLoading",props:{spinning:{type:Boolean,default:!0},openMode:{type:[String,Number],default:1},height:{type:Number,default:100}},computed:{style(){return`height:${this.height}px`}},components:{Skeleton:()=>Promise.resolve().then(()=>g)},data(){return{}}};var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"spinningl",style:t.style},[t.openMode!==3&&t.spinning?e("div",[e("div",{staticClass:"btn"},[e("Skeleton",{attrs:{wid:170}}),e("Skeleton",{attrs:{wid:400}})],1),e("Skeleton",{attrs:{wid:"100",hig:24}}),t._l(22,function(n){return[e("div",{staticClass:"listt"},t._l(5,function(o){return e("Skeleton",{key:o,attrs:{wid:"18",hig:24}})}),1),e("Skeleton",{attrs:{wid:n%2==1?"66":"100",hig:24}})]})],2):t._e(),t.openMode===3&&t.spinning?e("div",[e("div",{staticClass:"btnr"},[e("Skeleton",{attrs:{wid:246,hig:22}})],1),e("div",{staticClass:"listt listts"},t._l(6,function(n){return e("Skeleton",{key:n,attrs:{wid:"15",hig:20}})}),1),t._l(4,function(n){return e("Skeleton",{key:n,attrs:{wid:n%2==1?"66":"100",hig:20}})})],2):t._e()])},_=[],d=l.normalizeComponent(r,a,_,!1,null,"4f8664a0",null,null);const i=d.exports;i.install=function(s){s.component(i.name,i)};const c={props:{spinning:{type:Boolean,default:!1},wid:{type:[Number,String],default:100},hig:{type:Number,default:32}},data(){return{}},computed:{style(){let s=typeof this.wid,t="";return s==="string"?t=`width:${this.wid}%;height:${this.hig}px`:t=`width:${this.wid}px;height:${this.hig}px`,t}}};var u=function(){var t=this,e=t._self._c;return e("div",{staticClass:"skeleton animations",style:t.style},[t._t("default")],2)},p=[],f=l.normalizeComponent(c,u,p,!1,null,"17808e78",null,null);const h=f.exports,g=Object.freeze(Object.defineProperty({__proto__:null,default:h},Symbol.toStringTag,{value:"Module"}));exports.GDpackage=i;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const i=require("./components.chartbi.
|
|
1
|
+
"use strict";const i=require("./components.chartbi.13a8a7b5.js");const d={name:"GdWatermark",props:{text:{type:String,required:!0}},data(){return{}},computed:{getBootTrans(){return this.$bootTrans==null?!1:this.$bootTrans},...i.mapGetters([])},mounted(){this.addWatermark(this.text)},methods:{addWatermark(a){const t=this.$refs.watermark,e=document.createElement("canvas");e.width=200,e.height=150;const s=window.innerWidth,o=window.innerHeight,c=s/6,l=o/4,n=e.getContext("2d");a.split(`
|
|
2
2
|
`),e.width/2,e.height/2,n.rotate(-20*Math.PI/180),n.font="14px Arial",n.fillStyle="rgba(200,200,200, .2)",n.textAlign="center",n.textBaseline="middle",n.fillText(a,e.width/2,e.height/2),t.style.backgroundImage=`url(${e.toDataURL("image/png")})`,t.style.pointerEvents="none",t.style.position="fixed",t.style.top=0,t.style.left=0,t.style.width="100%",t.style.height="100%",t.style.zIndex=99999,t.style.backgroundSize=`${c}px ${l}px`}}};var p=function(){var t=this,e=t._self._c;return e("div",{ref:"watermark",staticClass:"watermark",staticStyle:{"background-repeat":"repeat"}})},h=[],m=i.normalizeComponent(d,p,h,!1,null,"4e2021c1",null,null);const r=m.exports;r.install=function(a){a.component(r.name,r)};exports.GDpackage=r;
|