gds-plus-design-vue 1.2.62 → 1.2.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/addPermission.179a09f4.mjs +443 -0
- package/lib/addPermission.c72ebbe0.js +1 -0
- package/lib/approvalModel.7b550187.mjs +340 -0
- package/lib/approvalModel.7cfcac3c.js +1 -0
- package/lib/attribute.3fed1dd9.js +1 -0
- package/lib/attribute.e9a8faa1.mjs +367 -0
- package/lib/businessRules.cf106f09.js +1 -0
- package/lib/businessRules.d7d35011.mjs +539 -0
- package/lib/buttonRule.2afe380d.mjs +396 -0
- package/lib/buttonRule.737e8e3f.js +1 -0
- package/lib/chartDisplayRules.370065e8.mjs +288 -0
- package/lib/chartDisplayRules.c9162f81.js +1 -0
- package/lib/components.chartbi.3bbac955.js +8 -0
- package/lib/components.chartbi.571c5ff5.mjs +1813 -0
- package/lib/components.coloreditor.06cf0433.mjs +1505 -0
- package/lib/components.coloreditor.f81d322a.js +6 -0
- package/lib/components.dataassign.21d3938b.mjs +147 -0
- package/lib/components.dataassign.565d22c0.js +1 -0
- package/lib/components.echarts.490abdfa.mjs +811 -0
- package/lib/components.echarts.fe84f881.js +4 -0
- package/lib/components.exception.374f2ad9.js +1 -0
- package/lib/components.exception.ee1c4f83.mjs +61 -0
- package/lib/components.form.5533a8c3.js +41 -0
- package/lib/components.form.db8af727.mjs +7813 -0
- package/lib/components.globalheader.2eb787a4.js +1 -0
- package/lib/components.globalheader.b3b35343.mjs +54 -0
- package/lib/components.iconselector.8940b1a9.mjs +1169 -0
- package/lib/components.iconselector.f5a58033.js +1 -0
- package/lib/components.imgpreview.d97cf25c.js +1 -0
- package/lib/components.imgpreview.f05b3e06.mjs +213 -0
- package/lib/components.lunccalendar.18f84642.js +1 -0
- package/lib/components.lunccalendar.2a097955.mjs +1137 -0
- package/lib/components.middleware.43b9b264.js +1 -0
- package/lib/components.middleware.de012955.mjs +148 -0
- package/lib/components.modaltitle.5060623f.mjs +127 -0
- package/lib/components.modaltitle.957cab33.js +1 -0
- package/lib/components.multitab.5eb6edff.mjs +140 -0
- package/lib/components.multitab.80eeb3ae.js +1 -0
- package/lib/components.selecttree.2fe70d88.js +1 -0
- package/lib/components.selecttree.756c4d22.mjs +170 -0
- package/lib/components.settingdrawer.29dbc31e.mjs +237 -0
- package/lib/components.settingdrawer.8c12650b.js +1 -0
- package/lib/components.sidemenu.0673fe0a.mjs +277 -0
- package/lib/components.sidemenu.240dfde7.js +1 -0
- package/lib/components.sidenavmenu.b1330d69.js +1 -0
- package/lib/components.sidenavmenu.fa81ff82.mjs +1147 -0
- package/lib/components.statuschange.858b72e8.js +1 -0
- package/lib/components.statuschange.fae4adba.mjs +116 -0
- package/lib/components.table.1e338902.js +8 -0
- package/lib/components.table.9ed77207.mjs +4650 -0
- package/lib/components.tableumy.1d804d70.js +1 -0
- package/lib/components.tableumy.3e1c9a5b.mjs +453 -0
- package/lib/components.tablevirtual.66890b2c.mjs +564 -0
- package/lib/components.tablevirtual.8e21a6e7.js +1 -0
- package/lib/components.teamsharing.3a17ddc0.mjs +373 -0
- package/lib/components.teamsharing.89e668fd.js +1 -0
- package/lib/components.tooltip.0ea7e2b1.js +1 -0
- package/lib/components.tooltip.376d95fe.mjs +86 -0
- package/lib/components.uploadfile.0a5a1608.mjs +228 -0
- package/lib/components.uploadfile.8e0e702c.js +1 -0
- package/lib/components.uploadimg.bc160e00.js +1 -0
- package/lib/components.uploadimg.decb0360.mjs +192 -0
- package/lib/components.verificationcode.140533c7.js +1 -0
- package/lib/components.verificationcode.7091b10b.mjs +71 -0
- package/lib/components.viewformdetails.940addba.js +1 -0
- package/lib/components.viewformdetails.d241c652.mjs +1081 -0
- package/lib/components.viewloading.1e9f4b3c.js +1 -0
- package/lib/components.viewloading.aae3aab4.mjs +99 -0
- package/lib/components.watermark.2ec3260c.mjs +53 -0
- package/lib/components.watermark.d9ec8130.js +2 -0
- package/lib/components.xlsxexport.0d1553b1.js +1 -0
- package/lib/components.xlsxexport.c33f83ca.mjs +263 -0
- package/lib/components.xlsximport.81df7841.mjs +922 -0
- package/lib/components.xlsximport.8c209857.js +1 -0
- package/lib/copy.8db86d9f.mjs +572 -0
- package/lib/copy.a8753f38.js +1 -0
- package/lib/createFile.04a6b293.js +1 -0
- package/lib/createFile.4cac1673.mjs +439 -0
- package/lib/createSubfolders.e105fa86.js +1 -0
- package/lib/createSubfolders.eac5ccae.mjs +154 -0
- package/lib/dialogLayout.bf435838.mjs +138 -0
- package/lib/dialogLayout.f0779aed.js +1 -0
- package/lib/drawerContainer.6ab3df46.mjs +163 -0
- package/lib/drawerContainer.8f9df583.js +1 -0
- package/lib/drawerLayout.b6c7c3c6.js +1 -0
- package/lib/drawerLayout.e3c0164d.mjs +119 -0
- package/lib/editForm.0f3fd3b0.js +1 -0
- package/lib/editForm.aef93ed0.mjs +434 -0
- package/lib/extendedAttributes.ea93dbaa.mjs +293 -0
- package/lib/extendedAttributes.ef3ead02.js +1 -0
- package/lib/fileSearch.43465e1c.js +1 -0
- package/lib/fileSearch.5c8a883d.mjs +363 -0
- package/lib/flow.designer.81c29f62.mjs +7673 -0
- package/lib/flow.designer.ffd0aa8b.js +1 -0
- package/lib/flow.list.4c05f2f0.js +1 -0
- package/lib/flow.list.ab420927.mjs +3032 -0
- package/lib/form.build.724d3357.js +1 -0
- package/lib/form.build.d04773f0.mjs +259 -0
- package/lib/form.designer.build.c82cb559.mjs +2529 -0
- package/lib/form.designer.build.dac501fa.js +1 -0
- package/lib/formFiled.4b5062d7.js +1 -0
- package/lib/formFiled.c949a27f.mjs +507 -0
- package/lib/gd-initial.js +1 -35
- package/lib/gd-initial.mjs +245 -91338
- package/lib/http.appmanage.b998818f.js +1 -0
- package/lib/http.appmanage.e389782d.mjs +50 -0
- package/lib/http.codegeneratemanage.b123bab3.mjs +120 -0
- package/lib/http.codegeneratemanage.e3db2f09.js +1 -0
- package/lib/http.configmanage.6cfb8ae7.js +1 -0
- package/lib/http.configmanage.c23c7fa8.mjs +34 -0
- package/lib/http.currencymanage.37ab5ced.js +1 -0
- package/lib/http.currencymanage.c25bd2e6.mjs +10 -0
- package/lib/http.datasource.294b01e2.js +1 -0
- package/lib/http.datasource.aa5cd0d1.mjs +58 -0
- package/lib/http.dictdatamanage.2583b5ae.mjs +42 -0
- package/lib/http.dictdatamanage.70545d8a.js +1 -0
- package/lib/http.dictmanage.3dc07b5d.js +1 -0
- package/lib/http.dictmanage.d8fe18dc.mjs +50 -0
- package/lib/http.duplicatechecking.9b79ce21.mjs +50 -0
- package/lib/http.duplicatechecking.ee5c414c.js +1 -0
- package/lib/http.emailmanage.1ddaa8b5.js +1 -0
- package/lib/http.emailmanage.64fd611f.mjs +18 -0
- package/lib/http.filedocument.6fdfc693.js +1 -0
- package/lib/http.filedocument.8fa3fe2d.mjs +293 -0
- package/lib/http.filemanage.7e6e3e1a.js +1 -0
- package/lib/http.filemanage.c0de21d6.mjs +71 -0
- package/lib/http.languagemanage.2ef16159.mjs +10 -0
- package/lib/http.languagemanage.e2c098ec.js +1 -0
- package/lib/http.loginmanage.05500c29.mjs +74 -0
- package/lib/http.loginmanage.326984c3.js +1 -0
- package/lib/http.logmanage.1e12a9bd.js +1 -0
- package/lib/http.logmanage.8ba72635.mjs +82 -0
- package/lib/http.machinemanage.29d72a65.js +1 -0
- package/lib/http.machinemanage.7bbe6c16.mjs +26 -0
- package/lib/http.main.2f8a6936.js +1 -0
- package/lib/http.main.aefea27d.mjs +517 -0
- package/lib/http.menumanage.3060f4c7.mjs +66 -0
- package/lib/http.menumanage.6d740f2c.js +1 -0
- package/lib/http.message.87f319d7.js +1 -0
- package/lib/http.message.ceb0a1c6.mjs +178 -0
- package/lib/http.noticemanage.2507d094.js +1 -0
- package/lib/http.noticemanage.2cdb23b8.mjs +82 -0
- package/lib/http.noticereceivedmanage.50797be1.mjs +10 -0
- package/lib/http.noticereceivedmanage.e8ec9c9d.js +1 -0
- package/lib/http.onlineusermanage.3893f897.js +1 -0
- package/lib/http.onlineusermanage.c8d84337.mjs +18 -0
- package/lib/http.orgmanage.0b1df8d5.mjs +58 -0
- package/lib/http.orgmanage.5162fd7a.js +1 -0
- package/lib/http.pluginmanage.54720675.mjs +82 -0
- package/lib/http.pluginmanage.6a876040.js +1 -0
- package/lib/http.posmanage.c0f80aec.js +1 -0
- package/lib/http.posmanage.ee6a7613.mjs +34 -0
- package/lib/http.promptmanagement.d115c4b0.js +1 -0
- package/lib/http.promptmanagement.dad4c6a7.mjs +42 -0
- package/lib/http.rolemanage.4d1101dd.js +1 -0
- package/lib/http.rolemanage.da5c40e9.mjs +146 -0
- package/lib/http.solution.b10d9197.mjs +91 -0
- package/lib/http.solution.c6b2634f.js +1 -0
- package/lib/http.sumberrules.0b68ce6d.js +1 -0
- package/lib/http.sumberrules.176d3d06.mjs +34 -0
- package/lib/http.sysapps.469d47f7.js +1 -0
- package/lib/http.sysapps.932ba43b.mjs +58 -0
- package/lib/http.syscodegenerateconfigmanage.6d2e5da0.mjs +42 -0
- package/lib/http.syscodegenerateconfigmanage.840f1136.js +1 -0
- package/lib/http.tabledevelopment.3dcb3e97.mjs +362 -0
- package/lib/http.tabledevelopment.a880bb76.js +1 -0
- package/lib/http.team.a9c609d5.mjs +90 -0
- package/lib/http.team.e45400d5.js +1 -0
- package/lib/http.timersmanage.6e894942.js +1 -0
- package/lib/http.timersmanage.c79afb66.mjs +146 -0
- package/lib/http.timezonemanage.b9deffe3.mjs +10 -0
- package/lib/http.timezonemanage.e0aa212f.js +1 -0
- package/lib/http.translationmanage.1f9dce46.js +1 -0
- package/lib/http.translationmanage.f8694b51.mjs +104 -0
- package/lib/http.useraffiliation.af2013ad.js +1 -0
- package/lib/http.useraffiliation.f2a29f92.mjs +90 -0
- package/lib/http.usermanage.6dcbc7de.js +1 -0
- package/lib/http.usermanage.f5491144.mjs +219 -0
- package/lib/http.webresource.1a1a768f.mjs +50 -0
- package/lib/http.webresource.7c01b9cd.js +1 -0
- package/lib/index.9deaa991.mjs +25906 -0
- package/lib/index.d95c407c.js +8 -0
- package/lib/layoutBlocks.26e1b57b.js +1 -0
- package/lib/layoutBlocks.31454610.mjs +413 -0
- package/lib/layoutItem.c1c836a1.js +1 -0
- package/lib/layoutItem.cf18143e.mjs +71 -0
- package/lib/layouts.2d06f3e9.js +2 -0
- package/lib/layouts.3b383d04.mjs +373 -0
- package/lib/main.09d48801.js +1 -0
- package/lib/main.28b7c398.js +1 -0
- package/lib/main.29e204f9.mjs +166 -0
- package/lib/main.33443996.mjs +231 -0
- package/lib/main.357c50d2.js +1 -0
- package/lib/{main.fb4a8edf.mjs → main.3e886f21.mjs} +113 -188
- package/lib/{main.7921130e.mjs → main.419a7b42.mjs} +4 -4
- package/lib/main.4a38d5f8.js +1 -0
- package/lib/{main.c569c0a5.mjs → main.60329866.mjs} +12 -10
- package/lib/main.60c2a1a2.js +1 -0
- package/lib/main.61c9e5c6.mjs +537 -0
- package/lib/main.643d21a0.mjs +552 -0
- package/lib/main.64ddb5f6.mjs +189 -0
- package/lib/main.728eaf53.js +1 -0
- package/lib/main.892caa37.js +1 -0
- package/lib/main.aea9b6a8.mjs +323 -0
- package/lib/main.b7a5a02b.js +1 -0
- package/lib/main.c71e5b11.js +1 -0
- package/lib/main.edc0b23b.js +1 -0
- package/lib/{main.5a6c881a.mjs → main.f520fcf5.mjs} +9 -8
- package/lib/manage.101f1aa9.js +1 -0
- package/lib/manage.f4000654.mjs +441 -0
- package/lib/messages.fieldconfiguration.0d98a290.mjs +1097 -0
- package/lib/messages.fieldconfiguration.ad4d11cf.js +1 -0
- package/lib/messages.messagetemplate.32273e00.js +7 -0
- package/lib/messages.messagetemplate.7adbbc58.mjs +1319 -0
- package/lib/messages.sendplan.7d0097c2.mjs +1054 -0
- package/lib/messages.sendplan.fbac188d.js +1 -0
- package/lib/messages.sendrecord.ef80d44a.js +2 -0
- package/lib/messages.sendrecord.f0d2fd54.mjs +651 -0
- package/lib/messages.templatelibrary.ec512390.js +2 -0
- package/lib/messages.templatelibrary.ff151513.mjs +808 -0
- package/lib/mobile.designer.componentstree.03f61105.js +1 -0
- package/lib/mobile.designer.componentstree.4a1442dc.mjs +2064 -0
- package/lib/mobile.designer.menutree.0a2f7911.mjs +1036 -0
- package/lib/mobile.designer.menutree.97bb4046.js +1 -0
- package/lib/moveFile.335ebc8d.js +1 -0
- package/lib/moveFile.d71c0824.mjs +276 -0
- package/lib/page.build.376104d5.mjs +3164 -0
- package/lib/page.build.37b26617.js +12 -0
- package/lib/page.designer.componentstree.0ffc933d.js +1 -0
- package/lib/page.designer.componentstree.b0ecddd8.mjs +2958 -0
- package/lib/page.designer.fieldfiltering.1ecd65a3.mjs +430 -0
- package/lib/page.designer.fieldfiltering.7e913256.js +1 -0
- package/lib/page.designer.menutree.2c1846bc.mjs +5952 -0
- package/lib/page.designer.menutree.c49d9ee6.js +1 -0
- package/lib/page.designer.operation.6179b661.js +1 -0
- package/lib/page.designer.operation.80b1a5d1.mjs +44 -0
- package/lib/page.designer.page.09402332.js +1 -0
- package/lib/page.designer.page.6d8232c7.mjs +10638 -0
- package/lib/personal.echarts.414b7e3d.mjs +268 -0
- package/lib/personal.echarts.b7ee86f4.js +1 -0
- package/lib/result.0c089066.mjs +639 -0
- package/lib/result.9282a717.js +1 -0
- package/lib/router.config.68077a12.js +1 -0
- package/lib/router.config.86225b11.mjs +1424 -0
- package/lib/solution.application.d459e382.js +1 -0
- package/lib/solution.application.e0d58df1.mjs +548 -0
- package/lib/solution.applicationmenu.71ef6b8e.mjs +508 -0
- package/lib/solution.applicationmenu.ae295083.js +1 -0
- package/lib/solution.approvalflow.436b3502.js +1 -0
- package/lib/solution.approvalflow.bef7fbdd.mjs +436 -0
- package/lib/solution.dict.acbe9c55.js +1 -0
- package/lib/solution.dict.ef98b194.mjs +769 -0
- package/lib/solution.menu.5c17348f.mjs +432 -0
- package/lib/solution.menu.cca5e1f9.js +1 -0
- package/lib/solution.plugin.90f8dcc1.mjs +347 -0
- package/lib/solution.plugin.f9a8063f.js +1 -0
- package/lib/solution.processflow.2692dac6.js +1 -0
- package/lib/solution.processflow.c1544b05.mjs +392 -0
- package/lib/solution.role.b1ab40dd.mjs +456 -0
- package/lib/solution.role.b28c4dbe.js +1 -0
- package/lib/solution.webresources.0b51beba.mjs +379 -0
- package/lib/solution.webresources.6961cc68.js +1 -0
- package/lib/solution.workflow.11e49e25.js +1 -0
- package/lib/solution.workflow.c48545d1.mjs +395 -0
- package/lib/store.config.03dd7b19.mjs +547 -0
- package/lib/store.config.556bd56b.js +1 -0
- package/lib/style.css +3 -3
- package/lib/system.account.1cadbf03.mjs +2093 -0
- package/lib/system.account.5cc9fe8d.js +216 -0
- package/lib/system.config.a0b94e40.js +1 -0
- package/lib/{system.config.00dd0a29.mjs → system.config.a9a1ee96.mjs} +7 -6
- package/lib/system.datasource.6c30ce25.js +1 -0
- package/lib/{system.datasource.eb8d16df.mjs → system.datasource.c103a9c2.mjs} +15 -64
- package/lib/{system.dict.787ff1ec.mjs → system.dict.0c229d1c.mjs} +269 -344
- package/lib/system.dict.6b000092.js +1 -0
- package/lib/system.document.f67c2994.mjs +667 -0
- package/lib/system.document.f8fd7af0.js +1 -0
- package/lib/system.duplicatechecking.94c7ce17.mjs +722 -0
- package/lib/system.duplicatechecking.f4cab147.js +1 -0
- package/lib/system.email.11ab6f31.js +1 -0
- package/lib/system.email.13823361.mjs +133 -0
- package/lib/system.fieldsecurity.2ef2881c.js +1 -0
- package/lib/{system.fieldsecurity.9d40595f.mjs → system.fieldsecurity.d35acd97.mjs} +486 -938
- package/lib/{system.file.eae6eac2.mjs → system.file.30d3e7bc.mjs} +84 -151
- package/lib/system.file.b9f8320c.js +1 -0
- package/lib/system.log.470d3efd.js +1 -0
- package/lib/{system.log.9bf208c1.mjs → system.log.815840d8.mjs} +24 -93
- package/lib/{system.machine.0130e762.mjs → system.machine.1665954f.mjs} +5 -25
- package/lib/system.machine.f8aff893.js +1 -0
- package/lib/{system.notice.dba4c597.mjs → system.notice.bef6c23c.mjs} +1075 -1255
- package/lib/system.notice.db26f308.js +1 -0
- package/lib/{system.noticereceived.0b88ef5d.mjs → system.noticereceived.0d293a87.mjs} +19 -27
- package/lib/system.noticereceived.84b88b9a.js +1 -0
- package/lib/system.onlineuser.985621a6.js +1 -0
- package/lib/{system.onlineuser.bfc3abf2.mjs → system.onlineuser.bccb1cd9.mjs} +36 -38
- package/lib/{system.org.6da23c73.mjs → system.org.92f4d7f1.mjs} +3 -3
- package/lib/system.org.9f87a010.js +1 -0
- package/lib/system.permissions.15e6b8b7.js +1 -0
- package/lib/system.permissions.be9238ee.mjs +972 -0
- package/lib/system.plugin.0bccfec4.js +1 -0
- package/lib/{system.plugin.f8765f96.mjs → system.plugin.af27d7ac.mjs} +503 -552
- package/lib/system.pos.61e58a92.js +1 -0
- package/lib/{system.pos.5645b45a.mjs → system.pos.fe067063.mjs} +31 -62
- package/lib/{system.promptmanagement.cd19d086.mjs → system.promptmanagement.0b9083c5.mjs} +318 -450
- package/lib/system.promptmanagement.e750de82.js +1 -0
- package/lib/{system.role.0c6c327d.mjs → system.role.67f62146.mjs} +512 -486
- package/lib/system.role.e86b60f1.js +1 -0
- package/lib/{system.sumberrules.b48c028c.mjs → system.sumberrules.093d998e.mjs} +169 -192
- package/lib/system.sumberrules.810f7b55.js +1 -0
- package/lib/system.team.58ee701b.js +1 -0
- package/lib/system.team.8911fd95.mjs +452 -0
- package/lib/system.teammembers.1880f962.js +1 -0
- package/lib/{system.teammembers.e23e15d9.mjs → system.teammembers.35564a00.mjs} +257 -199
- package/lib/{system.timers.63d03fc9.mjs → system.timers.4b2d509f.mjs} +2202 -2278
- package/lib/system.timers.9e956553.js +38 -0
- package/lib/system.translation.26b6bb39.js +1 -0
- package/lib/{system.translation.52452a24.mjs → system.translation.60ec676c.mjs} +437 -431
- package/lib/system.user.134a3988.js +14 -0
- package/lib/{system.user.8d97a219.mjs → system.user.9a02295e.mjs} +1082 -1025
- package/lib/{system.useraffiliation.3075aa2c.mjs → system.useraffiliation.96695aeb.mjs} +419 -412
- package/lib/system.useraffiliation.c2421c7e.js +1 -0
- package/lib/{system.webresource.7df0cf1e.mjs → system.webresource.016d0000.mjs} +177 -219
- package/lib/system.webresource.e92e8a8f.js +1 -0
- package/lib/{system.welcome.14785b50.mjs → system.welcome.127b5dd4.mjs} +10 -3
- package/lib/system.welcome.ff0c85e2.js +1 -0
- package/lib/table.definition..btnconfig.9847cac5.mjs +938 -0
- package/lib/table.definition..btnconfig.ce57ed41.js +1 -0
- package/lib/table.definition..echartsconfig.625bce88.mjs +2150 -0
- package/lib/table.definition..echartsconfig.d2b65881.js +1 -0
- package/lib/tableDescriptions.a4196776.mjs +80 -0
- package/lib/tableDescriptions.b9b0d7fa.js +1 -0
- package/lib/tcheckboxs.7ea99d35.js +1 -0
- package/lib/tcheckboxs.999b7c2e.mjs +52 -0
- package/lib/tcurrency.4afb9192.mjs +85 -0
- package/lib/tcurrency.8a2361f2.js +1 -0
- package/lib/tdatepicker.606214fa.mjs +52 -0
- package/lib/tdatepicker.8e94a60c.js +1 -0
- package/lib/tdictSwitch.ccbdd153.js +1 -0
- package/lib/tdictSwitch.e016d4cf.mjs +60 -0
- package/lib/tfile.3f39223d.mjs +62 -0
- package/lib/tfile.b3ebdc71.js +1 -0
- package/lib/tparticipants.5fe27540.mjs +56 -0
- package/lib/tparticipants.78c8c175.js +1 -0
- package/lib/translation.mains.2688be5b.mjs +383 -0
- package/lib/translation.mains.a6f19343.js +1 -0
- package/lib/utils.datepicker.js.0a5a699e.js +1 -0
- package/lib/utils.datepicker.js.5549a741.mjs +70 -0
- package/lib/utils.echarts.js.461a74e7.js +54 -0
- package/lib/utils.echarts.js.d1bb8ac6.mjs +25711 -0
- package/lib/utils.mixins.js.750ca50e.js +1 -0
- package/lib/utils.mixins.js.be01e599.mjs +41 -0
- package/lib/utils.plug.js.9313aead.mjs +31 -0
- package/lib/utils.plug.js.f62510ce.js +1 -0
- package/lib/utils.util.js.333daba2.mjs +439 -0
- package/lib/utils.util.js.c0ba699b.js +1 -0
- package/lib/versionControl.46a7f31a.js +1 -0
- package/lib/versionControl.c53bfb5d.mjs +488 -0
- package/lib/versionEdit.4246d5db.js +1 -0
- package/lib/versionEdit.5a8292ec.mjs +452 -0
- package/lib/view.build.85732408.mjs +1578 -0
- package/lib/view.build.e43a2077.js +1 -0
- package/lib/viewList.868edcd7.js +1 -0
- package/lib/viewList.978b72c5.mjs +324 -0
- package/lib/viewTree.7497ff90.js +1 -0
- package/lib/viewTree.bde43a3b.mjs +409 -0
- package/locale/en_US.js +82 -27
- package/locale/id_ID.js +66 -11
- package/locale/vi_VN.js +1968 -1913
- package/locale/zh_CN.js +88 -32
- package/package.json +106 -105
- package/lib/chartbi.114d32d7.js +0 -60
- package/lib/chartbi.eb4dd0af.mjs +0 -27639
- package/lib/main.083e0ba3.js +0 -1
- package/lib/main.4a858284.js +0 -1
- package/lib/main.64cb2027.js +0 -1
- package/lib/main.70a46cbc.js +0 -1
- package/lib/messages.364eb728.js +0 -9
- package/lib/messages.5bcc42f9.mjs +0 -5863
- package/lib/system.account.95bd8508.js +0 -216
- package/lib/system.account.d6c7485b.mjs +0 -2552
- package/lib/system.config.63c0217d.js +0 -1
- package/lib/system.datasource.a2c0bad4.js +0 -1
- package/lib/system.dict.dfb4c376.js +0 -1
- package/lib/system.duplicatechecking.a58aad69.mjs +0 -2142
- package/lib/system.duplicatechecking.c4141ebd.js +0 -1
- package/lib/system.email.545cedff.mjs +0 -7432
- package/lib/system.email.ec0ac728.js +0 -41
- package/lib/system.fieldsecurity.eb217079.js +0 -1
- package/lib/system.file.1cb952a4.js +0 -1
- package/lib/system.log.348b3605.js +0 -1
- package/lib/system.machine.49fc6405.js +0 -1
- package/lib/system.notice.d7a3346d.js +0 -1
- package/lib/system.noticereceived.c0b24616.js +0 -1
- package/lib/system.onlineuser.b3c94b5b.js +0 -1
- package/lib/system.org.30063246.js +0 -1
- package/lib/system.permissions.1ff855c2.js +0 -9
- package/lib/system.permissions.fdad3c36.mjs +0 -212
- package/lib/system.plugin.2c7c8a5a.js +0 -1
- package/lib/system.pos.21294c28.js +0 -1
- package/lib/system.promptmanagement.7e8da777.js +0 -1
- package/lib/system.role.078fac85.js +0 -1
- package/lib/system.sumberrules.b0252f77.js +0 -1
- package/lib/system.team.296512d7.mjs +0 -1000
- package/lib/system.team.5d6169bc.js +0 -1
- package/lib/system.teammembers.313345f7.js +0 -1
- package/lib/system.timers.8246e6ba.js +0 -38
- package/lib/system.translation.fdff4956.js +0 -1
- package/lib/system.user.49457fd3.js +0 -14
- package/lib/system.useraffiliation.0e9da6a8.js +0 -1
- package/lib/system.webresource.2a341e05.js +0 -1
- package/lib/system.welcome.c9eefa06.js +0 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";const yt=require("./components.chartbi.3bbac955.js"),be=require("./utils.util.js.c0ba699b.js");/**!
|
|
2
|
+
* Sortable 1.15.6
|
|
3
|
+
* @author RubaXa <trash@rubaxa.org>
|
|
4
|
+
* @author owenm <owen23355@gmail.com>
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/function ut(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,o)}return t}function G(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?ut(Object(t),!0).forEach(function(o){Rt(n,o,t[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):ut(Object(t)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(t,o))})}return n}function Fe(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Fe=function(e){return typeof e}:Fe=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fe(n)}function Rt(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function q(){return q=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},q.apply(this,arguments)}function $t(n,e){if(n==null)return{};var t={},o=Object.keys(n),i,r;for(r=0;r<o.length;r++)i=o[r],!(e.indexOf(i)>=0)&&(t[i]=n[i]);return t}function Xt(n,e){if(n==null)return{};var t=$t(n,e),o,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(!Object.prototype.propertyIsEnumerable.call(n,o)||(t[o]=n[o]))}return t}var Yt="1.15.6";function K(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var U=K(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),xe=K(/Edge/i),dt=K(/firefox/i),_e=K(/safari/i)&&!K(/chrome/i)&&!K(/android/i),rt=K(/iP(ad|od|hone)/i),wt=K(/chrome/i)&&K(/android/i),Et={capture:!1,passive:!1};function v(n,e,t){n.addEventListener(e,t,!U&&Et)}function m(n,e,t){n.removeEventListener(e,t,!U&&Et)}function Be(n,e){if(!!e){if(e[0]===">"&&(e=e.substring(1)),n)try{if(n.matches)return n.matches(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e)}catch{return!1}return!1}}function _t(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function L(n,e,t,o){if(n){t=t||document;do{if(e!=null&&(e[0]===">"?n.parentNode===t&&Be(n,e):Be(n,e))||o&&n===t)return n;if(n===t)break}while(n=_t(n))}return null}var ft=/\s+/g;function M(n,e,t){if(n&&e)if(n.classList)n.classList[t?"add":"remove"](e);else{var o=(" "+n.className+" ").replace(ft," ").replace(" "+e+" "," ");n.className=(o+(t?" "+e:"")).replace(ft," ")}}function p(n,e,t){var o=n&&n.style;if(o){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(n,""):n.currentStyle&&(t=n.currentStyle),e===void 0?t:t[e];!(e in o)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),o[e]=t+(typeof t=="string"?"":"px")}}function de(n,e){var t="";if(typeof n=="string")t=n;else do{var o=p(n,"transform");o&&o!=="none"&&(t=o+" "+t)}while(!e&&(n=n.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(t)}function Dt(n,e,t){if(n){var o=n.getElementsByTagName(e),i=0,r=o.length;if(t)for(;i<r;i++)t(o[i],i);return o}return[]}function H(){var n=document.scrollingElement;return n||document.documentElement}function C(n,e,t,o,i){if(!(!n.getBoundingClientRect&&n!==window)){var r,a,l,s,c,f,d;if(n!==window&&n.parentNode&&n!==H()?(r=n.getBoundingClientRect(),a=r.top,l=r.left,s=r.bottom,c=r.right,f=r.height,d=r.width):(a=0,l=0,s=window.innerHeight,c=window.innerWidth,f=window.innerHeight,d=window.innerWidth),(e||t)&&n!==window&&(i=i||n.parentNode,!U))do if(i&&i.getBoundingClientRect&&(p(i,"transform")!=="none"||t&&p(i,"position")!=="static")){var b=i.getBoundingClientRect();a-=b.top+parseInt(p(i,"border-top-width")),l-=b.left+parseInt(p(i,"border-left-width")),s=a+r.height,c=l+r.width;break}while(i=i.parentNode);if(o&&n!==window){var E=de(i||n),y=E&&E.a,w=E&&E.d;E&&(a/=w,l/=y,d/=y,f/=w,s=a+f,c=l+d)}return{top:a,left:l,bottom:s,right:c,width:d,height:f}}}function ht(n,e,t){for(var o=ee(n,!0),i=C(n)[e];o;){var r=C(o)[t],a=void 0;if(t==="top"||t==="left"?a=i>=r:a=i<=r,!a)return o;if(o===H())break;o=ee(o,!1)}return!1}function fe(n,e,t,o){for(var i=0,r=0,a=n.children;r<a.length;){if(a[r].style.display!=="none"&&a[r]!==h.ghost&&(o||a[r]!==h.dragged)&&L(a[r],t.draggable,n,!1)){if(i===e)return a[r];i++}r++}return null}function at(n,e){for(var t=n.lastElementChild;t&&(t===h.ghost||p(t,"display")==="none"||e&&!Be(t,e));)t=t.previousElementSibling;return t||null}function $(n,e){var t=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==h.clone&&(!e||Be(n,e))&&t++;return t}function pt(n){var e=0,t=0,o=H();if(n)do{var i=de(n),r=i.a,a=i.d;e+=n.scrollLeft*r,t+=n.scrollTop*a}while(n!==o&&(n=n.parentNode));return[e,t]}function Bt(n,e){for(var t in n)if(!!n.hasOwnProperty(t)){for(var o in e)if(e.hasOwnProperty(o)&&e[o]===n[t][o])return Number(t)}return-1}function ee(n,e){if(!n||!n.getBoundingClientRect)return H();var t=n,o=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var i=p(t);if(t.clientWidth<t.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return H();if(o||e)return t;o=!0}}while(t=t.parentNode);return H()}function Lt(n,e){if(n&&e)for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function We(n,e){return Math.round(n.top)===Math.round(e.top)&&Math.round(n.left)===Math.round(e.left)&&Math.round(n.height)===Math.round(e.height)&&Math.round(n.width)===Math.round(e.width)}var De;function St(n,e){return function(){if(!De){var t=arguments,o=this;t.length===1?n.call(o,t[0]):n.apply(o,t),De=setTimeout(function(){De=void 0},e)}}}function zt(){clearTimeout(De),De=void 0}function Tt(n,e,t){n.scrollLeft+=e,n.scrollTop+=t}function Ct(n){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(n).cloneNode(!0):t?t(n).clone(!0)[0]:n.cloneNode(!0)}function xt(n,e,t){var o={};return Array.from(n.children).forEach(function(i){var r,a,l,s;if(!(!L(i,e.draggable,n,!1)||i.animated||i===t)){var c=C(i);o.left=Math.min((r=o.left)!==null&&r!==void 0?r:1/0,c.left),o.top=Math.min((a=o.top)!==null&&a!==void 0?a:1/0,c.top),o.right=Math.max((l=o.right)!==null&&l!==void 0?l:-1/0,c.right),o.bottom=Math.max((s=o.bottom)!==null&&s!==void 0?s:-1/0,c.bottom)}}),o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}var A="Sortable"+new Date().getTime();function Ht(){var n=[],e;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var o=[].slice.call(this.el.children);o.forEach(function(i){if(!(p(i,"display")==="none"||i===h.ghost)){n.push({target:i,rect:C(i)});var r=G({},n[n.length-1].rect);if(i.thisAnimationDuration){var a=de(i,!0);a&&(r.top-=a.f,r.left-=a.e)}i.fromRect=r}})}},addAnimationState:function(o){n.push(o)},removeAnimationState:function(o){n.splice(Bt(n,{target:o}),1)},animateAll:function(o){var i=this;if(!this.options.animation){clearTimeout(e),typeof o=="function"&&o();return}var r=!1,a=0;n.forEach(function(l){var s=0,c=l.target,f=c.fromRect,d=C(c),b=c.prevFromRect,E=c.prevToRect,y=l.rect,w=de(c,!0);w&&(d.top-=w.f,d.left-=w.e),c.toRect=d,c.thisAnimationDuration&&We(b,d)&&!We(f,d)&&(y.top-d.top)/(y.left-d.left)===(f.top-d.top)/(f.left-d.left)&&(s=jt(y,b,E,i.options)),We(d,f)||(c.prevFromRect=f,c.prevToRect=d,s||(s=i.options.animation),i.animate(c,y,d,s)),s&&(r=!0,a=Math.max(a,s),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},s),c.thisAnimationDuration=s)}),clearTimeout(e),r?e=setTimeout(function(){typeof o=="function"&&o()},a):typeof o=="function"&&o(),n=[]},animate:function(o,i,r,a){if(a){p(o,"transition",""),p(o,"transform","");var l=de(this.el),s=l&&l.a,c=l&&l.d,f=(i.left-r.left)/(s||1),d=(i.top-r.top)/(c||1);o.animatingX=!!f,o.animatingY=!!d,p(o,"transform","translate3d("+f+"px,"+d+"px,0)"),this.forRepaintDummy=Gt(o),p(o,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),p(o,"transform","translate3d(0,0,0)"),typeof o.animated=="number"&&clearTimeout(o.animated),o.animated=setTimeout(function(){p(o,"transition",""),p(o,"transform",""),o.animated=!1,o.animatingX=!1,o.animatingY=!1},a)}}}}function Gt(n){return n.offsetWidth}function jt(n,e,t,o){return Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*o.animation}var le=[],Ke={initializeByDefault:!0},Ie={mount:function(e){for(var t in Ke)Ke.hasOwnProperty(t)&&!(t in e)&&(e[t]=Ke[t]);le.forEach(function(o){if(o.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),le.push(e)},pluginEvent:function(e,t,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var r=e+"Global";le.forEach(function(a){!t[a.pluginName]||(t[a.pluginName][r]&&t[a.pluginName][r](G({sortable:t},o)),t.options[a.pluginName]&&t[a.pluginName][e]&&t[a.pluginName][e](G({sortable:t},o)))})},initializePlugins:function(e,t,o,i){le.forEach(function(l){var s=l.pluginName;if(!(!e.options[s]&&!l.initializeByDefault)){var c=new l(e,t,e.options);c.sortable=e,c.options=e.options,e[s]=c,q(o,c.defaults)}});for(var r in e.options)if(!!e.options.hasOwnProperty(r)){var a=this.modifyOption(e,r,e.options[r]);typeof a<"u"&&(e.options[r]=a)}},getEventProperties:function(e,t){var o={};return le.forEach(function(i){typeof i.eventProperties=="function"&&q(o,i.eventProperties.call(t[i.pluginName],e))}),o},modifyOption:function(e,t,o){var i;return le.forEach(function(r){!e[r.pluginName]||r.optionListeners&&typeof r.optionListeners[t]=="function"&&(i=r.optionListeners[t].call(e[r.pluginName],o))}),i}};function Wt(n){var e=n.sortable,t=n.rootEl,o=n.name,i=n.targetEl,r=n.cloneEl,a=n.toEl,l=n.fromEl,s=n.oldIndex,c=n.newIndex,f=n.oldDraggableIndex,d=n.newDraggableIndex,b=n.originalEvent,E=n.putSortable,y=n.extraEventProperties;if(e=e||t&&t[A],!!e){var w,X=e.options,j="on"+o.charAt(0).toUpperCase()+o.substr(1);window.CustomEvent&&!U&&!xe?w=new CustomEvent(o,{bubbles:!0,cancelable:!0}):(w=document.createEvent("Event"),w.initEvent(o,!0,!0)),w.to=a||t,w.from=l||t,w.item=i||t,w.clone=r,w.oldIndex=s,w.newIndex=c,w.oldDraggableIndex=f,w.newDraggableIndex=d,w.originalEvent=b,w.pullMode=E?E.lastPutMode:void 0;var O=G(G({},y),Ie.getEventProperties(o,e));for(var Y in O)w[Y]=O[Y];t&&t.dispatchEvent(w),X[j]&&X[j].call(e,w)}}var Kt=["evt"],P=function(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=o.evt,r=Xt(o,Kt);Ie.pluginEvent.bind(h)(e,t,G({dragEl:u,parentEl:S,ghostEl:g,rootEl:_,nextEl:ae,lastDownEl:Me,cloneEl:D,cloneHidden:J,dragStarted:ye,putSortable:x,activeSortable:h.active,originalEvent:i,oldIndex:ue,oldDraggableIndex:Se,newIndex:R,newDraggableIndex:Q,hideGhostForTarget:Pt,unhideGhostForTarget:At,cloneNowHidden:function(){J=!0},cloneNowShown:function(){J=!1},dispatchSortableEvent:function(l){N({sortable:t,name:l,originalEvent:i})}},r))};function N(n){Wt(G({putSortable:x,cloneEl:D,targetEl:u,rootEl:_,oldIndex:ue,oldDraggableIndex:Se,newIndex:R,newDraggableIndex:Q},n))}var u,S,g,_,ae,Me,D,J,ue,R,Se,Q,Ne,x,ce=!1,Le=!1,ze=[],ie,B,qe,Ue,gt,mt,ye,se,Te,Ce=!1,Pe=!1,Re,I,Ve=[],tt=!1,He=[],je=typeof document<"u",Ae=rt,vt=xe||U?"cssFloat":"float",qt=je&&!wt&&!rt&&"draggable"in document.createElement("div"),It=function(){if(!!je){if(U)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),Ot=function(e,t){var o=p(e),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),r=fe(e,0,t),a=fe(e,1,t),l=r&&p(r),s=a&&p(a),c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+C(r).width,f=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+C(a).width;if(o.display==="flex")return o.flexDirection==="column"||o.flexDirection==="column-reverse"?"vertical":"horizontal";if(o.display==="grid")return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&l.float&&l.float!=="none"){var d=l.float==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===d)?"vertical":"horizontal"}return r&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||c>=i&&o[vt]==="none"||a&&o[vt]==="none"&&c+f>i)?"vertical":"horizontal"},Ut=function(e,t,o){var i=o?e.left:e.top,r=o?e.right:e.bottom,a=o?e.width:e.height,l=o?t.left:t.top,s=o?t.right:t.bottom,c=o?t.width:t.height;return i===l||r===s||i+a/2===l+c/2},Vt=function(e,t){var o;return ze.some(function(i){var r=i[A].options.emptyInsertThreshold;if(!(!r||at(i))){var a=C(i),l=e>=a.left-r&&e<=a.right+r,s=t>=a.top-r&&t<=a.bottom+r;if(l&&s)return o=i}}),o},Nt=function(e){function t(r,a){return function(l,s,c,f){var d=l.options.group.name&&s.options.group.name&&l.options.group.name===s.options.group.name;if(r==null&&(a||d))return!0;if(r==null||r===!1)return!1;if(a&&r==="clone")return r;if(typeof r=="function")return t(r(l,s,c,f),a)(l,s,c,f);var b=(a?l:s).options.group.name;return r===!0||typeof r=="string"&&r===b||r.join&&r.indexOf(b)>-1}}var o={},i=e.group;(!i||Fe(i)!="object")&&(i={name:i}),o.name=i.name,o.checkPull=t(i.pull,!0),o.checkPut=t(i.put),o.revertClone=i.revertClone,e.group=o},Pt=function(){!It&&g&&p(g,"display","none")},At=function(){!It&&g&&p(g,"display","")};je&&!wt&&document.addEventListener("click",function(n){if(Le)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),Le=!1,!1},!0);var re=function(e){if(u){e=e.touches?e.touches[0]:e;var t=Vt(e.clientX,e.clientY);if(t){var o={};for(var i in e)e.hasOwnProperty(i)&&(o[i]=e[i]);o.target=o.rootEl=t,o.preventDefault=void 0,o.stopPropagation=void 0,t[A]._onDragOver(o)}}},Zt=function(e){u&&u.parentNode[A]._isOutsideThisEl(e.target)};function h(n,e){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=e=q({},e),n[A]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(n.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ot(n,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,l){a.setData("Text",l.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:h.supportPointer!==!1&&"PointerEvent"in window&&(!_e||rt),emptyInsertThreshold:5};Ie.initializePlugins(this,n,t);for(var o in t)!(o in e)&&(e[o]=t[o]);Nt(e);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=e.forceFallback?!1:qt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?v(n,"pointerdown",this._onTapStart):(v(n,"mousedown",this._onTapStart),v(n,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(n,"dragover",this),v(n,"dragenter",this)),ze.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),q(this,Ht())}h.prototype={constructor:h,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(se=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,u):this.options.direction},_onTapStart:function(e){if(!!e.cancelable){var t=this,o=this.el,i=this.options,r=i.preventOnFilter,a=e.type,l=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,s=(l||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,f=i.filter;if(an(o),!u&&!(/mousedown|pointerdown/.test(a)&&e.button!==0||i.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&_e&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=L(s,i.draggable,o,!1),!(s&&s.animated)&&Me!==s)){if(ue=$(s),Se=$(s,i.draggable),typeof f=="function"){if(f.call(this,e,s,this)){N({sortable:t,rootEl:c,name:"filter",targetEl:s,toEl:o,fromEl:o}),P("filter",t,{evt:e}),r&&e.preventDefault();return}}else if(f&&(f=f.split(",").some(function(d){if(d=L(c,d.trim(),o,!1),d)return N({sortable:t,rootEl:d,name:"filter",targetEl:s,fromEl:o,toEl:o}),P("filter",t,{evt:e}),!0}),f)){r&&e.preventDefault();return}i.handle&&!L(c,i.handle,o,!1)||this._prepareDragStart(e,l,s)}}},_prepareDragStart:function(e,t,o){var i=this,r=i.el,a=i.options,l=r.ownerDocument,s;if(o&&!u&&o.parentNode===r){var c=C(o);if(_=r,u=o,S=u.parentNode,ae=u.nextSibling,Me=o,Ne=a.group,h.dragged=u,ie={target:u,clientX:(t||e).clientX,clientY:(t||e).clientY},gt=ie.clientX-c.left,mt=ie.clientY-c.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,u.style["will-change"]="all",s=function(){if(P("delayEnded",i,{evt:e}),h.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!dt&&i.nativeDraggable&&(u.draggable=!0),i._triggerDragStart(e,t),N({sortable:i,name:"choose",originalEvent:e}),M(u,a.chosenClass,!0)},a.ignore.split(",").forEach(function(f){Dt(u,f.trim(),Ze)}),v(l,"dragover",re),v(l,"mousemove",re),v(l,"touchmove",re),a.supportPointer?(v(l,"pointerup",i._onDrop),!this.nativeDraggable&&v(l,"pointercancel",i._onDrop)):(v(l,"mouseup",i._onDrop),v(l,"touchend",i._onDrop),v(l,"touchcancel",i._onDrop)),dt&&this.nativeDraggable&&(this.options.touchStartThreshold=4,u.draggable=!0),P("delayStart",this,{evt:e}),a.delay&&(!a.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(xe||U))){if(h.eventCanceled){this._onDrop();return}a.supportPointer?(v(l,"pointerup",i._disableDelayedDrag),v(l,"pointercancel",i._disableDelayedDrag)):(v(l,"mouseup",i._disableDelayedDrag),v(l,"touchend",i._disableDelayedDrag),v(l,"touchcancel",i._disableDelayedDrag)),v(l,"mousemove",i._delayedDragTouchMoveHandler),v(l,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&v(l,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(s,a.delay)}else s()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){u&&Ze(u),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;m(e,"mouseup",this._disableDelayedDrag),m(e,"touchend",this._disableDelayedDrag),m(e,"touchcancel",this._disableDelayedDrag),m(e,"pointerup",this._disableDelayedDrag),m(e,"pointercancel",this._disableDelayedDrag),m(e,"mousemove",this._delayedDragTouchMoveHandler),m(e,"touchmove",this._delayedDragTouchMoveHandler),m(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):t?v(document,"touchmove",this._onTouchMove):v(document,"mousemove",this._onTouchMove):(v(u,"dragend",this),v(_,"dragstart",this._onDragStart));try{document.selection?$e(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(ce=!1,_&&u){P("dragStarted",this,{evt:t}),this.nativeDraggable&&v(document,"dragover",Zt);var o=this.options;!e&&M(u,o.dragClass,!1),M(u,o.ghostClass,!0),h.active=this,e&&this._appendGhost(),N({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(B){this._lastX=B.clientX,this._lastY=B.clientY,Pt();for(var e=document.elementFromPoint(B.clientX,B.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(B.clientX,B.clientY),e!==t);)t=e;if(u.parentNode[A]._isOutsideThisEl(e),t)do{if(t[A]){var o=void 0;if(o=t[A]._onDragOver({clientX:B.clientX,clientY:B.clientY,target:e,rootEl:t}),o&&!this.options.dragoverBubble)break}e=t}while(t=_t(t));At()}},_onTouchMove:function(e){if(ie){var t=this.options,o=t.fallbackTolerance,i=t.fallbackOffset,r=e.touches?e.touches[0]:e,a=g&&de(g,!0),l=g&&a&&a.a,s=g&&a&&a.d,c=Ae&&I&&pt(I),f=(r.clientX-ie.clientX+i.x)/(l||1)+(c?c[0]-Ve[0]:0)/(l||1),d=(r.clientY-ie.clientY+i.y)/(s||1)+(c?c[1]-Ve[1]:0)/(s||1);if(!h.active&&!ce){if(o&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<o)return;this._onDragStart(e,!0)}if(g){a?(a.e+=f-(qe||0),a.f+=d-(Ue||0)):a={a:1,b:0,c:0,d:1,e:f,f:d};var b="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");p(g,"webkitTransform",b),p(g,"mozTransform",b),p(g,"msTransform",b),p(g,"transform",b),qe=f,Ue=d,B=r}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!g){var e=this.options.fallbackOnBody?document.body:_,t=C(u,!0,Ae,!0,e),o=this.options;if(Ae){for(I=e;p(I,"position")==="static"&&p(I,"transform")==="none"&&I!==document;)I=I.parentNode;I!==document.body&&I!==document.documentElement?(I===document&&(I=H()),t.top+=I.scrollTop,t.left+=I.scrollLeft):I=H(),Ve=pt(I)}g=u.cloneNode(!0),M(g,o.ghostClass,!1),M(g,o.fallbackClass,!0),M(g,o.dragClass,!0),p(g,"transition",""),p(g,"transform",""),p(g,"box-sizing","border-box"),p(g,"margin",0),p(g,"top",t.top),p(g,"left",t.left),p(g,"width",t.width),p(g,"height",t.height),p(g,"opacity","0.8"),p(g,"position",Ae?"absolute":"fixed"),p(g,"zIndex","100000"),p(g,"pointerEvents","none"),h.ghost=g,e.appendChild(g),p(g,"transform-origin",gt/parseInt(g.style.width)*100+"% "+mt/parseInt(g.style.height)*100+"%")}},_onDragStart:function(e,t){var o=this,i=e.dataTransfer,r=o.options;if(P("dragStart",this,{evt:e}),h.eventCanceled){this._onDrop();return}P("setupClone",this),h.eventCanceled||(D=Ct(u),D.removeAttribute("id"),D.draggable=!1,D.style["will-change"]="",this._hideClone(),M(D,this.options.chosenClass,!1),h.clone=D),o.cloneId=$e(function(){P("clone",o),!h.eventCanceled&&(o.options.removeCloneOnHide||_.insertBefore(D,u),o._hideClone(),N({sortable:o,name:"clone"}))}),!t&&M(u,r.dragClass,!0),t?(Le=!0,o._loopId=setInterval(o._emulateDragOver,50)):(m(document,"mouseup",o._onDrop),m(document,"touchend",o._onDrop),m(document,"touchcancel",o._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(o,i,u)),v(document,"drop",o),p(u,"transform","translateZ(0)")),ce=!0,o._dragStartId=$e(o._dragStarted.bind(o,t,e)),v(document,"selectstart",o),ye=!0,window.getSelection().removeAllRanges(),_e&&p(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,o=e.target,i,r,a,l=this.options,s=l.group,c=h.active,f=Ne===s,d=l.sort,b=x||c,E,y=this,w=!1;if(tt)return;function X(ve,Ft){P(ve,y,G({evt:e,isOwner:f,axis:E?"vertical":"horizontal",revert:a,dragRect:i,targetRect:r,canSort:d,fromSortable:b,target:o,completed:O,onMove:function(ct,Mt){return ke(_,t,u,i,ct,C(ct),e,Mt)},changed:Y},Ft))}function j(){X("dragOverAnimationCapture"),y.captureAnimationState(),y!==b&&b.captureAnimationState()}function O(ve){return X("dragOverCompleted",{insertion:ve}),ve&&(f?c._hideClone():c._showClone(y),y!==b&&(M(u,x?x.options.ghostClass:c.options.ghostClass,!1),M(u,l.ghostClass,!0)),x!==y&&y!==h.active?x=y:y===h.active&&x&&(x=null),b===y&&(y._ignoreWhileAnimating=o),y.animateAll(function(){X("dragOverAnimationComplete"),y._ignoreWhileAnimating=null}),y!==b&&(b.animateAll(),b._ignoreWhileAnimating=null)),(o===u&&!u.animated||o===t&&!o.animated)&&(se=null),!l.dragoverBubble&&!e.rootEl&&o!==document&&(u.parentNode[A]._isOutsideThisEl(e.target),!ve&&re(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),w=!0}function Y(){R=$(u),Q=$(u,l.draggable),N({sortable:y,name:"change",toEl:t,newIndex:R,newDraggableIndex:Q,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),o=L(o,l.draggable,t,!0),X("dragOver"),h.eventCanceled)return w;if(u.contains(e.target)||o.animated&&o.animatingX&&o.animatingY||y._ignoreWhileAnimating===o)return O(!1);if(Le=!1,c&&!l.disabled&&(f?d||(a=S!==_):x===this||(this.lastPutMode=Ne.checkPull(this,c,u,e))&&s.checkPut(this,c,u,e))){if(E=this._getDirection(e,o)==="vertical",i=C(u),X("dragOverValid"),h.eventCanceled)return w;if(a)return S=_,j(),this._hideClone(),X("revert"),h.eventCanceled||(ae?_.insertBefore(u,ae):_.appendChild(u)),O(!0);var k=at(t,l.draggable);if(!k||tn(e,E,this)&&!k.animated){if(k===u)return O(!1);if(k&&t===e.target&&(o=k),o&&(r=C(o)),ke(_,t,u,i,o,r,e,!!o)!==!1)return j(),k&&k.nextSibling?t.insertBefore(u,k.nextSibling):t.appendChild(u),S=t,Y(),O(!0)}else if(k&&en(e,E,this)){var te=fe(t,0,l,!0);if(te===u)return O(!1);if(o=te,r=C(o),ke(_,t,u,i,o,r,e,!1)!==!1)return j(),t.insertBefore(u,te),S=t,Y(),O(!0)}else if(o.parentNode===t){r=C(o);var z=0,ne,he=u.parentNode!==t,F=!Ut(u.animated&&u.toRect||i,o.animated&&o.toRect||r,E),pe=E?"top":"left",V=ht(o,"top","top")||ht(u,"top","top"),ge=V?V.scrollTop:void 0;se!==o&&(ne=r[pe],Ce=!1,Pe=!F&&l.invertSwap||he),z=nn(e,o,r,E,F?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,Pe,se===o);var W;if(z!==0){var oe=$(u);do oe-=z,W=S.children[oe];while(W&&(p(W,"display")==="none"||W===g))}if(z===0||W===o)return O(!1);se=o,Te=z;var me=o.nextElementSibling,Z=!1;Z=z===1;var Oe=ke(_,t,u,i,o,r,e,Z);if(Oe!==!1)return(Oe===1||Oe===-1)&&(Z=Oe===1),tt=!0,setTimeout(Jt,30),j(),Z&&!me?t.appendChild(u):o.parentNode.insertBefore(u,Z?me:o),V&&Tt(V,0,ge-V.scrollTop),S=u.parentNode,ne!==void 0&&!Pe&&(Re=Math.abs(ne-C(o)[pe])),Y(),O(!0)}if(t.contains(u))return O(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){m(document,"mousemove",this._onTouchMove),m(document,"touchmove",this._onTouchMove),m(document,"pointermove",this._onTouchMove),m(document,"dragover",re),m(document,"mousemove",re),m(document,"touchmove",re)},_offUpEvents:function(){var e=this.el.ownerDocument;m(e,"mouseup",this._onDrop),m(e,"touchend",this._onDrop),m(e,"pointerup",this._onDrop),m(e,"pointercancel",this._onDrop),m(e,"touchcancel",this._onDrop),m(document,"selectstart",this)},_onDrop:function(e){var t=this.el,o=this.options;if(R=$(u),Q=$(u,o.draggable),P("drop",this,{evt:e}),S=u&&u.parentNode,R=$(u),Q=$(u,o.draggable),h.eventCanceled){this._nulling();return}ce=!1,Pe=!1,Ce=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),nt(this.cloneId),nt(this._dragStartId),this.nativeDraggable&&(m(document,"drop",this),m(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),_e&&p(document.body,"user-select",""),p(u,"transform",""),e&&(ye&&(e.cancelable&&e.preventDefault(),!o.dropBubble&&e.stopPropagation()),g&&g.parentNode&&g.parentNode.removeChild(g),(_===S||x&&x.lastPutMode!=="clone")&&D&&D.parentNode&&D.parentNode.removeChild(D),u&&(this.nativeDraggable&&m(u,"dragend",this),Ze(u),u.style["will-change"]="",ye&&!ce&&M(u,x?x.options.ghostClass:this.options.ghostClass,!1),M(u,this.options.chosenClass,!1),N({sortable:this,name:"unchoose",toEl:S,newIndex:null,newDraggableIndex:null,originalEvent:e}),_!==S?(R>=0&&(N({rootEl:S,name:"add",toEl:S,fromEl:_,originalEvent:e}),N({sortable:this,name:"remove",toEl:S,originalEvent:e}),N({rootEl:S,name:"sort",toEl:S,fromEl:_,originalEvent:e}),N({sortable:this,name:"sort",toEl:S,originalEvent:e})),x&&x.save()):R!==ue&&R>=0&&(N({sortable:this,name:"update",toEl:S,originalEvent:e}),N({sortable:this,name:"sort",toEl:S,originalEvent:e})),h.active&&((R==null||R===-1)&&(R=ue,Q=Se),N({sortable:this,name:"end",toEl:S,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){P("nulling",this),_=u=S=g=ae=D=Me=J=ie=B=ye=R=Q=ue=Se=se=Te=x=Ne=h.dragged=h.ghost=h.clone=h.active=null,He.forEach(function(e){e.checked=!0}),He.length=qe=Ue=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":u&&(this._onDragOver(e),Qt(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,o=this.el.children,i=0,r=o.length,a=this.options;i<r;i++)t=o[i],L(t,a.draggable,this.el,!1)&&e.push(t.getAttribute(a.dataIdAttr)||rn(t));return e},sort:function(e,t){var o={},i=this.el;this.toArray().forEach(function(r,a){var l=i.children[a];L(l,this.options.draggable,i,!1)&&(o[r]=l)},this),t&&this.captureAnimationState(),e.forEach(function(r){o[r]&&(i.removeChild(o[r]),i.appendChild(o[r]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return L(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var o=this.options;if(t===void 0)return o[e];var i=Ie.modifyOption(this,e,t);typeof i<"u"?o[e]=i:o[e]=t,e==="group"&&Nt(o)},destroy:function(){P("destroy",this);var e=this.el;e[A]=null,m(e,"mousedown",this._onTapStart),m(e,"touchstart",this._onTapStart),m(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(m(e,"dragover",this),m(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),ze.splice(ze.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!J){if(P("hideClone",this),h.eventCanceled)return;p(D,"display","none"),this.options.removeCloneOnHide&&D.parentNode&&D.parentNode.removeChild(D),J=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(J){if(P("showClone",this),h.eventCanceled)return;u.parentNode==_&&!this.options.group.revertClone?_.insertBefore(D,u):ae?_.insertBefore(D,ae):_.appendChild(D),this.options.group.revertClone&&this.animate(u,D),p(D,"display",""),J=!1}}};function Qt(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function ke(n,e,t,o,i,r,a,l){var s,c=n[A],f=c.options.onMove,d;return window.CustomEvent&&!U&&!xe?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=e,s.from=n,s.dragged=t,s.draggedRect=o,s.related=i||e,s.relatedRect=r||C(e),s.willInsertAfter=l,s.originalEvent=a,n.dispatchEvent(s),f&&(d=f.call(c,s,a)),d}function Ze(n){n.draggable=!1}function Jt(){tt=!1}function en(n,e,t){var o=C(fe(t.el,0,t.options,!0)),i=xt(t.el,t.options,g),r=10;return e?n.clientX<i.left-r||n.clientY<o.top&&n.clientX<o.right:n.clientY<i.top-r||n.clientY<o.bottom&&n.clientX<o.left}function tn(n,e,t){var o=C(at(t.el,t.options.draggable)),i=xt(t.el,t.options,g),r=10;return e?n.clientX>i.right+r||n.clientY>o.bottom&&n.clientX>o.left:n.clientY>i.bottom+r||n.clientX>o.right&&n.clientY>o.top}function nn(n,e,t,o,i,r,a,l){var s=o?n.clientY:n.clientX,c=o?t.height:t.width,f=o?t.top:t.left,d=o?t.bottom:t.right,b=!1;if(!a){if(l&&Re<c*i){if(!Ce&&(Te===1?s>f+c*r/2:s<d-c*r/2)&&(Ce=!0),Ce)b=!0;else if(Te===1?s<f+Re:s>d-Re)return-Te}else if(s>f+c*(1-i)/2&&s<d-c*(1-i)/2)return on(e)}return b=b||a,b&&(s<f+c*r/2||s>d-c*r/2)?s>f+c/2?1:-1:0}function on(n){return $(u)<$(n)?1:-1}function rn(n){for(var e=n.tagName+n.className+n.src+n.href+n.textContent,t=e.length,o=0;t--;)o+=e.charCodeAt(t);return o.toString(36)}function an(n){He.length=0;for(var e=n.getElementsByTagName("input"),t=e.length;t--;){var o=e[t];o.checked&&He.push(o)}}function $e(n){return setTimeout(n,0)}function nt(n){return clearTimeout(n)}je&&v(document,"touchmove",function(n){(h.active||ce)&&n.cancelable&&n.preventDefault()});h.utils={on:v,off:m,css:p,find:Dt,is:function(e,t){return!!L(e,t,e,!1)},extend:Lt,throttle:St,closest:L,toggleClass:M,clone:Ct,index:$,nextTick:$e,cancelNextTick:nt,detectDirection:Ot,getChild:fe,expando:A};h.get=function(n){return n[A]};h.mount=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.forEach(function(o){if(!o.prototype||!o.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));o.utils&&(h.utils=G(G({},h.utils),o.utils)),Ie.mount(o)})};h.create=function(n,e){return new h(n,e)};h.version=Yt;var T=[],we,ot,it=!1,Qe,Je,Ge,Ee;function ln(){function n(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return n.prototype={dragStarted:function(t){var o=t.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):o.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var o=t.originalEvent;!this.options.dragOverBubble&&!o.rootEl&&this._handleAutoScroll(o)},drop:function(){this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):(m(document,"pointermove",this._handleFallbackAutoScroll),m(document,"touchmove",this._handleFallbackAutoScroll),m(document,"mousemove",this._handleFallbackAutoScroll)),bt(),Xe(),zt()},nulling:function(){Ge=ot=we=it=Ee=Qe=Je=null,T.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,o){var i=this,r=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,l=document.elementFromPoint(r,a);if(Ge=t,o||this.options.forceAutoScrollFallback||xe||U||_e){et(t,this.options,l,o);var s=ee(l,!0);it&&(!Ee||r!==Qe||a!==Je)&&(Ee&&bt(),Ee=setInterval(function(){var c=ee(document.elementFromPoint(r,a),!0);c!==s&&(s=c,Xe()),et(t,i.options,c,o)},10),Qe=r,Je=a)}else{if(!this.options.bubbleScroll||ee(l,!0)===H()){Xe();return}et(t,this.options,ee(l,!1),!1)}}},q(n,{pluginName:"scroll",initializeByDefault:!0})}function Xe(){T.forEach(function(n){clearInterval(n.pid)}),T=[]}function bt(){clearInterval(Ee)}var et=St(function(n,e,t,o){if(!!e.scroll){var i=(n.touches?n.touches[0]:n).clientX,r=(n.touches?n.touches[0]:n).clientY,a=e.scrollSensitivity,l=e.scrollSpeed,s=H(),c=!1,f;ot!==t&&(ot=t,Xe(),we=e.scroll,f=e.scrollFn,we===!0&&(we=ee(t,!0)));var d=0,b=we;do{var E=b,y=C(E),w=y.top,X=y.bottom,j=y.left,O=y.right,Y=y.width,k=y.height,te=void 0,z=void 0,ne=E.scrollWidth,he=E.scrollHeight,F=p(E),pe=E.scrollLeft,V=E.scrollTop;E===s?(te=Y<ne&&(F.overflowX==="auto"||F.overflowX==="scroll"||F.overflowX==="visible"),z=k<he&&(F.overflowY==="auto"||F.overflowY==="scroll"||F.overflowY==="visible")):(te=Y<ne&&(F.overflowX==="auto"||F.overflowX==="scroll"),z=k<he&&(F.overflowY==="auto"||F.overflowY==="scroll"));var ge=te&&(Math.abs(O-i)<=a&&pe+Y<ne)-(Math.abs(j-i)<=a&&!!pe),W=z&&(Math.abs(X-r)<=a&&V+k<he)-(Math.abs(w-r)<=a&&!!V);if(!T[d])for(var oe=0;oe<=d;oe++)T[oe]||(T[oe]={});(T[d].vx!=ge||T[d].vy!=W||T[d].el!==E)&&(T[d].el=E,T[d].vx=ge,T[d].vy=W,clearInterval(T[d].pid),(ge!=0||W!=0)&&(c=!0,T[d].pid=setInterval(function(){o&&this.layer===0&&h.active._onTouchMove(Ge);var me=T[this.layer].vy?T[this.layer].vy*l:0,Z=T[this.layer].vx?T[this.layer].vx*l:0;typeof f=="function"&&f.call(h.dragged.parentNode[A],Z,me,n,Ge,T[this.layer].el)!=="continue"||Tt(T[this.layer].el,Z,me)}.bind({layer:d}),24))),d++}while(e.bubbleScroll&&b!==s&&(b=ee(b,!1)));it=c}},30),kt=function(e){var t=e.originalEvent,o=e.putSortable,i=e.dragEl,r=e.activeSortable,a=e.dispatchSortableEvent,l=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(!!t){var c=o||r;l();var f=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,d=document.elementFromPoint(f.clientX,f.clientY);s(),c&&!c.el.contains(d)&&(a("spill"),this.onSpill({dragEl:i,putSortable:o}))}};function lt(){}lt.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,o=e.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=fe(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(t,i):this.sortable.el.appendChild(t),this.sortable.animateAll(),o&&o.animateAll()},drop:kt};q(lt,{pluginName:"revertOnSpill"});function st(){}st.prototype={onSpill:function(e){var t=e.dragEl,o=e.putSortable,i=o||this.sortable;i.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),i.animateAll()},drop:kt};q(st,{pluginName:"removeOnSpill"});h.mount(new ln);h.mount(st,lt);const sn=["#00A88E","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#5470c6","#ea7ccc","#FA6400"],cn={name:"GdColorEditor",props:{maxLength:{type:Number,default:12}},data(){return{buttons:[{displayName:"\u5BFC\u5165\u6570\u636E",functionName:"importData",show:!0,transKey:"gd.btnConfig.btnImportData",icon:"el-icon-plus"},{displayName:"\u590D\u5236\u6570\u636E",functionName:"copyData",show:!0,transKey:"gd.form.copyData",icon:"el-icon-document-copy"},{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus"},{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],width:"800px",visible:!1,confirmLoading:!1,fullscreen:!1,loadData:[],columns:[{transKey:"gd.settings.color",prop:"color",label:"\u989C\u8272",type:"slot",slotType:"color",align:"left"},{transKey:"gd.settings.colorValue",prop:"name",label:"\u989C\u8272\u503C",type:"slot",slotType:"name",align:"left"},{transKey:"gd.settings.colorType",prop:"colorType",label:"\u9009\u62E9\u65B9\u5F0F",width:"320",type:"slot",slotType:"colorType",align:"left"},{transKey:"gd.btn.handle",prop:"handle",label:"\u64CD\u4F5C",width:"120",type:"slot",slotType:"handle",align:"center"}],loadDataSource:n=>new Promise((e,t)=>{this.confirmLoading=!1,e({pageNo:1,pageSize:100,totalRows:0,rows:this.loadData})})}},computed:{height(){return this.screenHeight-(this.fullscreen?72:230)},predefine(){let n=[];return sn.forEach(e=>{n.push(e)}),n},getButtons(){return this.buttons.filter(n=>!(this.loadData.length>=this.maxLength&&n.functionName==="add"))},...yt.mapGetters(["screenHeight","tableSize","tablePageSize","echartsColor","primaryColor"])},methods:{followingColor(n){let e=[];n.forEach(t=>{e.push({color:String(t)==="0"?this.primaryColor:t,name:String(t)==="0"?this.$i18nt("gd.settings.followTheme","\u8DDF\u968F\u7CFB\u7EDF\u4E3B\u9898\u8272"):t,code:t,colorType:String(t)==="0"?"0":"1",id:be.uuid(8)})}),this.loadData=[...e],this.$refs.table.setTableData(this.loadData,!1)},importData(){let n=this;const e=this.$createElement;be.clipboardContent(t=>{if(!t){n.$message.error(n.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25"));return}const o=t.split(",");let i=[];o.forEach(r=>{i.push(e("div",{style:`width: 15px;height: 15px;margin: 0 2px 6px 0;background:${Number(r)===0?n.primaryColor:r}`},""))}),n.$msgbox({title:n.$i18nt("gd.settings.followingColorTip","\u662F\u5426\u5BFC\u5165\u4EE5\u4E0B\u989C\u8272\u503C?"),message:e("div",{style:"display: flex;align-items: center;justify-content: flex-start; flex-wrap: wrap;"},[i]),showCancelButton:!0,confirmButtonText:n.$i18nt("gd.btn.confirm","\u786E\u8BA4"),cancelButtonText:n.$i18nt("gd.https.delCancel","\u53D6\u6D88"),callback:()=>{},beforeClose:(r,a,l)=>{r==="confirm"&&n.followingColor(o),l()}})})},copyData(){let n=[];this.loadData.forEach(e=>{n.push(e.colorType==="0"?"0":e.color)}),be.copyTextToClipboard(n.join(","),()=>{this.$message.success(this.$i18nt("gd.https.beenCopied","\u6570\u636E\u5DF2\u590D\u5236"))})},handleSubmit(){if(this.loadData.length<5){this.$message.error(this.$i18nt("gd.settings.colorTip","\u6700\u5C11\u8BBE\u7F6E5\u79CD\u989C\u8272!"));return}let n=[];this.loadData.forEach(e=>{n.push(e.colorType==="0"?"0":e.color)}),this.$emit("ok",n),this.closed()},add(){const n={color:this.primaryColor,name:this.$i18nt("gd.settings.followTheme","\u8DDF\u968F\u7CFB\u7EDF\u4E3B\u9898\u8272"),code:"0",colorType:"0",id:be.uuid(8)};this.loadData=this.loadData.concat(n),this.$refs.table.setTableData(this.loadData,!1)},deleteItem(n){this.loadData=this.loadData.filter(e=>e.id!==n.id),this.$refs.table.setTableData(this.loadData,!1)},open(n){this.confirmLoading=!0;let e=n||[...this.echartsColor];this.record=n,this.visible=!0;let t=[];e.forEach(o=>{t.push({color:String(o)==="0"?this.primaryColor:o,name:String(o)==="0"?this.$i18nt("gd.settings.followTheme","\u8DDF\u968F\u7CFB\u7EDF\u4E3B\u9898\u8272"):o,code:o,colorType:String(o)==="0"?"0":"1",id:be.uuid(8)})}),this.loadData=[...t],this.$nextTick(()=>{setTimeout(()=>{this.refresh(),this.rowDrop()},100)})},refresh(){this.$refs.table.refresh()},rowDrop(){const n=document.querySelector("#config-table .el-table__body-wrapper tbody");let e=this;h.create(n,{onEnd:t=>{const o=e.loadData[t.oldIndex];e.loadData.splice(t.oldIndex,1),e.loadData.splice(t.newIndex,0,o),console.log(e.loadData)},animation:300,handle:".el-table__row"})},closed(){this.fullscreen=!1,this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(n){const e=n.item.functionName;this[e]&&this[e]()}}};var un=function(){var e=this,t=e._self._c;return 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,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1},on:{"update:visible":function(o){e.visible=o},closed:e.closed}},[t("template",{slot:"title"},[t("gd-modal-title",{attrs:{title:e.$i18nt("gd.settings.echartsColorStyle"),fullscreen:e.fullscreen,buttons:e.getButtons,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"}],staticStyle:{"margin-top":"-44px"},attrs:{id:"config-table"}},[t("gd-tables",{ref:"table",attrs:{dataSource:e.loadDataSource,size:e.tableSize,pageSize:e.tablePageSize,columns:e.columns,height:e.height,showPagination:!1,initialLoading:!1,disabledRefresh:!0},scopedSlots:e._u([{key:"color",fn:function({column:o,row:i}){return[i.colorType==="1"?t("div",{staticClass:"echarts-color-item",style:`background:${i.color}`}):t("div",{staticClass:"echarts-color-item",style:`background:${e.primaryColor}`})]}},{key:"name",fn:function({column:o,row:i}){return[i.colorType==="1"?t("div",[e._v(e._s(i.name))]):t("div",[e._v(e._s(e.$i18nt("gd.settings.followTheme","\u8DDF\u968F\u7CFB\u7EDF\u4E3B\u9898\u8272")))])]}},{key:"colorType",fn:function({column:o,row:i,index:r}){return[t("div",{staticClass:"flex-between"},[t("el-select",{staticStyle:{flex:"1","margin-right":"12px"},attrs:{placeholder:e.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9")},model:{value:i.colorType,callback:function(a){e.$set(i,"colorType",a)},expression:"row.colorType"}},[t("el-option",{attrs:{label:e.$i18nt("gd.settings.followTheme","\u8DDF\u968F\u7CFB\u7EDF\u4E3B\u9898\u8272"),value:"0"}}),t("el-option",{attrs:{label:e.$i18nt("gd.settings.custom","\u81EA\u5B9A\u4E49"),value:"1"}})],1),i.colorType==="0"?t("el-color-picker",{ref:"colorPicker",staticClass:"theme-picker",attrs:{size:"small",predefine:e.predefine,"popper-class":"theme-picker-dropdown",disabled:""},model:{value:e.primaryColor,callback:function(a){e.primaryColor=a},expression:"primaryColor"}}):t("el-color-picker",{ref:"colorPicker",staticClass:"theme-picker",attrs:{size:"small",predefine:e.predefine,"popper-class":"theme-picker-dropdown"},model:{value:i.color,callback:function(a){e.$set(i,"color",a)},expression:"row.color"}})],1)]}},{key:"handle",fn:function({column:o,row:i,index:r}){return[t("div",{staticClass:"export-handle"},[t("i",{staticClass:"el-icon-rank active-color drag-move"}),t("i",{staticClass:"el-icon-close",on:{click:function(a){return e.deleteItem(i)}}})])]}}])})],1)],2)},dn=[],fn=yt.normalizeComponent(cn,un,dn,!1,null,"ad8de0a5",null,null);const Ye=fn.exports;Ye.install=function(n){n.component(Ye.name,Ye)};exports.GDpackage=Ye;exports.Sortable=h;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { m as l, n as c } from "./components.chartbi.571c5ff5.mjs";
|
|
2
|
+
import { b as d, a as u } from "./http.main.aefea27d.mjs";
|
|
3
|
+
import "./utils.echarts.js.d1bb8ac6.mjs";
|
|
4
|
+
import "./utils.util.js.333daba2.mjs";
|
|
5
|
+
const h = {
|
|
6
|
+
name: "GdDataAssign",
|
|
7
|
+
props: {
|
|
8
|
+
tableData: {
|
|
9
|
+
type: Object,
|
|
10
|
+
default: () => ({})
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
data() {
|
|
14
|
+
return {
|
|
15
|
+
buttons: [
|
|
16
|
+
{
|
|
17
|
+
displayName: "\u786E\u5B9A",
|
|
18
|
+
functionName: "handleSubmit",
|
|
19
|
+
show: !0,
|
|
20
|
+
transKey: "gd.btn.confirm",
|
|
21
|
+
icon: "el-icon-document-checked"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
record: [],
|
|
25
|
+
visible: !1,
|
|
26
|
+
confirmLoading: !1,
|
|
27
|
+
fullscreen: !1,
|
|
28
|
+
width: "600px",
|
|
29
|
+
fkEntityName: "sys_user",
|
|
30
|
+
loading: !1,
|
|
31
|
+
serviceData: [],
|
|
32
|
+
ruleFormData: {
|
|
33
|
+
ownerId: ""
|
|
34
|
+
},
|
|
35
|
+
rules: {
|
|
36
|
+
ownerId: [
|
|
37
|
+
{
|
|
38
|
+
required: !0,
|
|
39
|
+
message: this.$i18nt("gd.btn.select", "\u8BF7\u9009\u62E9"),
|
|
40
|
+
trigger: "change"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
computed: {
|
|
47
|
+
message() {
|
|
48
|
+
return `${this.$i18nt("gd.https.assignMsgl", "\u60A8\u5DF2\u9009\u62E9")} ${this.record.length} ${this.$i18nt(
|
|
49
|
+
"gd.https.assignMsgr",
|
|
50
|
+
"\u6761\u6570\u636E\uFF0C\u8981\u5C06\u5B83\u5206\u6D3E\u7ED9\u8C01?"
|
|
51
|
+
)}`;
|
|
52
|
+
},
|
|
53
|
+
title() {
|
|
54
|
+
return `${this.$i18nt("gd.https.assign", "\u5206\u6D3E")} (${this.$i18nt(
|
|
55
|
+
`Dynamics.${this.tableData.transkey}`,
|
|
56
|
+
this.tableData.busname
|
|
57
|
+
)})`;
|
|
58
|
+
},
|
|
59
|
+
...l(["screenHeight", "tableLists", "userInfo"])
|
|
60
|
+
},
|
|
61
|
+
methods: {
|
|
62
|
+
handleSubmit() {
|
|
63
|
+
this.confirmLoading = !0, this.$refs.ruleForm.validate((a) => {
|
|
64
|
+
if (a) {
|
|
65
|
+
const e = {
|
|
66
|
+
tableId: this.tableData.id,
|
|
67
|
+
ids: this.record.join(","),
|
|
68
|
+
ownerId: this.ruleFormData.ownerId
|
|
69
|
+
};
|
|
70
|
+
d(e).then((t) => {
|
|
71
|
+
t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.closed(), this.$emit("ok", e)) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message), this.confirmLoading = !1;
|
|
72
|
+
});
|
|
73
|
+
} else
|
|
74
|
+
this.confirmLoading = !1;
|
|
75
|
+
});
|
|
76
|
+
},
|
|
77
|
+
lookup() {
|
|
78
|
+
this.$refs.viewSearch.open({
|
|
79
|
+
fkEntityName: this.fkEntityName,
|
|
80
|
+
effectType: "fk",
|
|
81
|
+
val: this.ruleFormData.ownerId
|
|
82
|
+
});
|
|
83
|
+
},
|
|
84
|
+
lookupSeled(a) {
|
|
85
|
+
this.serviceData = [...a.fkData], this.ruleFormData.ownerId = a.data[0] ? a.data[0] : "";
|
|
86
|
+
},
|
|
87
|
+
open(a) {
|
|
88
|
+
this.confirmLoading = !0, this.record = [...a], this.visible = !0, this.searchData("").then((e) => {
|
|
89
|
+
this.serviceData.filter((s) => s.id === this.userInfo.id)[0] || (this.serviceData = [{ name: this.userInfo.name, id: this.userInfo.id }].concat(this.serviceData)), this.ruleFormData.ownerId = this.userInfo.id, this.confirmLoading = !1;
|
|
90
|
+
});
|
|
91
|
+
},
|
|
92
|
+
searchData(a) {
|
|
93
|
+
this.loading = !0;
|
|
94
|
+
const e = this.serviceData.filter((s) => this.ruleFormData.ownerId === s.id);
|
|
95
|
+
this.serviceData = [];
|
|
96
|
+
let t = { name: a, fkEntityName: this.fkEntityName };
|
|
97
|
+
return u(t).then((s) => {
|
|
98
|
+
if (this.loading = !1, s.code === 200) {
|
|
99
|
+
const n = s.data.filter((i) => {
|
|
100
|
+
const o = i.statecodes === void 0 ? 1 : i.statecodes;
|
|
101
|
+
return this.ruleFormData.ownerId !== i.id && o === 1;
|
|
102
|
+
});
|
|
103
|
+
this.serviceData = e.concat(n);
|
|
104
|
+
}
|
|
105
|
+
return s.data;
|
|
106
|
+
});
|
|
107
|
+
},
|
|
108
|
+
closed() {
|
|
109
|
+
this.fullscreen = !1, this.visible = !1, this.show = !1;
|
|
110
|
+
},
|
|
111
|
+
toggleFullscreen() {
|
|
112
|
+
this.fullscreen = !this.fullscreen;
|
|
113
|
+
},
|
|
114
|
+
doEvent(a) {
|
|
115
|
+
const e = a.item.functionName;
|
|
116
|
+
this[e] && this[e]();
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
var m = function() {
|
|
121
|
+
var e = this, t = e._self._c;
|
|
122
|
+
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, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(s) {
|
|
123
|
+
e.visible = s;
|
|
124
|
+
}, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.title, 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" }] }, [t("el-alert", { attrs: { title: e.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), type: "warning", description: e.message, "show-icon": "", closable: !1 } }), t("el-form", { ref: "ruleForm", staticStyle: { margin: "12px 12px 0 0" }, attrs: { "label-width": "130px", model: e.ruleFormData, rules: e.rules }, nativeOn: { submit: function(s) {
|
|
125
|
+
s.preventDefault();
|
|
126
|
+
} } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.https.assignedTo", "\u5206\u6D3E\u5BF9\u8C61"), prop: "ownerId" } }, [t("div", { staticClass: "cao_about" }, [t("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), loading: e.loading, "reserve-keyword": "", filterable: "", remote: "", clearable: "", "remote-method": e.searchData, "collapse-tags": !0 }, model: { value: e.ruleFormData.ownerId, callback: function(s) {
|
|
127
|
+
e.$set(e.ruleFormData, "ownerId", s);
|
|
128
|
+
}, expression: "ruleFormData.ownerId" } }, e._l(e.serviceData, function(s) {
|
|
129
|
+
return t("el-option", { key: s.id, attrs: { label: s.name, value: s.id } });
|
|
130
|
+
}), 1), t("div", { staticClass: "cao_setting", on: { click: e.lookup } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1)])], 1)], 1)], 2), t("gd-search", { ref: "viewSearch", on: { lookupSeled: e.lookupSeled } })], 1);
|
|
131
|
+
}, f = [], g = /* @__PURE__ */ c(
|
|
132
|
+
h,
|
|
133
|
+
m,
|
|
134
|
+
f,
|
|
135
|
+
!1,
|
|
136
|
+
null,
|
|
137
|
+
"85864215",
|
|
138
|
+
null,
|
|
139
|
+
null
|
|
140
|
+
);
|
|
141
|
+
const r = g.exports;
|
|
142
|
+
r.install = function(a) {
|
|
143
|
+
a.component(r.name, r);
|
|
144
|
+
};
|
|
145
|
+
export {
|
|
146
|
+
r as default
|
|
147
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./components.chartbi.3bbac955.js"),n=require("./http.main.2f8a6936.js");require("./utils.echarts.js.461a74e7.js");require("./utils.util.js.c0ba699b.js");const d={name:"GdDataAssign",props:{tableData:{type:Object,default:()=>({})}},data(){return{buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],record:[],visible:!1,confirmLoading:!1,fullscreen:!1,width:"600px",fkEntityName:"sys_user",loading:!1,serviceData:[],ruleFormData:{ownerId:""},rules:{ownerId:[{required:!0,message:this.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9"),trigger:"change"}]}}},computed:{message(){return`${this.$i18nt("gd.https.assignMsgl","\u60A8\u5DF2\u9009\u62E9")} ${this.record.length} ${this.$i18nt("gd.https.assignMsgr","\u6761\u6570\u636E\uFF0C\u8981\u5C06\u5B83\u5206\u6D3E\u7ED9\u8C01?")}`},title(){return`${this.$i18nt("gd.https.assign","\u5206\u6D3E")} (${this.$i18nt(`Dynamics.${this.tableData.transkey}`,this.tableData.busname)})`},...o.mapGetters(["screenHeight","tableLists","userInfo"])},methods:{handleSubmit(){this.confirmLoading=!0,this.$refs.ruleForm.validate(a=>{if(a){const e={tableId:this.tableData.id,ids:this.record.join(","),ownerId:this.ruleFormData.ownerId};n.baseAssign(e).then(t=>{t.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.closed(),this.$emit("ok",e)):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+t.message),this.confirmLoading=!1})}else this.confirmLoading=!1})},lookup(){this.$refs.viewSearch.open({fkEntityName:this.fkEntityName,effectType:"fk",val:this.ruleFormData.ownerId})},lookupSeled(a){this.serviceData=[...a.fkData],this.ruleFormData.ownerId=a.data[0]?a.data[0]:""},open(a){this.confirmLoading=!0,this.record=[...a],this.visible=!0,this.searchData("").then(e=>{this.serviceData.filter(s=>s.id===this.userInfo.id)[0]||(this.serviceData=[{name:this.userInfo.name,id:this.userInfo.id}].concat(this.serviceData)),this.ruleFormData.ownerId=this.userInfo.id,this.confirmLoading=!1})},searchData(a){this.loading=!0;const e=this.serviceData.filter(s=>this.ruleFormData.ownerId===s.id);this.serviceData=[];let t={name:a,fkEntityName:this.fkEntityName};return n.baseFkList(t).then(s=>{if(this.loading=!1,s.code===200){const l=s.data.filter(r=>{const c=r.statecodes===void 0?1:r.statecodes;return this.ruleFormData.ownerId!==r.id&&c===1});this.serviceData=e.concat(l)}return s.data})},closed(){this.fullscreen=!1,this.visible=!1,this.show=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(a){const e=a.item.functionName;this[e]&&this[e]()}}};var u=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,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1},on:{"update:visible":function(s){e.visible=s},closed:e.closed}},[t("template",{slot:"title"},[t("gd-modal-title",{attrs:{title:e.title,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"}]},[t("el-alert",{attrs:{title:e.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),type:"warning",description:e.message,"show-icon":"",closable:!1}}),t("el-form",{ref:"ruleForm",staticStyle:{margin:"12px 12px 0 0"},attrs:{"label-width":"130px",model:e.ruleFormData,rules:e.rules},nativeOn:{submit:function(s){s.preventDefault()}}},[t("el-form-item",{attrs:{label:e.$i18nt("gd.https.assignedTo","\u5206\u6D3E\u5BF9\u8C61"),prop:"ownerId"}},[t("div",{staticClass:"cao_about"},[t("el-select",{staticClass:"cao_input",attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),loading:e.loading,"reserve-keyword":"",filterable:"",remote:"",clearable:"","remote-method":e.searchData,"collapse-tags":!0},model:{value:e.ruleFormData.ownerId,callback:function(s){e.$set(e.ruleFormData,"ownerId",s)},expression:"ruleFormData.ownerId"}},e._l(e.serviceData,function(s){return t("el-option",{key:s.id,attrs:{label:s.name,value:s.id}})}),1),t("div",{staticClass:"cao_setting",on:{click:e.lookup}},[t("i",{staticClass:"el-input__icon el-icon-search"})])],1)])],1)],1)],2),t("gd-search",{ref:"viewSearch",on:{lookupSeled:e.lookupSeled}})],1)},h=[],f=o.normalizeComponent(d,u,h,!1,null,"85864215",null,null);const i=f.exports;i.install=function(a){a.component(i.name,i)};exports.default=i;
|