@ts-core/angular 13.0.11 → 13.0.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ts-core/angular",
3
- "version": "13.0.11",
3
+ "version": "13.0.12",
4
4
  "description": "Modules for frontend based on angular",
5
5
  "main": "public-api.js",
6
6
  "author": {
@@ -5,7 +5,7 @@ export declare class ViewUtil {
5
5
  static initialize(renderer: Renderer2): void;
6
6
  static parseElement(element: IViewElement): HTMLElement;
7
7
  static createBase64(element: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement): string;
8
- static selectContent(container: HTMLElement, isNeedCopyToClipboard?: boolean): void;
8
+ static selectContent(container: IViewElement, isNeedCopyToClipboard?: boolean): void;
9
9
  static setBackground(container: IViewElement, image: string, repeat?: string): void;
10
10
  static createElement(name: string, className?: string, innerHTML?: string): any;
11
11
  static appendChild(parent: any, child: any): void;
@@ -13,20 +13,20 @@ export declare class ViewUtil {
13
13
  static toggleChild(container: Node, child: Node, value: boolean): void;
14
14
  static getStageWidth(): number;
15
15
  static getStageHeight(): number;
16
- static getWidth(container: HTMLElement): number;
17
- static setWidth(container: HTMLElement, value: number, isNeedCheckLimits: boolean): boolean;
18
- static getMaxWidth(container: HTMLElement): number;
19
- static getMinWidth(container: HTMLElement): number;
20
- static getHeight(container: HTMLElement): number;
21
- static setHeight(container: HTMLElement, value: number, isNeedCheckLimits: boolean): boolean;
22
- static getMaxHeight(container: HTMLElement): number;
23
- static getMinHeight(container: HTMLElement): number;
24
- static size(container: HTMLElement, width: number, height: number, isNeedCheckLimits: boolean): void;
25
- static getX(container: HTMLElement): number;
26
- static setX(container: HTMLElement, value: number): void;
27
- static getY(container: HTMLElement): number;
28
- static setY(container: HTMLElement, value: number): void;
29
- static move(container: HTMLElement, x: number, y: number): void;
16
+ static getWidth(container: IViewElement): number;
17
+ static setWidth(container: IViewElement, value: number, isNeedCheckLimits: boolean): boolean;
18
+ static getMaxWidth(container: IViewElement): number;
19
+ static getMinWidth(container: IViewElement): number;
20
+ static getHeight(container: IViewElement): number;
21
+ static setHeight(container: IViewElement, value: number, isNeedCheckLimits: boolean): boolean;
22
+ static getMaxHeight(container: IViewElement): number;
23
+ static getMinHeight(container: IViewElement): number;
24
+ static size(container: IViewElement, width: number, height: number, isNeedCheckLimits: boolean): void;
25
+ static getX(container: IViewElement): number;
26
+ static setX(container: IViewElement, value: number): void;
27
+ static getY(container: IViewElement): number;
28
+ static setY(container: IViewElement, value: number): void;
29
+ static move(container: IViewElement, x: number, y: number): void;
30
30
  static focusInput(input: HTMLInputElement | HTMLTextAreaElement): void;
31
31
  static addClass(container: IViewElement, name: string): void;
32
32
  static addClasses(container: IViewElement, names: string): void;
@@ -54,8 +54,8 @@ export declare class ViewUtil {
54
54
  static stopVideoIfNeed(video: HTMLVideoElement): void;
55
55
  static stopVideo(video: HTMLVideoElement): void;
56
56
  static disposeVideo(video: HTMLVideoElement): void;
57
- static disposeVideos(container: HTMLElement): void;
58
- static disposeObjects(container: HTMLElement, isIEBrowser?: boolean): void;
57
+ static disposeVideos(container: IViewElement): void;
58
+ static disposeObjects(container: IViewElement, isIEBrowser?: boolean): void;
59
59
  static disposeObject(object: HTMLObjectElement, isIEBrowser?: boolean): void;
60
60
  }
61
61
  export declare type IViewElement<T extends HTMLElement = HTMLElement> = HTMLElement | ElementRef<T> | ViewContainerRef;