@natec/mef-dev-ui-kit 22.0.271 → 22.0.293
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 +595 -11
- package/fesm2022/natec-mef-dev-ui-kit.mjs.map +1 -1
- package/package.json +1 -7
- package/src/lib/styles/core.scss +0 -27
- package/src/lib/styles/fonts/google/montserrat/montserrat-cyrillic-ext.woff2 +0 -0
- package/src/lib/styles/fonts/google/montserrat/montserrat-cyrillic.woff2 +0 -0
- package/src/lib/styles/fonts/google/montserrat/montserrat-latin-ext.woff2 +0 -0
- package/src/lib/styles/fonts/google/montserrat/montserrat-latin.woff2 +0 -0
- package/src/lib/styles/fonts/google/montserrat/montserrat-vietnamese.woff2 +0 -0
- package/src/lib/styles/fonts/google/open-sans/open-sans-cyrillic-ext.woff2 +0 -0
- package/src/lib/styles/fonts/google/open-sans/open-sans-cyrillic.woff2 +0 -0
- package/src/lib/styles/fonts/google/open-sans/open-sans-greek-ext.woff2 +0 -0
- package/src/lib/styles/fonts/google/open-sans/open-sans-greek.woff2 +0 -0
- package/src/lib/styles/fonts/google/open-sans/open-sans-hebrew.woff2 +0 -0
- package/src/lib/styles/fonts/google/open-sans/open-sans-latin-ext.woff2 +0 -0
- package/src/lib/styles/fonts/google/open-sans/open-sans-latin.woff2 +0 -0
- package/src/lib/styles/fonts/google/open-sans/open-sans-math.woff2 +0 -0
- package/src/lib/styles/fonts/google/open-sans/open-sans-symbols.woff2 +0 -0
- package/src/lib/styles/fonts/google/open-sans/open-sans-vietnamese.woff2 +0 -0
- package/src/lib/styles/global.scss +144 -2
- package/src/lib/styles/pg/modules/_buttons.scss +78 -8
- package/src/lib/styles/pg/modules/_typography.scss +0 -87
- package/types/natec-mef-dev-ui-kit.d.ts +274 -11
- package/types/natec-mef-dev-ui-kit.d.ts.map +1 -1
- package/src/lib/styles/fonts/main-img-font/icomoon.eot +0 -0
- package/src/lib/styles/fonts/main-img-font/icomoon.svg +0 -65
- package/src/lib/styles/fonts/main-img-font/icomoon.ttf +0 -0
- package/src/lib/styles/fonts/main-img-font/icomoon.woff +0 -0
- package/src/lib/styles/fonts/pgicon/Pages-icon.eot +0 -0
- package/src/lib/styles/fonts/pgicon/Pages-icon.svg +0 -112
- package/src/lib/styles/fonts/pgicon/Pages-icon.ttf +0 -0
- package/src/lib/styles/fonts/pgicon/Pages-icon.woff +0 -0
- package/src/lib/styles/icomoon.scss +0 -220
- package/src/lib/styles/icons.scss +0 -331
- package/src/lib/styles/pg/modules/_breadcrumb.scss +0 -80
- package/src/lib/styles/pg/modules/_cards.scss +0 -416
- package/src/lib/styles/pg/modules/_sidebar.scss +0 -104
- package/src/lib/styles/pg/toaster.scss +0 -22
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i1$1 from '@angular/common';
|
|
2
2
|
import { CommonModule, NgTemplateOutlet, NgClass } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { InjectionToken, inject, TemplateRef, Directive, ViewContainerRef, DOCUMENT, NgZone, ElementRef, Renderer2, EventEmitter, booleanAttribute, ViewChild, ContentChild, Output, Input, ChangeDetectionStrategy, ViewEncapsulation, Component, ChangeDetectorRef, HostAttributeToken, numberAttribute, QueryList, ContentChildren, NgModule, Injector, Injectable, Optional, SkipSelf, signal, ViewChildren, ApplicationRef, afterNextRender, input, computed, forwardRef, HostListener, EnvironmentInjector, HOST_TAG_NAME, Host, contentChildren, viewChildren } from '@angular/core';
|
|
4
|
+
import { InjectionToken, inject, TemplateRef, Directive, ViewContainerRef, DOCUMENT, NgZone, ElementRef, Renderer2, EventEmitter, booleanAttribute, ViewChild, ContentChild, Output, Input, ChangeDetectionStrategy, ViewEncapsulation, Component, ChangeDetectorRef, HostAttributeToken, numberAttribute, QueryList, ContentChildren, NgModule, Injector, Injectable, Optional, SkipSelf, signal, ViewChildren, ApplicationRef, afterNextRender, input, computed, forwardRef, HostListener, EnvironmentInjector, HOST_TAG_NAME, Host, contentChildren, viewChildren, ANIMATION_MODULE_TYPE } from '@angular/core';
|
|
5
5
|
import { CdkAccordionItem, CdkAccordion } from '@angular/cdk/accordion';
|
|
6
6
|
import { _IdGenerator, FocusMonitor, FocusKeyManager, isFakeTouchstartFromScreenReader, isFakeMousedownFromScreenReader, ActiveDescendantKeyManager, CdkMonitorFocus, removeAriaReferencedId, addAriaReferencedId } from '@angular/cdk/a11y';
|
|
7
7
|
import { startWith, filter, take, switchMap, map, takeUntil, debounceTime, skip, skipWhile, tap, delay } from 'rxjs/operators';
|
|
@@ -2850,8 +2850,8 @@ const MD_MENU_DEFAULT_OPTIONS = new InjectionToken('md-menu-default-options', {
|
|
|
2850
2850
|
backdropClass: 'cdk-overlay-transparent-backdrop',
|
|
2851
2851
|
}),
|
|
2852
2852
|
});
|
|
2853
|
-
const ENTER_ANIMATION = '_md-menu-enter';
|
|
2854
|
-
const EXIT_ANIMATION = '_md-menu-exit';
|
|
2853
|
+
const ENTER_ANIMATION$1 = '_md-menu-enter';
|
|
2854
|
+
const EXIT_ANIMATION$1 = '_md-menu-exit';
|
|
2855
2855
|
class MDMenu {
|
|
2856
2856
|
_elementRef = inject(ElementRef);
|
|
2857
2857
|
_changeDetectorRef = inject(ChangeDetectorRef);
|
|
@@ -3033,8 +3033,8 @@ class MDMenu {
|
|
|
3033
3033
|
this._changeDetectorRef.markForCheck();
|
|
3034
3034
|
}
|
|
3035
3035
|
_onAnimationDone(state) {
|
|
3036
|
-
const isExit = state === EXIT_ANIMATION;
|
|
3037
|
-
if (isExit || state === ENTER_ANIMATION) {
|
|
3036
|
+
const isExit = state === EXIT_ANIMATION$1;
|
|
3037
|
+
if (isExit || state === ENTER_ANIMATION$1) {
|
|
3038
3038
|
if (isExit) {
|
|
3039
3039
|
clearTimeout(this._exitFallbackTimeout);
|
|
3040
3040
|
this._exitFallbackTimeout = undefined;
|
|
@@ -3044,7 +3044,7 @@ class MDMenu {
|
|
|
3044
3044
|
}
|
|
3045
3045
|
}
|
|
3046
3046
|
_onAnimationStart(state) {
|
|
3047
|
-
if (state === ENTER_ANIMATION || state === EXIT_ANIMATION) {
|
|
3047
|
+
if (state === ENTER_ANIMATION$1 || state === EXIT_ANIMATION$1) {
|
|
3048
3048
|
this._isAnimating.set(true);
|
|
3049
3049
|
}
|
|
3050
3050
|
}
|
|
@@ -3059,11 +3059,11 @@ class MDMenu {
|
|
|
3059
3059
|
}
|
|
3060
3060
|
}
|
|
3061
3061
|
else if (!this.animationsDisabled) {
|
|
3062
|
-
this._exitFallbackTimeout = setTimeout(() => this._onAnimationDone(EXIT_ANIMATION), 200);
|
|
3062
|
+
this._exitFallbackTimeout = setTimeout(() => this._onAnimationDone(EXIT_ANIMATION$1), 200);
|
|
3063
3063
|
}
|
|
3064
3064
|
if (this.animationsDisabled) {
|
|
3065
3065
|
setTimeout(() => {
|
|
3066
|
-
this._onAnimationDone(isOpen ? ENTER_ANIMATION : EXIT_ANIMATION);
|
|
3066
|
+
this._onAnimationDone(isOpen ? ENTER_ANIMATION$1 : EXIT_ANIMATION$1);
|
|
3067
3067
|
});
|
|
3068
3068
|
}
|
|
3069
3069
|
this._changeDetectorRef.markForCheck();
|
|
@@ -4676,7 +4676,7 @@ class MDSelect {
|
|
|
4676
4676
|
}
|
|
4677
4677
|
}
|
|
4678
4678
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDSelect, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4679
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: MDSelect, isStandalone: true, selector: "md-select", inputs: { panelClass: "panelClass", disabled: ["disabled", "disabled", booleanAttribute], multiple: ["multiple", "multiple", booleanAttribute], value: "value", tabIndex: ["tabIndex", "tabIndex", (value) => (value == null ? 0 : numberAttribute(value))], required: ["required", "required", booleanAttribute], compareWith: "compareWith", placeholder: "placeholder", canSelectNullableOptions: ["canSelectNullableOptions", "canSelectNullableOptions", booleanAttribute], sortComparator: "sortComparator" }, outputs: { valueChange: "valueChange", selectionChange: "selectionChange", openedChange: "openedChange", _openedStream: "opened", _closedStream: "closed" }, host: { attributes: { "role": "combobox", "aria-haspopup": "listbox" }, listeners: { "keydown": "_handleKeydown($event)", "focus": "_onFocus()", "blur": "_onBlur()", "click": "onContainerClick()" }, properties: { "attr.tabindex": "disabled ? -1 : tabIndex", "attr.aria-expanded": "panelOpen", "attr.aria-required": "required.toString()", "attr.aria-disabled": "disabled.toString()", "attr.aria-activedescendant": "_getAriaActiveDescendant()", "class.mdc-select-disabled": "disabled", "class.mdc-select-required": "required", "class.mdc-select-empty": "empty", "class.mdc-select-multiple": "multiple" }, classAttribute: "mdc-select" }, queries: [{ propertyName: "customTrigger", first: true, predicate: MD_SELECT_TRIGGER, descendants: true }, { propertyName: "options", predicate: MDOption, descendants: true }, { propertyName: "optionGroups", predicate: MDOptionGroup, descendants: true }], viewQueries: [{ propertyName: "trigger", first: true, predicate: ["trigger"], descendants: true }, { propertyName: "panel", first: true, predicate: ["panel"], descendants: true }, { propertyName: "_overlayDir", first: true, predicate: CdkConnectedOverlay, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div cdk-overlay-origin\n class=\"mdc-select-trigger\"\n (click)=\"open()\"\n #fallbackOverlayOrigin=\"cdkOverlayOrigin\"\n #trigger>\n\n <div class=\"mdc-select-value\" [attr.id]=\"_valueId\">\n @if (empty) {\n <span class=\"mdc-select-placeholder mdc-select-min-line\">{{placeholder}}</span>\n } @else {\n <span class=\"mdc-select-value-text\">\n @if (customTrigger) {\n <ng-content select=\"md-select-trigger\"></ng-content>\n } @else {\n <span class=\"mdc-select-min-line\">{{triggerValue}}</span>\n }\n </span>\n }\n </div>\n\n <div class=\"mdc-select-arrow-wrapper\">\n <
|
|
4679
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: MDSelect, isStandalone: true, selector: "md-select", inputs: { panelClass: "panelClass", disabled: ["disabled", "disabled", booleanAttribute], multiple: ["multiple", "multiple", booleanAttribute], value: "value", tabIndex: ["tabIndex", "tabIndex", (value) => (value == null ? 0 : numberAttribute(value))], required: ["required", "required", booleanAttribute], compareWith: "compareWith", placeholder: "placeholder", canSelectNullableOptions: ["canSelectNullableOptions", "canSelectNullableOptions", booleanAttribute], sortComparator: "sortComparator" }, outputs: { valueChange: "valueChange", selectionChange: "selectionChange", openedChange: "openedChange", _openedStream: "opened", _closedStream: "closed" }, host: { attributes: { "role": "combobox", "aria-haspopup": "listbox" }, listeners: { "keydown": "_handleKeydown($event)", "focus": "_onFocus()", "blur": "_onBlur()", "click": "onContainerClick()" }, properties: { "attr.tabindex": "disabled ? -1 : tabIndex", "attr.aria-expanded": "panelOpen", "attr.aria-required": "required.toString()", "attr.aria-disabled": "disabled.toString()", "attr.aria-activedescendant": "_getAriaActiveDescendant()", "class.mdc-select-disabled": "disabled", "class.mdc-select-required": "required", "class.mdc-select-empty": "empty", "class.mdc-select-multiple": "multiple" }, classAttribute: "mdc-select" }, queries: [{ propertyName: "customTrigger", first: true, predicate: MD_SELECT_TRIGGER, descendants: true }, { propertyName: "options", predicate: MDOption, descendants: true }, { propertyName: "optionGroups", predicate: MDOptionGroup, descendants: true }], viewQueries: [{ propertyName: "trigger", first: true, predicate: ["trigger"], descendants: true }, { propertyName: "panel", first: true, predicate: ["panel"], descendants: true }, { propertyName: "_overlayDir", first: true, predicate: CdkConnectedOverlay, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div cdk-overlay-origin\n class=\"mdc-select-trigger\"\n (click)=\"open()\"\n #fallbackOverlayOrigin=\"cdkOverlayOrigin\"\n #trigger>\n\n <div class=\"mdc-select-value\" [attr.id]=\"_valueId\">\n @if (empty) {\n <span class=\"mdc-select-placeholder mdc-select-min-line\">{{placeholder}}</span>\n } @else {\n <span class=\"mdc-select-value-text\">\n @if (customTrigger) {\n <ng-content select=\"md-select-trigger\"></ng-content>\n } @else {\n <span class=\"mdc-select-min-line\">{{triggerValue}}</span>\n }\n </span>\n }\n </div>\n\n <div class=\"mdc-select-arrow-wrapper\">\n <span class=\"mdc-select-arrow\" aria-hidden=\"true\"></span>\n </div>\n</div>\n<ng-template\n cdk-connected-overlay\n cdkConnectedOverlayLockPosition\n cdkConnectedOverlayHasBackdrop\n cdkConnectedOverlayBackdropClass=\"cdk-overlay-transparent-backdrop\"\n [cdkConnectedOverlayDisableClose]=\"true\"\n [cdkConnectedOverlayScrollStrategy]=\"_scrollStrategy\"\n [cdkConnectedOverlayOrigin]=\"fallbackOverlayOrigin\"\n [cdkConnectedOverlayPositions]=\"_positions\"\n [cdkConnectedOverlayWidth]=\"_overlayWidth\"\n [cdkConnectedOverlayFlexibleDimensions]=\"true\"\n (detach)=\"close()\"\n (backdropClick)=\"close()\"\n (overlayKeydown)=\"_handleOverlayKeydown($event)\"\n>\n <div\n #panel\n role=\"listbox\"\n tabindex=\"-1\"\n class=\"mdc-select-panel mdc-menu-surface select-panel-animations-enabled mdc-menu-surface--open\"\n [attr.id]=\"id + '-panel'\"\n [attr.aria-multiselectable]=\"multiple\"\n [attr.aria-label]=\"ariaLabel || null\"\n [ngClass]=\"panelClass\"\n (keydown)=\"_handleKeydown($event)\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: ["md-select{display:inline-block}md-select[aria-expanded=true] .mdc-select-trigger{border-color:#0000001a;background-color:#f3f3f3;outline:0!important;box-shadow:none}md-select[aria-expanded=true] .mdc-select-placeholder{color:var(--bs-body-color)}@keyframes select-enter{0%{opacity:0;transform:scaleY(.8)}to{opacity:1;transform:none}}@keyframes select-exit{0%{opacity:1}to{opacity:0}}.select-panel-animations-enabled{animation:select-enter .12s cubic-bezier(0,0,.2,1)}.select-panel-animations-enabled.select-panel-exit{animation:select-exit .2s linear}.mdc-select{width:180px;display:inline-block;outline:none;font-family:Open Sans;line-height:1.5rem;font-size:14px;font-weight:400;letter-spacing:.031rem;color:#373737}.mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%;height:37px;padding:0 12px;border:1px solid #F3F3F3;border-radius:2px;background-color:#fff}.form-control .mdc-select-trigger{background-color:initial;height:initial;border:initial;padding:initial}.mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}div.mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:4px;border-radius:2px;box-sizing:border-box;position:relative;background-color:#fff;box-shadow:0 1px 3px 1px #00000026}.mdc-select-disabled{color:#929292;background-color:color-mix(in srgb,#e0e3e2 4%,transparent);pointer-events:none}.mdc-select-arrow{display:block;width:0;height:0;border-right:5px solid transparent;border-left:5px solid transparent;border-top:6px solid currentColor;color:#929292}.mdc-select-placeholder{color:#929292}\n"], dependencies: [{ kind: "directive", type: CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }, { kind: "directive", type: CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush", "cdkConnectedOverlayDisposeOnNavigation", "cdkConnectedOverlayUsePopover", "cdkConnectedOverlayMatchWidth", "cdkConnectedOverlay"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4680
4680
|
}
|
|
4681
4681
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDSelect, decorators: [{
|
|
4682
4682
|
type: Component,
|
|
@@ -4702,7 +4702,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
4702
4702
|
'(focus)': '_onFocus()',
|
|
4703
4703
|
'(blur)': '_onBlur()',
|
|
4704
4704
|
'(click)': 'onContainerClick()',
|
|
4705
|
-
}, standalone: true, imports: [CdkOverlayOrigin, CdkConnectedOverlay, NgClass], template: "<div cdk-overlay-origin\n class=\"mdc-select-trigger\"\n (click)=\"open()\"\n #fallbackOverlayOrigin=\"cdkOverlayOrigin\"\n #trigger>\n\n <div class=\"mdc-select-value\" [attr.id]=\"_valueId\">\n @if (empty) {\n <span class=\"mdc-select-placeholder mdc-select-min-line\">{{placeholder}}</span>\n } @else {\n <span class=\"mdc-select-value-text\">\n @if (customTrigger) {\n <ng-content select=\"md-select-trigger\"></ng-content>\n } @else {\n <span class=\"mdc-select-min-line\">{{triggerValue}}</span>\n }\n </span>\n }\n </div>\n\n <div class=\"mdc-select-arrow-wrapper\">\n <
|
|
4705
|
+
}, standalone: true, imports: [CdkOverlayOrigin, CdkConnectedOverlay, NgClass], template: "<div cdk-overlay-origin\n class=\"mdc-select-trigger\"\n (click)=\"open()\"\n #fallbackOverlayOrigin=\"cdkOverlayOrigin\"\n #trigger>\n\n <div class=\"mdc-select-value\" [attr.id]=\"_valueId\">\n @if (empty) {\n <span class=\"mdc-select-placeholder mdc-select-min-line\">{{placeholder}}</span>\n } @else {\n <span class=\"mdc-select-value-text\">\n @if (customTrigger) {\n <ng-content select=\"md-select-trigger\"></ng-content>\n } @else {\n <span class=\"mdc-select-min-line\">{{triggerValue}}</span>\n }\n </span>\n }\n </div>\n\n <div class=\"mdc-select-arrow-wrapper\">\n <span class=\"mdc-select-arrow\" aria-hidden=\"true\"></span>\n </div>\n</div>\n<ng-template\n cdk-connected-overlay\n cdkConnectedOverlayLockPosition\n cdkConnectedOverlayHasBackdrop\n cdkConnectedOverlayBackdropClass=\"cdk-overlay-transparent-backdrop\"\n [cdkConnectedOverlayDisableClose]=\"true\"\n [cdkConnectedOverlayScrollStrategy]=\"_scrollStrategy\"\n [cdkConnectedOverlayOrigin]=\"fallbackOverlayOrigin\"\n [cdkConnectedOverlayPositions]=\"_positions\"\n [cdkConnectedOverlayWidth]=\"_overlayWidth\"\n [cdkConnectedOverlayFlexibleDimensions]=\"true\"\n (detach)=\"close()\"\n (backdropClick)=\"close()\"\n (overlayKeydown)=\"_handleOverlayKeydown($event)\"\n>\n <div\n #panel\n role=\"listbox\"\n tabindex=\"-1\"\n class=\"mdc-select-panel mdc-menu-surface select-panel-animations-enabled mdc-menu-surface--open\"\n [attr.id]=\"id + '-panel'\"\n [attr.aria-multiselectable]=\"multiple\"\n [attr.aria-label]=\"ariaLabel || null\"\n [ngClass]=\"panelClass\"\n (keydown)=\"_handleKeydown($event)\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: ["md-select{display:inline-block}md-select[aria-expanded=true] .mdc-select-trigger{border-color:#0000001a;background-color:#f3f3f3;outline:0!important;box-shadow:none}md-select[aria-expanded=true] .mdc-select-placeholder{color:var(--bs-body-color)}@keyframes select-enter{0%{opacity:0;transform:scaleY(.8)}to{opacity:1;transform:none}}@keyframes select-exit{0%{opacity:1}to{opacity:0}}.select-panel-animations-enabled{animation:select-enter .12s cubic-bezier(0,0,.2,1)}.select-panel-animations-enabled.select-panel-exit{animation:select-exit .2s linear}.mdc-select{width:180px;display:inline-block;outline:none;font-family:Open Sans;line-height:1.5rem;font-size:14px;font-weight:400;letter-spacing:.031rem;color:#373737}.mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%;height:37px;padding:0 12px;border:1px solid #F3F3F3;border-radius:2px;background-color:#fff}.form-control .mdc-select-trigger{background-color:initial;height:initial;border:initial;padding:initial}.mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}div.mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:4px;border-radius:2px;box-sizing:border-box;position:relative;background-color:#fff;box-shadow:0 1px 3px 1px #00000026}.mdc-select-disabled{color:#929292;background-color:color-mix(in srgb,#e0e3e2 4%,transparent);pointer-events:none}.mdc-select-arrow{display:block;width:0;height:0;border-right:5px solid transparent;border-left:5px solid transparent;border-top:6px solid currentColor;color:#929292}.mdc-select-placeholder{color:#929292}\n"] }]
|
|
4706
4706
|
}], ctorParameters: () => [], propDecorators: { panelClass: [{
|
|
4707
4707
|
type: Input
|
|
4708
4708
|
}], disabled: [{
|
|
@@ -12481,11 +12481,595 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
12481
12481
|
}]
|
|
12482
12482
|
}] });
|
|
12483
12483
|
|
|
12484
|
+
/**
|
|
12485
|
+
* @license
|
|
12486
|
+
* Copyright Google LLC All Rights Reserved.
|
|
12487
|
+
*
|
|
12488
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
12489
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
12490
|
+
*/
|
|
12491
|
+
const ENTER_ANIMATION = '_md-bottom-sheet-enter';
|
|
12492
|
+
const EXIT_ANIMATION = '_md-bottom-sheet-exit';
|
|
12493
|
+
/**
|
|
12494
|
+
* Internal component that wraps user-provided bottom sheet content.
|
|
12495
|
+
* @docs-private
|
|
12496
|
+
*/
|
|
12497
|
+
class MDBottomSheetContainer extends CdkDialogContainer {
|
|
12498
|
+
_breakpointSubscription;
|
|
12499
|
+
_animationsDisabled = inject(ANIMATION_MODULE_TYPE, { optional: true }) === 'NoopAnimations';
|
|
12500
|
+
/** The state of the bottom sheet animations. */
|
|
12501
|
+
_animationState = 'void';
|
|
12502
|
+
/** Emits whenever the state of the animation changes. */
|
|
12503
|
+
_animationStateChanged = new EventEmitter();
|
|
12504
|
+
/** Whether the component has been destroyed. */
|
|
12505
|
+
_destroyed = false;
|
|
12506
|
+
constructor() {
|
|
12507
|
+
super();
|
|
12508
|
+
const breakpointObserver = inject(BreakpointObserver);
|
|
12509
|
+
this._breakpointSubscription = breakpointObserver
|
|
12510
|
+
.observe([Breakpoints.Medium, Breakpoints.Large, Breakpoints.XLarge])
|
|
12511
|
+
.subscribe(() => {
|
|
12512
|
+
const classList = this._elementRef.nativeElement.classList;
|
|
12513
|
+
classList.toggle('md-bottom-sheet-container-medium', breakpointObserver.isMatched(Breakpoints.Medium));
|
|
12514
|
+
classList.toggle('md-bottom-sheet-container-large', breakpointObserver.isMatched(Breakpoints.Large));
|
|
12515
|
+
classList.toggle('md-bottom-sheet-container-xlarge', breakpointObserver.isMatched(Breakpoints.XLarge));
|
|
12516
|
+
});
|
|
12517
|
+
}
|
|
12518
|
+
/** Begin animation of bottom sheet entrance into view. */
|
|
12519
|
+
enter() {
|
|
12520
|
+
if (!this._destroyed) {
|
|
12521
|
+
this._animationState = 'visible';
|
|
12522
|
+
this._changeDetectorRef.markForCheck();
|
|
12523
|
+
this._changeDetectorRef.detectChanges();
|
|
12524
|
+
if (this._animationsDisabled) {
|
|
12525
|
+
this._simulateAnimation(ENTER_ANIMATION);
|
|
12526
|
+
}
|
|
12527
|
+
}
|
|
12528
|
+
}
|
|
12529
|
+
/** Begin animation of the bottom sheet exiting from view. */
|
|
12530
|
+
exit() {
|
|
12531
|
+
if (!this._destroyed) {
|
|
12532
|
+
this._elementRef.nativeElement.setAttribute('md-exit', '');
|
|
12533
|
+
this._animationState = 'hidden';
|
|
12534
|
+
this._changeDetectorRef.markForCheck();
|
|
12535
|
+
if (this._animationsDisabled) {
|
|
12536
|
+
this._simulateAnimation(EXIT_ANIMATION);
|
|
12537
|
+
}
|
|
12538
|
+
}
|
|
12539
|
+
}
|
|
12540
|
+
ngOnDestroy() {
|
|
12541
|
+
super.ngOnDestroy();
|
|
12542
|
+
this._breakpointSubscription.unsubscribe();
|
|
12543
|
+
this._destroyed = true;
|
|
12544
|
+
}
|
|
12545
|
+
_simulateAnimation(name) {
|
|
12546
|
+
this._ngZone.run(() => {
|
|
12547
|
+
this._handleAnimationEvent(true, name, this._elementRef.nativeElement);
|
|
12548
|
+
setTimeout(() => this._handleAnimationEvent(false, name, this._elementRef.nativeElement));
|
|
12549
|
+
});
|
|
12550
|
+
}
|
|
12551
|
+
_trapFocus() {
|
|
12552
|
+
// The bottom sheet starts off-screen and animates in, and at the same time we trap focus
|
|
12553
|
+
// within it. With some styles this appears to cause the page to jump around. See:
|
|
12554
|
+
// https://github.com/angular/components/issues/30774. Preventing the browser from
|
|
12555
|
+
// scrolling resolves the issue and isn't really necessary since the bottom sheet
|
|
12556
|
+
// normally isn't scrollable.
|
|
12557
|
+
super._trapFocus({ preventScroll: true });
|
|
12558
|
+
}
|
|
12559
|
+
_handleAnimationEvent(isStart, animationName, target) {
|
|
12560
|
+
if (target === this._elementRef.nativeElement) {
|
|
12561
|
+
const isEnter = animationName === ENTER_ANIMATION;
|
|
12562
|
+
const isExit = animationName === EXIT_ANIMATION;
|
|
12563
|
+
if (isEnter || isExit) {
|
|
12564
|
+
this._animationStateChanged.emit({
|
|
12565
|
+
toState: isEnter ? 'visible' : 'hidden',
|
|
12566
|
+
phase: isStart ? 'start' : 'done',
|
|
12567
|
+
});
|
|
12568
|
+
}
|
|
12569
|
+
}
|
|
12570
|
+
}
|
|
12571
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDBottomSheetContainer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12572
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.4", type: MDBottomSheetContainer, isStandalone: true, selector: "md-bottom-sheet-container", host: { attributes: { "tabindex": "-1" }, listeners: { "animationstart": "_handleAnimationEvent(true, $event.animationName, $event.target)", "animationend": "_handleAnimationEvent(false, $event.animationName, $event.target)", "animationcancel": "_handleAnimationEvent(false, $event.animationName, $event.target)" }, properties: { "class.md-bottom-sheet-container-animations-enabled": "!_animationsDisabled", "class.md-bottom-sheet-container-enter": "_animationState === \"visible\"", "class.md-bottom-sheet-container-exit": "_animationState === \"hidden\"", "attr.role": "_config.role", "attr.aria-modal": "_config.ariaModal", "attr.aria-label": "_config.ariaLabel" }, classAttribute: "md-bottom-sheet-container" }, usesInheritance: true, ngImport: i0, template: "<ng-template cdkPortalOutlet></ng-template>\r\n", styles: ["@keyframes _md-bottom-sheet-enter{0%{transform:translateY(100%)}to{transform:none}}@keyframes _md-bottom-sheet-exit{0%{transform:none}to{transform:translateY(100%)}}.md-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;position:relative;background:var(--md-bottom-sheet-container-background-color, #fff);color:var(--md-bottom-sheet-container-text-color, rgba(0, 0, 0, .87));font-family:var(--md-bottom-sheet-container-text-font, Roboto, sans-serif);font-size:var(--md-bottom-sheet-container-text-size, 14px);line-height:var(--md-bottom-sheet-container-text-line-height, 20px);font-weight:var(--md-bottom-sheet-container-text-weight, 400);letter-spacing:var(--md-bottom-sheet-container-text-tracking, normal);box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.md-bottom-sheet-container-animations-enabled{transform:translateY(100%)}.md-bottom-sheet-container-animations-enabled.md-bottom-sheet-container-enter{animation:_md-bottom-sheet-enter 195ms cubic-bezier(0,0,.2,1) forwards}.md-bottom-sheet-container-animations-enabled.md-bottom-sheet-container-exit{animation:_md-bottom-sheet-exit 375ms cubic-bezier(.4,0,1,1) backwards}.md-bottom-sheet-container-xlarge,.md-bottom-sheet-container-large,.md-bottom-sheet-container-medium{border-top-left-radius:var(--md-bottom-sheet-container-shape, 28px);border-top-right-radius:var(--md-bottom-sheet-container-shape, 28px)}.md-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.md-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.md-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}\n"], dependencies: [{ kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None });
|
|
12573
|
+
}
|
|
12574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDBottomSheetContainer, decorators: [{
|
|
12575
|
+
type: Component,
|
|
12576
|
+
args: [{ selector: 'md-bottom-sheet-container', changeDetection: ChangeDetectionStrategy.Eager, encapsulation: ViewEncapsulation.None, host: {
|
|
12577
|
+
'class': 'md-bottom-sheet-container',
|
|
12578
|
+
'[class.md-bottom-sheet-container-animations-enabled]': '!_animationsDisabled',
|
|
12579
|
+
'[class.md-bottom-sheet-container-enter]': '_animationState === "visible"',
|
|
12580
|
+
'[class.md-bottom-sheet-container-exit]': '_animationState === "hidden"',
|
|
12581
|
+
'tabindex': '-1',
|
|
12582
|
+
'[attr.role]': '_config.role',
|
|
12583
|
+
'[attr.aria-modal]': '_config.ariaModal',
|
|
12584
|
+
'[attr.aria-label]': '_config.ariaLabel',
|
|
12585
|
+
'(animationstart)': '_handleAnimationEvent(true, $event.animationName, $event.target)',
|
|
12586
|
+
'(animationend)': '_handleAnimationEvent(false, $event.animationName, $event.target)',
|
|
12587
|
+
'(animationcancel)': '_handleAnimationEvent(false, $event.animationName, $event.target)',
|
|
12588
|
+
}, imports: [CdkPortalOutlet], template: "<ng-template cdkPortalOutlet></ng-template>\r\n", styles: ["@keyframes _md-bottom-sheet-enter{0%{transform:translateY(100%)}to{transform:none}}@keyframes _md-bottom-sheet-exit{0%{transform:none}to{transform:translateY(100%)}}.md-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;position:relative;background:var(--md-bottom-sheet-container-background-color, #fff);color:var(--md-bottom-sheet-container-text-color, rgba(0, 0, 0, .87));font-family:var(--md-bottom-sheet-container-text-font, Roboto, sans-serif);font-size:var(--md-bottom-sheet-container-text-size, 14px);line-height:var(--md-bottom-sheet-container-text-line-height, 20px);font-weight:var(--md-bottom-sheet-container-text-weight, 400);letter-spacing:var(--md-bottom-sheet-container-text-tracking, normal);box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.md-bottom-sheet-container-animations-enabled{transform:translateY(100%)}.md-bottom-sheet-container-animations-enabled.md-bottom-sheet-container-enter{animation:_md-bottom-sheet-enter 195ms cubic-bezier(0,0,.2,1) forwards}.md-bottom-sheet-container-animations-enabled.md-bottom-sheet-container-exit{animation:_md-bottom-sheet-exit 375ms cubic-bezier(.4,0,1,1) backwards}.md-bottom-sheet-container-xlarge,.md-bottom-sheet-container-large,.md-bottom-sheet-container-medium{border-top-left-radius:var(--md-bottom-sheet-container-shape, 28px);border-top-right-radius:var(--md-bottom-sheet-container-shape, 28px)}.md-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.md-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.md-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}\n"] }]
|
|
12589
|
+
}], ctorParameters: () => [] });
|
|
12590
|
+
|
|
12591
|
+
/**
|
|
12592
|
+
* @license
|
|
12593
|
+
* Copyright Google LLC All Rights Reserved.
|
|
12594
|
+
*
|
|
12595
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
12596
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
12597
|
+
*/
|
|
12598
|
+
/** Injection token that can be used to access the data that was passed in to a bottom sheet. */
|
|
12599
|
+
const MD_BOTTOM_SHEET_DATA = new InjectionToken('MDBottomSheetData');
|
|
12600
|
+
/**
|
|
12601
|
+
* Configuration used when opening a bottom sheet.
|
|
12602
|
+
*/
|
|
12603
|
+
class MDBottomSheetConfig {
|
|
12604
|
+
/** The view container to place the overlay for the bottom sheet into. */
|
|
12605
|
+
viewContainerRef;
|
|
12606
|
+
/**
|
|
12607
|
+
* Injector used for the instantiation of the component to be attached. If provided,
|
|
12608
|
+
* takes precedence over the injector indirectly provided by `ViewContainerRef`.
|
|
12609
|
+
*/
|
|
12610
|
+
injector;
|
|
12611
|
+
/** Extra CSS classes to be added to the overlay panel containing the bottom sheet. */
|
|
12612
|
+
panelClass;
|
|
12613
|
+
/** Text layout direction for the bottom sheet. */
|
|
12614
|
+
direction;
|
|
12615
|
+
/** Data being injected into the child component. */
|
|
12616
|
+
data = null;
|
|
12617
|
+
/** Whether the bottom sheet has a backdrop. */
|
|
12618
|
+
hasBackdrop = true;
|
|
12619
|
+
/** Custom class for the backdrop. */
|
|
12620
|
+
backdropClass;
|
|
12621
|
+
/** Whether the user can use escape or clicking outside to close the bottom sheet. */
|
|
12622
|
+
disableClose = false;
|
|
12623
|
+
/** Aria label to assign to the bottom sheet element. */
|
|
12624
|
+
ariaLabel = null;
|
|
12625
|
+
/**
|
|
12626
|
+
* Whether this is a modal dialog. Used to set the `aria-modal` attribute. Off by default,
|
|
12627
|
+
* because it can interfere with other overlay-based components (e.g. `md-select`) and because
|
|
12628
|
+
* it is redundant since the dialog marks all outside content as `aria-hidden` anyway.
|
|
12629
|
+
*/
|
|
12630
|
+
ariaModal = false;
|
|
12631
|
+
/**
|
|
12632
|
+
* Whether the bottom sheet should close when the user goes backwards/forwards in history.
|
|
12633
|
+
* Note that this usually doesn't include clicking on links (unless the user is using
|
|
12634
|
+
* the `HashLocationStrategy`).
|
|
12635
|
+
*/
|
|
12636
|
+
closeOnNavigation = true;
|
|
12637
|
+
/**
|
|
12638
|
+
* Where the bottom sheet should focus on open.
|
|
12639
|
+
* @breaking-change 14.0.0 Remove boolean option from autoFocus. Use string or
|
|
12640
|
+
* MDBottomSheetAutoFocusTarget instead.
|
|
12641
|
+
*/
|
|
12642
|
+
autoFocus = 'first-tabbable';
|
|
12643
|
+
/** Configures the focus restoration behavior. See `RestoreFocusValue` for more information. */
|
|
12644
|
+
restoreFocus = true;
|
|
12645
|
+
/** Scroll strategy to be used for the bottom sheet. */
|
|
12646
|
+
scrollStrategy;
|
|
12647
|
+
/** Height for the bottom sheet. */
|
|
12648
|
+
height = '';
|
|
12649
|
+
/** Minimum height for the bottom sheet. If a number is provided, assumes pixel units. */
|
|
12650
|
+
minHeight;
|
|
12651
|
+
/** Maximum height for the bottom sheet. If a number is provided, assumes pixel units. */
|
|
12652
|
+
maxHeight;
|
|
12653
|
+
/**
|
|
12654
|
+
* Bindings to apply to the component rendered inside the dialog.
|
|
12655
|
+
* Does nothing for template-based dialogs.
|
|
12656
|
+
*/
|
|
12657
|
+
bindings;
|
|
12658
|
+
}
|
|
12659
|
+
|
|
12660
|
+
/**
|
|
12661
|
+
* @license
|
|
12662
|
+
* Copyright Google LLC All Rights Reserved.
|
|
12663
|
+
*
|
|
12664
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
12665
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
12666
|
+
*/
|
|
12667
|
+
/**
|
|
12668
|
+
* Reference to a bottom sheet dispatched from the bottom sheet service.
|
|
12669
|
+
*/
|
|
12670
|
+
class MDBottomSheetRef {
|
|
12671
|
+
_ref;
|
|
12672
|
+
/** Instance of the component making up the content of the bottom sheet. */
|
|
12673
|
+
get instance() {
|
|
12674
|
+
return this._ref.componentInstance;
|
|
12675
|
+
}
|
|
12676
|
+
/**
|
|
12677
|
+
* `ComponentRef` of the component opened into the bottom sheet. Will be
|
|
12678
|
+
* null when the bottom sheet is opened using a `TemplateRef`.
|
|
12679
|
+
*/
|
|
12680
|
+
get componentRef() {
|
|
12681
|
+
return this._ref.componentRef;
|
|
12682
|
+
}
|
|
12683
|
+
/**
|
|
12684
|
+
* Instance of the component into which the bottom sheet content is projected.
|
|
12685
|
+
* @docs-private
|
|
12686
|
+
*/
|
|
12687
|
+
containerInstance;
|
|
12688
|
+
/** Whether the user is allowed to close the bottom sheet. */
|
|
12689
|
+
disableClose;
|
|
12690
|
+
/** Subject for notifying the user that the bottom sheet has opened and appeared. */
|
|
12691
|
+
_afterOpened = new Subject();
|
|
12692
|
+
/** Result to be passed down to the `afterDismissed` stream. */
|
|
12693
|
+
_result;
|
|
12694
|
+
/** Handle to the timeout that's running as a fallback in case the exit animation doesn't fire. */
|
|
12695
|
+
_closeFallbackTimeout;
|
|
12696
|
+
constructor(_ref, config, containerInstance) {
|
|
12697
|
+
this._ref = _ref;
|
|
12698
|
+
this.containerInstance = containerInstance;
|
|
12699
|
+
this.disableClose = config.disableClose;
|
|
12700
|
+
// Emit when opening animation completes
|
|
12701
|
+
containerInstance._animationStateChanged
|
|
12702
|
+
.pipe(filter(event => event.phase === 'done' && event.toState === 'visible'), take(1))
|
|
12703
|
+
.subscribe(() => {
|
|
12704
|
+
this._afterOpened.next();
|
|
12705
|
+
this._afterOpened.complete();
|
|
12706
|
+
});
|
|
12707
|
+
// Dispose overlay when closing animation is complete
|
|
12708
|
+
containerInstance._animationStateChanged
|
|
12709
|
+
.pipe(filter(event => event.phase === 'done' && event.toState === 'hidden'), take(1))
|
|
12710
|
+
.subscribe(() => {
|
|
12711
|
+
clearTimeout(this._closeFallbackTimeout);
|
|
12712
|
+
this._ref.close(this._result);
|
|
12713
|
+
});
|
|
12714
|
+
_ref.overlayRef.detachments().subscribe(() => {
|
|
12715
|
+
this._ref.close(this._result);
|
|
12716
|
+
});
|
|
12717
|
+
merge(this.backdropClick(), this.keydownEvents().pipe(filter(event => event.keyCode === ESCAPE))).subscribe(event => {
|
|
12718
|
+
if (!this.disableClose &&
|
|
12719
|
+
(event.type !== 'keydown' || !hasModifierKey(event))) {
|
|
12720
|
+
event.preventDefault();
|
|
12721
|
+
this.dismiss();
|
|
12722
|
+
}
|
|
12723
|
+
});
|
|
12724
|
+
}
|
|
12725
|
+
/**
|
|
12726
|
+
* Dismisses the bottom sheet.
|
|
12727
|
+
* @param result Data to be passed back to the bottom sheet opener.
|
|
12728
|
+
*/
|
|
12729
|
+
dismiss(result) {
|
|
12730
|
+
if (!this.containerInstance) {
|
|
12731
|
+
return;
|
|
12732
|
+
}
|
|
12733
|
+
// Transition the backdrop in parallel to the bottom sheet.
|
|
12734
|
+
this.containerInstance._animationStateChanged
|
|
12735
|
+
.pipe(filter(event => event.phase === 'start'), take(1))
|
|
12736
|
+
.subscribe(() => {
|
|
12737
|
+
// The logic that disposes of the overlay depends on the exit animation completing, however
|
|
12738
|
+
// it isn't guaranteed if the parent view is destroyed while it's running. Add a fallback
|
|
12739
|
+
// timeout which will clean everything up if the animation hasn't fired within the specified
|
|
12740
|
+
// amount of time plus 100ms. We don't need to run this outside the NgZone, because for the
|
|
12741
|
+
// vast majority of cases the timeout will have been cleared before it has fired.
|
|
12742
|
+
this._closeFallbackTimeout = setTimeout(() => this._ref.close(this._result), 500);
|
|
12743
|
+
this._ref.overlayRef.detachBackdrop();
|
|
12744
|
+
});
|
|
12745
|
+
this._result = result;
|
|
12746
|
+
this.containerInstance.exit();
|
|
12747
|
+
this.containerInstance = null;
|
|
12748
|
+
}
|
|
12749
|
+
/** Gets an observable that is notified when the bottom sheet is finished closing. */
|
|
12750
|
+
afterDismissed() {
|
|
12751
|
+
return this._ref.closed;
|
|
12752
|
+
}
|
|
12753
|
+
/** Gets an observable that is notified when the bottom sheet has opened and appeared. */
|
|
12754
|
+
afterOpened() {
|
|
12755
|
+
return this._afterOpened;
|
|
12756
|
+
}
|
|
12757
|
+
/**
|
|
12758
|
+
* Gets an observable that emits when the overlay's backdrop has been clicked.
|
|
12759
|
+
*/
|
|
12760
|
+
backdropClick() {
|
|
12761
|
+
return this._ref.backdropClick;
|
|
12762
|
+
}
|
|
12763
|
+
/**
|
|
12764
|
+
* Gets an observable that emits when keydown events are targeted on the overlay.
|
|
12765
|
+
*/
|
|
12766
|
+
keydownEvents() {
|
|
12767
|
+
return this._ref.keydownEvents;
|
|
12768
|
+
}
|
|
12769
|
+
}
|
|
12770
|
+
|
|
12771
|
+
/**
|
|
12772
|
+
* @license
|
|
12773
|
+
* Copyright Google LLC All Rights Reserved.
|
|
12774
|
+
*
|
|
12775
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
12776
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
12777
|
+
*/
|
|
12778
|
+
/** Injection token that can be used to specify default bottom sheet options. */
|
|
12779
|
+
const MD_BOTTOM_SHEET_DEFAULT_OPTIONS = new InjectionToken('md-bottom-sheet-default-options');
|
|
12780
|
+
/**
|
|
12781
|
+
* Service to trigger MD bottom sheets.
|
|
12782
|
+
*/
|
|
12783
|
+
class MDBottomSheet {
|
|
12784
|
+
_injector = inject(Injector);
|
|
12785
|
+
_parentBottomSheet = inject(MDBottomSheet, { optional: true, skipSelf: true });
|
|
12786
|
+
_animationsDisabled = inject(ANIMATION_MODULE_TYPE, { optional: true }) === 'NoopAnimations';
|
|
12787
|
+
_defaultOptions = inject(MD_BOTTOM_SHEET_DEFAULT_OPTIONS, {
|
|
12788
|
+
optional: true,
|
|
12789
|
+
});
|
|
12790
|
+
_bottomSheetRefAtThisLevel = null;
|
|
12791
|
+
_dialog = inject(Dialog);
|
|
12792
|
+
/** Reference to the currently opened bottom sheet. */
|
|
12793
|
+
get _openedBottomSheetRef() {
|
|
12794
|
+
const parent = this._parentBottomSheet;
|
|
12795
|
+
return parent ? parent._openedBottomSheetRef : this._bottomSheetRefAtThisLevel;
|
|
12796
|
+
}
|
|
12797
|
+
set _openedBottomSheetRef(value) {
|
|
12798
|
+
if (this._parentBottomSheet) {
|
|
12799
|
+
this._parentBottomSheet._openedBottomSheetRef = value;
|
|
12800
|
+
}
|
|
12801
|
+
else {
|
|
12802
|
+
this._bottomSheetRefAtThisLevel = value;
|
|
12803
|
+
}
|
|
12804
|
+
}
|
|
12805
|
+
open(componentOrTemplateRef, config) {
|
|
12806
|
+
const _config = { ...(this._defaultOptions || new MDBottomSheetConfig()), ...config };
|
|
12807
|
+
let ref;
|
|
12808
|
+
this._dialog.open(componentOrTemplateRef, {
|
|
12809
|
+
..._config,
|
|
12810
|
+
// Disable closing since we need to sync it up to the animation ourselves.
|
|
12811
|
+
disableClose: true,
|
|
12812
|
+
// Disable closing on detachments so that we can sync up the animation.
|
|
12813
|
+
closeOnOverlayDetachments: false,
|
|
12814
|
+
maxWidth: '100%',
|
|
12815
|
+
container: MDBottomSheetContainer,
|
|
12816
|
+
scrollStrategy: _config.scrollStrategy || createBlockScrollStrategy(this._injector),
|
|
12817
|
+
positionStrategy: createGlobalPositionStrategy(this._injector)
|
|
12818
|
+
.centerHorizontally()
|
|
12819
|
+
.bottom('0'),
|
|
12820
|
+
disableAnimations: this._animationsDisabled,
|
|
12821
|
+
templateContext: () => ({ bottomSheetRef: ref }),
|
|
12822
|
+
providers: (cdkRef, _cdkConfig, container) => {
|
|
12823
|
+
ref = new MDBottomSheetRef(cdkRef, _config, container);
|
|
12824
|
+
return [
|
|
12825
|
+
{ provide: MDBottomSheetRef, useValue: ref },
|
|
12826
|
+
{ provide: MD_BOTTOM_SHEET_DATA, useValue: _config.data },
|
|
12827
|
+
];
|
|
12828
|
+
},
|
|
12829
|
+
});
|
|
12830
|
+
// When the bottom sheet is dismissed, clear the reference to it.
|
|
12831
|
+
ref.afterDismissed().subscribe(() => {
|
|
12832
|
+
// Clear the bottom sheet ref if it hasn't already been replaced by a newer one.
|
|
12833
|
+
if (this._openedBottomSheetRef === ref) {
|
|
12834
|
+
this._openedBottomSheetRef = null;
|
|
12835
|
+
}
|
|
12836
|
+
});
|
|
12837
|
+
if (this._openedBottomSheetRef) {
|
|
12838
|
+
// If a bottom sheet is already in view, dismiss it and enter the
|
|
12839
|
+
// new bottom sheet after exit animation is complete.
|
|
12840
|
+
this._openedBottomSheetRef.afterDismissed().subscribe(() => ref.containerInstance?.enter());
|
|
12841
|
+
this._openedBottomSheetRef.dismiss();
|
|
12842
|
+
}
|
|
12843
|
+
else {
|
|
12844
|
+
// If no bottom sheet is in view, enter the new bottom sheet.
|
|
12845
|
+
ref.containerInstance.enter();
|
|
12846
|
+
}
|
|
12847
|
+
this._openedBottomSheetRef = ref;
|
|
12848
|
+
return ref;
|
|
12849
|
+
}
|
|
12850
|
+
/**
|
|
12851
|
+
* Dismisses the currently-visible bottom sheet.
|
|
12852
|
+
* @param result Data to pass to the bottom sheet instance.
|
|
12853
|
+
*/
|
|
12854
|
+
dismiss(result) {
|
|
12855
|
+
if (this._openedBottomSheetRef) {
|
|
12856
|
+
this._openedBottomSheetRef.dismiss(result);
|
|
12857
|
+
}
|
|
12858
|
+
}
|
|
12859
|
+
ngOnDestroy() {
|
|
12860
|
+
if (this._bottomSheetRefAtThisLevel) {
|
|
12861
|
+
this._bottomSheetRefAtThisLevel.dismiss();
|
|
12862
|
+
}
|
|
12863
|
+
}
|
|
12864
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDBottomSheet, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12865
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDBottomSheet });
|
|
12866
|
+
}
|
|
12867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDBottomSheet, decorators: [{
|
|
12868
|
+
type: Injectable
|
|
12869
|
+
}] });
|
|
12870
|
+
|
|
12871
|
+
/**
|
|
12872
|
+
* @license
|
|
12873
|
+
* Copyright Google LLC All Rights Reserved.
|
|
12874
|
+
*
|
|
12875
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
12876
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
12877
|
+
*/
|
|
12878
|
+
class MDBottomSheetModule {
|
|
12879
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDBottomSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12880
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.4", ngImport: i0, type: MDBottomSheetModule, imports: [DialogModule, PortalModule, MDBottomSheetContainer], exports: [MDBottomSheetContainer, BidiModule] });
|
|
12881
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDBottomSheetModule, providers: [MDBottomSheet], imports: [DialogModule, PortalModule, BidiModule] });
|
|
12882
|
+
}
|
|
12883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDBottomSheetModule, decorators: [{
|
|
12884
|
+
type: NgModule,
|
|
12885
|
+
args: [{
|
|
12886
|
+
imports: [DialogModule, PortalModule, MDBottomSheetContainer],
|
|
12887
|
+
exports: [MDBottomSheetContainer, BidiModule],
|
|
12888
|
+
providers: [MDBottomSheet],
|
|
12889
|
+
}]
|
|
12890
|
+
}] });
|
|
12891
|
+
|
|
12892
|
+
/**
|
|
12893
|
+
* @license
|
|
12894
|
+
* Copyright Google LLC All Rights Reserved.
|
|
12895
|
+
*
|
|
12896
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
12897
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
12898
|
+
*/
|
|
12899
|
+
|
|
12900
|
+
/**
|
|
12901
|
+
* @license
|
|
12902
|
+
* Copyright Google LLC All Rights Reserved.
|
|
12903
|
+
*
|
|
12904
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
12905
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
12906
|
+
*/
|
|
12907
|
+
|
|
12908
|
+
class MDButton {
|
|
12909
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12910
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: MDButton, isStandalone: true, selector: "button[md-button], a[md-button]", ngImport: i0 });
|
|
12911
|
+
}
|
|
12912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDButton, decorators: [{
|
|
12913
|
+
type: Directive,
|
|
12914
|
+
args: [{
|
|
12915
|
+
selector: 'button[md-button], a[md-button]',
|
|
12916
|
+
standalone: true,
|
|
12917
|
+
}]
|
|
12918
|
+
}] });
|
|
12919
|
+
class MDPrimaryButton {
|
|
12920
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDPrimaryButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12921
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: MDPrimaryButton, isStandalone: true, selector: "button[md-primary-button], a[md-primary-button]", ngImport: i0 });
|
|
12922
|
+
}
|
|
12923
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDPrimaryButton, decorators: [{
|
|
12924
|
+
type: Directive,
|
|
12925
|
+
args: [{
|
|
12926
|
+
selector: 'button[md-primary-button], a[md-primary-button]',
|
|
12927
|
+
standalone: true,
|
|
12928
|
+
}]
|
|
12929
|
+
}] });
|
|
12930
|
+
class MDSecondaryButton {
|
|
12931
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDSecondaryButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12932
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: MDSecondaryButton, isStandalone: true, selector: "button[md-secondary-button], a[md-secondary-button]", ngImport: i0 });
|
|
12933
|
+
}
|
|
12934
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDSecondaryButton, decorators: [{
|
|
12935
|
+
type: Directive,
|
|
12936
|
+
args: [{
|
|
12937
|
+
selector: 'button[md-secondary-button], a[md-secondary-button]',
|
|
12938
|
+
standalone: true,
|
|
12939
|
+
}]
|
|
12940
|
+
}] });
|
|
12941
|
+
class MDSuccessButton {
|
|
12942
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDSuccessButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12943
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: MDSuccessButton, isStandalone: true, selector: "button[md-success-button], a[md-success-button]", ngImport: i0 });
|
|
12944
|
+
}
|
|
12945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDSuccessButton, decorators: [{
|
|
12946
|
+
type: Directive,
|
|
12947
|
+
args: [{
|
|
12948
|
+
selector: 'button[md-success-button], a[md-success-button]',
|
|
12949
|
+
standalone: true,
|
|
12950
|
+
}]
|
|
12951
|
+
}] });
|
|
12952
|
+
class MDDangerButton {
|
|
12953
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDDangerButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12954
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: MDDangerButton, isStandalone: true, selector: "button[md-danger-button], a[md-danger-button]", ngImport: i0 });
|
|
12955
|
+
}
|
|
12956
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDDangerButton, decorators: [{
|
|
12957
|
+
type: Directive,
|
|
12958
|
+
args: [{
|
|
12959
|
+
selector: 'button[md-danger-button], a[md-danger-button]',
|
|
12960
|
+
standalone: true,
|
|
12961
|
+
}]
|
|
12962
|
+
}] });
|
|
12963
|
+
class MDLightButton {
|
|
12964
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDLightButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12965
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: MDLightButton, isStandalone: true, selector: "button[md-light-button], a[md-light-button]", ngImport: i0 });
|
|
12966
|
+
}
|
|
12967
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDLightButton, decorators: [{
|
|
12968
|
+
type: Directive,
|
|
12969
|
+
args: [{
|
|
12970
|
+
selector: 'button[md-light-button], a[md-light-button]',
|
|
12971
|
+
standalone: true,
|
|
12972
|
+
}]
|
|
12973
|
+
}] });
|
|
12974
|
+
class MDWarningButton {
|
|
12975
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDWarningButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12976
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: MDWarningButton, isStandalone: true, selector: "button[md-warning-button], a[md-warning-button]", ngImport: i0 });
|
|
12977
|
+
}
|
|
12978
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDWarningButton, decorators: [{
|
|
12979
|
+
type: Directive,
|
|
12980
|
+
args: [{
|
|
12981
|
+
selector: 'button[md-warning-button], a[md-warning-button]',
|
|
12982
|
+
standalone: true,
|
|
12983
|
+
}]
|
|
12984
|
+
}] });
|
|
12985
|
+
class MDInfoButton {
|
|
12986
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDInfoButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12987
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: MDInfoButton, isStandalone: true, selector: "button[md-info-button], a[md-info-button]", ngImport: i0 });
|
|
12988
|
+
}
|
|
12989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDInfoButton, decorators: [{
|
|
12990
|
+
type: Directive,
|
|
12991
|
+
args: [{
|
|
12992
|
+
selector: 'button[md-info-button], a[md-info-button]',
|
|
12993
|
+
standalone: true,
|
|
12994
|
+
}]
|
|
12995
|
+
}] });
|
|
12996
|
+
class MDDarkButton {
|
|
12997
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDDarkButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12998
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: MDDarkButton, isStandalone: true, selector: "button[md-dark-button], a[md-dark-button]", ngImport: i0 });
|
|
12999
|
+
}
|
|
13000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDDarkButton, decorators: [{
|
|
13001
|
+
type: Directive,
|
|
13002
|
+
args: [{
|
|
13003
|
+
selector: 'button[md-dark-button], a[md-dark-button]',
|
|
13004
|
+
standalone: true,
|
|
13005
|
+
}]
|
|
13006
|
+
}] });
|
|
13007
|
+
class MDLinkButton {
|
|
13008
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDLinkButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
13009
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: MDLinkButton, isStandalone: true, selector: "button[md-link-button], a[md-link-button]", ngImport: i0 });
|
|
13010
|
+
}
|
|
13011
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDLinkButton, decorators: [{
|
|
13012
|
+
type: Directive,
|
|
13013
|
+
args: [{
|
|
13014
|
+
selector: 'button[md-link-button], a[md-link-button]',
|
|
13015
|
+
standalone: true,
|
|
13016
|
+
}]
|
|
13017
|
+
}] });
|
|
13018
|
+
class MDStatusPrimaryButton {
|
|
13019
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDStatusPrimaryButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
13020
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: MDStatusPrimaryButton, isStandalone: true, selector: "button[md-status-primary-button], a[md-status-primary-button]", ngImport: i0 });
|
|
13021
|
+
}
|
|
13022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDStatusPrimaryButton, decorators: [{
|
|
13023
|
+
type: Directive,
|
|
13024
|
+
args: [{
|
|
13025
|
+
selector: 'button[md-status-primary-button], a[md-status-primary-button]',
|
|
13026
|
+
standalone: true,
|
|
13027
|
+
}]
|
|
13028
|
+
}] });
|
|
13029
|
+
class MDStatusDangerButton {
|
|
13030
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDStatusDangerButton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
13031
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.4", type: MDStatusDangerButton, isStandalone: true, selector: "button[md-status-danger-button], a[md-status-danger-button]", ngImport: i0 });
|
|
13032
|
+
}
|
|
13033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDStatusDangerButton, decorators: [{
|
|
13034
|
+
type: Directive,
|
|
13035
|
+
args: [{
|
|
13036
|
+
selector: 'button[md-status-danger-button], a[md-status-danger-button]',
|
|
13037
|
+
standalone: true,
|
|
13038
|
+
}]
|
|
13039
|
+
}] });
|
|
13040
|
+
const MD_BUTTON_DIRECTIVES = [
|
|
13041
|
+
MDButton,
|
|
13042
|
+
MDPrimaryButton,
|
|
13043
|
+
MDSecondaryButton,
|
|
13044
|
+
MDSuccessButton,
|
|
13045
|
+
MDDangerButton,
|
|
13046
|
+
MDLightButton,
|
|
13047
|
+
MDWarningButton,
|
|
13048
|
+
MDInfoButton,
|
|
13049
|
+
MDDarkButton,
|
|
13050
|
+
MDLinkButton,
|
|
13051
|
+
MDStatusPrimaryButton,
|
|
13052
|
+
MDStatusDangerButton,
|
|
13053
|
+
];
|
|
13054
|
+
|
|
13055
|
+
class MDButtonModule {
|
|
13056
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13057
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.4", ngImport: i0, type: MDButtonModule, imports: [MDButton, MDPrimaryButton, MDSecondaryButton, MDSuccessButton, MDDangerButton, MDLightButton, MDWarningButton, MDInfoButton, MDDarkButton, MDLinkButton, MDStatusPrimaryButton, MDStatusDangerButton], exports: [MDButton, MDPrimaryButton, MDSecondaryButton, MDSuccessButton, MDDangerButton, MDLightButton, MDWarningButton, MDInfoButton, MDDarkButton, MDLinkButton, MDStatusPrimaryButton, MDStatusDangerButton] });
|
|
13058
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDButtonModule });
|
|
13059
|
+
}
|
|
13060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: MDButtonModule, decorators: [{
|
|
13061
|
+
type: NgModule,
|
|
13062
|
+
args: [{
|
|
13063
|
+
imports: [MD_BUTTON_DIRECTIVES],
|
|
13064
|
+
exports: [MD_BUTTON_DIRECTIVES],
|
|
13065
|
+
}]
|
|
13066
|
+
}] });
|
|
13067
|
+
|
|
12484
13068
|
// v2
|
|
12485
13069
|
|
|
12486
13070
|
/**
|
|
12487
13071
|
* Generated bundle index. Do not edit.
|
|
12488
13072
|
*/
|
|
12489
13073
|
|
|
12490
|
-
export { ACCORDION, CARD_CONFIG, DIALOG_DATA, DIALOG_DEFAULT_OPTIONS, DIALOG_SCROLL_STRATEGY, DialogState, EXPANSION_PANEL_DEFAULT_OPTIONS, ErrorStateMatcher, ExpansionPanelActionRow, ExpansionPanelDescription, ExpansionPanelTitle, INK_BAR_POSITIONER, INK_BAR_POSITIONER_FACTORY, InkBar, MDAccordion, MDAutocomplete, MDAutocompleteModule, MDAutocompleteOrigin, MDAutocompleteSelectedEvent, MDAutocompleteTrigger, MDCard, MDCardActions, MDCardAvatar, MDCardContent, MDCardFooter, MDCardHeader, MDCardImage, MDCardLgImage, MDCardMdImage, MDCardModule, MDCardSmImage, MDCardSubtitle, MDCardTitle, MDCardTitleGroup, MDCardXlImage, MDCheckBox, MDCheckBoxModule, MDCheckboxChange, MDChip, MDChipAvatar, MDChipEdit, MDChipEditInput, MDChipGrid, MDChipGridChange, MDChipInput, MDChipListbox, MDChipListboxChange, MDChipOption, MDChipRemove, MDChipRow, MDChipSelectionChange, MDChipSet, MDChipTrailingIcon, MDChipsModule, MDCollapseModule, MDContextMenuTrigger, MDDialog, MDDialogActions, MDDialogClose, MDDialogContainer, MDDialogContent, MDDialogTitle, MDExpansionPanel, MDExpansionPanelContent, MDExpansionPanelHeader, MDGridActionsColumnDirective, MDGridAutoSizeDirective, MDGridCellTemplateDirective, MDGridColumnDirective, MDGridComponent, MDGridEditTemplateDirective, MDGridHeaderTemplateDirective, MDGridIdColumnDirective, MDGridModule, MDGridResetFlexSizingDirective, MDGridToolbarTemplateDirective, MDHeaderCardComponent, MDHeaderCardModule, MDHeaderCardSetComponent, MDMenu, MDMenuContent, MDMenuItem, MDMenuModule, MDMenuTrigger, MDModalModule, MDOption, MDOptionGroup, MDOptionModule, MDOptionSelectionChange, MDPaginatorComponent, MDPaginatorModule, MDPseudoCheckboxModule, MDRadioButton, MDRadioGroup, MDRadioModule, MDSelect, MDSelectModule, MDSelectTrigger, MDStep, MDStepContent, MDStepExecutorModule, MDStepFooter, MDStepHeader, MDStepLabel, MDStepper, MDStepperIcon, MDStepperNext, MDStepperPrevious, MDSwitch, MDSwitchModule, MDTab, MDTabBody, MDTabChangeEvent, MDTabContent, MDTabGroup, MDTabHeader, MDTabLabel, MDTabLabelWrapper, MDTabLink, MDTabNav, MDTabNavPanel, MDTabsModule, MD_AUTOCOMPLETE_DEFAULT_OPTIONS, MD_AUTOCOMPLETE_SCROLL_STRATEGY, MD_AUTOCOMPLETE_VALUE_ACCESSOR, 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_EXPANSION_PANEL, 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_TAB, MD_TAB_LABEL, MENU_PANEL_TOP_PADDING, MefDevDialogConfig, MefDevDialogRef, 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, TabBodyPortal, TransitionCheckState, _ErrorStateTracker, _closeDialogVia, _countGroupLabelsBeforeOption, _getOptionScrollPosition, components, getMDAutocompleteMissingPanelError, getMDSelectDynamicMultipleError, getMDSelectNonArrayValueError, getMDSelectNonFunctionValueError, groupRowsByProperty, sortRows };
|
|
13074
|
+
export { ACCORDION, CARD_CONFIG, DIALOG_DATA, DIALOG_DEFAULT_OPTIONS, DIALOG_SCROLL_STRATEGY, 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, MDButton, MDButtonModule, MDCard, MDCardActions, MDCardAvatar, MDCardContent, MDCardFooter, MDCardHeader, MDCardImage, MDCardLgImage, MDCardMdImage, MDCardModule, MDCardSmImage, MDCardSubtitle, MDCardTitle, MDCardTitleGroup, MDCardXlImage, MDCheckBox, MDCheckBoxModule, MDCheckboxChange, MDChip, MDChipAvatar, MDChipEdit, MDChipEditInput, MDChipGrid, MDChipGridChange, MDChipInput, MDChipListbox, MDChipListboxChange, MDChipOption, MDChipRemove, MDChipRow, MDChipSelectionChange, MDChipSet, MDChipTrailingIcon, MDChipsModule, MDCollapseModule, MDContextMenuTrigger, MDDangerButton, MDDarkButton, MDDialog, MDDialogActions, MDDialogClose, MDDialogContainer, MDDialogContent, MDDialogTitle, MDExpansionPanel, MDExpansionPanelContent, MDExpansionPanelHeader, MDGridActionsColumnDirective, MDGridAutoSizeDirective, MDGridCellTemplateDirective, MDGridColumnDirective, MDGridComponent, MDGridEditTemplateDirective, MDGridHeaderTemplateDirective, MDGridIdColumnDirective, MDGridModule, MDGridResetFlexSizingDirective, MDGridToolbarTemplateDirective, MDHeaderCardComponent, MDHeaderCardModule, MDHeaderCardSetComponent, MDInfoButton, MDLightButton, MDLinkButton, MDMenu, MDMenuContent, MDMenuItem, MDMenuModule, MDMenuTrigger, MDModalModule, MDOption, MDOptionGroup, MDOptionModule, MDOptionSelectionChange, MDPaginatorComponent, MDPaginatorModule, MDPrimaryButton, MDPseudoCheckboxModule, MDRadioButton, MDRadioGroup, MDRadioModule, MDSecondaryButton, MDSelect, MDSelectModule, MDSelectTrigger, MDStatusDangerButton, MDStatusPrimaryButton, MDStep, MDStepContent, MDStepExecutorModule, MDStepFooter, MDStepHeader, MDStepLabel, MDStepper, MDStepperIcon, MDStepperNext, MDStepperPrevious, MDSuccessButton, MDSwitch, MDSwitchModule, MDTab, MDTabBody, MDTabChangeEvent, MDTabContent, MDTabGroup, MDTabHeader, MDTabLabel, MDTabLabelWrapper, MDTabLink, MDTabNav, MDTabNavPanel, MDTabsModule, 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_EXPANSION_PANEL, 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_TAB, MD_TAB_LABEL, MENU_PANEL_TOP_PADDING, MefDevDialogConfig, MefDevDialogRef, 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, TabBodyPortal, TransitionCheckState, _ErrorStateTracker, _closeDialogVia, _countGroupLabelsBeforeOption, _getOptionScrollPosition, components, getMDAutocompleteMissingPanelError, getMDSelectDynamicMultipleError, getMDSelectNonArrayValueError, getMDSelectNonFunctionValueError, groupRowsByProperty, sortRows };
|
|
12491
13075
|
//# sourceMappingURL=natec-mef-dev-ui-kit.mjs.map
|