zek 14.2.54 → 14.2.57

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.
@@ -10,10 +10,10 @@ export declare class BaseComponent<TModel = any> extends CoreComponent {
10
10
  private _readOnly;
11
11
  get readOnly(): BooleanInput;
12
12
  set readOnly(v: BooleanInput);
13
- protected readonly url: string;
13
+ private _url;
14
+ protected get url(): string;
14
15
  model?: TModel | null;
15
16
  protected getParam(name: string): string | null;
16
- protected getAction(): string;
17
17
  protected navigateReturnUrl(): void;
18
18
  cancel(): void;
19
19
  downloadFile(blob: Blob | null, fileName: string, type: string): void;
@@ -1,2 +1,3 @@
1
1
  export declare type BooleanInput = string | boolean | null | undefined;
2
2
  export declare type NumberInput = string | number | null | undefined;
3
+ export declare type DateInput = string | Date | null | undefined;
@@ -8,6 +8,10 @@ export declare class ZekProgress {
8
8
  get showValue(): boolean;
9
9
  set showValue(v: BooleanInput);
10
10
  private _showValue;
11
+ get showTitle(): boolean;
12
+ set showTitle(v: BooleanInput);
13
+ private _showTitle;
14
+ get _title(): string | null;
11
15
  get striped(): boolean;
12
16
  set striped(v: BooleanInput);
13
17
  private _striped;
@@ -24,6 +28,6 @@ export declare class ZekProgress {
24
28
  set background(v: Background);
25
29
  private _background;
26
30
  static ɵfac: i0.ɵɵFactoryDeclaration<ZekProgress, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<ZekProgress, "zek-progress", never, { "value": "value"; "showValue": "showValue"; "striped": "striped"; "animated": "animated"; "label": "label"; "height": "height"; "background": "background"; }, {}, never, ["*"], false>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<ZekProgress, "zek-progress", never, { "value": "value"; "showValue": "showValue"; "showTitle": "showTitle"; "striped": "striped"; "animated": "animated"; "label": "label"; "height": "height"; "background": "background"; }, {}, never, ["*"], false>;
28
32
  }
29
33
  export {};
@@ -7,6 +7,7 @@ export declare class DateHelper {
7
7
  static addTime(value: Date, time: string | undefined | null): Date;
8
8
  static addYears(v: Date, years: number): Date;
9
9
  static addDays(v: Date, days: number): Date;
10
+ static addHours(v: Date, hours: number): Date;
10
11
  static addMinutes(v: Date, minutes: number): Date;
11
12
  static addSeconds(v: Date, seconds: number): Date;
12
13
  static isToday(date: Date): boolean;
@@ -16,6 +17,7 @@ export declare class DateHelper {
16
17
  static isSameDate(a: Date, b: Date): boolean;
17
18
  static getAge(value?: Date | string | null, now?: Date | null): number | null;
18
19
  static subtractDays(value: Date, date?: Date | null): number | null;
20
+ static subtractHours(value: Date, date?: Date | null): number | null;
19
21
  static subtractMinutes(value: Date, date?: Date | null): number | null;
20
22
  static ISO8601_DATE_REGEX: RegExp;
21
23
  static parseDate(value: any): Date | null;
@@ -18,3 +18,4 @@ export * from './storage-helper';
18
18
  export * from './string-helper';
19
19
  export * from './thenBy';
20
20
  export * from './time-helper';
21
+ export * from './url-helper';
@@ -0,0 +1,4 @@
1
+ export declare class UrlHelper {
2
+ static getController(url: string): string;
3
+ static getAction(url: string): string;
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zek",
3
- "version": "14.2.54",
3
+ "version": "14.2.57",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0"