jodit 4.0.6 → 4.0.13
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 +15 -5
- package/es2015/jodit.css +19 -19
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +633 -529
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +2 -2
- 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 +72 -46
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2018/jodit.css +19 -19
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +633 -529
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.js +1 -1
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +72 -46
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021/jodit.css +19 -19
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +632 -528
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +2 -2
- 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 +72 -46
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021.en/jodit.css +19 -19
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +333 -313
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +2 -2
- 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 +25 -19
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +646 -542
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- 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 +72 -46
- package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/esm/core/async/async.d.ts +1 -1
- package/esm/core/async/async.js +2 -2
- package/esm/core/constants.js +1 -1
- package/esm/core/create/create.d.ts +1 -1
- package/esm/core/helpers/utils/append-script.d.ts +1 -5
- package/esm/core/helpers/utils/append-script.js +13 -28
- package/esm/core/plugin/helpers/load.d.ts +1 -1
- package/esm/core/plugin/helpers/load.js +2 -2
- package/esm/core/plugin/plugin-system.js +5 -5
- package/esm/core/plugin/plugin.js +5 -1
- package/esm/core/ui/popup/popup.js +1 -0
- package/esm/core/view/view-with-toolbar.js +4 -1
- package/esm/langs/fi.d.ts +218 -0
- package/esm/langs/fi.js +231 -0
- package/esm/languages.js +2 -0
- package/esm/plugins/add-new-line/add-new-line.d.ts +14 -14
- package/esm/plugins/add-new-line/add-new-line.js +76 -73
- package/esm/plugins/copy-format/langs/fi.d.ts +4 -0
- package/esm/plugins/copy-format/langs/fi.js +9 -0
- package/esm/plugins/copy-format/langs/index.d.ts +2 -1
- package/esm/plugins/copy-format/langs/index.js +2 -1
- package/esm/plugins/line-height/langs/fi.d.ts +4 -0
- package/esm/plugins/line-height/langs/fi.js +9 -0
- package/esm/plugins/line-height/langs/index.d.ts +2 -1
- package/esm/plugins/line-height/langs/index.js +2 -1
- package/esm/plugins/resizer/resizer.d.ts +2 -2
- package/esm/plugins/resizer/resizer.js +12 -13
- package/esm/plugins/search/config.d.ts +5 -0
- package/esm/plugins/search/config.js +3 -1
- package/esm/plugins/search/helpers/{wrap-ranges-texts-in-tmp-span.d.ts → highlight-text-ranges.d.ts} +2 -2
- package/esm/plugins/search/helpers/{wrap-ranges-texts-in-tmp-span.js → highlight-text-ranges.js} +19 -1
- package/esm/plugins/search/helpers/index.d.ts +1 -1
- package/esm/plugins/search/helpers/index.js +1 -1
- package/esm/plugins/search/search.d.ts +1 -1
- package/esm/plugins/search/search.js +4 -4
- package/esm/plugins/source/source.js +1 -1
- package/esm/plugins/speech-recognize/langs/fi.d.ts +9 -0
- package/esm/plugins/speech-recognize/langs/fi.js +14 -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/spellcheck/langs/fi.d.ts +1 -0
- package/esm/plugins/spellcheck/langs/fi.js +9 -0
- package/esm/plugins/spellcheck/langs/index.d.ts +2 -1
- package/esm/plugins/spellcheck/langs/index.js +2 -1
- package/esm/plugins/symbols/langs/fi.d.ts +1 -0
- package/esm/plugins/symbols/langs/fi.js +9 -0
- package/esm/plugins/symbols/langs/index.d.ts +2 -1
- package/esm/plugins/symbols/langs/index.js +2 -1
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js +70 -73
- package/esm/tsconfig.json +1 -1
- package/esm/types/create.d.ts +1 -1
- package/package.json +1 -1
- package/types/core/async/async.d.ts +1 -1
- package/types/core/create/create.d.ts +1 -1
- package/types/core/helpers/utils/append-script.d.ts +1 -5
- package/types/core/plugin/helpers/load.d.ts +1 -1
- package/types/langs/fi.d.ts +218 -0
- package/types/plugins/add-new-line/add-new-line.d.ts +14 -14
- package/types/plugins/copy-format/langs/fi.d.ts +4 -0
- package/types/plugins/copy-format/langs/index.d.ts +2 -1
- package/types/plugins/line-height/langs/fi.d.ts +4 -0
- package/types/plugins/line-height/langs/index.d.ts +2 -1
- package/types/plugins/resizer/resizer.d.ts +2 -2
- package/types/plugins/search/config.d.ts +5 -0
- package/types/plugins/search/helpers/{wrap-ranges-texts-in-tmp-span.d.ts → highlight-text-ranges.d.ts} +2 -2
- package/types/plugins/search/helpers/index.d.ts +1 -1
- package/types/plugins/search/search.d.ts +1 -1
- package/types/plugins/speech-recognize/langs/fi.d.ts +9 -0
- package/types/plugins/speech-recognize/langs/index.d.ts +2 -1
- package/types/plugins/spellcheck/langs/fi.d.ts +1 -0
- package/types/plugins/spellcheck/langs/index.d.ts +2 -1
- package/types/plugins/symbols/langs/fi.d.ts +1 -0
- package/types/plugins/symbols/langs/index.d.ts +2 -1
- package/types/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
- package/types/tsconfig.json +1 -1
- 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.
|
|
4
|
+
* Version: v4.0.13
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -513,6 +513,28 @@ module.exports = {
|
|
|
513
513
|
};
|
|
514
514
|
|
|
515
515
|
|
|
516
|
+
/***/ }),
|
|
517
|
+
|
|
518
|
+
/***/ 9994:
|
|
519
|
+
/***/ (function(module) {
|
|
520
|
+
|
|
521
|
+
"use strict";
|
|
522
|
+
|
|
523
|
+
/*!
|
|
524
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
525
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
526
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
527
|
+
*/
|
|
528
|
+
module.exports = {
|
|
529
|
+
'Speech Recognize': 'Puheentunnistus',
|
|
530
|
+
newline: 'uusi rivi',
|
|
531
|
+
delete: 'poistaa',
|
|
532
|
+
space: 'tilaa',
|
|
533
|
+
Sound: 'Ääni',
|
|
534
|
+
'Interim Results': 'Välitulokset'
|
|
535
|
+
};
|
|
536
|
+
|
|
537
|
+
|
|
516
538
|
/***/ }),
|
|
517
539
|
|
|
518
540
|
/***/ 76305:
|
|
@@ -614,21 +636,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
614
636
|
/* harmony export */ de: function() { return /* reexport module object */ _de_js__WEBPACK_IMPORTED_MODULE_2__; },
|
|
615
637
|
/* harmony export */ es: function() { return /* reexport module object */ _es_js__WEBPACK_IMPORTED_MODULE_3__; },
|
|
616
638
|
/* harmony export */ fa: function() { return /* reexport module object */ _fa_js__WEBPACK_IMPORTED_MODULE_4__; },
|
|
617
|
-
/* harmony export */
|
|
618
|
-
/* harmony export */
|
|
619
|
-
/* harmony export */
|
|
620
|
-
/* harmony export */
|
|
621
|
-
/* harmony export */
|
|
622
|
-
/* harmony export */
|
|
623
|
-
/* harmony export */
|
|
624
|
-
/* harmony export */
|
|
625
|
-
/* harmony export */
|
|
626
|
-
/* harmony export */
|
|
627
|
-
/* harmony export */
|
|
628
|
-
/* harmony export */
|
|
629
|
-
/* harmony export */
|
|
630
|
-
/* harmony export */
|
|
631
|
-
/* harmony export */
|
|
639
|
+
/* harmony export */ fi: function() { return /* reexport module object */ _fi_js__WEBPACK_IMPORTED_MODULE_5__; },
|
|
640
|
+
/* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_6__; },
|
|
641
|
+
/* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_7__; },
|
|
642
|
+
/* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_8__; },
|
|
643
|
+
/* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_9__; },
|
|
644
|
+
/* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_10__; },
|
|
645
|
+
/* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_11__; },
|
|
646
|
+
/* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_12__; },
|
|
647
|
+
/* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_13__; },
|
|
648
|
+
/* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_14__; },
|
|
649
|
+
/* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_15__; },
|
|
650
|
+
/* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_16__; },
|
|
651
|
+
/* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_17__; },
|
|
652
|
+
/* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_18__; },
|
|
653
|
+
/* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__; },
|
|
654
|
+
/* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__; }
|
|
632
655
|
/* harmony export */ });
|
|
633
656
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(57998);
|
|
634
657
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -640,36 +663,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
640
663
|
/* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
641
664
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6043);
|
|
642
665
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
643
|
-
/* harmony import */ var
|
|
644
|
-
/* harmony import */ var
|
|
645
|
-
/* harmony import */ var
|
|
646
|
-
/* harmony import */ var
|
|
647
|
-
/* harmony import */ var
|
|
648
|
-
/* harmony import */ var
|
|
649
|
-
/* harmony import */ var
|
|
650
|
-
/* harmony import */ var
|
|
651
|
-
/* harmony import */ var
|
|
652
|
-
/* harmony import */ var
|
|
653
|
-
/* harmony import */ var
|
|
654
|
-
/* harmony import */ var
|
|
655
|
-
/* harmony import */ var
|
|
656
|
-
/* harmony import */ var
|
|
657
|
-
/* harmony import */ var
|
|
658
|
-
/* harmony import */ var
|
|
659
|
-
/* harmony import */ var
|
|
660
|
-
/* harmony import */ var
|
|
661
|
-
/* harmony import */ var
|
|
662
|
-
/* harmony import */ var
|
|
663
|
-
/* harmony import */ var
|
|
664
|
-
/* harmony import */ var
|
|
665
|
-
/* harmony import */ var
|
|
666
|
-
/* harmony import */ var
|
|
667
|
-
/* harmony import */ var
|
|
668
|
-
/* harmony import */ var
|
|
669
|
-
/* harmony import */ var
|
|
670
|
-
/* harmony import */ var
|
|
671
|
-
/* harmony import */ var
|
|
672
|
-
/* harmony import */ var
|
|
666
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9994);
|
|
667
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
668
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(76305);
|
|
669
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
670
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(45834);
|
|
671
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
672
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(40509);
|
|
673
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
674
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(75720);
|
|
675
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
676
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(88369);
|
|
677
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
678
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(30878);
|
|
679
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
680
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(37780);
|
|
681
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
682
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(4105);
|
|
683
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
|
|
684
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(2589);
|
|
685
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
|
|
686
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(72556);
|
|
687
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_15__);
|
|
688
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(11695);
|
|
689
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
690
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(52415);
|
|
691
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
692
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(14569);
|
|
693
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_18__);
|
|
694
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(58649);
|
|
695
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
696
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(66040);
|
|
697
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_20__);
|
|
673
698
|
/*!
|
|
674
699
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
675
700
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -697,6 +722,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
697
722
|
|
|
698
723
|
|
|
699
724
|
|
|
725
|
+
|
|
700
726
|
|
|
701
727
|
|
|
702
728
|
/***/ }),
|
|
@@ -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.
|
|
4
|
+
* Version: v4.0.13
|
|
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 s in n)("object"==typeof exports?exports:e)[s]=n[s]}}(self,(function(){return(self.webpackChunkjodit=self.webpackChunkjodit||[]).push([[781],{92880:function(e,t,n){"use strict";var s=n(37446),i=n(25920),o=n(88751),r=n(30052),c=n(30043),u=n(17439),a=n(55106),l=n.n(a);s.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",l()),s.D.prototype.controls.speechRecognize={isActive(e,t){const n=(0,i.q)(e,"speech");return Boolean(null==n?void 0:n.isEnabled)},isDisabled(e){return!e.o.speechRecognize.api},exec(e,t,{button:n,control:s}){const{api:r,lang:u,continuous:a,interimResults:l,sound:p}=e.o.speechRecognize;if(!r)return void e.alert("Speech recognize API unsupported in your browser");let h=(0,i.q)(e,"speech");if(!h){const t=new r;h=new c.v(e.async,t),h.lang=u,h.continuous=a,h.interimResults=l,h.sound=p,(0,i.q)(e,"speech",h),h.on("pulse",(e=>{n.setMod("pulse",e)})),h.on("result",(t=>e.e.fire("speechRecognizeResult",t))),h.on("progress",(t=>e.e.fire("speechRecognizeProgressResult",t))),n.hookStatus("beforeDestruct",(()=>{h.destruct()}))}if(s.args){const e=s.args[0];if((0,o.j)(h[e]))return h[e]=!h[e],void(h.isEnabled&&h.restart())}h.toggle(),n.state.activated=h.isEnabled},name:"speechRecognize",command:"toggleSpeechRecognize",tooltip:"Speech Recognize",list:{sound:"Sound",interimResults:"Interim Results"},childTemplate(e,t,n){var s;const o=(0,i.q)(e,"speech");return`<span class='jodit-speech-recognize__list-item'><input ${(null!==(s=null==o?void 0:o[t])&&void 0!==s?s:e.o.speechRecognize[t])?"checked":""} class='jodit-checkbox' type='checkbox'> ${n}</span>`},mods:{stroke:!1}}},16618:function(e,t,n){"use strict";n.d(t,{n:function(){return s},u:function(){return i}});const s=440,i=940},17439:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});const s=window.SpeechRecognition||window.webkitSpeechRecognition},87885:function(e,t,n){"use strict";function s(e,t){const[n,s]=t.split("::");e.execCommand(n,null,s)}n.d(t,{c:function(){return s}})},30043:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var s,i=n(97582),o=n(3569),r=n(13666),c=n(16618),u=n(55486);let a=s=class e extends o.a{set lang(e){this._lang=e,this._api.lang=e}get lang(){return this._lang}set continuous(e){this._continuous=e,this._api.continuous=e}get continuous(){return this._continuous}set interimResults(e){this._interimResults=e,this._api.interimResults=e}get interimResults(){return this._interimResults}constructor(e,t){super(),this.async=e,this._continuous=!1,this._interimResults=!1,this.sound=!0,this._isEnabled=!1,this._restartTimeout=0,this._onSpeechStart=e=>{this._isEnabled&&(this.async.clearTimeout(this._restartTimeout),this._restartTimeout=this.async.setTimeout((()=>{this.restart(),this.emit("pulse",!1),this._makeSound(c.u)}),5e3),this.emit("pulse",!0))},this._progressTimeout=0,this._api=t,s._instances.add(this)}destruct(){this.stop(),s._instances.delete(this),super.destruct()}get isEnabled(){return this._isEnabled}start(){this._isEnabled||(this._isEnabled=!0,s._instances.forEach((e=>{e!==this&&e.stop()})),this._api.start(),this.__on("speechstart",this._onSpeechStart).__on("error",this._onError).__on("result",this._onResult))}stop(){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)}}toggle(){this._isEnabled?this.stop():this.start()}restart(){this.stop(),this.start()}__on(e,t){return this._api.addEventListener(e,t),this}__off(e,t){return this._api.removeEventListener(e,t),this}_onResult(e){if(!this._isEnabled)return;this.async.clearTimeout(this._progressTimeout);const t=e.results.item(e.resultIndex),{transcript:n}=t.item(0),s=()=>{try{this.async.clearTimeout(this._restartTimeout),this.emit("result",n)}catch(e){}this.restart(),this.emit("pulse",!1),this._makeSound(c.n)};if(!1===t.isFinal)return this.emit("progress",n),void(this._progressTimeout=this.async.setTimeout(s,500));s()}_onError(){this._isEnabled&&(this._makeSound(c.u),this.emit("pulse",!1),this.restart())}_makeSound(e){this.sound&&(0,u.e)({frequency:e})}};a._instances=new Set,a=s=(0,i.gn)([r.autobind],a)},55486:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var s=n(16618);function i({sec:e=.1,frequency:t=s.n,gain:n=.1,type:i="sine"}={}){if(void 0===window.AudioContext&&void 0===window.webkitAudioContext)return;const o=new(window.AudioContext||window.webkitAudioContext),r=o.createGain(),c=o.createOscillator();c.type=i,c.frequency.value=t,c.connect(r),r.connect(o.destination),c.start(),c.stop(o.currentTime+e),r.gain.value=n}},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 s},cs_cz:function(){return i},de:function(){return o},es:function(){return r},fa:function(){return c},fr:function(){return u},he:function(){return a},hu:function(){return l},id:function(){return p},it:function(){return h},ja:function(){return d},ko:function(){return m},mn:function(){return f},nl:function(){return g},pl:function(){return R},pt_br:function(){return _},ru:function(){return S},tr:function(){return w},zh_cn:function(){return z},zh_tw:function(){return v}});var s=n(57998),i=n(90833),o=n(36373),r=n(97192),c=n(6043),u=n(76305),a=n(45834),l=n(40509),p=n(75720),h=n(88369),d=n(30878),m=n(37780),f=n(4105),g=n(2589),R=n(72556),_=n(11695),S=n(52415),w=n(14569),z=n(58649),v=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 d}});var s=n(97582),i=n(7331),o=n(69082),r=n(87398),c=n(79102),u=n(9162),a=n(62294),l=n(44380),p=n(87885),h=n(75813);n(92880);class d extends i.S{constructor(e){super(e),this._commandToWord={},e.o.speechRecognize.api&&e.registerButton({group:"state",name:"speechRecognize"})}afterInit(e){const{commands:t}=e.o.speechRecognize;t&&((0,c.xl)(h),(0,r.XP)(t,!1).forEach((n=>{n.split("|").forEach((s=>{s=s.trim().toLowerCase(),this._commandToWord[s]=t[n];const i=e.i18n(s);i!==s&&i.split("|").forEach((e=>{this._commandToWord[e.trim().toLowerCase()]=t[n].trim()}))}))})))}beforeDestruct(e){}onSpeechRecognizeProgressResult(e){this.messagePopup||(this.messagePopup=this.j.create.div("jodit-speech-recognize__popup")),this.j.workplace.appendChild(this.messagePopup),this.j.async.setTimeout((()=>{u.i.safeRemove(this.messagePopup)}),{label:"onSpeechRecognizeProgressResult",timeout:1e3}),this.messagePopup.innerText=e+"|"}onSpeechRecognizeResult(e){const{j:t}=this,{s:n}=t;if(u.i.safeRemove(this.messagePopup),!this._checkCommand(e)){const{range:s}=n,i=n.current();if(n.isCollapsed()&&u.i.isText(i)&&u.i.isOrContains(t.editor,i)&&i.nodeValue){const o=i.nodeValue;i.nodeValue=o+(/[\u00A0 ]\uFEFF*$/.test(o)?"":" ")+e,s.setStartAfter(i),n.selectRange(s),t.synchronizeValues()}else n.insertHTML(e)}}_checkCommand(e){return e=e.toLowerCase().replace(/\./g,""),!!this._commandToWord[e]&&((0,p.c)(this.j,this._commandToWord[e]),!0)}}(0,s.gn)([(0,o.YP)(":speechRecognizeProgressResult"),(0,a.D)()],d.prototype,"onSpeechRecognizeProgressResult",null),(0,s.gn)([(0,o.YP)(":speechRecognizeResult")],d.prototype,"onSpeechRecognizeResult",null),l.h.plugins.add("speech-recognize",d)},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 s in n)("object"==typeof exports?exports:e)[s]=n[s]}}(self,(function(){return(self.webpackChunkjodit=self.webpackChunkjodit||[]).push([[781],{92880:function(e,t,n){"use strict";var s=n(37446),i=n(25920),o=n(88751),r=n(30052),c=n(30043),u=n(17439),a=n(55106),l=n.n(a);s.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",l()),s.D.prototype.controls.speechRecognize={isActive(e,t){const n=(0,i.q)(e,"speech");return Boolean(null==n?void 0:n.isEnabled)},isDisabled(e){return!e.o.speechRecognize.api},exec(e,t,{button:n,control:s}){const{api:r,lang:u,continuous:a,interimResults:l,sound:p}=e.o.speechRecognize;if(!r)return void e.alert("Speech recognize API unsupported in your browser");let h=(0,i.q)(e,"speech");if(!h){const t=new r;h=new c.v(e.async,t),h.lang=u,h.continuous=a,h.interimResults=l,h.sound=p,(0,i.q)(e,"speech",h),h.on("pulse",(e=>{n.setMod("pulse",e)})),h.on("result",(t=>e.e.fire("speechRecognizeResult",t))),h.on("progress",(t=>e.e.fire("speechRecognizeProgressResult",t))),n.hookStatus("beforeDestruct",(()=>{h.destruct()}))}if(s.args){const e=s.args[0];if((0,o.j)(h[e]))return h[e]=!h[e],void(h.isEnabled&&h.restart())}h.toggle(),n.state.activated=h.isEnabled},name:"speechRecognize",command:"toggleSpeechRecognize",tooltip:"Speech Recognize",list:{sound:"Sound",interimResults:"Interim Results"},childTemplate(e,t,n){var s;const o=(0,i.q)(e,"speech");return`<span class='jodit-speech-recognize__list-item'><input ${(null!==(s=null==o?void 0:o[t])&&void 0!==s?s:e.o.speechRecognize[t])?"checked":""} class='jodit-checkbox' type='checkbox'> ${n}</span>`},mods:{stroke:!1}}},16618:function(e,t,n){"use strict";n.d(t,{n:function(){return s},u:function(){return i}});const s=440,i=940},17439:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});const s=window.SpeechRecognition||window.webkitSpeechRecognition},87885:function(e,t,n){"use strict";function s(e,t){const[n,s]=t.split("::");e.execCommand(n,null,s)}n.d(t,{c:function(){return s}})},30043:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var s,i=n(97582),o=n(3569),r=n(13666),c=n(16618),u=n(55486);let a=s=class e extends o.a{set lang(e){this._lang=e,this._api.lang=e}get lang(){return this._lang}set continuous(e){this._continuous=e,this._api.continuous=e}get continuous(){return this._continuous}set interimResults(e){this._interimResults=e,this._api.interimResults=e}get interimResults(){return this._interimResults}constructor(e,t){super(),this.async=e,this._continuous=!1,this._interimResults=!1,this.sound=!0,this._isEnabled=!1,this._restartTimeout=0,this._onSpeechStart=e=>{this._isEnabled&&(this.async.clearTimeout(this._restartTimeout),this._restartTimeout=this.async.setTimeout((()=>{this.restart(),this.emit("pulse",!1),this._makeSound(c.u)}),5e3),this.emit("pulse",!0))},this._progressTimeout=0,this._api=t,s._instances.add(this)}destruct(){this.stop(),s._instances.delete(this),super.destruct()}get isEnabled(){return this._isEnabled}start(){this._isEnabled||(this._isEnabled=!0,s._instances.forEach((e=>{e!==this&&e.stop()})),this._api.start(),this.__on("speechstart",this._onSpeechStart).__on("error",this._onError).__on("result",this._onResult))}stop(){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)}}toggle(){this._isEnabled?this.stop():this.start()}restart(){this.stop(),this.start()}__on(e,t){return this._api.addEventListener(e,t),this}__off(e,t){return this._api.removeEventListener(e,t),this}_onResult(e){if(!this._isEnabled)return;this.async.clearTimeout(this._progressTimeout);const t=e.results.item(e.resultIndex),{transcript:n}=t.item(0),s=()=>{try{this.async.clearTimeout(this._restartTimeout),this.emit("result",n)}catch(e){}this.restart(),this.emit("pulse",!1),this._makeSound(c.n)};if(!1===t.isFinal)return this.emit("progress",n),void(this._progressTimeout=this.async.setTimeout(s,500));s()}_onError(){this._isEnabled&&(this._makeSound(c.u),this.emit("pulse",!1),this.restart())}_makeSound(e){this.sound&&(0,u.e)({frequency:e})}};a._instances=new Set,a=s=(0,i.gn)([r.autobind],a)},55486:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var s=n(16618);function i({sec:e=.1,frequency:t=s.n,gain:n=.1,type:i="sine"}={}){if(void 0===window.AudioContext&&void 0===window.webkitAudioContext)return;const o=new(window.AudioContext||window.webkitAudioContext),r=o.createGain(),c=o.createOscillator();c.type=i,c.frequency.value=t,c.connect(r),r.connect(o.destination),c.start(),c.stop(o.currentTime+e),r.gain.value=n}},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 s},cs_cz:function(){return i},de:function(){return o},es:function(){return r},fa:function(){return c},fi:function(){return u},fr:function(){return a},he:function(){return l},hu:function(){return p},id:function(){return h},it:function(){return d},ja:function(){return m},ko:function(){return f},mn:function(){return g},nl:function(){return R},pl:function(){return _},pt_br:function(){return S},ru:function(){return w},tr:function(){return z},zh_cn:function(){return v},zh_tw:function(){return x}});var s=n(57998),i=n(90833),o=n(36373),r=n(97192),c=n(6043),u=n(9994),a=n(76305),l=n(45834),p=n(40509),h=n(75720),d=n(88369),m=n(30878),f=n(37780),g=n(4105),R=n(2589),_=n(72556),S=n(11695),w=n(52415),z=n(14569),v=n(58649),x=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 d}});var s=n(97582),i=n(7331),o=n(69082),r=n(87398),c=n(79102),u=n(9162),a=n(62294),l=n(44380),p=n(87885),h=n(75813);n(92880);class d extends i.S{constructor(e){super(e),this._commandToWord={},e.o.speechRecognize.api&&e.registerButton({group:"state",name:"speechRecognize"})}afterInit(e){const{commands:t}=e.o.speechRecognize;t&&((0,c.xl)(h),(0,r.XP)(t,!1).forEach((n=>{n.split("|").forEach((s=>{s=s.trim().toLowerCase(),this._commandToWord[s]=t[n];const i=e.i18n(s);i!==s&&i.split("|").forEach((e=>{this._commandToWord[e.trim().toLowerCase()]=t[n].trim()}))}))})))}beforeDestruct(e){}onSpeechRecognizeProgressResult(e){this.messagePopup||(this.messagePopup=this.j.create.div("jodit-speech-recognize__popup")),this.j.workplace.appendChild(this.messagePopup),this.j.async.setTimeout((()=>{u.i.safeRemove(this.messagePopup)}),{label:"onSpeechRecognizeProgressResult",timeout:1e3}),this.messagePopup.innerText=e+"|"}onSpeechRecognizeResult(e){const{j:t}=this,{s:n}=t;if(u.i.safeRemove(this.messagePopup),!this._checkCommand(e)){const{range:s}=n,i=n.current();if(n.isCollapsed()&&u.i.isText(i)&&u.i.isOrContains(t.editor,i)&&i.nodeValue){const o=i.nodeValue;i.nodeValue=o+(/[\u00A0 ]\uFEFF*$/.test(o)?"":" ")+e,s.setStartAfter(i),n.selectRange(s),t.synchronizeValues()}else n.insertHTML(e)}}_checkCommand(e){return e=e.toLowerCase().replace(/\./g,""),!!this._commandToWord[e]&&((0,p.c)(this.j,this._commandToWord[e]),!0)}}(0,s.gn)([(0,o.YP)(":speechRecognizeProgressResult"),(0,a.D)()],d.prototype,"onSpeechRecognizeProgressResult",null),(0,s.gn)([(0,o.YP)(":speechRecognizeResult")],d.prototype,"onSpeechRecognizeResult",null),l.h.plugins.add("speech-recognize",d)},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)}])}));
|
package/es2018/jodit.css
CHANGED
|
@@ -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.
|
|
4
|
+
* Version: v4.0.13
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
--jd-color-background-progress: #b91f1f;
|
|
49
49
|
--jd-color-background-active: #2196f3;
|
|
50
50
|
--jd-color-background-selection: #b5d6fd;
|
|
51
|
+
--jd-color-text-selection: var(--jd-color-white);
|
|
51
52
|
--jd-color-background-selection-opacity50: rgba(181, 214, 253, 0.995);
|
|
52
53
|
--jd-color-source-area: #323232;
|
|
53
54
|
--jd-color-button-background-hover: #dcdcdc;
|
|
@@ -4052,10 +4053,9 @@ a + .jodit-file-browser-tree__source-title {
|
|
|
4052
4053
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
4053
4054
|
*/
|
|
4054
4055
|
:root {
|
|
4055
|
-
--jd-color-new-line: var(--jd-color-border);
|
|
4056
|
-
--jd-
|
|
4057
|
-
--jd-
|
|
4058
|
-
--jd-offset-handle: calc(100% - var(--jd-width-icon));
|
|
4056
|
+
--jd-anl-color-new-line: var(--jd-color-border);
|
|
4057
|
+
--jd-anl-handle-size: 20px;
|
|
4058
|
+
--jd-anl-handle-offset: calc(100% - var(--jd-anl-handle-size));
|
|
4059
4059
|
}
|
|
4060
4060
|
.jodit-add-new-line {
|
|
4061
4061
|
position: fixed;
|
|
@@ -4073,30 +4073,29 @@ a + .jodit-file-browser-tree__source-title {
|
|
|
4073
4073
|
display: block;
|
|
4074
4074
|
width: 100%;
|
|
4075
4075
|
height: 1px;
|
|
4076
|
-
background-color: var(--jd-color-new-line);
|
|
4076
|
+
background-color: var(--jd-anl-color-new-line);
|
|
4077
4077
|
content: '';
|
|
4078
4078
|
}
|
|
4079
4079
|
.jodit-add-new-line span {
|
|
4080
4080
|
position: absolute;
|
|
4081
|
-
left: var(--jd-
|
|
4081
|
+
left: var(--jd-anl-handle-offset);
|
|
4082
|
+
top: 0;
|
|
4083
|
+
transform: translateY(-50%);
|
|
4082
4084
|
display: flex;
|
|
4083
|
-
width: var(--jd-
|
|
4084
|
-
height: var(--jd-
|
|
4085
|
+
width: var(--jd-anl-handle-size);
|
|
4086
|
+
height: var(--jd-anl-handle-size);
|
|
4085
4087
|
align-items: center;
|
|
4086
4088
|
justify-content: center;
|
|
4087
|
-
border: 1px solid var(--jd-color-new-line);
|
|
4089
|
+
border: 1px solid var(--jd-anl-color-new-line);
|
|
4088
4090
|
background: var(--jd-color-background-button-hover-opacity30);
|
|
4089
4091
|
cursor: pointer;
|
|
4090
4092
|
}
|
|
4091
4093
|
.jodit-add-new-line span:hover {
|
|
4092
4094
|
background: var(--jd-color-background-button-hover);
|
|
4093
4095
|
}
|
|
4094
|
-
.jodit-add-new-line_after span {
|
|
4095
|
-
bottom: 0;
|
|
4096
|
-
}
|
|
4097
4096
|
.jodit-add-new-line svg {
|
|
4098
|
-
width:
|
|
4099
|
-
fill: var(--jd-color-new-line);
|
|
4097
|
+
width: calc(var(--jd-anl-handle-size) / 2);
|
|
4098
|
+
fill: var(--jd-anl-color-new-line);
|
|
4100
4099
|
}
|
|
4101
4100
|
.jodit-source__mode .jodit-add-new-line {
|
|
4102
4101
|
display: none !important;
|
|
@@ -4654,8 +4653,10 @@ html.jodit_fullsize-box_true {
|
|
|
4654
4653
|
.jodit-ui-search_replace_true .jodit-ui-search__buttons button[data-ref='replace-btn'] {
|
|
4655
4654
|
display: block;
|
|
4656
4655
|
}
|
|
4656
|
+
::highlight(jodit-search-result),
|
|
4657
4657
|
[jd-tmp-selection] {
|
|
4658
|
-
background-color:
|
|
4658
|
+
background-color: var(--jd-color-background-selection);
|
|
4659
|
+
color: var(--jd-color-text-selection);
|
|
4659
4660
|
}
|
|
4660
4661
|
|
|
4661
4662
|
/*!
|
|
@@ -4806,7 +4807,7 @@ html.jodit_fullsize-box_true {
|
|
|
4806
4807
|
height: calc(var(--jd-height-element-default) * 1.2);
|
|
4807
4808
|
box-sizing: border-box;
|
|
4808
4809
|
border: 1px solid transparent;
|
|
4809
|
-
color: var(--jd-color-
|
|
4810
|
+
color: var(--jd-color-text);
|
|
4810
4811
|
cursor: pointer;
|
|
4811
4812
|
font-size: 16px;
|
|
4812
4813
|
line-height: calc(var(--jd-height-element-default) * 1.2);
|
|
@@ -4936,6 +4937,7 @@ html.jodit_fullsize-box_true {
|
|
|
4936
4937
|
.jodit-dialog_theme_dark,
|
|
4937
4938
|
.jodit_theme_dark {
|
|
4938
4939
|
--jd-color-border: #6b6b6b;
|
|
4940
|
+
--jd-color-text: var(--jd-dark-text-color);
|
|
4939
4941
|
}
|
|
4940
4942
|
.jodit-dialog_theme_dark .jodit-toolbar-collection_mode_horizontal,
|
|
4941
4943
|
.jodit_theme_dark .jodit-toolbar-collection_mode_horizontal,
|
|
@@ -4969,7 +4971,6 @@ html.jodit_fullsize-box_true {
|
|
|
4969
4971
|
}
|
|
4970
4972
|
.jodit-dialog_theme_dark.jodit-container,
|
|
4971
4973
|
.jodit_theme_dark.jodit-container {
|
|
4972
|
-
--jd-color-border: #6b6b6b;
|
|
4973
4974
|
border-color: var(--jd-color-border);
|
|
4974
4975
|
background-color: var(--jd-dark-background-color);
|
|
4975
4976
|
}
|
|
@@ -4991,7 +4992,6 @@ html.jodit_fullsize-box_true {
|
|
|
4991
4992
|
.jodit_theme_dark .jodit-toolbar-select,
|
|
4992
4993
|
.jodit-dialog_theme_dark .jodit-toolbar-button,
|
|
4993
4994
|
.jodit_theme_dark .jodit-toolbar-button {
|
|
4994
|
-
--jd-color-text: var(--jd-dark-text-color);
|
|
4995
4995
|
--jd-color-icon: var(--jd-dark-icon-color);
|
|
4996
4996
|
}
|
|
4997
4997
|
.jodit-dialog_theme_dark .jodit-ui-button__text,
|