@worktile/theia 2.2.5 → 2.2.9

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,
@@ -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: '正文',
@@ -6580,9 +6598,15 @@ class TheCodeComponent extends TheBaseElementComponent {
6580
6598
  const span = document.createElement('pre');
6581
6599
  span.appendChild(blockCard.cloneNode(true));
6582
6600
  span.textContent = this.element.content;
6583
- span.setAttribute('data-language', this.element.language);
6584
- span.setAttribute('data-auto-wrap', String(this.element.autoWrap));
6585
- span.setAttribute('data-height', String(this.element.height));
6601
+ if (this.element.language) {
6602
+ span.setAttribute('data-language', this.element.language);
6603
+ }
6604
+ if (this.element.autoWrap) {
6605
+ span.setAttribute('data-auto-wrap', String(this.element.autoWrap));
6606
+ }
6607
+ if (this.element.height) {
6608
+ span.setAttribute('data-height', String(this.element.height));
6609
+ }
6586
6610
  document.body.appendChild(span);
6587
6611
  const selection = window.getSelection();
6588
6612
  const range = document.createRange();
@@ -7019,7 +7043,7 @@ class TheLinkComponent extends TheBaseLinkComponent {
7019
7043
  super(...arguments);
7020
7044
  // Put this at the start and end of an inline component to work around this Chromium bug:
7021
7045
  // https://bugs.chromium.org/p/chromium/issues/detail?id=1249405
7022
- this.inlineChromiumBugfix = '$' + String.fromCodePoint(160);
7046
+ this.inlineChromiumBugfix = String.fromCodePoint(160);
7023
7047
  }
7024
7048
  }
7025
7049
  TheLinkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TheLinkComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
@@ -9167,7 +9191,7 @@ class ColumnResizingStore {
9167
9191
  restoreTopRows(deltaY) {
9168
9192
  let index = this.resizeRows.length - 1;
9169
9193
  while (index >= 0 && deltaY > 0) {
9170
- const currentHeight = coercePixelsFromCssValue(this.resizeRows[index].rowElement.style.height);
9194
+ const currentHeight = this.resizeRows[index].rowElement.getBoundingClientRect().height;
9171
9195
  if (this.resizeRows[index].baseHeight > currentHeight) {
9172
9196
  if (this.resizeRows[index].baseHeight > currentHeight + deltaY) {
9173
9197
  this.resizeRows[index].rowElement.style.height = coerceCssPixelValue(currentHeight + deltaY);
@@ -9753,16 +9777,16 @@ class TheTdComponent extends TheBaseElementComponent {
9753
9777
  merge(this.resizeNotifier.resizeCanceled, this.resizeNotifier.triggerResize)
9754
9778
  .pipe(takeUntilDestroyed, filter(columnSize => columnSize.tableCell === this.elementRef.nativeElement))
9755
9779
  .subscribe(({ deltaSize, previousSize, completeImmediately }) => {
9756
- const { top, left } = this.elementRef.nativeElement.getBoundingClientRect();
9780
+ const { top, left, height, width } = this.elementRef.nativeElement.getBoundingClientRect();
9757
9781
  const { clientY, clientX } = event;
9758
9782
  let isApplySize = false;
9759
9783
  if (this.isXAxisHover) {
9760
- const width = this.hoverdDirection === 'left' ? 0 : this.tableOptions.minWidthPx;
9761
- isApplySize = deltaSize > 0 && left + width - clientX <= 0;
9784
+ const cellWidth = this.hoverdDirection === 'left' ? 0 : width;
9785
+ isApplySize = deltaSize > 0 && left + cellWidth - clientX <= 0;
9762
9786
  }
9763
9787
  else {
9764
- const height = this.hoverdDirection === 'bottom' ? 0 : this.tableOptions.minHeightPx;
9765
- isApplySize = deltaSize > 0 && top + height - clientY <= 0;
9788
+ const cellHeight = this.hoverdDirection === 'bottom' ? 0 : height;
9789
+ isApplySize = deltaSize > 0 && top + cellHeight - clientY <= 0;
9766
9790
  }
9767
9791
  if (isApplySize || deltaSize < 0) {
9768
9792
  this.elementRef.nativeElement.classList.add(OVERLAY_ACTIVE_CLASS);
@@ -10849,7 +10873,7 @@ class TheToolbarItemComponent extends TheToolbarBaseItemComponent {
10849
10873
  }
10850
10874
  }
10851
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 });
10852
- 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: `
10853
10877
  <ng-container *ngIf="itemMode === ToolbarItemMode.horizontal; else selectionItem">
10854
10878
  <a
10855
10879
  thyIconNavLink
@@ -10899,9 +10923,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
10899
10923
  class: 'the-toolbar-item'
10900
10924
  }
10901
10925
  }]
10902
- }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { item: [{
10926
+ }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { editor: [{
10903
10927
  type: Input
10904
- }], editor: [{
10928
+ }], item: [{
10905
10929
  type: Input
10906
10930
  }], itemMode: [{
10907
10931
  type: Input
@@ -10962,7 +10986,7 @@ class TheQuickToolbarComponent extends mixinUnsubscribe(MixinBase) {
10962
10986
  }
10963
10987
  }
10964
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 });
10965
- 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"] }] });
10966
10990
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TheQuickToolbarComponent, decorators: [{
10967
10991
  type: Component,
10968
10992
  args: [{
@@ -11198,14 +11222,14 @@ class TheInlineCodeComponent extends TheBaseElementComponent {
11198
11222
  }
11199
11223
  }
11200
11224
  TheInlineCodeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TheInlineCodeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
11201
- 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>
11202
11226
  <slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children>
11203
11227
  <span contenteditable="false" style="font-size: 0;">{{ inlineChromiumBugfix }}</span>`, isInline: true, components: [{ type: i1.SlateChildrenComponent, selector: "slate-children", inputs: ["children", "context", "viewContext"] }] });
11204
11228
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TheInlineCodeComponent, decorators: [{
11205
11229
  type: Component,
11206
11230
  args: [{
11207
11231
  selector: 'span[theInlineCode]',
11208
- template: ` <span contenteditable="false" style="font-size: 0;">{{ inlineChromiumBugfix }}</span>
11232
+ template: `<span contenteditable="false" style="font-size: 0;">{{ inlineChromiumBugfix }}</span>
11209
11233
  <slate-children [children]="children" [context]="childrenContext" [viewContext]="viewContext"></slate-children>
11210
11234
  <span contenteditable="false" style="font-size: 0;">{{ inlineChromiumBugfix }}</span>`
11211
11235
  }]
@@ -11476,8 +11500,7 @@ const onKeydownTextIndent = (editor, event, kinds) => {
11476
11500
  return false;
11477
11501
  }
11478
11502
  const [block, path] = startBlock;
11479
- const currentPath = [path[0]];
11480
- const isStart = Editor.isStart(editor, selection.anchor, currentPath);
11503
+ const isStart = Editor.isStart(editor, selection.anchor, path);
11481
11504
  const textIndentDisable = [ElementKinds.bulletedList, ElementKinds.numberedList, ElementKinds.checkItem];
11482
11505
  if (isKeyHotkey('Tab', event)) {
11483
11506
  event.preventDefault();
@@ -11713,8 +11736,9 @@ const autoScrollViewHandle = (editor, scrollContainer) => {
11713
11736
  };
11714
11737
 
11715
11738
  class TheToolbarComponent {
11716
- constructor(cfr, elementRef, ngZone, toolbarGroupComponent) {
11739
+ constructor(cfr, cdr, elementRef, ngZone, toolbarGroupComponent) {
11717
11740
  this.cfr = cfr;
11741
+ this.cdr = cdr;
11718
11742
  this.elementRef = elementRef;
11719
11743
  this.ngZone = ngZone;
11720
11744
  this.toolbarGroupComponent = toolbarGroupComponent;
@@ -11789,6 +11813,7 @@ class TheToolbarComponent {
11789
11813
  }
11790
11814
  this.createMoreGroup(group);
11791
11815
  });
11816
+ this.cdr.markForCheck();
11792
11817
  }
11793
11818
  /**
11794
11819
  * calculation display toolbar and more grouped toolbars
@@ -11927,7 +11952,7 @@ class TheToolbarComponent {
11927
11952
  return (_c = item === null || item === void 0 ? void 0 : item.includes) === null || _c === void 0 ? void 0 : _c.find((item) => item.key === dropdownKey);
11928
11953
  }
11929
11954
  }
11930
- 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 });
11931
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"] }] });
11932
11957
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TheToolbarComponent, decorators: [{
11933
11958
  type: Component,
@@ -11938,7 +11963,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
11938
11963
  class: 'the-toolbar-container'
11939
11964
  }
11940
11965
  }]
11941
- }], 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: [{
11942
11967
  type: Inject,
11943
11968
  args: [TheToolbarGroupToken]
11944
11969
  }] }]; }, propDecorators: { editor: [{