jodit 4.6.2 → 4.6.4

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.
Files changed (120) hide show
  1. package/.nvmrc +1 -1
  2. package/es2015/jodit.css +1 -1
  3. package/es2015/jodit.fat.min.js +2 -2
  4. package/es2015/jodit.js +2887 -2886
  5. package/es2015/jodit.min.js +2 -2
  6. package/es2015/plugins/debug/debug.css +1 -1
  7. package/es2015/plugins/debug/debug.js +1 -1
  8. package/es2015/plugins/debug/debug.min.js +1 -1
  9. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.js +56 -56
  11. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  12. package/es2018/jodit.css +1 -1
  13. package/es2018/jodit.fat.min.js +2 -2
  14. package/es2018/jodit.js +2794 -2793
  15. package/es2018/jodit.min.js +2 -2
  16. package/es2018/plugins/debug/debug.css +1 -1
  17. package/es2018/plugins/debug/debug.js +1 -1
  18. package/es2018/plugins/debug/debug.min.js +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  20. package/es2018/plugins/speech-recognize/speech-recognize.js +56 -56
  21. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  22. package/es2021/jodit.css +1 -1
  23. package/es2021/jodit.fat.min.js +2 -2
  24. package/es2021/jodit.js +2795 -2794
  25. package/es2021/jodit.min.js +2 -2
  26. package/es2021/plugins/debug/debug.css +1 -1
  27. package/es2021/plugins/debug/debug.js +1 -1
  28. package/es2021/plugins/debug/debug.min.js +1 -1
  29. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  30. package/es2021/plugins/speech-recognize/speech-recognize.js +56 -56
  31. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  32. package/es2021.en/jodit.css +1 -1
  33. package/es2021.en/jodit.fat.min.js +2 -2
  34. package/es2021.en/jodit.js +2753 -2752
  35. package/es2021.en/jodit.min.js +2 -2
  36. package/es2021.en/plugins/debug/debug.css +1 -1
  37. package/es2021.en/plugins/debug/debug.js +1 -1
  38. package/es2021.en/plugins/debug/debug.min.js +1 -1
  39. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  40. package/es2021.en/plugins/speech-recognize/speech-recognize.js +56 -56
  41. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  42. package/es5/415.fat.min.js +2 -2
  43. package/es5/415.js +69 -5
  44. package/es5/415.min.js +2 -2
  45. package/es5/5.fat.min.js +1 -1
  46. package/es5/5.min.js +1 -1
  47. package/es5/jodit.css +2 -2
  48. package/es5/jodit.fat.min.js +2 -2
  49. package/es5/jodit.js +3748 -3747
  50. package/es5/jodit.min.css +2 -2
  51. package/es5/jodit.min.js +2 -2
  52. package/es5/plugins/debug/debug.css +1 -1
  53. package/es5/plugins/debug/debug.js +12 -12
  54. package/es5/plugins/debug/debug.min.js +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  56. package/es5/plugins/speech-recognize/speech-recognize.js +59 -59
  57. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  58. package/esm/core/constants.js +1 -1
  59. package/esm/langs/ar.d.ts +1 -0
  60. package/esm/langs/ar.js +4 -1
  61. package/esm/langs/cs_cz.js +2 -0
  62. package/esm/langs/de.d.ts +1 -0
  63. package/esm/langs/de.js +4 -1
  64. package/esm/langs/en.js +2 -0
  65. package/esm/langs/es.d.ts +1 -0
  66. package/esm/langs/es.js +4 -1
  67. package/esm/langs/fa.js +3 -1
  68. package/esm/langs/fi.d.ts +1 -0
  69. package/esm/langs/fi.js +3 -1
  70. package/esm/langs/fr.d.ts +4 -0
  71. package/esm/langs/fr.js +6 -1
  72. package/esm/langs/he.d.ts +1 -0
  73. package/esm/langs/he.js +3 -1
  74. package/esm/langs/hu.d.ts +1 -0
  75. package/esm/langs/hu.js +3 -1
  76. package/esm/langs/id.js +1 -0
  77. package/esm/langs/it.d.ts +1 -0
  78. package/esm/langs/it.js +3 -1
  79. package/esm/langs/ja.d.ts +1 -0
  80. package/esm/langs/ja.js +3 -1
  81. package/esm/langs/ko.js +1 -0
  82. package/esm/langs/mn.d.ts +1 -0
  83. package/esm/langs/mn.js +3 -1
  84. package/esm/langs/nl.d.ts +1 -0
  85. package/esm/langs/nl.js +3 -1
  86. package/esm/langs/no.d.ts +22 -0
  87. package/esm/langs/no.js +27 -1
  88. package/esm/langs/pl.d.ts +1 -0
  89. package/esm/langs/pl.js +3 -1
  90. package/esm/langs/pt_br.d.ts +1 -0
  91. package/esm/langs/pt_br.js +3 -1
  92. package/esm/langs/ru.js +1 -0
  93. package/esm/langs/sv.js +231 -0
  94. package/esm/langs/tr.d.ts +1 -0
  95. package/esm/langs/tr.js +3 -1
  96. package/esm/langs/ua.js +1 -0
  97. package/esm/langs/zh_cn.d.ts +1 -0
  98. package/esm/langs/zh_cn.js +3 -1
  99. package/esm/langs/zh_tw.d.ts +2 -0
  100. package/esm/langs/zh_tw.js +4 -1
  101. package/esm/modules/uploader/helpers/data-uri-to-blob.js +1 -1
  102. package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.js +2 -2
  103. package/package.json +1 -1
  104. package/types/langs/ar.d.ts +1 -0
  105. package/types/langs/de.d.ts +1 -0
  106. package/types/langs/es.d.ts +1 -0
  107. package/types/langs/fi.d.ts +1 -0
  108. package/types/langs/fr.d.ts +4 -0
  109. package/types/langs/he.d.ts +1 -0
  110. package/types/langs/hu.d.ts +1 -0
  111. package/types/langs/it.d.ts +1 -0
  112. package/types/langs/ja.d.ts +1 -0
  113. package/types/langs/mn.d.ts +1 -0
  114. package/types/langs/nl.d.ts +1 -0
  115. package/types/langs/no.d.ts +22 -0
  116. package/types/langs/pl.d.ts +1 -0
  117. package/types/langs/pt_br.d.ts +1 -0
  118. package/types/langs/tr.d.ts +1 -0
  119. package/types/langs/zh_cn.d.ts +1 -0
  120. package/types/langs/zh_tw.d.ts +2 -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.6.2
4
+ * Version: v4.6.4
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -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.6.2
4
+ * Version: v4.6.4
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -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.6.2
4
+ * Version: v4.6.4
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -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.6.2
4
+ * Version: v4.6.4
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -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.6.2
4
+ * Version: v4.6.4
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -297,16 +297,16 @@ __webpack_require__.r(__webpack_exports__);
297
297
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298
298
  /* harmony export */ SpeechRecognizeNative: function() { return /* binding */ SpeechRecognizeNative; }
299
299
  /* harmony export */ });
300
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(31635);
301
- /* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(66927);
302
- /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(55186);
303
- /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(56298);
304
- /* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(84976);
305
- /* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(71005);
306
- /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71096);
307
- /* harmony import */ var _jodit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(46173);
300
+ /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
301
+ /* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66927);
302
+ /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55186);
303
+ /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(56298);
304
+ /* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(84976);
305
+ /* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71005);
306
+ /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(71096);
307
+ /* harmony import */ var _jodit__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(46173);
308
308
  /* harmony import */ var _helpers_exec_spell_command__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(50834);
309
- /* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(25202);
309
+ /* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(25202);
310
310
  /*!
311
311
  * Jodit Editor (https://xdsoft.net/jodit/)
312
312
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -323,7 +323,7 @@ __webpack_require__.r(__webpack_exports__);
323
323
 
324
324
 
325
325
 
326
- class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plugin */ .k {
326
+ class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_5__/* .Plugin */ .k {
327
327
  constructor() {
328
328
  super(...arguments);
329
329
  this.buttons = [
@@ -337,8 +337,8 @@ class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4
337
337
  afterInit(jodit) {
338
338
  const { commands } = jodit.o.speechRecognize;
339
339
  if (commands) {
340
- (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_7__);
341
- (0,jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_3__/* .keys */ .HP)(commands, false).forEach(words => {
340
+ (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_9__);
341
+ (0,jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_4__/* .keys */ .HP)(commands, false).forEach(words => {
342
342
  const keys = words.split('|');
343
343
  keys.forEach(key => {
344
344
  key = key.trim().toLowerCase();
@@ -354,7 +354,7 @@ class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4
354
354
  }
355
355
  }
356
356
  beforeDestruct(jodit) {
357
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(this.messagePopup);
357
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.safeRemove(this.messagePopup);
358
358
  }
359
359
  onSpeechRecognizeProgressResult(text) {
360
360
  if (!this.messagePopup) {
@@ -363,20 +363,20 @@ class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4
363
363
  this.j.workplace.appendChild(this.messagePopup);
364
364
  this.j.async.clearTimeout(this.__hidePopupTimeout);
365
365
  this.__hidePopupTimeout = this.j.async.setTimeout(() => {
366
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(this.messagePopup);
366
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.safeRemove(this.messagePopup);
367
367
  }, 1000);
368
368
  this.messagePopup.innerText = text + '|';
369
369
  }
370
370
  onSpeechRecognizeResult(text) {
371
371
  this.j.async.clearTimeout(this.__hidePopupTimeout);
372
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(this.messagePopup);
372
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.safeRemove(this.messagePopup);
373
373
  const { j } = this;
374
374
  const { s } = j;
375
375
  if (!this._checkCommand(text)) {
376
376
  const { range } = s, node = s.current();
377
377
  if (s.isCollapsed() &&
378
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isText(node) &&
379
- jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isOrContains(j.editor, node) &&
378
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isText(node) &&
379
+ jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isOrContains(j.editor, node) &&
380
380
  node.nodeValue) {
381
381
  const sentence = node.nodeValue;
382
382
  node.nodeValue =
@@ -401,13 +401,13 @@ class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4
401
401
  return false;
402
402
  }
403
403
  }
404
- (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .Cg)([
405
- (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':speechRecognizeProgressResult')
404
+ (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
405
+ (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':speechRecognizeProgressResult')
406
406
  ], SpeechRecognizeNative.prototype, "onSpeechRecognizeProgressResult", null);
407
- (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .Cg)([
408
- (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_0__/* .watch */ .w)(':speechRecognizeResult')
407
+ (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
408
+ (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':speechRecognizeResult')
409
409
  ], SpeechRecognizeNative.prototype, "onSpeechRecognizeResult", null);
410
- _jodit__WEBPACK_IMPORTED_MODULE_6__/* .Jodit */ .x.plugins.add('speech-recognize', SpeechRecognizeNative);
410
+ _jodit__WEBPACK_IMPORTED_MODULE_7__/* .Jodit */ .x.plugins.add('speech-recognize', SpeechRecognizeNative);
411
411
 
412
412
 
413
413
  /***/ }),
@@ -590,16 +590,16 @@ module.exports = {
590
590
  /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
591
591
 
592
592
  "use strict";
593
- /* harmony import */ var jodit_core_helpers_checker_is_boolean__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(9810);
594
- /* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(98253);
595
- /* harmony import */ var jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26150);
596
- /* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(72197);
597
- /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
598
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
599
- /* harmony import */ var _helpers_api__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(71722);
600
- /* harmony import */ var _helpers_recognize_manager__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(93676);
601
- /* harmony import */ var _speech_recognize_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(22227);
602
- /* harmony import */ var _speech_recognize_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_speech_recognize_svg__WEBPACK_IMPORTED_MODULE_6__);
593
+ /* harmony import */ var jodit_core_helpers_checker_is_boolean__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9810);
594
+ /* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(98253);
595
+ /* harmony import */ var jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26150);
596
+ /* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(72197);
597
+ /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
598
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
599
+ /* harmony import */ var _helpers_api__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(71722);
600
+ /* harmony import */ var _helpers_recognize_manager__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(93676);
601
+ /* harmony import */ var _speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(22227);
602
+ /* harmony import */ var _speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8__);
603
603
  /*!
604
604
  * Jodit Editor (https://xdsoft.net/jodit/)
605
605
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -614,8 +614,8 @@ module.exports = {
614
614
 
615
615
 
616
616
 
617
- jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.speechRecognize = {
618
- api: typeof _helpers_api__WEBPACK_IMPORTED_MODULE_4__/* .SpeechRecognition */ .o !== 'undefined' ? _helpers_api__WEBPACK_IMPORTED_MODULE_4__/* .SpeechRecognition */ .o : null,
617
+ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.speechRecognize = {
618
+ api: typeof _helpers_api__WEBPACK_IMPORTED_MODULE_6__/* .SpeechRecognition */ .o !== 'undefined' ? _helpers_api__WEBPACK_IMPORTED_MODULE_6__/* .SpeechRecognition */ .o : null,
619
619
  sound: true,
620
620
  continuous: false,
621
621
  interimResults: true,
@@ -633,13 +633,13 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.speechRecogn
633
633
  'select all': 'selectall'
634
634
  }
635
635
  };
636
- jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('speech-recognize', (_speech_recognize_svg__WEBPACK_IMPORTED_MODULE_6___default()));
637
- jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.speechRecognize = {
636
+ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('speech-recognize', (_speech_recognize_svg__WEBPACK_IMPORTED_MODULE_8___default()));
637
+ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.speechRecognize = {
638
638
  isVisible(j) {
639
639
  return Boolean(j.o.speechRecognize.api);
640
640
  },
641
641
  isActive(jodit, _) {
642
- const api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_1__/* .dataBind */ .m)(jodit, 'speech');
642
+ const api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__/* .dataBind */ .m)(jodit, 'speech');
643
643
  return Boolean(api?.isEnabled);
644
644
  },
645
645
  isDisabled(jodit) {
@@ -651,17 +651,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.spe
651
651
  jodit.alert('Speech recognize API unsupported in your browser');
652
652
  return;
653
653
  }
654
- let api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_1__/* .dataBind */ .m)(jodit, 'speech');
654
+ let api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__/* .dataBind */ .m)(jodit, 'speech');
655
655
  if (!api) {
656
656
  const nativeApi = new ApiConstructor();
657
- api = new _helpers_recognize_manager__WEBPACK_IMPORTED_MODULE_5__/* .RecognizeManager */ .g(jodit.async, nativeApi);
658
- api.lang = (0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_7__/* .isString */ .K)(lang)
657
+ api = new _helpers_recognize_manager__WEBPACK_IMPORTED_MODULE_7__/* .RecognizeManager */ .g(jodit.async, nativeApi);
658
+ api.lang = (0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .K)(lang)
659
659
  ? lang
660
- : ((0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_0__/* .attr */ .C)(jodit.od.documentElement, 'lang') ?? undefined);
660
+ : ((0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__/* .attr */ .C)(jodit.od.documentElement, 'lang') ?? undefined);
661
661
  api.continuous = continuous;
662
662
  api.interimResults = interimResults;
663
663
  api.sound = sound;
664
- (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_1__/* .dataBind */ .m)(jodit, 'speech', api);
664
+ (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__/* .dataBind */ .m)(jodit, 'speech', api);
665
665
  api.on('pulse', (enable) => {
666
666
  button.setMod('pulse', enable);
667
667
  });
@@ -669,13 +669,13 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.spe
669
669
  api.on('progress', (text) => jodit.e.fire('speechRecognizeProgressResult', text));
670
670
  api.on('error', (text) => jodit.message.error(text));
671
671
  button.hookStatus('beforeDestruct', () => {
672
- (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_1__/* .dataBind */ .m)(jodit, 'speech', null);
672
+ (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__/* .dataBind */ .m)(jodit, 'speech', null);
673
673
  api.destruct();
674
674
  });
675
675
  }
676
676
  if (control.args) {
677
677
  const key = control.args[0];
678
- if ((0,jodit_core_helpers_checker_is_boolean__WEBPACK_IMPORTED_MODULE_8__/* .isBoolean */ .L)(api[key])) {
678
+ if ((0,jodit_core_helpers_checker_is_boolean__WEBPACK_IMPORTED_MODULE_0__/* .isBoolean */ .L)(api[key])) {
679
679
  api[key] = !api[key];
680
680
  if (api.isEnabled) {
681
681
  api.restart();
@@ -697,7 +697,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.spe
697
697
  interimResults: 'Interim Results'
698
698
  },
699
699
  childTemplate(jodit, key, value) {
700
- const api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_1__/* .dataBind */ .m)(jodit, 'speech'), checked = api?.[key] ?? jodit.o.speechRecognize[key];
700
+ const api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_3__/* .dataBind */ .m)(jodit, 'speech'), checked = api?.[key] ?? jodit.o.speechRecognize[key];
701
701
  return `<span class='jodit-speech-recognize__list-item'><input ${checked ? 'checked' : ''} class='jodit-checkbox' type='checkbox'>&nbsp;${value}</span>`;
702
702
  },
703
703
  mods: {
@@ -936,11 +936,11 @@ module.exports = {
936
936
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
937
937
  /* harmony export */ g: function() { return /* binding */ RecognizeManager; }
938
938
  /* harmony export */ });
939
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
940
- /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22664);
939
+ /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31635);
940
+ /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22664);
941
941
  /* harmony import */ var jodit_core_event_emitter_eventify__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(43431);
942
- /* harmony import */ var _sound__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(95473);
943
- /* harmony import */ var jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(81629);
942
+ /* harmony import */ var _sound__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95473);
943
+ /* harmony import */ var jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(81629);
944
944
  /*!
945
945
  * Jodit Editor (https://xdsoft.net/jodit/)
946
946
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -990,7 +990,7 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
990
990
  this._restartTimeout = this.async.setTimeout(() => {
991
991
  this.restart();
992
992
  this.emit('pulse', false);
993
- this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_3__/* .WARN */ .Z);
993
+ this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_4__/* .WARN */ .Z);
994
994
  }, 5000);
995
995
  this.emit('pulse', true);
996
996
  };
@@ -1067,7 +1067,7 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
1067
1067
  this.emit('pulse', false);
1068
1068
  this.emit('result', this.__interimResults);
1069
1069
  this.__interimResults = '';
1070
- this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_3__/* .PII */ .N);
1070
+ this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_4__/* .PII */ .N);
1071
1071
  this.restart();
1072
1072
  }
1073
1073
  _onProgress(e) {
@@ -1101,19 +1101,19 @@ let RecognizeManager = RecognizeManager_1 = class RecognizeManager extends jodit
1101
1101
  e.error === 'language-not-supported') {
1102
1102
  this.emit('error', 'Language unavailable');
1103
1103
  }
1104
- this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_3__/* .WARN */ .Z);
1104
+ this._makeSound(jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_4__/* .WARN */ .Z);
1105
1105
  this.emit('pulse', false);
1106
1106
  this.stop();
1107
1107
  }
1108
1108
  _makeSound(frequency) {
1109
1109
  if (this.sound) {
1110
- (0,_sound__WEBPACK_IMPORTED_MODULE_1__/* .sound */ .s)({ frequency });
1110
+ (0,_sound__WEBPACK_IMPORTED_MODULE_3__/* .sound */ .s)({ frequency });
1111
1111
  }
1112
1112
  }
1113
1113
  };
1114
1114
  RecognizeManager._instances = new Set();
1115
- RecognizeManager = RecognizeManager_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
1116
- jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.autobind
1115
+ RecognizeManager = RecognizeManager_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_0__/* .__decorate */ .Cg)([
1116
+ jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.autobind
1117
1117
  ], RecognizeManager);
1118
1118
 
1119
1119
 
@@ -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.6.2
4
+ * Version: v4.6.4
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -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.6.2
4
+ * Version: v4.6.4
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */