@angular/material 22.0.0-next.8 → 22.0.0-rc.0
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/_error-options-chunk.mjs +6 -6
- package/fesm2022/_form-field-chunk.mjs +31 -35
- package/fesm2022/_form-field-chunk.mjs.map +1 -1
- package/fesm2022/_icon-button-chunk.mjs +7 -9
- package/fesm2022/_icon-button-chunk.mjs.map +1 -1
- package/fesm2022/_icon-registry-chunk.mjs +3 -3
- package/fesm2022/_internal-form-field-chunk.mjs +4 -6
- package/fesm2022/_internal-form-field-chunk.mjs.map +1 -1
- package/fesm2022/_line-chunk.mjs +7 -7
- package/fesm2022/_option-chunk.mjs +7 -11
- package/fesm2022/_option-chunk.mjs.map +1 -1
- package/fesm2022/_option-module-chunk.mjs +4 -4
- package/fesm2022/_pseudo-checkbox-chunk.mjs +4 -6
- package/fesm2022/_pseudo-checkbox-chunk.mjs.map +1 -1
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs +4 -4
- package/fesm2022/_ripple-chunk.mjs +7 -9
- package/fesm2022/_ripple-chunk.mjs.map +1 -1
- package/fesm2022/_ripple-loader-chunk.mjs +3 -3
- package/fesm2022/_ripple-module-chunk.mjs +4 -4
- package/fesm2022/_structural-styles-chunk.mjs +4 -6
- package/fesm2022/_structural-styles-chunk.mjs.map +1 -1
- package/fesm2022/_tooltip-chunk.mjs +7 -9
- package/fesm2022/_tooltip-chunk.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +14 -16
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +11 -13
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +10 -10
- package/fesm2022/button-toggle.mjs +11 -13
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +14 -20
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +47 -53
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +8 -10
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +47 -59
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +12 -12
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +83 -107
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog-testing.mjs +1 -2
- package/fesm2022/dialog-testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +25 -25
- package/fesm2022/divider.mjs +8 -10
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion.mjs +26 -30
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +4 -4
- package/fesm2022/grid-list.mjs +23 -29
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon-testing.mjs +7 -7
- package/fesm2022/icon.mjs +8 -10
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/list.mjs +50 -62
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +23 -27
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +11 -13
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +8 -10
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +8 -10
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs +11 -13
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +11 -13
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +56 -45
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +8 -10
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +17 -21
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +23 -25
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +14 -16
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +32 -38
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/tabs.mjs +44 -48
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +14 -18
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +11 -13
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +4 -4
- package/fesm2022/tree.mjs +25 -25
- package/package.json +2 -2
- package/schematics/ng-add/index.js +1 -1
- package/types/sidenav.d.ts +4 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ContentContainerComponentHarness, HarnessPredicate, TestKey } from '@angular/cdk/testing';
|
|
2
2
|
import { __decorate, __metadata } from 'tslib';
|
|
3
|
-
import { inject, NgZone, Component, ViewEncapsulation,
|
|
3
|
+
import { inject, NgZone, Component, ViewEncapsulation, NgModule } from '@angular/core';
|
|
4
4
|
import { MATERIAL_ANIMATIONS } from '@angular/material/core';
|
|
5
5
|
import { MatDialog, MatDialogModule } from './dialog.mjs';
|
|
6
6
|
import '@angular/cdk/overlay';
|
|
@@ -105,7 +105,6 @@ let MatTestDialogOpener = class MatTestDialogOpener {
|
|
|
105
105
|
MatTestDialogOpener = MatTestDialogOpener_1 = __decorate([Component({
|
|
106
106
|
selector: 'mat-test-dialog-opener',
|
|
107
107
|
template: '',
|
|
108
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
109
108
|
encapsulation: ViewEncapsulation.None
|
|
110
109
|
}), __metadata("design:paramtypes", [])], MatTestDialogOpener);
|
|
111
110
|
let MatTestDialogOpenerModule = class MatTestDialogOpenerModule {};
|
|
@@ -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() {\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,IAAI,CAAC;AAGvD,IAAA,OAAOF,EAAE,KAAK,EAAE,GAAGA,EAAE,GAAG,IAAI;AAC9B,EAAA;EAGA,MAAMG,OAAOA,GAAA;IACX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;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 {Component, NgModule, NgZone, OnDestroy, ViewEncapsulation, inject} 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 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","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,CAET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qBAAqB,GAAG,CAAC;MAChC,OAAO,IAAI,CAAChB,MAAM,CAACiB,IAAI,CAAON,qBAAmB,CAACR,SAA6B,EAAEC,MAAM,CAAC;AAC1F,IAAA,CAAC,CAAC;AACF,IAAA,IAAI,CAACG,wBAAwB,GAAG,IAAI,CAACF,SAAS,CAACa,WAAW,EAAE,CAACC,SAAS,CAACC,MAAM,IAAG;MAC9E,IAAI,CAACd,YAAY,GAAGc,MAAM;AAC5B,IAAA,CAAC,CAAC;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,CAL/BC,SAAS,CAAC;AACTC,EAAAA,QAAQ,EAAE,wBAAwB;AAClCC,EAAAA,QAAQ,EAAE,EAAE;EACZC,aAAa,EAAEC,iBAAiB,CAACC;CAClC,CAAC,sCACW,EAAA/B,mBAAmB,CAkD/B;AAaM,IAAMgC,yBAAyB,GAA/B,MAAMA,yBAAyB,CAAA;AAAzBA,yBAAyB,GAAAP,UAAA,CAAA,CAXrCQ,QAAQ,CAAC;AACRC,EAAAA,OAAO,EAAE,CAACC,eAAe,EAAEnC,mBAAmB,CAAC;AAC/CoC,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
|
@@ -152,7 +152,7 @@ class MatDialogContainer extends CdkDialogContainer {
|
|
|
152
152
|
}
|
|
153
153
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
154
154
|
minVersion: "12.0.0",
|
|
155
|
-
version: "22.0.0-next.
|
|
155
|
+
version: "22.0.0-next.12",
|
|
156
156
|
ngImport: i0,
|
|
157
157
|
type: MatDialogContainer,
|
|
158
158
|
deps: null,
|
|
@@ -160,7 +160,7 @@ class MatDialogContainer extends CdkDialogContainer {
|
|
|
160
160
|
});
|
|
161
161
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
162
162
|
minVersion: "14.0.0",
|
|
163
|
-
version: "22.0.0-next.
|
|
163
|
+
version: "22.0.0-next.12",
|
|
164
164
|
type: MatDialogContainer,
|
|
165
165
|
isStandalone: true,
|
|
166
166
|
selector: "mat-dialog-container",
|
|
@@ -198,7 +198,7 @@ class MatDialogContainer extends CdkDialogContainer {
|
|
|
198
198
|
}
|
|
199
199
|
i0.ɵɵngDeclareClassMetadata({
|
|
200
200
|
minVersion: "12.0.0",
|
|
201
|
-
version: "22.0.0-next.
|
|
201
|
+
version: "22.0.0-next.12",
|
|
202
202
|
ngImport: i0,
|
|
203
203
|
type: MatDialogContainer,
|
|
204
204
|
decorators: [{
|
|
@@ -488,7 +488,7 @@ class MatDialog {
|
|
|
488
488
|
}
|
|
489
489
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
490
490
|
minVersion: "12.0.0",
|
|
491
|
-
version: "22.0.0-next.
|
|
491
|
+
version: "22.0.0-next.12",
|
|
492
492
|
ngImport: i0,
|
|
493
493
|
type: MatDialog,
|
|
494
494
|
deps: [],
|
|
@@ -496,14 +496,14 @@ class MatDialog {
|
|
|
496
496
|
});
|
|
497
497
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
498
498
|
minVersion: "22.0.0",
|
|
499
|
-
version: "22.0.0-next.
|
|
499
|
+
version: "22.0.0-next.12",
|
|
500
500
|
ngImport: i0,
|
|
501
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.12",
|
|
507
507
|
ngImport: i0,
|
|
508
508
|
type: MatDialog,
|
|
509
509
|
decorators: [{
|
|
@@ -538,7 +538,7 @@ class MatDialogClose {
|
|
|
538
538
|
}
|
|
539
539
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
540
540
|
minVersion: "12.0.0",
|
|
541
|
-
version: "22.0.0-next.
|
|
541
|
+
version: "22.0.0-next.12",
|
|
542
542
|
ngImport: i0,
|
|
543
543
|
type: MatDialogClose,
|
|
544
544
|
deps: [],
|
|
@@ -546,7 +546,7 @@ class MatDialogClose {
|
|
|
546
546
|
});
|
|
547
547
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
548
548
|
minVersion: "14.0.0",
|
|
549
|
-
version: "22.0.0-next.
|
|
549
|
+
version: "22.0.0-next.12",
|
|
550
550
|
type: MatDialogClose,
|
|
551
551
|
isStandalone: true,
|
|
552
552
|
selector: "[mat-dialog-close], [matDialogClose]",
|
|
@@ -572,7 +572,7 @@ class MatDialogClose {
|
|
|
572
572
|
}
|
|
573
573
|
i0.ɵɵngDeclareClassMetadata({
|
|
574
574
|
minVersion: "12.0.0",
|
|
575
|
-
version: "22.0.0-next.
|
|
575
|
+
version: "22.0.0-next.12",
|
|
576
576
|
ngImport: i0,
|
|
577
577
|
type: MatDialogClose,
|
|
578
578
|
decorators: [{
|
|
@@ -631,7 +631,7 @@ class MatDialogLayoutSection {
|
|
|
631
631
|
}
|
|
632
632
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
633
633
|
minVersion: "12.0.0",
|
|
634
|
-
version: "22.0.0-next.
|
|
634
|
+
version: "22.0.0-next.12",
|
|
635
635
|
ngImport: i0,
|
|
636
636
|
type: MatDialogLayoutSection,
|
|
637
637
|
deps: [],
|
|
@@ -639,7 +639,7 @@ class MatDialogLayoutSection {
|
|
|
639
639
|
});
|
|
640
640
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
641
641
|
minVersion: "14.0.0",
|
|
642
|
-
version: "22.0.0-next.
|
|
642
|
+
version: "22.0.0-next.12",
|
|
643
643
|
type: MatDialogLayoutSection,
|
|
644
644
|
isStandalone: true,
|
|
645
645
|
ngImport: i0
|
|
@@ -647,7 +647,7 @@ class MatDialogLayoutSection {
|
|
|
647
647
|
}
|
|
648
648
|
i0.ɵɵngDeclareClassMetadata({
|
|
649
649
|
minVersion: "12.0.0",
|
|
650
|
-
version: "22.0.0-next.
|
|
650
|
+
version: "22.0.0-next.12",
|
|
651
651
|
ngImport: i0,
|
|
652
652
|
type: MatDialogLayoutSection,
|
|
653
653
|
decorators: [{
|
|
@@ -664,7 +664,7 @@ class MatDialogTitle extends MatDialogLayoutSection {
|
|
|
664
664
|
}
|
|
665
665
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
666
666
|
minVersion: "12.0.0",
|
|
667
|
-
version: "22.0.0-next.
|
|
667
|
+
version: "22.0.0-next.12",
|
|
668
668
|
ngImport: i0,
|
|
669
669
|
type: MatDialogTitle,
|
|
670
670
|
deps: null,
|
|
@@ -672,7 +672,7 @@ class MatDialogTitle extends MatDialogLayoutSection {
|
|
|
672
672
|
});
|
|
673
673
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
674
674
|
minVersion: "14.0.0",
|
|
675
|
-
version: "22.0.0-next.
|
|
675
|
+
version: "22.0.0-next.12",
|
|
676
676
|
type: MatDialogTitle,
|
|
677
677
|
isStandalone: true,
|
|
678
678
|
selector: "[mat-dialog-title], [matDialogTitle]",
|
|
@@ -692,7 +692,7 @@ class MatDialogTitle extends MatDialogLayoutSection {
|
|
|
692
692
|
}
|
|
693
693
|
i0.ɵɵngDeclareClassMetadata({
|
|
694
694
|
minVersion: "12.0.0",
|
|
695
|
-
version: "22.0.0-next.
|
|
695
|
+
version: "22.0.0-next.12",
|
|
696
696
|
ngImport: i0,
|
|
697
697
|
type: MatDialogTitle,
|
|
698
698
|
decorators: [{
|
|
@@ -715,7 +715,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
715
715
|
class MatDialogContent {
|
|
716
716
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
717
717
|
minVersion: "12.0.0",
|
|
718
|
-
version: "22.0.0-next.
|
|
718
|
+
version: "22.0.0-next.12",
|
|
719
719
|
ngImport: i0,
|
|
720
720
|
type: MatDialogContent,
|
|
721
721
|
deps: [],
|
|
@@ -723,7 +723,7 @@ class MatDialogContent {
|
|
|
723
723
|
});
|
|
724
724
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
725
725
|
minVersion: "14.0.0",
|
|
726
|
-
version: "22.0.0-next.
|
|
726
|
+
version: "22.0.0-next.12",
|
|
727
727
|
type: MatDialogContent,
|
|
728
728
|
isStandalone: true,
|
|
729
729
|
selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]",
|
|
@@ -738,7 +738,7 @@ class MatDialogContent {
|
|
|
738
738
|
}
|
|
739
739
|
i0.ɵɵngDeclareClassMetadata({
|
|
740
740
|
minVersion: "12.0.0",
|
|
741
|
-
version: "22.0.0-next.
|
|
741
|
+
version: "22.0.0-next.12",
|
|
742
742
|
ngImport: i0,
|
|
743
743
|
type: MatDialogContent,
|
|
744
744
|
decorators: [{
|
|
@@ -762,7 +762,7 @@ class MatDialogActions extends MatDialogLayoutSection {
|
|
|
762
762
|
}
|
|
763
763
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
764
764
|
minVersion: "12.0.0",
|
|
765
|
-
version: "22.0.0-next.
|
|
765
|
+
version: "22.0.0-next.12",
|
|
766
766
|
ngImport: i0,
|
|
767
767
|
type: MatDialogActions,
|
|
768
768
|
deps: null,
|
|
@@ -770,7 +770,7 @@ class MatDialogActions extends MatDialogLayoutSection {
|
|
|
770
770
|
});
|
|
771
771
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
772
772
|
minVersion: "14.0.0",
|
|
773
|
-
version: "22.0.0-next.
|
|
773
|
+
version: "22.0.0-next.12",
|
|
774
774
|
type: MatDialogActions,
|
|
775
775
|
isStandalone: true,
|
|
776
776
|
selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]",
|
|
@@ -791,7 +791,7 @@ class MatDialogActions extends MatDialogLayoutSection {
|
|
|
791
791
|
}
|
|
792
792
|
i0.ɵɵngDeclareClassMetadata({
|
|
793
793
|
minVersion: "12.0.0",
|
|
794
|
-
version: "22.0.0-next.
|
|
794
|
+
version: "22.0.0-next.12",
|
|
795
795
|
ngImport: i0,
|
|
796
796
|
type: MatDialogActions,
|
|
797
797
|
decorators: [{
|
|
@@ -824,7 +824,7 @@ const DIRECTIVES = [MatDialogContainer, MatDialogClose, MatDialogTitle, MatDialo
|
|
|
824
824
|
class MatDialogModule {
|
|
825
825
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
826
826
|
minVersion: "12.0.0",
|
|
827
|
-
version: "22.0.0-next.
|
|
827
|
+
version: "22.0.0-next.12",
|
|
828
828
|
ngImport: i0,
|
|
829
829
|
type: MatDialogModule,
|
|
830
830
|
deps: [],
|
|
@@ -832,7 +832,7 @@ class MatDialogModule {
|
|
|
832
832
|
});
|
|
833
833
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
834
834
|
minVersion: "14.0.0",
|
|
835
|
-
version: "22.0.0-next.
|
|
835
|
+
version: "22.0.0-next.12",
|
|
836
836
|
ngImport: i0,
|
|
837
837
|
type: MatDialogModule,
|
|
838
838
|
imports: [DialogModule, OverlayModule, PortalModule, MatDialogContainer, MatDialogClose, MatDialogTitle, MatDialogActions, MatDialogContent],
|
|
@@ -840,7 +840,7 @@ class MatDialogModule {
|
|
|
840
840
|
});
|
|
841
841
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
842
842
|
minVersion: "12.0.0",
|
|
843
|
-
version: "22.0.0-next.
|
|
843
|
+
version: "22.0.0-next.12",
|
|
844
844
|
ngImport: i0,
|
|
845
845
|
type: MatDialogModule,
|
|
846
846
|
providers: [MatDialog],
|
|
@@ -849,7 +849,7 @@ class MatDialogModule {
|
|
|
849
849
|
}
|
|
850
850
|
i0.ɵɵngDeclareClassMetadata({
|
|
851
851
|
minVersion: "12.0.0",
|
|
852
|
-
version: "22.0.0-next.
|
|
852
|
+
version: "22.0.0-next.12",
|
|
853
853
|
ngImport: i0,
|
|
854
854
|
type: MatDialogModule,
|
|
855
855
|
decorators: [{
|
package/fesm2022/divider.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Input,
|
|
2
|
+
import { Input, ViewEncapsulation, Component, NgModule } from '@angular/core';
|
|
3
3
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
4
4
|
import { BidiModule } from '@angular/cdk/bidi';
|
|
5
5
|
|
|
@@ -20,7 +20,7 @@ class MatDivider {
|
|
|
20
20
|
_inset = false;
|
|
21
21
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
22
22
|
minVersion: "12.0.0",
|
|
23
|
-
version: "22.0.0-next.
|
|
23
|
+
version: "22.0.0-next.12",
|
|
24
24
|
ngImport: i0,
|
|
25
25
|
type: MatDivider,
|
|
26
26
|
deps: [],
|
|
@@ -28,7 +28,7 @@ class MatDivider {
|
|
|
28
28
|
});
|
|
29
29
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
30
30
|
minVersion: "14.0.0",
|
|
31
|
-
version: "22.0.0-next.
|
|
31
|
+
version: "22.0.0-next.12",
|
|
32
32
|
type: MatDivider,
|
|
33
33
|
isStandalone: true,
|
|
34
34
|
selector: "mat-divider",
|
|
@@ -52,13 +52,12 @@ class MatDivider {
|
|
|
52
52
|
template: '',
|
|
53
53
|
isInline: true,
|
|
54
54
|
styles: [".mat-divider {\n display: block;\n margin: 0;\n border-top-style: solid;\n border-top-color: var(--mat-divider-color, var(--mat-sys-outline-variant));\n border-top-width: var(--mat-divider-width, 1px);\n}\n.mat-divider.mat-divider-vertical {\n border-top: 0;\n border-right-style: solid;\n border-right-color: var(--mat-divider-color, var(--mat-sys-outline-variant));\n border-right-width: var(--mat-divider-width, 1px);\n}\n.mat-divider.mat-divider-inset {\n margin-left: 80px;\n}\n[dir=rtl] .mat-divider.mat-divider-inset {\n margin-left: auto;\n margin-right: 80px;\n}\n"],
|
|
55
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
56
55
|
encapsulation: i0.ViewEncapsulation.None
|
|
57
56
|
});
|
|
58
57
|
}
|
|
59
58
|
i0.ɵɵngDeclareClassMetadata({
|
|
60
59
|
minVersion: "12.0.0",
|
|
61
|
-
version: "22.0.0-next.
|
|
60
|
+
version: "22.0.0-next.12",
|
|
62
61
|
ngImport: i0,
|
|
63
62
|
type: MatDivider,
|
|
64
63
|
decorators: [{
|
|
@@ -75,7 +74,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
75
74
|
},
|
|
76
75
|
template: '',
|
|
77
76
|
encapsulation: ViewEncapsulation.None,
|
|
78
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
79
77
|
styles: [".mat-divider {\n display: block;\n margin: 0;\n border-top-style: solid;\n border-top-color: var(--mat-divider-color, var(--mat-sys-outline-variant));\n border-top-width: var(--mat-divider-width, 1px);\n}\n.mat-divider.mat-divider-vertical {\n border-top: 0;\n border-right-style: solid;\n border-right-color: var(--mat-divider-color, var(--mat-sys-outline-variant));\n border-right-width: var(--mat-divider-width, 1px);\n}\n.mat-divider.mat-divider-inset {\n margin-left: 80px;\n}\n[dir=rtl] .mat-divider.mat-divider-inset {\n margin-left: auto;\n margin-right: 80px;\n}\n"]
|
|
80
78
|
}]
|
|
81
79
|
}],
|
|
@@ -92,7 +90,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
92
90
|
class MatDividerModule {
|
|
93
91
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
94
92
|
minVersion: "12.0.0",
|
|
95
|
-
version: "22.0.0-next.
|
|
93
|
+
version: "22.0.0-next.12",
|
|
96
94
|
ngImport: i0,
|
|
97
95
|
type: MatDividerModule,
|
|
98
96
|
deps: [],
|
|
@@ -100,7 +98,7 @@ class MatDividerModule {
|
|
|
100
98
|
});
|
|
101
99
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
102
100
|
minVersion: "14.0.0",
|
|
103
|
-
version: "22.0.0-next.
|
|
101
|
+
version: "22.0.0-next.12",
|
|
104
102
|
ngImport: i0,
|
|
105
103
|
type: MatDividerModule,
|
|
106
104
|
imports: [MatDivider],
|
|
@@ -108,7 +106,7 @@ class MatDividerModule {
|
|
|
108
106
|
});
|
|
109
107
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
110
108
|
minVersion: "12.0.0",
|
|
111
|
-
version: "22.0.0-next.
|
|
109
|
+
version: "22.0.0-next.12",
|
|
112
110
|
ngImport: i0,
|
|
113
111
|
type: MatDividerModule,
|
|
114
112
|
imports: [BidiModule]
|
|
@@ -116,7 +114,7 @@ class MatDividerModule {
|
|
|
116
114
|
}
|
|
117
115
|
i0.ɵɵngDeclareClassMetadata({
|
|
118
116
|
minVersion: "12.0.0",
|
|
119
|
-
version: "22.0.0-next.
|
|
117
|
+
version: "22.0.0-next.12",
|
|
120
118
|
ngImport: i0,
|
|
121
119
|
type: MatDividerModule,
|
|
122
120
|
decorators: [{
|
package/fesm2022/divider.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divider.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/divider/divider.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/divider/divider-module.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 {
|
|
1
|
+
{"version":3,"file":"divider.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/divider/divider.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/divider/divider-module.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 {Component, Input, ViewEncapsulation} from '@angular/core';\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\n\n@Component({\n selector: 'mat-divider',\n host: {\n 'role': 'separator',\n '[attr.aria-orientation]': 'vertical ? \"vertical\" : \"horizontal\"',\n '[class.mat-divider-vertical]': 'vertical',\n '[class.mat-divider-horizontal]': '!vertical',\n '[class.mat-divider-inset]': 'inset',\n 'class': 'mat-divider',\n },\n template: '',\n styleUrl: 'divider.css',\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatDivider {\n /** Whether the divider is vertically aligned. */\n @Input()\n get vertical(): boolean {\n return this._vertical;\n }\n set vertical(value: BooleanInput) {\n this._vertical = coerceBooleanProperty(value);\n }\n private _vertical: boolean = false;\n\n /** Whether the divider is an inset divider. */\n @Input()\n get inset(): boolean {\n return this._inset;\n }\n set inset(value: BooleanInput) {\n this._inset = coerceBooleanProperty(value);\n }\n private _inset: boolean = false;\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 {BidiModule} from '@angular/cdk/bidi';\nimport {NgModule} from '@angular/core';\nimport {MatDivider} from './divider';\n\n@NgModule({\n imports: [MatDivider],\n exports: [MatDivider, BidiModule],\n})\nexport class MatDividerModule {}\n"],"names":["MatDivider","vertical","_vertical","value","coerceBooleanProperty","inset","_inset","deps","target","i0","ɵɵFactoryTarget","Component","ɵcmp","ɵɵngDeclareComponent","minVersion","version","type","isInline","styles","encapsulation","ViewEncapsulation","None","decorators","args","selector","host","template","Input","MatDividerModule","NgModule","ɵmod","ɵɵngDeclareNgModule","ngImport","imports","exports","BidiModule","ɵinj","ɵɵngDeclareInjector"],"mappings":";;;;;MAyBaA,UAAU,CAAA;E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O,EAAE;OACV;AAAAC,MAAAA,QAAA,EACS,EAAE;MAAAP,aAAA,EAEGC,iBAAiB,CAACC,IAAI;MAAAH,MAAA,EAAA,CAAA,2kBAAA;KAAA;;;;YAIpCS;;;YAUAA;;;;;MCrBUC,gBAAgB,CAAA;;;;;UAAhBA,gBAAgB;AAAArB,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAmB;AAAA,GAAA,CAAA;AAAhB,EAAA,OAAAC,IAAA,GAAArB,EAAA,CAAAsB,mBAAA,CAAA;AAAAjB,IAAAA,UAAA,EAAA,QAAA;AAAAC,IAAAA,OAAA,EAAA,gBAAA;AAAAiB,IAAAA,QAAA,EAAAvB,EAAA;AAAAO,IAAAA,IAAA,EAAAY,gBAAgB;IAAAK,OAAA,EAAA,CAHjBjC,UAAU,CAAA;AAAAkC,IAAAA,OAAA,EAAA,CACVlC,UAAU,EAAEmC,UAAU;AAAA,GAAA,CAAA;AAErB,EAAA,OAAAC,IAAA,GAAA3B,EAAA,CAAA4B,mBAAA,CAAA;AAAAvB,IAAAA,UAAA,EAAA,QAAA;AAAAC,IAAAA,OAAA,EAAA,gBAAA;AAAAiB,IAAAA,QAAA,EAAAvB,EAAA;AAAAO,IAAAA,IAAA,EAAAY,gBAAgB;cAFLO,UAAU;AAAA,GAAA,CAAA;;;;;;QAErBP,gBAAgB;AAAAN,EAAAA,UAAA,EAAA,CAAA;UAJ5BO,QAAQ;AAACN,IAAAA,IAAA,EAAA,CAAA;MACRU,OAAO,EAAE,CAACjC,UAAU,CAAC;AACrBkC,MAAAA,OAAO,EAAE,CAAClC,UAAU,EAAEmC,UAAU;KACjC;;;;;;"}
|
package/fesm2022/expansion.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, inject, TemplateRef, Directive, ViewContainerRef, DOCUMENT, NgZone, ElementRef, Renderer2, EventEmitter, booleanAttribute, ViewChild, ContentChild, Output, Input,
|
|
2
|
+
import { InjectionToken, inject, TemplateRef, Directive, ViewContainerRef, DOCUMENT, NgZone, ElementRef, Renderer2, EventEmitter, booleanAttribute, ViewChild, ContentChild, Output, Input, ViewEncapsulation, Component, ChangeDetectorRef, HostAttributeToken, numberAttribute, QueryList, ContentChildren, NgModule } from '@angular/core';
|
|
3
3
|
import { CdkAccordionItem, CdkAccordion, CdkAccordionModule } from '@angular/cdk/accordion';
|
|
4
4
|
import { UniqueSelectionDispatcher } from '@angular/cdk/collections';
|
|
5
5
|
import { TemplatePortal, CdkPortalOutlet, PortalModule } from '@angular/cdk/portal';
|
|
@@ -24,7 +24,7 @@ class MatExpansionPanelContent {
|
|
|
24
24
|
});
|
|
25
25
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
26
26
|
minVersion: "12.0.0",
|
|
27
|
-
version: "22.0.0-next.
|
|
27
|
+
version: "22.0.0-next.12",
|
|
28
28
|
ngImport: i0,
|
|
29
29
|
type: MatExpansionPanelContent,
|
|
30
30
|
deps: [],
|
|
@@ -32,7 +32,7 @@ class MatExpansionPanelContent {
|
|
|
32
32
|
});
|
|
33
33
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
34
34
|
minVersion: "14.0.0",
|
|
35
|
-
version: "22.0.0-next.
|
|
35
|
+
version: "22.0.0-next.12",
|
|
36
36
|
type: MatExpansionPanelContent,
|
|
37
37
|
isStandalone: true,
|
|
38
38
|
selector: "ng-template[matExpansionPanelContent]",
|
|
@@ -41,7 +41,7 @@ class MatExpansionPanelContent {
|
|
|
41
41
|
}
|
|
42
42
|
i0.ɵɵngDeclareClassMetadata({
|
|
43
43
|
minVersion: "12.0.0",
|
|
44
|
-
version: "22.0.0-next.
|
|
44
|
+
version: "22.0.0-next.12",
|
|
45
45
|
ngImport: i0,
|
|
46
46
|
type: MatExpansionPanelContent,
|
|
47
47
|
decorators: [{
|
|
@@ -169,7 +169,7 @@ class MatExpansionPanel extends CdkAccordionItem {
|
|
|
169
169
|
}
|
|
170
170
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
171
171
|
minVersion: "12.0.0",
|
|
172
|
-
version: "22.0.0-next.
|
|
172
|
+
version: "22.0.0-next.12",
|
|
173
173
|
ngImport: i0,
|
|
174
174
|
type: MatExpansionPanel,
|
|
175
175
|
deps: [],
|
|
@@ -177,7 +177,7 @@ class MatExpansionPanel extends CdkAccordionItem {
|
|
|
177
177
|
});
|
|
178
178
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
179
179
|
minVersion: "16.1.0",
|
|
180
|
-
version: "22.0.0-next.
|
|
180
|
+
version: "22.0.0-next.12",
|
|
181
181
|
type: MatExpansionPanel,
|
|
182
182
|
isStandalone: true,
|
|
183
183
|
selector: "mat-expansion-panel",
|
|
@@ -234,13 +234,12 @@ class MatExpansionPanel extends CdkAccordionItem {
|
|
|
234
234
|
outputs: ["attached"],
|
|
235
235
|
exportAs: ["cdkPortalOutlet"]
|
|
236
236
|
}],
|
|
237
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
238
237
|
encapsulation: i0.ViewEncapsulation.None
|
|
239
238
|
});
|
|
240
239
|
}
|
|
241
240
|
i0.ɵɵngDeclareClassMetadata({
|
|
242
241
|
minVersion: "12.0.0",
|
|
243
|
-
version: "22.0.0-next.
|
|
242
|
+
version: "22.0.0-next.12",
|
|
244
243
|
ngImport: i0,
|
|
245
244
|
type: MatExpansionPanel,
|
|
246
245
|
decorators: [{
|
|
@@ -249,7 +248,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
249
248
|
selector: 'mat-expansion-panel',
|
|
250
249
|
exportAs: 'matExpansionPanel',
|
|
251
250
|
encapsulation: ViewEncapsulation.None,
|
|
252
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
253
251
|
providers: [{
|
|
254
252
|
provide: MAT_ACCORDION,
|
|
255
253
|
useValue: undefined
|
|
@@ -301,7 +299,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
301
299
|
class MatExpansionPanelActionRow {
|
|
302
300
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
303
301
|
minVersion: "12.0.0",
|
|
304
|
-
version: "22.0.0-next.
|
|
302
|
+
version: "22.0.0-next.12",
|
|
305
303
|
ngImport: i0,
|
|
306
304
|
type: MatExpansionPanelActionRow,
|
|
307
305
|
deps: [],
|
|
@@ -309,7 +307,7 @@ class MatExpansionPanelActionRow {
|
|
|
309
307
|
});
|
|
310
308
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
311
309
|
minVersion: "14.0.0",
|
|
312
|
-
version: "22.0.0-next.
|
|
310
|
+
version: "22.0.0-next.12",
|
|
313
311
|
type: MatExpansionPanelActionRow,
|
|
314
312
|
isStandalone: true,
|
|
315
313
|
selector: "mat-action-row",
|
|
@@ -321,7 +319,7 @@ class MatExpansionPanelActionRow {
|
|
|
321
319
|
}
|
|
322
320
|
i0.ɵɵngDeclareClassMetadata({
|
|
323
321
|
minVersion: "12.0.0",
|
|
324
|
-
version: "22.0.0-next.
|
|
322
|
+
version: "22.0.0-next.12",
|
|
325
323
|
ngImport: i0,
|
|
326
324
|
type: MatExpansionPanelActionRow,
|
|
327
325
|
decorators: [{
|
|
@@ -434,7 +432,7 @@ class MatExpansionPanelHeader {
|
|
|
434
432
|
}
|
|
435
433
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
436
434
|
minVersion: "12.0.0",
|
|
437
|
-
version: "22.0.0-next.
|
|
435
|
+
version: "22.0.0-next.12",
|
|
438
436
|
ngImport: i0,
|
|
439
437
|
type: MatExpansionPanelHeader,
|
|
440
438
|
deps: [],
|
|
@@ -442,7 +440,7 @@ class MatExpansionPanelHeader {
|
|
|
442
440
|
});
|
|
443
441
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
444
442
|
minVersion: "17.0.0",
|
|
445
|
-
version: "22.0.0-next.
|
|
443
|
+
version: "22.0.0-next.12",
|
|
446
444
|
type: MatExpansionPanelHeader,
|
|
447
445
|
isStandalone: true,
|
|
448
446
|
selector: "mat-expansion-panel-header",
|
|
@@ -475,13 +473,12 @@ class MatExpansionPanelHeader {
|
|
|
475
473
|
ngImport: i0,
|
|
476
474
|
template: "<span class=\"mat-content\" [class.mat-content-hide-toggle]=\"!_showToggle()\">\n <ng-content select=\"mat-panel-title\"></ng-content>\n <ng-content select=\"mat-panel-description\"></ng-content>\n <ng-content></ng-content>\n</span>\n\n@if (_showToggle()) {\n <span class=\"mat-expansion-indicator\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 -960 960 960\"\n aria-hidden=\"true\"\n focusable=\"false\">\n <path d=\"M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z\"/>\n </svg>\n </span>\n}\n",
|
|
477
475
|
styles: [".mat-expansion-panel-header {\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 0 24px;\n border-radius: inherit;\n}\n.mat-expansion-panel-animations-enabled .mat-expansion-panel-header {\n transition: height 225ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-expansion-panel-header::before {\n border-radius: inherit;\n}\n.mat-expansion-panel-header {\n height: var(--mat-expansion-header-collapsed-state-height, 48px);\n font-family: var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));\n font-size: var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));\n font-weight: var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));\n line-height: var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));\n letter-spacing: var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking));\n}\n.mat-expansion-panel-header.mat-expanded {\n height: var(--mat-expansion-header-expanded-state-height, 64px);\n}\n.mat-expansion-panel-header[aria-disabled=true] {\n color: var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));\n}\n.mat-expansion-panel-header:not([aria-disabled=true]) {\n cursor: pointer;\n}\n.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover {\n background: var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));\n}\n@media (hover: none) {\n .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover {\n background: var(--mat-expansion-container-background-color, var(--mat-sys-surface));\n }\n}\n.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused, .mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused {\n background: var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));\n}\n.mat-expansion-panel-header._mat-animation-noopable {\n transition: none;\n}\n.mat-expansion-panel-header:focus, .mat-expansion-panel-header:hover {\n outline: none;\n}\n.mat-expansion-panel-header.mat-expanded:focus, .mat-expansion-panel-header.mat-expanded:hover {\n background: inherit;\n}\n.mat-expansion-panel-header.mat-expansion-toggle-indicator-before {\n flex-direction: row-reverse;\n}\n.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator {\n margin: 0 16px 0 0;\n}\n[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator {\n margin: 0 0 0 16px;\n}\n\n.mat-content {\n display: flex;\n flex: 1;\n flex-direction: row;\n overflow: hidden;\n}\n.mat-content.mat-content-hide-toggle {\n margin-right: 8px;\n}\n[dir=rtl] .mat-content.mat-content-hide-toggle {\n margin-right: 0;\n margin-left: 8px;\n}\n.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle {\n margin-left: 24px;\n margin-right: 0;\n}\n[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle {\n margin-right: 24px;\n margin-left: 0;\n}\n\n.mat-expansion-panel-header-title {\n color: var(--mat-expansion-header-text-color, var(--mat-sys-on-surface));\n}\n\n.mat-expansion-panel-header-title,\n.mat-expansion-panel-header-description {\n display: flex;\n flex-grow: 1;\n flex-basis: 0;\n margin-right: 16px;\n align-items: center;\n}\n[dir=rtl] .mat-expansion-panel-header-title,\n[dir=rtl] .mat-expansion-panel-header-description {\n margin-right: 0;\n margin-left: 16px;\n}\n.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,\n.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description {\n color: inherit;\n}\n\n.mat-expansion-panel-header-description {\n flex-grow: 2;\n color: var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant));\n}\n\n.mat-expansion-panel-animations-enabled .mat-expansion-indicator {\n transition: transform 225ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator {\n transform: rotate(180deg);\n}\n.mat-expansion-indicator::after {\n border-style: solid;\n border-width: 0 2px 2px 0;\n content: \"\";\n padding: 3px;\n transform: rotate(45deg);\n vertical-align: middle;\n color: var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));\n display: var(--mat-expansion-legacy-header-indicator-display, none);\n}\n.mat-expansion-indicator svg {\n width: 24px;\n height: 24px;\n margin: 0 -8px;\n vertical-align: middle;\n fill: var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));\n display: var(--mat-expansion-header-indicator-display, inline-block);\n}\n\n@media (forced-colors: active) {\n .mat-expansion-panel-content {\n border-top: 1px solid;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n }\n}\n"],
|
|
478
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
479
476
|
encapsulation: i0.ViewEncapsulation.None
|
|
480
477
|
});
|
|
481
478
|
}
|
|
482
479
|
i0.ɵɵngDeclareClassMetadata({
|
|
483
480
|
minVersion: "12.0.0",
|
|
484
|
-
version: "22.0.0-next.
|
|
481
|
+
version: "22.0.0-next.12",
|
|
485
482
|
ngImport: i0,
|
|
486
483
|
type: MatExpansionPanelHeader,
|
|
487
484
|
decorators: [{
|
|
@@ -489,7 +486,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
489
486
|
args: [{
|
|
490
487
|
selector: 'mat-expansion-panel-header',
|
|
491
488
|
encapsulation: ViewEncapsulation.None,
|
|
492
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
493
489
|
host: {
|
|
494
490
|
'class': 'mat-expansion-panel-header mat-focus-indicator',
|
|
495
491
|
'role': 'button',
|
|
@@ -528,7 +524,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
528
524
|
class MatExpansionPanelDescription {
|
|
529
525
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
530
526
|
minVersion: "12.0.0",
|
|
531
|
-
version: "22.0.0-next.
|
|
527
|
+
version: "22.0.0-next.12",
|
|
532
528
|
ngImport: i0,
|
|
533
529
|
type: MatExpansionPanelDescription,
|
|
534
530
|
deps: [],
|
|
@@ -536,7 +532,7 @@ class MatExpansionPanelDescription {
|
|
|
536
532
|
});
|
|
537
533
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
538
534
|
minVersion: "14.0.0",
|
|
539
|
-
version: "22.0.0-next.
|
|
535
|
+
version: "22.0.0-next.12",
|
|
540
536
|
type: MatExpansionPanelDescription,
|
|
541
537
|
isStandalone: true,
|
|
542
538
|
selector: "mat-panel-description",
|
|
@@ -548,7 +544,7 @@ class MatExpansionPanelDescription {
|
|
|
548
544
|
}
|
|
549
545
|
i0.ɵɵngDeclareClassMetadata({
|
|
550
546
|
minVersion: "12.0.0",
|
|
551
|
-
version: "22.0.0-next.
|
|
547
|
+
version: "22.0.0-next.12",
|
|
552
548
|
ngImport: i0,
|
|
553
549
|
type: MatExpansionPanelDescription,
|
|
554
550
|
decorators: [{
|
|
@@ -564,7 +560,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
564
560
|
class MatExpansionPanelTitle {
|
|
565
561
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
566
562
|
minVersion: "12.0.0",
|
|
567
|
-
version: "22.0.0-next.
|
|
563
|
+
version: "22.0.0-next.12",
|
|
568
564
|
ngImport: i0,
|
|
569
565
|
type: MatExpansionPanelTitle,
|
|
570
566
|
deps: [],
|
|
@@ -572,7 +568,7 @@ class MatExpansionPanelTitle {
|
|
|
572
568
|
});
|
|
573
569
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
574
570
|
minVersion: "14.0.0",
|
|
575
|
-
version: "22.0.0-next.
|
|
571
|
+
version: "22.0.0-next.12",
|
|
576
572
|
type: MatExpansionPanelTitle,
|
|
577
573
|
isStandalone: true,
|
|
578
574
|
selector: "mat-panel-title",
|
|
@@ -584,7 +580,7 @@ class MatExpansionPanelTitle {
|
|
|
584
580
|
}
|
|
585
581
|
i0.ɵɵngDeclareClassMetadata({
|
|
586
582
|
minVersion: "12.0.0",
|
|
587
|
-
version: "22.0.0-next.
|
|
583
|
+
version: "22.0.0-next.12",
|
|
588
584
|
ngImport: i0,
|
|
589
585
|
type: MatExpansionPanelTitle,
|
|
590
586
|
decorators: [{
|
|
@@ -625,7 +621,7 @@ class MatAccordion extends CdkAccordion {
|
|
|
625
621
|
}
|
|
626
622
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
627
623
|
minVersion: "12.0.0",
|
|
628
|
-
version: "22.0.0-next.
|
|
624
|
+
version: "22.0.0-next.12",
|
|
629
625
|
ngImport: i0,
|
|
630
626
|
type: MatAccordion,
|
|
631
627
|
deps: null,
|
|
@@ -633,7 +629,7 @@ class MatAccordion extends CdkAccordion {
|
|
|
633
629
|
});
|
|
634
630
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
635
631
|
minVersion: "16.1.0",
|
|
636
|
-
version: "22.0.0-next.
|
|
632
|
+
version: "22.0.0-next.12",
|
|
637
633
|
type: MatAccordion,
|
|
638
634
|
isStandalone: true,
|
|
639
635
|
selector: "mat-accordion",
|
|
@@ -664,7 +660,7 @@ class MatAccordion extends CdkAccordion {
|
|
|
664
660
|
}
|
|
665
661
|
i0.ɵɵngDeclareClassMetadata({
|
|
666
662
|
minVersion: "12.0.0",
|
|
667
|
-
version: "22.0.0-next.
|
|
663
|
+
version: "22.0.0-next.12",
|
|
668
664
|
ngImport: i0,
|
|
669
665
|
type: MatAccordion,
|
|
670
666
|
decorators: [{
|
|
@@ -707,7 +703,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
707
703
|
class MatExpansionModule {
|
|
708
704
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
709
705
|
minVersion: "12.0.0",
|
|
710
|
-
version: "22.0.0-next.
|
|
706
|
+
version: "22.0.0-next.12",
|
|
711
707
|
ngImport: i0,
|
|
712
708
|
type: MatExpansionModule,
|
|
713
709
|
deps: [],
|
|
@@ -715,7 +711,7 @@ class MatExpansionModule {
|
|
|
715
711
|
});
|
|
716
712
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
717
713
|
minVersion: "14.0.0",
|
|
718
|
-
version: "22.0.0-next.
|
|
714
|
+
version: "22.0.0-next.12",
|
|
719
715
|
ngImport: i0,
|
|
720
716
|
type: MatExpansionModule,
|
|
721
717
|
imports: [CdkAccordionModule, PortalModule, MatAccordion, MatExpansionPanel, MatExpansionPanelActionRow, MatExpansionPanelHeader, MatExpansionPanelTitle, MatExpansionPanelDescription, MatExpansionPanelContent],
|
|
@@ -723,7 +719,7 @@ class MatExpansionModule {
|
|
|
723
719
|
});
|
|
724
720
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
725
721
|
minVersion: "12.0.0",
|
|
726
|
-
version: "22.0.0-next.
|
|
722
|
+
version: "22.0.0-next.12",
|
|
727
723
|
ngImport: i0,
|
|
728
724
|
type: MatExpansionModule,
|
|
729
725
|
imports: [CdkAccordionModule, PortalModule, BidiModule]
|
|
@@ -731,7 +727,7 @@ class MatExpansionModule {
|
|
|
731
727
|
}
|
|
732
728
|
i0.ɵɵngDeclareClassMetadata({
|
|
733
729
|
minVersion: "12.0.0",
|
|
734
|
-
version: "22.0.0-next.
|
|
730
|
+
version: "22.0.0-next.12",
|
|
735
731
|
ngImport: i0,
|
|
736
732
|
type: MatExpansionModule,
|
|
737
733
|
decorators: [{
|