matcha-components 19.74.0 → 19.75.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 +227 -262
- package/fesm2022/matcha-components.mjs.map +1 -1
- package/lib/matcha-autocomplete/matcha-autocomplete/matcha-autocomplete.component.d.ts +16 -0
- package/lib/matcha-autocomplete/matcha-autocomplete.directive.d.ts +19 -0
- package/lib/matcha-autocomplete/matcha-autocomplete.module.d.ts +11 -0
- package/lib/matcha-components.module.d.ts +19 -18
- package/lib/matcha-form-field/matcha-form-field/matcha-form-field.component.d.ts +1 -1
- package/lib/matcha-option/matcha-option/matcha-option.component.d.ts +14 -0
- package/lib/matcha-option/matcha-option.module.d.ts +8 -0
- package/lib/matcha-option/matcha-option.service.d.ts +24 -0
- package/package.json +1 -1
- package/public-api.d.ts +6 -3
- package/lib/matcha-autocomplete/autocomplete-overview.directive.d.ts +0 -9
- package/lib/matcha-autocomplete/autocomplete.directive.d.ts +0 -9
- package/lib/matcha-autocomplete/autocomplete.module.d.ts +0 -8
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Output, Input, Component, ContentChildren, ElementRef, Renderer2, HostBinding, Inject, HostListener, ContentChild, Directive, forwardRef, ChangeDetectionStrategy, NgModule, createComponent
|
|
2
|
+
import { EventEmitter, Output, Input, Component, ContentChildren, ElementRef, Renderer2, HostBinding, Inject, HostListener, ContentChild, Directive, forwardRef, Injectable, ChangeDetectionStrategy, NgModule, createComponent } from '@angular/core';
|
|
3
3
|
import { animation, style, animate, trigger, transition, useAnimation, state, query, stagger, animateChild, sequence, group } from '@angular/animations';
|
|
4
|
-
import { Subscription, Subject } from 'rxjs';
|
|
4
|
+
import { Subscription, Subject, BehaviorSubject } from 'rxjs';
|
|
5
5
|
import { debounceTime } from 'rxjs/operators';
|
|
6
6
|
import * as i1 from '@angular/common';
|
|
7
7
|
import { CommonModule } from '@angular/common';
|
|
8
|
+
import * as i1$1 from '@angular/forms';
|
|
8
9
|
import { FormControlName, NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
9
10
|
|
|
10
11
|
const customAnimation = animation([
|
|
@@ -1561,11 +1562,11 @@ class MatchaFormFieldComponent {
|
|
|
1561
1562
|
return !!this.control?.invalid && (this.control?.touched || this.control?.dirty);
|
|
1562
1563
|
}
|
|
1563
1564
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1564
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.12", type: MatchaFormFieldComponent, isStandalone: false, selector: "matcha-form-field", inputs: { color: "color", size: "size", sizeXs: ["size-xs", "sizeXs"], sizeSm: ["size-sm", "sizeSm"], sizeMd: ["size-md", "sizeMd"], sizeLg: ["size-lg", "sizeLg"], sizeXl: ["size-xl", "sizeXl"] }, queries: [{ propertyName: "controlDir", first: true, predicate: FormControlName, descendants: true }], ngImport: i0, template: "<div class=\"flex-column gap-4\">\n <div class=\"matcha-form-field position-relative w-100-p min-h-40 flex-align-center\" #inputSelector>\n <div class=\"flex-row position-absolute w-100-p min-h-40 h-100-p\">\n <div class=\"bl-2 bt-2 bb-2 radius-left-8 min-w-8 border-color-{{color}}\"></div>\n <div class=\"bb-2 w-auto border-color-{{color}}\">\n <ng-content select=\"matcha-label\"></ng-content>\n </div>\n <div class=\"br-2 bt-2 bb-2 radius-right-8 w-100-p border-color-{{color}}\"></div>\n </div>\n <div class=\"flex-row position-relative py-8 px-12 gap-8 w-100-p\">\n <ng-content></ng-content>\n </div>\n </div>\n <ng-container *ngIf=\"showError\">\n <ng-content select=\"matcha-error\"></ng-content>\n </ng-container>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
1565
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.12", type: MatchaFormFieldComponent, isStandalone: false, selector: "matcha-form-field", inputs: { color: "color", size: "size", sizeXs: ["size-xs", "sizeXs"], sizeSm: ["size-sm", "sizeSm"], sizeMd: ["size-md", "sizeMd"], sizeLg: ["size-lg", "sizeLg"], sizeXl: ["size-xl", "sizeXl"] }, queries: [{ propertyName: "controlDir", first: true, predicate: FormControlName, descendants: true }], ngImport: i0, template: "<div class=\"flex-column gap-4\">\n <div class=\"matcha-form-field position-relative w-100-p min-h-40 flex-align-center\" #inputSelector>\n <div class=\"flex-row position-absolute w-100-p min-h-40 h-100-p\">\n <div class=\"bl-2 bt-2 bb-2 radius-left-8 min-w-8 border-color-{{color}}\"></div>\n <div class=\"bb-2 w-auto border-color-{{color}}\">\n <ng-content select=\"matcha-label\"></ng-content>\n </div>\n <div class=\"br-2 bt-2 bb-2 radius-right-8 w-100-p border-color-{{color}}\"></div>\n </div>\n <div class=\"flex-row position-relative py-8 px-12 gap-8 w-100-p\">\n <ng-content></ng-content>\n </div>\n </div>\n <ng-container *ngIf=\"showError\">\n <ng-content select=\"matcha-error\"></ng-content>\n </ng-container>\n <ng-content select=\"matcha-autocomplete\"></ng-content>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
1565
1566
|
}
|
|
1566
1567
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaFormFieldComponent, decorators: [{
|
|
1567
1568
|
type: Component,
|
|
1568
|
-
args: [{ selector: 'matcha-form-field', standalone: false, template: "<div class=\"flex-column gap-4\">\n <div class=\"matcha-form-field position-relative w-100-p min-h-40 flex-align-center\" #inputSelector>\n <div class=\"flex-row position-absolute w-100-p min-h-40 h-100-p\">\n <div class=\"bl-2 bt-2 bb-2 radius-left-8 min-w-8 border-color-{{color}}\"></div>\n <div class=\"bb-2 w-auto border-color-{{color}}\">\n <ng-content select=\"matcha-label\"></ng-content>\n </div>\n <div class=\"br-2 bt-2 bb-2 radius-right-8 w-100-p border-color-{{color}}\"></div>\n </div>\n <div class=\"flex-row position-relative py-8 px-12 gap-8 w-100-p\">\n <ng-content></ng-content>\n </div>\n </div>\n <ng-container *ngIf=\"showError\">\n <ng-content select=\"matcha-error\"></ng-content>\n </ng-container>\n</div>\n" }]
|
|
1569
|
+
args: [{ selector: 'matcha-form-field', standalone: false, template: "<div class=\"flex-column gap-4\">\n <div class=\"matcha-form-field position-relative w-100-p min-h-40 flex-align-center\" #inputSelector>\n <div class=\"flex-row position-absolute w-100-p min-h-40 h-100-p\">\n <div class=\"bl-2 bt-2 bb-2 radius-left-8 min-w-8 border-color-{{color}}\"></div>\n <div class=\"bb-2 w-auto border-color-{{color}}\">\n <ng-content select=\"matcha-label\"></ng-content>\n </div>\n <div class=\"br-2 bt-2 bb-2 radius-right-8 w-100-p border-color-{{color}}\"></div>\n </div>\n <div class=\"flex-row position-relative py-8 px-12 gap-8 w-100-p\">\n <ng-content></ng-content>\n </div>\n </div>\n <ng-container *ngIf=\"showError\">\n <ng-content select=\"matcha-error\"></ng-content>\n </ng-container>\n <ng-content select=\"matcha-autocomplete\"></ng-content>\n</div>\n" }]
|
|
1569
1570
|
}], propDecorators: { color: [{
|
|
1570
1571
|
type: Input
|
|
1571
1572
|
}], size: [{
|
|
@@ -1878,6 +1879,147 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
1878
1879
|
args: ['size']
|
|
1879
1880
|
}] } });
|
|
1880
1881
|
|
|
1882
|
+
class MatchaOptionService {
|
|
1883
|
+
constructor() {
|
|
1884
|
+
this._optionsSubject = new BehaviorSubject([]);
|
|
1885
|
+
this.options$ = this._optionsSubject.asObservable();
|
|
1886
|
+
this._activeOptionSubject = new BehaviorSubject(0);
|
|
1887
|
+
this.activeOption$ = this._activeOptionSubject.asObservable();
|
|
1888
|
+
this._canShowOptionsSubject = new BehaviorSubject(false);
|
|
1889
|
+
this.canShowOptions$ = this._canShowOptionsSubject.asObservable();
|
|
1890
|
+
this._selectedOptionSubject = new Subject();
|
|
1891
|
+
this.selectedOption$ = this._selectedOptionSubject.asObservable();
|
|
1892
|
+
}
|
|
1893
|
+
setSelectedOption(selectedOption) {
|
|
1894
|
+
this._selectedOptionSubject.next(selectedOption);
|
|
1895
|
+
}
|
|
1896
|
+
getCanShowOptions() {
|
|
1897
|
+
return this._canShowOptionsSubject.value;
|
|
1898
|
+
}
|
|
1899
|
+
setCanShowOptions(canShowOptions) {
|
|
1900
|
+
this._canShowOptionsSubject.next(canShowOptions);
|
|
1901
|
+
}
|
|
1902
|
+
updateOptions(options) {
|
|
1903
|
+
this._optionsSubject.next(options);
|
|
1904
|
+
}
|
|
1905
|
+
updateActiveOption(activeOption) {
|
|
1906
|
+
this._activeOptionSubject.next(activeOption);
|
|
1907
|
+
}
|
|
1908
|
+
resetActiveOption() {
|
|
1909
|
+
this.updateActiveOption(0);
|
|
1910
|
+
const currentOptions = this._optionsSubject.value;
|
|
1911
|
+
const activeOption = this._activeOptionSubject.value;
|
|
1912
|
+
currentOptions.forEach((option, index) => {
|
|
1913
|
+
index === activeOption ? option.setIsOptionActive(true, false) : option.setIsOptionActive(false, false);
|
|
1914
|
+
});
|
|
1915
|
+
return;
|
|
1916
|
+
}
|
|
1917
|
+
removeActiveOption() {
|
|
1918
|
+
const currentOptions = this._optionsSubject.value;
|
|
1919
|
+
currentOptions.forEach((option) => {
|
|
1920
|
+
option.isOptionActive = false;
|
|
1921
|
+
});
|
|
1922
|
+
this.updateActiveOption(-1);
|
|
1923
|
+
return;
|
|
1924
|
+
}
|
|
1925
|
+
changeActiveOption(stepsToMove) {
|
|
1926
|
+
const currentOptions = this._optionsSubject.value;
|
|
1927
|
+
const lastActiveOption = this._activeOptionSubject.value;
|
|
1928
|
+
this.updateActiveOption(Math.max(0, Math.min(currentOptions.length - 1, lastActiveOption + stepsToMove)));
|
|
1929
|
+
const currentActiveOption = this._activeOptionSubject.value;
|
|
1930
|
+
currentOptions.forEach((option, index) => {
|
|
1931
|
+
option.setIsOptionActive(index === currentActiveOption, false);
|
|
1932
|
+
});
|
|
1933
|
+
return;
|
|
1934
|
+
}
|
|
1935
|
+
selectActiveOption() {
|
|
1936
|
+
const currentOptions = this._optionsSubject.value;
|
|
1937
|
+
const activeOption = this._activeOptionSubject.value;
|
|
1938
|
+
if (currentOptions[activeOption]) {
|
|
1939
|
+
currentOptions[activeOption].selectOption();
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1942
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaOptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1943
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaOptionService, providedIn: 'root' }); }
|
|
1944
|
+
}
|
|
1945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaOptionService, decorators: [{
|
|
1946
|
+
type: Injectable,
|
|
1947
|
+
args: [{
|
|
1948
|
+
providedIn: 'root',
|
|
1949
|
+
}]
|
|
1950
|
+
}], ctorParameters: () => [] });
|
|
1951
|
+
|
|
1952
|
+
class MatchaAutocompleteComponent {
|
|
1953
|
+
constructor(changeDetectorRef, matchaOptionService) {
|
|
1954
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
1955
|
+
this.matchaOptionService = matchaOptionService;
|
|
1956
|
+
this.isDisplayAutocomplete = false;
|
|
1957
|
+
this.activeOption = 0;
|
|
1958
|
+
}
|
|
1959
|
+
ngOnInit() {
|
|
1960
|
+
this.matchaOptionService.canShowOptions$.subscribe((canShowOptions) => {
|
|
1961
|
+
if (!canShowOptions) {
|
|
1962
|
+
this.matchaOptionService.resetActiveOption();
|
|
1963
|
+
}
|
|
1964
|
+
this.isDisplayAutocomplete = canShowOptions;
|
|
1965
|
+
});
|
|
1966
|
+
}
|
|
1967
|
+
ngAfterContentInit() {
|
|
1968
|
+
const options = this.options.toArray();
|
|
1969
|
+
if (options.length > 0) {
|
|
1970
|
+
options[0].setIsOptionActive(true, false);
|
|
1971
|
+
}
|
|
1972
|
+
this.matchaOptionService.updateOptions(options);
|
|
1973
|
+
this.options.changes.subscribe((newOptions) => {
|
|
1974
|
+
this.matchaOptionService.updateOptions(newOptions.toArray());
|
|
1975
|
+
this.matchaOptionService.resetActiveOption();
|
|
1976
|
+
});
|
|
1977
|
+
this.matchaOptionService.activeOption$.subscribe((currentActiveOption) => {
|
|
1978
|
+
this.activeOption = currentActiveOption;
|
|
1979
|
+
this.changeDetectorRef.detectChanges();
|
|
1980
|
+
});
|
|
1981
|
+
}
|
|
1982
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaAutocompleteComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: MatchaOptionService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1983
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.12", type: MatchaAutocompleteComponent, isStandalone: false, selector: "matcha-autocomplete", queries: [{ propertyName: "options", predicate: MatchaOptionComponent }], ngImport: i0, template: "<ng-container *ngIf=\"isDisplayAutocomplete\">\n <div class=\"background-bg pt-24 position-absolute z-index-2 w-100-p\">\n <ul class=\"background-surface m-0 radius-8 elevation-z-1 p-0\">\n <ng-content></ng-content>\n </ul>\n </div>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
1984
|
+
}
|
|
1985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaAutocompleteComponent, decorators: [{
|
|
1986
|
+
type: Component,
|
|
1987
|
+
args: [{ selector: 'matcha-autocomplete', standalone: false, template: "<ng-container *ngIf=\"isDisplayAutocomplete\">\n <div class=\"background-bg pt-24 position-absolute z-index-2 w-100-p\">\n <ul class=\"background-surface m-0 radius-8 elevation-z-1 p-0\">\n <ng-content></ng-content>\n </ul>\n </div>\n</ng-container>\n" }]
|
|
1988
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: MatchaOptionService }], propDecorators: { options: [{
|
|
1989
|
+
type: ContentChildren,
|
|
1990
|
+
args: [MatchaOptionComponent]
|
|
1991
|
+
}] } });
|
|
1992
|
+
|
|
1993
|
+
class MatchaOptionComponent {
|
|
1994
|
+
constructor(changeDetectorRef, matchaOptionService) {
|
|
1995
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
1996
|
+
this.matchaOptionService = matchaOptionService;
|
|
1997
|
+
this.isOptionActive = false;
|
|
1998
|
+
}
|
|
1999
|
+
selectOption() {
|
|
2000
|
+
this.matchaOptionService.setCanShowOptions(true);
|
|
2001
|
+
this.matchaOptionService.setSelectedOption(this.value);
|
|
2002
|
+
setTimeout(() => {
|
|
2003
|
+
this.matchaOptionService.setCanShowOptions(false);
|
|
2004
|
+
}, 300);
|
|
2005
|
+
}
|
|
2006
|
+
setIsOptionActive(isOptionActive, isMouseEvent) {
|
|
2007
|
+
if (isMouseEvent) {
|
|
2008
|
+
this.matchaOptionService.removeActiveOption();
|
|
2009
|
+
}
|
|
2010
|
+
this.isOptionActive = isOptionActive;
|
|
2011
|
+
this.changeDetectorRef.detectChanges();
|
|
2012
|
+
}
|
|
2013
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaOptionComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: MatchaOptionService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2014
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.12", type: MatchaOptionComponent, isStandalone: false, selector: "matcha-option", inputs: { value: "value" }, ngImport: i0, template: "<span\n (click)=\"selectOption()\"\n (mouseenter)=\"setIsOptionActive(true, true)\"\n (mouseleave)=\"setIsOptionActive(false, true)\"\n [class.background-bg]=\"isOptionActive\"\n class=\"d-block py-8 cursor-pointer px-16 w-100-p\">\n <ng-content></ng-content>\n</span>\n", styles: [""] }); }
|
|
2015
|
+
}
|
|
2016
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaOptionComponent, decorators: [{
|
|
2017
|
+
type: Component,
|
|
2018
|
+
args: [{ selector: 'matcha-option', standalone: false, template: "<span\n (click)=\"selectOption()\"\n (mouseenter)=\"setIsOptionActive(true, true)\"\n (mouseleave)=\"setIsOptionActive(false, true)\"\n [class.background-bg]=\"isOptionActive\"\n class=\"d-block py-8 cursor-pointer px-16 w-100-p\">\n <ng-content></ng-content>\n</span>\n" }]
|
|
2019
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: MatchaOptionService }], propDecorators: { value: [{
|
|
2020
|
+
type: Input
|
|
2021
|
+
}] } });
|
|
2022
|
+
|
|
1881
2023
|
class MatchaSlideToggleComponent {
|
|
1882
2024
|
set checked(value) {
|
|
1883
2025
|
const newCheckedState = value === '' ? true : !!value;
|
|
@@ -2873,56 +3015,98 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
2873
3015
|
}]
|
|
2874
3016
|
}] });
|
|
2875
3017
|
|
|
2876
|
-
class
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
this._renderer.addClass(this._elementRef.nativeElement, 'matcha-autocomplete');
|
|
2881
|
-
}
|
|
2882
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaAutocompleteDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2883
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: MatchaAutocompleteDirective, isStandalone: false, selector: "[matcha-autocomplete]", ngImport: i0 }); }
|
|
3018
|
+
class MatchaOptionModule {
|
|
3019
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3020
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.12", ngImport: i0, type: MatchaOptionModule, declarations: [MatchaOptionComponent], imports: [CommonModule], exports: [MatchaOptionComponent] }); }
|
|
3021
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaOptionModule, imports: [CommonModule] }); }
|
|
2884
3022
|
}
|
|
2885
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type:
|
|
2886
|
-
type:
|
|
3023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaOptionModule, decorators: [{
|
|
3024
|
+
type: NgModule,
|
|
2887
3025
|
args: [{
|
|
2888
|
-
|
|
2889
|
-
|
|
3026
|
+
declarations: [MatchaOptionComponent],
|
|
3027
|
+
imports: [CommonModule],
|
|
3028
|
+
exports: [MatchaOptionComponent],
|
|
2890
3029
|
}]
|
|
2891
|
-
}]
|
|
3030
|
+
}] });
|
|
2892
3031
|
|
|
2893
|
-
class
|
|
2894
|
-
|
|
3032
|
+
class MatchaAutocompleteDirective {
|
|
3033
|
+
displayAutocomplete() {
|
|
3034
|
+
this.matchaOptionService.setCanShowOptions(true);
|
|
3035
|
+
}
|
|
3036
|
+
hideAutocomplete() {
|
|
3037
|
+
setTimeout(() => {
|
|
3038
|
+
const canShowAutocomplete = this.matchaOptionService.getCanShowOptions();
|
|
3039
|
+
if (canShowAutocomplete) {
|
|
3040
|
+
this.matchaOptionService.setCanShowOptions(false);
|
|
3041
|
+
}
|
|
3042
|
+
}, 300);
|
|
3043
|
+
}
|
|
3044
|
+
onArrowDown(event) {
|
|
3045
|
+
switch (event.key) {
|
|
3046
|
+
case 'ArrowDown':
|
|
3047
|
+
this.matchaOptionService.changeActiveOption(1);
|
|
3048
|
+
break;
|
|
3049
|
+
case 'ArrowUp':
|
|
3050
|
+
this.matchaOptionService.changeActiveOption(-1);
|
|
3051
|
+
break;
|
|
3052
|
+
case 'Enter':
|
|
3053
|
+
this.matchaOptionService.selectActiveOption();
|
|
3054
|
+
break;
|
|
3055
|
+
default:
|
|
3056
|
+
break;
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
constructor(ngControl, _elementRef, matchaOptionService) {
|
|
3060
|
+
this.ngControl = ngControl;
|
|
2895
3061
|
this._elementRef = _elementRef;
|
|
2896
|
-
this.
|
|
2897
|
-
|
|
2898
|
-
|
|
3062
|
+
this.matchaOptionService = matchaOptionService;
|
|
3063
|
+
}
|
|
3064
|
+
ngOnInit() {
|
|
3065
|
+
this.matchaOptionService.selectedOption$.subscribe((option) => {
|
|
3066
|
+
this._updateInputValue(option);
|
|
3067
|
+
});
|
|
2899
3068
|
}
|
|
2900
|
-
|
|
2901
|
-
|
|
3069
|
+
_updateInputValue(selectedOption) {
|
|
3070
|
+
if (this.ngControl.control) {
|
|
3071
|
+
this.ngControl.control.setValue(selectedOption);
|
|
3072
|
+
this.ngControl.control.markAsDirty();
|
|
3073
|
+
this.matchaOptionService.setCanShowOptions(false);
|
|
3074
|
+
this._elementRef.nativeElement.blur();
|
|
3075
|
+
}
|
|
3076
|
+
}
|
|
3077
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaAutocompleteDirective, deps: [{ token: i1$1.NgControl }, { token: i0.ElementRef }, { token: MatchaOptionService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3078
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.12", type: MatchaAutocompleteDirective, isStandalone: false, selector: "[matchaAutocomplete]", inputs: { matchaAutocomplete: "matchaAutocomplete" }, host: { listeners: { "focus": "displayAutocomplete()", "focusout": "hideAutocomplete()", "keydown": "onArrowDown($event)" } }, ngImport: i0 }); }
|
|
2902
3079
|
}
|
|
2903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type:
|
|
3080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaAutocompleteDirective, decorators: [{
|
|
2904
3081
|
type: Directive,
|
|
2905
3082
|
args: [{
|
|
2906
|
-
selector: '[
|
|
2907
|
-
standalone: false
|
|
3083
|
+
selector: '[matchaAutocomplete]',
|
|
3084
|
+
standalone: false,
|
|
2908
3085
|
}]
|
|
2909
|
-
}], ctorParameters: () => [{ type:
|
|
3086
|
+
}], ctorParameters: () => [{ type: i1$1.NgControl }, { type: i0.ElementRef }, { type: MatchaOptionService }], propDecorators: { matchaAutocomplete: [{
|
|
3087
|
+
type: Input
|
|
3088
|
+
}], displayAutocomplete: [{
|
|
3089
|
+
type: HostListener,
|
|
3090
|
+
args: ['focus']
|
|
3091
|
+
}], hideAutocomplete: [{
|
|
3092
|
+
type: HostListener,
|
|
3093
|
+
args: ['focusout']
|
|
3094
|
+
}], onArrowDown: [{
|
|
3095
|
+
type: HostListener,
|
|
3096
|
+
args: ['keydown', ['$event']]
|
|
3097
|
+
}] } });
|
|
2910
3098
|
|
|
2911
3099
|
class MatchaAutocompleteModule {
|
|
2912
3100
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2913
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.12", ngImport: i0, type: MatchaAutocompleteModule, declarations: [MatchaAutocompleteDirective,
|
|
2914
|
-
|
|
2915
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaAutocompleteModule }); }
|
|
3101
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.12", ngImport: i0, type: MatchaAutocompleteModule, declarations: [MatchaAutocompleteComponent, MatchaAutocompleteDirective], imports: [CommonModule, FormsModule, MatchaOptionModule], exports: [MatchaAutocompleteComponent, MatchaAutocompleteDirective] }); }
|
|
3102
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaAutocompleteModule, imports: [CommonModule, FormsModule, MatchaOptionModule] }); }
|
|
2916
3103
|
}
|
|
2917
3104
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaAutocompleteModule, decorators: [{
|
|
2918
3105
|
type: NgModule,
|
|
2919
3106
|
args: [{
|
|
2920
|
-
declarations: [
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
],
|
|
2924
|
-
imports: [],
|
|
2925
|
-
exports: [MatchaAutocompleteDirective, MatchaAutocompleteOverviewDirective],
|
|
3107
|
+
declarations: [MatchaAutocompleteComponent, MatchaAutocompleteDirective],
|
|
3108
|
+
imports: [CommonModule, FormsModule, MatchaOptionModule],
|
|
3109
|
+
exports: [MatchaAutocompleteComponent, MatchaAutocompleteDirective],
|
|
2926
3110
|
}]
|
|
2927
3111
|
}] });
|
|
2928
3112
|
|
|
@@ -3624,234 +3808,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
3624
3808
|
|
|
3625
3809
|
class MatchaComponentsModule {
|
|
3626
3810
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3627
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.12", ngImport: i0, type: MatchaComponentsModule, declarations: [MatchaOverflowDraggableComponent], imports: [CommonModule,
|
|
3628
|
-
|
|
3629
|
-
ReactiveFormsModule,
|
|
3630
|
-
MatchaAccordionModule,
|
|
3631
|
-
MatchaAutocompleteModule,
|
|
3632
|
-
MatchaBadgeModule,
|
|
3633
|
-
MatchaButtonModule,
|
|
3634
|
-
MatchaButtonToggleModule,
|
|
3635
|
-
MatchaCardModule,
|
|
3636
|
-
MatchaCheckboxModule,
|
|
3637
|
-
MatchaChipsModule,
|
|
3638
|
-
MatchaDatepickerModule,
|
|
3639
|
-
MatchaDividerModule,
|
|
3640
|
-
MatchaElevationModule,
|
|
3641
|
-
MatchaFormFieldModule,
|
|
3642
|
-
MatchaHintTextModule,
|
|
3643
|
-
MatchaIconModule,
|
|
3644
|
-
MatchaInfiniteScrollModule,
|
|
3645
|
-
MatchaInputModule,
|
|
3646
|
-
MatchaMasonryModule,
|
|
3647
|
-
MatchaMenuModule,
|
|
3648
|
-
MatchaModalModule,
|
|
3649
|
-
MatchaPaginatorModule,
|
|
3650
|
-
MatchaProgressBarModule,
|
|
3651
|
-
MatchaRadioButtonModule,
|
|
3652
|
-
MatchaRippleModule,
|
|
3653
|
-
MatchaSelectModule,
|
|
3654
|
-
MatchaSidenavModule,
|
|
3655
|
-
MatchaSlideToggleModule,
|
|
3656
|
-
MatchaSliderModule,
|
|
3657
|
-
MatchaSnackBarModule,
|
|
3658
|
-
MatchaSortHeaderModule,
|
|
3659
|
-
MatchaSpinModule,
|
|
3660
|
-
MatchaTableModule,
|
|
3661
|
-
MatchaTabsModule,
|
|
3662
|
-
MatchaTitleModule,
|
|
3663
|
-
MatchaTooltipModule,
|
|
3664
|
-
MatchaTreeModule], exports: [MatchaAccordionModule,
|
|
3665
|
-
MatchaAutocompleteModule,
|
|
3666
|
-
MatchaBadgeModule,
|
|
3667
|
-
MatchaButtonModule,
|
|
3668
|
-
MatchaButtonToggleModule,
|
|
3669
|
-
MatchaCardModule,
|
|
3670
|
-
MatchaCheckboxModule,
|
|
3671
|
-
MatchaChipsModule,
|
|
3672
|
-
MatchaDatepickerModule,
|
|
3673
|
-
MatchaDividerModule,
|
|
3674
|
-
MatchaElevationModule,
|
|
3675
|
-
MatchaFormFieldModule,
|
|
3676
|
-
MatchaHintTextModule,
|
|
3677
|
-
MatchaIconModule,
|
|
3678
|
-
MatchaInfiniteScrollModule,
|
|
3679
|
-
MatchaInputModule,
|
|
3680
|
-
MatchaMasonryModule,
|
|
3681
|
-
MatchaMenuModule,
|
|
3682
|
-
MatchaModalModule,
|
|
3683
|
-
MatchaPaginatorModule,
|
|
3684
|
-
MatchaProgressBarModule,
|
|
3685
|
-
MatchaRadioButtonModule,
|
|
3686
|
-
MatchaRippleModule,
|
|
3687
|
-
MatchaSelectModule,
|
|
3688
|
-
MatchaSidenavModule,
|
|
3689
|
-
MatchaSlideToggleModule,
|
|
3690
|
-
MatchaSliderModule,
|
|
3691
|
-
MatchaSnackBarModule,
|
|
3692
|
-
MatchaSortHeaderModule,
|
|
3693
|
-
MatchaSpinModule,
|
|
3694
|
-
MatchaTableModule,
|
|
3695
|
-
MatchaTabsModule,
|
|
3696
|
-
MatchaTitleModule,
|
|
3697
|
-
MatchaTooltipModule,
|
|
3698
|
-
MatchaTreeModule] }); }
|
|
3699
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaComponentsModule, imports: [CommonModule,
|
|
3700
|
-
FormsModule,
|
|
3701
|
-
ReactiveFormsModule,
|
|
3702
|
-
MatchaAccordionModule,
|
|
3703
|
-
MatchaAutocompleteModule,
|
|
3704
|
-
MatchaBadgeModule,
|
|
3705
|
-
MatchaButtonModule,
|
|
3706
|
-
MatchaButtonToggleModule,
|
|
3707
|
-
MatchaCardModule,
|
|
3708
|
-
MatchaCheckboxModule,
|
|
3709
|
-
MatchaChipsModule,
|
|
3710
|
-
MatchaDatepickerModule,
|
|
3711
|
-
MatchaDividerModule,
|
|
3712
|
-
MatchaElevationModule,
|
|
3713
|
-
MatchaFormFieldModule,
|
|
3714
|
-
MatchaHintTextModule,
|
|
3715
|
-
MatchaIconModule,
|
|
3716
|
-
MatchaInfiniteScrollModule,
|
|
3717
|
-
MatchaInputModule,
|
|
3718
|
-
MatchaMasonryModule,
|
|
3719
|
-
MatchaMenuModule,
|
|
3720
|
-
MatchaModalModule,
|
|
3721
|
-
MatchaPaginatorModule,
|
|
3722
|
-
MatchaProgressBarModule,
|
|
3723
|
-
MatchaRadioButtonModule,
|
|
3724
|
-
MatchaRippleModule,
|
|
3725
|
-
MatchaSelectModule,
|
|
3726
|
-
MatchaSidenavModule,
|
|
3727
|
-
MatchaSlideToggleModule,
|
|
3728
|
-
MatchaSliderModule,
|
|
3729
|
-
MatchaSnackBarModule,
|
|
3730
|
-
MatchaSortHeaderModule,
|
|
3731
|
-
MatchaSpinModule,
|
|
3732
|
-
MatchaTableModule,
|
|
3733
|
-
MatchaTabsModule,
|
|
3734
|
-
MatchaTitleModule,
|
|
3735
|
-
MatchaTooltipModule,
|
|
3736
|
-
MatchaTreeModule, MatchaAccordionModule,
|
|
3737
|
-
MatchaAutocompleteModule,
|
|
3738
|
-
MatchaBadgeModule,
|
|
3739
|
-
MatchaButtonModule,
|
|
3740
|
-
MatchaButtonToggleModule,
|
|
3741
|
-
MatchaCardModule,
|
|
3742
|
-
MatchaCheckboxModule,
|
|
3743
|
-
MatchaChipsModule,
|
|
3744
|
-
MatchaDatepickerModule,
|
|
3745
|
-
MatchaDividerModule,
|
|
3746
|
-
MatchaElevationModule,
|
|
3747
|
-
MatchaFormFieldModule,
|
|
3748
|
-
MatchaHintTextModule,
|
|
3749
|
-
MatchaIconModule,
|
|
3750
|
-
MatchaInfiniteScrollModule,
|
|
3751
|
-
MatchaInputModule,
|
|
3752
|
-
MatchaMasonryModule,
|
|
3753
|
-
MatchaMenuModule,
|
|
3754
|
-
MatchaModalModule,
|
|
3755
|
-
MatchaPaginatorModule,
|
|
3756
|
-
MatchaProgressBarModule,
|
|
3757
|
-
MatchaRadioButtonModule,
|
|
3758
|
-
MatchaRippleModule,
|
|
3759
|
-
MatchaSelectModule,
|
|
3760
|
-
MatchaSidenavModule,
|
|
3761
|
-
MatchaSlideToggleModule,
|
|
3762
|
-
MatchaSliderModule,
|
|
3763
|
-
MatchaSnackBarModule,
|
|
3764
|
-
MatchaSortHeaderModule,
|
|
3765
|
-
MatchaSpinModule,
|
|
3766
|
-
MatchaTableModule,
|
|
3767
|
-
MatchaTabsModule,
|
|
3768
|
-
MatchaTitleModule,
|
|
3769
|
-
MatchaTooltipModule,
|
|
3770
|
-
MatchaTreeModule] }); }
|
|
3811
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.12", ngImport: i0, type: MatchaComponentsModule, declarations: [MatchaOverflowDraggableComponent], imports: [CommonModule, FormsModule, ReactiveFormsModule, MatchaAccordionModule, MatchaAutocompleteModule, MatchaBadgeModule, MatchaButtonModule, MatchaButtonToggleModule, MatchaCardModule, MatchaCheckboxModule, MatchaChipsModule, MatchaDatepickerModule, MatchaDividerModule, MatchaElevationModule, MatchaFormFieldModule, MatchaHintTextModule, MatchaIconModule, MatchaInfiniteScrollModule, MatchaInputModule, MatchaMasonryModule, MatchaMenuModule, MatchaModalModule, MatchaOptionModule, MatchaPaginatorModule, MatchaProgressBarModule, MatchaRadioButtonModule, MatchaRippleModule, MatchaSelectModule, MatchaSidenavModule, MatchaSlideToggleModule, MatchaSliderModule, MatchaSnackBarModule, MatchaSortHeaderModule, MatchaSpinModule, MatchaTableModule, MatchaTabsModule, MatchaTitleModule, MatchaTooltipModule, MatchaTreeModule], exports: [MatchaAccordionModule, MatchaAutocompleteModule, MatchaBadgeModule, MatchaButtonModule, MatchaButtonToggleModule, MatchaCardModule, MatchaCheckboxModule, MatchaChipsModule, MatchaDatepickerModule, MatchaDividerModule, MatchaElevationModule, MatchaFormFieldModule, MatchaHintTextModule, MatchaIconModule, MatchaInfiniteScrollModule, MatchaInputModule, MatchaMasonryModule, MatchaMenuModule, MatchaModalModule, MatchaOptionModule, MatchaPaginatorModule, MatchaProgressBarModule, MatchaRadioButtonModule, MatchaRippleModule, MatchaSelectModule, MatchaSidenavModule, MatchaSlideToggleModule, MatchaSliderModule, MatchaSnackBarModule, MatchaSortHeaderModule, MatchaSpinModule, MatchaTableModule, MatchaTabsModule, MatchaTitleModule, MatchaTooltipModule, MatchaTreeModule] }); }
|
|
3812
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaComponentsModule, imports: [CommonModule, FormsModule, ReactiveFormsModule, MatchaAccordionModule, MatchaAutocompleteModule, MatchaBadgeModule, MatchaButtonModule, MatchaButtonToggleModule, MatchaCardModule, MatchaCheckboxModule, MatchaChipsModule, MatchaDatepickerModule, MatchaDividerModule, MatchaElevationModule, MatchaFormFieldModule, MatchaHintTextModule, MatchaIconModule, MatchaInfiniteScrollModule, MatchaInputModule, MatchaMasonryModule, MatchaMenuModule, MatchaModalModule, MatchaOptionModule, MatchaPaginatorModule, MatchaProgressBarModule, MatchaRadioButtonModule, MatchaRippleModule, MatchaSelectModule, MatchaSidenavModule, MatchaSlideToggleModule, MatchaSliderModule, MatchaSnackBarModule, MatchaSortHeaderModule, MatchaSpinModule, MatchaTableModule, MatchaTabsModule, MatchaTitleModule, MatchaTooltipModule, MatchaTreeModule, MatchaAccordionModule, MatchaAutocompleteModule, MatchaBadgeModule, MatchaButtonModule, MatchaButtonToggleModule, MatchaCardModule, MatchaCheckboxModule, MatchaChipsModule, MatchaDatepickerModule, MatchaDividerModule, MatchaElevationModule, MatchaFormFieldModule, MatchaHintTextModule, MatchaIconModule, MatchaInfiniteScrollModule, MatchaInputModule, MatchaMasonryModule, MatchaMenuModule, MatchaModalModule, MatchaOptionModule, MatchaPaginatorModule, MatchaProgressBarModule, MatchaRadioButtonModule, MatchaRippleModule, MatchaSelectModule, MatchaSidenavModule, MatchaSlideToggleModule, MatchaSliderModule, MatchaSnackBarModule, MatchaSortHeaderModule, MatchaSpinModule, MatchaTableModule, MatchaTabsModule, MatchaTitleModule, MatchaTooltipModule, MatchaTreeModule] }); }
|
|
3771
3813
|
}
|
|
3772
3814
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: MatchaComponentsModule, decorators: [{
|
|
3773
3815
|
type: NgModule,
|
|
3774
3816
|
args: [{
|
|
3775
|
-
declarations: [
|
|
3776
|
-
|
|
3777
|
-
],
|
|
3778
|
-
imports: [
|
|
3779
|
-
CommonModule,
|
|
3780
|
-
FormsModule,
|
|
3781
|
-
ReactiveFormsModule,
|
|
3782
|
-
MatchaAccordionModule,
|
|
3783
|
-
MatchaAutocompleteModule,
|
|
3784
|
-
MatchaBadgeModule,
|
|
3785
|
-
MatchaButtonModule,
|
|
3786
|
-
MatchaButtonToggleModule,
|
|
3787
|
-
MatchaCardModule,
|
|
3788
|
-
MatchaCheckboxModule,
|
|
3789
|
-
MatchaChipsModule,
|
|
3790
|
-
MatchaDatepickerModule,
|
|
3791
|
-
MatchaDividerModule,
|
|
3792
|
-
MatchaElevationModule,
|
|
3793
|
-
MatchaFormFieldModule,
|
|
3794
|
-
MatchaHintTextModule,
|
|
3795
|
-
MatchaIconModule,
|
|
3796
|
-
MatchaInfiniteScrollModule,
|
|
3797
|
-
MatchaInputModule,
|
|
3798
|
-
MatchaMasonryModule,
|
|
3799
|
-
MatchaMenuModule,
|
|
3800
|
-
MatchaModalModule,
|
|
3801
|
-
MatchaPaginatorModule,
|
|
3802
|
-
MatchaProgressBarModule,
|
|
3803
|
-
MatchaRadioButtonModule,
|
|
3804
|
-
MatchaRippleModule,
|
|
3805
|
-
MatchaSelectModule,
|
|
3806
|
-
MatchaSidenavModule,
|
|
3807
|
-
MatchaSlideToggleModule,
|
|
3808
|
-
MatchaSliderModule,
|
|
3809
|
-
MatchaSnackBarModule,
|
|
3810
|
-
MatchaSortHeaderModule,
|
|
3811
|
-
MatchaSpinModule,
|
|
3812
|
-
MatchaTableModule,
|
|
3813
|
-
MatchaTabsModule,
|
|
3814
|
-
MatchaTitleModule,
|
|
3815
|
-
MatchaTooltipModule,
|
|
3816
|
-
MatchaTreeModule
|
|
3817
|
-
],
|
|
3818
|
-
exports: [
|
|
3819
|
-
MatchaAccordionModule,
|
|
3820
|
-
MatchaAutocompleteModule,
|
|
3821
|
-
MatchaBadgeModule,
|
|
3822
|
-
MatchaButtonModule,
|
|
3823
|
-
MatchaButtonToggleModule,
|
|
3824
|
-
MatchaCardModule,
|
|
3825
|
-
MatchaCheckboxModule,
|
|
3826
|
-
MatchaChipsModule,
|
|
3827
|
-
MatchaDatepickerModule,
|
|
3828
|
-
MatchaDividerModule,
|
|
3829
|
-
MatchaElevationModule,
|
|
3830
|
-
MatchaFormFieldModule,
|
|
3831
|
-
MatchaHintTextModule,
|
|
3832
|
-
MatchaIconModule,
|
|
3833
|
-
MatchaInfiniteScrollModule,
|
|
3834
|
-
MatchaInputModule,
|
|
3835
|
-
MatchaMasonryModule,
|
|
3836
|
-
MatchaMenuModule,
|
|
3837
|
-
MatchaModalModule,
|
|
3838
|
-
MatchaPaginatorModule,
|
|
3839
|
-
MatchaProgressBarModule,
|
|
3840
|
-
MatchaRadioButtonModule,
|
|
3841
|
-
MatchaRippleModule,
|
|
3842
|
-
MatchaSelectModule,
|
|
3843
|
-
MatchaSidenavModule,
|
|
3844
|
-
MatchaSlideToggleModule,
|
|
3845
|
-
MatchaSliderModule,
|
|
3846
|
-
MatchaSnackBarModule,
|
|
3847
|
-
MatchaSortHeaderModule,
|
|
3848
|
-
MatchaSpinModule,
|
|
3849
|
-
MatchaTableModule,
|
|
3850
|
-
MatchaTabsModule,
|
|
3851
|
-
MatchaTitleModule,
|
|
3852
|
-
MatchaTooltipModule,
|
|
3853
|
-
MatchaTreeModule
|
|
3854
|
-
]
|
|
3817
|
+
declarations: [MatchaOverflowDraggableComponent],
|
|
3818
|
+
imports: [CommonModule, FormsModule, ReactiveFormsModule, MatchaAccordionModule, MatchaAutocompleteModule, MatchaBadgeModule, MatchaButtonModule, MatchaButtonToggleModule, MatchaCardModule, MatchaCheckboxModule, MatchaChipsModule, MatchaDatepickerModule, MatchaDividerModule, MatchaElevationModule, MatchaFormFieldModule, MatchaHintTextModule, MatchaIconModule, MatchaInfiniteScrollModule, MatchaInputModule, MatchaMasonryModule, MatchaMenuModule, MatchaModalModule, MatchaOptionModule, MatchaPaginatorModule, MatchaProgressBarModule, MatchaRadioButtonModule, MatchaRippleModule, MatchaSelectModule, MatchaSidenavModule, MatchaSlideToggleModule, MatchaSliderModule, MatchaSnackBarModule, MatchaSortHeaderModule, MatchaSpinModule, MatchaTableModule, MatchaTabsModule, MatchaTitleModule, MatchaTooltipModule, MatchaTreeModule],
|
|
3819
|
+
exports: [MatchaAccordionModule, MatchaAutocompleteModule, MatchaBadgeModule, MatchaButtonModule, MatchaButtonToggleModule, MatchaCardModule, MatchaCheckboxModule, MatchaChipsModule, MatchaDatepickerModule, MatchaDividerModule, MatchaElevationModule, MatchaFormFieldModule, MatchaHintTextModule, MatchaIconModule, MatchaInfiniteScrollModule, MatchaInputModule, MatchaMasonryModule, MatchaMenuModule, MatchaModalModule, MatchaOptionModule, MatchaPaginatorModule, MatchaProgressBarModule, MatchaRadioButtonModule, MatchaRippleModule, MatchaSelectModule, MatchaSidenavModule, MatchaSlideToggleModule, MatchaSliderModule, MatchaSnackBarModule, MatchaSortHeaderModule, MatchaSpinModule, MatchaTableModule, MatchaTabsModule, MatchaTitleModule, MatchaTooltipModule, MatchaTreeModule],
|
|
3855
3820
|
}]
|
|
3856
3821
|
}] });
|
|
3857
3822
|
|
|
@@ -3874,5 +3839,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
3874
3839
|
* Generated bundle index. Do not edit.
|
|
3875
3840
|
*/
|
|
3876
3841
|
|
|
3877
|
-
export { MatchaAccordionComponent, MatchaAccordionContentComponent, MatchaAccordionHeaderComponent, MatchaAccordionItemComponent, MatchaAccordionModule, MatchaAutocompleteDirective, MatchaAutocompleteModule,
|
|
3842
|
+
export { MatchaAccordionComponent, MatchaAccordionContentComponent, MatchaAccordionHeaderComponent, MatchaAccordionItemComponent, MatchaAccordionModule, MatchaAutocompleteComponent, MatchaAutocompleteDirective, MatchaAutocompleteModule, MatchaBadgeDirective, MatchaBadgeModule, MatchaButtonComponent, MatchaButtonModule, MatchaButtonToggleComponent, MatchaButtonToggleModule, MatchaCardComponent, MatchaCardModule, MatchaCheckboxComponent, MatchaCheckboxModule, MatchaChipsDirective, MatchaChipsModule, MatchaComponentsModule, MatchaDatepickerDirective, MatchaDatepickerModule, MatchaDividerComponent, MatchaDividerModule, MatchaElevationDirective, MatchaElevationModule, MatchaErrorComponent, MatchaFormFieldComponent, MatchaFormFieldModule, MatchaGridComponent, MatchaGridModule, MatchaHintTextComponent, MatchaHintTextModule, MatchaIconComponent, MatchaIconModule, MatchaInfiniteScrollComponent, MatchaInfiniteScrollDataComponent, MatchaInfiniteScrollModule, MatchaInputDirective, MatchaInputModule, MatchaLabelComponent, MatchaMasonryComponent, MatchaMasonryModule, MatchaMenuComponent, MatchaMenuModule, MatchaMenuTriggerForDirective, MatchaModalComponent, MatchaModalContentComponent, MatchaModalFooterComponent, MatchaModalHeaderComponent, MatchaModalModule, MatchaModalOptionsComponent, MatchaModalService, MatchaOptionComponent, MatchaOptionModule, MatchaOptionService, MatchaOverlayService, MatchaPaginatorDirective, MatchaPaginatorModule, MatchaProgressBarDirective, MatchaProgressBarModule, MatchaRadioButtonDirective, MatchaRadioButtonModule, MatchaRippleDirective, MatchaRippleModule, MatchaSelectDirective, MatchaSelectModule, MatchaSidenavDirective, MatchaSidenavModule, MatchaSlideToggleComponent, MatchaSlideToggleModule, MatchaSliderDirective, MatchaSliderModule, MatchaSnackBarDirective, MatchaSnackBarModule, MatchaSortHeaderDirective, MatchaSortHeaderModule, MatchaSpinComponent, MatchaSpinModule, MatchaTabItemComponent, MatchaTableDirective, MatchaTableModule, MatchaTabsComponent, MatchaTabsModule, MatchaTitleComponent, MatchaTitleModule, MatchaToolbarButtonComponent, MatchaToolbarComponent, MatchaToolbarContentComponent, MatchaToolbarMainButtonComponent, MatchaToolbarModule, MatchaTooltipDirective, MatchaTooltipModule, MatchaTreeDirective, MatchaTreeModule };
|
|
3878
3843
|
//# sourceMappingURL=matcha-components.mjs.map
|