jodit 4.13.9 → 4.13.11
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/CHANGELOG.md +20 -0
- package/README.md +27 -19
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +14 -14
- package/es2015/jodit.js +155 -89
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +9 -9
- package/es2015/plugins/debug/debug.css +1 -1
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +36 -13
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +7 -7
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +9 -9
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +31 -31
- package/es2021/jodit.js +155 -89
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +31 -31
- package/es2021/plugins/debug/debug.css +1 -1
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +36 -13
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +7 -7
- package/es2021.en/jodit.js +14 -4
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +7 -7
- package/es2021.en/plugins/debug/debug.css +1 -1
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +3 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +155 -89
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +36 -13
- package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/langs/ar.d.ts +1 -0
- package/esm/langs/ar.js +1 -0
- package/esm/langs/cs_cz.d.ts +1 -0
- package/esm/langs/cs_cz.js +1 -0
- package/esm/langs/de.d.ts +1 -0
- package/esm/langs/de.js +1 -0
- package/esm/langs/es.d.ts +1 -0
- package/esm/langs/es.js +1 -0
- package/esm/langs/fa.d.ts +214 -0
- package/esm/langs/fa.js +1 -0
- package/esm/langs/fi.d.ts +1 -0
- package/esm/langs/fi.js +1 -0
- package/esm/langs/fr.d.ts +1 -0
- package/esm/langs/fr.js +2 -1
- package/esm/langs/he.d.ts +1 -0
- package/esm/langs/he.js +1 -0
- package/esm/langs/hu.d.ts +1 -0
- package/esm/langs/hu.js +1 -0
- package/esm/langs/id.d.ts +1 -0
- package/esm/langs/id.js +1 -0
- package/esm/langs/it.d.ts +1 -0
- package/esm/langs/it.js +1 -0
- package/esm/langs/ja.d.ts +1 -0
- package/esm/langs/ja.js +1 -0
- package/esm/langs/ko.d.ts +1 -0
- package/esm/langs/ko.js +1 -0
- package/esm/langs/mn.d.ts +1 -0
- package/esm/langs/mn.js +1 -0
- package/esm/langs/nl.d.ts +1 -0
- package/esm/langs/nl.js +1 -0
- package/esm/langs/no.d.ts +1 -0
- package/esm/langs/no.js +1 -0
- package/esm/langs/pl.d.ts +1 -0
- package/esm/langs/pl.js +1 -0
- package/esm/langs/pt_br.d.ts +1 -0
- package/esm/langs/pt_br.js +1 -0
- package/esm/langs/ru.d.ts +1 -0
- package/esm/langs/ru.js +1 -0
- package/esm/langs/sk.d.ts +214 -0
- package/esm/langs/sk.js +228 -0
- package/esm/langs/sv.d.ts +222 -0
- package/esm/langs/sv.js +6 -0
- package/esm/langs/tr.d.ts +1 -0
- package/esm/langs/tr.js +1 -0
- package/esm/langs/ua.d.ts +1 -0
- package/esm/langs/ua.js +1 -0
- package/esm/langs/zh_cn.d.ts +1 -0
- package/esm/langs/zh_cn.js +1 -0
- package/esm/langs/zh_tw.d.ts +1 -0
- package/esm/langs/zh_tw.js +1 -0
- package/esm/languages.js +6 -0
- package/esm/modules/file-browser/listeners/self-listeners.js +1 -1
- package/esm/plugins/line-height/langs/index.d.ts +2 -1
- package/esm/plugins/line-height/langs/index.js +2 -1
- package/esm/plugins/line-height/langs/sk.d.ts +4 -0
- package/esm/plugins/line-height/langs/sk.js +9 -0
- package/esm/plugins/speech-recognize/langs/index.d.ts +2 -1
- package/esm/plugins/speech-recognize/langs/index.js +2 -1
- package/esm/plugins/speech-recognize/langs/sk.d.ts +9 -0
- package/esm/plugins/speech-recognize/langs/sk.js +14 -0
- package/esm/plugins/spellcheck/langs/index.d.ts +2 -1
- package/esm/plugins/spellcheck/langs/index.js +2 -1
- package/esm/plugins/spellcheck/langs/sk.d.ts +1 -0
- package/esm/plugins/spellcheck/langs/sk.js +9 -0
- package/package.json +5 -1
- package/types/langs/ar.d.ts +1 -0
- package/types/langs/cs_cz.d.ts +1 -0
- package/types/langs/de.d.ts +1 -0
- package/types/langs/es.d.ts +1 -0
- package/types/langs/fa.d.ts +214 -0
- package/types/langs/fi.d.ts +1 -0
- package/types/langs/fr.d.ts +1 -0
- package/types/langs/he.d.ts +1 -0
- package/types/langs/hu.d.ts +1 -0
- package/types/langs/id.d.ts +1 -0
- package/types/langs/it.d.ts +1 -0
- package/types/langs/ja.d.ts +1 -0
- package/types/langs/ko.d.ts +1 -0
- package/types/langs/mn.d.ts +1 -0
- package/types/langs/nl.d.ts +1 -0
- package/types/langs/no.d.ts +1 -0
- package/types/langs/pl.d.ts +1 -0
- package/types/langs/pt_br.d.ts +1 -0
- package/types/langs/ru.d.ts +1 -0
- package/types/langs/sk.d.ts +214 -0
- package/types/langs/sv.d.ts +222 -0
- package/types/langs/tr.d.ts +1 -0
- package/types/langs/ua.d.ts +1 -0
- package/types/langs/zh_cn.d.ts +1 -0
- package/types/langs/zh_tw.d.ts +1 -0
- package/types/plugins/line-height/langs/index.d.ts +2 -1
- package/types/plugins/line-height/langs/sk.d.ts +4 -0
- package/types/plugins/speech-recognize/langs/index.d.ts +2 -1
- package/types/plugins/speech-recognize/langs/sk.d.ts +9 -0
- package/types/plugins/spellcheck/langs/index.d.ts +2 -1
- package/types/plugins/spellcheck/langs/sk.d.ts +1 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
4
|
-
* Version: v4.13.
|
|
4
|
+
* Version: v4.13.11
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -761,10 +761,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
761
761
|
/* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_16__; },
|
|
762
762
|
/* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_17__; },
|
|
763
763
|
/* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_18__; },
|
|
764
|
-
/* harmony export */
|
|
765
|
-
/* harmony export */
|
|
766
|
-
/* harmony export */
|
|
767
|
-
/* harmony export */
|
|
764
|
+
/* harmony export */ sk: function() { return /* reexport module object */ _sk_js__WEBPACK_IMPORTED_MODULE_19__; },
|
|
765
|
+
/* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_20__; },
|
|
766
|
+
/* harmony export */ ua: function() { return /* reexport module object */ _ua_js__WEBPACK_IMPORTED_MODULE_21__; },
|
|
767
|
+
/* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_22__; },
|
|
768
|
+
/* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_23__; }
|
|
768
769
|
/* harmony export */ });
|
|
769
770
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19922);
|
|
770
771
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -804,14 +805,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
804
805
|
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
805
806
|
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(39996);
|
|
806
807
|
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_18__);
|
|
807
|
-
/* harmony import */ var
|
|
808
|
-
/* harmony import */ var
|
|
809
|
-
/* harmony import */ var
|
|
810
|
-
/* harmony import */ var
|
|
811
|
-
/* harmony import */ var
|
|
812
|
-
/* harmony import */ var
|
|
813
|
-
/* harmony import */ var
|
|
814
|
-
/* harmony import */ var
|
|
808
|
+
/* harmony import */ var _sk_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(62415);
|
|
809
|
+
/* harmony import */ var _sk_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_sk_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
810
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(93423);
|
|
811
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_20__);
|
|
812
|
+
/* harmony import */ var _ua_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(10179);
|
|
813
|
+
/* harmony import */ var _ua_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(_ua_js__WEBPACK_IMPORTED_MODULE_21__);
|
|
814
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(62547);
|
|
815
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_22__);
|
|
816
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(29475);
|
|
817
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_23__);
|
|
815
818
|
/*!
|
|
816
819
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
817
820
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -841,6 +844,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
841
844
|
|
|
842
845
|
|
|
843
846
|
|
|
847
|
+
|
|
844
848
|
|
|
845
849
|
|
|
846
850
|
/***/ }),
|
|
@@ -1014,6 +1018,25 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1014
1018
|
};
|
|
1015
1019
|
|
|
1016
1020
|
|
|
1021
|
+
/***/ }),
|
|
1022
|
+
|
|
1023
|
+
/***/ 62415:
|
|
1024
|
+
/***/ (function(module) {
|
|
1025
|
+
|
|
1026
|
+
/*!
|
|
1027
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
1028
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
1029
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
1030
|
+
*/ module.exports = {
|
|
1031
|
+
newline: 'nový riadok',
|
|
1032
|
+
delete: 'vymazať',
|
|
1033
|
+
space: 'medzera',
|
|
1034
|
+
'Speech Recognize': 'Rozpoznávanie reči',
|
|
1035
|
+
Sound: 'Zvuk',
|
|
1036
|
+
'Interim Results': 'Predbežné výsledky'
|
|
1037
|
+
};
|
|
1038
|
+
|
|
1039
|
+
|
|
1017
1040
|
/***/ }),
|
|
1018
1041
|
|
|
1019
1042
|
/***/ 93423:
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
4
|
-
* Version: v4.13.
|
|
4
|
+
* Version: v4.13.11
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
8
|
-
!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var t=n();for(var i in t)("object"==typeof exports?exports:e)[i]=t[i]}}(self,function(){return(self.webpackChunkjodit=self.webpackChunkjodit||[]).push([[882],{75143:function(e,n,t){"use strict";var i=t(22289),o=t(85932),s=t(7909),r=t(36400),u=t(29434),c=t(5266),a=t(97743),l=t(68097),p=t(22227),d=t.n(p);c.Config.prototype.speechRecognize={api:void 0!==a.SpeechRecognition?a.SpeechRecognition:null,sound:!0,continuous:!1,interimResults:!0,commands:{"newline|enter":"enter","delete|remove word|delete word":"backspaceWordButton",comma:"inserthtml::,",underline:"inserthtml::_",hyphen:"inserthtml::-",space:"inserthtml:: ",question:"inserthtml::?",dot:"inserthtml::.","quote|quotes|open quote":"inserthtml::'","header|header h1":"formatblock::h1","select all":"selectall"}},u.Icon.set("speech-recognize",d()),c.Config.prototype.controls.speechRecognize={isVisible:function(e){return!!e.o.speechRecognize.api},isActive:function(e,n){var t=(0,r.dataBind)(e,"speech");return!!(null==t?void 0:t.isEnabled)},isDisabled:function(e){return!e.o.speechRecognize.api},exec:function(e,n,t){var u=t.button,c=t.control,a=e.o.speechRecognize,p=a.api,d=a.lang,h=a.continuous,f=a.interimResults,m=a.sound;if(!p)return void e.alert("Speech recognize API unsupported in your browser");var _=(0,r.dataBind)(e,"speech");if(!_){var g,R=new p;(_=new l.RecognizeManager(e.async,R)).lang=(0,o.isString)(d)?d:null!=(g=(0,s.attr)(e.od.documentElement,"lang"))?g:void 0,_.continuous=h,_.interimResults=f,_.sound=m,(0,r.dataBind)(e,"speech",_),_.on("pulse",function(e){u.setMod("pulse",e)}),_.on("result",function(n){return e.e.fire("speechRecognizeResult",n)}),_.on("progress",function(n){return e.e.fire("speechRecognizeProgressResult",n)}),_.on("error",function(n){return e.message.error(n)}),e.hookStatus("beforeDestruct",function(){(0,r.dataBind)(e,"speech",null),_.destruct()})}if(c.args){var v=c.args[0];if((0,i.isBoolean)(_[v])){_[v]=!_[v],_.isEnabled&&_.restart();return}}_.toggle(),_.isEnabled&&u.setMod("pulse",!0),u.state.activated=_.isEnabled},name:"speechRecognize",command:"toggleSpeechRecognize",tooltip:"Speech Recognize",list:{sound:"Sound",interimResults:"Interim Results"},childTemplate:function(e,n,t){var i,o=(0,r.dataBind)(e,"speech"),s=null!=(i=null==o?void 0:o[n])?i:e.o.speechRecognize[n];return"<span class='jodit-speech-recognize__list-item'><input ".concat(s?"checked":""," class='jodit-checkbox' type='checkbox'> ").concat(t,"</span>")},mods:{stroke:!1}}},94092:function(e,n,t){"use strict";t.d(n,{PII:function(){return i},WARN:function(){return o}});var i=440,o=940},97743:function(e,n,t){"use strict";t.d(n,{SpeechRecognition:function(){return o}});var i=t(81937),o=i.globalWindow?i.globalWindow.SpeechRecognition||i.globalWindow.webkitSpeechRecognition:void 0},8962:function(e,n,t){"use strict";t.d(n,{execSpellCommand:function(){return o}});var i=t(50684);function o(e,n){var t=(0,i._)(n.split("::"),2),o=t[0],s=t[1];"open"===o.toLowerCase()&&s&&/^(javascript:|data:|vbscript:)/i.test(s.trim())||e.execCommand(o,null,s)}},68097:function(e,n,t){"use strict";t.d(n,{RecognizeManager:function(){return m}});var i=t(69262),o=t(73104),s=t(53429),r=t(25045),u=t(22248),c=t(66773),a=t(34918),l=t(31635),p=t(84839),d=t(60216),h=t(32560),f=t(94092),m=function(e){function n(e,t){var s;return(0,o._)(this,n),s=(0,i._)(this,n),(0,r._)(s,"async",void 0),(0,r._)(s,"_lang",void 0),(0,r._)(s,"_continuous",void 0),(0,r._)(s,"_interimResults",void 0),(0,r._)(s,"sound",void 0),(0,r._)(s,"_isEnabled",void 0),(0,r._)(s,"_restartTimeout",void 0),(0,r._)(s,"_onSpeechStart",void 0),(0,r._)(s,"_api",void 0),(0,r._)(s,"__interimResults",void 0),s.async=e,s._continuous=!1,s._interimResults=!1,s.sound=!0,s._isEnabled=!1,s._restartTimeout=0,s._onSpeechStart=function(e){s._isEnabled&&(s.async.clearTimeout(s._restartTimeout),s._restartTimeout=s.async.setTimeout(function(){s.restart(),s.emit("pulse",!1),s._makeSound(f.WARN)},5e3),s.emit("pulse",!0))},s.__interimResults="",s._api=t,n._instances.add(s),s}return(0,a._)(n,e),(0,s._)(n,[{key:"lang",get:function(){return this._lang},set:function(e){this._lang=e,this._api.lang=e}},{key:"continuous",get:function(){return this._continuous},set:function(e){this._continuous=e,this._api.continuous=e}},{key:"interimResults",get:function(){return this._interimResults},set:function(e){this._interimResults=e,this._api.interimResults=e}},{key:"destruct",value:function(){this.stop(),(0,h.closeSound)(this),n._instances.delete(this),(0,u._)((0,c._)(n.prototype),"destruct",this).call(this)}},{key:"isEnabled",get:function(){return this._isEnabled}},{key:"start",value:function(){var e=this;if(!this._isEnabled){this._isEnabled=!0,n._instances.forEach(function(n){n!==e&&n.stop()});try{this._api.start()}catch(e){this._onError(e),this.stop();return}this.__on("speechstart",this._onSpeechStart).__on("error",this._onError).__on("result",this._onProgress).__on("end",this._onResults)}}},{key:"stop",value:function(){this._isEnabled&&(this._api.abort(),this._api.stop(),this.__off("speechstart",this._onSpeechStart).__off("error",this._onError).__off("result",this._onProgress).__off("end",this._onResults),this.async.clearTimeout(this._restartTimeout),this._isEnabled=!1,this.emit("pulse",!1))}},{key:"toggle",value:function(){this._isEnabled?this.stop():this.start()}},{key:"restart",value:function(){this.stop(),this.start()}},{key:"__on",value:function(e,n){return this._api.addEventListener(e,n),this}},{key:"__off",value:function(e,n){return this._api.removeEventListener(e,n),this}},{key:"_onResults",value:function(e){this.emit("pulse",!1),this.emit("result",this.__interimResults),this.__interimResults="",this._makeSound(f.PII),this.restart()}},{key:"_onProgress",value:function(e){if(this._isEnabled&&(this.__interimResults="",e.results)){for(var n=0;n<e.results.length;n++){var t=e.results.item(n);if(t.length){var i=t.item(0).transcript;this.__interimResults+=i}}this.__interimResults&&this.emit("progress",this.__interimResults)}}},{key:"_onError",value:function(e){"voice-unavailable"===e.error&&this.emit("error","Voice unavailable"),"not-allowed"===e.error&&this.emit("error","Not allowed"),("language-unavailable"===e.error||"language-not-supported"===e.error)&&this.emit("error","Language unavailable"),this._makeSound(f.WARN),this.emit("pulse",!1),this.stop()}},{key:"_makeSound",value:function(e){this.sound&&(0,h.sound)(this,{frequency:e})}}]),n}(d.Eventify);(0,r._)(m,"_instances",new Set),(0,l.__decorate)([p.autobind],m.prototype,"_onResults",null),(0,l.__decorate)([p.autobind],m.prototype,"_onProgress",null),(0,l.__decorate)([p.autobind],m.prototype,"_onError",null)},32560:function(e,n,t){"use strict";t.d(n,{closeSound:function(){return u},sound:function(){return r}});var i=t(81937),o=t(94092),s=new WeakMap;function r(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.sec,r=n.frequency,u=void 0===r?o.PII:r,c=n.gain,a=n.type,l=function(e){if(!i.globalWindow)return null;var n=s.get(e);if(n&&"closed"!==n.state)return n;var t=i.globalWindow.AudioContext||i.globalWindow.webkitAudioContext;if(!t)return null;var o=new t;return s.set(e,o),o}(e);if(l){var p=l.createGain(),d=l.createOscillator();d.type=void 0===a?"sine":a,d.frequency.value=u,p.gain.value=void 0===c?.1:c,d.connect(p),p.connect(l.destination),d.start(),d.stop(l.currentTime+(void 0===t?.1:t))}}function u(e){var n=s.get(e);n&&(s.delete(e),"closed"!==n.state&&n.close())}},19922:function(e){e.exports={newline:"الخط الجديد",delete:"حذف",space:"الفضاء","Speech Recognize":"التعرف على الكلام",Sound:"الصوت","Interim Results":"النتائج المؤقتة"}},20759:function(e){e.exports={newline:"ř\xe1dek",delete:"odstranit",space:"prostora","Speech Recognize":"Rozpozn\xe1n\xed Řeči",Sound:"Zvuk","Interim Results":"Průběžn\xe9 V\xfdsledky"}},22350:function(e){e.exports={newline:"Zeilenumbruch",delete:"l\xf6schen",space:"Raum","Speech Recognize":"Sprache Erkennen",Sound:"Sound","Interim Results":"Zwischenergebnis"}},97509:function(e){e.exports={newline:"nueva l\xednea",delete:"eliminar",space:"espacio","Speech Recognize":"Reconocimiento de Voz",Sound:"Sonido","Interim Results":"Resultados Provisionales"}},49668:function(e){e.exports={newline:"خط جدید",delete:"حذف",space:"فضا","Speech Recognize":"گفتار را تشخیص دهید",Sound:"صدا","Interim Results":"نتایج موقت"}},33276:function(e){e.exports={"Speech Recognize":"Puheentunnistus",newline:"uusi rivi",delete:"poistaa",space:"tilaa",Sound:"\xc4\xe4ni","Interim Results":"V\xe4litulokset"}},43517:function(e){e.exports={newline:"nouvelle ligne",delete:"supprimer",space:"espace","Speech Recognize":"Reconnaissance Vocale",Sound:"Son","Interim Results":"R\xe9sultats Interm\xe9diaires"}},8858:function(e){e.exports={newline:"חדשות",delete:"מחק",space:"שטח","Speech Recognize":"דיבור מזהה",Sound:"קול","Interim Results":"תוצאות ביניים"}},22922:function(e){e.exports={newline:"\xfajsor",delete:"t\xf6rl\xe9s",space:"t\xe9r","Speech Recognize":"A Besz\xe9d Felismeri",Sound:"Hang","Interim Results":"Idők\xf6zi Eredm\xe9nyek"}},81900:function(e){e.exports={newline:"newline",delete:"Hapus",space:"ruang","Speech Recognize":"Pidato Mengenali",Sound:"Suara","Interim Results":"Hasil Sementara"}},43219:function(e,n,t){"use strict";t.r(n),t.d(n,{ar:function(){return i},cs_cz:function(){return o},de:function(){return s},es:function(){return r},fa:function(){return u},fi:function(){return c},fr:function(){return a},he:function(){return l},hu:function(){return p},id:function(){return d},it:function(){return h},ja:function(){return f},ko:function(){return m},mn:function(){return _},nl:function(){return g},no:function(){return R},pl:function(){return v},pt_br:function(){return S},ru:function(){return z},tr:function(){return w},ua:function(){return y},zh_cn:function(){return k},zh_tw:function(){return b}});var i=t(19922),o=t(20759),s=t(22350),r=t(97509),u=t(49668),c=t(33276),a=t(43517),l=t(8858),p=t(22922),d=t(81900),h=t(35420),f=t(18712),m=t(73363),_=t(74762),g=t(73759),R=t(72850),v=t(37161),S=t(62896),z=t(39996),w=t(93423),y=t(10179),k=t(62547),b=t(29475)},35420:function(e){e.exports={newline:"nuova riga",delete:"eliminare",space:"spazio","Speech Recognize":"Discorso Riconoscere",Sound:"Suono","Interim Results":"Risultati intermedi"}},18712:function(e){e.exports={newline:"改行",delete:"削除",space:"スペース","Speech Recognize":"音声認識",Sound:"音","Interim Results":"中間結果"}},73363:function(e){e.exports={newline:"줄 바꿈",delete:"삭제",space:"공간","Speech Recognize":"음성 인식",Sound:"소리","Interim Results":"중간 결과"}},74762:function(e){e.exports={newline:"Шинэ мөр",delete:"Устгах",space:"Зай","Speech Recognize":"Дуу хоолой таних",Sound:"Дуу","Interim Results":"Түр зуурын үр дүн"}},73759:function(e){e.exports={newline:"regel",delete:"verwijderen",space:"ruimte","Speech Recognize":"Spraak Herkennen",Sound:"Geluid","Interim Results":"Tussentijdse Resultaten"}},72850:function(e){e.exports={newline:"nylinje",delete:"slette",space:"rom","Speech Recognize":"Talegjenkjenning",Sound:"Lyd","Interim Results":"Midlertidige resultater"}},37161:function(e){e.exports={newline:"newline",delete:"usunąć",space:"przestrzeń","Speech Recognize":"Rozpoznawanie Mowy",Sound:"Dźwięk","Interim Results":"Wyniki Okresowe"}},62896:function(e){e.exports={newline:"linha",delete:"excluir",space:"espaco","Speech Recognize":"Discurso Reconhecer",Sound:"Som","Interim Results":"Resultados Provis\xf3rios"}},39996:function(e){e.exports={newline:"новая строка|перенос|энтер",delete:"удалить",space:"пробел","Speech Recognize":"Распознавание речи",Sound:"Звук","Interim Results":"Промежуточные результаты"}},93423:function(e){e.exports={newline:"yeni satır",delete:"silmek",space:"uzay","Speech Recognize":"Konuşma Tanıma",Sound:"Ses","Interim Results":"Ara Sonu\xe7lar"}},10179:function(e){e.exports={newline:"новая строка|перенос|ентер",delete:"видалити",space:"пробел","Speech Recognize":"Распознавание речи",Sound:"Звук","Interim Results":"Проміжні результати"}},62547:function(e){e.exports={newline:"新行",delete:"删除",space:"空间","Speech Recognize":"言语识别",Sound:"声音","Interim Results":"中期业绩"}},29475:function(e){e.exports={newline:"換行",delete:"刪除",space:"空白","Speech Recognize":"語音辨識",Sound:"聲音","Interim Results":"階段性辨識結果"}},31262:function(e,n,t){"use strict";t.r(n),t.d(n,{SpeechRecognizeNative:function(){return R}});var i=t(69262),o=t(73104),s=t(53429),r=t(25045),u=t(34918),c=t(38574),a=t(31635),l=t(68616),p=t(23211),d=t(28077),h=t(71125),f=t(91206);t(75143);var m=t(73302),_=t(8962),g=t(43219),R=function(e){function n(){var e;return(0,o._)(this,n),e=(0,i._)(this,n,arguments),(0,r._)(e,"buttons",[{group:"state",name:"speechRecognize"}]),(0,r._)(e,"messagePopup",void 0),(0,r._)(e,"__hidePopupTimeout",void 0),(0,r._)(e,"_commandToWord",{}),e}return(0,u._)(n,e),(0,s._)(n,[{key:"afterInit",value:function(e){var n=this,t=e.o.speechRecognize.commands;t&&((0,d.extendLang)(g),(0,h.keys)(t,!1).forEach(function(i){i.split("|").forEach(function(o){o=o.trim().toLowerCase(),n._commandToWord[o]=t[i];var s=e.i18n(o);s!==o&&s.split("|").forEach(function(e){n._commandToWord[e.trim().toLowerCase()]=t[i].trim()})})}))}},{key:"beforeDestruct",value:function(e){p.Dom.safeRemove(this.messagePopup)}},{key:"onSpeechRecognizeProgressResult",value:function(e){var n=this;this.messagePopup||(this.messagePopup=this.j.create.div("jodit-speech-recognize__popup")),this.j.workplace.appendChild(this.messagePopup),this.j.async.clearTimeout(this.__hidePopupTimeout),this.__hidePopupTimeout=this.j.async.setTimeout(function(){p.Dom.safeRemove(n.messagePopup)},1e3),this.messagePopup.innerText=e+"|"}},{key:"onSpeechRecognizeResult",value:function(e){this.j.async.clearTimeout(this.__hidePopupTimeout),p.Dom.safeRemove(this.messagePopup);var n=this.j,t=n.s;if(!this._checkCommand(e)){var i=t.range,o=t.current();if(t.isCollapsed()&&p.Dom.isText(o)&&p.Dom.isOrContains(n.editor,o)&&o.nodeValue){var s=o.nodeValue;o.nodeValue=s+(/[\u00A0 ]\uFEFF*$/.test(s)?"":" ")+e,i.setStartAfter(o),t.selectRange(i),n.synchronizeValues()}else t.insertHTML(e)}}},{key:"_checkCommand",value:function(e){return e=e.toLowerCase().replace(/\./g,""),!!this._commandToWord[e]&&((0,_.execSpellCommand)(this.j,this._commandToWord[e]),!0)}}]),n}((0,c._)(f.Plugin));(0,a.__decorate)([(0,l.watch)(":speechRecognizeProgressResult")],R.prototype,"onSpeechRecognizeProgressResult",null),(0,a.__decorate)([(0,l.watch)(":speechRecognizeResult")],R.prototype,"onSpeechRecognizeResult",null),m.Jodit.plugins.add("speech-recognize",R)},22227:function(e){e.exports='<svg viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M8,11c1.657,0,3-1.343,3-3V3c0-1.657-1.343-3-3-3S5,1.343,5,3v5C5,9.657,6.343,11,8,11z"/> <path d="M13,8V6h-1l0,1.844c0,1.92-1.282,3.688-3.164,4.071C6.266,12.438,4,10.479,4,8V6H3v2c0,2.414,1.721,4.434,4,4.899V15H5v1h6 v-1H9v-2.101C11.279,12.434,13,10.414,13,8z"/> </svg>'}},function(e){return e(e.s=31262)}])});
|
|
8
|
+
!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var t=n();for(var i in t)("object"==typeof exports?exports:e)[i]=t[i]}}(self,function(){return(self.webpackChunkjodit=self.webpackChunkjodit||[]).push([[882],{75143:function(e,n,t){"use strict";var i=t(22289),o=t(85932),s=t(7909),r=t(36400),u=t(29434),c=t(5266),a=t(97743),l=t(68097),p=t(22227),d=t.n(p);c.Config.prototype.speechRecognize={api:void 0!==a.SpeechRecognition?a.SpeechRecognition:null,sound:!0,continuous:!1,interimResults:!0,commands:{"newline|enter":"enter","delete|remove word|delete word":"backspaceWordButton",comma:"inserthtml::,",underline:"inserthtml::_",hyphen:"inserthtml::-",space:"inserthtml:: ",question:"inserthtml::?",dot:"inserthtml::.","quote|quotes|open quote":"inserthtml::'","header|header h1":"formatblock::h1","select all":"selectall"}},u.Icon.set("speech-recognize",d()),c.Config.prototype.controls.speechRecognize={isVisible:function(e){return!!e.o.speechRecognize.api},isActive:function(e,n){var t=(0,r.dataBind)(e,"speech");return!!(null==t?void 0:t.isEnabled)},isDisabled:function(e){return!e.o.speechRecognize.api},exec:function(e,n,t){var u=t.button,c=t.control,a=e.o.speechRecognize,p=a.api,d=a.lang,h=a.continuous,f=a.interimResults,m=a.sound;if(!p)return void e.alert("Speech recognize API unsupported in your browser");var _=(0,r.dataBind)(e,"speech");if(!_){var g,R=new p;(_=new l.RecognizeManager(e.async,R)).lang=(0,o.isString)(d)?d:null!=(g=(0,s.attr)(e.od.documentElement,"lang"))?g:void 0,_.continuous=h,_.interimResults=f,_.sound=m,(0,r.dataBind)(e,"speech",_),_.on("pulse",function(e){u.setMod("pulse",e)}),_.on("result",function(n){return e.e.fire("speechRecognizeResult",n)}),_.on("progress",function(n){return e.e.fire("speechRecognizeProgressResult",n)}),_.on("error",function(n){return e.message.error(n)}),e.hookStatus("beforeDestruct",function(){(0,r.dataBind)(e,"speech",null),_.destruct()})}if(c.args){var v=c.args[0];if((0,i.isBoolean)(_[v])){_[v]=!_[v],_.isEnabled&&_.restart();return}}_.toggle(),_.isEnabled&&u.setMod("pulse",!0),u.state.activated=_.isEnabled},name:"speechRecognize",command:"toggleSpeechRecognize",tooltip:"Speech Recognize",list:{sound:"Sound",interimResults:"Interim Results"},childTemplate:function(e,n,t){var i,o=(0,r.dataBind)(e,"speech"),s=null!=(i=null==o?void 0:o[n])?i:e.o.speechRecognize[n];return"<span class='jodit-speech-recognize__list-item'><input ".concat(s?"checked":""," class='jodit-checkbox' type='checkbox'> ").concat(t,"</span>")},mods:{stroke:!1}}},94092:function(e,n,t){"use strict";t.d(n,{PII:function(){return i},WARN:function(){return o}});var i=440,o=940},97743:function(e,n,t){"use strict";t.d(n,{SpeechRecognition:function(){return o}});var i=t(81937),o=i.globalWindow?i.globalWindow.SpeechRecognition||i.globalWindow.webkitSpeechRecognition:void 0},8962:function(e,n,t){"use strict";t.d(n,{execSpellCommand:function(){return o}});var i=t(50684);function o(e,n){var t=(0,i._)(n.split("::"),2),o=t[0],s=t[1];"open"===o.toLowerCase()&&s&&/^(javascript:|data:|vbscript:)/i.test(s.trim())||e.execCommand(o,null,s)}},68097:function(e,n,t){"use strict";t.d(n,{RecognizeManager:function(){return m}});var i=t(69262),o=t(73104),s=t(53429),r=t(25045),u=t(22248),c=t(66773),a=t(34918),l=t(31635),p=t(84839),d=t(60216),h=t(32560),f=t(94092),m=function(e){function n(e,t){var s;return(0,o._)(this,n),s=(0,i._)(this,n),(0,r._)(s,"async",void 0),(0,r._)(s,"_lang",void 0),(0,r._)(s,"_continuous",void 0),(0,r._)(s,"_interimResults",void 0),(0,r._)(s,"sound",void 0),(0,r._)(s,"_isEnabled",void 0),(0,r._)(s,"_restartTimeout",void 0),(0,r._)(s,"_onSpeechStart",void 0),(0,r._)(s,"_api",void 0),(0,r._)(s,"__interimResults",void 0),s.async=e,s._continuous=!1,s._interimResults=!1,s.sound=!0,s._isEnabled=!1,s._restartTimeout=0,s._onSpeechStart=function(e){s._isEnabled&&(s.async.clearTimeout(s._restartTimeout),s._restartTimeout=s.async.setTimeout(function(){s.restart(),s.emit("pulse",!1),s._makeSound(f.WARN)},5e3),s.emit("pulse",!0))},s.__interimResults="",s._api=t,n._instances.add(s),s}return(0,a._)(n,e),(0,s._)(n,[{key:"lang",get:function(){return this._lang},set:function(e){this._lang=e,this._api.lang=e}},{key:"continuous",get:function(){return this._continuous},set:function(e){this._continuous=e,this._api.continuous=e}},{key:"interimResults",get:function(){return this._interimResults},set:function(e){this._interimResults=e,this._api.interimResults=e}},{key:"destruct",value:function(){this.stop(),(0,h.closeSound)(this),n._instances.delete(this),(0,u._)((0,c._)(n.prototype),"destruct",this).call(this)}},{key:"isEnabled",get:function(){return this._isEnabled}},{key:"start",value:function(){var e=this;if(!this._isEnabled){this._isEnabled=!0,n._instances.forEach(function(n){n!==e&&n.stop()});try{this._api.start()}catch(e){this._onError(e),this.stop();return}this.__on("speechstart",this._onSpeechStart).__on("error",this._onError).__on("result",this._onProgress).__on("end",this._onResults)}}},{key:"stop",value:function(){this._isEnabled&&(this._api.abort(),this._api.stop(),this.__off("speechstart",this._onSpeechStart).__off("error",this._onError).__off("result",this._onProgress).__off("end",this._onResults),this.async.clearTimeout(this._restartTimeout),this._isEnabled=!1,this.emit("pulse",!1))}},{key:"toggle",value:function(){this._isEnabled?this.stop():this.start()}},{key:"restart",value:function(){this.stop(),this.start()}},{key:"__on",value:function(e,n){return this._api.addEventListener(e,n),this}},{key:"__off",value:function(e,n){return this._api.removeEventListener(e,n),this}},{key:"_onResults",value:function(e){this.emit("pulse",!1),this.emit("result",this.__interimResults),this.__interimResults="",this._makeSound(f.PII),this.restart()}},{key:"_onProgress",value:function(e){if(this._isEnabled&&(this.__interimResults="",e.results)){for(var n=0;n<e.results.length;n++){var t=e.results.item(n);if(t.length){var i=t.item(0).transcript;this.__interimResults+=i}}this.__interimResults&&this.emit("progress",this.__interimResults)}}},{key:"_onError",value:function(e){"voice-unavailable"===e.error&&this.emit("error","Voice unavailable"),"not-allowed"===e.error&&this.emit("error","Not allowed"),("language-unavailable"===e.error||"language-not-supported"===e.error)&&this.emit("error","Language unavailable"),this._makeSound(f.WARN),this.emit("pulse",!1),this.stop()}},{key:"_makeSound",value:function(e){this.sound&&(0,h.sound)(this,{frequency:e})}}]),n}(d.Eventify);(0,r._)(m,"_instances",new Set),(0,l.__decorate)([p.autobind],m.prototype,"_onResults",null),(0,l.__decorate)([p.autobind],m.prototype,"_onProgress",null),(0,l.__decorate)([p.autobind],m.prototype,"_onError",null)},32560:function(e,n,t){"use strict";t.d(n,{closeSound:function(){return u},sound:function(){return r}});var i=t(81937),o=t(94092),s=new WeakMap;function r(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.sec,r=n.frequency,u=void 0===r?o.PII:r,c=n.gain,a=n.type,l=function(e){if(!i.globalWindow)return null;var n=s.get(e);if(n&&"closed"!==n.state)return n;var t=i.globalWindow.AudioContext||i.globalWindow.webkitAudioContext;if(!t)return null;var o=new t;return s.set(e,o),o}(e);if(l){var p=l.createGain(),d=l.createOscillator();d.type=void 0===a?"sine":a,d.frequency.value=u,p.gain.value=void 0===c?.1:c,d.connect(p),p.connect(l.destination),d.start(),d.stop(l.currentTime+(void 0===t?.1:t))}}function u(e){var n=s.get(e);n&&(s.delete(e),"closed"!==n.state&&n.close())}},19922:function(e){e.exports={newline:"الخط الجديد",delete:"حذف",space:"الفضاء","Speech Recognize":"التعرف على الكلام",Sound:"الصوت","Interim Results":"النتائج المؤقتة"}},20759:function(e){e.exports={newline:"ř\xe1dek",delete:"odstranit",space:"prostora","Speech Recognize":"Rozpozn\xe1n\xed Řeči",Sound:"Zvuk","Interim Results":"Průběžn\xe9 V\xfdsledky"}},22350:function(e){e.exports={newline:"Zeilenumbruch",delete:"l\xf6schen",space:"Raum","Speech Recognize":"Sprache Erkennen",Sound:"Sound","Interim Results":"Zwischenergebnis"}},97509:function(e){e.exports={newline:"nueva l\xednea",delete:"eliminar",space:"espacio","Speech Recognize":"Reconocimiento de Voz",Sound:"Sonido","Interim Results":"Resultados Provisionales"}},49668:function(e){e.exports={newline:"خط جدید",delete:"حذف",space:"فضا","Speech Recognize":"گفتار را تشخیص دهید",Sound:"صدا","Interim Results":"نتایج موقت"}},33276:function(e){e.exports={"Speech Recognize":"Puheentunnistus",newline:"uusi rivi",delete:"poistaa",space:"tilaa",Sound:"\xc4\xe4ni","Interim Results":"V\xe4litulokset"}},43517:function(e){e.exports={newline:"nouvelle ligne",delete:"supprimer",space:"espace","Speech Recognize":"Reconnaissance Vocale",Sound:"Son","Interim Results":"R\xe9sultats Interm\xe9diaires"}},8858:function(e){e.exports={newline:"חדשות",delete:"מחק",space:"שטח","Speech Recognize":"דיבור מזהה",Sound:"קול","Interim Results":"תוצאות ביניים"}},22922:function(e){e.exports={newline:"\xfajsor",delete:"t\xf6rl\xe9s",space:"t\xe9r","Speech Recognize":"A Besz\xe9d Felismeri",Sound:"Hang","Interim Results":"Idők\xf6zi Eredm\xe9nyek"}},81900:function(e){e.exports={newline:"newline",delete:"Hapus",space:"ruang","Speech Recognize":"Pidato Mengenali",Sound:"Suara","Interim Results":"Hasil Sementara"}},43219:function(e,n,t){"use strict";t.r(n),t.d(n,{ar:function(){return i},cs_cz:function(){return o},de:function(){return s},es:function(){return r},fa:function(){return u},fi:function(){return c},fr:function(){return a},he:function(){return l},hu:function(){return p},id:function(){return d},it:function(){return h},ja:function(){return f},ko:function(){return m},mn:function(){return _},nl:function(){return g},no:function(){return R},pl:function(){return v},pt_br:function(){return S},ru:function(){return z},sk:function(){return w},tr:function(){return y},ua:function(){return k},zh_cn:function(){return b},zh_tw:function(){return x}});var i=t(19922),o=t(20759),s=t(22350),r=t(97509),u=t(49668),c=t(33276),a=t(43517),l=t(8858),p=t(22922),d=t(81900),h=t(35420),f=t(18712),m=t(73363),_=t(74762),g=t(73759),R=t(72850),v=t(37161),S=t(62896),z=t(39996),w=t(62415),y=t(93423),k=t(10179),b=t(62547),x=t(29475)},35420:function(e){e.exports={newline:"nuova riga",delete:"eliminare",space:"spazio","Speech Recognize":"Discorso Riconoscere",Sound:"Suono","Interim Results":"Risultati intermedi"}},18712:function(e){e.exports={newline:"改行",delete:"削除",space:"スペース","Speech Recognize":"音声認識",Sound:"音","Interim Results":"中間結果"}},73363:function(e){e.exports={newline:"줄 바꿈",delete:"삭제",space:"공간","Speech Recognize":"음성 인식",Sound:"소리","Interim Results":"중간 결과"}},74762:function(e){e.exports={newline:"Шинэ мөр",delete:"Устгах",space:"Зай","Speech Recognize":"Дуу хоолой таних",Sound:"Дуу","Interim Results":"Түр зуурын үр дүн"}},73759:function(e){e.exports={newline:"regel",delete:"verwijderen",space:"ruimte","Speech Recognize":"Spraak Herkennen",Sound:"Geluid","Interim Results":"Tussentijdse Resultaten"}},72850:function(e){e.exports={newline:"nylinje",delete:"slette",space:"rom","Speech Recognize":"Talegjenkjenning",Sound:"Lyd","Interim Results":"Midlertidige resultater"}},37161:function(e){e.exports={newline:"newline",delete:"usunąć",space:"przestrzeń","Speech Recognize":"Rozpoznawanie Mowy",Sound:"Dźwięk","Interim Results":"Wyniki Okresowe"}},62896:function(e){e.exports={newline:"linha",delete:"excluir",space:"espaco","Speech Recognize":"Discurso Reconhecer",Sound:"Som","Interim Results":"Resultados Provis\xf3rios"}},39996:function(e){e.exports={newline:"новая строка|перенос|энтер",delete:"удалить",space:"пробел","Speech Recognize":"Распознавание речи",Sound:"Звук","Interim Results":"Промежуточные результаты"}},62415:function(e){e.exports={newline:"nov\xfd riadok",delete:"vymazať",space:"medzera","Speech Recognize":"Rozpozn\xe1vanie reči",Sound:"Zvuk","Interim Results":"Predbežn\xe9 v\xfdsledky"}},93423:function(e){e.exports={newline:"yeni satır",delete:"silmek",space:"uzay","Speech Recognize":"Konuşma Tanıma",Sound:"Ses","Interim Results":"Ara Sonu\xe7lar"}},10179:function(e){e.exports={newline:"новая строка|перенос|ентер",delete:"видалити",space:"пробел","Speech Recognize":"Распознавание речи",Sound:"Звук","Interim Results":"Проміжні результати"}},62547:function(e){e.exports={newline:"新行",delete:"删除",space:"空间","Speech Recognize":"言语识别",Sound:"声音","Interim Results":"中期业绩"}},29475:function(e){e.exports={newline:"換行",delete:"刪除",space:"空白","Speech Recognize":"語音辨識",Sound:"聲音","Interim Results":"階段性辨識結果"}},31262:function(e,n,t){"use strict";t.r(n),t.d(n,{SpeechRecognizeNative:function(){return R}});var i=t(69262),o=t(73104),s=t(53429),r=t(25045),u=t(34918),c=t(38574),a=t(31635),l=t(68616),p=t(23211),d=t(28077),h=t(71125),f=t(91206);t(75143);var m=t(73302),_=t(8962),g=t(43219),R=function(e){function n(){var e;return(0,o._)(this,n),e=(0,i._)(this,n,arguments),(0,r._)(e,"buttons",[{group:"state",name:"speechRecognize"}]),(0,r._)(e,"messagePopup",void 0),(0,r._)(e,"__hidePopupTimeout",void 0),(0,r._)(e,"_commandToWord",{}),e}return(0,u._)(n,e),(0,s._)(n,[{key:"afterInit",value:function(e){var n=this,t=e.o.speechRecognize.commands;t&&((0,d.extendLang)(g),(0,h.keys)(t,!1).forEach(function(i){i.split("|").forEach(function(o){o=o.trim().toLowerCase(),n._commandToWord[o]=t[i];var s=e.i18n(o);s!==o&&s.split("|").forEach(function(e){n._commandToWord[e.trim().toLowerCase()]=t[i].trim()})})}))}},{key:"beforeDestruct",value:function(e){p.Dom.safeRemove(this.messagePopup)}},{key:"onSpeechRecognizeProgressResult",value:function(e){var n=this;this.messagePopup||(this.messagePopup=this.j.create.div("jodit-speech-recognize__popup")),this.j.workplace.appendChild(this.messagePopup),this.j.async.clearTimeout(this.__hidePopupTimeout),this.__hidePopupTimeout=this.j.async.setTimeout(function(){p.Dom.safeRemove(n.messagePopup)},1e3),this.messagePopup.innerText=e+"|"}},{key:"onSpeechRecognizeResult",value:function(e){this.j.async.clearTimeout(this.__hidePopupTimeout),p.Dom.safeRemove(this.messagePopup);var n=this.j,t=n.s;if(!this._checkCommand(e)){var i=t.range,o=t.current();if(t.isCollapsed()&&p.Dom.isText(o)&&p.Dom.isOrContains(n.editor,o)&&o.nodeValue){var s=o.nodeValue;o.nodeValue=s+(/[\u00A0 ]\uFEFF*$/.test(s)?"":" ")+e,i.setStartAfter(o),t.selectRange(i),n.synchronizeValues()}else t.insertHTML(e)}}},{key:"_checkCommand",value:function(e){return e=e.toLowerCase().replace(/\./g,""),!!this._commandToWord[e]&&((0,_.execSpellCommand)(this.j,this._commandToWord[e]),!0)}}]),n}((0,c._)(f.Plugin));(0,a.__decorate)([(0,l.watch)(":speechRecognizeProgressResult")],R.prototype,"onSpeechRecognizeProgressResult",null),(0,a.__decorate)([(0,l.watch)(":speechRecognizeResult")],R.prototype,"onSpeechRecognizeResult",null),m.Jodit.plugins.add("speech-recognize",R)},22227:function(e){e.exports='<svg viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M8,11c1.657,0,3-1.343,3-3V3c0-1.657-1.343-3-3-3S5,1.343,5,3v5C5,9.657,6.343,11,8,11z"/> <path d="M13,8V6h-1l0,1.844c0,1.92-1.282,3.688-3.164,4.071C6.266,12.438,4,10.479,4,8V6H3v2c0,2.414,1.721,4.434,4,4.899V15H5v1h6 v-1H9v-2.101C11.279,12.434,13,10.414,13,8z"/> </svg>'}},function(e){return e(e.s=31262)}])});
|
package/es5/polyfills.fat.min.js
CHANGED
package/es5/polyfills.js
CHANGED
package/es5/polyfills.min.js
CHANGED
package/esm/core/constants.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
export const APP_VERSION = "4.13.
|
|
6
|
+
export const APP_VERSION = "4.13.11";
|
|
7
7
|
// prettier-ignore
|
|
8
8
|
export const ES = "es2020";
|
|
9
9
|
export const IS_ES_MODERN = true;
|
package/esm/langs/ar.d.ts
CHANGED
package/esm/langs/ar.js
CHANGED
package/esm/langs/cs_cz.d.ts
CHANGED
package/esm/langs/cs_cz.js
CHANGED
|
@@ -96,6 +96,7 @@ export default {
|
|
|
96
96
|
'Enter Directory name': 'Název složky',
|
|
97
97
|
'Create directory': 'Vytvořit složku',
|
|
98
98
|
'type name': 'název',
|
|
99
|
+
'type dir name': 'název',
|
|
99
100
|
'Drop image': 'Přetáhněte sem obrázek',
|
|
100
101
|
'Drop file': 'Přetáhněte sem soubor',
|
|
101
102
|
'or click': 'nebo klikněte',
|
package/esm/langs/de.d.ts
CHANGED
package/esm/langs/de.js
CHANGED
|
@@ -96,6 +96,7 @@ export default {
|
|
|
96
96
|
'Enter Directory name': 'Geben Sie den Verzeichnisnamen ein',
|
|
97
97
|
'Create directory': 'Verzeichnis erstellen',
|
|
98
98
|
'type name': 'Typname',
|
|
99
|
+
'type dir name': 'Typname',
|
|
99
100
|
'Drop image': 'Bild hier hinziehen',
|
|
100
101
|
'Drop file': 'Datei löschen',
|
|
101
102
|
'or click': 'oder hier klicken',
|
package/esm/langs/es.d.ts
CHANGED
package/esm/langs/es.js
CHANGED
|
@@ -96,6 +96,7 @@ export default {
|
|
|
96
96
|
'Enter Directory name': 'Entre nombre de carpeta',
|
|
97
97
|
'Create directory': 'Crear carpeta',
|
|
98
98
|
'type name': 'Entre el nombre',
|
|
99
|
+
'type dir name': 'Entre el nombre',
|
|
99
100
|
'Drop image': 'Soltar imagen',
|
|
100
101
|
'Drop file': 'Soltar archivo',
|
|
101
102
|
'or click': 'o click',
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
declare const _exports: {
|
|
2
|
+
'Type something': string;
|
|
3
|
+
Advanced: string;
|
|
4
|
+
'About Jodit': string;
|
|
5
|
+
'Jodit Editor': string;
|
|
6
|
+
"Jodit User's Guide": string;
|
|
7
|
+
'contains detailed help for using': string;
|
|
8
|
+
'For information about the license, please go to our website:': string;
|
|
9
|
+
'Buy full version': string;
|
|
10
|
+
'Copyright \u00A9 XDSoft.net - Chupurnov Valeriy. All rights reserved.': string;
|
|
11
|
+
Anchor: string;
|
|
12
|
+
'Open in new tab': string;
|
|
13
|
+
'Open in fullsize': string;
|
|
14
|
+
'Clear Formatting': string;
|
|
15
|
+
'Fill color or set the text color': string;
|
|
16
|
+
Redo: string;
|
|
17
|
+
Undo: string;
|
|
18
|
+
Bold: string;
|
|
19
|
+
Italic: string;
|
|
20
|
+
'Insert Unordered List': string;
|
|
21
|
+
'Insert Ordered List': string;
|
|
22
|
+
'Align Center': string;
|
|
23
|
+
'Align Justify': string;
|
|
24
|
+
'Align Left': string;
|
|
25
|
+
'Align Right': string;
|
|
26
|
+
'Insert Horizontal Line': string;
|
|
27
|
+
'Insert Image': string;
|
|
28
|
+
'Insert file': string;
|
|
29
|
+
'Insert youtube/vimeo video': string;
|
|
30
|
+
'Insert link': string;
|
|
31
|
+
'Font size': string;
|
|
32
|
+
'Font family': string;
|
|
33
|
+
'Insert format block': string;
|
|
34
|
+
Normal: string;
|
|
35
|
+
'Heading 1': string;
|
|
36
|
+
'Heading 2': string;
|
|
37
|
+
'Heading 3': string;
|
|
38
|
+
'Heading 4': string;
|
|
39
|
+
Quote: string;
|
|
40
|
+
Code: string;
|
|
41
|
+
Insert: string;
|
|
42
|
+
'Insert table': string;
|
|
43
|
+
'Decrease Indent': string;
|
|
44
|
+
'Increase Indent': string;
|
|
45
|
+
'Select Special Character': string;
|
|
46
|
+
'Insert Special Character': string;
|
|
47
|
+
'Paint format': string;
|
|
48
|
+
'Change mode': string;
|
|
49
|
+
Margins: string;
|
|
50
|
+
top: string;
|
|
51
|
+
right: string;
|
|
52
|
+
bottom: string;
|
|
53
|
+
left: string;
|
|
54
|
+
Styles: string;
|
|
55
|
+
Classes: string;
|
|
56
|
+
Align: string;
|
|
57
|
+
Right: string;
|
|
58
|
+
Center: string;
|
|
59
|
+
Left: string;
|
|
60
|
+
'--Not Set--': string;
|
|
61
|
+
Src: string;
|
|
62
|
+
Title: string;
|
|
63
|
+
Alternative: string;
|
|
64
|
+
Link: string;
|
|
65
|
+
'Open link in new tab': string;
|
|
66
|
+
Image: string;
|
|
67
|
+
file: string;
|
|
68
|
+
'Image properties': string;
|
|
69
|
+
Cancel: string;
|
|
70
|
+
Ok: string;
|
|
71
|
+
'Your code is similar to HTML. Keep as HTML?': string;
|
|
72
|
+
'Paste as HTML': string;
|
|
73
|
+
Keep: string;
|
|
74
|
+
Clean: string;
|
|
75
|
+
'Insert as Text': string;
|
|
76
|
+
'Word Paste Detected': string;
|
|
77
|
+
'The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?': string;
|
|
78
|
+
'Insert only Text': string;
|
|
79
|
+
'File Browser': string;
|
|
80
|
+
'Error on load list': string;
|
|
81
|
+
'Error on load folders': string;
|
|
82
|
+
'Are you sure?': string;
|
|
83
|
+
'Enter Directory name': string;
|
|
84
|
+
'Create directory': string;
|
|
85
|
+
'type name': string;
|
|
86
|
+
'type dir name': string;
|
|
87
|
+
'Drop image': string;
|
|
88
|
+
'Drop file': string;
|
|
89
|
+
'or click': string;
|
|
90
|
+
'Alternative text': string;
|
|
91
|
+
Browse: string;
|
|
92
|
+
Upload: string;
|
|
93
|
+
Background: string;
|
|
94
|
+
Text: string;
|
|
95
|
+
Top: string;
|
|
96
|
+
Middle: string;
|
|
97
|
+
Bottom: string;
|
|
98
|
+
'Insert column before': string;
|
|
99
|
+
'Insert column after': string;
|
|
100
|
+
'Insert row above': string;
|
|
101
|
+
'Insert row below': string;
|
|
102
|
+
'Delete table': string;
|
|
103
|
+
'Delete row': string;
|
|
104
|
+
'Delete column': string;
|
|
105
|
+
'Empty cell': string;
|
|
106
|
+
Delete: string;
|
|
107
|
+
'Strike through': string;
|
|
108
|
+
Underline: string;
|
|
109
|
+
Break: string;
|
|
110
|
+
'Search for': string;
|
|
111
|
+
'Replace with': string;
|
|
112
|
+
Replace: string;
|
|
113
|
+
Edit: string;
|
|
114
|
+
'Vertical align': string;
|
|
115
|
+
'Horizontal align': string;
|
|
116
|
+
Filter: string;
|
|
117
|
+
'Sort by changed': string;
|
|
118
|
+
'Sort by name': string;
|
|
119
|
+
'Sort by size': string;
|
|
120
|
+
'Add folder': string;
|
|
121
|
+
Split: string;
|
|
122
|
+
'Split vertical': string;
|
|
123
|
+
'Split horizontal': string;
|
|
124
|
+
Merge: string;
|
|
125
|
+
'Add column': string;
|
|
126
|
+
'Add row': string;
|
|
127
|
+
Border: string;
|
|
128
|
+
'Embed code': string;
|
|
129
|
+
Update: string;
|
|
130
|
+
superscript: string;
|
|
131
|
+
subscript: string;
|
|
132
|
+
'Cut selection': string;
|
|
133
|
+
Paste: string;
|
|
134
|
+
'Choose Content to Paste': string;
|
|
135
|
+
'Chars: %d': string;
|
|
136
|
+
'Words: %d': string;
|
|
137
|
+
All: string;
|
|
138
|
+
'Select %s': string;
|
|
139
|
+
'Select all': string;
|
|
140
|
+
source: string;
|
|
141
|
+
bold: string;
|
|
142
|
+
italic: string;
|
|
143
|
+
brush: string;
|
|
144
|
+
link: string;
|
|
145
|
+
undo: string;
|
|
146
|
+
redo: string;
|
|
147
|
+
table: string;
|
|
148
|
+
image: string;
|
|
149
|
+
eraser: string;
|
|
150
|
+
paragraph: string;
|
|
151
|
+
fontsize: string;
|
|
152
|
+
video: string;
|
|
153
|
+
font: string;
|
|
154
|
+
about: string;
|
|
155
|
+
print: string;
|
|
156
|
+
underline: string;
|
|
157
|
+
strikethrough: string;
|
|
158
|
+
indent: string;
|
|
159
|
+
outdent: string;
|
|
160
|
+
fullsize: string;
|
|
161
|
+
shrink: string;
|
|
162
|
+
hr: string;
|
|
163
|
+
ul: string;
|
|
164
|
+
ol: string;
|
|
165
|
+
cut: string;
|
|
166
|
+
selectall: string;
|
|
167
|
+
'Open link': string;
|
|
168
|
+
'Edit link': string;
|
|
169
|
+
'No follow': string;
|
|
170
|
+
Unlink: string;
|
|
171
|
+
Eye: string;
|
|
172
|
+
pencil: string;
|
|
173
|
+
' URL': string;
|
|
174
|
+
Reset: string;
|
|
175
|
+
Save: string;
|
|
176
|
+
'Save as ...': string;
|
|
177
|
+
Resize: string;
|
|
178
|
+
Crop: string;
|
|
179
|
+
Width: string;
|
|
180
|
+
Height: string;
|
|
181
|
+
'Keep Aspect Ratio': string;
|
|
182
|
+
Yes: string;
|
|
183
|
+
No: string;
|
|
184
|
+
Remove: string;
|
|
185
|
+
Select: string;
|
|
186
|
+
'You can only edit your own images. Download this image on the host?': string;
|
|
187
|
+
'The image has been successfully uploaded to the host!': string;
|
|
188
|
+
palette: string;
|
|
189
|
+
'There are no files': string;
|
|
190
|
+
Rename: string;
|
|
191
|
+
'Enter new name': string;
|
|
192
|
+
preview: string;
|
|
193
|
+
download: string;
|
|
194
|
+
'Paste from clipboard': string;
|
|
195
|
+
"Your browser doesn't support direct access to the clipboard.": string;
|
|
196
|
+
'Copy selection': string;
|
|
197
|
+
copy: string;
|
|
198
|
+
'Border radius': string;
|
|
199
|
+
'Show all': string;
|
|
200
|
+
Apply: string;
|
|
201
|
+
'Please fill out this field': string;
|
|
202
|
+
'Please enter a web address': string;
|
|
203
|
+
Default: string;
|
|
204
|
+
Circle: string;
|
|
205
|
+
Dot: string;
|
|
206
|
+
Quadrate: string;
|
|
207
|
+
Find: string;
|
|
208
|
+
'Find Previous': string;
|
|
209
|
+
'Find Next': string;
|
|
210
|
+
'Insert className': string;
|
|
211
|
+
'Press Alt for custom resizing': string;
|
|
212
|
+
'License: %s': string;
|
|
213
|
+
};
|
|
214
|
+
export = _exports;
|
package/esm/langs/fa.js
CHANGED
|
@@ -95,6 +95,7 @@ export default {
|
|
|
95
95
|
'Enter Directory name': 'نام مسیر را وارد کنید',
|
|
96
96
|
'Create directory': 'ساخت مسیر',
|
|
97
97
|
'type name': 'نام را وارد کنید',
|
|
98
|
+
'type dir name': 'نام را وارد کنید',
|
|
98
99
|
'Drop image': 'عکس را رها کنید',
|
|
99
100
|
'Drop file': 'فایل را رها کنید',
|
|
100
101
|
'or click': 'یا کلیک کنید',
|
package/esm/langs/fi.d.ts
CHANGED
package/esm/langs/fi.js
CHANGED
|
@@ -96,6 +96,7 @@ export default {
|
|
|
96
96
|
'Enter Directory name': 'Syötä hakemiston nimi',
|
|
97
97
|
'Create directory': 'Luo hakemisto',
|
|
98
98
|
'type name': 'Syötä nimi',
|
|
99
|
+
'type dir name': 'Syötä nimi',
|
|
99
100
|
'Drop image': 'Pudota kuva',
|
|
100
101
|
'Drop file': 'Pudota tiedosto',
|
|
101
102
|
'or click': 'tai klikkaa',
|
package/esm/langs/fr.d.ts
CHANGED
package/esm/langs/fr.js
CHANGED
|
@@ -95,7 +95,8 @@ export default {
|
|
|
95
95
|
'Are you sure?': 'Etes-vous sûrs ?',
|
|
96
96
|
'Enter Directory name': 'Entrer le nom de dossier',
|
|
97
97
|
'Create directory': 'Créer un dossier',
|
|
98
|
-
'type name': '
|
|
98
|
+
'type name': 'Nom du fichier',
|
|
99
|
+
'type dir name': 'Nom du dossier',
|
|
99
100
|
'Drop image': 'Coller une image',
|
|
100
101
|
'Drop file': 'Déposer un fichier',
|
|
101
102
|
'or click': 'ou cliquer',
|
package/esm/langs/he.d.ts
CHANGED
package/esm/langs/he.js
CHANGED
package/esm/langs/hu.d.ts
CHANGED
package/esm/langs/hu.js
CHANGED
|
@@ -96,6 +96,7 @@ export default {
|
|
|
96
96
|
'Enter Directory name': 'Írjon be egy mappanevet',
|
|
97
97
|
'Create directory': 'Mappa létrehozása',
|
|
98
98
|
'type name': 'írjon be bevet',
|
|
99
|
+
'type dir name': 'írjon be bevet',
|
|
99
100
|
'Drop image': 'Húzza ide a képet',
|
|
100
101
|
'Drop file': 'Húzza ide a fájlt',
|
|
101
102
|
'or click': 'vagy kattintson',
|