zek 14.2.49 → 14.2.50

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,32 +1,29 @@
1
1
  import { BooleanInput, NumberInput } from '../../components';
2
2
  import * as i0 from "@angular/core";
3
+ declare type Background = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'body' | 'white' | 'transparent';
3
4
  export declare class ZekProgress {
4
- private _max;
5
- get max(): number;
6
- set max(v: NumberInput);
7
- private _value;
8
5
  get value(): number;
9
6
  set value(v: NumberInput);
10
- _normalizedValue: number;
11
- private _showValue;
7
+ private _value;
12
8
  get showValue(): boolean;
13
9
  set showValue(v: BooleanInput);
14
- private _striped;
10
+ private _showValue;
15
11
  get striped(): boolean;
16
12
  set striped(v: BooleanInput);
17
- private _animated;
13
+ private _striped;
18
14
  get animated(): boolean;
19
15
  set animated(v: BooleanInput);
20
- private _label;
16
+ private _animated;
21
17
  get label(): string | null | undefined;
22
18
  set label(v: string | null | undefined);
23
- private _height;
19
+ private _label;
24
20
  get height(): NumberInput;
25
21
  set height(v: NumberInput);
26
- type: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'body' | 'white' | 'transparent' | null | undefined;
22
+ private _height;
23
+ get background(): Background;
24
+ set background(v: Background);
27
25
  private _background;
28
- get background(): 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'body' | 'white' | 'transparent' | null | undefined;
29
- set background(v: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'body' | 'white' | 'transparent' | null | undefined);
30
26
  static ɵfac: i0.ɵɵFactoryDeclaration<ZekProgress, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<ZekProgress, "zek-progress", never, { "max": "max"; "striped": "striped"; "animated": "animated"; "label": "label"; "height": "height"; "background": "background"; }, {}, never, never, false>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<ZekProgress, "zek-progress", never, { "value": "value"; "showValue": "showValue"; "striped": "striped"; "animated": "animated"; "label": "label"; "height": "height"; "background": "background"; }, {}, never, never, false>;
32
28
  }
29
+ export {};
@@ -1,4 +1,5 @@
1
1
  export declare class Convert {
2
2
  static toBoolean(value: any): boolean;
3
- static toNumber(value: any): number;
3
+ static toNumber(value: any, defaultValue?: number): number;
4
+ static isNumber(value: any): boolean;
4
5
  }
@@ -9,6 +9,5 @@ export declare class ObjectHelper {
9
9
  static isEmptyValue(value: any): boolean;
10
10
  static isEmpty(obj: any): boolean;
11
11
  static deleteNullKeys(val: any): void;
12
- static isBoolean(val: any): boolean;
13
12
  static deepCopy<T = any>(value: any): T;
14
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zek",
3
- "version": "14.2.49",
3
+ "version": "14.2.50",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0"