jodit 4.2.38 → 4.2.40

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 (89) hide show
  1. package/CHANGELOG.md +42 -5
  2. package/es2015/jodit.css +7 -1
  3. package/es2015/jodit.fat.min.css +1 -1
  4. package/es2015/jodit.fat.min.js +2 -2
  5. package/es2015/jodit.js +74 -37
  6. package/es2015/jodit.min.css +1 -1
  7. package/es2015/jodit.min.js +2 -2
  8. package/es2015/plugins/debug/debug.css +53 -0
  9. package/es2015/plugins/debug/debug.js +162 -24
  10. package/es2015/plugins/debug/debug.min.css +1 -0
  11. package/es2015/plugins/debug/debug.min.js +2 -2
  12. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  13. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  14. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  15. package/es2018/jodit.css +7 -1
  16. package/es2018/jodit.fat.min.css +1 -1
  17. package/es2018/jodit.fat.min.js +2 -2
  18. package/es2018/jodit.js +74 -37
  19. package/es2018/jodit.min.css +1 -1
  20. package/es2018/jodit.min.js +2 -2
  21. package/es2018/plugins/debug/debug.css +53 -0
  22. package/es2018/plugins/debug/debug.js +162 -24
  23. package/es2018/plugins/debug/debug.min.css +1 -0
  24. package/es2018/plugins/debug/debug.min.js +2 -2
  25. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  26. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  27. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  28. package/es2021/jodit.css +7 -1
  29. package/es2021/jodit.fat.min.css +1 -1
  30. package/es2021/jodit.fat.min.js +2 -2
  31. package/es2021/jodit.js +74 -36
  32. package/es2021/jodit.min.css +1 -1
  33. package/es2021/jodit.min.js +2 -2
  34. package/es2021/plugins/debug/debug.css +53 -0
  35. package/es2021/plugins/debug/debug.js +161 -24
  36. package/es2021/plugins/debug/debug.min.css +1 -0
  37. package/es2021/plugins/debug/debug.min.js +2 -2
  38. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  39. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  40. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  41. package/es2021.en/jodit.css +7 -1
  42. package/es2021.en/jodit.fat.min.css +1 -1
  43. package/es2021.en/jodit.fat.min.js +2 -2
  44. package/es2021.en/jodit.js +74 -36
  45. package/es2021.en/jodit.min.css +1 -1
  46. package/es2021.en/jodit.min.js +2 -2
  47. package/es2021.en/plugins/debug/debug.css +53 -0
  48. package/es2021.en/plugins/debug/debug.js +161 -24
  49. package/es2021.en/plugins/debug/debug.min.css +1 -0
  50. package/es2021.en/plugins/debug/debug.min.js +2 -2
  51. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  52. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  53. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  54. package/es5/164.fat.min.js +2 -2
  55. package/es5/164.js +6 -6
  56. package/es5/164.min.js +2 -2
  57. package/es5/5.fat.min.js +1 -1
  58. package/es5/5.min.js +1 -1
  59. package/es5/jodit.css +11 -2
  60. package/es5/jodit.fat.min.css +1 -1
  61. package/es5/jodit.fat.min.js +2 -2
  62. package/es5/jodit.js +80 -46
  63. package/es5/jodit.min.css +3 -3
  64. package/es5/jodit.min.js +2 -2
  65. package/es5/plugins/debug/debug.css +53 -0
  66. package/es5/plugins/debug/debug.js +161 -24
  67. package/es5/plugins/debug/debug.min.css +1 -0
  68. package/es5/plugins/debug/debug.min.js +2 -2
  69. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  70. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  71. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  72. package/esm/core/constants.js +1 -1
  73. package/esm/core/ui/button/tooltip/tooltip.d.ts +1 -0
  74. package/esm/core/ui/button/tooltip/tooltip.js +19 -8
  75. package/esm/core/view/view-with-toolbar.d.ts +1 -0
  76. package/esm/core/view/view-with-toolbar.js +3 -0
  77. package/esm/modules/toolbar/collection/collection.d.ts +0 -1
  78. package/esm/modules/toolbar/collection/collection.js +1 -4
  79. package/esm/plugins/debug/debug.d.ts +1 -0
  80. package/esm/plugins/enter/helpers/check-br.js +2 -0
  81. package/esm/plugins/index.js +1 -0
  82. package/esm/plugins/inline-popup/inline-popup.d.ts +0 -1
  83. package/esm/plugins/inline-popup/inline-popup.js +7 -7
  84. package/package.json +1 -1
  85. package/types/core/ui/button/tooltip/tooltip.d.ts +1 -0
  86. package/types/core/view/view-with-toolbar.d.ts +1 -0
  87. package/types/modules/toolbar/collection/collection.d.ts +0 -1
  88. package/types/plugins/debug/debug.d.ts +1 -0
  89. package/types/plugins/inline-popup/inline-popup.d.ts +0 -1
package/es2018/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.2.38
4
+ * Version: v4.2.40
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1735,7 +1735,7 @@ __webpack_require__.r(__webpack_exports__);
1735
1735
  * Released under MIT see LICENSE.txt in the project root for license information.
1736
1736
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
1737
1737
  */
1738
- const APP_VERSION = "4.2.38";
1738
+ const APP_VERSION = "4.2.40";
1739
1739
  // prettier-ignore
1740
1740
  const ES = "es2018";
1741
1741
  const IS_ES_MODERN = true;
@@ -13452,6 +13452,7 @@ const JODIT_EVENTS_ON_HIDE = [
13452
13452
  'changePlace.tooltip',
13453
13453
  'afterOpenPopup.tooltip',
13454
13454
  'hidePopup.tooltip',
13455
+ 'beforePopupClose.tooltip',
13455
13456
  'closeAllPopups.tooltip'
13456
13457
  ];
13457
13458
  let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_5__/* .UIElement */ .D {
@@ -13464,6 +13465,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
13464
13465
  constructor(view) {
13465
13466
  super(view);
13466
13467
  this.__isOpened = false;
13468
+ this.__attachedContainers = new Set();
13467
13469
  this.__listenClose = false;
13468
13470
  this.__currentTarget = null;
13469
13471
  this.__delayShowTimeout = 0;
@@ -13482,7 +13484,16 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
13482
13484
  __onAttach(container) {
13483
13485
  // TODO Move it inside __show method. Now it is here because testcase failed with capturing
13484
13486
  (0,jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .getContainer */ .My)(this.j, UITooltip_1).appendChild(this.container);
13485
- this.j.e.on(container, 'mouseenter.tooltip', this.__onMouseEnter, {
13487
+ this.__attachedContainers.add(container);
13488
+ this.__attachedContainers.add(this.j.container);
13489
+ this.j.e
13490
+ .on(container, 'mouseenter.tooltip', this.__onMouseEnter, {
13491
+ capture: true
13492
+ })
13493
+ .on(container, 'mouseleave.tooltip', this.__onMouseLeave, {
13494
+ capture: true
13495
+ })
13496
+ .on(this.j.container, 'mouseleave.tooltip', this.__onMouseLeave, {
13486
13497
  capture: true
13487
13498
  });
13488
13499
  }
@@ -13494,10 +13505,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
13494
13505
  const view = this.j;
13495
13506
  view.e
13496
13507
  .on(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
13497
- .on(JODIT_EVENTS_ON_HIDE, this.__hide)
13498
- .on(view.container, 'mouseleave.tooltip', this.__onMouseLeave, {
13499
- capture: true
13500
- });
13508
+ .on(JODIT_EVENTS_ON_HIDE, this.__hide);
13501
13509
  }
13502
13510
  __removeListenersOnLeave() {
13503
13511
  if (!this.__listenClose) {
@@ -13507,8 +13515,7 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
13507
13515
  const view = this.j;
13508
13516
  view.e
13509
13517
  .off(view.ow, WINDOW_EVENTS_ON_HIDE, this.__hide)
13510
- .off(JODIT_EVENTS_ON_HIDE, this.__hide)
13511
- .off(view.container, 'mouseleave.tooltip', this.__onMouseLeave);
13518
+ .off(JODIT_EVENTS_ON_HIDE, this.__hide);
13512
13519
  }
13513
13520
  __onMouseLeave(e) {
13514
13521
  if (this.__currentTarget === e.target) {
@@ -13585,7 +13592,11 @@ let UITooltip = UITooltip_1 = class UITooltip extends jodit_core_ui_element__WEB
13585
13592
  this.__hideTimeout = this.async.setTimeout(this.__hide, this.j.defaultTimeout);
13586
13593
  }
13587
13594
  destruct() {
13588
- this.j.e.off(this.j.container, 'mouseenter.tooltip', this.__onMouseEnter);
13595
+ this.__attachedContainers.forEach(container => {
13596
+ this.j.e
13597
+ .off(container, 'mouseenter.tooltip', this.__onMouseEnter)
13598
+ .off(container, 'mouseleave.tooltip', this.__onMouseLeave);
13599
+ });
13589
13600
  this.__hide();
13590
13601
  super.destruct();
13591
13602
  }
@@ -15815,17 +15826,18 @@ class ProgressBar extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_1__/* .
15815
15826
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15816
15827
  /* harmony export */ T: function() { return /* binding */ ViewWithToolbar; }
15817
15828
  /* harmony export */ });
15818
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(31635);
15829
+ /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(31635);
15819
15830
  /* harmony import */ var jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(64567);
15820
- /* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(26318);
15831
+ /* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(26318);
15821
15832
  /* harmony import */ var jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66927);
15822
15833
  /* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55186);
15823
15834
  /* harmony import */ var jodit_core_helpers_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(32709);
15824
- /* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(98253);
15835
+ /* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(98253);
15825
15836
  /* harmony import */ var jodit_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(58720);
15826
- /* harmony import */ var jodit_core_ui_helpers_buttons__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(39611);
15827
- /* harmony import */ var jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(77782);
15828
- /* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(8809);
15837
+ /* harmony import */ var jodit_core_ui__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(53048);
15838
+ /* harmony import */ var jodit_core_ui_helpers_buttons__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(39611);
15839
+ /* harmony import */ var jodit_core_view_view__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(77782);
15840
+ /* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(8809);
15829
15841
  /*!
15830
15842
  * Jodit Editor (https://xdsoft.net/jodit/)
15831
15843
  * Released under MIT see LICENSE.txt in the project root for license information.
@@ -15843,13 +15855,14 @@ class ProgressBar extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_1__/* .
15843
15855
 
15844
15856
 
15845
15857
 
15846
- class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/* .View */ .S {
15858
+
15859
+ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_6__/* .View */ .S {
15847
15860
  /**
15848
15861
  * Container for toolbar
15849
15862
  */
15850
15863
  get toolbarContainer() {
15851
15864
  if (!this.o.fullsize &&
15852
- ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_7__/* .isString */ .K)(this.o.toolbar) || jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isHTMLElement(this.o.toolbar))) {
15865
+ ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_8__/* .isString */ .K)(this.o.toolbar) || jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .J.isHTMLElement(this.o.toolbar))) {
15853
15866
  return (0,jodit_core_helpers_utils_selector__WEBPACK_IMPORTED_MODULE_4__/* .resolveElement */ .tI)(this.o.toolbar, this.o.shadowRoot || this.od);
15854
15867
  }
15855
15868
  this.o.toolbar &&
@@ -15921,7 +15934,7 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/
15921
15934
  beforeToolbarBuild(items) {
15922
15935
  if (Object.keys(this.groupToButtons).length) {
15923
15936
  return items.map(item => {
15924
- if ((0,jodit_core_ui_helpers_buttons__WEBPACK_IMPORTED_MODULE_8__/* .isButtonGroup */ .i)(item) &&
15937
+ if ((0,jodit_core_ui_helpers_buttons__WEBPACK_IMPORTED_MODULE_9__/* .isButtonGroup */ .i)(item) &&
15925
15938
  item.group &&
15926
15939
  this.groupToButtons[item.group]) {
15927
15940
  return {
@@ -15939,11 +15952,12 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/
15939
15952
  /** @override **/
15940
15953
  constructor(options, isJodit = false) {
15941
15954
  super(options, isJodit);
15942
- this.toolbar = (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_6__/* .makeCollection */ .$K)(this);
15955
+ this.toolbar = (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_7__/* .makeCollection */ .$K)(this);
15943
15956
  this.__defaultToolbarContainer = this.c.div('jodit-toolbar__box');
15944
15957
  this.registeredButtons = new Set();
15945
15958
  this.groupToButtons = {};
15946
15959
  this.isJodit = false;
15960
+ this.__tooltip = new jodit_core_ui__WEBPACK_IMPORTED_MODULE_5__/* .UITooltip */ .SB(this);
15947
15961
  this.isJodit = isJodit;
15948
15962
  this.e.on('beforeToolbarBuild', this.beforeToolbarBuild);
15949
15963
  }
@@ -15953,17 +15967,18 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_5__/
15953
15967
  }
15954
15968
  this.setStatus(jodit_core_component_statuses__WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
15955
15969
  this.e.off('beforeToolbarBuild', this.beforeToolbarBuild);
15970
+ this.__tooltip.destruct();
15956
15971
  this.toolbar.destruct();
15957
15972
  // @ts-ignore After destruct, we are not responsible for anything
15958
15973
  this.toolbar = undefined;
15959
15974
  super.destruct();
15960
15975
  }
15961
15976
  }
15962
- (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .Cg)([
15977
+ (0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .Cg)([
15963
15978
  (0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .w)(':rebuildToolbar')
15964
15979
  ], ViewWithToolbar.prototype, "buildToolbar", null);
15965
- (0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .Cg)([
15966
- jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Ay
15980
+ (0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .Cg)([
15981
+ jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Ay
15967
15982
  ], ViewWithToolbar.prototype, "beforeToolbarBuild", null);
15968
15983
 
15969
15984
 
@@ -23681,7 +23696,6 @@ let ToolbarCollection = class ToolbarCollection extends jodit_core_ui__WEBPACK_I
23681
23696
  super(jodit);
23682
23697
  this.__listenEvents = 'updatePlugins updateToolbar changeStack mousedown mouseup keydown change afterInit readonly afterResize ' +
23683
23698
  'selectionchange changeSelection focus afterSetMode touchstart focus blur';
23684
- this.__tooltip = new jodit_core_ui__WEBPACK_IMPORTED_MODULE_2__/* .UITooltip */ .SB(this.jodit);
23685
23699
  }
23686
23700
  __initEvents() {
23687
23701
  this.j.e
@@ -23708,12 +23722,9 @@ let ToolbarCollection = class ToolbarCollection extends jodit_core_ui__WEBPACK_I
23708
23722
  }
23709
23723
  /** @override **/
23710
23724
  destruct() {
23711
- var _a;
23712
23725
  if (this.isDestructed) {
23713
23726
  return;
23714
23727
  }
23715
- (_a = this.__tooltip) === null || _a === void 0 ? void 0 : _a.destruct();
23716
- this.__tooltip = null;
23717
23728
  this.j.e
23718
23729
  .off(this.__listenEvents, this.update)
23719
23730
  .off('afterSetMode focus', this.__immediateUpdate);
@@ -29700,9 +29711,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('enter
29700
29711
  */
29701
29712
  function checkBR(fake, jodit, shiftKeyPressed) {
29702
29713
  const isMultiLineBlock = Boolean(jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.closest(fake, ['pre', 'blockquote'], jodit.editor));
29714
+ const isCell = !isMultiLineBlock && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.closest(fake, ['td', 'th'], jodit.editor);
29703
29715
  const isBRMode = jodit.o.enter.toLowerCase() === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.BR.toLowerCase();
29704
29716
  // if you use <br> defaultTag for break line or when was entered SHIFt key or in <td> or <th> or <blockquote>
29705
29717
  if (isBRMode ||
29718
+ isCell ||
29706
29719
  (shiftKeyPressed && !isMultiLineBlock) ||
29707
29720
  (!shiftKeyPressed && isMultiLineBlock)) {
29708
29721
  // 2 BR before
@@ -33189,6 +33202,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
33189
33202
 
33190
33203
 
33191
33204
 
33205
+ // import 'jodit/plugins/debug/debug';
33192
33206
 
33193
33207
 
33194
33208
 
@@ -33818,10 +33832,10 @@ class inlinePopup extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plug
33818
33832
  if (!this.j.o.toolbarInlineForSelection) {
33819
33833
  return;
33820
33834
  }
33821
- const type = 'selection', sel = this.j.s.sel, range = this.j.s.range;
33822
- if ((sel === null || sel === void 0 ? void 0 : sel.isCollapsed) ||
33823
- this.isSelectedTarget(range) ||
33824
- this.tableModule.getAllSelectedCells().length) {
33835
+ const type = 'selection';
33836
+ const sel = this.j.s.sel;
33837
+ const range = this.j.s.range;
33838
+ if ((sel === null || sel === void 0 ? void 0 : sel.isCollapsed) || this.isSelectedTarget(range)) {
33825
33839
  if (this.type === type && this.popup.isOpened) {
33826
33840
  this.hidePopup();
33827
33841
  }
@@ -33846,9 +33860,9 @@ class inlinePopup extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plug
33846
33860
  /**
33847
33861
  * Shortcut for Table module
33848
33862
  */
33849
- get tableModule() {
33850
- return this.j.getInstance('Table', this.j.o);
33851
- }
33863
+ // private get tableModule(): Table {
33864
+ // return this.j.getInstance<Table>('Table', this.j.o);
33865
+ // }
33852
33866
  /** @override **/
33853
33867
  beforeDestruct(jodit) {
33854
33868
  jodit.e
@@ -44111,7 +44125,7 @@ module.exports = {assert(){}};;
44111
44125
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
44112
44126
  /* harmony export */ Cg: function() { return /* binding */ __decorate; }
44113
44127
  /* harmony export */ });
44114
- /* unused harmony exports __extends, __assign, __rest, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __addDisposableResource, __disposeResources */
44128
+ /* unused harmony exports __extends, __assign, __rest, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __addDisposableResource, __disposeResources, __rewriteRelativeImportExtension */
44115
44129
  /******************************************************************************
44116
44130
  Copyright (c) Microsoft Corporation.
44117
44131
 
@@ -44377,10 +44391,19 @@ var __setModuleDefault = Object.create ? (function(o, v) {
44377
44391
  o["default"] = v;
44378
44392
  };
44379
44393
 
44394
+ var ownKeys = function(o) {
44395
+ ownKeys = Object.getOwnPropertyNames || function (o) {
44396
+ var ar = [];
44397
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
44398
+ return ar;
44399
+ };
44400
+ return ownKeys(o);
44401
+ };
44402
+
44380
44403
  function __importStar(mod) {
44381
44404
  if (mod && mod.__esModule) return mod;
44382
44405
  var result = {};
44383
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
44406
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44384
44407
  __setModuleDefault(result, mod);
44385
44408
  return result;
44386
44409
  }
@@ -44461,12 +44484,25 @@ function __disposeResources(env) {
44461
44484
  return next();
44462
44485
  }
44463
44486
 
44487
+ function __rewriteRelativeImportExtension(path, preserveJsx) {
44488
+ if (typeof path === "string" && /^\.\.?\//.test(path)) {
44489
+ return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
44490
+ return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
44491
+ });
44492
+ }
44493
+ return path;
44494
+ }
44495
+
44464
44496
  /* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ({
44465
44497
  __extends,
44466
44498
  __assign,
44467
44499
  __rest,
44468
44500
  __decorate,
44469
44501
  __param,
44502
+ __esDecorate,
44503
+ __runInitializers,
44504
+ __propKey,
44505
+ __setFunctionName,
44470
44506
  __metadata,
44471
44507
  __awaiter,
44472
44508
  __generator,
@@ -44489,6 +44525,7 @@ function __disposeResources(env) {
44489
44525
  __classPrivateFieldIn,
44490
44526
  __addDisposableResource,
44491
44527
  __disposeResources,
44528
+ __rewriteRelativeImportExtension,
44492
44529
  });
44493
44530
 
44494
44531
 
@@ -44655,7 +44692,7 @@ function __disposeResources(env) {
44655
44692
  /******/
44656
44693
  /************************************************************************/
44657
44694
  var __webpack_exports__ = {};
44658
- // This entry need to be wrapped in an IIFE because it need to be in strict mode.
44695
+ // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
44659
44696
  !function() {
44660
44697
  "use strict";
44661
44698
  __webpack_require__.r(__webpack_exports__);