zek 16.1.19 → 16.1.20

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.
@@ -7,8 +7,8 @@ export declare class KeyPairEx<TKey = any, TValue = any> extends KeyPair<TKey, T
7
7
  [key: string]: any;
8
8
  }
9
9
  export declare class KeyPairChecked<TKey = any, TValue = any> extends KeyPair<TKey, TValue> {
10
- checked?: boolean;
10
+ checked?: boolean | null;
11
11
  }
12
12
  export declare class KeyPairRequired<TKey = any, TValue = any> extends KeyPair<TKey, TValue> {
13
- required?: boolean;
13
+ required?: boolean | null;
14
14
  }
@@ -2,6 +2,7 @@ import { KeyPair, KeyPairEx, Tree } from "../models";
2
2
  export declare class ArrayHelper {
3
3
  static insert(value: any[], index: number, v: any): void;
4
4
  static contains(value: any[], v: any): boolean;
5
+ static isArray(arg: any): boolean;
5
6
  static distinct(source: any[]): any[];
6
7
  static filterByKey(filterValue: any, key: string, array: any[]): any[];
7
8
  static flattenArray(value: any[]): any[];
@@ -16,7 +16,7 @@ export declare enum Color {
16
16
  Dark = 8
17
17
  }
18
18
  export declare class BootstrapHelper {
19
- static cssColor(color?: Color | null): "" | "bg-primary text-white" | "bg-secondary text-white" | "bg-success text-white" | "bg-danger text-white" | "bg-warning text-dark" | "bg-info text-dark" | "bg-dark text-white";
19
+ static cssColor(color?: Color | null): "" | "bg-primary text-white" | "bg-success text-white" | "bg-danger text-white" | "bg-warning text-dark" | "bg-dark text-white" | "bg-secondary text-white" | "bg-info text-dark";
20
20
  static cssIcon(type: ComponentType): string | null;
21
21
  static cssButton(type: ComponentType): string;
22
22
  static cssAlert(type?: AlertType | null): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zek",
3
- "version": "16.1.19",
3
+ "version": "16.1.20",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0"