@camaradesuk/m3e-angular 0.2.0-alpha.12 → 0.2.0-alpha.14
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, inject, signal, ElementRef, model, input, ChangeDetectorRef, computed, Input, Directive, effect, forwardRef, booleanAttribute, output, contentChildren, NgZone, afterNextRender, afterRenderEffect, DestroyRef, ChangeDetectionStrategy, Component, ANIMATION_MODULE_TYPE, Injectable, viewChild, PLATFORM_ID, ViewEncapsulation, APP_ID, TemplateRef, ViewContainerRef, untracked, linkedSignal, isDevMode, afterEveryRender, Renderer2, QueryList, Injector, ViewChildren, ContentChildren, contentChild, HostAttributeToken } from '@angular/core';
|
|
2
|
+
import { InjectionToken, inject, signal, ElementRef, model, input, ChangeDetectorRef, computed, Input, Directive, effect, forwardRef, booleanAttribute, output, contentChildren, NgZone, afterNextRender, afterRenderEffect, DestroyRef, ChangeDetectionStrategy, Component, ANIMATION_MODULE_TYPE, Injectable, viewChild, PLATFORM_ID, ViewEncapsulation, APP_ID, TemplateRef, ViewContainerRef, untracked, linkedSignal, isDevMode, afterEveryRender, Renderer2, QueryList, Injector, ViewChildren, ContentChildren, contentChild, LOCALE_ID, numberAttribute, HostAttributeToken } from '@angular/core';
|
|
3
3
|
import * as i1$2 from '@angular/material/button';
|
|
4
4
|
import { MatIconButton, MatButton, MatFabButton, MatButtonModule } from '@angular/material/button';
|
|
5
5
|
import { gsap } from 'gsap';
|
|
@@ -11,7 +11,7 @@ import { NG_VALUE_ACCESSOR, AbstractControl } from '@angular/forms';
|
|
|
11
11
|
import { MediaMatcher } from '@angular/cdk/layout';
|
|
12
12
|
import * as i1$1 from '@angular/material/core';
|
|
13
13
|
import { MATERIAL_ANIMATIONS, MatRipple } from '@angular/material/core';
|
|
14
|
-
import { isPlatformBrowser, DOCUMENT, NgTemplateOutlet } from '@angular/common';
|
|
14
|
+
import { isPlatformBrowser, DOCUMENT, NgTemplateOutlet, formatNumber } from '@angular/common';
|
|
15
15
|
import { MorphSVGPlugin } from 'gsap/MorphSVGPlugin';
|
|
16
16
|
import { CustomEase } from 'gsap/CustomEase';
|
|
17
17
|
import { FocusMonitor, InteractivityChecker, addAriaReferencedId, removeAriaReferencedId, _IdGenerator, InputModalityDetector, AriaDescriber, FocusKeyManager } from '@angular/cdk/a11y';
|
|
@@ -29,6 +29,8 @@ import { Combobox, ComboboxPopup, ComboboxWidget } from '@angular/aria/combobox'
|
|
|
29
29
|
import { Listbox, Option } from '@angular/aria/listbox';
|
|
30
30
|
import { MatFormField, MatLabel } from '@angular/material/form-field';
|
|
31
31
|
import { MatInput } from '@angular/material/input';
|
|
32
|
+
import { MatPaginatorIntl, MatPaginator } from '@angular/material/paginator';
|
|
33
|
+
import { MatTooltip } from '@angular/material/tooltip';
|
|
32
34
|
import { CdkDialogContainer, DialogRef, Dialog } from '@angular/cdk/dialog';
|
|
33
35
|
import { MatDialogState, MAT_DIALOG_DATA, MAT_DIALOG_DEFAULT_OPTIONS } from '@angular/material/dialog';
|
|
34
36
|
|
|
@@ -5680,6 +5682,7 @@ const options$2 = matExpCreateOptions({
|
|
|
5680
5682
|
closeLabel: 'Close dialog',
|
|
5681
5683
|
adaptiveWidth: undefined,
|
|
5682
5684
|
compactActions: 'header',
|
|
5685
|
+
closeButton: 'visible',
|
|
5683
5686
|
});
|
|
5684
5687
|
const MAT_EXP_DIALOG_OPTIONS = options$2.token;
|
|
5685
5688
|
const provideMatExpDialogOptions = options$2.provide;
|
|
@@ -8223,6 +8226,13 @@ class MatExpSelect {
|
|
|
8223
8226
|
multiple = input(false, { ...(ngDevMode ? { debugName: "multiple" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
8224
8227
|
label = input('Choose an option', /* @ts-ignore */
|
|
8225
8228
|
...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
8229
|
+
/** Use a 40px, content-width field for dense toolbars and table footers. */
|
|
8230
|
+
compact = input(false, { ...(ngDevMode ? { debugName: "compact" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
8231
|
+
/**
|
|
8232
|
+
* Id of an external element that names this select. When set, no visible label is
|
|
8233
|
+
* rendered, `label` is ignored, and the trigger and listbox reference this id.
|
|
8234
|
+
*/
|
|
8235
|
+
ariaLabelledby = input(null, { ...(ngDevMode ? { debugName: "ariaLabelledby" } : /* istanbul ignore next */ {}), transform: (value) => value || null });
|
|
8226
8236
|
placeholder = input('Select an option', /* @ts-ignore */
|
|
8227
8237
|
...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
|
|
8228
8238
|
emptyLabel = input('No options available', /* @ts-ignore */
|
|
@@ -8316,6 +8326,8 @@ class MatExpSelect {
|
|
|
8316
8326
|
...(ngDevMode ? [{ debugName: "_trigger" }] : /* istanbul ignore next */ []));
|
|
8317
8327
|
_originElement = viewChild('origin', { ...(ngDevMode ? { debugName: "_originElement" } : /* istanbul ignore next */ {}), read: (ElementRef) });
|
|
8318
8328
|
_popupWidth = injectOriginWidth(this._originElement);
|
|
8329
|
+
_overlayWidth = computed(() => this.compact() ? Math.max(this._popupWidth(), 112) : this._popupWidth(), /* @ts-ignore */
|
|
8330
|
+
...(ngDevMode ? [{ debugName: "_overlayWidth" }] : /* istanbul ignore next */ []));
|
|
8319
8331
|
_panel = viewChild('panel', /* @ts-ignore */
|
|
8320
8332
|
...(ngDevMode ? [{ debugName: "_panel" }] : /* istanbul ignore next */ []));
|
|
8321
8333
|
_surface = viewChild('surface', /* @ts-ignore */
|
|
@@ -8635,9 +8647,9 @@ class MatExpSelect {
|
|
|
8635
8647
|
this._changeDetector.markForCheck();
|
|
8636
8648
|
}
|
|
8637
8649
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: MatExpSelect, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8638
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.3", type: MatExpSelect, isStandalone: true, selector: "mat-exp-select", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, emptyLabel: { classPropertyName: "emptyLabel", publicName: "emptyLabel", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, density: { classPropertyName: "density", publicName: "density", isSignal: true, isRequired: false, transformFunction: null }, motion: { classPropertyName: "motion", publicName: "motion", isSignal: true, isRequired: false, transformFunction: null }, popupMotion: { classPropertyName: "popupMotion", publicName: "popupMotion", isSignal: true, isRequired: false, transformFunction: null }, rtl: { classPropertyName: "rtl", publicName: "rtl", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, compareWith: { classPropertyName: "compareWith", publicName: "compareWith", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange", selectionChange: "selectionChange", opened: "opened", closed: "closed" }, host: { listeners: { "document:pointerdown": "_outside($event)", "document:pointerup": "_release()", "document:pointercancel": "_release()" } }, providers: [
|
|
8650
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.3", type: MatExpSelect, isStandalone: true, selector: "mat-exp-select", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, compact: { classPropertyName: "compact", publicName: "compact", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "ariaLabelledby", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, emptyLabel: { classPropertyName: "emptyLabel", publicName: "emptyLabel", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, density: { classPropertyName: "density", publicName: "density", isSignal: true, isRequired: false, transformFunction: null }, motion: { classPropertyName: "motion", publicName: "motion", isSignal: true, isRequired: false, transformFunction: null }, popupMotion: { classPropertyName: "popupMotion", publicName: "popupMotion", isSignal: true, isRequired: false, transformFunction: null }, rtl: { classPropertyName: "rtl", publicName: "rtl", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, compareWith: { classPropertyName: "compareWith", publicName: "compareWith", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange", selectionChange: "selectionChange", opened: "opened", closed: "closed" }, host: { listeners: { "document:pointerdown": "_outside($event)", "document:pointerup": "_release()", "document:pointercancel": "_release()" }, properties: { "class.mat-exp-select-compact": "compact()" } }, providers: [
|
|
8639
8651
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => MatExpSelect), multi: true },
|
|
8640
|
-
], viewQueries: [{ propertyName: "_trigger", first: true, predicate: ["trigger"], descendants: true, isSignal: true }, { propertyName: "_originElement", first: true, predicate: ["origin"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "_panel", first: true, predicate: ["panel"], descendants: true, isSignal: true }, { propertyName: "_surface", first: true, predicate: ["surface"], descendants: true, isSignal: true }, { propertyName: "_listbox", first: true, predicate: ["listbox"], descendants: true, isSignal: true }, { propertyName: "_overlay", first: true, predicate: CdkConnectedOverlay, descendants: true, isSignal: true }], ngImport: i0, template: "<div\n class=\"mat-exp-select-field\"\n [dir]=\"rtl() ? 'rtl' : 'ltr'\"\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n>\n <span class=\"mat-exp-select-label\"\n >{{ label() }}\n @if (required()) {\n <span aria-hidden=\"true\"> *</span>\n }\n </span>\n <div\n #trigger\n ngCombobox\n #combobox=\"ngCombobox\"\n class=\"mat-exp-select-trigger\"\n [disabled]=\"_disabled()\"\n [softDisabled]=\"false\"\n [expanded]=\"_expanded()\"\n (expandedChange)=\"_expand($event)\"\n [preserveContent]=\"true\"\n [attr.aria-label]=\"label()\"\n [attr.aria-autocomplete]=\"'none'\"\n [attr.aria-required]=\"required()\"\n (keydown)=\"_key($event)\"\n (focusout)=\"_blur()\"\n >\n <span class=\"mat-exp-select-value\" [class.mat-exp-select-placeholder]=\"!_display()\">{{\n _display() || placeholder()\n }}</span>\n <mat-icon aria-hidden=\"true\">{{ _expanded() ? 'arrow_drop_up' : 'arrow_drop_down' }}</mat-icon>\n </div>\n <ng-template ngComboboxPopup [combobox]=\"combobox\">\n <ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"_present()\"\n [cdkConnectedOverlayPositions]=\"_positions\"\n [cdkConnectedOverlayWidth]=\"_popupWidth()\"\n [cdkConnectedOverlayViewportMargin]=\"8\"\n [cdkConnectedOverlayPush]=\"true\"\n (positionChange)=\"_origin($event.connectionPair.overlayY === 'bottom')\"\n >\n <div #surface class=\"mat-exp-select-popup\">\n <div\n #panel\n ngComboboxWidget\n ngListbox\n #listbox=\"ngListbox\"\n [activeDescendant]=\"listbox.activeDescendant()\"\n [value]=\"_indices()\"\n (valueChange)=\"_listValueChanged($event)\"\n [multi]=\"multiple()\"\n [softDisabled]=\"false\"\n focusMode=\"activedescendant\"\n selectionMode=\"explicit\"\n [class]=\"_classes()\"\n [attr.aria-label]=\"label() + ' options'\"\n [attr.aria-hidden]=\"!_expanded() ? 'true' : null\"\n [attr.inert]=\"!_expanded() ? '' : null\"\n [dir]=\"rtl() ? 'rtl' : 'ltr'\"\n >\n @for (option of _renderedOptions(); track $index; let index = $index) {\n <div\n ngOption\n matRipple\n #item=\"ngOption\"\n [value]=\"index\"\n [label]=\"option.label\"\n [disabled]=\"!!option.disabled\"\n [attr.data-option-index]=\"index\"\n [matRippleDisabled]=\"!motion() || !!option.disabled\"\n class=\"mat-exp-autocomplete-option\"\n [class.mat-exp-autocomplete-selected]=\"_indices().includes(index)\"\n [class.mat-exp-autocomplete-active]=\"item.active()\"\n [class.mat-exp-select-pressed]=\"_pressed() === index\"\n (pointerdown)=\"_press(index)\"\n (mousedown)=\"$event.preventDefault()\"\n >\n <span class=\"mat-exp-autocomplete-row\"\n ><span>{{ option.label }}</span>\n <mat-icon class=\"mat-exp-autocomplete-check\" aria-hidden=\"true\">{{\n _indices().includes(index) ? 'check' : ''\n }}</mat-icon>\n </span>\n </div>\n } @empty {\n <div\n ngOption\n [value]=\"-1\"\n [label]=\"emptyLabel()\"\n disabled\n class=\"mat-exp-autocomplete-option\"\n >\n {{ emptyLabel() }}\n </div>\n }\n </div>\n </div>\n </ng-template>\n </ng-template>\n</div>\n", styles: [".mat-exp-autocomplete-panel[role=listbox]{--city-surface: var(--mat-exp-menu-container-color, var(--mat-sys-surface-container-low));--city-label: var(--mat-exp-menu-label-color, var(--mat-sys-on-surface));--city-selected: var( --mat-exp-menu-selected-container-color, var(--mat-sys-tertiary-container) );--city-on-selected: var( --mat-exp-menu-selected-content-color, var(--mat-sys-on-tertiary-container) );--city-state: var(--mat-exp-menu-state-layer-color, var(--mat-sys-on-surface));--city-target: 48px;--mat-autocomplete-container-shape: var(--mat-exp-menu-container-shape, 16px);--mat-autocomplete-background-color: var(--city-surface);--mat-autocomplete-container-elevation-shadow: var(--mat-exp-menu-elevation, var(--mat-sys-level2));--mat-option-label-text-color: var(--city-label);--mat-option-selected-state-label-text-color: var(--city-on-selected);--mat-option-selected-state-layer-color: transparent;--mat-option-hover-state-layer-color: transparent;--mat-option-focus-state-layer-color: transparent;--mat-option-label-text-font: var(--mat-exp-menu-label-font, var(--mat-sys-label-large-font, sans-serif));--mat-option-label-text-size: var(--mat-exp-menu-label-size, 14px);--mat-option-label-text-weight: var(--mat-exp-menu-label-weight, 500);--mat-option-label-text-line-height: var(--mat-exp-menu-label-line-height, 20px);--mat-option-label-text-tracking: var(--mat-exp-menu-label-tracking, .1px);border-radius:var(--mat-exp-menu-container-shape, 16px)!important;max-block-size:18rem;padding:2px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:auto;scrollbar-width:auto;scrollbar-color:var(--mat-exp-menu-scrollbar-color, var(--mat-sys-outline)) var(--city-surface);clip-path:inset(0 round var(--mat-exp-menu-container-shape, 16px))}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-panel-vibrant{--city-surface: var(--mat-exp-menu-container-color, var(--mat-sys-tertiary-container));--city-label: var(--mat-exp-menu-label-color, var(--mat-sys-on-tertiary-container));--city-selected: var(--mat-exp-menu-selected-container-color, var(--mat-sys-tertiary));--city-on-selected: var(--mat-exp-menu-selected-content-color, var(--mat-sys-on-tertiary));--city-state: var(--mat-exp-menu-state-layer-color, var(--mat-sys-on-tertiary-container))}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-density-1{--city-target: 44px}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-density-2{--city-target: 40px}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-density-3{--city-target: 36px}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-no-motion{animation:none}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option{--city-row-shape: var(--mat-exp-menu-item-shape, 4px);--city-row-state: var(--city-state);position:relative;isolation:isolate;min-block-size:var(--city-target);padding-inline:16px;border-radius:var(--city-row-shape);background:transparent}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:first-child{--city-row-shape: var(--mat-exp-menu-item-outer-shape, 12px) var(--mat-exp-menu-item-outer-shape, 12px) var(--mat-exp-menu-item-shape, 4px) var(--mat-exp-menu-item-shape, 4px)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:last-child{--city-row-shape: var(--mat-exp-menu-item-shape, 4px) var(--mat-exp-menu-item-shape, 4px) var(--mat-exp-menu-item-outer-shape, 12px) var(--mat-exp-menu-item-outer-shape, 12px)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:only-child{--city-row-shape: var(--mat-exp-menu-item-outer-shape, 12px)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:before,.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:after{content:\"\";position:absolute;inset:2px 0;z-index:-1;border-radius:var(--city-row-shape);pointer-events:none}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:not([aria-disabled=true]):hover:after{background:color-mix(in srgb,var(--city-row-state) 8%,transparent)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:not([aria-disabled=true]).mat-exp-autocomplete-active:after,.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:not([aria-disabled=true]):active:after{background:color-mix(in srgb,var(--city-row-state) 10%,transparent)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option.mat-exp-autocomplete-selected{--city-row-shape: var(--mat-exp-menu-selected-shape, 12px);--city-row-state: var(--city-on-selected);color:var(--city-on-selected)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option.mat-exp-autocomplete-selected:before{background:var(--city-selected)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:not([aria-disabled=true]).mat-exp-autocomplete-active{outline:var(--mat-exp-menu-focus-width, 3px) solid var(--mat-exp-menu-focus-color, var(--mat-sys-secondary));outline-offset:var(--mat-exp-menu-focus-offset, -3px)}@supports selector(::-webkit-scrollbar){.mat-exp-autocomplete-panel[role=listbox]{scrollbar-color:auto;scrollbar-width:auto}}.mat-exp-autocomplete-panel::-webkit-scrollbar{width:var(--mat-exp-menu-scrollbar-width, 12px)}.mat-exp-autocomplete-panel::-webkit-scrollbar-button{display:none}.mat-exp-autocomplete-panel::-webkit-scrollbar-track{margin-block:4px;background:var(--city-surface)}.mat-exp-autocomplete-panel::-webkit-scrollbar-thumb{border:3px solid var(--city-surface);border-radius:12px;background:var(--mat-exp-menu-scrollbar-color, var(--mat-sys-outline))}.mat-exp-autocomplete-row{display:flex;align-items:center;justify-content:space-between;gap:12px;inline-size:100%}.mat-exp-autocomplete-check{inline-size:20px;block-size:20px;font-size:20px;line-height:20px;flex-shrink:0}@media(prefers-reduced-motion:reduce){.mat-exp-autocomplete-panel[role=listbox]{animation:none}}@media(forced-colors:active){.mat-exp-autocomplete-panel .mat-exp-autocomplete-option.mat-exp-autocomplete-active{outline-color:Highlight}.mat-exp-autocomplete-panel .mat-exp-autocomplete-option.mat-exp-autocomplete-selected{color:SelectedItemText}.mat-exp-autocomplete-panel .mat-exp-autocomplete-option.mat-exp-autocomplete-selected:before{background:SelectedItem;forced-color-adjust:none}}mat-exp-select{display:block}.mat-exp-select-field{inline-size:min(100%,22rem)}.mat-exp-select-label{display:block;margin-block-end:4px;color:var(--mat-sys-on-surface-variant);font:var(--mat-sys-body-small)}.mat-exp-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;min-block-size:48px;box-sizing:border-box;padding:12px 16px;border:1px solid var(--mat-sys-outline);border-radius:4px;cursor:pointer;background:var(--mat-sys-surface);color:var(--mat-sys-on-surface);font:var(--mat-sys-body-large)}.mat-exp-select-trigger:focus-visible{outline:3px solid var(--mat-sys-secondary);outline-offset:2px}.mat-exp-select-trigger[aria-disabled=true]{opacity:.38;cursor:default}.mat-exp-select-trigger mat-icon{flex-shrink:0}.mat-exp-select-value{overflow-wrap:anywhere}.mat-exp-select-placeholder{color:var(--mat-sys-on-surface-variant)}.mat-exp-select-popup{inline-size:100%;overflow:hidden;border-radius:var(--mat-exp-menu-container-shape, 16px);box-shadow:var(--mat-exp-menu-elevation, var(--mat-sys-level2))}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox]{box-sizing:border-box;inline-size:100%;max-block-size:min(18rem,100dvh - 16px);background:var(--city-surface);box-shadow:none;clip-path:none}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option{box-sizing:border-box;display:flex;align-items:center;cursor:pointer;color:var(--city-label);font-family:var(--mat-exp-menu-label-font, var(--mat-sys-label-large-font, sans-serif));font-size:var(--mat-exp-menu-label-size, 14px);font-weight:var(--mat-exp-menu-label-weight, 500);line-height:var(--mat-exp-menu-label-line-height, 20px);letter-spacing:var(--mat-exp-menu-label-tracking, .1px)}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option.mat-exp-autocomplete-selected{color:var(--city-on-selected)}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option[aria-disabled=true]{cursor:default}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option[aria-disabled=true] .mat-exp-autocomplete-row{opacity:.38}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option[aria-disabled=true]:not(:has(.mat-exp-autocomplete-row)){opacity:.38}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option[aria-disabled=true].mat-exp-autocomplete-selected:before{opacity:.38}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option.mat-exp-select-pressed:not([aria-disabled=true]):after{background:color-mix(in srgb,var(--city-row-state) 10%,transparent)}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-panel-vibrant .mat-exp-autocomplete-option[aria-disabled=true].mat-exp-autocomplete-selected:before{opacity:1}\n"], dependencies: [{ kind: "directive", type: Combobox, selector: "[ngCombobox]", inputs: ["disabled", "readonly", "softDisabled", "alwaysExpanded", "tabindex", "expanded", "value", "inlineSuggestion"], outputs: ["expandedChange", "valueChange"], exportAs: ["ngCombobox"] }, { kind: "directive", type: ComboboxPopup, selector: "ng-template[ngComboboxPopup]", inputs: ["combobox", "popupType"], exportAs: ["ngComboboxPopup"] }, { kind: "directive", type: ComboboxWidget, selector: "[ngComboboxWidget]", inputs: ["activeDescendant"], exportAs: ["ngComboboxWidget"] }, { kind: "directive", type: Listbox, selector: "[ngListbox]", inputs: ["id", "orientation", "multi", "wrap", "softDisabled", "focusMode", "selectionMode", "typeaheadDelay", "disabled", "readonly", "tabindex", "value"], outputs: ["valueChange"], exportAs: ["ngListbox"] }, { kind: "directive", type: Option, selector: "[ngOption]", inputs: ["id", "value", "disabled", "label"], exportAs: ["ngOption"] }, { kind: "directive", type: Dir, selector: "[dir]", inputs: ["dir"], outputs: ["dirChange"], exportAs: ["dir"] }, { 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: CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
8652
|
+
], viewQueries: [{ propertyName: "_trigger", first: true, predicate: ["trigger"], descendants: true, isSignal: true }, { propertyName: "_originElement", first: true, predicate: ["origin"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "_panel", first: true, predicate: ["panel"], descendants: true, isSignal: true }, { propertyName: "_surface", first: true, predicate: ["surface"], descendants: true, isSignal: true }, { propertyName: "_listbox", first: true, predicate: ["listbox"], descendants: true, isSignal: true }, { propertyName: "_overlay", first: true, predicate: CdkConnectedOverlay, descendants: true, isSignal: true }], ngImport: i0, template: "<div\n class=\"mat-exp-select-field\"\n [dir]=\"rtl() ? 'rtl' : 'ltr'\"\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n>\n @if (!ariaLabelledby()) {\n <span class=\"mat-exp-select-label\"\n >{{ label() }}\n @if (required()) {\n <span aria-hidden=\"true\"> *</span>\n }\n </span>\n }\n <div\n #trigger\n ngCombobox\n #combobox=\"ngCombobox\"\n class=\"mat-exp-select-trigger\"\n [disabled]=\"_disabled()\"\n [softDisabled]=\"false\"\n [expanded]=\"_expanded()\"\n (expandedChange)=\"_expand($event)\"\n [preserveContent]=\"true\"\n [attr.aria-label]=\"ariaLabelledby() ? null : label()\"\n [attr.aria-labelledby]=\"ariaLabelledby()\"\n [attr.aria-autocomplete]=\"'none'\"\n [attr.aria-required]=\"required()\"\n (keydown)=\"_key($event)\"\n (focusout)=\"_blur()\"\n >\n <span class=\"mat-exp-select-value\" [class.mat-exp-select-placeholder]=\"!_display()\">{{\n _display() || placeholder()\n }}</span>\n <mat-icon aria-hidden=\"true\">{{ _expanded() ? 'arrow_drop_up' : 'arrow_drop_down' }}</mat-icon>\n </div>\n <ng-template ngComboboxPopup [combobox]=\"combobox\">\n <ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"_present()\"\n [cdkConnectedOverlayPositions]=\"_positions\"\n [cdkConnectedOverlayWidth]=\"_overlayWidth()\"\n [cdkConnectedOverlayViewportMargin]=\"8\"\n [cdkConnectedOverlayPush]=\"true\"\n (positionChange)=\"_origin($event.connectionPair.overlayY === 'bottom')\"\n >\n <div #surface class=\"mat-exp-select-popup\">\n <div\n #panel\n ngComboboxWidget\n ngListbox\n #listbox=\"ngListbox\"\n [activeDescendant]=\"listbox.activeDescendant()\"\n [value]=\"_indices()\"\n (valueChange)=\"_listValueChanged($event)\"\n [multi]=\"multiple()\"\n [softDisabled]=\"false\"\n focusMode=\"activedescendant\"\n selectionMode=\"explicit\"\n [class]=\"_classes()\"\n [attr.aria-label]=\"ariaLabelledby() ? null : label() + ' options'\"\n [attr.aria-labelledby]=\"ariaLabelledby()\"\n [attr.aria-hidden]=\"!_expanded() ? 'true' : null\"\n [attr.inert]=\"!_expanded() ? '' : null\"\n [dir]=\"rtl() ? 'rtl' : 'ltr'\"\n >\n @for (option of _renderedOptions(); track $index; let index = $index) {\n <div\n ngOption\n matRipple\n #item=\"ngOption\"\n [value]=\"index\"\n [label]=\"option.label\"\n [disabled]=\"!!option.disabled\"\n [attr.data-option-index]=\"index\"\n [matRippleDisabled]=\"!motion() || !!option.disabled\"\n class=\"mat-exp-autocomplete-option\"\n [class.mat-exp-autocomplete-selected]=\"_indices().includes(index)\"\n [class.mat-exp-autocomplete-active]=\"item.active()\"\n [class.mat-exp-select-pressed]=\"_pressed() === index\"\n (pointerdown)=\"_press(index)\"\n (mousedown)=\"$event.preventDefault()\"\n >\n <span class=\"mat-exp-autocomplete-row\"\n ><span>{{ option.label }}</span>\n <mat-icon class=\"mat-exp-autocomplete-check\" aria-hidden=\"true\">{{\n _indices().includes(index) ? 'check' : ''\n }}</mat-icon>\n </span>\n </div>\n } @empty {\n <div\n ngOption\n [value]=\"-1\"\n [label]=\"emptyLabel()\"\n disabled\n class=\"mat-exp-autocomplete-option\"\n >\n {{ emptyLabel() }}\n </div>\n }\n </div>\n </div>\n </ng-template>\n </ng-template>\n</div>\n", styles: [".mat-exp-autocomplete-panel[role=listbox]{--city-surface: var(--mat-exp-menu-container-color, var(--mat-sys-surface-container-low));--city-label: var(--mat-exp-menu-label-color, var(--mat-sys-on-surface));--city-selected: var( --mat-exp-menu-selected-container-color, var(--mat-sys-tertiary-container) );--city-on-selected: var( --mat-exp-menu-selected-content-color, var(--mat-sys-on-tertiary-container) );--city-state: var(--mat-exp-menu-state-layer-color, var(--mat-sys-on-surface));--city-target: 48px;--mat-autocomplete-container-shape: var(--mat-exp-menu-container-shape, 16px);--mat-autocomplete-background-color: var(--city-surface);--mat-autocomplete-container-elevation-shadow: var(--mat-exp-menu-elevation, var(--mat-sys-level2));--mat-option-label-text-color: var(--city-label);--mat-option-selected-state-label-text-color: var(--city-on-selected);--mat-option-selected-state-layer-color: transparent;--mat-option-hover-state-layer-color: transparent;--mat-option-focus-state-layer-color: transparent;--mat-option-label-text-font: var(--mat-exp-menu-label-font, var(--mat-sys-label-large-font, sans-serif));--mat-option-label-text-size: var(--mat-exp-menu-label-size, 14px);--mat-option-label-text-weight: var(--mat-exp-menu-label-weight, 500);--mat-option-label-text-line-height: var(--mat-exp-menu-label-line-height, 20px);--mat-option-label-text-tracking: var(--mat-exp-menu-label-tracking, .1px);border-radius:var(--mat-exp-menu-container-shape, 16px)!important;max-block-size:18rem;padding:2px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:auto;scrollbar-width:auto;scrollbar-color:var(--mat-exp-menu-scrollbar-color, var(--mat-sys-outline)) var(--city-surface);clip-path:inset(0 round var(--mat-exp-menu-container-shape, 16px))}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-panel-vibrant{--city-surface: var(--mat-exp-menu-container-color, var(--mat-sys-tertiary-container));--city-label: var(--mat-exp-menu-label-color, var(--mat-sys-on-tertiary-container));--city-selected: var(--mat-exp-menu-selected-container-color, var(--mat-sys-tertiary));--city-on-selected: var(--mat-exp-menu-selected-content-color, var(--mat-sys-on-tertiary));--city-state: var(--mat-exp-menu-state-layer-color, var(--mat-sys-on-tertiary-container))}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-density-1{--city-target: 44px}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-density-2{--city-target: 40px}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-density-3{--city-target: 36px}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-no-motion{animation:none}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option{--city-row-shape: var(--mat-exp-menu-item-shape, 4px);--city-row-state: var(--city-state);position:relative;isolation:isolate;min-block-size:var(--city-target);padding-inline:16px;border-radius:var(--city-row-shape);background:transparent}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:first-child{--city-row-shape: var(--mat-exp-menu-item-outer-shape, 12px) var(--mat-exp-menu-item-outer-shape, 12px) var(--mat-exp-menu-item-shape, 4px) var(--mat-exp-menu-item-shape, 4px)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:last-child{--city-row-shape: var(--mat-exp-menu-item-shape, 4px) var(--mat-exp-menu-item-shape, 4px) var(--mat-exp-menu-item-outer-shape, 12px) var(--mat-exp-menu-item-outer-shape, 12px)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:only-child{--city-row-shape: var(--mat-exp-menu-item-outer-shape, 12px)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:before,.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:after{content:\"\";position:absolute;inset:2px 0;z-index:-1;border-radius:var(--city-row-shape);pointer-events:none}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:not([aria-disabled=true]):hover:after{background:color-mix(in srgb,var(--city-row-state) 8%,transparent)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:not([aria-disabled=true]).mat-exp-autocomplete-active:after,.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:not([aria-disabled=true]):active:after{background:color-mix(in srgb,var(--city-row-state) 10%,transparent)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option.mat-exp-autocomplete-selected{--city-row-shape: var(--mat-exp-menu-selected-shape, 12px);--city-row-state: var(--city-on-selected);color:var(--city-on-selected)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option.mat-exp-autocomplete-selected:before{background:var(--city-selected)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:not([aria-disabled=true]).mat-exp-autocomplete-active{outline:var(--mat-exp-menu-focus-width, 3px) solid var(--mat-exp-menu-focus-color, var(--mat-sys-secondary));outline-offset:var(--mat-exp-menu-focus-offset, -3px)}@supports selector(::-webkit-scrollbar){.mat-exp-autocomplete-panel[role=listbox]{scrollbar-color:auto;scrollbar-width:auto}}.mat-exp-autocomplete-panel::-webkit-scrollbar{width:var(--mat-exp-menu-scrollbar-width, 12px)}.mat-exp-autocomplete-panel::-webkit-scrollbar-button{display:none}.mat-exp-autocomplete-panel::-webkit-scrollbar-track{margin-block:4px;background:var(--city-surface)}.mat-exp-autocomplete-panel::-webkit-scrollbar-thumb{border:3px solid var(--city-surface);border-radius:12px;background:var(--mat-exp-menu-scrollbar-color, var(--mat-sys-outline))}.mat-exp-autocomplete-row{display:flex;align-items:center;justify-content:space-between;gap:12px;inline-size:100%}.mat-exp-autocomplete-check{inline-size:20px;block-size:20px;font-size:20px;line-height:20px;flex-shrink:0}@media(prefers-reduced-motion:reduce){.mat-exp-autocomplete-panel[role=listbox]{animation:none}}@media(forced-colors:active){.mat-exp-autocomplete-panel .mat-exp-autocomplete-option.mat-exp-autocomplete-active{outline-color:Highlight}.mat-exp-autocomplete-panel .mat-exp-autocomplete-option.mat-exp-autocomplete-selected{color:SelectedItemText}.mat-exp-autocomplete-panel .mat-exp-autocomplete-option.mat-exp-autocomplete-selected:before{background:SelectedItem;forced-color-adjust:none}}mat-exp-select{display:block}mat-exp-select.mat-exp-select-compact{display:inline-block;inline-size:fit-content;max-inline-size:100%}.mat-exp-select-field{inline-size:min(100%,22rem)}.mat-exp-select-compact .mat-exp-select-field{inline-size:auto;min-inline-size:80px}.mat-exp-select-label{display:block;margin-block-end:4px;color:var(--mat-sys-on-surface-variant);font:var(--mat-sys-body-small)}.mat-exp-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;min-block-size:48px;box-sizing:border-box;padding:12px 16px;border:1px solid var(--mat-sys-outline);border-radius:4px;cursor:pointer;background:var(--mat-sys-surface);color:var(--mat-sys-on-surface);font:var(--mat-sys-body-large)}.mat-exp-select-trigger:focus-visible{outline:3px solid var(--mat-sys-secondary);outline-offset:2px}.mat-exp-select-trigger[aria-disabled=true]{opacity:.38;cursor:default}.mat-exp-select-trigger mat-icon{flex-shrink:0}.mat-exp-select-compact .mat-exp-select-trigger{min-block-size:40px;padding:7px 8px 7px 12px;gap:8px;font:var(--mat-sys-body-medium)}.mat-exp-select-compact .mat-exp-select-value{white-space:nowrap}.mat-exp-select-value{overflow-wrap:anywhere}.mat-exp-select-placeholder{color:var(--mat-sys-on-surface-variant)}.mat-exp-select-popup{inline-size:100%;overflow:hidden;border-radius:var(--mat-exp-menu-container-shape, 16px);box-shadow:var(--mat-exp-menu-elevation, var(--mat-sys-level2))}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox]{box-sizing:border-box;inline-size:100%;max-block-size:min(18rem,100dvh - 16px);background:var(--city-surface);box-shadow:none;clip-path:none}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option{box-sizing:border-box;display:flex;align-items:center;cursor:pointer;color:var(--city-label);font-family:var(--mat-exp-menu-label-font, var(--mat-sys-label-large-font, sans-serif));font-size:var(--mat-exp-menu-label-size, 14px);font-weight:var(--mat-exp-menu-label-weight, 500);line-height:var(--mat-exp-menu-label-line-height, 20px);letter-spacing:var(--mat-exp-menu-label-tracking, .1px)}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option.mat-exp-autocomplete-selected{color:var(--city-on-selected)}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option[aria-disabled=true]{cursor:default}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option[aria-disabled=true] .mat-exp-autocomplete-row{opacity:.38}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option[aria-disabled=true]:not(:has(.mat-exp-autocomplete-row)){opacity:.38}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option[aria-disabled=true].mat-exp-autocomplete-selected:before{opacity:.38}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option.mat-exp-select-pressed:not([aria-disabled=true]):after{background:color-mix(in srgb,var(--city-row-state) 10%,transparent)}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-panel-vibrant .mat-exp-autocomplete-option[aria-disabled=true].mat-exp-autocomplete-selected:before{opacity:1}\n"], dependencies: [{ kind: "directive", type: Combobox, selector: "[ngCombobox]", inputs: ["disabled", "readonly", "softDisabled", "alwaysExpanded", "tabindex", "expanded", "value", "inlineSuggestion"], outputs: ["expandedChange", "valueChange"], exportAs: ["ngCombobox"] }, { kind: "directive", type: ComboboxPopup, selector: "ng-template[ngComboboxPopup]", inputs: ["combobox", "popupType"], exportAs: ["ngComboboxPopup"] }, { kind: "directive", type: ComboboxWidget, selector: "[ngComboboxWidget]", inputs: ["activeDescendant"], exportAs: ["ngComboboxWidget"] }, { kind: "directive", type: Listbox, selector: "[ngListbox]", inputs: ["id", "orientation", "multi", "wrap", "softDisabled", "focusMode", "selectionMode", "typeaheadDelay", "disabled", "readonly", "tabindex", "value"], outputs: ["valueChange"], exportAs: ["ngListbox"] }, { kind: "directive", type: Option, selector: "[ngOption]", inputs: ["id", "value", "disabled", "label"], exportAs: ["ngOption"] }, { kind: "directive", type: Dir, selector: "[dir]", inputs: ["dir"], outputs: ["dirChange"], exportAs: ["dir"] }, { 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: CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
8641
8653
|
}
|
|
8642
8654
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: MatExpSelect, decorators: [{
|
|
8643
8655
|
type: Component,
|
|
@@ -8655,16 +8667,183 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImpor
|
|
|
8655
8667
|
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
8656
8668
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => MatExpSelect), multi: true },
|
|
8657
8669
|
], host: {
|
|
8670
|
+
'[class.mat-exp-select-compact]': 'compact()',
|
|
8658
8671
|
'(document:pointerdown)': '_outside($event)',
|
|
8659
8672
|
'(document:pointerup)': '_release()',
|
|
8660
8673
|
'(document:pointercancel)': '_release()',
|
|
8661
|
-
}, template: "<div\n class=\"mat-exp-select-field\"\n [dir]=\"rtl() ? 'rtl' : 'ltr'\"\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n>\n <span class=\"mat-exp-select-label\"\n >{{ label() }}\n @if (required()) {\n <span aria-hidden=\"true\"> *</span>\n }\n </span>\n <div\n #trigger\n ngCombobox\n #combobox=\"ngCombobox\"\n class=\"mat-exp-select-trigger\"\n [disabled]=\"_disabled()\"\n [softDisabled]=\"false\"\n [expanded]=\"_expanded()\"\n (expandedChange)=\"_expand($event)\"\n [preserveContent]=\"true\"\n [attr.aria-label]=\"label()\"\n [attr.aria-autocomplete]=\"'none'\"\n [attr.aria-required]=\"required()\"\n (keydown)=\"_key($event)\"\n (focusout)=\"_blur()\"\n >\n <span class=\"mat-exp-select-value\" [class.mat-exp-select-placeholder]=\"!_display()\">{{\n _display() || placeholder()\n }}</span>\n <mat-icon aria-hidden=\"true\">{{ _expanded() ? 'arrow_drop_up' : 'arrow_drop_down' }}</mat-icon>\n </div>\n <ng-template ngComboboxPopup [combobox]=\"combobox\">\n <ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"_present()\"\n [cdkConnectedOverlayPositions]=\"_positions\"\n [cdkConnectedOverlayWidth]=\"_popupWidth()\"\n [cdkConnectedOverlayViewportMargin]=\"8\"\n [cdkConnectedOverlayPush]=\"true\"\n (positionChange)=\"_origin($event.connectionPair.overlayY === 'bottom')\"\n >\n <div #surface class=\"mat-exp-select-popup\">\n <div\n #panel\n ngComboboxWidget\n ngListbox\n #listbox=\"ngListbox\"\n [activeDescendant]=\"listbox.activeDescendant()\"\n [value]=\"_indices()\"\n (valueChange)=\"_listValueChanged($event)\"\n [multi]=\"multiple()\"\n [softDisabled]=\"false\"\n focusMode=\"activedescendant\"\n selectionMode=\"explicit\"\n [class]=\"_classes()\"\n [attr.aria-label]=\"label() + ' options'\"\n [attr.aria-hidden]=\"!_expanded() ? 'true' : null\"\n [attr.inert]=\"!_expanded() ? '' : null\"\n [dir]=\"rtl() ? 'rtl' : 'ltr'\"\n >\n @for (option of _renderedOptions(); track $index; let index = $index) {\n <div\n ngOption\n matRipple\n #item=\"ngOption\"\n [value]=\"index\"\n [label]=\"option.label\"\n [disabled]=\"!!option.disabled\"\n [attr.data-option-index]=\"index\"\n [matRippleDisabled]=\"!motion() || !!option.disabled\"\n class=\"mat-exp-autocomplete-option\"\n [class.mat-exp-autocomplete-selected]=\"_indices().includes(index)\"\n [class.mat-exp-autocomplete-active]=\"item.active()\"\n [class.mat-exp-select-pressed]=\"_pressed() === index\"\n (pointerdown)=\"_press(index)\"\n (mousedown)=\"$event.preventDefault()\"\n >\n <span class=\"mat-exp-autocomplete-row\"\n ><span>{{ option.label }}</span>\n <mat-icon class=\"mat-exp-autocomplete-check\" aria-hidden=\"true\">{{\n _indices().includes(index) ? 'check' : ''\n }}</mat-icon>\n </span>\n </div>\n } @empty {\n <div\n ngOption\n [value]=\"-1\"\n [label]=\"emptyLabel()\"\n disabled\n class=\"mat-exp-autocomplete-option\"\n >\n {{ emptyLabel() }}\n </div>\n }\n </div>\n </div>\n </ng-template>\n </ng-template>\n</div>\n", styles: [".mat-exp-autocomplete-panel[role=listbox]{--city-surface: var(--mat-exp-menu-container-color, var(--mat-sys-surface-container-low));--city-label: var(--mat-exp-menu-label-color, var(--mat-sys-on-surface));--city-selected: var( --mat-exp-menu-selected-container-color, var(--mat-sys-tertiary-container) );--city-on-selected: var( --mat-exp-menu-selected-content-color, var(--mat-sys-on-tertiary-container) );--city-state: var(--mat-exp-menu-state-layer-color, var(--mat-sys-on-surface));--city-target: 48px;--mat-autocomplete-container-shape: var(--mat-exp-menu-container-shape, 16px);--mat-autocomplete-background-color: var(--city-surface);--mat-autocomplete-container-elevation-shadow: var(--mat-exp-menu-elevation, var(--mat-sys-level2));--mat-option-label-text-color: var(--city-label);--mat-option-selected-state-label-text-color: var(--city-on-selected);--mat-option-selected-state-layer-color: transparent;--mat-option-hover-state-layer-color: transparent;--mat-option-focus-state-layer-color: transparent;--mat-option-label-text-font: var(--mat-exp-menu-label-font, var(--mat-sys-label-large-font, sans-serif));--mat-option-label-text-size: var(--mat-exp-menu-label-size, 14px);--mat-option-label-text-weight: var(--mat-exp-menu-label-weight, 500);--mat-option-label-text-line-height: var(--mat-exp-menu-label-line-height, 20px);--mat-option-label-text-tracking: var(--mat-exp-menu-label-tracking, .1px);border-radius:var(--mat-exp-menu-container-shape, 16px)!important;max-block-size:18rem;padding:2px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:auto;scrollbar-width:auto;scrollbar-color:var(--mat-exp-menu-scrollbar-color, var(--mat-sys-outline)) var(--city-surface);clip-path:inset(0 round var(--mat-exp-menu-container-shape, 16px))}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-panel-vibrant{--city-surface: var(--mat-exp-menu-container-color, var(--mat-sys-tertiary-container));--city-label: var(--mat-exp-menu-label-color, var(--mat-sys-on-tertiary-container));--city-selected: var(--mat-exp-menu-selected-container-color, var(--mat-sys-tertiary));--city-on-selected: var(--mat-exp-menu-selected-content-color, var(--mat-sys-on-tertiary));--city-state: var(--mat-exp-menu-state-layer-color, var(--mat-sys-on-tertiary-container))}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-density-1{--city-target: 44px}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-density-2{--city-target: 40px}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-density-3{--city-target: 36px}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-no-motion{animation:none}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option{--city-row-shape: var(--mat-exp-menu-item-shape, 4px);--city-row-state: var(--city-state);position:relative;isolation:isolate;min-block-size:var(--city-target);padding-inline:16px;border-radius:var(--city-row-shape);background:transparent}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:first-child{--city-row-shape: var(--mat-exp-menu-item-outer-shape, 12px) var(--mat-exp-menu-item-outer-shape, 12px) var(--mat-exp-menu-item-shape, 4px) var(--mat-exp-menu-item-shape, 4px)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:last-child{--city-row-shape: var(--mat-exp-menu-item-shape, 4px) var(--mat-exp-menu-item-shape, 4px) var(--mat-exp-menu-item-outer-shape, 12px) var(--mat-exp-menu-item-outer-shape, 12px)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:only-child{--city-row-shape: var(--mat-exp-menu-item-outer-shape, 12px)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:before,.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:after{content:\"\";position:absolute;inset:2px 0;z-index:-1;border-radius:var(--city-row-shape);pointer-events:none}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:not([aria-disabled=true]):hover:after{background:color-mix(in srgb,var(--city-row-state) 8%,transparent)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:not([aria-disabled=true]).mat-exp-autocomplete-active:after,.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:not([aria-disabled=true]):active:after{background:color-mix(in srgb,var(--city-row-state) 10%,transparent)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option.mat-exp-autocomplete-selected{--city-row-shape: var(--mat-exp-menu-selected-shape, 12px);--city-row-state: var(--city-on-selected);color:var(--city-on-selected)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option.mat-exp-autocomplete-selected:before{background:var(--city-selected)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:not([aria-disabled=true]).mat-exp-autocomplete-active{outline:var(--mat-exp-menu-focus-width, 3px) solid var(--mat-exp-menu-focus-color, var(--mat-sys-secondary));outline-offset:var(--mat-exp-menu-focus-offset, -3px)}@supports selector(::-webkit-scrollbar){.mat-exp-autocomplete-panel[role=listbox]{scrollbar-color:auto;scrollbar-width:auto}}.mat-exp-autocomplete-panel::-webkit-scrollbar{width:var(--mat-exp-menu-scrollbar-width, 12px)}.mat-exp-autocomplete-panel::-webkit-scrollbar-button{display:none}.mat-exp-autocomplete-panel::-webkit-scrollbar-track{margin-block:4px;background:var(--city-surface)}.mat-exp-autocomplete-panel::-webkit-scrollbar-thumb{border:3px solid var(--city-surface);border-radius:12px;background:var(--mat-exp-menu-scrollbar-color, var(--mat-sys-outline))}.mat-exp-autocomplete-row{display:flex;align-items:center;justify-content:space-between;gap:12px;inline-size:100%}.mat-exp-autocomplete-check{inline-size:20px;block-size:20px;font-size:20px;line-height:20px;flex-shrink:0}@media(prefers-reduced-motion:reduce){.mat-exp-autocomplete-panel[role=listbox]{animation:none}}@media(forced-colors:active){.mat-exp-autocomplete-panel .mat-exp-autocomplete-option.mat-exp-autocomplete-active{outline-color:Highlight}.mat-exp-autocomplete-panel .mat-exp-autocomplete-option.mat-exp-autocomplete-selected{color:SelectedItemText}.mat-exp-autocomplete-panel .mat-exp-autocomplete-option.mat-exp-autocomplete-selected:before{background:SelectedItem;forced-color-adjust:none}}mat-exp-select{display:block}.mat-exp-select-field{inline-size:min(100%,22rem)}.mat-exp-select-label{display:block;margin-block-end:4px;color:var(--mat-sys-on-surface-variant);font:var(--mat-sys-body-small)}.mat-exp-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;min-block-size:48px;box-sizing:border-box;padding:12px 16px;border:1px solid var(--mat-sys-outline);border-radius:4px;cursor:pointer;background:var(--mat-sys-surface);color:var(--mat-sys-on-surface);font:var(--mat-sys-body-large)}.mat-exp-select-trigger:focus-visible{outline:3px solid var(--mat-sys-secondary);outline-offset:2px}.mat-exp-select-trigger[aria-disabled=true]{opacity:.38;cursor:default}.mat-exp-select-trigger mat-icon{flex-shrink:0}.mat-exp-select-value{overflow-wrap:anywhere}.mat-exp-select-placeholder{color:var(--mat-sys-on-surface-variant)}.mat-exp-select-popup{inline-size:100%;overflow:hidden;border-radius:var(--mat-exp-menu-container-shape, 16px);box-shadow:var(--mat-exp-menu-elevation, var(--mat-sys-level2))}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox]{box-sizing:border-box;inline-size:100%;max-block-size:min(18rem,100dvh - 16px);background:var(--city-surface);box-shadow:none;clip-path:none}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option{box-sizing:border-box;display:flex;align-items:center;cursor:pointer;color:var(--city-label);font-family:var(--mat-exp-menu-label-font, var(--mat-sys-label-large-font, sans-serif));font-size:var(--mat-exp-menu-label-size, 14px);font-weight:var(--mat-exp-menu-label-weight, 500);line-height:var(--mat-exp-menu-label-line-height, 20px);letter-spacing:var(--mat-exp-menu-label-tracking, .1px)}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option.mat-exp-autocomplete-selected{color:var(--city-on-selected)}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option[aria-disabled=true]{cursor:default}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option[aria-disabled=true] .mat-exp-autocomplete-row{opacity:.38}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option[aria-disabled=true]:not(:has(.mat-exp-autocomplete-row)){opacity:.38}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option[aria-disabled=true].mat-exp-autocomplete-selected:before{opacity:.38}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option.mat-exp-select-pressed:not([aria-disabled=true]):after{background:color-mix(in srgb,var(--city-row-state) 10%,transparent)}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-panel-vibrant .mat-exp-autocomplete-option[aria-disabled=true].mat-exp-autocomplete-selected:before{opacity:1}\n"] }]
|
|
8662
|
-
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], emptyLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyLabel", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], density: [{ type: i0.Input, args: [{ isSignal: true, alias: "density", required: false }] }], motion: [{ type: i0.Input, args: [{ isSignal: true, alias: "motion", required: false }] }], popupMotion: [{ type: i0.Input, args: [{ isSignal: true, alias: "popupMotion", required: false }] }], rtl: [{ type: i0.Input, args: [{ isSignal: true, alias: "rtl", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], compareWith: [{ type: i0.Input, args: [{ isSignal: true, alias: "compareWith", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }], selectionChange: [{ type: i0.Output, args: ["selectionChange"] }], opened: [{ type: i0.Output, args: ["opened"] }], closed: [{ type: i0.Output, args: ["closed"] }], value: [{
|
|
8674
|
+
}, template: "<div\n class=\"mat-exp-select-field\"\n [dir]=\"rtl() ? 'rtl' : 'ltr'\"\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n>\n @if (!ariaLabelledby()) {\n <span class=\"mat-exp-select-label\"\n >{{ label() }}\n @if (required()) {\n <span aria-hidden=\"true\"> *</span>\n }\n </span>\n }\n <div\n #trigger\n ngCombobox\n #combobox=\"ngCombobox\"\n class=\"mat-exp-select-trigger\"\n [disabled]=\"_disabled()\"\n [softDisabled]=\"false\"\n [expanded]=\"_expanded()\"\n (expandedChange)=\"_expand($event)\"\n [preserveContent]=\"true\"\n [attr.aria-label]=\"ariaLabelledby() ? null : label()\"\n [attr.aria-labelledby]=\"ariaLabelledby()\"\n [attr.aria-autocomplete]=\"'none'\"\n [attr.aria-required]=\"required()\"\n (keydown)=\"_key($event)\"\n (focusout)=\"_blur()\"\n >\n <span class=\"mat-exp-select-value\" [class.mat-exp-select-placeholder]=\"!_display()\">{{\n _display() || placeholder()\n }}</span>\n <mat-icon aria-hidden=\"true\">{{ _expanded() ? 'arrow_drop_up' : 'arrow_drop_down' }}</mat-icon>\n </div>\n <ng-template ngComboboxPopup [combobox]=\"combobox\">\n <ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"_present()\"\n [cdkConnectedOverlayPositions]=\"_positions\"\n [cdkConnectedOverlayWidth]=\"_overlayWidth()\"\n [cdkConnectedOverlayViewportMargin]=\"8\"\n [cdkConnectedOverlayPush]=\"true\"\n (positionChange)=\"_origin($event.connectionPair.overlayY === 'bottom')\"\n >\n <div #surface class=\"mat-exp-select-popup\">\n <div\n #panel\n ngComboboxWidget\n ngListbox\n #listbox=\"ngListbox\"\n [activeDescendant]=\"listbox.activeDescendant()\"\n [value]=\"_indices()\"\n (valueChange)=\"_listValueChanged($event)\"\n [multi]=\"multiple()\"\n [softDisabled]=\"false\"\n focusMode=\"activedescendant\"\n selectionMode=\"explicit\"\n [class]=\"_classes()\"\n [attr.aria-label]=\"ariaLabelledby() ? null : label() + ' options'\"\n [attr.aria-labelledby]=\"ariaLabelledby()\"\n [attr.aria-hidden]=\"!_expanded() ? 'true' : null\"\n [attr.inert]=\"!_expanded() ? '' : null\"\n [dir]=\"rtl() ? 'rtl' : 'ltr'\"\n >\n @for (option of _renderedOptions(); track $index; let index = $index) {\n <div\n ngOption\n matRipple\n #item=\"ngOption\"\n [value]=\"index\"\n [label]=\"option.label\"\n [disabled]=\"!!option.disabled\"\n [attr.data-option-index]=\"index\"\n [matRippleDisabled]=\"!motion() || !!option.disabled\"\n class=\"mat-exp-autocomplete-option\"\n [class.mat-exp-autocomplete-selected]=\"_indices().includes(index)\"\n [class.mat-exp-autocomplete-active]=\"item.active()\"\n [class.mat-exp-select-pressed]=\"_pressed() === index\"\n (pointerdown)=\"_press(index)\"\n (mousedown)=\"$event.preventDefault()\"\n >\n <span class=\"mat-exp-autocomplete-row\"\n ><span>{{ option.label }}</span>\n <mat-icon class=\"mat-exp-autocomplete-check\" aria-hidden=\"true\">{{\n _indices().includes(index) ? 'check' : ''\n }}</mat-icon>\n </span>\n </div>\n } @empty {\n <div\n ngOption\n [value]=\"-1\"\n [label]=\"emptyLabel()\"\n disabled\n class=\"mat-exp-autocomplete-option\"\n >\n {{ emptyLabel() }}\n </div>\n }\n </div>\n </div>\n </ng-template>\n </ng-template>\n</div>\n", styles: [".mat-exp-autocomplete-panel[role=listbox]{--city-surface: var(--mat-exp-menu-container-color, var(--mat-sys-surface-container-low));--city-label: var(--mat-exp-menu-label-color, var(--mat-sys-on-surface));--city-selected: var( --mat-exp-menu-selected-container-color, var(--mat-sys-tertiary-container) );--city-on-selected: var( --mat-exp-menu-selected-content-color, var(--mat-sys-on-tertiary-container) );--city-state: var(--mat-exp-menu-state-layer-color, var(--mat-sys-on-surface));--city-target: 48px;--mat-autocomplete-container-shape: var(--mat-exp-menu-container-shape, 16px);--mat-autocomplete-background-color: var(--city-surface);--mat-autocomplete-container-elevation-shadow: var(--mat-exp-menu-elevation, var(--mat-sys-level2));--mat-option-label-text-color: var(--city-label);--mat-option-selected-state-label-text-color: var(--city-on-selected);--mat-option-selected-state-layer-color: transparent;--mat-option-hover-state-layer-color: transparent;--mat-option-focus-state-layer-color: transparent;--mat-option-label-text-font: var(--mat-exp-menu-label-font, var(--mat-sys-label-large-font, sans-serif));--mat-option-label-text-size: var(--mat-exp-menu-label-size, 14px);--mat-option-label-text-weight: var(--mat-exp-menu-label-weight, 500);--mat-option-label-text-line-height: var(--mat-exp-menu-label-line-height, 20px);--mat-option-label-text-tracking: var(--mat-exp-menu-label-tracking, .1px);border-radius:var(--mat-exp-menu-container-shape, 16px)!important;max-block-size:18rem;padding:2px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:auto;scrollbar-width:auto;scrollbar-color:var(--mat-exp-menu-scrollbar-color, var(--mat-sys-outline)) var(--city-surface);clip-path:inset(0 round var(--mat-exp-menu-container-shape, 16px))}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-panel-vibrant{--city-surface: var(--mat-exp-menu-container-color, var(--mat-sys-tertiary-container));--city-label: var(--mat-exp-menu-label-color, var(--mat-sys-on-tertiary-container));--city-selected: var(--mat-exp-menu-selected-container-color, var(--mat-sys-tertiary));--city-on-selected: var(--mat-exp-menu-selected-content-color, var(--mat-sys-on-tertiary));--city-state: var(--mat-exp-menu-state-layer-color, var(--mat-sys-on-tertiary-container))}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-density-1{--city-target: 44px}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-density-2{--city-target: 40px}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-density-3{--city-target: 36px}.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-no-motion{animation:none}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option{--city-row-shape: var(--mat-exp-menu-item-shape, 4px);--city-row-state: var(--city-state);position:relative;isolation:isolate;min-block-size:var(--city-target);padding-inline:16px;border-radius:var(--city-row-shape);background:transparent}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:first-child{--city-row-shape: var(--mat-exp-menu-item-outer-shape, 12px) var(--mat-exp-menu-item-outer-shape, 12px) var(--mat-exp-menu-item-shape, 4px) var(--mat-exp-menu-item-shape, 4px)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:last-child{--city-row-shape: var(--mat-exp-menu-item-shape, 4px) var(--mat-exp-menu-item-shape, 4px) var(--mat-exp-menu-item-outer-shape, 12px) var(--mat-exp-menu-item-outer-shape, 12px)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:only-child{--city-row-shape: var(--mat-exp-menu-item-outer-shape, 12px)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:before,.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:after{content:\"\";position:absolute;inset:2px 0;z-index:-1;border-radius:var(--city-row-shape);pointer-events:none}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:not([aria-disabled=true]):hover:after{background:color-mix(in srgb,var(--city-row-state) 8%,transparent)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:not([aria-disabled=true]).mat-exp-autocomplete-active:after,.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:not([aria-disabled=true]):active:after{background:color-mix(in srgb,var(--city-row-state) 10%,transparent)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option.mat-exp-autocomplete-selected{--city-row-shape: var(--mat-exp-menu-selected-shape, 12px);--city-row-state: var(--city-on-selected);color:var(--city-on-selected)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option.mat-exp-autocomplete-selected:before{background:var(--city-selected)}.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option:not([aria-disabled=true]).mat-exp-autocomplete-active{outline:var(--mat-exp-menu-focus-width, 3px) solid var(--mat-exp-menu-focus-color, var(--mat-sys-secondary));outline-offset:var(--mat-exp-menu-focus-offset, -3px)}@supports selector(::-webkit-scrollbar){.mat-exp-autocomplete-panel[role=listbox]{scrollbar-color:auto;scrollbar-width:auto}}.mat-exp-autocomplete-panel::-webkit-scrollbar{width:var(--mat-exp-menu-scrollbar-width, 12px)}.mat-exp-autocomplete-panel::-webkit-scrollbar-button{display:none}.mat-exp-autocomplete-panel::-webkit-scrollbar-track{margin-block:4px;background:var(--city-surface)}.mat-exp-autocomplete-panel::-webkit-scrollbar-thumb{border:3px solid var(--city-surface);border-radius:12px;background:var(--mat-exp-menu-scrollbar-color, var(--mat-sys-outline))}.mat-exp-autocomplete-row{display:flex;align-items:center;justify-content:space-between;gap:12px;inline-size:100%}.mat-exp-autocomplete-check{inline-size:20px;block-size:20px;font-size:20px;line-height:20px;flex-shrink:0}@media(prefers-reduced-motion:reduce){.mat-exp-autocomplete-panel[role=listbox]{animation:none}}@media(forced-colors:active){.mat-exp-autocomplete-panel .mat-exp-autocomplete-option.mat-exp-autocomplete-active{outline-color:Highlight}.mat-exp-autocomplete-panel .mat-exp-autocomplete-option.mat-exp-autocomplete-selected{color:SelectedItemText}.mat-exp-autocomplete-panel .mat-exp-autocomplete-option.mat-exp-autocomplete-selected:before{background:SelectedItem;forced-color-adjust:none}}mat-exp-select{display:block}mat-exp-select.mat-exp-select-compact{display:inline-block;inline-size:fit-content;max-inline-size:100%}.mat-exp-select-field{inline-size:min(100%,22rem)}.mat-exp-select-compact .mat-exp-select-field{inline-size:auto;min-inline-size:80px}.mat-exp-select-label{display:block;margin-block-end:4px;color:var(--mat-sys-on-surface-variant);font:var(--mat-sys-body-small)}.mat-exp-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;min-block-size:48px;box-sizing:border-box;padding:12px 16px;border:1px solid var(--mat-sys-outline);border-radius:4px;cursor:pointer;background:var(--mat-sys-surface);color:var(--mat-sys-on-surface);font:var(--mat-sys-body-large)}.mat-exp-select-trigger:focus-visible{outline:3px solid var(--mat-sys-secondary);outline-offset:2px}.mat-exp-select-trigger[aria-disabled=true]{opacity:.38;cursor:default}.mat-exp-select-trigger mat-icon{flex-shrink:0}.mat-exp-select-compact .mat-exp-select-trigger{min-block-size:40px;padding:7px 8px 7px 12px;gap:8px;font:var(--mat-sys-body-medium)}.mat-exp-select-compact .mat-exp-select-value{white-space:nowrap}.mat-exp-select-value{overflow-wrap:anywhere}.mat-exp-select-placeholder{color:var(--mat-sys-on-surface-variant)}.mat-exp-select-popup{inline-size:100%;overflow:hidden;border-radius:var(--mat-exp-menu-container-shape, 16px);box-shadow:var(--mat-exp-menu-elevation, var(--mat-sys-level2))}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox]{box-sizing:border-box;inline-size:100%;max-block-size:min(18rem,100dvh - 16px);background:var(--city-surface);box-shadow:none;clip-path:none}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option{box-sizing:border-box;display:flex;align-items:center;cursor:pointer;color:var(--city-label);font-family:var(--mat-exp-menu-label-font, var(--mat-sys-label-large-font, sans-serif));font-size:var(--mat-exp-menu-label-size, 14px);font-weight:var(--mat-exp-menu-label-weight, 500);line-height:var(--mat-exp-menu-label-line-height, 20px);letter-spacing:var(--mat-exp-menu-label-tracking, .1px)}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option.mat-exp-autocomplete-selected{color:var(--city-on-selected)}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option[aria-disabled=true]{cursor:default}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option[aria-disabled=true] .mat-exp-autocomplete-row{opacity:.38}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option[aria-disabled=true]:not(:has(.mat-exp-autocomplete-row)){opacity:.38}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option[aria-disabled=true].mat-exp-autocomplete-selected:before{opacity:.38}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox] .mat-exp-autocomplete-option.mat-exp-select-pressed:not([aria-disabled=true]):after{background:color-mix(in srgb,var(--city-row-state) 10%,transparent)}.mat-exp-select-surface.mat-exp-autocomplete-panel[role=listbox].mat-exp-autocomplete-panel-vibrant .mat-exp-autocomplete-option[aria-disabled=true].mat-exp-autocomplete-selected:before{opacity:1}\n"] }]
|
|
8675
|
+
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], compact: [{ type: i0.Input, args: [{ isSignal: true, alias: "compact", required: false }] }], ariaLabelledby: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledby", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], emptyLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyLabel", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], density: [{ type: i0.Input, args: [{ isSignal: true, alias: "density", required: false }] }], motion: [{ type: i0.Input, args: [{ isSignal: true, alias: "motion", required: false }] }], popupMotion: [{ type: i0.Input, args: [{ isSignal: true, alias: "popupMotion", required: false }] }], rtl: [{ type: i0.Input, args: [{ isSignal: true, alias: "rtl", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], compareWith: [{ type: i0.Input, args: [{ isSignal: true, alias: "compareWith", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }], selectionChange: [{ type: i0.Output, args: ["selectionChange"] }], opened: [{ type: i0.Output, args: ["opened"] }], closed: [{ type: i0.Output, args: ["closed"] }], value: [{
|
|
8663
8676
|
type: Input
|
|
8664
8677
|
}], _trigger: [{ type: i0.ViewChild, args: ['trigger', { isSignal: true }] }], _originElement: [{ type: i0.ViewChild, args: ['origin', { ...{
|
|
8665
8678
|
read: (ElementRef),
|
|
8666
8679
|
}, isSignal: true }] }], _panel: [{ type: i0.ViewChild, args: ['panel', { isSignal: true }] }], _surface: [{ type: i0.ViewChild, args: ['surface', { isSignal: true }] }], _listbox: [{ type: i0.ViewChild, args: ['listbox', { isSignal: true }] }], _overlay: [{ type: i0.ViewChild, args: [i0.forwardRef(() => CdkConnectedOverlay), { isSignal: true }] }] } });
|
|
8667
8680
|
|
|
8681
|
+
/**
|
|
8682
|
+
* Wording for `MatExpPaginator`. Provide your own instance (globally or on a component) to
|
|
8683
|
+
* translate or reword M3E paginators; providing only Material's `MatPaginatorIntl` does not
|
|
8684
|
+
* affect them. Numbers are formatted for the app's `LOCALE_ID`.
|
|
8685
|
+
*/
|
|
8686
|
+
class MatExpPaginatorIntl extends MatPaginatorIntl {
|
|
8687
|
+
/** @internal */
|
|
8688
|
+
_locale = inject(LOCALE_ID);
|
|
8689
|
+
/**
|
|
8690
|
+
* Text beside the page-size field, which also names it.
|
|
8691
|
+
* @default 'Rows per page'
|
|
8692
|
+
*/
|
|
8693
|
+
itemsPerPageLabel = 'Rows per page';
|
|
8694
|
+
/**
|
|
8695
|
+
* Accessible name for a paginator without its own `aria-label`.
|
|
8696
|
+
* @default 'Pagination'
|
|
8697
|
+
*/
|
|
8698
|
+
paginationLabel = 'Pagination';
|
|
8699
|
+
/** Visible range, such as `1–10 of 248` (closed en dash, locale-grouped numbers). */
|
|
8700
|
+
getRangeLabel = (page, pageSize, length) => this._range(page, pageSize, length, '–');
|
|
8701
|
+
/** Range as announced by screen readers, such as `1 to 10 of 248`. */
|
|
8702
|
+
getRangeAnnouncement(page, pageSize, length) {
|
|
8703
|
+
return this._range(page, pageSize, length, ' to ');
|
|
8704
|
+
}
|
|
8705
|
+
/** Second line shown when the list is filtered, such as `filtered from 1,204`. */
|
|
8706
|
+
getFilteredLabel(unfilteredLength) {
|
|
8707
|
+
return `filtered from ${this._format(unfilteredLength)}`;
|
|
8708
|
+
}
|
|
8709
|
+
/**
|
|
8710
|
+
* Material's default range maths with M3E punctuation and number formatting.
|
|
8711
|
+
* @internal
|
|
8712
|
+
*/
|
|
8713
|
+
_range(page, pageSize, length, separator) {
|
|
8714
|
+
if (length == 0 || pageSize == 0)
|
|
8715
|
+
return `0 of ${this._format(length)}`;
|
|
8716
|
+
length = Math.max(length, 0);
|
|
8717
|
+
const startIndex = page * pageSize;
|
|
8718
|
+
const endIndex = startIndex < length ? Math.min(startIndex + pageSize, length) : startIndex + pageSize;
|
|
8719
|
+
return `${this._format(startIndex + 1)}${separator}${this._format(endIndex)} of ${this._format(length)}`;
|
|
8720
|
+
}
|
|
8721
|
+
/** @internal */
|
|
8722
|
+
_format(value) {
|
|
8723
|
+
return formatNumber(value, this._locale, '1.0-0');
|
|
8724
|
+
}
|
|
8725
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: MatExpPaginatorIntl, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
8726
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: MatExpPaginatorIntl, providedIn: 'root' });
|
|
8727
|
+
}
|
|
8728
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: MatExpPaginatorIntl, decorators: [{
|
|
8729
|
+
type: Injectable,
|
|
8730
|
+
args: [{ providedIn: 'root' }]
|
|
8731
|
+
}] });
|
|
8732
|
+
|
|
8733
|
+
/**
|
|
8734
|
+
* Material 3 Expressive paginator. A drop-in replacement for `mat-paginator`: it extends
|
|
8735
|
+
* `MatPaginator`, so `MatTableDataSource`, `@ViewChild(MatPaginator)`, the inputs and the `page`
|
|
8736
|
+
* event work unchanged. `color` and `selectConfig` are inherited but have no effect. Wording comes
|
|
8737
|
+
* from `MatExpPaginatorIntl`, not Material's `MatPaginatorIntl`.
|
|
8738
|
+
*/
|
|
8739
|
+
class MatExpPaginator extends MatPaginator {
|
|
8740
|
+
/**
|
|
8741
|
+
* Total number of items before filtering. When set and different from `length`, a
|
|
8742
|
+
* "filtered from N" line is shown under the range and announced with it.
|
|
8743
|
+
* @default null
|
|
8744
|
+
*/
|
|
8745
|
+
unfilteredLength = input(null, { ...(ngDevMode ? { debugName: "unfilteredLength" } : /* istanbul ignore next */ {}), transform: (value) => (value == null || value === '' ? null : numberAttribute(value)) });
|
|
8746
|
+
/**
|
|
8747
|
+
* Accessible name of the paginator group. Name each paginator after its table, such as
|
|
8748
|
+
* "Studies pagination"; without one, `MatExpPaginatorIntl.paginationLabel` is used.
|
|
8749
|
+
* @default null
|
|
8750
|
+
*/
|
|
8751
|
+
ariaLabel = input(null, { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
|
|
8752
|
+
/**
|
|
8753
|
+
* The same instance as the inherited `_intl`: this component's providers alias
|
|
8754
|
+
* `MatPaginatorIntl` to `MatExpPaginatorIntl`, typed here for the M3E-only members.
|
|
8755
|
+
* @internal
|
|
8756
|
+
*/
|
|
8757
|
+
_labels = inject(MatExpPaginatorIntl);
|
|
8758
|
+
/** @internal */
|
|
8759
|
+
_locale = inject(LOCALE_ID);
|
|
8760
|
+
/** @internal */
|
|
8761
|
+
_filteredFrom() {
|
|
8762
|
+
const unfiltered = this.unfilteredLength();
|
|
8763
|
+
return unfiltered === null || Number.isNaN(unfiltered) || unfiltered === this.length
|
|
8764
|
+
? null
|
|
8765
|
+
: unfiltered;
|
|
8766
|
+
}
|
|
8767
|
+
/** @internal */
|
|
8768
|
+
_announcement() {
|
|
8769
|
+
const range = this._labels.getRangeAnnouncement(this.pageIndex, this.pageSize, this.length);
|
|
8770
|
+
const unfiltered = this._filteredFrom();
|
|
8771
|
+
return unfiltered === null ? range : `${range}, ${this._labels.getFilteredLabel(unfiltered)}`;
|
|
8772
|
+
}
|
|
8773
|
+
/** @internal */
|
|
8774
|
+
_formatSize(value) {
|
|
8775
|
+
return formatNumber(value, this._locale, '1.0-0');
|
|
8776
|
+
}
|
|
8777
|
+
// ---------------------------------------------------------------------------------------------
|
|
8778
|
+
// Material adapter: the only place this class touches MatPaginator's underscore members.
|
|
8779
|
+
// ---------------------------------------------------------------------------------------------
|
|
8780
|
+
/** @internal */
|
|
8781
|
+
_sizeOptionsCache = [];
|
|
8782
|
+
/**
|
|
8783
|
+
* Page sizes shown in the select: Material's displayed options, which include a `pageSize`
|
|
8784
|
+
* missing from `pageSizeOptions`. Material recomputes them in a private method and marks for
|
|
8785
|
+
* check, so they are derived here and memoised to keep the select's input stable.
|
|
8786
|
+
* @internal
|
|
8787
|
+
*/
|
|
8788
|
+
_sizeOptions() {
|
|
8789
|
+
const sizes = this._displayedPageSizeOptions ?? [];
|
|
8790
|
+
const cached = this._sizeOptionsCache;
|
|
8791
|
+
if (sizes.length !== cached.length ||
|
|
8792
|
+
sizes.some((size, index) => cached[index].value !== size)) {
|
|
8793
|
+
this._sizeOptionsCache = sizes.map((value) => ({ value, label: this._formatSize(value) }));
|
|
8794
|
+
}
|
|
8795
|
+
return this._sizeOptionsCache;
|
|
8796
|
+
}
|
|
8797
|
+
/** @internal */
|
|
8798
|
+
_onPageSize(value) {
|
|
8799
|
+
if (typeof value === 'number')
|
|
8800
|
+
this._changePageSize(value);
|
|
8801
|
+
}
|
|
8802
|
+
/** @internal */
|
|
8803
|
+
_prevDisabled() {
|
|
8804
|
+
return this._previousButtonsDisabled();
|
|
8805
|
+
}
|
|
8806
|
+
/** @internal */
|
|
8807
|
+
_nextDisabled() {
|
|
8808
|
+
return this._nextButtonsDisabled();
|
|
8809
|
+
}
|
|
8810
|
+
/**
|
|
8811
|
+
* Buttons use `disabledInteractive`, so clicks still arrive while disabled; Material's
|
|
8812
|
+
* `_buttonClicked` ignores them.
|
|
8813
|
+
* @internal
|
|
8814
|
+
*/
|
|
8815
|
+
_go(target) {
|
|
8816
|
+
switch (target) {
|
|
8817
|
+
case 'first':
|
|
8818
|
+
return this._buttonClicked(0, this._prevDisabled());
|
|
8819
|
+
case 'previous':
|
|
8820
|
+
return this._buttonClicked(this.pageIndex - 1, this._prevDisabled());
|
|
8821
|
+
case 'next':
|
|
8822
|
+
return this._buttonClicked(this.pageIndex + 1, this._nextDisabled());
|
|
8823
|
+
case 'last':
|
|
8824
|
+
return this._buttonClicked(this.getNumberOfPages() - 1, this._nextDisabled());
|
|
8825
|
+
}
|
|
8826
|
+
}
|
|
8827
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: MatExpPaginator, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
8828
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.3", type: MatExpPaginator, isStandalone: true, selector: "mat-exp-paginator", inputs: { unfilteredLength: { classPropertyName: "unfilteredLength", publicName: "unfilteredLength", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.mat-mdc-paginator": "false", "attr.aria-label": "ariaLabel() ?? _labels.paginationLabel" }, classAttribute: "mat-exp-paginator" }, providers: [
|
|
8829
|
+
{ provide: MatPaginator, useExisting: MatExpPaginator },
|
|
8830
|
+
{ provide: MatPaginatorIntl, useExisting: MatExpPaginatorIntl },
|
|
8831
|
+
], exportAs: ["matExpPaginator"], usesInheritance: true, ngImport: i0, template: "<div class=\"mat-exp-paginator-container\">\n <div class=\"mat-exp-paginator-bar\">\n @if (!hidePageSize) {\n <div class=\"mat-exp-paginator-page-size\">\n <span\n class=\"mat-exp-paginator-page-size-label\"\n [id]=\"_pageSizeLabelId\"\n [attr.aria-hidden]=\"_sizeOptions().length > 1 ? 'true' : null\"\n >{{ _labels.itemsPerPageLabel }}</span\n >\n @if (_sizeOptions().length > 1) {\n <mat-exp-select\n compact\n [ariaLabelledby]=\"_pageSizeLabelId\"\n [options]=\"_sizeOptions()\"\n [value]=\"pageSize\"\n [disabled]=\"disabled\"\n (selectionChange)=\"_onPageSize($event)\"\n />\n } @else {\n <span class=\"mat-exp-paginator-page-size-value\">{{ _formatSize(pageSize) }}</span>\n }\n </div>\n }\n\n <div class=\"mat-exp-paginator-range\" role=\"status\" aria-live=\"polite\" aria-atomic=\"true\">\n <span class=\"mat-exp-paginator-range-label\" aria-hidden=\"true\">{{\n _labels.getRangeLabel(pageIndex, pageSize, length)\n }}</span>\n @if (_filteredFrom(); as unfiltered) {\n <span class=\"mat-exp-paginator-filtered\" aria-hidden=\"true\">{{\n _labels.getFilteredLabel(unfiltered)\n }}</span>\n }\n <span class=\"mat-exp-paginator-announcement\">{{ _announcement() }}</span>\n </div>\n\n <!--\n Buttons use `disabledInteractive` so they keep focus when they become disabled (focus\n would otherwise move to the body); `tabindex=\"-1\"` keeps disabled buttons out of the\n Tab order. Clicks while disabled are ignored by `_go`.\n -->\n <div class=\"mat-exp-paginator-nav\">\n @if (showFirstLastButtons) {\n <button\n matIconButton\n matExpIconButton\n size=\"s\"\n type=\"button\"\n class=\"mat-exp-paginator-first\"\n (click)=\"_go('first')\"\n [attr.aria-label]=\"_labels.firstPageLabel\"\n [matTooltip]=\"_labels.firstPageLabel\"\n [matTooltipDisabled]=\"_prevDisabled()\"\n matTooltipPosition=\"above\"\n [disabled]=\"_prevDisabled()\"\n [tabindex]=\"_prevDisabled() ? -1 : null\"\n disabledInteractive\n >\n <svg\n class=\"mat-exp-paginator-icon\"\n viewBox=\"0 0 24 24\"\n focusable=\"false\"\n aria-hidden=\"true\"\n >\n <path d=\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\" />\n </svg>\n </button>\n }\n <button\n matIconButton\n matExpIconButton\n size=\"s\"\n type=\"button\"\n class=\"mat-exp-paginator-previous\"\n (click)=\"_go('previous')\"\n [attr.aria-label]=\"_labels.previousPageLabel\"\n [matTooltip]=\"_labels.previousPageLabel\"\n [matTooltipDisabled]=\"_prevDisabled()\"\n matTooltipPosition=\"above\"\n [disabled]=\"_prevDisabled()\"\n [tabindex]=\"_prevDisabled() ? -1 : null\"\n disabledInteractive\n >\n <svg\n class=\"mat-exp-paginator-icon\"\n viewBox=\"0 0 24 24\"\n focusable=\"false\"\n aria-hidden=\"true\"\n >\n <path d=\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\" />\n </svg>\n </button>\n <button\n matIconButton\n matExpIconButton\n size=\"s\"\n type=\"button\"\n class=\"mat-exp-paginator-next\"\n (click)=\"_go('next')\"\n [attr.aria-label]=\"_labels.nextPageLabel\"\n [matTooltip]=\"_labels.nextPageLabel\"\n [matTooltipDisabled]=\"_nextDisabled()\"\n matTooltipPosition=\"above\"\n [disabled]=\"_nextDisabled()\"\n [tabindex]=\"_nextDisabled() ? -1 : null\"\n disabledInteractive\n >\n <svg\n class=\"mat-exp-paginator-icon\"\n viewBox=\"0 0 24 24\"\n focusable=\"false\"\n aria-hidden=\"true\"\n >\n <path d=\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\" />\n </svg>\n </button>\n @if (showFirstLastButtons) {\n <button\n matIconButton\n matExpIconButton\n size=\"s\"\n type=\"button\"\n class=\"mat-exp-paginator-last\"\n (click)=\"_go('last')\"\n [attr.aria-label]=\"_labels.lastPageLabel\"\n [matTooltip]=\"_labels.lastPageLabel\"\n [matTooltipDisabled]=\"_nextDisabled()\"\n matTooltipPosition=\"above\"\n [disabled]=\"_nextDisabled()\"\n [tabindex]=\"_nextDisabled() ? -1 : null\"\n disabledInteractive\n >\n <svg\n class=\"mat-exp-paginator-icon\"\n viewBox=\"0 0 24 24\"\n focusable=\"false\"\n aria-hidden=\"true\"\n >\n <path d=\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\" />\n </svg>\n </button>\n }\n </div>\n </div>\n</div>\n", styles: [".mat-exp-paginator{display:block;inline-size:100%;box-sizing:border-box;color:var(--mat-exp-paginator-text-color, var(--mat-paginator-container-text-color, var(--mat-sys-on-surface)));background-color:var(--mat-exp-paginator-container-color, var(--mat-paginator-container-background-color, var(--mat-sys-surface)));font:var(--mat-sys-body-medium);letter-spacing:var(--mat-sys-body-medium-tracking);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.mat-exp-paginator-container{container-type:inline-size}.mat-exp-paginator-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px 16px;min-block-size:var(--mat-exp-paginator-container-size, 56px);box-sizing:border-box;padding-block:8px;padding-inline:16px 8px}.mat-exp-paginator-page-size{display:flex;align-items:center;justify-content:flex-end;gap:16px;white-space:nowrap}.mat-exp-paginator-page-size-label{color:var(--mat-exp-paginator-label-color, var(--mat-sys-on-surface-variant))}.mat-exp-paginator-page-size-value{font-variant-numeric:tabular-nums}.mat-exp-paginator-range{display:flex;flex-direction:column;min-inline-size:112px;text-align:end;white-space:nowrap;font-variant-numeric:tabular-nums}.mat-exp-paginator-filtered{color:var(--mat-exp-paginator-supporting-text-color, var(--mat-sys-on-surface-variant));font:var(--mat-sys-body-small);letter-spacing:var(--mat-sys-body-small-tracking)}.mat-exp-paginator-announcement{position:absolute;inline-size:1px;block-size:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.mat-exp-paginator-nav{display:inline-flex;align-items:center;gap:12px}.mat-exp-paginator-icon{display:block;inline-size:24px;block-size:24px;fill:var(--mat-exp-paginator-icon-color, var(--mat-sys-on-surface-variant))}.mat-exp-paginator-nav [aria-disabled=true] .mat-exp-paginator-icon{fill:var(--mat-exp-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-exp-paginator-icon{transform:rotate(180deg)}@media(forced-colors:active){.mat-exp-paginator-icon,.mat-exp-paginator-nav [aria-disabled=true] .mat-exp-paginator-icon{fill:currentColor}.mat-exp-paginator-nav .mat-mdc-icon-button{outline:solid 1px}.mat-exp-paginator-nav .mat-mdc-icon-button[aria-disabled=true]{color:GrayText}}@container (max-width: 599px){.mat-exp-paginator-page-size{flex:0 0 100%}.mat-exp-paginator-range{flex:1 1 auto;text-align:start}.mat-exp-paginator-nav{margin-inline-start:auto}}\n"], dependencies: [{ kind: "component", type: MatExpSelect, selector: "mat-exp-select", inputs: ["options", "multiple", "label", "compact", "ariaLabelledby", "placeholder", "emptyLabel", "color", "density", "motion", "popupMotion", "rtl", "disabled", "required", "compareWith", "value"], outputs: ["valueChange", "selectionChange", "opened", "closed"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: MatExpIconButton, selector: "[matExpIconButton]", inputs: ["size", "shape", "width", "toggle", "value", "appearance", "state"], outputs: ["sizeChange", "shapeChange", "toggleChange", "valueChange"], exportAs: ["matExpIconButton"] }, { kind: "directive", type: MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
8832
|
+
}
|
|
8833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: MatExpPaginator, decorators: [{
|
|
8834
|
+
type: Component,
|
|
8835
|
+
args: [{ selector: 'mat-exp-paginator', exportAs: 'matExpPaginator', imports: [MatExpSelect, MatIconButton, MatExpIconButton, MatTooltip], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
8836
|
+
{ provide: MatPaginator, useExisting: MatExpPaginator },
|
|
8837
|
+
{ provide: MatPaginatorIntl, useExisting: MatExpPaginatorIntl },
|
|
8838
|
+
], host: {
|
|
8839
|
+
class: 'mat-exp-paginator',
|
|
8840
|
+
// Material's host class would pull this element into Material's paginator stylesheet
|
|
8841
|
+
// whenever a plain `mat-paginator` is also rendered in the app.
|
|
8842
|
+
'[class.mat-mdc-paginator]': 'false',
|
|
8843
|
+
'[attr.aria-label]': 'ariaLabel() ?? _labels.paginationLabel',
|
|
8844
|
+
}, template: "<div class=\"mat-exp-paginator-container\">\n <div class=\"mat-exp-paginator-bar\">\n @if (!hidePageSize) {\n <div class=\"mat-exp-paginator-page-size\">\n <span\n class=\"mat-exp-paginator-page-size-label\"\n [id]=\"_pageSizeLabelId\"\n [attr.aria-hidden]=\"_sizeOptions().length > 1 ? 'true' : null\"\n >{{ _labels.itemsPerPageLabel }}</span\n >\n @if (_sizeOptions().length > 1) {\n <mat-exp-select\n compact\n [ariaLabelledby]=\"_pageSizeLabelId\"\n [options]=\"_sizeOptions()\"\n [value]=\"pageSize\"\n [disabled]=\"disabled\"\n (selectionChange)=\"_onPageSize($event)\"\n />\n } @else {\n <span class=\"mat-exp-paginator-page-size-value\">{{ _formatSize(pageSize) }}</span>\n }\n </div>\n }\n\n <div class=\"mat-exp-paginator-range\" role=\"status\" aria-live=\"polite\" aria-atomic=\"true\">\n <span class=\"mat-exp-paginator-range-label\" aria-hidden=\"true\">{{\n _labels.getRangeLabel(pageIndex, pageSize, length)\n }}</span>\n @if (_filteredFrom(); as unfiltered) {\n <span class=\"mat-exp-paginator-filtered\" aria-hidden=\"true\">{{\n _labels.getFilteredLabel(unfiltered)\n }}</span>\n }\n <span class=\"mat-exp-paginator-announcement\">{{ _announcement() }}</span>\n </div>\n\n <!--\n Buttons use `disabledInteractive` so they keep focus when they become disabled (focus\n would otherwise move to the body); `tabindex=\"-1\"` keeps disabled buttons out of the\n Tab order. Clicks while disabled are ignored by `_go`.\n -->\n <div class=\"mat-exp-paginator-nav\">\n @if (showFirstLastButtons) {\n <button\n matIconButton\n matExpIconButton\n size=\"s\"\n type=\"button\"\n class=\"mat-exp-paginator-first\"\n (click)=\"_go('first')\"\n [attr.aria-label]=\"_labels.firstPageLabel\"\n [matTooltip]=\"_labels.firstPageLabel\"\n [matTooltipDisabled]=\"_prevDisabled()\"\n matTooltipPosition=\"above\"\n [disabled]=\"_prevDisabled()\"\n [tabindex]=\"_prevDisabled() ? -1 : null\"\n disabledInteractive\n >\n <svg\n class=\"mat-exp-paginator-icon\"\n viewBox=\"0 0 24 24\"\n focusable=\"false\"\n aria-hidden=\"true\"\n >\n <path d=\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\" />\n </svg>\n </button>\n }\n <button\n matIconButton\n matExpIconButton\n size=\"s\"\n type=\"button\"\n class=\"mat-exp-paginator-previous\"\n (click)=\"_go('previous')\"\n [attr.aria-label]=\"_labels.previousPageLabel\"\n [matTooltip]=\"_labels.previousPageLabel\"\n [matTooltipDisabled]=\"_prevDisabled()\"\n matTooltipPosition=\"above\"\n [disabled]=\"_prevDisabled()\"\n [tabindex]=\"_prevDisabled() ? -1 : null\"\n disabledInteractive\n >\n <svg\n class=\"mat-exp-paginator-icon\"\n viewBox=\"0 0 24 24\"\n focusable=\"false\"\n aria-hidden=\"true\"\n >\n <path d=\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\" />\n </svg>\n </button>\n <button\n matIconButton\n matExpIconButton\n size=\"s\"\n type=\"button\"\n class=\"mat-exp-paginator-next\"\n (click)=\"_go('next')\"\n [attr.aria-label]=\"_labels.nextPageLabel\"\n [matTooltip]=\"_labels.nextPageLabel\"\n [matTooltipDisabled]=\"_nextDisabled()\"\n matTooltipPosition=\"above\"\n [disabled]=\"_nextDisabled()\"\n [tabindex]=\"_nextDisabled() ? -1 : null\"\n disabledInteractive\n >\n <svg\n class=\"mat-exp-paginator-icon\"\n viewBox=\"0 0 24 24\"\n focusable=\"false\"\n aria-hidden=\"true\"\n >\n <path d=\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\" />\n </svg>\n </button>\n @if (showFirstLastButtons) {\n <button\n matIconButton\n matExpIconButton\n size=\"s\"\n type=\"button\"\n class=\"mat-exp-paginator-last\"\n (click)=\"_go('last')\"\n [attr.aria-label]=\"_labels.lastPageLabel\"\n [matTooltip]=\"_labels.lastPageLabel\"\n [matTooltipDisabled]=\"_nextDisabled()\"\n matTooltipPosition=\"above\"\n [disabled]=\"_nextDisabled()\"\n [tabindex]=\"_nextDisabled() ? -1 : null\"\n disabledInteractive\n >\n <svg\n class=\"mat-exp-paginator-icon\"\n viewBox=\"0 0 24 24\"\n focusable=\"false\"\n aria-hidden=\"true\"\n >\n <path d=\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\" />\n </svg>\n </button>\n }\n </div>\n </div>\n</div>\n", styles: [".mat-exp-paginator{display:block;inline-size:100%;box-sizing:border-box;color:var(--mat-exp-paginator-text-color, var(--mat-paginator-container-text-color, var(--mat-sys-on-surface)));background-color:var(--mat-exp-paginator-container-color, var(--mat-paginator-container-background-color, var(--mat-sys-surface)));font:var(--mat-sys-body-medium);letter-spacing:var(--mat-sys-body-medium-tracking);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.mat-exp-paginator-container{container-type:inline-size}.mat-exp-paginator-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px 16px;min-block-size:var(--mat-exp-paginator-container-size, 56px);box-sizing:border-box;padding-block:8px;padding-inline:16px 8px}.mat-exp-paginator-page-size{display:flex;align-items:center;justify-content:flex-end;gap:16px;white-space:nowrap}.mat-exp-paginator-page-size-label{color:var(--mat-exp-paginator-label-color, var(--mat-sys-on-surface-variant))}.mat-exp-paginator-page-size-value{font-variant-numeric:tabular-nums}.mat-exp-paginator-range{display:flex;flex-direction:column;min-inline-size:112px;text-align:end;white-space:nowrap;font-variant-numeric:tabular-nums}.mat-exp-paginator-filtered{color:var(--mat-exp-paginator-supporting-text-color, var(--mat-sys-on-surface-variant));font:var(--mat-sys-body-small);letter-spacing:var(--mat-sys-body-small-tracking)}.mat-exp-paginator-announcement{position:absolute;inline-size:1px;block-size:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.mat-exp-paginator-nav{display:inline-flex;align-items:center;gap:12px}.mat-exp-paginator-icon{display:block;inline-size:24px;block-size:24px;fill:var(--mat-exp-paginator-icon-color, var(--mat-sys-on-surface-variant))}.mat-exp-paginator-nav [aria-disabled=true] .mat-exp-paginator-icon{fill:var(--mat-exp-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-exp-paginator-icon{transform:rotate(180deg)}@media(forced-colors:active){.mat-exp-paginator-icon,.mat-exp-paginator-nav [aria-disabled=true] .mat-exp-paginator-icon{fill:currentColor}.mat-exp-paginator-nav .mat-mdc-icon-button{outline:solid 1px}.mat-exp-paginator-nav .mat-mdc-icon-button[aria-disabled=true]{color:GrayText}}@container (max-width: 599px){.mat-exp-paginator-page-size{flex:0 0 100%}.mat-exp-paginator-range{flex:1 1 auto;text-align:start}.mat-exp-paginator-nav{margin-inline-start:auto}}\n"] }]
|
|
8845
|
+
}], propDecorators: { unfilteredLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "unfilteredLength", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }] } });
|
|
8846
|
+
|
|
8668
8847
|
/** A Material-shaped reference whose completion follows the owned spring lifecycle. */
|
|
8669
8848
|
class MatExpDialogRef {
|
|
8670
8849
|
_cdk;
|
|
@@ -8689,6 +8868,19 @@ class MatExpDialogRef {
|
|
|
8689
8868
|
*/
|
|
8690
8869
|
disableClose;
|
|
8691
8870
|
/** @internal */
|
|
8871
|
+
_closeButton = signal('visible', /* @ts-ignore */
|
|
8872
|
+
...(ngDevMode ? [{ debugName: "_closeButton" }] : /* istanbul ignore next */ []));
|
|
8873
|
+
/** @internal */
|
|
8874
|
+
_closeLabel = signal('', /* @ts-ignore */
|
|
8875
|
+
...(ngDevMode ? [{ debugName: "_closeLabel" }] : /* istanbul ignore next */ []));
|
|
8876
|
+
/**
|
|
8877
|
+
* Whether the adaptive layout shows its close button. Alert dialogs never have one.
|
|
8878
|
+
* @default 'visible'
|
|
8879
|
+
*/
|
|
8880
|
+
closeButton = this._closeButton.asReadonly();
|
|
8881
|
+
/** The adaptive close button's accessible label. @default 'Close dialog' */
|
|
8882
|
+
closeLabel = this._closeLabel.asReadonly();
|
|
8883
|
+
/** @internal */
|
|
8692
8884
|
_state = MatDialogState.OPEN;
|
|
8693
8885
|
/** @internal */
|
|
8694
8886
|
_result;
|
|
@@ -8715,6 +8907,8 @@ class MatExpDialogRef {
|
|
|
8715
8907
|
this._container = _container;
|
|
8716
8908
|
this._position = _position;
|
|
8717
8909
|
this.disableClose = !!_config.disableClose;
|
|
8910
|
+
this._closeButton.set(_config.closeButton ?? 'visible');
|
|
8911
|
+
this._closeLabel.set(_config.closeLabel ?? '');
|
|
8718
8912
|
_container.opened.subscribe(() => {
|
|
8719
8913
|
this._opened.next();
|
|
8720
8914
|
this._opened.complete();
|
|
@@ -8784,6 +8978,33 @@ class MatExpDialogRef {
|
|
|
8784
8978
|
closeButtonClick() {
|
|
8785
8979
|
return this._closeButtonClicks.asObservable();
|
|
8786
8980
|
}
|
|
8981
|
+
/**
|
|
8982
|
+
* Show or hide the adaptive layout's close button while the dialog is open, for example to hide
|
|
8983
|
+
* it while work that must not be interrupted runs. Escape and backdrop clicks keep following
|
|
8984
|
+
* `disableClose`, and focus stays trapped in the dialog. Hiding the button while it has focus
|
|
8985
|
+
* moves focus to the dialog's initial focus target (the first tabbable control by default).
|
|
8986
|
+
* No effect on alert dialogs, which have no close button.
|
|
8987
|
+
*/
|
|
8988
|
+
updateCloseButton(closeButton) {
|
|
8989
|
+
if (closeButton !== 'visible' && closeButton !== 'hidden')
|
|
8990
|
+
throw new Error("closeButton must be 'visible' or 'hidden'.");
|
|
8991
|
+
if (closeButton === this._closeButton())
|
|
8992
|
+
return this;
|
|
8993
|
+
if (closeButton === 'hidden')
|
|
8994
|
+
this._container.closeButtonHiding();
|
|
8995
|
+
this._closeButton.set(closeButton);
|
|
8996
|
+
return this;
|
|
8997
|
+
}
|
|
8998
|
+
/**
|
|
8999
|
+
* Change the adaptive close button's accessible label while the dialog is open, for example to
|
|
9000
|
+
* say what closing does in the current state. Must not be blank.
|
|
9001
|
+
*/
|
|
9002
|
+
updateCloseLabel(closeLabel) {
|
|
9003
|
+
if (!closeLabel.trim())
|
|
9004
|
+
throw new Error('closeLabel must not be empty.');
|
|
9005
|
+
this._closeLabel.set(closeLabel);
|
|
9006
|
+
return this;
|
|
9007
|
+
}
|
|
8787
9008
|
/** @internal The adaptive close button is a dismissal gesture, like Escape and the backdrop. */
|
|
8788
9009
|
_closeButtonClick(event) {
|
|
8789
9010
|
this._closeButtonClicks.next(event);
|
|
@@ -9300,6 +9521,15 @@ class MatExpDialogContainer extends CdkDialogContainer {
|
|
|
9300
9521
|
this.exited.next();
|
|
9301
9522
|
});
|
|
9302
9523
|
}
|
|
9524
|
+
/**
|
|
9525
|
+
* The layout's close button is about to be removed. If it has focus, move focus to the dialog's
|
|
9526
|
+
* initial focus target once it is gone, so focus never falls out of the trap to the page.
|
|
9527
|
+
*/
|
|
9528
|
+
closeButtonHiding() {
|
|
9529
|
+
const button = this._elementRef.nativeElement.querySelector('.mat-exp-dialog-close');
|
|
9530
|
+
if (button?.contains(this._document?.activeElement ?? null))
|
|
9531
|
+
this._trapFocus({ preventScroll: true });
|
|
9532
|
+
}
|
|
9303
9533
|
/** Follow content that animates its own size, without a competing surface spring. */
|
|
9304
9534
|
followContentSize(active) {
|
|
9305
9535
|
this._following = active;
|
|
@@ -9375,14 +9605,14 @@ class MatExpDialogLayout {
|
|
|
9375
9605
|
_actions = contentChild(MatExpDialogActions, /* @ts-ignore */
|
|
9376
9606
|
...(ngDevMode ? [{ debugName: "_actions" }] : /* istanbul ignore next */ []));
|
|
9377
9607
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: MatExpDialogLayout, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9378
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.3", type: MatExpDialogLayout, isStandalone: true, selector: "mat-exp-dialog-layout", host: { properties: { "attr.data-mode": "_context.mode", "attr.data-compact-actions": "_context.mode === 'adaptive' ? _context.compactActions : null" } }, queries: [{ propertyName: "_actions", first: true, predicate: MatExpDialogActions, descendants: true, isSignal: true }], exportAs: ["matExpDialogLayout"], ngImport: i0, template: `
|
|
9379
|
-
@if (_context.mode === 'adaptive') {
|
|
9608
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.3", type: MatExpDialogLayout, isStandalone: true, selector: "mat-exp-dialog-layout", host: { properties: { "attr.data-mode": "_context.mode", "attr.data-compact-actions": "_context.mode === 'adaptive' ? _context.compactActions : null", "attr.data-close-button": "_context.mode === 'adaptive' ? _ref.closeButton() : null" } }, queries: [{ propertyName: "_actions", first: true, predicate: MatExpDialogActions, descendants: true, isSignal: true }], exportAs: ["matExpDialogLayout"], ngImport: i0, template: `
|
|
9609
|
+
@if (_context.mode === 'adaptive' && _ref.closeButton() === 'visible') {
|
|
9380
9610
|
<button
|
|
9381
9611
|
type="button"
|
|
9382
9612
|
matIconButton
|
|
9383
9613
|
class="mat-exp-dialog-close"
|
|
9384
9614
|
(click)="_ref._closeButtonClick($event)"
|
|
9385
|
-
[attr.aria-label]="
|
|
9615
|
+
[attr.aria-label]="_ref.closeLabel()"
|
|
9386
9616
|
>
|
|
9387
9617
|
<svg aria-hidden="true" focusable="false" width="24" height="24" viewBox="0 0 24 24">
|
|
9388
9618
|
<path
|
|
@@ -9399,18 +9629,18 @@ class MatExpDialogLayout {
|
|
|
9399
9629
|
<ng-container [ngTemplateOutlet]="actions.template" />
|
|
9400
9630
|
</div>
|
|
9401
9631
|
}
|
|
9402
|
-
`, isInline: true, styles: ["mat-exp-dialog-layout{display:grid;grid-template:\"heading close\" auto \"body body\" minmax(0,1fr) \"actions actions\" auto/1fr auto;min-height:0;max-height:inherit;height:100%}mat-exp-dialog-layout>.mat-exp-dialog-heading{grid-area:heading;margin:0;min-width:0;overflow-wrap:anywhere}mat-exp-dialog-layout>.mat-exp-dialog-body{grid-area:body;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain}mat-exp-dialog-layout>.mat-exp-dialog-actions{grid-area:actions}mat-exp-dialog-layout>.mat-exp-dialog-close{grid-area:close;align-self:center;margin-inline-end:16px}mat-exp-dialog-layout>.mat-exp-dialog-close.cdk-program-focused:not(:focus-visible,:hover)>.mat-mdc-button-persistent-ripple:before{opacity:0}@media(max-width:599px){.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]{grid-template:\"close heading actions\" auto \"body body body\" minmax(0,1fr)/auto minmax(0,1fr) auto;padding-top:env(safe-area-inset-top,0px)}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]>.mat-exp-dialog-close{grid-area:close;display:inline-flex;align-self:center;margin-inline-start:max(8px,env(safe-area-inset-left,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]>.mat-exp-dialog-heading{align-self:center;padding:.75rem .5rem;font:var(--mat-sys-title-large)}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]>.mat-exp-dialog-heading:before{display:none}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]>.mat-exp-dialog-actions{align-self:center;min-height:3.5rem;padding:0;padding-inline-end:max(8px,env(safe-area-inset-right,0px));border:0;flex-wrap:wrap;max-width:45vw}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]:dir(rtl)>.mat-exp-dialog-close{margin-inline-start:max(8px,env(safe-area-inset-right,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]:dir(rtl)>.mat-exp-dialog-actions{padding-inline-end:max(8px,env(safe-area-inset-left,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]>.mat-exp-dialog-body{padding-top:1.5rem;padding-bottom:max(24px,env(safe-area-inset-bottom,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-compact-actions=footer]{grid-template:\"close heading\" auto \"body body\" minmax(0,1fr) \"actions actions\" auto/auto minmax(0,1fr)}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-compact-actions=footer]>.mat-exp-dialog-heading{padding-inline-end:max(16px,env(safe-area-inset-right,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-compact-actions=footer]>.mat-exp-dialog-actions{align-self:stretch;max-width:none;min-height:0;padding:1rem max(24px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(24px,env(safe-area-inset-left,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-compact-actions=footer]>.mat-exp-dialog-body{padding-bottom:1.5rem}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-compact-actions=footer]:dir(rtl)>.mat-exp-dialog-heading{padding-inline-end:max(16px,env(safe-area-inset-left,0px))}}mat-exp-dialog-layout>.mat-exp-dialog-heading{padding:24px 24px 16px;color:var(--mat-sys-on-surface);font:var(--mat-sys-headline-small)}mat-exp-dialog-layout>.mat-exp-dialog-body{padding:0 24px;color:var(--mat-sys-on-surface-variant);font:var(--mat-sys-body-medium)}mat-exp-dialog-layout>.mat-exp-dialog-body>:first-child{margin-top:0}mat-exp-dialog-layout>.mat-exp-dialog-body>:last-child{margin-bottom:0}mat-exp-dialog-layout>.mat-exp-dialog-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;padding:24px}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
9632
|
+
`, isInline: true, styles: ["mat-exp-dialog-layout{display:grid;grid-template:\"heading close\" auto \"body body\" minmax(0,1fr) \"actions actions\" auto/1fr auto;min-height:0;max-height:inherit;height:100%}mat-exp-dialog-layout>.mat-exp-dialog-heading{grid-area:heading;margin:0;min-width:0;overflow-wrap:anywhere}mat-exp-dialog-layout>.mat-exp-dialog-body{grid-area:body;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain}mat-exp-dialog-layout>.mat-exp-dialog-actions{grid-area:actions}mat-exp-dialog-layout>.mat-exp-dialog-close{grid-area:close;align-self:center;margin-inline-end:16px}mat-exp-dialog-layout>.mat-exp-dialog-close.cdk-program-focused:not(:focus-visible,:hover)>.mat-mdc-button-persistent-ripple:before{opacity:0}@media(max-width:599px){.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]{grid-template:\"close heading actions\" auto \"body body body\" minmax(0,1fr)/auto minmax(0,1fr) auto;padding-top:env(safe-area-inset-top,0px)}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]>.mat-exp-dialog-close{grid-area:close;display:inline-flex;align-self:center;margin-inline-start:max(8px,env(safe-area-inset-left,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]>.mat-exp-dialog-heading{align-self:center;padding:.75rem .5rem;font:var(--mat-sys-title-large)}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]>.mat-exp-dialog-heading:before{display:none}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]>.mat-exp-dialog-actions{align-self:center;min-height:3.5rem;padding:0;padding-inline-end:max(8px,env(safe-area-inset-right,0px));border:0;flex-wrap:wrap;max-width:45vw}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]:dir(rtl)>.mat-exp-dialog-close{margin-inline-start:max(8px,env(safe-area-inset-right,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]:dir(rtl)>.mat-exp-dialog-actions{padding-inline-end:max(8px,env(safe-area-inset-left,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]>.mat-exp-dialog-body{padding-top:1.5rem;padding-bottom:max(24px,env(safe-area-inset-bottom,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-close-button=hidden]>.mat-exp-dialog-heading{padding-inline-start:max(24px,env(safe-area-inset-left,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-close-button=hidden]:dir(rtl)>.mat-exp-dialog-heading{padding-inline-start:max(24px,env(safe-area-inset-right,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-compact-actions=footer]{grid-template:\"close heading\" auto \"body body\" minmax(0,1fr) \"actions actions\" auto/auto minmax(0,1fr)}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-compact-actions=footer]>.mat-exp-dialog-heading{padding-inline-end:max(16px,env(safe-area-inset-right,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-compact-actions=footer]>.mat-exp-dialog-actions{align-self:stretch;max-width:none;min-height:0;padding:1rem max(24px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(24px,env(safe-area-inset-left,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-compact-actions=footer]>.mat-exp-dialog-body{padding-bottom:1.5rem}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-compact-actions=footer]:dir(rtl)>.mat-exp-dialog-heading{padding-inline-end:max(16px,env(safe-area-inset-left,0px))}}mat-exp-dialog-layout>.mat-exp-dialog-heading{padding:24px 24px 16px;color:var(--mat-sys-on-surface);font:var(--mat-sys-headline-small)}mat-exp-dialog-layout>.mat-exp-dialog-body{padding:0 24px;color:var(--mat-sys-on-surface-variant);font:var(--mat-sys-body-medium)}mat-exp-dialog-layout>.mat-exp-dialog-body>:first-child{margin-top:0}mat-exp-dialog-layout>.mat-exp-dialog-body>:last-child{margin-bottom:0}mat-exp-dialog-layout>.mat-exp-dialog-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;padding:24px}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
9403
9633
|
}
|
|
9404
9634
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: MatExpDialogLayout, decorators: [{
|
|
9405
9635
|
type: Component,
|
|
9406
9636
|
args: [{ selector: 'mat-exp-dialog-layout', exportAs: 'matExpDialogLayout', imports: [MatButtonModule, NgTemplateOutlet], template: `
|
|
9407
|
-
@if (_context.mode === 'adaptive') {
|
|
9637
|
+
@if (_context.mode === 'adaptive' && _ref.closeButton() === 'visible') {
|
|
9408
9638
|
<button
|
|
9409
9639
|
type="button"
|
|
9410
9640
|
matIconButton
|
|
9411
9641
|
class="mat-exp-dialog-close"
|
|
9412
9642
|
(click)="_ref._closeButtonClick($event)"
|
|
9413
|
-
[attr.aria-label]="
|
|
9643
|
+
[attr.aria-label]="_ref.closeLabel()"
|
|
9414
9644
|
>
|
|
9415
9645
|
<svg aria-hidden="true" focusable="false" width="24" height="24" viewBox="0 0 24 24">
|
|
9416
9646
|
<path
|
|
@@ -9430,7 +9660,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImpor
|
|
|
9430
9660
|
`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
9431
9661
|
'[attr.data-mode]': '_context.mode',
|
|
9432
9662
|
'[attr.data-compact-actions]': "_context.mode === 'adaptive' ? _context.compactActions : null",
|
|
9433
|
-
|
|
9663
|
+
'[attr.data-close-button]': "_context.mode === 'adaptive' ? _ref.closeButton() : null",
|
|
9664
|
+
}, styles: ["mat-exp-dialog-layout{display:grid;grid-template:\"heading close\" auto \"body body\" minmax(0,1fr) \"actions actions\" auto/1fr auto;min-height:0;max-height:inherit;height:100%}mat-exp-dialog-layout>.mat-exp-dialog-heading{grid-area:heading;margin:0;min-width:0;overflow-wrap:anywhere}mat-exp-dialog-layout>.mat-exp-dialog-body{grid-area:body;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain}mat-exp-dialog-layout>.mat-exp-dialog-actions{grid-area:actions}mat-exp-dialog-layout>.mat-exp-dialog-close{grid-area:close;align-self:center;margin-inline-end:16px}mat-exp-dialog-layout>.mat-exp-dialog-close.cdk-program-focused:not(:focus-visible,:hover)>.mat-mdc-button-persistent-ripple:before{opacity:0}@media(max-width:599px){.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]{grid-template:\"close heading actions\" auto \"body body body\" minmax(0,1fr)/auto minmax(0,1fr) auto;padding-top:env(safe-area-inset-top,0px)}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]>.mat-exp-dialog-close{grid-area:close;display:inline-flex;align-self:center;margin-inline-start:max(8px,env(safe-area-inset-left,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]>.mat-exp-dialog-heading{align-self:center;padding:.75rem .5rem;font:var(--mat-sys-title-large)}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]>.mat-exp-dialog-heading:before{display:none}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]>.mat-exp-dialog-actions{align-self:center;min-height:3.5rem;padding:0;padding-inline-end:max(8px,env(safe-area-inset-right,0px));border:0;flex-wrap:wrap;max-width:45vw}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]:dir(rtl)>.mat-exp-dialog-close{margin-inline-start:max(8px,env(safe-area-inset-right,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]:dir(rtl)>.mat-exp-dialog-actions{padding-inline-end:max(8px,env(safe-area-inset-left,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive]>.mat-exp-dialog-body{padding-top:1.5rem;padding-bottom:max(24px,env(safe-area-inset-bottom,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-close-button=hidden]>.mat-exp-dialog-heading{padding-inline-start:max(24px,env(safe-area-inset-left,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-close-button=hidden]:dir(rtl)>.mat-exp-dialog-heading{padding-inline-start:max(24px,env(safe-area-inset-right,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-compact-actions=footer]{grid-template:\"close heading\" auto \"body body\" minmax(0,1fr) \"actions actions\" auto/auto minmax(0,1fr)}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-compact-actions=footer]>.mat-exp-dialog-heading{padding-inline-end:max(16px,env(safe-area-inset-right,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-compact-actions=footer]>.mat-exp-dialog-actions{align-self:stretch;max-width:none;min-height:0;padding:1rem max(24px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(24px,env(safe-area-inset-left,0px))}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-compact-actions=footer]>.mat-exp-dialog-body{padding-bottom:1.5rem}.mat-exp-dialog-panel mat-exp-dialog-layout[data-mode=adaptive][data-compact-actions=footer]:dir(rtl)>.mat-exp-dialog-heading{padding-inline-end:max(16px,env(safe-area-inset-left,0px))}}mat-exp-dialog-layout>.mat-exp-dialog-heading{padding:24px 24px 16px;color:var(--mat-sys-on-surface);font:var(--mat-sys-headline-small)}mat-exp-dialog-layout>.mat-exp-dialog-body{padding:0 24px;color:var(--mat-sys-on-surface-variant);font:var(--mat-sys-body-medium)}mat-exp-dialog-layout>.mat-exp-dialog-body>:first-child{margin-top:0}mat-exp-dialog-layout>.mat-exp-dialog-body>:last-child{margin-bottom:0}mat-exp-dialog-layout>.mat-exp-dialog-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;padding:24px}\n"] }]
|
|
9434
9665
|
}], propDecorators: { _actions: [{ type: i0.ContentChild, args: [i0.forwardRef(() => MatExpDialogActions), { isSignal: true }] }] } });
|
|
9435
9666
|
|
|
9436
9667
|
/** @internal Built-in content for the one-call plain-text confirmation. */
|
|
@@ -9531,7 +9762,7 @@ class MatExpDialog {
|
|
|
9531
9762
|
if (config.mode === 'alert' && (!config.role || !config.ariaDescribedBy?.trim())) {
|
|
9532
9763
|
throw new Error('Alert mode requires an explicit role and ariaDescribedBy.');
|
|
9533
9764
|
}
|
|
9534
|
-
const { mode, title, motion = this._options.motion, closeLabel = this._options.closeLabel, origin, adaptiveWidth = this._options.adaptiveWidth, compactActions = this._options.compactActions, ...native } = config;
|
|
9765
|
+
const { mode, title, motion = this._options.motion, closeLabel = this._options.closeLabel, origin, adaptiveWidth = this._options.adaptiveWidth, compactActions = this._options.compactActions, closeButton = this._options.closeButton, ...native } = config;
|
|
9535
9766
|
if (mode === 'adaptive' && !closeLabel.trim())
|
|
9536
9767
|
throw new Error('Adaptive mode requires a non-empty closeLabel.');
|
|
9537
9768
|
if (mode === 'adaptive' &&
|
|
@@ -9545,6 +9776,8 @@ class MatExpDialog {
|
|
|
9545
9776
|
throw new Error('Adaptive mode requires a valid CSS adaptiveWidth.');
|
|
9546
9777
|
if (compactActions !== 'header' && compactActions !== 'footer')
|
|
9547
9778
|
throw new Error("compactActions must be 'header' or 'footer'.");
|
|
9779
|
+
if (closeButton !== 'visible' && closeButton !== 'hidden')
|
|
9780
|
+
throw new Error("closeButton must be 'visible' or 'hidden'.");
|
|
9548
9781
|
const effective = { ...this._nativeDefaults, ...native };
|
|
9549
9782
|
const classes = (value) => typeof value === 'string' ? [value] : (value ?? []);
|
|
9550
9783
|
const injector = Injector.create({
|
|
@@ -9552,7 +9785,16 @@ class MatExpDialog {
|
|
|
9552
9785
|
providers: [
|
|
9553
9786
|
{
|
|
9554
9787
|
provide: MAT_EXP_DIALOG_CONTEXT,
|
|
9555
|
-
useValue: {
|
|
9788
|
+
useValue: {
|
|
9789
|
+
mode,
|
|
9790
|
+
title,
|
|
9791
|
+
closeLabel,
|
|
9792
|
+
motion,
|
|
9793
|
+
adaptiveWidth,
|
|
9794
|
+
origin,
|
|
9795
|
+
compactActions,
|
|
9796
|
+
closeButton,
|
|
9797
|
+
},
|
|
9556
9798
|
},
|
|
9557
9799
|
],
|
|
9558
9800
|
});
|
|
@@ -9566,7 +9808,7 @@ class MatExpDialog {
|
|
|
9566
9808
|
motion,
|
|
9567
9809
|
closeLabel,
|
|
9568
9810
|
origin,
|
|
9569
|
-
...(mode === 'adaptive' ? { adaptiveWidth, compactActions } : {}),
|
|
9811
|
+
...(mode === 'adaptive' ? { adaptiveWidth, compactActions, closeButton } : {}),
|
|
9570
9812
|
};
|
|
9571
9813
|
this._dialog.open(component, {
|
|
9572
9814
|
...effective,
|
|
@@ -9636,5 +9878,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImpor
|
|
|
9636
9878
|
* Generated bundle index. Do not edit.
|
|
9637
9879
|
*/
|
|
9638
9880
|
|
|
9639
|
-
export { ButtonAdapter, IconButtonAdapter, MAT_EXP_BUTTON_DEFAULT_OPTIONS, MAT_EXP_BUTTON_GROUP, MAT_EXP_BUTTON_GROUP_DEFAULT_OPTIONS, MAT_EXP_BUTTON_GROUP_OPTIONS, MAT_EXP_BUTTON_GROUP_VALUE_ACCESSOR, MAT_EXP_BUTTON_OPTIONS, MAT_EXP_DIALOG_OPTIONS, MAT_EXP_FAB_MENU_OPTIONS, MAT_EXP_ICON_BUTTON_DEFAULT_OPTIONS, MAT_EXP_ICON_BUTTON_OPTIONS, MAT_EXP_LIST_DEFAULT_OPTIONS, MAT_EXP_LIST_OPTIONS, MAT_EXP_LOADING_INDICATOR_DEFAULT_OPTIONS, MAT_EXP_LOADING_INDICATOR_OPTIONS, MAT_EXP_LOADING_INDICATOR_SHAPES, MAT_EXP_LOADING_INDICATOR_VIEW_BOX, MAT_EXP_MENU_DEFAULT_OPTIONS, MAT_EXP_MENU_OPTIONS, MAT_EXP_MENU_SURFACE, MAT_EXP_NAVIGATION_RAIL_OPTIONS, MAT_EXP_PROGRESS_INDICATOR_DEFAULT_OPTIONS, MAT_EXP_PROGRESS_INDICATOR_OPTIONS, MAT_EXP_RICH_TOOLTIP_DEFAULT_OPTIONS, MAT_EXP_RICH_TOOLTIP_OPTIONS, MAT_EXP_SEARCH_DEFAULT_OPTIONS, MAT_EXP_SEARCH_OPTIONS, MAT_EXP_SPLIT_BUTTON_DEFAULT_OPTIONS, MAT_EXP_SPLIT_BUTTON_OPTIONS, MAT_EXP_STEPPER_OPTIONS, MAT_EXP_TOOLBAR_OPTIONS, MatExpAutocomplete, MatExpButton, MatExpButtonGroup, MatExpDialog, MatExpDialogActions, MatExpDialogClose, MatExpDialogLayout, MatExpDialogRef, MatExpFabMenu, MatExpFabMenuButton, MatExpFabMenuTrigger, MatExpIconButton, MatExpList, MatExpListItem, MatExpListMediaDirective, MatExpLoadingIndicator, MatExpMenu, MatExpMenuContent, MatExpMenuContextTrigger, MatExpMenuItemDirective, MatExpMenuItemTemplate, MatExpMenuTrigger, MatExpNavigationRail, MatExpNavigationRailGroup, MatExpNavigationRailItem, MatExpNavigationRailSection, MatExpProgressIndicator, MatExpRichTooltip, MatExpRichTooltipTrigger, MatExpSearch, MatExpSearchResult, MatExpSelect, MatExpSelectableButtonChange, MatExpSplitButton, MatExpStep, MatExpStepper, MatExpToolbar, MatExpToolbarItem, bindButtonGroupChildren, injectMatExpButtonGroupOptions, injectMatExpButtonOptions, injectMatExpFabMenuOptions, injectMatExpIconButtonOptions, injectMatExpLoadingIndicatorOptions, injectMatExpMenuOptions, injectMatExpProgressIndicatorOptions, injectMatExpRichTooltipOptions, injectMatExpSearchOptions, injectMatExpSplitButtonOptions, provideMatExpButtonGroupOptions, provideMatExpButtonOptions, provideMatExpDialogOptions, provideMatExpFabMenuOptions, provideMatExpIconButtonOptions, provideMatExpListOptions, provideMatExpLoadingIndicatorOptions, provideMatExpMenuOptions, provideMatExpNavigationRailOptions, provideMatExpProgressIndicatorOptions, provideMatExpRichTooltipOptions, provideMatExpSearchOptions, provideMatExpSplitButtonOptions, provideMatExpStepperOptions, provideMatExpToolbarOptions, toButtonGroupChild };
|
|
9881
|
+
export { ButtonAdapter, IconButtonAdapter, MAT_EXP_BUTTON_DEFAULT_OPTIONS, MAT_EXP_BUTTON_GROUP, MAT_EXP_BUTTON_GROUP_DEFAULT_OPTIONS, MAT_EXP_BUTTON_GROUP_OPTIONS, MAT_EXP_BUTTON_GROUP_VALUE_ACCESSOR, MAT_EXP_BUTTON_OPTIONS, MAT_EXP_DIALOG_OPTIONS, MAT_EXP_FAB_MENU_OPTIONS, MAT_EXP_ICON_BUTTON_DEFAULT_OPTIONS, MAT_EXP_ICON_BUTTON_OPTIONS, MAT_EXP_LIST_DEFAULT_OPTIONS, MAT_EXP_LIST_OPTIONS, MAT_EXP_LOADING_INDICATOR_DEFAULT_OPTIONS, MAT_EXP_LOADING_INDICATOR_OPTIONS, MAT_EXP_LOADING_INDICATOR_SHAPES, MAT_EXP_LOADING_INDICATOR_VIEW_BOX, MAT_EXP_MENU_DEFAULT_OPTIONS, MAT_EXP_MENU_OPTIONS, MAT_EXP_MENU_SURFACE, MAT_EXP_NAVIGATION_RAIL_OPTIONS, MAT_EXP_PROGRESS_INDICATOR_DEFAULT_OPTIONS, MAT_EXP_PROGRESS_INDICATOR_OPTIONS, MAT_EXP_RICH_TOOLTIP_DEFAULT_OPTIONS, MAT_EXP_RICH_TOOLTIP_OPTIONS, MAT_EXP_SEARCH_DEFAULT_OPTIONS, MAT_EXP_SEARCH_OPTIONS, MAT_EXP_SPLIT_BUTTON_DEFAULT_OPTIONS, MAT_EXP_SPLIT_BUTTON_OPTIONS, MAT_EXP_STEPPER_OPTIONS, MAT_EXP_TOOLBAR_OPTIONS, MatExpAutocomplete, MatExpButton, MatExpButtonGroup, MatExpDialog, MatExpDialogActions, MatExpDialogClose, MatExpDialogLayout, MatExpDialogRef, MatExpFabMenu, MatExpFabMenuButton, MatExpFabMenuTrigger, MatExpIconButton, MatExpList, MatExpListItem, MatExpListMediaDirective, MatExpLoadingIndicator, MatExpMenu, MatExpMenuContent, MatExpMenuContextTrigger, MatExpMenuItemDirective, MatExpMenuItemTemplate, MatExpMenuTrigger, MatExpNavigationRail, MatExpNavigationRailGroup, MatExpNavigationRailItem, MatExpNavigationRailSection, MatExpPaginator, MatExpPaginatorIntl, MatExpProgressIndicator, MatExpRichTooltip, MatExpRichTooltipTrigger, MatExpSearch, MatExpSearchResult, MatExpSelect, MatExpSelectableButtonChange, MatExpSplitButton, MatExpStep, MatExpStepper, MatExpToolbar, MatExpToolbarItem, bindButtonGroupChildren, injectMatExpButtonGroupOptions, injectMatExpButtonOptions, injectMatExpFabMenuOptions, injectMatExpIconButtonOptions, injectMatExpLoadingIndicatorOptions, injectMatExpMenuOptions, injectMatExpProgressIndicatorOptions, injectMatExpRichTooltipOptions, injectMatExpSearchOptions, injectMatExpSplitButtonOptions, provideMatExpButtonGroupOptions, provideMatExpButtonOptions, provideMatExpDialogOptions, provideMatExpFabMenuOptions, provideMatExpIconButtonOptions, provideMatExpListOptions, provideMatExpLoadingIndicatorOptions, provideMatExpMenuOptions, provideMatExpNavigationRailOptions, provideMatExpProgressIndicatorOptions, provideMatExpRichTooltipOptions, provideMatExpSearchOptions, provideMatExpSplitButtonOptions, provideMatExpStepperOptions, provideMatExpToolbarOptions, toButtonGroupChild };
|
|
9640
9882
|
//# sourceMappingURL=camaradesuk-m3e-angular.mjs.map
|