@ckeditor/ckeditor5-export-word 43.2.0-alpha.7 → 43.3.0-alpha.0
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/build/export-word.js +1 -1
- package/build/translations/af.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/uz.js +1 -0
- package/dist/exportword.d.ts +14 -0
- package/dist/exportwordui.d.ts +8 -0
- package/dist/index.js +1 -1
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/af.umd.js +23 -0
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +23 -0
- package/dist/translations/ast.umd.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/az.umd.js +23 -0
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/bs.umd.js +23 -0
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de-ch.umd.js +23 -0
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +23 -0
- package/dist/translations/en-gb.umd.js +23 -0
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +23 -0
- package/dist/translations/eo.umd.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +23 -0
- package/dist/translations/eu.umd.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fa.umd.js +23 -0
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.d.ts +8 -0
- package/dist/translations/gu.js +23 -0
- package/dist/translations/gu.umd.js +23 -0
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.d.ts +8 -0
- package/dist/translations/hy.js +23 -0
- package/dist/translations/hy.umd.js +23 -0
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.d.ts +8 -0
- package/dist/translations/kk.js +23 -0
- package/dist/translations/kk.umd.js +23 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +23 -0
- package/dist/translations/km.umd.js +23 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +23 -0
- package/dist/translations/kn.umd.js +23 -0
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +23 -0
- package/dist/translations/ku.umd.js +23 -0
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.d.ts +8 -0
- package/dist/translations/nb.js +23 -0
- package/dist/translations/nb.umd.js +23 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +23 -0
- package/dist/translations/ne.umd.js +23 -0
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.d.ts +8 -0
- package/dist/translations/oc.js +23 -0
- package/dist/translations/oc.umd.js +23 -0
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.d.ts +8 -0
- package/dist/translations/si.js +23 -0
- package/dist/translations/si.umd.js +23 -0
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.d.ts +8 -0
- package/dist/translations/sl.js +23 -0
- package/dist/translations/sl.umd.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sq.umd.js +23 -0
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.d.ts +8 -0
- package/dist/translations/ti.js +23 -0
- package/dist/translations/ti.umd.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/tt.umd.js +23 -0
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +23 -0
- package/dist/translations/uz.umd.js +23 -0
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/af.po +36 -0
- package/lang/translations/ar.po +4 -10
- package/lang/translations/ast.po +36 -0
- package/lang/translations/az.po +36 -0
- package/lang/translations/bg.po +3 -9
- package/lang/translations/bn.po +3 -9
- package/lang/translations/bs.po +36 -0
- package/lang/translations/ca.po +3 -9
- package/lang/translations/cs.po +4 -10
- package/lang/translations/da.po +3 -9
- package/lang/translations/de-ch.po +36 -0
- package/lang/translations/de.po +3 -9
- package/lang/translations/el.po +3 -9
- package/lang/translations/en-au.po +3 -9
- package/lang/translations/en-gb.po +36 -0
- package/lang/translations/en.po +5 -11
- package/lang/translations/eo.po +36 -0
- package/lang/translations/es-co.po +36 -0
- package/lang/translations/es.po +4 -10
- package/lang/translations/et.po +3 -9
- package/lang/translations/eu.po +36 -0
- package/lang/translations/fa.po +36 -0
- package/lang/translations/fi.po +3 -9
- package/lang/translations/fr.po +4 -10
- package/lang/translations/gl.po +3 -9
- package/lang/translations/gu.po +36 -0
- package/lang/translations/he.po +4 -10
- package/lang/translations/hi.po +3 -9
- package/lang/translations/hr.po +4 -10
- package/lang/translations/hu.po +3 -9
- package/lang/translations/hy.po +36 -0
- package/lang/translations/id.po +3 -9
- package/lang/translations/it.po +4 -10
- package/lang/translations/ja.po +3 -9
- package/lang/translations/jv.po +4 -10
- package/lang/translations/kk.po +36 -0
- package/lang/translations/km.po +36 -0
- package/lang/translations/kn.po +36 -0
- package/lang/translations/ko.po +3 -9
- package/lang/translations/ku.po +36 -0
- package/lang/translations/lt.po +4 -10
- package/lang/translations/lv.po +4 -10
- package/lang/translations/ms.po +3 -9
- package/lang/translations/nb.po +36 -0
- package/lang/translations/ne.po +36 -0
- package/lang/translations/nl.po +3 -9
- package/lang/translations/no.po +3 -9
- package/lang/translations/oc.po +36 -0
- package/lang/translations/pl.po +4 -10
- package/lang/translations/pt-br.po +4 -10
- package/lang/translations/pt.po +4 -10
- package/lang/translations/ro.po +4 -10
- package/lang/translations/ru.po +4 -10
- package/lang/translations/si.po +36 -0
- package/lang/translations/sk.po +4 -10
- package/lang/translations/sl.po +36 -0
- package/lang/translations/sq.po +36 -0
- package/lang/translations/sr-latn.po +4 -10
- package/lang/translations/sr.po +4 -10
- package/lang/translations/sv.po +3 -9
- package/lang/translations/th.po +3 -9
- package/lang/translations/ti.po +36 -0
- package/lang/translations/tk.po +36 -0
- package/lang/translations/tr.po +3 -9
- package/lang/translations/tt.po +36 -0
- package/lang/translations/ug.po +4 -10
- package/lang/translations/uk.po +4 -10
- package/lang/translations/ur.po +3 -9
- package/lang/translations/uz.po +36 -0
- package/lang/translations/vi.po +3 -9
- package/lang/translations/zh-cn.po +3 -9
- package/lang/translations/zh.po +3 -9
- package/package.json +5 -5
- package/src/exportword.d.ts +14 -0
- package/src/exportword.js +1 -1
- package/src/exportwordcommand.js +1 -1
- package/src/exportwordui.d.ts +8 -0
- package/src/exportwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils.js +1 -1
package/build/export-word.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var s=e[r]={exports:{}};return t[r](s,s.exports,n),s.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{ExportWord:()=>y});var t=n(782),e=n(311),o=n(584);function s(){const t=i,e=[],n=[];for(const r of Array[t(195)](document[t(130)]))if(r[t(139)][t(177)](t(133)))for(const o of Array[t(195)](r[t(157)]))-1!==o[t(142)][t(194)](t(170))?e[t(129)](o[t(142)]):-1!==o[t(142)][t(194)](t(187))&&n[t(129)](o[t(142)]);return e[t(174)]||console[t(147)](t(153)),[...n,...e][t(138)](" ")[t(169)]()}function i(t,e){const n=a();return(i=function(t,e){return n[t-=123]})(t,e)}function c(t,e={}){const n=i,r=t[n(159)][n(135)](n(148)),o=t[n(159)][n(135)](n(158)),s=t[n(159)][n(135)](n(178)),c=e;if(r&&o){const e=function(t){const e=i,n={};if(!t[e(174)])return n;for(const r of t)r[e(179)][e(144)]((t=>{const o=e;void 0===n[r.id]&&(n[r.id]=[]),n[r.id][o(129)]({author:t[o(165)][o(134)],content:t[o(182)],created:t[o(164)],is_resolved:r[o(123)]})}));return n}(t[n(159)][n(127)](n(158))[n(156)]({skipNotAttached:!0,skipEmpty:!0}));Object[n(190)](e)[n(174)]&&(c[n(179)]=e)}if(r&&s){const e=t[n(159)][n(127)](n(178)),r=t[n(159)][n(127)](n(148)),o=function(t,e){const n=i,r={};if(!t[n(174)]||!e[n(174)])return r;for(const{id:o,createdAt:s,authorId:i,attributes:c}of t){const t=c&&c[n(166)],a=t?t[n(191)]:e[n(127)](i)[n(134)];r[o]={author:a,created:s}}return r}(e[n(126)]({toJSON:!0}),r[n(141)]);Object[n(190)](o)[n(174)]&&(c[n(150)]=o)}return(c[n(150)]||c[n(179)])&&(c[n(131)]=(new(Intl[n(124)]))[n(192)]()[n(173)]),c}function a(){const t=["map","MergeFields","2177035cobicj","warn","Users","528399bOAFqq","suggestions","getDataSetValues","fetch","The editor stylesheet could not be found in the document. Check your webpack config – style-loader should use data-cke=true attribute for the editor stylesheet.","collaboration_features","text","getCommentThreads","cssRules","CommentsRepository","plugins","entries","129nzoElV","$defaultValues","data","createdAt","author","@external","1003152ELrVuD","mergeFields","trim",".ck-content","config","locale","timeZone","length","MergeFieldsEditing","getLabel","hasAttribute","TrackChanges","comments","EDITOR_STYLES","previewMode","content","document","36392lRrztc","78GbCacr","getDefaultValues",":root","$labels","all","keys","authorName","resolvedOptions","88039AEVHlE","indexOf","from","14718BymdsA","isResolved","DateTimeFormat","language","getSuggestions","get","652590eSrcRM","push","styleSheets","timezone","126LMAMmJ","data-cke","name","has","comment_threads","then","join","ownerNode","contentLanguage","users","cssText","merge_fields"];return(a=function(){return t})()}function u(t,e={}){const n=i,r=t[n(159)][n(135)](n(148)),o=t[n(159)][n(135)](n(158)),s=t[n(159)][n(135)](n(178)),c=t[n(159)][n(135)](n(145)),a=t[n(172)][n(140)],u=e,d={};if(u[n(183)]=u[n(183)]||{},u[n(183)][n(125)]=u[n(183)][n(125)]||a,r&&o){const e=function(t){const e=i,n=[];if(!t[e(174)])return n;for(const r of t){const t=r[e(179)][e(144)]((t=>({author:t[e(165)][e(134)],content:t[e(182)],created_at:t[e(164)]})));n[e(129)]({thread_id:r.id,is_resolved:r[e(123)],comments:t})}return n}(t[n(159)][n(127)](n(158))[n(156)]({skipNotAttached:!0,skipEmpty:!0}));e[n(174)]&&(d[n(136)]=e)}if(r&&s){const e=t[n(159)][n(127)](n(178)),r=t[n(159)][n(127)](n(148)),o=function(t,e){const n=i;return t[n(174)]&&e[n(174)]?t[n(144)]((({id:t,createdAt:r,authorId:o,attributes:s})=>{const i=n,c=s&&s[i(166)];return{id:t,author:c?c[i(191)]:e[i(127)](o)[i(134)],created_at:r}})):[]}(e[n(126)]({toJSON:!0}),r[n(141)]);o[n(174)]&&(d[n(150)]=o)}if(c){const e=t[n(159)][n(127)](n(175)),r=e[n(181)],{prefix:o,suffix:s}=t[n(171)][n(127)](n(168));if(u[n(143)]={prefix:o,suffix:s},n(188)!==r){u[n(143)][n(163)]={};const t=n(162)===r?e[n(186)]():e[n(151)](r,!0);for(const r of Object[n(160)](t)){const[t,o]=r;u[n(143)][n(163)][t]=null!==o?o:e[n(176)](t)}}}return(d[n(136)]||d[n(150)])&&(u[n(131)]=(new(Intl[n(124)]))[n(192)]()[n(173)],u[n(154)]=d),u}function d(t,e){const n=t.t;switch(e){case"Export to Word":return n("Export to Word");case"An error occurred while generating the Word file.":return n("An error occurred while generating the Word file.");case"Word document export started":return n("Word document export started");case"Word document export failed":return n("Word document export failed");case"Word document export successful":return n("Word document export successful");case"Exporting Word document":return n("Exporting Word document");default:return e}}!function(t){const e=i,n=t();for(;;)try{if(295568===-parseInt(e(149))/1+-parseInt(e(196))/2+parseInt(e(161))/3*(parseInt(e(184))/4)+-parseInt(e(146))/5+parseInt(e(185))/6*(-parseInt(e(193))/7)+parseInt(e(167))/8+parseInt(e(132))/9*(parseInt(e(128))/10))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(a);const p=l;function f(){const t=["margin_top","then","remove","ExportWord","status","isBusy","An error occurred while generating the Word file.","createObjectURL","2508GABeaH","69530XFoFrl","https://docx-converter.cke-cs.com/v1/convert","document.docx","click","_downloadFile","6868488VbfpjY","plugins","options","ariaLiveAnnouncer","Word document export started","assertive","auto_pagination","set","format","</div>","application/docx","_token","fileName","dataCallback","href","token","export-word-v1-api-is-deprecated","editor","function","header","download","converterUrl","execute","suggestions","createElement","application/json","config","catch","3cUgnuL","416891jbHIAO","get","margin_left","pending","1661846dBRcYy","data","POST","showWarning","value","contentLanguageDirection","URL",'<div class="ck-content" dir="',"stringify","converterOptions","margin_bottom","affectsData","https://docx-converter.cke-cs.com/v2/convert/html-docx","Word document export successful","Word document export failed","fetch","Notification","isEnabled","stylesheets","27915lhiIEW","blob","footer","announce","orientation","margin_right","6521598whAOMt","locale","880PyqDqG","finally","comments","5032KMLjrf","refresh","13006aIxvgS","EDITOR_STYLES","version"];return(f=function(){return t})()}function l(t,e){const n=f();return(l=function(t,e){return n[t-=398]})(t,e)}!function(t){const e=l,n=t();for(;;)try{if(757696===-parseInt(e(448))/1+-parseInt(e(452))/2*(-parseInt(e(447))/3)+-parseInt(e(479))/4*(-parseInt(e(471))/5)+parseInt(e(419))/6+-parseInt(e(402))/7*(parseInt(e(400))/8)+parseInt(e(477))/9+parseInt(e(414))/10*(-parseInt(e(413))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(f);const h=[p(475),p(405),p(476),p(462),p(450),p(427),p(438),p(473),p(399),p(442)];class m extends t.Command{constructor(t){const e=p;super(t),this[e(426)](e(410),!1),this[e(463)]=!1}[p(401)](){const t=p;this[t(469)]=!this[t(410)],this[t(456)]=this[t(410)]?t(451):void 0}[p(441)](t={}){const e=p,n=this[e(436)],r=t[e(404)]||2,a=1===r,f=t[e(440)]||e(a?415:464),l=t[e(461)]||{},m=n[e(420)][e(449)](e(408)),g=t[e(434)]||m[e(430)],I=!0===l[e(425)],x=t[e(432)]||(t=>t[e(453)][e(449)]({pagination:I}));return 2===r&&function(t){for(const e of h)if(void 0!==t[e])return!0;return!1}(l)&&(0,o.logWarning)(e(435)),this[e(410)]=!0,this[e(401)](),function(t){const e=i;if(!t)return new Promise((t=>t("")));const n=[];for(const r of t)e(180)!==r?n[e(129)](window[e(152)](r)[e(137)]((t=>t[e(155)]()))):n[e(129)](s());return Promise[e(189)](n)[e(137)]((t=>t[e(138)](" ")[e(169)]()))}(t[e(470)]||[e(403)])[e(406)]((async r=>{const o=e;n.ui[o(422)][o(474)](d(n[o(478)],o(423)));const s=await x(n),i={html:o(459)+n[o(478)][o(457)]+'">'+s+o(428),css:r,[o(a?421:445)]:{...l,...a?c(n,l):u(n,l)}},p={method:o(454),headers:{"Content-Type":o(444),Accept:o(429),...g?{Authorization:g[o(456)]}:null},body:JSON[o(460)](i)};return window[o(467)](f,p)[o(406)]((t=>{const e=o;if(200!==t[e(409)])throw t;return t[e(472)]()}))[o(406)]((e=>{const r=o;n.ui[r(422)][r(474)](d(n[r(478)],r(465)));const s=r(437)==typeof t[r(431)]?t[r(431)]():t[r(431)];this[r(418)](e,s||r(416))}))}))[e(446)]((t=>{const r=e,o=n[r(420)][r(449)](r(468));throw n.ui[r(422)][r(474)](d(n[r(478)],r(466)),{politeness:r(424)}),o[r(455)](d(n[r(478)],r(411))),t}))[e(398)]((()=>{const t=e;this[t(410)]=!1,this[t(401)]()}))}[p(418)](t,e){const n=p,r=document[n(443)]("a");r[n(433)]=window[n(458)][n(412)](t),r[n(439)]=e,r[n(417)](),r[n(407)]()}}const g=I;function I(t,e){const n=x();return(I=function(t,e){return n[t-=130]})(t,e)}function x(){const t=["execute","pluginName","468120BUkJYB","isVisible","init","10262064KEwYxY","get","isEnabled","928584hXuvUM","2396SOcQap","_createButton","exportWord","config","label","menuBar:exportWord","view","locale","4760337NJdACi","children","886QeoBtL","editor","focus","710AuWJrf","Export to Word","ExportWordUI","componentFactory","add","isBusy","1006SIXzCc","49NtMcYh","isOn","308AkwmIq","iconView","set","Exporting Word document","editing","listenTo","bind","1797426pmFMUW","commands"];return(x=function(){return t})()}!function(t){const e=I,n=t();for(;;)try{if(807063===-parseInt(e(153))/1*(-parseInt(e(144))/2)+parseInt(e(142))/3+-parseInt(e(134))/4*(-parseInt(e(147))/5)+parseInt(e(133))/6*(parseInt(e(154))/7)+-parseInt(e(130))/8+parseInt(e(163))/9+-parseInt(e(167))/10*(parseInt(e(156))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(x);class w extends t.Plugin{static get[g(166)](){return g(149)}[g(169)](){const t=g,n=this[t(145)];n.ui[t(150)][t(151)](t(136),(()=>{const r=t,o=n[r(164)][r(131)](r(136)),s=this[r(135)](e.ButtonView);return s[r(158)]({tooltip:!0}),s[r(162)](r(155)).to(o,r(152)),s})),n.ui[t(150)][t(151)](t(139),(()=>this[t(135)](e.MenuBarMenuListItemButtonView)))}[g(135)](t){const n=g,r=this[n(145)],o=r[n(137)][n(131)](n(136))||{},s=r[n(164)][n(131)](n(136)),i=new t(r[n(141)]),c=new e.SpinnerView;return i[n(143)][n(151)](c),c[n(162)](n(168)).to(s,n(152)),i[n(157)][n(162)](n(168)).to(s,n(152),(t=>!t)),i[n(158)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.826 16.843a.75.75 0 0 0-1.152-.96L15.5 17.29V12H14v5.29l-1.174-1.408a.75.75 0 0 0-1.152.96l2.346 2.816a.95.95 0 0 0 1.46 0l2.346-2.815Z"/><path d="m14 0 5 4.5v9.741a2.737 2.737 0 0 0-1.5-.617V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M3 17.5h6.746c.1.22.23.429.391.623l.731.877H3v-1.5Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.6.6 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001Z"/></svg>\n'}),i[n(162)](n(132)).to(s,n(132)),i[n(162)](n(138)).to(s,n(152),(t=>d(r[n(141)],n(t?159:148)))),this[n(161)](i,n(165),(()=>{const t=n;r[t(165)](t(136),o),r[t(160)][t(140)][t(146)]()})),i}}function v(){const t=["exportWord","564300Iogsal","8QKAKWe","commands","config","7610OpeNJq","pluginName","13233FzYSbY","372602QuNxjk","_token","requires","5PmBBvB","8431647ZBBOGE","CloudServices","tokenUrl","add","1061304iUrODE","1299978TEVHPd","get","178110IMWFUw","then","editor","plugins","registerTokenUrl","token","ExportWord","12vzYJwC","init"];return(v=function(){return t})()}const W=b;function b(t,e){const n=v();return(b=function(t,e){return n[t-=174]})(t,e)}!function(t){const e=b,n=t();for(;;)try{if(787432===-parseInt(e(184))/1+parseInt(e(195))/2+-parseInt(e(192))/3*(-parseInt(e(174))/4)+parseInt(e(187))/5*(-parseInt(e(193))/6)+parseInt(e(188))/7*(parseInt(e(178))/8)+-parseInt(e(177))/9+-parseInt(e(181))/10*(parseInt(e(183))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(v);class y extends t.Plugin{static get[W(182)](){return W(201)}static get[W(186)](){return[W(189),e.Notification,w]}[W(175)](){const t=W,e=this[t(197)],n=e[t(180)][t(194)](t(176))||{};e[t(179)][t(191)](t(176),new m(e));const r=e[t(198)][t(194)](t(189));!1===n[t(190)]?this[t(185)]=null:n[t(190)]?r[t(199)](n[t(190)])[t(196)]((e=>{this[t(185)]=e})):this[t(185)]=r[t(200)]}}function E(t,e){var n=k();return(E=function(t,e){return n[t-=155]})(t,e)}function k(){var t=["1503QEZVST","22972hTtnyN","3565045FiTNlQ","29720kiMajF","485NdVcwk","664EHmZbC","6PBXkrf","379934XGwOuw","3UQeBiE","2040400HZBtCQ","4133899hdqPtm"];return(k=function(){return t})()}!function(t){for(var e=E,n=t();;)try{if(344533===parseInt(e(161))/1+parseInt(e(163))/2*(-parseInt(e(164))/3)+parseInt(e(157))/4*(-parseInt(e(160))/5)+-parseInt(e(162))/6*(-parseInt(e(155))/7)+-parseInt(e(159))/8*(-parseInt(e(156))/9)+parseInt(e(165))/10+-parseInt(e(158))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(k)})(),(window.CKEditor5=window.CKEditor5||{}).exportWord=r})();
|
|
5
|
+
*/(()=>{var t={782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},584:(t,e,n)=>{t.exports=n(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var s=e[r]={exports:{}};return t[r](s,s.exports,n),s.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{ExportWord:()=>b});var t=n(782),e=n(311),o=n(584);function s(){const t=["get","users","entries","indexOf","join","getDataSetValues","name","7181991aCqWwf",":root","cssText","timeZone","652BZrXHV","getSuggestions","all","@external","getCommentThreads","27392rreesn","warn","TrackChanges","map","authorName","ownerNode","comments","push","22hwUBei","$defaultValues","author","cssRules","plugins","document","The editor stylesheet could not be found in the document. Check your webpack config – style-loader should use data-cke=true attribute for the editor stylesheet.","content","8gnWlLI","data","MergeFields","6445xZoAcZ","543336EWFngT","merge_fields","MergeFieldsEditing","91UpzCtc","language","data-cke","CommentsRepository","contentLanguage","$labels","createdAt","resolvedOptions","getLabel","length","collaboration_features","comment_threads","EDITOR_STYLES","DateTimeFormat","previewMode","254670jonhnJ","getDefaultValues","keys","styleSheets",".ck-content","trim","from","suggestions","3677870dXiIOz","706026kwLCsA","mergeFields","fetch","Users","has","timezone","then","isResolved","text","config","locale","hasAttribute"];return(s=function(){return t})()}function i(){const t=u,e=[],n=[];for(const r of Array[t(418)](document[t(415)]))if(r[t(379)][t(432)](t(399)))for(const o of Array[t(418)](r[t(385)]))-1!==o[t(442)][t(436)](t(416))?e[t(381)](o[t(442)]):-1!==o[t(442)][t(436)](t(441))&&n[t(381)](o[t(442)]);return e[t(406)]||console[t(375)](t(388)),[...n,...e][t(437)](" ")[t(417)]()}function c(t,e={}){const n=u,r=t[n(386)][n(425)](n(424)),o=t[n(386)][n(425)](n(400)),s=t[n(386)][n(425)](n(376)),i=e;if(r&&o){const e=function(t){const e=u,n={};if(!t[e(406)])return n;for(const r of t)r[e(380)][e(377)]((t=>{const o=e;void 0===n[r.id]&&(n[r.id]=[]),n[r.id][o(381)]({author:t[o(384)][o(439)],content:t[o(389)],created:t[o(403)],is_resolved:r[o(428)]})}));return n}(t[n(386)][n(433)](n(400))[n(373)]({skipNotAttached:!0,skipEmpty:!0}));Object[n(414)](e)[n(406)]&&(i[n(380)]=e)}if(r&&s){const e=t[n(386)][n(433)](n(376)),r=t[n(386)][n(433)](n(424)),o=function(t,e){const n=u,r={};if(!t[n(406)]||!e[n(406)])return r;for(const{id:o,createdAt:s,authorId:i,attributes:c}of t){const t=c&&c[n(372)],a=t?t[n(378)]:e[n(433)](i)[n(439)];r[o]={author:a,created:s}}return r}(e[n(445)]({toJSON:!0}),r[n(434)]);Object[n(414)](o)[n(406)]&&(i[n(419)]=o)}return(i[n(419)]||i[n(380)])&&(i[n(426)]=(new(Intl[n(410)]))[n(404)]()[n(443)]),i}function a(t,e={}){const n=u,r=t[n(386)][n(425)](n(424)),o=t[n(386)][n(425)](n(400)),s=t[n(386)][n(425)](n(376)),i=t[n(386)][n(425)](n(392)),c=t[n(431)][n(401)],a=e,d={};if(a[n(387)]=a[n(387)]||{},a[n(387)][n(398)]=a[n(387)][n(398)]||c,r&&o){const e=function(t){const e=u,n=[];if(!t[e(406)])return n;for(const r of t){const t=r[e(380)][e(377)]((t=>({author:t[e(384)][e(439)],content:t[e(389)],created_at:t[e(403)]})));n[e(381)]({thread_id:r.id,is_resolved:r[e(428)],comments:t})}return n}(t[n(386)][n(433)](n(400))[n(373)]({skipNotAttached:!0,skipEmpty:!0}));e[n(406)]&&(d[n(408)]=e)}if(r&&s){const e=t[n(386)][n(433)](n(376)),r=t[n(386)][n(433)](n(424)),o=function(t,e){const n=u;return t[n(406)]&&e[n(406)]?t[n(377)]((({id:t,createdAt:r,authorId:o,attributes:s})=>{const i=n,c=s&&s[i(372)];return{id:t,author:c?c[i(378)]:e[i(433)](o)[i(439)],created_at:r}})):[]}(e[n(445)]({toJSON:!0}),r[n(434)]);o[n(406)]&&(d[n(419)]=o)}if(i){const e=t[n(386)][n(433)](n(396)),r=e[n(411)],{prefix:o,suffix:s}=t[n(430)][n(433)](n(422));if(a[n(395)]={prefix:o,suffix:s},n(402)!==r){a[n(395)][n(391)]={};const t=n(383)===r?e[n(413)]():e[n(438)](r,!0);for(const r of Object[n(435)](t)){const[t,o]=r;a[n(395)][n(391)][t]=null!==o?o:e[n(405)](t)}}}return(d[n(408)]||d[n(419)])&&(a[n(426)]=(new(Intl[n(410)]))[n(404)]()[n(443)],a[n(407)]=d),a}function u(t,e){const n=s();return(u=function(t,e){return n[t-=371]})(t,e)}function d(t,e){const n=t.t;switch(e){case"Export to Word":return n("Export to Word");case"An error occurred while generating the Word file.":return n("An error occurred while generating the Word file.");case"Word document export started":return n("Word document export started");case"Word document export failed":return n("Word document export failed");case"Word document export successful":return n("Word document export successful");case"Exporting Word document":return n("Exporting Word document");default:return e}}!function(t){const e=u,n=t();for(;;)try{if(405169===-parseInt(e(394))/1+parseInt(e(374))/2+parseInt(e(421))/3+-parseInt(e(444))/4*(-parseInt(e(393))/5)+parseInt(e(412))/6*(parseInt(e(397))/7)+parseInt(e(390))/8*(-parseInt(e(440))/9)+-parseInt(e(420))/10*(-parseInt(e(382))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(s);const p=f;function f(t,e){const n=g();return(f=function(t,e){return n[t-=360]})(t,e)}!function(t){const e=f,n=t();for(;;)try{if(120770===parseInt(e(432))/1*(-parseInt(e(401))/2)+-parseInt(e(421))/3+parseInt(e(388))/4*(-parseInt(e(367))/5)+-parseInt(e(368))/6*(parseInt(e(390))/7)+parseInt(e(371))/8*(-parseInt(e(360))/9)+parseInt(e(413))/10+parseInt(e(384))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(g);const l=[p(380),p(434),p(419),p(418),p(379),p(411),p(369),p(415),p(363),p(414)];class h extends t.Command{constructor(t){const e=p;super(t),this[e(389)](e(375),!1),this[e(435)]=!1}[p(393)](){const t=p;this[t(398)]=!this[t(375)],this[t(441)]=this[t(375)]?t(404):void 0}[p(406)](t={}){const e=p,n=this[e(439)],r=t[e(431)]||2,s=1===r,f=t[e(385)]||e(s?397:426),h=t[e(378)]||{},g=n[e(364)][e(409)](e(396)),m=t[e(402)]||g[e(436)],I=!0===h[e(377)],x=t[e(427)]||(t=>t[e(374)][e(409)]({pagination:I}));return 2===r&&function(t){for(const e of l)if(void 0!==t[e])return!0;return!1}(h)&&(0,o.logWarning)(e(372)),this[e(375)]=!0,this[e(393)](),function(t){const e=u;if(!t)return new Promise((t=>t("")));const n=[];for(const r of t)e(409)!==r?n[e(381)](window[e(423)](r)[e(427)]((t=>t[e(429)]()))):n[e(381)](i());return Promise[e(371)](n)[e(427)]((t=>t[e(437)](" ")[e(417)]()))}(t[e(430)]||[e(366)])[e(407)]((async r=>{const o=e;n.ui[o(392)][o(405)](d(n[o(386)],o(428)));const i=await x(n),u={html:o(391)+n[o(386)][o(408)]+'">'+i+o(394),css:r,[o(s?387:399)]:{...h,...s?c(n,h):a(n,h)}},p={method:o(362),headers:{"Content-Type":o(433),Accept:o(373),...m?{Authorization:m[o(441)]}:null},body:JSON[o(381)](u)};return window[o(382)](f,p)[o(407)]((t=>{const e=o;if(200!==t[e(437)])throw t;return t[e(403)]()}))[o(407)]((e=>{const r=o;n.ui[r(392)][r(405)](d(n[r(386)],r(395)));const s=r(383)==typeof t[r(429)]?t[r(429)]():t[r(429)];this[r(420)](e,s||r(425))}))}))[e(376)]((t=>{const r=e,o=n[r(364)][r(409)](r(417));throw n.ui[r(392)][r(405)](d(n[r(386)],r(400)),{politeness:r(365)}),o[r(424)](d(n[r(386)],r(422))),t}))[e(370)]((()=>{const t=e;this[t(375)]=!1,this[t(393)]()}))}[p(420)](t,e){const n=p,r=document[n(416)]("a");r[n(440)]=window[n(410)][n(438)](t),r[n(423)]=e,r[n(361)](),r[n(412)]()}}function g(){const t=["https://docx-converter.cke-cs.com/v1/convert","isEnabled","config","Word document export failed","174nYICVI","token","blob","pending","announce","execute","then","contentLanguageDirection","get","URL","format","remove","171780StqUyE","suggestions","footer","createElement","Notification","margin_bottom","margin_right","_downloadFile","658815gGUHmM","An error occurred while generating the Word file.","download","showWarning","document.docx","https://docx-converter.cke-cs.com/v2/convert/html-docx","dataCallback","Word document export started","fileName","stylesheets","version","1028HUVsmW","application/json","margin_top","affectsData","_token","status","createObjectURL","editor","href","value","27YTdWvh","click","POST","comments","plugins","assertive","EDITOR_STYLES","370wjvIwC","18HYHaIJ","header","finally","474352gFUVxn","export-word-v1-api-is-deprecated","application/docx","data","isBusy","catch","auto_pagination","converterOptions","margin_left","orientation","stringify","fetch","function","9268644czHTPf","converterUrl","locale","options","9172ggPsGX","set","192283HDYLYY",'<div class="ck-content" dir="',"ariaLiveAnnouncer","refresh","</div>","Word document export successful","ExportWord"];return(g=function(){return t})()}const m=I;function I(t,e){const n=x();return(I=function(t,e){return n[t-=266]})(t,e)}function x(){const t=["pluginName","exportWord","ExportWordUI","set","menuBar:exportWord","isOfficialPlugin","602574dBpNzz","init","57DlYwfh","Export to Word","isBusy","view","1029105TMzWpx","editing","commands","children","iconView","listenTo","bind","316nbCfui","2451861xZNvBB","27685Ottbye","isEnabled","59110AwivzT","Exporting Word document","label","get","focus","config","59760AXJDwF","locale","isVisible","isPremiumPlugin","editor","isOn","_createButton","add","2517352RixtVH","execute","componentFactory"];return(x=function(){return t})()}!function(t){const e=I,n=t();for(;;)try{if(360871===-parseInt(e(272))/1+-parseInt(e(278))/2*(-parseInt(e(297))/3)+-parseInt(e(268))/4*(parseInt(e(270))/5)+parseInt(e(295))/6+parseInt(e(301))/7+parseInt(e(286))/8+-parseInt(e(269))/9)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(x);class v extends t.Plugin{static get[m(289)](){return m(291)}static get[m(294)](){return!0}static get[m(281)](){return!0}[m(296)](){const t=m,n=this[t(282)];n.ui[t(288)][t(285)](t(290),(()=>{const r=t,o=n[r(303)][r(275)](r(290)),s=this[r(284)](e.ButtonView);return s[r(292)]({tooltip:!0}),s[r(267)](r(283)).to(o,r(299)),s})),n.ui[t(288)][t(285)](t(293),(()=>this[t(284)](e.MenuBarMenuListItemButtonView)))}[m(284)](t){const n=m,r=this[n(282)],o=r[n(277)][n(275)](n(290))||{},s=r[n(303)][n(275)](n(290)),i=new t(r[n(279)]),c=new e.SpinnerView;return i[n(304)][n(285)](c),c[n(267)](n(280)).to(s,n(299)),i[n(305)][n(267)](n(280)).to(s,n(299),(t=>!t)),i[n(292)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.826 16.843a.75.75 0 0 0-1.152-.96L15.5 17.29V12H14v5.29l-1.174-1.408a.75.75 0 0 0-1.152.96l2.346 2.816a.95.95 0 0 0 1.46 0l2.346-2.815Z"/><path d="m14 0 5 4.5v9.741a2.737 2.737 0 0 0-1.5-.617V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M3 17.5h6.746c.1.22.23.429.391.623l.731.877H3v-1.5Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.6.6 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001Z"/></svg>\n'}),i[n(267)](n(271)).to(s,n(271)),i[n(267)](n(274)).to(s,n(299),(t=>d(r[n(279)],n(t?273:298)))),this[n(266)](i,n(287),(()=>{const t=n;r[t(287)](t(290),o),r[t(302)][t(300)][t(276)]()})),i}}const w=W;function W(t,e){const n=y();return(W=function(t,e){return n[t-=437]})(t,e)}function y(){const t=["tokenUrl","pluginName","add","1066568KyJMnX","_token","requires","581mblvMZ","exportWord","315080lGOyyx","isPremiumPlugin","editor","134772elIjhP","init","10MsuNwQ","then","6BRiAyC","plugins","commands","5399016MAejMB","get","ExportWord","token","95600eFfxKg","isOfficialPlugin","355394IyKbtk","1831844ERPcRg","324NKUcXE","CloudServices","1672utuAvl","config","registerTokenUrl"];return(y=function(){return t})()}!function(t){const e=W,n=t();for(;;)try{if(595530===-parseInt(e(440))/1+parseInt(e(450))/2*(-parseInt(e(462))/3)+-parseInt(e(441))/4*(parseInt(e(460))/5)+-parseInt(e(465))/6+-parseInt(e(453))/7*(-parseInt(e(438))/8)+parseInt(e(442))/9*(parseInt(e(455))/10)+parseInt(e(444))/11*(parseInt(e(458))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(y);class b extends t.Plugin{static get[w(448)](){return w(467)}static get[w(439)](){return!0}static get[w(456)](){return!0}static get[w(452)](){return[w(443),e.Notification,v]}[w(459)](){const t=w,e=this[t(457)],n=e[t(445)][t(466)](t(454))||{};e[t(464)][t(449)](t(454),new h(e));const r=e[t(463)][t(466)](t(443));!1===n[t(447)]?this[t(451)]=null:n[t(447)]?r[t(446)](n[t(447)])[t(461)]((e=>{this[t(451)]=e})):this[t(451)]=r[t(437)]}}function E(t,e){var n=A();return(E=function(t,e){return n[t-=166]})(t,e)}function A(){var t=["22Htxrvo","56982xcAtNJ","17965HwAQHN","4233564KABRMa","30ChdPAM","112mSKRQX","4514988uEPCGz","1146DKzVdc","2825496ryipmg","1022btlTqj","8240VTuBot","1082134MFvBWJ"];return(A=function(){return t})()}!function(t){for(var e=E,n=t();;)try{if(673216===parseInt(e(174))/1+-parseInt(e(168))/2*(-parseInt(e(176))/3)+parseInt(e(166))/4+parseInt(e(177))/5*(-parseInt(e(170))/6)+parseInt(e(172))/7*(-parseInt(e(173))/8)+-parseInt(e(171))/9*(parseInt(e(167))/10)+-parseInt(e(175))/11*(parseInt(e(169))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(A)})(),(window.CKEditor5=window.CKEditor5||{}).exportWord=r})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.af=o.af||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const t=o.ast=o.ast||{};t.dictionary=Object.assign(t.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.az=o.az||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.bs=o.bs||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const e=o["de-ch"]=o["de-ch"]||{};e.dictionary=Object.assign(e.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const e=o["en-gb"]=o["en-gb"]||{};e.dictionary=Object.assign(e.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const e=o.eo=o.eo||{};e.dictionary=Object.assign(e.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const e=o["es-co"]=o["es-co"]||{};e.dictionary=Object.assign(e.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const e=o.eu=o.eu||{};e.dictionary=Object.assign(e.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.fa=o.fa||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.gu=o.gu||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.hy=o.hy||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.kk=o.kk||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.km=o.km||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.kn=o.kn||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.ku=o.ku||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.nb=o.nb||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const e=o.ne=o.ne||{};e.dictionary=Object.assign(e.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.oc=o.oc||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.si=o.si||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.sl=o.sl||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.sq=o.sq||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const t=o.ti=o.ti||{};t.dictionary=Object.assign(t.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const t=o.tk=o.tk||{};t.dictionary=Object.assign(t.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const t=o.tt=o.tt||{};t.dictionary=Object.assign(t.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(o){const r=o.uz=o.uz||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while generating the Word file.":"","Export to Word":"","Exporting Word document":"","Word document export failed":"","Word document export started":"","Word document export successful":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/dist/exportword.d.ts
CHANGED
|
@@ -26,6 +26,14 @@ export default class ExportWord extends Plugin {
|
|
|
26
26
|
* @inheritDoc
|
|
27
27
|
*/
|
|
28
28
|
static get pluginName(): "ExportWord";
|
|
29
|
+
/**
|
|
30
|
+
* @inheritDoc
|
|
31
|
+
*/
|
|
32
|
+
static get isOfficialPlugin(): true;
|
|
33
|
+
/**
|
|
34
|
+
* @inheritDoc
|
|
35
|
+
*/
|
|
36
|
+
static get isPremiumPlugin(): true;
|
|
29
37
|
/**
|
|
30
38
|
* @inheritDoc
|
|
31
39
|
*/
|
|
@@ -249,6 +257,7 @@ export type ExportWordConverterOptionsV2 = {
|
|
|
249
257
|
extra_http_headers?: ExportWordConverterExtraHttpHeaders;
|
|
250
258
|
base_url?: string;
|
|
251
259
|
auto_pagination?: boolean;
|
|
260
|
+
watermark?: ExportWordConverterWatermarkV2;
|
|
252
261
|
};
|
|
253
262
|
export type ExportWordConverterDocumentOptionsV2 = {
|
|
254
263
|
margins?: ExportWordConverterMarginsOptionsV2;
|
|
@@ -268,6 +277,11 @@ export type ExportWordConverterHeaderFooterOptionsV2 = {
|
|
|
268
277
|
even?: ExportWordConverterHeaderFooterItemOptionsV2;
|
|
269
278
|
default?: ExportWordConverterHeaderFooterItemOptionsV2;
|
|
270
279
|
};
|
|
280
|
+
export type ExportWordConverterWatermarkV2 = {
|
|
281
|
+
source?: string;
|
|
282
|
+
width?: string;
|
|
283
|
+
height?: string;
|
|
284
|
+
};
|
|
271
285
|
/**
|
|
272
286
|
* If fetching some resources (e.g. images) used in a generated Word requires passing an additional
|
|
273
287
|
* authorization factor in the form of additional HTTP headers:
|
package/dist/exportwordui.d.ts
CHANGED
|
@@ -20,6 +20,14 @@ export default class ExportWordUI extends Plugin {
|
|
|
20
20
|
* @inheritDoc
|
|
21
21
|
*/
|
|
22
22
|
static get pluginName(): "ExportWordUI";
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get isOfficialPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static get isPremiumPlugin(): true;
|
|
23
31
|
/**
|
|
24
32
|
* @inheritDoc
|
|
25
33
|
*/
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x44df01,Plugin as _0x27b5de}from'@ckeditor/ckeditor5-core/dist/index.js';import{ButtonView as _0x1cf26,MenuBarMenuListItemButtonView as _0x4e5152,SpinnerView as _0x5332b8,Notification as _0x544167}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x2e651e}from'@ckeditor/ckeditor5-utils/dist/index.js';function f(){const _0x327a3b=[],_0x32ad61=[];for(const _0x3b96b8 of Array['from'](document['styleSheets'])){if(_0x3b96b8['ownerNode']['hasAttribute']('data-cke')){for(const _0x504ea1 of Array['from'](_0x3b96b8['cssRules']))-0x1!==_0x504ea1['cssText']['indexOf']('.ck-content')?_0x327a3b['push'](_0x504ea1['cssText']):-0x1!==_0x504ea1['cssText']['indexOf'](':root')&&_0x32ad61['push'](_0x504ea1['cssText']);}}return _0x327a3b['length']||console['warn']('The\x20editor\x20stylesheet\x20could\x20not\x20be\x20found\x20in\x20the\x20document.\x20Check\x20your\x20webpack\x20config\x20–\x20style-loader\x20should\x20use\x20data-cke=true\x20attribute\x20for\x20the\x20editor\x20stylesheet.'),[..._0x32ad61,..._0x327a3b]['join']('\x20')['trim']();}function a(_0x4ebcaa,_0x3a947f={}){const _0xf8a542=_0x4ebcaa['plugins']['has']('Users'),_0x5e1352=_0x4ebcaa['plugins']['has']('CommentsRepository'),_0x1a91de=_0x4ebcaa['plugins']['has']('TrackChanges'),_0x33b878=_0x3a947f;if(_0xf8a542&&_0x5e1352){const _0x30ada4=function(_0x4255ef){const _0x41486a={};if(!_0x4255ef['length'])return _0x41486a;for(const _0x15915a of _0x4255ef)_0x15915a['comments']['map'](_0x463b7b=>{void 0x0===_0x41486a[_0x15915a['id']]&&(_0x41486a[_0x15915a['id']]=[]),_0x41486a[_0x15915a['id']]['push']({'author':_0x463b7b['author']['name'],'content':_0x463b7b['content'],'created':_0x463b7b['createdAt'],'is_resolved':_0x15915a['isResolved']});});return _0x41486a;}(_0x4ebcaa['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x30ada4)['length']&&(_0x33b878['comments']=_0x30ada4);}if(_0xf8a542&&_0x1a91de){const _0x525a78=_0x4ebcaa['plugins']['get']('TrackChanges'),_0x4b43d8=_0x4ebcaa['plugins']['get']('Users'),_0xd0f04b=function(_0x119ba1,_0x27d0eb){const _0x44544c={};if(!_0x119ba1['length']||!_0x27d0eb['length'])return _0x44544c;for(const {id:_0x2adf13,createdAt:_0x356603,authorId:_0x2802fe,attributes:_0x30a562}of _0x119ba1){const _0x119815=_0x30a562&&_0x30a562['@external'],_0x3e7ce1=_0x119815?_0x119815['authorName']:_0x27d0eb['get'](_0x2802fe)['name'];_0x44544c[_0x2adf13]={'author':_0x3e7ce1,'created':_0x356603};}return _0x44544c;}(_0x525a78['getSuggestions']({'toJSON':!0x0}),_0x4b43d8['users']);Object['keys'](_0xd0f04b)['length']&&(_0x33b878['suggestions']=_0xd0f04b);}return(_0x33b878['suggestions']||_0x33b878['comments'])&&(_0x33b878['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x33b878;}function m(_0x309b49,_0x3d1e4a={}){const _0x27efcd=_0x309b49['plugins']['has']('Users'),_0x4a2863=_0x309b49['plugins']['has']('CommentsRepository'),_0x105949=_0x309b49['plugins']['has']('TrackChanges'),_0x745a77=_0x309b49['plugins']['has']('MergeFields'),_0xc5a8d2=_0x309b49['locale']['contentLanguage'],_0x4a7c0e=_0x3d1e4a,_0x55d076={};if(_0x4a7c0e['document']=_0x4a7c0e['document']||{},_0x4a7c0e['document']['language']=_0x4a7c0e['document']['language']||_0xc5a8d2,_0x27efcd&&_0x4a2863){const _0x173d10=function(_0x1ae39a){const _0x2c2294=[];if(!_0x1ae39a['length'])return _0x2c2294;for(const _0x1a6f1f of _0x1ae39a){const _0x5737eb=_0x1a6f1f['comments']['map'](_0x18624a=>({'author':_0x18624a['author']['name'],'content':_0x18624a['content'],'created_at':_0x18624a['createdAt']}));_0x2c2294['push']({'thread_id':_0x1a6f1f['id'],'is_resolved':_0x1a6f1f['isResolved'],'comments':_0x5737eb});}return _0x2c2294;}(_0x309b49['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x173d10['length']&&(_0x55d076['comment_threads']=_0x173d10);}if(_0x27efcd&&_0x105949){const _0x348d27=_0x309b49['plugins']['get']('TrackChanges'),_0xc616c0=_0x309b49['plugins']['get']('Users'),_0x5c1f97=function(_0x5f3326,_0x1162d1){if(!_0x5f3326['length']||!_0x1162d1['length'])return[];return _0x5f3326['map'](({id:_0x5906c0,createdAt:_0xed7dac,authorId:_0x1f92fe,attributes:_0x113650})=>{const _0x5e1c0c=_0x113650&&_0x113650['@external'];return{'id':_0x5906c0,'author':_0x5e1c0c?_0x5e1c0c['authorName']:_0x1162d1['get'](_0x1f92fe)['name'],'created_at':_0xed7dac};});}(_0x348d27['getSuggestions']({'toJSON':!0x0}),_0xc616c0['users']);_0x5c1f97['length']&&(_0x55d076['suggestions']=_0x5c1f97);}if(_0x745a77){const _0x80025d=_0x309b49['plugins']['get']('MergeFieldsEditing'),_0x2ffabd=_0x80025d['previewMode'],{prefix:_0x1dcc66,suffix:_0x3ce426}=_0x309b49['config']['get']('mergeFields');if(_0x4a7c0e['merge_fields']={'prefix':_0x1dcc66,'suffix':_0x3ce426},'$labels'!==_0x2ffabd){_0x4a7c0e['merge_fields']['data']={};const _0x2a34ac='$defaultValues'===_0x2ffabd?_0x80025d['getDefaultValues']():_0x80025d['getDataSetValues'](_0x2ffabd,!0x0);for(const _0x1d22cd of Object['entries'](_0x2a34ac)){const [_0x35df2f,_0x31f3c8]=_0x1d22cd;_0x4a7c0e['merge_fields']['data'][_0x35df2f]=null!==_0x31f3c8?_0x31f3c8:_0x80025d['getLabel'](_0x35df2f);}}}return(_0x55d076['comment_threads']||_0x55d076['suggestions'])&&(_0x4a7c0e['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x4a7c0e['collaboration_features']=_0x55d076),_0x4a7c0e;}function p(_0x339809,_0x2cb829){const t=_0x339809['t'];switch(_0x2cb829){case'Export\x20to\x20Word':return t('Export\x20to\x20Word');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.');case'Word\x20document\x20export\x20started':return t('Word\x20document\x20export\x20started');case'Word\x20document\x20export\x20failed':return t('Word\x20document\x20export\x20failed');case'Word\x20document\x20export\x20successful':return t('Word\x20document\x20export\x20successful');case'Exporting\x20Word\x20document':return t('Exporting\x20Word\x20document');default:return _0x2cb829;}}const h=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];class e extends _0x44df01{constructor(_0x47545a){super(_0x47545a),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x33ec47={}){const _0x4d90b1=this['editor'],_0x30ff13=_0x33ec47['version']||0x2,_0x432779=0x1===_0x30ff13,_0x107307=_0x33ec47['converterUrl']||(_0x432779?'https://docx-converter.cke-cs.com/v1/convert':'https://docx-converter.cke-cs.com/v2/convert/html-docx'),_0x59d6b3=_0x33ec47['converterOptions']||{},_0x5d46e1=_0x4d90b1['plugins']['get']('ExportWord'),_0x22251e=_0x33ec47['token']||_0x5d46e1['_token'],_0x2f1795=!0x0===_0x59d6b3['auto_pagination'],_0x5ca89c=_0x33ec47['dataCallback']||(_0x54e424=>_0x54e424['data']['get']({'pagination':_0x2f1795}));return 0x2===_0x30ff13&&function(_0x5f1cce){for(const _0x48fd2b of h)if(void 0x0!==_0x5f1cce[_0x48fd2b])return!0x0;return!0x1;}(_0x59d6b3)&&_0x2e651e('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),function(_0xacff00){if(!_0xacff00)return new Promise(_0x435f0a=>_0x435f0a(''));const _0x3718e7=[];for(const _0x209524 of _0xacff00)'EDITOR_STYLES'!==_0x209524?_0x3718e7['push'](window['fetch'](_0x209524)['then'](_0x5c47dd=>_0x5c47dd['text']())):_0x3718e7['push'](f());return Promise['all'](_0x3718e7)['then'](_0x5391f3=>_0x5391f3['join']('\x20')['trim']());}(_0x33ec47['stylesheets']||['EDITOR_STYLES'])['then'](async _0x1bd274=>{_0x4d90b1['ui']['ariaLiveAnnouncer']['announce'](p(_0x4d90b1['locale'],'Word\x20document\x20export\x20started'));const _0x49661b=await _0x5ca89c(_0x4d90b1),_0x158a12={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x4d90b1['locale']['contentLanguageDirection']+'\x22>'+_0x49661b+'</div>','css':_0x1bd274,[_0x432779?'options':'config']:{..._0x59d6b3,..._0x432779?a(_0x4d90b1,_0x59d6b3):m(_0x4d90b1,_0x59d6b3)}},_0x258aa7={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x22251e?{'Authorization':_0x22251e['value']}:null},'body':JSON['stringify'](_0x158a12)};return window['fetch'](_0x107307,_0x258aa7)['then'](_0x2ffe82=>{if(0xc8!==_0x2ffe82['status'])throw _0x2ffe82;return _0x2ffe82['blob']();})['then'](_0x4f69bb=>{_0x4d90b1['ui']['ariaLiveAnnouncer']['announce'](p(_0x4d90b1['locale'],'Word\x20document\x20export\x20successful'));const _0xf5cb17='function'==typeof _0x33ec47['fileName']?_0x33ec47['fileName']():_0x33ec47['fileName'];this['_downloadFile'](_0x4f69bb,_0xf5cb17||'document.docx');});})['catch'](_0x247f6e=>{const _0x20dbe3=_0x4d90b1['plugins']['get']('Notification');throw _0x4d90b1['ui']['ariaLiveAnnouncer']['announce'](p(_0x4d90b1['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x20dbe3['showWarning'](p(_0x4d90b1['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x247f6e;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x584c71,_0x2a2dc9){const _0x40de71=document['createElement']('a');_0x40de71['href']=window['URL']['createObjectURL'](_0x584c71),_0x40de71['download']=_0x2a2dc9,_0x40de71['click'](),_0x40de71['remove']();}}class i extends _0x27b5de{static get['pluginName'](){return'ExportWordUI';}['init'](){const _0x56323=this['editor'];_0x56323['ui']['componentFactory']['add']('exportWord',()=>{const _0x3a8a18=_0x56323['commands']['get']('exportWord'),_0x48b775=this['_createButton'](_0x1cf26);return _0x48b775['set']({'tooltip':!0x0}),_0x48b775['bind']('isOn')['to'](_0x3a8a18,'isBusy'),_0x48b775;}),_0x56323['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0x4e5152));}['_createButton'](_0x5a5dc1){const _0x5069f0=this['editor'],_0x3ce2c1=_0x5069f0['config']['get']('exportWord')||{},_0x4ed36b=_0x5069f0['commands']['get']('exportWord'),_0xb35d2f=new _0x5a5dc1(_0x5069f0['locale']),_0x75193c=new _0x5332b8();return _0xb35d2f['children']['add'](_0x75193c),_0x75193c['bind']('isVisible')['to'](_0x4ed36b,'isBusy'),_0xb35d2f['iconView']['bind']('isVisible')['to'](_0x4ed36b,'isBusy',_0x54f765=>!_0x54f765),_0xb35d2f['set']({'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M17.826\x2016.843a.75.75\x200\x200\x200-1.152-.96L15.5\x2017.29V12H14v5.29l-1.174-1.408a.75.75\x200\x200\x200-1.152.96l2.346\x202.816a.95.95\x200\x200\x200\x201.46\x200l2.346-2.815Z\x22/><path\x20d=\x22m14\x200\x205\x204.5v9.741a2.737\x202.737\x200\x200\x200-1.5-.617V6.5h-5v-5h-8v3H3V0h11Zm0\x202v3h3.3L14\x202Z\x22/><path\x20d=\x22M3\x2017.5h6.746c.1.22.23.429.391.623l.731.877H3v-1.5Z\x22/><path\x20d=\x22M8.5\x206a1.5\x201.5\x200\x200\x201\x201.493\x201.356L10\x207.5v7a1.5\x201.5\x200\x200\x201-1.356\x201.493L8.5\x2016h-7a1.5\x201.5\x200\x200\x201-1.493-1.356L0\x2014.5v-7a1.5\x201.5\x200\x200\x201\x201.356-1.493L1.5\x206h7ZM7.483\x208.795l-.042.088-.986\x202.534-.947-2.528-.043-.092a.601.601\x200\x200\x200-1.042.008l-.042.093-.883\x202.465-.937-2.475-.042-.089a.6.6\x200\x200\x200-1.107.42l.027.093\x201.514\x204\x20.044.092a.6.6\x200\x200\x200\x201.041-.01l.041-.092.88-2.458.925\x202.467.046.096a.6.6\x200\x200\x200\x201.032\x200l.043-.09\x201.554-4\x20.028-.093a.6.6\x200\x200\x200-1.104-.43v.001Z\x22/></svg>\x0a'}),_0xb35d2f['bind']('isEnabled')['to'](_0x4ed36b,'isEnabled'),_0xb35d2f['bind']('label')['to'](_0x4ed36b,'isBusy',_0x3da9b5=>p(_0x5069f0['locale'],_0x3da9b5?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0xb35d2f,'execute',()=>{_0x5069f0['execute']('exportWord',_0x3ce2c1),_0x5069f0['editing']['view']['focus']();}),_0xb35d2f;}}class s extends _0x27b5de{['_token'];static get['pluginName'](){return'ExportWord';}static get['requires'](){return['CloudServices',_0x544167,i];}['init'](){const _0x35ac6e=this['editor'],_0xf90929=_0x35ac6e['config']['get']('exportWord')||{};_0x35ac6e['commands']['add']('exportWord',new e(_0x35ac6e));const _0x1c7576=_0x35ac6e['plugins']['get']('CloudServices');!0x1===_0xf90929['tokenUrl']?this['_token']=null:_0xf90929['tokenUrl']?_0x1c7576['registerTokenUrl'](_0xf90929['tokenUrl'])['then'](_0x298700=>{this['_token']=_0x298700;}):this['_token']=_0x1c7576['token'];}}export{s as ExportWord};
|
|
23
|
+
import{Command as _0x221041,Plugin as _0x3a3b15}from'@ckeditor/ckeditor5-core/dist/index.js';import{ButtonView as _0x343912,MenuBarMenuListItemButtonView as _0x28467e,SpinnerView as _0x13eb3f,Notification as _0x2ccb23}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x1b1189}from'@ckeditor/ckeditor5-utils/dist/index.js';function f(){const _0x5f431d=[],_0x27a338=[];for(const _0x2d9a6d of Array['from'](document['styleSheets'])){if(_0x2d9a6d['ownerNode']['hasAttribute']('data-cke')){for(const _0x2f26a7 of Array['from'](_0x2d9a6d['cssRules']))-0x1!==_0x2f26a7['cssText']['indexOf']('.ck-content')?_0x5f431d['push'](_0x2f26a7['cssText']):-0x1!==_0x2f26a7['cssText']['indexOf'](':root')&&_0x27a338['push'](_0x2f26a7['cssText']);}}return _0x5f431d['length']||console['warn']('The\x20editor\x20stylesheet\x20could\x20not\x20be\x20found\x20in\x20the\x20document.\x20Check\x20your\x20webpack\x20config\x20–\x20style-loader\x20should\x20use\x20data-cke=true\x20attribute\x20for\x20the\x20editor\x20stylesheet.'),[..._0x27a338,..._0x5f431d]['join']('\x20')['trim']();}function a(_0xf2a23c,_0x5d06f5={}){const _0x40f962=_0xf2a23c['plugins']['has']('Users'),_0x37c3c6=_0xf2a23c['plugins']['has']('CommentsRepository'),_0x3875e5=_0xf2a23c['plugins']['has']('TrackChanges'),_0x20f5ce=_0x5d06f5;if(_0x40f962&&_0x37c3c6){const _0x1a22c8=function(_0x37747f){const _0x5de72e={};if(!_0x37747f['length'])return _0x5de72e;for(const _0x39c4f8 of _0x37747f)_0x39c4f8['comments']['map'](_0x3cd6cf=>{void 0x0===_0x5de72e[_0x39c4f8['id']]&&(_0x5de72e[_0x39c4f8['id']]=[]),_0x5de72e[_0x39c4f8['id']]['push']({'author':_0x3cd6cf['author']['name'],'content':_0x3cd6cf['content'],'created':_0x3cd6cf['createdAt'],'is_resolved':_0x39c4f8['isResolved']});});return _0x5de72e;}(_0xf2a23c['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x1a22c8)['length']&&(_0x20f5ce['comments']=_0x1a22c8);}if(_0x40f962&&_0x3875e5){const _0x1a7e21=_0xf2a23c['plugins']['get']('TrackChanges'),_0x502882=_0xf2a23c['plugins']['get']('Users'),_0x1e9004=function(_0xc1d2c9,_0x2619f7){const _0x40a454={};if(!_0xc1d2c9['length']||!_0x2619f7['length'])return _0x40a454;for(const {id:_0x258d99,createdAt:_0x36a491,authorId:_0x5a5e9b,attributes:_0x45623e}of _0xc1d2c9){const _0x2eb758=_0x45623e&&_0x45623e['@external'],_0x60fd69=_0x2eb758?_0x2eb758['authorName']:_0x2619f7['get'](_0x5a5e9b)['name'];_0x40a454[_0x258d99]={'author':_0x60fd69,'created':_0x36a491};}return _0x40a454;}(_0x1a7e21['getSuggestions']({'toJSON':!0x0}),_0x502882['users']);Object['keys'](_0x1e9004)['length']&&(_0x20f5ce['suggestions']=_0x1e9004);}return(_0x20f5ce['suggestions']||_0x20f5ce['comments'])&&(_0x20f5ce['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x20f5ce;}function m(_0x21ab09,_0x49cb72={}){const _0x4272fd=_0x21ab09['plugins']['has']('Users'),_0x323011=_0x21ab09['plugins']['has']('CommentsRepository'),_0x3edd69=_0x21ab09['plugins']['has']('TrackChanges'),_0x1567fa=_0x21ab09['plugins']['has']('MergeFields'),_0x5b7c36=_0x21ab09['locale']['contentLanguage'],_0x526ea5=_0x49cb72,_0xc256bd={};if(_0x526ea5['document']=_0x526ea5['document']||{},_0x526ea5['document']['language']=_0x526ea5['document']['language']||_0x5b7c36,_0x4272fd&&_0x323011){const _0x3bfc2c=function(_0x5d6922){const _0x59299e=[];if(!_0x5d6922['length'])return _0x59299e;for(const _0x478d8f of _0x5d6922){const _0x1a1fad=_0x478d8f['comments']['map'](_0x2ae99e=>({'author':_0x2ae99e['author']['name'],'content':_0x2ae99e['content'],'created_at':_0x2ae99e['createdAt']}));_0x59299e['push']({'thread_id':_0x478d8f['id'],'is_resolved':_0x478d8f['isResolved'],'comments':_0x1a1fad});}return _0x59299e;}(_0x21ab09['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x3bfc2c['length']&&(_0xc256bd['comment_threads']=_0x3bfc2c);}if(_0x4272fd&&_0x3edd69){const _0xab2c85=_0x21ab09['plugins']['get']('TrackChanges'),_0x148a48=_0x21ab09['plugins']['get']('Users'),_0x5a1b11=function(_0x17a99c,_0x20d586){if(!_0x17a99c['length']||!_0x20d586['length'])return[];return _0x17a99c['map'](({id:_0x1f2990,createdAt:_0x35cb2c,authorId:_0x2d9cbe,attributes:_0x5817b5})=>{const _0xf6cacb=_0x5817b5&&_0x5817b5['@external'];return{'id':_0x1f2990,'author':_0xf6cacb?_0xf6cacb['authorName']:_0x20d586['get'](_0x2d9cbe)['name'],'created_at':_0x35cb2c};});}(_0xab2c85['getSuggestions']({'toJSON':!0x0}),_0x148a48['users']);_0x5a1b11['length']&&(_0xc256bd['suggestions']=_0x5a1b11);}if(_0x1567fa){const _0x5969cb=_0x21ab09['plugins']['get']('MergeFieldsEditing'),_0x1d6b27=_0x5969cb['previewMode'],{prefix:_0x2d8c5d,suffix:_0x2d2f1a}=_0x21ab09['config']['get']('mergeFields');if(_0x526ea5['merge_fields']={'prefix':_0x2d8c5d,'suffix':_0x2d2f1a},'$labels'!==_0x1d6b27){_0x526ea5['merge_fields']['data']={};const _0x12f501='$defaultValues'===_0x1d6b27?_0x5969cb['getDefaultValues']():_0x5969cb['getDataSetValues'](_0x1d6b27,!0x0);for(const _0x1bd6a3 of Object['entries'](_0x12f501)){const [_0x14c44e,_0x26c031]=_0x1bd6a3;_0x526ea5['merge_fields']['data'][_0x14c44e]=null!==_0x26c031?_0x26c031:_0x5969cb['getLabel'](_0x14c44e);}}}return(_0xc256bd['comment_threads']||_0xc256bd['suggestions'])&&(_0x526ea5['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x526ea5['collaboration_features']=_0xc256bd),_0x526ea5;}function p(_0x3588aa,_0x588b5e){const t=_0x3588aa['t'];switch(_0x588b5e){case'Export\x20to\x20Word':return t('Export\x20to\x20Word');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.');case'Word\x20document\x20export\x20started':return t('Word\x20document\x20export\x20started');case'Word\x20document\x20export\x20failed':return t('Word\x20document\x20export\x20failed');case'Word\x20document\x20export\x20successful':return t('Word\x20document\x20export\x20successful');case'Exporting\x20Word\x20document':return t('Exporting\x20Word\x20document');default:return _0x588b5e;}}const h=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];class e extends _0x221041{constructor(_0x4d5234){super(_0x4d5234),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x52c1a6={}){const _0x3e7ace=this['editor'],_0x343681=_0x52c1a6['version']||0x2,_0x375071=0x1===_0x343681,_0x21473e=_0x52c1a6['converterUrl']||(_0x375071?'https://docx-converter.cke-cs.com/v1/convert':'https://docx-converter.cke-cs.com/v2/convert/html-docx'),_0x3690ad=_0x52c1a6['converterOptions']||{},_0x4c3ca4=_0x3e7ace['plugins']['get']('ExportWord'),_0x5e130b=_0x52c1a6['token']||_0x4c3ca4['_token'],_0x15d0ce=!0x0===_0x3690ad['auto_pagination'],_0x271471=_0x52c1a6['dataCallback']||(_0x1ff12e=>_0x1ff12e['data']['get']({'pagination':_0x15d0ce}));return 0x2===_0x343681&&function(_0x54e056){for(const _0x2d05cd of h)if(void 0x0!==_0x54e056[_0x2d05cd])return!0x0;return!0x1;}(_0x3690ad)&&_0x1b1189('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),function(_0x35b915){if(!_0x35b915)return new Promise(_0x4afd2f=>_0x4afd2f(''));const _0x16d27e=[];for(const _0x10ee80 of _0x35b915)'EDITOR_STYLES'!==_0x10ee80?_0x16d27e['push'](window['fetch'](_0x10ee80)['then'](_0x1057a3=>_0x1057a3['text']())):_0x16d27e['push'](f());return Promise['all'](_0x16d27e)['then'](_0x12f7e1=>_0x12f7e1['join']('\x20')['trim']());}(_0x52c1a6['stylesheets']||['EDITOR_STYLES'])['then'](async _0xbdc618=>{_0x3e7ace['ui']['ariaLiveAnnouncer']['announce'](p(_0x3e7ace['locale'],'Word\x20document\x20export\x20started'));const _0x587daa=await _0x271471(_0x3e7ace),_0x39d96a={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x3e7ace['locale']['contentLanguageDirection']+'\x22>'+_0x587daa+'</div>','css':_0xbdc618,[_0x375071?'options':'config']:{..._0x3690ad,..._0x375071?a(_0x3e7ace,_0x3690ad):m(_0x3e7ace,_0x3690ad)}},_0x212038={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x5e130b?{'Authorization':_0x5e130b['value']}:null},'body':JSON['stringify'](_0x39d96a)};return window['fetch'](_0x21473e,_0x212038)['then'](_0x397a4=>{if(0xc8!==_0x397a4['status'])throw _0x397a4;return _0x397a4['blob']();})['then'](_0x2514b1=>{_0x3e7ace['ui']['ariaLiveAnnouncer']['announce'](p(_0x3e7ace['locale'],'Word\x20document\x20export\x20successful'));const _0x5ba184='function'==typeof _0x52c1a6['fileName']?_0x52c1a6['fileName']():_0x52c1a6['fileName'];this['_downloadFile'](_0x2514b1,_0x5ba184||'document.docx');});})['catch'](_0x2693b2=>{const _0x296f93=_0x3e7ace['plugins']['get']('Notification');throw _0x3e7ace['ui']['ariaLiveAnnouncer']['announce'](p(_0x3e7ace['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x296f93['showWarning'](p(_0x3e7ace['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x2693b2;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x29aa05,_0x4ec13a){const _0x5bb62c=document['createElement']('a');_0x5bb62c['href']=window['URL']['createObjectURL'](_0x29aa05),_0x5bb62c['download']=_0x4ec13a,_0x5bb62c['click'](),_0x5bb62c['remove']();}}class o extends _0x3a3b15{static get['pluginName'](){return'ExportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x6ce51f=this['editor'];_0x6ce51f['ui']['componentFactory']['add']('exportWord',()=>{const _0x554dc9=_0x6ce51f['commands']['get']('exportWord'),_0x24a800=this['_createButton'](_0x343912);return _0x24a800['set']({'tooltip':!0x0}),_0x24a800['bind']('isOn')['to'](_0x554dc9,'isBusy'),_0x24a800;}),_0x6ce51f['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0x28467e));}['_createButton'](_0x5eedc3){const _0x8dc8ee=this['editor'],_0x16f053=_0x8dc8ee['config']['get']('exportWord')||{},_0x3fb84e=_0x8dc8ee['commands']['get']('exportWord'),_0x8315c1=new _0x5eedc3(_0x8dc8ee['locale']),_0x5e68b0=new _0x13eb3f();return _0x8315c1['children']['add'](_0x5e68b0),_0x5e68b0['bind']('isVisible')['to'](_0x3fb84e,'isBusy'),_0x8315c1['iconView']['bind']('isVisible')['to'](_0x3fb84e,'isBusy',_0x3c4318=>!_0x3c4318),_0x8315c1['set']({'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M17.826\x2016.843a.75.75\x200\x200\x200-1.152-.96L15.5\x2017.29V12H14v5.29l-1.174-1.408a.75.75\x200\x200\x200-1.152.96l2.346\x202.816a.95.95\x200\x200\x200\x201.46\x200l2.346-2.815Z\x22/><path\x20d=\x22m14\x200\x205\x204.5v9.741a2.737\x202.737\x200\x200\x200-1.5-.617V6.5h-5v-5h-8v3H3V0h11Zm0\x202v3h3.3L14\x202Z\x22/><path\x20d=\x22M3\x2017.5h6.746c.1.22.23.429.391.623l.731.877H3v-1.5Z\x22/><path\x20d=\x22M8.5\x206a1.5\x201.5\x200\x200\x201\x201.493\x201.356L10\x207.5v7a1.5\x201.5\x200\x200\x201-1.356\x201.493L8.5\x2016h-7a1.5\x201.5\x200\x200\x201-1.493-1.356L0\x2014.5v-7a1.5\x201.5\x200\x200\x201\x201.356-1.493L1.5\x206h7ZM7.483\x208.795l-.042.088-.986\x202.534-.947-2.528-.043-.092a.601.601\x200\x200\x200-1.042.008l-.042.093-.883\x202.465-.937-2.475-.042-.089a.6.6\x200\x200\x200-1.107.42l.027.093\x201.514\x204\x20.044.092a.6.6\x200\x200\x200\x201.041-.01l.041-.092.88-2.458.925\x202.467.046.096a.6.6\x200\x200\x200\x201.032\x200l.043-.09\x201.554-4\x20.028-.093a.6.6\x200\x200\x200-1.104-.43v.001Z\x22/></svg>\x0a'}),_0x8315c1['bind']('isEnabled')['to'](_0x3fb84e,'isEnabled'),_0x8315c1['bind']('label')['to'](_0x3fb84e,'isBusy',_0x40c0cf=>p(_0x8dc8ee['locale'],_0x40c0cf?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x8315c1,'execute',()=>{_0x8dc8ee['execute']('exportWord',_0x16f053),_0x8dc8ee['editing']['view']['focus']();}),_0x8315c1;}}class s extends _0x3a3b15{['_token'];static get['pluginName'](){return'ExportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['CloudServices',_0x2ccb23,o];}['init'](){const _0x245eeb=this['editor'],_0x1c4b38=_0x245eeb['config']['get']('exportWord')||{};_0x245eeb['commands']['add']('exportWord',new e(_0x245eeb));const _0x4ea658=_0x245eeb['plugins']['get']('CloudServices');!0x1===_0x1c4b38['tokenUrl']?this['_token']=null:_0x1c4b38['tokenUrl']?_0x4ea658['registerTokenUrl'](_0x1c4b38['tokenUrl'])['then'](_0x4623e8=>{this['_token']=_0x4623e8;}):this['_token']=_0x4ea658['token'];}}export{s as ExportWord};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export default{'af':{'dictionary':{'Export\x20to\x20Word':'','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'','Word\x20document\x20export\x20started':'','Word\x20document\x20export\x20failed':'','Word\x20document\x20export\x20successful':'','Exporting\x20Word\x20document':''},'getPluralForm':_0x5905ed=>0x1!=_0x5905ed}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x38b9b2=>{const {af:{dictionary:_0x1059ba,getPluralForm:_0x3d2177}}={'af':{'dictionary':{'Export\x20to\x20Word':'','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'','Word\x20document\x20export\x20started':'','Word\x20document\x20export\x20failed':'','Word\x20document\x20export\x20successful':'','Exporting\x20Word\x20document':''},'getPluralForm':_0x317e1e=>0x1!=_0x317e1e}};_0x38b9b2['af']||={'dictionary':{},'getPluralForm':null},_0x38b9b2['af']['dictionary']=Object['assign'](_0x38b9b2['af']['dictionary'],_0x1059ba),_0x38b9b2['af']['getPluralForm']=_0x3d2177;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Export\x20to\x20Word':'تصدير\x20إلى\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'حدث\x20خطأ\x20ما،\x20أثناء\x20استخراج\x20ملف\x20Word.','Word\x20document\x20export\x20started':'بدأ\x20تصدير\x20مستند\x20Word','Word\x20document\x20export\x20failed':'فشل\x20تصدير\x20مستند\x20Word','Word\x20document\x20export\x20successful':'تم\x20تصدير\x20مستند\x20Word\x20بنجاح','Exporting\x20Word\x20document':'تصدير\x20مستند\x20Word'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Export\x20to\x20Word':'تصدير\x20إلى\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'حدث\x20خطأ\x20ما،\x20أثناء\x20استخراج\x20ملف\x20Word.','Word\x20document\x20export\x20started':'بدأ\x20تصدير\x20مستند\x20Word','Word\x20document\x20export\x20failed':'فشل\x20تصدير\x20مستند\x20Word','Word\x20document\x20export\x20successful':'تم\x20تصدير\x20مستند\x20Word\x20بنجاح','Exporting\x20Word\x20document':'تصدير\x20مستند\x20Word'},'getPluralForm':_0x5296ee=>0x0==_0x5296ee?0x0:0x1==_0x5296ee?0x1:0x2==_0x5296ee?0x2:_0x5296ee%0x64>=0x3&&_0x5296ee%0x64<=0xa?0x3:_0x5296ee%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4860f7=>{const {ar:{dictionary:_0x2192f6,getPluralForm:_0xf5f9c2}}={'ar':{'dictionary':{'Export\x20to\x20Word':'تصدير\x20إلى\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'حدث\x20خطأ\x20ما،\x20أثناء\x20استخراج\x20ملف\x20Word.','Word\x20document\x20export\x20started':'بدأ\x20تصدير\x20مستند\x20Word','Word\x20document\x20export\x20failed':'فشل\x20تصدير\x20مستند\x20Word','Word\x20document\x20export\x20successful':'تم\x20تصدير\x20مستند\x20Word\x20بنجاح','Exporting\x20Word\x20document':'تصدير\x20مستند\x20Word'},'getPluralForm':_0x313ec9=>0x0==_0x313ec9?0x0:0x1==_0x313ec9?0x1:0x2==_0x313ec9?0x2:_0x313ec9%0x64>=0x3&&_0x313ec9%0x64<=0xa?0x3:_0x313ec9%0x64>=0xb?0x4:0x5}};_0x4860f7['ar']||={'dictionary':{},'getPluralForm':null},_0x4860f7['ar']['dictionary']=Object['assign'](_0x4860f7['ar']['dictionary'],_0x2192f6),_0x4860f7['ar']['getPluralForm']=_0xf5f9c2;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export default{'ast':{'dictionary':{'Export\x20to\x20Word':'','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'','Word\x20document\x20export\x20started':'','Word\x20document\x20export\x20failed':'','Word\x20document\x20export\x20successful':'','Exporting\x20Word\x20document':''},'getPluralForm':_0x4e7c74=>0x1!=_0x4e7c74}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x35fa32=>{const {ast:{dictionary:_0x45033f,getPluralForm:_0x3e0b0a}}={'ast':{'dictionary':{'Export\x20to\x20Word':'','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'','Word\x20document\x20export\x20started':'','Word\x20document\x20export\x20failed':'','Word\x20document\x20export\x20successful':'','Exporting\x20Word\x20document':''},'getPluralForm':_0x35c660=>0x1!=_0x35c660}};_0x35fa32['ast']||={'dictionary':{},'getPluralForm':null},_0x35fa32['ast']['dictionary']=Object['assign'](_0x35fa32['ast']['dictionary'],_0x45033f),_0x35fa32['ast']['getPluralForm']=_0x3e0b0a;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export default{'az':{'dictionary':{'Export\x20to\x20Word':'','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'','Word\x20document\x20export\x20started':'','Word\x20document\x20export\x20failed':'','Word\x20document\x20export\x20successful':'','Exporting\x20Word\x20document':''},'getPluralForm':_0x3fbe7b=>0x1!=_0x3fbe7b}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x228a76=>{const {az:{dictionary:_0x1a1028,getPluralForm:_0x4c81b2}}={'az':{'dictionary':{'Export\x20to\x20Word':'','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'','Word\x20document\x20export\x20started':'','Word\x20document\x20export\x20failed':'','Word\x20document\x20export\x20successful':'','Exporting\x20Word\x20document':''},'getPluralForm':_0x2ff49c=>0x1!=_0x2ff49c}};_0x228a76['az']||={'dictionary':{},'getPluralForm':null},_0x228a76['az']['dictionary']=Object['assign'](_0x228a76['az']['dictionary'],_0x1a1028),_0x228a76['az']['getPluralForm']=_0x4c81b2;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bg':{'dictionary':{'Export\x20to\x20Word':'Експорт\x20към\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20генериране\x20на\x20файл\x20в\x20Word.','Word\x20document\x20export\x20started':'Започнато\x20прехвърляне\x20на\x20документ\x20от\x20Word','Word\x20document\x20export\x20failed':'Неуспешно\x20прехвърляне\x20на\x20документ\x20от\x20Word','Word\x20document\x20export\x20successful':'Прехвърлянето\x20на\x20документ\x20от\x20Word\x20е\x20успешно','Exporting\x20Word\x20document':'Прехвърляне\x20на\x20документ\x20в\x20Word'},'getPluralForm':
|
|
23
|
+
export default{'bg':{'dictionary':{'Export\x20to\x20Word':'Експорт\x20към\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20генериране\x20на\x20файл\x20в\x20Word.','Word\x20document\x20export\x20started':'Започнато\x20прехвърляне\x20на\x20документ\x20от\x20Word','Word\x20document\x20export\x20failed':'Неуспешно\x20прехвърляне\x20на\x20документ\x20от\x20Word','Word\x20document\x20export\x20successful':'Прехвърлянето\x20на\x20документ\x20от\x20Word\x20е\x20успешно','Exporting\x20Word\x20document':'Прехвърляне\x20на\x20документ\x20в\x20Word'},'getPluralForm':_0x2277ed=>0x1!=_0x2277ed}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1f7561=>{const {bg:{dictionary:_0x2e3419,getPluralForm:_0x43a35c}}={'bg':{'dictionary':{'Export\x20to\x20Word':'Експорт\x20към\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20генериране\x20на\x20файл\x20в\x20Word.','Word\x20document\x20export\x20started':'Започнато\x20прехвърляне\x20на\x20документ\x20от\x20Word','Word\x20document\x20export\x20failed':'Неуспешно\x20прехвърляне\x20на\x20документ\x20от\x20Word','Word\x20document\x20export\x20successful':'Прехвърлянето\x20на\x20документ\x20от\x20Word\x20е\x20успешно','Exporting\x20Word\x20document':'Прехвърляне\x20на\x20документ\x20в\x20Word'},'getPluralForm':_0x32b6cb=>0x1!=_0x32b6cb}};_0x1f7561['bg']||={'dictionary':{},'getPluralForm':null},_0x1f7561['bg']['dictionary']=Object['assign'](_0x1f7561['bg']['dictionary'],_0x2e3419),_0x1f7561['bg']['getPluralForm']=_0x43a35c;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Export\x20to\x20Word':'Word\x20এ\x20রপ্তানি\x20করুন','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Word\x20এ\x20ফাইল\x20তৈরি\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20হয়েছে।','Word\x20document\x20export\x20started':'ওয়ার্ড\x20ডকুমেন্ট\x20এক্সপোর্ট\x20শুরু\x20হয়েছে','Word\x20document\x20export\x20failed':'ওয়ার্ড\x20ডকুমেন্ট\x20এক্সপোর্ট\x20ব্যর্থ\x20হয়েছে','Word\x20document\x20export\x20successful':'ওয়ার্ড\x20ডকুমেন্ট\x20এক্সপোর্ট\x20সফল\x20হয়েছে','Exporting\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20এক্সপোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Export\x20to\x20Word':'Word\x20এ\x20রপ্তানি\x20করুন','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Word\x20এ\x20ফাইল\x20তৈরি\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20হয়েছে।','Word\x20document\x20export\x20started':'ওয়ার্ড\x20ডকুমেন্ট\x20এক্সপোর্ট\x20শুরু\x20হয়েছে','Word\x20document\x20export\x20failed':'ওয়ার্ড\x20ডকুমেন্ট\x20এক্সপোর্ট\x20ব্যর্থ\x20হয়েছে','Word\x20document\x20export\x20successful':'ওয়ার্ড\x20ডকুমেন্ট\x20এক্সপোর্ট\x20সফল\x20হয়েছে','Exporting\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20এক্সপোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':_0x801338=>0x1!=_0x801338}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3f50e8=>{const {bn:{dictionary:_0x5d3215,getPluralForm:_0x2d389e}}={'bn':{'dictionary':{'Export\x20to\x20Word':'Word\x20এ\x20রপ্তানি\x20করুন','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Word\x20এ\x20ফাইল\x20তৈরি\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20হয়েছে।','Word\x20document\x20export\x20started':'ওয়ার্ড\x20ডকুমেন্ট\x20এক্সপোর্ট\x20শুরু\x20হয়েছে','Word\x20document\x20export\x20failed':'ওয়ার্ড\x20ডকুমেন্ট\x20এক্সপোর্ট\x20ব্যর্থ\x20হয়েছে','Word\x20document\x20export\x20successful':'ওয়ার্ড\x20ডকুমেন্ট\x20এক্সপোর্ট\x20সফল\x20হয়েছে','Exporting\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20এক্সপোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':_0x4d128a=>0x1!=_0x4d128a}};_0x3f50e8['bn']||={'dictionary':{},'getPluralForm':null},_0x3f50e8['bn']['dictionary']=Object['assign'](_0x3f50e8['bn']['dictionary'],_0x5d3215),_0x3f50e8['bn']['getPluralForm']=_0x2d389e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|