zek 16.1.20 → 16.1.22

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.
@@ -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-success text-white" | "bg-danger text-white" | "bg-warning text-dark" | "bg-dark text-white" | "bg-secondary text-white" | "bg-info text-dark";
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";
20
20
  static cssIcon(type: ComponentType): string | null;
21
21
  static cssButton(type: ComponentType): string;
22
22
  static cssAlert(type?: AlertType | null): string;
@@ -17,7 +17,8 @@ export declare class DateHelper {
17
17
  static isWeekend(v: Date): boolean;
18
18
  static isSameDate(a: Date, b: Date): boolean;
19
19
  static getAge(value?: Date | string | null, now?: Date | null): number | null;
20
- static subtractDays(value: Date, date?: Date | null): number | null;
20
+ static subtractMonths(endDate: Date, starDate: Date): number;
21
+ static subtractDays(value: Date, date: Date): number | null;
21
22
  static subtractHours(value: Date, date?: Date | null): number | null;
22
23
  static subtractMinutes(value: Date, date?: Date | null): number | null;
23
24
  static ISO8601_DATE_REGEX: RegExp;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zek",
3
- "version": "16.1.20",
3
+ "version": "16.1.22",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0"