@angular/material 22.0.0-next.2 → 22.0.0-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/tokens/_system.scss +14 -8
- package/fesm2022/_animation-chunk.mjs.map +1 -1
- package/fesm2022/_date-formats-chunk.mjs.map +1 -1
- package/fesm2022/_date-range-input-harness-chunk.mjs.map +1 -1
- package/fesm2022/_error-options-chunk.mjs +6 -6
- package/fesm2022/_error-options-chunk.mjs.map +1 -1
- package/fesm2022/_error-state-chunk.mjs.map +1 -1
- package/fesm2022/_form-field-chunk.mjs +33 -37
- package/fesm2022/_form-field-chunk.mjs.map +1 -1
- package/fesm2022/_icon-button-chunk.mjs +9 -9
- package/fesm2022/_icon-button-chunk.mjs.map +1 -1
- package/fesm2022/_icon-registry-chunk.mjs +4 -4
- package/fesm2022/_icon-registry-chunk.mjs.map +1 -1
- package/fesm2022/_input-harness-chunk.mjs.map +1 -1
- package/fesm2022/_internal-form-field-chunk.mjs +6 -6
- package/fesm2022/_internal-form-field-chunk.mjs.map +1 -1
- package/fesm2022/_line-chunk.mjs +7 -7
- package/fesm2022/_line-chunk.mjs.map +1 -1
- package/fesm2022/_option-chunk.mjs +11 -11
- package/fesm2022/_option-chunk.mjs.map +1 -1
- package/fesm2022/_option-harness-chunk.mjs.map +1 -1
- package/fesm2022/_option-module-chunk.mjs +4 -4
- package/fesm2022/_option-module-chunk.mjs.map +1 -1
- package/fesm2022/_pseudo-checkbox-chunk.mjs +6 -8
- package/fesm2022/_pseudo-checkbox-chunk.mjs.map +1 -1
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs +4 -4
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs.map +1 -1
- package/fesm2022/_public-api-chunk.mjs.map +1 -1
- package/fesm2022/_ripple-chunk.mjs +10 -10
- package/fesm2022/_ripple-chunk.mjs.map +1 -1
- package/fesm2022/_ripple-loader-chunk.mjs +3 -3
- package/fesm2022/_ripple-loader-chunk.mjs.map +1 -1
- package/fesm2022/_ripple-module-chunk.mjs +4 -4
- package/fesm2022/_ripple-module-chunk.mjs.map +1 -1
- package/fesm2022/_structural-styles-chunk.mjs +6 -6
- package/fesm2022/_structural-styles-chunk.mjs.map +1 -1
- package/fesm2022/_tooltip-chunk.mjs +18 -16
- package/fesm2022/_tooltip-chunk.mjs.map +1 -1
- package/fesm2022/autocomplete-testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +22 -26
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge-testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +13 -13
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet-testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +18 -20
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-testing.mjs.map +1 -1
- package/fesm2022/button-toggle-testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +14 -14
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +20 -20
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card-testing.mjs.map +1 -1
- package/fesm2022/card.mjs +49 -49
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox-testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +10 -10
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips-testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +66 -70
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core-testing.mjs +1 -1
- package/fesm2022/core-testing.mjs.map +1 -1
- package/fesm2022/core.mjs +25 -25
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker-testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +99 -105
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog-testing.mjs +3 -3
- package/fesm2022/dialog-testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +33 -37
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider-testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +10 -10
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion-testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +35 -37
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field-testing-control.mjs.map +1 -1
- package/fesm2022/form-field-testing.mjs +1 -1
- package/fesm2022/form-field-testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +5 -5
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list-testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +29 -35
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon-testing.mjs +8 -8
- package/fesm2022/icon-testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +11 -11
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input-testing.mjs.map +1 -1
- package/fesm2022/input.mjs +8 -8
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list-testing.mjs.map +1 -1
- package/fesm2022/list.mjs +67 -73
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu-testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +28 -30
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator-testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +17 -17
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar-testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +10 -10
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner-testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +10 -10
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio-testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +15 -17
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select-testing.mjs.map +1 -1
- package/fesm2022/select.mjs +26 -26
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav-testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +35 -45
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle-testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +11 -11
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider-testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +41 -43
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar-testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +32 -36
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort-testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +18 -18
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper-testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +43 -47
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table-testing.mjs.map +1 -1
- package/fesm2022/table.mjs +60 -60
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs-testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +62 -68
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker-testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +17 -17
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar-testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +15 -17
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip-testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +4 -4
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree-testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +31 -31
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +2 -2
- package/prebuilt-themes/azure-blue.css +167 -1
- package/prebuilt-themes/cyan-orange.css +167 -1
- package/prebuilt-themes/deeppurple-amber.css +2301 -1
- package/prebuilt-themes/indigo-pink.css +2301 -1
- package/prebuilt-themes/magenta-violet.css +167 -1
- package/prebuilt-themes/pink-bluegrey.css +2301 -1
- package/prebuilt-themes/purple-green.css +2301 -1
- package/prebuilt-themes/rose-red.css +167 -1
- package/schematics/ng-add/index.js +1 -1
- package/types/_badge-chunk.d.ts +1 -1
- package/types/_button-toggle-chunk.d.ts +3 -3
- package/types/_dialog-chunk.d.ts +1 -1
- package/types/_form-field-chunk.d.ts +2 -4
- package/types/_icon-module-chunk.d.ts +1 -1
- package/types/_icon-registry-chunk.d.ts +1 -1
- package/types/_option-chunk.d.ts +2 -2
- package/types/_option-parent-chunk.d.ts +1 -1
- package/types/_paginator-chunk.d.ts +1 -1
- package/types/_progress-spinner-chunk.d.ts +1 -1
- package/types/_pseudo-checkbox-module-chunk.d.ts +0 -1
- package/types/_ripple-chunk.d.ts +2 -2
- package/types/autocomplete.d.ts +1 -3
- package/types/bottom-sheet.d.ts +1 -2
- package/types/button.d.ts +5 -5
- package/types/card.d.ts +1 -1
- package/types/checkbox.d.ts +1 -1
- package/types/chips.d.ts +7 -9
- package/types/core.d.ts +1 -1
- package/types/datepicker.d.ts +13 -16
- package/types/dialog-testing.d.ts +1 -1
- package/types/dialog.d.ts +1 -3
- package/types/expansion.d.ts +2 -3
- package/types/grid-list.d.ts +1 -4
- package/types/input.d.ts +1 -1
- package/types/list.d.ts +2 -5
- package/types/menu.d.ts +3 -4
- package/types/paginator.d.ts +0 -1
- package/types/progress-bar.d.ts +1 -1
- package/types/radio.d.ts +2 -3
- package/types/select.d.ts +3 -3
- package/types/sidenav-testing.d.ts +1 -1
- package/types/sidenav.d.ts +3 -4
- package/types/slide-toggle.d.ts +1 -1
- package/types/slider.d.ts +8 -13
- package/types/snack-bar.d.ts +1 -3
- package/types/sort.d.ts +1 -1
- package/types/stepper.d.ts +2 -4
- package/types/table.d.ts +2 -4
- package/types/tabs.d.ts +7 -9
- package/types/timepicker.d.ts +1 -1
- package/types/toolbar.d.ts +0 -1
- package/types/tooltip.d.ts +317 -7
- package/types/tree.d.ts +3 -3
- package/types/_tooltip-chunk.d.ts +0 -315
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { ContentContainerComponentHarness, HarnessPredicate, TestKey } from '@angular/cdk/testing';
|
|
2
2
|
import { __decorate, __metadata } from 'tslib';
|
|
3
|
-
import { inject, NgZone, Component,
|
|
3
|
+
import { inject, NgZone, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
4
4
|
import { MATERIAL_ANIMATIONS } from '@angular/material/core';
|
|
5
5
|
import { MatDialog, MatDialogModule } from './dialog.mjs';
|
|
6
|
-
import '@angular/cdk/a11y';
|
|
7
|
-
import '@angular/cdk/scrolling';
|
|
8
6
|
import '@angular/cdk/overlay';
|
|
9
7
|
import '@angular/cdk/dialog';
|
|
10
8
|
import '@angular/cdk/coercion';
|
|
@@ -14,6 +12,8 @@ import '@angular/cdk/layout';
|
|
|
14
12
|
import 'rxjs';
|
|
15
13
|
import 'rxjs/operators';
|
|
16
14
|
import '@angular/cdk/keycodes';
|
|
15
|
+
import '@angular/cdk/a11y';
|
|
16
|
+
import '@angular/cdk/scrolling';
|
|
17
17
|
import '@angular/cdk/bidi';
|
|
18
18
|
|
|
19
19
|
var MatDialogSection;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-testing.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/dialog/testing/dialog-harness.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/dialog/testing/dialog-opener.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n ComponentHarnessConstructor,\n ContentContainerComponentHarness,\n HarnessPredicate,\n TestKey,\n} from '@angular/cdk/testing';\nimport {DialogHarnessFilters} from './dialog-harness-filters';\nimport {DialogRole} from '../../dialog';\n\n/** Selectors for different sections of the mat-dialog that can contain user content. */\nexport enum MatDialogSection {\n TITLE = '.mat-mdc-dialog-title',\n CONTENT = '.mat-mdc-dialog-content',\n ACTIONS = '.mat-mdc-dialog-actions',\n}\n\n/** Harness for interacting with a standard `MatDialog` in tests. */\nexport class MatDialogHarness\n // @breaking-change 14.0.0 change generic type to MatDialogSection.\n extends ContentContainerComponentHarness<MatDialogSection | string>\n{\n /** The selector for the host element of a `MatDialog` instance. */\n static hostSelector = '.mat-mdc-dialog-container';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a dialog with specific attributes.\n * @param options Options for filtering which dialog instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatDialogHarness>(\n this: ComponentHarnessConstructor<T>,\n options: DialogHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options);\n }\n\n protected _title = this.locatorForOptional(MatDialogSection.TITLE);\n protected _content = this.locatorForOptional(MatDialogSection.CONTENT);\n protected _actions = this.locatorForOptional(MatDialogSection.ACTIONS);\n\n /** Gets the id of the dialog. */\n async getId(): Promise<string | null> {\n const id = await (await this.host()).getAttribute('id');\n // In case no id has been specified, the \"id\" property always returns\n // an empty string. To make this method more explicit, we return null.\n return id !== '' ? id : null;\n }\n\n /** Gets the role of the dialog. */\n async getRole(): Promise<DialogRole | null> {\n return (await this.host()).getAttribute('role') as Promise<DialogRole | null>;\n }\n\n /** Gets the value of the dialog's \"aria-label\" attribute. */\n async getAriaLabel(): Promise<string | null> {\n return (await this.host()).getAttribute('aria-label');\n }\n\n /** Gets the value of the dialog's \"aria-labelledby\" attribute. */\n async getAriaLabelledby(): Promise<string | null> {\n return (await this.host()).getAttribute('aria-labelledby');\n }\n\n /** Gets the value of the dialog's \"aria-describedby\" attribute. */\n async getAriaDescribedby(): Promise<string | null> {\n return (await this.host()).getAttribute('aria-describedby');\n }\n\n /**\n * Closes the dialog by pressing escape.\n *\n * Note: this method does nothing if `disableClose` has been set to `true` for the dialog.\n */\n async close(): Promise<void> {\n await (await this.host()).sendKeys(TestKey.ESCAPE);\n }\n\n /** Gets the dialog's text. */\n async getText() {\n return (await this.host()).text();\n }\n\n /** Gets the dialog's title text. This only works if the dialog is using mat-dialog-title. */\n async getTitleText() {\n return (await this._title())?.text() ?? '';\n }\n\n /** Gets the dialog's content text. This only works if the dialog is using mat-dialog-content. */\n async getContentText() {\n return (await this._content())?.text() ?? '';\n }\n\n /** Gets the dialog's actions text. This only works if the dialog is using mat-dialog-actions. */\n async getActionsText() {\n return (await this._actions())?.text() ?? '';\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {ComponentType} from '@angular/cdk/overlay';\nimport {\n ChangeDetectionStrategy,\n Component,\n NgModule,\n NgZone,\n OnDestroy,\n ViewEncapsulation,\n inject,\n} from '@angular/core';\nimport {MatDialog, MatDialogConfig, MatDialogModule, MatDialogRef} from '../../dialog';\nimport {Subscription} from 'rxjs';\nimport {AnimationsConfig, MATERIAL_ANIMATIONS} from '@angular/material/core';\n\n/** Test component that immediately opens a dialog when bootstrapped. */\n@Component({\n selector: 'mat-test-dialog-opener',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatTestDialogOpener<T = unknown, R = unknown> implements OnDestroy {\n dialog = inject(MatDialog);\n\n /** Component that should be opened with the MatDialog `open` method. */\n protected static component: ComponentType<unknown> | undefined;\n\n /** Config that should be provided to the MatDialog `open` method. */\n protected static config: MatDialogConfig | undefined;\n\n /** MatDialogRef returned from the MatDialog `open` method. */\n dialogRef: MatDialogRef<T, R>;\n\n /** Data passed to the `MatDialog` close method. */\n closedResult: R | undefined;\n\n private readonly _afterClosedSubscription: Subscription;\n\n private readonly _ngZone = inject(NgZone);\n\n /** Static method that prepares this class to open the provided component. */\n static withComponent<T = unknown, R = unknown>(\n component: ComponentType<T>,\n config?: MatDialogConfig,\n ) {\n MatTestDialogOpener.component = component;\n MatTestDialogOpener.config = config;\n return MatTestDialogOpener as ComponentType<MatTestDialogOpener<T, R>>;\n }\n\n constructor(...args: unknown[]);\n\n constructor() {\n if (!MatTestDialogOpener.component) {\n throw new Error(`MatTestDialogOpener does not have a component provided.`);\n }\n\n this.dialogRef = this._ngZone.run(() => {\n const config = {...(MatTestDialogOpener.config || {})};\n config.enterAnimationDuration = 0;\n config.exitAnimationDuration = 0;\n return this.dialog.open<T, R>(MatTestDialogOpener.component as ComponentType<T>, config);\n });\n this._afterClosedSubscription = this.dialogRef.afterClosed().subscribe(result => {\n this.closedResult = result;\n });\n }\n\n ngOnDestroy() {\n this._afterClosedSubscription.unsubscribe();\n MatTestDialogOpener.component = undefined;\n MatTestDialogOpener.config = undefined;\n }\n}\n\n@NgModule({\n imports: [MatDialogModule, MatTestDialogOpener],\n providers: [\n {\n provide: MATERIAL_ANIMATIONS,\n useValue: {\n animationsDisabled: true,\n } as AnimationsConfig,\n },\n ],\n})\nexport class MatTestDialogOpenerModule {}\n"],"names":["MatDialogSection","MatDialogHarness","ContentContainerComponentHarness","hostSelector","with","options","HarnessPredicate","_title","locatorForOptional","TITLE","_content","CONTENT","_actions","ACTIONS","getId","id","host","getAttribute","getRole","getAriaLabel","getAriaLabelledby","getAriaDescribedby","close","sendKeys","TestKey","ESCAPE","getText","text","getTitleText","getContentText","getActionsText","MatTestDialogOpener","dialog","inject","MatDialog","component","config","dialogRef","closedResult","_afterClosedSubscription","_ngZone","NgZone","withComponent","MatTestDialogOpener_1","constructor","Error","run","enterAnimationDuration","exitAnimationDuration","open","afterClosed","subscribe","result","ngOnDestroy","unsubscribe","undefined","__decorate","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","encapsulation","ViewEncapsulation","None","MatTestDialogOpenerModule","NgModule","imports","MatDialogModule","providers","provide","MATERIAL_ANIMATIONS","useValue","animationsDisabled"],"mappings":";;;;;;;;;;;;;;;;;;IAkBYA;AAAZ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AAA,OAAO,EAAEC,mBAAmB;AAC5BC,IAAAA,QAAQ,EAAE;AACRC,MAAAA,kBAAkB,EAAE;AACD;GACtB;CAEJ,CAAA,CACY,EAAAR,yBAAyB,CAAG;;;;"}
|
|
1
|
+
{"version":3,"file":"dialog-testing.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/dialog/testing/dialog-harness.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/dialog/testing/dialog-opener.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n ComponentHarnessConstructor,\n ContentContainerComponentHarness,\n HarnessPredicate,\n TestKey,\n} from '@angular/cdk/testing';\nimport {DialogHarnessFilters} from './dialog-harness-filters';\nimport {DialogRole} from '../../dialog';\n\n/** Selectors for different sections of the mat-dialog that can contain user content. */\nexport enum MatDialogSection {\n TITLE = '.mat-mdc-dialog-title',\n CONTENT = '.mat-mdc-dialog-content',\n ACTIONS = '.mat-mdc-dialog-actions',\n}\n\n/** Harness for interacting with a standard `MatDialog` in tests. */\nexport class MatDialogHarness\n // @breaking-change 14.0.0 change generic type to MatDialogSection.\n extends ContentContainerComponentHarness<MatDialogSection | string>\n{\n /** The selector for the host element of a `MatDialog` instance. */\n static hostSelector = '.mat-mdc-dialog-container';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a dialog with specific attributes.\n * @param options Options for filtering which dialog instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatDialogHarness>(\n this: ComponentHarnessConstructor<T>,\n options: DialogHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options);\n }\n\n protected _title = this.locatorForOptional(MatDialogSection.TITLE);\n protected _content = this.locatorForOptional(MatDialogSection.CONTENT);\n protected _actions = this.locatorForOptional(MatDialogSection.ACTIONS);\n\n /** Gets the id of the dialog. */\n async getId(): Promise<string | null> {\n const id = await (await this.host()).getAttribute('id');\n // In case no id has been specified, the \"id\" property always returns\n // an empty string. To make this method more explicit, we return null.\n return id !== '' ? id : null;\n }\n\n /** Gets the role of the dialog. */\n async getRole(): Promise<DialogRole | null> {\n return (await this.host()).getAttribute('role') as Promise<DialogRole | null>;\n }\n\n /** Gets the value of the dialog's \"aria-label\" attribute. */\n async getAriaLabel(): Promise<string | null> {\n return (await this.host()).getAttribute('aria-label');\n }\n\n /** Gets the value of the dialog's \"aria-labelledby\" attribute. */\n async getAriaLabelledby(): Promise<string | null> {\n return (await this.host()).getAttribute('aria-labelledby');\n }\n\n /** Gets the value of the dialog's \"aria-describedby\" attribute. */\n async getAriaDescribedby(): Promise<string | null> {\n return (await this.host()).getAttribute('aria-describedby');\n }\n\n /**\n * Closes the dialog by pressing escape.\n *\n * Note: this method does nothing if `disableClose` has been set to `true` for the dialog.\n */\n async close(): Promise<void> {\n await (await this.host()).sendKeys(TestKey.ESCAPE);\n }\n\n /** Gets the dialog's text. */\n async getText() {\n return (await this.host()).text();\n }\n\n /** Gets the dialog's title text. This only works if the dialog is using mat-dialog-title. */\n async getTitleText() {\n return (await this._title())?.text() ?? '';\n }\n\n /** Gets the dialog's content text. This only works if the dialog is using mat-dialog-content. */\n async getContentText() {\n return (await this._content())?.text() ?? '';\n }\n\n /** Gets the dialog's actions text. This only works if the dialog is using mat-dialog-actions. */\n async getActionsText() {\n return (await this._actions())?.text() ?? '';\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {ComponentType} from '@angular/cdk/overlay';\nimport {\n ChangeDetectionStrategy,\n Component,\n NgModule,\n NgZone,\n OnDestroy,\n ViewEncapsulation,\n inject,\n} from '@angular/core';\nimport {MatDialog, MatDialogConfig, MatDialogModule, MatDialogRef} from '../../dialog';\nimport {Subscription} from 'rxjs';\nimport {AnimationsConfig, MATERIAL_ANIMATIONS} from '@angular/material/core';\n\n/** Test component that immediately opens a dialog when bootstrapped. */\n@Component({\n selector: 'mat-test-dialog-opener',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatTestDialogOpener<T = unknown, R = unknown> implements OnDestroy {\n dialog = inject(MatDialog);\n\n /** Component that should be opened with the MatDialog `open` method. */\n protected static component: ComponentType<unknown> | undefined;\n\n /** Config that should be provided to the MatDialog `open` method. */\n protected static config: MatDialogConfig | undefined;\n\n /** MatDialogRef returned from the MatDialog `open` method. */\n dialogRef: MatDialogRef<T, R>;\n\n /** Data passed to the `MatDialog` close method. */\n closedResult: R | undefined;\n\n private readonly _afterClosedSubscription: Subscription;\n\n private readonly _ngZone = inject(NgZone);\n\n /** Static method that prepares this class to open the provided component. */\n static withComponent<T = unknown, R = unknown>(\n component: ComponentType<T>,\n config?: MatDialogConfig,\n ) {\n MatTestDialogOpener.component = component;\n MatTestDialogOpener.config = config;\n return MatTestDialogOpener as ComponentType<MatTestDialogOpener<T, R>>;\n }\n\n constructor() {\n if (!MatTestDialogOpener.component) {\n throw new Error(`MatTestDialogOpener does not have a component provided.`);\n }\n\n this.dialogRef = this._ngZone.run(() => {\n const config = {...(MatTestDialogOpener.config || {})};\n config.enterAnimationDuration = 0;\n config.exitAnimationDuration = 0;\n return this.dialog.open<T, R>(MatTestDialogOpener.component as ComponentType<T>, config);\n });\n this._afterClosedSubscription = this.dialogRef.afterClosed().subscribe(result => {\n this.closedResult = result;\n });\n }\n\n ngOnDestroy() {\n this._afterClosedSubscription.unsubscribe();\n MatTestDialogOpener.component = undefined;\n MatTestDialogOpener.config = undefined;\n }\n}\n\n@NgModule({\n imports: [MatDialogModule, MatTestDialogOpener],\n providers: [\n {\n provide: MATERIAL_ANIMATIONS,\n useValue: {\n animationsDisabled: true,\n } as AnimationsConfig,\n },\n ],\n})\nexport class MatTestDialogOpenerModule {}\n"],"names":["MatDialogSection","MatDialogHarness","ContentContainerComponentHarness","hostSelector","with","options","HarnessPredicate","_title","locatorForOptional","TITLE","_content","CONTENT","_actions","ACTIONS","getId","id","host","getAttribute","getRole","getAriaLabel","getAriaLabelledby","getAriaDescribedby","close","sendKeys","TestKey","ESCAPE","getText","text","getTitleText","getContentText","getActionsText","MatTestDialogOpener","dialog","inject","MatDialog","component","config","dialogRef","closedResult","_afterClosedSubscription","_ngZone","NgZone","withComponent","MatTestDialogOpener_1","constructor","Error","run","enterAnimationDuration","exitAnimationDuration","open","afterClosed","subscribe","result","ngOnDestroy","unsubscribe","undefined","__decorate","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","encapsulation","ViewEncapsulation","None","MatTestDialogOpenerModule","NgModule","imports","MatDialogModule","providers","provide","MATERIAL_ANIMATIONS","useValue","animationsDisabled"],"mappings":";;;;;;;;;;;;;;;;;;IAkBYA;AAAZ,CAAA,UAAYA,gBAAgB,EAAA;AAC1BA,EAAAA,gBAAA,CAAA,OAAA,CAAA,GAAA,uBAA+B;AAC/BA,EAAAA,gBAAA,CAAA,SAAA,CAAA,GAAA,yBAAmC;AACnCA,EAAAA,gBAAA,CAAA,SAAA,CAAA,GAAA,yBAAmC;AACrC,CAAC,EAJWA,gBAAgB,KAAhBA,gBAAgB,GAAA,EAAA,CAAA,CAAA;MAOfC,gBAAA,SAEHC,gCAA2D,CAAA;EAGnE,OAAOC,YAAY,GAAG,2BAA2B;AAOjD,EAAA,OAAOC,IAAIA,CAETC,OAAA,GAAgC,EAAE,EAAA;AAElC,IAAA,OAAO,IAAIC,gBAAgB,CAAC,IAAI,EAAED,OAAO,CAAC;AAC5C,EAAA;EAEUE,MAAM,GAAG,IAAI,CAACC,kBAAkB,CAACR,gBAAgB,CAACS,KAAK,CAAC;EACxDC,QAAQ,GAAG,IAAI,CAACF,kBAAkB,CAACR,gBAAgB,CAACW,OAAO,CAAC;EAC5DC,QAAQ,GAAG,IAAI,CAACJ,kBAAkB,CAACR,gBAA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AACJ,EAAA;AAEAC,EAAAA,WAAWA,GAAA;AACT,IAAA,IAAI,CAACd,wBAAwB,CAACe,WAAW,EAAE;IAC3CX,qBAAmB,CAACR,SAAS,GAAGoB,SAAS;IACzCZ,qBAAmB,CAACP,MAAM,GAAGmB,SAAS;AACxC,EAAA;;AAjDWxB,mBAAmB,GAAAY,qBAAA,GAAAa,UAAA,CAAA,CAN/BC,SAAS,CAAC;AACTC,EAAAA,QAAQ,EAAE,wBAAwB;AAClCC,EAAAA,QAAQ,EAAE,EAAE;EACZC,eAAe,EAAEC,uBAAuB,CAACC,MAAM;EAC/CC,aAAa,EAAEC,iBAAiB,CAACC;CAClC,CAAC,sCACW,EAAAlC,mBAAmB,CAkD/B;AAaM,IAAMmC,yBAAyB,GAA/B,MAAMA,yBAAyB,CAAA;AAAzBA,yBAAyB,GAAAV,UAAA,CAAA,CAXrCW,QAAQ,CAAC;AACRC,EAAAA,OAAO,EAAE,CAACC,eAAe,EAAEtC,mBAAmB,CAAC;AAC/CuC,EAAAA,SAAS,EAAE,CACT;AACEC,IAAAA,OAAO,EAAEC,mBAAmB;AAC5BC,IAAAA,QAAQ,EAAE;AACRC,MAAAA,kBAAkB,EAAE;AACD;GACtB;CAEJ,CAAA,CACY,EAAAR,yBAAyB,CAAG;;;;"}
|
package/fesm2022/dialog.mjs
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, InjectionToken, inject, Injector, Injectable, ElementRef, Directive, Input, NgModule } from '@angular/core';
|
|
3
|
-
import { _IdGenerator } from '@angular/cdk/a11y';
|
|
4
|
-
import * as i1 from '@angular/cdk/scrolling';
|
|
5
|
-
import { CdkScrollable } from '@angular/cdk/scrolling';
|
|
6
1
|
import { createBlockScrollStrategy, createGlobalPositionStrategy, OverlayModule } from '@angular/cdk/overlay';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { EventEmitter, ChangeDetectionStrategy, ViewEncapsulation, Component, InjectionToken, inject, Injector, Injectable, ElementRef, Input, Directive, NgModule } from '@angular/core';
|
|
7
4
|
import { CdkDialogContainer, Dialog, DialogConfig, DialogModule } from '@angular/cdk/dialog';
|
|
8
5
|
import { coerceNumberProperty } from '@angular/cdk/coercion';
|
|
9
6
|
import { CdkPortalOutlet, PortalModule } from '@angular/cdk/portal';
|
|
@@ -11,6 +8,9 @@ import { _animationsDisabled } from './_animation-chunk.mjs';
|
|
|
11
8
|
import { ReplaySubject, merge, Subject, defer } from 'rxjs';
|
|
12
9
|
import { filter, take, startWith } from 'rxjs/operators';
|
|
13
10
|
import { ESCAPE, hasModifierKey } from '@angular/cdk/keycodes';
|
|
11
|
+
import { _IdGenerator } from '@angular/cdk/a11y';
|
|
12
|
+
import * as i1 from '@angular/cdk/scrolling';
|
|
13
|
+
import { CdkScrollable } from '@angular/cdk/scrolling';
|
|
14
14
|
import { BidiModule } from '@angular/cdk/bidi';
|
|
15
15
|
import '@angular/cdk/layout';
|
|
16
16
|
|
|
@@ -151,7 +151,7 @@ class MatDialogContainer extends CdkDialogContainer {
|
|
|
151
151
|
}
|
|
152
152
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
153
153
|
minVersion: "12.0.0",
|
|
154
|
-
version: "22.0.0-next.
|
|
154
|
+
version: "22.0.0-next.6",
|
|
155
155
|
ngImport: i0,
|
|
156
156
|
type: MatDialogContainer,
|
|
157
157
|
deps: null,
|
|
@@ -159,7 +159,7 @@ class MatDialogContainer extends CdkDialogContainer {
|
|
|
159
159
|
});
|
|
160
160
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
161
161
|
minVersion: "14.0.0",
|
|
162
|
-
version: "22.0.0-next.
|
|
162
|
+
version: "22.0.0-next.6",
|
|
163
163
|
type: MatDialogContainer,
|
|
164
164
|
isStandalone: true,
|
|
165
165
|
selector: "mat-dialog-container",
|
|
@@ -182,7 +182,7 @@ class MatDialogContainer extends CdkDialogContainer {
|
|
|
182
182
|
usesInheritance: true,
|
|
183
183
|
ngImport: i0,
|
|
184
184
|
template: "<div class=\"mat-mdc-dialog-inner-container mdc-dialog__container\">\n <div class=\"mat-mdc-dialog-surface mdc-dialog__surface\">\n <ng-template cdkPortalOutlet />\n </div>\n</div>\n",
|
|
185
|
-
styles: [".mat-mdc-dialog-container{width:100
|
|
185
|
+
styles: [".mat-mdc-dialog-container {\n width: 100%;\n height: 100%;\n display: block;\n box-sizing: border-box;\n max-height: inherit;\n min-height: inherit;\n min-width: inherit;\n max-width: inherit;\n outline: 0;\n}\n\n.cdk-overlay-pane.mat-mdc-dialog-panel {\n max-width: var(--mat-dialog-container-max-width, 560px);\n min-width: var(--mat-dialog-container-min-width, 280px);\n}\n@media (max-width: 599px) {\n .cdk-overlay-pane.mat-mdc-dialog-panel {\n max-width: var(--mat-dialog-container-small-max-width, calc(100vw - 32px));\n }\n}\n\n.mat-mdc-dialog-inner-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-around;\n box-sizing: border-box;\n height: 100%;\n opacity: 0;\n transition: opacity linear var(--mat-dialog-transition-duration, 0ms);\n max-height: inherit;\n min-height: inherit;\n min-width: inherit;\n max-width: inherit;\n}\n.mdc-dialog--closing .mat-mdc-dialog-inner-container {\n transition: opacity 75ms linear;\n transform: none;\n}\n.mdc-dialog--open .mat-mdc-dialog-inner-container {\n opacity: 1;\n}\n._mat-animation-noopable .mat-mdc-dialog-inner-container {\n transition: none;\n}\n\n.mat-mdc-dialog-surface {\n display: flex;\n flex-direction: column;\n flex-grow: 0;\n flex-shrink: 0;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n position: relative;\n overflow-y: auto;\n outline: 0;\n transform: scale(0.8);\n transition: transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);\n max-height: inherit;\n min-height: inherit;\n min-width: inherit;\n max-width: inherit;\n box-shadow: var(--mat-dialog-container-elevation-shadow, none);\n border-radius: var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));\n background-color: var(--mat-dialog-container-color, var(--mat-sys-surface, white));\n}\n[dir=rtl] .mat-mdc-dialog-surface {\n text-align: right;\n}\n.mdc-dialog--open .mat-mdc-dialog-surface, .mdc-dialog--closing .mat-mdc-dialog-surface {\n transform: none;\n}\n._mat-animation-noopable .mat-mdc-dialog-surface {\n transition: none;\n}\n.mat-mdc-dialog-surface::before {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border: 2px solid transparent;\n border-radius: inherit;\n content: \"\";\n pointer-events: none;\n}\n\n.mat-mdc-dialog-title {\n display: block;\n position: relative;\n flex-shrink: 0;\n box-sizing: border-box;\n margin: 0 0 1px;\n padding: var(--mat-dialog-headline-padding, 6px 24px 13px);\n}\n.mat-mdc-dialog-title::before {\n display: inline-block;\n width: 0;\n height: 40px;\n content: \"\";\n vertical-align: 0;\n}\n[dir=rtl] .mat-mdc-dialog-title {\n text-align: right;\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-title {\n color: var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));\n font-family: var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));\n line-height: var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));\n font-size: var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));\n font-weight: var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));\n letter-spacing: var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em));\n}\n\n.mat-mdc-dialog-content {\n display: block;\n flex-grow: 1;\n box-sizing: border-box;\n margin: 0;\n overflow: auto;\n max-height: 65vh;\n}\n.mat-mdc-dialog-content > :first-child {\n margin-top: 0;\n}\n.mat-mdc-dialog-content > :last-child {\n margin-bottom: 0;\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-content {\n color: var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));\n font-family: var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));\n line-height: var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));\n font-size: var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));\n font-weight: var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));\n letter-spacing: var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em));\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-content {\n padding: var(--mat-dialog-content-padding, 20px 24px);\n}\n.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content {\n padding: var(--mat-dialog-with-actions-content-padding, 20px 24px 0);\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-title + .mat-mdc-dialog-content {\n padding-top: 0;\n}\n\n.mat-mdc-dialog-actions {\n display: flex;\n position: relative;\n flex-shrink: 0;\n flex-wrap: wrap;\n align-items: center;\n box-sizing: border-box;\n min-height: 52px;\n margin: 0;\n border-top: 1px solid transparent;\n padding: var(--mat-dialog-actions-padding, 16px 24px);\n justify-content: var(--mat-dialog-actions-alignment, flex-end);\n}\n@media (forced-colors: active) {\n .mat-mdc-dialog-actions {\n border-top-color: CanvasText;\n }\n}\n.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start, .mat-mdc-dialog-actions[align=start] {\n justify-content: start;\n}\n.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center, .mat-mdc-dialog-actions[align=center] {\n justify-content: center;\n}\n.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end, .mat-mdc-dialog-actions[align=end] {\n justify-content: flex-end;\n}\n.mat-mdc-dialog-actions .mat-button-base + .mat-button-base,\n.mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {\n margin-left: 8px;\n}\n[dir=rtl] .mat-mdc-dialog-actions .mat-button-base + .mat-button-base,\n[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {\n margin-left: 0;\n margin-right: 8px;\n}\n\n.mat-mdc-dialog-component-host {\n display: contents;\n}\n"],
|
|
186
186
|
dependencies: [{
|
|
187
187
|
kind: "directive",
|
|
188
188
|
type: CdkPortalOutlet,
|
|
@@ -197,7 +197,7 @@ class MatDialogContainer extends CdkDialogContainer {
|
|
|
197
197
|
}
|
|
198
198
|
i0.ɵɵngDeclareClassMetadata({
|
|
199
199
|
minVersion: "12.0.0",
|
|
200
|
-
version: "22.0.0-next.
|
|
200
|
+
version: "22.0.0-next.6",
|
|
201
201
|
ngImport: i0,
|
|
202
202
|
type: MatDialogContainer,
|
|
203
203
|
decorators: [{
|
|
@@ -220,7 +220,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
220
220
|
'[class.mat-mdc-dialog-container-with-actions]': '_actionSectionCount > 0'
|
|
221
221
|
},
|
|
222
222
|
template: "<div class=\"mat-mdc-dialog-inner-container mdc-dialog__container\">\n <div class=\"mat-mdc-dialog-surface mdc-dialog__surface\">\n <ng-template cdkPortalOutlet />\n </div>\n</div>\n",
|
|
223
|
-
styles: [".mat-mdc-dialog-container{width:100
|
|
223
|
+
styles: [".mat-mdc-dialog-container {\n width: 100%;\n height: 100%;\n display: block;\n box-sizing: border-box;\n max-height: inherit;\n min-height: inherit;\n min-width: inherit;\n max-width: inherit;\n outline: 0;\n}\n\n.cdk-overlay-pane.mat-mdc-dialog-panel {\n max-width: var(--mat-dialog-container-max-width, 560px);\n min-width: var(--mat-dialog-container-min-width, 280px);\n}\n@media (max-width: 599px) {\n .cdk-overlay-pane.mat-mdc-dialog-panel {\n max-width: var(--mat-dialog-container-small-max-width, calc(100vw - 32px));\n }\n}\n\n.mat-mdc-dialog-inner-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-around;\n box-sizing: border-box;\n height: 100%;\n opacity: 0;\n transition: opacity linear var(--mat-dialog-transition-duration, 0ms);\n max-height: inherit;\n min-height: inherit;\n min-width: inherit;\n max-width: inherit;\n}\n.mdc-dialog--closing .mat-mdc-dialog-inner-container {\n transition: opacity 75ms linear;\n transform: none;\n}\n.mdc-dialog--open .mat-mdc-dialog-inner-container {\n opacity: 1;\n}\n._mat-animation-noopable .mat-mdc-dialog-inner-container {\n transition: none;\n}\n\n.mat-mdc-dialog-surface {\n display: flex;\n flex-direction: column;\n flex-grow: 0;\n flex-shrink: 0;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n position: relative;\n overflow-y: auto;\n outline: 0;\n transform: scale(0.8);\n transition: transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);\n max-height: inherit;\n min-height: inherit;\n min-width: inherit;\n max-width: inherit;\n box-shadow: var(--mat-dialog-container-elevation-shadow, none);\n border-radius: var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));\n background-color: var(--mat-dialog-container-color, var(--mat-sys-surface, white));\n}\n[dir=rtl] .mat-mdc-dialog-surface {\n text-align: right;\n}\n.mdc-dialog--open .mat-mdc-dialog-surface, .mdc-dialog--closing .mat-mdc-dialog-surface {\n transform: none;\n}\n._mat-animation-noopable .mat-mdc-dialog-surface {\n transition: none;\n}\n.mat-mdc-dialog-surface::before {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border: 2px solid transparent;\n border-radius: inherit;\n content: \"\";\n pointer-events: none;\n}\n\n.mat-mdc-dialog-title {\n display: block;\n position: relative;\n flex-shrink: 0;\n box-sizing: border-box;\n margin: 0 0 1px;\n padding: var(--mat-dialog-headline-padding, 6px 24px 13px);\n}\n.mat-mdc-dialog-title::before {\n display: inline-block;\n width: 0;\n height: 40px;\n content: \"\";\n vertical-align: 0;\n}\n[dir=rtl] .mat-mdc-dialog-title {\n text-align: right;\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-title {\n color: var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));\n font-family: var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));\n line-height: var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));\n font-size: var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));\n font-weight: var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));\n letter-spacing: var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em));\n}\n\n.mat-mdc-dialog-content {\n display: block;\n flex-grow: 1;\n box-sizing: border-box;\n margin: 0;\n overflow: auto;\n max-height: 65vh;\n}\n.mat-mdc-dialog-content > :first-child {\n margin-top: 0;\n}\n.mat-mdc-dialog-content > :last-child {\n margin-bottom: 0;\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-content {\n color: var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));\n font-family: var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));\n line-height: var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));\n font-size: var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));\n font-weight: var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));\n letter-spacing: var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em));\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-content {\n padding: var(--mat-dialog-content-padding, 20px 24px);\n}\n.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content {\n padding: var(--mat-dialog-with-actions-content-padding, 20px 24px 0);\n}\n.mat-mdc-dialog-container .mat-mdc-dialog-title + .mat-mdc-dialog-content {\n padding-top: 0;\n}\n\n.mat-mdc-dialog-actions {\n display: flex;\n position: relative;\n flex-shrink: 0;\n flex-wrap: wrap;\n align-items: center;\n box-sizing: border-box;\n min-height: 52px;\n margin: 0;\n border-top: 1px solid transparent;\n padding: var(--mat-dialog-actions-padding, 16px 24px);\n justify-content: var(--mat-dialog-actions-alignment, flex-end);\n}\n@media (forced-colors: active) {\n .mat-mdc-dialog-actions {\n border-top-color: CanvasText;\n }\n}\n.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start, .mat-mdc-dialog-actions[align=start] {\n justify-content: start;\n}\n.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center, .mat-mdc-dialog-actions[align=center] {\n justify-content: center;\n}\n.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end, .mat-mdc-dialog-actions[align=end] {\n justify-content: flex-end;\n}\n.mat-mdc-dialog-actions .mat-button-base + .mat-button-base,\n.mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {\n margin-left: 8px;\n}\n[dir=rtl] .mat-mdc-dialog-actions .mat-button-base + .mat-button-base,\n[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {\n margin-left: 0;\n margin-right: 8px;\n}\n\n.mat-mdc-dialog-component-host {\n display: contents;\n}\n"]
|
|
224
224
|
}]
|
|
225
225
|
}]
|
|
226
226
|
});
|
|
@@ -487,7 +487,7 @@ class MatDialog {
|
|
|
487
487
|
}
|
|
488
488
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
489
489
|
minVersion: "12.0.0",
|
|
490
|
-
version: "22.0.0-next.
|
|
490
|
+
version: "22.0.0-next.6",
|
|
491
491
|
ngImport: i0,
|
|
492
492
|
type: MatDialog,
|
|
493
493
|
deps: [],
|
|
@@ -495,7 +495,7 @@ class MatDialog {
|
|
|
495
495
|
});
|
|
496
496
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
497
497
|
minVersion: "12.0.0",
|
|
498
|
-
version: "22.0.0-next.
|
|
498
|
+
version: "22.0.0-next.6",
|
|
499
499
|
ngImport: i0,
|
|
500
500
|
type: MatDialog,
|
|
501
501
|
providedIn: 'root'
|
|
@@ -503,7 +503,7 @@ class MatDialog {
|
|
|
503
503
|
}
|
|
504
504
|
i0.ɵɵngDeclareClassMetadata({
|
|
505
505
|
minVersion: "12.0.0",
|
|
506
|
-
version: "22.0.0-next.
|
|
506
|
+
version: "22.0.0-next.6",
|
|
507
507
|
ngImport: i0,
|
|
508
508
|
type: MatDialog,
|
|
509
509
|
decorators: [{
|
|
@@ -525,7 +525,6 @@ class MatDialogClose {
|
|
|
525
525
|
type = 'button';
|
|
526
526
|
dialogResult;
|
|
527
527
|
_matDialogClose;
|
|
528
|
-
constructor() {}
|
|
529
528
|
ngOnInit() {
|
|
530
529
|
if (!this.dialogRef) {
|
|
531
530
|
this.dialogRef = getClosestDialog(this._elementRef, this._dialog.openDialogs);
|
|
@@ -542,7 +541,7 @@ class MatDialogClose {
|
|
|
542
541
|
}
|
|
543
542
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
544
543
|
minVersion: "12.0.0",
|
|
545
|
-
version: "22.0.0-next.
|
|
544
|
+
version: "22.0.0-next.6",
|
|
546
545
|
ngImport: i0,
|
|
547
546
|
type: MatDialogClose,
|
|
548
547
|
deps: [],
|
|
@@ -550,7 +549,7 @@ class MatDialogClose {
|
|
|
550
549
|
});
|
|
551
550
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
552
551
|
minVersion: "14.0.0",
|
|
553
|
-
version: "22.0.0-next.
|
|
552
|
+
version: "22.0.0-next.6",
|
|
554
553
|
type: MatDialogClose,
|
|
555
554
|
isStandalone: true,
|
|
556
555
|
selector: "[mat-dialog-close], [matDialogClose]",
|
|
@@ -576,7 +575,7 @@ class MatDialogClose {
|
|
|
576
575
|
}
|
|
577
576
|
i0.ɵɵngDeclareClassMetadata({
|
|
578
577
|
minVersion: "12.0.0",
|
|
579
|
-
version: "22.0.0-next.
|
|
578
|
+
version: "22.0.0-next.6",
|
|
580
579
|
ngImport: i0,
|
|
581
580
|
type: MatDialogClose,
|
|
582
581
|
decorators: [{
|
|
@@ -591,7 +590,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
591
590
|
}
|
|
592
591
|
}]
|
|
593
592
|
}],
|
|
594
|
-
ctorParameters: () => [],
|
|
595
593
|
propDecorators: {
|
|
596
594
|
ariaLabel: [{
|
|
597
595
|
type: Input,
|
|
@@ -616,7 +614,6 @@ class MatDialogLayoutSection {
|
|
|
616
614
|
});
|
|
617
615
|
_elementRef = inject(ElementRef);
|
|
618
616
|
_dialog = inject(MatDialog);
|
|
619
|
-
constructor() {}
|
|
620
617
|
ngOnInit() {
|
|
621
618
|
if (!this._dialogRef) {
|
|
622
619
|
this._dialogRef = getClosestDialog(this._elementRef, this._dialog.openDialogs);
|
|
@@ -637,7 +634,7 @@ class MatDialogLayoutSection {
|
|
|
637
634
|
}
|
|
638
635
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
639
636
|
minVersion: "12.0.0",
|
|
640
|
-
version: "22.0.0-next.
|
|
637
|
+
version: "22.0.0-next.6",
|
|
641
638
|
ngImport: i0,
|
|
642
639
|
type: MatDialogLayoutSection,
|
|
643
640
|
deps: [],
|
|
@@ -645,7 +642,7 @@ class MatDialogLayoutSection {
|
|
|
645
642
|
});
|
|
646
643
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
647
644
|
minVersion: "14.0.0",
|
|
648
|
-
version: "22.0.0-next.
|
|
645
|
+
version: "22.0.0-next.6",
|
|
649
646
|
type: MatDialogLayoutSection,
|
|
650
647
|
isStandalone: true,
|
|
651
648
|
ngImport: i0
|
|
@@ -653,13 +650,12 @@ class MatDialogLayoutSection {
|
|
|
653
650
|
}
|
|
654
651
|
i0.ɵɵngDeclareClassMetadata({
|
|
655
652
|
minVersion: "12.0.0",
|
|
656
|
-
version: "22.0.0-next.
|
|
653
|
+
version: "22.0.0-next.6",
|
|
657
654
|
ngImport: i0,
|
|
658
655
|
type: MatDialogLayoutSection,
|
|
659
656
|
decorators: [{
|
|
660
657
|
type: Directive
|
|
661
|
-
}]
|
|
662
|
-
ctorParameters: () => []
|
|
658
|
+
}]
|
|
663
659
|
});
|
|
664
660
|
class MatDialogTitle extends MatDialogLayoutSection {
|
|
665
661
|
id = inject(_IdGenerator).getId('mat-mdc-dialog-title-');
|
|
@@ -671,7 +667,7 @@ class MatDialogTitle extends MatDialogLayoutSection {
|
|
|
671
667
|
}
|
|
672
668
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
673
669
|
minVersion: "12.0.0",
|
|
674
|
-
version: "22.0.0-next.
|
|
670
|
+
version: "22.0.0-next.6",
|
|
675
671
|
ngImport: i0,
|
|
676
672
|
type: MatDialogTitle,
|
|
677
673
|
deps: null,
|
|
@@ -679,7 +675,7 @@ class MatDialogTitle extends MatDialogLayoutSection {
|
|
|
679
675
|
});
|
|
680
676
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
681
677
|
minVersion: "14.0.0",
|
|
682
|
-
version: "22.0.0-next.
|
|
678
|
+
version: "22.0.0-next.6",
|
|
683
679
|
type: MatDialogTitle,
|
|
684
680
|
isStandalone: true,
|
|
685
681
|
selector: "[mat-dialog-title], [matDialogTitle]",
|
|
@@ -699,7 +695,7 @@ class MatDialogTitle extends MatDialogLayoutSection {
|
|
|
699
695
|
}
|
|
700
696
|
i0.ɵɵngDeclareClassMetadata({
|
|
701
697
|
minVersion: "12.0.0",
|
|
702
|
-
version: "22.0.0-next.
|
|
698
|
+
version: "22.0.0-next.6",
|
|
703
699
|
ngImport: i0,
|
|
704
700
|
type: MatDialogTitle,
|
|
705
701
|
decorators: [{
|
|
@@ -722,7 +718,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
722
718
|
class MatDialogContent {
|
|
723
719
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
724
720
|
minVersion: "12.0.0",
|
|
725
|
-
version: "22.0.0-next.
|
|
721
|
+
version: "22.0.0-next.6",
|
|
726
722
|
ngImport: i0,
|
|
727
723
|
type: MatDialogContent,
|
|
728
724
|
deps: [],
|
|
@@ -730,7 +726,7 @@ class MatDialogContent {
|
|
|
730
726
|
});
|
|
731
727
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
732
728
|
minVersion: "14.0.0",
|
|
733
|
-
version: "22.0.0-next.
|
|
729
|
+
version: "22.0.0-next.6",
|
|
734
730
|
type: MatDialogContent,
|
|
735
731
|
isStandalone: true,
|
|
736
732
|
selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]",
|
|
@@ -745,7 +741,7 @@ class MatDialogContent {
|
|
|
745
741
|
}
|
|
746
742
|
i0.ɵɵngDeclareClassMetadata({
|
|
747
743
|
minVersion: "12.0.0",
|
|
748
|
-
version: "22.0.0-next.
|
|
744
|
+
version: "22.0.0-next.6",
|
|
749
745
|
ngImport: i0,
|
|
750
746
|
type: MatDialogContent,
|
|
751
747
|
decorators: [{
|
|
@@ -769,7 +765,7 @@ class MatDialogActions extends MatDialogLayoutSection {
|
|
|
769
765
|
}
|
|
770
766
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
771
767
|
minVersion: "12.0.0",
|
|
772
|
-
version: "22.0.0-next.
|
|
768
|
+
version: "22.0.0-next.6",
|
|
773
769
|
ngImport: i0,
|
|
774
770
|
type: MatDialogActions,
|
|
775
771
|
deps: null,
|
|
@@ -777,7 +773,7 @@ class MatDialogActions extends MatDialogLayoutSection {
|
|
|
777
773
|
});
|
|
778
774
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
779
775
|
minVersion: "14.0.0",
|
|
780
|
-
version: "22.0.0-next.
|
|
776
|
+
version: "22.0.0-next.6",
|
|
781
777
|
type: MatDialogActions,
|
|
782
778
|
isStandalone: true,
|
|
783
779
|
selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]",
|
|
@@ -798,7 +794,7 @@ class MatDialogActions extends MatDialogLayoutSection {
|
|
|
798
794
|
}
|
|
799
795
|
i0.ɵɵngDeclareClassMetadata({
|
|
800
796
|
minVersion: "12.0.0",
|
|
801
|
-
version: "22.0.0-next.
|
|
797
|
+
version: "22.0.0-next.6",
|
|
802
798
|
ngImport: i0,
|
|
803
799
|
type: MatDialogActions,
|
|
804
800
|
decorators: [{
|
|
@@ -831,7 +827,7 @@ const DIRECTIVES = [MatDialogContainer, MatDialogClose, MatDialogTitle, MatDialo
|
|
|
831
827
|
class MatDialogModule {
|
|
832
828
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
833
829
|
minVersion: "12.0.0",
|
|
834
|
-
version: "22.0.0-next.
|
|
830
|
+
version: "22.0.0-next.6",
|
|
835
831
|
ngImport: i0,
|
|
836
832
|
type: MatDialogModule,
|
|
837
833
|
deps: [],
|
|
@@ -839,7 +835,7 @@ class MatDialogModule {
|
|
|
839
835
|
});
|
|
840
836
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
841
837
|
minVersion: "14.0.0",
|
|
842
|
-
version: "22.0.0-next.
|
|
838
|
+
version: "22.0.0-next.6",
|
|
843
839
|
ngImport: i0,
|
|
844
840
|
type: MatDialogModule,
|
|
845
841
|
imports: [DialogModule, OverlayModule, PortalModule, MatDialogContainer, MatDialogClose, MatDialogTitle, MatDialogActions, MatDialogContent],
|
|
@@ -847,7 +843,7 @@ class MatDialogModule {
|
|
|
847
843
|
});
|
|
848
844
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
849
845
|
minVersion: "12.0.0",
|
|
850
|
-
version: "22.0.0-next.
|
|
846
|
+
version: "22.0.0-next.6",
|
|
851
847
|
ngImport: i0,
|
|
852
848
|
type: MatDialogModule,
|
|
853
849
|
providers: [MatDialog],
|
|
@@ -856,7 +852,7 @@ class MatDialogModule {
|
|
|
856
852
|
}
|
|
857
853
|
i0.ɵɵngDeclareClassMetadata({
|
|
858
854
|
minVersion: "12.0.0",
|
|
859
|
-
version: "22.0.0-next.
|
|
855
|
+
version: "22.0.0-next.6",
|
|
860
856
|
ngImport: i0,
|
|
861
857
|
type: MatDialogModule,
|
|
862
858
|
decorators: [{
|