@worktile/theia 20.2.2 → 20.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/worktile-theia.mjs +69 -16
- package/fesm2022/worktile-theia.mjs.map +1 -1
- package/index.d.ts +3 -1
- package/package.json +1 -1
|
@@ -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, getRealHeightByElement, 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) =>
|
|
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 :
|
|
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) {
|
|
@@ -12821,7 +12823,7 @@ const createBlockquotePlugin = (locale) => createPluginFactory({
|
|
|
12821
12823
|
})();
|
|
12822
12824
|
|
|
12823
12825
|
const withCode = (editor) => {
|
|
12824
|
-
const { isVoid, isBlockCard, renderElement, setFragmentData } = editor;
|
|
12826
|
+
const { isVoid, isBlockCard, renderElement, setFragmentData, getRoughHeight } = editor;
|
|
12825
12827
|
editor.isVoid = (element) => {
|
|
12826
12828
|
return element.type === ElementKinds.code ? true : isVoid(element);
|
|
12827
12829
|
};
|
|
@@ -12847,6 +12849,21 @@ const withCode = (editor) => {
|
|
|
12847
12849
|
}
|
|
12848
12850
|
setFragmentData(data, originEvent);
|
|
12849
12851
|
};
|
|
12852
|
+
editor.getRoughHeight = (element, defaultHeight) => {
|
|
12853
|
+
if (element.type === ElementKinds.code) {
|
|
12854
|
+
if (element.height) {
|
|
12855
|
+
return element.height + ROOT_ELEMENT_MARGIN_BOTTOM;
|
|
12856
|
+
}
|
|
12857
|
+
else {
|
|
12858
|
+
const lineHeight = 22;
|
|
12859
|
+
const content = element.content;
|
|
12860
|
+
const height = content.split('\n').length * lineHeight;
|
|
12861
|
+
const maxHeight = CODEMIRROR_DEFAULT_MAX_HEIGHT - CODEMIRROR_PADDING_TOP * 2;
|
|
12862
|
+
return (height > maxHeight ? maxHeight : height + CODEMIRROR_PADDING_TOP * 2) + ROOT_ELEMENT_MARGIN_BOTTOM;
|
|
12863
|
+
}
|
|
12864
|
+
}
|
|
12865
|
+
return getRoughHeight(element, defaultHeight);
|
|
12866
|
+
};
|
|
12850
12867
|
return editor;
|
|
12851
12868
|
};
|
|
12852
12869
|
const createCodePlugin = (locale) => createPluginFactory({
|
|
@@ -13309,7 +13326,7 @@ const createBlockCardPlugin = createPluginFactory({
|
|
|
13309
13326
|
});
|
|
13310
13327
|
|
|
13311
13328
|
const withInternalCommon = (editor) => {
|
|
13312
|
-
const { globalMousedown, onKeydown, selectAll } = editor;
|
|
13329
|
+
const { globalMousedown, onKeydown, selectAll, getRoughHeight } = editor;
|
|
13313
13330
|
editor.globalMousedown = (event) => {
|
|
13314
13331
|
const target = event.target;
|
|
13315
13332
|
if (isColorIndicator(target)) {
|
|
@@ -13360,6 +13377,16 @@ const withInternalCommon = (editor) => {
|
|
|
13360
13377
|
Transforms.select(editor, []);
|
|
13361
13378
|
}
|
|
13362
13379
|
};
|
|
13380
|
+
editor.getRoughHeight = (element, defaultHeight) => {
|
|
13381
|
+
if (isContainer(editor, element)) {
|
|
13382
|
+
let height = 0;
|
|
13383
|
+
element.children.forEach((child, index) => {
|
|
13384
|
+
height += editor.getRoughHeight(child, defaultHeight);
|
|
13385
|
+
});
|
|
13386
|
+
return height;
|
|
13387
|
+
}
|
|
13388
|
+
return getRoughHeight(element, defaultHeight);
|
|
13389
|
+
};
|
|
13363
13390
|
return editor;
|
|
13364
13391
|
};
|
|
13365
13392
|
const createCommonPlugin = (locale) => createPluginFactory({
|
|
@@ -14367,8 +14394,7 @@ class TheImage extends TheBaseElement {
|
|
|
14367
14394
|
if (realHeight) {
|
|
14368
14395
|
const blockCard = getBlockCardByNativeElement(this.nativeElement);
|
|
14369
14396
|
if (blockCard) {
|
|
14370
|
-
const
|
|
14371
|
-
const minHeight = realHeight - parseFloat(style.marginTop) - parseFloat(style.marginBottom);
|
|
14397
|
+
const minHeight = realHeight - ROOT_ELEMENT_MARGIN_BOTTOM;
|
|
14372
14398
|
blockCard.style.minHeight = minHeight + 'px';
|
|
14373
14399
|
// if (isDebug) {
|
|
14374
14400
|
// debugLog('warn', 'setImageMinHeight in blockCard, realHeight(cache): ', realHeight, this.element.key, 'minHeight: ', minHeight);
|
|
@@ -16003,7 +16029,7 @@ class TheLIFlavour extends TheBaseFlavourElement {
|
|
|
16003
16029
|
}
|
|
16004
16030
|
|
|
16005
16031
|
const withList = (editor) => {
|
|
16006
|
-
const { insertBreak, deleteBackward, onKeydown, customInsertFragmentData, setFragmentData, renderElement } = editor;
|
|
16032
|
+
const { insertBreak, deleteBackward, onKeydown, customInsertFragmentData, setFragmentData, renderElement, getRoughHeight } = editor;
|
|
16007
16033
|
const validLiChildrenTypes = getPluginOptions(editor, PluginKeys.list)?.validLiChildrenTypes ?? [];
|
|
16008
16034
|
const resetBlockTypesListRule = {
|
|
16009
16035
|
types: [ElementKinds.listItem],
|
|
@@ -16207,6 +16233,12 @@ const withList = (editor) => {
|
|
|
16207
16233
|
}
|
|
16208
16234
|
return renderElement(element);
|
|
16209
16235
|
};
|
|
16236
|
+
editor.getRoughHeight = (element, defaultHeight) => {
|
|
16237
|
+
if (element.type === ElementKinds.bulletedList || element.type === ElementKinds.numberedList) {
|
|
16238
|
+
return getListRoughHeight(element);
|
|
16239
|
+
}
|
|
16240
|
+
return getRoughHeight(element, defaultHeight);
|
|
16241
|
+
};
|
|
16210
16242
|
return editor;
|
|
16211
16243
|
};
|
|
16212
16244
|
const listOptions = {
|
|
@@ -16274,6 +16306,27 @@ const createListPlugin = (locale) => createPluginFactory({
|
|
|
16274
16306
|
],
|
|
16275
16307
|
options: listOptions
|
|
16276
16308
|
})();
|
|
16309
|
+
const MAX_LIST_DEPTH = 2;
|
|
16310
|
+
const getListRoughHeight = (element, deep = 0) => {
|
|
16311
|
+
let height = 0;
|
|
16312
|
+
element.children.forEach((child, index) => {
|
|
16313
|
+
let childHeight = DEFAULT_ELEMENT_HEIGHT;
|
|
16314
|
+
const liElement = child;
|
|
16315
|
+
if (liElement.children.length > 1 && isNodeTypeList(liElement.children[1]) && deep <= MAX_LIST_DEPTH) {
|
|
16316
|
+
childHeight +=
|
|
16317
|
+
ROOT_ELEMENT_MARGIN_BOTTOM +
|
|
16318
|
+
getListRoughHeight(liElement.children[1], deep + 1);
|
|
16319
|
+
}
|
|
16320
|
+
if (index !== element.children.length - 1) {
|
|
16321
|
+
childHeight += ROOT_ELEMENT_MARGIN_BOTTOM;
|
|
16322
|
+
}
|
|
16323
|
+
height += childHeight;
|
|
16324
|
+
});
|
|
16325
|
+
if (deep === 0) {
|
|
16326
|
+
height += ROOT_ELEMENT_MARGIN_BOTTOM;
|
|
16327
|
+
}
|
|
16328
|
+
return height;
|
|
16329
|
+
};
|
|
16277
16330
|
|
|
16278
16331
|
const withMark = (editor) => {
|
|
16279
16332
|
const e = editor;
|
|
@@ -17453,13 +17506,6 @@ const withTable = (editor) => {
|
|
|
17453
17506
|
}
|
|
17454
17507
|
onClick(event);
|
|
17455
17508
|
};
|
|
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
17509
|
editor.mousedown = (event) => {
|
|
17464
17510
|
const hitElement = event.target;
|
|
17465
17511
|
if (hitElement.classList.contains('the-table-wrapper')) {
|
|
@@ -17891,6 +17937,13 @@ const withTable = (editor) => {
|
|
|
17891
17937
|
}
|
|
17892
17938
|
catch (error) { }
|
|
17893
17939
|
};
|
|
17940
|
+
editor.getRoughHeight = (element, defaultHeight) => {
|
|
17941
|
+
if (Element.isElement(element) && element.type === ElementKinds.table) {
|
|
17942
|
+
const defaultRowHeight = 41;
|
|
17943
|
+
return element.children.length * defaultRowHeight + ROOT_ELEMENT_MARGIN_BOTTOM;
|
|
17944
|
+
}
|
|
17945
|
+
return getRoughHeight(element, defaultHeight);
|
|
17946
|
+
};
|
|
17894
17947
|
return editor;
|
|
17895
17948
|
};
|
|
17896
17949
|
const createTablePlugin = (locale) => createPluginFactory({
|
|
@@ -18987,5 +19040,5 @@ const withTestPlugin = (plugins, initValue) => {
|
|
|
18987
19040
|
* Generated bundle index. Do not edit.
|
|
18988
19041
|
*/
|
|
18989
19042
|
|
|
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 };
|
|
19043
|
+
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
19044
|
//# sourceMappingURL=worktile-theia.mjs.map
|