@cauca-911/material 20.0.15 → 20.0.16

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
@@ -1,12 +1,15 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, EventEmitter, InputSignal, OutputEmitterRef, Signal, WritableSignal, OnDestroy, DoCheck, ElementRef, TemplateRef } from '@angular/core';
3
- import { ControlValueAccessor, AbstractControl, ValidatorFn, UntypedFormGroup, UntypedFormBuilder, FormControl, FormGroup, NgControl, NgForm, FormGroupDirective, UntypedFormControl } from '@angular/forms';
2
+ import { OnInit, EventEmitter, InputSignal, OutputEmitterRef, Signal, WritableSignal, OnDestroy, DoCheck, ElementRef, TemplateRef, AfterContentInit, ViewContainerRef } from '@angular/core';
3
+ import * as i4 from '@angular/forms';
4
+ import { ControlValueAccessor, AbstractControl, ValidatorFn, UntypedFormGroup, UntypedFormBuilder, FormControl, FormGroup, NgControl, NgForm, FormGroupDirective, FormControlDirective, FormControlName, UntypedFormControl } from '@angular/forms';
4
5
  import { SubscriptSizing, MatFormFieldControl } from '@angular/material/form-field';
5
6
  import { Clipboard } from '@angular/cdk/clipboard';
6
7
  import { ComponentType } from '@angular/cdk/portal';
8
+ import * as rxjs from 'rxjs';
7
9
  import { Observable, Subject } from 'rxjs';
8
10
  import { BooleanInput } from '@angular/cdk/coercion';
9
11
  import { MatAutocomplete, MatAutocompleteTrigger, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
12
+ import * as i3 from '@angular/common';
10
13
  import { Configuration } from '@cauca-911/core';
11
14
 
12
15
  declare class CaucaMaterialService {
@@ -501,6 +504,52 @@ declare class SavingErrorBoxComponent {
501
504
  static ɵcmp: i0.ɵɵComponentDeclaration<SavingErrorBoxComponent, "cauca-saving-error-box", never, { "show": { "alias": "show"; "required": false; "isSignal": true; }; "specificError": { "alias": "specificError"; "required": false; "isSignal": true; }; }, { "show": "showChange"; }, never, never, true, never>;
502
505
  }
503
506
 
507
+ declare class AutoTrimAndLowerDirective {
508
+ private readonly el;
509
+ constructor(el: ElementRef);
510
+ onBlur(_: KeyboardEvent): void;
511
+ private trimText;
512
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutoTrimAndLowerDirective, never>;
513
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AutoTrimAndLowerDirective, "[appAutoTrimAndLower]", never, {}, {}, never, never, true, never>;
514
+ }
515
+
516
+ declare class HasErrorRootDirective {
517
+ private readonly _formControl$;
518
+ set formControl(formControlDirective: FormControlDirective);
519
+ set formControlName(formControlName: FormControlName);
520
+ get formControl$(): rxjs.Observable<FormControl<any>>;
521
+ static ɵfac: i0.ɵɵFactoryDeclaration<HasErrorRootDirective, never>;
522
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HasErrorRootDirective, "mat-form-field", never, {}, {}, ["formControl", "formControlName"], never, false, never>;
523
+ }
524
+
525
+ interface HasErrorContext {
526
+ $implicit: any;
527
+ }
528
+ declare class HasErrorDirective implements AfterContentInit, OnDestroy {
529
+ private readonly hasErrorRoot;
530
+ private readonly templateRef;
531
+ private readonly vcr;
532
+ private readonly errorName$;
533
+ private readonly ctrl$;
534
+ private readonly status$;
535
+ private readonly error$;
536
+ private view?;
537
+ private subscription?;
538
+ set hasError(errorName: string);
539
+ constructor(hasErrorRoot: HasErrorRootDirective, templateRef: TemplateRef<HasErrorContext>, vcr: ViewContainerRef);
540
+ static ngTemplateContextGuard(_dir: HasErrorDirective, ctx: unknown): ctx is HasErrorContext;
541
+ ngAfterContentInit(): void;
542
+ ngOnDestroy(): void;
543
+ static ɵfac: i0.ɵɵFactoryDeclaration<HasErrorDirective, never>;
544
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HasErrorDirective, "[hasError]", never, { "hasError": { "alias": "hasError"; "required": false; }; }, {}, never, never, false, never>;
545
+ }
546
+
547
+ declare class FormErrorModule {
548
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormErrorModule, never>;
549
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormErrorModule, [typeof HasErrorDirective, typeof HasErrorRootDirective], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule], [typeof HasErrorDirective, typeof HasErrorRootDirective]>;
550
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormErrorModule>;
551
+ }
552
+
504
553
  declare class CaucaInputFileComponent implements OnInit {
505
554
  file: ElementRef;
506
555
  readend: EventEmitter<any>;
@@ -609,5 +658,5 @@ declare class CaucaSlideshowComponent implements OnInit {
609
658
  static ɵcmp: i0.ɵɵComponentDeclaration<CaucaSlideshowComponent, "cauca-slideshow", never, { "height": { "alias": "height"; "required": false; }; "autoPlay": { "alias": "autoPlay"; "required": false; }; "images": { "alias": "images"; "required": false; }; }, {}, never, never, true, never>;
610
659
  }
611
660
 
612
- export { BadgeComponent, BasicButtonComponent, ButtonComponent, CaucaDateTimePickerComponent, CaucaInputFileComponent, CaucaInputMultipleLangueComponent, CaucaMaterialComponent, CaucaMaterialService, CaucaMenuSidebarComponent, CaucaMenuVerticalComponent, CaucaSimpleDialogComponent, CaucaSlideshowComponent, ConfirmationResult, DateRangePickerComponent, DialogService, DropdownChipAutocompleteComponent, FabButtonComponent, FlatButtonComponent, GroupContainerComponent, IconButtonComponent, IconComponent, LinkButtonComponent, ListPaginatorComponent, LoadingErrorComponent, LoadingSpinnerIndicatorComponent, LoadingStateService, MainSectionComponent, MenuItem, MenuItemComponent, PageTitleComponent, PasswordCriteriaViewerComponent, PasswordInputComponent, PasswordSelectionComponent, RaisedButtonComponent, RefreshButtonComponent, RoundButtonComponent, SavingConfirmedBoxComponent, SavingErrorBoxComponent, SectionColumnComponent, SectionFieldComponent, SnackBarComponent, StrokedButtonComponent };
613
- export type { ConfirmationOptions, DateRange, InputOptions };
661
+ export { AutoTrimAndLowerDirective, BadgeComponent, BasicButtonComponent, ButtonComponent, CaucaDateTimePickerComponent, CaucaInputFileComponent, CaucaInputMultipleLangueComponent, CaucaMaterialComponent, CaucaMaterialService, CaucaMenuSidebarComponent, CaucaMenuVerticalComponent, CaucaSimpleDialogComponent, CaucaSlideshowComponent, ConfirmationResult, DateRangePickerComponent, DialogService, DropdownChipAutocompleteComponent, FabButtonComponent, FlatButtonComponent, FormErrorModule, GroupContainerComponent, HasErrorDirective, HasErrorRootDirective, IconButtonComponent, IconComponent, LinkButtonComponent, ListPaginatorComponent, LoadingErrorComponent, LoadingSpinnerIndicatorComponent, LoadingStateService, MainSectionComponent, MenuItem, MenuItemComponent, PageTitleComponent, PasswordCriteriaViewerComponent, PasswordInputComponent, PasswordSelectionComponent, RaisedButtonComponent, RefreshButtonComponent, RoundButtonComponent, SavingConfirmedBoxComponent, SavingErrorBoxComponent, SectionColumnComponent, SectionFieldComponent, SnackBarComponent, StrokedButtonComponent };
662
+ export type { ConfirmationOptions, DateRange, HasErrorContext, InputOptions };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cauca-911/material",
3
- "version": "20.0.15",
3
+ "version": "20.0.16",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.1.3",
6
6
  "@angular/core": ">=20.1.3",