@worktile/theia 2.2.6 → 2.2.10

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.
@@ -1684,7 +1684,7 @@ const ListEditor = {
1684
1684
  else if (Element$1.isElement(node) && node.type === ElementKinds.paragraph) {
1685
1685
  let { textIndent } = node;
1686
1686
  if (textIndent) {
1687
- Transforms.setNodes(editor, { textIndent: undefined }, // remove textIndent
1687
+ Transforms.setNodes(editor, { textIndent: undefined, indent: undefined }, // remove indent
1688
1688
  { at: path });
1689
1689
  }
1690
1690
  }
@@ -1806,30 +1806,79 @@ const InlineCodeEditor = {
1806
1806
  }
1807
1807
  };
1808
1808
 
1809
+ const HeadingEditor = {
1810
+ setHeading(editor, heading) {
1811
+ Editor.withoutNormalizing(editor, () => {
1812
+ const types = [ElementKinds.bulletedList, ElementKinds.numberedList, ElementKinds.listItem];
1813
+ Transforms.unwrapNodes(editor, {
1814
+ at: editor.selection,
1815
+ match: n => Element$1.isElement(n) && types.includes(n.type),
1816
+ mode: 'all',
1817
+ split: true
1818
+ });
1819
+ Transforms.setNodes(editor, { type: heading });
1820
+ const entry = anchorBlockEntry(editor);
1821
+ const unMarks = {
1822
+ [MarkTypes.fontSize]: null
1823
+ };
1824
+ if (entry) {
1825
+ setMarks(editor, unMarks, entry[1]);
1826
+ return;
1827
+ }
1828
+ setMarks(editor, unMarks, editor.selection);
1829
+ });
1830
+ },
1831
+ isHeadingActive(editor, heading) {
1832
+ const [match] = Editor.nodes(editor, {
1833
+ match: n => Element$1.isElement(n) && n.type === heading,
1834
+ universal: true
1835
+ });
1836
+ return !!match;
1837
+ }
1838
+ };
1839
+
1809
1840
  const autoFormatRules = [
1810
1841
  {
1811
1842
  type: ElementKinds.heading_1,
1812
- markup: '#'
1843
+ markup: '#',
1844
+ format: (editor) => {
1845
+ HeadingEditor.setHeading(editor, ElementKinds.heading_1);
1846
+ }
1813
1847
  },
1814
1848
  {
1815
1849
  type: ElementKinds.heading_2,
1816
- markup: '##'
1850
+ markup: '##',
1851
+ format: (editor) => {
1852
+ HeadingEditor.setHeading(editor, ElementKinds.heading_2);
1853
+ }
1817
1854
  },
1818
1855
  {
1819
1856
  type: ElementKinds.heading_3,
1820
- markup: '###'
1857
+ markup: '###',
1858
+ format: (editor) => {
1859
+ HeadingEditor.setHeading(editor, ElementKinds.heading_3);
1860
+ }
1821
1861
  },
1822
1862
  {
1823
1863
  type: ElementKinds.heading_4,
1824
- markup: '####'
1864
+ markup: '####',
1865
+ format: (editor) => {
1866
+ HeadingEditor.setHeading(editor, ElementKinds.heading_4);
1867
+ }
1825
1868
  },
1826
1869
  {
1827
1870
  type: ElementKinds.heading_5,
1828
- markup: '#####'
1871
+ markup: '#####',
1872
+ format: (editor) => {
1873
+ HeadingEditor.setHeading(editor, ElementKinds.heading_5);
1874
+ }
1829
1875
  },
1830
1876
  {
1831
1877
  type: ElementKinds.heading_6,
1832
- markup: '######'
1878
+ markup: '######',
1879
+ format: (editor) => {
1880
+ HeadingEditor.setHeading(editor, ElementKinds.heading_6);
1881
+ }
1833
1882
  },
1834
1883
  {
1835
1884
  type: ElementKinds.blockquote,
@@ -2080,7 +2129,7 @@ const isCleanEmptyParagraph = (editor) => {
2080
2129
  const textIndent = 'textIndent';
2081
2130
  const align = 'align';
2082
2131
  const hasTextIndent = block[textIndent];
2083
- const hasAlign = block[align];
2132
+ const alignValue = block[align];
2084
2133
  const hasIndent = block[ElementKinds.indent];
2085
2134
  if (Node.string(block) === '' &&
2086
2135
  Element$1.isElement(block) &&
@@ -2090,7 +2139,7 @@ const isCleanEmptyParagraph = (editor) => {
2090
2139
  !Editor.isVoid(editor, block) &&
2091
2140
  !hasIndent &&
2092
2141
  !hasTextIndent &&
2093
- !hasAlign) {
2142
+ (!alignValue || alignValue === Alignment.left)) {
2094
2143
  return true;
2095
2144
  }
2096
2145
  return false;
@@ -5516,37 +5565,6 @@ const HrOptions = [
5516
5565
  }
5517
5566
  ];
5518
5567
 
5519
- const HeadingEditor = {
5520
- setHeading(editor, heading) {
5521
- Editor.withoutNormalizing(editor, () => {
5522
- const types = [ElementKinds.bulletedList, ElementKinds.numberedList, ElementKinds.listItem];
5523
- Transforms.unwrapNodes(editor, {
5524
- at: editor.selection,
5525
- match: n => Element$1.isElement(n) && types.includes(n.type),
5526
- mode: 'all',
5527
- split: true
5528
- });
5529
- Transforms.setNodes(editor, { type: heading });
5530
- const entry = anchorBlockEntry(editor);
5531
- const unMarks = {
5532
- [MarkTypes.fontSize]: null
5533
- };
5534
- if (entry) {
5535
- setMarks(editor, unMarks, entry[1]);
5536
- return;
5537
- }
5538
- setMarks(editor, unMarks, editor.selection);
5539
- });
5540
- },
5541
- isHeadingActive(editor, heading) {
5542
- const [match] = Editor.nodes(editor, {
5543
- match: n => Element$1.isElement(n) && n.type === heading,
5544
- universal: true
5545
- });
5546
- return !!match;
5547
- }
5548
- };
5549
-
5550
5568
  const HeadingOptions = [
5551
5569
  {
5552
5570
  name: '正文',
@@ -7025,7 +7043,7 @@ class TheLinkComponent extends TheBaseLinkComponent {
7025
7043
  super(...arguments);
7026
7044
  // Put this at the start and end of an inline component to work around this Chromium bug:
7027
7045
  // https://bugs.chromium.org/p/chromium/issues/detail?id=1249405
7028
- this.inlineChromiumBugfix = '$' + String.fromCodePoint(160);
7046
+ this.inlineChromiumBugfix = String.fromCodePoint(160);
7029
7047
  }
7030
7048
  }
7031
7049
  TheLinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TheLinkComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
@@ -9173,7 +9191,7 @@ class ColumnResizingStore {
9173
9191
  restoreTopRows(deltaY) {
9174
9192
  let index = this.resizeRows.length - 1;
9175
9193
  while (index >= 0 && deltaY > 0) {
9176
- const currentHeight = coercePixelsFromCssValue(this.resizeRows[index].rowElement.style.height);
9194
+ const currentHeight = this.resizeRows[index].rowElement.getBoundingClientRect().height;
9177
9195
  if (this.resizeRows[index].baseHeight > currentHeight) {
9178
9196
  if (this.resizeRows[index].baseHeight > currentHeight + deltaY) {
9179
9197
  this.resizeRows[index].rowElement.style.height = coerceCssPixelValue(currentHeight + deltaY);
@@ -9759,16 +9777,16 @@ class TheTdComponent extends TheBaseElementComponent {
9759
9777
  merge(this.resizeNotifier.resizeCanceled, this.resizeNotifier.triggerResize)
9760
9778
  .pipe(takeUntilDestroyed, filter(columnSize => columnSize.tableCell === this.elementRef.nativeElement))
9761
9779
  .subscribe(({ deltaSize, previousSize, completeImmediately }) => {
9762
- const { top, left } = this.elementRef.nativeElement.getBoundingClientRect();
9780
+ const { top, left, height, width } = this.elementRef.nativeElement.getBoundingClientRect();
9763
9781
  const { clientY, clientX } = event;
9764
9782
  let isApplySize = false;
9765
9783
  if (this.isXAxisHover) {
9766
- const width = this.hoverdDirection === 'left' ? 0 : this.tableOptions.minWidthPx;
9767
- isApplySize = deltaSize > 0 && left + width - clientX <= 0;
9784
+ const cellWidth = this.hoverdDirection === 'left' ? 0 : width;
9785
+ isApplySize = deltaSize > 0 && left + cellWidth - clientX <= 0;
9768
9786
  }
9769
9787
  else {
9770
- const height = this.hoverdDirection === 'bottom' ? 0 : this.tableOptions.minHeightPx;
9771
- isApplySize = deltaSize > 0 && top + height - clientY <= 0;
9788
+ const cellHeight = this.hoverdDirection === 'bottom' ? 0 : height;
9789
+ isApplySize = deltaSize > 0 && top + cellHeight - clientY <= 0;
9772
9790
  }
9773
9791
  if (isApplySize || deltaSize < 0) {
9774
9792
  this.elementRef.nativeElement.classList.add(OVERLAY_ACTIVE_CLASS);
@@ -10855,7 +10873,7 @@ class TheToolbarItemComponent extends TheToolbarBaseItemComponent {
10855
10873
  }
10856
10874
  }
10857
10875
  TheToolbarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TheToolbarItemComponent, deps: [{ token: i0.NgZone }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
10858
- TheToolbarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: TheToolbarItemComponent, selector: "the-toolbar-item", inputs: { item: "item", editor: "editor", itemMode: "itemMode" }, host: { listeners: { "mousedown": "toggleDropdown($event)" }, properties: { "class.disabled": "this.disabledState" }, classAttribute: "the-toolbar-item" }, viewQueries: [{ propertyName: "toolbarContainer", first: true, predicate: ["toolbarContainer"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: `
10876
+ TheToolbarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: TheToolbarItemComponent, selector: "the-toolbar-item", inputs: { editor: "editor", item: "item", itemMode: "itemMode" }, host: { listeners: { "mousedown": "toggleDropdown($event)" }, properties: { "class.disabled": "this.disabledState" }, classAttribute: "the-toolbar-item" }, viewQueries: [{ propertyName: "toolbarContainer", first: true, predicate: ["toolbarContainer"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: `
10859
10877
  <ng-container *ngIf="itemMode === ToolbarItemMode.horizontal; else selectionItem">
10860
10878
  <a
10861
10879
  thyIconNavLink
@@ -10905,9 +10923,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
10905
10923
  class: 'the-toolbar-item'
10906
10924
  }
10907
10925
  }]
10908
- }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { item: [{
10926
+ }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { editor: [{
10909
10927
  type: Input
10910
- }], editor: [{
10928
+ }], item: [{
10911
10929
  type: Input
10912
10930
  }], itemMode: [{
10913
10931
  type: Input
@@ -10968,7 +10986,7 @@ class TheQuickToolbarComponent extends mixinUnsubscribe(MixinBase) {
10968
10986
  }
10969
10987
  }
10970
10988
  TheQuickToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TheQuickToolbarComponent, deps: [{ token: i1$3.ThyPopoverRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
10971
- TheQuickToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: TheQuickToolbarComponent, selector: "the-quick-toolbar", inputs: { editor: "editor", quickToolbarItems: "quickToolbarItems" }, host: { listeners: { "document: mousedown": "handleMouseDown($event)", "document: keydown.enter": "handleEnter()", "document: keydown.escape": "handleEsc()" } }, usesInheritance: true, ngImport: i0, 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$2.ThySelectionListComponent, selector: "thy-selection-list,[thy-selection-list]", inputs: ["thyMultiple", "thyBindKeyEventContainer", "thyScrollContainer", "thyBeforeKeydown", "thyUniqueKey", "thyCompareWith", "thyLayout", "thyAutoActiveFirstItem", "thySize", "thySpaceKeyEnabled"], outputs: ["thySelectionChange"] }, { type: i5$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.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
10989
+ TheQuickToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: TheQuickToolbarComponent, selector: "the-quick-toolbar", inputs: { editor: "editor", quickToolbarItems: "quickToolbarItems" }, host: { listeners: { "document: mousedown": "handleMouseDown($event)", "document: keydown.enter": "handleEnter()", "document: keydown.escape": "handleEsc()" } }, usesInheritance: true, ngImport: i0, 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$2.ThySelectionListComponent, selector: "thy-selection-list,[thy-selection-list]", inputs: ["thyMultiple", "thyBindKeyEventContainer", "thyScrollContainer", "thyBeforeKeydown", "thyUniqueKey", "thyCompareWith", "thyLayout", "thyAutoActiveFirstItem", "thySize", "thySpaceKeyEnabled"], outputs: ["thySelectionChange"] }, { type: i5$3.ThyListOptionComponent, selector: "thy-list-option,[thy-list-option]", inputs: ["id", "thyValue", "thyDisabled"] }, { type: TheToolbarItemComponent, selector: "the-toolbar-item", inputs: ["editor", "item", "itemMode"] }, { type: NavSplitLineComponent, selector: "nav-split-line", inputs: ["mode"] }], directives: [{ type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
10972
10990
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TheQuickToolbarComponent, decorators: [{
10973
10991
  type: Component,
10974
10992
  args: [{
@@ -11204,14 +11222,14 @@ class TheInlineCodeComponent extends TheBaseElementComponent {
11204
11222
  }
11205
11223
  }
11206
11224
  TheInlineCodeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TheInlineCodeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
11207
- TheInlineCodeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: TheInlineCodeComponent, selector: "span[theInlineCode]", usesInheritance: true, ngImport: i0, template: ` <span contenteditable="false" style="font-size: 0;">{{ inlineChromiumBugfix }}</span>
11225
+ TheInlineCodeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: TheInlineCodeComponent, selector: "span[theInlineCode]", usesInheritance: true, ngImport: i0, template: `<span contenteditable="false" style="font-size: 0;">{{ inlineChromiumBugfix }}</span>
11208
11226
  <slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children>
11209
11227
  <span contenteditable="false" style="font-size: 0;">{{ inlineChromiumBugfix }}</span>`, isInline: true, components: [{ type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] });
11210
11228
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TheInlineCodeComponent, decorators: [{
11211
11229
  type: Component,
11212
11230
  args: [{
11213
11231
  selector: 'span[theInlineCode]',
11214
- template: ` <span contenteditable="false" style="font-size: 0;">{{ inlineChromiumBugfix }}</span>
11232
+ template: `<span contenteditable="false" style="font-size: 0;">{{ inlineChromiumBugfix }}</span>
11215
11233
  <slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children>
11216
11234
  <span contenteditable="false" style="font-size: 0;">{{ inlineChromiumBugfix }}</span>`
11217
11235
  }]
@@ -11482,8 +11500,7 @@ const onKeydownTextIndent = (editor, event, kinds) => {
11482
11500
  return false;
11483
11501
  }
11484
11502
  const [block, path] = startBlock;
11485
- const currentPath = [path[0]];
11486
- const isStart = Editor.isStart(editor, selection.anchor, currentPath);
11503
+ const isStart = Editor.isStart(editor, selection.anchor, path);
11487
11504
  const textIndentDisable = [ElementKinds.bulletedList, ElementKinds.numberedList, ElementKinds.checkItem];
11488
11505
  if (isKeyHotkey('Tab', event)) {
11489
11506
  event.preventDefault();
@@ -11719,8 +11736,9 @@ const autoScrollViewHandle = (editor, scrollContainer) => {
11719
11736
  };
11720
11737
 
11721
11738
  class TheToolbarComponent {
11722
- constructor(cfr, elementRef, ngZone, toolbarGroupComponent) {
11739
+ constructor(cfr, cdr, elementRef, ngZone, toolbarGroupComponent) {
11723
11740
  this.cfr = cfr;
11741
+ this.cdr = cdr;
11724
11742
  this.elementRef = elementRef;
11725
11743
  this.ngZone = ngZone;
11726
11744
  this.toolbarGroupComponent = toolbarGroupComponent;
@@ -11795,6 +11813,7 @@ class TheToolbarComponent {
11795
11813
  }
11796
11814
  this.createMoreGroup(group);
11797
11815
  });
11816
+ this.cdr.markForCheck();
11798
11817
  }
11799
11818
  /**
11800
11819
  * calculation display toolbar and more grouped toolbars
@@ -11933,7 +11952,7 @@ class TheToolbarComponent {
11933
11952
  return (_c = item === null || item === void 0 ? void 0 : item.includes) === null || _c === void 0 ? void 0 : _c.find((item) => item.key === dropdownKey);
11934
11953
  }
11935
11954
  }
11936
- TheToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TheToolbarComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: TheToolbarGroupToken }], target: i0.ɵɵFactoryTarget.Component });
11955
+ TheToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TheToolbarComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: TheToolbarGroupToken }], target: i0.ɵɵFactoryTarget.Component });
11937
11956
  TheToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: TheToolbarComponent, selector: "the-toolbar", inputs: { editor: "editor", toolbarItems: "toolbarItems", align: "align", containerClass: "containerClass", isMore: "isMore", afterTemplate: "afterTemplate" }, host: { classAttribute: "the-toolbar-container" }, viewQueries: [{ propertyName: "toolbarContainer", first: true, predicate: ["toolbarContainer"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<thy-icon-nav [style.justifyContent]=\"align\">\n <ng-container #toolbarContainer></ng-container>\n <ng-content></ng-content>\n <ng-template *ngIf=\"afterTemplate\" [ngTemplateOutlet]=\"afterTemplate\"></ng-template>\n</thy-icon-nav>\n", components: [{ type: i3.ThyIconNavComponent, selector: "thy-icon-nav", inputs: ["thyType"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
11938
11957
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TheToolbarComponent, decorators: [{
11939
11958
  type: Component,
@@ -11944,7 +11963,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
11944
11963
  class: 'the-toolbar-container'
11945
11964
  }
11946
11965
  }]
11947
- }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: undefined, decorators: [{
11966
+ }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: undefined, decorators: [{
11948
11967
  type: Inject,
11949
11968
  args: [TheToolbarGroupToken]
11950
11969
  }] }]; }, propDecorators: { editor: [{