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
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as he, m as _e } from "./components.chartbi.
|
|
1
|
+
import { n as he, m as _e } from "./components.chartbi.7356b244.mjs";
|
|
2
2
|
import { s as Oe } from "./http.filemanage.c0de21d6.mjs";
|
|
3
|
-
import "./utils.util.js.
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import "./utils.util.js.333daba2.mjs";
|
|
4
|
+
import { a as Ee } from "./http.main.aefea27d.mjs";
|
|
5
|
+
import { s as ke } from "./http.tabledevelopment.3dcb3e97.mjs";
|
|
6
6
|
var me = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
7
|
-
function
|
|
8
|
-
return
|
|
7
|
+
function Xe(W) {
|
|
8
|
+
return W && W.__esModule && Object.prototype.hasOwnProperty.call(W, "default") ? W.default : W;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
11
|
-
var E =
|
|
10
|
+
function Je(W) {
|
|
11
|
+
var E = W.default;
|
|
12
12
|
if (typeof E == "function") {
|
|
13
13
|
var L = function() {
|
|
14
14
|
return E.apply(this, arguments);
|
|
@@ -16,110 +16,221 @@ function Ye(G) {
|
|
|
16
16
|
L.prototype = E.prototype;
|
|
17
17
|
} else
|
|
18
18
|
L = {};
|
|
19
|
-
return Object.defineProperty(L, "__esModule", { value: !0 }), Object.keys(
|
|
20
|
-
var h = Object.getOwnPropertyDescriptor(
|
|
21
|
-
Object.defineProperty(L,
|
|
19
|
+
return Object.defineProperty(L, "__esModule", { value: !0 }), Object.keys(W).forEach(function(s) {
|
|
20
|
+
var h = Object.getOwnPropertyDescriptor(W, s);
|
|
21
|
+
Object.defineProperty(L, s, h.get ? h : {
|
|
22
22
|
enumerable: !0,
|
|
23
23
|
get: function() {
|
|
24
|
-
return
|
|
24
|
+
return W[s];
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
}), L;
|
|
28
28
|
}
|
|
29
29
|
const we = {
|
|
30
|
+
name: "GdEditForm",
|
|
30
31
|
props: {
|
|
31
|
-
|
|
32
|
-
type:
|
|
33
|
-
default:
|
|
32
|
+
width: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: "800px"
|
|
34
35
|
},
|
|
35
|
-
|
|
36
|
-
type:
|
|
37
|
-
|
|
36
|
+
transKey: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: ""
|
|
38
39
|
},
|
|
39
|
-
|
|
40
|
+
title: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: "\u6807\u9898"
|
|
43
|
+
},
|
|
44
|
+
labelWidth: {
|
|
45
|
+
type: String,
|
|
46
|
+
default: "140px"
|
|
47
|
+
},
|
|
48
|
+
size: {
|
|
49
|
+
type: String,
|
|
50
|
+
default: "small"
|
|
51
|
+
},
|
|
52
|
+
inline: {
|
|
40
53
|
type: Boolean,
|
|
41
54
|
default: !1
|
|
42
55
|
},
|
|
43
|
-
|
|
56
|
+
formWidth: {
|
|
57
|
+
type: String,
|
|
58
|
+
default: "100%"
|
|
59
|
+
},
|
|
60
|
+
formItemWidth: {
|
|
61
|
+
type: String,
|
|
62
|
+
default: "100%"
|
|
63
|
+
},
|
|
64
|
+
loading: {
|
|
65
|
+
type: Boolean,
|
|
66
|
+
default: !1
|
|
67
|
+
},
|
|
68
|
+
buttons: {
|
|
69
|
+
type: Array,
|
|
70
|
+
default: () => []
|
|
71
|
+
},
|
|
72
|
+
columns: {
|
|
73
|
+
type: Array,
|
|
74
|
+
default: () => []
|
|
75
|
+
},
|
|
76
|
+
defaultProps: {
|
|
77
|
+
type: Object,
|
|
78
|
+
default: () => ({
|
|
79
|
+
children: "children",
|
|
80
|
+
label: "title",
|
|
81
|
+
value: "value"
|
|
82
|
+
})
|
|
83
|
+
},
|
|
84
|
+
labelPosition: {
|
|
85
|
+
type: String,
|
|
86
|
+
default: "right"
|
|
87
|
+
},
|
|
88
|
+
needLoad: {
|
|
44
89
|
type: Boolean,
|
|
45
90
|
default: !1
|
|
91
|
+
},
|
|
92
|
+
formMode: {
|
|
93
|
+
type: String,
|
|
94
|
+
default: "dialog"
|
|
46
95
|
}
|
|
47
96
|
},
|
|
97
|
+
components: { childRenColumn: () => Promise.resolve().then(() => Re) },
|
|
48
98
|
data() {
|
|
49
99
|
return {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
100
|
+
record: null,
|
|
101
|
+
confirmLoading: !1,
|
|
102
|
+
visible: !1,
|
|
103
|
+
fullscreen: !1,
|
|
104
|
+
ruleFormData: {}
|
|
53
105
|
};
|
|
54
106
|
},
|
|
107
|
+
watch: {
|
|
108
|
+
loading(W) {
|
|
109
|
+
this.confirmLoading = W;
|
|
110
|
+
}
|
|
111
|
+
},
|
|
55
112
|
computed: {
|
|
56
|
-
|
|
57
|
-
|
|
113
|
+
getColumns() {
|
|
114
|
+
let W = [...this.columns];
|
|
115
|
+
return W.filter((E) => (E.rules.filter((L) => (L.oldMessage === void 0 && (L.oldMessage = L.message), L.message = this.$i18nt(L.transKey, L.message), !0)), !0)), [...W];
|
|
58
116
|
},
|
|
59
|
-
|
|
60
|
-
return this.
|
|
117
|
+
headTitle() {
|
|
118
|
+
return this.$i18nt(this.transKey, this.title);
|
|
119
|
+
},
|
|
120
|
+
style() {
|
|
121
|
+
return `width:${this.formWidth};margin: 0 auto;min-height:400px;--form-inline-wid:calc(100% - ${this.labelWidth})`;
|
|
122
|
+
},
|
|
123
|
+
istyle() {
|
|
124
|
+
return this.inline ? `width:50%;padding-left:0px;margin:${this.formMode === "dialog" ? "0 auto" : "7px auto"} ;` : this.formMode === "dialog" ? `width:${this.formItemWidth};margin: 0 auto;` : `width:${this.formItemWidth};margin: 14px auto;`;
|
|
61
125
|
}
|
|
62
126
|
},
|
|
63
127
|
methods: {
|
|
64
|
-
|
|
65
|
-
|
|
128
|
+
init() {
|
|
129
|
+
return new Promise((W, E) => {
|
|
130
|
+
this.$nextTick(() => {
|
|
131
|
+
setTimeout(() => {
|
|
132
|
+
const L = this.record && typeof this.record == "object" ? this.record : {};
|
|
133
|
+
let s = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map();
|
|
134
|
+
this.columns.forEach((N) => {
|
|
135
|
+
if (!(N.type === "slot" && (N.slotType === "none" || N.slotType === "divider")))
|
|
136
|
+
if (["input", "textarea", "image", "file", "editor"].includes(N.effectType))
|
|
137
|
+
s.set(N.prop, N.defaultValue !== void 0 ? N.defaultValue : "");
|
|
138
|
+
else if (["fk", "user", "select", "radio"].includes(N.effectType))
|
|
139
|
+
s.set(N.prop, N.defaultValue !== void 0 ? N.defaultValue : "");
|
|
140
|
+
else if (["participants", "checkbox"].includes(N.effectType))
|
|
141
|
+
s.set(N.prop, N.defaultValue !== void 0 ? N.defaultValue : []);
|
|
142
|
+
else if (["switch"].includes(N.effectType)) {
|
|
143
|
+
const w = N.defaultValue !== void 0 ? N.defaultValue : !1, O = L[N.prop] === void 0 ? w : L[N.prop] == 1;
|
|
144
|
+
s.set(N.prop, O), h.set(N.prop, O);
|
|
145
|
+
} else
|
|
146
|
+
["inputnumber", "currency", "double"].includes(N.effectType) ? s.set(N.prop, N.defaultValue !== void 0 ? N.defaultValue === "undefined" ? void 0 : N.defaultValue : void 0) : s.set(N.prop, N.defaultValue !== void 0 ? N.defaultValue : "");
|
|
147
|
+
}), this.ruleFormData = Object.assign(Object.fromEntries(s), { ...L }, Object.fromEntries(h)), this.$refs.ruleForm && this.$refs.ruleForm.resetFields(), W(this.ruleFormData);
|
|
148
|
+
}, 0);
|
|
149
|
+
});
|
|
150
|
+
});
|
|
66
151
|
},
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
152
|
+
setData(W) {
|
|
153
|
+
this.$nextTick(() => {
|
|
154
|
+
setTimeout(() => {
|
|
155
|
+
const E = W || {};
|
|
156
|
+
this.ruleFormData = Object.assign({ ...this.ruleFormData }, { ...E }), this.$refs.ruleForm.resetFields();
|
|
157
|
+
}, 0);
|
|
73
158
|
});
|
|
74
159
|
},
|
|
75
|
-
|
|
76
|
-
this.
|
|
160
|
+
toggleFullscreen() {
|
|
161
|
+
this.fullscreen = !this.fullscreen;
|
|
77
162
|
},
|
|
78
|
-
|
|
79
|
-
this.
|
|
163
|
+
async open(W) {
|
|
164
|
+
if (this.confirmLoading = !0, this.record = W ? { ...W } : null, this.visible = !0, await this.init(), setTimeout(() => {
|
|
165
|
+
this.confirmLoading = !1;
|
|
166
|
+
}, 100), this.needLoad)
|
|
167
|
+
return new Promise((E, L) => {
|
|
168
|
+
E({ instance: this, done: this.setData });
|
|
169
|
+
});
|
|
80
170
|
},
|
|
81
|
-
|
|
82
|
-
this.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
171
|
+
openHand(W) {
|
|
172
|
+
if (this.confirmLoading = !0, this.record = W ? { ...W } : null, this.visible = !0, setTimeout(() => {
|
|
173
|
+
this.confirmLoading = !1;
|
|
174
|
+
}, 100), this.needLoad)
|
|
175
|
+
return new Promise((E, L) => {
|
|
176
|
+
E({ instance: this, done: this.setData });
|
|
177
|
+
});
|
|
178
|
+
},
|
|
179
|
+
closed() {
|
|
180
|
+
this.$refs.ruleForm && this.$refs.ruleForm.resetFields(), this.fullscreen = !1, this.visible = !1, this.record = null;
|
|
181
|
+
},
|
|
182
|
+
handleSubmit(W) {
|
|
183
|
+
W.item.functionName, this.$refs.ruleForm.validate((E, L) => {
|
|
184
|
+
if (E) {
|
|
185
|
+
let s = { ...this.ruleFormData };
|
|
186
|
+
this.columns.forEach((h) => {
|
|
187
|
+
["switch"].includes(h.effectType) && s[h.prop] !== void 0 && (s[h.prop] = s[h.prop] ? 1 : 0);
|
|
188
|
+
}), this.$emit("sbumit", { data: Object.assign({}, { ...s }), record: this.record, btn: W }, this, this.closed);
|
|
93
189
|
}
|
|
94
190
|
});
|
|
95
191
|
},
|
|
96
|
-
|
|
97
|
-
|
|
192
|
+
doEvent(W) {
|
|
193
|
+
if (W.item.validate) {
|
|
194
|
+
this.handleSubmit(W);
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
this.$emit("sbumit", { data: Object.assign({}, { ...this.ruleFormData }), record: this.record, btn: W }, this, this.closed);
|
|
198
|
+
},
|
|
199
|
+
selectFk(W) {
|
|
200
|
+
this.$emit("selectFk", W);
|
|
98
201
|
}
|
|
99
|
-
},
|
|
100
|
-
mounted() {
|
|
101
|
-
this.column.setData = this.setData;
|
|
102
202
|
}
|
|
103
203
|
};
|
|
104
204
|
var Te = function() {
|
|
105
205
|
var E = this, L = E._self._c;
|
|
106
|
-
return L("div",
|
|
107
|
-
E
|
|
108
|
-
},
|
|
109
|
-
|
|
110
|
-
}
|
|
206
|
+
return L("div", [E.formMode === "dialog" ? L("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) {
|
|
207
|
+
E.visible = s;
|
|
208
|
+
}, closed: E.closed } }, [L("gd-modal-title", { attrs: { slot: "title", title: E.headTitle, fullscreen: E.fullscreen, buttons: E.buttons, confirmLoading: E.confirmLoading, emitFun: !0, showClose: !0 }, on: { changeEvent: E.doEvent, toggleFullscreen: E.toggleFullscreen, close: E.closed }, slot: "title" }), E.visible ? L("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: E.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", class: `gd-form gd-form-${E.inline}`, style: E.style, attrs: { model: E.ruleFormData, "label-width": E.labelWidth, "label-position": E.labelPosition, size: E.size, inline: E.inline }, nativeOn: { submit: function(s) {
|
|
209
|
+
s.preventDefault();
|
|
210
|
+
} } }, [E._l(E.getColumns, function(s, h) {
|
|
211
|
+
return [s.type === "slot" && s.slotType === "none" ? L("el-form-item", { style: E.istyle, attrs: { label: "" } }) : s.type === "slot" && s.slotType === "divider" ? L("el-divider") : L("el-form-item", { style: E.istyle, attrs: { prop: s.prop, rules: s.rules } }, [L("span", { attrs: { slot: "label", title: E.$i18nt(s.transKey, s.label) }, slot: "label" }, [E._v(" " + E._s(E.$i18nt(s.transKey, s.label)) + " ")]), s.type === "slot" ? E._t(s.slotType, null, { data: E.ruleFormData, column: s, record: E.record }) : L("child-ren-column", { attrs: { ruleFormData: E.ruleFormData, record: s, defaultProps: E.defaultProps, visible: E.visible }, on: { selectFk: E.selectFk } })], 2)];
|
|
212
|
+
})], 2) : E._e()], 1) : L("el-drawer", { attrs: { visible: E.visible, "close-on-press-escape": !1, "append-to-body": !0, "modal-append-to-body": !1, size: E.width, "custom-class": "gd-drawer-form", "show-close": !1 }, on: { "update:visible": function(s) {
|
|
213
|
+
E.visible = s;
|
|
214
|
+
} } }, [L("gd-modal-title", { attrs: { slot: "title", title: E.headTitle, fullscreen: E.fullscreen, buttons: E.buttons, confirmLoading: E.confirmLoading, emitFun: !0, showFullscreen: !1, showClose: !0 }, on: { changeEvent: E.doEvent, close: E.closed }, slot: "title" }), L("div", [E.visible ? L("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: E.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", class: `gd-form gd-form-${E.inline}`, style: E.style, attrs: { model: E.ruleFormData, "label-width": E.labelWidth, "label-position": E.labelPosition, size: E.size, inline: E.inline }, nativeOn: { submit: function(s) {
|
|
215
|
+
s.preventDefault();
|
|
216
|
+
} } }, [E._l(E.getColumns, function(s, h) {
|
|
217
|
+
return [s.type === "slot" && s.slotType === "none" ? L("el-form-item", { style: E.istyle, attrs: { label: "" } }) : s.type === "slot" && s.slotType === "divider" ? L("el-divider") : L("el-form-item", { style: E.istyle, attrs: { label: E.$i18nt(s.transKey, s.label), prop: s.prop, rules: s.rules } }, [L("span", { attrs: { slot: "label", title: E.$i18nt(s.transKey, s.label) }, slot: "label" }, [E._v(" " + E._s(E.$i18nt(s.transKey, s.label)) + " ")]), s.type === "slot" ? E._t(s.slotType, null, { data: E.ruleFormData, column: s }) : L("childRenColumn", { attrs: { ruleFormData: E.ruleFormData, record: s, defaultProps: E.defaultProps, visible: E.visible } })], 2)];
|
|
218
|
+
})], 2) : E._e()], 1)], 1)], 1);
|
|
111
219
|
}, Ae = [], Ne = /* @__PURE__ */ he(
|
|
112
220
|
we,
|
|
113
221
|
Te,
|
|
114
222
|
Ae,
|
|
115
223
|
!1,
|
|
116
224
|
null,
|
|
117
|
-
"
|
|
225
|
+
"7186772d",
|
|
118
226
|
null,
|
|
119
227
|
null
|
|
120
228
|
);
|
|
121
|
-
const
|
|
122
|
-
|
|
229
|
+
const pe = Ne.exports;
|
|
230
|
+
pe.install = function(W) {
|
|
231
|
+
W.component(pe.name, pe);
|
|
232
|
+
};
|
|
233
|
+
var ge = { exports: {} }, ve = { exports: {} };
|
|
123
234
|
/*!
|
|
124
235
|
* Quill Editor v1.3.7
|
|
125
236
|
* https://quilljs.com/
|
|
@@ -127,24 +238,24 @@ var ge = { exports: {} }, pe = { exports: {} };
|
|
|
127
238
|
* Copyright (c) 2013, salesforce.com
|
|
128
239
|
*/
|
|
129
240
|
var ye;
|
|
130
|
-
function
|
|
131
|
-
return ye || (ye = 1, function(
|
|
132
|
-
(function(
|
|
133
|
-
|
|
241
|
+
function xe() {
|
|
242
|
+
return ye || (ye = 1, function(W, E) {
|
|
243
|
+
(function(s, h) {
|
|
244
|
+
W.exports = h();
|
|
134
245
|
})(typeof self < "u" ? self : me, function() {
|
|
135
246
|
return function(L) {
|
|
136
|
-
var
|
|
247
|
+
var s = {};
|
|
137
248
|
function h(N) {
|
|
138
|
-
if (
|
|
139
|
-
return
|
|
140
|
-
var w =
|
|
249
|
+
if (s[N])
|
|
250
|
+
return s[N].exports;
|
|
251
|
+
var w = s[N] = {
|
|
141
252
|
i: N,
|
|
142
253
|
l: !1,
|
|
143
254
|
exports: {}
|
|
144
255
|
};
|
|
145
256
|
return L[N].call(w.exports, w, w.exports, h), w.l = !0, w.exports;
|
|
146
257
|
}
|
|
147
|
-
return h.m = L, h.c =
|
|
258
|
+
return h.m = L, h.c = s, h.d = function(N, w, O) {
|
|
148
259
|
h.o(N, w) || Object.defineProperty(N, w, {
|
|
149
260
|
configurable: !1,
|
|
150
261
|
enumerable: !0,
|
|
@@ -161,8 +272,8 @@ function Se() {
|
|
|
161
272
|
return Object.prototype.hasOwnProperty.call(N, w);
|
|
162
273
|
}, h.p = "", h(h.s = 109);
|
|
163
274
|
}([
|
|
164
|
-
function(L,
|
|
165
|
-
Object.defineProperty(
|
|
275
|
+
function(L, s, h) {
|
|
276
|
+
Object.defineProperty(s, "__esModule", { value: !0 });
|
|
166
277
|
var N = h(17), w = h(18), O = h(19), v = h(45), y = h(46), d = h(47), o = h(48), e = h(49), t = h(12), u = h(32), l = h(33), a = h(31), i = h(1), r = {
|
|
167
278
|
Scope: i.Scope,
|
|
168
279
|
create: i.create,
|
|
@@ -184,52 +295,52 @@ function Se() {
|
|
|
184
295
|
Store: a.default
|
|
185
296
|
}
|
|
186
297
|
};
|
|
187
|
-
|
|
298
|
+
s.default = r;
|
|
188
299
|
},
|
|
189
|
-
function(L,
|
|
300
|
+
function(L, s, h) {
|
|
190
301
|
var N = this && this.__extends || function() {
|
|
191
302
|
var a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
192
303
|
i.__proto__ = r;
|
|
193
304
|
} || function(i, r) {
|
|
194
|
-
for (var
|
|
195
|
-
r.hasOwnProperty(
|
|
305
|
+
for (var f in r)
|
|
306
|
+
r.hasOwnProperty(f) && (i[f] = r[f]);
|
|
196
307
|
};
|
|
197
308
|
return function(i, r) {
|
|
198
309
|
a(i, r);
|
|
199
|
-
function
|
|
310
|
+
function f() {
|
|
200
311
|
this.constructor = i;
|
|
201
312
|
}
|
|
202
|
-
i.prototype = r === null ? Object.create(r) : (
|
|
313
|
+
i.prototype = r === null ? Object.create(r) : (f.prototype = r.prototype, new f());
|
|
203
314
|
};
|
|
204
315
|
}();
|
|
205
|
-
Object.defineProperty(
|
|
316
|
+
Object.defineProperty(s, "__esModule", { value: !0 });
|
|
206
317
|
var w = function(a) {
|
|
207
318
|
N(i, a);
|
|
208
319
|
function i(r) {
|
|
209
|
-
var
|
|
210
|
-
return r = "[Parchment] " + r,
|
|
320
|
+
var f = this;
|
|
321
|
+
return r = "[Parchment] " + r, f = a.call(this, r) || this, f.message = r, f.name = f.constructor.name, f;
|
|
211
322
|
}
|
|
212
323
|
return i;
|
|
213
324
|
}(Error);
|
|
214
|
-
|
|
325
|
+
s.ParchmentError = w;
|
|
215
326
|
var O = {}, v = {}, y = {}, d = {};
|
|
216
|
-
|
|
327
|
+
s.DATA_KEY = "__blot";
|
|
217
328
|
var o;
|
|
218
329
|
(function(a) {
|
|
219
330
|
a[a.TYPE = 3] = "TYPE", a[a.LEVEL = 12] = "LEVEL", a[a.ATTRIBUTE = 13] = "ATTRIBUTE", a[a.BLOT = 14] = "BLOT", a[a.INLINE = 7] = "INLINE", a[a.BLOCK = 11] = "BLOCK", a[a.BLOCK_BLOT = 10] = "BLOCK_BLOT", a[a.INLINE_BLOT = 6] = "INLINE_BLOT", a[a.BLOCK_ATTRIBUTE = 9] = "BLOCK_ATTRIBUTE", a[a.INLINE_ATTRIBUTE = 5] = "INLINE_ATTRIBUTE", a[a.ANY = 15] = "ANY";
|
|
220
|
-
})(o =
|
|
331
|
+
})(o = s.Scope || (s.Scope = {}));
|
|
221
332
|
function e(a, i) {
|
|
222
333
|
var r = u(a);
|
|
223
334
|
if (r == null)
|
|
224
335
|
throw new w("Unable to create " + a + " blot");
|
|
225
|
-
var
|
|
226
|
-
return new
|
|
336
|
+
var f = r, n = a instanceof Node || a.nodeType === Node.TEXT_NODE ? a : f.create(i);
|
|
337
|
+
return new f(n, i);
|
|
227
338
|
}
|
|
228
|
-
|
|
339
|
+
s.create = e;
|
|
229
340
|
function t(a, i) {
|
|
230
|
-
return i === void 0 && (i = !1), a == null ? null : a[
|
|
341
|
+
return i === void 0 && (i = !1), a == null ? null : a[s.DATA_KEY] != null ? a[s.DATA_KEY].blot : i ? t(a.parentNode, i) : null;
|
|
231
342
|
}
|
|
232
|
-
|
|
343
|
+
s.find = t;
|
|
233
344
|
function u(a, i) {
|
|
234
345
|
i === void 0 && (i = o.ANY);
|
|
235
346
|
var r;
|
|
@@ -240,15 +351,15 @@ function Se() {
|
|
|
240
351
|
else if (typeof a == "number")
|
|
241
352
|
a & o.LEVEL & o.BLOCK ? r = d.block : a & o.LEVEL & o.INLINE && (r = d.inline);
|
|
242
353
|
else if (a instanceof HTMLElement) {
|
|
243
|
-
var
|
|
244
|
-
for (var n in
|
|
245
|
-
if (r = v[
|
|
354
|
+
var f = (a.getAttribute("class") || "").split(/\s+/);
|
|
355
|
+
for (var n in f)
|
|
356
|
+
if (r = v[f[n]], r)
|
|
246
357
|
break;
|
|
247
358
|
r = r || y[a.tagName];
|
|
248
359
|
}
|
|
249
360
|
return r == null ? null : i & o.LEVEL & r.scope && i & o.TYPE & r.scope ? r : null;
|
|
250
361
|
}
|
|
251
|
-
|
|
362
|
+
s.query = u;
|
|
252
363
|
function l() {
|
|
253
364
|
for (var a = [], i = 0; i < arguments.length; i++)
|
|
254
365
|
a[i] = arguments[i];
|
|
@@ -267,16 +378,16 @@ function Se() {
|
|
|
267
378
|
Array.isArray(r.tagName) ? r.tagName = r.tagName.map(function(n) {
|
|
268
379
|
return n.toUpperCase();
|
|
269
380
|
}) : r.tagName = r.tagName.toUpperCase();
|
|
270
|
-
var
|
|
271
|
-
|
|
381
|
+
var f = Array.isArray(r.tagName) ? r.tagName : [r.tagName];
|
|
382
|
+
f.forEach(function(n) {
|
|
272
383
|
(y[n] == null || r.className == null) && (y[n] = r);
|
|
273
384
|
});
|
|
274
385
|
}
|
|
275
386
|
return r;
|
|
276
387
|
}
|
|
277
|
-
|
|
388
|
+
s.register = l;
|
|
278
389
|
},
|
|
279
|
-
function(L,
|
|
390
|
+
function(L, s, h) {
|
|
280
391
|
var N = h(51), w = h(11), O = h(3), v = h(20), y = String.fromCharCode(0), d = function(o) {
|
|
281
392
|
Array.isArray(o) ? this.ops = o : o != null && Array.isArray(o.ops) ? this.ops = o.ops : this.ops = [];
|
|
282
393
|
};
|
|
@@ -350,17 +461,17 @@ function Se() {
|
|
|
350
461
|
else if (e.peekType() === "delete")
|
|
351
462
|
i.push(e.next());
|
|
352
463
|
else {
|
|
353
|
-
var r = Math.min(e.peekLength(), t.peekLength()),
|
|
464
|
+
var r = Math.min(e.peekLength(), t.peekLength()), f = e.next(r), n = t.next(r);
|
|
354
465
|
if (typeof n.retain == "number") {
|
|
355
466
|
var c = {};
|
|
356
|
-
typeof
|
|
357
|
-
var A = v.attributes.compose(
|
|
467
|
+
typeof f.retain == "number" ? c.retain = r : c.insert = f.insert;
|
|
468
|
+
var A = v.attributes.compose(f.attributes, n.attributes, typeof f.retain == "number");
|
|
358
469
|
if (A && (c.attributes = A), i.push(c), !t.hasNext() && w(i.ops[i.ops.length - 1], c)) {
|
|
359
470
|
var b = new d(e.rest());
|
|
360
471
|
return i.concat(b).chop();
|
|
361
472
|
}
|
|
362
473
|
} else
|
|
363
|
-
typeof n.delete == "number" && typeof
|
|
474
|
+
typeof n.delete == "number" && typeof f.retain == "number" && i.push(n);
|
|
364
475
|
}
|
|
365
476
|
return i.chop();
|
|
366
477
|
}, d.prototype.concat = function(o) {
|
|
@@ -370,30 +481,30 @@ function Se() {
|
|
|
370
481
|
if (this.ops === o.ops)
|
|
371
482
|
return new d();
|
|
372
483
|
var t = [this, o].map(function(r) {
|
|
373
|
-
return r.map(function(
|
|
374
|
-
if (
|
|
375
|
-
return typeof
|
|
484
|
+
return r.map(function(f) {
|
|
485
|
+
if (f.insert != null)
|
|
486
|
+
return typeof f.insert == "string" ? f.insert : y;
|
|
376
487
|
var n = r === o ? "on" : "with";
|
|
377
488
|
throw new Error("diff() called " + n + " non-document");
|
|
378
489
|
}).join("");
|
|
379
490
|
}), u = new d(), l = N(t[0], t[1], e), a = v.iterator(this.ops), i = v.iterator(o.ops);
|
|
380
491
|
return l.forEach(function(r) {
|
|
381
|
-
for (var
|
|
492
|
+
for (var f = r[1].length; f > 0; ) {
|
|
382
493
|
var n = 0;
|
|
383
494
|
switch (r[0]) {
|
|
384
495
|
case N.INSERT:
|
|
385
|
-
n = Math.min(i.peekLength(),
|
|
496
|
+
n = Math.min(i.peekLength(), f), u.push(i.next(n));
|
|
386
497
|
break;
|
|
387
498
|
case N.DELETE:
|
|
388
|
-
n = Math.min(
|
|
499
|
+
n = Math.min(f, a.peekLength()), a.next(n), u.delete(n);
|
|
389
500
|
break;
|
|
390
501
|
case N.EQUAL:
|
|
391
|
-
n = Math.min(a.peekLength(), i.peekLength(),
|
|
502
|
+
n = Math.min(a.peekLength(), i.peekLength(), f);
|
|
392
503
|
var c = a.next(n), A = i.next(n);
|
|
393
504
|
w(c.insert, A.insert) ? u.retain(n, v.attributes.diff(c.attributes, A.attributes)) : u.push(A).delete(n);
|
|
394
505
|
break;
|
|
395
506
|
}
|
|
396
|
-
|
|
507
|
+
f -= n;
|
|
397
508
|
}
|
|
398
509
|
}), u.chop();
|
|
399
510
|
}, d.prototype.eachLine = function(o, e) {
|
|
@@ -443,7 +554,7 @@ function Se() {
|
|
|
443
554
|
return o;
|
|
444
555
|
}, L.exports = d;
|
|
445
556
|
},
|
|
446
|
-
function(L,
|
|
557
|
+
function(L, s) {
|
|
447
558
|
var h = Object.prototype.hasOwnProperty, N = Object.prototype.toString, w = Object.defineProperty, O = Object.getOwnPropertyDescriptor, v = function(t) {
|
|
448
559
|
return typeof Array.isArray == "function" ? Array.isArray(t) : N.call(t) === "[object Array]";
|
|
449
560
|
}, y = function(t) {
|
|
@@ -473,18 +584,18 @@ function Se() {
|
|
|
473
584
|
return t[u];
|
|
474
585
|
};
|
|
475
586
|
L.exports = function e() {
|
|
476
|
-
var t, u, l, a, i, r,
|
|
477
|
-
for (typeof
|
|
587
|
+
var t, u, l, a, i, r, f = arguments[0], n = 1, c = arguments.length, A = !1;
|
|
588
|
+
for (typeof f == "boolean" && (A = f, f = arguments[1] || {}, n = 2), (f == null || typeof f != "object" && typeof f != "function") && (f = {}); n < c; ++n)
|
|
478
589
|
if (t = arguments[n], t != null)
|
|
479
590
|
for (u in t)
|
|
480
|
-
l = o(
|
|
481
|
-
return
|
|
591
|
+
l = o(f, u), a = o(t, u), f !== a && (A && a && (y(a) || (i = v(a))) ? (i ? (i = !1, r = l && v(l) ? l : []) : r = l && y(l) ? l : {}, d(f, { name: u, newValue: e(A, r, a) })) : typeof a < "u" && d(f, { name: u, newValue: a }));
|
|
592
|
+
return f;
|
|
482
593
|
};
|
|
483
594
|
},
|
|
484
|
-
function(L,
|
|
485
|
-
Object.defineProperty(
|
|
595
|
+
function(L, s, h) {
|
|
596
|
+
Object.defineProperty(s, "__esModule", {
|
|
486
597
|
value: !0
|
|
487
|
-
}),
|
|
598
|
+
}), s.default = s.BlockEmbed = s.bubbleFormats = void 0;
|
|
488
599
|
var N = function() {
|
|
489
600
|
function p(m, T) {
|
|
490
601
|
for (var S = 0; S < T.length; S++) {
|
|
@@ -507,8 +618,8 @@ function Se() {
|
|
|
507
618
|
var C = R.get;
|
|
508
619
|
return C === void 0 ? void 0 : C.call(S);
|
|
509
620
|
}
|
|
510
|
-
}, O = h(3), v =
|
|
511
|
-
function
|
|
621
|
+
}, O = h(3), v = f(O), y = h(2), d = f(y), o = h(0), e = f(o), t = h(16), u = f(t), l = h(6), a = f(l), i = h(7), r = f(i);
|
|
622
|
+
function f(p) {
|
|
512
623
|
return p && p.__esModule ? p : { default: p };
|
|
513
624
|
}
|
|
514
625
|
function n(p, m) {
|
|
@@ -596,12 +707,12 @@ function Se() {
|
|
|
596
707
|
return w(m.prototype.__proto__ || Object.getPrototypeOf(m.prototype), "insertAt", this).call(this, S, R, B);
|
|
597
708
|
if (R.length !== 0) {
|
|
598
709
|
var C = R.split(`
|
|
599
|
-
`),
|
|
600
|
-
|
|
710
|
+
`), Z = C.shift();
|
|
711
|
+
Z.length > 0 && (S < this.length() - 1 || this.children.tail == null ? w(m.prototype.__proto__ || Object.getPrototypeOf(m.prototype), "insertAt", this).call(this, Math.min(S, this.length() - 1), Z) : this.children.tail.insertAt(this.children.tail.length(), Z), this.cache = {});
|
|
601
712
|
var F = this;
|
|
602
713
|
C.reduce(function(j, k) {
|
|
603
714
|
return F = F.split(j, !0), F.insertAt(0, k), k.length;
|
|
604
|
-
}, S +
|
|
715
|
+
}, S + Z.length);
|
|
605
716
|
}
|
|
606
717
|
}
|
|
607
718
|
}, {
|
|
@@ -654,12 +765,12 @@ function Se() {
|
|
|
654
765
|
var m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
655
766
|
return p == null || (typeof p.formats == "function" && (m = (0, v.default)(m, p.formats())), p.parent == null || p.parent.blotName == "scroll" || p.parent.statics.scope !== p.statics.scope) ? m : g(p.parent, m);
|
|
656
767
|
}
|
|
657
|
-
|
|
768
|
+
s.bubbleFormats = g, s.BlockEmbed = _, s.default = x;
|
|
658
769
|
},
|
|
659
|
-
function(L,
|
|
660
|
-
Object.defineProperty(
|
|
770
|
+
function(L, s, h) {
|
|
771
|
+
Object.defineProperty(s, "__esModule", {
|
|
661
772
|
value: !0
|
|
662
|
-
}),
|
|
773
|
+
}), s.default = s.overload = s.expandConfig = void 0;
|
|
663
774
|
var N = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(F) {
|
|
664
775
|
return typeof F;
|
|
665
776
|
} : function(F) {
|
|
@@ -701,7 +812,7 @@ function Se() {
|
|
|
701
812
|
};
|
|
702
813
|
}();
|
|
703
814
|
h(50);
|
|
704
|
-
var v = h(2), y = g(v), d = h(14), o = g(d), e = h(8), t = g(e), u = h(9), l = g(u), a = h(0), i = g(a), r = h(15),
|
|
815
|
+
var v = h(2), y = g(v), d = h(14), o = g(d), e = h(8), t = g(e), u = h(9), l = g(u), a = h(0), i = g(a), r = h(15), f = g(r), n = h(3), c = g(n), A = h(10), b = g(A), _ = h(34), x = g(_);
|
|
705
816
|
function g(F) {
|
|
706
817
|
return F && F.__esModule ? F : { default: F };
|
|
707
818
|
}
|
|
@@ -750,7 +861,7 @@ function Se() {
|
|
|
750
861
|
this.container.classList.add("ql-container"), this.container.innerHTML = "", this.container.__quill = this, this.root = this.addContainer("ql-editor"), this.root.classList.add("ql-blank"), this.root.setAttribute("data-gramm", !1), this.scrollingContainer = this.options.scrollingContainer || this.root, this.emitter = new t.default(), this.scroll = i.default.create(this.root, {
|
|
751
862
|
emitter: this.emitter,
|
|
752
863
|
whitelist: this.options.formats
|
|
753
|
-
}), this.editor = new o.default(this.scroll), this.selection = new
|
|
864
|
+
}), this.editor = new o.default(this.scroll), this.selection = new f.default(this.scroll, this.emitter), this.theme = new this.options.theme(this, this.options), this.keyboard = this.theme.addModule("keyboard"), this.clipboard = this.theme.addModule("clipboard"), this.history = this.theme.addModule("history"), this.theme.init(), this.emitter.on(t.default.events.EDITOR_CHANGE, function(M) {
|
|
754
865
|
M === t.default.events.TEXT_CHANGE && k.root.classList.toggle("ql-blank", k.editor.isBlank());
|
|
755
866
|
}), this.emitter.on(t.default.events.SCROLL_UPDATE, function(M, P) {
|
|
756
867
|
var I = k.selection.lastRange, $ = I && I.length === 0 ? I.index : void 0;
|
|
@@ -1058,7 +1169,7 @@ function Se() {
|
|
|
1058
1169
|
if (this.options.strict && !this.isEnabled() && j === t.default.sources.USER)
|
|
1059
1170
|
return new y.default();
|
|
1060
1171
|
var D = k == null ? null : this.getSelection(), U = this.editor.delta, M = F();
|
|
1061
|
-
if (D != null && (k === !0 && (k = D.index), q == null ? D =
|
|
1172
|
+
if (D != null && (k === !0 && (k = D.index), q == null ? D = Z(D, M, j) : q !== 0 && (D = Z(D, k, q, j)), this.setSelection(D, t.default.sources.SILENT)), M.length() > 0) {
|
|
1062
1173
|
var P, I = [t.default.events.TEXT_CHANGE, M, U, j];
|
|
1063
1174
|
if ((P = this.emitter).emit.apply(P, [t.default.events.EDITOR_CHANGE].concat(I)), j !== t.default.sources.SILENT) {
|
|
1064
1175
|
var $;
|
|
@@ -1071,7 +1182,7 @@ function Se() {
|
|
|
1071
1182
|
var U = {};
|
|
1072
1183
|
return typeof F.index == "number" && typeof F.length == "number" ? typeof j != "number" ? (D = q, q = k, k = j, j = F.length, F = F.index) : (j = F.length, F = F.index) : typeof j != "number" && (D = q, q = k, k = j, j = 0), (typeof k > "u" ? "undefined" : N(k)) === "object" ? (U = k, D = q) : typeof k == "string" && (q != null ? U[k] = q : D = k), D = D || t.default.sources.API, [F, j, U, D];
|
|
1073
1184
|
}
|
|
1074
|
-
function
|
|
1185
|
+
function Z(F, j, k, q) {
|
|
1075
1186
|
if (F == null)
|
|
1076
1187
|
return null;
|
|
1077
1188
|
var D = void 0, U = void 0;
|
|
@@ -1088,33 +1199,33 @@ function Se() {
|
|
|
1088
1199
|
}
|
|
1089
1200
|
return new r.Range(D, U - D);
|
|
1090
1201
|
}
|
|
1091
|
-
|
|
1202
|
+
s.expandConfig = R, s.overload = C, s.default = S;
|
|
1092
1203
|
},
|
|
1093
|
-
function(L,
|
|
1094
|
-
Object.defineProperty(
|
|
1204
|
+
function(L, s, h) {
|
|
1205
|
+
Object.defineProperty(s, "__esModule", {
|
|
1095
1206
|
value: !0
|
|
1096
1207
|
});
|
|
1097
1208
|
var N = function() {
|
|
1098
1209
|
function a(i, r) {
|
|
1099
|
-
for (var
|
|
1100
|
-
var n = r[
|
|
1210
|
+
for (var f = 0; f < r.length; f++) {
|
|
1211
|
+
var n = r[f];
|
|
1101
1212
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(i, n.key, n);
|
|
1102
1213
|
}
|
|
1103
1214
|
}
|
|
1104
|
-
return function(i, r,
|
|
1105
|
-
return r && a(i.prototype, r),
|
|
1215
|
+
return function(i, r, f) {
|
|
1216
|
+
return r && a(i.prototype, r), f && a(i, f), i;
|
|
1106
1217
|
};
|
|
1107
|
-
}(), w = function a(i, r,
|
|
1218
|
+
}(), w = function a(i, r, f) {
|
|
1108
1219
|
i === null && (i = Function.prototype);
|
|
1109
1220
|
var n = Object.getOwnPropertyDescriptor(i, r);
|
|
1110
1221
|
if (n === void 0) {
|
|
1111
1222
|
var c = Object.getPrototypeOf(i);
|
|
1112
|
-
return c === null ? void 0 : a(c, r,
|
|
1223
|
+
return c === null ? void 0 : a(c, r, f);
|
|
1113
1224
|
} else {
|
|
1114
1225
|
if ("value" in n)
|
|
1115
1226
|
return n.value;
|
|
1116
1227
|
var A = n.get;
|
|
1117
|
-
return A === void 0 ? void 0 : A.call(
|
|
1228
|
+
return A === void 0 ? void 0 : A.call(f);
|
|
1118
1229
|
}
|
|
1119
1230
|
}, O = h(7), v = o(O), y = h(0), d = o(y);
|
|
1120
1231
|
function o(a) {
|
|
@@ -1141,26 +1252,26 @@ function Se() {
|
|
|
1141
1252
|
}
|
|
1142
1253
|
return N(i, [{
|
|
1143
1254
|
key: "formatAt",
|
|
1144
|
-
value: function(
|
|
1255
|
+
value: function(f, n, c, A) {
|
|
1145
1256
|
if (i.compare(this.statics.blotName, c) < 0 && d.default.query(c, d.default.Scope.BLOT)) {
|
|
1146
|
-
var b = this.isolate(
|
|
1257
|
+
var b = this.isolate(f, n);
|
|
1147
1258
|
A && b.wrap(c, A);
|
|
1148
1259
|
} else
|
|
1149
|
-
w(i.prototype.__proto__ || Object.getPrototypeOf(i.prototype), "formatAt", this).call(this,
|
|
1260
|
+
w(i.prototype.__proto__ || Object.getPrototypeOf(i.prototype), "formatAt", this).call(this, f, n, c, A);
|
|
1150
1261
|
}
|
|
1151
1262
|
}, {
|
|
1152
1263
|
key: "optimize",
|
|
1153
|
-
value: function(
|
|
1154
|
-
if (w(i.prototype.__proto__ || Object.getPrototypeOf(i.prototype), "optimize", this).call(this,
|
|
1264
|
+
value: function(f) {
|
|
1265
|
+
if (w(i.prototype.__proto__ || Object.getPrototypeOf(i.prototype), "optimize", this).call(this, f), this.parent instanceof i && i.compare(this.statics.blotName, this.parent.statics.blotName) > 0) {
|
|
1155
1266
|
var n = this.parent.isolate(this.offset(), this.length());
|
|
1156
1267
|
this.moveChildren(n), n.wrap(this);
|
|
1157
1268
|
}
|
|
1158
1269
|
}
|
|
1159
1270
|
}], [{
|
|
1160
1271
|
key: "compare",
|
|
1161
|
-
value: function(
|
|
1162
|
-
var c = i.order.indexOf(
|
|
1163
|
-
return c >= 0 || A >= 0 ? c - A :
|
|
1272
|
+
value: function(f, n) {
|
|
1273
|
+
var c = i.order.indexOf(f), A = i.order.indexOf(n);
|
|
1274
|
+
return c >= 0 || A >= 0 ? c - A : f === n ? 0 : f < n ? -1 : 1;
|
|
1164
1275
|
}
|
|
1165
1276
|
}]), i;
|
|
1166
1277
|
}(d.default.Inline);
|
|
@@ -1174,10 +1285,10 @@ function Se() {
|
|
|
1174
1285
|
"script",
|
|
1175
1286
|
"link",
|
|
1176
1287
|
"code"
|
|
1177
|
-
],
|
|
1288
|
+
], s.default = l;
|
|
1178
1289
|
},
|
|
1179
|
-
function(L,
|
|
1180
|
-
Object.defineProperty(
|
|
1290
|
+
function(L, s, h) {
|
|
1291
|
+
Object.defineProperty(s, "__esModule", {
|
|
1181
1292
|
value: !0
|
|
1182
1293
|
});
|
|
1183
1294
|
var N = h(0), w = O(N);
|
|
@@ -1205,27 +1316,27 @@ function Se() {
|
|
|
1205
1316
|
}
|
|
1206
1317
|
return t;
|
|
1207
1318
|
}(w.default.Text);
|
|
1208
|
-
|
|
1319
|
+
s.default = o;
|
|
1209
1320
|
},
|
|
1210
|
-
function(L,
|
|
1211
|
-
Object.defineProperty(
|
|
1321
|
+
function(L, s, h) {
|
|
1322
|
+
Object.defineProperty(s, "__esModule", {
|
|
1212
1323
|
value: !0
|
|
1213
1324
|
});
|
|
1214
1325
|
var N = function() {
|
|
1215
|
-
function r(
|
|
1326
|
+
function r(f, n) {
|
|
1216
1327
|
for (var c = 0; c < n.length; c++) {
|
|
1217
1328
|
var A = n[c];
|
|
1218
|
-
A.enumerable = A.enumerable || !1, A.configurable = !0, "value" in A && (A.writable = !0), Object.defineProperty(
|
|
1329
|
+
A.enumerable = A.enumerable || !1, A.configurable = !0, "value" in A && (A.writable = !0), Object.defineProperty(f, A.key, A);
|
|
1219
1330
|
}
|
|
1220
1331
|
}
|
|
1221
|
-
return function(
|
|
1222
|
-
return n && r(
|
|
1332
|
+
return function(f, n, c) {
|
|
1333
|
+
return n && r(f.prototype, n), c && r(f, c), f;
|
|
1223
1334
|
};
|
|
1224
|
-
}(), w = function r(
|
|
1225
|
-
|
|
1226
|
-
var A = Object.getOwnPropertyDescriptor(
|
|
1335
|
+
}(), w = function r(f, n, c) {
|
|
1336
|
+
f === null && (f = Function.prototype);
|
|
1337
|
+
var A = Object.getOwnPropertyDescriptor(f, n);
|
|
1227
1338
|
if (A === void 0) {
|
|
1228
|
-
var b = Object.getPrototypeOf(
|
|
1339
|
+
var b = Object.getPrototypeOf(f);
|
|
1229
1340
|
return b === null ? void 0 : r(b, n, c);
|
|
1230
1341
|
} else {
|
|
1231
1342
|
if ("value" in A)
|
|
@@ -1237,24 +1348,24 @@ function Se() {
|
|
|
1237
1348
|
function o(r) {
|
|
1238
1349
|
return r && r.__esModule ? r : { default: r };
|
|
1239
1350
|
}
|
|
1240
|
-
function e(r,
|
|
1241
|
-
if (!(r instanceof
|
|
1351
|
+
function e(r, f) {
|
|
1352
|
+
if (!(r instanceof f))
|
|
1242
1353
|
throw new TypeError("Cannot call a class as a function");
|
|
1243
1354
|
}
|
|
1244
|
-
function t(r,
|
|
1355
|
+
function t(r, f) {
|
|
1245
1356
|
if (!r)
|
|
1246
1357
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1247
|
-
return
|
|
1358
|
+
return f && (typeof f == "object" || typeof f == "function") ? f : r;
|
|
1248
1359
|
}
|
|
1249
|
-
function u(r,
|
|
1250
|
-
if (typeof
|
|
1251
|
-
throw new TypeError("Super expression must either be null or a function, not " + typeof
|
|
1252
|
-
r.prototype = Object.create(
|
|
1360
|
+
function u(r, f) {
|
|
1361
|
+
if (typeof f != "function" && f !== null)
|
|
1362
|
+
throw new TypeError("Super expression must either be null or a function, not " + typeof f);
|
|
1363
|
+
r.prototype = Object.create(f && f.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), f && (Object.setPrototypeOf ? Object.setPrototypeOf(r, f) : r.__proto__ = f);
|
|
1253
1364
|
}
|
|
1254
1365
|
var l = (0, d.default)("quill:events"), a = ["selectionchange", "mousedown", "mouseup", "click"];
|
|
1255
1366
|
a.forEach(function(r) {
|
|
1256
1367
|
document.addEventListener(r, function() {
|
|
1257
|
-
for (var
|
|
1368
|
+
for (var f = arguments.length, n = Array(f), c = 0; c < f; c++)
|
|
1258
1369
|
n[c] = arguments[c];
|
|
1259
1370
|
[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(A) {
|
|
1260
1371
|
if (A.__quill && A.__quill.emitter) {
|
|
@@ -1265,16 +1376,16 @@ function Se() {
|
|
|
1265
1376
|
});
|
|
1266
1377
|
});
|
|
1267
1378
|
var i = function(r) {
|
|
1268
|
-
u(
|
|
1269
|
-
function
|
|
1270
|
-
e(this,
|
|
1271
|
-
var n = t(this, (
|
|
1379
|
+
u(f, r);
|
|
1380
|
+
function f() {
|
|
1381
|
+
e(this, f);
|
|
1382
|
+
var n = t(this, (f.__proto__ || Object.getPrototypeOf(f)).call(this));
|
|
1272
1383
|
return n.listeners = {}, n.on("error", l.error), n;
|
|
1273
1384
|
}
|
|
1274
|
-
return N(
|
|
1385
|
+
return N(f, [{
|
|
1275
1386
|
key: "emit",
|
|
1276
1387
|
value: function() {
|
|
1277
|
-
l.log.apply(l, arguments), w(
|
|
1388
|
+
l.log.apply(l, arguments), w(f.prototype.__proto__ || Object.getPrototypeOf(f.prototype), "emit", this).apply(this, arguments);
|
|
1278
1389
|
}
|
|
1279
1390
|
}, {
|
|
1280
1391
|
key: "handleDOM",
|
|
@@ -1291,7 +1402,7 @@ function Se() {
|
|
|
1291
1402
|
value: function(c, A, b) {
|
|
1292
1403
|
this.listeners[c] || (this.listeners[c] = []), this.listeners[c].push({ node: A, handler: b });
|
|
1293
1404
|
}
|
|
1294
|
-
}]),
|
|
1405
|
+
}]), f;
|
|
1295
1406
|
}(v.default);
|
|
1296
1407
|
i.events = {
|
|
1297
1408
|
EDITOR_CHANGE: "editor-change",
|
|
@@ -1304,10 +1415,10 @@ function Se() {
|
|
|
1304
1415
|
API: "api",
|
|
1305
1416
|
SILENT: "silent",
|
|
1306
1417
|
USER: "user"
|
|
1307
|
-
},
|
|
1418
|
+
}, s.default = i;
|
|
1308
1419
|
},
|
|
1309
|
-
function(L,
|
|
1310
|
-
Object.defineProperty(
|
|
1420
|
+
function(L, s, h) {
|
|
1421
|
+
Object.defineProperty(s, "__esModule", {
|
|
1311
1422
|
value: !0
|
|
1312
1423
|
});
|
|
1313
1424
|
function N(O, v) {
|
|
@@ -1318,10 +1429,10 @@ function Se() {
|
|
|
1318
1429
|
var y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1319
1430
|
N(this, O), this.quill = v, this.options = y;
|
|
1320
1431
|
};
|
|
1321
|
-
w.DEFAULTS = {},
|
|
1432
|
+
w.DEFAULTS = {}, s.default = w;
|
|
1322
1433
|
},
|
|
1323
|
-
function(L,
|
|
1324
|
-
Object.defineProperty(
|
|
1434
|
+
function(L, s, h) {
|
|
1435
|
+
Object.defineProperty(s, "__esModule", {
|
|
1325
1436
|
value: !0
|
|
1326
1437
|
});
|
|
1327
1438
|
var N = ["error", "warn", "log", "info"], w = "warn";
|
|
@@ -1339,9 +1450,9 @@ function Se() {
|
|
|
1339
1450
|
}
|
|
1340
1451
|
O.level = v.level = function(y) {
|
|
1341
1452
|
w = y;
|
|
1342
|
-
},
|
|
1453
|
+
}, s.default = v;
|
|
1343
1454
|
},
|
|
1344
|
-
function(L,
|
|
1455
|
+
function(L, s, h) {
|
|
1345
1456
|
var N = Array.prototype.slice, w = h(52), O = h(53), v = L.exports = function(e, t, u) {
|
|
1346
1457
|
return u || (u = {}), e === t ? !0 : e instanceof Date && t instanceof Date ? e.getTime() === t.getTime() : !e || !t || typeof e != "object" && typeof t != "object" ? u.strict ? e === t : e == t : o(e, t, u);
|
|
1347
1458
|
};
|
|
@@ -1381,8 +1492,8 @@ function Se() {
|
|
|
1381
1492
|
return typeof e == typeof t;
|
|
1382
1493
|
}
|
|
1383
1494
|
},
|
|
1384
|
-
function(L,
|
|
1385
|
-
Object.defineProperty(
|
|
1495
|
+
function(L, s, h) {
|
|
1496
|
+
Object.defineProperty(s, "__esModule", { value: !0 });
|
|
1386
1497
|
var N = h(1), w = function() {
|
|
1387
1498
|
function O(v, y, d) {
|
|
1388
1499
|
d === void 0 && (d = {}), this.attrName = v, this.keyName = y;
|
|
@@ -1405,12 +1516,12 @@ function Se() {
|
|
|
1405
1516
|
return this.canAdd(v, y) && y ? y : "";
|
|
1406
1517
|
}, O;
|
|
1407
1518
|
}();
|
|
1408
|
-
|
|
1519
|
+
s.default = w;
|
|
1409
1520
|
},
|
|
1410
|
-
function(L,
|
|
1411
|
-
Object.defineProperty(
|
|
1521
|
+
function(L, s, h) {
|
|
1522
|
+
Object.defineProperty(s, "__esModule", {
|
|
1412
1523
|
value: !0
|
|
1413
|
-
}),
|
|
1524
|
+
}), s.default = s.Code = void 0;
|
|
1414
1525
|
var N = function() {
|
|
1415
1526
|
function _(x, g) {
|
|
1416
1527
|
var p = [], m = !0, T = !1, S = void 0;
|
|
@@ -1462,7 +1573,7 @@ function Se() {
|
|
|
1462
1573
|
function r(_) {
|
|
1463
1574
|
return _ && _.__esModule ? _ : { default: _ };
|
|
1464
1575
|
}
|
|
1465
|
-
function
|
|
1576
|
+
function f(_, x) {
|
|
1466
1577
|
if (!(_ instanceof x))
|
|
1467
1578
|
throw new TypeError("Cannot call a class as a function");
|
|
1468
1579
|
}
|
|
@@ -1479,7 +1590,7 @@ function Se() {
|
|
|
1479
1590
|
var A = function(_) {
|
|
1480
1591
|
c(x, _);
|
|
1481
1592
|
function x() {
|
|
1482
|
-
return
|
|
1593
|
+
return f(this, x), n(this, (x.__proto__ || Object.getPrototypeOf(x)).apply(this, arguments));
|
|
1483
1594
|
}
|
|
1484
1595
|
return x;
|
|
1485
1596
|
}(l.default);
|
|
@@ -1487,7 +1598,7 @@ function Se() {
|
|
|
1487
1598
|
var b = function(_) {
|
|
1488
1599
|
c(x, _);
|
|
1489
1600
|
function x() {
|
|
1490
|
-
return
|
|
1601
|
+
return f(this, x), n(this, (x.__proto__ || Object.getPrototypeOf(x)).apply(this, arguments));
|
|
1491
1602
|
}
|
|
1492
1603
|
return w(x, [{
|
|
1493
1604
|
key: "delta",
|
|
@@ -1514,8 +1625,8 @@ function Se() {
|
|
|
1514
1625
|
if (m !== 0 && !(o.default.query(T, o.default.Scope.BLOCK) == null || T === this.statics.blotName && S === this.statics.formats(this.domNode))) {
|
|
1515
1626
|
var R = this.newlineIndex(p);
|
|
1516
1627
|
if (!(R < 0 || R >= p + m)) {
|
|
1517
|
-
var B = this.newlineIndex(p, !0) + 1, C = R - B + 1,
|
|
1518
|
-
|
|
1628
|
+
var B = this.newlineIndex(p, !0) + 1, C = R - B + 1, Z = this.isolate(B, C), F = Z.next;
|
|
1629
|
+
Z.format(T, S), F instanceof x && F.formatAt(0, p - B + m - C, T, S);
|
|
1519
1630
|
}
|
|
1520
1631
|
}
|
|
1521
1632
|
}
|
|
@@ -1575,10 +1686,10 @@ function Se() {
|
|
|
1575
1686
|
}
|
|
1576
1687
|
}]), x;
|
|
1577
1688
|
}(t.default);
|
|
1578
|
-
b.blotName = "code-block", b.tagName = "PRE", b.TAB = " ",
|
|
1689
|
+
b.blotName = "code-block", b.tagName = "PRE", b.TAB = " ", s.Code = A, s.default = b;
|
|
1579
1690
|
},
|
|
1580
|
-
function(L,
|
|
1581
|
-
Object.defineProperty(
|
|
1691
|
+
function(L, s, h) {
|
|
1692
|
+
Object.defineProperty(s, "__esModule", {
|
|
1582
1693
|
value: !0
|
|
1583
1694
|
});
|
|
1584
1695
|
var N = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(F) {
|
|
@@ -1620,7 +1731,7 @@ function Se() {
|
|
|
1620
1731
|
return function(j, k, q) {
|
|
1621
1732
|
return k && F(j.prototype, k), q && F(j, q), j;
|
|
1622
1733
|
};
|
|
1623
|
-
}(), v = h(2), y = m(v), d = h(20), o = m(d), e = h(0), t = m(e), u = h(13), l = m(u), a = h(24), i = m(a), r = h(4),
|
|
1734
|
+
}(), v = h(2), y = m(v), d = h(20), o = m(d), e = h(0), t = m(e), u = h(13), l = m(u), a = h(24), i = m(a), r = h(4), f = m(r), n = h(16), c = m(n), A = h(21), b = m(A), _ = h(11), x = m(_), g = h(3), p = m(g);
|
|
1624
1735
|
function m(F) {
|
|
1625
1736
|
return F && F.__esModule ? F : { default: F };
|
|
1626
1737
|
}
|
|
@@ -1641,7 +1752,7 @@ function Se() {
|
|
|
1641
1752
|
var q = this, D = !1;
|
|
1642
1753
|
this.scroll.update();
|
|
1643
1754
|
var U = this.scroll.length();
|
|
1644
|
-
return this.scroll.batchStart(), k =
|
|
1755
|
+
return this.scroll.batchStart(), k = Z(k), k.reduce(function(M, P) {
|
|
1645
1756
|
var I = P.retain || P.delete || P.insert.length || 1, $ = P.attributes || {};
|
|
1646
1757
|
if (P.insert != null) {
|
|
1647
1758
|
if (typeof P.insert == "string") {
|
|
@@ -1650,7 +1761,7 @@ function Se() {
|
|
|
1650
1761
|
`) && D && (D = !1, H = H.slice(0, -1)), M >= U && !H.endsWith(`
|
|
1651
1762
|
`) && (D = !0), q.scroll.insertAt(M, H);
|
|
1652
1763
|
var V = q.scroll.line(M), X = w(V, 2), J = X[0], ee = X[1], ie = (0, p.default)({}, (0, r.bubbleFormats)(J));
|
|
1653
|
-
if (J instanceof
|
|
1764
|
+
if (J instanceof f.default) {
|
|
1654
1765
|
var oe = J.descendant(t.default.Leaf, ee), se = w(oe, 1), ue = se[0];
|
|
1655
1766
|
ie = (0, p.default)(ie, (0, r.bubbleFormats)(ue));
|
|
1656
1767
|
}
|
|
@@ -1721,7 +1832,7 @@ function Se() {
|
|
|
1721
1832
|
var q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, D = [], U = [];
|
|
1722
1833
|
q === 0 ? this.scroll.path(k).forEach(function(P) {
|
|
1723
1834
|
var I = w(P, 1), $ = I[0];
|
|
1724
|
-
$ instanceof
|
|
1835
|
+
$ instanceof f.default ? D.push($) : $ instanceof t.default.Leaf && U.push($);
|
|
1725
1836
|
}) : (D = this.scroll.lines(k, q), U = this.scroll.descendants(t.default.Leaf, k, q));
|
|
1726
1837
|
var M = [D, U].map(function(P) {
|
|
1727
1838
|
if (P.length === 0)
|
|
@@ -1768,7 +1879,7 @@ function Se() {
|
|
|
1768
1879
|
if (this.scroll.children.length > 1)
|
|
1769
1880
|
return !1;
|
|
1770
1881
|
var k = this.scroll.children.head;
|
|
1771
|
-
return k.statics.blotName !==
|
|
1882
|
+
return k.statics.blotName !== f.default.blotName || k.children.length > 1 ? !1 : k.children.head instanceof c.default;
|
|
1772
1883
|
}
|
|
1773
1884
|
}, {
|
|
1774
1885
|
key: "removeFormat",
|
|
@@ -1799,7 +1910,7 @@ function Se() {
|
|
|
1799
1910
|
return F[q] == null || (j[q] === F[q] ? k[q] = j[q] : Array.isArray(j[q]) ? j[q].indexOf(F[q]) < 0 && (k[q] = j[q].concat([F[q]])) : k[q] = [j[q], F[q]]), k;
|
|
1800
1911
|
}, {});
|
|
1801
1912
|
}
|
|
1802
|
-
function
|
|
1913
|
+
function Z(F) {
|
|
1803
1914
|
return F.reduce(function(j, k) {
|
|
1804
1915
|
if (k.insert === 1) {
|
|
1805
1916
|
var q = (0, b.default)(k.attributes);
|
|
@@ -1814,12 +1925,12 @@ function Se() {
|
|
|
1814
1925
|
return j.push(k);
|
|
1815
1926
|
}, new y.default());
|
|
1816
1927
|
}
|
|
1817
|
-
|
|
1928
|
+
s.default = B;
|
|
1818
1929
|
},
|
|
1819
|
-
function(L,
|
|
1820
|
-
Object.defineProperty(
|
|
1930
|
+
function(L, s, h) {
|
|
1931
|
+
Object.defineProperty(s, "__esModule", {
|
|
1821
1932
|
value: !0
|
|
1822
|
-
}),
|
|
1933
|
+
}), s.default = s.Range = void 0;
|
|
1823
1934
|
var N = function() {
|
|
1824
1935
|
function _(x, g) {
|
|
1825
1936
|
var p = [], m = !0, T = !1, S = void 0;
|
|
@@ -1867,17 +1978,17 @@ function Se() {
|
|
|
1867
1978
|
} else
|
|
1868
1979
|
return Array.from(_);
|
|
1869
1980
|
}
|
|
1870
|
-
function
|
|
1981
|
+
function f(_, x) {
|
|
1871
1982
|
if (!(_ instanceof x))
|
|
1872
1983
|
throw new TypeError("Cannot call a class as a function");
|
|
1873
1984
|
}
|
|
1874
1985
|
var n = (0, a.default)("quill:selection"), c = function _(x) {
|
|
1875
1986
|
var g = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
1876
|
-
|
|
1987
|
+
f(this, _), this.index = x, this.length = g;
|
|
1877
1988
|
}, A = function() {
|
|
1878
1989
|
function _(x, g) {
|
|
1879
1990
|
var p = this;
|
|
1880
|
-
|
|
1991
|
+
f(this, _), this.emitter = g, this.scroll = x, this.composing = !1, this.mouseDown = !1, this.root = this.scroll.domNode, this.cursor = v.default.create("cursor", this), this.lastRange = this.savedRange = new c(0, 0), this.handleComposition(), this.handleDragging(), this.emitter.listenDOM("selectionchange", document, function() {
|
|
1881
1992
|
p.mouseDown || setTimeout(p.update.bind(p, u.default.sources.USER), 1);
|
|
1882
1993
|
}), this.emitter.on(u.default.events.EDITOR_CHANGE, function(m, T) {
|
|
1883
1994
|
m === u.default.events.TEXT_CHANGE && T.length() > 0 && p.update(u.default.sources.SILENT);
|
|
@@ -1893,8 +2004,8 @@ function Se() {
|
|
|
1893
2004
|
}
|
|
1894
2005
|
}), this.emitter.on(u.default.events.SCROLL_OPTIMIZE, function(m, T) {
|
|
1895
2006
|
if (T.range) {
|
|
1896
|
-
var S = T.range, R = S.startNode, B = S.startOffset, C = S.endNode,
|
|
1897
|
-
p.setNativeRange(R, B, C,
|
|
2007
|
+
var S = T.range, R = S.startNode, B = S.startOffset, C = S.endNode, Z = S.endOffset;
|
|
2008
|
+
p.setNativeRange(R, B, C, Z);
|
|
1898
2009
|
}
|
|
1899
2010
|
}), this.update(u.default.sources.SILENT);
|
|
1900
2011
|
}
|
|
@@ -1960,7 +2071,7 @@ function Se() {
|
|
|
1960
2071
|
var T = void 0, S = this.scroll.leaf(g), R = N(S, 2), B = R[0], C = R[1];
|
|
1961
2072
|
if (B == null)
|
|
1962
2073
|
return null;
|
|
1963
|
-
var
|
|
2074
|
+
var Z = B.position(C, !0), F = N(Z, 2);
|
|
1964
2075
|
T = F[0], C = F[1];
|
|
1965
2076
|
var j = document.createRange();
|
|
1966
2077
|
if (p > 0) {
|
|
@@ -2014,8 +2125,8 @@ function Se() {
|
|
|
2014
2125
|
var p = this, m = [[g.start.node, g.start.offset]];
|
|
2015
2126
|
g.native.collapsed || m.push([g.end.node, g.end.offset]);
|
|
2016
2127
|
var T = m.map(function(B) {
|
|
2017
|
-
var C = N(B, 2),
|
|
2018
|
-
return F === 0 ? k : j instanceof v.default.Container ? k + j.length() : k + j.index(
|
|
2128
|
+
var C = N(B, 2), Z = C[0], F = C[1], j = v.default.find(Z, !0), k = j.offset(p.scroll);
|
|
2129
|
+
return F === 0 ? k : j instanceof v.default.Container ? k + j.length() : k + j.index(Z, F);
|
|
2019
2130
|
}), S = Math.min(Math.max.apply(Math, r(T)), this.scroll.length() - 1), R = Math.min.apply(Math, [S].concat(r(T)));
|
|
2020
2131
|
return new c(R, S - R);
|
|
2021
2132
|
}
|
|
@@ -2046,7 +2157,7 @@ function Se() {
|
|
|
2046
2157
|
var p = this, m = g.collapsed ? [g.index] : [g.index, g.index + g.length], T = [], S = this.scroll.length();
|
|
2047
2158
|
return m.forEach(function(R, B) {
|
|
2048
2159
|
R = Math.min(S - 1, R);
|
|
2049
|
-
var C = void 0,
|
|
2160
|
+
var C = void 0, Z = p.scroll.leaf(R), F = N(Z, 2), j = F[0], k = F[1], q = j.position(k, B !== 0), D = N(q, 2);
|
|
2050
2161
|
C = D[0], k = D[1], T.push(C, k);
|
|
2051
2162
|
}), T.length < 2 && (T = T.concat(T)), T;
|
|
2052
2163
|
}
|
|
@@ -2059,7 +2170,7 @@ function Se() {
|
|
|
2059
2170
|
if (m != null) {
|
|
2060
2171
|
var T = this.scroll.length() - 1, S = this.scroll.line(Math.min(p.index, T)), R = N(S, 1), B = R[0], C = B;
|
|
2061
2172
|
if (p.length > 0) {
|
|
2062
|
-
var
|
|
2173
|
+
var Z = this.scroll.line(Math.min(p.index + p.length, T)), F = N(Z, 1);
|
|
2063
2174
|
C = F[0];
|
|
2064
2175
|
}
|
|
2065
2176
|
if (!(B == null || C == null)) {
|
|
@@ -2108,8 +2219,8 @@ function Se() {
|
|
|
2108
2219
|
!this.composing && R != null && R.native.collapsed && R.start.node !== this.cursor.textNode && this.cursor.restore();
|
|
2109
2220
|
var C = [u.default.events.SELECTION_CHANGE, (0, d.default)(this.lastRange), (0, d.default)(p), g];
|
|
2110
2221
|
if ((B = this.emitter).emit.apply(B, [u.default.events.EDITOR_CHANGE].concat(C)), g !== u.default.sources.SILENT) {
|
|
2111
|
-
var
|
|
2112
|
-
(
|
|
2222
|
+
var Z;
|
|
2223
|
+
(Z = this.emitter).emit.apply(Z, C);
|
|
2113
2224
|
}
|
|
2114
2225
|
}
|
|
2115
2226
|
}
|
|
@@ -2123,10 +2234,10 @@ function Se() {
|
|
|
2123
2234
|
}
|
|
2124
2235
|
return x instanceof Text && (x = x.parentNode), _.contains(x);
|
|
2125
2236
|
}
|
|
2126
|
-
|
|
2237
|
+
s.Range = c, s.default = A;
|
|
2127
2238
|
},
|
|
2128
|
-
function(L,
|
|
2129
|
-
Object.defineProperty(
|
|
2239
|
+
function(L, s, h) {
|
|
2240
|
+
Object.defineProperty(s, "__esModule", {
|
|
2130
2241
|
value: !0
|
|
2131
2242
|
});
|
|
2132
2243
|
var N = function() {
|
|
@@ -2143,8 +2254,8 @@ function Se() {
|
|
|
2143
2254
|
l === null && (l = Function.prototype);
|
|
2144
2255
|
var r = Object.getOwnPropertyDescriptor(l, a);
|
|
2145
2256
|
if (r === void 0) {
|
|
2146
|
-
var
|
|
2147
|
-
return
|
|
2257
|
+
var f = Object.getPrototypeOf(l);
|
|
2258
|
+
return f === null ? void 0 : u(f, a, i);
|
|
2148
2259
|
} else {
|
|
2149
2260
|
if ("value" in r)
|
|
2150
2261
|
return r.value;
|
|
@@ -2195,9 +2306,9 @@ function Se() {
|
|
|
2195
2306
|
}
|
|
2196
2307
|
}]), l;
|
|
2197
2308
|
}(v.default.Embed);
|
|
2198
|
-
t.blotName = "break", t.tagName = "BR",
|
|
2309
|
+
t.blotName = "break", t.tagName = "BR", s.default = t;
|
|
2199
2310
|
},
|
|
2200
|
-
function(L,
|
|
2311
|
+
function(L, s, h) {
|
|
2201
2312
|
var N = this && this.__extends || function() {
|
|
2202
2313
|
var o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
2203
2314
|
e.__proto__ = t;
|
|
@@ -2213,7 +2324,7 @@ function Se() {
|
|
|
2213
2324
|
e.prototype = t === null ? Object.create(t) : (u.prototype = t.prototype, new u());
|
|
2214
2325
|
};
|
|
2215
2326
|
}();
|
|
2216
|
-
Object.defineProperty(
|
|
2327
|
+
Object.defineProperty(s, "__esModule", { value: !0 });
|
|
2217
2328
|
var w = h(44), O = h(30), v = h(1), y = function(o) {
|
|
2218
2329
|
N(e, o);
|
|
2219
2330
|
function e(t) {
|
|
@@ -2250,24 +2361,24 @@ function Se() {
|
|
|
2250
2361
|
}, e.prototype.descendants = function(t, u, l) {
|
|
2251
2362
|
u === void 0 && (u = 0), l === void 0 && (l = Number.MAX_VALUE);
|
|
2252
2363
|
var a = [], i = l;
|
|
2253
|
-
return this.children.forEachAt(u, l, function(r,
|
|
2254
|
-
(t.blotName == null && t(r) || t.blotName != null && r instanceof t) && a.push(r), r instanceof e && (a = a.concat(r.descendants(t,
|
|
2364
|
+
return this.children.forEachAt(u, l, function(r, f, n) {
|
|
2365
|
+
(t.blotName == null && t(r) || t.blotName != null && r instanceof t) && a.push(r), r instanceof e && (a = a.concat(r.descendants(t, f, i))), i -= n;
|
|
2255
2366
|
}), a;
|
|
2256
2367
|
}, e.prototype.detach = function() {
|
|
2257
2368
|
this.children.forEach(function(t) {
|
|
2258
2369
|
t.detach();
|
|
2259
2370
|
}), o.prototype.detach.call(this);
|
|
2260
2371
|
}, e.prototype.formatAt = function(t, u, l, a) {
|
|
2261
|
-
this.children.forEachAt(t, u, function(i, r,
|
|
2262
|
-
i.formatAt(r,
|
|
2372
|
+
this.children.forEachAt(t, u, function(i, r, f) {
|
|
2373
|
+
i.formatAt(r, f, l, a);
|
|
2263
2374
|
});
|
|
2264
2375
|
}, e.prototype.insertAt = function(t, u, l) {
|
|
2265
2376
|
var a = this.children.find(t), i = a[0], r = a[1];
|
|
2266
2377
|
if (i)
|
|
2267
2378
|
i.insertAt(r, u, l);
|
|
2268
2379
|
else {
|
|
2269
|
-
var
|
|
2270
|
-
this.appendChild(
|
|
2380
|
+
var f = l == null ? v.create("text", u) : v.create(u, l);
|
|
2381
|
+
this.appendChild(f);
|
|
2271
2382
|
}
|
|
2272
2383
|
}, e.prototype.insertBefore = function(t, u) {
|
|
2273
2384
|
if (this.statics.allowedChildren != null && !this.statics.allowedChildren.some(function(l) {
|
|
@@ -2317,18 +2428,18 @@ function Se() {
|
|
|
2317
2428
|
r.target === l.domNode && r.type === "childList" && (a.push.apply(a, r.addedNodes), i.push.apply(i, r.removedNodes));
|
|
2318
2429
|
}), i.forEach(function(r) {
|
|
2319
2430
|
if (!(r.parentNode != null && r.tagName !== "IFRAME" && document.body.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_CONTAINED_BY)) {
|
|
2320
|
-
var
|
|
2321
|
-
|
|
2431
|
+
var f = v.find(r);
|
|
2432
|
+
f != null && (f.domNode.parentNode == null || f.domNode.parentNode === l.domNode) && f.detach();
|
|
2322
2433
|
}
|
|
2323
2434
|
}), a.filter(function(r) {
|
|
2324
2435
|
return r.parentNode == l.domNode;
|
|
2325
|
-
}).sort(function(r,
|
|
2326
|
-
return r ===
|
|
2436
|
+
}).sort(function(r, f) {
|
|
2437
|
+
return r === f ? 0 : r.compareDocumentPosition(f) & Node.DOCUMENT_POSITION_FOLLOWING ? 1 : -1;
|
|
2327
2438
|
}).forEach(function(r) {
|
|
2328
|
-
var
|
|
2329
|
-
r.nextSibling != null && (
|
|
2439
|
+
var f = null;
|
|
2440
|
+
r.nextSibling != null && (f = v.find(r.nextSibling));
|
|
2330
2441
|
var n = d(r);
|
|
2331
|
-
(n.next !=
|
|
2442
|
+
(n.next != f || n.next == null) && (n.parent != null && n.parent.removeChild(l), l.insertBefore(n, f || void 0));
|
|
2332
2443
|
});
|
|
2333
2444
|
}, e;
|
|
2334
2445
|
}(O.default);
|
|
@@ -2344,9 +2455,9 @@ function Se() {
|
|
|
2344
2455
|
}
|
|
2345
2456
|
return e;
|
|
2346
2457
|
}
|
|
2347
|
-
|
|
2458
|
+
s.default = y;
|
|
2348
2459
|
},
|
|
2349
|
-
function(L,
|
|
2460
|
+
function(L, s, h) {
|
|
2350
2461
|
var N = this && this.__extends || function() {
|
|
2351
2462
|
var o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
2352
2463
|
e.__proto__ = t;
|
|
@@ -2362,7 +2473,7 @@ function Se() {
|
|
|
2362
2473
|
e.prototype = t === null ? Object.create(t) : (u.prototype = t.prototype, new u());
|
|
2363
2474
|
};
|
|
2364
2475
|
}();
|
|
2365
|
-
Object.defineProperty(
|
|
2476
|
+
Object.defineProperty(s, "__esModule", { value: !0 });
|
|
2366
2477
|
var w = h(12), O = h(31), v = h(17), y = h(1), d = function(o) {
|
|
2367
2478
|
N(e, o);
|
|
2368
2479
|
function e(t) {
|
|
@@ -2393,9 +2504,9 @@ function Se() {
|
|
|
2393
2504
|
return l instanceof e && l.statics.scope === this.statics.scope && this.attributes.move(l), l;
|
|
2394
2505
|
}, e;
|
|
2395
2506
|
}(v.default);
|
|
2396
|
-
|
|
2507
|
+
s.default = d;
|
|
2397
2508
|
},
|
|
2398
|
-
function(L,
|
|
2509
|
+
function(L, s, h) {
|
|
2399
2510
|
var N = this && this.__extends || function() {
|
|
2400
2511
|
var y = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, o) {
|
|
2401
2512
|
d.__proto__ = o;
|
|
@@ -2411,7 +2522,7 @@ function Se() {
|
|
|
2411
2522
|
d.prototype = o === null ? Object.create(o) : (e.prototype = o.prototype, new e());
|
|
2412
2523
|
};
|
|
2413
2524
|
}();
|
|
2414
|
-
Object.defineProperty(
|
|
2525
|
+
Object.defineProperty(s, "__esModule", { value: !0 });
|
|
2415
2526
|
var w = h(30), O = h(1), v = function(y) {
|
|
2416
2527
|
N(d, y);
|
|
2417
2528
|
function d() {
|
|
@@ -2429,9 +2540,9 @@ function Se() {
|
|
|
2429
2540
|
return o = {}, o[this.statics.blotName] = this.statics.value(this.domNode) || !0, o;
|
|
2430
2541
|
}, d.scope = O.Scope.INLINE_BLOT, d;
|
|
2431
2542
|
}(w.default);
|
|
2432
|
-
|
|
2543
|
+
s.default = v;
|
|
2433
2544
|
},
|
|
2434
|
-
function(L,
|
|
2545
|
+
function(L, s, h) {
|
|
2435
2546
|
var N = h(11), w = h(3), O = {
|
|
2436
2547
|
attributes: {
|
|
2437
2548
|
compose: function(y, d, o) {
|
|
@@ -2503,7 +2614,7 @@ function Se() {
|
|
|
2503
2614
|
return [];
|
|
2504
2615
|
}, L.exports = O;
|
|
2505
2616
|
},
|
|
2506
|
-
function(L,
|
|
2617
|
+
function(L, s) {
|
|
2507
2618
|
var h = function() {
|
|
2508
2619
|
function N(l, a) {
|
|
2509
2620
|
return a != null && l instanceof a;
|
|
@@ -2529,8 +2640,8 @@ function Se() {
|
|
|
2529
2640
|
v = function() {
|
|
2530
2641
|
};
|
|
2531
2642
|
}
|
|
2532
|
-
function y(l, a, i, r,
|
|
2533
|
-
typeof a == "object" && (i = a.depth, r = a.prototype,
|
|
2643
|
+
function y(l, a, i, r, f) {
|
|
2644
|
+
typeof a == "object" && (i = a.depth, r = a.prototype, f = a.includeNonEnumerable, a = a.circular);
|
|
2534
2645
|
var n = [], c = [], A = typeof Buffer < "u";
|
|
2535
2646
|
typeof a > "u" && (a = !0), typeof i > "u" && (i = 1 / 0);
|
|
2536
2647
|
function b(_, x) {
|
|
@@ -2584,13 +2695,13 @@ function Se() {
|
|
|
2584
2695
|
if (Object.getOwnPropertySymbols)
|
|
2585
2696
|
for (var R = Object.getOwnPropertySymbols(_), T = 0; T < R.length; T++) {
|
|
2586
2697
|
var B = R[T], C = Object.getOwnPropertyDescriptor(_, B);
|
|
2587
|
-
C && !C.enumerable && !
|
|
2698
|
+
C && !C.enumerable && !f || (g[B] = b(_[B], x - 1), C.enumerable || Object.defineProperty(g, B, {
|
|
2588
2699
|
enumerable: !1
|
|
2589
2700
|
}));
|
|
2590
2701
|
}
|
|
2591
|
-
if (
|
|
2592
|
-
for (var
|
|
2593
|
-
var F =
|
|
2702
|
+
if (f)
|
|
2703
|
+
for (var Z = Object.getOwnPropertyNames(_), T = 0; T < Z.length; T++) {
|
|
2704
|
+
var F = Z[T], C = Object.getOwnPropertyDescriptor(_, F);
|
|
2594
2705
|
C && C.enumerable || (g[F] = b(_[F], x - 1), Object.defineProperty(g, F, {
|
|
2595
2706
|
enumerable: !1
|
|
2596
2707
|
}));
|
|
@@ -2630,15 +2741,15 @@ function Se() {
|
|
|
2630
2741
|
}();
|
|
2631
2742
|
typeof L == "object" && L.exports && (L.exports = h);
|
|
2632
2743
|
},
|
|
2633
|
-
function(L,
|
|
2634
|
-
Object.defineProperty(
|
|
2744
|
+
function(L, s, h) {
|
|
2745
|
+
Object.defineProperty(s, "__esModule", {
|
|
2635
2746
|
value: !0
|
|
2636
2747
|
});
|
|
2637
2748
|
var N = function() {
|
|
2638
2749
|
function g(p, m) {
|
|
2639
2750
|
var T = [], S = !0, R = !1, B = void 0;
|
|
2640
2751
|
try {
|
|
2641
|
-
for (var C = p[Symbol.iterator](),
|
|
2752
|
+
for (var C = p[Symbol.iterator](), Z; !(S = (Z = C.next()).done) && (T.push(Z.value), !(m && T.length === m)); S = !0)
|
|
2642
2753
|
;
|
|
2643
2754
|
} catch (F) {
|
|
2644
2755
|
R = !0, B = F;
|
|
@@ -2681,7 +2792,7 @@ function Se() {
|
|
|
2681
2792
|
var B = S.get;
|
|
2682
2793
|
return B === void 0 ? void 0 : B.call(T);
|
|
2683
2794
|
}
|
|
2684
|
-
}, v = h(0), y = n(v), d = h(8), o = n(d), e = h(4), t = n(e), u = h(16), l = n(u), a = h(13), i = n(a), r = h(25),
|
|
2795
|
+
}, v = h(0), y = n(v), d = h(8), o = n(d), e = h(4), t = n(e), u = h(16), l = n(u), a = h(13), i = n(a), r = h(25), f = n(r);
|
|
2685
2796
|
function n(g) {
|
|
2686
2797
|
return g && g.__esModule ? g : { default: g };
|
|
2687
2798
|
}
|
|
@@ -2725,8 +2836,8 @@ function Se() {
|
|
|
2725
2836
|
}, {
|
|
2726
2837
|
key: "deleteAt",
|
|
2727
2838
|
value: function(T, S) {
|
|
2728
|
-
var R = this.line(T), B = N(R, 2), C = B[0],
|
|
2729
|
-
if (O(p.prototype.__proto__ || Object.getPrototypeOf(p.prototype), "deleteAt", this).call(this, T, S), k != null && C !== k &&
|
|
2839
|
+
var R = this.line(T), B = N(R, 2), C = B[0], Z = B[1], F = this.line(T + S), j = N(F, 1), k = j[0];
|
|
2840
|
+
if (O(p.prototype.__proto__ || Object.getPrototypeOf(p.prototype), "deleteAt", this).call(this, T, S), k != null && C !== k && Z > 0) {
|
|
2730
2841
|
if (C instanceof e.BlockEmbed || k instanceof e.BlockEmbed) {
|
|
2731
2842
|
this.optimize();
|
|
2732
2843
|
return;
|
|
@@ -2797,9 +2908,9 @@ function Se() {
|
|
|
2797
2908
|
}, {
|
|
2798
2909
|
key: "lines",
|
|
2799
2910
|
value: function() {
|
|
2800
|
-
var T = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, R = function B(C,
|
|
2911
|
+
var T = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, R = function B(C, Z, F) {
|
|
2801
2912
|
var j = [], k = F;
|
|
2802
|
-
return C.children.forEachAt(
|
|
2913
|
+
return C.children.forEachAt(Z, F, function(q, D, U) {
|
|
2803
2914
|
_(q) ? j.push(q) : q instanceof y.default.Container && (j = j.concat(B(q, D, k))), k -= U;
|
|
2804
2915
|
}), j;
|
|
2805
2916
|
};
|
|
@@ -2826,12 +2937,12 @@ function Se() {
|
|
|
2826
2937
|
}
|
|
2827
2938
|
}]), p;
|
|
2828
2939
|
}(y.default.Scroll);
|
|
2829
|
-
x.blotName = "scroll", x.className = "ql-editor", x.tagName = "DIV", x.defaultChild = "block", x.allowedChildren = [t.default, e.BlockEmbed,
|
|
2940
|
+
x.blotName = "scroll", x.className = "ql-editor", x.tagName = "DIV", x.defaultChild = "block", x.allowedChildren = [t.default, e.BlockEmbed, f.default], s.default = x;
|
|
2830
2941
|
},
|
|
2831
|
-
function(L,
|
|
2832
|
-
Object.defineProperty(
|
|
2942
|
+
function(L, s, h) {
|
|
2943
|
+
Object.defineProperty(s, "__esModule", {
|
|
2833
2944
|
value: !0
|
|
2834
|
-
}),
|
|
2945
|
+
}), s.SHORTKEY = s.default = void 0;
|
|
2835
2946
|
var N = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(P) {
|
|
2836
2947
|
return typeof P;
|
|
2837
2948
|
} : function(P) {
|
|
@@ -2871,7 +2982,7 @@ function Se() {
|
|
|
2871
2982
|
return function(I, $, H) {
|
|
2872
2983
|
return $ && P(I.prototype, $), H && P(I, H), I;
|
|
2873
2984
|
};
|
|
2874
|
-
}(), v = h(21), y = g(v), d = h(11), o = g(d), e = h(3), t = g(e), u = h(2), l = g(u), a = h(20), i = g(a), r = h(0),
|
|
2985
|
+
}(), v = h(21), y = g(v), d = h(11), o = g(d), e = h(3), t = g(e), u = h(2), l = g(u), a = h(20), i = g(a), r = h(0), f = g(r), n = h(5), c = g(n), A = h(10), b = g(A), _ = h(9), x = g(_);
|
|
2875
2986
|
function g(P) {
|
|
2876
2987
|
return P && P.__esModule ? P : { default: P };
|
|
2877
2988
|
}
|
|
@@ -2929,7 +3040,7 @@ function Se() {
|
|
|
2929
3040
|
if (J.length !== 0) {
|
|
2930
3041
|
var ee = H.quill.getSelection();
|
|
2931
3042
|
if (!(ee == null || !H.quill.hasFocus())) {
|
|
2932
|
-
var ie = H.quill.getLine(ee.index), oe = w(ie, 2), se = oe[0], ue = oe[1], z = H.quill.getLeaf(ee.index), K = w(z, 2), Y = K[0], Q = K[1],
|
|
3043
|
+
var ie = H.quill.getLine(ee.index), oe = w(ie, 2), se = oe[0], ue = oe[1], z = H.quill.getLeaf(ee.index), K = w(z, 2), Y = K[0], Q = K[1], G = ee.length === 0 ? [Y, Q] : H.quill.getLeaf(ee.index + ee.length), te = w(G, 2), ne = te[0], re = te[1], fe = Y instanceof f.default.Text ? Y.value().slice(0, Q) : "", ce = ne instanceof f.default.Text ? ne.value().slice(re) : "", le = {
|
|
2933
3044
|
collapsed: ee.length === 0,
|
|
2934
3045
|
empty: ee.length === 0 && se.length() <= 1,
|
|
2935
3046
|
format: H.quill.getFormat(ee),
|
|
@@ -3095,13 +3206,13 @@ function Se() {
|
|
|
3095
3206
|
this.quill.updateContents(J, c.default.sources.USER);
|
|
3096
3207
|
}
|
|
3097
3208
|
},
|
|
3098
|
-
"embed left":
|
|
3099
|
-
"embed left shift":
|
|
3100
|
-
"embed right":
|
|
3101
|
-
"embed right shift":
|
|
3209
|
+
"embed left": Z(C.keys.LEFT, !1),
|
|
3210
|
+
"embed left shift": Z(C.keys.LEFT, !0),
|
|
3211
|
+
"embed right": Z(C.keys.RIGHT, !1),
|
|
3212
|
+
"embed right shift": Z(C.keys.RIGHT, !0)
|
|
3102
3213
|
}
|
|
3103
3214
|
};
|
|
3104
|
-
function
|
|
3215
|
+
function Z(P, I) {
|
|
3105
3216
|
var $, H = P === C.keys.LEFT ? "prefix" : "suffix";
|
|
3106
3217
|
return $ = {
|
|
3107
3218
|
key: P,
|
|
@@ -3111,7 +3222,7 @@ function Se() {
|
|
|
3111
3222
|
var J = X.index;
|
|
3112
3223
|
P === C.keys.RIGHT && (J += X.length + 1);
|
|
3113
3224
|
var ee = this.quill.getLeaf(J), ie = w(ee, 1), oe = ie[0];
|
|
3114
|
-
return oe instanceof
|
|
3225
|
+
return oe instanceof f.default.Embed ? (P === C.keys.LEFT ? I ? this.quill.setSelection(X.index - 1, X.length + 1, c.default.sources.USER) : this.quill.setSelection(X.index - 1, c.default.sources.USER) : I ? this.quill.setSelection(X.index, X.length + 1, c.default.sources.USER) : this.quill.setSelection(X.index + X.length + 1, c.default.sources.USER), !1) : !0;
|
|
3115
3226
|
}), $;
|
|
3116
3227
|
}
|
|
3117
3228
|
function F(P, I) {
|
|
@@ -3154,7 +3265,7 @@ function Se() {
|
|
|
3154
3265
|
var $ = this;
|
|
3155
3266
|
P.length > 0 && this.quill.scroll.deleteAt(P.index, P.length);
|
|
3156
3267
|
var H = Object.keys(I.format).reduce(function(V, X) {
|
|
3157
|
-
return
|
|
3268
|
+
return f.default.query(X, f.default.Scope.BLOCK) && !Array.isArray(I.format[X]) && (V[X] = I.format[X]), V;
|
|
3158
3269
|
}, {});
|
|
3159
3270
|
this.quill.insertText(P.index, `
|
|
3160
3271
|
`, H, c.default.sources.USER), this.quill.setSelection(P.index + 1, c.default.sources.SILENT), this.quill.focus(), Object.keys(I.format).forEach(function(V) {
|
|
@@ -3167,7 +3278,7 @@ function Se() {
|
|
|
3167
3278
|
shiftKey: !P,
|
|
3168
3279
|
format: { "code-block": !0 },
|
|
3169
3280
|
handler: function($) {
|
|
3170
|
-
var H =
|
|
3281
|
+
var H = f.default.query("code-block"), V = $.index, X = $.length, J = this.quill.scroll.descendant(H, V), ee = w(J, 2), ie = ee[0], oe = ee[1];
|
|
3171
3282
|
if (ie != null) {
|
|
3172
3283
|
var se = this.quill.getIndex(ie), ue = ie.newlineIndex(oe, !0) + 1, z = ie.newlineIndex(se + oe + X), K = ie.domNode.textContent.slice(ue, z).split(`
|
|
3173
3284
|
`);
|
|
@@ -3199,17 +3310,17 @@ function Se() {
|
|
|
3199
3310
|
return null;
|
|
3200
3311
|
return P.shortKey && (P[B] = P.shortKey, delete P.shortKey), P;
|
|
3201
3312
|
}
|
|
3202
|
-
|
|
3313
|
+
s.default = C, s.SHORTKEY = B;
|
|
3203
3314
|
},
|
|
3204
|
-
function(L,
|
|
3205
|
-
Object.defineProperty(
|
|
3315
|
+
function(L, s, h) {
|
|
3316
|
+
Object.defineProperty(s, "__esModule", {
|
|
3206
3317
|
value: !0
|
|
3207
3318
|
});
|
|
3208
3319
|
var N = function() {
|
|
3209
|
-
function i(r,
|
|
3320
|
+
function i(r, f) {
|
|
3210
3321
|
var n = [], c = !0, A = !1, b = void 0;
|
|
3211
3322
|
try {
|
|
3212
|
-
for (var _ = r[Symbol.iterator](), x; !(c = (x = _.next()).done) && (n.push(x.value), !(
|
|
3323
|
+
for (var _ = r[Symbol.iterator](), x; !(c = (x = _.next()).done) && (n.push(x.value), !(f && n.length === f)); c = !0)
|
|
3213
3324
|
;
|
|
3214
3325
|
} catch (g) {
|
|
3215
3326
|
A = !0, b = g;
|
|
@@ -3223,19 +3334,19 @@ function Se() {
|
|
|
3223
3334
|
}
|
|
3224
3335
|
return n;
|
|
3225
3336
|
}
|
|
3226
|
-
return function(r,
|
|
3337
|
+
return function(r, f) {
|
|
3227
3338
|
if (Array.isArray(r))
|
|
3228
3339
|
return r;
|
|
3229
3340
|
if (Symbol.iterator in Object(r))
|
|
3230
|
-
return i(r,
|
|
3341
|
+
return i(r, f);
|
|
3231
3342
|
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
3232
3343
|
};
|
|
3233
|
-
}(), w = function i(r,
|
|
3344
|
+
}(), w = function i(r, f, n) {
|
|
3234
3345
|
r === null && (r = Function.prototype);
|
|
3235
|
-
var c = Object.getOwnPropertyDescriptor(r,
|
|
3346
|
+
var c = Object.getOwnPropertyDescriptor(r, f);
|
|
3236
3347
|
if (c === void 0) {
|
|
3237
3348
|
var A = Object.getPrototypeOf(r);
|
|
3238
|
-
return A === null ? void 0 : i(A,
|
|
3349
|
+
return A === null ? void 0 : i(A, f, n);
|
|
3239
3350
|
} else {
|
|
3240
3351
|
if ("value" in c)
|
|
3241
3352
|
return c.value;
|
|
@@ -3243,14 +3354,14 @@ function Se() {
|
|
|
3243
3354
|
return b === void 0 ? void 0 : b.call(n);
|
|
3244
3355
|
}
|
|
3245
3356
|
}, O = function() {
|
|
3246
|
-
function i(r,
|
|
3247
|
-
for (var n = 0; n <
|
|
3248
|
-
var c =
|
|
3357
|
+
function i(r, f) {
|
|
3358
|
+
for (var n = 0; n < f.length; n++) {
|
|
3359
|
+
var c = f[n];
|
|
3249
3360
|
c.enumerable = c.enumerable || !1, c.configurable = !0, "value" in c && (c.writable = !0), Object.defineProperty(r, c.key, c);
|
|
3250
3361
|
}
|
|
3251
3362
|
}
|
|
3252
|
-
return function(r,
|
|
3253
|
-
return
|
|
3363
|
+
return function(r, f, n) {
|
|
3364
|
+
return f && i(r.prototype, f), n && i(r, n), r;
|
|
3254
3365
|
};
|
|
3255
3366
|
}(), v = h(0), y = e(v), d = h(7), o = e(d);
|
|
3256
3367
|
function e(i) {
|
|
@@ -3276,9 +3387,9 @@ function Se() {
|
|
|
3276
3387
|
value: function() {
|
|
3277
3388
|
}
|
|
3278
3389
|
}]);
|
|
3279
|
-
function r(
|
|
3390
|
+
function r(f, n) {
|
|
3280
3391
|
t(this, r);
|
|
3281
|
-
var c = u(this, (r.__proto__ || Object.getPrototypeOf(r)).call(this,
|
|
3392
|
+
var c = u(this, (r.__proto__ || Object.getPrototypeOf(r)).call(this, f));
|
|
3282
3393
|
return c.selection = n, c.textNode = document.createTextNode(r.CONTENTS), c.domNode.appendChild(c.textNode), c._length = 0, c;
|
|
3283
3394
|
}
|
|
3284
3395
|
return O(r, [{
|
|
@@ -3361,10 +3472,10 @@ function Se() {
|
|
|
3361
3472
|
}
|
|
3362
3473
|
}]), r;
|
|
3363
3474
|
}(y.default.Embed);
|
|
3364
|
-
a.blotName = "cursor", a.className = "ql-cursor", a.tagName = "span", a.CONTENTS = "\uFEFF",
|
|
3475
|
+
a.blotName = "cursor", a.className = "ql-cursor", a.tagName = "span", a.CONTENTS = "\uFEFF", s.default = a;
|
|
3365
3476
|
},
|
|
3366
|
-
function(L,
|
|
3367
|
-
Object.defineProperty(
|
|
3477
|
+
function(L, s, h) {
|
|
3478
|
+
Object.defineProperty(s, "__esModule", {
|
|
3368
3479
|
value: !0
|
|
3369
3480
|
});
|
|
3370
3481
|
var N = h(0), w = y(N), O = h(4), v = y(O);
|
|
@@ -3392,33 +3503,33 @@ function Se() {
|
|
|
3392
3503
|
}
|
|
3393
3504
|
return l;
|
|
3394
3505
|
}(w.default.Container);
|
|
3395
|
-
t.allowedChildren = [v.default, O.BlockEmbed, t],
|
|
3506
|
+
t.allowedChildren = [v.default, O.BlockEmbed, t], s.default = t;
|
|
3396
3507
|
},
|
|
3397
|
-
function(L,
|
|
3398
|
-
Object.defineProperty(
|
|
3508
|
+
function(L, s, h) {
|
|
3509
|
+
Object.defineProperty(s, "__esModule", {
|
|
3399
3510
|
value: !0
|
|
3400
|
-
}),
|
|
3511
|
+
}), s.ColorStyle = s.ColorClass = s.ColorAttributor = void 0;
|
|
3401
3512
|
var N = function() {
|
|
3402
3513
|
function a(i, r) {
|
|
3403
|
-
for (var
|
|
3404
|
-
var n = r[
|
|
3514
|
+
for (var f = 0; f < r.length; f++) {
|
|
3515
|
+
var n = r[f];
|
|
3405
3516
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(i, n.key, n);
|
|
3406
3517
|
}
|
|
3407
3518
|
}
|
|
3408
|
-
return function(i, r,
|
|
3409
|
-
return r && a(i.prototype, r),
|
|
3519
|
+
return function(i, r, f) {
|
|
3520
|
+
return r && a(i.prototype, r), f && a(i, f), i;
|
|
3410
3521
|
};
|
|
3411
|
-
}(), w = function a(i, r,
|
|
3522
|
+
}(), w = function a(i, r, f) {
|
|
3412
3523
|
i === null && (i = Function.prototype);
|
|
3413
3524
|
var n = Object.getOwnPropertyDescriptor(i, r);
|
|
3414
3525
|
if (n === void 0) {
|
|
3415
3526
|
var c = Object.getPrototypeOf(i);
|
|
3416
|
-
return c === null ? void 0 : a(c, r,
|
|
3527
|
+
return c === null ? void 0 : a(c, r, f);
|
|
3417
3528
|
} else {
|
|
3418
3529
|
if ("value" in n)
|
|
3419
3530
|
return n.value;
|
|
3420
3531
|
var A = n.get;
|
|
3421
|
-
return A === void 0 ? void 0 : A.call(
|
|
3532
|
+
return A === void 0 ? void 0 : A.call(f);
|
|
3422
3533
|
}
|
|
3423
3534
|
}, O = h(0), v = y(O);
|
|
3424
3535
|
function y(a) {
|
|
@@ -3445,8 +3556,8 @@ function Se() {
|
|
|
3445
3556
|
}
|
|
3446
3557
|
return N(i, [{
|
|
3447
3558
|
key: "value",
|
|
3448
|
-
value: function(
|
|
3449
|
-
var n = w(i.prototype.__proto__ || Object.getPrototypeOf(i.prototype), "value", this).call(this,
|
|
3559
|
+
value: function(f) {
|
|
3560
|
+
var n = w(i.prototype.__proto__ || Object.getPrototypeOf(i.prototype), "value", this).call(this, f);
|
|
3450
3561
|
return n.startsWith("rgb(") ? (n = n.replace(/^[^\d]+/, "").replace(/[^\d]+$/, ""), "#" + n.split(",").map(function(c) {
|
|
3451
3562
|
return ("00" + parseInt(c).toString(16)).slice(-2);
|
|
3452
3563
|
}).join("")) : n;
|
|
@@ -3457,17 +3568,17 @@ function Se() {
|
|
|
3457
3568
|
}), l = new t("color", "color", {
|
|
3458
3569
|
scope: v.default.Scope.INLINE
|
|
3459
3570
|
});
|
|
3460
|
-
|
|
3571
|
+
s.ColorAttributor = t, s.ColorClass = u, s.ColorStyle = l;
|
|
3461
3572
|
},
|
|
3462
|
-
function(L,
|
|
3463
|
-
Object.defineProperty(
|
|
3573
|
+
function(L, s, h) {
|
|
3574
|
+
Object.defineProperty(s, "__esModule", {
|
|
3464
3575
|
value: !0
|
|
3465
|
-
}),
|
|
3576
|
+
}), s.sanitize = s.default = void 0;
|
|
3466
3577
|
var N = function() {
|
|
3467
3578
|
function l(a, i) {
|
|
3468
3579
|
for (var r = 0; r < i.length; r++) {
|
|
3469
|
-
var
|
|
3470
|
-
|
|
3580
|
+
var f = i[r];
|
|
3581
|
+
f.enumerable = f.enumerable || !1, f.configurable = !0, "value" in f && (f.writable = !0), Object.defineProperty(a, f.key, f);
|
|
3471
3582
|
}
|
|
3472
3583
|
}
|
|
3473
3584
|
return function(a, i, r) {
|
|
@@ -3475,14 +3586,14 @@ function Se() {
|
|
|
3475
3586
|
};
|
|
3476
3587
|
}(), w = function l(a, i, r) {
|
|
3477
3588
|
a === null && (a = Function.prototype);
|
|
3478
|
-
var
|
|
3479
|
-
if (
|
|
3589
|
+
var f = Object.getOwnPropertyDescriptor(a, i);
|
|
3590
|
+
if (f === void 0) {
|
|
3480
3591
|
var n = Object.getPrototypeOf(a);
|
|
3481
3592
|
return n === null ? void 0 : l(n, i, r);
|
|
3482
3593
|
} else {
|
|
3483
|
-
if ("value" in
|
|
3484
|
-
return
|
|
3485
|
-
var c =
|
|
3594
|
+
if ("value" in f)
|
|
3595
|
+
return f.value;
|
|
3596
|
+
var c = f.get;
|
|
3486
3597
|
return c === void 0 ? void 0 : c.call(r);
|
|
3487
3598
|
}
|
|
3488
3599
|
}, O = h(6), v = y(O);
|
|
@@ -3510,16 +3621,16 @@ function Se() {
|
|
|
3510
3621
|
}
|
|
3511
3622
|
return N(a, [{
|
|
3512
3623
|
key: "format",
|
|
3513
|
-
value: function(r,
|
|
3514
|
-
if (r !== this.statics.blotName || !
|
|
3515
|
-
return w(a.prototype.__proto__ || Object.getPrototypeOf(a.prototype), "format", this).call(this, r,
|
|
3516
|
-
|
|
3624
|
+
value: function(r, f) {
|
|
3625
|
+
if (r !== this.statics.blotName || !f)
|
|
3626
|
+
return w(a.prototype.__proto__ || Object.getPrototypeOf(a.prototype), "format", this).call(this, r, f);
|
|
3627
|
+
f = this.constructor.sanitize(f), this.domNode.setAttribute("href", f);
|
|
3517
3628
|
}
|
|
3518
3629
|
}], [{
|
|
3519
3630
|
key: "create",
|
|
3520
3631
|
value: function(r) {
|
|
3521
|
-
var
|
|
3522
|
-
return r = this.sanitize(r),
|
|
3632
|
+
var f = w(a.__proto__ || Object.getPrototypeOf(a), "create", this).call(this, r);
|
|
3633
|
+
return r = this.sanitize(r), f.setAttribute("href", r), f.setAttribute("rel", "noopener noreferrer"), f.setAttribute("target", "_blank"), f;
|
|
3523
3634
|
}
|
|
3524
3635
|
}, {
|
|
3525
3636
|
key: "formats",
|
|
@@ -3540,10 +3651,10 @@ function Se() {
|
|
|
3540
3651
|
var r = i.href.slice(0, i.href.indexOf(":"));
|
|
3541
3652
|
return a.indexOf(r) > -1;
|
|
3542
3653
|
}
|
|
3543
|
-
|
|
3654
|
+
s.default = t, s.sanitize = u;
|
|
3544
3655
|
},
|
|
3545
|
-
function(L,
|
|
3546
|
-
Object.defineProperty(
|
|
3656
|
+
function(L, s, h) {
|
|
3657
|
+
Object.defineProperty(s, "__esModule", {
|
|
3547
3658
|
value: !0
|
|
3548
3659
|
});
|
|
3549
3660
|
var N = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(a) {
|
|
@@ -3552,13 +3663,13 @@ function Se() {
|
|
|
3552
3663
|
return a && typeof Symbol == "function" && a.constructor === Symbol && a !== Symbol.prototype ? "symbol" : typeof a;
|
|
3553
3664
|
}, w = function() {
|
|
3554
3665
|
function a(i, r) {
|
|
3555
|
-
for (var
|
|
3556
|
-
var n = r[
|
|
3666
|
+
for (var f = 0; f < r.length; f++) {
|
|
3667
|
+
var n = r[f];
|
|
3557
3668
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(i, n.key, n);
|
|
3558
3669
|
}
|
|
3559
3670
|
}
|
|
3560
|
-
return function(i, r,
|
|
3561
|
-
return r && a(i.prototype, r),
|
|
3671
|
+
return function(i, r, f) {
|
|
3672
|
+
return r && a(i.prototype, r), f && a(i, f), i;
|
|
3562
3673
|
};
|
|
3563
3674
|
}(), O = h(23), v = o(O), y = h(107), d = o(y);
|
|
3564
3675
|
function o(a) {
|
|
@@ -3577,13 +3688,13 @@ function Se() {
|
|
|
3577
3688
|
var r = this;
|
|
3578
3689
|
e(this, a), this.select = i, this.container = document.createElement("span"), this.buildPicker(), this.select.style.display = "none", this.select.parentNode.insertBefore(this.container, this.select), this.label.addEventListener("mousedown", function() {
|
|
3579
3690
|
r.togglePicker();
|
|
3580
|
-
}), this.label.addEventListener("keydown", function(
|
|
3581
|
-
switch (
|
|
3691
|
+
}), this.label.addEventListener("keydown", function(f) {
|
|
3692
|
+
switch (f.keyCode) {
|
|
3582
3693
|
case v.default.keys.ENTER:
|
|
3583
3694
|
r.togglePicker();
|
|
3584
3695
|
break;
|
|
3585
3696
|
case v.default.keys.ESCAPE:
|
|
3586
|
-
r.escape(),
|
|
3697
|
+
r.escape(), f.preventDefault();
|
|
3587
3698
|
break;
|
|
3588
3699
|
}
|
|
3589
3700
|
}), this.select.addEventListener("change", this.update.bind(this));
|
|
@@ -3596,16 +3707,16 @@ function Se() {
|
|
|
3596
3707
|
}, {
|
|
3597
3708
|
key: "buildItem",
|
|
3598
3709
|
value: function(r) {
|
|
3599
|
-
var
|
|
3710
|
+
var f = this, n = document.createElement("span");
|
|
3600
3711
|
return n.tabIndex = "0", n.setAttribute("role", "button"), n.classList.add("ql-picker-item"), r.hasAttribute("value") && n.setAttribute("data-value", r.getAttribute("value")), r.textContent && n.setAttribute("data-label", r.textContent), n.addEventListener("click", function() {
|
|
3601
|
-
|
|
3712
|
+
f.selectItem(n, !0);
|
|
3602
3713
|
}), n.addEventListener("keydown", function(c) {
|
|
3603
3714
|
switch (c.keyCode) {
|
|
3604
3715
|
case v.default.keys.ENTER:
|
|
3605
|
-
|
|
3716
|
+
f.selectItem(n, !0), c.preventDefault();
|
|
3606
3717
|
break;
|
|
3607
3718
|
case v.default.keys.ESCAPE:
|
|
3608
|
-
|
|
3719
|
+
f.escape(), c.preventDefault();
|
|
3609
3720
|
break;
|
|
3610
3721
|
}
|
|
3611
3722
|
}), n;
|
|
@@ -3619,18 +3730,18 @@ function Se() {
|
|
|
3619
3730
|
}, {
|
|
3620
3731
|
key: "buildOptions",
|
|
3621
3732
|
value: function() {
|
|
3622
|
-
var r = this,
|
|
3623
|
-
|
|
3733
|
+
var r = this, f = document.createElement("span");
|
|
3734
|
+
f.classList.add("ql-picker-options"), f.setAttribute("aria-hidden", "true"), f.tabIndex = "-1", f.id = "ql-picker-options-" + t, t += 1, this.label.setAttribute("aria-controls", f.id), this.options = f, [].slice.call(this.select.options).forEach(function(n) {
|
|
3624
3735
|
var c = r.buildItem(n);
|
|
3625
|
-
|
|
3626
|
-
}), this.container.appendChild(
|
|
3736
|
+
f.appendChild(c), n.selected === !0 && r.selectItem(c);
|
|
3737
|
+
}), this.container.appendChild(f);
|
|
3627
3738
|
}
|
|
3628
3739
|
}, {
|
|
3629
3740
|
key: "buildPicker",
|
|
3630
3741
|
value: function() {
|
|
3631
3742
|
var r = this;
|
|
3632
|
-
[].slice.call(this.select.attributes).forEach(function(
|
|
3633
|
-
r.container.setAttribute(
|
|
3743
|
+
[].slice.call(this.select.attributes).forEach(function(f) {
|
|
3744
|
+
r.container.setAttribute(f.name, f.value);
|
|
3634
3745
|
}), this.container.classList.add("ql-picker"), this.label = this.buildLabel(), this.buildOptions();
|
|
3635
3746
|
}
|
|
3636
3747
|
}, {
|
|
@@ -3649,8 +3760,8 @@ function Se() {
|
|
|
3649
3760
|
}, {
|
|
3650
3761
|
key: "selectItem",
|
|
3651
3762
|
value: function(r) {
|
|
3652
|
-
var
|
|
3653
|
-
if (r !== n && (n != null && n.classList.remove("ql-selected"), r != null && (r.classList.add("ql-selected"), this.select.selectedIndex = [].indexOf.call(r.parentNode.children, r), r.hasAttribute("data-value") ? this.label.setAttribute("data-value", r.getAttribute("data-value")) : this.label.removeAttribute("data-value"), r.hasAttribute("data-label") ? this.label.setAttribute("data-label", r.getAttribute("data-label")) : this.label.removeAttribute("data-label"),
|
|
3763
|
+
var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, n = this.container.querySelector(".ql-selected");
|
|
3764
|
+
if (r !== n && (n != null && n.classList.remove("ql-selected"), r != null && (r.classList.add("ql-selected"), this.select.selectedIndex = [].indexOf.call(r.parentNode.children, r), r.hasAttribute("data-value") ? this.label.setAttribute("data-value", r.getAttribute("data-value")) : this.label.removeAttribute("data-value"), r.hasAttribute("data-label") ? this.label.setAttribute("data-label", r.getAttribute("data-label")) : this.label.removeAttribute("data-label"), f))) {
|
|
3654
3765
|
if (typeof Event == "function")
|
|
3655
3766
|
this.select.dispatchEvent(new Event("change"));
|
|
3656
3767
|
else if ((typeof Event > "u" ? "undefined" : N(Event)) === "object") {
|
|
@@ -3665,8 +3776,8 @@ function Se() {
|
|
|
3665
3776
|
value: function() {
|
|
3666
3777
|
var r = void 0;
|
|
3667
3778
|
if (this.select.selectedIndex > -1) {
|
|
3668
|
-
var
|
|
3669
|
-
r = this.select.options[this.select.selectedIndex], this.selectItem(
|
|
3779
|
+
var f = this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];
|
|
3780
|
+
r = this.select.options[this.select.selectedIndex], this.selectItem(f);
|
|
3670
3781
|
} else
|
|
3671
3782
|
this.selectItem(null);
|
|
3672
3783
|
var n = r != null && r !== this.select.querySelector("option[selected]");
|
|
@@ -3674,13 +3785,13 @@ function Se() {
|
|
|
3674
3785
|
}
|
|
3675
3786
|
}]), a;
|
|
3676
3787
|
}();
|
|
3677
|
-
|
|
3788
|
+
s.default = l;
|
|
3678
3789
|
},
|
|
3679
|
-
function(L,
|
|
3680
|
-
Object.defineProperty(
|
|
3790
|
+
function(L, s, h) {
|
|
3791
|
+
Object.defineProperty(s, "__esModule", {
|
|
3681
3792
|
value: !0
|
|
3682
3793
|
});
|
|
3683
|
-
var N = h(0), w = R(N), O = h(5), v = R(O), y = h(4), d = R(y), o = h(16), e = R(o), t = h(25), u = R(t), l = h(24), a = R(l), i = h(35), r = R(i),
|
|
3794
|
+
var N = h(0), w = R(N), O = h(5), v = R(O), y = h(4), d = R(y), o = h(16), e = R(o), t = h(25), u = R(t), l = h(24), a = R(l), i = h(35), r = R(i), f = h(6), n = R(f), c = h(22), A = R(c), b = h(7), _ = R(b), x = h(55), g = R(x), p = h(42), m = R(p), T = h(23), S = R(T);
|
|
3684
3795
|
function R(B) {
|
|
3685
3796
|
return B && B.__esModule ? B : { default: B };
|
|
3686
3797
|
}
|
|
@@ -3697,10 +3808,10 @@ function Se() {
|
|
|
3697
3808
|
"modules/clipboard": g.default,
|
|
3698
3809
|
"modules/history": m.default,
|
|
3699
3810
|
"modules/keyboard": S.default
|
|
3700
|
-
}), w.default.register(d.default, e.default, a.default, n.default, A.default, _.default),
|
|
3811
|
+
}), w.default.register(d.default, e.default, a.default, n.default, A.default, _.default), s.default = v.default;
|
|
3701
3812
|
},
|
|
3702
|
-
function(L,
|
|
3703
|
-
Object.defineProperty(
|
|
3813
|
+
function(L, s, h) {
|
|
3814
|
+
Object.defineProperty(s, "__esModule", { value: !0 });
|
|
3704
3815
|
var N = h(1), w = function() {
|
|
3705
3816
|
function O(v) {
|
|
3706
3817
|
this.domNode = v, this.domNode[N.DATA_KEY] = { blot: this };
|
|
@@ -3765,10 +3876,10 @@ function Se() {
|
|
|
3765
3876
|
return this.parent != null && this.parent.insertBefore(d, this.next), d.appendChild(this), d;
|
|
3766
3877
|
}, O.blotName = "abstract", O;
|
|
3767
3878
|
}();
|
|
3768
|
-
|
|
3879
|
+
s.default = w;
|
|
3769
3880
|
},
|
|
3770
|
-
function(L,
|
|
3771
|
-
Object.defineProperty(
|
|
3881
|
+
function(L, s, h) {
|
|
3882
|
+
Object.defineProperty(s, "__esModule", { value: !0 });
|
|
3772
3883
|
var N = h(12), w = h(32), O = h(33), v = h(1), y = function() {
|
|
3773
3884
|
function d(o) {
|
|
3774
3885
|
this.attributes = {}, this.domNode = o, this.build();
|
|
@@ -3801,9 +3912,9 @@ function Se() {
|
|
|
3801
3912
|
}, {});
|
|
3802
3913
|
}, d;
|
|
3803
3914
|
}();
|
|
3804
|
-
|
|
3915
|
+
s.default = y;
|
|
3805
3916
|
},
|
|
3806
|
-
function(L,
|
|
3917
|
+
function(L, s, h) {
|
|
3807
3918
|
var N = this && this.__extends || function() {
|
|
3808
3919
|
var y = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, o) {
|
|
3809
3920
|
d.__proto__ = o;
|
|
@@ -3819,7 +3930,7 @@ function Se() {
|
|
|
3819
3930
|
d.prototype = o === null ? Object.create(o) : (e.prototype = o.prototype, new e());
|
|
3820
3931
|
};
|
|
3821
3932
|
}();
|
|
3822
|
-
Object.defineProperty(
|
|
3933
|
+
Object.defineProperty(s, "__esModule", { value: !0 });
|
|
3823
3934
|
var w = h(12);
|
|
3824
3935
|
function O(y, d) {
|
|
3825
3936
|
var o = y.getAttribute("class") || "";
|
|
@@ -3848,9 +3959,9 @@ function Se() {
|
|
|
3848
3959
|
return this.canAdd(o, t) ? t : "";
|
|
3849
3960
|
}, d;
|
|
3850
3961
|
}(w.default);
|
|
3851
|
-
|
|
3962
|
+
s.default = v;
|
|
3852
3963
|
},
|
|
3853
|
-
function(L,
|
|
3964
|
+
function(L, s, h) {
|
|
3854
3965
|
var N = this && this.__extends || function() {
|
|
3855
3966
|
var y = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, o) {
|
|
3856
3967
|
d.__proto__ = o;
|
|
@@ -3866,7 +3977,7 @@ function Se() {
|
|
|
3866
3977
|
d.prototype = o === null ? Object.create(o) : (e.prototype = o.prototype, new e());
|
|
3867
3978
|
};
|
|
3868
3979
|
}();
|
|
3869
|
-
Object.defineProperty(
|
|
3980
|
+
Object.defineProperty(s, "__esModule", { value: !0 });
|
|
3870
3981
|
var w = h(12);
|
|
3871
3982
|
function O(y) {
|
|
3872
3983
|
var d = y.split("-"), o = d.slice(1).map(function(e) {
|
|
@@ -3893,10 +4004,10 @@ function Se() {
|
|
|
3893
4004
|
return this.canAdd(o, e) ? e : "";
|
|
3894
4005
|
}, d;
|
|
3895
4006
|
}(w.default);
|
|
3896
|
-
|
|
4007
|
+
s.default = v;
|
|
3897
4008
|
},
|
|
3898
|
-
function(L,
|
|
3899
|
-
Object.defineProperty(
|
|
4009
|
+
function(L, s, h) {
|
|
4010
|
+
Object.defineProperty(s, "__esModule", {
|
|
3900
4011
|
value: !0
|
|
3901
4012
|
});
|
|
3902
4013
|
var N = function() {
|
|
@@ -3938,28 +4049,28 @@ function Se() {
|
|
|
3938
4049
|
modules: {}
|
|
3939
4050
|
}, O.themes = {
|
|
3940
4051
|
default: O
|
|
3941
|
-
},
|
|
4052
|
+
}, s.default = O;
|
|
3942
4053
|
},
|
|
3943
|
-
function(L,
|
|
3944
|
-
Object.defineProperty(
|
|
4054
|
+
function(L, s, h) {
|
|
4055
|
+
Object.defineProperty(s, "__esModule", {
|
|
3945
4056
|
value: !0
|
|
3946
4057
|
});
|
|
3947
4058
|
var N = function() {
|
|
3948
|
-
function i(r,
|
|
3949
|
-
for (var n = 0; n <
|
|
3950
|
-
var c =
|
|
4059
|
+
function i(r, f) {
|
|
4060
|
+
for (var n = 0; n < f.length; n++) {
|
|
4061
|
+
var c = f[n];
|
|
3951
4062
|
c.enumerable = c.enumerable || !1, c.configurable = !0, "value" in c && (c.writable = !0), Object.defineProperty(r, c.key, c);
|
|
3952
4063
|
}
|
|
3953
4064
|
}
|
|
3954
|
-
return function(r,
|
|
3955
|
-
return
|
|
4065
|
+
return function(r, f, n) {
|
|
4066
|
+
return f && i(r.prototype, f), n && i(r, n), r;
|
|
3956
4067
|
};
|
|
3957
|
-
}(), w = function i(r,
|
|
4068
|
+
}(), w = function i(r, f, n) {
|
|
3958
4069
|
r === null && (r = Function.prototype);
|
|
3959
|
-
var c = Object.getOwnPropertyDescriptor(r,
|
|
4070
|
+
var c = Object.getOwnPropertyDescriptor(r, f);
|
|
3960
4071
|
if (c === void 0) {
|
|
3961
4072
|
var A = Object.getPrototypeOf(r);
|
|
3962
|
-
return A === null ? void 0 : i(A,
|
|
4073
|
+
return A === null ? void 0 : i(A, f, n);
|
|
3963
4074
|
} else {
|
|
3964
4075
|
if ("value" in c)
|
|
3965
4076
|
return c.value;
|
|
@@ -3986,9 +4097,9 @@ function Se() {
|
|
|
3986
4097
|
}
|
|
3987
4098
|
var l = "\uFEFF", a = function(i) {
|
|
3988
4099
|
u(r, i);
|
|
3989
|
-
function r(
|
|
4100
|
+
function r(f) {
|
|
3990
4101
|
e(this, r);
|
|
3991
|
-
var n = t(this, (r.__proto__ || Object.getPrototypeOf(r)).call(this,
|
|
4102
|
+
var n = t(this, (r.__proto__ || Object.getPrototypeOf(r)).call(this, f));
|
|
3992
4103
|
return n.contentNode = document.createElement("span"), n.contentNode.setAttribute("contenteditable", !1), [].slice.call(n.domNode.childNodes).forEach(function(c) {
|
|
3993
4104
|
n.contentNode.appendChild(c);
|
|
3994
4105
|
}), n.leftGuard = document.createTextNode(l), n.rightGuard = document.createTextNode(l), n.domNode.appendChild(n.leftGuard), n.domNode.appendChild(n.contentNode), n.domNode.appendChild(n.rightGuard), n;
|
|
@@ -4037,12 +4148,12 @@ function Se() {
|
|
|
4037
4148
|
}
|
|
4038
4149
|
}]), r;
|
|
4039
4150
|
}(v.default.Embed);
|
|
4040
|
-
|
|
4151
|
+
s.default = a;
|
|
4041
4152
|
},
|
|
4042
|
-
function(L,
|
|
4043
|
-
Object.defineProperty(
|
|
4153
|
+
function(L, s, h) {
|
|
4154
|
+
Object.defineProperty(s, "__esModule", {
|
|
4044
4155
|
value: !0
|
|
4045
|
-
}),
|
|
4156
|
+
}), s.AlignStyle = s.AlignClass = s.AlignAttribute = void 0;
|
|
4046
4157
|
var N = h(0), w = O(N);
|
|
4047
4158
|
function O(e) {
|
|
4048
4159
|
return e && e.__esModule ? e : { default: e };
|
|
@@ -4051,12 +4162,12 @@ function Se() {
|
|
|
4051
4162
|
scope: w.default.Scope.BLOCK,
|
|
4052
4163
|
whitelist: ["right", "center", "justify"]
|
|
4053
4164
|
}, y = new w.default.Attributor.Attribute("align", "align", v), d = new w.default.Attributor.Class("align", "ql-align", v), o = new w.default.Attributor.Style("align", "text-align", v);
|
|
4054
|
-
|
|
4165
|
+
s.AlignAttribute = y, s.AlignClass = d, s.AlignStyle = o;
|
|
4055
4166
|
},
|
|
4056
|
-
function(L,
|
|
4057
|
-
Object.defineProperty(
|
|
4167
|
+
function(L, s, h) {
|
|
4168
|
+
Object.defineProperty(s, "__esModule", {
|
|
4058
4169
|
value: !0
|
|
4059
|
-
}),
|
|
4170
|
+
}), s.BackgroundStyle = s.BackgroundClass = void 0;
|
|
4060
4171
|
var N = h(0), w = v(N), O = h(26);
|
|
4061
4172
|
function v(o) {
|
|
4062
4173
|
return o && o.__esModule ? o : { default: o };
|
|
@@ -4066,12 +4177,12 @@ function Se() {
|
|
|
4066
4177
|
}), d = new O.ColorAttributor("background", "background-color", {
|
|
4067
4178
|
scope: w.default.Scope.INLINE
|
|
4068
4179
|
});
|
|
4069
|
-
|
|
4180
|
+
s.BackgroundClass = y, s.BackgroundStyle = d;
|
|
4070
4181
|
},
|
|
4071
|
-
function(L,
|
|
4072
|
-
Object.defineProperty(
|
|
4182
|
+
function(L, s, h) {
|
|
4183
|
+
Object.defineProperty(s, "__esModule", {
|
|
4073
4184
|
value: !0
|
|
4074
|
-
}),
|
|
4185
|
+
}), s.DirectionStyle = s.DirectionClass = s.DirectionAttribute = void 0;
|
|
4075
4186
|
var N = h(0), w = O(N);
|
|
4076
4187
|
function O(e) {
|
|
4077
4188
|
return e && e.__esModule ? e : { default: e };
|
|
@@ -4080,28 +4191,28 @@ function Se() {
|
|
|
4080
4191
|
scope: w.default.Scope.BLOCK,
|
|
4081
4192
|
whitelist: ["rtl"]
|
|
4082
4193
|
}, y = new w.default.Attributor.Attribute("direction", "dir", v), d = new w.default.Attributor.Class("direction", "ql-direction", v), o = new w.default.Attributor.Style("direction", "direction", v);
|
|
4083
|
-
|
|
4194
|
+
s.DirectionAttribute = y, s.DirectionClass = d, s.DirectionStyle = o;
|
|
4084
4195
|
},
|
|
4085
|
-
function(L,
|
|
4086
|
-
Object.defineProperty(
|
|
4196
|
+
function(L, s, h) {
|
|
4197
|
+
Object.defineProperty(s, "__esModule", {
|
|
4087
4198
|
value: !0
|
|
4088
|
-
}),
|
|
4199
|
+
}), s.FontClass = s.FontStyle = void 0;
|
|
4089
4200
|
var N = function() {
|
|
4090
|
-
function i(r,
|
|
4091
|
-
for (var n = 0; n <
|
|
4092
|
-
var c =
|
|
4201
|
+
function i(r, f) {
|
|
4202
|
+
for (var n = 0; n < f.length; n++) {
|
|
4203
|
+
var c = f[n];
|
|
4093
4204
|
c.enumerable = c.enumerable || !1, c.configurable = !0, "value" in c && (c.writable = !0), Object.defineProperty(r, c.key, c);
|
|
4094
4205
|
}
|
|
4095
4206
|
}
|
|
4096
|
-
return function(r,
|
|
4097
|
-
return
|
|
4207
|
+
return function(r, f, n) {
|
|
4208
|
+
return f && i(r.prototype, f), n && i(r, n), r;
|
|
4098
4209
|
};
|
|
4099
|
-
}(), w = function i(r,
|
|
4210
|
+
}(), w = function i(r, f, n) {
|
|
4100
4211
|
r === null && (r = Function.prototype);
|
|
4101
|
-
var c = Object.getOwnPropertyDescriptor(r,
|
|
4212
|
+
var c = Object.getOwnPropertyDescriptor(r, f);
|
|
4102
4213
|
if (c === void 0) {
|
|
4103
4214
|
var A = Object.getPrototypeOf(r);
|
|
4104
|
-
return A === null ? void 0 : i(A,
|
|
4215
|
+
return A === null ? void 0 : i(A, f, n);
|
|
4105
4216
|
} else {
|
|
4106
4217
|
if ("value" in c)
|
|
4107
4218
|
return c.value;
|
|
@@ -4141,12 +4252,12 @@ function Se() {
|
|
|
4141
4252
|
}
|
|
4142
4253
|
}]), r;
|
|
4143
4254
|
}(v.default.Attributor.Style), a = new l("font", "font-family", t);
|
|
4144
|
-
|
|
4255
|
+
s.FontStyle = a, s.FontClass = u;
|
|
4145
4256
|
},
|
|
4146
|
-
function(L,
|
|
4147
|
-
Object.defineProperty(
|
|
4257
|
+
function(L, s, h) {
|
|
4258
|
+
Object.defineProperty(s, "__esModule", {
|
|
4148
4259
|
value: !0
|
|
4149
|
-
}),
|
|
4260
|
+
}), s.SizeStyle = s.SizeClass = void 0;
|
|
4150
4261
|
var N = h(0), w = O(N);
|
|
4151
4262
|
function O(d) {
|
|
4152
4263
|
return d && d.__esModule ? d : { default: d };
|
|
@@ -4158,9 +4269,9 @@ function Se() {
|
|
|
4158
4269
|
scope: w.default.Scope.INLINE,
|
|
4159
4270
|
whitelist: ["10px", "18px", "32px"]
|
|
4160
4271
|
});
|
|
4161
|
-
|
|
4272
|
+
s.SizeClass = v, s.SizeStyle = y;
|
|
4162
4273
|
},
|
|
4163
|
-
function(L,
|
|
4274
|
+
function(L, s, h) {
|
|
4164
4275
|
L.exports = {
|
|
4165
4276
|
align: {
|
|
4166
4277
|
"": h(76),
|
|
@@ -4211,40 +4322,40 @@ function Se() {
|
|
|
4211
4322
|
video: h(106)
|
|
4212
4323
|
};
|
|
4213
4324
|
},
|
|
4214
|
-
function(L,
|
|
4215
|
-
Object.defineProperty(
|
|
4325
|
+
function(L, s, h) {
|
|
4326
|
+
Object.defineProperty(s, "__esModule", {
|
|
4216
4327
|
value: !0
|
|
4217
|
-
}),
|
|
4328
|
+
}), s.getLastChangeIndex = s.default = void 0;
|
|
4218
4329
|
var N = function() {
|
|
4219
|
-
function
|
|
4330
|
+
function f(n, c) {
|
|
4220
4331
|
for (var A = 0; A < c.length; A++) {
|
|
4221
4332
|
var b = c[A];
|
|
4222
4333
|
b.enumerable = b.enumerable || !1, b.configurable = !0, "value" in b && (b.writable = !0), Object.defineProperty(n, b.key, b);
|
|
4223
4334
|
}
|
|
4224
4335
|
}
|
|
4225
4336
|
return function(n, c, A) {
|
|
4226
|
-
return c &&
|
|
4337
|
+
return c && f(n.prototype, c), A && f(n, A), n;
|
|
4227
4338
|
};
|
|
4228
4339
|
}(), w = h(0), O = e(w), v = h(5), y = e(v), d = h(9), o = e(d);
|
|
4229
|
-
function e(
|
|
4230
|
-
return
|
|
4340
|
+
function e(f) {
|
|
4341
|
+
return f && f.__esModule ? f : { default: f };
|
|
4231
4342
|
}
|
|
4232
|
-
function t(
|
|
4233
|
-
if (!(
|
|
4343
|
+
function t(f, n) {
|
|
4344
|
+
if (!(f instanceof n))
|
|
4234
4345
|
throw new TypeError("Cannot call a class as a function");
|
|
4235
4346
|
}
|
|
4236
|
-
function u(
|
|
4237
|
-
if (!
|
|
4347
|
+
function u(f, n) {
|
|
4348
|
+
if (!f)
|
|
4238
4349
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4239
|
-
return n && (typeof n == "object" || typeof n == "function") ? n :
|
|
4350
|
+
return n && (typeof n == "object" || typeof n == "function") ? n : f;
|
|
4240
4351
|
}
|
|
4241
|
-
function l(
|
|
4352
|
+
function l(f, n) {
|
|
4242
4353
|
if (typeof n != "function" && n !== null)
|
|
4243
4354
|
throw new TypeError("Super expression must either be null or a function, not " + typeof n);
|
|
4244
|
-
|
|
4355
|
+
f.prototype = Object.create(n && n.prototype, { constructor: { value: f, enumerable: !1, writable: !0, configurable: !0 } }), n && (Object.setPrototypeOf ? Object.setPrototypeOf(f, n) : f.__proto__ = n);
|
|
4245
4356
|
}
|
|
4246
|
-
var a = function(
|
|
4247
|
-
l(n,
|
|
4357
|
+
var a = function(f) {
|
|
4358
|
+
l(n, f);
|
|
4248
4359
|
function n(c, A) {
|
|
4249
4360
|
t(this, n);
|
|
4250
4361
|
var b = u(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, c, A));
|
|
@@ -4315,25 +4426,25 @@ function Se() {
|
|
|
4315
4426
|
maxStack: 100,
|
|
4316
4427
|
userOnly: !1
|
|
4317
4428
|
};
|
|
4318
|
-
function i(
|
|
4319
|
-
var n =
|
|
4429
|
+
function i(f) {
|
|
4430
|
+
var n = f.ops[f.ops.length - 1];
|
|
4320
4431
|
return n == null ? !1 : n.insert != null ? typeof n.insert == "string" && n.insert.endsWith(`
|
|
4321
4432
|
`) : n.attributes != null ? Object.keys(n.attributes).some(function(c) {
|
|
4322
4433
|
return O.default.query(c, O.default.Scope.BLOCK) != null;
|
|
4323
4434
|
}) : !1;
|
|
4324
4435
|
}
|
|
4325
|
-
function r(
|
|
4326
|
-
var n =
|
|
4436
|
+
function r(f) {
|
|
4437
|
+
var n = f.reduce(function(A, b) {
|
|
4327
4438
|
return A += b.delete || 0, A;
|
|
4328
|
-
}, 0), c =
|
|
4329
|
-
return i(
|
|
4439
|
+
}, 0), c = f.length() - n;
|
|
4440
|
+
return i(f) && (c -= 1), c;
|
|
4330
4441
|
}
|
|
4331
|
-
|
|
4442
|
+
s.default = a, s.getLastChangeIndex = r;
|
|
4332
4443
|
},
|
|
4333
|
-
function(L,
|
|
4334
|
-
Object.defineProperty(
|
|
4444
|
+
function(L, s, h) {
|
|
4445
|
+
Object.defineProperty(s, "__esModule", {
|
|
4335
4446
|
value: !0
|
|
4336
|
-
}),
|
|
4447
|
+
}), s.default = s.BaseTooltip = void 0;
|
|
4337
4448
|
var N = function() {
|
|
4338
4449
|
function q(D, U) {
|
|
4339
4450
|
for (var M = 0; M < U.length; M++) {
|
|
@@ -4356,7 +4467,7 @@ function Se() {
|
|
|
4356
4467
|
var $ = P.get;
|
|
4357
4468
|
return $ === void 0 ? void 0 : $.call(M);
|
|
4358
4469
|
}
|
|
4359
|
-
}, O = h(3), v = x(O), y = h(2), d = x(y), o = h(8), e = x(o), t = h(23), u = x(t), l = h(34), a = x(l), i = h(59), r = x(i),
|
|
4470
|
+
}, O = h(3), v = x(O), y = h(2), d = x(y), o = h(8), e = x(o), t = h(23), u = x(t), l = h(34), a = x(l), i = h(59), r = x(i), f = h(60), n = x(f), c = h(28), A = x(c), b = h(61), _ = x(b);
|
|
4360
4471
|
function x(q) {
|
|
4361
4472
|
return q && q.__esModule ? q : { default: q };
|
|
4362
4473
|
}
|
|
@@ -4374,7 +4485,7 @@ function Se() {
|
|
|
4374
4485
|
throw new TypeError("Super expression must either be null or a function, not " + typeof D);
|
|
4375
4486
|
q.prototype = Object.create(D && D.prototype, { constructor: { value: q, enumerable: !1, writable: !0, configurable: !0 } }), D && (Object.setPrototypeOf ? Object.setPrototypeOf(q, D) : q.__proto__ = D);
|
|
4376
4487
|
}
|
|
4377
|
-
var T = [!1, "center", "right", "justify"], S = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], R = [!1, "serif", "monospace"], B = ["1", "2", "3", !1], C = ["small", !1, "large", "huge"],
|
|
4488
|
+
var T = [!1, "center", "right", "justify"], S = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], R = [!1, "serif", "monospace"], B = ["1", "2", "3", !1], C = ["small", !1, "large", "huge"], Z = function(q) {
|
|
4378
4489
|
m(D, q);
|
|
4379
4490
|
function D(U, M) {
|
|
4380
4491
|
g(this, D);
|
|
@@ -4433,7 +4544,7 @@ function Se() {
|
|
|
4433
4544
|
}
|
|
4434
4545
|
}]), D;
|
|
4435
4546
|
}(a.default);
|
|
4436
|
-
|
|
4547
|
+
Z.DEFAULTS = (0, v.default)(!0, {}, a.default.DEFAULTS, {
|
|
4437
4548
|
modules: {
|
|
4438
4549
|
toolbar: {
|
|
4439
4550
|
handlers: {
|
|
@@ -4529,10 +4640,10 @@ function Se() {
|
|
|
4529
4640
|
M === U ? P.setAttribute("selected", "selected") : P.setAttribute("value", M), q.appendChild(P);
|
|
4530
4641
|
});
|
|
4531
4642
|
}
|
|
4532
|
-
|
|
4643
|
+
s.BaseTooltip = F, s.default = Z;
|
|
4533
4644
|
},
|
|
4534
|
-
function(L,
|
|
4535
|
-
Object.defineProperty(
|
|
4645
|
+
function(L, s, h) {
|
|
4646
|
+
Object.defineProperty(s, "__esModule", { value: !0 });
|
|
4536
4647
|
var N = function() {
|
|
4537
4648
|
function w() {
|
|
4538
4649
|
this.head = this.tail = null, this.length = 0;
|
|
@@ -4590,9 +4701,9 @@ function Se() {
|
|
|
4590
4701
|
return v;
|
|
4591
4702
|
}, w;
|
|
4592
4703
|
}();
|
|
4593
|
-
|
|
4704
|
+
s.default = N;
|
|
4594
4705
|
},
|
|
4595
|
-
function(L,
|
|
4706
|
+
function(L, s, h) {
|
|
4596
4707
|
var N = this && this.__extends || function() {
|
|
4597
4708
|
var o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
4598
4709
|
e.__proto__ = t;
|
|
@@ -4608,7 +4719,7 @@ function Se() {
|
|
|
4608
4719
|
e.prototype = t === null ? Object.create(t) : (u.prototype = t.prototype, new u());
|
|
4609
4720
|
};
|
|
4610
4721
|
}();
|
|
4611
|
-
Object.defineProperty(
|
|
4722
|
+
Object.defineProperty(s, "__esModule", { value: !0 });
|
|
4612
4723
|
var w = h(17), O = h(1), v = {
|
|
4613
4724
|
attributes: !0,
|
|
4614
4725
|
characterData: !0,
|
|
@@ -4642,10 +4753,10 @@ function Se() {
|
|
|
4642
4753
|
A === void 0 && (A = !0), !(c == null || c === l) && c.domNode.parentNode != null && (c.domNode[O.DATA_KEY].mutations == null && (c.domNode[O.DATA_KEY].mutations = []), A && i(c.parent));
|
|
4643
4754
|
}, r = function(c) {
|
|
4644
4755
|
c.domNode[O.DATA_KEY] == null || c.domNode[O.DATA_KEY].mutations == null || (c instanceof w.default && c.children.forEach(r), c.optimize(u));
|
|
4645
|
-
},
|
|
4756
|
+
}, f = t, n = 0; f.length > 0; n += 1) {
|
|
4646
4757
|
if (n >= y)
|
|
4647
4758
|
throw new Error("[Parchment] Maximum optimize iterations reached");
|
|
4648
|
-
for (
|
|
4759
|
+
for (f.forEach(function(c) {
|
|
4649
4760
|
var A = O.find(c.target, !0);
|
|
4650
4761
|
A != null && (A.domNode === c.target && (c.type === "childList" ? (i(O.find(c.previousSibling, !1)), [].forEach.call(c.addedNodes, function(b) {
|
|
4651
4762
|
var _ = O.find(b, !1);
|
|
@@ -4653,7 +4764,7 @@ function Se() {
|
|
|
4653
4764
|
i(x, !1);
|
|
4654
4765
|
});
|
|
4655
4766
|
})) : c.type === "attributes" && i(A.prev)), i(A));
|
|
4656
|
-
}), this.children.forEach(r),
|
|
4767
|
+
}), this.children.forEach(r), f = [].slice.call(this.observer.takeRecords()), a = f.slice(); a.length > 0; )
|
|
4657
4768
|
t.push(a.pop());
|
|
4658
4769
|
}
|
|
4659
4770
|
}, e.prototype.update = function(t, u) {
|
|
@@ -4666,9 +4777,9 @@ function Se() {
|
|
|
4666
4777
|
}), this.domNode[O.DATA_KEY].mutations != null && o.prototype.update.call(this, this.domNode[O.DATA_KEY].mutations, u), this.optimize(t, u);
|
|
4667
4778
|
}, e.blotName = "scroll", e.defaultChild = "block", e.scope = O.Scope.BLOCK_BLOT, e.tagName = "DIV", e;
|
|
4668
4779
|
}(w.default);
|
|
4669
|
-
|
|
4780
|
+
s.default = d;
|
|
4670
4781
|
},
|
|
4671
|
-
function(L,
|
|
4782
|
+
function(L, s, h) {
|
|
4672
4783
|
var N = this && this.__extends || function() {
|
|
4673
4784
|
var d = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(o, e) {
|
|
4674
4785
|
o.__proto__ = e;
|
|
@@ -4684,7 +4795,7 @@ function Se() {
|
|
|
4684
4795
|
o.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
|
|
4685
4796
|
};
|
|
4686
4797
|
}();
|
|
4687
|
-
Object.defineProperty(
|
|
4798
|
+
Object.defineProperty(s, "__esModule", { value: !0 });
|
|
4688
4799
|
var w = h(18), O = h(1);
|
|
4689
4800
|
function v(d, o) {
|
|
4690
4801
|
if (Object.keys(d).length !== Object.keys(o).length)
|
|
@@ -4722,9 +4833,9 @@ function Se() {
|
|
|
4722
4833
|
u instanceof o && u.prev === this && v(t, u.formats()) && (u.moveChildren(this), u.remove());
|
|
4723
4834
|
}, o.blotName = "inline", o.scope = O.Scope.INLINE_BLOT, o.tagName = "SPAN", o;
|
|
4724
4835
|
}(w.default);
|
|
4725
|
-
|
|
4836
|
+
s.default = y;
|
|
4726
4837
|
},
|
|
4727
|
-
function(L,
|
|
4838
|
+
function(L, s, h) {
|
|
4728
4839
|
var N = this && this.__extends || function() {
|
|
4729
4840
|
var y = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, o) {
|
|
4730
4841
|
d.__proto__ = o;
|
|
@@ -4740,7 +4851,7 @@ function Se() {
|
|
|
4740
4851
|
d.prototype = o === null ? Object.create(o) : (e.prototype = o.prototype, new e());
|
|
4741
4852
|
};
|
|
4742
4853
|
}();
|
|
4743
|
-
Object.defineProperty(
|
|
4854
|
+
Object.defineProperty(s, "__esModule", { value: !0 });
|
|
4744
4855
|
var w = h(18), O = h(1), v = function(y) {
|
|
4745
4856
|
N(d, y);
|
|
4746
4857
|
function d() {
|
|
@@ -4765,9 +4876,9 @@ function Se() {
|
|
|
4765
4876
|
navigator.userAgent.match(/Trident/) ? this.build() : y.prototype.update.call(this, o, e);
|
|
4766
4877
|
}, d.blotName = "block", d.scope = O.Scope.BLOCK_BLOT, d.tagName = "P", d;
|
|
4767
4878
|
}(w.default);
|
|
4768
|
-
|
|
4879
|
+
s.default = v;
|
|
4769
4880
|
},
|
|
4770
|
-
function(L,
|
|
4881
|
+
function(L, s, h) {
|
|
4771
4882
|
var N = this && this.__extends || function() {
|
|
4772
4883
|
var v = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(y, d) {
|
|
4773
4884
|
y.__proto__ = d;
|
|
@@ -4783,7 +4894,7 @@ function Se() {
|
|
|
4783
4894
|
y.prototype = d === null ? Object.create(d) : (o.prototype = d.prototype, new o());
|
|
4784
4895
|
};
|
|
4785
4896
|
}();
|
|
4786
|
-
Object.defineProperty(
|
|
4897
|
+
Object.defineProperty(s, "__esModule", { value: !0 });
|
|
4787
4898
|
var w = h(19), O = function(v) {
|
|
4788
4899
|
N(y, v);
|
|
4789
4900
|
function y() {
|
|
@@ -4798,9 +4909,9 @@ function Se() {
|
|
|
4798
4909
|
return this.statics.formats(this.domNode);
|
|
4799
4910
|
}, y;
|
|
4800
4911
|
}(w.default);
|
|
4801
|
-
|
|
4912
|
+
s.default = O;
|
|
4802
4913
|
},
|
|
4803
|
-
function(L,
|
|
4914
|
+
function(L, s, h) {
|
|
4804
4915
|
var N = this && this.__extends || function() {
|
|
4805
4916
|
var y = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, o) {
|
|
4806
4917
|
d.__proto__ = o;
|
|
@@ -4816,7 +4927,7 @@ function Se() {
|
|
|
4816
4927
|
d.prototype = o === null ? Object.create(o) : (e.prototype = o.prototype, new e());
|
|
4817
4928
|
};
|
|
4818
4929
|
}();
|
|
4819
|
-
Object.defineProperty(
|
|
4930
|
+
Object.defineProperty(s, "__esModule", { value: !0 });
|
|
4820
4931
|
var w = h(19), O = h(1), v = function(y) {
|
|
4821
4932
|
N(d, y);
|
|
4822
4933
|
function d(o) {
|
|
@@ -4858,9 +4969,9 @@ function Se() {
|
|
|
4858
4969
|
return this.text;
|
|
4859
4970
|
}, d.blotName = "text", d.scope = O.Scope.INLINE_BLOT, d;
|
|
4860
4971
|
}(w.default);
|
|
4861
|
-
|
|
4972
|
+
s.default = v;
|
|
4862
4973
|
},
|
|
4863
|
-
function(L,
|
|
4974
|
+
function(L, s, h) {
|
|
4864
4975
|
var N = document.createElement("div");
|
|
4865
4976
|
if (N.classList.toggle("test-class", !1), N.classList.contains("test-class")) {
|
|
4866
4977
|
var w = DOMTokenList.prototype.toggle;
|
|
@@ -4889,7 +5000,7 @@ function Se() {
|
|
|
4889
5000
|
document.execCommand("enableObjectResizing", !1, !1), document.execCommand("autoUrlDetect", !1, !1);
|
|
4890
5001
|
});
|
|
4891
5002
|
},
|
|
4892
|
-
function(L,
|
|
5003
|
+
function(L, s) {
|
|
4893
5004
|
var h = -1, N = 1, w = 0;
|
|
4894
5005
|
function O(n, c, A) {
|
|
4895
5006
|
if (n == c)
|
|
@@ -4928,7 +5039,7 @@ function Se() {
|
|
|
4928
5039
|
for (var A = n.length, b = c.length, _ = Math.ceil((A + b) / 2), x = _, g = 2 * _, p = new Array(g), m = new Array(g), T = 0; T < g; T++)
|
|
4929
5040
|
p[T] = -1, m[T] = -1;
|
|
4930
5041
|
p[x + 1] = 0, m[x + 1] = 0;
|
|
4931
|
-
for (var S = A - b, R = S % 2 != 0, B = 0, C = 0,
|
|
5042
|
+
for (var S = A - b, R = S % 2 != 0, B = 0, C = 0, Z = 0, F = 0, j = 0; j < _; j++) {
|
|
4932
5043
|
for (var k = -j + B; k <= j - C; k += 2) {
|
|
4933
5044
|
var q = x + k, D;
|
|
4934
5045
|
k == -j || k != j && p[q - 1] < p[q + 1] ? D = p[q + 1] : D = p[q - 1] + 1;
|
|
@@ -4947,7 +5058,7 @@ function Se() {
|
|
|
4947
5058
|
}
|
|
4948
5059
|
}
|
|
4949
5060
|
}
|
|
4950
|
-
for (var I = -j +
|
|
5061
|
+
for (var I = -j + Z; I <= j - F; I += 2) {
|
|
4951
5062
|
var M = x + I, P;
|
|
4952
5063
|
I == -j || I != j && m[M - 1] < m[M + 1] ? P = m[M + 1] : P = m[M - 1] + 1;
|
|
4953
5064
|
for (var $ = P - I; P < A && $ < b && n.charAt(A - P - 1) == c.charAt(b - $ - 1); )
|
|
@@ -4955,7 +5066,7 @@ function Se() {
|
|
|
4955
5066
|
if (m[M] = P, P > A)
|
|
4956
5067
|
F += 2;
|
|
4957
5068
|
else if ($ > b)
|
|
4958
|
-
|
|
5069
|
+
Z += 2;
|
|
4959
5070
|
else if (!R) {
|
|
4960
5071
|
var q = x + S - I;
|
|
4961
5072
|
if (q >= 0 && q < g && p[q] != -1) {
|
|
@@ -4990,16 +5101,16 @@ function Se() {
|
|
|
4990
5101
|
var A = n.length > c.length ? n : c, b = n.length > c.length ? c : n;
|
|
4991
5102
|
if (A.length < 4 || b.length * 2 < A.length)
|
|
4992
5103
|
return null;
|
|
4993
|
-
function _(C,
|
|
4994
|
-
for (var j = C.substring(F, F + Math.floor(C.length / 4)), k = -1, q = "", D, U, M, P; (k =
|
|
5104
|
+
function _(C, Z, F) {
|
|
5105
|
+
for (var j = C.substring(F, F + Math.floor(C.length / 4)), k = -1, q = "", D, U, M, P; (k = Z.indexOf(j, k + 1)) != -1; ) {
|
|
4995
5106
|
var I = o(
|
|
4996
5107
|
C.substring(F),
|
|
4997
|
-
|
|
5108
|
+
Z.substring(k)
|
|
4998
5109
|
), $ = e(
|
|
4999
5110
|
C.substring(0, F),
|
|
5000
|
-
|
|
5111
|
+
Z.substring(0, k)
|
|
5001
5112
|
);
|
|
5002
|
-
q.length < $ + I && (q =
|
|
5113
|
+
q.length < $ + I && (q = Z.substring(k - $, k) + Z.substring(k, k + I), D = C.substring(0, F - $), U = C.substring(F + I), M = Z.substring(0, k - $), P = Z.substring(k + I));
|
|
5003
5114
|
}
|
|
5004
5115
|
return q.length * 2 >= C.length ? [
|
|
5005
5116
|
D,
|
|
@@ -5090,11 +5201,11 @@ function Se() {
|
|
|
5090
5201
|
if (x[0] !== w)
|
|
5091
5202
|
return n;
|
|
5092
5203
|
if (g != null && x[1] + g[1] === g[1] + x[1])
|
|
5093
|
-
return b.splice(_, 2, g, x),
|
|
5204
|
+
return b.splice(_, 2, g, x), f(b, _, 2);
|
|
5094
5205
|
if (g != null && g[1].indexOf(x[1]) === 0) {
|
|
5095
5206
|
b.splice(_, 2, [g[0], x[1]], [0, x[1]]);
|
|
5096
5207
|
var p = g[1].slice(x[1].length);
|
|
5097
|
-
return p.length > 0 && b.splice(_ + 2, 0, [g[0], p]),
|
|
5208
|
+
return p.length > 0 && b.splice(_ + 2, 0, [g[0], p]), f(b, _, 3);
|
|
5098
5209
|
} else
|
|
5099
5210
|
return n;
|
|
5100
5211
|
}
|
|
@@ -5111,7 +5222,7 @@ function Se() {
|
|
|
5111
5222
|
n[_][1].length > 0 && x.push(n[_]);
|
|
5112
5223
|
return x;
|
|
5113
5224
|
}
|
|
5114
|
-
function
|
|
5225
|
+
function f(n, c, A) {
|
|
5115
5226
|
for (var b = c + A - 1; b >= 0 && b >= c - 1; b--)
|
|
5116
5227
|
if (b + 1 < n.length) {
|
|
5117
5228
|
var _ = n[b], x = n[b + 1];
|
|
@@ -5120,8 +5231,8 @@ function Se() {
|
|
|
5120
5231
|
return n;
|
|
5121
5232
|
}
|
|
5122
5233
|
},
|
|
5123
|
-
function(L,
|
|
5124
|
-
|
|
5234
|
+
function(L, s) {
|
|
5235
|
+
s = L.exports = typeof Object.keys == "function" ? Object.keys : h, s.shim = h;
|
|
5125
5236
|
function h(N) {
|
|
5126
5237
|
var w = [];
|
|
5127
5238
|
for (var O in N)
|
|
@@ -5129,20 +5240,20 @@ function Se() {
|
|
|
5129
5240
|
return w;
|
|
5130
5241
|
}
|
|
5131
5242
|
},
|
|
5132
|
-
function(L,
|
|
5243
|
+
function(L, s) {
|
|
5133
5244
|
var h = function() {
|
|
5134
5245
|
return Object.prototype.toString.call(arguments);
|
|
5135
5246
|
}() == "[object Arguments]";
|
|
5136
|
-
|
|
5247
|
+
s = L.exports = h ? N : w, s.supported = N;
|
|
5137
5248
|
function N(O) {
|
|
5138
5249
|
return Object.prototype.toString.call(O) == "[object Arguments]";
|
|
5139
5250
|
}
|
|
5140
|
-
|
|
5251
|
+
s.unsupported = w;
|
|
5141
5252
|
function w(O) {
|
|
5142
5253
|
return O && typeof O == "object" && typeof O.length == "number" && Object.prototype.hasOwnProperty.call(O, "callee") && !Object.prototype.propertyIsEnumerable.call(O, "callee") || !1;
|
|
5143
5254
|
}
|
|
5144
5255
|
},
|
|
5145
|
-
function(L,
|
|
5256
|
+
function(L, s) {
|
|
5146
5257
|
var h = Object.prototype.hasOwnProperty, N = "~";
|
|
5147
5258
|
function w() {
|
|
5148
5259
|
}
|
|
@@ -5175,7 +5286,7 @@ function Se() {
|
|
|
5175
5286
|
var a = N ? N + d : d;
|
|
5176
5287
|
if (!this._events[a])
|
|
5177
5288
|
return !1;
|
|
5178
|
-
var i = this._events[a], r = arguments.length,
|
|
5289
|
+
var i = this._events[a], r = arguments.length, f, n;
|
|
5179
5290
|
if (i.fn) {
|
|
5180
5291
|
switch (i.once && this.removeListener(d, i.fn, void 0, !0), r) {
|
|
5181
5292
|
case 1:
|
|
@@ -5191,9 +5302,9 @@ function Se() {
|
|
|
5191
5302
|
case 6:
|
|
5192
5303
|
return i.fn.call(i.context, o, e, t, u, l), !0;
|
|
5193
5304
|
}
|
|
5194
|
-
for (n = 1,
|
|
5195
|
-
|
|
5196
|
-
i.fn.apply(i.context,
|
|
5305
|
+
for (n = 1, f = new Array(r - 1); n < r; n++)
|
|
5306
|
+
f[n - 1] = arguments[n];
|
|
5307
|
+
i.fn.apply(i.context, f);
|
|
5197
5308
|
} else {
|
|
5198
5309
|
var c = i.length, A;
|
|
5199
5310
|
for (n = 0; n < c; n++)
|
|
@@ -5211,10 +5322,10 @@ function Se() {
|
|
|
5211
5322
|
i[n].fn.call(i[n].context, o, e, t);
|
|
5212
5323
|
break;
|
|
5213
5324
|
default:
|
|
5214
|
-
if (!
|
|
5215
|
-
for (A = 1,
|
|
5216
|
-
|
|
5217
|
-
i[n].fn.apply(i[n].context,
|
|
5325
|
+
if (!f)
|
|
5326
|
+
for (A = 1, f = new Array(r - 1); A < r; A++)
|
|
5327
|
+
f[A - 1] = arguments[A];
|
|
5328
|
+
i[n].fn.apply(i[n].context, f);
|
|
5218
5329
|
}
|
|
5219
5330
|
}
|
|
5220
5331
|
return !0;
|
|
@@ -5246,25 +5357,25 @@ function Se() {
|
|
|
5246
5357
|
return this;
|
|
5247
5358
|
}, v.prefixed = N, v.EventEmitter = v, typeof L < "u" && (L.exports = v);
|
|
5248
5359
|
},
|
|
5249
|
-
function(L,
|
|
5250
|
-
Object.defineProperty(
|
|
5360
|
+
function(L, s, h) {
|
|
5361
|
+
Object.defineProperty(s, "__esModule", {
|
|
5251
5362
|
value: !0
|
|
5252
|
-
}),
|
|
5363
|
+
}), s.matchText = s.matchSpacing = s.matchNewline = s.matchBlot = s.matchAttributor = s.default = void 0;
|
|
5253
5364
|
var N = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(z) {
|
|
5254
5365
|
return typeof z;
|
|
5255
5366
|
} : function(z) {
|
|
5256
5367
|
return z && typeof Symbol == "function" && z.constructor === Symbol && z !== Symbol.prototype ? "symbol" : typeof z;
|
|
5257
5368
|
}, w = function() {
|
|
5258
5369
|
function z(K, Y) {
|
|
5259
|
-
var Q = [],
|
|
5370
|
+
var Q = [], G = !0, te = !1, ne = void 0;
|
|
5260
5371
|
try {
|
|
5261
|
-
for (var re = K[Symbol.iterator](), fe; !(
|
|
5372
|
+
for (var re = K[Symbol.iterator](), fe; !(G = (fe = re.next()).done) && (Q.push(fe.value), !(Y && Q.length === Y)); G = !0)
|
|
5262
5373
|
;
|
|
5263
5374
|
} catch (ce) {
|
|
5264
5375
|
te = !0, ne = ce;
|
|
5265
5376
|
} finally {
|
|
5266
5377
|
try {
|
|
5267
|
-
!
|
|
5378
|
+
!G && re.return && re.return();
|
|
5268
5379
|
} finally {
|
|
5269
5380
|
if (te)
|
|
5270
5381
|
throw ne;
|
|
@@ -5282,14 +5393,14 @@ function Se() {
|
|
|
5282
5393
|
}(), O = function() {
|
|
5283
5394
|
function z(K, Y) {
|
|
5284
5395
|
for (var Q = 0; Q < Y.length; Q++) {
|
|
5285
|
-
var
|
|
5286
|
-
|
|
5396
|
+
var G = Y[Q];
|
|
5397
|
+
G.enumerable = G.enumerable || !1, G.configurable = !0, "value" in G && (G.writable = !0), Object.defineProperty(K, G.key, G);
|
|
5287
5398
|
}
|
|
5288
5399
|
}
|
|
5289
5400
|
return function(K, Y, Q) {
|
|
5290
5401
|
return Y && z(K.prototype, Y), Q && z(K, Q), K;
|
|
5291
5402
|
};
|
|
5292
|
-
}(), v = h(3), y = m(v), d = h(2), o = m(d), e = h(0), t = m(e), u = h(5), l = m(u), a = h(10), i = m(a), r = h(9),
|
|
5403
|
+
}(), v = h(3), y = m(v), d = h(2), o = m(d), e = h(0), t = m(e), u = h(5), l = m(u), a = h(10), i = m(a), r = h(9), f = m(r), n = h(36), c = h(37), A = h(13), b = m(A), _ = h(26), x = h(38), g = h(39), p = h(40);
|
|
5293
5404
|
function m(z) {
|
|
5294
5405
|
return z && z.__esModule ? z : { default: z };
|
|
5295
5406
|
}
|
|
@@ -5310,7 +5421,7 @@ function Se() {
|
|
|
5310
5421
|
throw new TypeError("Super expression must either be null or a function, not " + typeof K);
|
|
5311
5422
|
z.prototype = Object.create(K && K.prototype, { constructor: { value: z, enumerable: !1, writable: !0, configurable: !0 } }), K && (Object.setPrototypeOf ? Object.setPrototypeOf(z, K) : z.__proto__ = K);
|
|
5312
5423
|
}
|
|
5313
|
-
var C = (0, i.default)("quill:clipboard"),
|
|
5424
|
+
var C = (0, i.default)("quill:clipboard"), Z = "__ql-matcher", F = [[Node.TEXT_NODE, ue], [Node.TEXT_NODE, ie], ["br", X], [Node.ELEMENT_NODE, ie], [Node.ELEMENT_NODE, V], [Node.ELEMENT_NODE, oe], [Node.ELEMENT_NODE, H], [Node.ELEMENT_NODE, se], ["li", ee], ["b", $.bind($, "bold")], ["i", $.bind($, "italic")], ["style", J]], j = [n.AlignAttribute, x.DirectionAttribute].reduce(function(z, K) {
|
|
5314
5425
|
return z[K.keyName] = K, z;
|
|
5315
5426
|
}, {}), k = [n.AlignStyle, c.BackgroundStyle, _.ColorStyle, x.DirectionStyle, g.FontStyle, p.SizeStyle].reduce(function(z, K) {
|
|
5316
5427
|
return z[K.keyName] = K, z;
|
|
@@ -5318,26 +5429,26 @@ function Se() {
|
|
|
5318
5429
|
B(K, z);
|
|
5319
5430
|
function K(Y, Q) {
|
|
5320
5431
|
S(this, K);
|
|
5321
|
-
var
|
|
5322
|
-
return
|
|
5432
|
+
var G = R(this, (K.__proto__ || Object.getPrototypeOf(K)).call(this, Y, Q));
|
|
5433
|
+
return G.quill.root.addEventListener("paste", G.onPaste.bind(G)), G.container = G.quill.addContainer("ql-clipboard"), G.container.setAttribute("contenteditable", !0), G.container.setAttribute("tabindex", -1), G.matchers = [], F.concat(G.options.matchers).forEach(function(te) {
|
|
5323
5434
|
var ne = w(te, 2), re = ne[0], fe = ne[1];
|
|
5324
|
-
!Q.matchVisual && fe === oe ||
|
|
5325
|
-
}),
|
|
5435
|
+
!Q.matchVisual && fe === oe || G.addMatcher(re, fe);
|
|
5436
|
+
}), G;
|
|
5326
5437
|
}
|
|
5327
5438
|
return O(K, [{
|
|
5328
5439
|
key: "addMatcher",
|
|
5329
|
-
value: function(Q,
|
|
5330
|
-
this.matchers.push([Q,
|
|
5440
|
+
value: function(Q, G) {
|
|
5441
|
+
this.matchers.push([Q, G]);
|
|
5331
5442
|
}
|
|
5332
5443
|
}, {
|
|
5333
5444
|
key: "convert",
|
|
5334
5445
|
value: function(Q) {
|
|
5335
5446
|
if (typeof Q == "string")
|
|
5336
5447
|
return this.container.innerHTML = Q.replace(/\>\r?\n +\</g, "><"), this.convert();
|
|
5337
|
-
var
|
|
5338
|
-
if (
|
|
5448
|
+
var G = this.quill.getFormat(this.quill.selection.savedRange.index);
|
|
5449
|
+
if (G[b.default.blotName]) {
|
|
5339
5450
|
var te = this.container.innerText;
|
|
5340
|
-
return this.container.innerHTML = "", new o.default().insert(te, T({}, b.default.blotName,
|
|
5451
|
+
return this.container.innerHTML = "", new o.default().insert(te, T({}, b.default.blotName, G[b.default.blotName]));
|
|
5341
5452
|
}
|
|
5342
5453
|
var ne = this.prepareMatching(), re = w(ne, 2), fe = re[0], ce = re[1], le = I(this.container, fe, ce);
|
|
5343
5454
|
return M(le, `
|
|
@@ -5345,30 +5456,30 @@ function Se() {
|
|
|
5345
5456
|
}
|
|
5346
5457
|
}, {
|
|
5347
5458
|
key: "dangerouslyPasteHTML",
|
|
5348
|
-
value: function(Q,
|
|
5459
|
+
value: function(Q, G) {
|
|
5349
5460
|
var te = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : l.default.sources.API;
|
|
5350
5461
|
if (typeof Q == "string")
|
|
5351
|
-
this.quill.setContents(this.convert(Q),
|
|
5462
|
+
this.quill.setContents(this.convert(Q), G), this.quill.setSelection(0, l.default.sources.SILENT);
|
|
5352
5463
|
else {
|
|
5353
|
-
var ne = this.convert(
|
|
5464
|
+
var ne = this.convert(G);
|
|
5354
5465
|
this.quill.updateContents(new o.default().retain(Q).concat(ne), te), this.quill.setSelection(Q + ne.length(), l.default.sources.SILENT);
|
|
5355
5466
|
}
|
|
5356
5467
|
}
|
|
5357
5468
|
}, {
|
|
5358
5469
|
key: "onPaste",
|
|
5359
5470
|
value: function(Q) {
|
|
5360
|
-
var
|
|
5471
|
+
var G = this;
|
|
5361
5472
|
if (!(Q.defaultPrevented || !this.quill.isEnabled())) {
|
|
5362
5473
|
var te = this.quill.getSelection(), ne = new o.default().retain(te.index), re = this.quill.scrollingContainer.scrollTop;
|
|
5363
5474
|
this.container.focus(), this.quill.selection.update(l.default.sources.SILENT), setTimeout(function() {
|
|
5364
|
-
ne = ne.concat(
|
|
5475
|
+
ne = ne.concat(G.convert()).delete(te.length), G.quill.updateContents(ne, l.default.sources.USER), G.quill.setSelection(ne.length() - te.length, l.default.sources.SILENT), G.quill.scrollingContainer.scrollTop = re, G.quill.focus();
|
|
5365
5476
|
}, 1);
|
|
5366
5477
|
}
|
|
5367
5478
|
}
|
|
5368
5479
|
}, {
|
|
5369
5480
|
key: "prepareMatching",
|
|
5370
5481
|
value: function() {
|
|
5371
|
-
var Q = this,
|
|
5482
|
+
var Q = this, G = [], te = [];
|
|
5372
5483
|
return this.matchers.forEach(function(ne) {
|
|
5373
5484
|
var re = w(ne, 2), fe = re[0], ce = re[1];
|
|
5374
5485
|
switch (fe) {
|
|
@@ -5376,27 +5487,27 @@ function Se() {
|
|
|
5376
5487
|
te.push(ce);
|
|
5377
5488
|
break;
|
|
5378
5489
|
case Node.ELEMENT_NODE:
|
|
5379
|
-
|
|
5490
|
+
G.push(ce);
|
|
5380
5491
|
break;
|
|
5381
5492
|
default:
|
|
5382
5493
|
[].forEach.call(Q.container.querySelectorAll(fe), function(le) {
|
|
5383
|
-
le[
|
|
5494
|
+
le[Z] = le[Z] || [], le[Z].push(ce);
|
|
5384
5495
|
});
|
|
5385
5496
|
break;
|
|
5386
5497
|
}
|
|
5387
|
-
}), [
|
|
5498
|
+
}), [G, te];
|
|
5388
5499
|
}
|
|
5389
5500
|
}]), K;
|
|
5390
|
-
}(
|
|
5501
|
+
}(f.default);
|
|
5391
5502
|
q.DEFAULTS = {
|
|
5392
5503
|
matchers: [],
|
|
5393
5504
|
matchVisual: !0
|
|
5394
5505
|
};
|
|
5395
5506
|
function D(z, K, Y) {
|
|
5396
|
-
return (typeof K > "u" ? "undefined" : N(K)) === "object" ? Object.keys(K).reduce(function(Q,
|
|
5397
|
-
return D(Q,
|
|
5398
|
-
}, z) : z.reduce(function(Q,
|
|
5399
|
-
return
|
|
5507
|
+
return (typeof K > "u" ? "undefined" : N(K)) === "object" ? Object.keys(K).reduce(function(Q, G) {
|
|
5508
|
+
return D(Q, G, K[G]);
|
|
5509
|
+
}, z) : z.reduce(function(Q, G) {
|
|
5510
|
+
return G.attributes && G.attributes[K] ? Q.push(G) : Q.insert(G.insert, (0, y.default)({}, T({}, K, Y), G.attributes));
|
|
5400
5511
|
}, new o.default());
|
|
5401
5512
|
}
|
|
5402
5513
|
function U(z) {
|
|
@@ -5407,10 +5518,10 @@ function Se() {
|
|
|
5407
5518
|
}
|
|
5408
5519
|
function M(z, K) {
|
|
5409
5520
|
for (var Y = "", Q = z.ops.length - 1; Q >= 0 && Y.length < K.length; --Q) {
|
|
5410
|
-
var
|
|
5411
|
-
if (typeof
|
|
5521
|
+
var G = z.ops[Q];
|
|
5522
|
+
if (typeof G.insert != "string")
|
|
5412
5523
|
break;
|
|
5413
|
-
Y =
|
|
5524
|
+
Y = G.insert + Y;
|
|
5414
5525
|
}
|
|
5415
5526
|
return Y.slice(-1 * K.length) === K;
|
|
5416
5527
|
}
|
|
@@ -5421,14 +5532,14 @@ function Se() {
|
|
|
5421
5532
|
return ["block", "list-item"].indexOf(K.display) > -1;
|
|
5422
5533
|
}
|
|
5423
5534
|
function I(z, K, Y) {
|
|
5424
|
-
return z.nodeType === z.TEXT_NODE ? Y.reduce(function(Q,
|
|
5425
|
-
return
|
|
5426
|
-
}, new o.default()) : z.nodeType === z.ELEMENT_NODE ? [].reduce.call(z.childNodes || [], function(Q,
|
|
5427
|
-
var te = I(
|
|
5428
|
-
return
|
|
5429
|
-
return re(
|
|
5430
|
-
}, te), te = (Z
|
|
5431
|
-
return re(
|
|
5535
|
+
return z.nodeType === z.TEXT_NODE ? Y.reduce(function(Q, G) {
|
|
5536
|
+
return G(z, Q);
|
|
5537
|
+
}, new o.default()) : z.nodeType === z.ELEMENT_NODE ? [].reduce.call(z.childNodes || [], function(Q, G) {
|
|
5538
|
+
var te = I(G, K, Y);
|
|
5539
|
+
return G.nodeType === z.ELEMENT_NODE && (te = K.reduce(function(ne, re) {
|
|
5540
|
+
return re(G, ne);
|
|
5541
|
+
}, te), te = (G[Z] || []).reduce(function(ne, re) {
|
|
5542
|
+
return re(G, ne);
|
|
5432
5543
|
}, te)), Q.concat(te);
|
|
5433
5544
|
}, new o.default()) : new o.default();
|
|
5434
5545
|
}
|
|
@@ -5436,8 +5547,8 @@ function Se() {
|
|
|
5436
5547
|
return D(Y, z, !0);
|
|
5437
5548
|
}
|
|
5438
5549
|
function H(z, K) {
|
|
5439
|
-
var Y = t.default.Attributor.Attribute.keys(z), Q = t.default.Attributor.Class.keys(z),
|
|
5440
|
-
return Y.concat(Q).concat(
|
|
5550
|
+
var Y = t.default.Attributor.Attribute.keys(z), Q = t.default.Attributor.Class.keys(z), G = t.default.Attributor.Style.keys(z), te = {};
|
|
5551
|
+
return Y.concat(Q).concat(G).forEach(function(ne) {
|
|
5441
5552
|
var re = t.default.query(ne, t.default.Scope.ATTRIBUTE);
|
|
5442
5553
|
re != null && (te[re.attrName] = re.value(z), te[re.attrName]) || (re = j[ne], re != null && (re.attrName === ne || re.keyName === ne) && (te[re.attrName] = re.value(z) || void 0), re = k[ne], re != null && (re.attrName === ne || re.keyName === ne) && (re = k[ne], te[re.attrName] = re.value(z) || void 0));
|
|
5443
5554
|
}), Object.keys(te).length > 0 && (K = D(K, te)), K;
|
|
@@ -5447,8 +5558,8 @@ function Se() {
|
|
|
5447
5558
|
if (Y == null)
|
|
5448
5559
|
return K;
|
|
5449
5560
|
if (Y.prototype instanceof t.default.Embed) {
|
|
5450
|
-
var Q = {},
|
|
5451
|
-
|
|
5561
|
+
var Q = {}, G = Y.value(z);
|
|
5562
|
+
G != null && (Q[Y.blotName] = G, K = new o.default().insert(Q, Y.formats(z)));
|
|
5452
5563
|
} else
|
|
5453
5564
|
typeof Y.formats == "function" && (K = D(K, Y.blotName, Y.formats(z)));
|
|
5454
5565
|
return K;
|
|
@@ -5466,8 +5577,8 @@ function Se() {
|
|
|
5466
5577
|
if (Y == null || Y.blotName !== "list-item" || !M(K, `
|
|
5467
5578
|
`))
|
|
5468
5579
|
return K;
|
|
5469
|
-
for (var Q = -1,
|
|
5470
|
-
(t.default.query(
|
|
5580
|
+
for (var Q = -1, G = z.parentNode; !G.classList.contains("ql-clipboard"); )
|
|
5581
|
+
(t.default.query(G) || {}).blotName === "list" && (Q += 1), G = G.parentNode;
|
|
5471
5582
|
return Q <= 0 ? K : K.compose(new o.default().retain(K.length() - 1).retain(1, { indent: Q }));
|
|
5472
5583
|
}
|
|
5473
5584
|
function ie(z, K) {
|
|
@@ -5503,10 +5614,10 @@ function Se() {
|
|
|
5503
5614
|
}
|
|
5504
5615
|
return K.insert(Y);
|
|
5505
5616
|
}
|
|
5506
|
-
|
|
5617
|
+
s.default = q, s.matchAttributor = H, s.matchBlot = V, s.matchNewline = ie, s.matchSpacing = oe, s.matchText = ue;
|
|
5507
5618
|
},
|
|
5508
|
-
function(L,
|
|
5509
|
-
Object.defineProperty(
|
|
5619
|
+
function(L, s, h) {
|
|
5620
|
+
Object.defineProperty(s, "__esModule", {
|
|
5510
5621
|
value: !0
|
|
5511
5622
|
});
|
|
5512
5623
|
var N = function() {
|
|
@@ -5523,8 +5634,8 @@ function Se() {
|
|
|
5523
5634
|
l === null && (l = Function.prototype);
|
|
5524
5635
|
var r = Object.getOwnPropertyDescriptor(l, a);
|
|
5525
5636
|
if (r === void 0) {
|
|
5526
|
-
var
|
|
5527
|
-
return
|
|
5637
|
+
var f = Object.getPrototypeOf(l);
|
|
5638
|
+
return f === null ? void 0 : u(f, a, i);
|
|
5528
5639
|
} else {
|
|
5529
5640
|
if ("value" in r)
|
|
5530
5641
|
return r.value;
|
|
@@ -5571,23 +5682,23 @@ function Se() {
|
|
|
5571
5682
|
}
|
|
5572
5683
|
}]), l;
|
|
5573
5684
|
}(v.default);
|
|
5574
|
-
t.blotName = "bold", t.tagName = ["STRONG", "B"],
|
|
5685
|
+
t.blotName = "bold", t.tagName = ["STRONG", "B"], s.default = t;
|
|
5575
5686
|
},
|
|
5576
|
-
function(L,
|
|
5577
|
-
Object.defineProperty(
|
|
5687
|
+
function(L, s, h) {
|
|
5688
|
+
Object.defineProperty(s, "__esModule", {
|
|
5578
5689
|
value: !0
|
|
5579
|
-
}),
|
|
5690
|
+
}), s.addControls = s.default = void 0;
|
|
5580
5691
|
var N = function() {
|
|
5581
5692
|
function p(m, T) {
|
|
5582
5693
|
var S = [], R = !0, B = !1, C = void 0;
|
|
5583
5694
|
try {
|
|
5584
|
-
for (var
|
|
5695
|
+
for (var Z = m[Symbol.iterator](), F; !(R = (F = Z.next()).done) && (S.push(F.value), !(T && S.length === T)); R = !0)
|
|
5585
5696
|
;
|
|
5586
5697
|
} catch (j) {
|
|
5587
5698
|
B = !0, C = j;
|
|
5588
5699
|
} finally {
|
|
5589
5700
|
try {
|
|
5590
|
-
!R &&
|
|
5701
|
+
!R && Z.return && Z.return();
|
|
5591
5702
|
} finally {
|
|
5592
5703
|
if (B)
|
|
5593
5704
|
throw C;
|
|
@@ -5619,7 +5730,7 @@ function Se() {
|
|
|
5619
5730
|
function r(p, m, T) {
|
|
5620
5731
|
return m in p ? Object.defineProperty(p, m, { value: T, enumerable: !0, configurable: !0, writable: !0 }) : p[m] = T, p;
|
|
5621
5732
|
}
|
|
5622
|
-
function
|
|
5733
|
+
function f(p, m) {
|
|
5623
5734
|
if (!(p instanceof m))
|
|
5624
5735
|
throw new TypeError("Cannot call a class as a function");
|
|
5625
5736
|
}
|
|
@@ -5636,7 +5747,7 @@ function Se() {
|
|
|
5636
5747
|
var A = (0, u.default)("quill:toolbar"), b = function(p) {
|
|
5637
5748
|
c(m, p);
|
|
5638
5749
|
function m(T, S) {
|
|
5639
|
-
|
|
5750
|
+
f(this, m);
|
|
5640
5751
|
var R = n(this, (m.__proto__ || Object.getPrototypeOf(m)).call(this, T, S));
|
|
5641
5752
|
if (Array.isArray(R.options.container)) {
|
|
5642
5753
|
var B = document.createElement("div");
|
|
@@ -5647,14 +5758,14 @@ function Se() {
|
|
|
5647
5758
|
var C;
|
|
5648
5759
|
return C = A.error("Container required for toolbar", R.options), n(R, C);
|
|
5649
5760
|
}
|
|
5650
|
-
return R.container.classList.add("ql-toolbar"), R.controls = [], R.handlers = {}, Object.keys(R.options.handlers).forEach(function(
|
|
5651
|
-
R.addHandler(
|
|
5652
|
-
}), [].forEach.call(R.container.querySelectorAll("button, select"), function(
|
|
5653
|
-
R.attach(
|
|
5654
|
-
}), R.quill.on(e.default.events.EDITOR_CHANGE, function(
|
|
5655
|
-
|
|
5761
|
+
return R.container.classList.add("ql-toolbar"), R.controls = [], R.handlers = {}, Object.keys(R.options.handlers).forEach(function(Z) {
|
|
5762
|
+
R.addHandler(Z, R.options.handlers[Z]);
|
|
5763
|
+
}), [].forEach.call(R.container.querySelectorAll("button, select"), function(Z) {
|
|
5764
|
+
R.attach(Z);
|
|
5765
|
+
}), R.quill.on(e.default.events.EDITOR_CHANGE, function(Z, F) {
|
|
5766
|
+
Z === e.default.events.SELECTION_CHANGE && R.update(F);
|
|
5656
5767
|
}), R.quill.on(e.default.events.SCROLL_OPTIMIZE, function() {
|
|
5657
|
-
var
|
|
5768
|
+
var Z = R.quill.selection.getRange(), F = N(Z, 1), j = F[0];
|
|
5658
5769
|
R.update(j);
|
|
5659
5770
|
}), R;
|
|
5660
5771
|
}
|
|
@@ -5666,8 +5777,8 @@ function Se() {
|
|
|
5666
5777
|
}, {
|
|
5667
5778
|
key: "attach",
|
|
5668
5779
|
value: function(S) {
|
|
5669
|
-
var R = this, B = [].find.call(S.classList, function(
|
|
5670
|
-
return
|
|
5780
|
+
var R = this, B = [].find.call(S.classList, function(Z) {
|
|
5781
|
+
return Z.indexOf("ql-") === 0;
|
|
5671
5782
|
});
|
|
5672
5783
|
if (!!B) {
|
|
5673
5784
|
if (B = B.slice(3), S.tagName === "BUTTON" && S.setAttribute("type", "button"), this.handlers[B] == null) {
|
|
@@ -5681,7 +5792,7 @@ function Se() {
|
|
|
5681
5792
|
}
|
|
5682
5793
|
}
|
|
5683
5794
|
var C = S.tagName === "SELECT" ? "change" : "click";
|
|
5684
|
-
S.addEventListener(C, function(
|
|
5795
|
+
S.addEventListener(C, function(Z) {
|
|
5685
5796
|
var F = void 0;
|
|
5686
5797
|
if (S.tagName === "SELECT") {
|
|
5687
5798
|
if (S.selectedIndex < 0)
|
|
@@ -5689,7 +5800,7 @@ function Se() {
|
|
|
5689
5800
|
var j = S.options[S.selectedIndex];
|
|
5690
5801
|
j.hasAttribute("selected") ? F = !1 : F = j.value || !1;
|
|
5691
5802
|
} else
|
|
5692
|
-
S.classList.contains("ql-active") ? F = !1 : F = S.value || !S.hasAttribute("value"),
|
|
5803
|
+
S.classList.contains("ql-active") ? F = !1 : F = S.value || !S.hasAttribute("value"), Z.preventDefault();
|
|
5693
5804
|
R.quill.focus();
|
|
5694
5805
|
var k = R.quill.selection.getRange(), q = N(k, 1), D = q[0];
|
|
5695
5806
|
if (R.handlers[B] != null)
|
|
@@ -5709,25 +5820,25 @@ function Se() {
|
|
|
5709
5820
|
value: function(S) {
|
|
5710
5821
|
var R = S == null ? {} : this.quill.getFormat(S);
|
|
5711
5822
|
this.controls.forEach(function(B) {
|
|
5712
|
-
var C = N(B, 2),
|
|
5823
|
+
var C = N(B, 2), Z = C[0], F = C[1];
|
|
5713
5824
|
if (F.tagName === "SELECT") {
|
|
5714
5825
|
var j = void 0;
|
|
5715
5826
|
if (S == null)
|
|
5716
5827
|
j = null;
|
|
5717
|
-
else if (R[
|
|
5828
|
+
else if (R[Z] == null)
|
|
5718
5829
|
j = F.querySelector("option[selected]");
|
|
5719
|
-
else if (!Array.isArray(R[
|
|
5720
|
-
var k = R[
|
|
5830
|
+
else if (!Array.isArray(R[Z])) {
|
|
5831
|
+
var k = R[Z];
|
|
5721
5832
|
typeof k == "string" && (k = k.replace(/\"/g, '\\"')), j = F.querySelector('option[value="' + k + '"]');
|
|
5722
5833
|
}
|
|
5723
5834
|
j == null ? (F.value = "", F.selectedIndex = -1) : j.selected = !0;
|
|
5724
5835
|
} else if (S == null)
|
|
5725
5836
|
F.classList.remove("ql-active");
|
|
5726
5837
|
else if (F.hasAttribute("value")) {
|
|
5727
|
-
var q = R[
|
|
5838
|
+
var q = R[Z] === F.getAttribute("value") || R[Z] != null && R[Z].toString() === F.getAttribute("value") || R[Z] == null && !F.getAttribute("value");
|
|
5728
5839
|
F.classList.toggle("ql-active", q);
|
|
5729
5840
|
} else
|
|
5730
|
-
F.classList.toggle("ql-active", R[
|
|
5841
|
+
F.classList.toggle("ql-active", R[Z] != null);
|
|
5731
5842
|
});
|
|
5732
5843
|
}
|
|
5733
5844
|
}]), m;
|
|
@@ -5790,13 +5901,13 @@ function Se() {
|
|
|
5790
5901
|
m === "check" ? S.list === "checked" || S.list === "unchecked" ? this.quill.format("list", !1, e.default.sources.USER) : this.quill.format("list", "unchecked", e.default.sources.USER) : this.quill.format("list", m, e.default.sources.USER);
|
|
5791
5902
|
}
|
|
5792
5903
|
}
|
|
5793
|
-
},
|
|
5904
|
+
}, s.default = b, s.addControls = x;
|
|
5794
5905
|
},
|
|
5795
|
-
function(L,
|
|
5906
|
+
function(L, s) {
|
|
5796
5907
|
L.exports = '<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>';
|
|
5797
5908
|
},
|
|
5798
|
-
function(L,
|
|
5799
|
-
Object.defineProperty(
|
|
5909
|
+
function(L, s, h) {
|
|
5910
|
+
Object.defineProperty(s, "__esModule", {
|
|
5800
5911
|
value: !0
|
|
5801
5912
|
});
|
|
5802
5913
|
var N = function() {
|
|
@@ -5813,8 +5924,8 @@ function Se() {
|
|
|
5813
5924
|
l === null && (l = Function.prototype);
|
|
5814
5925
|
var r = Object.getOwnPropertyDescriptor(l, a);
|
|
5815
5926
|
if (r === void 0) {
|
|
5816
|
-
var
|
|
5817
|
-
return
|
|
5927
|
+
var f = Object.getPrototypeOf(l);
|
|
5928
|
+
return f === null ? void 0 : u(f, a, i);
|
|
5818
5929
|
} else {
|
|
5819
5930
|
if ("value" in r)
|
|
5820
5931
|
return r.value;
|
|
@@ -5844,8 +5955,8 @@ function Se() {
|
|
|
5844
5955
|
function l(a, i) {
|
|
5845
5956
|
d(this, l);
|
|
5846
5957
|
var r = o(this, (l.__proto__ || Object.getPrototypeOf(l)).call(this, a));
|
|
5847
|
-
return r.label.innerHTML = i, r.container.classList.add("ql-color-picker"), [].slice.call(r.container.querySelectorAll(".ql-picker-item"), 0, 7).forEach(function(
|
|
5848
|
-
|
|
5958
|
+
return r.label.innerHTML = i, r.container.classList.add("ql-color-picker"), [].slice.call(r.container.querySelectorAll(".ql-picker-item"), 0, 7).forEach(function(f) {
|
|
5959
|
+
f.classList.add("ql-primary");
|
|
5849
5960
|
}), r;
|
|
5850
5961
|
}
|
|
5851
5962
|
return N(l, [{
|
|
@@ -5858,15 +5969,15 @@ function Se() {
|
|
|
5858
5969
|
key: "selectItem",
|
|
5859
5970
|
value: function(i, r) {
|
|
5860
5971
|
w(l.prototype.__proto__ || Object.getPrototypeOf(l.prototype), "selectItem", this).call(this, i, r);
|
|
5861
|
-
var
|
|
5862
|
-
|
|
5972
|
+
var f = this.label.querySelector(".ql-color-label"), n = i && i.getAttribute("data-value") || "";
|
|
5973
|
+
f && (f.tagName === "line" ? f.style.stroke = n : f.style.fill = n);
|
|
5863
5974
|
}
|
|
5864
5975
|
}]), l;
|
|
5865
5976
|
}(v.default);
|
|
5866
|
-
|
|
5977
|
+
s.default = t;
|
|
5867
5978
|
},
|
|
5868
|
-
function(L,
|
|
5869
|
-
Object.defineProperty(
|
|
5979
|
+
function(L, s, h) {
|
|
5980
|
+
Object.defineProperty(s, "__esModule", {
|
|
5870
5981
|
value: !0
|
|
5871
5982
|
});
|
|
5872
5983
|
var N = function() {
|
|
@@ -5883,8 +5994,8 @@ function Se() {
|
|
|
5883
5994
|
l === null && (l = Function.prototype);
|
|
5884
5995
|
var r = Object.getOwnPropertyDescriptor(l, a);
|
|
5885
5996
|
if (r === void 0) {
|
|
5886
|
-
var
|
|
5887
|
-
return
|
|
5997
|
+
var f = Object.getPrototypeOf(l);
|
|
5998
|
+
return f === null ? void 0 : u(f, a, i);
|
|
5888
5999
|
} else {
|
|
5889
6000
|
if ("value" in r)
|
|
5890
6001
|
return r.value;
|
|
@@ -5914,8 +6025,8 @@ function Se() {
|
|
|
5914
6025
|
function l(a, i) {
|
|
5915
6026
|
d(this, l);
|
|
5916
6027
|
var r = o(this, (l.__proto__ || Object.getPrototypeOf(l)).call(this, a));
|
|
5917
|
-
return r.container.classList.add("ql-icon-picker"), [].forEach.call(r.container.querySelectorAll(".ql-picker-item"), function(
|
|
5918
|
-
|
|
6028
|
+
return r.container.classList.add("ql-icon-picker"), [].forEach.call(r.container.querySelectorAll(".ql-picker-item"), function(f) {
|
|
6029
|
+
f.innerHTML = i[f.getAttribute("data-value") || ""];
|
|
5919
6030
|
}), r.defaultItem = r.container.querySelector(".ql-selected"), r.selectItem(r.defaultItem), r;
|
|
5920
6031
|
}
|
|
5921
6032
|
return N(l, [{
|
|
@@ -5925,10 +6036,10 @@ function Se() {
|
|
|
5925
6036
|
}
|
|
5926
6037
|
}]), l;
|
|
5927
6038
|
}(v.default);
|
|
5928
|
-
|
|
6039
|
+
s.default = t;
|
|
5929
6040
|
},
|
|
5930
|
-
function(L,
|
|
5931
|
-
Object.defineProperty(
|
|
6041
|
+
function(L, s, h) {
|
|
6042
|
+
Object.defineProperty(s, "__esModule", {
|
|
5932
6043
|
value: !0
|
|
5933
6044
|
});
|
|
5934
6045
|
var N = function() {
|
|
@@ -5977,17 +6088,17 @@ function Se() {
|
|
|
5977
6088
|
}
|
|
5978
6089
|
}]), v;
|
|
5979
6090
|
}();
|
|
5980
|
-
|
|
6091
|
+
s.default = O;
|
|
5981
6092
|
},
|
|
5982
|
-
function(L,
|
|
5983
|
-
Object.defineProperty(
|
|
6093
|
+
function(L, s, h) {
|
|
6094
|
+
Object.defineProperty(s, "__esModule", {
|
|
5984
6095
|
value: !0
|
|
5985
6096
|
});
|
|
5986
6097
|
var N = function() {
|
|
5987
6098
|
function g(p, m) {
|
|
5988
6099
|
var T = [], S = !0, R = !1, B = void 0;
|
|
5989
6100
|
try {
|
|
5990
|
-
for (var C = p[Symbol.iterator](),
|
|
6101
|
+
for (var C = p[Symbol.iterator](), Z; !(S = (Z = C.next()).done) && (T.push(Z.value), !(m && T.length === m)); S = !0)
|
|
5991
6102
|
;
|
|
5992
6103
|
} catch (F) {
|
|
5993
6104
|
R = !0, B = F;
|
|
@@ -6030,8 +6141,8 @@ function Se() {
|
|
|
6030
6141
|
return function(p, m, T) {
|
|
6031
6142
|
return m && g(p.prototype, m), T && g(p, T), p;
|
|
6032
6143
|
};
|
|
6033
|
-
}(), v = h(3), y =
|
|
6034
|
-
function
|
|
6144
|
+
}(), v = h(3), y = f(v), d = h(8), o = f(d), e = h(43), t = f(e), u = h(27), l = f(u), a = h(15), i = h(41), r = f(i);
|
|
6145
|
+
function f(g) {
|
|
6035
6146
|
return g && g.__esModule ? g : { default: g };
|
|
6036
6147
|
}
|
|
6037
6148
|
function n(g, p) {
|
|
@@ -6106,7 +6217,7 @@ function Se() {
|
|
|
6106
6217
|
}), this.quill.on(o.default.events.SELECTION_CHANGE, function(S, R, B) {
|
|
6107
6218
|
if (S != null) {
|
|
6108
6219
|
if (S.length === 0 && B === o.default.sources.USER) {
|
|
6109
|
-
var C = T.quill.scroll.descendant(l.default, S.index),
|
|
6220
|
+
var C = T.quill.scroll.descendant(l.default, S.index), Z = N(C, 2), F = Z[0], j = Z[1];
|
|
6110
6221
|
if (F != null) {
|
|
6111
6222
|
T.linkRange = new a.Range(S.index - j, F.length());
|
|
6112
6223
|
var k = l.default.formats(F.domNode);
|
|
@@ -6126,14 +6237,14 @@ function Se() {
|
|
|
6126
6237
|
}
|
|
6127
6238
|
}]), p;
|
|
6128
6239
|
}(e.BaseTooltip);
|
|
6129
|
-
x.TEMPLATE = ['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-action"></a>', '<a class="ql-remove"></a>'].join(""),
|
|
6240
|
+
x.TEMPLATE = ['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-action"></a>', '<a class="ql-remove"></a>'].join(""), s.default = _;
|
|
6130
6241
|
},
|
|
6131
|
-
function(L,
|
|
6132
|
-
Object.defineProperty(
|
|
6242
|
+
function(L, s, h) {
|
|
6243
|
+
Object.defineProperty(s, "__esModule", {
|
|
6133
6244
|
value: !0
|
|
6134
6245
|
});
|
|
6135
|
-
var N = h(29), w =
|
|
6136
|
-
function
|
|
6246
|
+
var N = h(29), w = G(N), O = h(36), v = h(38), y = h(64), d = h(65), o = G(d), e = h(66), t = G(e), u = h(67), l = G(u), a = h(37), i = h(26), r = h(39), f = h(40), n = h(56), c = G(n), A = h(68), b = G(A), _ = h(27), x = G(_), g = h(69), p = G(g), m = h(70), T = G(m), S = h(71), R = G(S), B = h(72), C = G(B), Z = h(73), F = G(Z), j = h(13), k = G(j), q = h(74), D = G(q), U = h(75), M = G(U), P = h(57), I = G(P), $ = h(41), H = G($), V = h(28), X = G(V), J = h(59), ee = G(J), ie = h(60), oe = G(ie), se = h(61), ue = G(se), z = h(108), K = G(z), Y = h(62), Q = G(Y);
|
|
6247
|
+
function G(te) {
|
|
6137
6248
|
return te && te.__esModule ? te : { default: te };
|
|
6138
6249
|
}
|
|
6139
6250
|
w.default.register({
|
|
@@ -6143,13 +6254,13 @@ function Se() {
|
|
|
6143
6254
|
"attributors/class/color": i.ColorClass,
|
|
6144
6255
|
"attributors/class/direction": v.DirectionClass,
|
|
6145
6256
|
"attributors/class/font": r.FontClass,
|
|
6146
|
-
"attributors/class/size":
|
|
6257
|
+
"attributors/class/size": f.SizeClass,
|
|
6147
6258
|
"attributors/style/align": O.AlignStyle,
|
|
6148
6259
|
"attributors/style/background": a.BackgroundStyle,
|
|
6149
6260
|
"attributors/style/color": i.ColorStyle,
|
|
6150
6261
|
"attributors/style/direction": v.DirectionStyle,
|
|
6151
6262
|
"attributors/style/font": r.FontStyle,
|
|
6152
|
-
"attributors/style/size":
|
|
6263
|
+
"attributors/style/size": f.SizeStyle
|
|
6153
6264
|
}, !0), w.default.register({
|
|
6154
6265
|
"formats/align": O.AlignClass,
|
|
6155
6266
|
"formats/direction": v.DirectionClass,
|
|
@@ -6157,7 +6268,7 @@ function Se() {
|
|
|
6157
6268
|
"formats/background": a.BackgroundStyle,
|
|
6158
6269
|
"formats/color": i.ColorStyle,
|
|
6159
6270
|
"formats/font": r.FontClass,
|
|
6160
|
-
"formats/size":
|
|
6271
|
+
"formats/size": f.SizeClass,
|
|
6161
6272
|
"formats/blockquote": o.default,
|
|
6162
6273
|
"formats/code-block": k.default,
|
|
6163
6274
|
"formats/header": t.default,
|
|
@@ -6182,17 +6293,17 @@ function Se() {
|
|
|
6182
6293
|
"ui/icon-picker": oe.default,
|
|
6183
6294
|
"ui/color-picker": ee.default,
|
|
6184
6295
|
"ui/tooltip": ue.default
|
|
6185
|
-
}, !0),
|
|
6296
|
+
}, !0), s.default = w.default;
|
|
6186
6297
|
},
|
|
6187
|
-
function(L,
|
|
6188
|
-
Object.defineProperty(
|
|
6298
|
+
function(L, s, h) {
|
|
6299
|
+
Object.defineProperty(s, "__esModule", {
|
|
6189
6300
|
value: !0
|
|
6190
|
-
}),
|
|
6301
|
+
}), s.IndentClass = void 0;
|
|
6191
6302
|
var N = function() {
|
|
6192
6303
|
function l(a, i) {
|
|
6193
6304
|
for (var r = 0; r < i.length; r++) {
|
|
6194
|
-
var
|
|
6195
|
-
|
|
6305
|
+
var f = i[r];
|
|
6306
|
+
f.enumerable = f.enumerable || !1, f.configurable = !0, "value" in f && (f.writable = !0), Object.defineProperty(a, f.key, f);
|
|
6196
6307
|
}
|
|
6197
6308
|
}
|
|
6198
6309
|
return function(a, i, r) {
|
|
@@ -6200,14 +6311,14 @@ function Se() {
|
|
|
6200
6311
|
};
|
|
6201
6312
|
}(), w = function l(a, i, r) {
|
|
6202
6313
|
a === null && (a = Function.prototype);
|
|
6203
|
-
var
|
|
6204
|
-
if (
|
|
6314
|
+
var f = Object.getOwnPropertyDescriptor(a, i);
|
|
6315
|
+
if (f === void 0) {
|
|
6205
6316
|
var n = Object.getPrototypeOf(a);
|
|
6206
6317
|
return n === null ? void 0 : l(n, i, r);
|
|
6207
6318
|
} else {
|
|
6208
|
-
if ("value" in
|
|
6209
|
-
return
|
|
6210
|
-
var c =
|
|
6319
|
+
if ("value" in f)
|
|
6320
|
+
return f.value;
|
|
6321
|
+
var c = f.get;
|
|
6211
6322
|
return c === void 0 ? void 0 : c.call(r);
|
|
6212
6323
|
}
|
|
6213
6324
|
}, O = h(0), v = y(O);
|
|
@@ -6235,17 +6346,17 @@ function Se() {
|
|
|
6235
6346
|
}
|
|
6236
6347
|
return N(a, [{
|
|
6237
6348
|
key: "add",
|
|
6238
|
-
value: function(r,
|
|
6239
|
-
if (
|
|
6349
|
+
value: function(r, f) {
|
|
6350
|
+
if (f === "+1" || f === "-1") {
|
|
6240
6351
|
var n = this.value(r) || 0;
|
|
6241
|
-
|
|
6352
|
+
f = f === "+1" ? n + 1 : n - 1;
|
|
6242
6353
|
}
|
|
6243
|
-
return
|
|
6354
|
+
return f === 0 ? (this.remove(r), !0) : w(a.prototype.__proto__ || Object.getPrototypeOf(a.prototype), "add", this).call(this, r, f);
|
|
6244
6355
|
}
|
|
6245
6356
|
}, {
|
|
6246
6357
|
key: "canAdd",
|
|
6247
|
-
value: function(r,
|
|
6248
|
-
return w(a.prototype.__proto__ || Object.getPrototypeOf(a.prototype), "canAdd", this).call(this, r,
|
|
6358
|
+
value: function(r, f) {
|
|
6359
|
+
return w(a.prototype.__proto__ || Object.getPrototypeOf(a.prototype), "canAdd", this).call(this, r, f) || w(a.prototype.__proto__ || Object.getPrototypeOf(a.prototype), "canAdd", this).call(this, r, parseInt(f));
|
|
6249
6360
|
}
|
|
6250
6361
|
}, {
|
|
6251
6362
|
key: "value",
|
|
@@ -6257,10 +6368,10 @@ function Se() {
|
|
|
6257
6368
|
scope: v.default.Scope.BLOCK,
|
|
6258
6369
|
whitelist: [1, 2, 3, 4, 5, 6, 7, 8]
|
|
6259
6370
|
});
|
|
6260
|
-
|
|
6371
|
+
s.IndentClass = u;
|
|
6261
6372
|
},
|
|
6262
|
-
function(L,
|
|
6263
|
-
Object.defineProperty(
|
|
6373
|
+
function(L, s, h) {
|
|
6374
|
+
Object.defineProperty(s, "__esModule", {
|
|
6264
6375
|
value: !0
|
|
6265
6376
|
});
|
|
6266
6377
|
var N = h(4), w = O(N);
|
|
@@ -6288,10 +6399,10 @@ function Se() {
|
|
|
6288
6399
|
}
|
|
6289
6400
|
return t;
|
|
6290
6401
|
}(w.default);
|
|
6291
|
-
o.blotName = "blockquote", o.tagName = "blockquote",
|
|
6402
|
+
o.blotName = "blockquote", o.tagName = "blockquote", s.default = o;
|
|
6292
6403
|
},
|
|
6293
|
-
function(L,
|
|
6294
|
-
Object.defineProperty(
|
|
6404
|
+
function(L, s, h) {
|
|
6405
|
+
Object.defineProperty(s, "__esModule", {
|
|
6295
6406
|
value: !0
|
|
6296
6407
|
});
|
|
6297
6408
|
var N = function() {
|
|
@@ -6334,12 +6445,12 @@ function Se() {
|
|
|
6334
6445
|
}
|
|
6335
6446
|
}]), u;
|
|
6336
6447
|
}(O.default);
|
|
6337
|
-
e.blotName = "header", e.tagName = ["H1", "H2", "H3", "H4", "H5", "H6"],
|
|
6448
|
+
e.blotName = "header", e.tagName = ["H1", "H2", "H3", "H4", "H5", "H6"], s.default = e;
|
|
6338
6449
|
},
|
|
6339
|
-
function(L,
|
|
6340
|
-
Object.defineProperty(
|
|
6450
|
+
function(L, s, h) {
|
|
6451
|
+
Object.defineProperty(s, "__esModule", {
|
|
6341
6452
|
value: !0
|
|
6342
|
-
}),
|
|
6453
|
+
}), s.default = s.ListItem = void 0;
|
|
6343
6454
|
var N = function() {
|
|
6344
6455
|
function n(c, A) {
|
|
6345
6456
|
for (var b = 0; b < A.length; b++) {
|
|
@@ -6391,7 +6502,7 @@ function Se() {
|
|
|
6391
6502
|
return N(c, [{
|
|
6392
6503
|
key: "format",
|
|
6393
6504
|
value: function(b, _) {
|
|
6394
|
-
b ===
|
|
6505
|
+
b === f.blotName && !_ ? this.replaceWith(v.default.create(this.statics.scope)) : w(c.prototype.__proto__ || Object.getPrototypeOf(c.prototype), "format", this).call(this, b, _);
|
|
6395
6506
|
}
|
|
6396
6507
|
}, {
|
|
6397
6508
|
key: "remove",
|
|
@@ -6411,7 +6522,7 @@ function Se() {
|
|
|
6411
6522
|
}]), c;
|
|
6412
6523
|
}(d.default);
|
|
6413
6524
|
r.blotName = "list-item", r.tagName = "LI";
|
|
6414
|
-
var
|
|
6525
|
+
var f = function(n) {
|
|
6415
6526
|
i(c, n), N(c, null, [{
|
|
6416
6527
|
key: "create",
|
|
6417
6528
|
value: function(b) {
|
|
@@ -6475,10 +6586,10 @@ function Se() {
|
|
|
6475
6586
|
}
|
|
6476
6587
|
}]), c;
|
|
6477
6588
|
}(e.default);
|
|
6478
|
-
|
|
6589
|
+
f.blotName = "list", f.scope = v.default.Scope.BLOCK_BLOT, f.tagName = ["OL", "UL"], f.defaultChild = "list-item", f.allowedChildren = [r], s.ListItem = r, s.default = f;
|
|
6479
6590
|
},
|
|
6480
|
-
function(L,
|
|
6481
|
-
Object.defineProperty(
|
|
6591
|
+
function(L, s, h) {
|
|
6592
|
+
Object.defineProperty(s, "__esModule", {
|
|
6482
6593
|
value: !0
|
|
6483
6594
|
});
|
|
6484
6595
|
var N = h(56), w = O(N);
|
|
@@ -6506,10 +6617,10 @@ function Se() {
|
|
|
6506
6617
|
}
|
|
6507
6618
|
return t;
|
|
6508
6619
|
}(w.default);
|
|
6509
|
-
o.blotName = "italic", o.tagName = ["EM", "I"],
|
|
6620
|
+
o.blotName = "italic", o.tagName = ["EM", "I"], s.default = o;
|
|
6510
6621
|
},
|
|
6511
|
-
function(L,
|
|
6512
|
-
Object.defineProperty(
|
|
6622
|
+
function(L, s, h) {
|
|
6623
|
+
Object.defineProperty(s, "__esModule", {
|
|
6513
6624
|
value: !0
|
|
6514
6625
|
});
|
|
6515
6626
|
var N = function() {
|
|
@@ -6526,8 +6637,8 @@ function Se() {
|
|
|
6526
6637
|
l === null && (l = Function.prototype);
|
|
6527
6638
|
var r = Object.getOwnPropertyDescriptor(l, a);
|
|
6528
6639
|
if (r === void 0) {
|
|
6529
|
-
var
|
|
6530
|
-
return
|
|
6640
|
+
var f = Object.getPrototypeOf(l);
|
|
6641
|
+
return f === null ? void 0 : u(f, a, i);
|
|
6531
6642
|
} else {
|
|
6532
6643
|
if ("value" in r)
|
|
6533
6644
|
return r.value;
|
|
@@ -6572,10 +6683,10 @@ function Se() {
|
|
|
6572
6683
|
}
|
|
6573
6684
|
}]), l;
|
|
6574
6685
|
}(v.default);
|
|
6575
|
-
t.blotName = "script", t.tagName = ["SUB", "SUP"],
|
|
6686
|
+
t.blotName = "script", t.tagName = ["SUB", "SUP"], s.default = t;
|
|
6576
6687
|
},
|
|
6577
|
-
function(L,
|
|
6578
|
-
Object.defineProperty(
|
|
6688
|
+
function(L, s, h) {
|
|
6689
|
+
Object.defineProperty(s, "__esModule", {
|
|
6579
6690
|
value: !0
|
|
6580
6691
|
});
|
|
6581
6692
|
var N = h(6), w = O(N);
|
|
@@ -6603,10 +6714,10 @@ function Se() {
|
|
|
6603
6714
|
}
|
|
6604
6715
|
return t;
|
|
6605
6716
|
}(w.default);
|
|
6606
|
-
o.blotName = "strike", o.tagName = "S",
|
|
6717
|
+
o.blotName = "strike", o.tagName = "S", s.default = o;
|
|
6607
6718
|
},
|
|
6608
|
-
function(L,
|
|
6609
|
-
Object.defineProperty(
|
|
6719
|
+
function(L, s, h) {
|
|
6720
|
+
Object.defineProperty(s, "__esModule", {
|
|
6610
6721
|
value: !0
|
|
6611
6722
|
});
|
|
6612
6723
|
var N = h(6), w = O(N);
|
|
@@ -6634,33 +6745,33 @@ function Se() {
|
|
|
6634
6745
|
}
|
|
6635
6746
|
return t;
|
|
6636
6747
|
}(w.default);
|
|
6637
|
-
o.blotName = "underline", o.tagName = "U",
|
|
6748
|
+
o.blotName = "underline", o.tagName = "U", s.default = o;
|
|
6638
6749
|
},
|
|
6639
|
-
function(L,
|
|
6640
|
-
Object.defineProperty(
|
|
6750
|
+
function(L, s, h) {
|
|
6751
|
+
Object.defineProperty(s, "__esModule", {
|
|
6641
6752
|
value: !0
|
|
6642
6753
|
});
|
|
6643
6754
|
var N = function() {
|
|
6644
6755
|
function a(i, r) {
|
|
6645
|
-
for (var
|
|
6646
|
-
var n = r[
|
|
6756
|
+
for (var f = 0; f < r.length; f++) {
|
|
6757
|
+
var n = r[f];
|
|
6647
6758
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(i, n.key, n);
|
|
6648
6759
|
}
|
|
6649
6760
|
}
|
|
6650
|
-
return function(i, r,
|
|
6651
|
-
return r && a(i.prototype, r),
|
|
6761
|
+
return function(i, r, f) {
|
|
6762
|
+
return r && a(i.prototype, r), f && a(i, f), i;
|
|
6652
6763
|
};
|
|
6653
|
-
}(), w = function a(i, r,
|
|
6764
|
+
}(), w = function a(i, r, f) {
|
|
6654
6765
|
i === null && (i = Function.prototype);
|
|
6655
6766
|
var n = Object.getOwnPropertyDescriptor(i, r);
|
|
6656
6767
|
if (n === void 0) {
|
|
6657
6768
|
var c = Object.getPrototypeOf(i);
|
|
6658
|
-
return c === null ? void 0 : a(c, r,
|
|
6769
|
+
return c === null ? void 0 : a(c, r, f);
|
|
6659
6770
|
} else {
|
|
6660
6771
|
if ("value" in n)
|
|
6661
6772
|
return n.value;
|
|
6662
6773
|
var A = n.get;
|
|
6663
|
-
return A === void 0 ? void 0 : A.call(
|
|
6774
|
+
return A === void 0 ? void 0 : A.call(f);
|
|
6664
6775
|
}
|
|
6665
6776
|
}, O = h(0), v = d(O), y = h(27);
|
|
6666
6777
|
function d(a) {
|
|
@@ -6687,66 +6798,66 @@ function Se() {
|
|
|
6687
6798
|
}
|
|
6688
6799
|
return N(i, [{
|
|
6689
6800
|
key: "format",
|
|
6690
|
-
value: function(
|
|
6691
|
-
u.indexOf(
|
|
6801
|
+
value: function(f, n) {
|
|
6802
|
+
u.indexOf(f) > -1 ? n ? this.domNode.setAttribute(f, n) : this.domNode.removeAttribute(f) : w(i.prototype.__proto__ || Object.getPrototypeOf(i.prototype), "format", this).call(this, f, n);
|
|
6692
6803
|
}
|
|
6693
6804
|
}], [{
|
|
6694
6805
|
key: "create",
|
|
6695
|
-
value: function(
|
|
6696
|
-
var n = w(i.__proto__ || Object.getPrototypeOf(i), "create", this).call(this,
|
|
6697
|
-
return typeof
|
|
6806
|
+
value: function(f) {
|
|
6807
|
+
var n = w(i.__proto__ || Object.getPrototypeOf(i), "create", this).call(this, f);
|
|
6808
|
+
return typeof f == "string" && n.setAttribute("src", this.sanitize(f)), n;
|
|
6698
6809
|
}
|
|
6699
6810
|
}, {
|
|
6700
6811
|
key: "formats",
|
|
6701
|
-
value: function(
|
|
6812
|
+
value: function(f) {
|
|
6702
6813
|
return u.reduce(function(n, c) {
|
|
6703
|
-
return
|
|
6814
|
+
return f.hasAttribute(c) && (n[c] = f.getAttribute(c)), n;
|
|
6704
6815
|
}, {});
|
|
6705
6816
|
}
|
|
6706
6817
|
}, {
|
|
6707
6818
|
key: "match",
|
|
6708
|
-
value: function(
|
|
6709
|
-
return /\.(jpe?g|gif|png)$/.test(
|
|
6819
|
+
value: function(f) {
|
|
6820
|
+
return /\.(jpe?g|gif|png)$/.test(f) || /^data:image\/.+;base64/.test(f);
|
|
6710
6821
|
}
|
|
6711
6822
|
}, {
|
|
6712
6823
|
key: "sanitize",
|
|
6713
|
-
value: function(
|
|
6714
|
-
return (0, y.sanitize)(
|
|
6824
|
+
value: function(f) {
|
|
6825
|
+
return (0, y.sanitize)(f, ["http", "https", "data"]) ? f : "//:0";
|
|
6715
6826
|
}
|
|
6716
6827
|
}, {
|
|
6717
6828
|
key: "value",
|
|
6718
|
-
value: function(
|
|
6719
|
-
return
|
|
6829
|
+
value: function(f) {
|
|
6830
|
+
return f.getAttribute("src");
|
|
6720
6831
|
}
|
|
6721
6832
|
}]), i;
|
|
6722
6833
|
}(v.default.Embed);
|
|
6723
|
-
l.blotName = "image", l.tagName = "IMG",
|
|
6834
|
+
l.blotName = "image", l.tagName = "IMG", s.default = l;
|
|
6724
6835
|
},
|
|
6725
|
-
function(L,
|
|
6726
|
-
Object.defineProperty(
|
|
6836
|
+
function(L, s, h) {
|
|
6837
|
+
Object.defineProperty(s, "__esModule", {
|
|
6727
6838
|
value: !0
|
|
6728
6839
|
});
|
|
6729
6840
|
var N = function() {
|
|
6730
6841
|
function a(i, r) {
|
|
6731
|
-
for (var
|
|
6732
|
-
var n = r[
|
|
6842
|
+
for (var f = 0; f < r.length; f++) {
|
|
6843
|
+
var n = r[f];
|
|
6733
6844
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(i, n.key, n);
|
|
6734
6845
|
}
|
|
6735
6846
|
}
|
|
6736
|
-
return function(i, r,
|
|
6737
|
-
return r && a(i.prototype, r),
|
|
6847
|
+
return function(i, r, f) {
|
|
6848
|
+
return r && a(i.prototype, r), f && a(i, f), i;
|
|
6738
6849
|
};
|
|
6739
|
-
}(), w = function a(i, r,
|
|
6850
|
+
}(), w = function a(i, r, f) {
|
|
6740
6851
|
i === null && (i = Function.prototype);
|
|
6741
6852
|
var n = Object.getOwnPropertyDescriptor(i, r);
|
|
6742
6853
|
if (n === void 0) {
|
|
6743
6854
|
var c = Object.getPrototypeOf(i);
|
|
6744
|
-
return c === null ? void 0 : a(c, r,
|
|
6855
|
+
return c === null ? void 0 : a(c, r, f);
|
|
6745
6856
|
} else {
|
|
6746
6857
|
if ("value" in n)
|
|
6747
6858
|
return n.value;
|
|
6748
6859
|
var A = n.get;
|
|
6749
|
-
return A === void 0 ? void 0 : A.call(
|
|
6860
|
+
return A === void 0 ? void 0 : A.call(f);
|
|
6750
6861
|
}
|
|
6751
6862
|
}, O = h(4), v = h(27), y = d(v);
|
|
6752
6863
|
function d(a) {
|
|
@@ -6773,56 +6884,56 @@ function Se() {
|
|
|
6773
6884
|
}
|
|
6774
6885
|
return N(i, [{
|
|
6775
6886
|
key: "format",
|
|
6776
|
-
value: function(
|
|
6777
|
-
u.indexOf(
|
|
6887
|
+
value: function(f, n) {
|
|
6888
|
+
u.indexOf(f) > -1 ? n ? this.domNode.setAttribute(f, n) : this.domNode.removeAttribute(f) : w(i.prototype.__proto__ || Object.getPrototypeOf(i.prototype), "format", this).call(this, f, n);
|
|
6778
6889
|
}
|
|
6779
6890
|
}], [{
|
|
6780
6891
|
key: "create",
|
|
6781
|
-
value: function(
|
|
6782
|
-
var n = w(i.__proto__ || Object.getPrototypeOf(i), "create", this).call(this,
|
|
6783
|
-
return n.setAttribute("frameborder", "0"), n.setAttribute("allowfullscreen", !0), n.setAttribute("src", this.sanitize(
|
|
6892
|
+
value: function(f) {
|
|
6893
|
+
var n = w(i.__proto__ || Object.getPrototypeOf(i), "create", this).call(this, f);
|
|
6894
|
+
return n.setAttribute("frameborder", "0"), n.setAttribute("allowfullscreen", !0), n.setAttribute("src", this.sanitize(f)), n;
|
|
6784
6895
|
}
|
|
6785
6896
|
}, {
|
|
6786
6897
|
key: "formats",
|
|
6787
|
-
value: function(
|
|
6898
|
+
value: function(f) {
|
|
6788
6899
|
return u.reduce(function(n, c) {
|
|
6789
|
-
return
|
|
6900
|
+
return f.hasAttribute(c) && (n[c] = f.getAttribute(c)), n;
|
|
6790
6901
|
}, {});
|
|
6791
6902
|
}
|
|
6792
6903
|
}, {
|
|
6793
6904
|
key: "sanitize",
|
|
6794
|
-
value: function(
|
|
6795
|
-
return y.default.sanitize(
|
|
6905
|
+
value: function(f) {
|
|
6906
|
+
return y.default.sanitize(f);
|
|
6796
6907
|
}
|
|
6797
6908
|
}, {
|
|
6798
6909
|
key: "value",
|
|
6799
|
-
value: function(
|
|
6800
|
-
return
|
|
6910
|
+
value: function(f) {
|
|
6911
|
+
return f.getAttribute("src");
|
|
6801
6912
|
}
|
|
6802
6913
|
}]), i;
|
|
6803
6914
|
}(O.BlockEmbed);
|
|
6804
|
-
l.blotName = "video", l.className = "ql-video", l.tagName = "IFRAME",
|
|
6915
|
+
l.blotName = "video", l.className = "ql-video", l.tagName = "IFRAME", s.default = l;
|
|
6805
6916
|
},
|
|
6806
|
-
function(L,
|
|
6807
|
-
Object.defineProperty(
|
|
6917
|
+
function(L, s, h) {
|
|
6918
|
+
Object.defineProperty(s, "__esModule", {
|
|
6808
6919
|
value: !0
|
|
6809
|
-
}),
|
|
6920
|
+
}), s.default = s.FormulaBlot = void 0;
|
|
6810
6921
|
var N = function() {
|
|
6811
|
-
function
|
|
6922
|
+
function f(n, c) {
|
|
6812
6923
|
for (var A = 0; A < c.length; A++) {
|
|
6813
6924
|
var b = c[A];
|
|
6814
6925
|
b.enumerable = b.enumerable || !1, b.configurable = !0, "value" in b && (b.writable = !0), Object.defineProperty(n, b.key, b);
|
|
6815
6926
|
}
|
|
6816
6927
|
}
|
|
6817
6928
|
return function(n, c, A) {
|
|
6818
|
-
return c &&
|
|
6929
|
+
return c && f(n.prototype, c), A && f(n, A), n;
|
|
6819
6930
|
};
|
|
6820
|
-
}(), w = function
|
|
6931
|
+
}(), w = function f(n, c, A) {
|
|
6821
6932
|
n === null && (n = Function.prototype);
|
|
6822
6933
|
var b = Object.getOwnPropertyDescriptor(n, c);
|
|
6823
6934
|
if (b === void 0) {
|
|
6824
6935
|
var _ = Object.getPrototypeOf(n);
|
|
6825
|
-
return _ === null ? void 0 :
|
|
6936
|
+
return _ === null ? void 0 : f(_, c, A);
|
|
6826
6937
|
} else {
|
|
6827
6938
|
if ("value" in b)
|
|
6828
6939
|
return b.value;
|
|
@@ -6830,25 +6941,25 @@ function Se() {
|
|
|
6830
6941
|
return x === void 0 ? void 0 : x.call(A);
|
|
6831
6942
|
}
|
|
6832
6943
|
}, O = h(35), v = t(O), y = h(5), d = t(y), o = h(9), e = t(o);
|
|
6833
|
-
function t(
|
|
6834
|
-
return
|
|
6944
|
+
function t(f) {
|
|
6945
|
+
return f && f.__esModule ? f : { default: f };
|
|
6835
6946
|
}
|
|
6836
|
-
function u(
|
|
6837
|
-
if (!(
|
|
6947
|
+
function u(f, n) {
|
|
6948
|
+
if (!(f instanceof n))
|
|
6838
6949
|
throw new TypeError("Cannot call a class as a function");
|
|
6839
6950
|
}
|
|
6840
|
-
function l(
|
|
6841
|
-
if (!
|
|
6951
|
+
function l(f, n) {
|
|
6952
|
+
if (!f)
|
|
6842
6953
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
6843
|
-
return n && (typeof n == "object" || typeof n == "function") ? n :
|
|
6954
|
+
return n && (typeof n == "object" || typeof n == "function") ? n : f;
|
|
6844
6955
|
}
|
|
6845
|
-
function a(
|
|
6956
|
+
function a(f, n) {
|
|
6846
6957
|
if (typeof n != "function" && n !== null)
|
|
6847
6958
|
throw new TypeError("Super expression must either be null or a function, not " + typeof n);
|
|
6848
|
-
|
|
6959
|
+
f.prototype = Object.create(n && n.prototype, { constructor: { value: f, enumerable: !1, writable: !0, configurable: !0 } }), n && (Object.setPrototypeOf ? Object.setPrototypeOf(f, n) : f.__proto__ = n);
|
|
6849
6960
|
}
|
|
6850
|
-
var i = function(
|
|
6851
|
-
a(n,
|
|
6961
|
+
var i = function(f) {
|
|
6962
|
+
a(n, f);
|
|
6852
6963
|
function n() {
|
|
6853
6964
|
return u(this, n), l(this, (n.__proto__ || Object.getPrototypeOf(n)).apply(this, arguments));
|
|
6854
6965
|
}
|
|
@@ -6869,8 +6980,8 @@ function Se() {
|
|
|
6869
6980
|
}]), n;
|
|
6870
6981
|
}(v.default);
|
|
6871
6982
|
i.blotName = "formula", i.className = "ql-formula", i.tagName = "SPAN";
|
|
6872
|
-
var r = function(
|
|
6873
|
-
a(n,
|
|
6983
|
+
var r = function(f) {
|
|
6984
|
+
a(n, f), N(n, null, [{
|
|
6874
6985
|
key: "register",
|
|
6875
6986
|
value: function() {
|
|
6876
6987
|
d.default.register(i, !0);
|
|
@@ -6885,12 +6996,12 @@ function Se() {
|
|
|
6885
6996
|
}
|
|
6886
6997
|
return n;
|
|
6887
6998
|
}(e.default);
|
|
6888
|
-
|
|
6999
|
+
s.FormulaBlot = i, s.default = r;
|
|
6889
7000
|
},
|
|
6890
|
-
function(L,
|
|
6891
|
-
Object.defineProperty(
|
|
7001
|
+
function(L, s, h) {
|
|
7002
|
+
Object.defineProperty(s, "__esModule", {
|
|
6892
7003
|
value: !0
|
|
6893
|
-
}),
|
|
7004
|
+
}), s.default = s.CodeToken = s.CodeBlock = void 0;
|
|
6894
7005
|
var N = function() {
|
|
6895
7006
|
function A(b, _) {
|
|
6896
7007
|
for (var x = 0; x < _.length; x++) {
|
|
@@ -6931,7 +7042,7 @@ function Se() {
|
|
|
6931
7042
|
throw new TypeError("Super expression must either be null or a function, not " + typeof b);
|
|
6932
7043
|
A.prototype = Object.create(b && b.prototype, { constructor: { value: A, enumerable: !1, writable: !0, configurable: !0 } }), b && (Object.setPrototypeOf ? Object.setPrototypeOf(A, b) : A.__proto__ = b);
|
|
6933
7044
|
}
|
|
6934
|
-
var
|
|
7045
|
+
var f = function(A) {
|
|
6935
7046
|
r(b, A);
|
|
6936
7047
|
function b() {
|
|
6937
7048
|
return a(this, b), i(this, (b.__proto__ || Object.getPrototypeOf(b)).apply(this, arguments));
|
|
@@ -6949,14 +7060,14 @@ function Se() {
|
|
|
6949
7060
|
}
|
|
6950
7061
|
}]), b;
|
|
6951
7062
|
}(u.default);
|
|
6952
|
-
|
|
7063
|
+
f.className = "ql-syntax";
|
|
6953
7064
|
var n = new v.default.Attributor.Class("token", "hljs", {
|
|
6954
7065
|
scope: v.default.Scope.INLINE
|
|
6955
7066
|
}), c = function(A) {
|
|
6956
7067
|
r(b, A), N(b, null, [{
|
|
6957
7068
|
key: "register",
|
|
6958
7069
|
value: function() {
|
|
6959
|
-
d.default.register(n, !0), d.default.register(
|
|
7070
|
+
d.default.register(n, !0), d.default.register(f, !0);
|
|
6960
7071
|
}
|
|
6961
7072
|
}]);
|
|
6962
7073
|
function b(_, x) {
|
|
@@ -6978,7 +7089,7 @@ function Se() {
|
|
|
6978
7089
|
if (!this.quill.selection.composing) {
|
|
6979
7090
|
this.quill.update(d.default.sources.USER);
|
|
6980
7091
|
var g = this.quill.getSelection();
|
|
6981
|
-
this.quill.scroll.descendants(
|
|
7092
|
+
this.quill.scroll.descendants(f).forEach(function(p) {
|
|
6982
7093
|
p.highlight(x.options.highlight);
|
|
6983
7094
|
}), this.quill.update(d.default.sources.SILENT), g != null && this.quill.setSelection(g, d.default.sources.SILENT);
|
|
6984
7095
|
}
|
|
@@ -6993,108 +7104,108 @@ function Se() {
|
|
|
6993
7104
|
};
|
|
6994
7105
|
}(),
|
|
6995
7106
|
interval: 1e3
|
|
6996
|
-
},
|
|
7107
|
+
}, s.CodeBlock = f, s.CodeToken = n, s.default = c;
|
|
6997
7108
|
},
|
|
6998
|
-
function(L,
|
|
7109
|
+
function(L, s) {
|
|
6999
7110
|
L.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>';
|
|
7000
7111
|
},
|
|
7001
|
-
function(L,
|
|
7112
|
+
function(L, s) {
|
|
7002
7113
|
L.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>';
|
|
7003
7114
|
},
|
|
7004
|
-
function(L,
|
|
7115
|
+
function(L, s) {
|
|
7005
7116
|
L.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>';
|
|
7006
7117
|
},
|
|
7007
|
-
function(L,
|
|
7118
|
+
function(L, s) {
|
|
7008
7119
|
L.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>';
|
|
7009
7120
|
},
|
|
7010
|
-
function(L,
|
|
7121
|
+
function(L, s) {
|
|
7011
7122
|
L.exports = '<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>';
|
|
7012
7123
|
},
|
|
7013
|
-
function(L,
|
|
7124
|
+
function(L, s) {
|
|
7014
7125
|
L.exports = '<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>';
|
|
7015
7126
|
},
|
|
7016
|
-
function(L,
|
|
7127
|
+
function(L, s) {
|
|
7017
7128
|
L.exports = '<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>';
|
|
7018
7129
|
},
|
|
7019
|
-
function(L,
|
|
7130
|
+
function(L, s) {
|
|
7020
7131
|
L.exports = '<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>';
|
|
7021
7132
|
},
|
|
7022
|
-
function(L,
|
|
7133
|
+
function(L, s) {
|
|
7023
7134
|
L.exports = '<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>';
|
|
7024
7135
|
},
|
|
7025
|
-
function(L,
|
|
7136
|
+
function(L, s) {
|
|
7026
7137
|
L.exports = '<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>';
|
|
7027
7138
|
},
|
|
7028
|
-
function(L,
|
|
7139
|
+
function(L, s) {
|
|
7029
7140
|
L.exports = '<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>';
|
|
7030
7141
|
},
|
|
7031
|
-
function(L,
|
|
7142
|
+
function(L, s) {
|
|
7032
7143
|
L.exports = '<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>';
|
|
7033
7144
|
},
|
|
7034
|
-
function(L,
|
|
7145
|
+
function(L, s) {
|
|
7035
7146
|
L.exports = '<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>';
|
|
7036
7147
|
},
|
|
7037
|
-
function(L,
|
|
7148
|
+
function(L, s) {
|
|
7038
7149
|
L.exports = '<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>';
|
|
7039
7150
|
},
|
|
7040
|
-
function(L,
|
|
7151
|
+
function(L, s) {
|
|
7041
7152
|
L.exports = '<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>';
|
|
7042
7153
|
},
|
|
7043
|
-
function(L,
|
|
7154
|
+
function(L, s) {
|
|
7044
7155
|
L.exports = '<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>';
|
|
7045
7156
|
},
|
|
7046
|
-
function(L,
|
|
7157
|
+
function(L, s) {
|
|
7047
7158
|
L.exports = '<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>';
|
|
7048
7159
|
},
|
|
7049
|
-
function(L,
|
|
7160
|
+
function(L, s) {
|
|
7050
7161
|
L.exports = '<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>';
|
|
7051
7162
|
},
|
|
7052
|
-
function(L,
|
|
7163
|
+
function(L, s) {
|
|
7053
7164
|
L.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>';
|
|
7054
7165
|
},
|
|
7055
|
-
function(L,
|
|
7166
|
+
function(L, s) {
|
|
7056
7167
|
L.exports = '<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>';
|
|
7057
7168
|
},
|
|
7058
|
-
function(L,
|
|
7169
|
+
function(L, s) {
|
|
7059
7170
|
L.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>';
|
|
7060
7171
|
},
|
|
7061
|
-
function(L,
|
|
7172
|
+
function(L, s) {
|
|
7062
7173
|
L.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>';
|
|
7063
7174
|
},
|
|
7064
|
-
function(L,
|
|
7175
|
+
function(L, s) {
|
|
7065
7176
|
L.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>';
|
|
7066
7177
|
},
|
|
7067
|
-
function(L,
|
|
7178
|
+
function(L, s) {
|
|
7068
7179
|
L.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>';
|
|
7069
7180
|
},
|
|
7070
|
-
function(L,
|
|
7181
|
+
function(L, s) {
|
|
7071
7182
|
L.exports = '<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>';
|
|
7072
7183
|
},
|
|
7073
|
-
function(L,
|
|
7184
|
+
function(L, s) {
|
|
7074
7185
|
L.exports = '<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>';
|
|
7075
7186
|
},
|
|
7076
|
-
function(L,
|
|
7187
|
+
function(L, s) {
|
|
7077
7188
|
L.exports = '<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>';
|
|
7078
7189
|
},
|
|
7079
|
-
function(L,
|
|
7190
|
+
function(L, s) {
|
|
7080
7191
|
L.exports = '<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>';
|
|
7081
7192
|
},
|
|
7082
|
-
function(L,
|
|
7193
|
+
function(L, s) {
|
|
7083
7194
|
L.exports = '<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>';
|
|
7084
7195
|
},
|
|
7085
|
-
function(L,
|
|
7196
|
+
function(L, s) {
|
|
7086
7197
|
L.exports = '<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>';
|
|
7087
7198
|
},
|
|
7088
|
-
function(L,
|
|
7199
|
+
function(L, s) {
|
|
7089
7200
|
L.exports = '<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>';
|
|
7090
7201
|
},
|
|
7091
|
-
function(L,
|
|
7202
|
+
function(L, s) {
|
|
7092
7203
|
L.exports = '<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>';
|
|
7093
7204
|
},
|
|
7094
|
-
function(L,
|
|
7095
|
-
Object.defineProperty(
|
|
7205
|
+
function(L, s, h) {
|
|
7206
|
+
Object.defineProperty(s, "__esModule", {
|
|
7096
7207
|
value: !0
|
|
7097
|
-
}),
|
|
7208
|
+
}), s.default = s.BubbleTooltip = void 0;
|
|
7098
7209
|
var N = function b(_, x, g) {
|
|
7099
7210
|
_ === null && (_ = Function.prototype);
|
|
7100
7211
|
var p = Object.getOwnPropertyDescriptor(_, x);
|
|
@@ -7130,13 +7241,13 @@ function Se() {
|
|
|
7130
7241
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
7131
7242
|
return _ && (typeof _ == "object" || typeof _ == "function") ? _ : b;
|
|
7132
7243
|
}
|
|
7133
|
-
function
|
|
7244
|
+
function f(b, _) {
|
|
7134
7245
|
if (typeof _ != "function" && _ !== null)
|
|
7135
7246
|
throw new TypeError("Super expression must either be null or a function, not " + typeof _);
|
|
7136
7247
|
b.prototype = Object.create(_ && _.prototype, { constructor: { value: b, enumerable: !1, writable: !0, configurable: !0 } }), _ && (Object.setPrototypeOf ? Object.setPrototypeOf(b, _) : b.__proto__ = _);
|
|
7137
7248
|
}
|
|
7138
7249
|
var n = [["bold", "italic", "link"], [{ header: 1 }, { header: 2 }, "blockquote"]], c = function(b) {
|
|
7139
|
-
|
|
7250
|
+
f(_, b);
|
|
7140
7251
|
function _(x, g) {
|
|
7141
7252
|
i(this, _), g.modules.toolbar != null && g.modules.toolbar.container == null && (g.modules.toolbar.container = n);
|
|
7142
7253
|
var p = r(this, (_.__proto__ || Object.getPrototypeOf(_)).call(this, x, g));
|
|
@@ -7161,7 +7272,7 @@ function Se() {
|
|
|
7161
7272
|
}
|
|
7162
7273
|
});
|
|
7163
7274
|
var A = function(b) {
|
|
7164
|
-
|
|
7275
|
+
f(_, b);
|
|
7165
7276
|
function _(x, g) {
|
|
7166
7277
|
i(this, _);
|
|
7167
7278
|
var p = r(this, (_.__proto__ || Object.getPrototypeOf(_)).call(this, x, g));
|
|
@@ -7173,7 +7284,7 @@ function Se() {
|
|
|
7173
7284
|
if (B.length === 1)
|
|
7174
7285
|
p.position(p.quill.getBounds(T));
|
|
7175
7286
|
else {
|
|
7176
|
-
var C = B[B.length - 1],
|
|
7287
|
+
var C = B[B.length - 1], Z = p.quill.getIndex(C), F = Math.min(C.length() - 1, T.index + T.length - Z), j = p.quill.getBounds(new t.Range(Z, F));
|
|
7177
7288
|
p.position(j);
|
|
7178
7289
|
}
|
|
7179
7290
|
} else
|
|
@@ -7210,28 +7321,28 @@ function Se() {
|
|
|
7210
7321
|
}
|
|
7211
7322
|
}]), _;
|
|
7212
7323
|
}(o.BaseTooltip);
|
|
7213
|
-
A.TEMPLATE = ['<span class="ql-tooltip-arrow"></span>', '<div class="ql-tooltip-editor">', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-close"></a>', "</div>"].join(""),
|
|
7324
|
+
A.TEMPLATE = ['<span class="ql-tooltip-arrow"></span>', '<div class="ql-tooltip-editor">', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-close"></a>', "</div>"].join(""), s.BubbleTooltip = A, s.default = c;
|
|
7214
7325
|
},
|
|
7215
|
-
function(L,
|
|
7326
|
+
function(L, s, h) {
|
|
7216
7327
|
L.exports = h(63);
|
|
7217
7328
|
}
|
|
7218
7329
|
]).default;
|
|
7219
7330
|
});
|
|
7220
|
-
}(
|
|
7331
|
+
}(ve)), ve.exports;
|
|
7221
7332
|
}
|
|
7222
|
-
(function(
|
|
7223
|
-
(function(L,
|
|
7224
|
-
|
|
7333
|
+
(function(W, E) {
|
|
7334
|
+
(function(L, s) {
|
|
7335
|
+
W.exports = s(xe());
|
|
7225
7336
|
})(me, function(L) {
|
|
7226
|
-
return function(
|
|
7337
|
+
return function(s) {
|
|
7227
7338
|
function h(w) {
|
|
7228
7339
|
if (N[w])
|
|
7229
7340
|
return N[w].exports;
|
|
7230
7341
|
var O = N[w] = { i: w, l: !1, exports: {} };
|
|
7231
|
-
return
|
|
7342
|
+
return s[w].call(O.exports, O, O.exports, h), O.l = !0, O.exports;
|
|
7232
7343
|
}
|
|
7233
7344
|
var N = {};
|
|
7234
|
-
return h.m =
|
|
7345
|
+
return h.m = s, h.c = N, h.i = function(w) {
|
|
7235
7346
|
return w;
|
|
7236
7347
|
}, h.d = function(w, O, v) {
|
|
7237
7348
|
h.o(w, O) || Object.defineProperty(w, O, { configurable: !1, enumerable: !0, get: v });
|
|
@@ -7245,13 +7356,13 @@ function Se() {
|
|
|
7245
7356
|
}, h.o = function(w, O) {
|
|
7246
7357
|
return Object.prototype.hasOwnProperty.call(w, O);
|
|
7247
7358
|
}, h.p = "/", h(h.s = 2);
|
|
7248
|
-
}([function(
|
|
7249
|
-
|
|
7250
|
-
}, function(
|
|
7359
|
+
}([function(s, h) {
|
|
7360
|
+
s.exports = L;
|
|
7361
|
+
}, function(s, h, N) {
|
|
7251
7362
|
Object.defineProperty(h, "__esModule", { value: !0 });
|
|
7252
7363
|
var w = N(4), O = N.n(w), v = N(6), y = N(5), d = y(O.a, v.a, !1, null, null, null);
|
|
7253
7364
|
h.default = d.exports;
|
|
7254
|
-
}, function(
|
|
7365
|
+
}, function(s, h, N) {
|
|
7255
7366
|
function w(u) {
|
|
7256
7367
|
return u && u.__esModule ? u : { default: u };
|
|
7257
7368
|
}
|
|
@@ -7262,9 +7373,9 @@ function Se() {
|
|
|
7262
7373
|
}), u.component(d.default.name, d.default);
|
|
7263
7374
|
}, t = { Quill: o, quillEditor: d.default, install: e };
|
|
7264
7375
|
h.default = t, h.Quill = o, h.quillEditor = d.default, h.install = e;
|
|
7265
|
-
}, function(
|
|
7376
|
+
}, function(s, h, N) {
|
|
7266
7377
|
Object.defineProperty(h, "__esModule", { value: !0 }), h.default = { theme: "snow", boundary: document.body, modules: { toolbar: [["bold", "italic", "underline", "strike"], ["blockquote", "code-block"], [{ header: 1 }, { header: 2 }], [{ list: "ordered" }, { list: "bullet" }], [{ script: "sub" }, { script: "super" }], [{ indent: "-1" }, { indent: "+1" }], [{ direction: "rtl" }], [{ size: ["small", !1, "large", "huge"] }], [{ header: [1, 2, 3, 4, 5, 6, !1] }], [{ color: [] }, { background: [] }], [{ font: [] }], [{ align: [] }], ["clean"], ["link", "image", "video"]] }, placeholder: "Insert text here ...", readOnly: !1 };
|
|
7267
|
-
}, function(
|
|
7378
|
+
}, function(s, h, N) {
|
|
7268
7379
|
function w(e) {
|
|
7269
7380
|
return e && e.__esModule ? e : { default: e };
|
|
7270
7381
|
}
|
|
@@ -7305,8 +7416,8 @@ function Se() {
|
|
|
7305
7416
|
}, disabled: function(e, t) {
|
|
7306
7417
|
this.quill && this.quill.enable(!e);
|
|
7307
7418
|
} } };
|
|
7308
|
-
}, function(
|
|
7309
|
-
|
|
7419
|
+
}, function(s, h) {
|
|
7420
|
+
s.exports = function(N, w, O, v, y, d) {
|
|
7310
7421
|
var o, e = N = N || {}, t = typeof N.default;
|
|
7311
7422
|
t !== "object" && t !== "function" || (o = N, e = N.default);
|
|
7312
7423
|
var u = typeof e == "function" ? e.options : e;
|
|
@@ -7316,13 +7427,13 @@ function Se() {
|
|
|
7316
7427
|
r = r || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, r || typeof __VUE_SSR_CONTEXT__ > "u" || (r = __VUE_SSR_CONTEXT__), v && v.call(this, r), r && r._registeredComponents && r._registeredComponents.add(d);
|
|
7317
7428
|
}, u._ssrRegister = l) : v && (l = v), l) {
|
|
7318
7429
|
var a = u.functional, i = a ? u.render : u.beforeCreate;
|
|
7319
|
-
a ? (u._injectStyles = l, u.render = function(r,
|
|
7320
|
-
return l.call(
|
|
7430
|
+
a ? (u._injectStyles = l, u.render = function(r, f) {
|
|
7431
|
+
return l.call(f), i(r, f);
|
|
7321
7432
|
}) : u.beforeCreate = i ? [].concat(i, l) : [l];
|
|
7322
7433
|
}
|
|
7323
7434
|
return { esModule: o, exports: e, options: u };
|
|
7324
7435
|
};
|
|
7325
|
-
}, function(
|
|
7436
|
+
}, function(s, h, N) {
|
|
7326
7437
|
var w = function() {
|
|
7327
7438
|
var y = this, d = y.$createElement, o = y._self._c || d;
|
|
7328
7439
|
return o("div", { staticClass: "quill-editor" }, [y._t("toolbar"), y._v(" "), o("div", { ref: "editor" })], 2);
|
|
@@ -7331,74 +7442,7 @@ function Se() {
|
|
|
7331
7442
|
}]);
|
|
7332
7443
|
});
|
|
7333
7444
|
})(ge);
|
|
7334
|
-
const
|
|
7335
|
-
props: {
|
|
7336
|
-
record: {
|
|
7337
|
-
type: Object,
|
|
7338
|
-
default: () => ({})
|
|
7339
|
-
},
|
|
7340
|
-
ruleFormData: {
|
|
7341
|
-
type: Object,
|
|
7342
|
-
required: !0
|
|
7343
|
-
}
|
|
7344
|
-
},
|
|
7345
|
-
components: {
|
|
7346
|
-
quillEditor: ge.exports.quillEditor
|
|
7347
|
-
},
|
|
7348
|
-
data() {
|
|
7349
|
-
return {};
|
|
7350
|
-
},
|
|
7351
|
-
computed: {
|
|
7352
|
-
editorOption() {
|
|
7353
|
-
return { placeholder: this.$i18nt(this.record.placeholderTransKey, this.record.placeholder) };
|
|
7354
|
-
},
|
|
7355
|
-
style() {
|
|
7356
|
-
return { height: `${this.record.height | 300}px` };
|
|
7357
|
-
},
|
|
7358
|
-
disabled() {
|
|
7359
|
-
return this.record.disabled === void 0 ? !1 : this.record.disabled;
|
|
7360
|
-
}
|
|
7361
|
-
},
|
|
7362
|
-
methods: {
|
|
7363
|
-
onEditorBlur() {
|
|
7364
|
-
},
|
|
7365
|
-
onEditorFocus() {
|
|
7366
|
-
},
|
|
7367
|
-
onEditorChange(G) {
|
|
7368
|
-
this.$emit("change", G.html);
|
|
7369
|
-
}
|
|
7370
|
-
},
|
|
7371
|
-
mounted() {
|
|
7372
|
-
this.$refs.vueQuillEditor.quill.enable(!1), this.$nextTick(() => {
|
|
7373
|
-
setTimeout(() => {
|
|
7374
|
-
this.$refs.vueQuillEditor.quill.blur(), this.$refs.vueQuillEditor.quill.enable(!0);
|
|
7375
|
-
}, 1e3);
|
|
7376
|
-
});
|
|
7377
|
-
}
|
|
7378
|
-
};
|
|
7379
|
-
var Le = function() {
|
|
7380
|
-
var E = this, L = E._self._c;
|
|
7381
|
-
return L("quillEditor", { ref: "vueQuillEditor", staticClass: "ql-editor-class", class: { chinesization: !0 }, style: E.style, attrs: { options: E.editorOption, disabled: E.disabled }, on: { blur: function(f) {
|
|
7382
|
-
return E.onEditorBlur(f);
|
|
7383
|
-
}, focus: function(f) {
|
|
7384
|
-
return E.onEditorFocus(f);
|
|
7385
|
-
}, change: function(f) {
|
|
7386
|
-
return E.onEditorChange(f);
|
|
7387
|
-
} }, model: { value: E.ruleFormData[E.record.prop], callback: function(f) {
|
|
7388
|
-
E.$set(E.ruleFormData, E.record.prop, f);
|
|
7389
|
-
}, expression: "ruleFormData[record.prop]" } });
|
|
7390
|
-
}, qe = [], De = /* @__PURE__ */ he(
|
|
7391
|
-
Pe,
|
|
7392
|
-
Le,
|
|
7393
|
-
qe,
|
|
7394
|
-
!1,
|
|
7395
|
-
null,
|
|
7396
|
-
"17f85232",
|
|
7397
|
-
null,
|
|
7398
|
-
null
|
|
7399
|
-
);
|
|
7400
|
-
const Re = De.exports;
|
|
7401
|
-
const je = {
|
|
7445
|
+
const Se = {
|
|
7402
7446
|
props: {
|
|
7403
7447
|
record: {
|
|
7404
7448
|
type: Object,
|
|
@@ -7422,14 +7466,14 @@ const je = {
|
|
|
7422
7466
|
}
|
|
7423
7467
|
},
|
|
7424
7468
|
components: {
|
|
7425
|
-
childEditor:
|
|
7426
|
-
iconSelector:
|
|
7427
|
-
SelectFkMultiple:
|
|
7469
|
+
childEditor: () => Promise.resolve().then(() => Ce),
|
|
7470
|
+
iconSelector: () => import("./components.iconselector.d2d970ba.mjs"),
|
|
7471
|
+
SelectFkMultiple: () => Promise.resolve().then(() => Ve)
|
|
7428
7472
|
},
|
|
7429
7473
|
watch: {
|
|
7430
7474
|
visible: {
|
|
7431
|
-
handler(
|
|
7432
|
-
this.handleFile(
|
|
7475
|
+
handler(W) {
|
|
7476
|
+
this.handleFile(W), this.fileclick(W);
|
|
7433
7477
|
},
|
|
7434
7478
|
deep: !0,
|
|
7435
7479
|
immediate: !0
|
|
@@ -7461,7 +7505,7 @@ const je = {
|
|
|
7461
7505
|
handleIcon() {
|
|
7462
7506
|
this.$refs.iconSelector.open();
|
|
7463
7507
|
},
|
|
7464
|
-
fileclick(
|
|
7508
|
+
fileclick(W) {
|
|
7465
7509
|
this.$nextTick(() => {
|
|
7466
7510
|
setTimeout(() => {
|
|
7467
7511
|
const E = this.ruleFormData[this.record.prop] ? this.ruleFormData[this.record.prop] : [];
|
|
@@ -7469,9 +7513,9 @@ const je = {
|
|
|
7469
7513
|
}, 0);
|
|
7470
7514
|
});
|
|
7471
7515
|
},
|
|
7472
|
-
handleFile(
|
|
7516
|
+
handleFile(W) {
|
|
7473
7517
|
if (!!["image"].includes(this.record.effectType)) {
|
|
7474
|
-
if (!
|
|
7518
|
+
if (!W) {
|
|
7475
7519
|
this.fileList = [];
|
|
7476
7520
|
return;
|
|
7477
7521
|
}
|
|
@@ -7482,304 +7526,288 @@ const je = {
|
|
|
7482
7526
|
});
|
|
7483
7527
|
}
|
|
7484
7528
|
},
|
|
7485
|
-
uploadFile(
|
|
7486
|
-
new FormData().append("file",
|
|
7529
|
+
uploadFile(W) {
|
|
7530
|
+
new FormData().append("file", W.file), Oe(W).then((L) => {
|
|
7487
7531
|
if (L.code === 200) {
|
|
7488
|
-
const
|
|
7489
|
-
return this.ruleFormData[this.record.prop] = N.join(","),
|
|
7532
|
+
const s = L.data.url, N = (this.ruleFormData[this.record.prop] ? this.ruleFormData[this.record.prop].split(",") : []).concat([s]);
|
|
7533
|
+
return this.ruleFormData[this.record.prop] = N.join(","), W.onSuccess(L.data), L.data;
|
|
7490
7534
|
} else
|
|
7491
|
-
this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + L.message),
|
|
7535
|
+
this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + L.message), W.onError();
|
|
7492
7536
|
}).catch((L) => {
|
|
7493
|
-
|
|
7537
|
+
W.onError(L);
|
|
7494
7538
|
});
|
|
7495
7539
|
},
|
|
7496
|
-
successFile(
|
|
7540
|
+
successFile(W, E, L) {
|
|
7497
7541
|
},
|
|
7498
|
-
removeFile(
|
|
7542
|
+
removeFile(W, E) {
|
|
7499
7543
|
let L = [];
|
|
7500
|
-
E.forEach((
|
|
7501
|
-
|
|
7544
|
+
E.forEach((s) => {
|
|
7545
|
+
s.response && s.response.id ? L.push(s.response.id) : L.push(s.url);
|
|
7502
7546
|
}), this.ruleFormData[this.record.prop] = L.join(",");
|
|
7503
7547
|
},
|
|
7504
|
-
previewFile(
|
|
7548
|
+
previewFile(W) {
|
|
7505
7549
|
let E = "";
|
|
7506
|
-
|
|
7550
|
+
W.response && W.response.fileOriginName ? (E = W.response.fileOriginName, W.response.url) : (E = W.name, W.url);
|
|
7507
7551
|
const L = E.substr(E.lastIndexOf(".") + 1).toLowerCase();
|
|
7508
|
-
["gif", "jpeg", "png", "jpg", "JPG", "PNG"].includes(L) ? (this.imgList = [E], this.currentImg = E, this.$refs.imgPreview.open()) : this.downFile(
|
|
7552
|
+
["gif", "jpeg", "png", "jpg", "JPG", "PNG"].includes(L) ? (this.imgList = [E], this.currentImg = E, this.$refs.imgPreview.open()) : this.downFile(W);
|
|
7509
7553
|
},
|
|
7510
|
-
downFile(
|
|
7511
|
-
console.log(
|
|
7554
|
+
downFile(W) {
|
|
7555
|
+
console.log(W);
|
|
7512
7556
|
},
|
|
7513
|
-
changeEditor(
|
|
7514
|
-
this.ruleFormData[this.record.prop] =
|
|
7557
|
+
changeEditor(W) {
|
|
7558
|
+
this.ruleFormData[this.record.prop] = W;
|
|
7515
7559
|
},
|
|
7516
|
-
getDict(
|
|
7517
|
-
return
|
|
7560
|
+
getDict(W) {
|
|
7561
|
+
return W.dictData ? W.dictData : this.getDictionary(W);
|
|
7518
7562
|
},
|
|
7519
|
-
getDictionary(
|
|
7520
|
-
return this.$options.filters.dictData(
|
|
7563
|
+
getDictionary(W) {
|
|
7564
|
+
return this.$options.filters.dictData(W.dictTypeCode);
|
|
7521
7565
|
},
|
|
7522
|
-
selectFk(
|
|
7523
|
-
this.$emit("selectFk",
|
|
7566
|
+
selectFk(W) {
|
|
7567
|
+
this.$emit("selectFk", W);
|
|
7524
7568
|
}
|
|
7525
7569
|
}
|
|
7526
7570
|
};
|
|
7527
|
-
var
|
|
7571
|
+
var Pe = function() {
|
|
7528
7572
|
var E = this, L = E._self._c;
|
|
7529
|
-
return L("div", [["input"].includes(E.record.effectType) ? [L("el-input", { attrs: { disabled: E.disabled, placeholder: E.$i18nt(E.record.placeholderTransKey, E.record.placeholder) }, model: { value: E.ruleFormData[E.record.prop], callback: function(
|
|
7530
|
-
E.$set(E.ruleFormData, E.record.prop,
|
|
7531
|
-
}, expression: "ruleFormData[record.prop]" } })] : ["inputnumber", "double", "currency"].includes(E.record.effectType) ? L("el-input-number", { attrs: { disabled: E.disabled, type: "number", min: E.record.min || E.record.min === 0 ? E.record.min : -1 / 0, max: E.record.max || E.record.max === 0 ? E.record.max : 1 / 0, step: E.record.step || 1, precision: E.record.precision || 0, placeholder: E.$i18nt(E.record.placeholderTransKey, E.record.placeholder), "controls-position": "right" }, model: { value: E.ruleFormData[E.record.prop], callback: function(
|
|
7532
|
-
E.$set(E.ruleFormData, E.record.prop,
|
|
7533
|
-
}, expression: "ruleFormData[record.prop]" } }) : ["textarea"].includes(E.record.effectType) ? L("el-input", { attrs: { disabled: E.disabled, type: "textarea", placeholder: E.$i18nt(E.record.placeholderTransKey, E.record.placeholder), autosize: E.record.autosize || { minRows: 4, maxRows: 6 } }, model: { value: E.ruleFormData[E.record.prop], callback: function(
|
|
7534
|
-
E.$set(E.ruleFormData, E.record.prop,
|
|
7535
|
-
}, expression: "ruleFormData[record.prop]" } }) : ["switch"].includes(E.record.effectType) ? L("el-switch", { attrs: { disabled: E.disabled, "active-color": E.primaryColor }, model: { value: E.ruleFormData[E.record.prop], callback: function(
|
|
7536
|
-
E.$set(E.ruleFormData, E.record.prop,
|
|
7537
|
-
}, expression: "ruleFormData[record.prop]" } }) : ["date"].includes(E.record.effectType) ? L("el-date-picker", { staticStyle: { width: "100%" }, attrs: { disabled: E.disabled, type: "date", "value-format": E.fieldFormat, format: E.fieldFormat, placeholder: E.$i18nt(E.record.placeholderTransKey, E.record.placeholder) }, model: { value: E.ruleFormData[E.record.prop], callback: function(
|
|
7538
|
-
E.$set(E.ruleFormData, E.record.prop,
|
|
7539
|
-
}, expression: "ruleFormData[record.prop]" } }) : ["selectTree"].includes(E.record.effectType) ? L("gd-select-tree", { attrs: { defaultProps: E.defaultProps, filterable: E.record.filterable || !0, "tree-options": E.record.treeOptions || [], "default-value": E.ruleFormData[E.record.prop], placeholder: E.$i18nt(E.record.placeholderTransKey, E.record.placeholder), disabled: E.disabled }, model: { value: E.ruleFormData[E.record.prop], callback: function(
|
|
7540
|
-
E.$set(E.ruleFormData, E.record.prop,
|
|
7541
|
-
}, expression: "ruleFormData[record.prop]" } }) : ["radio"].includes(E.record.effectType) ? [L("el-radio-group", { model: { value: E.ruleFormData[E.record.prop], callback: function(
|
|
7542
|
-
E.$set(E.ruleFormData, E.record.prop,
|
|
7543
|
-
}, expression: "ruleFormData[record.prop]" } }, E._l(E.getDict(E.record), function(
|
|
7544
|
-
return L("el-radio", { key:
|
|
7545
|
-
}), 1)] : ["checkbox"].includes(E.record.effectType) && E.ruleFormData[E.record.prop] ? [L("el-checkbox-group", { model: { value: E.ruleFormData[E.record.prop], callback: function(
|
|
7546
|
-
E.$set(E.ruleFormData, E.record.prop,
|
|
7547
|
-
}, expression: "ruleFormData[record.prop]" } }, E._l(E.getDict(E.record), function(
|
|
7548
|
-
return L("el-checkbox", { key:
|
|
7549
|
-
}), 1)] : ["select"].includes(E.record.effectType) ? [L("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: E.disabled }, model: { value: E.ruleFormData[E.record.prop], callback: function(
|
|
7550
|
-
E.$set(E.ruleFormData, E.record.prop,
|
|
7551
|
-
}, expression: "ruleFormData[record.prop]" } }, E._l(E.getDict(E.record), function(
|
|
7552
|
-
return L("el-option", { key:
|
|
7553
|
-
}), 1)] : ["colorPicker"].includes(E.record.effectType) ? [L("el-input", { attrs: { disabled: E.disabled, placeholder: E.$i18nt(E.record.placeholderTransKey, E.record.placeholder) }, model: { value: E.ruleFormData[E.record.prop], callback: function(
|
|
7554
|
-
E.$set(E.ruleFormData, E.record.prop,
|
|
7555
|
-
}, expression: "ruleFormData[record.prop]" } }, [L("el-color-picker", { ref: "colorPicker", staticClass: "theme-picker", staticStyle: { "margin-right": "-5px" }, attrs: { slot: "suffix", size: "small", predefine: E.predefine, "popper-class": "theme-picker-dropdown" }, slot: "suffix", model: { value: E.ruleFormData[E.record.prop], callback: function(
|
|
7556
|
-
E.$set(E.ruleFormData, E.record.prop,
|
|
7557
|
-
}, expression: "ruleFormData[record.prop]" } })], 1)] : ["icon"].includes(E.record.effectType) ? [L("div", { staticClass: "item-operator" }, [L("el-input", { attrs: { placeholder: E.$i18nt(E.record.placeholderTransKey, E.record.placeholder), clearable: "" }, model: { value: E.ruleFormData[E.record.prop], callback: function(
|
|
7558
|
-
E.$set(E.ruleFormData, E.record.prop,
|
|
7559
|
-
}, expression: "ruleFormData[record.prop]" } }, [E.ruleFormData[E.record.prop] ? L("i", { staticClass: "el-input__icon gd-icons active-color", class: E.ruleFormData[E.record.prop], staticStyle: { "font-size": "18px" }, attrs: { slot: "prefix" }, slot: "prefix" }) : E._e()]), L("div", { staticClass: "item-operator-cao" }, [L("i", { staticClass: "el-icon-search", on: { click: E.handleIcon } })])], 1)] : ["editor"].includes(E.record.effectType) ? L("childEditor", { attrs: { record: E.record, ruleFormData: E.ruleFormData }, on: { change: E.changeEditor } }) : ["image"].includes(E.record.effectType) ? L("gd-upload-img", { ref: "uploadImg", attrs: { record: E.record, model: E.ruleFormData, limit: E.record.limit, prop: E.record.prop } }) : ["file"].includes(E.record.effectType) ? L("el-upload", { attrs: { action: "", "on-preview": E.previewFile, "on-remove": E.removeFile, multiple: "", limit: E.record.limit, "http-request": E.uploadFile, "file-list": E.fileListFile, "on-success": E.successFile } }, [L("el-button", { attrs: { size: "mini", type: "primary" } }, [L("i", { staticClass: "gd-icons gd-icon-shangchuan" }), E._v(" " + E._s(E.$i18nt("gd.btn.upload", "\u4E0A\u4F20")) + " ")])], 1) : ["selectFkMultiple"].includes(E.record.effectType) ? [L("SelectFkMultiple", { attrs: { column: E.record, multiple: E.record.multiple, visible: E.visible, disabled: E.disabled, ruleFormData: E.ruleFormData }, on: { selectFk: E.selectFk } })] : ["datetime"].includes(E.record.effectType) ? L("el-date-picker", { staticStyle: { width: "100%" }, attrs: { disabled: E.disabled, type: "datetime", "value-format": E.fieldFormat, format: E.fieldFormat, placeholder: E.$i18nt(E.record.placeholderTransKey, E.record.placeholder) }, model: { value: E.ruleFormData[E.record.prop], callback: function(
|
|
7560
|
-
E.$set(E.ruleFormData, E.record.prop,
|
|
7561
|
-
}, expression: "ruleFormData[record.prop]" } }) : E._e(), ["image", "file"].includes(E.record.effectType) ? L("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: E.imgList.length > 0, imgList: E.imgList, currentImg: E.currentImg } }) : E._e(), ["icon"].includes(E.record.effectType) ? L("iconSelector", { ref: "iconSelector", model: { value: E.ruleFormData[E.record.prop], callback: function(
|
|
7562
|
-
E.$set(E.ruleFormData, E.record.prop,
|
|
7573
|
+
return L("div", [["input"].includes(E.record.effectType) ? [L("el-input", { attrs: { disabled: E.disabled, placeholder: E.$i18nt(E.record.placeholderTransKey, E.record.placeholder) }, model: { value: E.ruleFormData[E.record.prop], callback: function(s) {
|
|
7574
|
+
E.$set(E.ruleFormData, E.record.prop, s);
|
|
7575
|
+
}, expression: "ruleFormData[record.prop]" } })] : ["inputnumber", "double", "currency"].includes(E.record.effectType) ? L("el-input-number", { attrs: { disabled: E.disabled, type: "number", min: E.record.min || E.record.min === 0 ? E.record.min : -1 / 0, max: E.record.max || E.record.max === 0 ? E.record.max : 1 / 0, step: E.record.step || 1, precision: E.record.precision || 0, placeholder: E.$i18nt(E.record.placeholderTransKey, E.record.placeholder), "controls-position": "right" }, model: { value: E.ruleFormData[E.record.prop], callback: function(s) {
|
|
7576
|
+
E.$set(E.ruleFormData, E.record.prop, s);
|
|
7577
|
+
}, expression: "ruleFormData[record.prop]" } }) : ["textarea"].includes(E.record.effectType) ? L("el-input", { attrs: { disabled: E.disabled, type: "textarea", placeholder: E.$i18nt(E.record.placeholderTransKey, E.record.placeholder), autosize: E.record.autosize || { minRows: 4, maxRows: 6 } }, model: { value: E.ruleFormData[E.record.prop], callback: function(s) {
|
|
7578
|
+
E.$set(E.ruleFormData, E.record.prop, s);
|
|
7579
|
+
}, expression: "ruleFormData[record.prop]" } }) : ["switch"].includes(E.record.effectType) ? L("el-switch", { attrs: { disabled: E.disabled, "active-color": E.primaryColor }, model: { value: E.ruleFormData[E.record.prop], callback: function(s) {
|
|
7580
|
+
E.$set(E.ruleFormData, E.record.prop, s);
|
|
7581
|
+
}, expression: "ruleFormData[record.prop]" } }) : ["date"].includes(E.record.effectType) ? L("el-date-picker", { staticStyle: { width: "100%" }, attrs: { disabled: E.disabled, type: "date", "value-format": E.fieldFormat, format: E.fieldFormat, placeholder: E.$i18nt(E.record.placeholderTransKey, E.record.placeholder) }, model: { value: E.ruleFormData[E.record.prop], callback: function(s) {
|
|
7582
|
+
E.$set(E.ruleFormData, E.record.prop, s);
|
|
7583
|
+
}, expression: "ruleFormData[record.prop]" } }) : ["selectTree"].includes(E.record.effectType) ? L("gd-select-tree", { attrs: { defaultProps: E.defaultProps, filterable: E.record.filterable || !0, "tree-options": E.record.treeOptions || [], "default-value": E.ruleFormData[E.record.prop], placeholder: E.$i18nt(E.record.placeholderTransKey, E.record.placeholder), disabled: E.disabled }, model: { value: E.ruleFormData[E.record.prop], callback: function(s) {
|
|
7584
|
+
E.$set(E.ruleFormData, E.record.prop, s);
|
|
7585
|
+
}, expression: "ruleFormData[record.prop]" } }) : ["radio"].includes(E.record.effectType) ? [L("el-radio-group", { model: { value: E.ruleFormData[E.record.prop], callback: function(s) {
|
|
7586
|
+
E.$set(E.ruleFormData, E.record.prop, s);
|
|
7587
|
+
}, expression: "ruleFormData[record.prop]" } }, E._l(E.getDict(E.record), function(s) {
|
|
7588
|
+
return L("el-radio", { key: s.code, attrs: { label: s.code, disabled: E.disabled } }, [E._v(" " + E._s(E.$i18nt(`Dynamics.${s.transKey}`, s.name)) + " ")]);
|
|
7589
|
+
}), 1)] : ["checkbox"].includes(E.record.effectType) && E.ruleFormData[E.record.prop] ? [L("el-checkbox-group", { model: { value: E.ruleFormData[E.record.prop], callback: function(s) {
|
|
7590
|
+
E.$set(E.ruleFormData, E.record.prop, s);
|
|
7591
|
+
}, expression: "ruleFormData[record.prop]" } }, E._l(E.getDict(E.record), function(s) {
|
|
7592
|
+
return L("el-checkbox", { key: s.code, attrs: { label: s.code, name: s.name, disabled: E.disabled } }, [E._v(" " + E._s(E.$i18nt(`Dynamics.${s.transKey}`, s.name)) + " ")]);
|
|
7593
|
+
}), 1)] : ["select"].includes(E.record.effectType) ? [L("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: E.disabled }, model: { value: E.ruleFormData[E.record.prop], callback: function(s) {
|
|
7594
|
+
E.$set(E.ruleFormData, E.record.prop, s);
|
|
7595
|
+
}, expression: "ruleFormData[record.prop]" } }, E._l(E.getDict(E.record), function(s) {
|
|
7596
|
+
return L("el-option", { key: s.code, attrs: { label: E.$i18nt(`Dynamics.${s.transKey}`, s.name), value: s.code } }, [E._v(" " + E._s(E.$i18nt(`Dynamics.${s.transKey}`, s.name)) + " ")]);
|
|
7597
|
+
}), 1)] : ["colorPicker"].includes(E.record.effectType) ? [L("el-input", { attrs: { disabled: E.disabled, placeholder: E.$i18nt(E.record.placeholderTransKey, E.record.placeholder) }, model: { value: E.ruleFormData[E.record.prop], callback: function(s) {
|
|
7598
|
+
E.$set(E.ruleFormData, E.record.prop, s);
|
|
7599
|
+
}, expression: "ruleFormData[record.prop]" } }, [L("el-color-picker", { ref: "colorPicker", staticClass: "theme-picker", staticStyle: { "margin-right": "-5px" }, attrs: { slot: "suffix", size: "small", predefine: E.predefine, "popper-class": "theme-picker-dropdown" }, slot: "suffix", model: { value: E.ruleFormData[E.record.prop], callback: function(s) {
|
|
7600
|
+
E.$set(E.ruleFormData, E.record.prop, s);
|
|
7601
|
+
}, expression: "ruleFormData[record.prop]" } })], 1)] : ["icon"].includes(E.record.effectType) ? [L("div", { staticClass: "item-operator" }, [L("el-input", { attrs: { placeholder: E.$i18nt(E.record.placeholderTransKey, E.record.placeholder), clearable: "" }, model: { value: E.ruleFormData[E.record.prop], callback: function(s) {
|
|
7602
|
+
E.$set(E.ruleFormData, E.record.prop, s);
|
|
7603
|
+
}, expression: "ruleFormData[record.prop]" } }, [E.ruleFormData[E.record.prop] ? L("i", { staticClass: "el-input__icon gd-icons active-color", class: E.ruleFormData[E.record.prop], staticStyle: { "font-size": "18px" }, attrs: { slot: "prefix" }, slot: "prefix" }) : E._e()]), L("div", { staticClass: "item-operator-cao" }, [L("i", { staticClass: "el-icon-search", on: { click: E.handleIcon } })])], 1)] : ["editor"].includes(E.record.effectType) ? L("childEditor", { attrs: { record: E.record, ruleFormData: E.ruleFormData }, on: { change: E.changeEditor } }) : ["image"].includes(E.record.effectType) ? L("gd-upload-img", { ref: "uploadImg", attrs: { record: E.record, model: E.ruleFormData, limit: E.record.limit, prop: E.record.prop } }) : ["file"].includes(E.record.effectType) ? L("el-upload", { attrs: { action: "", "on-preview": E.previewFile, "on-remove": E.removeFile, multiple: "", limit: E.record.limit, "http-request": E.uploadFile, "file-list": E.fileListFile, "on-success": E.successFile } }, [L("el-button", { attrs: { size: "mini", type: "primary" } }, [L("i", { staticClass: "gd-icons gd-icon-shangchuan" }), E._v(" " + E._s(E.$i18nt("gd.btn.upload", "\u4E0A\u4F20")) + " ")])], 1) : ["selectFkMultiple"].includes(E.record.effectType) ? [L("SelectFkMultiple", { attrs: { column: E.record, multiple: E.record.multiple, visible: E.visible, disabled: E.disabled, ruleFormData: E.ruleFormData }, on: { selectFk: E.selectFk } })] : ["datetime"].includes(E.record.effectType) ? L("el-date-picker", { staticStyle: { width: "100%" }, attrs: { disabled: E.disabled, type: "datetime", "value-format": E.fieldFormat, format: E.fieldFormat, placeholder: E.$i18nt(E.record.placeholderTransKey, E.record.placeholder) }, model: { value: E.ruleFormData[E.record.prop], callback: function(s) {
|
|
7604
|
+
E.$set(E.ruleFormData, E.record.prop, s);
|
|
7605
|
+
}, expression: "ruleFormData[record.prop]" } }) : E._e(), ["image", "file"].includes(E.record.effectType) ? L("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: E.imgList.length > 0, imgList: E.imgList, currentImg: E.currentImg } }) : E._e(), ["icon"].includes(E.record.effectType) ? L("iconSelector", { ref: "iconSelector", model: { value: E.ruleFormData[E.record.prop], callback: function(s) {
|
|
7606
|
+
E.$set(E.ruleFormData, E.record.prop, s);
|
|
7563
7607
|
}, expression: "ruleFormData[record.prop]" } }) : E._e()], 2);
|
|
7564
|
-
},
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
7608
|
+
}, Le = [], qe = /* @__PURE__ */ he(
|
|
7609
|
+
Se,
|
|
7610
|
+
Pe,
|
|
7611
|
+
Le,
|
|
7568
7612
|
!1,
|
|
7569
7613
|
null,
|
|
7570
|
-
"
|
|
7614
|
+
"965a5b33",
|
|
7571
7615
|
null,
|
|
7572
7616
|
null
|
|
7573
7617
|
);
|
|
7574
|
-
const
|
|
7575
|
-
|
|
7576
|
-
|
|
7618
|
+
const De = qe.exports, Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7619
|
+
__proto__: null,
|
|
7620
|
+
default: De
|
|
7621
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
7622
|
+
const je = {
|
|
7577
7623
|
props: {
|
|
7578
|
-
|
|
7579
|
-
type:
|
|
7580
|
-
default:
|
|
7581
|
-
},
|
|
7582
|
-
transKey: {
|
|
7583
|
-
type: String,
|
|
7584
|
-
default: ""
|
|
7624
|
+
record: {
|
|
7625
|
+
type: Object,
|
|
7626
|
+
default: () => ({})
|
|
7585
7627
|
},
|
|
7586
|
-
|
|
7587
|
-
type:
|
|
7588
|
-
|
|
7628
|
+
ruleFormData: {
|
|
7629
|
+
type: Object,
|
|
7630
|
+
required: !0
|
|
7631
|
+
}
|
|
7632
|
+
},
|
|
7633
|
+
components: {
|
|
7634
|
+
quillEditor: ge.exports.quillEditor
|
|
7635
|
+
},
|
|
7636
|
+
data() {
|
|
7637
|
+
return {};
|
|
7638
|
+
},
|
|
7639
|
+
computed: {
|
|
7640
|
+
editorOption() {
|
|
7641
|
+
return { placeholder: this.$i18nt(this.record.placeholderTransKey, this.record.placeholder) };
|
|
7589
7642
|
},
|
|
7590
|
-
|
|
7591
|
-
|
|
7592
|
-
default: "140px"
|
|
7643
|
+
style() {
|
|
7644
|
+
return { height: `${this.record.height | 300}px` };
|
|
7593
7645
|
},
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
|
|
7646
|
+
disabled() {
|
|
7647
|
+
return this.record.disabled === void 0 ? !1 : this.record.disabled;
|
|
7648
|
+
}
|
|
7649
|
+
},
|
|
7650
|
+
methods: {
|
|
7651
|
+
onEditorBlur() {
|
|
7597
7652
|
},
|
|
7598
|
-
|
|
7599
|
-
type: Boolean,
|
|
7600
|
-
default: !1
|
|
7653
|
+
onEditorFocus() {
|
|
7601
7654
|
},
|
|
7602
|
-
|
|
7603
|
-
|
|
7604
|
-
|
|
7655
|
+
onEditorChange(W) {
|
|
7656
|
+
this.$emit("change", W.html);
|
|
7657
|
+
}
|
|
7658
|
+
},
|
|
7659
|
+
mounted() {
|
|
7660
|
+
this.$refs.vueQuillEditor.quill.enable(!1), this.$nextTick(() => {
|
|
7661
|
+
setTimeout(() => {
|
|
7662
|
+
this.$refs.vueQuillEditor.quill.blur(), this.$refs.vueQuillEditor.quill.enable(!0);
|
|
7663
|
+
}, 1e3);
|
|
7664
|
+
});
|
|
7665
|
+
}
|
|
7666
|
+
};
|
|
7667
|
+
var Ie = function() {
|
|
7668
|
+
var E = this, L = E._self._c;
|
|
7669
|
+
return L("quillEditor", { ref: "vueQuillEditor", staticClass: "ql-editor-class", class: { chinesization: !0 }, style: E.style, attrs: { options: E.editorOption, disabled: E.disabled }, on: { blur: function(s) {
|
|
7670
|
+
return E.onEditorBlur(s);
|
|
7671
|
+
}, focus: function(s) {
|
|
7672
|
+
return E.onEditorFocus(s);
|
|
7673
|
+
}, change: function(s) {
|
|
7674
|
+
return E.onEditorChange(s);
|
|
7675
|
+
} }, model: { value: E.ruleFormData[E.record.prop], callback: function(s) {
|
|
7676
|
+
E.$set(E.ruleFormData, E.record.prop, s);
|
|
7677
|
+
}, expression: "ruleFormData[record.prop]" } });
|
|
7678
|
+
}, Fe = [], Me = /* @__PURE__ */ he(
|
|
7679
|
+
je,
|
|
7680
|
+
Ie,
|
|
7681
|
+
Fe,
|
|
7682
|
+
!1,
|
|
7683
|
+
null,
|
|
7684
|
+
"17f85232",
|
|
7685
|
+
null,
|
|
7686
|
+
null
|
|
7687
|
+
);
|
|
7688
|
+
const Be = Me.exports, Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7689
|
+
__proto__: null,
|
|
7690
|
+
default: Be
|
|
7691
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
7692
|
+
const Ue = {
|
|
7693
|
+
props: {
|
|
7694
|
+
column: {
|
|
7695
|
+
type: Object,
|
|
7696
|
+
default: () => ({})
|
|
7605
7697
|
},
|
|
7606
|
-
|
|
7607
|
-
type:
|
|
7608
|
-
|
|
7698
|
+
ruleFormData: {
|
|
7699
|
+
type: Object,
|
|
7700
|
+
required: !0
|
|
7609
7701
|
},
|
|
7610
|
-
|
|
7702
|
+
multiple: {
|
|
7611
7703
|
type: Boolean,
|
|
7612
7704
|
default: !1
|
|
7613
7705
|
},
|
|
7614
|
-
|
|
7615
|
-
type: Array,
|
|
7616
|
-
default: () => []
|
|
7617
|
-
},
|
|
7618
|
-
columns: {
|
|
7619
|
-
type: Array,
|
|
7620
|
-
default: () => []
|
|
7621
|
-
},
|
|
7622
|
-
defaultProps: {
|
|
7623
|
-
type: Object,
|
|
7624
|
-
default: () => ({
|
|
7625
|
-
children: "children",
|
|
7626
|
-
label: "title",
|
|
7627
|
-
value: "value"
|
|
7628
|
-
})
|
|
7629
|
-
},
|
|
7630
|
-
labelPosition: {
|
|
7631
|
-
type: String,
|
|
7632
|
-
default: "right"
|
|
7633
|
-
},
|
|
7634
|
-
needLoad: {
|
|
7706
|
+
visible: {
|
|
7635
7707
|
type: Boolean,
|
|
7636
7708
|
default: !1
|
|
7637
|
-
},
|
|
7638
|
-
formMode: {
|
|
7639
|
-
type: String,
|
|
7640
|
-
default: "dialog"
|
|
7641
7709
|
}
|
|
7642
7710
|
},
|
|
7643
|
-
components: { childRenColumn: Be },
|
|
7644
7711
|
data() {
|
|
7645
7712
|
return {
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
7649
|
-
|
|
7650
|
-
ruleFormData: {}
|
|
7713
|
+
fkData: [],
|
|
7714
|
+
loading: !1,
|
|
7715
|
+
firstLoading: !1,
|
|
7716
|
+
filterList: null
|
|
7651
7717
|
};
|
|
7652
7718
|
},
|
|
7653
|
-
watch: {
|
|
7654
|
-
loading(G) {
|
|
7655
|
-
this.confirmLoading = G;
|
|
7656
|
-
}
|
|
7657
|
-
},
|
|
7658
7719
|
computed: {
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
return G.filter((E) => (E.rules.filter((L) => (L.oldMessage === void 0 && (L.oldMessage = L.message), L.message = this.$i18nt(L.transKey, L.message), !0)), !0)), [...G];
|
|
7662
|
-
},
|
|
7663
|
-
headTitle() {
|
|
7664
|
-
return this.$i18nt(this.transKey, this.title);
|
|
7665
|
-
},
|
|
7666
|
-
style() {
|
|
7667
|
-
return `width:${this.formWidth};margin: 0 auto;min-height:400px;--form-inline-wid:calc(100% - ${this.labelWidth})`;
|
|
7720
|
+
effectType() {
|
|
7721
|
+
return this.column.effectType ? this.column.effectType : "about";
|
|
7668
7722
|
},
|
|
7669
|
-
|
|
7670
|
-
return this.
|
|
7723
|
+
disabled() {
|
|
7724
|
+
return this.column.disabled !== void 0 ? this.column.disabled : !1;
|
|
7671
7725
|
}
|
|
7672
7726
|
},
|
|
7673
7727
|
methods: {
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
this.$nextTick(() => {
|
|
7677
|
-
setTimeout(() => {
|
|
7678
|
-
const L = this.record && typeof this.record == "object" ? this.record : {};
|
|
7679
|
-
let f = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map();
|
|
7680
|
-
this.columns.forEach((N) => {
|
|
7681
|
-
if (!(N.type === "slot" && (N.slotType === "none" || N.slotType === "divider")))
|
|
7682
|
-
if (["input", "textarea", "image", "file", "editor"].includes(N.effectType))
|
|
7683
|
-
f.set(N.prop, N.defaultValue !== void 0 ? N.defaultValue : "");
|
|
7684
|
-
else if (["fk", "user", "select", "radio"].includes(N.effectType))
|
|
7685
|
-
f.set(N.prop, N.defaultValue !== void 0 ? N.defaultValue : "");
|
|
7686
|
-
else if (["participants", "checkbox"].includes(N.effectType))
|
|
7687
|
-
f.set(N.prop, N.defaultValue !== void 0 ? N.defaultValue : []);
|
|
7688
|
-
else if (["switch"].includes(N.effectType)) {
|
|
7689
|
-
const w = N.defaultValue !== void 0 ? N.defaultValue : !1, O = L[N.prop] === void 0 ? w : L[N.prop] == 1;
|
|
7690
|
-
f.set(N.prop, O), h.set(N.prop, O);
|
|
7691
|
-
} else
|
|
7692
|
-
["inputnumber", "currency", "double"].includes(N.effectType) ? f.set(
|
|
7693
|
-
N.prop,
|
|
7694
|
-
N.defaultValue !== void 0 ? N.defaultValue === "undefined" ? void 0 : N.defaultValue : void 0
|
|
7695
|
-
) : f.set(N.prop, N.defaultValue !== void 0 ? N.defaultValue : "");
|
|
7696
|
-
}), this.ruleFormData = Object.assign(Object.fromEntries(f), { ...L }, Object.fromEntries(h)), this.$refs.ruleForm && this.$refs.ruleForm.resetFields(), G(this.ruleFormData);
|
|
7697
|
-
}, 0);
|
|
7698
|
-
});
|
|
7699
|
-
});
|
|
7728
|
+
getFkData() {
|
|
7729
|
+
!this.column.fkData || (this.fkData = this.column.fkData ? this.column.fkData : [], this.firstLoading = !0);
|
|
7700
7730
|
},
|
|
7701
|
-
|
|
7702
|
-
this
|
|
7703
|
-
|
|
7704
|
-
const E = G || {};
|
|
7705
|
-
this.ruleFormData = Object.assign({ ...this.ruleFormData }, { ...E }), this.$refs.ruleForm.resetFields();
|
|
7706
|
-
}, 0);
|
|
7731
|
+
getViewFilter() {
|
|
7732
|
+
!this.column.viewId || ke({ id: this.column.viewId }).then((W) => {
|
|
7733
|
+
W.code === 200 && (this.filterConfig = W.data.filterconfig ? JSON.parse(W.data.filterconfig) : null);
|
|
7707
7734
|
});
|
|
7708
7735
|
},
|
|
7709
|
-
|
|
7710
|
-
this.
|
|
7736
|
+
setData(W) {
|
|
7737
|
+
this.fkData = [...W];
|
|
7711
7738
|
},
|
|
7712
|
-
|
|
7713
|
-
if (this.
|
|
7714
|
-
return
|
|
7715
|
-
|
|
7716
|
-
|
|
7739
|
+
lookup() {
|
|
7740
|
+
if (this.disabled)
|
|
7741
|
+
return;
|
|
7742
|
+
const W = this.ruleFormData[this.column.prop];
|
|
7743
|
+
let E = {
|
|
7744
|
+
fkEntityName: this.column.fkEntityName,
|
|
7745
|
+
effectType: this.effectType,
|
|
7746
|
+
val: W || []
|
|
7747
|
+
};
|
|
7748
|
+
this.column.viewId && Object.assign(E, {
|
|
7749
|
+
viewId: this.column.viewId
|
|
7750
|
+
}), this.$refs.viewSearch.open(E);
|
|
7717
7751
|
},
|
|
7718
|
-
|
|
7719
|
-
|
|
7720
|
-
return new Promise((E, L) => {
|
|
7721
|
-
E({ instance: this, done: this.setData });
|
|
7722
|
-
});
|
|
7752
|
+
lookupSeled(W) {
|
|
7753
|
+
this.fkData = [...W.fkData], this.ruleFormData[this.column.prop] = this.effectType !== "participants" ? W.data[0] : W.data;
|
|
7723
7754
|
},
|
|
7724
|
-
|
|
7725
|
-
this
|
|
7755
|
+
fkSearch() {
|
|
7756
|
+
this.firstLoading || (this.searchData(""), this.firstLoading = !0);
|
|
7726
7757
|
},
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7733
|
-
|
|
7758
|
+
searchData(W) {
|
|
7759
|
+
this.loading = !0;
|
|
7760
|
+
const E = this.ruleFormData[this.column.prop] ? this.ruleFormData[this.column.prop] : [], L = E ? [E] : [], s = this.column.fkEntityName.split(",")[0];
|
|
7761
|
+
let h = {
|
|
7762
|
+
name: W,
|
|
7763
|
+
fkEntityName: s
|
|
7764
|
+
};
|
|
7765
|
+
this.filterConfig && Object.assign(h, {
|
|
7766
|
+
filterConfig: this.filterConfig
|
|
7767
|
+
});
|
|
7768
|
+
const N = this.fkData.filter((w) => L.includes(w.id));
|
|
7769
|
+
Ee(h).then((w) => {
|
|
7770
|
+
if (this.loading = !1, w.code === 200) {
|
|
7771
|
+
const O = w.data.filter((v) => !L.includes(v.id)).map((v) => (v.tableName = s, v));
|
|
7772
|
+
this.fkData = N.concat(O);
|
|
7734
7773
|
}
|
|
7735
7774
|
});
|
|
7736
7775
|
},
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
this.handleSubmit(G);
|
|
7740
|
-
return;
|
|
7741
|
-
}
|
|
7742
|
-
this.$emit("sbumit", { data: Object.assign({}, { ...this.ruleFormData }), record: this.record, btn: G }, this, this.closed);
|
|
7743
|
-
},
|
|
7744
|
-
selectFk(G) {
|
|
7745
|
-
this.$emit("selectFk", G);
|
|
7776
|
+
changeTemplate(W) {
|
|
7777
|
+
this.$emit("selectFk", W);
|
|
7746
7778
|
}
|
|
7779
|
+
},
|
|
7780
|
+
mounted() {
|
|
7781
|
+
this.getFkData(), this.column.setData = this.setData, this.getViewFilter();
|
|
7747
7782
|
}
|
|
7748
7783
|
};
|
|
7749
|
-
var
|
|
7784
|
+
var $e = function() {
|
|
7750
7785
|
var E = this, L = E._self._c;
|
|
7751
|
-
return L("div",
|
|
7752
|
-
E.
|
|
7753
|
-
},
|
|
7754
|
-
|
|
7755
|
-
}
|
|
7756
|
-
|
|
7757
|
-
})], 2) : E._e()], 1) : L("el-drawer", { attrs: { visible: E.visible, "close-on-press-escape": !1, "append-to-body": !0, "modal-append-to-body": !1, size: E.width, "custom-class": "gd-drawer-form", "show-close": !1 }, on: { "update:visible": function(f) {
|
|
7758
|
-
E.visible = f;
|
|
7759
|
-
} } }, [L("gd-modal-title", { attrs: { slot: "title", title: E.headTitle, fullscreen: E.fullscreen, buttons: E.buttons, confirmLoading: E.confirmLoading, emitFun: !0, showFullscreen: !1, showClose: !0 }, on: { changeEvent: E.doEvent, close: E.closed }, slot: "title" }), L("div", [E.visible ? L("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: E.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", class: `gd-form gd-form-${E.inline}`, style: E.style, attrs: { model: E.ruleFormData, "label-width": E.labelWidth, "label-position": E.labelPosition, size: E.size, inline: E.inline }, nativeOn: { submit: function(f) {
|
|
7760
|
-
f.preventDefault();
|
|
7761
|
-
} } }, [E._l(E.getColumns, function(f, h) {
|
|
7762
|
-
return [f.type === "slot" && f.slotType === "none" ? L("el-form-item", { style: E.istyle, attrs: { label: "" } }) : f.type === "slot" && f.slotType === "divider" ? L("el-divider") : L("el-form-item", { style: E.istyle, attrs: { label: E.$i18nt(f.transKey, f.label), prop: f.prop, rules: f.rules } }, [L("span", { attrs: { slot: "label", title: E.$i18nt(f.transKey, f.label) }, slot: "label" }, [E._v(" " + E._s(E.$i18nt(f.transKey, f.label)) + " ")]), f.type === "slot" ? E._t(f.slotType, null, { data: E.ruleFormData, column: f }) : L("childRenColumn", { attrs: { ruleFormData: E.ruleFormData, record: f, defaultProps: E.defaultProps, visible: E.visible } })], 2)];
|
|
7763
|
-
})], 2) : E._e()], 1)], 1)], 1);
|
|
7764
|
-
}, $e = [], He = /* @__PURE__ */ he(
|
|
7765
|
-
Ce,
|
|
7786
|
+
return L("div", { staticClass: "cao_about" }, [L("el-select", { staticClass: "cao_input", attrs: { disabled: E.disabled, placeholder: E.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), loading: E.loading, "reserve-keyword": "", filterable: "", remote: "", clearable: "", "remote-method": E.searchData, multiple: E.multiple, "collapse-tags": !0 }, on: { focus: E.fkSearch, change: E.changeTemplate }, model: { value: E.ruleFormData[E.column.prop], callback: function(s) {
|
|
7787
|
+
E.$set(E.ruleFormData, E.column.prop, s);
|
|
7788
|
+
}, expression: "ruleFormData[column.prop]" } }, E._l(E.fkData, function(s) {
|
|
7789
|
+
return L("el-option", { key: s.id, attrs: { label: s.name, value: s.id } });
|
|
7790
|
+
}), 1), L("div", { staticClass: "cao_setting", class: E.disabled ? "cao_setting-disabled" : "" }, [L("i", { staticClass: "el-input__icon el-icon-search", on: { click: E.lookup } })]), L("gd-search", { ref: "viewSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: E.lookupSeled } })], 1);
|
|
7791
|
+
}, He = [], ze = /* @__PURE__ */ he(
|
|
7766
7792
|
Ue,
|
|
7767
7793
|
$e,
|
|
7794
|
+
He,
|
|
7768
7795
|
!1,
|
|
7769
7796
|
null,
|
|
7770
|
-
"
|
|
7797
|
+
"3ab90674",
|
|
7771
7798
|
null,
|
|
7772
7799
|
null
|
|
7773
7800
|
);
|
|
7774
|
-
const
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
};
|
|
7801
|
+
const Ke = ze.exports, Ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7802
|
+
__proto__: null,
|
|
7803
|
+
default: Ke
|
|
7804
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
7778
7805
|
export {
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
Re as b,
|
|
7806
|
+
pe as G,
|
|
7807
|
+
Xe as a,
|
|
7782
7808
|
me as c,
|
|
7783
|
-
|
|
7809
|
+
Ce as e,
|
|
7810
|
+
Je as g,
|
|
7811
|
+
Ve as s,
|
|
7784
7812
|
ge as v
|
|
7785
7813
|
};
|