zek 17.3.34 → 17.3.36

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.
Files changed (58) hide show
  1. package/esm2022/lib/components/base.component.mjs +1 -1
  2. package/esm2022/lib/components/core-ui.component.mjs +5 -5
  3. package/esm2022/lib/components/core.component.mjs +1 -1
  4. package/esm2022/lib/components/edit-base.component.mjs +17 -17
  5. package/esm2022/lib/components/list-base.component.mjs +18 -18
  6. package/esm2022/lib/modules/age/age.pipe.mjs +2 -2
  7. package/esm2022/lib/modules/alert/toast/toast.mjs +3 -3
  8. package/esm2022/lib/modules/bb/bb.component.mjs +2 -2
  9. package/esm2022/lib/modules/card/card/card.mjs +1 -1
  10. package/esm2022/lib/modules/datepicker/date-value-accessor.mjs +6 -6
  11. package/esm2022/lib/modules/file-viewer/file-viewer.mjs +2 -2
  12. package/esm2022/lib/modules/google-login-button/google-login-button.mjs +2 -2
  13. package/esm2022/lib/modules/google-login-button/loader.mjs +1 -1
  14. package/esm2022/lib/modules/modal/modal/modal.component.mjs +5 -5
  15. package/esm2022/lib/modules/numeric/numeric.directive.mjs +6 -6
  16. package/esm2022/lib/modules/pager/pager/pager.mjs +1 -1
  17. package/esm2022/lib/modules/progress/progress.mjs +3 -3
  18. package/esm2022/lib/modules/radio/radio.mjs +2 -2
  19. package/esm2022/lib/modules/recaptcha/loader.mjs +3 -3
  20. package/esm2022/lib/modules/select/select.mjs +5 -5
  21. package/esm2022/lib/modules/select2/select2.mjs +2 -2
  22. package/esm2022/lib/modules/select2-multiple/select2-multiple.mjs +3 -3
  23. package/esm2022/lib/modules/validators/validator.mjs +4 -4
  24. package/esm2022/lib/modules/wizard/wizard/wizard.mjs +2 -2
  25. package/esm2022/lib/services/alert.service.mjs +2 -2
  26. package/esm2022/lib/services/auth-guard.service.mjs +17 -2
  27. package/esm2022/lib/services/auth.service.mjs +10 -10
  28. package/esm2022/lib/services/http-error-handler.service.mjs +3 -3
  29. package/esm2022/lib/services/web.api.mjs +2 -2
  30. package/esm2022/lib/utils/array-helper.mjs +8 -8
  31. package/esm2022/lib/utils/bootstrap.helper.mjs +1 -1
  32. package/esm2022/lib/utils/convert.mjs +2 -2
  33. package/esm2022/lib/utils/css-helper.mjs +6 -6
  34. package/esm2022/lib/utils/date-helper.mjs +32 -47
  35. package/esm2022/lib/utils/error-helper.mjs +3 -3
  36. package/esm2022/lib/utils/excel-helper.mjs +2 -2
  37. package/esm2022/lib/utils/file.helper.mjs +4 -4
  38. package/esm2022/lib/utils/filter-helper.mjs +2 -2
  39. package/esm2022/lib/utils/handler.mjs +5 -5
  40. package/esm2022/lib/utils/html-helper.mjs +4 -4
  41. package/esm2022/lib/utils/jwt-helper.mjs +4 -4
  42. package/esm2022/lib/utils/math-helper.mjs +1 -3
  43. package/esm2022/lib/utils/object-helper.mjs +3 -5
  44. package/esm2022/lib/utils/overlap-helper.mjs +4 -4
  45. package/esm2022/lib/utils/storage-helper.mjs +3 -3
  46. package/esm2022/lib/utils/string-helper.mjs +6 -5
  47. package/esm2022/lib/utils/thenBy.mjs +9 -9
  48. package/esm2022/lib/utils/time-helper.mjs +12 -13
  49. package/esm2022/lib/utils/tmp-helper.mjs +2 -2
  50. package/esm2022/lib/utils/url-helper.mjs +6 -6
  51. package/fesm2022/zek.mjs +200 -206
  52. package/fesm2022/zek.mjs.map +1 -1
  53. package/lib/services/alert.service.d.ts +2 -2
  54. package/lib/services/auth-guard.service.d.ts +2 -1
  55. package/lib/utils/bootstrap.helper.d.ts +1 -1
  56. package/lib/utils/handler.d.ts +1 -1
  57. package/lib/utils/thenBy.d.ts +1 -1
  58. package/package.json +1 -1
@@ -18,8 +18,8 @@ export declare class AlertService {
18
18
  private toastSubject;
19
19
  private keepAfterRouteChange;
20
20
  constructor(router: Router);
21
- add(alertType: AlertType, message: String, keepAfterRouteChange?: boolean): void;
22
- addRange(alertType: AlertType, messages: String[], keepAfterRouteChange?: boolean): void;
21
+ add(alertType: AlertType, message: string, keepAfterRouteChange?: boolean): void;
22
+ addRange(alertType: AlertType, messages: string[], keepAfterRouteChange?: boolean): void;
23
23
  clear(): void;
24
24
  getAlert(): import("rxjs").Observable<any>;
25
25
  getToast(): import("rxjs").Observable<any>;
@@ -1,7 +1,8 @@
1
- import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';
1
+ import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router, CanActivateFn } from '@angular/router';
2
2
  import { Observable } from 'rxjs';
3
3
  import { AuthService } from './auth.service';
4
4
  import * as i0 from "@angular/core";
5
+ export declare const canActivate: CanActivateFn;
5
6
  export declare class AuthGuardService implements CanActivate {
6
7
  protected readonly authService: AuthService;
7
8
  protected readonly router: Router;
@@ -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;
@@ -1,4 +1,4 @@
1
- export declare var handler: {
1
+ export declare const handler: {
2
2
  addListener: (element: HTMLElement | Window, event: string, handler: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => number;
3
3
  removeListener: (id: number) => void;
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare var firstBy: {
1
+ export declare const firstBy: {
2
2
  (this: any, func: any, opt: any): any;
3
3
  firstBy: any;
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zek",
3
- "version": "17.3.34",
3
+ "version": "17.3.36",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0"