matcha-components 20.276.0 → 20.278.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/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
2
2
  import { OnInit, OnChanges, EventEmitter, SimpleChanges, AfterContentInit, OnDestroy, QueryList, ElementRef, Renderer2, InjectionToken, ChangeDetectorRef, AfterViewInit, PipeTransform, AfterViewChecked, TemplateRef, NgZone, ApplicationRef, Injector, RendererFactory2, Type, ComponentRef } from '@angular/core';
3
3
  import * as i2 from '@angular/common';
4
4
  import * as i3 from '@angular/forms';
5
- import { ControlValueAccessor, FormControlName, Validator, FormControl, ValidationErrors, NgControl, AbstractControl } from '@angular/forms';
5
+ import { ControlValueAccessor, FormControlName, Validator, FormControl, ValidationErrors, NgControl, FormGroup, AbstractControl } from '@angular/forms';
6
6
  import * as rxjs from 'rxjs';
7
7
  import { Observable, Subject } from 'rxjs';
8
8
  import { HttpClient } from '@angular/common/http';
@@ -267,6 +267,18 @@ interface MatchaOptionParent {
267
267
  * @param option - A instância do MatchaOptionComponent selecionado
268
268
  */
269
269
  selectOption(option: any): void;
270
+ /**
271
+ * Quando true, as opções renderizam em modo múltiplo (com matcha-checkbox).
272
+ * Lido pela matcha-option para decidir a renderização já no primeiro ciclo.
273
+ * Usado por matcha-select-multiple.
274
+ */
275
+ multiple?: boolean;
276
+ /**
277
+ * Retorna se um value está selecionado (modo múltiplo).
278
+ * Permite que a matcha-option reflita o estado "marcado" já no primeiro render,
279
+ * evitando depender de atualização imperativa posterior.
280
+ */
281
+ isSelected?(value: any): boolean;
270
282
  }
271
283
  /**
272
284
  * Token de injeção para MatchaOptionParent
@@ -278,6 +290,27 @@ declare class MatchaOptionComponent {
278
290
  private parent;
279
291
  private elRef;
280
292
  value: any;
293
+ /**
294
+ * Modo múltiplo: renderiza um matcha-checkbox (puramente visual) à esquerda
295
+ * do conteúdo. Quando não definido explicitamente, é derivado do componente
296
+ * pai (matcha-select-multiple) — assim o checkbox aparece já no primeiro
297
+ * render, mesmo quando as opções são reprojetadas de forma assíncrona.
298
+ */
299
+ private _multiple;
300
+ set multiple(value: boolean);
301
+ get multiple(): boolean;
302
+ /**
303
+ * Estado "marcado" exibido no checkbox em modo múltiplo. Derivado do pai
304
+ * (via isSelected) para refletir corretamente já no primeiro render; cai
305
+ * para `selected` quando o pai não expõe isSelected.
306
+ */
307
+ get checked(): boolean;
308
+ /**
309
+ * Destaque de navegação por teclado, independente de `selected`
310
+ * (que em modo múltiplo representa o estado "marcado/checado").
311
+ */
312
+ active: boolean;
313
+ get multipleClass(): boolean;
281
314
  private _disabled;
282
315
  get disabled(): boolean;
283
316
  set disabled(value: boolean | string);
@@ -293,7 +326,7 @@ declare class MatchaOptionComponent {
293
326
  get nativeElement(): HTMLElement;
294
327
  getTextContent(): string;
295
328
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaOptionComponent, [{ optional: true; }, null]>;
296
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaOptionComponent, "matcha-option", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "optionClick": "optionClick"; "optionSelect": "optionSelect"; }, never, ["*"], false, never>;
329
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaOptionComponent, "matcha-option", never, { "value": { "alias": "value"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "optionClick": "optionClick"; "optionSelect": "optionSelect"; }, never, ["*"], false, never>;
297
330
  }
298
331
 
299
332
  interface PanelPosition {
@@ -481,9 +514,68 @@ declare class MatchaAutocompleteTriggerDirective implements AfterViewInit, OnDes
481
514
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaAutocompleteTriggerDirective, "[matchaAutocomplete]", never, { "panel": { "alias": "matchaAutocomplete"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
482
515
  }
483
516
 
517
+ declare class MatchaCheckboxComponent implements ControlValueAccessor {
518
+ private cdr;
519
+ inputElement: ElementRef<HTMLInputElement>;
520
+ private _color;
521
+ get colorAttr(): string;
522
+ get color(): string;
523
+ set color(value: string);
524
+ private _indeterminate;
525
+ get indeterminate(): boolean;
526
+ set indeterminate(value: boolean);
527
+ private _disabled;
528
+ get disabledAttr(): string | null;
529
+ get disabled(): boolean;
530
+ set disabled(value: boolean | string);
531
+ private _checked;
532
+ get checked(): boolean;
533
+ set checked(value: boolean | string);
534
+ checkedChange: EventEmitter<{
535
+ checked: boolean;
536
+ }>;
537
+ change: EventEmitter<{
538
+ source: MatchaCheckboxComponent;
539
+ checked: boolean;
540
+ }>;
541
+ onChange: any;
542
+ onTouched: any;
543
+ writeValue(value: boolean): void;
544
+ registerOnChange(fn: any): void;
545
+ registerOnTouched(fn: any): void;
546
+ setDisabledState(isDisabled: boolean): void;
547
+ constructor(cdr: ChangeDetectorRef);
548
+ onInputChange(event: Event): void;
549
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaCheckboxComponent, never>;
550
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaCheckboxComponent, "matcha-checkbox", never, { "color": { "alias": "color"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "checkedChange": "checkedChange"; "change": "change"; }, never, ["*"], false, never>;
551
+ }
552
+
553
+ declare class MatchaRippleDirective implements OnDestroy {
554
+ private el;
555
+ rippleColor: string;
556
+ private ripples;
557
+ constructor(el: ElementRef);
558
+ onMouseDown(event: MouseEvent): void;
559
+ ngOnDestroy(): void;
560
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaRippleDirective, never>;
561
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaRippleDirective, "[matchaRipple]", never, { "rippleColor": { "alias": "rippleColor"; "required": false; }; }, {}, never, never, false, never>;
562
+ }
563
+
564
+ declare class MatchaRippleModule {
565
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaRippleModule, never>;
566
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaRippleModule, [typeof MatchaRippleDirective], [typeof i2.CommonModule], [typeof MatchaRippleDirective]>;
567
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaRippleModule>;
568
+ }
569
+
570
+ declare class MatchaCheckboxModule {
571
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaCheckboxModule, never>;
572
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaCheckboxModule, [typeof MatchaCheckboxComponent], [typeof i2.CommonModule, typeof MatchaRippleModule], [typeof MatchaCheckboxComponent]>;
573
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaCheckboxModule>;
574
+ }
575
+
484
576
  declare class MatchaOptionModule {
485
577
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaOptionModule, never>;
486
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaOptionModule, [typeof MatchaOptionComponent], [typeof i2.CommonModule], [typeof MatchaOptionComponent]>;
578
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaOptionModule, [typeof MatchaOptionComponent], [typeof i2.CommonModule, typeof MatchaCheckboxModule], [typeof MatchaOptionComponent]>;
487
579
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaOptionModule>;
488
580
  }
489
581
 
@@ -603,215 +695,114 @@ declare class MatchaSelectModule {
603
695
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaSelectModule>;
604
696
  }
605
697
 
606
- declare class MatchaButtonToggleComponent implements AfterContentInit {
607
- private elementRef;
608
- private _multiple;
609
- get multiple(): boolean | string;
610
- set multiple(v: boolean | string);
611
- private _disabled;
612
- get disabled(): boolean | string;
613
- set disabled(v: boolean | string);
614
- get isDisabled(): string | true | null;
615
- private _required;
616
- get required(): boolean | string;
617
- set required(v: boolean | string);
618
- inactiveColor: string;
619
- inactiveType: string;
620
- private _gap;
621
- set gap(v: string | number);
622
- get gapClass(): string;
623
- get gap(): number;
624
- buttons: QueryList<MatchaButtonComponent>;
625
- constructor(elementRef: ElementRef);
626
- ngAfterContentInit(): void;
627
- private setButtonState;
628
- private onButtonSelected;
629
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaButtonToggleComponent, never>;
630
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaButtonToggleComponent, "matcha-button-toggle", never, { "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "inactiveColor": { "alias": "inactiveColor"; "required": false; }; "inactiveType": { "alias": "inactiveType"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; }, {}, ["buttons"], ["*"], false, never>;
631
- }
632
-
633
- declare class MatchaButtonToggleModule {
634
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaButtonToggleModule, never>;
635
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaButtonToggleModule, [typeof MatchaButtonToggleComponent], [typeof i2.CommonModule, typeof MatchaTooltipModule], [typeof MatchaButtonToggleComponent]>;
636
- static ɵinj: i0.ɵɵInjectorDeclaration<MatchaButtonToggleModule>;
637
- }
638
-
639
- declare class MatchaCardComponent {
640
- private _color;
641
- get color(): string | null;
642
- set color(v: string | null);
643
- get colorAttr(): string | null;
644
- blockquote: 'left' | 'right' | 'none' | null;
645
- blockquoteColor: string | null;
646
- class: string | null;
647
- private _alpha;
648
- get alpha(): boolean | string;
649
- set alpha(v: boolean | string);
650
- get alphaAttr(): string | null;
651
- private _tint;
652
- get tint(): boolean | string;
653
- set tint(v: boolean | string);
654
- get tintAttr(): string | null;
655
- private _loading;
656
- get loading(): boolean | string;
657
- set loading(v: boolean | string);
658
- get classes(): string;
659
- hasBlockquotePosition(): boolean;
660
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaCardComponent, never>;
661
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaCardComponent, "matcha-card", never, { "color": { "alias": "color"; "required": false; }; "blockquote": { "alias": "blockquote"; "required": false; }; "blockquoteColor": { "alias": "blockquoteColor"; "required": false; }; "class": { "alias": "class"; "required": false; }; "alpha": { "alias": "alpha"; "required": false; }; "tint": { "alias": "tint"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, ["*"], false, never>;
662
- }
663
-
664
- declare class MatchaElevationDirective {
665
- private _elementRef;
666
- private _renderer;
667
- elevation: number | string;
668
- constructor(_elementRef: ElementRef, _renderer: Renderer2);
669
- ngOnChanges(): void;
670
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaElevationDirective, never>;
671
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaElevationDirective, "[elevation]", never, { "elevation": { "alias": "elevation"; "required": false; }; }, {}, never, never, false, never>;
672
- }
673
-
674
- declare class MatchaElevationModule {
675
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaElevationModule, never>;
676
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaElevationModule, [typeof MatchaElevationDirective], [typeof i2.CommonModule], [typeof MatchaElevationDirective]>;
677
- static ɵinj: i0.ɵɵInjectorDeclaration<MatchaElevationModule>;
678
- }
679
-
680
- declare class MatchaCardModule {
681
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaCardModule, never>;
682
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaCardModule, [typeof MatchaCardComponent], [typeof i2.CommonModule, typeof MatchaElevationModule, typeof MatchaIconModule, typeof MatchaTitleModule, typeof MatchaDividerModule, typeof MatchaTooltipModule], [typeof MatchaCardComponent]>;
683
- static ɵinj: i0.ɵɵInjectorDeclaration<MatchaCardModule>;
684
- }
685
-
686
- declare class MatchaCheckboxComponent implements ControlValueAccessor {
687
- private cdr;
688
- inputElement: ElementRef<HTMLInputElement>;
689
- private _color;
690
- get colorAttr(): string;
691
- get color(): string;
692
- set color(value: string);
693
- private _indeterminate;
694
- get indeterminate(): boolean;
695
- set indeterminate(value: boolean);
696
- private _disabled;
697
- get disabledAttr(): string | null;
698
- get disabled(): boolean;
699
- set disabled(value: boolean | string);
700
- private _checked;
701
- get checked(): boolean;
702
- set checked(value: boolean | string);
703
- checkedChange: EventEmitter<{
704
- checked: boolean;
705
- }>;
706
- change: EventEmitter<{
707
- source: MatchaCheckboxComponent;
708
- checked: boolean;
709
- }>;
710
- onChange: any;
711
- onTouched: any;
712
- writeValue(value: boolean): void;
713
- registerOnChange(fn: any): void;
714
- registerOnTouched(fn: any): void;
715
- setDisabledState(isDisabled: boolean): void;
716
- constructor(cdr: ChangeDetectorRef);
717
- onInputChange(event: Event): void;
718
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaCheckboxComponent, never>;
719
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaCheckboxComponent, "matcha-checkbox", never, { "color": { "alias": "color"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "checkedChange": "checkedChange"; "change": "change"; }, never, ["*"], false, never>;
720
- }
721
-
722
- declare class MatchaRippleDirective implements OnDestroy {
723
- private el;
724
- rippleColor: string;
725
- private ripples;
726
- constructor(el: ElementRef);
727
- onMouseDown(event: MouseEvent): void;
728
- ngOnDestroy(): void;
729
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaRippleDirective, never>;
730
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaRippleDirective, "[matchaRipple]", never, { "rippleColor": { "alias": "rippleColor"; "required": false; }; }, {}, never, never, false, never>;
731
- }
732
-
733
- declare class MatchaRippleModule {
734
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaRippleModule, never>;
735
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaRippleModule, [typeof MatchaRippleDirective], [typeof i2.CommonModule], [typeof MatchaRippleDirective]>;
736
- static ɵinj: i0.ɵɵInjectorDeclaration<MatchaRippleModule>;
737
- }
738
-
739
- declare class MatchaCheckboxModule {
740
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaCheckboxModule, never>;
741
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaCheckboxModule, [typeof MatchaCheckboxComponent], [typeof i2.CommonModule, typeof MatchaRippleModule], [typeof MatchaCheckboxComponent]>;
742
- static ɵinj: i0.ɵɵInjectorDeclaration<MatchaCheckboxModule>;
743
- }
744
-
745
- declare class MatchaRadioComponent implements ControlValueAccessor {
698
+ declare class MatchaSelectMultipleComponent implements AfterContentInit, AfterViewInit, OnDestroy, MatchaOptionParent, ControlValueAccessor {
699
+ elRef: ElementRef;
746
700
  private cdr;
747
- inputElement: ElementRef<HTMLInputElement>;
748
- color: string;
749
- value: any;
750
- name: string;
751
- private _disabled;
752
- set disabled(value: boolean | string);
753
- get disabled(): boolean;
754
- get checked(): boolean;
755
- set checked(value: boolean);
756
- private _checked;
757
- private _modelValue;
758
- checkedChange: EventEmitter<{
759
- checked: boolean;
760
- }>;
761
- change: EventEmitter<{
762
- source: MatchaRadioComponent;
763
- value: any;
764
- }>;
765
- onChange: any;
766
- onTouched: any;
767
- writeValue(value: any): void;
768
- registerOnChange(fn: any): void;
769
- registerOnTouched(fn: any): void;
770
- setDisabledState(isDisabled: boolean): void;
771
- constructor(cdr: ChangeDetectorRef);
772
- onInputChange(event: Event): void;
773
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaRadioComponent, never>;
774
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaRadioComponent, "matcha-radio", never, { "color": { "alias": "color"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "checkedChange": "checkedChange"; "change": "change"; }, never, ["*"], false, never>;
775
- }
776
-
777
- declare class MatchaRadioGroupComponent implements ControlValueAccessor, AfterContentInit, OnDestroy {
778
- private _cdr;
779
- radios: QueryList<MatchaRadioComponent>;
780
- get value(): any;
781
- set value(newValue: any);
782
- private _value;
783
- name: string;
784
- get disabled(): boolean;
785
- set disabled(value: boolean);
786
- private _disabled;
787
- change: EventEmitter<{
788
- source: MatchaRadioComponent;
701
+ options: QueryList<MatchaOptionComponent>;
702
+ panel: MatchaPanelComponent;
703
+ searchInputRef?: ElementRef<HTMLInputElement>;
704
+ selectedValues: any[];
705
+ /**
706
+ * Lido pela matcha-option (via MATCHA_OPTION_PARENT) para renderizar o
707
+ * checkbox já no primeiro ciclo, mesmo quando as opções são reprojetadas.
708
+ */
709
+ readonly multiple = true;
710
+ /**
711
+ * Itens selecionados renderizados na seção fixa do topo do painel.
712
+ * Mantidos pelo próprio componente (com labels capturados) para que
713
+ * permaneçam visíveis mesmo que a busca do pai remova suas opções.
714
+ */
715
+ selectedItems: {
789
716
  value: any;
717
+ label: string;
718
+ }[];
719
+ private selectedLabels;
720
+ placement: 'bottom' | 'top' | 'auto';
721
+ maxHeight: number;
722
+ minWidth: number;
723
+ placeholder: string;
724
+ disabled: boolean;
725
+ label: string;
726
+ /** Título da seção fixa de opções selecionadas no topo do painel. */
727
+ selectedHeader: string;
728
+ searchable: boolean;
729
+ searchPlaceholder: string;
730
+ searchDebounce: number;
731
+ opened: EventEmitter<void>;
732
+ closed: EventEmitter<void>;
733
+ selectionChange: EventEmitter<{
734
+ source: MatchaSelectMultipleComponent;
735
+ value: any[];
790
736
  }>;
791
- onChange: (value: any) => void;
792
- onTouched: () => void;
793
- private _unsubscribeAll;
794
- private _radioSubscriptions;
795
- private _isInitialized;
796
- constructor(_cdr: ChangeDetectorRef);
737
+ openedChange: EventEmitter<boolean>;
738
+ /** Emitido (com debounce) conforme o usuário digita no campo de busca. */
739
+ searchChange: EventEmitter<string>;
740
+ open: boolean;
741
+ triggerElement?: HTMLElement;
742
+ private activeIndex;
743
+ private optionsSub?;
744
+ private search$;
745
+ private searchSub?;
746
+ private onChange;
747
+ private onTouched;
748
+ private isDisabledByForm;
749
+ get isCurrentlyDisabled(): boolean;
750
+ get hostDisabledClass(): boolean;
751
+ get hostDisabledAttr(): string | null;
752
+ constructor(elRef: ElementRef, cdr: ChangeDetectorRef);
797
753
  ngAfterContentInit(): void;
798
- private updateNames;
799
- private subscribeToRadios;
754
+ ngAfterViewInit(): void;
755
+ ngOnDestroy(): void;
756
+ /** Handler do input de busca: empurra o valor para o fluxo com debounce. */
757
+ onSearchInput(event: Event): void;
758
+ /** Permite navegar/alternar/fechar usando o teclado a partir do campo de busca. */
759
+ onSearchKeydown(event: KeyboardEvent): void;
760
+ /** Dá foco ao campo de busca (chamado ao abrir o painel). */
761
+ private focusSearchInput;
762
+ /** Sincroniza o estado checado das opções (o modo múltiplo é derivado do pai). */
763
+ private setupOptions;
764
+ private setupKeyboardNavigation;
765
+ onTriggerClick(): void;
766
+ openPanel(): void;
767
+ closePanel(): void;
768
+ togglePanel(): void;
769
+ /** Chamado pelo matcha-option (via MATCHA_OPTION_PARENT) ao clicar na opção ou no checkbox. */
770
+ selectOption(option: MatchaOptionComponent): void;
771
+ /** Alterna a marcação de um value. Usado pelas opções e pela seção fixa de selecionados. */
772
+ toggleByValue(value: any): void;
773
+ private toggleValue;
774
+ isSelected(value: any): boolean;
775
+ trackByValue: (_: number, item: {
776
+ value: any;
777
+ }) => any;
778
+ private syncOptionStates;
779
+ /** Reconstrói a lista de selecionados, capturando/atualizando os labels. */
780
+ private rebuildSelectedItems;
781
+ private emitChange;
782
+ /** Retorna as opções com as marcadas primeiro, preservando a ordem de declaração. */
783
+ private getOrderedOptions;
784
+ /** Opções navegáveis por teclado: visíveis (não selecionadas) e habilitadas. */
785
+ private getNavigableOptions;
786
+ /** Reanexa os elementos no DOM colocando as opções marcadas no início. */
787
+ private reorderOptions;
788
+ private resetActive;
789
+ private clearActive;
790
+ private updateActiveStates;
791
+ highlightNext(): void;
792
+ highlightPrevious(): void;
793
+ private scrollToActive;
794
+ private toggleActive;
795
+ getSelectedLabel(): string;
796
+ get hasSelection(): boolean;
797
+ /** Limpa toda a seleção. */
798
+ clearSelection(): void;
800
799
  writeValue(value: any): void;
801
800
  registerOnChange(fn: (value: any) => void): void;
802
801
  registerOnTouched(fn: () => void): void;
803
802
  setDisabledState(isDisabled: boolean): void;
804
- private updateSelectedRadioFromValue;
805
- private updateDisabledState;
806
- ngOnDestroy(): void;
807
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaRadioGroupComponent, never>;
808
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaRadioGroupComponent, "matcha-radio-group", never, { "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "change": "change"; }, ["radios"], ["*"], false, never>;
809
- }
810
-
811
- declare class MatchaRadioModule {
812
- static ɵfac: i0.ɵɵFactoryDeclaration<MatchaRadioModule, never>;
813
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaRadioModule, [typeof MatchaRadioComponent, typeof MatchaRadioGroupComponent], [typeof i2.CommonModule, typeof MatchaRippleModule], [typeof MatchaRadioComponent, typeof MatchaRadioGroupComponent]>;
814
- static ɵinj: i0.ɵɵInjectorDeclaration<MatchaRadioModule>;
803
+ private ensurePanelClosed;
804
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaSelectMultipleComponent, never>;
805
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaSelectMultipleComponent, "matcha-select-multiple", never, { "placement": { "alias": "placement"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "selectedHeader": { "alias": "selectedHeader"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "searchDebounce": { "alias": "searchDebounce"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; "selectionChange": "selectionChange"; "openedChange": "openedChange"; "searchChange": "searchChange"; }, ["options"], ["*"], false, never>;
815
806
  }
816
807
 
817
808
  declare class MatchaFormFieldComponent implements AfterViewInit, OnDestroy {
@@ -1161,6 +1152,164 @@ declare class MatchaFormFieldModule {
1161
1152
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaFormFieldModule>;
1162
1153
  }
1163
1154
 
1155
+ declare class MatchaSelectMultipleModule {
1156
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaSelectMultipleModule, never>;
1157
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaSelectMultipleModule, [typeof MatchaSelectMultipleComponent], [typeof i2.CommonModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaFormFieldModule, typeof MatchaIconModule, typeof MatchaDividerModule], [typeof MatchaSelectMultipleComponent, typeof MatchaOptionModule, typeof MatchaDividerModule]>;
1158
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaSelectMultipleModule>;
1159
+ }
1160
+
1161
+ declare class MatchaButtonToggleComponent implements AfterContentInit {
1162
+ private elementRef;
1163
+ private _multiple;
1164
+ get multiple(): boolean | string;
1165
+ set multiple(v: boolean | string);
1166
+ private _disabled;
1167
+ get disabled(): boolean | string;
1168
+ set disabled(v: boolean | string);
1169
+ get isDisabled(): string | true | null;
1170
+ private _required;
1171
+ get required(): boolean | string;
1172
+ set required(v: boolean | string);
1173
+ inactiveColor: string;
1174
+ inactiveType: string;
1175
+ private _gap;
1176
+ set gap(v: string | number);
1177
+ get gapClass(): string;
1178
+ get gap(): number;
1179
+ buttons: QueryList<MatchaButtonComponent>;
1180
+ constructor(elementRef: ElementRef);
1181
+ ngAfterContentInit(): void;
1182
+ private setButtonState;
1183
+ private onButtonSelected;
1184
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaButtonToggleComponent, never>;
1185
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaButtonToggleComponent, "matcha-button-toggle", never, { "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "inactiveColor": { "alias": "inactiveColor"; "required": false; }; "inactiveType": { "alias": "inactiveType"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; }, {}, ["buttons"], ["*"], false, never>;
1186
+ }
1187
+
1188
+ declare class MatchaButtonToggleModule {
1189
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaButtonToggleModule, never>;
1190
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaButtonToggleModule, [typeof MatchaButtonToggleComponent], [typeof i2.CommonModule, typeof MatchaTooltipModule], [typeof MatchaButtonToggleComponent]>;
1191
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaButtonToggleModule>;
1192
+ }
1193
+
1194
+ declare class MatchaCardComponent {
1195
+ private _color;
1196
+ get color(): string | null;
1197
+ set color(v: string | null);
1198
+ get colorAttr(): string | null;
1199
+ blockquote: 'left' | 'right' | 'none' | null;
1200
+ blockquoteColor: string | null;
1201
+ class: string | null;
1202
+ private _alpha;
1203
+ get alpha(): boolean | string;
1204
+ set alpha(v: boolean | string);
1205
+ get alphaAttr(): string | null;
1206
+ private _tint;
1207
+ get tint(): boolean | string;
1208
+ set tint(v: boolean | string);
1209
+ get tintAttr(): string | null;
1210
+ private _loading;
1211
+ get loading(): boolean | string;
1212
+ set loading(v: boolean | string);
1213
+ get classes(): string;
1214
+ hasBlockquotePosition(): boolean;
1215
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaCardComponent, never>;
1216
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaCardComponent, "matcha-card", never, { "color": { "alias": "color"; "required": false; }; "blockquote": { "alias": "blockquote"; "required": false; }; "blockquoteColor": { "alias": "blockquoteColor"; "required": false; }; "class": { "alias": "class"; "required": false; }; "alpha": { "alias": "alpha"; "required": false; }; "tint": { "alias": "tint"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, ["*"], false, never>;
1217
+ }
1218
+
1219
+ declare class MatchaElevationDirective {
1220
+ private _elementRef;
1221
+ private _renderer;
1222
+ elevation: number | string;
1223
+ constructor(_elementRef: ElementRef, _renderer: Renderer2);
1224
+ ngOnChanges(): void;
1225
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaElevationDirective, never>;
1226
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaElevationDirective, "[elevation]", never, { "elevation": { "alias": "elevation"; "required": false; }; }, {}, never, never, false, never>;
1227
+ }
1228
+
1229
+ declare class MatchaElevationModule {
1230
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaElevationModule, never>;
1231
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaElevationModule, [typeof MatchaElevationDirective], [typeof i2.CommonModule], [typeof MatchaElevationDirective]>;
1232
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaElevationModule>;
1233
+ }
1234
+
1235
+ declare class MatchaCardModule {
1236
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaCardModule, never>;
1237
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaCardModule, [typeof MatchaCardComponent], [typeof i2.CommonModule, typeof MatchaElevationModule, typeof MatchaIconModule, typeof MatchaTitleModule, typeof MatchaDividerModule, typeof MatchaTooltipModule], [typeof MatchaCardComponent]>;
1238
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaCardModule>;
1239
+ }
1240
+
1241
+ declare class MatchaRadioComponent implements ControlValueAccessor {
1242
+ private cdr;
1243
+ inputElement: ElementRef<HTMLInputElement>;
1244
+ color: string;
1245
+ value: any;
1246
+ name: string;
1247
+ private _disabled;
1248
+ set disabled(value: boolean | string);
1249
+ get disabled(): boolean;
1250
+ get checked(): boolean;
1251
+ set checked(value: boolean);
1252
+ private _checked;
1253
+ private _modelValue;
1254
+ checkedChange: EventEmitter<{
1255
+ checked: boolean;
1256
+ }>;
1257
+ change: EventEmitter<{
1258
+ source: MatchaRadioComponent;
1259
+ value: any;
1260
+ }>;
1261
+ onChange: any;
1262
+ onTouched: any;
1263
+ writeValue(value: any): void;
1264
+ registerOnChange(fn: any): void;
1265
+ registerOnTouched(fn: any): void;
1266
+ setDisabledState(isDisabled: boolean): void;
1267
+ constructor(cdr: ChangeDetectorRef);
1268
+ onInputChange(event: Event): void;
1269
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaRadioComponent, never>;
1270
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaRadioComponent, "matcha-radio", never, { "color": { "alias": "color"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "checkedChange": "checkedChange"; "change": "change"; }, never, ["*"], false, never>;
1271
+ }
1272
+
1273
+ declare class MatchaRadioGroupComponent implements ControlValueAccessor, AfterContentInit, OnDestroy {
1274
+ private _cdr;
1275
+ radios: QueryList<MatchaRadioComponent>;
1276
+ get value(): any;
1277
+ set value(newValue: any);
1278
+ private _value;
1279
+ name: string;
1280
+ get disabled(): boolean;
1281
+ set disabled(value: boolean);
1282
+ private _disabled;
1283
+ change: EventEmitter<{
1284
+ source: MatchaRadioComponent;
1285
+ value: any;
1286
+ }>;
1287
+ onChange: (value: any) => void;
1288
+ onTouched: () => void;
1289
+ private _unsubscribeAll;
1290
+ private _radioSubscriptions;
1291
+ private _isInitialized;
1292
+ constructor(_cdr: ChangeDetectorRef);
1293
+ ngAfterContentInit(): void;
1294
+ private updateNames;
1295
+ private subscribeToRadios;
1296
+ writeValue(value: any): void;
1297
+ registerOnChange(fn: (value: any) => void): void;
1298
+ registerOnTouched(fn: () => void): void;
1299
+ setDisabledState(isDisabled: boolean): void;
1300
+ private updateSelectedRadioFromValue;
1301
+ private updateDisabledState;
1302
+ ngOnDestroy(): void;
1303
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaRadioGroupComponent, never>;
1304
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaRadioGroupComponent, "matcha-radio-group", never, { "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "change": "change"; }, ["radios"], ["*"], false, never>;
1305
+ }
1306
+
1307
+ declare class MatchaRadioModule {
1308
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaRadioModule, never>;
1309
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaRadioModule, [typeof MatchaRadioComponent, typeof MatchaRadioGroupComponent], [typeof i2.CommonModule, typeof MatchaRippleModule], [typeof MatchaRadioComponent, typeof MatchaRadioGroupComponent]>;
1310
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaRadioModule>;
1311
+ }
1312
+
1164
1313
  declare class MatchaHintTextComponent {
1165
1314
  type: string;
1166
1315
  size: string;
@@ -2020,19 +2169,183 @@ declare class MatchaDateRangeComponent implements AfterContentInit, OnDestroy {
2020
2169
  static ɵcmp: i0.ɵɵComponentDeclaration<MatchaDateRangeComponent, "matcha-date-range", never, {}, {}, ["controls"], ["*"], false, never>;
2021
2170
  }
2022
2171
 
2023
- declare class MatchaDateComponent implements ControlValueAccessor {
2172
+ /**
2173
+ * Serviço de internacionalização do matcha-calendar-picker.
2174
+ * Inspirado no MatchaPaginatorIntl, porém registrado APENAS via
2175
+ * `providedIn: 'root'` — nunca em `providers:` de módulo. Isso garante uma
2176
+ * única instância em todo o app mesmo com lazy loading (o registro em
2177
+ * `providers` de um módulo lazy criaria uma instância separada no injector
2178
+ * daquele módulo, e as alterações de label não chegariam ao componente).
2179
+ *
2180
+ * Uso no app consumidor:
2181
+ * constructor(private calendarIntl: MatchaCalendarIntl) {}
2182
+ * setEnglish() {
2183
+ * this.calendarIntl.monthNames = ['January', ...];
2184
+ * this.calendarIntl.changes.next();
2185
+ * }
2186
+ */
2187
+ declare class MatchaCalendarIntl {
2188
+ /** Emite quando os labels mudam. O picker reconstrói as células ao receber. */
2189
+ readonly changes: Subject<void>;
2190
+ /** Nomes completos dos meses (view de meses). Índice 0 = Janeiro. */
2191
+ monthNames: string[];
2192
+ /** Nomes abreviados dos meses (cabeçalho da view de dias). Índice 0 = Jan. */
2193
+ monthNamesShort: string[];
2194
+ /** Abreviações dos dias da semana (cabeçalho do grid). Índice 0 = Domingo. */
2195
+ weekdayNamesShort: string[];
2196
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaCalendarIntl, never>;
2197
+ static ɵprov: i0.ɵɵInjectableDeclaration<MatchaCalendarIntl>;
2198
+ }
2199
+
2200
+ /** Níveis de navegação do calendário. */
2201
+ type MatchaCalendarView = 'day' | 'month' | 'year';
2202
+ interface MatchaCalendarDayCell {
2203
+ /** Data no formato 'YYYY-MM-DD'. */
2204
+ date: string;
2205
+ day: number;
2206
+ inCurrentMonth: boolean;
2207
+ selected: boolean;
2208
+ disabled: boolean;
2209
+ isToday: boolean;
2210
+ }
2211
+ interface MatchaCalendarMonthCell {
2212
+ month: number;
2213
+ label: string;
2214
+ selected: boolean;
2215
+ disabled: boolean;
2216
+ }
2217
+ interface MatchaCalendarYearCell {
2218
+ year: number;
2219
+ selected: boolean;
2220
+ disabled: boolean;
2221
+ }
2222
+ /**
2223
+ * Calendário/datepicker apresentacional com três views (dias, meses, anos).
2224
+ *
2225
+ * É um componente "burro": recebe `value`/`min`/`max` (todos no formato
2226
+ * 'YYYY-MM-DD') e emite `dateChange` com a data selecionada. Não implementa
2227
+ * ControlValueAccessor — o host (ex: matcha-date) é quem mantém o valor.
2228
+ *
2229
+ * Tradução via {@link MatchaCalendarIntl} (global) ou pelos @Inputs de label
2230
+ * (override por instância). Os arrays de label são CACHEADOS dentro das
2231
+ * células, por isso reconstruímos as células quando `intl.changes` emite.
2232
+ */
2233
+ declare class MatchaCalendarPickerComponent implements OnChanges, OnDestroy {
2234
+ intl: MatchaCalendarIntl;
2235
+ private cdr;
2236
+ /** Data selecionada no formato 'YYYY-MM-DD' (ou null). */
2237
+ value: string | null;
2238
+ /** Limite inferior 'YYYY-MM-DD' (ou '' para sem limite). */
2239
+ min: string;
2240
+ /** Limite superior 'YYYY-MM-DD' (ou '' para sem limite). */
2241
+ max: string;
2242
+ /** Override por instância dos nomes completos de mês (12). */
2243
+ monthNames?: string[];
2244
+ /** Override por instância dos nomes abreviados de mês (12). */
2245
+ monthNamesShort?: string[];
2246
+ /** Override por instância das abreviações de dia da semana (7, índice 0 = Domingo). */
2247
+ weekdayNamesShort?: string[];
2248
+ /** Emite a data selecionada no formato 'YYYY-MM-DD'. */
2249
+ dateChange: EventEmitter<string>;
2250
+ view: MatchaCalendarView;
2251
+ activeYear: number;
2252
+ activeMonth: number;
2253
+ decadeStart: number;
2254
+ weekdayHeaders: string[];
2255
+ dayCells: MatchaCalendarDayCell[];
2256
+ monthCells: MatchaCalendarMonthCell[];
2257
+ yearCells: MatchaCalendarYearCell[];
2258
+ private selectedDate;
2259
+ private minDate;
2260
+ private maxDate;
2261
+ private userNavigated;
2262
+ private intlSub;
2263
+ constructor(intl: MatchaCalendarIntl, cdr: ChangeDetectorRef);
2264
+ ngOnChanges(changes: SimpleChanges): void;
2265
+ ngOnDestroy(): void;
2266
+ private get months();
2267
+ private get monthsShort();
2268
+ private get weekdays();
2269
+ get activeMonthLabelShort(): string;
2270
+ get decadeLabel(): string;
2271
+ private parseYmd;
2272
+ private formatYmd;
2273
+ private parseSelection;
2274
+ private parseBounds;
2275
+ private initActiveFromToday;
2276
+ /** Posiciona o período exibido na seleção, ou hoje, clampando para [min,max]. */
2277
+ private syncActiveToSelection;
2278
+ /** Reposiciona a view ao reabrir (chamado pelo host). */
2279
+ resetView(): void;
2280
+ private rebuildAll;
2281
+ private buildDayGrid;
2282
+ private buildMonthGrid;
2283
+ private buildYearGrid;
2284
+ private isSelected;
2285
+ private isToday;
2286
+ private isDateDisabled;
2287
+ private isMonthFullyOutOfRange;
2288
+ private isYearFullyOutOfRange;
2289
+ prev(): void;
2290
+ next(): void;
2291
+ private shift;
2292
+ openMonthView(): void;
2293
+ openYearView(): void;
2294
+ selectDay(cell: MatchaCalendarDayCell): void;
2295
+ selectMonth(cell: MatchaCalendarMonthCell): void;
2296
+ selectYear(cell: MatchaCalendarYearCell): void;
2297
+ /** trackBy para os grids (evita recriar nós ao reconstruir). */
2298
+ trackByDate(_: number, cell: MatchaCalendarDayCell): string;
2299
+ trackByMonth(_: number, cell: MatchaCalendarMonthCell): number;
2300
+ trackByYear(_: number, cell: MatchaCalendarYearCell): number;
2301
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaCalendarPickerComponent, never>;
2302
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaCalendarPickerComponent, "matcha-calendar-picker", never, { "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "monthNames": { "alias": "monthNames"; "required": false; }; "monthNamesShort": { "alias": "monthNamesShort"; "required": false; }; "weekdayNamesShort": { "alias": "weekdayNamesShort"; "required": false; }; }, { "dateChange": "dateChange"; }, never, never, false, never>;
2303
+ }
2304
+
2305
+ declare class MatchaDateComponent implements ControlValueAccessor, AfterViewInit {
2306
+ private elRef;
2307
+ private cdr;
2024
2308
  placeholder: string;
2025
2309
  min: string;
2026
2310
  max: string;
2027
2311
  disabled: boolean;
2028
2312
  showNativePicker: boolean;
2313
+ /**
2314
+ * Define o que o botão de calendário faz ao ser clicado.
2315
+ * - true (padrão): abre o datepicker nativo do navegador (comportamento histórico).
2316
+ * - false: NÃO abre o nativo. A abertura passa a ser responsabilidade do
2317
+ * matcha-calendar-picker (Parte 2), que conterá essa lógica.
2318
+ */
2319
+ useNativePicker: boolean;
2320
+ /**
2321
+ * Quando true, o painel do matcha-calendar-picker NÃO dispara o evento global
2322
+ * que fecha os demais painéis. Use quando este matcha-date estiver ANINHADO
2323
+ * dentro de outro matcha-panel (ex: o modo "Personalizado" do matcha-period),
2324
+ * para que abrir o calendário não feche o painel pai.
2325
+ */
2326
+ suppressPanelGlobalClose: boolean;
2327
+ /**
2328
+ * Emite o elemento do painel do calendário quando ele abre/fecha. O painel
2329
+ * pai (quando aninhado) usa esses elementos em `ignoreClickOutsideElements`
2330
+ * para não fechar ao clicar dentro do calendário.
2331
+ */
2332
+ calendarPanelOpened: EventEmitter<HTMLElement>;
2333
+ calendarPanelClosed: EventEmitter<HTMLElement>;
2029
2334
  textInput: ElementRef<HTMLInputElement>;
2030
2335
  nativeDateInput: ElementRef<HTMLInputElement>;
2336
+ calendarPanel?: MatchaPanelComponent;
2337
+ calendarPicker?: MatchaCalendarPickerComponent;
2031
2338
  value: string;
2032
2339
  displayValue: string;
2033
2340
  isDisabled: boolean;
2034
2341
  private onChange;
2035
2342
  private onTouched;
2343
+ /** Overlay do calendário atualmente aberto (emitido ao pai quando aninhado). */
2344
+ private lastCalendarPane?;
2345
+ constructor(elRef: ElementRef, cdr: ChangeDetectorRef);
2346
+ ngAfterViewInit(): void;
2347
+ /** Elemento âncora do painel: o matcha-form-field envolvente, ou o host. */
2348
+ private panelAnchor;
2036
2349
  writeValue(value: any): void;
2037
2350
  registerOnChange(fn: any): void;
2038
2351
  registerOnTouched(fn: any): void;
@@ -2043,17 +2356,26 @@ declare class MatchaDateComponent implements ControlValueAccessor {
2043
2356
  onNativeDateChange(event: Event): void;
2044
2357
  onBlur(): void;
2045
2358
  openNativeDatePicker(): void;
2359
+ /** Dia selecionado no matcha-calendar-picker (recebe 'YYYY-MM-DD'). */
2360
+ onCalendarDateSelected(ymd: string): void;
2361
+ onCalendarPanelClosed(): void;
2046
2362
  private isValidDateFormat;
2047
2363
  private isValidDate;
2048
2364
  private convertToYYYYMMDD;
2049
2365
  private formatDateForDisplay;
2050
2366
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaDateComponent, never>;
2051
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaDateComponent, "matcha-date", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showNativePicker": { "alias": "showNativePicker"; "required": false; }; }, {}, never, never, false, never>;
2367
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaDateComponent, "matcha-date", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showNativePicker": { "alias": "showNativePicker"; "required": false; }; "useNativePicker": { "alias": "useNativePicker"; "required": false; }; "suppressPanelGlobalClose": { "alias": "suppressPanelGlobalClose"; "required": false; }; }, { "calendarPanelOpened": "calendarPanelOpened"; "calendarPanelClosed": "calendarPanelClosed"; }, never, never, false, never>;
2368
+ }
2369
+
2370
+ declare class MatchaCalendarPickerModule {
2371
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaCalendarPickerModule, never>;
2372
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaCalendarPickerModule, [typeof MatchaCalendarPickerComponent], [typeof i2.CommonModule, typeof MatchaCardModule, typeof MatchaIconModule, typeof MatchaDividerModule], [typeof MatchaCalendarPickerComponent]>;
2373
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaCalendarPickerModule>;
2052
2374
  }
2053
2375
 
2054
2376
  declare class MatchaDateModule {
2055
2377
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaDateModule, never>;
2056
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaDateModule, [typeof MatchaDateComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof MatchaDateComponent]>;
2378
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaDateModule, [typeof MatchaDateComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof MatchaPanelModule, typeof MatchaCalendarPickerModule], [typeof MatchaDateComponent]>;
2057
2379
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaDateModule>;
2058
2380
  }
2059
2381
 
@@ -2063,6 +2385,144 @@ declare class MatchaDateRangeModule {
2063
2385
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaDateRangeModule>;
2064
2386
  }
2065
2387
 
2388
+ /**
2389
+ * Tipagem pública do componente matcha-period (seletor de período / presets).
2390
+ */
2391
+ /** Intervalo de datas (início e fim). */
2392
+ interface MatchaPeriodRange {
2393
+ start: Date;
2394
+ end: Date;
2395
+ }
2396
+ /**
2397
+ * Preset de período passado via @Input.
2398
+ *
2399
+ * Padrão rígido: cada preset é auto-contido e sabe calcular o próprio intervalo
2400
+ * através de `getRange()`. Isso permite presets dinâmicos (ex.: "Hoje", "Últimos
2401
+ * 7 dias") que recalculam a data relativa ao momento da seleção.
2402
+ */
2403
+ interface MatchaPeriodPreset {
2404
+ /** Identificador único e estável do preset (usado no valor emitido). */
2405
+ key: string;
2406
+ /** Texto exibido na lista. */
2407
+ label: string;
2408
+ /** Calcula o intervalo de datas deste preset. */
2409
+ getRange: () => MatchaPeriodRange;
2410
+ }
2411
+ /**
2412
+ * Valor do componente: intervalo selecionado + a chave do preset de origem.
2413
+ * `presetKey` é `null` quando o intervalo veio do modo "Personalizado".
2414
+ */
2415
+ interface MatchaPeriodValue {
2416
+ start: Date;
2417
+ end: Date;
2418
+ presetKey: string | null;
2419
+ }
2420
+ /** Formatos aceitos para exibir o intervalo no gatilho do componente. */
2421
+ type MatchaPeriodDisplayFormat = 'dd/MM/yy' | 'dd/MM/yyyy';
2422
+
2423
+ declare class MatchaPeriodComponent implements AfterViewInit, ControlValueAccessor {
2424
+ elRef: ElementRef;
2425
+ private cdr;
2426
+ panel: MatchaPanelComponent;
2427
+ /** Lista de presets exibidos. Cada preset é auto-contido (ver matcha-period.types). */
2428
+ presets: MatchaPeriodPreset[];
2429
+ /** Habilita a opção "Personalizado" (com Data início / Data fim). */
2430
+ allowCustom: boolean;
2431
+ /** Texto exibido no gatilho quando não há valor. */
2432
+ placeholder: string;
2433
+ /** Rótulo da opção de período personalizado. */
2434
+ customLabel: string;
2435
+ /** Formato do intervalo exibido no gatilho. */
2436
+ displayFormat: MatchaPeriodDisplayFormat;
2437
+ disabled: boolean;
2438
+ placement: PanelPlacement;
2439
+ maxHeight: number;
2440
+ minWidth: number;
2441
+ /** Emite sempre que um intervalo é definido (preset selecionado ou "Aplicar" do custom). */
2442
+ periodChange: EventEmitter<MatchaPeriodValue>;
2443
+ opened: EventEmitter<void>;
2444
+ closed: EventEmitter<void>;
2445
+ openedChange: EventEmitter<boolean>;
2446
+ value: MatchaPeriodValue | null;
2447
+ open: boolean;
2448
+ showingCustom: boolean;
2449
+ /**
2450
+ * Overlays dos calendários (matcha-date aninhados no modo personalizado).
2451
+ * Repassados ao painel via `ignoreClickOutsideElements` para que clicar
2452
+ * dentro de um calendário não feche o painel do período.
2453
+ */
2454
+ calendarOverlays: HTMLElement[];
2455
+ customForm: FormGroup<{
2456
+ start: FormControl<string | null>;
2457
+ end: FormControl<string | null>;
2458
+ }>;
2459
+ customError: string;
2460
+ activeIndex: number;
2461
+ triggerElement?: HTMLElement;
2462
+ private onChange;
2463
+ private onTouched;
2464
+ private isDisabledByForm;
2465
+ constructor(elRef: ElementRef, cdr: ChangeDetectorRef);
2466
+ get isCurrentlyDisabled(): boolean;
2467
+ get hostDisabledClass(): boolean;
2468
+ get hostDisabledAttr(): string | null;
2469
+ /** Quantidade total de itens navegáveis (presets + custom, se habilitado). */
2470
+ private get navCount();
2471
+ ngAfterViewInit(): void;
2472
+ /** Rótulo exibido no gatilho: intervalo formatado ou placeholder. */
2473
+ get triggerLabel(): string;
2474
+ get hasValue(): boolean;
2475
+ isPresetSelected(preset: MatchaPeriodPreset): boolean;
2476
+ get isCustomSelected(): boolean;
2477
+ get customStartMax(): string;
2478
+ get customEndMin(): string;
2479
+ private formatDate;
2480
+ onTriggerClick(): void;
2481
+ openPanel(): void;
2482
+ closePanel(): void;
2483
+ selectPreset(preset: MatchaPeriodPreset): void;
2484
+ /**
2485
+ * Registra o overlay de um calendário aninhado (ao abrir) para ignorá-lo no
2486
+ * click-outside do painel do período.
2487
+ *
2488
+ * NÃO removemos o overlay quando o calendário fecha: selecionar uma data fecha
2489
+ * o calendário no MESMO clique que ainda propaga até o listener de click-outside
2490
+ * do período. Como o `composedPath()` desse clique ainda contém o pane (mesmo já
2491
+ * destruído), mantê-lo na lista evita que o período feche junto. Panes destruídos
2492
+ * são inofensivos (nunca casam com cliques futuros) e a lista é zerada ao abrir/
2493
+ * fechar o período.
2494
+ */
2495
+ registerCalendarOverlay(el: HTMLElement): void;
2496
+ /** Abre/realça a área de período personalizado, mantendo o painel aberto. */
2497
+ toggleCustom(): void;
2498
+ applyCustom(): void;
2499
+ private commitValue;
2500
+ /** Converte uma string 'YYYY-MM-DD' válida em Date; retorna null caso contrário. */
2501
+ private parseDate;
2502
+ private syncCustomInputsFromValue;
2503
+ /** Formata um Date para o formato consumido pelo matcha-date ('YYYY-MM-DD'). */
2504
+ private toInputValue;
2505
+ onTriggerKeyDown(event: KeyboardEvent): void;
2506
+ private moveActive;
2507
+ isActiveIndex(index: number): boolean;
2508
+ get isCustomActive(): boolean;
2509
+ private activateCurrent;
2510
+ writeValue(value: MatchaPeriodValue | null): void;
2511
+ registerOnChange(fn: (value: MatchaPeriodValue | null) => void): void;
2512
+ registerOnTouched(fn: () => void): void;
2513
+ setDisabledState(isDisabled: boolean): void;
2514
+ /** Garante que start/end sejam Date (aceita strings/ISO vindas do FormControl). */
2515
+ private normalizeValue;
2516
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaPeriodComponent, never>;
2517
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaPeriodComponent, "matcha-period", never, { "presets": { "alias": "presets"; "required": false; }; "allowCustom": { "alias": "allowCustom"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "customLabel": { "alias": "customLabel"; "required": false; }; "displayFormat": { "alias": "displayFormat"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; }, { "periodChange": "periodChange"; "opened": "opened"; "closed": "closed"; "openedChange": "openedChange"; }, never, never, false, never>;
2518
+ }
2519
+
2520
+ declare class MatchaPeriodModule {
2521
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaPeriodModule, never>;
2522
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaPeriodModule, [typeof MatchaPeriodComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof MatchaPanelModule, typeof MatchaButtonModule, typeof MatchaIconModule, typeof MatchaDividerModule, typeof MatchaDateModule, typeof MatchaDateRangeModule, typeof MatchaFormFieldModule], [typeof MatchaPeriodComponent]>;
2523
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaPeriodModule>;
2524
+ }
2525
+
2066
2526
  declare class MatchaTimeComponent implements ControlValueAccessor, Validator {
2067
2527
  placeholder: string;
2068
2528
  disabled: boolean;
@@ -2763,7 +3223,7 @@ declare class MatchaSnackBarComponent implements OnInit, OnDestroy {
2763
3223
  visible: boolean;
2764
3224
  private timeoutId;
2765
3225
  get colorAttr(): "error" | "warning" | "info" | "success";
2766
- get positionAttr(): "bottom" | "top";
3226
+ get positionAttr(): "top" | "bottom";
2767
3227
  get classes(): string;
2768
3228
  constructor(snackBarService: MatchaSnackBarService);
2769
3229
  ngOnInit(): void;
@@ -2907,7 +3367,7 @@ declare class MatchaAvatarModule {
2907
3367
 
2908
3368
  declare class MatchaComponentsModule {
2909
3369
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaComponentsModule, never>;
2910
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaComponentsModule, [typeof MatchaOverflowDraggableComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaSelectModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputPhoneModule, typeof MatchaMasonryModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaRippleModule, typeof MatchaSlideToggleModule, typeof MatchaMsgBoxModule, typeof MatchaSliderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaProgressBarModule, typeof MatchaStepperModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateRangeModule, typeof MatchaTimeModule, typeof MatchaTimeRangeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule, typeof MatchaMaskModule, typeof MatchaChipModule, typeof MatchaMenuModule, typeof MatchaListModule, typeof MatchaSnackBarModule, typeof MatchaTextEditorModule], [typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaSelectModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputPhoneModule, typeof MatchaMasonryModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaRippleModule, typeof MatchaSlideToggleModule, typeof MatchaMsgBoxModule, typeof MatchaSliderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaProgressBarModule, typeof MatchaStepperModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateRangeModule, typeof MatchaTimeModule, typeof MatchaTimeRangeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaAvatarModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule, typeof MatchaMaskModule, typeof MatchaChipModule, typeof MatchaMenuModule, typeof MatchaListModule, typeof MatchaSnackBarModule, typeof MatchaTextEditorModule]>;
3370
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaComponentsModule, [typeof MatchaOverflowDraggableComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaSelectModule, typeof MatchaSelectMultipleModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputPhoneModule, typeof MatchaMasonryModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaRippleModule, typeof MatchaSlideToggleModule, typeof MatchaMsgBoxModule, typeof MatchaSliderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaProgressBarModule, typeof MatchaStepperModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateRangeModule, typeof MatchaPeriodModule, typeof MatchaCalendarPickerModule, typeof MatchaTimeModule, typeof MatchaTimeRangeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule, typeof MatchaMaskModule, typeof MatchaChipModule, typeof MatchaMenuModule, typeof MatchaListModule, typeof MatchaSnackBarModule, typeof MatchaTextEditorModule], [typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaSelectModule, typeof MatchaSelectMultipleModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputPhoneModule, typeof MatchaMasonryModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaRippleModule, typeof MatchaSlideToggleModule, typeof MatchaMsgBoxModule, typeof MatchaSliderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaProgressBarModule, typeof MatchaStepperModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateRangeModule, typeof MatchaPeriodModule, typeof MatchaCalendarPickerModule, typeof MatchaTimeModule, typeof MatchaTimeRangeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaAvatarModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule, typeof MatchaMaskModule, typeof MatchaChipModule, typeof MatchaMenuModule, typeof MatchaListModule, typeof MatchaSnackBarModule, typeof MatchaTextEditorModule]>;
2911
3371
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaComponentsModule>;
2912
3372
  }
2913
3373
 
@@ -3286,5 +3746,5 @@ declare class MatchaToolbarModule {
3286
3746
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaToolbarModule>;
3287
3747
  }
3288
3748
 
3289
- export { CopyButtonComponent, INITIAL_CONFIG, MATCHA_MASK_CONFIG, MATCHA_OPTION_PARENT, MaskExpression, MatchaAccordionComponent, MatchaAccordionContentComponent, MatchaAccordionHeaderComponent, MatchaAccordionItemComponent, MatchaAccordionModule, MatchaAutocompleteComponent, MatchaAutocompleteModule, MatchaAutocompleteTriggerDirective, MatchaAvatarComponent, MatchaAvatarModule, MatchaBreakpointObservableModule, MatchaBreakpointObserver, MatchaButtonComponent, MatchaButtonModule, MatchaButtonToggleComponent, MatchaButtonToggleModule, MatchaCardComponent, MatchaCardModule, MatchaCheckboxComponent, MatchaCheckboxModule, MatchaChipComponent, MatchaChipListComponent, MatchaChipModule, MatchaComponentsModule, MatchaDateComponent, MatchaDateModule, MatchaDateRangeComponent, MatchaDateRangeModule, MatchaDividerComponent, MatchaDividerModule, MatchaDragDirective, MatchaDragHandleDirective, MatchaDrawerComponent, MatchaDrawerContainerComponent, MatchaDrawerContentComponent, MatchaDrawerModule, MatchaDropListComponent, MatchaDropListModule, MatchaDropListService, MatchaDropZoneDirective, MatchaElevationDirective, MatchaElevationModule, MatchaErrorComponent, MatchaFormFieldComponent, MatchaFormFieldModule, MatchaGridComponent, MatchaGridModule, MatchaHighlightComponent, MatchaHighlightModule, MatchaHintTextComponent, MatchaHintTextModule, MatchaIconComponent, MatchaIconModule, MatchaInfiniteScrollComponent, MatchaInfiniteScrollDataComponent, MatchaInfiniteScrollModule, MatchaInputPhoneComponent, MatchaInputPhoneModule, MatchaLabelComponent, MatchaLazyloadComponent, MatchaLazyloadDataComponent, MatchaLazyloadModule, MatchaListComponent, MatchaListItemComponent, MatchaListModule, MatchaMaskApplierService, MatchaMaskCompatibleDirective, MatchaMaskModule, MatchaMaskPipe, MatchaMaskService, MatchaMasonryComponent, MatchaMasonryModule, MatchaMenuComponent, MatchaMenuItemDirective, MatchaMenuModule, MatchaMenuTriggerDirective, MatchaModalComponent, MatchaModalContentComponent, MatchaModalFooterComponent, MatchaModalHeaderComponent, MatchaModalModule, MatchaModalOptionsComponent, MatchaModalService, MatchaMsgBoxActionsComponent, MatchaMsgBoxComponent, MatchaMsgBoxModule, MatchaOptionComponent, MatchaOptionModule, MatchaOverlayService, MatchaPageBuilderComponent, MatchaPageBuilderModule, MatchaPageLayoutComponent, MatchaPageLayoutModule, MatchaPaginatorComponent, MatchaPaginatorIntl, MatchaPaginatorModule, MatchaPanelComponent, MatchaPanelModule, MatchaProgressBarComponent, MatchaProgressBarModule, MatchaRadioComponent, MatchaRadioGroupComponent, MatchaRadioModule, MatchaRippleDirective, MatchaRippleModule, MatchaSelectComponent, MatchaSelectModule, MatchaSelectTriggerDirective, MatchaSkeletonComponent, MatchaSkeletonModule, MatchaSlideToggleComponent, MatchaSlideToggleModule, MatchaSliderComponent, MatchaSliderModule, MatchaSnackBarComponent, MatchaSnackBarModule, MatchaSnackBarService, MatchaSpinComponent, MatchaSpinModule, MatchaSpinnerComponent, MatchaSpinnerModule, MatchaStepperComponent, MatchaStepperContentComponent, MatchaStepperControllerComponent, MatchaStepperModule, MatchaStepperStateService, MatchaSubmenuTriggerDirective, MatchaTabItemComponent, MatchaTableComponent, MatchaTableModule, MatchaTabsComponent, MatchaTabsModule, MatchaTextEditorComponent, MatchaTextEditorModule, MatchaTimeComponent, MatchaTimeModule, MatchaTimeRangeComponent, MatchaTimeRangeModule, MatchaTitleComponent, MatchaTitleModule, MatchaToolbarButtonComponent, MatchaToolbarComponent, MatchaToolbarContentComponent, MatchaToolbarCustomButtonComponent, MatchaToolbarMainButtonComponent, MatchaToolbarModule, MatchaTooltipDirective, MatchaTooltipModule, NEW_CONFIG, NextStepDirective, PrevStepDirective, StepComponent, StepContentDirective, buildSunEditorConfig, compatibleOptions, initialConfig, timeMasks, withoutValidation };
3290
- export type { BreakpointState, DrawerMode, DrawerPosition, ILevelClasses, InputTransformFn, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, MatchaDropZoneDroppedEvent, MatchaMaskConfig, MatchaMaskOptions, MatchaOptionParent, MatchaSnackBarConfig, MatchaTextEditorOptions, ModalComponent, OutputTransformFn, PageEvent, PanelPlacement, PanelPosition, SliderOptions, TabChangeEvent };
3749
+ export { CopyButtonComponent, INITIAL_CONFIG, MATCHA_MASK_CONFIG, MATCHA_OPTION_PARENT, MaskExpression, MatchaAccordionComponent, MatchaAccordionContentComponent, MatchaAccordionHeaderComponent, MatchaAccordionItemComponent, MatchaAccordionModule, MatchaAutocompleteComponent, MatchaAutocompleteModule, MatchaAutocompleteTriggerDirective, MatchaAvatarComponent, MatchaAvatarModule, MatchaBreakpointObservableModule, MatchaBreakpointObserver, MatchaButtonComponent, MatchaButtonModule, MatchaButtonToggleComponent, MatchaButtonToggleModule, MatchaCalendarIntl, MatchaCalendarPickerComponent, MatchaCalendarPickerModule, MatchaCardComponent, MatchaCardModule, MatchaCheckboxComponent, MatchaCheckboxModule, MatchaChipComponent, MatchaChipListComponent, MatchaChipModule, MatchaComponentsModule, MatchaDateComponent, MatchaDateModule, MatchaDateRangeComponent, MatchaDateRangeModule, MatchaDividerComponent, MatchaDividerModule, MatchaDragDirective, MatchaDragHandleDirective, MatchaDrawerComponent, MatchaDrawerContainerComponent, MatchaDrawerContentComponent, MatchaDrawerModule, MatchaDropListComponent, MatchaDropListModule, MatchaDropListService, MatchaDropZoneDirective, MatchaElevationDirective, MatchaElevationModule, MatchaErrorComponent, MatchaFormFieldComponent, MatchaFormFieldModule, MatchaGridComponent, MatchaGridModule, MatchaHighlightComponent, MatchaHighlightModule, MatchaHintTextComponent, MatchaHintTextModule, MatchaIconComponent, MatchaIconModule, MatchaInfiniteScrollComponent, MatchaInfiniteScrollDataComponent, MatchaInfiniteScrollModule, MatchaInputPhoneComponent, MatchaInputPhoneModule, MatchaLabelComponent, MatchaLazyloadComponent, MatchaLazyloadDataComponent, MatchaLazyloadModule, MatchaListComponent, MatchaListItemComponent, MatchaListModule, MatchaMaskApplierService, MatchaMaskCompatibleDirective, MatchaMaskModule, MatchaMaskPipe, MatchaMaskService, MatchaMasonryComponent, MatchaMasonryModule, MatchaMenuComponent, MatchaMenuItemDirective, MatchaMenuModule, MatchaMenuTriggerDirective, MatchaModalComponent, MatchaModalContentComponent, MatchaModalFooterComponent, MatchaModalHeaderComponent, MatchaModalModule, MatchaModalOptionsComponent, MatchaModalService, MatchaMsgBoxActionsComponent, MatchaMsgBoxComponent, MatchaMsgBoxModule, MatchaOptionComponent, MatchaOptionModule, MatchaOverlayService, MatchaPageBuilderComponent, MatchaPageBuilderModule, MatchaPageLayoutComponent, MatchaPageLayoutModule, MatchaPaginatorComponent, MatchaPaginatorIntl, MatchaPaginatorModule, MatchaPanelComponent, MatchaPanelModule, MatchaPeriodComponent, MatchaPeriodModule, MatchaProgressBarComponent, MatchaProgressBarModule, MatchaRadioComponent, MatchaRadioGroupComponent, MatchaRadioModule, MatchaRippleDirective, MatchaRippleModule, MatchaSelectComponent, MatchaSelectModule, MatchaSelectMultipleComponent, MatchaSelectMultipleModule, MatchaSelectTriggerDirective, MatchaSkeletonComponent, MatchaSkeletonModule, MatchaSlideToggleComponent, MatchaSlideToggleModule, MatchaSliderComponent, MatchaSliderModule, MatchaSnackBarComponent, MatchaSnackBarModule, MatchaSnackBarService, MatchaSpinComponent, MatchaSpinModule, MatchaSpinnerComponent, MatchaSpinnerModule, MatchaStepperComponent, MatchaStepperContentComponent, MatchaStepperControllerComponent, MatchaStepperModule, MatchaStepperStateService, MatchaSubmenuTriggerDirective, MatchaTabItemComponent, MatchaTableComponent, MatchaTableModule, MatchaTabsComponent, MatchaTabsModule, MatchaTextEditorComponent, MatchaTextEditorModule, MatchaTimeComponent, MatchaTimeModule, MatchaTimeRangeComponent, MatchaTimeRangeModule, MatchaTitleComponent, MatchaTitleModule, MatchaToolbarButtonComponent, MatchaToolbarComponent, MatchaToolbarContentComponent, MatchaToolbarCustomButtonComponent, MatchaToolbarMainButtonComponent, MatchaToolbarModule, MatchaTooltipDirective, MatchaTooltipModule, NEW_CONFIG, NextStepDirective, PrevStepDirective, StepComponent, StepContentDirective, buildSunEditorConfig, compatibleOptions, initialConfig, timeMasks, withoutValidation };
3750
+ export type { BreakpointState, DrawerMode, DrawerPosition, ILevelClasses, InputTransformFn, MatchaCalendarDayCell, MatchaCalendarMonthCell, MatchaCalendarView, MatchaCalendarYearCell, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, MatchaDropZoneDroppedEvent, MatchaMaskConfig, MatchaMaskOptions, MatchaOptionParent, MatchaPeriodDisplayFormat, MatchaPeriodPreset, MatchaPeriodRange, MatchaPeriodValue, MatchaSnackBarConfig, MatchaTextEditorOptions, ModalComponent, OutputTransformFn, PageEvent, PanelPlacement, PanelPosition, SliderOptions, TabChangeEvent };