@cauca-911/material 20.2.0 → 20.2.2
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/fesm2022/cauca-911-material.mjs +549 -31
- package/fesm2022/cauca-911-material.mjs.map +1 -1
- package/index.d.ts +121 -3
- package/package.json +5 -3
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, EventEmitter, InputSignal, OutputEmitterRef, Signal, WritableSignal, OnDestroy, DoCheck, ElementRef, TemplateRef, AfterContentInit, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { OnInit, EventEmitter, InputSignal, OutputEmitterRef, Signal, WritableSignal, OnDestroy, DoCheck, ElementRef, TemplateRef, ModelSignal, AfterContentInit, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import * as i4 from '@angular/forms';
|
|
4
4
|
import { ControlValueAccessor, AbstractControl, ValidatorFn, UntypedFormGroup, UntypedFormBuilder, FormControl, FormGroup, NgControl, NgForm, FormGroupDirective, FormControlDirective, FormControlName, UntypedFormControl } from '@angular/forms';
|
|
5
5
|
import { SubscriptSizing, MatFormFieldControl } from '@angular/material/form-field';
|
|
@@ -9,6 +9,7 @@ import * as rxjs from 'rxjs';
|
|
|
9
9
|
import { Observable, Subject } from 'rxjs';
|
|
10
10
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
11
11
|
import { MatAutocomplete, MatAutocompleteTrigger, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
12
|
+
import { MatSelect } from '@angular/material/select';
|
|
12
13
|
import * as i3 from '@angular/common';
|
|
13
14
|
import { Configuration } from '@cauca-911/core';
|
|
14
15
|
|
|
@@ -435,6 +436,74 @@ declare class DropdownChipAutocompleteComponent implements ControlValueAccessor,
|
|
|
435
436
|
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownChipAutocompleteComponent, "cauca-dropdown-chip-autocomplete", never, { "listAutoComplete": { "alias": "listAutoComplete"; "required": false; }; "keyValue": { "alias": "keyValue"; "required": false; }; "displayValue": { "alias": "displayValue"; "required": false; }; "allowRemove": { "alias": "allowRemove"; "required": false; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; }; "canRemoveAll": { "alias": "canRemoveAll"; "required": false; "isSignal": true; }; "hasOptionTemplate": { "alias": "hasOptionTemplate"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "clearAll": "clearAll"; }, ["optionTemplate"], never, true, never>;
|
|
436
437
|
}
|
|
437
438
|
|
|
439
|
+
declare class ColorPickerComponent implements ControlValueAccessor, MatFormFieldControl<string>, OnDestroy {
|
|
440
|
+
private elementRef;
|
|
441
|
+
ngControl: NgControl;
|
|
442
|
+
stateChanges: Subject<void>;
|
|
443
|
+
static nextId: number;
|
|
444
|
+
id: string;
|
|
445
|
+
placeholder: string;
|
|
446
|
+
focused: boolean;
|
|
447
|
+
touched: boolean;
|
|
448
|
+
required: boolean;
|
|
449
|
+
disabled: boolean;
|
|
450
|
+
errorState: boolean;
|
|
451
|
+
controlType?: string;
|
|
452
|
+
autofilled?: boolean;
|
|
453
|
+
userAriaDescribedBy?: string;
|
|
454
|
+
valueChanged: EventEmitter<string>;
|
|
455
|
+
private _value;
|
|
456
|
+
get shouldLabelFloat(): boolean;
|
|
457
|
+
get empty(): boolean;
|
|
458
|
+
get value(): string | null;
|
|
459
|
+
set value(newValue: string | null);
|
|
460
|
+
constructor(elementRef: ElementRef<HTMLElement>, ngControl: NgControl);
|
|
461
|
+
onFocusIn(_: FocusEvent): void;
|
|
462
|
+
onFocusOut(event: FocusEvent): void;
|
|
463
|
+
ngOnDestroy(): void;
|
|
464
|
+
setDescribedByIds(_: string[]): void;
|
|
465
|
+
onContainerClick(_: MouseEvent): void;
|
|
466
|
+
writeValue(value: string): void;
|
|
467
|
+
registerOnChange(fn: any): void;
|
|
468
|
+
registerOnTouched(fn: any): void;
|
|
469
|
+
onChange: (_: any) => void;
|
|
470
|
+
onTouched: () => void;
|
|
471
|
+
onChangeColor(color: string): void;
|
|
472
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerComponent, [null, { optional: true; self: true; }]>;
|
|
473
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerComponent, "cauca-color-picker", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
interface Option {
|
|
477
|
+
id: string | null;
|
|
478
|
+
name: string;
|
|
479
|
+
}
|
|
480
|
+
declare class SelectWithSearchComponent {
|
|
481
|
+
label: string;
|
|
482
|
+
selectFirstOptionByDefault: boolean;
|
|
483
|
+
optionFilterControl: FormControl<string>;
|
|
484
|
+
singleSelect: MatSelect;
|
|
485
|
+
isDisabled: i0.InputSignal<boolean>;
|
|
486
|
+
hasOptions: i0.WritableSignal<boolean>;
|
|
487
|
+
disableControl: i0.Signal<boolean>;
|
|
488
|
+
allowMultiSelection: i0.InputSignal<boolean>;
|
|
489
|
+
showClearOption: i0.InputSignal<boolean>;
|
|
490
|
+
enableSearch: i0.InputSignal<boolean>;
|
|
491
|
+
filteredOptions: i0.ResourceRef<Option[]>;
|
|
492
|
+
valueChanged: EventEmitter<any>;
|
|
493
|
+
private selectedOptionId;
|
|
494
|
+
private readonly allOptions;
|
|
495
|
+
private readonly filterText;
|
|
496
|
+
set options(newOptions: Option[]);
|
|
497
|
+
get options(): Option[];
|
|
498
|
+
set value(newValue: string | null);
|
|
499
|
+
get value(): string | null;
|
|
500
|
+
private setInitialSelectedOption;
|
|
501
|
+
private selectFirstOption;
|
|
502
|
+
private computeFilteredOptions;
|
|
503
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectWithSearchComponent, never>;
|
|
504
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectWithSearchComponent, "cauca-select-with-search", never, { "label": { "alias": "label"; "required": true; }; "selectFirstOptionByDefault": { "alias": "selectFirstOptionByDefault"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "allowMultiSelection": { "alias": "allowMultiSelection"; "required": false; "isSignal": true; }; "showClearOption": { "alias": "showClearOption"; "required": false; "isSignal": true; }; "enableSearch": { "alias": "enableSearch"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChanged": "valueChanged"; }, never, ["*"], true, never>;
|
|
505
|
+
}
|
|
506
|
+
|
|
438
507
|
declare class GroupContainerComponent {
|
|
439
508
|
caption: i0.InputSignal<string>;
|
|
440
509
|
static ɵfac: i0.ɵɵFactoryDeclaration<GroupContainerComponent, never>;
|
|
@@ -490,6 +559,55 @@ declare class PageTitleComponent {
|
|
|
490
559
|
static ɵcmp: i0.ɵɵComponentDeclaration<PageTitleComponent, "cauca-page-title", never, { "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "showBreadcrumb": { "alias": "showBreadcrumb"; "required": false; "isSignal": true; }; "location": { "alias": "location"; "required": false; "isSignal": true; }; "breadcrumb": { "alias": "breadcrumb"; "required": false; "isSignal": true; }; "baseCrumb": { "alias": "baseCrumb"; "required": false; "isSignal": true; }; "translateBreadcrumb": { "alias": "translateBreadcrumb"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
491
560
|
}
|
|
492
561
|
|
|
562
|
+
declare class ExpandablePanelComponent {
|
|
563
|
+
isCollapsed: ModelSignal<boolean>;
|
|
564
|
+
caption: InputSignal<string>;
|
|
565
|
+
subCaption: InputSignal<string>;
|
|
566
|
+
changeState(): void;
|
|
567
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandablePanelComponent, never>;
|
|
568
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandablePanelComponent, "cauca-expandable-panel", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "subCaption": { "alias": "subCaption"; "required": false; "isSignal": true; }; }, { "isCollapsed": "isCollapsedChange"; }, never, ["*"], true, never>;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
declare class MenuExpandablePanelComponent {
|
|
572
|
+
caption: InputSignal<string>;
|
|
573
|
+
isSubItem: InputSignal<boolean>;
|
|
574
|
+
subCaption: InputSignal<string>;
|
|
575
|
+
menuIcon: InputSignal<string>;
|
|
576
|
+
showExpansionIcon: InputSignal<boolean>;
|
|
577
|
+
addTopBorderRadius: InputSignal<boolean>;
|
|
578
|
+
bottomBorder: InputSignal<boolean>;
|
|
579
|
+
addBottomBorderRadius: InputSignal<boolean>;
|
|
580
|
+
route: InputSignal<string[]>;
|
|
581
|
+
items: InputSignal<{
|
|
582
|
+
icon: string;
|
|
583
|
+
title: string;
|
|
584
|
+
route?: string[];
|
|
585
|
+
action?: () => void;
|
|
586
|
+
}[]>;
|
|
587
|
+
opened: WritableSignal<boolean>;
|
|
588
|
+
private readonly router;
|
|
589
|
+
get topLeftRadius(): string;
|
|
590
|
+
get topRightRadius(): string;
|
|
591
|
+
get bottomLeftRadius(): string;
|
|
592
|
+
get bottomRightRadius(): string;
|
|
593
|
+
get bottomBorderClass(): boolean;
|
|
594
|
+
handleClick(): void;
|
|
595
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuExpandablePanelComponent, never>;
|
|
596
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuExpandablePanelComponent, "cauca-menu-expandable-panel", never, { "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "isSubItem": { "alias": "isSubItem"; "required": false; "isSignal": true; }; "subCaption": { "alias": "subCaption"; "required": false; "isSignal": true; }; "menuIcon": { "alias": "menuIcon"; "required": false; "isSignal": true; }; "showExpansionIcon": { "alias": "showExpansionIcon"; "required": false; "isSignal": true; }; "addTopBorderRadius": { "alias": "addTopBorderRadius"; "required": false; "isSignal": true; }; "bottomBorder": { "alias": "bottomBorder"; "required": false; "isSignal": true; }; "addBottomBorderRadius": { "alias": "addBottomBorderRadius"; "required": false; "isSignal": true; }; "route": { "alias": "route"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
declare class MenuExpandablePanelItemComponent {
|
|
600
|
+
icon: InputSignal<string>;
|
|
601
|
+
caption: InputSignal<string>;
|
|
602
|
+
route: InputSignal<string[]>;
|
|
603
|
+
isSubItem: InputSignal<boolean>;
|
|
604
|
+
action: InputSignal<() => void | null>;
|
|
605
|
+
private readonly router;
|
|
606
|
+
openRoute(): void;
|
|
607
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuExpandablePanelItemComponent, never>;
|
|
608
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuExpandablePanelItemComponent, "cauca-menu-expandable-panel-item", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "route": { "alias": "route"; "required": false; "isSignal": true; }; "isSubItem": { "alias": "isSubItem"; "required": false; "isSignal": true; }; "action": { "alias": "action"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
609
|
+
}
|
|
610
|
+
|
|
493
611
|
declare class SavingConfirmedBoxComponent {
|
|
494
612
|
show: i0.ModelSignal<boolean>;
|
|
495
613
|
static ɵfac: i0.ɵɵFactoryDeclaration<SavingConfirmedBoxComponent, never>;
|
|
@@ -658,5 +776,5 @@ declare class CaucaSlideshowComponent implements OnInit {
|
|
|
658
776
|
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>;
|
|
659
777
|
}
|
|
660
778
|
|
|
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 };
|
|
779
|
+
export { AutoTrimAndLowerDirective, BadgeComponent, BasicButtonComponent, 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 };
|
|
780
|
+
export type { ConfirmationOptions, DateRange, HasErrorContext, InputOptions, Option };
|
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cauca-911/material",
|
|
3
|
-
"version": "20.2.
|
|
3
|
+
"version": "20.2.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=20.2.1",
|
|
6
6
|
"@angular/core": ">=20.2.1",
|
|
7
|
-
"@angular/material": ">=20.2.
|
|
7
|
+
"@angular/material": ">=20.2.0",
|
|
8
8
|
"@fortawesome/angular-fontawesome": ">=2.0.0",
|
|
9
9
|
"@fortawesome/fontawesome-svg-core": ">=7.0.0",
|
|
10
|
-
"@cauca-911/core": ">=20.2.0"
|
|
10
|
+
"@cauca-911/core": ">=20.2.0",
|
|
11
|
+
"ngx-mat-select-search": ">=8.0.0",
|
|
12
|
+
"ngx-color-picker": ">=20.1.1"
|
|
11
13
|
},
|
|
12
14
|
"homepage": "https://cauca.ca",
|
|
13
15
|
"license": "SEE LICENSE IN LICENSE",
|