@cauca-911/material 20.2.3 → 20.2.5

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.
@@ -19,7 +19,7 @@ import { MatButtonModule, MatButton, MatIconButton } from '@angular/material/but
19
19
  import * as i1$3 from '@angular/common';
20
20
  import { CommonModule, DatePipe, NgClass } from '@angular/common';
21
21
  import * as i1$4 from '@angular/material/form-field';
22
- import { MatFormFieldModule, MatFormFieldControl } from '@angular/material/form-field';
22
+ import { MatFormFieldModule, MatFormFieldControl, MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
23
23
  import * as i1$7 from '@angular/forms';
24
24
  import { Validators, NgControl, FormControlName, ControlContainer, FormControl, NG_VALUE_ACCESSOR, ReactiveFormsModule, FormsModule, FormGroup, FormControlDirective, UntypedFormControl } from '@angular/forms';
25
25
  import * as i1$5 from '@angular/cdk/clipboard';
@@ -44,6 +44,7 @@ import { NgxMatSelectSearchModule } from 'ngx-mat-select-search';
44
44
  import * as i1$a from '@angular/router';
45
45
  import { RouterModule, Router, NavigationEnd } from '@angular/router';
46
46
  import { trigger, state, transition, style, AUTO_STYLE, animate } from '@angular/animations';
47
+ import { provideAnimations } from '@angular/platform-browser/animations';
47
48
  import { MatTabGroup, MatTab } from '@angular/material/tabs';
48
49
 
49
50
  class CaucaMaterialService {
@@ -1871,6 +1872,9 @@ class LoadingStateService {
1871
1872
  withLoadingIndicator(observable$) {
1872
1873
  return of(null).pipe(tap(() => this.startLoading()), mergeMap(() => observable$), catchError((error) => this.handleError(error)), finalize(() => this.hideLoading()));
1873
1874
  }
1875
+ setAsInError() {
1876
+ this.hasError.set(true);
1877
+ }
1874
1878
  startLoading() {
1875
1879
  this.hasError.set(false);
1876
1880
  this.showLoading();
@@ -3987,6 +3991,14 @@ class FormErrorModule {
3987
3991
  ReactiveFormsModule], exports: [HasErrorDirective,
3988
3992
  HasErrorRootDirective] }); })();
3989
3993
 
3994
+ function provideCaucaMaterial() {
3995
+ return [
3996
+ provideAnimations(),
3997
+ provideNativeDateAdapter(),
3998
+ { provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: { appearance: 'outline' } },
3999
+ ];
4000
+ }
4001
+
3990
4002
  function CaucaSimpleDialogComponent_div_4_button_1_Template(rf, ctx) { if (rf & 1) {
3991
4003
  const _r1 = i0.ɵɵgetCurrentView();
3992
4004
  i0.ɵɵelementStart(0, "button", 6);
@@ -4563,6 +4575,15 @@ class CaucaMenuSidebarComponent {
4563
4575
  }] }); })();
4564
4576
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaMenuSidebarComponent, { className: "CaucaMenuSidebarComponent", filePath: "lib/components/deprecated-components/cauca-menu-sidebar/cauca-menu-sidebar.component.ts", lineNumber: 15 }); })();
4565
4577
 
4578
+ class MenuItem {
4579
+ constructor(label, path, icon = '') {
4580
+ this.label = label;
4581
+ this.path = path;
4582
+ this.icon = icon;
4583
+ this.childs = [];
4584
+ }
4585
+ }
4586
+
4566
4587
  const _c0 = ["container"];
4567
4588
  function CaucaSlideshowComponent_div_2_Template(rf, ctx) { if (rf & 1) {
4568
4589
  i0.ɵɵelementStart(0, "div");
@@ -4699,15 +4720,6 @@ class CaucaSlideshowComponent {
4699
4720
  }] }); })();
4700
4721
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaSlideshowComponent, { className: "CaucaSlideshowComponent", filePath: "lib/components/deprecated-components/cauca-slideshow/cauca-slideshow.component.ts", lineNumber: 35 }); })();
4701
4722
 
4702
- class MenuItem {
4703
- constructor(label, path, icon = '') {
4704
- this.label = label;
4705
- this.path = path;
4706
- this.icon = icon;
4707
- this.childs = [];
4708
- }
4709
- }
4710
-
4711
4723
  /*
4712
4724
  * Public API Surface of cauca-material
4713
4725
  */
@@ -4716,5 +4728,5 @@ class MenuItem {
4716
4728
  * Generated bundle index. Do not edit.
4717
4729
  */
4718
4730
 
4719
- export { AutoTrimAndLowerDirective, BadgeComponent, BasicButtonComponent, BreadcrumbLocation, ButtonComponent, CaucaDateTimePickerComponent, CaucaInputFileComponent, CaucaInputMultipleLangueComponent, CaucaMaterialComponent, CaucaMaterialService, CaucaMenuSidebarComponent, CaucaMenuVerticalComponent, CaucaSimpleDialogComponent, CaucaSlideshowComponent, ColorPickerComponent, ConfirmationResult, DateRangePickerComponent, DialogService, DropdownChipAutocompleteComponent, ExpandablePanelComponent, FabButtonComponent, FlatButtonComponent, FormErrorModule, GroupContainerComponent, HasErrorDirective, HasErrorRootDirective, IconButtonComponent, IconComponent, LinkButtonComponent, ListPaginatorComponent, LoadingErrorComponent, LoadingSpinnerIndicatorComponent, LoadingStateService, MainSectionComponent, MenuExpandablePanelComponent, MenuExpandablePanelItemComponent, MenuItem, MenuItemComponent, PageTitleComponent, PasswordCriteriaViewerComponent, PasswordInputComponent, PasswordSelectionComponent, RaisedButtonComponent, RefreshButtonComponent, RoundButtonComponent, SavingConfirmedBoxComponent, SavingErrorBoxComponent, SectionColumnComponent, SectionFieldComponent, SelectWithSearchComponent, SnackBarComponent, StrokedButtonComponent };
4731
+ export { AutoTrimAndLowerDirective, BadgeComponent, BasicButtonComponent, BreadcrumbLocation, ButtonComponent, CaucaDateTimePickerComponent, CaucaInputFileComponent, CaucaInputMultipleLangueComponent, CaucaMaterialComponent, CaucaMaterialService, CaucaMenuSidebarComponent, CaucaMenuVerticalComponent, CaucaSimpleDialogComponent, CaucaSlideshowComponent, ColorPickerComponent, ConfirmationResult, DateRangePickerComponent, DialogService, DropdownChipAutocompleteComponent, ExpandablePanelComponent, FabButtonComponent, FlatButtonComponent, FormErrorModule, GroupContainerComponent, HasErrorDirective, HasErrorRootDirective, IconButtonComponent, IconComponent, LinkButtonComponent, ListPaginatorComponent, LoadingErrorComponent, LoadingSpinnerIndicatorComponent, LoadingStateService, MainSectionComponent, MenuExpandablePanelComponent, MenuExpandablePanelItemComponent, MenuItem, MenuItemComponent, PageTitleComponent, PasswordCriteriaViewerComponent, PasswordInputComponent, PasswordSelectionComponent, RaisedButtonComponent, RefreshButtonComponent, RoundButtonComponent, SavingConfirmedBoxComponent, SavingErrorBoxComponent, SectionColumnComponent, SectionFieldComponent, SelectWithSearchComponent, SnackBarComponent, StrokedButtonComponent, provideCaucaMaterial };
4720
4732
  //# sourceMappingURL=cauca-911-material.mjs.map