jodit 4.0.6 → 4.0.14

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 (133) hide show
  1. package/CHANGELOG.md +15 -5
  2. package/es2015/jodit.css +19 -19
  3. package/es2015/jodit.fat.min.css +1 -1
  4. package/es2015/jodit.fat.min.js +2 -2
  5. package/es2015/jodit.js +633 -529
  6. package/es2015/jodit.min.css +1 -1
  7. package/es2015/jodit.min.js +2 -2
  8. package/es2015/plugins/debug/debug.js +1 -1
  9. package/es2015/plugins/debug/debug.min.js +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.js +72 -46
  12. package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
  13. package/es2018/jodit.css +19 -19
  14. package/es2018/jodit.fat.min.css +1 -1
  15. package/es2018/jodit.fat.min.js +2 -2
  16. package/es2018/jodit.js +633 -529
  17. package/es2018/jodit.min.css +1 -1
  18. package/es2018/jodit.min.js +2 -2
  19. package/es2018/plugins/debug/debug.js +1 -1
  20. package/es2018/plugins/debug/debug.min.js +1 -1
  21. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  22. package/es2018/plugins/speech-recognize/speech-recognize.js +72 -46
  23. package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
  24. package/es2021/jodit.css +19 -19
  25. package/es2021/jodit.fat.min.css +1 -1
  26. package/es2021/jodit.fat.min.js +2 -2
  27. package/es2021/jodit.js +632 -528
  28. package/es2021/jodit.min.css +1 -1
  29. package/es2021/jodit.min.js +2 -2
  30. package/es2021/plugins/debug/debug.js +1 -1
  31. package/es2021/plugins/debug/debug.min.js +1 -1
  32. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  33. package/es2021/plugins/speech-recognize/speech-recognize.js +72 -46
  34. package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
  35. package/es2021.en/jodit.css +19 -19
  36. package/es2021.en/jodit.fat.min.css +1 -1
  37. package/es2021.en/jodit.fat.min.js +2 -2
  38. package/es2021.en/jodit.js +333 -313
  39. package/es2021.en/jodit.min.css +1 -1
  40. package/es2021.en/jodit.min.js +2 -2
  41. package/es2021.en/plugins/debug/debug.js +1 -1
  42. package/es2021.en/plugins/debug/debug.min.js +1 -1
  43. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  44. package/es2021.en/plugins/speech-recognize/speech-recognize.js +3 -1
  45. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
  46. package/es5/jodit.css +25 -19
  47. package/es5/jodit.fat.min.css +1 -1
  48. package/es5/jodit.fat.min.js +2 -2
  49. package/es5/jodit.js +646 -542
  50. package/es5/jodit.min.css +3 -3
  51. package/es5/jodit.min.js +2 -2
  52. package/es5/plugins/debug/debug.js +1 -1
  53. package/es5/plugins/debug/debug.min.js +1 -1
  54. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.js +72 -46
  56. package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
  57. package/esm/core/async/async.d.ts +1 -1
  58. package/esm/core/async/async.js +2 -2
  59. package/esm/core/constants.js +1 -1
  60. package/esm/core/create/create.d.ts +1 -1
  61. package/esm/core/helpers/utils/append-script.d.ts +1 -5
  62. package/esm/core/helpers/utils/append-script.js +13 -28
  63. package/esm/core/plugin/helpers/load.d.ts +1 -1
  64. package/esm/core/plugin/helpers/load.js +2 -2
  65. package/esm/core/plugin/plugin-system.js +5 -5
  66. package/esm/core/plugin/plugin.js +5 -1
  67. package/esm/core/ui/popup/popup.js +1 -0
  68. package/esm/core/view/view-with-toolbar.js +4 -1
  69. package/esm/langs/fi.d.ts +218 -0
  70. package/esm/langs/fi.js +231 -0
  71. package/esm/languages.js +2 -0
  72. package/esm/plugins/add-new-line/add-new-line.d.ts +14 -14
  73. package/esm/plugins/add-new-line/add-new-line.js +76 -73
  74. package/esm/plugins/copy-format/langs/fi.d.ts +4 -0
  75. package/esm/plugins/copy-format/langs/fi.js +9 -0
  76. package/esm/plugins/copy-format/langs/index.d.ts +2 -1
  77. package/esm/plugins/copy-format/langs/index.js +2 -1
  78. package/esm/plugins/line-height/langs/fi.d.ts +4 -0
  79. package/esm/plugins/line-height/langs/fi.js +9 -0
  80. package/esm/plugins/line-height/langs/index.d.ts +2 -1
  81. package/esm/plugins/line-height/langs/index.js +2 -1
  82. package/esm/plugins/resizer/resizer.d.ts +2 -2
  83. package/esm/plugins/resizer/resizer.js +12 -13
  84. package/esm/plugins/search/config.d.ts +5 -0
  85. package/esm/plugins/search/config.js +3 -1
  86. package/esm/plugins/search/helpers/{wrap-ranges-texts-in-tmp-span.d.ts → highlight-text-ranges.d.ts} +2 -2
  87. package/esm/plugins/search/helpers/{wrap-ranges-texts-in-tmp-span.js → highlight-text-ranges.js} +19 -1
  88. package/esm/plugins/search/helpers/index.d.ts +1 -1
  89. package/esm/plugins/search/helpers/index.js +1 -1
  90. package/esm/plugins/search/search.d.ts +1 -1
  91. package/esm/plugins/search/search.js +4 -4
  92. package/esm/plugins/source/source.js +1 -1
  93. package/esm/plugins/speech-recognize/langs/fi.d.ts +9 -0
  94. package/esm/plugins/speech-recognize/langs/fi.js +14 -0
  95. package/esm/plugins/speech-recognize/langs/index.d.ts +2 -1
  96. package/esm/plugins/speech-recognize/langs/index.js +2 -1
  97. package/esm/plugins/spellcheck/langs/fi.d.ts +1 -0
  98. package/esm/plugins/spellcheck/langs/fi.js +9 -0
  99. package/esm/plugins/spellcheck/langs/index.d.ts +2 -1
  100. package/esm/plugins/spellcheck/langs/index.js +2 -1
  101. package/esm/plugins/symbols/langs/fi.d.ts +1 -0
  102. package/esm/plugins/symbols/langs/fi.js +9 -0
  103. package/esm/plugins/symbols/langs/index.d.ts +2 -1
  104. package/esm/plugins/symbols/langs/index.js +2 -1
  105. package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
  106. package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js +70 -73
  107. package/esm/tsconfig.json +1 -1
  108. package/esm/types/create.d.ts +1 -1
  109. package/package.json +1 -1
  110. package/types/core/async/async.d.ts +1 -1
  111. package/types/core/create/create.d.ts +1 -1
  112. package/types/core/helpers/utils/append-script.d.ts +1 -5
  113. package/types/core/plugin/helpers/load.d.ts +1 -1
  114. package/types/langs/fi.d.ts +218 -0
  115. package/types/plugins/add-new-line/add-new-line.d.ts +14 -14
  116. package/types/plugins/copy-format/langs/fi.d.ts +4 -0
  117. package/types/plugins/copy-format/langs/index.d.ts +2 -1
  118. package/types/plugins/line-height/langs/fi.d.ts +4 -0
  119. package/types/plugins/line-height/langs/index.d.ts +2 -1
  120. package/types/plugins/resizer/resizer.d.ts +2 -2
  121. package/types/plugins/search/config.d.ts +5 -0
  122. package/types/plugins/search/helpers/{wrap-ranges-texts-in-tmp-span.d.ts → highlight-text-ranges.d.ts} +2 -2
  123. package/types/plugins/search/helpers/index.d.ts +1 -1
  124. package/types/plugins/search/search.d.ts +1 -1
  125. package/types/plugins/speech-recognize/langs/fi.d.ts +9 -0
  126. package/types/plugins/speech-recognize/langs/index.d.ts +2 -1
  127. package/types/plugins/spellcheck/langs/fi.d.ts +1 -0
  128. package/types/plugins/spellcheck/langs/index.d.ts +2 -1
  129. package/types/plugins/symbols/langs/fi.d.ts +1 -0
  130. package/types/plugins/symbols/langs/index.d.ts +2 -1
  131. package/types/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
  132. package/types/tsconfig.json +1 -1
  133. package/types/types/create.d.ts +1 -1
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.0.6
4
+ * Version: v4.0.14
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 awesome and usefully wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.0.6
4
+ * Version: v4.0.14
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 awesome and usefully wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.0.6
4
+ * Version: v4.0.14
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 awesome and usefully wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.0.6
4
+ * Version: v4.0.14
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -543,6 +543,28 @@ module.exports = {
543
543
  };
544
544
 
545
545
 
546
+ /***/ }),
547
+
548
+ /***/ 9994:
549
+ /***/ (function(module) {
550
+
551
+ "use strict";
552
+
553
+ /*!
554
+ * Jodit Editor (https://xdsoft.net/jodit/)
555
+ * Released under MIT see LICENSE.txt in the project root for license information.
556
+ * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
557
+ */
558
+ module.exports = {
559
+ 'Speech Recognize': 'Puheentunnistus',
560
+ newline: 'uusi rivi',
561
+ delete: 'poistaa',
562
+ space: 'tilaa',
563
+ Sound: 'Ääni',
564
+ 'Interim Results': 'Välitulokset'
565
+ };
566
+
567
+
546
568
  /***/ }),
547
569
 
548
570
  /***/ 76305:
@@ -644,21 +666,22 @@ __webpack_require__.r(__webpack_exports__);
644
666
  /* harmony export */ de: function() { return /* reexport module object */ _de_js__WEBPACK_IMPORTED_MODULE_2__; },
645
667
  /* harmony export */ es: function() { return /* reexport module object */ _es_js__WEBPACK_IMPORTED_MODULE_3__; },
646
668
  /* harmony export */ fa: function() { return /* reexport module object */ _fa_js__WEBPACK_IMPORTED_MODULE_4__; },
647
- /* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_5__; },
648
- /* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_6__; },
649
- /* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_7__; },
650
- /* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_8__; },
651
- /* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_9__; },
652
- /* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_10__; },
653
- /* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_11__; },
654
- /* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_12__; },
655
- /* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_13__; },
656
- /* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_14__; },
657
- /* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_15__; },
658
- /* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_16__; },
659
- /* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_17__; },
660
- /* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_18__; },
661
- /* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_19__; }
669
+ /* harmony export */ fi: function() { return /* reexport module object */ _fi_js__WEBPACK_IMPORTED_MODULE_5__; },
670
+ /* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_6__; },
671
+ /* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_7__; },
672
+ /* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_8__; },
673
+ /* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_9__; },
674
+ /* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_10__; },
675
+ /* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_11__; },
676
+ /* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_12__; },
677
+ /* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_13__; },
678
+ /* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_14__; },
679
+ /* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_15__; },
680
+ /* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_16__; },
681
+ /* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_17__; },
682
+ /* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_18__; },
683
+ /* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__; },
684
+ /* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__; }
662
685
  /* harmony export */ });
663
686
  /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(57998);
664
687
  /* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
@@ -670,36 +693,38 @@ __webpack_require__.r(__webpack_exports__);
670
693
  /* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
671
694
  /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6043);
672
695
  /* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
673
- /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(76305);
674
- /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_5__);
675
- /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(45834);
676
- /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_6__);
677
- /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(40509);
678
- /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_7__);
679
- /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(75720);
680
- /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_8__);
681
- /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(88369);
682
- /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_9__);
683
- /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(30878);
684
- /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_10__);
685
- /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(37780);
686
- /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_11__);
687
- /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(4105);
688
- /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_12__);
689
- /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(2589);
690
- /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_13__);
691
- /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(72556);
692
- /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_14__);
693
- /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(11695);
694
- /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_15__);
695
- /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(52415);
696
- /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_16__);
697
- /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(14569);
698
- /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_17__);
699
- /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(58649);
700
- /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_18__);
701
- /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(66040);
702
- /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_19__);
696
+ /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9994);
697
+ /* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
698
+ /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(76305);
699
+ /* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
700
+ /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(45834);
701
+ /* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
702
+ /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(40509);
703
+ /* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
704
+ /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(75720);
705
+ /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
706
+ /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(88369);
707
+ /* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
708
+ /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(30878);
709
+ /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
710
+ /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(37780);
711
+ /* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
712
+ /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(4105);
713
+ /* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
714
+ /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(2589);
715
+ /* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
716
+ /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(72556);
717
+ /* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_15__);
718
+ /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(11695);
719
+ /* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_16__);
720
+ /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(52415);
721
+ /* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_17__);
722
+ /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(14569);
723
+ /* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_18__);
724
+ /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(58649);
725
+ /* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_19__);
726
+ /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(66040);
727
+ /* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_20__);
703
728
  /*!
704
729
  * Jodit Editor (https://xdsoft.net/jodit/)
705
730
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -727,6 +752,7 @@ __webpack_require__.r(__webpack_exports__);
727
752
 
728
753
 
729
754
 
755
+
730
756
 
731
757
 
732
758
  /***/ }),
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.0.6
4
+ * Version: v4.0.14
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
8
8
 
9
9
 
10
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var i in n)("object"==typeof exports?exports:e)[i]=n[i]}}(self,(function(){return(self.webpackChunkjodit=self.webpackChunkjodit||[]).push([[781],{92880:function(e,t,n){"use strict";var i=n(37446),o=n(25920),s=n(88751),r=n(30052),c=n(30043),u=n(17439),a=n(55106),p=n.n(a);i.D.prototype.speechRecognize={api:u.M,sound:!0,continuous:!0,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"}},r.J.set("speech-recognize",p()),i.D.prototype.controls.speechRecognize={isActive:function(e,t){var n=(0,o.q)(e,"speech");return Boolean(null==n?void 0:n.isEnabled)},isDisabled:function(e){return!e.o.speechRecognize.api},exec:function(e,t,n){var i=n.button,r=n.control,u=e.o.speechRecognize,a=u.api,p=u.lang,l=u.continuous,d=u.interimResults,h=u.sound;if(a){var f=(0,o.q)(e,"speech");if(!f){var m=new a;(f=new c.v(e.async,m)).lang=p,f.continuous=l,f.interimResults=d,f.sound=h,(0,o.q)(e,"speech",f),f.on("pulse",(function(e){i.setMod("pulse",e)})),f.on("result",(function(t){return e.e.fire("speechRecognizeResult",t)})),f.on("progress",(function(t){return e.e.fire("speechRecognizeProgressResult",t)})),i.hookStatus("beforeDestruct",(function(){f.destruct()}))}if(r.args){var g=r.args[0];if((0,s.j)(f[g]))return f[g]=!f[g],void(f.isEnabled&&f.restart())}f.toggle(),i.state.activated=f.isEnabled}else e.alert("Speech recognize API unsupported in your browser")},name:"speechRecognize",command:"toggleSpeechRecognize",tooltip:"Speech Recognize",list:{sound:"Sound",interimResults:"Interim Results"},childTemplate:function(e,t,n){var i,s=(0,o.q)(e,"speech"),r=null!==(i=null==s?void 0:s[t])&&void 0!==i?i:e.o.speechRecognize[t];return"<span class='jodit-speech-recognize__list-item'><input ".concat(r?"checked":""," class='jodit-checkbox' type='checkbox'>&nbsp;").concat(n,"</span>")},mods:{stroke:!1}}},16618:function(e,t,n){"use strict";n.d(t,{n:function(){return i},u:function(){return o}});var i=440,o=940},17439:function(e,t,n){"use strict";n.d(t,{M:function(){return i}});var i=window.SpeechRecognition||window.webkitSpeechRecognition},87885:function(e,t,n){"use strict";n.d(t,{c:function(){return o}});var i=n(97582);function o(e,t){var n=(0,i.CR)(t.split("::"),2);e.execCommand(n[0],null,n[1])}},30043:function(e,t,n){"use strict";n.d(t,{v:function(){return u}});var i=n(97582),o=n(3569),s=n(13666),r=n(16618),c=n(55486),u=function(e){function t(t,i){var o=e.call(this)||this;return o.async=t,o._continuous=!1,o._interimResults=!1,o.sound=!0,o._isEnabled=!1,o._restartTimeout=0,o._onSpeechStart=function(e){o._isEnabled&&(o.async.clearTimeout(o._restartTimeout),o._restartTimeout=o.async.setTimeout((function(){o.restart(),o.emit("pulse",!1),o._makeSound(r.u)}),5e3),o.emit("pulse",!0))},o._progressTimeout=0,o._api=i,n._instances.add(o),o}var n;return(0,i.ZT)(t,e),n=t,Object.defineProperty(t.prototype,"lang",{get:function(){return this._lang},set:function(e){this._lang=e,this._api.lang=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"continuous",{get:function(){return this._continuous},set:function(e){this._continuous=e,this._api.continuous=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"interimResults",{get:function(){return this._interimResults},set:function(e){this._interimResults=e,this._api.interimResults=e},enumerable:!1,configurable:!0}),t.prototype.destruct=function(){this.stop(),n._instances.delete(this),e.prototype.destruct.call(this)},Object.defineProperty(t.prototype,"isEnabled",{get:function(){return this._isEnabled},enumerable:!1,configurable:!0}),t.prototype.start=function(){var e=this;this._isEnabled||(this._isEnabled=!0,n._instances.forEach((function(t){t!==e&&t.stop()})),this._api.start(),this.__on("speechstart",this._onSpeechStart).__on("error",this._onError).__on("result",this._onResult))},t.prototype.stop=function(){if(this._isEnabled){try{this._api.abort(),this._api.stop()}catch(e){}this.__off("speechstart",this._onSpeechStart).__off("error",this._onError).__off("result",this._onResult),this.async.clearTimeout(this._restartTimeout),this._isEnabled=!1,this.emit("pulse",!1)}},t.prototype.toggle=function(){this._isEnabled?this.stop():this.start()},t.prototype.restart=function(){this.stop(),this.start()},t.prototype.__on=function(e,t){return this._api.addEventListener(e,t),this},t.prototype.__off=function(e,t){return this._api.removeEventListener(e,t),this},t.prototype._onResult=function(e){var t=this;if(this._isEnabled){this.async.clearTimeout(this._progressTimeout);var n=e.results.item(e.resultIndex),i=n.item(0).transcript,o=function(){try{t.async.clearTimeout(t._restartTimeout),t.emit("result",i)}catch(e){}t.restart(),t.emit("pulse",!1),t._makeSound(r.n)};if(!1===n.isFinal)return this.emit("progress",i),void(this._progressTimeout=this.async.setTimeout(o,500));o()}},t.prototype._onError=function(){this._isEnabled&&(this._makeSound(r.u),this.emit("pulse",!1),this.restart())},t.prototype._makeSound=function(e){this.sound&&(0,c.e)({frequency:e})},t._instances=new Set,n=(0,i.gn)([s.autobind],t)}(o.a)},55486:function(e,t,n){"use strict";n.d(t,{e:function(){return o}});var i=n(16618);function o(e){var t=void 0===e?{}:e,n=t.sec,o=void 0===n?.1:n,s=t.frequency,r=void 0===s?i.n:s,c=t.gain,u=void 0===c?.1:c,a=t.type,p=void 0===a?"sine":a;if(void 0!==window.AudioContext||void 0!==window.webkitAudioContext){var l=new(window.AudioContext||window.webkitAudioContext),d=l.createGain(),h=l.createOscillator();h.type=p,h.frequency.value=r,h.connect(d),d.connect(l.destination),h.start(),h.stop(l.currentTime+o),d.gain.value=u}}},57998:function(e){"use strict";e.exports={newline:"الخط الجديد",delete:"حذف",space:"الفضاء","Speech Recognize":"التعرف على الكلام",Sound:"الصوت","Interim Results":"النتائج المؤقتة"}},90833:function(e){"use strict";e.exports={newline:"řádek",delete:"odstranit",space:"prostora","Speech Recognize":"Rozpoznání Řeči",Sound:"Zvuk","Interim Results":"Průběžné Výsledky"}},36373:function(e){"use strict";e.exports={newline:"Zeilenumbruch",delete:"löschen",space:"Raum","Speech Recognize":"Sprache Erkennen",Sound:"Sound","Interim Results":"Zwischenergebnis"}},97192:function(e){"use strict";e.exports={newline:"nueva línea",delete:"eliminar",space:"espacio","Speech Recognize":"Reconocimiento de Voz",Sound:"Sonido","Interim Results":"Resultados Provisionales"}},6043:function(e){"use strict";e.exports={newline:"خط جدید",delete:"حذف",space:"فضا","Speech Recognize":"گفتار را تشخیص دهید",Sound:"صدا","Interim Results":"نتایج موقت"}},76305:function(e){"use strict";e.exports={newline:"nouvelle ligne",delete:"supprimer",space:"espace","Speech Recognize":"Reconnaissance Vocale",Sound:"Son","Interim Results":"Résultats Intermédiaires"}},45834:function(e){"use strict";e.exports={newline:"חדשות",delete:"מחק",space:"שטח","Speech Recognize":"דיבור מזהה",Sound:"קול","Interim Results":"תוצאות ביניים"}},40509:function(e){"use strict";e.exports={newline:"újsor",delete:"törlés",space:"tér","Speech Recognize":"A Beszéd Felismeri",Sound:"Hang","Interim Results":"Időközi Eredmények"}},75720:function(e){"use strict";e.exports={newline:"newline",delete:"Hapus",space:"ruang","Speech Recognize":"Pidato Mengenali",Sound:"Suara","Interim Results":"Hasil Sementara"}},75813:function(e,t,n){"use strict";n.r(t),n.d(t,{ar:function(){return i},cs_cz:function(){return o},de:function(){return s},es:function(){return r},fa:function(){return c},fr:function(){return u},he:function(){return a},hu:function(){return p},id:function(){return l},it:function(){return d},ja:function(){return h},ko:function(){return f},mn:function(){return m},nl:function(){return g},pl:function(){return R},pt_br:function(){return _},ru:function(){return S},tr:function(){return v},zh_cn:function(){return w},zh_tw:function(){return z}});var i=n(57998),o=n(90833),s=n(36373),r=n(97192),c=n(6043),u=n(76305),a=n(45834),p=n(40509),l=n(75720),d=n(88369),h=n(30878),f=n(37780),m=n(4105),g=n(2589),R=n(72556),_=n(11695),S=n(52415),v=n(14569),w=n(58649),z=n(66040)},88369:function(e){"use strict";e.exports={newline:"nuova riga",delete:"eliminare",space:"spazio","Speech Recognize":"Discorso Riconoscere",Sound:"Suono","Interim Results":"Risultati intermedi"}},30878:function(e){"use strict";e.exports={newline:"改行",delete:"削除",space:"スペース","Speech Recognize":"音声認識",Sound:"音","Interim Results":"中間結果"}},37780:function(e){"use strict";e.exports={newline:"줄 바꿈",delete:"삭제",space:"공간","Speech Recognize":"음성 인식",Sound:"소리","Interim Results":"중간 결과"}},4105:function(e){"use strict";e.exports={newline:"Шинэ мөр",delete:"Устгах",space:"Зай","Speech Recognize":"Дуу хоолой таних",Sound:"Дуу","Interim Results":"Түр зуурын үр дүн"}},2589:function(e){"use strict";e.exports={newline:"regel",delete:"verwijderen",space:"ruimte","Speech Recognize":"Spraak Herkennen",Sound:"Geluid","Interim Results":"Tussentijdse Resultaten"}},72556:function(e){"use strict";e.exports={newline:"newline",delete:"usunąć",space:"przestrzeń","Speech Recognize":"Rozpoznawanie Mowy",Sound:"Dźwięk","Interim Results":"Wyniki Okresowe"}},11695:function(e){"use strict";e.exports={newline:"linha",delete:"excluir",space:"espaco","Speech Recognize":"Discurso Reconhecer",Sound:"Som","Interim Results":"Resultados Provisórios"}},52415:function(e){"use strict";e.exports={newline:"новая строка|перенос|энтер",delete:"удалить",space:"пробел","Speech Recognize":"Распознавание речи",Sound:"Звук","Interim Results":"Промежуточные результаты"}},14569:function(e){"use strict";e.exports={newline:"yeni satır",delete:"silmek",space:"uzay","Speech Recognize":"Konuşma Tanıma",Sound:"Ses","Interim Results":"Ara Sonuçlar"}},58649:function(e){"use strict";e.exports={newline:"新行",delete:"删除",space:"空间","Speech Recognize":"言语识别",Sound:"声音","Interim Results":"中期业绩"}},66040:function(e){"use strict";e.exports={newline:"換行",delete:"刪除",space:"空白","Speech Recognize":"語音辨識",Sound:"聲音","Interim Results":"階段性辨識結果"}},71327:function(e,t,n){"use strict";n.r(t),n.d(t,{SpeechRecognizeNative:function(){return h}});var i=n(97582),o=n(7331),s=n(69082),r=n(87398),c=n(79102),u=n(9162),a=n(62294),p=n(44380),l=n(87885),d=n(75813),h=(n(92880),function(e){function t(t){var n=e.call(this,t)||this;return n._commandToWord={},t.o.speechRecognize.api&&t.registerButton({group:"state",name:"speechRecognize"}),n}return(0,i.ZT)(t,e),t.prototype.afterInit=function(e){var t=this,n=e.o.speechRecognize.commands;n&&((0,c.xl)(d),(0,r.XP)(n,!1).forEach((function(i){i.split("|").forEach((function(o){o=o.trim().toLowerCase(),t._commandToWord[o]=n[i];var s=e.i18n(o);s!==o&&s.split("|").forEach((function(e){t._commandToWord[e.trim().toLowerCase()]=n[i].trim()}))}))})))},t.prototype.beforeDestruct=function(e){},t.prototype.onSpeechRecognizeProgressResult=function(e){var t=this;this.messagePopup||(this.messagePopup=this.j.create.div("jodit-speech-recognize__popup")),this.j.workplace.appendChild(this.messagePopup),this.j.async.setTimeout((function(){u.i.safeRemove(t.messagePopup)}),{label:"onSpeechRecognizeProgressResult",timeout:1e3}),this.messagePopup.innerText=e+"|"},t.prototype.onSpeechRecognizeResult=function(e){var t=this.j,n=t.s;if(u.i.safeRemove(this.messagePopup),!this._checkCommand(e)){var i=n.range,o=n.current();if(n.isCollapsed()&&u.i.isText(o)&&u.i.isOrContains(t.editor,o)&&o.nodeValue){var s=o.nodeValue;o.nodeValue=s+(/[\u00A0 ]\uFEFF*$/.test(s)?"":" ")+e,i.setStartAfter(o),n.selectRange(i),t.synchronizeValues()}else n.insertHTML(e)}},t.prototype._checkCommand=function(e){return e=e.toLowerCase().replace(/\./g,""),!!this._commandToWord[e]&&((0,l.c)(this.j,this._commandToWord[e]),!0)},(0,i.gn)([(0,s.YP)(":speechRecognizeProgressResult"),(0,a.D)()],t.prototype,"onSpeechRecognizeProgressResult",null),(0,i.gn)([(0,s.YP)(":speechRecognizeResult")],t.prototype,"onSpeechRecognizeResult",null),t}(o.S));p.h.plugins.add("speech-recognize",h)},55106: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=71327)}])}));
10
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var i in n)("object"==typeof exports?exports:e)[i]=n[i]}}(self,(function(){return(self.webpackChunkjodit=self.webpackChunkjodit||[]).push([[781],{92880:function(e,t,n){"use strict";var i=n(37446),o=n(25920),s=n(88751),r=n(30052),u=n(30043),c=n(17439),a=n(55106),p=n.n(a);i.D.prototype.speechRecognize={api:c.M,sound:!0,continuous:!0,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"}},r.J.set("speech-recognize",p()),i.D.prototype.controls.speechRecognize={isActive:function(e,t){var n=(0,o.q)(e,"speech");return Boolean(null==n?void 0:n.isEnabled)},isDisabled:function(e){return!e.o.speechRecognize.api},exec:function(e,t,n){var i=n.button,r=n.control,c=e.o.speechRecognize,a=c.api,p=c.lang,l=c.continuous,d=c.interimResults,h=c.sound;if(a){var f=(0,o.q)(e,"speech");if(!f){var m=new a;(f=new u.v(e.async,m)).lang=p,f.continuous=l,f.interimResults=d,f.sound=h,(0,o.q)(e,"speech",f),f.on("pulse",(function(e){i.setMod("pulse",e)})),f.on("result",(function(t){return e.e.fire("speechRecognizeResult",t)})),f.on("progress",(function(t){return e.e.fire("speechRecognizeProgressResult",t)})),i.hookStatus("beforeDestruct",(function(){f.destruct()}))}if(r.args){var g=r.args[0];if((0,s.j)(f[g]))return f[g]=!f[g],void(f.isEnabled&&f.restart())}f.toggle(),i.state.activated=f.isEnabled}else e.alert("Speech recognize API unsupported in your browser")},name:"speechRecognize",command:"toggleSpeechRecognize",tooltip:"Speech Recognize",list:{sound:"Sound",interimResults:"Interim Results"},childTemplate:function(e,t,n){var i,s=(0,o.q)(e,"speech"),r=null!==(i=null==s?void 0:s[t])&&void 0!==i?i:e.o.speechRecognize[t];return"<span class='jodit-speech-recognize__list-item'><input ".concat(r?"checked":""," class='jodit-checkbox' type='checkbox'>&nbsp;").concat(n,"</span>")},mods:{stroke:!1}}},16618:function(e,t,n){"use strict";n.d(t,{n:function(){return i},u:function(){return o}});var i=440,o=940},17439:function(e,t,n){"use strict";n.d(t,{M:function(){return i}});var i=window.SpeechRecognition||window.webkitSpeechRecognition},87885:function(e,t,n){"use strict";n.d(t,{c:function(){return o}});var i=n(97582);function o(e,t){var n=(0,i.CR)(t.split("::"),2);e.execCommand(n[0],null,n[1])}},30043:function(e,t,n){"use strict";n.d(t,{v:function(){return c}});var i=n(97582),o=n(3569),s=n(13666),r=n(16618),u=n(55486),c=function(e){function t(t,i){var o=e.call(this)||this;return o.async=t,o._continuous=!1,o._interimResults=!1,o.sound=!0,o._isEnabled=!1,o._restartTimeout=0,o._onSpeechStart=function(e){o._isEnabled&&(o.async.clearTimeout(o._restartTimeout),o._restartTimeout=o.async.setTimeout((function(){o.restart(),o.emit("pulse",!1),o._makeSound(r.u)}),5e3),o.emit("pulse",!0))},o._progressTimeout=0,o._api=i,n._instances.add(o),o}var n;return(0,i.ZT)(t,e),n=t,Object.defineProperty(t.prototype,"lang",{get:function(){return this._lang},set:function(e){this._lang=e,this._api.lang=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"continuous",{get:function(){return this._continuous},set:function(e){this._continuous=e,this._api.continuous=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"interimResults",{get:function(){return this._interimResults},set:function(e){this._interimResults=e,this._api.interimResults=e},enumerable:!1,configurable:!0}),t.prototype.destruct=function(){this.stop(),n._instances.delete(this),e.prototype.destruct.call(this)},Object.defineProperty(t.prototype,"isEnabled",{get:function(){return this._isEnabled},enumerable:!1,configurable:!0}),t.prototype.start=function(){var e=this;this._isEnabled||(this._isEnabled=!0,n._instances.forEach((function(t){t!==e&&t.stop()})),this._api.start(),this.__on("speechstart",this._onSpeechStart).__on("error",this._onError).__on("result",this._onResult))},t.prototype.stop=function(){if(this._isEnabled){try{this._api.abort(),this._api.stop()}catch(e){}this.__off("speechstart",this._onSpeechStart).__off("error",this._onError).__off("result",this._onResult),this.async.clearTimeout(this._restartTimeout),this._isEnabled=!1,this.emit("pulse",!1)}},t.prototype.toggle=function(){this._isEnabled?this.stop():this.start()},t.prototype.restart=function(){this.stop(),this.start()},t.prototype.__on=function(e,t){return this._api.addEventListener(e,t),this},t.prototype.__off=function(e,t){return this._api.removeEventListener(e,t),this},t.prototype._onResult=function(e){var t=this;if(this._isEnabled){this.async.clearTimeout(this._progressTimeout);var n=e.results.item(e.resultIndex),i=n.item(0).transcript,o=function(){try{t.async.clearTimeout(t._restartTimeout),t.emit("result",i)}catch(e){}t.restart(),t.emit("pulse",!1),t._makeSound(r.n)};if(!1===n.isFinal)return this.emit("progress",i),void(this._progressTimeout=this.async.setTimeout(o,500));o()}},t.prototype._onError=function(){this._isEnabled&&(this._makeSound(r.u),this.emit("pulse",!1),this.restart())},t.prototype._makeSound=function(e){this.sound&&(0,u.e)({frequency:e})},t._instances=new Set,n=(0,i.gn)([s.autobind],t)}(o.a)},55486:function(e,t,n){"use strict";n.d(t,{e:function(){return o}});var i=n(16618);function o(e){var t=void 0===e?{}:e,n=t.sec,o=void 0===n?.1:n,s=t.frequency,r=void 0===s?i.n:s,u=t.gain,c=void 0===u?.1:u,a=t.type,p=void 0===a?"sine":a;if(void 0!==window.AudioContext||void 0!==window.webkitAudioContext){var l=new(window.AudioContext||window.webkitAudioContext),d=l.createGain(),h=l.createOscillator();h.type=p,h.frequency.value=r,h.connect(d),d.connect(l.destination),h.start(),h.stop(l.currentTime+o),d.gain.value=c}}},57998:function(e){"use strict";e.exports={newline:"الخط الجديد",delete:"حذف",space:"الفضاء","Speech Recognize":"التعرف على الكلام",Sound:"الصوت","Interim Results":"النتائج المؤقتة"}},90833:function(e){"use strict";e.exports={newline:"řádek",delete:"odstranit",space:"prostora","Speech Recognize":"Rozpoznání Řeči",Sound:"Zvuk","Interim Results":"Průběžné Výsledky"}},36373:function(e){"use strict";e.exports={newline:"Zeilenumbruch",delete:"löschen",space:"Raum","Speech Recognize":"Sprache Erkennen",Sound:"Sound","Interim Results":"Zwischenergebnis"}},97192:function(e){"use strict";e.exports={newline:"nueva línea",delete:"eliminar",space:"espacio","Speech Recognize":"Reconocimiento de Voz",Sound:"Sonido","Interim Results":"Resultados Provisionales"}},6043:function(e){"use strict";e.exports={newline:"خط جدید",delete:"حذف",space:"فضا","Speech Recognize":"گفتار را تشخیص دهید",Sound:"صدا","Interim Results":"نتایج موقت"}},9994:function(e){"use strict";e.exports={"Speech Recognize":"Puheentunnistus",newline:"uusi rivi",delete:"poistaa",space:"tilaa",Sound:"Ääni","Interim Results":"Välitulokset"}},76305:function(e){"use strict";e.exports={newline:"nouvelle ligne",delete:"supprimer",space:"espace","Speech Recognize":"Reconnaissance Vocale",Sound:"Son","Interim Results":"Résultats Intermédiaires"}},45834:function(e){"use strict";e.exports={newline:"חדשות",delete:"מחק",space:"שטח","Speech Recognize":"דיבור מזהה",Sound:"קול","Interim Results":"תוצאות ביניים"}},40509:function(e){"use strict";e.exports={newline:"újsor",delete:"törlés",space:"tér","Speech Recognize":"A Beszéd Felismeri",Sound:"Hang","Interim Results":"Időközi Eredmények"}},75720:function(e){"use strict";e.exports={newline:"newline",delete:"Hapus",space:"ruang","Speech Recognize":"Pidato Mengenali",Sound:"Suara","Interim Results":"Hasil Sementara"}},75813:function(e,t,n){"use strict";n.r(t),n.d(t,{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 p},hu:function(){return l},id:function(){return d},it:function(){return h},ja:function(){return f},ko:function(){return m},mn:function(){return g},nl:function(){return R},pl:function(){return _},pt_br:function(){return S},ru:function(){return v},tr:function(){return w},zh_cn:function(){return z},zh_tw:function(){return y}});var i=n(57998),o=n(90833),s=n(36373),r=n(97192),u=n(6043),c=n(9994),a=n(76305),p=n(45834),l=n(40509),d=n(75720),h=n(88369),f=n(30878),m=n(37780),g=n(4105),R=n(2589),_=n(72556),S=n(11695),v=n(52415),w=n(14569),z=n(58649),y=n(66040)},88369:function(e){"use strict";e.exports={newline:"nuova riga",delete:"eliminare",space:"spazio","Speech Recognize":"Discorso Riconoscere",Sound:"Suono","Interim Results":"Risultati intermedi"}},30878:function(e){"use strict";e.exports={newline:"改行",delete:"削除",space:"スペース","Speech Recognize":"音声認識",Sound:"音","Interim Results":"中間結果"}},37780:function(e){"use strict";e.exports={newline:"줄 바꿈",delete:"삭제",space:"공간","Speech Recognize":"음성 인식",Sound:"소리","Interim Results":"중간 결과"}},4105:function(e){"use strict";e.exports={newline:"Шинэ мөр",delete:"Устгах",space:"Зай","Speech Recognize":"Дуу хоолой таних",Sound:"Дуу","Interim Results":"Түр зуурын үр дүн"}},2589:function(e){"use strict";e.exports={newline:"regel",delete:"verwijderen",space:"ruimte","Speech Recognize":"Spraak Herkennen",Sound:"Geluid","Interim Results":"Tussentijdse Resultaten"}},72556:function(e){"use strict";e.exports={newline:"newline",delete:"usunąć",space:"przestrzeń","Speech Recognize":"Rozpoznawanie Mowy",Sound:"Dźwięk","Interim Results":"Wyniki Okresowe"}},11695:function(e){"use strict";e.exports={newline:"linha",delete:"excluir",space:"espaco","Speech Recognize":"Discurso Reconhecer",Sound:"Som","Interim Results":"Resultados Provisórios"}},52415:function(e){"use strict";e.exports={newline:"новая строка|перенос|энтер",delete:"удалить",space:"пробел","Speech Recognize":"Распознавание речи",Sound:"Звук","Interim Results":"Промежуточные результаты"}},14569:function(e){"use strict";e.exports={newline:"yeni satır",delete:"silmek",space:"uzay","Speech Recognize":"Konuşma Tanıma",Sound:"Ses","Interim Results":"Ara Sonuçlar"}},58649:function(e){"use strict";e.exports={newline:"新行",delete:"删除",space:"空间","Speech Recognize":"言语识别",Sound:"声音","Interim Results":"中期业绩"}},66040:function(e){"use strict";e.exports={newline:"換行",delete:"刪除",space:"空白","Speech Recognize":"語音辨識",Sound:"聲音","Interim Results":"階段性辨識結果"}},71327:function(e,t,n){"use strict";n.r(t),n.d(t,{SpeechRecognizeNative:function(){return h}});var i=n(97582),o=n(7331),s=n(69082),r=n(87398),u=n(79102),c=n(9162),a=n(62294),p=n(44380),l=n(87885),d=n(75813),h=(n(92880),function(e){function t(t){var n=e.call(this,t)||this;return n._commandToWord={},t.o.speechRecognize.api&&t.registerButton({group:"state",name:"speechRecognize"}),n}return(0,i.ZT)(t,e),t.prototype.afterInit=function(e){var t=this,n=e.o.speechRecognize.commands;n&&((0,u.xl)(d),(0,r.XP)(n,!1).forEach((function(i){i.split("|").forEach((function(o){o=o.trim().toLowerCase(),t._commandToWord[o]=n[i];var s=e.i18n(o);s!==o&&s.split("|").forEach((function(e){t._commandToWord[e.trim().toLowerCase()]=n[i].trim()}))}))})))},t.prototype.beforeDestruct=function(e){},t.prototype.onSpeechRecognizeProgressResult=function(e){var t=this;this.messagePopup||(this.messagePopup=this.j.create.div("jodit-speech-recognize__popup")),this.j.workplace.appendChild(this.messagePopup),this.j.async.setTimeout((function(){c.i.safeRemove(t.messagePopup)}),{label:"onSpeechRecognizeProgressResult",timeout:1e3}),this.messagePopup.innerText=e+"|"},t.prototype.onSpeechRecognizeResult=function(e){var t=this.j,n=t.s;if(c.i.safeRemove(this.messagePopup),!this._checkCommand(e)){var i=n.range,o=n.current();if(n.isCollapsed()&&c.i.isText(o)&&c.i.isOrContains(t.editor,o)&&o.nodeValue){var s=o.nodeValue;o.nodeValue=s+(/[\u00A0 ]\uFEFF*$/.test(s)?"":" ")+e,i.setStartAfter(o),n.selectRange(i),t.synchronizeValues()}else n.insertHTML(e)}},t.prototype._checkCommand=function(e){return e=e.toLowerCase().replace(/\./g,""),!!this._commandToWord[e]&&((0,l.c)(this.j,this._commandToWord[e]),!0)},(0,i.gn)([(0,s.YP)(":speechRecognizeProgressResult"),(0,a.D)()],t.prototype,"onSpeechRecognizeProgressResult",null),(0,i.gn)([(0,s.YP)(":speechRecognizeResult")],t.prototype,"onSpeechRecognizeResult",null),t}(o.S));p.h.plugins.add("speech-recognize",h)},55106: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=71327)}])}));
@@ -56,7 +56,7 @@ export declare class Async implements IAsync {
56
56
  private requestsIdle;
57
57
  private requestsRaf;
58
58
  private requestIdleCallbackNative;
59
- private cancelIdleCallbackNative;
59
+ private __cancelIdleCallbackNative;
60
60
  requestIdleCallback(callback: IdleRequestCallback, options?: {
61
61
  timeout: number;
62
62
  }): number;
@@ -31,7 +31,7 @@ export class Async {
31
31
  });
32
32
  }, options?.timeout ?? 1);
33
33
  });
34
- this.cancelIdleCallbackNative = window['cancelIdleCallback']?.bind(window) ??
34
+ this.__cancelIdleCallbackNative = window['cancelIdleCallback']?.bind(window) ??
35
35
  ((request) => {
36
36
  this.clearTimeout(request);
37
37
  });
@@ -257,7 +257,7 @@ export class Async {
257
257
  }
258
258
  cancelIdleCallback(request) {
259
259
  this.requestsIdle.delete(request);
260
- return this.cancelIdleCallbackNative(request);
260
+ return this.__cancelIdleCallbackNative(request);
261
261
  }
262
262
  requestAnimationFrame(callback) {
263
263
  const request = requestAnimationFrame(callback);
@@ -3,7 +3,7 @@
3
3
  * Released under MIT see LICENSE.txt in the project root for license information.
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
- export const APP_VERSION = "4.0.6";
6
+ export const APP_VERSION = "4.0.14";
7
7
  // prettier-ignore
8
8
  export const ES = "es2020";
9
9
  export const IS_ES_MODERN = true;
@@ -53,7 +53,7 @@ export declare class Create implements ICreate {
53
53
  * });
54
54
  * ```
55
55
  */
56
- fromHTML(html: string | number, refsToggleElement?: IDictionary<boolean | void>): HTMLElement;
56
+ fromHTML<T extends HTMLElement>(html: string | number, refsToggleElement?: IDictionary<boolean | void>): T;
57
57
  /**
58
58
  * Apply to element `createAttributes` options
59
59
  */
@@ -12,10 +12,6 @@ export interface CallbackAndElement {
12
12
  callback: EventListener;
13
13
  element: HTMLElement;
14
14
  }
15
- /**
16
- * Append script in document and call callback function after download
17
- */
18
- export declare const appendScript: (jodit: IViewBased, url: string, callback: (this: HTMLElement, e?: Event) => any) => CallbackAndElement;
19
15
  /**
20
16
  * Load script and return promise
21
17
  */
@@ -24,5 +20,5 @@ export declare const appendScriptAsync: Loader;
24
20
  * Download CSS style script
25
21
  */
26
22
  export declare const appendStyleAsync: Loader;
27
- export declare const loadNext: (jodit: IViewBased, urls: string[], i?: number) => Promise<void>;
23
+ export declare function loadNext(jodit: IViewBased, urls: string[], i?: number): Promise<void>;
28
24
  export declare function loadNextStyle(jodit: IViewBased, urls: string[], i?: number): Promise<void>;
@@ -4,7 +4,6 @@
4
4
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
5
  */
6
6
  import { completeUrl } from "./complete-url";
7
- import { isFunction } from "jodit/esm/core/helpers/checker/is-function.js";
8
7
  import { isString } from "jodit/esm/core/helpers/checker/is-string.js";
9
8
  const alreadyLoadedList = new Map();
10
9
  const cacheLoaders = (loader) => {
@@ -17,44 +16,30 @@ const cacheLoaders = (loader) => {
17
16
  return promise;
18
17
  };
19
18
  };
20
- /**
21
- * Append script in document and call callback function after download
22
- */
23
- export const appendScript = (jodit, url, callback) => {
24
- const script = jodit.c.element('script');
25
- script.type = 'text/javascript';
26
- script.async = true;
27
- if (isFunction(callback) && !jodit.isInDestruct) {
28
- jodit.e.on(script, 'load', callback);
29
- }
30
- if (!script.src) {
31
- script.src = completeUrl(url);
32
- }
33
- jodit.od.body.appendChild(script);
34
- return {
35
- callback,
36
- element: script
37
- };
38
- };
39
19
  /**
40
20
  * Load script and return promise
41
21
  */
42
22
  export const appendScriptAsync = cacheLoaders((jodit, url) => {
43
- return new Promise((resolve, reject) => {
23
+ return jodit.async.promise((resolve, reject) => {
44
24
  if (jodit.isInDestruct) {
45
- return;
25
+ return reject();
46
26
  }
47
- const { element } = appendScript(jodit, url, resolve);
48
- !jodit.isInDestruct && jodit.e.on(element, 'error', reject);
27
+ const script = jodit.c.element('script', {
28
+ type: 'text/javascript',
29
+ async: true,
30
+ src: completeUrl(url)
31
+ });
32
+ jodit.od.body.appendChild(script);
33
+ jodit.e.on(script, 'error', reject).on(script, 'load', resolve);
49
34
  });
50
35
  });
51
36
  /**
52
37
  * Download CSS style script
53
38
  */
54
39
  export const appendStyleAsync = cacheLoaders((jodit, url) => {
55
- return new Promise((resolve, reject) => {
40
+ return jodit.async.promise((resolve, reject) => {
56
41
  if (jodit.isInDestruct) {
57
- return;
42
+ return reject();
58
43
  }
59
44
  const link = jodit.c.element('link');
60
45
  link.rel = 'stylesheet';
@@ -72,12 +57,12 @@ export const appendStyleAsync = cacheLoaders((jodit, url) => {
72
57
  }
73
58
  });
74
59
  });
75
- export const loadNext = (jodit, urls, i = 0) => {
60
+ export function loadNext(jodit, urls, i = 0) {
76
61
  if (!isString(urls[i])) {
77
62
  return Promise.resolve();
78
63
  }
79
64
  return appendScriptAsync(jodit, urls[i]).then(() => loadNext(jodit, urls, i + 1));
80
- };
65
+ }
81
66
  export function loadNextStyle(jodit, urls, i = 0) {
82
67
  if (!isString(urls[i])) {
83
68
  return Promise.resolve();
@@ -14,4 +14,4 @@ export declare function loadStyle(jodit: IJodit, pluginName: string): Promise<vo
14
14
  /**
15
15
  * @private
16
16
  */
17
- export declare function loadExtras(items: Map<string, PluginType>, jodit: IJodit, extrasList: IExtraPlugin[], callback: () => void): void;
17
+ export declare function loadExtras(items: Map<string, PluginType>, jodit: IJodit, extraList: IExtraPlugin[], callback: () => void): void;
@@ -36,9 +36,9 @@ function getFullUrl(jodit, name, js) {
36
36
  /**
37
37
  * @private
38
38
  */
39
- export function loadExtras(items, jodit, extrasList, callback) {
39
+ export function loadExtras(items, jodit, extraList, callback) {
40
40
  try {
41
- const needLoadExtras = extrasList.filter(extra => !items.has(normalizeName(extra.name)));
41
+ const needLoadExtras = extraList.filter(extra => !items.has(normalizeName(extra.name)));
42
42
  if (needLoadExtras.length) {
43
43
  load(jodit, needLoadExtras, callback);
44
44
  }
@@ -60,7 +60,7 @@ export class PluginSystem {
60
60
  * Public method for async init all plugins
61
61
  */
62
62
  __init(jodit) {
63
- const { extrasList, disableList, filter } = getSpecialLists(jodit);
63
+ const { extraList, disableList, filter } = getSpecialLists(jodit);
64
64
  const doneList = new Map();
65
65
  const pluginsMap = {};
66
66
  const waitingList = new Set();
@@ -99,8 +99,8 @@ export class PluginSystem {
99
99
  initPlugins();
100
100
  }
101
101
  };
102
- if (!extrasList || !extrasList.length) {
103
- loadExtras(this.__items, jodit, extrasList, initPlugins);
102
+ if (extraList && extraList.length) {
103
+ loadExtras(this.__items, jodit, extraList, initPlugins);
104
104
  }
105
105
  initPlugins();
106
106
  bindOnBeforeDestruct(jodit, pluginsMap);
@@ -140,8 +140,8 @@ function bindOnBeforeDestruct(jodit, plugins) {
140
140
  });
141
141
  }
142
142
  function getSpecialLists(jodit) {
143
- const extrasList = jodit.o.extraPlugins.map(s => isString(s) ? { name: s } : s);
143
+ const extraList = jodit.o.extraPlugins.map(s => isString(s) ? { name: s } : s);
144
144
  const disableList = new Set(splitArray(jodit.o.disablePlugins).map(normalizeName));
145
145
  const filter = jodit.o.safeMode ? new Set(jodit.o.safePluginsList) : null;
146
- return { extrasList, disableList, filter };
146
+ return { extraList, disableList, filter };
147
147
  }
@@ -49,7 +49,11 @@ export class Plugin extends ViewComponent {
49
49
  this.afterInit(this.jodit);
50
50
  }
51
51
  init(jodit) {
52
- // empty
52
+ if (this.jodit.isReady) {
53
+ this.afterInit(this.jodit);
54
+ this.__afterPluginSystemInit();
55
+ this.jodit.e.fire('rebuildToolbar');
56
+ }
53
57
  }
54
58
  __beforeDestruct() {
55
59
  if (this.isInDestruct) {
@@ -82,6 +82,7 @@ export class Popup extends UIGroup {
82
82
  */
83
83
  open(getBound, keepPosition = false, parentContainer) {
84
84
  markOwner(this.jodit, this.container);
85
+ this.container.classList.add(`jodit_theme_${this.jodit.o.theme}`);
85
86
  this.__calculateZIndex();
86
87
  this.isOpened = true;
87
88
  this.__addGlobalListeners();
@@ -24,7 +24,7 @@ import { Dom } from "jodit/esm/core/dom/index.js";
24
24
  import { makeCollection } from "jodit/esm/modules/toolbar/factory.js";
25
25
  import { STATUSES } from "jodit/esm/core/component/index.js";
26
26
  import { isButtonGroup } from "jodit/esm/core/ui/helpers/buttons.js";
27
- import { autobind } from "jodit/esm/core/decorators/index.js";
27
+ import { autobind, watch } from "jodit/esm/core/decorators/index.js";
28
28
  export class ViewWithToolbar extends View {
29
29
  /**
30
30
  * Container for toolbar
@@ -141,6 +141,9 @@ export class ViewWithToolbar extends View {
141
141
  super.destruct();
142
142
  }
143
143
  }
144
+ __decorate([
145
+ watch(':rebuildToolbar')
146
+ ], ViewWithToolbar.prototype, "buildToolbar", null);
144
147
  __decorate([
145
148
  autobind
146
149
  ], ViewWithToolbar.prototype, "beforeToolbarBuild", null);