@worktile/theia 20.2.2 → 20.2.4

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.
@@ -10,7 +10,7 @@ import { cloneDeep, map, every, assign, defaults, groupBy, uniq, isEqual } from
10
10
  export { assign, cloneDeep, debounce, defaults, groupBy, isEqual, map, uniq } from 'lodash';
11
11
  import { Editor, Element, Span, Range, Path, Node, Point, Text, Transforms, Operation, createEditor } from 'slate';
12
12
  import * as i4 from 'slate-angular';
13
- import { FAKE_LEFT_BLOCK_CARD_OFFSET, FAKE_RIGHT_BLOCK_CARD_OFFSET, getClipboardData, AngularEditor, hotkeys, getPlainText as getPlainText$1, createClipboardData, setClipboardData, BaseElementComponent, IS_SAFARI, ELEMENT_TO_COMPONENT, SlateModule, getBlockCardByNativeElement, SLATE_BLOCK_CARD_CLASS_NAME, EDITOR_TO_VIRTUAL_SCROLL_SELECTION, BaseElementFlavour, hasBlockCard, isCardLeft, ELEMENT_KEY_TO_HEIGHTS, getRealHeightByElement, isDebug, debugLog, DefaultTextFlavour, defaultScrollSelectionIntoView, getDataTransferClipboard, SLATE_DEBUG_KEY, withAngular } from 'slate-angular';
13
+ import { FAKE_LEFT_BLOCK_CARD_OFFSET, FAKE_RIGHT_BLOCK_CARD_OFFSET, getClipboardData, AngularEditor, hotkeys, getPlainText as getPlainText$1, createClipboardData, setClipboardData, BaseElementComponent, IS_SAFARI, ELEMENT_TO_COMPONENT, SlateModule, getBlockCardByNativeElement, SLATE_BLOCK_CARD_CLASS_NAME, EDITOR_TO_VIRTUAL_SCROLL_SELECTION, BaseElementFlavour, hasBlockCard, isCardLeft, ELEMENT_KEY_TO_HEIGHTS, getCachedHeightByElement, isDebug, debugLog, DEFAULT_ELEMENT_HEIGHT, DefaultTextFlavour, defaultScrollSelectionIntoView, getDataTransferClipboard, SLATE_DEBUG_KEY, withAngular } from 'slate-angular';
14
14
  import { HistoryEditor, withHistory } from 'slate-history';
15
15
  import { NODE_TO_PARENT, NODE_TO_INDEX, NODE_TO_ELEMENT, DOMEditor, EDITOR_TO_ELEMENT } from 'slate-dom';
16
16
  import { TheiaConverter } from '@atinc/selene';
@@ -63,6 +63,7 @@ const ELEMENT_UNIQUE_ID = 'key';
63
63
  const ZERO_WIDTH_CHAR = '\u200B';
64
64
  const QUICK_INSERT_HOTKEY = '/';
65
65
  const BLOCK_HIDDEN_CLASS = 'slate-block-hidden';
66
+ const ROOT_ELEMENT_MARGIN_BOTTOM = 8;
66
67
 
67
68
  var ElementKinds;
68
69
  (function (ElementKinds) {
@@ -758,6 +759,7 @@ const CODE_MODES = [
758
759
  }
759
760
  ];
760
761
  const CODEMIRROR_PADDING_TOP = 10;
762
+ const CODEMIRROR_DEFAULT_MAX_HEIGHT = 350;
761
763
 
762
764
  const TheToolbarGroupToken = new InjectionToken('the-toolbar-group-token');
763
765
  var DropdownMode;
@@ -1383,7 +1385,7 @@ const getBlockCardAbove = (editor, options = {}) => Editor.above(editor, {
1383
1385
  ...options
1384
1386
  });
1385
1387
 
1386
- const isContainer = (editor, value) => Element.isElement(value) && editor.isContainer && editor.isContainer(value);
1388
+ const isContainer = (editor, value) => editor.isContainer && editor.isContainer(value);
1387
1389
 
1388
1390
  const getContainerBlocks = (editor) => {
1389
1391
  const containerNode = Editor.above(editor, {
@@ -7196,7 +7198,7 @@ class TheCode extends TheBaseElement {
7196
7198
  });
7197
7199
  }
7198
7200
  initMaxHeight() {
7199
- this.maxHeight = isPrintMode(this.editor) ? 0 : 350 - CODEMIRROR_PADDING_TOP * 2;
7201
+ this.maxHeight = isPrintMode(this.editor) ? 0 : CODEMIRROR_DEFAULT_MAX_HEIGHT - CODEMIRROR_PADDING_TOP * 2;
7200
7202
  }
7201
7203
  openToolbar() {
7202
7204
  if (!isGlobalCollapsed(this.editor) || this.isToolbarOpen) {
@@ -10126,7 +10128,7 @@ class TheTable extends TheBaseElement {
10126
10128
  this.listenSelectstartEvent();
10127
10129
  this.listenTableContextMenuEvent();
10128
10130
  this.listenTableWrapperScroll();
10129
- this.subscribeScrollContainerScroll(this.tableWrapperLeft);
10131
+ this.subscribeScrollContainerScroll();
10130
10132
  this.initHorizontalScrollbar();
10131
10133
  if (isPrintMode) {
10132
10134
  this.cdr.markForCheck();
@@ -10186,15 +10188,12 @@ class TheTable extends TheBaseElement {
10186
10188
  }
10187
10189
  return { height, top };
10188
10190
  }
10189
- subscribeScrollContainerScroll(tableWrapperLeft) {
10191
+ subscribeScrollContainerScroll() {
10190
10192
  this.ngZone.runOutsideAngular(() => {
10191
10193
  this.contextService.containerScrolled$
10192
10194
  .pipe(takeUntil(this.destroy$), map$1(entires => {
10193
10195
  const { event, direction } = entires;
10194
10196
  if (direction === ScrollDirection.X) {
10195
- const { left } = this.nativeElement.getBoundingClientRect();
10196
- this.isScrolledXOfScrollContainer = tableWrapperLeft !== left;
10197
- this.tableWrapperLeft = left;
10198
10197
  this.setHeaderRowShadow();
10199
10198
  this.setStickyElementLeftStyle();
10200
10199
  }
@@ -10233,7 +10232,7 @@ class TheTable extends TheBaseElement {
10233
10232
  }
10234
10233
  }
10235
10234
  updateFreezeState() {
10236
- this.isFreezeRow = this.freezeRowPipe.transform(this.element, this.tablePluginOptions, this.editor);
10235
+ this.isFreezeRow = this.freezeRowPipe.transform(this.element, this.tablePluginOptions, this.editor) && this.children.length > 1;
10237
10236
  this.isFreezeColumn = this.freezeColumnPipe.transform(this.element, this.tablePluginOptions, this.tableWrapperWidth, this.editor);
10238
10237
  }
10239
10238
  setTableHeaderStyle() {
@@ -10281,8 +10280,10 @@ class TheTable extends TheBaseElement {
10281
10280
  }
10282
10281
  else {
10283
10282
  if (this.readonly) {
10284
- cellsWidth = getColumnsWidth(headerRow);
10285
- gridColumns = getGridColumns(headerRow, cellsWidth);
10283
+ // 预览模式且没有colgroup,使用数据行的宽度计算固定列宽
10284
+ const dataRow = this.tbodyElement.nativeElement.childNodes[1];
10285
+ cellsWidth = getColumnsWidth(dataRow);
10286
+ gridColumns = getGridColumns(dataRow, cellsWidth);
10286
10287
  }
10287
10288
  else {
10288
10289
  const columnCount = this.element.children[0].children.length;
@@ -10721,9 +10722,11 @@ class TheTable extends TheBaseElement {
10721
10722
  const cornerControl = this.cornerControl.nativeElement;
10722
10723
  const rowControl = this.rowControlsButtonWrapper.first?.nativeElement;
10723
10724
  const buffer = this.isInTable ? -TABLE_CONTROL : 0;
10724
- if (this.isStickyTop && this.isScrolledXOfScrollContainer) {
10725
+ if (this.isStickyTop) {
10726
+ this.getWrapperWidthAndLeft();
10727
+ const controlButtonBorder = 1;
10725
10728
  stickyRows.forEach((element) => {
10726
- this.renderer.setStyle(element, 'left', `${this.tableWrapperLeft}px`);
10729
+ this.renderer.setStyle(element, 'left', `${this.tableWrapperLeft + (this.readonly ? 0 : this.getColControlButtonWidth() - controlButtonBorder)}px`);
10727
10730
  });
10728
10731
  this.renderer.setStyle(cornerControl, 'left', `${this.tableWrapperLeft + buffer}px`);
10729
10732
  rowControl && this.renderer.setStyle(rowControl, 'left', `${this.tableWrapperLeft + buffer}px`);
@@ -12821,7 +12824,7 @@ const createBlockquotePlugin = (locale) => createPluginFactory({
12821
12824
  })();
12822
12825
 
12823
12826
  const withCode = (editor) => {
12824
- const { isVoid, isBlockCard, renderElement, setFragmentData } = editor;
12827
+ const { isVoid, isBlockCard, renderElement, setFragmentData, getRoughHeight } = editor;
12825
12828
  editor.isVoid = (element) => {
12826
12829
  return element.type === ElementKinds.code ? true : isVoid(element);
12827
12830
  };
@@ -12847,6 +12850,21 @@ const withCode = (editor) => {
12847
12850
  }
12848
12851
  setFragmentData(data, originEvent);
12849
12852
  };
12853
+ editor.getRoughHeight = (element, defaultHeight) => {
12854
+ if (element.type === ElementKinds.code) {
12855
+ if (element.height) {
12856
+ return element.height + ROOT_ELEMENT_MARGIN_BOTTOM;
12857
+ }
12858
+ else {
12859
+ const lineHeight = 22;
12860
+ const content = element.content;
12861
+ const height = content.split('\n').length * lineHeight;
12862
+ const maxHeight = CODEMIRROR_DEFAULT_MAX_HEIGHT - CODEMIRROR_PADDING_TOP * 2;
12863
+ return (height > maxHeight ? maxHeight : height + CODEMIRROR_PADDING_TOP * 2) + ROOT_ELEMENT_MARGIN_BOTTOM;
12864
+ }
12865
+ }
12866
+ return getRoughHeight(element, defaultHeight);
12867
+ };
12850
12868
  return editor;
12851
12869
  };
12852
12870
  const createCodePlugin = (locale) => createPluginFactory({
@@ -13309,7 +13327,7 @@ const createBlockCardPlugin = createPluginFactory({
13309
13327
  });
13310
13328
 
13311
13329
  const withInternalCommon = (editor) => {
13312
- const { globalMousedown, onKeydown, selectAll } = editor;
13330
+ const { globalMousedown, onKeydown, selectAll, getRoughHeight } = editor;
13313
13331
  editor.globalMousedown = (event) => {
13314
13332
  const target = event.target;
13315
13333
  if (isColorIndicator(target)) {
@@ -13360,6 +13378,16 @@ const withInternalCommon = (editor) => {
13360
13378
  Transforms.select(editor, []);
13361
13379
  }
13362
13380
  };
13381
+ editor.getRoughHeight = (element, defaultHeight) => {
13382
+ if (isContainer(editor, element)) {
13383
+ let height = 0;
13384
+ element.children.forEach((child, index) => {
13385
+ height += editor.getRoughHeight(child, defaultHeight);
13386
+ });
13387
+ return height;
13388
+ }
13389
+ return getRoughHeight(element, defaultHeight);
13390
+ };
13363
13391
  return editor;
13364
13392
  };
13365
13393
  const createCommonPlugin = (locale) => createPluginFactory({
@@ -14363,12 +14391,11 @@ class TheImage extends TheBaseElement {
14363
14391
  if (!AngularEditor.isEnabledVirtualScroll(this.editor)) {
14364
14392
  return;
14365
14393
  }
14366
- const realHeight = getRealHeightByElement(this.editor, this.element);
14394
+ const realHeight = getCachedHeightByElement(this.editor, this.element);
14367
14395
  if (realHeight) {
14368
14396
  const blockCard = getBlockCardByNativeElement(this.nativeElement);
14369
14397
  if (blockCard) {
14370
- const style = getComputedStyle(blockCard);
14371
- const minHeight = realHeight - parseFloat(style.marginTop) - parseFloat(style.marginBottom);
14398
+ const minHeight = realHeight - ROOT_ELEMENT_MARGIN_BOTTOM;
14372
14399
  blockCard.style.minHeight = minHeight + 'px';
14373
14400
  // if (isDebug) {
14374
14401
  // debugLog('warn', 'setImageMinHeight in blockCard, realHeight(cache): ', realHeight, this.element.key, 'minHeight: ', minHeight);
@@ -14551,7 +14578,7 @@ class TheImage extends TheBaseElement {
14551
14578
  width: this.imageEntry.width,
14552
14579
  height: this.imageEntry.height
14553
14580
  }, { at: this.selection });
14554
- this.cacheImageHeight(this.getRealHeight());
14581
+ this.cacheImageHeight(this.calcHeight());
14555
14582
  }
14556
14583
  }
14557
14584
  cancelUpload() {
@@ -14658,7 +14685,7 @@ class TheImage extends TheBaseElement {
14658
14685
  // }
14659
14686
  const result = this.clearMinHeight();
14660
14687
  if (!result) {
14661
- this.cacheImageHeight(this.getRealHeight());
14688
+ this.cacheImageHeight(this.calcHeight());
14662
14689
  }
14663
14690
  }, 0);
14664
14691
  }
@@ -16003,7 +16030,7 @@ class TheLIFlavour extends TheBaseFlavourElement {
16003
16030
  }
16004
16031
 
16005
16032
  const withList = (editor) => {
16006
- const { insertBreak, deleteBackward, onKeydown, customInsertFragmentData, setFragmentData, renderElement } = editor;
16033
+ const { insertBreak, deleteBackward, onKeydown, customInsertFragmentData, setFragmentData, renderElement, getRoughHeight } = editor;
16007
16034
  const validLiChildrenTypes = getPluginOptions(editor, PluginKeys.list)?.validLiChildrenTypes ?? [];
16008
16035
  const resetBlockTypesListRule = {
16009
16036
  types: [ElementKinds.listItem],
@@ -16207,6 +16234,12 @@ const withList = (editor) => {
16207
16234
  }
16208
16235
  return renderElement(element);
16209
16236
  };
16237
+ editor.getRoughHeight = (element, defaultHeight) => {
16238
+ if (element.type === ElementKinds.bulletedList || element.type === ElementKinds.numberedList) {
16239
+ return getListRoughHeight(element);
16240
+ }
16241
+ return getRoughHeight(element, defaultHeight);
16242
+ };
16210
16243
  return editor;
16211
16244
  };
16212
16245
  const listOptions = {
@@ -16274,6 +16307,27 @@ const createListPlugin = (locale) => createPluginFactory({
16274
16307
  ],
16275
16308
  options: listOptions
16276
16309
  })();
16310
+ const MAX_LIST_DEPTH = 2;
16311
+ const getListRoughHeight = (element, deep = 0) => {
16312
+ let height = 0;
16313
+ element.children.forEach((child, index) => {
16314
+ let childHeight = DEFAULT_ELEMENT_HEIGHT;
16315
+ const liElement = child;
16316
+ if (liElement.children.length > 1 && isNodeTypeList(liElement.children[1]) && deep <= MAX_LIST_DEPTH) {
16317
+ childHeight +=
16318
+ ROOT_ELEMENT_MARGIN_BOTTOM +
16319
+ getListRoughHeight(liElement.children[1], deep + 1);
16320
+ }
16321
+ if (index !== element.children.length - 1) {
16322
+ childHeight += ROOT_ELEMENT_MARGIN_BOTTOM;
16323
+ }
16324
+ height += childHeight;
16325
+ });
16326
+ if (deep === 0) {
16327
+ height += ROOT_ELEMENT_MARGIN_BOTTOM;
16328
+ }
16329
+ return height;
16330
+ };
16277
16331
 
16278
16332
  const withMark = (editor) => {
16279
16333
  const e = editor;
@@ -17453,13 +17507,6 @@ const withTable = (editor) => {
17453
17507
  }
17454
17508
  onClick(event);
17455
17509
  };
17456
- editor.getRoughHeight = (element, defaultHeight) => {
17457
- if (Element.isElement(element) && element.type === ElementKinds.table) {
17458
- const defaultRowHeight = 41;
17459
- return element.children.length * defaultRowHeight;
17460
- }
17461
- return getRoughHeight(element, defaultHeight);
17462
- };
17463
17510
  editor.mousedown = (event) => {
17464
17511
  const hitElement = event.target;
17465
17512
  if (hitElement.classList.contains('the-table-wrapper')) {
@@ -17891,6 +17938,13 @@ const withTable = (editor) => {
17891
17938
  }
17892
17939
  catch (error) { }
17893
17940
  };
17941
+ editor.getRoughHeight = (element, defaultHeight) => {
17942
+ if (Element.isElement(element) && element.type === ElementKinds.table) {
17943
+ const defaultRowHeight = 41;
17944
+ return element.children.length * defaultRowHeight + ROOT_ELEMENT_MARGIN_BOTTOM;
17945
+ }
17946
+ return getRoughHeight(element, defaultHeight);
17947
+ };
17894
17948
  return editor;
17895
17949
  };
17896
17950
  const createTablePlugin = (locale) => createPluginFactory({
@@ -18987,5 +19041,5 @@ const withTestPlugin = (plugins, initValue) => {
18987
19041
  * Generated bundle index. Do not edit.
18988
19042
  */
18989
19043
 
18990
- export { ALIGN_BLOCK_TYPES, A_TAG_REL_ATTR, AlignEditor, Alignment, BLOCK_DELETE_BACKWARD_TYPES, BLOCK_HIDDEN_CLASS, BasicTest, BlockquoteEditor, CLIPBOARD_FORMAT_KEY, CODEMIRROR_PADDING_TOP, CODE_MODES, CONTAINER_BLOCKS, CONTROL_KEY, CodeEditor, ColorEditor, ColumnResizeNotifierSource, ColumnResizingStore, DEFAULT_LANGUAGE, DEFAULT_SCROLL_CONTAINER, DISABLED_OPERATE_TYPES, DataTransferFaker, DefaultElementOptions, DefaultGlobalToolbarDefinition, DefaultInlineToolbarDefinition, DropdownMode, ELEMENT_UNIQUE_ID, EditorPresetConfigFactoryMock, ElementKinds, ErrorCodes, FontSizeTypes, FontSizes, HEADING_TYPES, HeaderLevelMap, HeadingEditor, HoveredCellInfo, HrEditor, IS_MAC, ImageEditor, IndentEditor, Indents, InlineCodeEditor, LINK_DEFAULT_TEXT, LIST_BLOCK_TYPES, LOWEST_TEXT_CONTAINER_TYPES, LayoutTypes, LinkEditor, ListEditor, MarkEditor, MarkProps, MarkTypes, MentionEditor, PICTURE_ACCEPTED_UPLOAD_MIME, PICTURE_ACCEPTED_UPLOAD_SIZE, PluginKeys, PluginMenuIcons, PluginMenuSvgs, Position, QUICK_INSERT_HOTKEY, QuickInsertEditor, ResizeRef, SLA_TABLE_CELL_SELECTOR, SLA_TABLE_SELECTOR, STANDARD_HEADING_TYPES, ScrollDirection, SpecialBackgroundColor, TAB_SPACE, THE_EDITOR_BG_COLOR, THE_EDITOR_COLOR, THE_EDITOR_CONVERSION_HINT_REF, THE_EDITOR_ORIGIN_ANCHOR, THE_EDITOR_POPOVER_REF, THE_EDITOR_PREVIOUS_SELECTION, THE_EDITOR_UUID, THE_I18N_DE_DE, THE_I18N_EN_US, THE_I18N_JA_JP, THE_I18N_LOCALE_ID, THE_I18N_RU_RU, THE_I18N_ZH_HANS, THE_I18N_ZH_HANT, THE_IMAGE_SERVICE_TOKEN, THE_LISTBOX_PARENT_GROUP_TOKEN, THE_LISTBOX_PARENT_OPTION_TOKEN, THE_LISTBOX_TOKEN, THE_MODE_PROVIDER, THE_MODE_TOKEN, THE_PLUGIN_MENU_REF, THE_PRESET_CONFIG_TOKEN, TableCellEventDispatcher, TableEditor, TableHeaderBackgroundColor, TablePosition, TheBaseElement, TheBaseSuggestion, TheBaseToolbarDropdown, TheBaseToolbarItem, TheCode, TheColumnResizeDirective, TheColumnResizeOverlayHandle, TheContextMenu, TheContextService, TheConversionHint, TheDataMode, TheEditor, TheEditorComponent, TheEditorModule, TheI18nService, TheImage, TheInlineToolbar, TheListboxDirective, TheListboxGroupDirective, TheListboxOptionDirective, TheLocaleType, TheMode, TheModeConfig, ThePluginMenu, ThePluginMenuComponent, ThePluginMenuItemType, ThePreventDefaultDirective, index$1 as TheQueries, TheQuickInsert, TheTable, TheTableSelect, TheToolbarComponent, TheToolbarDropdown, TheToolbarGroup, TheToolbarGroupToken, TheToolbarItem, TheToolbarService, index as TheTransforms, TodoItemEditor, ToolbarActionTypes, ToolbarAlignment, ToolbarItemType, ToolbarMoreGroup, VOID_BLOCK_TYPES, VerticalAlignEditor, VerticalAlignment, ZERO_WIDTH_CHAR, autoFocus, base64toBlob, bottomLeftPosition, bottomRightPosition, buildPluginMenu, buildPluginMenuItemMap, buildQuickInsertMenus, calcPrintColumnWidth, calcSpanForColumn, calcSpanForRow, calculateHeaderRowHeight, calculateRowControls, coercePixelsFromCssValue, combinePlugins, copyNode, createBreakBarChar, createCell, createEmptyContent, createEmptyParagraph, createMentionPlugin, createPluginFactory, createRow, createTable, createTablePosition, createTest1Plugin, createTestPlugin, createToolbar, createVerticalAlignPlugin, customPluginMock, customPluginMockKey, dataDeserialize, dataSerializing, deDeLocale, deleteElementKey, enUsLocale, errorImageUrlMock, expandPreviousHeadings, extractFragment, extractFragmentByHTML, filterTextFormat, fixBlockWithoutParagraph, fixBlockWithoutText, flattenDeepPlugins, getCellPositionsFromRange, getCollapsedStandardHeadingAbove, getColsTotalWidth, getColumnsWidth, getDirtyElements, getEditorScrollContainer, getEditorUUID, getElementClassByPrefix, getElementHeight, getElementWidth, getEndBlock, getFollowElements, getGridColumns, getMode, getNextCell, getOriginCell, getPlugin, getPluginOptions, getPlugins, getPreviousRelatedHeadingElements, getRowsTotalHeight, getSelectCellNode, getSelectedCellPositions, getStartBlock, getTableByCell, getTableByRow, getTheDefaultPluginMenu, getToolbarClass, hasHeaderRow, hasNumberedColumn, headingOptions, htmlToTheia, idCreator, inValidTypes, initializeDefaultMenuIcons, injectTranslations, insertDataByInvalidType, internalPlugins, isCleanEmptyParagraph, isColorIndicator, isColorInput, isColorPanel, isDirectionKeydown, isHeadingElement, isInside, isMobileMode, isPrintMode, isPureEmptyParagraph, isPureHeading, isPureParagraph, isRangeInTable, isRectangularInTableCells, isSelectedAllCell, isSelectionInTable, isStandardHeadingElement, isStandardHeadingElementByType, isUrl, isVirtualKey, jaJpLocale, matchOptions, mergeArray, mergeDeepPlugins, mergeElementOptions, mergeOptions, nestedStructureByKey, normalizeValue, originOptions, plainToTheia, pluginKey, pluginKey1, pluginsByKey, reSelection, recursionNodes, refocus, ruRuLocale, setClipboardDataByDom, setEditorUUID, theTethysIconRegistryFaker, toggleClass, toggleHeadingRelatedElement, toggleProperty, toggleStyle, topLeftPosition, topRightPosition, uniqueCellPosition, updatePopoverPosition, withMention, withTestPlugin, withTheia, zhHansLocale, zhHantLocale };
19044
+ export { ALIGN_BLOCK_TYPES, A_TAG_REL_ATTR, AlignEditor, Alignment, BLOCK_DELETE_BACKWARD_TYPES, BLOCK_HIDDEN_CLASS, BasicTest, BlockquoteEditor, CLIPBOARD_FORMAT_KEY, CODEMIRROR_DEFAULT_MAX_HEIGHT, CODEMIRROR_PADDING_TOP, CODE_MODES, CONTAINER_BLOCKS, CONTROL_KEY, CodeEditor, ColorEditor, ColumnResizeNotifierSource, ColumnResizingStore, DEFAULT_LANGUAGE, DEFAULT_SCROLL_CONTAINER, DISABLED_OPERATE_TYPES, DataTransferFaker, DefaultElementOptions, DefaultGlobalToolbarDefinition, DefaultInlineToolbarDefinition, DropdownMode, ELEMENT_UNIQUE_ID, EditorPresetConfigFactoryMock, ElementKinds, ErrorCodes, FontSizeTypes, FontSizes, HEADING_TYPES, HeaderLevelMap, HeadingEditor, HoveredCellInfo, HrEditor, IS_MAC, ImageEditor, IndentEditor, Indents, InlineCodeEditor, LINK_DEFAULT_TEXT, LIST_BLOCK_TYPES, LOWEST_TEXT_CONTAINER_TYPES, LayoutTypes, LinkEditor, ListEditor, MarkEditor, MarkProps, MarkTypes, MentionEditor, PICTURE_ACCEPTED_UPLOAD_MIME, PICTURE_ACCEPTED_UPLOAD_SIZE, PluginKeys, PluginMenuIcons, PluginMenuSvgs, Position, QUICK_INSERT_HOTKEY, QuickInsertEditor, ROOT_ELEMENT_MARGIN_BOTTOM, ResizeRef, SLA_TABLE_CELL_SELECTOR, SLA_TABLE_SELECTOR, STANDARD_HEADING_TYPES, ScrollDirection, SpecialBackgroundColor, TAB_SPACE, THE_EDITOR_BG_COLOR, THE_EDITOR_COLOR, THE_EDITOR_CONVERSION_HINT_REF, THE_EDITOR_ORIGIN_ANCHOR, THE_EDITOR_POPOVER_REF, THE_EDITOR_PREVIOUS_SELECTION, THE_EDITOR_UUID, THE_I18N_DE_DE, THE_I18N_EN_US, THE_I18N_JA_JP, THE_I18N_LOCALE_ID, THE_I18N_RU_RU, THE_I18N_ZH_HANS, THE_I18N_ZH_HANT, THE_IMAGE_SERVICE_TOKEN, THE_LISTBOX_PARENT_GROUP_TOKEN, THE_LISTBOX_PARENT_OPTION_TOKEN, THE_LISTBOX_TOKEN, THE_MODE_PROVIDER, THE_MODE_TOKEN, THE_PLUGIN_MENU_REF, THE_PRESET_CONFIG_TOKEN, TableCellEventDispatcher, TableEditor, TableHeaderBackgroundColor, TablePosition, TheBaseElement, TheBaseSuggestion, TheBaseToolbarDropdown, TheBaseToolbarItem, TheCode, TheColumnResizeDirective, TheColumnResizeOverlayHandle, TheContextMenu, TheContextService, TheConversionHint, TheDataMode, TheEditor, TheEditorComponent, TheEditorModule, TheI18nService, TheImage, TheInlineToolbar, TheListboxDirective, TheListboxGroupDirective, TheListboxOptionDirective, TheLocaleType, TheMode, TheModeConfig, ThePluginMenu, ThePluginMenuComponent, ThePluginMenuItemType, ThePreventDefaultDirective, index$1 as TheQueries, TheQuickInsert, TheTable, TheTableSelect, TheToolbarComponent, TheToolbarDropdown, TheToolbarGroup, TheToolbarGroupToken, TheToolbarItem, TheToolbarService, index as TheTransforms, TodoItemEditor, ToolbarActionTypes, ToolbarAlignment, ToolbarItemType, ToolbarMoreGroup, VOID_BLOCK_TYPES, VerticalAlignEditor, VerticalAlignment, ZERO_WIDTH_CHAR, autoFocus, base64toBlob, bottomLeftPosition, bottomRightPosition, buildPluginMenu, buildPluginMenuItemMap, buildQuickInsertMenus, calcPrintColumnWidth, calcSpanForColumn, calcSpanForRow, calculateHeaderRowHeight, calculateRowControls, coercePixelsFromCssValue, combinePlugins, copyNode, createBreakBarChar, createCell, createEmptyContent, createEmptyParagraph, createMentionPlugin, createPluginFactory, createRow, createTable, createTablePosition, createTest1Plugin, createTestPlugin, createToolbar, createVerticalAlignPlugin, customPluginMock, customPluginMockKey, dataDeserialize, dataSerializing, deDeLocale, deleteElementKey, enUsLocale, errorImageUrlMock, expandPreviousHeadings, extractFragment, extractFragmentByHTML, filterTextFormat, fixBlockWithoutParagraph, fixBlockWithoutText, flattenDeepPlugins, getCellPositionsFromRange, getCollapsedStandardHeadingAbove, getColsTotalWidth, getColumnsWidth, getDirtyElements, getEditorScrollContainer, getEditorUUID, getElementClassByPrefix, getElementHeight, getElementWidth, getEndBlock, getFollowElements, getGridColumns, getMode, getNextCell, getOriginCell, getPlugin, getPluginOptions, getPlugins, getPreviousRelatedHeadingElements, getRowsTotalHeight, getSelectCellNode, getSelectedCellPositions, getStartBlock, getTableByCell, getTableByRow, getTheDefaultPluginMenu, getToolbarClass, hasHeaderRow, hasNumberedColumn, headingOptions, htmlToTheia, idCreator, inValidTypes, initializeDefaultMenuIcons, injectTranslations, insertDataByInvalidType, internalPlugins, isCleanEmptyParagraph, isColorIndicator, isColorInput, isColorPanel, isDirectionKeydown, isHeadingElement, isInside, isMobileMode, isPrintMode, isPureEmptyParagraph, isPureHeading, isPureParagraph, isRangeInTable, isRectangularInTableCells, isSelectedAllCell, isSelectionInTable, isStandardHeadingElement, isStandardHeadingElementByType, isUrl, isVirtualKey, jaJpLocale, matchOptions, mergeArray, mergeDeepPlugins, mergeElementOptions, mergeOptions, nestedStructureByKey, normalizeValue, originOptions, plainToTheia, pluginKey, pluginKey1, pluginsByKey, reSelection, recursionNodes, refocus, ruRuLocale, setClipboardDataByDom, setEditorUUID, theTethysIconRegistryFaker, toggleClass, toggleHeadingRelatedElement, toggleProperty, toggleStyle, topLeftPosition, topRightPosition, uniqueCellPosition, updatePopoverPosition, withMention, withTestPlugin, withTheia, zhHansLocale, zhHantLocale };
18991
19045
  //# sourceMappingURL=worktile-theia.mjs.map