chrv-components 1.11.21 → 1.11.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.
package/index.d.ts CHANGED
@@ -2,7 +2,6 @@ import * as _angular_core from '@angular/core';
2
2
  import { OnInit, AfterViewInit, OnDestroy, EventEmitter, ElementRef, AfterViewChecked, AfterContentChecked, ViewContainerRef, QueryList, AfterContentInit, Type, InjectionToken } from '@angular/core';
3
3
  import { Router, UrlTree } from '@angular/router';
4
4
  import { MatDialogRef, MatDialogConfig } from '@angular/material/dialog';
5
- export * from '@angular/material/dialog';
6
5
  import * as _angular_forms from '@angular/forms';
7
6
  import { AbstractControl, ValidationErrors, ValidatorFn, AsyncValidatorFn, FormControl, FormGroup, ControlValueAccessor, NgControl, Validator } from '@angular/forms';
8
7
  import * as rxjs from 'rxjs';
@@ -959,33 +958,6 @@ declare class ChrSeparatorComponent {
959
958
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrSeparatorComponent, "app-chr-separator", never, {}, {}, never, never, true, never>;
960
959
  }
961
960
 
962
- declare class DecimalValidatorDirective implements Validator {
963
- readonly amount: _angular_core.InputSignal<number | undefined>;
964
- validate(control: AbstractControl): ValidationErrors | null;
965
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DecimalValidatorDirective, never>;
966
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DecimalValidatorDirective, "[app-decimal]", never, { "amount": { "alias": "amount"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
967
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<DecimalValidatorDirective>;
968
- }
969
- declare function decimal(amount: number): ValidatorFn;
970
-
971
- declare class MaxDateValidatorDirective implements Validator {
972
- readonly date: _angular_core.InputSignal<Date | undefined>;
973
- validate(control: AbstractControl): ValidationErrors | null;
974
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaxDateValidatorDirective, never>;
975
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MaxDateValidatorDirective, "[app-max-date]", never, { "date": { "alias": "date"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
976
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<MaxDateValidatorDirective>;
977
- }
978
- declare function maxDate(date: Date): ValidatorFn;
979
-
980
- declare class TypeValidatorDirective implements Validator {
981
- readonly type: _angular_core.InputSignal<string | undefined>;
982
- validate(control: AbstractControl): ValidationErrors | null;
983
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<TypeValidatorDirective, never>;
984
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TypeValidatorDirective, "[app-type]", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
985
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<TypeValidatorDirective>;
986
- }
987
- declare function type(type: string): ValidatorFn;
988
-
989
961
  interface ILiveUpdateMessage {
990
962
  status: LiveUpdateStatus;
991
963
  message?: string | null;
@@ -1312,15 +1284,6 @@ declare const inOutAnimation: (duration?: number) => _angular_animations.Animati
1312
1284
 
1313
1285
  declare const rotationAnimation: (initialAngle?: number, endAngle?: number, duration?: number) => _angular_animations.AnimationTriggerMetadata;
1314
1286
 
1315
- declare class DialogService {
1316
- private dialog;
1317
- openDelete: (callback?: Function, ...elements: Parameters<any>) => void;
1318
- openDefault: (config?: IDefaultDialogConfig) => void;
1319
- open: (component: any, options?: MatDialogConfig<any>) => MatDialogRef<any, any>;
1320
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DialogService, never>;
1321
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<DialogService>;
1322
- }
1323
-
1324
1287
  interface ModalOptions {
1325
1288
  closeOnBackdropClick?: boolean;
1326
1289
  closeOnEscape?: boolean;
@@ -1407,6 +1370,78 @@ declare class FileService {
1407
1370
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<FileService>;
1408
1371
  }
1409
1372
 
1373
+ declare class DecimalValidatorDirective implements Validator {
1374
+ readonly amount: _angular_core.InputSignal<number | undefined>;
1375
+ validate(control: AbstractControl): ValidationErrors | null;
1376
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DecimalValidatorDirective, never>;
1377
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DecimalValidatorDirective, "[app-decimal]", never, { "amount": { "alias": "amount"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1378
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<DecimalValidatorDirective>;
1379
+ }
1380
+ declare function decimal(amount: number): ValidatorFn;
1381
+
1382
+ declare class MaxDateValidatorDirective implements Validator {
1383
+ readonly date: _angular_core.InputSignal<Date | undefined>;
1384
+ validate(control: AbstractControl): ValidationErrors | null;
1385
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaxDateValidatorDirective, never>;
1386
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MaxDateValidatorDirective, "[app-max-date]", never, { "date": { "alias": "date"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1387
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<MaxDateValidatorDirective>;
1388
+ }
1389
+ declare function maxDate(date: Date): ValidatorFn;
1390
+
1391
+ declare class MaxFileSizeValidator implements Validator {
1392
+ readonly max: _angular_core.InputSignal<number>;
1393
+ validate(control: AbstractControl): ValidationErrors | null;
1394
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaxFileSizeValidator, never>;
1395
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MaxFileSizeValidator, "[app-max-file-size]", never, { "max": { "alias": "max"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1396
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<MaxFileSizeValidator>;
1397
+ }
1398
+ declare function maxFileSize(maxSize: number): ValidatorFn;
1399
+
1400
+ declare class MaxLengthValidatorDirective implements Validator {
1401
+ readonly treshold: _angular_core.InputSignal<number | undefined>;
1402
+ validate(control: AbstractControl): ValidationErrors | null;
1403
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaxLengthValidatorDirective, never>;
1404
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MaxLengthValidatorDirective, "[app-maxlength]", never, { "treshold": { "alias": "treshold"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1405
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<MaxLengthValidatorDirective>;
1406
+ }
1407
+ declare function maxLength(treshold: number): ValidatorFn;
1408
+
1409
+ declare class MinFileSizeValidator implements Validator {
1410
+ readonly min: _angular_core.InputSignal<number>;
1411
+ validate(control: AbstractControl): ValidationErrors | null;
1412
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MinFileSizeValidator, never>;
1413
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MinFileSizeValidator, "[app-min-file-size]", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1414
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<MinFileSizeValidator>;
1415
+ }
1416
+ declare function minFileSize(minSize: number): ValidatorFn;
1417
+
1418
+ declare class MinLengthValidatorDirective implements Validator {
1419
+ readonly treshold: _angular_core.InputSignal<number | undefined>;
1420
+ validate(control: AbstractControl): ValidationErrors | null;
1421
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MinLengthValidatorDirective, never>;
1422
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MinLengthValidatorDirective, "[app-minlength]", never, { "treshold": { "alias": "treshold"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1423
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<MinLengthValidatorDirective>;
1424
+ }
1425
+ declare function minLength(treshold: number): ValidatorFn;
1426
+
1427
+ declare class RequiredValidatorDirective implements Validator {
1428
+ readonly required: _angular_core.InputSignal<boolean | undefined>;
1429
+ validate(control: AbstractControl): ValidationErrors | null;
1430
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<RequiredValidatorDirective, never>;
1431
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RequiredValidatorDirective, "[app-required]", never, { "required": { "alias": "required"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1432
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<RequiredValidatorDirective>;
1433
+ }
1434
+ declare function required(required?: boolean): ValidatorFn;
1435
+
1436
+ declare class TypeValidatorDirective implements Validator {
1437
+ readonly type: _angular_core.InputSignal<string | undefined>;
1438
+ validate(control: AbstractControl): ValidationErrors | null;
1439
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TypeValidatorDirective, never>;
1440
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TypeValidatorDirective, "[app-type]", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1441
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<TypeValidatorDirective>;
1442
+ }
1443
+ declare function type(type: string): ValidatorFn;
1444
+
1410
1445
  declare const SpinnerInterceptor: HttpInterceptorFn;
1411
1446
 
1412
1447
  declare const XsrfInterceptor: HttpInterceptorFn;
@@ -1424,5 +1459,5 @@ declare const XSRFHEADERNAME: InjectionToken<string>;
1424
1459
  declare const XSRFCOOKIENAME: InjectionToken<string>;
1425
1460
  declare const HUBURL: InjectionToken<string>;
1426
1461
 
1427
- export { Aligments, AutofocusDirective, BreadcrumbComponent, ButtonComponent, CHR_MODAL_DATA, CHR_MODAL_REF, CarouselComponent, ChrBaseInputComponent, ChrButtonComponent, ChrCheckboxComponent, ChrColorInputComponent, ChrDataTable, ChrDateInputComponent, ChrDatetimeInputComponent, ChrDefaultModalComponent, ChrDeleteModalComponent, ChrFileInputComponent, ChrFormComponent, ChrModalComponent, ChrNiceFileInputComponent, ChrPaginatorComponent, ChrSearchSelectComponent, ChrSearchbarComponent, ChrSeparatorComponent, ChrSpinnerComponent, ChrTableComponent, ChrTableHeaderCellComponent, ChrTagSelectComponent, ChrTextareaInputComponent, ChrToastComponent, ChrToggleInputComponent, Colors, CookiesService, DEFAULTLIVEUPDATEMESSAGE, DataService, DecimalValidatorDirective, DefaultLiveUpdateMessage, DialogService, FileService, HUBURL, InlineSvgComponent, LiveUpdateService, LiveUpdateStatus, LoaderService, MaxDateValidatorDirective, ModalService, SpinnerInterceptor, SyncValidatorToAsync, TabComponent, TabGroupComponent, TabToEnterHandlerDirective, TabToInputHandlerDirective, ToastService, TypeValidatorDirective, WaitAndStoreXsrfToken, XSRFCOOKIENAME, XSRFHEADERNAME, XsrfInterceptor, decimal, getAsyncValidators, getBackgroundColor, getBorderColor, getContrastBackgroundColor, getContrastBorderColor, getContrastTextColor, getSyncValidators, getTextColor, getValidators, inOutAnimation, maxDate, provideXsrfHttpClient, rotationAnimation, type };
1428
- export type { Alignment, Breadcrumb, Color, IAction, IChip, IChips, IColumn, IComputedColumn, IComputedRow, IControlValidation, IDefaultDialogConfig, IFormSection, IInputSearchFilter, ILiveUpdateMessage, IXsrfProviderParams, ModalData, ModalOptions, ModalRef, TColumn, TColumnType, Toast };
1462
+ export { Aligments, AutofocusDirective, BreadcrumbComponent, ButtonComponent, CHR_MODAL_DATA, CHR_MODAL_REF, CarouselComponent, ChrBaseInputComponent, ChrButtonComponent, ChrCheckboxComponent, ChrColorInputComponent, ChrDataTable, ChrDateInputComponent, ChrDatetimeInputComponent, ChrDefaultModalComponent, ChrDeleteModalComponent, ChrFileInputComponent, ChrFormComponent, ChrModalComponent, ChrNiceFileInputComponent, ChrPaginatorComponent, ChrSearchSelectComponent, ChrSearchbarComponent, ChrSeparatorComponent, ChrSpinnerComponent, ChrTableComponent, ChrTableHeaderCellComponent, ChrTagSelectComponent, ChrTextareaInputComponent, ChrToastComponent, ChrToggleInputComponent, Colors, CookiesService, DEFAULTLIVEUPDATEMESSAGE, DataService, DecimalValidatorDirective, DefaultLiveUpdateMessage, FileService, HUBURL, InlineSvgComponent, LiveUpdateService, LiveUpdateStatus, LoaderService, MaxDateValidatorDirective, MaxFileSizeValidator, MaxLengthValidatorDirective, MinFileSizeValidator, MinLengthValidatorDirective, ModalService, RequiredValidatorDirective, SpinnerInterceptor, SyncValidatorToAsync, TabComponent, TabGroupComponent, TabToEnterHandlerDirective, TabToInputHandlerDirective, ToastService, TypeValidatorDirective, WaitAndStoreXsrfToken, XSRFCOOKIENAME, XSRFHEADERNAME, XsrfInterceptor, decimal, getAsyncValidators, getBackgroundColor, getBorderColor, getContrastBackgroundColor, getContrastBorderColor, getContrastTextColor, getSyncValidators, getTextColor, getValidators, inOutAnimation, maxDate, maxFileSize, maxLength, minFileSize, minLength, provideXsrfHttpClient, required, rotationAnimation, type };
1463
+ export type { Alignment, Breadcrumb, Color, IAction, IChip, IChips, IColumn, IComputedColumn, IComputedRow, IControl, IControlValidation, IDefaultDialogConfig, IFile, IFormSection, IInputSearchFilter, ILiveUpdateMessage, ISearchFilter, IXsrfProviderParams, InputType, ModalData, ModalOptions, ModalRef, TColumn, TColumnType, Toast };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chrv-components",
3
- "version": "1.11.21",
3
+ "version": "1.11.22",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0",
Binary file