matcha-components 20.273.0 → 20.275.0
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/matcha-components.mjs +40 -51
- package/fesm2022/matcha-components.mjs.map +1 -1
- package/index.d.ts +11 -21
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2488,30 +2488,25 @@ declare class MatchaHighlightModule {
|
|
|
2488
2488
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaHighlightModule>;
|
|
2489
2489
|
}
|
|
2490
2490
|
|
|
2491
|
-
declare class MatchaChipComponent implements OnInit, AfterViewInit {
|
|
2491
|
+
declare class MatchaChipComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
2492
2492
|
_elementRef: ElementRef;
|
|
2493
2493
|
get hostClasses(): string;
|
|
2494
|
-
/** Cor do chip (primary, accent, warn) */
|
|
2495
2494
|
color: 'primary' | 'accent' | 'warn' | string;
|
|
2496
|
-
/** Se o chip está selecionado */
|
|
2497
|
-
get selected(): boolean;
|
|
2498
|
-
set selected(value: boolean);
|
|
2499
2495
|
private _selected;
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2496
|
+
get selected(): boolean;
|
|
2497
|
+
set selected(v: boolean | string);
|
|
2498
|
+
private _selectable;
|
|
2499
|
+
get selectable(): boolean;
|
|
2500
|
+
set selectable(v: boolean | string);
|
|
2501
|
+
private _removable;
|
|
2502
|
+
get removable(): boolean;
|
|
2503
|
+
set removable(v: boolean | string);
|
|
2507
2504
|
private _disabled;
|
|
2508
|
-
|
|
2505
|
+
get disabled(): boolean;
|
|
2506
|
+
set disabled(v: boolean | string);
|
|
2509
2507
|
value: any;
|
|
2510
|
-
/** Evento emitido quando o chip é selecionado */
|
|
2511
2508
|
selectedChange: EventEmitter<boolean>;
|
|
2512
|
-
/** Evento emitido quando o botão de remover é clicado */
|
|
2513
2509
|
removed: EventEmitter<MatchaChipComponent>;
|
|
2514
|
-
/** Evento emitido quando o chip é destruído */
|
|
2515
2510
|
destroyed: EventEmitter<MatchaChipComponent>;
|
|
2516
2511
|
_hasCustomRemoveIcon: boolean;
|
|
2517
2512
|
constructor(_elementRef: ElementRef);
|
|
@@ -2519,15 +2514,10 @@ declare class MatchaChipComponent implements OnInit, AfterViewInit {
|
|
|
2519
2514
|
ngAfterViewInit(): void;
|
|
2520
2515
|
private _setupChipRemoveDirective;
|
|
2521
2516
|
hasCustomRemoveIcon(): boolean;
|
|
2522
|
-
/** Manipula o clique no chip */
|
|
2523
2517
|
_handleClick(event: Event): void;
|
|
2524
|
-
/** Manipula o evento de teclado */
|
|
2525
2518
|
_handleKeydown(event: KeyboardEvent): void;
|
|
2526
|
-
/** Alterna o estado de seleção do chip */
|
|
2527
2519
|
toggleSelected(): void;
|
|
2528
|
-
/** Remove o chip */
|
|
2529
2520
|
remove(): void;
|
|
2530
|
-
/** Foco no elemento do chip */
|
|
2531
2521
|
focus(): void;
|
|
2532
2522
|
ngOnDestroy(): void;
|
|
2533
2523
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaChipComponent, never>;
|