@angular/material 22.0.0-next.6 → 22.0.0-next.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/_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 +21 -21
- package/fesm2022/_error-options-chunk.mjs.map +1 -1
- package/fesm2022/_error-state-chunk.mjs.map +1 -1
- package/fesm2022/_form-field-chunk.mjs +30 -30
- package/fesm2022/_form-field-chunk.mjs.map +1 -1
- package/fesm2022/_icon-button-chunk.mjs +6 -6
- package/fesm2022/_icon-button-chunk.mjs.map +1 -1
- package/fesm2022/_icon-registry-chunk.mjs +3 -3
- package/fesm2022/_icon-registry-chunk.mjs.map +1 -1
- package/fesm2022/_input-harness-chunk.mjs.map +1 -1
- package/fesm2022/_input-value-accessor-chunk.mjs.map +1 -1
- package/fesm2022/_internal-form-field-chunk.mjs +3 -3
- 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 +6 -6
- 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 +3 -3
- 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 +6 -6
- package/fesm2022/_ripple-chunk.mjs.map +1 -1
- package/fesm2022/_ripple-loader-chunk.mjs +9 -13
- 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 +3 -3
- package/fesm2022/_structural-styles-chunk.mjs.map +1 -1
- package/fesm2022/_tooltip-chunk.mjs +6 -6
- package/fesm2022/_tooltip-chunk.mjs.map +1 -1
- package/fesm2022/autocomplete-testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +13 -13
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge-testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +10 -10
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet-testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +17 -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 +10 -10
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +13 -13
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card-testing.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox-testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +7 -7
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips-testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +46 -46
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core-testing.mjs.map +1 -1
- package/fesm2022/core.mjs +22 -18
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker-testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +88 -92
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog-testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +32 -35
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider-testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion-testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +25 -25
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field-testing-control.mjs.map +1 -1
- package/fesm2022/form-field-testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +4 -4
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list-testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +22 -22
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon-testing.mjs +17 -13
- package/fesm2022/icon-testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +7 -7
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input-testing.mjs.map +1 -1
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list-testing.mjs.map +1 -1
- package/fesm2022/list.mjs +49 -59
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/material.mjs.map +1 -1
- package/fesm2022/menu-testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +26 -23
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator-testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +16 -20
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar-testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +7 -7
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner-testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +7 -7
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio-testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +10 -10
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select-testing.mjs.map +1 -1
- package/fesm2022/select.mjs +10 -10
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav-testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +22 -22
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle-testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +7 -7
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider-testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +16 -16
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar-testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +28 -32
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort-testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +19 -23
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper-testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +51 -43
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table-testing.mjs.map +1 -1
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs-testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +43 -43
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker-testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +13 -13
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar-testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +10 -10
- 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 +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +2 -2
- package/schematics/ng-add/index.js +1 -1
- package/types/_dialog-chunk.d.ts +6 -1
- package/types/bottom-sheet.d.ts +6 -1
- package/types/list.d.ts +2 -10
- package/types/menu.d.ts +1 -0
- package/types/sort.d.ts +0 -23
- package/types/stepper.d.ts +5 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-testing.mjs","sources":["../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/src/material/dialog/testing/dialog-harness.ts","../../../../../k8-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,gBAAgB,CAACa,OAAO,CAAC;EAGtE,MAAMC,KAAKA,GAAA;AACT,IAAA,MAAMC,EAAE,GAAG,MAAM,CAAC,MAAM,IAAI,CAACC,IAAI,EAAE,EAAEC,YAAY,CAAC,I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BAAmB,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;;;;"}
|
|
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,EAA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E;AACRC,MAAAA,kBAAkB,EAAE;AACD;GACtB;CAEJ,CAAA,CACY,EAAAR,yBAAyB,CAAG;;;;"}
|
package/fesm2022/dialog.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createBlockScrollStrategy, createGlobalPositionStrategy, OverlayModule } from '@angular/cdk/overlay';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { EventEmitter, ChangeDetectionStrategy, ViewEncapsulation, Component, InjectionToken, inject, Injector,
|
|
3
|
+
import { EventEmitter, ChangeDetectionStrategy, ViewEncapsulation, Component, InjectionToken, inject, Injector, Service, ElementRef, Input, Directive, NgModule } from '@angular/core';
|
|
4
4
|
import { CdkDialogContainer, Dialog, DialogConfig, DialogModule } from '@angular/cdk/dialog';
|
|
5
5
|
import { coerceNumberProperty } from '@angular/cdk/coercion';
|
|
6
6
|
import { CdkPortalOutlet, PortalModule } from '@angular/cdk/portal';
|
|
@@ -44,6 +44,7 @@ class MatDialogConfig {
|
|
|
44
44
|
closeOnNavigation = true;
|
|
45
45
|
enterAnimationDuration;
|
|
46
46
|
exitAnimationDuration;
|
|
47
|
+
bindings;
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
const OPEN_CLASS = 'mdc-dialog--open';
|
|
@@ -151,7 +152,7 @@ class MatDialogContainer extends CdkDialogContainer {
|
|
|
151
152
|
}
|
|
152
153
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
153
154
|
minVersion: "12.0.0",
|
|
154
|
-
version: "22.0.0-next.
|
|
155
|
+
version: "22.0.0-next.10",
|
|
155
156
|
ngImport: i0,
|
|
156
157
|
type: MatDialogContainer,
|
|
157
158
|
deps: null,
|
|
@@ -159,7 +160,7 @@ class MatDialogContainer extends CdkDialogContainer {
|
|
|
159
160
|
});
|
|
160
161
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
161
162
|
minVersion: "14.0.0",
|
|
162
|
-
version: "22.0.0-next.
|
|
163
|
+
version: "22.0.0-next.10",
|
|
163
164
|
type: MatDialogContainer,
|
|
164
165
|
isStandalone: true,
|
|
165
166
|
selector: "mat-dialog-container",
|
|
@@ -197,7 +198,7 @@ class MatDialogContainer extends CdkDialogContainer {
|
|
|
197
198
|
}
|
|
198
199
|
i0.ɵɵngDeclareClassMetadata({
|
|
199
200
|
minVersion: "12.0.0",
|
|
200
|
-
version: "22.0.0-next.
|
|
201
|
+
version: "22.0.0-next.10",
|
|
201
202
|
ngImport: i0,
|
|
202
203
|
type: MatDialogContainer,
|
|
203
204
|
decorators: [{
|
|
@@ -487,30 +488,26 @@ class MatDialog {
|
|
|
487
488
|
}
|
|
488
489
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
489
490
|
minVersion: "12.0.0",
|
|
490
|
-
version: "22.0.0-next.
|
|
491
|
+
version: "22.0.0-next.10",
|
|
491
492
|
ngImport: i0,
|
|
492
493
|
type: MatDialog,
|
|
493
494
|
deps: [],
|
|
494
|
-
target: i0.ɵɵFactoryTarget.
|
|
495
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
495
496
|
});
|
|
496
|
-
static ɵprov = i0.ɵɵ
|
|
497
|
-
minVersion: "
|
|
498
|
-
version: "22.0.0-next.
|
|
497
|
+
static ɵprov = i0.ɵɵngDeclareService({
|
|
498
|
+
minVersion: "22.0.0",
|
|
499
|
+
version: "22.0.0-next.10",
|
|
499
500
|
ngImport: i0,
|
|
500
|
-
type: MatDialog
|
|
501
|
-
providedIn: 'root'
|
|
501
|
+
type: MatDialog
|
|
502
502
|
});
|
|
503
503
|
}
|
|
504
504
|
i0.ɵɵngDeclareClassMetadata({
|
|
505
505
|
minVersion: "12.0.0",
|
|
506
|
-
version: "22.0.0-next.
|
|
506
|
+
version: "22.0.0-next.10",
|
|
507
507
|
ngImport: i0,
|
|
508
508
|
type: MatDialog,
|
|
509
509
|
decorators: [{
|
|
510
|
-
type:
|
|
511
|
-
args: [{
|
|
512
|
-
providedIn: 'root'
|
|
513
|
-
}]
|
|
510
|
+
type: Service
|
|
514
511
|
}],
|
|
515
512
|
ctorParameters: () => []
|
|
516
513
|
});
|
|
@@ -541,7 +538,7 @@ class MatDialogClose {
|
|
|
541
538
|
}
|
|
542
539
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
543
540
|
minVersion: "12.0.0",
|
|
544
|
-
version: "22.0.0-next.
|
|
541
|
+
version: "22.0.0-next.10",
|
|
545
542
|
ngImport: i0,
|
|
546
543
|
type: MatDialogClose,
|
|
547
544
|
deps: [],
|
|
@@ -549,7 +546,7 @@ class MatDialogClose {
|
|
|
549
546
|
});
|
|
550
547
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
551
548
|
minVersion: "14.0.0",
|
|
552
|
-
version: "22.0.0-next.
|
|
549
|
+
version: "22.0.0-next.10",
|
|
553
550
|
type: MatDialogClose,
|
|
554
551
|
isStandalone: true,
|
|
555
552
|
selector: "[mat-dialog-close], [matDialogClose]",
|
|
@@ -575,7 +572,7 @@ class MatDialogClose {
|
|
|
575
572
|
}
|
|
576
573
|
i0.ɵɵngDeclareClassMetadata({
|
|
577
574
|
minVersion: "12.0.0",
|
|
578
|
-
version: "22.0.0-next.
|
|
575
|
+
version: "22.0.0-next.10",
|
|
579
576
|
ngImport: i0,
|
|
580
577
|
type: MatDialogClose,
|
|
581
578
|
decorators: [{
|
|
@@ -634,7 +631,7 @@ class MatDialogLayoutSection {
|
|
|
634
631
|
}
|
|
635
632
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
636
633
|
minVersion: "12.0.0",
|
|
637
|
-
version: "22.0.0-next.
|
|
634
|
+
version: "22.0.0-next.10",
|
|
638
635
|
ngImport: i0,
|
|
639
636
|
type: MatDialogLayoutSection,
|
|
640
637
|
deps: [],
|
|
@@ -642,7 +639,7 @@ class MatDialogLayoutSection {
|
|
|
642
639
|
});
|
|
643
640
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
644
641
|
minVersion: "14.0.0",
|
|
645
|
-
version: "22.0.0-next.
|
|
642
|
+
version: "22.0.0-next.10",
|
|
646
643
|
type: MatDialogLayoutSection,
|
|
647
644
|
isStandalone: true,
|
|
648
645
|
ngImport: i0
|
|
@@ -650,7 +647,7 @@ class MatDialogLayoutSection {
|
|
|
650
647
|
}
|
|
651
648
|
i0.ɵɵngDeclareClassMetadata({
|
|
652
649
|
minVersion: "12.0.0",
|
|
653
|
-
version: "22.0.0-next.
|
|
650
|
+
version: "22.0.0-next.10",
|
|
654
651
|
ngImport: i0,
|
|
655
652
|
type: MatDialogLayoutSection,
|
|
656
653
|
decorators: [{
|
|
@@ -667,7 +664,7 @@ class MatDialogTitle extends MatDialogLayoutSection {
|
|
|
667
664
|
}
|
|
668
665
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
669
666
|
minVersion: "12.0.0",
|
|
670
|
-
version: "22.0.0-next.
|
|
667
|
+
version: "22.0.0-next.10",
|
|
671
668
|
ngImport: i0,
|
|
672
669
|
type: MatDialogTitle,
|
|
673
670
|
deps: null,
|
|
@@ -675,7 +672,7 @@ class MatDialogTitle extends MatDialogLayoutSection {
|
|
|
675
672
|
});
|
|
676
673
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
677
674
|
minVersion: "14.0.0",
|
|
678
|
-
version: "22.0.0-next.
|
|
675
|
+
version: "22.0.0-next.10",
|
|
679
676
|
type: MatDialogTitle,
|
|
680
677
|
isStandalone: true,
|
|
681
678
|
selector: "[mat-dialog-title], [matDialogTitle]",
|
|
@@ -695,7 +692,7 @@ class MatDialogTitle extends MatDialogLayoutSection {
|
|
|
695
692
|
}
|
|
696
693
|
i0.ɵɵngDeclareClassMetadata({
|
|
697
694
|
minVersion: "12.0.0",
|
|
698
|
-
version: "22.0.0-next.
|
|
695
|
+
version: "22.0.0-next.10",
|
|
699
696
|
ngImport: i0,
|
|
700
697
|
type: MatDialogTitle,
|
|
701
698
|
decorators: [{
|
|
@@ -718,7 +715,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
718
715
|
class MatDialogContent {
|
|
719
716
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
720
717
|
minVersion: "12.0.0",
|
|
721
|
-
version: "22.0.0-next.
|
|
718
|
+
version: "22.0.0-next.10",
|
|
722
719
|
ngImport: i0,
|
|
723
720
|
type: MatDialogContent,
|
|
724
721
|
deps: [],
|
|
@@ -726,7 +723,7 @@ class MatDialogContent {
|
|
|
726
723
|
});
|
|
727
724
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
728
725
|
minVersion: "14.0.0",
|
|
729
|
-
version: "22.0.0-next.
|
|
726
|
+
version: "22.0.0-next.10",
|
|
730
727
|
type: MatDialogContent,
|
|
731
728
|
isStandalone: true,
|
|
732
729
|
selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]",
|
|
@@ -741,7 +738,7 @@ class MatDialogContent {
|
|
|
741
738
|
}
|
|
742
739
|
i0.ɵɵngDeclareClassMetadata({
|
|
743
740
|
minVersion: "12.0.0",
|
|
744
|
-
version: "22.0.0-next.
|
|
741
|
+
version: "22.0.0-next.10",
|
|
745
742
|
ngImport: i0,
|
|
746
743
|
type: MatDialogContent,
|
|
747
744
|
decorators: [{
|
|
@@ -765,7 +762,7 @@ class MatDialogActions extends MatDialogLayoutSection {
|
|
|
765
762
|
}
|
|
766
763
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
767
764
|
minVersion: "12.0.0",
|
|
768
|
-
version: "22.0.0-next.
|
|
765
|
+
version: "22.0.0-next.10",
|
|
769
766
|
ngImport: i0,
|
|
770
767
|
type: MatDialogActions,
|
|
771
768
|
deps: null,
|
|
@@ -773,7 +770,7 @@ class MatDialogActions extends MatDialogLayoutSection {
|
|
|
773
770
|
});
|
|
774
771
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
775
772
|
minVersion: "14.0.0",
|
|
776
|
-
version: "22.0.0-next.
|
|
773
|
+
version: "22.0.0-next.10",
|
|
777
774
|
type: MatDialogActions,
|
|
778
775
|
isStandalone: true,
|
|
779
776
|
selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]",
|
|
@@ -794,7 +791,7 @@ class MatDialogActions extends MatDialogLayoutSection {
|
|
|
794
791
|
}
|
|
795
792
|
i0.ɵɵngDeclareClassMetadata({
|
|
796
793
|
minVersion: "12.0.0",
|
|
797
|
-
version: "22.0.0-next.
|
|
794
|
+
version: "22.0.0-next.10",
|
|
798
795
|
ngImport: i0,
|
|
799
796
|
type: MatDialogActions,
|
|
800
797
|
decorators: [{
|
|
@@ -827,7 +824,7 @@ const DIRECTIVES = [MatDialogContainer, MatDialogClose, MatDialogTitle, MatDialo
|
|
|
827
824
|
class MatDialogModule {
|
|
828
825
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
829
826
|
minVersion: "12.0.0",
|
|
830
|
-
version: "22.0.0-next.
|
|
827
|
+
version: "22.0.0-next.10",
|
|
831
828
|
ngImport: i0,
|
|
832
829
|
type: MatDialogModule,
|
|
833
830
|
deps: [],
|
|
@@ -835,7 +832,7 @@ class MatDialogModule {
|
|
|
835
832
|
});
|
|
836
833
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
837
834
|
minVersion: "14.0.0",
|
|
838
|
-
version: "22.0.0-next.
|
|
835
|
+
version: "22.0.0-next.10",
|
|
839
836
|
ngImport: i0,
|
|
840
837
|
type: MatDialogModule,
|
|
841
838
|
imports: [DialogModule, OverlayModule, PortalModule, MatDialogContainer, MatDialogClose, MatDialogTitle, MatDialogActions, MatDialogContent],
|
|
@@ -843,7 +840,7 @@ class MatDialogModule {
|
|
|
843
840
|
});
|
|
844
841
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
845
842
|
minVersion: "12.0.0",
|
|
846
|
-
version: "22.0.0-next.
|
|
843
|
+
version: "22.0.0-next.10",
|
|
847
844
|
ngImport: i0,
|
|
848
845
|
type: MatDialogModule,
|
|
849
846
|
providers: [MatDialog],
|
|
@@ -852,7 +849,7 @@ class MatDialogModule {
|
|
|
852
849
|
}
|
|
853
850
|
i0.ɵɵngDeclareClassMetadata({
|
|
854
851
|
minVersion: "12.0.0",
|
|
855
|
-
version: "22.0.0-next.
|
|
852
|
+
version: "22.0.0-next.10",
|
|
856
853
|
ngImport: i0,
|
|
857
854
|
type: MatDialogModule,
|
|
858
855
|
decorators: [{
|