@worktile/theia 20.1.0-next.12 → 20.1.0-next.13

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.
@@ -1,6 +1,6 @@
1
1
  import { NgStyle, NgTemplateOutlet, NgClass } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { InjectionToken, Component, inject, signal, Injectable, computed, HostBinding, Input, Directive, ViewChild, HostListener, ViewContainerRef, Inject, TemplateRef, forwardRef, ContentChildren, Optional, SkipSelf, EventEmitter, NgZone, ElementRef, DestroyRef, Output, Pipe, ChangeDetectionStrategy, ChangeDetectorRef, ViewChildren, Renderer2, viewChild, DOCUMENT, Injector, NgModule } from '@angular/core';
3
+ import { InjectionToken, Component, inject, signal, Injectable, computed, HostBinding, Input, Directive, ViewChild, HostListener, ViewContainerRef, Inject, TemplateRef, forwardRef, ContentChildren, Optional, SkipSelf, EventEmitter, NgZone, ElementRef, DestroyRef, Output, Pipe, ChangeDetectionStrategy, ChangeDetectorRef, ViewChildren, Renderer2, viewChild, Injector, NgModule } from '@angular/core';
4
4
  import { ThyDivider } from 'ngx-tethys/divider';
5
5
  import { ThyAction, ThyActions } from 'ngx-tethys/action';
6
6
  import { ThyDropdownMenuItemDirective, ThyDropdownMenuDivider, ThyDropdownMenuItemNameDirective, ThyDropdownMenuItemIconDirective, ThyDropdownMenuItemActiveDirective, ThyDropdownMenuComponent, ThyDropdownMenuGroup, ThyDropdownDirective, ThyDropdownMenuItemExtendIconDirective } from 'ngx-tethys/dropdown';
@@ -12045,14 +12045,13 @@ class ResizeRef {
12045
12045
  }
12046
12046
 
12047
12047
  class TheColumnResizeOverlayHandle {
12048
- constructor(elementRef, viewContainerRef, cdr, ngZone, resizeRef, eventDispatcher, document, resizeNotifier, destroyRef) {
12048
+ constructor(elementRef, viewContainerRef, cdr, ngZone, resizeRef, eventDispatcher, resizeNotifier, destroyRef) {
12049
12049
  this.elementRef = elementRef;
12050
12050
  this.viewContainerRef = viewContainerRef;
12051
12051
  this.cdr = cdr;
12052
12052
  this.ngZone = ngZone;
12053
12053
  this.resizeRef = resizeRef;
12054
12054
  this.eventDispatcher = eventDispatcher;
12055
- this.document = document;
12056
12055
  this.resizeNotifier = resizeNotifier;
12057
12056
  this.destroyRef = destroyRef;
12058
12057
  }
@@ -12086,9 +12085,9 @@ class TheColumnResizeOverlayHandle {
12086
12085
  if (mousedownEvent.button !== 0) {
12087
12086
  return;
12088
12087
  }
12089
- const mouseup = fromEvent(this.document, 'mouseup');
12090
- const mousemove = fromEvent(this.document, 'mousemove');
12091
- const escape = fromEvent(this.document, 'keyup').pipe(filter((event) => event.key === 'Escape'));
12088
+ const mouseup = fromEvent(document, 'mouseup');
12089
+ const mousemove = fromEvent(document, 'mousemove');
12090
+ const escape = fromEvent(document, 'keyup').pipe(filter((event) => event.key === 'Escape'));
12092
12091
  const startX = mousedownEvent.clientX;
12093
12092
  const startY = mousedownEvent.clientY;
12094
12093
  const initialWidthSize = this._getOriginWidth();
@@ -12163,7 +12162,7 @@ class TheColumnResizeOverlayHandle {
12163
12162
  this.resizeNotifier.resizeStarted.next(sizeMessage);
12164
12163
  });
12165
12164
  }
12166
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: TheColumnResizeOverlayHandle, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: ResizeRef }, { token: TableCellEventDispatcher }, { token: DOCUMENT }, { token: ColumnResizeNotifierSource }, { token: i0.DestroyRef }], target: i0.ɵɵFactoryTarget.Component }); }
12165
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: TheColumnResizeOverlayHandle, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: ResizeRef }, { token: TableCellEventDispatcher }, { token: ColumnResizeNotifierSource }, { token: i0.DestroyRef }], target: i0.ɵɵFactoryTarget.Component }); }
12167
12166
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.14", type: TheColumnResizeOverlayHandle, isStandalone: true, selector: "ng-component", host: { classAttribute: "the-table-resize-overlay-thumb" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
12168
12167
  }
12169
12168
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: TheColumnResizeOverlayHandle, decorators: [{
@@ -12174,10 +12173,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
12174
12173
  template: '',
12175
12174
  standalone: true
12176
12175
  }]
12177
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: ResizeRef }, { type: TableCellEventDispatcher }, { type: undefined, decorators: [{
12178
- type: Inject,
12179
- args: [DOCUMENT]
12180
- }] }, { type: ColumnResizeNotifierSource }, { type: i0.DestroyRef }] });
12176
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: ResizeRef }, { type: TableCellEventDispatcher }, { type: ColumnResizeNotifierSource }, { type: i0.DestroyRef }] });
12181
12177
 
12182
12178
  class ColumnResizingStore {
12183
12179
  constructor() {