jodit 3.19.2 → 3.19.3

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.
@@ -0,0 +1,1010 @@
1
+ /*!
2
+ * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
3
+ * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
4
+ * Version: v3.19.3
5
+ * Url: https://xdsoft.net/jodit/
6
+ * License(s): MIT
7
+ */
8
+
9
+ (function webpackUniversalModuleDefinition(root, factory) {
10
+ if(typeof exports === 'object' && typeof module === 'object')
11
+ module.exports = factory();
12
+ else if(typeof define === 'function' && define.amd)
13
+ define([], factory);
14
+ else {
15
+ var a = factory();
16
+ for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
17
+ }
18
+ })(self, function() {
19
+ return (self["webpackChunkjodit"] = self["webpackChunkjodit"] || []).push([[781],{
20
+
21
+ /***/ 90327:
22
+ /***/ (function(module) {
23
+
24
+ module.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>"
25
+
26
+ /***/ }),
27
+
28
+ /***/ 57368:
29
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
30
+
31
+ "use strict";
32
+ __webpack_require__.r(__webpack_exports__);
33
+ // extracted by mini-css-extract-plugin
34
+
35
+
36
+ /***/ }),
37
+
38
+ /***/ 38587:
39
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
40
+
41
+ "use strict";
42
+
43
+ /*!
44
+ * Jodit Editor (https://xdsoft.net/jodit/)
45
+ * Released under MIT see LICENSE.txt in the project root for license information.
46
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
47
+ */
48
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
49
+ var config_1 = __webpack_require__(27537);
50
+ var data_bind_1 = __webpack_require__(70774);
51
+ var is_boolean_1 = __webpack_require__(65131);
52
+ var alert_1 = __webpack_require__(66124);
53
+ var icon_1 = __webpack_require__(76381);
54
+ var recognize_manager_1 = __webpack_require__(94539);
55
+ var api_1 = __webpack_require__(43467);
56
+ config_1.Config.prototype.speechRecognize = {
57
+ api: api_1.SpeechRecognition,
58
+ sound: true,
59
+ continuous: true,
60
+ interimResults: true,
61
+ commands: {
62
+ 'newline|enter': 'enter',
63
+ 'delete|remove word|delete word': 'backspaceWordButton',
64
+ comma: 'inserthtml::,',
65
+ underline: 'inserthtml::_',
66
+ hyphen: 'inserthtml::-',
67
+ space: 'inserthtml:: ',
68
+ question: 'inserthtml::?',
69
+ dot: 'inserthtml::.',
70
+ 'quote|quotes|open quote': "inserthtml::'",
71
+ 'header|header h1': 'formatblock::h1',
72
+ 'select all': 'selectall'
73
+ }
74
+ };
75
+ icon_1.Icon.set('speech-recognize', __webpack_require__(90327));
76
+ config_1.Config.prototype.controls.speechRecognize = {
77
+ isActive: function (jodit, _) {
78
+ var api = (0, data_bind_1.dataBind)(jodit, 'speech');
79
+ return Boolean(api === null || api === void 0 ? void 0 : api.isEnabled);
80
+ },
81
+ isDisabled: function (jodit) {
82
+ return !jodit.o.speechRecognize.api;
83
+ },
84
+ exec: function (jodit, current, _a) {
85
+ var button = _a.button, control = _a.control;
86
+ var _b = jodit.o.speechRecognize, Api = _b.api, lang = _b.lang, continuous = _b.continuous, interimResults = _b.interimResults, sound = _b.sound;
87
+ if (!Api) {
88
+ (0, alert_1.Alert)('Speech recognize API unsupported in your browser');
89
+ return;
90
+ }
91
+ var api = (0, data_bind_1.dataBind)(jodit, 'speech');
92
+ if (!api) {
93
+ var nativeApi = new Api();
94
+ api = new recognize_manager_1.RecognizeManager(jodit.async, nativeApi);
95
+ api.lang = lang;
96
+ api.continuous = continuous;
97
+ api.interimResults = interimResults;
98
+ api.sound = sound;
99
+ (0, data_bind_1.dataBind)(jodit, 'speech', api);
100
+ api.on('pulse', function (enable) {
101
+ button.setMod('pulse', enable);
102
+ });
103
+ api.on('result', function (text) {
104
+ return jodit.e.fire('speechRecognizeResult', text);
105
+ });
106
+ api.on('progress', function (text) {
107
+ return jodit.e.fire('speechRecognizeProgressResult', text);
108
+ });
109
+ button.hookStatus('beforeDestruct', function () {
110
+ api.destruct();
111
+ });
112
+ }
113
+ if (control.args) {
114
+ var key = control.args[0];
115
+ if ((0, is_boolean_1.isBoolean)(api[key])) {
116
+ api[key] = !api[key];
117
+ if (api.isEnabled) {
118
+ api.restart();
119
+ }
120
+ return;
121
+ }
122
+ }
123
+ api.toggle();
124
+ button.state.activated = api.isEnabled;
125
+ },
126
+ name: 'speechRecognize',
127
+ command: 'toggleSpeechRecognize',
128
+ tooltip: 'Speech Recognize',
129
+ list: {
130
+ sound: 'Sound',
131
+ interimResults: 'Interim Results'
132
+ },
133
+ childTemplate: function (jodit, key, value) {
134
+ var _a;
135
+ var api = (0, data_bind_1.dataBind)(jodit, 'speech'), checked = (_a = api === null || api === void 0 ? void 0 : api[key]) !== null && _a !== void 0 ? _a : jodit.o.speechRecognize[key];
136
+ return "<span class='jodit-speech-recognize__list-item'><input ".concat(checked ? 'checked' : '', " class='jodit-checkbox' type='checkbox'>&nbsp;").concat(value, "</span>");
137
+ },
138
+ mods: {
139
+ stroke: false
140
+ }
141
+ };
142
+
143
+
144
+ /***/ }),
145
+
146
+ /***/ 28511:
147
+ /***/ (function(__unused_webpack_module, exports) {
148
+
149
+ "use strict";
150
+
151
+ /*!
152
+ * Jodit Editor (https://xdsoft.net/jodit/)
153
+ * Released under MIT see LICENSE.txt in the project root for license information.
154
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
155
+ */
156
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
157
+ exports.WARN = exports.PII = void 0;
158
+ exports.PII = 440;
159
+ exports.WARN = 940;
160
+
161
+
162
+ /***/ }),
163
+
164
+ /***/ 43467:
165
+ /***/ (function(__unused_webpack_module, exports) {
166
+
167
+ "use strict";
168
+
169
+ /*!
170
+ * Jodit Editor (https://xdsoft.net/jodit/)
171
+ * Released under MIT see LICENSE.txt in the project root for license information.
172
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
173
+ */
174
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
175
+ exports.SpeechRecognition = void 0;
176
+ exports.SpeechRecognition = window.SpeechRecognition ||
177
+ window.webkitSpeechRecognition;
178
+
179
+
180
+ /***/ }),
181
+
182
+ /***/ 99829:
183
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
184
+
185
+ "use strict";
186
+
187
+ /*!
188
+ * Jodit Editor (https://xdsoft.net/jodit/)
189
+ * Released under MIT see LICENSE.txt in the project root for license information.
190
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
191
+ */
192
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
193
+ exports.execSpellCommand = void 0;
194
+ var tslib_1 = __webpack_require__(20255);
195
+ function execSpellCommand(jodit, commandSentence) {
196
+ var _a = tslib_1.__read(commandSentence.split('::'), 2), command = _a[0], value = _a[1];
197
+ jodit.execCommand(command, null, value);
198
+ }
199
+ exports.execSpellCommand = execSpellCommand;
200
+
201
+
202
+ /***/ }),
203
+
204
+ /***/ 94539:
205
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
206
+
207
+ "use strict";
208
+
209
+ /*!
210
+ * Jodit Editor (https://xdsoft.net/jodit/)
211
+ * Released under MIT see LICENSE.txt in the project root for license information.
212
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
213
+ */
214
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
215
+ exports.RecognizeManager = void 0;
216
+ var tslib_1 = __webpack_require__(20255);
217
+ var eventify_1 = __webpack_require__(99437);
218
+ var decorators_1 = __webpack_require__(9901);
219
+ var sound_1 = __webpack_require__(87672);
220
+ var constants_1 = __webpack_require__(28511);
221
+ var RecognizeManager = (function (_super) {
222
+ tslib_1.__extends(RecognizeManager, _super);
223
+ function RecognizeManager(async, api) {
224
+ var _this = _super.call(this) || this;
225
+ _this.async = async;
226
+ _this._continuous = false;
227
+ _this._interimResults = false;
228
+ _this.sound = true;
229
+ _this._isEnabled = false;
230
+ _this._restartTimeout = 0;
231
+ _this._onSpeechStart = function (e) {
232
+ if (!_this._isEnabled) {
233
+ return;
234
+ }
235
+ _this.async.clearTimeout(_this._restartTimeout);
236
+ _this._restartTimeout = _this.async.setTimeout(function () {
237
+ _this.restart();
238
+ _this.emit('pulse', false);
239
+ _this._makeSound(constants_1.WARN);
240
+ }, 5000);
241
+ _this.emit('pulse', true);
242
+ };
243
+ _this._progressTimeout = 0;
244
+ _this._api = api;
245
+ RecognizeManager_1._instances.add(_this);
246
+ return _this;
247
+ }
248
+ RecognizeManager_1 = RecognizeManager;
249
+ Object.defineProperty(RecognizeManager.prototype, "lang", {
250
+ get: function () {
251
+ return this._lang;
252
+ },
253
+ set: function (v) {
254
+ this._lang = v;
255
+ this._api.lang = v;
256
+ },
257
+ enumerable: false,
258
+ configurable: true
259
+ });
260
+ Object.defineProperty(RecognizeManager.prototype, "continuous", {
261
+ get: function () {
262
+ return this._continuous;
263
+ },
264
+ set: function (v) {
265
+ this._continuous = v;
266
+ this._api.continuous = v;
267
+ },
268
+ enumerable: false,
269
+ configurable: true
270
+ });
271
+ Object.defineProperty(RecognizeManager.prototype, "interimResults", {
272
+ get: function () {
273
+ return this._interimResults;
274
+ },
275
+ set: function (v) {
276
+ this._interimResults = v;
277
+ this._api.interimResults = v;
278
+ },
279
+ enumerable: false,
280
+ configurable: true
281
+ });
282
+ RecognizeManager.prototype.destruct = function () {
283
+ this.stop();
284
+ RecognizeManager_1._instances.delete(this);
285
+ _super.prototype.destruct.call(this);
286
+ };
287
+ Object.defineProperty(RecognizeManager.prototype, "isEnabled", {
288
+ get: function () {
289
+ return this._isEnabled;
290
+ },
291
+ enumerable: false,
292
+ configurable: true
293
+ });
294
+ RecognizeManager.prototype.start = function () {
295
+ var _this = this;
296
+ if (this._isEnabled) {
297
+ return;
298
+ }
299
+ this._isEnabled = true;
300
+ RecognizeManager_1._instances.forEach(function (instance) {
301
+ if (instance !== _this) {
302
+ instance.stop();
303
+ }
304
+ });
305
+ this._api.start();
306
+ this.__on('speechstart', this._onSpeechStart)
307
+ .__on('error', this._onError)
308
+ .__on('result', this._onResult);
309
+ };
310
+ RecognizeManager.prototype.stop = function () {
311
+ if (!this._isEnabled) {
312
+ return;
313
+ }
314
+ try {
315
+ this._api.abort();
316
+ this._api.stop();
317
+ }
318
+ catch (_a) { }
319
+ this.__off('speechstart', this._onSpeechStart)
320
+ .__off('error', this._onError)
321
+ .__off('result', this._onResult);
322
+ this.async.clearTimeout(this._restartTimeout);
323
+ this._isEnabled = false;
324
+ this.emit('pulse', false);
325
+ };
326
+ RecognizeManager.prototype.toggle = function () {
327
+ if (!this._isEnabled) {
328
+ this.start();
329
+ }
330
+ else {
331
+ this.stop();
332
+ }
333
+ };
334
+ RecognizeManager.prototype.restart = function () {
335
+ this.stop();
336
+ this.start();
337
+ };
338
+ RecognizeManager.prototype.__on = function (event, callback) {
339
+ this._api.addEventListener(event, callback);
340
+ return this;
341
+ };
342
+ RecognizeManager.prototype.__off = function (event, callback) {
343
+ this._api.removeEventListener(event, callback);
344
+ return this;
345
+ };
346
+ RecognizeManager.prototype._onResult = function (e) {
347
+ var _this = this;
348
+ if (!this._isEnabled) {
349
+ return;
350
+ }
351
+ this.async.clearTimeout(this._progressTimeout);
352
+ var resultItem = e.results.item(e.resultIndex);
353
+ var transcript = resultItem.item(0).transcript;
354
+ var resultHandler = function () {
355
+ try {
356
+ _this.async.clearTimeout(_this._restartTimeout);
357
+ _this.emit('result', transcript);
358
+ }
359
+ catch (_a) { }
360
+ _this.restart();
361
+ _this.emit('pulse', false);
362
+ _this._makeSound(constants_1.PII);
363
+ };
364
+ if (resultItem.isFinal === false) {
365
+ this.emit('progress', transcript);
366
+ this._progressTimeout = this.async.setTimeout(resultHandler, 500);
367
+ return;
368
+ }
369
+ resultHandler();
370
+ };
371
+ RecognizeManager.prototype._onError = function () {
372
+ if (!this._isEnabled) {
373
+ return;
374
+ }
375
+ this._makeSound(constants_1.WARN);
376
+ this.emit('pulse', false);
377
+ this.restart();
378
+ };
379
+ RecognizeManager.prototype._makeSound = function (frequency) {
380
+ if (this.sound) {
381
+ (0, sound_1.sound)({ frequency: frequency });
382
+ }
383
+ };
384
+ var RecognizeManager_1;
385
+ RecognizeManager._instances = new Set();
386
+ RecognizeManager = RecognizeManager_1 = tslib_1.__decorate([
387
+ decorators_1.autobind
388
+ ], RecognizeManager);
389
+ return RecognizeManager;
390
+ }(eventify_1.Eventify));
391
+ exports.RecognizeManager = RecognizeManager;
392
+
393
+
394
+ /***/ }),
395
+
396
+ /***/ 87672:
397
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
398
+
399
+ "use strict";
400
+
401
+ /*!
402
+ * Jodit Editor (https://xdsoft.net/jodit/)
403
+ * Released under MIT see LICENSE.txt in the project root for license information.
404
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
405
+ */
406
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
407
+ exports.sound = void 0;
408
+ var constants_1 = __webpack_require__(28511);
409
+ function sound(_a) {
410
+ var _b = _a === void 0 ? {} : _a, _c = _b.sec, sec = _c === void 0 ? 0.1 : _c, _d = _b.frequency, frequency = _d === void 0 ? constants_1.PII : _d, _e = _b.gain, gain = _e === void 0 ? 0.1 : _e, _f = _b.type, type = _f === void 0 ? 'sine' : _f;
411
+ if (typeof window.AudioContext === 'undefined' &&
412
+ typeof window.webkitAudioContext === 'undefined') {
413
+ return;
414
+ }
415
+ var context = new (window.AudioContext ||
416
+ window.webkitAudioContext)();
417
+ var vol = context.createGain();
418
+ var osc = context.createOscillator();
419
+ osc.type = type;
420
+ osc.frequency.value = frequency;
421
+ osc.connect(vol);
422
+ vol.connect(context.destination);
423
+ osc.start();
424
+ osc.stop(context.currentTime + sec);
425
+ vol.gain.value = gain;
426
+ }
427
+ exports.sound = sound;
428
+
429
+
430
+ /***/ }),
431
+
432
+ /***/ 86937:
433
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
434
+
435
+ "use strict";
436
+
437
+ /*!
438
+ * Jodit Editor (https://xdsoft.net/jodit/)
439
+ * Released under MIT see LICENSE.txt in the project root for license information.
440
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
441
+ */
442
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
443
+ exports.zh_tw = exports.zh_cn = exports.tr = exports.ru = exports.pt_br = exports.pl = exports.nl = exports.ko = exports.ja = exports.it = exports.id = exports.hu = exports.he = exports.fr = exports.fa = exports.es = exports.de = exports.cs_cz = exports.ar = void 0;
444
+ var ar = __webpack_require__(5466);
445
+ exports.ar = ar;
446
+ var cs_cz = __webpack_require__(65226);
447
+ exports.cs_cz = cs_cz;
448
+ var de = __webpack_require__(87541);
449
+ exports.de = de;
450
+ var es = __webpack_require__(87104);
451
+ exports.es = es;
452
+ var fa = __webpack_require__(53808);
453
+ exports.fa = fa;
454
+ var fr = __webpack_require__(48954);
455
+ exports.fr = fr;
456
+ var he = __webpack_require__(14694);
457
+ exports.he = he;
458
+ var hu = __webpack_require__(67381);
459
+ exports.hu = hu;
460
+ var id = __webpack_require__(99549);
461
+ exports.id = id;
462
+ var it = __webpack_require__(28428);
463
+ exports.it = it;
464
+ var ja = __webpack_require__(25363);
465
+ exports.ja = ja;
466
+ var ko = __webpack_require__(96929);
467
+ exports.ko = ko;
468
+ var nl = __webpack_require__(58499);
469
+ exports.nl = nl;
470
+ var pl = __webpack_require__(59430);
471
+ exports.pl = pl;
472
+ var pt_br = __webpack_require__(70297);
473
+ exports.pt_br = pt_br;
474
+ var ru = __webpack_require__(98949);
475
+ exports.ru = ru;
476
+ var tr = __webpack_require__(61232);
477
+ exports.tr = tr;
478
+ var zh_cn = __webpack_require__(56775);
479
+ exports.zh_cn = zh_cn;
480
+ var zh_tw = __webpack_require__(97957);
481
+ exports.zh_tw = zh_tw;
482
+
483
+
484
+ /***/ }),
485
+
486
+ /***/ 40256:
487
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
488
+
489
+ "use strict";
490
+
491
+ /*!
492
+ * Jodit Editor (https://xdsoft.net/jodit/)
493
+ * Released under MIT see LICENSE.txt in the project root for license information.
494
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
495
+ */
496
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
497
+ exports.SpeechRecognizeNative = void 0;
498
+ var tslib_1 = __webpack_require__(20255);
499
+ __webpack_require__(57368);
500
+ var plugin_1 = __webpack_require__(35570);
501
+ var watch_1 = __webpack_require__(44101);
502
+ var utils_1 = __webpack_require__(51976);
503
+ var global_1 = __webpack_require__(58299);
504
+ var dom_1 = __webpack_require__(43887);
505
+ var debounce_1 = __webpack_require__(1509);
506
+ var exec_spell_command_1 = __webpack_require__(99829);
507
+ __webpack_require__(38587);
508
+ var SpeechRecognizeNative = (function (_super) {
509
+ tslib_1.__extends(SpeechRecognizeNative, _super);
510
+ function SpeechRecognizeNative(j) {
511
+ var _this = _super.call(this, j) || this;
512
+ _this._commandToWord = {};
513
+ if (j.o.speechRecognize.api) {
514
+ j.registerButton({
515
+ group: 'state',
516
+ name: 'speechRecognize'
517
+ });
518
+ }
519
+ return _this;
520
+ }
521
+ SpeechRecognizeNative.prototype.afterInit = function (jodit) {
522
+ var _this = this;
523
+ var commands = jodit.o.speechRecognize.commands;
524
+ if (commands) {
525
+ (0, global_1.extendLang)(__webpack_require__(86937));
526
+ (0, utils_1.keys)(commands, false).forEach(function (words) {
527
+ var keys = words.split('|');
528
+ keys.forEach(function (key) {
529
+ key = key.trim().toLowerCase();
530
+ _this._commandToWord[key] = commands[words];
531
+ var translatedKeys = jodit.i18n(key);
532
+ if (translatedKeys !== key) {
533
+ translatedKeys.split('|').forEach(function (translatedKey) {
534
+ _this._commandToWord[translatedKey.trim().toLowerCase()] = commands[words].trim();
535
+ });
536
+ }
537
+ });
538
+ });
539
+ }
540
+ };
541
+ SpeechRecognizeNative.prototype.beforeDestruct = function (jodit) { };
542
+ SpeechRecognizeNative.prototype.onSpeechRecognizeProgressResult = function (text) {
543
+ var _this = this;
544
+ if (!this.messagePopup) {
545
+ this.messagePopup = this.j.create.div('jodit-speech-recognize__popup');
546
+ }
547
+ this.j.workplace.appendChild(this.messagePopup);
548
+ this.j.async.setTimeout(function () {
549
+ dom_1.Dom.safeRemove(_this.messagePopup);
550
+ }, {
551
+ label: 'onSpeechRecognizeProgressResult',
552
+ timeout: 1000
553
+ });
554
+ this.messagePopup.innerText = text + '|';
555
+ };
556
+ SpeechRecognizeNative.prototype.onSpeechRecognizeResult = function (text) {
557
+ var j = this.j, s = j.s;
558
+ dom_1.Dom.safeRemove(this.messagePopup);
559
+ if (!this._checkCommand(text)) {
560
+ var range = s.range, node = s.current();
561
+ if (s.isCollapsed() &&
562
+ dom_1.Dom.isText(node) &&
563
+ dom_1.Dom.isOrContains(j.editor, node) &&
564
+ node.nodeValue) {
565
+ var sentence = node.nodeValue;
566
+ node.nodeValue =
567
+ sentence +
568
+ (/[\u00A0 ]\uFEFF*$/.test(sentence) ? '' : ' ') +
569
+ text;
570
+ range.setStartAfter(node);
571
+ s.selectRange(range);
572
+ j.synchronizeValues();
573
+ }
574
+ else {
575
+ s.insertHTML(text);
576
+ }
577
+ }
578
+ };
579
+ SpeechRecognizeNative.prototype._checkCommand = function (command) {
580
+ command = command.toLowerCase().replace(/\./g, '');
581
+ if (this._commandToWord[command]) {
582
+ (0, exec_spell_command_1.execSpellCommand)(this.j, this._commandToWord[command]);
583
+ return true;
584
+ }
585
+ return false;
586
+ };
587
+ tslib_1.__decorate([
588
+ (0, watch_1.watch)(':speechRecognizeProgressResult'),
589
+ (0, debounce_1.debounce)()
590
+ ], SpeechRecognizeNative.prototype, "onSpeechRecognizeProgressResult", null);
591
+ tslib_1.__decorate([
592
+ (0, watch_1.watch)(':speechRecognizeResult')
593
+ ], SpeechRecognizeNative.prototype, "onSpeechRecognizeResult", null);
594
+ return SpeechRecognizeNative;
595
+ }(plugin_1.Plugin));
596
+ exports.SpeechRecognizeNative = SpeechRecognizeNative;
597
+ if (typeof Jodit !== 'undefined') {
598
+ Jodit.plugins.add('speech-recognize', SpeechRecognizeNative);
599
+ }
600
+
601
+
602
+ /***/ }),
603
+
604
+ /***/ 5466:
605
+ /***/ (function(module) {
606
+
607
+ /*!
608
+ * Jodit Editor (https://xdsoft.net/jodit/)
609
+ * Released under MIT see LICENSE.txt in the project root for license information.
610
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
611
+ */
612
+
613
+ module.exports = {
614
+ newline: 'الخط الجديد',
615
+ delete: 'حذف',
616
+ space: 'الفضاء',
617
+ 'Speech Recognize': 'التعرف على الكلام',
618
+ Sound: 'الصوت',
619
+ 'Interim Results': 'النتائج المؤقتة'
620
+ };
621
+
622
+
623
+ /***/ }),
624
+
625
+ /***/ 65226:
626
+ /***/ (function(module) {
627
+
628
+ /*!
629
+ * Jodit Editor (https://xdsoft.net/jodit/)
630
+ * Released under MIT see LICENSE.txt in the project root for license information.
631
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
632
+ */
633
+
634
+ module.exports = {
635
+ newline: 'řádek',
636
+ delete: 'odstranit',
637
+ space: 'prostora',
638
+ 'Speech Recognize': 'Rozpoznání Řeči',
639
+ Sound: 'Zvuk',
640
+ 'Interim Results': 'Průběžné Výsledky'
641
+ };
642
+
643
+
644
+ /***/ }),
645
+
646
+ /***/ 87541:
647
+ /***/ (function(module) {
648
+
649
+ /*!
650
+ * Jodit Editor (https://xdsoft.net/jodit/)
651
+ * Released under MIT see LICENSE.txt in the project root for license information.
652
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
653
+ */
654
+
655
+ module.exports = {
656
+ newline: 'Zeilenumbruch',
657
+ delete: 'löschen',
658
+ space: 'Raum',
659
+ 'Speech Recognize': 'Sprache Erkennen',
660
+ Sound: 'Sound',
661
+ 'Interim Results': 'Zwischenergebnis'
662
+ };
663
+
664
+
665
+ /***/ }),
666
+
667
+ /***/ 87104:
668
+ /***/ (function(module) {
669
+
670
+ /*!
671
+ * Jodit Editor (https://xdsoft.net/jodit/)
672
+ * Released under MIT see LICENSE.txt in the project root for license information.
673
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
674
+ */
675
+
676
+ module.exports = {
677
+ newline: 'nueva línea',
678
+ delete: 'eliminar',
679
+ space: 'espacio',
680
+ 'Speech Recognize': 'Reconocimiento de Voz',
681
+ Sound: 'Sonido',
682
+ 'Interim Results': 'Resultados Provisionales'
683
+ };
684
+
685
+
686
+ /***/ }),
687
+
688
+ /***/ 53808:
689
+ /***/ (function(module) {
690
+
691
+ /*!
692
+ * Jodit Editor (https://xdsoft.net/jodit/)
693
+ * Released under MIT see LICENSE.txt in the project root for license information.
694
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
695
+ */
696
+
697
+ module.exports = {
698
+ newline: 'خط جدید',
699
+ delete: 'حذف',
700
+ space: 'فضا',
701
+ 'Speech Recognize': 'گفتار را تشخیص دهید',
702
+ Sound: 'صدا',
703
+ 'Interim Results': 'نتایج موقت'
704
+ };
705
+
706
+
707
+ /***/ }),
708
+
709
+ /***/ 48954:
710
+ /***/ (function(module) {
711
+
712
+ /*!
713
+ * Jodit Editor (https://xdsoft.net/jodit/)
714
+ * Released under MIT see LICENSE.txt in the project root for license information.
715
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
716
+ */
717
+
718
+ module.exports = {
719
+ newline: 'nouvelle ligne',
720
+ delete: 'supprimer',
721
+ space: 'espace',
722
+ 'Speech Recognize': 'Reconnaissance Vocale',
723
+ Sound: 'Son',
724
+ 'Interim Results': 'Résultats Intermédiaires'
725
+ };
726
+
727
+
728
+ /***/ }),
729
+
730
+ /***/ 14694:
731
+ /***/ (function(module) {
732
+
733
+ /*!
734
+ * Jodit Editor (https://xdsoft.net/jodit/)
735
+ * Released under MIT see LICENSE.txt in the project root for license information.
736
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
737
+ */
738
+
739
+ module.exports = {
740
+ newline: 'חדשות',
741
+ delete: 'מחק',
742
+ space: 'שטח',
743
+ 'Speech Recognize': 'דיבור מזהה',
744
+ Sound: 'קול',
745
+ 'Interim Results': 'תוצאות ביניים'
746
+ };
747
+
748
+
749
+ /***/ }),
750
+
751
+ /***/ 67381:
752
+ /***/ (function(module) {
753
+
754
+ /*!
755
+ * Jodit Editor (https://xdsoft.net/jodit/)
756
+ * Released under MIT see LICENSE.txt in the project root for license information.
757
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
758
+ */
759
+
760
+ module.exports = {
761
+ newline: 'újsor',
762
+ delete: 'törlés',
763
+ space: 'tér',
764
+ 'Speech Recognize': 'A Beszéd Felismeri',
765
+ Sound: 'Hang',
766
+ 'Interim Results': 'Időközi Eredmények'
767
+ };
768
+
769
+
770
+ /***/ }),
771
+
772
+ /***/ 99549:
773
+ /***/ (function(module) {
774
+
775
+ /*!
776
+ * Jodit Editor (https://xdsoft.net/jodit/)
777
+ * Released under MIT see LICENSE.txt in the project root for license information.
778
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
779
+ */
780
+
781
+ module.exports = {
782
+ newline: 'newline',
783
+ delete: 'Hapus',
784
+ space: 'ruang',
785
+ 'Speech Recognize': 'Pidato Mengenali',
786
+ Sound: 'Suara',
787
+ 'Interim Results': 'Hasil Sementara'
788
+ };
789
+
790
+
791
+ /***/ }),
792
+
793
+ /***/ 28428:
794
+ /***/ (function(module) {
795
+
796
+ /*!
797
+ * Jodit Editor (https://xdsoft.net/jodit/)
798
+ * Released under MIT see LICENSE.txt in the project root for license information.
799
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
800
+ */
801
+
802
+ module.exports = {
803
+ newline: 'nuova riga',
804
+ delete: 'eliminare',
805
+ space: 'spazio',
806
+ 'Speech Recognize': 'Discorso Riconoscere',
807
+ Sound: 'Suono',
808
+ 'Interim Results': 'Risultati intermedi'
809
+ };
810
+
811
+
812
+ /***/ }),
813
+
814
+ /***/ 25363:
815
+ /***/ (function(module) {
816
+
817
+ /*!
818
+ * Jodit Editor (https://xdsoft.net/jodit/)
819
+ * Released under MIT see LICENSE.txt in the project root for license information.
820
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
821
+ */
822
+
823
+ module.exports = {
824
+ newline: '改行',
825
+ delete: '削除',
826
+ space: 'スペース',
827
+ 'Speech Recognize': '音声認識',
828
+ Sound: '音',
829
+ 'Interim Results': '中間結果'
830
+ };
831
+
832
+
833
+ /***/ }),
834
+
835
+ /***/ 96929:
836
+ /***/ (function(module) {
837
+
838
+ /*!
839
+ * Jodit Editor (https://xdsoft.net/jodit/)
840
+ * Released under MIT see LICENSE.txt in the project root for license information.
841
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
842
+ */
843
+
844
+ module.exports = {
845
+ newline: '줄 바꿈',
846
+ delete: '삭제',
847
+ space: '공간',
848
+ 'Speech Recognize': '음성 인식',
849
+ Sound: '소리',
850
+ 'Interim Results': '중간 결과'
851
+ };
852
+
853
+
854
+ /***/ }),
855
+
856
+ /***/ 58499:
857
+ /***/ (function(module) {
858
+
859
+ /*!
860
+ * Jodit Editor (https://xdsoft.net/jodit/)
861
+ * Released under MIT see LICENSE.txt in the project root for license information.
862
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
863
+ */
864
+
865
+ module.exports = {
866
+ newline: 'regel',
867
+ delete: 'verwijderen',
868
+ space: 'ruimte',
869
+ 'Speech Recognize': 'Spraak Herkennen',
870
+ Sound: 'Geluid',
871
+ 'Interim Results': 'Tussentijdse Resultaten'
872
+ };
873
+
874
+
875
+ /***/ }),
876
+
877
+ /***/ 59430:
878
+ /***/ (function(module) {
879
+
880
+ /*!
881
+ * Jodit Editor (https://xdsoft.net/jodit/)
882
+ * Released under MIT see LICENSE.txt in the project root for license information.
883
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
884
+ */
885
+
886
+ module.exports = {
887
+ newline: 'newline',
888
+ delete: 'usunąć',
889
+ space: 'przestrzeń',
890
+ 'Speech Recognize': 'Rozpoznawanie Mowy',
891
+ Sound: 'Dźwięk',
892
+ 'Interim Results': 'Wyniki Okresowe'
893
+ };
894
+
895
+
896
+ /***/ }),
897
+
898
+ /***/ 70297:
899
+ /***/ (function(module) {
900
+
901
+ /*!
902
+ * Jodit Editor (https://xdsoft.net/jodit/)
903
+ * Released under MIT see LICENSE.txt in the project root for license information.
904
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
905
+ */
906
+
907
+ module.exports = {
908
+ newline: 'linha',
909
+ delete: 'excluir',
910
+ space: 'espaco',
911
+ 'Speech Recognize': 'Discurso Reconhecer',
912
+ Sound: 'Som',
913
+ 'Interim Results': 'Resultados Provisórios'
914
+ };
915
+
916
+
917
+ /***/ }),
918
+
919
+ /***/ 98949:
920
+ /***/ (function(module) {
921
+
922
+ /*!
923
+ * Jodit Editor (https://xdsoft.net/jodit/)
924
+ * Released under MIT see LICENSE.txt in the project root for license information.
925
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
926
+ */
927
+
928
+ module.exports = {
929
+ newline: 'новая строка|перенос|энтер',
930
+ delete: 'удалить',
931
+ space: 'пробел',
932
+ 'Speech Recognize': 'Распознавание речи',
933
+ Sound: 'Звук',
934
+ 'Interim Results': 'Промежуточные результаты'
935
+ };
936
+
937
+
938
+ /***/ }),
939
+
940
+ /***/ 61232:
941
+ /***/ (function(module) {
942
+
943
+ /*!
944
+ * Jodit Editor (https://xdsoft.net/jodit/)
945
+ * Released under MIT see LICENSE.txt in the project root for license information.
946
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
947
+ */
948
+
949
+ module.exports = {
950
+ newline: 'yeni satır',
951
+ delete: 'silmek',
952
+ space: 'uzay',
953
+ 'Speech Recognize': 'Konuşma Tanıma',
954
+ Sound: 'Ses',
955
+ 'Interim Results': 'Ara Sonuçlar'
956
+ };
957
+
958
+
959
+ /***/ }),
960
+
961
+ /***/ 56775:
962
+ /***/ (function(module) {
963
+
964
+ /*!
965
+ * Jodit Editor (https://xdsoft.net/jodit/)
966
+ * Released under MIT see LICENSE.txt in the project root for license information.
967
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
968
+ */
969
+
970
+ module.exports = {
971
+ newline: '新行',
972
+ delete: '删除',
973
+ space: '空间',
974
+ 'Speech Recognize': '言语识别',
975
+ Sound: '声音',
976
+ 'Interim Results': '中期业绩'
977
+ };
978
+
979
+
980
+ /***/ }),
981
+
982
+ /***/ 97957:
983
+ /***/ (function(module) {
984
+
985
+ /*!
986
+ * Jodit Editor (https://xdsoft.net/jodit/)
987
+ * Released under MIT see LICENSE.txt in the project root for license information.
988
+ * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
989
+ */
990
+
991
+ module.exports = {
992
+ newline: 'นิวไลน์',
993
+ delete: 'ลบ',
994
+ space: 'พื้นที่',
995
+ 'Speech Recognize': 'การรับรู้คำพูด',
996
+ Sound: 'เสียง',
997
+ 'Interim Results': 'ผลระหว่างกาล'
998
+ };
999
+
1000
+
1001
+ /***/ })
1002
+
1003
+ },
1004
+ /******/ function(__webpack_require__) { // webpackRuntimeModules
1005
+ /******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
1006
+ /******/ var __webpack_exports__ = (__webpack_exec__(40256));
1007
+ /******/ return __webpack_exports__;
1008
+ /******/ }
1009
+ ]);
1010
+ });