matcha-components 19.145.0 → 20.2.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 +458 -520
- package/fesm2022/matcha-components.mjs.map +1 -1
- package/index.d.ts +1511 -3
- package/package.json +1 -1
- package/lib/matcha-accordion/accordion/accordion.component.d.ts +0 -14
- package/lib/matcha-accordion/accordion-content/accordion-content.component.d.ts +0 -5
- package/lib/matcha-accordion/accordion-header/accordion-header.component.d.ts +0 -5
- package/lib/matcha-accordion/accordion-item/accordion-item.component.d.ts +0 -15
- package/lib/matcha-accordion/accordion.module.d.ts +0 -16
- package/lib/matcha-animations/animations.d.ts +0 -1
- package/lib/matcha-autocomplete/matcha-autocomplete/matcha-autocomplete.component.d.ts +0 -16
- package/lib/matcha-autocomplete/matcha-autocomplete.directive.d.ts +0 -19
- package/lib/matcha-autocomplete/matcha-autocomplete.module.d.ts +0 -11
- package/lib/matcha-badge/badge.directive.d.ts +0 -9
- package/lib/matcha-badge/badge.module.d.ts +0 -7
- package/lib/matcha-button/button/button.component.d.ts +0 -48
- package/lib/matcha-button/button.module.d.ts +0 -7
- package/lib/matcha-button-toggle/button-toggle/button-toggle.component.d.ts +0 -29
- package/lib/matcha-button-toggle/button-toggle.module.d.ts +0 -9
- package/lib/matcha-card/card/card.component.d.ts +0 -23
- package/lib/matcha-card/card.module.d.ts +0 -13
- package/lib/matcha-checkbox/checkbox/checkbox.component.d.ts +0 -26
- package/lib/matcha-checkbox/checkbox.module.d.ts +0 -9
- package/lib/matcha-chips/chips.module.d.ts +0 -7
- package/lib/matcha-chips/matcha-chips.directive.d.ts +0 -9
- package/lib/matcha-components.module.d.ts +0 -51
- package/lib/matcha-date/date/date.component.d.ts +0 -21
- package/lib/matcha-date/date.module.d.ts +0 -9
- package/lib/matcha-datepicker/datepicker.directive.d.ts +0 -9
- package/lib/matcha-datepicker/datepicker.module.d.ts +0 -7
- package/lib/matcha-divider/divider/divider.component.d.ts +0 -14
- package/lib/matcha-divider/divider.module.d.ts +0 -8
- package/lib/matcha-drop-list/directives/drag-handle.directive.d.ts +0 -12
- package/lib/matcha-drop-list/directives/drag.directive.d.ts +0 -51
- package/lib/matcha-drop-list/drop-list/drop-list.component.d.ts +0 -59
- package/lib/matcha-drop-list/drop-list.module.d.ts +0 -10
- package/lib/matcha-drop-list/services/drop-list.service.d.ts +0 -10
- package/lib/matcha-elevation/elevation.directive.d.ts +0 -11
- package/lib/matcha-elevation/elevation.module.d.ts +0 -8
- package/lib/matcha-form-field/matcha-error/matcha-error.component.d.ts +0 -5
- package/lib/matcha-form-field/matcha-form-field/matcha-form-field.component.d.ts +0 -16
- package/lib/matcha-form-field/matcha-form-field.module.d.ts +0 -11
- package/lib/matcha-form-field/matcha-label/matcha-label.component.d.ts +0 -6
- package/lib/matcha-grid/grid.component.d.ts +0 -25
- package/lib/matcha-grid/grid.module.d.ts +0 -8
- package/lib/matcha-hint-text/hint/hint-text.component.d.ts +0 -9
- package/lib/matcha-hint-text/hint.module.d.ts +0 -9
- package/lib/matcha-icon/icon.component.d.ts +0 -11
- package/lib/matcha-icon/icon.module.d.ts +0 -9
- package/lib/matcha-infinite-scroll/matcha-infinite-scroll/matcha-infinite-scroll.component.d.ts +0 -12
- package/lib/matcha-infinite-scroll/matcha-infinite-scroll-data/matcha-infinite-scroll-data.component.d.ts +0 -64
- package/lib/matcha-infinite-scroll/matcha-infinite-scroll.module.d.ts +0 -9
- package/lib/matcha-input/input.directive.d.ts +0 -9
- package/lib/matcha-input/input.module.d.ts +0 -7
- package/lib/matcha-lazyload/lazyload/lazyload.component.d.ts +0 -12
- package/lib/matcha-lazyload/lazyload-data/lazyload-data.component.d.ts +0 -64
- package/lib/matcha-lazyload/lazyload.module.d.ts +0 -9
- package/lib/matcha-masonry/masonry/masonry.component.d.ts +0 -16
- package/lib/matcha-masonry/masonry.module.d.ts +0 -8
- package/lib/matcha-menu/menu.component.d.ts +0 -16
- package/lib/matcha-menu/menu.directive.d.ts +0 -14
- package/lib/matcha-menu/menu.module.d.ts +0 -9
- package/lib/matcha-modal/matcha-modal.module.d.ts +0 -17
- package/lib/matcha-modal/modal/modal.component.d.ts +0 -22
- package/lib/matcha-modal/modal-content/modal-content.component.d.ts +0 -5
- package/lib/matcha-modal/modal-footer/modal-footer.component.d.ts +0 -7
- package/lib/matcha-modal/modal-header/modal-header.component.d.ts +0 -5
- package/lib/matcha-modal/modal-options/modal-options.component.d.ts +0 -5
- package/lib/matcha-modal/modal.service.d.ts +0 -22
- package/lib/matcha-modal/overlay.service.d.ts +0 -81
- package/lib/matcha-option/matcha-option/matcha-option.component.d.ts +0 -14
- package/lib/matcha-option/matcha-option.module.d.ts +0 -8
- package/lib/matcha-option/matcha-option.service.d.ts +0 -24
- package/lib/matcha-overflow-draggable/matcha-overflow-draggable.component.d.ts +0 -8
- package/lib/matcha-page-layout/page-layout.component.d.ts +0 -5
- package/lib/matcha-page-layout/page-layout.module.d.ts +0 -9
- package/lib/matcha-paginator/paginator.directive.d.ts +0 -9
- package/lib/matcha-paginator/paginator.module.d.ts +0 -8
- package/lib/matcha-progress-bar/progress-bar.directive.d.ts +0 -9
- package/lib/matcha-progress-bar/progress-bar.module.d.ts +0 -8
- package/lib/matcha-radio/radio/radio.component.d.ts +0 -28
- package/lib/matcha-radio/radio.module.d.ts +0 -9
- package/lib/matcha-ripple/ripple.directive.d.ts +0 -12
- package/lib/matcha-ripple/ripple.module.d.ts +0 -8
- package/lib/matcha-select/select.directive.d.ts +0 -9
- package/lib/matcha-select/select.module.d.ts +0 -8
- package/lib/matcha-sidenav/sidenav.directive.d.ts +0 -9
- package/lib/matcha-sidenav/sidenav.module.d.ts +0 -8
- package/lib/matcha-skeleton/skeleton/skeleton.component.d.ts +0 -12
- package/lib/matcha-skeleton/skeleton.module.d.ts +0 -8
- package/lib/matcha-slide-toggle/slide-toggle/slide-toggle.component.d.ts +0 -28
- package/lib/matcha-slide-toggle/slide-toggle.module.d.ts +0 -9
- package/lib/matcha-slider/matcha-slider.directive.d.ts +0 -9
- package/lib/matcha-slider/slider.module.d.ts +0 -8
- package/lib/matcha-snackbar/snack-bar.directive.d.ts +0 -9
- package/lib/matcha-snackbar/snack-bar.module.d.ts +0 -8
- package/lib/matcha-sort-header/sort-header.directive.d.ts +0 -9
- package/lib/matcha-sort-header/sort-header.module.d.ts +0 -8
- package/lib/matcha-spin/spin/spin.component.d.ts +0 -26
- package/lib/matcha-spin/spin.module.d.ts +0 -8
- package/lib/matcha-spinner/spinner/spinner.component.d.ts +0 -27
- package/lib/matcha-spinner/spinner.module.d.ts +0 -8
- package/lib/matcha-stepper/next-step.diretive.d.ts +0 -9
- package/lib/matcha-stepper/prev-step.diretive.d.ts +0 -9
- package/lib/matcha-stepper/step/step.component.d.ts +0 -8
- package/lib/matcha-stepper/step-content.diretive.d.ts +0 -9
- package/lib/matcha-stepper/stepper/stepper.component.d.ts +0 -11
- package/lib/matcha-stepper/stepper-content/stepper-content.component.d.ts +0 -16
- package/lib/matcha-stepper/stepper-controller/stepper-controller.component.d.ts +0 -14
- package/lib/matcha-stepper/stepper.module.d.ts +0 -13
- package/lib/matcha-stepper/stepper.service.d.ts +0 -15
- package/lib/matcha-table/table.directive.d.ts +0 -9
- package/lib/matcha-table/table.module.d.ts +0 -8
- package/lib/matcha-tabs/tab-item/tab-item.component.d.ts +0 -10
- package/lib/matcha-tabs/tabs/tabs.component.d.ts +0 -14
- package/lib/matcha-tabs/tabs.module.d.ts +0 -11
- package/lib/matcha-time/time/time.component.d.ts +0 -34
- package/lib/matcha-time/time.module.d.ts +0 -9
- package/lib/matcha-title/title/title.component.d.ts +0 -21
- package/lib/matcha-title/title.module.d.ts +0 -8
- package/lib/matcha-toolbar/toolbar/toolbar.component.d.ts +0 -13
- package/lib/matcha-toolbar/toolbar-button/toolbar-button.component.d.ts +0 -10
- package/lib/matcha-toolbar/toolbar-content/toolbar-content.component.d.ts +0 -5
- package/lib/matcha-toolbar/toolbar-custom-button/toolbar-custom-button.component.d.ts +0 -5
- package/lib/matcha-toolbar/toolbar-main-button/toolbar-main-button.component.d.ts +0 -8
- package/lib/matcha-toolbar/toolbar.module.d.ts +0 -15
- package/lib/matcha-tooltip/tooltip.directive.d.ts +0 -23
- package/lib/matcha-tooltip/tooltip.module.d.ts +0 -8
- package/public-api.d.ts +0 -124
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MatchaDropListService {
|
|
3
|
-
private dropZones;
|
|
4
|
-
registerDropZone(element: HTMLElement, component: any): void;
|
|
5
|
-
unregisterDropZone(element: HTMLElement): void;
|
|
6
|
-
findDropZone(element: Element | null): any;
|
|
7
|
-
getAllDropZones(): any[];
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaDropListService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MatchaDropListService>;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MatchaElevationDirective {
|
|
4
|
-
private _elementRef;
|
|
5
|
-
private _renderer;
|
|
6
|
-
elevation: number | string;
|
|
7
|
-
constructor(_elementRef: ElementRef, _renderer: Renderer2);
|
|
8
|
-
ngOnChanges(): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaElevationDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaElevationDirective, "[elevation]", never, { "elevation": { "alias": "elevation"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./elevation.directive";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class MatchaElevationModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaElevationModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaElevationModule, [typeof i1.MatchaElevationDirective], [typeof i2.CommonModule], [typeof i1.MatchaElevationDirective]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaElevationModule>;
|
|
8
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MatchaErrorComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaErrorComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaErrorComponent, "matcha-error", never, {}, {}, never, ["*"], false, never>;
|
|
5
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FormControlName } from '@angular/forms';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MatchaFormFieldComponent {
|
|
4
|
-
color: 'red' | 'pink' | 'purple' | 'deep-purple' | 'indigo' | 'blue' | 'light-blue' | 'cyan' | 'teal' | 'green' | 'light-green' | 'lime' | 'yellow' | 'amber' | 'orange' | 'deep-orange' | 'primary' | 'accent' | 'warn' | 'brown' | 'grey' | 'blue-grey' | 'primary' | 'accent' | 'warn';
|
|
5
|
-
size: string | null;
|
|
6
|
-
sizeXs: string | null;
|
|
7
|
-
sizeSm: string | null;
|
|
8
|
-
sizeMd: string | null;
|
|
9
|
-
sizeLg: string | null;
|
|
10
|
-
sizeXl: string | null;
|
|
11
|
-
controlDir?: FormControlName;
|
|
12
|
-
get control(): import("@angular/forms").FormControl<any> | undefined;
|
|
13
|
-
get showError(): boolean;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaFormFieldComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaFormFieldComponent, "matcha-form-field", never, { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "sizeXs": { "alias": "size-xs"; "required": false; }; "sizeSm": { "alias": "size-sm"; "required": false; }; "sizeMd": { "alias": "size-md"; "required": false; }; "sizeLg": { "alias": "size-lg"; "required": false; }; "sizeXl": { "alias": "size-xl"; "required": false; }; }, {}, ["controlDir"], ["matcha-label", "*", "matcha-error", "matcha-autocomplete"], false, never>;
|
|
16
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./matcha-form-field/matcha-form-field.component";
|
|
3
|
-
import * as i2 from "./matcha-label/matcha-label.component";
|
|
4
|
-
import * as i3 from "./matcha-error/matcha-error.component";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "../matcha-icon/icon.module";
|
|
7
|
-
export declare class MatchaFormFieldModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaFormFieldModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaFormFieldModule, [typeof i1.MatchaFormFieldComponent, typeof i2.MatchaLabelComponent, typeof i3.MatchaErrorComponent], [typeof i4.CommonModule, typeof i5.MatchaIconModule], [typeof i1.MatchaFormFieldComponent, typeof i2.MatchaLabelComponent, typeof i3.MatchaErrorComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaFormFieldModule>;
|
|
11
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MatchaLabelComponent {
|
|
3
|
-
color: 'red' | 'pink' | 'purple' | 'deep-purple' | 'indigo' | 'blue' | 'light-blue' | 'cyan' | 'teal' | 'green' | 'light-green' | 'lime' | 'yellow' | 'amber' | 'orange' | 'deep-orange' | 'primary' | 'accent' | 'warn' | 'brown' | 'grey' | 'blue-grey' | 'primary' | 'accent' | 'warn';
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaLabelComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaLabelComponent, "matcha-label", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
6
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MatchaGridComponent {
|
|
4
|
-
private el;
|
|
5
|
-
private renderer;
|
|
6
|
-
breakpoint: string;
|
|
7
|
-
col: string;
|
|
8
|
-
gap: string;
|
|
9
|
-
class: string;
|
|
10
|
-
span: string;
|
|
11
|
-
rowspan: string;
|
|
12
|
-
colspan: string;
|
|
13
|
-
direction: string;
|
|
14
|
-
loading: boolean | string;
|
|
15
|
-
private getStringSplited;
|
|
16
|
-
private getGridClasses;
|
|
17
|
-
setColspanClasses(span: string, breakpoint: string): void;
|
|
18
|
-
setRowspanClasses(span: string, breakpoint: string): void;
|
|
19
|
-
get classes(): string;
|
|
20
|
-
constructor(el: ElementRef, renderer: Renderer2);
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
ngOnChanges(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaGridComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaGridComponent, "matcha-grid", never, { "breakpoint": { "alias": "breakpoint"; "required": false; }; "col": { "alias": "col"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "class": { "alias": "class"; "required": false; }; "span": { "alias": "span"; "required": false; }; "rowspan": { "alias": "rowspan"; "required": false; }; "colspan": { "alias": "colspan"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
25
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./grid.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class MatchaGridModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaGridModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaGridModule, [typeof i1.MatchaGridComponent], [typeof i2.CommonModule], [typeof i1.MatchaGridComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaGridModule>;
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MatchaHintTextComponent {
|
|
3
|
-
type: 'error' | 'warning' | 'info' | 'success';
|
|
4
|
-
size: 'tiny' | 'medium';
|
|
5
|
-
get iconName(): string;
|
|
6
|
-
get iconColor(): string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaHintTextComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaHintTextComponent, "matcha-hint-text", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./hint/hint-text.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../matcha-icon/icon.module";
|
|
5
|
-
export declare class MatchaHintTextModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaHintTextModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaHintTextModule, [typeof i1.MatchaHintTextComponent], [typeof i2.CommonModule, typeof i3.MatchaIconModule], [typeof i1.MatchaHintTextComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaHintTextModule>;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MatchaIconComponent {
|
|
3
|
-
name: string | undefined | null;
|
|
4
|
-
size: string | undefined | null;
|
|
5
|
-
color: string | undefined | null;
|
|
6
|
-
class: string | undefined | null;
|
|
7
|
-
loading: boolean | string;
|
|
8
|
-
get classes(): string;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaIconComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaIconComponent, "matcha-icon", never, { "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "class": { "alias": "class"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./icon.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../matcha-tooltip/tooltip.module";
|
|
5
|
-
export declare class MatchaIconModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaIconModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaIconModule, [typeof i1.MatchaIconComponent], [typeof i2.CommonModule, typeof i3.MatchaTooltipModule], [typeof i1.MatchaIconComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaIconModule>;
|
|
9
|
-
}
|
package/lib/matcha-infinite-scroll/matcha-infinite-scroll/matcha-infinite-scroll.component.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MatchaInfiniteScrollComponent implements OnInit, OnDestroy {
|
|
4
|
-
private element;
|
|
5
|
-
scrolledToEnd: EventEmitter<void>;
|
|
6
|
-
private observer;
|
|
7
|
-
constructor(element: ElementRef);
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
ngOnDestroy(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaInfiniteScrollComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaInfiniteScrollComponent, "matcha-infinite-scroll", never, {}, { "scrolledToEnd": "scrolledToEnd"; }, never, never, false, never>;
|
|
12
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MatchaInfiniteScrollDataComponent implements OnInit, OnDestroy, OnChanges {
|
|
5
|
-
private element;
|
|
6
|
-
/**
|
|
7
|
-
* Função que carrega os dados com base no número da página.
|
|
8
|
-
* Deve retornar um Observable com um array de itens.
|
|
9
|
-
*/
|
|
10
|
-
loadData: (page: number) => Observable<any[]>;
|
|
11
|
-
/**
|
|
12
|
-
* Lista inicial (opcional) para iniciar a agregação.
|
|
13
|
-
*/
|
|
14
|
-
initialList: any[];
|
|
15
|
-
/**
|
|
16
|
-
* Threshold para o Intersection Observer (padrão: 0.1 = 10% do elemento visível).
|
|
17
|
-
*/
|
|
18
|
-
threshold: number;
|
|
19
|
-
/**
|
|
20
|
-
* Chave para resetar a diretiva (para componentes como select).
|
|
21
|
-
*/
|
|
22
|
-
resetKey: any;
|
|
23
|
-
/**
|
|
24
|
-
* Novo input para o autocomplete, onde será aplicado o debounce.
|
|
25
|
-
*/
|
|
26
|
-
searchTerm: any;
|
|
27
|
-
/**
|
|
28
|
-
* Emite a lista acumulada de itens.
|
|
29
|
-
*/
|
|
30
|
-
aggregatedData: EventEmitter<any[]>;
|
|
31
|
-
/**
|
|
32
|
-
* Emite o item exato, quando a aggregatedData tiver um único item igual ao searchTerm.
|
|
33
|
-
*/
|
|
34
|
-
exactMatch: EventEmitter<any>;
|
|
35
|
-
private aggregatedList;
|
|
36
|
-
private currentPage;
|
|
37
|
-
private observer;
|
|
38
|
-
private dataSubscription;
|
|
39
|
-
private searchSubscription;
|
|
40
|
-
private searchTermSubject;
|
|
41
|
-
constructor(element: ElementRef);
|
|
42
|
-
ngOnInit(): void;
|
|
43
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
44
|
-
/**
|
|
45
|
-
* Inicializa ou reinicializa a lista agregada e o contador de página.
|
|
46
|
-
*/
|
|
47
|
-
private initialize;
|
|
48
|
-
/**
|
|
49
|
-
* Reseta apenas as assinaturas e o estado dos dados (não a inscrição do searchTerm).
|
|
50
|
-
*/
|
|
51
|
-
private resetData;
|
|
52
|
-
/**
|
|
53
|
-
* Carrega a próxima página de dados utilizando a função loadData.
|
|
54
|
-
*/
|
|
55
|
-
private loadNextPage;
|
|
56
|
-
/**
|
|
57
|
-
* Verifica se a lista agregada possui exatamente um item e se esse item é igual ao searchTerm.
|
|
58
|
-
* Se sim, emite o output exactMatch com esse item.
|
|
59
|
-
*/
|
|
60
|
-
private checkExactMatch;
|
|
61
|
-
ngOnDestroy(): void;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaInfiniteScrollDataComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaInfiniteScrollDataComponent, "matcha-infinite-scroll-data", never, { "loadData": { "alias": "loadData"; "required": false; }; "initialList": { "alias": "initialList"; "required": false; }; "threshold": { "alias": "threshold"; "required": false; }; "resetKey": { "alias": "resetKey"; "required": false; }; "searchTerm": { "alias": "searchTerm"; "required": false; }; }, { "aggregatedData": "aggregatedData"; "exactMatch": "exactMatch"; }, never, never, false, never>;
|
|
64
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./matcha-infinite-scroll/matcha-infinite-scroll.component";
|
|
3
|
-
import * as i2 from "./matcha-infinite-scroll-data/matcha-infinite-scroll-data.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
export declare class MatchaInfiniteScrollModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaInfiniteScrollModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaInfiniteScrollModule, [typeof i1.MatchaInfiniteScrollComponent, typeof i2.MatchaInfiniteScrollDataComponent], [typeof i3.CommonModule], [typeof i1.MatchaInfiniteScrollComponent, typeof i2.MatchaInfiniteScrollDataComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaInfiniteScrollModule>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MatchaInputDirective {
|
|
4
|
-
private _elementRef;
|
|
5
|
-
private _renderer;
|
|
6
|
-
constructor(_elementRef: ElementRef, _renderer: Renderer2);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaInputDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaInputDirective, "[matcha-input]", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./input.directive";
|
|
3
|
-
export declare class MatchaInputModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaInputModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaInputModule, [typeof i1.MatchaInputDirective], never, [typeof i1.MatchaInputDirective]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaInputModule>;
|
|
7
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MatchaLazyloadComponent implements OnInit, OnDestroy {
|
|
4
|
-
private element;
|
|
5
|
-
scrolledToEnd: EventEmitter<void>;
|
|
6
|
-
private observer;
|
|
7
|
-
constructor(element: ElementRef);
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
ngOnDestroy(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaLazyloadComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaLazyloadComponent, "matcha-lazyload", never, {}, { "scrolledToEnd": "scrolledToEnd"; }, never, ["*"], false, never>;
|
|
12
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MatchaLazyloadDataComponent implements OnInit, OnDestroy, OnChanges {
|
|
5
|
-
private element;
|
|
6
|
-
/**
|
|
7
|
-
* Função que carrega os dados com base no número da página.
|
|
8
|
-
* Deve retornar um Observable com um array de itens.
|
|
9
|
-
*/
|
|
10
|
-
loadData: (page: number) => Observable<any[]>;
|
|
11
|
-
/**
|
|
12
|
-
* Lista inicial (opcional) para iniciar a agregação.
|
|
13
|
-
*/
|
|
14
|
-
initialList: any[];
|
|
15
|
-
/**
|
|
16
|
-
* Threshold para o Intersection Observer (padrão: 0.1 = 10% do elemento visível).
|
|
17
|
-
*/
|
|
18
|
-
threshold: number;
|
|
19
|
-
/**
|
|
20
|
-
* Chave para resetar a diretiva (para componentes como select).
|
|
21
|
-
*/
|
|
22
|
-
resetKey: any;
|
|
23
|
-
/**
|
|
24
|
-
* Novo input para o autocomplete, onde será aplicado o debounce.
|
|
25
|
-
*/
|
|
26
|
-
searchTerm: any;
|
|
27
|
-
/**
|
|
28
|
-
* Emite a lista acumulada de itens.
|
|
29
|
-
*/
|
|
30
|
-
aggregatedData: EventEmitter<any[]>;
|
|
31
|
-
/**
|
|
32
|
-
* Emite o item exato, quando a aggregatedData tiver um único item igual ao searchTerm.
|
|
33
|
-
*/
|
|
34
|
-
exactMatch: EventEmitter<any>;
|
|
35
|
-
private aggregatedList;
|
|
36
|
-
private currentPage;
|
|
37
|
-
private observer;
|
|
38
|
-
private dataSubscription;
|
|
39
|
-
private searchSubscription;
|
|
40
|
-
private searchTermSubject;
|
|
41
|
-
constructor(element: ElementRef);
|
|
42
|
-
ngOnInit(): void;
|
|
43
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
44
|
-
/**
|
|
45
|
-
* Inicializa ou reinicializa a lista agregada e o contador de página.
|
|
46
|
-
*/
|
|
47
|
-
private initialize;
|
|
48
|
-
/**
|
|
49
|
-
* Reseta apenas as assinaturas e o estado dos dados (não a inscrição do searchTerm).
|
|
50
|
-
*/
|
|
51
|
-
private resetData;
|
|
52
|
-
/**
|
|
53
|
-
* Carrega a próxima página de dados utilizando a função loadData.
|
|
54
|
-
*/
|
|
55
|
-
private loadNextPage;
|
|
56
|
-
/**
|
|
57
|
-
* Verifica se a lista agregada possui exatamente um item e se esse item é igual ao searchTerm.
|
|
58
|
-
* Se sim, emite o output exactMatch com esse item.
|
|
59
|
-
*/
|
|
60
|
-
private checkExactMatch;
|
|
61
|
-
ngOnDestroy(): void;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaLazyloadDataComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaLazyloadDataComponent, "matcha-lazyload-data", never, { "loadData": { "alias": "loadData"; "required": false; }; "initialList": { "alias": "initialList"; "required": false; }; "threshold": { "alias": "threshold"; "required": false; }; "resetKey": { "alias": "resetKey"; "required": false; }; "searchTerm": { "alias": "searchTerm"; "required": false; }; }, { "aggregatedData": "aggregatedData"; "exactMatch": "exactMatch"; }, never, ["*"], false, never>;
|
|
64
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./lazyload/lazyload.component";
|
|
3
|
-
import * as i2 from "./lazyload-data/lazyload-data.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
export declare class MatchaLazyloadModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaLazyloadModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaLazyloadModule, [typeof i1.MatchaLazyloadComponent, typeof i2.MatchaLazyloadDataComponent], [typeof i3.CommonModule], [typeof i1.MatchaLazyloadComponent, typeof i2.MatchaLazyloadDataComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaLazyloadModule>;
|
|
9
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MatchaMasonryComponent {
|
|
3
|
-
colSize: string | number | null;
|
|
4
|
-
smColSize: string | number | null;
|
|
5
|
-
mdColSize: string | number | null;
|
|
6
|
-
lgColSize: string | number | null;
|
|
7
|
-
xlColSize: string | number | null;
|
|
8
|
-
gap: string | number | null;
|
|
9
|
-
gapSm: string | number | null;
|
|
10
|
-
gapMd: string | number | null;
|
|
11
|
-
gapLg: string | number | null;
|
|
12
|
-
gapXl: string | number | null;
|
|
13
|
-
get classes(): string;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMasonryComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaMasonryComponent, "matcha-masonry", never, { "colSize": { "alias": "col"; "required": false; }; "smColSize": { "alias": "col-sm"; "required": false; }; "mdColSize": { "alias": "col-md"; "required": false; }; "lgColSize": { "alias": "col-lg"; "required": false; }; "xlColSize": { "alias": "col-xl"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "gapSm": { "alias": "gap-sm"; "required": false; }; "gapMd": { "alias": "gap-md"; "required": false; }; "gapLg": { "alias": "gap-lg"; "required": false; }; "gapXl": { "alias": "gap-xl"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
16
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./masonry/masonry.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class MatchaMasonryModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMasonryModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaMasonryModule, [typeof i1.MatchaMasonryComponent], [typeof i2.CommonModule], [typeof i1.MatchaMasonryComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaMasonryModule>;
|
|
8
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MatchaMenuComponent {
|
|
4
|
-
private _elementRef;
|
|
5
|
-
private _renderer;
|
|
6
|
-
isParentMenu: boolean;
|
|
7
|
-
isOpen: boolean;
|
|
8
|
-
constructor(_elementRef: ElementRef, _renderer: Renderer2);
|
|
9
|
-
handleOutsideClick(event: Event): void;
|
|
10
|
-
handleMouseLeave(event: MouseEvent): void;
|
|
11
|
-
openMenu(): void;
|
|
12
|
-
closeMenu(): void;
|
|
13
|
-
toggleMenu(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMenuComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaMenuComponent, "matcha-menu", ["matchaMenu"], { "isParentMenu": { "alias": "isParentMenu"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
16
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { MatchaMenuComponent } from './menu.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MatchaMenuTriggerForDirective {
|
|
5
|
-
private _elementRef;
|
|
6
|
-
private _renderer;
|
|
7
|
-
menu: MatchaMenuComponent;
|
|
8
|
-
constructor(_elementRef: ElementRef, _renderer: Renderer2);
|
|
9
|
-
onClick(event: Event): void;
|
|
10
|
-
onMouseEnter(): void;
|
|
11
|
-
onMouseLeave(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMenuTriggerForDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatchaMenuTriggerForDirective, "[matchaMenuTriggerFor]", ["matchaMenuTriggerFor"], { "menu": { "alias": "matchaMenuTriggerFor"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./menu.component";
|
|
3
|
-
import * as i2 from "./menu.directive";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
export declare class MatchaMenuModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaMenuModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaMenuModule, [typeof i1.MatchaMenuComponent, typeof i2.MatchaMenuTriggerForDirective], [typeof i3.CommonModule], [typeof i1.MatchaMenuComponent, typeof i2.MatchaMenuTriggerForDirective]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaMenuModule>;
|
|
9
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./modal-header/modal-header.component";
|
|
3
|
-
import * as i2 from "./modal-content/modal-content.component";
|
|
4
|
-
import * as i3 from "./modal-footer/modal-footer.component";
|
|
5
|
-
import * as i4 from "./modal-options/modal-options.component";
|
|
6
|
-
import * as i5 from "./modal/modal.component";
|
|
7
|
-
import * as i6 from "@angular/common";
|
|
8
|
-
import * as i7 from "../matcha-icon/icon.module";
|
|
9
|
-
import * as i8 from "../matcha-title/title.module";
|
|
10
|
-
import * as i9 from "../matcha-divider/divider.module";
|
|
11
|
-
import * as i10 from "../matcha-tooltip/tooltip.module";
|
|
12
|
-
import * as i11 from "../matcha-elevation/elevation.module";
|
|
13
|
-
export declare class MatchaModalModule {
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaModalModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaModalModule, [typeof i1.MatchaModalHeaderComponent, typeof i2.MatchaModalContentComponent, typeof i3.MatchaModalFooterComponent, typeof i4.MatchaModalOptionsComponent, typeof i5.MatchaModalComponent], [typeof i6.CommonModule, typeof i7.MatchaIconModule, typeof i8.MatchaTitleModule, typeof i9.MatchaDividerModule, typeof i10.MatchaTooltipModule, typeof i11.MatchaElevationModule], [typeof i1.MatchaModalHeaderComponent, typeof i2.MatchaModalContentComponent, typeof i3.MatchaModalFooterComponent, typeof i4.MatchaModalOptionsComponent, typeof i5.MatchaModalComponent]>;
|
|
16
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatchaModalModule>;
|
|
17
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MatchaModalComponent {
|
|
3
|
-
size: string | null;
|
|
4
|
-
sizeXs: string | null;
|
|
5
|
-
sizeSm: string | null;
|
|
6
|
-
sizeMd: string | null;
|
|
7
|
-
sizeLg: string | null;
|
|
8
|
-
sizeXl: string | null;
|
|
9
|
-
class: string;
|
|
10
|
-
hasBackdrop: boolean;
|
|
11
|
-
backdropClass: string;
|
|
12
|
-
get sizeAttr(): string | null;
|
|
13
|
-
get sizeAttrXs(): string | null;
|
|
14
|
-
get sizeAttrSm(): string | null;
|
|
15
|
-
get sizeAttrMd(): string | null;
|
|
16
|
-
get sizeAttrLg(): string | null;
|
|
17
|
-
get sizeAttrXl(): string | null;
|
|
18
|
-
get classes(): string;
|
|
19
|
-
constructor();
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaModalComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaModalComponent, "matcha-modal", never, { "size": { "alias": "size"; "required": false; }; "sizeXs": { "alias": "size-xs"; "required": false; }; "sizeSm": { "alias": "size-sm"; "required": false; }; "sizeMd": { "alias": "size-md"; "required": false; }; "sizeLg": { "alias": "size-lg"; "required": false; }; "sizeXl": { "alias": "size-xl"; "required": false; }; "class": { "alias": "class"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
22
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MatchaModalContentComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaModalContentComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaModalContentComponent, "matcha-modal-content", never, {}, {}, never, ["*"], false, never>;
|
|
5
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MatchaModalFooterComponent {
|
|
3
|
-
buttonType: number | string;
|
|
4
|
-
ngAfterViewInit(): void;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaModalFooterComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaModalFooterComponent, "matcha-modal-footer", never, { "buttonType": { "alias": ""; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
7
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MatchaModalHeaderComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaModalHeaderComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaModalHeaderComponent, "matcha-modal-header", never, {}, {}, never, ["*", "matcha-modal-options"], false, never>;
|
|
5
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MatchaModalOptionsComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaModalOptionsComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaModalOptionsComponent, "matcha-modal-options", never, {}, {}, never, ["*"], false, never>;
|
|
5
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { MatchaOverlayService } from './overlay.service';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface ModalComponent {
|
|
6
|
-
afterClose?: Observable<any>;
|
|
7
|
-
data?: any;
|
|
8
|
-
}
|
|
9
|
-
export declare class MatchaModalService {
|
|
10
|
-
private overlayService;
|
|
11
|
-
private afterCloseSubject;
|
|
12
|
-
private currentData;
|
|
13
|
-
constructor(overlayService: MatchaOverlayService);
|
|
14
|
-
open<T extends ModalComponent>(component: Type<T>, data?: any): {
|
|
15
|
-
componentRef: import("@angular/core").ComponentRef<T>;
|
|
16
|
-
afterClose: Observable<any>;
|
|
17
|
-
};
|
|
18
|
-
close(result?: any): void;
|
|
19
|
-
getData(): any;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaModalService, never>;
|
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MatchaModalService>;
|
|
22
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { ComponentRef, ApplicationRef, Injector, Type, RendererFactory2 } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Serviço responsável pela implementação técnica do overlay e backdrop dos modais.
|
|
5
|
-
*
|
|
6
|
-
* Este serviço lida com a criação e gerenciamento do container do overlay,
|
|
7
|
-
* criação do backdrop e manipulação do DOM. É um serviço de baixo nível
|
|
8
|
-
* utilizado internamente pelo MatchaModalService.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```typescript
|
|
12
|
-
* constructor(private overlayService: MatchaOverlayService) {}
|
|
13
|
-
*
|
|
14
|
-
* createOverlay() {
|
|
15
|
-
* this.overlayService.open(MyComponent);
|
|
16
|
-
* }
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare class MatchaOverlayService {
|
|
20
|
-
private appRef;
|
|
21
|
-
private injector;
|
|
22
|
-
private rendererFactory;
|
|
23
|
-
private overlayContainer;
|
|
24
|
-
private activeModal;
|
|
25
|
-
private backdrop;
|
|
26
|
-
private renderer;
|
|
27
|
-
constructor(appRef: ApplicationRef, injector: Injector, rendererFactory: RendererFactory2);
|
|
28
|
-
/**
|
|
29
|
-
* Cria o container do overlay se ainda não existir.
|
|
30
|
-
* O container é um elemento div que será usado para hospedar os modais.
|
|
31
|
-
*
|
|
32
|
-
* @private
|
|
33
|
-
*/
|
|
34
|
-
private createOverlayContainer;
|
|
35
|
-
/**
|
|
36
|
-
* Remove o container do overlay do DOM.
|
|
37
|
-
*
|
|
38
|
-
* @private
|
|
39
|
-
*/
|
|
40
|
-
private removeOverlayContainer;
|
|
41
|
-
/**
|
|
42
|
-
* Cria o backdrop do modal se ainda não existir.
|
|
43
|
-
* O backdrop é um elemento div que cria o efeito de escurecimento
|
|
44
|
-
* por trás do modal.
|
|
45
|
-
*
|
|
46
|
-
* @private
|
|
47
|
-
*/
|
|
48
|
-
private createBackdrop;
|
|
49
|
-
/**
|
|
50
|
-
* Remove o backdrop do modal do DOM.
|
|
51
|
-
*
|
|
52
|
-
* @private
|
|
53
|
-
*/
|
|
54
|
-
private removeBackdrop;
|
|
55
|
-
/**
|
|
56
|
-
* Abre um componente dentro de um modal.
|
|
57
|
-
*
|
|
58
|
-
* @param component - O componente que será exibido dentro do modal
|
|
59
|
-
* @param config - Configurações opcionais para o modal
|
|
60
|
-
* @returns Uma referência ao componente criado
|
|
61
|
-
*
|
|
62
|
-
* @example
|
|
63
|
-
* ```typescript
|
|
64
|
-
* const componentRef = this.overlayService.open(MyComponent, {
|
|
65
|
-
* data: { id: 1 }
|
|
66
|
-
* });
|
|
67
|
-
* ```
|
|
68
|
-
*/
|
|
69
|
-
open<T>(component: Type<T>, config?: any): ComponentRef<T>;
|
|
70
|
-
/**
|
|
71
|
-
* Fecha o modal atualmente aberto e remove o backdrop e o container.
|
|
72
|
-
*
|
|
73
|
-
* @example
|
|
74
|
-
* ```typescript
|
|
75
|
-
* this.overlayService.close();
|
|
76
|
-
* ```
|
|
77
|
-
*/
|
|
78
|
-
close(): void;
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaOverlayService, never>;
|
|
80
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MatchaOverlayService>;
|
|
81
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { MatchaOptionService } from '../matcha-option.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MatchaOptionComponent {
|
|
5
|
-
private changeDetectorRef;
|
|
6
|
-
private matchaOptionService;
|
|
7
|
-
value: any;
|
|
8
|
-
isOptionActive: boolean;
|
|
9
|
-
constructor(changeDetectorRef: ChangeDetectorRef, matchaOptionService: MatchaOptionService);
|
|
10
|
-
selectOption(): void;
|
|
11
|
-
setIsOptionActive(isOptionActive: boolean, isMouseEvent: boolean): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchaOptionComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatchaOptionComponent, "matcha-option", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
14
|
-
}
|