jodit 4.9.16 → 4.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/es2015/jodit.css +8 -4
  3. package/es2015/jodit.fat.min.css +1 -1
  4. package/es2015/jodit.fat.min.js +5 -5
  5. package/es2015/jodit.js +60 -47
  6. package/es2015/jodit.min.css +1 -1
  7. package/es2015/jodit.min.js +5 -5
  8. package/es2015/plugins/debug/debug.css +1 -1
  9. package/es2015/plugins/debug/debug.js +1 -1
  10. package/es2015/plugins/debug/debug.min.js +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  12. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  13. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  14. package/es2018/jodit.fat.min.css +1 -1
  15. package/es2018/jodit.fat.min.js +5 -5
  16. package/es2018/jodit.min.css +1 -1
  17. package/es2018/jodit.min.js +5 -5
  18. package/es2018/plugins/debug/debug.min.js +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  20. package/es2021/jodit.css +8 -4
  21. package/es2021/jodit.fat.min.css +1 -1
  22. package/es2021/jodit.fat.min.js +6 -6
  23. package/es2021/jodit.js +60 -47
  24. package/es2021/jodit.min.css +1 -1
  25. package/es2021/jodit.min.js +6 -6
  26. package/es2021/plugins/debug/debug.css +1 -1
  27. package/es2021/plugins/debug/debug.js +1 -1
  28. package/es2021/plugins/debug/debug.min.js +1 -1
  29. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  30. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  31. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  32. package/es2021.en/jodit.css +8 -4
  33. package/es2021.en/jodit.fat.min.css +1 -1
  34. package/es2021.en/jodit.fat.min.js +6 -6
  35. package/es2021.en/jodit.js +60 -47
  36. package/es2021.en/jodit.min.css +1 -1
  37. package/es2021.en/jodit.min.js +11 -11
  38. package/es2021.en/plugins/debug/debug.css +1 -1
  39. package/es2021.en/plugins/debug/debug.js +1 -1
  40. package/es2021.en/plugins/debug/debug.min.js +1 -1
  41. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  42. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  43. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  44. package/es5/jodit.css +11 -5
  45. package/es5/jodit.fat.min.css +1 -1
  46. package/es5/jodit.fat.min.js +2 -2
  47. package/es5/jodit.js +115 -98
  48. package/es5/jodit.min.css +3 -3
  49. package/es5/jodit.min.js +2 -2
  50. package/es5/plugins/debug/debug.css +1 -1
  51. package/es5/plugins/debug/debug.js +1 -1
  52. package/es5/plugins/debug/debug.min.js +1 -1
  53. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  54. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  56. package/es5/polyfills.fat.min.js +1 -1
  57. package/es5/polyfills.js +1 -1
  58. package/es5/polyfills.min.js +1 -1
  59. package/esm/core/constants.js +1 -1
  60. package/esm/modules/table/table.js +2 -3
  61. package/esm/modules/widget/tabs/tabs.js +1 -1
  62. package/esm/plugins/inline-popup/config/config.js +9 -0
  63. package/esm/plugins/inline-popup/config/items/cells.js +1 -1
  64. package/esm/plugins/select-cells/select-cells.js +12 -8
  65. package/package.json +1 -1
package/es5/jodit.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.9.16
4
+ * Version: v4.10.1
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1233,15 +1233,19 @@ var selectCells = /*#__PURE__*/ function(Plugin) {
1233
1233
  break;
1234
1234
  case 'bincolumn':
1235
1235
  {
1236
- var columnsSet = new Set(), columns = cells.reduce(function(acc, td) {
1237
- if (!columnsSet.has(td.cellIndex)) {
1238
- acc.push(td);
1239
- columnsSet.add(td.cellIndex);
1236
+ var columnsSet = new Set();
1237
+ var columns = [];
1238
+ cells.forEach(function(td) {
1239
+ var _this___tableModule_formalCoordinate = (0,_swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_5__._)(_this.__tableModule.formalCoordinate(table, td), 2), col = _this___tableModule_formalCoordinate[1];
1240
+ if (!columnsSet.has(col)) {
1241
+ columns.push(col);
1242
+ columnsSet.add(col);
1240
1243
  }
1241
- return acc;
1242
- }, []);
1243
- columns.forEach(function(td) {
1244
- _this.__tableModule.removeColumn(table, td.cellIndex);
1244
+ });
1245
+ columns.sort(function(a, b) {
1246
+ return b - a;
1247
+ }).forEach(function(col) {
1248
+ _this.__tableModule.removeColumn(table, col);
1245
1249
  });
1246
1250
  }
1247
1251
  break;
@@ -9679,7 +9683,7 @@ var cmd = function cmd(control) {
9679
9683
  tooltip: 'Add row'
9680
9684
  },
9681
9685
  {
9682
- name: 'delete',
9686
+ name: 'deleteTable',
9683
9687
  icon: 'bin',
9684
9688
  list: {
9685
9689
  tablebin: 'Delete table',
@@ -41474,7 +41478,7 @@ __webpack_require__.r(__webpack_exports__);
41474
41478
  * @packageDocumentation
41475
41479
  * @module constants
41476
41480
  */
41477
- var APP_VERSION = "4.9.16";
41481
+ var APP_VERSION = "4.10.1";
41478
41482
  // prettier-ignore
41479
41483
  var ES = "es5";
41480
41484
  var IS_ES_MODERN = false;
@@ -44109,7 +44113,7 @@ function buildData(uploader, data) {
44109
44113
  if (!(0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_2__.isFunction)(content)) {
44110
44114
  tab.appendChild(jodit_core_component__WEBPACK_IMPORTED_MODULE_0__.Component.isInstanceOf(content, jodit_core_ui__WEBPACK_IMPORTED_MODULE_4__.UIElement) ? content.container : content);
44111
44115
  } else {
44112
- tab.appendChild(jodit.c.div('jodit-tab_empty'));
44116
+ tab.classList.add('jodit-tab_empty');
44113
44117
  }
44114
44118
  tabBox.appendChild(tab);
44115
44119
  button.onAction(function() {
@@ -44244,27 +44248,28 @@ function buildData(uploader, data) {
44244
44248
  /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
44245
44249
 
44246
44250
  "use strict";
44247
- /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29434);
44248
- /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5266);
44249
- /* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70235);
44250
- /* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(17849);
44251
- /* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(466);
44252
- /* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(75711);
44253
- /* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(59399);
44254
- /* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38681);
44255
- /* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_7__);
44256
- /* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(64637);
44257
- /* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_8__);
44258
- /* harmony import */ var jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(94190);
44259
- /* harmony import */ var jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_9__);
44260
- /* harmony import */ var jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(51957);
44261
- /* harmony import */ var jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_10__);
44262
- /* harmony import */ var jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(71940);
44263
- /* harmony import */ var jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_11__);
44264
- /* harmony import */ var jodit_plugins_inline_popup_icons_th_svg__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(43218);
44265
- /* harmony import */ var jodit_plugins_inline_popup_icons_th_svg__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_th_svg__WEBPACK_IMPORTED_MODULE_12__);
44266
- /* harmony import */ var jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(48007);
44267
- /* harmony import */ var jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_13__);
44251
+ /* harmony import */ var jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28686);
44252
+ /* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(29434);
44253
+ /* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5266);
44254
+ /* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(70235);
44255
+ /* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(17849);
44256
+ /* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(466);
44257
+ /* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(75711);
44258
+ /* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(59399);
44259
+ /* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(38681);
44260
+ /* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_8__);
44261
+ /* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(64637);
44262
+ /* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_9__);
44263
+ /* harmony import */ var jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(94190);
44264
+ /* harmony import */ var jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_10__);
44265
+ /* harmony import */ var jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(51957);
44266
+ /* harmony import */ var jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_11__);
44267
+ /* harmony import */ var jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(71940);
44268
+ /* harmony import */ var jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_12__);
44269
+ /* harmony import */ var jodit_plugins_inline_popup_icons_th_svg__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(43218);
44270
+ /* harmony import */ var jodit_plugins_inline_popup_icons_th_svg__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_th_svg__WEBPACK_IMPORTED_MODULE_13__);
44271
+ /* harmony import */ var jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(48007);
44272
+ /* harmony import */ var jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_14__);
44268
44273
  /*!
44269
44274
  * Jodit Editor (https://xdsoft.net/jodit/)
44270
44275
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -44285,21 +44290,30 @@ function buildData(uploader, data) {
44285
44290
 
44286
44291
 
44287
44292
 
44288
- jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.toolbarInline = true;
44289
- jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.toolbarInlineForSelection = false;
44290
- jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.toolbarInlineDisableFor = [];
44291
- jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.toolbarInlineDisabledButtons = [
44293
+
44294
+ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInline = true;
44295
+ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineForSelection = false;
44296
+ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineDisableFor = [];
44297
+ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.toolbarInlineDisabledButtons = [
44292
44298
  'source'
44293
44299
  ];
44294
- jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__.Icon.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_7___default())).set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_8___default())).set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_9___default())).set('th', (jodit_plugins_inline_popup_icons_th_svg__WEBPACK_IMPORTED_MODULE_12___default())).set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_10___default())).set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_11___default())).set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_13___default()));
44295
- jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.popup = {
44296
- a: _items_a__WEBPACK_IMPORTED_MODULE_2__["default"],
44297
- img: _items_img__WEBPACK_IMPORTED_MODULE_5__["default"],
44298
- cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__["default"],
44299
- toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_6__["default"],
44300
- jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__["default"],
44301
- iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__["default"],
44302
- 'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__["default"],
44300
+ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__.Icon.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_8___default())).set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_9___default())).set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_10___default())).set('th', (jodit_plugins_inline_popup_icons_th_svg__WEBPACK_IMPORTED_MODULE_13___default())).set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_11___default())).set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_12___default())).set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_14___default()));
44301
+ // Register cell popup buttons as global controls so they can be
44302
+ // referenced by name in custom popup configurations.
44303
+ // Skip buttons that already exist in controls (e.g. 'align' from justify plugin).
44304
+ _items_cells__WEBPACK_IMPORTED_MODULE_4__["default"].forEach(function(item) {
44305
+ if (!(0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_0__.isString)(item) && item.name && !jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls[item.name]) {
44306
+ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.controls[item.name] = item;
44307
+ }
44308
+ });
44309
+ jodit_config__WEBPACK_IMPORTED_MODULE_2__.Config.prototype.popup = {
44310
+ a: _items_a__WEBPACK_IMPORTED_MODULE_3__["default"],
44311
+ img: _items_img__WEBPACK_IMPORTED_MODULE_6__["default"],
44312
+ cells: _items_cells__WEBPACK_IMPORTED_MODULE_4__["default"],
44313
+ toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_7__["default"],
44314
+ jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_5__["default"],
44315
+ iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_5__["default"],
44316
+ 'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_5__["default"],
44303
44317
  selection: [
44304
44318
  'bold',
44305
44319
  'underline',
@@ -50922,13 +50936,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_8__.pluginSystem.add('orderedList', o
50922
50936
  /* harmony import */ var _swc_helpers_get__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22248);
50923
50937
  /* harmony import */ var _swc_helpers_get_prototype_of__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(66773);
50924
50938
  /* harmony import */ var _swc_helpers_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(34918);
50925
- /* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(31635);
50926
- /* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(16964);
50927
- /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(81937);
50928
- /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(84839);
50929
- /* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(27795);
50930
- /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(28077);
50931
- /* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(65946);
50939
+ /* harmony import */ var _swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(50684);
50940
+ /* harmony import */ var _swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(31635);
50941
+ /* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(16964);
50942
+ /* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(81937);
50943
+ /* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(84839);
50944
+ /* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(27795);
50945
+ /* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(28077);
50946
+ /* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(65946);
50932
50947
  /*!
50933
50948
  * Jodit Editor (https://xdsoft.net/jodit/)
50934
50949
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -50951,6 +50966,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_8__.pluginSystem.add('orderedList', o
50951
50966
 
50952
50967
 
50953
50968
 
50969
+
50954
50970
  var markedValue = new WeakMap();
50955
50971
  var Table = /*#__PURE__*/ function(ViewComponent) {
50956
50972
  "use strict";
@@ -50971,10 +50987,10 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
50971
50987
  {
50972
50988
  key: "__recalculateStyles",
50973
50989
  value: function __recalculateStyles() {
50974
- var style = (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_12__.getContainer)(this.j, Table, 'style', true);
50990
+ var style = (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_13__.getContainer)(this.j, Table, 'style', true);
50975
50991
  var selectors = [];
50976
50992
  this.selected.forEach(function(td) {
50977
- var selector = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.cssPath)(td);
50993
+ var selector = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.cssPath)(td);
50978
50994
  selector && selectors.push(selector);
50979
50995
  });
50980
50996
  style.innerHTML = selectors.length ? selectors.join(',') + "{".concat(this.jodit.options.table.selectionCellStyle, "}") : '';
@@ -50985,7 +51001,7 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
50985
51001
  value: function addSelection(td) {
50986
51002
  this.selected.add(td);
50987
51003
  this.__recalculateStyles();
50988
- var table = jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__.Dom.closest(td, 'table', this.j.editor);
51004
+ var table = jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.closest(td, 'table', this.j.editor);
50989
51005
  if (table) {
50990
51006
  var cells = Table.__selectedByTable.get(table) || new Set();
50991
51007
  cells.add(td);
@@ -50998,7 +51014,7 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
50998
51014
  value: function removeSelection(td) {
50999
51015
  this.selected.delete(td);
51000
51016
  this.__recalculateStyles();
51001
- var table = jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__.Dom.closest(td, 'table', this.j.editor);
51017
+ var table = jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.closest(td, 'table', this.j.editor);
51002
51018
  if (table) {
51003
51019
  var cells = Table.__selectedByTable.get(table);
51004
51020
  if (cells) {
@@ -51015,7 +51031,7 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51015
51031
  * Returns array of selected cells
51016
51032
  */ key: "getAllSelectedCells",
51017
51033
  value: function getAllSelectedCells() {
51018
- return (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.toArray)(this.selected);
51034
+ return (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.toArray)(this.selected);
51019
51035
  }
51020
51036
  },
51021
51037
  {
@@ -51088,19 +51104,20 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51088
51104
  value: function appendColumn(table, selectedCell) {
51089
51105
  var insertAfter = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : true;
51090
51106
  var box = Table.__formalMatrix(table);
51091
- if (!insertAfter && jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__.Dom.isCell(selectedCell.previousElementSibling)) {
51107
+ if (!insertAfter && jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.isCell(selectedCell.previousElementSibling)) {
51092
51108
  return this.appendColumn(table, selectedCell.previousElementSibling, true);
51093
51109
  }
51094
- var columnIndex = insertAfter ? selectedCell.cellIndex + ((selectedCell.colSpan || 1) - 1) : selectedCell.cellIndex;
51110
+ var _Table___formalCoordinate = (0,_swc_helpers_sliced_to_array__WEBPACK_IMPORTED_MODULE_7__._)(Table.__formalCoordinate(table, selectedCell, insertAfter), 2), formalCol = _Table___formalCoordinate[1];
51111
+ var columnIndex = formalCol;
51095
51112
  var newColumnIndex = insertAfter ? columnIndex + 1 : columnIndex;
51096
51113
  for(var i = 0; i < box.length;){
51097
51114
  var cells = box[i];
51098
51115
  if (cells[columnIndex] !== cells[newColumnIndex] || columnIndex === newColumnIndex) {
51099
51116
  var cell = this.j.createInside.element('td');
51100
51117
  if (insertAfter) {
51101
- jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__.Dom.after(cells[columnIndex], cell);
51118
+ jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.after(cells[columnIndex], cell);
51102
51119
  } else {
51103
- jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__.Dom.before(cells[columnIndex], cell);
51120
+ jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.before(cells[columnIndex], cell);
51104
51121
  }
51105
51122
  if (cells[columnIndex].rowSpan > 1) {
51106
51123
  cell.rowSpan = cells[columnIndex].rowSpan;
@@ -51173,7 +51190,7 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51173
51190
  key: "__getSelectedCellsByTable",
51174
51191
  value: function __getSelectedCellsByTable(table) {
51175
51192
  var cells = Table.__selectedByTable.get(table);
51176
- return cells ? (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.toArray)(cells) : [];
51193
+ return cells ? (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.toArray)(cells) : [];
51177
51194
  }
51178
51195
  },
51179
51196
  {
@@ -51197,7 +51214,7 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51197
51214
  var matrix = [
51198
51215
  []
51199
51216
  ];
51200
- var rows = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.toArray)(table.rows);
51217
+ var rows = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.toArray)(table.rows);
51201
51218
  var setCell = function setCell(cell, i) {
51202
51219
  if (matrix[i] === undefined) {
51203
51220
  matrix[i] = [];
@@ -51220,7 +51237,7 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51220
51237
  }
51221
51238
  };
51222
51239
  for(var i = 0; i < rows.length; i += 1){
51223
- var cells = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.toArray)(rows[i].cells);
51240
+ var cells = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.toArray)(rows[i].cells);
51224
51241
  for(var j = 0; j < cells.length; j += 1){
51225
51242
  if (setCell(cells[j], i) === false) {
51226
51243
  return matrix;
@@ -51268,14 +51285,14 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51268
51285
  }
51269
51286
  } else {
51270
51287
  row = line.cloneNode(true);
51271
- (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.$$)('td,th', line).forEach(function(cell) {
51272
- var rowspan = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.attr)(cell, 'rowspan');
51288
+ (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.$$)('td,th', line).forEach(function(cell) {
51289
+ var rowspan = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.attr)(cell, 'rowspan');
51273
51290
  if (rowspan && parseInt(rowspan, 10) > 1) {
51274
51291
  var newRowSpan = parseInt(rowspan, 10) - 1;
51275
- (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.attr)(cell, 'rowspan', newRowSpan > 1 ? newRowSpan : null);
51292
+ (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.attr)(cell, 'rowspan', newRowSpan > 1 ? newRowSpan : null);
51276
51293
  }
51277
51294
  });
51278
- (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.$$)('td,th', row).forEach(function(cell) {
51295
+ (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.$$)('td,th', row).forEach(function(cell) {
51279
51296
  cell.innerHTML = '';
51280
51297
  });
51281
51298
  }
@@ -51306,8 +51323,8 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51306
51323
  while(box[rowIndex + 1][nextCell] === cell){
51307
51324
  nextCell += 1;
51308
51325
  }
51309
- var nextRow = jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__.Dom.next(cell.parentNode, function(elm) {
51310
- return jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__.Dom.isTag(elm, 'tr');
51326
+ var nextRow = jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.next(cell.parentNode, function(elm) {
51327
+ return jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.isTag(elm, 'tr');
51311
51328
  }, table);
51312
51329
  if (nextRow) {
51313
51330
  if (box[rowIndex + 1][nextCell]) {
@@ -51318,14 +51335,14 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51318
51335
  }
51319
51336
  }
51320
51337
  } else {
51321
- jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__.Dom.safeRemove(cell);
51338
+ jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.safeRemove(cell);
51322
51339
  }
51323
51340
  if (dec && (cell.parentNode === row || cell !== box[rowIndex][j - 1])) {
51324
51341
  var rowSpan = cell.rowSpan;
51325
- (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.attr)(cell, 'rowspan', rowSpan - 1 > 1 ? rowSpan - 1 : null);
51342
+ (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.attr)(cell, 'rowspan', rowSpan - 1 > 1 ? rowSpan - 1 : null);
51326
51343
  }
51327
51344
  });
51328
- jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__.Dom.safeRemove(row);
51345
+ jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.safeRemove(row);
51329
51346
  }
51330
51347
  },
51331
51348
  {
@@ -51341,11 +51358,11 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51341
51358
  } else if (j + 1 < cells.length && box[i][j + 1] === td) {
51342
51359
  dec = true;
51343
51360
  } else {
51344
- jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__.Dom.safeRemove(td);
51361
+ jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.safeRemove(td);
51345
51362
  }
51346
51363
  if (dec && (i - 1 < 0 || td !== box[i - 1][j])) {
51347
51364
  var colSpan = td.colSpan;
51348
- (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.attr)(td, 'colspan', colSpan - 1 > 1 ? (colSpan - 1).toString() : null);
51365
+ (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.attr)(td, 'colspan', colSpan - 1 > 1 ? (colSpan - 1).toString() : null);
51349
51366
  }
51350
51367
  });
51351
51368
  }
@@ -51418,13 +51435,13 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51418
51435
  continue; // broken table
51419
51436
  }
51420
51437
  if (box[i][j].hasAttribute('rowspan') && box[i][j].rowSpan === 1) {
51421
- (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.attr)(box[i][j], 'rowspan', null);
51438
+ (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.attr)(box[i][j], 'rowspan', null);
51422
51439
  }
51423
51440
  if (box[i][j].hasAttribute('colspan') && box[i][j].colSpan === 1) {
51424
- (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.attr)(box[i][j], 'colspan', null);
51441
+ (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.attr)(box[i][j], 'colspan', null);
51425
51442
  }
51426
- if (box[i][j].hasAttribute('class') && !(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.attr)(box[i][j], 'class')) {
51427
- (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.attr)(box[i][j], 'class', null);
51443
+ if (box[i][j].hasAttribute('class') && !(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.attr)(box[i][j], 'class')) {
51444
+ (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.attr)(box[i][j], 'class', null);
51428
51445
  }
51429
51446
  }
51430
51447
  }
@@ -51505,7 +51522,7 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51505
51522
  if (i === bound[0][0] && td.style.width) {
51506
51523
  w += td.offsetWidth;
51507
51524
  }
51508
- if ((0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.trim)(cell.innerHTML.replace(/<br(\/)?>/g, '')) !== '') {
51525
+ if ((0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.trim)(cell.innerHTML.replace(/<br(\/)?>/g, '')) !== '') {
51509
51526
  html.push(cell.innerHTML);
51510
51527
  }
51511
51528
  if (cs > 1) {
@@ -51534,7 +51551,7 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51534
51551
  Table.__mark(first, 'rowspan', rows, __marked);
51535
51552
  }
51536
51553
  if (w) {
51537
- Table.__mark(first, 'width', (w / table.offsetWidth * 100).toFixed(jodit_core_constants__WEBPACK_IMPORTED_MODULE_9__.ACCURACY) + '%', __marked);
51554
+ Table.__mark(first, 'width', (w / table.offsetWidth * 100).toFixed(jodit_core_constants__WEBPACK_IMPORTED_MODULE_10__.ACCURACY) + '%', __marked);
51538
51555
  if (first_j) {
51539
51556
  Table.__setColumnWidthByDelta(table, first_j, 0, true, __marked);
51540
51557
  }
@@ -51544,9 +51561,9 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51544
51561
  alreadyMerged.delete(first);
51545
51562
  Table.__unmark(__marked);
51546
51563
  Table.__normalizeTable(table);
51547
- (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.toArray)(table.rows).forEach(function(tr) {
51564
+ (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.toArray)(table.rows).forEach(function(tr) {
51548
51565
  if (!tr.cells.length) {
51549
- jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__.Dom.safeRemove(tr);
51566
+ jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.safeRemove(tr);
51550
51567
  }
51551
51568
  });
51552
51569
  }
@@ -51569,7 +51586,7 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51569
51586
  Table.__mark(tdElm, 'rowspan', tdElm.rowSpan + 1, __marked);
51570
51587
  }
51571
51588
  });
51572
- jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__.Dom.after(jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__.Dom.closest(cell, 'tr', table), tr);
51589
+ jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.after(jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.closest(cell, 'tr', table), tr);
51573
51590
  tr.appendChild(td);
51574
51591
  } else {
51575
51592
  Table.__mark(cell, 'rowspan', cell.rowSpan - 1, __marked);
@@ -51582,7 +51599,7 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51582
51599
  }
51583
51600
  });
51584
51601
  if (after) {
51585
- jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__.Dom.after(after, td);
51602
+ jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.after(after, td);
51586
51603
  } else {
51587
51604
  parent.insertBefore(td, parent.firstChild);
51588
51605
  }
@@ -51618,10 +51635,10 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51618
51635
  Table.__mark(td, 'rowspan', cell.rowSpan, __marked);
51619
51636
  }
51620
51637
  var oldWidth = cell.offsetWidth; // get old width
51621
- jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__.Dom.after(cell, td);
51638
+ jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.after(cell, td);
51622
51639
  percentage = oldWidth / table.offsetWidth / 2;
51623
- Table.__mark(cell, 'width', (percentage * 100).toFixed(jodit_core_constants__WEBPACK_IMPORTED_MODULE_9__.ACCURACY) + '%', __marked);
51624
- Table.__mark(td, 'width', (percentage * 100).toFixed(jodit_core_constants__WEBPACK_IMPORTED_MODULE_9__.ACCURACY) + '%', __marked);
51640
+ Table.__mark(cell, 'width', (percentage * 100).toFixed(jodit_core_constants__WEBPACK_IMPORTED_MODULE_10__.ACCURACY) + '%', __marked);
51641
+ Table.__mark(td, 'width', (percentage * 100).toFixed(jodit_core_constants__WEBPACK_IMPORTED_MODULE_10__.ACCURACY) + '%', __marked);
51625
51642
  Table.__unmark(__marked);
51626
51643
  instance(jodit).removeSelection(cell);
51627
51644
  });
@@ -51640,7 +51657,7 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51640
51657
  }
51641
51658
  var w = cell.offsetWidth;
51642
51659
  var percent = (w + delta) / table.offsetWidth * 100;
51643
- Table.__mark(cell, 'width', percent.toFixed(jodit_core_constants__WEBPACK_IMPORTED_MODULE_9__.ACCURACY) + '%', marked);
51660
+ Table.__mark(cell, 'width', percent.toFixed(jodit_core_constants__WEBPACK_IMPORTED_MODULE_10__.ACCURACY) + '%', marked);
51644
51661
  clearWidthIndex = i;
51645
51662
  break;
51646
51663
  }
@@ -51673,19 +51690,19 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51673
51690
  var value = dict[key];
51674
51691
  switch(key){
51675
51692
  case 'remove':
51676
- jodit_core_dom__WEBPACK_IMPORTED_MODULE_11__.Dom.safeRemove(cell);
51693
+ jodit_core_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.safeRemove(cell);
51677
51694
  break;
51678
51695
  case 'rowspan':
51679
- (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.attr)(cell, 'rowspan', (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.isNumber)(value) && value > 1 ? value : null);
51696
+ (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.attr)(cell, 'rowspan', (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.isNumber)(value) && value > 1 ? value : null);
51680
51697
  break;
51681
51698
  case 'colspan':
51682
- (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.attr)(cell, 'colspan', (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.isNumber)(value) && value > 1 ? value : null);
51699
+ (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.attr)(cell, 'colspan', (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.isNumber)(value) && value > 1 ? value : null);
51683
51700
  break;
51684
51701
  case 'width':
51685
51702
  if (value == null) {
51686
51703
  cell.style.removeProperty('width');
51687
- if (!(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.attr)(cell, 'style')) {
51688
- (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_13__.attr)(cell, 'style', null);
51704
+ if (!(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.attr)(cell, 'style')) {
51705
+ (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_14__.attr)(cell, 'style', null);
51689
51706
  }
51690
51707
  } else {
51691
51708
  cell.style.width = value.toString();
@@ -51701,10 +51718,10 @@ var Table = /*#__PURE__*/ function(ViewComponent) {
51701
51718
  }
51702
51719
  ]);
51703
51720
  return Table;
51704
- }(jodit_core_component__WEBPACK_IMPORTED_MODULE_8__.ViewComponent);
51721
+ }(jodit_core_component__WEBPACK_IMPORTED_MODULE_9__.ViewComponent);
51705
51722
  (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(Table, "__selectedByTable", new WeakMap());
51706
- (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_7__.__decorate)([
51707
- (0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_10__.debounce)()
51723
+ (0,_swc_helpers_ts_decorate__WEBPACK_IMPORTED_MODULE_8__.__decorate)([
51724
+ (0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_11__.debounce)()
51708
51725
  ], Table.prototype, "__recalculateStyles", null);
51709
51726
  var instance = function instance(j) {
51710
51727
  return j.getInstance('Table', j.o);