chrv-components 1.10.78 → 1.11.1

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 (68) hide show
  1. package/chrv-components-1.11.1.tgz +0 -0
  2. package/fesm2022/chrv-components.mjs +1196 -1028
  3. package/fesm2022/chrv-components.mjs.map +1 -1
  4. package/index.d.ts +1417 -3
  5. package/package.json +10 -11
  6. package/src/lib/styles/_colors-classes.css +111 -0
  7. package/src/lib/styles/_colors-selectors.css +79 -0
  8. package/src/lib/styles/colors.css +2 -0
  9. package/src/lib/styles/corners.css +251 -0
  10. package/src/lib/styles/h.css +17 -0
  11. package/src/lib/styles/hollow-font.css +35 -0
  12. package/src/lib/styles/links.css +41 -0
  13. package/src/lib/styles/trapeze.css +57 -0
  14. package/chrv-components-1.10.78.tgz +0 -0
  15. package/lib/animations/in-out.animation.d.ts +0 -1
  16. package/lib/animations/rotation.animation.d.ts +0 -1
  17. package/lib/chr-breadcrumb/chr-breadcrumb.component.d.ts +0 -15
  18. package/lib/chr-button/chr-button.component.d.ts +0 -27
  19. package/lib/chr-checkbox/chr-checkbox.component.d.ts +0 -13
  20. package/lib/chr-default-modal/chr-default-modal.component.d.ts +0 -36
  21. package/lib/chr-delete-modal/chr-delete-modal.component.d.ts +0 -12
  22. package/lib/chr-form/chr-base-input/chr-base-input.component.d.ts +0 -177
  23. package/lib/chr-form/chr-color-input/chr-color-input.component.d.ts +0 -10
  24. package/lib/chr-form/chr-date-input/chr-date-input.component.d.ts +0 -16
  25. package/lib/chr-form/chr-datetime-input/chr-datetime-input.component.d.ts +0 -16
  26. package/lib/chr-form/chr-file-input/chr-file-input.component.d.ts +0 -43
  27. package/lib/chr-form/chr-form.component.d.ts +0 -137
  28. package/lib/chr-form/chr-nice-file-input/chr-nice-file-input.component.d.ts +0 -8
  29. package/lib/chr-form/chr-textarea-input/chr-textarea-input.component.d.ts +0 -15
  30. package/lib/chr-form/chr-toggle-input/chr-toggle-input.component.d.ts +0 -10
  31. package/lib/chr-paginator/chr-paginator.component.d.ts +0 -42
  32. package/lib/chr-search-select/chr-search-select.component.d.ts +0 -71
  33. package/lib/chr-searchbar/chr-searchbar.component.d.ts +0 -14
  34. package/lib/chr-separator/chr-separator.component.d.ts +0 -5
  35. package/lib/chr-spinner/chr-spinner.component.d.ts +0 -16
  36. package/lib/chr-table/chr-table.component.d.ts +0 -94
  37. package/lib/chr-table-header-cell/chr-table-header-cell.component.d.ts +0 -19
  38. package/lib/chr-table-new/chr-table-new.component.d.ts +0 -147
  39. package/lib/chr-tag-select/chr-tag-select.component.d.ts +0 -66
  40. package/lib/chr-toast/chr-toast.component.d.ts +0 -9
  41. package/lib/config/interceptors/SpinnerInterceptor.d.ts +0 -2
  42. package/lib/config/interceptors/XsrfInterceptor.d.ts +0 -5
  43. package/lib/config/ngx-mask.config.d.ts +0 -49
  44. package/lib/config/providers/xsrf-provider.d.ts +0 -13
  45. package/lib/directives/autofocus.directive.d.ts +0 -10
  46. package/lib/directives/tab-input-only-handler.directive.d.ts +0 -9
  47. package/lib/directives/tab-to-enter-handler.directive.d.ts +0 -9
  48. package/lib/models/chr-validators/base-validator.d.ts +0 -12
  49. package/lib/models/chr-validators/decimal-validator.d.ts +0 -10
  50. package/lib/models/chr-validators/max-date-validator.d.ts +0 -10
  51. package/lib/models/chr-validators/max-file-size-validator.d.ts +0 -10
  52. package/lib/models/chr-validators/maxlength-validator.d.ts +0 -10
  53. package/lib/models/chr-validators/min-file-size-validator.d.ts +0 -10
  54. package/lib/models/chr-validators/minlength-validator.d.ts +0 -10
  55. package/lib/models/chr-validators/required-validator.d.ts +0 -10
  56. package/lib/models/chr-validators/type-validator.d.ts +0 -10
  57. package/lib/models/colors.d.ts +0 -10
  58. package/lib/models/controls.d.ts +0 -38
  59. package/lib/models/file.d.ts +0 -7
  60. package/lib/models/live-update-message.d.ts +0 -12
  61. package/lib/services/cookie.service.d.ts +0 -25
  62. package/lib/services/data.service.d.ts +0 -18
  63. package/lib/services/dialog.service.d.ts +0 -12
  64. package/lib/services/files.service.d.ts +0 -15
  65. package/lib/services/live-update.service.d.ts +0 -22
  66. package/lib/services/loader.service.d.ts +0 -16
  67. package/lib/services/toast.service.d.ts +0 -23
  68. package/public-api.d.ts +0 -49
@@ -1,25 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class CookiesService {
3
- constructor();
4
- /**
5
- * delete cookie
6
- * @param name
7
- */
8
- deleteCookie(name: string): void;
9
- /**
10
- * get cookie
11
- * @param {string} name
12
- * @returns {string}
13
- */
14
- getCookie(name: string): string;
15
- /**
16
- * set cookie
17
- * @param {string} name
18
- * @param {string} value
19
- * @param {number} expireDays
20
- * @param {string} path
21
- */
22
- setCookie(name: string, value: string, expireDays: number, path?: string): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<CookiesService, never>;
24
- static ɵprov: i0.ɵɵInjectableDeclaration<CookiesService>;
25
- }
@@ -1,18 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- export declare class DataService {
4
- private platformId;
5
- private data;
6
- private persistData;
7
- private syncData;
8
- constructor(platformId: Object);
9
- set: (key: string, value: any, persist?: boolean) => void;
10
- get: (key: string) => Observable<any>;
11
- getSync: (key: string) => any;
12
- clear: (key: string) => void;
13
- remove: (key: string) => boolean;
14
- private persist;
15
- private load;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<DataService, never>;
17
- static ɵprov: i0.ɵɵInjectableDeclaration<DataService>;
18
- }
@@ -1,12 +0,0 @@
1
- import { MatDialog, MatDialogConfig, MatDialogRef } from '@angular/material/dialog';
2
- import { IDefaultDialogConfig } from '../chr-default-modal/chr-default-modal.component';
3
- import * as i0 from "@angular/core";
4
- export declare class DialogService {
5
- private dialog;
6
- constructor(dialog: MatDialog);
7
- openDelete: (callback?: Function, ...elements: Parameters<any>) => void;
8
- openDefault: (config?: IDefaultDialogConfig) => void;
9
- open: (component: any, options?: MatDialogConfig<any>) => MatDialogRef<any, any>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
12
- }
@@ -1,15 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { IFile } from '../models/file';
3
- import * as i0 from "@angular/core";
4
- export declare class FileService {
5
- constructor();
6
- fileToBase64: (file: File) => Observable<IFile>;
7
- toBase64: (file: IFile) => Observable<IFile>;
8
- toBase64WithProgress: (file: IFile) => Observable<{
9
- progress: number;
10
- file?: IFile;
11
- }>;
12
- batchToBase64: (files: IFile[]) => Observable<IFile[]>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<FileService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<FileService>;
15
- }
@@ -1,22 +0,0 @@
1
- import { Observable } from "rxjs";
2
- import { ILiveUpdateMessage } from "../models/live-update-message";
3
- import { DataService } from "./data.service";
4
- import * as i0 from "@angular/core";
5
- export declare class LiveUpdateService {
6
- private dataService;
7
- private _hubUrl;
8
- private _connection;
9
- private _xsrf;
10
- private _xsrfHeader;
11
- private _message;
12
- private _update;
13
- constructor(hubUrl: string, xsrfHeader: string, dataService: DataService);
14
- initConnection: () => Observable<void>;
15
- onUpdate(): Observable<string>;
16
- closeConnection(): Observable<void>;
17
- getMessage(): Observable<ILiveUpdateMessage>;
18
- getHubUrl: () => string;
19
- private pushMessage;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<LiveUpdateService, [{ optional: true; }, { optional: true; }, null]>;
21
- static ɵprov: i0.ɵɵInjectableDeclaration<LiveUpdateService>;
22
- }
@@ -1,16 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class LoaderService {
3
- private is_loading;
4
- private is_loading$;
5
- private requestStatckSize;
6
- constructor();
7
- setLoading: (is: boolean) => void;
8
- isLoading: () => boolean;
9
- isLoadingAsync: () => import("rxjs").Observable<boolean>;
10
- getStackSize: () => number;
11
- incrementStackSize: () => number;
12
- decrementStackSize: () => number;
13
- setStackSize: (value: number) => number;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<LoaderService>;
16
- }
@@ -1,23 +0,0 @@
1
- import { Observable } from "rxjs";
2
- import * as i0 from "@angular/core";
3
- export interface Toast {
4
- type: "error" | "success" | "warning";
5
- message: string;
6
- duration?: number;
7
- }
8
- export declare class ToastService {
9
- private toastQueue;
10
- private currentToastSubject;
11
- currentToast$: Observable<Toast | null>;
12
- private toastCloseSubject;
13
- private default_duration;
14
- constructor();
15
- current: () => Observable<Toast | null>;
16
- next: () => void;
17
- setSuccess(message?: string, time?: number): void;
18
- setError(message: string, time?: number): void;
19
- setWarning(message: string, time?: number): void;
20
- private set;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
22
- static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
23
- }
package/public-api.d.ts DELETED
@@ -1,49 +0,0 @@
1
- export * from './lib/chr-breadcrumb/chr-breadcrumb.component';
2
- export * from './lib/chr-button/chr-button.component';
3
- export * from './lib/chr-delete-modal/chr-delete-modal.component';
4
- export * from './lib/chr-form/chr-form.component';
5
- export * from './lib/chr-form/chr-base-input/chr-base-input.component';
6
- export * from './lib/chr-form/chr-color-input/chr-color-input.component';
7
- export * from './lib/chr-form/chr-date-input/chr-date-input.component';
8
- export * from './lib/chr-form/chr-datetime-input/chr-datetime-input.component';
9
- export * from './lib/chr-form/chr-file-input/chr-file-input.component';
10
- export * from './lib/chr-form/chr-textarea-input/chr-textarea-input.component';
11
- export * from './lib/chr-form/chr-toggle-input/chr-toggle-input.component';
12
- export * from './lib/chr-search-select/chr-search-select.component';
13
- export * from './lib/chr-tag-select/chr-tag-select.component';
14
- export * from './lib/chr-table-new/chr-table-new.component';
15
- export * from './lib/chr-form/chr-nice-file-input/chr-nice-file-input.component';
16
- export * from './lib/chr-searchbar/chr-searchbar.component';
17
- export * from './lib/chr-paginator/chr-paginator.component';
18
- export * from './lib/chr-table/chr-table.component';
19
- export * from './lib/chr-table-header-cell/chr-table-header-cell.component';
20
- export * from './lib/chr-checkbox/chr-checkbox.component';
21
- export * from './lib/chr-separator/chr-separator.component';
22
- export * from './lib/models/chr-validators/decimal-validator';
23
- export * from './lib/models/chr-validators/max-date-validator';
24
- export * from './lib/models/chr-validators/type-validator';
25
- export * from './lib/chr-spinner/chr-spinner.component';
26
- export * from './lib/chr-toast/chr-toast.component';
27
- export * from './lib/chr-default-modal/chr-default-modal.component';
28
- export * from './lib/directives/tab-input-only-handler.directive';
29
- export * from './lib/directives/tab-to-enter-handler.directive';
30
- export * from './lib/directives/autofocus.directive';
31
- export * from './lib/animations/in-out.animation';
32
- export * from './lib/animations/rotation.animation';
33
- export * from './lib/services/dialog.service';
34
- export * from './lib/services/data.service';
35
- export * from './lib/services/live-update.service';
36
- export * from './lib/services/loader.service';
37
- export * from './lib/services/toast.service';
38
- export * from './lib/services/cookie.service';
39
- export * from './lib/services/files.service';
40
- export * from './lib/models/live-update-message';
41
- export * from './lib/config/interceptors/SpinnerInterceptor';
42
- export * from './lib/config/interceptors/XsrfInterceptor';
43
- export * from './lib/config/providers/xsrf-provider';
44
- export * from './lib/models/chr-validators/base-validator';
45
- export * from './lib/models/colors';
46
- export * from 'ngx-pagination';
47
- export * from 'chrv-pipes';
48
- export * from '@angular/material/dialog';
49
- export * from 'ngx-mask';