@worktile/theia 1.2.19 → 2.1.0
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/bundles/worktile-theia.umd.js +49 -57
- package/bundles/worktile-theia.umd.js.map +1 -1
- package/esm2015/plugins/code/code.component.js +45 -52
- package/esm2015/plugins/font-size/toolbar-item.component.js +2 -2
- package/fesm2015/worktile-theia.js +38 -46
- package/fesm2015/worktile-theia.js.map +1 -1
- package/package.json +1 -1
- package/plugins/code/code.component.d.ts +6 -7
- package/plugins/font-size/toolbar-item.component.scss +12 -1
- package/styles/editor.scss +2 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('slate-angular'), require('ngx-tethys/core'), require('is-hotkey'), require('slate'), require('slate-history'), require('lodash'), require('marked'), require('@atinc/selene'), require('ngx-tethys/popover'), require('@angular/cdk/overlay'), require('ngx-tethys/alert'), require('rxjs/operators'), require('ngx-tethys/uploader'), require('@angular/platform-browser'), require('rxjs'), require('ngx-tethys/progress'), require('ngx-tethys/icon'), require('ngx-tethys/input'), require('ngx-tethys/nav'), require('ngx-tethys/tooltip'), require('ng-codemirror'), require('ngx-tethys/notify'), require('ngx-tethys/action-menu'), require('ngx-tethys/switch'), require('ngx-tethys/resizable'), require('is-url'), require('ngx-tethys/button'), require('ngx-tethys/form'), require('ngx-tethys/shared'), require('ngx-tethys'), require('@angular/cdk/coercion'), require('@angular/cdk/portal'), require('ngx-tethys/list'), require('ngx-tethys/autocomplete'), require('ngx-tethys/avatar'), require('ngx-tethys/select')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@worktile/theia', ['exports', '@angular/core', '@angular/common', '@angular/forms', 'slate-angular', 'ngx-tethys/core', 'is-hotkey', 'slate', 'slate-history', 'lodash', 'marked', '@atinc/selene', 'ngx-tethys/popover', '@angular/cdk/overlay', 'ngx-tethys/alert', 'rxjs/operators', 'ngx-tethys/uploader', '@angular/platform-browser', 'rxjs', 'ngx-tethys/progress', 'ngx-tethys/icon', 'ngx-tethys/input', 'ngx-tethys/nav', 'ngx-tethys/tooltip', 'ng-codemirror', 'ngx-tethys/notify', 'ngx-tethys/action-menu', 'ngx-tethys/switch', 'ngx-tethys/resizable', 'is-url', 'ngx-tethys/button', 'ngx-tethys/form', 'ngx-tethys/shared', 'ngx-tethys', '@angular/cdk/coercion', '@angular/cdk/portal', 'ngx-tethys/list', 'ngx-tethys/autocomplete', 'ngx-tethys/avatar', 'ngx-tethys/select'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.worktile = global.worktile || {}, global.worktile.theia = {}), global.ng.core, global.ng.common, global.ng.forms, global.i1, global.core, global.isHotkey, global.slate, global.slateHistory, global._lodash, global.marked, global.selene, global.i1$2, global.ng.cdk.overlay, global.i1$1, global.rxjs.operators, global.uploader, global.ng.platformBrowser, global.rxjs, global.i4, global.i4$1, global.i5, global.i3, global.i5$1, global.
|
|
5
|
-
})(this, (function (exports, i0, i6, i4$2, i1, core, isHotkey, slate, slateHistory, _lodash, marked, selene, i1$2, i2, i1$1, operators, uploader, i1$3, rxjs, i4, i4$1, i5, i3, i5$1,
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.worktile = global.worktile || {}, global.worktile.theia = {}), global.ng.core, global.ng.common, global.ng.forms, global.i1, global.core, global.isHotkey, global.slate, global.slateHistory, global._lodash, global.marked, global.selene, global.i1$2, global.ng.cdk.overlay, global.i1$1, global.rxjs.operators, global.uploader, global.ng.platformBrowser, global.rxjs, global.i4, global.i4$1, global.i5, global.i3, global.i5$1, global.i8, global.i1$4, global.i5$2, global.i6$1, global.i9, global.isUrl, global.i1$5, global.i2$1, global.i5$3, global.i1$6, global.ng.cdk.coercion, global.ng.cdk.portal, global.i2$2, global.autocomplete, global.avatar, global.select));
|
|
5
|
+
})(this, (function (exports, i0, i6, i4$2, i1, core, isHotkey, slate, slateHistory, _lodash, marked, selene, i1$2, i2, i1$1, operators, uploader, i1$3, rxjs, i4, i4$1, i5, i3, i5$1, i8, i1$4, i5$2, i6$1, i9, isUrl, i1$5, i2$1, i5$3, i1$6, coercion, portal, i2$2, autocomplete, avatar, select) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
41
41
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
42
42
|
var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
|
|
43
|
-
var
|
|
43
|
+
var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
|
|
44
44
|
var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
|
|
45
45
|
var i5__namespace$2 = /*#__PURE__*/_interopNamespace(i5$2);
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
|
|
47
|
+
var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
|
|
48
48
|
var isUrl__default = /*#__PURE__*/_interopDefaultLegacy(isUrl);
|
|
49
49
|
var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
|
|
50
50
|
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
|
|
51
|
-
var i5__namespace$
|
|
51
|
+
var i5__namespace$3 = /*#__PURE__*/_interopNamespace(i5$3);
|
|
52
52
|
var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
|
|
53
53
|
var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$2);
|
|
54
54
|
|
|
@@ -6922,23 +6922,22 @@
|
|
|
6922
6922
|
|
|
6923
6923
|
var TheCodeComponent = /** @class */ (function (_super) {
|
|
6924
6924
|
__extends(TheCodeComponent, _super);
|
|
6925
|
-
function TheCodeComponent(elementRef, cdr, thyNotifyService, ngZone, config) {
|
|
6925
|
+
function TheCodeComponent(elementRef, cdr, thyNotifyService, contextService, ngZone, config) {
|
|
6926
6926
|
var _this = _super.call(this, elementRef, cdr) || this;
|
|
6927
6927
|
_this.elementRef = elementRef;
|
|
6928
6928
|
_this.cdr = cdr;
|
|
6929
6929
|
_this.thyNotifyService = thyNotifyService;
|
|
6930
|
+
_this.contextService = contextService;
|
|
6930
6931
|
_this.ngZone = ngZone;
|
|
6931
6932
|
_this.config = config;
|
|
6932
6933
|
_this.startRenderCodemirror = false;
|
|
6933
6934
|
_this.dropdownMode = exports.DropdownMode;
|
|
6934
|
-
_this.codeMirrorFocused = false;
|
|
6935
6935
|
_this.maxHeight = _this.config.mode === CodeMode.default ? 350 - CODEMIRROR_PADDING_TOP * 2 : 0;
|
|
6936
6936
|
_this.menus = CODE_MODES.map(function (item) {
|
|
6937
6937
|
return { key: item.value, name: item.showName };
|
|
6938
6938
|
});
|
|
6939
6939
|
_this.ToolbarItemMode = exports.ToolbarItemMode;
|
|
6940
|
-
_this.
|
|
6941
|
-
_this.isResizing = false;
|
|
6940
|
+
_this.isFocusCode = false;
|
|
6942
6941
|
_this.resizeHeight = null;
|
|
6943
6942
|
_this.options = {
|
|
6944
6943
|
mode: _this.menus[0].key,
|
|
@@ -6950,10 +6949,11 @@
|
|
|
6950
6949
|
cursorBlinkRate: 500
|
|
6951
6950
|
};
|
|
6952
6951
|
_this.actives = _this.menus[0];
|
|
6952
|
+
_this.resizeBounds = null;
|
|
6953
6953
|
_this.onChangeLangulage = function (item) {
|
|
6954
6954
|
_this.options = Object.assign(Object.assign({}, _this.options), { mode: item.key });
|
|
6955
6955
|
_this.actives = item;
|
|
6956
|
-
CodeEditor.setCodeAttribute(_this.editor, _this.element, {
|
|
6956
|
+
CodeEditor.setCodeAttribute(_this.editor, _this.element, { language: item.key });
|
|
6957
6957
|
};
|
|
6958
6958
|
return _this;
|
|
6959
6959
|
}
|
|
@@ -6964,11 +6964,6 @@
|
|
|
6964
6964
|
enumerable: false,
|
|
6965
6965
|
configurable: true
|
|
6966
6966
|
});
|
|
6967
|
-
TheCodeComponent.prototype.handleCodeMousedown = function (event) {
|
|
6968
|
-
if (!(event.target instanceof HTMLElement && this.elementRef.nativeElement.contains(event.target))) {
|
|
6969
|
-
this.codeMirrorFocused = false;
|
|
6970
|
-
}
|
|
6971
|
-
};
|
|
6972
6967
|
TheCodeComponent.prototype.onContextChange = function () {
|
|
6973
6968
|
_super.prototype.onContextChange.call(this);
|
|
6974
6969
|
if (this.initialized) {
|
|
@@ -6978,8 +6973,14 @@
|
|
|
6978
6973
|
if (this.options.mode !== this.element.language) {
|
|
6979
6974
|
this.useMode();
|
|
6980
6975
|
}
|
|
6981
|
-
if (
|
|
6982
|
-
this.
|
|
6976
|
+
if (this.options.lineWrapping !== this.element.autoWrap) {
|
|
6977
|
+
this.useAutoWrap();
|
|
6978
|
+
}
|
|
6979
|
+
if (this.resizeHeight !== this.element.height) {
|
|
6980
|
+
this.useHeight();
|
|
6981
|
+
}
|
|
6982
|
+
if (!this.isCollapsed) {
|
|
6983
|
+
this.isFocusCode = false;
|
|
6983
6984
|
}
|
|
6984
6985
|
}
|
|
6985
6986
|
};
|
|
@@ -7001,13 +7002,12 @@
|
|
|
7001
7002
|
this.ngZone.onStable.pipe(operators.take(1)).subscribe(function () {
|
|
7002
7003
|
_this.renderCodemirror();
|
|
7003
7004
|
_this.initializeCodemirrorFocus();
|
|
7005
|
+
_this.resizeBounds = {
|
|
7006
|
+
nativeElement: _this.contextService.getEditableElement()
|
|
7007
|
+
};
|
|
7004
7008
|
});
|
|
7005
7009
|
}
|
|
7006
7010
|
};
|
|
7007
|
-
TheCodeComponent.prototype.focusChange = function (codeMirrorFocused) {
|
|
7008
|
-
if (codeMirrorFocused)
|
|
7009
|
-
this.codeMirrorFocused = codeMirrorFocused;
|
|
7010
|
-
};
|
|
7011
7011
|
TheCodeComponent.prototype.renderCodemirror = function () {
|
|
7012
7012
|
this.startRenderCodemirror = true;
|
|
7013
7013
|
this.useReadonly();
|
|
@@ -7018,7 +7018,7 @@
|
|
|
7018
7018
|
};
|
|
7019
7019
|
TheCodeComponent.prototype.initializeCodemirrorFocus = function () {
|
|
7020
7020
|
var _this = this;
|
|
7021
|
-
if (this.isCollapsed
|
|
7021
|
+
if (this.isCollapsed) {
|
|
7022
7022
|
setTimeout(function () {
|
|
7023
7023
|
if (_this.isCollapsed && _this.codemirror && _this.codemirror.editor && !_this.codemirror.editor.hasFocus()) {
|
|
7024
7024
|
i1.AngularEditor.blur(_this.editor);
|
|
@@ -7033,7 +7033,7 @@
|
|
|
7033
7033
|
};
|
|
7034
7034
|
TheCodeComponent.prototype.onDelete = function (event) {
|
|
7035
7035
|
event.preventDefault();
|
|
7036
|
-
this.
|
|
7036
|
+
this.isFocusCode = false;
|
|
7037
7037
|
deleteElement(this.editor, this.element);
|
|
7038
7038
|
};
|
|
7039
7039
|
TheCodeComponent.prototype.onCopy = function (event) {
|
|
@@ -7049,7 +7049,10 @@
|
|
|
7049
7049
|
document.execCommand('copy');
|
|
7050
7050
|
this.thyNotifyService.success('复制成功');
|
|
7051
7051
|
i1.AngularEditor.deselect(this.editor);
|
|
7052
|
-
|
|
7052
|
+
};
|
|
7053
|
+
TheCodeComponent.prototype.focusChange = function (codeMirrorFocused) {
|
|
7054
|
+
if (codeMirrorFocused)
|
|
7055
|
+
this.isFocusCode = codeMirrorFocused;
|
|
7053
7056
|
};
|
|
7054
7057
|
TheCodeComponent.prototype.useMode = function () {
|
|
7055
7058
|
var _this = this;
|
|
@@ -7057,11 +7060,7 @@
|
|
|
7057
7060
|
this.actives = this.menus.find(function (i) { return i.key === _this.element.language; });
|
|
7058
7061
|
};
|
|
7059
7062
|
TheCodeComponent.prototype.useAutoWrap = function () {
|
|
7060
|
-
|
|
7061
|
-
this.cdr.detectChanges();
|
|
7062
|
-
this.isAutoWrap = this.element.autoWrap;
|
|
7063
|
-
this.codemirror.setOptionIfChanged('lineWrapping', this.element.autoWrap);
|
|
7064
|
-
}
|
|
7063
|
+
this.options = Object.assign(Object.assign({}, this.options), { lineWrapping: this.element.autoWrap || false });
|
|
7065
7064
|
};
|
|
7066
7065
|
TheCodeComponent.prototype.useHeight = function () {
|
|
7067
7066
|
if (this.element.height) {
|
|
@@ -7075,42 +7074,35 @@
|
|
|
7075
7074
|
TheCodeComponent.prototype.onResize = function (_a) {
|
|
7076
7075
|
var height = _a.height;
|
|
7077
7076
|
this.resizeHeight = height;
|
|
7078
|
-
slate.Transforms.select(this.editor, i1.AngularEditor.findPath(this.editor, this.element));
|
|
7079
|
-
CodeEditor.setCodeAttribute(this.editor, this.element, { height: height });
|
|
7080
7077
|
this.maxHeight = height;
|
|
7081
7078
|
};
|
|
7082
|
-
TheCodeComponent.prototype.onStartResize = function () {
|
|
7083
|
-
this.isResizing = true;
|
|
7084
|
-
};
|
|
7085
7079
|
TheCodeComponent.prototype.onEndResize = function () {
|
|
7086
|
-
this.
|
|
7080
|
+
slate.Transforms.select(this.editor, i1.AngularEditor.findPath(this.editor, this.element));
|
|
7081
|
+
CodeEditor.setCodeAttribute(this.editor, this.element, { height: this.resizeHeight });
|
|
7087
7082
|
};
|
|
7088
7083
|
TheCodeComponent.prototype.onChangeWrap = function (value) {
|
|
7089
|
-
|
|
7090
|
-
this.codemirror.setOptionIfChanged('lineWrapping', value);
|
|
7084
|
+
this.options = Object.assign(Object.assign({}, this.options), { lineWrapping: value || false });
|
|
7091
7085
|
CodeEditor.setCodeAttribute(this.editor, this.element, { autoWrap: value ? value : null });
|
|
7092
7086
|
};
|
|
7093
7087
|
return TheCodeComponent;
|
|
7094
7088
|
}(TheBaseElementComponent));
|
|
7095
|
-
TheCodeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: TheCodeComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$4.ThyNotifyService }, { token: i0__namespace.NgZone }, { token: THE_CODE_MODE_TOKEN }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
7096
|
-
TheCodeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: TheCodeComponent, selector: "div[theCode]",
|
|
7089
|
+
TheCodeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: TheCodeComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$4.ThyNotifyService }, { token: TheContextService }, { token: i0__namespace.NgZone }, { token: THE_CODE_MODE_TOKEN }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
7090
|
+
TheCodeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: TheCodeComponent, selector: "div[theCode]", viewQueries: [{ propertyName: "codemirror", first: true, predicate: ["codemirror"], descendants: true, read: i8.CodeMirrorComponent }], usesInheritance: true, ngImport: i0__namespace, template: "<div contenteditable=\"false\" class=\"the-code-block-operation\" *ngIf=\"isFocusCode && !options.readOnly\">\n <thy-icon-nav>\n <the-toolbar-dropdown [menus]=\"menus\" [item]=\"actives\" [itemMousedownHandle]=\"onChangeLangulage\"> </the-toolbar-dropdown>\n <a\n href=\"javascript:;\"\n thyIconNavLink\n thyIconNavLinkIcon=\"copy\"\n thyTooltip=\"\u590D\u5236\"\n thyTooltipPlacement=\"top\"\n (mousedown)=\"onCopy($event)\"\n ></a>\n <a\n href=\"javascript:;\"\n thyIconNavLink\n thyIconNavLinkIcon=\"trash\"\n thyTooltip=\"\u5220\u9664\"\n class=\"remove-link\"\n thyTooltipPlacement=\"top\"\n (mousedown)=\"onDelete($event)\"\n ></a>\n <nav-split-line [mode]=\"ToolbarItemMode.vertical\"></nav-split-line>\n <span class=\"auto-wrap d-flex align-items-center\">\n <span>\u81EA\u52A8\u6362\u884C</span>\n <thy-switch\n class=\"auto-wrap-btn d-flex\"\n [(ngModel)]=\"element.autoWrap\"\n (ngModelChange)=\"onChangeWrap($event)\"\n thySize=\"sm\"\n ></thy-switch>\n </span>\n </thy-icon-nav>\n</div>\n\n<slate-children [children]=\"children\" [context]=\"childrenContext\" [viewContext]=\"viewContext\"></slate-children>\n<div\n thyResizable\n [thyMinHeight]=\"42\"\n [thyBounds]=\"resizeBounds\"\n [style.height.px]=\"resizeHeight\"\n (thyResize)=\"onResize($event)\"\n (thyResizeEnd)=\"onEndResize()\"\n class=\"resize-code-container\"\n>\n <ng-codemirror\n *ngIf=\"startRenderCodemirror\"\n #codemirror\n contenteditable=\"false\"\n class=\"ng-codemirror-wrapper\"\n [ngStyle]=\"{ maxHeight: maxHeight > 0 ? maxHeight + 'px' : 'auto' }\"\n [options]=\"options\"\n [ngModel]=\"code\"\n [delayRefreshTime]=\"300\"\n (ngModelChange)=\"codeChange($event)\"\n (focusChange)=\"focusChange($event)\"\n [autoMaxHeight]=\"maxHeight\"\n >\n </ng-codemirror>\n <thy-resize-handle thyDirection=\"bottom\" class=\"code-resize-icon\" *ngIf=\"isFocusCode && !options.readOnly\"></thy-resize-handle>\n</div>\n", components: [{ type: i3__namespace.ThyIconNavComponent, selector: "thy-icon-nav", inputs: ["thyType"] }, { type: TheToolbarDropdownComponent, selector: "the-toolbar-dropdown", inputs: ["toolbarItem", "menus", "mode", "item", "itemMousedownHandle"] }, { type: i3__namespace.ThyIconNavLinkComponent, selector: "[thyIconNavLink]", inputs: ["thyIconNavLinkIcon", "thyIconNavLinkActive"] }, { type: NavSplitLineComponent, selector: "nav-split-line", inputs: ["mode"] }, { type: i6__namespace$1.ThySwitchComponent, selector: "thy-switch", inputs: ["thyType", "thySize", "thyDisabled"], outputs: ["thyChange"] }, { type: i1__namespace.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }, { type: i8__namespace.CodeMirrorComponent, selector: "ng-codemirror, [ngCodeMirror]", inputs: ["autoMaxHeight", "delayRefreshTime", "options"], outputs: ["focusChange"] }, { type: i9__namespace.ThyResizeHandleComponent, selector: "thy-resize-handle, [thy-resize-handle]", inputs: ["thyDirection"], outputs: ["thyMouseDown"], exportAs: ["thyResizeHandle"] }], directives: [{ type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5__namespace$1.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { type: i4__namespace$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4__namespace$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i9__namespace.ThyResizableDirective, selector: "[thyResizable]", inputs: ["thyBounds", "thyMaxHeight", "thyMaxWidth", "thyMinHeight", "thyMinWidth", "thyGridColumnCount", "thyMaxColumn", "thyMinColumn", "thyLockAspectRatio", "thyPreview", "thyDisabled"], outputs: ["thyResize", "thyResizeEnd", "thyResizeStart"] }, { type: i6__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
7097
7091
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: TheCodeComponent, decorators: [{
|
|
7098
7092
|
type: i0.Component,
|
|
7099
7093
|
args: [{
|
|
7100
7094
|
selector: 'div[theCode]',
|
|
7101
|
-
templateUrl: './code.component.html'
|
|
7095
|
+
templateUrl: './code.component.html',
|
|
7096
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
7102
7097
|
}]
|
|
7103
7098
|
}], ctorParameters: function () {
|
|
7104
|
-
return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$4.ThyNotifyService }, { type: i0__namespace.NgZone }, { type: TheCodeConfig, decorators: [{
|
|
7099
|
+
return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$4.ThyNotifyService }, { type: TheContextService }, { type: i0__namespace.NgZone }, { type: TheCodeConfig, decorators: [{
|
|
7105
7100
|
type: i0.Inject,
|
|
7106
7101
|
args: [THE_CODE_MODE_TOKEN]
|
|
7107
7102
|
}] }];
|
|
7108
7103
|
}, propDecorators: { codemirror: [{
|
|
7109
7104
|
type: i0.ViewChild,
|
|
7110
|
-
args: ['codemirror', { read:
|
|
7111
|
-
}], handleCodeMousedown: [{
|
|
7112
|
-
type: i0.HostListener,
|
|
7113
|
-
args: ['document: mousedown', ['$event']]
|
|
7105
|
+
args: ['codemirror', { read: i8.CodeMirrorComponent, static: false }]
|
|
7114
7106
|
}] } });
|
|
7115
7107
|
|
|
7116
7108
|
var withCode = function (editor) {
|
|
@@ -7324,7 +7316,7 @@
|
|
|
7324
7316
|
return TheLinkEditComponent;
|
|
7325
7317
|
}());
|
|
7326
7318
|
TheLinkEditComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: TheLinkEditComponent, deps: [{ token: i1__namespace$3.ThyPopoverRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
7327
|
-
TheLinkEditComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: TheLinkEditComponent, selector: "the-link-edit", inputs: { tag: "tag", node: "node", link: "link", text: "text", originSelection: "originSelection" }, host: { listeners: { "document: mousedown": "handleDocumentMouseDown($event)" }, properties: { "class": "this.className" } }, ngImport: i0__namespace, template: "<form\n thyForm\n #linkForm=\"thyForm\"\n [thyFormValidatorConfig]=\"validatorConfig\"\n name=\"linkForm\"\n>\n <thy-form-group thyLabelText=\"\u6587\u672C\">\n <input\n thyInput\n placeholder=\"\u8BF7\u8F93\u5165\u6587\u672C\"\n required\n name=\"text\"\n [(ngModel)]=\"text\"\n thyAutofocus\n type=\"text\"\n />\n </thy-form-group>\n <thy-form-group thyLabelText=\"\u94FE\u63A5\">\n <input\n name=\"link\"\n thyInput\n placeholder=\"\u8BF7\u8F93\u5165\u94FE\u63A5\"\n required\n type=\"text\"\n #linkControl=\"ngModel\"\n [(ngModel)]=\"link\"\n />\n </thy-form-group>\n <thy-form-group-footer>\n <div class=\"btn-pair\">\n <button\n thyButton=\"link-secondary\"\n thySize=\"sm\"\n (click)=\"closePopover()\"\n >\u53D6\u6D88</button>\n <button\n thyButton=\"primary-square\"\n thySize=\"sm\"\n (thyFormSubmit)=\"applyLink(linkForm)\"\n >\u5E94\u7528</button>\n </div>\n </thy-form-group-footer>\n</form>\n", components: [{ type: i2__namespace$1.ThyFormGroupComponent, selector: "thy-form-group", inputs: ["thyLabelText", "thyLabelTextTranslateKey", "thyLabelRequired", "thyLabelPaddingTopClear", "thyFeedbackIcon", "thyTips", "thyTipsTranslateKey", "thyRowFill"] }, { type: i2__namespace$1.ThyFormGroupFooterComponent, selector: "thy-form-group-footer", inputs: ["thyAlign"] }, { type: i1__namespace$5.ThyButtonComponent, selector: "thy-button,[thy-button],[thyButton]", inputs: ["thyButton", "thyType", "thyLoading", "thyLoadingText", "thySize", "thyIcon", "thySquare", "thyBlock"] }], directives: [{ type: i4__namespace$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i4__namespace$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i4__namespace$2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2__namespace$1.ThyFormDirective, selector: "[thyForm],[thy-form]", inputs: ["thyLayout", "thyEnterKeyMode", "thyFormValidatorConfig"], exportAs: ["thyForm"] }, { type: i5__namespace$
|
|
7319
|
+
TheLinkEditComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: TheLinkEditComponent, selector: "the-link-edit", inputs: { tag: "tag", node: "node", link: "link", text: "text", originSelection: "originSelection" }, host: { listeners: { "document: mousedown": "handleDocumentMouseDown($event)" }, properties: { "class": "this.className" } }, ngImport: i0__namespace, template: "<form\n thyForm\n #linkForm=\"thyForm\"\n [thyFormValidatorConfig]=\"validatorConfig\"\n name=\"linkForm\"\n>\n <thy-form-group thyLabelText=\"\u6587\u672C\">\n <input\n thyInput\n placeholder=\"\u8BF7\u8F93\u5165\u6587\u672C\"\n required\n name=\"text\"\n [(ngModel)]=\"text\"\n thyAutofocus\n type=\"text\"\n />\n </thy-form-group>\n <thy-form-group thyLabelText=\"\u94FE\u63A5\">\n <input\n name=\"link\"\n thyInput\n placeholder=\"\u8BF7\u8F93\u5165\u94FE\u63A5\"\n required\n type=\"text\"\n #linkControl=\"ngModel\"\n [(ngModel)]=\"link\"\n />\n </thy-form-group>\n <thy-form-group-footer>\n <div class=\"btn-pair\">\n <button\n thyButton=\"link-secondary\"\n thySize=\"sm\"\n (click)=\"closePopover()\"\n >\u53D6\u6D88</button>\n <button\n thyButton=\"primary-square\"\n thySize=\"sm\"\n (thyFormSubmit)=\"applyLink(linkForm)\"\n >\u5E94\u7528</button>\n </div>\n </thy-form-group-footer>\n</form>\n", components: [{ type: i2__namespace$1.ThyFormGroupComponent, selector: "thy-form-group", inputs: ["thyLabelText", "thyLabelTextTranslateKey", "thyLabelRequired", "thyLabelPaddingTopClear", "thyFeedbackIcon", "thyTips", "thyTipsTranslateKey", "thyRowFill"] }, { type: i2__namespace$1.ThyFormGroupFooterComponent, selector: "thy-form-group-footer", inputs: ["thyAlign"] }, { type: i1__namespace$5.ThyButtonComponent, selector: "thy-button,[thy-button],[thyButton]", inputs: ["thyButton", "thyType", "thyLoading", "thyLoadingText", "thySize", "thyIcon", "thySquare", "thyBlock"] }], directives: [{ type: i4__namespace$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i4__namespace$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i4__namespace$2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2__namespace$1.ThyFormDirective, selector: "[thyForm],[thy-form]", inputs: ["thyLayout", "thyEnterKeyMode", "thyFormValidatorConfig"], exportAs: ["thyForm"] }, { type: i5__namespace$3.ThyAutofocusDirective, selector: "input[thyAutofocus],textarea[thyAutofocus]", inputs: ["thyAutoSelect", "thyAutofocus"] }, { type: i4__namespace$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i5__namespace.ThyInputDirective, selector: "[thyInput]", inputs: ["thySize", "thyAutocomplete"] }, { type: i4__namespace$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i4__namespace$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4__namespace$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace$1.ThyFormSubmitDirective, selector: "[thyFormSubmit],[thy-form-submit]", outputs: ["thyFormSubmit"] }] });
|
|
7328
7320
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: TheLinkEditComponent, decorators: [{
|
|
7329
7321
|
type: i0.Component,
|
|
7330
7322
|
args: [{
|
|
@@ -11622,7 +11614,7 @@
|
|
|
11622
11614
|
return TheQuickToolbarComponent;
|
|
11623
11615
|
}(core.mixinUnsubscribe(core.MixinBase)));
|
|
11624
11616
|
TheQuickToolbarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: TheQuickToolbarComponent, deps: [{ token: i1__namespace$3.ThyPopoverRef }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
11625
|
-
TheQuickToolbarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: TheQuickToolbarComponent, selector: "the-quick-toolbar", inputs: { editor: "editor", quickToolbarItems: "quickToolbarItems" }, host: { listeners: { "document: mousedown": "handleMouseDown($event)", "document: keydown.enter": "handleEnter()" } }, usesInheritance: true, ngImport: i0__namespace, template: "<thy-selection-list\n class=\"the-quick-toolbar\"\n [thyBindKeyEventContainer]=\"editorElement\"\n (thySelectionChange)=\"selectionChange($event)\"\n [thyMultiple]=\"false\"\n>\n <ng-container *ngFor=\"let item of quickToolbarItems\">\n <ng-container *ngIf=\"item.key !== ToolbarActionTypes.split; else splitLine\">\n <thy-list-option [thyValue]=\"item?.key\" (mousedown)=\"stopPropagation($event)\">\n <the-toolbar-item [editor]=\"editor\" [item]=\"item\" [itemMode]=\"ToolbarItemMode.vertical\"></the-toolbar-item>\n </thy-list-option>\n </ng-container>\n </ng-container>\n</thy-selection-list>\n\n<ng-template #splitLine>\n <nav-split-line [mode]=\"ToolbarItemMode.horizontal\"></nav-split-line>\n</ng-template>\n", components: [{ type: i2__namespace$2.ThySelectionListComponent, selector: "thy-selection-list,[thy-selection-list]", inputs: ["thyMultiple", "thyBindKeyEventContainer", "thyScrollContainer", "thyBeforeKeydown", "thyUniqueKey", "thyCompareWith", "thyLayout", "thyAutoActiveFirstItem", "thySize", "thySpaceKeyEnabled"], outputs: ["thySelectionChange"] }, { type: i5__namespace$
|
|
11617
|
+
TheQuickToolbarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: TheQuickToolbarComponent, selector: "the-quick-toolbar", inputs: { editor: "editor", quickToolbarItems: "quickToolbarItems" }, host: { listeners: { "document: mousedown": "handleMouseDown($event)", "document: keydown.enter": "handleEnter()" } }, usesInheritance: true, ngImport: i0__namespace, template: "<thy-selection-list\n class=\"the-quick-toolbar\"\n [thyBindKeyEventContainer]=\"editorElement\"\n (thySelectionChange)=\"selectionChange($event)\"\n [thyMultiple]=\"false\"\n>\n <ng-container *ngFor=\"let item of quickToolbarItems\">\n <ng-container *ngIf=\"item.key !== ToolbarActionTypes.split; else splitLine\">\n <thy-list-option [thyValue]=\"item?.key\" (mousedown)=\"stopPropagation($event)\">\n <the-toolbar-item [editor]=\"editor\" [item]=\"item\" [itemMode]=\"ToolbarItemMode.vertical\"></the-toolbar-item>\n </thy-list-option>\n </ng-container>\n </ng-container>\n</thy-selection-list>\n\n<ng-template #splitLine>\n <nav-split-line [mode]=\"ToolbarItemMode.horizontal\"></nav-split-line>\n</ng-template>\n", components: [{ type: i2__namespace$2.ThySelectionListComponent, selector: "thy-selection-list,[thy-selection-list]", inputs: ["thyMultiple", "thyBindKeyEventContainer", "thyScrollContainer", "thyBeforeKeydown", "thyUniqueKey", "thyCompareWith", "thyLayout", "thyAutoActiveFirstItem", "thySize", "thySpaceKeyEnabled"], outputs: ["thySelectionChange"] }, { type: i5__namespace$3.ThyListOptionComponent, selector: "thy-list-option,[thy-list-option]", inputs: ["id", "thyValue", "thyDisabled"] }, { type: TheToolbarItemComponent, selector: "the-toolbar-item", inputs: ["item", "editor", "itemMode"] }, { type: NavSplitLineComponent, selector: "nav-split-line", inputs: ["mode"] }], directives: [{ type: i6__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
11626
11618
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: TheQuickToolbarComponent, decorators: [{
|
|
11627
11619
|
type: i0.Component,
|
|
11628
11620
|
args: [{
|
|
@@ -11841,7 +11833,7 @@
|
|
|
11841
11833
|
return TheFontSizeToolbarItemComponent;
|
|
11842
11834
|
}(TheToolbarBaseItemComponent));
|
|
11843
11835
|
TheFontSizeToolbarItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: TheFontSizeToolbarItemComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i1__namespace$3.ThyPopover }, { token: i0__namespace.ViewContainerRef }, { token: i2__namespace.Overlay }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
11844
|
-
TheFontSizeToolbarItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: TheFontSizeToolbarItemComponent, selector: "the-font-size-toolbar-item", inputs: { editor: "editor", item: "item" }, host: { listeners: { "mousedown": "toggleDropdown($event)", "document: mousedown": "handleDocumentMouseDown($event)" }, properties: { "class.the-toolbar-dropdown-container": "this.toolbarItemContainer", "class.the-font-size-toolbar-item": "this.fontSizeToolbarItem", "class.disabled": "this.disableClass" } }, viewQueries: [{ propertyName: "dropdownTemplate", first: true, predicate: ["dropdownTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0__namespace, template: "<a thyIconNavLink class=\"text-mode\" [thyTooltip]=\"item?.name\" thyTooltipPlacement=\"top\">\n <span *ngIf=\"activeSize\" class=\"show-text\">{{ activeSize }}
|
|
11836
|
+
TheFontSizeToolbarItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.7", type: TheFontSizeToolbarItemComponent, selector: "the-font-size-toolbar-item", inputs: { editor: "editor", item: "item" }, host: { listeners: { "mousedown": "toggleDropdown($event)", "document: mousedown": "handleDocumentMouseDown($event)" }, properties: { "class.the-toolbar-dropdown-container": "this.toolbarItemContainer", "class.the-font-size-toolbar-item": "this.fontSizeToolbarItem", "class.disabled": "this.disableClass" } }, viewQueries: [{ propertyName: "dropdownTemplate", first: true, predicate: ["dropdownTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0__namespace, template: "<a thyIconNavLink class=\"text-mode\" [thyTooltip]=\"item?.name\" thyTooltipPlacement=\"top\">\n <span *ngIf=\"activeSize\" class=\"show-text\">{{ activeSize }}</span>\n <thy-icon class=\"text-caret-down-icon font-size-sm text-desc\" thyIconName=\"caret-down\"></thy-icon>\n</a>\n\n<ng-template #dropdownTemplate>\n <thy-action-menu class=\"dropdown\">\n <ng-container *ngFor=\"let size of fontSizes\">\n <a\n thyActionMenuItem\n href=\"javascript:;\"\n [thyActionMenuItemActive]=\"size === activeSize\"\n (mousedown)=\"itemMousedown($event, size)\"\n >\n <span thyActionMenuItemName>{{ size }}</span>\n </a>\n </ng-container>\n </thy-action-menu>\n</ng-template>\n", components: [{ type: i3__namespace.ThyIconNavLinkComponent, selector: "[thyIconNavLink]", inputs: ["thyIconNavLinkIcon", "thyIconNavLinkActive"] }, { type: i4__namespace$1.ThyIconComponent, selector: "thy-icon", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { type: i5__namespace$2.ThyActionMenuComponent, selector: "thy-action-menu", inputs: ["thyTheme", "thyWidth"] }], directives: [{ type: i5__namespace$1.ThyTooltipDirective, selector: "[thyTooltip],[thy-tooltip]", inputs: ["thyTooltip", "thyTooltipPlacement", "thyTooltipClass", "thyTooltipShowDelay", "thyTooltipHideDelay", "thyTooltipTrigger", "thyTooltipDisabled", "thyTooltipTemplateContext", "thyTooltipOffset", "thyTooltipPin"], exportAs: ["thyTooltip"] }, { type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5__namespace$2.ThyActionMenuItemDirective, selector: "[thyActionMenuItem]", inputs: ["thyDisabled", "thyType"] }, { type: i5__namespace$2.ThyActionMenuItemActiveDirective, selector: "[thyActionMenuItemActive]", inputs: ["thyActionMenuItemActive"] }, { type: i5__namespace$2.ThyActionMenuItemNameDirective, selector: "[thyActionMenuItemName]" }] });
|
|
11845
11837
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: TheFontSizeToolbarItemComponent, decorators: [{
|
|
11846
11838
|
type: i0.Component,
|
|
11847
11839
|
args: [{
|
|
@@ -13256,7 +13248,7 @@
|
|
|
13256
13248
|
avatar.ThyAvatarModule,
|
|
13257
13249
|
i3.ThyNavModule,
|
|
13258
13250
|
i2$1.ThyFormModule,
|
|
13259
|
-
i5$
|
|
13251
|
+
i5$3.ThySharedModule,
|
|
13260
13252
|
i2$2.ThyListModule,
|
|
13261
13253
|
i5$1.ThyTooltipModule,
|
|
13262
13254
|
i4.ThyProgressModule,
|
|
@@ -13267,8 +13259,8 @@
|
|
|
13267
13259
|
i1$5.ThyButtonModule,
|
|
13268
13260
|
i1$4.ThyNotifyModule,
|
|
13269
13261
|
i1$1.ThyAlertModule,
|
|
13270
|
-
|
|
13271
|
-
|
|
13262
|
+
i9.ThyResizableModule,
|
|
13263
|
+
i6$1.ThySwitchModule
|
|
13272
13264
|
];
|
|
13273
13265
|
var COMPONENTS = [
|
|
13274
13266
|
TheToolbarComponent,
|
|
@@ -13357,7 +13349,7 @@
|
|
|
13357
13349
|
avatar.ThyAvatarModule,
|
|
13358
13350
|
i3.ThyNavModule,
|
|
13359
13351
|
i2$1.ThyFormModule,
|
|
13360
|
-
i5$
|
|
13352
|
+
i5$3.ThySharedModule,
|
|
13361
13353
|
i2$2.ThyListModule,
|
|
13362
13354
|
i5$1.ThyTooltipModule,
|
|
13363
13355
|
i4.ThyProgressModule,
|
|
@@ -13368,20 +13360,20 @@
|
|
|
13368
13360
|
i1$5.ThyButtonModule,
|
|
13369
13361
|
i1$4.ThyNotifyModule,
|
|
13370
13362
|
i1$1.ThyAlertModule,
|
|
13371
|
-
|
|
13372
|
-
|
|
13363
|
+
i9.ThyResizableModule,
|
|
13364
|
+
i6$1.ThySwitchModule, i8.CodemirrorModule, TheColumnSizeModule], exports: [TheEditorComponent, TheToolbarComponent, TheToolbarDropdownComponent, TheToolbarItemComponent, TheDefaultElementComponent] });
|
|
13373
13365
|
TheEditorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: TheEditorModule, providers: [
|
|
13374
13366
|
{
|
|
13375
13367
|
provide: TheToolbarGroupToken,
|
|
13376
13368
|
useValue: TheToolbarGroupComponent
|
|
13377
13369
|
},
|
|
13378
13370
|
THE_CODE_MODE_PROVIDER
|
|
13379
|
-
], imports: [__spreadArray(__spreadArray([i6.CommonModule, i1.SlateModule, i4$2.FormsModule], __read(TETHYS)), [
|
|
13371
|
+
], imports: [__spreadArray(__spreadArray([i6.CommonModule, i1.SlateModule, i4$2.FormsModule], __read(TETHYS)), [i8.CodemirrorModule, TheColumnSizeModule])] });
|
|
13380
13372
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: TheEditorModule, decorators: [{
|
|
13381
13373
|
type: i0.NgModule,
|
|
13382
13374
|
args: [{
|
|
13383
13375
|
declarations: __spreadArray(__spreadArray(__spreadArray([TheEditorComponent], __read(PIPES)), __read(COMPONENTS)), __read(PLUGIN_COMPONENTS)),
|
|
13384
|
-
imports: __spreadArray(__spreadArray([i6.CommonModule, i1.SlateModule, i4$2.FormsModule], __read(TETHYS)), [
|
|
13376
|
+
imports: __spreadArray(__spreadArray([i6.CommonModule, i1.SlateModule, i4$2.FormsModule], __read(TETHYS)), [i8.CodemirrorModule, TheColumnSizeModule]),
|
|
13385
13377
|
exports: [TheEditorComponent, TheToolbarComponent, TheToolbarDropdownComponent, TheToolbarItemComponent, TheDefaultElementComponent],
|
|
13386
13378
|
entryComponents: __spreadArray(__spreadArray([], __read(COMPONENTS)), __read(PLUGIN_COMPONENTS)),
|
|
13387
13379
|
providers: [
|