zek 14.2.48 → 14.2.49

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 +1,2 @@
1
1
  export declare type BooleanInput = string | boolean | null | undefined;
2
+ export declare type NumberInput = string | number | null | undefined;
@@ -16,6 +16,7 @@ export * from './modal';
16
16
  export * from './page-title';
17
17
  export * from './pager';
18
18
  export * from './password';
19
+ export * from './progress';
19
20
  export * from './radio';
20
21
  export * from './readonly';
21
22
  export * from './recaptcha/index';
@@ -0,0 +1,2 @@
1
+ export * from './module';
2
+ export * from './progress';
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./progress";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@ngx-translate/core";
5
+ export declare class ProgressModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressModule, [typeof i1.ZekProgress], [typeof i2.CommonModule, typeof i3.TranslateModule], [typeof i1.ZekProgress]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProgressModule>;
9
+ }
@@ -0,0 +1,32 @@
1
+ import { BooleanInput, NumberInput } from '../../components';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ZekProgress {
4
+ private _max;
5
+ get max(): number;
6
+ set max(v: NumberInput);
7
+ private _value;
8
+ get value(): number;
9
+ set value(v: NumberInput);
10
+ _normalizedValue: number;
11
+ private _showValue;
12
+ get showValue(): boolean;
13
+ set showValue(v: BooleanInput);
14
+ private _striped;
15
+ get striped(): boolean;
16
+ set striped(v: BooleanInput);
17
+ private _animated;
18
+ get animated(): boolean;
19
+ set animated(v: BooleanInput);
20
+ private _label;
21
+ get label(): string | null | undefined;
22
+ set label(v: string | null | undefined);
23
+ private _height;
24
+ get height(): NumberInput;
25
+ set height(v: NumberInput);
26
+ type: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'body' | 'white' | 'transparent' | null | undefined;
27
+ 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
+ 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>;
32
+ }
@@ -1,3 +1,4 @@
1
1
  export declare class Convert {
2
2
  static toBoolean(value: any): boolean;
3
+ static toNumber(value: any): number;
3
4
  }
@@ -1,3 +1,3 @@
1
1
  export declare class MathHelper {
2
- round(value: number, decimals?: number): number;
2
+ static round(value: number, decimals?: number): number;
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zek",
3
- "version": "14.2.48",
3
+ "version": "14.2.49",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0"