zek 14.2.55 → 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;
@@ -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.55",
3
+ "version": "14.2.57",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0"