@ts-core/angular 13.0.47 → 13.0.48

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.
Files changed (24) hide show
  1. package/bottomSheet/BottomSheetService.d.ts +2 -1
  2. package/bottomSheet/component/BottomSheetBaseComponent.d.ts +0 -2
  3. package/bottomSheet/component/bottom-sheet-close-element/bottom-sheet-close-element.component.d.ts +1 -2
  4. package/esm2020/bottomSheet/BottomSheetImpl.mjs +7 -2
  5. package/esm2020/bottomSheet/BottomSheetService.mjs +12 -4
  6. package/esm2020/bottomSheet/component/BottomSheetBaseComponent.mjs +3 -7
  7. package/esm2020/bottomSheet/component/bottom-sheet-close-element/bottom-sheet-close-element.component.mjs +11 -16
  8. package/esm2020/window/WindowImpl.mjs +29 -3
  9. package/esm2020/window/component/WindowBaseComponent.mjs +10 -47
  10. package/esm2020/window/component/WindowElement.mjs +9 -1
  11. package/esm2020/window/component/window-close-element/window-close-element.component.mjs +11 -16
  12. package/esm2020/window/component/window-minimize-element/window-minimize-element.component.mjs +11 -16
  13. package/esm2020/window/component/window-resize-element/window-resize-element.component.mjs +10 -15
  14. package/fesm2015/ts-core-angular.mjs +102 -114
  15. package/fesm2015/ts-core-angular.mjs.map +1 -1
  16. package/fesm2020/ts-core-angular.mjs +102 -114
  17. package/fesm2020/ts-core-angular.mjs.map +1 -1
  18. package/package.json +1 -1
  19. package/window/WindowImpl.d.ts +2 -0
  20. package/window/component/WindowBaseComponent.d.ts +1 -9
  21. package/window/component/WindowElement.d.ts +2 -1
  22. package/window/component/window-close-element/window-close-element.component.d.ts +1 -2
  23. package/window/component/window-minimize-element/window-minimize-element.component.d.ts +1 -2
  24. package/window/component/window-resize-element/window-resize-element.component.d.ts +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ts-core/angular",
3
- "version": "13.0.47",
3
+ "version": "13.0.48",
4
4
  "description": "Modules for frontend based on angular",
5
5
  "main": "public-api.js",
6
6
  "author": {
@@ -30,8 +30,10 @@ export declare class WindowImpl<T = any> extends WindowBase<T> implements IWindo
30
30
  protected observer: Subject<string>;
31
31
  constructor(properties: WindowProperties);
32
32
  protected elementsCreate(): void;
33
+ protected elementsDestroy(): void;
33
34
  protected elementAdd(item: ComponentRef<WindowElement>): ComponentRef<WindowElement>;
34
35
  protected elementRemove(item: ComponentRef<WindowElement>): ComponentRef<WindowElement>;
36
+ protected elementDestroy(item: ComponentRef<WindowElement>): ComponentRef<WindowElement>;
35
37
  protected setClosed: () => void;
36
38
  protected setOpened: () => void;
37
39
  protected blinkToggle: () => void;
@@ -1,4 +1,3 @@
1
- import { ComponentFactoryResolver, ComponentRef } from '@angular/core';
2
1
  import { WindowCloseElementComponent } from './window-close-element/window-close-element.component';
3
2
  import { WindowMinimizeElementComponent } from './window-minimize-element/window-minimize-element.component';
4
3
  import { WindowResizeElementComponent } from './window-resize-element/window-resize-element.component';
@@ -7,20 +6,13 @@ export declare class WindowBaseComponent extends WindowDragable {
7
6
  static CLOSE_COMPONENT: typeof WindowCloseElementComponent;
8
7
  static RESIZE_COMPONENT: typeof WindowResizeElementComponent;
9
8
  static MINIMIZE_COMPONENT: typeof WindowMinimizeElementComponent;
10
- protected closeWindow: ComponentRef<any>;
11
- protected resizedWindow: ComponentRef<any>;
12
- protected minimizeWindow: ComponentRef<any>;
13
- protected setProperties(): void;
14
- protected createWindowComponents(): void;
9
+ protected elementsCreate(): void;
15
10
  protected commitIsBlinkProperties(): void;
16
11
  protected commitIsDisabledProperties(): void;
17
12
  protected commitIsShakingProperties(): void;
18
13
  protected commitIsMinimizedProperties(): void;
19
- protected isNeedClickStopPropagation(event: MouseEvent): boolean;
20
- protected get resolver(): ComponentFactoryResolver;
21
14
  protected get blinkClass(): string;
22
15
  protected get disabledClass(): string;
23
16
  protected get minimizedClass(): string;
24
17
  protected get shakingClass(): string;
25
- destroy(): void;
26
18
  }
@@ -2,7 +2,7 @@ import { AfterViewInit, ElementRef } from '@angular/core';
2
2
  import { DestroyableContainer } from '@ts-core/common';
3
3
  import { IWindow } from '../IWindow';
4
4
  import * as i0 from "@angular/core";
5
- export declare class WindowElement extends DestroyableContainer implements AfterViewInit {
5
+ export declare abstract class WindowElement extends DestroyableContainer implements AfterViewInit {
6
6
  protected element: ElementRef;
7
7
  protected _window: IWindow;
8
8
  constructor(element: ElementRef);
@@ -13,6 +13,7 @@ export declare class WindowElement extends DestroyableContainer implements After
13
13
  protected commitWindowProperties(): void;
14
14
  ngAfterViewInit(): void;
15
15
  destroy(): void;
16
+ clickHandler(event: MouseEvent): void;
16
17
  protected get nativeElement(): HTMLElement;
17
18
  get window(): IWindow;
18
19
  set window(value: IWindow);
@@ -6,8 +6,7 @@ export declare class WindowCloseElementComponent extends WindowElement {
6
6
  static ICON_VALUE: string;
7
7
  constructor(element: ElementRef);
8
8
  protected createChildren(): void;
9
- protected destroyChildren(): void;
10
- private mouseClickHandler;
9
+ clickHandler(event: MouseEvent): void;
11
10
  static ɵfac: i0.ɵɵFactoryDeclaration<WindowCloseElementComponent, never>;
12
11
  static ɵcmp: i0.ɵɵComponentDeclaration<WindowCloseElementComponent, "vi-window-close-element", never, {}, {}, never, never>;
13
12
  }
@@ -9,8 +9,7 @@ export declare class WindowMinimizeElementComponent extends WindowElement {
9
9
  private commitIconProperties;
10
10
  protected commitWindowProperties(): void;
11
11
  protected createChildren(): void;
12
- protected destroyChildren(): void;
13
- private mouseClickHandler;
12
+ clickHandler(event: MouseEvent): void;
14
13
  static ɵfac: i0.ɵɵFactoryDeclaration<WindowMinimizeElementComponent, never>;
15
14
  static ɵcmp: i0.ɵɵComponentDeclaration<WindowMinimizeElementComponent, "vi-window-minimize-element", never, {}, {}, never, never>;
16
15
  }
@@ -6,8 +6,7 @@ export declare class WindowResizeElementComponent extends WindowElement {
6
6
  static ICON_VALUE: string;
7
7
  constructor(element: ElementRef);
8
8
  protected createChildren(): void;
9
- protected destroyChildren(): void;
10
- private mouseClickHandler;
9
+ clickHandler(event: MouseEvent): void;
11
10
  static ɵfac: i0.ɵɵFactoryDeclaration<WindowResizeElementComponent, never>;
12
11
  static ɵcmp: i0.ɵɵComponentDeclaration<WindowResizeElementComponent, "vi-window-resize-element", never, {}, {}, never, never>;
13
12
  }