@natec/mef-dev-ui-kit 22.0.317 → 22.0.353
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/natec-mef-dev-ui-kit.mjs +4050 -108
- package/fesm2022/natec-mef-dev-ui-kit.mjs.map +1 -1
- package/package.json +4 -1
- package/src/lib/styles/_cards-grid-theme.scss +172 -0
- package/src/lib/styles/core.scss +5 -0
- package/src/lib/styles/fonts/google/lato/Lato-Light.ttf +0 -0
- package/src/lib/styles/fonts/google/lato/Lato-SemiBold.ttf +0 -0
- package/src/lib/styles/fonts/google/lato/OFL.txt +93 -0
- package/src/lib/styles/global.scss +16 -0
- package/src/lib/styles/theme.scss +15 -2
- package/src/lib/styles/toastr-bs4-alert.scss +2 -0
- package/src/lib/styles/toastr-bs5-alert.scss +2 -0
- package/src/lib/styles/toastr-old.scss +2 -0
- package/src/lib/styles/toastr.scss +251 -0
- package/src/lib/v2/cards-grid/md-grid-table.scss +7 -2
- package/src/lib/v2/cards-grid/md-grid.scss +194 -3
- package/types/natec-mef-dev-ui-kit.d.ts +1583 -56
- package/types/natec-mef-dev-ui-kit.d.ts.map +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, TemplateRef, AfterContentInit, OnChanges, OnDestroy, EventEmitter, ElementRef, SimpleChanges, AfterViewInit, QueryList, ViewContainerRef, Injector, ComponentRef, OnInit, AfterContentChecked, ChangeDetectorRef, AfterViewChecked, Optional, DoCheck, NgZone, PipeTransform, Binding, Type } from '@angular/core';
|
|
2
|
+
import { InjectionToken, TemplateRef, AfterContentInit, OnChanges, OnDestroy, EventEmitter, ElementRef, SimpleChanges, AfterViewInit, QueryList, ViewContainerRef, Injector, ComponentRef, OnInit, AfterContentChecked, ChangeDetectorRef, AfterViewChecked, Optional, DoCheck, NgZone, PipeTransform, Binding, Type, ApplicationRef, ModuleWithProviders, EnvironmentProviders } from '@angular/core';
|
|
3
3
|
import { CdkAccordion, CdkAccordionItem } from '@angular/cdk/accordion';
|
|
4
4
|
import * as i2 from '@angular/cdk/portal';
|
|
5
|
-
import { TemplatePortal, ComponentPortal, CdkPortalOutlet, CdkPortal, ComponentType as ComponentType$
|
|
5
|
+
import { TemplatePortal, ComponentPortal as ComponentPortal$1, CdkPortalOutlet, CdkPortal, ComponentType as ComponentType$2 } from '@angular/cdk/portal';
|
|
6
6
|
import * as rxjs from 'rxjs';
|
|
7
7
|
import { Subject, Observable, BehaviorSubject } from 'rxjs';
|
|
8
8
|
import * as i1 from '@angular/common';
|
|
9
|
-
import { FocusableOption, FocusOrigin, FocusKeyManager, ActiveDescendantKeyManager } from '@angular/cdk/a11y';
|
|
9
|
+
import { FocusableOption, FocusOrigin, FocusKeyManager, ActiveDescendantKeyManager, AriaLivePoliteness } from '@angular/cdk/a11y';
|
|
10
10
|
import * as i1$3 from '@angular/cdk/overlay';
|
|
11
|
-
import { ScrollStrategy, ComponentType, OverlayRef, FlexibleConnectedPositionStrategyOrigin, ViewportRuler, Overlay, CdkConnectedOverlay, ConnectedPosition } from '@angular/cdk/overlay';
|
|
11
|
+
import { ScrollStrategy, ComponentType as ComponentType$1, OverlayRef as OverlayRef$1, FlexibleConnectedPositionStrategyOrigin, ViewportRuler, Overlay as Overlay$1, CdkConnectedOverlay, ConnectedPosition } from '@angular/cdk/overlay';
|
|
12
12
|
import * as i1$2 from '@angular/cdk/dialog';
|
|
13
13
|
import { DialogConfig, CdkDialogContainer, DialogRef, Dialog, RestoreFocusValue } from '@angular/cdk/dialog';
|
|
14
14
|
import * as i7 from '@angular/cdk/bidi';
|
|
@@ -21,6 +21,8 @@ import * as i2$1 from '@angular/forms';
|
|
|
21
21
|
import { AbstractControl, FormGroupDirective, NgForm, ControlValueAccessor, NgControl, Validator, ValidationErrors } from '@angular/forms';
|
|
22
22
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
23
23
|
import { ModifierKey } from '@angular/cdk/keycodes';
|
|
24
|
+
import * as _natec_mef_dev_ui_kit from '@natec/mef-dev-ui-kit';
|
|
25
|
+
import * as i1$4 from '@angular/cdk/menu';
|
|
24
26
|
|
|
25
27
|
type AccordionDisplayMode = 'default' | 'flat';
|
|
26
28
|
type AccordionTogglePosition = 'before' | 'after';
|
|
@@ -565,7 +567,7 @@ declare class MDDialogContainer extends CdkDialogContainer<MefDevDialogConfig> i
|
|
|
565
567
|
* Decorates the root component host element with a class so that card/panel
|
|
566
568
|
* styles can target it specifically when used inside a dialog.
|
|
567
569
|
*/
|
|
568
|
-
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
570
|
+
attachComponentPortal<T>(portal: ComponentPortal$1<T>): ComponentRef<T>;
|
|
569
571
|
static ɵfac: i0.ɵɵFactoryDeclaration<MDDialogContainer, never>;
|
|
570
572
|
static ɵcmp: i0.ɵɵComponentDeclaration<MDDialogContainer, "md-dialog-container", never, {}, {}, never, never, true, never>;
|
|
571
573
|
}
|
|
@@ -726,9 +728,9 @@ declare class MDDialog implements OnDestroy {
|
|
|
726
728
|
readonly afterAllClosed: Observable<void>;
|
|
727
729
|
constructor();
|
|
728
730
|
/** Overload signatures for component vs template dialogs. */
|
|
729
|
-
open<T, D = any, R = any>(component: ComponentType<T>, config?: MefDevDialogConfig<D>): MefDevDialogRef<T, R>;
|
|
731
|
+
open<T, D = any, R = any>(component: ComponentType$1<T>, config?: MefDevDialogConfig<D>): MefDevDialogRef<T, R>;
|
|
730
732
|
open<T, D = any, R = any>(template: TemplateRef<T>, config?: MefDevDialogConfig<D>): MefDevDialogRef<T, R>;
|
|
731
|
-
open<T, D = any, R = any>(template: ComponentType<T> | TemplateRef<T>, config?: MefDevDialogConfig<D>): MefDevDialogRef<T, R>;
|
|
733
|
+
open<T, D = any, R = any>(template: ComponentType$1<T> | TemplateRef<T>, config?: MefDevDialogConfig<D>): MefDevDialogRef<T, R>;
|
|
732
734
|
/** Closes all currently open dialogs (in stack order). */
|
|
733
735
|
closeAll(): void;
|
|
734
736
|
/** Finds an open dialog by id (if any). */
|
|
@@ -1565,7 +1567,7 @@ declare abstract class MDMenuTriggerBase implements OnDestroy {
|
|
|
1565
1567
|
private _scrollStrategy;
|
|
1566
1568
|
private _changeDetectorRef;
|
|
1567
1569
|
private _portal;
|
|
1568
|
-
protected _overlayRef: OverlayRef | null;
|
|
1570
|
+
protected _overlayRef: OverlayRef$1 | null;
|
|
1569
1571
|
private _menuOpen;
|
|
1570
1572
|
private _closingActionsSubscription;
|
|
1571
1573
|
private _menuCloseSubscription;
|
|
@@ -1580,7 +1582,7 @@ declare abstract class MDMenuTriggerBase implements OnDestroy {
|
|
|
1580
1582
|
abstract menuOpened: EventEmitter<void>;
|
|
1581
1583
|
abstract menuClosed: EventEmitter<void>;
|
|
1582
1584
|
protected abstract _getOverlayOrigin(): FlexibleConnectedPositionStrategyOrigin;
|
|
1583
|
-
protected abstract _getOutsideClickStream(overlayRef: OverlayRef): Observable<unknown>;
|
|
1585
|
+
protected abstract _getOutsideClickStream(overlayRef: OverlayRef$1): Observable<unknown>;
|
|
1584
1586
|
constructor(_canHaveBackdrop: boolean);
|
|
1585
1587
|
ngOnDestroy(): void;
|
|
1586
1588
|
get menuOpen(): boolean;
|
|
@@ -1624,7 +1626,7 @@ declare class MDMenuTrigger extends MDMenuTriggerBase implements AfterContentIni
|
|
|
1624
1626
|
ngAfterContentInit(): void;
|
|
1625
1627
|
ngOnDestroy(): void;
|
|
1626
1628
|
protected _getOverlayOrigin(): i0.ElementRef<HTMLElement>;
|
|
1627
|
-
protected _getOutsideClickStream(overlayRef: OverlayRef): rxjs.Observable<MouseEvent>;
|
|
1629
|
+
protected _getOutsideClickStream(overlayRef: OverlayRef$1): rxjs.Observable<MouseEvent>;
|
|
1628
1630
|
_handleMousedown(event: MouseEvent): void;
|
|
1629
1631
|
_handleKeydown(event: KeyboardEvent): void;
|
|
1630
1632
|
_handleClick(event: MouseEvent): void;
|
|
@@ -1660,7 +1662,7 @@ declare class MDContextMenuTrigger extends MDMenuTriggerBase implements OnDestro
|
|
|
1660
1662
|
initialScrollX: number;
|
|
1661
1663
|
initialScrollY: number;
|
|
1662
1664
|
};
|
|
1663
|
-
protected _getOutsideClickStream(overlayRef: OverlayRef): rxjs.Observable<MouseEvent>;
|
|
1665
|
+
protected _getOutsideClickStream(overlayRef: OverlayRef$1): rxjs.Observable<MouseEvent>;
|
|
1664
1666
|
private _isWithinMenuOrTrigger;
|
|
1665
1667
|
private _openContextMenu;
|
|
1666
1668
|
private _initializePoint;
|
|
@@ -1897,7 +1899,7 @@ declare class MDSelect implements OnInit, OnChanges, OnDestroy, ControlValueAcce
|
|
|
1897
1899
|
/** Host element reference. */
|
|
1898
1900
|
readonly _elementRef: ElementRef<HTMLElement>;
|
|
1899
1901
|
/** CDK Overlay service. */
|
|
1900
|
-
readonly _overlay: Overlay;
|
|
1902
|
+
readonly _overlay: Overlay$1;
|
|
1901
1903
|
/** RTL/LTR direction (optional). */
|
|
1902
1904
|
private _dir;
|
|
1903
1905
|
/** Emits once content is fully initialized. */
|
|
@@ -2718,6 +2720,8 @@ declare class MDTabLabelWrapper extends InkBarItem {
|
|
|
2718
2720
|
* @default false
|
|
2719
2721
|
*/
|
|
2720
2722
|
disabled: boolean;
|
|
2723
|
+
overflowLabel: string | TemplateRef<any>;
|
|
2724
|
+
get overflowTemplate(): TemplateRef<any> | null;
|
|
2721
2725
|
/** Programmatically moves focus to the label element. */
|
|
2722
2726
|
focus(): void;
|
|
2723
2727
|
/** Horizontal offset used to position the ink bar. */
|
|
@@ -2725,44 +2729,11 @@ declare class MDTabLabelWrapper extends InkBarItem {
|
|
|
2725
2729
|
/** Element width used to size the ink bar. */
|
|
2726
2730
|
getOffsetWidth(): number;
|
|
2727
2731
|
static ɵfac: i0.ɵɵFactoryDeclaration<MDTabLabelWrapper, never>;
|
|
2728
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MDTabLabelWrapper, "[mdTabLabelWrapper]", never, { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
2732
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MDTabLabelWrapper, "[mdTabLabelWrapper]", never, { "disabled": { "alias": "disabled"; "required": false; }; "overflowLabel": { "alias": "overflowLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
2729
2733
|
static ngAcceptInputType_disabled: unknown;
|
|
2730
2734
|
}
|
|
2731
2735
|
|
|
2732
|
-
|
|
2733
|
-
/** All direct tab label wrappers (no deep descendants). */
|
|
2734
|
-
_items: QueryList<MDTabLabelWrapper>;
|
|
2735
|
-
/** Container element around the scrolling tab list (used for clipping/scroll). */
|
|
2736
|
-
_tabListContainer: ElementRef;
|
|
2737
|
-
/** The scrollable tab list element. */
|
|
2738
|
-
_tabList: ElementRef;
|
|
2739
|
-
/** Inner wrapper of the tab list (helps with measurements). */
|
|
2740
|
-
_tabListInner: ElementRef;
|
|
2741
|
-
/** Next-page paginator button element (when overflow occurs). */
|
|
2742
|
-
_nextPaginator: ElementRef<HTMLElement>;
|
|
2743
|
-
/** Previous-page paginator button element (when overflow occurs). */
|
|
2744
|
-
_previousPaginator: ElementRef<HTMLElement>;
|
|
2745
|
-
/** Ink bar instance responsible for active-underline positioning. */
|
|
2746
|
-
_inkBar: InkBar;
|
|
2747
|
-
/** Accessible name for the tablist region (if no external labelling). */
|
|
2748
|
-
ariaLabel: string;
|
|
2749
|
-
/** Id of element that labels this tablist for a11y. */
|
|
2750
|
-
ariaLabelledby: string;
|
|
2751
|
-
/**
|
|
2752
|
-
* After content is available, initialize the ink bar with current items
|
|
2753
|
-
* and let the base header wire scrolling/pagination behaviors.
|
|
2754
|
-
*/
|
|
2755
|
-
ngAfterContentInit(): void;
|
|
2756
|
-
/**
|
|
2757
|
-
* Keyboard selection handler at the header level.
|
|
2758
|
-
* Prevents default browser behavior; actual selection logic is handled
|
|
2759
|
-
* by the parent container or the base class.
|
|
2760
|
-
*/
|
|
2761
|
-
protected _itemSelected(event: KeyboardEvent): void;
|
|
2762
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MDTabHeader, never>;
|
|
2763
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MDTabHeader, "md-tab-header", never, { "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, {}, ["_items"], ["*"], true, never>;
|
|
2764
|
-
}
|
|
2765
|
-
|
|
2736
|
+
type TabOverflowMode = 'scroll' | 'menu';
|
|
2766
2737
|
type LegacySize = 'small' | 'medium' | 'large';
|
|
2767
2738
|
type MDTabGroupColor = 'primary' | 'accent' | 'warn';
|
|
2768
2739
|
/** Interface exposed by tab header implementations used by the group. */
|
|
@@ -2797,6 +2768,9 @@ declare class MDTabGroup implements AfterViewInit, AfterContentInit, AfterConten
|
|
|
2797
2768
|
private _lastFocusedTabIndex;
|
|
2798
2769
|
/** Cached wrapper height for dynamicHeight animations. */
|
|
2799
2770
|
private _tabBodyWrapperHeight;
|
|
2771
|
+
/** How overflowing labels are accessed. Existing arrow pagination remains the default. */
|
|
2772
|
+
overflowMode: TabOverflowMode;
|
|
2773
|
+
overflowLabel: string;
|
|
2800
2774
|
isLegacyMode: boolean;
|
|
2801
2775
|
hideInkBar: boolean;
|
|
2802
2776
|
legacySize: LegacySize;
|
|
@@ -2921,7 +2895,7 @@ declare class MDTabGroup implements AfterViewInit, AfterContentInit, AfterConten
|
|
|
2921
2895
|
/** Disable animations when duration is explicitly zero. */
|
|
2922
2896
|
protected _animationsDisabled(): boolean;
|
|
2923
2897
|
static ɵfac: i0.ɵɵFactoryDeclaration<MDTabGroup, never>;
|
|
2924
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MDTabGroup, "md-tab-group", ["mdTabGroup"], { "color": { "alias": "color"; "required": false; }; "isLegacyMode": { "alias": "isLegacyMode"; "required": false; }; "hideInkBar": { "alias": "hideInkBar"; "required": false; }; "legacySize": { "alias": "legacySize"; "required": false; }; "tabBackgroundColor": { "alias": "tabBackgroundColor"; "required": false; }; "tabPadding": { "alias": "tabPadding"; "required": false; }; "fitInkBarToContent": { "alias": "fitInkBarToContent"; "required": false; }; "stretchTabs": { "alias": "md-stretch-tabs"; "required": false; }; "alignTabs": { "alias": "md-align-tabs"; "required": false; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "headerPosition": { "alias": "headerPosition"; "required": false; }; "animationDisabled": { "alias": "animationDisabled"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "contentTabIndex": { "alias": "contentTabIndex"; "required": false; }; "disablePagination": { "alias": "disablePagination"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "preserveContent": { "alias": "preserveContent"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; "focusChange": "focusChange"; "animationDone": "animationDone"; "selectedTabChange": "selectedTabChange"; }, ["_allTabs"], ["*"], true, never>;
|
|
2898
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDTabGroup, "md-tab-group", ["mdTabGroup"], { "color": { "alias": "color"; "required": false; }; "overflowMode": { "alias": "overflowMode"; "required": false; }; "overflowLabel": { "alias": "overflowLabel"; "required": false; }; "isLegacyMode": { "alias": "isLegacyMode"; "required": false; }; "hideInkBar": { "alias": "hideInkBar"; "required": false; }; "legacySize": { "alias": "legacySize"; "required": false; }; "tabBackgroundColor": { "alias": "tabBackgroundColor"; "required": false; }; "tabPadding": { "alias": "tabPadding"; "required": false; }; "fitInkBarToContent": { "alias": "fitInkBarToContent"; "required": false; }; "stretchTabs": { "alias": "md-stretch-tabs"; "required": false; }; "alignTabs": { "alias": "md-align-tabs"; "required": false; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "headerPosition": { "alias": "headerPosition"; "required": false; }; "animationDisabled": { "alias": "animationDisabled"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "contentTabIndex": { "alias": "contentTabIndex"; "required": false; }; "disablePagination": { "alias": "disablePagination"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "preserveContent": { "alias": "preserveContent"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; "focusChange": "focusChange"; "animationDone": "animationDone"; "selectedTabChange": "selectedTabChange"; }, ["_allTabs"], ["*"], true, never>;
|
|
2925
2899
|
static ngAcceptInputType_fitInkBarToContent: unknown;
|
|
2926
2900
|
static ngAcceptInputType_stretchTabs: unknown;
|
|
2927
2901
|
static ngAcceptInputType_dynamicHeight: unknown;
|
|
@@ -2939,6 +2913,63 @@ declare class MDTabChangeEvent {
|
|
|
2939
2913
|
tab: MDTab;
|
|
2940
2914
|
}
|
|
2941
2915
|
|
|
2916
|
+
declare class MDTabHeader extends PaginatedTabHeader implements AfterContentChecked, AfterContentInit, AfterViewInit, OnDestroy {
|
|
2917
|
+
overflowMode: TabOverflowMode;
|
|
2918
|
+
overflowLabel: string;
|
|
2919
|
+
overflowTrigger?: MDMenuTrigger;
|
|
2920
|
+
moreButton?: ElementRef<HTMLButtonElement>;
|
|
2921
|
+
readonly hiddenIndices: i0.WritableSignal<number[]>;
|
|
2922
|
+
private overflowResize?;
|
|
2923
|
+
private overflowFrame?;
|
|
2924
|
+
private pendingOverflowIndex?;
|
|
2925
|
+
private previousMode;
|
|
2926
|
+
private overflowDestroyed;
|
|
2927
|
+
isOverflowHidden(index: number): boolean;
|
|
2928
|
+
ngAfterViewInit(): void;
|
|
2929
|
+
ngAfterContentChecked(): void;
|
|
2930
|
+
_checkPaginationEnabled(): void;
|
|
2931
|
+
_scrollToLabel(index: number): void;
|
|
2932
|
+
_updateTabScrollPosition(): void;
|
|
2933
|
+
_setTabFocus(index: number): void;
|
|
2934
|
+
restoreOverflowFocus(): void;
|
|
2935
|
+
selectOverflow(index: number): void;
|
|
2936
|
+
private labelMeasurements;
|
|
2937
|
+
private scheduleOverflow;
|
|
2938
|
+
private measureOverflow;
|
|
2939
|
+
ngOnDestroy(): void;
|
|
2940
|
+
/** All direct tab label wrappers (no deep descendants). */
|
|
2941
|
+
_items: QueryList<MDTabLabelWrapper>;
|
|
2942
|
+
/** Container element around the scrolling tab list (used for clipping/scroll). */
|
|
2943
|
+
_tabListContainer: ElementRef;
|
|
2944
|
+
/** The scrollable tab list element. */
|
|
2945
|
+
_tabList: ElementRef;
|
|
2946
|
+
/** Inner wrapper of the tab list (helps with measurements). */
|
|
2947
|
+
_tabListInner: ElementRef;
|
|
2948
|
+
/** Next-page paginator button element (when overflow occurs). */
|
|
2949
|
+
_nextPaginator: ElementRef<HTMLElement>;
|
|
2950
|
+
/** Previous-page paginator button element (when overflow occurs). */
|
|
2951
|
+
_previousPaginator: ElementRef<HTMLElement>;
|
|
2952
|
+
/** Ink bar instance responsible for active-underline positioning. */
|
|
2953
|
+
_inkBar: InkBar;
|
|
2954
|
+
/** Accessible name for the tablist region (if no external labelling). */
|
|
2955
|
+
ariaLabel: string;
|
|
2956
|
+
/** Id of element that labels this tablist for a11y. */
|
|
2957
|
+
ariaLabelledby: string;
|
|
2958
|
+
/**
|
|
2959
|
+
* After content is available, initialize the ink bar with current items
|
|
2960
|
+
* and let the base header wire scrolling/pagination behaviors.
|
|
2961
|
+
*/
|
|
2962
|
+
ngAfterContentInit(): void;
|
|
2963
|
+
/**
|
|
2964
|
+
* Keyboard selection handler at the header level.
|
|
2965
|
+
* Prevents default browser behavior; actual selection logic is handled
|
|
2966
|
+
* by the parent container or the base class.
|
|
2967
|
+
*/
|
|
2968
|
+
protected _itemSelected(event: KeyboardEvent): void;
|
|
2969
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDTabHeader, never>;
|
|
2970
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDTabHeader, "md-tab-header", never, { "overflowMode": { "alias": "overflowMode"; "required": false; }; "overflowLabel": { "alias": "overflowLabel"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, {}, ["_items"], ["*"], true, never>;
|
|
2971
|
+
}
|
|
2972
|
+
|
|
2942
2973
|
declare class MDTabNav extends PaginatedTabHeader implements AfterContentChecked, AfterContentInit, AfterViewInit {
|
|
2943
2974
|
_focusedItem: i0.WritableSignal<MDTabLink | null>;
|
|
2944
2975
|
get fitInkBarToContent(): boolean;
|
|
@@ -4276,6 +4307,8 @@ interface SortPropDir {
|
|
|
4276
4307
|
interface GridSortEvent {
|
|
4277
4308
|
active: string;
|
|
4278
4309
|
direction: SortDirection;
|
|
4310
|
+
/** Full ordered sorting state, including multi-column priorities. */
|
|
4311
|
+
sorts?: SortPropDir[];
|
|
4279
4312
|
}
|
|
4280
4313
|
/**
|
|
4281
4314
|
* Page event emitted when pagination changes
|
|
@@ -4407,6 +4440,12 @@ interface GridColumn<T = any> {
|
|
|
4407
4440
|
/** @deprecated Use GridEditContext instead */
|
|
4408
4441
|
type CardsGridEditContext<T = any> = GridEditContext<T>;
|
|
4409
4442
|
type ColumnEventType = 'sizeColumnsToFit' | 'autosizeColumns' | 'flex' | 'gridInitializing' | 'uiColumnResized';
|
|
4443
|
+
/** Stable column id (columnId or prop) and persisted presentation. */
|
|
4444
|
+
interface GridColumnState {
|
|
4445
|
+
id: string;
|
|
4446
|
+
width?: number;
|
|
4447
|
+
hidden?: boolean;
|
|
4448
|
+
}
|
|
4410
4449
|
|
|
4411
4450
|
declare class MDGridCellTemplateDirective<T = any> {
|
|
4412
4451
|
static ngTemplateContextGuard<T>(dir: MDGridCellTemplateDirective<T>, ctx: unknown): ctx is GridCellContext<T>;
|
|
@@ -4435,6 +4474,7 @@ type CellClassContext<T> = {
|
|
|
4435
4474
|
type HeaderClassFn<T> = (data: HeaderClassContext<T>) => ClassValue;
|
|
4436
4475
|
type CellClassFn<T> = (data: CellClassContext<T>) => ClassValue;
|
|
4437
4476
|
declare class MDGridColumnDirective<T = any> implements GridColumn<T>, OnChanges {
|
|
4477
|
+
columnId?: string;
|
|
4438
4478
|
name?: string;
|
|
4439
4479
|
prop?: string;
|
|
4440
4480
|
mobileRole: GridColumnMobileRole;
|
|
@@ -4473,7 +4513,7 @@ declare class MDGridColumnDirective<T = any> implements GridColumn<T>, OnChanges
|
|
|
4473
4513
|
resetActualWidth(source: ColumnEventType): void;
|
|
4474
4514
|
private calculateColInitialWidth;
|
|
4475
4515
|
static ɵfac: i0.ɵɵFactoryDeclaration<MDGridColumnDirective<any>, never>;
|
|
4476
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MDGridColumnDirective<any>, "md-grid-column", never, { "name": { "alias": "name"; "required": false; }; "prop": { "alias": "prop"; "required": false; }; "mobileRole": { "alias": "mobileRole"; "required": false; }; "width": { "alias": "width"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "flex": { "alias": "flex"; "required": false; }; "suppressSizeToFit": { "alias": "suppressSizeToFit"; "required": false; }; "suppressAutoSize": { "alias": "suppressAutoSize"; "required": false; }; "resizeable": { "alias": "resizeable"; "required": false; }; "pinned": { "alias": "pinned"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "comparator": { "alias": "comparator"; "required": false; }; "pipe": { "alias": "pipe"; "required": false; }; "headerClass": { "alias": "headerClass"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; "editTemplate": { "alias": "editTemplate"; "required": false; }; }, { "colDefChange": "colDefChange"; }, ["contentCellTemplate", "contentHeaderTemplate", "contentEditTemplate"], never, true, never>;
|
|
4516
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MDGridColumnDirective<any>, "md-grid-column", never, { "columnId": { "alias": "columnId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "prop": { "alias": "prop"; "required": false; }; "mobileRole": { "alias": "mobileRole"; "required": false; }; "width": { "alias": "width"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "flex": { "alias": "flex"; "required": false; }; "suppressSizeToFit": { "alias": "suppressSizeToFit"; "required": false; }; "suppressAutoSize": { "alias": "suppressAutoSize"; "required": false; }; "resizeable": { "alias": "resizeable"; "required": false; }; "pinned": { "alias": "pinned"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "comparator": { "alias": "comparator"; "required": false; }; "pipe": { "alias": "pipe"; "required": false; }; "headerClass": { "alias": "headerClass"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; "editTemplate": { "alias": "editTemplate"; "required": false; }; }, { "colDefChange": "colDefChange"; }, ["contentCellTemplate", "contentHeaderTemplate", "contentEditTemplate"], never, true, never>;
|
|
4477
4517
|
static ngAcceptInputType_width: unknown;
|
|
4478
4518
|
static ngAcceptInputType_minWidth: unknown;
|
|
4479
4519
|
static ngAcceptInputType_maxWidth: unknown;
|
|
@@ -4505,12 +4545,59 @@ declare class MDGridToolbarTemplateDirective {
|
|
|
4505
4545
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MDGridToolbarTemplateDirective, "[mdGridToolbarTemplate]", never, {}, {}, never, never, true, never>;
|
|
4506
4546
|
}
|
|
4507
4547
|
|
|
4508
|
-
declare class MDGridComponent<T extends Record<string, any> = any> implements AfterContentInit, OnChanges {
|
|
4548
|
+
declare class MDGridComponent<T extends Record<string, any> = any> implements AfterContentInit, OnChanges, OnDestroy {
|
|
4509
4549
|
private _cdr;
|
|
4510
4550
|
private host;
|
|
4511
4551
|
private zone;
|
|
4552
|
+
private readonly document;
|
|
4553
|
+
private readonly destroyRef;
|
|
4554
|
+
private readonly isBrowser;
|
|
4555
|
+
private destroyed;
|
|
4556
|
+
private resizeObserver?;
|
|
4557
|
+
private resizePointerId?;
|
|
4558
|
+
loading: boolean;
|
|
4559
|
+
loadingMessage: string;
|
|
4560
|
+
error: string | null;
|
|
4561
|
+
retryLabel: string;
|
|
4562
|
+
loadingTemplate?: TemplateRef<void>;
|
|
4563
|
+
errorTemplate?: TemplateRef<{
|
|
4564
|
+
$implicit: string;
|
|
4565
|
+
retry: () => void;
|
|
4566
|
+
}>;
|
|
4567
|
+
retry: EventEmitter<void>;
|
|
4568
|
+
readonly retryLoad: () => void;
|
|
4569
|
+
columnState: GridColumnState[];
|
|
4570
|
+
columnStateChange: EventEmitter<GridColumnState[]>;
|
|
4571
|
+
/** Optional, consumer-scoped localStorage key. Storage failure never blocks rendering. */
|
|
4572
|
+
columnStateKey?: string;
|
|
4573
|
+
showColumnChooser: boolean;
|
|
4574
|
+
columnsLabel: string;
|
|
4575
|
+
selectable: boolean;
|
|
4576
|
+
selectedKeys: unknown[];
|
|
4577
|
+
selectedKeysChange: EventEmitter<unknown[]>;
|
|
4578
|
+
selectPageLabel: string;
|
|
4579
|
+
selectRowLabel: string;
|
|
4580
|
+
rowSelectable: (row: T) => boolean;
|
|
4581
|
+
get allColumns(): MDGridColumnDirective<T>[];
|
|
4582
|
+
columnId(column: MDGridColumnDirective<T>): string;
|
|
4583
|
+
isColumnHidden(column: MDGridColumnDirective<T>): boolean;
|
|
4584
|
+
setColumnVisible(column: MDGridColumnDirective<T>, visible: boolean): void;
|
|
4585
|
+
private restoreColumnState;
|
|
4586
|
+
private applyColumnState;
|
|
4587
|
+
private publishColumnState;
|
|
4588
|
+
get selectionEnabled(): boolean;
|
|
4589
|
+
isRowSelected(row: T): boolean;
|
|
4590
|
+
get selectablePageRows(): T[];
|
|
4591
|
+
get pageSelected(): boolean;
|
|
4592
|
+
get pagePartiallySelected(): boolean;
|
|
4593
|
+
toggleRow(row: T, checked: boolean): void;
|
|
4594
|
+
togglePage(checked: boolean): void;
|
|
4595
|
+
ariaLabel: string;
|
|
4596
|
+
resizeLabel: string;
|
|
4597
|
+
rowActionsWidth: number;
|
|
4512
4598
|
rows: T[];
|
|
4513
|
-
trackByKey: null;
|
|
4599
|
+
trackByKey: keyof T | null;
|
|
4600
|
+
rowsChange: EventEmitter<T[]>;
|
|
4514
4601
|
groupRowsBy?: keyof T | ((row: T) => any);
|
|
4515
4602
|
groupHeaderTemplate?: TemplateRef<{
|
|
4516
4603
|
group: GroupedRows<T>;
|
|
@@ -4524,6 +4611,7 @@ declare class MDGridComponent<T extends Record<string, any> = any> implements Af
|
|
|
4524
4611
|
cancelFn: () => void;
|
|
4525
4612
|
}>;
|
|
4526
4613
|
headerHeight: number;
|
|
4614
|
+
cellTabNavigation: boolean;
|
|
4527
4615
|
cardHeight: number | 'auto';
|
|
4528
4616
|
gap: number;
|
|
4529
4617
|
defaultColumnWidth: number;
|
|
@@ -4535,6 +4623,7 @@ declare class MDGridComponent<T extends Record<string, any> = any> implements Af
|
|
|
4535
4623
|
defaultMaxColumnWidth: number;
|
|
4536
4624
|
columnResize: EventEmitter<GridColumnResizeEvent>;
|
|
4537
4625
|
sorts: SortPropDir[];
|
|
4626
|
+
sortsChange: EventEmitter<SortPropDir[]>;
|
|
4538
4627
|
sortType: SortType;
|
|
4539
4628
|
mdSortActive: string;
|
|
4540
4629
|
mdSortDirection: string;
|
|
@@ -4569,6 +4658,7 @@ declare class MDGridComponent<T extends Record<string, any> = any> implements Af
|
|
|
4569
4658
|
_displayRows: T[];
|
|
4570
4659
|
_groupedRows: GroupedRows<T>[] | null;
|
|
4571
4660
|
private _originalEditRow;
|
|
4661
|
+
private originalEditSnapshot;
|
|
4572
4662
|
_editingRowCopy: T | null;
|
|
4573
4663
|
_editingRowIndex: number;
|
|
4574
4664
|
_resizingColumn: MDGridColumnDirective<T> | null;
|
|
@@ -4576,6 +4666,12 @@ declare class MDGridComponent<T extends Record<string, any> = any> implements Af
|
|
|
4576
4666
|
private _resizeStartWidth;
|
|
4577
4667
|
get totalSpace(): number;
|
|
4578
4668
|
get columns(): MDGridColumnDirective<T>[];
|
|
4669
|
+
get hasPinnedColumns(): boolean;
|
|
4670
|
+
get hasRightPinnedColumns(): boolean;
|
|
4671
|
+
get scrollbarWidth(): number;
|
|
4672
|
+
getPinnedOffset(column: MDGridColumnDirective<T>): number | null;
|
|
4673
|
+
getHeaderClass(column: MDGridColumnDirective<T>): string | Record<string, boolean>;
|
|
4674
|
+
getCellClass(row: T, column: MDGridColumnDirective<T>): string | Record<string, boolean>;
|
|
4579
4675
|
get toolbarContext(): MDGridToolbarContext<T>;
|
|
4580
4676
|
gridInited: boolean;
|
|
4581
4677
|
get actualWidthSum(): number;
|
|
@@ -4605,15 +4701,20 @@ declare class MDGridComponent<T extends Record<string, any> = any> implements Af
|
|
|
4605
4701
|
currentSortCol: MDGridColumnDirective<T> | null;
|
|
4606
4702
|
currentSortDirection: SortDirection | undefined;
|
|
4607
4703
|
start: SortDirection;
|
|
4704
|
+
private syncSortState;
|
|
4608
4705
|
onColumnSort(column: MDGridColumnDirective<T>): void;
|
|
4609
4706
|
getSortDir(column: MDGridColumnDirective<T>): SortDirection | undefined;
|
|
4707
|
+
getAriaSort(column: MDGridColumnDirective<T>): 'ascending' | 'descending' | 'none' | null;
|
|
4708
|
+
getSortDescription(column: MDGridColumnDirective<T>): string | null;
|
|
4610
4709
|
getSortClass(column: MDGridColumnDirective<T>): string;
|
|
4611
4710
|
isColumnResizeable(column: MDGridColumnDirective<T>): boolean;
|
|
4612
4711
|
isFirstActionColumn(column: MDGridColumnDirective<T>): boolean;
|
|
4613
4712
|
isLastActionColumn(column: MDGridColumnDirective<T>): boolean;
|
|
4614
|
-
onResizeStart(event:
|
|
4713
|
+
onResizeStart(event: PointerEvent, column: MDGridColumnDirective<T>): void;
|
|
4615
4714
|
private _onResizeMove;
|
|
4616
4715
|
private _onResizeEnd;
|
|
4716
|
+
private removeResizeListeners;
|
|
4717
|
+
onResizeKeydown(event: KeyboardEvent, column: MDGridColumnDirective<T>): void;
|
|
4617
4718
|
get _paginatorCount(): number;
|
|
4618
4719
|
onPaginatorPage(event: PaginatorPageEvent): void;
|
|
4619
4720
|
onPaginatorPageSizeChange(newSize: number): void;
|
|
@@ -4643,8 +4744,13 @@ declare class MDGridComponent<T extends Record<string, any> = any> implements Af
|
|
|
4643
4744
|
private destroyFns;
|
|
4644
4745
|
syncScroll(): void;
|
|
4645
4746
|
static ɵfac: i0.ɵɵFactoryDeclaration<MDGridComponent<any>, never>;
|
|
4646
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MDGridComponent<any>, "md-grid", ["mdGrid"], { "rows": { "alias": "rows"; "required": false; }; "trackByKey": { "alias": "trackByKey"; "required": false; }; "groupRowsBy": { "alias": "groupRowsBy"; "required": false; }; "groupHeaderTemplate": { "alias": "groupHeaderTemplate"; "required": false; }; "rowActionsTemplate": { "alias": "rowActionsTemplate"; "required": false; }; "headerHeight": { "alias": "headerHeight"; "required": false; }; "cardHeight": { "alias": "cardHeight"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "defaultColumnWidth": { "alias": "defaultColumnWidth"; "required": false; }; "showRowActions": { "alias": "showRowActions"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "enableColumnResize": { "alias": "enableColumnResize"; "required": false; }; "defaultMinColumnWidth": { "alias": "defaultMinColumnWidth"; "required": false; }; "defaultMaxColumnWidth": { "alias": "defaultMaxColumnWidth"; "required": false; }; "sorts": { "alias": "sorts"; "required": false; }; "sortType": { "alias": "sortType"; "required": false; }; "mdSortActive": { "alias": "mdSortActive"; "required": false; }; "mdSortDirection": { "alias": "mdSortDirection"; "required": false; }; "externalSorting": { "alias": "externalSorting"; "required": false; }; "enableClearingSortState": { "alias": "enableClearingSortState"; "required": false; }; "sortAscendingIcon": { "alias": "sortAscendingIcon"; "required": false; }; "sortDescendingIcon": { "alias": "sortDescendingIcon"; "required": false; }; "sortUnsetIcon": { "alias": "sortUnsetIcon"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "count": { "alias": "count"; "required": false; }; "externalPaging": { "alias": "externalPaging"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "footerHeight": { "alias": "footerHeight"; "required": false; }; "autosizeStrategy": { "alias": "autosizeStrategy"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "editingRow": { "alias": "editingRow"; "required": false; }; }, { "columnResize": "columnResize"; "sort": "sort"; "page": "page"; "pageSizeChange": "pageSizeChange"; "editingRowChange": "editingRowChange"; "rowEditStart": "rowEditStart"; "rowEditSave": "rowEditSave"; "rowEditCancel": "rowEditCancel"; "inited": "inited"; "firstTimeVisible": "firstTimeVisible"; "layoutReady": "layoutReady"; }, ["columns__", "toolbarTemplate", "_columnDirectives"], never, true, never>;
|
|
4747
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDGridComponent<any>, "md-grid", ["mdGrid"], { "loading": { "alias": "loading"; "required": false; }; "loadingMessage": { "alias": "loadingMessage"; "required": false; }; "error": { "alias": "error"; "required": false; }; "retryLabel": { "alias": "retryLabel"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "errorTemplate": { "alias": "errorTemplate"; "required": false; }; "columnState": { "alias": "columnState"; "required": false; }; "columnStateKey": { "alias": "columnStateKey"; "required": false; }; "showColumnChooser": { "alias": "showColumnChooser"; "required": false; }; "columnsLabel": { "alias": "columnsLabel"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "selectedKeys": { "alias": "selectedKeys"; "required": false; }; "selectPageLabel": { "alias": "selectPageLabel"; "required": false; }; "selectRowLabel": { "alias": "selectRowLabel"; "required": false; }; "rowSelectable": { "alias": "rowSelectable"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "resizeLabel": { "alias": "resizeLabel"; "required": false; }; "rowActionsWidth": { "alias": "rowActionsWidth"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "trackByKey": { "alias": "trackByKey"; "required": false; }; "groupRowsBy": { "alias": "groupRowsBy"; "required": false; }; "groupHeaderTemplate": { "alias": "groupHeaderTemplate"; "required": false; }; "rowActionsTemplate": { "alias": "rowActionsTemplate"; "required": false; }; "headerHeight": { "alias": "headerHeight"; "required": false; }; "cellTabNavigation": { "alias": "cellTabNavigation"; "required": false; }; "cardHeight": { "alias": "cardHeight"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "defaultColumnWidth": { "alias": "defaultColumnWidth"; "required": false; }; "showRowActions": { "alias": "showRowActions"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "enableColumnResize": { "alias": "enableColumnResize"; "required": false; }; "defaultMinColumnWidth": { "alias": "defaultMinColumnWidth"; "required": false; }; "defaultMaxColumnWidth": { "alias": "defaultMaxColumnWidth"; "required": false; }; "sorts": { "alias": "sorts"; "required": false; }; "sortType": { "alias": "sortType"; "required": false; }; "mdSortActive": { "alias": "mdSortActive"; "required": false; }; "mdSortDirection": { "alias": "mdSortDirection"; "required": false; }; "externalSorting": { "alias": "externalSorting"; "required": false; }; "enableClearingSortState": { "alias": "enableClearingSortState"; "required": false; }; "sortAscendingIcon": { "alias": "sortAscendingIcon"; "required": false; }; "sortDescendingIcon": { "alias": "sortDescendingIcon"; "required": false; }; "sortUnsetIcon": { "alias": "sortUnsetIcon"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "count": { "alias": "count"; "required": false; }; "externalPaging": { "alias": "externalPaging"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "footerHeight": { "alias": "footerHeight"; "required": false; }; "autosizeStrategy": { "alias": "autosizeStrategy"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "editingRow": { "alias": "editingRow"; "required": false; }; }, { "retry": "retry"; "columnStateChange": "columnStateChange"; "selectedKeysChange": "selectedKeysChange"; "rowsChange": "rowsChange"; "columnResize": "columnResize"; "sortsChange": "sortsChange"; "sort": "sort"; "page": "page"; "pageSizeChange": "pageSizeChange"; "editingRowChange": "editingRowChange"; "rowEditStart": "rowEditStart"; "rowEditSave": "rowEditSave"; "rowEditCancel": "rowEditCancel"; "inited": "inited"; "firstTimeVisible": "firstTimeVisible"; "layoutReady": "layoutReady"; }, ["columns__", "toolbarTemplate", "_columnDirectives"], never, true, never>;
|
|
4748
|
+
static ngAcceptInputType_loading: unknown;
|
|
4749
|
+
static ngAcceptInputType_showColumnChooser: unknown;
|
|
4750
|
+
static ngAcceptInputType_selectable: unknown;
|
|
4751
|
+
static ngAcceptInputType_rowActionsWidth: unknown;
|
|
4647
4752
|
static ngAcceptInputType_headerHeight: unknown;
|
|
4753
|
+
static ngAcceptInputType_cellTabNavigation: unknown;
|
|
4648
4754
|
static ngAcceptInputType_gap: unknown;
|
|
4649
4755
|
static ngAcceptInputType_defaultColumnWidth: unknown;
|
|
4650
4756
|
static ngAcceptInputType_showRowActions: unknown;
|
|
@@ -4953,7 +5059,7 @@ declare class MDBottomSheet implements OnDestroy {
|
|
|
4953
5059
|
* @param config Extra configuration options.
|
|
4954
5060
|
* @returns Reference to the newly-opened bottom sheet.
|
|
4955
5061
|
*/
|
|
4956
|
-
open<T, D = any, R = any>(component: ComponentType$
|
|
5062
|
+
open<T, D = any, R = any>(component: ComponentType$2<T>, config?: MDBottomSheetConfig<D>): MDBottomSheetRef<T, R>;
|
|
4957
5063
|
/**
|
|
4958
5064
|
* Opens a bottom sheet containing the given template.
|
|
4959
5065
|
* @param template TemplateRef to instantiate as the bottom sheet content.
|
|
@@ -5519,6 +5625,1427 @@ declare class MDSliderModule {
|
|
|
5519
5625
|
static ɵinj: i0.ɵɵInjectorDeclaration<MDSliderModule>;
|
|
5520
5626
|
}
|
|
5521
5627
|
|
|
5522
|
-
|
|
5523
|
-
|
|
5628
|
+
type MDTooltipPosition = 'above' | 'below' | 'before' | 'after' | 'left' | 'right';
|
|
5629
|
+
declare class MDTooltip<C extends object = Record<string, unknown>> implements OnDestroy {
|
|
5630
|
+
readonly mdTooltip: i0.InputSignal<string | TemplateRef<C> | null | undefined>;
|
|
5631
|
+
readonly mdTooltipContext: i0.InputSignal<C | undefined>;
|
|
5632
|
+
readonly mdTooltipPosition: i0.InputSignal<MDTooltipPosition>;
|
|
5633
|
+
readonly mdTooltipDisabled: i0.InputSignalWithTransform<boolean, unknown>;
|
|
5634
|
+
readonly mdTooltipInteractive: i0.InputSignalWithTransform<boolean, unknown>;
|
|
5635
|
+
readonly mdTooltipShowDelay: i0.InputSignalWithTransform<number, unknown>;
|
|
5636
|
+
readonly mdTooltipHideDelay: i0.InputSignalWithTransform<number, unknown>;
|
|
5637
|
+
readonly mdTooltipClass: i0.InputSignal<string | string[]>;
|
|
5638
|
+
/** Screen-reader description for a template; also labels interactive panels. */
|
|
5639
|
+
readonly mdTooltipDescription: i0.InputSignal<string>;
|
|
5640
|
+
readonly mdTooltipShown: i0.OutputEmitterRef<void>;
|
|
5641
|
+
readonly mdTooltipHidden: i0.OutputEmitterRef<void>;
|
|
5642
|
+
private readonly element;
|
|
5643
|
+
private readonly document;
|
|
5644
|
+
private readonly overlay;
|
|
5645
|
+
private readonly viewContainer;
|
|
5646
|
+
private readonly aria;
|
|
5647
|
+
private readonly checker;
|
|
5648
|
+
private readonly direction;
|
|
5649
|
+
private readonly id;
|
|
5650
|
+
private overlayRef?;
|
|
5651
|
+
private panel?;
|
|
5652
|
+
private subscriptions;
|
|
5653
|
+
private themeObserver?;
|
|
5654
|
+
private resizeObserver?;
|
|
5655
|
+
private listeners;
|
|
5656
|
+
private showTimer?;
|
|
5657
|
+
private hideTimer?;
|
|
5658
|
+
private touchTimer?;
|
|
5659
|
+
private touchStart?;
|
|
5660
|
+
private describedText;
|
|
5661
|
+
private panelClasses;
|
|
5662
|
+
private hovered;
|
|
5663
|
+
private focused;
|
|
5664
|
+
private panelHovered;
|
|
5665
|
+
private destroyed;
|
|
5666
|
+
private restoringFocus;
|
|
5667
|
+
constructor();
|
|
5668
|
+
show(delay?: number): void;
|
|
5669
|
+
hide(delay?: number): void;
|
|
5670
|
+
onEnter(event: PointerEvent): void;
|
|
5671
|
+
onLeave(event: PointerEvent): void;
|
|
5672
|
+
onFocus(): void;
|
|
5673
|
+
onBlur(event: FocusEvent): void;
|
|
5674
|
+
onKeydown(event: KeyboardEvent): void;
|
|
5675
|
+
onPointerDown(event: PointerEvent): void;
|
|
5676
|
+
onPointerMove(event: PointerEvent): void;
|
|
5677
|
+
onPointerUp(): void;
|
|
5678
|
+
cancelTouch(): void;
|
|
5679
|
+
private canShow;
|
|
5680
|
+
private hideIfInactive;
|
|
5681
|
+
private positions;
|
|
5682
|
+
private open;
|
|
5683
|
+
private updatePanel;
|
|
5684
|
+
private syncTheme;
|
|
5685
|
+
private listen;
|
|
5686
|
+
private close;
|
|
5687
|
+
ngOnDestroy(): void;
|
|
5688
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDTooltip<any>, never>;
|
|
5689
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MDTooltip<any>, "[mdTooltip]", ["mdTooltip"], { "mdTooltip": { "alias": "mdTooltip"; "required": false; "isSignal": true; }; "mdTooltipContext": { "alias": "mdTooltipContext"; "required": false; "isSignal": true; }; "mdTooltipPosition": { "alias": "mdTooltipPosition"; "required": false; "isSignal": true; }; "mdTooltipDisabled": { "alias": "mdTooltipDisabled"; "required": false; "isSignal": true; }; "mdTooltipInteractive": { "alias": "mdTooltipInteractive"; "required": false; "isSignal": true; }; "mdTooltipShowDelay": { "alias": "mdTooltipShowDelay"; "required": false; "isSignal": true; }; "mdTooltipHideDelay": { "alias": "mdTooltipHideDelay"; "required": false; "isSignal": true; }; "mdTooltipClass": { "alias": "mdTooltipClass"; "required": false; "isSignal": true; }; "mdTooltipDescription": { "alias": "mdTooltipDescription"; "required": false; "isSignal": true; }; }, { "mdTooltipShown": "mdTooltipShown"; "mdTooltipHidden": "mdTooltipHidden"; }, never, never, true, never>;
|
|
5690
|
+
}
|
|
5691
|
+
|
|
5692
|
+
declare class MDTooltipModule {
|
|
5693
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDTooltipModule, never>;
|
|
5694
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDTooltipModule, never, [typeof MDTooltip], [typeof MDTooltip]>;
|
|
5695
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDTooltipModule>;
|
|
5696
|
+
}
|
|
5697
|
+
|
|
5698
|
+
declare class ToastContainerDirective {
|
|
5699
|
+
private el;
|
|
5700
|
+
getContainerElement(): HTMLElement;
|
|
5701
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastContainerDirective, never>;
|
|
5702
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToastContainerDirective, "[toastContainer]", ["toastContainer"], {}, {}, never, never, true, never>;
|
|
5703
|
+
}
|
|
5704
|
+
|
|
5705
|
+
type ComponentType<T> = new (...args: unknown[]) => T;
|
|
5706
|
+
/**
|
|
5707
|
+
* A `ComponentPortal` is a portal that instantiates some Component upon attachment.
|
|
5708
|
+
*/
|
|
5709
|
+
declare class ComponentPortal<T> {
|
|
5710
|
+
private attachedHost?;
|
|
5711
|
+
/** The type of the component that will be instantiated for attachment. */
|
|
5712
|
+
component: ComponentType<T>;
|
|
5713
|
+
/**
|
|
5714
|
+
* [Optional] Where the attached component should live in Angular's *logical* component tree.
|
|
5715
|
+
* This is different from where the component *renders*, which is determined by the PortalHost.
|
|
5716
|
+
* The origin necessary when the host is outside of the Angular application context.
|
|
5717
|
+
*/
|
|
5718
|
+
viewContainerRef: ViewContainerRef;
|
|
5719
|
+
/** Injector used for the instantiation of the component. */
|
|
5720
|
+
injector: Injector;
|
|
5721
|
+
constructor(component: ComponentType<T>, injector: Injector);
|
|
5722
|
+
/** Attach this portal to a host. */
|
|
5723
|
+
attach(host: BasePortalHost, newestOnTop: boolean): ComponentRef<unknown>;
|
|
5724
|
+
/** Detach this portal from its host */
|
|
5725
|
+
detach(): void;
|
|
5726
|
+
/** Whether this portal is attached to a host. */
|
|
5727
|
+
get isAttached(): boolean;
|
|
5728
|
+
/**
|
|
5729
|
+
* Sets the PortalHost reference without performing `attach()`. This is used directly by
|
|
5730
|
+
* the PortalHost when it is performing an `attach()` or `detach()`.
|
|
5731
|
+
*/
|
|
5732
|
+
setAttachedHost(host?: BasePortalHost): void;
|
|
5733
|
+
}
|
|
5734
|
+
/**
|
|
5735
|
+
* Partial implementation of PortalHost that only deals with attaching a
|
|
5736
|
+
* ComponentPortal
|
|
5737
|
+
*/
|
|
5738
|
+
declare abstract class BasePortalHost {
|
|
5739
|
+
/** The portal currently attached to the host. */
|
|
5740
|
+
private attachedPortal?;
|
|
5741
|
+
/** A function that will permanently dispose this host. */
|
|
5742
|
+
private disposeFn?;
|
|
5743
|
+
attach(portal: ComponentPortal<unknown>, newestOnTop: boolean): ComponentRef<unknown>;
|
|
5744
|
+
abstract attachComponentPortal<T>(portal: ComponentPortal<T>, newestOnTop: boolean): ComponentRef<T>;
|
|
5745
|
+
detach(): void;
|
|
5746
|
+
setDisposeFn(fn: () => void): void;
|
|
5747
|
+
}
|
|
5748
|
+
|
|
5749
|
+
/**
|
|
5750
|
+
* Reference to an overlay that has been created with the Overlay service.
|
|
5751
|
+
* Used to manipulate or dispose of said overlay.
|
|
5752
|
+
*/
|
|
5753
|
+
declare class OverlayRef {
|
|
5754
|
+
private portalHost;
|
|
5755
|
+
constructor(portalHost: BasePortalHost);
|
|
5756
|
+
attach(portal: ComponentPortal<unknown>, newestOnTop?: boolean): ComponentRef<unknown>;
|
|
5757
|
+
/**
|
|
5758
|
+
* Detaches an overlay from a portal.
|
|
5759
|
+
* @returns Resolves when the overlay has been detached.
|
|
5760
|
+
*/
|
|
5761
|
+
detach(): void;
|
|
5762
|
+
}
|
|
5763
|
+
|
|
5764
|
+
/**
|
|
5765
|
+
* Reference to a toast opened via the Toastr service.
|
|
5766
|
+
*/
|
|
5767
|
+
declare class ToastRef<T> {
|
|
5768
|
+
private overlayRef;
|
|
5769
|
+
/** The instance of component opened into the toast. */
|
|
5770
|
+
componentInstance: T;
|
|
5771
|
+
/** Count of duplicates of this toast */
|
|
5772
|
+
private duplicatesCount;
|
|
5773
|
+
/** Subject for notifying the user that the toast has finished closing. */
|
|
5774
|
+
private afterClosedValue;
|
|
5775
|
+
/** triggered when toast is activated */
|
|
5776
|
+
private activateValue;
|
|
5777
|
+
/** notifies the toast that it should close before the timeout */
|
|
5778
|
+
private manualCloseValue;
|
|
5779
|
+
/** notifies the toast that it should reset the timeouts */
|
|
5780
|
+
private resetTimeout;
|
|
5781
|
+
/** notifies the toast that it should count a duplicate toast */
|
|
5782
|
+
private countDuplicateValue;
|
|
5783
|
+
constructor(overlayRef: OverlayRef);
|
|
5784
|
+
manualClose(): void;
|
|
5785
|
+
manualClosed(): Observable<unknown>;
|
|
5786
|
+
timeoutReset(): Observable<unknown>;
|
|
5787
|
+
countDuplicate(): Observable<number>;
|
|
5788
|
+
/**
|
|
5789
|
+
* Close the toast.
|
|
5790
|
+
*/
|
|
5791
|
+
close(): void;
|
|
5792
|
+
/** Gets an observable that is notified when the toast is finished closing. */
|
|
5793
|
+
afterClosed(): Observable<void>;
|
|
5794
|
+
isInactive(): boolean;
|
|
5795
|
+
activate(): void;
|
|
5796
|
+
/** Gets an observable that is notified when the toast has started opening. */
|
|
5797
|
+
afterActivate(): Observable<void>;
|
|
5798
|
+
/** Reset the toast timouts and count duplicates */
|
|
5799
|
+
onDuplicate(resetTimeout: boolean, countDuplicate: boolean): void;
|
|
5800
|
+
}
|
|
5801
|
+
|
|
5802
|
+
type ProgressAnimationType = 'increasing' | 'decreasing';
|
|
5803
|
+
type DisableTimoutType = boolean | 'timeOut' | 'extendedTimeOut';
|
|
5804
|
+
/**
|
|
5805
|
+
* Configuration for an individual toast.
|
|
5806
|
+
*/
|
|
5807
|
+
interface IndividualConfig<ConfigPayload = unknown> {
|
|
5808
|
+
/**
|
|
5809
|
+
* disable both timeOut and extendedTimeOut
|
|
5810
|
+
* default: false
|
|
5811
|
+
*/
|
|
5812
|
+
disableTimeOut: DisableTimoutType;
|
|
5813
|
+
/**
|
|
5814
|
+
* toast time to live in milliseconds
|
|
5815
|
+
* default: 5000
|
|
5816
|
+
*/
|
|
5817
|
+
timeOut: number;
|
|
5818
|
+
/**
|
|
5819
|
+
* toast show close button
|
|
5820
|
+
* default: false
|
|
5821
|
+
*/
|
|
5822
|
+
closeButton: boolean;
|
|
5823
|
+
/**
|
|
5824
|
+
* time to close after a user hovers over toast
|
|
5825
|
+
* default: 1000
|
|
5826
|
+
*/
|
|
5827
|
+
extendedTimeOut: number;
|
|
5828
|
+
/**
|
|
5829
|
+
* show toast progress bar
|
|
5830
|
+
* default: false
|
|
5831
|
+
*/
|
|
5832
|
+
progressBar: boolean;
|
|
5833
|
+
/**
|
|
5834
|
+
* changes toast progress bar animation
|
|
5835
|
+
* default: decreasing
|
|
5836
|
+
*/
|
|
5837
|
+
progressAnimation: ProgressAnimationType;
|
|
5838
|
+
/**
|
|
5839
|
+
* render html in toast message (possibly unsafe)
|
|
5840
|
+
* default: false
|
|
5841
|
+
*/
|
|
5842
|
+
enableHtml: boolean;
|
|
5843
|
+
/**
|
|
5844
|
+
* css class on toast component
|
|
5845
|
+
* default: ngx-toastr
|
|
5846
|
+
*/
|
|
5847
|
+
toastClass: string;
|
|
5848
|
+
/**
|
|
5849
|
+
* css class on toast container
|
|
5850
|
+
* default: toast-top-right
|
|
5851
|
+
*/
|
|
5852
|
+
positionClass: string;
|
|
5853
|
+
/**
|
|
5854
|
+
* css class on toast title
|
|
5855
|
+
* default: toast-title
|
|
5856
|
+
*/
|
|
5857
|
+
titleClass: string;
|
|
5858
|
+
/**
|
|
5859
|
+
* css class on toast message
|
|
5860
|
+
* default: toast-message
|
|
5861
|
+
*/
|
|
5862
|
+
messageClass: string;
|
|
5863
|
+
/**
|
|
5864
|
+
* animation easing on toast
|
|
5865
|
+
* default: ease-in
|
|
5866
|
+
*/
|
|
5867
|
+
easing: string;
|
|
5868
|
+
/**
|
|
5869
|
+
* animation ease time on toast
|
|
5870
|
+
* default: 300
|
|
5871
|
+
*/
|
|
5872
|
+
easeTime: string | number;
|
|
5873
|
+
/**
|
|
5874
|
+
* clicking on toast dismisses it
|
|
5875
|
+
* default: true
|
|
5876
|
+
*/
|
|
5877
|
+
tapToDismiss: boolean;
|
|
5878
|
+
/**
|
|
5879
|
+
* Angular toast component to be shown
|
|
5880
|
+
* default: Toast
|
|
5881
|
+
*/
|
|
5882
|
+
toastComponent?: ComponentType<unknown>;
|
|
5883
|
+
/**
|
|
5884
|
+
* Helps show toast from a websocket or from event outside Angular
|
|
5885
|
+
* default: false
|
|
5886
|
+
*/
|
|
5887
|
+
onActivateTick: boolean;
|
|
5888
|
+
/**
|
|
5889
|
+
* New toast placement
|
|
5890
|
+
* default: true
|
|
5891
|
+
*/
|
|
5892
|
+
newestOnTop: boolean;
|
|
5893
|
+
/**
|
|
5894
|
+
* Payload to pass to the toast component
|
|
5895
|
+
*/
|
|
5896
|
+
payload?: ConfigPayload;
|
|
5897
|
+
}
|
|
5898
|
+
interface ToastrIconClasses {
|
|
5899
|
+
error: string;
|
|
5900
|
+
info: string;
|
|
5901
|
+
success: string;
|
|
5902
|
+
warning: string;
|
|
5903
|
+
[key: string]: string;
|
|
5904
|
+
}
|
|
5905
|
+
/**
|
|
5906
|
+
* Global Toast configuration
|
|
5907
|
+
* Includes all IndividualConfig
|
|
5908
|
+
*/
|
|
5909
|
+
interface GlobalConfig<C = unknown> extends IndividualConfig<C> {
|
|
5910
|
+
/**
|
|
5911
|
+
* max toasts opened. Toasts will be queued
|
|
5912
|
+
* Zero is unlimited
|
|
5913
|
+
* default: 0
|
|
5914
|
+
*/
|
|
5915
|
+
maxOpened: number;
|
|
5916
|
+
/**
|
|
5917
|
+
* dismiss current toast when max is reached
|
|
5918
|
+
* default: false
|
|
5919
|
+
*/
|
|
5920
|
+
autoDismiss: boolean;
|
|
5921
|
+
iconClasses: Partial<ToastrIconClasses>;
|
|
5922
|
+
/**
|
|
5923
|
+
* block duplicate messages
|
|
5924
|
+
* default: false
|
|
5925
|
+
*/
|
|
5926
|
+
preventDuplicates: boolean;
|
|
5927
|
+
/**
|
|
5928
|
+
* display the number of duplicate messages
|
|
5929
|
+
* default: false
|
|
5930
|
+
*/
|
|
5931
|
+
countDuplicates: boolean;
|
|
5932
|
+
/**
|
|
5933
|
+
* Reset toast timeout when there's a duplicate (preventDuplicates needs to be set to true)
|
|
5934
|
+
* default: false
|
|
5935
|
+
*/
|
|
5936
|
+
resetTimeoutOnDuplicate: boolean;
|
|
5937
|
+
/**
|
|
5938
|
+
* consider the title of a toast when checking if duplicate
|
|
5939
|
+
* default: false
|
|
5940
|
+
*/
|
|
5941
|
+
includeTitleDuplicates: boolean;
|
|
5942
|
+
}
|
|
5943
|
+
/**
|
|
5944
|
+
* Everything a toast needs to launch
|
|
5945
|
+
*/
|
|
5946
|
+
declare class ToastPackage<ConfigPayload = unknown> {
|
|
5947
|
+
toastId: number;
|
|
5948
|
+
config: IndividualConfig<ConfigPayload>;
|
|
5949
|
+
message: string | null | undefined;
|
|
5950
|
+
title: string | undefined;
|
|
5951
|
+
toastType: string;
|
|
5952
|
+
toastRef: ToastRef<unknown>;
|
|
5953
|
+
private onTapValue;
|
|
5954
|
+
private onActionValue;
|
|
5955
|
+
constructor(toastId: number, config: IndividualConfig<ConfigPayload>, message: string | null | undefined, title: string | undefined, toastType: string, toastRef: ToastRef<unknown>);
|
|
5956
|
+
/** Fired on click */
|
|
5957
|
+
triggerTap(): void;
|
|
5958
|
+
onTap(): Observable<void>;
|
|
5959
|
+
/** available for use in custom toast */
|
|
5960
|
+
triggerAction(action?: unknown): void;
|
|
5961
|
+
onAction(): Observable<unknown>;
|
|
5962
|
+
}
|
|
5963
|
+
declare const DefaultNoComponentGlobalConfig: GlobalConfig;
|
|
5964
|
+
interface ToastToken {
|
|
5965
|
+
default: GlobalConfig;
|
|
5966
|
+
config: Partial<GlobalConfig>;
|
|
5967
|
+
}
|
|
5968
|
+
declare const TOAST_CONFIG: InjectionToken<ToastToken>;
|
|
5969
|
+
|
|
5970
|
+
interface ActiveToast<C> {
|
|
5971
|
+
/** Your Toast ID. Use this to close it individually */
|
|
5972
|
+
toastId: number;
|
|
5973
|
+
/** the title of your toast. Stored to prevent duplicates */
|
|
5974
|
+
title: string;
|
|
5975
|
+
/** the message of your toast. Stored to prevent duplicates */
|
|
5976
|
+
message: string;
|
|
5977
|
+
/** a reference to the component see portal.ts */
|
|
5978
|
+
portal: ComponentRef<C>;
|
|
5979
|
+
/** a reference to your toast */
|
|
5980
|
+
toastRef: ToastRef<C>;
|
|
5981
|
+
/** triggered when toast is active */
|
|
5982
|
+
onShown: Observable<void>;
|
|
5983
|
+
/** triggered when toast is destroyed */
|
|
5984
|
+
onHidden: Observable<void>;
|
|
5985
|
+
/** triggered on toast click */
|
|
5986
|
+
onTap: Observable<void>;
|
|
5987
|
+
/** available for your use in custom toast */
|
|
5988
|
+
onAction: Observable<unknown>;
|
|
5989
|
+
}
|
|
5990
|
+
declare class ToastrService {
|
|
5991
|
+
private overlay;
|
|
5992
|
+
private injector;
|
|
5993
|
+
private sanitizer;
|
|
5994
|
+
private ngZone;
|
|
5995
|
+
toastrConfig: GlobalConfig;
|
|
5996
|
+
currentlyActive: number;
|
|
5997
|
+
toasts: ActiveToast<unknown>[];
|
|
5998
|
+
overlayContainer?: ToastContainerDirective;
|
|
5999
|
+
previousToastMessage: string | undefined;
|
|
6000
|
+
private index;
|
|
6001
|
+
constructor();
|
|
6002
|
+
/** show toast */
|
|
6003
|
+
show<C extends ToastBase = ToastBase, ConfigPayload = unknown>(message?: string, title?: string, override?: Partial<IndividualConfig<ConfigPayload>>, type?: string): ActiveToast<C> | null;
|
|
6004
|
+
/** show successful toast */
|
|
6005
|
+
success<ConfigPayload = unknown>(message?: string, title?: string, override?: Partial<IndividualConfig<ConfigPayload>>): ActiveToast<unknown> | null;
|
|
6006
|
+
/** show error toast */
|
|
6007
|
+
error<ConfigPayload = unknown>(message?: string, title?: string, override?: Partial<IndividualConfig<ConfigPayload>>): ActiveToast<unknown> | null;
|
|
6008
|
+
/** show info toast */
|
|
6009
|
+
info<ConfigPayload = unknown>(message?: string, title?: string, override?: Partial<IndividualConfig<ConfigPayload>>): ActiveToast<unknown> | null;
|
|
6010
|
+
/** show warning toast */
|
|
6011
|
+
warning<ConfigPayload = unknown>(message?: string, title?: string, override?: Partial<IndividualConfig<ConfigPayload>>): ActiveToast<unknown> | null;
|
|
6012
|
+
/**
|
|
6013
|
+
* Remove all or a single toast by id
|
|
6014
|
+
*/
|
|
6015
|
+
clear(toastId?: number): void;
|
|
6016
|
+
/**
|
|
6017
|
+
* Remove and destroy a single toast by id
|
|
6018
|
+
*/
|
|
6019
|
+
remove(toastId: number): boolean;
|
|
6020
|
+
/**
|
|
6021
|
+
* Determines if toast message is already shown
|
|
6022
|
+
*/
|
|
6023
|
+
findDuplicate(title: string | undefined, message: string | undefined, resetOnDuplicate: boolean, countDuplicates: boolean): ActiveToast<unknown> | null;
|
|
6024
|
+
/** create a clone of global config and apply individual settings */
|
|
6025
|
+
private applyConfig;
|
|
6026
|
+
/**
|
|
6027
|
+
* Find toast object by id
|
|
6028
|
+
*/
|
|
6029
|
+
private findToast;
|
|
6030
|
+
/**
|
|
6031
|
+
* Determines the need to run inside angular's zone then builds the toast
|
|
6032
|
+
*/
|
|
6033
|
+
private preBuildNotification;
|
|
6034
|
+
/**
|
|
6035
|
+
* Creates and attaches toast data to component
|
|
6036
|
+
* returns the active toast, or in case preventDuplicates is enabled the original/non-duplicate active toast.
|
|
6037
|
+
*/
|
|
6038
|
+
private buildNotification;
|
|
6039
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastrService, never>;
|
|
6040
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToastrService>;
|
|
6041
|
+
}
|
|
6042
|
+
|
|
6043
|
+
declare class TimeoutsService {
|
|
6044
|
+
protected ngZone?: NgZone | undefined;
|
|
6045
|
+
setInterval(func: () => unknown, timeout: number): number;
|
|
6046
|
+
setTimeout(func: () => unknown, timeout?: number): number;
|
|
6047
|
+
protected runInsideAngular(func: () => unknown): void;
|
|
6048
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimeoutsService, never>;
|
|
6049
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TimeoutsService>;
|
|
6050
|
+
}
|
|
6051
|
+
|
|
6052
|
+
declare class ToastBase<ConfigPayload = unknown> implements OnDestroy {
|
|
6053
|
+
private readonly destroyRef;
|
|
6054
|
+
toastPackage: ToastPackage<any>;
|
|
6055
|
+
protected toastrService: ToastrService;
|
|
6056
|
+
protected appRef: ApplicationRef;
|
|
6057
|
+
protected timeoutsService: TimeoutsService;
|
|
6058
|
+
duplicatesCount: number;
|
|
6059
|
+
protected hideTime: number;
|
|
6060
|
+
/** width of progress bar */
|
|
6061
|
+
readonly width: i0.WritableSignal<number>;
|
|
6062
|
+
readonly state: i0.WritableSignal<"active" | "inactive" | "removed">;
|
|
6063
|
+
/** hides component when waiting to be displayed */
|
|
6064
|
+
readonly displayStyle: i0.Signal<"none" | undefined>;
|
|
6065
|
+
readonly message: i0.Signal<string | null | undefined>;
|
|
6066
|
+
readonly title: i0.Signal<string | undefined>;
|
|
6067
|
+
readonly options: i0.WritableSignal<IndividualConfig<ConfigPayload>>;
|
|
6068
|
+
readonly originalTimeout: i0.Signal<number>;
|
|
6069
|
+
readonly toastClasses: i0.Signal<string>;
|
|
6070
|
+
protected timeout: number | undefined;
|
|
6071
|
+
protected intervalId: number | undefined;
|
|
6072
|
+
constructor();
|
|
6073
|
+
ngOnDestroy(): void;
|
|
6074
|
+
/**
|
|
6075
|
+
* activates toast and sets timeout
|
|
6076
|
+
*/
|
|
6077
|
+
activateToast(): void;
|
|
6078
|
+
/**
|
|
6079
|
+
* updates progress bar width
|
|
6080
|
+
*/
|
|
6081
|
+
updateProgress(): void;
|
|
6082
|
+
resetTimeout(): void;
|
|
6083
|
+
/**
|
|
6084
|
+
* tells toastrService to remove this toast after animation time
|
|
6085
|
+
*/
|
|
6086
|
+
remove(): void;
|
|
6087
|
+
tapToast(): void;
|
|
6088
|
+
stickAround(): void;
|
|
6089
|
+
delayedHideToast(): void;
|
|
6090
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastBase<any>, never>;
|
|
6091
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastBase<any>, "[toast-component]", never, {}, {}, never, never, true, never>;
|
|
6092
|
+
}
|
|
6093
|
+
|
|
6094
|
+
declare class Toast<ConfigPayload = unknown> extends ToastBase<ConfigPayload> {
|
|
6095
|
+
readonly params: {
|
|
6096
|
+
easeTime: string | number;
|
|
6097
|
+
easing: string;
|
|
6098
|
+
};
|
|
6099
|
+
private elementRef;
|
|
6100
|
+
remove(): void;
|
|
6101
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Toast<any>, never>;
|
|
6102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Toast<any>, "[toast-component]", never, {}, {}, never, never, true, never>;
|
|
6103
|
+
}
|
|
6104
|
+
|
|
6105
|
+
declare class ToastrModule {
|
|
6106
|
+
static forRoot(config?: Partial<GlobalConfig>): ModuleWithProviders<ToastrModule>;
|
|
6107
|
+
static forChild(): ModuleWithProviders<ToastrModule>;
|
|
6108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastrModule, never>;
|
|
6109
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ToastrModule, never, [typeof Toast], [typeof Toast]>;
|
|
6110
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ToastrModule>;
|
|
6111
|
+
}
|
|
6112
|
+
declare class ToastrComponentlessModule {
|
|
6113
|
+
static forRoot(config?: Partial<GlobalConfig>): ModuleWithProviders<ToastrComponentlessModule>;
|
|
6114
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastrComponentlessModule, never>;
|
|
6115
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ToastrComponentlessModule, never, never, never>;
|
|
6116
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ToastrComponentlessModule>;
|
|
6117
|
+
}
|
|
6118
|
+
|
|
6119
|
+
declare const DefaultGlobalConfig: GlobalConfig;
|
|
6120
|
+
/**
|
|
6121
|
+
* @description
|
|
6122
|
+
* Provides the `TOAST_CONFIG` token with the given config.
|
|
6123
|
+
*
|
|
6124
|
+
* @param config The config to configure toastr.
|
|
6125
|
+
* @returns The environment providers.
|
|
6126
|
+
*
|
|
6127
|
+
* @example
|
|
6128
|
+
* ```ts
|
|
6129
|
+
* import { provideToastr } from '@natec/mef-dev-ui-kit';
|
|
6130
|
+
*
|
|
6131
|
+
* bootstrap(AppComponent, {
|
|
6132
|
+
* providers: [
|
|
6133
|
+
* provideToastr({
|
|
6134
|
+
* timeOut: 2000,
|
|
6135
|
+
* positionClass: 'toast-top-right',
|
|
6136
|
+
* }),
|
|
6137
|
+
* ],
|
|
6138
|
+
* })
|
|
6139
|
+
*/
|
|
6140
|
+
declare const provideToastr: (config?: Partial<GlobalConfig>) => EnvironmentProviders;
|
|
6141
|
+
|
|
6142
|
+
declare const DefaultNoAnimationsGlobalConfig: GlobalConfig;
|
|
6143
|
+
declare class ToastNoAnimationModule {
|
|
6144
|
+
static forRoot(config?: Partial<GlobalConfig>): ModuleWithProviders<ToastNoAnimationModule>;
|
|
6145
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastNoAnimationModule, never>;
|
|
6146
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ToastNoAnimationModule, never, [typeof ToastBase], [typeof ToastBase]>;
|
|
6147
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ToastNoAnimationModule>;
|
|
6148
|
+
}
|
|
6149
|
+
|
|
6150
|
+
/**
|
|
6151
|
+
* Service to create Overlays. Overlays are dynamically added pieces of floating UI, meant to be
|
|
6152
|
+
* used as a low-level building building block for other components. Dialogs, tooltips, menus,
|
|
6153
|
+
* selects, etc. can all be built using overlays. The service should primarily be used by authors
|
|
6154
|
+
* of re-usable components rather than developers building end-user applications.
|
|
6155
|
+
*
|
|
6156
|
+
* An overlay *is* a PortalHost, so any kind of Portal can be loaded into one.
|
|
6157
|
+
*/
|
|
6158
|
+
declare class Overlay {
|
|
6159
|
+
private overlayContainer;
|
|
6160
|
+
private appRef;
|
|
6161
|
+
private document;
|
|
6162
|
+
private paneElements;
|
|
6163
|
+
/**
|
|
6164
|
+
* Creates an overlay.
|
|
6165
|
+
* @returns A reference to the created overlay.
|
|
6166
|
+
*/
|
|
6167
|
+
create(positionClass?: string, overlayContainer?: ToastContainerDirective): OverlayRef;
|
|
6168
|
+
getPaneElement(positionClass?: string, overlayContainer?: ToastContainerDirective): HTMLElement;
|
|
6169
|
+
/**
|
|
6170
|
+
* Creates the DOM element for an overlay and appends it to the overlay container.
|
|
6171
|
+
* @returns Newly-created pane element
|
|
6172
|
+
*/
|
|
6173
|
+
private createPaneElement;
|
|
6174
|
+
/**
|
|
6175
|
+
* Create a DomPortalHost into which the overlay content can be loaded.
|
|
6176
|
+
* @param pane The DOM element to turn into a portal host.
|
|
6177
|
+
* @returns A portal host for the given DOM element.
|
|
6178
|
+
*/
|
|
6179
|
+
private createPortalHost;
|
|
6180
|
+
/**
|
|
6181
|
+
* Creates an OverlayRef for an overlay in the given DOM element.
|
|
6182
|
+
* @param pane DOM element for the overlay
|
|
6183
|
+
*/
|
|
6184
|
+
private createOverlayRef;
|
|
6185
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Overlay, never>;
|
|
6186
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Overlay>;
|
|
6187
|
+
}
|
|
6188
|
+
|
|
6189
|
+
/** Container inside which all toasts will render. */
|
|
6190
|
+
declare class OverlayContainer implements OnDestroy {
|
|
6191
|
+
protected document: Document;
|
|
6192
|
+
protected containerElement: HTMLElement;
|
|
6193
|
+
ngOnDestroy(): void;
|
|
6194
|
+
/**
|
|
6195
|
+
* This method returns the overlay container element. It will lazily
|
|
6196
|
+
* create the element the first time it is called to facilitate using
|
|
6197
|
+
* the container in non-browser environments.
|
|
6198
|
+
* @returns the container element
|
|
6199
|
+
*/
|
|
6200
|
+
getContainerElement(): HTMLElement;
|
|
6201
|
+
/**
|
|
6202
|
+
* Create the overlay container element, which is simply a div
|
|
6203
|
+
* with the 'cdk-overlay-container' class on the document body
|
|
6204
|
+
* and 'aria-live="polite"'
|
|
6205
|
+
*/
|
|
6206
|
+
protected createContainer(): void;
|
|
6207
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayContainer, never>;
|
|
6208
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OverlayContainer>;
|
|
6209
|
+
}
|
|
6210
|
+
|
|
6211
|
+
interface MDButtonToggleChange {
|
|
6212
|
+
source: MDButtonToggle;
|
|
6213
|
+
value: any;
|
|
6214
|
+
}
|
|
6215
|
+
declare class MDButtonToggleGroup implements ControlValueAccessor {
|
|
6216
|
+
multiple: boolean;
|
|
6217
|
+
vertical: boolean;
|
|
6218
|
+
disabled: boolean;
|
|
6219
|
+
value: any;
|
|
6220
|
+
readonly valueChange: EventEmitter<any>;
|
|
6221
|
+
readonly change: EventEmitter<MDButtonToggleChange>;
|
|
6222
|
+
toggles: QueryList<MDButtonToggle>;
|
|
6223
|
+
private readonly element;
|
|
6224
|
+
private onChange;
|
|
6225
|
+
private onTouched;
|
|
6226
|
+
isSelected(value: any): boolean;
|
|
6227
|
+
select(toggle: MDButtonToggle): void;
|
|
6228
|
+
tabIndex(toggle: MDButtonToggle): number;
|
|
6229
|
+
navigate(event: KeyboardEvent, source: MDButtonToggle): void;
|
|
6230
|
+
onFocusOut(event: FocusEvent): void;
|
|
6231
|
+
writeValue(value: any): void;
|
|
6232
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
6233
|
+
registerOnTouched(fn: () => void): void;
|
|
6234
|
+
setDisabledState(disabled: boolean): void;
|
|
6235
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDButtonToggleGroup, never>;
|
|
6236
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDButtonToggleGroup, "md-button-toggle-group", never, { "multiple": { "alias": "multiple"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "change": "change"; }, ["toggles"], ["*"], true, never>;
|
|
6237
|
+
static ngAcceptInputType_multiple: unknown;
|
|
6238
|
+
static ngAcceptInputType_vertical: unknown;
|
|
6239
|
+
static ngAcceptInputType_disabled: unknown;
|
|
6240
|
+
}
|
|
6241
|
+
declare class MDButtonToggle {
|
|
6242
|
+
readonly group: MDButtonToggleGroup | null;
|
|
6243
|
+
value: any;
|
|
6244
|
+
disabled: boolean;
|
|
6245
|
+
ariaLabel: string | null;
|
|
6246
|
+
ariaLabelledby: string | null;
|
|
6247
|
+
private standaloneChecked;
|
|
6248
|
+
get checked(): boolean;
|
|
6249
|
+
set checked(value: boolean);
|
|
6250
|
+
readonly checkedChange: EventEmitter<boolean>;
|
|
6251
|
+
readonly change: EventEmitter<MDButtonToggleChange>;
|
|
6252
|
+
button: ElementRef<HTMLButtonElement>;
|
|
6253
|
+
get isDisabled(): boolean;
|
|
6254
|
+
focus(): void;
|
|
6255
|
+
activate(): void;
|
|
6256
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDButtonToggle, never>;
|
|
6257
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDButtonToggle, "md-button-toggle", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "checkedChange": "checkedChange"; "change": "change"; }, never, ["*"], true, never>;
|
|
6258
|
+
static ngAcceptInputType_disabled: unknown;
|
|
6259
|
+
static ngAcceptInputType_checked: unknown;
|
|
6260
|
+
}
|
|
6261
|
+
|
|
6262
|
+
declare class MDButtonToggleModule {
|
|
6263
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDButtonToggleModule, never>;
|
|
6264
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDButtonToggleModule, never, [typeof MDButtonToggle, typeof MDButtonToggleGroup], [typeof MDButtonToggle, typeof MDButtonToggleGroup]>;
|
|
6265
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDButtonToggleModule>;
|
|
6266
|
+
}
|
|
6267
|
+
|
|
6268
|
+
declare class MDSnackBarConfig {
|
|
6269
|
+
/** Milliseconds before dismissal. Zero keeps the snackbar open. */
|
|
6270
|
+
duration: number;
|
|
6271
|
+
horizontalPosition: 'start' | 'center' | 'end' | 'left' | 'right';
|
|
6272
|
+
verticalPosition: 'top' | 'bottom';
|
|
6273
|
+
direction: Direction;
|
|
6274
|
+
politeness: AriaLivePoliteness;
|
|
6275
|
+
announcementMessage?: string;
|
|
6276
|
+
panelClass?: string | string[];
|
|
6277
|
+
}
|
|
6278
|
+
declare const MD_SNACK_BAR_DEFAULT_OPTIONS: InjectionToken<Partial<MDSnackBarConfig>>;
|
|
6279
|
+
|
|
6280
|
+
interface MDSnackBarDismiss {
|
|
6281
|
+
dismissedByAction: boolean;
|
|
6282
|
+
}
|
|
6283
|
+
declare class MDSnackBarRef {
|
|
6284
|
+
private readonly dispose;
|
|
6285
|
+
private readonly opened;
|
|
6286
|
+
private readonly dismissed;
|
|
6287
|
+
private readonly action;
|
|
6288
|
+
private closed;
|
|
6289
|
+
private timer?;
|
|
6290
|
+
private remaining;
|
|
6291
|
+
private started;
|
|
6292
|
+
private readonly pauses;
|
|
6293
|
+
constructor(dispose: () => void);
|
|
6294
|
+
afterOpened(): Observable<void>;
|
|
6295
|
+
afterDismissed(): Observable<MDSnackBarDismiss>;
|
|
6296
|
+
onAction(): Observable<void>;
|
|
6297
|
+
dismiss(): void;
|
|
6298
|
+
dismissWithAction(): void;
|
|
6299
|
+
/** @internal */
|
|
6300
|
+
_open(duration: number): void;
|
|
6301
|
+
/** @internal Pause the timeout while the user is interacting. */
|
|
6302
|
+
_pause(reason: string): void;
|
|
6303
|
+
/** @internal */
|
|
6304
|
+
_resume(reason: string): void;
|
|
6305
|
+
private schedule;
|
|
6306
|
+
private finish;
|
|
6307
|
+
}
|
|
6308
|
+
|
|
6309
|
+
declare class MDSnackBar implements OnDestroy {
|
|
6310
|
+
private readonly injector;
|
|
6311
|
+
private readonly announcer;
|
|
6312
|
+
private readonly directionality;
|
|
6313
|
+
private readonly defaults;
|
|
6314
|
+
private current;
|
|
6315
|
+
open(message: string, action?: string, config?: Partial<MDSnackBarConfig>): MDSnackBarRef;
|
|
6316
|
+
dismiss(): void;
|
|
6317
|
+
ngOnDestroy(): void;
|
|
6318
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDSnackBar, never>;
|
|
6319
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MDSnackBar>;
|
|
6320
|
+
}
|
|
6321
|
+
|
|
6322
|
+
declare class MDSnackBarContainer {
|
|
6323
|
+
readonly content: {
|
|
6324
|
+
message: string;
|
|
6325
|
+
action: string;
|
|
6326
|
+
};
|
|
6327
|
+
readonly ref: MDSnackBarRef;
|
|
6328
|
+
private readonly element;
|
|
6329
|
+
onFocusOut(event: FocusEvent): void;
|
|
6330
|
+
dismiss(event: Event): void;
|
|
6331
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDSnackBarContainer, never>;
|
|
6332
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDSnackBarContainer, "md-snack-bar-container", never, {}, {}, never, never, true, never>;
|
|
6333
|
+
}
|
|
6334
|
+
|
|
6335
|
+
declare class MDSnackBarModule {
|
|
6336
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDSnackBarModule, never>;
|
|
6337
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDSnackBarModule, never, [typeof i1$3.OverlayModule, typeof MDSnackBarContainer], never>;
|
|
6338
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDSnackBarModule>;
|
|
6339
|
+
}
|
|
6340
|
+
|
|
6341
|
+
interface MDFormFieldHost {
|
|
6342
|
+
labelId: string;
|
|
6343
|
+
label: string;
|
|
6344
|
+
describedBy: string | null;
|
|
6345
|
+
invalid: boolean;
|
|
6346
|
+
refresh(): void;
|
|
6347
|
+
}
|
|
6348
|
+
declare const MD_FORM_FIELD: InjectionToken<MDFormFieldHost>;
|
|
6349
|
+
/** Styles native inputs without replacing their Angular Forms value accessor. */
|
|
6350
|
+
declare class MDInput implements AfterViewInit, OnDestroy {
|
|
6351
|
+
readonly element: ElementRef<any>;
|
|
6352
|
+
readonly ngControl: NgControl | null;
|
|
6353
|
+
readonly select: MDSelect | null;
|
|
6354
|
+
readonly field: MDFormFieldHost | null;
|
|
6355
|
+
private readonly subscriptions;
|
|
6356
|
+
private readonly originalLabel;
|
|
6357
|
+
private readonly originalDescription;
|
|
6358
|
+
readonly id: any;
|
|
6359
|
+
get labelledBy(): string | null;
|
|
6360
|
+
get describedBy(): string | null;
|
|
6361
|
+
get empty(): boolean;
|
|
6362
|
+
get disabled(): boolean;
|
|
6363
|
+
get readonly(): boolean;
|
|
6364
|
+
get required(): boolean;
|
|
6365
|
+
get focused(): boolean;
|
|
6366
|
+
get alwaysFloat(): boolean;
|
|
6367
|
+
focus(): void;
|
|
6368
|
+
refresh(): void;
|
|
6369
|
+
ngAfterViewInit(): void;
|
|
6370
|
+
ngOnDestroy(): void;
|
|
6371
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDInput, never>;
|
|
6372
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MDInput, "input[mdInput], textarea[mdInput], select[mdInput], md-select[mdFormFieldControl]", never, {}, {}, never, never, true, never>;
|
|
6373
|
+
}
|
|
6374
|
+
declare class MDFormFieldPrefix {
|
|
6375
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDFormFieldPrefix, never>;
|
|
6376
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MDFormFieldPrefix, "[mdPrefix]", never, {}, {}, never, never, true, never>;
|
|
6377
|
+
}
|
|
6378
|
+
declare class MDFormFieldSuffix {
|
|
6379
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDFormFieldSuffix, never>;
|
|
6380
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MDFormFieldSuffix, "[mdSuffix]", never, {}, {}, never, never, true, never>;
|
|
6381
|
+
}
|
|
6382
|
+
|
|
6383
|
+
declare class MDFormField implements MDFormFieldHost {
|
|
6384
|
+
appearance: 'outlined' | 'filled';
|
|
6385
|
+
labelPosition: 'top' | 'floating' | 'inside' | 'left';
|
|
6386
|
+
label: string;
|
|
6387
|
+
hint: string;
|
|
6388
|
+
error: string;
|
|
6389
|
+
/** Explicitly show an error (e.g. a server-side validation failure). */
|
|
6390
|
+
invalidState: boolean;
|
|
6391
|
+
hideRequiredMarker: boolean;
|
|
6392
|
+
control?: MDInput;
|
|
6393
|
+
readonly labelId: string;
|
|
6394
|
+
readonly hintId: string;
|
|
6395
|
+
readonly errorId: string;
|
|
6396
|
+
focused: boolean;
|
|
6397
|
+
private readonly element;
|
|
6398
|
+
private readonly cdr;
|
|
6399
|
+
private readonly formGroup;
|
|
6400
|
+
private readonly form;
|
|
6401
|
+
get invalid(): boolean;
|
|
6402
|
+
get floated(): boolean;
|
|
6403
|
+
get describedBy(): string | null;
|
|
6404
|
+
refresh(): void;
|
|
6405
|
+
focusControl(): void;
|
|
6406
|
+
onFocusOut(event: FocusEvent): void;
|
|
6407
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDFormField, never>;
|
|
6408
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDFormField, "md-form-field", never, { "appearance": { "alias": "appearance"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "error": { "alias": "error"; "required": false; }; "invalidState": { "alias": "invalidState"; "required": false; }; "hideRequiredMarker": { "alias": "hideRequiredMarker"; "required": false; }; }, {}, ["control"], ["[mdPrefix]", "*", "[mdSuffix]"], true, never>;
|
|
6409
|
+
static ngAcceptInputType_invalidState: unknown;
|
|
6410
|
+
static ngAcceptInputType_hideRequiredMarker: unknown;
|
|
6411
|
+
}
|
|
6412
|
+
|
|
6413
|
+
declare class MDFormFieldModule {
|
|
6414
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDFormFieldModule, never>;
|
|
6415
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDFormFieldModule, never, [typeof MDFormField, typeof MDInput, typeof MDFormFieldPrefix, typeof MDFormFieldSuffix], [typeof MDFormField, typeof MDInput, typeof MDFormFieldPrefix, typeof MDFormFieldSuffix]>;
|
|
6416
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDFormFieldModule>;
|
|
6417
|
+
}
|
|
6418
|
+
|
|
6419
|
+
declare class MDDrawerConfig<D = unknown> extends DialogConfig<D> {
|
|
6420
|
+
title: string;
|
|
6421
|
+
position: 'left' | 'right';
|
|
6422
|
+
size: 'small' | 'medium' | 'large';
|
|
6423
|
+
showCloseButton: boolean;
|
|
6424
|
+
closeLabel: string;
|
|
6425
|
+
}
|
|
6426
|
+
declare const MD_DRAWER_DATA: InjectionToken<unknown>;
|
|
6427
|
+
declare const MD_DRAWER_CONFIG: InjectionToken<MDDrawerConfig<unknown>>;
|
|
6428
|
+
|
|
6429
|
+
declare class MDDrawerRef<R = unknown, T = unknown> {
|
|
6430
|
+
private readonly dialog;
|
|
6431
|
+
constructor(dialog: DialogRef<R, T>);
|
|
6432
|
+
get componentInstance(): T | null;
|
|
6433
|
+
close(result?: R): void;
|
|
6434
|
+
afterClosed(): Observable<R | undefined>;
|
|
6435
|
+
}
|
|
6436
|
+
|
|
6437
|
+
declare class MDDrawer implements OnDestroy {
|
|
6438
|
+
private readonly dialog;
|
|
6439
|
+
private readonly injector;
|
|
6440
|
+
private readonly refs;
|
|
6441
|
+
open<T, D = unknown, R = unknown>(content: ComponentType$2<T> | TemplateRef<T>, config?: Partial<MDDrawerConfig<D>>): MDDrawerRef<R, T>;
|
|
6442
|
+
closeAll(): void;
|
|
6443
|
+
ngOnDestroy(): void;
|
|
6444
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDDrawer, never>;
|
|
6445
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MDDrawer>;
|
|
6446
|
+
}
|
|
6447
|
+
|
|
6448
|
+
declare class MDDrawerContainer extends CdkDialogContainer {
|
|
6449
|
+
readonly options: _natec_mef_dev_ui_kit.MDDrawerConfig<unknown>;
|
|
6450
|
+
readonly titleId: string;
|
|
6451
|
+
private readonly dialog;
|
|
6452
|
+
close(): void;
|
|
6453
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDDrawerContainer, never>;
|
|
6454
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDDrawerContainer, "md-drawer-container", never, {}, {}, never, never, true, never>;
|
|
6455
|
+
}
|
|
6456
|
+
|
|
6457
|
+
declare class MDDrawerModule {
|
|
6458
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDDrawerModule, never>;
|
|
6459
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDDrawerModule, never, [typeof i1$2.DialogModule, typeof MDDrawerContainer], never>;
|
|
6460
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDDrawerModule>;
|
|
6461
|
+
}
|
|
6462
|
+
|
|
6463
|
+
interface HiddenBreadcrumbItem {
|
|
6464
|
+
index: number;
|
|
6465
|
+
label: string;
|
|
6466
|
+
href: string | null;
|
|
6467
|
+
target: string | null;
|
|
6468
|
+
}
|
|
6469
|
+
declare class MDBreadcrumbItem {
|
|
6470
|
+
readonly element: ElementRef<HTMLLIElement>;
|
|
6471
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDBreadcrumbItem, never>;
|
|
6472
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MDBreadcrumbItem, "li[mdBreadcrumbItem], li.breadcrumb-item", never, {}, {}, never, never, true, never>;
|
|
6473
|
+
}
|
|
6474
|
+
declare class MDBreadcrumbs implements AfterViewInit, AfterContentChecked, OnDestroy {
|
|
6475
|
+
ariaLabel: string;
|
|
6476
|
+
overflowLabel: string;
|
|
6477
|
+
private readonly cdr;
|
|
6478
|
+
private readonly breadcrumb;
|
|
6479
|
+
private readonly breadcrumbItems;
|
|
6480
|
+
protected readonly collapsed: i0.WritableSignal<boolean>;
|
|
6481
|
+
protected readonly hiddenItems: i0.WritableSignal<HiddenBreadcrumbItem[]>;
|
|
6482
|
+
protected readonly measuring: i0.WritableSignal<boolean>;
|
|
6483
|
+
private resizeObserver;
|
|
6484
|
+
private contentCheckFrame;
|
|
6485
|
+
private contentKey;
|
|
6486
|
+
private fullRequiredWidth;
|
|
6487
|
+
private fullHiddenItems;
|
|
6488
|
+
private itemCount;
|
|
6489
|
+
ngAfterViewInit(): void;
|
|
6490
|
+
ngAfterContentChecked(): void;
|
|
6491
|
+
ngOnDestroy(): void;
|
|
6492
|
+
protected navigateHiddenItem(event: MouseEvent, item: HiddenBreadcrumbItem): void;
|
|
6493
|
+
private scheduleContentLayoutUpdate;
|
|
6494
|
+
private updateProjectedContentLayout;
|
|
6495
|
+
private applyLayoutForCurrentWidth;
|
|
6496
|
+
private getItems;
|
|
6497
|
+
private getContentKey;
|
|
6498
|
+
private measureFullLayout;
|
|
6499
|
+
private toHiddenItem;
|
|
6500
|
+
private areHiddenItemsEqual;
|
|
6501
|
+
private cancelContentLayoutUpdate;
|
|
6502
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDBreadcrumbs, never>;
|
|
6503
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDBreadcrumbs, "md-breadcrumbs", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "overflowLabel": { "alias": "overflowLabel"; "required": false; }; }, {}, ["breadcrumbItems"], ["*"], true, never>;
|
|
6504
|
+
}
|
|
6505
|
+
|
|
6506
|
+
declare class MDBreadcrumbsModule {
|
|
6507
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDBreadcrumbsModule, never>;
|
|
6508
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDBreadcrumbsModule, never, [typeof MDBreadcrumbs, typeof MDBreadcrumbItem], [typeof MDBreadcrumbs, typeof MDBreadcrumbItem]>;
|
|
6509
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDBreadcrumbsModule>;
|
|
6510
|
+
}
|
|
6511
|
+
|
|
6512
|
+
type MDSkeletonVariant = 'text' | 'rectangle' | 'rounded' | 'circle';
|
|
6513
|
+
type MDSkeletonAnimation = 'pulse' | 'wave' | 'none';
|
|
6514
|
+
/** Decorative placeholder. Set aria-busy on the containing content region. */
|
|
6515
|
+
declare class MDSkeleton {
|
|
6516
|
+
variant: MDSkeletonVariant;
|
|
6517
|
+
animation: MDSkeletonAnimation;
|
|
6518
|
+
/** Numbers are pixels; strings accept CSS units such as %, rem or clamp(). */
|
|
6519
|
+
width: number | string | null;
|
|
6520
|
+
height: number | string | null;
|
|
6521
|
+
borderRadius: number | string | null;
|
|
6522
|
+
cssSize(value: number | string | null): string | null;
|
|
6523
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDSkeleton, never>;
|
|
6524
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDSkeleton, "md-skeleton", never, { "variant": { "alias": "variant"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; }, {}, never, never, true, never>;
|
|
6525
|
+
}
|
|
6526
|
+
|
|
6527
|
+
declare class MDSkeletonModule {
|
|
6528
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDSkeletonModule, never>;
|
|
6529
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDSkeletonModule, never, [typeof MDSkeleton], [typeof MDSkeleton]>;
|
|
6530
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDSkeletonModule>;
|
|
6531
|
+
}
|
|
6532
|
+
|
|
6533
|
+
interface MDDropzoneRejection {
|
|
6534
|
+
file: File;
|
|
6535
|
+
reason: 'type' | 'size' | 'count' | 'duplicate';
|
|
6536
|
+
}
|
|
6537
|
+
declare function matchesFileAccept(file: Pick<File, 'name' | 'type'>, accept: string): boolean;
|
|
6538
|
+
declare class MDDropzone {
|
|
6539
|
+
compact: boolean;
|
|
6540
|
+
files: File[];
|
|
6541
|
+
showFiles: boolean;
|
|
6542
|
+
readonly filesChange: EventEmitter<File[]>;
|
|
6543
|
+
readonly rejected: EventEmitter<MDDropzoneRejection[]>;
|
|
6544
|
+
accept: string;
|
|
6545
|
+
multiple: boolean;
|
|
6546
|
+
disabled: boolean;
|
|
6547
|
+
/** Bytes per file; zero means unlimited. */
|
|
6548
|
+
maxFileSize: number;
|
|
6549
|
+
/** Maximum total number of files; zero means unlimited. */
|
|
6550
|
+
maxFiles: number;
|
|
6551
|
+
label: string;
|
|
6552
|
+
hint: string;
|
|
6553
|
+
removeLabel: string;
|
|
6554
|
+
errorText: (rejection: MDDropzoneRejection) => string;
|
|
6555
|
+
picker: ElementRef<HTMLInputElement>;
|
|
6556
|
+
errors: MDDropzoneRejection[];
|
|
6557
|
+
dragging: boolean;
|
|
6558
|
+
private dragDepth;
|
|
6559
|
+
browse(): void;
|
|
6560
|
+
choose(event: Event): void;
|
|
6561
|
+
dragEnter(event: DragEvent): void;
|
|
6562
|
+
dragLeave(event: DragEvent): void;
|
|
6563
|
+
dragOver(event: DragEvent): void;
|
|
6564
|
+
drop(event: DragEvent): void;
|
|
6565
|
+
addFiles(incoming: File[]): void;
|
|
6566
|
+
remove(index: number): void;
|
|
6567
|
+
formatSize(bytes: number): string;
|
|
6568
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDDropzone, never>;
|
|
6569
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDDropzone, "md-dropzone", never, { "compact": { "alias": "compact"; "required": false; }; "files": { "alias": "files"; "required": false; }; "showFiles": { "alias": "showFiles"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "maxFiles": { "alias": "maxFiles"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "removeLabel": { "alias": "removeLabel"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; }, { "filesChange": "filesChange"; "rejected": "rejected"; }, never, never, true, never>;
|
|
6570
|
+
static ngAcceptInputType_compact: unknown;
|
|
6571
|
+
static ngAcceptInputType_showFiles: unknown;
|
|
6572
|
+
static ngAcceptInputType_multiple: unknown;
|
|
6573
|
+
static ngAcceptInputType_disabled: unknown;
|
|
6574
|
+
}
|
|
6575
|
+
|
|
6576
|
+
declare class MDDropzoneModule {
|
|
6577
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDDropzoneModule, never>;
|
|
6578
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDDropzoneModule, never, [typeof MDDropzone], [typeof MDDropzone]>;
|
|
6579
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDDropzoneModule>;
|
|
6580
|
+
}
|
|
6581
|
+
|
|
6582
|
+
declare class MDMenubar {
|
|
6583
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDMenubar, never>;
|
|
6584
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDMenubar, "md-menubar", never, {}, {}, never, ["*"], true, [{ directive: typeof i1$4.CdkMenuBar; inputs: {}; outputs: {}; }]>;
|
|
6585
|
+
}
|
|
6586
|
+
declare class MDMenubarMenu {
|
|
6587
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDMenubarMenu, never>;
|
|
6588
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDMenubarMenu, "md-menubar-menu", never, {}, {}, never, ["*"], true, [{ directive: typeof i1$4.CdkMenu; inputs: {}; outputs: {}; }]>;
|
|
6589
|
+
}
|
|
6590
|
+
declare class MDMenubarTrigger {
|
|
6591
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDMenubarTrigger, never>;
|
|
6592
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MDMenubarTrigger, "[mdMenubarTriggerFor]", never, {}, {}, never, never, true, [{ directive: typeof i1$4.CdkMenuTrigger; inputs: { "cdkMenuTriggerFor": "mdMenubarTriggerFor"; }; outputs: { "cdkMenuOpened": "menuOpened"; "cdkMenuClosed": "menuClosed"; }; }]>;
|
|
6593
|
+
}
|
|
6594
|
+
declare class MDMenubarItem {
|
|
6595
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDMenubarItem, never>;
|
|
6596
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MDMenubarItem, "[mdMenubarItem]", never, {}, {}, never, never, true, [{ directive: typeof i1$4.CdkMenuItem; inputs: { "cdkMenuItemDisabled": "disabled"; "cdkMenuitemTypeaheadLabel": "typeaheadLabel"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }]>;
|
|
6597
|
+
}
|
|
6598
|
+
declare class MDMenubarCheckbox {
|
|
6599
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDMenubarCheckbox, never>;
|
|
6600
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MDMenubarCheckbox, "[mdMenubarCheckbox]", never, {}, {}, never, never, true, [{ directive: typeof i1$4.CdkMenuItemCheckbox; inputs: { "cdkMenuItemDisabled": "disabled"; "cdkMenuItemChecked": "checked"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }]>;
|
|
6601
|
+
}
|
|
6602
|
+
declare class MDMenubarRadio {
|
|
6603
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDMenubarRadio, never>;
|
|
6604
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MDMenubarRadio, "[mdMenubarRadio]", never, {}, {}, never, never, true, [{ directive: typeof i1$4.CdkMenuItemRadio; inputs: { "cdkMenuItemDisabled": "disabled"; "cdkMenuItemChecked": "checked"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }]>;
|
|
6605
|
+
}
|
|
6606
|
+
declare class MDMenubarGroup {
|
|
6607
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDMenubarGroup, never>;
|
|
6608
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MDMenubarGroup, "[mdMenubarGroup]", never, {}, {}, never, never, true, [{ directive: typeof i1$4.CdkMenuGroup; inputs: {}; outputs: {}; }]>;
|
|
6609
|
+
}
|
|
6610
|
+
declare class MDMenubarModule {
|
|
6611
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDMenubarModule, never>;
|
|
6612
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDMenubarModule, never, [typeof MDMenubar, typeof MDMenubarMenu, typeof MDMenubarTrigger, typeof MDMenubarItem, typeof MDMenubarCheckbox, typeof MDMenubarRadio, typeof MDMenubarGroup], [typeof MDMenubar, typeof MDMenubarMenu, typeof MDMenubarTrigger, typeof MDMenubarItem, typeof MDMenubarCheckbox, typeof MDMenubarRadio, typeof MDMenubarGroup]>;
|
|
6613
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDMenubarModule>;
|
|
6614
|
+
}
|
|
6615
|
+
|
|
6616
|
+
interface MDPaginationChange {
|
|
6617
|
+
page: number;
|
|
6618
|
+
pageSize: number;
|
|
6619
|
+
}
|
|
6620
|
+
declare class MDPagination {
|
|
6621
|
+
/** One-based page number. */
|
|
6622
|
+
page: number;
|
|
6623
|
+
total: number;
|
|
6624
|
+
pageSize: number;
|
|
6625
|
+
pageSizeOptions: number[];
|
|
6626
|
+
disabled: boolean;
|
|
6627
|
+
showFirstLast: boolean;
|
|
6628
|
+
label: string;
|
|
6629
|
+
pageSizeLabel: string;
|
|
6630
|
+
firstLabel: string;
|
|
6631
|
+
previousLabel: string;
|
|
6632
|
+
nextLabel: string;
|
|
6633
|
+
lastLabel: string;
|
|
6634
|
+
pageLabel: (page: number) => string;
|
|
6635
|
+
rangeLabel: (start: number, end: number, total: number) => string;
|
|
6636
|
+
readonly pageChange: EventEmitter<number>;
|
|
6637
|
+
readonly pageSizeChange: EventEmitter<number>;
|
|
6638
|
+
readonly changed: EventEmitter<MDPaginationChange>;
|
|
6639
|
+
get count(): number;
|
|
6640
|
+
get size(): number;
|
|
6641
|
+
get pageCount(): number;
|
|
6642
|
+
get current(): number;
|
|
6643
|
+
get pages(): (number | string)[];
|
|
6644
|
+
get start(): number;
|
|
6645
|
+
get end(): number;
|
|
6646
|
+
get sizes(): number[];
|
|
6647
|
+
isPage(value: number | string): value is number;
|
|
6648
|
+
go(page: number): void;
|
|
6649
|
+
resize(value: number): void;
|
|
6650
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDPagination, never>;
|
|
6651
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDPagination, "md-pagination", never, { "page": { "alias": "page"; "required": false; }; "total": { "alias": "total"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showFirstLast": { "alias": "showFirstLast"; "required": false; }; "label": { "alias": "label"; "required": false; }; "pageSizeLabel": { "alias": "pageSizeLabel"; "required": false; }; "firstLabel": { "alias": "firstLabel"; "required": false; }; "previousLabel": { "alias": "previousLabel"; "required": false; }; "nextLabel": { "alias": "nextLabel"; "required": false; }; "lastLabel": { "alias": "lastLabel"; "required": false; }; "pageLabel": { "alias": "pageLabel"; "required": false; }; "rangeLabel": { "alias": "rangeLabel"; "required": false; }; }, { "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; "changed": "changed"; }, never, never, true, never>;
|
|
6652
|
+
static ngAcceptInputType_disabled: unknown;
|
|
6653
|
+
static ngAcceptInputType_showFirstLast: unknown;
|
|
6654
|
+
}
|
|
6655
|
+
declare class MDPaginationModule {
|
|
6656
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDPaginationModule, never>;
|
|
6657
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDPaginationModule, never, [typeof MDPagination], [typeof MDPagination]>;
|
|
6658
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDPaginationModule>;
|
|
6659
|
+
}
|
|
6660
|
+
|
|
6661
|
+
type MDUploadStatus = 'queued' | 'uploading' | 'success' | 'error' | 'cancelled';
|
|
6662
|
+
interface MDUploadItem {
|
|
6663
|
+
/** Stable, unique identifier. */
|
|
6664
|
+
id: string;
|
|
6665
|
+
name: string;
|
|
6666
|
+
size?: number;
|
|
6667
|
+
status: MDUploadStatus;
|
|
6668
|
+
/** Omit when progress is unknown. */
|
|
6669
|
+
progress?: number;
|
|
6670
|
+
error?: string;
|
|
6671
|
+
}
|
|
6672
|
+
declare class MDUploadList {
|
|
6673
|
+
items: readonly MDUploadItem[];
|
|
6674
|
+
disabled: boolean;
|
|
6675
|
+
label: string;
|
|
6676
|
+
emptyLabel: string;
|
|
6677
|
+
cancelLabel: string;
|
|
6678
|
+
retryLabel: string;
|
|
6679
|
+
removeLabel: string;
|
|
6680
|
+
statusLabel: (item: MDUploadItem) => string;
|
|
6681
|
+
readonly cancel: EventEmitter<MDUploadItem>;
|
|
6682
|
+
readonly retry: EventEmitter<MDUploadItem>;
|
|
6683
|
+
readonly remove: EventEmitter<MDUploadItem>;
|
|
6684
|
+
progress(item: MDUploadItem): number | null;
|
|
6685
|
+
formatSize(size: number): string;
|
|
6686
|
+
action(type: 'cancel' | 'retry' | 'remove', item: MDUploadItem): void;
|
|
6687
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDUploadList, never>;
|
|
6688
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDUploadList, "md-upload-list", never, { "items": { "alias": "items"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "emptyLabel": { "alias": "emptyLabel"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "retryLabel": { "alias": "retryLabel"; "required": false; }; "removeLabel": { "alias": "removeLabel"; "required": false; }; "statusLabel": { "alias": "statusLabel"; "required": false; }; }, { "cancel": "cancel"; "retry": "retry"; "remove": "remove"; }, never, never, true, never>;
|
|
6689
|
+
static ngAcceptInputType_disabled: unknown;
|
|
6690
|
+
}
|
|
6691
|
+
declare class MDUploadListModule {
|
|
6692
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDUploadListModule, never>;
|
|
6693
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDUploadListModule, never, [typeof MDUploadList], [typeof MDUploadList]>;
|
|
6694
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDUploadListModule>;
|
|
6695
|
+
}
|
|
6696
|
+
|
|
6697
|
+
declare class MDEmptyState {
|
|
6698
|
+
heading: string;
|
|
6699
|
+
description: string;
|
|
6700
|
+
icon: 'empty' | 'search' | 'error' | 'none';
|
|
6701
|
+
compact: boolean;
|
|
6702
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDEmptyState, never>;
|
|
6703
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDEmptyState, "md-empty-state", never, { "heading": { "alias": "heading"; "required": false; }; "description": { "alias": "description"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; }, {}, never, ["[mdEmptyStateIllustration]", "*"], true, never>;
|
|
6704
|
+
static ngAcceptInputType_compact: unknown;
|
|
6705
|
+
}
|
|
6706
|
+
declare class MDEmptyStateModule {
|
|
6707
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDEmptyStateModule, never>;
|
|
6708
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDEmptyStateModule, never, [typeof MDEmptyState], [typeof MDEmptyState]>;
|
|
6709
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDEmptyStateModule>;
|
|
6710
|
+
}
|
|
6711
|
+
|
|
6712
|
+
declare class MDPopover {
|
|
6713
|
+
label: string;
|
|
6714
|
+
template: TemplateRef<unknown>;
|
|
6715
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDPopover, never>;
|
|
6716
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDPopover, "md-popover", ["mdPopover"], { "label": { "alias": "label"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
6717
|
+
}
|
|
6718
|
+
declare class MDPopoverTrigger implements OnDestroy {
|
|
6719
|
+
private readonly overlay;
|
|
6720
|
+
private readonly cdr;
|
|
6721
|
+
private readonly element;
|
|
6722
|
+
private readonly view;
|
|
6723
|
+
private ref?;
|
|
6724
|
+
private subscriptions;
|
|
6725
|
+
mdPopoverTriggerFor: MDPopover;
|
|
6726
|
+
popoverDisabled: boolean;
|
|
6727
|
+
readonly opened: EventEmitter<void>;
|
|
6728
|
+
readonly closed: EventEmitter<void>;
|
|
6729
|
+
isOpen: boolean;
|
|
6730
|
+
panelId: string;
|
|
6731
|
+
toggle(): void;
|
|
6732
|
+
open(): void;
|
|
6733
|
+
close(restoreFocus?: boolean): void;
|
|
6734
|
+
ngOnDestroy(): void;
|
|
6735
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDPopoverTrigger, never>;
|
|
6736
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MDPopoverTrigger, "[mdPopoverTriggerFor]", ["mdPopoverTrigger"], { "mdPopoverTriggerFor": { "alias": "mdPopoverTriggerFor"; "required": false; }; "popoverDisabled": { "alias": "popoverDisabled"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
|
|
6737
|
+
static ngAcceptInputType_popoverDisabled: unknown;
|
|
6738
|
+
}
|
|
6739
|
+
declare class MDPopoverModule {
|
|
6740
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDPopoverModule, never>;
|
|
6741
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDPopoverModule, never, [typeof MDPopover, typeof MDPopoverTrigger], [typeof MDPopover, typeof MDPopoverTrigger]>;
|
|
6742
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDPopoverModule>;
|
|
6743
|
+
}
|
|
6744
|
+
|
|
6745
|
+
declare class MDSplitPane {
|
|
6746
|
+
private readonly element;
|
|
6747
|
+
/** Horizontal places panes side by side; vertical stacks them. */
|
|
6748
|
+
orientation: 'horizontal' | 'vertical';
|
|
6749
|
+
size: number;
|
|
6750
|
+
min: number;
|
|
6751
|
+
max: number;
|
|
6752
|
+
step: number;
|
|
6753
|
+
separatorLabel: string;
|
|
6754
|
+
disabled: boolean;
|
|
6755
|
+
readonly sizeChange: EventEmitter<number>;
|
|
6756
|
+
readonly resizeEnd: EventEmitter<number>;
|
|
6757
|
+
resizing: boolean;
|
|
6758
|
+
private pointer;
|
|
6759
|
+
get lower(): number;
|
|
6760
|
+
get upper(): number;
|
|
6761
|
+
get value(): number;
|
|
6762
|
+
private setSize;
|
|
6763
|
+
start(event: PointerEvent): void;
|
|
6764
|
+
move(event: PointerEvent): void;
|
|
6765
|
+
end(event: PointerEvent): void;
|
|
6766
|
+
key(event: KeyboardEvent): void;
|
|
6767
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDSplitPane, never>;
|
|
6768
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDSplitPane, "md-split-pane", never, { "orientation": { "alias": "orientation"; "required": false; }; "size": { "alias": "size"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "separatorLabel": { "alias": "separatorLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "sizeChange": "sizeChange"; "resizeEnd": "resizeEnd"; }, never, ["[mdSplitPrimary]", "[mdSplitSecondary]"], true, never>;
|
|
6769
|
+
static ngAcceptInputType_disabled: unknown;
|
|
6770
|
+
}
|
|
6771
|
+
declare class MDSplitPaneModule {
|
|
6772
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDSplitPaneModule, never>;
|
|
6773
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDSplitPaneModule, never, [typeof MDSplitPane], [typeof MDSplitPane]>;
|
|
6774
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDSplitPaneModule>;
|
|
6775
|
+
}
|
|
6776
|
+
|
|
6777
|
+
interface MDComboboxOption {
|
|
6778
|
+
value: string;
|
|
6779
|
+
label: string;
|
|
6780
|
+
disabled?: boolean;
|
|
6781
|
+
}
|
|
6782
|
+
declare class MDCombobox implements ControlValueAccessor {
|
|
6783
|
+
private readonly cdr;
|
|
6784
|
+
private readonly document;
|
|
6785
|
+
options: readonly MDComboboxOption[];
|
|
6786
|
+
value: string[];
|
|
6787
|
+
label: string;
|
|
6788
|
+
placeholder: string;
|
|
6789
|
+
emptyLabel: string;
|
|
6790
|
+
removeLabel: string;
|
|
6791
|
+
clearLabel: string;
|
|
6792
|
+
disabled: boolean;
|
|
6793
|
+
readonly valueChange: EventEmitter<string[]>;
|
|
6794
|
+
readonly id: string;
|
|
6795
|
+
query: string;
|
|
6796
|
+
open: boolean;
|
|
6797
|
+
active: number;
|
|
6798
|
+
onChange: (value: string[]) => void;
|
|
6799
|
+
onTouched: () => void;
|
|
6800
|
+
get filtered(): MDComboboxOption[];
|
|
6801
|
+
get activeId(): string | null;
|
|
6802
|
+
labelFor(value: string): string;
|
|
6803
|
+
show(): void;
|
|
6804
|
+
search(event: Event): void;
|
|
6805
|
+
close(): void;
|
|
6806
|
+
change(values: string[]): void;
|
|
6807
|
+
toggle(option: MDComboboxOption): void;
|
|
6808
|
+
remove(value: string): void;
|
|
6809
|
+
key(event: KeyboardEvent): void;
|
|
6810
|
+
blur(event: FocusEvent): void;
|
|
6811
|
+
writeValue(value: string[] | null): void;
|
|
6812
|
+
registerOnChange(fn: (value: string[]) => void): void;
|
|
6813
|
+
registerOnTouched(fn: () => void): void;
|
|
6814
|
+
setDisabledState(disabled: boolean): void;
|
|
6815
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDCombobox, never>;
|
|
6816
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDCombobox, "md-combobox", never, { "options": { "alias": "options"; "required": false; }; "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "emptyLabel": { "alias": "emptyLabel"; "required": false; }; "removeLabel": { "alias": "removeLabel"; "required": false; }; "clearLabel": { "alias": "clearLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
6817
|
+
static ngAcceptInputType_disabled: unknown;
|
|
6818
|
+
}
|
|
6819
|
+
declare class MDComboboxModule {
|
|
6820
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDComboboxModule, never>;
|
|
6821
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDComboboxModule, never, [typeof MDCombobox], [typeof MDCombobox]>;
|
|
6822
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDComboboxModule>;
|
|
6823
|
+
}
|
|
6824
|
+
|
|
6825
|
+
interface MDTransferItem {
|
|
6826
|
+
value: string;
|
|
6827
|
+
label: string;
|
|
6828
|
+
disabled?: boolean;
|
|
6829
|
+
}
|
|
6830
|
+
declare class MDTransferList implements ControlValueAccessor {
|
|
6831
|
+
private readonly cdr;
|
|
6832
|
+
items: readonly MDTransferItem[];
|
|
6833
|
+
value: string[];
|
|
6834
|
+
disabled: boolean;
|
|
6835
|
+
availableLabel: string;
|
|
6836
|
+
selectedLabel: string;
|
|
6837
|
+
searchLabel: string;
|
|
6838
|
+
selectAllLabel: string;
|
|
6839
|
+
addLabel: string;
|
|
6840
|
+
removeLabel: string;
|
|
6841
|
+
emptyLabel: string;
|
|
6842
|
+
announcement: (count: number, destination: string) => string;
|
|
6843
|
+
readonly valueChange: EventEmitter<string[]>;
|
|
6844
|
+
readonly sides: boolean[];
|
|
6845
|
+
queries: string[];
|
|
6846
|
+
checked: Set<string>;
|
|
6847
|
+
message: string;
|
|
6848
|
+
onChange: (value: string[]) => void;
|
|
6849
|
+
onTouched: () => void;
|
|
6850
|
+
title(selected: boolean): string;
|
|
6851
|
+
list(selected: boolean): MDTransferItem[];
|
|
6852
|
+
eligible(selected: boolean): MDTransferItem[];
|
|
6853
|
+
marked(selected: boolean): MDTransferItem[];
|
|
6854
|
+
all(selected: boolean): boolean;
|
|
6855
|
+
partial(selected: boolean): boolean;
|
|
6856
|
+
search(selected: boolean, event: Event): void;
|
|
6857
|
+
check(item: MDTransferItem): void;
|
|
6858
|
+
checkAll(selected: boolean): void;
|
|
6859
|
+
move(fromSelected: boolean): void;
|
|
6860
|
+
writeValue(value: string[] | null): void;
|
|
6861
|
+
registerOnChange(fn: (value: string[]) => void): void;
|
|
6862
|
+
registerOnTouched(fn: () => void): void;
|
|
6863
|
+
setDisabledState(disabled: boolean): void;
|
|
6864
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDTransferList, never>;
|
|
6865
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDTransferList, "md-transfer-list", never, { "items": { "alias": "items"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "availableLabel": { "alias": "availableLabel"; "required": false; }; "selectedLabel": { "alias": "selectedLabel"; "required": false; }; "searchLabel": { "alias": "searchLabel"; "required": false; }; "selectAllLabel": { "alias": "selectAllLabel"; "required": false; }; "addLabel": { "alias": "addLabel"; "required": false; }; "removeLabel": { "alias": "removeLabel"; "required": false; }; "emptyLabel": { "alias": "emptyLabel"; "required": false; }; "announcement": { "alias": "announcement"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
6866
|
+
static ngAcceptInputType_disabled: unknown;
|
|
6867
|
+
}
|
|
6868
|
+
declare class MDTransferListModule {
|
|
6869
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDTransferListModule, never>;
|
|
6870
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDTransferListModule, never, [typeof MDTransferList], [typeof MDTransferList]>;
|
|
6871
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDTransferListModule>;
|
|
6872
|
+
}
|
|
6873
|
+
|
|
6874
|
+
declare class MDTourTargets {
|
|
6875
|
+
private readonly targets;
|
|
6876
|
+
register(name: string, element: HTMLElement): void;
|
|
6877
|
+
unregister(name: string, element: HTMLElement): void;
|
|
6878
|
+
resolve(name: string): HTMLElement | undefined;
|
|
6879
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDTourTargets, never>;
|
|
6880
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MDTourTargets>;
|
|
6881
|
+
}
|
|
6882
|
+
declare class MDTourTarget implements OnDestroy {
|
|
6883
|
+
private readonly registry;
|
|
6884
|
+
private readonly element;
|
|
6885
|
+
private name;
|
|
6886
|
+
set mdTourTarget(name: string);
|
|
6887
|
+
ngOnDestroy(): void;
|
|
6888
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDTourTarget, never>;
|
|
6889
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MDTourTarget, "[mdTourTarget]", never, { "mdTourTarget": { "alias": "mdTourTarget"; "required": false; }; }, {}, never, never, true, never>;
|
|
6890
|
+
}
|
|
6891
|
+
interface MDTourStep {
|
|
6892
|
+
target: string | HTMLElement;
|
|
6893
|
+
title: string;
|
|
6894
|
+
description: string;
|
|
6895
|
+
}
|
|
6896
|
+
declare class MDTour implements OnDestroy {
|
|
6897
|
+
private readonly overlay;
|
|
6898
|
+
private readonly targets;
|
|
6899
|
+
private readonly view;
|
|
6900
|
+
private readonly cdr;
|
|
6901
|
+
private readonly document;
|
|
6902
|
+
private readonly zone;
|
|
6903
|
+
private spotlight?;
|
|
6904
|
+
private frame?;
|
|
6905
|
+
private lastBounds;
|
|
6906
|
+
spotlightPadding: number;
|
|
6907
|
+
spotlightRadius: number;
|
|
6908
|
+
private ref?;
|
|
6909
|
+
private subscriptions;
|
|
6910
|
+
private restore?;
|
|
6911
|
+
private activeSteps;
|
|
6912
|
+
steps: MDTourStep[];
|
|
6913
|
+
nextLabel: string;
|
|
6914
|
+
backLabel: string;
|
|
6915
|
+
finishLabel: string;
|
|
6916
|
+
closeLabel: string;
|
|
6917
|
+
progressLabel: (index: number, total: number) => string;
|
|
6918
|
+
readonly completed: EventEmitter<void>;
|
|
6919
|
+
readonly dismissed: EventEmitter<void>;
|
|
6920
|
+
readonly stepChange: EventEmitter<number>;
|
|
6921
|
+
template: TemplateRef<unknown>;
|
|
6922
|
+
readonly id: string;
|
|
6923
|
+
index: number;
|
|
6924
|
+
get current(): MDTourStep | undefined;
|
|
6925
|
+
get total(): number;
|
|
6926
|
+
start(steps?: MDTourStep[]): void;
|
|
6927
|
+
private resolve;
|
|
6928
|
+
private show;
|
|
6929
|
+
private installSpotlight;
|
|
6930
|
+
private updateSpotlight;
|
|
6931
|
+
next(): void;
|
|
6932
|
+
back(): void;
|
|
6933
|
+
close(): void;
|
|
6934
|
+
private dispose;
|
|
6935
|
+
ngOnDestroy(): void;
|
|
6936
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDTour, never>;
|
|
6937
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDTour, "md-tour", ["mdTour"], { "spotlightPadding": { "alias": "spotlightPadding"; "required": false; }; "spotlightRadius": { "alias": "spotlightRadius"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "nextLabel": { "alias": "nextLabel"; "required": false; }; "backLabel": { "alias": "backLabel"; "required": false; }; "finishLabel": { "alias": "finishLabel"; "required": false; }; "closeLabel": { "alias": "closeLabel"; "required": false; }; "progressLabel": { "alias": "progressLabel"; "required": false; }; }, { "completed": "completed"; "dismissed": "dismissed"; "stepChange": "stepChange"; }, never, never, true, never>;
|
|
6938
|
+
}
|
|
6939
|
+
declare class MDTourModule {
|
|
6940
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDTourModule, never>;
|
|
6941
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDTourModule, never, [typeof MDTour, typeof MDTourTarget], [typeof MDTour, typeof MDTourTarget]>;
|
|
6942
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDTourModule>;
|
|
6943
|
+
}
|
|
6944
|
+
|
|
6945
|
+
declare class MDCarouselSlide {
|
|
6946
|
+
readonly template: TemplateRef<any>;
|
|
6947
|
+
readonly label: i0.InputSignal<string>;
|
|
6948
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDCarouselSlide, never>;
|
|
6949
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MDCarouselSlide, "ng-template[mdCarouselSlide]", never, { "label": { "alias": "mdCarouselSlide"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6950
|
+
}
|
|
6951
|
+
declare class MDCarousel {
|
|
6952
|
+
readonly label: i0.InputSignal<string>;
|
|
6953
|
+
readonly loop: i0.InputSignalWithTransform<boolean, unknown>;
|
|
6954
|
+
readonly index: i0.ModelSignal<number>;
|
|
6955
|
+
readonly slides: i0.Signal<readonly MDCarouselSlide[]>;
|
|
6956
|
+
readonly current: i0.Signal<number>;
|
|
6957
|
+
readonly active: i0.Signal<MDCarouselSlide>;
|
|
6958
|
+
readonly previousDisabled: i0.Signal<boolean>;
|
|
6959
|
+
readonly nextDisabled: i0.Signal<boolean>;
|
|
6960
|
+
goTo(index: number): void;
|
|
6961
|
+
onKeydown(event: KeyboardEvent): void;
|
|
6962
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDCarousel, never>;
|
|
6963
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDCarousel, "md-carousel", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "loop": { "alias": "loop"; "required": false; "isSignal": true; }; "index": { "alias": "index"; "required": false; "isSignal": true; }; }, { "index": "indexChange"; }, ["slides"], never, true, never>;
|
|
6964
|
+
}
|
|
6965
|
+
declare class MDCarouselModule {
|
|
6966
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDCarouselModule, never>;
|
|
6967
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDCarouselModule, never, [typeof MDCarousel, typeof MDCarouselSlide], [typeof MDCarousel, typeof MDCarouselSlide]>;
|
|
6968
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDCarouselModule>;
|
|
6969
|
+
}
|
|
6970
|
+
|
|
6971
|
+
/** Opt-in Figma table presentation; consumers own native rows, sorting and selection. */
|
|
6972
|
+
declare class MDPlatformTable {
|
|
6973
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDPlatformTable, never>;
|
|
6974
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDPlatformTable, "table[md-platform-table]", never, {}, {}, never, ["*"], true, never>;
|
|
6975
|
+
}
|
|
6976
|
+
|
|
6977
|
+
interface MDPlatformBreadcrumb {
|
|
6978
|
+
label: string;
|
|
6979
|
+
/** Angular route for an ancestor. The last item is always the current page. */
|
|
6980
|
+
routerLink?: string | any[];
|
|
6981
|
+
href?: string;
|
|
6982
|
+
}
|
|
6983
|
+
declare class MDPlatformBreadcrumbs {
|
|
6984
|
+
readonly items: i0.InputSignal<readonly MDPlatformBreadcrumb[]>;
|
|
6985
|
+
readonly label: i0.InputSignal<string>;
|
|
6986
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDPlatformBreadcrumbs, never>;
|
|
6987
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDPlatformBreadcrumbs, "md-platform-breadcrumbs", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6988
|
+
}
|
|
6989
|
+
|
|
6990
|
+
declare class MDPlatformAccordion {
|
|
6991
|
+
readonly heading: i0.InputSignal<string>;
|
|
6992
|
+
readonly icon: i0.InputSignal<"information" | "references" | "security" | "credentials">;
|
|
6993
|
+
readonly expanded: i0.ModelSignal<boolean>;
|
|
6994
|
+
onToggle(event: Event): void;
|
|
6995
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDPlatformAccordion, never>;
|
|
6996
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDPlatformAccordion, "md-platform-accordion", never, { "heading": { "alias": "heading"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["*"], true, never>;
|
|
6997
|
+
}
|
|
6998
|
+
|
|
6999
|
+
/** Opt-in, light presentation from Platform Figma. Tokens inherit only within this host. */
|
|
7000
|
+
declare class MDPlatformSurface {
|
|
7001
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDPlatformSurface, never>;
|
|
7002
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDPlatformSurface, "md-platform-surface", never, {}, {}, never, ["*"], true, never>;
|
|
7003
|
+
}
|
|
7004
|
+
declare class MDPlatformButton {
|
|
7005
|
+
readonly variant: i0.InputSignal<"text" | "primary" | "cancel" | "success" | "confirm">;
|
|
7006
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDPlatformButton, never>;
|
|
7007
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDPlatformButton, "button[md-platform-button]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7008
|
+
}
|
|
7009
|
+
/** Native input/textarea retain native semantics and Angular form value accessors. */
|
|
7010
|
+
declare class MDPlatformInput {
|
|
7011
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDPlatformInput, never>;
|
|
7012
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDPlatformInput, "input[md-platform-input], textarea[md-platform-input]", never, {}, {}, never, never, true, never>;
|
|
7013
|
+
}
|
|
7014
|
+
declare class MDPlatformField {
|
|
7015
|
+
readonly controlId: i0.InputSignal<string>;
|
|
7016
|
+
readonly label: i0.InputSignal<string>;
|
|
7017
|
+
readonly hint: i0.InputSignal<string>;
|
|
7018
|
+
readonly error: i0.InputSignal<string>;
|
|
7019
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDPlatformField, never>;
|
|
7020
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDPlatformField, "md-platform-field", never, { "controlId": { "alias": "controlId"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
7021
|
+
}
|
|
7022
|
+
declare class MDPlatformChip {
|
|
7023
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDPlatformChip, never>;
|
|
7024
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDPlatformChip, "md-platform-chip", never, {}, {}, never, ["*"], true, never>;
|
|
7025
|
+
}
|
|
7026
|
+
declare class MDPlatformModule {
|
|
7027
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDPlatformModule, never>;
|
|
7028
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MDPlatformModule, never, [typeof MDPlatformTable, typeof MDPlatformBreadcrumbs, typeof MDPlatformAccordion, typeof MDPlatformSurface, typeof MDPlatformButton, typeof MDPlatformInput, typeof MDPlatformField, typeof MDPlatformChip], [typeof MDPlatformTable, typeof MDPlatformBreadcrumbs, typeof MDPlatformAccordion, typeof MDPlatformSurface, typeof MDPlatformButton, typeof MDPlatformInput, typeof MDPlatformField, typeof MDPlatformChip]>;
|
|
7029
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MDPlatformModule>;
|
|
7030
|
+
}
|
|
7031
|
+
|
|
7032
|
+
interface MDActiveFilterItem {
|
|
7033
|
+
id: string;
|
|
7034
|
+
label: string;
|
|
7035
|
+
}
|
|
7036
|
+
declare class MDFilterActionBar {
|
|
7037
|
+
readonly filters: i0.InputSignal<readonly MDActiveFilterItem[]>;
|
|
7038
|
+
readonly openLabel: i0.InputSignal<string>;
|
|
7039
|
+
readonly removeLabel: i0.InputSignal<string>;
|
|
7040
|
+
readonly selectLabel: i0.InputSignal<string>;
|
|
7041
|
+
readonly disabled: i0.InputSignal<boolean>;
|
|
7042
|
+
readonly openFilters: i0.OutputEmitterRef<void>;
|
|
7043
|
+
readonly removeFilter: i0.OutputEmitterRef<string>;
|
|
7044
|
+
readonly selectFilter: i0.OutputEmitterRef<string>;
|
|
7045
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MDFilterActionBar, never>;
|
|
7046
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MDFilterActionBar, "md-filter-action-bar", never, { "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "openLabel": { "alias": "openLabel"; "required": false; "isSignal": true; }; "removeLabel": { "alias": "removeLabel"; "required": false; "isSignal": true; }; "selectLabel": { "alias": "selectLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "openFilters": "openFilters"; "removeFilter": "removeFilter"; "selectFilter": "selectFilter"; }, never, never, true, never>;
|
|
7047
|
+
}
|
|
7048
|
+
|
|
7049
|
+
export { ACCORDION, BasePortalHost, CARD_CONFIG, ComponentPortal, DIALOG_DATA, DIALOG_DEFAULT_OPTIONS, DIALOG_SCROLL_STRATEGY, DefaultGlobalConfig, DefaultNoAnimationsGlobalConfig, DefaultNoComponentGlobalConfig, DialogState, EXPANSION_PANEL_DEFAULT_OPTIONS, ErrorStateMatcher, ExpansionPanelActionRow, ExpansionPanelDescription, ExpansionPanelTitle, INK_BAR_POSITIONER, INK_BAR_POSITIONER_FACTORY, InkBar, MDAccordion, MDAutocomplete, MDAutocompleteModule, MDAutocompleteOrigin, MDAutocompleteSelectedEvent, MDAutocompleteTrigger, MDBottomSheet, MDBottomSheetConfig, MDBottomSheetContainer, MDBottomSheetModule, MDBottomSheetRef, MDBreadcrumbItem, MDBreadcrumbs, MDBreadcrumbsModule, MDButton, MDButtonModule, MDButtonToggle, MDButtonToggleGroup, MDButtonToggleModule, MDCalendar, MDCard, MDCardActions, MDCardAvatar, MDCardContent, MDCardFooter, MDCardHeader, MDCardImage, MDCardLgImage, MDCardMdImage, MDCardModule, MDCardSmImage, MDCardSubtitle, MDCardTitle, MDCardTitleGroup, MDCardXlImage, MDCarousel, MDCarouselModule, MDCarouselSlide, MDCheckBox, MDCheckBoxModule, MDCheckboxChange, MDChip, MDChipAvatar, MDChipEdit, MDChipEditInput, MDChipGrid, MDChipGridChange, MDChipInput, MDChipListbox, MDChipListboxChange, MDChipOption, MDChipRemove, MDChipRow, MDChipSelectionChange, MDChipSet, MDChipTrailingIcon, MDChipsModule, MDCollapseModule, MDCombobox, MDComboboxModule, MDContextMenuTrigger, MDButton as MDDangerButton, MDButton as MDDarkButton, MDDateRangeInput, MDDateRangePicker, MDDatepicker, MDDatepickerActions, MDDatepickerApply, MDDatepickerCancel, MDDatepickerInput, MDDatepickerIntl, MDDatepickerModule, MDDatepickerToggle, MDDatepickerToggleIcon, MDDefaultDateRangeSelectionStrategy, MDDialog, MDDialogActions, MDDialogClose, MDDialogContainer, MDDialogContent, MDDialogTitle, MDDivider, MDDividerModule, MDDrawer, MDDrawerConfig, MDDrawerModule, MDDrawerRef, MDDropzone, MDDropzoneModule, MDEmptyState, MDEmptyStateModule, MDEndDate, MDExpansionPanel, MDExpansionPanelContent, MDExpansionPanelHeader, MDFilterActionBar, MDFormField, MDFormFieldModule, MDFormFieldPrefix, MDFormFieldSuffix, MDGridActionsColumnDirective, MDGridAutoSizeDirective, MDGridCellTemplateDirective, MDGridColumnDirective, MDGridComponent, MDGridEditTemplateDirective, MDGridHeaderTemplateDirective, MDGridIdColumnDirective, MDGridModule, MDGridResetFlexSizingDirective, MDGridToolbarTemplateDirective, MDHeaderCardComponent, MDHeaderCardModule, MDHeaderCardSetComponent, MDButton as MDInfoButton, MDInput, MDButton as MDLightButton, MDButton as MDLinkButton, MDMenu, MDMenuContent, MDMenuItem, MDMenuModule, MDMenuTrigger, MDMenubar, MDMenubarCheckbox, MDMenubarGroup, MDMenubarItem, MDMenubarMenu, MDMenubarModule, MDMenubarRadio, MDMenubarTrigger, MDModalModule, MDOption, MDOptionGroup, MDOptionModule, MDOptionSelectionChange, MDPagination, MDPaginationModule, MDPaginatorComponent, MDPaginatorModule, MDPlatformAccordion, MDPlatformBreadcrumbs, MDPlatformButton, MDPlatformChip, MDPlatformField, MDPlatformInput, MDPlatformModule, MDPlatformSurface, MDPlatformTable, MDPopover, MDPopoverModule, MDPopoverTrigger, MDButton as MDPrimaryButton, MDProgressBar, MDProgressBarModule, MDProgressSpinner, MDProgressSpinnerModule, MDPseudoCheckboxModule, MDRadioButton, MDRadioGroup, MDRadioModule, MDButton as MDSecondaryButton, MDSelect, MDSelectModule, MDSelectTrigger, MDSkeleton, MDSkeletonModule, MDSlider, MDSliderModule, MDSliderThumb as MDSliderRangeThumb, MDSliderThumb, MDSnackBar, MDSnackBarConfig, MDSnackBarModule, MDSnackBarRef, MDProgressSpinner as MDSpinner, MDSplitPane, MDSplitPaneModule, MDStartDate, MDButton as MDStatusDangerButton, MDButton as MDStatusPrimaryButton, MDStep, MDStepContent, MDStepExecutorModule, MDStepFooter, MDStepHeader, MDStepLabel, MDStepper, MDStepperIcon, MDStepperNext, MDStepperPrevious, MDButton as MDSuccessButton, MDSwitch, MDSwitchModule, MDTab, MDTabBody, MDTabChangeEvent, MDTabContent, MDTabGroup, MDTabHeader, MDTabLabel, MDTabLabelWrapper, MDTabLink, MDTabNav, MDTabNavPanel, MDTabsModule, MDTooltip, MDTooltipModule, MDTour, MDTourModule, MDTourTarget, MDTourTargets, MDTransferList, MDTransferListModule, MDUploadList, MDUploadListModule, MDButton as MDWarningButton, MD_AUTOCOMPLETE_DEFAULT_OPTIONS, MD_AUTOCOMPLETE_SCROLL_STRATEGY, MD_AUTOCOMPLETE_VALUE_ACCESSOR, MD_BOTTOM_SHEET_DATA, MD_BOTTOM_SHEET_DEFAULT_OPTIONS, MD_BUTTON_DIRECTIVES, MD_CHIP, MD_CHIPS_DEFAULT_OPTIONS, MD_CHIP_AVATAR, MD_CHIP_EDIT, MD_CHIP_LISTBOX_CONTROL_VALUE_ACCESSOR, MD_CHIP_REMOVE, MD_CHIP_TRAILING_ICON, MD_DATEPICKER_ACTIONS_OWNER, MD_DATE_RANGE_SELECTION_STRATEGY, MD_DRAWER_CONFIG, MD_DRAWER_DATA, MD_EXPANSION_PANEL, MD_FORM_FIELD, MD_MENU_CONTENT, MD_MENU_DEFAULT_OPTIONS, MD_MENU_PANEL, MD_MENU_SCROLL_STRATEGY, MD_OPTION_PARENT_COMPONENT, MD_RADIO_GROUP, MD_SELECT_TRIGGER, MD_SLIDER, MD_SNACK_BAR_DEFAULT_OPTIONS, MD_TAB, MD_TAB_LABEL, MENU_PANEL_TOP_PADDING, MefDevDialogConfig, MefDevDialogRef, Overlay, OverlayContainer, OverlayRef, PaginatedTabHeader, PseudoCheckbox, RADIO_GROUP_CONTROL_VALUE_ACCESSOR, RadioChange, STEPPER_INTL_PROVIDER, STEPPER_INTL_PROVIDER_FACTORY, SelectChange, ShowOnDirtyErrorStateMatcher, SortDirection, SortType, StepperErrorStateMatcher, StepperIntl, TABS_CONFIG, TAB_CONTENT, TAB_GROUP, TOAST_CONFIG, TabBodyPortal, Toast, ToastContainerDirective, ToastBase as ToastNoAnimation, ToastNoAnimationModule, ToastPackage, ToastRef, ToastrComponentlessModule, ToastrModule, ToastrService, TransitionCheckState, _ErrorStateTracker, _closeDialogVia, _countGroupLabelsBeforeOption, _getOptionScrollPosition, components, getMDAutocompleteMissingPanelError, getMDSelectDynamicMultipleError, getMDSelectNonArrayValueError, getMDSelectNonFunctionValueError, groupRowsByProperty, matchesFileAccept, provideToastr, sortRows };
|
|
7050
|
+
export type { AccordionBase, AccordionDisplayMode, AccordionTogglePosition, ActiveToast, AutoFocusTarget, CardAppearance, CardConfig, CardsGridEditContext, CheckboxClickAction, ComponentType, DialogPosition, DialogRole, DisableTimoutType, ExpansionPanelBase, ExpansionPanelDefaultOptions, ExpansionPanelState, GlobalConfig, GridCellContext, GridColumn, GridColumnMobileRole, GridColumnResizeEvent, GridColumnState, GridEditContext, GridHeaderContext, GridPageEvent, GridRowEditEvent, GridSortEvent, GroupedRows, IndividualConfig, MDActiveFilterItem, MDAutocompleteActivatedEvent, MDBottomSheetAutoFocusTarget, MDButtonToggleChange, MDCalendarCellClassFunction, MDChipColor, MDChipEditedEvent, MDChipEvent, MDChipInputEvent, MDChipTextControl, MDChipsDefaultOptions, MDComboboxOption, MDDateFilterFn, MDDateRange, MDDateRangeInputEvent, MDDateRangeSelectionStrategy, MDDatepickerActionsOwner, MDDatepickerInputEvent, MDDatepickerPanel, MDDatepickerView, MDDropzoneRejection, MDFormFieldHost, MDMenuDefaultOptions, MDMenuPanel, MDOptionParentComponent, MDPaginatedStepHeaderItem, MDPaginationChange, MDPlatformBreadcrumb, MDProgressAnimationEnd, MDProgressBarColor, MDProgressBarMode, MDProgressColor, MDProgressSpinnerMode, MDSkeletonAnimation, MDSkeletonVariant, MDSliderDisplayWith, MDSliderDragEvent, MDSliderHost, MDSliderThumbKind, MDSnackBarDismiss, MDTooltipPosition, MDTourStep, MDTransferItem, MDUploadItem, MDUploadStatus, MdAutocompleteDefaultOptions, MenuCloseReason, MenuPositionX, MenuPositionY, PaginatorPageEvent, ProgressAnimationType, PseudoCheckboxState, ScrollDirection, SeparatorKey, SortPropDir, StepperIconContext, TabBodyOriginState, TabBodyPositionState, TabGroupBaseHeader, TabHeaderPosition, TabOverflowMode, TabsConfig, ToastToken, ToastrIconClasses, ToggleSwitchChangeEvent };
|
|
5524
7051
|
//# sourceMappingURL=natec-mef-dev-ui-kit.d.ts.map
|