jodit-pro-react 5.6.18 → 5.6.19
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.
|
@@ -155,9 +155,11 @@ __export(constants_exports, {
|
|
|
155
155
|
KEY_BACKSPACE: () => KEY_BACKSPACE,
|
|
156
156
|
KEY_DELETE: () => KEY_DELETE,
|
|
157
157
|
KEY_DOWN: () => KEY_DOWN,
|
|
158
|
+
KEY_END: () => KEY_END,
|
|
158
159
|
KEY_ENTER: () => KEY_ENTER,
|
|
159
160
|
KEY_ESC: () => KEY_ESC,
|
|
160
161
|
KEY_F3: () => KEY_F3,
|
|
162
|
+
KEY_HOME: () => KEY_HOME,
|
|
161
163
|
KEY_LEFT: () => KEY_LEFT,
|
|
162
164
|
KEY_META: () => KEY_META,
|
|
163
165
|
KEY_RIGHT: () => KEY_RIGHT,
|
|
@@ -189,11 +191,11 @@ __export(constants_exports, {
|
|
|
189
191
|
globalWindow: () => globalWindow,
|
|
190
192
|
lang: () => lang
|
|
191
193
|
});
|
|
192
|
-
var APP_VERSION, ES, IS_ES_MODERN, IS_ES_NEXT, IS_PROD, IS_TEST, FAT_MODE, HOMEPAGE, SET_TEST, TOKENS, INVISIBLE_SPACE, NBSP_SPACE, INVISIBLE_SPACE_REG_EXP, INVISIBLE_SPACE_REG_EXP_END, INVISIBLE_SPACE_REG_EXP_START, SPACE_REG_EXP, SPACE_REG_EXP_START, SPACE_REG_EXP_END, globalWindow, globalDocument, IS_BLOCK, IS_INLINE, LIST_TAGS, __UNSEPARABLE_TAGS, INSEPARABLE_TAGS, NO_EMPTY_TAGS, KEY_META, KEY_BACKSPACE, KEY_TAB, KEY_ENTER, KEY_ESC, KEY_ALT, KEY_LEFT, KEY_UP, KEY_RIGHT, KEY_DOWN, KEY_SPACE, KEY_DELETE, KEY_F3, NEARBY, ACCURACY, COMMAND_KEYS, BR, PARAGRAPH, MODE_WYSIWYG, MODE_SOURCE, MODE_SPLIT, IS_IE, TEXT_PLAIN, TEXT_HTML, TEXT_RTF, MARKER_CLASS, EMULATE_DBLCLICK_TIMEOUT, INSERT_AS_HTML, INSERT_CLEAR_HTML, INSERT_AS_TEXT, INSERT_ONLY_TEXT, SAFE_COUNT_CHANGE_CALL, IS_MAC, KEY_ALIASES, removeScriptName, basePath, isMin, BASE_PATH, BASE_PATH_IS_MIN, TEMP_ATTR, lang, CLIPBOARD_ID, SOURCE_CONSUMER, PASSIVE_EVENTS;
|
|
194
|
+
var APP_VERSION, ES, IS_ES_MODERN, IS_ES_NEXT, IS_PROD, IS_TEST, FAT_MODE, HOMEPAGE, SET_TEST, TOKENS, INVISIBLE_SPACE, NBSP_SPACE, INVISIBLE_SPACE_REG_EXP, INVISIBLE_SPACE_REG_EXP_END, INVISIBLE_SPACE_REG_EXP_START, SPACE_REG_EXP, SPACE_REG_EXP_START, SPACE_REG_EXP_END, globalWindow, globalDocument, IS_BLOCK, IS_INLINE, LIST_TAGS, __UNSEPARABLE_TAGS, INSEPARABLE_TAGS, NO_EMPTY_TAGS, KEY_META, KEY_BACKSPACE, KEY_TAB, KEY_ENTER, KEY_ESC, KEY_ALT, KEY_HOME, KEY_END, KEY_LEFT, KEY_UP, KEY_RIGHT, KEY_DOWN, KEY_SPACE, KEY_DELETE, KEY_F3, NEARBY, ACCURACY, COMMAND_KEYS, BR, PARAGRAPH, MODE_WYSIWYG, MODE_SOURCE, MODE_SPLIT, IS_IE, TEXT_PLAIN, TEXT_HTML, TEXT_RTF, MARKER_CLASS, EMULATE_DBLCLICK_TIMEOUT, INSERT_AS_HTML, INSERT_CLEAR_HTML, INSERT_AS_TEXT, INSERT_ONLY_TEXT, SAFE_COUNT_CHANGE_CALL, IS_MAC, KEY_ALIASES, removeScriptName, basePath, isMin, BASE_PATH, BASE_PATH_IS_MIN, TEMP_ATTR, lang, CLIPBOARD_ID, SOURCE_CONSUMER, PASSIVE_EVENTS;
|
|
193
195
|
var init_constants = __esm({
|
|
194
196
|
"node_modules/jodit/esm/core/constants.js"() {
|
|
195
197
|
"use strict";
|
|
196
|
-
APP_VERSION = "4.15.
|
|
198
|
+
APP_VERSION = "4.15.13";
|
|
197
199
|
ES = "es2020";
|
|
198
200
|
IS_ES_MODERN = true;
|
|
199
201
|
IS_ES_NEXT = true;
|
|
@@ -240,6 +242,8 @@ var init_constants = __esm({
|
|
|
240
242
|
KEY_ENTER = "Enter";
|
|
241
243
|
KEY_ESC = "Escape";
|
|
242
244
|
KEY_ALT = "Alt";
|
|
245
|
+
KEY_HOME = "Home";
|
|
246
|
+
KEY_END = "End";
|
|
243
247
|
KEY_LEFT = "ArrowLeft";
|
|
244
248
|
KEY_UP = "ArrowUp";
|
|
245
249
|
KEY_RIGHT = "ArrowRight";
|
|
@@ -7908,7 +7912,7 @@ var require_tab = __commonJS({
|
|
|
7908
7912
|
init_plugin2();
|
|
7909
7913
|
init_config3();
|
|
7910
7914
|
init_cases();
|
|
7911
|
-
var
|
|
7915
|
+
var __decorate74 = exports && exports.__decorate || function(decorators, target, key3, desc) {
|
|
7912
7916
|
var c69 = arguments.length, r71 = c69 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d55;
|
|
7913
7917
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7914
7918
|
r71 = Reflect.decorate(decorators, target, key3, desc);
|
|
@@ -7941,10 +7945,10 @@ var require_tab = __commonJS({
|
|
|
7941
7945
|
beforeDestruct(jodit) {
|
|
7942
7946
|
}
|
|
7943
7947
|
};
|
|
7944
|
-
|
|
7948
|
+
__decorate74([
|
|
7945
7949
|
watch(":keydown.tab")
|
|
7946
7950
|
], tab.prototype, "__onTab", null);
|
|
7947
|
-
|
|
7951
|
+
__decorate74([
|
|
7948
7952
|
watch(":beforeCommand.tab")
|
|
7949
7953
|
], tab.prototype, "__onCommand", null);
|
|
7950
7954
|
pluginSystem.add("tab", tab);
|
|
@@ -7973,7 +7977,7 @@ var require_wrap_nodes = __commonJS({
|
|
|
7973
7977
|
init_is_string();
|
|
7974
7978
|
init_plugin2();
|
|
7975
7979
|
init_config4();
|
|
7976
|
-
var
|
|
7980
|
+
var __decorate74 = exports && exports.__decorate || function(decorators, target, key3, desc) {
|
|
7977
7981
|
var c69 = arguments.length, r71 = c69 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d55;
|
|
7978
7982
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7979
7983
|
r71 = Reflect.decorate(decorators, target, key3, desc);
|
|
@@ -8060,10 +8064,10 @@ var require_wrap_nodes = __commonJS({
|
|
|
8060
8064
|
jodit.e.fire("internalChange");
|
|
8061
8065
|
}
|
|
8062
8066
|
};
|
|
8063
|
-
|
|
8067
|
+
__decorate74([
|
|
8064
8068
|
autobind
|
|
8065
8069
|
], wrapNodes.prototype, "postProcessSetEditorValue", null);
|
|
8066
|
-
|
|
8070
|
+
__decorate74([
|
|
8067
8071
|
autobind
|
|
8068
8072
|
], wrapNodes.prototype, "preprocessInput", null);
|
|
8069
8073
|
function checkAloneListLeaf(child, jodit) {
|
|
@@ -8228,7 +8232,7 @@ var require_dtd = __commonJS({
|
|
|
8228
8232
|
init_config5();
|
|
8229
8233
|
init_after_insert();
|
|
8230
8234
|
init_before_insert();
|
|
8231
|
-
var
|
|
8235
|
+
var __decorate74 = exports && exports.__decorate || function(decorators, target, key3, desc) {
|
|
8232
8236
|
var c69 = arguments.length, r71 = c69 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d55;
|
|
8233
8237
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
8234
8238
|
r71 = Reflect.decorate(decorators, target, key3, desc);
|
|
@@ -8256,10 +8260,10 @@ var require_dtd = __commonJS({
|
|
|
8256
8260
|
});
|
|
8257
8261
|
}
|
|
8258
8262
|
};
|
|
8259
|
-
|
|
8263
|
+
__decorate74([
|
|
8260
8264
|
watch(":beforeInsertNode")
|
|
8261
8265
|
], dtd.prototype, "__onBeforeInsertNode", null);
|
|
8262
|
-
|
|
8266
|
+
__decorate74([
|
|
8263
8267
|
watch(":afterInsertNode")
|
|
8264
8268
|
], dtd.prototype, "__onAfterInsertNode", null);
|
|
8265
8269
|
pluginSystem.add("dtd", dtd);
|
|
@@ -17321,6 +17325,15 @@ var __decorate32 = function(decorators, target, key3, desc) {
|
|
|
17321
17325
|
r71 = (c69 < 3 ? d55(r71) : c69 > 3 ? d55(target, key3, r71) : d55(target, key3)) || r71;
|
|
17322
17326
|
return c69 > 3 && r71 && Object.defineProperty(target, key3, r71), r71;
|
|
17323
17327
|
};
|
|
17328
|
+
var INPUT_TAGS = /* @__PURE__ */ new Set(["input", "textarea", "select"]);
|
|
17329
|
+
var FOCUSABLE_SELECTOR = [
|
|
17330
|
+
"button:not([disabled])",
|
|
17331
|
+
"a[href]",
|
|
17332
|
+
'input:not([disabled]):not([type="hidden"])',
|
|
17333
|
+
"select:not([disabled])",
|
|
17334
|
+
"textarea:not([disabled])",
|
|
17335
|
+
'[tabindex]:not([tabindex="-1"])'
|
|
17336
|
+
].join(",");
|
|
17324
17337
|
var ToolbarButton = class ToolbarButton2 extends UIButton {
|
|
17325
17338
|
className() {
|
|
17326
17339
|
return "ToolbarButton";
|
|
@@ -17549,12 +17562,81 @@ var ToolbarButton = class ToolbarButton2 extends UIButton {
|
|
|
17549
17562
|
}
|
|
17550
17563
|
}
|
|
17551
17564
|
onTriggerKeyDown(e44) {
|
|
17552
|
-
if (this.state.disabled
|
|
17565
|
+
if (this.state.disabled) {
|
|
17566
|
+
return;
|
|
17567
|
+
}
|
|
17568
|
+
if (e44.key === KEY_DOWN) {
|
|
17569
|
+
this.onButtonKeyDown(e44);
|
|
17570
|
+
return;
|
|
17571
|
+
}
|
|
17572
|
+
if (![KEY_ENTER, KEY_SPACE, " "].includes(e44.key)) {
|
|
17553
17573
|
return;
|
|
17554
17574
|
}
|
|
17555
17575
|
e44.preventDefault();
|
|
17556
17576
|
this.trigger.click();
|
|
17557
17577
|
}
|
|
17578
|
+
/**
|
|
17579
|
+
* `ArrowDown` on a button with a trigger opens its dropdown and moves the
|
|
17580
|
+
* focus into it, like the WAI-ARIA menu button pattern
|
|
17581
|
+
*/
|
|
17582
|
+
onButtonKeyDown(e44) {
|
|
17583
|
+
var _a2;
|
|
17584
|
+
if (e44.key !== KEY_DOWN || this.state.disabled || !this.state.hasTrigger || e44.altKey || e44.ctrlKey || e44.metaKey) {
|
|
17585
|
+
return;
|
|
17586
|
+
}
|
|
17587
|
+
e44.preventDefault();
|
|
17588
|
+
e44.stopPropagation();
|
|
17589
|
+
if (!this.openedPopup) {
|
|
17590
|
+
this.trigger.click();
|
|
17591
|
+
}
|
|
17592
|
+
(_a2 = this.__popupFocusables()[0]) === null || _a2 === void 0 ? void 0 : _a2.focus();
|
|
17593
|
+
}
|
|
17594
|
+
/**
|
|
17595
|
+
* Inside the dropdown: `ArrowDown`/`ArrowUp` walk the items, `Escape` and
|
|
17596
|
+
* `ArrowUp` on the first item close it and give the focus back to the button
|
|
17597
|
+
*/
|
|
17598
|
+
__onPopupKeyDown(e44) {
|
|
17599
|
+
if (!this.openedPopup || e44.altKey || e44.ctrlKey || e44.metaKey) {
|
|
17600
|
+
return;
|
|
17601
|
+
}
|
|
17602
|
+
const target = e44.target;
|
|
17603
|
+
if (Dom.isTag(target, INPUT_TAGS) && e44.key !== KEY_ESC) {
|
|
17604
|
+
return;
|
|
17605
|
+
}
|
|
17606
|
+
const items = this.__popupFocusables(), index = items.indexOf(target);
|
|
17607
|
+
switch (e44.key) {
|
|
17608
|
+
case KEY_ESC:
|
|
17609
|
+
this.__closePopup();
|
|
17610
|
+
break;
|
|
17611
|
+
case KEY_UP:
|
|
17612
|
+
if (index <= 0) {
|
|
17613
|
+
this.__closePopup();
|
|
17614
|
+
} else {
|
|
17615
|
+
items[index - 1].focus();
|
|
17616
|
+
}
|
|
17617
|
+
break;
|
|
17618
|
+
case KEY_DOWN:
|
|
17619
|
+
if (!items.length) {
|
|
17620
|
+
return;
|
|
17621
|
+
}
|
|
17622
|
+
items[(index + 1) % items.length].focus();
|
|
17623
|
+
break;
|
|
17624
|
+
default:
|
|
17625
|
+
return;
|
|
17626
|
+
}
|
|
17627
|
+
e44.preventDefault();
|
|
17628
|
+
e44.stopPropagation();
|
|
17629
|
+
}
|
|
17630
|
+
/**
|
|
17631
|
+
* Visible controls of the opened dropdown that can take the focus
|
|
17632
|
+
*/
|
|
17633
|
+
__popupFocusables() {
|
|
17634
|
+
const popup = this.openedPopup;
|
|
17635
|
+
if (!popup) {
|
|
17636
|
+
return [];
|
|
17637
|
+
}
|
|
17638
|
+
return Array.from(popup.container.querySelectorAll(FOCUSABLE_SELECTOR)).filter((elm) => Boolean(elm.offsetParent));
|
|
17639
|
+
}
|
|
17558
17640
|
/**
|
|
17559
17641
|
* Create an open popup list
|
|
17560
17642
|
*/
|
|
@@ -17621,7 +17703,7 @@ var ToolbarButton = class ToolbarButton2 extends UIButton {
|
|
|
17621
17703
|
openPopup() {
|
|
17622
17704
|
this.__closePopup();
|
|
17623
17705
|
this.openedPopup = new Popup(this.j, false);
|
|
17624
|
-
this.j.e.on(this.ow, "mousedown touchstart", this.onOutsideClick).on("escape closeAllPopups", this.onOutsideClick);
|
|
17706
|
+
this.j.e.on(this.ow, "mousedown touchstart", this.onOutsideClick).on("escape closeAllPopups", this.onOutsideClick).on(this.openedPopup.container, "keydown", this.__onPopupKeyDown);
|
|
17625
17707
|
return this.openedPopup;
|
|
17626
17708
|
}
|
|
17627
17709
|
__closePopup() {
|
|
@@ -17631,12 +17713,16 @@ var ToolbarButton = class ToolbarButton2 extends UIButton {
|
|
|
17631
17713
|
}
|
|
17632
17714
|
this.openedPopup = null;
|
|
17633
17715
|
this.j.e.off(this.ow, "mousedown touchstart", this.onOutsideClick).off("escape closeAllPopups", this.onOutsideClick);
|
|
17716
|
+
const { activeElement } = this.od, hadFocus = activeElement && Dom.isOrContains(popup.container, activeElement);
|
|
17634
17717
|
this.state.activated = false;
|
|
17635
17718
|
popup.close();
|
|
17636
17719
|
popup.destruct();
|
|
17637
17720
|
if (this.trigger) {
|
|
17638
17721
|
attr(this.trigger, "aria-expanded", false);
|
|
17639
17722
|
}
|
|
17723
|
+
if (hadFocus) {
|
|
17724
|
+
this.focus();
|
|
17725
|
+
}
|
|
17640
17726
|
}
|
|
17641
17727
|
/**
|
|
17642
17728
|
* Click handler
|
|
@@ -17690,6 +17776,12 @@ __decorate32([
|
|
|
17690
17776
|
__decorate32([
|
|
17691
17777
|
watch("trigger:keydown")
|
|
17692
17778
|
], ToolbarButton.prototype, "onTriggerKeyDown", null);
|
|
17779
|
+
__decorate32([
|
|
17780
|
+
watch("button:keydown")
|
|
17781
|
+
], ToolbarButton.prototype, "onButtonKeyDown", null);
|
|
17782
|
+
__decorate32([
|
|
17783
|
+
autobind
|
|
17784
|
+
], ToolbarButton.prototype, "__onPopupKeyDown", null);
|
|
17693
17785
|
__decorate32([
|
|
17694
17786
|
autobind
|
|
17695
17787
|
], ToolbarButton.prototype, "onOutsideClick", null);
|
|
@@ -33297,6 +33389,107 @@ function findCell(editor, key3) {
|
|
|
33297
33389
|
return cell;
|
|
33298
33390
|
}
|
|
33299
33391
|
|
|
33392
|
+
// node_modules/jodit/esm/plugins/toolbar-navigation/toolbar-navigation.js
|
|
33393
|
+
init_constants();
|
|
33394
|
+
init_autobind();
|
|
33395
|
+
init_watch();
|
|
33396
|
+
init_dom();
|
|
33397
|
+
init_global2();
|
|
33398
|
+
init_attr();
|
|
33399
|
+
init_plugin2();
|
|
33400
|
+
var __decorate70 = function(decorators, target, key3, desc) {
|
|
33401
|
+
var c69 = arguments.length, r71 = c69 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d55;
|
|
33402
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
33403
|
+
r71 = Reflect.decorate(decorators, target, key3, desc);
|
|
33404
|
+
else
|
|
33405
|
+
for (var i55 = decorators.length - 1; i55 >= 0; i55--)
|
|
33406
|
+
if (d55 = decorators[i55])
|
|
33407
|
+
r71 = (c69 < 3 ? d55(r71) : c69 > 3 ? d55(target, key3, r71) : d55(target, key3)) || r71;
|
|
33408
|
+
return c69 > 3 && r71 && Object.defineProperty(target, key3, r71), r71;
|
|
33409
|
+
};
|
|
33410
|
+
var INPUT_TAGS2 = /* @__PURE__ */ new Set(["input", "textarea", "select"]);
|
|
33411
|
+
var toolbarNavigation = class extends Plugin {
|
|
33412
|
+
/** @override */
|
|
33413
|
+
afterInit(jodit) {
|
|
33414
|
+
jodit.registerCommand("focusToolbar", {
|
|
33415
|
+
hotkeys: "alt+f10",
|
|
33416
|
+
exec: this.focusToolbar
|
|
33417
|
+
});
|
|
33418
|
+
}
|
|
33419
|
+
/** @override */
|
|
33420
|
+
beforeDestruct() {
|
|
33421
|
+
}
|
|
33422
|
+
/**
|
|
33423
|
+
* Moves the focus to the first button of the toolbar.
|
|
33424
|
+
*
|
|
33425
|
+
* Bound to `Alt+F10` by default; remap it like any other command:
|
|
33426
|
+
* `commandToHotkeys: { focusToolbar: 'alt+0' }`
|
|
33427
|
+
*/
|
|
33428
|
+
focusToolbar() {
|
|
33429
|
+
const [first] = this.__buttons();
|
|
33430
|
+
first === null || first === void 0 ? void 0 : first.focus();
|
|
33431
|
+
return false;
|
|
33432
|
+
}
|
|
33433
|
+
/**
|
|
33434
|
+
* Arrow keys / `Home` / `End` walk the buttons, `Escape` leaves the toolbar
|
|
33435
|
+
*/
|
|
33436
|
+
onKeyDown(e44) {
|
|
33437
|
+
if (e44.defaultPrevented || e44.altKey || e44.ctrlKey || e44.metaKey) {
|
|
33438
|
+
return;
|
|
33439
|
+
}
|
|
33440
|
+
const target = e44.target;
|
|
33441
|
+
if (Dom.isTag(target, INPUT_TAGS2) || Dom.isHTMLElement(target) && target.isContentEditable) {
|
|
33442
|
+
return;
|
|
33443
|
+
}
|
|
33444
|
+
const buttons = this.__buttons();
|
|
33445
|
+
if (!buttons.length) {
|
|
33446
|
+
return;
|
|
33447
|
+
}
|
|
33448
|
+
switch (e44.key) {
|
|
33449
|
+
case KEY_ESC:
|
|
33450
|
+
this.j.s.focus();
|
|
33451
|
+
break;
|
|
33452
|
+
case KEY_HOME:
|
|
33453
|
+
buttons[0].focus();
|
|
33454
|
+
break;
|
|
33455
|
+
case KEY_END:
|
|
33456
|
+
buttons[buttons.length - 1].focus();
|
|
33457
|
+
break;
|
|
33458
|
+
case KEY_LEFT:
|
|
33459
|
+
case KEY_RIGHT: {
|
|
33460
|
+
const index = buttons.findIndex((button2) => button2.container.contains(target));
|
|
33461
|
+
if (index === -1) {
|
|
33462
|
+
return;
|
|
33463
|
+
}
|
|
33464
|
+
const forward = e44.key === KEY_RIGHT !== this.__isRtl(), next = index + (forward ? 1 : -1);
|
|
33465
|
+
buttons[(next + buttons.length) % buttons.length].focus();
|
|
33466
|
+
break;
|
|
33467
|
+
}
|
|
33468
|
+
default:
|
|
33469
|
+
return;
|
|
33470
|
+
}
|
|
33471
|
+
e44.preventDefault();
|
|
33472
|
+
e44.stopPropagation();
|
|
33473
|
+
return false;
|
|
33474
|
+
}
|
|
33475
|
+
/**
|
|
33476
|
+
* Toolbar buttons that can take the focus right now
|
|
33477
|
+
*/
|
|
33478
|
+
__buttons() {
|
|
33479
|
+
return this.j.toolbar.buttons.filter((button2) => !button2.state.disabled && button2.container.isConnected);
|
|
33480
|
+
}
|
|
33481
|
+
__isRtl() {
|
|
33482
|
+
return attr(this.j.toolbar.container, "dir") === "rtl";
|
|
33483
|
+
}
|
|
33484
|
+
};
|
|
33485
|
+
__decorate70([
|
|
33486
|
+
autobind
|
|
33487
|
+
], toolbarNavigation.prototype, "focusToolbar", null);
|
|
33488
|
+
__decorate70([
|
|
33489
|
+
watch("j.toolbar.container:keydown.toolbar-navigation")
|
|
33490
|
+
], toolbarNavigation.prototype, "onKeyDown", null);
|
|
33491
|
+
pluginSystem.add("toolbarNavigation", toolbarNavigation);
|
|
33492
|
+
|
|
33300
33493
|
// node_modules/jodit/esm/plugins/video/video.js
|
|
33301
33494
|
init_global2();
|
|
33302
33495
|
|
|
@@ -33598,7 +33791,7 @@ function closeSound(owner) {
|
|
|
33598
33791
|
}
|
|
33599
33792
|
|
|
33600
33793
|
// node_modules/jodit/esm/plugins/speech-recognize/helpers/recognize-manager.js
|
|
33601
|
-
var
|
|
33794
|
+
var __decorate71 = function(decorators, target, key3, desc) {
|
|
33602
33795
|
var c69 = arguments.length, r71 = c69 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d55;
|
|
33603
33796
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
33604
33797
|
r71 = Reflect.decorate(decorators, target, key3, desc);
|
|
@@ -33760,13 +33953,13 @@ var RecognizeManager = class _RecognizeManager extends Eventify {
|
|
|
33760
33953
|
}
|
|
33761
33954
|
};
|
|
33762
33955
|
RecognizeManager._instances = /* @__PURE__ */ new Set();
|
|
33763
|
-
|
|
33956
|
+
__decorate71([
|
|
33764
33957
|
autobind
|
|
33765
33958
|
], RecognizeManager.prototype, "_onResults", null);
|
|
33766
|
-
|
|
33959
|
+
__decorate71([
|
|
33767
33960
|
autobind
|
|
33768
33961
|
], RecognizeManager.prototype, "_onProgress", null);
|
|
33769
|
-
|
|
33962
|
+
__decorate71([
|
|
33770
33963
|
autobind
|
|
33771
33964
|
], RecognizeManager.prototype, "_onError", null);
|
|
33772
33965
|
|
|
@@ -33873,7 +34066,7 @@ init_global2();
|
|
|
33873
34066
|
init_helpers();
|
|
33874
34067
|
init_css();
|
|
33875
34068
|
init_config();
|
|
33876
|
-
var
|
|
34069
|
+
var __decorate72 = function(decorators, target, key3, desc) {
|
|
33877
34070
|
var c69 = arguments.length, r71 = c69 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d55;
|
|
33878
34071
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
33879
34072
|
r71 = Reflect.decorate(decorators, target, key3, desc);
|
|
@@ -35045,31 +35238,31 @@ Jodit2.lang = lang;
|
|
|
35045
35238
|
Jodit2.core = {
|
|
35046
35239
|
Plugin
|
|
35047
35240
|
};
|
|
35048
|
-
|
|
35241
|
+
__decorate72([
|
|
35049
35242
|
cache
|
|
35050
35243
|
], Jodit2.prototype, "createInside", null);
|
|
35051
|
-
|
|
35244
|
+
__decorate72([
|
|
35052
35245
|
cache
|
|
35053
35246
|
], Jodit2.prototype, "message", null);
|
|
35054
|
-
|
|
35247
|
+
__decorate72([
|
|
35055
35248
|
cache
|
|
35056
35249
|
], Jodit2.prototype, "s", null);
|
|
35057
|
-
|
|
35250
|
+
__decorate72([
|
|
35058
35251
|
cache
|
|
35059
35252
|
], Jodit2.prototype, "uploader", null);
|
|
35060
|
-
|
|
35253
|
+
__decorate72([
|
|
35061
35254
|
cache
|
|
35062
35255
|
], Jodit2.prototype, "filebrowser", null);
|
|
35063
|
-
|
|
35256
|
+
__decorate72([
|
|
35064
35257
|
throttle()
|
|
35065
35258
|
], Jodit2.prototype, "synchronizeValues", null);
|
|
35066
|
-
|
|
35259
|
+
__decorate72([
|
|
35067
35260
|
watch(":internalChange")
|
|
35068
35261
|
], Jodit2.prototype, "updateElementValue", null);
|
|
35069
|
-
|
|
35262
|
+
__decorate72([
|
|
35070
35263
|
autobind
|
|
35071
35264
|
], Jodit2.prototype, "__prepareWYSIWYGEditor", null);
|
|
35072
|
-
Jodit2 = Jodit_1 =
|
|
35265
|
+
Jodit2 = Jodit_1 = __decorate72([
|
|
35073
35266
|
derive(Dlgs)
|
|
35074
35267
|
], Jodit2);
|
|
35075
35268
|
function addClassNames(className, elm) {
|
|
@@ -35141,7 +35334,7 @@ var zh_cn5 = __toESM(require_zh_cn5());
|
|
|
35141
35334
|
var zh_tw5 = __toESM(require_zh_tw5());
|
|
35142
35335
|
|
|
35143
35336
|
// node_modules/jodit/esm/plugins/speech-recognize/speech-recognize.js
|
|
35144
|
-
var
|
|
35337
|
+
var __decorate73 = function(decorators, target, key3, desc) {
|
|
35145
35338
|
var c69 = arguments.length, r71 = c69 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key3) : desc, d55;
|
|
35146
35339
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
35147
35340
|
r71 = Reflect.decorate(decorators, target, key3, desc);
|
|
@@ -35222,10 +35415,10 @@ var SpeechRecognizeNative = class extends Plugin {
|
|
|
35222
35415
|
return false;
|
|
35223
35416
|
}
|
|
35224
35417
|
};
|
|
35225
|
-
|
|
35418
|
+
__decorate73([
|
|
35226
35419
|
watch(":speechRecognizeProgressResult")
|
|
35227
35420
|
], SpeechRecognizeNative.prototype, "onSpeechRecognizeProgressResult", null);
|
|
35228
|
-
|
|
35421
|
+
__decorate73([
|
|
35229
35422
|
watch(":speechRecognizeResult")
|
|
35230
35423
|
], SpeechRecognizeNative.prototype, "onSpeechRecognizeResult", null);
|
|
35231
35424
|
Jodit2.plugins.add("speech-recognize", SpeechRecognizeNative);
|
|
@@ -55899,6 +56092,7 @@ jodit/esm/plugins/ai-assistant/ai-assistant.js:
|
|
|
55899
56092
|
jodit/esm/plugins/table/config.js:
|
|
55900
56093
|
jodit/esm/plugins/table/table.js:
|
|
55901
56094
|
jodit/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js:
|
|
56095
|
+
jodit/esm/plugins/toolbar-navigation/toolbar-navigation.js:
|
|
55902
56096
|
jodit/esm/plugins/video/config.js:
|
|
55903
56097
|
jodit/esm/plugins/video/video.js:
|
|
55904
56098
|
jodit/esm/plugins/xpath/config.js:
|