@stemy/ngx-utils 19.7.10 → 19.7.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.
@@ -47,6 +47,7 @@ export interface IIconService {
47
47
  isDisabled: boolean;
48
48
  iconsLoaded: EventEmitter<any>;
49
49
  getIcon(icon: string, activeIcon: string, active: boolean): Promise<string>;
50
+ getIconUrl(icon: string, modifier?: SvgSourceModifier): Promise<string>;
50
51
  getIconImage(icon: string, modifier?: SvgSourceModifier): Promise<HTMLImageElement>;
51
52
  }
52
53
  export interface ITranslation {
@@ -1,11 +1,11 @@
1
1
  export declare class ArrayUtils {
2
- static has(arr: any[], ...items: any[]): boolean;
3
- static match(arr: any[], str: string): boolean;
4
- static any<T>(arr: T[], cb: (item: T) => boolean): boolean;
2
+ static has(arr: ReadonlyArray<any>, ...items: any[]): boolean;
3
+ static match(arr: ReadonlyArray<any>, str: string): boolean;
4
+ static any<T>(arr: ReadonlyArray<T>, cb: (item: T) => boolean): boolean;
5
5
  static move<T>(arr: T[], oldIndex: number, newIndex: number): T[];
6
- static reversed(arr: any[]): any[];
7
- static min<T>(arr: T[], cb: (item: T, index?: number) => number): T;
8
- static max<T>(arr: T[], cb: (item: T, index?: number) => number): T;
9
- static chunk<T>(arr: T[], size: number): Array<T[]>;
10
- static unique<T>(arr: T[]): T[];
6
+ static reversed<T>(arr: ReadonlyArray<T>): T[];
7
+ static min<T>(arr: ReadonlyArray<T>, cb: (item: T, index?: number) => number): T;
8
+ static max<T>(arr: ReadonlyArray<T>, cb: (item: T, index?: number) => number): T;
9
+ static chunk<T>(arr: ReadonlyArray<T>, size: number): Array<T[]>;
10
+ static unique<T>(arr: ReadonlyArray<T>): T[];
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stemy/ngx-utils",
3
- "version": "19.7.10",
3
+ "version": "19.7.12",
4
4
  "license": "MIT",
5
5
  "public": true,
6
6
  "repository": "https://github.com/stemyke/ngx-utils.git",