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.
Binary file
@@ -9,8 +9,7 @@ import * as i3 from '@angular/material/tooltip';
9
9
  import { MatTooltipModule, MatTooltip } from '@angular/material/tooltip';
10
10
  import * as i1 from '@angular/common';
11
11
  import { CommonModule, AsyncPipe, DatePipe, DATE_PIPE_DEFAULT_OPTIONS, isPlatformBrowser, NgClass } from '@angular/common';
12
- import { MatDialogRef, MatDialogTitle, MatDialogContent, MatDialogActions, MAT_DIALOG_DATA, MatDialog } from '@angular/material/dialog';
13
- export * from '@angular/material/dialog';
12
+ import { MatDialogRef, MatDialogTitle, MatDialogContent, MatDialogActions, MAT_DIALOG_DATA } from '@angular/material/dialog';
14
13
  import * as i1$1 from '@angular/forms';
15
14
  import { NG_VALIDATORS, Validators, FormControl, NgControl, ReactiveFormsModule, FormsModule, FormBuilder } from '@angular/forms';
16
15
  import * as i2$2 from '@angular/material/autocomplete';
@@ -3799,45 +3798,6 @@ const inOutAnimation = (duration = 500) => trigger('inOutAnimation', [
3799
3798
  ]),
3800
3799
  ]);
3801
3800
 
3802
- class DialogService {
3803
- constructor() {
3804
- this.dialog = inject(MatDialog);
3805
- this.openDelete = (callback, ...elements) => {
3806
- const dialogRef = this.open(ChrDeleteModalComponent);
3807
- dialogRef.afterClosed().subscribe((result) => {
3808
- if (result == true)
3809
- callback?.(...elements);
3810
- });
3811
- };
3812
- this.openDefault = (config) => {
3813
- const cfg = {
3814
- ...config?.config,
3815
- data: {
3816
- ...config?.config?.data,
3817
- _config: {
3818
- title: config?.title,
3819
- text: config?.text,
3820
- close: config?.close,
3821
- actions: config?.actions,
3822
- },
3823
- },
3824
- };
3825
- const dialogRef = this.open(ChrDefaultModalComponent, cfg);
3826
- };
3827
- this.open = (component, options) => {
3828
- return this.dialog.open(component, options);
3829
- };
3830
- }
3831
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: DialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3832
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: DialogService, providedIn: 'root' }); }
3833
- }
3834
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: DialogService, decorators: [{
3835
- type: Injectable,
3836
- args: [{
3837
- providedIn: 'root',
3838
- }]
3839
- }] });
3840
-
3841
3801
  const CHR_MODAL_DATA = new InjectionToken('CHR_MODAL_DATA', {
3842
3802
  providedIn: 'root',
3843
3803
  factory: () => null,
@@ -3985,5 +3945,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
3985
3945
  * Generated bundle index. Do not edit.
3986
3946
  */
3987
3947
 
3988
- 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 };
3948
+ 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 };
3989
3949
  //# sourceMappingURL=chrv-components.mjs.map